@intent-hq/web 2.332.1 → 2.333.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Cqn-1YSM.js → -Iq9nlAE.js} +1 -1
  3. package/web/app/immutable/chunks/{quL6pHxK.js → 31GDMDj9.js} +2 -2
  4. package/web/app/immutable/chunks/{BA5tpMka.js → 5BpiFfqe.js} +2 -2
  5. package/web/app/immutable/chunks/{D7VyNuwA.js → 60bkkSrP.js} +1 -1
  6. package/web/app/immutable/chunks/{C0mowKhJ.js → 9Hyeqhzq.js} +1 -1
  7. package/web/app/immutable/chunks/{DKDrWyIv.js → B3iZfhYu.js} +1 -1
  8. package/web/app/immutable/chunks/{Dr8wriKt.js → B4EyOcMP.js} +1 -1
  9. package/web/app/immutable/chunks/{CKDHxXsq.js → B56Mq91W.js} +1 -1
  10. package/web/app/immutable/chunks/{Dsnfh8nl.js → B7UFQMCa.js} +1 -1
  11. package/web/app/immutable/chunks/{DCmZzs_t.js → BB28H67K.js} +1 -1
  12. package/web/app/immutable/chunks/{CYgZakZC.js → BFjtbKU5.js} +1 -1
  13. package/web/app/immutable/chunks/{Dz_Si7JX.js → BIAzHfjL.js} +1 -1
  14. package/web/app/immutable/chunks/{BqzIXvAg.js → BJ8NXEMJ.js} +1 -1
  15. package/web/app/immutable/chunks/{BwHfUkOf.js → BKzrjZp1.js} +2 -2
  16. package/web/app/immutable/chunks/{NrjxMz2i.js → BP23sDOE.js} +1 -1
  17. package/web/app/immutable/chunks/{BL5Rh4Sz.js → BRzkxjZ7.js} +1 -1
  18. package/web/app/immutable/chunks/{CNf_ONa3.js → BSHExHmB.js} +1 -1
  19. package/web/app/immutable/chunks/{CHqSpAhM.js → BVV0KdYJ.js} +1 -1
  20. package/web/app/immutable/chunks/{jyWTS4lZ.js → BVlLHHIh.js} +2 -2
  21. package/web/app/immutable/chunks/{BaUPC41p.js → BWr9U17b.js} +1 -1
  22. package/web/app/immutable/chunks/{g2VxMEGm.js → BY6hRbJf.js} +1 -1
  23. package/web/app/immutable/chunks/{ZiiwkTV-.js → BZ3Ae-4U.js} +1 -1
  24. package/web/app/immutable/chunks/{DmihuZfS.js → BZCXNg5s.js} +1 -1
  25. package/web/app/immutable/chunks/{7usnYPNF.js → BaoulGHD.js} +1 -1
  26. package/web/app/immutable/chunks/{INGceerY.js → BcU-Zn0b.js} +3 -3
  27. package/web/app/immutable/chunks/{CFF4_0hC.js → BcgRdy5h.js} +1 -1
  28. package/web/app/immutable/chunks/{D10X859N.js → Bcxw4jL3.js} +1 -1
  29. package/web/app/immutable/chunks/{C0Tvtwp-.js → BfQcXH7l.js} +1 -1
  30. package/web/app/immutable/chunks/{BCJxSao_.js → Bfc3D5MS.js} +1 -1
  31. package/web/app/immutable/chunks/{CI8cTsXC.js → BfzrGa3A.js} +1 -1
  32. package/web/app/immutable/chunks/{IlWp1nGl.js → BirwNQi3.js} +4 -4
  33. package/web/app/immutable/chunks/{CdgAiqh6.js → Bk0QUQDW.js} +1 -1
  34. package/web/app/immutable/chunks/{BKjGGpm1.js → BkUS-e35.js} +4 -4
  35. package/web/app/immutable/chunks/{EnAyz2Ek.js → BlMN_W9c.js} +1 -1
  36. package/web/app/immutable/chunks/{BRc8KqQS.js → BqgLlXte.js} +1 -1
  37. package/web/app/immutable/chunks/{hgJz-lxL.js → BrgKUa-G.js} +1 -1
  38. package/web/app/immutable/chunks/{BwEg66U_.js → BsXH6ASx.js} +1 -1
  39. package/web/app/immutable/chunks/{Qj93naoS.js → BtQGF6MG.js} +1 -1
  40. package/web/app/immutable/chunks/{ClRyDWdo.js → C-hzwobp.js} +1 -1
  41. package/web/app/immutable/chunks/{Dl-ybQ3z.js → C0l2XLvP.js} +1 -1
  42. package/web/app/immutable/chunks/{-vn0_Dx_.js → C2q2h8LC.js} +1 -1
  43. package/web/app/immutable/chunks/{phDOGC4e.js → C4YSpHI_.js} +1 -1
  44. package/web/app/immutable/chunks/{Jr_-MnLx.js → C66LITAl.js} +1 -1
  45. package/web/app/immutable/chunks/C7ZRfZC1.js +2 -0
  46. package/web/app/immutable/chunks/{CY6Ad305.js → C7r-OuIg.js} +1 -1
  47. package/web/app/immutable/chunks/{CpxAEr5T.js → C8Ewc55B.js} +1 -1
  48. package/web/app/immutable/chunks/{ShdiMoFn.js → C8XfwzHP.js} +1 -1
  49. package/web/app/immutable/chunks/{BB1bdkKj.js → C92p6Xk1.js} +1 -1
  50. package/web/app/immutable/chunks/{CqCOQpit.js → CE3cTmuW.js} +1 -1
  51. package/web/app/immutable/chunks/{La4DuXBq.js → CFp19SMm.js} +1 -1
  52. package/web/app/immutable/chunks/{B4CT3ZnO.js → CH58YVSk.js} +1 -1
  53. package/web/app/immutable/chunks/{GLVkpxmO.js → CHjnK8eD.js} +1 -1
  54. package/web/app/immutable/chunks/{B9Yp_9YB.js → CJqmLHCx.js} +1 -1
  55. package/web/app/immutable/chunks/{eO-TU1Uq.js → CNKDyXfa.js} +2 -2
  56. package/web/app/immutable/chunks/{CYBP2kAe.js → COKOIhyC.js} +1 -1
  57. package/web/app/immutable/chunks/{zVHvgElF.js → COZF9anf.js} +1 -1
  58. package/web/app/immutable/chunks/{D-0JsOoD.js → CPYy7Bl8.js} +1 -1
  59. package/web/app/immutable/chunks/{BL_9_s5D.js → CVuCQwR4.js} +1 -1
  60. package/web/app/immutable/chunks/{BWcK5t6w.js → C_1dnC1X.js} +1 -1
  61. package/web/app/immutable/chunks/{CCXE6oHN.js → Cd6dNiWt.js} +1 -1
  62. package/web/app/immutable/chunks/{DEL8D3D_.js → CdxfWnwV.js} +1 -1
  63. package/web/app/immutable/chunks/{IqoI0Sop.js → Ce-iGpTr.js} +1 -1
  64. package/web/app/immutable/chunks/{rExovR4J.js → Ce6vcV0f.js} +1 -1
  65. package/web/app/immutable/chunks/{BLMF5IFF.js → Cf8id2rO.js} +1 -1
  66. package/web/app/immutable/chunks/{uc0NJTBD.js → CkyjResP.js} +1 -1
  67. package/web/app/immutable/chunks/{C7eDW7UL.js → ClAv9h9H.js} +1 -1
  68. package/web/app/immutable/chunks/{CA4-dLAB.js → ClouAezj.js} +3 -3
  69. package/web/app/immutable/chunks/{u6FKwXpA.js → CnivRSyI.js} +1 -1
  70. package/web/app/immutable/chunks/{VIhYvpCH.js → Coc7Z84W.js} +1 -1
  71. package/web/app/immutable/chunks/{wF4KE5sw.js → Coh-8FDf.js} +1 -1
  72. package/web/app/immutable/chunks/{CLMPxb4p.js → Cpr9mNUv.js} +1 -1
  73. package/web/app/immutable/chunks/{DO_AuT0X.js → Cr3SSyqj.js} +2 -2
  74. package/web/app/immutable/chunks/{DxhV3A5f.js → CwOQgsIB.js} +1 -1
  75. package/web/app/immutable/chunks/{DTmn8xTR.js → D0BCTOi7.js} +3 -3
  76. package/web/app/immutable/chunks/{o1Ob2Zjf.js → D6H9qMAI.js} +1 -1
  77. package/web/app/immutable/chunks/{XP2gV3S1.js → D9iOEcKX.js} +1 -1
  78. package/web/app/immutable/chunks/{dpdLxO6f.js → DBPvj7yj.js} +3 -3
  79. package/web/app/immutable/chunks/{D3hH9rNi.js → DFIsXmE_.js} +1 -1
  80. package/web/app/immutable/chunks/{C0y0G1dd.js → DJhmhU0F.js} +3 -3
  81. package/web/app/immutable/chunks/{RnZH5q_1.js → DJvRJQDF.js} +1 -1
  82. package/web/app/immutable/chunks/{DsAgoq4e.js → DKShYaIJ.js} +1 -1
  83. package/web/app/immutable/chunks/{DgyZN5lH.js → DM0_7KAa.js} +2 -2
  84. package/web/app/immutable/chunks/{Zi02dDqY.js → DNnl-ruw.js} +1 -1
  85. package/web/app/immutable/chunks/{Df2kEBtG.js → DOW78mrl.js} +1 -1
  86. package/web/app/immutable/chunks/{C9KtSy8M.js → DPgkHx8Z.js} +1 -1
  87. package/web/app/immutable/chunks/{DbZHCFkf.js → DR0muAaQ.js} +1 -1
  88. package/web/app/immutable/chunks/{Cc05Arx_.js → DVUO3Tx5.js} +1 -1
  89. package/web/app/immutable/chunks/{DJ54sSxs.js → DX3DcnUQ.js} +1 -1
  90. package/web/app/immutable/chunks/{Pd9lmiP5.js → DXKRxRra.js} +1 -1
  91. package/web/app/immutable/chunks/{C2aaRYxm.js → DYod7WBg.js} +1 -1
  92. package/web/app/immutable/chunks/{C1dnD04C.js → DZQgWgP1.js} +12 -12
  93. package/web/app/immutable/chunks/{DdkKMLjv.js → DeLyGL9g.js} +1 -1
  94. package/web/app/immutable/chunks/{D0WfEFI8.js → DhuL_LWc.js} +1 -1
  95. package/web/app/immutable/chunks/{Rni3zXxR.js → DlLRbNZR.js} +1 -1
  96. package/web/app/immutable/chunks/{DegFSSpo.js → DlMw3wRu.js} +1 -1
  97. package/web/app/immutable/chunks/{CS_bXQRj.js → Dnnm-5K1.js} +1 -1
  98. package/web/app/immutable/chunks/{BSQNx4Vk.js → Dogvt2Uo.js} +1 -1
  99. package/web/app/immutable/chunks/{DytZzUZT.js → DsuM61wf.js} +1 -1
  100. package/web/app/immutable/chunks/{9yLYut_f.js → DxnpD-Cb.js} +1 -1
  101. package/web/app/immutable/chunks/{AMuVbvNH.js → DyC0TlBU.js} +1 -1
  102. package/web/app/immutable/chunks/{BlieKkQ9.js → Dyx0lQpx.js} +1 -1
  103. package/web/app/immutable/chunks/{MbWbx059.js → Dzei16j2.js} +1 -1
  104. package/web/app/immutable/chunks/{CH1kO0eh.js → E1eRJOvk.js} +1 -1
  105. package/web/app/immutable/chunks/{a_UT53Db.js → F7DwQcta.js} +1 -1
  106. package/web/app/immutable/chunks/{BaodgUOU.js → K9qmyacm.js} +1 -1
  107. package/web/app/immutable/chunks/{Ci37X5fE.js → LD1u5ntr.js} +2 -2
  108. package/web/app/immutable/chunks/{L4diC29H.js → LTdieHUf.js} +4 -4
  109. package/web/app/immutable/chunks/{CInI0Sus.js → LU9o-VsR.js} +1 -1
  110. package/web/app/immutable/chunks/{DDNd0tnm.js → NmEpUrvw.js} +1 -1
  111. package/web/app/immutable/chunks/{BeZwt05v.js → QBrdUuj3.js} +1 -1
  112. package/web/app/immutable/chunks/{BdorRWAe.js → S8lIecOL.js} +1 -1
  113. package/web/app/immutable/chunks/{DsX0vSiK.js → So805CPS.js} +1 -1
  114. package/web/app/immutable/chunks/{vEgCNzPn.js → VzU2yQD-.js} +4 -4
  115. package/web/app/immutable/chunks/{CmtNfm_M.js → WOtBW7MG.js} +1 -1
  116. package/web/app/immutable/chunks/{FgsGgOBB.js → eE1Ik_Y8.js} +1 -1
  117. package/web/app/immutable/chunks/{D6dlkp5M.js → m9iBAChf.js} +1 -1
  118. package/web/app/immutable/chunks/{B6SFcGZ4.js → n9Al_b1R.js} +1 -1
  119. package/web/app/immutable/chunks/{B2Iig513.js → nISUgxKe.js} +1 -1
  120. package/web/app/immutable/chunks/{BzOYno2y.js → nfg7gMK0.js} +1 -1
  121. package/web/app/immutable/chunks/{DB6X5Jmb.js → rKfhSL2S.js} +1 -1
  122. package/web/app/immutable/chunks/{7ts4wsuO.js → uTT4_LLP.js} +1 -1
  123. package/web/app/immutable/chunks/{CdKj5L2M.js → yjIqqlQ2.js} +1 -1
  124. package/web/app/immutable/entry/{app.Btk0VZWt.js → app.BvRxV6R1.js} +2 -2
  125. package/web/app/immutable/entry/start.BrbYIb0p.js +1 -0
  126. package/web/app/immutable/nodes/{0.0HFA2uVE.js → 0.DlMK7EKt.js} +1 -1
  127. package/web/app/immutable/nodes/{1.CZQtUsls.js → 1.Bc43OCNt.js} +1 -1
  128. package/web/app/immutable/nodes/{10.MP2WoiSH.js → 10.CRW4MxVn.js} +1 -1
  129. package/web/app/immutable/nodes/{14.C9nz_rbo.js → 14.fcMbdu6Z.js} +1 -1
  130. package/web/app/immutable/nodes/{17.BIcZRnyp.js → 17.B3dCuKkH.js} +2 -2
  131. package/web/app/immutable/nodes/{2.B3TiYssM.js → 2.XomcwXea.js} +4 -4
  132. package/web/app/immutable/nodes/{3.Bi5S8K8Z.js → 3.tV7qLGeC.js} +1 -1
  133. package/web/app/immutable/nodes/{4.CtEWydTh.js → 4.CLfVtjCR.js} +1 -1
  134. package/web/app/immutable/nodes/{5.dqwJX5_j.js → 5.DcQbRELp.js} +1 -1
  135. package/web/app/immutable/nodes/{6.D2iLOyko.js → 6.CS7SDYA7.js} +1 -1
  136. package/web/app/immutable/nodes/{7.Ca_BtpTz.js → 7.D7iSydzH.js} +1 -1
  137. package/web/app/immutable/nodes/{8.BhbuK5L7.js → 8.C7yThhga.js} +4 -4
  138. package/web/app/immutable/nodes/{9.Db1dzGjG.js → 9.Daikd_tE.js} +4 -4
  139. package/web/app/version.json +1 -1
  140. package/web/index.html +9 -9
  141. package/web/app/immutable/chunks/D6WWKWsa.js +0 -2
  142. package/web/app/immutable/entry/start.atGTcU00.js +0 -1
