@standarx/graph 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@ var LAYOUT_WORKER_JS = `var __require;
25
25
  \`),c.length!=2)throw S(new Zn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Rg($g(c[0])),this.b=Rg($g(c[1]))}catch(o){if(o=Yt(o),R(o,131))throw r=o,S(new Zn(Yee+r));else throw S(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var zr=g(BE,"KVector",8);w(75,65,{3:1,4:1,22:1,31:1,56:1,17:1,65:1,16:1,75:1,429:1},fo,Cx,_Ln),s.Pc=function(){return wxe(this)},s._f=function(e){var t,r,i,c,o,f;i=Ug(e,\`,|;|\\\\(|\\\\)|\\\\[|\\\\]|\\\\{|\\\\}| | |
26
26
  \`),Jo(this);try{r=0,o=0,c=0,f=0;while(r<i.length){if(i[r]!=null&&$g(i[r]).length>0)o%2==0?c=Rg(i[r]):f=Rg(i[r]),o>0&&o%2!=0&&Ze(this,new en(c,f)),++o;++r}}catch(l){if(l=Yt(l),R(l,131))throw t=l,S(new Zn("The given string does not match the expected format for vectors."+t));else throw S(l)}},s.Ib=function(){var e,t,r;e=new Fo("("),t=Ae(this,0);while(t.b!=t.d.c)r=u(Pe(t),8),ut(e,r.a+","+r.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var b2n=g(BE,"KVectorChain",75);w(258,23,{3:1,34:1,23:1,258:1},J5);var XW,ZL,nN,qT,zT,eN,w2n=Se(Au,"Alignment",258,Ne,oEe,M5e),v0e;w(1037,1,af,nTn),s.ef=function(e){RYn(e)};var g2n,WW,y0e,p2n,m2n,k0e,v2n,I0e,j0e,y2n,k2n,E0e,rvt=g(Au,"BoxLayouterOptions",1037);w(1038,1,{},Ekn),s.pf=function(){var e;return e=new vkn,e},s.qf=function(e){};var ivt=g(Au,"BoxLayouterOptions/BoxFactory",1038);w(305,23,{3:1,34:1,23:1,305:1},V5);var nk,JW,ek,tk,rk,VW,QW=Se(Au,"ContentAlignment",305,Ne,sEe,x5e),T0e;w(715,1,af,GV),s.ef=function(e){xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,tre),""),"Layout Algorithm"),"Select a specific layout algorithm."),(ka(),Am)),pn),Sn((gl(),Hn))))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,rre),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Jf),vze),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,eln),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),I2n),Gt),w2n),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,g4),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,bhn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Jf),b2n),Sn(El)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,EA),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),E2n),_4),QW),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,qE),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Qn(),!1)),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,bU),""),Fsn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),T2n),Gt),ck),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,UE),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),S2n),Gt),hJ),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,ahn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,jA),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to \`INCLUDE_CHILDREN\` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to \`SEPARATE_CHILDREN\`. In general, \`SEPARATE_CHILDREN\` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to \`INHERIT\` (or not set at all), the default behavior is \`SEPARATE_CHILDREN\`."),P2n),Gt),kpn),Bt(Hn,P(C(Zl,1),Y,161,0,[Er]))))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,kw),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),H2n),Jf),Oan),Bt(Hn,P(C(Zl,1),Y,161,0,[Er]))))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,L7),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,MA),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,N7),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,EG),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),X2n),Gt),Epn),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,TA),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Jf),zr),Bt(Er,P(C(Zl,1),Y,161,0,[Fa,K1]))))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,LE),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),xi),Dr),Bt(Er,P(C(Zl,1),Y,161,0,[El]))))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,iA),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),xi),Dr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,F7),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,aln),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),L2n),Jf),b2n),Sn(El)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,wln),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),Kr),ur),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,gln),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Kr),ur),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,ire),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Jf),Tze),Bt(Hn,P(C(Zl,1),Y,161,0,[K1]))))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,cre),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),gi),Cr),Sn(K1)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,mln),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),N2n),Jf),San),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Zfn),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),Kr),ur),Bt(Er,P(C(Zl,1),Y,161,0,[El,Fa,K1]))))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,ure),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),gi),Cr),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,ore),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,sre),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,NE),""),Qte),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),Kr),ur),Sn(Hn)))),tr(e,NE,Iw,null),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,fre),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,lre),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),V(100)),xi),Dr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,hre),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,are),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),V(4000)),xi),Dr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,dre),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),V(400)),xi),Dr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,bre),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,wre),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,gre),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,pre),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,dhn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),j2n),Gt),$pn),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,mre),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),F2n),Gt),xpn),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,vre),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),A2n),Gt),spn),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Hfn),Jl),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Gfn),Jl),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,pG),Jl),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Ufn),Jl),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,jG),Jl),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,dU),Jl),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,qfn),Jl),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Wfn),Jl),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,zfn),Jl),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Xfn),Jl),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Vg),Jl),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Jfn),Jl),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),gi),Cr),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Vfn),Jl),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),gi),Cr),Bt(Hn,P(C(Zl,1),Y,161,0,[Er]))))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,Qfn),Jl),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Jf),vbe),Bt(Er,P(C(Zl,1),Y,161,0,[El,Fa,K1]))))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,vln),Jl),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),ipn),Jf),San),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,gU),jre),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),xi),Dr),Bt(Hn,P(C(Zl,1),Y,161,0,[Er]))))),tr(e,gU,wU,R0e),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,wU),jre),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),G2n),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,iln),Ere),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),$2n),Jf),Oan),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,t8),Ere),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),D2n),_4),Ui),Bt(Er,P(C(Zl,1),Y,161,0,[K1]))))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,oln),LA),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),q2n),Gt),fk),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,sln),LA),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Gt),fk),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,fln),LA),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Gt),fk),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,lln),LA),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Gt),fk),Sn(Er)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,hln),LA),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Gt),fk),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,em),_U),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),K2n),_4),ak),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,p4),_U),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),_2n),_4),Spn),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,m4),_U),"Node Size Minimum"),"The minimal size to which a node can be reduced."),B2n),Jf),zr),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,e8),_U),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),Kr),ur),Sn(Hn)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,dln),aU),"Edge Label Placement"),"Gives a hint on where to put edge labels."),M2n),Gt),fpn),Sn(K1)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,cA),aU),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),Kr),ur),Sn(K1)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,yre),"font"),"Font Name"),"Font name used for a label."),Am),pn),Sn(K1)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,kre),"font"),"Font Size"),"Font size used for a label."),xi),Dr),Sn(K1)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,pln),HU),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Jf),zr),Sn(Fa)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,bln),HU),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),xi),Dr),Sn(Fa)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,nln),HU),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),V2n),Gt),Di),Sn(Fa)))),xn(e,new vn(Tn(En(Mn(yn(jn(kn(In(new mn,Yfn),HU),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),gi),Cr),Sn(Fa)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,r8),phn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),W2n),_4),sN),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,cln),phn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Kr),ur),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,uln),phn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),Kr),ur),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,KU),a8),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),V(3)),xi),Dr),Sn(Hn)))),tr(e,KU,BU,X0e),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,whn),a8),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),V(4)),xi),Dr),Sn(Hn)))),tr(e,whn,KU,null),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,RE),a8),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),gi),Cr),Sn(Hn)))),tr(e,RE,Iw,U0e),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,BU),a8),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Jf),yze),Sn(Er)))),tr(e,BU,Iw,q0e),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,$E),a8),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),gi),Cr),Bt(Hn,P(C(Zl,1),Y,161,0,[Er]))))),tr(e,$E,Iw,null),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,DE),a8),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),gi),Cr),Bt(Hn,P(C(Zl,1),Y,161,0,[Er]))))),tr(e,DE,Iw,null),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Iw),a8),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Gt),Cpn),Sn(Er)))),tr(e,Iw,e8,null),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,ghn),a8),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),gi),Cr),Sn(Hn)))),tr(e,ghn,Iw,G0e),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,tln),Tre),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),Kr),ur),Sn(Er)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,rln),Tre),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Kr),ur),Sn(El)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,mG),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),gi),Cr),Sn(El)))),xn(e,new vn(Tn(En(Mn(Ln(yn(jn(kn(In(new mn,Ire),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),C2n),Gt),wpn),Sn(El)))),H5(e,new R3($5(vv(mv(new e3,Yn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),H5(e,new R3($5(vv(mv(new e3,"org.eclipse.elk.orthogonal"),"Orthogonal"),\`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.\`))),H5(e,new R3($5(vv(mv(new e3,Hu),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),H5(e,new R3($5(vv(mv(new e3,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),H5(e,new R3($5(vv(mv(new e3,Rte),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),H5(e,new R3($5(vv(mv(new e3,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),H5(e,new R3($5(vv(mv(new e3,Gs),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),yYn((new XEn,e)),RYn((new nTn,e)),zQn((new eTn,e))};var H4,M0e,I2n,Fm,x0e,S0e,j2n,T2,M2,O0e,XT,E2n,WT,ab,T2n,YW,ZW,M2n,x2n,S2n,O2n,C2n,C0e,Lm,P2n,P0e,JT,nJ,VT,eJ,A0e,A2n,F0e,F2n,Hw,L2n,J8,N2n,R2n,$2n,Nm,D2n,db,K2n,x2,Rm,B2n,Hd,_2n,tN,QT,Ch,H2n,L0e,G2n,N0e,R0e,U2n,q2n,tJ,rJ,iJ,cJ,z2n,_o,ik,X2n,uJ,oJ,S2,W2n,J2n,$m,V2n,G4,YT,sJ,O2,$0e,fJ,D0e,K0e,Q2n,B0e,Y2n,Z2n,U4,npn,rN,epn,tpn,La,_0e,rpn,ipn,cpn,V8,C2,Q8,q4,H0e,G0e,iN,U0e,cN,q0e,z0e,X0e,W0e,cvt=g(Au,"CoreOptions",715);w(88,23,{3:1,34:1,23:1,88:1},vI);var nh,oc,bc,eh,Xs,ck=Se(Au,Fsn,88,Ne,Aje,S5e),J0e;w(284,23,{3:1,34:1,23:1,284:1},sS);var uN,ZT,upn,opn,spn=Se(Au,"EdgeCoords",284,Ne,ZIe,O5e),V0e;w(285,23,{3:1,34:1,23:1,285:1},C$);var Y8,P2,Z8,fpn=Se(Au,"EdgeLabelPlacement",285,Ne,Gke,C5e),Q0e;w(224,23,{3:1,34:1,23:1,224:1},fS);var n5,nM,z4,lJ,hJ=Se(Au,"EdgeRouting",224,Ne,YIe,P5e),Y0e;w(331,23,{3:1,34:1,23:1,331:1},Q5);var lpn,hpn,apn,dpn,aJ,bpn,wpn=Se(Au,"EdgeType",331,Ne,fEe,A5e),Z0e;w(1035,1,af,XEn),s.ef=function(e){yYn(e)};var gpn,ppn,mpn,vpn,nbe,ypn,uk,uvt=g(Au,"FixedLayouterOptions",1035);w(1036,1,{},Tkn),s.pf=function(){var e;return e=new Skn,e},s.qf=function(e){};var ovt=g(Au,"FixedLayouterOptions/FixedFactory",1036);w(358,23,{3:1,34:1,23:1,358:1},P$);var Na,oN,ok,kpn=Se(Au,"HierarchyHandling",358,Ne,Bke,F5e),ebe,yze=ir(Au,"ITopdownSizeApproximator");w(297,23,{3:1,34:1,23:1,297:1},lS);var e1,Gd,eM,tM,tbe=Se(Au,"LabelSide",297,Ne,eje,L5e),rbe;w(98,23,{3:1,34:1,23:1,98:1},lp);var B1,Vf,mf,Qf,Ts,Yf,vf,t1,Zf,Ui=Se(Au,"NodeLabelPlacement",98,Ne,lTe,N5e),ibe;w(259,23,{3:1,34:1,23:1,259:1},yI);var Ipn,sk,Ud,jpn,rM,fk=Se(Au,"PortAlignment",259,Ne,Nje,R5e),cbe;w(106,23,{3:1,34:1,23:1,106:1},Y5);var bb,hu,r1,e5,th,qd,Epn=Se(Au,"PortConstraints",106,Ne,lEe,$5e),ube;w(286,23,{3:1,34:1,23:1,286:1},Z5);var lk,hk,_1,iM,zd,X4,sN=Se(Au,"PortLabelPlacement",286,Ne,hEe,D5e),obe;w(66,23,{3:1,34:1,23:1,66:1},kI);var he,ue,Ws,Js,no,qu,rh,nl,So,vo,Eu,Oo,eo,to,el,Ms,xs,yf,Me,Cc,oe,Di=Se(Au,"PortSide",66,Ne,Fje,K5e),sbe;w(1039,1,af,eTn),s.ef=function(e){zQn(e)};var fbe,lbe,Tpn,hbe,abe,svt=g(Au,"RandomLayouterOptions",1039);w(1040,1,{},Mkn),s.pf=function(){var e;return e=new Pkn,e},s.qf=function(e){};var fvt=g(Au,"RandomLayouterOptions/RandomFactory",1040);w(306,23,{3:1,34:1,23:1,306:1},A$);var cM,dJ,Mpn,xpn=Se(Au,"ShapeCoords",306,Ne,_ke,B5e),dbe;w(395,23,{3:1,34:1,23:1,395:1},hS);var A2,uM,oM,wb,ak=Se(Au,"SizeConstraint",395,Ne,QIe,_5e),bbe;w(270,23,{3:1,34:1,23:1,270:1},hp);var sM,fN,t5,bJ,fM,dk,lN,hN,aN,Spn=Se(Au,"SizeOptions",270,Ne,kTe,H5e),wbe;w(287,23,{3:1,34:1,23:1,287:1},F$);var F2,Opn,dN,Cpn=Se(Au,"TopdownNodeTypes",287,Ne,Hke,G5e),gbe;w(294,23,RA);var Ppn,wJ,Apn,Fpn,lM=Se(Au,"TopdownSizeApproximator",294,Ne,nje,U5e);w(1031,294,RA,ARn),s.Rg=function(e){return jXn(e)};var lvt=Se(Au,"TopdownSizeApproximator/1",1031,lM,null,null);w(1032,294,RA,a$n),s.Rg=function(e){var t,r,i,c,o,f,l,a,d,b,p,v,y,j,T,O,L,N,K,W,z,an,An,Cn,Xn;t=u(tn(e,(it(),O2)),148),an=(Ja(),y=new P5,y),cE(an,e),An=new Te;for(o=new de((!e.a&&(e.a=new Q(tt,e,10,11)),e.a));o.e!=o.i.gc();)i=u(me(o),28),N=(v=new P5,v),TP(N,an),cE(N,i),Xn=jXn(i),b0(N,k.Math.max(i.g,Xn.a),k.Math.max(i.f,Xn.b)),mu(An.f,i,N);for(c=new de((!e.a&&(e.a=new Q(tt,e,10,11)),e.a));c.e!=c.i.gc();){i=u(me(c),28);for(b=new de((!i.e&&(i.e=new qn(Tr,i,7,4)),i.e));b.e!=b.i.gc();)d=u(me(b),73),W=u(Ai(li(An.f,i)),28),z=u(Vn(An,D((!d.c&&(d.c=new qn(xe,d,5,8)),d.c),0)),28),K=(p=new lR,p),Ge((!K.b&&(K.b=new qn(xe,K,4,7)),K.b),W),Ge((!K.c&&(K.c=new qn(xe,K,5,8)),K.c),z),EP(K,Nt(W)),cE(K,d)}T=u(j9(t.f),194);try{T.of(an,new fR),Ten(t.f,T)}catch(Un){if(Un=Yt(Un),R(Un,102))throw j=Un,S(j);else throw S(Un)}return Nf(an,M2)||Nf(an,T2)||jH(an),a=B(_(tn(an,M2))),l=B(_(tn(an,T2))),f=a/l,r=B(_(tn(an,C2)))*k.Math.sqrt((!an.a&&(an.a=new Q(tt,an,10,11)),an.a).i),Cn=u(tn(an,Ch),105),L=Cn.b+Cn.c+1,O=Cn.d+Cn.a+1,new en(k.Math.max(L,r),k.Math.max(O,r/f))};var hvt=Se(Au,"TopdownSizeApproximator/2",1032,lM,null,null);w(1033,294,RA,_Dn),s.Rg=function(e){var t,r,i,c,o,f;return r=B(_(tn(e,(it(),C2)))),t=r/B(_(tn(e,V8))),i=i_e(e),o=u(tn(e,Ch),105),c=B(_(ln(La))),!!Nt(e)&&(c=B(_(tn(Nt(e),La)))),f=Nl(new en(r,t),i),It(f,new en(-(o.b+o.c)-c,-(o.d+o.a)-c))};var avt=Se(Au,"TopdownSizeApproximator/3",1033,lM,null,null);w(1034,294,RA,d$n),s.Rg=function(e){var t,r,i,c,o,f,l,a,d,b;for(f=new de((!e.a&&(e.a=new Q(tt,e,10,11)),e.a));f.e!=f.i.gc();)if(o=u(me(f),28),tn(o,(it(),cN))!=null&&(!o.a&&(o.a=new Q(tt,o,10,11)),!!o.a)&&(!o.a&&(o.a=new Q(tt,o,10,11)),o.a).i>0)r=u(tn(o,cN),541),b=r.Rg(o),d=u(tn(o,Ch),105),b0(o,k.Math.max(o.g,b.a+d.b+d.c),k.Math.max(o.f,b.b+d.d+d.a));else(!o.a&&(o.a=new Q(tt,o,10,11)),o.a).i!=0&&b0(o,B(_(tn(o,C2))),B(_(tn(o,C2)))/B(_(tn(o,V8))));t=u(tn(e,(it(),O2)),148),a=u(j9(t.f),194);try{a.of(e,new fR),Ten(t.f,a)}catch(p){if(p=Yt(p),R(p,102))throw l=p,S(l);else throw S(p)}return Ct(e,H4,d8),SBn(e),jH(e),c=B(_(tn(e,M2))),i=B(_(tn(e,T2))),new en(c,i)};var dvt=Se(Au,"TopdownSizeApproximator/4",1034,lM,null,null),pbe;w(352,1,{884:1},f3),s.Sg=function(e,t){return BWn(this,e,t)},s.Tg=function(){dJn(this)},s.Ug=function(){return this.q},s.Vg=function(){return!this.f?null:yO(this.f)},s.Wg=function(){return yO(this.a)},s.Xg=function(){return this.p},s.Yg=function(){return!1},s.Zg=function(){return this.n},s.$g=function(){return this.p!=null&&!this.b},s._g=function(e){var t;if(this.n)t=e,un(this.f,t)},s.ah=function(e,t){var r,i;this.n&&!!e&&sIe(this,(r=new M$n,i=eH(r,e),XGe(r),i),(xC(),pJ))},s.bh=function(e){var t;if(this.b)return null;else return t=JEe(this,this.g),Ze(this.a,t),t.i=this,this.d=e,t},s.dh=function(e){e>0&&!this.b&&mrn(this,e)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0;var bvt=g(Kc,"BasicProgressMonitor",352);w(734,194,X0,vkn),s.of=function(e,t){ZYn(e,t)};var wvt=g(Kc,"BoxLayoutProvider",734);w(1027,1,nt,wSn),s.Ke=function(e,t){return R$e(this,u(e,28),u(t,28))},s.Fb=function(e){return this===e},s.Le=function(){return new ze(this)},s.a=!1;var gvt=g(Kc,"BoxLayoutProvider/1",1027);w(167,1,{167:1},iC,QLn),s.Ib=function(){return this.c?won(this.c):Ul(this.b)};var pvt=g(Kc,"BoxLayoutProvider/Group",167);w(330,23,{3:1,34:1,23:1,330:1},aS);var Lpn,Npn,Rpn,gJ,$pn=Se(Kc,"BoxLayoutProvider/PackingMode",330,Ne,VIe,q5e),mbe;w(1028,1,nt,mkn),s.Ke=function(e,t){return hye(u(e,167),u(t,167))},s.Fb=function(e){return this===e},s.Le=function(){return new ze(this)};var mvt=g(Kc,"BoxLayoutProvider/lambda$0$Type",1028);w(1029,1,nt,ykn),s.Ke=function(e,t){return rye(u(e,167),u(t,167))},s.Fb=function(e){return this===e},s.Le=function(){return new ze(this)};var vvt=g(Kc,"BoxLayoutProvider/lambda$1$Type",1029);w(1030,1,nt,kkn),s.Ke=function(e,t){return iye(u(e,167),u(t,167))},s.Fb=function(e){return this===e},s.Le=function(){return new ze(this)};var yvt=g(Kc,"BoxLayoutProvider/lambda$2$Type",1030);w(1404,1,{857:1},Ikn),s.Kg=function(e,t){return $x(),!R(t,171)||cPn((z3(),u(e,171)),t)};var kvt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1404);w(1405,1,ge,gSn),s.Cd=function(e){mxe(this.a,u(e,153))};var Ivt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1405);w(1406,1,ge,jkn),s.Cd=function(e){u(e,99),$x()};var jvt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1406);w(1410,1,ge,pSn),s.Cd=function(e){LTe(this.a,u(e,99))};var Evt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1410);w(1408,1,_e,$An),s.Mb=function(e){return ZMe(this.a,this.b,u(e,153))};var Tvt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1408);w(1407,1,_e,DAn),s.Mb=function(e){return Kve(this.a,this.b,u(e,857))};var Mvt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1407);w(1409,1,ge,KAn),s.Cd=function(e){Z9e(this.a,this.b,u(e,153))};var xvt=g(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1409);w(ja,1,{},xkn),s.Kb=function(e){return RFn(e)},s.Fb=function(e){return this===e};var Svt=g(Kc,"ElkUtil/lambda$0$Type",ja);w(1001,1,ge,BAn),s.Cd=function(e){RNe(this.a,this.b,u(e,73))},s.a=0,s.b=0;var Ovt=g(Kc,"ElkUtil/lambda$1$Type",1001);w(1002,1,ge,_An),s.Cd=function(e){_me(this.a,this.b,u(e,170))},s.a=0,s.b=0;var Cvt=g(Kc,"ElkUtil/lambda$2$Type",1002);w(1003,1,ge,HAn),s.Cd=function(e){L4e(this.a,this.b,u(e,135))},s.a=0,s.b=0;var Pvt=g(Kc,"ElkUtil/lambda$3$Type",1003);w(1004,1,ge,mSn),s.Cd=function(e){m9e(this.a,u(e,384))};var Avt=g(Kc,"ElkUtil/lambda$4$Type",1004);w(334,1,{34:1,334:1},x5),s.Fd=function(e){return dve(this,u(e,243))},s.Fb=function(e){var t;if(R(e,334))return t=u(e,334),this.a==t.a;return!1},s.Hb=function(){return _r(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0;var Fvt=g(Kc,"ExclusiveBounds/ExclusiveLowerBound",334);w(1129,194,X0,Skn),s.of=function(e,t){var r,i,c,o,f,l,a,d,b,p,v,y,j,T,O,L,N,K,W,z,an,An,Cn;t.Sg("Fixed Layout",1),o=u(tn(e,(it(),x2n)),224),p=0,v=0;for(N=new de((!e.a&&(e.a=new Q(tt,e,10,11)),e.a));N.e!=N.i.gc();){if(O=u(me(N),28),Cn=u(tn(O,(SC(),uk)),8),Cn){if(Fs(O,Cn.a,Cn.b),u(tn(O,ppn),184).Hc((Zo(),A2)))y=u(tn(O,vpn),8),y.a>0&&y.b>0&&pw(O,y.a,y.b,!0,!0)}p=k.Math.max(p,O.i+O.g),v=k.Math.max(v,O.j+O.f);for(d=new de((!O.n&&(O.n=new Q(nc,O,1,7)),O.n));d.e!=d.i.gc();)l=u(me(d),135),Cn=u(tn(l,uk),8),!!Cn&&Fs(l,Cn.a,Cn.b),p=k.Math.max(p,O.i+l.i+l.g),v=k.Math.max(v,O.j+l.j+l.f);for(z=new de((!O.c&&(O.c=new Q(Co,O,9,9)),O.c));z.e!=z.i.gc();){W=u(me(z),121),Cn=u(tn(W,uk),8),!!Cn&&Fs(W,Cn.a,Cn.b),an=O.i+W.i,An=O.j+W.j,p=k.Math.max(p,an+W.g),v=k.Math.max(v,An+W.f);for(a=new de((!W.n&&(W.n=new Q(nc,W,1,7)),W.n));a.e!=a.i.gc();)l=u(me(a),135),Cn=u(tn(l,uk),8),!!Cn&&Fs(l,Cn.a,Cn.b),p=k.Math.max(p,an+l.i+l.g),v=k.Math.max(v,An+l.j+l.f)}for(c=new te(ie(O1(O).a.Kc(),new gn));je(c);)r=u(we(c),73),b=wne(r),p=k.Math.max(p,b.a),v=k.Math.max(v,b.b);for(i=new te(ie(iE(O).a.Kc(),new gn));je(i);)if(r=u(we(i),73),Nt(Gh(r))!=e)b=wne(r),p=k.Math.max(p,b.a),v=k.Math.max(v,b.b)}if(o==(M1(),n5))for(L=new de((!e.a&&(e.a=new Q(tt,e,10,11)),e.a));L.e!=L.i.gc();){O=u(me(L),28);for(i=new te(ie(O1(O).a.Kc(),new gn));je(i);)r=u(we(i),73),f=UBe(r),f.b==0?Ct(r,Hw,null):Ct(r,Hw,f)}if(!wn(bn(tn(e,(SC(),mpn)))))K=u(tn(e,nbe),105),T=p+K.b+K.c,j=v+K.d+K.a,pw(e,T,j,!0,!0);t.Tg()};var Lvt=g(Kc,"FixedLayoutProvider",1129);w(392,142,{3:1,429:1,392:1,99:1,142:1},sR,DHn),s._f=function(e){var t,r,i,c,o,f,l,a,d;if(!e)return;try{a=Ug(e,";,;");for(o=a,f=0,l=o.length;f<l;++f){if(c=o[f],r=Ug(c,"\\\\:"),i=Gon(t6(),r[0]),!i)throw S(new Zn("Invalid option id: "+r[0]));if(d=qon(i,r[1]),d==null)throw S(new Zn("Invalid option value: "+r[1]));d==null?(!this.q&&(this.q=new Te),B3(this.q,i)):(!this.q&&(this.q=new Te),rt(this.q,i,d))}}catch(b){if(b=Yt(b),R(b,102))throw t=b,S(new xqn(t));else throw S(b)}},s.Ib=function(){var e=We(Ji(fc((!this.q?(_n(),_n(),Qh):this.q).vc().Oc(),new Okn),Eg(new oRn,new i4n,new Z3n,new n4n,P(C($i,1),Y,104,0,[]))));return e};var vbe=g(Kc,"IndividualSpacings",392);w(1026,1,{},Okn),s.Kb=function(e){return aye(u(e,48))};var Nvt=g(Kc,"IndividualSpacings/lambda$0$Type",1026);w(736,1,{},BRn),s.c=0;var Rvt=g(Kc,"InstancePool",736);w(1884,1,{},Ckn);var $vt=g(Kc,"LoggedGraph",1884);w(422,23,{3:1,34:1,23:1,422:1},dS);var Dpn,pJ,Kpn,Bpn,ybe=Se(Kc,"LoggedGraph/Type",422,Ne,tje,z5e),kbe;w(638,1,{884:1},fR),s.Sg=function(e,t){return!1},s.Tg=function(){},s.Ug=function(){return 0},s.Vg=function(){return null},s.Wg=function(){return null},s.Xg=function(){return null},s.Yg=function(){return!1},s.Zg=function(){return!1},s.$g=function(){return!1},s._g=function(e){},s.ah=function(e,t){},s.bh=function(e){return this},s.dh=function(e){};var Dvt=g(Kc,"NullElkProgressMonitor",638);w(43,1,{22:1,43:1},Br),s.Jc=function(e){hi(this,e)},s.Fb=function(e){var t,r,i;if(R(e,43))return r=u(e,43),t=this.a==null?r.a==null:Tt(this.a,r.a),i=this.b==null?r.b==null:Tt(this.b,r.b),t&&i;else return!1},s.Hb=function(){var e,t,r,i,c,o;return r=this.a==null?0:qt(this.a),e=r&Lr,t=r&-65536,o=this.b==null?0:qt(this.b),i=o&Lr,c=o&-65536,e^c>>16&Lr|t^i<<16},s.Kc=function(){return new vSn(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+mc(this.b)+")":this.b==null?"pair("+mc(this.a)+",null)":"pair("+mc(this.a)+","+mc(this.b)+")"};var Kvt=g(Kc,"Pair",43);w(1041,1,ri,vSn),s.Nb=function(e){wi(this,e)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;else if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw S(new kc)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),S(new so)},s.b=!1,s.c=!1;var Bvt=g(Kc,"Pair/1",1041);w(463,1,{463:1},sDn),s.Fb=function(e){return Ec(this.a,u(e,463).a)&&Ec(this.c,u(e,463).c)&&Ec(this.d,u(e,463).d)&&Ec(this.b,u(e,463).b)},s.Hb=function(){return Oj(P(C(Or,1),Wn,1,5,[this.a,this.c,this.d,this.b]))},s.Ib=function(){return"("+this.a+Ci+this.c+Ci+this.d+Ci+this.b+")"};var _vt=g(Kc,"Quadruple",463);w(1118,194,X0,Pkn),s.of=function(e,t){var r,i,c,o,f;if(t.Sg("Random Layout",1),(!e.a&&(e.a=new Q(tt,e,10,11)),e.a).i==0){t.Tg();return}o=u(tn(e,(_in(),hbe)),14),!!o&&o.a!=0?c=new KO(o.a):c=new CB,r=nI(_(tn(e,fbe))),f=nI(_(tn(e,abe))),i=u(tn(e,lbe),105),pUe(e,c,r,f,i),t.Tg()};var Hvt=g(Kc,"RandomLayoutProvider",1118);w(241,1,{241:1},aD),s.Fb=function(e){return Ec(this.a,u(e,241).a)&&Ec(this.b,u(e,241).b)&&Ec(this.c,u(e,241).c)},s.Hb=function(){return Oj(P(C(Or,1),Wn,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+Ci+this.b+Ci+this.c+")"};var Gvt=g(Kc,"Triple",241),Ibe;w(570,1,{}),s.If=function(){return new en(this.f.i,this.f.j)},s.lf=function(e){if(RDn(e,(it(),_o)))return tn(this.f,jbe);return tn(this.f,e)},s.Jf=function(){return new en(this.f.g,this.f.f)},s.Kf=function(){return this.g},s.mf=function(e){return Nf(this.f,e)},s.Lf=function(e){Du(this.f,e.a),Ku(this.f,e.b)},s.Mf=function(e){iw(this.f,e.a),rw(this.f,e.b)},s.Nf=function(e){this.g=e},s.g=0;var jbe,Uvt=g(q7,"ElkGraphAdapters/AbstractElkGraphElementAdapter",570);w(572,1,{864:1},gx),s.Of=function(){var e,t;if(!this.b){this.b=CO(aO(this.a).i);for(t=new de(aO(this.a));t.e!=t.i.gc();)e=u(me(t),135),un(this.b,new BR(e))}return this.b},s.b=null;var qvt=g(q7,"ElkGraphAdapters/ElkEdgeAdapter",572);w(263,570,{},za),s.Pf=function(){return zXn(this)},s.a=null;var zvt=g(q7,"ElkGraphAdapters/ElkGraphAdapter",263);w(652,570,{190:1},BR);var Xvt=g(q7,"ElkGraphAdapters/ElkLabelAdapter",652);w(571,570,{707:1},CS),s.Of=function(){return nPe(this)},s.Sf=function(){var e;return e=u(tn(this.f,(it(),J8)),146),!e&&(e=new C5),e},s.Uf=function(){return ePe(this)},s.Wf=function(e){var t=new lD(e);Ct(this.f,(it(),J8),t)},s.Xf=function(e){Ct(this.f,(it(),Ch),new vnn(e))},s.Qf=function(){return this.d},s.Rf=function(){var e,t;if(!this.a){this.a=new cn;for(t=new te(ie(iE(u(this.f,28)).a.Kc(),new gn));je(t);)e=u(we(t),73),un(this.a,new gx(e))}return this.a},s.Tf=function(){var e,t;if(!this.c){this.c=new cn;for(t=new te(ie(O1(u(this.f,28)).a.Kc(),new gn));je(t);)e=u(we(t),73),un(this.c,new gx(e))}return this.c},s.Vf=function(){return mO(u(this.f,28)).i!=0||wn(bn(u(this.f,28).lf((it(),JT))))},s.Yf=function(){CEe(this,(d0(),Ibe))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null;var Wvt=g(q7,"ElkGraphAdapters/ElkNodeAdapter",571);w(1295,570,{863:1},ySn),s.Of=function(){return oPe(this)},s.Rf=function(){var e,t;if(!this.a){this.a=Lh(u(this.f,121).fh().i);for(t=new de(u(this.f,121).fh());t.e!=t.i.gc();)e=u(me(t),73),un(this.a,new gx(e))}return this.a},s.Tf=function(){var e,t;if(!this.c){this.c=Lh(u(this.f,121).gh().i);for(t=new de(u(this.f,121).gh());t.e!=t.i.gc();)e=u(me(t),73),un(this.c,new gx(e))}return this.c},s.Zf=function(){return u(u(this.f,121).lf((it(),$m)),66)},s.$f=function(){var e,t,r,i,c,o,f,l;i=fl(u(this.f,121));for(r=new de(u(this.f,121).gh());r.e!=r.i.gc();){e=u(me(r),73);for(l=new de((!e.c&&(e.c=new qn(xe,e,5,8)),e.c));l.e!=l.i.gc();)if(f=u(me(l),85),Mg(dc(f),i))return!0;else if(dc(f)==i&&wn(bn(tn(e,(it(),nJ)))))return!0}for(t=new de(u(this.f,121).fh());t.e!=t.i.gc();){e=u(me(t),73);for(o=new de((!e.b&&(e.b=new qn(xe,e,4,7)),e.b));o.e!=o.i.gc();)if(c=u(me(o),85),Mg(dc(c),i))return!0}return!1},s.a=null,s.b=null,s.c=null;var Jvt=g(q7,"ElkGraphAdapters/ElkPortAdapter",1295);w(1296,1,nt,Akn),s.Ke=function(e,t){return FKe(u(e,121),u(t,121))},s.Fb=function(e){return this===e},s.Le=function(){return new ze(this)};var Vvt=g(q7,"ElkGraphAdapters/PortComparator",1296),Xd=ir(Us,"EObject"),r5=ir(im,Sre),Ss=ir(im,Ore),hM=ir(im,Cre),aM=ir(im,"ElkShape"),xe=ir(im,Pre),Tr=ir(im,vhn),Qt=ir(im,Are),dM=ir(Us,Fre),bk=ir(Us,"EFactory"),Ebe,mJ=ir(Us,Lre),Tl=ir(Us,"EPackage"),Yr,Tbe,Mbe,_pn,bN,xbe,Hpn,Gpn,Upn,i1,Sbe,Obe,nc=ir(im,yhn),tt=ir(im,khn),Co=ir(im,Ihn);w(94,1,Nre),s.rh=function(){return this.sh(),null},s.sh=function(){return null},s.th=function(){return this.sh(),!1},s.uh=function(){return!1},s.vh=function(e){Et(this,e)};var Qvt=g(y4,"BasicNotifierImpl",94);w(101,94,Kre),s.Wh=function(){return qo(this)},s.wh=function(e,t){return e},s.xh=function(){throw S(new Qe)},s.yh=function(e){var t;return t=Ri(u(zn(this.Bh(),this.Dh()),19)),this.Nh().Rh(this,t.n,t.f,e)},s.zh=function(e,t){throw S(new Qe)},s.Ah=function(e,t,r){return vs(this,e,t,r)},s.Bh=function(){var e;if(this.xh()){if(e=this.xh().Mk(),e)return e}return this.gi()},s.Ch=function(){return R_(this)},s.Dh=function(){throw S(new Qe)},s.Eh=function(){var e,t;return t=this.Yh().Nk(),!t&&this.xh().Sk(t=(U5(),e=_en(gh(this.Bh())),e==null?MJ:new xI(this,e))),t},s.Fh=function(e,t){return e},s.Gh=function(e){var t=e.ok();return!t?rr(this.Bh(),e):e.Kj()},s.Hh=function(){var e=this.xh();return!e?null:e.Pk()},s.Ih=function(){return!this.xh()?null:this.xh().Mk()},s.Jh=function(e,t,r){return QC(this,e,t,r)},s.Kh=function(e){return Vv(this,e)},s.Lh=function(e,t){return vK(this,e,t)},s.Mh=function(){var e=this.xh();return!!e&&e.Qk()},s.Nh=function(){throw S(new Qe)},s.Oh=function(){return UC(this)},s.Ph=function(e,t,r,i){return Y3(this,e,t,i)},s.Qh=function(e,t,r){var i;return i=u(zn(this.Bh(),t),69),i.vk().yk(this,this.fi(),t-this.hi(),e,r)},s.Rh=function(e,t,r,i){return jO(this,e,t,i)},s.Sh=function(e,t,r){var i;return i=u(zn(this.Bh(),t),69),i.vk().zk(this,this.fi(),t-this.hi(),e,r)},s.Th=function(){return!!this.xh()&&!!this.xh().Ok()},s.Uh=function(e){return qB(this,e)},s.Vh=function(e){return eKn(this,e)},s.Xh=function(e){return YZn(this,e)},s.Yh=function(){throw S(new Qe)},s.Zh=function(){return!this.xh()?null:this.xh().Ok()},s.$h=function(){return UC(this)},s._h=function(e,t){P_(this,e,t)},s.ai=function(e){this.Yh().Rk(e)},s.bi=function(e){this.Yh().Uk(e)},s.ci=function(e){this.Yh().Tk(e)},s.di=function(e,t){var r,i,c,o;if(o=this.Hh(),!!o&&!!e)t=Oi(o.Dl(),this,t),o.Hl(this);if(i=this.Nh(),i)if((Y_(this,this.Nh(),this.Dh()).Bb&Fi)!=0)c=i.Oh(),!!c&&(!e?c.Gl(this):!o&&c.Hl(this));else t=(r=this.Dh(),r>=0?this.yh(t):this.Nh().Rh(this,-1-r,null,t)),t=this.Ah(null,-1,t);return this.bi(e),t},s.ei=function(e){var t,r,i,c,o,f,l,a;if(r=this.Bh(),o=rr(r,e),t=this.hi(),o>=t)return u(e,69).vk().Ck(this,this.fi(),o-t);else if(o<=-1)if(f=Jp((go(),pi),r,e),f){if(Ni(),u(f,69).wk()||(f=$3(rc(pi,f))),c=(i=this.Gh(f),u(i>=0?this.Jh(i,!0,!0):bw(this,f,!0),163)),a=f.Hk(),a>1||a==-1)return u(u(c,221).Rl(e,!1),81)}else throw S(new Zn(Sd+e.ue()+GU));else if(e.Ik())return i=this.Gh(e),u(i>=0?this.Jh(i,!1,!0):bw(this,e,!1),81);return l=new uFn(this,e),l},s.fi=function(){return Jtn(this)},s.gi=function(){return(rd(),ee).S},s.hi=function(){return Ee(this.gi())},s.ii=function(e){S_(this,e)},s.Ib=function(){return Bf(this)};var Yvt=g(re,"BasicEObjectImpl",101),Cbe;w(119,101,{110:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1}),s.ji=function(e){var t=Wtn(this);return t[e]},s.ki=function(e,t){var r=Wtn(this);lr(r,e,t)},s.li=function(e){var t=Wtn(this);lr(t,e,null)},s.rh=function(){return u(ce(this,4),129)},s.sh=function(){throw S(new Qe)},s.th=function(){return(this.Db&4)!=0},s.xh=function(){throw S(new Qe)},s.mi=function(e){J3(this,2,e)},s.zh=function(e,t){this.Db=t<<16|this.Db&255,this.mi(e)},s.Bh=function(){return Wu(this)},s.Dh=function(){return this.Db>>16},s.Eh=function(){var e,t;return U5(),t=_en(gh((e=u(ce(this,16),30),!e?this.gi():e))),t==null?MJ:new xI(this,t)},s.uh=function(){return(this.Db&1)==0},s.Hh=function(){return u(ce(this,128),2064)},s.Ih=function(){return u(ce(this,16),30)},s.Mh=function(){return(this.Db&32)!=0},s.Nh=function(){return u(ce(this,2),54)},s.Th=function(){return(this.Db&64)!=0},s.Yh=function(){throw S(new Qe)},s.Zh=function(){return u(ce(this,64),295)},s.ai=function(e){J3(this,16,e)},s.bi=function(e){J3(this,128,e)},s.ci=function(e){J3(this,64,e)},s.fi=function(){return Bu(this)},s.Db=0;var Zvt=g(re,"MinimalEObjectImpl",119);w(120,119,{110:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),s.mi=function(e){this.Cb=e},s.Nh=function(){return this.Cb};var n6t=g(re,"MinimalEObjectImpl/Container",120);w(2111,120,{110:1,350:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),s.Jh=function(e,t,r){return lcn(this,e,t,r)},s.Sh=function(e,t,r){return Ycn(this,e,t,r)},s.Uh=function(e){return rtn(this,e)},s._h=function(e,t){Wrn(this,e,t)},s.gi=function(){return Zc(),Obe},s.ii=function(e){$rn(this,e)},s.kf=function(){return fXn(this)},s.eh=function(){return!this.o&&(this.o=new bo((Zc(),i1),Ra,this,0)),this.o},s.lf=function(e){return tn(this,e)},s.mf=function(e){return Nf(this,e)},s.nf=function(e,t){return Ct(this,e,t)};var e6t=g(Q0,"EMapPropertyHolderImpl",2111);w(580,120,{110:1,384:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},ux),s.Jh=function(e,t,r){switch(e){case 0:return this.a;case 1:return this.b}return QC(this,e,t,r)},s.Uh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return qB(this,e)},s._h=function(e,t){switch(e){case 0:oC(this,B(_(t)));return;case 1:uC(this,B(_(t)));return}P_(this,e,t)},s.gi=function(){return Zc(),Tbe},s.ii=function(e){switch(e){case 0:oC(this,0);return;case 1:uC(this,0);return}S_(this,e)},s.Ib=function(){var e;if((this.Db&64)!=0)return Bf(this);return e=new cf(Bf(this)),e.a+=" (x: ",up(e,this.a),e.a+=", y: ",up(e,this.b),e.a+=")",e.a},s.a=0,s.b=0;var t6t=g(Q0,"ElkBendPointImpl",580);w(751,2111,{110:1,350:1,171:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),s.Jh=function(e,t,r){return gin(this,e,t,r)},s.Qh=function(e,t,r){return k_(this,e,t,r)},s.Sh=function(e,t,r){return eB(this,e,t,r)},s.Uh=function(e){return Prn(this,e)},s._h=function(e,t){Scn(this,e,t)},s.gi=function(){return Zc(),xbe},s.ii=function(e){lin(this,e)},s.hh=function(){return this.k},s.ih=function(){return aO(this)},s.Ib=function(){return SB(this)},s.k=null;var r6t=g(Q0,"ElkGraphElementImpl",751);w(752,751,{110:1,350:1,171:1,268:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),s.Jh=function(e,t,r){return xin(this,e,t,r)},s.Uh=function(e){return Nin(this,e)},s._h=function(e,t){Ocn(this,e,t)},s.gi=function(){return Zc(),Sbe},s.ii=function(e){Rin(this,e)},s.jh=function(){return this.f},s.kh=function(){return this.g},s.lh=function(){return this.i},s.mh=function(){return this.j},s.nh=function(e,t){b0(this,e,t)},s.oh=function(e,t){Fs(this,e,t)},s.ph=function(e){Du(this,e)},s.qh=function(e){Ku(this,e)},s.Ib=function(){return M_(this)},s.f=0,s.g=0,s.i=0,s.j=0;var i6t=g(Q0,"ElkShapeImpl",752);w(753,752,{110:1,350:1,85:1,171:1,268:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),s.Jh=function(e,t,r){return rcn(this,e,t,r)},s.Qh=function(e,t,r){return Icn(this,e,t,r)},s.Sh=function(e,t,r){return jcn(this,e,t,r)},s.Uh=function(e){return Grn(this,e)},s._h=function(e,t){$un(this,e,t)},s.gi=function(){return Zc(),Mbe},s.ii=function(e){Yin(this,e)},s.fh=function(){return!this.d&&(this.d=new qn(Tr,this,8,5)),this.d},s.gh=function(){return!this.e&&(this.e=new qn(Tr,this,7,4)),this.e};var c6t=g(Q0,"ElkConnectableShapeImpl",753);w(262,751,{110:1,350:1,73:1,171:1,262:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},lR),s.yh=function(e){return vcn(this,e)},s.Jh=function(e,t,r){switch(e){case 3:return pg(this);case 4:return!this.b&&(this.b=new qn(xe,this,4,7)),this.b;case 5:return!this.c&&(this.c=new qn(xe,this,5,8)),this.c;case 6:return!this.a&&(this.a=new Q(Qt,this,6,6)),this.a;case 7:return Qn(),!this.b&&(this.b=new qn(xe,this,4,7)),this.b.i<=1&&(!this.c&&(this.c=new qn(xe,this,5,8)),this.c.i<=1)?!1:!0;case 8:return Qn(),h7(this)?!0:!1;case 9:return Qn(),dw(this)?!0:!1;case 10:return Qn(),!this.b&&(this.b=new qn(xe,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new qn(xe,this,5,8)),this.c.i!=0)?!0:!1}return gin(this,e,t,r)},s.Qh=function(e,t,r){var i;switch(t){case 3:return!!this.Cb&&(r=(i=this.Db>>16,i>=0?vcn(this,r):this.Cb.Rh(this,-1-i,null,r))),WZ(this,u(e,28),r);case 4:return!this.b&&(this.b=new qn(xe,this,4,7)),Pu(this.b,e,r);case 5:return!this.c&&(this.c=new qn(xe,this,5,8)),Pu(this.c,e,r);case 6:return!this.a&&(this.a=new Q(Qt,this,6,6)),Pu(this.a,e,r)}return k_(this,e,t,r)},s.Sh=function(e,t,r){switch(t){case 3:return WZ(this,null,r);case 4:return!this.b&&(this.b=new qn(xe,this,4,7)),Oi(this.b,e,r);case 5:return!this.c&&(this.c=new qn(xe,this,5,8)),Oi(this.c,e,r);case 6:return!this.a&&(this.a=new Q(Qt,this,6,6)),Oi(this.a,e,r)}return eB(this,e,t,r)},s.Uh=function(e){switch(e){case 3:return!!pg(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new qn(xe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new qn(xe,this,5,8)),this.c.i<=1));case 8:return h7(this);case 9:return dw(this);case 10:return!this.b&&(this.b=new qn(xe,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new qn(xe,this,5,8)),this.c.i!=0)}return Prn(this,e)},s._h=function(e,t){switch(e){case 3:EP(this,u(t,28));return;case 4:!this.b&&(this.b=new qn(xe,this,4,7)),Be(this.b),!this.b&&(this.b=new qn(xe,this,4,7)),wr(this.b,u(t,17));return;case 5:!this.c&&(this.c=new qn(xe,this,5,8)),Be(this.c),!this.c&&(this.c=new qn(xe,this,5,8)),wr(this.c,u(t,17));return;case 6:!this.a&&(this.a=new Q(Qt,this,6,6)),Be(this.a),!this.a&&(this.a=new Q(Qt,this,6,6)),wr(this.a,u(t,17));return}Scn(this,e,t)},s.gi=function(){return Zc(),_pn},s.ii=function(e){switch(e){case 3:EP(this,null);return;case 4:!this.b&&(this.b=new qn(xe,this,4,7)),Be(this.b);return;case 5:!this.c&&(this.c=new qn(xe,this,5,8)),Be(this.c);return;case 6:!this.a&&(this.a=new Q(Qt,this,6,6)),Be(this.a);return}lin(this,e)},s.Ib=function(){return gZn(this)};var u6t=g(Q0,"ElkEdgeImpl",262);w(460,2111,{110:1,350:1,170:1,460:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},ox),s.yh=function(e){return wcn(this,e)},s.Jh=function(e,t,r){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Ar(Ss,this,5)),this.a;case 6:return ZDn(this);case 7:if(t)return VB(this);return this.i;case 8:if(t)return JB(this);return this.f;case 9:return!this.g&&(this.g=new qn(Qt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new qn(Qt,this,10,9)),this.e;case 11:return this.d}return lcn(this,e,t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 6:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?wcn(this,r):this.Cb.Rh(this,-1-c,null,r))),JZ(this,u(e,73),r);case 9:return!this.g&&(this.g=new qn(Qt,this,9,10)),Pu(this.g,e,r);case 10:return!this.e&&(this.e=new qn(Qt,this,10,9)),Pu(this.e,e,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Zc(),bN):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Zc(),bN)),e,r)},s.Sh=function(e,t,r){switch(t){case 5:return!this.a&&(this.a=new Ar(Ss,this,5)),Oi(this.a,e,r);case 6:return JZ(this,null,r);case 9:return!this.g&&(this.g=new qn(Qt,this,9,10)),Oi(this.g,e,r);case 10:return!this.e&&(this.e=new qn(Qt,this,10,9)),Oi(this.e,e,r)}return Ycn(this,e,t,r)},s.Uh=function(e){switch(e){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!ZDn(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return rtn(this,e)},s._h=function(e,t){switch(e){case 1:Sp(this,B(_(t)));return;case 2:Pp(this,B(_(t)));return;case 3:Op(this,B(_(t)));return;case 4:Cp(this,B(_(t)));return;case 5:!this.a&&(this.a=new Ar(Ss,this,5)),Be(this.a),!this.a&&(this.a=new Ar(Ss,this,5)),wr(this.a,u(t,17));return;case 6:bQn(this,u(t,73));return;case 7:dC(this,u(t,85));return;case 8:aC(this,u(t,85));return;case 9:!this.g&&(this.g=new qn(Qt,this,9,10)),Be(this.g),!this.g&&(this.g=new qn(Qt,this,9,10)),wr(this.g,u(t,17));return;case 10:!this.e&&(this.e=new qn(Qt,this,10,9)),Be(this.e),!this.e&&(this.e=new qn(Qt,this,10,9)),wr(this.e,u(t,17));return;case 11:yrn(this,We(t));return}Wrn(this,e,t)},s.gi=function(){return Zc(),bN},s.ii=function(e){switch(e){case 1:Sp(this,0);return;case 2:Pp(this,0);return;case 3:Op(this,0);return;case 4:Cp(this,0);return;case 5:!this.a&&(this.a=new Ar(Ss,this,5)),Be(this.a);return;case 6:bQn(this,null);return;case 7:dC(this,null);return;case 8:aC(this,null);return;case 9:!this.g&&(this.g=new qn(Qt,this,9,10)),Be(this.g);return;case 10:!this.e&&(this.e=new qn(Qt,this,10,9)),Be(this.e);return;case 11:yrn(this,null);return}$rn(this,e)},s.Ib=function(){return TVn(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0;var o6t=g(Q0,"ElkEdgeSectionImpl",460);w(162,120,{110:1,95:1,94:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1}),s.Jh=function(e,t,r){var i;if(e==0)return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;return Ds(this,e-Ee(this.gi()),zn((i=u(ce(this,16),30),!i?this.gi():i),e),t,r)},s.Qh=function(e,t,r){var i,c;if(t==0)return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);return c=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),c.vk().yk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Sh=function(e,t,r){var i,c;if(t==0)return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);return c=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),c.vk().zk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Uh=function(e){var t;if(e==0)return!!this.Ab&&this.Ab.i!=0;return $s(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.Xh=function(e){return Zon(this,e)},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return}_s(this,e-Ee(this.gi()),zn((r=u(ce(this,16),30),!r?this.gi():r),e),t)},s.bi=function(e){J3(this,128,e)},s.gi=function(){return Bn(),Jbe},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return}Bs(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.ni=function(){this.Bb|=1},s.oi=function(e){return m7(this,e)},s.Bb=0;var s6t=g(re,"EModelElementImpl",162);w(738,162,{110:1,95:1,94:1,487:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1},UV),s.pi=function(e,t){return UZn(this,e,t)},s.qi=function(e){var t,r,i,c,o;if(this.a!=ds(e)||(e.Bb&256)!=0)throw S(new Zn(qU+e.zb+xw));for(i=lc(e);cu(i.a).i!=0;){if(r=u(pE(i,0,(t=u(D(cu(i.a),0),89),o=t.c,R(o,90)?u(o,30):(Bn(),Ef))),30),aw(r))return c=ds(r).ui().qi(r),u(c,54).ai(e),c;i=lc(r)}return(e.D!=null?e.D:e.B)=="java.util.Map$Entry"?new TRn(e):new Lnn(e)},s.ri=function(e,t){return mw(this,e,t)},s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.a}return Ds(this,e-Ee((Bn(),Qd)),zn((i=u(ce(this,16),30),!i?Qd:i),e),t,r)},s.Qh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 1:return!!this.a&&(r=u(this.a,54).Rh(this,4,Tl,r)),oin(this,u(e,242),r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Qd):i),t),69),c.vk().yk(this,Bu(this),t-Ee((Bn(),Qd)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 1:return oin(this,null,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Qd):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Qd)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return $s(this,e-Ee((Bn(),Qd)),zn((t=u(ce(this,16),30),!t?Qd:t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:ZWn(this,u(t,242));return}_s(this,e-Ee((Bn(),Qd)),zn((r=u(ce(this,16),30),!r?Qd:r),e),t)},s.gi=function(){return Bn(),Qd},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:ZWn(this,null);return}Bs(this,e-Ee((Bn(),Qd)),zn((t=u(ce(this,16),30),!t?Qd:t),e))};var wk,qpn,Pbe,f6t=g(re,"EFactoryImpl",738);w(1082,738,{110:1,2141:1,95:1,94:1,487:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1},Lkn),s.pi=function(e,t){switch(e.gk()){case 12:return u(t,153).Ng();case 13:return mc(t);default:throw S(new Zn(b8+e.ue()+xw))}},s.qi=function(e){var t,r,i,c,o,f,l,a;switch(e.G==-1&&(e.G=(t=ds(e),t?va(t.ti(),e):-1)),e.G){case 4:return o=new KV,o;case 6:return f=new P5,f;case 7:return l=new $Q,l;case 8:return i=new lR,i;case 9:return r=new ux,r;case 10:return c=new ox,c;case 11:return a=new Nkn,a;default:throw S(new Zn(qU+e.zb+xw))}},s.ri=function(e,t){switch(e.gk()){case 13:case 12:return null;default:throw S(new Zn(b8+e.ue()+xw))}};var l6t=g(Q0,"ElkGraphFactoryImpl",1082);w(456,162,{110:1,95:1,94:1,158:1,200:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1}),s.Eh=function(){var e,t;return t=(e=u(ce(this,16),30),_en(gh(!e?this.gi():e))),t==null?(U5(),U5(),MJ):new GLn(this,t)},s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.ue()}return Ds(this,e-Ee(this.gi()),zn((i=u(ce(this,16),30),!i?this.gi():i),e),t,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return $s(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:this.si(We(t));return}_s(this,e-Ee(this.gi()),zn((r=u(ce(this,16),30),!r?this.gi():r),e),t)},s.gi=function(){return Bn(),Vbe},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:this.si(null);return}Bs(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.ue=function(){return this.zb},s.si=function(e){Cu(this,e)},s.Ib=function(){return z9(this)},s.zb=null;var h6t=g(re,"ENamedElementImpl",456);w(187,456,{110:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,54:1,101:1,162:1,187:1,119:1,120:1,702:1},IDn),s.yh=function(e){return sWn(this,e)},s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new bg(this,Ml,this)),this.rb;case 6:return!this.vb&&(this.vb=new T3(Tl,this,6,7)),this.vb;case 7:if(t)return this.Db>>16==7?u(this.Cb,242):null;return nKn(this)}return Ds(this,e-Ee((Bn(),Ba)),zn((i=u(ce(this,16),30),!i?Ba:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 4:return!!this.sb&&(r=u(this.sb,54).Rh(this,1,bk,r)),hin(this,u(e,487),r);case 5:return!this.rb&&(this.rb=new bg(this,Ml,this)),Pu(this.rb,e,r);case 6:return!this.vb&&(this.vb=new T3(Tl,this,6,7)),Pu(this.vb,e,r);case 7:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?sWn(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,7,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),Ba):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),Ba)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 4:return hin(this,null,r);case 5:return!this.rb&&(this.rb=new bg(this,Ml,this)),Oi(this.rb,e,r);case 6:return!this.vb&&(this.vb=new T3(Tl,this,6,7)),Oi(this.vb,e,r);case 7:return vs(this,null,7,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Ba):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Ba)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!nKn(this)}return $s(this,e-Ee((Bn(),Ba)),zn((t=u(ce(this,16),30),!t?Ba:t),e))},s.Xh=function(e){var t=X$e(this,e);return t?t:Zon(this,e)},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:Cu(this,We(t));return;case 2:vC(this,We(t));return;case 3:mC(this,We(t));return;case 4:T_(this,u(t,487));return;case 5:!this.rb&&(this.rb=new bg(this,Ml,this)),Be(this.rb),!this.rb&&(this.rb=new bg(this,Ml,this)),wr(this.rb,u(t,17));return;case 6:!this.vb&&(this.vb=new T3(Tl,this,6,7)),Be(this.vb),!this.vb&&(this.vb=new T3(Tl,this,6,7)),wr(this.vb,u(t,17));return}_s(this,e-Ee((Bn(),Ba)),zn((r=u(ce(this,16),30),!r?Ba:r),e),t)},s.ci=function(e){var t,r;if(!!e&&!!this.rb)for(r=new de(this.rb);r.e!=r.i.gc();)t=me(r),R(t,371)&&(u(t,371).w=null);J3(this,64,e)},s.gi=function(){return Bn(),Ba},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:Cu(this,null);return;case 2:vC(this,null);return;case 3:mC(this,null);return;case 4:T_(this,null);return;case 5:!this.rb&&(this.rb=new bg(this,Ml,this)),Be(this.rb);return;case 6:!this.vb&&(this.vb=new T3(Tl,this,6,7)),Be(this.vb);return}Bs(this,e-Ee((Bn(),Ba)),zn((t=u(ce(this,16),30),!t?Ba:t),e))},s.ni=function(){f_(this)},s.ti=function(){return!this.rb&&(this.rb=new bg(this,Ml,this)),this.rb},s.ui=function(){return this.sb},s.vi=function(){return this.ub},s.wi=function(){return this.xb},s.xi=function(){return this.yb},s.yi=function(e){this.ub=e},s.Ib=function(){var e;if((this.Db&64)!=0)return z9(this);return e=new cf(z9(this)),e.a+=" (nsURI: ",zi(e,this.yb),e.a+=", nsPrefix: ",zi(e,this.xb),e.a+=")",e.a},s.xb=null,s.yb=null;var Abe,a6t=g(re,"EPackageImpl",187);w(577,187,{110:1,2144:1,577:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,54:1,101:1,162:1,187:1,119:1,120:1,702:1},FVn),s.q=!1,s.r=!1;var Fbe=!1,d6t=g(Q0,"ElkGraphPackageImpl",577);w(337,752,{110:1,350:1,171:1,135:1,268:1,337:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},KV),s.yh=function(e){return gcn(this,e)},s.Jh=function(e,t,r){switch(e){case 7:return qen(this);case 8:return this.a}return xin(this,e,t,r)},s.Qh=function(e,t,r){var i;switch(t){case 7:return!!this.Cb&&(r=(i=this.Db>>16,i>=0?gcn(this,r):this.Cb.Rh(this,-1-i,null,r))),Ynn(this,u(e,171),r)}return k_(this,e,t,r)},s.Sh=function(e,t,r){if(t==7)return Ynn(this,null,r);return eB(this,e,t,r)},s.Uh=function(e){switch(e){case 7:return!!qen(this);case 8:return!Gn("",this.a)}return Nin(this,e)},s._h=function(e,t){switch(e){case 7:Yun(this,u(t,171));return;case 8:arn(this,We(t));return}Ocn(this,e,t)},s.gi=function(){return Zc(),Hpn},s.ii=function(e){switch(e){case 7:Yun(this,null);return;case 8:arn(this,"");return}Rin(this,e)},s.Ib=function(){return vJn(this)},s.a="";var b6t=g(Q0,"ElkLabelImpl",337);w(196,753,{110:1,350:1,85:1,171:1,28:1,268:1,196:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},P5),s.yh=function(e){return ycn(this,e)},s.Jh=function(e,t,r){switch(e){case 9:return!this.c&&(this.c=new Q(Co,this,9,9)),this.c;case 10:return!this.a&&(this.a=new Q(tt,this,10,11)),this.a;case 11:return Nt(this);case 12:return!this.b&&(this.b=new Q(Tr,this,12,3)),this.b;case 13:return Qn(),!this.a&&(this.a=new Q(tt,this,10,11)),this.a.i>0?!0:!1}return rcn(this,e,t,r)},s.Qh=function(e,t,r){var i;switch(t){case 9:return!this.c&&(this.c=new Q(Co,this,9,9)),Pu(this.c,e,r);case 10:return!this.a&&(this.a=new Q(tt,this,10,11)),Pu(this.a,e,r);case 11:return!!this.Cb&&(r=(i=this.Db>>16,i>=0?ycn(this,r):this.Cb.Rh(this,-1-i,null,r))),unn(this,u(e,28),r);case 12:return!this.b&&(this.b=new Q(Tr,this,12,3)),Pu(this.b,e,r)}return Icn(this,e,t,r)},s.Sh=function(e,t,r){switch(t){case 9:return!this.c&&(this.c=new Q(Co,this,9,9)),Oi(this.c,e,r);case 10:return!this.a&&(this.a=new Q(tt,this,10,11)),Oi(this.a,e,r);case 11:return unn(this,null,r);case 12:return!this.b&&(this.b=new Q(Tr,this,12,3)),Oi(this.b,e,r)}return jcn(this,e,t,r)},s.Uh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Nt(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new Q(tt,this,10,11)),this.a.i>0}return Grn(this,e)},s._h=function(e,t){switch(e){case 9:!this.c&&(this.c=new Q(Co,this,9,9)),Be(this.c),!this.c&&(this.c=new Q(Co,this,9,9)),wr(this.c,u(t,17));return;case 10:!this.a&&(this.a=new Q(tt,this,10,11)),Be(this.a),!this.a&&(this.a=new Q(tt,this,10,11)),wr(this.a,u(t,17));return;case 11:TP(this,u(t,28));return;case 12:!this.b&&(this.b=new Q(Tr,this,12,3)),Be(this.b),!this.b&&(this.b=new Q(Tr,this,12,3)),wr(this.b,u(t,17));return}$un(this,e,t)},s.gi=function(){return Zc(),Gpn},s.ii=function(e){switch(e){case 9:!this.c&&(this.c=new Q(Co,this,9,9)),Be(this.c);return;case 10:!this.a&&(this.a=new Q(tt,this,10,11)),Be(this.a);return;case 11:TP(this,null);return;case 12:!this.b&&(this.b=new Q(Tr,this,12,3)),Be(this.b);return}Yin(this,e)},s.Ib=function(){return won(this)};var w6t=g(Q0,"ElkNodeImpl",196);w(186,753,{110:1,350:1,85:1,171:1,121:1,268:1,186:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},$Q),s.yh=function(e){return pcn(this,e)},s.Jh=function(e,t,r){if(e==9)return fl(this);return rcn(this,e,t,r)},s.Qh=function(e,t,r){var i;switch(t){case 9:return!!this.Cb&&(r=(i=this.Db>>16,i>=0?pcn(this,r):this.Cb.Rh(this,-1-i,null,r))),VZ(this,u(e,28),r)}return Icn(this,e,t,r)},s.Sh=function(e,t,r){if(t==9)return VZ(this,null,r);return jcn(this,e,t,r)},s.Uh=function(e){if(e==9)return!!fl(this);return Grn(this,e)},s._h=function(e,t){switch(e){case 9:Jun(this,u(t,28));return}$un(this,e,t)},s.gi=function(){return Zc(),Upn},s.ii=function(e){switch(e){case 9:Jun(this,null);return}Yin(this,e)},s.Ib=function(){return aYn(this)};var g6t=g(Q0,"ElkPortImpl",186),Lbe=ir(Pi,"BasicEMap/Entry");w(1132,120,{110:1,48:1,95:1,94:1,141:1,57:1,115:1,54:1,101:1,119:1,120:1},Nkn),s.Fb=function(e){return this===e},s.ld=function(){return this.b},s.Hb=function(){return Hb(this)},s.Bi=function(e){drn(this,u(e,153))},s.Jh=function(e,t,r){switch(e){case 0:return this.b;case 1:return this.c}return QC(this,e,t,r)},s.Uh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return qB(this,e)},s._h=function(e,t){switch(e){case 0:drn(this,u(t,153));return;case 1:brn(this,t);return}P_(this,e,t)},s.gi=function(){return Zc(),i1},s.ii=function(e){switch(e){case 0:drn(this,null);return;case 1:brn(this,null);return}S_(this,e)},s.zi=function(){var e;if(this.a==-1)e=this.b,this.a=!e?0:qt(e);return this.a},s.md=function(){return this.c},s.Ai=function(e){this.a=e},s.nd=function(e){var t=this.c;return brn(this,e),t},s.Ib=function(){var e;if((this.Db&64)!=0)return Bf(this);return e=new Xa,ut(ut(ut(e,this.b?this.b.Ng():Zu),MG),u9(this.c)),e.a},s.a=-1,s.c=null;var Ra=g(Q0,"ElkPropertyToValueMapEntryImpl",1132);w(1042,1,{},$kn);var p6t=g(di,"JsonAdapter",1042);w(217,63,P1,oh);var m6t=g(di,"JsonImportException",217);w(882,1,{},xVn);var v6t=g(di,"JsonImporter",882);w(954,1,{},GAn),s.Ci=function(e){mWn(this.a,this.b,u(e,145))};var y6t=g(di,"JsonImporter/lambda$0$Type",954);w(955,1,{},UAn),s.Ci=function(e){cVn(this.a,this.b,u(e,145))};var k6t=g(di,"JsonImporter/lambda$1$Type",955);w(963,1,{},kSn),s.Ci=function(e){Q$n(this.a,u(e,154))};var I6t=g(di,"JsonImporter/lambda$10$Type",963);w(965,1,{},qAn),s.Ci=function(e){zJn(this.a,this.b,u(e,145))};var j6t=g(di,"JsonImporter/lambda$11$Type",965);w(966,1,{},zAn),s.Ci=function(e){XJn(this.a,this.b,u(e,145))};var E6t=g(di,"JsonImporter/lambda$12$Type",966);w(972,1,{},lDn),s.Ci=function(e){bJn(this.a,this.b,this.c,this.d,u(e,145))};var T6t=g(di,"JsonImporter/lambda$13$Type",972);w(971,1,{},hDn),s.Ci=function(e){FYn(this.a,this.b,this.c,this.d,u(e,154))};var M6t=g(di,"JsonImporter/lambda$14$Type",971);w(967,1,{},XAn),s.Ci=function(e){ENn(this.a,this.b,We(e))};var x6t=g(di,"JsonImporter/lambda$15$Type",967);w(968,1,{},WAn),s.Ci=function(e){TNn(this.a,this.b,We(e))};var S6t=g(di,"JsonImporter/lambda$16$Type",968);w(969,1,{},JAn),s.Ci=function(e){ZXn(this.b,this.a,u(e,145))};var O6t=g(di,"JsonImporter/lambda$17$Type",969);w(970,1,{},VAn),s.Ci=function(e){nWn(this.b,this.a,u(e,145))};var C6t=g(di,"JsonImporter/lambda$18$Type",970);w(975,1,{},ISn),s.Ci=function(e){cJn(this.a,u(e,154))};var P6t=g(di,"JsonImporter/lambda$19$Type",975);w(956,1,{},jSn),s.Ci=function(e){hWn(this.a,u(e,145))};var A6t=g(di,"JsonImporter/lambda$2$Type",956);w(973,1,{},ESn),s.Ci=function(e){Sp(this.a,B(_(e)))};var F6t=g(di,"JsonImporter/lambda$20$Type",973);w(974,1,{},TSn),s.Ci=function(e){Pp(this.a,B(_(e)))};var L6t=g(di,"JsonImporter/lambda$21$Type",974);w(978,1,{},MSn),s.Ci=function(e){iJn(this.a,u(e,154))};var N6t=g(di,"JsonImporter/lambda$22$Type",978);w(976,1,{},xSn),s.Ci=function(e){Op(this.a,B(_(e)))};var R6t=g(di,"JsonImporter/lambda$23$Type",976);w(977,1,{},SSn),s.Ci=function(e){Cp(this.a,B(_(e)))};var $6t=g(di,"JsonImporter/lambda$24$Type",977);w(980,1,{},OSn),s.Ci=function(e){OWn(this.a,u(e,145))};var D6t=g(di,"JsonImporter/lambda$25$Type",980);w(979,1,{},CSn),s.Ci=function(e){Y$n(this.a,u(e,154))};var K6t=g(di,"JsonImporter/lambda$26$Type",979);w(981,1,ge,QAn),s.Cd=function(e){bEe(this.b,this.a,We(e))};var B6t=g(di,"JsonImporter/lambda$27$Type",981);w(982,1,ge,YAn),s.Cd=function(e){wEe(this.b,this.a,We(e))};var _6t=g(di,"JsonImporter/lambda$28$Type",982);w(983,1,{},ZAn),s.Ci=function(e){_Vn(this.a,this.b,u(e,145))};var H6t=g(di,"JsonImporter/lambda$29$Type",983);w(959,1,{},PSn),s.Ci=function(e){mzn(this.a,u(e,154))};var G6t=g(di,"JsonImporter/lambda$3$Type",959);w(984,1,{},nFn),s.Ci=function(e){lQn(this.a,this.b,u(e,145))};var U6t=g(di,"JsonImporter/lambda$30$Type",984);w(985,1,{},ASn),s.Ci=function(e){KHn(this.a,_(e))};var q6t=g(di,"JsonImporter/lambda$31$Type",985);w(986,1,{},FSn),s.Ci=function(e){BHn(this.a,_(e))};var z6t=g(di,"JsonImporter/lambda$32$Type",986);w(987,1,{},LSn),s.Ci=function(e){_Hn(this.a,_(e))};var X6t=g(di,"JsonImporter/lambda$33$Type",987);w(988,1,{},NSn),s.Ci=function(e){HHn(this.a,_(e))};var W6t=g(di,"JsonImporter/lambda$34$Type",988);w(989,1,{},RSn),s.Ci=function(e){PFe(this.a,u(e,57))};var J6t=g(di,"JsonImporter/lambda$35$Type",989);w(990,1,{},$Sn),s.Ci=function(e){AFe(this.a,u(e,57))};var V6t=g(di,"JsonImporter/lambda$36$Type",990);w(994,1,{},fDn);var Q6t=g(di,"JsonImporter/lambda$37$Type",994);w(991,1,ge,VNn),s.Cd=function(e){UTe(this.a,this.c,this.b,u(e,384))};var Y6t=g(di,"JsonImporter/lambda$38$Type",991);w(992,1,ge,eFn),s.Cd=function(e){l4e(this.a,this.b,u(e,170))};var Z6t=g(di,"JsonImporter/lambda$39$Type",992);w(957,1,{},DSn),s.Ci=function(e){Sp(this.a,B(_(e)))};var n8t=g(di,"JsonImporter/lambda$4$Type",957);w(993,1,ge,tFn),s.Cd=function(e){h4e(this.a,this.b,u(e,170))};var e8t=g(di,"JsonImporter/lambda$40$Type",993);w(995,1,ge,QNn),s.Cd=function(e){qTe(this.a,this.b,this.c,u(e,8))};var t8t=g(di,"JsonImporter/lambda$41$Type",995);w(958,1,{},KSn),s.Ci=function(e){Pp(this.a,B(_(e)))};var r8t=g(di,"JsonImporter/lambda$5$Type",958);w(962,1,{},BSn),s.Ci=function(e){vzn(this.a,u(e,154))};var i8t=g(di,"JsonImporter/lambda$6$Type",962);w(960,1,{},_Sn),s.Ci=function(e){Op(this.a,B(_(e)))};var c8t=g(di,"JsonImporter/lambda$7$Type",960);w(961,1,{},HSn),s.Ci=function(e){Cp(this.a,B(_(e)))};var u8t=g(di,"JsonImporter/lambda$8$Type",961);w(964,1,{},GSn),s.Ci=function(e){CWn(this.a,u(e,145))};var o8t=g(di,"JsonImporter/lambda$9$Type",964);w(1005,1,ge,USn),s.Cd=function(e){A3(this.a,new wg(We(e)))};var s8t=g(di,"JsonMetaDataConverter/lambda$0$Type",1005);w(1006,1,ge,qSn),s.Cd=function(e){g7e(this.a,u(e,246))};var f8t=g(di,"JsonMetaDataConverter/lambda$1$Type",1006);w(1007,1,ge,zSn),s.Cd=function(e){wke(this.a,u(e,148))};var l8t=g(di,"JsonMetaDataConverter/lambda$2$Type",1007);w(1008,1,ge,XSn),s.Cd=function(e){p7e(this.a,u(e,161))};var h8t=g(di,"JsonMetaDataConverter/lambda$3$Type",1008);w(246,23,{3:1,34:1,23:1,246:1},m3);var wN,gN,vJ,pN,mN,vN,yJ,kJ,yN=Se(AE,"GraphFeature",246,Ne,zEe,X5e),Nbe;w(11,1,{34:1,153:1},jt,Jt,Fn,fi),s.Fd=function(e){return ave(this,u(e,153))},s.Fb=function(e){return RDn(this,e)},s.Qg=function(){return ln(this)},s.Ng=function(){return this.b},s.Hb=function(){return da(this.b)},s.Ib=function(){return this.b};var a8t=g(AE,"Property",11);w(679,1,nt,TR),s.Ke=function(e,t){return pSe(this,u(e,99),u(t,99))},s.Fb=function(e){return this===e},s.Le=function(){return new ze(this)};var d8t=g(AE,"PropertyHolderComparator",679);w(726,1,ri,kQ),s.Nb=function(e){wi(this,e)},s.Pb=function(){return mEe(this)},s.Qb=function(){DCn()},s.Ob=function(){return!!this.a};var b8t=g(KA,"ElkGraphUtil/AncestorIterator",726),zpn=ir(Pi,"EList");w(71,56,{22:1,31:1,56:1,17:1,16:1,71:1,61:1}),s.bd=function(e,t){W9(this,e,t)},s.Fc=function(e){return Ge(this,e)},s.cd=function(e,t){return Krn(this,e,t)},s.Gc=function(e){return wr(this,e)},s.Hi=function(){return new j3(this)},s.Ii=function(){return new SI(this)},s.Ji=function(e){return gj(this,e)},s.Ki=function(){return!0},s.Li=function(e,t){},s.Mi=function(){},s.Ni=function(e,t){jK(this,e,t)},s.Oi=function(e,t,r){},s.Pi=function(e,t){},s.Qi=function(e,t,r){},s.Fb=function(e){return JQn(this,e)},s.Hb=function(){return Nrn(this)},s.Ri=function(){return!1},s.Kc=function(){return new de(this)},s.ed=function(){return new E3(this)},s.fd=function(e){var t=this.gc();if(e<0||e>t)throw S(new lg(e,t));return new FD(this,e)},s.Ti=function(e,t){this.Si(e,this.dd(t))},s.Mc=function(e){return YO(this,e)},s.Vi=function(e,t){return t},s.hd=function(e,t){return $p(this,e,t)},s.Ib=function(){return Pin(this)},s.Xi=function(){return!0},s.Yi=function(e,t){return b6(this,t)};var w8t=g(Pi,"AbstractEList",71);w(67,71,Th,sx,tw,Orn),s.Di=function(e,t){return I_(this,e,t)},s.Ei=function(e){return AXn(this,e)},s.Fi=function(e,t){Pj(this,e,t)},s.Gi=function(e){nj(this,e)},s.Zi=function(e){return Htn(this,e)},s.$b=function(){C9(this)},s.Hc=function(e){return C6(this,e)},s.Xb=function(e){return D(this,e)},s.$i=function(e){var t,r,i;if(++this.j,r=this.g==null?0:this.g.length,e>r)i=this.g,t=r+(r/2|0)+4,t<e&&(t=e),this.g=this._i(t),i!=null&&ou(i,0,this.g,0,this.i)},s.dd=function(e){return rWn(this,e)},s.dc=function(){return this.i==0},s.Si=function(e,t){return L_(this,e,t)},s._i=function(e){return X(Or,Wn,1,e,5,1)},s.Ui=function(e){return this.g[e]},s.gd=function(e){return Z3(this,e)},s.Wi=function(e,t){return FK(this,e,t)},s.gc=function(){return this.i},s.Pc=function(){return htn(this)},s.Qc=function(e){return Din(this,e)},s.i=0;var Xpn=g(Pi,"BasicEList",67),Wpn=ir(Pi,"TreeIterator");w(725,67,rq),s.Nb=function(e){wi(this,e)},s.Ob=function(){return this.g==null&&!this.c?zen(this):this.g==null||this.i!=0&&u(this.g[this.i-1],52).Ob()},s.Pb=function(){return kP(this)},s.Qb=function(){if(!this.e)throw S(new tc("There is no valid object to remove."));this.e.Qb()},s.c=!1;var g8t=g(Pi,"AbstractTreeIterator",725);w(628,725,rq,B$),s.aj=function(e){var t=u(e,57).Eh().Kc();return R(t,293)&&u(t,293).vl(new Dkn),t};var p8t=g(KA,"ElkGraphUtil/PropertiesSkippingTreeIterator",628);w(1009,1,{},Dkn);var m8t=g(KA,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",1009),bM,IJ,wM=g(KA,"ElkReflect",null);w(946,1,e2,Kkn),s.Pg=function(e){return xO(),Zke(u(e,184))};var v8t=g(KA,"ElkReflect/lambda$0$Type",946),Wd,y8t=ir(Pi,"ResourceLocator");w(1109,1,{});var k8t=g(Pi,"DelegatingResourceLocator",1109);w(1110,1109,{});var I8t=g("org.eclipse.emf.common","EMFPlugin",1110),jJ=ir(Iie,"Adapter"),kze=ir(Iie,"Notification");w(1184,1,$hn),s.bj=function(){return this.d},s.cj=function(e){},s.dj=function(e){this.d=e},s.ej=function(e){this.d==e&&(this.d=null)},s.d=null;var j8t=g(y4,"AdapterImpl",1184);w(2121,71,jie),s.Di=function(e,t){return Ain(this,e,t)},s.Ei=function(e){var t,r,i;if(++this.j,e.dc())return!1;else{t=this.Dj();for(i=e.Kc();i.Ob();)r=i.Pb(),this.qj(this.Yi(t,r)),++t;return!0}},s.Fi=function(e,t){iNn(this,e,t)},s.Gi=function(e){C$n(this,e)},s.oj=function(){return this.rj()},s.$b=function(){CI(this,this.Dj(),this.Ej())},s.Hc=function(e){return this.tj(e)},s.Ic=function(e){return this.uj(e)},s.pj=function(e,t){this.Aj().Tm()},s.qj=function(e){this.Aj().Tm()},s.rj=function(){return this.Aj()},s.sj=function(){this.Aj().Tm()},s.tj=function(e){return this.Aj().Tm()},s.uj=function(e){return this.Aj().Tm()},s.vj=function(e){return this.Aj().Tm()},s.wj=function(e){return this.Aj().Tm()},s.xj=function(){return this.Aj().Tm()},s.yj=function(e){return this.Aj().Tm()},s.zj=function(){return this.Aj().Tm()},s.Bj=function(e){return this.Aj().Tm()},s.Cj=function(e,t){return this.Aj().Tm()},s.Dj=function(){return this.Aj().Tm()},s.Ej=function(){return this.Aj().Tm()},s.Fj=function(e){return this.Aj().Tm()},s.Gj=function(){return this.Aj().Tm()},s.Fb=function(e){return this.vj(e)},s.Xb=function(e){return this.Vi(e,this.wj(e))},s.Hb=function(){return this.xj()},s.dd=function(e){return this.yj(e)},s.dc=function(){return this.zj()},s.Si=function(e,t){return Jcn(this,e,t)},s.Ui=function(e){return this.wj(e)},s.gd=function(e){return qS(this,e)},s.Mc=function(e){var t=this.dd(e);if(t>=0)return this.gd(t),!0;else return!1},s.Wi=function(e,t){return this.Cj(e,this.Yi(e,t))},s.gc=function(){return this.Dj()},s.Pc=function(){return this.Ej()},s.Qc=function(e){return this.Fj(e)},s.Ib=function(){return this.Gj()};var E8t=g(Pi,"DelegatingEList",2121);w(2122,2121,jie),s.Di=function(e,t){return Son(this,e,t)},s.Ei=function(e){return this.Di(this.Dj(),e)},s.Fi=function(e,t){PVn(this,e,t)},s.Gi=function(e){jVn(this,e)},s.Ki=function(){return!this.Lj()},s.$b=function(){E7(this)},s.Hj=function(e,t,r,i,c){return new LDn(this,e,t,r,i,c)},s.Ij=function(e){Et(this.ij(),e)},s.Jj=function(){return null},s.Kj=function(){return-1},s.ij=function(){return null},s.Lj=function(){return!1},s.Mj=function(e,t){return t},s.Nj=function(e,t){return t},s.Oj=function(){return!1},s.Pj=function(){return!this.zj()},s.Si=function(e,t){var r,i;if(this.Oj())return i=this.Pj(),r=Jcn(this,e,t),this.Ij(this.Hj(7,V(t),r,e,i)),r;else return Jcn(this,e,t)},s.gd=function(e){var t,r,i,c;if(this.Oj()){if(r=null,i=this.Pj(),t=this.Hj(4,c=qS(this,e),null,e,i),this.Lj()&&!!c)if(r=this.Nj(c,r),!r)this.Ij(t);else r.mj(t),r.nj();else if(!r)this.Ij(t);else r.mj(t),r.nj();return c}else{if(c=qS(this,e),this.Lj()&&!!c)r=this.Nj(c,null),!!r&&r.nj();return c}},s.Wi=function(e,t){return qYn(this,e,t)};var T8t=g(y4,"DelegatingNotifyingListImpl",2122);w(155,1,JE),s.mj=function(e){return Lcn(this,e)},s.nj=function(){OK(this)},s.fj=function(){return this.d},s.Jj=function(){return null},s.Qj=function(){return null},s.gj=function(e){return-1},s.hj=function(){return CQn(this)},s.ij=function(){return null},s.jj=function(){return ion(this)},s.kj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Rj=function(){return!1},s.lj=function(e){var t,r,i,c,o,f,l,a,d,b,p;switch(this.d){case 1:case 2:switch(c=e.fj(),c){case 1:case 2:if(o=e.ij(),q(o)===q(this.ij())&&this.gj(null)==e.gj(null))return this.g=e.hj(),e.fj()==1&&(this.d=1),!0}case 4:{switch(c=e.fj(),c){case 4:{if(o=e.ij(),q(o)===q(this.ij())&&this.gj(null)==e.gj(null)){if(d=zon(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=e.kj(),this.d=6,p=new tw(2),a<=f)Ge(p,this.n),Ge(p,e.jj()),this.g=P(C(qe,1),ft,29,15,[this.o=a,f+1]);else Ge(p,e.jj()),Ge(p,this.n),this.g=P(C(qe,1),ft,29,15,[this.o=f,a]);return this.n=p,d||(this.o=-2-this.o-1),!0}break}}break}case 6:{switch(c=e.fj(),c){case 4:{if(o=e.ij(),q(o)===q(this.ij())&&this.gj(null)==e.gj(null)){d=zon(this),f=e.kj(),b=u(this.g,53),i=X(qe,ft,29,b.length+1,15,1),t=0;while(t<b.length)if(l=b[t],l<=f)i[t++]=l,++f;else break;r=u(this.n,16),r.bd(t,e.jj()),i[t]=f;while(++t<i.length)i[t]=b[t-1];return this.g=i,d||(this.o=-2-i[0]),!0}break}}break}}return!1},s.Ib=function(){var e,t,r,i;switch(i=new cf(h0(this.Qm)+"@"+(t=qt(this)>>>0,t.toString(16))),i.a+=" (eventType: ",this.d){case 1:{i.a+="SET";break}case 2:{i.a+="UNSET";break}case 3:{i.a+="ADD";break}case 5:{i.a+="ADD_MANY";break}case 4:{i.a+="REMOVE";break}case 6:{i.a+="REMOVE_MANY";break}case 7:{i.a+="MOVE";break}case 8:{i.a+="REMOVING_ADAPTER";break}case 9:{i.a+="RESOLVE";break}default:{WR(i,this.d);break}}if(mYn(this)&&(i.a+=", touch: true"),i.a+=", position: ",WR(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",e9(i,this.ij()),i.a+=", feature: ",e9(i,this.Jj()),i.a+=", oldValue: ",e9(i,ion(this)),i.a+=", newValue: ",this.d==6&&R(this.g,53)){r=u(this.g,53),i.a+="[";for(e=0;e<r.length;)i.a+=r[e],++e<r.length&&(i.a+=Ci);i.a+="]"}else e9(i,CQn(this));return i.a+=", isTouch: ",na(i,mYn(this)),i.a+=", wasSet: ",na(i,zon(this)),i.a+=")",i.a},s.d=0,s.e=0,s.f=0,s.j=0,s.k=0,s.o=0,s.p=0;var M8t=g(y4,"NotificationImpl",155);w(1198,155,JE,LDn),s.Jj=function(){return this.a.Jj()},s.gj=function(e){return this.a.Kj()},s.ij=function(){return this.a.ij()};var x8t=g(y4,"DelegatingNotifyingListImpl/1",1198);w(254,67,Th,Bkn,Wa),s.Fc=function(e){return Ezn(this,u(e,385))},s.mj=function(e){return Ezn(this,e)},s.nj=function(){var e,t,r;for(e=0;e<this.i;++e)t=u(this.g[e],385),r=t.ij(),r!=null&&t.fj()!=-1&&u(r,95).vh(t)},s._i=function(e){return X(kze,Wn,385,e,0,1)};var S8t=g(y4,"NotificationChainImpl",254);w(1551,94,Nre),s.sh=function(){return this.e},s.uh=function(){return(this.f&1)!=0},s.f=1;var O8t=g(y4,"NotifierImpl",1551);w(2119,67,Th),s.Di=function(e,t){return rH(this,e,t)},s.Ei=function(e){return this.Di(this.i,e)},s.Fi=function(e,t){Sun(this,e,t)},s.Gi=function(e){N_(this,e)},s.Ki=function(){return!this.Lj()},s.$b=function(){Be(this)},s.Hj=function(e,t,r,i,c){return new NDn(this,e,t,r,i,c)},s.Ij=function(e){Et(this.ij(),e)},s.Jj=function(){return null},s.Kj=function(){return-1},s.ij=function(){return null},s.Lj=function(){return!1},s.Sj=function(){return!1},s.Mj=function(e,t){return t},s.Nj=function(e,t){return t},s.Oj=function(){return!1},s.Pj=function(){return this.i!=0},s.Si=function(e,t){return J9(this,e,t)},s.gd=function(e){return _g(this,e)},s.Wi=function(e,t){return fZn(this,e,t)},s.Tj=function(e,t){return t},s.Uj=function(e,t){return t},s.Vj=function(e,t,r){return r};var C8t=g(y4,"NotifyingListImpl",2119);w(1197,155,JE,NDn),s.Jj=function(){return this.a.Jj()},s.gj=function(e){return this.a.Kj()},s.ij=function(){return this.a.ij()};var P8t=g(y4,"NotifyingListImpl/1",1197);w(1010,67,Th,oNn),s.Hc=function(e){if(this.i>10){if(!this.b||this.c.j!=this.a)this.b=new ag(this),this.a=this.j;return rf(this.b,e)}else return C6(this,e)},s.Xi=function(){return!0},s.a=0;var A8t=g(Pi,"AbstractEList/1",1010);w(311,78,VH,lg);var F8t=g(Pi,"AbstractEList/BasicIndexOutOfBoundsException",311);w(39,1,ri,de),s.Nb=function(e){wi(this,e)},s.Wj=function(){if(this.i.j!=this.f)throw S(new As)},s.Xj=function(){return me(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Xj()},s.Qb=function(){u7(this)},s.e=0,s.f=0,s.g=-1;var L8t=g(Pi,"AbstractEList/EIterator",39);w(292,39,qh,E3,FD),s.Qb=function(){u7(this)},s.Rb=function(e){Mzn(this,e)},s.Yj=function(){var e;try{return e=this.d.Xb(--this.e),this.Wj(),this.g=this.e,e}catch(t){if(t=Yt(t),R(t,78))throw this.Wj(),S(new kc);else throw S(t)}},s.Zj=function(e){NXn(this,e)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Yj()},s.Vb=function(){return this.e-1},s.Wb=function(e){this.Zj(e)};var N8t=g(Pi,"AbstractEList/EListIterator",292);w(366,39,ri,j3),s.Xj=function(){return zB(this)},s.Qb=function(){throw S(new Qe)};var R8t=g(Pi,"AbstractEList/NonResolvingEIterator",366);w(403,292,qh,SI,wnn),s.Rb=function(e){throw S(new Qe)},s.Xj=function(){var e;try{return e=this.c.Ui(this.e),this.Wj(),this.g=this.e++,e}catch(t){if(t=Yt(t),R(t,78))throw this.Wj(),S(new kc);else throw S(t)}},s.Yj=function(){var e;try{return e=this.c.Ui(--this.e),this.Wj(),this.g=this.e,e}catch(t){if(t=Yt(t),R(t,78))throw this.Wj(),S(new kc);else throw S(t)}},s.Qb=function(){throw S(new Qe)},s.Wb=function(e){throw S(new Qe)};var $8t=g(Pi,"AbstractEList/NonResolvingEListIterator",403);w(2108,71,Eie),s.Di=function(e,t){var r,i,c,o,f,l,a,d,b,p,v;if(c=t.gc(),c!=0){d=u(ce(this.a,4),129),b=d==null?0:d.length,v=b+c,i=bB(this,v),p=b-e,p>0&&ou(d,e,i,e+c,p),a=t.Kc();for(f=0;f<c;++f)l=a.Pb(),r=e+f,H$(i,r,b6(this,l));x6(this,i);for(o=0;o<c;++o)l=i[e],this.Li(e,l),++e;return!0}else return++this.j,!1},s.Ei=function(e){var t,r,i,c,o,f,l,a,d;if(i=e.gc(),i!=0){a=(r=u(ce(this.a,4),129),r==null?0:r.length),d=a+i,t=bB(this,d),l=e.Kc();for(o=a;o<d;++o)f=l.Pb(),H$(t,o,b6(this,f));x6(this,t);for(c=a;c<d;++c)f=t[c],this.Li(c,f);return!0}else return++this.j,!1},s.Fi=function(e,t){var r,i,c,o;i=u(ce(this.a,4),129),c=i==null?0:i.length,r=bB(this,c+1),o=b6(this,t),e!=c&&ou(i,e,r,e+1,c-e),lr(r,e,o),x6(this,r),this.Li(e,t)},s.Gi=function(e){var t,r,i;i=(r=u(ce(this.a,4),129),r==null?0:r.length),t=bB(this,i+1),H$(t,i,b6(this,e)),x6(this,t),this.Li(i,e)},s.Hi=function(){return new s_n(this)},s.Ii=function(){return new l$n(this)},s.Ji=function(e){var t,r;if(r=(t=u(ce(this.a,4),129),t==null?0:t.length),e<0||e>r)throw S(new lg(e,r));return new U$n(this,e)},s.$b=function(){var e,t;++this.j,e=u(ce(this.a,4),129),t=e==null?0:e.length,x6(this,null),jK(this,t,e)},s.Hc=function(e){var t,r,i,c,o;if(t=u(ce(this.a,4),129),t!=null){if(e!=null){for(i=t,c=0,o=i.length;c<o;++c)if(r=i[c],Tt(e,r))return!0}else for(i=t,c=0,o=i.length;c<o;++c)if(r=i[c],q(r)===q(e))return!0}return!1},s.Xb=function(e){var t,r;if(t=u(ce(this.a,4),129),r=t==null?0:t.length,e>=r)throw S(new lg(e,r));return t[e]},s.dd=function(e){var t,r,i;if(t=u(ce(this.a,4),129),t!=null){if(e!=null){for(r=0,i=t.length;r<i;++r)if(Tt(e,t[r]))return r}else for(r=0,i=t.length;r<i;++r)if(q(t[r])===q(e))return r}return-1},s.dc=function(){return u(ce(this.a,4),129)==null},s.Kc=function(){return new f_n(this)},s.ed=function(){return new f$n(this)},s.fd=function(e){var t,r;if(r=(t=u(ce(this.a,4),129),t==null?0:t.length),e<0||e>r)throw S(new lg(e,r));return new G$n(this,e)},s.Si=function(e,t){var r,i,c;if(r=$zn(this),c=r==null?0:r.length,e>=c)throw S(new ec(eq+e+Y0+c));if(t>=c)throw S(new ec(tq+t+Y0+c));if(i=r[t],e!=t)e<t?ou(r,e,r,e+1,t-e):ou(r,t+1,r,t,e-t),lr(r,e,i),x6(this,r);return i},s.Ui=function(e){return u(ce(this.a,4),129)[e]},s.gd=function(e){return _Ne(this,e)},s.Wi=function(e,t){var r,i;return r=$zn(this),i=r[e],H$(r,e,b6(this,t)),x6(this,r),i},s.gc=function(){var e;return e=u(ce(this.a,4),129),e==null?0:e.length},s.Pc=function(){var e,t,r;return e=u(ce(this.a,4),129),r=e==null?0:e.length,t=X(jJ,oq,430,r,0,1),r>0&&ou(e,0,t,0,r),t},s.Qc=function(e){var t,r,i;if(t=u(ce(this.a,4),129),i=t==null?0:t.length,i>0){if(e.length<i)r=wj(Vo(e).c,i),e=r;ou(t,0,e,0,i)}return e.length>i&&lr(e,i,null),e};var Rbe,D8t=g(Pi,"ArrayDelegatingEList",2108);w(1096,39,ri,f_n),s.Wj=function(){if(this.b.j!=this.f||q(u(ce(this.b.a,4),129))!==q(this.a))throw S(new As)},s.Qb=function(){u7(this),this.a=u(ce(this.b.a,4),129)};var K8t=g(Pi,"ArrayDelegatingEList/EIterator",1096);w(740,292,qh,f$n,G$n),s.Wj=function(){if(this.b.j!=this.f||q(u(ce(this.b.a,4),129))!==q(this.a))throw S(new As)},s.Zj=function(e){NXn(this,e),this.a=u(ce(this.b.a,4),129)},s.Qb=function(){u7(this),this.a=u(ce(this.b.a,4),129)};var B8t=g(Pi,"ArrayDelegatingEList/EListIterator",740);w(1097,366,ri,s_n),s.Wj=function(){if(this.b.j!=this.f||q(u(ce(this.b.a,4),129))!==q(this.a))throw S(new As)};var _8t=g(Pi,"ArrayDelegatingEList/NonResolvingEIterator",1097);w(741,403,qh,l$n,U$n),s.Wj=function(){if(this.b.j!=this.f||q(u(ce(this.b.a,4),129))!==q(this.a))throw S(new As)};var H8t=g(Pi,"ArrayDelegatingEList/NonResolvingEListIterator",741);w(629,311,VH,N$);var G8t=g(Pi,"BasicEList/BasicIndexOutOfBoundsException",629);w(727,67,Th,QY),s.bd=function(e,t){throw S(new Qe)},s.Fc=function(e){throw S(new Qe)},s.cd=function(e,t){throw S(new Qe)},s.Gc=function(e){throw S(new Qe)},s.$b=function(){throw S(new Qe)},s.$i=function(e){throw S(new Qe)},s.Kc=function(){return this.Hi()},s.ed=function(){return this.Ii()},s.fd=function(e){return this.Ji(e)},s.Si=function(e,t){throw S(new Qe)},s.Ti=function(e,t){throw S(new Qe)},s.gd=function(e){throw S(new Qe)},s.Mc=function(e){throw S(new Qe)},s.hd=function(e,t){throw S(new Qe)};var U8t=g(Pi,"BasicEList/UnmodifiableEList",727);w(739,1,{3:1,22:1,17:1,16:1,61:1,608:1}),s.bd=function(e,t){Y4e(this,e,u(t,48))},s.Fc=function(e){return Jve(this,u(e,48))},s.Jc=function(e){hi(this,e)},s.Xb=function(e){return u(D(this.c,e),141)},s.Si=function(e,t){return u(this.c.Si(e,t),48)},s.Ti=function(e,t){Z4e(this,e,u(t,48))},s.Lc=function(){return new Nn(null,new Dn(this,16))},s.gd=function(e){return u(this.c.gd(e),48)},s.hd=function(e,t){return w7e(this,e,u(t,48))},s.jd=function(e){C0(this,e)},s.Nc=function(){return new Dn(this,16)},s.Oc=function(){return new Nn(null,new Dn(this,16))},s.cd=function(e,t){return this.c.cd(e,t)},s.Gc=function(e){return this.c.Gc(e)},s.$b=function(){this.c.$b()},s.Hc=function(e){return this.c.Hc(e)},s.Ic=function(e){return Ij(this.c,e)},s.$j=function(){var e,t,r;if(this.d==null){this.d=X(Xpn,Dhn,67,2*this.f+1,0,1),r=this.e,this.f=0;for(t=this.c.Kc();t.e!=t.i.gc();)e=u(t.Xj(),141),nP(this,e);this.e=r}},s.Fb=function(e){return $Nn(this,e)},s.Hb=function(){return Nrn(this.c)},s.dd=function(e){return this.c.dd(e)},s._j=function(){this.c=new WSn(this)},s.dc=function(){return this.f==0},s.Kc=function(){return this.c.Kc()},s.ed=function(){return this.c.ed()},s.fd=function(e){return this.c.fd(e)},s.ak=function(){return rj(this)},s.bk=function(e,t,r){return new ZNn(e,t,r)},s.ck=function(){return new Rkn},s.Mc=function(e){return BGn(this,e)},s.gc=function(){return this.f},s.kd=function(e,t){return new oa(this.c,e,t)},s.Pc=function(){return this.c.Pc()},s.Qc=function(e){return this.c.Qc(e)},s.Ib=function(){return Pin(this.c)},s.e=0,s.f=0;var q8t=g(Pi,"BasicEMap",739);w(1091,67,Th,WSn),s.Li=function(e,t){Ame(this,u(t,141))},s.Oi=function(e,t,r){var i;++(i=this,u(t,141),i).a.e},s.Pi=function(e,t){Fme(this,u(t,141))},s.Qi=function(e,t,r){Cve(this,u(t,141),u(r,141))},s.Ni=function(e,t){CUn(this.a)};var z8t=g(Pi,"BasicEMap/1",1091);w(1092,67,Th,Rkn),s._i=function(e){return X(Ize,Tie,635,e,0,1)};var X8t=g(Pi,"BasicEMap/2",1092);w(1093,zl,po,JSn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){return RB(this.a,e)},s.Kc=function(){return this.a.f==0?(Av(),gM.a):new xCn(this.a)},s.Mc=function(e){var t=this.a.f;return GC(this.a,e),this.a.f!=t},s.gc=function(){return this.a.f};var W8t=g(Pi,"BasicEMap/3",1093);w(1094,31,qg,VSn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){return VQn(this.a,e)},s.Kc=function(){return this.a.f==0?(Av(),gM.a):new SCn(this.a)},s.gc=function(){return this.a.f};var J8t=g(Pi,"BasicEMap/4",1094);w(1095,zl,po,QSn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){var t,r,i,c,o,f,l,a,d;if(this.a.f>0&&R(e,48)){if(this.a.$j(),a=u(e,48),l=a.ld(),c=l==null?0:qt(l),o=QZ(this.a,c),t=this.a.d[o],t){r=u(t.g,386),d=t.i;for(f=0;f<d;++f)if(i=r[f],i.zi()==c&&i.Fb(a))return!0}}return!1},s.Kc=function(){return this.a.f==0?(Av(),gM.a):new XD(this.a)},s.Mc=function(e){return DVn(this,e)},s.gc=function(){return this.a.f};var V8t=g(Pi,"BasicEMap/5",1095);w(636,1,ri,XD),s.Nb=function(e){wi(this,e)},s.Ob=function(){return this.b!=-1},s.Pb=function(){var e;if(this.f.e!=this.c)throw S(new As);if(this.b==-1)throw S(new kc);return this.d=this.a,this.e=this.b,gWn(this),e=u(this.f.d[this.d].g[this.e],141),this.dk(e)},s.Qb=function(){if(this.f.e!=this.c)throw S(new As);if(this.e==-1)throw S(new so);this.f.c.Mc(D(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},s.dk=function(e){return e},s.a=0,s.b=-1,s.c=0,s.d=0,s.e=0;var Q8t=g(Pi,"BasicEMap/BasicEMapIterator",636);w(1089,636,ri,xCn),s.dk=function(e){return e.ld()};var Y8t=g(Pi,"BasicEMap/BasicEMapKeyIterator",1089);w(1090,636,ri,SCn),s.dk=function(e){return e.md()};var Z8t=g(Pi,"BasicEMap/BasicEMapValueIterator",1090);w(1088,1,vw,YSn),s.wc=function(e){D9(this,e)},s.yc=function(e,t,r){return OB(this,e,t,r)},s.$b=function(){this.a.c.$b()},s._b=function(e){return iFn(this,e)},s.uc=function(e){return VQn(this.a,e)},s.vc=function(){return Jje(this.a)},s.Fb=function(e){return $Nn(this.a,e)},s.xc=function(e){return wl(this.a,e)},s.Hb=function(){return Nrn(this.a.c)},s.dc=function(){return this.a.f==0},s.ec=function(){return Vje(this.a)},s.zc=function(e,t){return zj(this.a,e,t)},s.Bc=function(e){return GC(this.a,e)},s.gc=function(){return this.a.f},s.Ib=function(){return Pin(this.a.c)},s.Cc=function(){return Qje(this.a)};var n5t=g(Pi,"BasicEMap/DelegatingMap",1088);w(635,1,{48:1,141:1,635:1},ZNn),s.Fb=function(e){var t;if(R(e,48))return t=u(e,48),(this.b!=null?Tt(this.b,t.ld()):q(this.b)===q(t.ld()))&&(this.c!=null?Tt(this.c,t.md()):q(this.c)===q(t.md()));else return!1},s.zi=function(){return this.a},s.ld=function(){return this.b},s.md=function(){return this.c},s.Hb=function(){return this.a^(this.c==null?0:qt(this.c))},s.Ai=function(e){this.a=e},s.Bi=function(e){throw S(new f0)},s.nd=function(e){var t=this.c;return this.c=e,t},s.Ib=function(){return this.b+"->"+this.c},s.a=0;var Ize=g(Pi,"BasicEMap/EntryImpl",635);w(555,1,{},fx);var e5t=g(Pi,"BasicEMap/View",555),gM;w(796,1,{}),s.Fb=function(e){return Dun((_n(),Mi),e)},s.Hb=function(){return qrn((_n(),Mi))},s.Ib=function(){return Ul((_n(),Mi))};var t5t=g(Pi,"ECollections/BasicEmptyUnmodifiableEList",796);w(1368,1,qh,_kn),s.Nb=function(e){wi(this,e)},s.Rb=function(e){throw S(new Qe)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw S(new kc)},s.Tb=function(){return 0},s.Ub=function(){throw S(new kc)},s.Vb=function(){return-1},s.Qb=function(){throw S(new Qe)},s.Wb=function(e){throw S(new Qe)};var r5t=g(Pi,"ECollections/BasicEmptyUnmodifiableEList/1",1368);w(1366,796,{22:1,17:1,16:1,61:1},$On),s.bd=function(e,t){JCn()},s.Fc=function(e){return VCn()},s.cd=function(e,t){return QCn()},s.Gc=function(e){return YCn()},s.$b=function(){ZCn()},s.Hc=function(e){return!1},s.Ic=function(e){return!1},s.Jc=function(e){hi(this,e)},s.Xb=function(e){return tZ((_n(),e)),null},s.dd=function(e){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.ed=function(){return this.a},s.fd=function(e){return this.a},s.Si=function(e,t){return nPn()},s.Ti=function(e,t){ePn()},s.Lc=function(){return new Nn(null,new Dn(this,16))},s.gd=function(e){return tPn()},s.Mc=function(e){return rPn()},s.hd=function(e,t){return iPn()},s.gc=function(){return 0},s.jd=function(e){C0(this,e)},s.Nc=function(){return new Dn(this,16)},s.Oc=function(){return new Nn(null,new Dn(this,16))},s.kd=function(e,t){return _n(),new oa(Mi,e,t)},s.Pc=function(){return een((_n(),Mi))},s.Qc=function(e){return _n(),Hj(Mi,e)};var i5t=g(Pi,"ECollections/EmptyUnmodifiableEList",1366);w(1367,796,{22:1,17:1,16:1,61:1,608:1},DOn),s.bd=function(e,t){JCn()},s.Fc=function(e){return VCn()},s.cd=function(e,t){return QCn()},s.Gc=function(e){return YCn()},s.$b=function(){ZCn()},s.Hc=function(e){return!1},s.Ic=function(e){return!1},s.Jc=function(e){hi(this,e)},s.Xb=function(e){return tZ((_n(),e)),null},s.dd=function(e){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.ed=function(){return this.a},s.fd=function(e){return this.a},s.Si=function(e,t){return nPn()},s.Ti=function(e,t){ePn()},s.Lc=function(){return new Nn(null,new Dn(this,16))},s.gd=function(e){return tPn()},s.Mc=function(e){return rPn()},s.hd=function(e,t){return iPn()},s.gc=function(){return 0},s.jd=function(e){C0(this,e)},s.Nc=function(){return new Dn(this,16)},s.Oc=function(){return new Nn(null,new Dn(this,16))},s.kd=function(e,t){return _n(),new oa(Mi,e,t)},s.Pc=function(){return een((_n(),Mi))},s.Qc=function(e){return _n(),Hj(Mi,e)},s.ak=function(){return _n(),_n(),Qh};var c5t=g(Pi,"ECollections/EmptyUnmodifiableEMap",1367),Jpn=ir(Pi,"Enumerator"),kN;w(295,1,{295:1},X_),s.Fb=function(e){var t;if(this===e)return!0;if(!R(e,295))return!1;return t=u(e,295),this.f==t.f&&L9e(this.i,t.i)&&vD(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&vD(this.d,t.d)&&vD(this.g,t.g)&&vD(this.e,t.e)&&nCe(this,t)},s.Hb=function(){return this.f},s.Ib=function(){return CYn(this)},s.f=0;var $be=0,Dbe=0,Kbe=0,Bbe=0,Vpn=0,Qpn=0,Ypn=0,Zpn=0,nmn=0,_be,gk=0,pk=0,Hbe=0,Gbe=0,IN,emn,u5t=g(Pi,"URI",295);w(1131,44,Yp,KOn),s.zc=function(e,t){return u(hc(this,We(e),u(t,295)),295)};var o5t=g(Pi,"URI/URICache",1131);w(511,67,Th,Hkn,YS),s.Ri=function(){return!0};var s5t=g(Pi,"UniqueEList",511);w(601,63,P1,QO);var f5t=g(Pi,"WrappedException",601),ht=ir(Us,Sie),L2=ir(Us,Oie),ro=ir(Us,Cie),N2=ir(Us,Pie),Ml=ir(Us,Aie),kf=ir(Us,"EClass"),EJ=ir(Us,"EDataType"),Ube;w(1243,44,Yp,BOn),s.xc=function(e){return ni(e)?e==null?Ai(li(this.f,null)):Db(this.i,e):Ai(li(this.f,e))};var l5t=g(Us,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1243),jN=ir(Us,"EEnum"),H1=ir(Us,Fie),qi=ir(Us,Lie),If=ir(Us,Nie),jf,Gw=ir(Us,Rie),R2=ir(Us,$ie);w(1087,1,{},Gkn),s.Ib=function(){return"NIL"};var h5t=g(Us,"EStructuralFeature/Internal/DynamicValueHolder/1",1087),qbe;w(1086,44,Yp,_On),s.xc=function(e){return ni(e)?e==null?Ai(li(this.f,null)):Db(this.i,e):Ai(li(this.f,e))};var a5t=g(Us,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1086),zu=ir(Us,Die),W4=ir(Us,"EValidator/PatternMatcher"),tmn,rmn,ee,$a,$2,Jd,zbe,Xbe,Wbe,Vd,Da,Qd,Uw,ih,Jbe,Vbe,Ef,Ka,Qbe,Ba,D2,Dm,Li,Ybe,Zbe,qw,EN=ir(Zt,"FeatureMap/Entry");w(554,1,{77:1},bS),s.Kk=function(){return this.a},s.md=function(){return this.b};var d5t=g(re,"BasicEObjectImpl/1",554);w(1085,1,sq,uFn),s.Ek=function(e){return vK(this.a,this.b,e)},s.Pj=function(){return eKn(this.a,this.b)},s.Wb=function(e){Uen(this.a,this.b,e)},s.Fk=function(){P7e(this.a,this.b)};var b5t=g(re,"BasicEObjectImpl/4",1085);w(2109,1,{115:1}),s.Lk=function(e){this.e=e==0?nwe:X(Or,Wn,1,e,5,1)},s.ji=function(e){return this.e[e]},s.ki=function(e,t){this.e[e]=t},s.li=function(e){this.e[e]=null},s.Mk=function(){return this.c},s.Nk=function(){throw S(new Qe)},s.Ok=function(){throw S(new Qe)},s.Pk=function(){return this.d},s.Qk=function(){return this.e!=null},s.Rk=function(e){this.c=e},s.Sk=function(e){throw S(new Qe)},s.Tk=function(e){throw S(new Qe)},s.Uk=function(e){this.d=e};var nwe,w5t=g(re,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2109);w(195,2109,{115:1},cl),s.Nk=function(){return this.a},s.Ok=function(){return this.b},s.Sk=function(e){this.a=e},s.Tk=function(e){this.b=e};var g5t=g(re,"BasicEObjectImpl/EPropertiesHolderImpl",195);w(521,101,Kre,lx),s.sh=function(){return this.f},s.xh=function(){return this.k},s.zh=function(e,t){this.g=e,this.i=t},s.Bh=function(){return(this.j&2)==0?this.gi():this.Yh().Mk()},s.Dh=function(){return this.i},s.uh=function(){return(this.j&1)!=0},s.Nh=function(){return this.g},s.Th=function(){return(this.j&4)!=0},s.Yh=function(){return!this.k&&(this.k=new cl),this.k},s.ai=function(e){this.Yh().Rk(e),e?this.j|=2:this.j&=-3},s.ci=function(e){this.Yh().Tk(e),e?this.j|=4:this.j&=-5},s.gi=function(){return(rd(),ee).S},s.i=0,s.j=1;var p5t=g(re,"EObjectImpl",521);w(812,521,{110:1,95:1,94:1,57:1,115:1,54:1,101:1},Lnn),s.ji=function(e){return this.e[e]},s.ki=function(e,t){this.e[e]=t},s.li=function(e){this.e[e]=null},s.Bh=function(){return this.d},s.Gh=function(e){return rr(this.d,e)},s.Ih=function(){return this.d},s.Mh=function(){return this.e!=null},s.Yh=function(){return!this.k&&(this.k=new Ukn),this.k},s.ai=function(e){this.d=e},s.fi=function(){var e;if(this.e==null)e=Ee(this.d),this.e=e==0?ewe:X(Or,Wn,1,e,5,1);return this},s.hi=function(){return 0};var ewe,m5t=g(re,"DynamicEObjectImpl",812);w(1549,812,{110:1,48:1,95:1,94:1,141:1,57:1,115:1,54:1,101:1},TRn),s.Fb=function(e){return this===e},s.Hb=function(){return Hb(this)},s.ai=function(e){this.d=e,this.b=oE(e,"key"),this.c=oE(e,W7)},s.zi=function(){var e;if(this.a==-1)e=AK(this,this.b),this.a=e==null?0:qt(e);return this.a},s.ld=function(){return AK(this,this.b)},s.md=function(){return AK(this,this.c)},s.Ai=function(e){this.a=e},s.Bi=function(e){Uen(this,this.b,e)},s.nd=function(e){var t=AK(this,this.c);return Uen(this,this.c,e),t},s.a=0;var v5t=g(re,"DynamicEObjectImpl/BasicEMapEntry",1549);w(1550,1,{115:1},Ukn),s.Lk=function(e){throw S(new Qe)},s.ji=function(e){throw S(new Qe)},s.ki=function(e,t){throw S(new Qe)},s.li=function(e){throw S(new Qe)},s.Mk=function(){throw S(new Qe)},s.Nk=function(){return this.a},s.Ok=function(){return this.b},s.Pk=function(){return this.c},s.Qk=function(){throw S(new Qe)},s.Rk=function(e){throw S(new Qe)},s.Sk=function(e){this.a=e},s.Tk=function(e){this.b=e},s.Uk=function(e){this.c=e};var y5t=g(re,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1550);w(524,162,{110:1,95:1,94:1,609:1,158:1,57:1,115:1,54:1,101:1,524:1,162:1,119:1,120:1},BV),s.yh=function(e){return mcn(this,e)},s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Xo((Bn(),Li),Gc,this)),this.b):(!this.b&&(this.b=new Xo((Bn(),Li),Gc,this)),rj(this.b));case 3:return cKn(this);case 4:return!this.a&&(this.a=new Ar(Xd,this,4)),this.a;case 5:return!this.c&&(this.c=new vp(Xd,this,5)),this.c}return Ds(this,e-Ee((Bn(),$a)),zn((i=u(ce(this,16),30),!i?$a:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 3:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?mcn(this,r):this.Cb.Rh(this,-1-c,null,r))),Znn(this,u(e,158),r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),$a):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),$a)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 2:return!this.b&&(this.b=new Xo((Bn(),Li),Gc,this)),FS(this.b,e,r);case 3:return Znn(this,null,r);case 4:return!this.a&&(this.a=new Ar(Xd,this,4)),Oi(this.a,e,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),$a):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),$a)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!cKn(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return $s(this,e-Ee((Bn(),$a)),zn((t=u(ce(this,16),30),!t?$a:t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:k9e(this,We(t));return;case 2:!this.b&&(this.b=new Xo((Bn(),Li),Gc,this)),IC(this.b,t);return;case 3:pQn(this,u(t,158));return;case 4:!this.a&&(this.a=new Ar(Xd,this,4)),Be(this.a),!this.a&&(this.a=new Ar(Xd,this,4)),wr(this.a,u(t,17));return;case 5:!this.c&&(this.c=new vp(Xd,this,5)),Be(this.c),!this.c&&(this.c=new vp(Xd,this,5)),wr(this.c,u(t,17));return}_s(this,e-Ee((Bn(),$a)),zn((r=u(ce(this,16),30),!r?$a:r),e),t)},s.gi=function(){return Bn(),$a},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:wrn(this,null);return;case 2:!this.b&&(this.b=new Xo((Bn(),Li),Gc,this)),this.b.c.$b();return;case 3:pQn(this,null);return;case 4:!this.a&&(this.a=new Ar(Xd,this,4)),Be(this.a);return;case 5:!this.c&&(this.c=new vp(Xd,this,5)),Be(this.c);return}Bs(this,e-Ee((Bn(),$a)),zn((t=u(ce(this,16),30),!t?$a:t),e))},s.Ib=function(){return rzn(this)},s.d=null;var k5t=g(re,"EAnnotationImpl",524);w(149,739,Khn,bo),s.Fi=function(e,t){F4e(this,e,u(t,48))},s.Vk=function(e,t){return D6e(this,u(e,48),t)},s.Zi=function(e){return u(u(this.c,72).Zi(e),141)},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(){return u(this.c,72).Ii()},s.Ji=function(e){return u(this.c,72).Ji(e)},s.Wk=function(e,t){return FS(this,e,t)},s.Ek=function(e){return u(this.c,81).Ek(e)},s._j=function(){},s.Pj=function(){return u(this.c,81).Pj()},s.bk=function(e,t,r){var i=u(ds(this.b).ui().qi(this.b),141);return i.Ai(e),i.Bi(t),i.nd(r),i},s.ck=function(){return new jQ(this)},s.Wb=function(e){IC(this,e)},s.Fk=function(){u(this.c,81).Fk()};var I5t=g(Zt,"EcoreEMap",149);w(169,149,Khn,Xo),s.$j=function(){var e,t,r,i,c,o;if(this.d==null){o=X(Xpn,Dhn,67,2*this.f+1,0,1);for(r=this.c.Kc();r.e!=r.i.gc();)t=u(r.Xj(),141),i=t.zi(),c=(i&wt)%o.length,e=o[c],!e&&(e=o[c]=new jQ(this)),e.Fc(t);this.d=o}};var j5t=g(re,"EAnnotationImpl/1",169);w(298,456,{110:1,95:1,94:1,158:1,200:1,57:1,115:1,488:1,54:1,101:1,162:1,298:1,119:1,120:1}),s.Jh=function(e,t,r){var i,c;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Qn(),(this.Bb&256)!=0?!0:!1;case 3:return Qn(),(this.Bb&512)!=0?!0:!1;case 4:return V(this.s);case 5:return V(this.t);case 6:return Qn(),this.Ik()?!0:!1;case 7:return Qn(),c=this.s,c>=1?!0:!1;case 8:if(t)return hf(this);return this.r;case 9:return this.q}return Ds(this,e-Ee(this.gi()),zn((i=u(ce(this,16),30),!i?this.gi():i),e),t,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 9:return RD(this,r)}return c=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),c.vk().zk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Uh=function(e){var t,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Ik();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Wb(this.q).i==0;case 9:return!!this.q&&!(!!this.r&&!this.q.e&&Wb(this.q).i==0)}return $s(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s._h=function(e,t){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:this.si(We(t));return;case 2:ga(this,wn(bn(t)));return;case 3:pa(this,wn(bn(t)));return;case 4:aa(this,u(t,14).a);return;case 5:this.Yk(u(t,14).a);return;case 8:R0(this,u(t,150));return;case 9:i=Gl(this,u(t,89),null),!!i&&i.nj();return}_s(this,e-Ee(this.gi()),zn((r=u(ce(this,16),30),!r?this.gi():r),e),t)},s.gi=function(){return Bn(),Zbe},s.ii=function(e){var t,r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:this.si(null);return;case 2:ga(this,!0);return;case 3:pa(this,!0);return;case 4:aa(this,0);return;case 5:this.Yk(1);return;case 8:R0(this,null);return;case 9:r=Gl(this,null,null),!!r&&r.nj();return}Bs(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.ni=function(){hf(this),this.Bb|=1},s.Gk=function(){return hf(this)},s.Hk=function(){return this.t},s.Ik=function(){var e;return e=this.t,e>1||e==-1},s.Ri=function(){return(this.Bb&512)!=0},s.Xk=function(e,t){return ain(this,e,t)},s.Yk=function(e){xg(this,e)},s.Ib=function(){return xun(this)},s.s=0,s.t=1;var E5t=g(re,"ETypedElementImpl",298);w(469,298,{110:1,95:1,94:1,158:1,200:1,57:1,182:1,69:1,115:1,488:1,54:1,101:1,162:1,469:1,298:1,119:1,120:1,704:1}),s.yh=function(e){return VXn(this,e)},s.Jh=function(e,t,r){var i,c;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Qn(),(this.Bb&256)!=0?!0:!1;case 3:return Qn(),(this.Bb&512)!=0?!0:!1;case 4:return V(this.s);case 5:return V(this.t);case 6:return Qn(),this.Ik()?!0:!1;case 7:return Qn(),c=this.s,c>=1?!0:!1;case 8:if(t)return hf(this);return this.r;case 9:return this.q;case 10:return Qn(),(this.Bb&Gf)!=0?!0:!1;case 11:return Qn(),(this.Bb&U0)!=0?!0:!1;case 12:return Qn(),(this.Bb&Xg)!=0?!0:!1;case 13:return this.j;case 14:return R6(this);case 15:return Qn(),(this.Bb&mo)!=0?!0:!1;case 16:return Qn(),(this.Bb&ph)!=0?!0:!1;case 17:return mg(this)}return Ds(this,e-Ee(this.gi()),zn((i=u(ce(this,16),30),!i?this.gi():i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 17:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?VXn(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,17,r)}return o=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),o.vk().yk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 9:return RD(this,r);case 17:return vs(this,null,17,r)}return c=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),c.vk().zk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Uh=function(e){var t,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Ik();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Wb(this.q).i==0;case 9:return!!this.q&&!(!!this.r&&!this.q.e&&Wb(this.q).i==0);case 10:return(this.Bb&Gf)==0;case 11:return(this.Bb&U0)!=0;case 12:return(this.Bb&Xg)!=0;case 13:return this.j!=null;case 14:return R6(this)!=null;case 15:return(this.Bb&mo)!=0;case 16:return(this.Bb&ph)!=0;case 17:return!!mg(this)}return $s(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s._h=function(e,t){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:eK(this,We(t));return;case 2:ga(this,wn(bn(t)));return;case 3:pa(this,wn(bn(t)));return;case 4:aa(this,u(t,14).a);return;case 5:this.Yk(u(t,14).a);return;case 8:R0(this,u(t,150));return;case 9:i=Gl(this,u(t,89),null),!!i&&i.nj();return;case 10:v6(this,wn(bn(t)));return;case 11:I6(this,wn(bn(t)));return;case 12:y6(this,wn(bn(t)));return;case 13:ZY(this,We(t));return;case 15:k6(this,wn(bn(t)));return;case 16:j6(this,wn(bn(t)));return}_s(this,e-Ee(this.gi()),zn((r=u(ce(this,16),30),!r?this.gi():r),e),t)},s.gi=function(){return Bn(),Ybe},s.ii=function(e){var t,r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,90)&&Dg(No(u(this.Cb,90)),4),Cu(this,null);return;case 2:ga(this,!0);return;case 3:pa(this,!0);return;case 4:aa(this,0);return;case 5:this.Yk(1);return;case 8:R0(this,null);return;case 9:r=Gl(this,null,null),!!r&&r.nj();return;case 10:v6(this,!0);return;case 11:I6(this,!1);return;case 12:y6(this,!1);return;case 13:this.i=null,bC(this,null);return;case 15:k6(this,!1);return;case 16:j6(this,!1);return}Bs(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.ni=function(){qv(rc((go(),pi),this)),hf(this),this.Bb|=1},s.ok=function(){return this.f},s.hk=function(){return R6(this)},s.pk=function(){return mg(this)},s.tk=function(){return null},s.Zk=function(){return this.k},s.Kj=function(){return this.n},s.uk=function(){return sP(this)},s.vk=function(){var e,t,r,i,c,o,f,l,a;if(!this.p)r=mg(this),(r.i==null&&gh(r),r.i).length,i=this.tk(),!!i&&Ee(mg(i)),c=hf(this),f=c.jk(),e=!f?null:(f.i&1)!=0?f==io?ur:f==qe?Dr:f==B2?I8:f==ii?Cr:f==Zd?Ow:f==Hm?Cw:f==yo?k4:cy:f,t=R6(this),l=c.hk(),ESe(this),(this.Bb&ph)!=0&&(!!(o=Ecn((go(),pi),r))&&o!=this||!!(o=$3(rc(pi,this))))?this.p=new fFn(this,o):this.Ik()?this._k()?!i?(this.Bb&mo)!=0?!e?this.al()?this.p=new ua(42,this):this.p=new ua(0,this):e==eb?this.p=new ia(50,Lbe,this):this.al()?this.p=new ia(43,e,this):this.p=new ia(1,e,this):!e?this.al()?this.p=new ua(44,this):this.p=new ua(2,this):e==eb?this.p=new ia(41,Lbe,this):this.al()?this.p=new ia(45,e,this):this.p=new ia(3,e,this):(this.Bb&mo)!=0?!e?this.al()?this.p=new S0(46,this,i):this.p=new S0(4,this,i):this.al()?this.p=new I0(47,e,this,i):this.p=new I0(5,e,this,i):!e?this.al()?this.p=new S0(48,this,i):this.p=new S0(6,this,i):this.al()?this.p=new I0(49,e,this,i):this.p=new I0(7,e,this,i):R(c,159)?e==EN?this.p=new ua(40,this):(this.Bb&512)!=0?(this.Bb&mo)!=0?!e?this.p=new ua(8,this):this.p=new ia(9,e,this):!e?this.p=new ua(10,this):this.p=new ia(11,e,this):(this.Bb&mo)!=0?!e?this.p=new ua(12,this):this.p=new ia(13,e,this):!e?this.p=new ua(14,this):this.p=new ia(15,e,this):!i?this.al()?(this.Bb&mo)!=0?!e?this.p=new ua(16,this):this.p=new ia(17,e,this):!e?this.p=new ua(18,this):this.p=new ia(19,e,this):(this.Bb&mo)!=0?!e?this.p=new ua(20,this):this.p=new ia(21,e,this):!e?this.p=new ua(22,this):this.p=new ia(23,e,this):(a=i.t,a>1||a==-1?this.al()?(this.Bb&mo)!=0?!e?this.p=new S0(24,this,i):this.p=new I0(25,e,this,i):!e?this.p=new S0(26,this,i):this.p=new I0(27,e,this,i):(this.Bb&mo)!=0?!e?this.p=new S0(28,this,i):this.p=new I0(29,e,this,i):!e?this.p=new S0(30,this,i):this.p=new I0(31,e,this,i):this.al()?(this.Bb&mo)!=0?!e?this.p=new S0(32,this,i):this.p=new I0(33,e,this,i):!e?this.p=new S0(34,this,i):this.p=new I0(35,e,this,i):(this.Bb&mo)!=0?!e?this.p=new S0(36,this,i):this.p=new I0(37,e,this,i):!e?this.p=new S0(38,this,i):this.p=new I0(39,e,this,i)):this.$k()?this.al()?this.p=new nRn(u(c,30),this,i):this.p=new Hen(u(c,30),this,i):R(c,159)?e==EN?this.p=new ua(40,this):(this.Bb&mo)!=0?!e?this.p=new bDn(u(c,159),t,l,this):this.p=new QRn(t,l,this,($B(),f==qe?lmn:f==io?cmn:f==Zd?hmn:f==B2?fmn:f==ii?smn:f==Hm?amn:f==yo?umn:f==Vs?omn:xJ)):!e?this.p=new dDn(u(c,159),t,l,this):this.p=new VRn(t,l,this,($B(),f==qe?lmn:f==io?cmn:f==Zd?hmn:f==B2?fmn:f==ii?smn:f==Hm?amn:f==yo?umn:f==Vs?omn:xJ)):this._k()?!i?(this.Bb&mo)!=0?this.al()?this.p=new XLn(u(c,30),this):this.p=new _Z(u(c,30),this):this.al()?this.p=new WLn(u(c,30),this):this.p=new Y$(u(c,30),this):(this.Bb&mo)!=0?this.al()?this.p=new tRn(u(c,30),this,i):this.p=new Tnn(u(c,30),this,i):this.al()?this.p=new eRn(u(c,30),this,i):this.p=new dD(u(c,30),this,i):this.al()?!i?(this.Bb&mo)!=0?this.p=new VLn(u(c,30),this):this.p=new HZ(u(c,30),this):(this.Bb&mo)!=0?this.p=new rRn(u(c,30),this,i):this.p=new jnn(u(c,30),this,i):!i?(this.Bb&mo)!=0?this.p=new JLn(u(c,30),this):this.p=new QS(u(c,30),this):(this.Bb&mo)!=0?this.p=new iRn(u(c,30),this,i):this.p=new Enn(u(c,30),this,i);return this.p},s.qk=function(){return(this.Bb&Gf)!=0},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return(this.Bb&ph)!=0},s.wk=function(){return LK(this)},s.al=function(){return!1},s.sk=function(){return(this.Bb&mo)!=0},s.bl=function(e){this.k=e},s.si=function(e){eK(this,e)},s.Ib=function(){return AP(this)},s.e=!1,s.n=0;var T5t=g(re,"EStructuralFeatureImpl",469);w(340,469,{110:1,95:1,94:1,38:1,158:1,200:1,57:1,182:1,69:1,115:1,488:1,54:1,101:1,340:1,162:1,469:1,298:1,119:1,120:1,704:1},AR),s.Jh=function(e,t,r){var i,c;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Qn(),(this.Bb&256)!=0?!0:!1;case 3:return Qn(),(this.Bb&512)!=0?!0:!1;case 4:return V(this.s);case 5:return V(this.t);case 6:return Qn(),Iun(this)?!0:!1;case 7:return Qn(),c=this.s,c>=1?!0:!1;case 8:if(t)return hf(this);return this.r;case 9:return this.q;case 10:return Qn(),(this.Bb&Gf)!=0?!0:!1;case 11:return Qn(),(this.Bb&U0)!=0?!0:!1;case 12:return Qn(),(this.Bb&Xg)!=0?!0:!1;case 13:return this.j;case 14:return R6(this);case 15:return Qn(),(this.Bb&mo)!=0?!0:!1;case 16:return Qn(),(this.Bb&ph)!=0?!0:!1;case 17:return mg(this);case 18:return Qn(),(this.Bb&Xc)!=0?!0:!1;case 19:if(t)return tB(this);return y_n(this)}return Ds(this,e-Ee((Bn(),$2)),zn((i=u(ce(this,16),30),!i?$2:i),e),t,r)},s.Uh=function(e){var t,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Iun(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Wb(this.q).i==0;case 9:return!!this.q&&!(!!this.r&&!this.q.e&&Wb(this.q).i==0);case 10:return(this.Bb&Gf)==0;case 11:return(this.Bb&U0)!=0;case 12:return(this.Bb&Xg)!=0;case 13:return this.j!=null;case 14:return R6(this)!=null;case 15:return(this.Bb&mo)!=0;case 16:return(this.Bb&ph)!=0;case 17:return!!mg(this);case 18:return(this.Bb&Xc)!=0;case 19:return!!y_n(this)}return $s(this,e-Ee((Bn(),$2)),zn((t=u(ce(this,16),30),!t?$2:t),e))},s._h=function(e,t){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:eK(this,We(t));return;case 2:ga(this,wn(bn(t)));return;case 3:pa(this,wn(bn(t)));return;case 4:aa(this,u(t,14).a);return;case 5:PCn(this,u(t,14).a);return;case 8:R0(this,u(t,150));return;case 9:i=Gl(this,u(t,89),null),!!i&&i.nj();return;case 10:v6(this,wn(bn(t)));return;case 11:I6(this,wn(bn(t)));return;case 12:y6(this,wn(bn(t)));return;case 13:ZY(this,We(t));return;case 15:k6(this,wn(bn(t)));return;case 16:j6(this,wn(bn(t)));return;case 18:xB(this,wn(bn(t)));return}_s(this,e-Ee((Bn(),$2)),zn((r=u(ce(this,16),30),!r?$2:r),e),t)},s.gi=function(){return Bn(),$2},s.ii=function(e){var t,r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,90)&&Dg(No(u(this.Cb,90)),4),Cu(this,null);return;case 2:ga(this,!0);return;case 3:pa(this,!0);return;case 4:aa(this,0);return;case 5:this.b=0,xg(this,1);return;case 8:R0(this,null);return;case 9:r=Gl(this,null,null),!!r&&r.nj();return;case 10:v6(this,!0);return;case 11:I6(this,!1);return;case 12:y6(this,!1);return;case 13:this.i=null,bC(this,null);return;case 15:k6(this,!1);return;case 16:j6(this,!1);return;case 18:xB(this,!1);return}Bs(this,e-Ee((Bn(),$2)),zn((t=u(ce(this,16),30),!t?$2:t),e))},s.ni=function(){tB(this),qv(rc((go(),pi),this)),hf(this),this.Bb|=1},s.Ik=function(){return Iun(this)},s.Xk=function(e,t){return this.b=0,this.a=null,ain(this,e,t)},s.Yk=function(e){PCn(this,e)},s.Ib=function(){var e;if((this.Db&64)!=0)return AP(this);return e=new cf(AP(this)),e.a+=" (iD: ",na(e,(this.Bb&Xc)!=0),e.a+=")",e.a},s.b=0;var M5t=g(re,"EAttributeImpl",340);w(371,456,{110:1,95:1,94:1,150:1,158:1,200:1,57:1,115:1,54:1,101:1,371:1,162:1,119:1,120:1,703:1}),s.cl=function(e){return e.Bh()==this},s.yh=function(e){return s_(this,e)},s.zh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return this.hk();case 5:return this.F;case 6:if(t)return ds(this);return Xv(this);case 7:return!this.A&&(this.A=new lo(zu,this,7)),this.A}return Ds(this,e-Ee(this.gi()),zn((i=u(ce(this,16),30),!i?this.gi():i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 6:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?s_(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,6,r)}return o=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),o.vk().yk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 6:return vs(this,null,6,r);case 7:return!this.A&&(this.A=new lo(zu,this,7)),Oi(this.A,e,r)}return c=u(zn((i=u(ce(this,16),30),!i?this.gi():i),t),69),c.vk().zk(this,Bu(this),t-Ee(this.gi()),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!aw(this);case 4:return this.hk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Xv(this);case 7:return!!this.A&&this.A.i!=0}return $s(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:SO(this,We(t));return;case 2:D$(this,We(t));return;case 5:G6(this,We(t));return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A),!this.A&&(this.A=new lo(zu,this,7)),wr(this.A,u(t,17));return}_s(this,e-Ee(this.gi()),zn((r=u(ce(this,16),30),!r?this.gi():r),e),t)},s.gi=function(){return Bn(),zbe},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,187)&&(u(this.Cb,187).tb=null),Cu(this,null);return;case 2:w6(this,null),e6(this,this.D);return;case 5:G6(this,null);return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A);return}Bs(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.gk=function(){var e;return this.G==-1&&(this.G=(e=ds(this),e?va(e.ti(),this):-1)),this.G},s.hk=function(){return null},s.ik=function(){return ds(this)},s.dl=function(){return this.v},s.jk=function(){return aw(this)},s.kk=function(){return this.D!=null?this.D:this.B},s.lk=function(){return this.F},s.ek=function(e){return tH(this,e)},s.el=function(e){this.v=e},s.fl=function(e){fUn(this,e)},s.gl=function(e){this.C=e},s.si=function(e){SO(this,e)},s.Ib=function(){return KC(this)},s.C=null,s.D=null,s.G=-1;var x5t=g(re,"EClassifierImpl",371);w(90,371,{110:1,95:1,94:1,30:1,150:1,158:1,200:1,57:1,115:1,54:1,101:1,90:1,371:1,162:1,489:1,119:1,120:1,703:1},qV),s.cl=function(e){return E6e(this,e.Bh())},s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return null;case 5:return this.F;case 6:if(t)return ds(this);return Xv(this);case 7:return!this.A&&(this.A=new lo(zu,this,7)),this.A;case 8:return Qn(),(this.Bb&256)!=0?!0:!1;case 9:return Qn(),(this.Bb&512)!=0?!0:!1;case 10:return lc(this);case 11:return!this.q&&(this.q=new Q(If,this,11,10)),this.q;case 12:return Wp(this);case 13:return k7(this);case 14:return k7(this),this.r;case 15:return Wp(this),this.k;case 16:return hun(this);case 17:return uH(this);case 18:return gh(this);case 19:return jP(this);case 20:return Wp(this),this.o;case 21:return!this.s&&(this.s=new Q(ro,this,21,17)),this.s;case 22:return cu(this);case 23:return q_(this)}return Ds(this,e-Ee((Bn(),Jd)),zn((i=u(ce(this,16),30),!i?Jd:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 6:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?s_(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,6,r);case 11:return!this.q&&(this.q=new Q(If,this,11,10)),Pu(this.q,e,r);case 21:return!this.s&&(this.s=new Q(ro,this,21,17)),Pu(this.s,e,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),Jd):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),Jd)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 6:return vs(this,null,6,r);case 7:return!this.A&&(this.A=new lo(zu,this,7)),Oi(this.A,e,r);case 11:return!this.q&&(this.q=new Q(If,this,11,10)),Oi(this.q,e,r);case 21:return!this.s&&(this.s=new Q(ro,this,21,17)),Oi(this.s,e,r);case 22:return Oi(cu(this),e,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Jd):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Jd)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!aw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Xv(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&cu(this.u.a).i!=0&&!(!!this.n&&QB(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return Wp(this).i!=0;case 13:return k7(this).i!=0;case 14:return k7(this),this.r.i!=0;case 15:return Wp(this),this.k.i!=0;case 16:return hun(this).i!=0;case 17:return uH(this).i!=0;case 18:return gh(this).i!=0;case 19:return jP(this).i!=0;case 20:return Wp(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&QB(this.n);case 23:return q_(this).i!=0}return $s(this,e-Ee((Bn(),Jd)),zn((t=u(ce(this,16),30),!t?Jd:t),e))},s.Xh=function(e){var t=this.i==null||!!this.q&&this.q.i!=0?null:oE(this,e);return t?t:Zon(this,e)},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:SO(this,We(t));return;case 2:D$(this,We(t));return;case 5:G6(this,We(t));return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A),!this.A&&(this.A=new lo(zu,this,7)),wr(this.A,u(t,17));return;case 8:bin(this,wn(bn(t)));return;case 9:win(this,wn(bn(t)));return;case 10:E7(lc(this)),wr(lc(this),u(t,17));return;case 11:!this.q&&(this.q=new Q(If,this,11,10)),Be(this.q),!this.q&&(this.q=new Q(If,this,11,10)),wr(this.q,u(t,17));return;case 21:!this.s&&(this.s=new Q(ro,this,21,17)),Be(this.s),!this.s&&(this.s=new Q(ro,this,21,17)),wr(this.s,u(t,17));return;case 22:Be(cu(this)),wr(cu(this),u(t,17));return}_s(this,e-Ee((Bn(),Jd)),zn((r=u(ce(this,16),30),!r?Jd:r),e),t)},s.gi=function(){return Bn(),Jd},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,187)&&(u(this.Cb,187).tb=null),Cu(this,null);return;case 2:w6(this,null),e6(this,this.D);return;case 5:G6(this,null);return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A);return;case 8:bin(this,!1);return;case 9:win(this,!1);return;case 10:!!this.u&&E7(this.u);return;case 11:!this.q&&(this.q=new Q(If,this,11,10)),Be(this.q);return;case 21:!this.s&&(this.s=new Q(ro,this,21,17)),Be(this.s);return;case 22:!!this.n&&Be(this.n);return}Bs(this,e-Ee((Bn(),Jd)),zn((t=u(ce(this,16),30),!t?Jd:t),e))},s.ni=function(){var e,t;if(Wp(this),k7(this),hun(this),uH(this),gh(this),jP(this),q_(this),C9(W5e(No(this))),this.s)for(e=0,t=this.s.i;e<t;++e)MI(D(this.s,e));if(this.q)for(e=0,t=this.q.i;e<t;++e)MI(D(this.q,e));wa((go(),pi),this).ue(),this.Bb|=1},s.Ib=function(){return Pcn(this)},s.k=null,s.r=null;var mk,twe,TJ,S5t=g(re,"EClassImpl",90);w(2120,2119,_ie),s.Di=function(e,t){return rH(this,e,t)},s.Ei=function(e){return rH(this,this.i,e)},s.Fi=function(e,t){Sun(this,e,t)},s.Gi=function(e){N_(this,e)},s.Vk=function(e,t){return Pu(this,e,t)},s.Zi=function(e){return Htn(this,e)},s.Wk=function(e,t){return Oi(this,e,t)},s.Wi=function(e,t){return fZn(this,e,t)},s.Hi=function(){return new j3(this)},s.Ii=function(){return new SI(this)},s.Ji=function(e){return gj(this,e)};var O5t=g(Zt,"NotifyingInternalEListImpl",2120);w(645,2120,vc),s.Hc=function(e){return CZn(this,e)},s.Hj=function(e,t,r,i,c){return E9(this,e,t,r,i,c)},s.Ij=function(e){wv(this,e)},s.Ek=function(e){return this},s.Kk=function(){return zn(this.e.Bh(),this.Kj())},s.Jj=function(){return this.Kk()},s.Kj=function(){return rr(this.e.Bh(),this.Kk())},s.hl=function(){return u(this.Kk().Gk(),30).jk()},s.il=function(){return Ri(u(this.Kk(),19)).n},s.ij=function(){return this.e},s.jl=function(){return!0},s.kl=function(){return!1},s.ll=function(){return!1},s.ml=function(){return!1},s.dd=function(e){return va(this,e)},s.Mj=function(e,t){var r;return r=u(e,54),this.ll()?this.jl()?r.Ph(this.e,this.il(),this.hl(),t):r.Ph(this.e,rr(r.Bh(),Ri(u(this.Kk(),19))),null,t):r.Ph(this.e,-1-this.Kj(),null,t)},s.Nj=function(e,t){var r;return r=u(e,54),this.ll()?this.jl()?r.Rh(this.e,this.il(),this.hl(),t):r.Rh(this.e,rr(r.Bh(),Ri(u(this.Kk(),19))),null,t):r.Rh(this.e,-1-this.Kj(),null,t)},s._k=function(){return!1},s.nl=function(){return!0},s.ek=function(e){return EBn(this.d,e)},s.Oj=function(){return qo(this.e)},s.Pj=function(){return this.i!=0},s._i=function(e){return wj(this.d,e)},s.Vi=function(e,t){return this.nl()&&this.ml()?u4(this,e,u(t,57)):t},s.ol=function(e){return e.Th()?bd(this.e,u(e,54)):e},s.Wb=function(e){QFn(this,e)},s.Pc=function(){return iHn(this)},s.Qc=function(e){var t;if(this.ml())for(t=this.i-1;t>=0;--t)D(this,t);return Din(this,e)},s.Fk=function(){Be(this)},s.Yi=function(e,t){return LGn(this,e,t)};var C5t=g(Zt,"EcoreEList",645);w(510,645,vc,KI),s.Ki=function(){return!1},s.Kj=function(){return this.c},s.Lj=function(){return!1},s.nl=function(){return!0},s.Ri=function(){return!0},s.Vi=function(e,t){return t},s.Xi=function(){return!1},s.c=0;var P5t=g(Zt,"EObjectEList",510);w(83,510,vc,Ar),s.Lj=function(){return!0},s.ll=function(){return!1},s._k=function(){return!0};var A5t=g(Zt,"EObjectContainmentEList",83);w(563,83,vc,TS),s.Mi=function(){this.b=!0},s.Pj=function(){return this.b},s.Fk=function(){var e;if(Be(this),qo(this.e))e=this.b,this.b=!1,Et(this.e,new Lf(this.e,2,this.c,e,!1));else this.b=!1},s.b=!1;var F5t=g(Zt,"EObjectContainmentEList/Unsettable",563);w(1171,563,vc,WRn),s.Si=function(e,t){var r,i;return r=u(J9(this,e,t),89),qo(this.e)&&wv(this,new ij(this.a,7,(Bn(),Xbe),V(t),(i=r.c,R(i,90)?u(i,30):Ef),e)),r},s.Tj=function(e,t){return iOe(this,u(e,89),t)},s.Uj=function(e,t){return cOe(this,u(e,89),t)},s.Vj=function(e,t,r){return dAe(this,u(e,89),u(t,89),r)},s.Hj=function(e,t,r,i,c){switch(e){case 3:return E9(this,e,t,r,i,this.i>1);case 5:return E9(this,e,t,r,i,this.i-u(r,16).gc()>0);default:return new k1(this.e,e,this.c,t,r,i,!0)}},s.Sj=function(){return!0},s.Pj=function(){return QB(this)},s.Fk=function(){Be(this)};var L5t=g(re,"EClassImpl/1",1171);w(1185,1184,$hn),s.cj=function(e){var t,r,i,c,o,f,l;if(r=e.fj(),r!=8){if(i=HOe(e),i==0)switch(r){case 1:case 9:{if(l=e.jj(),l!=null)t=No(u(l,489)),!t.c&&(t.c=new fv),YO(t.c,e.ij());if(f=e.hj(),f!=null){if(c=u(f,489),(c.Bb&1)==0)t=No(c),!t.c&&(t.c=new fv),Ge(t.c,u(e.ij(),30))}break}case 3:{if(f=e.hj(),f!=null){if(c=u(f,489),(c.Bb&1)==0)t=No(c),!t.c&&(t.c=new fv),Ge(t.c,u(e.ij(),30))}break}case 5:{if(f=e.hj(),f!=null){for(o=u(f,17).Kc();o.Ob();)if(c=u(o.Pb(),489),(c.Bb&1)==0)t=No(c),!t.c&&(t.c=new fv),Ge(t.c,u(e.ij(),30))}break}case 4:{if(l=e.jj(),l!=null){if(c=u(l,489),(c.Bb&1)==0)t=No(c),!t.c&&(t.c=new fv),YO(t.c,e.ij())}break}case 6:{if(l=e.jj(),l!=null){for(o=u(l,17).Kc();o.Ob();)if(c=u(o.Pb(),489),(c.Bb&1)==0)t=No(c),!t.c&&(t.c=new fv),YO(t.c,e.ij())}break}}this.pl(i)}},s.pl=function(e){iYn(this,e)},s.b=63;var N5t=g(re,"ESuperAdapter",1185);w(1186,1185,$hn,ZSn),s.pl=function(e){Dg(this,e)};var R5t=g(re,"EClassImpl/10",1186);w(1175,727,vc),s.Di=function(e,t){return I_(this,e,t)},s.Ei=function(e){return AXn(this,e)},s.Fi=function(e,t){Pj(this,e,t)},s.Gi=function(e){nj(this,e)},s.Zi=function(e){return Htn(this,e)},s.Wi=function(e,t){return FK(this,e,t)},s.Vk=function(e,t){throw S(new Qe)},s.Hi=function(){return new j3(this)},s.Ii=function(){return new SI(this)},s.Ji=function(e){return gj(this,e)},s.Wk=function(e,t){throw S(new Qe)},s.Ek=function(e){return this},s.Pj=function(){return this.i!=0},s.Wb=function(e){throw S(new Qe)},s.Fk=function(){throw S(new Qe)};var $5t=g(Zt,"EcoreEList/UnmodifiableEList",1175);w(336,1175,vc,dp),s.Xi=function(){return!1};var D5t=g(Zt,"EcoreEList/UnmodifiableEList/FastCompare",336);w(1178,336,vc,pqn),s.dd=function(e){var t,r,i;if(R(e,182)){if(t=u(e,182),r=t.Kj(),r!=-1){for(i=this.i;r<i;++r)if(q(this.g[r])===q(e))return r}}return-1};var K5t=g(re,"EClassImpl/1EAllStructuralFeaturesList",1178);w(1172,511,Th,qkn),s._i=function(e){return X(qi,Hie,89,e,0,1)},s.Xi=function(){return!1};var B5t=g(re,"EClassImpl/1EGenericSuperTypeEList",1172);w(646,511,Th,hR),s._i=function(e){return X(ro,um,182,e,0,1)},s.Xi=function(){return!1};var _5t=g(re,"EClassImpl/1EStructuralFeatureUniqueEList",646);w(767,511,Th,_V),s._i=function(e){return X(R2,um,19,e,0,1)},s.Xi=function(){return!1};var H5t=g(re,"EClassImpl/1ReferenceList",767);w(1173,511,Th,nOn),s.Li=function(e,t){W9e(this,u(t,38))},s._i=function(e){return X(N2,um,38,e,0,1)},s.Xi=function(){return!1};var G5t=g(re,"EClassImpl/2",1173);w(1174,511,Th,zkn),s._i=function(e){return X(N2,um,38,e,0,1)},s.Xi=function(){return!1};var U5t=g(re,"EClassImpl/3",1174);w(1176,336,vc,lRn),s.Fc=function(e){return pje(this,u(e,38))},s.Gi=function(e){O3e(this,u(e,38))};var q5t=g(re,"EClassImpl/4",1176);w(1177,336,vc,hRn),s.Fc=function(e){return mje(this,u(e,19))},s.Gi=function(e){C3e(this,u(e,19))};var z5t=g(re,"EClassImpl/5",1177);w(1179,511,Th,Xkn),s._i=function(e){return X(If,Bhn,62,e,0,1)},s.Xi=function(){return!1};var X5t=g(re,"EClassImpl/6",1179);w(1180,511,Th,Wkn),s._i=function(e){return X(R2,um,19,e,0,1)},s.Xi=function(){return!1};var W5t=g(re,"EClassImpl/7",1180);w(2123,2122,{3:1,4:1,22:1,31:1,56:1,17:1,16:1,71:1,61:1,72:1}),s.Di=function(e,t){return Son(this,e,t)},s.Ei=function(e){return Son(this,this.Dj(),e)},s.Fi=function(e,t){PVn(this,e,t)},s.Gi=function(e){jVn(this,e)},s.Vk=function(e,t){return RCe(this,e,t)},s.Wk=function(e,t){return fCe(this,e,t)},s.Wi=function(e,t){return qYn(this,e,t)},s.Zi=function(e){return this.wj(e)},s.Hi=function(){return new j3(this)},s.oj=function(){return this.rj()},s.Ii=function(){return new SI(this)},s.Ji=function(e){return gj(this,e)};var J5t=g(Zt,"DelegatingNotifyingInternalEListImpl",2123);w(768,2123,_hn),s.Ki=function(){var e=zn(Wu(this.b),this.Kj()).Gk();return R(e,159)&&!R(e,477)&&(e.jk().i&1)==0},s.Hc=function(e){var t,r,i,c,o,f,l,a;if(this.nl()){if(a=this.Dj(),a>4)if(this.ek(e)){if(this._k()){if(i=u(e,54),r=i.Ch(),l=r==this.b&&(this.ll()?i.wh(i.Dh(),u(zn(Wu(this.b),this.Kj()).Gk(),30).jk())==Ri(u(zn(Wu(this.b),this.Kj()),19)).n:-1-i.Dh()==this.Kj()),this.ml()&&!l&&!r&&!!i.Hh()){for(c=0;c<a;++c)if(t=OD(this,this.wj(c)),q(t)===q(e))return!0}return l}else if(this.ll()&&!this.kl()){if(o=u(e,57).Kh(Ri(u(zn(Wu(this.b),this.Kj()),19))),q(o)===q(this.b))return!0;else if(o==null||!u(o,57).Th())return!1}}else return!1;if(f=this.tj(e),this.ml()&&!f){for(c=0;c<a;++c)if(i=OD(this,this.wj(c)),q(i)===q(e))return!0}return f}else return this.tj(e)},s.Hj=function(e,t,r,i,c){return new k1(this.b,e,this.Kj(),t,r,i,c)},s.Ij=function(e){Et(this.b,e)},s.Ek=function(e){return this},s.Jj=function(){return zn(Wu(this.b),this.Kj())},s.Kj=function(){return rr(Wu(this.b),zn(Wu(this.b),this.Kj()))},s.ij=function(){return this.b},s.jl=function(){return!!zn(Wu(this.b),this.Kj()).Gk().jk()},s.Lj=function(){var e,t;if(t=zn(Wu(this.b),this.Kj()),R(t,107))return e=u(t,19),(e.Bb&Xc)!=0||!!Ri(u(t,19));else return!1},s.kl=function(){var e,t,r,i;if(t=zn(Wu(this.b),this.Kj()),R(t,107))return e=u(t,19),r=Ri(e),!!r&&(i=r.t,i>1||i==-1);else return!1},s.ll=function(){var e,t,r;if(t=zn(Wu(this.b),this.Kj()),R(t,107))return e=u(t,19),r=Ri(e),!!r;else return!1},s.ml=function(){var e,t;if(t=zn(Wu(this.b),this.Kj()),R(t,107))return e=u(t,19),(e.Bb&Fi)!=0;else return!1},s.dd=function(e){var t,r,i,c;if(i=this.yj(e),i>=0)return i;if(this.nl()){for(r=0,c=this.Dj();r<c;++r)if(t=OD(this,this.wj(r)),q(t)===q(e))return r}return-1},s.Mj=function(e,t){var r;return r=u(e,54),this.ll()?this.jl()?r.Ph(this.b,Ri(u(zn(Wu(this.b),this.Kj()),19)).n,u(zn(Wu(this.b),this.Kj()).Gk(),30).jk(),t):r.Ph(this.b,rr(r.Bh(),Ri(u(zn(Wu(this.b),this.Kj()),19))),null,t):r.Ph(this.b,-1-this.Kj(),null,t)},s.Nj=function(e,t){var r;return r=u(e,54),this.ll()?this.jl()?r.Rh(this.b,Ri(u(zn(Wu(this.b),this.Kj()),19)).n,u(zn(Wu(this.b),this.Kj()).Gk(),30).jk(),t):r.Rh(this.b,rr(r.Bh(),Ri(u(zn(Wu(this.b),this.Kj()),19))),null,t):r.Rh(this.b,-1-this.Kj(),null,t)},s._k=function(){var e,t;if(t=zn(Wu(this.b),this.Kj()),R(t,107))return e=u(t,19),(e.Bb&Xc)!=0;else return!1},s.nl=function(){return R(zn(Wu(this.b),this.Kj()).Gk(),90)},s.ek=function(e){return zn(Wu(this.b),this.Kj()).Gk().ek(e)},s.Oj=function(){return qo(this.b)},s.Pj=function(){return!this.zj()},s.Ri=function(){return zn(Wu(this.b),this.Kj()).Ri()},s.Vi=function(e,t){return pE(this,e,t)},s.Wb=function(e){E7(this),wr(this,u(e,16))},s.Pc=function(){var e;if(this.ml())for(e=this.Dj()-1;e>=0;--e)pE(this,e,this.wj(e));return this.Ej()},s.Qc=function(e){var t;if(this.ml())for(t=this.Dj()-1;t>=0;--t)pE(this,t,this.wj(t));return this.Fj(e)},s.Fk=function(){E7(this)},s.Yi=function(e,t){return cHn(this,e,t)};var V5t=g(Zt,"DelegatingEcoreEList",768);w(1181,768,_hn,sNn),s.pj=function(e,t){Wve(this,e,u(t,30))},s.qj=function(e){N4e(this,u(e,30))},s.wj=function(e){var t,r;return t=u(D(cu(this.a),e),89),r=t.c,R(r,90)?u(r,30):(Bn(),Ef)},s.Bj=function(e){var t,r;return t=u(_g(cu(this.a),e),89),r=t.c,R(r,90)?u(r,30):(Bn(),Ef)},s.Cj=function(e,t){return $Ce(this,e,u(t,30))},s.Ki=function(){return!1},s.Hj=function(e,t,r,i,c){return null},s.rj=function(){return new eOn(this)},s.sj=function(){Be(cu(this.a))},s.tj=function(e){return izn(this,e)},s.uj=function(e){var t,r;for(r=e.Kc();r.Ob();)if(t=r.Pb(),!izn(this,t))return!1;return!0},s.vj=function(e){var t,r,i;if(R(e,16)){if(i=u(e,16),i.gc()==cu(this.a).i){for(t=i.Kc(),r=new de(this);t.Ob();)if(q(t.Pb())!==q(me(r)))return!1;return!0}}return!1},s.xj=function(){var e,t,r,i,c;r=1;for(t=new de(cu(this.a));t.e!=t.i.gc();)e=u(me(t),89),i=(c=e.c,R(c,90)?u(c,30):(Bn(),Ef)),r=31*r+(!i?0:Hb(i));return r},s.yj=function(e){var t,r,i,c;i=0;for(r=new de(cu(this.a));r.e!=r.i.gc();){if(t=u(me(r),89),q(e)===q((c=t.c,R(c,90)?u(c,30):(Bn(),Ef))))return i;++i}return-1},s.zj=function(){return cu(this.a).i==0},s.Aj=function(){return null},s.Dj=function(){return cu(this.a).i},s.Ej=function(){var e,t,r,i,c,o;o=cu(this.a).i,c=X(Or,Wn,1,o,5,1),r=0;for(t=new de(cu(this.a));t.e!=t.i.gc();)e=u(me(t),89),c[r++]=(i=e.c,R(i,90)?u(i,30):(Bn(),Ef));return c},s.Fj=function(e){var t,r,i,c,o,f,l;if(l=cu(this.a).i,e.length<l)c=wj(Vo(e).c,l),e=c;e.length>l&&lr(e,l,null),i=0;for(r=new de(cu(this.a));r.e!=r.i.gc();)t=u(me(r),89),o=(f=t.c,R(f,90)?u(f,30):(Bn(),Ef)),lr(e,i++,o);return e},s.Gj=function(){var e,t,r,i,c;c=new Z1,c.a+="[",e=cu(this.a);for(t=0,i=cu(this.a).i;t<i;)zi(c,u9((r=u(D(e,t),89).c,R(r,90)?u(r,30):(Bn(),Ef)))),++t<i&&(c.a+=Ci);return c.a+="]",c.a},s.Ij=function(e){},s.Kj=function(){return 10},s.jl=function(){return!0},s.Lj=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!1},s.ml=function(){return!0},s._k=function(){return!1},s.nl=function(){return!0},s.ek=function(e){return R(e,90)},s.Pj=function(){return dIe(this.a)},s.Ri=function(){return!0},s.Xi=function(){return!0};var Q5t=g(re,"EClassImpl/8",1181);w(1182,2091,W6,eOn),s.fd=function(e){return gj(this.a,e)},s.gc=function(){return cu(this.a.a).i};var Y5t=g(re,"EClassImpl/8/1",1182);w(1183,511,Th,Jkn),s._i=function(e){return X(Ml,Wn,150,e,0,1)},s.Xi=function(){return!1};var Z5t=g(re,"EClassImpl/9",1183);w(1170,47,msn,HOn);var n9t=g(re,"EClassImpl/MyHashSet",1170);w(585,371,{110:1,95:1,94:1,150:1,159:1,859:1,158:1,200:1,57:1,115:1,54:1,101:1,371:1,162:1,119:1,120:1,703:1},Ix),s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return this.hk();case 5:return this.F;case 6:if(t)return ds(this);return Xv(this);case 7:return!this.A&&(this.A=new lo(zu,this,7)),this.A;case 8:return Qn(),(this.Bb&256)!=0?!0:!1}return Ds(this,e-Ee(this.gi()),zn((i=u(ce(this,16),30),!i?this.gi():i),e),t,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!aw(this);case 4:return this.hk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Xv(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return $s(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:SO(this,We(t));return;case 2:D$(this,We(t));return;case 5:G6(this,We(t));return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A),!this.A&&(this.A=new lo(zu,this,7)),wr(this.A,u(t,17));return;case 8:PC(this,wn(bn(t)));return}_s(this,e-Ee(this.gi()),zn((r=u(ce(this,16),30),!r?this.gi():r),e),t)},s.gi=function(){return Bn(),Wbe},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,187)&&(u(this.Cb,187).tb=null),Cu(this,null);return;case 2:w6(this,null),e6(this,this.D);return;case 5:G6(this,null);return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A);return;case 8:PC(this,!0);return}Bs(this,e-Ee(this.gi()),zn((t=u(ce(this,16),30),!t?this.gi():t),e))},s.ni=function(){wa((go(),pi),this).ue(),this.Bb|=1},s.nk=function(){var e,t,r;if(!this.c){if(e=JVn(ds(this)),!e.dc())for(r=e.Kc();r.Ob();)t=We(r.Pb()),!!m7(this,t)&&aSe(this)}return this.b},s.hk=function(){var e;if(!this.e){e=null;try{e=aw(this)}catch(t){if(t=Yt(t),!R(t,102))throw S(t)}this.d=null,!!e&&(e.i&1)!=0&&(e==io?this.d=(Qn(),Cd):e==qe?this.d=V(0):e==B2?this.d=new Wk(0):e==ii?this.d=0:e==Zd?this.d=S1(0):e==Hm?this.d=m6(0):e==yo?this.d=hj(0):this.d=mj(0)),this.e=!0}return this.d},s.mk=function(){return(this.Bb&256)!=0},s.ql=function(e){e&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},s.fl=function(e){fUn(this,e),this.ql(e)},s.gl=function(e){this.C=e,this.e=!1},s.Ib=function(){var e;if((this.Db&64)!=0)return KC(this);return e=new cf(KC(this)),e.a+=" (serializable: ",na(e,(this.Bb&256)!=0),e.a+=")",e.a},s.c=!1,s.d=null,s.e=!1;var e9t=g(re,"EDataTypeImpl",585);w(477,585,{110:1,95:1,94:1,150:1,159:1,859:1,698:1,158:1,200:1,57:1,115:1,54:1,101:1,371:1,477:1,162:1,119:1,120:1,703:1},GOn),s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return aw(this);case 4:return tin(this);case 5:return this.F;case 6:if(t)return ds(this);return Xv(this);case 7:return!this.A&&(this.A=new lo(zu,this,7)),this.A;case 8:return Qn(),(this.Bb&256)!=0?!0:!1;case 9:return!this.a&&(this.a=new Q(H1,this,9,5)),this.a}return Ds(this,e-Ee((Bn(),Vd)),zn((i=u(ce(this,16),30),!i?Vd:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 6:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?s_(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,6,r);case 9:return!this.a&&(this.a=new Q(H1,this,9,5)),Pu(this.a,e,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),Vd):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),Vd)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 6:return vs(this,null,6,r);case 7:return!this.A&&(this.A=new lo(zu,this,7)),Oi(this.A,e,r);case 9:return!this.a&&(this.a=new Q(H1,this,9,5)),Oi(this.a,e,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Vd):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Vd)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!aw(this);case 4:return!!tin(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Xv(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return $s(this,e-Ee((Bn(),Vd)),zn((t=u(ce(this,16),30),!t?Vd:t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:SO(this,We(t));return;case 2:D$(this,We(t));return;case 5:G6(this,We(t));return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A),!this.A&&(this.A=new lo(zu,this,7)),wr(this.A,u(t,17));return;case 8:PC(this,wn(bn(t)));return;case 9:!this.a&&(this.a=new Q(H1,this,9,5)),Be(this.a),!this.a&&(this.a=new Q(H1,this,9,5)),wr(this.a,u(t,17));return}_s(this,e-Ee((Bn(),Vd)),zn((r=u(ce(this,16),30),!r?Vd:r),e),t)},s.gi=function(){return Bn(),Vd},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,187)&&(u(this.Cb,187).tb=null),Cu(this,null);return;case 2:w6(this,null),e6(this,this.D);return;case 5:G6(this,null);return;case 7:!this.A&&(this.A=new lo(zu,this,7)),Be(this.A);return;case 8:PC(this,!0);return;case 9:!this.a&&(this.a=new Q(H1,this,9,5)),Be(this.a);return}Bs(this,e-Ee((Bn(),Vd)),zn((t=u(ce(this,16),30),!t?Vd:t),e))},s.ni=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e<t;++e)MI(D(this.a,e));wa((go(),pi),this).ue(),this.Bb|=1},s.hk=function(){return tin(this)},s.ek=function(e){if(e!=null)return!0;return!1},s.ql=function(e){};var t9t=g(re,"EEnumImpl",477);w(590,456,{110:1,95:1,94:1,2069:1,706:1,158:1,200:1,57:1,115:1,54:1,101:1,590:1,162:1,119:1,120:1},sOn),s.ue=function(){return this.zb},s.yh=function(e){return oWn(this,e)},s.Jh=function(e,t,r){var i,c;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return V(this.d);case 3:return this.b?this.b:this.a;case 4:return c=this.c,c==null?this.zb:c;case 5:return this.Db>>16==5?u(this.Cb,698):null}return Ds(this,e-Ee((Bn(),Da)),zn((i=u(ce(this,16),30),!i?Da:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 5:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?oWn(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,5,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),Da):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),Da)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 5:return vs(this,null,5,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Da):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Da)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5?u(this.Cb,698):null)}return $s(this,e-Ee((Bn(),Da)),zn((t=u(ce(this,16),30),!t?Da:t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:Cu(this,We(t));return;case 2:BK(this,u(t,14).a);return;case 3:wVn(this,u(t,2069));return;case 4:HK(this,We(t));return}_s(this,e-Ee((Bn(),Da)),zn((r=u(ce(this,16),30),!r?Da:r),e),t)},s.gi=function(){return Bn(),Da},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:Cu(this,null);return;case 2:BK(this,0);return;case 3:wVn(this,null);return;case 4:HK(this,null);return}Bs(this,e-Ee((Bn(),Da)),zn((t=u(ce(this,16),30),!t?Da:t),e))},s.Ib=function(){var e;return e=this.c,e==null?this.zb:e},s.b=null,s.c=null,s.d=0;var r9t=g(re,"EEnumLiteralImpl",590),jze=ir(re,"EFactoryImpl/InternalEDateTimeFormat");w(505,1,{2142:1},Qk);var i9t=g(re,"EFactoryImpl/1ClientInternalEDateTimeFormat",505);w(250,120,{110:1,95:1,94:1,89:1,57:1,115:1,54:1,101:1,250:1,119:1,120:1},Cb),s.Ah=function(e,t,r){var i;if(r=vs(this,e,t,r),!!this.e&&R(e,182))i=IP(this,this.e),i!=this.c&&(r=H6(this,i,r));return r},s.Jh=function(e,t,r){var i;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new Ar(qi,this,1)),this.d;case 2:if(t)return NP(this);return this.c;case 3:return this.b;case 4:return this.e;case 5:if(t)return n_(this);return this.a}return Ds(this,e-Ee((Bn(),Uw)),zn((i=u(ce(this,16),30),!i?Uw:i),e),t,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return Uqn(this,null,r);case 1:return!this.d&&(this.d=new Ar(qi,this,1)),Oi(this.d,e,r);case 3:return Gqn(this,null,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Uw):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Uw)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return $s(this,e-Ee((Bn(),Uw)),zn((t=u(ce(this,16),30),!t?Uw:t),e))},s._h=function(e,t){var r;switch(e){case 0:MWn(this,u(t,89));return;case 1:!this.d&&(this.d=new Ar(qi,this,1)),Be(this.d),!this.d&&(this.d=new Ar(qi,this,1)),wr(this.d,u(t,17));return;case 3:Acn(this,u(t,89));return;case 4:Qcn(this,u(t,861));return;case 5:n6(this,u(t,150));return}_s(this,e-Ee((Bn(),Uw)),zn((r=u(ce(this,16),30),!r?Uw:r),e),t)},s.gi=function(){return Bn(),Uw},s.ii=function(e){var t;switch(e){case 0:MWn(this,null);return;case 1:!this.d&&(this.d=new Ar(qi,this,1)),Be(this.d);return;case 3:Acn(this,null);return;case 4:Qcn(this,null);return;case 5:n6(this,null);return}Bs(this,e-Ee((Bn(),Uw)),zn((t=u(ce(this,16),30),!t?Uw:t),e))},s.Ib=function(){var e=new Fo(Bf(this));return e.a+=" (expression: ",dH(this,e),e.a+=")",e.a};var imn,c9t=g(re,"EGenericTypeImpl",250);w(2095,2091,UA),s.Fi=function(e,t){cNn(this,e,t)},s.Vk=function(e,t){return cNn(this,this.gc(),e),t},s.Zi=function(e){return Yc(this.oj(),e)},s.Hi=function(){return this.Ii()},s.oj=function(){return new uOn(this)},s.Ii=function(){return this.Ji(0)},s.Ji=function(e){return this.oj().fd(e)},s.Wk=function(e,t){return Ag(this,e,!0),t},s.Si=function(e,t){var r,i;return i=a_(this,t),r=this.fd(e),r.Rb(i),i},s.Ti=function(e,t){var r;Ag(this,t,!0),r=this.fd(e),r.Rb(t)};var u9t=g(Zt,"AbstractSequentialInternalEList",2095);w(502,2095,UA,xI),s.Zi=function(e){return Yc(this.oj(),e)},s.Hi=function(){if(this.b==null)return ta(),ta(),pM;return this.rl()},s.oj=function(){return new xFn(this.a,this.b)},s.Ii=function(){if(this.b==null)return ta(),ta(),pM;return this.rl()},s.Ji=function(e){var t,r;if(this.b==null){if(e<0||e>1)throw S(new ec(J7+e+", size=0"));return ta(),ta(),pM}r=this.rl();for(t=0;t<e;++t)jC(r);return r},s.dc=function(){var e,t,r,i,c,o;if(this.b!=null){for(r=0;r<this.b.length;++r)if(e=this.b[r],!this.ul()||this.a.Vh(e)){if(o=this.a.Lh(e,!1),Ni(),u(e,69).wk()){t=u(o,163);for(i=0,c=t.gc();i<c;++i)if(L$n(t.Sl(i))&&t.Tl(i)!=null)return!1}else if(e.Ik()){if(!u(o,17).dc())return!1}else if(o!=null)return!1}}return!0},s.Kc=function(){return Irn(this)},s.fd=function(e){var t,r;if(this.b==null){if(e!=0)throw S(new ec(J7+e+", size=0"));return ta(),ta(),pM}r=this.tl()?this.sl():this.rl();for(t=0;t<e;++t)jC(r);return r},s.Si=function(e,t){throw S(new Qe)},s.Ti=function(e,t){throw S(new Qe)},s.rl=function(){return new OS(this.a,this.b)},s.sl=function(){return new KZ(this.a,this.b)},s.tl=function(){return!0},s.gc=function(){var e,t,r,i,c,o,f;if(c=0,this.b!=null){for(r=0;r<this.b.length;++r)if(e=this.b[r],!this.ul()||this.a.Vh(e))if(f=this.a.Lh(e,!1),Ni(),u(e,69).wk()){t=u(f,163);for(i=0,o=t.gc();i<o;++i)L$n(t.Sl(i))&&t.Tl(i)!=null&&++c}else e.Ik()?c+=u(f,17).gc():f!=null&&++c}return c},s.ul=function(){return!0};var MJ,o9t=g(Zt,"EContentsEList",502);w(1187,502,UA,GLn),s.rl=function(){return new qLn(this.a,this.b)},s.sl=function(){return new ULn(this.a,this.b)},s.ul=function(){return!1};var s9t=g(re,"ENamedElementImpl/1",1187);w(293,1,qA,OS),s.Nb=function(e){wi(this,e)},s.Rb=function(e){throw S(new Qe)},s.vl=function(e){if(this.g!=0||!!this.e)throw S(new tc("Iterator already in use or already filtered"));this.e=e},s.Ob=function(){var e,t,r,i,c,o;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:!this.p?++this.n:this.p.Pb();default:if(!this.k||(!this.p?!pVn(this):!TJn(this,this.p))){while(this.d<this.c.length)if(t=this.c[this.d++],(!this.e||t.ok()!=r5||t.Kj()!=0)&&(!this.ul()||this.b.Vh(t))){if(o=this.b.Lh(t,this.tl()),this.f=(Ni(),u(t,69).wk()),this.f||t.Ik()){if(this.tl())i=u(o,16),this.k=i;else i=u(o,72),this.k=this.j=i;if(R(this.k,59))this.p=null,this.o=this.k.gc(),this.n=0;else this.p=!this.j?this.k.ed():this.j.Ii();if(!this.p?pVn(this):TJn(this,this.p)){if(c=!this.p?!this.j?this.k.Xb(this.n++):this.j.Zi(this.n++):this.p.Pb(),this.f)e=u(c,77),e.Kk(),r=e.md(),this.i=r;else r=c,this.i=r;return this.g=3,!0}}else if(o!=null)return this.k=null,this.p=null,r=o,this.i=r,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else{if(c=!this.p?!this.j?this.k.Xb(this.n++):this.j.Zi(this.n++):this.p.Pb(),this.f)e=u(c,77),e.Kk(),r=e.md(),this.i=r;else r=c,this.i=r;return this.g=3,!0}}},s.Sb=function(){var e,t,r,i,c,o;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:!this.p?--this.n:this.p.Ub();default:if(!this.k||(!this.p?!DJn(this):!MJn(this,this.p))){while(this.d>0)if(t=this.c[--this.d],(!this.e||t.ok()!=r5||t.Kj()!=0)&&(!this.ul()||this.b.Vh(t))){if(o=this.b.Lh(t,this.tl()),this.f=(Ni(),u(t,69).wk()),this.f||t.Ik()){if(this.tl())i=u(o,16),this.k=i;else i=u(o,72),this.k=this.j=i;if(R(this.k,59))this.o=this.k.gc(),this.n=this.o;else this.p=!this.j?this.k.fd(this.k.gc()):this.j.Ji(this.k.gc());if(!this.p?DJn(this):MJn(this,this.p)){if(c=!this.p?!this.j?this.k.Xb(--this.n):this.j.Zi(--this.n):this.p.Ub(),this.f)e=u(c,77),e.Kk(),r=e.md(),this.i=r;else r=c,this.i=r;return this.g=-3,!0}}else if(o!=null)return this.k=null,this.p=null,r=o,this.i=r,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else{if(c=!this.p?!this.j?this.k.Xb(--this.n):this.j.Zi(--this.n):this.p.Ub(),this.f)e=u(c,77),e.Kk(),r=e.md(),this.i=r;else r=c,this.i=r;return this.g=-3,!0}}},s.Pb=function(){return jC(this)},s.Tb=function(){return this.a},s.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;else throw S(new kc)},s.Vb=function(){return this.a-1},s.Qb=function(){throw S(new Qe)},s.tl=function(){return!1},s.Wb=function(e){throw S(new Qe)},s.ul=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var pM,f9t=g(Zt,"EContentsEList/FeatureIteratorImpl",293);w(728,293,qA,KZ),s.tl=function(){return!0};var l9t=g(Zt,"EContentsEList/ResolvingFeatureIteratorImpl",728);w(1188,728,qA,ULn),s.ul=function(){return!1};var h9t=g(re,"ENamedElementImpl/1/1",1188);w(1189,293,qA,qLn),s.ul=function(){return!1};var a9t=g(re,"ENamedElementImpl/1/2",1189);w(41,155,JE,Ig,hK,Wr,MK,k1,Lf,trn,LKn,rrn,NKn,mtn,RKn,urn,$Kn,vtn,DKn,irn,KKn,g9,ij,WD,crn,BKn,ytn,_Kn),s.Jj=function(){return _tn(this)},s.Qj=function(){var e=_tn(this);if(e)return e.hk();return null},s.gj=function(e){return this.b==-1&&!!this.a&&(this.b=this.c.Fh(this.a.Kj(),this.a.ok())),this.c.wh(this.b,e)},s.ij=function(){return this.c},s.Rj=function(){var e=_tn(this);if(e)return e.sk();return!1},s.b=-1;var d9t=g(re,"ENotificationImpl",41);w(418,298,{110:1,95:1,94:1,158:1,200:1,57:1,62:1,115:1,488:1,54:1,101:1,162:1,418:1,298:1,119:1,120:1},FR),s.yh=function(e){return fWn(this,e)},s.Jh=function(e,t,r){var i,c,o;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Qn(),(this.Bb&256)!=0?!0:!1;case 3:return Qn(),(this.Bb&512)!=0?!0:!1;case 4:return V(this.s);case 5:return V(this.t);case 6:return Qn(),o=this.t,o>1||o==-1?!0:!1;case 7:return Qn(),c=this.s,c>=1?!0:!1;case 8:if(t)return hf(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,30):null;case 11:return!this.d&&(this.d=new lo(zu,this,11)),this.d;case 12:return!this.c&&(this.c=new Q(Gw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new PI(this,this)),this.a;case 14:return Ro(this)}return Ds(this,e-Ee((Bn(),Ka)),zn((i=u(ce(this,16),30),!i?Ka:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 10:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?fWn(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,10,r);case 12:return!this.c&&(this.c=new Q(Gw,this,12,10)),Pu(this.c,e,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),Ka):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),Ka)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 9:return RD(this,r);case 10:return vs(this,null,10,r);case 11:return!this.d&&(this.d=new lo(zu,this,11)),Oi(this.d,e,r);case 12:return!this.c&&(this.c=new Q(Gw,this,12,10)),Oi(this.c,e,r);case 14:return Oi(Ro(this),e,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),Ka):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),Ka)),e,r)},s.Uh=function(e){var t,r,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Wb(this.q).i==0;case 9:return!!this.q&&!(!!this.r&&!this.q.e&&Wb(this.q).i==0);case 10:return!!(this.Db>>16==10?u(this.Cb,30):null);case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ro(this.a.a).i!=0&&!(!!this.b&&YB(this.b));case 14:return!!this.b&&YB(this.b)}return $s(this,e-Ee((Bn(),Ka)),zn((t=u(ce(this,16),30),!t?Ka:t),e))},s._h=function(e,t){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:Cu(this,We(t));return;case 2:ga(this,wn(bn(t)));return;case 3:pa(this,wn(bn(t)));return;case 4:aa(this,u(t,14).a);return;case 5:xg(this,u(t,14).a);return;case 8:R0(this,u(t,150));return;case 9:i=Gl(this,u(t,89),null),!!i&&i.nj();return;case 11:!this.d&&(this.d=new lo(zu,this,11)),Be(this.d),!this.d&&(this.d=new lo(zu,this,11)),wr(this.d,u(t,17));return;case 12:!this.c&&(this.c=new Q(Gw,this,12,10)),Be(this.c),!this.c&&(this.c=new Q(Gw,this,12,10)),wr(this.c,u(t,17));return;case 13:!this.a&&(this.a=new PI(this,this)),E7(this.a),!this.a&&(this.a=new PI(this,this)),wr(this.a,u(t,17));return;case 14:Be(Ro(this)),wr(Ro(this),u(t,17));return}_s(this,e-Ee((Bn(),Ka)),zn((r=u(ce(this,16),30),!r?Ka:r),e),t)},s.gi=function(){return Bn(),Ka},s.ii=function(e){var t,r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:Cu(this,null);return;case 2:ga(this,!0);return;case 3:pa(this,!0);return;case 4:aa(this,0);return;case 5:xg(this,1);return;case 8:R0(this,null);return;case 9:r=Gl(this,null,null),!!r&&r.nj();return;case 11:!this.d&&(this.d=new lo(zu,this,11)),Be(this.d);return;case 12:!this.c&&(this.c=new Q(Gw,this,12,10)),Be(this.c);return;case 13:!!this.a&&E7(this.a);return;case 14:!!this.b&&Be(this.b);return}Bs(this,e-Ee((Bn(),Ka)),zn((t=u(ce(this,16),30),!t?Ka:t),e))},s.ni=function(){var e,t;if(this.c)for(e=0,t=this.c.i;e<t;++e)MI(D(this.c,e));hf(this),this.Bb|=1};var b9t=g(re,"EOperationImpl",418);w(519,768,_hn,PI),s.pj=function(e,t){e6e(this,e,u(t,150))},s.qj=function(e){R4e(this,u(e,150))},s.wj=function(e){var t,r;return t=u(D(Ro(this.a),e),89),r=t.c,r?r:(Bn(),ih)},s.Bj=function(e){var t,r;return t=u(_g(Ro(this.a),e),89),r=t.c,r?r:(Bn(),ih)},s.Cj=function(e,t){return xOe(this,e,u(t,150))},s.Ki=function(){return!1},s.Hj=function(e,t,r,i,c){return null},s.rj=function(){return new rOn(this)},s.sj=function(){Be(Ro(this.a))},s.tj=function(e){return uzn(this,e)},s.uj=function(e){var t,r;for(r=e.Kc();r.Ob();)if(t=r.Pb(),!uzn(this,t))return!1;return!0},s.vj=function(e){var t,r,i;if(R(e,16)){if(i=u(e,16),i.gc()==Ro(this.a).i){for(t=i.Kc(),r=new de(this);t.Ob();)if(q(t.Pb())!==q(me(r)))return!1;return!0}}return!1},s.xj=function(){var e,t,r,i,c;r=1;for(t=new de(Ro(this.a));t.e!=t.i.gc();)e=u(me(t),89),i=(c=e.c,c?c:(Bn(),ih)),r=31*r+(!i?0:qt(i));return r},s.yj=function(e){var t,r,i,c;i=0;for(r=new de(Ro(this.a));r.e!=r.i.gc();){if(t=u(me(r),89),q(e)===q((c=t.c,c?c:(Bn(),ih))))return i;++i}return-1},s.zj=function(){return Ro(this.a).i==0},s.Aj=function(){return null},s.Dj=function(){return Ro(this.a).i},s.Ej=function(){var e,t,r,i,c,o;o=Ro(this.a).i,c=X(Or,Wn,1,o,5,1),r=0;for(t=new de(Ro(this.a));t.e!=t.i.gc();)e=u(me(t),89),c[r++]=(i=e.c,i?i:(Bn(),ih));return c},s.Fj=function(e){var t,r,i,c,o,f,l;if(l=Ro(this.a).i,e.length<l)c=wj(Vo(e).c,l),e=c;e.length>l&&lr(e,l,null),i=0;for(r=new de(Ro(this.a));r.e!=r.i.gc();)t=u(me(r),89),o=(f=t.c,f?f:(Bn(),ih)),lr(e,i++,o);return e},s.Gj=function(){var e,t,r,i,c;c=new Z1,c.a+="[",e=Ro(this.a);for(t=0,i=Ro(this.a).i;t<i;)zi(c,u9((r=u(D(e,t),89).c,r?r:(Bn(),ih)))),++t<i&&(c.a+=Ci);return c.a+="]",c.a},s.Ij=function(e){},s.Kj=function(){return 13},s.jl=function(){return!0},s.Lj=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!1},s.ml=function(){return!0},s._k=function(){return!1},s.nl=function(){return!0},s.ek=function(e){return R(e,150)},s.Pj=function(){return aIe(this.a)},s.Ri=function(){return!0},s.Xi=function(){return!0};var w9t=g(re,"EOperationImpl/1",519);w(1396,2091,W6,rOn),s.fd=function(e){return gj(this.a,e)},s.gc=function(){return Ro(this.a.a).i};var g9t=g(re,"EOperationImpl/1/1",1396);w(1397,563,vc,JRn),s.Si=function(e,t){var r,i;return r=u(J9(this,e,t),89),qo(this.e)&&wv(this,new ij(this.a,7,(Bn(),Qbe),V(t),(i=r.c,i?i:ih),e)),r},s.Tj=function(e,t){return Jxe(this,u(e,89),t)},s.Uj=function(e,t){return Wxe(this,u(e,89),t)},s.Vj=function(e,t,r){return KOe(this,u(e,89),u(t,89),r)},s.Hj=function(e,t,r,i,c){switch(e){case 3:return E9(this,e,t,r,i,this.i>1);case 5:return E9(this,e,t,r,i,this.i-u(r,16).gc()>0);default:return new k1(this.e,e,this.c,t,r,i,!0)}},s.Sj=function(){return!0},s.Pj=function(){return YB(this)},s.Fk=function(){Be(this)};var p9t=g(re,"EOperationImpl/2",1397);w(512,1,{2067:1,512:1},oFn);var m9t=g(re,"EPackageImpl/1",512);w(15,83,vc,Q),s.hl=function(){return this.d},s.il=function(){return this.b},s.ll=function(){return!0},s.b=0;var v9t=g(Zt,"EObjectContainmentWithInverseEList",15);w(372,15,vc,T3),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var y9t=g(Zt,"EObjectContainmentWithInverseEList/Resolving",372);w(316,372,vc,bg),s.Mi=function(){this.a.tb=null};var k9t=g(re,"EPackageImpl/2",316);w(1288,1,{},Vkn);var I9t=g(re,"EPackageImpl/3",1288);w(749,44,Yp,DQ),s._b=function(e){return ni(e)?e==null?!!li(this.f,null):Wnn(this.i,e):!!li(this.f,e)};var j9t=g(re,"EPackageRegistryImpl",749);w(523,298,{110:1,95:1,94:1,158:1,200:1,57:1,2145:1,115:1,488:1,54:1,101:1,162:1,523:1,298:1,119:1,120:1},LR),s.yh=function(e){return lWn(this,e)},s.Jh=function(e,t,r){var i,c,o;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Qn(),(this.Bb&256)!=0?!0:!1;case 3:return Qn(),(this.Bb&512)!=0?!0:!1;case 4:return V(this.s);case 5:return V(this.t);case 6:return Qn(),o=this.t,o>1||o==-1?!0:!1;case 7:return Qn(),c=this.s,c>=1?!0:!1;case 8:if(t)return hf(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return Ds(this,e-Ee((Bn(),D2)),zn((i=u(ce(this,16),30),!i?D2:i),e),t,r)},s.Qh=function(e,t,r){var i,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Pu(this.Ab,e,r);case 10:return!!this.Cb&&(r=(c=this.Db>>16,c>=0?lWn(this,r):this.Cb.Rh(this,-1-c,null,r))),vs(this,e,10,r)}return o=u(zn((i=u(ce(this,16),30),!i?(Bn(),D2):i),t),69),o.vk().yk(this,Bu(this),t-Ee((Bn(),D2)),e,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 9:return RD(this,r);case 10:return vs(this,null,10,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),D2):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),D2)),e,r)},s.Uh=function(e){var t,r,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Wb(this.q).i==0;case 9:return!!this.q&&!(!!this.r&&!this.q.e&&Wb(this.q).i==0);case 10:return!!(this.Db>>16==10?u(this.Cb,62):null)}return $s(this,e-Ee((Bn(),D2)),zn((t=u(ce(this,16),30),!t?D2:t),e))},s.gi=function(){return Bn(),D2};var E9t=g(re,"EParameterImpl",523);w(107,469,{110:1,95:1,94:1,158:1,200:1,57:1,19:1,182:1,69:1,115:1,488:1,54:1,101:1,162:1,107:1,469:1,298:1,119:1,120:1,704:1},BZ),s.Jh=function(e,t,r){var i,c,o,f;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Qn(),(this.Bb&256)!=0?!0:!1;case 3:return Qn(),(this.Bb&512)!=0?!0:!1;case 4:return V(this.s);case 5:return V(this.t);case 6:return Qn(),f=this.t,f>1||f==-1?!0:!1;case 7:return Qn(),c=this.s,c>=1?!0:!1;case 8:if(t)return hf(this);return this.r;case 9:return this.q;case 10:return Qn(),(this.Bb&Gf)!=0?!0:!1;case 11:return Qn(),(this.Bb&U0)!=0?!0:!1;case 12:return Qn(),(this.Bb&Xg)!=0?!0:!1;case 13:return this.j;case 14:return R6(this);case 15:return Qn(),(this.Bb&mo)!=0?!0:!1;case 16:return Qn(),(this.Bb&ph)!=0?!0:!1;case 17:return mg(this);case 18:return Qn(),(this.Bb&Xc)!=0?!0:!1;case 19:return Qn(),o=Ri(this),!!o&&(o.Bb&Xc)!=0?!0:!1;case 20:return Qn(),(this.Bb&Fi)!=0?!0:!1;case 21:if(t)return Ri(this);return this.b;case 22:if(t)return _rn(this);return l_n(this);case 23:return!this.a&&(this.a=new vp(N2,this,23)),this.a}return Ds(this,e-Ee((Bn(),Dm)),zn((i=u(ce(this,16),30),!i?Dm:i),e),t,r)},s.Uh=function(e){var t,r,i,c;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Wb(this.q).i==0;case 9:return!!this.q&&!(!!this.r&&!this.q.e&&Wb(this.q).i==0);case 10:return(this.Bb&Gf)==0;case 11:return(this.Bb&U0)!=0;case 12:return(this.Bb&Xg)!=0;case 13:return this.j!=null;case 14:return R6(this)!=null;case 15:return(this.Bb&mo)!=0;case 16:return(this.Bb&ph)!=0;case 17:return!!mg(this);case 18:return(this.Bb&Xc)!=0;case 19:return i=Ri(this),!!i&&(i.Bb&Xc)!=0;case 20:return(this.Bb&Fi)==0;case 21:return!!this.b;case 22:return!!l_n(this);case 23:return!!this.a&&this.a.i!=0}return $s(this,e-Ee((Bn(),Dm)),zn((t=u(ce(this,16),30),!t?Dm:t),e))},s._h=function(e,t){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:eK(this,We(t));return;case 2:ga(this,wn(bn(t)));return;case 3:pa(this,wn(bn(t)));return;case 4:aa(this,u(t,14).a);return;case 5:xg(this,u(t,14).a);return;case 8:R0(this,u(t,150));return;case 9:i=Gl(this,u(t,89),null),!!i&&i.nj();return;case 10:v6(this,wn(bn(t)));return;case 11:I6(this,wn(bn(t)));return;case 12:y6(this,wn(bn(t)));return;case 13:ZY(this,We(t));return;case 15:k6(this,wn(bn(t)));return;case 16:j6(this,wn(bn(t)));return;case 18:ake(this,wn(bn(t)));return;case 20:Iin(this,wn(bn(t)));return;case 21:krn(this,u(t,19));return;case 23:!this.a&&(this.a=new vp(N2,this,23)),Be(this.a),!this.a&&(this.a=new vp(N2,this,23)),wr(this.a,u(t,17));return}_s(this,e-Ee((Bn(),Dm)),zn((r=u(ce(this,16),30),!r?Dm:r),e),t)},s.gi=function(){return Bn(),Dm},s.ii=function(e){var t,r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:R(this.Cb,90)&&Dg(No(u(this.Cb,90)),4),Cu(this,null);return;case 2:ga(this,!0);return;case 3:pa(this,!0);return;case 4:aa(this,0);return;case 5:xg(this,1);return;case 8:R0(this,null);return;case 9:r=Gl(this,null,null),!!r&&r.nj();return;case 10:v6(this,!0);return;case 11:I6(this,!1);return;case 12:y6(this,!1);return;case 13:this.i=null,bC(this,null);return;case 15:k6(this,!1);return;case 16:j6(this,!1);return;case 18:kin(this,!1),R(this.Cb,90)&&Dg(No(u(this.Cb,90)),2);return;case 20:Iin(this,!0);return;case 21:krn(this,null);return;case 23:!this.a&&(this.a=new vp(N2,this,23)),Be(this.a);return}Bs(this,e-Ee((Bn(),Dm)),zn((t=u(ce(this,16),30),!t?Dm:t),e))},s.ni=function(){_rn(this),qv(rc((go(),pi),this)),hf(this),this.Bb|=1},s.tk=function(){return Ri(this)},s.$k=function(){var e;return e=Ri(this),!!e&&(e.Bb&Xc)!=0},s._k=function(){return(this.Bb&Xc)!=0},s.al=function(){return(this.Bb&Fi)!=0},s.Xk=function(e,t){return this.c=null,ain(this,e,t)},s.Ib=function(){var e;if((this.Db&64)!=0)return AP(this);return e=new cf(AP(this)),e.a+=" (containment: ",na(e,(this.Bb&Xc)!=0),e.a+=", resolveProxies: ",na(e,(this.Bb&Fi)!=0),e.a+=")",e.a};var T9t=g(re,"EReferenceImpl",107);w(569,120,{110:1,48:1,95:1,94:1,141:1,57:1,115:1,54:1,101:1,569:1,119:1,120:1},Qkn),s.Fb=function(e){return this===e},s.ld=function(){return this.b},s.md=function(){return this.c},s.Hb=function(){return Hb(this)},s.Bi=function(e){I9e(this,We(e))},s.nd=function(e){return f9e(this,We(e))},s.Jh=function(e,t,r){var i;switch(e){case 0:return this.b;case 1:return this.c}return Ds(this,e-Ee((Bn(),Li)),zn((i=u(ce(this,16),30),!i?Li:i),e),t,r)},s.Uh=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return $s(this,e-Ee((Bn(),Li)),zn((t=u(ce(this,16),30),!t?Li:t),e))},s._h=function(e,t){var r;switch(e){case 0:j9e(this,We(t));return;case 1:prn(this,We(t));return}_s(this,e-Ee((Bn(),Li)),zn((r=u(ce(this,16),30),!r?Li:r),e),t)},s.gi=function(){return Bn(),Li},s.ii=function(e){var t;switch(e){case 0:grn(this,null);return;case 1:prn(this,null);return}Bs(this,e-Ee((Bn(),Li)),zn((t=u(ce(this,16),30),!t?Li:t),e))},s.zi=function(){var e;if(this.a==-1)e=this.b,this.a=e==null?0:da(e);return this.a},s.Ai=function(e){this.a=e},s.Ib=function(){var e;if((this.Db&64)!=0)return Bf(this);return e=new cf(Bf(this)),e.a+=" (key: ",zi(e,this.b),e.a+=", value: ",zi(e,this.c),e.a+=")",e.a},s.a=-1,s.b=null,s.c=null;var Gc=g(re,"EStringToStringMapEntryImpl",569),rwe=ir(Zt,"FeatureMap/Entry/Internal");w(584,1,zA),s.wl=function(e){return this.xl(u(e,54))},s.xl=function(e){return this.wl(e)},s.Fb=function(e){var t,r;if(this===e)return!0;else if(R(e,77))if(t=u(e,77),t.Kk()==this.c)return r=this.md(),r==null?t.md()==null:Tt(r,t.md());else return!1;else return!1},s.Kk=function(){return this.c},s.Hb=function(){var e=this.md();return qt(this.c)^(e==null?0:qt(e))},s.Ib=function(){var e,t;return e=this.c,t=ds(e.pk()).wi(),e.ue(),(t!=null&&t.length!=0?t+":"+e.ue():e.ue())+"="+this.md()};var M9t=g(re,"EStructuralFeatureImpl/BasicFeatureMapEntry",584);w(804,584,zA,YZ),s.xl=function(e){return new YZ(this.c,e)},s.md=function(){return this.a},s.yl=function(e,t,r){return cMe(this,e,this.a,t,r)},s.zl=function(e,t,r){return uMe(this,e,this.a,t,r)};var x9t=g(re,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",804);w(1370,1,{},fFn),s.xk=function(e,t,r,i,c){var o=u(Vv(e,this.b),221);return o.Xl(this.a).Ek(i)},s.yk=function(e,t,r,i,c){var o=u(Vv(e,this.b),221);return o.Ol(this.a,i,c)},s.zk=function(e,t,r,i,c){var o=u(Vv(e,this.b),221);return o.Pl(this.a,i,c)},s.Ak=function(e,t,r){var i=u(Vv(e,this.b),221);return i.Xl(this.a).Pj()},s.Bk=function(e,t,r,i){var c=u(Vv(e,this.b),221);c.Xl(this.a).Wb(i)},s.Ck=function(e,t,r){return u(Vv(e,this.b),221).Xl(this.a)},s.Dk=function(e,t,r){var i=u(Vv(e,this.b),221);i.Xl(this.a).Fk()};var S9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1370);w(92,1,{},ia,I0,ua,S0),s.xk=function(e,t,r,i,c){var o=t.ji(r);if(o==null&&t.ki(r,o=qP(this,e)),!c)switch(this.e){case 50:case 41:return u(o,608).ak();case 40:return u(o,221).Ul()}return o},s.yk=function(e,t,r,i,c){var o,f;return f=t.ji(r),f==null&&t.ki(r,f=qP(this,e)),o=u(f,72).Vk(i,c),o},s.zk=function(e,t,r,i,c){var o=t.ji(r);return o!=null&&(c=u(o,72).Wk(i,c)),c},s.Ak=function(e,t,r){var i=t.ji(r);return i!=null&&u(i,81).Pj()},s.Bk=function(e,t,r,i){var c=u(t.ji(r),81);!c&&t.ki(r,c=qP(this,e)),c.Wb(i)},s.Ck=function(e,t,r){var i,c;if(c=t.ji(r),c==null&&t.ki(r,c=qP(this,e)),R(c,81))return u(c,81);else return i=u(t.ji(r),16),new iOn(i)},s.Dk=function(e,t,r){var i=u(t.ji(r),81);!i&&t.ki(r,i=qP(this,e)),i.Fk()},s.b=0,s.e=0;var O9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateMany",92);w(518,1,{}),s.yk=function(e,t,r,i,c){throw S(new Qe)},s.zk=function(e,t,r,i,c){throw S(new Qe)},s.Ck=function(e,t,r){return new aDn(this,e,t,r)};var c1,C9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingle",518);w(1387,1,sq,aDn),s.Ek=function(e){return this.a.xk(this.c,this.d,this.b,e,!0)},s.Pj=function(){return this.a.Ak(this.c,this.d,this.b)},s.Wb=function(e){this.a.Bk(this.c,this.d,this.b,e)},s.Fk=function(){this.a.Dk(this.c,this.d,this.b)},s.b=0;var P9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1387);w(797,518,{},Hen),s.xk=function(e,t,r,i,c){return Y_(e,e.Nh(),e.Dh())==this.b?this.al()&&i?R_(e):e.Nh():null},s.yk=function(e,t,r,i,c){var o,f;return!!e.Nh()&&(c=(o=e.Dh(),o>=0?e.yh(c):e.Nh().Rh(e,-1-o,null,c))),f=rr(e.Bh(),this.e),e.Ah(i,f,c)},s.zk=function(e,t,r,i,c){var o=rr(e.Bh(),this.e);return e.Ah(null,o,c)},s.Ak=function(e,t,r){var i=rr(e.Bh(),this.e);return!!e.Nh()&&e.Dh()==i},s.Bk=function(e,t,r,i){var c,o,f,l,a;if(i!=null&&!tH(this.a,i))throw S(new gv(XA+(R(i,57)?Pcn(u(i,57).Bh()):Ytn(Vo(i)))+WA+this.a+"'"));if(c=e.Nh(),f=rr(e.Bh(),this.e),q(i)!==q(c)||e.Dh()!=f&&i!=null){if(S6(e,u(i,57)))throw S(new Zn(X7+e.Ib()));a=null,!!c&&(a=(o=e.Dh(),o>=0?e.yh(a):e.Nh().Rh(e,-1-o,null,a))),l=u(i,54),!!l&&(a=l.Ph(e,rr(l.Bh(),this.b),null,a)),a=e.Ah(l,f,a),!!a&&a.nj()}else e.th()&&e.uh()&&Et(e,new Wr(e,1,f,i,i))},s.Dk=function(e,t,r){var i,c,o,f;if(i=e.Nh(),i)f=(c=e.Dh(),c>=0?e.yh(null):e.Nh().Rh(e,-1-c,null,null)),o=rr(e.Bh(),this.e),f=e.Ah(null,o,f),!!f&&f.nj();else e.th()&&e.uh()&&Et(e,new g9(e,1,this.e,null,null))},s.al=function(){return!1};var A9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",797);w(1371,797,{},nRn),s.al=function(){return!0};var F9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1371);w(582,518,{}),s.xk=function(e,t,r,i,c){var o;return o=t.ji(r),o==null?this.b:q(o)===q(c1)?null:o},s.Ak=function(e,t,r){var i=t.ji(r);return i!=null&&(q(i)===q(c1)||!Tt(i,this.b))},s.Bk=function(e,t,r,i){var c,o;if(e.th()&&e.uh()){if(c=(o=t.ji(r),o==null?this.b:q(o)===q(c1)?null:o),i==null)if(this.c!=null)t.ki(r,null),i=this.b;else this.b!=null?t.ki(r,c1):t.ki(r,null);else this.Al(i),t.ki(r,i);Et(e,this.d.Bl(e,1,this.e,c,i))}else if(i==null)this.c!=null?t.ki(r,null):this.b!=null?t.ki(r,c1):t.ki(r,null);else this.Al(i),t.ki(r,i)},s.Dk=function(e,t,r){var i,c;if(e.th()&&e.uh())i=(c=t.ji(r),c==null?this.b:q(c)===q(c1)?null:c),t.li(r),Et(e,this.d.Bl(e,1,this.e,i,this.b));else t.li(r)},s.Al=function(e){throw S(new aOn)};var L9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",582);w(om,1,{},Ykn),s.Bl=function(e,t,r,i,c){return new g9(e,t,r,i,c)},s.Cl=function(e,t,r,i,c,o){return new WD(e,t,r,i,c,o)};var cmn,umn,omn,smn,fmn,lmn,hmn,xJ,amn,N9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",om);w(1388,om,{},Zkn),s.Bl=function(e,t,r,i,c){return new ytn(e,t,r,wn(bn(i)),wn(bn(c)))},s.Cl=function(e,t,r,i,c,o){return new _Kn(e,t,r,wn(bn(i)),wn(bn(c)),o)};var R9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1388);w(1389,om,{},nIn),s.Bl=function(e,t,r,i,c){return new trn(e,t,r,u(i,223).a,u(c,223).a)},s.Cl=function(e,t,r,i,c,o){return new LKn(e,t,r,u(i,223).a,u(c,223).a,o)};var $9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1389);w(1390,om,{},eIn),s.Bl=function(e,t,r,i,c){return new rrn(e,t,r,u(i,183).a,u(c,183).a)},s.Cl=function(e,t,r,i,c,o){return new NKn(e,t,r,u(i,183).a,u(c,183).a,o)};var D9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1390);w(1391,om,{},tIn),s.Bl=function(e,t,r,i,c){return new mtn(e,t,r,B(_(i)),B(_(c)))},s.Cl=function(e,t,r,i,c,o){return new RKn(e,t,r,B(_(i)),B(_(c)),o)};var K9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1391);w(1392,om,{},rIn),s.Bl=function(e,t,r,i,c){return new urn(e,t,r,u(i,164).a,u(c,164).a)},s.Cl=function(e,t,r,i,c,o){return new $Kn(e,t,r,u(i,164).a,u(c,164).a,o)};var B9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1392);w(1393,om,{},iIn),s.Bl=function(e,t,r,i,c){return new vtn(e,t,r,u(i,14).a,u(c,14).a)},s.Cl=function(e,t,r,i,c,o){return new DKn(e,t,r,u(i,14).a,u(c,14).a,o)};var _9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1393);w(1394,om,{},cIn),s.Bl=function(e,t,r,i,c){return new irn(e,t,r,u(i,173).a,u(c,173).a)},s.Cl=function(e,t,r,i,c,o){return new KKn(e,t,r,u(i,173).a,u(c,173).a,o)};var H9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1394);w(1395,om,{},uIn),s.Bl=function(e,t,r,i,c){return new crn(e,t,r,u(i,193).a,u(c,193).a)},s.Cl=function(e,t,r,i,c,o){return new BKn(e,t,r,u(i,193).a,u(c,193).a,o)};var G9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1395);w(1373,582,{},dDn),s.Al=function(e){if(!this.a.ek(e))throw S(new gv(XA+Vo(e)+WA+this.a+"'"))};var U9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1373);w(1374,582,{},VRn),s.Al=function(e){};var q9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1374);w(798,582,{}),s.Ak=function(e,t,r){var i=t.ji(r);return i!=null},s.Bk=function(e,t,r,i){var c,o;if(e.th()&&e.uh()){if(c=!0,o=t.ji(r),o==null)c=!1,o=this.b;else q(o)===q(c1)&&(o=null);if(i==null)if(this.c!=null)t.ki(r,null),i=this.b;else t.ki(r,c1);else this.Al(i),t.ki(r,i);Et(e,this.d.Cl(e,1,this.e,o,i,!c))}else if(i==null)this.c!=null?t.ki(r,null):t.ki(r,c1);else this.Al(i),t.ki(r,i)},s.Dk=function(e,t,r){var i,c;if(e.th()&&e.uh()){if(i=!0,c=t.ji(r),c==null)i=!1,c=this.b;else q(c)===q(c1)&&(c=null);t.li(r),Et(e,this.d.Cl(e,2,this.e,c,this.b,i))}else t.li(r)};var z9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",798);w(1375,798,{},bDn),s.Al=function(e){if(!this.a.ek(e))throw S(new gv(XA+Vo(e)+WA+this.a+"'"))};var X9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1375);w(1376,798,{},QRn),s.Al=function(e){};var W9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1376);w(417,518,{},QS),s.xk=function(e,t,r,i,c){var o,f,l,a,d;if(d=t.ji(r),this.sk()&&q(d)===q(c1))return null;else if(this.al()&&i&&d!=null){if(l=u(d,54),l.Th()){if(a=bd(e,l),l!=a){if(!tH(this.a,a))throw S(new gv(XA+Vo(a)+WA+this.a+"'"));if(t.ki(r,d=a),this._k())o=u(a,54),f=l.Rh(e,!this.b?-1-rr(e.Bh(),this.e):rr(l.Bh(),this.b),null,null),!o.Nh()&&(f=o.Ph(e,!this.b?-1-rr(e.Bh(),this.e):rr(o.Bh(),this.b),null,f)),!!f&&f.nj();e.th()&&e.uh()&&Et(e,new g9(e,9,this.e,l,a))}}return d}else return d},s.yk=function(e,t,r,i,c){var o,f;if(f=t.ji(r),q(f)===q(c1)&&(f=null),t.ki(r,i),this.Lj()){if(q(f)!==q(i)&&f!=null)o=u(f,54),c=o.Rh(e,rr(o.Bh(),this.b),null,c)}else this._k()&&f!=null&&(c=u(f,54).Rh(e,-1-rr(e.Bh(),this.e),null,c));if(e.th()&&e.uh())!c&&(c=new Wa(4)),c.mj(new g9(e,1,this.e,f,i));return c},s.zk=function(e,t,r,i,c){var o=t.ji(r);if(q(o)===q(c1)&&(o=null),t.li(r),e.th()&&e.uh())!c&&(c=new Wa(4)),this.sk()?c.mj(new g9(e,2,this.e,o,null)):c.mj(new g9(e,1,this.e,o,null));return c},s.Ak=function(e,t,r){var i=t.ji(r);return i!=null},s.Bk=function(e,t,r,i){var c,o,f,l,a;if(i!=null&&!tH(this.a,i))throw S(new gv(XA+(R(i,57)?Pcn(u(i,57).Bh()):Ytn(Vo(i)))+WA+this.a+"'"));if(a=t.ji(r),l=a!=null,this.sk()&&q(a)===q(c1)&&(a=null),f=null,this.Lj()){if(q(a)!==q(i)){if(a!=null)c=u(a,54),f=c.Rh(e,rr(c.Bh(),this.b),null,f);if(i!=null)c=u(i,54),f=c.Ph(e,rr(c.Bh(),this.b),null,f)}}else if(this._k()){if(q(a)!==q(i))a!=null&&(f=u(a,54).Rh(e,-1-rr(e.Bh(),this.e),null,f)),i!=null&&(f=u(i,54).Ph(e,-1-rr(e.Bh(),this.e),null,f))}if(i==null&&this.sk()?t.ki(r,c1):t.ki(r,i),e.th()&&e.uh())if(o=new WD(e,1,this.e,a,i,this.sk()&&!l),!f)Et(e,o);else f.mj(o),f.nj();else!!f&&f.nj()},s.Dk=function(e,t,r){var i,c,o,f,l;if(l=t.ji(r),f=l!=null,this.sk()&&q(l)===q(c1)&&(l=null),o=null,l!=null)if(this.Lj())i=u(l,54),o=i.Rh(e,rr(i.Bh(),this.b),null,o);else this._k()&&(o=u(l,54).Rh(e,-1-rr(e.Bh(),this.e),null,o));if(t.li(r),e.th()&&e.uh())if(c=new WD(e,this.sk()?2:1,this.e,l,null,f),!o)Et(e,c);else o.mj(c),o.nj();else!!o&&o.nj()},s.Lj=function(){return!1},s._k=function(){return!1},s.al=function(){return!1},s.sk=function(){return!1};var J9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",417);w(583,417,{},Y$),s._k=function(){return!0};var V9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",583);w(1379,583,{},WLn),s.al=function(){return!0};var Q9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1379);w(800,583,{},_Z),s.sk=function(){return!0};var Y9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",800);w(1381,800,{},XLn),s.al=function(){return!0};var Z9t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1381);w(662,583,{},dD),s.Lj=function(){return!0};var n7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",662);w(1380,662,{},eRn),s.al=function(){return!0};var e7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1380);w(801,662,{},Tnn),s.sk=function(){return!0};var t7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",801);w(1382,801,{},tRn),s.al=function(){return!0};var r7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1382);w(663,417,{},HZ),s.al=function(){return!0};var i7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",663);w(1383,663,{},VLn),s.sk=function(){return!0};var c7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1383);w(802,663,{},jnn),s.Lj=function(){return!0};var u7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",802);w(1384,802,{},rRn),s.sk=function(){return!0};var o7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1384);w(1377,417,{},JLn),s.sk=function(){return!0};var s7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1377);w(799,417,{},Enn),s.Lj=function(){return!0};var f7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",799);w(1378,799,{},iRn),s.sk=function(){return!0};var l7t=g(re,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1378);w(803,584,zA,ken),s.xl=function(e){return new ken(this.a,this.c,e)},s.md=function(){return this.b},s.yl=function(e,t,r){return Zje(this,e,this.b,r)},s.zl=function(e,t,r){return Yje(this,e,this.b,r)};var h7t=g(re,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",803);w(1385,1,sq,iOn),s.Ek=function(e){return this.a},s.Pj=function(){return R(this.a,100)?u(this.a,100).Pj():!this.a.dc()},s.Wb=function(e){this.a.$b(),this.a.Gc(u(e,16))},s.Fk=function(){R(this.a,100)?u(this.a,100).Fk():this.a.$b()};var a7t=g(re,"EStructuralFeatureImpl/SettingMany",1385);w(1386,584,zA,FBn),s.wl=function(e){return new tD((Ft(),kk),this.b.pi(this.a,e))},s.md=function(){return null},s.yl=function(e,t,r){return r},s.zl=function(e,t,r){return r};var d7t=g(re,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1386);w(664,584,zA,tD),s.wl=function(e){return new tD(this.c,e)},s.md=function(){return this.a},s.yl=function(e,t,r){return r},s.zl=function(e,t,r){return r};var b7t=g(re,"EStructuralFeatureImpl/SimpleFeatureMapEntry",664);w(408,511,Th,fv),s._i=function(e){return X(kf,Wn,30,e,0,1)},s.Xi=function(){return!1};var w7t=g(re,"ESuperAdapter/1",408);w(464,456,{110:1,95:1,94:1,158:1,200:1,57:1,115:1,861:1,54:1,101:1,162:1,464:1,119:1,120:1},aR),s.Jh=function(e,t,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new a9(this,qi,this)),this.a}return Ds(this,e-Ee((Bn(),qw)),zn((i=u(ce(this,16),30),!i?qw:i),e),t,r)},s.Sh=function(e,t,r){var i,c;switch(t){case 0:return!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Oi(this.Ab,e,r);case 2:return!this.a&&(this.a=new a9(this,qi,this)),Oi(this.a,e,r)}return c=u(zn((i=u(ce(this,16),30),!i?(Bn(),qw):i),t),69),c.vk().zk(this,Bu(this),t-Ee((Bn(),qw)),e,r)},s.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return $s(this,e-Ee((Bn(),qw)),zn((t=u(ce(this,16),30),!t?qw:t),e))},s._h=function(e,t){var r;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab),!this.Ab&&(this.Ab=new Q(ht,this,0,3)),wr(this.Ab,u(t,17));return;case 1:Cu(this,We(t));return;case 2:!this.a&&(this.a=new a9(this,qi,this)),Be(this.a),!this.a&&(this.a=new a9(this,qi,this)),wr(this.a,u(t,17));return}_s(this,e-Ee((Bn(),qw)),zn((r=u(ce(this,16),30),!r?qw:r),e),t)},s.gi=function(){return Bn(),qw},s.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new Q(ht,this,0,3)),Be(this.Ab);return;case 1:Cu(this,null);return;case 2:!this.a&&(this.a=new a9(this,qi,this)),Be(this.a);return}Bs(this,e-Ee((Bn(),qw)),zn((t=u(ce(this,16),30),!t?qw:t),e))};var g7t=g(re,"ETypeParameterImpl",464);w(465,83,vc,a9),s.Mj=function(e,t){return sFe(this,u(e,89),t)},s.Nj=function(e,t){return fFe(this,u(e,89),t)};var p7t=g(re,"ETypeParameterImpl/1",465);w(659,44,Yp,NR),s.ec=function(){return new px(this)};var m7t=g(re,"ETypeParameterImpl/2",659);w(578,zl,po,px),s.Fc=function(e){return MNn(this,u(e,89))},s.Gc=function(e){var t,r,i;i=!1;for(r=e.Kc();r.Ob();)t=u(r.Pb(),89),rt(this.a,t,"")==null&&(i=!0);return i},s.$b=function(){Vc(this.a)},s.Hc=function(e){return wu(this.a,e)},s.Kc=function(){var e;return e=new P0(new s0(this.a).a),new mx(e)},s.Mc=function(e){return k_n(this,e)},s.gc=function(){return D5(this.a)};var v7t=g(re,"ETypeParameterImpl/2/1",578);w(579,1,ri,mx),s.Nb=function(e){wi(this,e)},s.Pb=function(){return u(uw(this.a).ld(),89)},s.Ob=function(){return this.a.b},s.Qb=function(){LHn(this.a)};var y7t=g(re,"ETypeParameterImpl/2/1/1",579);w(1345,44,Yp,UOn),s._b=function(e){return ni(e)?e==null?!!li(this.f,null):Wnn(this.i,e):!!li(this.f,e)},s.xc=function(e){var t,r;if(t=ni(e)?e==null?Ai(li(this.f,null)):Db(this.i,e):Ai(li(this.f,e)),R(t,862))return r=u(t,862),t=r.Jk(),rt(this,u(e,242),t),t;else return t!=null?t:e==null?(ZR(),cwe):null};var k7t=g(re,"EValidatorRegistryImpl",1345);w(1369,738,{110:1,95:1,94:1,487:1,158:1,57:1,115:1,2070:1,54:1,101:1,162:1,119:1,120:1},oIn),s.pi=function(e,t){switch(e.gk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return t==null?null:mc(t);case 25:return oTe(t);case 27:return IEe(t);case 28:return jEe(t);case 29:return t==null?null:YFn(wk[0],u(t,208));case 41:return t==null?"":h0(u(t,303));case 42:return mc(t);case 50:return We(t);default:throw S(new Zn(b8+e.ue()+xw))}},s.qi=function(e){var t,r,i,c,o,f,l,a,d,b,p,v,y,j,T,O;switch(e.G==-1&&(e.G=(v=ds(e),v?va(v.ti(),e):-1)),e.G){case 0:return r=new AR,r;case 1:return t=new BV,t;case 2:return i=new qV,i;case 4:return c=new Ix,c;case 5:return o=new GOn,o;case 6:return f=new sOn,f;case 7:return l=new UV,l;case 10:return d=new lx,d;case 11:return b=new FR,b;case 12:return p=new IDn,p;case 13:return y=new LR,y;case 14:return j=new BZ,j;case 17:return T=new Qkn,T;case 18:return a=new Cb,a;case 19:return O=new aR,O;default:throw S(new Zn(qU+e.zb+xw))}},s.ri=function(e,t){switch(e.gk()){case 20:return t==null?null:new oY(t);case 21:return t==null?null:new Za(t);case 23:case 22:return t==null?null:pOe(t);case 26:case 24:return t==null?null:hj(ms(t,-128,127)<<24>>24);case 25:return NRe(t);case 27:return fPe(t);case 28:return lPe(t);case 29:return xFe(t);case 32:case 31:return t==null?null:Rg(t);case 38:case 37:return t==null?null:new FQ(t);case 40:case 39:return t==null?null:V(ms(t,Qr,wt));case 41:return null;case 42:return t==null?null:null;case 44:case 43:return t==null?null:S1(UP(t));case 49:case 48:return t==null?null:m6(ms(t,JA,32767)<<16>>16);case 50:return t;default:throw S(new Zn(b8+e.ue()+xw))}};var I7t=g(re,"EcoreFactoryImpl",1369);w(568,187,{110:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,2068:1,54:1,101:1,162:1,187:1,568:1,119:1,120:1,702:1},H$n),s.gb=!1,s.hb=!1;var dmn,iwe=!1,j7t=g(re,"EcorePackageImpl",568);w(1244,1,{862:1},sIn),s.Jk=function(){return ELn(),uwe};var E7t=g(re,"EcorePackageImpl/1",1244);w(1253,1,gt,fIn),s.ek=function(e){return R(e,158)},s.fk=function(e){return X(dM,Wn,158,e,0,1)};var T7t=g(re,"EcorePackageImpl/10",1253);w(1254,1,gt,lIn),s.ek=function(e){return R(e,200)},s.fk=function(e){return X(mJ,Wn,200,e,0,1)};var M7t=g(re,"EcorePackageImpl/11",1254);w(1255,1,gt,hIn),s.ek=function(e){return R(e,57)},s.fk=function(e){return X(Xd,Wn,57,e,0,1)};var x7t=g(re,"EcorePackageImpl/12",1255);w(1256,1,gt,aIn),s.ek=function(e){return R(e,418)},s.fk=function(e){return X(If,Bhn,62,e,0,1)};var S7t=g(re,"EcorePackageImpl/13",1256);w(1257,1,gt,dIn),s.ek=function(e){return R(e,242)},s.fk=function(e){return X(Tl,Wn,242,e,0,1)};var O7t=g(re,"EcorePackageImpl/14",1257);w(1258,1,gt,bIn),s.ek=function(e){return R(e,523)},s.fk=function(e){return X(Gw,Wn,2145,e,0,1)};var C7t=g(re,"EcorePackageImpl/15",1258);w(1259,1,gt,wIn),s.ek=function(e){return R(e,107)},s.fk=function(e){return X(R2,um,19,e,0,1)};var P7t=g(re,"EcorePackageImpl/16",1259);w(1260,1,gt,gIn),s.ek=function(e){return R(e,182)},s.fk=function(e){return X(ro,um,182,e,0,1)};var A7t=g(re,"EcorePackageImpl/17",1260);w(1261,1,gt,pIn),s.ek=function(e){return R(e,488)},s.fk=function(e){return X(L2,Wn,488,e,0,1)};var F7t=g(re,"EcorePackageImpl/18",1261);w(1262,1,gt,mIn),s.ek=function(e){return R(e,569)},s.fk=function(e){return X(Gc,Tie,569,e,0,1)};var L7t=g(re,"EcorePackageImpl/19",1262);w(1245,1,gt,vIn),s.ek=function(e){return R(e,340)},s.fk=function(e){return X(N2,um,38,e,0,1)};var N7t=g(re,"EcorePackageImpl/2",1245);w(1263,1,gt,yIn),s.ek=function(e){return R(e,250)},s.fk=function(e){return X(qi,Hie,89,e,0,1)};var R7t=g(re,"EcorePackageImpl/20",1263);w(1264,1,gt,kIn),s.ek=function(e){return R(e,464)},s.fk=function(e){return X(zu,Wn,861,e,0,1)};var $7t=g(re,"EcorePackageImpl/21",1264);w(1265,1,gt,IIn),s.ek=function(e){return cg(e)},s.fk=function(e){return X(ur,on,492,e,8,1)};var D7t=g(re,"EcorePackageImpl/22",1265);w(1266,1,gt,jIn),s.ek=function(e){return R(e,198)},s.fk=function(e){return X(yo,on,198,e,0,2)};var K7t=g(re,"EcorePackageImpl/23",1266);w(1267,1,gt,EIn),s.ek=function(e){return R(e,223)},s.fk=function(e){return X(k4,on,223,e,0,1)};var B7t=g(re,"EcorePackageImpl/24",1267);w(1268,1,gt,TIn),s.ek=function(e){return R(e,183)},s.fk=function(e){return X(cy,on,183,e,0,1)};var _7t=g(re,"EcorePackageImpl/25",1268);w(1269,1,gt,MIn),s.ek=function(e){return R(e,208)},s.fk=function(e){return X(cF,on,208,e,0,1)};var H7t=g(re,"EcorePackageImpl/26",1269);w(1270,1,gt,xIn),s.ek=function(e){return!1},s.fk=function(e){return X(Pmn,Wn,2243,e,0,1)};var G7t=g(re,"EcorePackageImpl/27",1270);w(1271,1,gt,SIn),s.ek=function(e){return ug(e)},s.fk=function(e){return X(Cr,on,353,e,7,1)};var U7t=g(re,"EcorePackageImpl/28",1271);w(1272,1,gt,OIn),s.ek=function(e){return R(e,61)},s.fk=function(e){return X(zpn,Jg,61,e,0,1)};var q7t=g(re,"EcorePackageImpl/29",1272);w(1246,1,gt,CIn),s.ek=function(e){return R(e,524)},s.fk=function(e){return X(ht,{3:1,4:1,5:1,2063:1},609,e,0,1)};var z7t=g(re,"EcorePackageImpl/3",1246);w(1273,1,gt,PIn),s.ek=function(e){return R(e,590)},s.fk=function(e){return X(Jpn,Wn,2069,e,0,1)};var X7t=g(re,"EcorePackageImpl/30",1273);w(1274,1,gt,AIn),s.ek=function(e){return R(e,163)},s.fk=function(e){return X(mmn,Jg,163,e,0,1)};var W7t=g(re,"EcorePackageImpl/31",1274);w(1275,1,gt,FIn),s.ek=function(e){return R(e,77)},s.fk=function(e){return X(EN,Qie,77,e,0,1)};var J7t=g(re,"EcorePackageImpl/32",1275);w(1276,1,gt,LIn),s.ek=function(e){return R(e,164)},s.fk=function(e){return X(I8,on,164,e,0,1)};var V7t=g(re,"EcorePackageImpl/33",1276);w(1277,1,gt,NIn),s.ek=function(e){return R(e,14)},s.fk=function(e){return X(Dr,on,14,e,0,1)};var Q7t=g(re,"EcorePackageImpl/34",1277);w(1278,1,gt,RIn),s.ek=function(e){return R(e,303)},s.fk=function(e){return X(Zhn,Wn,303,e,0,1)};var Y7t=g(re,"EcorePackageImpl/35",1278);w(1279,1,gt,$In),s.ek=function(e){return R(e,173)},s.fk=function(e){return X(Ow,on,173,e,0,1)};var Z7t=g(re,"EcorePackageImpl/36",1279);w(1280,1,gt,DIn),s.ek=function(e){return R(e,84)},s.fk=function(e){return X(n1n,Wn,84,e,0,1)};var nyt=g(re,"EcorePackageImpl/37",1280);w(1281,1,gt,KIn),s.ek=function(e){return R(e,610)},s.fk=function(e){return X(bmn,Wn,610,e,0,1)};var eyt=g(re,"EcorePackageImpl/38",1281);w(1282,1,gt,BIn),s.ek=function(e){return!1},s.fk=function(e){return X(Amn,Wn,2244,e,0,1)};var tyt=g(re,"EcorePackageImpl/39",1282);w(1247,1,gt,_In),s.ek=function(e){return R(e,90)},s.fk=function(e){return X(kf,Wn,30,e,0,1)};var ryt=g(re,"EcorePackageImpl/4",1247);w(1283,1,gt,HIn),s.ek=function(e){return R(e,193)},s.fk=function(e){return X(Cw,on,193,e,0,1)};var iyt=g(re,"EcorePackageImpl/40",1283);w(1284,1,gt,GIn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var cyt=g(re,"EcorePackageImpl/41",1284);w(1285,1,gt,UIn),s.ek=function(e){return R(e,607)},s.fk=function(e){return X(Wpn,Wn,607,e,0,1)};var uyt=g(re,"EcorePackageImpl/42",1285);w(1286,1,gt,qIn),s.ek=function(e){return!1},s.fk=function(e){return X(Fmn,on,2245,e,0,1)};var oyt=g(re,"EcorePackageImpl/43",1286);w(1287,1,gt,zIn),s.ek=function(e){return R(e,48)},s.fk=function(e){return X(eb,XP,48,e,0,1)};var syt=g(re,"EcorePackageImpl/44",1287);w(1248,1,gt,XIn),s.ek=function(e){return R(e,150)},s.fk=function(e){return X(Ml,Wn,150,e,0,1)};var fyt=g(re,"EcorePackageImpl/5",1248);w(1249,1,gt,WIn),s.ek=function(e){return R(e,159)},s.fk=function(e){return X(EJ,Wn,159,e,0,1)};var lyt=g(re,"EcorePackageImpl/6",1249);w(1250,1,gt,JIn),s.ek=function(e){return R(e,477)},s.fk=function(e){return X(jN,Wn,698,e,0,1)};var hyt=g(re,"EcorePackageImpl/7",1250);w(1251,1,gt,VIn),s.ek=function(e){return R(e,590)},s.fk=function(e){return X(H1,Wn,706,e,0,1)};var ayt=g(re,"EcorePackageImpl/8",1251);w(1252,1,gt,QIn),s.ek=function(e){return R(e,487)},s.fk=function(e){return X(bk,Wn,487,e,0,1)};var dyt=g(re,"EcorePackageImpl/9",1252);w(1083,2108,Eie,bCn),s.Li=function(e,t){Zxe(this,u(t,430))},s.Pi=function(e,t){RJn(this,e,u(t,430))};var byt=g(re,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1083);w(1084,155,JE,F$n),s.ij=function(){return this.a.a};var wyt=g(re,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1084);w(1111,1110,{},UFn);var gyt=g("org.eclipse.emf.ecore.plugin","EcorePlugin",1111),bmn=ir(Yie,"Resource");w(813,1551,Zie),s.Gl=function(e){},s.Hl=function(e){},s.Dl=function(){return!this.a&&(this.a=new MR(this)),this.a},s.El=function(e){var t,r,i,c,o;if(i=e.length,i>0){if(se(0,e.length),e.charCodeAt(0)==47){o=new Ou(4),c=1;for(t=1;t<i;++t)if(se(t,e.length),e.charCodeAt(t)==47)un(o,c==t?"":(ai(c,t,e.length),e.substr(c,t-c))),c=t+1;return un(o,(se(c,e.length+1),e.substr(c))),tAe(this,o)}else if(se(i-1,e.length),e.charCodeAt(i-1)==63)r=oen(e,Yu(63),i-2),r>0&&(e=(ai(0,r,e.length),e.substr(0,r)))}return mNe(this,e)},s.Fl=function(){return this.c},s.Ib=function(){var e;return h0(this.Qm)+"@"+(e=qt(this)>>>0,e.toString(16))+" uri='"+this.d+"'"},s.b=!1;var pyt=g(fq,"ResourceImpl",813);w(1552,813,Zie,cOn);var myt=g(fq,"BinaryResourceImpl",1552);w(1200,725,rq),s.aj=function(e){return R(e,57)?kye(this,u(e,57)):R(e,610)?new de(u(e,610).Dl()):q(e)===q(this.f)?u(e,17).Kc():(Av(),gM.a)},s.Ob=function(){return Tun(this)},s.a=!1;var vyt=g(Zt,"EcoreUtil/ContentTreeIterator",1200);w(1553,1200,rq,h$n),s.aj=function(e){return q(e)===q(this.f)?u(e,16).Kc():new wBn(u(e,57))};var yyt=g(fq,"ResourceImpl/5",1553);w(670,2120,_ie,MR),s.Hc=function(e){return this.i<=4?C6(this,e):R(e,54)&&u(e,54).Hh()==this.a},s.Li=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},s.Ni=function(e,t){e==0?this.a.b||(this.a.b=!0):jK(this,e,t)},s.Pi=function(e,t){},s.Qi=function(e,t,r){},s.Kj=function(){return 2},s.ij=function(){return this.a},s.Lj=function(){return!0},s.Mj=function(e,t){var r=u(e,54);return t=r.di(this.a,t),t},s.Nj=function(e,t){var r=u(e,54);return r.di(null,t)},s.Oj=function(){return!1},s.Ri=function(){return!0},s._i=function(e){return X(Xd,Wn,57,e,0,1)},s.Xi=function(){return!1};var kyt=g(fq,"ResourceImpl/ContentsEList",670);w(1014,2091,W6,uOn),s.fd=function(e){return this.a.Ji(e)},s.gc=function(){return this.a.gc()};var Iyt=g(Zt,"AbstractSequentialInternalEList/1",1014),wmn,gmn,pi,pmn;w(647,1,{},aRn);var TN,MN,jyt=g(Zt,"BasicExtendedMetaData",647);w(1191,1,{},lFn),s.Il=function(){return null},s.Jl=function(){return this.a==-2&&eme(this,kFe(this.d,this.b)),this.a},s.Kl=function(){return null},s.Ll=function(){return _n(),_n(),Mi},s.ue=function(){return this.c==m8&&tme(this,Qzn(this.d,this.b)),this.c},s.Ml=function(){return 0},s.a=-2,s.c=m8;var Eyt=g(Zt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1191);w(1192,1,{},GKn),s.Il=function(){return this.a==(Jv(),TN)&&cme(this,yKe(this.f,this.b)),this.a},s.Jl=function(){return 0},s.Kl=function(){return this.c==(Jv(),TN)&&rme(this,kKe(this.f,this.b)),this.c},s.Ll=function(){return!this.d&&ome(this,f_e(this.f,this.b)),this.d},s.ue=function(){return this.e==m8&&fme(this,Qzn(this.f,this.b)),this.e},s.Ml=function(){return this.g==-2&&hme(this,UAe(this.f,this.b)),this.g},s.e=m8,s.g=-2;var Tyt=g(Zt,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1192);w(1190,1,{},hFn),s.b=!1,s.c=!1;var Myt=g(Zt,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1190);w(1193,1,{},UKn),s.c=-2,s.e=m8,s.f=m8;var xyt=g(Zt,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1193);w(604,645,vc,BS),s.Kj=function(){return this.c},s.nl=function(){return!1},s.Vi=function(e,t){return t},s.c=0;var Syt=g(Zt,"EDataTypeEList",604),mmn=ir(Zt,"FeatureMap");w(79,604,{3:1,4:1,22:1,31:1,56:1,17:1,16:1,59:1,71:1,67:1,61:1,81:1,163:1,221:1,2066:1,72:1,100:1},gr),s.bd=function(e,t){D$e(this,e,u(t,77))},s.Fc=function(e){return t$e(this,u(e,77))},s.Gi=function(e){m7e(this,u(e,77))},s.Mj=function(e,t){return K6e(this,u(e,77),t)},s.Nj=function(e,t){return ann(this,u(e,77),t)},s.Si=function(e,t){return wBe(this,e,t)},s.Vi=function(e,t){return oGe(this,e,u(t,77))},s.hd=function(e,t){return xDe(this,e,u(t,77))},s.Tj=function(e,t){return B6e(this,u(e,77),t)},s.Uj=function(e,t){return DNn(this,u(e,77),t)},s.Vj=function(e,t,r){return FAe(this,u(e,77),u(t,77),r)},s.Yi=function(e,t){return v_(this,e,u(t,77))},s.Nl=function(e,t){return von(this,e,t)},s.cd=function(e,t){var r,i,c,o,f,l,a,d,b;d=new tw(t.gc());for(c=t.Kc();c.Ob();)if(i=u(c.Pb(),77),o=i.Kk(),C1(this.e,o))(!o.Ri()||!FO(this,o,i.md())&&!C6(d,i))&&Ge(d,i);else{b=_u(this.e.Bh(),o),r=u(this.g,124),f=!0;for(l=0;l<this.i;++l)if(a=r[l],b._l(a.Kk())){u($p(this,l,i),77),f=!1;break}f&&Ge(d,i)}return Krn(this,e,d)},s.Gc=function(e){var t,r,i,c,o,f,l,a,d;a=new tw(e.gc());for(i=e.Kc();i.Ob();)if(r=u(i.Pb(),77),c=r.Kk(),C1(this.e,c))(!c.Ri()||!FO(this,c,r.md())&&!C6(a,r))&&Ge(a,r);else{d=_u(this.e.Bh(),c),t=u(this.g,124),o=!0;for(f=0;f<this.i;++f)if(l=t[f],d._l(l.Kk())){u($p(this,f,r),77),o=!1;break}o&&Ge(a,r)}return wr(this,a)},s.Ei=function(e){return this.j=-1,rH(this,this.i,e)},s.Ol=function(e,t,r){return aon(this,e,t,r)},s.Wk=function(e,t){return hE(this,e,t)},s.Pl=function(e,t,r){return Kon(this,e,t,r)},s.Ql=function(){return this},s.Rl=function(e,t){return wE(this,e,t)},s.Sl=function(e){return u(D(this,e),77).Kk()},s.Tl=function(e){return u(D(this,e),77).md()},s.Ul=function(){return this.b},s.Lj=function(){return!0},s.Sj=function(){return!0},s.Vl=function(e){return!Rj(this,e)},s._i=function(e){return X(rwe,Qie,351,e,0,1)},s.ol=function(e){return Z$(this,e)},s.Wb=function(e){_I(this,e)},s.Wl=function(e,t){BP(this,e,t)},s.Xl=function(e){return nUn(this,e)},s.Yl=function(e){DXn(this,e)};var Oyt=g(Zt,"BasicFeatureMap",79);w(1990,1,qh),s.Nb=function(e){wi(this,e)},s.Rb=function(e){if(this.g==-1)throw S(new so);rO(this);try{PQn(this.e,this.b,this.a,e),this.d=this.e.j,YC(this)}catch(t){if(t=Yt(t),R(t,78))throw S(new As);else throw S(t)}},s.Ob=function(){return dB(this)},s.Sb=function(){return Mqn(this)},s.Pb=function(){return YC(this)},s.Tb=function(){return this.a},s.Ub=function(){var e;if(Mqn(this)){if(rO(this),this.g=--this.a,this.tl())e=l7(this.e,this.b,this.c,this.a,this.j),this.j=e;return this.i=0,this.j}else throw S(new kc)},s.Vb=function(){return this.a-1},s.Qb=function(){if(this.g==-1)throw S(new so);rO(this);try{if(yJn(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a)--this.a,--this.c;--this.g}catch(e){if(e=Yt(e),R(e,78))throw S(new As);else throw S(e)}},s.tl=function(){return!1},s.Wb=function(e){if(this.g==-1)throw S(new so);rO(this);try{iZn(this.e,this.b,this.g,e),this.d=this.e.j}catch(t){if(t=Yt(t),R(t,78))throw S(new As);else throw S(t)}},s.a=0,s.c=0,s.d=0,s.f=!1,s.g=0,s.i=0;var Cyt=g(Zt,"FeatureMapUtil/BasicFeatureEIterator",1990);w(427,1990,qh,o6),s.Zl=function(){var e,t,r;r=this.e.i,e=u(this.e.g,124);while(this.c<r){if(t=e[this.c],this.k._l(t.Kk()))return this.j=this.f?t:t.md(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},s.$l=function(){var e,t;e=u(this.e.g,124);while(--this.c>=0)if(t=e[this.c],this.k._l(t.Kk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1};var Pyt=g(Zt,"BasicFeatureMap/FeatureEIterator",427);w(688,427,qh,R$),s.tl=function(){return!0};var Ayt=g(Zt,"BasicFeatureMap/ResolvingFeatureEIterator",688);w(1012,502,UA,nLn),s.oj=function(){return this};var Fyt=g(Zt,"EContentsEList/1",1012);w(1013,502,UA,xFn),s.tl=function(){return!1};var Lyt=g(Zt,"EContentsEList/2",1013);w(1011,293,qA,eLn),s.vl=function(e){},s.Ob=function(){return!1},s.Sb=function(){return!1};var Nyt=g(Zt,"EContentsEList/FeatureIteratorImpl/1",1011);w(851,604,vc,IZ),s.Mi=function(){this.a=!0},s.Pj=function(){return this.a},s.Fk=function(){var e;if(Be(this),qo(this.e))e=this.a,this.a=!1,Et(this.e,new Lf(this.e,2,this.c,e,!1));else this.a=!1},s.a=!1;var Ryt=g(Zt,"EDataTypeEList/Unsettable",851);w(1988,604,vc,hLn),s.Ri=function(){return!0};var $yt=g(Zt,"EDataTypeUniqueEList",1988);w(1989,851,vc,fLn),s.Ri=function(){return!0};var Dyt=g(Zt,"EDataTypeUniqueEList/Unsettable",1989);w(151,83,vc,lo),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var Kyt=g(Zt,"EObjectContainmentEList/Resolving",151);w(1194,563,vc,sLn),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var Byt=g(Zt,"EObjectContainmentEList/Unsettable/Resolving",1194);w(777,15,vc,onn),s.Mi=function(){this.a=!0},s.Pj=function(){return this.a},s.Fk=function(){var e;if(Be(this),qo(this.e))e=this.a,this.a=!1,Et(this.e,new Lf(this.e,2,this.c,e,!1));else this.a=!1},s.a=!1;var _yt=g(Zt,"EObjectContainmentWithInverseEList/Unsettable",777);w(1232,777,vc,xNn),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var Hyt=g(Zt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1232);w(769,510,vc,kZ),s.Mi=function(){this.a=!0},s.Pj=function(){return this.a},s.Fk=function(){var e;if(Be(this),qo(this.e))e=this.a,this.a=!1,Et(this.e,new Lf(this.e,2,this.c,e,!1));else this.a=!1},s.a=!1;var Gyt=g(Zt,"EObjectEList/Unsettable",769);w(346,510,vc,vp),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var Uyt=g(Zt,"EObjectResolvingEList",346);w(1893,769,vc,lLn),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var qyt=g(Zt,"EObjectResolvingEList/Unsettable",1893);w(1554,1,{},YIn);var cwe,zyt=g(Zt,"EObjectValidator",1554);w(567,510,vc,uO),s.hl=function(){return this.d},s.il=function(){return this.b},s.Lj=function(){return!0},s.ll=function(){return!0},s.b=0;var Xyt=g(Zt,"EObjectWithInverseEList",567);w(1235,567,vc,SNn),s.kl=function(){return!0};var Wyt=g(Zt,"EObjectWithInverseEList/ManyInverse",1235);w(648,567,vc,cD),s.Mi=function(){this.a=!0},s.Pj=function(){return this.a},s.Fk=function(){var e;if(Be(this),qo(this.e))e=this.a,this.a=!1,Et(this.e,new Lf(this.e,2,this.c,e,!1));else this.a=!1},s.a=!1;var Jyt=g(Zt,"EObjectWithInverseEList/Unsettable",648);w(1234,648,vc,ONn),s.kl=function(){return!0};var Vyt=g(Zt,"EObjectWithInverseEList/Unsettable/ManyInverse",1234);w(778,567,vc,snn),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var Qyt=g(Zt,"EObjectWithInverseResolvingEList",778);w(32,778,vc,qn),s.kl=function(){return!0};var Yyt=g(Zt,"EObjectWithInverseResolvingEList/ManyInverse",32);w(779,648,vc,fnn),s.ml=function(){return!0},s.Vi=function(e,t){return u4(this,e,u(t,57))};var Zyt=g(Zt,"EObjectWithInverseResolvingEList/Unsettable",779);w(1233,779,vc,CNn),s.kl=function(){return!0};var nkt=g(Zt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1233);w(1195,645,vc),s.Ki=function(){return(this.b&1792)==0},s.Mi=function(){this.b|=1},s.jl=function(){return(this.b&4)!=0},s.Lj=function(){return(this.b&40)!=0},s.kl=function(){return(this.b&16)!=0},s.ll=function(){return(this.b&8)!=0},s.ml=function(){return(this.b&U0)!=0},s._k=function(){return(this.b&32)!=0},s.nl=function(){return(this.b&Gf)!=0},s.ek=function(e){return!this.d?this.Kk().Gk().ek(e):EBn(this.d,e)},s.Pj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Ri=function(){return(this.b&128)!=0},s.Fk=function(){var e;if(Be(this),(this.b&2)!=0)if(qo(this.e))e=(this.b&1)!=0,this.b&=-2,wv(this,new Lf(this.e,2,rr(this.e.Bh(),this.Kk()),e,!1));else this.b&=-2},s.Xi=function(){return(this.b&1536)==0},s.b=0;var ekt=g(Zt,"EcoreEList/Generic",1195);w(1196,1195,vc,xDn),s.Kk=function(){return this.a};var tkt=g(Zt,"EcoreEList/Dynamic",1196);w(776,67,Th,jQ),s._i=function(e){return wj(this.a.a,e)};var rkt=g(Zt,"EcoreEMap/1",776);w(775,83,vc,uen),s.Li=function(e,t){nP(this.b,u(t,141))},s.Ni=function(e,t){CUn(this.b)},s.Oi=function(e,t,r){var i;++(i=this.b,u(t,141),i).e},s.Pi=function(e,t){TB(this.b,u(t,141))},s.Qi=function(e,t,r){TB(this.b,u(r,141)),q(r)===q(t)&&u(r,141).Ai(B4e(u(t,141).ld())),nP(this.b,u(t,141))};var ikt=g(Zt,"EcoreEMap/DelegateEObjectContainmentEList",775);w(1230,149,Khn,WGn);var ckt=g(Zt,"EcoreEMap/Unsettable",1230);w(1231,775,vc,PNn),s.Mi=function(){this.a=!0},s.Pj=function(){return this.a},s.Fk=function(){var e;if(Be(this),qo(this.e))e=this.a,this.a=!1,Et(this.e,new Lf(this.e,2,this.c,e,!1));else this.a=!1},s.a=!1;var ukt=g(Zt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1231);w(1199,216,Yp,M$n),s.a=!1,s.b=!1;var okt=g(Zt,"EcoreUtil/Copier",1199);w(770,1,ri,wBn),s.Nb=function(e){wi(this,e)},s.Ob=function(){return Lzn(this)},s.Pb=function(){var e;return Lzn(this),e=this.b,this.b=null,e},s.Qb=function(){this.a.Qb()};var skt=g(Zt,"EcoreUtil/ProperContentIterator",770);w(1555,1554,{},tTn);var uwe,fkt=g(Zt,"EcoreValidator",1555),owe,lkt=ir(Zt,"FeatureMapUtil/Validator");w(1311,1,{2071:1},ZIn),s._l=function(e){return!0};var hkt=g(Zt,"FeatureMapUtil/1",1311);w(784,1,{2071:1},Qon),s._l=function(e){var t;if(this.c==e)return!0;if(t=bn(Vn(this.a,e)),t==null)if(xKe(this,e))return a_n(this.a,e,(Qn(),k8)),!0;else return a_n(this.a,e,(Qn(),Cd)),!1;else return t==(Qn(),k8)},s.e=!1;var SJ,akt=g(Zt,"FeatureMapUtil/BasicValidator",784);w(785,44,Yp,mZ);var dkt=g(Zt,"FeatureMapUtil/BasicValidator/Cache",785);w(514,56,{22:1,31:1,56:1,17:1,16:1,61:1,81:1,72:1,100:1},II),s.bd=function(e,t){PQn(this.c,this.b,e,t)},s.Fc=function(e){return von(this.c,this.b,e)},s.cd=function(e,t){return Y_e(this.c,this.b,e,t)},s.Gc=function(e){return i9(this,e)},s.Fi=function(e,t){WEe(this.c,this.b,e,t)},s.Vk=function(e,t){return aon(this.c,this.b,e,t)},s.Zi=function(e){return KP(this.c,this.b,e,!1)},s.Hi=function(){return BFn(this.c,this.b)},s.Ii=function(){return S4e(this.c,this.b)},s.Ji=function(e){return nEe(this.c,this.b,e)},s.Wk=function(e,t){return uNn(this,e,t)},s.$b=function(){u3(this)},s.Hc=function(e){return FO(this.c,this.b,e)},s.Ic=function(e){return eMe(this.c,this.b,e)},s.Xb=function(e){return KP(this.c,this.b,e,!0)},s.Ek=function(e){return this},s.dd=function(e){return dje(this.c,this.b,e)},s.dc=function(){return gS(this)},s.Pj=function(){return!Rj(this.c,this.b)},s.Kc=function(){return AEe(this.c,this.b)},s.ed=function(){return FEe(this.c,this.b)},s.fd=function(e){return wSe(this.c,this.b,e)},s.Si=function(e,t){return WYn(this.c,this.b,e,t)},s.Ti=function(e,t){aEe(this.c,this.b,e,t)},s.gd=function(e){return yJn(this.c,this.b,e)},s.Mc=function(e){return eBe(this.c,this.b,e)},s.hd=function(e,t){return iZn(this.c,this.b,e,t)},s.Wb=function(e){vP(this.c,this.b),i9(this,u(e,16))},s.gc=function(){return gSe(this.c,this.b)},s.Pc=function(){return lIe(this.c,this.b)},s.Qc=function(e){return bje(this.c,this.b,e)},s.Ib=function(){var e,t;t=new Z1,t.a+="[";for(e=BFn(this.c,this.b);dB(e);)zi(t,u9(YC(e))),dB(e)&&(t.a+=Ci);return t.a+="]",t.a},s.Fk=function(){vP(this.c,this.b)};var bkt=g(Zt,"FeatureMapUtil/FeatureEList",514);w(656,41,JE,aK),s.gj=function(e){return X9(this,e)},s.lj=function(e){var t,r,i,c,o,f,l;switch(this.d){case 1:case 2:{if(o=e.ij(),q(o)===q(this.c)&&X9(this,null)==e.gj(null))return this.g=e.hj(),e.fj()==1&&(this.d=1),!0;break}case 3:{switch(c=e.fj(),c){case 3:{if(o=e.ij(),q(o)===q(this.c)&&X9(this,null)==e.gj(null))return this.d=5,t=new tw(2),Ge(t,this.g),Ge(t,e.hj()),this.g=t,!0;break}}break}case 5:{switch(c=e.fj(),c){case 3:{if(o=e.ij(),q(o)===q(this.c)&&X9(this,null)==e.gj(null))return r=u(this.g,17),r.Fc(e.hj()),!0;break}}break}case 4:{switch(c=e.fj(),c){case 3:{if(o=e.ij(),q(o)===q(this.c)&&X9(this,null)==e.gj(null))return this.d=1,this.g=e.hj(),!0;break}case 4:{if(o=e.ij(),q(o)===q(this.c)&&X9(this,null)==e.gj(null))return this.d=6,l=new tw(2),Ge(l,this.n),Ge(l,e.jj()),this.n=l,f=P(C(qe,1),ft,29,15,[this.o,e.kj()]),this.g=f,!0;break}}break}case 6:{switch(c=e.fj(),c){case 4:{if(o=e.ij(),q(o)===q(this.c)&&X9(this,null)==e.gj(null))return r=u(this.n,17),r.Fc(e.jj()),f=u(this.g,53),i=X(qe,ft,29,f.length+1,15,1),ou(f,0,i,0,f.length),i[f.length]=e.kj(),this.g=i,!0;break}}break}}return!1};var wkt=g(Zt,"FeatureMapUtil/FeatureENotificationImpl",656);w(573,514,{22:1,31:1,56:1,17:1,16:1,61:1,81:1,163:1,221:1,2066:1,72:1,100:1},US),s.Nl=function(e,t){return von(this.c,e,t)},s.Ol=function(e,t,r){return aon(this.c,e,t,r)},s.Pl=function(e,t,r){return Kon(this.c,e,t,r)},s.Ql=function(){return this},s.Rl=function(e,t){return wE(this.c,e,t)},s.Sl=function(e){return u(KP(this.c,this.b,e,!1),77).Kk()},s.Tl=function(e){return u(KP(this.c,this.b,e,!1),77).md()},s.Ul=function(){return this.a},s.Vl=function(e){return!Rj(this.c,e)},s.Wl=function(e,t){BP(this.c,e,t)},s.Xl=function(e){return nUn(this.c,e)},s.Yl=function(e){DXn(this.c,e)};var gkt=g(Zt,"FeatureMapUtil/FeatureFeatureMap",573);w(1310,1,sq,sFn),s.Ek=function(e){return KP(this.b,this.a,-1,e)},s.Pj=function(){return!Rj(this.b,this.a)},s.Wb=function(e){BP(this.b,this.a,e)},s.Fk=function(){vP(this.b,this.a)};var pkt=g(Zt,"FeatureMapUtil/FeatureValue",1310),J4,OJ,CJ,V4,swe,mM=ir(ZA,"AnyType");w(692,63,P1,HR);var mkt=g(ZA,"InvalidDatatypeValueException",692),xN=ir(ZA,ece),vM=ir(ZA,tce),vmn=ir(ZA,rce),fwe,Wc,ymn,gb,lwe,hwe,awe,dwe,bwe,wwe,gwe,pwe,mwe,vwe,ywe,Km,kwe,Bm,vk,Iwe,zw,yM,kM,jwe,yk,kk;w(855,521,{110:1,95:1,94:1,57:1,54:1,101:1,868:1},KQ),s.Jh=function(e,t,r){switch(e){case 0:if(r)return!this.c&&(this.c=new gr(this,0)),this.c;return!this.c&&(this.c=new gr(this,0)),this.c.b;case 1:if(r)return!this.c&&(this.c=new gr(this,0)),u(gu(this.c,(Ft(),gb)),163);return(!this.c&&(this.c=new gr(this,0)),u(u(gu(this.c,(Ft(),gb)),163),221)).Ul();case 2:if(r)return!this.b&&(this.b=new gr(this,2)),this.b;return!this.b&&(this.b=new gr(this,2)),this.b.b}return Ds(this,e-Ee(this.gi()),zn((this.j&2)==0?this.gi():(!this.k&&(this.k=new cl),this.k).Mk(),e),t,r)},s.Sh=function(e,t,r){var i;switch(t){case 0:return!this.c&&(this.c=new gr(this,0)),hE(this.c,e,r);case 1:return(!this.c&&(this.c=new gr(this,0)),u(u(gu(this.c,(Ft(),gb)),163),72)).Wk(e,r);case 2:return!this.b&&(this.b=new gr(this,2)),hE(this.b,e,r)}return i=u(zn((this.j&2)==0?this.gi():(!this.k&&(this.k=new cl),this.k).Mk(),t),69),i.vk().zk(this,Jtn(this),t-Ee(this.gi()),e,r)},s.Uh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new gr(this,0)),u(gu(this.c,(Ft(),gb)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return $s(this,e-Ee(this.gi()),zn((this.j&2)==0?this.gi():(!this.k&&(this.k=new cl),this.k).Mk(),e))},s._h=function(e,t){switch(e){case 0:!this.c&&(this.c=new gr(this,0)),_I(this.c,t);return;case 1:(!this.c&&(this.c=new gr(this,0)),u(u(gu(this.c,(Ft(),gb)),163),221)).Wb(t);return;case 2:!this.b&&(this.b=new gr(this,2)),_I(this.b,t);return}_s(this,e-Ee(this.gi()),zn((this.j&2)==0?this.gi():(!this.k&&(this.k=new cl),this.k).Mk(),e),t)},s.gi=function(){return Ft(),ymn},s.ii=function(e){switch(e){case 0:!this.c&&(this.c=new gr(this,0)),Be(this.c);return;case 1:(!this.c&&(this.c=new gr(this,0)),u(gu(this.c,(Ft(),gb)),163)).$b();return;case 2:!this.b&&(this.b=new gr(this,2)),Be(this.b);return}Bs(this,e-Ee(this.gi()),zn((this.j&2)==0?this.gi():(!this.k&&(this.k=new cl),this.k).Mk(),e))},s.Ib=function(){var e;if((this.j&4)!=0)return Bf(this);return e=new cf(Bf(this)),e.a+=" (mixed: ",e9(e,this.c),e.a+=", anyAttribute: ",e9(e,this.b),e.a+=")",e.a};var vkt=g(Nr,"AnyTypeImpl",855);w(693,521,{110:1,95:1,94:1,57:1,54:1,101:1,2148:1,693:1},hjn),s.Jh=function(e,t,r){switch(e){case 0:return this.a;case 1:return this.b}return Ds(this,e-Ee((Ft(),Km)),zn((this.j&2)==0?Km:(!this.k&&(this.k=new cl),this.k).Mk(),e),t,r)},s.Uh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return $s(this,e-Ee((Ft(),Km)),zn((this.j&2)==0?Km:(!this.k&&(this.k=new cl),this.k).Mk(),e))},s._h=function(e,t){switch(e){case 0:bme(this,We(t));return;case 1:gme(this,We(t));return}_s(this,e-Ee((Ft(),Km)),zn((this.j&2)==0?Km:(!this.k&&(this.k=new cl),this.k).Mk(),e),t)},s.gi=function(){return Ft(),Km},s.ii=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}Bs(this,e-Ee((Ft(),Km)),zn((this.j&2)==0?Km:(!this.k&&(this.k=new cl),this.k).Mk(),e))},s.Ib=function(){var e;if((this.j&4)!=0)return Bf(this);return e=new cf(Bf(this)),e.a+=" (data: ",zi(e,this.a),e.a+=", target: ",zi(e,this.b),e.a+=")",e.a},s.a=null,s.b=null;var ykt=g(Nr,"ProcessingInstructionImpl",693);w(694,855,{110:1,95:1,94:1,57:1,54:1,101:1,868:1,2149:1,694:1},qOn),s.Jh=function(e,t,r){switch(e){case 0:if(r)return!this.c&&(this.c=new gr(this,0)),this.c;return!this.c&&(this.c=new gr(this,0)),this.c.b;case 1:if(r)return!this.c&&(this.c=new gr(this,0)),u(gu(this.c,(Ft(),gb)),163);return(!this.c&&(this.c=new gr(this,0)),u(u(gu(this.c,(Ft(),gb)),163),221)).Ul();case 2:if(r)return!this.b&&(this.b=new gr(this,2)),this.b;return!this.b&&(this.b=new gr(this,2)),this.b.b;case 3:return!this.c&&(this.c=new gr(this,0)),We(wE(this.c,(Ft(),vk),!0));case 4:return hnn(this.a,(!this.c&&(this.c=new gr(this,0)),We(wE(this.c,(Ft(),vk),!0))));case 5:return this.a}return Ds(this,e-Ee((Ft(),Bm)),zn((this.j&2)==0?Bm:(!this.k&&(this.k=new cl),this.k).Mk(),e),t,r)},s.Uh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new gr(this,0)),u(gu(this.c,(Ft(),gb)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new gr(this,0)),We(wE(this.c,(Ft(),vk),!0))!=null;case 4:return hnn(this.a,(!this.c&&(this.c=new gr(this,0)),We(wE(this.c,(Ft(),vk),!0))))!=null;case 5:return!!this.a}return $s(this,e-Ee((Ft(),Bm)),zn((this.j&2)==0?Bm:(!this.k&&(this.k=new cl),this.k).Mk(),e))},s._h=function(e,t){switch(e){case 0:!this.c&&(this.c=new gr(this,0)),_I(this.c,t);return;case 1:(!this.c&&(this.c=new gr(this,0)),u(u(gu(this.c,(Ft(),gb)),163),221)).Wb(t);return;case 2:!this.b&&(this.b=new gr(this,2)),_I(this.b,t);return;case 3:ttn(this,We(t));return;case 4:ttn(this,lnn(this.a,t));return;case 5:wme(this,u(t,159));return}_s(this,e-Ee((Ft(),Bm)),zn((this.j&2)==0?Bm:(!this.k&&(this.k=new cl),this.k).Mk(),e),t)},s.gi=function(){return Ft(),Bm},s.ii=function(e){switch(e){case 0:!this.c&&(this.c=new gr(this,0)),Be(this.c);return;case 1:(!this.c&&(this.c=new gr(this,0)),u(gu(this.c,(Ft(),gb)),163)).$b();return;case 2:!this.b&&(this.b=new gr(this,2)),Be(this.b);return;case 3:!this.c&&(this.c=new gr(this,0)),BP(this.c,(Ft(),vk),null);return;case 4:ttn(this,lnn(this.a,null));return;case 5:this.a=null;return}Bs(this,e-Ee((Ft(),Bm)),zn((this.j&2)==0?Bm:(!this.k&&(this.k=new cl),this.k).Mk(),e))};var kkt=g(Nr,"SimpleAnyTypeImpl",694);w(695,521,{110:1,95:1,94:1,57:1,54:1,101:1,2150:1,695:1},zOn),s.Jh=function(e,t,r){switch(e){case 0:if(r)return!this.a&&(this.a=new gr(this,0)),this.a;return!this.a&&(this.a=new gr(this,0)),this.a.b;case 1:return r?(!this.b&&(this.b=new bo((Bn(),Li),Gc,this,1)),this.b):(!this.b&&(this.b=new bo((Bn(),Li),Gc,this,1)),rj(this.b));case 2:return r?(!this.c&&(this.c=new bo((Bn(),Li),Gc,this,2)),this.c):(!this.c&&(this.c=new bo((Bn(),Li),Gc,this,2)),rj(this.c));case 3:return!this.a&&(this.a=new gr(this,0)),gu(this.a,(Ft(),yM));case 4:return!this.a&&(this.a=new gr(this,0)),gu(this.a,(Ft(),kM));case 5:return!this.a&&(this.a=new gr(this,0)),gu(this.a,(Ft(),yk));case 6:return!this.a&&(this.a=new gr(this,0)),gu(this.a,(Ft(),kk))}return Ds(this,e-Ee((Ft(),zw)),zn((this.j&2)==0?zw:(!this.k&&(this.k=new cl),this.k).Mk(),e),t,r)},s.Sh=function(e,t,r){var i;switch(t){case 0:return!this.a&&(this.a=new gr(this,0)),hE(this.a,e,r);case 1:return!this.b&&(this.b=new bo((Bn(),Li),Gc,this,1)),FS(this.b,e,r);case 2:return!this.c&&(this.c=new bo((Bn(),Li),Gc,this,2)),FS(this.c,e,r);case 5:return!this.a&&(this.a=new gr(this,0)),uNn(gu(this.a,(Ft(),yk)),e,r)}return i=u(zn((this.j&2)==0?(Ft(),zw):(!this.k&&(this.k=new cl),this.k).Mk(),t),69),i.vk().zk(this,Jtn(this),t-Ee((Ft(),zw)),e,r)},s.Uh=function(e){switch(e){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new gr(this,0)),!gS(gu(this.a,(Ft(),yM)));case 4:return!this.a&&(this.a=new gr(this,0)),!gS(gu(this.a,(Ft(),kM)));case 5:return!this.a&&(this.a=new gr(this,0)),!gS(gu(this.a,(Ft(),yk)));case 6:return!this.a&&(this.a=new gr(this,0)),!gS(gu(this.a,(Ft(),kk)))}return $s(this,e-Ee((Ft(),zw)),zn((this.j&2)==0?zw:(!this.k&&(this.k=new cl),this.k).Mk(),e))},s._h=function(e,t){switch(e){case 0:!this.a&&(this.a=new gr(this,0)),_I(this.a,t);return;case 1:!this.b&&(this.b=new bo((Bn(),Li),Gc,this,1)),IC(this.b,t);return;case 2:!this.c&&(this.c=new bo((Bn(),Li),Gc,this,2)),IC(this.c,t);return;case 3:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),yM))),!this.a&&(this.a=new gr(this,0)),i9(gu(this.a,yM),u(t,17));return;case 4:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),kM))),!this.a&&(this.a=new gr(this,0)),i9(gu(this.a,kM),u(t,17));return;case 5:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),yk))),!this.a&&(this.a=new gr(this,0)),i9(gu(this.a,yk),u(t,17));return;case 6:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),kk))),!this.a&&(this.a=new gr(this,0)),i9(gu(this.a,kk),u(t,17));return}_s(this,e-Ee((Ft(),zw)),zn((this.j&2)==0?zw:(!this.k&&(this.k=new cl),this.k).Mk(),e),t)},s.gi=function(){return Ft(),zw},s.ii=function(e){switch(e){case 0:!this.a&&(this.a=new gr(this,0)),Be(this.a);return;case 1:!this.b&&(this.b=new bo((Bn(),Li),Gc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new bo((Bn(),Li),Gc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),yM)));return;case 4:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),kM)));return;case 5:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),yk)));return;case 6:!this.a&&(this.a=new gr(this,0)),u3(gu(this.a,(Ft(),kk)));return}Bs(this,e-Ee((Ft(),zw)),zn((this.j&2)==0?zw:(!this.k&&(this.k=new cl),this.k).Mk(),e))},s.Ib=function(){var e;if((this.j&4)!=0)return Bf(this);return e=new cf(Bf(this)),e.a+=" (mixed: ",e9(e,this.a),e.a+=")",e.a};var Ikt=g(Nr,"XMLTypeDocumentRootImpl",695);w(2058,738,{110:1,95:1,94:1,487:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1,2151:1},njn),s.pi=function(e,t){switch(e.gk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:mc(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return We(t);case 6:return s6e(u(t,198));case 12:case 47:case 49:case 11:return UZn(this,e,t);case 13:return t==null?null:iHe(u(t,249));case 15:case 14:return t==null?null:X7e(B(_(t)));case 17:return xWn((Ft(),t));case 18:return xWn(t);case 21:case 20:return t==null?null:W7e(u(t,164).a);case 27:return f6e(u(t,198));case 30:return KXn((Ft(),u(t,16)));case 31:return KXn(u(t,16));case 40:return o6e((Ft(),t));case 42:return SWn((Ft(),t));case 43:return SWn(t);case 59:case 48:return u6e((Ft(),t));default:throw S(new Zn(b8+e.ue()+xw))}},s.qi=function(e){var t,r,i,c,o;switch(e.G==-1&&(e.G=(r=ds(e),r?va(r.ti(),e):-1)),e.G){case 0:return t=new KQ,t;case 1:return i=new hjn,i;case 2:return c=new qOn,c;case 3:return o=new zOn,o;default:throw S(new Zn(qU+e.zb+xw))}},s.ri=function(e,t){var r,i,c,o,f,l,a,d,b,p,v,y,j,T,O,L;switch(e.gk()){case 5:case 52:case 4:return t;case 6:return rCe(t);case 8:case 7:return t==null?null:BAe(t);case 9:return t==null?null:hj(ms((i=yu(t,!0),i.length>0&&(se(0,i.length),i.charCodeAt(0)==43)?(se(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 10:return t==null?null:hj(ms((c=yu(t,!0),c.length>0&&(se(0,c.length),c.charCodeAt(0)==43)?(se(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return We(mw(this,(Ft(),awe),t));case 12:return We(mw(this,(Ft(),dwe),t));case 13:return t==null?null:new oY(yu(t,!0));case 15:case 14:return JNe(t);case 16:return We(mw(this,(Ft(),bwe),t));case 17:return Dzn((Ft(),t));case 18:return Dzn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return yu(t,!0);case 21:case 20:return cRe(t);case 22:return We(mw(this,(Ft(),wwe),t));case 23:return We(mw(this,(Ft(),gwe),t));case 24:return We(mw(this,(Ft(),pwe),t));case 25:return We(mw(this,(Ft(),mwe),t));case 26:return We(mw(this,(Ft(),vwe),t));case 27:return BOe(t);case 30:return Kzn((Ft(),t));case 31:return Kzn(t);case 32:return t==null?null:V(ms((b=yu(t,!0),b.length>0&&(se(0,b.length),b.charCodeAt(0)==43)?(se(1,b.length+1),b.substr(1)):b),Qr,wt));case 33:return t==null?null:new Za((p=yu(t,!0),p.length>0&&(se(0,p.length),p.charCodeAt(0)==43)?(se(1,p.length+1),p.substr(1)):p));case 34:return t==null?null:V(ms((v=yu(t,!0),v.length>0&&(se(0,v.length),v.charCodeAt(0)==43)?(se(1,v.length+1),v.substr(1)):v),Qr,wt));case 36:return t==null?null:S1(UP((y=yu(t,!0),y.length>0&&(se(0,y.length),y.charCodeAt(0)==43)?(se(1,y.length+1),y.substr(1)):y)));case 37:return t==null?null:S1(UP((j=yu(t,!0),j.length>0&&(se(0,j.length),j.charCodeAt(0)==43)?(se(1,j.length+1),j.substr(1)):j)));case 40:return KCe((Ft(),t));case 42:return Bzn((Ft(),t));case 43:return Bzn(t);case 44:return t==null?null:new Za((T=yu(t,!0),T.length>0&&(se(0,T.length),T.charCodeAt(0)==43)?(se(1,T.length+1),T.substr(1)):T));case 45:return t==null?null:new Za((O=yu(t,!0),O.length>0&&(se(0,O.length),O.charCodeAt(0)==43)?(se(1,O.length+1),O.substr(1)):O));case 46:return yu(t,!1);case 47:return We(mw(this,(Ft(),ywe),t));case 59:case 48:return DCe((Ft(),t));case 49:return We(mw(this,(Ft(),kwe),t));case 50:return t==null?null:m6(ms((L=yu(t,!0),L.length>0&&(se(0,L.length),L.charCodeAt(0)==43)?(se(1,L.length+1),L.substr(1)):L),JA,32767)<<16>>16);case 51:return t==null?null:m6(ms((o=yu(t,!0),o.length>0&&(se(0,o.length),o.charCodeAt(0)==43)?(se(1,o.length+1),o.substr(1)):o),JA,32767)<<16>>16);case 53:return We(mw(this,(Ft(),Iwe),t));case 55:return t==null?null:m6(ms((f=yu(t,!0),f.length>0&&(se(0,f.length),f.charCodeAt(0)==43)?(se(1,f.length+1),f.substr(1)):f),JA,32767)<<16>>16);case 56:return t==null?null:m6(ms((l=yu(t,!0),l.length>0&&(se(0,l.length),l.charCodeAt(0)==43)?(se(1,l.length+1),l.substr(1)):l),JA,32767)<<16>>16);case 57:return t==null?null:S1(UP((a=yu(t,!0),a.length>0&&(se(0,a.length),a.charCodeAt(0)==43)?(se(1,a.length+1),a.substr(1)):a)));case 58:return t==null?null:S1(UP((d=yu(t,!0),d.length>0&&(se(0,d.length),d.charCodeAt(0)==43)?(se(1,d.length+1),d.substr(1)):d)));case 60:return t==null?null:V(ms((r=yu(t,!0),r.length>0&&(se(0,r.length),r.charCodeAt(0)==43)?(se(1,r.length+1),r.substr(1)):r),Qr,wt));case 61:return t==null?null:V(ms(yu(t,!0),Qr,wt));default:throw S(new Zn(b8+e.ue()+xw))}};var Ewe,kmn,Twe,Imn,jkt=g(Nr,"XMLTypeFactoryImpl",2058);w(605,187,{110:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,54:1,101:1,162:1,187:1,119:1,120:1,702:1,2074:1,605:1},z$n),s.N=!1,s.O=!1;var Mwe=!1,Ekt=g(Nr,"XMLTypePackageImpl",605);w(1991,1,{862:1},ejn),s.Jk=function(){return Con(),Nwe};var Tkt=g(Nr,"XMLTypePackageImpl/1",1991);w(2000,1,gt,tjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Mkt=g(Nr,"XMLTypePackageImpl/10",2000);w(2001,1,gt,rjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var xkt=g(Nr,"XMLTypePackageImpl/11",2001);w(2002,1,gt,ijn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Skt=g(Nr,"XMLTypePackageImpl/12",2002);w(2003,1,gt,cjn),s.ek=function(e){return ug(e)},s.fk=function(e){return X(Cr,on,353,e,7,1)};var Okt=g(Nr,"XMLTypePackageImpl/13",2003);w(2004,1,gt,ujn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Ckt=g(Nr,"XMLTypePackageImpl/14",2004);w(2005,1,gt,ojn),s.ek=function(e){return R(e,16)},s.fk=function(e){return X(js,Jg,16,e,0,1)};var Pkt=g(Nr,"XMLTypePackageImpl/15",2005);w(2006,1,gt,sjn),s.ek=function(e){return R(e,16)},s.fk=function(e){return X(js,Jg,16,e,0,1)};var Akt=g(Nr,"XMLTypePackageImpl/16",2006);w(2007,1,gt,fjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Fkt=g(Nr,"XMLTypePackageImpl/17",2007);w(2008,1,gt,ljn),s.ek=function(e){return R(e,164)},s.fk=function(e){return X(I8,on,164,e,0,1)};var Lkt=g(Nr,"XMLTypePackageImpl/18",2008);w(2009,1,gt,ajn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Nkt=g(Nr,"XMLTypePackageImpl/19",2009);w(1992,1,gt,djn),s.ek=function(e){return R(e,868)},s.fk=function(e){return X(mM,Wn,868,e,0,1)};var Rkt=g(Nr,"XMLTypePackageImpl/2",1992);w(2010,1,gt,bjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var $kt=g(Nr,"XMLTypePackageImpl/20",2010);w(2011,1,gt,wjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Dkt=g(Nr,"XMLTypePackageImpl/21",2011);w(2012,1,gt,gjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Kkt=g(Nr,"XMLTypePackageImpl/22",2012);w(2013,1,gt,pjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Bkt=g(Nr,"XMLTypePackageImpl/23",2013);w(2014,1,gt,mjn),s.ek=function(e){return R(e,198)},s.fk=function(e){return X(yo,on,198,e,0,2)};var _kt=g(Nr,"XMLTypePackageImpl/24",2014);w(2015,1,gt,vjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Hkt=g(Nr,"XMLTypePackageImpl/25",2015);w(2016,1,gt,yjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Gkt=g(Nr,"XMLTypePackageImpl/26",2016);w(2017,1,gt,kjn),s.ek=function(e){return R(e,16)},s.fk=function(e){return X(js,Jg,16,e,0,1)};var Ukt=g(Nr,"XMLTypePackageImpl/27",2017);w(2018,1,gt,Ijn),s.ek=function(e){return R(e,16)},s.fk=function(e){return X(js,Jg,16,e,0,1)};var qkt=g(Nr,"XMLTypePackageImpl/28",2018);w(2019,1,gt,jjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var zkt=g(Nr,"XMLTypePackageImpl/29",2019);w(1993,1,gt,Ejn),s.ek=function(e){return R(e,693)},s.fk=function(e){return X(xN,Wn,2148,e,0,1)};var Xkt=g(Nr,"XMLTypePackageImpl/3",1993);w(2020,1,gt,Tjn),s.ek=function(e){return R(e,14)},s.fk=function(e){return X(Dr,on,14,e,0,1)};var Wkt=g(Nr,"XMLTypePackageImpl/30",2020);w(2021,1,gt,Mjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Jkt=g(Nr,"XMLTypePackageImpl/31",2021);w(2022,1,gt,xjn),s.ek=function(e){return R(e,173)},s.fk=function(e){return X(Ow,on,173,e,0,1)};var Vkt=g(Nr,"XMLTypePackageImpl/32",2022);w(2023,1,gt,Sjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Qkt=g(Nr,"XMLTypePackageImpl/33",2023);w(2024,1,gt,Ojn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Ykt=g(Nr,"XMLTypePackageImpl/34",2024);w(2025,1,gt,Cjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var Zkt=g(Nr,"XMLTypePackageImpl/35",2025);w(2026,1,gt,Pjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var nIt=g(Nr,"XMLTypePackageImpl/36",2026);w(2027,1,gt,Ajn),s.ek=function(e){return R(e,16)},s.fk=function(e){return X(js,Jg,16,e,0,1)};var eIt=g(Nr,"XMLTypePackageImpl/37",2027);w(2028,1,gt,Fjn),s.ek=function(e){return R(e,16)},s.fk=function(e){return X(js,Jg,16,e,0,1)};var tIt=g(Nr,"XMLTypePackageImpl/38",2028);w(2029,1,gt,Ljn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var rIt=g(Nr,"XMLTypePackageImpl/39",2029);w(1994,1,gt,Njn),s.ek=function(e){return R(e,694)},s.fk=function(e){return X(vM,Wn,2149,e,0,1)};var iIt=g(Nr,"XMLTypePackageImpl/4",1994);w(2030,1,gt,Rjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var cIt=g(Nr,"XMLTypePackageImpl/40",2030);w(2031,1,gt,$jn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var uIt=g(Nr,"XMLTypePackageImpl/41",2031);w(2032,1,gt,Djn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var oIt=g(Nr,"XMLTypePackageImpl/42",2032);w(2033,1,gt,Kjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var sIt=g(Nr,"XMLTypePackageImpl/43",2033);w(2034,1,gt,Bjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var fIt=g(Nr,"XMLTypePackageImpl/44",2034);w(2035,1,gt,_jn),s.ek=function(e){return R(e,193)},s.fk=function(e){return X(Cw,on,193,e,0,1)};var lIt=g(Nr,"XMLTypePackageImpl/45",2035);w(2036,1,gt,Hjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var hIt=g(Nr,"XMLTypePackageImpl/46",2036);w(2037,1,gt,Gjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var aIt=g(Nr,"XMLTypePackageImpl/47",2037);w(2038,1,gt,Ujn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var dIt=g(Nr,"XMLTypePackageImpl/48",2038);w(2039,1,gt,qjn),s.ek=function(e){return R(e,193)},s.fk=function(e){return X(Cw,on,193,e,0,1)};var bIt=g(Nr,"XMLTypePackageImpl/49",2039);w(1995,1,gt,zjn),s.ek=function(e){return R(e,695)},s.fk=function(e){return X(vmn,Wn,2150,e,0,1)};var wIt=g(Nr,"XMLTypePackageImpl/5",1995);w(2040,1,gt,Xjn),s.ek=function(e){return R(e,173)},s.fk=function(e){return X(Ow,on,173,e,0,1)};var gIt=g(Nr,"XMLTypePackageImpl/50",2040);w(2041,1,gt,Wjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var pIt=g(Nr,"XMLTypePackageImpl/51",2041);w(2042,1,gt,Jjn),s.ek=function(e){return R(e,14)},s.fk=function(e){return X(Dr,on,14,e,0,1)};var mIt=g(Nr,"XMLTypePackageImpl/52",2042);w(1996,1,gt,Vjn),s.ek=function(e){return ni(e)},s.fk=function(e){return X(pn,on,2,e,6,1)};var vIt=g(Nr,"XMLTypePackageImpl/6",1996);w(1997,1,gt,Qjn),s.ek=function(e){return R(e,198)},s.fk=function(e){return X(yo,on,198,e,0,2)};var yIt=g(Nr,"XMLTypePackageImpl/7",1997);w(1998,1,gt,Yjn),s.ek=function(e){return cg(e)},s.fk=function(e){return X(ur,on,492,e,8,1)};var kIt=g(Nr,"XMLTypePackageImpl/8",1998);w(1999,1,gt,Zjn),s.ek=function(e){return R(e,223)},s.fk=function(e){return X(k4,on,223,e,0,1)};var IIt=g(Nr,"XMLTypePackageImpl/9",1999),ch,_a,Ik,SN,F;w(55,63,P1,et);var jIt=g(xa,"RegEx/ParseException",55);w(847,1,{},HV),s.am=function(e){return e<this.j&&mi(this.i,e)==63},s.bm=function(){var e,t,r,i,c;if(this.c!=10)throw S(new et(ct((Ye(),_A))));switch(e=this.a,e){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(yt(this),this.c!=0)throw S(new et(ct((Ye(),Ma))));if(this.a==123){c=0,r=0;do{if(yt(this),this.c!=0)throw S(new et(ct((Ye(),Ma))));if((c=K0(this.a))<0)break;if(r>r*16)throw S(new et(ct((Ye(),bie))));r=r*16+c}while(!0);if(this.a!=125)throw S(new et(ct((Ye(),wie))));if(r>v8)throw S(new et(ct((Ye(),gie))));e=r}else{if(c=0,this.c!=0||(c=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(r=c,yt(this),this.c!=0||(c=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));r=r*16+c,e=r}break;case 117:if(i=0,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));t=t*16+i,e=t;break;case 118:if(yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,yt(this),this.c!=0||(i=K0(this.a))<0)throw S(new et(ct((Ye(),Ma))));if(t=t*16+i,t>v8)throw S(new et(ct((Ye(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw S(new et(ct((Ye(),pie))))}return e},s.cm=function(e){var t,r;switch(e){case 100:r=(this.e&32)==32?Id("Nd",!0):(kt(),ON);break;case 68:r=(this.e&32)==32?Id("Nd",!1):(kt(),Smn);break;case 119:r=(this.e&32)==32?Id("IsWord",!0):(kt(),u5);break;case 87:r=(this.e&32)==32?Id("IsWord",!1):(kt(),Cmn);break;case 115:r=(this.e&32)==32?Id("IsSpace",!0):(kt(),Q4);break;case 83:r=(this.e&32)==32?Id("IsSpace",!1):(kt(),Omn);break;default:throw S(new Ic((t=e,pce+t.toString(16))))}return r},s.dm=function(e){var t,r,i,c,o,f,l,a,d,b,p,v;if(this.b=1,yt(this),t=null,this.c==0&&this.a==94)if(yt(this),e)b=(kt(),kt(),++dr,new ls(5));else t=(kt(),kt(),++dr,new ls(4)),vu(t,0,v8),b=(++dr,new ls(4));else b=(kt(),kt(),++dr,new ls(4));c=!0;while((v=this.c)!=1){if(v==0&&this.a==93&&!c)break;if(c=!1,r=this.a,i=!1,v==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Gg(b,this.cm(r)),i=!0;break;case 105:case 73:case 99:case 67:r=this.tm(b,r),r<0&&(i=!0);break;case 112:case 80:if(p=jun(this,r),!p)throw S(new et(ct((Ye(),cq))));Gg(b,p),i=!0;break;default:r=this.bm()}else if(v==20){if(f=Lv(this.i,58,this.d),f<0)throw S(new et(ct((Ye(),Fhn))));if(l=!0,mi(this.i,this.d)==94)++this.d,l=!1;if(o=ss(this.i,this.d,f),a=tHn(o,l,(this.e&512)==512),!a)throw S(new et(ct((Ye(),fie))));if(Gg(b,a),i=!0,f+1>=this.j||mi(this.i,f+1)!=93)throw S(new et(ct((Ye(),Fhn))));this.d=f+2}if(yt(this),!i)if(this.c!=0||this.a!=45)vu(b,r,r);else{if(yt(this),(v=this.c)==1)throw S(new et(ct((Ye(),HA))));if(v==0&&this.a==93)vu(b,r,r),vu(b,45,45);else d=this.a,v==10&&(d=this.bm()),yt(this),vu(b,r,d)}(this.e&Gf)==Gf&&this.c==0&&this.a==44&&yt(this)}if(this.c==1)throw S(new et(ct((Ye(),HA))));if(t)T7(t,b),b=t;return Gp(b),j7(b),this.b=0,yt(this),b},s.em=function(){var e,t,r,i;r=this.dm(!1);while((i=this.c)!=7)if(e=this.a,i==0&&(e==45||e==38)||i==4){if(yt(this),this.c!=9)throw S(new et(ct((Ye(),hie))));if(t=this.dm(!1),i==4)Gg(r,t);else if(e==45)T7(r,t);else if(e==38)BZn(r,t);else throw S(new Ic("ASSERT"))}else throw S(new et(ct((Ye(),aie))));return yt(this),r},s.fm=function(){var e,t;return e=this.a-48,t=(kt(),kt(),++dr,new VD(12,null,e)),!this.g&&(this.g=new kx),yx(this.g,new EQ(e)),yt(this),t},s.gm=function(){return yt(this),kt(),Owe},s.hm=function(){return yt(this),kt(),Swe},s.im=function(){throw S(new et(ct((Ye(),qs))))},s.jm=function(){throw S(new et(ct((Ye(),qs))))},s.km=function(){return yt(this),sxe()},s.lm=function(){return yt(this),kt(),Pwe},s.mm=function(){return yt(this),kt(),Fwe},s.nm=function(){var e;if(this.d>=this.j||((e=mi(this.i,this.d++))&65504)!=64)throw S(new et(ct((Ye(),uie))));return yt(this),kt(),kt(),++dr,new Rh(0,e-64)},s.om=function(){return yt(this),r_e()},s.pm=function(){return yt(this),kt(),Lwe},s.qm=function(){var e=(kt(),kt(),++dr,new Rh(0,105));return yt(this),e},s.rm=function(){return yt(this),kt(),Awe},s.sm=function(){return yt(this),kt(),Cwe},s.tm=function(e,t){return this.bm()},s.um=function(){return yt(this),kt(),Mmn},s.vm=function(){var e,t,r,i,c;if(this.d+1>=this.j)throw S(new et(ct((Ye(),rie))));if(i=-1,t=null,e=mi(this.i,this.d),49<=e&&e<=57){if(i=e-48,!this.g&&(this.g=new kx),yx(this.g,new EQ(i)),++this.d,mi(this.i,this.d)!=41)throw S(new et(ct((Ye(),Z0))));++this.d}else switch(e==63&&--this.d,yt(this),t=esn(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw S(new et(ct((Ye(),Z0))));break;default:throw S(new et(ct((Ye(),iie))))}if(yt(this),c=lw(this),r=null,c.e==2){if(c.Om()!=2)throw S(new et(ct((Ye(),cie))));r=c.Km(1),c=c.Km(0)}if(this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),kt(),kt(),++dr,new qHn(i,t,c,r)},s.wm=function(){return yt(this),kt(),xmn},s.xm=function(){var e;if(yt(this),e=oO(24,lw(this)),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.ym=function(){var e;if(yt(this),e=oO(20,lw(this)),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.zm=function(){var e;if(yt(this),e=oO(22,lw(this)),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.Am=function(){var e,t,r,i,c;e=0,r=0,t=-1;while(this.d<this.j){if(t=mi(this.i,this.d),c=Oun(t),c==0)break;e|=c,++this.d}if(this.d>=this.j)throw S(new et(ct((Ye(),Phn))));if(t==45){++this.d;while(this.d<this.j){if(t=mi(this.i,this.d),c=Oun(t),c==0)break;r|=c,++this.d}if(this.d>=this.j)throw S(new et(ct((Ye(),Phn))))}if(t==58){if(++this.d,yt(this),i=I$n(lw(this),e,r),this.c!=7)throw S(new et(ct((Ye(),Z0))));yt(this)}else if(t==41)++this.d,yt(this),i=I$n(lw(this),e,r);else throw S(new et(ct((Ye(),tie))));return i},s.Bm=function(){var e;if(yt(this),e=oO(21,lw(this)),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.Cm=function(){var e;if(yt(this),e=oO(23,lw(this)),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.Dm=function(){var e,t;if(yt(this),e=this.f++,t=SD(lw(this),e),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),t},s.Em=function(){var e;if(yt(this),e=SD(lw(this),0),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.Fm=function(e){if(yt(this),this.c==5)return yt(this),ZS(e,(kt(),kt(),++dr,new kg(9,e)));else return ZS(e,(kt(),kt(),++dr,new kg(3,e)))},s.Gm=function(e){var t;if(yt(this),t=(kt(),kt(),++dr,new r9(2)),this.c==5)yt(this),H0(t,Ek),H0(t,e);else H0(t,e),H0(t,Ek);return t},s.Hm=function(e){if(yt(this),this.c==5)return yt(this),kt(),kt(),++dr,new kg(9,e);else return kt(),kt(),++dr,new kg(3,e)},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0;var EIt=g(xa,"RegEx/RegexParser",847);w(1978,847,{},XOn),s.am=function(e){return!1},s.bm=function(){return son(this)},s.cm=function(e){return K6(e)},s.dm=function(e){return Nne(this)},s.em=function(){throw S(new et(ct((Ye(),qs))))},s.fm=function(){throw S(new et(ct((Ye(),qs))))},s.gm=function(){throw S(new et(ct((Ye(),qs))))},s.hm=function(){throw S(new et(ct((Ye(),qs))))},s.im=function(){return yt(this),K6(67)},s.jm=function(){return yt(this),K6(73)},s.km=function(){throw S(new et(ct((Ye(),qs))))},s.lm=function(){throw S(new et(ct((Ye(),qs))))},s.mm=function(){throw S(new et(ct((Ye(),qs))))},s.nm=function(){return yt(this),K6(99)},s.om=function(){throw S(new et(ct((Ye(),qs))))},s.pm=function(){throw S(new et(ct((Ye(),qs))))},s.qm=function(){return yt(this),K6(105)},s.rm=function(){throw S(new et(ct((Ye(),qs))))},s.sm=function(){throw S(new et(ct((Ye(),qs))))},s.tm=function(e,t){return Gg(e,K6(t)),-1},s.um=function(){return yt(this),kt(),kt(),++dr,new Rh(0,94)},s.vm=function(){throw S(new et(ct((Ye(),qs))))},s.wm=function(){return yt(this),kt(),kt(),++dr,new Rh(0,36)},s.xm=function(){throw S(new et(ct((Ye(),qs))))},s.ym=function(){throw S(new et(ct((Ye(),qs))))},s.zm=function(){throw S(new et(ct((Ye(),qs))))},s.Am=function(){throw S(new et(ct((Ye(),qs))))},s.Bm=function(){throw S(new et(ct((Ye(),qs))))},s.Cm=function(){throw S(new et(ct((Ye(),qs))))},s.Dm=function(){var e;if(yt(this),e=SD(lw(this),0),this.c!=7)throw S(new et(ct((Ye(),Z0))));return yt(this),e},s.Em=function(){throw S(new et(ct((Ye(),qs))))},s.Fm=function(e){return yt(this),ZS(e,(kt(),kt(),++dr,new kg(3,e)))},s.Gm=function(e){var t;return yt(this),t=(kt(),kt(),++dr,new r9(2)),H0(t,e),H0(t,Ek),t},s.Hm=function(e){return yt(this),kt(),kt(),++dr,new kg(3,e)};var _m=null,i5=null,TIt=g(xa,"RegEx/ParserForXMLSchema",1978);w(123,1,y8,Ob),s.Im=function(e){throw S(new Ic("Not supported."))},s.Jm=function(){return-1},s.Km=function(e){return null},s.Lm=function(){return null},s.Mm=function(e){},s.Nm=function(e){},s.Om=function(){return 0},s.Ib=function(){return this.Pm(0)},s.Pm=function(e){return this.e==11?".":""},s.e=0;var jmn,c5,jk,xwe,Emn,K2=null,ON,PJ=null,Tmn,Ek,AJ=null,Mmn,xmn,Smn,Omn,Cmn,Swe,Q4,Owe,Cwe,Pwe,Awe,u5,Fwe,Lwe,dr=0,Eze=g(xa,"RegEx/Token",123);w(143,123,{3:1,143:1,123:1},ls),s.Pm=function(e){var t,r,i;if(this.e==4)if(this==Tmn)r=".";else if(this==ON)r="\\\\d";else if(this==u5)r="\\\\w";else if(this==Q4)r="\\\\s";else{i=new Z1,i.a+="[";for(t=0;t<this.b.length;t+=2)if((e&Gf)!=0&&t>0&&(i.a+=","),this.b[t]===this.b[t+1])zi(i,bE(this.b[t]));else zi(i,bE(this.b[t])),i.a+="-",zi(i,bE(this.b[t+1]));i.a+="]",r=i.a}else if(this==Smn)r="\\\\D";else if(this==Cmn)r="\\\\W";else if(this==Omn)r="\\\\S";else{i=new Z1,i.a+="[^";for(t=0;t<this.b.length;t+=2)if((e&Gf)!=0&&t>0&&(i.a+=","),this.b[t]===this.b[t+1])zi(i,bE(this.b[t]));else zi(i,bE(this.b[t])),i.a+="-",zi(i,bE(this.b[t+1]));i.a+="]",r=i.a}return r},s.a=!1,s.c=!1;var MIt=g(xa,"RegEx/RangeToken",143);w(603,1,{603:1},EQ),s.a=0;var xIt=g(xa,"RegEx/RegexParser/ReferencePosition",603);w(602,1,{3:1,602:1},LPn),s.Fb=function(e){var t;if(e==null)return!1;if(!R(e,602))return!1;return t=u(e,602),Gn(this.b,t.b)&&this.a==t.a},s.Hb=function(){return da(this.b+"/"+non(this.a))},s.Ib=function(){return this.c.Pm(this.a)},s.a=0;var SIt=g(xa,"RegEx/RegularExpression",602);w(229,123,y8,Rh),s.Jm=function(){return this.a},s.Pm=function(e){var t,r,i;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:i="\\\\"+iD(this.a&Lr);break;case 12:i="\\\\f";break;case 10:i="\\\\n";break;case 13:i="\\\\r";break;case 9:i="\\\\t";break;case 27:i="\\\\e";break;default:if(this.a>=Fi)r=(t=this.a>>>0,"0"+t.toString(16)),i="\\\\v"+ss(r,r.length-6,r.length);else i=""+iD(this.a&Lr)}break;case 8:this==Mmn||this==xmn?i=""+iD(this.a&Lr):i="\\\\"+iD(this.a&Lr);break;default:i=null}return i},s.a=0;var OIt=g(xa,"RegEx/Token/CharToken",229);w(326,123,y8,kg),s.Km=function(e){return this.a},s.Mm=function(e){this.b=e},s.Nm=function(e){this.c=e},s.Om=function(){return 1},s.Pm=function(e){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Pm(e)+"*";else if(this.c==this.b)t=this.a.Pm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Pm(e)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Pm(e)+"{"+this.c+",}";else throw S(new Ic("Token#toString(): CLOSURE "+this.c+Ci+this.b));else if(this.c<0&&this.b<0)t=this.a.Pm(e)+"*?";else if(this.c==this.b)t=this.a.Pm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Pm(e)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Pm(e)+"{"+this.c+",}?";else throw S(new Ic("Token#toString(): NONGREEDYCLOSURE "+this.c+Ci+this.b));return t},s.b=0,s.c=0;var CIt=g(xa,"RegEx/Token/ClosureToken",326);w(848,123,y8,den),s.Km=function(e){return e==0?this.a:this.b},s.Om=function(){return 2},s.Pm=function(e){var t;return this.b.e==3&&this.b.Km(0)==this.a?t=this.a.Pm(e)+"+":this.b.e==9&&this.b.Km(0)==this.a?t=this.a.Pm(e)+"+?":t=this.a.Pm(e)+(""+this.b.Pm(e)),t};var PIt=g(xa,"RegEx/Token/ConcatToken",848);w(1976,123,y8,qHn),s.Km=function(e){if(e==0)return this.d;if(e==1)return this.b;throw S(new Ic("Internal Error: "+e))},s.Om=function(){return!this.b?1:2},s.Pm=function(e){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,!this.b?t+=this.d+")":t+=this.d+"|"+this.b+")",t},s.c=0;var AIt=g(xa,"RegEx/Token/ConditionToken",1976);w(1977,123,y8,MKn),s.Km=function(e){return this.b},s.Om=function(){return 1},s.Pm=function(e){return"(?"+(this.a==0?"":non(this.a))+(this.c==0?"":non(this.c))+":"+this.b.Pm(e)+")"},s.a=0,s.c=0;var FIt=g(xa,"RegEx/Token/ModifierToken",1977);w(849,123,y8,Ien),s.Km=function(e){return this.a},s.Om=function(){return 1},s.Pm=function(e){var t=null;switch(this.e){case 6:this.b==0?t="(?:"+this.a.Pm(e)+")":t="("+this.a.Pm(e)+")";break;case 20:t="(?="+this.a.Pm(e)+")";break;case 21:t="(?!"+this.a.Pm(e)+")";break;case 22:t="(?<="+this.a.Pm(e)+")";break;case 23:t="(?<!"+this.a.Pm(e)+")";break;case 24:t="(?>"+this.a.Pm(e)+")"}return t},s.b=0;var LIt=g(xa,"RegEx/Token/ParenToken",849);w(537,123,{3:1,123:1,537:1},VD),s.Lm=function(){return this.b},s.Pm=function(e){return this.e==12?"\\\\"+this.a:e$e(this.b)},s.a=0;var NIt=g(xa,"RegEx/Token/StringToken",537);w(484,123,y8,r9),s.Im=function(e){H0(this,e)},s.Km=function(e){return u(Jb(this.a,e),123)},s.Om=function(){return!this.a?0:this.a.a.c.length},s.Pm=function(e){var t,r,i,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Jb(this.a,0),123),r=u(Jb(this.a,1),123),r.e==3&&r.Km(0)==t?c=t.Pm(e)+"+":r.e==9&&r.Km(0)==t?c=t.Pm(e)+"+?":c=t.Pm(e)+(""+r.Pm(e));else{o=new Z1;for(i=0;i<this.a.a.c.length;i++)zi(o,u(Jb(this.a,i),123).Pm(e));c=o.a}return c}if(this.a.a.c.length==2&&u(Jb(this.a,1),123).e==7)c=u(Jb(this.a,0),123).Pm(e)+"?";else if(this.a.a.c.length==2&&u(Jb(this.a,0),123).e==7)c=u(Jb(this.a,1),123).Pm(e)+"??";else{o=new Z1,zi(o,u(Jb(this.a,0),123).Pm(e));for(i=1;i<this.a.a.c.length;i++)o.a+="|",zi(o,u(Jb(this.a,i),123).Pm(e));c=o.a}return c};var RIt=g(xa,"RegEx/Token/UnionToken",484);w(534,1,{611:1},iI),s.Ib=function(){return this.a.b};var $It=g(kce,"XMLTypeUtil/PatternMatcherImpl",534);w(1741,1554,{},nEn);var Nwe,DIt=g(kce,"XMLTypeValidator",1741);w(277,1,zh,p0),s.Jc=function(e){hi(this,e)},s.Kc=function(){return(this.b-this.a)*this.c<0?Yd:new nd(this)},s.a=0,s.b=0,s.c=0;var Yd,KIt=g(Yhn,"ExclusiveRange",277);w(1112,1,qh,eEn),s.Rb=function(e){u(e,14),_4e()},s.Nb=function(e){wi(this,e)},s.Pb=function(){return F3e()},s.Ub=function(){return L3e()},s.Wb=function(e){u(e,14),G4e()},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Tb=function(){return-1},s.Vb=function(){return-1},s.Qb=function(){throw S(new Q1(Ece))};var BIt=g(Yhn,"ExclusiveRange/1",1112);w(261,1,qh,nd),s.Rb=function(e){u(e,14),H4e()},s.Nb=function(e){wi(this,e)},s.Pb=function(){return Oxe(this)},s.Ub=function(){return vEe(this)},s.Wb=function(e){u(e,14),U4e()},s.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw S(new Q1(Ece))},s.a=0,s.b=0;var _It=g(Yhn,"ExclusiveRange/RangeIterator",261),Vs=Gv(GA,"C"),qe=Gv(Z7,"I"),io=Gv(s4,"Z"),Zd=Gv(ny,"J"),yo=Gv(V7,"B"),ii=Gv(Q7,"D"),B2=Gv(Y7,"F"),Hm=Gv(ey,"S"),Tze=ir("org.eclipse.elk.core.labels","ILabelManager"),Pmn=ir(Pi,"DiagnosticChain"),Amn=ir(Yie,"ResourceSet"),Fmn=g(Pi,"InvocationTargetException",null),Rwe=UIe,Mze=EAe;bTe(Ome),DTe("permProps",[[["locale","default"],[Tce,"gecko1_8"]],[["locale","default"],[Tce,"safari"]]]),Mze(null,"elk",null)}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(A,H,fn){function On(Lt){return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},On(Lt)}function k(Lt,ve){for(var Ut=0;Ut<ve.length;Ut++){var yr=ve[Ut];yr.enumerable=yr.enumerable||!1,yr.configurable=!0,"value"in yr&&(yr.writable=!0),Object.defineProperty(Lt,at(yr.key),yr)}}function Le(Lt,ve,Ut){return ve&&k(Lt.prototype,ve),Ut&&k(Lt,Ut),Object.defineProperty(Lt,"prototype",{writable:!1}),Lt}function at(Lt){var ve=Oe(Lt,"string");return On(ve)=="symbol"?ve:ve+""}function Oe(Lt,ve){if(On(Lt)!="object"||!Lt)return Lt;var Ut=Lt[Symbol.toPrimitive];if(Ut!==void 0){var yr=Ut.call(Lt,ve||"default");if(On(yr)!="object")return yr;throw TypeError("@@toPrimitive must return a primitive value.")}return(ve==="string"?String:Number)(Lt)}function Zr(Lt,ve){if(!(Lt instanceof ve))throw TypeError("Cannot call a class as a function")}function Re(Lt,ve,Ut){return ve=gn(ve),ae(Lt,Ue()?Reflect.construct(ve,Ut||[],gn(Lt).constructor):ve.apply(Lt,Ut))}function ae(Lt,ve){if(ve&&(On(ve)=="object"||typeof ve=="function"))return ve;if(ve!==void 0)throw TypeError("Derived constructors may only return object or undefined");return be(Lt)}function be(Lt){if(Lt===void 0)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return Lt}function Ue(){try{var Lt=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(ve){}return(Ue=function(){return!!Lt})()}function gn(Lt){return gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ve){return ve.__proto__||Object.getPrototypeOf(ve)},gn(Lt)}function At(Lt,ve){if(typeof ve!="function"&&ve!==null)throw TypeError("Super expression must either be null or a function");Lt.prototype=Object.create(ve&&ve.prototype,{constructor:{value:Lt,writable:!0,configurable:!0}}),Object.defineProperty(Lt,"prototype",{writable:!1}),ve&&Xr(Lt,ve)}function Xr(Lt,ve){return Xr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ut,yr){return Ut.__proto__=yr,Ut},Xr(Lt,ve)}var pr=A("./elk-api.js").default,Ii=function(Lt){function ve(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Zr(this,ve);var yr=Object.assign({},Ut),ru=!1;try{A.resolve("web-worker"),ru=!0}catch(us){}if(Ut.workerUrl)if(ru){var yc=A("web-worker");yr.workerFactory=function(us){return new yc(us)}}else console.warn(\`Web worker requested but 'web-worker' package not installed.
27
27
  Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
28
- ... Falling back to non-web worker version.\`);if(!yr.workerFactory){var cs=A("./elk-worker.min.js"),Cs=cs.Worker;yr.workerFactory=function(us){return new Cs(us)}}return Re(this,ve,[yr])}return At(ve,Lt),Le(ve)}(pr);Object.defineProperty(H.exports,"__esModule",{value:!0}),H.exports=Ii,Ii.default=Ii},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(A,H,fn){var On=typeof Worker<"u"?Worker:void 0;H.exports=On},{}]},{},[3])(3)})});var Kwe={name:"@standarx/graph",version:"1.0.0",type:"module",license:"MIT",description:"Declarative graph and diagram rendering",keywords:["graph","diagram","svg","webgl","elk","sequence-diagram","visualization","cli","remark"],homepage:"https://github.com/miralabs-tech/standargraph#readme",bugs:{url:"https://github.com/miralabs-tech/standargraph/issues"},repository:{type:"git",url:"git+https://github.com/miralabs-tech/standargraph.git"},bin:{standargraph:"dist/cli.js"},exports:{"./core":{types:"./dist/core/index.d.ts",import:"./dist/core/index.js"},"./format":{types:"./dist/format/index.d.ts",import:"./dist/format/index.js"},"./layout":{types:"./dist/layout/index.d.ts",import:"./dist/layout/index.js"},"./svg":{types:"./dist/svg/index.d.ts",import:"./dist/svg/index.js"},"./html":{types:"./dist/html/index.d.ts",import:"./dist/html/index.js"},"./export":{types:"./dist/export/index.d.ts",import:"./dist/export/index.js"},"./webgl":{types:"./dist/webgl/index.d.ts",import:"./dist/webgl/index.js"},"./remark":{types:"./dist/remark/index.d.ts",import:"./dist/remark/index.js"},"./mermaid":{types:"./dist/mermaid/index.d.ts",import:"./dist/mermaid/index.js"},"./text":{types:"./dist/text/index.d.ts",import:"./dist/text/index.js"},"./language":{types:"./dist/language/index.d.ts",import:"./dist/language/index.js"},"./schema/graph-document.v1.json":"./schema/graph-document.v1.json","./grammars/standargraph.tmLanguage.json":"./grammars/standargraph.tmLanguage.json","./language-configuration.json":"./language-configuration.json","./package.json":"./package.json"},files:["dist","schema","grammars","language-configuration.json","assets","licenses","THIRD_PARTY_NOTICES.md"],engines:{node:">=20"},scripts:{build:"bun scripts/clean.ts && bun build src/cli.ts src/core/index.ts src/format/index.ts src/layout/index.ts src/svg/index.ts src/webgl/index.ts src/remark/index.ts src/html/index.ts src/export/index.ts src/text/index.ts src/language/index.ts src/mermaid/index.ts --root src --outdir dist --splitting --target node --format esm --packages external && tsc -p tsconfig.build.json",typecheck:"tsc --noEmit",schema:"bun scripts/schema.ts",metrics:"bun scripts/font-metrics.ts",runtime:"bun scripts/build-runtime.ts",generate:"bun scripts/generate.ts",bench:"bun bench/run.ts",test:"bun test",prepublishOnly:"bun run typecheck && bun test && bun run build",smoke:"bun tools/smoke.ts",site:"bun scripts/site.ts","test:browser":"bun test --config=bunfig.browser.toml tests/browser"},devDependencies:{"@types/bun":"^1.4.4","@types/mdast":"^4.0.4","@types/node":"^26.6.6","@types/opentype.js":"^1.3.10","@types/pdfkit":"^0.17.7","opentype.js":"^2.0.0","playwright-core":"^1.65.1","rehype-raw":"^7.0.0","rehype-stringify":"^10.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2",typescript:"^7.0.2",unified:"^11.0.5","vscode-oniguruma":"^2.0.1","vscode-textmate":"^9.3.2"},dependencies:{"@resvg/resvg-wasm":"^2.6.2","@sinclair/typebox":"^0.34.52",elkjs:"^0.12.1",graphology:"^0.26.0",pdfkit:"^0.20.2",sigma:"^4.0.6","svg-to-pdfkit":"^0.1.8"},publishConfig:{access:"public",provenance:!0}};var Bwe=Kwe.version;function _we(h){return ts(h)&&!Sl(h)&&!s5(h)&&Symbol.asyncIterator in h}function Sl(h){return Array.isArray(h)}function NJ(h){return typeof h==="bigint"}function o5(h){return typeof h==="boolean"}function IM(h){return h instanceof globalThis.Date}function Hwe(h){return typeof h==="function"}function Gwe(h){return ts(h)&&!Sl(h)&&!s5(h)&&Symbol.iterator in h}function Uwe(h){return h===null}function kb(h){return typeof h==="number"}function ts(h){return typeof h==="object"&&h!==null}function RJ(h){return h instanceof globalThis.RegExp}function Ho(h){return typeof h==="string"}function qwe(h){return typeof h==="symbol"}function s5(h){return h instanceof globalThis.Uint8Array}function Go(h){return h===void 0}function Kze(h){return h.map((m)=>$J(m))}function Bze(h){return new Date(h.getTime())}function _ze(h){return new Uint8Array(h)}function Hze(h){return new RegExp(h.source,h.flags)}function Gze(h){let m={};for(let E of Object.getOwnPropertyNames(h))m[E]=$J(h[E]);for(let E of Object.getOwnPropertySymbols(h))m[E]=$J(h[E]);return m}function $J(h){return Sl(h)?Kze(h):IM(h)?Bze(h):s5(h)?_ze(h):RJ(h)?Hze(h):ts(h)?Gze(h):h}function rs(h){return $J(h)}function jM(h,m){return m===void 0?rs(h):rs({...m,...h})}function DJ(h){return MM(h)&&globalThis.Symbol.asyncIterator in h}function KJ(h){return MM(h)&&globalThis.Symbol.iterator in h}function BJ(h){return h instanceof globalThis.Promise}function EM(h){return h instanceof Date&&globalThis.Number.isFinite(h.getTime())}function TM(h){return h instanceof globalThis.Uint8Array}function MM(h){return h!==null&&typeof h==="object"}function Um(h){return globalThis.Array.isArray(h)&&!globalThis.ArrayBuffer.isView(h)}function f5(h){return h===void 0}function xM(h){return h===null}function SM(h){return typeof h==="boolean"}function Ww(h){return typeof h==="number"}function _J(h){return globalThis.Number.isInteger(h)}function OM(h){return typeof h==="bigint"}function Ib(h){return typeof h==="string"}function HJ(h){return typeof h==="function"}function CM(h){return typeof h==="symbol"}var z1;(function(h){h.InstanceMode="default",h.ExactOptionalPropertyTypes=!1,h.AllowArrayObject=!1,h.AllowNaN=!1,h.AllowNullVoid=!1;function m(On,k){return h.ExactOptionalPropertyTypes?k in On:On[k]!==void 0}h.IsExactOptionalProperty=m;function E(On){let k=MM(On);return h.AllowArrayObject?k:k&&!Um(On)}h.IsObjectLike=E;function A(On){return E(On)&&!(On instanceof Date)&&!(On instanceof Uint8Array)}h.IsRecordLike=A;function H(On){return h.AllowNaN?Ww(On):Number.isFinite(On)}h.IsNumberLike=H;function fn(On){let k=f5(On);return h.AllowNullVoid?k||On===null:k}h.IsVoidLike=fn})(z1||(z1={}));function Uze(h){return globalThis.Object.freeze(h).map((m)=>CN(m))}function qze(h){return h}function zze(h){return h}function Xze(h){return h}function Wze(h){let m={};for(let E of Object.getOwnPropertyNames(h))m[E]=CN(h[E]);for(let E of Object.getOwnPropertySymbols(h))m[E]=CN(h[E]);return globalThis.Object.freeze(m)}function CN(h){return Sl(h)?Uze(h):IM(h)?qze(h):s5(h)?zze(h):RJ(h)?Xze(h):ts(h)?Wze(h):h}function ye(h,m){let E=m!==void 0?{...m,...h}:h;switch(z1.InstanceMode){case"freeze":return CN(E);case"clone":return rs(E);default:return E}}class Ys extends Error{constructor(h){super(h)}}var Ol=Symbol.for("TypeBox.Transform"),qm=Symbol.for("TypeBox.Readonly"),u1=Symbol.for("TypeBox.Optional"),zm=Symbol.for("TypeBox.Hint"),Fe=Symbol.for("TypeBox.Kind");function PM(h){return ts(h)&&h[qm]==="Readonly"}function n0(h){return ts(h)&&h[u1]==="Optional"}function Rmn(h){return Uc(h,"Any")}function $mn(h){return Uc(h,"Argument")}function G2(h){return Uc(h,"Array")}function Ck(h){return Uc(h,"AsyncIterator")}function Pk(h){return Uc(h,"BigInt")}function ev(h){return Uc(h,"Boolean")}function U2(h){return Uc(h,"Computed")}function q2(h){return Uc(h,"Constructor")}function Jze(h){return Uc(h,"Date")}function z2(h){return Uc(h,"Function")}function X2(h){return Uc(h,"Integer")}function Zs(h){return Uc(h,"Intersect")}function Ak(h){return Uc(h,"Iterator")}function Uc(h,m){return ts(h)&&Fe in h&&h[Fe]===m}function GJ(h){return o5(h)||kb(h)||Ho(h)}function jb(h){return Uc(h,"Literal")}function Eb(h){return Uc(h,"MappedKey")}function is(h){return Uc(h,"MappedResult")}function l5(h){return Uc(h,"Never")}function Vze(h){return Uc(h,"Not")}function PN(h){return Uc(h,"Null")}function W2(h){return Uc(h,"Number")}function rl(h){return Uc(h,"Object")}function Fk(h){return Uc(h,"Promise")}function Lk(h){return Uc(h,"Record")}function Tf(h){return Uc(h,"Ref")}function Dmn(h){return Uc(h,"RegExp")}function tv(h){return Uc(h,"String")}function AN(h){return Uc(h,"Symbol")}function Tb(h){return Uc(h,"TemplateLiteral")}function Qze(h){return Uc(h,"This")}function h5(h){return ts(h)&&Ol in h}function Mb(h){return Uc(h,"Tuple")}function FN(h){return Uc(h,"Undefined")}function Jc(h){return Uc(h,"Union")}function Yze(h){return Uc(h,"Uint8Array")}function Zze(h){return Uc(h,"Unknown")}function nXe(h){return Uc(h,"Unsafe")}function eXe(h){return Uc(h,"Void")}function tXe(h){return ts(h)&&Fe in h&&Ho(h[Fe])}function Ua(h){return Rmn(h)||$mn(h)||G2(h)||ev(h)||Pk(h)||Ck(h)||U2(h)||q2(h)||Jze(h)||z2(h)||X2(h)||Zs(h)||Ak(h)||jb(h)||Eb(h)||is(h)||l5(h)||Vze(h)||PN(h)||W2(h)||rl(h)||Fk(h)||Lk(h)||Tf(h)||Dmn(h)||tv(h)||AN(h)||Tb(h)||Qze(h)||Mb(h)||FN(h)||Jc(h)||Yze(h)||Zze(h)||nXe(h)||eXe(h)||tXe(h)}var rXe=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function zwe(h){try{return new RegExp(h),!0}catch{return!1}}function Kmn(h){if(!Ho(h))return!1;for(let m=0;m<h.length;m++){let E=h.charCodeAt(m);if(E>=7&&E<=13||E===27||E===127)return!1}return!0}function Xwe(h){return Bmn(h)||o1(h)}function LN(h){return Go(h)||NJ(h)}function Ao(h){return Go(h)||kb(h)}function Bmn(h){return Go(h)||o5(h)}function co(h){return Go(h)||Ho(h)}function iXe(h){return Go(h)||Ho(h)&&Kmn(h)&&zwe(h)}function cXe(h){return Go(h)||Ho(h)&&Kmn(h)}function Wwe(h){return Go(h)||o1(h)}function UJ(h){return ts(h)&&h[u1]==="Optional"}function J2(h){return qc(h,"Any")&&co(h.$id)}function uXe(h){return qc(h,"Argument")&&kb(h.index)}function Nk(h){return qc(h,"Array")&&h.type==="array"&&co(h.$id)&&o1(h.items)&&Ao(h.minItems)&&Ao(h.maxItems)&&Bmn(h.uniqueItems)&&Wwe(h.contains)&&Ao(h.minContains)&&Ao(h.maxContains)}function _mn(h){return qc(h,"AsyncIterator")&&h.type==="AsyncIterator"&&co(h.$id)&&o1(h.items)}function qJ(h){return qc(h,"BigInt")&&h.type==="bigint"&&co(h.$id)&&LN(h.exclusiveMaximum)&&LN(h.exclusiveMinimum)&&LN(h.maximum)&&LN(h.minimum)&&LN(h.multipleOf)}function Rk(h){return qc(h,"Boolean")&&h.type==="boolean"&&co(h.$id)}function oXe(h){return qc(h,"Computed")&&Ho(h.target)&&Sl(h.parameters)&&h.parameters.every((m)=>o1(m))}function zJ(h){return qc(h,"Constructor")&&h.type==="Constructor"&&co(h.$id)&&Sl(h.parameters)&&h.parameters.every((m)=>o1(m))&&o1(h.returns)}function XJ(h){return qc(h,"Date")&&h.type==="Date"&&co(h.$id)&&Ao(h.exclusiveMaximumTimestamp)&&Ao(h.exclusiveMinimumTimestamp)&&Ao(h.maximumTimestamp)&&Ao(h.minimumTimestamp)&&Ao(h.multipleOfTimestamp)}function WJ(h){return qc(h,"Function")&&h.type==="Function"&&co(h.$id)&&Sl(h.parameters)&&h.parameters.every((m)=>o1(m))&&o1(h.returns)}function iv(h){return qc(h,"Integer")&&h.type==="integer"&&co(h.$id)&&Ao(h.exclusiveMaximum)&&Ao(h.exclusiveMinimum)&&Ao(h.maximum)&&Ao(h.minimum)&&Ao(h.multipleOf)}function Jwe(h){return ts(h)&&Object.entries(h).every(([m,E])=>Kmn(m)&&o1(E))}function $k(h){return qc(h,"Intersect")&&(Ho(h.type)&&h.type!=="object"?!1:!0)&&Sl(h.allOf)&&h.allOf.every((m)=>o1(m)&&!dXe(m))&&co(h.type)&&(Bmn(h.unevaluatedProperties)||Wwe(h.unevaluatedProperties))&&co(h.$id)}function Hmn(h){return qc(h,"Iterator")&&h.type==="Iterator"&&co(h.$id)&&o1(h.items)}function qc(h,m){return ts(h)&&Fe in h&&h[Fe]===m}function Vwe(h){return a5(h)&&Ho(h.const)}function Qwe(h){return a5(h)&&kb(h.const)}function Ywe(h){return a5(h)&&o5(h.const)}function a5(h){return qc(h,"Literal")&&co(h.$id)&&sXe(h.const)}function sXe(h){return o5(h)||kb(h)||Ho(h)}function fXe(h){return qc(h,"MappedKey")&&Sl(h.keys)&&h.keys.every((m)=>kb(m)||Ho(m))}function lXe(h){return qc(h,"MappedResult")&&Jwe(h.properties)}function d5(h){return qc(h,"Never")&&ts(h.not)&&Object.getOwnPropertyNames(h.not).length===0}function AM(h){return qc(h,"Not")&&o1(h.not)}function Gmn(h){return qc(h,"Null")&&h.type==="null"&&co(h.$id)}function e0(h){return qc(h,"Number")&&h.type==="number"&&co(h.$id)&&Ao(h.exclusiveMaximum)&&Ao(h.exclusiveMinimum)&&Ao(h.maximum)&&Ao(h.minimum)&&Ao(h.multipleOf)}function nf(h){return qc(h,"Object")&&h.type==="object"&&co(h.$id)&&Jwe(h.properties)&&Xwe(h.additionalProperties)&&Ao(h.minProperties)&&Ao(h.maxProperties)}function Umn(h){return qc(h,"Promise")&&h.type==="Promise"&&co(h.$id)&&o1(h.item)}function s1(h){return qc(h,"Record")&&h.type==="object"&&co(h.$id)&&Xwe(h.additionalProperties)&&ts(h.patternProperties)&&((m)=>{let E=Object.getOwnPropertyNames(m.patternProperties);return E.length===1&&zwe(E[0])&&ts(m.patternProperties)&&o1(m.patternProperties[E[0]])})(h)}function hXe(h){return qc(h,"Ref")&&co(h.$id)&&Ho(h.$ref)}function NN(h){return qc(h,"RegExp")&&co(h.$id)&&Ho(h.source)&&Ho(h.flags)&&Ao(h.maxLength)&&Ao(h.minLength)}function V2(h){return qc(h,"String")&&h.type==="string"&&co(h.$id)&&Ao(h.minLength)&&Ao(h.maxLength)&&iXe(h.pattern)&&cXe(h.format)}function RN(h){return qc(h,"Symbol")&&h.type==="symbol"&&co(h.$id)}function $N(h){return qc(h,"TemplateLiteral")&&h.type==="string"&&Ho(h.pattern)&&h.pattern[0]==="^"&&h.pattern[h.pattern.length-1]==="$"}function aXe(h){return qc(h,"This")&&co(h.$id)&&Ho(h.$ref)}function dXe(h){return ts(h)&&Ol in h}function JJ(h){return qc(h,"Tuple")&&h.type==="array"&&co(h.$id)&&kb(h.minItems)&&kb(h.maxItems)&&h.minItems===h.maxItems&&(Go(h.items)&&Go(h.additionalItems)&&h.minItems===0||Sl(h.items)&&h.items.every((m)=>o1(m)))}function Dk(h){return qc(h,"Undefined")&&h.type==="undefined"&&co(h.$id)}function cv(h){return qc(h,"Union")&&co(h.$id)&&ts(h)&&Sl(h.anyOf)&&h.anyOf.every((m)=>o1(m))}function DN(h){return qc(h,"Uint8Array")&&h.type==="Uint8Array"&&co(h.$id)&&Ao(h.minByteLength)&&Ao(h.maxByteLength)}function Q2(h){return qc(h,"Unknown")&&co(h.$id)}function bXe(h){return qc(h,"Unsafe")}function VJ(h){return qc(h,"Void")&&h.type==="void"&&co(h.$id)}function wXe(h){return ts(h)&&Fe in h&&Ho(h[Fe])&&!rXe.includes(h[Fe])}function o1(h){return ts(h)&&(J2(h)||uXe(h)||Nk(h)||Rk(h)||qJ(h)||_mn(h)||oXe(h)||zJ(h)||XJ(h)||WJ(h)||iv(h)||$k(h)||Hmn(h)||a5(h)||fXe(h)||lXe(h)||d5(h)||AM(h)||Gmn(h)||e0(h)||nf(h)||Umn(h)||s1(h)||hXe(h)||NN(h)||V2(h)||RN(h)||$N(h)||aXe(h)||JJ(h)||Dk(h)||cv(h)||DN(h)||Q2(h)||bXe(h)||VJ(h)||wXe(h))}var nge="(true|false)",QJ="(0|[1-9][0-9]*)",ege="(.*)";var b5="^(0|[1-9][0-9]*)$",w5="^(.*)$",tge="^(?!.*)$";var qmn=new Map;function zmn(h){return qmn.has(h)}function gXe(h,m){qmn.set(h,m)}function rge(h){return qmn.get(h)}var ige=new Map;function Xmn(h){return ige.has(h)}function cge(h){return ige.get(h)}function uge(h,m){return h.includes(m)}function oge(h){return[...new Set(h)]}function pXe(h,m){return h.filter((E)=>m.includes(E))}function mXe(h,m){return h.reduce((E,A)=>pXe(E,A),m)}function sge(h){return h.length===1?h[0]:h.length>1?mXe(h.slice(1),h[0]):[]}function fge(h){let m=[];for(let E of h)m.push(...E);return m}function g5(h){return ye({[Fe]:"Any"},h)}function FM(h,m){return ye({[Fe]:"Array",type:"array",items:h},m)}function lge(h){return ye({[Fe]:"Argument",index:h})}function LM(h,m){return ye({[Fe]:"AsyncIterator",type:"AsyncIterator",items:h},m)}function Uo(h,m,E){return ye({[Fe]:"Computed",target:h,parameters:m},E)}function vXe(h,m){let{[m]:E,...A}=h;return A}function ef(h,m){return m.reduce((E,A)=>vXe(E,A),h)}function wc(h){return ye({[Fe]:"Never",not:{}},h)}function tu(h){return ye({[Fe]:"MappedResult",properties:h})}function NM(h,m,E){return ye({[Fe]:"Constructor",type:"Constructor",parameters:h,returns:m},E)}function Xm(h,m,E){return ye({[Fe]:"Function",type:"Function",parameters:h,returns:m},E)}function KN(h,m){return ye({[Fe]:"Union",anyOf:h},m)}function yXe(h){return h.some((m)=>n0(m))}function hge(h){return h.map((m)=>n0(m)?kXe(m):m)}function kXe(h){return ef(h,[u1])}function IXe(h,m){return yXe(h)?X1(KN(hge(h),m)):KN(hge(h),m)}function Wm(h,m){return h.length===1?ye(h[0],m):h.length===0?wc(m):IXe(h,m)}function Nu(h,m){return h.length===0?wc(m):h.length===1?ye(h[0],m):KN(h,m)}class Jmn extends Ys{}function jXe(h){return h.replace(/\\\\\\$/g,"$").replace(/\\\\\\*/g,"*").replace(/\\\\\\^/g,"^").replace(/\\\\\\|/g,"|").replace(/\\\\\\(/g,"(").replace(/\\\\\\)/g,")")}function Vmn(h,m,E){return h[m]===E&&h.charCodeAt(m-1)!==92}function uv(h,m){return Vmn(h,m,"(")}function BN(h,m){return Vmn(h,m,")")}function age(h,m){return Vmn(h,m,"|")}function EXe(h){if(!(uv(h,0)&&BN(h,h.length-1)))return!1;let m=0;for(let E=0;E<h.length;E++){if(uv(h,E))m+=1;if(BN(h,E))m-=1;if(m===0&&E!==h.length-1)return!1}return!0}function TXe(h){return h.slice(1,h.length-1)}function MXe(h){let m=0;for(let E=0;E<h.length;E++){if(uv(h,E))m+=1;if(BN(h,E))m-=1;if(age(h,E)&&m===0)return!0}return!1}function xXe(h){for(let m=0;m<h.length;m++)if(uv(h,m))return!0;return!1}function SXe(h){let[m,E]=[0,0],A=[];for(let fn=0;fn<h.length;fn++){if(uv(h,fn))m+=1;if(BN(h,fn))m-=1;if(age(h,fn)&&m===0){let On=h.slice(E,fn);if(On.length>0)A.push(RM(On));E=fn+1}}let H=h.slice(E);if(H.length>0)A.push(RM(H));if(A.length===0)return{type:"const",const:""};if(A.length===1)return A[0];return{type:"or",expr:A}}function OXe(h){function m(H,fn){if(!uv(H,fn))throw new Jmn("TemplateLiteralParser: Index must point to open parens");let On=0;for(let k=fn;k<H.length;k++){if(uv(H,k))On+=1;if(BN(H,k))On-=1;if(On===0)return[fn,k]}throw new Jmn("TemplateLiteralParser: Unclosed group parens in expression")}function E(H,fn){for(let On=fn;On<H.length;On++)if(uv(H,On))return[fn,On];return[fn,H.length]}let A=[];for(let H=0;H<h.length;H++)if(uv(h,H)){let[fn,On]=m(h,H),k=h.slice(fn,On+1);A.push(RM(k)),H=On}else{let[fn,On]=E(h,H),k=h.slice(fn,On);if(k.length>0)A.push(RM(k));H=On-1}return A.length===0?{type:"const",const:""}:A.length===1?A[0]:{type:"and",expr:A}}function RM(h){return EXe(h)?RM(TXe(h)):MXe(h)?SXe(h):xXe(h)?OXe(h):{type:"const",const:jXe(h)}}function $M(h){return RM(h.slice(1,h.length-1))}class dge extends Ys{}function CXe(h){return h.type==="or"&&h.expr.length===2&&h.expr[0].type==="const"&&h.expr[0].const==="0"&&h.expr[1].type==="const"&&h.expr[1].const==="[1-9][0-9]*"}function PXe(h){return h.type==="or"&&h.expr.length===2&&h.expr[0].type==="const"&&h.expr[0].const==="true"&&h.expr[1].type==="const"&&h.expr[1].const==="false"}function AXe(h){return h.type==="const"&&h.const===".*"}function Kk(h){return CXe(h)||AXe(h)?!1:PXe(h)?!0:h.type==="and"?h.expr.every((m)=>Kk(m)):h.type==="or"?h.expr.every((m)=>Kk(m)):h.type==="const"?!0:(()=>{throw new dge("Unknown expression type")})()}function bge(h){let m=$M(h.pattern);return Kk(m)}class wge extends Ys{}function*gge(h){if(h.length===1)return yield*h[0];for(let m of h[0])for(let E of gge(h.slice(1)))yield\`\${m}\${E}\`}function*FXe(h){return yield*gge(h.expr.map((m)=>[..._N(m)]))}function*LXe(h){for(let m of h.expr)yield*_N(m)}function*NXe(h){return yield h.const}function*_N(h){return h.type==="and"?yield*FXe(h):h.type==="or"?yield*LXe(h):h.type==="const"?yield*NXe(h):(()=>{throw new wge("Unknown expression")})()}function ZJ(h){let m=$M(h.pattern);return Kk(m)?[..._N(m)]:[]}function Tu(h,m){return ye({[Fe]:"Literal",const:h,type:typeof h},m)}function nV(h){return ye({[Fe]:"Boolean",type:"boolean"},h)}function DM(h){return ye({[Fe]:"BigInt",type:"bigint"},h)}function Jw(h){return ye({[Fe]:"Number",type:"number"},h)}function Y2(h){return ye({[Fe]:"String",type:"string"},h)}function*RXe(h){let m=h.trim().replace(/"|'/g,"");return m==="boolean"?yield nV():m==="number"?yield Jw():m==="bigint"?yield DM():m==="string"?yield Y2():yield(()=>{let E=m.split("|").map((A)=>Tu(A.trim()));return E.length===0?wc():E.length===1?E[0]:Wm(E)})()}function*$Xe(h){if(h[1]!=="{"){let m=Tu("$"),E=Qmn(h.slice(1));return yield*[m,...E]}for(let m=2;m<h.length;m++)if(h[m]==="}"){let E=RXe(h.slice(2,m)),A=Qmn(h.slice(m+1));return yield*[...E,...A]}yield Tu(h)}function*Qmn(h){for(let m=0;m<h.length;m++)if(h[m]==="$"){let E=Tu(h.slice(0,m)),A=$Xe(h.slice(m));return yield*[E,...A]}yield Tu(h)}function pge(h){return[...Qmn(h)]}class mge extends Ys{}function DXe(h){return h.replace(/[.*+?^\${}()|[\\]\\\\]/g,"\\\\$&")}function vge(h,m){return Tb(h)?h.pattern.slice(1,h.pattern.length-1):Jc(h)?\`(\${h.anyOf.map((E)=>vge(E,m)).join("|")})\`:W2(h)?\`\${m}\${QJ}\`:X2(h)?\`\${m}\${QJ}\`:Pk(h)?\`\${m}\${QJ}\`:tv(h)?\`\${m}\${ege}\`:jb(h)?\`\${m}\${DXe(h.const.toString())}\`:ev(h)?\`\${m}\${nge}\`:(()=>{throw new mge(\`Unexpected Kind '\${h[Fe]}'\`)})()}function Ymn(h){return\`^\${h.map((m)=>vge(m,"")).join("")}$\`}function Bk(h){let E=ZJ(h).map((A)=>Tu(A));return Wm(E)}function eV(h,m){let E=Ho(h)?Ymn(pge(h)):Ymn(h);return ye({[Fe]:"TemplateLiteral",type:"string",pattern:E},m)}function KXe(h){return ZJ(h).map((E)=>E.toString())}function BXe(h){let m=[];for(let E of h)m.push(...t0(E));return m}function _Xe(h){return[h.toString()]}function t0(h){return[...new Set(Tb(h)?KXe(h):Jc(h)?BXe(h.anyOf):jb(h)?_Xe(h.const):W2(h)?["[number]"]:X2(h)?["[number]"]:[])]}function HXe(h,m,E){let A={};for(let H of Object.getOwnPropertyNames(m))A[H]=p5(h,t0(m[H]),E);return A}function GXe(h,m,E){return HXe(h,m.properties,E)}function yge(h,m,E){let A=GXe(h,m,E);return tu(A)}function Ige(h,m){return h.map((E)=>jge(E,m))}function UXe(h){return h.filter((m)=>!l5(m))}function qXe(h,m){return tV(UXe(Ige(h,m)))}function zXe(h){return h.some((m)=>l5(m))?[]:h}function XXe(h,m){return Wm(zXe(Ige(h,m)))}function WXe(h,m){return m in h?h[m]:m==="[number]"?Wm(h):wc()}function JXe(h,m){return m==="[number]"?h:wc()}function VXe(h,m){return m in h?h[m]:wc()}function jge(h,m){return Zs(h)?qXe(h.allOf,m):Jc(h)?XXe(h.anyOf,m):Mb(h)?WXe(h.items??[],m):G2(h)?JXe(h.items,m):rl(h)?VXe(h.properties,m):wc()}function Zmn(h,m){return m.map((E)=>jge(h,E))}function kge(h,m){return Wm(Zmn(h,m))}function p5(h,m,E){if(Tf(h)||Tf(m)){if(!Ua(h)||!Ua(m))throw new Ys("Index types using Ref parameters require both Type and Key to be of TSchema");return Uo("Index",[h,m])}if(is(m))return yge(h,m,E);if(Eb(m))return Ege(h,m,E);return ye(Ua(m)?kge(h,t0(m)):kge(h,m),E)}function QXe(h,m,E){return{[m]:p5(h,[m],rs(E))}}function YXe(h,m,E){return m.reduce((A,H)=>({...A,...QXe(h,H,E)}),{})}function ZXe(h,m,E){return YXe(h,m.keys,E)}function Ege(h,m,E){let A=ZXe(h,m,E);return tu(A)}function KM(h,m){return ye({[Fe]:"Iterator",type:"Iterator",items:h},m)}function nWe(h){return globalThis.Object.keys(h).filter((m)=>!n0(h[m]))}function eWe(h,m){let E=nWe(h),A=E.length>0?{[Fe]:"Object",type:"object",required:E,properties:h}:{[Fe]:"Object",type:"object",properties:h};return ye(A,m)}var uo=eWe;function rV(h,m){return ye({[Fe]:"Promise",type:"Promise",item:h},m)}function tWe(h){return ye(ef(h,[qm]))}function rWe(h){return ye({...h,[qm]:"Readonly"})}function iWe(h,m){return m===!1?tWe(h):rWe(h)}function r0(h,m){let E=m??!0;return is(h)?Tge(h,E):iWe(h,E)}function cWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=r0(h[A],m);return E}function uWe(h,m){return cWe(h.properties,m)}function Tge(h,m){let E=uWe(h,m);return tu(E)}function Vw(h,m){return ye(h.length>0?{[Fe]:"Tuple",type:"array",items:h,additionalItems:!1,minItems:h.length,maxItems:h.length}:{[Fe]:"Tuple",type:"array",minItems:h.length,maxItems:h.length},m)}function Mge(h,m){return h in m?Qw(h,m[h]):tu(m)}function oWe(h){return{[h]:Tu(h)}}function sWe(h){let m={};for(let E of h)m[E]=Tu(E);return m}function fWe(h,m){return uge(m,h)?oWe(h):sWe(m)}function lWe(h,m){let E=fWe(h,m);return Mge(h,E)}function HN(h,m){return m.map((E)=>Qw(h,E))}function hWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(m))E[A]=Qw(h,m[A]);return E}function Qw(h,m){let E={...m};return n0(m)?X1(Qw(h,ef(m,[u1]))):PM(m)?r0(Qw(h,ef(m,[qm]))):is(m)?Mge(h,m.properties):Eb(m)?lWe(h,m.keys):q2(m)?NM(HN(h,m.parameters),Qw(h,m.returns),E):z2(m)?Xm(HN(h,m.parameters),Qw(h,m.returns),E):Ck(m)?LM(Qw(h,m.items),E):Ak(m)?KM(Qw(h,m.items),E):Zs(m)?W1(HN(h,m.allOf),E):Jc(m)?Nu(HN(h,m.anyOf),E):Mb(m)?Vw(HN(h,m.items??[]),E):rl(m)?uo(hWe(h,m.properties),E):G2(m)?FM(Qw(h,m.items),E):Fk(m)?rV(Qw(h,m.item),E):m}function aWe(h,m){let E={};for(let A of h)E[A]=Qw(A,m);return E}function xge(h,m,E){let A=Ua(h)?t0(h):h,H=m({[Fe]:"MappedKey",keys:A}),fn=aWe(A,H);return uo(fn,E)}function dWe(h){return ye(ef(h,[u1]))}function bWe(h){return ye({...h,[u1]:"Optional"})}function wWe(h,m){return m===!1?dWe(h):bWe(h)}function X1(h,m){let E=m??!0;return is(h)?Sge(h,E):wWe(h,E)}function gWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=X1(h[A],m);return E}function pWe(h,m){return gWe(h.properties,m)}function Sge(h,m){let E=pWe(h,m);return tu(E)}function GN(h,m={}){let E=h.every((H)=>rl(H)),A=Ua(m.unevaluatedProperties)?{unevaluatedProperties:m.unevaluatedProperties}:{};return ye(m.unevaluatedProperties===!1||Ua(m.unevaluatedProperties)||E?{...A,[Fe]:"Intersect",type:"object",allOf:h}:{...A,[Fe]:"Intersect",allOf:h},m)}function mWe(h){return h.every((m)=>n0(m))}function vWe(h){return ef(h,[u1])}function Oge(h){return h.map((m)=>n0(m)?vWe(m):m)}function yWe(h,m){return mWe(h)?X1(GN(Oge(h),m)):GN(Oge(h),m)}function tV(h,m={}){if(h.length===1)return ye(h[0],m);if(h.length===0)return wc(m);if(h.some((E)=>h5(E)))throw Error("Cannot intersect transform types");return yWe(h,m)}function W1(h,m){if(h.length===1)return ye(h[0],m);if(h.length===0)return wc(m);if(h.some((E)=>h5(E)))throw Error("Cannot intersect transform types");return GN(h,m)}function Jm(...h){let[m,E]=typeof h[0]==="string"?[h[0],h[1]]:[h[0].$id,h[1]];if(typeof m!=="string")throw new Ys("Ref: $ref must be a string");return ye({[Fe]:"Ref",$ref:m},E)}function kWe(h,m){return Uo("Awaited",[Uo(h,m)])}function IWe(h){return Uo("Awaited",[Jm(h)])}function jWe(h){return W1(Cge(h))}function EWe(h){return Nu(Cge(h))}function TWe(h){return BM(h)}function Cge(h){return h.map((m)=>BM(m))}function BM(h,m){return ye(U2(h)?kWe(h.target,h.parameters):Zs(h)?jWe(h.allOf):Jc(h)?EWe(h.anyOf):Fk(h)?TWe(h.item):Tf(h)?IWe(h.$ref):h,m)}function Pge(h){let m=[];for(let E of h)m.push(_M(E));return m}function MWe(h){let m=Pge(h);return fge(m)}function xWe(h){let m=Pge(h);return sge(m)}function SWe(h){return h.map((m,E)=>E.toString())}function OWe(h){return["[number]"]}function CWe(h){return globalThis.Object.getOwnPropertyNames(h)}function PWe(h){if(!n3n)return[];return globalThis.Object.getOwnPropertyNames(h).map((E)=>E[0]==="^"&&E[E.length-1]==="$"?E.slice(1,E.length-1):E)}function _M(h){return Zs(h)?MWe(h.allOf):Jc(h)?xWe(h.anyOf):Mb(h)?SWe(h.items??[]):G2(h)?OWe(h.items):rl(h)?CWe(h.properties):Lk(h)?PWe(h.patternProperties):[]}var n3n=!1;function HM(h){n3n=!0;let m=_M(h);return n3n=!1,\`^(\${m.map((A)=>\`(\${A})\`).join("|")})$\`}function AWe(h,m){return Uo("KeyOf",[Uo(h,m)])}function FWe(h){return Uo("KeyOf",[Jm(h)])}function LWe(h,m){let E=_M(h),A=NWe(E),H=Wm(A);return ye(H,m)}function NWe(h){return h.map((m)=>m==="[number]"?Jw():Tu(m))}function GM(h,m){return U2(h)?AWe(h.target,h.parameters):Tf(h)?FWe(h.$ref):is(h)?Age(h,m):LWe(h,m)}function RWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=GM(h[A],rs(m));return E}function $We(h,m){return RWe(h.properties,m)}function Age(h,m){let E=$We(h,m);return tu(E)}function DWe(h){let m=[];for(let E of h)m.push(..._M(E));return oge(m)}function KWe(h){return h.filter((m)=>!l5(m))}function BWe(h,m){let E=[];for(let A of h)E.push(...Zmn(A,[m]));return KWe(E)}function _We(h,m){let E={};for(let A of m)E[A]=tV(BWe(h,A));return E}function Fge(h,m){let E=DWe(h),A=_We(h,E);return uo(A,m)}function iV(h){return ye({[Fe]:"Date",type:"Date"},h)}function cV(h){return ye({[Fe]:"Null",type:"null"},h)}function uV(h){return ye({[Fe]:"Symbol",type:"symbol"},h)}function oV(h){return ye({[Fe]:"Undefined",type:"undefined"},h)}function sV(h){return ye({[Fe]:"Uint8Array",type:"Uint8Array"},h)}function m5(h){return ye({[Fe]:"Unknown"},h)}function HWe(h){return h.map((m)=>e3n(m,!1))}function GWe(h){let m={};for(let E of globalThis.Object.getOwnPropertyNames(h))m[E]=r0(e3n(h[E],!1));return m}function fV(h,m){return m===!0?h:r0(h)}function e3n(h,m){return _we(h)?fV(g5(),m):Gwe(h)?fV(g5(),m):Sl(h)?r0(Vw(HWe(h))):s5(h)?sV():IM(h)?iV():ts(h)?fV(uo(GWe(h)),m):Hwe(h)?fV(Xm([],m5()),m):Go(h)?oV():Uwe(h)?cV():qwe(h)?uV():NJ(h)?DM():kb(h)?Tu(h):o5(h)?Tu(h):Ho(h)?Tu(h):uo({})}function Lge(h,m){return ye(e3n(h,!0),m)}function Nge(h,m){return q2(h)?Vw(h.parameters,m):wc(m)}function Rge(h,m){if(Go(h))throw Error("Enum undefined or empty");let E=globalThis.Object.getOwnPropertyNames(h).filter((fn)=>isNaN(fn)).map((fn)=>h[fn]),H=[...new Set(E)].map((fn)=>Tu(fn));return Nu(H,{...m,[zm]:"Enum"})}class _ge extends Ys{}var Ie;(function(h){h[h.Union=0]="Union",h[h.True=1]="True",h[h.False=2]="False"})(Ie||(Ie={}));function Yw(h){return h===Ie.False?h:Ie.True}function UM(h){throw new _ge(h)}function Cl(h){return d5(h)||$k(h)||cv(h)||Q2(h)||J2(h)}function Pl(h,m){return d5(m)?Uge(h,m):$k(m)?lV(h,m):cv(m)?u3n(h,m):Q2(m)?Wge(h,m):J2(m)?c3n(h,m):UM("StructuralRight")}function c3n(h,m){return Ie.True}function UWe(h,m){return $k(m)?lV(h,m):cv(m)&&m.anyOf.some((E)=>J2(E)||Q2(E))?Ie.True:cv(m)?Ie.Union:Q2(m)?Ie.True:J2(m)?Ie.True:Ie.Union}function qWe(h,m){return Q2(h)?Ie.False:J2(h)?Ie.Union:d5(h)?Ie.True:Ie.False}function zWe(h,m){return nf(m)&&hV(m)?Ie.True:Cl(m)?Pl(h,m):!Nk(m)?Ie.False:Yw(oo(h.items,m.items))}function XWe(h,m){return Cl(m)?Pl(h,m):!_mn(m)?Ie.False:Yw(oo(h.items,m.items))}function WWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):qJ(m)?Ie.True:Ie.False}function Hge(h,m){return Ywe(h)?Ie.True:Rk(h)?Ie.True:Ie.False}function JWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):Rk(m)?Ie.True:Ie.False}function VWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):!zJ(m)?Ie.False:h.parameters.length>m.parameters.length?Ie.False:!h.parameters.every((E,A)=>Yw(oo(m.parameters[A],E))===Ie.True)?Ie.False:Yw(oo(h.returns,m.returns))}function QWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):XJ(m)?Ie.True:Ie.False}function YWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):!WJ(m)?Ie.False:h.parameters.length>m.parameters.length?Ie.False:!h.parameters.every((E,A)=>Yw(oo(m.parameters[A],E))===Ie.True)?Ie.False:Yw(oo(h.returns,m.returns))}function Gge(h,m){return a5(h)&&kb(h.const)?Ie.True:e0(h)||iv(h)?Ie.True:Ie.False}function ZWe(h,m){return iv(m)||e0(m)?Ie.True:Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):Ie.False}function lV(h,m){return m.allOf.every((E)=>oo(h,E)===Ie.True)?Ie.True:Ie.False}function nJe(h,m){return h.allOf.some((E)=>oo(E,m)===Ie.True)?Ie.True:Ie.False}function eJe(h,m){return Cl(m)?Pl(h,m):!Hmn(m)?Ie.False:Yw(oo(h.items,m.items))}function tJe(h,m){return a5(m)&&m.const===h.const?Ie.True:Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):V2(m)?Xge(h,m):e0(m)?qge(h,m):iv(m)?Gge(h,m):Rk(m)?Hge(h,m):Ie.False}function Uge(h,m){return Ie.False}function rJe(h,m){return Ie.True}function $ge(h){let[m,E]=[h,0];while(!0){if(!AM(m))break;m=m.not,E+=1}return E%2===0?m:m5()}function iJe(h,m){return AM(h)?oo($ge(h),m):AM(m)?oo(h,$ge(m)):UM("Invalid fallthrough for Not")}function cJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):Gmn(m)?Ie.True:Ie.False}function qge(h,m){return Qwe(h)?Ie.True:e0(h)||iv(h)?Ie.True:Ie.False}function uJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):iv(m)||e0(m)?Ie.True:Ie.False}function i0(h,m){return Object.getOwnPropertyNames(h.properties).length===m}function Dge(h){return hV(h)}function Kge(h){return i0(h,0)||i0(h,1)&&"description"in h.properties&&cv(h.properties.description)&&h.properties.description.anyOf.length===2&&(V2(h.properties.description.anyOf[0])&&Dk(h.properties.description.anyOf[1])||V2(h.properties.description.anyOf[1])&&Dk(h.properties.description.anyOf[0]))}function t3n(h){return i0(h,0)}function Bge(h){return i0(h,0)}function oJe(h){return i0(h,0)}function sJe(h){return i0(h,0)}function fJe(h){return hV(h)}function lJe(h){let m=Jw();return i0(h,0)||i0(h,1)&&"length"in h.properties&&Yw(oo(h.properties.length,m))===Ie.True}function hJe(h){return i0(h,0)}function hV(h){let m=Jw();return i0(h,0)||i0(h,1)&&"length"in h.properties&&Yw(oo(h.properties.length,m))===Ie.True}function aJe(h){let m=Xm([g5()],g5());return i0(h,0)||i0(h,1)&&"then"in h.properties&&Yw(oo(h.properties.then,m))===Ie.True}function zge(h,m){return oo(h,m)===Ie.False?Ie.False:UJ(h)&&!UJ(m)?Ie.False:Ie.True}function J1(h,m){return Q2(h)?Ie.False:J2(h)?Ie.Union:d5(h)||Vwe(h)&&Dge(m)||Qwe(h)&&t3n(m)||Ywe(h)&&Bge(m)||RN(h)&&Kge(m)||qJ(h)&&oJe(m)||V2(h)&&Dge(m)||RN(h)&&Kge(m)||e0(h)&&t3n(m)||iv(h)&&t3n(m)||Rk(h)&&Bge(m)||DN(h)&&fJe(m)||XJ(h)&&sJe(m)||zJ(h)&&hJe(m)||WJ(h)&&lJe(m)?Ie.True:s1(h)&&V2(r3n(h))?(()=>m[zm]==="Record"?Ie.True:Ie.False)():s1(h)&&e0(r3n(h))?(()=>i0(m,0)?Ie.True:Ie.False)():Ie.False}function dJe(h,m){return Cl(m)?Pl(h,m):s1(m)?Zw(h,m):!nf(m)?Ie.False:(()=>{for(let E of Object.getOwnPropertyNames(m.properties)){if(!(E in h.properties)&&!UJ(m.properties[E]))return Ie.False;if(UJ(m.properties[E]))return Ie.True;if(zge(h.properties[E],m.properties[E])===Ie.False)return Ie.False}return Ie.True})()}function bJe(h,m){return Cl(m)?Pl(h,m):nf(m)&&aJe(m)?Ie.True:!Umn(m)?Ie.False:Yw(oo(h.item,m.item))}function r3n(h){return b5 in h.patternProperties?Jw():(w5 in h.patternProperties)?Y2():UM("Unknown record key pattern")}function i3n(h){return b5 in h.patternProperties?h.patternProperties[b5]:(w5 in h.patternProperties)?h.patternProperties[w5]:UM("Unable to get record value schema")}function Zw(h,m){let[E,A]=[r3n(m),i3n(m)];return Vwe(h)&&e0(E)&&Yw(oo(h,A))===Ie.True?Ie.True:DN(h)&&e0(E)?oo(h,A):V2(h)&&e0(E)?oo(h,A):Nk(h)&&e0(E)?oo(h,A):nf(h)?(()=>{for(let H of Object.getOwnPropertyNames(h.properties))if(zge(A,h.properties[H])===Ie.False)return Ie.False;return Ie.True})():Ie.False}function wJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):!s1(m)?Ie.False:oo(i3n(h),i3n(m))}function gJe(h,m){let E=NN(h)?Y2():h,A=NN(m)?Y2():m;return oo(E,A)}function Xge(h,m){return a5(h)&&Ho(h.const)?Ie.True:V2(h)?Ie.True:Ie.False}function pJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):V2(m)?Ie.True:Ie.False}function mJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):RN(m)?Ie.True:Ie.False}function vJe(h,m){return $N(h)?oo(Bk(h),m):$N(m)?oo(h,Bk(m)):UM("Invalid fallthrough for TemplateLiteral")}function yJe(h,m){return Nk(m)&&h.items!==void 0&&h.items.every((E)=>oo(E,m.items)===Ie.True)}function kJe(h,m){return d5(h)?Ie.True:Q2(h)?Ie.False:J2(h)?Ie.Union:Ie.False}function IJe(h,m){return Cl(m)?Pl(h,m):nf(m)&&hV(m)?Ie.True:Nk(m)&&yJe(h,m)?Ie.True:!JJ(m)?Ie.False:Go(h.items)&&!Go(m.items)||!Go(h.items)&&Go(m.items)?Ie.False:Go(h.items)&&!Go(m.items)?Ie.True:h.items.every((E,A)=>oo(E,m.items[A])===Ie.True)?Ie.True:Ie.False}function jJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):DN(m)?Ie.True:Ie.False}function EJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):VJ(m)?xJe(h,m):Dk(m)?Ie.True:Ie.False}function u3n(h,m){return m.anyOf.some((E)=>oo(h,E)===Ie.True)?Ie.True:Ie.False}function TJe(h,m){return h.anyOf.every((E)=>oo(E,m)===Ie.True)?Ie.True:Ie.False}function Wge(h,m){return Ie.True}function MJe(h,m){return d5(m)?Uge(h,m):$k(m)?lV(h,m):cv(m)?u3n(h,m):J2(m)?c3n(h,m):V2(m)?Xge(h,m):e0(m)?qge(h,m):iv(m)?Gge(h,m):Rk(m)?Hge(h,m):Nk(m)?qWe(h,m):JJ(m)?kJe(h,m):nf(m)?J1(h,m):Q2(m)?Ie.True:Ie.False}function xJe(h,m){return Dk(h)?Ie.True:Dk(h)?Ie.True:Ie.False}function SJe(h,m){return $k(m)?lV(h,m):cv(m)?u3n(h,m):Q2(m)?Wge(h,m):J2(m)?c3n(h,m):nf(m)?J1(h,m):VJ(m)?Ie.True:Ie.False}function oo(h,m){return $N(h)||$N(m)?vJe(h,m):NN(h)||NN(m)?gJe(h,m):AM(h)||AM(m)?iJe(h,m):J2(h)?UWe(h,m):Nk(h)?zWe(h,m):qJ(h)?WWe(h,m):Rk(h)?JWe(h,m):_mn(h)?XWe(h,m):zJ(h)?VWe(h,m):XJ(h)?QWe(h,m):WJ(h)?YWe(h,m):iv(h)?ZWe(h,m):$k(h)?nJe(h,m):Hmn(h)?eJe(h,m):a5(h)?tJe(h,m):d5(h)?rJe(h,m):Gmn(h)?cJe(h,m):e0(h)?uJe(h,m):nf(h)?dJe(h,m):s1(h)?wJe(h,m):V2(h)?pJe(h,m):RN(h)?mJe(h,m):JJ(h)?IJe(h,m):Umn(h)?bJe(h,m):DN(h)?jJe(h,m):Dk(h)?EJe(h,m):cv(h)?TJe(h,m):Q2(h)?MJe(h,m):VJ(h)?SJe(h,m):UM(\`Unknown left type operand '\${h[Fe]}'\`)}function v5(h,m){return oo(h,m)}function OJe(h,m,E,A,H){let fn={};for(let On of globalThis.Object.getOwnPropertyNames(h))fn[On]=qM(h[On],m,E,A,rs(H));return fn}function CJe(h,m,E,A,H){return OJe(h.properties,m,E,A,H)}function Jge(h,m,E,A,H){let fn=CJe(h,m,E,A,H);return tu(fn)}function PJe(h,m,E,A){let H=v5(h,m);return H===Ie.Union?Nu([E,A]):H===Ie.True?E:A}function qM(h,m,E,A,H){return is(h)?Jge(h,m,E,A,H):Eb(h)?ye(Vge(h,m,E,A,H)):ye(PJe(h,m,E,A),H)}function AJe(h,m,E,A,H){return{[h]:qM(Tu(h),m,E,A,rs(H))}}function FJe(h,m,E,A,H){return h.reduce((fn,On)=>({...fn,...AJe(On,m,E,A,H)}),{})}function LJe(h,m,E,A,H){return FJe(h.keys,m,E,A,H)}function Vge(h,m,E,A,H){let fn=LJe(h,m,E,A,H);return tu(fn)}function NJe(h){return h.allOf.every((m)=>_k(m))}function RJe(h){return h.anyOf.some((m)=>_k(m))}function $Je(h){return!_k(h.not)}function _k(h){return h[Fe]==="Intersect"?NJe(h):h[Fe]==="Union"?RJe(h):h[Fe]==="Not"?$Je(h):h[Fe]==="Undefined"?!0:!1}function Qge(h,m){return zM(Bk(h),m)}function DJe(h,m){let E=h.filter((A)=>v5(A,m)===Ie.False);return E.length===1?E[0]:Nu(E)}function zM(h,m,E={}){if(Tb(h))return ye(Qge(h,m),E);if(is(h))return ye(Yge(h,m),E);return ye(Jc(h)?DJe(h.anyOf,m):v5(h,m)!==Ie.False?wc():h,E)}function KJe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=zM(h[A],m);return E}function BJe(h,m){return KJe(h.properties,m)}function Yge(h,m){let E=BJe(h,m);return tu(E)}function Zge(h,m){return XM(Bk(h),m)}function _Je(h,m){let E=h.filter((A)=>v5(A,m)!==Ie.False);return E.length===1?E[0]:Nu(E)}function XM(h,m,E){if(Tb(h))return ye(Zge(h,m),E);if(is(h))return ye(n2e(h,m),E);return ye(Jc(h)?_Je(h.anyOf,m):v5(h,m)!==Ie.False?h:wc(),E)}function HJe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=XM(h[A],m);return E}function GJe(h,m){return HJe(h.properties,m)}function n2e(h,m){let E=GJe(h,m);return tu(E)}function e2e(h,m){return q2(h)?ye(h.returns,m):wc(m)}function aV(h){return r0(X1(h))}function Hk(h,m,E){return ye({[Fe]:"Record",type:"object",patternProperties:{[h]:m}},E)}function o3n(h,m,E){let A={};for(let H of h)A[H]=m;return uo(A,{...E,[zm]:"Record"})}function UJe(h,m,E){return bge(h)?o3n(t0(h),m,E):Hk(h.pattern,m,E)}function qJe(h,m,E){return o3n(t0(Nu(h)),m,E)}function zJe(h,m,E){return o3n([h.toString()],m,E)}function XJe(h,m,E){return Hk(h.source,m,E)}function WJe(h,m,E){let A=Go(h.pattern)?w5:h.pattern;return Hk(A,m,E)}function JJe(h,m,E){return Hk(w5,m,E)}function VJe(h,m,E){return Hk(tge,m,E)}function QJe(h,m,E){return uo({true:m,false:m},E)}function YJe(h,m,E){return Hk(b5,m,E)}function ZJe(h,m,E){return Hk(b5,m,E)}function dV(h,m,E={}){return Jc(h)?qJe(h.anyOf,m,E):Tb(h)?UJe(h,m,E):jb(h)?zJe(h.const,m,E):ev(h)?QJe(h,m,E):X2(h)?YJe(h,m,E):W2(h)?ZJe(h,m,E):Dmn(h)?XJe(h,m,E):tv(h)?WJe(h,m,E):Rmn(h)?JJe(h,m,E):l5(h)?VJe(h,m,E):wc(E)}function bV(h){return globalThis.Object.getOwnPropertyNames(h.patternProperties)[0]}function t2e(h){let m=bV(h);return m===w5?Y2():m===b5?Jw():Y2({pattern:m})}function wV(h){return h.patternProperties[bV(h)]}function nVe(h,m){return m.parameters=UN(h,m.parameters),m.returns=Z2(h,m.returns),m}function eVe(h,m){return m.parameters=UN(h,m.parameters),m.returns=Z2(h,m.returns),m}function tVe(h,m){return m.allOf=UN(h,m.allOf),m}function rVe(h,m){return m.anyOf=UN(h,m.anyOf),m}function iVe(h,m){if(Go(m.items))return m;return m.items=UN(h,m.items),m}function cVe(h,m){return m.items=Z2(h,m.items),m}function uVe(h,m){return m.items=Z2(h,m.items),m}function oVe(h,m){return m.items=Z2(h,m.items),m}function sVe(h,m){return m.item=Z2(h,m.item),m}function fVe(h,m){let E=dVe(h,m.properties);return{...m,...uo(E)}}function lVe(h,m){let E=Z2(h,t2e(m)),A=Z2(h,wV(m)),H=dV(E,A);return{...m,...H}}function hVe(h,m){return m.index in h?h[m.index]:m5()}function aVe(h,m){let E=PM(m),A=n0(m),H=Z2(h,m);return E&&A?aV(H):E&&!A?r0(H):!E&&A?X1(H):H}function dVe(h,m){return globalThis.Object.getOwnPropertyNames(m).reduce((E,A)=>({...E,[A]:aVe(h,m[A])}),{})}function UN(h,m){return m.map((E)=>Z2(h,E))}function Z2(h,m){return q2(m)?nVe(h,m):z2(m)?eVe(h,m):Zs(m)?tVe(h,m):Jc(m)?rVe(h,m):Mb(m)?iVe(h,m):G2(m)?cVe(h,m):Ck(m)?uVe(h,m):Ak(m)?oVe(h,m):Fk(m)?sVe(h,m):rl(m)?fVe(h,m):Lk(m)?lVe(h,m):$mn(m)?hVe(h,m):m}function r2e(h,m){return Z2(m,jM(h))}function i2e(h){return ye({[Fe]:"Integer",type:"integer"},h)}function bVe(h,m,E){return{[h]:np(Tu(h),m,rs(E))}}function wVe(h,m,E){return h.reduce((H,fn)=>({...H,...bVe(fn,m,E)}),{})}function gVe(h,m,E){return wVe(h.keys,m,E)}function c2e(h,m,E){let A=gVe(h,m,E);return tu(A)}function pVe(h){let[m,E]=[h.slice(0,1),h.slice(1)];return[m.toLowerCase(),E].join("")}function mVe(h){let[m,E]=[h.slice(0,1),h.slice(1)];return[m.toUpperCase(),E].join("")}function vVe(h){return h.toUpperCase()}function yVe(h){return h.toLowerCase()}function kVe(h,m,E){let A=$M(h.pattern);if(!Kk(A))return{...h,pattern:u2e(h.pattern,m)};let On=[..._N(A)].map((at)=>Tu(at)),k=o2e(On,m),Le=Nu(k);return eV([Le],E)}function u2e(h,m){return typeof h==="string"?m==="Uncapitalize"?pVe(h):m==="Capitalize"?mVe(h):m==="Uppercase"?vVe(h):m==="Lowercase"?yVe(h):h:h.toString()}function o2e(h,m){return h.map((E)=>np(E,m))}function np(h,m,E={}){return Eb(h)?c2e(h,m,E):Tb(h)?kVe(h,m,E):Jc(h)?Nu(o2e(h.anyOf,m),E):jb(h)?Tu(u2e(h.const,m),E):ye(h,E)}function s2e(h,m={}){return np(h,"Capitalize",m)}function f2e(h,m={}){return np(h,"Lowercase",m)}function l2e(h,m={}){return np(h,"Uncapitalize",m)}function h2e(h,m={}){return np(h,"Uppercase",m)}function IVe(h,m,E){let A={};for(let H of globalThis.Object.getOwnPropertyNames(h))A[H]=y5(h[H],m,rs(E));return A}function jVe(h,m,E){return IVe(h.properties,m,E)}function a2e(h,m,E){let A=jVe(h,m,E);return tu(A)}function EVe(h,m){return h.map((E)=>s3n(E,m))}function TVe(h,m){return h.map((E)=>s3n(E,m))}function MVe(h,m){let{[m]:E,...A}=h;return A}function xVe(h,m){return m.reduce((E,A)=>MVe(E,A),h)}function SVe(h,m,E){let A=ef(h,[Ol,"$id","required","properties"]),H=xVe(E,m);return uo(H,A)}function OVe(h){let m=h.reduce((E,A)=>GJ(A)?[...E,Tu(A)]:E,[]);return Nu(m)}function s3n(h,m){return Zs(h)?W1(EVe(h.allOf,m)):Jc(h)?Nu(TVe(h.anyOf,m)):rl(h)?SVe(h,m,h.properties):uo({})}function y5(h,m,E){let A=Sl(m)?OVe(m):m,H=Ua(m)?t0(m):m,fn=Tf(h),On=Tf(m);return is(h)?a2e(h,H,E):Eb(m)?d2e(h,m,E):fn&&On?Uo("Omit",[h,A],E):!fn&&On?Uo("Omit",[h,A],E):fn&&!On?Uo("Omit",[h,A],E):ye({...s3n(h,H),...E})}function CVe(h,m,E){return{[m]:y5(h,[m],rs(E))}}function PVe(h,m,E){return m.reduce((A,H)=>({...A,...CVe(h,H,E)}),{})}function AVe(h,m,E){return PVe(h,m.keys,E)}function d2e(h,m,E){let A=AVe(h,m,E);return tu(A)}function FVe(h,m,E){let A={};for(let H of globalThis.Object.getOwnPropertyNames(h))A[H]=k5(h[H],m,rs(E));return A}function LVe(h,m,E){return FVe(h.properties,m,E)}function b2e(h,m,E){let A=LVe(h,m,E);return tu(A)}function NVe(h,m){return h.map((E)=>f3n(E,m))}function RVe(h,m){return h.map((E)=>f3n(E,m))}function $Ve(h,m){let E={};for(let A of m)if(A in h)E[A]=h[A];return E}function DVe(h,m,E){let A=ef(h,[Ol,"$id","required","properties"]),H=$Ve(E,m);return uo(H,A)}function KVe(h){let m=h.reduce((E,A)=>GJ(A)?[...E,Tu(A)]:E,[]);return Nu(m)}function f3n(h,m){return Zs(h)?W1(NVe(h.allOf,m)):Jc(h)?Nu(RVe(h.anyOf,m)):rl(h)?DVe(h,m,h.properties):uo({})}function k5(h,m,E){let A=Sl(m)?KVe(m):m,H=Ua(m)?t0(m):m,fn=Tf(h),On=Tf(m);return is(h)?b2e(h,H,E):Eb(m)?w2e(h,m,E):fn&&On?Uo("Pick",[h,A],E):!fn&&On?Uo("Pick",[h,A],E):fn&&!On?Uo("Pick",[h,A],E):ye({...f3n(h,H),...E})}function BVe(h,m,E){return{[m]:k5(h,[m],rs(E))}}function _Ve(h,m,E){return m.reduce((A,H)=>({...A,...BVe(h,H,E)}),{})}function HVe(h,m,E){return _Ve(h,m.keys,E)}function w2e(h,m,E){let A=HVe(h,m,E);return tu(A)}function GVe(h,m){return Uo("Partial",[Uo(h,m)])}function UVe(h){return Uo("Partial",[Jm(h)])}function qVe(h){let m={};for(let E of globalThis.Object.getOwnPropertyNames(h))m[E]=X1(h[E]);return m}function zVe(h,m){let E=ef(h,[Ol,"$id","required","properties"]),A=qVe(m);return uo(A,E)}function g2e(h){return h.map((m)=>p2e(m))}function p2e(h){return U2(h)?GVe(h.target,h.parameters):Tf(h)?UVe(h.$ref):Zs(h)?W1(g2e(h.allOf)):Jc(h)?Nu(g2e(h.anyOf)):rl(h)?zVe(h,h.properties):Pk(h)?h:ev(h)?h:X2(h)?h:jb(h)?h:PN(h)?h:W2(h)?h:tv(h)?h:AN(h)?h:FN(h)?h:uo({})}function WM(h,m){if(is(h))return m2e(h,m);else return ye({...p2e(h),...m})}function XVe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=WM(h[A],rs(m));return E}function WVe(h,m){return XVe(h.properties,m)}function m2e(h,m){let E=WVe(h,m);return tu(E)}function JVe(h,m){return Uo("Required",[Uo(h,m)])}function VVe(h){return Uo("Required",[Jm(h)])}function QVe(h){let m={};for(let E of globalThis.Object.getOwnPropertyNames(h))m[E]=ef(h[E],[u1]);return m}function YVe(h,m){let E=ef(h,[Ol,"$id","required","properties"]),A=QVe(m);return uo(A,E)}function v2e(h){return h.map((m)=>y2e(m))}function y2e(h){return U2(h)?JVe(h.target,h.parameters):Tf(h)?VVe(h.$ref):Zs(h)?W1(v2e(h.allOf)):Jc(h)?Nu(v2e(h.anyOf)):rl(h)?YVe(h,h.properties):Pk(h)?h:ev(h)?h:X2(h)?h:jb(h)?h:PN(h)?h:W2(h)?h:tv(h)?h:AN(h)?h:FN(h)?h:uo({})}function JM(h,m){if(is(h))return k2e(h,m);else return ye({...y2e(h),...m})}function ZVe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=JM(h[A],m);return E}function nQe(h,m){return ZVe(h.properties,m)}function k2e(h,m){let E=nQe(h,m);return tu(E)}function eQe(h,m){return m.map((E)=>Tf(E)?l3n(h,E.$ref):xb(h,E))}function l3n(h,m){return m in h?Tf(h[m])?l3n(h,h[m].$ref):xb(h,h[m]):wc()}function tQe(h){return BM(h[0])}function rQe(h){return p5(h[0],h[1])}function iQe(h){return GM(h[0])}function cQe(h){return WM(h[0])}function uQe(h){return y5(h[0],h[1])}function oQe(h){return k5(h[0],h[1])}function sQe(h){return JM(h[0])}function fQe(h,m,E){let A=eQe(h,E);return m==="Awaited"?tQe(A):m==="Index"?rQe(A):m==="KeyOf"?iQe(A):m==="Partial"?cQe(A):m==="Omit"?uQe(A):m==="Pick"?oQe(A):m==="Required"?sQe(A):wc()}function lQe(h,m){return FM(xb(h,m))}function hQe(h,m){return LM(xb(h,m))}function aQe(h,m,E){return NM(qN(h,m),xb(h,E))}function dQe(h,m,E){return Xm(qN(h,m),xb(h,E))}function bQe(h,m){return W1(qN(h,m))}function wQe(h,m){return KM(xb(h,m))}function gQe(h,m){return uo(globalThis.Object.keys(m).reduce((E,A)=>({...E,[A]:xb(h,m[A])}),{}))}function pQe(h,m){let[E,A]=[xb(h,wV(m)),bV(m)],H=jM(m);return H.patternProperties[A]=E,H}function mQe(h,m){return Tf(m)?{...l3n(h,m.$ref),[Ol]:m[Ol]}:m}function vQe(h,m){return Vw(qN(h,m))}function yQe(h,m){return Nu(qN(h,m))}function qN(h,m){return m.map((E)=>xb(h,E))}function xb(h,m){return n0(m)?ye(xb(h,ef(m,[u1])),m):PM(m)?ye(xb(h,ef(m,[qm])),m):h5(m)?ye(mQe(h,m),m):G2(m)?ye(lQe(h,m.items),m):Ck(m)?ye(hQe(h,m.items),m):U2(m)?ye(fQe(h,m.target,m.parameters)):q2(m)?ye(aQe(h,m.parameters,m.returns),m):z2(m)?ye(dQe(h,m.parameters,m.returns),m):Zs(m)?ye(bQe(h,m.allOf),m):Ak(m)?ye(wQe(h,m.items),m):rl(m)?ye(gQe(h,m.properties),m):Lk(m)?ye(pQe(h,m)):Mb(m)?ye(vQe(h,m.items||[]),m):Jc(m)?ye(yQe(h,m.anyOf),m):m}function kQe(h,m){return m in h?xb(h,h[m]):wc()}function I2e(h){return globalThis.Object.getOwnPropertyNames(h).reduce((m,E)=>({...m,[E]:kQe(h,E)}),{})}class j2e{constructor(h){let m=I2e(h),E=this.WithIdentifiers(m);this.$defs=E}Import(h,m){let E={...this.$defs,[h]:ye(this.$defs[h],m)};return ye({[Fe]:"Import",$defs:E,$ref:h})}WithIdentifiers(h){return globalThis.Object.getOwnPropertyNames(h).reduce((m,E)=>({...m,[E]:{...h[E],$id:E}}),{})}}function E2e(h){return new j2e(h)}function T2e(h,m){return ye({[Fe]:"Not",not:h},m)}function M2e(h,m){return z2(h)?Vw(h.parameters,m):wc()}var IQe=0;function x2e(h,m={}){if(Go(m.$id))m.$id=\`T\${IQe++}\`;let E=jM(h({[Fe]:"This",$ref:\`\${m.$id}\`}));return E.$id=m.$id,ye({[zm]:"Recursive",...E},m)}function S2e(h,m){let E=Ho(h)?new globalThis.RegExp(h):h;return ye({[Fe]:"RegExp",type:"RegExp",source:E.source,flags:E.flags},m)}function jQe(h){return Zs(h)?h.allOf:Jc(h)?h.anyOf:Mb(h)?h.items??[]:[]}function O2e(h){return jQe(h)}function C2e(h,m){return z2(h)?ye(h.returns,m):wc(m)}class P2e{constructor(h){this.schema=h}Decode(h){return new A2e(this.schema,h)}}class A2e{constructor(h,m){this.schema=h,this.decode=m}EncodeTransform(h,m){let H={Encode:(fn)=>m[Ol].Encode(h(fn)),Decode:(fn)=>this.decode(m[Ol].Decode(fn))};return{...m,[Ol]:H}}EncodeSchema(h,m){let E={Decode:this.decode,Encode:h};return{...m,[Ol]:E}}Encode(h){return h5(this.schema)?this.EncodeTransform(h,this.schema):this.EncodeSchema(h,this.schema)}}function F2e(h){return new P2e(h)}function L2e(h={}){return ye({[Fe]:h[Fe]??"Unsafe"},h)}function N2e(h){return ye({[Fe]:"Void",type:"void"},h)}var h3n={};$ze(h3n,{Any:()=>g5,Argument:()=>lge,Array:()=>FM,AsyncIterator:()=>LM,Awaited:()=>BM,BigInt:()=>DM,Boolean:()=>nV,Capitalize:()=>s2e,Composite:()=>Fge,Const:()=>Lge,Constructor:()=>NM,ConstructorParameters:()=>Nge,Date:()=>iV,Enum:()=>Rge,Exclude:()=>zM,Extends:()=>qM,Extract:()=>XM,Function:()=>Xm,Index:()=>p5,InstanceType:()=>e2e,Instantiate:()=>r2e,Integer:()=>i2e,Intersect:()=>W1,Iterator:()=>KM,KeyOf:()=>GM,Literal:()=>Tu,Lowercase:()=>f2e,Mapped:()=>xge,Module:()=>E2e,Never:()=>wc,Not:()=>T2e,Null:()=>cV,Number:()=>Jw,Object:()=>uo,Omit:()=>y5,Optional:()=>X1,Parameters:()=>M2e,Partial:()=>WM,Pick:()=>k5,Promise:()=>rV,Readonly:()=>r0,ReadonlyOptional:()=>aV,Record:()=>dV,Recursive:()=>x2e,Ref:()=>Jm,RegExp:()=>S2e,Required:()=>JM,Rest:()=>O2e,ReturnType:()=>C2e,String:()=>Y2,Symbol:()=>uV,TemplateLiteral:()=>eV,Transform:()=>F2e,Tuple:()=>Vw,Uint8Array:()=>sV,Uncapitalize:()=>l2e,Undefined:()=>oV,Union:()=>Nu,Unknown:()=>m5,Unsafe:()=>L2e,Uppercase:()=>h2e,Void:()=>N2e});var Pn=h3n;var I5=1,ov=Pn.String({minLength:1}),EQe=Pn.Object({source:Pn.String({minLength:1}),confidence:Pn.Optional(Pn.Union([Pn.Literal("confirmed"),Pn.Literal("inferred"),Pn.Literal("unknown")])),tool:Pn.Optional(Pn.String())},{additionalProperties:!1}),qa=Pn.Object({provenance:Pn.Optional(EQe),coverage:Pn.Optional(Pn.Number({minimum:0,maximum:1})),freshness:Pn.Optional(Pn.String({format:"date-time"})),data:Pn.Optional(Pn.Record(Pn.String(),Pn.Union([Pn.String(),Pn.Number(),Pn.Boolean()])))},{additionalProperties:!1}),a3n=["box","rect","pill","diamond","circle","ellipse","hexagon","parallelogram","cylinder","document","subroutine"],$2e=Pn.Union(a3n.map((h)=>Pn.Literal(h))),TQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),shape:Pn.Optional($2e),group:Pn.Optional(Pn.String()),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),position:Pn.Optional(Pn.Object({x:Pn.Number(),y:Pn.Number()},{additionalProperties:!1})),meta:Pn.Optional(qa)},{additionalProperties:!1}),MQe=Pn.Object({id:Pn.Optional(ov),from:Pn.String(),to:Pn.String(),label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),directed:Pn.Optional(Pn.Boolean()),meta:Pn.Optional(qa)},{additionalProperties:!1}),xQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),parent:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),gV=Pn.Union([Pn.Literal("down"),Pn.Literal("right"),Pn.Literal("up"),Pn.Literal("left")]),d3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("graph"),title:Pn.Optional(Pn.String()),direction:Pn.Optional(gV),nodes:Pn.Array(TQe),edges:Pn.Optional(Pn.Array(MQe)),groups:Pn.Optional(Pn.Array(xQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),SQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),OQe=Pn.Object({from:Pn.String(),to:Pn.String(),label:Pn.Optional(Pn.String()),style:Pn.Optional(Pn.Union([Pn.Literal("sync"),Pn.Literal("async"),Pn.Literal("reply")])),meta:Pn.Optional(qa)},{additionalProperties:!1}),b3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("sequence"),title:Pn.Optional(Pn.String()),participants:Pn.Array(SQe,{minItems:1}),messages:Pn.Array(OQe),meta:Pn.Optional(qa)},{additionalProperties:!1}),w3n=["initial","final","choice","fork","join","history"],CQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),pseudo:Pn.Optional(Pn.Union(w3n.map((h)=>Pn.Literal(h)))),parent:Pn.Optional(Pn.String()),actions:Pn.Optional(Pn.Array(Pn.String())),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),PQe=Pn.Object({id:Pn.Optional(ov),from:Pn.String(),to:Pn.String(),event:Pn.Optional(Pn.String()),guard:Pn.Optional(Pn.String()),action:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),g3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("state"),title:Pn.Optional(Pn.String()),direction:Pn.Optional(gV),states:Pn.Array(CQe,{minItems:1}),transitions:Pn.Optional(Pn.Array(PQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),p3n=["pk","fk","uk"],m3n=["one","zero-or-one","one-or-more","zero-or-more"],AQe=Pn.Object({name:Pn.String({minLength:1}),type:Pn.Optional(Pn.String()),keys:Pn.Optional(Pn.Array(Pn.Union(p3n.map((h)=>Pn.Literal(h))))),nullable:Pn.Optional(Pn.Boolean()),note:Pn.Optional(Pn.String())},{additionalProperties:!1}),FQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),attributes:Pn.Optional(Pn.Array(AQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),R2e=Pn.Union(m3n.map((h)=>Pn.Literal(h))),LQe=Pn.Object({id:Pn.Optional(ov),from:Pn.String(),to:Pn.String(),fromCardinality:Pn.Optional(R2e),toCardinality:Pn.Optional(R2e),label:Pn.Optional(Pn.String()),identifying:Pn.Optional(Pn.Boolean()),type:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),v3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("er"),title:Pn.Optional(Pn.String()),direction:Pn.Optional(gV),entities:Pn.Array(FQe,{minItems:1}),relations:Pn.Optional(Pn.Array(LQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),y3n=["tree","mindmap"],NQe=Pn.Object({id:ov,label:Pn.String(),parent:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),shape:Pn.Optional($2e),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),k3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("tree"),title:Pn.Optional(Pn.String()),layout:Pn.Optional(Pn.Union(y3n.map((h)=>Pn.Literal(h)))),direction:Pn.Optional(gV),nodes:Pn.Array(NQe,{minItems:1}),meta:Pn.Optional(qa)},{additionalProperties:!1}),TFt=Pn.Union([d3n,b3n,g3n,v3n,k3n],{$id:"urn:standargraph:graph-document:v1",title:"Standargraph document v1"});function I3n(h){let{event:m,guard:E,action:A}=h;return[m,E===void 0?void 0:\`[\${E}]\`,A===void 0?void 0:\`/ \${A}\`].filter((H)=>H!==void 0).join(" ")}function RQe(h){switch(h.errorType){case le.ArrayContains:return"Expected array to contain at least one matching value";case le.ArrayMaxContains:return\`Expected array to contain no more than \${h.schema.maxContains} matching values\`;case le.ArrayMinContains:return\`Expected array to contain at least \${h.schema.minContains} matching values\`;case le.ArrayMaxItems:return\`Expected array length to be less or equal to \${h.schema.maxItems}\`;case le.ArrayMinItems:return\`Expected array length to be greater or equal to \${h.schema.minItems}\`;case le.ArrayUniqueItems:return"Expected array elements to be unique";case le.Array:return"Expected array";case le.AsyncIterator:return"Expected AsyncIterator";case le.BigIntExclusiveMaximum:return\`Expected bigint to be less than \${h.schema.exclusiveMaximum}\`;case le.BigIntExclusiveMinimum:return\`Expected bigint to be greater than \${h.schema.exclusiveMinimum}\`;case le.BigIntMaximum:return\`Expected bigint to be less or equal to \${h.schema.maximum}\`;case le.BigIntMinimum:return\`Expected bigint to be greater or equal to \${h.schema.minimum}\`;case le.BigIntMultipleOf:return\`Expected bigint to be a multiple of \${h.schema.multipleOf}\`;case le.BigInt:return"Expected bigint";case le.Boolean:return"Expected boolean";case le.DateExclusiveMinimumTimestamp:return\`Expected Date timestamp to be greater than \${h.schema.exclusiveMinimumTimestamp}\`;case le.DateExclusiveMaximumTimestamp:return\`Expected Date timestamp to be less than \${h.schema.exclusiveMaximumTimestamp}\`;case le.DateMinimumTimestamp:return\`Expected Date timestamp to be greater or equal to \${h.schema.minimumTimestamp}\`;case le.DateMaximumTimestamp:return\`Expected Date timestamp to be less or equal to \${h.schema.maximumTimestamp}\`;case le.DateMultipleOfTimestamp:return\`Expected Date timestamp to be a multiple of \${h.schema.multipleOfTimestamp}\`;case le.Date:return"Expected Date";case le.Function:return"Expected function";case le.IntegerExclusiveMaximum:return\`Expected integer to be less than \${h.schema.exclusiveMaximum}\`;case le.IntegerExclusiveMinimum:return\`Expected integer to be greater than \${h.schema.exclusiveMinimum}\`;case le.IntegerMaximum:return\`Expected integer to be less or equal to \${h.schema.maximum}\`;case le.IntegerMinimum:return\`Expected integer to be greater or equal to \${h.schema.minimum}\`;case le.IntegerMultipleOf:return\`Expected integer to be a multiple of \${h.schema.multipleOf}\`;case le.Integer:return"Expected integer";case le.IntersectUnevaluatedProperties:return"Unexpected property";case le.Intersect:return"Expected all values to match";case le.Iterator:return"Expected Iterator";case le.Literal:return\`Expected \${typeof h.schema.const==="string"?\`'\${h.schema.const}'\`:h.schema.const}\`;case le.Never:return"Never";case le.Not:return"Value should not match";case le.Null:return"Expected null";case le.NumberExclusiveMaximum:return\`Expected number to be less than \${h.schema.exclusiveMaximum}\`;case le.NumberExclusiveMinimum:return\`Expected number to be greater than \${h.schema.exclusiveMinimum}\`;case le.NumberMaximum:return\`Expected number to be less or equal to \${h.schema.maximum}\`;case le.NumberMinimum:return\`Expected number to be greater or equal to \${h.schema.minimum}\`;case le.NumberMultipleOf:return\`Expected number to be a multiple of \${h.schema.multipleOf}\`;case le.Number:return"Expected number";case le.Object:return"Expected object";case le.ObjectAdditionalProperties:return"Unexpected property";case le.ObjectMaxProperties:return\`Expected object to have no more than \${h.schema.maxProperties} properties\`;case le.ObjectMinProperties:return\`Expected object to have at least \${h.schema.minProperties} properties\`;case le.ObjectRequiredProperty:return"Expected required property";case le.Promise:return"Expected Promise";case le.RegExp:return"Expected string to match regular expression";case le.StringFormatUnknown:return\`Unknown format '\${h.schema.format}'\`;case le.StringFormat:return\`Expected string to match '\${h.schema.format}' format\`;case le.StringMaxLength:return\`Expected string length less or equal to \${h.schema.maxLength}\`;case le.StringMinLength:return\`Expected string length greater or equal to \${h.schema.minLength}\`;case le.StringPattern:return\`Expected string to match '\${h.schema.pattern}'\`;case le.String:return"Expected string";case le.Symbol:return"Expected symbol";case le.TupleLength:return\`Expected tuple to have \${h.schema.maxItems||0} elements\`;case le.Tuple:return"Expected tuple";case le.Uint8ArrayMaxByteLength:return\`Expected byte length less or equal to \${h.schema.maxByteLength}\`;case le.Uint8ArrayMinByteLength:return\`Expected byte length greater or equal to \${h.schema.minByteLength}\`;case le.Uint8Array:return"Expected Uint8Array";case le.Undefined:return"Expected undefined";case le.Union:return"Expected union value";case le.Void:return"Expected void";case le.Kind:return\`Expected kind '\${h.schema[Fe]}'\`;default:return"Unknown error type"}}var $Qe=RQe;function D2e(){return $Qe}class K2e extends Ys{constructor(h){super(\`Unable to dereference schema with $id '\${h.$ref}'\`);this.schema=h}}function DQe(h,m){let E=m.find((A)=>A.$id===h.$ref);if(E===void 0)throw new K2e(h);return Gk(E,m)}function B2e(h,m){if(!Ib(h.$id)||m.some((E)=>E.$id===h.$id))return m;return m.push(h),m}function Gk(h,m){return h[Fe]==="This"||h[Fe]==="Ref"?DQe(h,m):h}class _2e extends Ys{constructor(h){super("Unable to hash value");this.value=h}}var Sb;(function(h){h[h.Undefined=0]="Undefined",h[h.Null=1]="Null",h[h.Boolean=2]="Boolean",h[h.Number=3]="Number",h[h.String=4]="String",h[h.Object=5]="Object",h[h.Array=6]="Array",h[h.Date=7]="Date",h[h.Uint8Array=8]="Uint8Array",h[h.Symbol=9]="Symbol",h[h.BigInt=10]="BigInt"})(Sb||(Sb={}));var VM=BigInt("14695981039346656037"),[KQe,BQe]=[BigInt("1099511628211"),BigInt("18446744073709551616")],_Qe=Array.from({length:256}).map((h,m)=>BigInt(m)),H2e=new Float64Array(1),G2e=new DataView(H2e.buffer),U2e=new Uint8Array(H2e.buffer);function*HQe(h){let m=h===0?1:Math.ceil(Math.floor(Math.log2(h)+1)/8);for(let E=0;E<m;E++)yield h>>8*(m-1-E)&255}function GQe(h){V1(Sb.Array);for(let m of h)QM(m)}function UQe(h){V1(Sb.Boolean),V1(h?1:0)}function qQe(h){V1(Sb.BigInt),G2e.setBigInt64(0,h);for(let m of U2e)V1(m)}function zQe(h){V1(Sb.Date),QM(h.getTime())}function XQe(h){V1(Sb.Null)}function WQe(h){V1(Sb.Number),G2e.setFloat64(0,h);for(let m of U2e)V1(m)}function JQe(h){V1(Sb.Object);for(let m of globalThis.Object.getOwnPropertyNames(h).sort())QM(m),QM(h[m])}function VQe(h){V1(Sb.String);for(let m=0;m<h.length;m++)for(let E of HQe(h.charCodeAt(m)))V1(E)}function QQe(h){V1(Sb.Symbol),QM(h.description)}function YQe(h){V1(Sb.Uint8Array);for(let m=0;m<h.length;m++)V1(h[m])}function ZQe(h){return V1(Sb.Undefined)}function QM(h){if(Um(h))return GQe(h);if(SM(h))return UQe(h);if(OM(h))return qQe(h);if(EM(h))return zQe(h);if(xM(h))return XQe(h);if(Ww(h))return WQe(h);if(MM(h))return JQe(h);if(Ib(h))return VQe(h);if(CM(h))return QQe(h);if(TM(h))return YQe(h);if(f5(h))return ZQe(h);throw new _2e(h)}function V1(h){VM=VM^_Qe[h],VM=VM*KQe%BQe}function pV(h){return VM=BigInt("14695981039346656037"),QM(h),VM}class q2e extends Ys{constructor(h){super("Unknown type");this.schema=h}}function nYe(h){return h[Fe]==="Any"||h[Fe]==="Unknown"}function Pc(h){return h!==void 0}function eYe(h,m,E){return!0}function tYe(h,m,E){return!0}function rYe(h,m,E){if(!Um(E))return!1;if(Pc(h.minItems)&&!(E.length>=h.minItems))return!1;if(Pc(h.maxItems)&&!(E.length<=h.maxItems))return!1;for(let fn of E)if(!Ph(h.items,m,fn))return!1;if(h.uniqueItems===!0&&!function(){let fn=new Set;for(let On of E){let k=pV(On);if(fn.has(k))return!1;else fn.add(k)}return!0}())return!1;if(!(Pc(h.contains)||Ww(h.minContains)||Ww(h.maxContains)))return!0;let A=Pc(h.contains)?h.contains:wc(),H=E.reduce((fn,On)=>Ph(A,m,On)?fn+1:fn,0);if(H===0)return!1;if(Ww(h.minContains)&&H<h.minContains)return!1;if(Ww(h.maxContains)&&H>h.maxContains)return!1;return!0}function iYe(h,m,E){return DJ(E)}function cYe(h,m,E){if(!OM(E))return!1;if(Pc(h.exclusiveMaximum)&&!(E<h.exclusiveMaximum))return!1;if(Pc(h.exclusiveMinimum)&&!(E>h.exclusiveMinimum))return!1;if(Pc(h.maximum)&&!(E<=h.maximum))return!1;if(Pc(h.minimum)&&!(E>=h.minimum))return!1;if(Pc(h.multipleOf)&&E%h.multipleOf!==BigInt(0))return!1;return!0}function uYe(h,m,E){return SM(E)}function oYe(h,m,E){return Ph(h.returns,m,E.prototype)}function sYe(h,m,E){if(!EM(E))return!1;if(Pc(h.exclusiveMaximumTimestamp)&&!(E.getTime()<h.exclusiveMaximumTimestamp))return!1;if(Pc(h.exclusiveMinimumTimestamp)&&!(E.getTime()>h.exclusiveMinimumTimestamp))return!1;if(Pc(h.maximumTimestamp)&&!(E.getTime()<=h.maximumTimestamp))return!1;if(Pc(h.minimumTimestamp)&&!(E.getTime()>=h.minimumTimestamp))return!1;if(Pc(h.multipleOfTimestamp)&&E.getTime()%h.multipleOfTimestamp!==0)return!1;return!0}function fYe(h,m,E){return HJ(E)}function lYe(h,m,E){let A=globalThis.Object.values(h.$defs),H=h.$defs[h.$ref];return Ph(H,[...m,...A],E)}function hYe(h,m,E){if(!_J(E))return!1;if(Pc(h.exclusiveMaximum)&&!(E<h.exclusiveMaximum))return!1;if(Pc(h.exclusiveMinimum)&&!(E>h.exclusiveMinimum))return!1;if(Pc(h.maximum)&&!(E<=h.maximum))return!1;if(Pc(h.minimum)&&!(E>=h.minimum))return!1;if(Pc(h.multipleOf)&&E%h.multipleOf!==0)return!1;return!0}function aYe(h,m,E){let A=h.allOf.every((H)=>Ph(H,m,E));if(h.unevaluatedProperties===!1){let H=new RegExp(HM(h)),fn=Object.getOwnPropertyNames(E).every((On)=>H.test(On));return A&&fn}else if(Ua(h.unevaluatedProperties)){let H=new RegExp(HM(h)),fn=Object.getOwnPropertyNames(E).every((On)=>H.test(On)||Ph(h.unevaluatedProperties,m,E[On]));return A&&fn}else return A}function dYe(h,m,E){return KJ(E)}function bYe(h,m,E){return E===h.const}function wYe(h,m,E){return!1}function gYe(h,m,E){return!Ph(h.not,m,E)}function pYe(h,m,E){return xM(E)}function mYe(h,m,E){if(!z1.IsNumberLike(E))return!1;if(Pc(h.exclusiveMaximum)&&!(E<h.exclusiveMaximum))return!1;if(Pc(h.exclusiveMinimum)&&!(E>h.exclusiveMinimum))return!1;if(Pc(h.minimum)&&!(E>=h.minimum))return!1;if(Pc(h.maximum)&&!(E<=h.maximum))return!1;if(Pc(h.multipleOf)&&E%h.multipleOf!==0)return!1;return!0}function vYe(h,m,E){if(!z1.IsObjectLike(E))return!1;if(Pc(h.minProperties)&&!(Object.getOwnPropertyNames(E).length>=h.minProperties))return!1;if(Pc(h.maxProperties)&&!(Object.getOwnPropertyNames(E).length<=h.maxProperties))return!1;let A=Object.getOwnPropertyNames(h.properties);for(let H of A){let fn=h.properties[H];if(h.required&&h.required.includes(H)){if(!Ph(fn,m,E[H]))return!1;if((_k(fn)||nYe(fn))&&!(H in E))return!1}else if(z1.IsExactOptionalProperty(E,H)&&!Ph(fn,m,E[H]))return!1}if(h.additionalProperties===!1){let H=Object.getOwnPropertyNames(E);if(h.required&&h.required.length===A.length&&H.length===A.length)return!0;else return H.every((fn)=>A.includes(fn))}else if(typeof h.additionalProperties==="object")return Object.getOwnPropertyNames(E).every((fn)=>A.includes(fn)||Ph(h.additionalProperties,m,E[fn]));else return!0}function yYe(h,m,E){return BJ(E)}function kYe(h,m,E){if(!z1.IsRecordLike(E))return!1;if(Pc(h.minProperties)&&!(Object.getOwnPropertyNames(E).length>=h.minProperties))return!1;if(Pc(h.maxProperties)&&!(Object.getOwnPropertyNames(E).length<=h.maxProperties))return!1;let[A,H]=Object.entries(h.patternProperties)[0],fn=new RegExp(A),On=Object.entries(E).every(([at,Oe])=>fn.test(at)?Ph(H,m,Oe):!0),k=typeof h.additionalProperties==="object"?Object.entries(E).every(([at,Oe])=>!fn.test(at)?Ph(h.additionalProperties,m,Oe):!0):!0,Le=h.additionalProperties===!1?Object.getOwnPropertyNames(E).every((at)=>fn.test(at)):!0;return On&&k&&Le}function IYe(h,m,E){return Ph(Gk(h,m),m,E)}function jYe(h,m,E){let A=new RegExp(h.source,h.flags);if(Pc(h.minLength)){if(!(E.length>=h.minLength))return!1}if(Pc(h.maxLength)){if(!(E.length<=h.maxLength))return!1}return A.test(E)}function EYe(h,m,E){if(!Ib(E))return!1;if(Pc(h.minLength)){if(!(E.length>=h.minLength))return!1}if(Pc(h.maxLength)){if(!(E.length<=h.maxLength))return!1}if(Pc(h.pattern)){if(!new RegExp(h.pattern).test(E))return!1}if(Pc(h.format)){if(!zmn(h.format))return!1;return rge(h.format)(E)}return!0}function TYe(h,m,E){return CM(E)}function MYe(h,m,E){return Ib(E)&&new RegExp(h.pattern).test(E)}function xYe(h,m,E){return Ph(Gk(h,m),m,E)}function SYe(h,m,E){if(!Um(E))return!1;if(h.items===void 0&&E.length!==0)return!1;if(E.length!==h.maxItems)return!1;if(!h.items)return!0;for(let A=0;A<h.items.length;A++)if(!Ph(h.items[A],m,E[A]))return!1;return!0}function OYe(h,m,E){return f5(E)}function CYe(h,m,E){return h.anyOf.some((A)=>Ph(A,m,E))}function PYe(h,m,E){if(!TM(E))return!1;if(Pc(h.maxByteLength)&&!(E.length<=h.maxByteLength))return!1;if(Pc(h.minByteLength)&&!(E.length>=h.minByteLength))return!1;return!0}function AYe(h,m,E){return!0}function FYe(h,m,E){return z1.IsVoidLike(E)}function LYe(h,m,E){if(!Xmn(h[Fe]))return!1;return cge(h[Fe])(h,E)}function Ph(h,m,E){let A=Pc(h.$id)?B2e(h,m):m,H=h;switch(H[Fe]){case"Any":return eYe(H,A,E);case"Argument":return tYe(H,A,E);case"Array":return rYe(H,A,E);case"AsyncIterator":return iYe(H,A,E);case"BigInt":return cYe(H,A,E);case"Boolean":return uYe(H,A,E);case"Constructor":return oYe(H,A,E);case"Date":return sYe(H,A,E);case"Function":return fYe(H,A,E);case"Import":return lYe(H,A,E);case"Integer":return hYe(H,A,E);case"Intersect":return aYe(H,A,E);case"Iterator":return dYe(H,A,E);case"Literal":return bYe(H,A,E);case"Never":return wYe(H,A,E);case"Not":return gYe(H,A,E);case"Null":return pYe(H,A,E);case"Number":return mYe(H,A,E);case"Object":return vYe(H,A,E);case"Promise":return yYe(H,A,E);case"Record":return kYe(H,A,E);case"Ref":return IYe(H,A,E);case"RegExp":return jYe(H,A,E);case"String":return EYe(H,A,E);case"Symbol":return TYe(H,A,E);case"TemplateLiteral":return MYe(H,A,E);case"This":return xYe(H,A,E);case"Tuple":return SYe(H,A,E);case"Undefined":return OYe(H,A,E);case"Union":return CYe(H,A,E);case"Uint8Array":return PYe(H,A,E);case"Unknown":return AYe(H,A,E);case"Void":return FYe(H,A,E);default:if(!Xmn(H[Fe]))throw new q2e(H);return LYe(H,A,E)}}function z2e(...h){return h.length===3?Ph(h[0],h[1],h[2]):Ph(h[0],[],h[1])}var le;(function(h){h[h.ArrayContains=0]="ArrayContains",h[h.ArrayMaxContains=1]="ArrayMaxContains",h[h.ArrayMaxItems=2]="ArrayMaxItems",h[h.ArrayMinContains=3]="ArrayMinContains",h[h.ArrayMinItems=4]="ArrayMinItems",h[h.ArrayUniqueItems=5]="ArrayUniqueItems",h[h.Array=6]="Array",h[h.AsyncIterator=7]="AsyncIterator",h[h.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",h[h.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",h[h.BigIntMaximum=10]="BigIntMaximum",h[h.BigIntMinimum=11]="BigIntMinimum",h[h.BigIntMultipleOf=12]="BigIntMultipleOf",h[h.BigInt=13]="BigInt",h[h.Boolean=14]="Boolean",h[h.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",h[h.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",h[h.DateMaximumTimestamp=17]="DateMaximumTimestamp",h[h.DateMinimumTimestamp=18]="DateMinimumTimestamp",h[h.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",h[h.Date=20]="Date",h[h.Function=21]="Function",h[h.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",h[h.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",h[h.IntegerMaximum=24]="IntegerMaximum",h[h.IntegerMinimum=25]="IntegerMinimum",h[h.IntegerMultipleOf=26]="IntegerMultipleOf",h[h.Integer=27]="Integer",h[h.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",h[h.Intersect=29]="Intersect",h[h.Iterator=30]="Iterator",h[h.Kind=31]="Kind",h[h.Literal=32]="Literal",h[h.Never=33]="Never",h[h.Not=34]="Not",h[h.Null=35]="Null",h[h.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",h[h.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",h[h.NumberMaximum=38]="NumberMaximum",h[h.NumberMinimum=39]="NumberMinimum",h[h.NumberMultipleOf=40]="NumberMultipleOf",h[h.Number=41]="Number",h[h.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",h[h.ObjectMaxProperties=43]="ObjectMaxProperties",h[h.ObjectMinProperties=44]="ObjectMinProperties",h[h.ObjectRequiredProperty=45]="ObjectRequiredProperty",h[h.Object=46]="Object",h[h.Promise=47]="Promise",h[h.RegExp=48]="RegExp",h[h.StringFormatUnknown=49]="StringFormatUnknown",h[h.StringFormat=50]="StringFormat",h[h.StringMaxLength=51]="StringMaxLength",h[h.StringMinLength=52]="StringMinLength",h[h.StringPattern=53]="StringPattern",h[h.String=54]="String",h[h.Symbol=55]="Symbol",h[h.TupleLength=56]="TupleLength",h[h.Tuple=57]="Tuple",h[h.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",h[h.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",h[h.Uint8Array=60]="Uint8Array",h[h.Undefined=61]="Undefined",h[h.Union=62]="Union",h[h.Void=63]="Void"})(le||(le={}));class X2e extends Ys{constructor(h){super("Unknown type");this.schema=h}}function sv(h){return h.replace(/~/g,"~0").replace(/\\//g,"~1")}function Ac(h){return h!==void 0}class zN{constructor(h){this.iterator=h}[Symbol.iterator](){return this.iterator}First(){let h=this.iterator.next();return h.done?void 0:h.value}}function Kt(h,m,E,A,H=[]){return{type:h,schema:m,path:E,value:A,message:D2e()({errorType:h,path:E,schema:m,value:A,errors:H}),errors:H}}function*NYe(h,m,E,A){}function*RYe(h,m,E,A){}function*$Ye(h,m,E,A){if(!Um(A))return yield Kt(le.Array,h,E,A);if(Ac(h.minItems)&&!(A.length>=h.minItems))yield Kt(le.ArrayMinItems,h,E,A);if(Ac(h.maxItems)&&!(A.length<=h.maxItems))yield Kt(le.ArrayMaxItems,h,E,A);for(let On=0;On<A.length;On++)yield*Ah(h.items,m,\`\${E}/\${On}\`,A[On]);if(h.uniqueItems===!0&&!function(){let On=new Set;for(let k of A){let Le=pV(k);if(On.has(Le))return!1;else On.add(Le)}return!0}())yield Kt(le.ArrayUniqueItems,h,E,A);if(!(Ac(h.contains)||Ac(h.minContains)||Ac(h.maxContains)))return;let H=Ac(h.contains)?h.contains:wc(),fn=A.reduce((On,k,Le)=>Ah(H,m,\`\${E}\${Le}\`,k).next().done===!0?On+1:On,0);if(fn===0)yield Kt(le.ArrayContains,h,E,A);if(Ww(h.minContains)&&fn<h.minContains)yield Kt(le.ArrayMinContains,h,E,A);if(Ww(h.maxContains)&&fn>h.maxContains)yield Kt(le.ArrayMaxContains,h,E,A)}function*DYe(h,m,E,A){if(!DJ(A))yield Kt(le.AsyncIterator,h,E,A)}function*KYe(h,m,E,A){if(!OM(A))return yield Kt(le.BigInt,h,E,A);if(Ac(h.exclusiveMaximum)&&!(A<h.exclusiveMaximum))yield Kt(le.BigIntExclusiveMaximum,h,E,A);if(Ac(h.exclusiveMinimum)&&!(A>h.exclusiveMinimum))yield Kt(le.BigIntExclusiveMinimum,h,E,A);if(Ac(h.maximum)&&!(A<=h.maximum))yield Kt(le.BigIntMaximum,h,E,A);if(Ac(h.minimum)&&!(A>=h.minimum))yield Kt(le.BigIntMinimum,h,E,A);if(Ac(h.multipleOf)&&A%h.multipleOf!==BigInt(0))yield Kt(le.BigIntMultipleOf,h,E,A)}function*BYe(h,m,E,A){if(!SM(A))yield Kt(le.Boolean,h,E,A)}function*_Ye(h,m,E,A){yield*Ah(h.returns,m,E,A.prototype)}function*HYe(h,m,E,A){if(!EM(A))return yield Kt(le.Date,h,E,A);if(Ac(h.exclusiveMaximumTimestamp)&&!(A.getTime()<h.exclusiveMaximumTimestamp))yield Kt(le.DateExclusiveMaximumTimestamp,h,E,A);if(Ac(h.exclusiveMinimumTimestamp)&&!(A.getTime()>h.exclusiveMinimumTimestamp))yield Kt(le.DateExclusiveMinimumTimestamp,h,E,A);if(Ac(h.maximumTimestamp)&&!(A.getTime()<=h.maximumTimestamp))yield Kt(le.DateMaximumTimestamp,h,E,A);if(Ac(h.minimumTimestamp)&&!(A.getTime()>=h.minimumTimestamp))yield Kt(le.DateMinimumTimestamp,h,E,A);if(Ac(h.multipleOfTimestamp)&&A.getTime()%h.multipleOfTimestamp!==0)yield Kt(le.DateMultipleOfTimestamp,h,E,A)}function*GYe(h,m,E,A){if(!HJ(A))yield Kt(le.Function,h,E,A)}function*UYe(h,m,E,A){let H=globalThis.Object.values(h.$defs),fn=h.$defs[h.$ref];yield*Ah(fn,[...m,...H],E,A)}function*qYe(h,m,E,A){if(!_J(A))return yield Kt(le.Integer,h,E,A);if(Ac(h.exclusiveMaximum)&&!(A<h.exclusiveMaximum))yield Kt(le.IntegerExclusiveMaximum,h,E,A);if(Ac(h.exclusiveMinimum)&&!(A>h.exclusiveMinimum))yield Kt(le.IntegerExclusiveMinimum,h,E,A);if(Ac(h.maximum)&&!(A<=h.maximum))yield Kt(le.IntegerMaximum,h,E,A);if(Ac(h.minimum)&&!(A>=h.minimum))yield Kt(le.IntegerMinimum,h,E,A);if(Ac(h.multipleOf)&&A%h.multipleOf!==0)yield Kt(le.IntegerMultipleOf,h,E,A)}function*zYe(h,m,E,A){let H=!1;for(let fn of h.allOf)for(let On of Ah(fn,m,E,A))H=!0,yield On;if(H)return yield Kt(le.Intersect,h,E,A);if(h.unevaluatedProperties===!1){let fn=new RegExp(HM(h));for(let On of Object.getOwnPropertyNames(A))if(!fn.test(On))yield Kt(le.IntersectUnevaluatedProperties,h,\`\${E}/\${On}\`,A)}if(typeof h.unevaluatedProperties==="object"){let fn=new RegExp(HM(h));for(let On of Object.getOwnPropertyNames(A))if(!fn.test(On)){let k=Ah(h.unevaluatedProperties,m,\`\${E}/\${On}\`,A[On]).next();if(!k.done)yield k.value}}}function*XYe(h,m,E,A){if(!KJ(A))yield Kt(le.Iterator,h,E,A)}function*WYe(h,m,E,A){if(A!==h.const)yield Kt(le.Literal,h,E,A)}function*JYe(h,m,E,A){yield Kt(le.Never,h,E,A)}function*VYe(h,m,E,A){if(Ah(h.not,m,E,A).next().done===!0)yield Kt(le.Not,h,E,A)}function*QYe(h,m,E,A){if(!xM(A))yield Kt(le.Null,h,E,A)}function*YYe(h,m,E,A){if(!z1.IsNumberLike(A))return yield Kt(le.Number,h,E,A);if(Ac(h.exclusiveMaximum)&&!(A<h.exclusiveMaximum))yield Kt(le.NumberExclusiveMaximum,h,E,A);if(Ac(h.exclusiveMinimum)&&!(A>h.exclusiveMinimum))yield Kt(le.NumberExclusiveMinimum,h,E,A);if(Ac(h.maximum)&&!(A<=h.maximum))yield Kt(le.NumberMaximum,h,E,A);if(Ac(h.minimum)&&!(A>=h.minimum))yield Kt(le.NumberMinimum,h,E,A);if(Ac(h.multipleOf)&&A%h.multipleOf!==0)yield Kt(le.NumberMultipleOf,h,E,A)}function*ZYe(h,m,E,A){if(!z1.IsObjectLike(A))return yield Kt(le.Object,h,E,A);if(Ac(h.minProperties)&&!(Object.getOwnPropertyNames(A).length>=h.minProperties))yield Kt(le.ObjectMinProperties,h,E,A);if(Ac(h.maxProperties)&&!(Object.getOwnPropertyNames(A).length<=h.maxProperties))yield Kt(le.ObjectMaxProperties,h,E,A);let H=Array.isArray(h.required)?h.required:[],fn=Object.getOwnPropertyNames(h.properties),On=Object.getOwnPropertyNames(A);for(let k of H){if(On.includes(k))continue;yield Kt(le.ObjectRequiredProperty,h.properties[k],\`\${E}/\${sv(k)}\`,void 0)}if(h.additionalProperties===!1){for(let k of On)if(!fn.includes(k))yield Kt(le.ObjectAdditionalProperties,h,\`\${E}/\${sv(k)}\`,A[k])}if(typeof h.additionalProperties==="object")for(let k of On){if(fn.includes(k))continue;yield*Ah(h.additionalProperties,m,\`\${E}/\${sv(k)}\`,A[k])}for(let k of fn){let Le=h.properties[k];if(h.required&&h.required.includes(k)){if(yield*Ah(Le,m,\`\${E}/\${sv(k)}\`,A[k]),_k(h)&&!(k in A))yield Kt(le.ObjectRequiredProperty,Le,\`\${E}/\${sv(k)}\`,void 0)}else if(z1.IsExactOptionalProperty(A,k))yield*Ah(Le,m,\`\${E}/\${sv(k)}\`,A[k])}}function*nZe(h,m,E,A){if(!BJ(A))yield Kt(le.Promise,h,E,A)}function*eZe(h,m,E,A){if(!z1.IsRecordLike(A))return yield Kt(le.Object,h,E,A);if(Ac(h.minProperties)&&!(Object.getOwnPropertyNames(A).length>=h.minProperties))yield Kt(le.ObjectMinProperties,h,E,A);if(Ac(h.maxProperties)&&!(Object.getOwnPropertyNames(A).length<=h.maxProperties))yield Kt(le.ObjectMaxProperties,h,E,A);let[H,fn]=Object.entries(h.patternProperties)[0],On=new RegExp(H);for(let[k,Le]of Object.entries(A))if(On.test(k))yield*Ah(fn,m,\`\${E}/\${sv(k)}\`,Le);if(typeof h.additionalProperties==="object"){for(let[k,Le]of Object.entries(A))if(!On.test(k))yield*Ah(h.additionalProperties,m,\`\${E}/\${sv(k)}\`,Le)}if(h.additionalProperties===!1)for(let[k,Le]of Object.entries(A)){if(On.test(k))continue;return yield Kt(le.ObjectAdditionalProperties,h,\`\${E}/\${sv(k)}\`,Le)}}function*tZe(h,m,E,A){yield*Ah(Gk(h,m),m,E,A)}function*rZe(h,m,E,A){if(!Ib(A))return yield Kt(le.String,h,E,A);if(Ac(h.minLength)&&!(A.length>=h.minLength))yield Kt(le.StringMinLength,h,E,A);if(Ac(h.maxLength)&&!(A.length<=h.maxLength))yield Kt(le.StringMaxLength,h,E,A);if(!new RegExp(h.source,h.flags).test(A))return yield Kt(le.RegExp,h,E,A)}function*iZe(h,m,E,A){if(!Ib(A))return yield Kt(le.String,h,E,A);if(Ac(h.minLength)&&!(A.length>=h.minLength))yield Kt(le.StringMinLength,h,E,A);if(Ac(h.maxLength)&&!(A.length<=h.maxLength))yield Kt(le.StringMaxLength,h,E,A);if(Ib(h.pattern)){if(!new RegExp(h.pattern).test(A))yield Kt(le.StringPattern,h,E,A)}if(Ib(h.format)){if(!zmn(h.format))yield Kt(le.StringFormatUnknown,h,E,A);else if(!rge(h.format)(A))yield Kt(le.StringFormat,h,E,A)}}function*cZe(h,m,E,A){if(!CM(A))yield Kt(le.Symbol,h,E,A)}function*uZe(h,m,E,A){if(!Ib(A))return yield Kt(le.String,h,E,A);if(!new RegExp(h.pattern).test(A))yield Kt(le.StringPattern,h,E,A)}function*oZe(h,m,E,A){yield*Ah(Gk(h,m),m,E,A)}function*sZe(h,m,E,A){if(!Um(A))return yield Kt(le.Tuple,h,E,A);if(h.items===void 0&&A.length!==0)return yield Kt(le.TupleLength,h,E,A);if(A.length!==h.maxItems)return yield Kt(le.TupleLength,h,E,A);if(!h.items)return;for(let H=0;H<h.items.length;H++)yield*Ah(h.items[H],m,\`\${E}/\${H}\`,A[H])}function*fZe(h,m,E,A){if(!f5(A))yield Kt(le.Undefined,h,E,A)}function*lZe(h,m,E,A){if(z2e(h,m,A))return;let H=h.anyOf.map((fn)=>new zN(Ah(fn,m,E,A)));yield Kt(le.Union,h,E,A,H)}function*hZe(h,m,E,A){if(!TM(A))return yield Kt(le.Uint8Array,h,E,A);if(Ac(h.maxByteLength)&&!(A.length<=h.maxByteLength))yield Kt(le.Uint8ArrayMaxByteLength,h,E,A);if(Ac(h.minByteLength)&&!(A.length>=h.minByteLength))yield Kt(le.Uint8ArrayMinByteLength,h,E,A)}function*aZe(h,m,E,A){}function*dZe(h,m,E,A){if(!z1.IsVoidLike(A))yield Kt(le.Void,h,E,A)}function*bZe(h,m,E,A){if(!cge(h[Fe])(h,A))yield Kt(le.Kind,h,E,A)}function*Ah(h,m,E,A){let H=Ac(h.$id)?[...m,h]:m,fn=h;switch(fn[Fe]){case"Any":return yield*NYe(fn,H,E,A);case"Argument":return yield*RYe(fn,H,E,A);case"Array":return yield*$Ye(fn,H,E,A);case"AsyncIterator":return yield*DYe(fn,H,E,A);case"BigInt":return yield*KYe(fn,H,E,A);case"Boolean":return yield*BYe(fn,H,E,A);case"Constructor":return yield*_Ye(fn,H,E,A);case"Date":return yield*HYe(fn,H,E,A);case"Function":return yield*GYe(fn,H,E,A);case"Import":return yield*UYe(fn,H,E,A);case"Integer":return yield*qYe(fn,H,E,A);case"Intersect":return yield*zYe(fn,H,E,A);case"Iterator":return yield*XYe(fn,H,E,A);case"Literal":return yield*WYe(fn,H,E,A);case"Never":return yield*JYe(fn,H,E,A);case"Not":return yield*VYe(fn,H,E,A);case"Null":return yield*QYe(fn,H,E,A);case"Number":return yield*YYe(fn,H,E,A);case"Object":return yield*ZYe(fn,H,E,A);case"Promise":return yield*nZe(fn,H,E,A);case"Record":return yield*eZe(fn,H,E,A);case"Ref":return yield*tZe(fn,H,E,A);case"RegExp":return yield*rZe(fn,H,E,A);case"String":return yield*iZe(fn,H,E,A);case"Symbol":return yield*cZe(fn,H,E,A);case"TemplateLiteral":return yield*uZe(fn,H,E,A);case"This":return yield*oZe(fn,H,E,A);case"Tuple":return yield*sZe(fn,H,E,A);case"Undefined":return yield*fZe(fn,H,E,A);case"Union":return yield*lZe(fn,H,E,A);case"Uint8Array":return yield*hZe(fn,H,E,A);case"Unknown":return yield*aZe(fn,H,E,A);case"Void":return yield*dZe(fn,H,E,A);default:if(!Xmn(fn[Fe]))throw new X2e(h);return yield*bZe(fn,H,E,A)}}function W2e(...h){let m=h.length===3?Ah(h[0],h[1],"",h[2]):Ah(h[0],[],"",h[1]);return new zN(m)}function c0(h,m,E,A){let H=new Set;return h.forEach((fn,On)=>{if(fn.id===void 0)return;if(H.has(fn.id))A.push({path:\`/\${m}/\${On}/id\`,message:\`Duplicate \${E} id "\${fn.id}"\`});H.add(fn.id)}),H}function YM(h){let m=new Set(h.map((On)=>On.id)),E=new Map;for(let On of h)if(On.parent!==void 0&&m.has(On.parent))E.set(On.id,On.parent);let A=new Map;h.forEach((On,k)=>{if(!A.has(On.id))A.set(On.id,k)});let H=new Map,fn=[];for(let On of h){if(H.has(On.id))continue;let k=[],Le=new Map,at=On.id;while(at!==void 0&&!H.has(at))H.set(at,1),Le.set(at,k.length),k.push(at),at=E.get(at);if(at!==void 0&&H.get(at)===1){let Oe=k.slice(Le.get(at)),Zr=0;Oe.forEach((ae,be)=>{if(A.get(ae)<A.get(Oe[Zr]))Zr=be});let Re=[...Oe.slice(Zr),...Oe.slice(0,Zr)];fn.push({index:A.get(Re[0]),cycle:[...Re,Re[0]]})}for(let Oe of k)H.set(Oe,2)}return fn.sort((On,k)=>On.index-k.index)}function J2e(h){let m=[],E=c0(h.entities,"entities","entity",m),A=h.relations??[];return c0(A,"relations","relation",m),A.forEach((H,fn)=>{if(!E.has(H.from))m.push({path:\`/relations/\${fn}/from\`,message:\`Relation source "\${H.from}" is not a known entity id\`});if(!E.has(H.to))m.push({path:\`/relations/\${fn}/to\`,message:\`Relation target "\${H.to}" is not a known entity id\`})}),h.entities.forEach((H,fn)=>{let On=new Set;(H.attributes??[]).forEach((k,Le)=>{let at=\`/entities/\${fn}/attributes/\${Le}\`;if(On.has(k.name))m.push({path:\`\${at}/name\`,message:\`Duplicate attribute "\${k.name}" in entity "\${H.id}"\`});On.add(k.name);let Oe=new Set;(k.keys??[]).forEach((Zr,Re)=>{if(Oe.has(Zr))m.push({path:\`\${at}/keys/\${Re}\`,message:\`Duplicate key "\${Zr}"\`});Oe.add(Zr)})})}),m}function V2e(h){let m=[],E=c0(h.nodes,"nodes","node",m),A=h.groups??[],H=c0(A,"groups","group",m),fn=h.edges??[];c0(fn,"edges","edge",m),fn.forEach((On,k)=>{if(!E.has(On.from))m.push({path:\`/edges/\${k}/from\`,message:\`Edge source "\${On.from}" is not a known node id\`});if(!E.has(On.to))m.push({path:\`/edges/\${k}/to\`,message:\`Edge target "\${On.to}" is not a known node id\`})}),h.nodes.forEach((On,k)=>{if(On.group!==void 0&&!H.has(On.group))m.push({path:\`/nodes/\${k}/group\`,message:\`Group "\${On.group}" is not a known group id\`})}),A.forEach((On,k)=>{if(On.parent!==void 0&&!H.has(On.parent))m.push({path:\`/groups/\${k}/parent\`,message:\`Parent group "\${On.parent}" is not a known group id\`})});for(let{index:On,cycle:k}of YM(A))m.push({path:\`/groups/\${On}/parent\`,message:\`Group parent cycle: \${k.join(" -> ")}\`});return m}function Q2e(h){let m=[],E=c0(h.participants,"participants","participant",m);return h.messages.forEach((A,H)=>{if(!E.has(A.from))m.push({path:\`/messages/\${H}/from\`,message:\`Message sender "\${A.from}" is not a known participant id\`});if(!E.has(A.to))m.push({path:\`/messages/\${H}/to\`,message:\`Message recipient "\${A.to}" is not a known participant id\`})}),m}function Y2e(h){let m=[],E=c0(h.states,"states","state",m),A=h.transitions??[];c0(A,"transitions","transition",m);let H=new Map;for(let k of h.states)if(!H.has(k.id))H.set(k.id,k.pseudo);let fn=new Map;A.forEach((k,Le)=>{if(fn.set(k.from,(fn.get(k.from)??0)+1),!E.has(k.from))m.push({path:\`/transitions/\${Le}/from\`,message:\`Transition source "\${k.from}" is not a known state id\`});else if(H.get(k.from)==="final")m.push({path:\`/transitions/\${Le}/from\`,message:\`Transition out of a final pseudo-state "\${k.from}"\`});if(!E.has(k.to))m.push({path:\`/transitions/\${Le}/to\`,message:\`Transition target "\${k.to}" is not a known state id\`});else if(H.get(k.to)==="initial")m.push({path:\`/transitions/\${Le}/to\`,message:\`Transition into an initial pseudo-state "\${k.to}"\`})});let On=new Set;h.states.forEach((k,Le)=>{if(k.parent!==void 0){if(!E.has(k.parent))m.push({path:\`/states/\${Le}/parent\`,message:\`Parent state "\${k.parent}" is not a known state id\`});else if(H.get(k.parent)!==void 0)m.push({path:\`/states/\${Le}/parent\`,message:\`Parent state "\${k.parent}" is a pseudo-state and cannot contain states\`})}if(k.pseudo!==void 0&&k.actions!==void 0&&k.actions.length>0)m.push({path:\`/states/\${Le}/actions\`,message:"Pseudo-states carry no actions"});if(k.pseudo==="initial"){let at=fn.get(k.id)??0;if(at!==1)m.push({path:\`/states/\${Le}\`,message:\`Initial pseudo-state "\${k.id}" needs exactly one outgoing transition (found \${at})\`});let Oe=k.parent??"root";if(On.has(Oe))m.push({path:\`/states/\${Le}/pseudo\`,message:\`More than one initial pseudo-state in region "\${Oe}"\`});On.add(Oe)}});for(let{index:k,cycle:Le}of YM(h.states))m.push({path:\`/states/\${k}/parent\`,message:\`State parent cycle: \${Le.join(" -> ")}\`});return m}function Z2e(h){let m=[],E=c0(h.nodes,"nodes","node",m);h.nodes.forEach((H,fn)=>{if(H.parent!==void 0&&!E.has(H.parent))m.push({path:\`/nodes/\${fn}/parent\`,message:\`Parent node "\${H.parent}" is not a known node id\`})});for(let{index:H,cycle:fn}of YM(h.nodes))m.push({path:\`/nodes/\${H}/parent\`,message:\`Node parent cycle: \${fn.join(" -> ")}\`});let A;if(h.nodes.forEach((H,fn)=>{if(H.parent!==void 0)return;if(A===void 0){A=H.id;return}m.push({path:\`/nodes/\${fn}\`,message:\`Second root "\${H.id}": a tree has exactly one node without parent (first: "\${A}")\`})}),A===void 0)m.push({path:"/nodes",message:"A tree needs exactly one root (a node without parent): found none"});if(h.layout==="mindmap"&&h.direction!==void 0)m.push({path:"/direction",message:'direction does not apply to layout "mindmap"'});return m}var wZe=/^\\d{4}-\\d{2}-\\d{2}[Tt]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([Zz]|[+-]\\d{2}:\\d{2})$/,epe=\`Missing or unsupported version: this tool supports version \${I5} only\`;if(!zmn("date-time"))gXe("date-time",(h)=>wZe.test(h)&&!Number.isNaN(Date.parse(h)));function gZe(h){return typeof h==="object"&&h!==null&&!Array.isArray(h)}function XN(h,m){return{schema:h,semantic:m}}var E3n={graph:XN(d3n,V2e),sequence:XN(b3n,Q2e),state:XN(g3n,Y2e),er:XN(v3n,J2e),tree:XN(k3n,Z2e)},npe=Object.keys(E3n).map((h)=>JSON.stringify(h)).join(", ");function pZe(h,m){let E=[];for(let A of W2e(h,m)){let H=A.message;if(A.path==="/version")H=epe;else if(A.type===le.Union)H=A.path.endsWith("/shape")?\`Expected one of \${a3n.join(", ")}\`:A.path.endsWith("/pseudo")?\`Expected one of \${w3n.join(", ")}\`:A.path.endsWith("Cardinality")?\`Expected one of \${m3n.join(", ")}\`:/\\/keys\\/\\d+$/.test(A.path)?\`Expected one of \${p3n.join(", ")}\`:A.path==="/layout"?\`Expected one of \${y3n.join(", ")}\`:"Expected a string, a number or a boolean";else if(A.type===le.ObjectAdditionalProperties)H="Unexpected property";else if(A.type===le.StringFormat)H=\`Expected a valid \${String(A.schema.format)} string\`;E.push({path:A.path,message:H})}return E}function T3n(h){if(!gZe(h))return{ok:!1,errors:[{path:"",message:"Expected a JSON object"}]};let{kind:m}=h,E=typeof m==="string"&&Object.hasOwn(E3n,m)?E3n[m]:void 0;if(E===void 0){let fn=[{path:"/kind",message:m===void 0?\`Missing kind: expected one of \${npe}\`:\`Unknown kind \${JSON.stringify(m)}: expected one of \${npe}\`}];if(h.version!==I5)fn.push({path:"/version",message:epe});return{ok:!1,errors:fn}}let A=pZe(E.schema,h);if(A.length>0)return{ok:!1,errors:A};let H=E.semantic(h);if(H.length>0)return{ok:!1,errors:H};return{ok:!0,document:h}}var spe=Fze(rpe(),1);var ipe={regular:{unitsPerEm:2048,ascender:1984,descender:-494,fallback:1098,advances:{32:576,33:589,34:954,35:1297,36:1314,37:2011,38:1319,39:614,40:747,41:747,42:1026,43:1355,44:590,45:942,46:590,47:738,48:1292,49:833,50:1249,51:1265,52:1323,53:1215,54:1270,55:1159,56:1267,57:1270,58:590,59:618,60:1355,61:1355,62:1355,63:1047,64:1978,65:1413,66:1340,67:1496,68:1478,69:1231,70:1209,71:1528,72:1522,73:550,74:1169,75:1376,76:1158,77:1850,78:1543,79:1566,80:1308,81:1566,82:1318,83:1314,84:1322,85:1524,86:1413,87:2018,88:1397,89:1390,90:1288,91:747,92:738,93:747,94:965,95:934,96:661,97:1150,98:1254,99:1170,100:1254,101:1194,102:758,103:1256,104:1211,105:496,106:496,107:1124,108:496,109:1794,110:1210,111:1228,112:1254,113:1254,114:771,115:1081,116:670,117:1211,118:1151,119:1676,120:1118,121:1151,122:1131,123:873,124:681,125:873,126:1355,160:576,161:589,162:1170,163:1251,164:1484,165:1126,166:553,167:1164,168:1210,169:1872,170:929,171:1193,172:1355,174:1364,175:978,176:933,177:1355,178:905,179:913,180:661,181:1200,182:1234,183:590,184:549,185:623,186:988,187:1193,188:1643,189:1735,190:1806,191:1047,192:1413,193:1413,194:1413,195:1413,196:1413,197:1413,198:2035,199:1496,200:1231,201:1231,202:1231,203:1231,204:550,205:550,206:550,207:550,208:1505,209:1543,210:1566,211:1566,212:1566,213:1566,214:1566,215:1355,216:1566,217:1524,218:1524,219:1524,220:1524,221:1390,222:1302,223:1262,224:1150,225:1150,226:1150,227:1150,228:1150,229:1150,230:1879,231:1170,232:1194,233:1194,234:1194,235:1194,236:496,237:496,238:496,239:496,240:1193,241:1210,242:1228,243:1228,244:1228,245:1228,246:1228,247:1355,248:1228,249:1211,250:1211,251:1211,252:1211,253:1151,254:1254,255:1151,256:1413,257:1150,258:1413,259:1150,260:1413,261:1150,262:1496,263:1170,264:1496,265:1170,266:1496,267:1170,268:1496,269:1170,270:1478,271:1454,272:1505,273:1254,274:1231,275:1194,276:1231,277:1194,278:1231,279:1194,280:1231,281:1194,282:1231,283:1194,284:1528,285:1256,286:1528,287:1256,288:1528,289:1256,290:1528,291:1256,292:1522,293:1211,294:1590,295:1211,296:550,297:496,298:550,299:496,300:550,301:496,302:550,303:496,304:550,305:496,306:1719,307:992,308:1169,309:496,310:1376,311:1124,312:1076,313:1158,314:496,315:1158,316:496,317:1158,318:696,319:1152,320:736,321:1218,322:496,323:1543,324:1210,325:1543,326:1210,327:1543,328:1210,330:1543,331:1210,332:1566,333:1228,334:1566,335:1228,336:1566,337:1228,338:2058,339:2047,340:1318,341:771,342:1318,343:771,344:1318,345:771,346:1314,347:1081,348:1314,349:1081,350:1314,351:1081,352:1314,353:1081,354:1322,355:670,356:1322,357:770,358:1322,359:670,360:1524,361:1211,362:1524,363:1211,364:1524,365:1211,366:1524,367:1211,368:1524,369:1211,370:1524,371:1211,372:2018,373:1676,374:1390,375:1151,376:1390,377:1288,378:1131,379:1288,380:1131,381:1288,382:1131,383:644,384:1254,385:1620,386:1344,387:1254,388:1611,389:1420,390:1496,391:1496,392:1185,393:1505,394:1758,395:1298,396:1254,397:1112,398:1231,399:1528,400:1265,401:1209,402:798,403:1528,404:1302,405:1949,406:564,407:690,408:1389,409:1124,410:496,411:1314,412:1859,413:1543,414:1211,415:1566,416:1560,417:1222,418:1784,419:1307,420:1588,421:1254,422:1486,423:1314,424:1081,425:1292,426:1120,427:670,428:1327,429:661,430:1322,431:1518,432:1269,433:1567,434:1299,435:1460,436:1390,437:1288,438:1131,439:1402,440:1402,441:1270,442:1109,443:1249,444:1247,445:1115,446:1112,447:1298,448:546,449:734,450:496,451:589,453:2609,454:2385,455:2327,456:1654,457:992,458:2712,459:2039,460:1706,461:1413,462:1150,463:550,464:496,465:1566,466:1228,467:1524,468:1211,469:1524,470:1211,471:1524,472:1211,473:1524,474:1211,475:1524,476:1211,477:1194,478:1413,479:1150,480:1413,481:1150,482:2035,483:1879,484:1528,485:1376,486:1528,487:1256,488:1376,489:1124,490:1566,491:1228,492:1566,493:1228,494:1402,495:1270,496:496,497:2766,498:2609,499:2385,500:1528,501:1256,502:2290,503:1302,504:1543,505:1210,506:1413,507:1150,508:2035,509:1879,510:1566,511:1228,512:1413,513:1150,514:1413,515:1150,516:1231,517:1194,518:1231,519:1194,520:550,521:496,522:550,523:496,524:1566,525:1228,526:1566,527:1228,528:1318,529:771,530:1318,531:771,532:1524,533:1211,534:1524,535:1211,536:1314,537:1081,538:1322,539:670,540:1298,541:1113,542:1522,543:1211,544:1295,545:1574,546:1295,547:1294,548:1288,549:1131,550:1413,551:1150,552:1231,553:1194,554:1566,555:1228,556:1566,557:1228,558:1566,559:1228,560:1566,561:1228,562:1390,563:1151,564:816,565:1530,566:836,567:496,568:1853,569:1853,570:1413,571:1496,572:1170,573:1185,574:1322,575:1081,576:1131,577:1112,578:1113,579:1340,580:1518,581:1486,582:1231,583:1194,584:1239,585:496,586:1566,587:1254,588:1326,589:771,590:1368,591:1151,8192:1118,8193:2234,8194:1024,8195:2048,8196:684,8197:512,8198:340,8199:1328,8200:590,8201:372,8202:186,8203:0,8208:734,8209:734,8210:1328,8211:1024,8212:2048,8213:2048,8214:981,8215:927,8216:534,8217:534,8218:494,8219:534,8220:902,8221:902,8222:862,8223:902,8224:1006,8225:1006,8226:1152,8227:1152,8228:590,8229:1180,8230:1770,8231:590,8239:372,8240:2735,8241:3459,8242:456,8243:906,8244:1356,8245:456,8246:906,8247:1356,8248:932,8249:787,8250:787,8251:1310,8252:1178,8253:1038,8254:1106,8255:1673,8256:1673,8257:926,8258:1481,8259:1152,8260:393,8261:747,8262:747,8263:2094,8264:1636,8265:1636,8266:910,8267:1234,8268:1212,8269:1212,8270:1026,8271:618,8272:1664,8273:1106,8274:1513,8275:1486,8276:1673,8277:1125,8279:1806,8287:576,8592:1954,8593:1708,8594:1954,8595:1708,8596:2746,8597:1708,8598:1588,8599:1588,8600:1588,8601:1588,8617:2343,8618:2343,8624:2022,8625:2022,8627:2022,8628:1709,8629:2022,8634:1954,8635:1954,8656:1954,8658:1954,8660:2746,8670:1245,8671:1245,8676:2078,8677:2078,8679:2111,8682:2111}},semibold:{unitsPerEm:2048,ascender:1984,descender:-494,fallback:1135,advances:{32:516,33:658,34:1071,35:1318,36:1332,37:2057,38:1357,39:667,40:764,41:764,42:1105,43:1378,44:653,45:953,46:653,47:776,48:1351,49:866,50:1276,51:1303,52:1364,53:1254,54:1310,55:1180,56:1311,57:1310,58:653,59:674,60:1378,61:1378,62:1378,63:1113,64:2046,65:1490,66:1350,67:1509,68:1479,69:1240,70:1204,71:1534,72:1527,73:567,74:1187,75:1440,76:1158,77:1889,78:1555,79:1574,80:1321,81:1583,82:1336,83:1332,84:1352,85:1507,86:1490,87:2089,88:1474,89:1461,90:1336,91:764,92:776,93:764,94:986,95:961,96:719,97:1176,98:1278,99:1193,100:1278,101:1211,102:796,103:1281,104:1254,105:536,106:536,107:1166,108:536,109:1844,110:1253,111:1247,112:1278,113:1278,114:813,115:1125,116:723,117:1254,118:1202,119:1719,120:1165,121:1205,122:1159,123:931,124:735,125:931,126:1378,160:516,161:658,162:1193,163:1289,164:1534,165:1154,166:647,167:1164,168:1253,169:1872,170:943,171:1299,172:1378,174:1359,175:925,176:938,177:1378,178:929,179:949,180:719,181:1258,182:1229,183:653,184:680,185:663,186:998,187:1299,188:1702,189:1781,190:1858,191:1113,192:1490,193:1490,194:1490,195:1490,196:1490,197:1490,198:2075,199:1509,200:1240,201:1240,202:1240,203:1240,204:567,205:567,206:567,207:567,208:1539,209:1555,210:1574,211:1574,212:1574,213:1574,214:1574,215:1378,216:1574,217:1507,218:1507,219:1507,220:1507,221:1461,222:1347,223:1318,224:1176,225:1176,226:1176,227:1176,228:1176,229:1176,230:1869,231:1193,232:1211,233:1211,234:1211,235:1211,236:536,237:536,238:536,239:536,240:1216,241:1253,242:1247,243:1247,244:1247,245:1247,246:1247,247:1378,248:1247,249:1254,250:1254,251:1254,252:1254,253:1205,254:1278,255:1205,256:1490,257:1176,258:1490,259:1176,260:1490,261:1176,262:1509,263:1193,264:1509,265:1193,266:1509,267:1193,268:1509,269:1193,270:1479,271:1514,272:1539,273:1278,274:1240,275:1211,276:1240,277:1211,278:1240,279:1211,280:1240,281:1211,282:1240,283:1211,284:1534,285:1281,286:1534,287:1281,288:1534,289:1281,290:1534,291:1281,292:1527,293:1254,294:1632,295:1254,296:567,297:536,298:567,299:536,300:567,301:536,302:567,303:536,304:567,305:536,306:1754,307:1071,308:1187,309:536,310:1440,311:1166,312:1160,313:1158,314:536,315:1158,316:536,317:1158,318:772,319:1173,320:858,321:1232,322:536,323:1555,324:1253,325:1555,326:1253,327:1555,328:1253,330:1555,331:1253,332:1574,333:1247,334:1574,335:1247,336:1574,337:1247,338:2076,339:2031,340:1336,341:813,342:1336,343:813,344:1336,345:813,346:1332,347:1125,348:1332,349:1125,350:1332,351:1125,352:1332,353:1125,354:1352,355:723,356:1352,357:859,358:1352,359:723,360:1507,361:1254,362:1507,363:1254,364:1507,365:1254,366:1507,367:1254,368:1507,369:1254,370:1507,371:1254,372:2089,373:1719,374:1461,375:1205,376:1461,377:1336,378:1159,379:1336,380:1159,381:1336,382:1159,383:685,384:1278,385:1702,386:1343,387:1278,388:1694,389:1500,390:1509,391:1509,392:1241,393:1539,394:1831,395:1345,396:1278,397:1251,398:1240,399:1534,400:1303,401:1204,402:897,403:1534,404:1439,405:1990,406:610,407:728,408:1454,409:1166,410:536,411:1370,412:1918,413:1555,414:1254,415:1574,416:1584,417:1243,418:1865,419:1440,420:1673,421:1278,422:1534,423:1332,424:1125,425:1341,426:1253,427:723,428:1429,429:718,430:1352,431:1504,432:1323,433:1585,434:1343,435:1557,436:1440,437:1336,438:1159,439:1406,440:1406,441:1306,442:1152,443:1276,444:1283,445:1253,446:1154,447:1349,448:587,449:778,450:536,451:658,453:2637,454:2437,455:2345,456:1694,457:1071,458:2742,459:2090,460:1789,461:1490,462:1176,463:567,464:536,465:1574,466:1247,467:1507,468:1254,469:1507,470:1254,471:1507,472:1254,473:1507,474:1254,475:1507,476:1254,477:1211,478:1490,479:1176,480:1490,481:1176,482:2075,483:1869,484:1534,485:1400,486:1534,487:1281,488:1440,489:1166,490:1574,491:1247,492:1574,493:1247,494:1406,495:1306,496:536,497:2815,498:2637,499:2437,500:1534,501:1281,502:2298,503:1443,504:1555,505:1253,506:1490,507:1176,508:2075,509:1869,510:1574,511:1247,512:1490,513:1176,514:1490,515:1176,516:1240,517:1211,518:1240,519:1211,520:567,521:536,522:567,523:536,524:1574,525:1247,526:1574,527:1247,528:1336,529:813,530:1336,531:813,532:1507,533:1254,534:1507,535:1254,536:1332,537:1125,538:1352,539:723,540:1344,541:1155,542:1527,543:1254,544:1344,545:1598,546:1343,547:1342,548:1336,549:1159,550:1490,551:1176,552:1240,553:1211,554:1574,555:1247,556:1574,557:1247,558:1574,559:1247,560:1574,561:1247,562:1461,563:1205,564:856,565:1573,566:912,567:536,568:1912,569:1912,570:1490,571:1509,572:1193,573:1218,574:1352,575:1125,576:1159,577:1154,578:1155,579:1379,580:1541,581:1534,582:1240,583:1211,584:1268,585:536,586:1578,587:1278,588:1361,589:813,590:1439,591:1205,8192:1149,8193:2285,8194:1024,8195:2048,8196:684,8197:512,8198:340,8199:1325,8200:653,8201:339,8202:169,8203:0,8208:864,8209:864,8210:1325,8211:1024,8212:2048,8213:2048,8214:1099,8215:959,8216:602,8217:602,8218:558,8219:602,8220:1038,8221:1027,8222:983,8223:1027,8224:1131,8225:1131,8226:1031,8227:1031,8228:653,8229:1305,8230:1958,8231:653,8239:339,8240:2809,8241:3561,8242:527,8243:1049,8244:1572,8245:527,8246:1049,8247:1572,8248:1059,8249:851,8250:851,8251:1541,8252:1316,8253:1107,8254:1049,8255:1718,8256:1718,8257:961,8258:1536,8259:1031,8260:419,8261:764,8262:764,8263:2226,8264:1771,8265:1771,8266:941,8267:1229,8268:1235,8269:1235,8270:1105,8271:674,8272:1713,8273:1155,8274:1625,8275:1534,8276:1718,8277:1354,8279:2095,8287:595,8592:1954,8593:1805,8594:1954,8595:1805,8596:2746,8597:1740,8598:1598,8599:1598,8600:1598,8601:1598,8617:2363,8618:2363,8624:2055,8625:2055,8627:2055,8628:1793,8629:2055,8634:1954,8635:1954,8656:1954,8658:1954,8660:2746,8670:1282,8671:1282,8676:2126,8677:2126,8679:2206,8682:2206}}};var mV=1.25;function Fh(h,m){let E=ipe[m.weight],A=h.split(\`
28
+ ... Falling back to non-web worker version.\`);if(!yr.workerFactory){var cs=A("./elk-worker.min.js"),Cs=cs.Worker;yr.workerFactory=function(us){return new Cs(us)}}return Re(this,ve,[yr])}return At(ve,Lt),Le(ve)}(pr);Object.defineProperty(H.exports,"__esModule",{value:!0}),H.exports=Ii,Ii.default=Ii},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(A,H,fn){var On=typeof Worker<"u"?Worker:void 0;H.exports=On},{}]},{},[3])(3)})});var Kwe={name:"@standarx/graph",version:"1.1.0",type:"module",license:"MIT",description:"Declarative graph and diagram rendering",keywords:["graph","diagram","svg","webgl","elk","sequence-diagram","visualization","cli","remark"],homepage:"https://github.com/miralabs-tech/standargraph#readme",bugs:{url:"https://github.com/miralabs-tech/standargraph/issues"},repository:{type:"git",url:"git+https://github.com/miralabs-tech/standargraph.git"},bin:{standargraph:"dist/cli.js"},exports:{"./core":{types:"./dist/core/index.d.ts",import:"./dist/core/index.js"},"./format":{types:"./dist/format/index.d.ts",import:"./dist/format/index.js"},"./layout":{types:"./dist/layout/index.d.ts",import:"./dist/layout/index.js"},"./svg":{types:"./dist/svg/index.d.ts",import:"./dist/svg/index.js"},"./html":{types:"./dist/html/index.d.ts",import:"./dist/html/index.js"},"./export":{types:"./dist/export/index.d.ts",import:"./dist/export/index.js"},"./webgl":{types:"./dist/webgl/index.d.ts",import:"./dist/webgl/index.js"},"./remark":{types:"./dist/remark/index.d.ts",import:"./dist/remark/index.js"},"./mermaid":{types:"./dist/mermaid/index.d.ts",import:"./dist/mermaid/index.js"},"./text":{types:"./dist/text/index.d.ts",import:"./dist/text/index.js"},"./language":{types:"./dist/language/index.d.ts",import:"./dist/language/index.js"},"./schema/graph-document.v1.json":"./schema/graph-document.v1.json","./grammars/standargraph.tmLanguage.json":"./grammars/standargraph.tmLanguage.json","./language-configuration.json":"./language-configuration.json","./package.json":"./package.json"},files:["dist","schema","grammars","language-configuration.json","assets","licenses","THIRD_PARTY_NOTICES.md"],engines:{node:">=20"},scripts:{build:"bun scripts/clean.ts && bun build src/cli.ts src/core/index.ts src/format/index.ts src/layout/index.ts src/svg/index.ts src/webgl/index.ts src/remark/index.ts src/html/index.ts src/export/index.ts src/text/index.ts src/language/index.ts src/mermaid/index.ts --root src --outdir dist --splitting --target node --format esm --packages external && tsc -p tsconfig.build.json",typecheck:"tsc --noEmit",schema:"bun scripts/schema.ts",metrics:"bun scripts/font-metrics.ts",runtime:"bun scripts/build-runtime.ts",generate:"bun scripts/generate.ts",bench:"bun bench/run.ts",test:"bun test",prepublishOnly:"bun run typecheck && bun test && bun run build",smoke:"bun tools/smoke.ts",site:"bun scripts/site.ts","test:browser":"bun test --config=bunfig.browser.toml tests/browser"},devDependencies:{"@types/bun":"^1.4.4","@types/mdast":"^4.0.4","@types/node":"^26.6.6","@types/opentype.js":"^1.3.10","@types/pdfkit":"^0.17.7","opentype.js":"^2.0.0","playwright-core":"^1.65.1","rehype-raw":"^7.0.0","rehype-stringify":"^10.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2",typescript:"^7.0.2",unified:"^11.0.5","vscode-oniguruma":"^2.0.1","vscode-textmate":"^9.3.2"},dependencies:{"@resvg/resvg-wasm":"^2.6.2","@sinclair/typebox":"^0.34.52",elkjs:"^0.12.1",graphology:"^0.26.0",pdfkit:"^0.20.2",sigma:"^4.0.6","svg-to-pdfkit":"^0.1.8"},publishConfig:{access:"public",provenance:!0}};var Bwe=Kwe.version;function _we(h){return ts(h)&&!Sl(h)&&!s5(h)&&Symbol.asyncIterator in h}function Sl(h){return Array.isArray(h)}function NJ(h){return typeof h==="bigint"}function o5(h){return typeof h==="boolean"}function IM(h){return h instanceof globalThis.Date}function Hwe(h){return typeof h==="function"}function Gwe(h){return ts(h)&&!Sl(h)&&!s5(h)&&Symbol.iterator in h}function Uwe(h){return h===null}function kb(h){return typeof h==="number"}function ts(h){return typeof h==="object"&&h!==null}function RJ(h){return h instanceof globalThis.RegExp}function Ho(h){return typeof h==="string"}function qwe(h){return typeof h==="symbol"}function s5(h){return h instanceof globalThis.Uint8Array}function Go(h){return h===void 0}function Kze(h){return h.map((m)=>$J(m))}function Bze(h){return new Date(h.getTime())}function _ze(h){return new Uint8Array(h)}function Hze(h){return new RegExp(h.source,h.flags)}function Gze(h){let m={};for(let E of Object.getOwnPropertyNames(h))m[E]=$J(h[E]);for(let E of Object.getOwnPropertySymbols(h))m[E]=$J(h[E]);return m}function $J(h){return Sl(h)?Kze(h):IM(h)?Bze(h):s5(h)?_ze(h):RJ(h)?Hze(h):ts(h)?Gze(h):h}function rs(h){return $J(h)}function jM(h,m){return m===void 0?rs(h):rs({...m,...h})}function DJ(h){return MM(h)&&globalThis.Symbol.asyncIterator in h}function KJ(h){return MM(h)&&globalThis.Symbol.iterator in h}function BJ(h){return h instanceof globalThis.Promise}function EM(h){return h instanceof Date&&globalThis.Number.isFinite(h.getTime())}function TM(h){return h instanceof globalThis.Uint8Array}function MM(h){return h!==null&&typeof h==="object"}function Um(h){return globalThis.Array.isArray(h)&&!globalThis.ArrayBuffer.isView(h)}function f5(h){return h===void 0}function xM(h){return h===null}function SM(h){return typeof h==="boolean"}function Ww(h){return typeof h==="number"}function _J(h){return globalThis.Number.isInteger(h)}function OM(h){return typeof h==="bigint"}function Ib(h){return typeof h==="string"}function HJ(h){return typeof h==="function"}function CM(h){return typeof h==="symbol"}var z1;(function(h){h.InstanceMode="default",h.ExactOptionalPropertyTypes=!1,h.AllowArrayObject=!1,h.AllowNaN=!1,h.AllowNullVoid=!1;function m(On,k){return h.ExactOptionalPropertyTypes?k in On:On[k]!==void 0}h.IsExactOptionalProperty=m;function E(On){let k=MM(On);return h.AllowArrayObject?k:k&&!Um(On)}h.IsObjectLike=E;function A(On){return E(On)&&!(On instanceof Date)&&!(On instanceof Uint8Array)}h.IsRecordLike=A;function H(On){return h.AllowNaN?Ww(On):Number.isFinite(On)}h.IsNumberLike=H;function fn(On){let k=f5(On);return h.AllowNullVoid?k||On===null:k}h.IsVoidLike=fn})(z1||(z1={}));function Uze(h){return globalThis.Object.freeze(h).map((m)=>CN(m))}function qze(h){return h}function zze(h){return h}function Xze(h){return h}function Wze(h){let m={};for(let E of Object.getOwnPropertyNames(h))m[E]=CN(h[E]);for(let E of Object.getOwnPropertySymbols(h))m[E]=CN(h[E]);return globalThis.Object.freeze(m)}function CN(h){return Sl(h)?Uze(h):IM(h)?qze(h):s5(h)?zze(h):RJ(h)?Xze(h):ts(h)?Wze(h):h}function ye(h,m){let E=m!==void 0?{...m,...h}:h;switch(z1.InstanceMode){case"freeze":return CN(E);case"clone":return rs(E);default:return E}}class Ys extends Error{constructor(h){super(h)}}var Ol=Symbol.for("TypeBox.Transform"),qm=Symbol.for("TypeBox.Readonly"),u1=Symbol.for("TypeBox.Optional"),zm=Symbol.for("TypeBox.Hint"),Fe=Symbol.for("TypeBox.Kind");function PM(h){return ts(h)&&h[qm]==="Readonly"}function n0(h){return ts(h)&&h[u1]==="Optional"}function Rmn(h){return Uc(h,"Any")}function $mn(h){return Uc(h,"Argument")}function G2(h){return Uc(h,"Array")}function Ck(h){return Uc(h,"AsyncIterator")}function Pk(h){return Uc(h,"BigInt")}function ev(h){return Uc(h,"Boolean")}function U2(h){return Uc(h,"Computed")}function q2(h){return Uc(h,"Constructor")}function Jze(h){return Uc(h,"Date")}function z2(h){return Uc(h,"Function")}function X2(h){return Uc(h,"Integer")}function Zs(h){return Uc(h,"Intersect")}function Ak(h){return Uc(h,"Iterator")}function Uc(h,m){return ts(h)&&Fe in h&&h[Fe]===m}function GJ(h){return o5(h)||kb(h)||Ho(h)}function jb(h){return Uc(h,"Literal")}function Eb(h){return Uc(h,"MappedKey")}function is(h){return Uc(h,"MappedResult")}function l5(h){return Uc(h,"Never")}function Vze(h){return Uc(h,"Not")}function PN(h){return Uc(h,"Null")}function W2(h){return Uc(h,"Number")}function rl(h){return Uc(h,"Object")}function Fk(h){return Uc(h,"Promise")}function Lk(h){return Uc(h,"Record")}function Tf(h){return Uc(h,"Ref")}function Dmn(h){return Uc(h,"RegExp")}function tv(h){return Uc(h,"String")}function AN(h){return Uc(h,"Symbol")}function Tb(h){return Uc(h,"TemplateLiteral")}function Qze(h){return Uc(h,"This")}function h5(h){return ts(h)&&Ol in h}function Mb(h){return Uc(h,"Tuple")}function FN(h){return Uc(h,"Undefined")}function Jc(h){return Uc(h,"Union")}function Yze(h){return Uc(h,"Uint8Array")}function Zze(h){return Uc(h,"Unknown")}function nXe(h){return Uc(h,"Unsafe")}function eXe(h){return Uc(h,"Void")}function tXe(h){return ts(h)&&Fe in h&&Ho(h[Fe])}function Ua(h){return Rmn(h)||$mn(h)||G2(h)||ev(h)||Pk(h)||Ck(h)||U2(h)||q2(h)||Jze(h)||z2(h)||X2(h)||Zs(h)||Ak(h)||jb(h)||Eb(h)||is(h)||l5(h)||Vze(h)||PN(h)||W2(h)||rl(h)||Fk(h)||Lk(h)||Tf(h)||Dmn(h)||tv(h)||AN(h)||Tb(h)||Qze(h)||Mb(h)||FN(h)||Jc(h)||Yze(h)||Zze(h)||nXe(h)||eXe(h)||tXe(h)}var rXe=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function zwe(h){try{return new RegExp(h),!0}catch{return!1}}function Kmn(h){if(!Ho(h))return!1;for(let m=0;m<h.length;m++){let E=h.charCodeAt(m);if(E>=7&&E<=13||E===27||E===127)return!1}return!0}function Xwe(h){return Bmn(h)||o1(h)}function LN(h){return Go(h)||NJ(h)}function Ao(h){return Go(h)||kb(h)}function Bmn(h){return Go(h)||o5(h)}function co(h){return Go(h)||Ho(h)}function iXe(h){return Go(h)||Ho(h)&&Kmn(h)&&zwe(h)}function cXe(h){return Go(h)||Ho(h)&&Kmn(h)}function Wwe(h){return Go(h)||o1(h)}function UJ(h){return ts(h)&&h[u1]==="Optional"}function J2(h){return qc(h,"Any")&&co(h.$id)}function uXe(h){return qc(h,"Argument")&&kb(h.index)}function Nk(h){return qc(h,"Array")&&h.type==="array"&&co(h.$id)&&o1(h.items)&&Ao(h.minItems)&&Ao(h.maxItems)&&Bmn(h.uniqueItems)&&Wwe(h.contains)&&Ao(h.minContains)&&Ao(h.maxContains)}function _mn(h){return qc(h,"AsyncIterator")&&h.type==="AsyncIterator"&&co(h.$id)&&o1(h.items)}function qJ(h){return qc(h,"BigInt")&&h.type==="bigint"&&co(h.$id)&&LN(h.exclusiveMaximum)&&LN(h.exclusiveMinimum)&&LN(h.maximum)&&LN(h.minimum)&&LN(h.multipleOf)}function Rk(h){return qc(h,"Boolean")&&h.type==="boolean"&&co(h.$id)}function oXe(h){return qc(h,"Computed")&&Ho(h.target)&&Sl(h.parameters)&&h.parameters.every((m)=>o1(m))}function zJ(h){return qc(h,"Constructor")&&h.type==="Constructor"&&co(h.$id)&&Sl(h.parameters)&&h.parameters.every((m)=>o1(m))&&o1(h.returns)}function XJ(h){return qc(h,"Date")&&h.type==="Date"&&co(h.$id)&&Ao(h.exclusiveMaximumTimestamp)&&Ao(h.exclusiveMinimumTimestamp)&&Ao(h.maximumTimestamp)&&Ao(h.minimumTimestamp)&&Ao(h.multipleOfTimestamp)}function WJ(h){return qc(h,"Function")&&h.type==="Function"&&co(h.$id)&&Sl(h.parameters)&&h.parameters.every((m)=>o1(m))&&o1(h.returns)}function iv(h){return qc(h,"Integer")&&h.type==="integer"&&co(h.$id)&&Ao(h.exclusiveMaximum)&&Ao(h.exclusiveMinimum)&&Ao(h.maximum)&&Ao(h.minimum)&&Ao(h.multipleOf)}function Jwe(h){return ts(h)&&Object.entries(h).every(([m,E])=>Kmn(m)&&o1(E))}function $k(h){return qc(h,"Intersect")&&(Ho(h.type)&&h.type!=="object"?!1:!0)&&Sl(h.allOf)&&h.allOf.every((m)=>o1(m)&&!dXe(m))&&co(h.type)&&(Bmn(h.unevaluatedProperties)||Wwe(h.unevaluatedProperties))&&co(h.$id)}function Hmn(h){return qc(h,"Iterator")&&h.type==="Iterator"&&co(h.$id)&&o1(h.items)}function qc(h,m){return ts(h)&&Fe in h&&h[Fe]===m}function Vwe(h){return a5(h)&&Ho(h.const)}function Qwe(h){return a5(h)&&kb(h.const)}function Ywe(h){return a5(h)&&o5(h.const)}function a5(h){return qc(h,"Literal")&&co(h.$id)&&sXe(h.const)}function sXe(h){return o5(h)||kb(h)||Ho(h)}function fXe(h){return qc(h,"MappedKey")&&Sl(h.keys)&&h.keys.every((m)=>kb(m)||Ho(m))}function lXe(h){return qc(h,"MappedResult")&&Jwe(h.properties)}function d5(h){return qc(h,"Never")&&ts(h.not)&&Object.getOwnPropertyNames(h.not).length===0}function AM(h){return qc(h,"Not")&&o1(h.not)}function Gmn(h){return qc(h,"Null")&&h.type==="null"&&co(h.$id)}function e0(h){return qc(h,"Number")&&h.type==="number"&&co(h.$id)&&Ao(h.exclusiveMaximum)&&Ao(h.exclusiveMinimum)&&Ao(h.maximum)&&Ao(h.minimum)&&Ao(h.multipleOf)}function nf(h){return qc(h,"Object")&&h.type==="object"&&co(h.$id)&&Jwe(h.properties)&&Xwe(h.additionalProperties)&&Ao(h.minProperties)&&Ao(h.maxProperties)}function Umn(h){return qc(h,"Promise")&&h.type==="Promise"&&co(h.$id)&&o1(h.item)}function s1(h){return qc(h,"Record")&&h.type==="object"&&co(h.$id)&&Xwe(h.additionalProperties)&&ts(h.patternProperties)&&((m)=>{let E=Object.getOwnPropertyNames(m.patternProperties);return E.length===1&&zwe(E[0])&&ts(m.patternProperties)&&o1(m.patternProperties[E[0]])})(h)}function hXe(h){return qc(h,"Ref")&&co(h.$id)&&Ho(h.$ref)}function NN(h){return qc(h,"RegExp")&&co(h.$id)&&Ho(h.source)&&Ho(h.flags)&&Ao(h.maxLength)&&Ao(h.minLength)}function V2(h){return qc(h,"String")&&h.type==="string"&&co(h.$id)&&Ao(h.minLength)&&Ao(h.maxLength)&&iXe(h.pattern)&&cXe(h.format)}function RN(h){return qc(h,"Symbol")&&h.type==="symbol"&&co(h.$id)}function $N(h){return qc(h,"TemplateLiteral")&&h.type==="string"&&Ho(h.pattern)&&h.pattern[0]==="^"&&h.pattern[h.pattern.length-1]==="$"}function aXe(h){return qc(h,"This")&&co(h.$id)&&Ho(h.$ref)}function dXe(h){return ts(h)&&Ol in h}function JJ(h){return qc(h,"Tuple")&&h.type==="array"&&co(h.$id)&&kb(h.minItems)&&kb(h.maxItems)&&h.minItems===h.maxItems&&(Go(h.items)&&Go(h.additionalItems)&&h.minItems===0||Sl(h.items)&&h.items.every((m)=>o1(m)))}function Dk(h){return qc(h,"Undefined")&&h.type==="undefined"&&co(h.$id)}function cv(h){return qc(h,"Union")&&co(h.$id)&&ts(h)&&Sl(h.anyOf)&&h.anyOf.every((m)=>o1(m))}function DN(h){return qc(h,"Uint8Array")&&h.type==="Uint8Array"&&co(h.$id)&&Ao(h.minByteLength)&&Ao(h.maxByteLength)}function Q2(h){return qc(h,"Unknown")&&co(h.$id)}function bXe(h){return qc(h,"Unsafe")}function VJ(h){return qc(h,"Void")&&h.type==="void"&&co(h.$id)}function wXe(h){return ts(h)&&Fe in h&&Ho(h[Fe])&&!rXe.includes(h[Fe])}function o1(h){return ts(h)&&(J2(h)||uXe(h)||Nk(h)||Rk(h)||qJ(h)||_mn(h)||oXe(h)||zJ(h)||XJ(h)||WJ(h)||iv(h)||$k(h)||Hmn(h)||a5(h)||fXe(h)||lXe(h)||d5(h)||AM(h)||Gmn(h)||e0(h)||nf(h)||Umn(h)||s1(h)||hXe(h)||NN(h)||V2(h)||RN(h)||$N(h)||aXe(h)||JJ(h)||Dk(h)||cv(h)||DN(h)||Q2(h)||bXe(h)||VJ(h)||wXe(h))}var nge="(true|false)",QJ="(0|[1-9][0-9]*)",ege="(.*)";var b5="^(0|[1-9][0-9]*)$",w5="^(.*)$",tge="^(?!.*)$";var qmn=new Map;function zmn(h){return qmn.has(h)}function gXe(h,m){qmn.set(h,m)}function rge(h){return qmn.get(h)}var ige=new Map;function Xmn(h){return ige.has(h)}function cge(h){return ige.get(h)}function uge(h,m){return h.includes(m)}function oge(h){return[...new Set(h)]}function pXe(h,m){return h.filter((E)=>m.includes(E))}function mXe(h,m){return h.reduce((E,A)=>pXe(E,A),m)}function sge(h){return h.length===1?h[0]:h.length>1?mXe(h.slice(1),h[0]):[]}function fge(h){let m=[];for(let E of h)m.push(...E);return m}function g5(h){return ye({[Fe]:"Any"},h)}function FM(h,m){return ye({[Fe]:"Array",type:"array",items:h},m)}function lge(h){return ye({[Fe]:"Argument",index:h})}function LM(h,m){return ye({[Fe]:"AsyncIterator",type:"AsyncIterator",items:h},m)}function Uo(h,m,E){return ye({[Fe]:"Computed",target:h,parameters:m},E)}function vXe(h,m){let{[m]:E,...A}=h;return A}function ef(h,m){return m.reduce((E,A)=>vXe(E,A),h)}function wc(h){return ye({[Fe]:"Never",not:{}},h)}function tu(h){return ye({[Fe]:"MappedResult",properties:h})}function NM(h,m,E){return ye({[Fe]:"Constructor",type:"Constructor",parameters:h,returns:m},E)}function Xm(h,m,E){return ye({[Fe]:"Function",type:"Function",parameters:h,returns:m},E)}function KN(h,m){return ye({[Fe]:"Union",anyOf:h},m)}function yXe(h){return h.some((m)=>n0(m))}function hge(h){return h.map((m)=>n0(m)?kXe(m):m)}function kXe(h){return ef(h,[u1])}function IXe(h,m){return yXe(h)?X1(KN(hge(h),m)):KN(hge(h),m)}function Wm(h,m){return h.length===1?ye(h[0],m):h.length===0?wc(m):IXe(h,m)}function Nu(h,m){return h.length===0?wc(m):h.length===1?ye(h[0],m):KN(h,m)}class Jmn extends Ys{}function jXe(h){return h.replace(/\\\\\\$/g,"$").replace(/\\\\\\*/g,"*").replace(/\\\\\\^/g,"^").replace(/\\\\\\|/g,"|").replace(/\\\\\\(/g,"(").replace(/\\\\\\)/g,")")}function Vmn(h,m,E){return h[m]===E&&h.charCodeAt(m-1)!==92}function uv(h,m){return Vmn(h,m,"(")}function BN(h,m){return Vmn(h,m,")")}function age(h,m){return Vmn(h,m,"|")}function EXe(h){if(!(uv(h,0)&&BN(h,h.length-1)))return!1;let m=0;for(let E=0;E<h.length;E++){if(uv(h,E))m+=1;if(BN(h,E))m-=1;if(m===0&&E!==h.length-1)return!1}return!0}function TXe(h){return h.slice(1,h.length-1)}function MXe(h){let m=0;for(let E=0;E<h.length;E++){if(uv(h,E))m+=1;if(BN(h,E))m-=1;if(age(h,E)&&m===0)return!0}return!1}function xXe(h){for(let m=0;m<h.length;m++)if(uv(h,m))return!0;return!1}function SXe(h){let[m,E]=[0,0],A=[];for(let fn=0;fn<h.length;fn++){if(uv(h,fn))m+=1;if(BN(h,fn))m-=1;if(age(h,fn)&&m===0){let On=h.slice(E,fn);if(On.length>0)A.push(RM(On));E=fn+1}}let H=h.slice(E);if(H.length>0)A.push(RM(H));if(A.length===0)return{type:"const",const:""};if(A.length===1)return A[0];return{type:"or",expr:A}}function OXe(h){function m(H,fn){if(!uv(H,fn))throw new Jmn("TemplateLiteralParser: Index must point to open parens");let On=0;for(let k=fn;k<H.length;k++){if(uv(H,k))On+=1;if(BN(H,k))On-=1;if(On===0)return[fn,k]}throw new Jmn("TemplateLiteralParser: Unclosed group parens in expression")}function E(H,fn){for(let On=fn;On<H.length;On++)if(uv(H,On))return[fn,On];return[fn,H.length]}let A=[];for(let H=0;H<h.length;H++)if(uv(h,H)){let[fn,On]=m(h,H),k=h.slice(fn,On+1);A.push(RM(k)),H=On}else{let[fn,On]=E(h,H),k=h.slice(fn,On);if(k.length>0)A.push(RM(k));H=On-1}return A.length===0?{type:"const",const:""}:A.length===1?A[0]:{type:"and",expr:A}}function RM(h){return EXe(h)?RM(TXe(h)):MXe(h)?SXe(h):xXe(h)?OXe(h):{type:"const",const:jXe(h)}}function $M(h){return RM(h.slice(1,h.length-1))}class dge extends Ys{}function CXe(h){return h.type==="or"&&h.expr.length===2&&h.expr[0].type==="const"&&h.expr[0].const==="0"&&h.expr[1].type==="const"&&h.expr[1].const==="[1-9][0-9]*"}function PXe(h){return h.type==="or"&&h.expr.length===2&&h.expr[0].type==="const"&&h.expr[0].const==="true"&&h.expr[1].type==="const"&&h.expr[1].const==="false"}function AXe(h){return h.type==="const"&&h.const===".*"}function Kk(h){return CXe(h)||AXe(h)?!1:PXe(h)?!0:h.type==="and"?h.expr.every((m)=>Kk(m)):h.type==="or"?h.expr.every((m)=>Kk(m)):h.type==="const"?!0:(()=>{throw new dge("Unknown expression type")})()}function bge(h){let m=$M(h.pattern);return Kk(m)}class wge extends Ys{}function*gge(h){if(h.length===1)return yield*h[0];for(let m of h[0])for(let E of gge(h.slice(1)))yield\`\${m}\${E}\`}function*FXe(h){return yield*gge(h.expr.map((m)=>[..._N(m)]))}function*LXe(h){for(let m of h.expr)yield*_N(m)}function*NXe(h){return yield h.const}function*_N(h){return h.type==="and"?yield*FXe(h):h.type==="or"?yield*LXe(h):h.type==="const"?yield*NXe(h):(()=>{throw new wge("Unknown expression")})()}function ZJ(h){let m=$M(h.pattern);return Kk(m)?[..._N(m)]:[]}function Tu(h,m){return ye({[Fe]:"Literal",const:h,type:typeof h},m)}function nV(h){return ye({[Fe]:"Boolean",type:"boolean"},h)}function DM(h){return ye({[Fe]:"BigInt",type:"bigint"},h)}function Jw(h){return ye({[Fe]:"Number",type:"number"},h)}function Y2(h){return ye({[Fe]:"String",type:"string"},h)}function*RXe(h){let m=h.trim().replace(/"|'/g,"");return m==="boolean"?yield nV():m==="number"?yield Jw():m==="bigint"?yield DM():m==="string"?yield Y2():yield(()=>{let E=m.split("|").map((A)=>Tu(A.trim()));return E.length===0?wc():E.length===1?E[0]:Wm(E)})()}function*$Xe(h){if(h[1]!=="{"){let m=Tu("$"),E=Qmn(h.slice(1));return yield*[m,...E]}for(let m=2;m<h.length;m++)if(h[m]==="}"){let E=RXe(h.slice(2,m)),A=Qmn(h.slice(m+1));return yield*[...E,...A]}yield Tu(h)}function*Qmn(h){for(let m=0;m<h.length;m++)if(h[m]==="$"){let E=Tu(h.slice(0,m)),A=$Xe(h.slice(m));return yield*[E,...A]}yield Tu(h)}function pge(h){return[...Qmn(h)]}class mge extends Ys{}function DXe(h){return h.replace(/[.*+?^\${}()|[\\]\\\\]/g,"\\\\$&")}function vge(h,m){return Tb(h)?h.pattern.slice(1,h.pattern.length-1):Jc(h)?\`(\${h.anyOf.map((E)=>vge(E,m)).join("|")})\`:W2(h)?\`\${m}\${QJ}\`:X2(h)?\`\${m}\${QJ}\`:Pk(h)?\`\${m}\${QJ}\`:tv(h)?\`\${m}\${ege}\`:jb(h)?\`\${m}\${DXe(h.const.toString())}\`:ev(h)?\`\${m}\${nge}\`:(()=>{throw new mge(\`Unexpected Kind '\${h[Fe]}'\`)})()}function Ymn(h){return\`^\${h.map((m)=>vge(m,"")).join("")}$\`}function Bk(h){let E=ZJ(h).map((A)=>Tu(A));return Wm(E)}function eV(h,m){let E=Ho(h)?Ymn(pge(h)):Ymn(h);return ye({[Fe]:"TemplateLiteral",type:"string",pattern:E},m)}function KXe(h){return ZJ(h).map((E)=>E.toString())}function BXe(h){let m=[];for(let E of h)m.push(...t0(E));return m}function _Xe(h){return[h.toString()]}function t0(h){return[...new Set(Tb(h)?KXe(h):Jc(h)?BXe(h.anyOf):jb(h)?_Xe(h.const):W2(h)?["[number]"]:X2(h)?["[number]"]:[])]}function HXe(h,m,E){let A={};for(let H of Object.getOwnPropertyNames(m))A[H]=p5(h,t0(m[H]),E);return A}function GXe(h,m,E){return HXe(h,m.properties,E)}function yge(h,m,E){let A=GXe(h,m,E);return tu(A)}function Ige(h,m){return h.map((E)=>jge(E,m))}function UXe(h){return h.filter((m)=>!l5(m))}function qXe(h,m){return tV(UXe(Ige(h,m)))}function zXe(h){return h.some((m)=>l5(m))?[]:h}function XXe(h,m){return Wm(zXe(Ige(h,m)))}function WXe(h,m){return m in h?h[m]:m==="[number]"?Wm(h):wc()}function JXe(h,m){return m==="[number]"?h:wc()}function VXe(h,m){return m in h?h[m]:wc()}function jge(h,m){return Zs(h)?qXe(h.allOf,m):Jc(h)?XXe(h.anyOf,m):Mb(h)?WXe(h.items??[],m):G2(h)?JXe(h.items,m):rl(h)?VXe(h.properties,m):wc()}function Zmn(h,m){return m.map((E)=>jge(h,E))}function kge(h,m){return Wm(Zmn(h,m))}function p5(h,m,E){if(Tf(h)||Tf(m)){if(!Ua(h)||!Ua(m))throw new Ys("Index types using Ref parameters require both Type and Key to be of TSchema");return Uo("Index",[h,m])}if(is(m))return yge(h,m,E);if(Eb(m))return Ege(h,m,E);return ye(Ua(m)?kge(h,t0(m)):kge(h,m),E)}function QXe(h,m,E){return{[m]:p5(h,[m],rs(E))}}function YXe(h,m,E){return m.reduce((A,H)=>({...A,...QXe(h,H,E)}),{})}function ZXe(h,m,E){return YXe(h,m.keys,E)}function Ege(h,m,E){let A=ZXe(h,m,E);return tu(A)}function KM(h,m){return ye({[Fe]:"Iterator",type:"Iterator",items:h},m)}function nWe(h){return globalThis.Object.keys(h).filter((m)=>!n0(h[m]))}function eWe(h,m){let E=nWe(h),A=E.length>0?{[Fe]:"Object",type:"object",required:E,properties:h}:{[Fe]:"Object",type:"object",properties:h};return ye(A,m)}var uo=eWe;function rV(h,m){return ye({[Fe]:"Promise",type:"Promise",item:h},m)}function tWe(h){return ye(ef(h,[qm]))}function rWe(h){return ye({...h,[qm]:"Readonly"})}function iWe(h,m){return m===!1?tWe(h):rWe(h)}function r0(h,m){let E=m??!0;return is(h)?Tge(h,E):iWe(h,E)}function cWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=r0(h[A],m);return E}function uWe(h,m){return cWe(h.properties,m)}function Tge(h,m){let E=uWe(h,m);return tu(E)}function Vw(h,m){return ye(h.length>0?{[Fe]:"Tuple",type:"array",items:h,additionalItems:!1,minItems:h.length,maxItems:h.length}:{[Fe]:"Tuple",type:"array",minItems:h.length,maxItems:h.length},m)}function Mge(h,m){return h in m?Qw(h,m[h]):tu(m)}function oWe(h){return{[h]:Tu(h)}}function sWe(h){let m={};for(let E of h)m[E]=Tu(E);return m}function fWe(h,m){return uge(m,h)?oWe(h):sWe(m)}function lWe(h,m){let E=fWe(h,m);return Mge(h,E)}function HN(h,m){return m.map((E)=>Qw(h,E))}function hWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(m))E[A]=Qw(h,m[A]);return E}function Qw(h,m){let E={...m};return n0(m)?X1(Qw(h,ef(m,[u1]))):PM(m)?r0(Qw(h,ef(m,[qm]))):is(m)?Mge(h,m.properties):Eb(m)?lWe(h,m.keys):q2(m)?NM(HN(h,m.parameters),Qw(h,m.returns),E):z2(m)?Xm(HN(h,m.parameters),Qw(h,m.returns),E):Ck(m)?LM(Qw(h,m.items),E):Ak(m)?KM(Qw(h,m.items),E):Zs(m)?W1(HN(h,m.allOf),E):Jc(m)?Nu(HN(h,m.anyOf),E):Mb(m)?Vw(HN(h,m.items??[]),E):rl(m)?uo(hWe(h,m.properties),E):G2(m)?FM(Qw(h,m.items),E):Fk(m)?rV(Qw(h,m.item),E):m}function aWe(h,m){let E={};for(let A of h)E[A]=Qw(A,m);return E}function xge(h,m,E){let A=Ua(h)?t0(h):h,H=m({[Fe]:"MappedKey",keys:A}),fn=aWe(A,H);return uo(fn,E)}function dWe(h){return ye(ef(h,[u1]))}function bWe(h){return ye({...h,[u1]:"Optional"})}function wWe(h,m){return m===!1?dWe(h):bWe(h)}function X1(h,m){let E=m??!0;return is(h)?Sge(h,E):wWe(h,E)}function gWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=X1(h[A],m);return E}function pWe(h,m){return gWe(h.properties,m)}function Sge(h,m){let E=pWe(h,m);return tu(E)}function GN(h,m={}){let E=h.every((H)=>rl(H)),A=Ua(m.unevaluatedProperties)?{unevaluatedProperties:m.unevaluatedProperties}:{};return ye(m.unevaluatedProperties===!1||Ua(m.unevaluatedProperties)||E?{...A,[Fe]:"Intersect",type:"object",allOf:h}:{...A,[Fe]:"Intersect",allOf:h},m)}function mWe(h){return h.every((m)=>n0(m))}function vWe(h){return ef(h,[u1])}function Oge(h){return h.map((m)=>n0(m)?vWe(m):m)}function yWe(h,m){return mWe(h)?X1(GN(Oge(h),m)):GN(Oge(h),m)}function tV(h,m={}){if(h.length===1)return ye(h[0],m);if(h.length===0)return wc(m);if(h.some((E)=>h5(E)))throw Error("Cannot intersect transform types");return yWe(h,m)}function W1(h,m){if(h.length===1)return ye(h[0],m);if(h.length===0)return wc(m);if(h.some((E)=>h5(E)))throw Error("Cannot intersect transform types");return GN(h,m)}function Jm(...h){let[m,E]=typeof h[0]==="string"?[h[0],h[1]]:[h[0].$id,h[1]];if(typeof m!=="string")throw new Ys("Ref: $ref must be a string");return ye({[Fe]:"Ref",$ref:m},E)}function kWe(h,m){return Uo("Awaited",[Uo(h,m)])}function IWe(h){return Uo("Awaited",[Jm(h)])}function jWe(h){return W1(Cge(h))}function EWe(h){return Nu(Cge(h))}function TWe(h){return BM(h)}function Cge(h){return h.map((m)=>BM(m))}function BM(h,m){return ye(U2(h)?kWe(h.target,h.parameters):Zs(h)?jWe(h.allOf):Jc(h)?EWe(h.anyOf):Fk(h)?TWe(h.item):Tf(h)?IWe(h.$ref):h,m)}function Pge(h){let m=[];for(let E of h)m.push(_M(E));return m}function MWe(h){let m=Pge(h);return fge(m)}function xWe(h){let m=Pge(h);return sge(m)}function SWe(h){return h.map((m,E)=>E.toString())}function OWe(h){return["[number]"]}function CWe(h){return globalThis.Object.getOwnPropertyNames(h)}function PWe(h){if(!n3n)return[];return globalThis.Object.getOwnPropertyNames(h).map((E)=>E[0]==="^"&&E[E.length-1]==="$"?E.slice(1,E.length-1):E)}function _M(h){return Zs(h)?MWe(h.allOf):Jc(h)?xWe(h.anyOf):Mb(h)?SWe(h.items??[]):G2(h)?OWe(h.items):rl(h)?CWe(h.properties):Lk(h)?PWe(h.patternProperties):[]}var n3n=!1;function HM(h){n3n=!0;let m=_M(h);return n3n=!1,\`^(\${m.map((A)=>\`(\${A})\`).join("|")})$\`}function AWe(h,m){return Uo("KeyOf",[Uo(h,m)])}function FWe(h){return Uo("KeyOf",[Jm(h)])}function LWe(h,m){let E=_M(h),A=NWe(E),H=Wm(A);return ye(H,m)}function NWe(h){return h.map((m)=>m==="[number]"?Jw():Tu(m))}function GM(h,m){return U2(h)?AWe(h.target,h.parameters):Tf(h)?FWe(h.$ref):is(h)?Age(h,m):LWe(h,m)}function RWe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=GM(h[A],rs(m));return E}function $We(h,m){return RWe(h.properties,m)}function Age(h,m){let E=$We(h,m);return tu(E)}function DWe(h){let m=[];for(let E of h)m.push(..._M(E));return oge(m)}function KWe(h){return h.filter((m)=>!l5(m))}function BWe(h,m){let E=[];for(let A of h)E.push(...Zmn(A,[m]));return KWe(E)}function _We(h,m){let E={};for(let A of m)E[A]=tV(BWe(h,A));return E}function Fge(h,m){let E=DWe(h),A=_We(h,E);return uo(A,m)}function iV(h){return ye({[Fe]:"Date",type:"Date"},h)}function cV(h){return ye({[Fe]:"Null",type:"null"},h)}function uV(h){return ye({[Fe]:"Symbol",type:"symbol"},h)}function oV(h){return ye({[Fe]:"Undefined",type:"undefined"},h)}function sV(h){return ye({[Fe]:"Uint8Array",type:"Uint8Array"},h)}function m5(h){return ye({[Fe]:"Unknown"},h)}function HWe(h){return h.map((m)=>e3n(m,!1))}function GWe(h){let m={};for(let E of globalThis.Object.getOwnPropertyNames(h))m[E]=r0(e3n(h[E],!1));return m}function fV(h,m){return m===!0?h:r0(h)}function e3n(h,m){return _we(h)?fV(g5(),m):Gwe(h)?fV(g5(),m):Sl(h)?r0(Vw(HWe(h))):s5(h)?sV():IM(h)?iV():ts(h)?fV(uo(GWe(h)),m):Hwe(h)?fV(Xm([],m5()),m):Go(h)?oV():Uwe(h)?cV():qwe(h)?uV():NJ(h)?DM():kb(h)?Tu(h):o5(h)?Tu(h):Ho(h)?Tu(h):uo({})}function Lge(h,m){return ye(e3n(h,!0),m)}function Nge(h,m){return q2(h)?Vw(h.parameters,m):wc(m)}function Rge(h,m){if(Go(h))throw Error("Enum undefined or empty");let E=globalThis.Object.getOwnPropertyNames(h).filter((fn)=>isNaN(fn)).map((fn)=>h[fn]),H=[...new Set(E)].map((fn)=>Tu(fn));return Nu(H,{...m,[zm]:"Enum"})}class _ge extends Ys{}var Ie;(function(h){h[h.Union=0]="Union",h[h.True=1]="True",h[h.False=2]="False"})(Ie||(Ie={}));function Yw(h){return h===Ie.False?h:Ie.True}function UM(h){throw new _ge(h)}function Cl(h){return d5(h)||$k(h)||cv(h)||Q2(h)||J2(h)}function Pl(h,m){return d5(m)?Uge(h,m):$k(m)?lV(h,m):cv(m)?u3n(h,m):Q2(m)?Wge(h,m):J2(m)?c3n(h,m):UM("StructuralRight")}function c3n(h,m){return Ie.True}function UWe(h,m){return $k(m)?lV(h,m):cv(m)&&m.anyOf.some((E)=>J2(E)||Q2(E))?Ie.True:cv(m)?Ie.Union:Q2(m)?Ie.True:J2(m)?Ie.True:Ie.Union}function qWe(h,m){return Q2(h)?Ie.False:J2(h)?Ie.Union:d5(h)?Ie.True:Ie.False}function zWe(h,m){return nf(m)&&hV(m)?Ie.True:Cl(m)?Pl(h,m):!Nk(m)?Ie.False:Yw(oo(h.items,m.items))}function XWe(h,m){return Cl(m)?Pl(h,m):!_mn(m)?Ie.False:Yw(oo(h.items,m.items))}function WWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):qJ(m)?Ie.True:Ie.False}function Hge(h,m){return Ywe(h)?Ie.True:Rk(h)?Ie.True:Ie.False}function JWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):Rk(m)?Ie.True:Ie.False}function VWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):!zJ(m)?Ie.False:h.parameters.length>m.parameters.length?Ie.False:!h.parameters.every((E,A)=>Yw(oo(m.parameters[A],E))===Ie.True)?Ie.False:Yw(oo(h.returns,m.returns))}function QWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):XJ(m)?Ie.True:Ie.False}function YWe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):!WJ(m)?Ie.False:h.parameters.length>m.parameters.length?Ie.False:!h.parameters.every((E,A)=>Yw(oo(m.parameters[A],E))===Ie.True)?Ie.False:Yw(oo(h.returns,m.returns))}function Gge(h,m){return a5(h)&&kb(h.const)?Ie.True:e0(h)||iv(h)?Ie.True:Ie.False}function ZWe(h,m){return iv(m)||e0(m)?Ie.True:Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):Ie.False}function lV(h,m){return m.allOf.every((E)=>oo(h,E)===Ie.True)?Ie.True:Ie.False}function nJe(h,m){return h.allOf.some((E)=>oo(E,m)===Ie.True)?Ie.True:Ie.False}function eJe(h,m){return Cl(m)?Pl(h,m):!Hmn(m)?Ie.False:Yw(oo(h.items,m.items))}function tJe(h,m){return a5(m)&&m.const===h.const?Ie.True:Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):V2(m)?Xge(h,m):e0(m)?qge(h,m):iv(m)?Gge(h,m):Rk(m)?Hge(h,m):Ie.False}function Uge(h,m){return Ie.False}function rJe(h,m){return Ie.True}function $ge(h){let[m,E]=[h,0];while(!0){if(!AM(m))break;m=m.not,E+=1}return E%2===0?m:m5()}function iJe(h,m){return AM(h)?oo($ge(h),m):AM(m)?oo(h,$ge(m)):UM("Invalid fallthrough for Not")}function cJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):Gmn(m)?Ie.True:Ie.False}function qge(h,m){return Qwe(h)?Ie.True:e0(h)||iv(h)?Ie.True:Ie.False}function uJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):iv(m)||e0(m)?Ie.True:Ie.False}function i0(h,m){return Object.getOwnPropertyNames(h.properties).length===m}function Dge(h){return hV(h)}function Kge(h){return i0(h,0)||i0(h,1)&&"description"in h.properties&&cv(h.properties.description)&&h.properties.description.anyOf.length===2&&(V2(h.properties.description.anyOf[0])&&Dk(h.properties.description.anyOf[1])||V2(h.properties.description.anyOf[1])&&Dk(h.properties.description.anyOf[0]))}function t3n(h){return i0(h,0)}function Bge(h){return i0(h,0)}function oJe(h){return i0(h,0)}function sJe(h){return i0(h,0)}function fJe(h){return hV(h)}function lJe(h){let m=Jw();return i0(h,0)||i0(h,1)&&"length"in h.properties&&Yw(oo(h.properties.length,m))===Ie.True}function hJe(h){return i0(h,0)}function hV(h){let m=Jw();return i0(h,0)||i0(h,1)&&"length"in h.properties&&Yw(oo(h.properties.length,m))===Ie.True}function aJe(h){let m=Xm([g5()],g5());return i0(h,0)||i0(h,1)&&"then"in h.properties&&Yw(oo(h.properties.then,m))===Ie.True}function zge(h,m){return oo(h,m)===Ie.False?Ie.False:UJ(h)&&!UJ(m)?Ie.False:Ie.True}function J1(h,m){return Q2(h)?Ie.False:J2(h)?Ie.Union:d5(h)||Vwe(h)&&Dge(m)||Qwe(h)&&t3n(m)||Ywe(h)&&Bge(m)||RN(h)&&Kge(m)||qJ(h)&&oJe(m)||V2(h)&&Dge(m)||RN(h)&&Kge(m)||e0(h)&&t3n(m)||iv(h)&&t3n(m)||Rk(h)&&Bge(m)||DN(h)&&fJe(m)||XJ(h)&&sJe(m)||zJ(h)&&hJe(m)||WJ(h)&&lJe(m)?Ie.True:s1(h)&&V2(r3n(h))?(()=>m[zm]==="Record"?Ie.True:Ie.False)():s1(h)&&e0(r3n(h))?(()=>i0(m,0)?Ie.True:Ie.False)():Ie.False}function dJe(h,m){return Cl(m)?Pl(h,m):s1(m)?Zw(h,m):!nf(m)?Ie.False:(()=>{for(let E of Object.getOwnPropertyNames(m.properties)){if(!(E in h.properties)&&!UJ(m.properties[E]))return Ie.False;if(UJ(m.properties[E]))return Ie.True;if(zge(h.properties[E],m.properties[E])===Ie.False)return Ie.False}return Ie.True})()}function bJe(h,m){return Cl(m)?Pl(h,m):nf(m)&&aJe(m)?Ie.True:!Umn(m)?Ie.False:Yw(oo(h.item,m.item))}function r3n(h){return b5 in h.patternProperties?Jw():(w5 in h.patternProperties)?Y2():UM("Unknown record key pattern")}function i3n(h){return b5 in h.patternProperties?h.patternProperties[b5]:(w5 in h.patternProperties)?h.patternProperties[w5]:UM("Unable to get record value schema")}function Zw(h,m){let[E,A]=[r3n(m),i3n(m)];return Vwe(h)&&e0(E)&&Yw(oo(h,A))===Ie.True?Ie.True:DN(h)&&e0(E)?oo(h,A):V2(h)&&e0(E)?oo(h,A):Nk(h)&&e0(E)?oo(h,A):nf(h)?(()=>{for(let H of Object.getOwnPropertyNames(h.properties))if(zge(A,h.properties[H])===Ie.False)return Ie.False;return Ie.True})():Ie.False}function wJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):!s1(m)?Ie.False:oo(i3n(h),i3n(m))}function gJe(h,m){let E=NN(h)?Y2():h,A=NN(m)?Y2():m;return oo(E,A)}function Xge(h,m){return a5(h)&&Ho(h.const)?Ie.True:V2(h)?Ie.True:Ie.False}function pJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):V2(m)?Ie.True:Ie.False}function mJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):RN(m)?Ie.True:Ie.False}function vJe(h,m){return $N(h)?oo(Bk(h),m):$N(m)?oo(h,Bk(m)):UM("Invalid fallthrough for TemplateLiteral")}function yJe(h,m){return Nk(m)&&h.items!==void 0&&h.items.every((E)=>oo(E,m.items)===Ie.True)}function kJe(h,m){return d5(h)?Ie.True:Q2(h)?Ie.False:J2(h)?Ie.Union:Ie.False}function IJe(h,m){return Cl(m)?Pl(h,m):nf(m)&&hV(m)?Ie.True:Nk(m)&&yJe(h,m)?Ie.True:!JJ(m)?Ie.False:Go(h.items)&&!Go(m.items)||!Go(h.items)&&Go(m.items)?Ie.False:Go(h.items)&&!Go(m.items)?Ie.True:h.items.every((E,A)=>oo(E,m.items[A])===Ie.True)?Ie.True:Ie.False}function jJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):DN(m)?Ie.True:Ie.False}function EJe(h,m){return Cl(m)?Pl(h,m):nf(m)?J1(h,m):s1(m)?Zw(h,m):VJ(m)?xJe(h,m):Dk(m)?Ie.True:Ie.False}function u3n(h,m){return m.anyOf.some((E)=>oo(h,E)===Ie.True)?Ie.True:Ie.False}function TJe(h,m){return h.anyOf.every((E)=>oo(E,m)===Ie.True)?Ie.True:Ie.False}function Wge(h,m){return Ie.True}function MJe(h,m){return d5(m)?Uge(h,m):$k(m)?lV(h,m):cv(m)?u3n(h,m):J2(m)?c3n(h,m):V2(m)?Xge(h,m):e0(m)?qge(h,m):iv(m)?Gge(h,m):Rk(m)?Hge(h,m):Nk(m)?qWe(h,m):JJ(m)?kJe(h,m):nf(m)?J1(h,m):Q2(m)?Ie.True:Ie.False}function xJe(h,m){return Dk(h)?Ie.True:Dk(h)?Ie.True:Ie.False}function SJe(h,m){return $k(m)?lV(h,m):cv(m)?u3n(h,m):Q2(m)?Wge(h,m):J2(m)?c3n(h,m):nf(m)?J1(h,m):VJ(m)?Ie.True:Ie.False}function oo(h,m){return $N(h)||$N(m)?vJe(h,m):NN(h)||NN(m)?gJe(h,m):AM(h)||AM(m)?iJe(h,m):J2(h)?UWe(h,m):Nk(h)?zWe(h,m):qJ(h)?WWe(h,m):Rk(h)?JWe(h,m):_mn(h)?XWe(h,m):zJ(h)?VWe(h,m):XJ(h)?QWe(h,m):WJ(h)?YWe(h,m):iv(h)?ZWe(h,m):$k(h)?nJe(h,m):Hmn(h)?eJe(h,m):a5(h)?tJe(h,m):d5(h)?rJe(h,m):Gmn(h)?cJe(h,m):e0(h)?uJe(h,m):nf(h)?dJe(h,m):s1(h)?wJe(h,m):V2(h)?pJe(h,m):RN(h)?mJe(h,m):JJ(h)?IJe(h,m):Umn(h)?bJe(h,m):DN(h)?jJe(h,m):Dk(h)?EJe(h,m):cv(h)?TJe(h,m):Q2(h)?MJe(h,m):VJ(h)?SJe(h,m):UM(\`Unknown left type operand '\${h[Fe]}'\`)}function v5(h,m){return oo(h,m)}function OJe(h,m,E,A,H){let fn={};for(let On of globalThis.Object.getOwnPropertyNames(h))fn[On]=qM(h[On],m,E,A,rs(H));return fn}function CJe(h,m,E,A,H){return OJe(h.properties,m,E,A,H)}function Jge(h,m,E,A,H){let fn=CJe(h,m,E,A,H);return tu(fn)}function PJe(h,m,E,A){let H=v5(h,m);return H===Ie.Union?Nu([E,A]):H===Ie.True?E:A}function qM(h,m,E,A,H){return is(h)?Jge(h,m,E,A,H):Eb(h)?ye(Vge(h,m,E,A,H)):ye(PJe(h,m,E,A),H)}function AJe(h,m,E,A,H){return{[h]:qM(Tu(h),m,E,A,rs(H))}}function FJe(h,m,E,A,H){return h.reduce((fn,On)=>({...fn,...AJe(On,m,E,A,H)}),{})}function LJe(h,m,E,A,H){return FJe(h.keys,m,E,A,H)}function Vge(h,m,E,A,H){let fn=LJe(h,m,E,A,H);return tu(fn)}function NJe(h){return h.allOf.every((m)=>_k(m))}function RJe(h){return h.anyOf.some((m)=>_k(m))}function $Je(h){return!_k(h.not)}function _k(h){return h[Fe]==="Intersect"?NJe(h):h[Fe]==="Union"?RJe(h):h[Fe]==="Not"?$Je(h):h[Fe]==="Undefined"?!0:!1}function Qge(h,m){return zM(Bk(h),m)}function DJe(h,m){let E=h.filter((A)=>v5(A,m)===Ie.False);return E.length===1?E[0]:Nu(E)}function zM(h,m,E={}){if(Tb(h))return ye(Qge(h,m),E);if(is(h))return ye(Yge(h,m),E);return ye(Jc(h)?DJe(h.anyOf,m):v5(h,m)!==Ie.False?wc():h,E)}function KJe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=zM(h[A],m);return E}function BJe(h,m){return KJe(h.properties,m)}function Yge(h,m){let E=BJe(h,m);return tu(E)}function Zge(h,m){return XM(Bk(h),m)}function _Je(h,m){let E=h.filter((A)=>v5(A,m)!==Ie.False);return E.length===1?E[0]:Nu(E)}function XM(h,m,E){if(Tb(h))return ye(Zge(h,m),E);if(is(h))return ye(n2e(h,m),E);return ye(Jc(h)?_Je(h.anyOf,m):v5(h,m)!==Ie.False?h:wc(),E)}function HJe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=XM(h[A],m);return E}function GJe(h,m){return HJe(h.properties,m)}function n2e(h,m){let E=GJe(h,m);return tu(E)}function e2e(h,m){return q2(h)?ye(h.returns,m):wc(m)}function aV(h){return r0(X1(h))}function Hk(h,m,E){return ye({[Fe]:"Record",type:"object",patternProperties:{[h]:m}},E)}function o3n(h,m,E){let A={};for(let H of h)A[H]=m;return uo(A,{...E,[zm]:"Record"})}function UJe(h,m,E){return bge(h)?o3n(t0(h),m,E):Hk(h.pattern,m,E)}function qJe(h,m,E){return o3n(t0(Nu(h)),m,E)}function zJe(h,m,E){return o3n([h.toString()],m,E)}function XJe(h,m,E){return Hk(h.source,m,E)}function WJe(h,m,E){let A=Go(h.pattern)?w5:h.pattern;return Hk(A,m,E)}function JJe(h,m,E){return Hk(w5,m,E)}function VJe(h,m,E){return Hk(tge,m,E)}function QJe(h,m,E){return uo({true:m,false:m},E)}function YJe(h,m,E){return Hk(b5,m,E)}function ZJe(h,m,E){return Hk(b5,m,E)}function dV(h,m,E={}){return Jc(h)?qJe(h.anyOf,m,E):Tb(h)?UJe(h,m,E):jb(h)?zJe(h.const,m,E):ev(h)?QJe(h,m,E):X2(h)?YJe(h,m,E):W2(h)?ZJe(h,m,E):Dmn(h)?XJe(h,m,E):tv(h)?WJe(h,m,E):Rmn(h)?JJe(h,m,E):l5(h)?VJe(h,m,E):wc(E)}function bV(h){return globalThis.Object.getOwnPropertyNames(h.patternProperties)[0]}function t2e(h){let m=bV(h);return m===w5?Y2():m===b5?Jw():Y2({pattern:m})}function wV(h){return h.patternProperties[bV(h)]}function nVe(h,m){return m.parameters=UN(h,m.parameters),m.returns=Z2(h,m.returns),m}function eVe(h,m){return m.parameters=UN(h,m.parameters),m.returns=Z2(h,m.returns),m}function tVe(h,m){return m.allOf=UN(h,m.allOf),m}function rVe(h,m){return m.anyOf=UN(h,m.anyOf),m}function iVe(h,m){if(Go(m.items))return m;return m.items=UN(h,m.items),m}function cVe(h,m){return m.items=Z2(h,m.items),m}function uVe(h,m){return m.items=Z2(h,m.items),m}function oVe(h,m){return m.items=Z2(h,m.items),m}function sVe(h,m){return m.item=Z2(h,m.item),m}function fVe(h,m){let E=dVe(h,m.properties);return{...m,...uo(E)}}function lVe(h,m){let E=Z2(h,t2e(m)),A=Z2(h,wV(m)),H=dV(E,A);return{...m,...H}}function hVe(h,m){return m.index in h?h[m.index]:m5()}function aVe(h,m){let E=PM(m),A=n0(m),H=Z2(h,m);return E&&A?aV(H):E&&!A?r0(H):!E&&A?X1(H):H}function dVe(h,m){return globalThis.Object.getOwnPropertyNames(m).reduce((E,A)=>({...E,[A]:aVe(h,m[A])}),{})}function UN(h,m){return m.map((E)=>Z2(h,E))}function Z2(h,m){return q2(m)?nVe(h,m):z2(m)?eVe(h,m):Zs(m)?tVe(h,m):Jc(m)?rVe(h,m):Mb(m)?iVe(h,m):G2(m)?cVe(h,m):Ck(m)?uVe(h,m):Ak(m)?oVe(h,m):Fk(m)?sVe(h,m):rl(m)?fVe(h,m):Lk(m)?lVe(h,m):$mn(m)?hVe(h,m):m}function r2e(h,m){return Z2(m,jM(h))}function i2e(h){return ye({[Fe]:"Integer",type:"integer"},h)}function bVe(h,m,E){return{[h]:np(Tu(h),m,rs(E))}}function wVe(h,m,E){return h.reduce((H,fn)=>({...H,...bVe(fn,m,E)}),{})}function gVe(h,m,E){return wVe(h.keys,m,E)}function c2e(h,m,E){let A=gVe(h,m,E);return tu(A)}function pVe(h){let[m,E]=[h.slice(0,1),h.slice(1)];return[m.toLowerCase(),E].join("")}function mVe(h){let[m,E]=[h.slice(0,1),h.slice(1)];return[m.toUpperCase(),E].join("")}function vVe(h){return h.toUpperCase()}function yVe(h){return h.toLowerCase()}function kVe(h,m,E){let A=$M(h.pattern);if(!Kk(A))return{...h,pattern:u2e(h.pattern,m)};let On=[..._N(A)].map((at)=>Tu(at)),k=o2e(On,m),Le=Nu(k);return eV([Le],E)}function u2e(h,m){return typeof h==="string"?m==="Uncapitalize"?pVe(h):m==="Capitalize"?mVe(h):m==="Uppercase"?vVe(h):m==="Lowercase"?yVe(h):h:h.toString()}function o2e(h,m){return h.map((E)=>np(E,m))}function np(h,m,E={}){return Eb(h)?c2e(h,m,E):Tb(h)?kVe(h,m,E):Jc(h)?Nu(o2e(h.anyOf,m),E):jb(h)?Tu(u2e(h.const,m),E):ye(h,E)}function s2e(h,m={}){return np(h,"Capitalize",m)}function f2e(h,m={}){return np(h,"Lowercase",m)}function l2e(h,m={}){return np(h,"Uncapitalize",m)}function h2e(h,m={}){return np(h,"Uppercase",m)}function IVe(h,m,E){let A={};for(let H of globalThis.Object.getOwnPropertyNames(h))A[H]=y5(h[H],m,rs(E));return A}function jVe(h,m,E){return IVe(h.properties,m,E)}function a2e(h,m,E){let A=jVe(h,m,E);return tu(A)}function EVe(h,m){return h.map((E)=>s3n(E,m))}function TVe(h,m){return h.map((E)=>s3n(E,m))}function MVe(h,m){let{[m]:E,...A}=h;return A}function xVe(h,m){return m.reduce((E,A)=>MVe(E,A),h)}function SVe(h,m,E){let A=ef(h,[Ol,"$id","required","properties"]),H=xVe(E,m);return uo(H,A)}function OVe(h){let m=h.reduce((E,A)=>GJ(A)?[...E,Tu(A)]:E,[]);return Nu(m)}function s3n(h,m){return Zs(h)?W1(EVe(h.allOf,m)):Jc(h)?Nu(TVe(h.anyOf,m)):rl(h)?SVe(h,m,h.properties):uo({})}function y5(h,m,E){let A=Sl(m)?OVe(m):m,H=Ua(m)?t0(m):m,fn=Tf(h),On=Tf(m);return is(h)?a2e(h,H,E):Eb(m)?d2e(h,m,E):fn&&On?Uo("Omit",[h,A],E):!fn&&On?Uo("Omit",[h,A],E):fn&&!On?Uo("Omit",[h,A],E):ye({...s3n(h,H),...E})}function CVe(h,m,E){return{[m]:y5(h,[m],rs(E))}}function PVe(h,m,E){return m.reduce((A,H)=>({...A,...CVe(h,H,E)}),{})}function AVe(h,m,E){return PVe(h,m.keys,E)}function d2e(h,m,E){let A=AVe(h,m,E);return tu(A)}function FVe(h,m,E){let A={};for(let H of globalThis.Object.getOwnPropertyNames(h))A[H]=k5(h[H],m,rs(E));return A}function LVe(h,m,E){return FVe(h.properties,m,E)}function b2e(h,m,E){let A=LVe(h,m,E);return tu(A)}function NVe(h,m){return h.map((E)=>f3n(E,m))}function RVe(h,m){return h.map((E)=>f3n(E,m))}function $Ve(h,m){let E={};for(let A of m)if(A in h)E[A]=h[A];return E}function DVe(h,m,E){let A=ef(h,[Ol,"$id","required","properties"]),H=$Ve(E,m);return uo(H,A)}function KVe(h){let m=h.reduce((E,A)=>GJ(A)?[...E,Tu(A)]:E,[]);return Nu(m)}function f3n(h,m){return Zs(h)?W1(NVe(h.allOf,m)):Jc(h)?Nu(RVe(h.anyOf,m)):rl(h)?DVe(h,m,h.properties):uo({})}function k5(h,m,E){let A=Sl(m)?KVe(m):m,H=Ua(m)?t0(m):m,fn=Tf(h),On=Tf(m);return is(h)?b2e(h,H,E):Eb(m)?w2e(h,m,E):fn&&On?Uo("Pick",[h,A],E):!fn&&On?Uo("Pick",[h,A],E):fn&&!On?Uo("Pick",[h,A],E):ye({...f3n(h,H),...E})}function BVe(h,m,E){return{[m]:k5(h,[m],rs(E))}}function _Ve(h,m,E){return m.reduce((A,H)=>({...A,...BVe(h,H,E)}),{})}function HVe(h,m,E){return _Ve(h,m.keys,E)}function w2e(h,m,E){let A=HVe(h,m,E);return tu(A)}function GVe(h,m){return Uo("Partial",[Uo(h,m)])}function UVe(h){return Uo("Partial",[Jm(h)])}function qVe(h){let m={};for(let E of globalThis.Object.getOwnPropertyNames(h))m[E]=X1(h[E]);return m}function zVe(h,m){let E=ef(h,[Ol,"$id","required","properties"]),A=qVe(m);return uo(A,E)}function g2e(h){return h.map((m)=>p2e(m))}function p2e(h){return U2(h)?GVe(h.target,h.parameters):Tf(h)?UVe(h.$ref):Zs(h)?W1(g2e(h.allOf)):Jc(h)?Nu(g2e(h.anyOf)):rl(h)?zVe(h,h.properties):Pk(h)?h:ev(h)?h:X2(h)?h:jb(h)?h:PN(h)?h:W2(h)?h:tv(h)?h:AN(h)?h:FN(h)?h:uo({})}function WM(h,m){if(is(h))return m2e(h,m);else return ye({...p2e(h),...m})}function XVe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=WM(h[A],rs(m));return E}function WVe(h,m){return XVe(h.properties,m)}function m2e(h,m){let E=WVe(h,m);return tu(E)}function JVe(h,m){return Uo("Required",[Uo(h,m)])}function VVe(h){return Uo("Required",[Jm(h)])}function QVe(h){let m={};for(let E of globalThis.Object.getOwnPropertyNames(h))m[E]=ef(h[E],[u1]);return m}function YVe(h,m){let E=ef(h,[Ol,"$id","required","properties"]),A=QVe(m);return uo(A,E)}function v2e(h){return h.map((m)=>y2e(m))}function y2e(h){return U2(h)?JVe(h.target,h.parameters):Tf(h)?VVe(h.$ref):Zs(h)?W1(v2e(h.allOf)):Jc(h)?Nu(v2e(h.anyOf)):rl(h)?YVe(h,h.properties):Pk(h)?h:ev(h)?h:X2(h)?h:jb(h)?h:PN(h)?h:W2(h)?h:tv(h)?h:AN(h)?h:FN(h)?h:uo({})}function JM(h,m){if(is(h))return k2e(h,m);else return ye({...y2e(h),...m})}function ZVe(h,m){let E={};for(let A of globalThis.Object.getOwnPropertyNames(h))E[A]=JM(h[A],m);return E}function nQe(h,m){return ZVe(h.properties,m)}function k2e(h,m){let E=nQe(h,m);return tu(E)}function eQe(h,m){return m.map((E)=>Tf(E)?l3n(h,E.$ref):xb(h,E))}function l3n(h,m){return m in h?Tf(h[m])?l3n(h,h[m].$ref):xb(h,h[m]):wc()}function tQe(h){return BM(h[0])}function rQe(h){return p5(h[0],h[1])}function iQe(h){return GM(h[0])}function cQe(h){return WM(h[0])}function uQe(h){return y5(h[0],h[1])}function oQe(h){return k5(h[0],h[1])}function sQe(h){return JM(h[0])}function fQe(h,m,E){let A=eQe(h,E);return m==="Awaited"?tQe(A):m==="Index"?rQe(A):m==="KeyOf"?iQe(A):m==="Partial"?cQe(A):m==="Omit"?uQe(A):m==="Pick"?oQe(A):m==="Required"?sQe(A):wc()}function lQe(h,m){return FM(xb(h,m))}function hQe(h,m){return LM(xb(h,m))}function aQe(h,m,E){return NM(qN(h,m),xb(h,E))}function dQe(h,m,E){return Xm(qN(h,m),xb(h,E))}function bQe(h,m){return W1(qN(h,m))}function wQe(h,m){return KM(xb(h,m))}function gQe(h,m){return uo(globalThis.Object.keys(m).reduce((E,A)=>({...E,[A]:xb(h,m[A])}),{}))}function pQe(h,m){let[E,A]=[xb(h,wV(m)),bV(m)],H=jM(m);return H.patternProperties[A]=E,H}function mQe(h,m){return Tf(m)?{...l3n(h,m.$ref),[Ol]:m[Ol]}:m}function vQe(h,m){return Vw(qN(h,m))}function yQe(h,m){return Nu(qN(h,m))}function qN(h,m){return m.map((E)=>xb(h,E))}function xb(h,m){return n0(m)?ye(xb(h,ef(m,[u1])),m):PM(m)?ye(xb(h,ef(m,[qm])),m):h5(m)?ye(mQe(h,m),m):G2(m)?ye(lQe(h,m.items),m):Ck(m)?ye(hQe(h,m.items),m):U2(m)?ye(fQe(h,m.target,m.parameters)):q2(m)?ye(aQe(h,m.parameters,m.returns),m):z2(m)?ye(dQe(h,m.parameters,m.returns),m):Zs(m)?ye(bQe(h,m.allOf),m):Ak(m)?ye(wQe(h,m.items),m):rl(m)?ye(gQe(h,m.properties),m):Lk(m)?ye(pQe(h,m)):Mb(m)?ye(vQe(h,m.items||[]),m):Jc(m)?ye(yQe(h,m.anyOf),m):m}function kQe(h,m){return m in h?xb(h,h[m]):wc()}function I2e(h){return globalThis.Object.getOwnPropertyNames(h).reduce((m,E)=>({...m,[E]:kQe(h,E)}),{})}class j2e{constructor(h){let m=I2e(h),E=this.WithIdentifiers(m);this.$defs=E}Import(h,m){let E={...this.$defs,[h]:ye(this.$defs[h],m)};return ye({[Fe]:"Import",$defs:E,$ref:h})}WithIdentifiers(h){return globalThis.Object.getOwnPropertyNames(h).reduce((m,E)=>({...m,[E]:{...h[E],$id:E}}),{})}}function E2e(h){return new j2e(h)}function T2e(h,m){return ye({[Fe]:"Not",not:h},m)}function M2e(h,m){return z2(h)?Vw(h.parameters,m):wc()}var IQe=0;function x2e(h,m={}){if(Go(m.$id))m.$id=\`T\${IQe++}\`;let E=jM(h({[Fe]:"This",$ref:\`\${m.$id}\`}));return E.$id=m.$id,ye({[zm]:"Recursive",...E},m)}function S2e(h,m){let E=Ho(h)?new globalThis.RegExp(h):h;return ye({[Fe]:"RegExp",type:"RegExp",source:E.source,flags:E.flags},m)}function jQe(h){return Zs(h)?h.allOf:Jc(h)?h.anyOf:Mb(h)?h.items??[]:[]}function O2e(h){return jQe(h)}function C2e(h,m){return z2(h)?ye(h.returns,m):wc(m)}class P2e{constructor(h){this.schema=h}Decode(h){return new A2e(this.schema,h)}}class A2e{constructor(h,m){this.schema=h,this.decode=m}EncodeTransform(h,m){let H={Encode:(fn)=>m[Ol].Encode(h(fn)),Decode:(fn)=>this.decode(m[Ol].Decode(fn))};return{...m,[Ol]:H}}EncodeSchema(h,m){let E={Decode:this.decode,Encode:h};return{...m,[Ol]:E}}Encode(h){return h5(this.schema)?this.EncodeTransform(h,this.schema):this.EncodeSchema(h,this.schema)}}function F2e(h){return new P2e(h)}function L2e(h={}){return ye({[Fe]:h[Fe]??"Unsafe"},h)}function N2e(h){return ye({[Fe]:"Void",type:"void"},h)}var h3n={};$ze(h3n,{Any:()=>g5,Argument:()=>lge,Array:()=>FM,AsyncIterator:()=>LM,Awaited:()=>BM,BigInt:()=>DM,Boolean:()=>nV,Capitalize:()=>s2e,Composite:()=>Fge,Const:()=>Lge,Constructor:()=>NM,ConstructorParameters:()=>Nge,Date:()=>iV,Enum:()=>Rge,Exclude:()=>zM,Extends:()=>qM,Extract:()=>XM,Function:()=>Xm,Index:()=>p5,InstanceType:()=>e2e,Instantiate:()=>r2e,Integer:()=>i2e,Intersect:()=>W1,Iterator:()=>KM,KeyOf:()=>GM,Literal:()=>Tu,Lowercase:()=>f2e,Mapped:()=>xge,Module:()=>E2e,Never:()=>wc,Not:()=>T2e,Null:()=>cV,Number:()=>Jw,Object:()=>uo,Omit:()=>y5,Optional:()=>X1,Parameters:()=>M2e,Partial:()=>WM,Pick:()=>k5,Promise:()=>rV,Readonly:()=>r0,ReadonlyOptional:()=>aV,Record:()=>dV,Recursive:()=>x2e,Ref:()=>Jm,RegExp:()=>S2e,Required:()=>JM,Rest:()=>O2e,ReturnType:()=>C2e,String:()=>Y2,Symbol:()=>uV,TemplateLiteral:()=>eV,Transform:()=>F2e,Tuple:()=>Vw,Uint8Array:()=>sV,Uncapitalize:()=>l2e,Undefined:()=>oV,Union:()=>Nu,Unknown:()=>m5,Unsafe:()=>L2e,Uppercase:()=>h2e,Void:()=>N2e});var Pn=h3n;var I5=1,ov=Pn.String({minLength:1}),EQe=Pn.Object({source:Pn.String({minLength:1}),confidence:Pn.Optional(Pn.Union([Pn.Literal("confirmed"),Pn.Literal("inferred"),Pn.Literal("unknown")])),tool:Pn.Optional(Pn.String())},{additionalProperties:!1}),qa=Pn.Object({provenance:Pn.Optional(EQe),coverage:Pn.Optional(Pn.Number({minimum:0,maximum:1})),freshness:Pn.Optional(Pn.String({format:"date-time"})),data:Pn.Optional(Pn.Record(Pn.String(),Pn.Union([Pn.String(),Pn.Number(),Pn.Boolean()])))},{additionalProperties:!1}),a3n=["box","rect","pill","diamond","circle","ellipse","hexagon","parallelogram","cylinder","document","subroutine"],$2e=Pn.Union(a3n.map((h)=>Pn.Literal(h))),TQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),shape:Pn.Optional($2e),group:Pn.Optional(Pn.String()),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),position:Pn.Optional(Pn.Object({x:Pn.Number(),y:Pn.Number()},{additionalProperties:!1})),meta:Pn.Optional(qa)},{additionalProperties:!1}),MQe=Pn.Object({id:Pn.Optional(ov),from:Pn.String(),to:Pn.String(),label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),directed:Pn.Optional(Pn.Boolean()),meta:Pn.Optional(qa)},{additionalProperties:!1}),xQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),parent:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),gV=Pn.Union([Pn.Literal("down"),Pn.Literal("right"),Pn.Literal("up"),Pn.Literal("left")]),d3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("graph"),title:Pn.Optional(Pn.String()),direction:Pn.Optional(gV),nodes:Pn.Array(TQe),edges:Pn.Optional(Pn.Array(MQe)),groups:Pn.Optional(Pn.Array(xQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),SQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),OQe=Pn.Object({from:Pn.String(),to:Pn.String(),label:Pn.Optional(Pn.String()),style:Pn.Optional(Pn.Union([Pn.Literal("sync"),Pn.Literal("async"),Pn.Literal("reply")])),meta:Pn.Optional(qa)},{additionalProperties:!1}),b3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("sequence"),title:Pn.Optional(Pn.String()),participants:Pn.Array(SQe,{minItems:1}),messages:Pn.Array(OQe),meta:Pn.Optional(qa)},{additionalProperties:!1}),w3n=["initial","final","choice","fork","join","history"],CQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),pseudo:Pn.Optional(Pn.Union(w3n.map((h)=>Pn.Literal(h)))),parent:Pn.Optional(Pn.String()),actions:Pn.Optional(Pn.Array(Pn.String())),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),PQe=Pn.Object({id:Pn.Optional(ov),from:Pn.String(),to:Pn.String(),event:Pn.Optional(Pn.String()),guard:Pn.Optional(Pn.String()),action:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),g3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("state"),title:Pn.Optional(Pn.String()),direction:Pn.Optional(gV),states:Pn.Array(CQe,{minItems:1}),transitions:Pn.Optional(Pn.Array(PQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),p3n=["pk","fk","uk"],m3n=["one","zero-or-one","one-or-more","zero-or-more"],AQe=Pn.Object({name:Pn.String({minLength:1}),type:Pn.Optional(Pn.String()),keys:Pn.Optional(Pn.Array(Pn.Union(p3n.map((h)=>Pn.Literal(h))))),nullable:Pn.Optional(Pn.Boolean()),note:Pn.Optional(Pn.String())},{additionalProperties:!1}),FQe=Pn.Object({id:ov,label:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),attributes:Pn.Optional(Pn.Array(AQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),R2e=Pn.Union(m3n.map((h)=>Pn.Literal(h))),LQe=Pn.Object({id:Pn.Optional(ov),from:Pn.String(),to:Pn.String(),fromCardinality:Pn.Optional(R2e),toCardinality:Pn.Optional(R2e),label:Pn.Optional(Pn.String()),identifying:Pn.Optional(Pn.Boolean()),type:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),v3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("er"),title:Pn.Optional(Pn.String()),direction:Pn.Optional(gV),entities:Pn.Array(FQe,{minItems:1}),relations:Pn.Optional(Pn.Array(LQe)),meta:Pn.Optional(qa)},{additionalProperties:!1}),y3n=["tree","mindmap"],NQe=Pn.Object({id:ov,label:Pn.String(),parent:Pn.Optional(Pn.String()),type:Pn.Optional(Pn.String()),shape:Pn.Optional($2e),description:Pn.Optional(Pn.String()),link:Pn.Optional(Pn.String()),meta:Pn.Optional(qa)},{additionalProperties:!1}),k3n=Pn.Object({$schema:Pn.Optional(Pn.String()),version:Pn.Literal(I5),kind:Pn.Literal("tree"),title:Pn.Optional(Pn.String()),layout:Pn.Optional(Pn.Union(y3n.map((h)=>Pn.Literal(h)))),direction:Pn.Optional(gV),nodes:Pn.Array(NQe,{minItems:1}),meta:Pn.Optional(qa)},{additionalProperties:!1}),TFt=Pn.Union([d3n,b3n,g3n,v3n,k3n],{$id:"urn:standargraph:graph-document:v1",title:"Standargraph document v1"});function I3n(h){let{event:m,guard:E,action:A}=h;return[m,E===void 0?void 0:\`[\${E}]\`,A===void 0?void 0:\`/ \${A}\`].filter((H)=>H!==void 0).join(" ")}function RQe(h){switch(h.errorType){case le.ArrayContains:return"Expected array to contain at least one matching value";case le.ArrayMaxContains:return\`Expected array to contain no more than \${h.schema.maxContains} matching values\`;case le.ArrayMinContains:return\`Expected array to contain at least \${h.schema.minContains} matching values\`;case le.ArrayMaxItems:return\`Expected array length to be less or equal to \${h.schema.maxItems}\`;case le.ArrayMinItems:return\`Expected array length to be greater or equal to \${h.schema.minItems}\`;case le.ArrayUniqueItems:return"Expected array elements to be unique";case le.Array:return"Expected array";case le.AsyncIterator:return"Expected AsyncIterator";case le.BigIntExclusiveMaximum:return\`Expected bigint to be less than \${h.schema.exclusiveMaximum}\`;case le.BigIntExclusiveMinimum:return\`Expected bigint to be greater than \${h.schema.exclusiveMinimum}\`;case le.BigIntMaximum:return\`Expected bigint to be less or equal to \${h.schema.maximum}\`;case le.BigIntMinimum:return\`Expected bigint to be greater or equal to \${h.schema.minimum}\`;case le.BigIntMultipleOf:return\`Expected bigint to be a multiple of \${h.schema.multipleOf}\`;case le.BigInt:return"Expected bigint";case le.Boolean:return"Expected boolean";case le.DateExclusiveMinimumTimestamp:return\`Expected Date timestamp to be greater than \${h.schema.exclusiveMinimumTimestamp}\`;case le.DateExclusiveMaximumTimestamp:return\`Expected Date timestamp to be less than \${h.schema.exclusiveMaximumTimestamp}\`;case le.DateMinimumTimestamp:return\`Expected Date timestamp to be greater or equal to \${h.schema.minimumTimestamp}\`;case le.DateMaximumTimestamp:return\`Expected Date timestamp to be less or equal to \${h.schema.maximumTimestamp}\`;case le.DateMultipleOfTimestamp:return\`Expected Date timestamp to be a multiple of \${h.schema.multipleOfTimestamp}\`;case le.Date:return"Expected Date";case le.Function:return"Expected function";case le.IntegerExclusiveMaximum:return\`Expected integer to be less than \${h.schema.exclusiveMaximum}\`;case le.IntegerExclusiveMinimum:return\`Expected integer to be greater than \${h.schema.exclusiveMinimum}\`;case le.IntegerMaximum:return\`Expected integer to be less or equal to \${h.schema.maximum}\`;case le.IntegerMinimum:return\`Expected integer to be greater or equal to \${h.schema.minimum}\`;case le.IntegerMultipleOf:return\`Expected integer to be a multiple of \${h.schema.multipleOf}\`;case le.Integer:return"Expected integer";case le.IntersectUnevaluatedProperties:return"Unexpected property";case le.Intersect:return"Expected all values to match";case le.Iterator:return"Expected Iterator";case le.Literal:return\`Expected \${typeof h.schema.const==="string"?\`'\${h.schema.const}'\`:h.schema.const}\`;case le.Never:return"Never";case le.Not:return"Value should not match";case le.Null:return"Expected null";case le.NumberExclusiveMaximum:return\`Expected number to be less than \${h.schema.exclusiveMaximum}\`;case le.NumberExclusiveMinimum:return\`Expected number to be greater than \${h.schema.exclusiveMinimum}\`;case le.NumberMaximum:return\`Expected number to be less or equal to \${h.schema.maximum}\`;case le.NumberMinimum:return\`Expected number to be greater or equal to \${h.schema.minimum}\`;case le.NumberMultipleOf:return\`Expected number to be a multiple of \${h.schema.multipleOf}\`;case le.Number:return"Expected number";case le.Object:return"Expected object";case le.ObjectAdditionalProperties:return"Unexpected property";case le.ObjectMaxProperties:return\`Expected object to have no more than \${h.schema.maxProperties} properties\`;case le.ObjectMinProperties:return\`Expected object to have at least \${h.schema.minProperties} properties\`;case le.ObjectRequiredProperty:return"Expected required property";case le.Promise:return"Expected Promise";case le.RegExp:return"Expected string to match regular expression";case le.StringFormatUnknown:return\`Unknown format '\${h.schema.format}'\`;case le.StringFormat:return\`Expected string to match '\${h.schema.format}' format\`;case le.StringMaxLength:return\`Expected string length less or equal to \${h.schema.maxLength}\`;case le.StringMinLength:return\`Expected string length greater or equal to \${h.schema.minLength}\`;case le.StringPattern:return\`Expected string to match '\${h.schema.pattern}'\`;case le.String:return"Expected string";case le.Symbol:return"Expected symbol";case le.TupleLength:return\`Expected tuple to have \${h.schema.maxItems||0} elements\`;case le.Tuple:return"Expected tuple";case le.Uint8ArrayMaxByteLength:return\`Expected byte length less or equal to \${h.schema.maxByteLength}\`;case le.Uint8ArrayMinByteLength:return\`Expected byte length greater or equal to \${h.schema.minByteLength}\`;case le.Uint8Array:return"Expected Uint8Array";case le.Undefined:return"Expected undefined";case le.Union:return"Expected union value";case le.Void:return"Expected void";case le.Kind:return\`Expected kind '\${h.schema[Fe]}'\`;default:return"Unknown error type"}}var $Qe=RQe;function D2e(){return $Qe}class K2e extends Ys{constructor(h){super(\`Unable to dereference schema with $id '\${h.$ref}'\`);this.schema=h}}function DQe(h,m){let E=m.find((A)=>A.$id===h.$ref);if(E===void 0)throw new K2e(h);return Gk(E,m)}function B2e(h,m){if(!Ib(h.$id)||m.some((E)=>E.$id===h.$id))return m;return m.push(h),m}function Gk(h,m){return h[Fe]==="This"||h[Fe]==="Ref"?DQe(h,m):h}class _2e extends Ys{constructor(h){super("Unable to hash value");this.value=h}}var Sb;(function(h){h[h.Undefined=0]="Undefined",h[h.Null=1]="Null",h[h.Boolean=2]="Boolean",h[h.Number=3]="Number",h[h.String=4]="String",h[h.Object=5]="Object",h[h.Array=6]="Array",h[h.Date=7]="Date",h[h.Uint8Array=8]="Uint8Array",h[h.Symbol=9]="Symbol",h[h.BigInt=10]="BigInt"})(Sb||(Sb={}));var VM=BigInt("14695981039346656037"),[KQe,BQe]=[BigInt("1099511628211"),BigInt("18446744073709551616")],_Qe=Array.from({length:256}).map((h,m)=>BigInt(m)),H2e=new Float64Array(1),G2e=new DataView(H2e.buffer),U2e=new Uint8Array(H2e.buffer);function*HQe(h){let m=h===0?1:Math.ceil(Math.floor(Math.log2(h)+1)/8);for(let E=0;E<m;E++)yield h>>8*(m-1-E)&255}function GQe(h){V1(Sb.Array);for(let m of h)QM(m)}function UQe(h){V1(Sb.Boolean),V1(h?1:0)}function qQe(h){V1(Sb.BigInt),G2e.setBigInt64(0,h);for(let m of U2e)V1(m)}function zQe(h){V1(Sb.Date),QM(h.getTime())}function XQe(h){V1(Sb.Null)}function WQe(h){V1(Sb.Number),G2e.setFloat64(0,h);for(let m of U2e)V1(m)}function JQe(h){V1(Sb.Object);for(let m of globalThis.Object.getOwnPropertyNames(h).sort())QM(m),QM(h[m])}function VQe(h){V1(Sb.String);for(let m=0;m<h.length;m++)for(let E of HQe(h.charCodeAt(m)))V1(E)}function QQe(h){V1(Sb.Symbol),QM(h.description)}function YQe(h){V1(Sb.Uint8Array);for(let m=0;m<h.length;m++)V1(h[m])}function ZQe(h){return V1(Sb.Undefined)}function QM(h){if(Um(h))return GQe(h);if(SM(h))return UQe(h);if(OM(h))return qQe(h);if(EM(h))return zQe(h);if(xM(h))return XQe(h);if(Ww(h))return WQe(h);if(MM(h))return JQe(h);if(Ib(h))return VQe(h);if(CM(h))return QQe(h);if(TM(h))return YQe(h);if(f5(h))return ZQe(h);throw new _2e(h)}function V1(h){VM=VM^_Qe[h],VM=VM*KQe%BQe}function pV(h){return VM=BigInt("14695981039346656037"),QM(h),VM}class q2e extends Ys{constructor(h){super("Unknown type");this.schema=h}}function nYe(h){return h[Fe]==="Any"||h[Fe]==="Unknown"}function Pc(h){return h!==void 0}function eYe(h,m,E){return!0}function tYe(h,m,E){return!0}function rYe(h,m,E){if(!Um(E))return!1;if(Pc(h.minItems)&&!(E.length>=h.minItems))return!1;if(Pc(h.maxItems)&&!(E.length<=h.maxItems))return!1;for(let fn of E)if(!Ph(h.items,m,fn))return!1;if(h.uniqueItems===!0&&!function(){let fn=new Set;for(let On of E){let k=pV(On);if(fn.has(k))return!1;else fn.add(k)}return!0}())return!1;if(!(Pc(h.contains)||Ww(h.minContains)||Ww(h.maxContains)))return!0;let A=Pc(h.contains)?h.contains:wc(),H=E.reduce((fn,On)=>Ph(A,m,On)?fn+1:fn,0);if(H===0)return!1;if(Ww(h.minContains)&&H<h.minContains)return!1;if(Ww(h.maxContains)&&H>h.maxContains)return!1;return!0}function iYe(h,m,E){return DJ(E)}function cYe(h,m,E){if(!OM(E))return!1;if(Pc(h.exclusiveMaximum)&&!(E<h.exclusiveMaximum))return!1;if(Pc(h.exclusiveMinimum)&&!(E>h.exclusiveMinimum))return!1;if(Pc(h.maximum)&&!(E<=h.maximum))return!1;if(Pc(h.minimum)&&!(E>=h.minimum))return!1;if(Pc(h.multipleOf)&&E%h.multipleOf!==BigInt(0))return!1;return!0}function uYe(h,m,E){return SM(E)}function oYe(h,m,E){return Ph(h.returns,m,E.prototype)}function sYe(h,m,E){if(!EM(E))return!1;if(Pc(h.exclusiveMaximumTimestamp)&&!(E.getTime()<h.exclusiveMaximumTimestamp))return!1;if(Pc(h.exclusiveMinimumTimestamp)&&!(E.getTime()>h.exclusiveMinimumTimestamp))return!1;if(Pc(h.maximumTimestamp)&&!(E.getTime()<=h.maximumTimestamp))return!1;if(Pc(h.minimumTimestamp)&&!(E.getTime()>=h.minimumTimestamp))return!1;if(Pc(h.multipleOfTimestamp)&&E.getTime()%h.multipleOfTimestamp!==0)return!1;return!0}function fYe(h,m,E){return HJ(E)}function lYe(h,m,E){let A=globalThis.Object.values(h.$defs),H=h.$defs[h.$ref];return Ph(H,[...m,...A],E)}function hYe(h,m,E){if(!_J(E))return!1;if(Pc(h.exclusiveMaximum)&&!(E<h.exclusiveMaximum))return!1;if(Pc(h.exclusiveMinimum)&&!(E>h.exclusiveMinimum))return!1;if(Pc(h.maximum)&&!(E<=h.maximum))return!1;if(Pc(h.minimum)&&!(E>=h.minimum))return!1;if(Pc(h.multipleOf)&&E%h.multipleOf!==0)return!1;return!0}function aYe(h,m,E){let A=h.allOf.every((H)=>Ph(H,m,E));if(h.unevaluatedProperties===!1){let H=new RegExp(HM(h)),fn=Object.getOwnPropertyNames(E).every((On)=>H.test(On));return A&&fn}else if(Ua(h.unevaluatedProperties)){let H=new RegExp(HM(h)),fn=Object.getOwnPropertyNames(E).every((On)=>H.test(On)||Ph(h.unevaluatedProperties,m,E[On]));return A&&fn}else return A}function dYe(h,m,E){return KJ(E)}function bYe(h,m,E){return E===h.const}function wYe(h,m,E){return!1}function gYe(h,m,E){return!Ph(h.not,m,E)}function pYe(h,m,E){return xM(E)}function mYe(h,m,E){if(!z1.IsNumberLike(E))return!1;if(Pc(h.exclusiveMaximum)&&!(E<h.exclusiveMaximum))return!1;if(Pc(h.exclusiveMinimum)&&!(E>h.exclusiveMinimum))return!1;if(Pc(h.minimum)&&!(E>=h.minimum))return!1;if(Pc(h.maximum)&&!(E<=h.maximum))return!1;if(Pc(h.multipleOf)&&E%h.multipleOf!==0)return!1;return!0}function vYe(h,m,E){if(!z1.IsObjectLike(E))return!1;if(Pc(h.minProperties)&&!(Object.getOwnPropertyNames(E).length>=h.minProperties))return!1;if(Pc(h.maxProperties)&&!(Object.getOwnPropertyNames(E).length<=h.maxProperties))return!1;let A=Object.getOwnPropertyNames(h.properties);for(let H of A){let fn=h.properties[H];if(h.required&&h.required.includes(H)){if(!Ph(fn,m,E[H]))return!1;if((_k(fn)||nYe(fn))&&!(H in E))return!1}else if(z1.IsExactOptionalProperty(E,H)&&!Ph(fn,m,E[H]))return!1}if(h.additionalProperties===!1){let H=Object.getOwnPropertyNames(E);if(h.required&&h.required.length===A.length&&H.length===A.length)return!0;else return H.every((fn)=>A.includes(fn))}else if(typeof h.additionalProperties==="object")return Object.getOwnPropertyNames(E).every((fn)=>A.includes(fn)||Ph(h.additionalProperties,m,E[fn]));else return!0}function yYe(h,m,E){return BJ(E)}function kYe(h,m,E){if(!z1.IsRecordLike(E))return!1;if(Pc(h.minProperties)&&!(Object.getOwnPropertyNames(E).length>=h.minProperties))return!1;if(Pc(h.maxProperties)&&!(Object.getOwnPropertyNames(E).length<=h.maxProperties))return!1;let[A,H]=Object.entries(h.patternProperties)[0],fn=new RegExp(A),On=Object.entries(E).every(([at,Oe])=>fn.test(at)?Ph(H,m,Oe):!0),k=typeof h.additionalProperties==="object"?Object.entries(E).every(([at,Oe])=>!fn.test(at)?Ph(h.additionalProperties,m,Oe):!0):!0,Le=h.additionalProperties===!1?Object.getOwnPropertyNames(E).every((at)=>fn.test(at)):!0;return On&&k&&Le}function IYe(h,m,E){return Ph(Gk(h,m),m,E)}function jYe(h,m,E){let A=new RegExp(h.source,h.flags);if(Pc(h.minLength)){if(!(E.length>=h.minLength))return!1}if(Pc(h.maxLength)){if(!(E.length<=h.maxLength))return!1}return A.test(E)}function EYe(h,m,E){if(!Ib(E))return!1;if(Pc(h.minLength)){if(!(E.length>=h.minLength))return!1}if(Pc(h.maxLength)){if(!(E.length<=h.maxLength))return!1}if(Pc(h.pattern)){if(!new RegExp(h.pattern).test(E))return!1}if(Pc(h.format)){if(!zmn(h.format))return!1;return rge(h.format)(E)}return!0}function TYe(h,m,E){return CM(E)}function MYe(h,m,E){return Ib(E)&&new RegExp(h.pattern).test(E)}function xYe(h,m,E){return Ph(Gk(h,m),m,E)}function SYe(h,m,E){if(!Um(E))return!1;if(h.items===void 0&&E.length!==0)return!1;if(E.length!==h.maxItems)return!1;if(!h.items)return!0;for(let A=0;A<h.items.length;A++)if(!Ph(h.items[A],m,E[A]))return!1;return!0}function OYe(h,m,E){return f5(E)}function CYe(h,m,E){return h.anyOf.some((A)=>Ph(A,m,E))}function PYe(h,m,E){if(!TM(E))return!1;if(Pc(h.maxByteLength)&&!(E.length<=h.maxByteLength))return!1;if(Pc(h.minByteLength)&&!(E.length>=h.minByteLength))return!1;return!0}function AYe(h,m,E){return!0}function FYe(h,m,E){return z1.IsVoidLike(E)}function LYe(h,m,E){if(!Xmn(h[Fe]))return!1;return cge(h[Fe])(h,E)}function Ph(h,m,E){let A=Pc(h.$id)?B2e(h,m):m,H=h;switch(H[Fe]){case"Any":return eYe(H,A,E);case"Argument":return tYe(H,A,E);case"Array":return rYe(H,A,E);case"AsyncIterator":return iYe(H,A,E);case"BigInt":return cYe(H,A,E);case"Boolean":return uYe(H,A,E);case"Constructor":return oYe(H,A,E);case"Date":return sYe(H,A,E);case"Function":return fYe(H,A,E);case"Import":return lYe(H,A,E);case"Integer":return hYe(H,A,E);case"Intersect":return aYe(H,A,E);case"Iterator":return dYe(H,A,E);case"Literal":return bYe(H,A,E);case"Never":return wYe(H,A,E);case"Not":return gYe(H,A,E);case"Null":return pYe(H,A,E);case"Number":return mYe(H,A,E);case"Object":return vYe(H,A,E);case"Promise":return yYe(H,A,E);case"Record":return kYe(H,A,E);case"Ref":return IYe(H,A,E);case"RegExp":return jYe(H,A,E);case"String":return EYe(H,A,E);case"Symbol":return TYe(H,A,E);case"TemplateLiteral":return MYe(H,A,E);case"This":return xYe(H,A,E);case"Tuple":return SYe(H,A,E);case"Undefined":return OYe(H,A,E);case"Union":return CYe(H,A,E);case"Uint8Array":return PYe(H,A,E);case"Unknown":return AYe(H,A,E);case"Void":return FYe(H,A,E);default:if(!Xmn(H[Fe]))throw new q2e(H);return LYe(H,A,E)}}function z2e(...h){return h.length===3?Ph(h[0],h[1],h[2]):Ph(h[0],[],h[1])}var le;(function(h){h[h.ArrayContains=0]="ArrayContains",h[h.ArrayMaxContains=1]="ArrayMaxContains",h[h.ArrayMaxItems=2]="ArrayMaxItems",h[h.ArrayMinContains=3]="ArrayMinContains",h[h.ArrayMinItems=4]="ArrayMinItems",h[h.ArrayUniqueItems=5]="ArrayUniqueItems",h[h.Array=6]="Array",h[h.AsyncIterator=7]="AsyncIterator",h[h.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",h[h.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",h[h.BigIntMaximum=10]="BigIntMaximum",h[h.BigIntMinimum=11]="BigIntMinimum",h[h.BigIntMultipleOf=12]="BigIntMultipleOf",h[h.BigInt=13]="BigInt",h[h.Boolean=14]="Boolean",h[h.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",h[h.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",h[h.DateMaximumTimestamp=17]="DateMaximumTimestamp",h[h.DateMinimumTimestamp=18]="DateMinimumTimestamp",h[h.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",h[h.Date=20]="Date",h[h.Function=21]="Function",h[h.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",h[h.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",h[h.IntegerMaximum=24]="IntegerMaximum",h[h.IntegerMinimum=25]="IntegerMinimum",h[h.IntegerMultipleOf=26]="IntegerMultipleOf",h[h.Integer=27]="Integer",h[h.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",h[h.Intersect=29]="Intersect",h[h.Iterator=30]="Iterator",h[h.Kind=31]="Kind",h[h.Literal=32]="Literal",h[h.Never=33]="Never",h[h.Not=34]="Not",h[h.Null=35]="Null",h[h.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",h[h.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",h[h.NumberMaximum=38]="NumberMaximum",h[h.NumberMinimum=39]="NumberMinimum",h[h.NumberMultipleOf=40]="NumberMultipleOf",h[h.Number=41]="Number",h[h.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",h[h.ObjectMaxProperties=43]="ObjectMaxProperties",h[h.ObjectMinProperties=44]="ObjectMinProperties",h[h.ObjectRequiredProperty=45]="ObjectRequiredProperty",h[h.Object=46]="Object",h[h.Promise=47]="Promise",h[h.RegExp=48]="RegExp",h[h.StringFormatUnknown=49]="StringFormatUnknown",h[h.StringFormat=50]="StringFormat",h[h.StringMaxLength=51]="StringMaxLength",h[h.StringMinLength=52]="StringMinLength",h[h.StringPattern=53]="StringPattern",h[h.String=54]="String",h[h.Symbol=55]="Symbol",h[h.TupleLength=56]="TupleLength",h[h.Tuple=57]="Tuple",h[h.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",h[h.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",h[h.Uint8Array=60]="Uint8Array",h[h.Undefined=61]="Undefined",h[h.Union=62]="Union",h[h.Void=63]="Void"})(le||(le={}));class X2e extends Ys{constructor(h){super("Unknown type");this.schema=h}}function sv(h){return h.replace(/~/g,"~0").replace(/\\//g,"~1")}function Ac(h){return h!==void 0}class zN{constructor(h){this.iterator=h}[Symbol.iterator](){return this.iterator}First(){let h=this.iterator.next();return h.done?void 0:h.value}}function Kt(h,m,E,A,H=[]){return{type:h,schema:m,path:E,value:A,message:D2e()({errorType:h,path:E,schema:m,value:A,errors:H}),errors:H}}function*NYe(h,m,E,A){}function*RYe(h,m,E,A){}function*$Ye(h,m,E,A){if(!Um(A))return yield Kt(le.Array,h,E,A);if(Ac(h.minItems)&&!(A.length>=h.minItems))yield Kt(le.ArrayMinItems,h,E,A);if(Ac(h.maxItems)&&!(A.length<=h.maxItems))yield Kt(le.ArrayMaxItems,h,E,A);for(let On=0;On<A.length;On++)yield*Ah(h.items,m,\`\${E}/\${On}\`,A[On]);if(h.uniqueItems===!0&&!function(){let On=new Set;for(let k of A){let Le=pV(k);if(On.has(Le))return!1;else On.add(Le)}return!0}())yield Kt(le.ArrayUniqueItems,h,E,A);if(!(Ac(h.contains)||Ac(h.minContains)||Ac(h.maxContains)))return;let H=Ac(h.contains)?h.contains:wc(),fn=A.reduce((On,k,Le)=>Ah(H,m,\`\${E}\${Le}\`,k).next().done===!0?On+1:On,0);if(fn===0)yield Kt(le.ArrayContains,h,E,A);if(Ww(h.minContains)&&fn<h.minContains)yield Kt(le.ArrayMinContains,h,E,A);if(Ww(h.maxContains)&&fn>h.maxContains)yield Kt(le.ArrayMaxContains,h,E,A)}function*DYe(h,m,E,A){if(!DJ(A))yield Kt(le.AsyncIterator,h,E,A)}function*KYe(h,m,E,A){if(!OM(A))return yield Kt(le.BigInt,h,E,A);if(Ac(h.exclusiveMaximum)&&!(A<h.exclusiveMaximum))yield Kt(le.BigIntExclusiveMaximum,h,E,A);if(Ac(h.exclusiveMinimum)&&!(A>h.exclusiveMinimum))yield Kt(le.BigIntExclusiveMinimum,h,E,A);if(Ac(h.maximum)&&!(A<=h.maximum))yield Kt(le.BigIntMaximum,h,E,A);if(Ac(h.minimum)&&!(A>=h.minimum))yield Kt(le.BigIntMinimum,h,E,A);if(Ac(h.multipleOf)&&A%h.multipleOf!==BigInt(0))yield Kt(le.BigIntMultipleOf,h,E,A)}function*BYe(h,m,E,A){if(!SM(A))yield Kt(le.Boolean,h,E,A)}function*_Ye(h,m,E,A){yield*Ah(h.returns,m,E,A.prototype)}function*HYe(h,m,E,A){if(!EM(A))return yield Kt(le.Date,h,E,A);if(Ac(h.exclusiveMaximumTimestamp)&&!(A.getTime()<h.exclusiveMaximumTimestamp))yield Kt(le.DateExclusiveMaximumTimestamp,h,E,A);if(Ac(h.exclusiveMinimumTimestamp)&&!(A.getTime()>h.exclusiveMinimumTimestamp))yield Kt(le.DateExclusiveMinimumTimestamp,h,E,A);if(Ac(h.maximumTimestamp)&&!(A.getTime()<=h.maximumTimestamp))yield Kt(le.DateMaximumTimestamp,h,E,A);if(Ac(h.minimumTimestamp)&&!(A.getTime()>=h.minimumTimestamp))yield Kt(le.DateMinimumTimestamp,h,E,A);if(Ac(h.multipleOfTimestamp)&&A.getTime()%h.multipleOfTimestamp!==0)yield Kt(le.DateMultipleOfTimestamp,h,E,A)}function*GYe(h,m,E,A){if(!HJ(A))yield Kt(le.Function,h,E,A)}function*UYe(h,m,E,A){let H=globalThis.Object.values(h.$defs),fn=h.$defs[h.$ref];yield*Ah(fn,[...m,...H],E,A)}function*qYe(h,m,E,A){if(!_J(A))return yield Kt(le.Integer,h,E,A);if(Ac(h.exclusiveMaximum)&&!(A<h.exclusiveMaximum))yield Kt(le.IntegerExclusiveMaximum,h,E,A);if(Ac(h.exclusiveMinimum)&&!(A>h.exclusiveMinimum))yield Kt(le.IntegerExclusiveMinimum,h,E,A);if(Ac(h.maximum)&&!(A<=h.maximum))yield Kt(le.IntegerMaximum,h,E,A);if(Ac(h.minimum)&&!(A>=h.minimum))yield Kt(le.IntegerMinimum,h,E,A);if(Ac(h.multipleOf)&&A%h.multipleOf!==0)yield Kt(le.IntegerMultipleOf,h,E,A)}function*zYe(h,m,E,A){let H=!1;for(let fn of h.allOf)for(let On of Ah(fn,m,E,A))H=!0,yield On;if(H)return yield Kt(le.Intersect,h,E,A);if(h.unevaluatedProperties===!1){let fn=new RegExp(HM(h));for(let On of Object.getOwnPropertyNames(A))if(!fn.test(On))yield Kt(le.IntersectUnevaluatedProperties,h,\`\${E}/\${On}\`,A)}if(typeof h.unevaluatedProperties==="object"){let fn=new RegExp(HM(h));for(let On of Object.getOwnPropertyNames(A))if(!fn.test(On)){let k=Ah(h.unevaluatedProperties,m,\`\${E}/\${On}\`,A[On]).next();if(!k.done)yield k.value}}}function*XYe(h,m,E,A){if(!KJ(A))yield Kt(le.Iterator,h,E,A)}function*WYe(h,m,E,A){if(A!==h.const)yield Kt(le.Literal,h,E,A)}function*JYe(h,m,E,A){yield Kt(le.Never,h,E,A)}function*VYe(h,m,E,A){if(Ah(h.not,m,E,A).next().done===!0)yield Kt(le.Not,h,E,A)}function*QYe(h,m,E,A){if(!xM(A))yield Kt(le.Null,h,E,A)}function*YYe(h,m,E,A){if(!z1.IsNumberLike(A))return yield Kt(le.Number,h,E,A);if(Ac(h.exclusiveMaximum)&&!(A<h.exclusiveMaximum))yield Kt(le.NumberExclusiveMaximum,h,E,A);if(Ac(h.exclusiveMinimum)&&!(A>h.exclusiveMinimum))yield Kt(le.NumberExclusiveMinimum,h,E,A);if(Ac(h.maximum)&&!(A<=h.maximum))yield Kt(le.NumberMaximum,h,E,A);if(Ac(h.minimum)&&!(A>=h.minimum))yield Kt(le.NumberMinimum,h,E,A);if(Ac(h.multipleOf)&&A%h.multipleOf!==0)yield Kt(le.NumberMultipleOf,h,E,A)}function*ZYe(h,m,E,A){if(!z1.IsObjectLike(A))return yield Kt(le.Object,h,E,A);if(Ac(h.minProperties)&&!(Object.getOwnPropertyNames(A).length>=h.minProperties))yield Kt(le.ObjectMinProperties,h,E,A);if(Ac(h.maxProperties)&&!(Object.getOwnPropertyNames(A).length<=h.maxProperties))yield Kt(le.ObjectMaxProperties,h,E,A);let H=Array.isArray(h.required)?h.required:[],fn=Object.getOwnPropertyNames(h.properties),On=Object.getOwnPropertyNames(A);for(let k of H){if(On.includes(k))continue;yield Kt(le.ObjectRequiredProperty,h.properties[k],\`\${E}/\${sv(k)}\`,void 0)}if(h.additionalProperties===!1){for(let k of On)if(!fn.includes(k))yield Kt(le.ObjectAdditionalProperties,h,\`\${E}/\${sv(k)}\`,A[k])}if(typeof h.additionalProperties==="object")for(let k of On){if(fn.includes(k))continue;yield*Ah(h.additionalProperties,m,\`\${E}/\${sv(k)}\`,A[k])}for(let k of fn){let Le=h.properties[k];if(h.required&&h.required.includes(k)){if(yield*Ah(Le,m,\`\${E}/\${sv(k)}\`,A[k]),_k(h)&&!(k in A))yield Kt(le.ObjectRequiredProperty,Le,\`\${E}/\${sv(k)}\`,void 0)}else if(z1.IsExactOptionalProperty(A,k))yield*Ah(Le,m,\`\${E}/\${sv(k)}\`,A[k])}}function*nZe(h,m,E,A){if(!BJ(A))yield Kt(le.Promise,h,E,A)}function*eZe(h,m,E,A){if(!z1.IsRecordLike(A))return yield Kt(le.Object,h,E,A);if(Ac(h.minProperties)&&!(Object.getOwnPropertyNames(A).length>=h.minProperties))yield Kt(le.ObjectMinProperties,h,E,A);if(Ac(h.maxProperties)&&!(Object.getOwnPropertyNames(A).length<=h.maxProperties))yield Kt(le.ObjectMaxProperties,h,E,A);let[H,fn]=Object.entries(h.patternProperties)[0],On=new RegExp(H);for(let[k,Le]of Object.entries(A))if(On.test(k))yield*Ah(fn,m,\`\${E}/\${sv(k)}\`,Le);if(typeof h.additionalProperties==="object"){for(let[k,Le]of Object.entries(A))if(!On.test(k))yield*Ah(h.additionalProperties,m,\`\${E}/\${sv(k)}\`,Le)}if(h.additionalProperties===!1)for(let[k,Le]of Object.entries(A)){if(On.test(k))continue;return yield Kt(le.ObjectAdditionalProperties,h,\`\${E}/\${sv(k)}\`,Le)}}function*tZe(h,m,E,A){yield*Ah(Gk(h,m),m,E,A)}function*rZe(h,m,E,A){if(!Ib(A))return yield Kt(le.String,h,E,A);if(Ac(h.minLength)&&!(A.length>=h.minLength))yield Kt(le.StringMinLength,h,E,A);if(Ac(h.maxLength)&&!(A.length<=h.maxLength))yield Kt(le.StringMaxLength,h,E,A);if(!new RegExp(h.source,h.flags).test(A))return yield Kt(le.RegExp,h,E,A)}function*iZe(h,m,E,A){if(!Ib(A))return yield Kt(le.String,h,E,A);if(Ac(h.minLength)&&!(A.length>=h.minLength))yield Kt(le.StringMinLength,h,E,A);if(Ac(h.maxLength)&&!(A.length<=h.maxLength))yield Kt(le.StringMaxLength,h,E,A);if(Ib(h.pattern)){if(!new RegExp(h.pattern).test(A))yield Kt(le.StringPattern,h,E,A)}if(Ib(h.format)){if(!zmn(h.format))yield Kt(le.StringFormatUnknown,h,E,A);else if(!rge(h.format)(A))yield Kt(le.StringFormat,h,E,A)}}function*cZe(h,m,E,A){if(!CM(A))yield Kt(le.Symbol,h,E,A)}function*uZe(h,m,E,A){if(!Ib(A))return yield Kt(le.String,h,E,A);if(!new RegExp(h.pattern).test(A))yield Kt(le.StringPattern,h,E,A)}function*oZe(h,m,E,A){yield*Ah(Gk(h,m),m,E,A)}function*sZe(h,m,E,A){if(!Um(A))return yield Kt(le.Tuple,h,E,A);if(h.items===void 0&&A.length!==0)return yield Kt(le.TupleLength,h,E,A);if(A.length!==h.maxItems)return yield Kt(le.TupleLength,h,E,A);if(!h.items)return;for(let H=0;H<h.items.length;H++)yield*Ah(h.items[H],m,\`\${E}/\${H}\`,A[H])}function*fZe(h,m,E,A){if(!f5(A))yield Kt(le.Undefined,h,E,A)}function*lZe(h,m,E,A){if(z2e(h,m,A))return;let H=h.anyOf.map((fn)=>new zN(Ah(fn,m,E,A)));yield Kt(le.Union,h,E,A,H)}function*hZe(h,m,E,A){if(!TM(A))return yield Kt(le.Uint8Array,h,E,A);if(Ac(h.maxByteLength)&&!(A.length<=h.maxByteLength))yield Kt(le.Uint8ArrayMaxByteLength,h,E,A);if(Ac(h.minByteLength)&&!(A.length>=h.minByteLength))yield Kt(le.Uint8ArrayMinByteLength,h,E,A)}function*aZe(h,m,E,A){}function*dZe(h,m,E,A){if(!z1.IsVoidLike(A))yield Kt(le.Void,h,E,A)}function*bZe(h,m,E,A){if(!cge(h[Fe])(h,A))yield Kt(le.Kind,h,E,A)}function*Ah(h,m,E,A){let H=Ac(h.$id)?[...m,h]:m,fn=h;switch(fn[Fe]){case"Any":return yield*NYe(fn,H,E,A);case"Argument":return yield*RYe(fn,H,E,A);case"Array":return yield*$Ye(fn,H,E,A);case"AsyncIterator":return yield*DYe(fn,H,E,A);case"BigInt":return yield*KYe(fn,H,E,A);case"Boolean":return yield*BYe(fn,H,E,A);case"Constructor":return yield*_Ye(fn,H,E,A);case"Date":return yield*HYe(fn,H,E,A);case"Function":return yield*GYe(fn,H,E,A);case"Import":return yield*UYe(fn,H,E,A);case"Integer":return yield*qYe(fn,H,E,A);case"Intersect":return yield*zYe(fn,H,E,A);case"Iterator":return yield*XYe(fn,H,E,A);case"Literal":return yield*WYe(fn,H,E,A);case"Never":return yield*JYe(fn,H,E,A);case"Not":return yield*VYe(fn,H,E,A);case"Null":return yield*QYe(fn,H,E,A);case"Number":return yield*YYe(fn,H,E,A);case"Object":return yield*ZYe(fn,H,E,A);case"Promise":return yield*nZe(fn,H,E,A);case"Record":return yield*eZe(fn,H,E,A);case"Ref":return yield*tZe(fn,H,E,A);case"RegExp":return yield*rZe(fn,H,E,A);case"String":return yield*iZe(fn,H,E,A);case"Symbol":return yield*cZe(fn,H,E,A);case"TemplateLiteral":return yield*uZe(fn,H,E,A);case"This":return yield*oZe(fn,H,E,A);case"Tuple":return yield*sZe(fn,H,E,A);case"Undefined":return yield*fZe(fn,H,E,A);case"Union":return yield*lZe(fn,H,E,A);case"Uint8Array":return yield*hZe(fn,H,E,A);case"Unknown":return yield*aZe(fn,H,E,A);case"Void":return yield*dZe(fn,H,E,A);default:if(!Xmn(fn[Fe]))throw new X2e(h);return yield*bZe(fn,H,E,A)}}function W2e(...h){let m=h.length===3?Ah(h[0],h[1],"",h[2]):Ah(h[0],[],"",h[1]);return new zN(m)}function c0(h,m,E,A){let H=new Set;return h.forEach((fn,On)=>{if(fn.id===void 0)return;if(H.has(fn.id))A.push({path:\`/\${m}/\${On}/id\`,message:\`Duplicate \${E} id "\${fn.id}"\`});H.add(fn.id)}),H}function YM(h){let m=new Set(h.map((On)=>On.id)),E=new Map;for(let On of h)if(On.parent!==void 0&&m.has(On.parent))E.set(On.id,On.parent);let A=new Map;h.forEach((On,k)=>{if(!A.has(On.id))A.set(On.id,k)});let H=new Map,fn=[];for(let On of h){if(H.has(On.id))continue;let k=[],Le=new Map,at=On.id;while(at!==void 0&&!H.has(at))H.set(at,1),Le.set(at,k.length),k.push(at),at=E.get(at);if(at!==void 0&&H.get(at)===1){let Oe=k.slice(Le.get(at)),Zr=0;Oe.forEach((ae,be)=>{if(A.get(ae)<A.get(Oe[Zr]))Zr=be});let Re=[...Oe.slice(Zr),...Oe.slice(0,Zr)];fn.push({index:A.get(Re[0]),cycle:[...Re,Re[0]]})}for(let Oe of k)H.set(Oe,2)}return fn.sort((On,k)=>On.index-k.index)}function J2e(h){let m=[],E=c0(h.entities,"entities","entity",m),A=h.relations??[];return c0(A,"relations","relation",m),A.forEach((H,fn)=>{if(!E.has(H.from))m.push({path:\`/relations/\${fn}/from\`,message:\`Relation source "\${H.from}" is not a known entity id\`});if(!E.has(H.to))m.push({path:\`/relations/\${fn}/to\`,message:\`Relation target "\${H.to}" is not a known entity id\`})}),h.entities.forEach((H,fn)=>{let On=new Set;(H.attributes??[]).forEach((k,Le)=>{let at=\`/entities/\${fn}/attributes/\${Le}\`;if(On.has(k.name))m.push({path:\`\${at}/name\`,message:\`Duplicate attribute "\${k.name}" in entity "\${H.id}"\`});On.add(k.name);let Oe=new Set;(k.keys??[]).forEach((Zr,Re)=>{if(Oe.has(Zr))m.push({path:\`\${at}/keys/\${Re}\`,message:\`Duplicate key "\${Zr}"\`});Oe.add(Zr)})})}),m}function V2e(h){let m=[],E=c0(h.nodes,"nodes","node",m),A=h.groups??[],H=c0(A,"groups","group",m),fn=h.edges??[];c0(fn,"edges","edge",m),fn.forEach((On,k)=>{if(!E.has(On.from))m.push({path:\`/edges/\${k}/from\`,message:\`Edge source "\${On.from}" is not a known node id\`});if(!E.has(On.to))m.push({path:\`/edges/\${k}/to\`,message:\`Edge target "\${On.to}" is not a known node id\`})}),h.nodes.forEach((On,k)=>{if(On.group!==void 0&&!H.has(On.group))m.push({path:\`/nodes/\${k}/group\`,message:\`Group "\${On.group}" is not a known group id\`})}),A.forEach((On,k)=>{if(On.parent!==void 0&&!H.has(On.parent))m.push({path:\`/groups/\${k}/parent\`,message:\`Parent group "\${On.parent}" is not a known group id\`})});for(let{index:On,cycle:k}of YM(A))m.push({path:\`/groups/\${On}/parent\`,message:\`Group parent cycle: \${k.join(" -> ")}\`});return m}function Q2e(h){let m=[],E=c0(h.participants,"participants","participant",m);return h.messages.forEach((A,H)=>{if(!E.has(A.from))m.push({path:\`/messages/\${H}/from\`,message:\`Message sender "\${A.from}" is not a known participant id\`});if(!E.has(A.to))m.push({path:\`/messages/\${H}/to\`,message:\`Message recipient "\${A.to}" is not a known participant id\`})}),m}function Y2e(h){let m=[],E=c0(h.states,"states","state",m),A=h.transitions??[];c0(A,"transitions","transition",m);let H=new Map;for(let k of h.states)if(!H.has(k.id))H.set(k.id,k.pseudo);let fn=new Map;A.forEach((k,Le)=>{if(fn.set(k.from,(fn.get(k.from)??0)+1),!E.has(k.from))m.push({path:\`/transitions/\${Le}/from\`,message:\`Transition source "\${k.from}" is not a known state id\`});else if(H.get(k.from)==="final")m.push({path:\`/transitions/\${Le}/from\`,message:\`Transition out of a final pseudo-state "\${k.from}"\`});if(!E.has(k.to))m.push({path:\`/transitions/\${Le}/to\`,message:\`Transition target "\${k.to}" is not a known state id\`});else if(H.get(k.to)==="initial")m.push({path:\`/transitions/\${Le}/to\`,message:\`Transition into an initial pseudo-state "\${k.to}"\`})});let On=new Set;h.states.forEach((k,Le)=>{if(k.parent!==void 0){if(!E.has(k.parent))m.push({path:\`/states/\${Le}/parent\`,message:\`Parent state "\${k.parent}" is not a known state id\`});else if(H.get(k.parent)!==void 0)m.push({path:\`/states/\${Le}/parent\`,message:\`Parent state "\${k.parent}" is a pseudo-state and cannot contain states\`})}if(k.pseudo!==void 0&&k.actions!==void 0&&k.actions.length>0)m.push({path:\`/states/\${Le}/actions\`,message:"Pseudo-states carry no actions"});if(k.pseudo==="initial"){let at=fn.get(k.id)??0;if(at!==1)m.push({path:\`/states/\${Le}\`,message:\`Initial pseudo-state "\${k.id}" needs exactly one outgoing transition (found \${at})\`});let Oe=k.parent??"root";if(On.has(Oe))m.push({path:\`/states/\${Le}/pseudo\`,message:\`More than one initial pseudo-state in region "\${Oe}"\`});On.add(Oe)}});for(let{index:k,cycle:Le}of YM(h.states))m.push({path:\`/states/\${k}/parent\`,message:\`State parent cycle: \${Le.join(" -> ")}\`});return m}function Z2e(h){let m=[],E=c0(h.nodes,"nodes","node",m);h.nodes.forEach((H,fn)=>{if(H.parent!==void 0&&!E.has(H.parent))m.push({path:\`/nodes/\${fn}/parent\`,message:\`Parent node "\${H.parent}" is not a known node id\`})});for(let{index:H,cycle:fn}of YM(h.nodes))m.push({path:\`/nodes/\${H}/parent\`,message:\`Node parent cycle: \${fn.join(" -> ")}\`});let A;if(h.nodes.forEach((H,fn)=>{if(H.parent!==void 0)return;if(A===void 0){A=H.id;return}m.push({path:\`/nodes/\${fn}\`,message:\`Second root "\${H.id}": a tree has exactly one node without parent (first: "\${A}")\`})}),A===void 0)m.push({path:"/nodes",message:"A tree needs exactly one root (a node without parent): found none"});if(h.layout==="mindmap"&&h.direction!==void 0)m.push({path:"/direction",message:'direction does not apply to layout "mindmap"'});return m}var wZe=/^\\d{4}-\\d{2}-\\d{2}[Tt]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([Zz]|[+-]\\d{2}:\\d{2})$/,epe=\`Missing or unsupported version: this tool supports version \${I5} only\`;if(!zmn("date-time"))gXe("date-time",(h)=>wZe.test(h)&&!Number.isNaN(Date.parse(h)));function gZe(h){return typeof h==="object"&&h!==null&&!Array.isArray(h)}function XN(h,m){return{schema:h,semantic:m}}var E3n={graph:XN(d3n,V2e),sequence:XN(b3n,Q2e),state:XN(g3n,Y2e),er:XN(v3n,J2e),tree:XN(k3n,Z2e)},npe=Object.keys(E3n).map((h)=>JSON.stringify(h)).join(", ");function pZe(h,m){let E=[];for(let A of W2e(h,m)){let H=A.message;if(A.path==="/version")H=epe;else if(A.type===le.Union)H=A.path.endsWith("/shape")?\`Expected one of \${a3n.join(", ")}\`:A.path.endsWith("/pseudo")?\`Expected one of \${w3n.join(", ")}\`:A.path.endsWith("Cardinality")?\`Expected one of \${m3n.join(", ")}\`:/\\/keys\\/\\d+$/.test(A.path)?\`Expected one of \${p3n.join(", ")}\`:A.path==="/layout"?\`Expected one of \${y3n.join(", ")}\`:"Expected a string, a number or a boolean";else if(A.type===le.ObjectAdditionalProperties)H="Unexpected property";else if(A.type===le.StringFormat)H=\`Expected a valid \${String(A.schema.format)} string\`;E.push({path:A.path,message:H})}return E}function T3n(h){if(!gZe(h))return{ok:!1,errors:[{path:"",message:"Expected a JSON object"}]};let{kind:m}=h,E=typeof m==="string"&&Object.hasOwn(E3n,m)?E3n[m]:void 0;if(E===void 0){let fn=[{path:"/kind",message:m===void 0?\`Missing kind: expected one of \${npe}\`:\`Unknown kind \${JSON.stringify(m)}: expected one of \${npe}\`}];if(h.version!==I5)fn.push({path:"/version",message:epe});return{ok:!1,errors:fn}}let A=pZe(E.schema,h);if(A.length>0)return{ok:!1,errors:A};let H=E.semantic(h);if(H.length>0)return{ok:!1,errors:H};return{ok:!0,document:h}}var spe=Fze(rpe(),1);var ipe={regular:{unitsPerEm:2048,ascender:1984,descender:-494,fallback:1098,advances:{32:576,33:589,34:954,35:1297,36:1314,37:2011,38:1319,39:614,40:747,41:747,42:1026,43:1355,44:590,45:942,46:590,47:738,48:1292,49:833,50:1249,51:1265,52:1323,53:1215,54:1270,55:1159,56:1267,57:1270,58:590,59:618,60:1355,61:1355,62:1355,63:1047,64:1978,65:1413,66:1340,67:1496,68:1478,69:1231,70:1209,71:1528,72:1522,73:550,74:1169,75:1376,76:1158,77:1850,78:1543,79:1566,80:1308,81:1566,82:1318,83:1314,84:1322,85:1524,86:1413,87:2018,88:1397,89:1390,90:1288,91:747,92:738,93:747,94:965,95:934,96:661,97:1150,98:1254,99:1170,100:1254,101:1194,102:758,103:1256,104:1211,105:496,106:496,107:1124,108:496,109:1794,110:1210,111:1228,112:1254,113:1254,114:771,115:1081,116:670,117:1211,118:1151,119:1676,120:1118,121:1151,122:1131,123:873,124:681,125:873,126:1355,160:576,161:589,162:1170,163:1251,164:1484,165:1126,166:553,167:1164,168:1210,169:1872,170:929,171:1193,172:1355,174:1364,175:978,176:933,177:1355,178:905,179:913,180:661,181:1200,182:1234,183:590,184:549,185:623,186:988,187:1193,188:1643,189:1735,190:1806,191:1047,192:1413,193:1413,194:1413,195:1413,196:1413,197:1413,198:2035,199:1496,200:1231,201:1231,202:1231,203:1231,204:550,205:550,206:550,207:550,208:1505,209:1543,210:1566,211:1566,212:1566,213:1566,214:1566,215:1355,216:1566,217:1524,218:1524,219:1524,220:1524,221:1390,222:1302,223:1262,224:1150,225:1150,226:1150,227:1150,228:1150,229:1150,230:1879,231:1170,232:1194,233:1194,234:1194,235:1194,236:496,237:496,238:496,239:496,240:1193,241:1210,242:1228,243:1228,244:1228,245:1228,246:1228,247:1355,248:1228,249:1211,250:1211,251:1211,252:1211,253:1151,254:1254,255:1151,256:1413,257:1150,258:1413,259:1150,260:1413,261:1150,262:1496,263:1170,264:1496,265:1170,266:1496,267:1170,268:1496,269:1170,270:1478,271:1454,272:1505,273:1254,274:1231,275:1194,276:1231,277:1194,278:1231,279:1194,280:1231,281:1194,282:1231,283:1194,284:1528,285:1256,286:1528,287:1256,288:1528,289:1256,290:1528,291:1256,292:1522,293:1211,294:1590,295:1211,296:550,297:496,298:550,299:496,300:550,301:496,302:550,303:496,304:550,305:496,306:1719,307:992,308:1169,309:496,310:1376,311:1124,312:1076,313:1158,314:496,315:1158,316:496,317:1158,318:696,319:1152,320:736,321:1218,322:496,323:1543,324:1210,325:1543,326:1210,327:1543,328:1210,330:1543,331:1210,332:1566,333:1228,334:1566,335:1228,336:1566,337:1228,338:2058,339:2047,340:1318,341:771,342:1318,343:771,344:1318,345:771,346:1314,347:1081,348:1314,349:1081,350:1314,351:1081,352:1314,353:1081,354:1322,355:670,356:1322,357:770,358:1322,359:670,360:1524,361:1211,362:1524,363:1211,364:1524,365:1211,366:1524,367:1211,368:1524,369:1211,370:1524,371:1211,372:2018,373:1676,374:1390,375:1151,376:1390,377:1288,378:1131,379:1288,380:1131,381:1288,382:1131,383:644,384:1254,385:1620,386:1344,387:1254,388:1611,389:1420,390:1496,391:1496,392:1185,393:1505,394:1758,395:1298,396:1254,397:1112,398:1231,399:1528,400:1265,401:1209,402:798,403:1528,404:1302,405:1949,406:564,407:690,408:1389,409:1124,410:496,411:1314,412:1859,413:1543,414:1211,415:1566,416:1560,417:1222,418:1784,419:1307,420:1588,421:1254,422:1486,423:1314,424:1081,425:1292,426:1120,427:670,428:1327,429:661,430:1322,431:1518,432:1269,433:1567,434:1299,435:1460,436:1390,437:1288,438:1131,439:1402,440:1402,441:1270,442:1109,443:1249,444:1247,445:1115,446:1112,447:1298,448:546,449:734,450:496,451:589,453:2609,454:2385,455:2327,456:1654,457:992,458:2712,459:2039,460:1706,461:1413,462:1150,463:550,464:496,465:1566,466:1228,467:1524,468:1211,469:1524,470:1211,471:1524,472:1211,473:1524,474:1211,475:1524,476:1211,477:1194,478:1413,479:1150,480:1413,481:1150,482:2035,483:1879,484:1528,485:1376,486:1528,487:1256,488:1376,489:1124,490:1566,491:1228,492:1566,493:1228,494:1402,495:1270,496:496,497:2766,498:2609,499:2385,500:1528,501:1256,502:2290,503:1302,504:1543,505:1210,506:1413,507:1150,508:2035,509:1879,510:1566,511:1228,512:1413,513:1150,514:1413,515:1150,516:1231,517:1194,518:1231,519:1194,520:550,521:496,522:550,523:496,524:1566,525:1228,526:1566,527:1228,528:1318,529:771,530:1318,531:771,532:1524,533:1211,534:1524,535:1211,536:1314,537:1081,538:1322,539:670,540:1298,541:1113,542:1522,543:1211,544:1295,545:1574,546:1295,547:1294,548:1288,549:1131,550:1413,551:1150,552:1231,553:1194,554:1566,555:1228,556:1566,557:1228,558:1566,559:1228,560:1566,561:1228,562:1390,563:1151,564:816,565:1530,566:836,567:496,568:1853,569:1853,570:1413,571:1496,572:1170,573:1185,574:1322,575:1081,576:1131,577:1112,578:1113,579:1340,580:1518,581:1486,582:1231,583:1194,584:1239,585:496,586:1566,587:1254,588:1326,589:771,590:1368,591:1151,8192:1118,8193:2234,8194:1024,8195:2048,8196:684,8197:512,8198:340,8199:1328,8200:590,8201:372,8202:186,8203:0,8208:734,8209:734,8210:1328,8211:1024,8212:2048,8213:2048,8214:981,8215:927,8216:534,8217:534,8218:494,8219:534,8220:902,8221:902,8222:862,8223:902,8224:1006,8225:1006,8226:1152,8227:1152,8228:590,8229:1180,8230:1770,8231:590,8239:372,8240:2735,8241:3459,8242:456,8243:906,8244:1356,8245:456,8246:906,8247:1356,8248:932,8249:787,8250:787,8251:1310,8252:1178,8253:1038,8254:1106,8255:1673,8256:1673,8257:926,8258:1481,8259:1152,8260:393,8261:747,8262:747,8263:2094,8264:1636,8265:1636,8266:910,8267:1234,8268:1212,8269:1212,8270:1026,8271:618,8272:1664,8273:1106,8274:1513,8275:1486,8276:1673,8277:1125,8279:1806,8287:576,8592:1954,8593:1708,8594:1954,8595:1708,8596:2746,8597:1708,8598:1588,8599:1588,8600:1588,8601:1588,8617:2343,8618:2343,8624:2022,8625:2022,8627:2022,8628:1709,8629:2022,8634:1954,8635:1954,8656:1954,8658:1954,8660:2746,8670:1245,8671:1245,8676:2078,8677:2078,8679:2111,8682:2111}},semibold:{unitsPerEm:2048,ascender:1984,descender:-494,fallback:1135,advances:{32:516,33:658,34:1071,35:1318,36:1332,37:2057,38:1357,39:667,40:764,41:764,42:1105,43:1378,44:653,45:953,46:653,47:776,48:1351,49:866,50:1276,51:1303,52:1364,53:1254,54:1310,55:1180,56:1311,57:1310,58:653,59:674,60:1378,61:1378,62:1378,63:1113,64:2046,65:1490,66:1350,67:1509,68:1479,69:1240,70:1204,71:1534,72:1527,73:567,74:1187,75:1440,76:1158,77:1889,78:1555,79:1574,80:1321,81:1583,82:1336,83:1332,84:1352,85:1507,86:1490,87:2089,88:1474,89:1461,90:1336,91:764,92:776,93:764,94:986,95:961,96:719,97:1176,98:1278,99:1193,100:1278,101:1211,102:796,103:1281,104:1254,105:536,106:536,107:1166,108:536,109:1844,110:1253,111:1247,112:1278,113:1278,114:813,115:1125,116:723,117:1254,118:1202,119:1719,120:1165,121:1205,122:1159,123:931,124:735,125:931,126:1378,160:516,161:658,162:1193,163:1289,164:1534,165:1154,166:647,167:1164,168:1253,169:1872,170:943,171:1299,172:1378,174:1359,175:925,176:938,177:1378,178:929,179:949,180:719,181:1258,182:1229,183:653,184:680,185:663,186:998,187:1299,188:1702,189:1781,190:1858,191:1113,192:1490,193:1490,194:1490,195:1490,196:1490,197:1490,198:2075,199:1509,200:1240,201:1240,202:1240,203:1240,204:567,205:567,206:567,207:567,208:1539,209:1555,210:1574,211:1574,212:1574,213:1574,214:1574,215:1378,216:1574,217:1507,218:1507,219:1507,220:1507,221:1461,222:1347,223:1318,224:1176,225:1176,226:1176,227:1176,228:1176,229:1176,230:1869,231:1193,232:1211,233:1211,234:1211,235:1211,236:536,237:536,238:536,239:536,240:1216,241:1253,242:1247,243:1247,244:1247,245:1247,246:1247,247:1378,248:1247,249:1254,250:1254,251:1254,252:1254,253:1205,254:1278,255:1205,256:1490,257:1176,258:1490,259:1176,260:1490,261:1176,262:1509,263:1193,264:1509,265:1193,266:1509,267:1193,268:1509,269:1193,270:1479,271:1514,272:1539,273:1278,274:1240,275:1211,276:1240,277:1211,278:1240,279:1211,280:1240,281:1211,282:1240,283:1211,284:1534,285:1281,286:1534,287:1281,288:1534,289:1281,290:1534,291:1281,292:1527,293:1254,294:1632,295:1254,296:567,297:536,298:567,299:536,300:567,301:536,302:567,303:536,304:567,305:536,306:1754,307:1071,308:1187,309:536,310:1440,311:1166,312:1160,313:1158,314:536,315:1158,316:536,317:1158,318:772,319:1173,320:858,321:1232,322:536,323:1555,324:1253,325:1555,326:1253,327:1555,328:1253,330:1555,331:1253,332:1574,333:1247,334:1574,335:1247,336:1574,337:1247,338:2076,339:2031,340:1336,341:813,342:1336,343:813,344:1336,345:813,346:1332,347:1125,348:1332,349:1125,350:1332,351:1125,352:1332,353:1125,354:1352,355:723,356:1352,357:859,358:1352,359:723,360:1507,361:1254,362:1507,363:1254,364:1507,365:1254,366:1507,367:1254,368:1507,369:1254,370:1507,371:1254,372:2089,373:1719,374:1461,375:1205,376:1461,377:1336,378:1159,379:1336,380:1159,381:1336,382:1159,383:685,384:1278,385:1702,386:1343,387:1278,388:1694,389:1500,390:1509,391:1509,392:1241,393:1539,394:1831,395:1345,396:1278,397:1251,398:1240,399:1534,400:1303,401:1204,402:897,403:1534,404:1439,405:1990,406:610,407:728,408:1454,409:1166,410:536,411:1370,412:1918,413:1555,414:1254,415:1574,416:1584,417:1243,418:1865,419:1440,420:1673,421:1278,422:1534,423:1332,424:1125,425:1341,426:1253,427:723,428:1429,429:718,430:1352,431:1504,432:1323,433:1585,434:1343,435:1557,436:1440,437:1336,438:1159,439:1406,440:1406,441:1306,442:1152,443:1276,444:1283,445:1253,446:1154,447:1349,448:587,449:778,450:536,451:658,453:2637,454:2437,455:2345,456:1694,457:1071,458:2742,459:2090,460:1789,461:1490,462:1176,463:567,464:536,465:1574,466:1247,467:1507,468:1254,469:1507,470:1254,471:1507,472:1254,473:1507,474:1254,475:1507,476:1254,477:1211,478:1490,479:1176,480:1490,481:1176,482:2075,483:1869,484:1534,485:1400,486:1534,487:1281,488:1440,489:1166,490:1574,491:1247,492:1574,493:1247,494:1406,495:1306,496:536,497:2815,498:2637,499:2437,500:1534,501:1281,502:2298,503:1443,504:1555,505:1253,506:1490,507:1176,508:2075,509:1869,510:1574,511:1247,512:1490,513:1176,514:1490,515:1176,516:1240,517:1211,518:1240,519:1211,520:567,521:536,522:567,523:536,524:1574,525:1247,526:1574,527:1247,528:1336,529:813,530:1336,531:813,532:1507,533:1254,534:1507,535:1254,536:1332,537:1125,538:1352,539:723,540:1344,541:1155,542:1527,543:1254,544:1344,545:1598,546:1343,547:1342,548:1336,549:1159,550:1490,551:1176,552:1240,553:1211,554:1574,555:1247,556:1574,557:1247,558:1574,559:1247,560:1574,561:1247,562:1461,563:1205,564:856,565:1573,566:912,567:536,568:1912,569:1912,570:1490,571:1509,572:1193,573:1218,574:1352,575:1125,576:1159,577:1154,578:1155,579:1379,580:1541,581:1534,582:1240,583:1211,584:1268,585:536,586:1578,587:1278,588:1361,589:813,590:1439,591:1205,8192:1149,8193:2285,8194:1024,8195:2048,8196:684,8197:512,8198:340,8199:1325,8200:653,8201:339,8202:169,8203:0,8208:864,8209:864,8210:1325,8211:1024,8212:2048,8213:2048,8214:1099,8215:959,8216:602,8217:602,8218:558,8219:602,8220:1038,8221:1027,8222:983,8223:1027,8224:1131,8225:1131,8226:1031,8227:1031,8228:653,8229:1305,8230:1958,8231:653,8239:339,8240:2809,8241:3561,8242:527,8243:1049,8244:1572,8245:527,8246:1049,8247:1572,8248:1059,8249:851,8250:851,8251:1541,8252:1316,8253:1107,8254:1049,8255:1718,8256:1718,8257:961,8258:1536,8259:1031,8260:419,8261:764,8262:764,8263:2226,8264:1771,8265:1771,8266:941,8267:1229,8268:1235,8269:1235,8270:1105,8271:674,8272:1713,8273:1155,8274:1625,8275:1534,8276:1718,8277:1354,8279:2095,8287:595,8592:1954,8593:1805,8594:1954,8595:1805,8596:2746,8597:1740,8598:1598,8599:1598,8600:1598,8601:1598,8617:2363,8618:2363,8624:2055,8625:2055,8627:2055,8628:1793,8629:2055,8634:1954,8635:1954,8656:1954,8658:1954,8660:2746,8670:1282,8671:1282,8676:2126,8677:2126,8679:2206,8682:2206}}};var mV=1.25;function Fh(h,m){let E=ipe[m.weight],A=h.split(\`
29
29
  \`),H=0;for(let fn of A){let On=0;for(let k of fn)On+=E.advances[k.codePointAt(0)??0]??E.fallback;H=Math.max(H,On/E.unitsPerEm*m.size)}return{width:H,height:A.length*mV*m.size}}var uh=20,x3n={size:14,weight:"semibold"},Uk={size:11,weight:"regular"},qk={size:12,weight:"regular"},WN={size:12,weight:"semibold"},Mf=12,S3n=8,O3n=30,cpe=20;function er(h){return Math.round(h*100)/100+0}function il(h){let m={};for(let[E,A]of Object.entries(h))if(A!==void 0)m[E]=A;return m}function j5(h,m,E){let A=Fh(h,x3n),H=m===void 0?void 0:Fh(m,Uk),fn=Math.ceil(Math.max(E,A.width+2*Mf,H===void 0?0:H.width+2*Mf)),k=Math.ceil(Math.max(H===void 0?40:54,2*S3n+A.height+(H?.height??0)));return{width:fn,height:k}}function ep(h){let m=Fh(h,qk);return{width:Math.ceil(m.width+8),height:Math.ceil(m.height+4)}}function ZM(h){if(h===void 0||h==="")return Mf;return Math.ceil(Fh(h,WN).height)+16}var mZe=6;function C3n(h){if(h===0)return 0;return Math.ceil(mZe+h*mV*Uk.size)}function P3n(h){return Math.max(0,...h.map((m)=>Fh(m,Uk).width))}var vV=Math.ceil(mV*qk.size+6),A3n=3;function upe(h){return h===void 0?"":h.map((m)=>m.toUpperCase()).join(", ")}function ope(h){return\`\${h.type??""}\${h.nullable===!0?"?":""}\`}var vZe={down:"DOWN",right:"RIGHT",up:"UP",left:"LEFT"};function fpe(h){if(h.children===void 0)return{id:h.id,width:h.width,height:h.height};let m={};if(h.padding!==void 0){let{top:E,left:A,bottom:H,right:fn}=h.padding;m["elk.padding"]=\`[top=\${E},left=\${A},bottom=\${H},right=\${fn}]\`}if(h.minWidth!==void 0)m["elk.nodeSize.constraints"]="MINIMUM_SIZE",m["elk.nodeSize.minimum"]=\`(\${h.minWidth}, 0)\`;return{id:h.id,layoutOptions:m,children:h.children.map(fpe)}}async function nx(h,m,E){let A=E.map((ae)=>{let be={id:ae.id,sources:[ae.from],targets:[ae.to]};if(ae.label!==void 0)be.labels=[{id:\`l:\${ae.id}\`,text:ae.id,width:ae.label.width,height:ae.label.height}];return be}),H={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":vZe[h],"elk.edgeRouting":"ORTHOGONAL","elk.hierarchyHandling":"INCLUDE_CHILDREN","elk.spacing.nodeNode":"40","elk.layered.spacing.nodeNodeBetweenLayers":"60","elk.padding":\`[top=\${uh},left=\${uh},bottom=\${uh},right=\${uh}]\`},children:m.map(fpe),edges:A},fn=globalThis,On=fn.onmessage,k;try{k=await new spe.default().layout(H)}finally{fn.onmessage=On}let Le=new Map,at=new Map,Oe=(ae,be,Ue)=>{let gn=be+(ae.x??0),At=Ue+(ae.y??0);Le.set(ae.id,{x:gn,y:At}),at.set(ae.id,{x:gn,y:At,width:ae.width??0,height:ae.height??0});for(let Xr of ae.children??[])Oe(Xr,gn,At)};for(let ae of k.children??[])Oe(ae,0,0);let Zr=new Map;for(let ae of k.edges??[])Zr.set(ae.id,ae);let Re=new Map;for(let ae of E){let be=Zr.get(ae.id),Ue=Le.get(be?.container??"root")??{x:0,y:0},gn=[];for(let pr of be?.sections??[]){let Ii=[pr.startPoint,...pr.bendPoints??[],pr.endPoint];for(let Lt of Ii){let ve={x:Lt.x+Ue.x,y:Lt.y+Ue.y},Ut=gn[gn.length-1];if(Ut===void 0||Ut.x!==ve.x||Ut.y!==ve.y)gn.push(ve)}}let At=be?.labels?.[0],Xr={points:gn};if(At!==void 0)Xr.labelBox={x:(At.x??0)+Ue.x,y:(At.y??0)+Ue.y,width:At.width??0,height:At.height??0};Re.set(ae.id,Xr)}return{width:k.width??0,height:k.height??0,boxes:at,routes:Re}}function F3n(h,m){return Math.max(0,...h.map((E)=>Fh(E,m).width))}function yZe(h){let m=j5(h.label??h.id,h.type,0),E=h.attributes??[],A=F3n(E.map((at)=>upe(at.keys)),Uk),H=F3n(E.map((at)=>at.name),qk),fn=F3n(E.map(ope),qk),On=Mf,k=On+(A>0?A+8:0),Le=k+H+16;return{width:Math.ceil(Math.max(120,m.width,Le+fn+Mf)),height:m.height+E.length*vV+(E.length>0?2*A3n:0),headerHeight:m.height,columns:{key:On,name:k,type:Le}}}async function lpe(h){let m=new Map;for(let k of h.entities)if(!m.has(k.id))m.set(k.id,yZe(k));let E=h.relations??[],A=E.map((k,Le)=>{let at={id:\`r:\${Le}\`,from:\`e:\${k.from}\`,to:\`e:\${k.to}\`};if(k.label!==void 0&&k.label!==""){let Oe=ep(k.label);at.label={width:Oe.width,height:Oe.height}}return at}),H=await nx(h.direction??"down",h.entities.map((k)=>{let Le=m.get(k.id);return{id:\`e:\${k.id}\`,width:Le.width,height:Le.height}}),A),fn=h.entities.map((k)=>{let Le=m.get(k.id),at=H.boxes.get(\`e:\${k.id}\`)??{x:0,y:0,width:Le.width,height:Le.height},Oe=at.y+Le.headerHeight+A3n,Zr=(k.attributes??[]).map((Re,ae)=>il({name:Re.name,type:Re.type,keys:Re.keys,nullable:Re.nullable,note:Re.note,y:er(Oe+ae*vV),height:vV}));return il({id:k.id,label:k.label??k.id,type:k.type,x:er(at.x),y:er(at.y),width:er(at.width),height:er(at.height),headerHeight:Le.headerHeight,columns:{key:er(Le.columns.key),name:er(Le.columns.name),type:er(Le.columns.type)},attributes:Zr,description:k.description,link:k.link,meta:k.meta})}),On=E.map((k,Le)=>{let at=H.routes.get(\`r:\${Le}\`),Oe=at?.labelBox;return il({id:k.id??\`r\${Le}\`,from:k.from,to:k.to,label:k.label===""?void 0:k.label,fromCardinality:k.fromCardinality,toCardinality:k.toCardinality,identifying:k.identifying??!0,type:k.type,points:(at?.points??[]).map((Zr)=>({x:er(Zr.x),y:er(Zr.y)})),labelBox:Oe===void 0?void 0:{x:er(Oe.x),y:er(Oe.y),width:er(Oe.width),height:er(Oe.height)},meta:k.meta})});return il({kind:"er",width:er(H.width),height:er(H.height),title:h.title,entities:fn,relations:On})}var VN=7,kZe=6,IZe=16,hpe=12,ape=48,dpe=24;function QN(h,m,E,A){let H=j5(m,E,A),fn=h??"box",On=Fh(m,x3n),k=E===void 0?void 0:Fh(E,Uk),Le=Math.max(On.width,k?.width??0),at=On.height+(k?.height??0);switch(fn){case"box":case"rect":return H;case"pill":return{width:Math.ceil(H.width+H.height/2),height:H.height};case"diamond":{let Oe=Math.ceil(Math.max(48,2*at+8));return{width:Math.ceil(Math.max(80,Le/(1-at/Oe)+16)),height:Oe}}case"circle":{let Oe=Math.ceil(Math.max(48,Math.hypot(Le,at)+16));return{width:Oe,height:Oe}}case"ellipse":return{width:Math.ceil(Math.max(80,Le*Math.SQRT2+12)),height:Math.ceil(Math.max(40,at*Math.SQRT2+8))};case"hexagon":return{width:Math.ceil(H.width+H.height/2),height:H.height};case"parallelogram":return{width:Math.ceil(H.width+H.height/3),height:H.height};case"cylinder":return{width:H.width,height:H.height+2*VN};case"document":return{width:H.width,height:H.height+kZe};case"subroutine":return{width:H.width+IZe,height:H.height}}}function JN(h,m,E,A,H,fn,On){let k=[];for(let Le=0;Le<=On;Le++){let at=H+(fn-H)*Le/On;k.push({x:h+E*Math.cos(at),y:m+A*Math.sin(at)})}return k}function L3n(h,m){let{x:E,y:A,width:H,height:fn}=m;switch(h){case void 0:case"box":case"rect":case"document":case"subroutine":return;case"pill":{let On=fn/2;return[...JN(E+H-On,A+On,On,On,-Math.PI/2,Math.PI/2,hpe),...JN(E+On,A+On,On,On,Math.PI/2,3*Math.PI/2,hpe)]}case"diamond":return[{x:E+H/2,y:A},{x:E+H,y:A+fn/2},{x:E+H/2,y:A+fn},{x:E,y:A+fn/2}];case"circle":case"ellipse":return JN(E+H/2,A+fn/2,H/2,fn/2,0,2*Math.PI,ape).slice(0,ape);case"hexagon":{let On=fn/4;return[{x:E+On,y:A},{x:E+H-On,y:A},{x:E+H,y:A+fn/2},{x:E+H-On,y:A+fn},{x:E+On,y:A+fn},{x:E,y:A+fn/2}]}case"parallelogram":{let On=fn/3;return[{x:E+On,y:A},{x:E+H,y:A},{x:E+H-On,y:A+fn},{x:E,y:A+fn}]}case"cylinder":return[...JN(E+H/2,A+VN,H/2,VN,Math.PI,2*Math.PI,dpe),...JN(E+H/2,A+fn-VN,H/2,VN,0,Math.PI,dpe)]}}function jZe(h,m,E,A){let H=m.x-h.x,fn=m.y-h.y,On=A.x-E.x,k=A.y-E.y,Le=H*k-fn*On;if(Le===0)return;let at=((E.x-h.x)*k-(E.y-h.y)*On)/Le,Oe=((E.x-h.x)*fn-(E.y-h.y)*H)/Le;if(at<0||at>1||Oe<0||Oe>1)return;return at}function gpe(h,m,E){let A;for(let H=0;H<E.length;H++){let fn=jZe(h,m,E[H],E[(H+1)%E.length]);if(fn!==void 0&&(A===void 0||fn<A))A=fn}if(A===void 0)return;return{x:h.x+(m.x-h.x)*A,y:h.y+(m.y-h.y)*A}}function bpe(h,m,E,A){let H=m.x-h.x,fn=m.y-h.y,On=Math.hypot(H,fn);if(On===0)return m;let k=A.width+A.height,Le={x:m.x+H/On*k,y:m.y+fn/On*k};return gpe(h,Le,E)??m}function yV(h,m,E,A,H){let fn=h.map((at)=>({...at}));if(fn.length<2)return fn;let On=L3n(m,E),k=L3n(A,H),Le=fn.length-1;if(k!==void 0)fn[Le]=bpe(h[Le-1],h[Le],k,H);if(On!==void 0)fn[0]=bpe(h[1],h[0],On,E);return fn}function wpe(h,m){let E=h.x+h.width/2,A=h.y+h.height/2,H=m.x-E,fn=m.y-A;if(H===0&&fn===0)return{x:E,y:A};let On=Math.min(H===0?1/0:h.width/2/Math.abs(H),fn===0?1/0:h.height/2/Math.abs(fn));return{x:E+H*On,y:A+fn*On}}function N3n(h,m,E){let A=L3n(h,m);if(A===void 0)return wpe(m,E);let H={x:m.x+m.width/2,y:m.y+m.height/2},fn=E.x-H.x,On=E.y-H.y,k=Math.hypot(fn,On);if(k===0)return H;let Le=m.width+m.height,at={x:H.x+fn/k*Le,y:H.y+On/k*Le};return gpe(H,at,A)??wpe(m,E)}function ppe(h){let m=new Map;for(let H of h){let fn=m.get(H.parent)??[];fn.push(H),m.set(H.parent,fn)}let E=[],A=(H,fn)=>{for(let On of m.get(H)??[])E.push({group:On,depth:fn}),A(On.id,fn+1)};return A(void 0,0),E}function $3n(h){return h.label??h.id}function D3n(h){if(h.label===void 0||h.label==="")return 0;return Fh(h.label,WN).width}function mpe(h){return{width:Math.ceil(Math.max(80,D3n(h)+2*Mf)),height:ZM(h.label)+24}}function vpe(h,m){return il({id:h.id,label:$3n(h),type:h.type,shape:h.shape,x:er(m.x),y:er(m.y),width:er(m.width),height:er(m.height),group:h.group,link:h.link,description:h.description,meta:h.meta})}function ype(h,m,E){return il({id:h.id,label:h.label,x:er(E.x),y:er(E.y),width:er(E.width),height:er(E.height),depth:m,meta:h.meta})}function kpe(h,m,E,A){return il({id:h.id??\`e\${m}\`,from:h.from,to:h.to,label:h.label,type:h.type,directed:h.directed??!0,points:E.map((H)=>({x:er(H.x),y:er(H.y)})),labelBox:A===void 0?void 0:{x:er(A.x),y:er(A.y),width:er(A.width),height:er(A.height)},meta:h.meta})}function Ipe(h,m,E,A,H,fn){return il({kind:"graph",width:er(m),height:er(E),title:h.title,groups:A,nodes:H,edges:fn})}async function EZe(h){let m=ppe(h.groups??[]),E=new Map;for(let Re of h.nodes){let ae=E.get(Re.group)??[];ae.push(Re),E.set(Re.group,ae)}let A=new Map;for(let{group:Re}of m){if(Re.parent===void 0)continue;let ae=A.get(Re.parent)??[];ae.push(Re),A.set(Re.parent,ae)}let H=(Re)=>{let ae=QN(Re.shape,$3n(Re),Re.type,80);return{id:\`n:\${Re.id}\`,width:ae.width,height:ae.height}},fn=(Re)=>{let ae=E.get(Re.id)??[],be=A.get(Re.id)??[];if(ae.length===0&&be.length===0){let Ue=mpe(Re);return{id:\`g:\${Re.id}\`,width:Ue.width,height:Ue.height}}return{id:\`g:\${Re.id}\`,width:0,height:0,padding:{top:ZM(Re.label),left:Mf,bottom:Mf,right:Mf},minWidth:Math.ceil(D3n(Re)+2*Mf),children:[...ae.map(H),...be.map(fn)]}},On=h.edges??[],k=On.map((Re,ae)=>{let be={id:\`e:\${ae}\`,from:\`n:\${Re.from}\`,to:\`n:\${Re.to}\`};if(Re.label!==void 0&&Re.label!==""){let Ue=ep(Re.label);be.label={width:Ue.width,height:Ue.height}}return be}),Le=await nx(h.direction??"down",[...(E.get(void 0)??[]).map(H),...m.filter(({group:Re})=>Re.parent===void 0).map(({group:Re})=>fn(Re))],k),at=(Re)=>Le.boxes.get(Re)??{x:0,y:0,width:0,height:0},Oe=new Map(h.nodes.map((Re)=>[Re.id,Re.shape])),Zr=On.map((Re,ae)=>{let be=Le.routes.get(\`e:\${ae}\`),Ue=yV(be?.points??[],Oe.get(Re.from),at(\`n:\${Re.from}\`),Oe.get(Re.to),at(\`n:\${Re.to}\`));return kpe(Re,ae,Ue,be?.labelBox)});return Ipe(h,Le.width,Le.height,m.map(({group:Re,depth:ae})=>ype(Re,ae,at(\`g:\${Re.id}\`))),h.nodes.map((Re)=>vpe(Re,at(\`n:\${Re.id}\`))),Zr)}function R3n(h){if(h.length===0)return{x:0,y:0,width:0,height:0};let m=Math.min(...h.map((fn)=>fn.x)),E=Math.min(...h.map((fn)=>fn.y)),A=Math.max(...h.map((fn)=>fn.x+fn.width)),H=Math.max(...h.map((fn)=>fn.y+fn.height));return{x:m,y:E,width:A-m,height:H-E}}function TZe(h){let m=new Map;for(let Oe of h.nodes)m.set(Oe.id,{x:Oe.position?.x??0,y:Oe.position?.y??0,...QN(Oe.shape,$3n(Oe),Oe.type,80)});let E=ppe(h.groups??[]),A=new Map,H=(Oe)=>{let Zr=A.get(Oe.id);if(Zr!==void 0)return Zr;let Re=[];for(let gn of h.nodes)if(gn.group===Oe.id)Re.push(m.get(gn.id));for(let{group:gn}of E){if(gn.parent!==Oe.id)continue;let At=H(gn);if(At!==void 0)Re.push(At)}if(Re.length===0)return;let ae=R3n(Re),be=ZM(Oe.label),Ue={x:ae.x-Mf,y:ae.y-be,width:Math.max(ae.width+2*Mf,Math.ceil(D3n(Oe)+2*Mf)),height:ae.height+be+Mf};return A.set(Oe.id,Ue),Ue},fn=[];for(let{group:Oe}of E)if(H(Oe)===void 0)fn.push(Oe);if(fn.length>0){let Oe=R3n([...m.values(),...A.values()]),Zr=Oe.y+Oe.height+20;for(let Re of fn){let ae=mpe(Re);A.set(Re.id,{x:Oe.x,y:Zr,...ae}),Zr+=ae.height+20}}let On=new Map(h.nodes.map((Oe)=>[Oe.id,Oe.shape])),k=[],Le=(h.edges??[]).map((Oe,Zr)=>{let Re=m.get(Oe.from),ae=m.get(Oe.to),be=On.get(Oe.from),Ue=On.get(Oe.to),gn,At;if(Oe.from===Oe.to){let pr=Re.x+Re.width,Ii=Re.y+Re.height/2;gn=[{x:pr,y:Ii-8},{x:pr+20,y:Ii-8},{x:pr+20,y:Ii+8},{x:pr,y:Ii+8}],At={x:pr+20,y:Ii}}else{let pr={x:Re.x+Re.width/2,y:Re.y+Re.height/2},Ii={x:ae.x+ae.width/2,y:ae.y+ae.height/2},Lt=N3n(be,Re,Ii),ve=N3n(Ue,ae,pr);gn=[Lt,ve],At={x:(Lt.x+ve.x)/2,y:(Lt.y+ve.y)/2}}let Xr;if(Oe.label!==void 0&&Oe.label!==""){let pr=ep(Oe.label);Xr={x:At.x-pr.width/2,y:At.y-pr.height/2,...pr},k.push(Xr)}return kpe(Oe,Zr,gn,Xr)}),at=R3n([...m.values(),...A.values(),...k,...Le.flatMap((Oe)=>Oe.points.map((Zr)=>({...Zr,width:0,height:0})))]);return Ipe(h,at.x+at.width+uh,at.y+at.height+uh,E.map(({group:Oe,depth:Zr})=>ype(Oe,Zr,A.get(Oe.id))),h.nodes.map((Oe)=>vpe(Oe,m.get(Oe.id))),Le)}function jpe(h){if(h.nodes.length>0&&h.nodes.every((m)=>m.position!==void 0))return Promise.resolve(TZe(h));return EZe(h)}var MZe=40,xZe=40,SZe=36,OZe=30,Epe=6;function Tpe(h){let m=h.participants.map((ae)=>j5(ae.label??ae.id,ae.type,100)),E=Math.max(...m.map((ae)=>ae.height)),A=new Map;h.participants.forEach((ae,be)=>A.set(ae.id,be));let H=[];for(let ae=0;ae<m.length-1;ae++)H.push(m[ae].width/2+m[ae+1].width/2+MZe);let fn=[],On=[];for(let ae of h.messages){let be=A.get(ae.from),Ue=A.get(ae.to),gn=ae.label===void 0||ae.label===""?0:ep(ae.label).width;if(be===Ue){let At=O3n+Epe+gn;if(On.push({participant:be,extent:At}),be<m.length-1)fn.push({from:be,to:be+1,distance:At+10})}else if(gn>0)fn.push({from:Math.min(be,Ue),to:Math.max(be,Ue),distance:gn+16})}fn.sort((ae,be)=>ae.to-ae.from-(be.to-be.from));for(let ae of fn){let be=ae.to-ae.from,Ue=0;for(let gn=ae.from;gn<ae.to;gn++)Ue+=H[gn];if(Ue<ae.distance){let gn=(ae.distance-Ue)/be;for(let At=ae.from;At<ae.to;At++)H[At]+=gn}}let k=[uh+m[0].width/2];for(let ae=0;ae<H.length;ae++)k.push(k[ae]+H[ae]);let Le=h.participants.map((ae,be)=>{let Ue=m[be];return il({id:ae.id,label:ae.label??ae.id,type:ae.type,x:er(k[be]-Ue.width/2),y:uh,width:Ue.width,height:E,lifelineX:er(k[be]),meta:ae.meta})}),at=uh+E+xZe,Oe=h.messages.map((ae,be)=>{let Ue=A.get(ae.from),gn=A.get(ae.to),At=Ue===gn,Xr=ae.label!==void 0&&ae.label!=="",pr=Xr?Fh(ae.label,qk).height:0,Ii=Math.max(SZe,pr+20),Lt=k[Ue],ve=k[gn],Ut,yr,ru;if(At){if(yr=Ii*1.5,Ut=at+10,Xr){let yc=ep(ae.label);ru={x:Lt+O3n+Epe,y:Ut+cpe/2-yc.height/2,...yc}}}else if(yr=Ii,Ut=at+Ii-8,Xr){let yc=ep(ae.label);ru={x:(Lt+ve)/2-yc.width/2,y:Ut-3-yc.height,...yc}}return at+=yr,il({index:be,from:ae.from,to:ae.to,label:ae.label,style:ae.style??"sync",y:er(Ut),x1:er(Lt),x2:er(ve),self:At,labelBox:ru===void 0?void 0:{x:er(ru.x),y:er(ru.y),width:ru.width,height:ru.height},meta:ae.meta})}),Zr=at+OZe,Re=0;for(let ae=0;ae<m.length;ae++)Re=Math.max(Re,k[ae]+m[ae].width/2);for(let{participant:ae,extent:be}of On)Re=Math.max(Re,k[ae]+be);return il({kind:"sequence",width:er(Re+uh),height:er(Zr+uh),title:h.title,participants:Le,messages:Oe,lifelineBottom:er(Zr)})}var CZe={initial:"circle",final:"circle",history:"circle",choice:"diamond"};function K3n(h){return h.label??h.id}function PZe(h,m){switch(h){case"initial":return{width:20,height:20};case"final":case"history":return{width:24,height:24};case"choice":return{width:28,height:28};case"fork":case"join":return m?{width:6,height:64}:{width:64,height:6}}}function AZe(h){let m=j5(K3n(h),h.type,80),E=h.actions??[];if(E.length===0)return m;return{width:Math.ceil(Math.max(m.width,P3n(E)+2*Mf)),height:Math.ceil(m.height+C3n(E.length)+S3n)}}async function Mpe(h){let m=h.direction??"down",E=new Map;for(let be of h.states){let Ue=E.get(be.parent)??[];Ue.push(be),E.set(be.parent,Ue)}let A=(be)=>{let Ue=E.get(be.id);if(Ue===void 0){let Xr=be.pseudo===void 0?AZe(be):PZe(be.pseudo,m==="right"||m==="left");return{id:\`s:\${be.id}\`,width:Xr.width,height:Xr.height}}let gn=K3n(be),At=be.actions??[];return{id:\`s:\${be.id}\`,width:0,height:0,padding:{top:ZM(gn)+C3n(At.length),left:Mf,bottom:Mf,right:Mf},minWidth:Math.ceil(Math.max(Fh(gn,WN).width,P3n(At))+2*Mf),children:Ue.map(A)}},H=h.transitions??[],fn=H.map(I3n),On=H.map((be,Ue)=>{let gn={id:\`t:\${Ue}\`,from:\`s:\${be.from}\`,to:\`s:\${be.to}\`},At=fn[Ue];if(At!==""){let Xr=ep(At);gn.label={width:Xr.width,height:Xr.height}}return gn}),k=await nx(m,(E.get(void 0)??[]).map(A),On),Le=(be)=>k.boxes.get(\`s:\${be}\`)??{x:0,y:0,width:0,height:0},at=new Map(h.states.map((be)=>[be.id,be])),Oe=(be)=>{let Ue=0;for(let gn=be.parent;gn!==void 0;gn=at.get(gn)?.parent)Ue+=1;return Ue},Zr=(be)=>{let Ue=at.get(be)?.pseudo;return Ue===void 0?void 0:CZe[Ue]},Re=h.states.map((be)=>{let Ue=Le(be.id);return il({id:be.id,label:K3n(be),type:be.type,pseudo:be.pseudo,composite:E.has(be.id),parent:be.parent,depth:Oe(be),actions:be.actions,description:be.description,link:be.link,x:er(Ue.x),y:er(Ue.y),width:er(Ue.width),height:er(Ue.height),meta:be.meta})}),ae=H.map((be,Ue)=>{let gn=k.routes.get(\`t:\${Ue}\`),At=yV(gn?.points??[],Zr(be.from),Le(be.from),Zr(be.to),Le(be.to)).map((pr)=>({x:er(pr.x),y:er(pr.y)})),Xr=gn?.labelBox;return il({id:be.id??\`t\${Ue}\`,from:be.from,to:be.to,label:fn[Ue]===""?void 0:fn[Ue],event:be.event,guard:be.guard,action:be.action,type:be.type,points:At,labelBox:Xr===void 0?void 0:{x:er(Xr.x),y:er(Xr.y),width:er(Xr.width),height:er(Xr.height)},meta:be.meta})});return il({kind:"state",width:er(k.width),height:er(k.height),title:h.title,states:Re,transitions:ae})}var xpe={level:48,sibling:20},FZe={level:40,sibling:12},Spe={down:{breadth:(h)=>h.width,depth:(h)=>h.height,at:(h,m)=>({x:h,y:m})},up:{breadth:(h)=>h.width,depth:(h)=>h.height,at:(h,m)=>({x:h,y:-m})},right:{breadth:(h)=>h.height,depth:(h)=>h.width,at:(h,m)=>({x:m,y:h})},left:{breadth:(h)=>h.height,depth:(h)=>h.width,at:(h,m)=>({x:-m,y:h})}};function Ope(h,m,E,A,H,fn){let On=(pr)=>pr===h?m:E.get(pr)??[],k=new Map([[h,0]]),Le=[],at=[h];while(at.length>0){let pr=at.pop();Le.push(pr);let Ii=On(pr);for(let Lt=Ii.length-1;Lt>=0;Lt--){let ve=Ii[Lt];k.set(ve,k.get(pr)+1),at.push(ve)}}let Oe=new Map,Zr=new Map;for(let pr=Le.length-1;pr>=0;pr--){let Ii=Le[pr],Lt=H.breadth(A.get(Ii)),ve=On(Ii);if(ve.length===0){Oe.set(Ii,[[-Lt/2,Lt/2]]);continue}let Ut=[],yr=[];for(let yc of ve){let cs=Oe.get(yc),Cs=0;if(yr.length>0){Cs=-1/0;let us=Math.min(Ut.length,cs.length);for(let Ps=0;Ps<us;Ps++)Cs=Math.max(Cs,Ut[Ps][1]-cs[Ps][0]+fn.sibling)}yr.push(Cs),cs.forEach(([us,Ps],Al)=>{let G=[us+Cs,Ps+Cs],Vm=Ut[Al];if(Vm===void 0)Ut.push(G);else Ut[Al]=[Math.min(Vm[0],G[0]),Math.max(Vm[1],G[1])]}),Oe.delete(yc)}let ru=(yr[0]+yr[yr.length-1])/2;ve.forEach((yc,cs)=>Zr.set(yc,yr[cs]-ru)),Oe.set(Ii,[[-Lt/2,Lt/2],...Ut.map(([yc,cs])=>[yc-ru,cs-ru])])}let Re=new Map([[h,0]]);for(let pr of Le)for(let Ii of On(pr))Re.set(Ii,Re.get(pr)+Zr.get(Ii));let ae=[];for(let pr of Le){let Ii=k.get(pr);ae[Ii]=Math.max(ae[Ii]??0,H.depth(A.get(pr)))}let be=(ae[0]??0)/2,Ue=[],gn=[],At=0;ae.forEach((pr,Ii)=>{Ue[Ii]=At+pr/2-be,gn[Ii]=At+pr-be,At+=pr+fn.level});let Xr=new Map;for(let pr of Le)Xr.set(pr,Ue[k.get(pr)]);return{breadth:Re,depth:Xr,level:k,levelEnd:gn}}function B3n(h,m){return{x:h.x-m.width/2,y:h.y-m.height/2,width:m.width,height:m.height}}function LZe(h,m){let E=new Map;for(let A=h.length-1;A>=0;A--){let H=h[A],fn=m.get(H);E.set(H,fn===void 0||fn.length===0?1:fn.reduce((On,k)=>On+E.get(k),0))}return E}function Cpe(h){let m=h.layout==="mindmap",E=new Map,A=new Map,H="";for(let ve of h.nodes){if(ve.parent===void 0){H=ve.id;continue}A.set(ve.id,ve.parent);let Ut=E.get(ve.parent)??[];Ut.push(ve.id),E.set(ve.parent,Ut)}let fn=new Map(h.nodes.map((ve)=>[ve.id,ve])),On=new Map(h.nodes.map((ve)=>[ve.id,QN(ve.shape,ve.label,ve.type,80)])),k=[],Le=new Map([[H,0]]),at=[H];while(at.length>0){let ve=at.pop();k.push(ve);let Ut=E.get(ve)??[];for(let yr=Ut.length-1;yr>=0;yr--)Le.set(Ut[yr],Le.get(ve)+1),at.push(Ut[yr])}let Oe=new Map,Zr=new Map,Re=new Map;if(!m){let ve=Spe[h.direction??"down"],Ut=Ope(H,E.get(H)??[],E,On,ve,xpe);for(let yr of k){let ru=ve.at(Ut.breadth.get(yr),Ut.depth.get(yr));Oe.set(yr,B3n(ru,On.get(yr)))}for(let yr of k){let ru=A.get(yr);if(ru===void 0)continue;let yc=Ut.breadth.get(ru),cs=Ut.breadth.get(yr),Cs=ve.at(yc,Ut.depth.get(ru)+ve.depth(On.get(ru))/2),us=ve.at(cs,Ut.depth.get(yr)-ve.depth(On.get(yr))/2),Ps=Ut.levelEnd[Ut.level.get(ru)]+xpe.level/2;Re.set(yr,{curve:"elbow",points:er(yc)===er(cs)?[Cs,us]:[Cs,ve.at(yc,Ps),ve.at(cs,Ps),us]})}}else{Oe.set(H,B3n({x:0,y:0},On.get(H)));let ve=E.get(H)??[],Ut=LZe(k,E),yr=ve.reduce((yc,cs)=>yc+Ut.get(cs),0),ru=0;for(let yc=0;ru<ve.length&&yc*2<yr;ru++)yc+=Ut.get(ve[ru]);for(let[yc,cs]of[["right",ve.slice(0,ru)],["left",ve.slice(ru)]]){if(cs.length===0)continue;let Cs=Spe[yc],us=Ope(H,cs,E,On,Cs,FZe);for(let Ps of k){if(Ps===H||!us.level.has(Ps))continue;Zr.set(Ps,yc);let Al=Cs.at(us.breadth.get(Ps),us.depth.get(Ps));Oe.set(Ps,B3n(Al,On.get(Ps)))}}for(let yc of k){let cs=A.get(yc);if(cs===void 0)continue;let Cs=Oe.get(cs),us=Oe.get(yc),Ps=Zr.get(yc)==="right",Al={x:Ps?Cs.x+Cs.width:Cs.x,y:Cs.y+Cs.height/2},G={x:Ps?us.x:us.x+us.width,y:us.y+us.height/2},Vm=G.x-Al.x;Re.set(yc,{curve:"bezier",points:[Al,{x:Al.x+Vm/2,y:Al.y},{x:G.x-Vm/2,y:G.y},G]})}}let ae=1/0,be=1/0,Ue=-1/0,gn=-1/0;for(let ve of Oe.values())ae=Math.min(ae,ve.x),be=Math.min(be,ve.y),Ue=Math.max(Ue,ve.x+ve.width),gn=Math.max(gn,ve.y+ve.height);let At=uh-ae,Xr=uh-be,pr=(ve)=>({x:er(ve.x+At),y:er(ve.y+Xr)}),Ii=k.map((ve)=>{let Ut=fn.get(ve),yr=Oe.get(ve);return il({id:ve,label:Ut.label,type:Ut.type,shape:Ut.shape,x:er(yr.x+At),y:er(yr.y+Xr),width:er(yr.width),height:er(yr.height),link:Ut.link,description:Ut.description,meta:Ut.meta,depth:Le.get(ve),parent:Ut.parent,side:Zr.get(ve)})}),Lt=[];for(let ve of k){let Ut=A.get(ve),yr=Re.get(ve);if(Ut===void 0||yr===void 0)continue;Lt.push({id:ve,from:Ut,to:ve,points:yr.points.map(pr),curve:yr.curve})}return il({kind:"tree",layout:m?"mindmap":"tree",width:er(Ue-ae+2*uh),height:er(gn-be+2*uh),title:h.title,nodes:Ii,edges:Lt})}async function Ppe(h){let m=T3n(h);if(!m.ok){let A=m.errors.map((H)=>\`\${H.path===""?"/":H.path}: \${H.message}\`);throw Error(\`Invalid document:
30
30
  \${A.join(\`
31
31
  \`)}\`)}let E=m.document;switch(E.kind){case"graph":return jpe(E);case"sequence":return Tpe(E);case"state":return Mpe(E);case"er":return lpe(E);case"tree":return Cpe(E);default:return NZe(E)}}function NZe(h){throw Error(\`Unsupported document: \${JSON.stringify(h)}\`)}var _3n=globalThis;_3n.onmessage=async(h)=>{try{let m=await Ppe(h.data);_3n.postMessage({ok:!0,scene:m})}catch(m){_3n.postMessage({ok:!1,message:m instanceof Error?m.message:String(m)})}};})();`;