paul-ai-assistant 1.0.7 → 1.0.8

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 (124) hide show
  1. package/dist/1.async.js +1 -1
  2. package/dist/1387.async.js +1 -1
  3. package/dist/1424.async.js +258 -0
  4. package/dist/1481.async.js +1 -1
  5. package/dist/1548.async.js +1 -1
  6. package/dist/1805.async.js +1150 -0
  7. package/dist/1815.async.js +2 -2
  8. package/dist/1819.async.js +1 -1
  9. package/dist/1851.async.js +1 -1
  10. package/dist/2369.async.js +263 -0
  11. package/dist/2491.async.js +2 -2
  12. package/dist/2678.async.js +1 -1
  13. package/dist/2856.async.js +1 -1
  14. package/dist/295.async.js +1 -1
  15. package/dist/3098.async.js +1 -1
  16. package/dist/3138.async.js +1 -1
  17. package/dist/34.async.js +6 -6
  18. package/dist/3472.async.js +1 -1
  19. package/dist/3614.async.js +1 -1
  20. package/dist/3959.async.js +1 -1
  21. package/dist/404.html +0 -1
  22. package/dist/4445.async.js +18 -0
  23. package/dist/4484.async.js +1 -1
  24. package/dist/4498.async.js +1 -1
  25. package/dist/4911.async.js +1 -1
  26. package/dist/4927.async.js +1 -1
  27. package/dist/5067.async.js +1 -1
  28. package/dist/5588.async.js +1 -1
  29. package/dist/5754.async.js +1 -1
  30. package/dist/6355.async.js +4 -4
  31. package/dist/6662.async.js +1 -1
  32. package/dist/6680.async.js +13 -13
  33. package/dist/6690.async.js +5 -5
  34. package/dist/6949.async.js +1 -0
  35. package/dist/7267.async.js +3 -3
  36. package/dist/7329.async.js +1 -1
  37. package/dist/7718.async.js +6 -6
  38. package/dist/7762.async.js +1 -1
  39. package/dist/7787.async.js +5 -5
  40. package/dist/7929.async.js +1 -1
  41. package/dist/804.async.js +1 -0
  42. package/dist/8164.async.js +1 -1
  43. package/dist/834.async.js +1 -1
  44. package/dist/8456.async.js +1 -1
  45. package/dist/8542.async.js +1 -1
  46. package/dist/8749.async.js +1 -1
  47. package/dist/8914.async.js +10 -10
  48. package/dist/9570.async.js +1 -1
  49. package/dist/components/llm-trace-v2/index.html +0 -1
  50. package/dist/components/llm-trace-v3/index.html +0 -1
  51. package/dist/components/llm-trace-v3-advanced/index.html +0 -1
  52. package/dist/components/llm-trace-v3-examples/index.html +0 -1
  53. package/dist/components/llm-trace-v3-visual-demos/index.html +0 -1
  54. package/dist/demos.async.js +9 -383
  55. package/dist/demos__index.md.async.js +1 -1
  56. package/dist/demos__markdown-latex-mermaid__index.md.async.js +1 -1
  57. package/dist/demos__toolChatType__index.md.async.js +6 -1
  58. package/dist/docs/index.html +0 -1
  59. package/dist/docs__components__llm-trace-v2.md.async.js +1 -1
  60. package/dist/docs__components__llm-trace-v3-advanced.md.async.js +1 -1
  61. package/dist/docs__components__llm-trace-v3-examples.md.async.js +1 -1
  62. package/dist/docs__components__llm-trace-v3-visual-demos.md.async.js +1 -1
  63. package/dist/docs__components__llm-trace-v3.md.async.js +1 -1
  64. package/dist/docs__docs__index.md.async.js +1 -1
  65. package/dist/docs__index.md.async.js +1 -1
  66. package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.async.js +1 -1
  67. package/dist/index.html +0 -1
  68. package/dist/markdown-latex-mermaid/index.html +0 -1
  69. package/dist/meta__demos.async.js +16538 -4968
  70. package/dist/meta__docs.async.js +28 -29
  71. package/dist/nm__dumi__dist__client__pages__404.async.js +2 -2
  72. package/dist/nm__dumi__dist__client__pages__Demo__index.async.js +1 -1
  73. package/dist/nm__dumi__theme-default__layouts__DocLayout__index.async.js +1 -1
  74. package/dist/preload_helper.js +1 -1
  75. package/dist/tool-chat-type/index.html +0 -1
  76. package/dist/umi.js +63 -63
  77. package/dist/~demos/:id/index.html +0 -1
  78. package/dist/~demos/demos-markdown-latex-mermaid-demo-markdown-latex-mermaid/index.html +0 -1
  79. package/dist/~demos/demos-tool-chat-type-demo-agentschemaformdemo/index.html +0 -1
  80. package/dist/~demos/demos-tool-chat-type-demo-assistant-drawer/index.html +0 -1
  81. package/dist/~demos/demos-tool-chat-type-demo-chat-input-demo/index.html +0 -1
  82. package/dist/~demos/demos-tool-chat-type-demo-chat-list-demo/index.html +0 -1
  83. package/dist/~demos/demos-tool-chat-type-demo-chat-scenario-demo/index.html +0 -1
  84. package/dist/~demos/{demos-customer-service-typewriter-demo-customer-service-demo → demos-tool-chat-type-demo-default-demo}/index.html +0 -1
  85. package/dist/~demos/demos-tool-chat-type-demo-schema-input/index.html +0 -1
  86. package/dist/~demos/demos-tool-chat-type-demo-toolchattype/index.html +0 -1
  87. package/dist/~demos/docs-components-llm-trace-v-2-demo-0/index.html +0 -1
  88. package/dist/~demos/docs-components-llm-trace-v-2-demo-1/index.html +0 -1
  89. package/dist/~demos/docs-components-llm-trace-v-2-demo-2/index.html +0 -1
  90. package/dist/~demos/docs-components-llm-trace-v-2-demo-3/index.html +0 -1
  91. package/dist/~demos/docs-components-llm-trace-v-2-demo-4/index.html +0 -1
  92. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-0/index.html +0 -1
  93. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-1/index.html +0 -1
  94. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-2/index.html +0 -1
  95. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-3/index.html +0 -1
  96. package/dist/~demos/docs-components-llm-trace-v-3-demo-0/index.html +0 -1
  97. package/dist/~demos/docs-components-llm-trace-v-3-demo-1/index.html +0 -1
  98. package/dist/~demos/docs-components-llm-trace-v-3-demo-2/index.html +0 -1
  99. package/dist/~demos/docs-components-llm-trace-v-3-demo-3/index.html +0 -1
  100. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-0/index.html +0 -1
  101. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-1/index.html +0 -1
  102. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-2/index.html +0 -1
  103. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-3/index.html +0 -1
  104. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-4/index.html +0 -1
  105. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-0/index.html +0 -1
  106. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-1/index.html +0 -1
  107. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-2/index.html +0 -1
  108. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-3/index.html +0 -1
  109. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-4/index.html +0 -1
  110. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-5/index.html +0 -1
  111. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-6/index.html +0 -1
  112. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-7/index.html +0 -1
  113. package/es/context/index.js +25 -45
  114. package/es/utils/apushAssistant.js +1 -1
  115. package/package.json +2 -1
  116. package/dist/1013.async.js +0 -1
  117. package/dist/123.async.js +0 -258
  118. package/dist/6254.async.js +0 -30286
  119. package/dist/7084.async.js +0 -247
  120. package/dist/9725.async.js +0 -18
  121. package/dist/customer-service-typewriter/index.html +0 -44
  122. package/dist/demos__customerServiceTypewriter__index.md.async.js +0 -2
  123. package/dist/~demos/demos-customer-service-typewriter-demo-smart-scroll-demo/index.html +0 -44
  124. package/es/utils/im.js +0 -395
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[6690],{61392:function(ot,G,M){M.d(G,{G:function(){return I}});var B=M(35096),I=(0,B.eW)(()=>`
1
+ "use strict";(self.webpackChunkpaul_ai_assistant=self.webpackChunkpaul_ai_assistant||[]).push([[6690],{61392:function(ot,G,M){M.d(G,{G:function(){return I}});var B=M(35096),I=(0,B.eW)(()=>`
2
2
  /* Font Awesome icon styling - consolidated */
3
3
  .label-icon {
4
4
  display: inline-block;
@@ -12,12 +12,12 @@
12
12
  stroke: revert;
13
13
  stroke-width: revert;
14
14
  }
15
- `,"getIconStyles")},29270:function(ot,G,M){M.d(G,{AD:function(){return U},AE:function(){return tt},Mu:function(){return i},O:function(){return N},kc:function(){return J},rB:function(){return V},yU:function(){return H}});var B=M(99970),I=M(35096),w=M(17967),i=(0,I.eW)((W,p)=>{const k=W.append("rect");if(k.attr("x",p.x),k.attr("y",p.y),k.attr("fill",p.fill),k.attr("stroke",p.stroke),k.attr("width",p.width),k.attr("height",p.height),p.name&&k.attr("name",p.name),p.rx&&k.attr("rx",p.rx),p.ry&&k.attr("ry",p.ry),p.attrs!==void 0)for(const E in p.attrs)k.attr(E,p.attrs[E]);return p.class&&k.attr("class",p.class),k},"drawRect"),N=(0,I.eW)((W,p)=>{const k={x:p.startx,y:p.starty,width:p.stopx-p.startx,height:p.stopy-p.starty,fill:p.fill,stroke:p.stroke,class:"rect"};i(W,k).lower()},"drawBackgroundRect"),H=(0,I.eW)((W,p)=>{const k=p.text.replace(B.Vw," "),E=W.append("text");E.attr("x",p.x),E.attr("y",p.y),E.attr("class","legend"),E.style("text-anchor",p.anchor),p.class&&E.attr("class",p.class);const C=E.append("tspan");return C.attr("x",p.x+p.textMargin*2),C.text(k),E},"drawText"),tt=(0,I.eW)((W,p,k,E)=>{const C=W.append("image");C.attr("x",p),C.attr("y",k);const Z=(0,w.N)(E);C.attr("xlink:href",Z)},"drawImage"),V=(0,I.eW)((W,p,k,E)=>{const C=W.append("use");C.attr("x",p),C.attr("y",k);const Z=(0,w.N)(E);C.attr("xlink:href",`#${Z}`)},"drawEmbeddedImage"),J=(0,I.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),U=(0,I.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},46690:function(ot,G,M){M.d(G,{diagram:function(){return Lt}});var B=M(29270),I=M(61392),w=M(99970),i=M(35096),N=M(989),H=function(){var t=(0,i.eW)(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],n=[1,11],f=[1,12],d=[1,13],y=[1,14],m={trace:(0,i.eW)(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:(0,i.eW)(function(r,a,l,u,g,o,S){var v=o.length-1;switch(g){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 13:u.addTask(o[v-1],o[v]),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:s,12:c,14:n,16:f,17:d,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:n,16:f,17:d,18:y},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:(0,i.eW)(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:(0,i.eW)(function(r){var a=this,l=[0],u=[],g=[null],o=[],S=this.table,v="",j=0,_t=0,xt=0,Vt=2,kt=1,Ot=o.slice.call(arguments,1),b=Object.create(this.lexer),z={yy:{}};for(var nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nt)&&(z.yy[nt]=this.yy[nt]);b.setInput(r,z.yy),z.yy.lexer=b,z.yy.parser=this,typeof b.yylloc=="undefined"&&(b.yylloc={});var it=b.yylloc;o.push(it);var jt=b.options&&b.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Nt(P){l.length=l.length-2*P,g.length=g.length-P,o.length=o.length-P}(0,i.eW)(Nt,"popStack");function vt(){var P;return P=u.pop()||b.lex()||kt,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}(0,i.eW)(vt,"lex");for(var T,st,K,A,Ut,at,Y={},D,L,bt,q;;){if(K=l[l.length-1],this.defaultActions[K]?A=this.defaultActions[K]:((T===null||typeof T=="undefined")&&(T=vt()),A=S[K]&&S[K][T]),typeof A=="undefined"||!A.length||!A[0]){var lt="";q=[];for(D in S[K])this.terminals_[D]&&D>Vt&&q.push("'"+this.terminals_[D]+"'");b.showPosition?lt="Parse error on line "+(j+1)+`:
15
+ `,"getIconStyles")},29270:function(ot,G,M){M.d(G,{AD:function(){return U},AE:function(){return tt},Mu:function(){return i},O:function(){return N},kc:function(){return J},rB:function(){return V},yU:function(){return H}});var B=M(99970),I=M(35096),w=M(17967),i=(0,I.eW)((W,p)=>{const k=W.append("rect");if(k.attr("x",p.x),k.attr("y",p.y),k.attr("fill",p.fill),k.attr("stroke",p.stroke),k.attr("width",p.width),k.attr("height",p.height),p.name&&k.attr("name",p.name),p.rx&&k.attr("rx",p.rx),p.ry&&k.attr("ry",p.ry),p.attrs!==void 0)for(const E in p.attrs)k.attr(E,p.attrs[E]);return p.class&&k.attr("class",p.class),k},"drawRect"),N=(0,I.eW)((W,p)=>{const k={x:p.startx,y:p.starty,width:p.stopx-p.startx,height:p.stopy-p.starty,fill:p.fill,stroke:p.stroke,class:"rect"};i(W,k).lower()},"drawBackgroundRect"),H=(0,I.eW)((W,p)=>{const k=p.text.replace(B.Vw," "),E=W.append("text");E.attr("x",p.x),E.attr("y",p.y),E.attr("class","legend"),E.style("text-anchor",p.anchor),p.class&&E.attr("class",p.class);const C=E.append("tspan");return C.attr("x",p.x+p.textMargin*2),C.text(k),E},"drawText"),tt=(0,I.eW)((W,p,k,E)=>{const C=W.append("image");C.attr("x",p),C.attr("y",k);const Z=(0,w.N)(E);C.attr("xlink:href",Z)},"drawImage"),V=(0,I.eW)((W,p,k,E)=>{const C=W.append("use");C.attr("x",p),C.attr("y",k);const Z=(0,w.N)(E);C.attr("xlink:href",`#${Z}`)},"drawEmbeddedImage"),J=(0,I.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),U=(0,I.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},46690:function(ot,G,M){M.d(G,{diagram:function(){return Lt}});var B=M(29270),I=M(61392),w=M(99970),i=M(35096),N=M(989),H=function(){var t=(0,i.eW)(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],n=[1,11],f=[1,12],d=[1,13],y=[1,14],m={trace:(0,i.eW)(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:(0,i.eW)(function(r,a,l,u,g,o,S){var v=o.length-1;switch(g){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 13:u.addTask(o[v-1],o[v]),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:s,12:c,14:n,16:f,17:d,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:n,16:f,17:d,18:y},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:(0,i.eW)(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:(0,i.eW)(function(r){var a=this,l=[0],u=[],g=[null],o=[],S=this.table,v="",j=0,xt=0,_t=0,Vt=2,kt=1,Ot=o.slice.call(arguments,1),b=Object.create(this.lexer),z={yy:{}};for(var nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nt)&&(z.yy[nt]=this.yy[nt]);b.setInput(r,z.yy),z.yy.lexer=b,z.yy.parser=this,typeof b.yylloc=="undefined"&&(b.yylloc={});var it=b.yylloc;o.push(it);var jt=b.options&&b.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Nt(P){l.length=l.length-2*P,g.length=g.length-P,o.length=o.length-P}(0,i.eW)(Nt,"popStack");function vt(){var P;return P=u.pop()||b.lex()||kt,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}(0,i.eW)(vt,"lex");for(var T,st,K,A,Ut,at,Y={},D,L,bt,q;;){if(K=l[l.length-1],this.defaultActions[K]?A=this.defaultActions[K]:((T===null||typeof T=="undefined")&&(T=vt()),A=S[K]&&S[K][T]),typeof A=="undefined"||!A.length||!A[0]){var lt="";q=[];for(D in S[K])this.terminals_[D]&&D>Vt&&q.push("'"+this.terminals_[D]+"'");b.showPosition?lt="Parse error on line "+(j+1)+`:
16
16
  `+b.showPosition()+`
17
- Expecting `+q.join(", ")+", got '"+(this.terminals_[T]||T)+"'":lt="Parse error on line "+(j+1)+": Unexpected "+(T==kt?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(lt,{text:b.match,token:this.terminals_[T]||T,line:b.yylineno,loc:it,expected:q})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+T);switch(A[0]){case 1:l.push(T),g.push(b.yytext),o.push(b.yylloc),l.push(A[1]),T=null,st?(T=st,st=null):(_t=b.yyleng,v=b.yytext,j=b.yylineno,it=b.yylloc,xt>0&&xt--);break;case 2:if(L=this.productions_[A[1]][1],Y.$=g[g.length-L],Y._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},jt&&(Y._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),at=this.performAction.apply(Y,[v,_t,j,z.yy,A[1],g,o].concat(Ot)),typeof at!="undefined")return at;L&&(l=l.slice(0,-1*L*2),g=g.slice(0,-1*L),o=o.slice(0,-1*L)),l.push(this.productions_[A[1]][0]),g.push(Y.$),o.push(Y._$),bt=S[l[l.length-2]][l[l.length-1]],l.push(bt);break;case 3:return!0}}return!0},"parse")},_=function(){var h={EOF:1,parseError:(0,i.eW)(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:(0,i.eW)(function(r,a){return this.yy=a||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:(0,i.eW)(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(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:(0,i.eW)(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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 g=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===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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).
17
+ Expecting `+q.join(", ")+", got '"+(this.terminals_[T]||T)+"'":lt="Parse error on line "+(j+1)+": Unexpected "+(T==kt?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(lt,{text:b.match,token:this.terminals_[T]||T,line:b.yylineno,loc:it,expected:q})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+T);switch(A[0]){case 1:l.push(T),g.push(b.yytext),o.push(b.yylloc),l.push(A[1]),T=null,st?(T=st,st=null):(xt=b.yyleng,v=b.yytext,j=b.yylineno,it=b.yylloc,_t>0&&_t--);break;case 2:if(L=this.productions_[A[1]][1],Y.$=g[g.length-L],Y._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},jt&&(Y._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),at=this.performAction.apply(Y,[v,xt,j,z.yy,A[1],g,o].concat(Ot)),typeof at!="undefined")return at;L&&(l=l.slice(0,-1*L*2),g=g.slice(0,-1*L),o=o.slice(0,-1*L)),l.push(this.productions_[A[1]][0]),g.push(Y.$),o.push(Y._$),bt=S[l[l.length-2]][l[l.length-1]],l.push(bt);break;case 3:return!0}}return!0},"parse")},x=function(){var h={EOF:1,parseError:(0,i.eW)(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:(0,i.eW)(function(r,a){return this.yy=a||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:(0,i.eW)(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(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:(0,i.eW)(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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 g=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===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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).
18
18
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:(0,i.eW)(function(r){this.unput(this.match.slice(r))},"less"),pastInput:(0,i.eW)(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:(0,i.eW)(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:(0,i.eW)(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
19
19
  `+a+"^"},"showPosition"),test_match:(0,i.eW)(function(r,a){var l,u,g;if(this.options.backtrack_lexer&&(g={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(g.yylloc.range=this.yylloc.range.slice(0))),u=r[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],l=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var o in g)this[o]=g[o];return!1}return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,a,l,u;this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),o=0;o<g.length;o++)if(l=this._input.match(this.rules[g[o]]),l&&(!a||l[0].length>a[0].length)){if(a=l,u=o,this.options.backtrack_lexer){if(r=this.test_match(l,g[o]),r!==!1)return r;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(r=this.test_match(a,g[u]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
20
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.eW)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.eW)(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(a,l,u,g){var o=g;switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return h}();m.lexer=_;function x(){this.yy={}}return(0,i.eW)(x,"Parser"),x.prototype=m,m.Parser=x,new x}();H.parser=H;var tt=H,V="",J=[],U=[],W=[],p=(0,i.eW)(function(){J.length=0,U.length=0,V="",W.length=0,(0,w.ZH)()},"clear"),k=(0,i.eW)(function(t){V=t,J.push(t)},"addSection"),E=(0,i.eW)(function(){return J},"getSections"),C=(0,i.eW)(function(){let t=ct();const e=100;let s=0;for(;!t&&s<e;)t=ct(),s++;return U.push(...W),U},"getTasks"),Z=(0,i.eW)(function(){const t=[];return U.forEach(s=>{s.people&&t.push(...s.people)}),[...new Set(t)].sort()},"updateActors"),wt=(0,i.eW)(function(t,e){const s=e.substr(1).split(":");let c=0,n=[];s.length===1?(c=Number(s[0]),n=[]):(c=Number(s[0]),n=s[1].split(","));const f=n.map(y=>y.trim()),d={section:V,type:V,people:f,task:t,score:c};W.push(d)},"addTask"),Wt=(0,i.eW)(function(t){const e={section:V,type:V,description:t,task:t,classes:[]};U.push(e)},"addTaskOrg"),ct=(0,i.eW)(function(){const t=(0,i.eW)(function(s){return W[s].processed},"compileTask");let e=!0;for(const[s,c]of W.entries())t(s),e=e&&c.processed;return e},"compileTasks"),Et=(0,i.eW)(function(){return Z()},"getActors"),ht={getConfig:(0,i.eW)(()=>(0,w.nV)().journey,"getConfig"),clear:p,setDiagramTitle:w.g2,getDiagramTitle:w.Kr,setAccTitle:w.GN,getAccTitle:w.eu,setAccDescription:w.U$,getAccDescription:w.Mx,addSection:k,getSections:E,getTasks:C,addTask:wt,addTaskOrg:Wt,getActors:Et},Tt=(0,i.eW)(t=>`.label {
20
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.eW)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.eW)(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(a,l,u,g){var o=g;switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return h}();m.lexer=x;function _(){this.yy={}}return(0,i.eW)(_,"Parser"),_.prototype=m,m.Parser=_,new _}();H.parser=H;var tt=H,V="",J=[],U=[],W=[],p=(0,i.eW)(function(){J.length=0,U.length=0,V="",W.length=0,(0,w.ZH)()},"clear"),k=(0,i.eW)(function(t){V=t,J.push(t)},"addSection"),E=(0,i.eW)(function(){return J},"getSections"),C=(0,i.eW)(function(){let t=ct();const e=100;let s=0;for(;!t&&s<e;)t=ct(),s++;return U.push(...W),U},"getTasks"),Z=(0,i.eW)(function(){const t=[];return U.forEach(s=>{s.people&&t.push(...s.people)}),[...new Set(t)].sort()},"updateActors"),wt=(0,i.eW)(function(t,e){const s=e.substr(1).split(":");let c=0,n=[];s.length===1?(c=Number(s[0]),n=[]):(c=Number(s[0]),n=s[1].split(","));const f=n.map(y=>y.trim()),d={section:V,type:V,people:f,task:t,score:c};W.push(d)},"addTask"),Wt=(0,i.eW)(function(t){const e={section:V,type:V,description:t,task:t,classes:[]};U.push(e)},"addTaskOrg"),ct=(0,i.eW)(function(){const t=(0,i.eW)(function(s){return W[s].processed},"compileTask");let e=!0;for(const[s,c]of W.entries())t(s),e=e&&c.processed;return e},"compileTasks"),Et=(0,i.eW)(function(){return Z()},"getActors"),ht={getConfig:(0,i.eW)(()=>(0,w.nV)().journey,"getConfig"),clear:p,setDiagramTitle:w.g2,getDiagramTitle:w.Kr,setAccTitle:w.GN,getAccTitle:w.eu,setAccDescription:w.U$,getAccDescription:w.Mx,addSection:k,getSections:E,getTasks:C,addTask:wt,addTaskOrg:Wt,getActors:Et},Tt=(0,i.eW)(t=>`.label {
21
21
  font-family: ${t.fontFamily};
22
22
  color: ${t.textColor};
23
23
  }
@@ -150,4 +150,4 @@ Expecting `+q.join(", ")+", got '"+(this.terminals_[T]||T)+"'":lt="Parse error o
150
150
  ${t.actor5?`fill: ${t.actor5}`:""};
151
151
  }
152
152
  ${(0,I.G)()}
153
- `,"getStyles"),Mt=Tt,et=(0,i.eW)(function(t,e){return(0,B.Mu)(t,e)},"drawRect"),St=(0,i.eW)(function(t,e){const c=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");n.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function f(m){const _=(0,N.Nb1)().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(0,i.eW)(f,"smile");function d(m){const _=(0,N.Nb1)().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(0,i.eW)(d,"sad");function y(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return(0,i.eW)(y,"ambivalent"),e.score>3?f(n):e.score<3?d(n):y(n),c},"drawFace"),ut=(0,i.eW)(function(t,e){const s=t.append("circle");return s.attr("cx",e.cx),s.attr("cy",e.cy),s.attr("class","actor-"+e.pos),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("r",e.r),s.class!==void 0&&s.attr("class",s.class),e.title!==void 0&&s.append("title").text(e.title),s},"drawCircle"),dt=(0,i.eW)(function(t,e){return(0,B.yU)(t,e)},"drawText"),Pt=(0,i.eW)(function(t,e){function s(n,f,d,y,m){return n+","+f+" "+(n+d)+","+f+" "+(n+d)+","+(f+y-m)+" "+(n+d-m*1.2)+","+(f+y)+" "+n+","+(f+y)}(0,i.eW)(s,"genPoints");const c=t.append("polygon");c.attr("points",s(e.x,e.y,50,20,7)),c.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,dt(t,e)},"drawLabel"),Ct=(0,i.eW)(function(t,e,s){const c=t.append("g"),n=(0,B.kc)();n.x=e.x,n.y=e.y,n.fill=e.fill,n.width=s.width*e.taskCount+s.diagramMarginX*(e.taskCount-1),n.height=s.height,n.class="journey-section section-type-"+e.num,n.rx=3,n.ry=3,et(c,n),ft(s)(e.text,c,n.x,n.y,n.width,n.height,{class:"journey-section section-type-"+e.num},s,e.colour)},"drawSection"),yt=-1,$t=(0,i.eW)(function(t,e,s){const c=e.x+s.width/2,n=t.append("g");yt++;const f=300+5*30;n.append("line").attr("id","task"+yt).attr("x1",c).attr("y1",e.y).attr("x2",c).attr("y2",f).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),St(n,{cx:c,cy:300+(5-e.score)*30,score:e.score});const d=(0,B.kc)();d.x=e.x,d.y=e.y,d.fill=e.fill,d.width=s.width,d.height=s.height,d.class="task task-type-"+e.num,d.rx=3,d.ry=3,et(n,d);let y=e.x+14;e.people.forEach(m=>{const _=e.actors[m].color,x={cx:y,cy:e.y,r:7,fill:_,stroke:"#000",title:m,pos:e.actors[m].position};ut(n,x),y+=10}),ft(s)(e.task,n,d.x,d.y,d.width,d.height,{class:"task"},s,e.colour)},"drawTask"),At=(0,i.eW)(function(t,e){(0,B.O)(t,e)},"drawBackgroundRect"),ft=function(){function t(n,f,d,y,m,_,x,h){const r=f.append("text").attr("x",d+m/2).attr("y",y+_/2+5).style("font-color",h).style("text-anchor","middle").text(n);c(r,x)}(0,i.eW)(t,"byText");function e(n,f,d,y,m,_,x,h,r){const{taskFontSize:a,taskFontFamily:l}=h,u=n.split(/<br\s*\/?>/gi);for(let g=0;g<u.length;g++){const o=g*a-a*(u.length-1)/2,S=f.append("text").attr("x",d+m/2).attr("y",y).attr("fill",r).style("text-anchor","middle").style("font-size",a).style("font-family",l);S.append("tspan").attr("x",d+m/2).attr("dy",o).text(u[g]),S.attr("y",y+_/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),c(S,x)}}(0,i.eW)(e,"byTspan");function s(n,f,d,y,m,_,x,h){const r=f.append("switch"),l=r.append("foreignObject").attr("x",d).attr("y",y).attr("width",m).attr("height",_).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(n),e(n,r,d,y,m,_,x,h),c(l,x)}(0,i.eW)(s,"byFo");function c(n,f){for(const d in f)d in f&&n.attr(d,f[d])}return(0,i.eW)(c,"_setTextAttrs"),function(n){return n.textPlacement==="fo"?s:n.textPlacement==="old"?t:e}}(),It=(0,i.eW)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),X={drawRect:et,drawCircle:ut,drawSection:Ct,drawText:dt,drawLabel:Pt,drawTask:$t,drawBackgroundRect:At,initGraphics:It},Rt=(0,i.eW)(function(t){Object.keys(t).forEach(function(s){R[s]=t[s]})},"setConf"),F={},Q=0;function pt(t){const e=(0,w.nV)().journey,s=e.maxLabelWidth;Q=0;let c=60;Object.keys(F).forEach(n=>{const f=F[n].color,d={cx:20,cy:c,r:7,fill:f,stroke:"#000",pos:F[n].position};X.drawCircle(t,d);let y=t.append("text").attr("visibility","hidden").text(n);const m=y.node().getBoundingClientRect().width;y.remove();let _=[];if(m<=s)_=[n];else{const x=n.split(" ");let h="";y=t.append("text").attr("visibility","hidden"),x.forEach(r=>{const a=h?`${h} ${r}`:r;if(y.text(a),y.node().getBoundingClientRect().width>s){if(h&&_.push(h),h=r,y.text(r),y.node().getBoundingClientRect().width>s){let u="";for(const g of r)u+=g,y.text(u+"-"),y.node().getBoundingClientRect().width>s&&(_.push(u.slice(0,-1)+"-"),u=g);h=u}}else h=a}),h&&_.push(h),y.remove()}_.forEach((x,h)=>{var u;const r={x:40,y:c+7+h*20,fill:"#666",text:x,textMargin:(u=e.boxTextMargin)!=null?u:5},l=X.drawText(t,r).node().getBoundingClientRect().width;l>Q&&l>e.leftMargin-l&&(Q=l)}),c+=Math.max(20,_.length*20)})}(0,i.eW)(pt,"drawActorLegend");var R=(0,w.nV)().journey,O=0,Bt=(0,i.eW)(function(t,e,s,c){const n=(0,w.nV)(),f=n.journey.titleColor,d=n.journey.titleFontSize,y=n.journey.titleFontFamily,m=n.securityLevel;let _;m==="sandbox"&&(_=(0,N.Ys)("#i"+e));const x=m==="sandbox"?(0,N.Ys)(_.nodes()[0].contentDocument.body):(0,N.Ys)("body");$.init();const h=x.select("#"+e);X.initGraphics(h);const r=c.db.getTasks(),a=c.db.getDiagramTitle(),l=c.db.getActors();for(const j in F)delete F[j];let u=0;l.forEach(j=>{F[j]={color:R.actorColours[u%R.actorColours.length],position:u},u++}),pt(h),O=R.leftMargin+Q,$.insert(0,0,O,Object.keys(F).length*50),Ft(h,r,0);const g=$.getBounds();a&&h.append("text").text(a).attr("x",O).attr("font-size",d).attr("font-weight","bold").attr("y",25).attr("fill",f).attr("font-family",y);const o=g.stopy-g.starty+2*R.diagramMarginY,S=O+g.stopx+2*R.diagramMarginX;(0,w.v2)(h,o,S,R.useMaxWidth),h.append("line").attr("x1",O).attr("y1",R.height*4).attr("x2",S-O-4).attr("y2",R.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const v=a?70:0;h.attr("viewBox",`${g.startx} -25 ${S} ${o+v}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",o+v+25)},"draw"),$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,i.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,i.eW)(function(t,e,s,c){t[e]===void 0?t[e]=s:t[e]=c(s,t[e])},"updateVal"),updateBounds:(0,i.eW)(function(t,e,s,c){const n=(0,w.nV)().journey,f=this;let d=0;function y(m){return(0,i.eW)(function(x){d++;const h=f.sequenceItems.length-d+1;f.updateVal(x,"starty",e-h*n.boxMargin,Math.min),f.updateVal(x,"stopy",c+h*n.boxMargin,Math.max),f.updateVal($.data,"startx",t-h*n.boxMargin,Math.min),f.updateVal($.data,"stopx",s+h*n.boxMargin,Math.max),m!=="activation"&&(f.updateVal(x,"startx",t-h*n.boxMargin,Math.min),f.updateVal(x,"stopx",s+h*n.boxMargin,Math.max),f.updateVal($.data,"starty",e-h*n.boxMargin,Math.min),f.updateVal($.data,"stopy",c+h*n.boxMargin,Math.max))},"updateItemBounds")}(0,i.eW)(y,"updateFn"),this.sequenceItems.forEach(y())},"updateBounds"),insert:(0,i.eW)(function(t,e,s,c){const n=Math.min(t,s),f=Math.max(t,s),d=Math.min(e,c),y=Math.max(e,c);this.updateVal($.data,"startx",n,Math.min),this.updateVal($.data,"starty",d,Math.min),this.updateVal($.data,"stopx",f,Math.max),this.updateVal($.data,"stopy",y,Math.max),this.updateBounds(n,d,f,y)},"insert"),bumpVerticalPos:(0,i.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,i.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,i.eW)(function(){return this.data},"getBounds")},rt=R.sectionFills,gt=R.sectionColours,Ft=(0,i.eW)(function(t,e,s){const c=(0,w.nV)().journey;let n="";const f=c.height*2+c.diagramMarginY,d=s+f;let y=0,m="#CCC",_="black",x=0;for(const[h,r]of e.entries()){if(n!==r.section){m=rt[y%rt.length],x=y%rt.length,_=gt[y%gt.length];let l=0;const u=r.section;for(let o=h;o<e.length&&e[o].section==u;o++)l=l+1;const g={x:h*c.taskMargin+h*c.width+O,y:50,text:r.section,fill:m,num:x,colour:_,taskCount:l};X.drawSection(t,g,c),n=r.section,y++}const a=r.people.reduce((l,u)=>(F[u]&&(l[u]=F[u]),l),{});r.x=h*c.taskMargin+h*c.width+O,r.y=d,r.width=c.diagramMarginX,r.height=c.diagramMarginY,r.colour=_,r.fill=m,r.num=x,r.actors=a,X.drawTask(t,r,c),$.insert(r.x,r.y,r.x+r.width+c.taskMargin,300+5*30)}},"drawTasks"),mt={setConf:Rt,draw:Bt},Lt={parser:tt,db:ht,renderer:mt,styles:Mt,init:(0,i.eW)(t=>{mt.setConf(t.journey),ht.clear()},"init")}}}]);
153
+ `,"getStyles"),Mt=Tt,et=(0,i.eW)(function(t,e){return(0,B.Mu)(t,e)},"drawRect"),St=(0,i.eW)(function(t,e){const c=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");n.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function f(m){const x=(0,N.Nb1)().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(0,i.eW)(f,"smile");function d(m){const x=(0,N.Nb1)().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(0,i.eW)(d,"sad");function y(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return(0,i.eW)(y,"ambivalent"),e.score>3?f(n):e.score<3?d(n):y(n),c},"drawFace"),ut=(0,i.eW)(function(t,e){const s=t.append("circle");return s.attr("cx",e.cx),s.attr("cy",e.cy),s.attr("class","actor-"+e.pos),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("r",e.r),s.class!==void 0&&s.attr("class",s.class),e.title!==void 0&&s.append("title").text(e.title),s},"drawCircle"),dt=(0,i.eW)(function(t,e){return(0,B.yU)(t,e)},"drawText"),Pt=(0,i.eW)(function(t,e){function s(n,f,d,y,m){return n+","+f+" "+(n+d)+","+f+" "+(n+d)+","+(f+y-m)+" "+(n+d-m*1.2)+","+(f+y)+" "+n+","+(f+y)}(0,i.eW)(s,"genPoints");const c=t.append("polygon");c.attr("points",s(e.x,e.y,50,20,7)),c.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,dt(t,e)},"drawLabel"),Ct=(0,i.eW)(function(t,e,s){const c=t.append("g"),n=(0,B.kc)();n.x=e.x,n.y=e.y,n.fill=e.fill,n.width=s.width*e.taskCount+s.diagramMarginX*(e.taskCount-1),n.height=s.height,n.class="journey-section section-type-"+e.num,n.rx=3,n.ry=3,et(c,n),ft(s)(e.text,c,n.x,n.y,n.width,n.height,{class:"journey-section section-type-"+e.num},s,e.colour)},"drawSection"),yt=-1,$t=(0,i.eW)(function(t,e,s){const c=e.x+s.width/2,n=t.append("g");yt++;const f=300+5*30;n.append("line").attr("id","task"+yt).attr("x1",c).attr("y1",e.y).attr("x2",c).attr("y2",f).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),St(n,{cx:c,cy:300+(5-e.score)*30,score:e.score});const d=(0,B.kc)();d.x=e.x,d.y=e.y,d.fill=e.fill,d.width=s.width,d.height=s.height,d.class="task task-type-"+e.num,d.rx=3,d.ry=3,et(n,d);let y=e.x+14;e.people.forEach(m=>{const x=e.actors[m].color,_={cx:y,cy:e.y,r:7,fill:x,stroke:"#000",title:m,pos:e.actors[m].position};ut(n,_),y+=10}),ft(s)(e.task,n,d.x,d.y,d.width,d.height,{class:"task"},s,e.colour)},"drawTask"),At=(0,i.eW)(function(t,e){(0,B.O)(t,e)},"drawBackgroundRect"),ft=function(){function t(n,f,d,y,m,x,_,h){const r=f.append("text").attr("x",d+m/2).attr("y",y+x/2+5).style("font-color",h).style("text-anchor","middle").text(n);c(r,_)}(0,i.eW)(t,"byText");function e(n,f,d,y,m,x,_,h,r){const{taskFontSize:a,taskFontFamily:l}=h,u=n.split(/<br\s*\/?>/gi);for(let g=0;g<u.length;g++){const o=g*a-a*(u.length-1)/2,S=f.append("text").attr("x",d+m/2).attr("y",y).attr("fill",r).style("text-anchor","middle").style("font-size",a).style("font-family",l);S.append("tspan").attr("x",d+m/2).attr("dy",o).text(u[g]),S.attr("y",y+x/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),c(S,_)}}(0,i.eW)(e,"byTspan");function s(n,f,d,y,m,x,_,h){const r=f.append("switch"),l=r.append("foreignObject").attr("x",d).attr("y",y).attr("width",m).attr("height",x).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(n),e(n,r,d,y,m,x,_,h),c(l,_)}(0,i.eW)(s,"byFo");function c(n,f){for(const d in f)d in f&&n.attr(d,f[d])}return(0,i.eW)(c,"_setTextAttrs"),function(n){return n.textPlacement==="fo"?s:n.textPlacement==="old"?t:e}}(),It=(0,i.eW)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),X={drawRect:et,drawCircle:ut,drawSection:Ct,drawText:dt,drawLabel:Pt,drawTask:$t,drawBackgroundRect:At,initGraphics:It},Rt=(0,i.eW)(function(t){Object.keys(t).forEach(function(s){R[s]=t[s]})},"setConf"),F={},Q=0;function pt(t){const e=(0,w.nV)().journey,s=e.maxLabelWidth;Q=0;let c=60;Object.keys(F).forEach(n=>{const f=F[n].color,d={cx:20,cy:c,r:7,fill:f,stroke:"#000",pos:F[n].position};X.drawCircle(t,d);let y=t.append("text").attr("visibility","hidden").text(n);const m=y.node().getBoundingClientRect().width;y.remove();let x=[];if(m<=s)x=[n];else{const _=n.split(" ");let h="";y=t.append("text").attr("visibility","hidden"),_.forEach(r=>{const a=h?`${h} ${r}`:r;if(y.text(a),y.node().getBoundingClientRect().width>s){if(h&&x.push(h),h=r,y.text(r),y.node().getBoundingClientRect().width>s){let u="";for(const g of r)u+=g,y.text(u+"-"),y.node().getBoundingClientRect().width>s&&(x.push(u.slice(0,-1)+"-"),u=g);h=u}}else h=a}),h&&x.push(h),y.remove()}x.forEach((_,h)=>{var u;const r={x:40,y:c+7+h*20,fill:"#666",text:_,textMargin:(u=e.boxTextMargin)!=null?u:5},l=X.drawText(t,r).node().getBoundingClientRect().width;l>Q&&l>e.leftMargin-l&&(Q=l)}),c+=Math.max(20,x.length*20)})}(0,i.eW)(pt,"drawActorLegend");var R=(0,w.nV)().journey,O=0,Bt=(0,i.eW)(function(t,e,s,c){const n=(0,w.nV)(),f=n.journey.titleColor,d=n.journey.titleFontSize,y=n.journey.titleFontFamily,m=n.securityLevel;let x;m==="sandbox"&&(x=(0,N.Ys)("#i"+e));const _=m==="sandbox"?(0,N.Ys)(x.nodes()[0].contentDocument.body):(0,N.Ys)("body");$.init();const h=_.select("#"+e);X.initGraphics(h);const r=c.db.getTasks(),a=c.db.getDiagramTitle(),l=c.db.getActors();for(const j in F)delete F[j];let u=0;l.forEach(j=>{F[j]={color:R.actorColours[u%R.actorColours.length],position:u},u++}),pt(h),O=R.leftMargin+Q,$.insert(0,0,O,Object.keys(F).length*50),Ft(h,r,0);const g=$.getBounds();a&&h.append("text").text(a).attr("x",O).attr("font-size",d).attr("font-weight","bold").attr("y",25).attr("fill",f).attr("font-family",y);const o=g.stopy-g.starty+2*R.diagramMarginY,S=O+g.stopx+2*R.diagramMarginX;(0,w.v2)(h,o,S,R.useMaxWidth),h.append("line").attr("x1",O).attr("y1",R.height*4).attr("x2",S-O-4).attr("y2",R.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const v=a?70:0;h.attr("viewBox",`${g.startx} -25 ${S} ${o+v}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",o+v+25)},"draw"),$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,i.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,i.eW)(function(t,e,s,c){t[e]===void 0?t[e]=s:t[e]=c(s,t[e])},"updateVal"),updateBounds:(0,i.eW)(function(t,e,s,c){const n=(0,w.nV)().journey,f=this;let d=0;function y(m){return(0,i.eW)(function(_){d++;const h=f.sequenceItems.length-d+1;f.updateVal(_,"starty",e-h*n.boxMargin,Math.min),f.updateVal(_,"stopy",c+h*n.boxMargin,Math.max),f.updateVal($.data,"startx",t-h*n.boxMargin,Math.min),f.updateVal($.data,"stopx",s+h*n.boxMargin,Math.max),m!=="activation"&&(f.updateVal(_,"startx",t-h*n.boxMargin,Math.min),f.updateVal(_,"stopx",s+h*n.boxMargin,Math.max),f.updateVal($.data,"starty",e-h*n.boxMargin,Math.min),f.updateVal($.data,"stopy",c+h*n.boxMargin,Math.max))},"updateItemBounds")}(0,i.eW)(y,"updateFn"),this.sequenceItems.forEach(y())},"updateBounds"),insert:(0,i.eW)(function(t,e,s,c){const n=Math.min(t,s),f=Math.max(t,s),d=Math.min(e,c),y=Math.max(e,c);this.updateVal($.data,"startx",n,Math.min),this.updateVal($.data,"starty",d,Math.min),this.updateVal($.data,"stopx",f,Math.max),this.updateVal($.data,"stopy",y,Math.max),this.updateBounds(n,d,f,y)},"insert"),bumpVerticalPos:(0,i.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,i.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,i.eW)(function(){return this.data},"getBounds")},rt=R.sectionFills,gt=R.sectionColours,Ft=(0,i.eW)(function(t,e,s){const c=(0,w.nV)().journey;let n="";const f=c.height*2+c.diagramMarginY,d=s+f;let y=0,m="#CCC",x="black",_=0;for(const[h,r]of e.entries()){if(n!==r.section){m=rt[y%rt.length],_=y%rt.length,x=gt[y%gt.length];let l=0;const u=r.section;for(let o=h;o<e.length&&e[o].section==u;o++)l=l+1;const g={x:h*c.taskMargin+h*c.width+O,y:50,text:r.section,fill:m,num:_,colour:x,taskCount:l};X.drawSection(t,g,c),n=r.section,y++}const a=r.people.reduce((l,u)=>(F[u]&&(l[u]=F[u]),l),{});r.x=h*c.taskMargin+h*c.width+O,r.y=d,r.width=c.diagramMarginX,r.height=c.diagramMarginY,r.colour=x,r.fill=m,r.num=_,r.actors=a,X.drawTask(t,r,c),$.insert(r.x,r.y,r.x+r.width+c.taskMargin,300+5*30)}},"drawTasks"),mt={setConf:Rt,draw:Bt},Lt={parser:tt,db:ht,renderer:mt,styles:Mt,init:(0,i.eW)(t=>{mt.setConf(t.journey),ht.clear()},"init")}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkpaul_ai_assistant=self.webpackChunkpaul_ai_assistant||[]).push([[6949],{63001:function(E,s,n){n.d(s,{Z:function(){return d}});var e=n(37834),u="__lodash_hash_undefined__";function t(c){return this.__data__.set(c,u),this}var a=t;function f(c){return this.__data__.has(c)}var o=f;function l(c){var Z=-1,O=c==null?0:c.length;for(this.__data__=new e.Z;++Z<O;)this.add(c[Z])}l.prototype.add=l.prototype.push=a,l.prototype.has=o;var d=l},76579:function(E,s){function n(e,u){for(var t=-1,a=e==null?0:e.length;++t<a&&u(e[t],t,e)!==!1;);return e}s.Z=n},56530:function(E,s){function n(e,u){for(var t=-1,a=e==null?0:e.length,f=0,o=[];++t<a;){var l=e[t];u(l,t,e)&&(o[f++]=l)}return o}s.Z=n},39370:function(E,s,n){var e=n(39044);function u(t,a){var f=t==null?0:t.length;return!!f&&(0,e.Z)(t,a,0)>-1}s.Z=u},92404:function(E,s){function n(e,u,t){for(var a=-1,f=e==null?0:e.length;++a<f;)if(t(u,e[a]))return!0;return!1}s.Z=n},74073:function(E,s){function n(e,u){for(var t=-1,a=e==null?0:e.length,f=Array(a);++t<a;)f[t]=u(e[t],t,e);return f}s.Z=n},58694:function(E,s){function n(e,u){for(var t=-1,a=u.length,f=e.length;++t<a;)e[f+t]=u[t];return e}s.Z=n},2338:function(E,s){function n(e,u){for(var t=-1,a=e==null?0:e.length;++t<a;)if(u(e[t],t,e))return!0;return!1}s.Z=n},45401:function(E,s,n){n.d(s,{Z:function(){return br}});var e=n(31667),u=n(76579),t=n(72954),a=n(31899),f=n(17179);function o(i,h){return i&&(0,a.Z)(h,(0,f.Z)(h),i)}var l=o,d=n(32957);function c(i,h){return i&&(0,a.Z)(h,(0,d.Z)(h),i)}var Z=c,O=n(91050),v=n(87215),P=n(95695);function A(i,h){return(0,a.Z)(i,(0,P.Z)(i),h)}var T=A,B=n(17502);function R(i,h){return(0,a.Z)(i,(0,B.Z)(i),h)}var $=R,Q=n(1808),k=n(4403),F=n(83970),x=Object.prototype,en=x.hasOwnProperty;function G(i){var h=i.length,K=new i.constructor(h);return h&&typeof i[0]=="string"&&en.call(i,"index")&&(K.index=i.index,K.input=i.input),K}var H=G,q=n(41884);function jn(i,h){var K=h?(0,q.Z)(i.buffer):i.buffer;return new i.constructor(K,i.byteOffset,i.byteLength)}var dn=jn,fn=/\w*$/;function wn(i){var h=new i.constructor(i.source,fn.exec(i));return h.lastIndex=i.lastIndex,h}var Wn=wn,on=n(17685),vn=on.Z?on.Z.prototype:void 0,cn=vn?vn.valueOf:void 0;function Fn(i){return cn?Object(cn.call(i)):{}}var xn=Fn,Gn=n(12701),Zn="[object Boolean]",ln="[object Date]",gn="[object Map]",Nn="[object Number]",Hn="[object RegExp]",En="[object Set]",An="[object String]",tn="[object Symbol]",Yn="[object ArrayBuffer]",yn="[object DataView]",$n="[object Float32Array]",Xn="[object Float64Array]",bn="[object Int8Array]",On="[object Int16Array]",Pn="[object Int32Array]",Jn="[object Uint8Array]",Qn="[object Uint8ClampedArray]",zn="[object Uint16Array]",Vn="[object Uint32Array]";function kn(i,h,K){var sn=i.constructor;switch(h){case Yn:return(0,q.Z)(i);case Zn:case ln:return new sn(+i);case yn:return dn(i,K);case $n:case Xn:case bn:case On:case Pn:case Jn:case Qn:case zn:case Vn:return(0,Gn.Z)(i,K);case gn:return new sn;case Nn:case An:return new sn(i);case Hn:return Wn(i);case En:return new sn;case tn:return xn(i)}}var qn=kn,Tn=n(73658),nr=n(27771),rr=n(77008),Mn=n(18533),er="[object Map]";function In(i){return(0,Mn.Z)(i)&&(0,F.Z)(i)==er}var tr=In,hn=n(21162),nn=n(98351),Dn=nn.Z&&nn.Z.isMap,ar=Dn?(0,hn.Z)(Dn):tr,_r=ar,Cn=n(77226),pn="[object Set]";function sr(i){return(0,Mn.Z)(i)&&(0,F.Z)(i)==pn}var ur=sr,Ln=nn.Z&&nn.Z.isSet,fr=Ln?(0,hn.Z)(Ln):ur,ir=fr,or=1,lr=2,dr=4,mn="[object Arguments]",vr="[object Array]",cr="[object Boolean]",Zr="[object Date]",r="[object Error]",_="[object Function]",g="[object GeneratorFunction]",y="[object Map]",M="[object Number]",b="[object Object]",p="[object RegExp]",D="[object Set]",L="[object String]",m="[object Symbol]",U="[object WeakMap]",S="[object ArrayBuffer]",C="[object DataView]",N="[object Float32Array]",j="[object Float64Array]",W="[object Int8Array]",Y="[object Int16Array]",X="[object Int32Array]",J="[object Uint8Array]",Rn="[object Uint8ClampedArray]",an="[object Uint16Array]",_n="[object Uint32Array]",I={};I[mn]=I[vr]=I[S]=I[C]=I[cr]=I[Zr]=I[N]=I[j]=I[W]=I[Y]=I[X]=I[y]=I[M]=I[b]=I[p]=I[D]=I[L]=I[m]=I[J]=I[Rn]=I[an]=I[_n]=!0,I[r]=I[_]=I[U]=!1;function Sn(i,h,K,sn,Bn,z){var w,Un=h&or,Kn=h&lr,Or=h&dr;if(K&&(w=Bn?K(i,sn,Bn,z):K(i)),w!==void 0)return w;if(!(0,Cn.Z)(i))return i;var gr=(0,nr.Z)(i);if(gr){if(w=H(i),!Un)return(0,v.Z)(i,w)}else{var un=(0,F.Z)(i),Er=un==_||un==g;if((0,rr.Z)(i))return(0,O.Z)(i,Un);if(un==b||un==mn||Er&&!Bn){if(w=Kn||Er?{}:(0,Tn.Z)(i),!Un)return Kn?$(i,Z(w,i)):T(i,l(w,i))}else{if(!I[un])return Bn?i:{};w=qn(i,un,Un)}}z||(z=new e.Z);var Ar=z.get(i);if(Ar)return Ar;z.set(i,w),ir(i)?i.forEach(function(V){w.add(Sn(V,h,K,V,i,z))}):_r(i)&&i.forEach(function(V,rn){w.set(rn,Sn(V,h,K,rn,i,z))});var Pr=Or?Kn?k.Z:Q.Z:Kn?d.Z:f.Z,yr=gr?void 0:Pr(i);return(0,u.Z)(yr||i,function(V,rn){yr&&(rn=V,V=i[rn]),(0,t.Z)(w,rn,Sn(V,h,K,rn,i,z))}),w}var br=Sn},49811:function(E,s,n){n.d(s,{Z:function(){return o}});var e=n(2693),u=n(50585);function t(l,d){return function(c,Z){if(c==null)return c;if(!(0,u.Z)(c))return l(c,Z);for(var O=c.length,v=d?O:-1,P=Object(c);(d?v--:++v<O)&&Z(P[v],v,P)!==!1;);return c}}var a=t,f=a(e.Z),o=f},94749:function(E,s,n){var e=n(49811);function u(t,a){var f=[];return(0,e.Z)(t,function(o,l,d){a(o,l,d)&&f.push(o)}),f}s.Z=u},21692:function(E,s){function n(e,u,t,a){for(var f=e.length,o=t+(a?1:-1);a?o--:++o<f;)if(u(e[o],o,e))return o;return-1}s.Z=n},10626:function(E,s,n){n.d(s,{Z:function(){return c}});var e=n(58694),u=n(17685),t=n(29169),a=n(27771),f=u.Z?u.Z.isConcatSpreadable:void 0;function o(Z){return(0,a.Z)(Z)||(0,t.Z)(Z)||!!(f&&Z&&Z[f])}var l=o;function d(Z,O,v,P,A){var T=-1,B=Z.length;for(v||(v=l),A||(A=[]);++T<B;){var R=Z[T];O>0&&v(R)?O>1?d(R,O-1,v,P,A):(0,e.Z)(A,R):P||(A[A.length]=R)}return A}var c=d},2693:function(E,s,n){var e=n(61395),u=n(17179);function t(a,f){return a&&(0,e.Z)(a,f,u.Z)}s.Z=t},13317:function(E,s,n){var e=n(22823),u=n(62281);function t(a,f){f=(0,e.Z)(f,a);for(var o=0,l=f.length;a!=null&&o<l;)a=a[(0,u.Z)(f[o++])];return o&&o==l?a:void 0}s.Z=t},63327:function(E,s,n){var e=n(58694),u=n(27771);function t(a,f,o){var l=f(a);return(0,u.Z)(a)?l:(0,e.Z)(l,o(a))}s.Z=t},39044:function(E,s,n){n.d(s,{Z:function(){return l}});var e=n(21692);function u(d){return d!==d}var t=u;function a(d,c,Z){for(var O=Z-1,v=d.length;++O<v;)if(d[O]===c)return O;return-1}var f=a;function o(d,c,Z){return c===c?f(d,c,Z):(0,e.Z)(d,t,Z)}var l=o},2e3:function(E,s,n){n.d(s,{Z:function(){return Zr}});var e=n(31667),u=n(63001),t=n(2338),a=n(59548),f=1,o=2;function l(r,_,g,y,M,b){var p=g&f,D=r.length,L=_.length;if(D!=L&&!(p&&L>D))return!1;var m=b.get(r),U=b.get(_);if(m&&U)return m==_&&U==r;var S=-1,C=!0,N=g&o?new u.Z:void 0;for(b.set(r,_),b.set(_,r);++S<D;){var j=r[S],W=_[S];if(y)var Y=p?y(W,j,S,_,r,b):y(j,W,S,r,_,b);if(Y!==void 0){if(Y)continue;C=!1;break}if(N){if(!(0,t.Z)(_,function(X,J){if(!(0,a.Z)(N,J)&&(j===X||M(j,X,g,y,b)))return N.push(J)})){C=!1;break}}else if(!(j===W||M(j,W,g,y,b))){C=!1;break}}return b.delete(r),b.delete(_),C}var d=l,c=n(17685),Z=n(84073),O=n(79651);function v(r){var _=-1,g=Array(r.size);return r.forEach(function(y,M){g[++_]=[M,y]}),g}var P=v,A=n(6545),T=1,B=2,R="[object Boolean]",$="[object Date]",Q="[object Error]",k="[object Map]",F="[object Number]",x="[object RegExp]",en="[object Set]",G="[object String]",H="[object Symbol]",q="[object ArrayBuffer]",jn="[object DataView]",dn=c.Z?c.Z.prototype:void 0,fn=dn?dn.valueOf:void 0;function wn(r,_,g,y,M,b,p){switch(g){case jn:if(r.byteLength!=_.byteLength||r.byteOffset!=_.byteOffset)return!1;r=r.buffer,_=_.buffer;case q:return!(r.byteLength!=_.byteLength||!b(new Z.Z(r),new Z.Z(_)));case R:case $:case F:return(0,O.Z)(+r,+_);case Q:return r.name==_.name&&r.message==_.message;case x:case G:return r==_+"";case k:var D=P;case en:var L=y&T;if(D||(D=A.Z),r.size!=_.size&&!L)return!1;var m=p.get(r);if(m)return m==_;y|=B,p.set(r,_);var U=d(D(r),D(_),y,M,b,p);return p.delete(r),U;case H:if(fn)return fn.call(r)==fn.call(_)}return!1}var Wn=wn,on=n(1808),vn=1,cn=Object.prototype,Fn=cn.hasOwnProperty;function xn(r,_,g,y,M,b){var p=g&vn,D=(0,on.Z)(r),L=D.length,m=(0,on.Z)(_),U=m.length;if(L!=U&&!p)return!1;for(var S=L;S--;){var C=D[S];if(!(p?C in _:Fn.call(_,C)))return!1}var N=b.get(r),j=b.get(_);if(N&&j)return N==_&&j==r;var W=!0;b.set(r,_),b.set(_,r);for(var Y=p;++S<L;){C=D[S];var X=r[C],J=_[C];if(y)var Rn=p?y(J,X,C,_,r,b):y(X,J,C,r,_,b);if(!(Rn===void 0?X===J||M(X,J,g,y,b):Rn)){W=!1;break}Y||(Y=C=="constructor")}if(W&&!Y){var an=r.constructor,_n=_.constructor;an!=_n&&"constructor"in r&&"constructor"in _&&!(typeof an=="function"&&an instanceof an&&typeof _n=="function"&&_n instanceof _n)&&(W=!1)}return b.delete(r),b.delete(_),W}var Gn=xn,Zn=n(83970),ln=n(27771),gn=n(77008),Nn=n(18843),Hn=1,En="[object Arguments]",An="[object Array]",tn="[object Object]",Yn=Object.prototype,yn=Yn.hasOwnProperty;function $n(r,_,g,y,M,b){var p=(0,ln.Z)(r),D=(0,ln.Z)(_),L=p?An:(0,Zn.Z)(r),m=D?An:(0,Zn.Z)(_);L=L==En?tn:L,m=m==En?tn:m;var U=L==tn,S=m==tn,C=L==m;if(C&&(0,gn.Z)(r)){if(!(0,gn.Z)(_))return!1;p=!0,U=!1}if(C&&!U)return b||(b=new e.Z),p||(0,Nn.Z)(r)?d(r,_,g,y,M,b):Wn(r,_,L,g,y,M,b);if(!(g&Hn)){var N=U&&yn.call(r,"__wrapped__"),j=S&&yn.call(_,"__wrapped__");if(N||j){var W=N?r.value():r,Y=j?_.value():_;return b||(b=new e.Z),M(W,Y,g,y,b)}}return C?(b||(b=new e.Z),Gn(r,_,g,y,M,b)):!1}var Xn=$n,bn=n(18533);function On(r,_,g,y,M){return r===_?!0:r==null||_==null||!(0,bn.Z)(r)&&!(0,bn.Z)(_)?r!==r&&_!==_:Xn(r,_,g,y,On,M)}var Pn=On,Jn=1,Qn=2;function zn(r,_,g,y){var M=g.length,b=M,p=!y;if(r==null)return!b;for(r=Object(r);M--;){var D=g[M];if(p&&D[2]?D[1]!==r[D[0]]:!(D[0]in r))return!1}for(;++M<b;){D=g[M];var L=D[0],m=r[L],U=D[1];if(p&&D[2]){if(m===void 0&&!(L in r))return!1}else{var S=new e.Z;if(y)var C=y(m,U,L,r,_,S);if(!(C===void 0?Pn(U,m,Jn|Qn,y,S):C))return!1}}return!0}var Vn=zn,kn=n(77226);function qn(r){return r===r&&!(0,kn.Z)(r)}var Tn=qn,nr=n(17179);function rr(r){for(var _=(0,nr.Z)(r),g=_.length;g--;){var y=_[g],M=r[y];_[g]=[y,M,Tn(M)]}return _}var Mn=rr;function er(r,_){return function(g){return g==null?!1:g[r]===_&&(_!==void 0||r in Object(g))}}var In=er;function tr(r){var _=Mn(r);return _.length==1&&_[0][2]?In(_[0][0],_[0][1]):function(g){return g===r||Vn(g,r,_)}}var hn=tr,nn=n(13317);function Dn(r,_,g){var y=r==null?void 0:(0,nn.Z)(r,_);return y===void 0?g:y}var ar=Dn,_r=n(75487),Cn=n(99365),pn=n(62281),sr=1,ur=2;function Ln(r,_){return(0,Cn.Z)(r)&&Tn(_)?In((0,pn.Z)(r),_):function(g){var y=ar(g,r);return y===void 0&&y===_?(0,_r.Z)(g,r):Pn(_,y,sr|ur)}}var fr=Ln,ir=n(69203),or=n(54193);function lr(r){return function(_){return(0,nn.Z)(_,r)}}var dr=lr;function mn(r){return(0,Cn.Z)(r)?(0,or.Z)((0,pn.Z)(r)):dr(r)}var vr=mn;function cr(r){return typeof r=="function"?r:r==null?ir.Z:typeof r=="object"?(0,ln.Z)(r)?fr(r[0],r[1]):hn(r):vr(r)}var Zr=cr},54193:function(E,s){function n(e){return function(u){return u==null?void 0:u[e]}}s.Z=n},69958:function(E,s,n){n.d(s,{Z:function(){return P}});var e=n(63001),u=n(39370),t=n(92404),a=n(59548),f=n(93203),o=n(42054),l=n(6545),d=1/0,c=f.Z&&1/(0,l.Z)(new f.Z([,-0]))[1]==d?function(A){return new f.Z(A)}:o.Z,Z=c,O=200;function v(A,T,B){var R=-1,$=u.Z,Q=A.length,k=!0,F=[],x=F;if(B)k=!1,$=t.Z;else if(Q>=O){var en=T?null:Z(A);if(en)return(0,l.Z)(en);k=!1,$=a.Z,x=new e.Z}else x=T?[]:F;n:for(;++R<Q;){var G=A[R],H=T?T(G):G;if(G=B||G!==0?G:0,k&&H===H){for(var q=x.length;q--;)if(x[q]===H)continue n;T&&x.push(H),F.push(G)}else $(x,H,B)||(x!==F&&x.push(H),F.push(G))}return F}var P=v},59548:function(E,s){function n(e,u){return e.has(u)}s.Z=n},68882:function(E,s,n){var e=n(69203);function u(t){return typeof t=="function"?t:e.Z}s.Z=u},22823:function(E,s,n){n.d(s,{Z:function(){return P}});var e=n(27771),u=n(99365),t=n(42454),a=500;function f(A){var T=(0,t.Z)(A,function(R){return B.size===a&&B.clear(),R}),B=T.cache;return T}var o=f,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,c=o(function(A){var T=[];return A.charCodeAt(0)===46&&T.push(""),A.replace(l,function(B,R,$,Q){T.push($?Q.replace(d,"$1"):R||B)}),T}),Z=c,O=n(50751);function v(A,T){return(0,e.Z)(A)?A:(0,u.Z)(A,T)?[A]:Z((0,O.Z)(A))}var P=v},1808:function(E,s,n){var e=n(63327),u=n(95695),t=n(17179);function a(f){return(0,e.Z)(f,t.Z,u.Z)}s.Z=a},4403:function(E,s,n){var e=n(63327),u=n(17502),t=n(32957);function a(f){return(0,e.Z)(f,t.Z,u.Z)}s.Z=a},95695:function(E,s,n){var e=n(56530),u=n(60532),t=Object.prototype,a=t.propertyIsEnumerable,f=Object.getOwnPropertySymbols,o=f?function(l){return l==null?[]:(l=Object(l),(0,e.Z)(f(l),function(d){return a.call(l,d)}))}:u.Z;s.Z=o},17502:function(E,s,n){var e=n(58694),u=n(12513),t=n(95695),a=n(60532),f=Object.getOwnPropertySymbols,o=f?function(l){for(var d=[];l;)(0,e.Z)(d,(0,t.Z)(l)),l=(0,u.Z)(l);return d}:a.Z;s.Z=o},16174:function(E,s,n){var e=n(22823),u=n(29169),t=n(27771),a=n(56009),f=n(1656),o=n(62281);function l(d,c,Z){c=(0,e.Z)(c,d);for(var O=-1,v=c.length,P=!1;++O<v;){var A=(0,o.Z)(c[O]);if(!(P=d!=null&&Z(d,A)))break;d=d[A]}return P||++O!=v?P:(v=d==null?0:d.length,!!v&&(0,f.Z)(v)&&(0,a.Z)(A,v)&&((0,t.Z)(d)||(0,u.Z)(d)))}s.Z=l},99365:function(E,s,n){var e=n(27771),u=n(72714),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function f(o,l){if((0,e.Z)(o))return!1;var d=typeof o;return d=="number"||d=="symbol"||d=="boolean"||o==null||(0,u.Z)(o)?!0:a.test(o)||!t.test(o)||l!=null&&o in Object(l)}s.Z=f},6545:function(E,s){function n(e){var u=-1,t=Array(e.size);return e.forEach(function(a){t[++u]=a}),t}s.Z=n},62281:function(E,s,n){var e=n(72714),u=1/0;function t(a){if(typeof a=="string"||(0,e.Z)(a))return a;var f=a+"";return f=="0"&&1/a==-u?"-0":f}s.Z=t},19601:function(E,s,n){var e=n(56530),u=n(94749),t=n(2e3),a=n(27771);function f(o,l){var d=(0,a.Z)(o)?e.Z:u.Z;return d(o,(0,t.Z)(l,3))}s.Z=f},70870:function(E,s,n){var e=n(76579),u=n(49811),t=n(68882),a=n(27771);function f(o,l){var d=(0,a.Z)(o)?e.Z:u.Z;return d(o,(0,t.Z)(l))}s.Z=f},75487:function(E,s,n){n.d(s,{Z:function(){return f}});function e(o,l){return o!=null&&l in Object(o)}var u=e,t=n(16174);function a(o,l){return o!=null&&(0,t.Z)(o,l,u)}var f=a},72714:function(E,s,n){var e=n(93589),u=n(18533),t="[object Symbol]";function a(f){return typeof f=="symbol"||(0,u.Z)(f)&&(0,e.Z)(f)==t}s.Z=a},49360:function(E,s){function n(e){return e===void 0}s.Z=n},17179:function(E,s,n){var e=n(87668),u=n(39473),t=n(50585);function a(f){return(0,t.Z)(f)?(0,e.Z)(f):(0,u.Z)(f)}s.Z=a},42054:function(E,s){function n(){}s.Z=n},92344:function(E,s,n){n.d(s,{Z:function(){return c}});function e(Z,O,v,P){var A=-1,T=Z==null?0:Z.length;for(P&&T&&(v=Z[++A]);++A<T;)v=O(v,Z[A],A,Z);return v}var u=e,t=n(49811),a=n(2e3);function f(Z,O,v,P,A){return A(Z,function(T,B,R){v=P?(P=!1,T):O(v,T,B,R)}),v}var o=f,l=n(27771);function d(Z,O,v){var P=(0,l.Z)(Z)?u:o,A=arguments.length<3;return P(Z,(0,a.Z)(O,4),v,A,t.Z)}var c=d},60532:function(E,s){function n(){return[]}s.Z=n},50751:function(E,s,n){n.d(s,{Z:function(){return O}});var e=n(17685),u=n(74073),t=n(27771),a=n(72714),f=1/0,o=e.Z?e.Z.prototype:void 0,l=o?o.toString:void 0;function d(v){if(typeof v=="string")return v;if((0,t.Z)(v))return(0,u.Z)(v,d)+"";if((0,a.Z)(v))return l?l.call(v):"";var P=v+"";return P=="0"&&1/v==-f?"-0":P}var c=d;function Z(v){return v==null?"":c(v)}var O=Z},34148:function(E,s,n){n.d(s,{Z:function(){return o}});var e=n(74073);function u(l,d){return(0,e.Z)(d,function(c){return l[c]})}var t=u,a=n(17179);function f(l){return l==null?[]:t(l,(0,a.Z)(l))}var o=f}}]);
@@ -1,4 +1,4 @@
1
- !(function(){"use strict";var j=(A,D,r)=>new Promise((v,u)=>{var o=c=>{try{i(r.next(c))}catch(_){u(_)}},a=c=>{try{i(r.throw(c))}catch(_){u(_)}},i=c=>c.done?v(c.value):Promise.resolve(c.value).then(o,a);i((r=r.apply(A,D)).next())});(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[7267],{25925:function(A,D,r){r.d(D,{A:function(){return u}});var v=r(35096);function u(o,a){var i,c,_;o.accDescr&&((i=a.setAccDescription)==null||i.call(a,o.accDescr)),o.accTitle&&((c=a.setAccTitle)==null||c.call(a,o.accTitle)),o.title&&((_=a.setDiagramTitle)==null||_.call(a,o.title))}(0,v.eW)(u,"populateCommonDb")},87267:function(A,D,r){r.d(D,{diagram:function(){return re}});var v=r(88674),u=r(25925),o=r(4284),a=r(99970),i=r(35096),c=r(12491),_=r(989),y=a.vZ.pie,x={sections:new Map,showData:!1,config:y},m=x.sections,S=x.showData,z=structuredClone(y),J=(0,i.eW)(()=>structuredClone(z),"getConfig"),V=(0,i.eW)(()=>{m=new Map,S=x.showData,(0,a.ZH)()},"clear"),Z=(0,i.eW)(({label:e,value:n})=>{if(n<0)throw new Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);m.has(e)||(m.set(e,n),i.cM.debug(`added new section: ${e}, with value: ${n}`))},"addSection"),H=(0,i.eW)(()=>m,"getSections"),X=(0,i.eW)(e=>{S=e},"setShowData"),Y=(0,i.eW)(()=>S,"getShowData"),R={getConfig:J,clear:V,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,setAccTitle:a.GN,getAccTitle:a.eu,setAccDescription:a.U$,getAccDescription:a.Mx,addSection:Z,getSections:H,setShowData:X,getShowData:Y},b=(0,i.eW)((e,n)=>{(0,u.A)(e,n),n.setShowData(e.showData),e.sections.map(n.addSection)},"populateDb"),Q={parse:(0,i.eW)(e=>j(this,null,function*(){const n=yield(0,c.Qc)("pie",e);i.cM.debug(n),b(n,R)}),"parse")},q=(0,i.eW)(e=>`
1
+ !(function(){"use strict";var j=(A,D,r)=>new Promise((v,u)=>{var o=c=>{try{i(r.next(c))}catch(p){u(p)}},a=c=>{try{i(r.throw(c))}catch(p){u(p)}},i=c=>c.done?v(c.value):Promise.resolve(c.value).then(o,a);i((r=r.apply(A,D)).next())});(self.webpackChunkpaul_ai_assistant=self.webpackChunkpaul_ai_assistant||[]).push([[7267],{25925:function(A,D,r){r.d(D,{A:function(){return u}});var v=r(35096);function u(o,a){var i,c,p;o.accDescr&&((i=a.setAccDescription)==null||i.call(a,o.accDescr)),o.accTitle&&((c=a.setAccTitle)==null||c.call(a,o.accTitle)),o.title&&((p=a.setDiagramTitle)==null||p.call(a,o.title))}(0,v.eW)(u,"populateCommonDb")},87267:function(A,D,r){r.d(D,{diagram:function(){return re}});var v=r(88674),u=r(25925),o=r(4284),a=r(99970),i=r(35096),c=r(12491),p=r(989),y=a.vZ.pie,x={sections:new Map,showData:!1,config:y},m=x.sections,S=x.showData,z=structuredClone(y),J=(0,i.eW)(()=>structuredClone(z),"getConfig"),V=(0,i.eW)(()=>{m=new Map,S=x.showData,(0,a.ZH)()},"clear"),Z=(0,i.eW)(({label:e,value:n})=>{if(n<0)throw new Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);m.has(e)||(m.set(e,n),i.cM.debug(`added new section: ${e}, with value: ${n}`))},"addSection"),H=(0,i.eW)(()=>m,"getSections"),X=(0,i.eW)(e=>{S=e},"setShowData"),Y=(0,i.eW)(()=>S,"getShowData"),R={getConfig:J,clear:V,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,setAccTitle:a.GN,getAccTitle:a.eu,setAccDescription:a.U$,getAccDescription:a.Mx,addSection:Z,getSections:H,setShowData:X,getShowData:Y},b=(0,i.eW)((e,n)=>{(0,u.A)(e,n),n.setShowData(e.showData),e.sections.map(n.addSection)},"populateDb"),Q={parse:(0,i.eW)(e=>j(this,null,function*(){const n=yield(0,c.Qc)("pie",e);i.cM.debug(n),b(n,R)}),"parse")},q=(0,i.eW)(e=>`
2
2
  .pieCircle{
3
3
  stroke: ${e.pieStrokeColor};
4
4
  stroke-width : ${e.pieStrokeWidth};
@@ -26,6 +26,6 @@
26
26
  font-family: ${e.fontFamily};
27
27
  font-size: ${e.pieLegendTextSize};
28
28
  }
29
- `,"getStyles"),ee=q,te=(0,i.eW)(e=>{const n=[...e.values()].reduce((s,p)=>s+p,0),B=[...e.entries()].map(([s,p])=>({label:s,value:p})).filter(s=>s.value/n*100>=1).sort((s,p)=>p.value-s.value);return(0,_.ve8)().value(s=>s.value)(B)},"createPieArcs"),ae=(0,i.eW)((e,n,B,k)=>{i.cM.debug(`rendering pie chart
30
- `+e);const s=k.db,p=(0,a.nV)(),I=(0,o.Rb)(s.getConfig(),p.pie),L=40,d=18,E=4,g=450,W=g,M=(0,v.P)(n),f=M.append("g");f.attr("transform","translate("+W/2+","+g/2+")");const{themeVariables:l}=p;let[C]=(0,o.VG)(l.pieOuterStrokeWidth);C!=null||(C=2);const U=I.textPosition,T=Math.min(W,g)/2-L,ne=(0,_.Nb1)().innerRadius(0).outerRadius(T),se=(0,_.Nb1)().innerRadius(T*U).outerRadius(T*U);f.append("circle").attr("cx",0).attr("cy",0).attr("r",T+C/2).attr("class","pieOuterCircle");const w=s.getSections(),le=te(w),ce=[l.pie1,l.pie2,l.pie3,l.pie4,l.pie5,l.pie6,l.pie7,l.pie8,l.pie9,l.pie10,l.pie11,l.pie12];let P=0;w.forEach(t=>{P+=t});const G=le.filter(t=>(t.data.value/P*100).toFixed(0)!=="0"),O=(0,_.PKp)(ce);f.selectAll("mySlices").data(G).enter().append("path").attr("d",ne).attr("fill",t=>O(t.data.label)).attr("class","pieCircle"),f.selectAll("mySlices").data(G).enter().append("text").text(t=>(t.data.value/P*100).toFixed(0)+"%").attr("transform",t=>"translate("+se.centroid(t)+")").style("text-anchor","middle").attr("class","slice"),f.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-(g-50)/2).attr("class","pieTitleText");const K=[...w.entries()].map(([t,h])=>({label:t,value:h})),$=f.selectAll(".legend").data(K).enter().append("g").attr("class","legend").attr("transform",(t,h)=>{const N=d+E,_e=N*K.length/2,pe=12*d,ue=h*N-_e;return"translate("+pe+","+ue+")"});$.append("rect").attr("width",d).attr("height",d).style("fill",t=>O(t.label)).style("stroke",t=>O(t.label)),$.append("text").attr("x",d+E).attr("y",d-E).text(t=>s.getShowData()?`${t.label} [${t.value}]`:t.label);const oe=Math.max(...$.selectAll("text").nodes().map(t=>{var h;return(h=t==null?void 0:t.getBoundingClientRect().width)!=null?h:0})),F=W+L+d+E+oe;M.attr("viewBox",`0 0 ${F} ${g}`),(0,a.v2)(M,g,F,I.useMaxWidth)},"draw"),ie={draw:ae},re={parser:Q,db:R,renderer:ie,styles:ee}}}]);
29
+ `,"getStyles"),ee=q,te=(0,i.eW)(e=>{const n=[...e.values()].reduce((s,_)=>s+_,0),B=[...e.entries()].map(([s,_])=>({label:s,value:_})).filter(s=>s.value/n*100>=1).sort((s,_)=>_.value-s.value);return(0,p.ve8)().value(s=>s.value)(B)},"createPieArcs"),ae=(0,i.eW)((e,n,B,k)=>{i.cM.debug(`rendering pie chart
30
+ `+e);const s=k.db,_=(0,a.nV)(),I=(0,o.Rb)(s.getConfig(),_.pie),L=40,d=18,E=4,g=450,W=g,M=(0,v.P)(n),h=M.append("g");h.attr("transform","translate("+W/2+","+g/2+")");const{themeVariables:l}=_;let[C]=(0,o.VG)(l.pieOuterStrokeWidth);C!=null||(C=2);const U=I.textPosition,T=Math.min(W,g)/2-L,ne=(0,p.Nb1)().innerRadius(0).outerRadius(T),se=(0,p.Nb1)().innerRadius(T*U).outerRadius(T*U);h.append("circle").attr("cx",0).attr("cy",0).attr("r",T+C/2).attr("class","pieOuterCircle");const w=s.getSections(),le=te(w),ce=[l.pie1,l.pie2,l.pie3,l.pie4,l.pie5,l.pie6,l.pie7,l.pie8,l.pie9,l.pie10,l.pie11,l.pie12];let P=0;w.forEach(t=>{P+=t});const G=le.filter(t=>(t.data.value/P*100).toFixed(0)!=="0"),O=(0,p.PKp)(ce);h.selectAll("mySlices").data(G).enter().append("path").attr("d",ne).attr("fill",t=>O(t.data.label)).attr("class","pieCircle"),h.selectAll("mySlices").data(G).enter().append("text").text(t=>(t.data.value/P*100).toFixed(0)+"%").attr("transform",t=>"translate("+se.centroid(t)+")").style("text-anchor","middle").attr("class","slice"),h.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-(g-50)/2).attr("class","pieTitleText");const K=[...w.entries()].map(([t,f])=>({label:t,value:f})),$=h.selectAll(".legend").data(K).enter().append("g").attr("class","legend").attr("transform",(t,f)=>{const N=d+E,pe=N*K.length/2,_e=12*d,ue=f*N-pe;return"translate("+_e+","+ue+")"});$.append("rect").attr("width",d).attr("height",d).style("fill",t=>O(t.label)).style("stroke",t=>O(t.label)),$.append("text").attr("x",d+E).attr("y",d-E).text(t=>s.getShowData()?`${t.label} [${t.value}]`:t.label);const oe=Math.max(...$.selectAll("text").nodes().map(t=>{var f;return(f=t==null?void 0:t.getBoundingClientRect().width)!=null?f:0})),F=W+L+d+E+oe;M.attr("viewBox",`0 0 ${F} ${g}`),(0,a.v2)(M,g,F,I.useMaxWidth)},"draw"),ie={draw:ae},re={parser:Q,db:R,renderer:ie,styles:ee}}}]);
31
31
  }());
@@ -1,4 +1,4 @@
1
- !(function(){"use strict";var st=(q,M,m)=>new Promise((V,S)=>{var G=o=>{try{x(m.next(o))}catch(h){S(h)}},R=o=>{try{x(m.throw(o))}catch(h){S(h)}},x=o=>o.done?V(o.value):Promise.resolve(o.value).then(G,R);x((m=m.apply(q,M)).next())});(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[7329],{26620:function(q,M,m){m.d(M,{q:function(){return G}});var V=m(35096),S=m(989),G=(0,V.eW)((R,x)=>{let o;return x==="sandbox"&&(o=(0,S.Ys)("#i"+R)),(x==="sandbox"?(0,S.Ys)(o.nodes()[0].contentDocument.body):(0,S.Ys)("body")).select(`[id="${R}"]`)},"getDiagramElement")},7329:function(q,M,m){var Q,J;m.d(M,{Ee:function(){return nt},P0:function(){return Y},b0:function(){return ot},dR:function(){return it}});var V=m(61392),S=m(26620),G=m(43663),R=m(23386),x=m(4284),o=m(99970),h=m(35096),v=m(989),w=function(){var s=(0,h.eW)(function(U,c,d,A){for(d=d||{},A=U.length;A--;d[U[A]]=c);return d},"o"),i=[1,18],a=[1,19],u=[1,20],l=[1,41],r=[1,42],f=[1,26],k=[1,24],g=[1,25],b=[1,32],C=[1,33],N=[1,34],_=[1,45],Be=[1,35],Fe=[1,36],Se=[1,37],ve=[1,38],Ne=[1,27],Le=[1,28],xe=[1,29],Oe=[1,30],Ie=[1,31],y=[1,44],T=[1,46],D=[1,43],B=[1,47],Pe=[1,9],p=[1,8,9],Ae=[1,58],be=[1,59],fe=[1,60],ke=[1,61],Ce=[1,62],we=[1,63],Me=[1,64],te=[1,8,9,41],ze=[1,76],X=[1,8,9,12,13,22,39,41,44,68,69,70,71,72,73,74,79,81],Ee=[1,8,9,12,13,18,20,22,39,41,44,50,60,68,69,70,71,72,73,74,79,81,86,100,102,103],me=[13,60,86,100,102,103],se=[13,60,73,74,86,100,102,103],He=[13,60,68,69,70,71,72,86,100,102,103],Ve=[1,100],ie=[1,117],ae=[1,113],ne=[1,109],re=[1,115],ue=[1,110],le=[1,111],oe=[1,112],ce=[1,114],he=[1,116],Qe=[22,48,60,61,82,86,87,88,89,90],Re=[1,8,9,39,41,44],ge=[1,8,9,22],Je=[1,145],Xe=[1,8,9,61],P=[1,8,9,22,48,60,61,82,86,87,88,89,90],We={trace:(0,h.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,emptyBody:47,SPACE:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",48:"SPACE",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[43,2],[43,3],[47,0],[47,2],[47,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,h.eW)(function(c,d,A,n,E,e,de){var t=e.length-1;switch(E){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:n.addRelation(e[t]);break;case 20:e[t-1].title=n.cleanupLabel(e[t]),n.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),n.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),n.setAccDescription(this.$);break;case 34:n.addClassesToNamespace(e[t-3],e[t-1]);break;case 35:n.addClassesToNamespace(e[t-4],e[t-1]);break;case 36:this.$=e[t],n.addNamespace(e[t]);break;case 37:this.$=[e[t]];break;case 38:this.$=[e[t-1]];break;case 39:e[t].unshift(e[t-2]),this.$=e[t];break;case 41:n.setCssClass(e[t-2],e[t]);break;case 42:n.addMembers(e[t-3],e[t-1]);break;case 44:n.setCssClass(e[t-5],e[t-3]),n.addMembers(e[t-5],e[t-1]);break;case 45:this.$=e[t],n.addClass(e[t]);break;case 46:this.$=e[t-1],n.addClass(e[t-1]),n.setClassLabel(e[t-1],e[t]);break;case 50:n.addAnnotation(e[t],e[t-2]);break;case 51:case 64:this.$=[e[t]];break;case 52:e[t].push(e[t-1]),this.$=e[t];break;case 53:break;case 54:n.addMember(e[t-1],n.cleanupLabel(e[t]));break;case 55:break;case 56:break;case 57:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 58:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 59:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 60:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 61:n.addNote(e[t],e[t-1]);break;case 62:n.addNote(e[t]);break;case 63:this.$=e[t-2],n.defineClass(e[t-1],e[t]);break;case 65:this.$=e[t-2].concat([e[t]]);break;case 66:n.setDirection("TB");break;case 67:n.setDirection("BT");break;case 68:n.setDirection("RL");break;case 69:n.setDirection("LR");break;case 70:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 71:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 72:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 73:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 74:this.$=n.relationType.AGGREGATION;break;case 75:this.$=n.relationType.EXTENSION;break;case 76:this.$=n.relationType.COMPOSITION;break;case 77:this.$=n.relationType.DEPENDENCY;break;case 78:this.$=n.relationType.LOLLIPOP;break;case 79:this.$=n.lineType.LINE;break;case 80:this.$=n.lineType.DOTTED_LINE;break;case 81:case 87:this.$=e[t-2],n.setClickEvent(e[t-1],e[t]);break;case 82:case 88:this.$=e[t-3],n.setClickEvent(e[t-2],e[t-1]),n.setTooltip(e[t-2],e[t]);break;case 83:this.$=e[t-2],n.setLink(e[t-1],e[t]);break;case 84:this.$=e[t-3],n.setLink(e[t-2],e[t-1],e[t]);break;case 85:this.$=e[t-3],n.setLink(e[t-2],e[t-1]),n.setTooltip(e[t-2],e[t]);break;case 86:this.$=e[t-4],n.setLink(e[t-3],e[t-2],e[t]),n.setTooltip(e[t-3],e[t-1]);break;case 89:this.$=e[t-3],n.setClickEvent(e[t-2],e[t-1],e[t]);break;case 90:this.$=e[t-4],n.setClickEvent(e[t-3],e[t-2],e[t-1]),n.setTooltip(e[t-3],e[t]);break;case 91:this.$=e[t-3],n.setLink(e[t-2],e[t]);break;case 92:this.$=e[t-4],n.setLink(e[t-3],e[t-1],e[t]);break;case 93:this.$=e[t-4],n.setLink(e[t-3],e[t-1]),n.setTooltip(e[t-3],e[t]);break;case 94:this.$=e[t-5],n.setLink(e[t-4],e[t-2],e[t]),n.setTooltip(e[t-4],e[t-1]);break;case 95:this.$=e[t-2],n.setCssStyle(e[t-1],e[t]);break;case 96:n.setCssClass(e[t-1],e[t]);break;case 97:this.$=[e[t]];break;case 98:e[t-2].push(e[t]),this.$=e[t-2];break;case 100:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:u,38:22,42:l,43:23,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Pe,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,53],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:Ae,69:be,70:fe,71:ke,72:Ce,73:we,74:Me}),{39:[1,65]},s(te,[2,40],{39:[1,67],44:[1,66]}),s(p,[2,55]),s(p,[2,56]),{16:68,60:_,86:y,100:T,102:D},{16:39,17:40,19:69,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:70,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:71,60:_,86:y,100:T,102:D,103:B},{60:[1,72]},{13:[1,73]},{16:39,17:40,19:74,60:_,86:y,100:T,102:D,103:B},{13:ze,55:75},{58:77,60:[1,78]},s(p,[2,66]),s(p,[2,67]),s(p,[2,68]),s(p,[2,69]),s(X,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],60:_,86:y,100:T,102:D,103:B}),s(X,[2,15],{20:[1,82]}),{15:83,16:84,17:85,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:86,60:_,86:y,100:T,102:D,103:B},s(Ee,[2,123]),s(Ee,[2,124]),s(Ee,[2,125]),s(Ee,[2,126]),s([1,8,9,12,13,20,22,39,41,44,68,69,70,71,72,73,74,79,81],[2,127]),s(Pe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:i,35:a,37:u,42:l,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:u,38:22,42:l,43:23,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,90],16:39,17:40,19:89,60:_,86:y,100:T,102:D,103:B},{53:91,66:56,67:57,68:Ae,69:be,70:fe,71:ke,72:Ce,73:we,74:Me},s(p,[2,54]),{67:92,73:we,74:Me},s(me,[2,73],{66:93,68:Ae,69:be,70:fe,71:ke,72:Ce}),s(se,[2,74]),s(se,[2,75]),s(se,[2,76]),s(se,[2,77]),s(se,[2,78]),s(He,[2,79]),s(He,[2,80]),{8:[1,95],24:96,40:94,43:23,46:r},{16:97,60:_,86:y,100:T,102:D},{41:[1,99],45:98,51:Ve},{50:[1,101]},{13:[1,102]},{13:[1,103]},{79:[1,104],81:[1,105]},{22:ie,48:ae,59:106,60:ne,82:re,84:107,85:108,86:ue,87:le,88:oe,89:ce,90:he},{60:[1,118]},{13:ze,55:119},s(p,[2,62]),s(p,[2,128]),{22:ie,48:ae,59:120,60:ne,61:[1,121],82:re,84:107,85:108,86:ue,87:le,88:oe,89:ce,90:he},s(Qe,[2,64]),{16:39,17:40,19:122,60:_,86:y,100:T,102:D,103:B},s(X,[2,16]),s(X,[2,17]),s(X,[2,18]),{39:[2,36]},{15:124,16:84,17:85,18:[1,123],39:[2,9],60:_,86:y,100:T,102:D,103:B},{39:[2,10]},s(Re,[2,45],{11:125,12:[1,126]}),s(Pe,[2,7]),{9:[1,127]},s(ge,[2,57]),{16:39,17:40,19:128,60:_,86:y,100:T,102:D,103:B},{13:[1,130],16:39,17:40,19:129,60:_,86:y,100:T,102:D,103:B},s(me,[2,72],{66:131,68:Ae,69:be,70:fe,71:ke,72:Ce}),s(me,[2,71]),{41:[1,132]},{24:96,40:133,43:23,46:r},{8:[1,134],41:[2,37]},s(te,[2,41],{39:[1,135]}),{41:[1,136]},s(te,[2,43]),{41:[2,51],45:137,51:Ve},{16:39,17:40,19:138,60:_,86:y,100:T,102:D,103:B},s(p,[2,81],{13:[1,139]}),s(p,[2,83],{13:[1,141],77:[1,140]}),s(p,[2,87],{13:[1,142],80:[1,143]}),{13:[1,144]},s(p,[2,95],{61:Je}),s(Xe,[2,97],{85:146,22:ie,48:ae,60:ne,82:re,86:ue,87:le,88:oe,89:ce,90:he}),s(P,[2,99]),s(P,[2,101]),s(P,[2,102]),s(P,[2,103]),s(P,[2,104]),s(P,[2,105]),s(P,[2,106]),s(P,[2,107]),s(P,[2,108]),s(P,[2,109]),s(p,[2,96]),s(p,[2,61]),s(p,[2,63],{61:Je}),{60:[1,147]},s(X,[2,14]),{15:148,16:84,17:85,60:_,86:y,100:T,102:D,103:B},{39:[2,12]},s(Re,[2,46]),{13:[1,149]},{1:[2,4]},s(ge,[2,59]),s(ge,[2,58]),{16:39,17:40,19:150,60:_,86:y,100:T,102:D,103:B},s(me,[2,70]),s(p,[2,34]),{41:[1,151]},{24:96,40:152,41:[2,38],43:23,46:r},{45:153,51:Ve},s(te,[2,42]),{41:[2,52]},s(p,[2,50]),s(p,[2,82]),s(p,[2,84]),s(p,[2,85],{77:[1,154]}),s(p,[2,88]),s(p,[2,89],{13:[1,155]}),s(p,[2,91],{13:[1,157],77:[1,156]}),{22:ie,48:ae,60:ne,82:re,84:158,85:108,86:ue,87:le,88:oe,89:ce,90:he},s(P,[2,100]),s(Qe,[2,65]),{39:[2,11]},{14:[1,159]},s(ge,[2,60]),s(p,[2,35]),{41:[2,39]},{41:[1,160]},s(p,[2,86]),s(p,[2,90]),s(p,[2,92]),s(p,[2,93],{77:[1,161]}),s(Xe,[2,98],{85:146,22:ie,48:ae,60:ne,82:re,86:ue,87:le,88:oe,89:ce,90:he}),s(Re,[2,8]),s(te,[2,44]),s(p,[2,94])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],124:[2,12],127:[2,4],137:[2,52],148:[2,11],152:[2,39]},parseError:(0,h.eW)(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:(0,h.eW)(function(c){var d=this,A=[0],n=[],E=[null],e=[],de=this.table,t="",ye=0,Ze=0,qe=0,ht=2,$e=1,dt=e.slice.call(arguments,1),F=Object.create(this.lexer),j={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(j.yy[Ue]=this.yy[Ue]);F.setInput(c,j.yy),j.yy.lexer=F,j.yy.parser=this,typeof F.yylloc=="undefined"&&(F.yylloc={});var Ge=F.yylloc;e.push(Ge);var pt=F.options&&F.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function At(O){A.length=A.length-2*O,E.length=E.length-O,e.length=e.length-O}(0,h.eW)(At,"popStack");function et(){var O;return O=n.pop()||F.lex()||$e,typeof O!="number"&&(O instanceof Array&&(n=O,O=n.pop()),O=d.symbols_[O]||O),O}(0,h.eW)(et,"lex");for(var L,Ye,z,I,bt,Ke,Z={},Te,W,tt,De;;){if(z=A[A.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((L===null||typeof L=="undefined")&&(L=et()),I=de[z]&&de[z][L]),typeof I=="undefined"||!I.length||!I[0]){var je="";De=[];for(Te in de[z])this.terminals_[Te]&&Te>ht&&De.push("'"+this.terminals_[Te]+"'");F.showPosition?je="Parse error on line "+(ye+1)+`:
1
+ !(function(){"use strict";var st=(q,M,m)=>new Promise((V,S)=>{var G=o=>{try{x(m.next(o))}catch(h){S(h)}},R=o=>{try{x(m.throw(o))}catch(h){S(h)}},x=o=>o.done?V(o.value):Promise.resolve(o.value).then(G,R);x((m=m.apply(q,M)).next())});(self.webpackChunkpaul_ai_assistant=self.webpackChunkpaul_ai_assistant||[]).push([[7329],{26620:function(q,M,m){m.d(M,{q:function(){return G}});var V=m(35096),S=m(989),G=(0,V.eW)((R,x)=>{let o;return x==="sandbox"&&(o=(0,S.Ys)("#i"+R)),(x==="sandbox"?(0,S.Ys)(o.nodes()[0].contentDocument.body):(0,S.Ys)("body")).select(`[id="${R}"]`)},"getDiagramElement")},7329:function(q,M,m){var Q,J;m.d(M,{Ee:function(){return nt},P0:function(){return Y},b0:function(){return ot},dR:function(){return it}});var V=m(61392),S=m(26620),G=m(43663),R=m(23386),x=m(4284),o=m(99970),h=m(35096),v=m(989),w=function(){var s=(0,h.eW)(function(U,c,d,A){for(d=d||{},A=U.length;A--;d[U[A]]=c);return d},"o"),i=[1,18],a=[1,19],u=[1,20],l=[1,41],r=[1,42],f=[1,26],k=[1,24],g=[1,25],b=[1,32],C=[1,33],N=[1,34],_=[1,45],Be=[1,35],Fe=[1,36],Se=[1,37],ve=[1,38],Ne=[1,27],Le=[1,28],xe=[1,29],Oe=[1,30],Ie=[1,31],y=[1,44],T=[1,46],D=[1,43],B=[1,47],Pe=[1,9],p=[1,8,9],Ae=[1,58],be=[1,59],fe=[1,60],ke=[1,61],Ce=[1,62],we=[1,63],Me=[1,64],te=[1,8,9,41],ze=[1,76],X=[1,8,9,12,13,22,39,41,44,68,69,70,71,72,73,74,79,81],Ee=[1,8,9,12,13,18,20,22,39,41,44,50,60,68,69,70,71,72,73,74,79,81,86,100,102,103],me=[13,60,86,100,102,103],se=[13,60,73,74,86,100,102,103],He=[13,60,68,69,70,71,72,86,100,102,103],Ve=[1,100],ie=[1,117],ae=[1,113],ne=[1,109],re=[1,115],ue=[1,110],le=[1,111],oe=[1,112],ce=[1,114],he=[1,116],Qe=[22,48,60,61,82,86,87,88,89,90],Re=[1,8,9,39,41,44],ge=[1,8,9,22],Je=[1,145],Xe=[1,8,9,61],P=[1,8,9,22,48,60,61,82,86,87,88,89,90],We={trace:(0,h.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,emptyBody:47,SPACE:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",48:"SPACE",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[43,2],[43,3],[47,0],[47,2],[47,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,h.eW)(function(c,d,A,n,E,e,de){var t=e.length-1;switch(E){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:n.addRelation(e[t]);break;case 20:e[t-1].title=n.cleanupLabel(e[t]),n.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),n.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),n.setAccDescription(this.$);break;case 34:n.addClassesToNamespace(e[t-3],e[t-1]);break;case 35:n.addClassesToNamespace(e[t-4],e[t-1]);break;case 36:this.$=e[t],n.addNamespace(e[t]);break;case 37:this.$=[e[t]];break;case 38:this.$=[e[t-1]];break;case 39:e[t].unshift(e[t-2]),this.$=e[t];break;case 41:n.setCssClass(e[t-2],e[t]);break;case 42:n.addMembers(e[t-3],e[t-1]);break;case 44:n.setCssClass(e[t-5],e[t-3]),n.addMembers(e[t-5],e[t-1]);break;case 45:this.$=e[t],n.addClass(e[t]);break;case 46:this.$=e[t-1],n.addClass(e[t-1]),n.setClassLabel(e[t-1],e[t]);break;case 50:n.addAnnotation(e[t],e[t-2]);break;case 51:case 64:this.$=[e[t]];break;case 52:e[t].push(e[t-1]),this.$=e[t];break;case 53:break;case 54:n.addMember(e[t-1],n.cleanupLabel(e[t]));break;case 55:break;case 56:break;case 57:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 58:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 59:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 60:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 61:n.addNote(e[t],e[t-1]);break;case 62:n.addNote(e[t]);break;case 63:this.$=e[t-2],n.defineClass(e[t-1],e[t]);break;case 65:this.$=e[t-2].concat([e[t]]);break;case 66:n.setDirection("TB");break;case 67:n.setDirection("BT");break;case 68:n.setDirection("RL");break;case 69:n.setDirection("LR");break;case 70:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 71:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 72:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 73:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 74:this.$=n.relationType.AGGREGATION;break;case 75:this.$=n.relationType.EXTENSION;break;case 76:this.$=n.relationType.COMPOSITION;break;case 77:this.$=n.relationType.DEPENDENCY;break;case 78:this.$=n.relationType.LOLLIPOP;break;case 79:this.$=n.lineType.LINE;break;case 80:this.$=n.lineType.DOTTED_LINE;break;case 81:case 87:this.$=e[t-2],n.setClickEvent(e[t-1],e[t]);break;case 82:case 88:this.$=e[t-3],n.setClickEvent(e[t-2],e[t-1]),n.setTooltip(e[t-2],e[t]);break;case 83:this.$=e[t-2],n.setLink(e[t-1],e[t]);break;case 84:this.$=e[t-3],n.setLink(e[t-2],e[t-1],e[t]);break;case 85:this.$=e[t-3],n.setLink(e[t-2],e[t-1]),n.setTooltip(e[t-2],e[t]);break;case 86:this.$=e[t-4],n.setLink(e[t-3],e[t-2],e[t]),n.setTooltip(e[t-3],e[t-1]);break;case 89:this.$=e[t-3],n.setClickEvent(e[t-2],e[t-1],e[t]);break;case 90:this.$=e[t-4],n.setClickEvent(e[t-3],e[t-2],e[t-1]),n.setTooltip(e[t-3],e[t]);break;case 91:this.$=e[t-3],n.setLink(e[t-2],e[t]);break;case 92:this.$=e[t-4],n.setLink(e[t-3],e[t-1],e[t]);break;case 93:this.$=e[t-4],n.setLink(e[t-3],e[t-1]),n.setTooltip(e[t-3],e[t]);break;case 94:this.$=e[t-5],n.setLink(e[t-4],e[t-2],e[t]),n.setTooltip(e[t-4],e[t-1]);break;case 95:this.$=e[t-2],n.setCssStyle(e[t-1],e[t]);break;case 96:n.setCssClass(e[t-1],e[t]);break;case 97:this.$=[e[t]];break;case 98:e[t-2].push(e[t]),this.$=e[t-2];break;case 100:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:u,38:22,42:l,43:23,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Pe,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,53],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:Ae,69:be,70:fe,71:ke,72:Ce,73:we,74:Me}),{39:[1,65]},s(te,[2,40],{39:[1,67],44:[1,66]}),s(p,[2,55]),s(p,[2,56]),{16:68,60:_,86:y,100:T,102:D},{16:39,17:40,19:69,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:70,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:71,60:_,86:y,100:T,102:D,103:B},{60:[1,72]},{13:[1,73]},{16:39,17:40,19:74,60:_,86:y,100:T,102:D,103:B},{13:ze,55:75},{58:77,60:[1,78]},s(p,[2,66]),s(p,[2,67]),s(p,[2,68]),s(p,[2,69]),s(X,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],60:_,86:y,100:T,102:D,103:B}),s(X,[2,15],{20:[1,82]}),{15:83,16:84,17:85,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:86,60:_,86:y,100:T,102:D,103:B},s(Ee,[2,123]),s(Ee,[2,124]),s(Ee,[2,125]),s(Ee,[2,126]),s([1,8,9,12,13,20,22,39,41,44,68,69,70,71,72,73,74,79,81],[2,127]),s(Pe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:i,35:a,37:u,42:l,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:u,38:22,42:l,43:23,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,90],16:39,17:40,19:89,60:_,86:y,100:T,102:D,103:B},{53:91,66:56,67:57,68:Ae,69:be,70:fe,71:ke,72:Ce,73:we,74:Me},s(p,[2,54]),{67:92,73:we,74:Me},s(me,[2,73],{66:93,68:Ae,69:be,70:fe,71:ke,72:Ce}),s(se,[2,74]),s(se,[2,75]),s(se,[2,76]),s(se,[2,77]),s(se,[2,78]),s(He,[2,79]),s(He,[2,80]),{8:[1,95],24:96,40:94,43:23,46:r},{16:97,60:_,86:y,100:T,102:D},{41:[1,99],45:98,51:Ve},{50:[1,101]},{13:[1,102]},{13:[1,103]},{79:[1,104],81:[1,105]},{22:ie,48:ae,59:106,60:ne,82:re,84:107,85:108,86:ue,87:le,88:oe,89:ce,90:he},{60:[1,118]},{13:ze,55:119},s(p,[2,62]),s(p,[2,128]),{22:ie,48:ae,59:120,60:ne,61:[1,121],82:re,84:107,85:108,86:ue,87:le,88:oe,89:ce,90:he},s(Qe,[2,64]),{16:39,17:40,19:122,60:_,86:y,100:T,102:D,103:B},s(X,[2,16]),s(X,[2,17]),s(X,[2,18]),{39:[2,36]},{15:124,16:84,17:85,18:[1,123],39:[2,9],60:_,86:y,100:T,102:D,103:B},{39:[2,10]},s(Re,[2,45],{11:125,12:[1,126]}),s(Pe,[2,7]),{9:[1,127]},s(ge,[2,57]),{16:39,17:40,19:128,60:_,86:y,100:T,102:D,103:B},{13:[1,130],16:39,17:40,19:129,60:_,86:y,100:T,102:D,103:B},s(me,[2,72],{66:131,68:Ae,69:be,70:fe,71:ke,72:Ce}),s(me,[2,71]),{41:[1,132]},{24:96,40:133,43:23,46:r},{8:[1,134],41:[2,37]},s(te,[2,41],{39:[1,135]}),{41:[1,136]},s(te,[2,43]),{41:[2,51],45:137,51:Ve},{16:39,17:40,19:138,60:_,86:y,100:T,102:D,103:B},s(p,[2,81],{13:[1,139]}),s(p,[2,83],{13:[1,141],77:[1,140]}),s(p,[2,87],{13:[1,142],80:[1,143]}),{13:[1,144]},s(p,[2,95],{61:Je}),s(Xe,[2,97],{85:146,22:ie,48:ae,60:ne,82:re,86:ue,87:le,88:oe,89:ce,90:he}),s(P,[2,99]),s(P,[2,101]),s(P,[2,102]),s(P,[2,103]),s(P,[2,104]),s(P,[2,105]),s(P,[2,106]),s(P,[2,107]),s(P,[2,108]),s(P,[2,109]),s(p,[2,96]),s(p,[2,61]),s(p,[2,63],{61:Je}),{60:[1,147]},s(X,[2,14]),{15:148,16:84,17:85,60:_,86:y,100:T,102:D,103:B},{39:[2,12]},s(Re,[2,46]),{13:[1,149]},{1:[2,4]},s(ge,[2,59]),s(ge,[2,58]),{16:39,17:40,19:150,60:_,86:y,100:T,102:D,103:B},s(me,[2,70]),s(p,[2,34]),{41:[1,151]},{24:96,40:152,41:[2,38],43:23,46:r},{45:153,51:Ve},s(te,[2,42]),{41:[2,52]},s(p,[2,50]),s(p,[2,82]),s(p,[2,84]),s(p,[2,85],{77:[1,154]}),s(p,[2,88]),s(p,[2,89],{13:[1,155]}),s(p,[2,91],{13:[1,157],77:[1,156]}),{22:ie,48:ae,60:ne,82:re,84:158,85:108,86:ue,87:le,88:oe,89:ce,90:he},s(P,[2,100]),s(Qe,[2,65]),{39:[2,11]},{14:[1,159]},s(ge,[2,60]),s(p,[2,35]),{41:[2,39]},{41:[1,160]},s(p,[2,86]),s(p,[2,90]),s(p,[2,92]),s(p,[2,93],{77:[1,161]}),s(Xe,[2,98],{85:146,22:ie,48:ae,60:ne,82:re,86:ue,87:le,88:oe,89:ce,90:he}),s(Re,[2,8]),s(te,[2,44]),s(p,[2,94])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],124:[2,12],127:[2,4],137:[2,52],148:[2,11],152:[2,39]},parseError:(0,h.eW)(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:(0,h.eW)(function(c){var d=this,A=[0],n=[],E=[null],e=[],de=this.table,t="",ye=0,Ze=0,qe=0,ht=2,$e=1,dt=e.slice.call(arguments,1),F=Object.create(this.lexer),j={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(j.yy[Ue]=this.yy[Ue]);F.setInput(c,j.yy),j.yy.lexer=F,j.yy.parser=this,typeof F.yylloc=="undefined"&&(F.yylloc={});var Ge=F.yylloc;e.push(Ge);var pt=F.options&&F.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function At(O){A.length=A.length-2*O,E.length=E.length-O,e.length=e.length-O}(0,h.eW)(At,"popStack");function et(){var O;return O=n.pop()||F.lex()||$e,typeof O!="number"&&(O instanceof Array&&(n=O,O=n.pop()),O=d.symbols_[O]||O),O}(0,h.eW)(et,"lex");for(var L,Ye,z,I,bt,Ke,Z={},Te,W,tt,De;;){if(z=A[A.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((L===null||typeof L=="undefined")&&(L=et()),I=de[z]&&de[z][L]),typeof I=="undefined"||!I.length||!I[0]){var je="";De=[];for(Te in de[z])this.terminals_[Te]&&Te>ht&&De.push("'"+this.terminals_[Te]+"'");F.showPosition?je="Parse error on line "+(ye+1)+`:
2
2
  `+F.showPosition()+`
3
3
  Expecting `+De.join(", ")+", got '"+(this.terminals_[L]||L)+"'":je="Parse error on line "+(ye+1)+": Unexpected "+(L==$e?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(je,{text:F.match,token:this.terminals_[L]||L,line:F.yylineno,loc:Ge,expected:De})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+L);switch(I[0]){case 1:A.push(L),E.push(F.yytext),e.push(F.yylloc),A.push(I[1]),L=null,Ye?(L=Ye,Ye=null):(Ze=F.yyleng,t=F.yytext,ye=F.yylineno,Ge=F.yylloc,qe>0&&qe--);break;case 2:if(W=this.productions_[I[1]][1],Z.$=E[E.length-W],Z._$={first_line:e[e.length-(W||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(W||1)].first_column,last_column:e[e.length-1].last_column},pt&&(Z._$.range=[e[e.length-(W||1)].range[0],e[e.length-1].range[1]]),Ke=this.performAction.apply(Z,[t,Ze,ye,j.yy,I[1],E,e].concat(dt)),typeof Ke!="undefined")return Ke;W&&(A=A.slice(0,-1*W*2),E=E.slice(0,-1*W),e=e.slice(0,-1*W)),A.push(this.productions_[I[1]][0]),E.push(Z.$),e.push(Z._$),tt=de[A[A.length-2]][A[A.length-1]],A.push(tt);break;case 3:return!0}}return!0},"parse")},ct=function(){var U={EOF:1,parseError:(0,h.eW)(function(d,A){if(this.yy.parser)this.yy.parser.parseError(d,A);else throw new Error(d)},"parseError"),setInput:(0,h.eW)(function(c,d){return this.yy=d||this.yy||{},this._input=c,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:(0,h.eW)(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:(0,h.eW)(function(c){var d=c.length,A=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var n=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),A.length-1&&(this.yylineno-=A.length-1);var E=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:A?(A.length===n.length?this.yylloc.first_column:0)+n[n.length-A.length].length-A[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:(0,h.eW)(function(){return this._more=!0,this},"more"),reject:(0,h.eW)(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:(0,h.eW)(function(c){this.unput(this.match.slice(c))},"less"),pastInput:(0,h.eW)(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,h.eW)(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,h.eW)(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
@@ -1,9 +1,9 @@
1
- "use strict";(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[7718],{97718:function(Kt,kt,C){C.d(kt,{diagram:function(){return Ut}});var K=C(99970),i=C(35096),R=C(989),vt=C(91619),bt=C(85920),wt=C(7201),X=function(){var n=(0,i.eW)(function(f,s,a,h){for(a=a||{},h=f.length;h--;a[f[h]]=s);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline: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,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",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",20:"period",21:"event"},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,1],[9,1],[18,1],[19,1]],performAction:(0,i.eW)(function(s,a,h,u,y,o,W){var _=o.length-1;switch(y){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 15:u.addTask(o[_],0,""),this.$=o[_];break;case 16:u.addEvent(o[_].substr(2)),this.$=o[_];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:(0,i.eW)(function(s,a){if(a.recoverable)this.trace(s);else{var h=new Error(s);throw h.hash=a,h}},"parseError"),parse:(0,i.eW)(function(s){var a=this,h=[0],u=[],y=[null],o=[],W=this.table,_="",P=0,H=0,F=0,xt=2,U=1,J=o.slice.call(arguments,1),k=Object.create(this.lexer),M={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(M.yy[z]=this.yy[z]);k.setInput(s,M.yy),M.yy.lexer=k,M.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var V=k.yylloc;o.push(V);var A=k.options&&k.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function w(S){h.length=h.length-2*S,y.length=y.length-S,o.length=o.length-S}(0,i.eW)(w,"popStack");function I(){var S;return S=u.pop()||k.lex()||U,typeof S!="number"&&(S instanceof Array&&(u=S,S=u.pop()),S=a.symbols_[S]||S),S}(0,i.eW)(I,"lex");for(var v,L,T,E,Zt,et,j={},Q,N,_t,Y;;){if(T=h[h.length-1],this.defaultActions[T]?E=this.defaultActions[T]:((v===null||typeof v=="undefined")&&(v=I()),E=W[T]&&W[T][v]),typeof E=="undefined"||!E.length||!E[0]){var nt="";Y=[];for(Q in W[T])this.terminals_[Q]&&Q>xt&&Y.push("'"+this.terminals_[Q]+"'");k.showPosition?nt="Parse error on line "+(P+1)+`:
1
+ "use strict";(self.webpackChunkpaul_ai_assistant=self.webpackChunkpaul_ai_assistant||[]).push([[7718],{97718:function(Kt,kt,C){C.d(kt,{diagram:function(){return Ut}});var K=C(99970),s=C(35096),R=C(989),vt=C(91619),bt=C(85920),wt=C(7201),X=function(){var n=(0,s.eW)(function(f,i,a,h){for(a=a||{},h=f.length;h--;a[f[h]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:(0,s.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline: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,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",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",20:"period",21:"event"},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,1],[9,1],[18,1],[19,1]],performAction:(0,s.eW)(function(i,a,h,u,y,o,W){var _=o.length-1;switch(y){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 15:u.addTask(o[_],0,""),this.$=o[_];break;case 16:u.addEvent(o[_].substr(2)),this.$=o[_];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:(0,s.eW)(function(i,a){if(a.recoverable)this.trace(i);else{var h=new Error(i);throw h.hash=a,h}},"parseError"),parse:(0,s.eW)(function(i){var a=this,h=[0],u=[],y=[null],o=[],W=this.table,_="",P=0,H=0,F=0,xt=2,U=1,J=o.slice.call(arguments,1),k=Object.create(this.lexer),M={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(M.yy[z]=this.yy[z]);k.setInput(i,M.yy),M.yy.lexer=k,M.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var V=k.yylloc;o.push(V);var A=k.options&&k.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function w(S){h.length=h.length-2*S,y.length=y.length-S,o.length=o.length-S}(0,s.eW)(w,"popStack");function I(){var S;return S=u.pop()||k.lex()||U,typeof S!="number"&&(S instanceof Array&&(u=S,S=u.pop()),S=a.symbols_[S]||S),S}(0,s.eW)(I,"lex");for(var v,L,T,E,Zt,et,j={},Q,N,_t,Y;;){if(T=h[h.length-1],this.defaultActions[T]?E=this.defaultActions[T]:((v===null||typeof v=="undefined")&&(v=I()),E=W[T]&&W[T][v]),typeof E=="undefined"||!E.length||!E[0]){var nt="";Y=[];for(Q in W[T])this.terminals_[Q]&&Q>xt&&Y.push("'"+this.terminals_[Q]+"'");k.showPosition?nt="Parse error on line "+(P+1)+`:
2
2
  `+k.showPosition()+`
3
- Expecting `+Y.join(", ")+", got '"+(this.terminals_[v]||v)+"'":nt="Parse error on line "+(P+1)+": Unexpected "+(v==U?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(nt,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:V,expected:Y})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+v);switch(E[0]){case 1:h.push(v),y.push(k.yytext),o.push(k.yylloc),h.push(E[1]),v=null,L?(v=L,L=null):(H=k.yyleng,_=k.yytext,P=k.yylineno,V=k.yylloc,F>0&&F--);break;case 2:if(N=this.productions_[E[1]][1],j.$=y[y.length-N],j._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},A&&(j._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),et=this.performAction.apply(j,[_,H,P,M.yy,E[1],y,o].concat(J)),typeof et!="undefined")return et;N&&(h=h.slice(0,-1*N*2),y=y.slice(0,-1*N),o=o.slice(0,-1*N)),h.push(this.productions_[E[1]][0]),y.push(j.$),o.push(j._$),_t=W[h[h.length-2]][h[h.length-1]],h.push(_t);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:(0,i.eW)(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:(0,i.eW)(function(s,a){return this.yy=a||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:(0,i.eW)(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.match(/(?:\r\n?|\n).*/g);return a?(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:(0,i.eW)(function(s){var a=s.length,h=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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),h.length-1&&(this.yylineno-=h.length-1);var y=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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(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
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:(0,i.eW)(function(s){this.unput(this.match.slice(s))},"less"),pastInput:(0,i.eW)(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:(0,i.eW)(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:(0,i.eW)(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
- `+a+"^"},"showPosition"),test_match:(0,i.eW)(function(s,a){var h,u,y;if(this.options.backtrack_lexer&&(y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(y.yylloc.range=this.yylloc.range.slice(0))),u=s[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var o in y)this[o]=y[o];return!1}return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,h,u;this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),o=0;o<y.length;o++)if(h=this._input.match(this.rules[y[o]]),h&&(!a||h[0].length>a[0].length)){if(a=h,u=o,this.options.backtrack_lexer){if(s=this.test_match(h,y[o]),s!==!1)return s;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(s=this.test_match(a,y[u]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.eW)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.eW)(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(a,h,u,y){var o=y;switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return f}();p.lexer=x;function b(){this.yy={}}return(0,i.eW)(b,"Parser"),b.prototype=p,p.Parser=b,new b}();X.parser=X;var Wt=X,rt={};(0,i.r2)(rt,{addEvent:()=>dt,addSection:()=>lt,addTask:()=>ht,addTaskOrg:()=>ut,clear:()=>at,default:()=>Et,getCommonDb:()=>st,getSections:()=>ot,getTasks:()=>ct});var O="",it=0,q=[],Z=[],B=[],st=(0,i.eW)(()=>K.LJ,"getCommonDb"),at=(0,i.eW)(function(){q.length=0,Z.length=0,O="",B.length=0,(0,K.ZH)()},"clear"),lt=(0,i.eW)(function(n){O=n,q.push(n)},"addSection"),ot=(0,i.eW)(function(){return q},"getSections"),ct=(0,i.eW)(function(){let n=pt();const t=100;let e=0;for(;!n&&e<t;)n=pt(),e++;return Z.push(...B),Z},"getTasks"),ht=(0,i.eW)(function(n,t,e){const l={id:it++,section:O,type:O,task:n,score:t||0,events:e?[e]:[]};B.push(l)},"addTask"),dt=(0,i.eW)(function(n){B.find(e=>e.id===it-1).events.push(n)},"addEvent"),ut=(0,i.eW)(function(n){const t={section:O,type:O,description:n,task:n,classes:[]};Z.push(t)},"addTaskOrg"),pt=(0,i.eW)(function(){const n=(0,i.eW)(function(e){return B[e].processed},"compileTask");let t=!0;for(const[e,l]of B.entries())n(e),t=t&&l.processed;return t},"compileTasks"),Et={clear:at,getCommonDb:st,addSection:lt,getSections:ot,getTasks:ct,addTask:ht,addTaskOrg:ut,addEvent:dt},St=12,G=(0,i.eW)(function(n,t){const e=n.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},"drawRect"),Tt=(0,i.eW)(function(n,t){const l=n.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=n.append("g");r.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(m){const p=(0,R.Nb1)().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}(0,i.eW)(d,"smile");function c(m){const p=(0,R.Nb1)().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}(0,i.eW)(c,"sad");function g(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return(0,i.eW)(g,"ambivalent"),t.score>3?d(r):t.score<3?c(r):g(r),l},"drawFace"),Mt=(0,i.eW)(function(n,t){const e=n.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},"drawCircle"),yt=(0,i.eW)(function(n,t){const e=t.text.replace(/<br\s*\/?>/gi," "),l=n.append("text");l.attr("x",t.x),l.attr("y",t.y),l.attr("class","legend"),l.style("text-anchor",t.anchor),t.class!==void 0&&l.attr("class",t.class);const r=l.append("tspan");return r.attr("x",t.x+t.textMargin*2),r.text(e),l},"drawText"),It=(0,i.eW)(function(n,t){function e(r,d,c,g,m){return r+","+d+" "+(r+c)+","+d+" "+(r+c)+","+(d+g-m)+" "+(r+c-m*1.2)+","+(d+g)+" "+r+","+(d+g)}(0,i.eW)(e,"genPoints");const l=n.append("polygon");l.attr("points",e(t.x,t.y,50,20,7)),l.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,yt(n,t)},"drawLabel"),Pt=(0,i.eW)(function(n,t,e){const l=n.append("g"),r=D();r.x=t.x,r.y=t.y,r.fill=t.fill,r.width=e.width,r.height=e.height,r.class="journey-section section-type-"+t.num,r.rx=3,r.ry=3,G(l,r),ft(e)(t.text,l,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+t.num},e,t.colour)},"drawSection"),gt=-1,Lt=(0,i.eW)(function(n,t,e){const l=t.x+e.width/2,r=n.append("g");gt++;const d=300+5*30;r.append("line").attr("id","task"+gt).attr("x1",l).attr("y1",t.y).attr("x2",l).attr("y2",d).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Tt(r,{cx:l,cy:300+(5-t.score)*30,score:t.score});const c=D();c.x=t.x,c.y=t.y,c.fill=t.fill,c.width=e.width,c.height=e.height,c.class="task task-type-"+t.num,c.rx=3,c.ry=3,G(r,c),ft(e)(t.task,r,c.x,c.y,c.width,c.height,{class:"task"},e,t.colour)},"drawTask"),Nt=(0,i.eW)(function(n,t){G(n,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),At=(0,i.eW)(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),D=(0,i.eW)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),ft=function(){function n(r,d,c,g,m,p,x,b){const f=d.append("text").attr("x",c+m/2).attr("y",g+p/2+5).style("font-color",b).style("text-anchor","middle").text(r);l(f,x)}(0,i.eW)(n,"byText");function t(r,d,c,g,m,p,x,b,f){const{taskFontSize:s,taskFontFamily:a}=b,h=r.split(/<br\s*\/?>/gi);for(let u=0;u<h.length;u++){const y=u*s-s*(h.length-1)/2,o=d.append("text").attr("x",c+m/2).attr("y",g).attr("fill",f).style("text-anchor","middle").style("font-size",s).style("font-family",a);o.append("tspan").attr("x",c+m/2).attr("dy",y).text(h[u]),o.attr("y",g+p/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(o,x)}}(0,i.eW)(t,"byTspan");function e(r,d,c,g,m,p,x,b){const f=d.append("switch"),a=f.append("foreignObject").attr("x",c).attr("y",g).attr("width",m).attr("height",p).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),t(r,f,c,g,m,p,x,b),l(a,x)}(0,i.eW)(e,"byFo");function l(r,d){for(const c in d)c in d&&r.attr(c,d[c])}return(0,i.eW)(l,"_setTextAttrs"),function(r){return r.textPlacement==="fo"?e:r.textPlacement==="old"?n:t}}(),Ct=(0,i.eW)(function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function tt(n,t){n.each(function(){var e=(0,R.Ys)(this),l=e.text().split(/(\s+|<br>)/).reverse(),r,d=[],c=1.1,g=e.attr("y"),m=parseFloat(e.attr("dy")),p=e.text(null).append("tspan").attr("x",0).attr("y",g).attr("dy",m+"em");for(let x=0;x<l.length;x++)r=l[l.length-1-x],d.push(r),p.text(d.join(" ").trim()),(p.node().getComputedTextLength()>t||r==="<br>")&&(d.pop(),p.text(d.join(" ").trim()),r==="<br>"?d=[""]:d=[r],p=e.append("tspan").attr("x",0).attr("y",g).attr("dy",c+"em").text(r))})}(0,i.eW)(tt,"wrap");var $t=(0,i.eW)(function(n,t,e,l){var b;const r=e%St-1,d=n.append("g");t.section=r,d.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+r));const c=d.append("g"),g=d.append("g"),p=g.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(tt,t.width).node().getBBox(),x=(b=l.fontSize)!=null&&b.replace?l.fontSize.replace("px",""):l.fontSize;return t.height=p.height+x*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,g.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),Rt(c,t,r,l),t},"drawNode"),Ht=(0,i.eW)(function(n,t,e){var g;const l=n.append("g"),d=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(tt,t.width).node().getBBox(),c=(g=e.fontSize)!=null&&g.replace?e.fontSize.replace("px",""):e.fontSize;return l.remove(),d.height+c*1.1*.5+t.padding},"getVirtualNodeHeight"),Rt=(0,i.eW)(function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+2*5} q0,-5 5,-5 h${t.width-2*5} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),$={drawRect:G,drawCircle:Mt,drawSection:Pt,drawText:yt,drawLabel:It,drawTask:Lt,drawBackgroundRect:Nt,getTextObj:At,getNoteRect:D,initGraphics:Ct,drawNode:$t,getVirtualNodeHeight:Ht},Ot=(0,i.eW)(function(n,t,e,l){var U,J,k,M,z,V;const r=(0,K.nV)(),d=(J=(U=r.timeline)==null?void 0:U.leftMargin)!=null?J:50;i.cM.debug("timeline",l.db);const c=r.securityLevel;let g;c==="sandbox"&&(g=(0,R.Ys)("#i"+t));const p=(c==="sandbox"?(0,R.Ys)(g.nodes()[0].contentDocument.body):(0,R.Ys)("body")).select("#"+t);p.append("g");const x=l.db.getTasks(),b=l.db.getCommonDb().getDiagramTitle();i.cM.debug("task",x),$.initGraphics(p);const f=l.db.getSections();i.cM.debug("sections",f);let s=0,a=0,h=0,u=0,y=50+d,o=50;u=50;let W=0,_=!0;f.forEach(function(A){const w={number:W,descr:A,section:W,width:150,padding:20,maxHeight:s},I=$.getVirtualNodeHeight(p,w,r);i.cM.debug("sectionHeight before draw",I),s=Math.max(s,I+20)});let P=0,H=0;i.cM.debug("tasks.length",x.length);for(const[A,w]of x.entries()){const I={number:A,descr:w,section:w.section,width:150,padding:20,maxHeight:a},v=$.getVirtualNodeHeight(p,I,r);i.cM.debug("taskHeight before draw",v),a=Math.max(a,v+20),P=Math.max(P,w.events.length);let L=0;for(const T of w.events){const E={descr:T,section:w.section,number:w.section,width:150,padding:20,maxHeight:50};L+=$.getVirtualNodeHeight(p,E,r)}w.events.length>0&&(L+=(w.events.length-1)*10),H=Math.max(H,L)}i.cM.debug("maxSectionHeight before draw",s),i.cM.debug("maxTaskHeight before draw",a),f&&f.length>0?f.forEach(A=>{const w=x.filter(T=>T.section===A),I={number:W,descr:A,section:W,width:200*Math.max(w.length,1)-50,padding:20,maxHeight:s};i.cM.debug("sectionNode",I);const v=p.append("g"),L=$.drawNode(v,I,W,r);i.cM.debug("sectionNode output",L),v.attr("transform",`translate(${y}, ${u})`),o+=s+50,w.length>0&&mt(p,w,W,y,o,a,r,P,H,s,!1),y+=200*Math.max(w.length,1),o=u,W++}):(_=!1,mt(p,x,W,y,o,a,r,P,H,s,!0));const F=p.node().getBBox();i.cM.debug("bounds",F),b&&p.append("text").text(b).attr("x",F.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),h=_?s+a+150:a+100,p.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",h).attr("x2",F.width+3*d).attr("y2",h).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,K.j7)(void 0,p,(M=(k=r.timeline)==null?void 0:k.padding)!=null?M:50,(V=(z=r.timeline)==null?void 0:z.useMaxWidth)!=null?V:!1)},"draw"),mt=(0,i.eW)(function(n,t,e,l,r,d,c,g,m,p,x){var b;for(const f of t){const s={descr:f.task,section:e,number:e,width:150,padding:20,maxHeight:d};i.cM.debug("taskNode",s);const a=n.append("g").attr("class","taskWrapper"),u=$.drawNode(a,s,e,c).height;if(i.cM.debug("taskHeight after draw",u),a.attr("transform",`translate(${l}, ${r})`),d=Math.max(d,u),f.events){const y=n.append("g").attr("class","lineWrapper");let o=d;r+=100,o=o+Bt(n,f.events,e,l,r,c),r-=100,y.append("line").attr("x1",l+190/2).attr("y1",r+d).attr("x2",l+190/2).attr("y2",r+d+100+m+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}l=l+200,x&&!((b=c.timeline)!=null&&b.disableMulticolor)&&e++}r=r-10},"drawTasks"),Bt=(0,i.eW)(function(n,t,e,l,r,d){let c=0;const g=r;r=r+100;for(const m of t){const p={descr:m,section:e,number:e,width:150,padding:20,maxHeight:50};i.cM.debug("eventNode",p);const x=n.append("g").attr("class","eventWrapper"),f=$.drawNode(x,p,e,d).height;c=c+f,x.attr("transform",`translate(${l}, ${r})`),r=r+10+f}return r=g,c},"drawEvents"),Ft={setConf:(0,i.eW)(()=>{},"setConf"),draw:Ot},zt=(0,i.eW)(n=>{let t="";for(let e=0;e<n.THEME_COLOR_LIMIT;e++)n["lineColor"+e]=n["lineColor"+e]||n["cScaleInv"+e],(0,vt.Z)(n["lineColor"+e])?n["lineColor"+e]=(0,bt.Z)(n["lineColor"+e],20):n["lineColor"+e]=(0,wt.Z)(n["lineColor"+e],20);for(let e=0;e<n.THEME_COLOR_LIMIT;e++){const l=""+(17-3*e);t+=`
3
+ Expecting `+Y.join(", ")+", got '"+(this.terminals_[v]||v)+"'":nt="Parse error on line "+(P+1)+": Unexpected "+(v==U?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(nt,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:V,expected:Y})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+v);switch(E[0]){case 1:h.push(v),y.push(k.yytext),o.push(k.yylloc),h.push(E[1]),v=null,L?(v=L,L=null):(H=k.yyleng,_=k.yytext,P=k.yylineno,V=k.yylloc,F>0&&F--);break;case 2:if(N=this.productions_[E[1]][1],j.$=y[y.length-N],j._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},A&&(j._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),et=this.performAction.apply(j,[_,H,P,M.yy,E[1],y,o].concat(J)),typeof et!="undefined")return et;N&&(h=h.slice(0,-1*N*2),y=y.slice(0,-1*N),o=o.slice(0,-1*N)),h.push(this.productions_[E[1]][0]),y.push(j.$),o.push(j._$),_t=W[h[h.length-2]][h[h.length-1]],h.push(_t);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:(0,s.eW)(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:(0,s.eW)(function(i,a){return this.yy=a||this.yy||{},this._input=i,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:(0,s.eW)(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:(0,s.eW)(function(i){var a=i.length,h=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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),h.length-1&&(this.yylineno-=h.length-1);var y=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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s.eW)(function(){return this._more=!0,this},"more"),reject:(0,s.eW)(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
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:(0,s.eW)(function(i){this.unput(this.match.slice(i))},"less"),pastInput:(0,s.eW)(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.eW)(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,s.eW)(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
5
+ `+a+"^"},"showPosition"),test_match:(0,s.eW)(function(i,a){var h,u,y;if(this.options.backtrack_lexer&&(y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(y.yylloc.range=this.yylloc.range.slice(0))),u=i[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var o in y)this[o]=y[o];return!1}return!1},"test_match"),next:(0,s.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,h,u;this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),o=0;o<y.length;o++)if(h=this._input.match(this.rules[y[o]]),h&&(!a||h[0].length>a[0].length)){if(a=h,u=o,this.options.backtrack_lexer){if(i=this.test_match(h,y[o]),i!==!1)return i;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(i=this.test_match(a,y[u]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,s.eW)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,s.eW)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,s.eW)(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,s.eW)(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,s.eW)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,s.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.eW)(function(a,h,u,y){var o=y;switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return f}();p.lexer=x;function b(){this.yy={}}return(0,s.eW)(b,"Parser"),b.prototype=p,p.Parser=b,new b}();X.parser=X;var Wt=X,rt={};(0,s.r2)(rt,{addEvent:()=>dt,addSection:()=>lt,addTask:()=>ht,addTaskOrg:()=>ut,clear:()=>at,default:()=>Et,getCommonDb:()=>it,getSections:()=>ot,getTasks:()=>ct});var O="",st=0,q=[],Z=[],B=[],it=(0,s.eW)(()=>K.LJ,"getCommonDb"),at=(0,s.eW)(function(){q.length=0,Z.length=0,O="",B.length=0,(0,K.ZH)()},"clear"),lt=(0,s.eW)(function(n){O=n,q.push(n)},"addSection"),ot=(0,s.eW)(function(){return q},"getSections"),ct=(0,s.eW)(function(){let n=pt();const t=100;let e=0;for(;!n&&e<t;)n=pt(),e++;return Z.push(...B),Z},"getTasks"),ht=(0,s.eW)(function(n,t,e){const l={id:st++,section:O,type:O,task:n,score:t||0,events:e?[e]:[]};B.push(l)},"addTask"),dt=(0,s.eW)(function(n){B.find(e=>e.id===st-1).events.push(n)},"addEvent"),ut=(0,s.eW)(function(n){const t={section:O,type:O,description:n,task:n,classes:[]};Z.push(t)},"addTaskOrg"),pt=(0,s.eW)(function(){const n=(0,s.eW)(function(e){return B[e].processed},"compileTask");let t=!0;for(const[e,l]of B.entries())n(e),t=t&&l.processed;return t},"compileTasks"),Et={clear:at,getCommonDb:it,addSection:lt,getSections:ot,getTasks:ct,addTask:ht,addTaskOrg:ut,addEvent:dt},St=12,G=(0,s.eW)(function(n,t){const e=n.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},"drawRect"),Tt=(0,s.eW)(function(n,t){const l=n.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=n.append("g");r.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(m){const p=(0,R.Nb1)().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}(0,s.eW)(d,"smile");function c(m){const p=(0,R.Nb1)().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}(0,s.eW)(c,"sad");function g(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return(0,s.eW)(g,"ambivalent"),t.score>3?d(r):t.score<3?c(r):g(r),l},"drawFace"),Mt=(0,s.eW)(function(n,t){const e=n.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},"drawCircle"),yt=(0,s.eW)(function(n,t){const e=t.text.replace(/<br\s*\/?>/gi," "),l=n.append("text");l.attr("x",t.x),l.attr("y",t.y),l.attr("class","legend"),l.style("text-anchor",t.anchor),t.class!==void 0&&l.attr("class",t.class);const r=l.append("tspan");return r.attr("x",t.x+t.textMargin*2),r.text(e),l},"drawText"),It=(0,s.eW)(function(n,t){function e(r,d,c,g,m){return r+","+d+" "+(r+c)+","+d+" "+(r+c)+","+(d+g-m)+" "+(r+c-m*1.2)+","+(d+g)+" "+r+","+(d+g)}(0,s.eW)(e,"genPoints");const l=n.append("polygon");l.attr("points",e(t.x,t.y,50,20,7)),l.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,yt(n,t)},"drawLabel"),Pt=(0,s.eW)(function(n,t,e){const l=n.append("g"),r=D();r.x=t.x,r.y=t.y,r.fill=t.fill,r.width=e.width,r.height=e.height,r.class="journey-section section-type-"+t.num,r.rx=3,r.ry=3,G(l,r),ft(e)(t.text,l,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+t.num},e,t.colour)},"drawSection"),gt=-1,Lt=(0,s.eW)(function(n,t,e){const l=t.x+e.width/2,r=n.append("g");gt++;const d=300+5*30;r.append("line").attr("id","task"+gt).attr("x1",l).attr("y1",t.y).attr("x2",l).attr("y2",d).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Tt(r,{cx:l,cy:300+(5-t.score)*30,score:t.score});const c=D();c.x=t.x,c.y=t.y,c.fill=t.fill,c.width=e.width,c.height=e.height,c.class="task task-type-"+t.num,c.rx=3,c.ry=3,G(r,c),ft(e)(t.task,r,c.x,c.y,c.width,c.height,{class:"task"},e,t.colour)},"drawTask"),Nt=(0,s.eW)(function(n,t){G(n,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),At=(0,s.eW)(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),D=(0,s.eW)(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),ft=function(){function n(r,d,c,g,m,p,x,b){const f=d.append("text").attr("x",c+m/2).attr("y",g+p/2+5).style("font-color",b).style("text-anchor","middle").text(r);l(f,x)}(0,s.eW)(n,"byText");function t(r,d,c,g,m,p,x,b,f){const{taskFontSize:i,taskFontFamily:a}=b,h=r.split(/<br\s*\/?>/gi);for(let u=0;u<h.length;u++){const y=u*i-i*(h.length-1)/2,o=d.append("text").attr("x",c+m/2).attr("y",g).attr("fill",f).style("text-anchor","middle").style("font-size",i).style("font-family",a);o.append("tspan").attr("x",c+m/2).attr("dy",y).text(h[u]),o.attr("y",g+p/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(o,x)}}(0,s.eW)(t,"byTspan");function e(r,d,c,g,m,p,x,b){const f=d.append("switch"),a=f.append("foreignObject").attr("x",c).attr("y",g).attr("width",m).attr("height",p).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),t(r,f,c,g,m,p,x,b),l(a,x)}(0,s.eW)(e,"byFo");function l(r,d){for(const c in d)c in d&&r.attr(c,d[c])}return(0,s.eW)(l,"_setTextAttrs"),function(r){return r.textPlacement==="fo"?e:r.textPlacement==="old"?n:t}}(),Ct=(0,s.eW)(function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function tt(n,t){n.each(function(){var e=(0,R.Ys)(this),l=e.text().split(/(\s+|<br>)/).reverse(),r,d=[],c=1.1,g=e.attr("y"),m=parseFloat(e.attr("dy")),p=e.text(null).append("tspan").attr("x",0).attr("y",g).attr("dy",m+"em");for(let x=0;x<l.length;x++)r=l[l.length-1-x],d.push(r),p.text(d.join(" ").trim()),(p.node().getComputedTextLength()>t||r==="<br>")&&(d.pop(),p.text(d.join(" ").trim()),r==="<br>"?d=[""]:d=[r],p=e.append("tspan").attr("x",0).attr("y",g).attr("dy",c+"em").text(r))})}(0,s.eW)(tt,"wrap");var $t=(0,s.eW)(function(n,t,e,l){var b;const r=e%St-1,d=n.append("g");t.section=r,d.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+r));const c=d.append("g"),g=d.append("g"),p=g.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(tt,t.width).node().getBBox(),x=(b=l.fontSize)!=null&&b.replace?l.fontSize.replace("px",""):l.fontSize;return t.height=p.height+x*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,g.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),Rt(c,t,r,l),t},"drawNode"),Ht=(0,s.eW)(function(n,t,e){var g;const l=n.append("g"),d=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(tt,t.width).node().getBBox(),c=(g=e.fontSize)!=null&&g.replace?e.fontSize.replace("px",""):e.fontSize;return l.remove(),d.height+c*1.1*.5+t.padding},"getVirtualNodeHeight"),Rt=(0,s.eW)(function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+2*5} q0,-5 5,-5 h${t.width-2*5} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),$={drawRect:G,drawCircle:Mt,drawSection:Pt,drawText:yt,drawLabel:It,drawTask:Lt,drawBackgroundRect:Nt,getTextObj:At,getNoteRect:D,initGraphics:Ct,drawNode:$t,getVirtualNodeHeight:Ht},Ot=(0,s.eW)(function(n,t,e,l){var U,J,k,M,z,V;const r=(0,K.nV)(),d=(J=(U=r.timeline)==null?void 0:U.leftMargin)!=null?J:50;s.cM.debug("timeline",l.db);const c=r.securityLevel;let g;c==="sandbox"&&(g=(0,R.Ys)("#i"+t));const p=(c==="sandbox"?(0,R.Ys)(g.nodes()[0].contentDocument.body):(0,R.Ys)("body")).select("#"+t);p.append("g");const x=l.db.getTasks(),b=l.db.getCommonDb().getDiagramTitle();s.cM.debug("task",x),$.initGraphics(p);const f=l.db.getSections();s.cM.debug("sections",f);let i=0,a=0,h=0,u=0,y=50+d,o=50;u=50;let W=0,_=!0;f.forEach(function(A){const w={number:W,descr:A,section:W,width:150,padding:20,maxHeight:i},I=$.getVirtualNodeHeight(p,w,r);s.cM.debug("sectionHeight before draw",I),i=Math.max(i,I+20)});let P=0,H=0;s.cM.debug("tasks.length",x.length);for(const[A,w]of x.entries()){const I={number:A,descr:w,section:w.section,width:150,padding:20,maxHeight:a},v=$.getVirtualNodeHeight(p,I,r);s.cM.debug("taskHeight before draw",v),a=Math.max(a,v+20),P=Math.max(P,w.events.length);let L=0;for(const T of w.events){const E={descr:T,section:w.section,number:w.section,width:150,padding:20,maxHeight:50};L+=$.getVirtualNodeHeight(p,E,r)}w.events.length>0&&(L+=(w.events.length-1)*10),H=Math.max(H,L)}s.cM.debug("maxSectionHeight before draw",i),s.cM.debug("maxTaskHeight before draw",a),f&&f.length>0?f.forEach(A=>{const w=x.filter(T=>T.section===A),I={number:W,descr:A,section:W,width:200*Math.max(w.length,1)-50,padding:20,maxHeight:i};s.cM.debug("sectionNode",I);const v=p.append("g"),L=$.drawNode(v,I,W,r);s.cM.debug("sectionNode output",L),v.attr("transform",`translate(${y}, ${u})`),o+=i+50,w.length>0&&mt(p,w,W,y,o,a,r,P,H,i,!1),y+=200*Math.max(w.length,1),o=u,W++}):(_=!1,mt(p,x,W,y,o,a,r,P,H,i,!0));const F=p.node().getBBox();s.cM.debug("bounds",F),b&&p.append("text").text(b).attr("x",F.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),h=_?i+a+150:a+100,p.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",h).attr("x2",F.width+3*d).attr("y2",h).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,K.j7)(void 0,p,(M=(k=r.timeline)==null?void 0:k.padding)!=null?M:50,(V=(z=r.timeline)==null?void 0:z.useMaxWidth)!=null?V:!1)},"draw"),mt=(0,s.eW)(function(n,t,e,l,r,d,c,g,m,p,x){var b;for(const f of t){const i={descr:f.task,section:e,number:e,width:150,padding:20,maxHeight:d};s.cM.debug("taskNode",i);const a=n.append("g").attr("class","taskWrapper"),u=$.drawNode(a,i,e,c).height;if(s.cM.debug("taskHeight after draw",u),a.attr("transform",`translate(${l}, ${r})`),d=Math.max(d,u),f.events){const y=n.append("g").attr("class","lineWrapper");let o=d;r+=100,o=o+Bt(n,f.events,e,l,r,c),r-=100,y.append("line").attr("x1",l+190/2).attr("y1",r+d).attr("x2",l+190/2).attr("y2",r+d+100+m+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}l=l+200,x&&!((b=c.timeline)!=null&&b.disableMulticolor)&&e++}r=r-10},"drawTasks"),Bt=(0,s.eW)(function(n,t,e,l,r,d){let c=0;const g=r;r=r+100;for(const m of t){const p={descr:m,section:e,number:e,width:150,padding:20,maxHeight:50};s.cM.debug("eventNode",p);const x=n.append("g").attr("class","eventWrapper"),f=$.drawNode(x,p,e,d).height;c=c+f,x.attr("transform",`translate(${l}, ${r})`),r=r+10+f}return r=g,c},"drawEvents"),Ft={setConf:(0,s.eW)(()=>{},"setConf"),draw:Ot},zt=(0,s.eW)(n=>{let t="";for(let e=0;e<n.THEME_COLOR_LIMIT;e++)n["lineColor"+e]=n["lineColor"+e]||n["cScaleInv"+e],(0,vt.Z)(n["lineColor"+e])?n["lineColor"+e]=(0,bt.Z)(n["lineColor"+e],20):n["lineColor"+e]=(0,wt.Z)(n["lineColor"+e],20);for(let e=0;e<n.THEME_COLOR_LIMIT;e++){const l=""+(17-3*e);t+=`
7
7
  .section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path {
8
8
  fill: ${n["cScale"+e]};
9
9
  }
@@ -35,7 +35,7 @@ Expecting `+Y.join(", ")+", got '"+(this.terminals_[v]||v)+"'":nt="Parse error o
35
35
  .disabled text {
36
36
  fill: #efefef;
37
37
  }
38
- `}return t},"genSections"),Vt=(0,i.eW)(n=>`
38
+ `}return t},"genSections"),Vt=(0,s.eW)(n=>`
39
39
  .edge {
40
40
  stroke-width: 3;
41
41
  }
@@ -1,3 +1,3 @@
1
- "use strict";(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[7762],{27418:function(W){var Z=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;function D(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function a(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var j={},w=0;w<10;w++)j["_"+String.fromCharCode(w)]=w;var N=Object.getOwnPropertyNames(j).map(function(b){return j[b]});if(N.join("")!=="0123456789")return!1;var F={};return"abcdefghijklmnopqrst".split("").forEach(function(b){F[b]=b}),Object.keys(Object.assign({},F)).join("")==="abcdefghijklmnopqrst"}catch(b){return!1}}W.exports=a()?Object.assign:function(p,j){for(var w,N=D(p),F,b=1;b<arguments.length;b++){w=Object(arguments[b]);for(var T in w)L.call(w,T)&&(N[T]=w[T]);if(Z){F=Z(w);for(var z=0;z<F.length;z++)C.call(w,F[z])&&(N[F[z]]=w[F[z]])}}return N}},38698:function(W,Z,L){var C=L(27418),D=L(1024);function a(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=typeof Symbol=="function"&&Symbol.for,j=p?Symbol.for("react.portal"):60106,w=p?Symbol.for("react.fragment"):60107,N=p?Symbol.for("react.strict_mode"):60108,F=p?Symbol.for("react.profiler"):60114,b=p?Symbol.for("react.provider"):60109,T=p?Symbol.for("react.context"):60110,z=p?Symbol.for("react.concurrent_mode"):60111,ue=p?Symbol.for("react.forward_ref"):60112,Q=p?Symbol.for("react.suspense"):60113,se=p?Symbol.for("react.suspense_list"):60120,ae=p?Symbol.for("react.memo"):60115,ce=p?Symbol.for("react.lazy"):60116,_e=p?Symbol.for("react.block"):60121,De=p?Symbol.for("react.fundamental"):60117,Fe=p?Symbol.for("react.scope"):60119;function Ie(e){if(e._status===-1){e._status=0;var r=e._ctor;r=r(),e._result=r,r.then(function(t){e._status===0&&(t=t.default,e._status=1,e._result=t)},function(t){e._status===0&&(e._status=2,e._result=t)})}}function U(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case j:return"Portal";case F:return"Profiler";case N:return"StrictMode";case Q:return"Suspense";case se:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case T:return"Context.Consumer";case b:return"Context.Provider";case ue:var r=e.render;return r=r.displayName||r.name||"",e.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case ae:return U(e.type);case _e:return U(e.render);case ce:if(e=e._status===1?e._result:null)return U(e)}return null}var $=D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$.hasOwnProperty("ReactCurrentDispatcher")||($.ReactCurrentDispatcher={current:null}),$.hasOwnProperty("ReactCurrentBatchConfig")||($.ReactCurrentBatchConfig={suspense:null});var fe={};function q(e,r){for(var t=e._threadCount|0;t<=r;t++)e[t]=e._currentValue2,e._threadCount=t+1}function Ne(e,r,t,n){if(n&&(n=e.contextType,typeof n=="object"&&n!==null))return q(n,t),n[t];if(e=e.contextTypes){t={};for(var l in e)t[l]=r[l];r=t}else r=fe;return r}for(var x=new Uint16Array(16),X=0;15>X;X++)x[X]=X+1;x[15]=0;var Pe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pe=Object.prototype.hasOwnProperty,he={},de={};function me(e){return pe.call(de,e)?!0:pe.call(he,e)?!1:Pe.test(e)?de[e]=!0:(he[e]=!0,!1)}function Me(e,r,t,n){if(t!==null&&t.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return n?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function je(e,r,t,n){if(r===null||typeof r=="undefined"||Me(e,r,t,n))return!0;if(n)return!1;if(t!==null)switch(t.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function g(e,r,t,n,l,i){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=n,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=r,this.sanitizeURL=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){m[e]=new g(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];m[r]=new g(r,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){m[e]=new g(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){m[e]=new g(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){m[e]=new g(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){m[e]=new g(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1)});var G=/[\-:]([a-z])/g;function ee(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(G,ee);m[r]=new g(r,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(G,ee);m[r]=new g(r,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(G,ee);m[r]=new g(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1)}),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0)});var ze=/["'&<>]/;function R(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var r=ze.exec(e);if(r){var t="",n,l=0;for(n=r.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}l!==n&&(t+=e.substring(l,n)),l=n+1,t+=r}e=l!==n?t+e.substring(l,n):t}return e}function Re(e,r){var t=m.hasOwnProperty(e)?m[e]:null,n;return(n=e!=="style")&&(n=t!==null?t.type===0:!(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")),n||je(e,r,t,!1)?"":t!==null?(e=t.attributeName,n=t.type,n===3||n===4&&r===!0?e+'=""':(t.sanitizeURL&&(r=""+r),e+'="'+(R(r)+'"'))):me(e)?e+'="'+(R(r)+'"'):""}function Le(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Te=typeof Object.is=="function"?Object.is:Le,I=null,Y=null,c=null,A=!1,te=!1,P=null,J=0;function V(){if(I===null)throw Error(a(321));return I}function ye(){if(0<J)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function re(){return c===null?Y===null?(A=!1,Y=c=ye()):(A=!0,c=Y):c.next===null?(A=!1,c=c.next=ye()):(A=!0,c=c.next),c}function ve(e,r,t,n){for(;te;)te=!1,J+=1,c=null,t=e(r,n);return Y=I=null,J=0,c=P=null,t}function we(e,r){return typeof r=="function"?r(e):r}function xe(e,r,t){if(I=V(),c=re(),A){var n=c.queue;if(r=n.dispatch,P!==null&&(t=P.get(n),t!==void 0)){P.delete(n),n=c.memoizedState;do n=e(n,t.action),t=t.next;while(t!==null);return c.memoizedState=n,[n,r]}return[c.memoizedState,r]}return e=e===we?typeof r=="function"?r():r:t!==void 0?t(r):r,c.memoizedState=e,e=c.queue={last:null,dispatch:null},e=e.dispatch=Ve.bind(null,I,e),[c.memoizedState,e]}function Ve(e,r,t){if(!(25>J))throw Error(a(301));if(e===I)if(te=!0,e={action:t,next:null},P===null&&(P=new Map),t=P.get(r),t===void 0)P.set(r,e);else{for(r=t;r.next!==null;)r=r.next;r.next=e}}function ne(){}var H=0,We={readContext:function(e){var r=H;return q(e,r),e[r]},useContext:function(e){V();var r=H;return q(e,r),e[r]},useMemo:function(e,r){if(I=V(),c=re(),r=r===void 0?null:r,c!==null){var t=c.memoizedState;if(t!==null&&r!==null){e:{var n=t[1];if(n===null)n=!1;else{for(var l=0;l<n.length&&l<r.length;l++)if(!Te(r[l],n[l])){n=!1;break e}n=!0}}if(n)return t[0]}}return e=e(),c.memoizedState=[e,r],e},useReducer:xe,useRef:function(e){I=V(),c=re();var r=c.memoizedState;return r===null?(e={current:e},c.memoizedState=e):r},useState:function(e){return xe(we,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ne,useEffect:ne,useDebugValue:ne,useResponder:function(e,r){return{props:r,responder:e}},useDeferredValue:function(e){return V(),e},useTransition:function(){return V(),[function(e){e()},!1]}},ge={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ke(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var Se={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ue=C({menuitem:!0},Se),B={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$e=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(e){$e.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),B[r]=B[e]})});var qe=/([A-Z])/g,Ae=/^ms-/,M=D.Children.toArray,oe=$.ReactCurrentDispatcher,He={listing:!0,pre:!0,textarea:!0},Be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee={},ie={};function Ze(e){if(e==null)return e;var r="";return D.Children.forEach(e,function(t){t!=null&&(r+=t)}),r}var Xe=Object.prototype.hasOwnProperty,Ye={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ce(e,r){if(e===void 0)throw Error(a(152,U(r)||"Component"))}function Je(e,r,t){function n(u,s){var o=s.prototype&&s.prototype.isReactComponent,O=Ne(s,r,t,o),y=[],f=!1,h={isMounted:function(){return!1},enqueueForceUpdate:function(){if(y===null)return null},enqueueReplaceState:function(E,le){f=!0,y=[le]},enqueueSetState:function(E,le){if(y===null)return null;y.push(le)}};if(o){if(o=new s(u.props,O,h),typeof s.getDerivedStateFromProps=="function"){var k=s.getDerivedStateFromProps.call(null,u.props,o.state);k!=null&&(o.state=C({},o.state,k))}}else if(I={},o=s(u.props,O,h),o=ve(s,u.props,o,O),o==null||o.render==null){e=o,Ce(e,s);return}if(o.props=u.props,o.context=O,o.updater=h,h=o.state,h===void 0&&(o.state=h=null),typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")if(typeof o.componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&o.UNSAFE_componentWillMount(),y.length){h=y;var v=f;if(y=null,f=!1,v&&h.length===1)o.state=h[0];else{k=v?h[0]:o.state;var S=!0;for(v=v?1:0;v<h.length;v++){var d=h[v];d=typeof d=="function"?d.call(o,k,u.props,O):d,d!=null&&(S?(S=!1,k=C({},k,d)):C(k,d))}o.state=k}}else y=null;if(e=o.render(),Ce(e,s),typeof o.getChildContext=="function"&&(u=s.childContextTypes,typeof u=="object")){var _=o.getChildContext();for(var K in _)if(!(K in u))throw Error(a(108,U(s)||"Unknown",K))}_&&(r=C({},r,_))}for(;D.isValidElement(e);){var l=e,i=l.type;if(typeof i!="function")break;n(l,i)}return{child:e,context:r}}var be=function(){function e(t,n){D.isValidElement(t)?t.type!==w?t=[t]:(t=t.props.children,t=D.isValidElement(t)?[t]:M(t)):t=M(t),t={type:null,domNamespace:ge.html,children:t,childIndex:0,context:fe,footer:""};var l=x[0];if(l===0){var i=x;l=i.length;var u=2*l;if(!(65536>=u))throw Error(a(304));var s=new Uint16Array(u);for(s.set(i),x=s,x[0]=l+1,i=l;i<u-1;i++)x[i]=i+1;x[u-1]=0}else x[0]=x[l];this.threadID=l,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var r=e.prototype;return r.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;x[t]=x[0],x[0]=t}},r.pushProvider=function(t){var n=++this.contextIndex,l=t.type._context,i=this.threadID;q(l,i);var u=l[i];this.contextStack[n]=l,this.contextValueStack[n]=u,l[i]=t.props.value},r.popProvider=function(){var t=this.contextIndex,n=this.contextStack[t],l=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,n[this.threadID]=l},r.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},r.read=function(t){if(this.exhausted)return null;var n=H;H=this.threadID;var l=oe.current;oe.current=We;try{for(var i=[""],u=!1;i[0].length<t;){if(this.stack.length===0){this.exhausted=!0;var s=this.threadID;x[s]=x[0],x[0]=s;break}var o=this.stack[this.stack.length-1];if(u||o.childIndex>=o.children.length){var O=o.footer;if(O!==""&&(this.previousWasTextNode=!1),this.stack.pop(),o.type==="select")this.currentSelectValue=null;else if(o.type!=null&&o.type.type!=null&&o.type.type.$$typeof===b)this.popProvider(o.type);else if(o.type===Q){this.suspenseDepth--;var y=i.pop();if(u){u=!1;var f=o.fallbackFrame;if(!f)throw Error(a(303));this.stack.push(f),i[this.suspenseDepth]+="<!--$!-->";continue}else i[this.suspenseDepth]+=y}i[this.suspenseDepth]+=O}else{var h=o.children[o.childIndex++],k="";try{k+=this.render(h,o.context,o.domNamespace)}catch(v){throw v!=null&&typeof v.then=="function"?Error(a(294)):v}finally{}i.length<=this.suspenseDepth&&i.push(""),i[this.suspenseDepth]+=k}}return i[0]}finally{oe.current=l,H=n}},r.render=function(t,n,l){if(typeof t=="string"||typeof t=="number")return l=""+t,l===""?"":this.makeStaticMarkup?R(l):this.previousWasTextNode?"<!-- -->"+R(l):(this.previousWasTextNode=!0,R(l));if(n=Je(t,n,this.threadID),t=n.child,n=n.context,t===null||t===!1)return"";if(!D.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw l=t.$$typeof,Error(l===j?a(257):a(258,l.toString()));return t=M(t),this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),""}var i=t.type;if(typeof i=="string")return this.renderDOM(t,n,l);switch(i){case N:case z:case F:case se:case w:return t=M(t.props.children),this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case Q:throw Error(a(294))}if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ue:I={};var u=i.render(t.props,t.ref);return u=ve(i.render,t.props,u,t.ref),u=M(u),this.stack.push({type:null,domNamespace:l,children:u,childIndex:0,context:n,footer:""}),"";case ae:return t=[D.createElement(i.type,C({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case b:return i=M(t.props.children),l={type:t,domNamespace:l,children:i,childIndex:0,context:n,footer:""},this.pushProvider(t),this.stack.push(l),"";case T:i=t.type,u=t.props;var s=this.threadID;return q(i,s),i=M(u.children(i[s])),this.stack.push({type:t,domNamespace:l,children:i,childIndex:0,context:n,footer:""}),"";case De:throw Error(a(338));case ce:switch(i=t.type,Ie(i),i._status){case 1:return t=[D.createElement(i._result,C({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case 2:throw i._result;default:throw Error(a(295))}case Fe:throw Error(a(343))}throw Error(a(130,i==null?i:typeof i,""))},r.renderDOM=function(t,n,l){var i=t.type.toLowerCase();if(l===ge.html&&ke(i),!Ee.hasOwnProperty(i)){if(!Be.test(i))throw Error(a(65,i));Ee[i]=!0}var u=t.props;if(i==="input")u=C({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:u.value!=null?u.value:u.defaultValue,checked:u.checked!=null?u.checked:u.defaultChecked});else if(i==="textarea"){var s=u.value;if(s==null){s=u.defaultValue;var o=u.children;if(o!=null){if(s!=null)throw Error(a(92));if(Array.isArray(o)){if(!(1>=o.length))throw Error(a(93));o=o[0]}s=""+o}s==null&&(s="")}u=C({},u,{value:void 0,children:""+s})}else if(i==="select")this.currentSelectValue=u.value!=null?u.value:u.defaultValue,u=C({},u,{value:void 0});else if(i==="option"){o=this.currentSelectValue;var O=Ze(u.children);if(o!=null){var y=u.value!=null?u.value+"":O;if(s=!1,Array.isArray(o)){for(var f=0;f<o.length;f++)if(""+o[f]===y){s=!0;break}}else s=""+o===y;u=C({selected:void 0,children:void 0},u,{selected:s,children:O})}}if(s=u){if(Ue[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(a(137,i,""));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(a(60));if(!(typeof s.dangerouslySetInnerHTML=="object"&&"__html"in s.dangerouslySetInnerHTML))throw Error(a(61))}if(s.style!=null&&typeof s.style!="object")throw Error(a(62,""))}s=u,o=this.makeStaticMarkup,O=this.stack.length===1,y="<"+t.type;for(E in s)if(Xe.call(s,E)){var h=s[E];if(h!=null){if(E==="style"){f=void 0;var k="",v="";for(f in h)if(h.hasOwnProperty(f)){var S=f.indexOf("--")===0,d=h[f];if(d!=null){if(S)var _=f;else if(_=f,ie.hasOwnProperty(_))_=ie[_];else{var K=_.replace(qe,"-$1").toLowerCase().replace(Ae,"-ms-");_=ie[_]=K}k+=v+_+":",v=f,S=d==null||typeof d=="boolean"||d===""?"":S||typeof d!="number"||d===0||B.hasOwnProperty(v)&&B[v]?(""+d).trim():d+"px",k+=S,v=";"}}h=k||null}f=null;e:if(S=i,d=s,S.indexOf("-")===-1)S=typeof d.is=="string";else switch(S){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":S=!1;break e;default:S=!0}S?Ye.hasOwnProperty(E)||(f=E,f=me(f)&&h!=null?f+'="'+(R(h)+'"'):""):f=Re(E,h),f&&(y+=" "+f)}}o||O&&(y+=' data-reactroot=""');var E=y;s="",Se.hasOwnProperty(i)?E+="/>":(E+=">",s="</"+t.type+">");e:{if(o=u.dangerouslySetInnerHTML,o!=null){if(o.__html!=null){o=o.__html;break e}}else if(o=u.children,typeof o=="string"||typeof o=="number"){o=R(o);break e}o=null}return o!=null?(u=[],He.hasOwnProperty(i)&&o.charAt(0)===`
1
+ "use strict";(self.webpackChunkpaul_ai_assistant=self.webpackChunkpaul_ai_assistant||[]).push([[7762],{27418:function(W){var Z=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;function D(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function a(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var j={},w=0;w<10;w++)j["_"+String.fromCharCode(w)]=w;var N=Object.getOwnPropertyNames(j).map(function(b){return j[b]});if(N.join("")!=="0123456789")return!1;var F={};return"abcdefghijklmnopqrst".split("").forEach(function(b){F[b]=b}),Object.keys(Object.assign({},F)).join("")==="abcdefghijklmnopqrst"}catch(b){return!1}}W.exports=a()?Object.assign:function(p,j){for(var w,N=D(p),F,b=1;b<arguments.length;b++){w=Object(arguments[b]);for(var T in w)L.call(w,T)&&(N[T]=w[T]);if(Z){F=Z(w);for(var z=0;z<F.length;z++)C.call(w,F[z])&&(N[F[z]]=w[F[z]])}}return N}},38698:function(W,Z,L){var C=L(27418),D=L(1024);function a(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=typeof Symbol=="function"&&Symbol.for,j=p?Symbol.for("react.portal"):60106,w=p?Symbol.for("react.fragment"):60107,N=p?Symbol.for("react.strict_mode"):60108,F=p?Symbol.for("react.profiler"):60114,b=p?Symbol.for("react.provider"):60109,T=p?Symbol.for("react.context"):60110,z=p?Symbol.for("react.concurrent_mode"):60111,ue=p?Symbol.for("react.forward_ref"):60112,Q=p?Symbol.for("react.suspense"):60113,se=p?Symbol.for("react.suspense_list"):60120,ae=p?Symbol.for("react.memo"):60115,ce=p?Symbol.for("react.lazy"):60116,_e=p?Symbol.for("react.block"):60121,De=p?Symbol.for("react.fundamental"):60117,Fe=p?Symbol.for("react.scope"):60119;function Ie(e){if(e._status===-1){e._status=0;var r=e._ctor;r=r(),e._result=r,r.then(function(t){e._status===0&&(t=t.default,e._status=1,e._result=t)},function(t){e._status===0&&(e._status=2,e._result=t)})}}function U(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case j:return"Portal";case F:return"Profiler";case N:return"StrictMode";case Q:return"Suspense";case se:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case T:return"Context.Consumer";case b:return"Context.Provider";case ue:var r=e.render;return r=r.displayName||r.name||"",e.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case ae:return U(e.type);case _e:return U(e.render);case ce:if(e=e._status===1?e._result:null)return U(e)}return null}var $=D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$.hasOwnProperty("ReactCurrentDispatcher")||($.ReactCurrentDispatcher={current:null}),$.hasOwnProperty("ReactCurrentBatchConfig")||($.ReactCurrentBatchConfig={suspense:null});var fe={};function q(e,r){for(var t=e._threadCount|0;t<=r;t++)e[t]=e._currentValue2,e._threadCount=t+1}function Ne(e,r,t,n){if(n&&(n=e.contextType,typeof n=="object"&&n!==null))return q(n,t),n[t];if(e=e.contextTypes){t={};for(var l in e)t[l]=r[l];r=t}else r=fe;return r}for(var x=new Uint16Array(16),X=0;15>X;X++)x[X]=X+1;x[15]=0;var Pe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pe=Object.prototype.hasOwnProperty,he={},de={};function me(e){return pe.call(de,e)?!0:pe.call(he,e)?!1:Pe.test(e)?de[e]=!0:(he[e]=!0,!1)}function Me(e,r,t,n){if(t!==null&&t.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return n?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function je(e,r,t,n){if(r===null||typeof r=="undefined"||Me(e,r,t,n))return!0;if(n)return!1;if(t!==null)switch(t.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function g(e,r,t,n,l,i){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=n,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=r,this.sanitizeURL=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){m[e]=new g(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];m[r]=new g(r,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){m[e]=new g(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){m[e]=new g(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){m[e]=new g(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){m[e]=new g(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1)});var G=/[\-:]([a-z])/g;function ee(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(G,ee);m[r]=new g(r,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(G,ee);m[r]=new g(r,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(G,ee);m[r]=new g(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1)}),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0)});var ze=/["'&<>]/;function R(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var r=ze.exec(e);if(r){var t="",n,l=0;for(n=r.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}l!==n&&(t+=e.substring(l,n)),l=n+1,t+=r}e=l!==n?t+e.substring(l,n):t}return e}function Re(e,r){var t=m.hasOwnProperty(e)?m[e]:null,n;return(n=e!=="style")&&(n=t!==null?t.type===0:!(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")),n||je(e,r,t,!1)?"":t!==null?(e=t.attributeName,n=t.type,n===3||n===4&&r===!0?e+'=""':(t.sanitizeURL&&(r=""+r),e+'="'+(R(r)+'"'))):me(e)?e+'="'+(R(r)+'"'):""}function Le(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Te=typeof Object.is=="function"?Object.is:Le,I=null,Y=null,c=null,A=!1,te=!1,P=null,J=0;function V(){if(I===null)throw Error(a(321));return I}function ye(){if(0<J)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function re(){return c===null?Y===null?(A=!1,Y=c=ye()):(A=!0,c=Y):c.next===null?(A=!1,c=c.next=ye()):(A=!0,c=c.next),c}function ve(e,r,t,n){for(;te;)te=!1,J+=1,c=null,t=e(r,n);return Y=I=null,J=0,c=P=null,t}function we(e,r){return typeof r=="function"?r(e):r}function xe(e,r,t){if(I=V(),c=re(),A){var n=c.queue;if(r=n.dispatch,P!==null&&(t=P.get(n),t!==void 0)){P.delete(n),n=c.memoizedState;do n=e(n,t.action),t=t.next;while(t!==null);return c.memoizedState=n,[n,r]}return[c.memoizedState,r]}return e=e===we?typeof r=="function"?r():r:t!==void 0?t(r):r,c.memoizedState=e,e=c.queue={last:null,dispatch:null},e=e.dispatch=Ve.bind(null,I,e),[c.memoizedState,e]}function Ve(e,r,t){if(!(25>J))throw Error(a(301));if(e===I)if(te=!0,e={action:t,next:null},P===null&&(P=new Map),t=P.get(r),t===void 0)P.set(r,e);else{for(r=t;r.next!==null;)r=r.next;r.next=e}}function ne(){}var H=0,We={readContext:function(e){var r=H;return q(e,r),e[r]},useContext:function(e){V();var r=H;return q(e,r),e[r]},useMemo:function(e,r){if(I=V(),c=re(),r=r===void 0?null:r,c!==null){var t=c.memoizedState;if(t!==null&&r!==null){e:{var n=t[1];if(n===null)n=!1;else{for(var l=0;l<n.length&&l<r.length;l++)if(!Te(r[l],n[l])){n=!1;break e}n=!0}}if(n)return t[0]}}return e=e(),c.memoizedState=[e,r],e},useReducer:xe,useRef:function(e){I=V(),c=re();var r=c.memoizedState;return r===null?(e={current:e},c.memoizedState=e):r},useState:function(e){return xe(we,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ne,useEffect:ne,useDebugValue:ne,useResponder:function(e,r){return{props:r,responder:e}},useDeferredValue:function(e){return V(),e},useTransition:function(){return V(),[function(e){e()},!1]}},ge={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ke(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var Se={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ue=C({menuitem:!0},Se),B={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$e=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(e){$e.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),B[r]=B[e]})});var qe=/([A-Z])/g,Ae=/^ms-/,M=D.Children.toArray,oe=$.ReactCurrentDispatcher,He={listing:!0,pre:!0,textarea:!0},Be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee={},ie={};function Ze(e){if(e==null)return e;var r="";return D.Children.forEach(e,function(t){t!=null&&(r+=t)}),r}var Xe=Object.prototype.hasOwnProperty,Ye={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ce(e,r){if(e===void 0)throw Error(a(152,U(r)||"Component"))}function Je(e,r,t){function n(u,s){var o=s.prototype&&s.prototype.isReactComponent,O=Ne(s,r,t,o),y=[],f=!1,h={isMounted:function(){return!1},enqueueForceUpdate:function(){if(y===null)return null},enqueueReplaceState:function(E,le){f=!0,y=[le]},enqueueSetState:function(E,le){if(y===null)return null;y.push(le)}};if(o){if(o=new s(u.props,O,h),typeof s.getDerivedStateFromProps=="function"){var k=s.getDerivedStateFromProps.call(null,u.props,o.state);k!=null&&(o.state=C({},o.state,k))}}else if(I={},o=s(u.props,O,h),o=ve(s,u.props,o,O),o==null||o.render==null){e=o,Ce(e,s);return}if(o.props=u.props,o.context=O,o.updater=h,h=o.state,h===void 0&&(o.state=h=null),typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")if(typeof o.componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&o.UNSAFE_componentWillMount(),y.length){h=y;var v=f;if(y=null,f=!1,v&&h.length===1)o.state=h[0];else{k=v?h[0]:o.state;var S=!0;for(v=v?1:0;v<h.length;v++){var d=h[v];d=typeof d=="function"?d.call(o,k,u.props,O):d,d!=null&&(S?(S=!1,k=C({},k,d)):C(k,d))}o.state=k}}else y=null;if(e=o.render(),Ce(e,s),typeof o.getChildContext=="function"&&(u=s.childContextTypes,typeof u=="object")){var _=o.getChildContext();for(var K in _)if(!(K in u))throw Error(a(108,U(s)||"Unknown",K))}_&&(r=C({},r,_))}for(;D.isValidElement(e);){var l=e,i=l.type;if(typeof i!="function")break;n(l,i)}return{child:e,context:r}}var be=function(){function e(t,n){D.isValidElement(t)?t.type!==w?t=[t]:(t=t.props.children,t=D.isValidElement(t)?[t]:M(t)):t=M(t),t={type:null,domNamespace:ge.html,children:t,childIndex:0,context:fe,footer:""};var l=x[0];if(l===0){var i=x;l=i.length;var u=2*l;if(!(65536>=u))throw Error(a(304));var s=new Uint16Array(u);for(s.set(i),x=s,x[0]=l+1,i=l;i<u-1;i++)x[i]=i+1;x[u-1]=0}else x[0]=x[l];this.threadID=l,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var r=e.prototype;return r.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;x[t]=x[0],x[0]=t}},r.pushProvider=function(t){var n=++this.contextIndex,l=t.type._context,i=this.threadID;q(l,i);var u=l[i];this.contextStack[n]=l,this.contextValueStack[n]=u,l[i]=t.props.value},r.popProvider=function(){var t=this.contextIndex,n=this.contextStack[t],l=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,n[this.threadID]=l},r.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},r.read=function(t){if(this.exhausted)return null;var n=H;H=this.threadID;var l=oe.current;oe.current=We;try{for(var i=[""],u=!1;i[0].length<t;){if(this.stack.length===0){this.exhausted=!0;var s=this.threadID;x[s]=x[0],x[0]=s;break}var o=this.stack[this.stack.length-1];if(u||o.childIndex>=o.children.length){var O=o.footer;if(O!==""&&(this.previousWasTextNode=!1),this.stack.pop(),o.type==="select")this.currentSelectValue=null;else if(o.type!=null&&o.type.type!=null&&o.type.type.$$typeof===b)this.popProvider(o.type);else if(o.type===Q){this.suspenseDepth--;var y=i.pop();if(u){u=!1;var f=o.fallbackFrame;if(!f)throw Error(a(303));this.stack.push(f),i[this.suspenseDepth]+="<!--$!-->";continue}else i[this.suspenseDepth]+=y}i[this.suspenseDepth]+=O}else{var h=o.children[o.childIndex++],k="";try{k+=this.render(h,o.context,o.domNamespace)}catch(v){throw v!=null&&typeof v.then=="function"?Error(a(294)):v}finally{}i.length<=this.suspenseDepth&&i.push(""),i[this.suspenseDepth]+=k}}return i[0]}finally{oe.current=l,H=n}},r.render=function(t,n,l){if(typeof t=="string"||typeof t=="number")return l=""+t,l===""?"":this.makeStaticMarkup?R(l):this.previousWasTextNode?"<!-- -->"+R(l):(this.previousWasTextNode=!0,R(l));if(n=Je(t,n,this.threadID),t=n.child,n=n.context,t===null||t===!1)return"";if(!D.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw l=t.$$typeof,Error(l===j?a(257):a(258,l.toString()));return t=M(t),this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),""}var i=t.type;if(typeof i=="string")return this.renderDOM(t,n,l);switch(i){case N:case z:case F:case se:case w:return t=M(t.props.children),this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case Q:throw Error(a(294))}if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ue:I={};var u=i.render(t.props,t.ref);return u=ve(i.render,t.props,u,t.ref),u=M(u),this.stack.push({type:null,domNamespace:l,children:u,childIndex:0,context:n,footer:""}),"";case ae:return t=[D.createElement(i.type,C({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case b:return i=M(t.props.children),l={type:t,domNamespace:l,children:i,childIndex:0,context:n,footer:""},this.pushProvider(t),this.stack.push(l),"";case T:i=t.type,u=t.props;var s=this.threadID;return q(i,s),i=M(u.children(i[s])),this.stack.push({type:t,domNamespace:l,children:i,childIndex:0,context:n,footer:""}),"";case De:throw Error(a(338));case ce:switch(i=t.type,Ie(i),i._status){case 1:return t=[D.createElement(i._result,C({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case 2:throw i._result;default:throw Error(a(295))}case Fe:throw Error(a(343))}throw Error(a(130,i==null?i:typeof i,""))},r.renderDOM=function(t,n,l){var i=t.type.toLowerCase();if(l===ge.html&&ke(i),!Ee.hasOwnProperty(i)){if(!Be.test(i))throw Error(a(65,i));Ee[i]=!0}var u=t.props;if(i==="input")u=C({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:u.value!=null?u.value:u.defaultValue,checked:u.checked!=null?u.checked:u.defaultChecked});else if(i==="textarea"){var s=u.value;if(s==null){s=u.defaultValue;var o=u.children;if(o!=null){if(s!=null)throw Error(a(92));if(Array.isArray(o)){if(!(1>=o.length))throw Error(a(93));o=o[0]}s=""+o}s==null&&(s="")}u=C({},u,{value:void 0,children:""+s})}else if(i==="select")this.currentSelectValue=u.value!=null?u.value:u.defaultValue,u=C({},u,{value:void 0});else if(i==="option"){o=this.currentSelectValue;var O=Ze(u.children);if(o!=null){var y=u.value!=null?u.value+"":O;if(s=!1,Array.isArray(o)){for(var f=0;f<o.length;f++)if(""+o[f]===y){s=!0;break}}else s=""+o===y;u=C({selected:void 0,children:void 0},u,{selected:s,children:O})}}if(s=u){if(Ue[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(a(137,i,""));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(a(60));if(!(typeof s.dangerouslySetInnerHTML=="object"&&"__html"in s.dangerouslySetInnerHTML))throw Error(a(61))}if(s.style!=null&&typeof s.style!="object")throw Error(a(62,""))}s=u,o=this.makeStaticMarkup,O=this.stack.length===1,y="<"+t.type;for(E in s)if(Xe.call(s,E)){var h=s[E];if(h!=null){if(E==="style"){f=void 0;var k="",v="";for(f in h)if(h.hasOwnProperty(f)){var S=f.indexOf("--")===0,d=h[f];if(d!=null){if(S)var _=f;else if(_=f,ie.hasOwnProperty(_))_=ie[_];else{var K=_.replace(qe,"-$1").toLowerCase().replace(Ae,"-ms-");_=ie[_]=K}k+=v+_+":",v=f,S=d==null||typeof d=="boolean"||d===""?"":S||typeof d!="number"||d===0||B.hasOwnProperty(v)&&B[v]?(""+d).trim():d+"px",k+=S,v=";"}}h=k||null}f=null;e:if(S=i,d=s,S.indexOf("-")===-1)S=typeof d.is=="string";else switch(S){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":S=!1;break e;default:S=!0}S?Ye.hasOwnProperty(E)||(f=E,f=me(f)&&h!=null?f+'="'+(R(h)+'"'):""):f=Re(E,h),f&&(y+=" "+f)}}o||O&&(y+=' data-reactroot=""');var E=y;s="",Se.hasOwnProperty(i)?E+="/>":(E+=">",s="</"+t.type+">");e:{if(o=u.dangerouslySetInnerHTML,o!=null){if(o.__html!=null){o=o.__html;break e}}else if(o=u.children,typeof o=="string"||typeof o=="number"){o=R(o);break e}o=null}return o!=null?(u=[],He.hasOwnProperty(i)&&o.charAt(0)===`
2
2
  `&&(E+=`
3
3
  `),E+=o):u=M(u.children),t=t.type,l=l==null||l==="http://www.w3.org/1999/xhtml"?ke(t):l==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":l,this.stack.push({domNamespace:l,type:i,children:u,childIndex:0,context:n,footer:s}),this.previousWasTextNode=!1,E},e}(),Oe={renderToString:function(e){e=new be(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new be(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(a(207))},renderToStaticNodeStream:function(){throw Error(a(208))},version:"16.14.0"};W.exports=Oe.default||Oe},97762:function(W,Z,L){W.exports=L(38698)}}]);