@intent-hq/web 2.341.0 → 2.341.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{BiP7wFsB.js → 0WuPrU1r.js} +1 -1
  3. package/web/app/immutable/chunks/{DSkKv5i2.js → 0wIIYnxr.js} +1 -1
  4. package/web/app/immutable/chunks/{CZ7yTKvn.js → 1-j6WuPc.js} +1 -1
  5. package/web/app/immutable/chunks/{D2wag_uO.js → 5y55aTrU.js} +1 -1
  6. package/web/app/immutable/chunks/{RZy4VX2U.js → 8FNKiReg.js} +1 -1
  7. package/web/app/immutable/chunks/{DmNarcsd.js → 9IpLdHiv.js} +1 -1
  8. package/web/app/immutable/chunks/{C9mjDlef.js → A8KQJd5d.js} +2 -2
  9. package/web/app/immutable/chunks/{DInsAeNj.js → B-t0Hiim.js} +1 -1
  10. package/web/app/immutable/chunks/{AzqbnooH.js → B03kA1R2.js} +1 -1
  11. package/web/app/immutable/chunks/{2U1v2qEW.js → B1Fu6T0M.js} +2 -2
  12. package/web/app/immutable/chunks/{DhyQeH7P.js → B2Km94Qz.js} +1 -1
  13. package/web/app/immutable/chunks/{BtECYF1f.js → B5NMwDr1.js} +1 -1
  14. package/web/app/immutable/chunks/{CExifLMk.js → B5sVEway.js} +3 -3
  15. package/web/app/immutable/chunks/{PxjAXQKV.js → B6qmQARR.js} +1 -1
  16. package/web/app/immutable/chunks/{DTMMC1G_.js → B8mTuhzO.js} +1 -1
  17. package/web/app/immutable/chunks/{BwvwoNDW.js → B9R98FZz.js} +1 -1
  18. package/web/app/immutable/chunks/{B2i_xrxF.js → BB_HEKX3.js} +1 -1
  19. package/web/app/immutable/chunks/{CWdIMf0l.js → BGjYxu3b.js} +1 -1
  20. package/web/app/immutable/chunks/{DOIlVcBn.js → BIPVAS3s.js} +1 -1
  21. package/web/app/immutable/chunks/{VlZhFoER.js → BJwhTMNH.js} +1 -1
  22. package/web/app/immutable/chunks/{DmeXrIwx.js → BOp-xgUY.js} +1 -1
  23. package/web/app/immutable/chunks/{DTNXf9Yc.js → BRlTfYVq.js} +1 -1
  24. package/web/app/immutable/chunks/{CoLoYmJv.js → BVWcbZYZ.js} +1 -1
  25. package/web/app/immutable/chunks/{h1XBLlOi.js → BVo9Fayv.js} +1 -1
  26. package/web/app/immutable/chunks/{CMM1ZrfY.js → BWkUdpvz.js} +4 -4
  27. package/web/app/immutable/chunks/{DrqXkWxB.js → BWqChnH3.js} +2 -2
  28. package/web/app/immutable/chunks/{BbHLxGun.js → BY4GwAft.js} +1 -1
  29. package/web/app/immutable/chunks/{Dab16kJh.js → BZ3ZUgHl.js} +1 -1
  30. package/web/app/immutable/chunks/{Fu1xi6h2.js → B_wqGXO8.js} +1 -1
  31. package/web/app/immutable/chunks/{Dx4NqrSx.js → BcbwK1ES.js} +1 -1
  32. package/web/app/immutable/chunks/{D9XN6kNB.js → BeqvtwUo.js} +1 -1
  33. package/web/app/immutable/chunks/{DEmR30yZ.js → Bf0Zh6Mw.js} +1 -1
  34. package/web/app/immutable/chunks/{Blhg8W-c.js → BfpUcUyv.js} +1 -1
  35. package/web/app/immutable/chunks/{CGSIz73l.js → BgS9mR9A.js} +1 -1
  36. package/web/app/immutable/chunks/{DSj2JchS.js → BgrWRL30.js} +1 -1
  37. package/web/app/immutable/chunks/{CGvdzG_n.js → BhaAu9oc.js} +1 -1
  38. package/web/app/immutable/chunks/{B6op3AyJ.js → Bi3gb3vy.js} +12 -12
  39. package/web/app/immutable/chunks/{BZE4h5Bh.js → BipW4sR9.js} +1 -1
  40. package/web/app/immutable/chunks/{bRpgnkIo.js → BjtbuSfg.js} +1 -1
  41. package/web/app/immutable/chunks/{GAhfF1vS.js → Bjxr6-oA.js} +1 -1
  42. package/web/app/immutable/chunks/{BvKQqb_Q.js → BkZ_IlDM.js} +3 -3
  43. package/web/app/immutable/chunks/{BOUL5Kic.js → Bn7L4PAr.js} +1 -1
  44. package/web/app/immutable/chunks/{Dk8JT8Jy.js → BnlWUiku.js} +2 -2
  45. package/web/app/immutable/chunks/{B_MvUAqb.js → BrtFGrrQ.js} +1 -1
  46. package/web/app/immutable/chunks/{DywbWgYO.js → Buh_qAzZ.js} +1 -1
  47. package/web/app/immutable/chunks/{D_WoO4Rm.js → BvAoeVAO.js} +1 -1
  48. package/web/app/immutable/chunks/{C1lYmghX.js → BvZxg4g7.js} +1 -1
  49. package/web/app/immutable/chunks/{DuU3KoIW.js → BwUyq-_g.js} +1 -1
  50. package/web/app/immutable/chunks/{Cxi3Kt0G.js → BxygHVc0.js} +1 -1
  51. package/web/app/immutable/chunks/{Dir8NcJS.js → C-rIyhbi.js} +1 -1
  52. package/web/app/immutable/chunks/{CSWBjCYN.js → C2qzWhM3.js} +1 -1
  53. package/web/app/immutable/chunks/{CZpBm3NF.js → C4igGWED.js} +1 -1
  54. package/web/app/immutable/chunks/{DHTaMPK_.js → C56SKTiE.js} +2 -2
  55. package/web/app/immutable/chunks/{rFK50Yj-.js → C6CAte5a.js} +1 -1
  56. package/web/app/immutable/chunks/{CnX0pcIJ.js → C96eSOju.js} +4 -4
  57. package/web/app/immutable/chunks/{CMylVes7.js → C9kFd-ow.js} +2 -2
  58. package/web/app/immutable/chunks/{v4gcetdO.js → CDmGTSwM.js} +1 -1
  59. package/web/app/immutable/chunks/{BkINPLZj.js → CIo5jCu0.js} +1 -1
  60. package/web/app/immutable/chunks/{DSkEMwKh.js → CL51sD2J.js} +1 -1
  61. package/web/app/immutable/chunks/{DEp1R4CE.js → CL6Jm56o.js} +1 -1
  62. package/web/app/immutable/chunks/{DjkrDdSp.js → CTd6owPM.js} +1 -1
  63. package/web/app/immutable/chunks/{Bo7r85cx.js → CY_U0FqG.js} +1 -1
  64. package/web/app/immutable/chunks/{CiQV2VnE.js → CaEO1WOw.js} +1 -1
  65. package/web/app/immutable/chunks/{CQtSIVkR.js → CbIjL5rO.js} +1 -1
  66. package/web/app/immutable/chunks/{DQqvWe6L.js → CdEZnV89.js} +1 -1
  67. package/web/app/immutable/chunks/{DL95eH2u.js → CifnfNKw.js} +1 -1
  68. package/web/app/immutable/chunks/{B9A7kAGY.js → Cih9Zs2a.js} +1 -1
  69. package/web/app/immutable/chunks/{CXaxSh_a.js → CjMZRWVT.js} +2 -2
  70. package/web/app/immutable/chunks/{DoGPwTVt.js → CkgZ-o6m.js} +3 -3
  71. package/web/app/immutable/chunks/{8CxqwqxH.js → Cln842Nh.js} +1 -1
  72. package/web/app/immutable/chunks/{B_Hr3Fpc.js → Cr9jYHoz.js} +1 -1
  73. package/web/app/immutable/chunks/{DntZfq0i.js → CrLZNk77.js} +1 -1
  74. package/web/app/immutable/chunks/{De0gMClf.js → CriDtN0a.js} +1 -1
  75. package/web/app/immutable/chunks/{DVv34vWU.js → Ctqq_Hm-.js} +1 -1
  76. package/web/app/immutable/chunks/{CYGAcdPv.js → D-wkRpKs.js} +1 -1
  77. package/web/app/immutable/chunks/{CPY9XqbH.js → D1jOGOLo.js} +1 -1
  78. package/web/app/immutable/chunks/{CHFvhBeQ.js → D34VXx0H.js} +1 -1
  79. package/web/app/immutable/chunks/{DPsFEZIE.js → D70Wuc8a.js} +1 -1
  80. package/web/app/immutable/chunks/{DkviM6d-.js → D7RDU4oX.js} +1 -1
  81. package/web/app/immutable/chunks/{BOJSRDQO.js → D8ulYjLF.js} +1 -1
  82. package/web/app/immutable/chunks/{Nefbr1xC.js → D9XMFsak.js} +1 -1
  83. package/web/app/immutable/chunks/{CFuRnERT.js → DACVGRAe.js} +2 -2
  84. package/web/app/immutable/chunks/{BZvHO2PQ.js → DAvxjdg4.js} +1 -1
  85. package/web/app/immutable/chunks/{BPO0UhN1.js → DEJKGaFk.js} +1 -1
  86. package/web/app/immutable/chunks/{BmXGlivf.js → DFYnEvjJ.js} +1 -1
  87. package/web/app/immutable/chunks/{Bn3EET4q.js → DGm9BQVB.js} +4 -4
  88. package/web/app/immutable/chunks/{BtG_8-Xp.js → DLAO6H8J.js} +1 -1
  89. package/web/app/immutable/chunks/{riC7FYKO.js → DLBq5-aC.js} +1 -1
  90. package/web/app/immutable/chunks/{DzwxV3Te.js → DLItSYgF.js} +1 -1
  91. package/web/app/immutable/chunks/{CKNgzjav.js → DMfRTAkK.js} +1 -1
  92. package/web/app/immutable/chunks/{BnWaTrPT.js → DP2mFyqQ.js} +1 -1
  93. package/web/app/immutable/chunks/{C0RfdrGw.js → DRK9fuuL.js} +1 -1
  94. package/web/app/immutable/chunks/{BWS4vNAt.js → DSDDKy6s.js} +1 -1
  95. package/web/app/immutable/chunks/{B5pYZwLX.js → DUATm_LT.js} +1 -1
  96. package/web/app/immutable/chunks/{B3-2HhLv.js → DWYjcnCC.js} +1 -1
  97. package/web/app/immutable/chunks/{Cnp0KG-r.js → DhvbLTQy.js} +1 -1
  98. package/web/app/immutable/chunks/{DQ_h56Yh.js → DiaGgCHr.js} +1 -1
  99. package/web/app/immutable/chunks/{W2r0RyRf.js → DmfDK5sO.js} +1 -1
  100. package/web/app/immutable/chunks/{BVQlFn8A.js → DqP8lgeh.js} +1 -1
  101. package/web/app/immutable/chunks/{jsEsPgYC.js → DrpsA4Ly.js} +2 -2
  102. package/web/app/immutable/chunks/{B2axNH89.js → Ds-0wg5K.js} +1 -1
  103. package/web/app/immutable/chunks/{DVUshq85.js → DtZ0s0DW.js} +1 -1
  104. package/web/app/immutable/chunks/{oGl1L6kU.js → DtgKDhuM.js} +1 -1
  105. package/web/app/immutable/chunks/{ARQG1ZDH.js → Dul4sOUW.js} +1 -1
  106. package/web/app/immutable/chunks/{1LNFkoFp.js → Dw2h3dcZ.js} +1 -1
  107. package/web/app/immutable/chunks/{CFk7afhl.js → DzHDJT7q.js} +1 -1
  108. package/web/app/immutable/chunks/{AMW3-qFU.js → FODk8jOy.js} +1 -1
  109. package/web/app/immutable/chunks/{RPUoaoYE.js → H2_zVpjq.js} +1 -1
  110. package/web/app/immutable/chunks/{C6XTy-GK.js → IZ0jBMf8.js} +3 -3
  111. package/web/app/immutable/chunks/{BRUFZQ5S.js → Iv7jZvFC.js} +1 -1
  112. package/web/app/immutable/chunks/{Kd4H8Ec-.js → MDtuP-Z1.js} +1 -1
  113. package/web/app/immutable/chunks/{JD5ziTsZ.js → Q7iXJPU-.js} +1 -1
  114. package/web/app/immutable/chunks/{B-kKzVKC.js → alm18JsE.js} +3 -3
  115. package/web/app/immutable/chunks/{BFhSs3cb.js → eq3yiGc9.js} +4 -4
  116. package/web/app/immutable/chunks/{lO1-kAVN.js → fqryZMo8.js} +1 -1
  117. package/web/app/immutable/chunks/{BnNrctBd.js → j3Ayt40n.js} +1 -1
  118. package/web/app/immutable/chunks/{CF9oOo_R.js → jRKGXRXm.js} +1 -1
  119. package/web/app/immutable/chunks/{Bn1Bdqei.js → jsqrFryE.js} +1 -1
  120. package/web/app/immutable/chunks/{Cv_Dn9gK.js → kLefAR3d.js} +1 -1
  121. package/web/app/immutable/chunks/{D2szLKQQ.js → kYL_f4ep.js} +1 -1
  122. package/web/app/immutable/chunks/{BzdInd00.js → niGffMj9.js} +1 -1
  123. package/web/app/immutable/chunks/{CSBlgLNl.js → qReongxq.js} +1 -1
  124. package/web/app/immutable/chunks/{7bGTbbtF.js → urUnkHMR.js} +1 -1
  125. package/web/app/immutable/entry/{app.CGoFwV-B.js → app.soTIQVal.js} +2 -2
  126. package/web/app/immutable/entry/start.BP3fu5vG.js +1 -0
  127. package/web/app/immutable/nodes/{0.BAsSODC8.js → 0.r0ulDrwu.js} +1 -1
  128. package/web/app/immutable/nodes/{1.CMQNH6-D.js → 1.A8v1n0qj.js} +1 -1
  129. package/web/app/immutable/nodes/{10.Dw-pBj7h.js → 10.yOzUfegC.js} +1 -1
  130. package/web/app/immutable/nodes/{14.Ca2_T1ZE.js → 14.3B0XUkw_.js} +1 -1
  131. package/web/app/immutable/nodes/{17.D9XdSYB3.js → 17.DxRLAlw9.js} +2 -2
  132. package/web/app/immutable/nodes/{2.CS9tk-UC.js → 2.Be1Ga7Wd.js} +4 -4
  133. package/web/app/immutable/nodes/{3.D0LnLy48.js → 3.C16OjbRR.js} +1 -1
  134. package/web/app/immutable/nodes/{4.CqddHbDW.js → 4.DBcE2UNc.js} +1 -1
  135. package/web/app/immutable/nodes/{5.Bh8P0wya.js → 5.CJRPdyCh.js} +1 -1
  136. package/web/app/immutable/nodes/{6.Bchq8rPt.js → 6.BSMzZH-3.js} +1 -1
  137. package/web/app/immutable/nodes/{7.DNOsYSe0.js → 7.AlZl2_PU.js} +1 -1
  138. package/web/app/immutable/nodes/{8.NyokFEWI.js → 8.WS_XHrBt.js} +4 -4
  139. package/web/app/immutable/nodes/{9.B8Ee5aMV.js → 9.B3dVA_xP.js} +4 -4
  140. package/web/app/version.json +1 -1
  141. package/web/index.html +9 -9
  142. package/web/app/immutable/entry/start.Cn57Rm7-.js +0 -1