@@ -1,4 +1,4 @@
1
- import{g as gt}from"./BWcK5t6w.js";import{d as mt,g as lt,f as xt,e as kt}from"./BeZwt05v.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./BKjGGpm1.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
1
+ import{g as gt}from"./C_1dnC1X.js";import{d as mt,g as lt,f as xt,e as kt}from"./QBrdUuj3.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./BkUS-e35.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+W.join(", ")+", got '"+(this.terminals_[b]||b)+"'":X="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(X,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:W})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{p as xt}from"./Dr8wriKt.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./BKjGGpm1.js";import{p as Bt}from"./DBZdNxOK.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
1
+ import{p as xt}from"./B4EyOcMP.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./BkUS-e35.js";import{p as Bt}from"./DBZdNxOK.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
2
2
  .cynefinDomain {
3
3
  stroke: none;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{g as Ut}from"./CNf_ONa3.js";import{s as Kt}from"./B4CT3ZnO.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./BKjGGpm1.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
1
+ import{g as Ut}from"./BSHExHmB.js";import{s as Kt}from"./CH58YVSk.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./BkUS-e35.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[T[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BA5tpMka.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/CXgKrD4b.js","/app/immutable/chunks/CHyKyUzM.js","/app/immutable/chunks/DHO1UrQa.js","/app/immutable/chunks/NpJ_H_lL.js","/app/immutable/chunks/BEdXc2Cn.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DenVKqrV.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/DY2uGuix.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Brb5mMFP.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/-svebp9s.js","/app/immutable/chunks/7vJjNlp5.js","/app/immutable/chunks/BFLeHPtB.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/C9IQsGTN.js","/app/immutable/chunks/BYJTJW1o.js","/app/immutable/chunks/HSKzTsh4.js","/app/immutable/chunks/DX0DDRCM.js","/app/immutable/chunks/D-Mv0NgR.js","/app/immutable/chunks/aA6XO7Z6.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/CeOYgNbD.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BsieX9dN.js","/app/immutable/assets/observe-overflow.CbDLK6fN.css","/app/immutable/chunks/1bpiYpBu.js","/app/immutable/chunks/Ct1y2X3-.js","/app/immutable/chunks/CKywtFzw.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/DQa6YuyW.js","/app/immutable/chunks/CpMi3Pqw.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DBwqw4Qu.js","/app/immutable/chunks/nhnbx7C0.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/5BjH__qw.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/a_UT53Db.js","/app/immutable/chunks/HcYBxKPc.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/BPe3vmZW.js","/app/immutable/chunks/CglC4HOM.js","/app/immutable/chunks/01VYey36.js","/app/immutable/chunks/Bap15j_Q.js","/app/immutable/chunks/ChNKlZtm.js","/app/immutable/chunks/DLI1aSNH.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/DgyZN5lH.js","/app/immutable/chunks/CKDHxXsq.js","/app/immutable/chunks/BwHfUkOf.js","/app/immutable/chunks/ShdiMoFn.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CLMPxb4p.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
2
- import{bo as v,t as Ht,bq as y,a_ as D,by as jt,b as Wt,br as Vf,bu as St,bs as oa,bt as _i,b7 as fl,ba as Kf,bl as Gf,bb as Jf,bm as Yf,a$ as Xf,b9 as Zf,b8 as Qf,b2 as $f,bf as ep,bg as tp,bk as rp,be as np,bn as ap,b0 as sp,b4 as op,bi as ip,bh as lp,b6 as cp,b5 as dp,b3 as up,bd as fp,bc as pp,bj as gp,b1 as vp,_ as mp}from"./CXgKrD4b.js";import{bI as hp,bj as Cs,aG as bp,bs as Ut,aD as e,a5 as I,bS as m,bA as w,W as d,bn as qt,c9 as u,aA as _,a7 as kt,ay as qe,be as nr,b$ as Rt,aC as xa,bl as R,b_ as k,bO as x,aB as S,bo as Es,ca as It,bH as M,bV as ye,br as Jr,bk as As,c0 as Xn,ai as Oa,cd as $a,aw as En,a as yp,aj as Lr,c7 as _p,c6 as pl,c5 as An,bf as Ks,bz as rd}from"./DYhIMPy1.js";import{G as Gs,I as xp,z as wp}from"./Brb5mMFP.js";import{o as kp,i as Sp,u as ae,g as Fn,w as Pn,l as xn,j as lr,v as pt,I as Ps,n as Tt,p as Mr,q as Ip,s as Cp,m as Ep,x as Ap}from"./BEdXc2Cn.js";import{s as ln}from"./CHyKyUzM.js";import{c as en}from"./7vJjNlp5.js";import{I as Ko,t as ar,n as Pp,i as gl,u as vl}from"./NpJ_H_lL.js";import{b as mr}from"./BaIAhI85.js";import{i as nd,bv as Tp,cM as Rp,dG as Mp,ds as Lp,ax as Np,cv as Op,a2 as Dp,cS as Bp,dr as ms,aC as so,c3 as Fp,I as zp,a as Hp,a0 as ml,cY as jp,bT as Wp,M as Up,dm as qp,W as Vp,dx as Kp,af as Gp,at as Jp,g as Yp,u as Xp}from"./HcYBxKPc.js";import{c as Zp}from"./D-62MVd3.js";import{k as ra,w as Qp,C as ad,c as $p,R as eg}from"./5BjH__qw.js";import{f as yt,ap as Za,ai as tg,am as Go,bc as rg}from"./-svebp9s.js";import{ao as ng,ab as hl,$ as ag,aD as sg,ac as og,h as ig,ad as lg,aW as cg,I as dg,R as ug,au as fg,ah as pg,a0 as gg,a as bl,av as vg,s as mg,n as hg,b0 as bg,m as yg,b2 as Jo,A as yl,ag as _g,b1 as xg,aq as sd,T as od,a7 as wg,a6 as _l,V as kg,L as xl}from"./L4diC29H.js";import{F as At,bf as Yo,bJ as Sg,am as Ig,aO as Cg,cK as Eg,bj as xi,bz as Ag,aE as id,aJ as wi,cZ as Js,a9 as Xo,cm as Pg,cb as Tg,ch as ki,cE as ld,bq as Rg,e as Mg,bZ as wl,c7 as Lg,ck as Ng,cV as cd,bT as kl,b6 as Io,bc as fs,aD as Og,ax as Zo,as as dd,ba as ud,bA as Dg,B as Bg,bt as Fg,a4 as fd,cf as zg,aj as pd,cM as gd,cI as Sl,aq as vd,aI as Il,_ as Hg,cu as jg,cT as Wg,aH as Ug,aZ as qg,bM as md,bl as Vg,c3 as Cl,al as hd,aw as Kg,a7 as Gg,a5 as Jg}from"./D-Mv0NgR.js";import{c as bd}from"./ChTqQfQN.js";import{g as Yg}from"./CpMi3Pqw.js";import{Ik as Nt,bM as Xg,rQ as El,sq as Zg,J8 as Qg,Je as $g,g as yd,HZ as ev,nw as _d,nM as xd,nL as wd,np as oo,p$ as Si,xP as tv,uT as Hs,ua as Qo,uV as rv,ne as kd,Ip as nv,t5 as av,oz as Sd,rc as Ii,lX as Al,a2 as Pl,qI as sv,qE as ov,qJ as iv,qA as lv,qG as cv,uJ as dv,Ak as Id,Ao as Cd,nN as Tl,be as $o,GI as uv,HV as fv,h9 as pv,h8 as gv,nH as vv,vU as mv,vV as hv,vT as Rl,Bk as Jn,cr as bv,cf as yv,d0 as _v,d7 as xv,Au as wv}from"./DenVKqrV.js";import{bH as kv,bQ as Sv,i as Iv,z as Cv,bT as Ev,ah as Av,aj as Pv,al as Tv,a5 as Rv,a4 as Mv}from"./Bap15j_Q.js";import{n as Lv,m as Nv,v as ei,ck as Ov,M as Dv,ci as Bv,cb as Fv,aD as Ml,cd as zv,bM as ti,aN as Hv,s as jv,c as hs,d as ri,cf as Ed,cg as ni,bB as Wv,b6 as Uv,bQ as qv,bO as Vv,E as Kv,ce as Ll,bv as Gv,y as Jv}from"./a_UT53Db.js";import{ch as Yv,cj as Xv,ci as Zv,b0 as Qv,a_ as $v,a$ as em,a3 as tm,ak as Os,aj as rm,az as Nl,aH as nm,ai as am,C as sm,i as om,E as js,cS as im,aV as Ol,cX as lm,af as cm,a7 as dm,r as um,p as fm,aE as pm,c_ as gm,cJ as vm,cC as mm,ct as hm,bR as bm}from"./Zi02dDqY.js";import{i as ym,I as es,c as Dl}from"./C9IQsGTN.js";import"./BYJTJW1o.js";import{f as Bl,y as Fl,M as _m,n as xm,m as wm,z as Ad,x as ai,e as bs,W as ts,h as km}from"./BA5tpMka.js";import"./CKywtFzw.js";import{b as Pd}from"./nhnbx7C0.js";import"./CeOYgNbD.js";import{z as Ci,P as Sm,p as Im,h as Cm,G as Em,l as Am,i as Pm,M as Tm,H as Rm,t as Ya,a as Mm,K as Lm,k as Nm,R as Om}from"./HSKzTsh4.js";import{t as ys,O as Dm,M as Bm,S as ya}from"./DX0DDRCM.js";import{a as Fm}from"./aA6XO7Z6.js";import{C as si}from"./tE5q5HcJ.js";import{aQ as zm,aY as Hm,aB as jm,b0 as Wm,aO as Um,aU as qm,a7 as ns,b3 as zl,aK as Vm,aR as Km,aX as Ei,aS as Ai,W as Co,aq as Gm,X as Jm,a_ as Ym,aJ as Xm,aT as Zm,aW as Qm,b6 as $m,b4 as eh,ay as Td,p as th,n as rh,aV as nh,_ as ah,ao as sh,aD as oh,z as ih,aC as lh,a8 as ch}from"./CA4-dLAB.js";import{s as oi}from"./o1Ob2Zjf.js";import{M as dh}from"./DHj5Vli6.js";import{s as uh,a as fh}from"./BsieX9dN.js";import{u as Pi,w as ph,v as io,I as gh,A as Hl,e as _s,d as _a,J as jl,c as vh,f as mh,g as Wl,i as hh,b as bh,o as Rd,j as yh,O as _h,x as xh,k as Md,S as wh,N as kh,q as Ul,p as Sh,n as ql,z as Ih,s as Ch}from"./CdgAiqh6.js";import{o as Vl,a as Kl,T as Eo,b as Eh}from"./Ci37X5fE.js";import{O as Ah,y as Ph,j as Th,h as Rh,R as Mh}from"./R4bwBwT_.js";import{D as xs}from"./Dl-ybQ3z.js";import"./Bielx7or.js";import{C as na}from"./D3hH9rNi.js";import{M as Lh}from"./BKjGGpm1.js";import{g as Ti}from"./DHO1UrQa.js";import{f as Gl}from"./CKDHxXsq.js";import{c as Ws}from"./Nzi7bwxO.js";import{handleIntentLink as Nh}from"./jyWTS4lZ.js";import{s as Oh,a as Dh,f as Bh,d as Fh,r as zh,h as Hh,w as ps,g as jh,W as Wh,H as Uh,c as qh,M as Ld}from"./IlWp1nGl.js";import{e as Vh,q as Kh}from"./ChNKlZtm.js";import{showAssistantContent as Gh}from"./quL6pHxK.js";import{o as Ys,c as Jh,n as Yh}from"./CLMPxb4p.js";import{p as Xh}from"./CI8cTsXC.js";import{m as Zh}from"./-DqWFMjY.js";import{h as Ds}from"./OtDorjRa.js";import{i as Nd}from"./CglC4HOM.js";import{g as Qh,e as $h,f as eb,h as tb}from"./BvFAWM27.js";import{T as Ao}from"./IjAEhEd_.js";import"./Ct1y2X3-.js";import{i as rb,r as Jl}from"./BlieKkQ9.js";import{a as nb}from"./DBwqw4Qu.js";import{a as ab}from"./BdWqymET.js";import{p as sb}from"./B2Iig513.js";const ob="intent:inline-visual-draft";function cC(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/5BpiFfqe.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/CXgKrD4b.js","/app/immutable/chunks/CHyKyUzM.js","/app/immutable/chunks/DHO1UrQa.js","/app/immutable/chunks/NpJ_H_lL.js","/app/immutable/chunks/BEdXc2Cn.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DenVKqrV.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/DY2uGuix.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Brb5mMFP.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/-svebp9s.js","/app/immutable/chunks/7vJjNlp5.js","/app/immutable/chunks/BFLeHPtB.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/C9IQsGTN.js","/app/immutable/chunks/BYJTJW1o.js","/app/immutable/chunks/HSKzTsh4.js","/app/immutable/chunks/DX0DDRCM.js","/app/immutable/chunks/D-Mv0NgR.js","/app/immutable/chunks/aA6XO7Z6.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/CeOYgNbD.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BsieX9dN.js","/app/immutable/assets/observe-overflow.CbDLK6fN.css","/app/immutable/chunks/1bpiYpBu.js","/app/immutable/chunks/Ct1y2X3-.js","/app/immutable/chunks/CKywtFzw.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/DQa6YuyW.js","/app/immutable/chunks/CpMi3Pqw.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DBwqw4Qu.js","/app/immutable/chunks/nhnbx7C0.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/5BjH__qw.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/F7DwQcta.js","/app/immutable/chunks/HcYBxKPc.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/BPe3vmZW.js","/app/immutable/chunks/CglC4HOM.js","/app/immutable/chunks/01VYey36.js","/app/immutable/chunks/Bap15j_Q.js","/app/immutable/chunks/ChNKlZtm.js","/app/immutable/chunks/DLI1aSNH.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/DM0_7KAa.js","/app/immutable/chunks/B56Mq91W.js","/app/immutable/chunks/BKzrjZp1.js","/app/immutable/chunks/C8XfwzHP.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Cpr9mNUv.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
2
+ import{bo as v,t as Ht,bq as y,a_ as D,by as jt,b as Wt,br as Vf,bu as St,bs as oa,bt as _i,b7 as fl,ba as Kf,bl as Gf,bb as Jf,bm as Yf,a$ as Xf,b9 as Zf,b8 as Qf,b2 as $f,bf as ep,bg as tp,bk as rp,be as np,bn as ap,b0 as sp,b4 as op,bi as ip,bh as lp,b6 as cp,b5 as dp,b3 as up,bd as fp,bc as pp,bj as gp,b1 as vp,_ as mp}from"./CXgKrD4b.js";import{bI as hp,bj as Cs,aG as bp,bs as Ut,aD as e,a5 as I,bS as m,bA as w,W as d,bn as qt,c9 as u,aA as _,a7 as kt,ay as qe,be as nr,b$ as Rt,aC as xa,bl as R,b_ as k,bO as x,aB as S,bo as Es,ca as It,bH as M,bV as ye,br as Jr,bk as As,c0 as Xn,ai as Oa,cd as $a,aw as En,a as yp,aj as Lr,c7 as _p,c6 as pl,c5 as An,bf as Ks,bz as rd}from"./DYhIMPy1.js";import{G as Gs,I as xp,z as wp}from"./Brb5mMFP.js";import{o as kp,i as Sp,u as ae,g as Fn,w as Pn,l as xn,j as lr,v as pt,I as Ps,n as Tt,p as Mr,q as Ip,s as Cp,m as Ep,x as Ap}from"./BEdXc2Cn.js";import{s as ln}from"./CHyKyUzM.js";import{c as en}from"./7vJjNlp5.js";import{I as Ko,t as ar,n as Pp,i as gl,u as vl}from"./NpJ_H_lL.js";import{b as mr}from"./BaIAhI85.js";import{i as nd,bv as Tp,cM as Rp,dG as Mp,ds as Lp,ax as Np,cv as Op,a2 as Dp,cS as Bp,dr as ms,aC as so,c3 as Fp,I as zp,a as Hp,a0 as ml,cY as jp,bT as Wp,M as Up,dm as qp,W as Vp,dx as Kp,af as Gp,at as Jp,g as Yp,u as Xp}from"./HcYBxKPc.js";import{c as Zp}from"./D-62MVd3.js";import{k as ra,w as Qp,C as ad,c as $p,R as eg}from"./5BjH__qw.js";import{f as yt,ap as Za,ai as tg,am as Go,bc as rg}from"./-svebp9s.js";import{ao as ng,ab as hl,$ as ag,aD as sg,ac as og,h as ig,ad as lg,aW as cg,I as dg,R as ug,au as fg,ah as pg,a0 as gg,a as bl,av as vg,s as mg,n as hg,b0 as bg,m as yg,b2 as Jo,A as yl,ag as _g,b1 as xg,aq as sd,T as od,a7 as wg,a6 as _l,V as kg,L as xl}from"./LTdieHUf.js";import{F as At,bf as Yo,bJ as Sg,am as Ig,aO as Cg,cK as Eg,bj as xi,bz as Ag,aE as id,aJ as wi,cZ as Js,a9 as Xo,cm as Pg,cb as Tg,ch as ki,cE as ld,bq as Rg,e as Mg,bZ as wl,c7 as Lg,ck as Ng,cV as cd,bT as kl,b6 as Io,bc as fs,aD as Og,ax as Zo,as as dd,ba as ud,bA as Dg,B as Bg,bt as Fg,a4 as fd,cf as zg,aj as pd,cM as gd,cI as Sl,aq as vd,aI as Il,_ as Hg,cu as jg,cT as Wg,aH as Ug,aZ as qg,bM as md,bl as Vg,c3 as Cl,al as hd,aw as Kg,a7 as Gg,a5 as Jg}from"./D-Mv0NgR.js";import{c as bd}from"./ChTqQfQN.js";import{g as Yg}from"./CpMi3Pqw.js";import{Ik as Nt,bM as Xg,rQ as El,sq as Zg,J8 as Qg,Je as $g,g as yd,HZ as ev,nw as _d,nM as xd,nL as wd,np as oo,p$ as Si,xP as tv,uT as Hs,ua as Qo,uV as rv,ne as kd,Ip as nv,t5 as av,oz as Sd,rc as Ii,lX as Al,a2 as Pl,qI as sv,qE as ov,qJ as iv,qA as lv,qG as cv,uJ as dv,Ak as Id,Ao as Cd,nN as Tl,be as $o,GI as uv,HV as fv,h9 as pv,h8 as gv,nH as vv,vU as mv,vV as hv,vT as Rl,Bk as Jn,cr as bv,cf as yv,d0 as _v,d7 as xv,Au as wv}from"./DenVKqrV.js";import{bH as kv,bQ as Sv,i as Iv,z as Cv,bT as Ev,ah as Av,aj as Pv,al as Tv,a5 as Rv,a4 as Mv}from"./Bap15j_Q.js";import{n as Lv,m as Nv,v as ei,ck as Ov,M as Dv,ci as Bv,cb as Fv,aD as Ml,cd as zv,bM as ti,aN as Hv,s as jv,c as hs,d as ri,cf as Ed,cg as ni,bB as Wv,b6 as Uv,bQ as qv,bO as Vv,E as Kv,ce as Ll,bv as Gv,y as Jv}from"./F7DwQcta.js";import{ch as Yv,cj as Xv,ci as Zv,b0 as Qv,a_ as $v,a$ as em,a3 as tm,ak as Os,aj as rm,az as Nl,aH as nm,ai as am,C as sm,i as om,E as js,cS as im,aV as Ol,cX as lm,af as cm,a7 as dm,r as um,p as fm,aE as pm,c_ as gm,cJ as vm,cC as mm,ct as hm,bR as bm}from"./DNnl-ruw.js";import{i as ym,I as es,c as Dl}from"./C9IQsGTN.js";import"./BYJTJW1o.js";import{f as Bl,y as Fl,M as _m,n as xm,m as wm,z as Ad,x as ai,e as bs,W as ts,h as km}from"./5BpiFfqe.js";import"./CKywtFzw.js";import{b as Pd}from"./nhnbx7C0.js";import"./CeOYgNbD.js";import{z as Ci,P as Sm,p as Im,h as Cm,G as Em,l as Am,i as Pm,M as Tm,H as Rm,t as Ya,a as Mm,K as Lm,k as Nm,R as Om}from"./HSKzTsh4.js";import{t as ys,O as Dm,M as Bm,S as ya}from"./DX0DDRCM.js";import{a as Fm}from"./aA6XO7Z6.js";import{C as si}from"./tE5q5HcJ.js";import{aQ as zm,aY as Hm,aB as jm,b0 as Wm,aO as Um,aU as qm,a7 as ns,b3 as zl,aK as Vm,aR as Km,aX as Ei,aS as Ai,W as Co,aq as Gm,X as Jm,a_ as Ym,aJ as Xm,aT as Zm,aW as Qm,b6 as $m,b4 as eh,ay as Td,p as th,n as rh,aV as nh,_ as ah,ao as sh,aD as oh,z as ih,aC as lh,a8 as ch}from"./ClouAezj.js";import{s as oi}from"./D6H9qMAI.js";import{M as dh}from"./DHj5Vli6.js";import{s as uh,a as fh}from"./BsieX9dN.js";import{u as Pi,w as ph,v as io,I as gh,A as Hl,e as _s,d as _a,J as jl,c as vh,f as mh,g as Wl,i as hh,b as bh,o as Rd,j as yh,O as _h,x as xh,k as Md,S as wh,N as kh,q as Ul,p as Sh,n as ql,z as Ih,s as Ch}from"./Bk0QUQDW.js";import{o as Vl,a as Kl,T as Eo,b as Eh}from"./LD1u5ntr.js";import{O as Ah,y as Ph,j as Th,h as Rh,R as Mh}from"./R4bwBwT_.js";import{D as xs}from"./C0l2XLvP.js";import"./Bielx7or.js";import{C as na}from"./DFIsXmE_.js";import{M as Lh}from"./BkUS-e35.js";import{g as Ti}from"./DHO1UrQa.js";import{f as Gl}from"./B56Mq91W.js";import{c as Ws}from"./Nzi7bwxO.js";import{handleIntentLink as Nh}from"./BVlLHHIh.js";import{s as Oh,a as Dh,f as Bh,d as Fh,r as zh,h as Hh,w as ps,g as jh,W as Wh,H as Uh,c as qh,M as Ld}from"./BirwNQi3.js";import{e as Vh,q as Kh}from"./ChNKlZtm.js";import{showAssistantContent as Gh}from"./31GDMDj9.js";import{o as Ys,c as Jh,n as Yh}from"./Cpr9mNUv.js";import{p as Xh}from"./BfzrGa3A.js";import{m as Zh}from"./-DqWFMjY.js";import{h as Ds}from"./OtDorjRa.js";import{i as Nd}from"./CglC4HOM.js";import{g as Qh,e as $h,f as eb,h as tb}from"./BvFAWM27.js";import{T as Ao}from"./IjAEhEd_.js";import"./Ct1y2X3-.js";import{i as rb,r as Jl}from"./Dyx0lQpx.js";import{a as nb}from"./DBwqw4Qu.js";import{a as ab}from"./BdWqymET.js";import{p as sb}from"./nISUgxKe.js";const ob="intent:inline-visual-draft";function cC(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
3
3
 
4
4
  `:""}${n}
5
5
 
@@ -260,7 +260,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
260
260
  `,h0=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],jo=96,Bc=2e4,b0=480,ju=512,y0=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function _0(r,t,n,a,s,o){const c=new MessageChannel,l=MessagePort.prototype.postMessage.bind(c.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[c.port2]);const f=(E,z={})=>{window.parent.postMessage({channel:r,type:E,...z},"*")};let i=s?.state??null,p=null,g=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(E){try{if(!o(E))return!1;const z=JSON.parse(JSON.stringify(E));return i=z.state,p=z,g||(g=!0,requestAnimationFrame(()=>{g=!1,p&&f("snapshot",{snapshot:p}),p=null})),!0}catch{return!1}}})});let T=!1,b=-1,h=innerHeight,A=Number.NaN,P=0,B=0;const F=()=>{if(T=!1,!document.body)return;let E=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const z=innerHeight,J=E-z;if(z>h+1&&J>1&&Math.abs(J-A)<=1?P+=1:(z!==h||J<=1)&&(P=0),h=z,A=J,!B&&P>=3){B=Math.max(a,z);const Z="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(Z),f("layout",{message:Z})}B&&(E=Math.min(E,B)),E!==b&&(b=E,f("resize",{height:E}))},O=()=>{T||(T=!0,requestAnimationFrame(F))},N=E=>{if(!E||typeof E.dark!="boolean"||!E.variables)return;const z=document.documentElement;z.classList.toggle("dark",E.dark),z.style.colorScheme=E.dark?"dark":"light";const J=E.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof J=="string"&&J.length<512&&z.style.setProperty("--inline-html-root-font-size",J);for(const Z of Object.keys(t.variables)){if(Z==="--inline-html-root-font-size")continue;const Q=E.variables[Z];typeof Q=="string"&&Q.length<512&&z.style.setProperty(Z,Q)}O()};window.addEventListener("message",E=>{E.source!==window.parent||!E.data||E.data.channel!==r||E.data.type==="theme"&&N(E.data.theme)});const U=E=>{if(E.defaultPrevented||!E.isTrusted||E.ctrlKey||E.metaKey||E.shiftKey||!E.deltaY||Math.abs(E.deltaX)>Math.abs(E.deltaY))return;const z=Q=>{const Ie=getComputedStyle(Q);if(Q!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(Ie.overflowY)||/^(hidden|clip)$/.test(Ie.overflowY))return!1;const ce=Q.scrollHeight-Q.clientHeight;return ce>1&&(E.deltaY<0?Q.scrollTop>1:Q.scrollTop<ce-1)};if(E.composedPath().some(Q=>Q instanceof Element&&z(Q))||document.scrollingElement&&z(document.scrollingElement))return;const J=E.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:E.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,Z=Math.max(-n,Math.min(n,E.deltaY*J));Number.isFinite(Z)&&(E.preventDefault(),l({deltaY:Z}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",U),window.addEventListener("wheel",U,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",E=>{E.message&&f("error",{message:E.message.slice(0,300)})}),window.addEventListener("unhandledrejection",E=>{const z=E.reason;f("error",{message:String(z instanceof Error?z.message:z).slice(0,300)})}),window.addEventListener("click",E=>{const z=E.target instanceof Element?E.target.closest("a, area"):null;if(!z)return;(z.getAttribute("href")??z.getAttribute("xlink:href"))?.startsWith("#")||E.preventDefault()},!0),window.addEventListener("submit",E=>E.preventDefault(),!0),N(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(O).observe(document.body),new MutationObserver(O).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",O),document.addEventListener("load",O,!0),document.fonts.ready.then(O),f("ready"),O()},{once:!0})}function x0(r,t,n,a,s){const o=document.createElement("iframe");o.setAttribute("sandbox","allow-scripts"),o.setAttribute("referrerpolicy","no-referrer"),o.title=n,o.style.cssText="display:block;width:100%;height:100%;border:0;";let c;const l=f=>{const i=f.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",f=>{const i=f.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(f.source===window.parent&&i.type==="theme"){o.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(f.source!==o.contentWindow||f.origin!=="null")){if(i.type==="scroll-port"&&!c&&f.ports.length===1){c=f.ports[0],c.onmessage=l;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&s(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{o.srcdoc=t,document.body.append(o)},{once:!0})}function w0(r,t,n,a,s,o,c,l){const f=document.implementation.createHTMLDocument(""),i=f.createElement("template");i.innerHTML=n,f.body.append(i.content);const p=Z=>{Z.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach(Q=>Q.remove()),Z.querySelectorAll("template").forEach(Q=>p(Q.content)),Z.querySelectorAll("a, area").forEach(Q=>{for(const Ie of["href","xlink:href"])Q.getAttribute(Ie)?.startsWith("#")||Q.removeAttribute(Ie);Q.removeAttribute("target"),Q.removeAttribute("ping"),Q.removeAttribute("download")})};p(f);const g=Z=>JSON.stringify(Z).replace(/</g,"\\u003c"),T=f.createElement("meta");T.httpEquiv="Content-Security-Policy",T.content=r.csp;const b=f.createElement("meta");b.setAttribute("charset","utf-8");const h=f.createElement("style"),A=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(l)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
261
261
  font-display: swap; src: url('${l}') format('woff2'); }`:"";h.textContent=`${A}${r.styles}`;const P=f.createElement("script"),B=g([a,s,r.maxScrollDelta,r.lockHeight,t(c)?c:null]);P.textContent=`(${r.bridge})(...${B}, (${r.validate}));`,f.head.prepend(T,b,h,P);const F=`<!doctype html>${f.documentElement.outerHTML}`,O=document.implementation.createHTMLDocument(""),N=O.createElement("meta");N.httpEquiv="Content-Security-Policy",N.content=r.csp.replace("frame-src 'none'","frame-src about:");const U=O.createElement("meta");U.setAttribute("charset","utf-8");const E=O.createElement("style");E.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const z=O.createElement("script"),J=g([a,F,o,r.maxScrollDelta]);return z.textContent=`(${r.shell})(...${J}, (${r.validate}));`,O.head.prepend(N,U,E,z),`<!doctype html>${O.documentElement.outerHTML}`}const k0=()=>({csp:y0,styles:m0,maxScrollDelta:ju,lockHeight:b0,bridge:_0.toString(),shell:x0.toString(),validate:Ii.toString()});function S0(r,t,n,a,s=null,o=""){return w0(k0(),Ii,r,t,n,a,s,o)}function Fc(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(h0.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function I0(r,t,n,a,s=null){return S0(r,t,n,a,s,v0)}var C0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),E0=S('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),A0=S('<p class="sr-only" role="status"> </p>'),P0=S('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),T0=S('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),R0=S('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),M0=S('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),L0=S('<span class="type-caption ml-auto text-muted-foreground" role="status"> </span>'),N0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),O0=S('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),D0=S('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),B0=S('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),F0=S('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),z0=S('<div class="flex flex-wrap items-center gap-1 px-4 py-2" data-inline-visual-actions=""><!> <!> <!> <!> <!></div> <!> <!>',1),H0=S('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><div class="flex min-w-0 items-center justify-end gap-1 p-1"><!> <!></div> <!> <!> <div class="relative min-w-0"><!> <!></div> <!></div>');function Wu(r,t){if(new.target)return Ht({component:Wu,...r});Ut(t,!0);const n=720;let a=y(t,"source",7),s=y(t,"isStreaming",7,!1),o=y(t,"isComplete",7,!0),c=y(t,"record",7),l=y(t,"storageStatus",7,"ready"),f=y(t,"onRecordChange",7),i=y(t,"onUseConfiguration",7),p=y(t,"onExport",7),g=y(t,"onRetry",7),T=y(t,"storageError",7),b=y(t,"exportStatus",7),h=y(t,"exportPath",7),A=y(t,"exportError",7),P,B=ye(void 0),F=ye(!1),O=ye(!1),N=ye(0),U=ye(""),E=ye(""),z=ye(!1),J=ye(""),Z=ye(Jr(jo)),Q=ye(n),Ie=ye(""),ce=ye(Al()),oe=ye(void 0),ue,we=ye(void 0),G=ye(!1);const fe=u(()=>c()??e(ce)),ie=u(()=>l()!=="loading"&&(l()!=="error"||!!e(fe).current)),Ne=u(()=>!s()&&o()&&!!a().trim()&&e(ie)),Re=u(()=>Math.min(Bc,Math.max(jo,e(Z)))),ke=u(()=>s()||l()==="loading"?"loading":o()?a().trim()?e(J)?"error":e(z)?"ready":"loading":"empty":"incomplete"),_e=u(()=>s()||l()==="loading"||e(Ne)&&!e(z)&&!e(J));function je(X){const xe={...X,current:e(oe)??X.current};M(ce,xe),f()?.(xe)}function Ue(){const X=e(oe);!X||e(fe).scenarios.length>=Pl||(je({...e(fe),scenarios:[...e(fe).scenarios,{id:crypto.randomUUID(),name:rp({number:vl(e(fe).scenarios.length+1)}),snapshot:structuredClone(X)}]}),M(G,!0))}function le(X,xe){const Ke=xe.trim().slice(0,120);Ke&&je({...e(fe),scenarios:e(fe).scenarios.map(rt=>rt.id===X?{...rt,name:Ke}:rt)})}function $(X){const xe=structuredClone(X);M(oe,xe),M(we,xe),je({...e(fe),current:xe}),M(N,e(N)+1)}function Ze(X){return typeof X=="number"?vl(X):typeof X=="string"?X:JSON.stringify(X)}function V(){!e(B)?.contentWindow||!e(E)||e(B).contentWindow.postMessage({channel:e(E),type:"theme",theme:Fc(P)},"*")}function K(X){let xe=P.parentElement;for(;xe;){const Ke=getComputedStyle(xe),rt=xe.scrollHeight-xe.clientHeight;if(/^(auto|scroll|overlay)$/.test(Ke.overflowY)&&rt>1){if(X<0?xe.scrollTop>0:xe.scrollTop<rt){xe.dispatchEvent(new WheelEvent("wheel",{deltaY:X,bubbles:!0})),xe.scrollTop+=X;return}if(/^(contain|none)$/.test(Ke.overscrollBehaviorY))return}xe=xe.parentElement}window.scrollBy({top:X,behavior:"instant"})}It(()=>{if(!e(F))return;const X=a(),xe=e(Ne);e(N),An(()=>{ue!==X&&(M(ce,Al()),M(oe,void 0),M(G,!1),M(we,void 0),ue=X),M(z,!1),M(J,""),M(Ie,""),M(Z,jo,!0),M(E,crypto.randomUUID(),!0),M(U,xe?I0(X,e(E),Fc(P),fl(),e(we)??e(oe)??e(fe).current):"",!0),M(we,void 0)})}),As(()=>{M(F,!0);const X=ht=>{if(ht.source!==e(B)?.contentWindow||ht.origin!=="null")return;const We=ht.data;if(!(!We||typeof We!="object"||We.channel!==e(E)))if(We.type==="resize"&&typeof We.height=="number"&&Number.isFinite(We.height)&&We.height>=0)M(Z,Math.min(Bc,Math.ceil(We.height)),!0);else if(We.type==="ready")M(z,!0),V();else if(We.type==="error"&&typeof We.message=="string")M(J,We.message.slice(0,300),!0);else if(We.type==="layout"&&typeof We.message=="string")M(Ie,We.message.slice(0,300),!0);else if(We.type==="snapshot"&&e(Ne)&&Ii(We.snapshot)){const mt=We.snapshot;M(oe,mt),je({...e(fe),current:mt})}else We.type==="wheel"&&e(z)&&e(Ne)&&!e(O)&&!e(_e)&&typeof We.deltaY=="number"&&Number.isFinite(We.deltaY)&&We.deltaY!==0&&Math.abs(We.deltaY)<=ju&&K(We.deltaY)},xe=()=>{M(Q,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},Ke=new MutationObserver(V);Ke.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const rt=window.matchMedia("(prefers-color-scheme: dark)");return rt.addEventListener("change",V),window.addEventListener("message",X),window.addEventListener("resize",xe),xe(),()=>{Ke.disconnect(),rt.removeEventListener("change",V),window.removeEventListener("message",X),window.removeEventListener("resize",xe)}});var W={get source(){return a()},set source(X){a(X),_()},get isStreaming(){return s()},set isStreaming(X=!1){s(X),_()},get isComplete(){return o()},set isComplete(X=!0){o(X),_()},get record(){return c()},set record(X){c(X),_()},get storageStatus(){return l()},set storageStatus(X="ready"){l(X),_()},get onRecordChange(){return f()},set onRecordChange(X){f(X),_()},get onUseConfiguration(){return i()},set onUseConfiguration(X){i(X),_()},get onExport(){return p()},set onExport(X){p(X),_()},get onRetry(){return g()},set onRetry(X){g(X),_()},get storageError(){return T()},set storageError(X){T(X),_()},get exportStatus(){return b()},set exportStatus(X){b(X),_()},get exportPath(){return h()},set exportPath(X){h(X),_()},get exportError(){return A()},set exportError(X){A(X),_()},$set:jt,$on:(X,xe)=>Wt(t,X,xe)},se=H0(),Ce=I(se),Y=I(Ce);yt(Y,{variant:"ghost",size:"sm",get active(){return e(O)},get"aria-pressed"(){return e(O)},onclick:()=>{M(O,!e(O))},children:(X,xe)=>{nr();var Ke=Rt();k(rt=>x(Ke,rt),[()=>e(O)?Kf():Gf()]),d(X,Ke)},$$slots:{default:!0}});var de=m(Y,2);{let X=u(()=>!e(Ne));yt(de,{variant:"ghost",size:"sm",get disabled(){return e(X)},onclick:()=>{M(N,e(N)+1)},children:(xe,Ke)=>{nr();var rt=Rt();k(ht=>x(rt,ht),[()=>Jf()]),d(xe,rt)},$$slots:{default:!0}})}w(Ce);var Ae=m(Ce,2);{var He=X=>{var xe=E0(),Ke=qe(xe),rt=I(Ke),ht=R(rt,!0),We=m(rt,2);{var mt=dt=>{yt(dt,{variant:"ghost",size:"sm",get onclick(){return g()},children:(Gt,Ft)=>{nr();var Jt=Rt();k(xt=>x(Jt,xt),[()=>np()]),d(Gt,Jt)},$$slots:{default:!0}})};D(We,dt=>{g()&&dt(mt)})}w(Ke);var ot=m(Ke,2);{var it=dt=>{var Gt=C0(),Ft=R(Gt,!0);k(()=>x(Ft,T())),d(dt,Gt)};D(ot,dt=>{T()&&dt(it)})}k(dt=>x(ht,dt),[()=>Yf()]),d(X,xe)};D(Ae,X=>{l()==="error"&&X(He)})}var tt=m(Ae,2);{var ge=X=>{var xe=A0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>s()?Xf():Zf()]),d(X,xe)},Oe=X=>{var xe=P0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>o()?$f():Qf()]),d(X,xe)},q=X=>{var xe=T0(),Ke=I(xe),rt=R(Ke,!0),ht=m(Ke,2),We=R(ht,!0);w(xe),k(mt=>{x(rt,mt),x(We,e(J))},[()=>ep()]),d(X,xe)};D(tt,X=>{e(_e)?X(ge):e(Ne)?e(J)&&X(q,2):X(Oe,1)})}var Me=m(tt,2),ve=I(Me);{var L=X=>{var xe=R0();let Ke,rt;mr(xe,ht=>M(B,ht),()=>e(B)),k(ht=>{ae(xe,"title",ht),ae(xe,"srcdoc",e(U)),Ke=pt(xe,1,"block w-full border-0 svelte-1kkow1d",null,Ke,{"preview-hidden":e(O)||e(_e)}),ae(xe,"aria-hidden",e(O)||e(_e)),rt=Pn(xe,"",rt,{height:`${e(Re)}px`})},[()=>fl()]),d(X,xe)};D(ve,X=>{e(Ne)&&e(U)&&X(L)})}var H=m(ve,2);{var me=X=>{na(X,{get code(){return a()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e(Q)}})},$e=X=>{var xe=M0(),Ke=I(xe),rt=I(Ke);Ya(rt,{class:"h-4 w-32 max-w-1/2"});var ht=m(rt,2);Ya(ht,{class:"h-3 w-2/3"}),w(Ke);var We=m(Ke,2);Ya(We,{class:"aspect-video max-h-60 w-full rounded-lg"});var mt=m(We,2),ot=I(mt);Ya(ot,{class:"h-3 w-16"});var it=m(ot,2);Ya(it,{class:"h-2 min-w-0 flex-1"});var dt=m(it,2);Ya(dt,{class:"h-3 w-10"}),w(mt),w(xe),d(X,xe)};D(H,X=>{e(O)?X(me):e(_e)&&X($e,1)})}w(Me);var Pe=m(Me,2);{var ze=X=>{var xe=z0(),Ke=qe(xe),rt=I(Ke);{var ht=Ct=>{{let Yt=u(()=>!e(z)||!!e(J));yt(Ct,{size:"sm",get disabled(){return e(Yt)},onclick:()=>e(oe)&&i()(e(oe)),children:(Mt,be)=>{nr();var re=Rt();k(Ve=>x(re,Ve),[()=>ap()]),d(Mt,re)},$$slots:{default:!0}})}};D(rt,Ct=>{i()&&Ct(ht)})}var We=m(rt,2);{let Ct=u(()=>!e(z)||!!e(J)||e(fe).scenarios.length>=Pl);yt(We,{variant:"ghost",size:"sm",get disabled(){return e(Ct)},onclick:Ue,children:(Yt,Mt)=>{nr();var be=Rt();k(re=>x(be,re),[()=>tp()]),d(Yt,be)},$$slots:{default:!0}})}var mt=m(We,2);{var ot=Ct=>{yt(Ct,{variant:"ghost",size:"sm",get active(){return e(G)},get"aria-expanded"(){return e(G)},onclick:()=>M(G,!e(G)),children:(Yt,Mt)=>{nr();var be=Rt();k(re=>x(be,re),[()=>sp()]),d(Yt,be)},$$slots:{default:!0}})};D(mt,Ct=>{e(fe).scenarios.length&&Ct(ot)})}var it=m(mt,2);{var dt=Ct=>{{let Yt=u(()=>!e(z)||b()==="saving");yt(Ct,{variant:"ghost",size:"sm",get disabled(){return e(Yt)},onclick:()=>p()({...e(fe),current:e(oe)??null}),children:(Mt,be)=>{nr();var re=Rt();k(Ve=>x(re,Ve),[()=>op()]),d(Mt,re)},$$slots:{default:!0}})}};D(it,Ct=>{p()&&Ct(dt)})}var Gt=m(it,2);{var Ft=Ct=>{var Yt=L0(),Mt=R(Yt,!0);k(be=>x(Mt,be),[()=>l()==="saving"?ip():l()==="ready"?lp():""]),d(Ct,Yt)};D(Gt,Ct=>{f()&&Ct(Ft)})}w(Ke);var Jt=m(Ke,2);{var xt=Ct=>{var Yt=N0(),Mt=I(Yt),be=m(Mt);{var re=Ve=>{var lt=Rt();k(()=>x(lt,A())),d(Ve,lt)};D(be,Ve=>{b()==="error"&&A()&&Ve(re)})}w(Yt),k(Ve=>x(Mt,`${Ve??""} `),[()=>b()==="saving"?cp():b()==="saved"?dp({path:h()??""}):up()]),d(Ct,Yt)};D(Jt,Ct=>{b()&&Ct(xt)})}var Vt=m(Jt,2);{var Kt=Ct=>{var Yt=F0(),Mt=I(Yt),be=I(Mt),re=I(be),Ve=I(re),lt=R(Ve,!0),ct=m(Ve),De=R(ct,!0),ne=m(ct);Tt(ne,17,()=>e(fe).scenarios,te=>te.id,(te,Ee)=>{var Se=O0(),Xe=I(Se);{let Te=u(()=>gp());es(Xe,{get value(){return e(Ee).name},get"aria-label"(){return e(Te)},maxlength:120,onblur:Ye=>{Ye.currentTarget.value.trim()||(Ye.currentTarget.value=e(Ee).name),le(e(Ee).id,Ye.currentTarget.value)},onkeydown:Ye=>{Ye.key==="Enter"&&Ye.currentTarget.blur(),Ye.key==="Escape"&&(Ye.currentTarget.value=e(Ee).name,Ye.currentTarget.blur())}})}var Fe=m(Xe,2),Ge=I(Fe);yt(Ge,{variant:"ghost",size:"sm",onclick:()=>$(e(Ee).snapshot),children:(Te,Ye)=>{nr();var Be=Rt();k(et=>x(Be,et),[()=>fp()]),d(Te,Be)},$$slots:{default:!0}});var Qe=m(Ge,2);yt(Qe,{variant:"ghost",size:"sm",onclick:()=>je({...e(fe),scenarios:e(fe).scenarios.filter(Te=>Te.id!==e(Ee).id)}),children:(Te,Ye)=>{nr();var Be=Rt();k(et=>x(Be,et),[()=>pp()]),d(Te,Be)},$$slots:{default:!0}}),w(Fe),w(Se),d(te,Se)}),w(re),w(be);var pe=m(be);Tt(pe,20,()=>["inputs","results"],Mr,(te,Ee)=>{const Se=u(()=>Ee),Xe=u(()=>Array.from(new Set([...Object.keys(e(oe)[e(Se)]),...e(fe).scenarios.flatMap(Qe=>Object.keys(Qe.snapshot[e(Se)]))])));var Fe=kt(),Ge=qe(Fe);Tt(Ge,16,()=>e(Xe),Qe=>Qe,(Qe,Te)=>{var Ye=B0(),Be=I(Ye),et=R(Be,!0),ft=m(Be);Tt(ft,17,()=>[e(oe),...e(fe).scenarios.map(st=>st.snapshot)],Mr,(st,nt)=>{var _t=D0(),vt=R(_t,!0);k(Ot=>x(vt,Ot),[()=>Object.hasOwn(e(nt)[e(Se)],Te)?Ze(e(nt)[e(Se)][Te]):"—"]),d(st,_t)}),w(Ye),k(()=>x(et,Te)),d(Qe,Ye)}),d(te,Fe)}),w(pe),w(Mt),w(Yt),k(te=>{x(lt,e(oe).title),x(De,te)},[()=>vp()]),d(Ct,Yt)};D(Vt,Ct=>{e(G)&&e(fe).scenarios.length&&Ct(Kt)})}d(X,xe)};D(Pe,X=>{e(oe)&&e(Ne)&&X(ze)})}return w(se),mr(se,X=>P=X,()=>P),k(()=>{ae(se,"data-inline-html-status",e(ke)),ae(se,"data-inline-html-layout",e(Ie)?"viewport-locked":void 0),ae(se,"aria-busy",e(_e))}),d(r,se),qt(W)}var j0=S('<div class="w-full min-w-0"><!></div>');function W0(r,t){if(new.target)return Ht({component:W0,...r});Ut(t,!0);const n=()=>St(e(b),"$agent$",s),a=()=>St(e(B),"$entry$",s),[s,o]=oa();let c=y(t,"block",7),l=y(t,"role",7),f=y(t,"workspaceId",7),i=y(t,"agentId",7),p=y(t,"messageId",7),g=y(t,"contentBlockKey",7,""),T=ye(void 0);const b=u(()=>so(i()??"")),h=u(()=>l()==="assistant"&&f()&&i()&&p()&&c().metadata?.fenceClosed&&!c().metadata?.isStreaming&&n()&&!Sd(n())?{workspaceId:f(),agentId:i(),messageId:p(),blockKey:JSON.stringify([g(),c().metadata?.fenceStart??0]),source:c().content}:void 0),A=u(()=>!!(f()&&i()&&p()&&c().metadata?.fenceClosed&&!n())),P=u(()=>e(h)?cv(e(h)):""),B=u(()=>Um(e(P)));It(()=>{e(h)&&Nt.dispatch(sv(e(h)))});function F(Z){!f()||!i()||n()?.retiredAt||e(T)?.dispatchEvent(new CustomEvent(ob,{bubbles:!0,detail:{workspaceId:f(),agentId:i(),snapshot:Z}}))}var O={get block(){return c()},set block(Z){c(Z),_()},get role(){return l()},set role(Z){l(Z),_()},get workspaceId(){return f()},set workspaceId(Z){f(Z),_()},get agentId(){return i()},set agentId(Z){i(Z),_()},get messageId(){return p()},set messageId(Z){p(Z),_()},get contentBlockKey(){return g()},set contentBlockKey(Z=""){g(Z),_()},$set:jt,$on:(Z,Q)=>Wt(t,Z,Q)},N=kt(),U=qe(N);{var E=Z=>{var Q=j0(),Ie=I(Q);{let ce=u(()=>c().metadata?.isStreaming??!1),oe=u(()=>c().metadata?.fenceClosed??!1),ue=u(()=>a()?.record),we=u(()=>e(h)?a()?.status??"loading":e(A)?"loading":"ready"),G=u(()=>a()?.error),fe=u(()=>e(h)?Ue=>Nt.dispatch(lv(e(P),Ue)):void 0),ie=u(()=>f()&&i()&&n()&&!n().retiredAt?F:void 0),Ne=u(()=>e(h)?()=>Nt.dispatch(iv(e(P))):void 0),Re=u(()=>e(h)?Ue=>Nt.dispatch(ov(e(P),crypto.randomUUID(),Ue)):void 0),ke=u(()=>a()?.export?.status),_e=u(()=>a()?.export?.path),je=u(()=>a()?.export?.error);Wu(Ie,{get source(){return c().content},get isStreaming(){return e(ce)},get isComplete(){return e(oe)},get record(){return e(ue)},get storageStatus(){return e(we)},get storageError(){return e(G)},get onRecordChange(){return e(fe)},get onUseConfiguration(){return e(ie)},get onRetry(){return e(Ne)},get onExport(){return e(Re)},get exportStatus(){return e(ke)},get exportPath(){return e(_e)},get exportError(){return e(je)}})}w(Q),mr(Q,ce=>M(T,ce),()=>e(T)),d(Z,Q)},z=Z=>{na(Z,{get code(){return c().content},language:"html"})};D(U,Z=>{l()==="assistant"?Z(E):Z(z,-1)})}d(r,N);var J=qt(O);return o(),J}var U0=S('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function q0(r,t){if(new.target)return Ht({component:q0,...r});Ut(t,!0);let n=y(t,"digest",7);var a={get digest(){return n()},set digest(c){n(c),_()},$set:jt,$on:(c,l)=>Wt(t,c,l)},s=U0(),o=R(s,!0);return k(()=>x(o,n())),d(r,s),qt(a)}var V0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),K0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),G0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),J0=S('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),Y0=S('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function X0(r,t){if(new.target)return Ht({component:X0,...r});Ut(t,!0);let n=y(t,"scripts",7);var a={get scripts(){return n()},set scripts(b){n(b),_()},$set:jt,$on:(b,h)=>Wt(t,b,h)},s=Y0(),o=I(s),c=I(o);At(c,{get icon(){return cd},size:"sm",class:"text-primary-ink/70"});var l=m(c,2),f=R(l,!0);w(o);var i=m(o,2);Tt(i,21,n,b=>b.name+b.command,(b,h)=>{var A=J0(),P=I(A),B=I(P),F=I(B),O=R(F,!0),N=m(F,2);{var U=Ie=>{var ce=V0(),oe=R(ce,!0);k(ue=>x(oe,ue),[()=>v.chat_detectedScripts_service_badge()]),d(Ie,ce)},E=Ie=>{var ce=K0(),oe=R(ce,!0);k(ue=>x(oe,ue),[()=>v.chat_detectedScripts_command_badge()]),d(Ie,ce)};D(N,Ie=>{e(h).mode==="service"?Ie(U):Ie(E,-1)})}var z=m(N,2);{var J=Ie=>{var ce=G0(),oe=R(ce,!0);k(()=>x(oe,e(h).category)),d(Ie,ce)};D(z,Ie=>{e(h).category&&e(h).category!=="other"&&Ie(J)})}w(B);var Z=m(B,2),Q=R(Z,!0);w(P),w(A),k(()=>{x(O,e(h).name),x(Q,e(h).command)}),d(b,A)}),w(i);var p=m(i,2),g=I(p),T=R(g,!0);return w(p),w(s),k((b,h)=>{x(f,b),x(T,h)},[()=>v.chat_detectedScripts_title(),()=>n().length===1?v.chat_detectedScripts_count_one({count:ar(n().length)}):v.chat_detectedScripts_count_many({count:ar(n().length)})]),d(r,s),qt(a)}function Z0(r,t){if(new.target)return Ht({component:Z0,...r});Ut(t,!0);let n=y(t,"diff",7),a=y(t,"filePath",7),s=y(t,"language",7),o=y(t,"onApply",7),c=y(t,"onReject",7);function l(){o()?.(),ra.success(v.chat_diffViewer_applied_toast())}function f(){c()?.(),ra.info(v.chat_diffViewer_rejected_toast())}const i=u(()=>{const g=[];return o()&&g.push({label:v.chat_diffViewer_apply_label(),variant:"success",onClick:l}),c()&&g.push({label:v.chat_diffViewer_reject_label(),variant:"danger",onClick:f}),g});var p={get diff(){return n()},set diff(g){n(g),_()},get filePath(){return a()},set filePath(g){a(g),_()},get language(){return s()},set language(g){s(g),_()},get onApply(){return o()},set onApply(g){o(g),_()},get onReject(){return c()},set onReject(g){c(g),_()},$set:jt,$on:(g,T)=>Wt(t,g,T)};{let g=u(()=>a()||v.chat_diffViewer_suggestedChanges_fallback());xs(r,{get patch(){return n()},get fileName(){return e(g)},get language(){return s()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return qt(p)}var Q0=xa('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),zc=xa("<circle></circle>"),$0=xa('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),ek=S('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function Vs(r,t){if(new.target)return Ht({component:Vs,...r});Ut(t,!0);let n=y(t,"phase",7),a=y(t,"progress",7,0),s=y(t,"size",7,16),o=y(t,"class",7,""),c=u(()=>s()/2),l=u(()=>e(c)),f=u(()=>e(c)),i=u(()=>s()*.12),p=u(()=>e(c)-e(i)/2),g=u(()=>e(c)*.35),T=u(()=>2*Math.PI*e(g)),b=u(()=>Math.max(0,Math.min(1,a()))*e(T));const h={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let A=u(()=>h[n()]||"currentColor");var P={get phase(){return n()},set phase(ce){n(ce),_()},get progress(){return a()},set progress(ce=0){a(ce),_()},get size(){return s()},set size(ce=16){s(ce),_()},get class(){return o()},set class(ce=""){o(ce),_()},$set:jt,$on:(ce,oe)=>Wt(t,ce,oe)},B=ek(),F=I(B),O=I(F),N=m(O);{var U=ce=>{},E=ce=>{var oe=Q0();k(()=>{ae(oe,"cx",e(l)),ae(oe,"cy",e(f)),ae(oe,"r",e(g)*.8),ae(oe,"stroke",e(A)),ae(oe,"stroke-width",e(g)*1.5),ae(oe,"stroke-dasharray",`${e(b)??""} ${e(T)??""}`),ae(oe,"stroke-dashoffset",e(T)*.25),ae(oe,"transform",`rotate(-90 ${e(l)??""} ${e(f)??""})`)}),d(ce,oe)},z=ce=>{var oe=zc();k(()=>{ae(oe,"cx",e(l)),ae(oe,"cy",e(f)),ae(oe,"r",e(p)*.6),ae(oe,"fill",e(A))}),d(ce,oe)},J=ce=>{var oe=zc();k(()=>{ae(oe,"cx",e(l)),ae(oe,"cy",e(f)),ae(oe,"r",e(p)),ae(oe,"fill",e(A))}),d(ce,oe)};D(N,ce=>{n()==="planning"?ce(U):n()==="building"?ce(E,1):n()==="reviewing"?ce(z,2):n()==="shipped"&&ce(J,3)})}w(F);var Z=m(F,2);{var Q=ce=>{},Ie=ce=>{var oe=$0();k(()=>ae(oe,"width",s()*.5)),d(ce,oe)};D(Z,ce=>{n()==="reviewing"?ce(Q):n()==="shipped"&&ce(Ie,1)})}return w(B),k(()=>{ae(F,"width",s()),ae(F,"height",s()),ae(F,"viewBox",`0 0 ${s()??""} ${s()??""}`),pt(F,0,lr(o())),ae(O,"cx",e(l)),ae(O,"cy",e(f)),ae(O,"r",e(p)),ae(O,"stroke",e(A)),ae(O,"stroke-width",e(i))}),d(r,B),qt(P)}var Hc=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),tk=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),jc=S('<span class="text-ui text-subtle truncate"> </span>'),Wc=S('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),Uc=S('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),rk=S('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),nk=S('<span class="text-ui text-subtle pl-4"> </span>'),ak=S('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),sk=S('<div class="text-ui text-subtle"> </div>'),ok=S("<!> <!> <!> <!>",1),ik=S('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),lk=S('<div class="rounded-[0.5px]"></div>');function Uu(r,t){if(new.target)return Ht({component:Uu,...r});Ut(t,!0);let n=y(t,"stats",7),a=y(t,"tasks",23,()=>[]),s=y(t,"maxBars",7,20),o=y(t,"barWidth",7,"1px"),c=y(t,"barHeight",7,"16px"),l=y(t,"gap",7,"1px"),f=y(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let p=u(()=>{const{completed:N,inProgress:U,notStarted:E,total:z}=n();if(z===0)return[];const J=[...Array(N).fill("completed"),...Array(U).fill("inProgress"),...Array(Math.max(0,E)).fill("notStarted")];return J.length<=s()?J:J.slice(J.length-s())}),g=u(()=>a().filter(N=>N.status==="complete")),T=u(()=>a().filter(N=>N.status==="in_progress"||N.status==="review_required")),b=u(()=>a().filter(N=>N.status!=="complete"&&N.status!=="in_progress"&&N.status!=="review_required"&&N.status!=="cancelled")),h=u(()=>a().filter(N=>N.status==="cancelled")),A=u(()=>a().length>0);var P={get stats(){return n()},set stats(N){n(N),_()},get tasks(){return a()},set tasks(N=[]){a(N),_()},get maxBars(){return s()},set maxBars(N=20){s(N),_()},get barWidth(){return o()},set barWidth(N="1px"){o(N),_()},get barHeight(){return c()},set barHeight(N="16px"){c(N),_()},get gap(){return l()},set gap(N="1px"){l(N),_()},get class(){return f()},set class(N){f(N),_()},$set:jt,$on:(N,U)=>Wt(t,N,U)},B=kt(),F=qe(B);{var O=N=>{Go(N,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:E=>{var z=ik(),J=I(z),Z=I(J),Q=R(Z,!0),Ie=m(Z,2),ce=I(Ie);{var oe=Re=>{var ke=Hc(),_e=I(ke);Pn(_e,"",{},{"background-color":"#22c55e"});var je=m(_e);w(ke),k(()=>x(je,` ${n().completed??""}`)),d(Re,ke)};D(ce,Re=>{n().completed>0&&Re(oe)})}var ue=m(ce,2);{var we=Re=>{var ke=Hc(),_e=I(ke);Pn(_e,"",{},{"background-color":"#4F7BF7"});var je=m(_e);w(ke),k(()=>x(je,` ${n().inProgress??""}`)),d(Re,ke)};D(ue,Re=>{n().inProgress>0&&Re(we)})}var G=m(ue,2);{var fe=Re=>{var ke=tk(),_e=m(I(ke));w(ke),k(()=>x(_e,` ${n().notStarted??""}`)),d(Re,ke)};D(G,Re=>{n().notStarted>0&&Re(fe)})}w(Ie),w(J);var ie=m(J,2);{var Ne=Re=>{var ke=ok(),_e=qe(ke);Tt(_e,17,()=>e(T),Mr,(V,K)=>{var W=Uc(),se=I(W),Ce=I(se);Eo(Ce,{get status(){return e(K).status},size:14}),w(se);var Y=m(se,2),de=I(Y),Ae=R(de,!0),He=m(de,2);{var tt=ge=>{var Oe=Wc(),q=I(Oe);{let L=u(()=>e(K).agentState||"idle");yl(q,{get agentId(){return e(K).agentId},get state(){return e(L)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=L=>{var H=jc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(L,H)};D(Me,L=>{e(K).agentName&&L(ve)})}w(Oe),d(ge,Oe)};D(He,ge=>{e(K).agentId&&ge(tt)})}w(Y),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var je=m(_e,2);Tt(je,17,()=>e(b),Mr,(V,K)=>{var W=Uc(),se=I(W),Ce=I(se);Eo(Ce,{get status(){return e(K).status},size:14}),w(se);var Y=m(se,2),de=I(Y),Ae=R(de,!0),He=m(de,2);{var tt=ge=>{var Oe=Wc(),q=I(Oe);{let L=u(()=>e(K).agentState||"idle");yl(q,{get agentId(){return e(K).agentId},get state(){return e(L)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=L=>{var H=jc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(L,H)};D(Me,L=>{e(K).agentName&&L(ve)})}w(Oe),d(ge,Oe)};D(He,ge=>{e(K).agentId&&ge(tt)})}w(Y),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var Ue=m(je,2);{var le=V=>{var K=ak(),W=I(K);Tt(W,17,()=>e(g).slice(0,3),Mr,(Y,de)=>{var Ae=rk(),He=I(Ae),tt=I(He);Eo(tt,{status:"complete",size:12}),w(He);var ge=m(He,2),Oe=R(ge,!0);w(Ae),k(()=>x(Oe,e(de).title)),d(Y,Ae)});var se=m(W,2);{var Ce=Y=>{var de=nk(),Ae=R(de,!0);k(He=>x(Ae,He),[()=>v.workspace_taskProgressBar_moreCompleted_label({count:ar(e(g).length-3)})]),d(Y,de)};D(se,Y=>{e(g).length>3&&Y(Ce)})}w(K),d(V,K)};D(Ue,V=>{e(g).length>0&&V(le)})}var $=m(Ue,2);{var Ze=V=>{var K=sk(),W=R(K,!0);k(se=>x(W,se),[()=>v.workspace_taskProgressBar_cancelled_label({count:ar(e(h).length)})]),d(V,K)};D($,V=>{e(h).length>0&&V(Ze)})}d(Re,ke)};D(ie,Re=>{e(A)&&Re(Ne)})}w(z),k(Re=>x(Q,Re),[()=>v.workspace_taskProgressBar_tasksRatio_label({completed:ar(n().completed),total:ar(n().total)})]),d(E,z)},children:(E,z)=>{{let J=u(()=>xn("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",f())),Z=u(()=>`gap: ${l()}`),Q=u(()=>v.workspace_taskProgressBar_tasksRatio_label({completed:ar(n().completed),total:ar(n().total)}));yt(E,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(J)},get style(){return e(Z)},get"aria-label"(){return e(Q)},"data-task-progress-trigger":!0,children:(Ie,ce)=>{var oe=kt(),ue=qe(oe);Tt(ue,17,()=>e(p),Mr,(we,G)=>{var fe=lk();let ie;k(()=>ie=Pn(fe,"",ie,{width:o(),height:c(),"background-color":i[e(G)]})),d(we,fe)}),d(Ie,oe)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};D(F,N=>{n().total>0&&N(O)})}return d(r,B),qt(P)}function Ui(r,t){if(new.target)return Ht({component:Ui,...r});Ut(t,!0);let n=y(t,"items",7),a=y(t,"ariaLabel",7),s=y(t,"open",15,!1),o=y(t,"orientation",7,"vertical"),c=y(t,"selection",7),l=y(t,"class",7,"");const f=u(()=>xg(n(),c(),a()));var i={get items(){return n()},set items(p){n(p),_()},get ariaLabel(){return a()},set ariaLabel(p){a(p),_()},get open(){return s()},set open(p=!1){s(p),_()},get orientation(){return o()},set orientation(p="vertical"){o(p),_()},get selection(){return c()},set selection(p){c(p),_()},get class(){return l()},set class(p=""){l(p),_()},$set:jt,$on:(p,g)=>Wt(t,p,g)};return Mm(r,{get actions(){return e(f)},align:"end",get ariaLabel(){return a()},onAction:g=>_g(n(),g)?.onClick(),get open(){return s()},set open(g){s(g)},trigger:(g,T)=>{let b=()=>(T?.()).props;yt(g,_i(b,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return l()},get"aria-label"(){return a()},onclick:h=>{h.stopPropagation(),b().onclick?.(h)},oncontextmenu:h=>{h.preventDefault(),h.stopPropagation()},children:(h,A)=>{Lm(h,{get orientation(){return o()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),qt(i)}var ck=S('<span class="contents"><!></span>'),dk=S("<!> <!>",1);function qu(r,t){if(new.target)return Ht({component:qu,...r});Ut(t,!0);let n=y(t,"workspaceId",7),a=y(t,"slot",7);const s=u(()=>Yg(a()));let o=ye(null);It(()=>{e(o)&&e(o).workspaceId!==n()&&M(o,null)});function c(h){const A=sd(h);A&&M(o,{...A,workspaceId:n()},!0)}function l(h){h.preventDefault(),h.stopPropagation();const A=h.currentTarget.getBoundingClientRect();M(o,{x:A.left,y:A.bottom+2,returnFocus:h.currentTarget,workspaceId:n()},!0)}function f(){M(o,null)}var i={get workspaceId(){return n()},set workspaceId(h){n(h),_()},get slot(){return a()},set slot(h){a(h),_()},$set:jt,$on:(h,A)=>Wt(t,h,A)},p=dk(),g=qe(p);{let h=u(()=>v.workspace_microKeyBadge_ariaLabel({number:ar(a()+1)})),A=u(()=>v.workspace_microKeyBadge_tooltip({number:ar(a()+1)})),P=u(()=>e(o)!==null);yt(g,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(h)},get title(){return e(A)},onclick:l,oncontextmenu:c,onkeydown:c,"aria-haspopup":"menu",get"aria-expanded"(){return e(P)},children:(B,F)=>{var O=ck(),N=I(O);$p(N,{get slot(){return a()},get class(){return`transition-colors ${e(s)??""}`}}),w(O),d(B,O)},$$slots:{default:!0}})}var T=m(g,2);{var b=h=>{{let A=u(()=>e(o)?.x??0),P=u(()=>e(o)?.y??0),B=u(()=>e(o)?.returnFocus),F=u(()=>v.workspace_card_assignMicroKey_label()),O=u(()=>Bh(n(),f));od(h,{get x(){return e(A)},get y(){return e(P)},get returnFocus(){return e(B)},selection:"single",get ariaLabel(){return e(F)},get items(){return e(O)},onClickOutside:f})}};D(T,h=>{e(o)&&h(b)})}return d(r,p),qt(i)}var uk=S('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),fk=S('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),pk=S('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),gk=S('<span data-workspace-card-pr-item=""><!></span>'),vk=S('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),mk=S('<span data-workspace-card-time=""><!></span>'),hk=S('<span aria-hidden="true"><!></span>'),bk=S("<div><!> <!> <!> <!></div>"),yk=S('<div data-workspace-card-hover-surface=""><!></div>'),_k=S('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),xk=S('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),wk=S('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),kk=S('<div class="text-sm font-semibold truncate"> </div>'),qc=S('<span class="truncate"> </span>'),Sk=S('<span class="text-muted-foreground">·</span>'),Ik=S('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),Ck=S('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),Ek=S('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),Ak=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),Pk=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),Tk=S('<div class="flex items-center text-ui"><span> </span></div>'),Rk=S('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),Mk=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),Lk=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),Nk=S('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function Vu(r,t){if(new.target)return Ht({component:Vu,...r});Ut(t,!0);const n=()=>St(je,"$prMonitors$",c),a=()=>St(Ue,"$microConnected$",c),s=()=>St($,"$hidesOwnerActions$",c),o=()=>St(le,"$workspaceKeySlot$",c),[c,l]=oa();let f=y(t,"workspace",7),i=y(t,"phase",7),p=y(t,"stats",7),g=y(t,"variant",7,"compact"),T=y(t,"showTime",7,!0),b=y(t,"isRunning",7,!1),h=y(t,"isUnread",7,!1),A=y(t,"isWaiting",7),P=y(t,"isPinned",7,!1),B=y(t,"streamingAgentIds",23,()=>[]),F=y(t,"hasSpec",7,!1),O=y(t,"isAgentRunning",7,!1),N=y(t,"agentDigest",7),U=y(t,"trailingLabel",7),E=y(t,"title",7),z=y(t,"repoName",7),J=y(t,"branch",7),Z=y(t,"onClick",7),Q=y(t,"onAction",7),Ie=y(t,"onTogglePin",7),ce=y(t,"onMarkAsRead",7),oe=y(t,"onOpenInNewWindow",7),ue=y(t,"onHover",7),we=y(t,"highlighted",7,!1),G=y(t,"selected",7,!1),fe=y(t,"highlightId",7),ie=y(t,"suppressHover",7,!1),Ne=y(t,"isolateHoverReveal",7,!1),Re=y(t,"class",7),ke=y(t,"actions",7);const _e=$a("");It(()=>{_e.set(f()?.id??"")});const je=jp(_e),Ue=Zh(),le=Ev(_e),$=Wp(_e),Ze=u(()=>zh(f()??{})),V=u(()=>Hh(e(Ze)));let K=u(()=>f()?Xh.url.pathname===`/workspace/${f().id}`:!1),W=u(()=>f()?`workspace-hover-card-${f().id}`:void 0),se=ye(!1),Ce=ye(null),Y=ye(null);It(()=>{if(!e(Y))return;const ee=Ds(e(Y),{id:fe()});return()=>ee.destroy()});let de=ye(null),Ae=ye(null),He=ye(null),tt=ye(0),ge=ye(0),Oe=u(()=>e(tt)+(e(ge)>0?e(ge)+4:0));function q(){const ee=e(de),gt=e(He);M(tt,ee?Math.max(0,ee.scrollWidth-ee.clientWidth):0,!0),M(ge,ee&&gt&&gt.getClientRects().length>0?Math.max(0,ee.getBoundingClientRect().right-gt.getBoundingClientRect().left):0,!0)}It(()=>{const ee=e(de),gt=e(Ae),Dt=e(He);if(!ee||!gt||(q(),typeof ResizeObserver>"u"))return;const ur=new ResizeObserver(q);return ur.observe(ee),ur.observe(gt),Dt&&ur.observe(Dt),()=>ur.disconnect()});let Me=null,ve=null,L=!1,H=!1,me=!1,$e=!1,Pe=!1,ze=!1,X=ye(!1),xe=!1,Ke=null,rt=ye(null),ht=null,We;function mt(){Me!==null&&(clearTimeout(Me),Me=null)}function ot(){ve!==null&&(clearTimeout(ve),ve=null),ht?.(),ht=null}function it(){ot(),M(X,!0),M(se,!0),!Pe&&(Pe=!0,ps.notifyOpened())}function dt(){ot(),clearTimeout(We),M(X,!1),M(se,!1),H=!1,$e=!1,Pe&&(Pe=!1,ps.notifyClosed())}function Gt(){return L||H||me||$e}function Ft(){if(!e(se)){dt();return}ot(),ve=setTimeout(()=>{ve=null,Gt()||dt()},Wh),ht=ps.deferClose(dt)}function Jt(){H=!0,ot()}function xt(){H=!1,!me&&!$e&&Ft()}function Vt(){$e=!0,clearTimeout(We),ot()}function Kt(ee){const gt=ee.relatedTarget instanceof Node?ee.relatedTarget:null;if(gt&&pe()?.contains(gt)||($e=!1,gt&&e(Ce)?.contains(gt)))return;if(gt){!L&&!H&&dt();return}const Dt=ee.target;clearTimeout(We),We=setTimeout(()=>{const ur=document.activeElement,_r=pe()?.contains(ur)||e(Ce)?.contains(ur);ur&&ur!==Dt&&_r||!L&&!H&&dt()},0)}function Ct(){Ke!==null&&clearTimeout(Ke),xe=!0,Ke=setTimeout(()=>{xe=!1,Ke=null},0)}function Yt(ee){const gt=ee.target,Dt=pe();gt instanceof Node&&Dt?.contains(gt)||ee.type==="scroll"&&e(Ce)&&gt instanceof Node&&!gt.contains(e(Ce))||(ee.type==="pointerdown"&&Ct(),mt(),dt())}It(()=>{if(e(X))return window.addEventListener("pointerdown",Yt,!0),window.addEventListener("scroll",Yt,!0),()=>{window.removeEventListener("pointerdown",Yt,!0),window.removeEventListener("scroll",Yt,!0)}});function Mt(ee){if(ee.key!=="Escape")return;const gt=ee.target;gt instanceof Node&&pe()?.contains(gt)||(ee.preventDefault(),ee.stopPropagation(),ze=me,mt(),dt())}It(()=>{if(e(se))return window.addEventListener("keydown",Mt,!0),()=>window.removeEventListener("keydown",Mt,!0)});const be=u(()=>f()?qp.select(Nt.state,f().id):null),re=u(()=>e(be)?e(be):f()?.activePullRequest?f().activePullRequest:!f()?.prStatus||f().prNumber==null?null:{id:`legacy-pr-${f().prNumber}`,number:f().prNumber,url:f().prUrl??"",title:v.workspace_hoverCard_pullRequest_label(),status:f().prStatus,createdAt:f().updatedAt,updatedAt:f().updatedAt}),Ve=u(()=>Up(f())),lt=u(()=>{if(!f()||e(Ve))return[];const ee=f(),gt=ee.repositoryOwner&&ee.repositoryName?`${ee.repositoryOwner}/${ee.repositoryName}`:void 0;return wg({workspacePRs:ee.pullRequests,activePR:e(re),monitors:n(),workspaceRepo:gt,buildPrUrl:(Dt,ur)=>fm(Dt,ee.repositoryOwner,ee.repositoryName,ur),getDisplayTitle:Dt=>Dt.title})}),ct=u(()=>e(lt)[0]);function De(ee){const gt=ee.resource?.repository.provider==="gitlab"?`${ee.repo} !${ee.number}`:ee.repo?v.workspace_card_prBadge_repoLine_tooltip({repo:ee.repo,number:ee.number}):v.workspace_card_prBadge_label({number:` #${ee.number}`});return[Vp(gt,ee),ee.title,ee.details].filter(Boolean).join(`
262
262
  `)}function ne(ee){ee.key==="Enter"&&Z()?.(ee)}function pe(){return e(W)?document.getElementById(e(W)):null}function te(){return Array.from(pe()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function Ee(){const ee=e(Ce)?.querySelector("[data-workspace-card-trigger]"),gt=pe();if(!ee||!gt)return null;const Dt=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(_r=>_r.tabIndex>=0&&!gt.contains(_r)),ur=Dt.indexOf(ee);return ur>=0?Dt[ur+1]:null}function Se(ee){ze=!!e(Ce)?.contains(ee),dt(),ee.focus({preventScroll:!0})}function Xe(){const ee=e(Ce)?.querySelector("[data-workspace-card-trigger]");ee&&Se(ee)}async function Fe(ee){if(ee.key==="Escape"&&e(se)){ee.preventDefault(),ee.stopPropagation(),dt();return}ee.key!=="ArrowDown"||ie()||!f()||(ee.preventDefault(),ee.stopPropagation(),M(X,!0),M(se,!0),await Xn(),te()[0]?.focus({preventScroll:!0}))}function Ge(ee){const gt=te(),Dt=ee.key==="Tab"&&ee.shiftKey&&ee.currentTarget===gt[0],_r=ee.key==="Tab"&&!ee.shiftKey&&ee.currentTarget===gt.at(-1)?Ee():null;ee.key!=="Escape"&&!Dt&&!_r||(ee.preventDefault(),ee.stopPropagation(),_r?Se(_r):Xe())}function Qe(){L=!0,ot(),ps.settleDeferredCloses(),q(),ue()?.(),f()&&!ie()&&!me&&(mt(),M(X,!0),Me=setTimeout(()=>{Me=null,it()},ps.currentOpenDelay))}function Te(){L=!1,mt(),!me&&!$e&&Ft()}function Ye(){me=!0,mt(),ot(),!ze&&(xe||f()&&!ie()&&(M(X,!0),M(se,!0)))}function Be(ee){const gt=ee.relatedTarget instanceof Node?ee.relatedTarget:null;gt&&e(Ce)?.contains(gt)||(ze=!1,me=!1,!(gt&&pe()?.contains(gt))&&!L&&!H&&dt())}It(()=>{ie()&&(mt(),ot(),dt())});let et=ye(null),ft=ye(!1),st;It(()=>{const ee=f()?.id;st!==ee&&(st=ee,M(ft,!1)),e(et)&&e(et).workspaceId!==f()?.id&&_t()});function nt(ee){if(!f())return;const gt=sd(ee);if(gt){if(M(ft,!1),vt().length===0){M(et,null);return}M(et,{...gt,returnFocus:ee.target instanceof HTMLElement?ee.target.closest("button")??e(Ce)?.querySelector("button")??null:null,workspaceId:f().id},!0)}}function _t(){M(et,null),M(ft,!1)}It(()=>{e(ft)&&M(et,null)}),Cs(()=>{mt(),ot(),Ke!==null&&(clearTimeout(Ke),Ke=null),dt()});function vt(){if(!f())return[];const ee=[];return oe()&&ee.push({id:"open-new-window",label:v.workspace_card_openNewWindow_label(),icon:fd,onClick:()=>{oe()?.(),_t()}}),ee.push(...jh(f().id,{connected:a(),onClose:_t})),s()||(e(Ve)||ee.push({id:"transfer",label:v.workspace_card_transfer_label(),icon:zg,onClick:()=>{Nt.dispatch(dv({workspaceId:f().id,workspaceTitle:f().title})),_t()}}),ee.push({id:"archive",label:v.workspace_card_archive_label(),icon:pd,onClick:()=>{Nt.dispatch(Id(f().id)),_t()}}),ee.push({id:"delete",label:v.workspace_card_deleteSpace_label(),icon:gd,destructive:!0,onClick:()=>{Nt.dispatch(Cd(f().id)),_t()}})),ee}let Ot=u(()=>O()&&N()?N():i()?.subtitle??""),Xt=u(()=>p()&&p().tasks.total>0?p().tasks.completed/p().tasks.total:0),er=u(()=>!!p()&&(p().tasks.total>0||p().files.changed>0||p().commits.total>0||p().pr.hasOpen||p().pr.hasMerged)),dr=u(()=>e(Ve)?void 0:J()),jr=u(()=>!p()||e(Ve)?"":p().pr.hasMerged?v.workspace_card_prMerged_label({number:p().pr.number??""}):p().pr.hasOpen?v.workspace_card_prOpen_label({number:p().pr.number?`#${p().pr.number}`:""}):""),nn=u(()=>i()?.phase==="planning"?O()?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:F()||(p()?.tasks.total??0)>0?{primary:{label:v.workspace_card_approveStart_label(),action:"approve"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:v.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:v.workspace_card_archive_label(),action:"archive"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}});const mn={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var zn={get workspace(){return f()},set workspace(ee){f(ee),_()},get phase(){return i()},set phase(ee){i(ee),_()},get stats(){return p()},set stats(ee){p(ee),_()},get variant(){return g()},set variant(ee="compact"){g(ee),_()},get showTime(){return T()},set showTime(ee=!0){T(ee),_()},get isRunning(){return b()},set isRunning(ee=!1){b(ee),_()},get isUnread(){return h()},set isUnread(ee=!1){h(ee),_()},get isWaiting(){return A()},set isWaiting(ee){A(ee),_()},get isPinned(){return P()},set isPinned(ee=!1){P(ee),_()},get streamingAgentIds(){return B()},set streamingAgentIds(ee=[]){B(ee),_()},get hasSpec(){return F()},set hasSpec(ee=!1){F(ee),_()},get isAgentRunning(){return O()},set isAgentRunning(ee=!1){O(ee),_()},get agentDigest(){return N()},set agentDigest(ee){N(ee),_()},get trailingLabel(){return U()},set trailingLabel(ee){U(ee),_()},get title(){return E()},set title(ee){E(ee),_()},get repoName(){return z()},set repoName(ee){z(ee),_()},get branch(){return J()},set branch(ee){J(ee),_()},get onClick(){return Z()},set onClick(ee){Z(ee),_()},get onAction(){return Q()},set onAction(ee){Q(ee),_()},get onTogglePin(){return Ie()},set onTogglePin(ee){Ie(ee),_()},get onMarkAsRead(){return ce()},set onMarkAsRead(ee){ce(ee),_()},get onOpenInNewWindow(){return oe()},set onOpenInNewWindow(ee){oe(ee),_()},get onHover(){return ue()},set onHover(ee){ue(ee),_()},get highlighted(){return we()},set highlighted(ee=!1){we(ee),_()},get selected(){return G()},set selected(ee=!1){G(ee),_()},get highlightId(){return fe()},set highlightId(ee){fe(ee),_()},get suppressHover(){return ie()},set suppressHover(ee=!1){ie(ee),_()},get isolateHoverReveal(){return Ne()},set isolateHoverReveal(ee=!1){Ne(ee),_()},get class(){return Re()},set class(ee){Re(ee),_()},get actions(){return ke()},set actions(ee){ke(ee),_()},$set:jt,$on:(ee,gt)=>Wt(t,ee,gt)},Un=kt(),da=qe(Un);{var wr=ee=>{var gt=_k(),Dt=qe(gt);let ur;var _r=I(Dt);{let bt=u(()=>f().title||v.workspace_links_untitled_label()),Pt=u(()=>`workspace-status-state-${f().id}${P()?` workspace-pinned-state-${f().id}`:""}${e(se)?` ${e(W)}`:""}`),pr=u(()=>e(K)?"page":void 0);yt(_r,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(bt)},get"aria-describedby"(){return e(Pt)},get"aria-current"(){return e(pr)},"data-workspace-card-trigger":!0,onkeydown:Fe,onclick:xr=>{xr.stopPropagation(),Z()?.(xr)}})}var kn=m(_r,2),cn=I(kn);{var Hn=bt=>{var Pt=uk(),pr=I(Pt);{var xr=Pr=>{qu(Pr,{get workspaceId(){return f().id},get slot(){return o()}})};D(pr,Pr=>{o()!==null&&Pr(xr)})}w(Pt),d(bt,Pt)};D(cn,bt=>{a()&&bt(Hn)})}var hn=m(cn,2);Go(hn,{get content(){return e(V).tooltip},side:"bottom",sideOffset:4,children:(bt,Pt)=>{Fh(bt,{get status(){return e(Ze)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var Tn=m(hn,2),Zn=R(Tn,!0);w(kn);var Yr=m(kn,2),dn=I(Yr),Zt=I(dn),an=I(Zt),qn=R(an,!0);mr(an,bt=>M(Ae,bt),()=>e(Ae)),w(Zt),mr(Zt,bt=>M(de,bt),()=>e(de));var kr=m(Zt,2);{var Or=bt=>{var Pt=fk(),pr=qe(Pt),xr=I(pr);At(xr,{get icon(){return Sl},size:"xs"}),w(pr);var Pr=m(pr,2),j=R(Pr,!0);k(Le=>{pt(pr,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
263
- ${Ie()?we()?"opacity-0":ie()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ae(Pr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Le)},[()=>v.layout_activeCard_pinned_header()]),d(bt,Pt)};D(kr,bt=>{P()&&bt(Or)})}w(dn);var un=m(dn,2);{var la=bt=>{var Pt=pk(),pr=R(Pt,!0);k(()=>x(pr,U())),d(bt,Pt)};D(un,bt=>{U()&&bt(la)})}var Xr=m(un,2);{var Zr=bt=>{const Pt=u(()=>e(ct));var pr=vk(),xr=I(pr);{let Pr=u(()=>De(e(Pt)));Go(xr,{get content(){return e(Pr)},side:"bottom",sideOffset:4,children:(j,Le)=>{var ut=kt(),$t=qe(ut);{var fr=gr=>{{let hr=u(()=>De(e(Pt)));yt(gr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Pt).foregroundClass??""}`},get"aria-label"(){return e(hr)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Pt).identity},get"data-pr-status"(){return e(Pt).status},onclick:sn=>{sn.stopPropagation();const Vn=f().id;mp(async()=>{const{handleLink:Wr}=await import("./BA5tpMka.js").then(Tr=>Tr.H);return{handleLink:Wr}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65]),import.meta.url).then(({handleLink:Wr})=>Wr(e(Pt).url,{workspaceId:Vn,event:sn}))},children:(sn,Vn)=>{At(sn,{get icon(){return e(Pt).statusIcon},size:14})},$$slots:{default:!0}})}},sr=gr=>{var hr=gk(),sn=I(hr);At(sn,{get icon(){return e(Pt).statusIcon},size:14}),w(hr),k(Vn=>{pt(hr,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Pt).foregroundClass??""}`,"svelte-1ct56pd"),ae(hr,"aria-label",Vn),ae(hr,"data-pr-identity",e(Pt).identity),ae(hr,"data-pr-status",e(Pt).status)},[()=>De(e(Pt))]),d(gr,hr)};D($t,gr=>{e(Pt).url?gr(fr):gr(sr,-1)})}d(j,ut)},$$slots:{default:!0}})}w(pr),k(Pr=>ae(pr,"aria-label",Pr),[()=>e(Pt).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(bt,pr)};D(Xr,bt=>{e(ct)&&bt(Zr)})}var Br=m(Xr,2);{var Qn=bt=>{var Pt=mk(),pr=I(Pt);{var xr=j=>{{let Le=u(()=>Tl(f()));eg(j,{get date(){return e(Le)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Pr=u(()=>Tl(f())>0);D(pr,j=>{e(Pr)&&j(xr)})}w(Pt),k(()=>pt(Pt,1,`wc-secondary shrink-0 ${ke()||Ie()||h()&&ce()?we()?"opacity-0":ie()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(bt,Pt)};D(Br,bt=>{T()&&bt(Qn)})}w(Yr);var Pa=m(Yr,2);{var Ba=bt=>{var Pt=bk(),pr=I(Pt);{var xr=fr=>{{let sr=u(()=>P()?"text-primary-ink":"text-muted-foreground"),gr=u(()=>P()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),hr=u(()=>P()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());yt(fr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
263
+ ${Ie()?we()?"opacity-0":ie()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ae(Pr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Le)},[()=>v.layout_activeCard_pinned_header()]),d(bt,Pt)};D(kr,bt=>{P()&&bt(Or)})}w(dn);var un=m(dn,2);{var la=bt=>{var Pt=pk(),pr=R(Pt,!0);k(()=>x(pr,U())),d(bt,Pt)};D(un,bt=>{U()&&bt(la)})}var Xr=m(un,2);{var Zr=bt=>{const Pt=u(()=>e(ct));var pr=vk(),xr=I(pr);{let Pr=u(()=>De(e(Pt)));Go(xr,{get content(){return e(Pr)},side:"bottom",sideOffset:4,children:(j,Le)=>{var ut=kt(),$t=qe(ut);{var fr=gr=>{{let hr=u(()=>De(e(Pt)));yt(gr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Pt).foregroundClass??""}`},get"aria-label"(){return e(hr)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Pt).identity},get"data-pr-status"(){return e(Pt).status},onclick:sn=>{sn.stopPropagation();const Vn=f().id;mp(async()=>{const{handleLink:Wr}=await import("./5BpiFfqe.js").then(Tr=>Tr.H);return{handleLink:Wr}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65]),import.meta.url).then(({handleLink:Wr})=>Wr(e(Pt).url,{workspaceId:Vn,event:sn}))},children:(sn,Vn)=>{At(sn,{get icon(){return e(Pt).statusIcon},size:14})},$$slots:{default:!0}})}},sr=gr=>{var hr=gk(),sn=I(hr);At(sn,{get icon(){return e(Pt).statusIcon},size:14}),w(hr),k(Vn=>{pt(hr,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Pt).foregroundClass??""}`,"svelte-1ct56pd"),ae(hr,"aria-label",Vn),ae(hr,"data-pr-identity",e(Pt).identity),ae(hr,"data-pr-status",e(Pt).status)},[()=>De(e(Pt))]),d(gr,hr)};D($t,gr=>{e(Pt).url?gr(fr):gr(sr,-1)})}d(j,ut)},$$slots:{default:!0}})}w(pr),k(Pr=>ae(pr,"aria-label",Pr),[()=>e(Pt).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(bt,pr)};D(Xr,bt=>{e(ct)&&bt(Zr)})}var Br=m(Xr,2);{var Qn=bt=>{var Pt=mk(),pr=I(Pt);{var xr=j=>{{let Le=u(()=>Tl(f()));eg(j,{get date(){return e(Le)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Pr=u(()=>Tl(f())>0);D(pr,j=>{e(Pr)&&j(xr)})}w(Pt),k(()=>pt(Pt,1,`wc-secondary shrink-0 ${ke()||Ie()||h()&&ce()?we()?"opacity-0":ie()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(bt,Pt)};D(Br,bt=>{T()&&bt(Qn)})}w(Yr);var Pa=m(Yr,2);{var Ba=bt=>{var Pt=bk(),pr=I(Pt);{var xr=fr=>{{let sr=u(()=>P()?"text-primary-ink":"text-muted-foreground"),gr=u(()=>P()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),hr=u(()=>P()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());yt(fr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
264
264
  ${e(sr)??""}`},onclick:sn=>{sn.stopPropagation(),Ie()?.(sn)},get"aria-label"(){return e(gr)},get title(){return e(hr)},children:(sn,Vn)=>{var Wr=hk(),Tr=I(Wr);At(Tr,{get icon(){return Sl},size:"xs"}),w(Wr),d(sn,Wr)},$$slots:{default:!0}})}};D(pr,fr=>{Ie()&&fr(xr)})}var Pr=m(pr,2);{var j=fr=>{{let sr=u(()=>v.workspace_card_markAsRead_label()),gr=u(()=>v.workspace_card_markAsRead_label());yt(fr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:hr=>{hr.stopPropagation(),ce()?.(hr)},get"aria-label"(){return e(sr)},get title(){return e(gr)},children:(hr,sn)=>{At(hr,{get icon(){return vd},size:"xs"})},$$slots:{default:!0}})}};D(Pr,fr=>{h()&&ce()&&fr(j)})}var Le=m(Pr,2);ln(Le,()=>ke()??Ks);var ut=m(Le,2);{var $t=fr=>{{let sr=u(vt),gr=u(()=>v.workspace_progressCard_actions_ariaLabel());Ui(fr,{get items(){return e(sr)},get ariaLabel(){return e(gr)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(ft)},set open(hr){M(ft,hr,!0)}})}};D(ut,fr=>{oe()&&fr($t)})}w(Pt),mr(Pt,fr=>M(He,fr),()=>e(He)),k(()=>pt(Pt,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
265
265
  ${Ne()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
266
266
  ${we()?"opacity-100":ie()?"opacity-0":Ne()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),d(bt,Pt)};D(Pa,bt=>{(ke()||oe()||Ie()||h()&&ce())&&bt(Ba)})}w(Dt),mr(Dt,bt=>M(Ce,bt),()=>e(Ce)),Fn(Dt,(bt,Pt)=>Ds?.(bt,Pt),()=>({id:fe()}));var Qr=m(Dt,2);{var $r=bt=>{Uh(bt,{get id(){return e(W)},get anchor(){return`--workspace-list-${f().id??""}`},position:"right",get anchorElement(){return e(Ce)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:Jt,onmouseleave:xt,onfocusin:Vt,onfocusout:Kt,children:(Pt,pr)=>{var xr=yk(),Pr=I(xr);qh(Pr,{get workspace(){return f()},get activeAgentIds(){return B()},onkeydown:Ge}),w(xr),mr(xr,j=>M(rt,j),()=>e(rt)),En("pointerenter",xr,Jt),En("pointerleave",xr,xt),Lr("focusin",xr,Vt),Lr("focusout",xr,Kt),d(Pt,xr)},$$slots:{default:!0}})};D(Qr,bt=>{e(se)&&!ie()&&bt($r)})}var Rn=m(Qr,2);{var $n=bt=>{const Pt=u(vt);var pr=kt(),xr=qe(pr);{var Pr=j=>{{let Le=u(()=>e(et)?.x??0),ut=u(()=>e(et)?.y??0),$t=u(()=>e(et)?.returnFocus),fr=u(()=>v.workspace_progressCard_actions_ariaLabel());od(j,{get x(){return e(Le)},get y(){return e(ut)},get returnFocus(){return e($t)},get ariaLabel(){return e(fr)},get items(){return e(Pt)},onClickOutside:_t})}};D(xr,j=>{e(Pt).length>0&&j(Pr)})}d(bt,pr)};D(Rn,bt=>{e(et)&&bt($n)})}k((bt,Pt,pr)=>{pt(Dt,1,bt,"svelte-1ct56pd"),ae(Dt,"data-pinned",P()),ae(Dt,"data-highlight-id",fe()),ur=Pn(Dt,"",ur,{"anchor-name":`--workspace-list-${f().id??""}`}),ae(Tn,"id",`workspace-status-state-${f().id??""}`),x(Zn,e(V).accessibleName),pt(Zt,1,`wc-title type-body min-w-0 truncate font-normal!