@@ -1 +1 @@
1
- import{g as l,r as m,d as n}from"./BVQlFn8A.js";import{p}from"./DhyQeH7P.js";import{b as t,ay as o}from"./BFhSs3cb.js";import{M as u,a as f}from"./ltO9jYXn.js";var c=f().RailroadEbnf.parser.LangiumParser,s=t(e=>{const r=e.alternatives.map(E);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),E=t(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),i=t(e=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return s(e.element);case"EbnfOptional":return{type:"optional",element:s(e.element)};case"EbnfRepetition":return{type:"repetition",element:s(e.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),b=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},i(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),y=t(e=>e.postfixes.reduce((r,a)=>b(r,a),i(e.base)),"transformTerm"),d=t(e=>({name:e.name,definition:s(e.definition)}),"transformRule"),v=t(e=>{p(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(d(r)))},"populateDb"),g={parse:t(e=>{n.clear(),o.debug("[EBNF Parser] Starting Langium parse");const r=c.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const a=r.value;o.debug("[EBNF Parser] Parsed rules:",a.rules.length),v(a),o.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:n}},N={parser:g,db:n,renderer:m,styles:l};export{N as diagram};
1
+ import{g as l,r as m,d as n}from"./DqP8lgeh.js";import{p}from"./B2Km94Qz.js";import{b as t,ay as o}from"./eq3yiGc9.js";import{M as u,a as f}from"./ltO9jYXn.js";var c=f().RailroadEbnf.parser.LangiumParser,s=t(e=>{const r=e.alternatives.map(E);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),E=t(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),i=t(e=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return s(e.element);case"EbnfOptional":return{type:"optional",element:s(e.element)};case"EbnfRepetition":return{type:"repetition",element:s(e.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),b=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},i(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),y=t(e=>e.postfixes.reduce((r,a)=>b(r,a),i(e.base)),"transformTerm"),d=t(e=>({name:e.name,definition:s(e.definition)}),"transformRule"),v=t(e=>{p(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(d(r)))},"populateDb"),g={parse:t(e=>{n.clear(),o.debug("[EBNF Parser] Starting Langium parse");const r=c.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const a=r.value;o.debug("[EBNF Parser] Parsed rules:",a.rules.length),v(a),o.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:n}},N={parser:g,db:n,renderer:m,styles:l};export{N as diagram};
@@ -1 +1 @@
1
- import{t as le,br as u,a_ as D,bz as ce,b as ve}from"./O1QHAURn.js";import{bs as de,ca as fe,aD as e,a5 as H,bS as ue,bA as L,bH as K,b_ as S,W as T,bn as ge,bV as P,c9 as x,aA as g,a7 as me,ay as he,bl as pe,bO as be,aB as z}from"./DYhIMPy1.js";import{v as X,u as c,n as _e,w as R}from"./CAyg2ijY.js";import{s as ke}from"./BBDxUL80.js";import{b as we}from"./BaIAhI85.js";import{t as j}from"./BkT9o_nd.js";import{A as xe}from"./Bn3EET4q.js";import{s as We}from"./Dk8JT8Jy.js";function Ie(W){const{itemCount:a,maxVisible:v,availableWidth:r,surface:s,overlap:b,overflowOverlap:d}=W;if(r<=0)return 0;const _=s-b,m=Math.min(a,Math.max(0,v)),y=i=>i===0?0:s+(i-1)*_;if(a<=m&&y(a)<=r)return a;for(let i=m;i>=0;i-=1){const A=a-i;if(y(i)+(A>0?W.measureOverflowText(A)-(i>0?d:0):0)<=r)return i}return 0}function ye(W,a=r=>requestAnimationFrame(r),v=r=>cancelAnimationFrame(r)){let r,s;return{set(b){if(r=b,s!==void 0)return;let d=!1;const _=a(()=>{d=!0,s=void 0;const m=r;r=void 0,W(m)});d||(s=_)},cancel(){s!==void 0&&(v(s),s=void 0),r=void 0}}}const Ae=20,Ce=12;let O,J;const Q=new Map;var Te=z('<span data-agent-avatar-stack-item=""><!></span>'),Oe=z('<span class="agent-avatar-stack-track svelte-1nk9fhe"></span>'),Ve=z('<span class="agent-avatar-stack-overflow svelte-1nk9fhe" data-agent-avatar-overflow=""> </span>'),Me=z('<span data-agent-avatar-stack="" data-agent-avatar-stack-overlap="later-on-top"><!> <!></span>');function Se(W,a){if(new.target)return le({component:Se,...W});de(a,!0);let v=u(a,"items",7),r=u(a,"maxVisible",7,3),s=u(a,"adaptive",7,!1),b=u(a,"align",7,"end"),d=u(a,"variant",7,"card-stack"),_=u(a,"interactive",7,!1),m=u(a,"overflowId",7),y=u(a,"overflowTestId",7),i=u(a,"itemContent",7),A=u(a,"class",7,""),I=P(void 0),F=P(void 0);const h=x(()=>We[d()]),U=x(()=>s()&&e(F)!==void 0?Ie({itemCount:v().length,maxVisible:r(),availableWidth:e(F),surface:e(h).surface,overlap:e(h).overlap,overflowOverlap:e(h).overlap,measureOverflowText:t=>Math.max(e(h).surface,$(t)+Ce)}):void 0),Y=x(()=>Math.min(v().length,Math.max(0,s()?e(U)??r():r()))),k=x(()=>v().slice(0,e(Y))),E=x(()=>Math.max(0,v().length-e(k).length)),N=x(()=>e(h).surface-e(h).overlap),Z=x(()=>e(k).length===0?0:e(h).surface+(e(k).length-1)*e(N));function $(t){const n=`+${j(t)}`,o=Q.get(n);if(o!==void 0)return o;if(O===void 0&&(O=document.createElement("canvas").getContext("2d")),!O||!e(I))return Ae;J??=`500 12px ${getComputedStyle(e(I)).fontFamily}`,O.font=J;const l=O.measureText(n).width;return Q.set(n,l),l}fe(()=>{if(!s()||!e(I)||typeof ResizeObserver>"u")return;const t=ye(o=>{K(F,o,!0)}),n=new ResizeObserver(o=>{const l=o[o.length-1];t.set(l.borderBoxSize?.[0]?.inlineSize??l.contentRect.width)});return n.observe(e(I)),()=>{n.disconnect(),t.cancel()}});var ee={get items(){return v()},set items(t){v(t),g()},get maxVisible(){return r()},set maxVisible(t=3){r(t),g()},get adaptive(){return s()},set adaptive(t=!1){s(t),g()},get align(){return b()},set align(t="end"){b(t),g()},get variant(){return d()},set variant(t="card-stack"){d(t),g()},get interactive(){return _()},set interactive(t=!1){_(t),g()},get overflowId(){return m()},set overflowId(t){m(t),g()},get overflowTestId(){return y()},set overflowTestId(t){y(t),g()},get itemContent(){return i()},set itemContent(t){i(t),g()},get class(){return A()},set class(t=""){A(t),g()},$set:ce,$on:(t,n)=>ve(a,t,n)},p=Me();let q;var B=H(p);{var te=t=>{var n=Oe();let o;_e(n,23,()=>e(k),l=>l.key,(l,w,V)=>{var f=Te();let G;var re=H(f);{var se=C=>{var M=me(),oe=he(M);ke(oe,i,()=>e(w)),T(C,M)},ie=C=>{{let M=x(()=>e(w).state??"idle");xe(C,{get agentId(){return e(w).agentId},get specialist(){return e(w).specialist},get icon(){return e(w).icon},get state(){return e(M)},get variant(){return d()},class:"agent-avatar-stack-surface"})}};D(re,C=>{i()?C(se):C(ie,-1)})}L(f),S(()=>{G=X(f,1,"agent-avatar-stack-item svelte-1nk9fhe",null,G,{"agent-avatar-stack-item--before-overflow":e(E)>0&&e(V)===e(k).length-1}),R(f,`inset-inline-start: ${e(V)*e(N)}px; z-index: ${e(V)+1};`),c(f,"data-agent-avatar-stack-index",e(V)),c(f,"data-agent-avatar-stack-key",e(w).key),c(f,"data-agent-avatar-stack-agent-id",e(w).agentId),c(f,"data-agent-avatar-stack-specialist",e(w).specialist??void 0),c(f,"aria-hidden",_()?void 0:"true")}),T(l,f)}),L(n),S(()=>o=R(n,"",o,{width:`${e(Z)}px`})),T(t,n)};D(B,t=>{e(k).length>0&&t(te)})}var ae=ue(B,2);{var ne=t=>{var n=Ve(),o=pe(n);S(l=>{c(n,"id",m()),R(n,`margin-inline-start: ${e(k).length>0?-e(h).overlap:0}px; z-index: ${e(k).length+1};`),c(n,"data-testid",y()),be(o,`+${l??""}`)},[()=>j(e(E))]),T(t,n)};D(ae,t=>{e(E)>0&&t(ne)})}return L(p),we(p,t=>K(I,t),()=>e(I)),S(()=>{q=X(p,1,`agent-avatar-stack ${A()??""}`,"svelte-1nk9fhe",q,{"agent-avatar-stack--adaptive":s(),"agent-avatar-stack--start":b()==="start"}),c(p,"data-agent-avatar-stack-align",b()),c(p,"data-avatar-variant",d()),c(p,"data-agent-avatar-stack-clear-space",e(h).ring),c(p,"aria-hidden",!_()&&!m()?"true":void 0)}),T(W,p),ge(ee)}export{Se as A};
1
+ import{t as le,br as u,a_ as D,bz as ce,b as ve}from"./O1QHAURn.js";import{bs as de,ca as fe,aD as e,a5 as H,bS as ue,bA as L,bH as K,b_ as S,W as T,bn as ge,bV as P,c9 as x,aA as g,a7 as me,ay as he,bl as pe,bO as be,aB as z}from"./DYhIMPy1.js";import{v as X,u as c,n as _e,w as R}from"./CAyg2ijY.js";import{s as ke}from"./BBDxUL80.js";import{b as we}from"./BaIAhI85.js";import{t as j}from"./BkT9o_nd.js";import{A as xe}from"./DGm9BQVB.js";import{s as We}from"./BnlWUiku.js";function Ie(W){const{itemCount:a,maxVisible:v,availableWidth:r,surface:s,overlap:b,overflowOverlap:d}=W;if(r<=0)return 0;const _=s-b,m=Math.min(a,Math.max(0,v)),y=i=>i===0?0:s+(i-1)*_;if(a<=m&&y(a)<=r)return a;for(let i=m;i>=0;i-=1){const A=a-i;if(y(i)+(A>0?W.measureOverflowText(A)-(i>0?d:0):0)<=r)return i}return 0}function ye(W,a=r=>requestAnimationFrame(r),v=r=>cancelAnimationFrame(r)){let r,s;return{set(b){if(r=b,s!==void 0)return;let d=!1;const _=a(()=>{d=!0,s=void 0;const m=r;r=void 0,W(m)});d||(s=_)},cancel(){s!==void 0&&(v(s),s=void 0),r=void 0}}}const Ae=20,Ce=12;let O,J;const Q=new Map;var Te=z('<span data-agent-avatar-stack-item=""><!></span>'),Oe=z('<span class="agent-avatar-stack-track svelte-1nk9fhe"></span>'),Ve=z('<span class="agent-avatar-stack-overflow svelte-1nk9fhe" data-agent-avatar-overflow=""> </span>'),Me=z('<span data-agent-avatar-stack="" data-agent-avatar-stack-overlap="later-on-top"><!> <!></span>');function Se(W,a){if(new.target)return le({component:Se,...W});de(a,!0);let v=u(a,"items",7),r=u(a,"maxVisible",7,3),s=u(a,"adaptive",7,!1),b=u(a,"align",7,"end"),d=u(a,"variant",7,"card-stack"),_=u(a,"interactive",7,!1),m=u(a,"overflowId",7),y=u(a,"overflowTestId",7),i=u(a,"itemContent",7),A=u(a,"class",7,""),I=P(void 0),F=P(void 0);const h=x(()=>We[d()]),U=x(()=>s()&&e(F)!==void 0?Ie({itemCount:v().length,maxVisible:r(),availableWidth:e(F),surface:e(h).surface,overlap:e(h).overlap,overflowOverlap:e(h).overlap,measureOverflowText:t=>Math.max(e(h).surface,$(t)+Ce)}):void 0),Y=x(()=>Math.min(v().length,Math.max(0,s()?e(U)??r():r()))),k=x(()=>v().slice(0,e(Y))),E=x(()=>Math.max(0,v().length-e(k).length)),N=x(()=>e(h).surface-e(h).overlap),Z=x(()=>e(k).length===0?0:e(h).surface+(e(k).length-1)*e(N));function $(t){const n=`+${j(t)}`,o=Q.get(n);if(o!==void 0)return o;if(O===void 0&&(O=document.createElement("canvas").getContext("2d")),!O||!e(I))return Ae;J??=`500 12px ${getComputedStyle(e(I)).fontFamily}`,O.font=J;const l=O.measureText(n).width;return Q.set(n,l),l}fe(()=>{if(!s()||!e(I)||typeof ResizeObserver>"u")return;const t=ye(o=>{K(F,o,!0)}),n=new ResizeObserver(o=>{const l=o[o.length-1];t.set(l.borderBoxSize?.[0]?.inlineSize??l.contentRect.width)});return n.observe(e(I)),()=>{n.disconnect(),t.cancel()}});var ee={get items(){return v()},set items(t){v(t),g()},get maxVisible(){return r()},set maxVisible(t=3){r(t),g()},get adaptive(){return s()},set adaptive(t=!1){s(t),g()},get align(){return b()},set align(t="end"){b(t),g()},get variant(){return d()},set variant(t="card-stack"){d(t),g()},get interactive(){return _()},set interactive(t=!1){_(t),g()},get overflowId(){return m()},set overflowId(t){m(t),g()},get overflowTestId(){return y()},set overflowTestId(t){y(t),g()},get itemContent(){return i()},set itemContent(t){i(t),g()},get class(){return A()},set class(t=""){A(t),g()},$set:ce,$on:(t,n)=>ve(a,t,n)},p=Me();let q;var B=H(p);{var te=t=>{var n=Oe();let o;_e(n,23,()=>e(k),l=>l.key,(l,w,V)=>{var f=Te();let G;var re=H(f);{var se=C=>{var M=me(),oe=he(M);ke(oe,i,()=>e(w)),T(C,M)},ie=C=>{{let M=x(()=>e(w).state??"idle");xe(C,{get agentId(){return e(w).agentId},get specialist(){return e(w).specialist},get icon(){return e(w).icon},get state(){return e(M)},get variant(){return d()},class:"agent-avatar-stack-surface"})}};D(re,C=>{i()?C(se):C(ie,-1)})}L(f),S(()=>{G=X(f,1,"agent-avatar-stack-item svelte-1nk9fhe",null,G,{"agent-avatar-stack-item--before-overflow":e(E)>0&&e(V)===e(k).length-1}),R(f,`inset-inline-start: ${e(V)*e(N)}px; z-index: ${e(V)+1};`),c(f,"data-agent-avatar-stack-index",e(V)),c(f,"data-agent-avatar-stack-key",e(w).key),c(f,"data-agent-avatar-stack-agent-id",e(w).agentId),c(f,"data-agent-avatar-stack-specialist",e(w).specialist??void 0),c(f,"aria-hidden",_()?void 0:"true")}),T(l,f)}),L(n),S(()=>o=R(n,"",o,{width:`${e(Z)}px`})),T(t,n)};D(B,t=>{e(k).length>0&&t(te)})}var ae=ue(B,2);{var ne=t=>{var n=Ve(),o=pe(n);S(l=>{c(n,"id",m()),R(n,`margin-inline-start: ${e(k).length>0?-e(h).overlap:0}px; z-index: ${e(k).length+1};`),c(n,"data-testid",y()),be(o,`+${l??""}`)},[()=>j(e(E))]),T(t,n)};D(ae,t=>{e(E)>0&&t(ne)})}return L(p),we(p,t=>K(I,t),()=>e(I)),S(()=>{q=X(p,1,`agent-avatar-stack ${A()??""}`,"svelte-1nk9fhe",q,{"agent-avatar-stack--adaptive":s(),"agent-avatar-stack--start":b()==="start"}),c(p,"data-agent-avatar-stack-align",b()),c(p,"data-avatar-variant",d()),c(p,"data-agent-avatar-stack-clear-space",e(h).ring),c(p,"aria-hidden",!_()&&!m()?"true":void 0)}),T(W,p),ge(ee)}export{Se as A};
@@ -1,4 +1,4 @@
1
- import{g as fe}from"./BmXGlivf.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./BFhSs3cb.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
1
+ import{g as fe}from"./DFYnEvjJ.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./eq3yiGc9.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,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:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.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),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=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),r.length-1&&(this.yylineno-=r.length-1);var u=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`