diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..9ad6cda --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +reaflow.dev diff --git a/assets/Basic.stories-84c4d4ab.js b/assets/Basic.stories-84c4d4ab.js new file mode 100644 index 0000000..6358c57 --- /dev/null +++ b/assets/Basic.stories-84c4d4ab.js @@ -0,0 +1,520 @@ +import{j as n}from"./jsx-runtime-9c4ae004.js";import{r as y}from"./index-1b03fe98.js";import{C as t,N as i,E as s,M as V,a as X,I as ne,L as C,P as v,R as Y,A as oe,b as te}from"./Icon-046b6023.js";import"./IntersectionQuery-1c2e7c35.js";import{c as de}from"./crudHelpers-031fd461.js";import{h as re,d as ie}from"./graphHelpers-fa49f917.js";import"./index-6fd5a17b.js";import"./_commonjs-dynamic-modules-302442b1.js";const xe={title:"Demos/Basic",component:t,subcomponents:{Node:i,Edge:s,MarkerArrow:V,Arrow:X,Icon:ne,Label:C,Port:v,Remove:Y,Add:oe}},l=()=>n.jsx("div",{style:{height:500},children:n.jsx(t,{nodes:[{id:"1",text:"1"},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],onLayoutChange:e=>console.log("Layout",e)})}),g=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(t,{animated:!1,nodes:[{id:"1",text:"1"},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],onLayoutChange:e=>console.log("Layout",e)})}),m=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(t,{readonly:!0,nodes:[{id:"1",text:"1"},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],onLayoutChange:e=>console.log("Layout",e)})}),c=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(t,{disabled:!0,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}],edges:[{id:"1-2",from:"1",to:"2"}],onLayoutChange:e=>console.log("Layout",e)})}),f=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(t,{nodes:[{id:"2",text:"Mother",data:{gender:"female"}},{id:"3",text:"Daughter",data:{gender:"female"}},{id:"4",text:"Son",data:{gender:"male"}}],edges:[{id:"2-3",from:"2",to:"3"},{id:"2-4",from:"2",to:"4"}],node:e=>{var o;return n.jsx(i,{...e,onClick:()=>console.log(e.properties.data),style:{fill:((o=e.properties.data)==null?void 0:o.gender)==="male"?"blue":"red"}})},edge:e=>n.jsx(s,{...e,style:{stroke:e.id==="2-4"?"blue":"red"}}),onLayoutChange:e=>console.log("Layout",e)})}),u=()=>{const e=y.useRef(null);return y.useEffect(()=>{console.log("Reference:",e)},[e]),n.jsxs("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:[n.jsx("button",{style:{position:"absolute",top:10,left:10,zIndex:999},onClick:()=>{var o;return(o=e.current)==null?void 0:o.positionCanvas(te.CENTER)},children:"Center"}),n.jsx(t,{ref:e,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}],edges:[{id:"1-2",from:"1",to:"2"}],onLayoutChange:o=>console.log("Layout",o)})]})},x=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(t,{nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}],edges:[{id:"1-2",from:"1",to:"2"}],node:n.jsx(i,{port:n.jsx(v,{onEnter:(e,o)=>{console.log("Enter Port",e,o)},onLeave:(e,o)=>{console.log("Leave Port",e,o)}}),onEnter:(e,o)=>{console.log("Enter Node",e,o)},onLeave:(e,o)=>{console.log("Leave Node",e,o)},onKeyDown:(e,o)=>{console.log("Keydown Node",e,o)},onClick:(e,o)=>{console.log("Selecting Node",e,o)},onRemove:(e,o)=>{console.log("Remove Node",e,o)}}),edge:n.jsx(s,{onEnter:(e,o)=>{console.log("Enter Edge",e,o)},onLeave:(e,o)=>{console.log("Leave Edge",e,o)},onKeyDown:(e,o)=>{console.log("Keydown Edge",e,o)},onClick:(e,o)=>{console.log("Selecting Edge",e,o)},onRemove:(e,o)=>{console.log("Removing Edge",e,o)}}),onCanvasClick:e=>{console.log("Canvas Clicked",e)},onLayoutChange:e=>console.log("Layout",e)})}),p=()=>n.jsxs("div",{style:{border:"solid 1px #12131e",height:500,width:700},children:[n.jsx("style",{children:` + body #root > div { + background-color: white; + background-image: -webkit-repeating-radial-gradient(top center,rgba(0,0,0,.2),rgba(0,0,0,.2) 1px,transparent 0,transparent 100%); + } + .edge { + stroke: #b1b1b7; + stroke-dasharray: 5; + animation: dashdraw .5s linear infinite; + stroke-width: 1; + } + @keyframes dashdraw { + 0% { stroke-dashoffset: 10; } + } + `}),n.jsx(t,{className:"canvas",nodes:[{id:"1",text:"Node 1",ports:[{id:"1-from",width:10,height:10,side:"SOUTH"},{id:"1-to",width:10,height:10,side:"NORTH",hidden:!0}]},{id:"2",text:"Node 2",ports:[{id:"2-from",width:10,height:10,side:"SOUTH"},{id:"2-to",width:10,height:10,side:"NORTH",hidden:!0}]},{id:"3",text:"Node 3",ports:[{id:"3-from",width:10,height:10,side:"SOUTH"},{id:"3-to",width:10,height:10,side:"NORTH",hidden:!0}]}],edges:[{id:"1-2",from:"1",to:"2",fromPort:"1-from",toPort:"2-to"},{id:"1-3",from:"1",to:"3",fromPort:"1-from",toPort:"3-to"}],node:n.jsx(i,{style:{stroke:"#1a192b",fill:"white",strokeWidth:1},label:n.jsx(C,{style:{fill:"black"}}),port:n.jsx(v,{style:{fill:"blue",stroke:"white"},rx:10,ry:10})}),arrow:n.jsx(V,{style:{fill:"#b1b1b7"}}),edge:n.jsx(s,{className:"edge"}),onLayoutChange:e=>console.log("Layout",e)})]}),h=()=>{const[e,o]=y.useState([{id:"1",text:"1"},{id:"2",text:"2"},{id:"3",text:"3"},{id:"4",text:"4"},{id:"5",text:"5"},{id:"6",text:"6"},{id:"7",text:"7"},{id:"8",text:"8"},{id:"9",text:"9"},{id:"10",text:"10"},{id:"11",text:"11"},{id:"12",text:"12"},{id:"13",text:"13"},{id:"14",text:"14"},{id:"15",text:"15"},{id:"16",text:"16"},{id:"17",text:"17"},{id:"18",text:"18"},{id:"19",text:"19"},{id:"20",text:"20"},{id:"21",text:"21"},{id:"22",text:"22"},{id:"23",text:"23"},{id:"24",text:"24"},{id:"25",text:"25"},{id:"26",text:"26"},{id:"27",text:"27"},{id:"28",text:"28"},{id:"29",text:"29"},{id:"30",text:"30"}]),[a,Z]=y.useState([{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"},{id:"1-4",from:"1",to:"4"},{id:"1-5",from:"1",to:"5"},{id:"1-6",from:"1",to:"6"},{id:"1-7",from:"1",to:"7"},{id:"2-8",from:"2",to:"8"},{id:"2-9",from:"2",to:"9"},{id:"2-10",from:"2",to:"10"},{id:"2-11",from:"2",to:"11"},{id:"2-12",from:"2",to:"12"},{id:"2-13",from:"2",to:"13"},{id:"3-14",from:"3",to:"14"},{id:"3-15",from:"3",to:"15"},{id:"3-16",from:"3",to:"16"},{id:"3-17",from:"3",to:"17"},{id:"3-18",from:"3",to:"18"},{id:"3-19",from:"3",to:"19"},{id:"3-20",from:"3",to:"20"},{id:"10-21",from:"10",to:"21"},{id:"10-22",from:"10",to:"22"},{id:"10-23",from:"10",to:"23"},{id:"10-24",from:"10",to:"24"},{id:"10-25",from:"10",to:"25"},{id:"17-26",from:"17",to:"26"},{id:"17-27",from:"17",to:"27"},{id:"17-28",from:"17",to:"28"},{id:"17-29",from:"17",to:"29"},{id:"17-30",from:"17",to:"30"}]);return n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(t,{nodes:e,edges:a,onMouseEnter:()=>{},onMouseLeave:()=>{},onCanvasClick:()=>{},dragNode:null,dragEdge:null,arrow:n.jsx(X,{}),node:n.jsx(i,{dragType:"node",remove:n.jsx(Y,{}),port:n.jsx(v,{}),label:n.jsx(C,{})}),edge:n.jsx(s,{}),onLayoutChange:b=>console.log("Layout",b),onNodeLink:(b,d,r)=>{const $=a.filter(ee=>ee.to!==d.id);Z([...$,de(r,d)])},onNodeLinkCheck:(b,d,r)=>!(d.id===r.id||re(a,r,d)||ie(e,a,r,d))})})};var N,L,E;l.parameters={...l.parameters,docs:{...(N=l.parameters)==null?void 0:N.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(E=(L=l.parameters)==null?void 0:L.docs)==null?void 0:E.source}}};var k,w,j;g.parameters={...g.parameters,docs:{...(k=g.parameters)==null?void 0:k.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(j=(w=g.parameters)==null?void 0:w.docs)==null?void 0:j.source}}};var R,S,P;m.parameters={...m.parameters,docs:{...(R=m.parameters)==null?void 0:R.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(P=(S=m.parameters)==null?void 0:S.docs)==null?void 0:P.source}}};var T,D,O;c.parameters={...c.parameters,docs:{...(T=c.parameters)==null?void 0:T.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(O=(D=c.parameters)==null?void 0:D.docs)==null?void 0:O.source}}};var H,M,A;f.parameters={...f.parameters,docs:{...(H=f.parameters)==null?void 0:H.docs,source:{originalSource:`() =>
+ console.log(node.properties.data)} style={{ + fill: node.properties.data?.gender === 'male' ? 'blue' : 'red' + }} />} edge={(edge: EdgeProps) => } onLayoutChange={layout => console.log('Layout', layout)} /> +
`,...(A=(M=f.parameters)==null?void 0:M.docs)==null?void 0:A.source}}};var K,_,U;u.parameters={...u.parameters,docs:{...(K=u.parameters)==null?void 0:K.docs,source:{originalSource:`() => { + const ref = useRef(null); + useEffect(() => { + console.log('Reference:', ref); + }, [ref]); + return
+ + console.log('Layout', layout)} /> +
; +}`,...(U=(_=u.parameters)==null?void 0:_.docs)==null?void 0:U.source}}};var I,z,B;x.parameters={...x.parameters,docs:{...(I=x.parameters)==null?void 0:I.docs,source:{originalSource:`() =>
+ { + console.log('Enter Port', event, port); + }} onLeave={(event, port) => { + console.log('Leave Port', event, port); + }} />} onEnter={(event, node) => { + console.log('Enter Node', event, node); + }} onLeave={(event, node) => { + console.log('Leave Node', event, node); + }} onKeyDown={(event, node) => { + console.log('Keydown Node', event, node); + }} onClick={(event, node) => { + console.log('Selecting Node', event, node); + }} onRemove={(event, node) => { + console.log('Remove Node', event, node); + }} />} edge={ { + console.log('Enter Edge', event, edge); + }} onLeave={(event, edge) => { + console.log('Leave Edge', event, edge); + }} onKeyDown={(event, edge) => { + console.log('Keydown Edge', event, edge); + }} onClick={(event, edge) => { + console.log('Selecting Edge', event, edge); + }} onRemove={(event, edge) => { + console.log('Removing Edge', event, edge); + }} />} onCanvasClick={event => { + console.log('Canvas Clicked', event); + }} onLayoutChange={layout => console.log('Layout', layout)} /> +
`,...(B=(z=x.parameters)==null?void 0:z.docs)==null?void 0:B.source}}};var F,W,q;p.parameters={...p.parameters,docs:{...(F=p.parameters)==null?void 0:F.docs,source:{originalSource:`() =>
+ + } port={} />} arrow={} edge={} onLayoutChange={layout => console.log('Layout', layout)} /> +
`,...(q=(W=p.parameters)==null?void 0:W.docs)==null?void 0:q.source}}};var G,J,Q;h.parameters={...h.parameters,docs:{...(G=h.parameters)==null?void 0:G.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: '1' + }, { + id: '2', + text: '2' + }, { + id: '3', + text: '3' + }, { + id: '4', + text: '4' + }, { + id: '5', + text: '5' + }, { + id: '6', + text: '6' + }, { + id: '7', + text: '7' + }, { + id: '8', + text: '8' + }, { + id: '9', + text: '9' + }, { + id: '10', + text: '10' + }, { + id: '11', + text: '11' + }, { + id: '12', + text: '12' + }, { + id: '13', + text: '13' + }, { + id: '14', + text: '14' + }, { + id: '15', + text: '15' + }, { + id: '16', + text: '16' + }, { + id: '17', + text: '17' + }, { + id: '18', + text: '18' + }, { + id: '19', + text: '19' + }, { + id: '20', + text: '20' + }, { + id: '21', + text: '21' + }, { + id: '22', + text: '22' + }, { + id: '23', + text: '23' + }, { + id: '24', + text: '24' + }, { + id: '25', + text: '25' + }, { + id: '26', + text: '26' + }, { + id: '27', + text: '27' + }, { + id: '28', + text: '28' + }, { + id: '29', + text: '29' + }, { + id: '30', + text: '30' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }, { + id: '1-3', + from: '1', + to: '3' + }, { + id: '1-4', + from: '1', + to: '4' + }, { + id: '1-5', + from: '1', + to: '5' + }, { + id: '1-6', + from: '1', + to: '6' + }, { + id: '1-7', + from: '1', + to: '7' + }, { + id: '2-8', + from: '2', + to: '8' + }, { + id: '2-9', + from: '2', + to: '9' + }, { + id: '2-10', + from: '2', + to: '10' + }, { + id: '2-11', + from: '2', + to: '11' + }, { + id: '2-12', + from: '2', + to: '12' + }, { + id: '2-13', + from: '2', + to: '13' + }, { + id: '3-14', + from: '3', + to: '14' + }, { + id: '3-15', + from: '3', + to: '15' + }, { + id: '3-16', + from: '3', + to: '16' + }, { + id: '3-17', + from: '3', + to: '17' + }, { + id: '3-18', + from: '3', + to: '18' + }, { + id: '3-19', + from: '3', + to: '19' + }, { + id: '3-20', + from: '3', + to: '20' + }, { + id: '10-21', + from: '10', + to: '21' + }, { + id: '10-22', + from: '10', + to: '22' + }, { + id: '10-23', + from: '10', + to: '23' + }, { + id: '10-24', + from: '10', + to: '24' + }, { + id: '10-25', + from: '10', + to: '25' + }, { + id: '17-26', + from: '17', + to: '26' + }, { + id: '17-27', + from: '17', + to: '27' + }, { + id: '17-28', + from: '17', + to: '28' + }, { + id: '17-29', + from: '17', + to: '29' + }, { + id: '17-30', + from: '17', + to: '30' + }]); + return
+ undefined} onMouseLeave={() => undefined} onCanvasClick={() => undefined} dragNode={null} dragEdge={null} arrow={} node={} port={} label={
; +}`,...(Q=(J=h.parameters)==null?void 0:J.docs)==null?void 0:Q.source}}};const pe=["Simple","NoAnimation","Readonly","Disabled","CustomElements","Refs","Events","Styling","ManyNodes"];export{f as CustomElements,c as Disabled,x as Events,h as ManyNodes,g as NoAnimation,m as Readonly,u as Refs,l as Simple,p as Styling,pe as __namedExportsOrder,xe as default}; diff --git a/assets/Basics-10dd212d.js b/assets/Basics-10dd212d.js new file mode 100644 index 0000000..ca77275 --- /dev/null +++ b/assets/Basics-10dd212d.js @@ -0,0 +1,43 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./chunk-HLWAVYOI-fce3c28f.js";import{M as r,C as i}from"./index-8e905c69.js";import{Simple as a}from"./Basic.stories-84c4d4ab.js";import{u as o}from"./index-2ef8b458.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./react-18-5df836b6.js";import"./index-6fd5a17b.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";import"./Icon-046b6023.js";import"./IntersectionQuery-1c2e7c35.js";import"./crudHelpers-031fd461.js";import"./graphHelpers-fa49f917.js";function t(s){const n=Object.assign({h1:"h1",h2:"h2",p:"p",code:"code",pre:"pre"},o(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Docs/Getting Started/Basics"}),` +`,e.jsx(n.h1,{id:"basics",children:"Basics"}),` +`,e.jsx(n.h2,{id:"your-first-diagram",children:"Your First Diagram"}),` +`,e.jsxs(n.p,{children:["Let's build our first diagram by defining some ",e.jsx(n.code,{children:"nodes"})," and ",e.jsx(n.code,{children:"edges"}),`. +Nodes are the blocks and edges are the relationships between the blocks.`]}),` +`,e.jsxs(n.p,{children:["The data shapes require one property of ",e.jsx(n.code,{children:"id"})," but you can pass ",e.jsx(n.code,{children:"text"}),` +or `,e.jsx(n.code,{children:"icon"}),` to them to show some sort of indication what it represents. +The `,e.jsx(n.code,{children:"id"})," property can be any ",e.jsx(n.code,{children:"string"}),` but for demonstration purposes +we are going to use some basic strings.`]}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`const nodes = [ + { + id: '1', + text: '1' + }, + { + id: '2', + text: '2' + } +]; + +const edges = [ + { + id: '1-2', + from: '1', + to: '2' + } +]; +`})}),` +`,e.jsxs(n.p,{children:["These shapes above will create two elements ",e.jsx(n.code,{children:"1"})," and ",e.jsx(n.code,{children:"2"}),` and create +a relationship between them. Once we have this defined, we can simply +pass these properties to the `,e.jsx(n.code,{children:"Canvas"})," and it will do the rest!"]}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-jsx",children:`import React from 'react'; +import { Canvas } from 'reaflow'; + +export const MyDiagram = () => ( + +); +`})}),` +`,e.jsx(n.p,{children:"This will render a graph like this:"}),` +`,e.jsx(i,{of:a})]})}function O(s={}){const{wrapper:n}=Object.assign({},o(),s.components);return n?e.jsx(n,Object.assign({},s,{children:e.jsx(t,s)})):t(s)}export{O as default}; diff --git a/assets/Color-6VNJS4EI-bd55fa6a.js b/assets/Color-6VNJS4EI-bd55fa6a.js new file mode 100644 index 0000000..99b6982 --- /dev/null +++ b/assets/Color-6VNJS4EI-bd55fa6a.js @@ -0,0 +1 @@ +import{n as M,f as ue,T as Me,F as Ce,I as $e,g as Ne}from"./index-8e905c69.js";import{R as h,r as b,g as fe}from"./index-1b03fe98.js";import{_ as Oe,i as J,a as Ie}from"./index-d7bb098e.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-356e4a49.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=0/0,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},hn=tn;export{tn as ColorControl,hn as default}; diff --git a/assets/Community-493303cd.js b/assets/Community-493303cd.js new file mode 100644 index 0000000..fe143db --- /dev/null +++ b/assets/Community-493303cd.js @@ -0,0 +1,16 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as s}from"./index-2ef8b458.js";import{M as r}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function t(n){const o=Object.assign({h1:"h1",h2:"h2",p:"p",ul:"ul",li:"li",a:"a",strong:"strong",code:"code"},s(),n.components);return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Docs/Community"}),` +`,e.jsx(o.h1,{id:"community",children:"Community"}),` +`,e.jsx(o.h2,{id:"opensource",children:"Opensource"}),` +`,e.jsx(o.p,{children:"Examples of open-source projects using reaflow:"}),` +`,e.jsxs(o.ul,{children:[` +`,e.jsxs(o.li,{children:[` +`,e.jsxs(o.p,{children:[e.jsx(o.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow",target:"_blank",rel:"nofollow noopener noreferrer",children:"POC Next.js + Reaflow"}),`: Uses +Reaflow to build a "`,e.jsx(o.strong,{children:"decision tree"}),`". Advanced use-case with different kinds +of nodes with heavy usage of `,e.jsx(o.code,{children:"foreignObject"}),` to display actual HTML within the nodes themselves. +Hosted on Vercel and built with Next.js 10.`]}),` +`]}),` +`,e.jsxs(o.li,{children:[` +`,e.jsxs(o.p,{children:[e.jsx(o.a,{href:"https://github.com/AykutSarac/jsonvisio.com",target:"_blank",rel:"nofollow noopener noreferrer",children:"JSON Visio"}),`: Uses +Reaflow to mirror JSON onto "`,e.jsx(o.strong,{children:"graphs"}),'". JSON Visio is data visualization tool for your json data which seamlessly illustrates your data on graphs without having to restructure anything, paste directly or import file.']}),` +`]}),` +`]})]})}function g(n={}){const{wrapper:o}=Object.assign({},s(),n.components);return o?e.jsx(o,Object.assign({},n,{children:e.jsx(t,n)})):t(n)}export{g as default}; diff --git a/assets/Components-a6c0f215.js b/assets/Components-a6c0f215.js new file mode 100644 index 0000000..9b37381 --- /dev/null +++ b/assets/Components-a6c0f215.js @@ -0,0 +1,34 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./chunk-HLWAVYOI-fce3c28f.js";import{M as i,A as o}from"./index-8e905c69.js";import{C as t,N as c,E as h,P as l,M as a,A as x,R as j,L as m,I as p}from"./Icon-046b6023.js";import"./index-1b03fe98.js";import"./IntersectionQuery-1c2e7c35.js";import{u as d}from"./index-2ef8b458.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./react-18-5df836b6.js";import"./index-6fd5a17b.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function r(s){const n=Object.assign({h1:"h1",p:"p",ul:"ul",li:"li",h2:"h2",code:"code"},d(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Docs/Getting Started/Components"}),` +`,e.jsx(n.h1,{id:"components",children:"Components"}),` +`,e.jsx(n.p,{children:`The library uses a variety of components internally that you can +customize.`}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsx(n.li,{children:"Canvas - The root component"}),` +`,e.jsx(n.li,{children:"Node - The node element component"}),` +`,e.jsx(n.li,{children:"Edge - The connector between nodes"}),` +`,e.jsx(n.li,{children:"Port - The exit points of a node"}),` +`,e.jsx(n.li,{children:"Marker Arrow - The shape used to connect show direction on the edges"}),` +`,e.jsx(n.li,{children:"Add - The shape used on edges to show dropping between edges"}),` +`,e.jsx(n.li,{children:"Remove - The shape used on nodes and edges to remove each"}),` +`,e.jsx(n.li,{children:"Label - The component used by nodes and edges to show text"}),` +`,e.jsx(n.li,{children:"Icon - The component used by nodes to show an icon"}),` +`]}),` +`,e.jsx(n.p,{children:"Below are the props from each component."}),` +`,e.jsx(n.h2,{id:"canvas",children:e.jsx(n.code,{children:"Canvas"})}),` +`,e.jsx(o,{of:t}),` +`,e.jsx(n.h2,{id:"node",children:e.jsx(n.code,{children:"Node"})}),` +`,e.jsx(o,{of:c}),` +`,e.jsx(n.h2,{id:"edge",children:e.jsx(n.code,{children:"Edge"})}),` +`,e.jsx(o,{of:h}),` +`,e.jsx(n.h2,{id:"port",children:e.jsx(n.code,{children:"Port"})}),` +`,e.jsx(o,{of:l}),` +`,e.jsx(n.h2,{id:"markerarrow",children:e.jsx(n.code,{children:"MarkerArrow"})}),` +`,e.jsx(o,{of:a}),` +`,e.jsx(n.h2,{id:"add",children:e.jsx(n.code,{children:"Add"})}),` +`,e.jsx(o,{of:x}),` +`,e.jsx(n.h2,{id:"remove",children:e.jsx(n.code,{children:"Remove"})}),` +`,e.jsx(o,{of:j}),` +`,e.jsx(n.h2,{id:"label",children:e.jsx(n.code,{children:"Label"})}),` +`,e.jsx(o,{of:m}),` +`,e.jsx(n.h2,{id:"icon",children:e.jsx(n.code,{children:"Icon"})}),` +`,e.jsx(o,{of:p})]})}function D(s={}){const{wrapper:n}=Object.assign({},d(),s.components);return n?e.jsx(n,Object.assign({},s,{children:e.jsx(r,s)})):r(s)}export{D as default}; diff --git a/assets/Contributing-75c88a66.js b/assets/Contributing-75c88a66.js new file mode 100644 index 0000000..f596a19 --- /dev/null +++ b/assets/Contributing-75c88a66.js @@ -0,0 +1,39 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as l}from"./index-2ef8b458.js";import{M as i}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function r(o){const n=Object.assign({h1:"h1",h2:"h2",ul:"ul",li:"li",code:"code",a:"a",p:"p",strong:"strong",h3:"h3",blockquote:"blockquote",h4:"h4",ol:"ol",em:"em"},l(),o.components);return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Docs/Contributing"}),` +`,e.jsx(n.h1,{id:"contributing",children:"Contributing"}),` +`,e.jsx(n.h2,{id:"getting-started",children:"Getting started"}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsx(n.li,{children:e.jsx(n.code,{children:"npm i"})}),` +`,e.jsxs(n.li,{children:[e.jsx(n.code,{children:"npm start"})," opens Storybook documentation on ",e.jsx(n.a,{href:"http://localhost:9009",target:"_blank",rel:"nofollow noopener noreferrer",children:"localhost:9009"})]}),` +`]}),` +`,e.jsxs(n.h2,{id:"using-the-reaflow-package-locally-as-a-dependency",children:["Using the ",e.jsx(n.code,{children:"reaflow"})," package locally as a dependency"]}),` +`,e.jsxs(n.p,{children:["If you're working on some app ",e.jsxs(n.strong,{children:["that uses ",e.jsx(n.code,{children:"reaflow"})," as a dependency"]}),", and if you want to quickly update the code of ",e.jsx(n.code,{children:"reaflow"})," locally (without publishing changes to NPM), you basically have two choices:"]}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsx(n.li,{children:e.jsx(n.a,{href:"https://git-scm.com/book/en/v2/Git-Tools-Submodules",target:"_blank",rel:"nofollow noopener noreferrer",children:"Use Git submodules"})}),` +`,e.jsxs(n.li,{children:["Use ",e.jsx(n.a,{href:"https://docs.npmjs.com/cli/v6/commands/npm-link",target:"_blank",rel:"nofollow noopener noreferrer",children:"NPM"}),"/",e.jsx(n.a,{href:"https://classic.yarnpkg.com/en/docs/cli/link/",target:"_blank",rel:"nofollow noopener noreferrer",children:"Yarn"})," ",e.jsx(n.code,{children:"link"})," feature"]}),` +`]}),` +`,e.jsx(n.p,{children:"At this time, we don't have an official recommandation about which one to use, it's up to you."}),` +`,e.jsxs(n.h3,{id:"using-link",children:["Using ",e.jsx(n.code,{children:"link"})]}),` +`,e.jsxs(n.p,{children:["Using NPM/Yarn link will link your dependencies on your main project to your local ",e.jsx(n.code,{children:"reaflow"})," folder."]}),` +`,e.jsxs(n.blockquote,{children:[` +`,e.jsx(n.p,{children:`:warning: Beware: The "link" might break quite often when installing new dependencies on your main project, and you'll need to unlink and link back again to fix it.`}),` +`]}),` +`,e.jsx(n.h4,{id:"configuration-example-with-yarn",children:"Configuration example (with Yarn):"}),` +`,e.jsxs(n.ol,{children:[` +`,e.jsxs(n.li,{children:["From your local ",e.jsx(n.code,{children:"reaflow"})," folder, run ",e.jsx(n.code,{children:"yarn install"})," and then ",e.jsx(n.code,{children:"yarn link:reaflow"}),", which will create the links in yarn"]}),` +`,e.jsxs(n.li,{children:["From your main project folder, run ",e.jsx(n.code,{children:"yarn link reaflow && yarn link react && yarn link react-dom"})]}),` +`]}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsxs(n.li,{children:[e.jsxs(n.em,{children:["We suggest adding it as a command in your package.json: ",e.jsx(n.code,{children:'"link:reaflow": "yarn link reaflow && yarn link react && yarn link react-dom"'})]})," - ",e.jsx(n.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow/blob/cf8499008c4b70946d82803741401fac48264a5b/package.json#L8",target:"_blank",rel:"nofollow noopener noreferrer",children:"See example"})]}),` +`]}),` +`,e.jsxs(n.ol,{children:[` +`,e.jsxs(n.li,{children:[e.jsxs(n.strong,{children:["If you edit the ",e.jsx(n.code,{children:"reaflow"})," files"]})," and need to recompile the project then run ",e.jsx(n.code,{children:"yarn build:watch"})," from your local ",e.jsx(n.code,{children:"reaflow"})," folder (changes will be applied immediately, you'll benefit from hot-reloading, etc.)"]}),` +`]}),` +`,e.jsxs(n.p,{children:["Once everything is linked, your main project will use the files in your local ",e.jsx(n.code,{children:"reaflow"}),` folder. +While `,e.jsx(n.code,{children:"yarn build:watch"})," is running, your changes from ",e.jsx(n.code,{children:"reaflow"})," will automatically apply to your main project."]}),` +`,e.jsx(n.h4,{id:"warning-when-the-link-breaks",children:":warning When the link breaks"}),` +`,e.jsxs(n.p,{children:["When you install new dependencies in your main project, it might break the links with ",e.jsx(n.code,{children:"reaflow"}),"."]}),` +`,e.jsxs(n.p,{children:["To fix it, you'll need to remove your ",e.jsx(n.code,{children:"node_modules"})," folder and reinstall all packages ",e.jsx(n.strong,{children:"on both"})," your main project and ",e.jsx(n.code,{children:"reaflow"}),", starting with ",e.jsx(n.code,{children:"reaflow"}),"."]}),` +`,e.jsxs(n.ol,{children:[` +`,e.jsxs(n.li,{children:["From ",e.jsx(n.code,{children:"reaflow"})," folder: ",e.jsx(n.code,{children:"rm -rf node_modules && yarn && yarn link:reaflow"})]}),` +`,e.jsxs(n.li,{children:["From your main project folder: ",e.jsx(n.code,{children:"rm -rf node_modules && yarn && yarn link:reaflow"})]}),` +`]})]})}function y(o={}){const{wrapper:n}=Object.assign({},l(),o.components);return n?e.jsx(n,Object.assign({},o,{children:e.jsx(r,o)})):r(o)}export{y as default}; diff --git a/assets/Controls.stories-1392b2e8.js b/assets/Controls.stories-1392b2e8.js new file mode 100644 index 0000000..48de742 --- /dev/null +++ b/assets/Controls.stories-1392b2e8.js @@ -0,0 +1,245 @@ +import{j as S}from"./jsx-runtime-9c4ae004.js";import{R as W,r as C}from"./index-1b03fe98.js";import{C as z,N as ge,E as be,M as Se,a as we,I as ye,L as Ce,P as Pe,R as Te,A as Ye,b as Xe}from"./Icon-046b6023.js";import"./index-6fd5a17b.js";import"./_commonjs-dynamic-modules-302442b1.js";var T=function(i,n){return Number(i.toFixed(n))},Ne=function(i,n){return typeof i=="number"?i:n},g=function(i,n,e){e&&typeof e=="function"&&e(i,n)},ze=function(i){return-Math.cos(i*Math.PI)/2+.5},Ae=function(i){return i},Ee=function(i){return i*i},_e=function(i){return i*(2-i)},We=function(i){return i<.5?2*i*i:-1+(4-2*i)*i},De=function(i){return i*i*i},Oe=function(i){return--i*i*i+1},Ze=function(i){return i<.5?4*i*i*i:(i-1)*(2*i-2)*(2*i-2)+1},ke=function(i){return i*i*i*i},Le=function(i){return 1- --i*i*i*i},Be=function(i){return i<.5?8*i*i*i*i:1-8*--i*i*i*i},Me=function(i){return i*i*i*i*i},je=function(i){return 1+--i*i*i*i*i},He=function(i){return i<.5?16*i*i*i*i*i:1+16*--i*i*i*i*i},Qi={easeOut:ze,linear:Ae,easeInQuad:Ee,easeOutQuad:_e,easeInOutQuad:We,easeInCubic:De,easeOutCubic:Oe,easeInOutCubic:Ze,easeInQuart:ke,easeOutQuart:Le,easeInOutQuart:Be,easeInQuint:Me,easeOutQuint:je,easeInOutQuint:He},qi=function(i){typeof i=="number"&&cancelAnimationFrame(i)},X=function(i){i.mounted&&(qi(i.animation),i.animate=!1,i.animation=null,i.velocity=null)};function Ui(i,n,e,o){if(i.mounted){var r=new Date().getTime(),a=1;X(i),i.animation=function(){if(!i.mounted)return qi(i.animation);var t=new Date().getTime()-r,s=t/e,l=Qi[n],d=l(s);t>=e?(o(a),i.animation=null):i.animation&&(o(d),requestAnimationFrame(i.animation))},requestAnimationFrame(i.animation)}}function Re(i){var n=i.scale,e=i.positionX,o=i.positionY;return!(Number.isNaN(n)||Number.isNaN(e)||Number.isNaN(o))}function A(i,n,e,o){var r=Re(n);if(!(!i.mounted||!r)){var a=i.setTransformState,t=i.transformState,s=t.scale,l=t.positionX,d=t.positionY,u=n.scale-s,f=n.positionX-l,m=n.positionY-d;e===0?a(n.scale,n.positionX,n.positionY):Ui(i,o,e,function(v){var p=s+u*v,h=l+f*v,b=d+m*v;a(p,h,b)})}}function Ke(i,n,e){var o=i.offsetWidth,r=i.offsetHeight,a=n.offsetWidth,t=n.offsetHeight,s=a*e,l=t*e,d=o-s,u=r-l;return{wrapperWidth:o,wrapperHeight:r,newContentWidth:s,newDiffWidth:d,newContentHeight:l,newDiffHeight:u}}var Ve=function(i,n,e,o,r,a,t){var s=i>n?e*(t?1:.5):0,l=o>r?a*(t?1:.5):0,d=i-n-s,u=s,f=o-r-l,m=l;return{minPositionX:d,maxPositionX:u,minPositionY:f,maxPositionY:m}},li=function(i,n){var e=i.wrapperComponent,o=i.contentComponent,r=i.setup.centerZoomedOut;if(!e||!o)throw new Error("Components are not mounted");var a=Ke(e,o,n),t=a.wrapperWidth,s=a.wrapperHeight,l=a.newContentWidth,d=a.newDiffWidth,u=a.newContentHeight,f=a.newDiffHeight,m=Ve(t,l,d,s,u,f,!!r);return m},ai=function(i,n,e,o){return o?ie?T(e,2):T(i,2):T(i,2)},Z=function(i,n){var e=li(i,n);return i.bounds=e,e};function J(i,n,e,o,r,a,t){var s=e.minPositionX,l=e.minPositionY,d=e.maxPositionX,u=e.maxPositionY,f=0,m=0;t&&(f=r,m=a);var v=ai(i,s-f,d+f,o),p=ai(n,l-m,u+m,o);return{x:v,y:p}}function $(i,n,e,o,r,a){var t=i.transformState,s=t.scale,l=t.positionX,d=t.positionY,u=o-s;if(typeof n!="number"||typeof e!="number")return console.error("Mouse X and Y position were not provided!"),{x:l,y:d};var f=l-n*u,m=d-e*u,v=J(f,m,r,a,0,0,null);return v}function j(i,n,e,o,r){var a=r?o:0,t=n-a;return!Number.isNaN(e)&&i>=e?e:!Number.isNaN(n)&&i<=t?t:i}var gi=function(i,n){var e=i.setup.panning.excluded,o=i.isInitialized,r=i.wrapperComponent,a=n.target,t=r==null?void 0:r.contains(a),s=o&&a&&t;if(!s)return!1;var l=I(a,e);return!l},bi=function(i){var n=i.isInitialized,e=i.isPanning,o=i.setup,r=o.panning.disabled,a=n&&e&&!r;return!!a},Fe=function(i,n){var e=i.transformState,o=e.positionX,r=e.positionY;i.isPanning=!0;var a=n.clientX,t=n.clientY;i.startCoords={x:a-o,y:t-r}},Qe=function(i,n){var e=n.touches,o=i.transformState,r=o.positionX,a=o.positionY;i.isPanning=!0;var t=e.length===1;if(t){var s=e[0].clientX,l=e[0].clientY;i.startCoords={x:s-r,y:l-a}}};function qe(i){var n=i.transformState,e=n.positionX,o=n.positionY,r=n.scale,a=i.setup,t=a.disabled,s=a.limitToBounds,l=a.centerZoomedOut,d=i.wrapperComponent;if(!(t||!d||!i.bounds)){var u=i.bounds,f=u.maxPositionX,m=u.minPositionX,v=u.maxPositionY,p=u.minPositionY,h=e>f||ev||of?d.offsetWidth:i.setup.minPositionX||0,P=o>v?d.offsetHeight:i.setup.minPositionY||0,w=$(i,y,P,r,i.bounds,s||l),E=w.x,Y=w.y;return{scale:r,positionX:h?E:e,positionY:b?Y:o}}}function Ue(i,n,e,o,r){var a=i.setup.limitToBounds,t=i.wrapperComponent,s=i.bounds,l=i.transformState,d=l.scale,u=l.positionX,f=l.positionY;if(!(t===null||s===null||n===u&&e===f)){var m=J(n,e,s,a,o,r,t),v=m.x,p=m.y;i.setTransformState(d,v,p)}}var xe=function(i,n,e){var o=i.startCoords,r=i.transformState,a=i.setup.panning,t=a.lockAxisX,s=a.lockAxisY,l=r.positionX,d=r.positionY;if(!o)return{x:l,y:d};var u=n-o.x,f=e-o.y,m=t?l:u,v=s?d:f;return{x:m,y:v}},G=function(i,n){var e=i.setup,o=i.transformState,r=o.scale,a=e.minScale,t=e.disablePadding;return n>0&&r>=a&&!t?n:0},Ge=function(i){var n=i.mounted,e=i.setup,o=e.disabled,r=e.velocityAnimation,a=i.transformState.scale,t=r.disabled,s=!t||a>1||!o||n;return!!s},Je=function(i){var n=i.mounted,e=i.velocity,o=i.bounds,r=i.setup,a=r.disabled,t=r.velocityAnimation,s=i.transformState.scale,l=t.disabled,d=!l||s>1||!a||n;return!(!d||!e||!o)};function $e(i,n){var e=i.setup.velocityAnimation,o=e.equalToMove,r=e.animationTime,a=e.sensitivity;return o?r*n*a:r}function Si(i,n,e,o,r,a,t,s,l,d){if(r){if(n>t&&e>t){var u=t+(i-t)*d;return u>l?l:ua?a:u}}return o?n:ai(i,a,t,r)}function Ie(i,n){var e=1;return n?Math.min(e,i.offsetWidth/window.innerWidth):e}function io(i,n){var e=Ge(i);if(e){var o=i.lastMousePosition,r=i.velocityTime,a=i.setup,t=i.wrapperComponent,s=a.velocityAnimation.equalToMove,l=Date.now();if(o&&r&&t){var d=Ie(t,s),u=n.x-o.x,f=n.y-o.y,m=u/d,v=f/d,p=l-r,h=u*u+f*f,b=Math.sqrt(h)/p;i.velocity={velocityX:m,velocityY:v,total:b}}i.lastMousePosition=n,i.velocityTime=l}}function eo(i){var n=i.velocity,e=i.bounds,o=i.setup,r=i.wrapperComponent,a=Je(i);if(!(!a||!n||!e||!r)){var t=n.velocityX,s=n.velocityY,l=n.total,d=e.maxPositionX,u=e.minPositionX,f=e.maxPositionY,m=e.minPositionY,v=o.limitToBounds,p=o.alignmentAnimation,h=o.zoomAnimation,b=o.panning,y=b.lockAxisY,P=b.lockAxisX,w=h.animationType,E=p.sizeX,Y=p.sizeY,k=p.velocityAlignmentTime,_=k,L=$e(i,l),D=Math.max(L,_),O=G(i,E),B=G(i,Y),H=O*r.offsetWidth/100,fi=B*r.offsetHeight/100,ae=d+H,te=u-H,se=f+fi,le=m-fi,mi=i.transformState,ue=new Date().getTime();Ui(i,w,D,function(de){var ii=i.transformState,fe=ii.scale,ei=ii.positionX,oi=ii.positionY,me=new Date().getTime()-ue,ve=me/_,pe=Qi[p.animationType],vi=1-pe(Math.min(1,ve)),pi=1-de,hi=ei+t*pi,ci=oi+s*pi,he=Si(hi,mi.positionX,ei,P,v,u,d,te,ae,vi),ce=Si(ci,mi.positionY,oi,y,v,m,f,le,se,vi);(ei!==hi||oi!==ci)&&i.setTransformState(fe,he,ce)})}}function wi(i,n){var e=i.transformState.scale;X(i),Z(i,e),window.TouchEvent!==void 0&&n instanceof TouchEvent?Qe(i,n):Fe(i,n)}function xi(i){var n=i.transformState.scale,e=i.setup,o=e.minScale,r=e.alignmentAnimation,a=r.disabled,t=r.sizeX,s=r.sizeY,l=r.animationTime,d=r.animationType,u=a||n.1&&f;m?eo(i):xi(i)}}function ui(i,n,e,o){var r=i.setup,a=r.minScale,t=r.maxScale,s=r.limitToBounds,l=j(T(n,2),a,t,0,!1),d=Z(i,l),u=$(i,e,o,l,d,s),f=u.x,m=u.y;return{scale:l,positionX:f,positionY:m}}function Gi(i,n,e){var o=i.transformState.scale,r=i.wrapperComponent,a=i.setup,t=a.minScale,s=a.limitToBounds,l=a.zoomAnimation,d=l.disabled,u=l.animationTime,f=l.animationType,m=d||o>=t;if((o>=1||s)&&xi(i),!(m||!r||!i.mounted)){var v=n||r.offsetWidth/2,p=e||r.offsetHeight/2,h=ui(i,t,v,p);h&&A(i,h,u,f)}}var N=function(){return N=Object.assign||function(n){for(var e,o=1,r=arguments.length;ot||Math.sign(e.deltaY)!==Math.sign(n.deltaY)||e.deltaY>0&&e.deltaYn.deltaY||Math.sign(e.deltaY)!==Math.sign(n.deltaY):!1},wo=function(i,n){var e=i.setup.pinch,o=e.disabled,r=e.excluded,a=i.isInitialized,t=n.target,s=a&&!o&&t;if(!s)return!1;var l=I(t,r);return!l},yo=function(i){var n=i.setup.pinch.disabled,e=i.isInitialized,o=i.pinchStartDistance,r=e&&!n&&o;return!!r},Co=function(i,n,e){var o=e.getBoundingClientRect(),r=i.touches,a=T(r[0].clientX-o.left,5),t=T(r[0].clientY-o.top,5),s=T(r[1].clientX-o.left,5),l=T(r[1].clientY-o.top,5);return{x:(a+s)/2/n,y:(t+l)/2/n}},ne=function(i){return Math.sqrt(Math.pow(i.touches[0].pageX-i.touches[1].pageX,2)+Math.pow(i.touches[0].pageY-i.touches[1].pageY,2))},Po=function(i,n){var e=i.pinchStartScale,o=i.pinchStartDistance,r=i.setup,a=r.maxScale,t=r.minScale,s=r.zoomAnimation,l=r.disablePadding,d=s.size,u=s.disabled;if(!e||o===null||!n)throw new Error("Pinch touches distance was not provided");if(n<0)return i.transformState.scale;var f=n/o,m=f*e;return j(T(m,2),t,a,d,!u&&!l)},To=160,Yo=100,Xo=function(i,n){var e=i.props,o=e.onWheelStart,r=e.onZoomStart;i.wheelStopEventTimer||(X(i),g(c(i),n,o),g(c(i),n,r))},No=function(i,n){var e=i.props,o=e.onWheel,r=e.onZoom,a=i.contentComponent,t=i.setup,s=i.transformState,l=s.scale,d=t.limitToBounds,u=t.centerZoomedOut,f=t.zoomAnimation,m=t.wheel,v=t.disablePadding,p=t.smooth,h=f.size,b=f.disabled,y=m.step,P=m.smoothStep;if(!a)throw new Error("Component not mounted");n.preventDefault(),n.stopPropagation();var w=go(n,null),E=p?P*Math.abs(n.deltaY):y,Y=bo(i,w,E,!n.ctrlKey);if(l!==Y){var k=Z(i,Y),_=oe(n,a,l),L=b||h===0||u||v,D=d&&L,O=$(i,_.x,_.y,Y,k,D),B=O.x,H=O.y;i.previousWheelEvent=n,i.setTransformState(Y,B,H),g(c(i),n,o),g(c(i),n,r)}},zo=function(i,n){var e=i.props,o=e.onWheelStop,r=e.onZoomStop;si(i.wheelAnimationTimer),i.wheelAnimationTimer=setTimeout(function(){i.mounted&&(Gi(i,n.x,n.y),i.wheelAnimationTimer=null)},Yo);var a=So(i,n);a&&(si(i.wheelStopEventTimer),i.wheelStopEventTimer=setTimeout(function(){i.mounted&&(i.wheelStopEventTimer=null,g(c(i),n,o),g(c(i),n,r))},To))},Ao=function(i,n){var e=ne(n);i.pinchStartDistance=e,i.lastDistance=e,i.pinchStartScale=i.transformState.scale,i.isPanning=!1,X(i)},Eo=function(i,n){var e=i.contentComponent,o=i.pinchStartDistance,r=i.transformState.scale,a=i.setup,t=a.limitToBounds,s=a.centerZoomedOut,l=a.zoomAnimation,d=l.disabled,u=l.size;if(!(o===null||!e)){var f=Co(n,r,e);if(!(!Number.isFinite(f.x)||!Number.isFinite(f.y))){var m=ne(n),v=Po(i,m);if(v!==r){var p=Z(i,v),h=d||u===0||s,b=t&&h,y=$(i,f.x,f.y,v,p,b),P=y.x,w=y.y;i.pinchMidpoint=f,i.lastDistance=m,i.setTransformState(v,P,w)}}}},_o=function(i){var n=i.pinchMidpoint;i.velocity=null,i.lastDistance=null,i.pinchMidpoint=null,i.pinchStartScale=null,i.pinchStartDistance=null,Gi(i,n==null?void 0:n.x,n==null?void 0:n.y)},re=function(i,n){var e=i.props.onZoomStop,o=i.setup.doubleClick.animationTime;si(i.doubleClickStopEventTimer),i.doubleClickStopEventTimer=setTimeout(function(){i.doubleClickStopEventTimer=null,g(c(i),n,e)},o)},Wo=function(i,n){var e=i.props,o=e.onZoomStart,r=e.onZoom,a=i.setup.doubleClick,t=a.animationTime,s=a.animationType;g(c(i),n,o),ie(i,t,s,function(){return g(c(i),n,r)}),re(i,n)};function Do(i,n){var e=i.setup,o=i.doubleClickStopEventTimer,r=i.transformState,a=i.contentComponent,t=r.scale,s=i.props,l=s.onZoomStart,d=s.onZoom,u=e.doubleClick,f=u.disabled,m=u.mode,v=u.step,p=u.animationTime,h=u.animationType;if(!f&&!o){if(m==="reset")return Wo(i,n);if(!a)return console.error("No ContentComponent found");var b=m==="zoomOut"?-1:1,y=$i(i,b,v);if(t!==y){g(c(i),n,l);var P=oe(n,a,t),w=ui(i,y,P.x,P.y);if(!w)return console.error("Error during zoom event. New transformation state was not calculated.");g(c(i),n,d),A(i,w,p,h),re(i,n)}}}var Oo=function(i,n){var e=i.isInitialized,o=i.setup,r=i.wrapperComponent,a=o.doubleClick,t=a.disabled,s=a.excluded,l=n.target,d=r==null?void 0:r.contains(l),u=e&&l&&d&&!t;if(!u)return!1;var f=I(l,s);return!f},Zo=function(){function i(n){var e=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.onInitCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){e.initializeWindowEvents()},this.unmount=function(){e.cleanupWindowEvents()},this.update=function(o){Z(e,e.transformState.scale),e.setup=Pi(o)},this.initializeWindowEvents=function(){var o,r=ri(),a=(o=e.wrapperComponent)===null||o===void 0?void 0:o.ownerDocument,t=a==null?void 0:a.defaultView;t==null||t.addEventListener("mousedown",e.onPanningStart,r),t==null||t.addEventListener("mousemove",e.onPanning,r),t==null||t.addEventListener("mouseup",e.onPanningStop,r),a==null||a.addEventListener("mouseleave",e.clearPanning,r),t==null||t.addEventListener("keyup",e.setKeyUnPressed,r),t==null||t.addEventListener("keydown",e.setKeyPressed,r)},this.cleanupWindowEvents=function(){var o,r,a=ri(),t=(o=e.wrapperComponent)===null||o===void 0?void 0:o.ownerDocument,s=t==null?void 0:t.defaultView;s==null||s.removeEventListener("mousedown",e.onPanningStart,a),s==null||s.removeEventListener("mousemove",e.onPanning,a),s==null||s.removeEventListener("mouseup",e.onPanningStop,a),t==null||t.removeEventListener("mouseleave",e.clearPanning,a),s==null||s.removeEventListener("keyup",e.setKeyUnPressed,a),s==null||s.removeEventListener("keydown",e.setKeyPressed,a),document.removeEventListener("mouseleave",e.clearPanning,a),X(e),(r=e.observer)===null||r===void 0||r.disconnect()},this.handleInitializeWrapperEvents=function(o){var r=ri();o.addEventListener("wheel",e.onWheelZoom,r),o.addEventListener("dblclick",e.onDoubleClick,r),o.addEventListener("touchstart",e.onTouchPanningStart,r),o.addEventListener("touchmove",e.onTouchPanning,r),o.addEventListener("touchend",e.onTouchPanningStop,r)},this.handleInitialize=function(o){var r=e.setup.centerOnInit;e.applyTransformation(),e.onInitCallbacks.forEach(function(a){return a(c(e))}),r&&(e.setCenter(),e.observer=new ResizeObserver(function(){var a;e.onInitCallbacks.forEach(function(t){return t(c(e))}),e.setCenter(),(a=e.observer)===null||a===void 0||a.disconnect()}),e.observer.observe(o))},this.onWheelZoom=function(o){var r=e.setup.disabled;if(!r){var a=ho(e,o);if(a){var t=e.isPressingKeys(e.setup.wheel.activationKeys);t&&(Xo(e,o),No(e,o),zo(e,o))}}},this.onPanningStart=function(o){var r=e.setup.disabled,a=e.props.onPanningStart;if(!r){var t=gi(e,o);if(t){var s=e.isPressingKeys(e.setup.panning.activationKeys);s&&(o.preventDefault(),o.stopPropagation(),X(e),wi(e,o),g(c(e),o,a))}}},this.onPanning=function(o){var r=e.setup.disabled,a=e.props.onPanning;if(!r){var t=bi(e);if(t){var s=e.isPressingKeys(e.setup.panning.activationKeys);s&&(o.preventDefault(),o.stopPropagation(),yi(e,o.clientX,o.clientY),g(c(e),o,a))}}},this.onPanningStop=function(o){var r=e.props.onPanningStop;e.isPanning&&(oo(e),g(c(e),o,r))},this.onPinchStart=function(o){var r=e.setup.disabled,a=e.props,t=a.onPinchingStart,s=a.onZoomStart;if(!r){var l=wo(e,o);l&&(Ao(e,o),X(e),g(c(e),o,t),g(c(e),o,s))}},this.onPinch=function(o){var r=e.setup.disabled,a=e.props,t=a.onPinching,s=a.onZoom;if(!r){var l=yo(e);l&&(o.preventDefault(),o.stopPropagation(),Eo(e,o),g(c(e),o,t),g(c(e),o,s))}},this.onPinchStop=function(o){var r=e.props,a=r.onPinchingStop,t=r.onZoomStop;e.pinchStartScale&&(_o(e),g(c(e),o,a),g(c(e),o,t))},this.onTouchPanningStart=function(o){var r=e.setup.disabled,a=e.props.onPanningStart;if(!r){var t=gi(e,o);if(t){var s=e.lastTouch&&+new Date-e.lastTouch<200;if(s&&o.touches.length===1)e.onDoubleClick(o);else{e.lastTouch=+new Date,X(e);var l=o.touches,d=l.length===1,u=l.length===2;d&&(X(e),wi(e,o),g(c(e),o,a)),u&&e.onPinchStart(o)}}}},this.onTouchPanning=function(o){var r=e.setup.disabled,a=e.props.onPanning;if(e.isPanning&&o.touches.length===1){if(r)return;var t=bi(e);if(!t)return;o.preventDefault(),o.stopPropagation();var s=o.touches[0];yi(e,s.clientX,s.clientY),g(c(e),o,a)}else o.touches.length>1&&e.onPinch(o)},this.onTouchPanningStop=function(o){e.onPanningStop(o),e.onPinchStop(o)},this.onDoubleClick=function(o){var r=e.setup.disabled;if(!r){var a=Oo(e,o);a&&Do(e,o)}},this.clearPanning=function(o){e.isPanning&&e.onPanningStop(o)},this.setKeyPressed=function(o){e.pressedKeys[o.key]=!0},this.setKeyUnPressed=function(o){e.pressedKeys[o.key]=!1},this.isPressingKeys=function(o){return o.length?!!o.find(function(r){return e.pressedKeys[r]}):!0},this.setTransformState=function(o,r,a){var t=e.props.onTransformed;if(!Number.isNaN(o)&&!Number.isNaN(r)&&!Number.isNaN(a)){o!==e.transformState.scale&&(e.transformState.previousScale=e.transformState.scale,e.transformState.scale=o),e.transformState.positionX=r,e.transformState.positionY=a,e.applyTransformation();var s=c(e);e.onChangeCallbacks.forEach(function(l){return l(s)}),g(s,{scale:o,positionX:r,positionY:a},t)}else console.error("Detected NaN set state values")},this.setCenter=function(){if(e.wrapperComponent&&e.contentComponent){var o=ee(e.transformState.scale,e.wrapperComponent,e.contentComponent);e.setTransformState(o.scale,o.positionX,o.positionY)}},this.handleTransformStyles=function(o,r,a){return e.props.customTransform?e.props.customTransform(o,r,a):vo(o,r,a)},this.applyTransformation=function(){if(!(!e.mounted||!e.contentComponent)){var o=e.transformState,r=o.scale,a=o.positionX,t=o.positionY,s=e.handleTransformStyles(a,t,r);e.contentComponent.style.transform=s}},this.getContext=function(){return c(e)},this.onChange=function(o){return e.onChangeCallbacks.has(o)||e.onChangeCallbacks.add(o),function(){e.onChangeCallbacks.delete(o)}},this.onInit=function(o){return e.onInitCallbacks.has(o)||e.onInitCallbacks.add(o),function(){e.onInitCallbacks.delete(o)}},this.init=function(o,r){e.cleanupWindowEvents(),e.wrapperComponent=o,e.contentComponent=r,Z(e,e.transformState.scale),e.handleInitializeWrapperEvents(o),e.handleInitialize(r),e.initializeWindowEvents(),e.isInitialized=!0;var a=c(e);g(a,void 0,e.props.onInit)},this.props=n,this.setup=Pi(this.props),this.transformState=Ji(this.props)}return i}(),di=W.createContext(null),ko=function(i,n){return typeof i=="function"?i(n):i},Lo=W.forwardRef(function(i,n){var e=C.useRef(new Zo(i)).current,o=ko(i.children,ti(e));return C.useImperativeHandle(n,function(){return ti(e)},[e]),C.useEffect(function(){e.update(i)},[e,i]),W.createElement(di.Provider,{value:e},o)});W.forwardRef(function(i,n){var e=C.useRef(null),o=C.useContext(di);return C.useEffect(function(){return o.onChange(function(r){if(e.current){var a=0,t=0;e.current.style.transform=o.handleTransformStyles(a,t,1/r.instance.transformState.scale)}})},[o]),W.createElement("div",N({},i,{ref:po([e,n])}))});function Bo(i,n){n===void 0&&(n={});var e=n.insertAt;if(!(!i||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",e==="top"&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i))}}var Mo=`.transform-component-module_wrapper__SPB86 { + position: relative; + width: -moz-fit-content; + width: fit-content; + height: -moz-fit-content; + height: fit-content; + overflow: hidden; + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; + margin: 0; + padding: 0; +} +.transform-component-module_content__FBWxo { + display: flex; + flex-wrap: wrap; + width: -moz-fit-content; + width: fit-content; + height: -moz-fit-content; + height: fit-content; + margin: 0; + padding: 0; + transform-origin: 0% 0%; +} +.transform-component-module_content__FBWxo img { + pointer-events: none; +} +`,Ti={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo"};Bo(Mo);var jo=function(i){var n=i.children,e=i.wrapperClass,o=e===void 0?"":e,r=i.contentClass,a=r===void 0?"":r,t=i.wrapperStyle,s=i.contentStyle,l=i.wrapperProps,d=l===void 0?{}:l,u=i.contentProps,f=u===void 0?{}:u,m=C.useContext(di).init,v=C.useRef(null),p=C.useRef(null);return C.useEffect(function(){var h=v.current,b=p.current;h!==null&&b!==null&&m&&m(h,b)},[]),W.createElement("div",N({},d,{ref:v,className:"react-transform-wrapper ".concat(Ti.wrapper," ").concat(o),style:t}),W.createElement("div",N({},f,{ref:p,className:"react-transform-component ".concat(Ti.content," ").concat(a),style:s}),n))};const Qo={title:"Demos/Controls",component:z,subcomponents:{Node:ge,Edge:be,MarkerArrow:Se,Arrow:we,Icon:ye,Label:Ce,Port:Pe,Remove:Te,Add:Ye}},K=()=>S.jsx("div",{style:{border:"solid 1px #12131e",height:450,width:450,position:"relative"},children:S.jsx(z,{pannable:!1,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"}],onLayoutChange:i=>console.log("Layout",i)})}),V=()=>S.jsx("div",{style:{border:"solid 1px #12131e",height:200,width:200,position:"relative"},children:S.jsx(z,{height:150,width:150,disabled:!0,fit:!0,pannable:!1,arrow:null,nodes:[{id:"1",text:"1"},{id:"2",text:"2"},{id:"3",text:"3"},{id:"4",text:"4"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"},{id:"1-4",from:"1",to:"4"}],onLayoutChange:i=>console.log("Layout",i)})}),F=()=>S.jsx("div",{style:{border:"solid 1px #12131e",height:450,width:450,position:"relative"},children:S.jsx(z,{pannable:!1,defaultPosition:null,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"}],onLayoutChange:i=>console.log("Layout",i)})}),Q=()=>S.jsx("div",{style:{border:"solid 1px #12131e",height:450,width:450,position:"relative"},children:S.jsx(z,{pannable:!1,defaultPosition:Xe.TOP,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"}],onLayoutChange:i=>console.log("Layout",i)})}),q=()=>S.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:S.jsx(z,{fit:!0,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"}],onLayoutChange:i=>console.log("Layout",i)})}),U=()=>{const[i,n]=C.useState(.7),e=C.useRef(null);return S.jsxs("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:[S.jsxs("pre",{style:{zIndex:9,position:"absolute",bottom:15,right:15,background:"rgba(0, 0, 0, .5)",padding:20,color:"white"},children:["Zoom: ",i,S.jsx("br",{}),S.jsx("button",{style:{display:"block",width:"100%",margin:"5px 0"},onClick:()=>e.current.zoomIn(),children:"Zoom In"}),S.jsx("button",{style:{display:"block",width:"100%",margin:"5px 0"},onClick:()=>e.current.zoomOut(),children:"Zoom Out"}),S.jsx("button",{style:{display:"block",width:"100%"},onClick:()=>e.current.fitCanvas(),children:"Fit"})]}),S.jsx(z,{maxZoom:.2,minZoom:-.9,zoom:i,ref:e,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"}],onZoomChange:o=>{console.log("zooming",o),n(o)},onLayoutChange:o=>console.log("Layout",o)})]})},x=()=>{const i=C.useRef(null);return S.jsx(Lo,{wheel:{step:40},options:{maxScale:4,limitToBounds:!1},children:S.jsx(jo,{children:S.jsx(z,{ref:i,zoomable:!1,maxWidth:800,maxHeight:800,fit:!0,nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}],edges:[{id:"1-2",from:"1",to:"2"},{id:"1-3",from:"1",to:"3"}]})})})};var Yi,Xi,Ni;K.parameters={...K.parameters,docs:{...(Yi=K.parameters)==null?void 0:Yi.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(Ni=(Xi=K.parameters)==null?void 0:Xi.docs)==null?void 0:Ni.source}}};var zi,Ai,Ei;V.parameters={...V.parameters,docs:{...(zi=V.parameters)==null?void 0:zi.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(Ei=(Ai=V.parameters)==null?void 0:Ai.docs)==null?void 0:Ei.source}}};var _i,Wi,Di;F.parameters={...F.parameters,docs:{...(_i=F.parameters)==null?void 0:_i.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(Di=(Wi=F.parameters)==null?void 0:Wi.docs)==null?void 0:Di.source}}};var Oi,Zi,ki;Q.parameters={...Q.parameters,docs:{...(Oi=Q.parameters)==null?void 0:Oi.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(ki=(Zi=Q.parameters)==null?void 0:Zi.docs)==null?void 0:ki.source}}};var Li,Bi,Mi;q.parameters={...q.parameters,docs:{...(Li=q.parameters)==null?void 0:Li.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(Mi=(Bi=q.parameters)==null?void 0:Bi.docs)==null?void 0:Mi.source}}};var ji,Hi,Ri;U.parameters={...U.parameters,docs:{...(ji=U.parameters)==null?void 0:ji.docs,source:{originalSource:`() => { + const [zoom, setZoom] = useState(0.7); + const ref = useRef(null); + return
+
+        Zoom: {zoom}
+ + + +
+ { + console.log('zooming', z); + setZoom(z); + }} onLayoutChange={layout => console.log('Layout', layout)} /> +
; +}`,...(Ri=(Hi=U.parameters)==null?void 0:Hi.docs)==null?void 0:Ri.source}}};var Ki,Vi,Fi;x.parameters={...x.parameters,docs:{...(Ki=x.parameters)==null?void 0:Ki.docs,source:{originalSource:`() => { + const ref = useRef(null); + return + + + + ; +}`,...(Fi=(Vi=x.parameters)==null?void 0:Vi.docs)==null?void 0:Fi.source}}};const qo=["FixedPosition","Small","NonCentered","TopPosition","Fit","Zoom","ZoomExternal"];export{q as Fit,K as FixedPosition,F as NonCentered,V as Small,Q as TopPosition,U as Zoom,x as ZoomExternal,qo as __namedExportsOrder,Qo as default}; diff --git a/assets/Crud-c3790d64.js b/assets/Crud-c3790d64.js new file mode 100644 index 0000000..36dcaec --- /dev/null +++ b/assets/Crud-c3790d64.js @@ -0,0 +1,17 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as s}from"./index-2ef8b458.js";import{M as i}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function o(n){const t=Object.assign({h1:"h1",p:"p",ul:"ul",li:"li",h4:"h4",blockquote:"blockquote",a:"a"},s(),n.components);return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Docs/Utils/Getting Started"}),` +`,e.jsx(t.h1,{id:"getting-started-with-utils",children:"Getting Started with Utils"}),` +`,e.jsx(t.p,{children:`There a variety of common interactions you want to make +with the canvas and graph. reaflow has some helpers out of +the box to help manage those typical operations. Those +helpers are broken up into two categories:`}),` +`,e.jsxs(t.ul,{children:[` +`,e.jsx(t.li,{children:"CRUD - Dealing with manipulating nodes/edges"}),` +`,e.jsx(t.li,{children:"Graph - Dealing with traversing the graph"}),` +`,e.jsx(t.li,{children:"Extended Utils - More use-case focused helpers"}),` +`]}),` +`,e.jsx(t.h4,{id:"notes",children:"Notes"}),` +`,e.jsxs(t.blockquote,{children:[` +`,e.jsx(t.p,{children:"These helpers are very generic and meant to help people getting started, but they're not meant to cover specific use-cases."}),` +`,e.jsxs(t.p,{children:["You should copy them and adapt them to your own needs if they don't cover your needs. ",e.jsx(t.a,{href:"https://github.com/reaviz/reaflow/issues/47#issuecomment-775919579",target:"_blank",rel:"nofollow noopener noreferrer",children:"See discussion"}),"."]}),` +`,e.jsxs(t.p,{children:["There are advanced examples in ",e.jsx(t.a,{href:"/?path=/story/docs-utils-extending--page",children:"Extending Utils"})," page."]}),` +`]})]})}function f(n={}){const{wrapper:t}=Object.assign({},s(),n.components);return t?e.jsx(t,Object.assign({},n,{children:e.jsx(o,n)})):o(n)}export{f as default}; diff --git a/assets/CustomNodes-79585b80.js b/assets/CustomNodes-79585b80.js new file mode 100644 index 0000000..bc81e42 --- /dev/null +++ b/assets/CustomNodes-79585b80.js @@ -0,0 +1,74 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as s}from"./index-2ef8b458.js";import{M as r}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function t(o){const n=Object.assign({h1:"h1",p:"p",code:"code",a:"a",blockquote:"blockquote",h2:"h2",pre:"pre",h3:"h3",ul:"ul",li:"li",strong:"strong"},s(),o.components);return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Docs/Advanced/Custom nodes"}),` +`,e.jsx(n.h1,{id:"custom-nodes",children:"Custom nodes"}),` +`,e.jsxs(n.p,{children:["Using HTML within a ",e.jsx(n.code,{children:"Node"})," component relies on the SVG ",e.jsx(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject",target:"_blank",rel:"nofollow noopener noreferrer",children:e.jsx(n.code,{children:"foreignObject"})}),"."]}),` +`,e.jsxs(n.blockquote,{children:[` +`,e.jsxs(n.p,{children:["You do not need to use ",e.jsx(n.code,{children:"xmlns"})," (XML NameSpace) in the first ",e.jsx(n.code,{children:"div"})," within ",e.jsx(n.code,{children:"foreignObject"}),", it's only required when the SVG is a whole document."]}),` +`]}),` +`,e.jsx(n.h2,{id:"rendering-different-kindstypes-of-nodes",children:"Rendering different kinds/types of nodes"}),` +`,e.jsxs(n.p,{children:['Most apps will need to render different kinds of nodes. The way to go is to use a Node "',e.jsx(n.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow/blob/734018e8135523fccc2c01077294bca0a32ddfbe/src/components/nodes/NodeRouter.tsx#L43",target:"_blank",rel:"nofollow noopener noreferrer",children:"Router"}),`" component, which checks what the node's type is, and renders the related React component.`]}),` +`,e.jsxs(n.h2,{id:"how-does-foreignobject-render-in-html",children:["How does ",e.jsx(n.code,{children:"foreignObject"})," render in HTML?"]}),` +`,e.jsxs(n.p,{children:["While using ",e.jsx(n.code,{children:"foreignObject"})," allows building components using usual HTML/CSS, there are a few quirks to consider."]}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-html",children:` + + + + + + + +
+ Node content +
+
+ + + + + + + + + + + +
+`})}),` +`,e.jsx(n.h2,{id:"known-issues-and-workarounds",children:"Known issues and workarounds"}),` +`,e.jsxs(n.h3,{id:"use-position-fixed-in-the-first-div",children:["Use ",e.jsx(n.code,{children:"position: fixed"})," in the first div"]}),` +`,e.jsxs(n.p,{children:["You must apply ",e.jsx(n.code,{children:"position: fixed"})," to the first ",e.jsx(n.code,{children:"div"})," element contained by the ",e.jsx(n.code,{children:"foreignObject"}),", otherwise any child element using ",e.jsx(n.code,{children:"position"})," ",e.jsx(n.a,{href:"https://github.com/reaviz/reaflow/issues/44#issuecomment-776883460",target:"_blank",rel:"nofollow noopener noreferrer",children:"will not be displayed"}),"."]}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsxs(n.li,{children:["This issue was the reason why ",e.jsx(n.code,{children:"react-select"})," and ",e.jsx(n.code,{children:"ChakraUI Select"})," components wouldn't display properly."]}),` +`]}),` +`,e.jsx(n.h3,{id:"z-index-doesnt-have-any-effect-on-svg-elements",children:"Z-index doesn't have any effect on SVG elements"}),` +`,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"foreignObject"})," is still a SVG element, and it is displayed on top of the ",e.jsx(n.code,{children:"rect"})," (which represents the Node component created by reaflow)."]}),` +`,e.jsxs(n.p,{children:["It is not possible to re-order SVG elements using ",e.jsx(n.code,{children:"z-index"}),`. +The rule of display on the Z index being "the last element is displayed on top of the other element".`]}),` +`,e.jsxs(n.h3,{id:"the-foreignobject-will-steal-events-onclick-onenter-onleave-etc-that-are-bound-to-the-rect-node",children:["The ",e.jsx(n.code,{children:"foreignObject"})," will steal events (onClick, onEnter, onLeave, etc.) that are bound to the ",e.jsx(n.code,{children:"rect"})," (Node)"]}),` +`,e.jsxs(n.p,{children:["Because the ",e.jsx(n.code,{children:"foreignObject"})," displays on top of the ",e.jsx(n.code,{children:"rect"}),' element, it will "steal" events such as onClick, onEnter/onLeave (mouse).']}),` +`,e.jsxs(n.p,{children:["Those events are provided by default by Reaflow ",e.jsx(n.code,{children:"Canvas"})," to its ",e.jsx(n.code,{children:"Node"}),` components. +Thus, by using `,e.jsx(n.code,{children:"foreignObject"}),", ",e.jsx(n.strong,{children:"none of the built-in Node events will work anymore"}),", ",e.jsxs(n.a,{href:"https://github.com/reaviz/reaflow/discussions/34",target:"_blank",rel:"nofollow noopener noreferrer",children:["unless you set ",e.jsx(n.code,{children:"pointer-events: none"})," to the ",e.jsx(n.code,{children:"foreignObject"})," element"]}),"."]}),` +`,e.jsxs(n.p,{children:["Although, even if you disable ",e.jsx(n.code,{children:"pointer-events"}),", depending on your Node component UI, it might only work for part of the component."]}),` +`,e.jsx(n.p,{children:"Many built-in behaviors will be affected because of this, such as:"}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsxs(n.li,{children:["Dragging an edge from a node",` +`,e.jsxs(n.ul,{children:[` +`,e.jsxs(n.li,{children:["Dragging won't work if the click doesn't happen on the ",e.jsx(n.code,{children:"rect"})]}),` +`]}),` +`]}),` +`,e.jsxs(n.li,{children:["Selecting nodes",` +`,e.jsxs(n.ul,{children:[` +`,e.jsxs(n.li,{children:["The click won't work it doesn't happen on the ",e.jsx(n.code,{children:"rect"})]}),` +`,e.jsxs(n.li,{children:["Using shortcuts for multiple selection ",e.jsx(n.a,{href:"https://github.com/reaviz/reaflow/issues/50",target:"_blank",rel:"nofollow noopener noreferrer",children:"won't work because keyboard events won't be captured"})]}),` +`]}),` +`]}),` +`]}),` +`,e.jsxs(n.p,{children:["That's why, in addition to disabling ",e.jsx(n.code,{children:"pointer-events"}),", ",e.jsxs(n.strong,{children:["you might also want ",e.jsx(n.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow/blob/272a23604e0a11ef0726e19091be58ffd5861d62/src/components/nodes/BaseNode.tsx#L357-L360",target:"_blank",rel:"nofollow noopener noreferrer",children:"to forward the native events"})]})," (onClick, onEnter, onLeave, onKeyPress, etc.) to the main div (",e.jsx(n.code,{children:".node"})," above)."]}),` +`,e.jsxs(n.p,{children:["By forwarding those events to the first ",e.jsx(n.code,{children:"div"}),", you'll work around most of the above-mentioned issues."]}),` +`,e.jsx(n.h3,{id:"enteringleaving-a-node",children:"Entering/leaving a node"}),` +`,e.jsx(n.p,{children:"Depending on how complicated your HTML is within the nodes themselves, it might be tough to detect whether you're in a node or not."}),` +`,e.jsxs(n.p,{children:["When not using ",e.jsx(n.code,{children:"foreignObject"}),", it is really straightforward, but when the ",e.jsx(n.code,{children:"foreignObject"})," contains complex HTML structure, the ",e.jsx(n.code,{children:"onEnter/onLeave"})," events applied to main ",e.jsx(n.code,{children:"div"})," will trigger when hovering other elements within that node, leading to a tons of false-positive events."]}),` +`,e.jsx(n.p,{children:"At this time, there was no viable solution being reported to work around this issue."}),` +`,e.jsx(n.h2,{id:"community-examples",children:"Community examples"}),` +`,e.jsxs(n.ul,{children:[` +`,e.jsxs(n.li,{children:[e.jsx(n.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow",target:"_blank",rel:"nofollow noopener noreferrer",children:"Vadorequest/poc-nextjs-reaflow"})," uses custom nodes UI, and ",e.jsxs(n.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow/blob/287141b94145eec18fb02aab8f00676ae92f1310/src/components/nodes/BaseNode.tsx#L279-L418",target:"_blank",rel:"nofollow noopener noreferrer",children:["all nodes relies on ",e.jsx(n.code,{children:"foreignObject"})]})]}),` +`]})]})}function m(o={}){const{wrapper:n}=Object.assign({},s(),o.components);return n?e.jsx(n,Object.assign({},o,{children:e.jsx(t,o)})):t(o)}export{m as default}; diff --git a/assets/DataShapes-4073a4a3.js b/assets/DataShapes-4073a4a3.js new file mode 100644 index 0000000..86becfb --- /dev/null +++ b/assets/DataShapes-4073a4a3.js @@ -0,0 +1,203 @@ +import{j as n}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as a}from"./index-2ef8b458.js";import{M as i}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function o(t){const e=Object.assign({h1:"h1",p:"p",ul:"ul",li:"li",code:"code",h2:"h2",pre:"pre"},a(),t.components);return n.jsxs(n.Fragment,{children:[n.jsx(i,{title:"Docs/Getting Started/Data Shapes"}),` +`,n.jsx(e.h1,{id:"data-shapes",children:"Data Shapes"}),` +`,n.jsx(e.p,{children:`The graph is made up of 3 basic data shape objects you +can pass to the graph.`}),` +`,n.jsxs(e.ul,{children:[` +`,n.jsxs(e.li,{children:[n.jsx(e.code,{children:"NodeData"})," - The element block which renders"]}),` +`,n.jsxs(e.li,{children:[n.jsx(e.code,{children:"EdgeData"})," - The link between Nodes"]}),` +`,n.jsxs(e.li,{children:[n.jsx(e.code,{children:"PortData"})," - A specific enter/exit block to link between Nodes"]}),` +`]}),` +`,n.jsx(e.h2,{id:"node",children:"Node"}),` +`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-ts",children:`export interface NodeData { + /** + * Unique ID for the node. + */ + id: string; + + /** + * Whether the node is disabled or not. + */ + disabled?: boolean; + + /** + * Text label for the node. + */ + text?: any; + + /** + * Optional height attribute. If not passed with calculate + * default sizes using text. + */ + height?: number; + + /** + * Optional width attribute. If not passed with calculate + * default sizes using text. + */ + width?: number; + + /** + * Parent node id for nesting. + */ + parent?: string; + + /** + * List of ports. + */ + ports?: PortData[]; + + /** + * Icon for the node. + */ + icon?: IconData; + + /** + * Padding for the node. + */ + nodePadding?: number | [number, number] | [number, number, number, number]; + + /** + * Data for the node. + */ + data?: T; + + /** + * CSS classname for the node. + */ + className?: string; + + /** + * ELK layout options. + */ + layoutOptions?: ElkNodeLayoutOptions; + + /** + * Whether the node can be clicked. + */ + selectionDisabled?: boolean; +} +`})}),` +`,n.jsxs(e.p,{children:["The node also has a ",n.jsx(e.code,{children:"IconData"})," shape:"]}),` +`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-ts",children:`export interface IconData { + /** + * URL for the icon. + */ + url: string; + + /** + * Height of the icon. + */ + height: number; + + /** + * Width of the icon. + */ + width: number; +} +`})}),` +`,n.jsx(e.h2,{id:"edge",children:"Edge"}),` +`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-ts",children:`export interface EdgeData { + /** + * Unique ID of the edge. + */ + id: string; + + /** + * Whether the edge is disabled or not. + */ + disabled?: boolean; + + /** + * Text label for the edge. + */ + text?: any; + + /** + * ID of the from node. + */ + from?: string; + + /** + * ID of the to node. + */ + to?: string; + + /** + * Optional ID of the from port. + */ + fromPort?: string; + + /** + * Optional ID of the to port. + */ + toPort?: string; + + /** + * Data about the edge. + */ + data?: T; + + /** + * CSS Classname for the edge. + */ + className?: string; + + /** + * Optional arrow head type. + */ + arrowHeadType?: any; + + /** + * Parent of the edge for nesting. + */ + parent?: string; + + /** + * Whether the edge can be clicked. + */ + selectionDisabled?: boolean; +} +`})}),` +`,n.jsx(e.h2,{id:"port",children:"Port"}),` +`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-ts",children:`export interface PortData { + /** + * Unique ID of the port. + */ + id: string; + + /** + * Height of the port. + */ + height: number; + + /** + * Width of the port. + */ + width: number; + + /** + * Whether the port is visually hidden or not. + */ + hidden?: boolean; + + /** + * Classname for the port. + */ + className?: string; + + /** + * Alignment of the port. + */ + alignment?: 'CENTER'; + + /** + * Side the port is located. + */ + side: 'NORTH' | 'SOUTH' | 'EAST' | 'WEST'; + + /** + * Port is disabled. + */ + disabled?: boolean; +} +`})})]})}function x(t={}){const{wrapper:e}=Object.assign({},a(),t.components);return e?n.jsx(e,Object.assign({},t,{children:n.jsx(o,t)})):o(t)}export{x as default}; diff --git a/assets/DocsRenderer-NNNQARDV-0a6666d3.js b/assets/DocsRenderer-NNNQARDV-0a6666d3.js new file mode 100644 index 0000000..eb9ea61 --- /dev/null +++ b/assets/DocsRenderer-NNNQARDV-0a6666d3.js @@ -0,0 +1 @@ +import{D,d as c}from"./chunk-HLWAVYOI-fce3c28f.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./index-1b03fe98.js";import"./react-18-5df836b6.js";import"./index-6fd5a17b.js";import"./index-8e905c69.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";export{D as DocsRenderer,c as defaultComponents}; diff --git a/assets/Drag.stories-ed4b7e5f.js b/assets/Drag.stories-ed4b7e5f.js new file mode 100644 index 0000000..827f1f8 --- /dev/null +++ b/assets/Drag.stories-ed4b7e5f.js @@ -0,0 +1,349 @@ +import{j as n}from"./jsx-runtime-9c4ae004.js";import{r as f}from"./index-1b03fe98.js";import{C as i,N as p,E as X,M as Y,a as Z,I as ee,L as te,P as ne,R as oe,A as re}from"./Icon-046b6023.js";import"./IntersectionQuery-1c2e7c35.js";import{c as D,r as j}from"./crudHelpers-031fd461.js";import{h as b}from"./graphHelpers-fa49f917.js";import"./index-6fd5a17b.js";import"./_commonjs-dynamic-modules-302442b1.js";const fe={title:"Demos/Drag",component:i,subcomponents:{Node:p,Edge:X,MarkerArrow:Y,Arrow:Z,Icon:ee,Label:te,Port:ne,Remove:oe,Add:re}},c=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:[{id:"1",text:"1"},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],node:n.jsx(p,{dragCursor:"grab",dragType:"node"})})}),u=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:[{id:"1",text:"1",ports:a("1")},{id:"2",text:"2",ports:a("2")}],edges:[l("1","2")],node:n.jsx(p,{dragType:"port"})})}),x=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:[{id:"1",text:"1",ports:a("1")},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],node:n.jsx(p,{dragType:"multiportOnly"})})}),N=()=>n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:[{id:"1",text:"1",ports:a("1")},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],node:n.jsx(p,{dragType:"all"})})}),k=()=>{const[o,g]=f.useState([{id:"1",text:"1"},{id:"2",text:"2"},{id:"3",text:"3"},{id:"4",text:"4"},{id:"5",text:"5"},{id:"6",text:"6"}]),[r,m]=f.useState([{id:"1-2",from:"1",to:"2"},{id:"2-3",from:"2",to:"3"},{id:"2-4",from:"2",to:"4"},{id:"2-5",from:"2",to:"5"},{id:"5-6",from:"5",to:"6"}]);return n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:o,edges:r,node:n.jsx(p,{dragType:"node"}),onNodeLinkCheck:(s,e,t)=>!(e.id===t.id||b(r,e,t)),onNodeLink:(s,e,t)=>{const d=r.filter(E=>E.to!==e.id);m([...d,D(t,e)])}})})},h=()=>{const[o,g]=f.useState([{id:"1",text:"1"},{id:"2",text:"2"},{id:"3",text:"3"},{id:"4",text:"4"},{id:"5",text:"5"},{id:"6",text:"6"}]),[r,m]=f.useState([{id:"1-2",from:"1",to:"2"},{id:"2-3",from:"2",to:"3"},{id:"2-4",from:"2",to:"4"},{id:"2-5",from:"2",to:"5"},{id:"5-6",from:"5",to:"6"}]);return n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:o,edges:r,node:n.jsx(p,{dragType:"node"}),onNodeLinkCheck:(s,e,t)=>!(e.id===t.id||b(r,e,t)),onNodeLink:(s,e,t)=>{const d=j(o,r,e);m([...d.edges,D(t,e)])}})})},v=()=>{const[o,g]=f.useState([{id:"1",text:"1",ports:a("1")},{id:"2",text:"2",ports:a("2")},{id:"3",text:"3",ports:a("3")},{id:"4",text:"4",ports:a("4")},{id:"5",text:"5",ports:a("5")},{id:"6",text:"6",ports:a("6")}]),[r,m]=f.useState([l("1","2"),l("2","3"),l("2","4"),l("2","5"),l("5","6")]);return n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:o,edges:r,node:n.jsx(p,{dragType:"all"}),onNodeLinkCheck:(s,e,t)=>!(e.id===t.id||b(r,e,t)),onNodeLink:(s,e,t)=>{if(s.dragType==="node"){const d=j(o,r,e);m([...d.edges,l(t.id,e.id)])}else s.dragType==="port"&&m([...r,l(e.id,t.id)])}})})},y=()=>{const[o,g]=f.useState([{id:"1",text:"1"},{id:"2"},{id:"2-1-1",text:"2 > 1.1",parent:"2"},{id:"2-1-2",text:"2 > 1.2",parent:"2"},{id:"2-1-3",text:"2 > 1.3",parent:"2"},{id:"2-1-4",text:"2 > 1.4",parent:"2"},{id:"2-2-1",parent:"2"},{id:"2-2-1-1",text:"2 > 2.1 > 1.1",parent:"2-2-1"},{id:"3",text:"3"}]),[r,m]=f.useState([{id:"1-2",from:"1",to:"2"},{id:"2-1-1>2-1-2",from:"2-1-1",to:"2-1-2",parent:"2"},{id:"2-1-1>2-1-3",from:"2-1-1",to:"2-1-3",parent:"2"},{id:"2-1-2>2-2-1",from:"2-1-2",to:"2-2-1",parent:"2"},{id:"2-1-3>2-1-4",from:"2-1-3",to:"2-1-4",parent:"2"},{id:"2-3",from:"2",to:"3"}]);return n.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:n.jsx(i,{nodes:o,edges:r,node:s=>{const t=o.filter(d=>d.parent&&d.parent===s.id).length>3;return n.jsx(p,{...s,dragType:"node",draggable:!t})},onNodeLinkCheck:(s,e,t)=>!(e.id===t.id||e.id===t.parent||b(r,t,e)),onNodeLink:(s,e,t)=>{const d=j(o,r,e);if((e.parent||t.parent)&&e.parent!==t.parent){const E=o.map(P=>P.id===e.id?{...P,parent:t.parent}:{...P});e.parent=t.parent,g(E)}m([...d.edges,D(t,e)])}})})},a=o=>[{id:`${o}-from`,width:10,height:10,side:"SOUTH"},{id:`${o}-to`,width:10,height:10,side:"NORTH"}],l=(o,g)=>({id:`${o}-${g}`,from:o,to:g,fromPort:`${o}-from`,toPort:`${g}-to`});var S,F,L;c.parameters={...c.parameters,docs:{...(S=c.parameters)==null?void 0:S.docs,source:{originalSource:`() =>
+ } /> +
`,...(L=(F=c.parameters)==null?void 0:F.docs)==null?void 0:L.source}}};var T,C,_;u.parameters={...u.parameters,docs:{...(T=u.parameters)==null?void 0:T.docs,source:{originalSource:`() =>
+ } /> +
`,...(_=(C=u.parameters)==null?void 0:C.docs)==null?void 0:_.source}}};var O,w,R;x.parameters={...x.parameters,docs:{...(O=x.parameters)==null?void 0:O.docs,source:{originalSource:`() =>
+ } /> +
`,...(R=(w=x.parameters)==null?void 0:w.docs)==null?void 0:R.source}}};var A,W,U;N.parameters={...N.parameters,docs:{...(A=N.parameters)==null?void 0:A.docs,source:{originalSource:`() =>
+ } /> +
`,...(U=(W=N.parameters)==null?void 0:W.docs)==null?void 0:U.source}}};var $,M,H;k.parameters={...k.parameters,docs:{...($=k.parameters)==null?void 0:$.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: '1' + }, { + id: '2', + text: '2' + }, { + id: '3', + text: '3' + }, { + id: '4', + text: '4' + }, { + id: '5', + text: '5' + }, { + id: '6', + text: '6' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }, { + id: '2-3', + from: '2', + to: '3' + }, { + id: '2-4', + from: '2', + to: '4' + }, { + id: '2-5', + from: '2', + to: '5' + }, { + id: '5-6', + from: '5', + to: '6' + }]); + return
+ } onNodeLinkCheck={(_event, from: NodeData, to: NodeData) => { + if (from.id === to.id) { + return false; + } + if (hasLink(edges, from, to)) { + return false; + } + return true; + }} onNodeLink={(_event, from, to) => { + const newEdges = edges.filter(e => e.to !== from.id); + setEdges([...newEdges, createEdgeFromNodes(to, from)]); + }} /> +
; +}`,...(H=(M=k.parameters)==null?void 0:M.docs)==null?void 0:H.source}}};var I,q,z;h.parameters={...h.parameters,docs:{...(I=h.parameters)==null?void 0:I.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: '1' + }, { + id: '2', + text: '2' + }, { + id: '3', + text: '3' + }, { + id: '4', + text: '4' + }, { + id: '5', + text: '5' + }, { + id: '6', + text: '6' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }, { + id: '2-3', + from: '2', + to: '3' + }, { + id: '2-4', + from: '2', + to: '4' + }, { + id: '2-5', + from: '2', + to: '5' + }, { + id: '5-6', + from: '5', + to: '6' + }]); + return
+ } onNodeLinkCheck={(_event, from: NodeData, to: NodeData) => { + if (from.id === to.id) { + return false; + } + if (hasLink(edges, from, to)) { + return false; + } + return true; + }} onNodeLink={(_event, from, to) => { + const result = removeAndUpsertNodes(nodes, edges, from); + setEdges([...result.edges, createEdgeFromNodes(to, from)]); + }} /> +
; +}`,...(z=(q=h.parameters)==null?void 0:q.docs)==null?void 0:z.source}}};var B,G,J;v.parameters={...v.parameters,docs:{...(B=v.parameters)==null?void 0:B.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: '1', + ports: makeFakePorts('1') + }, { + id: '2', + text: '2', + ports: makeFakePorts('2') + }, { + id: '3', + text: '3', + ports: makeFakePorts('3') + }, { + id: '4', + text: '4', + ports: makeFakePorts('4') + }, { + id: '5', + text: '5', + ports: makeFakePorts('5') + }, { + id: '6', + text: '6', + ports: makeFakePorts('6') + }]); + const [edges, setEdges] = useState([makeFakeEdgeWithPorts('1', '2'), makeFakeEdgeWithPorts('2', '3'), makeFakeEdgeWithPorts('2', '4'), makeFakeEdgeWithPorts('2', '5'), makeFakeEdgeWithPorts('5', '6')]); + return
+ } onNodeLinkCheck={(_event, from: NodeData, to: NodeData) => { + if (from.id === to.id) { + return false; + } + if (hasLink(edges, from, to)) { + return false; + } + return true; + }} onNodeLink={(event, from, to) => { + if (event.dragType === 'node') { + // TODO: Need to make handle ports + const result = removeAndUpsertNodes(nodes, edges, from); + setEdges([...result.edges, makeFakeEdgeWithPorts(to.id, from.id)]); + } else if (event.dragType === 'port') { + setEdges([...edges, makeFakeEdgeWithPorts(from.id, to.id)]); + } + }} /> +
; +}`,...(J=(G=v.parameters)==null?void 0:G.docs)==null?void 0:J.source}}};var K,Q,V;y.parameters={...y.parameters,docs:{...(K=y.parameters)==null?void 0:K.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: '1' + }, { + id: '2' + }, { + id: '2-1-1', + text: '2 > 1.1', + parent: '2' + }, { + id: '2-1-2', + text: '2 > 1.2', + parent: '2' + }, { + id: '2-1-3', + text: '2 > 1.3', + parent: '2' + }, { + id: '2-1-4', + text: '2 > 1.4', + parent: '2' + }, { + id: '2-2-1', + parent: '2' + }, { + id: '2-2-1-1', + text: '2 > 2.1 > 1.1', + parent: '2-2-1' + }, { + id: '3', + text: '3' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }, { + id: '2-1-1>2-1-2', + from: '2-1-1', + to: '2-1-2', + parent: '2' + }, { + id: '2-1-1>2-1-3', + from: '2-1-1', + to: '2-1-3', + parent: '2' + }, { + id: '2-1-2>2-2-1', + from: '2-1-2', + to: '2-2-1', + parent: '2' + }, { + id: '2-1-3>2-1-4', + from: '2-1-3', + to: '2-1-4', + parent: '2' + }, { + id: '2-3', + from: '2', + to: '3' + }]); + return
+ { + // Prevent parent nodes with large number of children from dragging, but allow children to drag + const children = nodes.filter(n => n.parent && n.parent === node.id); + const notDraggable = children.length > 3; + return ; + }} onNodeLinkCheck={(_event, from: NodeData, to: NodeData) => { + if (from.id === to.id) { + return false; + } + if (from.id === to.parent) { + return false; + } + if (hasLink(edges, to, from)) { + return false; + } + return true; + }} onNodeLink={(_event, from, to) => { + const result = removeAndUpsertNodes(nodes, edges, from); + + // Update parents + if ((from.parent || to.parent) && from.parent !== to.parent) { + const newNodes = nodes.map(n => n.id === from.id ? { + ...n, + parent: to.parent + } : { + ...n + }); + from.parent = to.parent; + setNodes(newNodes); + } + setEdges([...result.edges, createEdgeFromNodes(to, from)]); + }} /> +
; +}`,...(V=(Q=y.parameters)==null?void 0:Q.docs)==null?void 0:V.source}}};const ce=["NodeOnlyDrag","PortOnlyDrag","MultiPortOnlyDrag","AllDrag","NodeRearranging","NodeRearrangingUpsert","NodePortRearranging","NestedNodeRearranging"];export{N as AllDrag,x as MultiPortOnlyDrag,y as NestedNodeRearranging,c as NodeOnlyDrag,v as NodePortRearranging,k as NodeRearranging,h as NodeRearrangingUpsert,u as PortOnlyDrag,ce as __namedExportsOrder,fe as default}; diff --git a/assets/Edge.stories-f1fcfb62.js b/assets/Edge.stories-f1fcfb62.js new file mode 100644 index 0000000..9faf9c4 --- /dev/null +++ b/assets/Edge.stories-f1fcfb62.js @@ -0,0 +1,265 @@ +import{j as o}from"./jsx-runtime-9c4ae004.js";import{r as i}from"./index-1b03fe98.js";import{C as r,N as h,E as u,M as Z,a as ee,I as oe,L as te,P as ne,R as se,A as C}from"./Icon-046b6023.js";import"./IntersectionQuery-1c2e7c35.js";import{u as X,r as Y}from"./crudHelpers-031fd461.js";import"./index-6fd5a17b.js";import"./_commonjs-dynamic-modules-302442b1.js";const ue={title:"Demos/Edges",component:r,subcomponents:{Node:h,Edge:u,MarkerArrow:Z,Arrow:ee,Icon:oe,Label:te,Port:ne,Remove:se,Add:C}},m=()=>{const[n,s]=i.useState([{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}]),[a,g]=i.useState([{id:"1-2",from:"1",to:"2"}]);return o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:n,edges:a,edge:o.jsx(u,{add:o.jsx(C,{hidden:!1}),onAdd:(l,c)=>{const e=`node-${Math.random()}`,d=X(n,a,c,{id:e,text:e});s(d.nodes),g(d.edges)}}),onLayoutChange:l=>console.log("Layout",l)})})},v=()=>{const[n,s]=i.useState([{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}]),[a,g]=i.useState([{id:"1-2",from:"1",to:"2"}]);return o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:n,edges:a,edge:o.jsx(u,{add:o.jsx(C,{hidden:!1}),upsertable:!1,onAdd:(l,c)=>{const e=`node-${Math.random()}`,d=X(n,a,c,{id:e,text:e});s(d.nodes),g(d.edges)}}),onLayoutChange:l=>console.log("Layout",l)})})},p=()=>{const[n]=i.useState([{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}]),[s]=i.useState([{id:"1-2",from:"1",to:"2"}]);return o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:n,edges:s,edge:o.jsx(u,{selectable:!1}),onLayoutChange:a=>console.log("Layout",a)})})},N=()=>{const[n,s]=i.useState(["1","1-2"]),[a,g]=i.useState([{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}]),[l,c]=i.useState([{id:"1-2",from:"1",to:"2"},{id:"2-3",from:"2",to:"3"}]);return o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:a,edges:l,selections:n,node:o.jsx(h,{onClick:(e,t)=>{console.log("Selecting Node",e,t),s([t.id])},onRemove:(e,t)=>{console.log("Removing Node",e,t);const d=Y(a,l,t);c(d.edges),g(d.nodes),s([])}}),edge:o.jsx(u,{onClick:(e,t)=>{console.log("Selecting Edge",e,t),s([t.id])},onRemove:(e,t)=>{console.log("Removing Edge",e,t),c(l.filter(d=>d.id!==t.id)),s([])}}),onCanvasClick:e=>{console.log("Canvas Clicked",e),s([])},onLayoutChange:e=>console.log("Layout",e)})})},x=()=>{const[n,s]=i.useState(["1-2"]),[a,g]=i.useState([{id:"1",text:"Node 1"},{id:"2",text:"Node 2"},{id:"3",text:"Node 3"}]),[l,c]=i.useState([{id:"1-2",from:"1",to:"2"},{id:"2-3",from:"2",to:"3"}]);return o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:a,edges:l,selections:n,node:o.jsx(h,{removable:!1,onClick:(e,t)=>{console.log("Selecting Node",e,t),s([t.id])},onRemove:(e,t)=>{console.log("Removing Node",e,t);const d=Y(a,l,t);c(d.edges),g(d.nodes),s([])}}),edge:o.jsx(u,{removable:!1,onClick:(e,t)=>{console.log("Selecting Edge",e,t),s([t.id])},onRemove:(e,t)=>{console.log("Removing Edge",e,t),c(l.filter(d=>d.id!==t.id)),s([])}}),onCanvasClick:e=>{console.log("Canvas Clicked",e),s([])},onLayoutChange:e=>console.log("Layout",e)})})},y=()=>o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{arrow:null,nodes:[{id:"1",text:"1"},{id:"2",text:"2"},{id:"3",text:"3"}],edges:[{id:"1-2",from:"1",to:"2",selectionDisabled:!0},{id:"2-3",from:"2",to:"3",disabled:!0},{id:"1-3",from:"1",to:"3"}],onLayoutChange:n=>console.log("Layout",n)})}),b=()=>o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{arrow:null,nodes:[{id:"1",text:"1"},{id:"2",text:"2"}],edges:[{id:"1-2",from:"1",to:"2"}],onLayoutChange:n=>console.log("Layout",n)})}),f=()=>o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}],edges:[],onLayoutChange:n=>console.log("Layout",n)})}),S=()=>o.jsx("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:o.jsx(r,{nodes:[{id:"1",text:"Node 1"},{id:"2",text:"Node 2"}],edges:[{id:"1-2",from:"1",to:"2",text:"Label 1-2"}],onLayoutChange:n=>console.log("Layout",n)})});var L,E,j;m.parameters={...m.parameters,docs:{...(L=m.parameters)==null?void 0:L.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: 'Node 1' + }, { + id: '2', + text: 'Node 2' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }]); + return
+
; +}`,...(j=(E=m.parameters)==null?void 0:E.docs)==null?void 0:j.source}}};var R,k,A;v.parameters={...v.parameters,docs:{...(R=v.parameters)==null?void 0:R.docs,source:{originalSource:`() => { + const [nodes, setNodes] = useState([{ + id: '1', + text: 'Node 1' + }, { + id: '2', + text: 'Node 2' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }]); + return
+
; +}`,...(A=(k=v.parameters)==null?void 0:k.docs)==null?void 0:A.source}}};var w,D,M;p.parameters={...p.parameters,docs:{...(w=p.parameters)==null?void 0:w.docs,source:{originalSource:`() => { + const [nodes] = useState([{ + id: '1', + text: 'Node 1' + }, { + id: '2', + text: 'Node 2' + }]); + const [edges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }]); + return
+ } onLayoutChange={layout => console.log('Layout', layout)} /> +
; +}`,...(M=(D=p.parameters)==null?void 0:D.docs)==null?void 0:M.source}}};var U,$,_;N.parameters={...N.parameters,docs:{...(U=N.parameters)==null?void 0:U.docs,source:{originalSource:`() => { + const [selections, setSelections] = useState(['1', '1-2']); + const [nodes, setNodes] = useState([{ + id: '1', + text: 'Node 1' + }, { + id: '2', + text: 'Node 2' + }, { + id: '3', + text: 'Node 3' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }, { + id: '2-3', + from: '2', + to: '3' + }]); + return
+ { + console.log('Selecting Node', event, node); + setSelections([node.id]); + }} onRemove={(event, node) => { + console.log('Removing Node', event, node); + const result = removeAndUpsertNodes(nodes, edges, node); + setEdges(result.edges); + setNodes(result.nodes); + setSelections([]); + }} />} edge={ { + console.log('Selecting Edge', event, edge); + setSelections([edge.id]); + }} onRemove={(event, edge) => { + console.log('Removing Edge', event, edge); + setEdges(edges.filter(e => e.id !== edge.id)); + setSelections([]); + }} />} onCanvasClick={event => { + console.log('Canvas Clicked', event); + setSelections([]); + }} onLayoutChange={layout => console.log('Layout', layout)} /> +
; +}`,...(_=($=N.parameters)==null?void 0:$.docs)==null?void 0:_.source}}};var I,P,O;x.parameters={...x.parameters,docs:{...(I=x.parameters)==null?void 0:I.docs,source:{originalSource:`() => { + const [selections, setSelections] = useState(['1-2']); + const [nodes, setNodes] = useState([{ + id: '1', + text: 'Node 1' + }, { + id: '2', + text: 'Node 2' + }, { + id: '3', + text: 'Node 3' + }]); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }, { + id: '2-3', + from: '2', + to: '3' + }]); + return
+ { + console.log('Selecting Node', event, node); + setSelections([node.id]); + }} onRemove={(event, node) => { + console.log('Removing Node', event, node); + const result = removeAndUpsertNodes(nodes, edges, node); + setEdges(result.edges); + setNodes(result.nodes); + setSelections([]); + }} />} edge={ { + console.log('Selecting Edge', event, edge); + setSelections([edge.id]); + }} onRemove={(event, edge) => { + console.log('Removing Edge', event, edge); + setEdges(edges.filter(e => e.id !== edge.id)); + setSelections([]); + }} />} onCanvasClick={event => { + console.log('Canvas Clicked', event); + setSelections([]); + }} onLayoutChange={layout => console.log('Layout', layout)} /> +
; +}`,...(O=(P=x.parameters)==null?void 0:P.docs)==null?void 0:O.source}}};var q,z,B;y.parameters={...y.parameters,docs:{...(q=y.parameters)==null?void 0:q.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(B=(z=y.parameters)==null?void 0:z.docs)==null?void 0:B.source}}};var F,G,H;b.parameters={...b.parameters,docs:{...(F=b.parameters)==null?void 0:F.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(H=(G=b.parameters)==null?void 0:G.docs)==null?void 0:H.source}}};var J,K,Q;f.parameters={...f.parameters,docs:{...(J=f.parameters)==null?void 0:J.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(Q=(K=f.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var T,V,W;S.parameters={...S.parameters,docs:{...(T=S.parameters)==null?void 0:T.docs,source:{originalSource:`() =>
+ console.log('Layout', layout)} /> +
`,...(W=(V=S.parameters)==null?void 0:V.docs)==null?void 0:W.source}}};const me=["Adding","NotUpsertable","NotSelectable","Removeable","NotRemoveable","Disabled","NoArrows","NoEdges","Labels"];export{m as Adding,y as Disabled,S as Labels,b as NoArrows,f as NoEdges,x as NotRemoveable,p as NotSelectable,v as NotUpsertable,N as Removeable,me as __namedExportsOrder,ue as default}; diff --git a/assets/Editor.stories-3526f8b0.js b/assets/Editor.stories-3526f8b0.js new file mode 100644 index 0000000..bfc7063 --- /dev/null +++ b/assets/Editor.stories-3526f8b0.js @@ -0,0 +1,185 @@ +import{j as n}from"./jsx-runtime-9c4ae004.js";import{r as o}from"./index-1b03fe98.js";import{C as v,N as f,E as y,M as S,a as j,I as C,L as M,P as A,R as L,A as I,m as d,c as P}from"./Icon-046b6023.js";import"./IntersectionQuery-1c2e7c35.js";import{a as z}from"./crudHelpers-031fd461.js";import{u as B}from"./use-drag-controls-48906540.js";import"./index-6fd5a17b.js";import"./_commonjs-dynamic-modules-302442b1.js";const H={title:"Demos/Editor",component:v,subcomponents:{Node:f,Edge:y,MarkerArrow:S,Arrow:j,Icon:C,Label:M,Port:A,Remove:L,Add:I}},s=()=>{const i=B(),[D,r]=o.useState(null),[a,c]=o.useState(null),[N,l]=o.useState(!1),[g,E]=o.useState([{id:"1-2",from:"1",to:"2"}]),[u,k]=o.useState([{id:"1",text:"1"},{id:"2",text:"2"}]),p=(e,t)=>{console.log("Start of Dragging",e,t),c(t),i.start(e,{snapToCursor:!0})},w=e=>{if(console.log("End of Dragging",e),N){const t=`${a}-${Math.floor(Math.random()*100)+1}`,m=z(u,g,{id:t,text:t},D);k(m.nodes),E(m.edges)}l(!1),c(null),r(null)};return n.jsxs("div",{style:{position:"absolute",top:0,bottom:0,left:0,right:0},children:[n.jsx("style",{children:` + .left { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 150px; + background: #272626; + color: white; + padding: 20px; + display: flex; + } + .right { + position: absolute; + top: 0; + bottom: 0; + left: 150px; + right: 0; + } + .block { + height: 50px; + width: 50px; + cursor: grab; + background: black; + margin-right: 10px; + display: flex; + align-items: center; + justify-content: center; + padding: 5px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + flex: 1; + } + .dragger { + z-index: 999; + pointer-events: none; + user-select: none; + cursor: grabbing; + height: 70px; + width: 150px; + } + .dragInner { + pointer-events: none; + margin-left: 80px; + border-radius: 5px; + background: black; + border: solid 1px #00c5be; + height: 40px; + width: 40px; + color: white; + display: flex; + align-items: center; + justify-content: center; + } + `}),n.jsxs("div",{className:"left",children:[n.jsx(d.div,{className:"block",onMouseDown:e=>p(e,"1"),children:"Block 1"}),n.jsx(d.div,{className:"block",onMouseDown:e=>p(e,"2"),children:"Block 2"})]}),n.jsx("div",{className:"right",children:n.jsx(v,{nodes:u,edges:g,node:n.jsx(f,{onEnter:(e,t)=>r(t),onLeave:(e,t)=>r(null)}),onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),onLayoutChange:e=>console.log("Layout",e)})}),n.jsx(P,{children:n.jsx(d.div,{drag:!0,dragControls:i,className:"dragger",onDragEnd:w,children:a&&n.jsx("div",{className:"dragInner",children:a})})})]})};var x,b,h;s.parameters={...s.parameters,docs:{...(x=s.parameters)==null?void 0:x.docs,source:{originalSource:`() => { + const dragControls = useDragControls(); + const [enteredNode, setEnteredNode] = useState(null); + const [activeDrag, setActiveDrag] = useState(null); + const [droppable, setDroppable] = useState(false); + const [edges, setEdges] = useState([{ + id: '1-2', + from: '1', + to: '2' + }]); + const [nodes, setNodes] = useState([{ + id: '1', + text: '1' + }, { + id: '2', + text: '2' + }]); + const onDragStart = (event, data) => { + console.log('Start of Dragging', event, data); + setActiveDrag(data); + dragControls.start(event, { + snapToCursor: true + }); + }; + const onDragEnd = event => { + console.log('End of Dragging', event); + if (droppable) { + const id = \`\${activeDrag}-\${Math.floor(Math.random() * (100 - 1 + 1)) + 1}\`; + const result = addNodeAndEdge(nodes, edges, { + id, + text: id + }, enteredNode); + setNodes(result.nodes); + setEdges(result.edges); + } + setDroppable(false); + setActiveDrag(null); + setEnteredNode(null); + }; + return
+ +
+ onDragStart(event, '1')}> + Block 1 + + onDragStart(event, '2')}> + Block 2 + +
+
+ setEnteredNode(node)} onLeave={(event, node) => setEnteredNode(null)} />} onMouseEnter={() => setDroppable(true)} onMouseLeave={() => setDroppable(false)} onLayoutChange={layout => console.log('Layout', layout)} /> +
+ + + {activeDrag &&
+ {activeDrag} +
} +
+
+
; +}`,...(h=(b=s.parameters)==null?void 0:b.docs)==null?void 0:h.source}}};const J=["Simple"];export{s as Simple,J as __namedExportsOrder,H as default}; diff --git a/assets/Extending-4e6c26a4.js b/assets/Extending-4e6c26a4.js new file mode 100644 index 0000000..5d98a29 --- /dev/null +++ b/assets/Extending-4e6c26a4.js @@ -0,0 +1,170 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as d}from"./index-2ef8b458.js";import{M as s}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function t(o){const n=Object.assign({h1:"h1",p:"p",strong:"strong",code:"code",blockquote:"blockquote",em:"em",a:"a",pre:"pre"},d(),o.components);return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"Docs/Utils/Extending"}),` +`,e.jsx(n.h1,{id:"extended-utils",children:"Extended utils"}),` +`,e.jsx(n.p,{children:"The basic utils will not cover all use-cases."}),` +`,e.jsxs(n.p,{children:["Below are a few examples of advanced use-cases ",e.jsxs(n.strong,{children:["with first-class support for connecting nodes through their ",e.jsx(n.code,{children:"ports"})]}),", built on top of the default built-in utils."]}),` +`,e.jsxs(n.blockquote,{children:[` +`,e.jsx(n.p,{children:e.jsxs(n.em,{children:["Courtesy of ",e.jsx(n.a,{href:"https://github.com/Vadorequest/poc-nextjs-reaflow/blob/91275644e9c3d0ed8cf7c2c80d49ef526b5e5069/src/utils/nodes.ts",target:"_blank",rel:"nofollow noopener noreferrer",children:"Vadorequest/poc-nextjs-reaflow"}),"."]})}),` +`]}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-tsx",children:`import BaseEdgeData from '../types/BaseEdgeData'; +import BaseNodeData from '../types/BaseNodeData'; +import BasePortData from '../types/BasePortData'; +import { CanvasDataset } from '../types/CanvasDataset'; +import { createEdge } from './edges'; +import { + getDefaultFromPort, + getDefaultToPort, +} from './ports'; + +/** + * Add a node and optional edge, and automatically link their ports. + * + * Automatically connects the fromNode (left node) using its EAST port (right side) to the newNode (right node) using it's WEST port (left side). + * + * Similar to reaflow.addNodeAndEdge utility. + */ +export function addNodeAndEdgeThroughPorts( + nodes: BaseNodeData[], + edges: BaseEdgeData[], + newNode: BaseNodeData, + fromNode?: BaseNodeData, + toNode?: BaseNodeData, + fromPort?: BasePortData, + toPort?: BasePortData, +): CanvasDataset { + // The default destination node is the newly created node + toNode = toNode || newNode; + + const newEdge: BaseEdgeData = createEdge( + fromNode, + toNode, + getDefaultFromPort(fromNode, fromPort), + getDefaultToPort(toNode, toPort), + ); + + return { + nodes: [...nodes, newNode], + edges: [ + ...edges, + ...(fromNode ? + [ + newEdge, + ] + : []), + ], + }; +} + +/** + * Helper function for upserting a node in a edge (split the edge in 2 and put the node in between), and automatically link their ports. + * + * Automatically connects the left edge to the newNode using it's WEST port (left side). + * Automatically connects the right edge to the newNode using it's EAST port (right side). + * + * Similar to reaflow.upsertNode utility. + */ +export function upsertNodeThroughPorts( + nodes: BaseNodeData[], + edges: BaseEdgeData[], + edge: BaseEdgeData, + newNode: BaseNodeData, +): CanvasDataset { + const oldEdgeIndex = edges.findIndex(e => e.id === edge.id); + const edgeBeforeNewNode = { + ...edge, + id: \`\${edge.from}-\${newNode.id}\`, + to: newNode.id, + }; + const edgeAfterNewNode = { + ...edge, + id: \`\${newNode.id}-\${edge.to}\`, + from: newNode.id, + }; + + if (edge.fromPort && edge.toPort) { + const fromLeftNodeToWestPort: BasePortData | undefined = newNode?.ports?.find((port: BasePortData) => port?.side === 'WEST'); + const fromRightNodeToEastPort: BasePortData | undefined = newNode?.ports?.find((port: BasePortData) => port?.side === 'EAST'); + + edgeBeforeNewNode.fromPort = edge.fromPort; + edgeBeforeNewNode.toPort = fromLeftNodeToWestPort?.id || \`\${newNode.id}-to\`; + + edgeAfterNewNode.fromPort = fromRightNodeToEastPort?.id || \`\${newNode.id}-from\`; + edgeAfterNewNode.toPort = edge.toPort; + } + + edges.splice(oldEdgeIndex, 1, edgeBeforeNewNode, edgeAfterNewNode); + + return { + nodes: [...nodes, newNode], + edges: [...edges], + }; +} + +/** + * Removes a node between two edges and merges the two edges into one, and automatically link their ports. + * + * Similar to reaflow.removeAndUpsertNodes utility. + */ +export function removeAndUpsertNodesThroughPorts( + nodes: BaseNodeData[], + edges: BaseEdgeData[], + removeNodes: BaseNodeData | BaseNodeData[], + onNodeLinkCheck?: ( + newNodes: BaseNodeData[], + newEdges: BaseEdgeData[], + from: BaseNodeData, + to: BaseNodeData, + port?: BasePortData, + ) => undefined | boolean, +): CanvasDataset { + if (!Array.isArray(removeNodes)) { + removeNodes = [removeNodes]; + } + + const nodeIds = removeNodes.map((n) => n.id); + const newNodes = nodes.filter((n) => !nodeIds.includes(n.id)); + const newEdges = edges.filter( + (e: BaseEdgeData) => !nodeIds.includes(e?.from as string) && !nodeIds.includes(e?.to as string), + ); + + for (const nodeId of nodeIds) { + const sourceEdges = edges.filter((e) => e.to === nodeId); + const targetEdges = edges.filter((e) => e.from === nodeId); + + for (const sourceEdge of sourceEdges) { + for (const targetEdge of targetEdges) { + const sourceNode = nodes.find((n) => n.id === sourceEdge.from); + const targetNode = nodes.find((n) => n.id === targetEdge.to); + + if (sourceNode && targetNode) { + const canLink = onNodeLinkCheck?.( + newNodes, + newEdges, + sourceNode, + targetNode, + ); + + if (canLink === undefined || canLink) { + const fromPort: BasePortData | undefined = sourceNode?.ports?.find((port: BasePortData) => port?.side === 'EAST'); + const toPort: BasePortData | undefined = targetNode?.ports?.find((port: BasePortData) => port?.side === 'WEST'); + + newEdges.push({ + id: \`\${sourceNode.id}-\${targetNode.id}\`, + from: sourceNode.id, + to: targetNode.id, + parent: sourceNode?.parent, + fromPort: fromPort?.id, + toPort: toPort?.id, + }); + } + } + } + } + } + + return { + edges: newEdges, + nodes: newNodes, + }; +} + +`})})]})}function w(o={}){const{wrapper:n}=Object.assign({},d(),o.components);return n?e.jsx(n,Object.assign({},o,{children:e.jsx(t,o)})):t(o)}export{w as default}; diff --git a/assets/Graph-6e67b821.js b/assets/Graph-6e67b821.js new file mode 100644 index 0000000..47607a7 --- /dev/null +++ b/assets/Graph-6e67b821.js @@ -0,0 +1,72 @@ +import{j as e}from"./jsx-runtime-9c4ae004.js";import"./blocks-2646952b.js";import{u as a}from"./index-2ef8b458.js";import{M as d}from"./index-8e905c69.js";import"./index-1b03fe98.js";import"./iframe-ace6960f.js";import"../sb-preview/runtime.js";import"./chunk-EIRT5I3Z-f0a10e90.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";function o(s){const n=Object.assign({h1:"h1",h2:"h2",p:"p",code:"code",pre:"pre"},a(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(d,{title:"Docs/Utils/Graph"}),` +`,e.jsx(n.h1,{id:"graph-utils",children:"Graph Utils"}),` +`,e.jsx(n.h2,{id:"detecting-circulars",children:"Detecting Circulars"}),` +`,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"detectCircular"}),` function helps you determine if +the source node will create a circular link if connected +to the target node.`]}),` +`,e.jsx(n.p,{children:"The signature for this looks like:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`detectCircular( + nodes: NodeData[], + edges: EdgeData[], + fromNode: NodeData, + toNode: NodeData +) => boolean; +`})}),` +`,e.jsx(n.p,{children:"Below is an example usage:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`import { detectCircular } from 'reaflow'; + +const has = detectCircular(nodes, edges, fromNode, toNode); +if (!has) { + // Do something +} +`})}),` +`,e.jsx(n.h2,{id:"parent-node-traversal",children:"Parent Node Traversal"}),` +`,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"getParentsForNodeId"}),` function helps you find all the +parent nodes for a given node id.`]}),` +`,e.jsx(n.p,{children:"The signature for this looks like:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`getParentsForNodeId( + nodes: NodeData[], + edges: EdgeData[], + nodeId: string +) => NodeData[]; +`})}),` +`,e.jsx(n.p,{children:"Below is an example usage:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`import { getParentsForNodeId } from 'reaflow'; + +const nodes = getParentsForNodeId(nodes, edges, node.id); +`})}),` +`,e.jsx(n.h2,{id:"has-link",children:"Has Link"}),` +`,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"hasLink"}),` function helps you determine if +the source node already has a link to the target node.`]}),` +`,e.jsx(n.p,{children:"The signature for this looks like:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`hasLink( + edges: EdgeData[], + fromNode: NodeData, + toNode: NodeData +) => boolean; +`})}),` +`,e.jsx(n.p,{children:"Below is an example usage:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`import { hasLink } from 'reaflow'; + +const has = hasLink(edges, fromNode, toNode); +if (!has) { + // Do something +} +`})}),` +`,e.jsx(n.h2,{id:"get-edges-given-a-node",children:"Get Edges Given a Node"}),` +`,e.jsxs(n.p,{children:["Similar to ",e.jsx(n.code,{children:"hasLink"})," the ",e.jsx(n.code,{children:"getEdgesByNode"}),` function will +return all the edges given a node.`]}),` +`,e.jsx(n.p,{children:"The signature looks like this:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`getEdgesByNode( + edges: EdgeData[], + node: NodeData, +) => { all: EdgeData[], to: EdgeData[], from: EdgeData[] } +`})}),` +`,e.jsx(n.p,{children:"Below is an example usage:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-js",children:`import { getEdgesByNode } from 'reaflow'; + +const { all, to, from } = getEdgesByNode(edges, node); +if (!all.length) { + // Do something +} +`})})]})}function f(s={}){const{wrapper:n}=Object.assign({},a(),s.components);return n?e.jsx(n,Object.assign({},s,{children:e.jsx(o,s)})):o(s)}export{f as default}; diff --git a/assets/Icon-046b6023.js b/assets/Icon-046b6023.js new file mode 100644 index 0000000..84c3bfd --- /dev/null +++ b/assets/Icon-046b6023.js @@ -0,0 +1,71 @@ +import{j as xt}from"./jsx-runtime-9c4ae004.js";import{r as Ce,R as wG,g as xG,c as Icn}from"./index-1b03fe98.js";import{r as $Dn}from"./index-6fd5a17b.js";import{c as cG}from"./_commonjs-dynamic-modules-302442b1.js";if(typeof window<"u"){var Dcn={get passive(){}};window.addEventListener("testPassive",null,Dcn),window.removeEventListener("testPassive",null,Dcn)}const osn=Ce.createContext({transformPagePoint:d=>d,isStatic:!1,reducedMotion:"never"}),OG=Ce.createContext({}),IG=Ce.createContext(null),DG=typeof document<"u",LG=DG?Ce.useLayoutEffect:Ce.useEffect,fsn=Ce.createContext({strict:!1}),X0e=d=>d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),FDn="framerAppearId",lsn="data-"+X0e(FDn),asn={skipAnimations:!1,useManualTiming:!1};class Lcn{constructor(){this.order=[],this.scheduled=new Set}add(b){if(!this.scheduled.has(b))return this.scheduled.add(b),this.order.push(b),!0}remove(b){const m=this.order.indexOf(b);m!==-1&&(this.order.splice(m,1),this.scheduled.delete(b))}clear(){this.order.length=0,this.scheduled.clear()}}function NDn(d){let b=new Lcn,m=new Lcn,v=0,E=!1,M=!1;const k=new WeakSet,L={schedule:(N,B=!1,H=!1)=>{const G=H&&E,Y=G?b:m;return B&&k.add(N),Y.add(N)&&G&&E&&(v=b.order.length),N},cancel:N=>{m.remove(N),k.delete(N)},process:N=>{if(E){M=!0;return}if(E=!0,[b,m]=[m,b],m.clear(),v=b.order.length,v)for(let B=0;B(G[Y]=NDn(()=>m=!0),G),{}),k=G=>{M[G].process(E)},L=()=>{const G=performance.now();m=!1,E.delta=v?1e3/60:Math.max(Math.min(G-E.timestamp,_Dn),1),E.timestamp=G,E.isProcessing=!0,uG.forEach(k),E.isProcessing=!1,m&&b&&(v=!1,d(L))},N=()=>{m=!0,v=!0,E.isProcessing||d(L)};return{schedule:uG.reduce((G,Y)=>{const ne=M[Y];return G[Y]=(J,Re=!1,cn=!1)=>(m||N(),ne.schedule(J,Re,cn)),G},{}),cancel:G=>uG.forEach(Y=>M[Y].cancel(G)),state:E,steps:M}}const{schedule:Y0e,cancel:SKn}=hsn(queueMicrotask,!1);function BDn(d,b,m,v){const{visualElement:E}=Ce.useContext(OG),M=Ce.useContext(fsn),k=Ce.useContext(IG),L=Ce.useContext(osn).reducedMotion,N=Ce.useRef();v=v||M.renderer,!N.current&&v&&(N.current=v(d,{visualState:b,parent:E,props:m,presenceContext:k,blockInitialAnimation:k?k.initial===!1:!1,reducedMotionConfig:L}));const B=N.current;Ce.useInsertionEffect(()=>{B&&B.update(m,k)});const H=Ce.useRef(!!(m[lsn]&&!window.HandoffComplete));return LG(()=>{B&&(Y0e.postRender(B.render),H.current&&B.animationState&&B.animationState.animateChanges())}),Ce.useEffect(()=>{B&&(B.updateFeatures(),!H.current&&B.animationState&&B.animationState.animateChanges(),H.current&&(H.current=!1,window.HandoffComplete=!0))}),B}function yE(d){return d&&typeof d=="object"&&Object.prototype.hasOwnProperty.call(d,"current")}function RDn(d,b,m){return Ce.useCallback(v=>{v&&d.mount&&d.mount(v),b&&(v?b.mount(v):b.unmount()),m&&(typeof m=="function"?m(v):yE(m)&&(m.current=v))},[b])}function mI(d){return typeof d=="string"||Array.isArray(d)}function $G(d){return d!==null&&typeof d=="object"&&typeof d.start=="function"}const Q0e=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],J0e=["initial",...Q0e];function FG(d){return $G(d.animate)||J0e.some(b=>mI(d[b]))}function dsn(d){return!!(FG(d)||d.variants)}function KDn(d,b){if(FG(d)){const{initial:m,animate:v}=d;return{initial:m===!1||mI(m)?m:void 0,animate:mI(v)?v:void 0}}return d.inherit!==!1?b:{}}function qDn(d){const{initial:b,animate:m}=KDn(d,Ce.useContext(OG));return Ce.useMemo(()=>({initial:b,animate:m}),[$cn(b),$cn(m)])}function $cn(d){return Array.isArray(d)?d.join(" "):d}const Fcn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},vI={};for(const d in Fcn)vI[d]={isEnabled:b=>Fcn[d].some(m=>!!b[m])};function HDn(d){for(const b in d)vI[b]={...vI[b],...d[b]}}const Z0e=Ce.createContext({}),bsn=Ce.createContext({}),VDn=Symbol.for("motionComponentSymbol");function GDn({preloadedFeatures:d,createVisualElement:b,useRender:m,useVisualState:v,Component:E}){d&&HDn(d);function M(L,N){let B;const H={...Ce.useContext(osn),...L,layoutId:zDn(L)},{isStatic:G}=H,Y=qDn(L),ne=v(L,G);if(!G&&DG){Y.visualElement=BDn(E,ne,H,b);const J=Ce.useContext(bsn),Re=Ce.useContext(fsn).strict;Y.visualElement&&(B=Y.visualElement.loadFeatures(H,Re,d,J))}return Ce.createElement(OG.Provider,{value:Y},B&&Y.visualElement?Ce.createElement(B,{visualElement:Y.visualElement,...H}):null,m(E,L,RDn(ne,Y.visualElement,N),ne,G,Y.visualElement))}const k=Ce.forwardRef(M);return k[VDn]=E,k}function zDn({layoutId:d}){const b=Ce.useContext(Z0e).id;return b&&d!==void 0?b+"-"+d:d}function WDn(d){function b(v,E={}){return GDn(d(v,E))}if(typeof Proxy>"u")return b;const m=new Map;return new Proxy(b,{get:(v,E)=>(m.has(E)||m.set(E,b(E)),m.get(E))})}const UDn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ebe(d){return typeof d!="string"||d.includes("-")?!1:!!(UDn.indexOf(d)>-1||/[A-Z]/.test(d))}const gG={};function XDn(d){Object.assign(gG,d)}const EI=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],X9=new Set(EI);function wsn(d,{layout:b,layoutId:m}){return X9.has(d)||d.startsWith("origin")||(b||m!==void 0)&&(!!gG[d]||d==="opacity")}const F1=d=>!!(d&&d.getVelocity),YDn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QDn=EI.length;function JDn(d,{enableHardwareAcceleration:b=!0,allowTransformNone:m=!0},v,E){let M="";for(let k=0;kb=>typeof b=="string"&&b.startsWith(d),psn=gsn("--"),ZDn=gsn("var(--"),pG=d=>ZDn(d)&&eLn.test(d),eLn=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)$/i,nLn=(d,b)=>b&&typeof d=="number"?b.transform(d):d,R4=(d,b,m)=>m>b?b:mtypeof d=="number",parse:parseFloat,transform:d=>d},bI={...DE,transform:d=>R4(0,1,d)},sG={...DE,default:1},wI=d=>Math.round(d*1e5)/1e5,nbe=/(-)?([\d]*\.?[\d])+/g,tLn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,iLn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function TI(d){return typeof d=="string"}const CI=d=>({test:b=>TI(b)&&b.endsWith(d)&&b.split(" ").length===1,parse:parseFloat,transform:b=>`${b}${d}`}),F4=CI("deg"),Yp=CI("%"),Qi=CI("px"),rLn=CI("vh"),cLn=CI("vw"),Ncn={...Yp,parse:d=>Yp.parse(d)/100,transform:d=>Yp.transform(d*100)},_cn={...DE,transform:Math.round},msn={borderWidth:Qi,borderTopWidth:Qi,borderRightWidth:Qi,borderBottomWidth:Qi,borderLeftWidth:Qi,borderRadius:Qi,radius:Qi,borderTopLeftRadius:Qi,borderTopRightRadius:Qi,borderBottomRightRadius:Qi,borderBottomLeftRadius:Qi,width:Qi,maxWidth:Qi,height:Qi,maxHeight:Qi,size:Qi,top:Qi,right:Qi,bottom:Qi,left:Qi,padding:Qi,paddingTop:Qi,paddingRight:Qi,paddingBottom:Qi,paddingLeft:Qi,margin:Qi,marginTop:Qi,marginRight:Qi,marginBottom:Qi,marginLeft:Qi,rotate:F4,rotateX:F4,rotateY:F4,rotateZ:F4,scale:sG,scaleX:sG,scaleY:sG,scaleZ:sG,skew:F4,skewX:F4,skewY:F4,distance:Qi,translateX:Qi,translateY:Qi,translateZ:Qi,x:Qi,y:Qi,z:Qi,perspective:Qi,transformPerspective:Qi,opacity:bI,originX:Ncn,originY:Ncn,originZ:Qi,zIndex:_cn,fillOpacity:bI,strokeOpacity:bI,numOctaves:_cn};function tbe(d,b,m,v){const{style:E,vars:M,transform:k,transformOrigin:L}=d;let N=!1,B=!1,H=!0;for(const G in b){const Y=b[G];if(psn(G)){M[G]=Y;continue}const ne=msn[G],J=nLn(Y,ne);if(X9.has(G)){if(N=!0,k[G]=J,!H)continue;Y!==(ne.default||0)&&(H=!1)}else G.startsWith("origin")?(B=!0,L[G]=J):E[G]=J}if(b.transform||(N||v?E.transform=JDn(d.transform,m,H,v):E.transform&&(E.transform="none")),B){const{originX:G="50%",originY:Y="50%",originZ:ne=0}=L;E.transformOrigin=`${G} ${Y} ${ne}`}}const ibe=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vsn(d,b,m){for(const v in b)!F1(b[v])&&!wsn(v,m)&&(d[v]=b[v])}function uLn({transformTemplate:d},b,m){return Ce.useMemo(()=>{const v=ibe();return tbe(v,b,{enableHardwareAcceleration:!m},d),Object.assign({},v.vars,v.style)},[b])}function sLn(d,b,m){const v=d.style||{},E={};return vsn(E,v,d),Object.assign(E,uLn(d,b,m)),E}function oLn(d,b,m){const v={},E=sLn(d,b,m);return d.drag&&d.dragListener!==!1&&(v.draggable=!1,E.userSelect=E.WebkitUserSelect=E.WebkitTouchCallout="none",E.touchAction=d.drag===!0?"none":`pan-${d.drag==="x"?"y":"x"}`),d.tabIndex===void 0&&(d.onTap||d.onTapStart||d.whileTap)&&(v.tabIndex=0),v.style=E,v}const fLn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function mG(d){return d.startsWith("while")||d.startsWith("drag")&&d!=="draggable"||d.startsWith("layout")||d.startsWith("onTap")||d.startsWith("onPan")||d.startsWith("onLayout")||fLn.has(d)}let ysn=d=>!mG(d);function lLn(d){d&&(ysn=b=>b.startsWith("on")?!mG(b):d(b))}try{lLn(require("@emotion/is-prop-valid").default)}catch{}function aLn(d,b,m){const v={};for(const E in d)E==="values"&&typeof d.values=="object"||(ysn(E)||m===!0&&mG(E)||!b&&!mG(E)||d.draggable&&E.startsWith("onDrag"))&&(v[E]=d[E]);return v}function Bcn(d,b,m){return typeof d=="string"?d:Qi.transform(b+m*d)}function hLn(d,b,m){const v=Bcn(b,d.x,d.width),E=Bcn(m,d.y,d.height);return`${v} ${E}`}const dLn={offset:"stroke-dashoffset",array:"stroke-dasharray"},bLn={offset:"strokeDashoffset",array:"strokeDasharray"};function wLn(d,b,m=1,v=0,E=!0){d.pathLength=1;const M=E?dLn:bLn;d[M.offset]=Qi.transform(-v);const k=Qi.transform(b),L=Qi.transform(m);d[M.array]=`${k} ${L}`}function rbe(d,{attrX:b,attrY:m,attrScale:v,originX:E,originY:M,pathLength:k,pathSpacing:L=1,pathOffset:N=0,...B},H,G,Y){if(tbe(d,B,H,Y),G){d.style.viewBox&&(d.attrs.viewBox=d.style.viewBox);return}d.attrs=d.style,d.style={};const{attrs:ne,style:J,dimensions:Re}=d;ne.transform&&(Re&&(J.transform=ne.transform),delete ne.transform),Re&&(E!==void 0||M!==void 0||J.transform)&&(J.transformOrigin=hLn(Re,E!==void 0?E:.5,M!==void 0?M:.5)),b!==void 0&&(ne.x=b),m!==void 0&&(ne.y=m),v!==void 0&&(ne.scale=v),k!==void 0&&wLn(ne,k,L,N,!1)}const ksn=()=>({...ibe(),attrs:{}}),cbe=d=>typeof d=="string"&&d.toLowerCase()==="svg";function gLn(d,b,m,v){const E=Ce.useMemo(()=>{const M=ksn();return rbe(M,b,{enableHardwareAcceleration:!1},cbe(v),d.transformTemplate),{...M.attrs,style:{...M.style}}},[b]);if(d.style){const M={};vsn(M,d.style,d),E.style={...M,...E.style}}return E}function pLn(d=!1){return(m,v,E,{latestValues:M},k)=>{const N=(ebe(m)?gLn:oLn)(v,M,k,m),B=aLn(v,typeof m=="string",d),H=m!==Ce.Fragment?{...B,...N,ref:E}:{},{children:G}=v,Y=Ce.useMemo(()=>F1(G)?G.get():G,[G]);return Ce.createElement(m,{...H,children:Y})}}function jsn(d,{style:b,vars:m},v,E){Object.assign(d.style,b,E&&E.getProjectionStyles(v));for(const M in m)d.style.setProperty(M,m[M])}const Esn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Tsn(d,b,m,v){jsn(d,b,void 0,v);for(const E in b.attrs)d.setAttribute(Esn.has(E)?E:X0e(E),b.attrs[E])}function ube(d,b){const{style:m}=d,v={};for(const E in m)(F1(m[E])||b.style&&F1(b.style[E])||wsn(E,d))&&(v[E]=m[E]);return v}function Csn(d,b){const m=ube(d,b);for(const v in d)if(F1(d[v])||F1(b[v])){const E=EI.indexOf(v)!==-1?"attr"+v.charAt(0).toUpperCase()+v.substring(1):v;m[E]=d[v]}return m}function sbe(d,b,m,v={},E={}){return typeof b=="function"&&(b=b(m!==void 0?m:d.custom,v,E)),typeof b=="string"&&(b=d.variants&&d.variants[b]),typeof b=="function"&&(b=b(m!==void 0?m:d.custom,v,E)),b}function obe(d){const b=Ce.useRef(null);return b.current===null&&(b.current=d()),b.current}const vG=d=>Array.isArray(d),mLn=d=>!!(d&&typeof d=="object"&&d.mix&&d.toValue),vLn=d=>vG(d)?d[d.length-1]||0:d;function lG(d){const b=F1(d)?d.get():d;return mLn(b)?b.toValue():b}function yLn({scrapeMotionValuesFromProps:d,createRenderState:b,onMount:m},v,E,M){const k={latestValues:kLn(v,E,M,d),renderState:b()};return m&&(k.mount=L=>m(v,L,k)),k}const Ssn=d=>(b,m)=>{const v=Ce.useContext(OG),E=Ce.useContext(IG),M=()=>yLn(d,b,v,E);return m?M():obe(M)};function kLn(d,b,m,v){const E={},M=v(d,{});for(const Y in M)E[Y]=lG(M[Y]);let{initial:k,animate:L}=d;const N=FG(d),B=dsn(d);b&&B&&!N&&d.inherit!==!1&&(k===void 0&&(k=b.initial),L===void 0&&(L=b.animate));let H=m?m.initial===!1:!1;H=H||k===!1;const G=H?L:k;return G&&typeof G!="boolean"&&!$G(G)&&(Array.isArray(G)?G:[G]).forEach(ne=>{const J=sbe(d,ne);if(!J)return;const{transitionEnd:Re,transition:cn,...kn}=J;for(const gn in kn){let Ve=kn[gn];if(Array.isArray(Ve)){const Cn=H?Ve.length-1:0;Ve=Ve[Cn]}Ve!==null&&(E[gn]=Ve)}for(const gn in Re)E[gn]=Re[gn]}),E}const gf=d=>d,{schedule:Ws,cancel:_m,state:ha,steps:i0e}=hsn(typeof requestAnimationFrame<"u"?requestAnimationFrame:gf,!0),jLn={useVisualState:Ssn({scrapeMotionValuesFromProps:Csn,createRenderState:ksn,onMount:(d,b,{renderState:m,latestValues:v})=>{Ws.read(()=>{try{m.dimensions=typeof b.getBBox=="function"?b.getBBox():b.getBoundingClientRect()}catch{m.dimensions={x:0,y:0,width:0,height:0}}}),Ws.render(()=>{rbe(m,v,{enableHardwareAcceleration:!1},cbe(b.tagName),d.transformTemplate),Tsn(b,m)})}})},ELn={useVisualState:Ssn({scrapeMotionValuesFromProps:ube,createRenderState:ibe})};function TLn(d,{forwardMotionProps:b=!1},m,v){return{...ebe(d)?jLn:ELn,preloadedFeatures:m,useRender:pLn(b),createVisualElement:v,Component:d}}function Lm(d,b,m,v={passive:!0}){return d.addEventListener(b,m,v),()=>d.removeEventListener(b,m)}const Msn=d=>d.pointerType==="mouse"?typeof d.button!="number"||d.button<=0:d.isPrimary!==!1;function NG(d,b="page"){return{point:{x:d[b+"X"],y:d[b+"Y"]}}}const CLn=d=>b=>Msn(b)&&d(b,NG(b));function $m(d,b,m,v){return Lm(d,b,CLn(m),v)}const SLn=(d,b)=>m=>b(d(m)),Fm=(...d)=>d.reduce(SLn);function Psn(d){let b=null;return()=>{const m=()=>{b=null};return b===null?(b=d,m):!1}}const Rcn=Psn("dragHorizontal"),Kcn=Psn("dragVertical");function Asn(d){let b=!1;if(d==="y")b=Kcn();else if(d==="x")b=Rcn();else{const m=Rcn(),v=Kcn();m&&v?b=()=>{m(),v()}:(m&&m(),v&&v())}return b}function xsn(){const d=Asn(!0);return d?(d(),!1):!0}class H4{constructor(b){this.isMounted=!1,this.node=b}update(){}}function qcn(d,b){const m="pointer"+(b?"enter":"leave"),v="onHover"+(b?"Start":"End"),E=(M,k)=>{if(M.pointerType==="touch"||xsn())return;const L=d.getProps();d.animationState&&L.whileHover&&d.animationState.setActive("whileHover",b),L[v]&&Ws.update(()=>L[v](M,k))};return $m(d.current,m,E,{passive:!d.getProps()[v]})}class MLn extends H4{mount(){this.unmount=Fm(qcn(this.node,!0),qcn(this.node,!1))}unmount(){}}class PLn extends H4{constructor(){super(...arguments),this.isActive=!1}onFocus(){let b=!1;try{b=this.node.current.matches(":focus-visible")}catch{b=!0}!b||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Fm(Lm(this.node.current,"focus",()=>this.onFocus()),Lm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Osn=(d,b)=>b?d===b?!0:Osn(d,b.parentElement):!1;function r0e(d,b){if(!b)return;const m=new PointerEvent("pointer"+d);b(m,NG(m))}class ALn extends H4{constructor(){super(...arguments),this.removeStartListeners=gf,this.removeEndListeners=gf,this.removeAccessibleListeners=gf,this.startPointerPress=(b,m)=>{if(this.isPressing)return;this.removeEndListeners();const v=this.node.getProps(),M=$m(window,"pointerup",(L,N)=>{if(!this.checkPressEnd())return;const{onTap:B,onTapCancel:H,globalTapTarget:G}=this.node.getProps();Ws.update(()=>{!G&&!Osn(this.node.current,L.target)?H&&H(L,N):B&&B(L,N)})},{passive:!(v.onTap||v.onPointerUp)}),k=$m(window,"pointercancel",(L,N)=>this.cancelPress(L,N),{passive:!(v.onTapCancel||v.onPointerCancel)});this.removeEndListeners=Fm(M,k),this.startPress(b,m)},this.startAccessiblePress=()=>{const b=M=>{if(M.key!=="Enter"||this.isPressing)return;const k=L=>{L.key!=="Enter"||!this.checkPressEnd()||r0e("up",(N,B)=>{const{onTap:H}=this.node.getProps();H&&Ws.update(()=>H(N,B))})};this.removeEndListeners(),this.removeEndListeners=Lm(this.node.current,"keyup",k),r0e("down",(L,N)=>{this.startPress(L,N)})},m=Lm(this.node.current,"keydown",b),v=()=>{this.isPressing&&r0e("cancel",(M,k)=>this.cancelPress(M,k))},E=Lm(this.node.current,"blur",v);this.removeAccessibleListeners=Fm(m,E)}}startPress(b,m){this.isPressing=!0;const{onTapStart:v,whileTap:E}=this.node.getProps();E&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),v&&Ws.update(()=>v(b,m))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!xsn()}cancelPress(b,m){if(!this.checkPressEnd())return;const{onTapCancel:v}=this.node.getProps();v&&Ws.update(()=>v(b,m))}mount(){const b=this.node.getProps(),m=$m(b.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(b.onTapStart||b.onPointerStart)}),v=Lm(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Fm(m,v)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const j0e=new WeakMap,c0e=new WeakMap,xLn=d=>{const b=j0e.get(d.target);b&&b(d)},OLn=d=>{d.forEach(xLn)};function ILn({root:d,...b}){const m=d||document;c0e.has(m)||c0e.set(m,{});const v=c0e.get(m),E=JSON.stringify(b);return v[E]||(v[E]=new IntersectionObserver(OLn,{root:d,...b})),v[E]}function DLn(d,b,m){const v=ILn(b);return j0e.set(d,m),v.observe(d),()=>{j0e.delete(d),v.unobserve(d)}}const LLn={some:0,all:1};class $Ln extends H4{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:b={}}=this.node.getProps(),{root:m,margin:v,amount:E="some",once:M}=b,k={root:m?m.current:void 0,rootMargin:v,threshold:typeof E=="number"?E:LLn[E]},L=N=>{const{isIntersecting:B}=N;if(this.isInView===B||(this.isInView=B,M&&!B&&this.hasEnteredView))return;B&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",B);const{onViewportEnter:H,onViewportLeave:G}=this.node.getProps(),Y=B?H:G;Y&&Y(N)};return DLn(this.node.current,k,L)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:b,prevProps:m}=this.node;["amount","margin","root"].some(FLn(b,m))&&this.startObserver()}unmount(){}}function FLn({viewport:d={}},{viewport:b={}}={}){return m=>d[m]!==b[m]}const NLn={inView:{Feature:$Ln},tap:{Feature:ALn},focus:{Feature:PLn},hover:{Feature:MLn}};function Isn(d,b){if(!Array.isArray(b))return!1;const m=b.length;if(m!==d.length)return!1;for(let v=0;vb[v]=m.get()),b}function BLn(d){const b={};return d.values.forEach((m,v)=>b[v]=m.getVelocity()),b}function _G(d,b,m){const v=d.getProps();return sbe(v,b,m!==void 0?m:v.custom,_Ln(d),BLn(d))}let RLn=gf,fbe=gf;const B4=d=>d*1e3,Nm=d=>d/1e3,KLn={current:!1},Dsn=d=>Array.isArray(d)&&typeof d[0]=="number";function Lsn(d){return!!(!d||typeof d=="string"&&$sn[d]||Dsn(d)||Array.isArray(d)&&d.every(Lsn))}const dI=([d,b,m,v])=>`cubic-bezier(${d}, ${b}, ${m}, ${v})`,$sn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:dI([0,.65,.55,1]),circOut:dI([.55,0,1,.45]),backIn:dI([.31,.01,.66,-.59]),backOut:dI([.33,1.53,.69,.99])};function Fsn(d){if(d)return Dsn(d)?dI(d):Array.isArray(d)?d.map(Fsn):$sn[d]}function qLn(d,b,m,{delay:v=0,duration:E,repeat:M=0,repeatType:k="loop",ease:L,times:N}={}){const B={[b]:m};N&&(B.offset=N);const H=Fsn(L);return Array.isArray(H)&&(B.easing=H),d.animate(B,{delay:v,duration:E,easing:Array.isArray(H)?"linear":H,fill:"both",iterations:M+1,direction:k==="reverse"?"alternate":"normal"})}function HLn(d,{repeat:b,repeatType:m="loop"}){const v=b&&m!=="loop"&&b%2===1?0:d.length-1;return d[v]}const Nsn=(d,b,m)=>(((1-3*m+3*b)*d+(3*m-6*b))*d+3*b)*d,VLn=1e-7,GLn=12;function zLn(d,b,m,v,E){let M,k,L=0;do k=b+(m-b)/2,M=Nsn(k,v,E)-d,M>0?m=k:b=k;while(Math.abs(M)>VLn&&++LzLn(M,0,1,d,m);return M=>M===0||M===1?M:Nsn(E(M),b,v)}const WLn=SI(.42,0,1,1),ULn=SI(0,0,.58,1),_sn=SI(.42,0,.58,1),XLn=d=>Array.isArray(d)&&typeof d[0]!="number",Bsn=d=>b=>b<=.5?d(2*b)/2:(2-d(2*(1-b)))/2,Rsn=d=>b=>1-d(1-b),lbe=d=>1-Math.sin(Math.acos(d)),Ksn=Rsn(lbe),YLn=Bsn(lbe),qsn=SI(.33,1.53,.69,.99),abe=Rsn(qsn),QLn=Bsn(abe),JLn=d=>(d*=2)<1?.5*abe(d):.5*(2-Math.pow(2,-10*(d-1))),ZLn={linear:gf,easeIn:WLn,easeInOut:_sn,easeOut:ULn,circIn:lbe,circInOut:YLn,circOut:Ksn,backIn:abe,backInOut:QLn,backOut:qsn,anticipate:JLn},Hcn=d=>{if(Array.isArray(d)){fbe(d.length===4);const[b,m,v,E]=d;return SI(b,m,v,E)}else if(typeof d=="string")return ZLn[d];return d},yI=(d,b,m)=>{const v=b-d;return v===0?1:(m-d)/v},bo=(d,b,m)=>d+(b-d)*m;function u0e(d,b,m){return m<0&&(m+=1),m>1&&(m-=1),m<1/6?d+(b-d)*6*m:m<1/2?b:m<2/3?d+(b-d)*(2/3-m)*6:d}function e$n({hue:d,saturation:b,lightness:m,alpha:v}){d/=360,b/=100,m/=100;let E=0,M=0,k=0;if(!b)E=M=k=m;else{const L=m<.5?m*(1+b):m+b-m*b,N=2*m-L;E=u0e(N,L,d+1/3),M=u0e(N,L,d),k=u0e(N,L,d-1/3)}return{red:Math.round(E*255),green:Math.round(M*255),blue:Math.round(k*255),alpha:v}}const hbe=(d,b)=>m=>!!(TI(m)&&iLn.test(m)&&m.startsWith(d)||b&&Object.prototype.hasOwnProperty.call(m,b)),Hsn=(d,b,m)=>v=>{if(!TI(v))return v;const[E,M,k,L]=v.match(nbe);return{[d]:parseFloat(E),[b]:parseFloat(M),[m]:parseFloat(k),alpha:L!==void 0?parseFloat(L):1}},n$n=d=>R4(0,255,d),s0e={...DE,transform:d=>Math.round(n$n(d))},G9={test:hbe("rgb","red"),parse:Hsn("red","green","blue"),transform:({red:d,green:b,blue:m,alpha:v=1})=>"rgba("+s0e.transform(d)+", "+s0e.transform(b)+", "+s0e.transform(m)+", "+wI(bI.transform(v))+")"};function t$n(d){let b="",m="",v="",E="";return d.length>5?(b=d.substring(1,3),m=d.substring(3,5),v=d.substring(5,7),E=d.substring(7,9)):(b=d.substring(1,2),m=d.substring(2,3),v=d.substring(3,4),E=d.substring(4,5),b+=b,m+=m,v+=v,E+=E),{red:parseInt(b,16),green:parseInt(m,16),blue:parseInt(v,16),alpha:E?parseInt(E,16)/255:1}}const E0e={test:hbe("#"),parse:t$n,transform:G9.transform},kE={test:hbe("hsl","hue"),parse:Hsn("hue","saturation","lightness"),transform:({hue:d,saturation:b,lightness:m,alpha:v=1})=>"hsla("+Math.round(d)+", "+Yp.transform(wI(b))+", "+Yp.transform(wI(m))+", "+wI(bI.transform(v))+")"},o0e=(d,b,m)=>{const v=d*d,E=m*(b*b-v)+v;return E<0?0:Math.sqrt(E)},i$n=[E0e,G9,kE],r$n=d=>i$n.find(b=>b.test(d));function Vcn(d){const b=r$n(d);let m=b.parse(d);return b===kE&&(m=e$n(m)),m}const Gcn=(d,b)=>{const m=Vcn(d),v=Vcn(b),E={...m};return M=>(E.red=o0e(m.red,v.red,M),E.green=o0e(m.green,v.green,M),E.blue=o0e(m.blue,v.blue,M),E.alpha=bo(m.alpha,v.alpha,M),G9.transform(E))},Ha={test:d=>G9.test(d)||E0e.test(d)||kE.test(d),parse:d=>G9.test(d)?G9.parse(d):kE.test(d)?kE.parse(d):E0e.parse(d),transform:d=>TI(d)?d:d.hasOwnProperty("red")?G9.transform(d):kE.transform(d)};function c$n(d){var b,m;return isNaN(d)&&TI(d)&&(((b=d.match(nbe))===null||b===void 0?void 0:b.length)||0)+(((m=d.match(tLn))===null||m===void 0?void 0:m.length)||0)>0}const Vsn="number",Gsn="color",u$n="var",s$n="var(",zcn="${}",Wcn=/(var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\))|(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))|((-)?([\d]*\.?[\d])+)/gi;function yG(d){const b=d.toString(),m=b.match(Wcn)||[],v=[],E={color:[],number:[],var:[]},M=[];for(let N=0;N{let M="";for(let k=0;ktypeof d=="number"?0:d;function f$n(d){const b=zsn(d);return Wsn(d)(b.map(o$n))}const K4={test:c$n,parse:zsn,createTransformer:Wsn,getAnimatableNone:f$n};function T0e(d,b){return m=>m>0?b:d}function l$n(d,b){return m=>bo(d,b,m)}function dbe(d){return typeof d=="number"?l$n:typeof d=="string"?pG(d)?T0e:Ha.test(d)?Gcn:d$n:Array.isArray(d)?Usn:typeof d=="object"?Ha.test(d)?Gcn:a$n:T0e}function Usn(d,b){const m=[...d],v=m.length,E=d.map((M,k)=>dbe(M)(M,b[k]));return M=>{for(let k=0;k{for(const M in v)m[M]=v[M](E);return m}}function h$n(d,b){var m;const v=[],E={color:0,var:0,number:0};for(let M=0;M{const m=K4.createTransformer(b),v=yG(d),E=yG(b);return v.indexes.var.length===E.indexes.var.length&&v.indexes.color.length===E.indexes.color.length&&v.indexes.number.length>=E.indexes.number.length?Fm(Usn(h$n(v,E),E.values),m):T0e(d,b)};function Xsn(d,b,m){return typeof d=="number"&&typeof b=="number"&&typeof m=="number"?bo(d,b,m):dbe(d)(d,b)}function b$n(d,b,m){const v=[],E=m||Xsn,M=d.length-1;for(let k=0;kb[0];d[0]>d[M-1]&&(d=[...d].reverse(),b=[...b].reverse());const k=b$n(b,v,E),L=k.length,N=B=>{let H=0;if(L>1)for(;HN(R4(d[0],d[M-1],B)):N}function g$n(d,b){const m=d[d.length-1];for(let v=1;v<=b;v++){const E=yI(0,b,v);d.push(bo(m,1,E))}}function p$n(d){const b=[0];return g$n(b,d.length-1),b}function m$n(d,b){return d.map(m=>m*b)}function v$n(d,b){return d.map(()=>b||_sn).splice(0,d.length-1)}function kG({duration:d=300,keyframes:b,times:m,ease:v="easeInOut"}){const E=XLn(v)?v.map(Hcn):Hcn(v),M={done:!1,value:b[0]},k=m$n(m&&m.length===b.length?m:p$n(b),d),L=w$n(k,b,{ease:Array.isArray(E)?E:v$n(b,E)});return{calculatedDuration:d,next:N=>(M.value=L(N),M.done=N>=d,M)}}function Ysn(d,b){return b?d*(1e3/b):0}const y$n=5;function Qsn(d,b,m){const v=Math.max(b-y$n,0);return Ysn(m-d(v),b-v)}const f0e=.001,k$n=.01,Ucn=10,j$n=.05,E$n=1;function T$n({duration:d=800,bounce:b=.25,velocity:m=0,mass:v=1}){let E,M;RLn(d<=B4(Ucn));let k=1-b;k=R4(j$n,E$n,k),d=R4(k$n,Ucn,Nm(d)),k<1?(E=B=>{const H=B*k,G=H*d,Y=H-m,ne=C0e(B,k),J=Math.exp(-G);return f0e-Y/ne*J},M=B=>{const G=B*k*d,Y=G*m+m,ne=Math.pow(k,2)*Math.pow(B,2)*d,J=Math.exp(-G),Re=C0e(Math.pow(B,2),k);return(-E(B)+f0e>0?-1:1)*((Y-ne)*J)/Re}):(E=B=>{const H=Math.exp(-B*d),G=(B-m)*d+1;return-f0e+H*G},M=B=>{const H=Math.exp(-B*d),G=(m-B)*(d*d);return H*G});const L=5/d,N=S$n(E,M,L);if(d=B4(d),isNaN(N))return{stiffness:100,damping:10,duration:d};{const B=Math.pow(N,2)*v;return{stiffness:B,damping:k*2*Math.sqrt(v*B),duration:d}}}const C$n=12;function S$n(d,b,m){let v=m;for(let E=1;Ed[m]!==void 0)}function A$n(d){let b={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...d};if(!Xcn(d,P$n)&&Xcn(d,M$n)){const m=T$n(d);b={...b,...m,mass:1},b.isResolvedFromDuration=!0}return b}function Jsn({keyframes:d,restDelta:b,restSpeed:m,...v}){const E=d[0],M=d[d.length-1],k={done:!1,value:E},{stiffness:L,damping:N,mass:B,duration:H,velocity:G,isResolvedFromDuration:Y}=A$n({...v,velocity:-Nm(v.velocity||0)}),ne=G||0,J=N/(2*Math.sqrt(L*B)),Re=M-E,cn=Nm(Math.sqrt(L/B)),kn=Math.abs(Re)<5;m||(m=kn?.01:2),b||(b=kn?.005:.5);let gn;if(J<1){const Ve=C0e(cn,J);gn=Cn=>{const rt=Math.exp(-J*cn*Cn);return M-rt*((ne+J*cn*Re)/Ve*Math.sin(Ve*Cn)+Re*Math.cos(Ve*Cn))}}else if(J===1)gn=Ve=>M-Math.exp(-cn*Ve)*(Re+(ne+cn*Re)*Ve);else{const Ve=cn*Math.sqrt(J*J-1);gn=Cn=>{const rt=Math.exp(-J*cn*Cn),Rt=Math.min(Ve*Cn,300);return M-rt*((ne+J*cn*Re)*Math.sinh(Rt)+Ve*Re*Math.cosh(Rt))/Ve}}return{calculatedDuration:Y&&H||null,next:Ve=>{const Cn=gn(Ve);if(Y)k.done=Ve>=H;else{let rt=ne;Ve!==0&&(J<1?rt=Qsn(gn,Ve,Cn):rt=0);const Rt=Math.abs(rt)<=m,Wt=Math.abs(M-Cn)<=b;k.done=Rt&&Wt}return k.value=k.done?M:Cn,k}}}function Ycn({keyframes:d,velocity:b=0,power:m=.8,timeConstant:v=325,bounceDamping:E=10,bounceStiffness:M=500,modifyTarget:k,min:L,max:N,restDelta:B=.5,restSpeed:H}){const G=d[0],Y={done:!1,value:G},ne=Tt=>L!==void 0&&TtN,J=Tt=>L===void 0?N:N===void 0||Math.abs(L-Tt)-Re*Math.exp(-Tt/v),Ve=Tt=>kn+gn(Tt),Cn=Tt=>{const Pi=gn(Tt),br=Ve(Tt);Y.done=Math.abs(Pi)<=B,Y.value=Y.done?kn:br};let rt,Rt;const Wt=Tt=>{ne(Y.value)&&(rt=Tt,Rt=Jsn({keyframes:[Y.value,J(Y.value)],velocity:Qsn(Ve,Tt,Y.value),damping:E,stiffness:M,restDelta:B,restSpeed:H}))};return Wt(0),{calculatedDuration:null,next:Tt=>{let Pi=!1;return!Rt&&rt===void 0&&(Pi=!0,Cn(Tt),Wt(Tt)),rt!==void 0&&Tt>rt?Rt.next(Tt-rt):(!Pi&&Cn(Tt),Y)}}}let aG;function x$n(){aG=void 0}const z9={now:()=>(aG===void 0&&z9.set(ha.isProcessing||asn.useManualTiming?ha.timestamp:performance.now()),aG),set:d=>{aG=d,queueMicrotask(x$n)}},O$n=d=>{const b=({timestamp:m})=>d(m);return{start:()=>Ws.update(b,!0),stop:()=>_m(b),now:()=>ha.isProcessing?ha.timestamp:z9.now()}},Qcn=2e4;function Jcn(d){let b=0;const m=50;let v=d.next(b);for(;!v.done&&b=Qcn?1/0:b}const I$n={decay:Ycn,inertia:Ycn,tween:kG,keyframes:kG,spring:Jsn},D$n=d=>d/100;function jG({autoplay:d=!0,delay:b=0,driver:m=O$n,keyframes:v,type:E="keyframes",repeat:M=0,repeatDelay:k=0,repeatType:L="loop",onPlay:N,onStop:B,onComplete:H,onUpdate:G,...Y}){let ne=1,J=!1,Re,cn;const kn=()=>{cn=new Promise(Kr=>{Re=Kr})};kn();let gn;const Ve=I$n[E]||kG;let Cn;Ve!==kG&&typeof v[0]!="number"&&(Cn=Fm(D$n,Xsn(v[0],v[1])),v=[0,100]);const rt=Ve({...Y,keyframes:v});let Rt;L==="mirror"&&(Rt=Ve({...Y,keyframes:[...v].reverse(),velocity:-(Y.velocity||0)}));let Wt="idle",Tt=null,Pi=null,br=null;rt.calculatedDuration===null&&M&&(rt.calculatedDuration=Jcn(rt));const{calculatedDuration:Mr}=rt;let Pr=1/0,Bi=1/0;Mr!==null&&(Pr=Mr+k,Bi=Pr*(M+1)-k);let di=0;const vc=Kr=>{if(Pi===null)return;ne>0&&(Pi=Math.min(Pi,Kr)),ne<0&&(Pi=Math.min(Kr-Bi/ne,Pi)),Tt!==null?di=Tt:di=Math.round(Kr-Pi)*ne;const vu=di-b*(ne>=0?1:-1),bg=ne>=0?vu<0:vu>Bi;di=Math.max(vu,0),Wt==="finished"&&Tt===null&&(di=Bi);let Ob=di,Yd=rt;if(M){const Pc=Math.min(di,Bi)/Pr;let Ss=Math.floor(Pc),Lf=Pc%1;!Lf&&Pc>=1&&(Lf=1),Lf===1&&Ss--,Ss=Math.min(Ss,M+1),!!(Ss%2)&&(L==="reverse"?(Lf=1-Lf,k&&(Lf-=k/Pr)):L==="mirror"&&(Yd=Rt)),Ob=R4(0,1,Lf)*Pr}const Bl=bg?{done:!1,value:v[0]}:Yd.next(Ob);Cn&&(Bl.value=Cn(Bl.value));let{done:N1}=Bl;!bg&&Mr!==null&&(N1=ne>=0?di>=Bi:di<=0);const wg=Tt===null&&(Wt==="finished"||Wt==="running"&&N1);return G&&G(Bl.value),wg&&W(),Bl},Vi=()=>{gn&&gn.stop(),gn=void 0},si=()=>{Wt="idle",Vi(),Re(),kn(),Pi=br=null},W=()=>{Wt="finished",H&&H(),Vi(),Re()},qo=()=>{if(J)return;gn||(gn=m(vc));const Kr=gn.now();N&&N(),Tt!==null?Pi=Kr-Tt:(!Pi||Wt==="finished")&&(Pi=Kr),Wt==="finished"&&kn(),br=Pi,Tt=null,Wt="running",gn.start()};d&&qo();const al={then(Kr,vu){return cn.then(Kr,vu)},get time(){return Nm(di)},set time(Kr){Kr=B4(Kr),di=Kr,Tt!==null||!gn||ne===0?Tt=Kr:Pi=gn.now()-Kr/ne},get duration(){const Kr=rt.calculatedDuration===null?Jcn(rt):rt.calculatedDuration;return Nm(Kr)},get speed(){return ne},set speed(Kr){Kr===ne||!gn||(ne=Kr,al.time=Nm(di))},get state(){return Wt},play:qo,pause:()=>{Wt="paused",Tt=di},stop:()=>{J=!0,Wt!=="idle"&&(Wt="idle",B&&B(),si())},cancel:()=>{br!==null&&vc(br),si()},complete:()=>{Wt="finished"},sample:Kr=>(Pi=0,vc(Kr))};return al}function L$n(d){let b;return()=>(b===void 0&&(b=d()),b)}const $$n=L$n(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),F$n=new Set(["opacity","clipPath","filter","transform"]),oG=10,N$n=2e4,_$n=(d,b)=>b.type==="spring"||d==="backgroundColor"||!Lsn(b.ease);function B$n(d,b,{onUpdate:m,onComplete:v,...E}){if(!($$n()&&F$n.has(b)&&!E.repeatDelay&&E.repeatType!=="mirror"&&E.damping!==0&&E.type!=="inertia"))return!1;let k=!1,L,N,B=!1;const H=()=>{N=new Promise(Ve=>{L=Ve})};H();let{keyframes:G,duration:Y=300,ease:ne,times:J}=E;if(_$n(b,E)){const Ve=jG({...E,repeat:0,delay:0});let Cn={done:!1,value:G[0]};const rt=[];let Rt=0;for(;!Cn.done&&Rt{B=!1,Re.cancel()},kn=()=>{B=!0,Ws.update(cn),L(),H()};return Re.onfinish=()=>{B||(d.set(HLn(G,E)),v&&v(),kn())},{then(Ve,Cn){return N.then(Ve,Cn)},attachTimeline(Ve){return Re.timeline=Ve,Re.onfinish=null,gf},get time(){return Nm(Re.currentTime||0)},set time(Ve){Re.currentTime=B4(Ve)},get speed(){return Re.playbackRate},set speed(Ve){Re.playbackRate=Ve},get duration(){return Nm(Y)},play:()=>{k||(Re.play(),_m(cn))},pause:()=>Re.pause(),stop:()=>{if(k=!0,Re.playState==="idle")return;const{currentTime:Ve}=Re;if(Ve){const Cn=jG({...E,autoplay:!1});d.setWithVelocity(Cn.sample(Ve-oG).value,Cn.sample(Ve).value,oG)}kn()},complete:()=>{B||Re.finish()},cancel:kn}}function R$n({keyframes:d,delay:b,onUpdate:m,onComplete:v}){const E=()=>(m&&m(d[d.length-1]),v&&v(),{time:0,speed:1,duration:0,play:gf,pause:gf,stop:gf,then:M=>(M(),Promise.resolve()),cancel:gf,complete:gf});return b?jG({keyframes:[0,1],duration:0,delay:b,onComplete:E}):E()}const K$n={type:"spring",stiffness:500,damping:25,restSpeed:10},q$n=d=>({type:"spring",stiffness:550,damping:d===0?2*Math.sqrt(550):30,restSpeed:10}),H$n={type:"keyframes",duration:.8},V$n={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},G$n=(d,{keyframes:b})=>b.length>2?H$n:X9.has(d)?d.startsWith("scale")?q$n(b[1]):K$n:V$n,S0e=(d,b)=>d==="zIndex"?!1:!!(typeof b=="number"||Array.isArray(b)||typeof b=="string"&&(K4.test(b)||b==="0")&&!b.startsWith("url(")),z$n=new Set(["brightness","contrast","saturate","opacity"]);function W$n(d){const[b,m]=d.slice(0,-1).split("(");if(b==="drop-shadow")return d;const[v]=m.match(nbe)||[];if(!v)return d;const E=m.replace(v,"");let M=z$n.has(b)?1:0;return v!==m&&(M*=100),b+"("+M+E+")"}const U$n=/([a-z-]*)\(.*?\)/g,M0e={...K4,getAnimatableNone:d=>{const b=d.match(U$n);return b?b.map(W$n).join(" "):d}},X$n={...msn,color:Ha,backgroundColor:Ha,outlineColor:Ha,fill:Ha,stroke:Ha,borderColor:Ha,borderTopColor:Ha,borderRightColor:Ha,borderBottomColor:Ha,borderLeftColor:Ha,filter:M0e,WebkitFilter:M0e},bbe=d=>X$n[d];function Zsn(d,b){let m=bbe(d);return m!==M0e&&(m=K4),m.getAnimatableNone?m.getAnimatableNone(b):void 0}const eon=d=>/^0[^.\s]+$/.test(d);function Y$n(d){if(typeof d=="number")return d===0;if(d!==null)return d==="none"||d==="0"||eon(d)}function Q$n(d,b,m,v){const E=S0e(b,m);let M;Array.isArray(m)?M=[...m]:M=[null,m];const k=v.from!==void 0?v.from:d.get();let L;const N=[];for(let B=0;BE=>{const M=wbe(v,d)||{},k=M.delay||v.delay||0;let{elapsed:L=0}=v;L=L-B4(k);const N=Q$n(b,d,m,M),B=N[0],H=N[N.length-1],G=S0e(d,B),Y=S0e(d,H);let ne={keyframes:N,velocity:b.getVelocity(),ease:"easeOut",...M,delay:-L,onUpdate:J=>{b.set(J),M.onUpdate&&M.onUpdate(J)},onComplete:()=>{E(),M.onComplete&&M.onComplete()}};if(J$n(M)||(ne={...ne,...G$n(d,ne)}),ne.duration&&(ne.duration=B4(ne.duration)),ne.repeatDelay&&(ne.repeatDelay=B4(ne.repeatDelay)),!G||!Y||KLn.current||M.type===!1||asn.skipAnimations)return R$n(ne);if(!v.isHandoff&&b.owner&&b.owner.current instanceof HTMLElement&&!b.owner.getProps().onUpdate){const J=B$n(b,d,ne);if(J)return J}return jG(ne)};function EG(d){return!!(F1(d)&&d.add)}const non=d=>/^\-?\d*\.?\d+$/.test(d);function pbe(d,b){d.indexOf(b)===-1&&d.push(b)}function mbe(d,b){const m=d.indexOf(b);m>-1&&d.splice(m,1)}class vbe{constructor(){this.subscriptions=[]}add(b){return pbe(this.subscriptions,b),()=>mbe(this.subscriptions,b)}notify(b,m,v){const E=this.subscriptions.length;if(E)if(E===1)this.subscriptions[0](b,m,v);else for(let M=0;M!isNaN(parseFloat(d));class eFn{constructor(b,m={}){this.version="11.0.6",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(v,E=!0)=>{const M=z9.now();this.updatedAt!==M&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(v),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),E&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(b),this.canTrackVelocity=Z$n(this.current),this.owner=m.owner}setCurrent(b){this.current=b,this.updatedAt=z9.now()}setPrevFrameValue(b=this.current){this.prevFrameValue=b,this.prevUpdatedAt=this.updatedAt}onChange(b){return this.on("change",b)}on(b,m){this.events[b]||(this.events[b]=new vbe);const v=this.events[b].add(m);return b==="change"?()=>{v(),Ws.read(()=>{this.events.change.getSize()||this.stop()})}:v}clearListeners(){for(const b in this.events)this.events[b].clear()}attach(b,m){this.passiveEffect=b,this.stopPassiveEffect=m}set(b,m=!0){!m||!this.passiveEffect?this.updateAndNotify(b,m):this.passiveEffect(b,this.updateAndNotify)}setWithVelocity(b,m,v){this.set(m),this.prev=void 0,this.prevFrameValue=b,this.prevUpdatedAt=this.updatedAt-v}jump(b){this.updateAndNotify(b),this.prev=b,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const b=z9.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||b-this.updatedAt>Zcn)return 0;const m=Math.min(this.updatedAt-this.prevUpdatedAt,Zcn);return Ysn(parseFloat(this.current)-parseFloat(this.prevFrameValue),m)}start(b){return this.stop(),new Promise(m=>{this.hasAnimated=!0,this.animation=b(m),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ME(d,b){return new eFn(d,b)}const ton=d=>b=>b.test(d),nFn={test:d=>d==="auto",parse:d=>d},ion=[DE,Qi,Yp,F4,cLn,rLn,nFn],uI=d=>ion.find(ton(d)),tFn=[...ion,Ha,K4],iFn=d=>tFn.find(ton(d));function rFn(d,b,m){d.hasValue(b)?d.getValue(b).set(m):d.addValue(b,ME(m))}function ybe(d,b){const m=_G(d,b);let{transitionEnd:v={},transition:E={},...M}=m?d.makeTargetAnimatable(m,!1):{};M={...M,...v};for(const k in M){const L=vLn(M[k]);rFn(d,k,L)}}function P0e(d,b){[...b].reverse().forEach(v=>{const E=d.getVariant(v);E&&ybe(d,E),d.variantChildren&&d.variantChildren.forEach(M=>{P0e(M,b)})})}function cFn(d,b){if(Array.isArray(b))return P0e(d,b);if(typeof b=="string")return P0e(d,[b]);ybe(d,b)}function uFn(d,b,m){var v,E;const M=Object.keys(b).filter(L=>!d.hasValue(L)),k=M.length;if(k)for(let L=0;LN.remove(G))),B.push(cn)}return k&&Promise.all(B).then(()=>{k&&ybe(d,k)}),B}function A0e(d,b,m={}){const v=_G(d,b,m.custom);let{transition:E=d.getDefaultTransition()||{}}=v||{};m.transitionOverride&&(E=m.transitionOverride);const M=v?()=>Promise.all(ron(d,v,m)):()=>Promise.resolve(),k=d.variantChildren&&d.variantChildren.size?(N=0)=>{const{delayChildren:B=0,staggerChildren:H,staggerDirection:G}=E;return aFn(d,b,B+N,H,G,m)}:()=>Promise.resolve(),{when:L}=E;if(L){const[N,B]=L==="beforeChildren"?[M,k]:[k,M];return N().then(()=>B())}else return Promise.all([M(),k(m.delay)])}function aFn(d,b,m=0,v=0,E=1,M){const k=[],L=(d.variantChildren.size-1)*v,N=E===1?(B=0)=>B*v:(B=0)=>L-B*v;return Array.from(d.variantChildren).sort(hFn).forEach((B,H)=>{B.notify("AnimationStart",b),k.push(A0e(B,b,{...M,delay:m+N(H)}).then(()=>B.notify("AnimationComplete",b)))}),Promise.all(k)}function hFn(d,b){return d.sortNodePosition(b)}function con(d,b,m={}){d.notify("AnimationStart",b);let v;if(Array.isArray(b)){const E=b.map(M=>A0e(d,M,m));v=Promise.all(E)}else if(typeof b=="string")v=A0e(d,b,m);else{const E=typeof b=="function"?_G(d,b,m.custom):b;v=Promise.all(ron(d,E,m))}return v.then(()=>d.notify("AnimationComplete",b))}const dFn=[...Q0e].reverse(),bFn=Q0e.length;function wFn(d){return b=>Promise.all(b.map(({animation:m,options:v})=>con(d,m,v)))}function gFn(d){let b=wFn(d);const m=mFn();let v=!0;const E=(N,B)=>{const H=_G(d,B);if(H){const{transition:G,transitionEnd:Y,...ne}=H;N={...N,...ne,...Y}}return N};function M(N){b=N(d)}function k(N,B){const H=d.getProps(),G=d.getVariantContext(!0)||{},Y=[],ne=new Set;let J={},Re=1/0;for(let kn=0;knRe&&rt,br=!1;const Mr=Array.isArray(Cn)?Cn:[Cn];let Pr=Mr.reduce(E,{});Rt===!1&&(Pr={});const{prevResolvedValues:Bi={}}=Ve,di={...Bi,...Pr},vc=Vi=>{Pi=!0,ne.has(Vi)&&(br=!0,ne.delete(Vi)),Ve.needsAnimating[Vi]=!0};for(const Vi in di){const si=Pr[Vi],W=Bi[Vi];if(J.hasOwnProperty(Vi))continue;let qo=!1;vG(si)&&vG(W)?qo=!Isn(si,W):qo=si!==W,qo?si!==void 0?vc(Vi):ne.add(Vi):si!==void 0&&ne.has(Vi)?vc(Vi):Ve.protectedKeys[Vi]=!0}Ve.prevProp=Cn,Ve.prevResolvedValues=Pr,Ve.isActive&&(J={...J,...Pr}),v&&d.blockInitialAnimation&&(Pi=!1),Pi&&(!Wt||br)&&Y.push(...Mr.map(Vi=>({animation:Vi,options:{type:gn,...N}})))}if(ne.size){const kn={};ne.forEach(gn=>{const Ve=d.getBaseTarget(gn);Ve!==void 0&&(kn[gn]=Ve)}),Y.push({animation:kn})}let cn=!!Y.length;return v&&(H.initial===!1||H.initial===H.animate)&&!d.manuallyAnimateOnMount&&(cn=!1),v=!1,cn?b(Y):Promise.resolve()}function L(N,B,H){var G;if(m[N].isActive===B)return Promise.resolve();(G=d.variantChildren)===null||G===void 0||G.forEach(ne=>{var J;return(J=ne.animationState)===null||J===void 0?void 0:J.setActive(N,B)}),m[N].isActive=B;const Y=k(H,N);for(const ne in m)m[ne].protectedKeys={};return Y}return{animateChanges:k,setActive:L,setAnimateFunction:M,getState:()=>m}}function pFn(d,b){return typeof b=="string"?b!==d:Array.isArray(b)?!Isn(b,d):!1}function B9(d=!1){return{isActive:d,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mFn(){return{animate:B9(!0),whileInView:B9(),whileHover:B9(),whileTap:B9(),whileDrag:B9(),whileFocus:B9(),exit:B9()}}class vFn extends H4{constructor(b){super(b),b.animationState||(b.animationState=gFn(b))}updateAnimationControlsSubscription(){const{animate:b}=this.node.getProps();this.unmount(),$G(b)&&(this.unmount=b.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:b}=this.node.getProps(),{animate:m}=this.node.prevProps||{};b!==m&&this.updateAnimationControlsSubscription()}unmount(){}}let yFn=0;class kFn extends H4{constructor(){super(...arguments),this.id=yFn++}update(){if(!this.node.presenceContext)return;const{isPresent:b,onExitComplete:m,custom:v}=this.node.presenceContext,{isPresent:E}=this.node.prevPresenceContext||{};if(!this.node.animationState||b===E)return;const M=this.node.animationState.setActive("exit",!b,{custom:v??this.node.getProps().custom});m&&!b&&M.then(()=>m(this.id))}mount(){const{register:b}=this.node.presenceContext||{};b&&(this.unmount=b(this.id))}unmount(){}}const jFn={animation:{Feature:vFn},exit:{Feature:kFn}},eun=(d,b)=>Math.abs(d-b);function EFn(d,b){const m=eun(d.x,b.x),v=eun(d.y,b.y);return Math.sqrt(m**2+v**2)}class uon{constructor(b,m,{transformPagePoint:v,contextWindow:E,dragSnapToOrigin:M=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=a0e(this.lastMoveEventInfo,this.history),Y=this.startEvent!==null,ne=EFn(G.offset,{x:0,y:0})>=3;if(!Y&&!ne)return;const{point:J}=G,{timestamp:Re}=ha;this.history.push({...J,timestamp:Re});const{onStart:cn,onMove:kn}=this.handlers;Y||(cn&&cn(this.lastMoveEvent,G),this.startEvent=this.lastMoveEvent),kn&&kn(this.lastMoveEvent,G)},this.handlePointerMove=(G,Y)=>{this.lastMoveEvent=G,this.lastMoveEventInfo=l0e(Y,this.transformPagePoint),Ws.update(this.updatePoint,!0)},this.handlePointerUp=(G,Y)=>{this.end();const{onEnd:ne,onSessionEnd:J,resumeAnimation:Re}=this.handlers;if(this.dragSnapToOrigin&&Re&&Re(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const cn=a0e(G.type==="pointercancel"?this.lastMoveEventInfo:l0e(Y,this.transformPagePoint),this.history);this.startEvent&&ne&&ne(G,cn),J&&J(G,cn)},!Msn(b))return;this.dragSnapToOrigin=M,this.handlers=m,this.transformPagePoint=v,this.contextWindow=E||window;const k=NG(b),L=l0e(k,this.transformPagePoint),{point:N}=L,{timestamp:B}=ha;this.history=[{...N,timestamp:B}];const{onSessionStart:H}=m;H&&H(b,a0e(L,this.history)),this.removeListeners=Fm($m(this.contextWindow,"pointermove",this.handlePointerMove),$m(this.contextWindow,"pointerup",this.handlePointerUp),$m(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(b){this.handlers=b}end(){this.removeListeners&&this.removeListeners(),_m(this.updatePoint)}}function l0e(d,b){return b?{point:b(d.point)}:d}function nun(d,b){return{x:d.x-b.x,y:d.y-b.y}}function a0e({point:d},b){return{point:d,delta:nun(d,son(b)),offset:nun(d,TFn(b)),velocity:CFn(b,.1)}}function TFn(d){return d[0]}function son(d){return d[d.length-1]}function CFn(d,b){if(d.length<2)return{x:0,y:0};let m=d.length-1,v=null;const E=son(d);for(;m>=0&&(v=d[m],!(E.timestamp-v.timestamp>B4(b)));)m--;if(!v)return{x:0,y:0};const M=Nm(E.timestamp-v.timestamp);if(M===0)return{x:0,y:0};const k={x:(E.x-v.x)/M,y:(E.y-v.y)/M};return k.x===1/0&&(k.x=0),k.y===1/0&&(k.y=0),k}function Xd(d){return d.max-d.min}function x0e(d,b=0,m=.01){return Math.abs(d-b)<=m}function tun(d,b,m,v=.5){d.origin=v,d.originPoint=bo(b.min,b.max,d.origin),d.scale=Xd(m)/Xd(b),(x0e(d.scale,1,1e-4)||isNaN(d.scale))&&(d.scale=1),d.translate=bo(m.min,m.max,d.origin)-d.originPoint,(x0e(d.translate)||isNaN(d.translate))&&(d.translate=0)}function gI(d,b,m,v){tun(d.x,b.x,m.x,v?v.originX:void 0),tun(d.y,b.y,m.y,v?v.originY:void 0)}function iun(d,b,m){d.min=m.min+b.min,d.max=d.min+Xd(b)}function SFn(d,b,m){iun(d.x,b.x,m.x),iun(d.y,b.y,m.y)}function run(d,b,m){d.min=b.min-m.min,d.max=d.min+Xd(b)}function pI(d,b,m){run(d.x,b.x,m.x),run(d.y,b.y,m.y)}function MFn(d,{min:b,max:m},v){return b!==void 0&&dm&&(d=v?bo(m,d,v.max):Math.min(d,m)),d}function cun(d,b,m){return{min:b!==void 0?d.min+b:void 0,max:m!==void 0?d.max+m-(d.max-d.min):void 0}}function PFn(d,{top:b,left:m,bottom:v,right:E}){return{x:cun(d.x,m,E),y:cun(d.y,b,v)}}function uun(d,b){let m=b.min-d.min,v=b.max-d.max;return b.max-b.minv?m=yI(b.min,b.max-v,d.min):v>E&&(m=yI(d.min,d.max-E,b.min)),R4(0,1,m)}function OFn(d,b){const m={};return b.min!==void 0&&(m.min=b.min-d.min),b.max!==void 0&&(m.max=b.max-d.min),m}const O0e=.35;function IFn(d=O0e){return d===!1?d=0:d===!0&&(d=O0e),{x:sun(d,"left","right"),y:sun(d,"top","bottom")}}function sun(d,b,m){return{min:oun(d,b),max:oun(d,m)}}function oun(d,b){return typeof d=="number"?d:d[b]||0}const fun=()=>({translate:0,scale:1,origin:0,originPoint:0}),jE=()=>({x:fun(),y:fun()}),lun=()=>({min:0,max:0}),wf=()=>({x:lun(),y:lun()});function Pb(d){return[d("x"),d("y")]}function oon({top:d,left:b,right:m,bottom:v}){return{x:{min:b,max:m},y:{min:d,max:v}}}function DFn({x:d,y:b}){return{top:b.min,right:d.max,bottom:b.max,left:d.min}}function LFn(d,b){if(!b)return d;const m=b({x:d.left,y:d.top}),v=b({x:d.right,y:d.bottom});return{top:m.y,left:m.x,bottom:v.y,right:v.x}}function h0e(d){return d===void 0||d===1}function I0e({scale:d,scaleX:b,scaleY:m}){return!h0e(d)||!h0e(b)||!h0e(m)}function K9(d){return I0e(d)||fon(d)||d.z||d.rotate||d.rotateX||d.rotateY}function fon(d){return aun(d.x)||aun(d.y)}function aun(d){return d&&d!=="0%"}function TG(d,b,m){const v=d-m,E=b*v;return m+E}function hun(d,b,m,v,E){return E!==void 0&&(d=TG(d,E,v)),TG(d,m,v)+b}function D0e(d,b=0,m=1,v,E){d.min=hun(d.min,b,m,v,E),d.max=hun(d.max,b,m,v,E)}function lon(d,{x:b,y:m}){D0e(d.x,b.translate,b.scale,b.originPoint),D0e(d.y,m.translate,m.scale,m.originPoint)}function $Fn(d,b,m,v=!1){const E=m.length;if(!E)return;b.x=b.y=1;let M,k;for(let L=0;L1.0000000000001||d<.999999999999?d:1}function N4(d,b){d.min=d.min+b,d.max=d.max+b}function bun(d,b,[m,v,E]){const M=b[E]!==void 0?b[E]:.5,k=bo(d.min,d.max,M);D0e(d,b[m],b[v],k,b.scale)}const FFn=["x","scaleX","originX"],NFn=["y","scaleY","originY"];function EE(d,b){bun(d.x,b,FFn),bun(d.y,b,NFn)}function aon(d,b){return oon(LFn(d.getBoundingClientRect(),b))}function _Fn(d,b,m){const v=aon(d,m),{scroll:E}=b;return E&&(N4(v.x,E.offset.x),N4(v.y,E.offset.y)),v}const hon=({current:d})=>d?d.ownerDocument.defaultView:null,BFn=new WeakMap;class RFn{constructor(b){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=wf(),this.visualElement=b}start(b,{snapToCursor:m=!1}={}){const{presenceContext:v}=this.visualElement;if(v&&v.isPresent===!1)return;const E=H=>{const{dragSnapToOrigin:G}=this.getProps();G?this.pauseAnimation():this.stopAnimation(),m&&this.snapToCursor(NG(H,"page").point)},M=(H,G)=>{const{drag:Y,dragPropagation:ne,onDragStart:J}=this.getProps();if(Y&&!ne&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Asn(Y),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pb(cn=>{let kn=this.getAxisMotionValue(cn).get()||0;if(Yp.test(kn)){const{projection:gn}=this.visualElement;if(gn&&gn.layout){const Ve=gn.layout.layoutBox[cn];Ve&&(kn=Xd(Ve)*(parseFloat(kn)/100))}}this.originPoint[cn]=kn}),J&&Ws.update(()=>J(H,G),!1,!0);const{animationState:Re}=this.visualElement;Re&&Re.setActive("whileDrag",!0)},k=(H,G)=>{const{dragPropagation:Y,dragDirectionLock:ne,onDirectionLock:J,onDrag:Re}=this.getProps();if(!Y&&!this.openGlobalLock)return;const{offset:cn}=G;if(ne&&this.currentDirection===null){this.currentDirection=KFn(cn),this.currentDirection!==null&&J&&J(this.currentDirection);return}this.updateAxis("x",G.point,cn),this.updateAxis("y",G.point,cn),this.visualElement.render(),Re&&Re(H,G)},L=(H,G)=>this.stop(H,G),N=()=>Pb(H=>{var G;return this.getAnimationState(H)==="paused"&&((G=this.getAxisMotionValue(H).animation)===null||G===void 0?void 0:G.play())}),{dragSnapToOrigin:B}=this.getProps();this.panSession=new uon(b,{onSessionStart:E,onStart:M,onMove:k,onSessionEnd:L,resumeAnimation:N},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:B,contextWindow:hon(this.visualElement)})}stop(b,m){const v=this.isDragging;if(this.cancel(),!v)return;const{velocity:E}=m;this.startAnimation(E);const{onDragEnd:M}=this.getProps();M&&Ws.update(()=>M(b,m))}cancel(){this.isDragging=!1;const{projection:b,animationState:m}=this.visualElement;b&&(b.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:v}=this.getProps();!v&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),m&&m.setActive("whileDrag",!1)}updateAxis(b,m,v){const{drag:E}=this.getProps();if(!v||!fG(b,E,this.currentDirection))return;const M=this.getAxisMotionValue(b);let k=this.originPoint[b]+v[b];this.constraints&&this.constraints[b]&&(k=MFn(k,this.constraints[b],this.elastic[b])),M.set(k)}resolveConstraints(){var b;const{dragConstraints:m,dragElastic:v}=this.getProps(),E=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(b=this.visualElement.projection)===null||b===void 0?void 0:b.layout,M=this.constraints;m&&yE(m)?this.constraints||(this.constraints=this.resolveRefConstraints()):m&&E?this.constraints=PFn(E.layoutBox,m):this.constraints=!1,this.elastic=IFn(v),M!==this.constraints&&E&&this.constraints&&!this.hasMutatedConstraints&&Pb(k=>{this.getAxisMotionValue(k)&&(this.constraints[k]=OFn(E.layoutBox[k],this.constraints[k]))})}resolveRefConstraints(){const{dragConstraints:b,onMeasureDragConstraints:m}=this.getProps();if(!b||!yE(b))return!1;const v=b.current,{projection:E}=this.visualElement;if(!E||!E.layout)return!1;const M=_Fn(v,E.root,this.visualElement.getTransformPagePoint());let k=AFn(E.layout.layoutBox,M);if(m){const L=m(DFn(k));this.hasMutatedConstraints=!!L,L&&(k=oon(L))}return k}startAnimation(b){const{drag:m,dragMomentum:v,dragElastic:E,dragTransition:M,dragSnapToOrigin:k,onDragTransitionEnd:L}=this.getProps(),N=this.constraints||{},B=Pb(H=>{if(!fG(H,m,this.currentDirection))return;let G=N&&N[H]||{};k&&(G={min:0,max:0});const Y=E?200:1e6,ne=E?40:1e7,J={type:"inertia",velocity:v?b[H]:0,bounceStiffness:Y,bounceDamping:ne,timeConstant:750,restDelta:1,restSpeed:10,...M,...G};return this.startAxisValueAnimation(H,J)});return Promise.all(B).then(L)}startAxisValueAnimation(b,m){const v=this.getAxisMotionValue(b);return v.start(gbe(b,v,0,m))}stopAnimation(){Pb(b=>this.getAxisMotionValue(b).stop())}pauseAnimation(){Pb(b=>{var m;return(m=this.getAxisMotionValue(b).animation)===null||m===void 0?void 0:m.pause()})}getAnimationState(b){var m;return(m=this.getAxisMotionValue(b).animation)===null||m===void 0?void 0:m.state}getAxisMotionValue(b){const m="_drag"+b.toUpperCase(),v=this.visualElement.getProps(),E=v[m];return E||this.visualElement.getValue(b,(v.initial?v.initial[b]:void 0)||0)}snapToCursor(b){Pb(m=>{const{drag:v}=this.getProps();if(!fG(m,v,this.currentDirection))return;const{projection:E}=this.visualElement,M=this.getAxisMotionValue(m);if(E&&E.layout){const{min:k,max:L}=E.layout.layoutBox[m];M.set(b[m]-bo(k,L,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:b,dragConstraints:m}=this.getProps(),{projection:v}=this.visualElement;if(!yE(m)||!v||!this.constraints)return;this.stopAnimation();const E={x:0,y:0};Pb(k=>{const L=this.getAxisMotionValue(k);if(L){const N=L.get();E[k]=xFn({min:N,max:N},this.constraints[k])}});const{transformTemplate:M}=this.visualElement.getProps();this.visualElement.current.style.transform=M?M({},""):"none",v.root&&v.root.updateScroll(),v.updateLayout(),this.resolveConstraints(),Pb(k=>{if(!fG(k,b,null))return;const L=this.getAxisMotionValue(k),{min:N,max:B}=this.constraints[k];L.set(bo(N,B,E[k]))})}addListeners(){if(!this.visualElement.current)return;BFn.set(this.visualElement,this);const b=this.visualElement.current,m=$m(b,"pointerdown",N=>{const{drag:B,dragListener:H=!0}=this.getProps();B&&H&&this.start(N)}),v=()=>{const{dragConstraints:N}=this.getProps();yE(N)&&(this.constraints=this.resolveRefConstraints())},{projection:E}=this.visualElement,M=E.addEventListener("measure",v);E&&!E.layout&&(E.root&&E.root.updateScroll(),E.updateLayout()),v();const k=Lm(window,"resize",()=>this.scalePositionWithinConstraints()),L=E.addEventListener("didUpdate",({delta:N,hasLayoutChanged:B})=>{this.isDragging&&B&&(Pb(H=>{const G=this.getAxisMotionValue(H);G&&(this.originPoint[H]+=N[H].translate,G.set(G.get()+N[H].translate))}),this.visualElement.render())});return()=>{k(),m(),M(),L&&L()}}getProps(){const b=this.visualElement.getProps(),{drag:m=!1,dragDirectionLock:v=!1,dragPropagation:E=!1,dragConstraints:M=!1,dragElastic:k=O0e,dragMomentum:L=!0}=b;return{...b,drag:m,dragDirectionLock:v,dragPropagation:E,dragConstraints:M,dragElastic:k,dragMomentum:L}}}function fG(d,b,m){return(b===!0||b===d)&&(m===null||m===d)}function KFn(d,b=10){let m=null;return Math.abs(d.y)>b?m="y":Math.abs(d.x)>b&&(m="x"),m}class qFn extends H4{constructor(b){super(b),this.removeGroupControls=gf,this.removeListeners=gf,this.controls=new RFn(b)}mount(){const{dragControls:b}=this.node.getProps();b&&(this.removeGroupControls=b.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gf}unmount(){this.removeGroupControls(),this.removeListeners()}}const wun=d=>(b,m)=>{d&&Ws.update(()=>d(b,m))};class HFn extends H4{constructor(){super(...arguments),this.removePointerDownListener=gf}onPointerDown(b){this.session=new uon(b,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hon(this.node)})}createPanHandlers(){const{onPanSessionStart:b,onPanStart:m,onPan:v,onPanEnd:E}=this.node.getProps();return{onSessionStart:wun(b),onStart:wun(m),onMove:v,onEnd:(M,k)=>{delete this.session,E&&Ws.update(()=>E(M,k))}}}mount(){this.removePointerDownListener=$m(this.node.current,"pointerdown",b=>this.onPointerDown(b))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function VFn(){const d=Ce.useContext(IG);if(d===null)return[!0,null];const{isPresent:b,onExitComplete:m,register:v}=d,E=Ce.useId();return Ce.useEffect(()=>v(E),[]),!b&&m?[!1,()=>m&&m(E)]:[!0]}const hG={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function gun(d,b){return b.max===b.min?0:d/(b.max-b.min)*100}const sI={correct:(d,b)=>{if(!b.target)return d;if(typeof d=="string")if(Qi.test(d))d=parseFloat(d);else return d;const m=gun(d,b.target.x),v=gun(d,b.target.y);return`${m}% ${v}%`}},GFn={correct:(d,{treeScale:b,projectionDelta:m})=>{const v=d,E=K4.parse(d);if(E.length>5)return v;const M=K4.createTransformer(d),k=typeof E[0]!="number"?1:0,L=m.x.scale*b.x,N=m.y.scale*b.y;E[0+k]/=L,E[1+k]/=N;const B=bo(L,N,.5);return typeof E[2+k]=="number"&&(E[2+k]/=B),typeof E[3+k]=="number"&&(E[3+k]/=B),M(E)}};class zFn extends wG.Component{componentDidMount(){const{visualElement:b,layoutGroup:m,switchLayoutGroup:v,layoutId:E}=this.props,{projection:M}=b;XDn(WFn),M&&(m.group&&m.group.add(M),v&&v.register&&E&&v.register(M),M.root.didUpdate(),M.addEventListener("animationComplete",()=>{this.safeToRemove()}),M.setOptions({...M.options,onExitComplete:()=>this.safeToRemove()})),hG.hasEverUpdated=!0}getSnapshotBeforeUpdate(b){const{layoutDependency:m,visualElement:v,drag:E,isPresent:M}=this.props,k=v.projection;return k&&(k.isPresent=M,E||b.layoutDependency!==m||m===void 0?k.willUpdate():this.safeToRemove(),b.isPresent!==M&&(M?k.promote():k.relegate()||Ws.postRender(()=>{const L=k.getStack();(!L||!L.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:b}=this.props.visualElement;b&&(b.root.didUpdate(),Y0e.postRender(()=>{!b.currentAnimation&&b.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:b,layoutGroup:m,switchLayoutGroup:v}=this.props,{projection:E}=b;E&&(E.scheduleCheckAfterUnmount(),m&&m.group&&m.group.remove(E),v&&v.deregister&&v.deregister(E))}safeToRemove(){const{safeToRemove:b}=this.props;b&&b()}render(){return null}}function don(d){const[b,m]=VFn(),v=Ce.useContext(Z0e);return wG.createElement(zFn,{...d,layoutGroup:v,switchLayoutGroup:Ce.useContext(bsn),isPresent:b,safeToRemove:m})}const WFn={borderRadius:{...sI,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sI,borderTopRightRadius:sI,borderBottomLeftRadius:sI,borderBottomRightRadius:sI,boxShadow:GFn},bon=["TopLeft","TopRight","BottomLeft","BottomRight"],UFn=bon.length,pun=d=>typeof d=="string"?parseFloat(d):d,mun=d=>typeof d=="number"||Qi.test(d);function XFn(d,b,m,v,E,M){E?(d.opacity=bo(0,m.opacity!==void 0?m.opacity:1,YFn(v)),d.opacityExit=bo(b.opacity!==void 0?b.opacity:1,0,QFn(v))):M&&(d.opacity=bo(b.opacity!==void 0?b.opacity:1,m.opacity!==void 0?m.opacity:1,v));for(let k=0;kvb?1:m(yI(d,b,v))}function yun(d,b){d.min=b.min,d.max=b.max}function Mb(d,b){yun(d.x,b.x),yun(d.y,b.y)}function kun(d,b,m,v,E){return d-=b,d=TG(d,1/m,v),E!==void 0&&(d=TG(d,1/E,v)),d}function JFn(d,b=0,m=1,v=.5,E,M=d,k=d){if(Yp.test(b)&&(b=parseFloat(b),b=bo(k.min,k.max,b/100)-k.min),typeof b!="number")return;let L=bo(M.min,M.max,v);d===M&&(L-=b),d.min=kun(d.min,b,m,L,E),d.max=kun(d.max,b,m,L,E)}function jun(d,b,[m,v,E],M,k){JFn(d,b[m],b[v],b[E],b.scale,M,k)}const ZFn=["x","scaleX","originX"],eNn=["y","scaleY","originY"];function Eun(d,b,m,v){jun(d.x,b,ZFn,m?m.x:void 0,v?v.x:void 0),jun(d.y,b,eNn,m?m.y:void 0,v?v.y:void 0)}function Tun(d){return d.translate===0&&d.scale===1}function gon(d){return Tun(d.x)&&Tun(d.y)}function nNn(d,b){return d.x.min===b.x.min&&d.x.max===b.x.max&&d.y.min===b.y.min&&d.y.max===b.y.max}function pon(d,b){return Math.round(d.x.min)===Math.round(b.x.min)&&Math.round(d.x.max)===Math.round(b.x.max)&&Math.round(d.y.min)===Math.round(b.y.min)&&Math.round(d.y.max)===Math.round(b.y.max)}function Cun(d){return Xd(d.x)/Xd(d.y)}class tNn{constructor(){this.members=[]}add(b){pbe(this.members,b),b.scheduleRender()}remove(b){if(mbe(this.members,b),b===this.prevLead&&(this.prevLead=void 0),b===this.lead){const m=this.members[this.members.length-1];m&&this.promote(m)}}relegate(b){const m=this.members.findIndex(E=>b===E);if(m===0)return!1;let v;for(let E=m;E>=0;E--){const M=this.members[E];if(M.isPresent!==!1){v=M;break}}return v?(this.promote(v),!0):!1}promote(b,m){const v=this.lead;if(b!==v&&(this.prevLead=v,this.lead=b,b.show(),v)){v.instance&&v.scheduleRender(),b.scheduleRender(),b.resumeFrom=v,m&&(b.resumeFrom.preserveOpacity=!0),v.snapshot&&(b.snapshot=v.snapshot,b.snapshot.latestValues=v.animationValues||v.latestValues),b.root&&b.root.isUpdating&&(b.isLayoutDirty=!0);const{crossfade:E}=b.options;E===!1&&v.hide()}}exitAnimationComplete(){this.members.forEach(b=>{const{options:m,resumingFrom:v}=b;m.onExitComplete&&m.onExitComplete(),v&&v.options.onExitComplete&&v.options.onExitComplete()})}scheduleRender(){this.members.forEach(b=>{b.instance&&b.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Sun(d,b,m){let v="";const E=d.x.translate/b.x,M=d.y.translate/b.y;if((E||M)&&(v=`translate3d(${E}px, ${M}px, 0) `),(b.x!==1||b.y!==1)&&(v+=`scale(${1/b.x}, ${1/b.y}) `),m){const{rotate:N,rotateX:B,rotateY:H}=m;N&&(v+=`rotate(${N}deg) `),B&&(v+=`rotateX(${B}deg) `),H&&(v+=`rotateY(${H}deg) `)}const k=d.x.scale*b.x,L=d.y.scale*b.y;return(k!==1||L!==1)&&(v+=`scale(${k}, ${L})`),v||"none"}const iNn=(d,b)=>d.depth-b.depth;class rNn{constructor(){this.children=[],this.isDirty=!1}add(b){pbe(this.children,b),this.isDirty=!0}remove(b){mbe(this.children,b),this.isDirty=!0}forEach(b){this.isDirty&&this.children.sort(iNn),this.isDirty=!1,this.children.forEach(b)}}function cNn(d,b){const m=z9.now(),v=({timestamp:E})=>{const M=E-m;M>=b&&(_m(v),d(M-b))};return Ws.read(v,!0),()=>_m(v)}function uNn(d){window.MotionDebug&&window.MotionDebug.record(d)}function sNn(d){return d instanceof SVGElement&&d.tagName!=="svg"}function oNn(d,b,m){const v=F1(d)?d:ME(d);return v.start(gbe("",v,b,m)),v.animation}const Mun=["","X","Y","Z"],fNn={visibility:"hidden"},Pun=1e3;let lNn=0;const q9={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function mon({attachResizeListener:d,defaultParent:b,measureScroll:m,checkIsScrollRoot:v,resetTransform:E}){return class{constructor(k={},L=b==null?void 0:b()){this.id=lNn++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,q9.totalNodes=q9.resolvedTargetDeltas=q9.recalculatedProjection=0,this.nodes.forEach(dNn),this.nodes.forEach(mNn),this.nodes.forEach(vNn),this.nodes.forEach(bNn),uNn(q9)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=k,this.root=L?L.root||L:this,this.path=L?[...L.path,L]:[],this.parent=L,this.depth=L?L.depth+1:0;for(let N=0;Nthis.root.updateBlockedByResize=!1;d(k,()=>{this.root.updateBlockedByResize=!0,G&&G(),G=cNn(Y,250),hG.hasAnimatedSinceResize&&(hG.hasAnimatedSinceResize=!1,this.nodes.forEach(xun))})}N&&this.root.registerSharedNode(N,this),this.options.animate!==!1&&H&&(N||B)&&this.addEventListener("didUpdate",({delta:G,hasLayoutChanged:Y,hasRelativeTargetChanged:ne,layout:J})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const Re=this.options.transition||H.getDefaultTransition()||TNn,{onLayoutAnimationStart:cn,onLayoutAnimationComplete:kn}=H.getProps(),gn=!this.targetLayout||!pon(this.targetLayout,J)||ne,Ve=!Y&≠if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||Ve||Y&&(gn||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(G,Ve);const Cn={...wbe(Re,"layout"),onPlay:cn,onComplete:kn};(H.shouldReduceMotion||this.options.layoutRoot)&&(Cn.delay=0,Cn.type=!1),this.startAnimation(Cn)}else Y||xun(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=J})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const k=this.getStack();k&&k.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,_m(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(yNn),this.animationId++)}getTransformTemplate(){const{visualElement:k}=this.options;return k&&k.getProps().transformTemplate}willUpdate(k=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let H=0;Hthis.update()))}clearAllSnapshots(){this.nodes.forEach(wNn),this.sharedNodes.forEach(kNn)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ws.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ws.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let N=0;N{const rt=Cn/1e3;Oun(G.x,k.x,rt),Oun(G.y,k.y,rt),this.setTargetDelta(G),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pI(Y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jNn(this.relativeTarget,this.relativeTargetOrigin,Y,rt),Ve&&nNn(this.relativeTarget,Ve)&&(this.isProjectionDirty=!1),Ve||(Ve=wf()),Mb(Ve,this.relativeTarget)),Re&&(this.animationValues=H,XFn(H,B,this.latestValues,rt,gn,kn)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=rt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(k){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(_m(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ws.update(()=>{hG.hasAnimatedSinceResize=!0,this.currentAnimation=oNn(0,Pun,{...k,onUpdate:L=>{this.mixTargetDelta(L),k.onUpdate&&k.onUpdate(L)},onComplete:()=>{k.onComplete&&k.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const k=this.getStack();k&&k.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Pun),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const k=this.getLead();let{targetWithTransforms:L,target:N,layout:B,latestValues:H}=k;if(!(!L||!N||!B)){if(this!==k&&this.layout&&B&&von(this.options.animationType,this.layout.layoutBox,B.layoutBox)){N=this.target||wf();const G=Xd(this.layout.layoutBox.x);N.x.min=k.target.x.min,N.x.max=N.x.min+G;const Y=Xd(this.layout.layoutBox.y);N.y.min=k.target.y.min,N.y.max=N.y.min+Y}Mb(L,N),EE(L,H),gI(this.projectionDeltaWithTransform,this.layoutCorrected,L,H)}}registerSharedNode(k,L){this.sharedNodes.has(k)||this.sharedNodes.set(k,new tNn),this.sharedNodes.get(k).add(L);const B=L.options.initialPromotionConfig;L.promote({transition:B?B.transition:void 0,preserveFollowOpacity:B&&B.shouldPreserveFollowOpacity?B.shouldPreserveFollowOpacity(L):void 0})}isLead(){const k=this.getStack();return k?k.lead===this:!0}getLead(){var k;const{layoutId:L}=this.options;return L?((k=this.getStack())===null||k===void 0?void 0:k.lead)||this:this}getPrevLead(){var k;const{layoutId:L}=this.options;return L?(k=this.getStack())===null||k===void 0?void 0:k.prevLead:void 0}getStack(){const{layoutId:k}=this.options;if(k)return this.root.sharedNodes.get(k)}promote({needsReset:k,transition:L,preserveFollowOpacity:N}={}){const B=this.getStack();B&&B.promote(this,N),k&&(this.projectionDelta=void 0,this.needsReset=!0),L&&this.setOptions({transition:L})}relegate(){const k=this.getStack();return k?k.relegate(this):!1}resetRotation(){const{visualElement:k}=this.options;if(!k)return;let L=!1;const{latestValues:N}=k;if((N.rotate||N.rotateX||N.rotateY||N.rotateZ)&&(L=!0),!L)return;const B={};for(let H=0;H{var L;return(L=k.currentAnimation)===null||L===void 0?void 0:L.stop()}),this.root.nodes.forEach(Aun),this.root.sharedNodes.clear()}}}function aNn(d){d.updateLayout()}function hNn(d){var b;const m=((b=d.resumeFrom)===null||b===void 0?void 0:b.snapshot)||d.snapshot;if(d.isLead()&&d.layout&&m&&d.hasListeners("didUpdate")){const{layoutBox:v,measuredBox:E}=d.layout,{animationType:M}=d.options,k=m.source!==d.layout.source;M==="size"?Pb(G=>{const Y=k?m.measuredBox[G]:m.layoutBox[G],ne=Xd(Y);Y.min=v[G].min,Y.max=Y.min+ne}):von(M,m.layoutBox,v)&&Pb(G=>{const Y=k?m.measuredBox[G]:m.layoutBox[G],ne=Xd(v[G]);Y.max=Y.min+ne,d.relativeTarget&&!d.currentAnimation&&(d.isProjectionDirty=!0,d.relativeTarget[G].max=d.relativeTarget[G].min+ne)});const L=jE();gI(L,v,m.layoutBox);const N=jE();k?gI(N,d.applyTransform(E,!0),m.measuredBox):gI(N,v,m.layoutBox);const B=!gon(L);let H=!1;if(!d.resumeFrom){const G=d.getClosestProjectingParent();if(G&&!G.resumeFrom){const{snapshot:Y,layout:ne}=G;if(Y&&ne){const J=wf();pI(J,m.layoutBox,Y.layoutBox);const Re=wf();pI(Re,v,ne.layoutBox),pon(J,Re)||(H=!0),G.options.layoutRoot&&(d.relativeTarget=Re,d.relativeTargetOrigin=J,d.relativeParent=G)}}}d.notifyListeners("didUpdate",{layout:v,snapshot:m,delta:N,layoutDelta:L,hasLayoutChanged:B,hasRelativeTargetChanged:H})}else if(d.isLead()){const{onExitComplete:v}=d.options;v&&v()}d.options.transition=void 0}function dNn(d){q9.totalNodes++,d.parent&&(d.isProjecting()||(d.isProjectionDirty=d.parent.isProjectionDirty),d.isSharedProjectionDirty||(d.isSharedProjectionDirty=!!(d.isProjectionDirty||d.parent.isProjectionDirty||d.parent.isSharedProjectionDirty)),d.isTransformDirty||(d.isTransformDirty=d.parent.isTransformDirty))}function bNn(d){d.isProjectionDirty=d.isSharedProjectionDirty=d.isTransformDirty=!1}function wNn(d){d.clearSnapshot()}function Aun(d){d.clearMeasurements()}function gNn(d){d.isLayoutDirty=!1}function pNn(d){const{visualElement:b}=d.options;b&&b.getProps().onBeforeLayoutMeasure&&b.notify("BeforeLayoutMeasure"),d.resetTransform()}function xun(d){d.finishAnimation(),d.targetDelta=d.relativeTarget=d.target=void 0,d.isProjectionDirty=!0}function mNn(d){d.resolveTargetDelta()}function vNn(d){d.calcProjection()}function yNn(d){d.resetRotation()}function kNn(d){d.removeLeadSnapshot()}function Oun(d,b,m){d.translate=bo(b.translate,0,m),d.scale=bo(b.scale,1,m),d.origin=b.origin,d.originPoint=b.originPoint}function Iun(d,b,m,v){d.min=bo(b.min,m.min,v),d.max=bo(b.max,m.max,v)}function jNn(d,b,m,v){Iun(d.x,b.x,m.x,v),Iun(d.y,b.y,m.y,v)}function ENn(d){return d.animationValues&&d.animationValues.opacityExit!==void 0}const TNn={duration:.45,ease:[.4,0,.1,1]},Dun=d=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(d),Lun=Dun("applewebkit/")&&!Dun("chrome/")?Math.round:gf;function $un(d){d.min=Lun(d.min),d.max=Lun(d.max)}function CNn(d){$un(d.x),$un(d.y)}function von(d,b,m){return d==="position"||d==="preserve-aspect"&&!x0e(Cun(b),Cun(m),.2)}const SNn=mon({attachResizeListener:(d,b)=>Lm(d,"resize",b),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),d0e={current:void 0},yon=mon({measureScroll:d=>({x:d.scrollLeft,y:d.scrollTop}),defaultParent:()=>{if(!d0e.current){const d=new SNn({});d.mount(window),d.setOptions({layoutScroll:!0}),d0e.current=d}return d0e.current},resetTransform:(d,b)=>{d.style.transform=b!==void 0?b:"none"},checkIsScrollRoot:d=>window.getComputedStyle(d).position==="fixed"}),MNn={pan:{Feature:HFn},drag:{Feature:qFn,ProjectionNode:yon,MeasureLayout:don}},PNn=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ANn(d){const b=PNn.exec(d);if(!b)return[,];const[,m,v]=b;return[m,v]}function L0e(d,b,m=1){const[v,E]=ANn(d);if(!v)return;const M=window.getComputedStyle(b).getPropertyValue(v);if(M){const k=M.trim();return non(k)?parseFloat(k):k}else return pG(E)?L0e(E,b,m+1):E}function xNn(d,{...b},m){const v=d.current;if(!(v instanceof Element))return{target:b,transitionEnd:m};m&&(m={...m}),d.values.forEach(E=>{const M=E.get();if(!pG(M))return;const k=L0e(M,v);k&&E.set(k)});for(const E in b){const M=b[E];if(!pG(M))continue;const k=L0e(M,v);k&&(b[E]=k,m||(m={}),m[E]===void 0&&(m[E]=M))}return{target:b,transitionEnd:m}}const ONn=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),kon=d=>ONn.has(d),INn=d=>Object.keys(d).some(kon),Fun=d=>d===DE||d===Qi,Nun=(d,b)=>parseFloat(d.split(", ")[b]),_un=(d,b)=>(m,{transform:v})=>{if(v==="none"||!v)return 0;const E=v.match(/^matrix3d\((.+)\)$/);if(E)return Nun(E[1],b);{const M=v.match(/^matrix\((.+)\)$/);return M?Nun(M[1],d):0}},DNn=new Set(["x","y","z"]),LNn=EI.filter(d=>!DNn.has(d));function $Nn(d){const b=[];return LNn.forEach(m=>{const v=d.getValue(m);v!==void 0&&(b.push([m,v.get()]),v.set(m.startsWith("scale")?1:0))}),b.length&&d.render(),b}const PE={width:({x:d},{paddingLeft:b="0",paddingRight:m="0"})=>d.max-d.min-parseFloat(b)-parseFloat(m),height:({y:d},{paddingTop:b="0",paddingBottom:m="0"})=>d.max-d.min-parseFloat(b)-parseFloat(m),top:(d,{top:b})=>parseFloat(b),left:(d,{left:b})=>parseFloat(b),bottom:({y:d},{top:b})=>parseFloat(b)+(d.max-d.min),right:({x:d},{left:b})=>parseFloat(b)+(d.max-d.min),x:_un(4,13),y:_un(5,14)};PE.translateX=PE.x;PE.translateY=PE.y;const FNn=(d,b,m)=>{const v=b.measureViewportBox(),E=b.current,M=getComputedStyle(E),{display:k}=M,L={};k==="none"&&b.setStaticValue("display",d.display||"block"),m.forEach(B=>{L[B]=PE[B](v,M)}),b.render();const N=b.measureViewportBox();return m.forEach(B=>{const H=b.getValue(B);H&&H.jump(L[B]),d[B]=PE[B](N,M)}),d},NNn=(d,b,m={},v={})=>{b={...b},v={...v};const E=Object.keys(b).filter(kon);let M=[],k=!1;const L=[];if(E.forEach(N=>{const B=d.getValue(N);if(!d.hasValue(N))return;let H=m[N],G=uI(H);const Y=b[N];let ne;if(vG(Y)){const J=Y.length,Re=Y[0]===null?1:0;H=Y[Re],G=uI(H);for(let cn=Re;cn=0?window.pageYOffset:null,B=FNn(b,d,L);return M.length&&M.forEach(([H,G])=>{d.getValue(H).set(G)}),d.render(),DG&&N!==null&&window.scrollTo({top:N}),{target:B,transitionEnd:v}}else return{target:b,transitionEnd:v}};function _Nn(d,b,m,v){return INn(b)?NNn(d,b,m,v):{target:b,transitionEnd:v}}const BNn=(d,b,m,v)=>{const E=xNn(d,b,v);return b=E.target,v=E.transitionEnd,_Nn(d,b,m,v)},$0e={current:null},jon={current:!1};function RNn(){if(jon.current=!0,!!DG)if(window.matchMedia){const d=window.matchMedia("(prefers-reduced-motion)"),b=()=>$0e.current=d.matches;d.addListener(b),b()}else $0e.current=!1}function KNn(d,b,m){const{willChange:v}=b;for(const E in b){const M=b[E],k=m[E];if(F1(M))d.addValue(E,M),EG(v)&&v.add(E);else if(F1(k))d.addValue(E,ME(M,{owner:d})),EG(v)&&v.remove(E);else if(k!==M)if(d.hasValue(E)){const L=d.getValue(E);!L.hasAnimated&&L.set(M)}else{const L=d.getStaticValue(E);d.addValue(E,ME(L!==void 0?L:M,{owner:d}))}}for(const E in m)b[E]===void 0&&d.removeValue(E);return b}const Bun=new WeakMap,Eon=Object.keys(vI),qNn=Eon.length,Run=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],HNn=J0e.length;class VNn{constructor({parent:b,props:m,presenceContext:v,reducedMotionConfig:E,visualState:M},k={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ws.render(this.render,!1,!0);const{latestValues:L,renderState:N}=M;this.latestValues=L,this.baseTarget={...L},this.initialValues=m.initial?{...L}:{},this.renderState=N,this.parent=b,this.props=m,this.presenceContext=v,this.depth=b?b.depth+1:0,this.reducedMotionConfig=E,this.options=k,this.isControllingVariants=FG(m),this.isVariantNode=dsn(m),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(b&&b.current);const{willChange:B,...H}=this.scrapeMotionValuesFromProps(m,{});for(const G in H){const Y=H[G];L[G]!==void 0&&F1(Y)&&(Y.set(L[G],!1),EG(B)&&B.add(G))}}scrapeMotionValuesFromProps(b,m){return{}}mount(b){this.current=b,Bun.set(b,this),this.projection&&!this.projection.instance&&this.projection.mount(b),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((m,v)=>this.bindToMotionValue(v,m)),jon.current||RNn(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:$0e.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Bun.delete(this.current),this.projection&&this.projection.unmount(),_m(this.notifyUpdate),_m(this.render),this.valueSubscriptions.forEach(b=>b()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const b in this.events)this.events[b].clear();for(const b in this.features)this.features[b].unmount();this.current=null}bindToMotionValue(b,m){const v=X9.has(b),E=m.on("change",k=>{this.latestValues[b]=k,this.props.onUpdate&&Ws.update(this.notifyUpdate,!1,!0),v&&this.projection&&(this.projection.isTransformDirty=!0)}),M=m.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(b,()=>{E(),M()})}sortNodePosition(b){return!this.current||!this.sortInstanceNodePosition||this.type!==b.type?0:this.sortInstanceNodePosition(this.current,b.current)}loadFeatures({children:b,...m},v,E,M){let k,L;for(let N=0;Nthis.scheduleRender(),animationType:typeof B=="string"?B:"both",initialPromotionConfig:M,layoutScroll:Y,layoutRoot:ne})}return L}updateFeatures(){for(const b in this.features){const m=this.features[b];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):wf()}getStaticValue(b){return this.latestValues[b]}setStaticValue(b,m){this.latestValues[b]=m}makeTargetAnimatable(b,m=!0){return this.makeTargetAnimatableFromInstance(b,m)}update(b,m){(b.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=b,this.prevPresenceContext=this.presenceContext,this.presenceContext=m;for(let v=0;vm.variantChildren.delete(b)}addValue(b,m){m!==this.values.get(b)&&(this.removeValue(b),this.bindToMotionValue(b,m)),this.values.set(b,m),this.latestValues[b]=m.get()}removeValue(b){this.values.delete(b);const m=this.valueSubscriptions.get(b);m&&(m(),this.valueSubscriptions.delete(b)),delete this.latestValues[b],this.removeValueFromRenderState(b,this.renderState)}hasValue(b){return this.values.has(b)}getValue(b,m){if(this.props.values&&this.props.values[b])return this.props.values[b];let v=this.values.get(b);return v===void 0&&m!==void 0&&(v=ME(m,{owner:this}),this.addValue(b,v)),v}readValue(b){var m;return this.latestValues[b]!==void 0||!this.current?this.latestValues[b]:(m=this.getBaseTargetFromProps(this.props,b))!==null&&m!==void 0?m:this.readValueFromInstance(this.current,b,this.options)}setBaseTarget(b,m){this.baseTarget[b]=m}getBaseTarget(b){var m;const{initial:v}=this.props,E=typeof v=="string"||typeof v=="object"?(m=sbe(this.props,v))===null||m===void 0?void 0:m[b]:void 0;if(v&&E!==void 0)return E;const M=this.getBaseTargetFromProps(this.props,b);return M!==void 0&&!F1(M)?M:this.initialValues[b]!==void 0&&E===void 0?void 0:this.baseTarget[b]}on(b,m){return this.events[b]||(this.events[b]=new vbe),this.events[b].add(m)}notify(b,...m){this.events[b]&&this.events[b].notify(...m)}}class Ton extends VNn{sortInstanceNodePosition(b,m){return b.compareDocumentPosition(m)&2?1:-1}getBaseTargetFromProps(b,m){return b.style?b.style[m]:void 0}removeValueFromRenderState(b,{vars:m,style:v}){delete m[b],delete v[b]}makeTargetAnimatableFromInstance({transition:b,transitionEnd:m,...v},E){const M=oFn(v,b||{},this);if(E){uFn(this,v,M);const k=BNn(this,v,M,m);m=k.transitionEnd,v=k.target}return{transition:b,transitionEnd:m,...v}}}function GNn(d){return window.getComputedStyle(d)}class zNn extends Ton{constructor(){super(...arguments),this.type="html"}readValueFromInstance(b,m){if(X9.has(m)){const v=bbe(m);return v&&v.default||0}else{const v=GNn(b),E=(psn(m)?v.getPropertyValue(m):v[m])||0;return typeof E=="string"?E.trim():E}}measureInstanceViewportBox(b,{transformPagePoint:m}){return aon(b,m)}build(b,m,v,E){tbe(b,m,v,E.transformTemplate)}scrapeMotionValuesFromProps(b,m){return ube(b,m)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:b}=this.props;F1(b)&&(this.childSubscription=b.on("change",m=>{this.current&&(this.current.textContent=`${m}`)}))}renderInstance(b,m,v,E){jsn(b,m,v,E)}}class WNn extends Ton{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(b,m){return b[m]}readValueFromInstance(b,m){if(X9.has(m)){const v=bbe(m);return v&&v.default||0}return m=Esn.has(m)?m:X0e(m),b.getAttribute(m)}measureInstanceViewportBox(){return wf()}scrapeMotionValuesFromProps(b,m){return Csn(b,m)}build(b,m,v,E){rbe(b,m,v,this.isSVGTag,E.transformTemplate)}renderInstance(b,m,v,E){Tsn(b,m,v,E)}mount(b){this.isSVGTag=cbe(b.tagName),super.mount(b)}}const UNn=(d,b)=>ebe(d)?new WNn(b,{enableHardwareAcceleration:!1}):new zNn(b,{enableHardwareAcceleration:!0}),XNn={layout:{ProjectionNode:yon,MeasureLayout:don}},YNn={...jFn,...NLn,...MNn,...XNn},U9=WDn((d,b)=>TLn(d,b,YNn,UNn));function Con(){const d=Ce.useRef(!1);return LG(()=>(d.current=!0,()=>{d.current=!1}),[]),d}function QNn(){const d=Con(),[b,m]=Ce.useState(0),v=Ce.useCallback(()=>{d.current&&m(b+1)},[b]);return[Ce.useCallback(()=>Ws.postRender(v),[v]),b]}class JNn extends Ce.Component{getSnapshotBeforeUpdate(b){const m=this.props.childRef.current;if(m&&b.isPresent&&!this.props.isPresent){const v=this.props.sizeRef.current;v.height=m.offsetHeight||0,v.width=m.offsetWidth||0,v.top=m.offsetTop,v.left=m.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function ZNn({children:d,isPresent:b}){const m=Ce.useId(),v=Ce.useRef(null),E=Ce.useRef({width:0,height:0,top:0,left:0});return Ce.useInsertionEffect(()=>{const{width:M,height:k,top:L,left:N}=E.current;if(b||!v.current||!M||!k)return;v.current.dataset.motionPopId=m;const B=document.createElement("style");return document.head.appendChild(B),B.sheet&&B.sheet.insertRule(` + [data-motion-pop-id="${m}"] { + position: absolute !important; + width: ${M}px !important; + height: ${k}px !important; + top: ${L}px !important; + left: ${N}px !important; + } + `),()=>{document.head.removeChild(B)}},[b]),Ce.createElement(JNn,{isPresent:b,childRef:v,sizeRef:E},Ce.cloneElement(d,{ref:v}))}const b0e=({children:d,initial:b,isPresent:m,onExitComplete:v,custom:E,presenceAffectsLayout:M,mode:k})=>{const L=obe(e_n),N=Ce.useId(),B=Ce.useMemo(()=>({id:N,initial:b,isPresent:m,custom:E,onExitComplete:H=>{L.set(H,!0);for(const G of L.values())if(!G)return;v&&v()},register:H=>(L.set(H,!1),()=>L.delete(H))}),M?void 0:[m]);return Ce.useMemo(()=>{L.forEach((H,G)=>L.set(G,!1))},[m]),Ce.useEffect(()=>{!m&&!L.size&&v&&v()},[m]),k==="popLayout"&&(d=Ce.createElement(ZNn,{isPresent:m},d)),Ce.createElement(IG.Provider,{value:B},d)};function e_n(){return new Map}function n_n(d){return Ce.useEffect(()=>()=>d(),[])}const H9=d=>d.key||"";function t_n(d,b){d.forEach(m=>{const v=H9(m);b.set(v,m)})}function i_n(d){const b=[];return Ce.Children.forEach(d,m=>{Ce.isValidElement(m)&&b.push(m)}),b}const r_n=({children:d,custom:b,initial:m=!0,onExitComplete:v,exitBeforeEnter:E,presenceAffectsLayout:M=!0,mode:k="sync"})=>{const L=Ce.useContext(Z0e).forceRender||QNn()[0],N=Con(),B=i_n(d);let H=B;const G=Ce.useRef(new Map).current,Y=Ce.useRef(H),ne=Ce.useRef(new Map).current,J=Ce.useRef(!0);if(LG(()=>{J.current=!1,t_n(B,ne),Y.current=H}),n_n(()=>{J.current=!0,ne.clear(),G.clear()}),J.current)return Ce.createElement(Ce.Fragment,null,H.map(gn=>Ce.createElement(b0e,{key:H9(gn),isPresent:!0,initial:m?void 0:!1,presenceAffectsLayout:M,mode:k},gn)));H=[...H];const Re=Y.current.map(H9),cn=B.map(H9),kn=Re.length;for(let gn=0;gn{if(cn.indexOf(Ve)!==-1)return;const Cn=ne.get(Ve);if(!Cn)return;const rt=Re.indexOf(Ve);let Rt=gn;if(!Rt){const Wt=()=>{G.delete(Ve);const Tt=Array.from(ne.keys()).filter(Pi=>!cn.includes(Pi));if(Tt.forEach(Pi=>ne.delete(Pi)),Y.current=B.filter(Pi=>{const br=H9(Pi);return br===Ve||Tt.includes(br)}),!G.size){if(N.current===!1)return;L(),v&&v()}};Rt=Ce.createElement(b0e,{key:H9(Cn),isPresent:!1,onExitComplete:Wt,custom:b,presenceAffectsLayout:M,mode:k},Cn),G.set(Ve,Rt)}H.splice(rt,0,Rt)}),H=H.map(gn=>{const Ve=gn.key;return G.has(Ve)?gn:Ce.createElement(b0e,{key:H9(gn),isPresent:!0,presenceAffectsLayout:M,mode:k},gn)}),Ce.createElement(Ce.Fragment,null,G.size?H:H.map(gn=>Ce.cloneElement(gn)))};function c_n(d){d.values.forEach(b=>b.stop())}function u_n(){const d=new Set,b={subscribe(m){return d.add(m),()=>void d.delete(m)},start(m,v){const E=[];return d.forEach(M=>{E.push(con(M,m,{transitionOverride:v}))}),Promise.all(E)},set(m){return d.forEach(v=>{cFn(v,m)})},stop(){d.forEach(m=>{c_n(m)})},mount(){return()=>{b.stop()}}};return b}function s_n(){const d=obe(u_n);return LG(d.mount,[]),d}const o_n=s_n;var Son={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(d){(function(){var b={}.hasOwnProperty;function m(){for(var v=[],E=0;E=0)return 1;return 0}();function a_n(d){var b=!1;return function(){b||(b=!0,window.Promise.resolve().then(function(){b=!1,d()}))}}function h_n(d){var b=!1;return function(){b||(b=!0,setTimeout(function(){b=!1,d()},l_n))}}var d_n=MI&&window.Promise,b_n=d_n?a_n:h_n;function Mon(d){var b={};return d&&b.toString.call(d)==="[object Function]"}function Y9(d,b){if(d.nodeType!==1)return[];var m=d.ownerDocument.defaultView,v=m.getComputedStyle(d,null);return b?v[b]:v}function kbe(d){return d.nodeName==="HTML"?d:d.parentNode||d.host}function PI(d){if(!d)return document.body;switch(d.nodeName){case"HTML":case"BODY":return d.ownerDocument.body;case"#document":return d.body}var b=Y9(d),m=b.overflow,v=b.overflowX,E=b.overflowY;return/(auto|scroll|overlay)/.test(m+E+v)?d:PI(kbe(d))}function Pon(d){return d&&d.referenceNode?d.referenceNode:d}var Kun=MI&&!!(window.MSInputMethodContext&&document.documentMode),qun=MI&&/MSIE 10/.test(navigator.userAgent);function LE(d){return d===11?Kun:d===10?qun:Kun||qun}function AE(d){if(!d)return document.documentElement;for(var b=LE(10)?document.body:null,m=d.offsetParent||null;m===b&&d.nextElementSibling;)m=(d=d.nextElementSibling).offsetParent;var v=m&&m.nodeName;return!v||v==="BODY"||v==="HTML"?d?d.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(m.nodeName)!==-1&&Y9(m,"position")==="static"?AE(m):m}function w_n(d){var b=d.nodeName;return b==="BODY"?!1:b==="HTML"||AE(d.firstElementChild)===d}function F0e(d){return d.parentNode!==null?F0e(d.parentNode):d}function CG(d,b){if(!d||!d.nodeType||!b||!b.nodeType)return document.documentElement;var m=d.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_FOLLOWING,v=m?d:b,E=m?b:d,M=document.createRange();M.setStart(v,0),M.setEnd(E,0);var k=M.commonAncestorContainer;if(d!==k&&b!==k||v.contains(E))return w_n(k)?k:AE(k);var L=F0e(d);return L.host?CG(L.host,b):CG(d,F0e(b).host)}function xE(d){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",m=b==="top"?"scrollTop":"scrollLeft",v=d.nodeName;if(v==="BODY"||v==="HTML"){var E=d.ownerDocument.documentElement,M=d.ownerDocument.scrollingElement||E;return M[m]}return d[m]}function g_n(d,b){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,v=xE(b,"top"),E=xE(b,"left"),M=m?-1:1;return d.top+=v*M,d.bottom+=v*M,d.left+=E*M,d.right+=E*M,d}function Hun(d,b){var m=b==="x"?"Left":"Top",v=m==="Left"?"Right":"Bottom";return parseFloat(d["border"+m+"Width"])+parseFloat(d["border"+v+"Width"])}function Vun(d,b,m,v){return Math.max(b["offset"+d],b["scroll"+d],m["client"+d],m["offset"+d],m["scroll"+d],LE(10)?parseInt(m["offset"+d])+parseInt(v["margin"+(d==="Height"?"Top":"Left")])+parseInt(v["margin"+(d==="Height"?"Bottom":"Right")]):0)}function Aon(d){var b=d.body,m=d.documentElement,v=LE(10)&&getComputedStyle(m);return{height:Vun("Height",b,m,v),width:Vun("Width",b,m,v)}}var p_n=function(d,b){if(!(d instanceof b))throw new TypeError("Cannot call a class as a function")},m_n=function(){function d(b,m){for(var v=0;v2&&arguments[2]!==void 0?arguments[2]:!1,v=LE(10),E=b.nodeName==="HTML",M=N0e(d),k=N0e(b),L=PI(d),N=Y9(b),B=parseFloat(N.borderTopWidth),H=parseFloat(N.borderLeftWidth);m&&E&&(k.top=Math.max(k.top,0),k.left=Math.max(k.left,0));var G=q4({top:M.top-k.top-B,left:M.left-k.left-H,width:M.width,height:M.height});if(G.marginTop=0,G.marginLeft=0,!v&&E){var Y=parseFloat(N.marginTop),ne=parseFloat(N.marginLeft);G.top-=B-Y,G.bottom-=B-Y,G.left-=H-ne,G.right-=H-ne,G.marginTop=Y,G.marginLeft=ne}return(v&&!m?b.contains(L):b===L&&L.nodeName!=="BODY")&&(G=g_n(G,b)),G}function v_n(d){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=d.ownerDocument.documentElement,v=jbe(d,m),E=Math.max(m.clientWidth,window.innerWidth||0),M=Math.max(m.clientHeight,window.innerHeight||0),k=b?0:xE(m),L=b?0:xE(m,"left"),N={top:k-v.top+v.marginTop,left:L-v.left+v.marginLeft,width:E,height:M};return q4(N)}function xon(d){var b=d.nodeName;if(b==="BODY"||b==="HTML")return!1;if(Y9(d,"position")==="fixed")return!0;var m=kbe(d);return m?xon(m):!1}function Oon(d){if(!d||!d.parentElement||LE())return document.documentElement;for(var b=d.parentElement;b&&Y9(b,"transform")==="none";)b=b.parentElement;return b||document.documentElement}function Ebe(d,b,m,v){var E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,M={top:0,left:0},k=E?Oon(d):CG(d,Pon(b));if(v==="viewport")M=v_n(k,E);else{var L=void 0;v==="scrollParent"?(L=PI(kbe(b)),L.nodeName==="BODY"&&(L=d.ownerDocument.documentElement)):v==="window"?L=d.ownerDocument.documentElement:L=v;var N=jbe(L,k,E);if(L.nodeName==="HTML"&&!xon(k)){var B=Aon(d.ownerDocument),H=B.height,G=B.width;M.top+=N.top-N.marginTop,M.bottom=H+N.top,M.left+=N.left-N.marginLeft,M.right=G+N.left}else M=N}m=m||0;var Y=typeof m=="number";return M.left+=Y?m:m.left||0,M.top+=Y?m:m.top||0,M.right-=Y?m:m.right||0,M.bottom-=Y?m:m.bottom||0,M}function y_n(d){var b=d.width,m=d.height;return b*m}function Ion(d,b,m,v,E){var M=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(d.indexOf("auto")===-1)return d;var k=Ebe(m,v,M,E),L={top:{width:k.width,height:b.top-k.top},right:{width:k.right-b.right,height:k.height},bottom:{width:k.width,height:k.bottom-b.bottom},left:{width:b.left-k.left,height:k.height}},N=Object.keys(L).map(function(Y){return Ab({key:Y},L[Y],{area:y_n(L[Y])})}).sort(function(Y,ne){return ne.area-Y.area}),B=N.filter(function(Y){var ne=Y.width,J=Y.height;return ne>=m.clientWidth&&J>=m.clientHeight}),H=B.length>0?B[0].key:N[0].key,G=d.split("-")[1];return H+(G?"-"+G:"")}function Don(d,b,m){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,E=v?Oon(b):CG(b,Pon(m));return jbe(m,E,v)}function Lon(d){var b=d.ownerDocument.defaultView,m=b.getComputedStyle(d),v=parseFloat(m.marginTop||0)+parseFloat(m.marginBottom||0),E=parseFloat(m.marginLeft||0)+parseFloat(m.marginRight||0),M={width:d.offsetWidth+E,height:d.offsetHeight+v};return M}function SG(d){var b={left:"right",right:"left",bottom:"top",top:"bottom"};return d.replace(/left|right|bottom|top/g,function(m){return b[m]})}function $on(d,b,m){m=m.split("-")[0];var v=Lon(d),E={width:v.width,height:v.height},M=["right","left"].indexOf(m)!==-1,k=M?"top":"left",L=M?"left":"top",N=M?"height":"width",B=M?"width":"height";return E[k]=b[k]+b[N]/2-v[N]/2,m===L?E[L]=b[L]-v[B]:E[L]=b[SG(L)],E}function AI(d,b){return Array.prototype.find?d.find(b):d.filter(b)[0]}function k_n(d,b,m){if(Array.prototype.findIndex)return d.findIndex(function(E){return E[b]===m});var v=AI(d,function(E){return E[b]===m});return d.indexOf(v)}function Fon(d,b,m){var v=m===void 0?d:d.slice(0,k_n(d,"name",m));return v.forEach(function(E){E.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var M=E.function||E.fn;E.enabled&&Mon(M)&&(b.offsets.popper=q4(b.offsets.popper),b.offsets.reference=q4(b.offsets.reference),b=M(b,E))}),b}function j_n(){if(!this.state.isDestroyed){var d={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};d.offsets.reference=Don(this.state,this.popper,this.reference,this.options.positionFixed),d.placement=Ion(this.options.placement,d.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),d.originalPlacement=d.placement,d.positionFixed=this.options.positionFixed,d.offsets.popper=$on(this.popper,d.offsets.reference,d.placement),d.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",d=Fon(this.modifiers,d),this.state.isCreated?this.options.onUpdate(d):(this.state.isCreated=!0,this.options.onCreate(d))}}function Non(d,b){return d.some(function(m){var v=m.name,E=m.enabled;return E&&v===b})}function Tbe(d){for(var b=[!1,"ms","Webkit","Moz","O"],m=d.charAt(0).toUpperCase()+d.slice(1),v=0;vk[ne]&&(d.offsets.popper[G]+=L[G]+J-k[ne]),d.offsets.popper=q4(d.offsets.popper);var Re=L[G]+L[B]/2-J/2,cn=Y9(d.instance.popper),kn=parseFloat(cn["margin"+H]),gn=parseFloat(cn["border"+H+"Width"]),Ve=Re-d.offsets.popper[G]-kn-gn;return Ve=Math.max(Math.min(k[B]-J,Ve),0),d.arrowElement=v,d.offsets.arrow=(m={},OE(m,G,Math.round(Ve)),OE(m,Y,""),m),d}function $_n(d){return d==="end"?"start":d==="start"?"end":d}var Kon=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],w0e=Kon.slice(3);function Gun(d){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=w0e.indexOf(d),v=w0e.slice(m+1).concat(w0e.slice(0,m));return b?v.reverse():v}var g0e={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function F_n(d,b){if(Non(d.instance.modifiers,"inner")||d.flipped&&d.placement===d.originalPlacement)return d;var m=Ebe(d.instance.popper,d.instance.reference,b.padding,b.boundariesElement,d.positionFixed),v=d.placement.split("-")[0],E=SG(v),M=d.placement.split("-")[1]||"",k=[];switch(b.behavior){case g0e.FLIP:k=[v,E];break;case g0e.CLOCKWISE:k=Gun(v);break;case g0e.COUNTERCLOCKWISE:k=Gun(v,!0);break;default:k=b.behavior}return k.forEach(function(L,N){if(v!==L||k.length===N+1)return d;v=d.placement.split("-")[0],E=SG(v);var B=d.offsets.popper,H=d.offsets.reference,G=Math.floor,Y=v==="left"&&G(B.right)>G(H.left)||v==="right"&&G(B.left)G(H.top)||v==="bottom"&&G(B.top)G(m.right),Re=G(B.top)G(m.bottom),kn=v==="left"&&ne||v==="right"&&J||v==="top"&&Re||v==="bottom"&&cn,gn=["top","bottom"].indexOf(v)!==-1,Ve=!!b.flipVariations&&(gn&&M==="start"&&ne||gn&&M==="end"&&J||!gn&&M==="start"&&Re||!gn&&M==="end"&&cn),Cn=!!b.flipVariationsByContent&&(gn&&M==="start"&&J||gn&&M==="end"&&ne||!gn&&M==="start"&&cn||!gn&&M==="end"&&Re),rt=Ve||Cn;(Y||kn||rt)&&(d.flipped=!0,(Y||kn)&&(v=k[N+1]),rt&&(M=$_n(M)),d.placement=v+(M?"-"+M:""),d.offsets.popper=Ab({},d.offsets.popper,$on(d.instance.popper,d.offsets.reference,d.placement)),d=Fon(d.instance.modifiers,d,"flip"))}),d}function N_n(d){var b=d.offsets,m=b.popper,v=b.reference,E=d.placement.split("-")[0],M=Math.floor,k=["top","bottom"].indexOf(E)!==-1,L=k?"right":"bottom",N=k?"left":"top",B=k?"width":"height";return m[L]M(v[L])&&(d.offsets.popper[N]=M(v[L])),d}function __n(d,b,m,v){var E=d.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),M=+E[1],k=E[2];if(!M)return d;if(k.indexOf("%")===0){var L=void 0;switch(k){case"%p":L=m;break;case"%":case"%r":default:L=v}var N=q4(L);return N[b]/100*M}else if(k==="vh"||k==="vw"){var B=void 0;return k==="vh"?B=Math.max(document.documentElement.clientHeight,window.innerHeight||0):B=Math.max(document.documentElement.clientWidth,window.innerWidth||0),B/100*M}else return M}function B_n(d,b,m,v){var E=[0,0],M=["right","left"].indexOf(v)!==-1,k=d.split(/(\+|\-)/).map(function(H){return H.trim()}),L=k.indexOf(AI(k,function(H){return H.search(/,|\s/)!==-1}));k[L]&&k[L].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var N=/\s*,\s*|\s+/,B=L!==-1?[k.slice(0,L).concat([k[L].split(N)[0]]),[k[L].split(N)[1]].concat(k.slice(L+1))]:[k];return B=B.map(function(H,G){var Y=(G===1?!M:M)?"height":"width",ne=!1;return H.reduce(function(J,Re){return J[J.length-1]===""&&["+","-"].indexOf(Re)!==-1?(J[J.length-1]=Re,ne=!0,J):ne?(J[J.length-1]+=Re,ne=!1,J):J.concat(Re)},[]).map(function(J){return __n(J,Y,b,m)})}),B.forEach(function(H,G){H.forEach(function(Y,ne){Cbe(Y)&&(E[G]+=Y*(H[ne-1]==="-"?-1:1))})}),E}function R_n(d,b){var m=b.offset,v=d.placement,E=d.offsets,M=E.popper,k=E.reference,L=v.split("-")[0],N=void 0;return Cbe(+m)?N=[+m,0]:N=B_n(m,M,k,L),L==="left"?(M.top+=N[0],M.left-=N[1]):L==="right"?(M.top+=N[0],M.left+=N[1]):L==="top"?(M.left+=N[0],M.top-=N[1]):L==="bottom"&&(M.left+=N[0],M.top+=N[1]),d.popper=M,d}function K_n(d,b){var m=b.boundariesElement||AE(d.instance.popper);d.instance.reference===m&&(m=AE(m));var v=Tbe("transform"),E=d.instance.popper.style,M=E.top,k=E.left,L=E[v];E.top="",E.left="",E[v]="";var N=Ebe(d.instance.popper,d.instance.reference,b.padding,m,d.positionFixed);E.top=M,E.left=k,E[v]=L,b.boundaries=N;var B=b.priority,H=d.offsets.popper,G={primary:function(ne){var J=H[ne];return H[ne]N[ne]&&!b.escapeWithReference&&(Re=Math.min(H[J],N[ne]-(ne==="right"?H.width:H.height))),OE({},J,Re)}};return B.forEach(function(Y){var ne=["left","top"].indexOf(Y)!==-1?"primary":"secondary";H=Ab({},H,G[ne](Y))}),d.offsets.popper=H,d}function q_n(d){var b=d.placement,m=b.split("-")[0],v=b.split("-")[1];if(v){var E=d.offsets,M=E.reference,k=E.popper,L=["bottom","top"].indexOf(m)!==-1,N=L?"left":"top",B=L?"width":"height",H={start:OE({},N,M[N]),end:OE({},N,M[N]+M[B]-k[B])};d.offsets.popper=Ab({},k,H[v])}return d}function H_n(d){if(!Ron(d.instance.modifiers,"hide","preventOverflow"))return d;var b=d.offsets.reference,m=AI(d.instance.modifiers,function(v){return v.name==="preventOverflow"}).boundaries;if(b.bottomm.right||b.top>m.bottom||b.right2&&arguments[2]!==void 0?arguments[2]:{};p_n(this,d),this.scheduleUpdate=function(){return requestAnimationFrame(v.update)},this.update=b_n(this.update.bind(this)),this.options=Ab({},d.Defaults,E),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=b&&b.jquery?b[0]:b,this.popper=m&&m.jquery?m[0]:m,this.options.modifiers={},Object.keys(Ab({},d.Defaults.modifiers,E.modifiers)).forEach(function(k){v.options.modifiers[k]=Ab({},d.Defaults.modifiers[k]||{},E.modifiers?E.modifiers[k]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(k){return Ab({name:k},v.options.modifiers[k])}).sort(function(k,L){return k.order-L.order}),this.modifiers.forEach(function(k){k.enabled&&Mon(k.onLoad)&&k.onLoad(v.reference,v.popper,v.options,k,v.state)}),this.update();var M=this.options.eventsEnabled;M&&this.enableEventListeners(),this.state.eventsEnabled=M}return m_n(d,[{key:"update",value:function(){return j_n.call(this)}},{key:"destroy",value:function(){return E_n.call(this)}},{key:"enableEventListeners",value:function(){return C_n.call(this)}},{key:"disableEventListeners",value:function(){return M_n.call(this)}}]),d}();BG.Utils=(typeof window<"u"?window:global).PopperUtils;BG.placements=Kon;BG.Defaults=z_n;const W_n=BG;(function(){try{if(typeof document<"u"){var d=document.createElement("style");d.appendChild(document.createTextNode(`._backdrop_uxwv8_1 { + position: fixed; + background: var(--color-layer-transparent); + top: 0; + bottom: 0; + right: 0; + left: 0; + opacity: 0; + user-select: none; +}`)),document.head.appendChild(d)}}catch(b){console.error("vite-plugin-css-injected-by-js",b)}})();const U_n=({ref:d,open:b=!0,onClickOutside:m,onEscape:v})=>{Ce.useEffect(()=>{if(!b)return;const E=k=>{d.current&&!d.current.contains(k.target)&&(m==null||m(k))},M=k=>{k.code==="Escape"&&(v==null||v(k))};return m&&(document.addEventListener("mousedown",E),document.addEventListener("touchstart",E)),v&&document.addEventListener("keydown",M),()=>{m&&(document.removeEventListener("mousedown",E),document.removeEventListener("touchstart",E)),v&&document.removeEventListener("keydown",M)}},[d,m,v,b])},X_n=Ce.createContext({close:()=>{}});let Y_n=0;const Q_n=()=>`ref-${++Y_n}`,Sbe=d=>{const[b]=Ce.useState(d||Q_n());return`${b}`},J_n=d=>{const b=Ce.useRef(d);b.current=d,Ce.useLayoutEffect(()=>()=>b.current(),[])},Z_n=Ce.forwardRef(({children:d,className:b,element:m="div",onMount:v,onUnmount:E},M)=>{const k=Ce.useRef(null),L=Ce.useRef(!1);return Ce.useEffect(()=>{b&&k.current&&k.current.setAttribute("class",`${b} rdk-portal`)},[b,k.current]),Ce.useLayoutEffect(()=>{k.current=document.createElement(m),v==null||v()},[]),J_n(()=>{E==null||E();const N=k.current;N&&document.body.contains(N)&&document.body.removeChild(N)}),Ce.useImperativeHandle(M,()=>k.current),k.current?(L.current||(L.current=!0,k.current.classList.add("rdk-portal"),document.body.appendChild(k.current)),$Dn.createPortal(d,k.current)):null}),TE=[],eBn=990,qon=Ce.forwardRef(({className:d,children:b,onMount:m,onUnmount:v,appendToBody:E,id:M},k)=>{let L=Sbe(M);const[N,B]=Ce.useState(null),[H,G]=Ce.useState(null),Y=Ce.useRef(null);return Ce.useImperativeHandle(k,()=>Y.current),xt.jsx(Z_n,{className:d,ref:Y,appendToBody:E,onMount:()=>{TE.push(L);let ne=TE.indexOf(L);B(ne);const J=eBn+ne*2+1;G(J),m==null||m({portalId:L,overlayIndex:J,portalIndex:ne,backdropIndex:J})},onUnmount:()=>{v==null||v(),TE.splice(TE.indexOf(L),1),B(null),G(null)},children:b({overlayIndex:H,portalIndex:N,backdropIndex:H,portalId:L})})});qon.defaultProps={appendToBody:!0};const nBn=Ce.forwardRef(({children:d,className:b,elementType:m="span",trigger:v=["click"],onOpen:E=()=>{},onClose:M=()=>{}},k)=>{const L=Ce.useCallback(cn=>Array.isArray(v)?v.includes(cn):cn===v,[v]),N=Ce.useCallback(cn=>{L("focus")&&E({type:"focus",nativeEvent:cn})},[E,L]),B=Ce.useCallback(cn=>{L("focus")&&M({type:"focus",nativeEvent:cn})},[M,L]),H=Ce.useCallback(cn=>{L("hover")&&E({type:"hover",nativeEvent:cn})},[E,L]),G=Ce.useCallback(cn=>{L("hover")&&M({type:"hover",nativeEvent:cn})},[M,L]),Y=Ce.useCallback(cn=>{L("click")&&E({type:"click",nativeEvent:cn}),L("click")||M({type:"hover",nativeEvent:cn})},[E,M,L]),ne=Ce.useCallback(cn=>{L("contextmenu")&&(cn.preventDefault(),E({type:"contextmenu",nativeEvent:cn}))},[E]),J=L("focus")?-1:void 0,Re=m;return xt.jsx(Re,{ref:k,tabIndex:J,onMouseEnter:H,onMouseLeave:G,onFocus:N,onBlur:B,onClick:Y,onContextMenu:ne,className:b,children:d})}),tBn=(d,{followCursor:b,placement:m,modifiers:v}={})=>{const E=Ce.useRef(null),M=Ce.useRef(null),k=Ce.useRef({pageX:0,pageY:0}),L=d.current,N=Ce.useMemo(()=>{const B=d;if(B.current!==void 0)return B.current;const H=d;if(b)return{getBoundingClientRect:()=>({top:k.current.pageY,right:k.current.pageX,bottom:k.current.pageY,left:k.current.pageX,width:0,height:0}),clientWidth:0,clientHeight:0};if(H&&!H.getBoundingClientRect){const{top:G,left:Y,width:ne,height:J}=d;return{getBoundingClientRect:()=>({top:G,left:Y,width:ne,bottom:G-J,right:Y-ne,height:J}),clientWidth:ne,clientHeight:J}}return H},[b,d,L,k]);return Ce.useLayoutEffect(()=>{let B;const H=({pageX:Y,pageY:ne})=>{var J;k.current={pageX:Y,pageY:ne},(J=M.current)==null||J.scheduleUpdate()},G=()=>{B=requestAnimationFrame(()=>{var Y;(Y=M.current)==null||Y.scheduleUpdate()})};return E.current&&N&&(M.current=new W_n(N,E.current,{placement:m||"top",modifiers:v||{},onCreate:()=>{window.addEventListener("scroll",G),b&&window.addEventListener("mousemove",H)}})),()=>{var Y;E.current||((Y=M.current)==null||Y.destroy(),cancelAnimationFrame(B),window.removeEventListener("scroll",G),b&&window.removeEventListener("mousemove",H))}},[E.current]),Ce.useLayoutEffect(()=>{M.current&&(M.current.reference=N,M.current.scheduleUpdate())},[N]),[E,M]};function xh({children:d,element:b,childRef:m,...v}){const E=Ce.useMemo(()=>L=>{const N=b.props;return Object.keys(L).reduce((B,H)=>{const G=L[H],Y=N[H];return typeof G=="function"&&typeof Y=="function"?B[H]=(...ne)=>{G(...ne),Y(...ne)}:H==="className"?B[H]=xb(G,Y):B[H]=G,B},{})},[v]);if(b===null)return d;const M=m?L=>{typeof m=="function"?m(L):M&&(m.current=L)}:void 0,k=E(v);return Ce.cloneElement(b,{...b.props,...k,children:d,ref:M})}const Hon=Ce.forwardRef(({triggerRef:d,children:b,portalClassName:m,closeOnBodyClick:v,closeOnEscape:E,elementType:M,appendToBody:k,followCursor:L,modifiers:N,placement:B,onClose:H},G)=>{const Y=Sbe(),[ne,J]=Ce.useState(null),[Re,cn]=tBn(d,{followCursor:L,modifiers:N,placement:B});Ce.useImperativeHandle(G,()=>({updatePosition:()=>{var Ve;(Ve=cn==null?void 0:cn.current)==null||Ve.scheduleUpdate()}}));const kn=Ce.useCallback(Ve=>{if(v){let Cn=null;d.current?Cn=d.current:d.contains!==void 0&&(Cn=d);const rt=Ve.target.closest(".rdk-portal"),Rt=TE.indexOf(Y)===TE.length-1;!(Cn!=null&&Cn.contains(Ve.target))&&(Rt||!rt)&&(H==null||H(Ve))}},[v,H]),gn=Ce.useCallback(()=>{E&&(H==null||H())},[E,H]);return U_n({open:!0,ref:Re,onClickOutside:kn,onEscape:gn}),Ce.useEffect(()=>{Re&&ne&&(Re.current.style.zIndex=ne)},[Re.current,ne]),xt.jsx(qon,{id:Y,ref:Re,className:m,elementType:M,appendToBody:k,onMount:Ve=>J(Ve.overlayIndex),onUnmount:()=>J(null),children:b})});Hon.defaultProps={closeOnBodyClick:!0,closeOnEscape:!0,appendToBody:!0,placement:"bottom"};const iBn=Ce.forwardRef(({reference:d,children:b,open:m,content:v,triggerElement:E,triggerClassName:M,trigger:k,onOpen:L,onClose:N,...B},H)=>{const G=Ce.useRef(!1),Y=Ce.useRef(null),ne=Ce.useRef(null),J=d||Y;Ce.useImperativeHandle(H,()=>({updatePosition:()=>{var cn;(cn=ne.current)==null||cn.updatePosition()}})),Ce.useEffect(()=>{G.current&&(m?L==null||L():N==null||N())},[m]),Ce.useEffect(()=>{G.current||(G.current=!0)});const Re=Ce.useMemo(()=>({close:()=>N==null?void 0:N()}),[N]);return xt.jsxs(X_n.Provider,{value:Re,children:[b&&xt.jsx(Ce.Fragment,{children:k?xt.jsx(nBn,{elementType:E,ref:Y,className:M,trigger:k,onOpen:L,onClose:N,children:b}):b}),xt.jsx(r_n,{children:m&&xt.jsx(Hon,{...B,ref:ne,triggerRef:J,onClose:N,children:v})})]})});iBn.defaultProps={trigger:"click"};function B0e(d,b){return d.map(function(m,v){return m+b[v]})}function Mbe(d,b){return d.map(function(m,v){return m-b[v]})}function kI(d){return Math.hypot.apply(Math,d)}function Von(d,b){b===void 0&&(b=d);var m=kI(b),v=m===0?0:1/m,E=b.map(function(k){return v*k}),M=kI(d);return{distance:M,direction:E}}function Gon(d,b,m){var v=kI(b),E=v===0?0:1/v,M=m===0?0:1/m,k=M*v,L=b.map(function(H){return M*H}),N=b.map(function(H){return E*H}),B=kI(d);return{velocities:L,velocity:k,distance:B,direction:N}}function MG(d){return Math.sign?Math.sign(d):+(d>0)-+(d<0)||+d}function rBn(d,b,m){return Math.max(b,Math.min(d,m))}function cBn(d,b){return Math.pow(d,b*5)}function zun(d,b,m){return b===0||Math.abs(b)===1/0?cBn(d,m):d*b*m/(b+m*d)}function Wun(d,b,m,v){return v===void 0&&(v=.15),v===0?rBn(d,b,m):dm?+zun(d-m,m-b,v)+m:d}function Uun(d,b){for(var m=0;m=0)&&(m[E]=d[E]);return m}function bs(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function oBn(d,b){if(d){if(typeof d=="string")return Xun(d,b);var m=Object.prototype.toString.call(d).slice(8,-1);if(m==="Object"&&d.constructor&&(m=d.constructor.name),m==="Map"||m==="Set")return Array.from(d);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return Xun(d,b)}}function Xun(d,b){(b==null||b>d.length)&&(b=d.length);for(var m=0,v=new Array(b);m"u"||d[Symbol.iterator]==null){if(Array.isArray(d)||(m=oBn(d))||b&&d&&typeof d.length=="number"){m&&(d=m);var v=0;return function(){return v>=d.length?{done:!0}:{done:!1,value:d[v++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return m=d[Symbol.iterator](),m.next.bind(m)}function zon(){}function Won(){for(var d=arguments.length,b=new Array(d),m=0;m1?b-1:0),v=1;v0,H},swipeVelocity:function(b){return b===void 0&&(b=aBn),_4(b)},swipeDistance:function(b){return b===void 0&&(b=hBn),_4(b)},delay:function(b){switch(b===void 0&&(b=0),b){case!0:return fBn;case!1:return 0;default:return b}}});function Xon(d){return d===void 0&&(d={}),xI(d,bBn)}function p0e(d){return d===void 0&&(d={}),xI(d,Pbe)}function pBn(d){return d===void 0&&(d={}),xI(d,wBn)}function Yon(d){return d===void 0&&(d={}),xI(d,gBn)}function mBn(d){var b=d.domTarget,m=d.eventOptions,v=d.window,E=d.enabled,M=sBn(d,["domTarget","eventOptions","window","enabled"]),k=Xon({domTarget:b,eventOptions:m,window:v,enabled:E});return k.drag=Yon(M),k}function vBn(d,b){d===void 0&&(d={}),b===void 0&&(b=new Set);var m=d,v=m.drag,E=m.wheel,M=m.move,k=m.scroll,L=m.pinch,N=m.hover,B=m.eventOptions,H=m.window,G=m.domTarget,Y=m.enabled,ne=Xon({eventOptions:B,window:H,domTarget:G,enabled:Y});return b.has("onDrag")&&(ne.drag=Yon(v)),b.has("onWheel")&&(ne.wheel=p0e(E)),b.has("onScroll")&&(ne.scroll=p0e(k)),b.has("onMove")&&(ne.move=p0e(M)),b.has("onPinch")&&(ne.pinch=pBn(L)),b.has("onHover")&&(ne.hover=mc({enabled:!0},N)),ne}function oI(d){return mc({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:zon,canceled:!1,memo:void 0,args:void 0},d)}function Qon(){var d={hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},b=oI({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),m=oI({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),v=oI({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),E=oI({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),M=oI({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:d,drag:b,pinch:m,wheel:v,move:E,scroll:M}}var Ud=new Map,Jon=function(){function d(m,v){var E=this;v===void 0&&(v=[]),this.controller=m,this.args=v,this.debounced=!0,this.setTimeout=function(M,k){var L;k===void 0&&(k=140),clearTimeout(E.controller.timeouts[E.stateKey]);for(var N=arguments.length,B=new Array(N>2?N-2:0),H=2;H=b?MG(d)*b:!1}function Jun(d,b,m){var v=b[0],E=b[1],M=m[0],k=m[1],L=d[0],N=L[0],B=L[1],H=d[1],G=H[0],Y=H[1];return[Wun(v,N,B,M),Wun(E,G,Y,k)]}function ll(d,b,m){var v=d.state,E=d.args,M=b.timeStamp,k=b.type,L=v.values,N=m?0:M-v.startTime;return{_lastEventType:k,event:b,timeStamp:M,elapsedTime:N,args:E,previous:L}}function W9(d,b,m){var v=d.state.offset,E=m.timeStamp;return mc({},Qon()[d.stateKey],{_active:!0,values:b,initial:b,offset:v,lastOffset:v,startTime:E})}function yBn(d,b){return function(m){for(var v=arguments.length,E=new Array(v>1?v-1:0),M=1;MN?"x":L0?b:m}return null}function Wd(d){var b="buttons"in d?d.buttons:0,m=ifn(d),v=m&&m.length||0,E=v>0||b>0,M=d.shiftKey,k=d.altKey,L=d.metaKey,N=d.ctrlKey;return{touches:v,down:E,buttons:b,shiftKey:M,altKey:k,metaKey:L,ctrlKey:N}}function SE(d){var b=ifn(d),m=b?b[0]:d,v=m.clientX,E=m.clientY;return[v,E]}function IBn(d){var b=d.currentTarget,m=b.scrollX,v=b.scrollY,E=b.scrollLeft,M=b.scrollTop;return[m||E||0,v||M||0]}function rfn(d){var b=d.deltaX,m=d.deltaY;return[b,m]}function Zun(d){return[d.scale*ABn,d.rotation]}function esn(d){var b,m=d.targetTouches,v=m[0],E=m[1],M=E.clientX-v.clientX,k=E.clientY-v.clientY,L=(E.clientX+v.clientX)/2,N=(E.clientY+v.clientY)/2,B="nativeEvent"in d?d.nativeEvent:d,H=Math.hypot(M,k),G=(b=B.rotation)!=null?b:-(Math.atan2(M,k)*180)/Math.PI,Y=[H,G],ne=[L,N];return{values:Y,origin:ne}}var DBn=3,LBn=220,cfn=function(d){Q9(b,d);function b(){var v;return v=d.apply(this,arguments)||this,v.ingKey="dragging",v.stateKey="drag",v.onDragStart=function(E){!v.enabled||v.state._active||(TBn(v.controller,v.stateKey,[["pointermove",v.onDragChange],["pointerup",v.onDragEnd],["pointercancel",v.onDragEnd]]),v.updateGestureState({_pointerId:E.pointerId}),v.config.delay>0?(v.state._delayedEvent=!0,"persist"in E&&typeof E.persist=="function"&&E.persist(),v.setTimeout(v.startDrag.bind(bs(v)),v.config.delay,E)):v.startDrag(E))},v.onDragChange=function(E){if(!v.state.canceled&&E.pointerId===v.state._pointerId){if(!v.state._active){v.state._delayedEvent&&(v.clearTimeout(),v.startDrag(E));return}var M=Wd(E);if(!M.down){v.onDragEnd(E);return}v.updateSharedState(M);var k=SE(E),L=v.getKinematics(k,E),N=ll(bs(v),E),B=v.state._isTap,H=kI(L._movement);B&&H>=DBn&&(B=!1),v.updateGestureState(mc({},N,L,{_isTap:B})),v.fireGestureHandler()}},v.onDragEnd=function(E){if(E.pointerId===v.state._pointerId){v.state._active=!1,v.updateSharedState({down:!1,buttons:0,touches:0});var M=v.state._isTap,k=v.state.velocities,L=k[0],N=k[1],B=v.state.movement,H=B[0],G=B[1],Y=v.state._intentional,ne=Y[0],J=Y[1],Re=v.config.swipeVelocity,cn=Re[0],kn=Re[1],gn=v.config.swipeDistance,Ve=gn[0],Cn=gn[1],rt=mc({},ll(bs(v),E),v.getMovement(v.state.values)),Rt=[0,0];rt.elapsedTimecn&&Math.abs(H)>Ve&&(Rt[0]=MG(L)),J!==!1&&Math.abs(N)>kn&&Math.abs(G)>Cn&&(Rt[1]=MG(N))),v.updateGestureState(mc({},rt,{tap:M,swipe:Rt})),v.fireGestureHandler(M===!0)}},v.clean=function(){d.prototype.clean.call(bs(v)),v.state._delayedEvent=!1,EBn(v.controller,v.stateKey)},v.onCancel=function(){v.state.canceled||(v.updateGestureState({canceled:!0}),v.state._active=!1,v.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame(function(){return v.fireGestureHandler()}))},v.onClick=function(E){v.state._isTap||E.stopPropagation()},v}var m=b.prototype;return m.startDrag=function(E){var M=SE(E);this.updateSharedState(Wd(E)),this.updateGestureState(mc({},W9(this,M,E),ll(this,E,!0),{_pointerId:E.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(M)),this.fireGestureHandler()},m.addBindings=function(E){if(Va(E,"onPointerDown",this.onDragStart),this.config.filterTaps){var M=this.controller.config.eventOptions.capture?"onClick":"onClickCapture";Va(E,M,this.onClick)}},b}(KG);function $Bn(d,b){var m,v=[],E,M=!1;function k(){for(var L=arguments.length,N=new Array(L),B=0;B270&&(G+=MG(H)),Mbe([L,B-360*G],M.initial)},m.getKinematics=function(E,M){var k=this.getMovement(E),L=(E[1]-k.movement[1]-this.state.initial[1])/360,N=M.timeStamp-this.state.timeStamp,B=Gon(k.movement,k.delta,N);return mc({turns:L},k,B)},m.mapStateValues=function(E){return{da:E.values,vdva:E.velocities}},b}(Jon),BBn=function(d){Q9(b,d);function b(){var v;return v=d.apply(this,arguments)||this,v.ingKey="pinching",v.stateKey="pinch",v.pinchShouldStart=function(E){var M=Wd(E),k=M.touches;return v.enabled&&k===2},v.onPinchStart=function(E){if(v.pinchShouldStart(E)){var M=esn(E),k=M.values,L=M.origin;v.updateSharedState(Wd(E)),v.updateGestureState(mc({},W9(bs(v),k,E),ll(bs(v),E,!0),{cancel:v.onCancel,origin:L})),v.updateGestureState(v.getMovement(k)),v.fireGestureHandler()}},v.onPinchChange=function(E){var M=v.state,k=M.canceled,L=M._active;if(!(k||!L)){var N=Wd(E);v.updateSharedState(N);var B=esn(E),H=B.values,G=B.origin,Y=v.getKinematics(H,E);v.updateGestureState(mc({},ll(bs(v),E),Y,{origin:G})),v.fireGestureHandler()}},v.onPinchEnd=function(E){v.state.active&&(v.state._active=!1,v.updateSharedState({down:!1,touches:0}),v.updateGestureState(mc({},ll(bs(v),E),v.getMovement(v.state.values))),v.fireGestureHandler())},v.onCancel=function(){v.state.canceled||(v.state._active=!1,v.updateGestureState({canceled:!0}),v.updateSharedState({down:!1,touches:0}),requestAnimationFrame(function(){return v.fireGestureHandler()}))},v.onGestureStart=function(E){if(v.enabled){E.preventDefault();var M=Zun(E);v.updateSharedState(Wd(E)),v.updateGestureState(mc({},W9(bs(v),M,E),ll(bs(v),E,!0),{origin:[E.clientX,E.clientY],cancel:v.onCancel})),v.updateGestureState(v.getMovement(M)),v.fireGestureHandler()}},v.onGestureChange=function(E){var M=v.state,k=M.canceled,L=M._active;if(!(k||!L)){E.preventDefault();var N=Wd(E);v.updateSharedState(N);var B=Zun(E),H=v.getKinematics(B,E);v.updateGestureState(mc({},ll(bs(v),E),H,{origin:[E.clientX,E.clientY]})),v.fireGestureHandler()}},v.onGestureEnd=function(E){E.preventDefault(),v.state.active&&(v.state._active=!1,v.updateSharedState({down:!1,touches:0}),v.updateGestureState(mc({},ll(bs(v),E),v.getMovement(v.state.values),{origin:[E.clientX,E.clientY]})),v.fireGestureHandler())},v.wheelShouldRun=function(E){return v.enabled&&E.ctrlKey},v.getWheelValuesFromEvent=function(E){var M=rfn(E),k=M[1],L=v.state.values,N=L[0],B=L[1],H=N-k,G=B!==void 0?B:0;return{values:[H,G],origin:[E.clientX,E.clientY],delta:[0,k]}},v.onWheel=function(E){v.wheelShouldRun(E)&&(v.setTimeout(v.onWheelEnd),v.state._active?v.onWheelChange(E):v.onWheelStart(E))},v.onWheelStart=function(E){var M=v.getWheelValuesFromEvent(E),k=M.values,L=M.delta,N=M.origin;E.cancelable&&E.preventDefault(),v.updateSharedState(Wd(E)),v.updateGestureState(mc({},W9(bs(v),k,E),ll(bs(v),E,!0),{initial:v.state.values,offset:k,delta:L,origin:N})),v.updateGestureState(v.getMovement(k)),v.fireGestureHandler()},v.onWheelChange=function(E){v.updateSharedState(Wd(E));var M=v.getWheelValuesFromEvent(E),k=M.values,L=M.origin,N=M.delta;v.updateGestureState(mc({},ll(bs(v),E),v.getKinematics(k,E),{origin:L,delta:N})),v.fireGestureHandler()},v.onWheelEnd=function(){v.state._active=!1,v.updateGestureState(v.getMovement(v.state.values)),v.fireGestureHandler()},v}var m=b.prototype;return m.addBindings=function(E){this.controller.config.domTarget&&!OBn()&&xBn()?(Va(E,"onGestureStart",this.onGestureStart),Va(E,"onGestureChange",this.onGestureChange),Va(E,"onGestureEnd",this.onGestureEnd)):(Va(E,"onTouchStart",this.onPinchStart),Va(E,"onTouchMove",this.onPinchChange),Va(E,"onTouchEnd",this.onPinchEnd),Va(E,"onTouchCancel",this.onPinchEnd),Va(E,"onWheel",this.onWheel))},b}(_Bn),RBn=function(d){Q9(b,d);function b(){var v;return v=d.apply(this,arguments)||this,v.ingKey="wheeling",v.stateKey="wheel",v.debounced=!0,v.handleEvent=function(E){if(!(E.ctrlKey&&"pinch"in v.controller.handlers)&&v.enabled){v.setTimeout(v.onEnd),v.updateSharedState(Wd(E));var M=B0e(rfn(E),v.state.values);if(v.state._active)v.updateGestureState(mc({},ll(bs(v),E),v.getKinematics(M,E)));else{v.updateGestureState(mc({},W9(bs(v),M,E),ll(bs(v),E,!0),{initial:v.state.values}));var k=v.getMovement(M),L=Von(k.delta);v.updateGestureState(k),v.updateGestureState(L)}v.fireGestureHandler()}},v.onEnd=function(){var E=v.getMovement(v.state.values);v.updateGestureState(E),v.updateGestureState({_active:!1,velocities:[0,0],velocity:0}),v.fireGestureHandler()},v}var m=b.prototype;return m.addBindings=function(E){Va(E,"onWheel",this.handleEvent)},b}(KG),nsn=function(d){Q9(b,d);function b(){var v;return v=d.apply(this,arguments)||this,v.ingKey="moving",v.stateKey="move",v.debounced=!0,v.onMove=function(E){v.enabled&&(v.setTimeout(v.onMoveEnd),v.state._active?v.onMoveChange(E):v.onMoveStart(E))},v.onMoveStart=function(E){v.updateSharedState(Wd(E));var M=SE(E);v.updateGestureState(mc({},W9(bs(v),M,E),ll(bs(v),E,!0))),v.updateGestureState(v.getMovement(M)),v.fireGestureHandler()},v.onMoveChange=function(E){v.updateSharedState(Wd(E));var M=SE(E);v.updateGestureState(mc({},ll(bs(v),E),v.getKinematics(M,E))),v.fireGestureHandler()},v.onMoveEnd=function(){var E=v.state.values;v.updateGestureState(v.getMovement(E)),v.updateGestureState({velocities:[0,0],velocity:0,_active:!1}),v.fireGestureHandler()},v.onPointerEnter=function(E){if(v.controller.state.shared.hovering=!0,!!v.controller.config.enabled){if(v.controller.config.hover.enabled){var M=SE(E),k=mc({},v.controller.state.shared,v.state,ll(bs(v),E,!0),{values:M,active:!0,hovering:!0});v.controller.handlers.hover(mc({},k,v.mapStateValues(k)))}"move"in v.controller.handlers&&v.onMoveStart(E)}},v.onPointerLeave=function(E){if(v.controller.state.shared.hovering=!1,"move"in v.controller.handlers&&v.onMoveEnd(),!!v.controller.config.hover.enabled){var M=SE(E),k=mc({},v.controller.state.shared,v.state,ll(bs(v),E),{values:M,active:!1});v.controller.handlers.hover(mc({},k,v.mapStateValues(k)))}},v}var m=b.prototype;return m.addBindings=function(E){"move"in this.controller.handlers&&Va(E,"onPointerMove",this.onMove),"hover"in this.controller.handlers&&(Va(E,"onPointerEnter",this.onPointerEnter),Va(E,"onPointerLeave",this.onPointerLeave))},b}(KG),KBn=function(d){Q9(b,d);function b(){var v;return v=d.apply(this,arguments)||this,v.ingKey="scrolling",v.stateKey="scroll",v.debounced=!0,v.handleEvent=function(E){if(v.enabled){v.clearTimeout(),v.setTimeout(v.onEnd);var M=IBn(E);if(v.updateSharedState(Wd(E)),v.state._active)v.updateGestureState(mc({},ll(bs(v),E),v.getKinematics(M,E)));else{v.updateGestureState(mc({},W9(bs(v),M,E),ll(bs(v),E,!0),{initial:v.state.values}));var k=v.getMovement(M),L=Von(k.delta);v.updateGestureState(k),v.updateGestureState(L)}v.fireGestureHandler()}},v.onEnd=function(){v.state._active=!1,v.updateGestureState(mc({},v.getMovement(v.state.values),{velocities:[0,0],velocity:0})),v.fireGestureHandler()},v}var m=b.prototype;return m.addBindings=function(E){Va(E,"onScroll",this.handleEvent)},b}(KG),qBn=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function HBn(d){var b={},m={},v=new Set;for(var E in d)qBn.test(E)?(v.add(RegExp.lastMatch),m[E]=d[E]):b[E]=d[E];return[m,b,v]}function VBn(d,b){b===void 0&&(b={});var m=HBn(d),v=m[0],E=m[1],M=m[2];Ud.set("drag",cfn),Ud.set("hover",nsn),Ud.set("move",nsn),Ud.set("pinch",BBn),Ud.set("scroll",KBn),Ud.set("wheel",RBn);var k=vBn(b,M),L={};return M.has("onDrag")&&(L.drag=fI(v,"onDrag")),M.has("onWheel")&&(L.wheel=fI(v,"onWheel")),M.has("onScroll")&&(L.scroll=fI(v,"onScroll")),M.has("onMove")&&(L.move=fI(v,"onMove")),M.has("onPinch")&&(L.pinch=fI(v,"onPinch")),M.has("onHover")&&(L.hover=v.onHover),tfn(L,k,E)}function fI(d,b){var m=b+"Start",v=b+"End",E=function(k){var L=void 0;return k.first&&m in d&&d[m](k),b in d&&(L=d[b](k)),k.last&&v in d&&d[v](k),L};return E}var ufn={exports:{}};(function(d,b){(function(m){d.exports=m()})(function(){return function(){function m(v,E,M){function k(B,H){if(!E[B]){if(!v[B]){var G=typeof cG=="function"&&cG;if(!H&&G)return G(B,!0);if(L)return L(B,!0);var Y=new Error("Cannot find module '"+B+"'");throw Y.code="MODULE_NOT_FOUND",Y}var ne=E[B]={exports:{}};v[B][0].call(ne.exports,function(J){var Re=v[B][1][J];return k(Re||J)},ne,ne.exports,m,v,E,M)}return E[B].exports}for(var L=typeof cG=="function"&&cG,N=0;N0&&arguments[0]!==void 0?arguments[0]:{},Y=G.defaultLayoutOptions,ne=Y===void 0?{}:Y,J=G.algorithms,Re=J===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:J,cn=G.workerFactory,kn=G.workerUrl;if(k(this,B),this.defaultLayoutOptions=ne,this.initialized=!1,typeof kn>"u"&&typeof cn>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var gn=cn;typeof kn<"u"&&typeof cn>"u"&&(gn=function(rt){return new Worker(rt)});var Ve=gn(kn);if(typeof Ve.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new N(Ve),this.worker.postMessage({cmd:"register",algorithms:Re}).then(function(Cn){return H.initialized=!0}).catch(console.err)}return M(B,[{key:"layout",value:function(G){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=Y.layoutOptions,J=ne===void 0?this.defaultLayoutOptions:ne,Re=Y.logging,cn=Re===void 0?!1:Re,kn=Y.measureExecutionTime,gn=kn===void 0?!1:kn;return G?this.worker.postMessage({cmd:"layout",graph:G,layoutOptions:J,options:{logging:cn,measureExecutionTime:gn}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),B}();E.default=L;var N=function(){function B(H){var G=this;if(k(this,B),H===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=H,this.worker.onmessage=function(Y){setTimeout(function(){G.receive(G,Y)},0)}}return M(B,[{key:"postMessage",value:function(G){var Y=this.id||0;this.id=Y+1,G.id=Y;var ne=this;return new Promise(function(J,Re){ne.resolvers[Y]=function(cn,kn){cn?(ne.convertGwtStyleError(cn),Re(cn)):J(kn)},ne.worker.postMessage(G)})}},{key:"receive",value:function(G,Y){var ne=Y.data,J=G.resolvers[ne.id];J&&(delete G.resolvers[ne.id],ne.error?J(ne.error):J(null,ne.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(G){if(G){var Y=G.__java$exception;Y&&(Y.cause&&Y.cause.backingJsObject&&(G.cause=Y.cause.backingJsObject,this.convertGwtStyleError(G.cause)),delete G.__java$exception)}}}]),B}()},{}],2:[function(m,v,E){(function(M){(function(){var k;typeof window<"u"?k=window:typeof M<"u"?k=M:typeof self<"u"&&(k=self);var L;function N(){}function B(){}function H(){}function G(){}function Y(){}function ne(){}function J(){}function Re(){}function cn(){}function kn(){}function gn(){}function Ve(){}function Cn(){}function rt(){}function Rt(){}function Wt(){}function Tt(){}function Pi(){}function br(){}function Mr(){}function Pr(){}function Bi(){}function di(){}function vc(){}function Vi(){}function si(){}function W(){}function qo(){}function al(){}function Kr(){}function vu(){}function bg(){}function Ob(){}function Yd(){}function Bl(){}function N1(){}function wg(){}function Pc(){}function Ss(){}function Lf(){}function lu(){}function wo(){}function hl(){}function Ib(){}function V4(){}function DI(){}function _1(){}function B1(){}function Bm(){}function ws(){}function G4(){}function J9(){}function gg(){}function Ho(){}function Db(){}function Lb(){}function LI(){}function HG(){}function Z9(){}function $I(){}function FI(){}function NI(){}function _I(){}function BI(){}function Dt(){}function $c(){}function Vc(){}function pg(){}function RI(){}function KI(){}function qI(){}function HI(){}function VI(){}function $E(){}function FE(){}function NE(){}function _E(){}function BE(){}function RE(){}function xbe(){}function Obe(){}function Ibe(){}function Dbe(){}function Lbe(){}function $be(){}function Fbe(){}function Nbe(){}function _be(){}function Bbe(){}function Rbe(){}function Kbe(){}function qbe(){}function VG(){}function Hbe(){}function Vbe(){}function Gbe(){}function zbe(){}function GI(){}function zI(){}function KE(){}function Wbe(){}function Ube(){}function WI(){}function Xbe(){}function Ybe(){}function Qbe(){}function qE(){}function Jbe(){}function Zbe(){}function ewe(){}function nwe(){}function twe(){}function iwe(){}function rwe(){}function cwe(){}function uwe(){}function GG(){}function swe(){}function owe(){}function fwe(){}function lwe(){}function awe(){}function zG(){}function hwe(){}function dwe(){}function bwe(){}function wwe(){}function gwe(){}function pwe(){}function mwe(){}function vwe(){}function ywe(){}function kwe(){}function jwe(){}function Ewe(){}function Twe(){}function Cwe(){}function UI(){}function Swe(){}function Mwe(){}function Pwe(){}function Awe(){}function xwe(){}function WG(){}function Owe(){}function Iwe(){}function Dwe(){}function Lwe(){}function $we(){}function Fwe(){}function Nwe(){}function _we(){}function Bwe(){}function Rwe(){}function Kwe(){}function qwe(){}function Hwe(){}function Vwe(){}function Gwe(){}function zwe(){}function Wwe(){}function Uwe(){}function Xwe(){}function Ywe(){}function Qwe(){}function Jwe(){}function Zwe(){}function ege(){}function nge(){}function tge(){}function ige(){}function rge(){}function cge(){}function uge(){}function sge(){}function oge(){}function fge(){}function lge(){}function age(){}function hge(){}function dge(){}function bge(){}function wge(){}function gge(){}function pge(){}function mge(){}function vge(){}function yge(){}function kge(){}function jge(){}function Ege(){}function Tge(){}function Cge(){}function Sge(){}function Mge(){}function Pge(){}function Age(){}function xge(){}function Oge(){}function Ige(){}function Dge(){}function Lge(){}function $ge(){}function Fge(){}function Nge(){}function _ge(){}function Bge(){}function Rge(){}function Kge(){}function qge(){}function Hge(){}function Vge(){}function Gge(){}function zge(){}function Wge(){}function Uge(){}function Xge(){}function Yge(){}function Qge(){}function Jge(){}function Zge(){}function epe(){}function npe(){}function tpe(){}function ipe(){}function rpe(){}function cpe(){}function upe(){}function spe(){}function ope(){}function fpe(){}function lpe(){}function ape(){}function hpe(){}function dpe(){}function bpe(){}function wpe(){}function gpe(){}function ppe(){}function mpe(){}function vpe(){}function ype(){}function kpe(){}function jpe(){}function UG(){}function Epe(){}function Tpe(){}function Cpe(){}function Spe(){}function Mpe(){}function Ppe(){}function Ape(){}function xpe(){}function Ope(){}function Ipe(){}function Dpe(){}function Lpe(){}function $pe(){}function Fpe(){}function Npe(){}function _pe(){}function Bpe(){}function Rpe(){}function Kpe(){}function qpe(){}function Hpe(){}function Vpe(){}function Gpe(){}function zpe(){}function Wpe(){}function Upe(){}function Xpe(){}function Ype(){}function Qpe(){}function Jpe(){}function Zpe(){}function e2e(){}function n2e(){}function t2e(){}function i2e(){}function r2e(){}function c2e(){}function u2e(){}function s2e(){}function o2e(){}function f2e(){}function l2e(){}function a2e(){}function h2e(){}function d2e(){}function b2e(){}function w2e(){}function g2e(){}function p2e(){}function m2e(){}function v2e(){}function y2e(){}function k2e(){}function j2e(){}function E2e(){}function T2e(){}function C2e(){}function S2e(){}function M2e(){}function P2e(){}function A2e(){}function x2e(){}function O2e(){}function I2e(){}function D2e(){}function L2e(){}function $2e(){}function XG(){}function F2e(){}function N2e(){}function _2e(){}function B2e(){}function R2e(){}function K2e(){}function q2e(){}function H2e(){}function V2e(){}function G2e(){}function z2e(){}function W2e(){}function U2e(){}function X2e(){}function Y2e(){}function Q2e(){}function J2e(){}function Z2e(){}function eme(){}function nme(){}function YG(){}function tme(){}function ime(){}function rme(){}function cme(){}function ume(){}function sme(){}function QG(){}function JG(){}function ome(){}function ZG(){}function ez(){}function fme(){}function lme(){}function ame(){}function hme(){}function dme(){}function bme(){}function wme(){}function gme(){}function pme(){}function nz(){}function mme(){}function vme(){}function yme(){}function kme(){}function jme(){}function Eme(){}function Tme(){}function Cme(){}function Sme(){}function Mme(){}function Pme(){}function Ame(){}function xme(){}function Ome(){}function Ime(){}function Dme(){}function Lme(){}function $me(){}function Fme(){}function Nme(){}function _me(){}function Bme(){}function Rme(){}function Kme(){}function qme(){}function Hme(){}function Vme(){}function Gme(){}function zme(){}function Wme(){}function Ume(){}function Xme(){}function Yme(){}function Qme(){}function Jme(){}function Zme(){}function eve(){}function nve(){}function tve(){}function ive(){}function rve(){}function cve(){}function uve(){}function sve(){}function ove(){}function fve(){}function lve(){}function ave(){}function hve(){}function dve(){}function bve(){}function wve(){}function gve(){}function pve(){}function mve(){}function vve(){}function yve(){}function kve(){}function jve(){}function Eve(){}function Tve(){}function Cve(){}function Sve(){}function Mve(){}function Pve(){}function Ave(){}function xve(){}function Ove(){}function XI(){}function YI(){}function QI(){}function Ive(){}function Dve(){}function Lve(){}function $ve(){}function Fve(){}function tz(){}function Nve(){}function _ve(){}function pfn(){}function Bve(){}function Rve(){}function Kve(){}function qve(){}function Hve(){}function Vve(){}function Gve(){}function R1(){}function zve(){}function Qp(){}function iz(){}function Wve(){}function Uve(){}function Xve(){}function Yve(){}function Qve(){}function Jve(){}function Zve(){}function e3e(){}function n3e(){}function t3e(){}function i3e(){}function r3e(){}function c3e(){}function u3e(){}function s3e(){}function o3e(){}function f3e(){}function l3e(){}function a3e(){}function h3e(){}function d3e(){}function Me(){}function b3e(){}function w3e(){}function g3e(){}function p3e(){}function m3e(){}function v3e(){}function y3e(){}function k3e(){}function j3e(){}function E3e(){}function JI(){}function T3e(){}function C3e(){}function S3e(){}function M3e(){}function P3e(){}function rz(){}function HE(){}function VE(){}function A3e(){}function cz(){}function GE(){}function x3e(){}function O3e(){}function I3e(){}function D3e(){}function L3e(){}function $3e(){}function zE(){}function F3e(){}function N3e(){}function _3e(){}function WE(){}function B3e(){}function uz(){}function R3e(){}function ZI(){}function sz(){}function K3e(){}function q3e(){}function H3e(){}function V3e(){}function mfn(){}function G3e(){}function z3e(){}function W3e(){}function U3e(){}function X3e(){}function Y3e(){}function Q3e(){}function J3e(){}function Z3e(){}function e4e(){}function Rm(){}function eD(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function u4e(){}function s4e(){}function o4e(){}function f4e(){}function l4e(){}function a4e(){}function h4e(){}function d4e(){}function b4e(){}function w4e(){}function g4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function j4e(){}function E4e(){}function T4e(){}function C4e(){}function S4e(){}function M4e(){}function P4e(){}function A4e(){}function x4e(){}function O4e(){}function I4e(){}function D4e(){}function L4e(){}function $4e(){}function F4e(){}function N4e(){}function _4e(){}function B4e(){}function R4e(){}function K4e(){}function q4e(){}function H4e(){}function V4e(){}function G4e(){}function z4e(){}function W4e(){}function U4e(){}function X4e(){}function Y4e(){}function Q4e(){}function J4e(){}function Z4e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function u5e(){}function s5e(){}function o5e(){}function f5e(){}function l5e(){}function a5e(){}function h5e(){}function d5e(){}function b5e(){}function w5e(){}function g5e(){}function p5e(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function j5e(){}function E5e(){}function T5e(){}function C5e(){}function S5e(){}function M5e(){}function P5e(){}function A5e(){}function x5e(){}function O5e(){}function I5e(){}function D5e(){}function L5e(){}function $5e(){}function F5e(){}function N5e(){}function _5e(){}function B5e(){}function R5e(){}function K5e(){}function q5e(){}function H5e(){}function V5e(){}function G5e(){}function z5e(){}function W5e(){}function oz(){}function U5e(){}function X5e(){}function nD(){J4()}function Y5e(){WF()}function Q5e(){C6()}function J5e(){qM()}function Z5e(){sne()}function e6e(){Mf()}function n6e(){mee()}function t6e(){J7()}function i6e(){p8()}function r6e(){g8()}function c6e(){H8()}function u6e(){oEe()}function s6e(){D2()}function o6e(){ET()}function f6e(){vIe()}function l6e(){ILe()}function a6e(){QIe()}function h6e(){bxe()}function d6e(){Qv()}function b6e(){r1()}function w6e(){DLe()}function g6e(){sOe()}function p6e(){eie()}function m6e(){y_e()}function v6e(){wxe()}function y6e(){be()}function k6e(){dxe()}function j6e(){LLe()}function E6e(){N$e()}function T6e(){pxe()}function C6e(){tDe()}function S6e(){fEe()}function M6e(){qne()}function P6e(){ww()}function A6e(){s$e()}function x6e(){tk()}function O6e(){j_()}function I6e(){AN()}function D6e(){G0()}function L6e(){_J()}function $6e(){gxe()}function F6e(){Pqe()}function N6e(){Bne()}function _6e(){b_()}function B6e(){MS()}function R6e(){XM()}function fz(){dt()}function K6e(){lM()}function q6e(){zZ()}function lz(){bP()}function pf(){iMe()}function az(){OF()}function H6e(){Ste()}function hz(e){nn(e)}function V6e(e){this.a=e}function UE(e){this.a=e}function G6e(e){this.a=e}function z6e(e){this.a=e}function W6e(e){this.a=e}function U6e(e){this.a=e}function X6e(e){this.a=e}function Y6e(e){this.a=e}function dz(e){this.a=e}function bz(e){this.a=e}function Q6e(e){this.a=e}function tD(e){this.a=e}function J6e(e){this.a=e}function iD(e){this.a=e}function Z6e(e){this.a=e}function rD(e){this.a=e}function eye(e){this.a=e}function cD(e){this.a=e}function nye(e){this.a=e}function tye(e){this.a=e}function iye(e){this.a=e}function wz(e){this.b=e}function rye(e){this.c=e}function cye(e){this.a=e}function uye(e){this.a=e}function sye(e){this.a=e}function oye(e){this.a=e}function fye(e){this.a=e}function lye(e){this.a=e}function aye(e){this.a=e}function hye(e){this.a=e}function dye(e){this.a=e}function bye(e){this.a=e}function wye(e){this.a=e}function gye(e){this.a=e}function pye(e){this.a=e}function gz(e){this.a=e}function pz(e){this.a=e}function XE(e){this.a=e}function e8(e){this.a=e}function K1(){this.a=[]}function mye(e,n){e.a=n}function vfn(e,n){e.a=n}function yfn(e,n){e.b=n}function kfn(e,n){e.b=n}function jfn(e,n){e.b=n}function mz(e,n){e.j=n}function Efn(e,n){e.g=n}function Tfn(e,n){e.i=n}function Cfn(e,n){e.c=n}function Sfn(e,n){e.d=n}function Mfn(e,n){e.d=n}function Pfn(e,n){e.c=n}function q1(e,n){e.k=n}function Afn(e,n){e.c=n}function vz(e,n){e.c=n}function yz(e,n){e.a=n}function xfn(e,n){e.a=n}function Ofn(e,n){e.f=n}function Ifn(e,n){e.a=n}function Dfn(e,n){e.b=n}function uD(e,n){e.d=n}function YE(e,n){e.i=n}function kz(e,n){e.o=n}function Lfn(e,n){e.r=n}function $fn(e,n){e.a=n}function Ffn(e,n){e.b=n}function vye(e,n){e.e=n}function Nfn(e,n){e.f=n}function jz(e,n){e.g=n}function _fn(e,n){e.e=n}function Bfn(e,n){e.f=n}function Rfn(e,n){e.f=n}function Kfn(e,n){e.n=n}function qfn(e,n){e.a=n}function Hfn(e,n){e.a=n}function Vfn(e,n){e.c=n}function Gfn(e,n){e.c=n}function zfn(e,n){e.d=n}function Wfn(e,n){e.e=n}function Ufn(e,n){e.g=n}function Xfn(e,n){e.a=n}function Yfn(e,n){e.c=n}function Qfn(e,n){e.d=n}function Jfn(e,n){e.e=n}function Zfn(e,n){e.f=n}function eln(e,n){e.j=n}function nln(e,n){e.a=n}function tln(e,n){e.b=n}function iln(e,n){e.a=n}function yye(e){e.b=e.a}function kye(e){e.c=e.d.d}function z4(e){this.d=e}function H1(e){this.a=e}function Km(e){this.a=e}function Ez(e){this.a=e}function da(e){this.a=e}function n8(e){this.a=e}function jye(e){this.a=e}function Tz(e){this.a=e}function t8(e){this.a=e}function Cz(e){this.a=e}function Sz(e){this.a=e}function Mz(e){this.a=e}function $b(e){this.a=e}function i8(e){this.a=e}function r8(e){this.a=e}function Pz(e){this.b=e}function qm(e){this.b=e}function Hm(e){this.b=e}function sD(e){this.a=e}function Eye(e){this.a=e}function Az(e){this.a=e}function oD(e){this.c=e}function A(e){this.c=e}function Tye(e){this.c=e}function xz(e){this.a=e}function Oz(e){this.a=e}function Iz(e){this.a=e}function Dz(e){this.a=e}function St(e){this.a=e}function Cye(e){this.a=e}function Lz(e){this.a=e}function $z(e){this.a=e}function Sye(e){this.a=e}function Mye(e){this.a=e}function W4(e){this.a=e}function Pye(e){this.a=e}function Aye(e){this.a=e}function xye(e){this.a=e}function Oye(e){this.a=e}function Iye(e){this.a=e}function Dye(e){this.a=e}function Lye(e){this.a=e}function $ye(e){this.a=e}function Fye(e){this.a=e}function Nye(e){this.a=e}function _ye(e){this.a=e}function Bye(e){this.a=e}function Rye(e){this.a=e}function Kye(e){this.a=e}function qye(e){this.a=e}function Hye(e){this.a=e}function Vye(e){this.a=e}function c8(e){this.a=e}function Gye(e){this.a=e}function zye(e){this.a=e}function QE(e){this.a=e}function Wye(e){this.a=e}function Uye(e){this.a=e}function Vm(e){this.a=e}function Fz(e){this.a=e}function Xye(e){this.a=e}function Yye(e){this.a=e}function Qye(e){this.a=e}function Jye(e){this.a=e}function Zye(e){this.a=e}function Nz(e){this.a=e}function _z(e){this.a=e}function Bz(e){this.a=e}function JE(e){this.a=e}function ZE(e){this.e=e}function Gm(e){this.a=e}function e9e(e){this.a=e}function Jp(e){this.a=e}function Rz(e){this.a=e}function n9e(e){this.a=e}function t9e(e){this.a=e}function i9e(e){this.a=e}function r9e(e){this.a=e}function c9e(e){this.a=e}function u9e(e){this.a=e}function s9e(e){this.a=e}function o9e(e){this.a=e}function f9e(e){this.a=e}function l9e(e){this.a=e}function a9e(e){this.a=e}function Kz(e){this.a=e}function h9e(e){this.a=e}function d9e(e){this.a=e}function b9e(e){this.a=e}function w9e(e){this.a=e}function g9e(e){this.a=e}function p9e(e){this.a=e}function m9e(e){this.a=e}function v9e(e){this.a=e}function y9e(e){this.a=e}function k9e(e){this.a=e}function j9e(e){this.a=e}function E9e(e){this.a=e}function T9e(e){this.a=e}function C9e(e){this.a=e}function S9e(e){this.a=e}function M9e(e){this.a=e}function P9e(e){this.a=e}function A9e(e){this.a=e}function x9e(e){this.a=e}function O9e(e){this.a=e}function I9e(e){this.a=e}function D9e(e){this.a=e}function L9e(e){this.a=e}function $9e(e){this.a=e}function F9e(e){this.a=e}function N9e(e){this.a=e}function _9e(e){this.a=e}function B9e(e){this.a=e}function R9e(e){this.a=e}function K9e(e){this.a=e}function q9e(e){this.a=e}function H9e(e){this.a=e}function V9e(e){this.a=e}function G9e(e){this.a=e}function z9e(e){this.a=e}function W9e(e){this.a=e}function U9e(e){this.a=e}function X9e(e){this.c=e}function Y9e(e){this.b=e}function Q9e(e){this.a=e}function J9e(e){this.a=e}function Z9e(e){this.a=e}function e8e(e){this.a=e}function n8e(e){this.a=e}function t8e(e){this.a=e}function i8e(e){this.a=e}function r8e(e){this.a=e}function c8e(e){this.a=e}function u8e(e){this.a=e}function s8e(e){this.a=e}function o8e(e){this.a=e}function f8e(e){this.a=e}function l8e(e){this.a=e}function a8e(e){this.a=e}function h8e(e){this.a=e}function d8e(e){this.a=e}function b8e(e){this.a=e}function w8e(e){this.a=e}function g8e(e){this.a=e}function p8e(e){this.a=e}function m8e(e){this.a=e}function v8e(e){this.a=e}function y8e(e){this.a=e}function Oh(e){this.a=e}function Zp(e){this.a=e}function k8e(e){this.a=e}function j8e(e){this.a=e}function E8e(e){this.a=e}function T8e(e){this.a=e}function C8e(e){this.a=e}function S8e(e){this.a=e}function M8e(e){this.a=e}function P8e(e){this.a=e}function A8e(e){this.a=e}function x8e(e){this.a=e}function O8e(e){this.a=e}function I8e(e){this.a=e}function D8e(e){this.a=e}function L8e(e){this.a=e}function $8e(e){this.a=e}function F8e(e){this.a=e}function eT(e){this.a=e}function N8e(e){this.a=e}function _8e(e){this.a=e}function B8e(e){this.a=e}function R8e(e){this.a=e}function K8e(e){this.a=e}function q8e(e){this.a=e}function H8e(e){this.a=e}function V8e(e){this.a=e}function G8e(e){this.a=e}function z8e(e){this.a=e}function W8e(e){this.a=e}function U8e(e){this.a=e}function X8e(e){this.a=e}function Y8e(e){this.a=e}function Q8e(e){this.a=e}function J8e(e){this.a=e}function Z8e(e){this.a=e}function e7e(e){this.a=e}function n7e(e){this.a=e}function t7e(e){this.a=e}function i7e(e){this.a=e}function r7e(e){this.a=e}function c7e(e){this.a=e}function u7e(e){this.a=e}function s7e(e){this.a=e}function o7e(e){this.a=e}function f7e(e){this.a=e}function l7e(e){this.a=e}function qz(e){this.a=e}function Kt(e){this.b=e}function a7e(e){this.f=e}function Hz(e){this.a=e}function h7e(e){this.a=e}function d7e(e){this.a=e}function b7e(e){this.a=e}function w7e(e){this.a=e}function g7e(e){this.a=e}function p7e(e){this.a=e}function m7e(e){this.a=e}function v7e(e){this.a=e}function u8(e){this.a=e}function y7e(e){this.a=e}function k7e(e){this.b=e}function Vz(e){this.c=e}function nT(e){this.e=e}function j7e(e){this.a=e}function tT(e){this.a=e}function iT(e){this.a=e}function fD(e){this.a=e}function E7e(e){this.a=e}function T7e(e){this.d=e}function Gz(e){this.a=e}function zz(e){this.a=e}function Qd(e){this.e=e}function rln(){this.a=0}function mg(){iCe(this)}function oe(){wL(this)}function $n(){Yu(this)}function lD(){sAe(this)}function C7e(){}function Jd(){this.c=Sde}function cln(e,n){n.Wb(e)}function S7e(e,n){e.b+=n}function M7e(e){e.b=new MD}function O(e){return e.e}function uln(e){return e.a}function sln(e){return e.a}function oln(e){return e.a}function fln(e){return e.a}function lln(e){return e.a}function aln(){return null}function hln(){return null}function dln(){IW(),TIn()}function bln(e){e.b.tf(e.e)}function U4(e,n){e.b=n-e.b}function X4(e,n){e.a=n-e.a}function P7e(e,n){n.ad(e.a)}function wln(e,n){Ci(n,e)}function gln(e,n,t){e.Od(t,n)}function s8(e,n){e.e=n,n.b=e}function Wz(e){ml(),this.a=e}function A7e(e){ml(),this.a=e}function x7e(e){ml(),this.a=e}function Uz(e){Zb(),this.a=e}function O7e(e){jv(),qK.be(e)}function V1(){RCe.call(this)}function Xz(){RCe.call(this)}function Yz(){V1.call(this)}function aD(){V1.call(this)}function I7e(){V1.call(this)}function o8(){V1.call(this)}function Fu(){V1.call(this)}function Y4(){V1.call(this)}function Kn(){V1.call(this)}function Us(){V1.call(this)}function D7e(){V1.call(this)}function Ac(){V1.call(this)}function L7e(){V1.call(this)}function $7e(){this.a=this}function rT(){this.Bb|=256}function F7e(){this.b=new _Te}function Qz(){Qz=W,new $n}function Jz(){Yz.call(this)}function N7e(e,n){e.length=n}function cT(e,n){se(e.a,n)}function pln(e,n){fne(e.c,n)}function mln(e,n){Ei(e.b,n)}function vln(e,n){FM(e.a,n)}function yln(e,n){tN(e.a,n)}function zm(e,n){yt(e.e,n)}function e2(e){JM(e.c,e.b)}function kln(e,n){e.kc().Nb(n)}function Zz(e){this.a=v6n(e)}function Ai(){this.a=new $n}function _7e(){this.a=new $n}function uT(){this.a=new oe}function hD(){this.a=new oe}function eW(){this.a=new oe}function go(){this.a=new qI}function G1(){this.a=new wIe}function nW(){this.a=new GG}function tW(){this.a=new eEe}function B7e(){this.a=new qxe}function iW(){this.a=new rxe}function rW(){this.a=new PSe}function R7e(){this.a=new oe}function cW(){this.a=new oe}function K7e(){this.a=new oe}function q7e(){this.a=new oe}function H7e(){this.d=new oe}function V7e(){this.a=new Ai}function G7e(){this.a=new $n}function z7e(){this.b=new $n}function W7e(){this.b=new oe}function uW(){this.e=new oe}function U7e(){this.d=new oe}function X7e(){this.a=new b6e}function Y7e(){oe.call(this)}function sW(){uT.call(this)}function Q7e(){wC.call(this)}function J7e(){cW.call(this)}function dD(){Q4.call(this)}function Q4(){C7e.call(this)}function n2(){C7e.call(this)}function oW(){n2.call(this)}function Z7e(){$Ae.call(this)}function eke(){$Ae.call(this)}function nke(){wW.call(this)}function tke(){wW.call(this)}function ike(){wW.call(this)}function rke(){gW.call(this)}function Nu(){Gt.call(this)}function fW(){P3e.call(this)}function lW(){P3e.call(this)}function cke(){kke.call(this)}function uke(){kke.call(this)}function ske(){$n.call(this)}function oke(){$n.call(this)}function fke(){$n.call(this)}function lke(){Ai.call(this)}function bD(){ALe.call(this)}function ake(){rT.call(this)}function wD(){RU.call(this)}function gD(){RU.call(this)}function aW(){$n.call(this)}function pD(){$n.call(this)}function hke(){$n.call(this)}function hW(){WE.call(this)}function dke(){WE.call(this)}function bke(){hW.call(this)}function wke(){oz.call(this)}function gke(e){eLe.call(this,e)}function pke(e){eLe.call(this,e)}function dW(e){dz.call(this,e)}function bW(e){Vje.call(this,e)}function jln(e){bW.call(this,e)}function Eln(e){Vje.call(this,e)}function Wm(){this.a=new Gt}function wW(){this.a=new Ai}function gW(){this.a=new $n}function mke(){this.a=new oe}function vke(){this.j=new oe}function pW(){this.a=new Ave}function yke(){this.a=new wje}function kke(){this.a=new _3e}function mD(){mD=W,FK=new Bke}function vD(){vD=W,$K=new _ke}function J4(){J4=W,LK=new B}function sT(){sT=W,BK=new _Ce}function Tln(e){bW.call(this,e)}function Cln(e){bW.call(this,e)}function jke(e){X$.call(this,e)}function Eke(e){X$.call(this,e)}function Tke(e){YSe.call(this,e)}function yD(e){Gkn.call(this,e)}function Zd(e){Bb.call(this,e)}function Z4(e){vT.call(this,e)}function mW(e){vT.call(this,e)}function Cke(e){vT.call(this,e)}function fc(e){lPe.call(this,e)}function Ske(e){fc.call(this,e)}function t2(){e8.call(this,{})}function oT(e){sv(),this.a=e}function e5(e){e.b=null,e.c=0}function Sln(e,n){e.e=n,MKe(e,n)}function Mln(e,n){e.a=n,Ojn(e)}function kD(e,n,t){e.a[n.g]=t}function Pln(e,n,t){W8n(t,e,n)}function Aln(e,n){edn(n.i,e.n)}function Mke(e,n){n5n(e).td(n)}function xln(e,n){return e*e/n}function Pke(e,n){return e.g-n.g}function Oln(e){return new XE(e)}function Iln(e){return new Jb(e)}function fT(e){fc.call(this,e)}function qr(e){fc.call(this,e)}function Ake(e){fc.call(this,e)}function jD(e){lPe.call(this,e)}function ED(e){FJ(),this.a=e}function xke(e){tMe(),this.a=e}function Fb(e){ZL(),this.f=e}function TD(e){ZL(),this.f=e}function Um(e){fc.call(this,e)}function rn(e){fc.call(this,e)}function tc(e){fc.call(this,e)}function Oke(e){fc.call(this,e)}function i2(e){fc.call(this,e)}function ke(e){return nn(e),e}function ee(e){return nn(e),e}function f8(e){return nn(e),e}function vW(e){return nn(e),e}function Dln(e){return nn(e),e}function n5(e){return e.b==e.c}function Nb(e){return!!e&&e.b}function Lln(e){return!!e&&e.k}function $ln(e){return!!e&&e.j}function gs(e){nn(e),this.a=e}function yW(e){return fd(e),e}function t5(e){IY(e,e.length)}function Ga(e){fc.call(this,e)}function dl(e){fc.call(this,e)}function CD(e){fc.call(this,e)}function vg(e){fc.call(this,e)}function i5(e){fc.call(this,e)}function Hn(e){fc.call(this,e)}function SD(e){rX.call(this,e,0)}function MD(){hQ.call(this,12,3)}function kW(){kW=W,jue=new br}function Ike(){Ike=W,kue=new N}function lT(){lT=W,Sy=new Cn}function Dke(){Dke=W,oXe=new Rt}function Lke(){throw O(new Kn)}function jW(){throw O(new Kn)}function $ke(){throw O(new Kn)}function Fln(){throw O(new Kn)}function Nln(){throw O(new Kn)}function _ln(){throw O(new Kn)}function PD(){this.a=Vn(Nn(mr))}function r2(e){ml(),this.a=Nn(e)}function Fke(e,n){e.Td(n),n.Sd(e)}function Bln(e,n){e.a.ec().Mc(n)}function Rln(e,n,t){e.c.lf(n,t)}function EW(e){qr.call(this,e)}function bl(e){rn.call(this,e)}function za(){n8.call(this,"")}function r5(){n8.call(this,"")}function Ih(){n8.call(this,"")}function _b(){n8.call(this,"")}function TW(e){qr.call(this,e)}function Xm(e){qm.call(this,e)}function AD(e){uC.call(this,e)}function Nke(e){Xm.call(this,e)}function _ke(){iD.call(this,null)}function Bke(){iD.call(this,null)}function aT(){aT=W,jv()}function Rke(){Rke=W,mXe=y7n()}function Kke(e){return e.a?e.b:0}function Kln(e){return e.a?e.b:0}function qln(e,n){return e.a-n.a}function Hln(e,n){return e.a-n.a}function Vln(e,n){return e.a-n.a}function hT(e,n){return tJ(e,n)}function I(e,n){return sxe(e,n)}function Gln(e,n){return n in e.a}function qke(e,n){return e.f=n,e}function zln(e,n){return e.b=n,e}function Hke(e,n){return e.c=n,e}function Wln(e,n){return e.g=n,e}function CW(e,n){return e.a=n,e}function SW(e,n){return e.f=n,e}function Uln(e,n){return e.k=n,e}function MW(e,n){return e.a=n,e}function Xln(e,n){return e.e=n,e}function PW(e,n){return e.e=n,e}function Yln(e,n){return e.f=n,e}function Qln(e,n){e.b=!0,e.d=n}function Jln(e,n){e.b=new Hr(n)}function Zln(e,n,t){n.td(e.a[t])}function ean(e,n,t){n.we(e.a[t])}function nan(e,n){return e.b-n.b}function tan(e,n){return e.g-n.g}function ian(e,n){return e.s-n.s}function ran(e,n){return e?0:n-1}function Vke(e,n){return e?0:n-1}function can(e,n){return e?n-1:0}function uan(e,n){return n.Yf(e)}function e0(e,n){return e.b=n,e}function dT(e,n){return e.a=n,e}function n0(e,n){return e.c=n,e}function t0(e,n){return e.d=n,e}function i0(e,n){return e.e=n,e}function AW(e,n){return e.f=n,e}function c5(e,n){return e.a=n,e}function Ym(e,n){return e.b=n,e}function Qm(e,n){return e.c=n,e}function xe(e,n){return e.c=n,e}function We(e,n){return e.b=n,e}function Oe(e,n){return e.d=n,e}function Ie(e,n){return e.e=n,e}function san(e,n){return e.f=n,e}function De(e,n){return e.g=n,e}function Le(e,n){return e.a=n,e}function $e(e,n){return e.i=n,e}function Fe(e,n){return e.j=n,e}function Gke(e,n){return e.k=n,e}function oan(e,n){return e.j=n,e}function fan(e,n){r1(),ac(n,e)}function lan(e,n,t){rwn(e.a,n,t)}function zke(e){fAe.call(this,e)}function xW(e){fAe.call(this,e)}function bT(e){FL.call(this,e)}function Wke(e){M6n.call(this,e)}function Dh(e){P0.call(this,e)}function Uke(e){T$.call(this,e)}function Xke(e){T$.call(this,e)}function Yke(){$U.call(this,"")}function ir(){this.a=0,this.b=0}function Qke(){this.b=0,this.a=0}function Jke(e,n){e.b=0,fw(e,n)}function aan(e,n){e.c=n,e.b=!0}function Zke(e,n){return e.c._b(n)}function mf(e){return e.e&&e.e()}function xD(e){return e?e.d:null}function eje(e,n){return SFe(e.b,n)}function han(e){return e?e.g:null}function dan(e){return e?e.i:null}function Lh(e){return ga(e),e.o}function r0(){r0=W,grn=O8n()}function nje(){nje=W,_i=H7n()}function Jm(){Jm=W,Cde=D8n()}function tje(){tje=W,ecn=I8n()}function OW(){OW=W,Lc=Pjn()}function IW(){IW=W,x1=Bv()}function ije(){throw O(new Kn)}function rje(){throw O(new Kn)}function cje(){throw O(new Kn)}function uje(){throw O(new Kn)}function sje(){throw O(new Kn)}function oje(){throw O(new Kn)}function wT(e){this.a=new c2(e)}function DW(e){iVe(),NIn(this,e)}function $h(e){this.a=new i$(e)}function yg(e,n){for(;e.ye(n););}function LW(e,n){for(;e.sd(n););}function kg(e,n){return e.a+=n,e}function OD(e,n){return e.a+=n,e}function Wa(e,n){return e.a+=n,e}function c0(e,n){return e.a+=n,e}function u5(e){return zh(e),e.a}function gT(e){return e.b!=e.d.c}function fje(e){return e.l|e.m<<22}function $W(e,n){return e.d[n.p]}function lje(e,n){return pSn(e,n)}function FW(e,n,t){e.splice(n,t)}function aje(e){e.c?UKe(e):XKe(e)}function pT(e){this.a=0,this.b=e}function hje(){this.a=new hk(_ae)}function dje(){this.b=new hk(Tae)}function bje(){this.b=new hk(sV)}function wje(){this.b=new hk(sV)}function gje(){throw O(new Kn)}function pje(){throw O(new Kn)}function mje(){throw O(new Kn)}function vje(){throw O(new Kn)}function yje(){throw O(new Kn)}function kje(){throw O(new Kn)}function jje(){throw O(new Kn)}function Eje(){throw O(new Kn)}function Tje(){throw O(new Kn)}function Cje(){throw O(new Kn)}function ban(){throw O(new Ac)}function wan(){throw O(new Ac)}function l8(e){this.a=new Sje(e)}function Sje(e){S3n(this,e,S7n())}function a8(e){return!e||WPe(e)}function h8(e){return ol[e]!=-1}function gan(){$A!=0&&($A=0),FA=-1}function Mje(){DK==null&&(DK=[])}function pan(e,n){f_(Q(e.a),n)}function man(e,n){f_(Q(e.a),n)}function d8(e,n){xg.call(this,e,n)}function Zm(e,n){d8.call(this,e,n)}function NW(e,n){this.b=e,this.c=n}function Pje(e,n){this.b=e,this.a=n}function Aje(e,n){this.a=e,this.b=n}function xje(e,n){this.a=e,this.b=n}function Oje(e,n){this.a=e,this.b=n}function Ije(e,n){this.a=e,this.b=n}function Dje(e,n){this.a=e,this.b=n}function Lje(e,n){this.a=e,this.b=n}function $je(e,n){this.a=e,this.b=n}function Fje(e,n){this.a=e,this.b=n}function Nje(e,n){this.b=e,this.a=n}function _je(e,n){this.b=e,this.a=n}function Bje(e,n){this.b=e,this.a=n}function Rje(e,n){this.b=e,this.a=n}function Yn(e,n){this.f=e,this.g=n}function ev(e,n){this.e=e,this.d=n}function u0(e,n){this.g=e,this.i=n}function ID(e,n){this.a=e,this.b=n}function Kje(e,n){this.a=e,this.f=n}function qje(e,n){this.b=e,this.c=n}function van(e,n){this.a=e,this.b=n}function Hje(e,n){this.a=e,this.b=n}function DD(e,n){this.a=e,this.b=n}function Vje(e){WU(e.dc()),this.c=e}function mT(e){this.b=u(Nn(e),83)}function Gje(e){this.a=u(Nn(e),83)}function Bb(e){this.a=u(Nn(e),15)}function zje(e){this.a=u(Nn(e),15)}function vT(e){this.b=u(Nn(e),47)}function yT(){this.q=new k.Date}function Rl(){Rl=W,Nue=new qo}function nv(){nv=W,Y3=new vc}function s5(e){return e.f.c+e.g.c}function b8(e,n){return e.b.Hc(n)}function Wje(e,n){return e.b.Ic(n)}function Uje(e,n){return e.b.Qc(n)}function Xje(e,n){return e.b.Hc(n)}function Yje(e,n){return e.c.uc(n)}function ba(e,n){return e.a._b(n)}function Qje(e,n){return kt(e.c,n)}function Jje(e,n){return ys(e.b,n)}function Zje(e,n){return e>n&&n0}function $D(e,n){return Fc(e,n)<0}function d5(e,n){return e.a.get(n)}function Ian(e,n){return n.split(e)}function mEe(e,n){return ys(e.e,n)}function GW(e){return nn(e),!1}function xT(e){Ye.call(this,e,21)}function Dan(e,n){XAe.call(this,e,n)}function OT(e,n){Yn.call(this,e,n)}function FD(e,n){Yn.call(this,e,n)}function zW(e){g$(),YSe.call(this,e)}function WW(e,n){ZMe(e,e.length,n)}function v8(e,n){PPe(e,e.length,n)}function Lan(e,n,t){n.ud(e.a.Ge(t))}function $an(e,n,t){n.we(e.a.Fe(t))}function Fan(e,n,t){n.td(e.a.Kb(t))}function Nan(e,n,t){e.Mb(t)&&n.td(t)}function b5(e,n,t){e.splice(n,0,t)}function _an(e,n){return Bu(e.e,n)}function IT(e,n){this.d=e,this.e=n}function vEe(e,n){this.b=e,this.a=n}function yEe(e,n){this.b=e,this.a=n}function UW(e,n){this.b=e,this.a=n}function kEe(e,n){this.a=e,this.b=n}function jEe(e,n){this.a=e,this.b=n}function EEe(e,n){this.a=e,this.b=n}function TEe(e,n){this.a=e,this.b=n}function s2(e,n){this.a=e,this.b=n}function XW(e,n){this.b=e,this.a=n}function YW(e,n){this.b=e,this.a=n}function DT(e,n){Yn.call(this,e,n)}function LT(e,n){Yn.call(this,e,n)}function QW(e,n){Yn.call(this,e,n)}function JW(e,n){Yn.call(this,e,n)}function jg(e,n){Yn.call(this,e,n)}function ND(e,n){Yn.call(this,e,n)}function _D(e,n){Yn.call(this,e,n)}function BD(e,n){Yn.call(this,e,n)}function $T(e,n){Yn.call(this,e,n)}function ZW(e,n){Yn.call(this,e,n)}function RD(e,n){Yn.call(this,e,n)}function y8(e,n){Yn.call(this,e,n)}function FT(e,n){Yn.call(this,e,n)}function KD(e,n){Yn.call(this,e,n)}function w5(e,n){Yn.call(this,e,n)}function eU(e,n){Yn.call(this,e,n)}function fi(e,n){Yn.call(this,e,n)}function NT(e,n){Yn.call(this,e,n)}function CEe(e,n){this.a=e,this.b=n}function SEe(e,n){this.a=e,this.b=n}function MEe(e,n){this.a=e,this.b=n}function PEe(e,n){this.a=e,this.b=n}function AEe(e,n){this.a=e,this.b=n}function xEe(e,n){this.a=e,this.b=n}function OEe(e,n){this.a=e,this.b=n}function IEe(e,n){this.a=e,this.b=n}function DEe(e,n){this.a=e,this.b=n}function nU(e,n){this.b=e,this.a=n}function LEe(e,n){this.b=e,this.a=n}function $Ee(e,n){this.b=e,this.a=n}function FEe(e,n){this.b=e,this.a=n}function rv(e,n){this.c=e,this.d=n}function NEe(e,n){this.e=e,this.d=n}function _Ee(e,n){this.a=e,this.b=n}function BEe(e,n){this.b=n,this.c=e}function _T(e,n){Yn.call(this,e,n)}function k8(e,n){Yn.call(this,e,n)}function qD(e,n){Yn.call(this,e,n)}function g5(e,n){Yn.call(this,e,n)}function tU(e,n){Yn.call(this,e,n)}function HD(e,n){Yn.call(this,e,n)}function VD(e,n){Yn.call(this,e,n)}function j8(e,n){Yn.call(this,e,n)}function iU(e,n){Yn.call(this,e,n)}function GD(e,n){Yn.call(this,e,n)}function p5(e,n){Yn.call(this,e,n)}function rU(e,n){Yn.call(this,e,n)}function m5(e,n){Yn.call(this,e,n)}function v5(e,n){Yn.call(this,e,n)}function Kb(e,n){Yn.call(this,e,n)}function zD(e,n){Yn.call(this,e,n)}function WD(e,n){Yn.call(this,e,n)}function cU(e,n){Yn.call(this,e,n)}function y5(e,n){Yn.call(this,e,n)}function UD(e,n){Yn.call(this,e,n)}function BT(e,n){Yn.call(this,e,n)}function E8(e,n){Yn.call(this,e,n)}function T8(e,n){Yn.call(this,e,n)}function o2(e,n){Yn.call(this,e,n)}function XD(e,n){Yn.call(this,e,n)}function uU(e,n){Yn.call(this,e,n)}function YD(e,n){Yn.call(this,e,n)}function QD(e,n){Yn.call(this,e,n)}function sU(e,n){Yn.call(this,e,n)}function JD(e,n){Yn.call(this,e,n)}function ZD(e,n){Yn.call(this,e,n)}function eL(e,n){Yn.call(this,e,n)}function nL(e,n){Yn.call(this,e,n)}function oU(e,n){Yn.call(this,e,n)}function REe(e,n){this.b=e,this.a=n}function KEe(e,n){this.a=e,this.b=n}function qEe(e,n){this.a=e,this.b=n}function HEe(e,n){this.a=e,this.b=n}function VEe(e,n){this.a=e,this.b=n}function fU(e,n){Yn.call(this,e,n)}function lU(e,n){Yn.call(this,e,n)}function GEe(e,n){this.b=e,this.d=n}function aU(e,n){Yn.call(this,e,n)}function hU(e,n){Yn.call(this,e,n)}function zEe(e,n){this.a=e,this.b=n}function WEe(e,n){this.a=e,this.b=n}function RT(e,n){Yn.call(this,e,n)}function k5(e,n){Yn.call(this,e,n)}function dU(e,n){Yn.call(this,e,n)}function bU(e,n){Yn.call(this,e,n)}function wU(e,n){Yn.call(this,e,n)}function tL(e,n){Yn.call(this,e,n)}function gU(e,n){Yn.call(this,e,n)}function iL(e,n){Yn.call(this,e,n)}function KT(e,n){Yn.call(this,e,n)}function rL(e,n){Yn.call(this,e,n)}function cL(e,n){Yn.call(this,e,n)}function C8(e,n){Yn.call(this,e,n)}function uL(e,n){Yn.call(this,e,n)}function pU(e,n){Yn.call(this,e,n)}function S8(e,n){Yn.call(this,e,n)}function mU(e,n){Yn.call(this,e,n)}function Ban(e,n){return Bu(e.c,n)}function Ran(e,n){return Bu(n.b,e)}function Kan(e,n){return-e.b.Je(n)}function vU(e,n){return Bu(e.g,n)}function M8(e,n){Yn.call(this,e,n)}function f2(e,n){Yn.call(this,e,n)}function UEe(e,n){this.a=e,this.b=n}function XEe(e,n){this.a=e,this.b=n}function je(e,n){this.a=e,this.b=n}function j5(e,n){Yn.call(this,e,n)}function E5(e,n){Yn.call(this,e,n)}function P8(e,n){Yn.call(this,e,n)}function sL(e,n){Yn.call(this,e,n)}function qT(e,n){Yn.call(this,e,n)}function T5(e,n){Yn.call(this,e,n)}function oL(e,n){Yn.call(this,e,n)}function HT(e,n){Yn.call(this,e,n)}function Eg(e,n){Yn.call(this,e,n)}function A8(e,n){Yn.call(this,e,n)}function C5(e,n){Yn.call(this,e,n)}function S5(e,n){Yn.call(this,e,n)}function x8(e,n){Yn.call(this,e,n)}function VT(e,n){Yn.call(this,e,n)}function Tg(e,n){Yn.call(this,e,n)}function GT(e,n){Yn.call(this,e,n)}function YEe(e,n){this.a=e,this.b=n}function QEe(e,n){this.a=e,this.b=n}function JEe(e,n){this.a=e,this.b=n}function ZEe(e,n){this.a=e,this.b=n}function eTe(e,n){this.a=e,this.b=n}function nTe(e,n){this.a=e,this.b=n}function Xi(e,n){this.a=e,this.b=n}function zT(e,n){Yn.call(this,e,n)}function tTe(e,n){this.a=e,this.b=n}function iTe(e,n){this.a=e,this.b=n}function rTe(e,n){this.a=e,this.b=n}function cTe(e,n){this.a=e,this.b=n}function uTe(e,n){this.a=e,this.b=n}function sTe(e,n){this.a=e,this.b=n}function oTe(e,n){this.b=e,this.a=n}function fTe(e,n){this.b=e,this.a=n}function lTe(e,n){this.b=e,this.a=n}function aTe(e,n){this.b=e,this.a=n}function hTe(e,n){this.a=e,this.b=n}function dTe(e,n){this.a=e,this.b=n}function qan(e,n){mCn(e.a,u(n,56))}function bTe(e,n){xvn(e.a,u(n,11))}function Han(e,n){return hv(),n!=e}function wTe(){return Rke(),new mXe}function gTe(){$$(),this.b=new Ai}function pTe(){cP(),this.a=new Ai}function mTe(){aQ(),yY.call(this)}function l2(e,n){Yn.call(this,e,n)}function vTe(e,n){this.a=e,this.b=n}function yTe(e,n){this.a=e,this.b=n}function WT(e,n){this.a=e,this.b=n}function kTe(e,n){this.a=e,this.b=n}function jTe(e,n){this.a=e,this.b=n}function ETe(e,n){this.a=e,this.b=n}function TTe(e,n){this.d=e,this.b=n}function yU(e,n){this.d=e,this.e=n}function CTe(e,n){this.f=e,this.c=n}function O8(e,n){this.b=e,this.c=n}function kU(e,n){this.i=e,this.g=n}function STe(e,n){this.e=e,this.a=n}function MTe(e,n){this.a=e,this.b=n}function jU(e,n){e.i=null,XS(e,n)}function Van(e,n){e&&jt(sE,e,n)}function PTe(e,n){return dN(e.a,n)}function UT(e){return V7(e.c,e.b)}function yc(e){return e?e.dd():null}function X(e){return e??null}function qb(e){return typeof e===z2}function Hb(e){return typeof e===nie}function Ri(e){return typeof e===Z_}function _h(e,n){return e.Hd().Xb(n)}function XT(e,n){return u4n(e.Kc(),n)}function o0(e,n){return Fc(e,n)==0}function Gan(e,n){return Fc(e,n)>=0}function M5(e,n){return Fc(e,n)!=0}function zan(e){return""+(nn(e),e)}function I8(e,n){return e.substr(n)}function ATe(e){return us(e),e.d.gc()}function fL(e){return qEn(e,e.c),e}function YT(e){return R5(e==null),e}function P5(e,n){return e.a+=""+n,e}function Fr(e,n){return e.a+=""+n,e}function A5(e,n){return e.a+=""+n,e}function xc(e,n){return e.a+=""+n,e}function Qn(e,n){return e.a+=""+n,e}function EU(e,n){return e.a+=""+n,e}function xTe(e,n){ui(e,n,e.a,e.a.a)}function W1(e,n){ui(e,n,e.c.b,e.c)}function Wan(e,n,t){B_e(n,t_(e,t))}function Uan(e,n,t){B_e(n,t_(e,t))}function Xan(e,n){Kvn(new jn(e),n)}function OTe(e,n){e.q.setTime(C0(n))}function ITe(e,n){AY.call(this,e,n)}function DTe(e,n){AY.call(this,e,n)}function lL(e,n){AY.call(this,e,n)}function LTe(e){Yu(this),h6(this,e)}function TU(e){return Qe(e,0),null}function vf(e){return e.a=0,e.b=0,e}function $Te(e,n){return e.a=n.g+1,e}function Yan(e,n){return e.j[n.p]==2}function CU(e){return Iwn(u(e,79))}function FTe(){FTe=W,hYe=Zn(vN())}function NTe(){NTe=W,AQe=Zn(vKe())}function _Te(){this.b=new c2(uw(12))}function BTe(){this.b=0,this.a=!1}function RTe(){this.b=0,this.a=!1}function x5(e){this.a=e,nD.call(this)}function KTe(e){this.a=e,nD.call(this)}function Ge(e,n){ji.call(this,e,n)}function aL(e,n){Ub.call(this,e,n)}function Cg(e,n){kU.call(this,e,n)}function hL(e,n){Vv.call(this,e,n)}function qTe(e,n){D8.call(this,e,n)}function ot(e,n){PT(),jt(YO,e,n)}function dL(e,n){return Ps(e.a,0,n)}function HTe(e,n){return e.a.a.a.cc(n)}function VTe(e,n){return X(e)===X(n)}function Qan(e,n){return mi(e.a,n.a)}function Jan(e,n){return yu(e.a,n.a)}function Zan(e,n){return CPe(e.a,n.a)}function wl(e,n){return e.indexOf(n)}function f0(e,n){return e==n?0:e?1:-1}function QT(e){return e<10?"0"+e:""+e}function ehn(e){return Nn(e),new x5(e)}function GTe(e){return au(e.l,e.m,e.h)}function cv(e){return oi((nn(e),e))}function nhn(e){return oi((nn(e),e))}function zTe(e,n){return yu(e.g,n.g)}function ic(e){return typeof e===nie}function thn(e){return e==ub||e==Kw}function ihn(e){return e==ub||e==Rw}function SU(e){return rc(e.b.b,e,0)}function WTe(e){this.a=wTe(),this.b=e}function UTe(e){this.a=wTe(),this.b=e}function rhn(e,n){return se(e.a,n),n}function chn(e,n){return se(e.c,n),e}function XTe(e,n){return Ls(e.a,n),e}function uhn(e,n){return Xo(),n.a+=e}function shn(e,n){return Xo(),n.a+=e}function ohn(e,n){return Xo(),n.c+=e}function MU(e,n){xv(e,0,e.length,n)}function wa(){Lz.call(this,new nd)}function YTe(){xC.call(this,0,0,0,0)}function a2(){Qs.call(this,0,0,0,0)}function Hr(e){this.a=e.a,this.b=e.b}function Bh(e){return e==Io||e==of}function uv(e){return e==Ba||e==_a}function QTe(e){return e==Np||e==Fp}function Sg(e){return e!=cl&&e!=S1}function ps(e){return e.Lg()&&e.Mg()}function JTe(e){return zC(u(e,118))}function JT(e){return Ls(new xi,e)}function ZTe(e,n){return new Vv(n,e)}function fhn(e,n){return new Vv(n,e)}function PU(e,n,t){KS(e,n),qS(e,t)}function ZT(e,n,t){O0(e,n),x0(e,t)}function $f(e,n,t){Mu(e,n),Pu(e,t)}function eC(e,n,t){Lv(e,n),Fv(e,t)}function nC(e,n,t){$v(e,n),Nv(e,t)}function bL(e,n){Yv(e,n),_v(e,e.D)}function AU(e){CTe.call(this,e,!0)}function eCe(e,n,t){mX.call(this,e,n,t)}function Rh(e){c1(),l4n.call(this,e)}function nCe(){OT.call(this,"Head",1)}function tCe(){OT.call(this,"Tail",3)}function wL(e){e.c=V(pn,pe,1,0,5,1)}function iCe(e){e.a=V(pn,pe,1,8,5,1)}function rCe(e){Su(e.xf(),new zye(e))}function Mg(e){return e!=null?Bt(e):0}function lhn(e,n){return sw(n,_f(e))}function ahn(e,n){return sw(n,_f(e))}function hhn(e,n){return e[e.length]=n}function dhn(e,n){return e[e.length]=n}function xU(e){return hbn(e.b.Kc(),e.a)}function bhn(e,n){return US(b$(e.d),n)}function whn(e,n){return US(b$(e.g),n)}function ghn(e,n){return US(b$(e.j),n)}function Er(e,n){ji.call(this,e.b,n)}function l0(e){xC.call(this,e,e,e,e)}function OU(e){return e.b&&F_(e),e.a}function IU(e){return e.b&&F_(e),e.c}function phn(e,n){el||(e.b=n)}function gL(e,n,t){return Ut(e,n,t),t}function cCe(e,n,t){Ut(e.c[n.g],n.g,t)}function mhn(e,n,t){u(e.c,69).Xh(n,t)}function vhn(e,n,t){$f(t,t.i+e,t.j+n)}function yhn(e,n){Bn(Kc(e.a),vxe(n))}function khn(e,n){Bn(rs(e.a),yxe(n))}function O5(e){gt(),Qd.call(this,e)}function jhn(e){return e==null?0:Bt(e)}function uCe(){uCe=W,RH=new j6($V)}function qn(){qn=W,new sCe,new oe}function sCe(){new $n,new $n,new $n}function DU(){DU=W,Qz(),Eue=new $n}function Ff(){Ff=W,k.Math.log(2)}function Xs(){Xs=W,la=(dEe(),jrn)}function Ehn(){throw O(new Ga(WUe))}function Thn(){throw O(new Ga(WUe))}function Chn(){throw O(new Ga(UUe))}function Shn(){throw O(new Ga(UUe))}function oCe(e){this.a=e,QX.call(this,e)}function pL(e){this.a=e,mT.call(this,e)}function mL(e){this.a=e,mT.call(this,e)}function Li(e,n){XL(e.c,e.c.length,n)}function lc(e){return e.an?1:0}function lCe(e,n){return Fc(e,n)>0?e:n}function au(e,n,t){return{l:e,m:n,h:t}}function Mhn(e,n){e.a!=null&&bTe(n,e.a)}function aCe(e){e.a=new al,e.c=new al}function tC(e){this.b=e,this.a=new oe}function hCe(e){this.b=new Qbe,this.a=e}function $U(e){MX.call(this),this.a=e}function dCe(){OT.call(this,"Range",2)}function bCe(){Aee(),this.a=new hk(Qse)}function Phn(e,n){Nn(n),Ig(e).Jc(new kn)}function Ahn(e,n){return As(),n.n.b+=e}function xhn(e,n,t){return jt(e.g,t,n)}function Ohn(e,n,t){return jt(e.k,t,n)}function Ihn(e,n){return jt(e.a,n.a,n)}function Pg(e,n,t){return XZ(n,t,e.c)}function FU(e){return new je(e.c,e.d)}function Dhn(e){return new je(e.c,e.d)}function kc(e){return new je(e.a,e.b)}function wCe(e,n){return tOn(e.a,n,null)}function Lhn(e){or(e,null),Gi(e,null)}function gCe(e){N$(e,null),_$(e,null)}function pCe(){D8.call(this,null,null)}function mCe(){lC.call(this,null,null)}function NU(e){this.a=e,$n.call(this)}function $hn(e){this.b=(He(),new oD(e))}function iC(e){e.j=V(Fue,ie,310,0,0,1)}function Fhn(e,n,t){e.c.Vc(n,u(t,133))}function Nhn(e,n,t){e.c.ji(n,u(t,133))}function vCe(e,n){Dn(e),e.Gc(u(n,15))}function I5(e,n){return mxn(e.c,e.b,n)}function _hn(e,n){return new KCe(e.Kc(),n)}function vL(e,n){return N4n(e.Kc(),n)!=-1}function _U(e,n){return e.a.Bc(n)!=null}function rC(e){return e.Ob()?e.Pb():null}function yCe(e){return ko(e,0,e.length)}function _(e,n){return e!=null&&EN(e,n)}function Bhn(e,n){e.q.setHours(n),K6(e,n)}function kCe(e,n){e.c&&(oY(n),WAe(n))}function Rhn(e,n,t){u(e.Kb(t),164).Nb(n)}function Khn(e,n,t){return Xxn(e,n,t),t}function jCe(e,n,t){e.a=n^1502,e.b=t^IB}function yL(e,n,t){return e.a[n.g][t.g]}function Nf(e,n){return e.a[n.c.p][n.p]}function qhn(e,n){return e.e[n.c.p][n.p]}function Hhn(e,n){return e.c[n.c.p][n.p]}function Vhn(e,n){return e.j[n.p]=ZTn(n)}function Ghn(e,n){return KQ(e.f,n.tg())}function zhn(e,n){return KQ(e.b,n.tg())}function Whn(e,n){return e.a<_X(n)?-1:1}function Uhn(e,n,t){return t?n!=0:n!=e-1}function Xhn(e,n,t){return e.a=n,e.b=t,e}function gl(e,n){return e.a*=n,e.b*=n,e}function D5(e,n,t){return Ut(e.g,n,t),t}function Yhn(e,n,t,i){Ut(e.a[n.g],t.g,i)}function Qhn(e,n){Gb(n,e.a.a.a,e.a.a.b)}function ECe(e){e.a=u(en(e.b.a,4),126)}function TCe(e){e.a=u(en(e.b.a,4),126)}function Jhn(e){Z8(e,kWe),g_(e,ZOn(e))}function sv(){sv=W,KA=new oT(null)}function BU(){BU=W,BU(),kXe=new wo}function RU(){this.Bb|=256,this.Bb|=512}function jn(e){this.i=e,this.f=this.i.j}function gi(e,n,t){z8.call(this,e,n,t)}function cC(e,n,t){gi.call(this,e,n,t)}function _u(e,n,t){gi.call(this,e,n,t)}function CCe(e,n,t){cC.call(this,e,n,t)}function KU(e,n,t){z8.call(this,e,n,t)}function Ag(e,n,t){z8.call(this,e,n,t)}function qU(e,n,t){kC.call(this,e,n,t)}function SCe(e,n,t){kC.call(this,e,n,t)}function MCe(e,n,t){qU.call(this,e,n,t)}function PCe(e,n,t){KU.call(this,e,n,t)}function xg(e,n){this.a=e,mT.call(this,n)}function ACe(e,n){this.a=e,SD.call(this,n)}function xCe(e,n){this.a=e,SD.call(this,n)}function OCe(e,n){this.a=e,SD.call(this,n)}function HU(e){this.a=e,rye.call(this,e.d)}function Kh(e){this.c=e,this.a=this.c.a}function VU(e,n){this.a=n,SD.call(this,e)}function ICe(e,n){this.a=n,X$.call(this,e)}function DCe(e,n){this.a=e,X$.call(this,n)}function Zhn(e,n){return MY(e$(e.c)).Xb(n)}function GU(e,n){return b6n(e,new Ih,n).a}function Sn(e,n){return Nn(n),new LCe(e,n)}function LCe(e,n){this.a=n,vT.call(this,e)}function zU(e){this.b=e,this.a=this.b.a.e}function $Ce(e){e.b.Qb(),--e.d.f.d,IC(e.d)}function FCe(e){iD.call(this,u(Nn(e),35))}function NCe(e){iD.call(this,u(Nn(e),35))}function _Ce(){Yn.call(this,"INSTANCE",0)}function WU(e){if(!e)throw O(new o8)}function UU(e){if(!e)throw O(new Fu)}function XU(e){if(!e)throw O(new Ac)}function BCe(){BCe=W,LD(),Qrn=new H6e}function un(){un=W,xd=!1,W3=!0}function po(e){n8.call(this,(nn(e),e))}function Ms(e){n8.call(this,(nn(e),e))}function uC(e){qm.call(this,e),this.a=e}function YU(e){Hm.call(this,e),this.a=e}function QU(e){Xm.call(this,e),this.a=e}function RCe(){iC(this),YC(this),this._d()}function KCe(e,n){this.a=n,vT.call(this,e)}function qCe(e,n){return new FBe(e.a,e.b,n)}function sC(e,n){return e.lastIndexOf(n)}function JU(e,n,t){return e.indexOf(n,t)}function L5(e){return e==null?Ou:uc(e)}function e1n(e){return e==null?null:e.name}function ZU(e){return e.a!=null?e.a:null}function n1n(e){return gT(e.a)?Txe(e):null}function kL(e,n){return J5(e.a,n)!=null}function Bu(e,n){return!!n&&e.b[n.g]==n}function a0(e){return e.$H||(e.$H=++bDn)}function t1n(e){return e.l+e.m*X2+e.h*yd}function HCe(e,n){return se(n.a,e.a),e.a}function VCe(e,n){return se(n.b,e.a),e.a}function h0(e,n){return se(n.a,e.a),e.a}function d0(e){return mn(e.a!=null),e.a}function jL(e){Lz.call(this,new XQ(e))}function eX(e,n){nee.call(this,e,n,null)}function $5(e){this.a=e,Pz.call(this,e)}function oC(){oC=W,zA=new ji(kGe,0)}function fC(e,n){return++e.b,se(e.a,n)}function nX(e,n){return++e.b,Tu(e.a,n)}function i1n(e,n){return mi(e.n.a,n.n.a)}function r1n(e,n){return mi(e.c.d,n.c.d)}function c1n(e,n){return mi(e.c.c,n.c.c)}function ku(e,n){return u(Ct(e.b,n),15)}function u1n(e,n){return e.n.b=(nn(n),n)}function s1n(e,n){return e.n.b=(nn(n),n)}function F5(e){return lc(e.a)||lc(e.b)}function o1n(e,n,t){return pOe(e,n,t,e.b)}function tX(e,n,t){return pOe(e,n,t,e.c)}function iX(e,n,t){u(p7(e,n),21).Fc(t)}function f1n(e,n,t){tN(e.a,t),FM(e.a,n)}function D8(e,n){h5(),this.a=e,this.b=n}function lC(e,n){Ua(),this.b=e,this.c=n}function EL(e,n){ZL(),this.f=n,this.d=e}function rX(e,n){qQ(n,e),this.d=e,this.c=n}function Xa(e){var n;n=e.a,e.a=e.b,e.b=n}function l1n(e){return Xo(),!!e&&!e.dc()}function a1n(e){return new tw(3,e)}function cX(e,n){return new KSe(e,e.gc(),n)}function h1n(e){return sT(),Jn((hxe(),tXe),e)}function h2(e){this.d=e,jn.call(this,e)}function d2(e){this.c=e,jn.call(this,e)}function L8(e){this.c=e,h2.call(this,e)}function GCe(){f5(),this.b=new P9e(this)}function Kl(e){return Ds(e,Pw),new iu(e)}function zCe(e){return jv(),parseInt(e)||-1}function Ps(e,n,t){return e.substr(n,t-n)}function ov(e,n,t){return JU(e,xu(n),t)}function TL(e){return BY(e.c,e.c.length)}function d1n(e){return e.f!=null?e.f:""+e.g}function CL(e){return e.f!=null?e.f:""+e.g}function SL(e){return mn(e.b!=0),e.a.a.c}function aC(e){return mn(e.b!=0),e.c.b.c}function $8(e){_(e,150)&&u(e,150).Gh()}function hC(e){return e.b=u(EAe(e.a),42)}function uX(e){tv(),this.b=e,this.a=!0}function WCe(e){kT(),this.b=e,this.a=!0}function UCe(e){e.d=new YCe(e),e.e=new $n}function XCe(e){if(!e)throw O(new Us)}function sX(e){if(!e)throw O(new o8)}function Vb(e){if(!e)throw O(new Fu)}function b1n(e){if(!e)throw O(new aD)}function mn(e){if(!e)throw O(new Ac)}function YCe(e){JX.call(this,e,null,null)}function QCe(){Yn.call(this,"POLYOMINO",0)}function JCe(e,n,t,i){SY.call(this,e,n,t,i)}function w1n(e,n){return r1(),Be(e,n.e,n)}function g1n(e,n,t){return ST(),t.qg(e,n)}function Oi(e,n){return!!e.q&&ys(e.q,n)}function p1n(e,n){return e>0?n*n/e:n*n*100}function m1n(e,n){return e>0?n/(e*e):n*100}function v1n(e,n,t){return se(n,GFe(e,t))}function y1n(e,n,t){MS(),e.Xe(n)&&t.td(e)}function fv(e,n,t){var i;i=e.Zc(n),i.Rb(t)}function Gb(e,n,t){return e.a+=n,e.b+=t,e}function k1n(e,n,t){return e.a*=n,e.b*=t,e}function F8(e,n,t){return e.a-=n,e.b-=t,e}function oX(e,n){return e.a=n.a,e.b=n.b,e}function dC(e){return e.a=-e.a,e.b=-e.b,e}function ZCe(e){this.c=e,this.a=1,this.b=1}function eSe(e){this.c=e,Mu(e,0),Pu(e,0)}function nSe(e){Gt.call(this),o6(this,e)}function tSe(e){Q_(),M7e(this),this.mf(e)}function iSe(e,n){h5(),D8.call(this,e,n)}function fX(e,n){Ua(),lC.call(this,e,n)}function rSe(e,n){Ua(),lC.call(this,e,n)}function cSe(e,n){Ua(),fX.call(this,e,n)}function ms(e,n,t){js.call(this,e,n,t,2)}function ML(e,n){Xs(),AC.call(this,e,n)}function uSe(e,n){Xs(),ML.call(this,e,n)}function lX(e,n){Xs(),ML.call(this,e,n)}function sSe(e,n){Xs(),lX.call(this,e,n)}function aX(e,n){Xs(),AC.call(this,e,n)}function oSe(e,n){Xs(),aX.call(this,e,n)}function fSe(e,n){Xs(),AC.call(this,e,n)}function j1n(e,n){return e.c.Fc(u(n,133))}function hX(e,n,t){return pP(m7(e,n),t)}function E1n(e,n,t){return n.Qk(e.e,e.c,t)}function T1n(e,n,t){return n.Rk(e.e,e.c,t)}function PL(e,n){return e1(e.e,u(n,49))}function C1n(e,n,t){y6(rs(e.a),n,yxe(t))}function S1n(e,n,t){y6(Kc(e.a),n,vxe(t))}function dX(e,n){n.$modCount=e.$modCount}function N5(){N5=W,s9=new Kt("root")}function lv(){lv=W,fE=new cke,new uke}function lSe(){this.a=new E0,this.b=new E0}function bX(){ALe.call(this),this.Bb|=vr}function aSe(){Yn.call(this,"GROW_TREE",0)}function M1n(e){return e==null?null:GOn(e)}function P1n(e){return e==null?null:Zkn(e)}function A1n(e){return e==null?null:uc(e)}function x1n(e){return e==null?null:uc(e)}function ga(e){e.o==null&&MTn(e)}function ye(e){return R5(e==null||qb(e)),e}function he(e){return R5(e==null||Hb(e)),e}function Vn(e){return R5(e==null||Ri(e)),e}function wX(e){this.q=new k.Date(C0(e))}function N8(e,n){this.c=e,ev.call(this,e,n)}function bC(e,n){this.a=e,N8.call(this,e,n)}function O1n(e,n){this.d=e,kye(this),this.b=n}function gX(e,n){cF.call(this,e),this.a=n}function pX(e,n){cF.call(this,e),this.a=n}function I1n(e){VZ.call(this,0,0),this.f=e}function mX(e,n,t){CS.call(this,e,n,t,null)}function hSe(e,n,t){CS.call(this,e,n,t,null)}function D1n(e,n,t){return e.ue(n,t)<=0?t:n}function L1n(e,n,t){return e.ue(n,t)<=0?n:t}function $1n(e,n){return u(M0(e.b,n),149)}function F1n(e,n){return u(M0(e.c,n),229)}function AL(e){return u(ve(e.a,e.b),287)}function dSe(e){return new je(e.c,e.d+e.a)}function bSe(e){return As(),QTe(u(e,197))}function zb(){zb=W,Sse=_e((Ts(),Vd))}function N1n(e,n){n.a?jSn(e,n):kL(e.a,n.b)}function wSe(e,n){el||se(e.a,n)}function _1n(e,n){return g8(),Hv(n.d.i,e)}function B1n(e,n){return D2(),new pqe(n,e)}function pl(e,n){return Z8(n,kie),e.f=n,e}function vX(e,n,t){return t=Ns(e,n,3,t),t}function yX(e,n,t){return t=Ns(e,n,6,t),t}function kX(e,n,t){return t=Ns(e,n,9,t),t}function _8(e,n,t){++e.j,e.Ki(),iF(e,n,t)}function gSe(e,n,t){++e.j,e.Hi(n,e.oi(n,t))}function pSe(e,n,t){var i;i=e.Zc(n),i.Rb(t)}function mSe(e,n,t){return $te(e.c,e.b,n,t)}function jX(e,n){return(n&vt)%e.d.length}function ji(e,n){Kt.call(this,e),this.a=n}function EX(e,n){Vz.call(this,e),this.a=n}function xL(e,n){Vz.call(this,e),this.a=n}function vSe(e,n){this.c=e,P0.call(this,n)}function ySe(e,n){this.a=e,k7e.call(this,n)}function B8(e,n){this.a=e,k7e.call(this,n)}function kSe(e){this.a=(Ds(e,Pw),new iu(e))}function jSe(e){this.a=(Ds(e,Pw),new iu(e))}function R8(e){return!e.a&&(e.a=new gn),e.a}function ESe(e){return e>8?0:e+1}function R1n(e,n){return un(),e==n?0:e?1:-1}function TX(e,n,t){return p2(e,u(n,22),t)}function K1n(e,n,t){return e.apply(n,t)}function TSe(e,n,t){return e.a+=ko(n,0,t),e}function CX(e,n){var t;return t=e.e,e.e=n,t}function q1n(e,n){var t;t=e[OB],t.call(e,n)}function H1n(e,n){var t;t=e[OB],t.call(e,n)}function Wb(e,n){e.a.Vc(e.b,n),++e.b,e.c=-1}function CSe(e){Yu(e.e),e.d.b=e.d,e.d.a=e.d}function K8(e){e.b?K8(e.b):e.f.c.zc(e.e,e.d)}function V1n(e,n,t){z1(),mye(e,n.Ce(e.a,t))}function G1n(e,n){return xD(sNe(e.a,n,!0))}function z1n(e,n){return xD(oNe(e.a,n,!0))}function Uo(e,n){return hT(new Array(n),e)}function OL(e){return String.fromCharCode(e)}function W1n(e){return e==null?null:e.message}function SSe(){this.a=new oe,this.b=new oe}function MSe(){this.a=new GG,this.b=new F7e}function PSe(){this.b=new ir,this.c=new oe}function SX(){this.d=new ir,this.e=new ir}function MX(){this.n=new ir,this.o=new ir}function wC(){this.n=new n2,this.i=new a2}function ASe(){this.a=new o6e,this.b=new X2e}function xSe(){this.a=new oe,this.d=new oe}function OSe(){this.b=new Ai,this.a=new Ai}function ISe(){this.b=new $n,this.a=new $n}function DSe(){this.b=new dje,this.a=new Qme}function LSe(){wC.call(this),this.a=new ir}function _5(e){m4n.call(this,e,(AS(),UK))}function PX(e,n,t,i){xC.call(this,e,n,t,i)}function U1n(e,n,t){t!=null&&zS(n,LN(e,t))}function X1n(e,n,t){t!=null&&WS(n,LN(e,t))}function AX(e,n,t){return t=Ns(e,n,11,t),t}function Mt(e,n){return e.a+=n.a,e.b+=n.b,e}function Ki(e,n){return e.a-=n.a,e.b-=n.b,e}function Y1n(e,n){return e.n.a=(nn(n),n+10)}function Q1n(e,n){return e.n.a=(nn(n),n+10)}function J1n(e,n){return n==e||l3(tP(n),e)}function $Se(e,n){return jt(e.a,n,"")==null}function Z1n(e,n){return g8(),!Hv(n.d.i,e)}function edn(e,n){Bh(e.f)?pTn(e,n):nkn(e,n)}function ndn(e,n){var t;return t=n.Hh(e.a),t}function Ub(e,n){qr.call(this,py+e+Sd+n)}function b2(e,n,t,i){fe.call(this,e,n,t,i)}function xX(e,n,t,i){fe.call(this,e,n,t,i)}function FSe(e,n,t,i){xX.call(this,e,n,t,i)}function NSe(e,n,t,i){RC.call(this,e,n,t,i)}function IL(e,n,t,i){RC.call(this,e,n,t,i)}function OX(e,n,t,i){RC.call(this,e,n,t,i)}function _Se(e,n,t,i){IL.call(this,e,n,t,i)}function IX(e,n,t,i){IL.call(this,e,n,t,i)}function Xe(e,n,t,i){OX.call(this,e,n,t,i)}function BSe(e,n,t,i){IX.call(this,e,n,t,i)}function RSe(e,n,t,i){xY.call(this,e,n,t,i)}function KSe(e,n,t){this.a=e,rX.call(this,n,t)}function qSe(e,n,t){this.c=n,this.b=t,this.a=e}function tdn(e,n,t){return e.d=u(n.Kb(t),164)}function DX(e,n){return e.Aj().Nh().Kh(e,n)}function LX(e,n){return e.Aj().Nh().Ih(e,n)}function HSe(e,n){return nn(e),X(e)===X(n)}function Ke(e,n){return nn(e),X(e)===X(n)}function DL(e,n){return xD(sNe(e.a,n,!1))}function LL(e,n){return xD(oNe(e.a,n,!1))}function idn(e,n){return e.b.sd(new jEe(e,n))}function rdn(e,n){return e.b.sd(new EEe(e,n))}function VSe(e,n){return e.b.sd(new TEe(e,n))}function $X(e,n,t){return e.lastIndexOf(n,t)}function cdn(e,n,t){return mi(e[n.b],e[t.b])}function udn(e,n){return te(n,(be(),Cj),e)}function sdn(e,n){return yu(n.a.d.p,e.a.d.p)}function odn(e,n){return yu(e.a.d.p,n.a.d.p)}function fdn(e,n){return mi(e.c-e.s,n.c-n.s)}function GSe(e){return e.c?rc(e.c.a,e,0):-1}function ldn(e){return e<100?null:new Dh(e)}function w2(e){return e==Hd||e==fa||e==nu}function zSe(e,n){return _(n,15)&&JKe(e.c,n)}function adn(e,n){el||n&&(e.d=n)}function $L(e,n){var t;return t=n,!!rZ(e,t)}function FX(e,n){this.c=e,o$.call(this,e,n)}function WSe(e){this.c=e,lL.call(this,CP,0)}function USe(e,n){gbn.call(this,e,e.length,n)}function hdn(e,n,t){return u(e.c,69).lk(n,t)}function gC(e,n,t){return u(e.c,69).mk(n,t)}function ddn(e,n,t){return E1n(e,u(n,332),t)}function NX(e,n,t){return T1n(e,u(n,332),t)}function bdn(e,n,t){return z_e(e,u(n,332),t)}function XSe(e,n,t){return hkn(e,u(n,332),t)}function B5(e,n){return n==null?null:aw(e.b,n)}function _X(e){return Hb(e)?(nn(e),e):e.ke()}function pC(e){return!isNaN(e)&&!isFinite(e)}function YSe(e){ml(),this.a=(He(),new Xm(e))}function q8(e){hv(),this.d=e,this.a=new mg}function Ys(e,n,t){this.a=e,this.b=n,this.c=t}function QSe(e,n,t){this.a=e,this.b=n,this.c=t}function JSe(e,n,t){this.d=e,this.b=t,this.a=n}function FL(e){aCe(this),vo(this),gr(this,e)}function Ru(e){wL(this),ZX(this.c,0,e.Pc())}function ZSe(e){ks(e.a),YIe(e.c,e.b),e.b=null}function eMe(e){this.a=e,Rl(),Au(Date.now())}function nMe(){nMe=W,ise=new N,HA=new N}function NL(){NL=W,Uue=new Kr,vXe=new vu}function tMe(){tMe=W,Mrn=V(pn,pe,1,0,5,1)}function iMe(){iMe=W,Grn=V(pn,pe,1,0,5,1)}function BX(){BX=W,zrn=V(pn,pe,1,0,5,1)}function ml(){ml=W,new Wz((He(),He(),Sr))}function wdn(e){return AS(),Jn((sDe(),jXe),e)}function gdn(e){return Wf(),Jn((SIe(),PXe),e)}function pdn(e){return PM(),Jn((DOe(),LXe),e)}function mdn(e){return LS(),Jn((LOe(),$Xe),e)}function vdn(e){return oP(),Jn((y$e(),FXe),e)}function ydn(e){return Ef(),Jn((EIe(),BXe),e)}function kdn(e){return Qu(),Jn((TIe(),KXe),e)}function jdn(e){return Cu(),Jn((CIe(),HXe),e)}function Edn(e){return EP(),Jn((FTe(),hYe),e)}function Tdn(e){return L0(),Jn((fDe(),bYe),e)}function Cdn(e){return B2(),Jn((lDe(),gYe),e)}function Sdn(e){return S6(),Jn((aDe(),vYe),e)}function Mdn(e){return jT(),Jn((aOe(),yYe),e)}function Pdn(e){return $S(),Jn(($Oe(),NYe),e)}function Adn(e){return u6(),Jn((MIe(),rQe),e)}function xdn(e){return pr(),Jn((KDe(),oQe),e)}function Odn(e){return zv(),Jn((oDe(),dQe),e)}function Idn(e){return $0(),Jn((PIe(),vQe),e)}function RX(e,n){if(!e)throw O(new rn(n))}function Ddn(e){return dn(),Jn((oLe(),EQe),e)}function KX(e){xC.call(this,e.d,e.c,e.a,e.b)}function _L(e){xC.call(this,e.d,e.c,e.a,e.b)}function qX(e,n,t){this.b=e,this.c=n,this.a=t}function mC(e,n,t){this.b=e,this.a=n,this.c=t}function rMe(e,n,t){this.a=e,this.b=n,this.c=t}function HX(e,n,t){this.a=e,this.b=n,this.c=t}function cMe(e,n,t){this.a=e,this.b=n,this.c=t}function VX(e,n,t){this.a=e,this.b=n,this.c=t}function uMe(e,n,t){this.b=e,this.a=n,this.c=t}function vC(e,n,t){this.e=n,this.b=e,this.d=t}function Ldn(e,n,t){return z1(),e.a.Od(n,t),n}function BL(e){var n;return n=new HI,n.e=e,n}function GX(e){var n;return n=new H7e,n.b=e,n}function H8(){H8=W,tx=new Tge,ix=new Cge}function Xo(){Xo=W,NQe=new s2e,_Qe=new o2e}function $dn(e){return sM(),Jn((dDe(),IQe),e)}function Fdn(e){return zf(),Jn((wDe(),KQe),e)}function Ndn(e){return uP(),Jn((f$e(),XQe),e)}function _dn(e){return K2(),Jn((aLe(),YQe),e)}function Bdn(e){return SS(),Jn((KOe(),QQe),e)}function Rdn(e){return I2(),Jn((AIe(),JQe),e)}function Kdn(e){return Qg(),Jn((FDe(),HQe),e)}function qdn(e){return D0(),Jn((IIe(),UQe),e)}function Hdn(e){return VS(),Jn((xIe(),ZQe),e)}function Vdn(e){return gd(),Jn((LDe(),eJe),e)}function Gdn(e){return E7(),Jn((NOe(),nJe),e)}function zdn(e){return od(),Jn((OIe(),iJe),e)}function Wdn(e){return YM(),Jn((wLe(),rJe),e)}function Udn(e){return w7(),Jn((_Oe(),cJe),e)}function Xdn(e){return nk(),Jn((dLe(),uJe),e)}function Ydn(e){return h3(),Jn((hLe(),sJe),e)}function Qdn(e){return Or(),Jn(($$e(),oJe),e)}function Jdn(e){return Gv(),Jn((LIe(),fJe),e)}function Zdn(e){return Ta(),Jn((DIe(),aJe),e)}function e0n(e){return wS(),Jn((qOe(),hJe),e)}function n0n(e){return ro(),Jn((NDe(),dJe),e)}function t0n(e){return zM(),Jn((bLe(),Pen),e)}function i0n(e){return g6(),Jn(($Ie(),Aen),e)}function r0n(e){return bw(),Jn((gDe(),xen),e)}function c0n(e){return Ar(),Jn((_Ie(),Fen),e)}function u0n(e){return np(),Jn((o$e(),Ien),e)}function s0n(e){return Sa(),Jn((NIe(),Den),e)}function o0n(e){return v7(),Jn((ROe(),Len),e)}function f0n(e){return iM(),Jn((FIe(),Nen),e)}function l0n(e){return M6(),Jn(($De(),Oen),e)}function a0n(e){return f7(),Jn((BOe(),_en),e)}function h0n(e){return Jv(),Jn((RIe(),Ben),e)}function d0n(e){return nM(),Jn((KIe(),Ren),e)}function b0n(e){return oM(),Jn((BIe(),Ken),e)}function w0n(e){return I0(),Jn((qIe(),enn),e)}function g0n(e){return r6(),Jn((VOe(),cnn),e)}function p0n(e){return yl(),Jn((GOe(),hnn),e)}function m0n(e){return Bf(),Jn((zOe(),bnn),e)}function v0n(e){return yf(),Jn((HOe(),Ann),e)}function y0n(e){return j0(),Jn((WOe(),Fnn),e)}function k0n(e){return s3(),Jn((hDe(),Nnn),e)}function j0n(e){return D6(),Jn((gLe(),Bnn),e)}function E0n(e){return sS(),Jn((YOe(),Znn),e)}function T0n(e){return JS(),Jn((XOe(),ctn),e)}function C0n(e){return aS(),Jn((UOe(),etn),e)}function S0n(e){return vM(),Jn((HIe(),stn),e)}function M0n(e){return PS(),Jn((QOe(),otn),e)}function P0n(e){return N7(),Jn((VIe(),ftn),e)}function A0n(e){return _M(),Jn((bDe(),Ttn),e)}function x0n(e){return tM(),Jn((zIe(),Ctn),e)}function O0n(e){return mM(),Jn((GIe(),Stn),e)}function I0n(e){return m3(),Jn((RDe(),ztn),e)}function D0n(e){return H7(),Jn((WIe(),Wtn),e)}function L0n(e){return TT(),Jn((fOe(),Utn),e)}function $0n(e){return CT(),Jn((oOe(),Ytn),e)}function F0n(e){return l7(),Jn((ZOe(),Qtn),e)}function N0n(e){return ik(),Jn((_De(),Jtn),e)}function _0n(e){return l5(),Jn((lOe(),bin),e)}function B0n(e){return D7(),Jn((JOe(),win),e)}function R0n(e){return Cf(),Jn((BDe(),kin),e)}function K0n(e){return lh(),Jn((l$e(),Ein),e)}function q0n(e){return Xl(),Jn((lLe(),Tin),e)}function H0n(e){return pw(),Jn((fLe(),xin),e)}function V0n(e){return Cr(),Jn((NTe(),AQe),e)}function G0n(e){return Rv(),Jn((FOe(),PQe),e)}function z0n(e){return xr(),Jn((qDe(),Gin),e)}function W0n(e){return Vf(),Jn((XIe(),zin),e)}function U0n(e){return Aa(),Jn((vDe(),Win),e)}function X0n(e){return UM(),Jn((mLe(),Uin),e)}function Y0n(e){return Ma(),Jn((UIe(),Yin),e)}function Q0n(e){return $s(),Jn((mDe(),Jin),e)}function J0n(e){return kw(),Jn((v$e(),Zin),e)}function Z0n(e){return Gg(),Jn((HDe(),ern),e)}function ebn(e){return Wi(),Jn((rLe(),nrn),e)}function nbn(e){return Ju(),Jn((pLe(),trn),e)}function tbn(e){return Ts(),Jn((kDe(),orn),e)}function ibn(e){return os(),Jn((F$e(),frn),e)}function rbn(e){return ae(),Jn((VDe(),irn),e)}function cbn(e){return jM(),Jn((yDe(),lrn),e)}function ubn(e){return Es(),Jn((pDe(),drn),e)}function sbn(e){return w3(),Jn((a$e(),Srn),e)}function obn(e,n){return nn(e),e+(nn(n),n)}function fbn(e,n){return Rl(),Bn(Q(e.a),n)}function lbn(e,n){return Rl(),Bn(Q(e.a),n)}function RL(e,n){this.c=e,this.a=n,this.b=n-e}function sMe(e,n,t){this.a=e,this.b=n,this.c=t}function zX(e,n,t){this.a=e,this.b=n,this.c=t}function WX(e,n,t){this.a=e,this.b=n,this.c=t}function oMe(e,n,t){this.a=e,this.b=n,this.c=t}function fMe(e,n,t){this.a=e,this.b=n,this.c=t}function Ya(e,n,t){this.e=e,this.a=n,this.c=t}function lMe(e,n,t){Xs(),cQ.call(this,e,n,t)}function KL(e,n,t){Xs(),HY.call(this,e,n,t)}function UX(e,n,t){Xs(),HY.call(this,e,n,t)}function XX(e,n,t){Xs(),HY.call(this,e,n,t)}function aMe(e,n,t){Xs(),KL.call(this,e,n,t)}function YX(e,n,t){Xs(),KL.call(this,e,n,t)}function hMe(e,n,t){Xs(),YX.call(this,e,n,t)}function dMe(e,n,t){Xs(),UX.call(this,e,n,t)}function bMe(e,n,t){Xs(),XX.call(this,e,n,t)}function V8(e,n){return Nn(e),Nn(n),new $je(e,n)}function g2(e,n){return Nn(e),Nn(n),new MMe(e,n)}function abn(e,n){return Nn(e),Nn(n),new PMe(e,n)}function hbn(e,n){return Nn(e),Nn(n),new Nje(e,n)}function u(e,n){return R5(e==null||EN(e,n)),e}function av(e){var n;return n=new oe,gF(n,e),n}function dbn(e){var n;return n=new Ai,gF(n,e),n}function wMe(e){var n;return n=new tW,xF(n,e),n}function G8(e){var n;return n=new Gt,xF(n,e),n}function bbn(e){return!e.e&&(e.e=new oe),e.e}function wbn(e){return!e.c&&(e.c=new Rm),e.c}function se(e,n){return e.c[e.c.length]=n,!0}function gMe(e,n){this.c=e,this.b=n,this.a=!1}function QX(e){this.d=e,kye(this),this.b=swn(e.d)}function pMe(){this.a=";,;",this.b="",this.c=""}function gbn(e,n,t){mPe.call(this,n,t),this.a=e}function mMe(e,n,t){this.b=e,ITe.call(this,n,t)}function JX(e,n,t){this.c=e,IT.call(this,n,t)}function ZX(e,n,t){kne(t,0,e,n,t.length,!1)}function ql(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function pbn(e,n){n&&(e.b=n,e.a=(zh(n),n.a))}function eY(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function nY(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function tY(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function iY(e){return Qh(Ewn(ic(e)?yo(e):e))}function mbn(e,n){return yu(LMe(e.d),LMe(n.d))}function vbn(e,n){return n==(ae(),sn)?e.c:e.d}function hv(){hv=W,jae=(ae(),sn),oO=hn}function vMe(){this.b=ee(he(me((Mf(),aq))))}function yMe(e){return z1(),V(pn,pe,1,e,5,1)}function ybn(e){return new je(e.c+e.b,e.d+e.a)}function kbn(e,n){return ET(),yu(e.d.p,n.d.p)}function qL(e){return mn(e.b!=0),no(e,e.a.a)}function jbn(e){return mn(e.b!=0),no(e,e.c.b)}function rY(e,n){if(!e)throw O(new Ake(n))}function yC(e,n){if(!e)throw O(new rn(n))}function cY(e,n,t){rv.call(this,e,n),this.b=t}function z8(e,n,t){yU.call(this,e,n),this.c=t}function kMe(e,n,t){JDe.call(this,n,t),this.d=e}function uY(e){BX(),WE.call(this),this.th(e)}function jMe(e,n,t){this.a=e,Cg.call(this,n,t)}function EMe(e,n,t){this.a=e,Cg.call(this,n,t)}function kC(e,n,t){yU.call(this,e,n),this.c=t}function TMe(){Mv(),Kwn.call(this,(Fh(),Bo))}function CMe(e){return e!=null&&!fN(e,C9,S9)}function Ebn(e,n){return(LFe(e)<<4|LFe(n))&li}function Tbn(e,n){return GC(),ON(e,n),new JPe(e,n)}function U1(e,n){var t;e.n&&(t=n,se(e.f,t))}function dv(e,n,t){var i;i=new Jb(t),jf(e,n,i)}function Cbn(e,n){var t;return t=e.c,TJ(e,n),t}function sY(e,n){return n<0?e.g=-1:e.g=n,e}function jC(e,n){return f3n(e),e.a*=n,e.b*=n,e}function SMe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function st(e,n){return ui(e,n,e.c.b,e.c),!0}function oY(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function HL(e){this.b=e,this.a=w0(this.b.a).Ed()}function MMe(e,n){this.b=e,this.a=n,nD.call(this)}function PMe(e,n){this.a=e,this.b=n,nD.call(this)}function AMe(e,n){mPe.call(this,n,1040),this.a=e}function W8(e){return e==0||isNaN(e)?e:e<0?-1:1}function Sbn(e){return j2(),Yl(e)==Xt(t1(e))}function Mbn(e){return j2(),t1(e)==Xt(Yl(e))}function b0(e,n){return O6(e,new rv(n.a,n.b))}function Pbn(e){return!wr(e)&&e.c.i.c==e.d.i.c}function EC(e){var n;return n=e.n,e.a.b+n.d+n.a}function xMe(e){var n;return n=e.n,e.e.b+n.d+n.a}function fY(e){var n;return n=e.n,e.e.a+n.b+n.c}function OMe(e){return gt(),new Hl(0,e)}function Abn(e){return e.a?e.a:E$(e)}function R5(e){if(!e)throw O(new Um(null))}function IMe(){IMe=W,XV=(He(),new sD(TK))}function TC(){TC=W,new uee((mD(),FK),(vD(),$K))}function DMe(){DMe=W,Oue=V(dr,ie,19,256,0,1)}function VL(e,n,t,i){$Z.call(this,e,n,t,i,0,0)}function xbn(e,n,t){return jt(e.b,u(t.b,17),n)}function Obn(e,n,t){return jt(e.b,u(t.b,17),n)}function Ibn(e,n){return se(e,new je(n.a,n.b))}function Dbn(e,n){return e.c=n)throw O(new Jz)}function wwn(e,n,t){return Ut(n,0,dY(n[0],t[0])),n}function gwn(e,n,t){n.Ye(t,ee(he(yn(e.b,t)))*e.a)}function pPe(e,n,t){return ip(),Kv(e,n)&&Kv(e,t)}function G5(e){return Ju(),!e.Hc(Ka)&&!e.Hc(M1)}function _C(e){return new je(e.c+e.b/2,e.d+e.a/2)}function t$(e,n){return n.kh()?e1(e.b,u(n,49)):n}function AY(e,n){this.e=e,this.d=n&64?n|El:n}function mPe(e,n){this.c=0,this.d=e,this.b=n|64|El}function BC(e){this.b=new iu(11),this.a=(Dg(),e)}function i$(e){this.b=null,this.a=(Dg(),e||Gue)}function vPe(e){this.a=qNe(e.a),this.b=new Ru(e.b)}function yPe(e){this.b=e,h2.call(this,e),ECe(this)}function kPe(e){this.b=e,L8.call(this,e),TCe(this)}function Qb(e,n,t){this.a=e,b2.call(this,n,t,5,6)}function xY(e,n,t,i){this.b=e,gi.call(this,n,t,i)}function $i(e,n,t,i,r){oF.call(this,e,n,t,i,r,-1)}function z5(e,n,t,i,r){d7.call(this,e,n,t,i,r,-1)}function fe(e,n,t,i){gi.call(this,e,n,t),this.b=i}function RC(e,n,t,i){z8.call(this,e,n,t),this.b=i}function jPe(e){CTe.call(this,e,!1),this.a=!1}function EPe(e,n){this.b=e,rye.call(this,e.b),this.a=n}function TPe(e,n){Zb(),van.call(this,e,bM(new gs(n)))}function KC(e,n){return gt(),new VY(e,n,0)}function r$(e,n){return gt(),new VY(6,e,n)}function pwn(e,n){return Ke(e.substr(0,n.length),n)}function ys(e,n){return Ri(n)?S$(e,n):!!Qr(e.f,n)}function Ji(e,n){for(nn(n);e.Ob();)n.td(e.Pb())}function Og(e,n,t){c1(),this.e=e,this.d=n,this.a=t}function Qa(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function OY(e){var n;for(n=e;n.f;)n=n.f;return n}function v2(e){var n;return n=w6(e),mn(n!=null),n}function mwn(e){var n;return n=i6n(e),mn(n!=null),n}function wv(e,n){var t;return t=e.a.gc(),qQ(n,t),t-n}function IY(e,n){var t;for(t=0;t0?k.Math.log(e/n):-100}function CPe(e,n){return Fc(e,n)<0?-1:Fc(e,n)>0?1:0}function NY(e,n,t){return gHe(e,u(n,46),u(t,167))}function SPe(e,n){return u(MY(w0(e.a)).Xb(n),42).cd()}function Mwn(e,n){return Yvn(n,e.length),new AMe(e,n)}function o$(e,n){this.d=e,jn.call(this,e),this.e=n}function g0(e){this.d=(nn(e),e),this.a=0,this.c=CP}function _Y(e,n){Qd.call(this,1),this.a=e,this.b=n}function MPe(e,n){return e.c?MPe(e.c,n):se(e.b,n),e}function Pwn(e,n,t){var i;return i=cw(e,n),z$(e,n,t),i}function BY(e,n){var t;return t=e.slice(0,n),tJ(t,e)}function PPe(e,n,t){var i;for(i=0;i=e.g}function p$(e,n,t){var i;return i=PF(e,n,t),dte(e,i)}function y2(e,n){var t;t=e.a.length,cw(e,t),z$(e,t,n)}function HPe(e,n){var t;t=console[e],t.call(console,n)}function VPe(e,n){var t;++e.j,t=e.Vi(),e.Ii(e.oi(t,n))}function Rwn(e,n,t){u(n.b,65),Su(n.a,new zX(e,t,n))}function HY(e,n,t){nT.call(this,n),this.a=e,this.b=t}function VY(e,n,t){Qd.call(this,e),this.a=n,this.b=t}function GY(e,n,t){this.a=e,Vz.call(this,n),this.b=t}function GPe(e,n,t){this.a=e,kQ.call(this,8,n,null,t)}function Kwn(e){this.a=(nn(et),et),this.b=e,new aW}function zPe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function zY(e){this.c=e,this.b=e.a.d.a,dX(e.a.e,this)}function ks(e){Vb(e.c!=-1),e.d.$c(e.c),e.b=e.c,e.c=-1}function X5(e){return k.Math.sqrt(e.a*e.a+e.b*e.b)}function m0(e,n){return bv(n,e.a.c.length),ve(e.a,n)}function vl(e,n){return X(e)===X(n)||e!=null&&kt(e,n)}function qwn(e){return 0>=e?new _W:P3n(e-1)}function Hwn(e){return ag?S$(ag,e):!1}function WPe(e){return e?e.dc():!e.Kc().Ob()}function lr(e){return!e.a&&e.c?e.c.b:e.a}function Vwn(e){return!e.a&&(e.a=new gi(P1,e,4)),e.a}function v0(e){return!e.d&&(e.d=new gi($r,e,1)),e.d}function nn(e){if(e==null)throw O(new Y4);return e}function Y5(e){e.c?e.c.He():(e.d=!0,XCn(e))}function zh(e){e.c?zh(e.c):(hd(e),e.d=!0)}function UPe(e){YY(e.a),e.b=V(pn,pe,1,e.b.length,5,1)}function Gwn(e,n){return yu(n.j.c.length,e.j.c.length)}function zwn(e,n){e.c<0||e.b.b=0?e.Bh(t):Ene(e,n)}function XPe(e){var n,t;return n=e.c.i.c,t=e.d.i.c,n==t}function Uwn(e){if(e.p!=4)throw O(new Fu);return e.e}function Xwn(e){if(e.p!=3)throw O(new Fu);return e.e}function Ywn(e){if(e.p!=6)throw O(new Fu);return e.f}function Qwn(e){if(e.p!=6)throw O(new Fu);return e.k}function Jwn(e){if(e.p!=3)throw O(new Fu);return e.j}function Zwn(e){if(e.p!=4)throw O(new Fu);return e.j}function WY(e){return!e.b&&(e.b=new tT(new pD)),e.b}function y0(e){return e.c==-2&&Yfn(e,pkn(e.g,e.b)),e.c}function mv(e,n){var t;return t=h$("",e),t.n=n,t.i=1,t}function egn(e,n){QL(u(n.b,65),e),Su(n.a,new Fz(e))}function ngn(e,n){Bn((!e.a&&(e.a=new B8(e,e)),e.a),n)}function YPe(e,n){this.b=e,o$.call(this,e,n),ECe(this)}function QPe(e,n){this.b=e,FX.call(this,e,n),TCe(this)}function UY(e,n,t,i){u0.call(this,e,n),this.d=t,this.a=i}function VC(e,n,t,i){u0.call(this,e,t),this.a=n,this.f=i}function JPe(e,n){$hn.call(this,A3n(Nn(e),Nn(n))),this.a=n}function ZPe(){nne.call(this,Pd,(tje(),ecn)),Exn(this)}function eAe(){nne.call(this,Po,(Jm(),Cde)),IAn(this)}function nAe(){Yn.call(this,"DELAUNAY_TRIANGULATION",0)}function tgn(e){return String.fromCharCode.apply(null,e)}function jt(e,n,t){return Ri(n)?Vr(e,n,t):du(e.f,n,t)}function XY(e){return He(),e?e.ve():(Dg(),Dg(),Wue)}function ign(e,n,t){return L2(),t.pg(e,u(n.cd(),146))}function tAe(e,n){return TC(),new uee(new NCe(e),new FCe(n))}function rgn(e){return Ds(e,iB),FS(fr(fr(5,e),e/10|0))}function GC(){GC=W,ZUe=new yD(D(I(Ad,1),SP,42,0,[]))}function iAe(e){return!e.d&&(e.d=new qm(e.c.Cc())),e.d}function vv(e){return!e.a&&(e.a=new Nke(e.c.vc())),e.a}function rAe(e){return!e.b&&(e.b=new Xm(e.c.ec())),e.b}function Gl(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function Gc(e,n){return X(e)===X(n)||e!=null&&kt(e,n)}function cgn(e,n){return un(),u(n.b,19).ai&&++i,i}function ma(e){var n,t;return t=(n=new Jd,n),Dv(t,e),t}function j$(e){var n,t;return t=(n=new Jd,n),rne(t,e),t}function ygn(e,n){var t;return t=yn(e.f,n),$J(n,t),null}function E$(e){var n;return n=O3n(e),n||null}function bAe(e){return!e.b&&(e.b=new fe(Di,e,12,3)),e.b}function kgn(e){return e!=null&&b8(QO,e.toLowerCase())}function jgn(e,n){return mi(Ku(e)*vs(e),Ku(n)*vs(n))}function Egn(e,n){return mi(Ku(e)*vs(e),Ku(n)*vs(n))}function Tgn(e,n){return mi(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function Cgn(e,n){return mi(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function wAe(e,n,t){t.a?Pu(e,n.b-e.f/2):Mu(e,n.a-e.g/2)}function gAe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function pAe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Q1(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function mAe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function vAe(e,n,t,i){Xs(),aIe.call(this,n,t,i),this.a=e}function yAe(e,n,t,i){Xs(),aIe.call(this,n,t,i),this.a=e}function kAe(e,n){this.a=e,O1n.call(this,e,u(e.d,15).Zc(n))}function T$(e){this.f=e,this.c=this.f.e,e.f>0&&D_e(this)}function jAe(e,n,t,i){this.b=e,this.c=i,lL.call(this,n,t)}function EAe(e){return mn(e.b=0&&Ke(e.substr(t,n.length),n)}function Wh(e,n,t,i,r,c,o){return new U$(e.e,n,t,i,r,c,o)}function RAe(e,n,t,i,r,c){this.a=e,kF.call(this,n,t,i,r,c)}function KAe(e,n,t,i,r,c){this.a=e,kF.call(this,n,t,i,r,c)}function qAe(e,n){this.g=e,this.d=D(I(ca,1),hh,10,0,[n])}function Ja(e,n){this.e=e,this.a=pn,this.b=aqe(n),this.c=n}function HAe(e,n){wC.call(this),lJ(this),this.a=e,this.c=n}function e7(e,n,t,i){Ut(e.c[n.g],t.g,i),Ut(e.c[t.g],n.g,i)}function A$(e,n,t,i){Ut(e.c[n.g],n.g,t),Ut(e.b[n.g],n.g,i)}function Wgn(){return f7(),D(I(dae,1),ce,376,0,[FH,Oj])}function Ugn(){return w7(),D(I(cfe,1),ce,479,0,[rfe,xx])}function Xgn(){return E7(),D(I(tfe,1),ce,419,0,[Px,nfe])}function Ygn(){return SS(),D(I(Uoe,1),ce,422,0,[Woe,Nq])}function Qgn(){return wS(),D(I(mfe,1),ce,420,0,[Jq,pfe])}function Jgn(){return v7(),D(I(fae,1),ce,421,0,[DH,LH])}function Zgn(){return r6(),D(I(rnn,1),ce,523,0,[n9,e9])}function epn(){return yf(),D(I(Pnn,1),ce,520,0,[ng,k1])}function npn(){return yl(),D(I(ann,1),ce,516,0,[mb,vh])}function tpn(){return Bf(),D(I(dnn,1),ce,515,0,[_d,il])}function ipn(){return j0(),D(I($nn,1),ce,455,0,[j1,_p])}function rpn(){return aS(),D(I(Nae,1),ce,425,0,[QH,Fae])}function cpn(){return sS(),D(I($ae,1),ce,480,0,[YH,Lae])}function upn(){return JS(),D(I(_ae,1),ce,495,0,[mO,k4])}function spn(){return PS(),D(I(Rae,1),ce,426,0,[Bae,nV])}function opn(){return D7(),D(I(Hhe,1),ce,429,0,[MO,qhe])}function fpn(){return l7(),D(I(khe,1),ce,430,0,[lV,CO])}function lpn(){return PM(),D(I(use,1),ce,428,0,[QK,cse])}function apn(){return LS(),D(I(ose,1),ce,427,0,[sse,JK])}function hpn(){return $S(),D(I(Fse,1),ce,424,0,[fq,QA])}function dpn(){return Rv(),D(I(MQe,1),ce,511,0,[bj,jq])}function tS(e,n,t,i){return t>=0?e.jh(n,t,i):e.Sg(null,t,i)}function x$(e){return e.b.b==0?e.a.$e():qL(e.b)}function bpn(e){if(e.p!=5)throw O(new Fu);return Fn(e.f)}function wpn(e){if(e.p!=5)throw O(new Fu);return Fn(e.k)}function rQ(e){return X(e.a)===X((OF(),zV))&&gxn(e),e.a}function VAe(e){this.a=u(Nn(e),271),this.b=(He(),new QU(e))}function GAe(e,n){$fn(this,new je(e.a,e.b)),Ffn(this,G8(n))}function j0(){j0=W,j1=new hU(Y2,0),_p=new hU(Q2,1)}function yl(){yl=W,mb=new lU(Q2,0),vh=new lU(Y2,1)}function E0(){Cln.call(this,new c2(uw(12))),WU(!0),this.a=2}function O$(e,n,t){gt(),Qd.call(this,e),this.b=n,this.a=t}function cQ(e,n,t){Xs(),nT.call(this,n),this.a=e,this.b=t}function zAe(e){wC.call(this),lJ(this),this.a=e,this.c=!0}function WAe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function iS(e){var n;j3n(e.a),rCe(e.a),n=new QE(e.a),LZ(n)}function gpn(e,n){tqe(e,!0),Su(e.e.wf(),new qX(e,!0,n))}function rS(e,n){return SOe(n),v3n(e,V(Ln,nt,25,n,15,1),n)}function ppn(e,n){return j2(),e==Xt(Yl(n))||e==Xt(t1(n))}function zc(e,n){return n==null?yc(Qr(e.f,null)):d5(e.g,n)}function mpn(e){return e.b==0?null:(mn(e.b!=0),no(e,e.a.a))}function oi(e){return Math.max(Math.min(e,vt),-2147483648)|0}function vpn(e,n){var t=KK[e.charCodeAt(0)];return t??e}function cS(e,n){return QC(e,"set1"),QC(n,"set2"),new Hje(e,n)}function ypn(e,n){var t;return t=b3n(e.f,n),Mt(dC(t),e.f.d)}function J5(e,n){var t,i;return t=n,i=new Lf,VHe(e,t,i),i.d}function I$(e,n,t,i){var r;r=new LSe,n.a[t.g]=r,p2(e.b,i,r)}function uQ(e,n,t){var i;i=e.Yg(n),i>=0?e.sh(i,t):Xne(e,n,t)}function Lg(e,n,t){oS(),e&&jt(HV,e,n),e&&jt(sE,e,t)}function UAe(e,n,t){this.i=new oe,this.b=e,this.g=n,this.a=t}function uS(e,n,t){this.c=new oe,this.e=e,this.f=n,this.b=t}function sQ(e,n,t){this.a=new oe,this.e=e,this.f=n,this.c=t}function XAe(e,n){iC(this),this.f=n,this.g=e,YC(this),this._d()}function n7(e,n){var t;t=e.q.getHours(),e.q.setDate(n),K6(e,t)}function YAe(e,n){var t;for(Nn(n),t=e.a;t;t=t.c)n.Od(t.g,t.i)}function QAe(e){var n;return n=new wT(uw(e.length)),JJ(n,e),n}function kpn(e){function n(){}return n.prototype=e||{},new n}function jpn(e,n){return S$e(e,n)?(TLe(e),!0):!1}function va(e,n){if(n==null)throw O(new Y4);return vyn(e,n)}function Epn(e){if(e.qe())return null;var n=e.n;return LA[n]}function t7(e){return e.Db>>16!=3?null:u(e.Cb,33)}function _f(e){return e.Db>>16!=9?null:u(e.Cb,33)}function JAe(e){return e.Db>>16!=6?null:u(e.Cb,79)}function ZAe(e){return e.Db>>16!=7?null:u(e.Cb,235)}function exe(e){return e.Db>>16!=7?null:u(e.Cb,160)}function Xt(e){return e.Db>>16!=11?null:u(e.Cb,33)}function nxe(e,n){var t;return t=e.Yg(n),t>=0?e.lh(t):s_(e,n)}function txe(e,n){var t;return t=new hY(n),iBe(t,e),new Ru(t)}function oQ(e){var n;return n=e.d,n=e.si(e.f),Bn(e,n),n.Ob()}function ixe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function D$(e,n){return k.Math.abs(e)0}function rxe(){this.a=new wa,this.e=new Ai,this.g=0,this.i=0}function cxe(e){this.a=e,this.b=V(nnn,ie,1944,e.e.length,0,2)}function L$(e,n,t){var i;i=z$e(e,n,t),e.b=new QS(i.c.length)}function Bf(){Bf=W,_d=new fU(RB,0),il=new fU("UP",1)}function sS(){sS=W,YH=new dU(vze,0),Lae=new dU("FAN",1)}function oS(){oS=W,HV=new $n,sE=new $n,Van(pXe,new $3e)}function Cpn(e){if(e.p!=0)throw O(new Fu);return M5(e.f,0)}function Spn(e){if(e.p!=0)throw O(new Fu);return M5(e.k,0)}function uxe(e){return e.Db>>16!=3?null:u(e.Cb,147)}function Ev(e){return e.Db>>16!=6?null:u(e.Cb,235)}function ew(e){return e.Db>>16!=17?null:u(e.Cb,26)}function sxe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.le(n))}function Mpn(e,n){var t;return t=e.a.get(n),t??new Array}function Ppn(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),K6(e,t)}function Vr(e,n,t){return n==null?du(e.f,null,t):F0(e.g,n,t)}function Z5(e,n,t,i,r,c){return new Ea(e.e,n,e.aj(),t,i,r,c)}function i7(e,n,t){return e.a=Ps(e.a,0,n)+(""+t)+I8(e.a,n),e}function Apn(e,n,t){return se(e.a,(GC(),ON(n,t),new u0(n,t))),e}function fQ(e){return XU(e.c),e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function oxe(e){return XU(e.e),e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function Gi(e,n){e.d&&Tu(e.d.e,e),e.d=n,e.d&&se(e.d.e,e)}function or(e,n){e.c&&Tu(e.c.g,e),e.c=n,e.c&&se(e.c.g,e)}function Gr(e,n){e.c&&Tu(e.c.a,e),e.c=n,e.c&&se(e.c.a,e)}function ac(e,n){e.i&&Tu(e.i.j,e),e.i=n,e.i&&se(e.i.j,e)}function fxe(e,n,t){this.a=n,this.c=e,this.b=(Nn(t),new Ru(t))}function lxe(e,n,t){this.a=n,this.c=e,this.b=(Nn(t),new Ru(t))}function axe(e,n){this.a=e,this.c=kc(this.a),this.b=new nS(n)}function xpn(e){var n;return hd(e),n=new Ai,Ft(e,new Bye(n))}function nw(e,n){if(e<0||e>n)throw O(new qr(bie+e+wie+n))}function lQ(e,n){return nPe(e.a,n)?LY(e,u(n,22).g,null):null}function Opn(e){return QF(),un(),u(e.a,81).d.e!=0}function hxe(){hxe=W,tXe=Zn((sT(),D(I(nXe,1),ce,538,0,[BK])))}function dxe(){dxe=W,qen=Xu(new xi,(pr(),ec),(Cr(),wj))}function aQ(){aQ=W,Hen=Xu(new xi,(pr(),ec),(Cr(),wj))}function bxe(){bxe=W,Gen=Xu(new xi,(pr(),ec),(Cr(),wj))}function wxe(){wxe=W,unn=mt(new xi,(pr(),ec),(Cr(),Dy))}function As(){As=W,fnn=mt(new xi,(pr(),ec),(Cr(),Dy))}function gxe(){gxe=W,lnn=mt(new xi,(pr(),ec),(Cr(),Dy))}function $$(){$$=W,wnn=mt(new xi,(pr(),ec),(Cr(),Dy))}function pxe(){pxe=W,ntn=Xu(new xi,(s3(),i9),(D6(),KH))}function Z1(e,n,t,i){this.c=e,this.d=i,N$(this,n),_$(this,t)}function T2(e){this.c=new Gt,this.b=e.b,this.d=e.c,this.a=e.a}function F$(e){this.a=k.Math.cos(e),this.b=k.Math.sin(e)}function N$(e,n){e.a&&Tu(e.a.k,e),e.a=n,e.a&&se(e.a.k,e)}function _$(e,n){e.b&&Tu(e.b.f,e),e.b=n,e.b&&se(e.b.f,e)}function mxe(e,n){Rwn(e,e.b,e.c),u(e.b.b,65),n&&u(n.b,65).b}function Ipn(e,n){MZ(e,n),_(e.Cb,88)&&yw(is(u(e.Cb,88)),2)}function B$(e,n){_(e.Cb,88)&&yw(is(u(e.Cb,88)),4),ru(e,n)}function fS(e,n){_(e.Cb,179)&&(u(e.Cb,179).tb=null),ru(e,n)}function Wc(e,n){return jr(),wF(n)?new CC(n,e):new O8(n,e)}function Dpn(e,n){var t,i;t=n.c,i=t!=null,i&&y2(e,new Jb(n.c))}function vxe(e){var n,t;return t=(Jm(),n=new Jd,n),Dv(t,e),t}function yxe(e){var n,t;return t=(Jm(),n=new Jd,n),Dv(t,e),t}function kxe(e,n){var t;return t=new mo(e),n.c[n.c.length]=t,t}function jxe(e,n){var t;return t=u(aw(E2(e.a),n),14),t?t.gc():0}function Exe(e){var n;return hd(e),n=(Dg(),Dg(),zue),_S(e,n)}function Txe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function hQ(e,n){Eln.call(this,new c2(uw(e))),Ds(n,NVe),this.a=n}function zl(e,n,t){OFe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function Cxe(e,n,t){var i;OFe(n,t,e.c.length),i=t-n,FW(e.c,n,i)}function Lpn(e,n){jCe(e,Fn(Ti(qh(n,24),AP)),Fn(Ti(n,AP)))}function Qe(e,n){if(e<0||e>=n)throw O(new qr(bie+e+wie+n))}function Gn(e,n){if(e<0||e>=n)throw O(new TW(bie+e+wie+n))}function Ye(e,n){this.b=(nn(e),e),this.a=n&Aw?n:n|64|El}function Sxe(e){iCe(this),N7e(this.a,YJ(k.Math.max(8,e))<<1)}function Rf(e){return dc(D(I(Ii,1),ie,8,0,[e.i.n,e.n,e.a]))}function $pn(){return Wf(),D(I(ls,1),ce,132,0,[tse,Rs,_w])}function Fpn(){return Ef(),D(I(Bw,1),ce,232,0,[Tc,ou,Cc])}function Npn(){return Qu(),D(I(RXe,1),ce,461,0,[Ll,b1,cf])}function _pn(){return Cu(),D(I(qXe,1),ce,462,0,[xf,w1,uf])}function Bpn(){return $0(),D(I(eoe,1),ce,423,0,[Ep,Zse,vq])}function Rpn(){return u6(),D(I(Yse,1),ce,379,0,[dq,hq,bq])}function Kpn(){return g6(),D(I(Zle,1),ce,378,0,[MH,Jle,iO])}function qpn(){return I2(),D(I(Yoe,1),ce,314,0,[lm,pj,Xoe])}function Hpn(){return VS(),D(I(Joe,1),ce,337,0,[Qoe,Mx,_q])}function Vpn(){return od(),D(I(tJe,1),ce,450,0,[Kq,s4,Mp])}function Gpn(){return D0(),D(I(Pq,1),ce,361,0,[ob,p1,sb])}function zpn(){return Ta(),D(I(lJe,1),ce,303,0,[vj,Ap,am])}function Wpn(){return Gv(),D(I(Qq,1),ce,292,0,[Xq,Yq,mj])}function Upn(){return Ar(),D(I($en,1),ce,452,0,[Qy,es,fu])}function Xpn(){return Sa(),D(I(oae,1),ce,339,0,[y1,sae,IH])}function Ypn(){return iM(),D(I(hae,1),ce,375,0,[lae,$H,aae])}function Qpn(){return oM(),D(I(vae,1),ce,377,0,[BH,v4,eg])}function Jpn(){return Jv(),D(I(wae,1),ce,336,0,[NH,bae,Jy])}function Zpn(){return nM(),D(I(mae,1),ce,338,0,[pae,_H,gae])}function e2n(){return I0(),D(I(Zen,1),ce,454,0,[Ij,Zy,sO])}function n2n(){return vM(),D(I(utn,1),ce,442,0,[eV,JH,ZH])}function t2n(){return N7(),D(I(Hae,1),ce,380,0,[vO,Kae,qae])}function i2n(){return mM(),D(I(she,1),ce,381,0,[uhe,uV,che])}function r2n(){return tM(),D(I(ihe,1),ce,293,0,[cV,the,nhe])}function c2n(){return H7(),D(I(sV,1),ce,437,0,[jO,EO,TO])}function u2n(){return Ma(),D(I(Y1e,1),ce,334,0,[NO,Eh,g9])}function s2n(){return Vf(),D(I(_1e,1),ce,272,0,[T4,rg,C4])}function o2n(e,n){return ATn(e,n,_(n,99)&&(u(n,18).Bb&vr)!=0)}function f2n(e,n,t){var i;return i=V6(e,n,!1),i.b<=n&&i.a<=t}function Mxe(e,n,t){var i;i=new Kme,i.b=n,i.a=t,++n.b,se(e.d,i)}function l2n(e,n){var t;return t=(nn(e),e).g,sX(!!t),nn(n),t(n)}function dQ(e,n){var t,i;return i=wv(e,n),t=e.a.Zc(i),new qje(e,t)}function a2n(e){return e.Db>>16!=6?null:u(l_(e),235)}function h2n(e){if(e.p!=2)throw O(new Fu);return Fn(e.f)&li}function d2n(e){if(e.p!=2)throw O(new Fu);return Fn(e.k)&li}function b2n(e){return e.a==(Mv(),nI)&&Xfn(e,GTn(e.g,e.b)),e.a}function C2(e){return e.d==(Mv(),nI)&&Qfn(e,_Mn(e.g,e.b)),e.d}function P(e){return mn(e.ai?1:0}function Pxe(e,n){var t,i;return t=lF(n),i=t,u(yn(e.c,i),19).a}function Axe(e,n){var t;for(t=e+"";t.length0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function Uxe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function C2n(e){return!!e.a&&rs(e.a.a).i!=0&&!(e.b&&PN(e.b))}function S2n(e){return!!e.u&&Kc(e.u.a).i!=0&&!(e.n&&MN(e.n))}function Xxe(e){return zL(e.e.Hd().gc()*e.c.Hd().gc(),16,new z6e(e))}function M2n(e,n){return CPe(Au(e.q.getTime()),Au(n.q.getTime()))}function kl(e){return u(Uf(e,V(yq,tR,17,e.c.length,0,1)),474)}function r7(e){return u(Uf(e,V(ca,hh,10,e.c.length,0,1)),193)}function P2n(e){return As(),!wr(e)&&!(!wr(e)&&e.c.i.c==e.d.i.c)}function Yxe(e,n,t){var i;i=(Nn(e),new Ru(e)),r8n(new fxe(i,n,t))}function c7(e,n,t){var i;i=(Nn(e),new Ru(e)),c8n(new lxe(i,n,t))}function Qxe(e,n){var t;return t=1-n,e.a[t]=YS(e.a[t],t),YS(e,n)}function Jxe(e,n){var t;e.e=new pW,t=Ew(n),Li(t,e.c),GKe(e,t,0)}function zi(e,n,t,i){var r;r=new iz,r.a=n,r.b=t,r.c=i,st(e.a,r)}function de(e,n,t,i){var r;r=new iz,r.a=n,r.b=t,r.c=i,st(e.b,r)}function Qo(e){var n,t,i;return n=new IPe,t=A_(n,e),dOn(n),i=t,i}function vQ(){var e,n,t;return n=(t=(e=new Jd,e),t),se($de,n),n}function hS(e){return e.j.c=V(pn,pe,1,0,5,1),YY(e.c),ogn(e.a),e}function $g(e){return f5(),_(e.g,10)?u(e.g,10):null}function A2n(e){return Ig(e).dc()?!1:(Phn(e,new Wt),!0)}function x2n(e){if(!("stack"in e))try{throw e}catch{}return e}function u7(e,n){if(e<0||e>=n)throw O(new qr(Hjn(e,n)));return e}function Zxe(e,n,t){if(e<0||nt)throw O(new qr(bjn(e,n,t)))}function H$(e,n){if(Ei(e.a,n),n.d)throw O(new fc(cGe));n.d=e}function V$(e,n){if(n.$modCount!=e.$modCount)throw O(new Us)}function eOe(e,n){return _(n,42)?DN(e.a,u(n,42)):!1}function nOe(e,n){return _(n,42)?DN(e.a,u(n,42)):!1}function tOe(e,n){return _(n,42)?DN(e.a,u(n,42)):!1}function O2n(e,n){return e.a<=e.b?(n.ud(e.a++),!0):!1}function C0(e){var n;return ic(e)?(n=e,n==-0?0:n):Rvn(e)}function dS(e){var n;return zh(e),n=new wg,yg(e.a,new Nye(n)),n}function iOe(e){var n;return zh(e),n=new N1,yg(e.a,new Fye(n)),n}function Yi(e,n){this.a=e,z4.call(this,e),nw(n,e.gc()),this.b=n}function yQ(e){this.e=e,this.b=this.e.a.entries(),this.a=new Array}function I2n(e){return zL(e.e.Hd().gc()*e.c.Hd().gc(),273,new G6e(e))}function bS(e){return new iu((Ds(e,iB),FS(fr(fr(5,e),e/10|0))))}function rOe(e){return u(Uf(e,V(TQe,FGe,11,e.c.length,0,1)),1943)}function D2n(e,n,t){return t.f.c.length>0?NY(e.a,n,t):NY(e.b,n,t)}function L2n(e,n,t){e.d&&Tu(e.d.e,e),e.d=n,e.d&&Xb(e.d.e,t,e)}function G$(e,n){MIn(n,e),tY(e.d),tY(u(S(e,(be(),Yx)),207))}function n6(e,n){SIn(n,e),nY(e.d),nY(u(S(e,(be(),Yx)),207))}function S0(e,n){var t,i;return t=va(e,n),i=null,t&&(i=t.fe()),i}function Tv(e,n){var t,i;return t=cw(e,n),i=null,t&&(i=t.ie()),i}function t6(e,n){var t,i;return t=va(e,n),i=null,t&&(i=t.ie()),i}function ya(e,n){var t,i;return t=va(e,n),i=null,t&&(i=ane(t)),i}function $2n(e,n,t){var i;return i=c3(t),aP(e.g,i,n),aP(e.i,n,t),n}function F2n(e,n,t){var i;i=lyn();try{return K1n(e,n,t)}finally{W2n(i)}}function cOe(e){var n;n=e.Wg(),this.a=_(n,69)?u(n,69).Zh():n.Kc()}function xi(){vke.call(this),this.j.c=V(pn,pe,1,0,5,1),this.a=-1}function kQ(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function uOe(e,n,t,i){this.e=i,this.d=null,this.c=e,this.a=n,this.b=t}function jQ(e,n,t){this.d=new U9e(this),this.e=e,this.i=n,this.f=t}function wS(){wS=W,Jq=new cU(I3,0),pfe=new cU("TOP_LEFT",1)}function sOe(){sOe=W,kae=tAe(le(1),le(4)),yae=tAe(le(1),le(2))}function oOe(){oOe=W,Ytn=Zn((CT(),D(I(Xtn,1),ce,551,0,[fV])))}function fOe(){fOe=W,Utn=Zn((TT(),D(I(yhe,1),ce,482,0,[oV])))}function lOe(){lOe=W,bin=Zn((l5(),D(I(Khe,1),ce,530,0,[_j])))}function aOe(){aOe=W,yYe=Zn((jT(),D(I(Ase,1),ce,481,0,[rq])))}function N2n(){return L0(),D(I(dYe,1),ce,406,0,[cj,rj,tq,iq])}function _2n(){return AS(),D(I(qA,1),ce,297,0,[UK,Jue,Zue,ese])}function B2n(){return S6(),D(I(mYe,1),ce,394,0,[lj,WA,UA,aj])}function R2n(){return B2(),D(I(wYe,1),ce,323,0,[sj,uj,oj,fj])}function K2n(){return zv(),D(I(hQe,1),ce,405,0,[ub,Kw,Rw,jp])}function q2n(){return sM(),D(I(OQe,1),ce,360,0,[Sq,yx,kx,gj])}function hOe(e,n,t,i){return _(t,54)?new JCe(e,n,t,i):new SY(e,n,t,i)}function H2n(){return zf(),D(I(RQe,1),ce,411,0,[fm,t4,i4,Mq])}function V2n(e){var n;return e.j==(ae(),In)&&(n=LRe(e),Bu(n,hn))}function G2n(e,n){var t;t=n.a,or(t,n.c.d),Gi(t,n.d.d),ow(t.a,e.n)}function dOe(e,n){return u(d0(FC(u(Ct(e.k,n),15).Oc(),Tp)),113)}function bOe(e,n){return u(d0(NC(u(Ct(e.k,n),15).Oc(),Tp)),113)}function z2n(e){return new Ye(H3n(u(e.a.dd(),14).gc(),e.a.cd()),16)}function Cv(e){return _(e,14)?u(e,14).dc():!e.Kc().Ob()}function S2(e){return f5(),_(e.g,145)?u(e.g,145):null}function wOe(e){if(e.e.g!=e.b)throw O(new Us);return!!e.c&&e.d>0}function ct(e){return mn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function EQ(e,n){nn(n),Ut(e.a,e.c,n),e.c=e.c+1&e.a.length-1,g_e(e)}function Uh(e,n){nn(n),e.b=e.b-1&e.a.length-1,Ut(e.a,e.b,n),g_e(e)}function gOe(e,n){var t;for(t=e.j.c.length;t0&&Hc(e.g,0,n,0,e.i),n}function yOe(e,n){PT();var t;return t=u(yn(YO,e),55),!t||t.wj(n)}function cmn(e){if(e.p!=1)throw O(new Fu);return Fn(e.f)<<24>>24}function umn(e){if(e.p!=1)throw O(new Fu);return Fn(e.k)<<24>>24}function smn(e){if(e.p!=7)throw O(new Fu);return Fn(e.k)<<16>>16}function omn(e){if(e.p!=7)throw O(new Fu);return Fn(e.f)<<16>>16}function ka(e){var n;for(n=0;e.Ob();)e.Pb(),n=fr(n,1);return FS(n)}function kOe(e,n){var t;return t=new _b,e.xd(t),t.a+="..",n.yd(t),t.a}function fmn(e,n,t){var i;i=u(yn(e.g,t),57),se(e.a.c,new Xi(n,i))}function lmn(e,n,t){return n$(he(yc(Qr(e.f,n))),he(yc(Qr(e.f,t))))}function gS(e,n,t){return dP(e,n,t,_(n,99)&&(u(n,18).Bb&vr)!=0)}function amn(e,n,t){return k3(e,n,t,_(n,99)&&(u(n,18).Bb&vr)!=0)}function hmn(e,n,t){return $Tn(e,n,t,_(n,99)&&(u(n,18).Bb&vr)!=0)}function SQ(e,n){return e==(dn(),ki)&&n==ki?4:e==ki||n==ki?8:32}function jOe(e,n){return X(n)===X(e)?"(this Map)":n==null?Ou:uc(n)}function dmn(e,n){return u(n==null?yc(Qr(e.f,null)):d5(e.g,n),281)}function EOe(e,n,t){var i;return i=c3(t),jt(e.b,i,n),jt(e.c,n,t),n}function TOe(e,n){var t;for(t=n;t;)Gb(e,t.i,t.j),t=Xt(t);return e}function MQ(e,n){var t;return t=J8(av(new aF(e,n))),MC(new aF(e,n)),t}function Wl(e,n){jr();var t;return t=u(e,66).Mj(),Wkn(t,n),t.Ok(n)}function bmn(e,n,t,i,r){var c;c=RTn(r,t,i),se(n,_jn(r,c)),Akn(e,r,n)}function COe(e,n,t){e.i=0,e.e=0,n!=t&&(Y$e(e,n,t),X$e(e,n,t))}function PQ(e,n){var t;t=e.q.getHours(),e.q.setFullYear(n+o1),K6(e,t)}function wmn(e,n,t){if(t){var i=t.ee();e.a[n]=i(t)}else delete e.a[n]}function z$(e,n,t){if(t){var i=t.ee();t=i(t)}else t=void 0;e.a[n]=t}function SOe(e){if(e<0)throw O(new Oke("Negative array size: "+e))}function Kc(e){return e.n||(is(e),e.n=new cPe(e,$r,e),Yr(e)),e.n}function i6(e){return mn(e.a=0&&e.a[t]===n[t];t--);return t<0}function OOe(e,n){Qv();var t;return t=e.j.g-n.j.g,t!=0?t:0}function IOe(e,n){return nn(n),e.a!=null?ewn(n.Kb(e.a)):KA}function pS(e){var n;return e?new hY(e):(n=new wa,xF(n,e),n)}function Os(e,n){var t;return n.b.Kb(TDe(e,n.c.Ee(),(t=new Kye(n),t)))}function mS(e){Xee(),jCe(this,Fn(Ti(qh(e,24),AP)),Fn(Ti(e,AP)))}function DOe(){DOe=W,LXe=Zn((PM(),D(I(use,1),ce,428,0,[QK,cse])))}function LOe(){LOe=W,$Xe=Zn((LS(),D(I(ose,1),ce,427,0,[sse,JK])))}function $Oe(){$Oe=W,NYe=Zn(($S(),D(I(Fse,1),ce,424,0,[fq,QA])))}function FOe(){FOe=W,PQe=Zn((Rv(),D(I(MQe,1),ce,511,0,[bj,jq])))}function NOe(){NOe=W,nJe=Zn((E7(),D(I(tfe,1),ce,419,0,[Px,nfe])))}function _Oe(){_Oe=W,cJe=Zn((w7(),D(I(cfe,1),ce,479,0,[rfe,xx])))}function BOe(){BOe=W,_en=Zn((f7(),D(I(dae,1),ce,376,0,[FH,Oj])))}function ROe(){ROe=W,Len=Zn((v7(),D(I(fae,1),ce,421,0,[DH,LH])))}function KOe(){KOe=W,QQe=Zn((SS(),D(I(Uoe,1),ce,422,0,[Woe,Nq])))}function qOe(){qOe=W,hJe=Zn((wS(),D(I(mfe,1),ce,420,0,[Jq,pfe])))}function HOe(){HOe=W,Ann=Zn((yf(),D(I(Pnn,1),ce,520,0,[ng,k1])))}function VOe(){VOe=W,cnn=Zn((r6(),D(I(rnn,1),ce,523,0,[n9,e9])))}function GOe(){GOe=W,hnn=Zn((yl(),D(I(ann,1),ce,516,0,[mb,vh])))}function zOe(){zOe=W,bnn=Zn((Bf(),D(I(dnn,1),ce,515,0,[_d,il])))}function WOe(){WOe=W,Fnn=Zn((j0(),D(I($nn,1),ce,455,0,[j1,_p])))}function UOe(){UOe=W,etn=Zn((aS(),D(I(Nae,1),ce,425,0,[QH,Fae])))}function XOe(){XOe=W,ctn=Zn((JS(),D(I(_ae,1),ce,495,0,[mO,k4])))}function YOe(){YOe=W,Znn=Zn((sS(),D(I($ae,1),ce,480,0,[YH,Lae])))}function QOe(){QOe=W,otn=Zn((PS(),D(I(Rae,1),ce,426,0,[Bae,nV])))}function JOe(){JOe=W,win=Zn((D7(),D(I(Hhe,1),ce,429,0,[MO,qhe])))}function ZOe(){ZOe=W,Qtn=Zn((l7(),D(I(khe,1),ce,430,0,[lV,CO])))}function r6(){r6=W,n9=new oU("UPPER",0),e9=new oU("LOWER",1)}function vmn(e,n){var t;t=new t2,J1(t,"x",n.a),J1(t,"y",n.b),y2(e,t)}function ymn(e,n){var t;t=new t2,J1(t,"x",n.a),J1(t,"y",n.b),y2(e,t)}function kmn(e,n){var t,i;i=!1;do t=K$e(e,n),i=i|t;while(t);return i}function OQ(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function eIe(e,n){var t;for(t=n;t;)Gb(e,-t.i,-t.j),t=Xt(t);return e}function er(e,n){var t,i;for(nn(n),i=e.Kc();i.Ob();)t=i.Pb(),n.td(t)}function nIe(e,n){var t;return t=n.cd(),new u0(t,e.e.pc(t,u(n.dd(),14)))}function ui(e,n,t,i){var r;r=new al,r.c=n,r.b=t,r.a=i,i.b=t.a=r,++e.b}function Zs(e,n,t){var i;return i=(Qe(n,e.c.length),e.c[n]),e.c[n]=t,i}function jmn(e,n,t){return u(n==null?du(e.f,null,t):F0(e.g,n,t),281)}function Y$(e){return e.c&&e.d?bQ(e.c)+"->"+bQ(e.d):"e_"+a0(e)}function Sv(e,n){return(hd(e),u5(new Ue(e,new nJ(n,e.a)))).sd(Q3)}function Emn(){return pr(),D(I(Qse,1),ce,356,0,[$l,g1,wu,Jc,ec])}function Tmn(){return ae(),D(I(yr,1),Nc,61,0,[pc,tn,hn,In,sn])}function Cmn(e){return aT(),function(){return F2n(e,this,arguments)}}function Smn(){return Date.now?Date.now():new Date().getTime()}function wr(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function tIe(e){if(!e.c.Sb())throw O(new Ac);return e.a=!0,e.c.Ub()}function s7(e){e.i=0,v8(e.b,null),v8(e.c,null),e.a=null,e.e=null,++e.g}function IQ(e){Dan.call(this,e==null?Ou:uc(e),_(e,78)?u(e,78):null)}function iIe(e){PVe(),M7e(this),this.a=new Gt,cZ(this,e),st(this.a,e)}function rIe(){wL(this),this.b=new je(ei,ei),this.a=new je(bi,bi)}function cIe(e,n){this.c=0,this.b=n,DTe.call(this,e,17493),this.a=this.c}function Q$(e){vS(),!el&&(this.c=e,this.e=!0,this.a=new oe)}function vS(){vS=W,el=!0,TXe=!1,CXe=!1,MXe=!1,SXe=!1}function DQ(e,n){return _(n,149)?Ke(e.c,u(n,149).c):!1}function LQ(e,n){var t;return t=0,e&&(t+=e.f.a/2),n&&(t+=n.f.a/2),t}function J$(e,n){var t;return t=u(M0(e.d,n),23),t||u(M0(e.e,n),23)}function uIe(e){this.b=e,jn.call(this,e),this.a=u(en(this.b.a,4),126)}function sIe(e){this.b=e,d2.call(this,e),this.a=u(en(this.b.a,4),126)}function is(e){return e.t||(e.t=new p7e(e),y6(new xke(e),0,e.t)),e.t}function Mmn(){return xr(),D(I(b9,1),ce,103,0,[ua,of,Io,_a,Ba])}function Pmn(){return Gg(),D(I(m9,1),ce,249,0,[C1,Jj,Q1e,p9,J1e])}function Amn(){return Cf(),D(I(jh,1),ce,175,0,[an,Ni,_l,Bd,kh])}function xmn(){return ik(),D(I(Che,1),ce,316,0,[jhe,aV,The,hV,Ehe])}function Omn(){return M6(),D(I(nae,1),ce,315,0,[eae,xH,OH,Xy,Yy])}function Imn(){return gd(),D(I(efe,1),ce,335,0,[Bq,Zoe,Rq,Fy,$y])}function Dmn(){return m3(),D(I(Gtn,1),ce,355,0,[Bp,km,f9,o9,l9])}function Lmn(){return Qg(),D(I(qQe,1),ce,363,0,[Ex,Cx,Sx,Tx,jx])}function $mn(){return ro(),D(I(Ofe,1),ce,163,0,[Tj,Ky,m1,qy,Gw])}function Mv(){Mv=W;var e,n;eI=(Jm(),n=new rT,n),nI=(e=new bD,e)}function oIe(e){var n;return e.c||(n=e.r,_(n,88)&&(e.c=u(n,26))),e.c}function Fmn(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function Z$(e){var n,t,i;return n=e&fs,t=e>>22&fs,i=e<0?La:0,au(n,t,i)}function Nmn(e){var n,t,i,r;for(t=e,i=0,r=t.length;i0?uNe(e,n):PKe(e,-n)}function $Q(e,n){return n==0||e.e==0?e:n>0?PKe(e,n):uNe(e,-n)}function _n(e){if(Wn(e))return e.c=e.a,e.a.Pb();throw O(new Ac)}function lIe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(dn(),hi)&&t.k==hi}function eF(e){var n;return n=new k0,Jr(n,e),te(n,(be(),Xr),null),n}function nF(e,n,t){var i;return i=e.Yg(n),i>=0?e._g(i,t,!0):V0(e,n,t)}function FQ(e,n,t,i){var r;for(r=0;rn)throw O(new qr(mne(e,n,"index")));return e}function tF(e,n,t,i){var r;return r=V(Ln,nt,25,n,15,1),Y7n(r,e,n,t,i),r}function Bmn(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),K6(e,t)}function Rmn(e,n){return k.Math.min(Xh(n.a,e.d.d.c),Xh(n.b,e.d.d.c))}function A2(e,n){return Ri(n)?n==null?$ne(e.f,null):E$e(e.g,n):$ne(e.f,n)}function Hf(e){this.c=e,this.a=new A(this.c.a),this.b=new A(this.c.b)}function yS(){this.e=new oe,this.c=new oe,this.d=new oe,this.b=new oe}function wIe(){this.g=new eW,this.b=new eW,this.a=new oe,this.k=new oe}function gIe(e,n,t){this.a=e,this.c=n,this.d=t,se(n.e,this),se(t.b,this)}function pIe(e,n){ITe.call(this,n.rd(),n.qd()&-6),nn(e),this.a=e,this.b=n}function mIe(e,n){DTe.call(this,n.rd(),n.qd()&-6),nn(e),this.a=e,this.b=n}function HQ(e,n){lL.call(this,n.rd(),n.qd()&-6),nn(e),this.a=e,this.b=n}function kS(e,n,t){this.a=e,this.b=n,this.c=t,se(e.t,this),se(n.i,this)}function jS(){this.b=new Gt,this.a=new Gt,this.b=new Gt,this.a=new Gt}function ES(){ES=W,a9=new Kt("org.eclipse.elk.labels.labelManager")}function vIe(){vIe=W,qoe=new ji("separateLayerConnections",(sM(),Sq))}function yf(){yf=W,ng=new aU("REGULAR",0),k1=new aU("CRITICAL",1)}function f7(){f7=W,FH=new sU("STACKED",0),Oj=new sU("SEQUENCED",1)}function l7(){l7=W,lV=new pU("FIXED",0),CO=new pU("CENTER_NODE",1)}function Kmn(e,n){var t;return t=Gxn(e,n),e.b=new QS(t.c.length),ixn(e,t)}function qmn(e,n,t){var i;return++e.e,--e.f,i=u(e.d[n].$c(t),133),i.dd()}function yIe(e){var n;return e.a||(n=e.r,_(n,148)&&(e.a=u(n,148))),e.a}function VQ(e){if(e.a){if(e.e)return VQ(e.e)}else return e;return null}function Hmn(e,n){return e.pn.p?-1:0}function TS(e,n){return nn(n),e.c=0,"Initial capacity must not be negative")}function EIe(){EIe=W,BXe=Zn((Ef(),D(I(Bw,1),ce,232,0,[Tc,ou,Cc])))}function TIe(){TIe=W,KXe=Zn((Qu(),D(I(RXe,1),ce,461,0,[Ll,b1,cf])))}function CIe(){CIe=W,HXe=Zn((Cu(),D(I(qXe,1),ce,462,0,[xf,w1,uf])))}function SIe(){SIe=W,PXe=Zn((Wf(),D(I(ls,1),ce,132,0,[tse,Rs,_w])))}function MIe(){MIe=W,rQe=Zn((u6(),D(I(Yse,1),ce,379,0,[dq,hq,bq])))}function PIe(){PIe=W,vQe=Zn(($0(),D(I(eoe,1),ce,423,0,[Ep,Zse,vq])))}function AIe(){AIe=W,JQe=Zn((I2(),D(I(Yoe,1),ce,314,0,[lm,pj,Xoe])))}function xIe(){xIe=W,ZQe=Zn((VS(),D(I(Joe,1),ce,337,0,[Qoe,Mx,_q])))}function OIe(){OIe=W,iJe=Zn((od(),D(I(tJe,1),ce,450,0,[Kq,s4,Mp])))}function IIe(){IIe=W,UQe=Zn((D0(),D(I(Pq,1),ce,361,0,[ob,p1,sb])))}function DIe(){DIe=W,aJe=Zn((Ta(),D(I(lJe,1),ce,303,0,[vj,Ap,am])))}function LIe(){LIe=W,fJe=Zn((Gv(),D(I(Qq,1),ce,292,0,[Xq,Yq,mj])))}function $Ie(){$Ie=W,Aen=Zn((g6(),D(I(Zle,1),ce,378,0,[MH,Jle,iO])))}function FIe(){FIe=W,Nen=Zn((iM(),D(I(hae,1),ce,375,0,[lae,$H,aae])))}function NIe(){NIe=W,Den=Zn((Sa(),D(I(oae,1),ce,339,0,[y1,sae,IH])))}function _Ie(){_Ie=W,Fen=Zn((Ar(),D(I($en,1),ce,452,0,[Qy,es,fu])))}function BIe(){BIe=W,Ken=Zn((oM(),D(I(vae,1),ce,377,0,[BH,v4,eg])))}function RIe(){RIe=W,Ben=Zn((Jv(),D(I(wae,1),ce,336,0,[NH,bae,Jy])))}function KIe(){KIe=W,Ren=Zn((nM(),D(I(mae,1),ce,338,0,[pae,_H,gae])))}function qIe(){qIe=W,enn=Zn((I0(),D(I(Zen,1),ce,454,0,[Ij,Zy,sO])))}function HIe(){HIe=W,stn=Zn((vM(),D(I(utn,1),ce,442,0,[eV,JH,ZH])))}function VIe(){VIe=W,ftn=Zn((N7(),D(I(Hae,1),ce,380,0,[vO,Kae,qae])))}function GIe(){GIe=W,Stn=Zn((mM(),D(I(she,1),ce,381,0,[uhe,uV,che])))}function zIe(){zIe=W,Ctn=Zn((tM(),D(I(ihe,1),ce,293,0,[cV,the,nhe])))}function WIe(){WIe=W,Wtn=Zn((H7(),D(I(sV,1),ce,437,0,[jO,EO,TO])))}function UIe(){UIe=W,Yin=Zn((Ma(),D(I(Y1e,1),ce,334,0,[NO,Eh,g9])))}function XIe(){XIe=W,zin=Zn((Vf(),D(I(_1e,1),ce,272,0,[T4,rg,C4])))}function Ymn(){return Wi(),D(I(Z1e,1),ce,98,0,[S1,cl,M4,Hd,fa,nu])}function td(e,n){return!e.o&&(e.o=new js((uu(),A1),yb,e,0)),dN(e.o,n)}function Qmn(e){return!e.g&&(e.g=new GE),!e.g.d&&(e.g.d=new b7e(e)),e.g.d}function Jmn(e){return!e.g&&(e.g=new GE),!e.g.a&&(e.g.a=new w7e(e)),e.g.a}function Zmn(e){return!e.g&&(e.g=new GE),!e.g.b&&(e.g.b=new d7e(e)),e.g.b}function a7(e){return!e.g&&(e.g=new GE),!e.g.c&&(e.g.c=new g7e(e)),e.g.c}function evn(e,n,t){var i,r;for(r=new Vv(n,e),i=0;it||n=0?e._g(t,!0,!0):V0(e,n,!0)}function pvn(e,n){return mi(ee(he(S(e,(re(),hb)))),ee(he(S(n,hb))))}function tDe(){tDe=W,ttn=R0(R0(MT(new xi,(s3(),t9)),(D6(),hO)),qH)}function mvn(e,n,t){var i;return i=z$e(e,n,t),e.b=new QS(i.c.length),ute(e,i)}function vvn(e){if(e.b<=0)throw O(new Ac);return--e.b,e.a-=e.c.c,le(e.a)}function yvn(e){var n;if(!e.a)throw O(new uAe);return n=e.a,e.a=Xt(e.a),n}function kvn(e){for(;!e.a;)if(!VSe(e.c,new _ye(e)))return!1;return!0}function O2(e){var n;return Nn(e),_(e,198)?(n=u(e,198),n):new iye(e)}function jvn(e){MS(),u(e.We((dt(),ig)),174).Fc((Ju(),Zj)),e.Ye(OV,null)}function MS(){MS=W,min=new Vve,yin=new Gve,vin=u5n((dt(),OV),min,E1,yin)}function PS(){PS=W,Bae=new gU("LEAF_NUMBER",0),nV=new gU("NODE_SIZE",1)}function Evn(e,n,t){e.a=n,e.c=t,e.b.a.$b(),vo(e.d),e.e.a.c=V(pn,pe,1,0,5,1)}function fF(e){e.a=V(Ln,nt,25,e.b+1,15,1),e.c=V(Ln,nt,25,e.b,15,1),e.d=0}function Tvn(e,n){e.a.ue(n.d,e.b)>0&&(se(e.c,new cY(n.c,n.d,e.d)),e.b=n.d)}function eJ(e,n){if(e.g==null||n>=e.i)throw O(new aL(n,e.i));return e.g[n]}function iDe(e,n,t){if(Xv(e,t),t!=null&&!e.wj(t))throw O(new aD);return t}function rDe(e){var n;if(e.Ek())for(n=e.i-1;n>=0;--n)K(e,n);return CQ(e)}function Cvn(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function Svn(e,n){var t,i;return SOe(n),t=(i=e.slice(0,n),tJ(i,e)),t.length=n,t}function xv(e,n,t,i){var r;i=(Dg(),i||Gue),r=e.slice(n,t),vne(r,e,n,t,-n,i)}function eo(e,n,t,i,r){return n<0?V0(e,t,i):u(t,66).Nj().Pj(e,e.yh(),n,i,r)}function Mvn(e){return _(e,172)?""+u(e,172).a:e==null?null:uc(e)}function Pvn(e){return _(e,172)?""+u(e,172).a:e==null?null:uc(e)}function cDe(e,n){if(n.a)throw O(new fc(cGe));Ei(e.a,n),n.a=e,!e.j&&(e.j=n)}function nJ(e,n){lL.call(this,n.rd(),n.qd()&-16449),nn(e),this.a=e,this.c=n}function uDe(e,n){var t,i;return i=n/e.c.Hd().gc()|0,t=n%e.c.Hd().gc(),x2(e,i,t)}function Qu(){Qu=W,Ll=new _D(Y2,0),b1=new _D(I3,1),cf=new _D(Q2,2)}function AS(){AS=W,UK=new OT("All",0),Jue=new nCe,Zue=new dCe,ese=new tCe}function sDe(){sDe=W,jXe=Zn((AS(),D(I(qA,1),ce,297,0,[UK,Jue,Zue,ese])))}function oDe(){oDe=W,dQe=Zn((zv(),D(I(hQe,1),ce,405,0,[ub,Kw,Rw,jp])))}function fDe(){fDe=W,bYe=Zn((L0(),D(I(dYe,1),ce,406,0,[cj,rj,tq,iq])))}function lDe(){lDe=W,gYe=Zn((B2(),D(I(wYe,1),ce,323,0,[sj,uj,oj,fj])))}function aDe(){aDe=W,vYe=Zn((S6(),D(I(mYe,1),ce,394,0,[lj,WA,UA,aj])))}function hDe(){hDe=W,Nnn=Zn((s3(),D(I(Tae,1),ce,393,0,[aO,t9,Lj,i9])))}function dDe(){dDe=W,IQe=Zn((sM(),D(I(OQe,1),ce,360,0,[Sq,yx,kx,gj])))}function bDe(){bDe=W,Ttn=Zn((_M(),D(I(ehe,1),ce,340,0,[rV,Jae,Zae,Qae])))}function wDe(){wDe=W,KQe=Zn((zf(),D(I(RQe,1),ce,411,0,[fm,t4,i4,Mq])))}function gDe(){gDe=W,xen=Zn((bw(),D(I(AH,1),ce,197,0,[rO,PH,Np,Fp])))}function pDe(){pDe=W,drn=Zn((Es(),D(I(hrn,1),ce,396,0,[Gs,sde,ude,ode])))}function mDe(){mDe=W,Jin=Zn(($s(),D(I(Qin,1),ce,285,0,[Qj,sa,T1,Yj])))}function vDe(){vDe=W,Win=Zn((Aa(),D(I($V,1),ce,218,0,[LV,Xj,S4,Sm])))}function yDe(){yDe=W,lrn=Zn((jM(),D(I(cde,1),ce,311,0,[_V,tde,rde,ide])))}function kDe(){kDe=W,orn=Zn((Ts(),D(I(k9,1),ce,374,0,[nE,Vd,eE,cg])))}function jDe(){jDe=W,bP(),Hde=ei,wcn=bi,Vde=new t8(ei),gcn=new t8(bi)}function w7(){w7=W,rfe=new rU($a,0),xx=new rU("IMPROVE_STRAIGHTNESS",1)}function Avn(e,n){return hv(),se(e,new Xi(n,le(n.e.c.length+n.g.c.length)))}function xvn(e,n){return hv(),se(e,new Xi(n,le(n.e.c.length+n.g.c.length)))}function tJ(e,n){return y7(n)!=10&&D(cs(n),n.hm,n.__elementTypeId$,y7(n),e),e}function Tu(e,n){var t;return t=rc(e,n,0),t==-1?!1:(Za(e,t),!0)}function EDe(e,n){var t;return t=u(A2(e.e,n),387),t?(oY(t),t.e):null}function Ov(e){var n;return ic(e)&&(n=0-e,!isNaN(n))?n:Qh(Wv(e))}function rc(e,n,t){for(;t=0?DM(e,t,!0,!0):V0(e,n,!0)}function sJ(e,n){f5();var t,i;return t=S2(e),i=S2(n),!!t&&!!i&&!BNe(t.k,i.k)}function Dvn(e,n){Mu(e,n==null||pC((nn(n),n))||isNaN((nn(n),n))?0:(nn(n),n))}function Lvn(e,n){Pu(e,n==null||pC((nn(n),n))||isNaN((nn(n),n))?0:(nn(n),n))}function $vn(e,n){O0(e,n==null||pC((nn(n),n))||isNaN((nn(n),n))?0:(nn(n),n))}function Fvn(e,n){x0(e,n==null||pC((nn(n),n))||isNaN((nn(n),n))?0:(nn(n),n))}function PDe(e){(this.q?this.q:(He(),He(),ra)).Ac(e.q?e.q:(He(),He(),ra))}function Nvn(e,n){return _(n,99)&&u(n,18).Bb&vr?new hL(n,e):new Vv(n,e)}function _vn(e,n){return _(n,99)&&u(n,18).Bb&vr?new hL(n,e):new Vv(n,e)}function ADe(e,n){Mse=new qE,pYe=n,Ay=e,u(Ay.b,65),WQ(Ay,Mse,null),jHe(Ay)}function bF(e,n,t){var i;return i=e.g[n],D5(e,n,e.oi(n,t)),e.gi(n,t,i),e.ci(),i}function DS(e,n){var t;return t=e.Xc(n),t>=0?(e.$c(t),!0):!1}function wF(e){var n;return e.d!=e.r&&(n=jo(e),e.e=!!n&&n.Cj()==lUe,e.d=n),e.e}function gF(e,n){var t;for(Nn(e),Nn(n),t=!1;n.Ob();)t=t|e.Fc(n.Pb());return t}function M0(e,n){var t;return t=u(yn(e.e,n),387),t?(kCe(e,t),t.e):null}function xDe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function hc(e,n){var t,i;return hd(e),i=new HQ(n,e.a),t=new WSe(i),new Ue(e,t)}function cw(e,n){var t=e.a[n],i=($F(),HK)[typeof t];return i?i(t):aZ(typeof t)}function Bvn(e){switch(e.g){case 0:return vt;case 1:return-1;default:return 0}}function Rvn(e){return Pee(e,(Iv(),Sue))<0?-t1n(Wv(e)):e.l+e.m*X2+e.h*yd}function y7(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function pF(e){var n;return n=e.b.c.length==0?null:ve(e.b,0),n!=null&&MF(e,0),n}function ODe(e,n){for(;n[0]=0;)++n[0]}function k7(e,n){this.e=n,this.a=T$e(e),this.a<54?this.f=C0(e):this.c=W7(e)}function IDe(e,n,t,i){gt(),Qd.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function Ul(e,n,t){var i,r;for(i=10,r=0;re.a[i]&&(i=t);return i}function zvn(e,n){var t;return t=N0(e.e.c,n.e.c),t==0?mi(e.e.d,n.e.d):t}function Fg(e,n){return n.e==0||e.e==0?X3:(b3(),m_(e,n))}function Wvn(e,n){if(!e)throw O(new rn(YCn("Enum constant undefined: %s",n)))}function s6(){s6=W,gQe=new mwe,pQe=new gwe,bQe=new Ewe,wQe=new Twe,mQe=new Cwe}function LS(){LS=W,sse=new JW("BY_SIZE",0),JK=new JW("BY_SIZE_AND_SHAPE",1)}function $S(){$S=W,fq=new ZW("EADES",0),QA=new ZW("FRUCHTERMAN_REINGOLD",1)}function E7(){E7=W,Px=new iU("READING_DIRECTION",0),nfe=new iU("ROTATION",1)}function LDe(){LDe=W,eJe=Zn((gd(),D(I(efe,1),ce,335,0,[Bq,Zoe,Rq,Fy,$y])))}function $De(){$De=W,Oen=Zn((M6(),D(I(nae,1),ce,315,0,[eae,xH,OH,Xy,Yy])))}function FDe(){FDe=W,HQe=Zn((Qg(),D(I(qQe,1),ce,363,0,[Ex,Cx,Sx,Tx,jx])))}function NDe(){NDe=W,dJe=Zn((ro(),D(I(Ofe,1),ce,163,0,[Tj,Ky,m1,qy,Gw])))}function _De(){_De=W,Jtn=Zn((ik(),D(I(Che,1),ce,316,0,[jhe,aV,The,hV,Ehe])))}function BDe(){BDe=W,kin=Zn((Cf(),D(I(jh,1),ce,175,0,[an,Ni,_l,Bd,kh])))}function RDe(){RDe=W,ztn=Zn((m3(),D(I(Gtn,1),ce,355,0,[Bp,km,f9,o9,l9])))}function KDe(){KDe=W,oQe=Zn((pr(),D(I(Qse,1),ce,356,0,[$l,g1,wu,Jc,ec])))}function qDe(){qDe=W,Gin=Zn((xr(),D(I(b9,1),ce,103,0,[ua,of,Io,_a,Ba])))}function HDe(){HDe=W,ern=Zn((Gg(),D(I(m9,1),ce,249,0,[C1,Jj,Q1e,p9,J1e])))}function VDe(){VDe=W,irn=Zn((ae(),D(I(yr,1),Nc,61,0,[pc,tn,hn,In,sn])))}function mF(e,n){var t;return t=u(yn(e.a,n),134),t||(t=new WI,jt(e.a,n,t)),t}function GDe(e){var n;return n=u(S(e,(re(),fb)),305),n?n.a==e:!1}function zDe(e){var n;return n=u(S(e,(re(),fb)),305),n?n.i==e:!1}function WDe(e,n){return nn(n),PY(e),e.d.Ob()?(n.td(e.d.Pb()),!0):!1}function FS(e){return Fc(e,vt)>0?vt:Fc(e,cr)<0?cr:Fn(e)}function uw(e){return e<3?(Ds(e,KVe),e+1):e=0&&n=-.01&&e.a<=Qf&&(e.a=0),e.b>=-.01&&e.b<=Qf&&(e.b=0),e}function XDe(e,n){return n==(NL(),NL(),vXe)?e.toLocaleLowerCase():e.toLowerCase()}function fJ(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(ga(e),e.o)}function Wr(e){var n,t;t=(n=new wD,n),Bn((!e.q&&(e.q=new fe(_o,e,11,10)),e.q),t)}function Uvn(e,n){var t;return t=n>0?n-1:n,Gke(oan(yLe(sY(new Wm,t),e.n),e.j),e.k)}function Xvn(e,n,t,i){var r;e.j=-1,Ine(e,hne(e,n,t),(jr(),r=u(n,66).Mj(),r.Ok(i)))}function YDe(e){this.g=e,this.f=new oe,this.a=k.Math.min(this.g.c.c,this.g.d.c)}function QDe(e){this.b=new oe,this.a=new oe,this.c=new oe,this.d=new oe,this.e=e}function JDe(e,n){this.a=new $n,this.e=new $n,this.b=(g6(),iO),this.c=e,this.b=n}function ZDe(e,n,t){wC.call(this),lJ(this),this.a=e,this.c=t,this.b=n.d,this.f=n.e}function eLe(e){this.d=e,this.c=e.c.vc().Kc(),this.b=null,this.a=null,this.e=(sT(),BK)}function P0(e){if(e<0)throw O(new rn("Illegal Capacity: "+e));this.g=this.ri(e)}function Yvn(e,n){if(0>e||e>n)throw O(new EW("fromIndex: 0, toIndex: "+e+aie+n))}function Qvn(e){var n;if(e.a==e.b.a)throw O(new Ac);return n=e.a,e.c=n,e.a=e.a.e,n}function NS(e){var n;Vb(!!e.c),n=e.c.a,no(e.d,e.c),e.b==e.c?e.b=n:--e.a,e.c=null}function _S(e,n){var t;return hd(e),t=new jAe(e,e.a.rd(),e.a.qd()|4,n),new Ue(e,t)}function Jvn(e,n){var t,i;return t=u(aw(e.d,n),14),t?(i=n,e.e.pc(i,t)):null}function BS(e,n){var t,i;for(i=e.Kc();i.Ob();)t=u(i.Pb(),70),te(t,(re(),wm),n)}function Zvn(e){var n;return n=ee(he(S(e,(be(),ph)))),n<0&&(n=0,te(e,ph,n)),n}function e3n(e,n,t){var i;i=k.Math.max(0,e.b/2-.5),A6(t,i,1),se(n,new SEe(t,i))}function n3n(e,n,t){var i;return i=e.a.e[u(n.a,10).p]-e.a.e[u(t.a,10).p],oi(W8(i))}function nLe(e,n,t,i,r,c){var o;o=eF(i),or(o,r),Gi(o,c),Be(e.a,i,new mC(o,n,t.f))}function tLe(e,n){var t;if(t=dk(e.Tg(),n),!t)throw O(new rn(h1+n+tK));return t}function sw(e,n){var t;for(t=e;Xt(t);)if(t=Xt(t),t==n)return!0;return!1}function t3n(e,n){var t,i,r;for(i=n.a.cd(),t=u(n.a.dd(),14).gc(),r=0;r0&&(e.a/=n,e.b/=n),e}function Is(e){var n;return e.w?e.w:(n=a2n(e),n&&!n.kh()&&(e.w=n),n)}function l3n(e){var n;return e==null?null:(n=u(e,190),akn(n,n.length))}function K(e,n){if(e.g==null||n>=e.i)throw O(new aL(n,e.i));return e.li(n,e.g[n])}function a3n(e){var n,t;for(n=e.a.d.j,t=e.c.d.j;n!=t;)ef(e.b,n),n=gM(n);ef(e.b,n)}function h3n(e){var n;for(n=0;n=14&&n<=16))),e}function uLe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function sLe(e,n,t){var i,r;i=n;do r=ee(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function Dv(e,n){var t,i;i=e.a,t=z5n(e,n,null),i!=n&&!e.e&&(t=T3(e,n,t)),t&&t.Fi()}function aJ(e,n){return Ff(),Zo(s1),k.Math.abs(e-n)<=s1||e==n||isNaN(e)&&isNaN(n)}function hJ(e,n){return Ff(),Zo(s1),k.Math.abs(e-n)<=s1||e==n||isNaN(e)&&isNaN(n)}function w3n(e,n){return r1(),yu(e.b.c.length-e.e.c.length,n.b.c.length-n.e.c.length)}function Ng(e,n){return dan(l6(e,n,Fn(rr(Zl,Gl(Fn(rr(n==null?0:Bt(n),ea)),15)))))}function oLe(){oLe=W,EQe=Zn((dn(),D(I(kq,1),ce,267,0,[ki,Fi,hi,Zc,Cs,nl])))}function fLe(){fLe=W,xin=Zn((pw(),D(I(jV,1),ce,291,0,[kV,Vj,Hj,yV,Kj,qj])))}function lLe(){lLe=W,Tin=Zn((Xl(),D(I(Uhe,1),ce,248,0,[mV,Bj,Rj,xO,PO,AO])))}function aLe(){aLe=W,YQe=Zn((K2(),D(I(u4,1),ce,227,0,[c4,Ly,r4,qw,Sp,Cp])))}function hLe(){hLe=W,sJe=Zn((h3(),D(I(gfe,1),ce,275,0,[Ny,hfe,wfe,bfe,dfe,afe])))}function dLe(){dLe=W,uJe=Zn((nk(),D(I(lfe,1),ce,274,0,[Ox,sfe,ffe,ufe,ofe,Wq])))}function bLe(){bLe=W,Pen=Zn((zM(),D(I(Qle,1),ce,313,0,[SH,Xle,CH,Ule,Yle,tO])))}function wLe(){wLe=W,rJe=Zn((YM(),D(I(ife,1),ce,276,0,[Hq,qq,Gq,Vq,zq,Ax])))}function gLe(){gLe=W,Bnn=Zn((D6(),D(I(_nn,1),ce,327,0,[hO,qH,VH,HH,GH,KH])))}function pLe(){pLe=W,trn=Zn((Ju(),D(I(_O,1),ce,273,0,[M1,Ka,Zj,y9,v9,Mm])))}function mLe(){mLe=W,Uin=Zn((UM(),D(I(V1e,1),ce,312,0,[FV,K1e,H1e,B1e,q1e,R1e])))}function g3n(){return kw(),D(I(Lr,1),ce,93,0,[ff,Ra,lf,hf,oa,Lo,qs,af,Do])}function KS(e,n){var t;t=e.a,e.a=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,0,t,e.a))}function qS(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,1,t,e.b))}function Lv(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,3,t,e.b))}function x0(e,n){var t;t=e.f,e.f=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,3,t,e.f))}function O0(e,n){var t;t=e.g,e.g=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,4,t,e.g))}function Mu(e,n){var t;t=e.i,e.i=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,5,t,e.i))}function Pu(e,n){var t;t=e.j,e.j=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,6,t,e.j))}function $v(e,n){var t;t=e.j,e.j=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,1,t,e.j))}function Fv(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,4,t,e.c))}function Nv(e,n){var t;t=e.k,e.k=n,e.Db&4&&!(e.Db&1)&&yt(e,new iw(e,2,t,e.k))}function yF(e,n){var t;t=e.d,e.d=n,e.Db&4&&!(e.Db&1)&&yt(e,new W$(e,2,t,e.d))}function th(e,n){var t;t=e.s,e.s=n,e.Db&4&&!(e.Db&1)&&yt(e,new W$(e,4,t,e.s))}function fw(e,n){var t;t=e.t,e.t=n,e.Db&4&&!(e.Db&1)&&yt(e,new W$(e,5,t,e.t))}function _v(e,n){var t;t=e.F,e.F=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,5,t,n))}function T7(e,n){var t;return t=u(yn((PT(),YO),e),55),t?t.xj(n):V(pn,pe,1,n,5,1)}function Ca(e,n){var t,i;return t=n in e.a,t&&(i=va(e,n).he(),i)?i.a:null}function p3n(e,n){var t,i,r;return t=(i=(r0(),r=new cz,r),n&&ete(i,n),i),kJ(t,e),t}function vLe(e,n,t){if(Xv(e,t),!e.Bk()&&t!=null&&!e.wj(t))throw O(new aD);return t}function yLe(e,n){return e.n=n,e.n?(e.f=new oe,e.e=new oe):(e.f=null,e.e=null),e}function zn(e,n,t,i,r,c){var o;return o=h$(e,n),jLe(t,o),o.i=r?8:0,o.f=i,o.e=r,o.g=c,o}function dJ(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=e,this.a=t}function bJ(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=e,this.a=t}function wJ(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=e,this.a=t}function gJ(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=e,this.a=t}function pJ(e,n,t,i,r){this.d=n,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=e,this.a=t}function kLe(e,n){var t,i,r,c;for(i=n,r=0,c=i.length;r=0),pyn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function mJ(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=_7(e.f)),e.c).e}function Zo(e){if(!(e>=0))throw O(new rn("tolerance ("+e+") must be >= 0"));return e}function Bv(){return gV||(gV=new lqe,qg(gV,D(I(kp,1),pe,130,0,[new fz]))),gV}function Ar(){Ar=W,Qy=new YD(ey,0),es=new YD("INPUT",1),fu=new YD("OUTPUT",2)}function VS(){VS=W,Qoe=new VD("ARD",0),Mx=new VD("MSD",1),_q=new VD("MANUAL",2)}function I0(){I0=W,Ij=new nL("BARYCENTER",0),Zy=new nL(UGe,1),sO=new nL(XGe,2)}function C7(e,n){var t;if(t=e.gc(),n<0||n>t)throw O(new Ub(n,t));return new FX(e,n)}function CLe(e,n){var t;return _(n,42)?e.c.Mc(n):(t=dN(e,n),CM(e,n),t)}function _r(e,n,t){return ad(e,n),ru(e,t),th(e,0),fw(e,1),uh(e,!0),ch(e,!0),e}function Ds(e,n){if(e<0)throw O(new rn(n+" cannot be negative but was: "+e));return e}function SLe(e,n){var t,i;for(t=0,i=e.gc();t0?u(ve(t.a,i-1),10):null}function f6(e,n){var t;t=e.k,e.k=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,2,t,e.k))}function zS(e,n){var t;t=e.f,e.f=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,8,t,e.f))}function WS(e,n){var t;t=e.i,e.i=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,7,t,e.i))}function kJ(e,n){var t;t=e.a,e.a=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,8,t,e.a))}function jJ(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,0,t,e.b))}function EJ(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,0,t,e.b))}function TJ(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,1,t,e.c))}function CJ(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,1,t,e.c))}function jF(e,n){var t;t=e.c,e.c=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,4,t,e.c))}function SJ(e,n){var t;t=e.d,e.d=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,1,t,e.d))}function EF(e,n){var t;t=e.D,e.D=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,2,t,e.D))}function TF(e,n){e.r>0&&e.c0&&e.g!=0&&TF(e.i,n/e.r*e.i.d))}function S3n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new wke:new oz,e.c=qSn(i,e.b,e.a)}function $Le(e,n){return Ia(e.e,n)?(jr(),wF(n)?new CC(n,e):new O8(n,e)):new MTe(n,e)}function US(e,n){return han(a6(e.a,n,Fn(rr(Zl,Gl(Fn(rr(n==null?0:Bt(n),ea)),15)))))}function M3n(e,n,t){return rw(e,new Iye(n),new LI,new Dye(t),D(I(ls,1),ce,132,0,[]))}function P3n(e){var n,t;return 0>e?new _W:(n=e+1,t=new cIe(n,e),new pX(null,t))}function A3n(e,n){He();var t;return t=new c2(1),Ri(e)?Vr(t,e,n):du(t.f,e,n),new oD(t)}function x3n(e,n){var t,i;return t=e.o+e.p,i=n.o+n.p,tn?(n<<=1,n>0?n:X6):n}function CF(e){switch(UU(e.e!=3),e.e){case 2:return!1;case 0:return!0}return Fmn(e)}function NLe(e,n){var t;return _(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function SF(e,n,t){var i,r,c;return c=n>>5,r=n&31,i=Ti(Yb(e.n[t][c],Fn(pa(r,1))),3),i}function I3n(e,n){var t,i;for(i=n.vc().Kc();i.Ob();)t=u(i.Pb(),42),HM(e,t.cd(),t.dd())}function D3n(e,n){var t;t=new qE,u(n.b,65),u(n.b,65),u(n.b,65),Su(n.a,new WX(e,t,n))}function MJ(e,n){var t;t=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,21,t,e.b))}function PJ(e,n){var t;t=e.d,e.d=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,11,t,e.d))}function XS(e,n){var t;t=e.j,e.j=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,13,t,e.j))}function _Le(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i>>31;i!=0&&(e[t]=i)}function H3n(e,n){He();var t,i;for(i=new oe,t=0;t0&&(this.g=this.ri(this.i+(this.i/8|0)+1),e.Qc(this.g))}function Zt(e,n){kC.call(this,Urn,e,n),this.b=this,this.a=bu(e.Tg(),ze(this.e.Tg(),this.c))}function h6(e,n){var t,i;for(nn(n),i=n.vc().Kc();i.Ob();)t=u(i.Pb(),42),e.zc(t.cd(),t.dd())}function Z3n(e,n,t){var i;for(i=t.Kc();i.Ob();)if(!gS(e,n,i.Pb()))return!1;return!0}function e4n(e,n,t,i,r){var c;return t&&(c=qt(n.Tg(),e.c),r=t.gh(n,-1-(c==-1?i:c),null,r)),r}function n4n(e,n,t,i,r){var c;return t&&(c=qt(n.Tg(),e.c),r=t.ih(n,-1-(c==-1?i:c),null,r)),r}function i$e(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function r$e(e){switch(e.g){case 2:return ae(),sn;case 4:return ae(),hn;default:return e}}function c$e(e){switch(e.g){case 1:return ae(),In;case 3:return ae(),tn;default:return e}}function t4n(e){var n,t,i;return e.j==(ae(),tn)&&(n=LRe(e),t=Bu(n,hn),i=Bu(n,sn),i||i&&t)}function i4n(e){var n,t;return n=u(e.e&&e.e(),9),t=u(BY(n,n.length),9),new Ys(n,t,n.length)}function r4n(e,n){On(n,WGe,1),LZ(Tan(new QE((o5(),new y$(e,!1,!1,new WG))))),Tn(n)}function S7(e,n){return un(),Ri(e)?KQ(e,Vn(n)):Hb(e)?n$(e,he(n)):qb(e)?own(e,ye(n)):e.wd(n)}function LJ(e,n){n.q=e,e.d=k.Math.max(e.d,n.r),e.b+=n.d+(e.a.c.length==0?0:e.c),se(e.a,n)}function Kv(e,n){var t,i,r,c;return r=e.c,t=e.c+e.b,c=e.d,i=e.d+e.a,n.a>r&&n.ac&&n.b1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw O(new Ac)}function g4n(e){uCe();var n;return gEe(RH,e)||(n=new Hme,n.a=e,TX(RH,e,n)),u(Nr(RH,e),635)}function yo(e){var n,t,i,r;return r=e,i=0,r<0&&(r+=yd,i=La),t=oi(r/X2),n=oi(r-t*X2),au(n,t,i)}function M7(e){var n,t,i;for(i=0,t=new u2(e.a);t.a>22),r=e.h+n.h+(i>>22),au(t&fs,i&fs,r&La)}function C$e(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),au(t&fs,i&fs,r&La)}function O7(e){var n;return e<128?(n=(RMe(),xue)[e],!n&&(n=xue[e]=new Tz(e)),n):new Tz(e)}function Ht(e){var n;return _(e,78)?e:(n=e&&e.__java$exception,n||(n=new bFe(e),O7e(n)),n)}function I7(e){if(_(e,186))return u(e,118);if(e)return null;throw O(new i2(yWe))}function S$e(e,n){if(n==null)return!1;for(;e.a!=e.b;)if(kt(n,dM(e)))return!0;return!1}function RJ(e){return e.a.Ob()?!0:e.a!=e.d?!1:(e.a=new yQ(e.e.f),e.a.Ob())}function pi(e,n){var t,i;return t=n.Pc(),i=t.length,i==0?!1:(ZX(e.c,e.c.length,t),!0)}function O4n(e,n,t){var i,r;for(r=n.vc().Kc();r.Ob();)i=u(r.Pb(),42),e.yc(i.cd(),i.dd(),t);return e}function M$e(e,n){var t,i;for(i=new A(e.b);i.a=0,"Negative initial capacity"),yC(n>=0,"Non-positive load factor"),Yu(this)}function FF(e,n,t){return e>=128?!1:e<64?M5(Ti(pa(1,e),t),0):M5(Ti(pa(1,e-64),n),0)}function R4n(e,n){return!e||!n||e==n?!1:N0(e.b.c,n.b.c+n.b.b)<0&&N0(n.b.c,e.b.c+e.b.b)<0}function B$e(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Qs(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function K4n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;ii)throw O(new Ub(n,i));return e.hi()&&(t=txe(e,t)),e.Vh(n,t)}function $7(e,n,t){return t==null?(!e.q&&(e.q=new $n),A2(e.q,n)):(!e.q&&(e.q=new $n),jt(e.q,n,t)),e}function te(e,n,t){return t==null?(!e.q&&(e.q=new $n),A2(e.q,n)):(!e.q&&(e.q=new $n),jt(e.q,n,t)),e}function R$e(e){var n,t;return t=new yS,Jr(t,e),te(t,(Yh(),om),e),n=new $n,GPn(e,t,n),pOn(e,t,n),t}function V4n(e){ip();var n,t,i;for(t=V(Ii,ie,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=C9n(i,e);return t}function K$e(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;c>=1);return n}function H$e(e){var n,t;return t=fk(e.h),t==32?(n=fk(e.m),n==32?fk(e.l)+32:n+20-10):t-12}function w6(e){var n;return n=e.a[e.b],n==null?null:(Ut(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function V$e(e){var n,t;return n=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function fM(e,n,t){var i,r;return i=new uF(n,t),r=new Lf,e.b=$Ke(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function G$e(e,n,t){var i,r,c,o;for(o=m6(n,t),c=0,r=o.Kc();r.Ob();)i=u(r.Pb(),11),jt(e.c,i,le(c++))}function Jh(e){var n,t;for(t=new A(e.a.b);t.at&&(t=e[n]);return t}function z$e(e,n,t){var i;return i=new oe,ite(e,n,i,(ae(),hn),!0,!1),ite(e,t,i,sn,!1,!1),i}function _F(e,n,t){var i,r,c,o;return c=null,o=n,r=S0(o,"labels"),i=new hTe(e,t),c=(fTn(i.a,i.b,r),r),c}function z4n(e,n,t,i){var r;return r=Vne(e,n,t,i),!r&&(r=W5n(e,t,i),r&&!up(e,n,r))?null:r}function W4n(e,n,t,i){var r;return r=Gne(e,n,t,i),!r&&(r=nN(e,t,i),r&&!up(e,n,r))?null:r}function W$e(e,n){var t;for(t=0;t1||n>=0&&e.b<3)}function F7(e){var n,t,i;for(n=new Nu,i=ut(e,0);i.b!=i.d.c;)t=u(ct(i),8),fv(n,0,new Hr(t));return n}function fd(e){var n,t;for(t=new A(e.a.b);t.ai?1:0}function cZ(e,n){return pKe(e,n)?(Be(e.b,u(S(n,(re(),Hw)),21),n),st(e.a,n),!0):!1}function c5n(e){var n,t;n=u(S(e,(re(),Zu)),10),n&&(t=n.c,Tu(t.a,n),t.a.c.length==0&&Tu(lr(n).b,t))}function Z$e(e){return el?V(EXe,nGe,572,0,0,1):u(Uf(e.a,V(EXe,nGe,572,e.a.c.length,0,1)),842)}function u5n(e,n,t,i){return GC(),new yD(D(I(Ad,1),SP,42,0,[(ON(e,n),new u0(e,n)),(ON(t,i),new u0(t,i))]))}function Kg(e,n,t){var i,r;return r=(i=new wD,i),_r(r,n,t),Bn((!e.q&&(e.q=new fe(_o,e,11,10)),e.q),r),r}function qF(e){var n,t,i,r;for(r=Ian(Ern,e),t=r.length,i=V(ge,ie,2,t,6,1),n=0;n=e.b.c.length||(uZ(e,2*n+1),t=2*n+2,t=0&&e[i]===n[i];i--);return i<0?0:$D(Ti(e[i],Ir),Ti(n[i],Ir))?-1:1}function s5n(e,n){var t,i;for(i=ut(e,0);i.b!=i.d.c;)t=u(ct(i),214),t.e.length>0&&(n.td(t),t.i&&n6n(t))}function VF(e,n){var t,i;return i=u(en(e.a,4),126),t=V(VV,vK,415,n,0,1),i!=null&&Hc(i,0,t,0,i.length),t}function nFe(e,n){var t;return t=new k_((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function o5n(e,n){var t,i;for(i=e.Zb().Cc().Kc();i.Ob();)if(t=u(i.Pb(),14),t.Hc(n))return!0;return!1}function GF(e,n,t,i,r){var c,o;for(o=t;o<=r;o++)for(c=n;c<=i;c++)if(Wg(e,c,o))return!0;return!1}function tFe(e,n,t){var i,r,c,o;for(nn(t),o=!1,c=e.Zc(n),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function f5n(e,n){var t;return e===n?!0:_(n,83)?(t=u(n,83),one(w0(e),t.vc())):!1}function iFe(e,n,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),42),e.re(n,i.dd()))return!0;return!1}function rFe(e,n,t){return e.d[n.p][t.p]||(c9n(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function Xv(e,n){if(!e.ai()&&n==null)throw O(new rn("The 'no null' constraint is violated"));return n}function Yv(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),EF(e,n==null?null:(nn(n),n)),e.C&&e.yk(null)}function l5n(e,n){var t;return!e||e==n||!Oi(n,(re(),ab))?!1:(t=u(S(n,(re(),ab)),10),t!=e)}function zF(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.pl()}}function cFe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.ql()}}function uFe(e){XAe.call(this,"The given string does not match the expected format for individual spacings.",e)}function Es(){Es=W,Gs=new zT("ELK",0),sde=new zT("JSON",1),ude=new zT("DOT",2),ode=new zT("SVG",3)}function N7(){N7=W,vO=new iL($a,0),Kae=new iL("RADIAL_COMPACTION",1),qae=new iL("WEDGE_COMPACTION",2)}function Wf(){Wf=W,tse=new FD("CONCURRENT",0),Rs=new FD("IDENTITY_FINISH",1),_w=new FD("UNORDERED",2)}function WF(){WF=W,Ose=(jT(),rq),xse=new Ge(Sie,Ose),kYe=new Kt(Mie),jYe=new Kt(Pie),EYe=new Kt(Aie)}function Qv(){Qv=W,Voe=new hpe,Goe=new dpe,$Qe=new bpe,LQe=new wpe,DQe=new gpe,Hoe=(nn(DQe),new Ob)}function Jv(){Jv=W,NH=new JD("CONSERVATIVE",0),bae=new JD("CONSERVATIVE_SOFT",1),Jy=new JD("SLOPPY",2)}function lM(){lM=W,X1e=new l0(15),Xin=new Er((dt(),Kd),X1e),w9=Tm,G1e=Iin,z1e=Rd,U1e=Hp,W1e=DO}function UF(e,n,t){var i,r,c;for(i=new Gt,c=ut(t,0);c.b!=c.d.c;)r=u(ct(c),8),st(i,new Hr(r));tFe(e,n,i)}function a5n(e){var n,t,i;for(n=0,i=V(Ii,ie,8,e.b,0,1),t=ut(e,0);t.b!=t.d.c;)i[n++]=u(ct(t),8);return i}function oZ(e){var n;return n=(!e.a&&(e.a=new fe(qa,e,9,5)),e.a),n.i!=0?Aan(u(K(n,0),678)):null}function h5n(e,n){var t;return t=fr(e,n),$D(R$(e,n),0)|Gan(R$(e,t),0)?t:fr(CP,R$(Yb(t,63),1))}function d5n(e,n){var t;t=me((aN(),nO))!=null&&n.wg()!=null?ee(he(n.wg()))/ee(he(me(nO))):1,jt(e.b,n,t)}function b5n(e,n){var t,i;return t=u(e.d.Bc(n),14),t?(i=e.e.hc(),i.Gc(t),e.e.d-=t.gc(),t.$b(),i):null}function fZ(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t0)return bv(n-1,e.a.c.length),Za(e.a,n-1);throw O(new D7e)}function w5n(e,n,t){if(n<0)throw O(new qr(xze+n));nn)throw O(new rn(xP+e+tGe+n));if(e<0||n>t)throw O(new EW(xP+e+die+n+aie+t))}function fFe(e){if(!e.a||!(e.a.i&8))throw O(new tc("Enumeration class expected for layout option "+e.f))}function lw(e){var n;++e.j,e.i==0?e.g=null:e.icA?e-t>cA:t-e>cA}function YF(e,n){return!e||n&&!e.j||_(e,124)&&u(e,124).a.b==0?0:e.Re()}function hM(e,n){return!e||n&&!e.k||_(e,124)&&u(e,124).a.a==0?0:e.Se()}function _7(e){return c1(),e<0?e!=-1?new ree(-1,-e):zK:e<=10?Vue[oi(e)]:new ree(1,e)}function aZ(e){throw $F(),O(new Ske("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function bFe(e){Ike(),iC(this),YC(this),this.e=e,MKe(this,e),this.g=e==null?Ou:uc(e),this.a="",this.b=e,this.a=""}function hZ(){this.a=new Dve,this.f=new k8e(this),this.b=new j8e(this),this.i=new E8e(this),this.e=new T8e(this)}function wFe(){Tln.call(this,new XQ(uw(16))),Ds(2,NVe),this.b=2,this.a=new UY(null,null,0,null),s8(this.a,this.a)}function g6(){g6=W,MH=new UD("DUMMY_NODE_OVER",0),Jle=new UD("DUMMY_NODE_UNDER",1),iO=new UD("EQUAL",2)}function QF(){QF=W,gq=QAe(D(I(b9,1),ce,103,0,[(xr(),Io),of])),pq=QAe(D(I(b9,1),ce,103,0,[Ba,_a]))}function JF(e){return(ae(),Du).Hc(e.j)?ee(he(S(e,(re(),h4)))):dc(D(I(Ii,1),ie,8,0,[e.i.n,e.n,e.a])).b}function y5n(e){var n,t,i,r;for(i=e.b.a,t=i.a.ec().Kc();t.Ob();)n=u(t.Pb(),561),r=new sKe(n,e.e,e.f),se(e.g,r)}function ad(e,n){var t,i,r;i=e.nk(n,null),r=null,n&&(r=(Jm(),t=new Jd,t),Dv(r,e.r)),i=Xf(e,r,i),i&&i.Fi()}function k5n(e,n){var t,i;for(i=ss(e.d,1)!=0,t=!0;t;)t=!1,t=n.c.Tf(n.e,i),t=t|bk(e,n,i,!1),i=!i;xJ(e)}function dZ(e,n){var t,i,r;return i=!1,t=n.q.d,n.dr&&(K_e(n.q,r),i=t!=n.q.d)),i}function gFe(e,n){var t,i,r,c,o,f,l,a;return l=n.i,a=n.j,i=e.f,r=i.i,c=i.j,o=l-r,f=a-c,t=k.Math.sqrt(o*o+f*f),t}function bZ(e,n){var t,i;return i=SM(e),i||(t=(V_(),qBe(n)),i=new T7e(t),Bn(i.Vk(),e)),i}function B7(e,n){var t,i;return t=u(e.c.Bc(n),14),t?(i=e.hc(),i.Gc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function pFe(e,n){var t;for(t=0;t=e.c.b:e.a<=e.c.b))throw O(new Ac);return n=e.a,e.a+=e.c.c,++e.b,le(n)}function T5n(e){var n;return n=new YDe(e),c7(e.a,mQe,new gs(D(I(dj,1),pe,369,0,[n]))),n.d&&se(n.f,n.d),n.f}function ZF(e){var n;return n=new $U(e.a),Jr(n,e),te(n,(re(),Et),e),n.o.a=e.g,n.o.b=e.f,n.n.a=e.i,n.n.b=e.j,n}function C5n(e,n,t,i){var r,c;for(c=e.Kc();c.Ob();)r=u(c.Pb(),70),r.n.a=n.a+(i.a-r.o.a)/2,r.n.b=n.b,n.b+=r.o.b+t}function S5n(e,n,t){var i,r;for(r=n.a.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),57),xAe(e,i,t))return!0;return!1}function M5n(e){var n,t;for(t=new A(e.r);t.a=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function O5n(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function TFe(e){var n,t;if(e!=null)for(t=0;t0&&(t=u(ve(e.a,e.a.c.length-1),570),cZ(t,n))||se(e.a,new iIe(n))}function F5n(e){Xo();var n,t;n=e.d.c-e.e.c,t=u(e.g,145),Su(t.b,new x9e(n)),Su(t.c,new O9e(n)),er(t.i,new I9e(n))}function PFe(e){var n;return n=new Ih,n.a+="VerticalSegment ",xc(n,e.e),n.a+=" ",Qn(n,GU(new PD,new A(e.k))),n.a}function N5n(e){var n;return n=u(M0(e.c.c,""),229),n||(n=new T2(Qm(Ym(new Qp,""),"Other")),bd(e.c.c,"",n)),n}function p6(e){var n;return e.Db&64?nf(e):(n=new po(nf(e)),n.a+=" (name: ",Fr(n,e.zb),n.a+=")",n.a)}function vZ(e,n,t){var i,r;return r=e.sb,e.sb=n,e.Db&4&&!(e.Db&1)&&(i=new $i(e,1,4,r,n),t?t.Ei(i):t=i),t}function eN(e,n){var t,i,r;for(t=0,r=bc(e,n).Kc();r.Ob();)i=u(r.Pb(),11),t+=S(i,(re(),Zu))!=null?1:0;return t}function Hg(e,n,t){var i,r,c;for(i=0,c=ut(e,0);c.b!=c.d.c&&(r=ee(he(ct(c))),!(r>t));)r>=n&&++i;return i}function _5n(e,n,t){var i,r;return i=new Ea(e.e,3,13,null,(r=n.c,r||(qe(),sl)),sh(e,n),!1),t?t.Ei(i):t=i,t}function B5n(e,n,t){var i,r;return i=new Ea(e.e,4,13,(r=n.c,r||(qe(),sl)),null,sh(e,n),!1),t?t.Ei(i):t=i,t}function yZ(e,n,t){var i,r;return r=e.r,e.r=n,e.Db&4&&!(e.Db&1)&&(i=new $i(e,1,8,r,e.r),t?t.Ei(i):t=i),t}function rh(e,n){var t,i;return t=u(n,676),i=t.vk(),!i&&t.wk(i=_(n,88)?new TTe(e,u(n,26)):new Gxe(e,u(n,148))),i}function R7(e,n,t){var i;e.qi(e.i+1),i=e.oi(n,t),n!=e.i&&Hc(e.g,n,e.g,n+1,e.i-n),Ut(e.g,n,i),++e.i,e.bi(n,t),e.ci()}function R5n(e,n){var t;return n.a&&(t=n.a.a.length,e.a?Qn(e.a,e.b):e.a=new Ms(e.d),Wxe(e.a,n.a,n.d.length,t)),e}function K5n(e,n){var t,i,r,c;if(n.vi(e.a),c=u(en(e.a,8),1936),c!=null)for(t=c,i=0,r=t.length;it)throw O(new qr(xP+e+die+n+", size: "+t));if(e>n)throw O(new rn(xP+e+tGe+n))}function io(e,n,t){if(n<0)Ene(e,t);else{if(!t.Ij())throw O(new rn(h1+t.ne()+by));u(t,66).Nj().Vj(e,e.yh(),n)}}function V5n(e,n,t,i,r,c,o,f){var l;for(l=t;c=i||n=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function $Fe(e){var n;return e.Db&64?nf(e):(n=new po(nf(e)),n.a+=" (source: ",Fr(n,e.d),n.a+=")",n.a)}function z5n(e,n,t){var i,r;return r=e.a,e.a=n,e.Db&4&&!(e.Db&1)&&(i=new $i(e,1,5,r,e.a),t?Hee(t,i):t=i),t}function ch(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,2,t,n))}function jZ(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,8,t,n))}function wM(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,8,t,n))}function uh(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,3,t,n))}function EZ(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,9,t,n))}function v6(e,n){var t;return e.b==-1&&e.a&&(t=e.a.Gj(),e.b=t?e.c.Xg(e.a.aj(),t):qt(e.c.Tg(),e.a)),e.c.Og(e.b,n)}function le(e){var n,t;return e>-129&&e<128?(n=e+128,t=(DMe(),Oue)[n],!t&&(t=Oue[n]=new Cz(e)),t):new Cz(e)}function Zv(e){var n,t;return e>-129&&e<128?(n=e+128,t=(BMe(),$ue)[n],!t&&(t=$ue[n]=new Mz(e)),t):new Mz(e)}function TZ(e){var n,t;return n=e.k,n==(dn(),hi)?(t=u(S(e,(re(),Sc)),61),t==(ae(),tn)||t==In):!1}function W5n(e,n,t){var i,r,c;return c=(r=g3(e.b,n),r),c&&(i=u(pP(m7(e,c),""),26),i)?Vne(e,i,n,t):null}function nN(e,n,t){var i,r,c;return c=(r=g3(e.b,n),r),c&&(i=u(pP(m7(e,c),""),26),i)?Gne(e,i,n,t):null}function FFe(e,n){var t,i;for(i=new jn(e);i.e!=i.i.gc();)if(t=u(Pn(i),138),X(n)===X(t))return!0;return!1}function y6(e,n,t){var i;if(i=e.gc(),n>i)throw O(new Ub(n,i));if(e.hi()&&e.Hc(t))throw O(new rn(Xk));e.Xh(n,t)}function U5n(e,n){var t;if(t=Ng(e.i,n),t==null)throw O(new dl("Node did not exist in input."));return $J(n,t),null}function X5n(e,n){var t;if(t=dk(e,n),_(t,322))return u(t,34);throw O(new rn(h1+n+"' is not a valid attribute"))}function Y5n(e,n,t){var i,r;for(r=_(n,99)&&u(n,18).Bb&vr?new hL(n,e):new Vv(n,e),i=0;in?1:e==n?e==0?mi(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function c6n(e,n){On(n,"Sort end labels",1),ri(Ft(hc(new Ue(null,new Ye(e.b,16)),new rge),new cge),new uge),Tn(n)}function k6(e,n,t){var i,r;return e.ej()?(r=e.fj(),i=o_(e,n,t),e.$i(e.Zi(7,le(t),i,n,r)),i):o_(e,n,t)}function tN(e,n){var t,i,r;e.d==null?(++e.e,--e.f):(r=n.cd(),t=n.Sh(),i=(t&vt)%e.d.length,qmn(e,i,eKe(e,i,t,r)))}function e3(e,n){var t;t=(e.Bb&rf)!=0,n?e.Bb|=rf:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,10,t,n))}function n3(e,n){var t;t=(e.Bb&Aw)!=0,n?e.Bb|=Aw:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,12,t,n))}function t3(e,n){var t;t=(e.Bb&zu)!=0,n?e.Bb|=zu:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,15,t,n))}function i3(e,n){var t;t=(e.Bb&Nw)!=0,n?e.Bb|=Nw:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&yt(e,new Jo(e,1,11,t,n))}function u6n(e,n){var t;return t=mi(e.b.c,n.b.c),t!=0||(t=mi(e.a.a,n.a.a),t!=0)?t:mi(e.a.b,n.a.b)}function s6n(e,n){var t;if(t=yn(e.k,n),t==null)throw O(new dl("Port did not exist in input."));return $J(n,t),null}function o6n(e){var n,t;for(t=cKe(Is(e)).Kc();t.Ob();)if(n=Vn(t.Pb()),R6(e,n))return gmn((bEe(),$rn),n);return null}function f6n(e,n){var t,i,r,c,o;for(o=bu(e.e.Tg(),n),c=0,t=u(e.g,119),r=0;r>10)+Ik&li,n[1]=(e&1023)+56320&li,ko(n,0,n.length)}function pM(e){var n,t;return t=u(S(e,(be(),Ks)),103),t==(xr(),ua)?(n=ee(he(S(e,Rx))),n>=1?of:_a):t}function h6n(e){switch(u(S(e,(be(),Na)),218).g){case 1:return new G2e;case 3:return new Y2e;default:return new V2e}}function hd(e){if(e.c)hd(e.c);else if(e.d)throw O(new tc("Stream already terminated, can't be modified or used"))}function cN(e){var n;return e.Db&64?nf(e):(n=new po(nf(e)),n.a+=" (identifier: ",Fr(n,e.k),n.a+=")",n.a)}function RFe(e,n,t){var i,r;return i=(r0(),r=new HE,r),KS(i,n),qS(i,t),e&&Bn((!e.a&&(e.a=new gi(Fo,e,5)),e.a),i),i}function uN(e,n,t,i){var r,c;return nn(i),nn(t),r=e.xc(n),c=r==null?t:nEe(u(r,15),u(t,14)),c==null?e.Bc(n):e.zc(n,c),c}function _e(e){var n,t,i,r;return t=(n=u(mf((i=e.gm,r=i.f,r==Xn?i:r)),9),new Ys(n,u(Uo(n,n.length),9),0)),ef(t,e),t}function d6n(e,n,t){var i,r;for(r=e.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),x7(t,u(ve(n,i.p),14)))return i;return null}function b6n(e,n,t){var i;try{U4n(e,n,t)}catch(r){throw r=Ht(r),_(r,597)?(i=r,O(new IQ(i))):O(r)}return n}function n1(e,n){var t;return ic(e)&&ic(n)&&(t=e-n,Ok>1,e.k=t-1>>1}function sN(){Xee();var e,n,t;t=lDn+++Date.now(),e=oi(k.Math.floor(t*Lk))&AP,n=oi(t-e*lie),this.a=e^1502,this.b=n^IB}function Pa(e){var n,t,i;for(n=new oe,i=new A(e.j);i.a34028234663852886e22?ei:n<-34028234663852886e22?bi:n}function KFe(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function qFe(e){var n,t,i,r;for(n=new jSe(e.Hd().gc()),r=0,i=O2(e.Hd().Kc());i.Ob();)t=i.Pb(),Apn(n,t,le(r++));return ejn(n.a)}function y6n(e,n){var t,i,r;for(r=new $n,i=n.vc().Kc();i.Ob();)t=u(i.Pb(),42),jt(r,t.cd(),a4n(e,u(t.dd(),15)));return r}function xZ(e,n){e.n.c.length==0&&se(e.n,new uS(e.s,e.t,e.i)),se(e.b,n),hee(u(ve(e.n,e.n.c.length-1),211),n),Jqe(e,n)}function Vg(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(e.a.c=V(pn,pe,1,0,5,1),pi(e.a,e.b),pi(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function oN(e,n){var t,i,r;for(r=0,i=u(n.Kb(e),20).Kc();i.Ob();)t=u(i.Pb(),17),ke(ye(S(t,(re(),tl))))||++r;return r}function k6n(e,n){var t,i,r;i=$g(n),r=ee(he(dw(i,(be(),sf)))),t=k.Math.max(0,r/2-.5),A6(n,t,1),se(e,new LEe(n,t))}function ro(){ro=W,Tj=new T8($a,0),Ky=new T8("FIRST",1),m1=new T8(YGe,2),qy=new T8("LAST",3),Gw=new T8(QGe,4)}function Aa(){Aa=W,LV=new qT(ey,0),Xj=new qT("POLYLINE",1),S4=new qT("ORTHOGONAL",2),Sm=new qT("SPLINES",3)}function mM(){mM=W,uhe=new cL("ASPECT_RATIO_DRIVEN",0),uV=new cL("MAX_SCALE_DRIVEN",1),che=new cL("AREA_DRIVEN",2)}function H7(){H7=W,jO=new uL("P1_STRUCTURE",0),EO=new uL("P2_PROCESSING_ORDER",1),TO=new uL("P3_EXECUTION",2)}function vM(){vM=W,eV=new tL("OVERLAP_REMOVAL",0),JH=new tL("COMPACTION",1),ZH=new tL("GRAPH_SIZE_CALCULATION",2)}function N0(e,n){return Ff(),Zo(s1),k.Math.abs(e-n)<=s1||e==n||isNaN(e)&&isNaN(n)?0:en?1:f0(isNaN(e),isNaN(n))}function HFe(e,n){var t,i;for(t=ut(e,0);t.b!=t.d.c;){if(i=f8(he(ct(t))),i==n)return;if(i>n){q$(t);break}}X8(t,n)}function Ne(e,n){var t,i,r,c,o;if(t=n.f,bd(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;cn&&i.ue(e[c-1],e[c])>0;--c)o=e[c],Ut(e,c,e[c-1]),Ut(e,c-1,o)}function co(e,n,t,i){if(n<0)Xne(e,t,i);else{if(!t.Ij())throw O(new rn(h1+t.ne()+by));u(t,66).Nj().Tj(e,e.yh(),n,i)}}function yM(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw O(new rn("Node "+n+" not part of edge "+e))}function E6n(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function VFe(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function OZ(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return kZ(e,n,t,i)}function T6n(e){return e.k!=(dn(),ki)?!1:Sv(new Ue(null,new g0(new En(Sn(vi(e).a.Kc(),new J)))),new I2e)}function C6n(e){return e.e==null?e:(!e.c&&(e.c=new k_((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function S6n(e,n){return e.h==xk&&e.m==0&&e.l==0?(n&&(d1=au(0,0,0)),GTe((Iv(),Cue))):(n&&(d1=au(e.l,e.m,e.h)),au(0,0,0))}function uc(e){var n;return Array.isArray(e)&&e.im===si?Lh(cs(e))+"@"+(n=Bt(e)>>>0,n.toString(16)):e.toString()}function j6(e){var n;this.a=(n=u(e.e&&e.e(),9),new Ys(n,u(Uo(n,n.length),9),0)),this.b=V(pn,pe,1,this.a.a.length,5,1)}function M6n(e){var n,t,i;for(this.a=new wa,i=new A(e);i.a0&&(Gn(n-1,e.length),e.charCodeAt(n-1)==58)&&!fN(e,C9,S9))}function fN(e,n,t){var i,r;for(i=0,r=e.length;i=r)return n.c+t;return n.c+n.b.gc()}function I6n(e,n){lv();var t,i,r,c;for(i=rDe(e),r=n,xv(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function DZ(e){var n,t,i;for(i=new za,i.a+="[",n=0,t=e.gc();n0&&this.b>0&&bY(this.c,this.b,this.a)}function FZ(e){aN(),this.c=qf(D(I(PDn,1),pe,831,0,[Sen])),this.b=new $n,this.a=e,jt(this.b,nO,1),Su(Men,new D8e(this))}function GFe(e,n){var t;return e.d?ys(e.b,n)?u(yn(e.b,n),51):(t=n.Kf(),jt(e.b,n,t),t):n.Kf()}function NZ(e,n){var t;return X(e)===X(n)?!0:_(n,91)?(t=u(n,91),e.e==t.e&&e.d==t.d&&mmn(e,t.a)):!1}function F2(e){switch(ae(),e.g){case 4:return tn;case 1:return hn;case 3:return In;case 2:return sn;default:return pc}}function _Z(e,n){switch(n){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return NJ(e,n)}function _6n(e){switch(e.g){case 0:return new Sve;case 1:return new Mve;default:throw O(new rn(KR+(e.f!=null?e.f:""+e.g)))}}function zFe(e){switch(e.g){case 0:return new Cve;case 1:return new Pve;default:throw O(new rn(iR+(e.f!=null?e.f:""+e.g)))}}function WFe(e){switch(e.g){case 0:return new gW;case 1:return new rke;default:throw O(new rn(fA+(e.f!=null?e.f:""+e.g)))}}function B6n(e){switch(e.g){case 1:return new vve;case 2:return new lSe;default:throw O(new rn(KR+(e.f!=null?e.f:""+e.g)))}}function R6n(e){var n,t;if(e.b)return e.b;for(t=el?null:e.d;t;){if(n=el?null:t.b,n)return n;t=el?null:t.d}return iv(),nse}function K6n(e){var n,t,i;return e.e==0?0:(n=e.d<<5,t=e.a[e.d-1],e.e<0&&(i=i$e(e),i==e.d-1&&(--t,t=t|0)),n-=fk(t),n)}function q6n(e){var n,t,i;return e>5,n=e&31,i=V(Ln,nt,25,t+1,15,1),i[t]=1<3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function V6n(e){return QF(),un(),!!(VFe(u(e.a,81).j,u(e.b,103))||u(e.a,81).d.e!=0&&VFe(u(e.a,81).j,u(e.b,103)))}function G6n(e){MS(),u(e.We((dt(),E1)),174).Hc((os(),KO))&&(u(e.We(ig),174).Fc((Ju(),Mm)),u(e.We(E1),174).Mc(KO))}function XFe(e,n){var t,i;if(n){for(t=0;t=0;--i)for(n=t[i],r=0;r>1,this.k=n-1>>1}function Q6n(e,n){On(n,"End label post-processing",1),ri(Ft(hc(new Ue(null,new Ye(e.b,16)),new Ywe),new Qwe),new Jwe),Tn(n)}function J6n(e,n,t){var i,r;return i=ee(e.p[n.i.p])+ee(e.d[n.i.p])+n.n.b+n.a.b,r=ee(e.p[t.i.p])+ee(e.d[t.i.p])+t.n.b+t.a.b,r-i}function Z6n(e,n,t){var i,r;for(i=Ti(t,Ir),r=0;Fc(i,0)!=0&&r0&&(Gn(0,n.length),n.charCodeAt(0)==43)?n.substr(1):n))}function nyn(e){var n;return e==null?null:new Rh((n=Yc(e,!0),n.length>0&&(Gn(0,n.length),n.charCodeAt(0)==43)?n.substr(1):n))}function GZ(e,n){var t;return e.i>0&&(n.lengthe.i&&Ut(n,e.i,null),n}function cu(e,n,t){var i,r,c;return e.ej()?(i=e.i,c=e.fj(),R7(e,i,n),r=e.Zi(3,null,n,i,c),t?t.Ei(r):t=r):R7(e,e.i,n),t}function tyn(e,n,t){var i,r;return i=new Ea(e.e,4,10,(r=n.c,_(r,88)?u(r,26):(qe(),Ro)),null,sh(e,n),!1),t?t.Ei(i):t=i,t}function iyn(e,n,t){var i,r;return i=new Ea(e.e,3,10,null,(r=n.c,_(r,88)?u(r,26):(qe(),Ro)),sh(e,n),!1),t?t.Ei(i):t=i,t}function JFe(e){zb();var n;return n=new Hr(u(e.e.We((dt(),Hp)),8)),e.B.Hc((os(),P4))&&(n.a<=0&&(n.a=20),n.b<=0&&(n.b=20)),n}function ZFe(e){bw();var n;return(e.q?e.q:(He(),He(),ra))._b((be(),bb))?n=u(S(e,bb),197):n=u(S(lr(e),zy),197),n}function dw(e,n){var t,i;return i=null,Oi(e,(be(),Zx))&&(t=u(S(e,Zx),94),t.Xe(n)&&(i=t.We(n))),i==null&&(i=S(lr(e),n)),i}function eNe(e,n){var t,i,r;return _(n,42)?(t=u(n,42),i=t.cd(),r=aw(e.Rc(),i),vl(r,t.dd())&&(r!=null||e.Rc()._b(i))):!1}function dN(e,n){var t,i,r;return e.f>0?(e.qj(),i=n==null?0:Bt(n),r=(i&vt)%e.d.length,t=eKe(e,r,i,n),t!=-1):!1}function Tf(e,n){var t,i,r;return e.f>0&&(e.qj(),i=n==null?0:Bt(n),r=(i&vt)%e.d.length,t=Ane(e,r,i,n),t)?t.dd():null}function V7(e,n){var t,i,r,c;for(c=bu(e.e.Tg(),n),t=u(e.g,119),r=0;r1?Kf(pa(n.a[1],32),Ti(n.a[0],Ir)):Ti(n.a[0],Ir),C0(rr(n.e,t))))}function G7(e,n){var t;return ic(e)&&ic(n)&&(t=e%n,Ok>5,n&=31,r=e.d+t+(n==0?0:1),i=V(Ln,nt,25,r,15,1),rkn(i,e.a,t,n),c=new Og(e.e,r,i),e6(c),c}function WZ(e,n,t){var i,r;i=u(zc(O4,n),117),r=u(zc(I9,n),117),t?(Vr(O4,e,i),Vr(I9,e,r)):(Vr(I9,e,i),Vr(O4,e,r))}function sNe(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.ue(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function oNe(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.ue(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function oyn(e,n,t,i){var r,c,o;return r=!1,Hxn(e.f,t,i)&&(Dyn(e.f,e.a[n][t],e.a[n][i]),c=e.a[n],o=c[i],c[i]=c[t],c[t]=o,r=!0),r}function UZ(e,n,t,i,r){var c,o,f;for(o=r;n.b!=n.c;)c=u(v2(n),10),f=u(bc(c,i).Xb(0),11),e.d[f.p]=o++,t.c[t.c.length]=f;return o}function XZ(e,n,t){var i,r,c,o,f;return o=e.k,f=n.k,i=t[o.g][f.g],r=he(dw(e,i)),c=he(dw(n,i)),k.Math.max((nn(r),r),(nn(c),c))}function fyn(e,n,t){var i,r,c,o;for(i=t/e.c.length,r=0,o=new A(e);o.a2e3&&(cXe=e,FA=k.setTimeout(gan,10))),$A++==0?(Vvn((kW(),jue)),!0):!1}function ayn(e,n){var t,i,r;for(i=new En(Sn(vi(e).a.Kc(),new J));Wn(i);)if(t=u(_n(i),17),r=t.d.i,r.c==n)return!1;return!0}function YZ(e,n){var t,i;if(_(n,245)){i=u(n,245);try{return t=e.vd(i),t==0}catch(r){if(r=Ht(r),!_(r,205))throw O(r)}}return!1}function hyn(){return Error.stackTraceLimit>0?(k.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function dyn(e,n){return Ff(),Ff(),Zo(s1),(k.Math.abs(e-n)<=s1||e==n||isNaN(e)&&isNaN(n)?0:en?1:f0(isNaN(e),isNaN(n)))>0}function QZ(e,n){return Ff(),Ff(),Zo(s1),(k.Math.abs(e-n)<=s1||e==n||isNaN(e)&&isNaN(n)?0:en?1:f0(isNaN(e),isNaN(n)))<0}function aNe(e,n){return Ff(),Ff(),Zo(s1),(k.Math.abs(e-n)<=s1||e==n||isNaN(e)&&isNaN(n)?0:en?1:f0(isNaN(e),isNaN(n)))<=0}function wN(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];tMB)return t.fh();if(i=t.Zg(),i||t==e)break}return i}function JZ(e){return oS(),_(e,156)?u(yn(sE,pXe),288).vg(e):ys(sE,cs(e))?u(yn(sE,cs(e)),288).vg(e):null}function wyn(e){if(MM(R3,e))return un(),W3;if(MM(ZR,e))return un(),xd;throw O(new rn("Expecting true or false"))}function gyn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw O(new rn("Input edge is not connected to the input port."))}function pNe(e,n){return e.e>n.e?1:e.en.d?e.e:e.d=48&&e<48+k.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function vNe(e,n){var t;return X(n)===X(e)?!0:!_(n,21)||(t=u(n,21),t.gc()!=e.gc())?!1:e.Ic(t)}function pyn(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,XCe(t=c?(g5n(e,n),-1):(p5n(e,n),1)}function myn(e,n){var t,i;for(t=(Gn(n,e.length),e.charCodeAt(n)),i=n+1;in.e?1:e.fn.f?1:Bt(e)-Bt(n)}function MM(e,n){return nn(e),n==null?!1:Ke(e,n)?!0:e.length==n.length&&Ke(e.toLowerCase(),n.toLowerCase())}function Myn(e,n){var t,i,r,c;for(i=0,r=n.gc();i0&&Fc(e,128)<0?(n=Fn(e)+128,t=(_Me(),Iue)[n],!t&&(t=Iue[n]=new Sz(e)),t):new Sz(e)}function kNe(e,n){var t,i;return t=n.Hh(e.a),t&&(i=Vn(Tf((!t.b&&(t.b=new ms((qe(),kr),Mc,t)),t.b),ht)),i!=null)?i:n.ne()}function Pyn(e,n){var t,i;return t=n.Hh(e.a),t&&(i=Vn(Tf((!t.b&&(t.b=new ms((qe(),kr),Mc,t)),t.b),ht)),i!=null)?i:n.ne()}function Ayn(e,n){$$();var t,i;for(i=new En(Sn(Pa(e).a.Kc(),new J));Wn(i);)if(t=u(_n(i),17),t.d.i==n||t.c.i==n)return t;return null}function nee(e,n,t){this.c=e,this.f=new oe,this.e=new ir,this.j=new lY,this.n=new lY,this.b=n,this.g=new Qs(n.c,n.d,n.b,n.a),this.a=t}function gN(e){var n,t,i,r;for(this.a=new wa,this.d=new Ai,this.e=0,t=e,i=0,r=t.length;i0):!1}function TNe(e){var n;X(Ee(e,(dt(),Rp)))===X((Ma(),NO))&&(Xt(e)?(n=u(Ee(Xt(e),Rp),334),Br(e,Rp,n)):Br(e,Rp,g9))}function Dyn(e,n,t){var i,r;QN(e.e,n,t,(ae(),sn)),QN(e.i,n,t,hn),e.a&&(r=u(S(n,(re(),Et)),11),i=u(S(t,Et),11),K$(e.g,r,i))}function CNe(e,n,t){var i,r,c;i=n.c.p,c=n.p,e.b[i][c]=new qAe(e,n),t&&(e.a[i][c]=new X9e(n),r=u(S(n,(re(),ab)),10),r&&Be(e.d,r,n))}function SNe(e,n){var t,i,r;if(se(YA,e),n.Fc(e),t=u(yn(oq,e),21),t)for(r=t.Kc();r.Ob();)i=u(r.Pb(),33),rc(YA,i,0)!=-1||SNe(i,n)}function Lyn(e,n,t){var i;(TXe?(R6n(e),!0):CXe||MXe?(iv(),!0):SXe&&(iv(),!1))&&(i=new eMe(n),i.b=t,Nkn(e,i))}function pN(e,n){var t;t=!e.A.Hc((Ts(),Vd))||e.q==(Wi(),nu),e.u.Hc((Ju(),Ka))?t?tIn(e,n):tVe(e,n):e.u.Hc(M1)&&(t?kOn(e,n):gVe(e,n))}function u3(e,n){var t,i;if(++e.j,n!=null&&(t=(i=e.a.Cb,_(i,97)?u(i,97).Jg():null),AEn(n,t))){N2(e.a,4,t);return}N2(e.a,4,u(n,126))}function MNe(e,n,t){return new Qs(k.Math.min(e.a,n.a)-t/2,k.Math.min(e.b,n.b)-t/2,k.Math.abs(e.a-n.a)+t,k.Math.abs(e.b-n.b)+t)}function $yn(e,n){var t,i;return t=yu(e.a.c.p,n.a.c.p),t!=0?t:(i=yu(e.a.d.i.p,n.a.d.i.p),i!=0?i:yu(n.a.d.p,e.a.d.p))}function Fyn(e,n,t){var i,r,c,o;return c=n.j,o=t.j,c!=o?c.g-o.g:(i=e.f[n.p],r=e.f[t.p],i==0&&r==0?0:i==0?-1:r==0?1:mi(i,r))}function PNe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new A(Vg(n));r.a=r)return r;for(n=n>0?n:0;ni&&Ut(n,i,null),n}function xNe(e,n){var t,i;for(i=e.a.length,n.lengthi&&Ut(n,i,null),n}function bd(e,n,t){var i,r,c;return r=u(yn(e.e,n),387),r?(c=CX(r,t),kCe(e,r),c):(i=new JX(e,n,t),jt(e.e,n,i),WAe(i),null)}function Byn(e){var n;if(e==null)return null;if(n=DTn(Yc(e,!0)),n==null)throw O(new CD("Invalid hexBinary value: '"+e+"'"));return n}function W7(e){return c1(),Fc(e,0)<0?Fc(e,-1)!=0?new Ree(-1,Ov(e)):zK:Fc(e,10)<=0?Vue[Fn(e)]:new Ree(1,e)}function vN(){return EP(),D(I(aYe,1),ce,159,0,[fYe,oYe,lYe,eYe,ZXe,nYe,rYe,iYe,tYe,sYe,uYe,cYe,QXe,YXe,JXe,UXe,WXe,XXe,GXe,VXe,zXe,nq])}function ONe(e){var n;this.d=new oe,this.j=new ir,this.g=new ir,n=e.g.b,this.f=u(S(lr(n),(be(),Ks)),103),this.e=ee(he(xM(n,Zw)))}function INe(e){this.b=new oe,this.e=new oe,this.d=e,this.a=!u5(Ft(new Ue(null,new g0(new Hf(e.b))),new W4(new D2e))).sd((z1(),Q3))}function Cf(){Cf=W,an=new M8("PARENTS",0),Ni=new M8("NODES",1),_l=new M8("EDGES",2),Bd=new M8("PORTS",3),kh=new M8("LABELS",4)}function Gg(){Gg=W,C1=new A8("DISTRIBUTED",0),Jj=new A8("JUSTIFIED",1),Q1e=new A8("BEGIN",2),p9=new A8(I3,3),J1e=new A8("END",4)}function Ryn(e){var n;switch(n=e.yi(null),n){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function yN(e){switch(e.g){case 1:return xr(),Ba;case 4:return xr(),Io;case 2:return xr(),of;case 3:return xr(),_a}return xr(),ua}function Kyn(e,n,t){var i;switch(i=t.q.getFullYear()-o1+o1,i<0&&(i=-i),n){case 1:e.a+=i;break;case 2:Ul(e,i%100,2);break;default:Ul(e,i,n)}}function ut(e,n){var t,i;if(nw(n,e.b),n>=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t=64&&n<128&&(r=Kf(r,pa(1,n-64)));return r}function xM(e,n){var t,i;return i=null,Oi(e,(dt(),Cm))&&(t=u(S(e,Cm),94),t.Xe(n)&&(i=t.We(n))),i==null&&lr(e)&&(i=S(lr(e),n)),i}function $Ne(e,n){var t,i,r;r=n.d.i,i=r.k,!(i==(dn(),ki)||i==nl)&&(t=new En(Sn(vi(r).a.Kc(),new J)),Wn(t)&&jt(e.k,n,u(_n(t),17)))}function kN(e,n){var t,i,r;return i=ze(e.Tg(),n),t=n-e.Ah(),t<0?(r=e.Yg(i),r>=0?e.lh(r):s_(e,i)):t<0?s_(e,i):u(i,66).Nj().Sj(e,e.yh(),t)}function me(e){var n;if(_(e.a,4)){if(n=JZ(e.a),n==null)throw O(new tc(Ize+e.b+"'. "+Oze+(ga(oE),oE.k)+Ice));return n}else return e.a}function Vyn(e){var n;if(e==null)return null;if(n=lIn(Yc(e,!0)),n==null)throw O(new CD("Invalid base64Binary value: '"+e+"'"));return n}function Pn(e){var n;try{return n=e.i.Xb(e.e),e.mj(),e.g=e.e++,n}catch(t){throw t=Ht(t),_(t,73)?(e.mj(),O(new Ac)):O(t)}}function jN(e){var n;try{return n=e.c.ki(e.e),e.mj(),e.g=e.e++,n}catch(t){throw t=Ht(t),_(t,73)?(e.mj(),O(new Ac)):O(t)}}function C6(){C6=W,Lse=(dt(),x1e),uq=o1e,TYe=Em,Dse=Kd,PYe=(qM(),hse),MYe=lse,AYe=bse,SYe=fse,CYe=(WF(),xse),cq=kYe,Ise=jYe,XA=EYe}function OM(e){switch(KW(),this.c=new oe,this.d=e,e.g){case 0:case 2:this.a=XY(Jse),this.b=ei;break;case 3:case 1:this.a=Jse,this.b=bi}}function FNe(e,n,t){var i,r;if(e.c)Mu(e.c,e.c.i+n),Pu(e.c,e.c.j+t);else for(r=new A(e.b);r.a0&&(se(e.b,new gMe(n.a,t)),i=n.a.length,0i&&(n.a+=yCe(V(ho,Tl,25,-i,15,1))))}function NNe(e,n){var t,i,r;for(t=e.o,r=u(u(Ct(e.r,n),21),84).Kc();r.Ob();)i=u(r.Pb(),111),i.e.a=W9n(i,t.a),i.e.b=t.b*ee(he(i.b.We(zA)))}function zyn(e,n){var t,i,r,c;return r=e.k,t=ee(he(S(e,(re(),hb)))),c=n.k,i=ee(he(S(n,hb))),c!=(dn(),hi)?-1:r!=hi?1:t==i?0:t=0?e.hh(n,t,i):(e.eh()&&(i=(r=e.Vg(),r>=0?e.Qg(i):e.eh().ih(e,-1-r,null,i))),e.Sg(n,t,i))}function iee(e,n){switch(n){case 7:!e.e&&(e.e=new Xe(Di,e,7,4)),Dn(e.e);return;case 8:!e.d&&(e.d=new Xe(Di,e,8,5)),Dn(e.d);return}HZ(e,n)}function Sf(e,n){var t;t=e.Zc(n);try{return t.Pb()}catch(i){throw i=Ht(i),_(i,109)?O(new qr("Can't get element "+n)):O(i)}}function ree(e,n){this.e=e,n=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function B2(){B2=W,sj=new LT(IP,0),uj=new LT(KB,1),oj=new LT(qB,2),fj=new LT(HB,3),sj.a=!1,uj.a=!0,oj.a=!1,fj.a=!0}function S6(){S6=W,lj=new DT(IP,0),WA=new DT(KB,1),UA=new DT(qB,2),aj=new DT(HB,3),lj.a=!1,WA.a=!0,UA.a=!1,aj.a=!0}function Qyn(e){var n;n=e.a;do n=u(_n(new En(Sn(cc(n).a.Kc(),new J))),17).c.i,n.k==(dn(),Fi)&&e.b.Fc(n);while(n.k==(dn(),Fi));e.b=cd(e.b)}function Jyn(e){var n,t,i;for(i=e.c.a,e.p=(Nn(i),new Ru(i)),t=new A(i);t.at.b)return!0}return!1}function EN(e,n){return Ri(e)?!!JUe[n]:e.hm?!!e.hm[n]:Hb(e)?!!QUe[n]:qb(e)?!!YUe[n]:!1}function Br(e,n,t){return t==null?(!e.o&&(e.o=new js((uu(),A1),yb,e,0)),CM(e.o,n)):(!e.o&&(e.o=new js((uu(),A1),yb,e,0)),HM(e.o,n,t)),e}function t9n(e,n,t,i){var r,c;c=n.Xe((dt(),qp))?u(n.We(qp),21):e.j,r=G5n(c),r!=(EP(),nq)&&(t&&!ZZ(r)||fne(LTn(e,r,i),n))}function DM(e,n,t,i){var r,c,o;return c=ze(e.Tg(),n),r=n-e.Ah(),r<0?(o=e.Yg(c),o>=0?e._g(o,t,!0):V0(e,c,t)):u(c,66).Nj().Pj(e,e.yh(),r,t,i)}function i9n(e,n,t,i){var r,c,o;t.mh(n)&&(jr(),wF(n)?(r=u(t.ah(n),153),Myn(e,r)):(c=(o=n,o?u(i,49).xh(o):null),c&&cln(t.ah(n),c)))}function r9n(e){switch(e.g){case 1:return L0(),cj;case 3:return L0(),rj;case 2:return L0(),iq;case 4:return L0(),tq;default:return null}}function cee(e){switch(typeof e){case Z_:return oh(e);case nie:return oi(e);case z2:return un(),e?1231:1237;default:return e==null?0:a0(e)}}function c9n(e,n,t){if(e.e)switch(e.b){case 1:Lgn(e.c,n,t);break;case 0:$gn(e.c,n,t)}else COe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function qNe(e){var n,t;if(e==null)return null;for(t=V(ca,ie,193,e.length,0,2),n=0;n=0)return r;if(e.Fk()){for(i=0;i=r)throw O(new Ub(n,r));if(e.hi()&&(i=e.Xc(t),i>=0&&i!=n))throw O(new rn(Xk));return e.mi(n,t)}function uee(e,n){if(this.a=u(Nn(e),245),this.b=u(Nn(n),245),e.vd(n)>0||e==(vD(),$K)||n==(mD(),FK))throw O(new rn("Invalid range: "+kOe(e,n)))}function HNe(e){var n,t;for(this.b=new oe,this.c=e,this.a=!1,t=new A(e.a);t.a0),(n&-n)==n)return oi(n*ss(e,31)*4656612873077393e-25);do t=ss(e,31),i=t%n;while(t-i+(n-1)<0);return oi(i)}function oh(e){nMe();var n,t,i;return t=":"+e,i=HA[t],i!=null?oi((nn(i),i)):(i=ise[t],n=i==null?QCn(e):oi((nn(i),i)),Sgn(),HA[t]=n,n)}function GNe(e,n,t){On(t,"Compound graph preprocessor",1),e.a=new E0,QHe(e,n,null),_An(e,n),yCn(e),te(n,(re(),jfe),e.a),e.a=null,Yu(e.b),Tn(t)}function o9n(e,n,t){switch(t.g){case 1:e.a=n.a/2,e.b=0;break;case 2:e.a=n.a,e.b=n.b/2;break;case 3:e.a=n.a/2,e.b=n.b;break;case 4:e.a=0,e.b=n.b/2}}function f9n(e){var n,t,i;for(i=u(Ct(e.a,(Qg(),Cx)),15).Kc();i.Ob();)t=u(i.Pb(),101),n=vee(t),gv(e,t,n[0],(D0(),sb),0),gv(e,t,n[1],ob,1)}function l9n(e){var n,t,i;for(i=u(Ct(e.a,(Qg(),Sx)),15).Kc();i.Ob();)t=u(i.Pb(),101),n=vee(t),gv(e,t,n[0],(D0(),sb),0),gv(e,t,n[1],ob,1)}function TN(e){switch(e.g){case 0:return null;case 1:return new GLe;case 2:return new pW;default:throw O(new rn(KR+(e.f!=null?e.f:""+e.g)))}}function U7(e,n,t){var i,r;for(I4n(e,n-e.s,t-e.t),r=new A(e.n);r.a1&&(c=s9n(e,n)),c}function CN(e){var n;return e.f&&e.f.kh()&&(n=u(e.f,49),e.f=u(e1(e,n),82),e.f!=n&&e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,9,8,n,e.f))),e.f}function SN(e){var n;return e.i&&e.i.kh()&&(n=u(e.i,49),e.i=u(e1(e,n),82),e.i!=n&&e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,9,7,n,e.i))),e.i}function Tr(e){var n;return e.b&&e.b.Db&64&&(n=e.b,e.b=u(e1(e,n),18),e.b!=n&&e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,9,21,n,e.b))),e.b}function FM(e,n){var t,i,r;e.d==null?(++e.e,++e.f):(i=n.Sh(),MCn(e,e.f+1),r=(i&vt)%e.d.length,t=e.d[r],!t&&(t=e.d[r]=e.uj()),t.Fc(n),++e.f)}function fee(e,n,t){var i;return n.Kj()?!1:n.Zj()!=-2?(i=n.zj(),i==null?t==null:kt(i,t)):n.Hj()==e.e.Tg()&&t==null}function NM(){var e;Ds(16,KVe),e=FLe(16),this.b=V(_K,Pk,317,e,0,1),this.c=V(_K,Pk,317,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function xa(e){MX.call(this),this.k=(dn(),ki),this.j=(Ds(6,Pw),new iu(6)),this.b=(Ds(2,Pw),new iu(2)),this.d=new dD,this.f=new oW,this.a=e}function h9n(e){var n,t;e.c.length<=1||(n=HKe(e,(ae(),In)),OBe(e,u(n.a,19).a,u(n.b,19).a),t=HKe(e,sn),OBe(e,u(t.a,19).a,u(t.b,19).a))}function M6(){M6=W,eae=new E8("SIMPLE",0),xH=new E8(cR,1),OH=new E8("LINEAR_SEGMENTS",2),Xy=new E8("BRANDES_KOEPF",3),Yy=new E8(dze,4)}function lee(e,n,t){w2(u(S(n,(be(),ti)),98))||(rJ(e,n,fh(n,t)),rJ(e,n,fh(n,(ae(),In))),rJ(e,n,fh(n,tn)),He(),Li(n.j,new W9e(e)))}function zNe(e,n,t,i){var r,c,o;for(r=u(Ct(i?e.a:e.b,n),21),o=r.Kc();o.Ob();)if(c=u(o.Pb(),33),sP(e,t,c))return!0;return!1}function MN(e){var n,t;for(t=new jn(e);t.e!=t.i.gc();)if(n=u(Pn(t),87),n.e||(!n.d&&(n.d=new gi($r,n,1)),n.d).i!=0)return!0;return!1}function PN(e){var n,t;for(t=new jn(e);t.e!=t.i.gc();)if(n=u(Pn(t),87),n.e||(!n.d&&(n.d=new gi($r,n,1)),n.d).i!=0)return!0;return!1}function d9n(e){var n,t,i;for(n=0,i=new A(e.c.a);i.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function ON(e,n){if(e==null)throw O(new i2("null key in entry: null="+n));if(n==null)throw O(new i2("null value in entry: "+e+"=null"))}function b9n(e,n){for(var t,i;e.Ob();)if(!n.Ob()||(t=e.Pb(),i=n.Pb(),!(X(t)===X(i)||t!=null&&kt(t,i))))return!1;return!n.Ob()}function UNe(e,n){var t;return t=D(I(Hi,1),Rr,25,15,[YF(e.a[0],n),YF(e.a[1],n),YF(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function XNe(e,n){var t;return t=D(I(Hi,1),Rr,25,15,[hM(e.a[0],n),hM(e.a[1],n),hM(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function gd(){gd=W,Bq=new j8("GREEDY",0),Zoe=new j8(ZGe,1),Rq=new j8(cR,2),Fy=new j8("MODEL_ORDER",3),$y=new j8("GREEDY_MODEL_ORDER",4)}function YNe(e,n){var t,i,r;for(e.b[n.g]=1,i=ut(n.d,0);i.b!=i.d.c;)t=u(ct(i),188),r=t.c,e.b[r.g]==1?st(e.a,t):e.b[r.g]==2?e.b[r.g]=1:YNe(e,r)}function w9n(e,n){var t,i,r;for(r=new iu(n.gc()),i=n.Kc();i.Ob();)t=u(i.Pb(),286),t.c==t.f?d3(e,t,t.c):djn(e,t)||(r.c[r.c.length]=t);return r}function g9n(e,n,t){var i,r,c,o,f;for(f=e.r+n,e.r+=n,e.d+=t,i=t/e.n.c.length,r=0,o=new A(e.n);o.ac&&Ut(n,c,null),n}function x9n(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(l+=r),a[h]=o,o+=f*(l+i)}function r_e(e){var n,t,i;for(i=e.f,e.n=V(Hi,Rr,25,i,15,1),e.d=V(Hi,Rr,25,i,15,1),n=0;n0?e.c:0),++r;e.b=i,e.d=c}function N9n(e,n){var t,i,r,c,o;for(i=0,r=0,t=0,o=new A(n);o.a0?e.g:0),++t;e.c=r,e.d=i}function f_e(e,n){var t;return t=D(I(Hi,1),Rr,25,15,[oee(e,(Ef(),Tc),n),oee(e,ou,n),oee(e,Cc,n)]),e.f&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function _9n(e,n,t){var i;try{lP(e,n+e.j,t+e.k,!1,!0)}catch(r){throw r=Ht(r),_(r,73)?(i=r,O(new qr(i.g+LP+n+mr+t+")."))):O(r)}}function B9n(e,n,t){var i;try{lP(e,n+e.j,t+e.k,!0,!1)}catch(r){throw r=Ht(r),_(r,73)?(i=r,O(new qr(i.g+LP+n+mr+t+")."))):O(r)}}function l_e(e){var n;Oi(e,(be(),db))&&(n=u(S(e,db),21),n.Hc((kw(),ff))?(n.Mc(ff),n.Fc(lf)):n.Hc(lf)&&(n.Mc(lf),n.Fc(ff)))}function a_e(e){var n;Oi(e,(be(),db))&&(n=u(S(e,db),21),n.Hc((kw(),hf))?(n.Mc(hf),n.Fc(Lo)):n.Hc(Lo)&&(n.Mc(Lo),n.Fc(hf)))}function R9n(e,n,t){On(t,"Self-Loop ordering",1),ri(ju(Ft(Ft(hc(new Ue(null,new Ye(n.b,16)),new vpe),new ype),new kpe),new jpe),new k9e(e)),Tn(t)}function Y7(e,n,t,i){var r,c;for(r=n;r0&&(r.b+=n),r}function RM(e,n){var t,i,r;for(r=new ir,i=e.Kc();i.Ob();)t=u(i.Pb(),37),B6(t,0,r.b),r.b+=t.f.b+n,r.a=k.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function d_e(e){var n,t,i;for(i=vt,t=new A(e.a);t.a>16==6?e.Cb.ih(e,5,If,n):(i=Tr(u(ze((t=u(en(e,16),26),t||e.zh()),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function G9n(e){jv();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` +`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` +`)}return[]}function z9n(e){var n;return n=(xLe(),lXe),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}function g_e(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=YJ(k.Math.max(8,i))<<1,e.b!=0?(n=Uo(e.a,t),_Le(e,n,i),e.a=n,e.b=0):N7e(e.a,t),e.c=i)}function W9n(e,n){var t;return t=e.b,t.Xe((dt(),as))?t.Hf()==(ae(),sn)?-t.rf().a-ee(he(t.We(as))):n+ee(he(t.We(as))):t.Hf()==(ae(),sn)?-t.rf().a:n}function Q7(e){var n;return e.b.c.length!=0&&u(ve(e.b,0),70).a?u(ve(e.b,0),70).a:(n=E$(e),n??""+(e.c?rc(e.c.a,e,0):-1))}function KM(e){var n;return e.f.c.length!=0&&u(ve(e.f,0),70).a?u(ve(e.f,0),70).a:(n=E$(e),n??""+(e.i?rc(e.i.j,e,0):-1))}function U9n(e,n){var t,i;if(n<0||n>=e.gc())return null;for(t=n;t0?e.c:0),r=k.Math.max(r,n.d),++i;e.e=c,e.b=r}function Y9n(e){var n,t;if(!e.b)for(e.b=bS(u(e.f,118).Ag().i),t=new jn(u(e.f,118).Ag());t.e!=t.i.gc();)n=u(Pn(t),137),se(e.b,new TD(n));return e.b}function Q9n(e,n){var t,i,r;if(n.dc())return lv(),lv(),fE;for(t=new vSe(e,n.gc()),r=new jn(e);r.e!=r.i.gc();)i=Pn(r),n.Hc(i)&&Bn(t,i);return t}function pee(e,n,t,i){return n==0?i?(!e.o&&(e.o=new js((uu(),A1),yb,e,0)),e.o):(!e.o&&(e.o=new js((uu(),A1),yb,e,0)),a7(e.o)):DM(e,n,t,i)}function BN(e){var n,t;if(e.rb)for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&fs,e.m=i&fs,e.h=r&La,!0)}function n8n(e,n,t,i,r,c,o){var f,l;return!(n.Ae()&&(l=e.a.ue(t,i),l<0||!r&&l==0)||n.Be()&&(f=e.a.ue(t,c),f>0||!o&&f==0))}function t8n(e,n){Qv();var t;if(t=e.j.g-n.j.g,t!=0)return 0;switch(e.j.g){case 2:return oN(n,Goe)-oN(e,Goe);case 4:return oN(e,Voe)-oN(n,Voe)}return 0}function i8n(e){switch(e.g){case 0:return qq;case 1:return Hq;case 2:return Vq;case 3:return Gq;case 4:return Ax;case 5:return zq;default:return null}}function Ur(e,n,t){var i,r;return i=(r=new gD,ad(r,n),ru(r,t),Bn((!e.c&&(e.c=new fe(kb,e,12,10)),e.c),r),r),th(i,0),fw(i,1),uh(i,!0),ch(i,!0),i}function R2(e,n){var t,i;if(n>=e.i)throw O(new aL(n,e.i));return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Hc(e.g,n+1,e.g,n,i),Ut(e.g,--e.i,null),e.fi(n,t),e.ci(),t}function p_e(e,n){var t,i;return e.Db>>16==17?e.Cb.ih(e,21,No,n):(i=Tr(u(ze((t=u(en(e,16),26),t||e.zh()),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function r8n(e){var n,t,i,r;for(He(),Li(e.c,e.a),r=new A(e.c);r.at.a.c.length))throw O(new rn("index must be >= 0 and <= layer node count"));e.c&&Tu(e.c.a,e),e.c=t,t&&Xb(t.a,n,e)}function j_e(e,n){var t,i,r;for(i=new En(Sn(Pa(e).a.Kc(),new J));Wn(i);)return t=u(_n(i),17),r=u(n.Kb(t),10),new UE(Nn(r.n.b+r.o.b/2));return J4(),J4(),LK}function E_e(e,n){this.c=new $n,this.a=e,this.b=n,this.d=u(S(e,(re(),Ip)),304),X(S(e,(be(),xle)))===X((w7(),xx))?this.e=new eke:this.e=new Z7e}function l8n(e,n){var t,i,r,c;for(c=0,i=new A(e);i.a>16==6?e.Cb.ih(e,6,Di,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(uu(),HO)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function Eee(e,n){var t,i;return e.Db>>16==7?e.Cb.ih(e,1,rE,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(uu(),lde)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function Tee(e,n){var t,i;return e.Db>>16==9?e.Cb.ih(e,9,Qt,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(uu(),hde)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function C_e(e,n){var t,i;return e.Db>>16==5?e.Cb.ih(e,9,JO,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(qe(),Ch)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function Cee(e,n){var t,i;return e.Db>>16==3?e.Cb.ih(e,0,uE,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(qe(),Th)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function S_e(e,n){var t,i;return e.Db>>16==7?e.Cb.ih(e,6,If,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(qe(),Mh)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function M_e(){this.a=new D3e,this.g=new NM,this.j=new NM,this.b=new $n,this.d=new NM,this.i=new NM,this.k=new $n,this.c=new $n,this.e=new $n,this.f=new $n}function b8n(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rMB)return o3(e,i);if(i==e)return!0}}return!1}function g8n(e){switch(oC(),e.q.g){case 5:aRe(e,(ae(),tn)),aRe(e,In);break;case 4:uKe(e,(ae(),tn)),uKe(e,In);break;default:uVe(e,(ae(),tn)),uVe(e,In)}}function p8n(e){switch(oC(),e.q.g){case 5:SRe(e,(ae(),hn)),SRe(e,sn);break;case 4:NNe(e,(ae(),hn)),NNe(e,sn);break;default:sVe(e,(ae(),hn)),sVe(e,sn)}}function m8n(e){var n,t;n=u(S(e,(Mf(),GYe)),19),n?(t=n.a,t==0?te(e,(Yh(),ex),new sN):te(e,(Yh(),ex),new mS(t))):te(e,(Yh(),ex),new mS(1))}function v8n(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function y8n(e,n){switch(e.g){case 0:return n==(ro(),m1)?yx:kx;case 1:return n==(ro(),m1)?yx:gj;case 2:return n==(ro(),m1)?gj:kx;default:return gj}}function Z7(e,n){var t,i,r;for(Tu(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=ace,i=new A(e.a);i.a>16==3?e.Cb.ih(e,12,Qt,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(uu(),fde)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function Mee(e,n){var t,i;return e.Db>>16==11?e.Cb.ih(e,10,Qt,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(uu(),ade)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function P_e(e,n){var t,i;return e.Db>>16==10?e.Cb.ih(e,11,No,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(qe(),Sh)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function A_e(e,n){var t,i;return e.Db>>16==10?e.Cb.ih(e,12,_o,n):(i=Tr(u(ze((t=u(en(e,16),26),t||(qe(),lg)),e.Db>>16),18)),e.Cb.ih(e,i.n,i.f,n))}function jo(e){var n;return!(e.Bb&1)&&e.r&&e.r.kh()&&(n=u(e.r,49),e.r=u(e1(e,n),138),e.r!=n&&e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,9,8,n,e.r))),e.r}function KN(e,n,t){var i;return i=D(I(Hi,1),Rr,25,15,[Jee(e,(Ef(),Tc),n,t),Jee(e,ou,n,t),Jee(e,Cc,n,t)]),e.f&&(i[0]=k.Math.max(i[0],i[2]),i[2]=i[0]),i}function k8n(e,n){var t,i,r;if(r=w9n(e,n),r.c.length!=0)for(Li(r,new Gge),t=r.c.length,i=0;i>19,a=n.h>>19,l!=a?a-l:(r=e.h,f=n.h,r!=f?r-f:(i=e.m,o=n.m,i!=o?i-o:(t=e.l,c=n.l,t-c)))}function qM(){qM=W,wse=(oP(),ZK),bse=new Ge(gie,wse),dse=(LS(),JK),hse=new Ge(pie,dse),ase=(PM(),QK),lse=new Ge(mie,ase),fse=new Ge(vie,(un(),!0))}function A6(e,n,t){var i,r;i=n*t,_(e.g,145)?(r=S2(e),r.f.d?r.f.a||(e.d.a+=i+Qf):(e.d.d-=i+Qf,e.d.a+=i+Qf)):_(e.g,10)&&(e.d.d-=i,e.d.a+=2*i)}function x_e(e,n,t){var i,r,c,o,f;for(r=e[t.g],f=new A(n.d);f.a0?e.g:0),++t;n.b=i,n.e=r}function O_e(e){var n,t,i;if(i=e.b,Zje(e.i,i.length)){for(t=i.length*2,e.b=V(_K,Pk,317,t,0,1),e.c=V(_K,Pk,317,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c)uk(e,n,n);++e.g}}function A8n(e,n,t,i){var r,c,o,f;for(r=0;ro&&(f=o/i),r>c&&(l=c/r),gl(e,k.Math.min(f,l)),e}function O8n(){bP();var e,n;try{if(n=u(_ee((Fh(),Bo),q3),2014),n)return n}catch(t){if(t=Ht(t),_(t,102))e=t,CY((qn(),e));else throw O(t)}return new A3e}function I8n(){jDe();var e,n;try{if(n=u(_ee((Fh(),Bo),Pd),2024),n)return n}catch(t){if(t=Ht(t),_(t,102))e=t,CY((qn(),e));else throw O(t)}return new U4e}function D8n(){bP();var e,n;try{if(n=u(_ee((Fh(),Bo),Po),1941),n)return n}catch(t){if(t=Ht(t),_(t,102))e=t,CY((qn(),e));else throw O(t)}return new n4e}function L8n(e,n,t){var i,r;return r=e.e,e.e=n,e.Db&4&&!(e.Db&1)&&(i=new $i(e,1,4,r,n),t?t.Ei(i):t=i),r!=n&&(n?t=T3(e,nP(e,n),t):t=T3(e,e.a,t)),t}function I_e(){yT.call(this),this.e=-1,this.a=!1,this.p=cr,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=cr}function $8n(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=mi(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function F8n(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=mi(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function N8n(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=mi(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Aee(){Aee=W,cQe=Xu(mt(mt(mt(new xi,(pr(),Jc),(Cr(),xoe)),Jc,Ooe),ec,Ioe),ec,voe),sQe=mt(mt(new xi,Jc,hoe),Jc,yoe),uQe=Xu(new xi,ec,joe)}function _8n(e){var n,t,i,r,c;for(n=u(S(e,(re(),Ry)),83),c=e.n,i=n.Cc().Kc();i.Ob();)t=u(i.Pb(),306),r=t.i,r.c+=c.a,r.d+=c.b,t.c?UKe(t):XKe(t);te(e,Ry,null)}function B8n(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function R8n(e){var n,t,i,r,c;if(i=0,r=L3,e.b)for(n=0;n<360;n++)t=n*.017453292519943295,vte(e,e.d,0,0,bp,t),c=e.b.ig(e.d),c0&&(o=(c&vt)%e.d.length,r=Ane(e,o,c,n),r)?(f=r.ed(t),f):(i=e.tj(c,n,t),e.c.Fc(i),null)}function Iee(e,n){var t,i,r,c;switch(rh(e,n)._k()){case 3:case 2:{for(t=cp(n),r=0,c=t.i;r=0;i--)if(Ke(e[i].d,n)||Ke(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break}return e}function ek(e,n){var t;return ic(e)&&ic(n)&&(t=e/n,Ok0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=k.Math.min(i,r))}function B_e(e,n){var t,i;if(i=!1,Ri(n)&&(i=!0,y2(e,new Jb(Vn(n)))),i||_(n,236)&&(i=!0,y2(e,(t=_X(u(n,236)),new XE(t)))),!i)throw O(new jD(Wce))}function r7n(e,n,t,i){var r,c,o;return r=new Ea(e.e,1,10,(o=n.c,_(o,88)?u(o,26):(qe(),Ro)),(c=t.c,_(c,88)?u(c,26):(qe(),Ro)),sh(e,n),!1),i?i.Ei(r):i=r,i}function $ee(e){var n,t;switch(u(S(lr(e),(be(),jle)),420).g){case 0:return n=e.n,t=e.o,new je(n.a+t.a/2,n.b+t.b/2);case 1:return new Hr(e.n);default:return null}}function nk(){nk=W,Ox=new m5($a,0),sfe=new m5("LEFTUP",1),ffe=new m5("RIGHTUP",2),ufe=new m5("LEFTDOWN",3),ofe=new m5("RIGHTDOWN",4),Wq=new m5("BALANCED",5)}function c7n(e,n,t){var i,r,c;if(i=mi(e.a[n.p],e.a[t.p]),i==0){if(r=u(S(n,(re(),bm)),15),c=u(S(t,bm),15),r.Hc(t))return-1;if(c.Hc(n))return 1}return i}function u7n(e){switch(e.g){case 1:return new kve;case 2:return new jve;case 3:return new yve;case 0:return null;default:throw O(new rn(KR+(e.f!=null?e.f:""+e.g)))}}function Fee(e,n,t){switch(n){case 1:!e.n&&(e.n=new fe(oc,e,1,7)),Dn(e.n),!e.n&&(e.n=new fe(oc,e,1,7)),Jt(e.n,u(t,14));return;case 2:f6(e,Vn(t));return}tZ(e,n,t)}function Nee(e,n,t){switch(n){case 3:x0(e,ee(he(t)));return;case 4:O0(e,ee(he(t)));return;case 5:Mu(e,ee(he(t)));return;case 6:Pu(e,ee(he(t)));return}Fee(e,n,t)}function VM(e,n,t){var i,r,c;c=(i=new gD,i),r=Xf(c,n,null),r&&r.Fi(),ru(c,t),Bn((!e.c&&(e.c=new fe(kb,e,12,10)),e.c),c),th(c,0),fw(c,1),uh(c,!0),ch(c,!0)}function _ee(e,n){var t,i,r;return t=d5(e.g,n),_(t,235)?(r=u(t,235),r.Qh()==null,r.Nh()):_(t,498)?(i=u(t,1938),r=i.b,r):null}function s7n(e,n,t,i){var r,c;return Nn(n),Nn(t),c=u(B5(e.d,n),19),MDe(!!c,"Row %s not in %s",n,e.e),r=u(B5(e.b,t),19),MDe(!!r,"Column %s not in %s",t,e.c),I$e(e,c.a,r.a,i)}function R_e(e,n,t,i,r,c,o){var f,l,a,h,w;if(h=r[c],a=c==o-1,f=a?i:0,w=s_e(f,h),i!=10&&D(I(e,o-c),n[c],t[c],f,w),!a)for(++c,l=0;l1||f==-1?(c=u(l,15),r.Wb(byn(e,c))):r.Wb(A_(e,u(l,56)))))}function b7n(e,n,t,i){Mje();var r=DK;function c(){for(var o=0;o_R)return t;r>-1e-6&&++t}return t}function Kee(e,n){var t;n!=e.b?(t=null,e.b&&(t=tS(e.b,e,-4,t)),n&&(t=_2(n,e,-4,t)),t=jFe(e,n,t),t&&t.Fi()):e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,3,n,n))}function H_e(e,n){var t;n!=e.f?(t=null,e.f&&(t=tS(e.f,e,-1,t)),n&&(t=_2(n,e,-1,t)),t=EFe(e,n,t),t&&t.Fi()):e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,0,n,n))}function V_e(e){var n,t,i;if(e==null)return null;if(t=u(e,15),t.dc())return"";for(i=new za,n=t.Kc();n.Ob();)Fr(i,(At(),Vn(n.Pb()))),i.a+=" ";return dL(i,i.a.length-1)}function G_e(e){var n,t,i;if(e==null)return null;if(t=u(e,15),t.dc())return"";for(i=new za,n=t.Kc();n.Ob();)Fr(i,(At(),Vn(n.Pb()))),i.a+=" ";return dL(i,i.a.length-1)}function j7n(e,n,t){var i,r;return i=e.c[n.c.p][n.p],r=e.c[t.c.p][t.p],i.a!=null&&r.a!=null?n$(i.a,r.a):i.a!=null?-1:r.a!=null?1:0}function E7n(e,n){var t,i,r,c,o,f;if(n)for(c=n.a.length,t=new Y1(c),f=(t.b-t.a)*t.c<0?(Nh(),L1):new Kh(t);f.Ob();)o=u(f.Pb(),19),r=Tv(n,o.a),i=new z8e(e),hgn(i.a,r)}function T7n(e,n){var t,i,r,c,o,f;if(n)for(c=n.a.length,t=new Y1(c),f=(t.b-t.a)*t.c<0?(Nh(),L1):new Kh(t);f.Ob();)o=u(f.Pb(),19),r=Tv(n,o.a),i=new N8e(e),agn(i.a,r)}function C7n(e){var n;if(e!=null&&e.length>0&&Zi(e,e.length-1)==33)try{return n=qBe(Ps(e,0,e.length-1)),n.e==null}catch(t){if(t=Ht(t),!_(t,32))throw O(t)}return!1}function z_e(e,n,t){var i,r,c;return i=n.ak(),c=n.dd(),r=i.$j()?Wh(e,3,i,null,c,k3(e,i,c,_(i,99)&&(u(i,18).Bb&vr)!=0),!0):Wh(e,1,i,i.zj(),c,-1,!0),t?t.Ei(r):t=r,t}function S7n(){var e,n,t;for(n=0,e=0;e<1;e++){if(t=Dne((Gn(e,1),"X".charCodeAt(e))),t==0)throw O(new Hn("Unknown Option: "+"X".substr(e)));n|=t}return n}function M7n(e,n,t){var i,r,c;switch(i=lr(n),r=pM(i),c=new qc,ac(c,n),t.g){case 1:Ci(c,q7(F2(r)));break;case 2:Ci(c,F2(r))}return te(c,(be(),Yw),he(S(e,Yw))),c}function qee(e){var n,t;return n=u(_n(new En(Sn(cc(e.a).a.Kc(),new J))),17),t=u(_n(new En(Sn(vi(e.a).a.Kc(),new J))),17),ke(ye(S(n,(re(),tl))))||ke(ye(S(t,tl)))}function Qg(){Qg=W,Ex=new k8("ONE_SIDE",0),Cx=new k8("TWO_SIDES_CORNER",1),Sx=new k8("TWO_SIDES_OPPOSING",2),Tx=new k8("THREE_SIDES",3),jx=new k8("FOUR_SIDES",4)}function GN(e,n,t,i,r){var c,o;c=u(Os(Ft(n.Oc(),new K2e),id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[(Wf(),Rs)]))),15),o=u(ud(e.b,t,i),15),r==0?o.Wc(0,c):o.Gc(c)}function P7n(e,n){var t,i,r,c,o;for(c=new A(n.a);c.a0&&m_e(this,this.c-1,(ae(),hn)),this.c0&&e[0].length>0&&(this.c=ke(ye(S(lr(e[0][0]),(re(),Tfe))))),this.a=V(Xen,ie,2018,e.length,0,2),this.b=V(Yen,ie,2019,e.length,0,2),this.d=new wFe}function D7n(e){return e.c.length==0?!1:(Qe(0,e.c.length),u(e.c[0],17)).c.i.k==(dn(),Fi)?!0:Sv(ju(new Ue(null,new Ye(e,16)),new yme),new kme)}function L7n(e,n,t){return On(t,"Tree layout",1),hS(e.b),Vl(e.b,(s3(),aO),aO),Vl(e.b,t9,t9),Vl(e.b,Lj,Lj),Vl(e.b,i9,i9),e.a=mP(e.b,n),fSn(e,n,Uc(t,1)),Tn(t),n}function U_e(e,n){var t,i,r,c,o,f,l;for(f=Ew(n),c=n.f,l=n.g,o=k.Math.sqrt(c*c+l*l),r=0,i=new A(f);i.a=0?(t=ek(e,PP),i=G7(e,PP)):(n=Yb(e,1),t=ek(n,5e8),i=G7(n,5e8),i=fr(pa(i,1),Ti(e,1))),Kf(pa(i,32),Ti(t,Ir))}function Q_e(e,n,t){var i,r;switch(i=(mn(n.b!=0),u(no(n,n.a.a),8)),t.g){case 0:i.b=0;break;case 2:i.b=e.f;break;case 3:i.a=0;break;default:i.a=e.g}return r=ut(n,0),X8(r,i),n}function J_e(e,n,t,i){var r,c,o,f,l;switch(l=e.b,c=n.d,o=c.j,f=tee(o,l.d[o.g],t),r=Mt(kc(c.n),c.a),c.j.g){case 1:case 3:f.a+=r.a;break;case 2:case 4:f.b+=r.b}ui(i,f,i.c.b,i.c)}function z7n(e,n,t){var i,r,c,o;for(o=rc(e.e,n,0),c=new uW,c.b=t,i=new Yi(e.e,o);i.b1;n>>=1)n&1&&(i=Fg(i,t)),t.d==1?t=Fg(t,t):t=new jNe(Oqe(t.a,t.d,V(Ln,nt,25,t.d<<1,15,1)));return i=Fg(i,t),i}function Xee(){Xee=W;var e,n,t,i;for(Yue=V(Hi,Rr,25,25,15,1),Que=V(Hi,Rr,25,33,15,1),i=152587890625e-16,n=32;n>=0;n--)Que[n]=i,i*=.5;for(t=1,e=24;e>=0;e--)Yue[e]=t,t*=.5}function J7n(e){var n,t;if(ke(ye(Ee(e,(be(),Xw))))){for(t=new En(Sn(Oa(e).a.Kc(),new J));Wn(t);)if(n=u(_n(t),79),H0(n)&&ke(ye(Ee(n,Ld))))return!0}return!1}function Z_e(e,n){var t,i,r;Ei(e.f,n)&&(n.b=e,i=n.c,rc(e.j,i,0)!=-1||se(e.j,i),r=n.d,rc(e.j,r,0)!=-1||se(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new ONe(e)),b4n(e.i,t)))}function Z7n(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&Ke(e.substr(n,3),"GMT")||n>=0&&Ke(e.substr(n,3),"UTC"))&&(t[0]=n+3),jte(e,t,i)}function nkn(e,n){var t,i,r,c,o;for(c=e.g.a,o=e.g.b,i=new A(e.d);i.at;c--)e[c]|=n[c-t-1]>>>o,e[c-1]=n[c-t-1]<=e.f)break;c.c[c.c.length]=t}return c}function Qee(e){var n,t,i,r;for(n=null,r=new A(e.wf());r.a0&&Hc(e.g,n,e.g,n+i,f),o=t.Kc(),e.i+=i,r=0;rc&&pwn(a,XDe(t[f],Uue))&&(r=f,c=l);return r>=0&&(i[0]=n+c),r}function okn(e,n){var t;if(t=zTe(e.b.Hf(),n.b.Hf()),t!=0)return t;switch(e.b.Hf().g){case 1:case 2:return yu(e.b.sf(),n.b.sf());case 3:case 4:return yu(n.b.sf(),e.b.sf())}return 0}function fkn(e){var n,t,i;for(i=e.e.c.length,e.a=X1(Ln,[ie,nt],[48,25],15,[i,i],2),t=new A(e.c);t.a>4&15,c=e[i]&15,o[r++]=dde[t],o[r++]=dde[c];return ko(o,0,o.length)}function hkn(e,n,t){var i,r,c;return i=n.ak(),c=n.dd(),r=i.$j()?Wh(e,4,i,c,null,k3(e,i,c,_(i,99)&&(u(i,18).Bb&vr)!=0),!0):Wh(e,i.Kj()?2:1,i,c,i.zj(),-1,!0),t?t.Ei(r):t=r,t}function xu(e){var n,t;return e>=vr?(n=Ik+(e-vr>>10&1023)&li,t=56320+(e-vr&1023)&li,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&li)}function dkn(e,n){zb();var t,i,r,c;return r=u(u(Ct(e.r,n),21),84),r.gc()>=2?(i=u(r.Kc().Pb(),111),t=e.u.Hc((Ju(),y9)),c=e.u.Hc(Mm),!i.a&&!t&&(r.gc()==2||c)):!1}function tBe(e,n,t,i,r){var c,o,f;for(c=BKe(e,n,t,i,r),f=!1;!c;)ZM(e,r,!0),f=!0,c=BKe(e,n,t,i,r);f&&ZM(e,r,!1),o=LF(r),o.c.length!=0&&(e.d&&e.d.lg(o),tBe(e,r,t,i,o))}function UM(){UM=W,FV=new T5($a,0),K1e=new T5("DIRECTED",1),H1e=new T5("UNDIRECTED",2),B1e=new T5("ASSOCIATION",3),q1e=new T5("GENERALIZATION",4),R1e=new T5("DEPENDENCY",5)}function bkn(e,n){var t;if(!_f(e))throw O(new tc(Qze));switch(t=_f(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g)}return 0}function a3(e,n){var t,i;for(nn(n),i=e.b.c.length,se(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.ue(ve(e.b,i),n)<=0)return Zs(e.b,t,n),!0;Zs(e.b,t,ve(e.b,i))}return Zs(e.b,i,n),!0}function Jee(e,n,t,i){var r,c;if(r=0,t)r=hM(e.a[t.g][n.g],i);else for(c=0;c=f)}function Zee(e,n,t,i){var r;if(r=!1,Ri(i)&&(r=!0,dv(n,t,Vn(i))),r||qb(i)&&(r=!0,Zee(e,n,t,i)),r||_(i,236)&&(r=!0,J1(n,t,u(i,236))),!r)throw O(new jD(Wce))}function gkn(e,n){var t,i,r;if(t=n.Hh(e.a),t&&(r=Tf((!t.b&&(t.b=new ms((qe(),kr),Mc,t)),t.b),Mo),r!=null)){for(i=1;i<(Hu(),Nde).length;++i)if(Ke(Nde[i],r))return i}return 0}function pkn(e,n){var t,i,r;if(t=n.Hh(e.a),t&&(r=Tf((!t.b&&(t.b=new ms((qe(),kr),Mc,t)),t.b),Mo),r!=null)){for(i=1;i<(Hu(),_de).length;++i)if(Ke(_de[i],r))return i}return 0}function iBe(e,n){var t,i,r,c;if(nn(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=e.a.ue(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function ykn(e){Ju();var n,t;return n=Nt(Ka,D(I(_O,1),ce,273,0,[M1])),!(M7(cS(n,e))>1||(t=Nt(y9,D(I(_O,1),ce,273,0,[v9,Mm])),M7(cS(t,e))>1))}function nne(e,n){var t;t=zc((Fh(),Bo),e),_(t,498)?Vr(Bo,e,new jTe(this,n)):Vr(Bo,e,this),JN(this,n),n==(Jm(),Cde)?(this.wb=u(this,1939),u(n,1941)):this.wb=(Gh(),Je)}function kkn(e){var n,t,i;if(e==null)return null;for(n=null,t=0;t=ah?"error":i>=900?"warn":i>=800?"info":"log"),HPe(t,e.a),e.b&&nte(n,t,e.b,"Exception: ",!0))}function S(e,n){var t,i;return i=(!e.q&&(e.q=new $n),yn(e.q,n)),i??(t=n.wg(),_(t,4)&&(t==null?(!e.q&&(e.q=new $n),A2(e.q,n)):(!e.q&&(e.q=new $n),jt(e.q,n,t))),t)}function pr(){pr=W,$l=new y8("P1_CYCLE_BREAKING",0),g1=new y8("P2_LAYERING",1),wu=new y8("P3_NODE_ORDERING",2),Jc=new y8("P4_NODE_PLACEMENT",3),ec=new y8("P5_EDGE_ROUTING",4)}function sBe(e,n){var t,i,r,c,o;for(r=n==1?pq:gq,i=r.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),103),o=u(Ct(e.f.c,t),21).Kc();o.Ob();)c=u(o.Pb(),46),Tu(e.b.b,c.b),Tu(e.b.a,u(c.b,81).d)}function jkn(e,n){s6();var t;if(e.c==n.c){if(e.b==n.b||W3n(e.b,n.b)){if(t=thn(e.b)?1:-1,e.a&&!n.a)return t;if(!e.a&&n.a)return-t}return yu(e.b.g,n.b.g)}else return mi(e.c,n.c)}function Ekn(e,n){var t;On(n,"Hierarchical port position processing",1),t=e.b,t.c.length>0&&Sqe((Qe(0,t.c.length),u(t.c[0],29)),e),t.c.length>1&&Sqe(u(ve(t,t.c.length-1),29),e),Tn(n)}function oBe(e,n){var t,i,r;if(ine(e,n))return!0;for(i=new A(n);i.a=r||n<0)throw O(new qr(dK+n+Sd+r));if(t>=r||t<0)throw O(new qr(bK+t+Sd+r));return n!=t?i=(c=e.Ti(t),e.Hi(n,c),c):i=e.Oi(t),i}function aBe(e){var n,t,i;if(i=e,e)for(n=0,t=e.Ug();t;t=t.Ug()){if(++n>MB)return aBe(t);if(i=t,t==e)throw O(new tc("There is a cycle in the containment hierarchy of "+e))}return i}function i1(e){var n,t,i;for(i=new sd(mr,"[","]"),t=e.Kc();t.Ob();)n=t.Pb(),ja(i,X(n)===X(e)?"(this Collection)":n==null?Ou:uc(n));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function ine(e,n){var t,i;if(i=!1,n.gc()<2)return!1;for(t=0;ti&&(Gn(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return i>0||n1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=k.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e))}function r1(){r1=W,GQe=D(I(yr,1),Nc,61,0,[(ae(),tn),hn,In]),VQe=D(I(yr,1),Nc,61,0,[hn,In,sn]),zQe=D(I(yr,1),Nc,61,0,[In,sn,tn]),WQe=D(I(yr,1),Nc,61,0,[sn,tn,hn])}function Ckn(e,n,t,i){var r,c,o,f,l,a,h;if(o=e.c.d,f=e.d.d,o.j!=f.j)for(h=e.b,r=o.j,l=null;r!=f.j;)l=n==0?gM(r):SZ(r),c=tee(r,h.d[r.g],t),a=tee(l,h.d[l.g],t),st(i,Mt(c,a)),r=l}function Skn(e,n,t,i){var r,c,o,f,l;return o=v_e(e.a,n,t),f=u(o.a,19).a,c=u(o.b,19).a,i&&(l=u(S(n,(re(),Zu)),10),r=u(S(t,Zu),10),l&&r&&(COe(e.b,l,r),f+=e.b.i,c+=e.b.e)),f>c}function dBe(e){var n,t,i,r,c,o,f,l,a;for(this.a=qNe(e),this.b=new oe,t=e,i=0,r=t.length;iAL(e.d).c?(e.i+=e.g.c,bN(e.d)):AL(e.d).c>AL(e.g).c?(e.e+=e.d.c,bN(e.g)):(e.i+=VMe(e.g),e.e+=VMe(e.d),bN(e.g),bN(e.d))}function Akn(e,n,t){var i,r,c,o;for(c=n.q,o=n.r,new Z1((yf(),k1),n,c,1),new Z1(k1,c,o,1),r=new A(t);r.af&&(l=f/i),r>c&&(a=c/r),o=k.Math.min(l,a),e.a+=o*(n.a-e.a),e.b+=o*(n.b-e.b)}function Dkn(e,n,t,i,r){var c,o;for(o=!1,c=u(ve(t.b,0),33);UPn(e,n,c,i,r)&&(o=!0,h7n(t,c),t.b.c.length!=0);)c=u(ve(t.b,0),33);return t.b.c.length==0&&Z7(t.j,t),o&&BM(n.q),o}function Lkn(e,n){ip();var t,i,r,c;if(n.b<2)return!1;for(c=ut(n,0),t=u(ct(c),8),i=t;c.b!=c.d.c;){if(r=u(ct(c),8),p_(e,i,r))return!0;i=r}return!!p_(e,i,t)}function cne(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new js((uu(),A1),yb,e,0)),gC(e.o,n,i)):(c=u(ze((r=u(en(e,16),26),r||e.zh()),t),66),c.Nj().Rj(e,hu(e),t-vn(e.zh()),n,i))}function JN(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=u(e.sb,49).ih(e,1,E9,t)),n&&(t=u(n,49).gh(e,1,E9,t)),t=vZ(e,n,t),t&&t.Fi()):e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,4,n,n))}function $kn(e,n){var t,i,r,c;if(n)r=Ca(n,"x"),t=new H8e(e),Lv(t.a,(nn(r),r)),c=Ca(n,"y"),i=new V8e(e),Fv(i.a,(nn(c),c));else throw O(new dl("All edge sections need an end point."))}function Fkn(e,n){var t,i,r,c;if(n)r=Ca(n,"x"),t=new R8e(e),$v(t.a,(nn(r),r)),c=Ca(n,"y"),i=new K8e(e),Nv(i.a,(nn(c),c));else throw O(new dl("All edge sections need a start point."))}function Nkn(e,n){var t,i,r,c,o,f,l;for(i=Z$e(e),c=0,f=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<e)throw O(new rn("k must be smaller than n"));return n==0||n==e?1:e==0?0:Dee(e)/(Dee(n)*Dee(e-n))}function une(e,n){var t,i,r,c;for(t=new AU(e);t.g==null&&!t.c?oQ(t):t.g==null||t.i!=0&&u(t.g[t.i-1],47).Ob();)if(c=u(eP(t),56),_(c,160))for(i=u(c,160),r=0;r>4],n[t*2+1]=iI[c&15];return ko(n,0,n.length)}function ejn(e){GC();var n,t,i;switch(i=e.c.length,i){case 0:return ZUe;case 1:return n=u(iRe(new A(e)),42),Tbn(n.cd(),n.dd());default:return t=u(Uf(e,V(Ad,SP,42,e.c.length,0,1)),165),new yD(t)}}function njn(e){var n,t,i,r,c,o;for(n=new mg,t=new mg,Uh(n,e),Uh(t,e);t.b!=t.c;)for(r=u(v2(t),37),o=new A(r.a);o.a0&&gk(e,t,n),r):NEn(e,n,t)}function kBe(e,n,t){var i,r,c,o;if(n.b!=0){for(i=new Gt,o=ut(n,0);o.b!=o.d.c;)c=u(ct(o),86),gr(i,qJ(c)),r=c.e,r.a=u(S(c,(Oc(),XH)),19).a,r.b=u(S(c,Sae),19).a;kBe(e,i,Uc(t,i.b/e.a|0))}}function jBe(e,n){var t,i,r,c,o;if(e.e<=n||f2n(e,e.g,n))return e.g;for(c=e.r,i=e.g,o=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=k.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a))}function ujn(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b}}function EBe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e}function sjn(e){if(_(e,149))return FCn(u(e,149));if(_(e,229))return D6n(u(e,229));if(_(e,23))return Rkn(u(e,23));throw O(new rn(Uce+i1(new gs(D(I(pn,1),pe,1,5,[e])))))}function ojn(e,n,t,i,r){var c,o,f;for(c=!0,o=0;o>>r|t[o+i+1]<>>r,++o}return c}function lne(e,n,t,i){var r,c,o;if(n.k==(dn(),Fi)){for(c=new En(Sn(cc(n).a.Kc(),new J));Wn(c);)if(r=u(_n(c),17),o=r.c.i.k,o==Fi&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t)return!0}return!1}function fjn(e,n){var t,i,r,c;return n&=63,t=e.h&La,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),au(i&fs,r&fs,c&La)}function TBe(e,n,t,i){var r;this.b=i,this.e=e==(I0(),Zy),r=n[t],this.d=X1(ds,[ie,ta],[177,25],16,[r.length,r.length],2),this.a=X1(Ln,[ie,nt],[48,25],15,[r.length,r.length],2),this.c=new zee(n,t)}function ljn(e){var n,t,i;for(e.k=new hQ((ae(),D(I(yr,1),Nc,61,0,[pc,tn,hn,In,sn])).length,e.j.c.length),i=new A(e.j);i.a=t)return d3(e,n,i.p),!0;return!1}function SBe(e){var n;return e.Db&64?ZN(e):(n=new Ms(Nce),!e.a||Qn(Qn((n.a+=' "',n),e.a),'"'),Qn(c0(Qn(c0(Qn(c0(Qn(c0((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function MBe(e,n,t){var i,r,c,o,f;for(f=bu(e.e.Tg(),n),r=u(e.g,119),i=0,o=0;ot?mne(e,t,"start index"):n<0||n>t?mne(n,t,"end index"):_6("end index (%s) must not be less than start index (%s)",D(I(pn,1),pe,1,5,[le(n),le(e)]))}function ABe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&xBe(e,c,t));n.p=0}function Pe(e){var n;this.c=new Gt,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=u(mf(jh),9),new Ys(n,u(Uo(n,n.length),9),0)),this.g=e.f}function gjn(e){var n,t,i,r;for(n=Vh(Qn(new Ms("Predicates."),"and"),40),t=!0,r=new z4(e);r.b0?f[o-1]:V(ca,hh,10,0,0,1),r=f[o],a=o=0?e.Bh(r):Ene(e,i);else throw O(new rn(h1+i.ne()+by));else throw O(new rn(oWe+n+fWe));else io(e,t,i)}function ane(e){var n,t;if(t=null,n=!1,_(e,204)&&(n=!0,t=u(e,204).a),n||_(e,258)&&(n=!0,t=""+u(e,258).a),n||_(e,483)&&(n=!0,t=""+u(e,483).a),!n)throw O(new jD(Wce));return t}function LBe(e,n){var t,i;if(e.f){for(;n.Ob();)if(t=u(n.Pb(),72),i=t.ak(),_(i,99)&&u(i,18).Bb&Ic&&(!e.e||i.Gj()!=A4||i.aj()!=0)&&t.dd()!=null)return n.Ub(),!0;return!1}else return n.Ob()}function $Be(e,n){var t,i;if(e.f){for(;n.Sb();)if(t=u(n.Ub(),72),i=t.ak(),_(i,99)&&u(i,18).Bb&Ic&&(!e.e||i.Gj()!=A4||i.aj()!=0)&&t.dd()!=null)return n.Pb(),!0;return!1}else return n.Sb()}function hne(e,n,t){var i,r,c,o,f,l;for(l=bu(e.e.Tg(),n),i=0,f=e.i,r=u(e.g,119),o=0;o1&&(n.c[n.c.length]=c))}function yjn(e){var n,t,i,r;for(t=new Gt,gr(t,e.o),i=new sW;t.b!=0;)n=u(t.b==0?null:(mn(t.b!=0),no(t,t.a.a)),508),r=bVe(e,n,!0),r&&se(i.a,n);for(;i.a.c.length!=0;)n=u(sFe(i),508),bVe(e,n,!1)}function lh(){lh=W,Ghe=new f2(ey,0),sr=new f2("BOOLEAN",1),Dc=new f2("INT",2),j4=new f2("STRING",3),nc=new f2("DOUBLE",4),ii=new f2("ENUM",5),jm=new f2("ENUMSET",6),rl=new f2("OBJECT",7)}function I6(e,n){var t,i,r,c,o;i=k.Math.min(e.c,n.c),c=k.Math.min(e.d,n.d),r=k.Math.max(e.c+e.b,n.c+n.b),o=k.Math.max(e.d+e.a,n.d+n.a),r=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)fQ(this);this.b=n,this.a=null}function Ejn(e,n){var t,i;n.a?zCn(e,n):(t=u(LL(e.b,n.b),57),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Fc(n.b),i=u(DL(e.b,n.b),57),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Fc(i),kL(e.b,n.b))}function NBe(e,n){var t,i;if(t=u(Nr(e.b,n),124),u(u(Ct(e.r,n),21),84).dc()){t.n.b=0,t.n.c=0;return}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Hc((Ts(),Vd))&&sqe(e,n),i=Zyn(e,n),v_(e,n)==(Gg(),C1)&&(i+=2*e.w),t.a.a=i}function _Be(e,n){var t,i;if(t=u(Nr(e.b,n),124),u(u(Ct(e.r,n),21),84).dc()){t.n.d=0,t.n.a=0;return}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Hc((Ts(),Vd))&&oqe(e,n),i=e9n(e,n),v_(e,n)==(Gg(),C1)&&(i+=2*e.w),t.a.b=i}function Tjn(e,n){var t,i,r,c;for(c=new oe,i=new A(n);i.at.a&&(i.Hc((pw(),Kj))?r=(n.a-t.a)/2:i.Hc(qj)&&(r=n.a-t.a)),n.b>t.b&&(i.Hc((pw(),Vj))?c=(n.b-t.b)/2:i.Hc(Hj)&&(c=n.b-t.b)),ene(e,r,c)}function zBe(e,n,t,i,r,c,o,f,l,a,h,w,y){_(e.Cb,88)&&yw(is(u(e.Cb,88)),4),ru(e,t),e.f=o,n3(e,f),i3(e,l),e3(e,a),t3(e,h),uh(e,w),r3(e,y),ch(e,!0),th(e,r),e.ok(c),ad(e,n),i!=null&&(e.i=null,XS(e,i))}function WBe(e){var n,t;if(e.f){for(;e.n>0;){if(n=u(e.k.Xb(e.n-1),72),t=n.ak(),_(t,99)&&u(t,18).Bb&Ic&&(!e.e||t.Gj()!=A4||t.aj()!=0)&&n.dd()!=null)return!0;--e.n}return!1}else return e.n>0}function mne(e,n,t){if(e<0)return _6(OVe,D(I(pn,1),pe,1,5,[t,le(e)]));if(n<0)throw O(new rn(IVe+n));return _6("%s (%s) must not be greater than size (%s)",D(I(pn,1),pe,1,5,[t,le(e),le(n)]))}function vne(e,n,t,i,r,c){var o,f,l,a;if(o=i-t,o<7){j6n(n,t,i,c);return}if(l=t+r,f=i+r,a=l+(f-l>>1),vne(n,e,l,a,-r,c),vne(n,e,a,f,-r,c),c.ue(e[a-1],e[a])<=0){for(;t=0?e.sh(c,t):Xne(e,r,t);else throw O(new rn(h1+r.ne()+by));else throw O(new rn(oWe+n+fWe));else co(e,i,r,t)}function UBe(e){var n,t,i,r;if(t=u(e,49).qh(),t)try{if(i=null,n=g3((Fh(),Bo),xqe(C6n(t))),n&&(r=n.rh(),r&&(i=r.Wk(Dln(t.e)))),i&&i!=e)return UBe(i)}catch(c){if(c=Ht(c),!_(c,60))throw O(c)}return e}function du(e,n,t){var i,r,c,o;if(o=n==null?0:e.b.se(n),r=(i=e.a.get(o),i??new Array),r.length==0)e.a.set(o,r);else if(c=lFe(e,n,r),c)return c.ed(t);return Ut(r,r.length,new IT(n,t)),++e.c,eS(e.b),null}function XBe(e,n){var t,i;return hS(e.a),Vl(e.a,(JS(),mO),mO),Vl(e.a,k4,k4),i=new xi,mt(i,k4,(vM(),eV)),X(Ee(n,(ww(),iV)))!==X((N7(),vO))&&mt(i,k4,JH),mt(i,k4,ZH),XTe(e.a,i),t=mP(e.a,n),t}function YBe(e){if(!e)return Dke(),oXe;var n=e.valueOf?e.valueOf():e;if(n!==e){var t=HK[typeof n];return t?t(n):aZ(typeof n)}else return e instanceof Array||e instanceof k.Array?new gz(e):new e8(e)}function QBe(e,n,t){var i,r,c;switch(c=e.o,i=u(Nr(e.p,t),244),r=i.i,r.b=ok(i),r.a=sk(i),r.b=k.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}I_(i),D_(i)}function JBe(e,n,t){var i,r,c;switch(c=e.o,i=u(Nr(e.p,t),244),r=i.i,r.b=ok(i),r.a=sk(i),r.a=k.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}I_(i),D_(i)}function Bjn(e,n){var t,i,r,c,o;if(!n.dc()){if(r=u(n.Xb(0),128),n.gc()==1){CKe(e,r,r,1,0,n);return}for(t=1;t0)try{r=Fs(n,cr,vt)}catch(c){throw c=Ht(c),_(c,127)?(i=c,O(new xS(i))):O(c)}return t=(!e.a&&(e.a=new fD(e)),e.a),r=0?u(K(t,r),56):null}function Hjn(e,n){if(e<0)return _6(OVe,D(I(pn,1),pe,1,5,["index",le(e)]));if(n<0)throw O(new rn(IVe+n));return _6("%s (%s) must be less than size (%s)",D(I(pn,1),pe,1,5,["index",le(e),le(n)]))}function Vjn(e){var n,t,i,r,c;if(e==null)return Ou;for(c=new sd(mr,"[","]"),t=e,i=0,r=t.length;i0)for(o=e.c.d,f=e.d.d,r=gl(Ki(new je(f.a,f.b),o),1/(i+1)),c=new je(o.a,o.b),t=new A(e.a);t.a=0?e._g(t,!0,!0):V0(e,r,!0),153)),u(i,215).ol(n);else throw O(new rn(h1+n.ne()+by))}function Tne(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=oi(k.Math.floor(k.Math.log(e)/.6931471805599453)),(!n||e!=k.Math.pow(2,t))&&++t,t):T$e(Au(e))}function iEn(e){var n,t,i,r,c,o,f;for(c=new wa,t=new A(e);t.a2&&f.e.b+f.j.b<=2&&(r=f,i=o),c.a.zc(r,c),r.q=i);return c}function uRe(e,n){var t,i,r;return i=new xa(e),Jr(i,n),te(i,(re(),_x),n),te(i,(be(),ti),(Wi(),nu)),te(i,Fl,(Xl(),AO)),q1(i,(dn(),hi)),t=new qc,ac(t,i),Ci(t,(ae(),sn)),r=new qc,ac(r,i),Ci(r,hn),i}function sRe(e){switch(e.g){case 0:return new ED((I0(),Ij));case 1:return new j6e;case 2:return new A6e;default:throw O(new rn("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function oRe(e,n){var t,i,r,c,o;for(e.c[n.p]=!0,se(e.a,n),o=new A(n.j);o.a=c)o.$b();else for(r=o.Kc(),i=0;i0?jW():o<0&&hRe(e,n,-o),!0):!1}function sk(e){var n,t,i,r,c,o,f;if(f=0,e.b==0){for(o=UNe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(f+=t,++n);n>1&&(f+=e.c*(n-1))}else f=Kke(JLe(WC(Ft(u$(e.a),new FE),new NE)));return f>0?f+e.n.d+e.n.a:0}function ok(e){var n,t,i,r,c,o,f;if(f=0,e.b==0)f=Kke(JLe(WC(Ft(u$(e.a),new VI),new $E)));else{for(o=XNe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(f+=t,++n);n>1&&(f+=e.c*(n-1))}return f>0?f+e.n.b+e.n.c:0}function aEn(e,n){var t,i,r,c;for(c=u(Nr(e.b,n),124),t=c.a,r=u(u(Ct(e.r,n),21),84).Kc();r.Ob();)i=u(r.Pb(),111),i.c&&(t.a=k.Math.max(t.a,fY(i.c)));if(t.a>0)switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function hEn(e,n){var t,i,r;return t=u(S(n,(Mf(),J3)),19).a-u(S(e,J3),19).a,t==0?(i=Ki(kc(u(S(e,(Yh(),hj)),8)),u(S(e,Oy),8)),r=Ki(kc(u(S(n,hj),8)),u(S(n,Oy),8)),mi(i.a*i.b,r.a*r.b)):t}function dEn(e,n){var t,i,r;return t=u(S(n,(G0(),pO)),19).a-u(S(e,pO),19).a,t==0?(i=Ki(kc(u(S(e,(Oc(),$j)),8)),u(S(e,r9),8)),r=Ki(kc(u(S(n,$j),8)),u(S(n,r9),8)),mi(i.a*i.b,r.a*r.b)):t}function dRe(e){var n,t;return t=new Ih,t.a+="e_",n=j4n(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(Qn((t.a+=" ",t),KM(e.c)),Qn(xc((t.a+="[",t),e.c.i),"]"),Qn((t.a+=nR,t),KM(e.d)),Qn(xc((t.a+="[",t),e.d.i),"]")),t.a}function bRe(e){switch(e.g){case 0:return new T6e;case 1:return new C6e;case 2:return new E6e;case 3:return new S6e;default:throw O(new rn("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Sne(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=k.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=k.Math.max(0,-e.b-i);break;case 2:c=k.Math.max(0,-e.a-i);break;case 4:c=k.Math.max(0,n.a+e.a-(t.a+i))}return c}function bEn(e,n,t){var i,r,c,o,f;if(t)for(r=t.a.length,i=new Y1(r),f=(i.b-i.a)*i.c<0?(Nh(),L1):new Kh(i);f.Ob();)o=u(f.Pb(),19),c=Tv(t,o.a),Kce in c.a||aK in c.a?CMn(e,c,n):OIn(e,c,n),Jhn(u(yn(e.b,c3(c)),79))}function Mne(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=jo(e),n&&(jr(),n.Cj()==lUe)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function wEn(e,n){var t,i,r,c,o;for(i=(!n.s&&(n.s=new fe($u,n,21,17)),n.s),c=null,r=0,o=i.i;r=0&&i=0?e._g(t,!0,!0):V0(e,r,!0),153)),u(i,215).ll(n);throw O(new rn(h1+n.ne()+tK))}function yEn(){HW();var e;return Xrn?u(g3((Fh(),Bo),Po),1939):(ot(Ad,new R4e),nOn(),e=u(_(zc((Fh(),Bo),Po),547)?zc(Bo,Po):new eAe,547),Xrn=!0,QIn(e),tDn(e),jt((qW(),Tde),e,new t4e),Vr(Bo,Po,e),e)}function kEn(e,n){var t,i,r,c;e.j=-1,ps(e.e)?(t=e.i,c=e.i!=0,o7(e,n),i=new Ea(e.e,3,e.c,null,n,t,c),r=n.Qk(e.e,e.c,null),r=z_e(e,n,r),r?(r.Ei(i),r.Fi()):yt(e.e,i)):(o7(e,n),r=n.Qk(e.e,e.c,null),r&&r.Fi())}function QM(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length)return-1;for(t=(Gn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));)t=(Gn(i,e.length),e.charCodeAt(i));return i>n[0]?n[0]=i:r=-1,r}function jEn(e){var n,t,i,r,c;return r=u(e.a,19).a,c=u(e.b,19).a,t=r,i=c,n=k.Math.max(k.Math.abs(r),k.Math.abs(c)),r<=0&&r==c?(t=0,i=c-1):r==-n&&c!=n?(t=c,i=r,c>=0&&++t):(t=-c,i=r),new Xi(le(t),le(i))}function EEn(e,n,t,i){var r,c,o,f,l,a;for(r=0;r=0&&a>=0&&l=e.i)throw O(new qr(dK+n+Sd+e.i));if(t>=e.i)throw O(new qr(bK+t+Sd+e.i));return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-Aw,n=i>>16&4,t+=n,e<<=n,i=e-El,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n)}function CEn(e){j2();var n,t,i,r;for(YA=new oe,oq=new $n,sq=new oe,n=(!e.a&&(e.a=new fe(Qt,e,10,11)),e.a),iIn(n),r=new jn(n);r.e!=r.i.gc();)i=u(Pn(r),33),rc(YA,i,0)==-1&&(t=new oe,se(sq,t),SNe(i,t));return sq}function SEn(e,n,t){var i,r,c,o;e.a=t.b.d,_(n,352)?(r=tp(u(n,79),!1,!1),c=rk(r),i=new Qye(e),er(c,i),vk(c,r),n.We((dt(),Kp))!=null&&er(u(n.We(Kp),74),i)):(o=u(n,470),o.Hg(o.Dg()+e.a.a),o.Ig(o.Eg()+e.a.b))}function gRe(e,n){var t,i,r,c,o,f,l,a;for(a=ee(he(S(n,(be(),Wy)))),l=e[0].n.a+e[0].o.a+e[0].d.c+a,f=1;f=0?t:(f=X5(Ki(new je(o.c+o.b/2,o.d+o.a/2),new je(c.c+c.b/2,c.d+c.a/2))),-(_qe(c,o)-1)*f)}function PEn(e,n,t){var i;ri(new Ue(null,(!t.a&&(t.a=new fe(zt,t,6,6)),new Ye(t.a,16))),new eTe(e,n)),ri(new Ue(null,(!t.n&&(t.n=new fe(oc,t,1,7)),new Ye(t.n,16))),new nTe(e,n)),i=u(Ee(t,(dt(),Kp)),74),i&&IJ(i,e,n)}function V0(e,n,t){var i,r,c;if(c=up((Hu(),tr),e.Tg(),n),c)return jr(),u(c,66).Oj()||(c=C2(zr(tr,c))),r=(i=e.Yg(c),u(i>=0?e._g(i,!0,!0):V0(e,c,!0),153)),u(r,215).hl(n,t);throw O(new rn(h1+n.ne()+tK))}function Ane(e,n,t,i){var r,c,o,f,l;if(r=e.d[n],r){if(c=r.g,l=r.i,i!=null){for(f=0;f=t&&(i=n,a=(l.c+l.a)/2,o=a-t,l.c<=a-t&&(r=new RL(l.c,o),Xb(e,i++,r)),f=a+t,f<=l.a&&(c=new RL(f,l.a),nw(i,e.c.length),b5(e.c,i,c)))}function xne(e){var n;if(!e.c&&e.g==null)e.d=e.si(e.f),Bn(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=u(e.g[e.i-1],47)}return n==e.b&&null.km>=null.jm()?(eP(e),xne(e)):n.Ob()}function IEn(e,n,t){var i,r,c,o,f;if(f=t,!f&&(f=sY(new Wm,0)),On(f,DGe,1),_He(e.c,n),o=zxn(e.a,n),o.gc()==1)yHe(u(o.Xb(0),37),f);else for(c=1/o.gc(),r=o.Kc();r.Ob();)i=u(r.Pb(),37),yHe(i,Uc(f,c));Rln(e.a,o,n),zSn(n),Tn(f)}function vRe(e){if(this.a=e,e.c.i.k==(dn(),hi))this.c=e.c,this.d=u(S(e.c.i,(re(),Sc)),61);else if(e.d.i.k==hi)this.c=e.d,this.d=u(S(e.d.i,(re(),Sc)),61);else throw O(new rn("Edge "+e+" is not an external edge."))}function yRe(e,n){var t,i,r;r=e.b,e.b=n,e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,3,r,e.b)),n?n!=e&&(ru(e,n.zb),yF(e,n.d),t=(i=n.c,i??n.zb),jF(e,t==null||Ke(t,n.zb)?null:t)):(ru(e,null),yF(e,0),jF(e,null))}function kRe(e){var n,t;if(e.f){for(;e.n=o)throw O(new Ub(n,o));return r=t[n],o==1?i=null:(i=V(VV,vK,415,o-1,0,1),Hc(t,0,i,0,n),c=o-n-1,c>0&&Hc(t,n+1,i,n,c)),u3(e,i),VBe(e,n,r),r}function H2(){H2=W,xm=u(K(Q((OW(),Lc).qb),6),34),Am=u(K(Q(Lc.qb),3),34),YV=u(K(Q(Lc.qb),4),34),QV=u(K(Q(Lc.qb),5),18),GM(xm),GM(Am),GM(YV),GM(QV),Zrn=new gs(D(I($u,1),mp,170,0,[xm,Am]))}function CRe(e,n){var t;this.d=new Q4,this.b=n,this.e=new Hr(n.qf()),t=e.u.Hc((Ju(),Zj)),e.u.Hc(Ka)?e.D?this.a=t&&!n.If():this.a=!0:e.u.Hc(M1)?t?this.a=!(n.zf().Kc().Ob()||n.Bf().Kc().Ob()):this.a=!1:this.a=!1}function SRe(e,n){var t,i,r,c;for(t=e.o.a,c=u(u(Ct(e.r,n),21),84).Kc();c.Ob();)r=u(c.Pb(),111),r.e.a=(i=r.b,i.Xe((dt(),as))?i.Hf()==(ae(),sn)?-i.rf().a-ee(he(i.We(as))):t+ee(he(i.We(as))):i.Hf()==(ae(),sn)?-i.rf().a:t)}function MRe(e,n){var t,i,r,c;t=u(S(e,(be(),Ks)),103),c=u(Ee(n,w4),61),r=u(S(e,ti),98),r!=(Wi(),cl)&&r!=S1?c==(ae(),pc)&&(c=Pte(n,t),c==pc&&(c=F2(t))):(i=vHe(n),i>0?c=F2(t):c=q7(F2(t))),Br(n,w4,c)}function FEn(e,n){var t,i,r,c,o;for(o=e.j,n.a!=n.b&&Li(o,new $2e),r=o.c.length/2|0,i=0;i0&&gk(e,t,n),c):i.a!=null?(gk(e,n,t),-1):r.a!=null?(gk(e,t,n),1):0}function PRe(e,n){var t,i,r,c;e.ej()?(t=e.Vi(),c=e.fj(),++e.j,e.Hi(t,e.oi(t,n)),i=e.Zi(3,null,n,t,c),e.bj()?(r=e.cj(n,null),r?(r.Ei(i),r.Fi()):e.$i(i)):e.$i(i)):(VPe(e,n),e.bj()&&(r=e.cj(n,null),r&&r.Fi()))}function JM(e,n){var t,i,r,c,o;for(o=bu(e.e.Tg(),n),r=new zE,t=u(e.g,119),c=e.i;--c>=0;)i=t[c],o.rl(i.ak())&&Bn(r,i);!pVe(e,r)&&ps(e.e)&&zm(e,n.$j()?Wh(e,6,n,(He(),Sr),null,-1,!1):Wh(e,n.Kj()?2:1,n,null,null,-1,!1))}function b3(){b3=W;var e,n;for(sm=V(yp,ie,91,32,0,1),Py=V(yp,ie,91,32,0,1),e=1,n=0;n<=18;n++)sm[n]=W7(e),Py[n]=W7(pa(e,n)),e=rr(e,5);for(;no)||n.q&&(i=n.C,o=i.c.c.a-i.o.a/2,r=i.n.a-t,r>o)))}function BEn(e,n){var t;On(n,"Partition preprocessing",1),t=u(Os(Ft(hc(Ft(new Ue(null,new Ye(e.a,16)),new ope),new fpe),new lpe),id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[(Wf(),Rs)]))),15),ri(t.Oc(),new ape),Tn(n)}function ARe(e){$$();var n,t,i,r,c,o,f;for(t=new nd,r=new A(e.e.b);r.a1?e.e*=ee(e.a):e.f/=ee(e.a),y5n(e),Cyn(e),sMn(e),te(e.b,(C6(),XA),e.g)}function DRe(e,n,t){var i,r,c,o,f,l;for(i=0,l=t,n||(i=t*(e.c.length-1),l*=-1),c=new A(e);c.a=0?(n||(n=new r5,i>0&&Fr(n,e.substr(0,i))),n.a+="\\",pv(n,t&li)):n&&pv(n,t&li);return n?n.a:e}function UEn(e){var n;if(!e.a)throw O(new tc("IDataType class expected for layout option "+e.f));if(n=tmn(e.a),n==null)throw O(new tc("Couldn't create new instance of property '"+e.f+"'. "+Oze+(ga(oE),oE.k)+Ice));return u(n,414)}function l_(e){var n,t,i,r,c;return c=e.eh(),c&&c.kh()&&(r=e1(e,c),r!=c)?(t=e.Vg(),i=(n=e.Vg(),n>=0?e.Qg(null):e.eh().ih(e,-1-n,null,null)),e.Rg(u(r,49),t),i&&i.Fi(),e.Lg()&&e.Mg()&&t>-1&&yt(e,new $i(e,9,t,c,r)),r):c}function _Re(e){var n,t,i,r,c,o,f,l;for(o=0,c=e.f.e,i=0;i>5,r>=e.d)return e.e<0;if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=i$e(e),r>16)),15).Xc(c),f0&&(!(Bh(e.a.c)&&n.n.d)&&!(uv(e.a.c)&&n.n.b)&&(n.g.d+=k.Math.max(0,i/2-.5)),!(Bh(e.a.c)&&n.n.a)&&!(uv(e.a.c)&&n.n.c)&&(n.g.a-=i-1))}function KRe(e){var n,t,i,r,c;if(r=new oe,c=Lqe(e,r),n=u(S(e,(re(),Zu)),10),n)for(i=new A(n.j);i.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(o=i?La:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(o=i?La:0,c=i?fs:0,r=t>>n-44),au(r&fs,c&fs,o&La)}function a_(e){var n,t,i,r,c,o;for(this.c=new oe,this.d=e,i=ei,r=ei,n=bi,t=bi,o=ut(e,0);o.b!=o.d.c;)c=u(ct(o),8),i=k.Math.min(i,c.a),r=k.Math.min(r,c.b),n=k.Math.max(n,c.a),t=k.Math.max(t,c.b);this.a=new Qs(i,r,n-i,t-r)}function VRe(e,n){var t,i,r,c,o,f;for(c=new A(e.b);c.a0&&_(n,42)&&(e.a.qj(),a=u(n,42),l=a.cd(),c=l==null?0:Bt(l),o=jX(e.a,c),t=e.a.d[o],t)){for(i=u(t.g,367),h=t.i,f=0;f=2)for(t=r.Kc(),n=he(t.Pb());t.Ob();)c=n,n=he(t.Pb()),i=k.Math.min(i,(nn(n),n-(nn(c),c)));return i}function cTn(e,n){var t,i,r,c,o;i=new Gt,ui(i,n,i.c.b,i.c);do for(t=(mn(i.b!=0),u(no(i,i.a.a),86)),e.b[t.g]=1,c=ut(t.d,0);c.b!=c.d.c;)r=u(ct(c),188),o=r.c,e.b[o.g]==1?st(e.a,r):e.b[o.g]==2?e.b[o.g]=1:ui(i,o,i.c.b,i.c);while(i.b!=0)}function uTn(e,n){var t,i,r;if(X(n)===X(Nn(e)))return!0;if(!_(n,15)||(i=u(n,15),r=e.gc(),r!=i.gc()))return!1;if(_(i,54)){for(t=0;t0&&(r=t),o=new A(e.f.e);o.a0?(n-=1,t-=1):i>=0&&r<0?(n+=1,t+=1):i>0&&r>=0?(n-=1,t+=1):(n+=1,t-=1),new Xi(le(n),le(t))}function TTn(e,n){return e.cn.c?1:e.bn.b?1:e.a!=n.a?Bt(e.a)-Bt(n.a):e.d==(r6(),n9)&&n.d==e9?-1:e.d==e9&&n.d==n9?1:0}function QRe(e,n){var t,i,r,c,o;return c=n.a,c.c.i==n.b?o=c.d:o=c.c,c.c.i==n.b?i=c.c:i=c.d,r=J6n(e.a,o,i),r>0&&r0):r<0&&-r0):!1}function CTn(e,n,t,i){var r,c,o,f,l,a,h,w;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,w=new A(e.c);w.a>24;return o}function MTn(e){if(e.pe()){var n=e.c;n.qe()?e.o="["+n.n:n.pe()?e.o="["+n.ne():e.o="[L"+n.ne()+";",e.b=n.me()+"[]",e.k=n.oe()+"[]";return}var t=e.j,i=e.d;i=i.split("/"),e.o=wN(".",[t,wN("$",i)]),e.b=wN(".",[t,wN(".",i)]),e.k=i[i.length-1]}function PTn(e,n){var t,i,r,c,o;for(o=null,c=new A(e.e.a);c.a=0;n-=2)for(t=0;t<=n;t+=2)(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);e.c=!0}}function JRe(e,n){var t,i,r,c,o,f,l,a;for(o=n==1?pq:gq,c=o.a.ec().Kc();c.Ob();)for(r=u(c.Pb(),103),l=u(Ct(e.f.c,r),21).Kc();l.Ob();)switch(f=u(l.Pb(),46),i=u(f.b,81),a=u(f.a,189),t=a.c,r.g){case 2:case 1:i.g.d+=t;break;case 4:case 3:i.g.c+=t}}function OTn(e,n){var t,i,r,c,o,f,l,a,h;for(a=-1,h=0,o=e,f=0,l=o.length;f0&&++h;++a}return h}function nf(e){var n,t;return t=new Ms(Lh(e.gm)),t.a+="@",Qn(t,(n=Bt(e)>>>0,n.toString(16))),e.kh()?(t.a+=" (eProxyURI: ",xc(t,e.qh()),e.$g()&&(t.a+=" eClass: ",xc(t,e.$g())),t.a+=")"):e.$g()&&(t.a+=" (eClass: ",xc(t,e.$g()),t.a+=")"),t.a}function F6(e){var n,t,i,r;if(e.e)throw O(new tc((ga(YK),FB+YK.k+NB)));for(e.d==(xr(),ua)&&yP(e,Io),t=new A(e.a.a);t.a>24}return t}function LTn(e,n,t){var i,r,c;if(r=u(Nr(e.i,n),306),!r)if(r=new ZDe(e.d,n,t),p2(e.i,n,r),ZZ(n))Yhn(e.a,n.c,n.b,r);else switch(c=kjn(n),i=u(Nr(e.p,c),244),c.g){case 1:case 3:r.j=!0,kD(i,n.b,r);break;case 4:case 2:r.k=!0,kD(i,n.c,r)}return r}function $Tn(e,n,t,i){var r,c,o,f,l,a;if(f=new zE,l=bu(e.e.Tg(),n),r=u(e.g,119),jr(),u(n,66).Oj())for(o=0;o=0)return r;for(c=1,f=new A(n.j);f.a0&&n.ue((Qe(r-1,e.c.length),u(e.c[r-1],10)),c)>0;)Zs(e,r,(Qe(r-1,e.c.length),u(e.c[r-1],10))),--r;Qe(r,e.c.length),e.c[r]=c}t.a=new $n,t.b=new $n}function FTn(e,n,t){var i,r,c,o,f,l,a,h;for(h=(i=u(n.e&&n.e(),9),new Ys(i,u(Uo(i,i.length),9),0)),l=Tw(t,"[\\[\\]\\s,]+"),c=l,o=0,f=c.length;o0&&(!(Bh(e.a.c)&&n.n.d)&&!(uv(e.a.c)&&n.n.b)&&(n.g.d-=k.Math.max(0,i/2-.5)),!(Bh(e.a.c)&&n.n.a)&&!(uv(e.a.c)&&n.n.c)&&(n.g.a+=k.Math.max(0,i-1)))}function iKe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2)n==(ae(),tn)||n==hn?(BS(u(w6(e),15),($s(),sa)),BS(u(w6(e),15),T1)):(BS(u(w6(e),15),($s(),T1)),BS(u(w6(e),15),sa));else for(r=new Q5(e);r.a!=r.b;)i=u(dM(r),15),BS(i,t)}function _Tn(e,n){var t,i,r,c,o,f,l;for(r=av(new Hz(e)),f=new Yi(r,r.c.length),c=av(new Hz(n)),l=new Yi(c,c.c.length),o=null;f.b>0&&l.b>0&&(t=(mn(f.b>0),u(f.a.Xb(f.c=--f.b),33)),i=(mn(l.b>0),u(l.a.Xb(l.c=--l.b),33)),t==i);)o=t;return o}function ss(e,n){var t,i,r,c,o,f;return c=e.a*IB+e.b*1502,f=e.b*IB+11,t=k.Math.floor(f*Lk),c+=t,f-=t*lie,c%=lie,e.a=c,e.b=f,n<=24?k.Math.floor(e.a*Yue[n]):(r=e.a*(1<=2147483648&&(i-=PB),i)}function rKe(e,n,t){var i,r,c,o;Pxe(e,n)>Pxe(e,t)?(i=bc(t,(ae(),hn)),e.d=i.dc()?0:GL(u(i.Xb(0),11)),o=bc(n,sn),e.b=o.dc()?0:GL(u(o.Xb(0),11))):(r=bc(t,(ae(),sn)),e.d=r.dc()?0:GL(u(r.Xb(0),11)),c=bc(n,hn),e.b=c.dc()?0:GL(u(c.Xb(0),11)))}function cKe(e){var n,t,i,r,c,o,f;if(e&&(n=e.Hh(Po),n&&(o=Vn(Tf((!n.b&&(n.b=new ms((qe(),kr),Mc,n)),n.b),"conversionDelegates")),o!=null))){for(f=new oe,i=Tw(o,"\\w+"),r=0,c=i.length;re.c));o++)r.a>=e.s&&(c<0&&(c=o),f=o);return l=(e.s+e.c)/2,c>=0&&(i=kMn(e,n,c,f),l=xan((Qe(i,n.c.length),u(n.c[i],329))),OEn(n,i,t)),l}function b_(){b_=W,$tn=new Er((dt(),Em),1.3),lhe=l1e,phe=new l0(15),qtn=new Er(Kd,phe),Vtn=new Er(qd,15),Ftn=OO,Btn=Rd,Rtn=Hp,Ktn=E1,_tn=qp,bhe=Uj,Htn=ig,ghe=(Bne(),Itn),dhe=xtn,whe=Otn,mhe=Dtn,ahe=Atn,hhe=IO,Ntn=h1e,Nj=Ptn,fhe=Mtn,vhe=Ltn}function Rn(e,n,t){var i,r,c,o,f,l,a;for(o=(c=new uz,c),SJ(o,(nn(n),n)),a=(!o.b&&(o.b=new ms((qe(),kr),Mc,o)),o.b),l=1;l0&&bxn(this,r)}function zne(e,n,t,i,r,c){var o,f,l;if(!r[n.b]){for(r[n.b]=!0,o=i,!o&&(o=new yS),se(o.e,n),l=c[n.b].Kc();l.Ob();)f=u(l.Pb(),282),!(f.d==t||f.c==t)&&(f.c!=n&&zne(e,f.c,n,o,r,c),f.d!=n&&zne(e,f.d,n,o,r,c),se(o.c,f),pi(o.d,f.b));return o}return null}function KTn(e){var n,t,i,r,c,o,f;for(n=0,r=new A(e.e);r.a=2}function qTn(e,n){var t,i,r,c;for(On(n,"Self-Loop pre-processing",1),i=new A(e.a);i.a1||(n=Nt(ff,D(I(Lr,1),ce,93,0,[Ra,lf])),M7(cS(n,e))>1)||(i=Nt(hf,D(I(Lr,1),ce,93,0,[oa,Lo])),M7(cS(i,e))>1))}function GTn(e,n){var t,i,r;return t=n.Hh(e.a),t&&(r=Vn(Tf((!t.b&&(t.b=new ms((qe(),kr),Mc,t)),t.b),"affiliation")),r!=null)?(i=sC(r,xu(35)),i==-1?nN(e,H5(e,Is(n.Hj())),r):i==0?nN(e,null,r.substr(1)):nN(e,r.substr(0,i),r.substr(i+1))):null}function zTn(e){var n,t,i;try{return e==null?Ou:uc(e)}catch(r){if(r=Ht(r),_(r,102))return n=r,i=Lh(cs(e))+"@"+(t=(Rl(),cee(e)>>>0),t.toString(16)),Lyn(D4n(),(iv(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+Lh(n.gm)+">";throw O(r)}}function oKe(e){switch(e.g){case 0:return new w6e;case 1:return new l6e;case 2:return new lEe;case 3:return new hme;case 4:return new OSe;case 5:return new g6e;default:throw O(new rn("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function Wne(e,n,t){var i,r,c;for(c=new A(e.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&st(n,i.b));for(r=new A(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&st(t,i.a))}function eP(e){var n,t,i,r,c;if(e.g==null&&(e.d=e.si(e.f),Bn(e,e.d),e.c))return c=e.f,c;if(n=u(e.g[e.i-1],47),r=n.Pb(),e.e=n,t=e.si(r),t.Ob())e.d=t,Bn(e,t);else for(e.d=null;!n.Ob()&&(Ut(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],47),n=i;return r}function WTn(e,n){var t,i,r,c,o,f;if(i=n,r=i.ak(),Ia(e.e,r)){if(r.hi()&&gS(e,r,i.dd()))return!1}else for(f=bu(e.e.Tg(),r),t=u(e.g,119),c=0;c1||t>1)return 2;return n+t==1?2:0}function lKe(e,n,t){var i,r,c,o,f;for(On(t,"ELK Force",1),ke(ye(Ee(n,(Mf(),Bse))))||iS((i=new c8((Rb(),new Fb(n))),i)),f=R$e(n),m8n(f),Q4n(e,u(S(f,_se),424)),o=Zqe(e.a,f),c=o.Kc();c.Ob();)r=u(c.Pb(),231),DMn(e.b,r,Uc(t,1/o.gc()));f=hVe(o),fVe(f),Tn(t)}function eCn(e,n){var t,i,r,c,o;if(On(n,"Breaking Point Processor",1),yOn(e),ke(ye(S(e,(be(),zle))))){for(r=new A(e.b);r.a=0?e._g(i,!0,!0):V0(e,c,!0),153)),u(r,215).ml(n,t)}else throw O(new rn(h1+n.ne()+by))}function rCn(e,n){var t,i,r,c,o;for(t=new oe,r=hc(new Ue(null,new Ye(e,16)),new cve),c=hc(new Ue(null,new Ye(e,16)),new uve),o=Ovn(zmn(WC(NCn(D(I(dDn,1),pe,833,0,[r,c])),new sve))),i=1;i=2*n&&se(t,new RL(o[i-1]+n,o[i]-n));return t}function cCn(e,n,t){On(t,"Eades radial",1),t.n&&n&&Yo(t,Qo(n),(Es(),Gs)),e.d=u(Ee(n,(N5(),s9)),33),e.c=ee(he(Ee(n,(ww(),kO)))),e.e=TN(u(Ee(n,Fj),293)),e.a=_6n(u(Ee(n,Yae),426)),e.b=u7n(u(Ee(n,Xae),340)),R8n(e),t.n&&n&&Yo(t,Qo(n),(Es(),Gs))}function uCn(e,n,t){var i,r,c,o,f,l,a,h;if(t)for(c=t.a.length,i=new Y1(c),f=(i.b-i.a)*i.c<0?(Nh(),L1):new Kh(i);f.Ob();)o=u(f.Pb(),19),r=Tv(t,o.a),r&&(l=rmn(e,(a=(r0(),h=new lW,h),n&&Yne(a,n),a),r),f6(l,ya(r,Il)),WM(r,l),yne(r,l),_F(e,r,l))}function tP(e){var n,t,i,r,c,o;if(!e.j){if(o=new V3e,n=M9,c=n.a.zc(e,n),c==null){for(i=new jn(Yr(e));i.e!=i.i.gc();)t=u(Pn(i),26),r=tP(t),Jt(o,r),Bn(o,t);n.a.Bc(e)!=null}lw(o),e.j=new Cg((u(K(Q((Gh(),Je).o),11),18),o.i),o.g),is(e).b&=-33}return e.j}function sCn(e){var n,t,i,r;if(e==null)return null;if(i=Yc(e,!0),r=nj.length,Ke(i.substr(i.length-r,r),nj)){if(t=i.length,t==4){if(n=(Gn(0,i.length),i.charCodeAt(0)),n==43)return Vde;if(n==45)return gcn}else if(t==3)return Vde}return new Zz(i)}function oCn(e){var n,t,i;return t=e.l,t&t-1||(i=e.m,i&i-1)||(n=e.h,n&n-1)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?vJ(t):n==0&&i!=0&&t==0?vJ(i)+22:n!=0&&i==0&&t==0?vJ(n)+44:-1}function fCn(e,n){var t,i,r,c,o;for(On(n,"Edge joining",1),t=ke(ye(S(e,(be(),jH)))),r=new A(e.b);r.a1)for(r=new A(e.a);r.a0),c.a.Xb(c.c=--c.b),Wb(c,r),mn(c.b3&&Ul(e,0,n-3))}function dCn(e){var n,t,i,r;return X(S(e,(be(),Uw)))===X((Ma(),Eh))?!e.e&&X(S(e,Cj))!==X((Gv(),mj)):(i=u(S(e,lH),292),r=ke(ye(S(e,aH)))||X(S(e,Vy))===X((I2(),pj)),n=u(S(e,fle),19).a,t=e.a.c.length,!r&&i!=(Gv(),mj)&&(n==0||n>t))}function bCn(e){var n,t;for(t=0;t0);t++);if(t>0&&t0);n++);return n>0&&t>16!=6&&n){if(o3(e,n))throw O(new rn(wy+xRe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?jee(e,i):e.Cb.ih(e,-1-t,null,i))),n&&(i=_2(n,e,6,i)),i=yX(e,n,i),i&&i.Fi()}else e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,6,n,n))}function Yne(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(o3(e,n))throw O(new rn(wy+hqe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Tee(e,i):e.Cb.ih(e,-1-t,null,i))),n&&(i=_2(n,e,9,i)),i=kX(e,n,i),i&&i.Fi()}else e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,9,n,n))}function g_(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(o3(e,n))throw O(new rn(wy+aHe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?See(e,i):e.Cb.ih(e,-1-t,null,i))),n&&(i=_2(n,e,12,i)),i=vX(e,n,i),i&&i.Fi()}else e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,3,n,n))}function p3(e){var n,t,i,r,c;if(i=jo(e),c=e.j,c==null&&i)return e.$j()?null:i.zj();if(_(i,148)){if(t=i.Aj(),t&&(r=t.Nh(),r!=e.i)){if(n=u(i,148),n.Ej())try{e.g=r.Kh(n,c)}catch(o){if(o=Ht(o),_(o,78))e.g=null;else throw O(o)}e.i=r}return e.g}return null}function dKe(e){var n;return n=new oe,se(n,new s2(new je(e.c,e.d),new je(e.c+e.b,e.d))),se(n,new s2(new je(e.c,e.d),new je(e.c,e.d+e.a))),se(n,new s2(new je(e.c+e.b,e.d+e.a),new je(e.c+e.b,e.d))),se(n,new s2(new je(e.c+e.b,e.d+e.a),new je(e.c,e.d+e.a))),n}function bKe(e,n,t,i){var r,c,o;if(o=Lee(n,t),i.c[i.c.length]=n,e.j[o.p]==-1||e.j[o.p]==2||e.a[n.p])return i;for(e.j[o.p]=-1,c=new En(Sn(Pa(o).a.Kc(),new J));Wn(c);)if(r=u(_n(c),17),!(!(!wr(r)&&!(!wr(r)&&r.c.i.c==r.d.i.c))||r==n))return bKe(e,r,o,i);return i}function wCn(e,n,t){var i,r,c;for(c=n.a.ec().Kc();c.Ob();)r=u(c.Pb(),79),i=u(yn(e.b,r),266),!i&&(Xt(Yl(r))==Xt(t1(r))?xSn(e,r,t):Yl(r)==Xt(t1(r))?yn(e.c,r)==null&&yn(e.b,t1(r))!=null&&WHe(e,r,t,!1):yn(e.d,r)==null&&yn(e.b,Yl(r))!=null&&WHe(e,r,t,!0))}function gCn(e,n){var t,i,r,c,o,f,l;for(r=e.Kc();r.Ob();)for(i=u(r.Pb(),10),f=new qc,ac(f,i),Ci(f,(ae(),hn)),te(f,(re(),Bx),(un(),!0)),o=n.Kc();o.Ob();)c=u(o.Pb(),10),l=new qc,ac(l,c),Ci(l,sn),te(l,Bx,!0),t=new k0,te(t,Bx,!0),or(t,f),Gi(t,l)}function pCn(e,n,t,i){var r,c,o,f;r=fNe(e,n,t),c=fNe(e,t,n),o=u(yn(e.c,n),112),f=u(yn(e.c,t),112),ri.b.g&&(c.c[c.c.length]=i);return c}function m3(){m3=W,Bp=new C8("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),km=new C8("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),f9=new C8("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),o9=new C8("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),l9=new C8("WHOLE_DRAWING",4)}function mCn(e,n){if(_(n,239))return U5n(e,u(n,33));if(_(n,186))return s6n(e,u(n,118));if(_(n,354))return ygn(e,u(n,137));if(_(n,352))return VPn(e,u(n,79));if(n)return null;throw O(new rn(Uce+i1(new gs(D(I(pn,1),pe,1,5,[n])))))}function vCn(e){var n,t,i,r,c,o,f;for(c=new Gt,r=new A(e.d.a);r.a1)for(n=h0((t=new G1,++e.b,t),e.d),f=ut(c,0);f.b!=f.d.c;)o=u(ct(f),121),tf(zo(Go(Wo(Vo(new go,1),0),n),o))}function Qne(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=11&&n){if(o3(e,n))throw O(new rn(wy+wte(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Mee(e,i):e.Cb.ih(e,-1-t,null,i))),n&&(i=_2(n,e,10,i)),i=AX(e,n,i),i&&i.Fi()}else e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,11,n,n))}function yCn(e){var n,t,i,r;for(i=new ld(new H1(e.b).a);i.b;)t=A0(i),r=u(t.cd(),11),n=u(t.dd(),10),te(n,(re(),Et),r),te(r,Zu,n),te(r,kj,(un(),!0)),Ci(r,u(S(n,Sc),61)),S(n,Sc),te(r.i,(be(),ti),(Wi(),M4)),u(S(lr(r.i),eu),21).Fc((Or(),l4))}function kCn(e,n,t){var i,r,c,o,f,l;if(c=0,o=0,e.c)for(l=new A(e.d.i.j);l.ac.a?-1:r.al){for(h=e.d,e.d=V(wde,iue,63,2*l+4,0,1),c=0;c=9223372036854776e3?(Iv(),Tue):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=yd&&(i=oi(e/yd),e-=i*yd),t=0,e>=X2&&(t=oi(e/X2),e-=t*X2),n=oi(e),c=au(n,t,i),r&&NF(c),c)}function OCn(e,n){var t,i,r,c;for(t=!n||!e.u.Hc((Ju(),Ka)),c=0,r=new A(e.e.Cf());r.a=-n&&i==n?new Xi(le(t-1),le(i)):new Xi(le(t),le(i-1))}function vKe(){return Cr(),D(I(kDn,1),ce,77,0,[moe,woe,Iy,Eq,Noe,ox,mx,n4,$oe,Soe,Doe,e4,Foe,Eoe,_oe,foe,hx,Tq,ux,wx,Roe,bx,loe,Loe,Koe,gx,Boe,sx,yoe,Ooe,xoe,vx,doe,cx,lx,hoe,Z3,Poe,Toe,Ioe,Dy,goe,boe,Aoe,Coe,ax,px,aoe,dx,Moe,fx,koe,voe,wj,rx,joe,poe])}function $Cn(e,n,t){e.d=0,e.b=0,n.k==(dn(),Zc)&&t.k==Zc&&u(S(n,(re(),Et)),10)==u(S(t,Et),10)&&(lF(n).j==(ae(),tn)?rKe(e,n,t):rKe(e,t,n)),n.k==Zc&&t.k==Fi?lF(n).j==(ae(),tn)?e.d=1:e.b=1:t.k==Zc&&n.k==Fi&&(lF(t).j==(ae(),tn)?e.b=1:e.d=1),j9n(e,n,t)}function FCn(e){var n,t,i,r,c,o,f,l,a,h,w;return w=Yee(e),n=e.a,l=n!=null,l&&dv(w,"category",e.a),r=a8(new Km(e.d)),o=!r,o&&(a=new K1,jf(w,"knownOptions",a),t=new s7e(a),er(new Km(e.d),t)),c=a8(e.g),f=!c,f&&(h=new K1,jf(w,"supportedFeatures",h),i=new o7e(h),er(e.g,i)),w}function NCn(e){var n,t,i,r,c,o,f,l,a;for(i=!1,n=336,t=0,c=new kSe(e.length),f=e,l=0,a=f.length;l>16!=7&&n){if(o3(e,n))throw O(new rn(wy+SBe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Eee(e,i):e.Cb.ih(e,-1-t,null,i))),n&&(i=u(n,49).gh(e,1,rE,i)),i=kY(e,n,i),i&&i.Fi()}else e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,7,n,n))}function yKe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(o3(e,n))throw O(new rn(wy+$Fe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Cee(e,i):e.Cb.ih(e,-1-t,null,i))),n&&(i=u(n,49).gh(e,0,uE,i)),i=jY(e,n,i),i&&i.Fi()}else e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,3,n,n))}function m_(e,n){b3();var t,i,r,c,o,f,l,a,h;return n.d>e.d&&(f=e,e=n,n=f),n.d<63?MSn(e,n):(o=(e.d&-2)<<4,a=$Q(e,o),h=$Q(n,o),i=L_(e,M2(a,o)),r=L_(n,M2(h,o)),l=m_(a,h),t=m_(i,r),c=m_(L_(a,i),L_(r,h)),c=q_(q_(c,l),t),c=M2(c,o),l=M2(l,o<<1),q_(q_(l,c),t))}function BCn(e,n,t){var i,r,c,o,f;for(o=m6(e,t),f=V(ca,hh,10,n.length,0,1),i=0,c=o.Kc();c.Ob();)r=u(c.Pb(),11),ke(ye(S(r,(re(),kj))))&&(f[i++]=u(S(r,Zu),10));if(i=0;c+=t?1:-1)o=o|n.c.Sf(l,c,t,i&&!ke(ye(S(n.j,(re(),lb))))&&!ke(ye(S(n.j,(re(),Op))))),o=o|n.q._f(l,c,t),o=o|cqe(e,l[c],t,i);return Ei(e.c,n),o}function rP(e,n,t){var i,r,c,o,f,l,a,h,w,y;for(h=rOe(e.j),w=0,y=h.length;w1&&(e.a=!0),nwn(u(t.b,65),Mt(kc(u(n.b,65).c),gl(Ki(kc(u(t.b,65).a),u(n.b,65).a),r))),mxe(e,n),kKe(e,t)}function jKe(e){var n,t,i,r,c,o,f;for(c=new A(e.a.a);c.a0&&c>0?o.p=n++:i>0?o.p=t++:c>0?o.p=r++:o.p=t++}He(),Li(e.j,new ipe)}function VCn(e){var n,t;t=null,n=u(ve(e.g,0),17);do{if(t=n.d.i,Oi(t,(re(),Oo)))return u(S(t,Oo),11).i;if(t.k!=(dn(),ki)&&Wn(new En(Sn(vi(t).a.Kc(),new J))))n=u(_n(new En(Sn(vi(t).a.Kc(),new J))),17);else if(t.k!=ki)return null}while(t&&t.k!=(dn(),ki));return t}function GCn(e,n){var t,i,r,c,o,f,l,a,h;for(f=n.j,o=n.g,l=u(ve(f,f.c.length-1),113),h=(Qe(0,f.c.length),u(f.c[0],113)),a=NN(e,o,l,h),c=1;ca&&(l=t,h=r,a=i);n.a=h,n.c=l}function zCn(e,n){var t,i;if(i=U8(e.b,n.b),!i)throw O(new tc("Invalid hitboxes for scanline constraint calculation."));(A$e(n.b,u(z1n(e.b,n.b),57))||A$e(n.b,u(G1n(e.b,n.b),57)))&&(Rl(),n.b+""),e.a[n.b.f]=u(LL(e.b,n.b),57),t=u(DL(e.b,n.b),57),t&&(e.a[t.f]=n.b)}function tf(e){if(!e.a.d||!e.a.e)throw O(new tc((ga(NXe),NXe.k+" must have a source and target "+(ga(Cse),Cse.k)+" specified.")));if(e.a.d==e.a.e)throw O(new tc("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return fC(e.a.d.g,e.a),fC(e.a.e.b,e.a),e.a}function WCn(e,n,t){var i,r,c,o,f,l,a;for(a=new $h(new u8e(e)),o=D(I(TQe,1),FGe,11,0,[n,t]),f=0,l=o.length;fl-e.b&&fl-e.a&&f0&&++j;++y}return j}function iSn(e,n){var t,i,r,c,o;for(o=u(S(n,(G0(),Iae)),425),c=ut(n.b,0);c.b!=c.d.c;)if(r=u(ct(c),86),e.b[r.g]==0){switch(o.g){case 0:YNe(e,r);break;case 1:cTn(e,r)}e.b[r.g]=2}for(i=ut(e.a,0);i.b!=i.d.c;)t=u(ct(i),188),hw(t.b.d,t,!0),hw(t.c.b,t,!0);te(n,(Oc(),Cae),e.a)}function bu(e,n){jr();var t,i,r,c;return n?n==(At(),bcn)||(n==tcn||n==Gd||n==ncn)&&e!=qde?new Wte(e,n):(i=u(n,677),t=i.pk(),t||(yv(zr((Hu(),tr),n)),t=i.pk()),c=(!t.i&&(t.i=new $n),t.i),r=u(yc(Qr(c.f,e)),1942),!r&&jt(c,e,r=new Wte(e,n)),r):Jrn}function rSn(e,n){var t,i,r,c,o,f,l,a,h;for(l=u(S(e,(re(),Et)),11),a=dc(D(I(Ii,1),ie,8,0,[l.i.n,l.n,l.a])).a,h=e.i.n.b,t=kl(e.e),r=t,c=0,o=r.length;c0?c.a?(f=c.b.rf().a,t>f&&(r=(t-f)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:G5(e.u)&&(i=Qee(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}function oSn(e,n){var t,i,r,c;for(On(n,"Semi-Interactive Crossing Minimization Processor",1),t=!1,r=new A(e.b);r.a=0){if(n==t)return new Xi(le(-n-1),le(-n-1));if(n==-t)return new Xi(le(-n),le(t+1))}return k.Math.abs(n)>k.Math.abs(t)?n<0?new Xi(le(-n),le(t)):new Xi(le(-n),le(t+1)):new Xi(le(n+1),le(t))}function aSn(e){var n,t;t=u(S(e,(be(),gu)),163),n=u(S(e,(re(),Id)),303),t==(ro(),m1)?(te(e,gu,Tj),te(e,Id,(Ta(),Ap))):t==Gw?(te(e,gu,Tj),te(e,Id,(Ta(),am))):n==(Ta(),Ap)?(te(e,gu,m1),te(e,Id,vj)):n==am&&(te(e,gu,Gw),te(e,Id,vj))}function cP(){cP=W,Dj=new Vme,Enn=mt(new xi,(pr(),wu),(Cr(),ux)),Snn=Xu(mt(new xi,wu,bx),ec,dx),Mnn=R0(R0(MT(Xu(mt(new xi,$l,mx),ec,px),Jc),gx),vx),Tnn=Xu(mt(mt(mt(new xi,g1,ox),Jc,lx),Jc,Z3),ec,fx),Cnn=Xu(mt(mt(new xi,Jc,Z3),Jc,cx),ec,rx)}function N6(){N6=W,xnn=mt(Xu(new xi,(pr(),ec),(Cr(),koe)),wu,ux),Lnn=R0(R0(MT(Xu(mt(new xi,$l,mx),ec,px),Jc),gx),vx),Onn=Xu(mt(mt(mt(new xi,g1,ox),Jc,lx),Jc,Z3),ec,fx),Dnn=mt(mt(new xi,wu,bx),ec,dx),Inn=Xu(mt(mt(new xi,Jc,Z3),Jc,cx),ec,rx)}function hSn(e,n,t,i,r){var c,o;(!wr(n)&&n.c.i.c==n.d.i.c||!NLe(dc(D(I(Ii,1),ie,8,0,[r.i.n,r.n,r.a])),t))&&!wr(n)&&(n.c==r?fv(n.a,0,new Hr(t)):st(n.a,new Hr(t)),i&&!ba(e.a,t)&&(o=u(S(n,(be(),Xr)),74),o||(o=new Nu,te(n,Xr,o)),c=new Hr(t),ui(o,c,o.c.b,o.c),Ei(e.a,c)))}function dSn(e){var n,t;for(t=new En(Sn(cc(e).a.Kc(),new J));Wn(t);)if(n=u(_n(t),17),n.c.i.k!=(dn(),Cs))throw O(new vg(rR+Q7(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function bSn(e,n,t){var i,r,c,o,f,l,a;if(r=KFe(e.Db&254),r==0)e.Eb=t;else{if(r==1)f=V(pn,pe,1,2,5,1),c=FN(e,n),c==0?(f[0]=t,f[1]=e.Eb):(f[0]=e.Eb,f[1]=t);else for(f=V(pn,pe,1,r+1,5,1),o=rd(e.Eb),i=2,l=0,a=0;i<=128;i<<=1)i==n?f[a++]=t:e.Db&i&&(f[a++]=o[l++]);e.Eb=f}e.Db|=n}function TKe(e,n,t){var i,r,c,o;for(this.b=new oe,r=0,i=0,o=new A(e);o.a0&&(c=u(ve(this.b,0),167),r+=c.o,i+=c.p),r*=2,i*=2,n>1?r=oi(k.Math.ceil(r*n)):i=oi(k.Math.ceil(i/n)),this.a=new VZ(r,i)}function CKe(e,n,t,i,r,c){var o,f,l,a,h,w,y,j,T,C,x,$;for(h=i,n.j&&n.o?(j=u(yn(e.f,n.A),57),C=j.d.c+j.d.b,--h):C=n.a.c+n.a.b,w=r,t.q&&t.o?(j=u(yn(e.f,t.C),57),a=j.d.c,++w):a=t.a.c,x=a-C,l=k.Math.max(2,w-h),f=x/l,T=C+f,y=h;y=0;o+=r?1:-1){for(f=n[o],l=i==(ae(),hn)?r?bc(f,i):cd(bc(f,i)):r?cd(bc(f,i)):bc(f,i),c&&(e.c[f.p]=l.gc()),w=l.Kc();w.Ob();)h=u(w.Pb(),11),e.d[h.p]=a++;pi(t,l)}}function SKe(e,n,t){var i,r,c,o,f,l,a,h;for(c=ee(he(e.b.Kc().Pb())),a=ee(he(E4n(n.b))),i=gl(kc(e.a),a-t),r=gl(kc(n.a),t-c),h=Mt(i,r),gl(h,1/(a-c)),this.a=h,this.b=new oe,f=!0,o=e.b.Kc(),o.Pb();o.Ob();)l=ee(he(o.Pb())),f&&l-t>_R&&(this.b.Fc(t),f=!1),this.b.Fc(l);f&&this.b.Fc(t)}function wSn(e){var n,t,i,r;if(SMn(e,e.n),e.d.c.length>0){for(t5(e.c);Fne(e,u(P(new A(e.e.a)),121))>5,n&=31,i>=e.d)return e.e<0?(c1(),zK):(c1(),X3);if(c=e.d-i,r=V(Ln,nt,25,c+1,15,1),ojn(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n){for(t=0;t=0?!1:(t=up((Hu(),tr),r,n),t?(i=t.Zj(),(i>1||i==-1)&&y0(zr(tr,t))!=3):!0)):!1}function vSn(e,n,t,i){var r,c,o,f,l;return f=Zr(u(K((!n.b&&(n.b=new Xe(xn,n,4,7)),n.b),0),82)),l=Zr(u(K((!n.c&&(n.c=new Xe(xn,n,5,8)),n.c),0),82)),Xt(f)==Xt(l)||sw(l,f)?null:(o=t7(n),o==t?i:(c=u(yn(e.a,o),10),c&&(r=c.e,r)?r:null))}function ySn(e,n){var t;switch(t=u(S(e,(be(),zx)),276),On(n,"Label side selection ("+t+")",1),t.g){case 0:VRe(e,($s(),sa));break;case 1:VRe(e,($s(),T1));break;case 2:cHe(e,($s(),sa));break;case 3:cHe(e,($s(),T1));break;case 4:RKe(e,($s(),sa));break;case 5:RKe(e,($s(),T1))}Tn(n)}function rte(e,n,t){var i,r,c,o,f,l;if(i=can(t,e.length),o=e[i],o[0].k==(dn(),hi))for(c=Vke(t,o.length),l=n.j,r=0;r0&&(t[0]+=e.d,o-=t[0]),t[2]>0&&(t[2]+=e.d,o-=t[2]),c=k.Math.max(0,o),t[1]=k.Math.max(t[1],o),NQ(e,ou,r.c+i.b+t[0]-(t[1]-o)/2,t),n==ou&&(e.c.b=c,e.c.c=r.c+i.b+(c-o)/2)}function NKe(){this.c=V(Hi,Rr,25,(ae(),D(I(yr,1),Nc,61,0,[pc,tn,hn,In,sn])).length,15,1),this.b=V(Hi,Rr,25,D(I(yr,1),Nc,61,0,[pc,tn,hn,In,sn]).length,15,1),this.a=V(Hi,Rr,25,D(I(yr,1),Nc,61,0,[pc,tn,hn,In,sn]).length,15,1),WW(this.c,ei),WW(this.b,bi),WW(this.a,bi)}function Xc(e,n,t){var i,r,c,o;if(n<=t?(r=n,c=t):(r=t,c=n),i=0,e.b==null)e.b=V(Ln,nt,25,2,15,1),e.b[0]=r,e.b[1]=c,e.c=!0;else{if(i=e.b.length,e.b[i-1]+1==r){e.b[i-1]=c;return}o=V(Ln,nt,25,i+2,15,1),Hc(e.b,0,o,0,i),e.b=o,e.b[i-1]>=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||Zg(e)}}function PSn(e,n,t){var i,r,c,o,f,l,a;for(a=n.d,e.a=new iu(a.c.length),e.c=new $n,f=new A(a);f.a=0?e._g(a,!1,!0):V0(e,t,!1),58));e:for(c=w.Kc();c.Ob();){for(r=u(c.Pb(),56),h=0;h1;)jw(r,r.i-1);return i}function DSn(e,n){var t,i,r,c,o,f,l;for(On(n,"Comment post-processing",1),c=new A(e.b);c.ae.d[o.p]&&(t+=OQ(e.b,c),Uh(e.a,le(c)));for(;!n5(e.a);)oJ(e.b,u(v2(e.a),19).a)}return t}function KKe(e,n,t){var i,r,c,o;for(c=(!n.a&&(n.a=new fe(Qt,n,10,11)),n.a).i,r=new jn((!n.a&&(n.a=new fe(Qt,n,10,11)),n.a));r.e!=r.i.gc();)i=u(Pn(r),33),(!i.a&&(i.a=new fe(Qt,i,10,11)),i.a).i==0||(c+=KKe(e,i,!1));if(t)for(o=Xt(n);o;)c+=(!o.a&&(o.a=new fe(Qt,o,10,11)),o.a).i,o=Xt(o);return c}function jw(e,n){var t,i,r,c;return e.ej()?(i=null,r=e.fj(),e.ij()&&(i=e.kj(e.pi(n),null)),t=e.Zi(4,c=R2(e,n),null,n,r),e.bj()&&c!=null&&(i=e.dj(c,i)),i?(i.Ei(t),i.Fi()):e.$i(t),c):(c=R2(e,n),e.bj()&&c!=null&&(i=e.dj(c,null),i&&i.Fi()),c)}function $Sn(e){var n,t,i,r,c,o,f,l,a,h;for(a=e.a,n=new Ai,l=0,i=new A(e.d);i.af.d&&(h=f.d+f.a+a));t.c.d=h,n.a.zc(t,n),l=k.Math.max(l,t.c.d+t.c.a)}return l}function Or(){Or=W,Ix=new Kb("COMMENTS",0),fo=new Kb("EXTERNAL_PORTS",1),_y=new Kb("HYPEREDGES",2),Dx=new Kb("HYPERNODES",3),l4=new Kb("NON_FREE_PORTS",4),Pp=new Kb("NORTH_SOUTH_PORTS",5),By=new Kb(nze,6),o4=new Kb("CENTER_LABELS",7),f4=new Kb("END_LABELS",8),Lx=new Kb("PARTITIONS",9)}function Ew(e){var n,t,i,r,c;for(r=new oe,n=new K5((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a)),i=new En(Sn(Oa(e).a.Kc(),new J));Wn(i);)t=u(_n(i),79),_(K((!t.b&&(t.b=new Xe(xn,t,4,7)),t.b),0),186)||(c=Zr(u(K((!t.c&&(t.c=new Xe(xn,t,5,8)),t.c),0),82)),n.a._b(c)||(r.c[r.c.length]=c));return r}function FSn(e){var n,t,i,r,c,o;for(c=new Ai,n=new K5((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a)),r=new En(Sn(Oa(e).a.Kc(),new J));Wn(r);)i=u(_n(r),79),_(K((!i.b&&(i.b=new Xe(xn,i,4,7)),i.b),0),186)||(o=Zr(u(K((!i.c&&(i.c=new Xe(xn,i,5,8)),i.c),0),82)),n.a._b(o)||(t=c.a.zc(o,c),t==null));return c}function NSn(e,n,t,i,r){return i<0?(i=Jg(e,r,D(I(ge,1),ie,2,6,[uB,sB,oB,fB,W2,lB,aB,hB,dB,bB,wB,gB]),n),i<0&&(i=Jg(e,r,D(I(ge,1),ie,2,6,["Jan","Feb","Mar","Apr",W2,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function _Sn(e,n,t,i,r){return i<0?(i=Jg(e,r,D(I(ge,1),ie,2,6,[uB,sB,oB,fB,W2,lB,aB,hB,dB,bB,wB,gB]),n),i<0&&(i=Jg(e,r,D(I(ge,1),ie,2,6,["Jan","Feb","Mar","Apr",W2,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function BSn(e,n,t,i,r,c){var o,f,l,a;if(f=32,i<0){if(n[0]>=e.length||(f=Zi(e,n[0]),f!=43&&f!=45)||(++n[0],i=QM(e,n),i<0))return!1;f==45&&(i=-i)}return f==32&&n[0]-t==2&&r.b==2&&(l=new yT,a=l.q.getFullYear()-o1+o1-80,o=a%100,c.a=i==o,i+=(a/100|0)*100+(i=a&&(l=i);l&&(h=k.Math.max(h,l.a.o.a)),h>y&&(w=a,y=h)}return w}function qSn(e,n,t){var i,r,c;if(e.e=t,e.d=0,e.b=0,e.f=1,e.i=n,(e.e&16)==16&&(e.i=PMn(e.i)),e.j=e.i.length,wt(e),c=B0(e),e.d!=e.j)throw O(new Hn(Un((qn(),EWe))));if(e.g){for(i=0;iTze?Li(l,e.b):i<=Tze&&i>Cze?Li(l,e.d):i<=Cze&&i>Sze?Li(l,e.c):i<=Sze&&Li(l,e.a),c=GKe(e,l,c);return r}function c1(){c1=W;var e;for(_A=new eh(1,1),WK=new eh(1,10),X3=new eh(0,0),zK=new eh(-1,1),Vue=D(I(yp,1),ie,91,0,[X3,_A,new eh(1,2),new eh(1,3),new eh(1,4),new eh(1,5),new eh(1,6),new eh(1,7),new eh(1,8),new eh(1,9),WK]),BA=V(yp,ie,91,32,0,1),e=0;e1,f&&(i=new je(r,t.b),st(n.a,i)),o6(n.a,D(I(Ii,1),ie,8,0,[y,w]))}function YKe(e){s0(e,new pd(i0(e0(t0(n0(new R1,aA),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new E3e))),de(e,aA,J0,ede),de(e,aA,Ow,15),de(e,aA,NP,le(0)),de(e,aA,Z2,$3)}function ste(){ste=W;var e,n,t,i,r,c;for(O9=V(Uu,pp,25,255,15,1),iI=V(ho,Tl,25,16,15,1),n=0;n<255;n++)O9[n]=-1;for(t=57;t>=48;t--)O9[t]=t-48<<24>>24;for(i=70;i>=65;i--)O9[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)O9[r]=r-97+10<<24>>24;for(c=0;c<10;c++)iI[c]=48+c&li;for(e=10;e<=15;e++)iI[e]=65+e-10&li}function sP(e,n,t){var i,r,c,o,f,l,a,h;return f=n.i-e.g/2,l=t.i-e.g/2,a=n.j-e.g/2,h=t.j-e.g/2,c=n.g+e.g/2,o=t.g+e.g/2,i=n.f+e.g/2,r=t.f+e.g/2,f>19)return"-"+QKe(Wv(e));for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=Z$(PP),t=Bte(t,r,!0),n=""+fje(d1),!(t.l==0&&t.m==0&&t.h==0))for(c=9-n.length;c>0;c--)n="0"+n;i=n+i}return i}function USn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",n=Object.create(null);if(n[e]!==void 0)return!1;var t=Object.getOwnPropertyNames(n);return!(t.length!=0||(n[e]=42,n[e]!==42)||Object.getOwnPropertyNames(n).length==0)}function XSn(e){var n,t,i,r,c,o,f;for(n=!1,t=0,r=new A(e.d.b);r.a=e.a||!Uee(n,t))return-1;if(Cv(u(i.Kb(n),20)))return 1;for(r=0,o=u(i.Kb(n),20).Kc();o.Ob();)if(c=u(o.Pb(),17),l=c.c.i==n?c.d.i:c.c.i,f=fte(e,l,t,i),f==-1||(r=k.Math.max(r,f),r>e.c-1))return-1;return r+1}function JKe(e,n){var t,i,r,c,o,f;if(X(n)===X(e))return!0;if(!_(n,15)||(i=u(n,15),f=e.gc(),i.gc()!=f))return!1;if(o=i.Kc(),e.ni()){for(t=0;t0){if(e.qj(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw O(new bl("Invalid hexadecimal"))}}function ZSn(e,n,t){var i,r,c,o;for(On(t,"Processor order nodes",2),e.a=ee(he(S(n,(G0(),Dae)))),r=new Gt,o=ut(n.b,0);o.b!=o.d.c;)c=u(ct(o),86),ke(ye(S(c,(Oc(),tg))))&&ui(r,c,r.c.b,r.c);i=(mn(r.b!=0),u(r.a.a.c,86)),mHe(e,i),!t.b&&TF(t,1),bte(e,i,0-ee(he(S(i,(Oc(),wO))))/2,0),!t.b&&TF(t,1),Tn(t)}function oP(){oP=W,Ese=new jg("SPIRAL",0),vse=new jg("LINE_BY_LINE",1),yse=new jg("MANHATTAN",2),mse=new jg("JITTER",3),ZK=new jg("QUADRANTS_LINE_BY_LINE",4),jse=new jg("QUADRANTS_MANHATTAN",5),kse=new jg("QUADRANTS_JITTER",6),pse=new jg("COMBINE_LINE_BY_LINE_MANHATTAN",7),gse=new jg("COMBINE_JITTER_MANHATTAN",8)}function eqe(e,n,t,i){var r,c,o,f,l,a;for(l=qN(e,t),a=qN(n,t),r=!1;l&&a&&(i||X9n(l,a,t));)o=qN(l,t),f=qN(a,t),g7(n),g7(e),c=l.c,z_(l,!1),z_(a,!1),t?(gw(n,a.p,c),n.p=a.p,gw(e,l.p+1,c),e.p=l.p):(gw(e,l.p,c),e.p=l.p,gw(n,a.p+1,c),n.p=a.p),Gr(l,null),Gr(a,null),l=o,a=f,r=!0;return r}function eMn(e,n,t,i){var r,c,o,f,l;for(r=!1,c=!1,f=new A(i.j);f.a=n.length)throw O(new qr("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new q8(i),PF(this.e,this.c,(ae(),sn)),this.i=new q8(i),PF(this.i,this.c,hn),this.f=new JMe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(dn(),hi),this.a&&pjn(this,e,n.length)}function tqe(e,n){var t,i,r,c,o,f;c=!e.B.Hc((os(),tE)),o=e.B.Hc(NV),e.a=new QFe(o,c,e.c),e.n&&ZY(e.a.n,e.n),kD(e.g,(Ef(),ou),e.a),n||(i=new T6(1,c,e.c),i.n.a=e.k,p2(e.p,(ae(),tn),i),r=new T6(1,c,e.c),r.n.d=e.k,p2(e.p,In,r),f=new T6(0,c,e.c),f.n.c=e.k,p2(e.p,sn,f),t=new T6(0,c,e.c),t.n.b=e.k,p2(e.p,hn,t))}function tMn(e){var n,t,i;switch(n=u(S(e.d,(be(),Na)),218),n.g){case 2:t=IIn(e);break;case 3:t=(i=new oe,ri(Ft(ju(hc(hc(new Ue(null,new Ye(e.d.b,16)),new v2e),new y2e),new k2e),new u2e),new F9e(i)),i);break;default:throw O(new tc("Compaction not supported for "+n+" edges."))}exn(e,t),er(new Km(e.g),new L9e(e))}function iMn(e,n){var t;return t=new WI,n&&Jr(t,u(yn(e.a,rE),94)),_(n,470)&&Jr(t,u(yn(e.a,cE),94)),_(n,354)?(Jr(t,u(yn(e.a,oc),94)),t):(_(n,82)&&Jr(t,u(yn(e.a,xn),94)),_(n,239)?(Jr(t,u(yn(e.a,Qt),94)),t):_(n,186)?(Jr(t,u(yn(e.a,hs),94)),t):(_(n,352)&&Jr(t,u(yn(e.a,Di),94)),t))}function Mf(){Mf=W,J3=new Er((dt(),$O),le(1)),ZA=new Er(qd,80),WYe=new Er(O1e,5),_Ye=new Er(Em,$3),GYe=new Er(IV,le(1)),zYe=new Er(DV,(un(),!0)),Rse=new l0(50),HYe=new Er(Kd,Rse),Nse=IO,Kse=d9,BYe=new Er(EV,!1),Bse=Uj,qYe=E1,KYe=Rd,RYe=qp,VYe=ig,_se=(sne(),OYe),aq=$Ye,JA=xYe,lq=IYe,qse=LYe}function rMn(e){var n,t,i,r,c,o,f,l;for(l=new rIe,f=new A(e.a);f.a0&&n=0)return!1;if(n.p=t.b,se(t.e,n),r==(dn(),Fi)||r==Zc){for(o=new A(n.j);o.a1||o==-1)&&(c|=16),r.Bb&Ic&&(c|=64)),t.Bb&vr&&(c|=Nw),c|=rf):_(n,457)?c|=512:(i=n.Bj(),i&&i.i&1&&(c|=256)),e.Bb&512&&(c|=128),c}function _6(e,n){var t,i,r,c,o;for(e=e==null?Ou:(nn(e),e),r=0;re.d[f.p]&&(t+=OQ(e.b,c),Uh(e.a,le(c)))):++o;for(t+=e.b.d*o;!n5(e.a);)oJ(e.b,u(v2(e.a),19).a)}return t}function dMn(e,n){var t;return e.f==XV?(t=y0(zr((Hu(),tr),n)),e.e?t==4&&n!=(H2(),xm)&&n!=(H2(),Am)&&n!=(H2(),YV)&&n!=(H2(),QV):t==2):e.d&&(e.d.Hc(n)||e.d.Hc(C2(zr((Hu(),tr),n)))||e.d.Hc(up((Hu(),tr),e.b,n)))?!0:e.f&&Jne((Hu(),e.f),Q8(zr(tr,n)))?(t=y0(zr(tr,n)),e.e?t==4:t==2):!1}function bMn(e,n,t,i){var r,c,o,f,l,a,h,w;return o=u(Ee(t,(dt(),Tm)),8),l=o.a,h=o.b+e,r=k.Math.atan2(h,l),r<0&&(r+=bp),r+=n,r>bp&&(r-=bp),f=u(Ee(i,Tm),8),a=f.a,w=f.b+e,c=k.Math.atan2(w,a),c<0&&(c+=bp),c+=n,c>bp&&(c-=bp),Ff(),Zo(1e-10),k.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:f0(isNaN(r),isNaN(c))}function E_(e){var n,t,i,r,c,o,f;for(f=new $n,i=new A(e.a.b);i.a=e.o)throw O(new Jz);f=n>>5,o=n&31,c=pa(1,Fn(pa(o,1))),r?e.n[t][f]=Kf(e.n[t][f],c):e.n[t][f]=Ti(e.n[t][f],iY(c)),c=pa(c,1),i?e.n[t][f]=Kf(e.n[t][f],c):e.n[t][f]=Ti(e.n[t][f],iY(c))}catch(l){throw l=Ht(l),_(l,320)?O(new qr(VB+e.o+"*"+e.p+GB+n+mr+t+zB)):O(l)}}function bte(e,n,t,i){var r,c,o;n&&(c=ee(he(S(n,(Oc(),yh))))+i,o=t+ee(he(S(n,wO)))/2,te(n,XH,le(Fn(Au(k.Math.round(c))))),te(n,Sae,le(Fn(Au(k.Math.round(o))))),n.d.b==0||bte(e,u(rC((r=ut(new Oh(n).a.d,0),new Zp(r))),86),t+ee(he(S(n,wO)))+e.a,i+ee(he(S(n,y4)))),S(n,UH)!=null&&bte(e,u(S(n,UH),86),t,i))}function gMn(e,n){var t,i,r,c,o,f,l,a,h,w,y;for(l=lr(n.a),r=ee(he(S(l,(be(),Nd))))*2,h=ee(he(S(l,$p))),a=k.Math.max(r,h),c=V(Hi,Rr,25,n.f-n.c+1,15,1),i=-a,t=0,f=n.b.Kc();f.Ob();)o=u(f.Pb(),10),i+=e.a[o.c.p]+a,c[t++]=i;for(i+=e.a[n.a.c.p]+a,c[t++]=i,y=new A(n.e);y.a0&&(i=(!e.n&&(e.n=new fe(oc,e,1,7)),u(K(e.n,0),137)).a,!i||Qn(Qn((n.a+=' "',n),i),'"'))),Qn(c0(Qn(c0(Qn(c0(Qn(c0((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function hqe(e){var n,t,i;return e.Db&64?ZN(e):(n=new Ms(Bce),t=e.k,t?Qn(Qn((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new fe(oc,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new fe(oc,e,1,7)),u(K(e.n,0),137)).a,!i||Qn(Qn((n.a+=' "',n),i),'"'))),Qn(c0(Qn(c0(Qn(c0(Qn(c0((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function C_(e,n){var t,i,r,c,o,f,l;if(n==null||n.length==0)return null;if(r=u(zc(e.a,n),149),!r){for(i=(f=new da(e.b).a.vc().Kc(),new $b(f));i.a.Ob();)if(t=(c=u(i.a.Pb(),42),u(c.dd(),149)),o=t.c,l=n.length,Ke(o.substr(o.length-l,l),n)&&(n.length==o.length||Zi(o,o.length-n.length-1)==46)){if(r)return null;r=t}r&&Vr(e.a,n,r)}return r}function vMn(e,n){var t,i,r,c;return t=new $be,i=u(Os(ju(new Ue(null,new Ye(e.f,16)),t),rw(new _1,new B1,new Db,new Lb,D(I(ls,1),ce,132,0,[(Wf(),_w),Rs]))),21),r=i.gc(),i=u(Os(ju(new Ue(null,new Ye(n.f,16)),t),rw(new _1,new B1,new Db,new Lb,D(I(ls,1),ce,132,0,[_w,Rs]))),21),c=i.gc(),rr.p?(Ci(c,In),c.d&&(f=c.o.b,n=c.a.b,c.a.b=f-n)):c.j==In&&r.p>e.p&&(Ci(c,tn),c.d&&(f=c.o.b,n=c.a.b,c.a.b=-(f-n)));break}return r}function kMn(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T;if(c=t,t1,f&&(i=new je(r,t.b),st(n.a,i)),o6(n.a,D(I(Ii,1),ie,8,0,[y,w]))}function S_(e,n,t){var i,r,c,o,f,l;if(n)if(t<=-1){if(i=ze(n.Tg(),-1-t),_(i,99))return u(i,18);for(o=u(n.ah(i),153),f=0,l=o.gc();f0){for(r=l.length;r>0&&l[r-1]=="";)--r;r=40,o&&IPn(e),FAn(e),wSn(e),t=NFe(e),i=0;t&&i0&&st(e.f,c)):(e.c[o]-=a+1,e.c[o]<=0&&e.a[o]>0&&st(e.e,c))))}function WMn(e){var n,t,i,r,c,o,f,l,a;for(f=new $h(u(Nn(new Nbe),62)),a=bi,t=new A(e.d);t.a=0&&lt?n:t;a<=w;++a)a==t?f=i++:(c=r[a],h=T.rl(c.ak()),a==n&&(l=a==w&&!h?i-1:i),h&&++i);return y=u(k6(e,n,t),72),f!=l&&zm(e,new d7(e.e,7,o,le(f),j.dd(),l)),y}}else return u(o_(e,n,t),72);return u(k6(e,n,t),72)}function QMn(e,n){var t,i,r,c,o,f,l;for(On(n,"Port order processing",1),l=u(S(e,(be(),Nle)),421),i=new A(e.b);i.a=0&&(f=e8n(e,o),!(f&&(a<22?l.l|=1<>>1,o.m=h>>>1|(w&1)<<21,o.l=y>>>1|(h&1)<<21,--a;return t&&NF(l),c&&(i?(d1=Wv(e),r&&(d1=C$e(d1,(Iv(),Cue)))):d1=au(e.l,e.m,e.h)),l}function ePn(e,n){var t,i,r,c,o,f,l,a,h,w;for(a=e.e[n.c.p][n.p]+1,l=n.c.a.c.length+1,f=new A(e.a);f.a0&&(Gn(0,e.length),e.charCodeAt(0)==45||(Gn(0,e.length),e.charCodeAt(0)==43))?1:0,i=o;it)throw O(new bl(Q0+e+'"'));return f}function nPn(e){var n,t,i,r,c,o,f;for(o=new Gt,c=new A(e.a);c.a1)&&n==1&&u(e.a[e.b],10).k==(dn(),Cs)?G2(u(e.a[e.b],10),($s(),sa)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&u(e.a[e.c-1&e.a.length-1],10).k==(dn(),Cs)?G2(u(e.a[e.c-1&e.a.length-1],10),($s(),T1)):(e.c-e.b&e.a.length-1)==2?(G2(u(w6(e),10),($s(),sa)),G2(u(w6(e),10),T1)):XTn(e,r),AQ(e)}function rPn(e,n,t){var i,r,c,o,f;for(c=0,r=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));r.e!=r.i.gc();)i=u(Pn(r),33),o="",(!i.n&&(i.n=new fe(oc,i,1,7)),i.n).i==0||(o=u(K((!i.n&&(i.n=new fe(oc,i,1,7)),i.n),0),137).a),f=new RF(c++,n,o),Jr(f,i),te(f,(Oc(),u9),i),f.e.b=i.j+i.f/2,f.f.a=k.Math.max(i.g,1),f.e.a=i.i+i.g/2,f.f.b=k.Math.max(i.f,1),st(n.b,f),du(t.f,i,f)}function cPn(e){var n,t,i,r,c;i=u(S(e,(re(),Et)),33),c=u(Ee(i,(be(),$d)),174).Hc((Ts(),Vd)),e.e||(r=u(S(e,eu),21),n=new je(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Hc((Or(),fo))?(Br(i,ti,(Wi(),nu)),U0(i,n.a,n.b,!1,!0)):ke(ye(Ee(i,mH)))||U0(i,n.a,n.b,!0,!0)),c?Br(i,$d,_e(Vd)):Br(i,$d,(t=u(mf(k9),9),new Ys(t,u(Uo(t,t.length),9),0)))}function jte(e,n,t){var i,r,c,o;if(n[0]>=e.length)return t.o=0,!0;switch(Zi(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++n[0],c=n[0],o=QM(e,n),o==0&&n[0]==c)return!1;if(n[0]=0&&f!=t&&(c=new $i(e,1,f,o,null),i?i.Ei(c):i=c),t>=0&&(c=new $i(e,1,t,f==t?o:null,n),i?i.Ei(c):i=c)),i}function xqe(e){var n,t,i;if(e.b==null){if(i=new za,e.i!=null&&(Fr(i,e.i),i.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(kgn(e.i)||(i.a+="//"),Fr(i,e.a)),e.d!=null&&(i.a+="/",Fr(i,e.d)),e.f&16&&(i.a+="/"),n=0,t=e.j.length;ny?!1:(w=(l=V6(i,y,!1),l.a),h+f+w<=n.b&&(h7(t,c-t.s),t.c=!0,h7(i,c-t.s),U7(i,t.s,t.t+t.d+f),i.k=!0,LJ(t.q,i),j=!0,r&&(HS(n,i),i.j=n,e.c.length>o&&(Z7((Qe(o,e.c.length),u(e.c[o],200)),i),(Qe(o,e.c.length),u(e.c[o],200)).a.c.length==0&&Za(e,o)))),j)}function dPn(e,n){var t,i,r,c,o,f;if(On(n,"Partition midprocessing",1),r=new E0,ri(Ft(new Ue(null,new Ye(e.a,16)),new cpe),new y9e(r)),r.d!=0){for(f=u(Os(Exe((c=r.i,new Ue(null,(c||(r.i=new xg(r,r.c))).Nc()))),id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[(Wf(),Rs)]))),15),i=f.Kc(),t=u(i.Pb(),19);i.Ob();)o=u(i.Pb(),19),gCn(u(Ct(r,t),21),u(Ct(r,o),21)),t=o;Tn(n)}}function Dqe(e,n,t){var i,r,c,o,f,l,a,h;if(n.p==0){for(n.p=1,o=t,o||(r=new oe,c=(i=u(mf(yr),9),new Ys(i,u(Uo(i,i.length),9),0)),o=new Xi(r,c)),u(o.a,15).Fc(n),n.k==(dn(),hi)&&u(o.b,21).Fc(u(S(n,(re(),Sc)),61)),l=new A(n.j);l.a0){if(r=u(e.Ab.g,1934),n==null){for(c=0;c1)for(i=new A(r);i.at.s&&ff&&(f=r,h.c=V(pn,pe,1,0,5,1)),r==f&&se(h,new Xi(t.c.i,t)));He(),Li(h,e.c),Xb(e.b,l.p,h)}}function vPn(e,n){var t,i,r,c,o,f,l,a,h;for(o=new A(n.b);o.af&&(f=r,h.c=V(pn,pe,1,0,5,1)),r==f&&se(h,new Xi(t.d.i,t)));He(),Li(h,e.c),Xb(e.f,l.p,h)}}function $qe(e){s0(e,new pd(i0(e0(t0(n0(new R1,nb),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new f3e))),de(e,nb,J0,Zhe),de(e,nb,Ow,15),de(e,nb,_k,le(0)),de(e,nb,oA,me(Yhe)),de(e,nb,hp,me(Sin)),de(e,nb,em,me(Min)),de(e,nb,Z2,Dze),de(e,nb,Bk,me(Qhe)),de(e,nb,nm,me(Jhe)),de(e,nb,Dce,me(vV)),de(e,nb,tA,me(Cin))}function Fqe(e,n){var t,i,r,c,o,f,l,a,h;if(r=e.i,o=r.o.a,c=r.o.b,o<=0&&c<=0)return ae(),pc;switch(a=e.n.a,h=e.n.b,f=e.o.a,t=e.o.b,n.g){case 2:case 1:if(a<0)return ae(),sn;if(a+f>o)return ae(),hn;break;case 4:case 3:if(h<0)return ae(),tn;if(h+t>c)return ae(),In}return l=(a+f/2)/o,i=(h+t/2)/c,l+i<=1&&l-i<=0?(ae(),sn):l+i>=1&&l-i>=0?(ae(),hn):i<.5?(ae(),tn):(ae(),In)}function yPn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C;for(t=!1,h=ee(he(S(n,(be(),pb)))),T=s1*h,r=new A(n.b);r.al+T&&(C=w.g+y.g,y.a=(y.g*y.a+w.g*w.a)/C,y.g=C,w.f=y,t=!0)),c=f,w=y;return t}function Nqe(e,n,t,i,r,c,o){var f,l,a,h,w,y;for(y=new a2,a=n.Kc();a.Ob();)for(f=u(a.Pb(),839),w=new A(f.wf());w.a0?f.a?(a=f.b.rf().b,r>a&&(e.v||f.c.d.c.length==1?(o=(r-a)/2,f.d.d=o,f.d.a=o):(t=u(ve(f.c.d,0),181).rf().b,i=(t-a)/2,f.d.d=k.Math.max(0,i),f.d.a=r-i-a))):f.d.a=e.t+r:G5(e.u)&&(c=Qee(f.b),c.d<0&&(f.d.d=-c.d),c.d+c.a>f.b.rf().b&&(f.d.a=c.d+c.a-f.b.rf().b))}function EPn(e,n){var t;switch(y7(e)){case 6:return Ri(n);case 7:return Hb(n);case 8:return qb(n);case 3:return Array.isArray(n)&&(t=y7(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===eB;case 12:return n!=null&&(typeof n===Tk||typeof n==eB);case 0:return EN(n,e.__elementTypeId$);case 2:return s$(n)&&n.im!==si;case 1:return s$(n)&&n.im!==si||EN(n,e.__elementTypeId$);default:return!0}}function _qe(e,n){var t,i,r,c;return i=k.Math.min(k.Math.abs(e.c-(n.c+n.b)),k.Math.abs(e.c+e.b-n.c)),c=k.Math.min(k.Math.abs(e.d-(n.d+n.a)),k.Math.abs(e.d+e.a-n.d)),t=k.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=k.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:k.Math.min(i/t,c/r)+1}function Bqe(e,n){var t,i,r,c,o,f;return r=mJ(e),f=mJ(n),r==f?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:k.Math.floor((e.a-1)*YVe)+1)-(n.d>0?n.d:k.Math.floor((n.a-1)*YVe)+1),t>i+1?r:t0&&(o=Fg(o,sHe(i))),pNe(c,o))):r0&&e.d!=(u6(),bq)&&(f+=o*(i.d.a+e.a[n.b][i.b]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(u6(),hq)&&(l+=o*(i.d.b+e.a[n.b][i.b]*(n.d.b-i.d.b)/t)));switch(e.d.g){case 1:return new je(f/c,n.d.b);case 2:return new je(n.d.a,l/c);default:return new je(f/c,l/c)}}function Rqe(e,n){Qv();var t,i,r,c,o;if(o=u(S(e.i,(be(),ti)),98),c=e.j.g-n.j.g,c!=0||!(o==(Wi(),Hd)||o==fa||o==nu))return 0;if(o==(Wi(),Hd)&&(t=u(S(e,mh),19),i=u(S(n,mh),19),t&&i&&(r=t.a-i.a,r!=0)))return r;switch(e.j.g){case 1:return mi(e.n.a,n.n.a);case 2:return mi(e.n.b,n.n.b);case 3:return mi(n.n.a,e.n.a);case 4:return mi(n.n.b,e.n.b);default:throw O(new tc(qie))}}function Kqe(e){var n,t,i,r,c,o;for(t=(!e.a&&(e.a=new gi(Fo,e,5)),e.a).i+2,o=new iu(t),se(o,new je(e.j,e.k)),ri(new Ue(null,(!e.a&&(e.a=new gi(Fo,e,5)),new Ye(e.a,16))),new $8e(o)),se(o,new je(e.b,e.c)),n=1;n0&&(L7(l,!1,(xr(),Io)),L7(l,!0,of)),Su(n.g,new IEe(e,t)),jt(e.g,n,t)}function Hqe(){Hqe=W;var e;for(Due=D(I(Ln,1),nt,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),VK=V(Ln,nt,25,37,15,1),aXe=D(I(Ln,1),nt,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Lue=V($1,SB,25,37,14,1),e=2;e<=36;e++)VK[e]=oi(k.Math.pow(e,Due[e])),Lue[e]=ek(CP,VK[e])}function CPn(e){var n;if((!e.a&&(e.a=new fe(zt,e,6,6)),e.a).i!=1)throw O(new rn(Jze+(!e.a&&(e.a=new fe(zt,e,6,6)),e.a).i));return n=new Nu,I7(u(K((!e.b&&(e.b=new Xe(xn,e,4,7)),e.b),0),82))&&gr(n,CVe(e,I7(u(K((!e.b&&(e.b=new Xe(xn,e,4,7)),e.b),0),82)),!1)),I7(u(K((!e.c&&(e.c=new Xe(xn,e,5,8)),e.c),0),82))&&gr(n,CVe(e,I7(u(K((!e.c&&(e.c=new Xe(xn,e,5,8)),e.c),0),82)),!0)),n}function Vqe(e,n){var t,i,r,c,o;for(n.d?r=e.a.c==(yl(),mb)?cc(n.b):vi(n.b):r=e.a.c==(yl(),vh)?cc(n.b):vi(n.b),c=!1,i=new En(Sn(r.a.Kc(),new J));Wn(i);)if(t=u(_n(i),17),o=ke(e.a.f[e.a.g[n.b.p].p]),!(!o&&!wr(t)&&t.c.i.c==t.d.i.c)&&!(ke(e.a.n[e.a.g[n.b.p].p])||ke(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,ba(e.b,e.a.g[$9n(t,n.b).p])))return n.c=!0,n.a=t,n;return n.c=c,n.a=null,n}function SPn(e,n,t,i,r){var c,o,f,l,a,h,w;for(He(),Li(e,new y3e),f=new Yi(e,0),w=new oe,c=0;f.bc*2?(h=new RS(w),a=Ku(o)/vs(o),l=Y_(h,n,new n2,t,i,r,a),Mt(vf(h.e),l),w.c=V(pn,pe,1,0,5,1),c=0,w.c[w.c.length]=h,w.c[w.c.length]=o,c=Ku(h)*vs(h)+Ku(o)*vs(o)):(w.c[w.c.length]=o,c+=Ku(o)*vs(o));return w}function Tte(e,n,t){var i,r,c,o,f,l,a;if(i=t.gc(),i==0)return!1;if(e.ej())if(l=e.fj(),BZ(e,n,t),o=i==1?e.Zi(3,null,t.Kc().Pb(),n,l):e.Zi(5,null,t,n,l),e.bj()){for(f=i<100?null:new Dh(i),c=n+i,r=n;r0){for(o=0;o>16==-15&&e.Cb.nh()&&hF(new oF(e.Cb,9,13,t,e.c,sh(rs(u(e.Cb,59)),e))):_(e.Cb,88)&&e.Db>>16==-23&&e.Cb.nh()&&(n=e.c,_(n,88)||(n=(qe(),Ro)),_(t,88)||(t=(qe(),Ro)),hF(new oF(e.Cb,9,10,t,n,sh(Kc(u(e.Cb,26)),e)))))),e.c}function MPn(e,n){var t,i,r,c,o,f,l,a,h,w;for(On(n,"Hypernodes processing",1),r=new A(e.b);r.at);return r}function zqe(e,n){var t,i,r;i=ss(e.d,1)!=0,!ke(ye(S(n.j,(re(),lb))))&&!ke(ye(S(n.j,Op)))||X(S(n.j,(be(),v1)))===X((Sa(),y1))?n.c.Tf(n.e,i):i=ke(ye(S(n.j,lb))),bk(e,n,i,!0),ke(ye(S(n.j,Op)))&&te(n.j,Op,(un(),!1)),ke(ye(S(n.j,lb)))&&(te(n.j,lb,(un(),!1)),te(n.j,Op,!0)),t=r_(e,n);do{if(xJ(e),t==0)return 0;i=!i,r=t,bk(e,n,i,!1),t=r_(e,n)}while(r>t);return r}function Wqe(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T;if(n==t)return!0;if(n=Lne(e,n),t=Lne(e,t),i=xN(n),i){if(h=xN(t),h!=i)return h?(l=i.Dj(),T=h.Dj(),l==T&&l!=null):!1;if(o=(!n.d&&(n.d=new gi($r,n,1)),n.d),c=o.i,y=(!t.d&&(t.d=new gi($r,t,1)),t.d),c==y.i){for(a=0;a0,f=yM(n,c),nX(t?f.b:f.g,n),Vg(f).c.length==1&&ui(i,f,i.c.b,i.c),r=new Xi(c,n),Uh(e.o,r),Tu(e.e.a,c))}function Qqe(e,n){var t,i,r,c,o,f,l;return i=k.Math.abs(_C(e.b).a-_C(n.b).a),f=k.Math.abs(_C(e.b).b-_C(n.b).b),r=0,l=0,t=1,o=1,i>e.b.b/2+n.b.b/2&&(r=k.Math.min(k.Math.abs(e.b.c-(n.b.c+n.b.b)),k.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),f>e.b.a/2+n.b.a/2&&(l=k.Math.min(k.Math.abs(e.b.d-(n.b.d+n.b.a)),k.Math.abs(e.b.d+e.b.a-n.b.d)),o=1-l/f),c=k.Math.min(t,o),(1-c)*k.Math.sqrt(i*i+f*f)}function DPn(e){var n,t,i,r;for(X_(e,e.e,e.f,(j0(),j1),!0,e.c,e.i),X_(e,e.e,e.f,j1,!1,e.c,e.i),X_(e,e.e,e.f,_p,!0,e.c,e.i),X_(e,e.e,e.f,_p,!1,e.c,e.i),$Pn(e,e.c,e.e,e.f,e.i),i=new Yi(e.i,0);i.b=65;t--)ol[t]=t-65<<24>>24;for(i=122;i>=97;i--)ol[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)ol[r]=r-48+52<<24>>24;for(ol[43]=62,ol[47]=63,c=0;c<=25;c++)Ph[c]=65+c&li;for(o=26,l=0;o<=51;++o,l++)Ph[o]=97+l&li;for(e=52,f=0;e<=61;++e,f++)Ph[e]=48+f&li;Ph[62]=43,Ph[63]=47}function LPn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j;if(e.dc())return new ir;for(a=0,w=0,r=e.Kc();r.Ob();)i=u(r.Pb(),37),c=i.f,a=k.Math.max(a,c.a),w+=c.a*c.b;for(a=k.Math.max(a,k.Math.sqrt(w)*ee(he(S(u(e.Kc().Pb(),37),(be(),Rx))))),y=0,j=0,l=0,t=n,f=e.Kc();f.Ob();)o=u(f.Pb(),37),h=o.f,y+h.a>a&&(y=0,j+=l+n,l=0),B6(o,y,j),t=k.Math.max(t,y+h.a),l=k.Math.max(l,h.b),y+=h.a+n;return new je(t+n,j+l+n)}function $Pn(e,n,t,i,r){var c,o,f,l,a,h,w;for(o=new A(n);o.ac)return ae(),hn;break;case 4:case 3:if(l<0)return ae(),tn;if(l+e.f>r)return ae(),In}return o=(f+e.g/2)/c,t=(l+e.f/2)/r,o+t<=1&&o-t<=0?(ae(),sn):o+t>=1&&o-t>=0?(ae(),hn):t<.5?(ae(),tn):(ae(),In)}function FPn(e,n,t,i,r){var c,o;if(c=fr(Ti(n[0],Ir),Ti(i[0],Ir)),e[0]=Fn(c),c=qh(c,32),t>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=c.b[0]-1),n=1;n0&&(uD(l,l.d-r.d),r.c==(yf(),k1)&&Ifn(l,l.a-r.d),l.d<=0&&l.i>0&&ui(n,l,n.c.b,n.c)));for(c=new A(e.f);c.a0&&(YE(f,f.i-r.d),r.c==(yf(),k1)&&Dfn(f,f.b-r.d),f.i<=0&&f.d>0&&ui(t,f,t.c.b,t.c)))}function NPn(e,n,t){var i,r,c,o,f,l,a,h;for(On(t,"Processor compute fanout",1),Yu(e.b),Yu(e.a),f=null,c=ut(n.b,0);!f&&c.b!=c.d.c;)a=u(ct(c),86),ke(ye(S(a,(Oc(),tg))))&&(f=a);for(l=new Gt,ui(l,f,l.c.b,l.c),oVe(e,l),h=ut(n.b,0);h.b!=h.d.c;)a=u(ct(h),86),o=Vn(S(a,(Oc(),c9))),r=zc(e.b,o)!=null?u(zc(e.b,o),19).a:0,te(a,dO,le(r)),i=1+(zc(e.a,o)!=null?u(zc(e.a,o),19).a:0),te(a,Rnn,le(i));Tn(t)}function _Pn(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T;for(y=k7n(e,t),l=0;l0),i.a.Xb(i.c=--i.b),w>y+l&&ks(i);for(o=new A(j);o.a0),i.a.Xb(i.c=--i.b)}}function BPn(){gt();var e,n,t,i,r,c;if(ZV)return ZV;for(e=new xs(4),Sw(e,u1(OK,!0)),W6(e,u1("M",!0)),W6(e,u1("C",!0)),c=new xs(4),i=0;i<11;i++)Xc(c,i,i);return n=new xs(4),Sw(n,u1("M",!0)),Xc(n,4448,4607),Xc(n,65438,65439),r=new O5(2),md(r,e),md(r,D9),t=new O5(2),t.$l(OC(c,u1("L",!0))),t.$l(n),t=new tw(3,t),t=new _Y(r,t),ZV=t,ZV}function RPn(e){var n,t;if(n=Vn(Ee(e,(dt(),h9))),!d$e(n,e)&&!td(e,E4)&&((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a).i!=0||ke(ye(Ee(e,zj)))))if(n==null||mw(n).length==0){if(!d$e(bn,e))throw t=Qn(Qn(new Ms("Unable to load default layout algorithm "),bn)," for unconfigured node "),vP(e,t),O(new vg(t.a))}else throw t=Qn(Qn(new Ms("Layout algorithm '"),n),"' not found for "),vP(e,t),O(new vg(t.a))}function I_(e){var n,t,i,r,c,o,f,l,a,h,w,y,j;if(t=e.i,n=e.n,e.b==0)for(j=t.c+n.b,y=t.b-n.b-n.c,o=e.a,l=0,h=o.length;l0&&(w-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(w-=i[2]+e.c),i[1]=k.Math.max(i[1],w),DC(e.a[1],t.c+n.b+i[0]-(i[1]-w)/2,i[1]);for(c=e.a,f=0,a=c.length;f0?(e.n.c.length-1)*e.i:0,i=new A(e.n);i.a1)for(i=ut(r,0);i.b!=i.d.c;)for(t=u(ct(i),231),c=0,l=new A(t.e);l.a0&&(n[0]+=e.c,w-=n[0]),n[2]>0&&(w-=n[2]+e.c),n[1]=k.Math.max(n[1],w),LC(e.a[1],i.d+t.d+n[0]-(n[1]-w)/2,n[1]);else for(T=i.d+t.d,j=i.a-t.d-t.a,o=e.a,l=0,h=o.length;l=0&&c!=t))throw O(new rn(Xk));for(r=0,l=0;l0||N0(r.b.d,e.b.d+e.b.a)==0&&i.b<0||N0(r.b.d+r.b.a,e.b.d)==0&&i.b>0){f=0;break}}else f=k.Math.min(f,nRe(e,r,i));f=k.Math.min(f,nHe(e,c,f,i))}return f}function vk(e,n){var t,i,r,c,o,f,l;if(e.b<2)throw O(new rn("The vector chain must contain at least a source and a target point."));for(r=(mn(e.b!=0),u(e.a.a.c,8)),nC(n,r.a,r.b),l=new h2((!n.a&&(n.a=new gi(Fo,n,5)),n.a)),o=ut(e,1);o.aee(Nf(o.g,o.d[0]).a)?(mn(l.b>0),l.a.Xb(l.c=--l.b),Wb(l,o),r=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new oe),f.e).Mc(n),a=(!f.e&&(f.e=new oe),f.e).Mc(t),(c||a)&&((!f.e&&(f.e=new oe),f.e).Fc(o),++o.c));r||(i.c[i.c.length]=o)}function rHe(e){var n,t,i;if(Sg(u(S(e,(be(),ti)),98)))for(t=new A(e.j);t.a>>0,"0"+n.toString(16)),i="\\x"+Ps(t,t.length-2,t.length)):e>=vr?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+Ps(t,t.length-6,t.length)):i=""+String.fromCharCode(e&li)}return i}function L_(e,n){var t,i,r,c,o,f,l,a,h,w;if(o=e.e,l=n.e,l==0)return e;if(o==0)return n.e==0?n:new Og(-n.e,n.d,n.a);if(c=e.d,f=n.d,c+f==2)return t=Ti(e.a[0],Ir),i=Ti(n.a[0],Ir),o<0&&(t=Ov(t)),l<0&&(i=Ov(i)),W7(n1(t,i));if(r=c!=f?c>f?1:-1:sZ(e.a,n.a,c),r==-1)w=-l,h=o==l?tF(n.a,f,e.a,c):rF(n.a,f,e.a,c);else if(w=o,o==l){if(r==0)return c1(),X3;h=tF(e.a,c,n.a,f)}else h=rF(e.a,c,n.a,f);return a=new Og(w,h.length,h),e6(a),a}function Ote(e){var n,t,i,r,c,o;for(this.e=new oe,this.a=new oe,t=e.b-1;t<3;t++)fv(e,0,u(Sf(e,0),8));if(e.b<4)throw O(new rn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,ITn(this,e.b+this.b-1),o=new oe,c=new A(this.e),n=0;n=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(o=u(ve(n.n,n.n.c.length-1),211),o.e+o.d+t.g+r<=i&&(c=u(ve(n.n,n.n.c.length-1),211),c.f-e.f+t.f<=e.b||e.a.c.length==1))return xZ(n,t),!0;if(n.s+t.g<=i&&(n.t+n.d+t.f+r<=e.b||e.a.c.length==1))return se(n.b,t),f=u(ve(n.n,n.n.c.length-1),211),se(n.n,new uS(n.s,f.f+f.a+n.i,n.i)),hee(u(ve(n.n,n.n.c.length-1),211),t),Jqe(n,t),!0}return!1}function uHe(e,n,t){var i,r,c,o;return e.ej()?(r=null,c=e.fj(),i=e.Zi(1,o=bF(e,n,t),t,n,c),e.bj()&&!(e.ni()&&o!=null?kt(o,t):X(o)===X(t))?(o!=null&&(r=e.dj(o,r)),r=e.cj(t,r),e.ij()&&(r=e.lj(o,t,r)),r?(r.Ei(i),r.Fi()):e.$i(i)):(e.ij()&&(r=e.lj(o,t,r)),r?(r.Ei(i),r.Fi()):e.$i(i)),o):(o=bF(e,n,t),e.bj()&&!(e.ni()&&o!=null?kt(o,t):X(o)===X(t))&&(r=null,o!=null&&(r=e.dj(o,null)),r=e.cj(t,r),r&&r.Fi()),o)}function K6(e,n){var t,i,r,c,o,f,l,a;n%=24,e.q.getHours()!=n&&(i=new k.Date(e.q.getTime()),i.setDate(i.getDate()+1),f=e.q.getTimezoneOffset()-i.getTimezoneOffset(),f>0&&(l=f/60|0,a=f%60,r=e.q.getDate(),t=e.q.getHours(),t+l>=24&&++r,c=new k.Date(e.q.getFullYear(),e.q.getMonth(),r,n+l,e.q.getMinutes()+a,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),o=e.q.getTime(),e.q.setTime(o+36e5),e.q.getHours()!=n&&e.q.setTime(o)}function XPn(e,n){var t,i,r,c,o;if(On(n,"Path-Like Graph Wrapping",1),e.b.c.length==0){Tn(n);return}if(r=new _ne(e),o=(r.i==null&&(r.i=OJ(r,new QG)),ee(r.i)*r.f),t=o/(r.i==null&&(r.i=OJ(r,new QG)),ee(r.i)),r.b>t){Tn(n);return}switch(u(S(e,(be(),EH)),337).g){case 2:c=new ZG;break;case 0:c=new YG;break;default:c=new ez}if(i=c.Vf(e,r),!c.Wf())switch(u(S(e,eO),338).g){case 2:i=tRe(r,i);break;case 1:i=nBe(r,i)}zAn(e,r,i),Tn(n)}function YPn(e,n){var t,i,r,c;if(Lpn(e.d,e.e),e.c.a.$b(),ee(he(S(n.j,(be(),Hx))))!=0||ee(he(S(n.j,Hx)))!=0)for(t=L3,X(S(n.j,v1))!==X((Sa(),y1))&&te(n.j,(re(),lb),(un(),!0)),c=u(S(n.j,Uy),19).a,r=0;rr&&++a,se(o,(Qe(f+a,n.c.length),u(n.c[f+a],19))),l+=(Qe(f+a,n.c.length),u(n.c[f+a],19)).a-i,++t;t1&&(l>Ku(f)*vs(f)/2||o.b==0)&&(w=new RS(y),h=Ku(f)/vs(f),a=Y_(w,n,new n2,t,i,r,h),Mt(vf(w.e),a),f=w,j.c[j.c.length]=w,l=0,y.c=V(pn,pe,1,0,5,1)));return pi(j,y),j}function ZPn(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C;if(t.mh(n)&&(h=(j=n,j?u(i,49).xh(j):null),h))if(C=t.bh(n,e.a),T=n.t,T>1||T==-1)if(w=u(C,69),y=u(h,69),w.dc())y.$b();else for(o=!!Tr(n),c=0,f=e.a?w.Kc():w.Zh();f.Ob();)a=u(f.Pb(),56),r=u(M0(e,a),56),r?(o?(l=y.Xc(r),l==-1?y.Xh(c,r):c!=l&&y.ji(c,r)):y.Xh(c,r),++c):e.b&&!o&&(y.Xh(c,a),++c);else C==null?h.Wb(null):(r=M0(e,C),r==null?e.b&&!Tr(n)&&h.Wb(C):h.Wb(r))}function eAn(e,n){var t,i,r,c,o,f,l,a;for(t=new Ege,r=new En(Sn(cc(n).a.Kc(),new J));Wn(r);)if(i=u(_n(r),17),!wr(i)&&(f=i.c.i,Uee(f,ix))){if(a=fte(e,f,ix,tx),a==-1)continue;t.b=k.Math.max(t.b,a),!t.a&&(t.a=new oe),se(t.a,f)}for(o=new En(Sn(vi(n).a.Kc(),new J));Wn(o);)if(c=u(_n(o),17),!wr(c)&&(l=c.d.i,Uee(l,tx))){if(a=fte(e,l,tx,ix),a==-1)continue;t.d=k.Math.max(t.d,a),!t.c&&(t.c=new oe),se(t.c,l)}return t}function sHe(e){b3();var n,t,i,r;if(n=oi(e),e1e6)throw O(new fT("power of ten too big"));if(e<=vt)return M2(lk(sm[1],n),n);for(i=lk(sm[1],vt),r=i,t=Au(e-vt),n=oi(e%vt);Fc(t,vt)>0;)r=Fg(r,i),t=n1(t,vt);for(r=Fg(r,lk(sm[1],n)),r=M2(r,vt),t=Au(e-vt);Fc(t,vt)>0;)r=M2(r,vt),t=n1(t,vt);return r=M2(r,n),r}function nAn(e,n){var t,i,r,c,o,f,l,a,h;for(On(n,"Hierarchical port dummy size processing",1),l=new oe,h=new oe,i=ee(he(S(e,(be(),Lp)))),t=i*2,c=new A(e.b);c.aa&&i>a)h=f,a=ee(n.p[f.p])+ee(n.d[f.p])+f.o.b+f.d.a;else{r=!1,t.n&&U1(t,"bk node placement breaks on "+f+" which should have been after "+h);break}if(!r)break}return t.n&&U1(t,n+" is feasible: "+r),r}function uAn(e,n,t,i){var r,c,o,f,l,a,h;for(f=-1,h=new A(e);h.a=x&&e.e[l.p]>T*e.b||R>=t*x)&&(y.c[y.c.length]=f,f=new oe,gr(o,c),c.a.$b(),a-=h,j=k.Math.max(j,a*e.b+C),a+=R,q=R,R=0,h=0,C=0);return new Xi(j,y)}function lAn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j;for(t=(a=new da(e.c.b).a.vc().Kc(),new $b(a));t.a.Ob();)n=(f=u(t.a.Pb(),42),u(f.dd(),149)),r=n.a,r==null&&(r=""),i=F1n(e.c,r),!i&&r.length==0&&(i=N5n(e)),i&&!hw(i.c,n,!1)&&st(i.c,n);for(o=ut(e.a,0);o.b!=o.d.c;)c=u(ct(o),478),h=J$(e.c,c.a),j=J$(e.c,c.b),h&&j&&st(h.c,new Xi(j,c.c));for(vo(e.a),y=ut(e.b,0);y.b!=y.d.c;)w=u(ct(y),478),n=$1n(e.c,w.a),l=J$(e.c,w.b),n&&l&&Can(n,l,w.c);vo(e.b)}function aAn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j;c=new e8(e),o=new M_e,r=(s7(o.g),s7(o.j),Yu(o.b),s7(o.d),s7(o.i),Yu(o.k),Yu(o.c),Yu(o.e),j=lRe(o,c,null),ZRe(o,c),j),n&&(a=new e8(n),f=kAn(a),une(r,D(I(Vhe,1),pe,527,0,[f]))),y=!1,w=!1,t&&(a=new e8(t),wA in a.a&&(y=va(a,wA).ge().a),jWe in a.a&&(w=va(a,jWe).ge().a)),h=Gke(yLe(new Wm,y),w),rjn(new Rve,r,h),wA in c.a&&jf(c,wA,null),(y||w)&&(l=new t2,iHe(h,l,y,w),jf(c,wA,l)),i=new J8e(o),J4n(new AU(r),i)}function hAn(e,n,t){var i,r,c,o,f,l,a,h,w;for(o=new I_e,a=D(I(Ln,1),nt,25,15,[0]),r=-1,c=0,i=0,l=0;l0){if(r<0&&h.a&&(r=l,c=a[0],i=0),r>=0){if(f=h.b,l==r&&(f-=i++,f==0))return 0;if(!lVe(n,a,h,f,o)){l=r-1,a[0]=c;continue}}else if(r=-1,!lVe(n,a,h,0,o))return 0}else{if(r=-1,Zi(h.c,0)==32){if(w=a[0],ODe(n,a),a[0]>w)continue}else if(zgn(n,h.c,a[0])){a[0]+=h.c.length;continue}return 0}return zOn(o,t)?a[0]:0}function H6(e){var n,t,i,r,c,o,f,l;if(!e.f){if(l=new sz,f=new sz,n=M9,o=n.a.zc(e,n),o==null){for(c=new jn(Yr(e));c.e!=c.i.gc();)r=u(Pn(c),26),Jt(l,H6(r));n.a.Bc(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new fe($u,e,21,17)),new jn(e.s));i.e!=i.i.gc();)t=u(Pn(i),170),_(t,99)&&Bn(f,u(t,18));lw(f),e.r=new EMe(e,(u(K(Q((Gh(),Je).o),6),18),f.i),f.g),Jt(l,e.r),lw(l),e.f=new Cg((u(K(Q(Je.o),5),18),l.i),l.g),is(e).b&=-3}return e.f}function dAn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T;for(o=e.o,i=V(Ln,nt,25,o,15,1),r=V(Ln,nt,25,o,15,1),t=e.p,n=V(Ln,nt,25,t,15,1),c=V(Ln,nt,25,t,15,1),a=0;a=0&&!Wg(e,h,w);)--w;r[h]=w}for(j=0;j=0&&!Wg(e,f,T);)--f;c[T]=f}for(l=0;ln[y]&&yi[l]&&lP(e,l,y,!1,!0)}function Ite(e){var n,t,i,r,c,o,f,l;t=ke(ye(S(e,(Mf(),BYe)))),c=e.a.c.d,f=e.a.d.d,t?(o=gl(Ki(new je(f.a,f.b),c),.5),l=gl(kc(e.e),.5),n=Ki(Mt(new je(c.a,c.b),o),l),oX(e.d,n)):(r=ee(he(S(e.a,WYe))),i=e.d,c.a>=f.a?c.b>=f.b?(i.a=f.a+(c.a-f.a)/2+r,i.b=f.b+(c.b-f.b)/2-r-e.e.b):(i.a=f.a+(c.a-f.a)/2+r,i.b=c.b+(f.b-c.b)/2+r):c.b>=f.b?(i.a=c.a+(f.a-c.a)/2+r,i.b=f.b+(c.b-f.b)/2+r):(i.a=c.a+(f.a-c.a)/2+r,i.b=c.b+(f.b-c.b)/2-r-e.e.b))}function Yc(e,n){var t,i,r,c,o,f,l;if(e==null)return null;if(c=e.length,c==0)return"";for(l=V(ho,Tl,25,c,15,1),UQ(0,c,e.length),UQ(0,c,l.length),APe(e,0,c,l,0),t=null,f=n,r=0,o=0;r0?Ps(t.a,0,c-1):""):e.substr(0,c-1):t?t.a:e}function lHe(e){s0(e,new pd(i0(e0(t0(n0(new R1,Ed),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ewe))),de(e,Ed,UB,me(Lse)),de(e,Ed,XB,me(uq)),de(e,Ed,Z2,me(TYe)),de(e,Ed,J0,me(Dse)),de(e,Ed,pie,me(PYe)),de(e,Ed,mie,me(MYe)),de(e,Ed,gie,me(AYe)),de(e,Ed,vie,me(SYe)),de(e,Ed,Sie,me(CYe)),de(e,Ed,Mie,me(cq)),de(e,Ed,Pie,me(Ise)),de(e,Ed,Aie,me(XA))}function Dte(e,n,t,i){var r,c,o,f,l,a,h,w,y;if(c=new xa(e),q1(c,(dn(),Zc)),te(c,(be(),ti),(Wi(),nu)),r=0,n){for(o=new qc,te(o,(re(),Et),n),te(c,Et,n.i),Ci(o,(ae(),sn)),ac(o,c),y=kl(n.e),a=y,h=0,w=a.length;h0)if(t-=i.length-n,t>=0){for(r.a+="0.";t>Od.length;t-=Od.length)qMe(r,Od);TSe(r,Od,oi(t)),Qn(r,i.substr(n))}else t=n-t,Qn(r,Ps(i,n,oi(t))),r.a+=".",Qn(r,I8(i,oi(t)));else{for(Qn(r,i.substr(n));t<-Od.length;t+=Od.length)qMe(r,Od);TSe(r,Od,oi(-t))}return r.a}function Lte(e,n,t,i){var r,c,o,f,l,a,h,w,y;return l=Ki(new je(t.a,t.b),e),a=l.a*n.b-l.b*n.a,h=n.a*i.b-n.b*i.a,w=(l.a*i.b-l.b*i.a)/h,y=a/h,h==0?a==0?(r=Mt(new je(t.a,t.b),gl(new je(i.a,i.b),.5)),c=Xh(e,r),o=Xh(Mt(new je(e.a,e.b),n),r),f=k.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c=0&&w<=1&&y>=0&&y<=1?Mt(new je(e.a,e.b),gl(new je(n.a,n.b),w)):null}function wAn(e,n,t){var i,r,c,o,f;if(i=u(S(e,(be(),fH)),21),t.a>n.a&&(i.Hc((pw(),Kj))?e.c.a+=(t.a-n.a)/2:i.Hc(qj)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Hc((pw(),Vj))?e.c.b+=(t.b-n.b)/2:i.Hc(Hj)&&(e.c.b+=t.b-n.b)),u(S(e,(re(),eu)),21).Hc((Or(),fo))&&(t.a>n.a||t.b>n.b))for(f=new A(e.a);f.an.a&&(i.Hc((pw(),Kj))?e.c.a+=(t.a-n.a)/2:i.Hc(qj)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Hc((pw(),Vj))?e.c.b+=(t.b-n.b)/2:i.Hc(Hj)&&(e.c.b+=t.b-n.b)),u(S(e,(re(),eu)),21).Hc((Or(),fo))&&(t.a>n.a||t.b>n.b))for(o=new A(e.a);o.an&&(r=0,c+=h.b+t,w.c[w.c.length]=h,h=new pQ(c,t),i=new KF(0,h.f,h,t),HS(h,i),r=0),i.b.c.length==0||l.f>=i.o&&l.f<=i.f||i.a*.5<=l.f&&i.a*1.5>=l.f?xZ(i,l):(o=new KF(i.s+i.r+t,h.f,h,t),HS(h,o),xZ(o,l)),r=l.i+l.g;return w.c[w.c.length]=h,w}function cp(e){var n,t,i,r,c,o,f,l;if(!e.a){if(e.o=null,l=new m7e(e),n=new K3e,t=M9,f=t.a.zc(e,t),f==null){for(o=new jn(Yr(e));o.e!=o.i.gc();)c=u(Pn(o),26),Jt(l,cp(c));t.a.Bc(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new fe($u,e,21,17)),new jn(e.s));r.e!=r.i.gc();)i=u(Pn(r),170),_(i,322)&&Bn(n,u(i,34));lw(n),e.k=new jMe(e,(u(K(Q((Gh(),Je).o),7),18),n.i),n.g),Jt(l,e.k),lw(l),e.a=new Cg((u(K(Q(Je.o),4),18),l.i),l.g),is(e).b&=-2}return e.a}function vAn(e,n,t,i,r,c,o){var f,l,a,h,w,y;return w=!1,l=mKe(t.q,n.f+n.b-t.q.f),y=r-(t.q.e+l-o),y=(Qe(c,e.c.length),u(e.c[c],200)).e,h=(f=V6(i,y,!1),f.a),h>n.b&&!a)?!1:((a||h<=n.b)&&(a&&h>n.b?(t.d=h,h7(t,jBe(t,h))):(K_e(t.q,l),t.c=!0),h7(i,r-(t.s+t.r)),U7(i,t.q.e+t.q.d,n.f),HS(n,i),e.c.length>c&&(Z7((Qe(c,e.c.length),u(e.c[c],200)),i),(Qe(c,e.c.length),u(e.c[c],200)).a.c.length==0&&Za(e,c)),w=!0),w)}function $te(e,n,t,i){var r,c,o,f,l,a,h;if(h=bu(e.e.Tg(),n),r=0,c=u(e.g,119),l=null,jr(),u(n,66).Oj()){for(f=0;fe.o.a&&(h=(l-e.o.a)/2,f.b=k.Math.max(f.b,h),f.c=k.Math.max(f.c,h))}}function kAn(e){var n,t,i,r,c,o,f,l;for(c=new Hxe,chn(c,(L2(),gin)),i=(r=AF(e,V(ge,ie,2,0,6,1)),new z4(new gs(new DD(e,r).b)));i.b0?e.i:0)>n&&l>0&&(c=0,o+=l+e.i,r=k.Math.max(r,y),i+=l+e.i,l=0,y=0,t&&(++w,se(e.n,new uS(e.s,o,e.i))),f=0),y+=a.g+(f>0?e.i:0),l=k.Math.max(l,a.f),t&&hee(u(ve(e.n,w),211),a),c+=a.g+(f>0?e.i:0),++f;return r=k.Math.max(r,y),i+=l,t&&(e.r=r,e.d=i,gee(e.j)),new Qs(e.s,e.t,r,i)}function Hc(e,n,t,i,r){Rl();var c,o,f,l,a,h,w,y,j;if($Y(e,"src"),$Y(t,"dest"),y=cs(e),l=cs(t),rY((y.i&4)!=0,"srcType is not an array"),rY((l.i&4)!=0,"destType is not an array"),w=y.c,o=l.c,rY(w.i&1?w==o:(o.i&1)==0,"Array types don't match"),j=e.length,a=t.length,n<0||i<0||r<0||n+r>j||i+r>a)throw O(new Yz);if(!(w.i&1)&&y!=l)if(h=rd(e),c=rd(t),X(e)===X(t)&&ni;)Ut(c,f,h[--n]);else for(f=i+r;i0&&kne(e,n,t,i,r,!0)}function __(){__=W,dXe=D(I(Ln,1),nt,25,15,[cr,1162261467,X6,1220703125,362797056,1977326743,X6,387420489,PP,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,X6,1291467969,1544804416,1838265625,60466176]),bXe=D(I(Ln,1),nt,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function jAn(e){var n,t,i,r,c,o,f,l;for(r=new A(e.b);r.a=e.b.length?(c[r++]=o.b[i++],c[r++]=o.b[i++]):i>=o.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):o.b[i]0?e.i:0)),++n;for(L6n(e.n,l),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=ei,e.p=ei,c=new A(e.b);c.a0&&(r=(!e.n&&(e.n=new fe(oc,e,1,7)),u(K(e.n,0),137)).a,!r||Qn(Qn((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new Xe(xn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Xe(xn,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",Qn(n,GU(new PD,new jn(e.b))),t&&(n.a+="]"),n.a+=nR,t&&(n.a+="["),Qn(n,GU(new PD,new jn(e.c))),t&&(n.a+="]"),n.a)}function B_(e,n){var t,i,r,c,o,f,l;if(e.a){if(f=e.a.ne(),l=null,f!=null?n.a+=""+f:(o=e.a.Dj(),o!=null&&(c=wl(o,xu(91)),c!=-1?(l=o.substr(c),n.a+=""+Ps(o==null?Ou:(nn(o),o),0,c)):n.a+=""+o)),e.d&&e.d.i!=0){for(r=!0,n.a+="<",i=new jn(e.d);i.e!=i.i.gc();)t=u(Pn(i),87),r?r=!1:n.a+=mr,B_(t,n);n.a+=">"}l!=null&&(n.a+=""+l)}else e.e?(f=e.e.zb,f!=null&&(n.a+=""+f)):(n.a+="?",e.b?(n.a+=" super ",B_(e.b,n)):e.f&&(n.a+=" extends ",B_(e.f,n)))}function CAn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on;for(Z=e.c,ue=n.c,t=rc(Z.a,e,0),i=rc(ue.a,n,0),R=u(_0(e,(Ar(),es)).Kc().Pb(),11),Ae=u(_0(e,fu).Kc().Pb(),11),z=u(_0(n,es).Kc().Pb(),11),on=u(_0(n,fu).Kc().Pb(),11),$=kl(R.e),we=kl(Ae.g),q=kl(z.e),Te=kl(on.g),gw(e,i,ue),o=q,h=0,T=o.length;hh?new Z1((yf(),ng),t,n,a-h):a>0&&h>0&&(new Z1((yf(),ng),n,t,0),new Z1(ng,t,n,0))),o)}function dHe(e,n){var t,i,r,c,o,f;for(o=new ld(new H1(e.f.b).a);o.b;){if(c=A0(o),r=u(c.cd(),594),n==1){if(r.gf()!=(xr(),Ba)&&r.gf()!=_a)continue}else if(r.gf()!=(xr(),Io)&&r.gf()!=of)continue;switch(i=u(u(c.dd(),46).b,81),f=u(u(c.dd(),46).a,189),t=f.c,r.gf().g){case 2:i.g.c=e.e.a,i.g.b=k.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=k.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=k.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=k.Math.max(1,i.g.a-t)}}}function SAn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C;for(f=V(Ln,nt,25,n.b.c.length,15,1),a=V(kq,ce,267,n.b.c.length,0,1),l=V(ca,hh,10,n.b.c.length,0,1),w=e.a,y=0,j=w.length;y0&&l[i]&&(T=Pg(e.b,l[i],r)),C=k.Math.max(C,r.c.c.b+T);for(c=new A(h.e);c.a1)throw O(new rn(ej));l||(c=Wl(n,i.Kc().Pb()),o.Fc(c))}return zJ(e,hne(e,n,t),o)}function AAn(e,n){var t,i,r,c;for(h3n(n.b.j),ri(ju(new Ue(null,new Ye(n.d,16)),new W2e),new U2e),c=new A(n.d);c.ae.o.b||(t=bc(e,hn),f=n.d+n.a+(t.gc()-1)*o,f>e.o.b)))}function q_(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T;if(o=e.e,l=n.e,o==0)return n;if(l==0)return e;if(c=e.d,f=n.d,c+f==2)return t=Ti(e.a[0],Ir),i=Ti(n.a[0],Ir),o==l?(h=fr(t,i),T=Fn(h),j=Fn(Yb(h,32)),j==0?new eh(o,T):new Og(o,2,D(I(Ln,1),nt,25,15,[T,j]))):W7(o<0?n1(i,t):n1(t,i));if(o==l)y=o,w=c>=f?rF(e.a,c,n.a,f):rF(n.a,f,e.a,c);else{if(r=c!=f?c>f?1:-1:sZ(e.a,n.a,c),r==0)return c1(),X3;r==1?(y=o,w=tF(e.a,c,n.a,f)):(y=l,w=tF(n.a,f,e.a,c))}return a=new Og(y,w.length,w),e6(a),a}function H_(e,n,t,i,r,c,o){var f,l,a,h,w,y,j;return w=ke(ye(S(n,(be(),Ale)))),y=null,c==(Ar(),es)&&i.c.i==t?y=i.c:c==fu&&i.d.i==t&&(y=i.d),a=o,!a||!w||y?(h=(ae(),pc),y?h=y.j:Sg(u(S(t,ti),98))&&(h=c==es?sn:hn),l=DAn(e,n,t,c,h,i),f=eF((lr(t),i)),c==es?(or(f,u(ve(l.j,0),11)),Gi(f,r)):(or(f,r),Gi(f,u(ve(l.j,0),11))),a=new IFe(i,f,l,u(S(l,(re(),Et)),11),c,!y)):(se(a.e,i),j=k.Math.max(ee(he(S(a.d,ph))),ee(he(S(i,ph)))),te(a.d,ph,j)),Be(e.a,i,new mC(a.d,n,c)),a}function pP(e,n){var t,i,r,c,o,f,l,a,h,w;if(h=null,e.d&&(h=u(zc(e.d,n),138)),!h){if(c=e.a.Mh(),w=c.i,!e.d||s5(e.d)!=w){for(l=new $n,e.d&&h6(l,e.d),a=l.f.c+l.g.c,f=a;f0?(j=(T-1)*t,f&&(j+=i),h&&(j+=i),j=e.b[r+1])r+=2;else if(t0)for(i=new Ru(u(Ct(e.a,c),21)),He(),Li(i,new Bz(n)),r=new Yi(c.b,0);r.bZ)?(l=2,o=vt):l==0?(l=1,o=we):(l=0,o=we)):(j=we>=o||o-we0?1:f0(isNaN(i),isNaN(0)))>=0^(Zo(xl),(k.Math.abs(f)<=xl||f==0||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:f0(isNaN(f),isNaN(0)))>=0)?k.Math.max(f,i):(Zo(xl),(k.Math.abs(i)<=xl||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:f0(isNaN(i),isNaN(0)))>0?k.Math.sqrt(f*f+i*i):-k.Math.sqrt(f*f+i*i))}function md(e,n){var t,i,r,c,o,f;if(n){if(!e.a&&(e.a=new uT),e.e==2){cT(e.a,n);return}if(n.e==1){for(r=0;r=vr?Fr(t,AZ(i)):pv(t,i&li),o=new O$(10,null,0),ywn(e.a,o,f-1)):(t=(o.bm().length+c,new r5),Fr(t,o.bm())),n.e==0?(i=n._l(),i>=vr?Fr(t,AZ(i)):pv(t,i&li)):Fr(t,n.bm()),u(o,521).b=t.a}}function kHe(e){var n,t,i,r,c;return e.g!=null?e.g:e.a<32?(e.g=rIn(Au(e.f),oi(e.e)),e.g):(r=J_((!e.c&&(e.c=_7(e.f)),e.c),0),e.e==0?r:(n=(!e.c&&(e.c=_7(e.f)),e.c).e<0?2:1,t=r.length,i=-e.e+t-n,c=new Ih,c.a+=""+r,e.e>0&&i>=-6?i>=0?i7(c,t-oi(e.e),String.fromCharCode(46)):(c.a=Ps(c.a,0,n-1)+"0."+I8(c.a,n-1),i7(c,n+1,ko(Od,0,-oi(i)-1))):(t-n>=1&&(i7(c,n,String.fromCharCode(46)),++t),i7(c,t,String.fromCharCode(69)),i>0&&i7(c,++t,String.fromCharCode(43)),i7(c,++t,""+V5(Au(i)))),e.g=c.a,e.g))}function zAn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x;if(!t.dc()){for(f=0,y=0,i=t.Kc(),T=u(i.Pb(),19).a;f1&&(l=a.mg(l,e.a,f));return l.c.length==1?u(ve(l,l.c.length-1),220):l.c.length==2?$An((Qe(0,l.c.length),u(l.c[0],220)),(Qe(1,l.c.length),u(l.c[1],220)),o,c):null}function jHe(e){var n,t,i,r,c,o;for(Su(e.a,new Xbe),t=new A(e.a);t.a=k.Math.abs(i.b)?(i.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(n=new kU(e.i,e.g),t=e.i,c=t<100?null:new Dh(t),e.ij())for(i=0;i0){for(f=e.g,a=e.i,c6(e),c=a<100?null:new Dh(a),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,f=n.l&8191,l=n.l>>13|(n.m&15)<<9,a=n.m>>4&8191,h=n.m>>17|(n.h&255)<<5,w=(n.h&1048320)>>8,Te=t*f,Ae=i*f,on=r*f,ln=c*f,Mn=o*f,l!=0&&(Ae+=t*l,on+=i*l,ln+=r*l,Mn+=c*l),a!=0&&(on+=t*a,ln+=i*a,Mn+=r*a),h!=0&&(ln+=t*h,Mn+=i*h),w!=0&&(Mn+=t*w),j=Te&fs,T=(Ae&511)<<13,y=j+T,x=Te>>22,$=Ae>>9,q=(on&262143)<<4,R=(ln&31)<<17,C=x+$+q+R,Z=on>>18,ue=ln>>5,we=(Mn&4095)<<8,z=Z+ue+we,C+=y>>22,y&=fs,z+=C>>22,C&=fs,z&=La,au(y,C,z)}function EHe(e){var n,t,i,r,c,o,f;if(f=u(ve(e.j,0),11),f.g.c.length!=0&&f.e.c.length!=0)throw O(new tc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(f.g.c.length!=0){for(c=ei,t=new A(f.g);t.a4)if(e.wj(n)){if(e.rk()){if(r=u(n,49),i=r.Ug(),l=i==e.e&&(e.Dk()?r.Og(r.Vg(),e.zk())==e.Ak():-1-r.Vg()==e.aj()),e.Ek()&&!l&&!i&&r.Zg()){for(c=0;c0&&(a=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(a=e.n.b/r)}te(e,(re(),hb),a)}if(l=e.o,o=e.a,i)o.a=i.a,o.b=i.b,e.d=!0;else if(n!=cl&&n!=S1&&f!=pc)switch(f.g){case 1:o.a=l.a/2;break;case 2:o.a=l.a,o.b=l.b/2;break;case 3:o.a=l.a/2,o.b=l.b;break;case 4:o.b=l.b/2}else o.a=l.a/2,o.b=l.b/2}function z6(e){var n,t,i,r,c,o,f,l,a,h;if(e.ej())if(h=e.Vi(),l=e.fj(),h>0)if(n=new DJ(e.Gi()),t=h,c=t<100?null:new Dh(t),_8(e,t,n.g),r=t==1?e.Zi(4,K(n,0),null,0,l):e.Zi(6,n,null,-1,l),e.bj()){for(i=new jn(n);i.e!=i.i.gc();)c=e.dj(Pn(i),c);c?(c.Ei(r),c.Fi()):e.$i(r)}else c?(c.Ei(r),c.Fi()):e.$i(r);else _8(e,e.Vi(),e.Wi()),e.$i(e.Zi(6,(He(),Sr),null,-1,l));else if(e.bj())if(h=e.Vi(),h>0){for(f=e.Wi(),a=h,_8(e,h,f),c=a<100?null:new Dh(a),i=0;ie.d[o.p]&&(t+=OQ(e.b,c)*u(l.b,19).a,Uh(e.a,le(c)));for(;!n5(e.a);)oJ(e.b,u(v2(e.a),19).a)}return t}function rxn(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x;for(w=new Hr(u(Ee(e,(XM(),Jhe)),8)),w.a=k.Math.max(w.a-t.b-t.c,0),w.b=k.Math.max(w.b-t.d-t.a,0),r=he(Ee(e,Xhe)),(r==null||(nn(r),r<=0))&&(r=1.3),f=new oe,T=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));T.e!=T.i.gc();)j=u(Pn(T),33),o=new eSe(j),f.c[f.c.length]=o;switch(y=u(Ee(e,vV),311),y.g){case 3:x=SPn(f,n,w.a,w.b,(a=i,nn(r),a));break;case 1:x=JPn(f,n,w.a,w.b,(h=i,nn(r),h));break;default:x=sxn(f,n,w.a,w.b,(l=i,nn(r),l))}c=new RS(x),C=Y_(c,n,t,w.a,w.b,i,(nn(r),r)),U0(e,C.a,C.b,!1,!0)}function cxn(e,n){var t,i,r,c;t=n.b,c=new Ru(t.j),r=0,i=t.j,i.c=V(pn,pe,1,0,5,1),p0(u(ud(e.b,(ae(),tn),(D0(),ob)),15),t),r=Y7(c,r,new T2e,i),p0(u(ud(e.b,tn,p1),15),t),r=Y7(c,r,new E2e,i),p0(u(ud(e.b,tn,sb),15),t),p0(u(ud(e.b,hn,ob),15),t),p0(u(ud(e.b,hn,p1),15),t),r=Y7(c,r,new C2e,i),p0(u(ud(e.b,hn,sb),15),t),p0(u(ud(e.b,In,ob),15),t),r=Y7(c,r,new S2e,i),p0(u(ud(e.b,In,p1),15),t),r=Y7(c,r,new M2e,i),p0(u(ud(e.b,In,sb),15),t),p0(u(ud(e.b,sn,ob),15),t),r=Y7(c,r,new _2e,i),p0(u(ud(e.b,sn,p1),15),t),p0(u(ud(e.b,sn,sb),15),t)}function uxn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C;for(On(n,"Layer size calculation",1),h=ei,a=bi,r=!1,f=new A(e.b);f.a.5?$-=o*2*(T-.5):T<.5&&($+=c*2*(.5-T)),r=f.d.b,$x.a-C-h&&($=x.a-C-h),f.n.a=n+$}}function sxn(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T,C,x;for(f=V(Hi,Rr,25,e.c.length,15,1),y=new BC(new v3e),yee(y,e),a=0,C=new oe;y.b.c.length!=0;)if(o=u(y.b.c.length==0?null:ve(y.b,0),157),a>1&&Ku(o)*vs(o)/2>f[0]){for(c=0;cf[c];)++c;T=new zl(C,0,c+1),w=new RS(T),h=Ku(o)/vs(o),l=Y_(w,n,new n2,t,i,r,h),Mt(vf(w.e),l),Pv(a3(y,w)),j=new zl(C,c+1,C.c.length),yee(y,j),C.c=V(pn,pe,1,0,5,1),a=0,ZMe(f,f.length,0)}else x=y.b.c.length==0?null:ve(y.b,0),x!=null&&MF(y,0),a>0&&(f[a]=f[a-1]),f[a]+=Ku(o)*vs(o),++a,C.c[C.c.length]=o;return C}function oxn(e){var n,t,i,r,c;if(i=u(S(e,(be(),gu)),163),i==(ro(),m1)){for(t=new En(Sn(cc(e).a.Kc(),new J));Wn(t);)if(n=u(_n(t),17),!lIe(n))throw O(new vg(rR+Q7(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(i==Gw){for(c=new En(Sn(vi(e).a.Kc(),new J));Wn(c);)if(r=u(_n(c),17),!lIe(r))throw O(new vg(rR+Q7(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function fxn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T;for(On(n,"Label dummy removal",1),i=ee(he(S(e,(be(),ym)))),r=ee(he(S(e,Zw))),a=u(S(e,Ks),103),l=new A(e.b);l.a0&&xBe(e,f,w);for(r=new A(w);r.a>19&&(n=Wv(n),l=!l),o=oCn(n),c=!1,r=!1,i=!1,e.h==xk&&e.m==0&&e.l==0)if(r=!0,c=!0,o==-1)e=GTe((Iv(),Tue)),i=!0,l=!l;else return f=Nne(e,o),l&&NF(f),t&&(d1=au(0,0,0)),f;else e.h>>19&&(c=!0,e=Wv(e),i=!0,l=!l);return o!=-1?X4n(e,o,l,c,t):Pee(e,n)<0?(t&&(c?d1=Wv(e):d1=au(e.l,e.m,e.h)),au(0,0,0)):ZMn(i?e:au(e.l,e.m,e.h),n,l,c,r,t)}function mP(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T;if(e.e&&e.c.cn.f||n.g>e.f)){for(t=0,i=0,o=e.w.a.ec().Kc();o.Ob();)r=u(o.Pb(),11),XF(dc(D(I(Ii,1),ie,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;for(f=e.r.a.ec().Kc();f.Ob();)r=u(f.Pb(),11),XF(dc(D(I(Ii,1),ie,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;for(l=n.w.a.ec().Kc();l.Ob();)r=u(l.Pb(),11),XF(dc(D(I(Ii,1),ie,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;for(c=n.r.a.ec().Kc();c.Ob();)r=u(c.Pb(),11),XF(dc(D(I(Ii,1),ie,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;t=0)return r=m6n(e,n.substr(1,o-1)),h=n.substr(o+1,l-(o+1)),dIn(e,h,r)}else{if(t=-1,Aue==null&&(Aue=new RegExp("\\d")),Aue.test(String.fromCharCode(f))&&(t=$X(n,xu(46),l-1),t>=0)){i=u(nF(e,tLe(e,n.substr(1,t-1)),!1),58),a=0;try{a=Fs(n.substr(t+1),cr,vt)}catch(y){throw y=Ht(y),_(y,127)?(c=y,O(new xS(c))):O(y)}if(a=0)return t;switch(y0(zr(e,t))){case 2:{if(Ke("",rh(e,t.Hj()).ne())){if(l=Q8(zr(e,t)),f=yv(zr(e,t)),h=Vne(e,n,l,f),h)return h;for(r=pte(e,n),o=0,w=r.gc();o1)throw O(new rn(ej));for(h=bu(e.e.Tg(),n),i=u(e.g,119),o=0;o1,a=new Hf(y.b);lc(a.a)||lc(a.b);)l=u(lc(a.a)?P(a.a):P(a.b),17),w=l.c==y?l.d:l.c,k.Math.abs(dc(D(I(Ii,1),ie,8,0,[w.i.n,w.n,w.a])).b-o.b)>1&&hSn(e,l,o,c,y)}}function kxn(e){var n,t,i,r,c,o;if(r=new Yi(e.e,0),i=new Yi(e.a,0),e.d)for(t=0;t_R;){for(c=n,o=0;k.Math.abs(n-c)<_R;)++o,n=ee((mn(r.b0),r.a.Xb(r.c=--r.b),_Pn(e,e.b-o,c,i,r),mn(r.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(t=0;t0?(e.f[h.p]=j/(h.e.c.length+h.g.c.length),e.c=k.Math.min(e.c,e.f[h.p]),e.b=k.Math.max(e.b,e.f[h.p])):f&&(e.f[h.p]=j)}}function Exn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function Txn(e,n,t){var i,r,c,o;for(On(t,"Graph transformation ("+e.a+")",1),o=T0(n.a),c=new A(n.b);c.a0&&(e.a=l+(j-1)*c,n.c.b+=e.a,n.f.b+=e.a)),T.a.gc()!=0&&(y=new l$(1,c),j=Hte(y,n,T,C,n.f.b+l-n.c.b),j>0&&(n.f.b+=l+(j-1)*c))}function E3(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,Yv(e,null)):(e.F=(nn(n),n),i=wl(n,xu(60)),i!=-1?(r=n.substr(0,i),wl(n,xu(46))==-1&&!Ke(r,z2)&&!Ke(r,my)&&!Ke(r,mA)&&!Ke(r,vy)&&!Ke(r,yy)&&!Ke(r,ky)&&!Ke(r,jy)&&!Ke(r,Ey)&&(r=aUe),t=sC(n,xu(62)),t!=-1&&(r+=""+n.substr(t+1)),Yv(e,r)):(r=n,wl(n,xu(46))==-1&&(i=wl(n,xu(91)),i!=-1&&(r=n.substr(0,i)),!Ke(r,z2)&&!Ke(r,my)&&!Ke(r,mA)&&!Ke(r,vy)&&!Ke(r,yy)&&!Ke(r,ky)&&!Ke(r,jy)&&!Ke(r,Ey)?(r=aUe,i!=-1&&(r+=""+n.substr(i))):r=n),Yv(e,r),r==n&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&yt(e,new $i(e,1,5,c,n))}function Sxn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R;if(C=n.b.c.length,!(C<3)){for(j=V(Ln,nt,25,C,15,1),w=0,h=new A(n.b);h.ao)&&Ei(e.b,u(x.b,17));++f}c=o}}}function Rte(e,n){var t;if(n==null||Ke(n,Ou)||n.length==0&&e.k!=(lh(),jm))return null;switch(e.k.g){case 1:return MM(n,R3)?(un(),W3):MM(n,ZR)?(un(),xd):null;case 2:try{return le(Fs(n,cr,vt))}catch(i){if(i=Ht(i),_(i,127))return null;throw O(i)}case 4:try{return vw(n)}catch(i){if(i=Ht(i),_(i,127))return null;throw O(i)}case 3:return n;case 5:return fFe(e),wRe(e,n);case 6:return fFe(e),FTn(e,e.a,n);case 7:try{return t=UEn(e),t.Jf(n),t}catch(i){if(i=Ht(i),_(i,32))return null;throw O(i)}default:throw O(new tc("Invalid type set for this layout option."))}}function Mxn(e){s6();var n,t,i,r,c,o,f;for(f=new R7e,t=new A(e);t.a=f.b.c)&&(f.b=n),(!f.c||n.c<=f.c.c)&&(f.d=f.c,f.c=n),(!f.e||n.d>=f.e.d)&&(f.e=n),(!f.f||n.d<=f.f.d)&&(f.f=n);return i=new OM((zv(),ub)),c7(e,pQe,new gs(D(I(dj,1),pe,369,0,[i]))),o=new OM(Kw),c7(e,gQe,new gs(D(I(dj,1),pe,369,0,[o]))),r=new OM(Rw),c7(e,wQe,new gs(D(I(dj,1),pe,369,0,[r]))),c=new OM(jp),c7(e,bQe,new gs(D(I(dj,1),pe,369,0,[c]))),w_(i.c,ub),w_(r.c,Rw),w_(c.c,jp),w_(o.c,Kw),f.a.c=V(pn,pe,1,0,5,1),pi(f.a,i.c),pi(f.a,cd(r.c)),pi(f.a,c.c),pi(f.a,cd(o.c)),f}function Kte(e){var n;switch(e.d){case 1:{if(e.hj())return e.o!=-2;break}case 2:{if(e.hj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(n=e.gj(),e.p){case 0:return n!=null&&ke(ye(n))!=M5(e.k,0);case 1:return n!=null&&u(n,217).a!=Fn(e.k)<<24>>24;case 2:return n!=null&&u(n,172).a!=(Fn(e.k)&li);case 6:return n!=null&&M5(u(n,162).a,e.k);case 5:return n!=null&&u(n,19).a!=Fn(e.k);case 7:return n!=null&&u(n,184).a!=Fn(e.k)<<16>>16;case 3:return n!=null&&ee(he(n))!=e.j;case 4:return n!=null&&u(n,155).a!=e.j;default:return n==null?e.n!=null:!kt(n,e.n)}}function jk(e,n,t){var i,r,c,o;return e.Fk()&&e.Ek()&&(o=t$(e,u(t,56)),X(o)!==X(t))?(e.Oi(n),e.Ui(n,iDe(e,n,o)),e.rk()&&(c=(r=u(t,49),e.Dk()?e.Bk()?r.ih(e.b,Tr(u(ze(Eu(e.b),e.aj()),18)).n,u(ze(Eu(e.b),e.aj()).Yj(),26).Bj(),null):r.ih(e.b,qt(r.Tg(),Tr(u(ze(Eu(e.b),e.aj()),18))),null,null):r.ih(e.b,-1-e.aj(),null,null)),!u(o,49).eh()&&(c=(i=u(o,49),e.Dk()?e.Bk()?i.gh(e.b,Tr(u(ze(Eu(e.b),e.aj()),18)).n,u(ze(Eu(e.b),e.aj()).Yj(),26).Bj(),c):i.gh(e.b,qt(i.Tg(),Tr(u(ze(Eu(e.b),e.aj()),18))),null,c):i.gh(e.b,-1-e.aj(),null,c))),c&&c.Fi()),ps(e.b)&&e.$i(e.Zi(9,t,o,n,!1)),o):t}function MHe(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z;for(h=ee(he(S(e,(be(),gb)))),i=ee(he(S(e,Rle))),y=new JI,te(y,gb,h+i),a=n,$=a.d,C=a.c.i,q=a.d.i,x=SU(C.c),R=SU(q.c),r=new oe,w=x;w<=R;w++)f=new xa(e),q1(f,(dn(),Fi)),te(f,(re(),Et),a),te(f,ti,(Wi(),nu)),te(f,Zx,y),j=u(ve(e.b,w),29),w==x?gw(f,j.a.c.length-t,j):Gr(f,j),z=ee(he(S(a,ph))),z<0&&(z=0,te(a,ph,z)),f.o.b=z,T=k.Math.floor(z/2),o=new qc,Ci(o,(ae(),sn)),ac(o,f),o.n.b=T,l=new qc,Ci(l,hn),ac(l,f),l.n.b=T,Gi(a,o),c=new k0,Jr(c,a),te(c,Xr,null),or(c,l),Gi(c,$),x8n(f,a,c),r.c[r.c.length]=c,a=c;return r}function z_(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R;for(l=u(fh(e,(ae(),sn)).Kc().Pb(),11).e,j=u(fh(e,hn).Kc().Pb(),11).g,f=l.c.length,R=Rf(u(ve(e.j,0),11));f-- >0;){for(C=(Qe(0,l.c.length),u(l.c[0],17)),r=(Qe(0,j.c.length),u(j.c[0],17)),q=r.d.e,c=rc(q,r,0),L2n(C,r.d,c),or(r,null),Gi(r,null),T=C.a,n&&st(T,new Hr(R)),i=ut(r.a,0);i.b!=i.d.c;)t=u(ct(i),8),st(T,new Hr(t));for($=C.b,y=new A(r.b);y.a0&&(o=k.Math.max(o,n$e(e.C.b+i.d.b,r))),h=i,w=r,y=c;e.C&&e.C.c>0&&(j=y+e.C.c,a&&(j+=h.d.c),o=k.Math.max(o,(Ff(),Zo(Qf),k.Math.abs(w-1)<=Qf||w==1||isNaN(w)&&isNaN(1)?0:j/(1-w)))),t.n.b=0,t.a.a=o}function AHe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j;if(t=u(Nr(e.b,n),124),l=u(u(Ct(e.r,n),21),84),l.dc()){t.n.d=0,t.n.a=0;return}for(a=e.u.Hc((Ju(),Ka)),o=0,e.A.Hc((Ts(),Vd))&&oqe(e,n),f=l.Kc(),h=null,y=0,w=0;f.Ob();)i=u(f.Pb(),111),c=ee(he(i.b.We((oC(),zA)))),r=i.b.rf().b,h?(j=w+h.d.a+e.w+i.d.d,o=k.Math.max(o,(Ff(),Zo(Qf),k.Math.abs(y-c)<=Qf||y==c||isNaN(y)&&isNaN(c)?0:j/(c-y)))):e.C&&e.C.d>0&&(o=k.Math.max(o,n$e(e.C.d+i.d.d,c))),h=i,y=c,w=r;e.C&&e.C.a>0&&(j=w+e.C.a,a&&(j+=h.d.a),o=k.Math.max(o,(Ff(),Zo(Qf),k.Math.abs(y-1)<=Qf||y==1||isNaN(y)&&isNaN(1)?0:j/(1-y)))),t.n.d=0,t.a.b=o}function xHe(e,n,t){var i,r,c,o,f,l;for(this.g=e,f=n.d.length,l=t.d.length,this.d=V(ca,hh,10,f+l,0,1),o=0;o0?vF(this,this.f/this.a):Nf(n.g,n.d[0]).a!=null&&Nf(t.g,t.d[0]).a!=null?vF(this,(ee(Nf(n.g,n.d[0]).a)+ee(Nf(t.g,t.d[0]).a))/2):Nf(n.g,n.d[0]).a!=null?vF(this,Nf(n.g,n.d[0]).a):Nf(t.g,t.d[0]).a!=null&&vF(this,Nf(t.g,t.d[0]).a)}function Pxn(e,n){var t,i,r,c,o,f,l,a,h,w;for(e.a=new _Pe(i4n(b9)),i=new A(n.a);i.a=1&&(x-o>0&&w>=0?(l.n.a+=C,l.n.b+=c*o):x-o<0&&h>=0&&(l.n.a+=C*x,l.n.b+=c));e.o.a=n.a,e.o.b=n.b,te(e,(be(),$d),(Ts(),i=u(mf(k9),9),new Ys(i,u(Uo(i,i.length),9),0)))}function Ixn(e,n,t,i,r,c){var o;if(!(n==null||!fN(n,kde,jde)))throw O(new rn("invalid scheme: "+n));if(!e&&!(t!=null&&wl(t,xu(35))==-1&&t.length>0&&(Gn(0,t.length),t.charCodeAt(0)!=47)))throw O(new rn("invalid opaquePart: "+t));if(e&&!(n!=null&&b8(QO,n.toLowerCase()))&&!(t==null||!fN(t,C9,S9)))throw O(new rn(JWe+t));if(e&&n!=null&&b8(QO,n.toLowerCase())&&!C7n(t))throw O(new rn(JWe+t));if(!A6n(i))throw O(new rn("invalid device: "+i));if(!j5n(r))throw o=r==null?"invalid segments: null":"invalid segment: "+m5n(r),O(new rn(o));if(!(c==null||wl(c,xu(35))==-1))throw O(new rn("invalid query: "+c))}function Dxn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$;for(On(n,"Calculate Graph Size",1),n.n&&e&&Yo(n,Qo(e),(Es(),Gs)),f=L3,l=L3,c=ace,o=ace,w=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));w.e!=w.i.gc();)a=u(Pn(w),33),T=a.i,C=a.j,$=a.g,i=a.f,r=u(Ee(a,(dt(),Wj)),142),f=k.Math.min(f,T-r.b),l=k.Math.min(l,C-r.d),c=k.Math.max(c,T+$+r.c),o=k.Math.max(o,C+i+r.a);for(j=u(Ee(e,(dt(),Kd)),116),y=new je(f-j.b,l-j.d),h=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));h.e!=h.i.gc();)a=u(Pn(h),33),Mu(a,a.i-y.a),Pu(a,a.j-y.b);x=c-f+(j.b+j.c),t=o-l+(j.d+j.a),O0(e,x),x0(e,t),n.n&&e&&Yo(n,Qo(e),(Es(),Gs))}function DHe(e){var n,t,i,r,c,o,f,l,a,h;for(i=new oe,o=new A(e.e.a);o.a0){IM(e,t,0),t.a+=String.fromCharCode(i),r=myn(n,c),IM(e,t,r),c+=r-1;continue}i==39?c+11)for(C=V(Ln,nt,25,e.b.b.c.length,15,1),w=0,a=new A(e.b.b);a.a=f&&r<=l)f<=r&&c<=l?(t[h++]=r,t[h++]=c,i+=2):f<=r?(t[h++]=r,t[h++]=l,e.b[i]=l+1,o+=2):c<=l?(t[h++]=f,t[h++]=c,i+=2):(t[h++]=f,t[h++]=l,e.b[i]=l+1);else if(ls1)&&f<10);PW(e.c,new wwe),LHe(e),jwn(e.c),xxn(e.f)}function Nxn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x;if(ke(ye(S(t,(be(),Xw)))))for(f=new A(t.j);f.a=2){for(l=ut(t,0),o=u(ct(l),8),f=u(ct(l),8);f.a0&&L7(a,!0,(xr(),of)),f.k==(dn(),hi)&&sAe(a),jt(e.f,f,n)}}function Kxn(e,n,t){var i,r,c,o,f,l,a,h,w,y;switch(On(t,"Node promotion heuristic",1),e.g=n,WOn(e),e.q=u(S(n,(be(),gH)),260),h=u(S(e.g,Sle),19).a,c=new epe,e.q.g){case 2:case 1:j3(e,c);break;case 3:for(e.q=(np(),uO),j3(e,c),l=0,f=new A(e.a);f.ae.j&&(e.q=Aj,j3(e,c));break;case 4:for(e.q=(np(),uO),j3(e,c),a=0,r=new A(e.b);r.ae.k&&(e.q=xj,j3(e,c));break;case 6:y=oi(k.Math.ceil(e.f.length*h/100)),j3(e,new g9e(y));break;case 5:w=oi(k.Math.ceil(e.d*h/100)),j3(e,new p9e(w));break;default:j3(e,c)}LSn(e,n),Tn(t)}function FHe(e,n,t){var i,r,c,o;this.j=e,this.e=Gee(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(ve(t,lr(this.o).p),214):null,r=u(S(e,(re(),eu)),21),this.g=r.Hc((Or(),fo)),this.b=new oe,this.d=new rNe(this.e),o=u(S(this.j,gm),230),this.q=v4n(n,o,this.e),this.k=new cxe(this),c=qf(D(I(BQe,1),pe,225,0,[this,this.d,this.k,this.q])),n==(I0(),Ij)&&!ke(ye(S(e,(be(),zw))))?(i=new Wee(this.e),c.c[c.c.length]=i,this.c=new jQ(i,o,u(this.q,402))):n==Ij&&ke(ye(S(e,(be(),zw))))?(i=new Wee(this.e),c.c[c.c.length]=i,this.c=new KLe(i,o,u(this.q,402))):this.c=new BEe(n,this),se(c,this.c),pHe(c,this.e),this.s=EIn(this.k)}function qxn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z;for(w=u(rC((o=ut(new Oh(n).a.d,0),new Zp(o))),86),T=w?u(S(w,(Oc(),WH)),86):null,r=1;w&&T;){for(l=0,z=0,t=w,i=T,f=0;f=e.i?(++e.i,se(e.a,le(1)),se(e.b,h)):(i=e.c[n.p][1],Zs(e.a,a,le(u(ve(e.a,a),19).a+1-i)),Zs(e.b,a,ee(he(ve(e.b,a)))+h-i*e.e)),(e.q==(np(),Aj)&&(u(ve(e.a,a),19).a>e.j||u(ve(e.a,a-1),19).a>e.j)||e.q==xj&&(ee(he(ve(e.b,a)))>e.k||ee(he(ve(e.b,a-1)))>e.k))&&(l=!1),o=new En(Sn(cc(n).a.Kc(),new J));Wn(o);)c=u(_n(o),17),f=c.c.i,e.f[f.p]==a&&(w=NHe(e,f),r=r+u(w.a,19).a,l=l&&ke(ye(w.b)));return e.f[n.p]=a,r=r+e.c[n.p][0],new Xi(le(r),(un(),!!l))}function Hte(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T,C,x,$;for(w=new $n,o=new oe,cRe(e,t,e.d.fg(),o,w),cRe(e,i,e.d.gg(),o,w),e.b=.2*(C=URe(hc(new Ue(null,new Ye(o,16)),new ove)),x=URe(hc(new Ue(null,new Ye(o,16)),new fve)),k.Math.min(C,x)),c=0,f=0;f=2&&($=gKe(o,!0,y),!e.e&&(e.e=new y8e(e)),yyn(e.e,$,o,e.b)),Y_e(o,y),rOn(o),j=-1,h=new A(o);h.af)}function Vxn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C;for(t=u(S(e,(be(),ti)),98),o=e.f,c=e.d,f=o.a+c.b+c.c,l=0-c.d-e.c.b,h=o.b+c.d+c.a-e.c.b,a=new oe,w=new oe,r=new A(n);r.a0),u(h.a.Xb(h.c=--h.b),17));c!=i&&h.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(mn(h.b>0),u(h.a.Xb(h.c=--h.b),17));h.b>0&&ks(h)}}function KHe(e,n,t){var i,r,c,o,f,l,a,h,w;if(e.a!=n.Aj())throw O(new rn(K3+n.ne()+tb));if(i=rh((Hu(),tr),n).$k(),i)return i.Aj().Nh().Ih(i,t);if(o=rh(tr,n).al(),o){if(t==null)return null;if(f=u(t,15),f.dc())return"";for(w=new za,c=f.Kc();c.Ob();)r=c.Pb(),Fr(w,o.Aj().Nh().Ih(o,r)),w.a+=" ";return dL(w,w.a.length-1)}if(h=rh(tr,n).bl(),!h.dc()){for(a=h.Kc();a.Ob();)if(l=u(a.Pb(),148),l.wj(t))try{if(w=l.Aj().Nh().Ih(l,t),w!=null)return w}catch(y){if(y=Ht(y),!_(y,102))throw O(y)}throw O(new rn("Invalid value: '"+t+"' for datatype :"+n.ne()))}return u(n,834).Fj(),t==null?null:_(t,172)?""+u(t,172).a:cs(t)==NA?wCe(T9[0],u(t,199)):uc(t)}function Yxn(e){var n,t,i,r,c,o,f,l,a,h;for(a=new Gt,f=new Gt,c=new A(e);c.a-1){for(r=ut(f,0);r.b!=r.d.c;)i=u(ct(r),128),i.v=o;for(;f.b!=0;)for(i=u(RN(f,0),128),t=new A(i.i);t.a0&&(t+=l.n.a+l.o.a/2,++w),T=new A(l.j);T.a0&&(t/=w),$=V(Hi,Rr,25,i.a.c.length,15,1),f=0,a=new A(i.a);a.a=f&&r<=l)f<=r&&c<=l?i+=2:f<=r?(e.b[i]=l+1,o+=2):c<=l?(t[h++]=r,t[h++]=f-1,i+=2):(t[h++]=r,t[h++]=f-1,e.b[i]=l+1,o+=2);else if(l0?r-=864e5:r+=864e5,l=new wX(fr(Au(n.q.getTime()),r))),h=new _b,a=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(o=c+1;o=a)throw O(new rn("Missing trailing '"));o+10&&t.c==0&&(!n&&(n=new oe),n.c[n.c.length]=t);if(n)for(;n.c.length!=0;){if(t=u(Za(n,0),233),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new oe),new A(t.b));c.arc(e,t,0))return new Xi(r,t)}else if(ee(Nf(r.g,r.d[0]).a)>ee(Nf(t.g,t.d[0]).a))return new Xi(r,t)}for(f=(!t.e&&(t.e=new oe),t.e).Kc();f.Ob();)o=u(f.Pb(),233),l=(!o.b&&(o.b=new oe),o.b),nw(0,l.c.length),b5(l.c,0,t),o.c==l.c.length&&(n.c[n.c.length]=o)}return null}function zHe(e,n){var t,i,r,c,o,f,l,a,h;if(e==null)return Ou;if(l=n.a.zc(e,n),l!=null)return"[...]";for(t=new sd(mr,"[","]"),r=e,c=0,o=r.length;c=14&&h<=16))?n.a._b(i)?(t.a?Qn(t.a,t.b):t.a=new Ms(t.d),A5(t.a,"[...]")):(f=rd(i),a=new K5(n),ja(t,zHe(f,a))):_(i,177)?ja(t,Wjn(u(i,177))):_(i,190)?ja(t,F7n(u(i,190))):_(i,195)?ja(t,zkn(u(i,195))):_(i,2012)?ja(t,N7n(u(i,2012))):_(i,48)?ja(t,zjn(u(i,48))):_(i,364)?ja(t,uEn(u(i,364))):_(i,832)?ja(t,Gjn(u(i,832))):_(i,104)&&ja(t,Vjn(u(i,104))):ja(t,i==null?Ou:uc(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function WHe(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R;for(f=tp(n,!1,!1),$=rk(f),i&&($=F7($)),R=ee(he(Ee(n,(C6(),uq)))),x=(mn($.b!=0),u($.a.a.c,8)),w=u(Sf($,1),8),$.b>2?(h=new oe,pi(h,new zl($,1,$.b)),c=SVe(h,R+e.a),q=new a_(c),Jr(q,n),t.c[t.c.length]=q):i?q=u(yn(e.b,Yl(n)),266):q=u(yn(e.b,t1(n)),266),l=Yl(n),i&&(l=t1(n)),o=hjn(x,l),a=R+e.a,o.a?(a+=k.Math.abs(x.b-w.b),C=new je(w.a,(w.b+x.b)/2)):(a+=k.Math.abs(x.a-w.a),C=new je((w.a+x.a)/2,w.b)),i?jt(e.d,n,new bee(q,o,C,a)):jt(e.c,n,new bee(q,o,C,a)),jt(e.b,n,q),T=(!n.n&&(n.n=new fe(oc,n,1,7)),n.n),j=new jn(T);j.e!=j.i.gc();)y=u(Pn(j),137),r=wk(e,y,!0,0,0),t.c[t.c.length]=r}function rOn(e){var n,t,i,r,c,o,f,l,a,h;for(a=new oe,f=new oe,o=new A(e);o.a-1){for(c=new A(f);c.a0)&&(kz(l,k.Math.min(l.o,r.o-1)),YE(l,l.i-1),l.i==0&&(f.c[f.c.length]=l))}}function T3(e,n,t){var i,r,c,o,f,l,a;if(a=e.c,!n&&(n=Sde),e.c=n,e.Db&4&&!(e.Db&1)&&(l=new $i(e,1,2,a,e.c),t?t.Ei(l):t=l),a!=n){if(_(e.Cb,284))e.Db>>16==-10?t=u(e.Cb,284).nk(n,t):e.Db>>16==-15&&(!n&&(n=(qe(),sl)),!a&&(a=(qe(),sl)),e.Cb.nh()&&(l=new Ea(e.Cb,1,13,a,n,sh(rs(u(e.Cb,59)),e),!1),t?t.Ei(l):t=l));else if(_(e.Cb,88))e.Db>>16==-23&&(_(n,88)||(n=(qe(),Ro)),_(a,88)||(a=(qe(),Ro)),e.Cb.nh()&&(l=new Ea(e.Cb,1,10,a,n,sh(Kc(u(e.Cb,26)),e),!1),t?t.Ei(l):t=l));else if(_(e.Cb,444))for(f=u(e.Cb,836),o=(!f.b&&(f.b=new tT(new pD)),f.b),c=(i=new ld(new H1(o.a).a),new iT(i));c.a.b;)r=u(A0(c.a).cd(),87),t=T3(r,nP(r,f),t)}return t}function cOn(e,n){var t,i,r,c,o,f,l,a,h,w,y;for(o=ke(ye(Ee(e,(be(),Xw)))),y=u(Ee(e,Qw),21),l=!1,a=!1,w=new jn((!e.c&&(e.c=new fe(hs,e,9,9)),e.c));w.e!=w.i.gc()&&(!l||!a);){for(c=u(Pn(w),118),f=0,r=Hh(Gf(D(I(Zf,1),pe,20,0,[(!c.d&&(c.d=new Xe(Di,c,8,5)),c.d),(!c.e&&(c.e=new Xe(Di,c,7,4)),c.e)])));Wn(r)&&(i=u(_n(r),79),h=o&&H0(i)&&ke(ye(Ee(i,Ld))),t=THe((!i.b&&(i.b=new Xe(xn,i,4,7)),i.b),c)?e==Xt(Zr(u(K((!i.c&&(i.c=new Xe(xn,i,5,8)),i.c),0),82))):e==Xt(Zr(u(K((!i.b&&(i.b=new Xe(xn,i,4,7)),i.b),0),82))),!((h||t)&&(++f,f>1))););(f>0||y.Hc((Ju(),Ka))&&(!c.n&&(c.n=new fe(oc,c,1,7)),c.n).i>0)&&(l=!0),f>1&&(a=!0)}l&&n.Fc((Or(),fo)),a&&n.Fc((Or(),_y))}function UHe(e){var n,t,i,r,c,o,f,l,a,h,w,y;if(y=u(Ee(e,(dt(),Rd)),21),y.dc())return null;if(f=0,o=0,y.Hc((Ts(),nE))){for(h=u(Ee(e,d9),98),i=2,t=2,r=2,c=2,n=Xt(e)?u(Ee(Xt(e),vb),103):u(Ee(e,vb),103),a=new jn((!e.c&&(e.c=new fe(hs,e,9,9)),e.c));a.e!=a.i.gc();)if(l=u(Pn(a),118),w=u(Ee(l,Vp),61),w==(ae(),pc)&&(w=Pte(l,n),Br(l,Vp,w)),h==(Wi(),nu))switch(w.g){case 1:i=k.Math.max(i,l.i+l.g);break;case 2:t=k.Math.max(t,l.j+l.f);break;case 3:r=k.Math.max(r,l.i+l.g);break;case 4:c=k.Math.max(c,l.j+l.f)}else switch(w.g){case 1:i+=l.g+2;break;case 2:t+=l.f+2;break;case 3:r+=l.g+2;break;case 4:c+=l.f+2}f=k.Math.max(i,r),o=k.Math.max(t,c)}return U0(e,f,o,!0,!0)}function W_(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z;for(q=u(Os(_S(Ft(new Ue(null,new Ye(n.d,16)),new R9e(t)),new K9e(t)),id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[(Wf(),Rs)]))),15),w=vt,h=cr,l=new A(n.b.j);l.a0,a?a&&(y=$.p,o?++y:--y,w=u(ve($.c.a,y),10),i=B$e(w),j=!(p_(i,ue,t[0])||pPe(i,ue,t[0]))):j=!0),T=!1,Z=n.D.i,Z&&Z.c&&f.e&&(h=o&&Z.p>0||!o&&Z.p0&&(n.a+=mr),vP(u(Pn(f),160),n);for(n.a+=nR,l=new h2((!i.c&&(i.c=new Xe(xn,i,5,8)),i.c));l.e!=l.i.gc();)l.e>0&&(n.a+=mr),vP(u(Pn(l),160),n);n.a+=")"}}function aOn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j;if(c=u(S(e,(re(),Et)),79),!!c){for(i=e.a,r=new Hr(t),Mt(r,n7n(e)),Hv(e.d.i,e.c.i)?(y=e.c,w=dc(D(I(Ii,1),ie,8,0,[y.n,y.a])),Ki(w,t)):w=Rf(e.c),ui(i,w,i.a,i.a.a),j=Rf(e.d),S(e,uH)!=null&&Mt(j,u(S(e,uH),8)),ui(i,j,i.c.b,i.c),ow(i,r),o=tp(c,!0,!0),zS(o,u(K((!c.b&&(c.b=new Xe(xn,c,4,7)),c.b),0),82)),WS(o,u(K((!c.c&&(c.c=new Xe(xn,c,5,8)),c.c),0),82)),vk(i,o),h=new A(e.b);h.a=0){for(l=null,f=new Yi(h.a,a+1);f.bo?1:f0(isNaN(0),isNaN(o)))<0&&(Zo(xl),(k.Math.abs(o-1)<=xl||o==1||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:f0(isNaN(o),isNaN(1)))<0)&&(Zo(xl),(k.Math.abs(0-f)<=xl||f==0||isNaN(0)&&isNaN(f)?0:0f?1:f0(isNaN(0),isNaN(f)))<0)&&(Zo(xl),(k.Math.abs(f-1)<=xl||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:f0(isNaN(f),isNaN(1)))<0)),c)}function dOn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue;for(w=new zY(new $z(e));w.b!=w.c.a.d;)for(h=ZIe(w),f=u(h.d,56),n=u(h.e,56),o=f.Tg(),C=0,z=(o.i==null&&jl(o),o.i).length;C=0&&C=a.c.c.length?h=SQ((dn(),ki),Fi):h=SQ((dn(),Fi),Fi),h*=2,c=t.a.g,t.a.g=k.Math.max(c,c+(h-c)),o=t.b.g,t.b.g=k.Math.max(o,o+(h-o)),r=n}}function gOn(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z;for(Z=wMe(e),h=new oe,f=e.c.length,w=f-1,y=f+1;Z.a.c!=0;){for(;t.b!=0;)R=(mn(t.b!=0),u(no(t,t.a.a),112)),J5(Z.a,R)!=null,R.g=w--,Ate(R,n,t,i);for(;n.b!=0;)z=(mn(n.b!=0),u(no(n,n.a.a),112)),J5(Z.a,z)!=null,z.g=y++,Ate(z,n,t,i);for(a=cr,$=(o=new _5(new $5(new i8(Z.a).a).b),new r8(o));m8($.a.a);){if(x=(c=hC($.a),u(c.cd(),112)),!i&&x.b>0&&x.a<=0){h.c=V(pn,pe,1,0,5,1),h.c[h.c.length]=x;break}C=x.i-x.d,C>=a&&(C>a&&(h.c=V(pn,pe,1,0,5,1),a=C),h.c[h.c.length]=x)}h.c.length!=0&&(l=u(ve(h,$M(r,h.c.length)),112),J5(Z.a,l)!=null,l.g=y++,Ate(l,n,t,i),h.c=V(pn,pe,1,0,5,1))}for(q=e.c.length+1,T=new A(e);T.a0&&(y.d+=h.n.d,y.d+=h.d),y.a>0&&(y.a+=h.n.a,y.a+=h.d),y.b>0&&(y.b+=h.n.b,y.b+=h.d),y.c>0&&(y.c+=h.n.c,y.c+=h.d),y}function YHe(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T;for(y=t.d,w=t.c,c=new je(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),o=c.b,a=new A(e.a);a.a0&&(e.c[n.c.p][n.p].d+=ss(e.i,24)*Lk*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}function TOn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x;for(T=new A(e);T.ai.d,i.d=k.Math.max(i.d,n),f&&t&&(i.d=k.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=k.Math.max(i.a,n),f&&t&&(i.a=k.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=k.Math.max(i.c,n),f&&t&&(i.c=k.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=k.Math.max(i.b,n),f&&t&&(i.b=k.Math.max(i.b,i.c),i.c=i.b+r)}}}function POn(e){var n,t,i,r,c,o,f,l,a,h,w;for(a=new A(e);a.a0||h.j==sn&&h.e.c.length-h.g.c.length<0)){n=!1;break}for(r=new A(h.g);r.a=a&&Z>=x&&(y+=T.n.b+C.n.b+C.a.b-z,++f));if(t)for(o=new A(q.e);o.a=a&&Z>=x&&(y+=T.n.b+C.n.b+C.a.b-z,++f))}f>0&&(ue+=y/f,++j)}j>0?(n.a=r*ue/j,n.g=j):(n.a=0,n.g=0)}function xOn(e,n){var t,i,r,c,o,f,l,a,h,w,y;for(r=new A(e.a.b);r.abi||n.o==_d&&h0&&Mu($,z*ue),Z>0&&Pu($,Z*we);for(d6(e.b,new uwe),n=new oe,f=new ld(new H1(e.c).a);f.b;)o=A0(f),i=u(o.cd(),79),t=u(o.dd(),395).a,r=tp(i,!1,!1),w=Q_e(Yl(i),rk(r),t),vk(w,r),R=fBe(i),R&&rc(n,R,0)==-1&&(n.c[n.c.length]=R,wAe(R,(mn(w.b!=0),u(w.a.a.c,8)),t));for(x=new ld(new H1(e.d).a);x.b;)C=A0(x),i=u(C.cd(),79),t=u(C.dd(),395).a,r=tp(i,!1,!1),w=Q_e(t1(i),F7(rk(r)),t),w=F7(w),vk(w,r),R=lBe(i),R&&rc(n,R,0)==-1&&(n.c[n.c.length]=R,wAe(R,(mn(w.b!=0),u(w.c.b.c,8)),t))}function ZHe(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we;if(t.c.length!=0){for(j=new oe,y=new A(t);y.a1)for(j=new Nte(T,R,i),er(R,new zEe(e,j)),o.c[o.c.length]=j,w=R.a.ec().Kc();w.Ob();)h=u(w.Pb(),46),Tu(c,h.b);if(f.a.gc()>1)for(j=new Nte(T,f,i),er(f,new WEe(e,j)),o.c[o.c.length]=j,w=f.a.ec().Kc();w.Ob();)h=u(w.Pb(),46),Tu(c,h.b)}}function nVe(e){s0(e,new pd(dT(i0(e0(t0(n0(new R1,Ol),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Tve),Ol))),de(e,Ol,iA,me(jtn)),de(e,Ol,Ow,me(Etn)),de(e,Ol,hp,me(mtn)),de(e,Ol,nm,me(vtn)),de(e,Ol,em,me(ytn)),de(e,Ol,F3,me(ptn)),de(e,Ol,iy,me(Uae)),de(e,Ol,N3,me(ktn)),de(e,Ol,HR,me(tV)),de(e,Ol,qR,me(iV)),de(e,Ol,pce,me(Xae)),de(e,Ol,dce,me(yO)),de(e,Ol,bce,me(kO)),de(e,Ol,wce,me(Fj)),de(e,Ol,gce,me(Yae))}function zte(e){var n;if(this.r=dgn(new _E,new BE),this.b=new j6(u(Nn(yr),290)),this.p=new j6(u(Nn(yr),290)),this.i=new j6(u(Nn(aYe),290)),this.e=e,this.o=new Hr(e.rf()),this.D=e.Df()||ke(ye(e.We((dt(),zj)))),this.A=u(e.We((dt(),Rd)),21),this.B=u(e.We(E1),21),this.q=u(e.We(d9),98),this.u=u(e.We(ig),21),!ykn(this.u))throw O(new vg("Invalid port label placement: "+this.u));if(this.v=ke(ye(e.We(P1e))),this.j=u(e.We(qp),21),!VTn(this.j))throw O(new vg("Invalid node label placement: "+this.j));this.n=u(P6(e,w1e),116),this.k=ee(he(P6(e,FO))),this.d=ee(he(P6(e,I1e))),this.w=ee(he(P6(e,N1e))),this.s=ee(he(P6(e,D1e))),this.t=ee(he(P6(e,L1e))),this.C=u(P6(e,$1e),142),this.c=2*this.d,n=!this.B.Hc((os(),tE)),this.f=new T6(0,n,0),this.g=new T6(1,n,0),kD(this.f,(Ef(),ou),this.g)}function BOn(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on;for(R=0,T=0,j=0,y=1,q=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));q.e!=q.i.gc();)x=u(Pn(q),33),y+=ka(new En(Sn(Oa(x).a.Kc(),new J))),Te=x.g,T=k.Math.max(T,Te),w=x.f,j=k.Math.max(j,w),R+=Te*w;for(C=(!e.a&&(e.a=new fe(Qt,e,10,11)),e.a).i,o=R+2*i*i*y*C,c=k.Math.sqrt(o),l=k.Math.max(c*t,T),f=k.Math.max(c/t,j),$=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));$.e!=$.i.gc();)x=u(Pn($),33),Ae=r.b+(ss(n,26)*Y6+ss(n,27)*Q6)*(l-x.g),on=r.b+(ss(n,26)*Y6+ss(n,27)*Q6)*(f-x.f),Mu(x,Ae),Pu(x,on);for(we=l+(r.b+r.c),ue=f+(r.d+r.a),Z=new jn((!e.a&&(e.a=new fe(Qt,e,10,11)),e.a));Z.e!=Z.i.gc();)for(z=u(Pn(Z),33),h=new En(Sn(Oa(z).a.Kc(),new J));Wn(h);)a=u(_n(h),79),$6(a)||RIn(a,n,we,ue);we+=r.b+r.c,ue+=r.d+r.a,U0(e,we,ue,!1,!0)}function kP(e){var n,t,i,r,c,o,f,l,a,h,w;if(e==null)throw O(new bl(Ou));if(a=e,c=e.length,l=!1,c>0&&(n=(Gn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=e.substr(1),--c,l=n==45)),c==0)throw O(new bl(Q0+a+'"'));for(;e.length>0&&(Gn(0,e.length),e.charCodeAt(0)==48);)e=e.substr(1),--c;if(c>(Hqe(),aXe)[10])throw O(new bl(Q0+a+'"'));for(r=0;r0&&(w=-parseInt(e.substr(0,i),10),e=e.substr(i),c-=i,t=!1);c>=o;){if(i=parseInt(e.substr(0,o),10),e=e.substr(o),c-=o,t)t=!1;else{if(Fc(w,f)<0)throw O(new bl(Q0+a+'"'));w=rr(w,h)}w=n1(w,i)}if(Fc(w,0)>0)throw O(new bl(Q0+a+'"'));if(!l&&(w=Ov(w),Fc(w,0)<0))throw O(new bl(Q0+a+'"'));return w}function Wte(e,n){IMe();var t,i,r,c,o,f,l;if(this.a=new NU(this),this.b=e,this.c=n,this.f=c$(zr((Hu(),tr),n)),this.f.dc())if((f=Iee(tr,e))==n)for(this.e=!0,this.d=new oe,this.f=new I3e,this.f.Fc(Pd),u(pP(m7(tr,Is(e)),""),26)==e&&this.f.Fc(H5(tr,Is(e))),r=M_(tr,e).Kc();r.Ob();)switch(i=u(r.Pb(),170),y0(zr(tr,i))){case 4:{this.d.Fc(i);break}case 5:{this.f.Gc(c$(zr(tr,i)));break}}else if(jr(),u(n,66).Oj())for(this.e=!0,this.f=null,this.d=new oe,o=0,l=(e.i==null&&jl(e),e.i).length;o=0&&o0&&(u(Nr(e.b,n),124).a.b=t)}function ROn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$;for(On(n,"Comment pre-processing",1),t=0,l=new A(e.a);l.a0&&(l=(Gn(0,n.length),n.charCodeAt(0)),l!=64)){if(l==37&&(w=n.lastIndexOf("%"),a=!1,w!=0&&(w==y-1||(a=(Gn(w+1,n.length),n.charCodeAt(w+1)==46))))){if(o=n.substr(1,w-1),R=Ke("%",o)?null:Xte(o),i=0,a)try{i=Fs(n.substr(w+2),cr,vt)}catch(z){throw z=Ht(z),_(z,127)?(f=z,O(new xS(f))):O(z)}for(x=AJ(e.Wg());x.Ob();)if(T=cM(x),_(T,510)&&(r=u(T,590),q=r.d,(R==null?q==null:Ke(R,q))&&i--==0))return r;return null}if(h=n.lastIndexOf("."),j=h==-1?n:n.substr(0,h),t=0,h!=-1)try{t=Fs(n.substr(h+1),cr,vt)}catch(z){if(z=Ht(z),_(z,127))j=n;else throw O(z)}for(j=Ke("%",j)?null:Xte(j),C=AJ(e.Wg());C.Ob();)if(T=cM(C),_(T,191)&&(c=u(T,191),$=c.ne(),(j==null?$==null:Ke(j,$))&&t--==0))return c;return null}return SHe(e,n)}function HOn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln;for(ue=new oe,T=new A(e.b);T.a=n.length)return{done:!0};var r=n[i++];return{value:[r,t.get(r)],done:!1}}}},USn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,t){this.obj[":"+n]=t},e.prototype[OB]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var t in this.obj)t.charCodeAt(0)==58&&n.push(t.substring(1));return n}),e}function GOn(e){Mte();var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x;if(e==null)return null;if(w=e.length*8,w==0)return"";for(f=w%24,j=w/24|0,y=f!=0?j+1:j,c=null,c=V(ho,Tl,25,y*4,15,1),a=0,h=0,n=0,t=0,i=0,o=0,r=0,l=0;l>24,a=(n&3)<<24>>24,T=n&-128?(n>>2^192)<<24>>24:n>>2<<24>>24,C=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,x=i&-128?(i>>6^252)<<24>>24:i>>6<<24>>24,c[o++]=Ph[T],c[o++]=Ph[C|a<<4],c[o++]=Ph[h<<2|x],c[o++]=Ph[i&63];return f==8?(n=e[r],a=(n&3)<<24>>24,T=n&-128?(n>>2^192)<<24>>24:n>>2<<24>>24,c[o++]=Ph[T],c[o++]=Ph[a<<4],c[o++]=61,c[o++]=61):f==16&&(n=e[r],t=e[r+1],h=(t&15)<<24>>24,a=(n&3)<<24>>24,T=n&-128?(n>>2^192)<<24>>24:n>>2<<24>>24,C=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,c[o++]=Ph[T],c[o++]=Ph[C|a<<4],c[o++]=Ph[h<<2],c[o++]=61),ko(c,0,c.length)}function zOn(e,n){var t,i,r,c,o,f,l;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>cr&&PQ(n,e.p-o1),o=n.q.getDate(),n7(n,1),e.k>=0&&Ppn(n,e.k),e.c>=0?n7(n,e.c):e.k>=0?(l=new XJ(n.q.getFullYear()-o1,n.q.getMonth(),35),i=35-l.q.getDate(),n7(n,k.Math.min(i,o))):n7(n,o),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Bhn(n,e.f==24&&e.g?0:e.f),e.j>=0&&Bmn(n,e.j),e.n>=0&&ivn(n,e.n),e.i>=0&&OTe(n,fr(rr(ek(Au(n.q.getTime()),ah),ah),e.i)),e.a&&(r=new yT,PQ(r,r.q.getFullYear()-o1-80),$D(Au(n.q.getTime()),Au(r.q.getTime()))&&PQ(n,r.q.getFullYear()-o1+100)),e.d>=0){if(e.c==-1)t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),f=n.q.getMonth(),n7(n,n.q.getDate()+t),n.q.getMonth()!=f&&n7(n,n.q.getDate()+(t>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>cr&&(c=n.q.getTimezoneOffset(),OTe(n,fr(Au(n.q.getTime()),(e.o-c)*60*ah))),!0}function rVe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z;if(r=S(n,(re(),Et)),!!_(r,239)){for(T=u(r,33),C=n.e,y=new Hr(n.c),c=n.d,y.a+=c.b,y.b+=c.d,z=u(Ee(T,(be(),Jx)),174),Bu(z,(os(),BO))&&(j=u(Ee(T,Ile),116),vfn(j,c.a),Mfn(j,c.d),yfn(j,c.b),Pfn(j,c.c)),t=new oe,h=new A(n.a);h.a0&&se(e.p,h),se(e.o,h);n-=i,j=l+n,a+=n*e.e,Zs(e.a,f,le(j)),Zs(e.b,f,a),e.j=k.Math.max(e.j,j),e.k=k.Math.max(e.k,a),e.d+=n,n+=C}}function ae(){ae=W;var e;pc=new x8(ey,0),tn=new x8(IP,1),hn=new x8(KB,2),In=new x8(qB,3),sn=new x8(HB,4),ul=(He(),new Xm((e=u(mf(yr),9),new Ys(e,u(Uo(e,e.length),9),0)))),df=ih(Nt(tn,D(I(yr,1),Nc,61,0,[]))),lo=ih(Nt(hn,D(I(yr,1),Nc,61,0,[]))),Hs=ih(Nt(In,D(I(yr,1),Nc,61,0,[]))),$o=ih(Nt(sn,D(I(yr,1),Nc,61,0,[]))),Du=ih(Nt(tn,D(I(yr,1),Nc,61,0,[In]))),pu=ih(Nt(hn,D(I(yr,1),Nc,61,0,[sn]))),bf=ih(Nt(tn,D(I(yr,1),Nc,61,0,[sn]))),ns=ih(Nt(tn,D(I(yr,1),Nc,61,0,[hn]))),Vs=ih(Nt(In,D(I(yr,1),Nc,61,0,[sn]))),ao=ih(Nt(hn,D(I(yr,1),Nc,61,0,[In]))),ts=ih(Nt(tn,D(I(yr,1),Nc,61,0,[hn,sn]))),Iu=ih(Nt(hn,D(I(yr,1),Nc,61,0,[In,sn]))),Lu=ih(Nt(tn,D(I(yr,1),Nc,61,0,[In,sn]))),Wu=ih(Nt(tn,D(I(yr,1),Nc,61,0,[hn,In]))),tu=ih(Nt(tn,D(I(yr,1),Nc,61,0,[hn,In,sn])))}function oVe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R;if(n.b!=0){for(j=new Gt,f=null,T=null,i=oi(k.Math.floor(k.Math.log(n.b)*k.Math.LOG10E)+1),l=0,R=ut(n,0);R.b!=R.d.c;)for($=u(ct(R),86),X(T)!==X(S($,(Oc(),c9)))&&(T=Vn(S($,c9)),l=0),T!=null?f=T+Axe(l++,i):f=Axe(l++,i),te($,c9,f),x=(r=ut(new Oh($).a.d,0),new Zp(r));gT(x.a);)C=u(ct(x.a),188).c,ui(j,C,j.c.b,j.c),te(C,c9,f);for(y=new $n,o=0;o=l){mn($.b>0),$.a.Xb($.c=--$.b);break}else C.a>a&&(r?(pi(r.b,C.b),r.a=k.Math.max(r.a,C.a),ks($)):(se(C.b,w),C.c=k.Math.min(C.c,a),C.a=k.Math.max(C.a,l),r=C));r||(r=new W7e,r.c=a,r.a=l,Wb($,r),se(r.b,w))}for(f=n.b,h=0,x=new A(i);x.af?1:0:(e.b&&(e.b._b(c)&&(r=u(e.b.xc(c),19).a),e.b._b(l)&&(f=u(e.b.xc(l),19).a)),rf?1:0)):n.e.c.length!=0&&t.g.c.length!=0?1:-1}function YOn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we;for(On(n,JGe,1),C=new oe,ue=new oe,a=new A(e.b);a.a0&&(R-=j),_te(o,R),h=0,y=new A(o.a);y.a0),f.a.Xb(f.c=--f.b)),l=.4*i*h,!c&&f.bn.d.c){if(j=e.c[n.a.d],x=e.c[w.a.d],j==x)continue;tf(zo(Go(Wo(Vo(new go,1),100),j),x))}}}}}function Xte(e){V_();var n,t,i,r,c,o,f,l;if(e==null)return null;if(r=wl(e,xu(37)),r<0)return e;for(l=new Ms(e.substr(0,r)),n=V(Uu,pp,25,4,15,1),f=0,i=0,o=e.length;rr+2&&FF((Gn(r+1,e.length),e.charCodeAt(r+1)),vde,yde)&&FF((Gn(r+2,e.length),e.charCodeAt(r+2)),vde,yde))if(t=Ebn((Gn(r+1,e.length),e.charCodeAt(r+1)),(Gn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[f++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[f++]=t<<24>>24,i=2):(t&240)==224?(n[f++]=t<<24>>24,i=3):(t&248)==240&&(n[f++]=t<<24>>24,i=4)),i>0){if(f==i){switch(f){case 2:{Vh(l,((n[0]&31)<<6|n[1]&63)&li);break}case 3:{Vh(l,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&li);break}}f=0,i=0}}else{for(c=0;c0){if(o+i>e.length)return!1;f=QM(e.substr(0,o+i),n)}else f=QM(e,n);switch(c){case 71:return f=Jg(e,o,D(I(ge,1),ie,2,6,[VVe,GVe]),n),r.e=f,!0;case 77:return NSn(e,n,r,f,o);case 76:return _Sn(e,n,r,f,o);case 69:return Ajn(e,n,o,r);case 99:return xjn(e,n,o,r);case 97:return f=Jg(e,o,D(I(ge,1),ie,2,6,["AM","PM"]),n),r.b=f,!0;case 121:return BSn(e,n,o,f,t,r);case 100:return f<=0?!1:(r.c=f,!0);case 83:return f<0?!1:H6n(f,o,n[0],r);case 104:f==12&&(f=0);case 75:case 72:return f<0?!1:(r.f=f,r.g=!1,!0);case 107:return f<0?!1:(r.f=f,r.g=!0,!0);case 109:return f<0?!1:(r.j=f,!0);case 115:return f<0?!1:(r.n=f,!0);case 90:if(oue&&(T.c=ue-T.b),se(o.d,new JL(T,CZ(o,T))),q=n==tn?k.Math.max(q,C.b+a.b.rf().b):k.Math.min(q,C.b));for(q+=n==tn?e.t:-e.t,R=KZ((o.e=q,o)),R>0&&(u(Nr(e.b,n),124).a.b=R),h=y.Kc();h.Ob();)a=u(h.Pb(),111),!(!a.c||a.c.d.c.length<=0)&&(T=a.c.i,T.c-=a.e.a,T.d-=a.e.b)}function iIn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j;for(n=new $n,l=new jn(e);l.e!=l.i.gc();){for(f=u(Pn(l),33),t=new Ai,jt(oq,f,t),j=new nwe,r=u(Os(new Ue(null,new g0(new En(Sn(ak(f).a.Kc(),new J)))),ePe(j,id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[(Wf(),Rs)])))),83),ELe(t,u(r.xc((un(),!0)),14),new twe),i=u(Os(Ft(u(r.xc(!1),15).Lc(),new iwe),id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[Rs]))),15),o=i.Kc();o.Ob();)c=u(o.Pb(),79),y=fBe(c),y&&(a=u(yc(Qr(n.f,y)),21),a||(a=AKe(y),du(n.f,y,a)),gr(t,a));for(r=u(Os(new Ue(null,new g0(new En(Sn(Oa(f).a.Kc(),new J)))),ePe(j,id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[Rs])))),83),ELe(t,u(r.xc(!0),14),new rwe),i=u(Os(Ft(u(r.xc(!1),15).Lc(),new cwe),id(new Ss,new Pc,new Ho,D(I(ls,1),ce,132,0,[Rs]))),15),w=i.Kc();w.Ob();)h=u(w.Pb(),79),y=lBe(h),y&&(a=u(yc(Qr(n.f,y)),21),a||(a=AKe(y),du(n.f,y,a)),gr(t,a))}}function rIn(e,n){__();var t,i,r,c,o,f,l,a,h,w,y,j,T,C;if(l=Fc(e,0)<0,l&&(e=Ov(e)),Fc(e,0)==0)switch(n){case 0:return"0";case 1:return x3;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return j=new Ih,n<0?j.a+="0E+":j.a+="0E",j.a+=n==cr?"2147483648":""+-n,j.a}h=18,w=V(ho,Tl,25,h+1,15,1),t=h,C=e;do a=C,C=ek(C,10),w[--t]=Fn(fr(48,n1(a,rr(C,10))))&li;while(Fc(C,0)!=0);if(r=n1(n1(n1(h,t),n),1),n==0)return l&&(w[--t]=45),ko(w,t,h-t);if(n>0&&Fc(r,-6)>=0){if(Fc(r,0)>=0){for(c=t+Fn(r),f=h-1;f>=c;f--)w[f+1]=w[f];return w[++c]=46,l&&(w[--t]=45),ko(w,t,h-t+1)}for(o=2;$D(o,fr(Ov(r),1));o++)w[--t]=48;return w[--t]=46,w[--t]=48,l&&(w[--t]=45),ko(w,t,h-t)}return T=t+1,i=h,y=new _b,l&&(y.a+="-"),i-T>=1?(Vh(y,w[t]),y.a+=".",y.a+=ko(w,t+1,h-t-1)):y.a+=ko(w,t,h-t),y.a+="E",Fc(r,0)>0&&(y.a+="+"),y.a+=""+V5(r),y.a}function cIn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j;if(e.e.a.$b(),e.f.a.$b(),e.c.c=V(pn,pe,1,0,5,1),e.i.c=V(pn,pe,1,0,5,1),e.g.a.$b(),n)for(o=new A(n.a);o.a=1&&(Z-a>0&&T>=0?(Mu(w,w.i+z),Pu(w,w.j+l*a)):Z-a<0&&j>=0&&(Mu(w,w.i+z*Z),Pu(w,w.j+l)));return Br(e,(dt(),Rd),(Ts(),c=u(mf(k9),9),new Ys(c,u(Uo(c,c.length),9),0))),new je(ue,h)}function aVe(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T;if(j=Xt(Zr(u(K((!e.b&&(e.b=new Xe(xn,e,4,7)),e.b),0),82))),T=Xt(Zr(u(K((!e.c&&(e.c=new Xe(xn,e,5,8)),e.c),0),82))),w=j==T,f=new ir,n=u(Ee(e,(lM(),G1e)),74),n&&n.b>=2){if((!e.a&&(e.a=new fe(zt,e,6,6)),e.a).i==0)t=(r0(),r=new VE,r),Bn((!e.a&&(e.a=new fe(zt,e,6,6)),e.a),t);else if((!e.a&&(e.a=new fe(zt,e,6,6)),e.a).i>1)for(y=new h2((!e.a&&(e.a=new fe(zt,e,6,6)),e.a));y.e!=y.i.gc();)x6(y);vk(n,u(K((!e.a&&(e.a=new fe(zt,e,6,6)),e.a),0),202))}if(w)for(i=new jn((!e.a&&(e.a=new fe(zt,e,6,6)),e.a));i.e!=i.i.gc();)for(t=u(Pn(i),202),a=new jn((!t.a&&(t.a=new gi(Fo,t,5)),t.a));a.e!=a.i.gc();)l=u(Pn(a),469),f.a=k.Math.max(f.a,l.a),f.b=k.Math.max(f.b,l.b);for(o=new jn((!e.n&&(e.n=new fe(oc,e,1,7)),e.n));o.e!=o.i.gc();)c=u(Pn(o),137),h=u(Ee(c,w9),8),h&&$f(c,h.a,h.b),w&&(f.a=k.Math.max(f.a,c.i+c.g),f.b=k.Math.max(f.b,c.j+c.f));return f}function uIn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te;for(R=n.c.length,r=new rp(e.a,t,null,null),Te=V(Hi,Rr,25,R,15,1),C=V(Hi,Rr,25,R,15,1),T=V(Hi,Rr,25,R,15,1),x=0,f=0;fTe[l]&&(x=l),w=new A(e.a.b);w.aj&&(c&&(W1(ue,y),W1(Te,le(a.b-1))),pt=t.b,Mi+=y+n,y=0,h=k.Math.max(h,t.b+t.c+Mn)),Mu(f,pt),Pu(f,Mi),h=k.Math.max(h,pt+Mn+t.c),y=k.Math.max(y,w),pt+=Mn+n;if(h=k.Math.max(h,i),ln=Mi+y+t.a,lnMl,Ae=k.Math.abs(y.b-T.b)>Ml,(!t&&Te&&Ae||t&&(Te||Ae))&&st(x.a,z)),gr(x.a,i),i.b==0?y=z:y=(mn(i.b!=0),u(i.c.b.c,8)),T4n(j,w,C),e$e(r)==we&&(lr(we.i)!=r.a&&(C=new ir,dne(C,lr(we.i),q)),te(x,uH,C)),Ukn(j,x,q),h.a.zc(j,h);or(x,Z),Gi(x,we)}for(a=h.a.ec().Kc();a.Ob();)l=u(a.Pb(),17),or(l,null),Gi(l,null);Tn(n)}function hVe(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z;if(e.gc()==1)return u(e.Xb(0),231);if(e.gc()<=0)return new yS;for(r=e.Kc();r.Ob();){for(t=u(r.Pb(),231),T=0,h=vt,w=vt,l=cr,a=cr,j=new A(t.e);j.af&&(R=0,z+=o+$,o=0),zMn(C,t,R,z),n=k.Math.max(n,R+x.a),o=k.Math.max(o,x.b),R+=x.a+$;return C}function dVe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T;switch(h=new Nu,e.a.g){case 3:y=u(S(n.e,(re(),Dd)),15),j=u(S(n.j,Dd),15),T=u(S(n.f,Dd),15),t=u(S(n.e,Dp),15),i=u(S(n.j,Dp),15),r=u(S(n.f,Dp),15),o=new oe,pi(o,y),j.Jc(new sme),pi(o,_(j,152)?P2(u(j,152)):_(j,131)?u(j,131).a:_(j,54)?new Zd(j):new Bb(j)),pi(o,T),c=new oe,pi(c,t),pi(c,_(i,152)?P2(u(i,152)):_(i,131)?u(i,131).a:_(i,54)?new Zd(i):new Bb(i)),pi(c,r),te(n.f,Dd,o),te(n.f,Dp,c),te(n.f,xfe,n.f),te(n.e,Dd,null),te(n.e,Dp,null),te(n.j,Dd,null),te(n.j,Dp,null);break;case 1:gr(h,n.e.a),st(h,n.i.n),gr(h,cd(n.j.a)),st(h,n.a.n),gr(h,n.f.a);break;default:gr(h,n.e.a),gr(h,cd(n.j.a)),gr(h,n.f.a)}vo(n.f.a),gr(n.f.a,h),or(n.f,n.e.c),f=u(S(n.e,(be(),Xr)),74),a=u(S(n.j,Xr),74),l=u(S(n.f,Xr),74),(f||a||l)&&(w=new Nu,FY(w,l),FY(w,a),FY(w,f),te(n.f,Xr,w)),or(n.j,null),Gi(n.j,null),or(n.e,null),Gi(n.e,null),Gr(n.a,null),Gr(n.i,null),n.g&&dVe(e,n.g)}function lIn(e){Mte();var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x;if(e==null||(c=IS(e),T=Q5n(c),T%4!=0))return null;if(C=T/4|0,C==0)return V(Uu,pp,25,0,15,1);for(w=null,n=0,t=0,i=0,r=0,o=0,f=0,l=0,a=0,j=0,y=0,h=0,w=V(Uu,pp,25,C*3,15,1);j>4)<<24>>24,w[y++]=((t&15)<<4|i>>2&15)<<24>>24,w[y++]=(i<<6|r)<<24>>24}return!h8(o=c[h++])||!h8(f=c[h++])?null:(n=ol[o],t=ol[f],l=c[h++],a=c[h++],ol[l]==-1||ol[a]==-1?l==61&&a==61?t&15?null:(x=V(Uu,pp,25,j*3+1,15,1),Hc(w,0,x,0,j*3),x[y]=(n<<2|t>>4)<<24>>24,x):l!=61&&a==61?(i=ol[l],i&3?null:(x=V(Uu,pp,25,j*3+2,15,1),Hc(w,0,x,0,j*3),x[y++]=(n<<2|t>>4)<<24>>24,x[y]=((t&15)<<4|i>>2&15)<<24>>24,x)):null:(i=ol[l],r=ol[a],w[y++]=(n<<2|t>>4)<<24>>24,w[y++]=((t&15)<<4|i>>2&15)<<24>>24,w[y++]=(i<<6|r)<<24>>24,w))}function aIn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z;for(On(n,JGe,1),T=u(S(e,(be(),Na)),218),r=new A(e.b);r.a=2){for(C=!0,y=new A(c.j),t=u(P(y),11),j=null;y.a0&&(r=u(ve(x.c.a,ue-1),10),o=e.i[r.p],Te=k.Math.ceil(Pg(e.n,r,x)),c=Z.a.e-x.d.d-(o.a.e+r.o.b+r.d.a)-Te),a=ei,ue0&&we.a.e.e-we.a.a-(we.b.e.e-we.b.a)<0,T=R.a.e.e-R.a.a-(R.b.e.e-R.b.a)<0&&we.a.e.e-we.a.a-(we.b.e.e-we.b.a)>0,j=R.a.e.e+R.b.awe.b.e.e+we.a.a,z=0,!C&&!T&&(y?c+w>0?z=w:a-i>0&&(z=i):j&&(c+f>0?z=f:a-q>0&&(z=q))),Z.a.e+=z,Z.b&&(Z.d.e+=z),!1))}function wVe(e,n,t){var i,r,c,o,f,l,a,h,w,y;if(i=new Qs(n.qf().a,n.qf().b,n.rf().a,n.rf().b),r=new a2,e.c)for(o=new A(n.wf());o.aa&&(i.a+=yCe(V(ho,Tl,25,-a,15,1))),i.a+="Is",wl(l,xu(32))>=0)for(r=0;r=i.o.b/2}else q=!w;q?($=u(S(i,(re(),pm)),15),$?y?c=$:(r=u(S(i,hm),15),r?$.gc()<=r.gc()?c=$:c=r:(c=new oe,te(i,hm,c))):(c=new oe,te(i,pm,c))):(r=u(S(i,(re(),hm)),15),r?w?c=r:($=u(S(i,pm),15),$?r.gc()<=$.gc()?c=r:c=$:(c=new oe,te(i,pm,c))):(c=new oe,te(i,hm,c))),c.Fc(e),te(e,(re(),$x),t),n.d==t?(Gi(n,null),t.e.c.length+t.g.c.length==0&&ac(t,null),c5n(t)):(or(n,null),t.e.c.length+t.g.c.length==0&&ac(t,null)),vo(n.a)}function wIn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt;for(q=new Yi(e.b,0),h=n.Kc(),T=0,a=u(h.Pb(),19).a,Z=0,t=new Ai,we=new wa;q.b=e.a&&(i=eAn(e,q),h=k.Math.max(h,i.b),z=k.Math.max(z,i.d),se(f,new Xi(q,i)));for(Te=new oe,a=0;a0),x.a.Xb(x.c=--x.b),Ae=new mo(e.b),Wb(x,Ae),mn(x.b0?(a=0,x&&(a+=f),a+=(Ae-1)*o,R&&(a+=f),Te&&R&&(a=k.Math.max(a,ZCn(R,o,q,we))),a0){for(y=h<100?null:new Dh(h),a=new DJ(n),T=a.g,$=V(Ln,nt,25,h,15,1),i=0,z=new P0(h),r=0;r=0;)if(j!=null?kt(j,T[l]):X(j)===X(T[l])){$.length<=i&&(x=$,$=V(Ln,nt,25,2*$.length,15,1),Hc(x,0,$,0,i)),$[i++]=r,Bn(z,T[l]);break e}if(j=j,X(j)===X(f))break}}if(a=z,T=z.g,h=i,i>$.length&&(x=$,$=V(Ln,nt,25,i,15,1),Hc(x,0,$,0,i)),i>0){for(R=!0,c=0;c=0;)R2(e,$[o]);if(i!=h){for(r=h;--r>=i;)R2(a,r);x=$,$=V(Ln,nt,25,i,15,1),Hc(x,0,$,0,i)}n=a}}}else for(n=Q9n(e,n),r=e.i;--r>=0;)n.Hc(e.g[r])&&(R2(e,r),R=!0);if(R){if($!=null){for(t=n.gc(),w=t==1?Z5(e,4,n.Kc().Pb(),null,$[0],C):Z5(e,6,n,$,$[0],C),y=t<100?null:new Dh(t),r=n.Kc();r.Ob();)j=r.Pb(),y=NX(e,u(j,72),y);y?(y.Ei(w),y.Fi()):yt(e.e,w)}else{for(y=ldn(n.gc()),r=n.Kc();r.Ob();)j=r.Pb(),y=NX(e,u(j,72),y);y&&y.Fi()}return!0}else return!1}function yIn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R;for(t=new HNe(n),t.a||iPn(n),a=rMn(n),l=new E0,x=new NKe,C=new A(n.a);C.a0||t.o==il&&r0?(w=u(ve(y.c.a,o-1),10),Te=Pg(e.b,y,w),x=y.n.b-y.d.d-(w.n.b+w.o.b+w.d.a+Te)):x=y.n.b-y.d.d,a=k.Math.min(x,a),oo?v3(e,n,t):v3(e,t,n),ro?1:0}return i=u(S(n,(re(),Rc)),19).a,c=u(S(t,Rc),19).a,i>c?v3(e,n,t):v3(e,t,n),ic?1:0}function Yte(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x,$,q;if(ke(ye(Ee(n,(dt(),LO)))))return He(),He(),Sr;if(a=(!n.a&&(n.a=new fe(Qt,n,10,11)),n.a).i!=0,w=oEn(n),h=!w.dc(),a||h){if(r=u(Ee(n,E4),149),!r)throw O(new vg("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(q=vU(r,(w3(),WO)),TNe(n),!a&&h&&!q)return He(),He(),Sr;if(l=new oe,X(Ee(n,Rp))===X((Ma(),Eh))&&(vU(r,GO)||vU(r,VO)))for(j=uqe(e,n),T=new Gt,gr(T,(!n.a&&(n.a=new fe(Qt,n,10,11)),n.a));T.b!=0;)y=u(T.b==0?null:(mn(T.b!=0),no(T,T.a.a)),33),TNe(y),$=X(Ee(y,Rp))===X(g9),$||td(y,h9)&&!DQ(r,Ee(y,E4))?(f=Yte(e,y,t,i),pi(l,f),Br(y,Rp,g9),Eqe(y)):gr(T,(!y.a&&(y.a=new fe(Qt,y,10,11)),y.a));else for(j=(!n.a&&(n.a=new fe(Qt,n,10,11)),n.a).i,o=new jn((!n.a&&(n.a=new fe(Qt,n,10,11)),n.a));o.e!=o.i.gc();)c=u(Pn(o),33),f=Yte(e,c,t,i),pi(l,f),Eqe(c);for(x=new A(l);x.a=0?j=F2(f):j=q7(F2(f)),e.Ye(w4,j)),a=new ir,y=!1,e.Xe(wb)?(oX(a,u(e.We(wb),8)),y=!0):Xhn(a,o.a/2,o.b/2),j.g){case 4:te(h,gu,(ro(),m1)),te(h,Nx,(od(),Mp)),h.o.b=o.b,C<0&&(h.o.a=-C),Ci(w,(ae(),hn)),y||(a.a=o.a),a.a-=o.a;break;case 2:te(h,gu,(ro(),Gw)),te(h,Nx,(od(),s4)),h.o.b=o.b,C<0&&(h.o.a=-C),Ci(w,(ae(),sn)),y||(a.a=0);break;case 1:te(h,Id,(Ta(),Ap)),h.o.a=o.a,C<0&&(h.o.b=-C),Ci(w,(ae(),In)),y||(a.b=o.b),a.b-=o.b;break;case 3:te(h,Id,(Ta(),am)),h.o.a=o.a,C<0&&(h.o.b=-C),Ci(w,(ae(),tn)),y||(a.b=0)}if(oX(w.n,a),te(h,wb,a),n==Hd||n==fa||n==nu){if(T=0,n==Hd&&e.Xe(mh))switch(j.g){case 1:case 2:T=u(e.We(mh),19).a;break;case 3:case 4:T=-u(e.We(mh),19).a}else switch(j.g){case 4:case 2:T=c.b,n==fa&&(T/=r.b);break;case 1:case 3:T=c.a,n==fa&&(T/=r.a)}te(h,hb,T)}return te(h,Sc,j),h}function EIn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae;if(t=ee(he(S(e.a.j,(be(),lle)))),t<-1||!e.a.i||w2(u(S(e.a.o,ti),98))||bc(e.a.o,(ae(),hn)).gc()<2&&bc(e.a.o,sn).gc()<2)return!0;if(e.a.c.Rf())return!1;for(Z=0,z=0,R=new oe,l=e.a.e,a=0,h=l.length;a=t}function TIn(){IW();function e(i){var r=this;this.dispatch=function(c){var o=c.data;switch(o.cmd){case"algorithms":var f=RZ((He(),new qm(new da(x1.b))));i.postMessage({id:o.id,data:f});break;case"categories":var l=RZ((He(),new qm(new da(x1.c))));i.postMessage({id:o.id,data:l});break;case"options":var a=RZ((He(),new qm(new da(x1.d))));i.postMessage({id:o.id,data:a});break;case"register":Oxn(o.algorithms),i.postMessage({id:o.id});break;case"layout":aAn(o.graph,o.layoutOptions||{},o.options||{}),i.postMessage({id:o.id,data:o.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(o){i.postMessage({id:c.data.id,error:o})}}}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===$B&&typeof self!==$B){var t=new e(self);self.onmessage=t.saveDispatch}else typeof v!==$B&&v.exports&&(Object.defineProperty(E,"__esModule",{value:!0}),v.exports={default:n,Worker:n})}function CIn(e){e.N||(e.N=!0,e.b=Ec(e,0),Yt(e.b,0),Yt(e.b,1),Yt(e.b,2),e.bb=Ec(e,1),Yt(e.bb,0),Yt(e.bb,1),e.fb=Ec(e,2),Yt(e.fb,3),Yt(e.fb,4),Lt(e.fb,5),e.qb=Ec(e,3),Yt(e.qb,0),Lt(e.qb,1),Lt(e.qb,2),Yt(e.qb,3),Yt(e.qb,4),Lt(e.qb,5),Yt(e.qb,6),e.a=at(e,4),e.c=at(e,5),e.d=at(e,6),e.e=at(e,7),e.f=at(e,8),e.g=at(e,9),e.i=at(e,10),e.j=at(e,11),e.k=at(e,12),e.n=at(e,13),e.o=at(e,14),e.p=at(e,15),e.q=at(e,16),e.s=at(e,17),e.r=at(e,18),e.t=at(e,19),e.u=at(e,20),e.v=at(e,21),e.w=at(e,22),e.B=at(e,23),e.A=at(e,24),e.C=at(e,25),e.D=at(e,26),e.F=at(e,27),e.G=at(e,28),e.H=at(e,29),e.J=at(e,30),e.I=at(e,31),e.K=at(e,32),e.M=at(e,33),e.L=at(e,34),e.P=at(e,35),e.Q=at(e,36),e.R=at(e,37),e.S=at(e,38),e.T=at(e,39),e.U=at(e,40),e.V=at(e,41),e.X=at(e,42),e.W=at(e,43),e.Y=at(e,44),e.Z=at(e,45),e.$=at(e,46),e._=at(e,47),e.ab=at(e,48),e.cb=at(e,49),e.db=at(e,50),e.eb=at(e,51),e.gb=at(e,52),e.hb=at(e,53),e.ib=at(e,54),e.jb=at(e,55),e.kb=at(e,56),e.lb=at(e,57),e.mb=at(e,58),e.nb=at(e,59),e.ob=at(e,60),e.pb=at(e,61))}function SIn(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z;if(q=0,n.f.a==0)for(x=new A(e);x.aa&&(Qe(a,n.c.length),u(n.c[a],200)).a.c.length==0;)Tu(n,(Qe(a,n.c.length),n.c[a]));if(!l){--c;continue}if(hPn(n,h,r,l,y,t,a,i)){w=!0;continue}if(y){if(vAn(n,h,r,l,t,a,i)){w=!0;continue}else if(dZ(h,r)){r.c=!0,w=!0;continue}}else if(dZ(h,r)){r.c=!0,w=!0;continue}if(w)continue}if(dZ(h,r)){r.c=!0,w=!0,l&&(l.k=!1);continue}else BM(r.q)}return w}function Y_(e,n,t,i,r,c,o){var f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt,Mi;for(C=0,on=0,a=new A(e.b);a.aC&&(c&&(W1(ue,j),W1(Te,le(h.b-1)),se(e.d,T),f.c=V(pn,pe,1,0,5,1)),pt=t.b,Mi+=j+n,j=0,w=k.Math.max(w,t.b+t.c+Mn)),f.c[f.c.length]=l,FNe(l,pt,Mi),w=k.Math.max(w,pt+Mn+t.c),j=k.Math.max(j,y),pt+=Mn+n,T=l;if(pi(e.a,f),se(e.d,u(ve(f,f.c.length-1),157)),w=k.Math.max(w,i),ln=Mi+j+t.a,ln1&&(o=k.Math.min(o,k.Math.abs(u(Sf(f.a,1),8).b-h.b)))));else for(C=new A(n.j);C.ar&&(c=y.a-r,o=vt,i.c=V(pn,pe,1,0,5,1),r=y.a),y.a>=r&&(i.c[i.c.length]=f,f.a.b>1&&(o=k.Math.min(o,k.Math.abs(u(Sf(f.a,f.a.b-2),8).b-y.b)))));if(i.c.length!=0&&c>n.o.a/2&&o>n.o.b/2){for(j=new qc,ac(j,n),Ci(j,(ae(),tn)),j.n.a=n.o.a/2,$=new qc,ac($,n),Ci($,In),$.n.a=n.o.a/2,$.n.b=n.o.b,l=new A(i);l.a=a.b?or(f,$):or(f,j)):(a=u(jbn(f.a),8),x=f.a.b==0?Rf(f.c):u(aC(f.a),8),x.b>=a.b?Gi(f,$):Gi(f,j)),w=u(S(f,(be(),Xr)),74),w&&hw(w,a,!0);n.n.a=r-n.o.a/2}}function OIn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt,Mi,zs,Ko;if(on=null,Mn=n,ln=EOe(e,vOe(t),Mn),f6(ln,ya(Mn,Il)),pt=u(Ng(e.g,q2(va(Mn,cK))),33),y=va(Mn,"sourcePort"),i=null,y&&(i=q2(y)),Mi=u(Ng(e.j,i),118),!pt)throw f=c3(Mn),T="An edge must have a source node (edge id: '"+f,C=T+H3,O(new dl(C));if(Mi&&!vl(_f(Mi),pt))throw l=ya(Mn,Il),x="The source port of an edge must be a port of the edge's source node (edge id: '"+l,$=x+H3,O(new dl($));if(Te=(!ln.b&&(ln.b=new Xe(xn,ln,4,7)),ln.b),c=null,Mi?c=Mi:c=pt,Bn(Te,c),zs=u(Ng(e.g,q2(va(Mn,Xce))),33),j=va(Mn,"targetPort"),r=null,j&&(r=q2(j)),Ko=u(Ng(e.j,r),118),!zs)throw w=c3(Mn),q="An edge must have a target node (edge id: '"+w,R=q+H3,O(new dl(R));if(Ko&&!vl(_f(Ko),zs))throw a=ya(Mn,Il),z="The target port of an edge must be a port of the edge's target node (edge id: '"+a,Z=z+H3,O(new dl(Z));if(Ae=(!ln.c&&(ln.c=new Xe(xn,ln,5,8)),ln.c),o=null,Ko?o=Ko:o=zs,Bn(Ae,o),(!ln.b&&(ln.b=new Xe(xn,ln,4,7)),ln.b).i==0||(!ln.c&&(ln.c=new Xe(xn,ln,5,8)),ln.c).i==0)throw h=ya(Mn,Il),ue=wWe+h,we=ue+H3,O(new dl(we));return WM(Mn,ln),kTn(Mn,ln),on=_F(e,Mn,ln),on}function yVe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on;return w=LPn(ku(e,(ae(),ul)),n),T=Ug(ku(e,df),n),z=Ug(ku(e,Hs),n),Te=RM(ku(e,$o),n),y=RM(ku(e,lo),n),q=Ug(ku(e,bf),n),C=Ug(ku(e,ns),n),ue=Ug(ku(e,Vs),n),Z=Ug(ku(e,ao),n),Ae=RM(ku(e,pu),n),$=Ug(ku(e,Du),n),R=Ug(ku(e,ts),n),we=Ug(ku(e,Iu),n),on=RM(ku(e,Lu),n),j=RM(ku(e,Wu),n),x=Ug(ku(e,tu),n),t=Rg(D(I(Hi,1),Rr,25,15,[q.a,Te.a,ue.a,on.a])),i=Rg(D(I(Hi,1),Rr,25,15,[T.a,w.a,z.a,x.a])),r=$.a,c=Rg(D(I(Hi,1),Rr,25,15,[C.a,y.a,Z.a,j.a])),a=Rg(D(I(Hi,1),Rr,25,15,[q.b,T.b,C.b,R.b])),l=Rg(D(I(Hi,1),Rr,25,15,[Te.b,w.b,y.b,x.b])),h=Ae.b,f=Rg(D(I(Hi,1),Rr,25,15,[ue.b,z.b,Z.b,we.b])),nh(ku(e,ul),t+r,a+h),nh(ku(e,tu),t+r,a+h),nh(ku(e,df),t+r,0),nh(ku(e,Hs),t+r,a+h+l),nh(ku(e,$o),0,a+h),nh(ku(e,lo),t+r+i,a+h),nh(ku(e,ns),t+r+i,0),nh(ku(e,Vs),0,a+h+l),nh(ku(e,ao),t+r+i,a+h+l),nh(ku(e,pu),0,a),nh(ku(e,Du),t,0),nh(ku(e,Iu),0,a+h+l),nh(ku(e,Wu),t+r+i,0),o=new ir,o.a=Rg(D(I(Hi,1),Rr,25,15,[t+i+r+c,Ae.a,R.a,we.a])),o.b=Rg(D(I(Hi,1),Rr,25,15,[a+l+h+f,$.b,on.b,j.b])),o}function IIn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x;for(C=new oe,y=new A(e.d.b);y.ar.d.d+r.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))),i.b!=i.d.c&&(n=t);h&&(c=u(yn(e.f,o.d.i),57),n.bc.d.d+c.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))}for(f=new En(Sn(cc(j).a.Kc(),new J));Wn(f);)o=u(_n(f),17),o.a.b!=0&&(n=u(aC(o.a),8),o.d.j==(ae(),tn)&&(x=new q6(n,new je(n.a,r.d.d),r,o),x.f.a=!0,x.a=o.d,C.c[C.c.length]=x),o.d.j==In&&(x=new q6(n,new je(n.a,r.d.d+r.d.a),r,o),x.f.d=!0,x.a=o.d,C.c[C.c.length]=x))}return C}function DIn(e,n,t){var i,r,c,o,f,l,a,h,w;if(On(t,"Network simplex node placement",1),e.e=n,e.n=u(S(n,(re(),Ip)),304),YAn(e),x7n(e),ri(hc(new Ue(null,new Ye(e.e.b,16)),new Tme),new d8e(e)),ri(Ft(hc(Ft(hc(new Ue(null,new Ye(e.e.b,16)),new Nme),new _me),new Bme),new Rme),new h8e(e)),ke(ye(S(e.e,(be(),Gy))))&&(o=Uc(t,1),On(o,"Straight Edges Pre-Processing",1),wOn(e),Tn(o)),a9n(e.f),c=u(S(n,Uy),19).a*e.f.a.c.length,P_(CW(SW(BL(e.f),c),!1),Uc(t,1)),e.d.a.gc()!=0){for(o=Uc(t,1),On(o,"Flexible Where Space Processing",1),f=u(d0(NC(ju(new Ue(null,new Ye(e.f.a,16)),new Cme),new mme)),19).a,l=u(d0(FC(ju(new Ue(null,new Ye(e.f.a,16)),new Sme),new vme)),19).a,a=l-f,h=h0(new G1,e.f),w=h0(new G1,e.f),tf(zo(Go(Vo(Wo(new go,2e4),a),h),w)),ri(Ft(Ft(u$(e.i),new Mme),new Pme),new lAe(f,h,a,w)),r=e.d.a.ec().Kc();r.Ob();)i=u(r.Pb(),213),i.g=1;P_(CW(SW(BL(e.f),c),!1),Uc(o,1)),Tn(o)}ke(ye(S(n,Gy)))&&(o=Uc(t,1),On(o,"Straight Edges Post-Processing",1),yjn(e),Tn(o)),Zxn(e),e.e=null,e.f=null,e.i=null,e.c=null,Yu(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),Tn(t)}function LIn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z;for(f=new A(e.a.b);f.a0)if(i=w.gc(),a=oi(k.Math.floor((i+1)/2))-1,r=oi(k.Math.ceil((i+1)/2))-1,n.o==il)for(h=r;h>=a;h--)n.a[z.p]==z&&(C=u(w.Xb(h),46),T=u(C.a,10),!ba(t,C.b)&&j>e.b.e[T.p]&&(n.a[T.p]=z,n.g[z.p]=n.g[T.p],n.a[z.p]=n.g[z.p],n.f[n.g[z.p].p]=(un(),!!(ke(n.f[n.g[z.p].p])&z.k==(dn(),Fi))),j=e.b.e[T.p]));else for(h=a;h<=r;h++)n.a[z.p]==z&&($=u(w.Xb(h),46),x=u($.a,10),!ba(t,$.b)&&j=T&&(q>T&&(j.c=V(pn,pe,1,0,5,1),T=q),j.c[j.c.length]=o);j.c.length!=0&&(y=u(ve(j,$M(n,j.c.length)),128),ln.a.Bc(y)!=null,y.s=C++,Wne(y,Ae,ue),j.c=V(pn,pe,1,0,5,1))}for(z=e.c.length+1,f=new A(e);f.aon.s&&(ks(t),Tu(on.i,i),i.c>0&&(i.a=on,se(on.t,i),i.b=we,se(we.i,i)))}function Qte(e){var n,t,i,r,c;switch(n=e.c,n){case 11:return e.Ml();case 12:return e.Ol();case 14:return e.Ql();case 15:return e.Tl();case 16:return e.Rl();case 17:return e.Ul();case 21:return wt(e),gt(),gt(),D9;case 10:switch(e.a){case 65:return e.yl();case 90:return e.Dl();case 122:return e.Kl();case 98:return e.El();case 66:return e.zl();case 60:return e.Jl();case 62:return e.Hl()}}switch(c=AIn(e),n=e.c,n){case 3:return e.Zl(c);case 4:return e.Xl(c);case 5:return e.Yl(c);case 0:if(e.a==123&&e.d=48&&n<=57){for(i=n-48;r=48&&n<=57;)if(i=i*10+n-48,i<0)throw O(new Hn(Un((qn(),nue))))}else throw O(new Hn(Un((qn(),HWe))));if(t=i,n==44){if(r>=e.j)throw O(new Hn(Un((qn(),GWe))));if((n=Zi(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;)if(t=t*10+n-48,t<0)throw O(new Hn(Un((qn(),nue))));if(i>t)throw O(new Hn(Un((qn(),zWe))))}else t=-1}if(n!=125)throw O(new Hn(Un((qn(),VWe))));e.sl(r)?(c=(gt(),gt(),new tw(9,c)),e.d=r+1):(c=(gt(),gt(),new tw(3,c)),e.d=r),c.dm(i),c.cm(t),wt(e)}}return c}function kVe(e,n,t,i,r){var c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln;for(C=new iu(n.b),z=new iu(n.b),y=new iu(n.b),Te=new iu(n.b),x=new iu(n.b),we=ut(n,0);we.b!=we.d.c;)for(Z=u(ct(we),11),f=new A(Z.g);f.a0,$=Z.g.c.length>0,a&&$?y.c[y.c.length]=Z:a?C.c[C.c.length]=Z:$&&(z.c[z.c.length]=Z);for(T=new A(C);T.a1)for(T=new h2((!e.a&&(e.a=new fe(zt,e,6,6)),e.a));T.e!=T.i.gc();)x6(T);for(o=u(K((!e.a&&(e.a=new fe(zt,e,6,6)),e.a),0),202),x=pt,pt>Z+z?x=Z+z:ptue+C?$=ue+C:MiZ-z&&xue-C&&$pt+Mn?Te=pt+Mn:ZMi+we?Ae=Mi+we:uept-Mn&&TeMi-we&&Aet&&(y=t-1),j=wE+ss(n,24)*Lk*w-w/2,j<0?j=1:j>i&&(j=i-1),r=(r0(),l=new HE,l),KS(r,y),qS(r,j),Bn((!o.a&&(o.a=new gi(Fo,o,5)),o.a),r)}function be(){be=W,vH=(dt(),Rin),Ble=Kin,Mj=x1e,sf=qin,ym=O1e,gb=Hin,Zw=I1e,p4=D1e,m4=L1e,yH=FO,pb=qd,kH=Vin,Wy=N1e,Zx=Cm,Sj=(eie(),NZe),Lp=_Ze,Nd=BZe,$p=RZe,Een=new Er($O,le(0)),g4=LZe,_le=$Ze,vm=FZe,Wle=oen,Rle=HZe,Kle=zZe,EH=ZZe,qle=XZe,Hle=QZe,eO=hen,TH=fen,Gle=ren,Vle=ten,zle=uen,bb=PZe,zy=AZe,bH=zJe,gle=UJe,Dle=new l0(12),Ile=new Er(Kd,Dle),dle=(Aa(),S4),Na=new Er(u1e,dle),Yw=new Er(as,0),Ten=new Er(IV,le(1)),Rx=new Er(Em,$3),Fd=LO,ti=d9,w4=Vp,gen=Gj,Fl=Oin,Uw=Rp,Cen=new Er(DV,(un(),!0)),Xw=zj,Ld=CV,$d=Rd,Jx=E1,mH=DO,hle=(xr(),ua),Ks=new Er(vb,hle),db=qp,Yx=w1e,Qw=ig,jen=OV,Fle=P1e,$le=(Gg(),Jj),new Er(E1e,$le),ven=MV,yen=PV,ken=AV,men=SV,jH=qZe,Mle=gZe,gH=wZe,Uy=KZe,gu=oZe,Ww=_Je,Vy=NJe,zw=TJe,fle=CJe,lH=AJe,Cj=SJe,aH=$Je,Ple=pZe,Ale=mZe,jle=tZe,Qx=IZe,pH=kZe,wH=QJe,Ole=SZe,wle=VJe,dH=GJe,fH=OO,xle=vZe,qx=pJe,ule=gJe,Kx=wJe,vle=eZe,mle=ZJe,yle=nZe,d4=Hp,Xr=Kp,ph=o1e,Nl=TV,hH=EV,lle=OJe,mh=xV,Hy=Lin,Wx=$in,wb=C1e,Lle=Fin,b4=Nin,Tle=lZe,Cle=hZe,Jw=Tm,sH=bJe,Sle=bZe,zx=KJe,Gx=RJe,Xx=Wj,Ele=cZe,Gy=EZe,Pj=$1e,ale=BJe,Nle=DZe,ble=qJe,pen=sZe,wen=DJe,kle=h1e,Ux=fZe,Vx=LJe,v1=EJe,ole=kJe,Hx=vJe,sle=yJe,oH=jJe,mm=mJe,ple=JJe}function J_(e,n){__();var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt;if(Te=e.e,T=e.d,r=e.a,Te==0)switch(n){case 0:return"0";case 1:return x3;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return ue=new Ih,n<0?ue.a+="0E+":ue.a+="0E",ue.a+=-n,ue.a}if(R=T*10+1+7,z=V(ho,Tl,25,R+1,15,1),t=R,T==1)if(f=r[0],f<0){pt=Ti(f,Ir);do C=pt,pt=ek(pt,10),z[--t]=48+Fn(n1(C,rr(pt,10)))&li;while(Fc(pt,0)!=0)}else{pt=f;do C=pt,pt=pt/10|0,z[--t]=48+(C-pt*10)&li;while(pt!=0)}else{on=V(Ln,nt,25,T,15,1),Mn=T,Hc(r,0,on,0,Mn);e:for(;;){for(we=0,a=Mn-1;a>=0;a--)ln=fr(pa(we,32),Ti(on[a],Ir)),$=G7n(ln),on[a]=Fn($),we=Fn(qh($,32));q=Fn(we),x=t;do z[--t]=48+q%10&li;while((q=q/10|0)!=0&&t!=0);for(i=9-x+t,l=0;l0;l++)z[--t]=48;for(w=Mn-1;on[w]==0;w--)if(w==0)break e;Mn=w+1}for(;z[t]==48;)++t}if(j=Te<0,o=R-t-n-1,n==0)return j&&(z[--t]=45),ko(z,t,R-t);if(n>0&&o>=-6){if(o>=0){for(h=t+o,y=R-1;y>=h;y--)z[y+1]=z[y];return z[++h]=46,j&&(z[--t]=45),ko(z,t,R-t+1)}for(w=2;w<-o+1;w++)z[--t]=48;return z[--t]=46,z[--t]=48,j&&(z[--t]=45),ko(z,t,R-t)}return Ae=t+1,c=R,Z=new _b,j&&(Z.a+="-"),c-Ae>=1?(Vh(Z,z[t]),Z.a+=".",Z.a+=ko(z,t+1,R-t-1)):Z.a+=ko(z,t,R-t),Z.a+="E",o>0&&(Z.a+="+"),Z.a+=""+o,Z.a}function TVe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue;switch(e.c=n,e.g=new $n,t=(Rb(),new Fb(e.c)),i=new QE(t),LZ(i),R=Vn(Ee(e.c,(tk(),Ahe))),l=u(Ee(e.c,bV),316),Z=u(Ee(e.c,wV),429),o=u(Ee(e.c,She),482),z=u(Ee(e.c,dV),430),e.j=ee(he(Ee(e.c,nin))),f=e.a,l.g){case 0:f=e.a;break;case 1:f=e.b;break;case 2:f=e.i;break;case 3:f=e.e;break;case 4:f=e.f;break;default:throw O(new rn(fA+(l.f!=null?l.f:""+l.g)))}if(e.d=new UAe(f,Z,o),te(e.d,(qv(),xy),ye(Ee(e.c,Ztn))),e.d.c=ke(ye(Ee(e.c,Mhe))),JC(e.c).i==0)return e.d;for(w=new jn(JC(e.c));w.e!=w.i.gc();){for(h=u(Pn(w),33),j=h.g/2,y=h.f/2,ue=new je(h.i+j,h.j+y);ys(e.g,ue);)Gb(ue,(k.Math.random()-.5)*Ml,(k.Math.random()-.5)*Ml);C=u(Ee(h,(dt(),Wj)),142),x=new axe(ue,new Qs(ue.a-j-e.j/2-C.b,ue.b-y-e.j/2-C.d,h.g+e.j+(C.b+C.c),h.f+e.j+(C.d+C.a))),se(e.d.i,x),jt(e.g,ue,new Xi(x,h))}switch(z.g){case 0:if(R==null)e.d.d=u(ve(e.d.i,0),65);else for(q=new A(e.d.i);q.a1&&ui(h,$,h.c.b,h.c),NS(r)));$=q}return h}function KIn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt,Mi,zs,Ko,fl;for(On(t,"Greedy cycle removal",1),R=n.a,fl=R.c.length,e.a=V(Ln,nt,25,fl,15,1),e.c=V(Ln,nt,25,fl,15,1),e.b=V(Ln,nt,25,fl,15,1),a=0,$=new A(R);$.a<$.c.c.length;){for(C=u(P($),10),C.p=a,Ae=new A(C.j);Ae.a0?Mn+1:1);for(o=new A(ue.g);o.a0?Mn+1:1)}e.c[a]==0?st(e.e,C):e.a[a]==0&&st(e.f,C),++a}for(T=-1,j=1,w=new oe,e.d=u(S(n,(re(),gm)),230);fl>0;){for(;e.e.b!=0;)Mi=u(qL(e.e),10),e.b[Mi.p]=T--,yte(e,Mi),--fl;for(;e.f.b!=0;)zs=u(qL(e.f),10),e.b[zs.p]=j++,yte(e,zs),--fl;if(fl>0){for(y=cr,q=new A(R);q.a=y&&(z>y&&(w.c=V(pn,pe,1,0,5,1),y=z),w.c[w.c.length]=C));h=e.Zf(w),e.b[h.p]=j++,yte(e,h),--fl}}for(pt=R.c.length+1,a=0;ae.b[Ko]&&(W0(i,!0),te(n,yj,(un(),!0)));e.a=null,e.c=null,e.b=null,vo(e.f),vo(e.e),Tn(t)}function SVe(e,n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$;for(i=new oe,f=new oe,x=n/2,j=e.gc(),r=u(e.Xb(0),8),$=u(e.Xb(1),8),T=h_(r.a,r.b,$.a,$.b,x),se(i,(Qe(0,T.c.length),u(T.c[0],8))),se(f,(Qe(1,T.c.length),u(T.c[1],8))),a=2;a=0;l--)st(t,(Qe(l,o.c.length),u(o.c[l],8)));return t}function qIn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j;if(o=!0,w=null,i=null,r=null,n=!1,j=Irn,a=null,c=null,f=0,l=mN(e,f,kde,jde),l=0&&Ke(e.substr(f,2),"//")?(f+=2,l=mN(e,f,C9,S9),i=e.substr(f,l-f),f=l):w!=null&&(f==e.length||(Gn(f,e.length),e.charCodeAt(f)!=47))&&(o=!1,l=JU(e,xu(35),f),l==-1&&(l=e.length),i=e.substr(f,l-f),f=l);if(!t&&f0&&Zi(h,h.length-1)==58&&(r=h,f=l)),f=e.j){e.a=-1,e.c=1;return}if(n=Zi(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j)throw O(new Hn(Un((qn(),gA))));e.a=Zi(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||Zi(e.i,e.d)!=63)break;if(++e.d>=e.j)throw O(new Hn(Un((qn(),gK))));switch(n=Zi(e.i,e.d++),n){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(e.d>=e.j)throw O(new Hn(Un((qn(),gK))));if(n=Zi(e.i,e.d++),n==61)i=16;else if(n==33)i=17;else throw O(new Hn(Un((qn(),CWe))));break;case 35:for(;e.d=e.j)throw O(new Hn(Un((qn(),gA))));e.a=Zi(e.i,e.d++);break;default:i=0}e.c=i}function VIn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn;if(we=u(S(e,(be(),ti)),98),we!=(Wi(),cl)&&we!=S1){for(T=e.b,j=T.c.length,h=new iu((Ds(j+2,iB),FS(fr(fr(5,j+2),(j+2)/10|0)))),C=new iu((Ds(j+2,iB),FS(fr(fr(5,j+2),(j+2)/10|0)))),se(h,new $n),se(h,new $n),se(C,new oe),se(C,new oe),ue=new oe,n=0;n=Z||!ayn($,i))&&(i=kxe(n,h)),Gr($,i),c=new En(Sn(cc($).a.Kc(),new J));Wn(c);)r=u(_n(c),17),!e.a[r.p]&&(C=r.c.i,--e.e[C.p],e.e[C.p]==0&&Pv(a3(j,C)));for(a=h.c.length-1;a>=0;--a)se(n.b,(Qe(a,h.c.length),u(h.c[a],29)));n.a.c=V(pn,pe,1,0,5,1),Tn(t)}function MVe(e){var n,t,i,r,c,o,f,l,a;for(e.b=1,wt(e),n=null,e.c==0&&e.a==94?(wt(e),n=(gt(),gt(),new xs(4)),Xc(n,0,G3),f=new xs(4)):f=(gt(),gt(),new xs(4)),r=!0;(a=e.c)!=1;){if(a==0&&e.a==93&&!r){n&&(W6(n,f),f=n);break}if(t=e.a,i=!1,a==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:Sw(f,y3(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(Sw(f,y3(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(l=Pne(e,t),!l)throw O(new Hn(Un((qn(),pK))));Sw(f,l),i=!0;break;default:t=ote(e)}else if(a==24&&!r){if(n&&(W6(n,f),f=n),c=MVe(e),W6(f,c),e.c!=0||e.a!=93)throw O(new Hn(Un((qn(),$We))));break}if(wt(e),!i){if(a==0){if(t==91)throw O(new Hn(Un((qn(),Zce))));if(t==93)throw O(new Hn(Un((qn(),eue))));if(t==45&&!r&&e.a!=93)throw O(new Hn(Un((qn(),mK))))}if(e.c!=0||e.a!=45||t==45&&r)Xc(f,t,t);else{if(wt(e),(a=e.c)==1)throw O(new Hn(Un((qn(),pA))));if(a==0&&e.a==93)Xc(f,t,t),Xc(f,45,45);else{if(a==0&&e.a==93||a==24)throw O(new Hn(Un((qn(),mK))));if(o=e.a,a==0){if(o==91)throw O(new Hn(Un((qn(),Zce))));if(o==93)throw O(new Hn(Un((qn(),eue))));if(o==45)throw O(new Hn(Un((qn(),mK))))}else a==10&&(o=ote(e));if(wt(e),t>o)throw O(new Hn(Un((qn(),_We))));Xc(f,t,o)}}}r=!1}if(e.c==1)throw O(new Hn(Un((qn(),pA))));return Zg(f),G6(f),e.b=0,wt(e),f}function zIn(e){Rn(e.c,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#decimal"])),Rn(e.d,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#integer"])),Rn(e.e,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#boolean"])),Rn(e.f,et,D(I(ge,1),ie,2,6,[ur,"EBoolean",ht,"EBoolean:Object"])),Rn(e.i,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#byte"])),Rn(e.g,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Rn(e.j,et,D(I(ge,1),ie,2,6,[ur,"EByte",ht,"EByte:Object"])),Rn(e.n,et,D(I(ge,1),ie,2,6,[ur,"EChar",ht,"EChar:Object"])),Rn(e.t,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#double"])),Rn(e.u,et,D(I(ge,1),ie,2,6,[ur,"EDouble",ht,"EDouble:Object"])),Rn(e.F,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#float"])),Rn(e.G,et,D(I(ge,1),ie,2,6,[ur,"EFloat",ht,"EFloat:Object"])),Rn(e.I,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#int"])),Rn(e.J,et,D(I(ge,1),ie,2,6,[ur,"EInt",ht,"EInt:Object"])),Rn(e.N,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#long"])),Rn(e.O,et,D(I(ge,1),ie,2,6,[ur,"ELong",ht,"ELong:Object"])),Rn(e.Z,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#short"])),Rn(e.$,et,D(I(ge,1),ie,2,6,[ur,"EShort",ht,"EShort:Object"])),Rn(e._,et,D(I(ge,1),ie,2,6,[ur,"http://www.w3.org/2001/XMLSchema#string"]))}function WIn(e){var n,t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn;if(e.c.length==1)return Qe(0,e.c.length),u(e.c[0],135);if(e.c.length<=0)return new jS;for(l=new A(e);l.aw&&(ln=0,Mn+=h+we,h=0),iCn(Z,o,ln,Mn),n=k.Math.max(n,ln+ue.a),h=k.Math.max(h,ue.b),ln+=ue.a+we;for(z=new $n,t=new $n,Ae=new A(e);Ae.ad_(c))&&(w=c);for(!w&&(w=(Qe(0,x.c.length),u(x.c[0],180))),C=new A(n.b);C.a=-1900?1:0,t>=4?Qn(e,D(I(ge,1),ie,2,6,[VVe,GVe])[f]):Qn(e,D(I(ge,1),ie,2,6,["BC","AD"])[f]);break;case 121:Kyn(e,t,i);break;case 77:GMn(e,t,i);break;case 107:l=r.q.getHours(),l==0?Ul(e,24,t):Ul(e,l,t);break;case 83:hCn(e,t,r);break;case 69:h=i.q.getDay(),t==5?Qn(e,D(I(ge,1),ie,2,6,["S","M","T","W","T","F","S"])[h]):t==4?Qn(e,D(I(ge,1),ie,2,6,[pB,mB,vB,yB,kB,jB,EB])[h]):Qn(e,D(I(ge,1),ie,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Qn(e,D(I(ge,1),ie,2,6,["AM","PM"])[1]):Qn(e,D(I(ge,1),ie,2,6,["AM","PM"])[0]);break;case 104:w=r.q.getHours()%12,w==0?Ul(e,12,t):Ul(e,w,t);break;case 75:y=r.q.getHours()%12,Ul(e,y,t);break;case 72:j=r.q.getHours(),Ul(e,j,t);break;case 99:T=i.q.getDay(),t==5?Qn(e,D(I(ge,1),ie,2,6,["S","M","T","W","T","F","S"])[T]):t==4?Qn(e,D(I(ge,1),ie,2,6,[pB,mB,vB,yB,kB,jB,EB])[T]):t==3?Qn(e,D(I(ge,1),ie,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]):Ul(e,T,1);break;case 76:C=i.q.getMonth(),t==5?Qn(e,D(I(ge,1),ie,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[C]):t==4?Qn(e,D(I(ge,1),ie,2,6,[uB,sB,oB,fB,W2,lB,aB,hB,dB,bB,wB,gB])[C]):t==3?Qn(e,D(I(ge,1),ie,2,6,["Jan","Feb","Mar","Apr",W2,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[C]):Ul(e,C+1,t);break;case 81:x=i.q.getMonth()/3|0,t<4?Qn(e,D(I(ge,1),ie,2,6,["Q1","Q2","Q3","Q4"])[x]):Qn(e,D(I(ge,1),ie,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[x]);break;case 100:$=i.q.getDate(),Ul(e,$,t);break;case 109:a=r.q.getMinutes(),Ul(e,a,t);break;case 115:o=r.q.getSeconds(),Ul(e,o,t);break;case 122:t<4?Qn(e,c.c[0]):Qn(e,c.c[1]);break;case 118:Qn(e,c.b);break;case 90:t<3?Qn(e,nEn(c)):t==3?Qn(e,rEn(c)):Qn(e,cEn(c.a));break;default:return!1}return!0}function Zte(e,n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt;if(bqe(n),l=u(K((!n.b&&(n.b=new Xe(xn,n,4,7)),n.b),0),82),h=u(K((!n.c&&(n.c=new Xe(xn,n,5,8)),n.c),0),82),f=Zr(l),a=Zr(h),o=(!n.a&&(n.a=new fe(zt,n,6,6)),n.a).i==0?null:u(K((!n.a&&(n.a=new fe(zt,n,6,6)),n.a),0),202),we=u(yn(e.a,f),10),ln=u(yn(e.a,a),10),Te=null,Mn=null,_(l,186)&&(ue=u(yn(e.a,l),299),_(ue,11)?Te=u(ue,11):_(ue,10)&&(we=u(ue,10),Te=u(ve(we.j,0),11))),_(h,186)&&(on=u(yn(e.a,h),299),_(on,11)?Mn=u(on,11):_(on,10)&&(ln=u(on,10),Mn=u(ve(ln.j,0),11))),!we||!ln)throw O(new i5("The source or the target of edge "+n+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(C=new k0,Jr(C,n),te(C,(re(),Et),n),te(C,(be(),Xr),null),j=u(S(i,eu),21),we==ln&&j.Fc((Or(),By)),Te||(Z=(Ar(),fu),Ae=null,o&&Sg(u(S(we,ti),98))&&(Ae=new je(o.j,o.k),TOe(Ae,t7(n)),eIe(Ae,t),sw(a,f)&&(Z=es,Mt(Ae,we.n))),Te=hHe(we,Ae,Z,i)),Mn||(Z=(Ar(),es),pt=null,o&&Sg(u(S(ln,ti),98))&&(pt=new je(o.b,o.c),TOe(pt,t7(n)),eIe(pt,t)),Mn=hHe(ln,pt,Z,lr(ln))),or(C,Te),Gi(C,Mn),(Te.e.c.length>1||Te.g.c.length>1||Mn.e.c.length>1||Mn.g.c.length>1)&&j.Fc((Or(),_y)),y=new jn((!n.n&&(n.n=new fe(oc,n,1,7)),n.n));y.e!=y.i.gc();)if(w=u(Pn(y),137),!ke(ye(Ee(w,Fd)))&&w.a)switch(x=ZF(w),se(C.b,x),u(S(x,Nl),272).g){case 1:case 2:j.Fc((Or(),f4));break;case 0:j.Fc((Or(),o4)),te(x,Nl,(Vf(),T4))}if(c=u(S(i,Vy),314),$=u(S(i,Qx),315),r=c==(I2(),pj)||$==(M6(),xH),o&&(!o.a&&(o.a=new gi(Fo,o,5)),o.a).i!=0&&r){for(q=rk(o),T=new Nu,z=ut(q,0);z.b!=z.d.c;)R=u(ct(z),8),st(T,new Hr(R));te(C,Cfe,T)}return C}function QIn(e){e.gb||(e.gb=!0,e.b=Ec(e,0),Yt(e.b,18),Lt(e.b,19),e.a=Ec(e,1),Yt(e.a,1),Lt(e.a,2),Lt(e.a,3),Lt(e.a,4),Lt(e.a,5),e.o=Ec(e,2),Yt(e.o,8),Yt(e.o,9),Lt(e.o,10),Lt(e.o,11),Lt(e.o,12),Lt(e.o,13),Lt(e.o,14),Lt(e.o,15),Lt(e.o,16),Lt(e.o,17),Lt(e.o,18),Lt(e.o,19),Lt(e.o,20),Lt(e.o,21),Lt(e.o,22),Lt(e.o,23),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),Wr(e.o),e.p=Ec(e,3),Yt(e.p,2),Yt(e.p,3),Yt(e.p,4),Yt(e.p,5),Lt(e.p,6),Lt(e.p,7),Wr(e.p),Wr(e.p),e.q=Ec(e,4),Yt(e.q,8),e.v=Ec(e,5),Lt(e.v,9),Wr(e.v),Wr(e.v),Wr(e.v),e.w=Ec(e,6),Yt(e.w,2),Yt(e.w,3),Yt(e.w,4),Lt(e.w,5),e.B=Ec(e,7),Lt(e.B,1),Wr(e.B),Wr(e.B),Wr(e.B),e.Q=Ec(e,8),Lt(e.Q,0),Wr(e.Q),e.R=Ec(e,9),Yt(e.R,1),e.S=Ec(e,10),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),Wr(e.S),e.T=Ec(e,11),Lt(e.T,10),Lt(e.T,11),Lt(e.T,12),Lt(e.T,13),Lt(e.T,14),Wr(e.T),Wr(e.T),e.U=Ec(e,12),Yt(e.U,2),Yt(e.U,3),Lt(e.U,4),Lt(e.U,5),Lt(e.U,6),Lt(e.U,7),Wr(e.U),e.V=Ec(e,13),Lt(e.V,10),e.W=Ec(e,14),Yt(e.W,18),Yt(e.W,19),Yt(e.W,20),Lt(e.W,21),Lt(e.W,22),Lt(e.W,23),e.bb=Ec(e,15),Yt(e.bb,10),Yt(e.bb,11),Yt(e.bb,12),Yt(e.bb,13),Yt(e.bb,14),Yt(e.bb,15),Yt(e.bb,16),Lt(e.bb,17),Wr(e.bb),Wr(e.bb),e.eb=Ec(e,16),Yt(e.eb,2),Yt(e.eb,3),Yt(e.eb,4),Yt(e.eb,5),Yt(e.eb,6),Yt(e.eb,7),Lt(e.eb,8),Lt(e.eb,9),e.ab=Ec(e,17),Yt(e.ab,0),Yt(e.ab,1),e.H=Ec(e,18),Lt(e.H,0),Lt(e.H,1),Lt(e.H,2),Lt(e.H,3),Lt(e.H,4),Lt(e.H,5),Wr(e.H),e.db=Ec(e,19),Lt(e.db,2),e.c=at(e,20),e.d=at(e,21),e.e=at(e,22),e.f=at(e,23),e.i=at(e,24),e.g=at(e,25),e.j=at(e,26),e.k=at(e,27),e.n=at(e,28),e.r=at(e,29),e.s=at(e,30),e.t=at(e,31),e.u=at(e,32),e.fb=at(e,33),e.A=at(e,34),e.C=at(e,35),e.D=at(e,36),e.F=at(e,37),e.G=at(e,38),e.I=at(e,39),e.J=at(e,40),e.L=at(e,41),e.M=at(e,42),e.N=at(e,43),e.O=at(e,44),e.P=at(e,45),e.X=at(e,46),e.Y=at(e,47),e.Z=at(e,48),e.$=at(e,49),e._=at(e,50),e.cb=at(e,51),e.K=at(e,52))}function dt(){dt=W;var e,n;h9=new Kt(Lze),E4=new Kt($ze),n1e=(Xl(),mV),Oin=new Ge(Rre,n1e),Em=new Ge(Z2,null),Iin=new Kt(Lce),i1e=(pw(),Nt(kV,D(I(jV,1),ce,291,0,[yV]))),OO=new Ge(tA,i1e),Gj=new Ge(Wk,(un(),!1)),r1e=(xr(),ua),vb=new Ge(Hre,r1e),s1e=(Aa(),LV),u1e=new Ge(Gk,s1e),l1e=new Ge(oA,!1),a1e=(Ma(),NO),Rp=new Ge(nA,a1e),k1e=new l0(12),Kd=new Ge(J0,k1e),IO=new Ge(Bk,!1),h1e=new Ge($R,!1),Uj=new Ge(iy,!1),S1e=(Wi(),S1),d9=new Ge(eR,S1e),Tm=new Kt(iA),$O=new Kt(_k),IV=new Kt(NP),DV=new Kt(ty),d1e=new Nu,Kp=new Ge(Jre,d1e),Lin=new Ge(nce,!1),$in=new Ge(tce,!1),b1e=new Q4,Wj=new Ge(rce,b1e),LO=new Ge(_re,!1),Bin=new Ge(Fze,1),new Ge(Nze,!0),le(0),new Ge(_ze,le(100)),new Ge(Bze,!1),le(0),new Ge(Rze,le(4e3)),le(0),new Ge(Kze,le(400)),new Ge(qze,!1),new Ge(Hze,!1),new Ge(Vze,!0),new Ge(Gze,!1),t1e=(jM(),_V),Din=new Ge(Dce,t1e),Rin=new Ge(Sre,10),Kin=new Ge(Mre,10),x1e=new Ge(UB,20),qin=new Ge(Pre,10),O1e=new Ge(ZB,2),Hin=new Ge(Are,10),I1e=new Ge(xre,0),FO=new Ge(Dre,5),D1e=new Ge(Ore,1),L1e=new Ge(Ire,1),qd=new Ge(Ow,20),Vin=new Ge(Lre,10),N1e=new Ge($re,10),Cm=new Kt(Fre),F1e=new YTe,$1e=new Ge(cce,F1e),Nin=new Kt(LR),j1e=!1,Fin=new Ge(DR,j1e),g1e=new l0(5),w1e=new Ge(Vre,g1e),p1e=(kw(),n=u(mf(Lr),9),new Ys(n,u(Uo(n,n.length),9),0)),qp=new Ge(F3,p1e),T1e=(Gg(),C1),E1e=new Ge(Wre,T1e),MV=new Kt(Ure),PV=new Kt(Xre),AV=new Kt(Yre),SV=new Kt(Qre),m1e=(e=u(mf(k9),9),new Ys(e,u(Uo(e,e.length),9),0)),Rd=new Ge(hp,m1e),y1e=_e((os(),P4)),E1=new Ge(em,y1e),v1e=new je(0,0),Hp=new Ge(nm,v1e),DO=new Ge(IR,!1),c1e=(Vf(),T4),TV=new Ge(Zre,c1e),EV=new Ge(_P,!1),le(1),new Ge(zze,null),C1e=new Kt(ice),xV=new Kt(ece),A1e=(ae(),pc),Vp=new Ge(Bre,A1e),as=new Kt(Nre),M1e=(Ju(),_e(M1)),ig=new Ge(N3,M1e),OV=new Ge(Gre,!1),P1e=new Ge(zre,!0),zj=new Ge(Kre,!1),CV=new Ge(qre,!1),o1e=new Ge(XB,1),f1e=(UM(),FV),new Ge(Wze,f1e),_in=!0}function re(){re=W;var e,n;Et=new Kt(Fie),kfe=new Kt("coordinateOrigin"),rH=new Kt("processors"),yfe=new ji("compoundNode",(un(),!1)),kj=new ji("insideConnections",!1),Cfe=new Kt("originalBendpoints"),Sfe=new Kt("originalDummyNodePosition"),Mfe=new Kt("originalLabelEdge"),Ej=new Kt("representedLabels"),Ry=new Kt("endLabels"),dm=new Kt("endLabel.origin"),wm=new ji("labelSide",($s(),Qj)),xp=new ji("maxEdgeThickness",0),tl=new ji("reversed",!1),gm=new Kt(AGe),Of=new ji("longEdgeSource",null),Oo=new ji("longEdgeTarget",null),Vw=new ji("longEdgeHasLabelDummies",!1),jj=new ji("longEdgeBeforeLabelDummy",!1),Nx=new ji("edgeConstraint",(od(),Kq)),ab=new Kt("inLayerLayoutUnit"),Id=new ji("inLayerConstraint",(Ta(),vj)),bm=new ji("inLayerSuccessorConstraint",new oe),Tfe=new ji("inLayerSuccessorConstraintBetweenNonDummies",!1),Zu=new Kt("portDummy"),Fx=new ji("crossingHint",le(0)),eu=new ji("graphProperties",(n=u(mf(Uq),9),new Ys(n,u(Uo(n,n.length),9),0))),Sc=new ji("externalPortSide",(ae(),pc)),Efe=new ji("externalPortSize",new ir),Zq=new Kt("externalPortReplacedDummies"),_x=new Kt("externalPortReplacedDummy"),Hw=new ji("externalPortConnections",(e=u(mf(yr),9),new Ys(e,u(Uo(e,e.length),9),0))),hb=new ji(kGe,0),vfe=new Kt("barycenterAssociates"),pm=new Kt("TopSideComments"),hm=new Kt("BottomSideComments"),$x=new Kt("CommentConnectionPort"),nH=new ji("inputCollect",!1),iH=new ji("outputCollect",!1),yj=new ji("cyclic",!1),jfe=new Kt("crossHierarchyMap"),uH=new Kt("targetOffset"),new ji("splineLabelSize",new ir),Ip=new Kt("spacings"),Bx=new ji("partitionConstraint",!1),fb=new Kt("breakingPoint.info"),xfe=new Kt("splines.survivingEdge"),Dd=new Kt("splines.route.start"),Dp=new Kt("splines.edgeChain"),Afe=new Kt("originalPortConstraints"),a4=new Kt("selfLoopHolder"),h4=new Kt("splines.nsPortY"),Rc=new Kt("modelOrder"),tH=new Kt("longEdgeTargetNode"),lb=new ji(tze,!1),Op=new ji(tze,!1),eH=new Kt("layerConstraints.hiddenNodes"),Pfe=new Kt("layerConstraints.opposidePort"),cH=new Kt("targetNode.modelOrder")}function eie(){eie=W,Kfe=(E7(),Px),BJe=new Ge(Vie,Kfe),QJe=new Ge(Gie,(un(),!1)),Wfe=(wS(),Jq),tZe=new Ge(qP,Wfe),pZe=new Ge(zie,!1),mZe=new Ge(Wie,!0),bJe=new Ge(Uie,!1),nle=(v7(),DH),DZe=new Ge(Xie,nle),le(1),KZe=new Ge(Yie,le(7)),qZe=new Ge(Qie,!1),JJe=new Ge(Jie,!1),Rfe=(gd(),Bq),_Je=new Ge(uR,Rfe),Yfe=(zM(),SH),gZe=new Ge(Hk,Yfe),Ufe=(ro(),Tj),oZe=new Ge(Zie,Ufe),le(-1),sZe=new Ge(ere,le(-1)),le(-1),fZe=new Ge(nre,le(-1)),le(-1),lZe=new Ge(sR,le(4)),le(-1),hZe=new Ge(oR,le(2)),Xfe=(np(),cO),wZe=new Ge(fR,Xfe),le(0),bZe=new Ge(lR,le(0)),cZe=new Ge(aR,le(vt)),Bfe=(I2(),lm),NJe=new Ge(sy,Bfe),TJe=new Ge(tre,!1),OJe=new Ge(hR,.1),$Je=new Ge(dR,!1),le(-1),DJe=new Ge(ire,le(-1)),le(-1),LJe=new Ge(rre,le(-1)),le(0),CJe=new Ge(cre,le(40)),_fe=(Gv(),Yq),AJe=new Ge(bR,_fe),Nfe=mj,SJe=new Ge(HP,Nfe),ele=(M6(),Xy),IZe=new Ge(dp,ele),EZe=new Kt(VP),Qfe=(w7(),xx),vZe=new Ge(wR,Qfe),Jfe=(nk(),Ox),kZe=new Ge(gR,Jfe),SZe=new Ge(pR,.3),PZe=new Kt(mR),Zfe=(bw(),rO),AZe=new Ge(vR,Zfe),Vfe=(iM(),$H),VJe=new Ge(ure,Vfe),Gfe=(f7(),FH),GJe=new Ge(sre,Gfe),zfe=(Jv(),Jy),zJe=new Ge(GP,zfe),UJe=new Ge(zP,.2),qJe=new Ge(yR,2),NZe=new Ge(ore,null),BZe=new Ge(fre,10),_Ze=new Ge(lre,10),RZe=new Ge(are,20),le(0),LZe=new Ge(hre,le(0)),le(0),$Ze=new Ge(dre,le(0)),le(0),FZe=new Ge(bre,le(0)),wJe=new Ge(kR,!1),Dfe=(h3(),Ny),pJe=new Ge(wre,Dfe),Ife=(SS(),Nq),gJe=new Ge(gre,Ife),eZe=new Ge(WP,!1),le(0),ZJe=new Ge(jR,le(16)),le(0),nZe=new Ge(ER,le(5)),rle=(oM(),BH),oen=new Ge(Fa,rle),HZe=new Ge(UP,10),zZe=new Ge(XP,1),ile=(VS(),Mx),ZZe=new Ge(oy,ile),XZe=new Kt(TR),tle=le(1),le(0),QZe=new Ge(CR,tle),cle=(nM(),_H),hen=new Ge(YP,cle),fen=new Kt(QP),ren=new Ge(JP,!0),ten=new Ge(ZP,2),uen=new Ge(SR,!0),Hfe=(YM(),Ax),KJe=new Ge(pre,Hfe),qfe=(K2(),c4),RJe=new Ge(mre,qfe),Ffe=(Sa(),y1),EJe=new Ge(eA,Ffe),jJe=new Ge(vre,!1),Lfe=($0(),Ep),mJe=new Ge(MR,Lfe),$fe=(g6(),MH),kJe=new Ge(yre,$fe),vJe=new Ge(PR,0),yJe=new Ge(AR,0),rZe=Rq,iZe=pj,aZe=tO,dZe=tO,uZe=CH,IJe=(Ma(),Eh),FJe=lm,xJe=lm,MJe=lm,PJe=Eh,TZe=Yy,CZe=Xy,yZe=Xy,jZe=Xy,MZe=OH,OZe=Yy,xZe=Yy,WJe=(Aa(),Sm),XJe=Sm,YJe=Jy,HJe=Xj,VZe=v4,GZe=eg,WZe=v4,UZe=eg,een=v4,nen=eg,YZe=_q,JZe=Mx,den=v4,ben=eg,len=v4,aen=eg,cen=eg,ien=eg,sen=eg}function Cr(){Cr=W,moe=new fi("DIRECTION_PREPROCESSOR",0),woe=new fi("COMMENT_PREPROCESSOR",1),Iy=new fi("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),Eq=new fi("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Noe=new fi("PARTITION_PREPROCESSOR",4),ox=new fi("LABEL_DUMMY_INSERTER",5),mx=new fi("SELF_LOOP_PREPROCESSOR",6),n4=new fi("LAYER_CONSTRAINT_PREPROCESSOR",7),$oe=new fi("PARTITION_MIDPROCESSOR",8),Soe=new fi("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Doe=new fi("NODE_PROMOTION",10),e4=new fi("LAYER_CONSTRAINT_POSTPROCESSOR",11),Foe=new fi("PARTITION_POSTPROCESSOR",12),Eoe=new fi("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),_oe=new fi("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),foe=new fi("BREAKING_POINT_INSERTER",15),hx=new fi("LONG_EDGE_SPLITTER",16),Tq=new fi("PORT_SIDE_PROCESSOR",17),ux=new fi("INVERTED_PORT_PROCESSOR",18),wx=new fi("PORT_LIST_SORTER",19),Roe=new fi("SORT_BY_INPUT_ORDER_OF_MODEL",20),bx=new fi("NORTH_SOUTH_PORT_PREPROCESSOR",21),loe=new fi("BREAKING_POINT_PROCESSOR",22),Loe=new fi(UGe,23),Koe=new fi(XGe,24),gx=new fi("SELF_LOOP_PORT_RESTORER",25),Boe=new fi("SINGLE_EDGE_GRAPH_WRAPPER",26),sx=new fi("IN_LAYER_CONSTRAINT_PROCESSOR",27),yoe=new fi("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Ooe=new fi("LABEL_AND_NODE_SIZE_PROCESSOR",29),xoe=new fi("INNERMOST_NODE_MARGIN_CALCULATOR",30),vx=new fi("SELF_LOOP_ROUTER",31),doe=new fi("COMMENT_NODE_MARGIN_CALCULATOR",32),cx=new fi("END_LABEL_PREPROCESSOR",33),lx=new fi("LABEL_DUMMY_SWITCHER",34),hoe=new fi("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),Z3=new fi("LABEL_SIDE_SELECTOR",36),Poe=new fi("HYPEREDGE_DUMMY_MERGER",37),Toe=new fi("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Ioe=new fi("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),Dy=new fi("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),goe=new fi("CONSTRAINTS_POSTPROCESSOR",41),boe=new fi("COMMENT_POSTPROCESSOR",42),Aoe=new fi("HYPERNODE_PROCESSOR",43),Coe=new fi("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),ax=new fi("LONG_EDGE_JOINER",45),px=new fi("SELF_LOOP_POSTPROCESSOR",46),aoe=new fi("BREAKING_POINT_REMOVER",47),dx=new fi("NORTH_SOUTH_PORT_POSTPROCESSOR",48),Moe=new fi("HORIZONTAL_COMPACTOR",49),fx=new fi("LABEL_DUMMY_REMOVER",50),koe=new fi("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),voe=new fi("END_LABEL_SORTER",52),wj=new fi("REVERSED_EDGE_RESTORER",53),rx=new fi("END_LABEL_POSTPROCESSOR",54),joe=new fi("HIERARCHICAL_NODE_RESIZER",55),poe=new fi("DIRECTION_POSTPROCESSOR",56)}function JIn(e,n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae,on,ln,Mn,pt,Mi,zs,Ko,fl,cI,wE,L9,gE,D4,eG,Acn,nG,Ah,Cb,L4,pE,mE,Im,tG,$9,xcn,t0e,Sb,F9,iG,Dm,N9,dg,_9,rG,Ocn;for(t0e=0,pt=n,Ko=0,wE=pt.length;Ko0&&(e.a[Ah.p]=t0e++)}for(N9=0,Mi=t,fl=0,L9=Mi.length;fl0;){for(Ah=(mn(mE.b>0),u(mE.a.Xb(mE.c=--mE.b),11)),pE=0,f=new A(Ah.e);f.a0&&(Ah.j==(ae(),tn)?(e.a[Ah.p]=N9,++N9):(e.a[Ah.p]=N9+gE+eG,++eG))}N9+=eG}for(L4=new $n,T=new wa,Mn=n,zs=0,cI=Mn.length;zsa.b&&(a.b=Im)):Ah.i.c==xcn&&(Ima.c&&(a.c=Im));for(xv(C,0,C.length,null),Dm=V(Ln,nt,25,C.length,15,1),i=V(Ln,nt,25,N9+1,15,1),$=0;$0;)we%2>0&&(r+=rG[we+1]),we=(we-1)/2|0,++rG[we];for(Ae=V(inn,pe,362,C.length*2,0,1),z=0;z'?":Ke(CWe,e)?"'(?<' or '(? toIndex: ",die=", toIndex: ",bie="Index: ",wie=", Size: ",O3="org.eclipse.elk.alg.common",Ot={62:1},iGe="org.eclipse.elk.alg.common.compaction",rGe="Scanline/EventHandler",na="org.eclipse.elk.alg.common.compaction.oned",cGe="CNode belongs to another CGroup.",uGe="ISpacingsHandler/1",FB="The ",NB=" instance has been finished already.",sGe="The direction ",oGe=" is not supported by the CGraph instance.",fGe="OneDimensionalCompactor",lGe="OneDimensionalCompactor/lambda$0$Type",aGe="Quadruplet",hGe="ScanlineConstraintCalculator",dGe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",bGe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",wGe="ScanlineConstraintCalculator/Timestamp",gGe="ScanlineConstraintCalculator/lambda$0$Type",Cl={169:1,45:1},_B="org.eclipse.elk.alg.common.compaction.options",gc="org.eclipse.elk.core.data",gie="org.eclipse.elk.polyomino.traversalStrategy",pie="org.eclipse.elk.polyomino.lowLevelSort",mie="org.eclipse.elk.polyomino.highLevelSort",vie="org.eclipse.elk.polyomino.fill",To={130:1},BB="polyomino",Z6="org.eclipse.elk.alg.common.networksimplex",ta={177:1,3:1,4:1},pGe="org.eclipse.elk.alg.common.nodespacing",kd="org.eclipse.elk.alg.common.nodespacing.cellsystem",I3="CENTER",mGe={212:1,326:1},yie={3:1,4:1,5:1,595:1},Y2="LEFT",Q2="RIGHT",kie="Vertical alignment cannot be null",jie="BOTTOM",OP="org.eclipse.elk.alg.common.nodespacing.internal",ey="UNDEFINED",Qf=.01,$k="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",vGe="LabelPlacer/lambda$0$Type",yGe="LabelPlacer/lambda$1$Type",kGe="portRatioOrPosition",D3="org.eclipse.elk.alg.common.overlaps",RB="DOWN",Sl="org.eclipse.elk.alg.common.polyomino",IP="NORTH",KB="EAST",qB="SOUTH",HB="WEST",DP="org.eclipse.elk.alg.common.polyomino.structures",Eie="Direction",VB="Grid is only of size ",GB=". Requested point (",zB=") is out of bounds.",LP=" Given center based coordinates were (",Fk="org.eclipse.elk.graph.properties",jGe="IPropertyHolder",Tie={3:1,94:1,134:1},J2="org.eclipse.elk.alg.common.spore",EGe="org.eclipse.elk.alg.common.utils",jd={209:1},lp="org.eclipse.elk.core",TGe="Connected Components Compaction",CGe="org.eclipse.elk.alg.disco",$P="org.eclipse.elk.alg.disco.graph",WB="org.eclipse.elk.alg.disco.options",Cie="CompactionStrategy",Sie="org.eclipse.elk.disco.componentCompaction.strategy",Mie="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",Pie="org.eclipse.elk.disco.debug.discoGraph",Aie="org.eclipse.elk.disco.debug.discoPolys",SGe="componentCompaction",Ed="org.eclipse.elk.disco",UB="org.eclipse.elk.spacing.componentComponent",XB="org.eclipse.elk.edge.thickness",Z2="org.eclipse.elk.aspectRatio",J0="org.eclipse.elk.padding",ap="org.eclipse.elk.alg.disco.transform",YB=1.5707963267948966,L3=17976931348623157e292,xw={3:1,4:1,5:1,192:1},xie={3:1,6:1,4:1,5:1,106:1,120:1},Oie="org.eclipse.elk.alg.force",Iie="ComponentsProcessor",MGe="ComponentsProcessor/1",Nk="org.eclipse.elk.alg.force.graph",PGe="Component Layout",Die="org.eclipse.elk.alg.force.model",FP="org.eclipse.elk.force.model",Lie="org.eclipse.elk.force.iterations",$ie="org.eclipse.elk.force.repulsivePower",QB="org.eclipse.elk.force.temperature",Ml=.001,JB="org.eclipse.elk.force.repulsion",ny="org.eclipse.elk.alg.force.options",$3=1.600000023841858,_s="org.eclipse.elk.force",_k="org.eclipse.elk.priority",Ow="org.eclipse.elk.spacing.nodeNode",ZB="org.eclipse.elk.spacing.edgeLabel",NP="org.eclipse.elk.randomSeed",ty="org.eclipse.elk.separateConnectedComponents",Bk="org.eclipse.elk.interactive",eR="org.eclipse.elk.portConstraints",_P="org.eclipse.elk.edgeLabels.inline",iy="org.eclipse.elk.omitNodeMicroLayout",em="org.eclipse.elk.nodeSize.options",hp="org.eclipse.elk.nodeSize.constraints",F3="org.eclipse.elk.nodeLabels.placement",N3="org.eclipse.elk.portLabels.placement",Fie="origin",AGe="random",xGe="boundingBox.upLeft",OGe="boundingBox.lowRight",Nie="org.eclipse.elk.stress.fixed",_ie="org.eclipse.elk.stress.desiredEdgeLength",Bie="org.eclipse.elk.stress.dimension",Rie="org.eclipse.elk.stress.epsilon",Kie="org.eclipse.elk.stress.iterationLimit",f1="org.eclipse.elk.stress",IGe="ELK Stress",nm="org.eclipse.elk.nodeSize.minimum",BP="org.eclipse.elk.alg.force.stress",DGe="Layered layout",tm="org.eclipse.elk.alg.layered",Rk="org.eclipse.elk.alg.layered.compaction.components",ry="org.eclipse.elk.alg.layered.compaction.oned",RP="org.eclipse.elk.alg.layered.compaction.oned.algs",Td="org.eclipse.elk.alg.layered.compaction.recthull",Pl="org.eclipse.elk.alg.layered.components",$a="NONE",Nc={3:1,6:1,4:1,9:1,5:1,122:1},LGe={3:1,6:1,4:1,5:1,141:1,106:1,120:1},KP="org.eclipse.elk.alg.layered.compound",ni={51:1},su="org.eclipse.elk.alg.layered.graph",nR=" -> ",$Ge="Not supported by LGraph",qie="Port side is undefined",tR={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},hh={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},FGe={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},NGe=`([{"' \r +`,_Ge=`)]}"' \r +`,BGe="The given string contains parts that cannot be parsed as numbers.",Kk="org.eclipse.elk.core.math",RGe={3:1,4:1,142:1,207:1,414:1},KGe={3:1,4:1,116:1,207:1,414:1},bn="org.eclipse.elk.layered",dh="org.eclipse.elk.alg.layered.graph.transform",qGe="ElkGraphImporter",HGe="ElkGraphImporter/lambda$0$Type",VGe="ElkGraphImporter/lambda$1$Type",GGe="ElkGraphImporter/lambda$2$Type",zGe="ElkGraphImporter/lambda$4$Type",WGe="Node margin calculation",fn="org.eclipse.elk.alg.layered.intermediate",UGe="ONE_SIDED_GREEDY_SWITCH",XGe="TWO_SIDED_GREEDY_SWITCH",iR="No implementation is available for the layout processor ",Hie="IntermediateProcessorStrategy",rR="Node '",YGe="FIRST_SEPARATE",QGe="LAST_SEPARATE",JGe="Odd port side processing",wi="org.eclipse.elk.alg.layered.intermediate.compaction",cy="org.eclipse.elk.alg.layered.intermediate.greedyswitch",ia="org.eclipse.elk.alg.layered.p3order.counting",qk={225:1},im="org.eclipse.elk.alg.layered.intermediate.loops",Bs="org.eclipse.elk.alg.layered.intermediate.loops.ordering",l1="org.eclipse.elk.alg.layered.intermediate.loops.routing",uy="org.eclipse.elk.alg.layered.intermediate.preserveorder",Al="org.eclipse.elk.alg.layered.intermediate.wrapping",_c="org.eclipse.elk.alg.layered.options",cR="INTERACTIVE",ZGe="DEPTH_FIRST",eze="EDGE_LENGTH",nze="SELF_LOOPS",tze="firstTryWithInitialOrder",Vie="org.eclipse.elk.layered.directionCongruency",Gie="org.eclipse.elk.layered.feedbackEdges",qP="org.eclipse.elk.layered.interactiveReferencePoint",zie="org.eclipse.elk.layered.mergeEdges",Wie="org.eclipse.elk.layered.mergeHierarchyEdges",Uie="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Xie="org.eclipse.elk.layered.portSortingStrategy",Yie="org.eclipse.elk.layered.thoroughness",Qie="org.eclipse.elk.layered.unnecessaryBendpoints",Jie="org.eclipse.elk.layered.generatePositionAndLayerIds",uR="org.eclipse.elk.layered.cycleBreaking.strategy",Hk="org.eclipse.elk.layered.layering.strategy",Zie="org.eclipse.elk.layered.layering.layerConstraint",ere="org.eclipse.elk.layered.layering.layerChoiceConstraint",nre="org.eclipse.elk.layered.layering.layerId",sR="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",oR="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",fR="org.eclipse.elk.layered.layering.nodePromotion.strategy",lR="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",aR="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",sy="org.eclipse.elk.layered.crossingMinimization.strategy",tre="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",hR="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",dR="org.eclipse.elk.layered.crossingMinimization.semiInteractive",ire="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",rre="org.eclipse.elk.layered.crossingMinimization.positionId",cre="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",bR="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",HP="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",dp="org.eclipse.elk.layered.nodePlacement.strategy",VP="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",wR="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",gR="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",pR="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",mR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",vR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",ure="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",sre="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",GP="org.eclipse.elk.layered.edgeRouting.splines.mode",zP="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",yR="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",ore="org.eclipse.elk.layered.spacing.baseValue",fre="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",lre="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",are="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",hre="org.eclipse.elk.layered.priority.direction",dre="org.eclipse.elk.layered.priority.shortness",bre="org.eclipse.elk.layered.priority.straightness",kR="org.eclipse.elk.layered.compaction.connectedComponents",wre="org.eclipse.elk.layered.compaction.postCompaction.strategy",gre="org.eclipse.elk.layered.compaction.postCompaction.constraints",WP="org.eclipse.elk.layered.highDegreeNodes.treatment",jR="org.eclipse.elk.layered.highDegreeNodes.threshold",ER="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Fa="org.eclipse.elk.layered.wrapping.strategy",UP="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",XP="org.eclipse.elk.layered.wrapping.correctionFactor",oy="org.eclipse.elk.layered.wrapping.cutting.strategy",TR="org.eclipse.elk.layered.wrapping.cutting.cuts",CR="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",YP="org.eclipse.elk.layered.wrapping.validify.strategy",QP="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",JP="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",ZP="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",SR="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",pre="org.eclipse.elk.layered.edgeLabels.sideSelection",mre="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",eA="org.eclipse.elk.layered.considerModelOrder.strategy",vre="org.eclipse.elk.layered.considerModelOrder.noModelOrder",MR="org.eclipse.elk.layered.considerModelOrder.components",yre="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",PR="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",AR="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",xR="layering",ize="layering.minWidth",rze="layering.nodePromotion",Vk="crossingMinimization",nA="org.eclipse.elk.hierarchyHandling",cze="crossingMinimization.greedySwitch",uze="nodePlacement",sze="nodePlacement.bk",oze="edgeRouting",Gk="org.eclipse.elk.edgeRouting",Jf="spacing",kre="priority",jre="compaction",fze="compaction.postCompaction",lze="Specifies whether and how post-process compaction is applied.",Ere="highDegreeNodes",Tre="wrapping",aze="wrapping.cutting",hze="wrapping.validify",Cre="wrapping.multiEdge",OR="edgeLabels",zk="considerModelOrder",Sre="org.eclipse.elk.spacing.commentComment",Mre="org.eclipse.elk.spacing.commentNode",Pre="org.eclipse.elk.spacing.edgeEdge",Are="org.eclipse.elk.spacing.edgeNode",xre="org.eclipse.elk.spacing.labelLabel",Ore="org.eclipse.elk.spacing.labelPortHorizontal",Ire="org.eclipse.elk.spacing.labelPortVertical",Dre="org.eclipse.elk.spacing.labelNode",Lre="org.eclipse.elk.spacing.nodeSelfLoop",$re="org.eclipse.elk.spacing.portPort",Fre="org.eclipse.elk.spacing.individual",Nre="org.eclipse.elk.port.borderOffset",_re="org.eclipse.elk.noLayout",Bre="org.eclipse.elk.port.side",Wk="org.eclipse.elk.debugMode",Rre="org.eclipse.elk.alignment",Kre="org.eclipse.elk.insideSelfLoops.activate",qre="org.eclipse.elk.insideSelfLoops.yo",IR="org.eclipse.elk.nodeSize.fixedGraphSize",Hre="org.eclipse.elk.direction",Vre="org.eclipse.elk.nodeLabels.padding",Gre="org.eclipse.elk.portLabels.nextToPortIfPossible",zre="org.eclipse.elk.portLabels.treatAsGroup",Wre="org.eclipse.elk.portAlignment.default",Ure="org.eclipse.elk.portAlignment.north",Xre="org.eclipse.elk.portAlignment.south",Yre="org.eclipse.elk.portAlignment.west",Qre="org.eclipse.elk.portAlignment.east",tA="org.eclipse.elk.contentAlignment",Jre="org.eclipse.elk.junctionPoints",Zre="org.eclipse.elk.edgeLabels.placement",ece="org.eclipse.elk.port.index",nce="org.eclipse.elk.commentBox",tce="org.eclipse.elk.hypernode",ice="org.eclipse.elk.port.anchor",DR="org.eclipse.elk.partitioning.activate",LR="org.eclipse.elk.partitioning.partition",iA="org.eclipse.elk.position",rce="org.eclipse.elk.margins",cce="org.eclipse.elk.spacing.portsSurrounding",$R="org.eclipse.elk.interactiveLayout",Bc="org.eclipse.elk.core.util",uce={3:1,4:1,5:1,593:1},dze="NETWORK_SIMPLEX",Qc={123:1,51:1},rA="org.eclipse.elk.alg.layered.p1cycles",Iw="org.eclipse.elk.alg.layered.p2layers",sce={402:1,225:1},bze={832:1,3:1,4:1},Gu="org.eclipse.elk.alg.layered.p3order",Dr="org.eclipse.elk.alg.layered.p4nodes",wze={3:1,4:1,5:1,840:1},xl=1e-5,a1="org.eclipse.elk.alg.layered.p4nodes.bk",FR="org.eclipse.elk.alg.layered.p5edges",Pf="org.eclipse.elk.alg.layered.p5edges.orthogonal",NR="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",_R=1e-6,Dw="org.eclipse.elk.alg.layered.p5edges.splines",BR=.09999999999999998,cA=1e-8,gze=4.71238898038469,pze=3.141592653589793,fy="org.eclipse.elk.alg.mrtree",ly="org.eclipse.elk.alg.mrtree.graph",rm="org.eclipse.elk.alg.mrtree.intermediate",mze="Set neighbors in level",vze="DESCENDANTS",oce="org.eclipse.elk.mrtree.weighting",fce="org.eclipse.elk.mrtree.searchOrder",uA="org.eclipse.elk.alg.mrtree.options",bh="org.eclipse.elk.mrtree",yze="org.eclipse.elk.tree",lce="org.eclipse.elk.alg.radial",bp=6.283185307179586,ace=5e-324,kze="org.eclipse.elk.alg.radial.intermediate",RR="org.eclipse.elk.alg.radial.intermediate.compaction",jze={3:1,4:1,5:1,106:1},hce="org.eclipse.elk.alg.radial.intermediate.optimization",KR="No implementation is available for the layout option ",ay="org.eclipse.elk.alg.radial.options",dce="org.eclipse.elk.radial.orderId",bce="org.eclipse.elk.radial.radius",qR="org.eclipse.elk.radial.compactor",HR="org.eclipse.elk.radial.compactionStepSize",wce="org.eclipse.elk.radial.sorter",gce="org.eclipse.elk.radial.wedgeCriteria",pce="org.eclipse.elk.radial.optimizationCriteria",Ol="org.eclipse.elk.radial",Eze="org.eclipse.elk.alg.radial.p1position.wedge",mce="org.eclipse.elk.alg.radial.sorting",Tze=5.497787143782138,Cze=3.9269908169872414,Sze=2.356194490192345,Mze="org.eclipse.elk.alg.rectpacking",sA="org.eclipse.elk.alg.rectpacking.firstiteration",VR="org.eclipse.elk.alg.rectpacking.options",vce="org.eclipse.elk.rectpacking.optimizationGoal",yce="org.eclipse.elk.rectpacking.lastPlaceShift",kce="org.eclipse.elk.rectpacking.currentPosition",jce="org.eclipse.elk.rectpacking.desiredPosition",Ece="org.eclipse.elk.rectpacking.onlyFirstIteration",Tce="org.eclipse.elk.rectpacking.rowCompaction",GR="org.eclipse.elk.rectpacking.expandToAspectRatio",Cce="org.eclipse.elk.rectpacking.targetWidth",oA="org.eclipse.elk.expandNodes",Co="org.eclipse.elk.rectpacking",Uk="org.eclipse.elk.alg.rectpacking.util",fA="No implementation available for ",Lw="org.eclipse.elk.alg.spore",$w="org.eclipse.elk.alg.spore.options",Z0="org.eclipse.elk.sporeCompaction",zR="org.eclipse.elk.underlyingLayoutAlgorithm",Sce="org.eclipse.elk.processingOrder.treeConstruction",Mce="org.eclipse.elk.processingOrder.spanningTreeCostFunction",WR="org.eclipse.elk.processingOrder.preferredRoot",UR="org.eclipse.elk.processingOrder.rootSelection",XR="org.eclipse.elk.structure.structureExtractionStrategy",Pce="org.eclipse.elk.compaction.compactionStrategy",Ace="org.eclipse.elk.compaction.orthogonal",xce="org.eclipse.elk.overlapRemoval.maxIterations",Oce="org.eclipse.elk.overlapRemoval.runScanline",YR="processingOrder",Pze="overlapRemoval",_3="org.eclipse.elk.sporeOverlap",Aze="org.eclipse.elk.alg.spore.p1structure",QR="org.eclipse.elk.alg.spore.p2processingorder",JR="org.eclipse.elk.alg.spore.p3execution",xze="Invalid index: ",B3="org.eclipse.elk.core.alg",wp={331:1},Fw={288:1},Oze="Make sure its type is registered with the ",Ice=" utility class.",R3="true",ZR="false",Ize="Couldn't clone property '",eb=.05,So="org.eclipse.elk.core.options",Dze=1.2999999523162842,nb="org.eclipse.elk.box",Dce="org.eclipse.elk.box.packingMode",Lze="org.eclipse.elk.algorithm",$ze="org.eclipse.elk.resolvedAlgorithm",Lce="org.eclipse.elk.bendPoints",iDn="org.eclipse.elk.labelManager",Fze="org.eclipse.elk.scaleFactor",Nze="org.eclipse.elk.animate",_ze="org.eclipse.elk.animTimeFactor",Bze="org.eclipse.elk.layoutAncestors",Rze="org.eclipse.elk.maxAnimTime",Kze="org.eclipse.elk.minAnimTime",qze="org.eclipse.elk.progressBar",Hze="org.eclipse.elk.validateGraph",Vze="org.eclipse.elk.validateOptions",Gze="org.eclipse.elk.zoomToFit",rDn="org.eclipse.elk.font.name",zze="org.eclipse.elk.font.size",Wze="org.eclipse.elk.edge.type",Uze="partitioning",Xze="nodeLabels",lA="portAlignment",eK="nodeSize",nK="port",$ce="portLabels",Yze="insideSelfLoops",hy="org.eclipse.elk.fixed",aA="org.eclipse.elk.random",Qze="port must have a parent node to calculate the port side",Jze="The edge needs to have exactly one edge section. Found: ",dy="org.eclipse.elk.core.util.adapters",uo="org.eclipse.emf.ecore",gp="org.eclipse.elk.graph",Zze="EMapPropertyHolder",eWe="ElkBendPoint",nWe="ElkGraphElement",tWe="ElkConnectableShape",Fce="ElkEdge",iWe="ElkEdgeSection",rWe="EModelElement",cWe="ENamedElement",Nce="ElkLabel",_ce="ElkNode",Bce="ElkPort",uWe={92:1,90:1},cm="org.eclipse.emf.common.notify.impl",h1="The feature '",by="' is not a valid changeable feature",sWe="Expecting null",tK="' is not a valid feature",oWe="The feature ID",fWe=" is not a valid feature ID",Ic=32768,lWe={105:1,92:1,90:1,56:1,49:1,97:1},Ze="org.eclipse.emf.ecore.impl",Cd="org.eclipse.elk.graph.impl",wy="Recursive containment not allowed for ",K3="The datatype '",tb="' is not a valid classifier",iK="The value '",pp={190:1,3:1,4:1},rK="The class '",q3="http://www.eclipse.org/elk/ElkGraph",rf=1024,Rce="property",gy="value",cK="source",aWe="properties",hWe="identifier",uK="height",sK="width",oK="parent",fK="text",lK="children",dWe="hierarchical",Kce="sources",aK="targets",qce="sections",hA="bendPoints",Hce="outgoingShape",Vce="incomingShape",Gce="outgoingSections",zce="incomingSections",hr="org.eclipse.emf.common.util",Wce="Severe implementation error in the Json to ElkGraph importer.",Il="id",nr="org.eclipse.elk.graph.json",Uce="Unhandled parameter types: ",bWe="startPoint",wWe="An edge must have at least one source and one target (edge id: '",H3="').",gWe="Referenced edge section does not exist: ",pWe=" (edge id: '",Xce="target",mWe="sourcePoint",vWe="targetPoint",dA="group",ht="name",yWe="connectableShape cannot be null",kWe="edge cannot be null",hK="Passed edge is not 'simple'.",bA="org.eclipse.elk.graph.util",Xk="The 'no duplicates' constraint is violated",dK="targetIndex=",Sd=", size=",bK="sourceIndex=",Dl={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},wK={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},wA="logging",jWe="measureExecutionTime",EWe="parser.parse.1",TWe="parser.parse.2",gA="parser.next.1",gK="parser.next.2",CWe="parser.next.3",SWe="parser.next.4",Md="parser.factor.1",Yce="parser.factor.2",MWe="parser.factor.3",PWe="parser.factor.4",AWe="parser.factor.5",xWe="parser.factor.6",OWe="parser.atom.1",IWe="parser.atom.2",DWe="parser.atom.3",Qce="parser.atom.4",pK="parser.atom.5",Jce="parser.cc.1",pA="parser.cc.2",LWe="parser.cc.3",$We="parser.cc.5",Zce="parser.cc.6",eue="parser.cc.7",mK="parser.cc.8",FWe="parser.ope.1",NWe="parser.ope.2",_We="parser.ope.3",wh="parser.descape.1",BWe="parser.descape.2",RWe="parser.descape.3",KWe="parser.descape.4",qWe="parser.descape.5",so="parser.process.1",HWe="parser.quantifier.1",VWe="parser.quantifier.2",GWe="parser.quantifier.3",zWe="parser.quantifier.4",nue="parser.quantifier.5",WWe="org.eclipse.emf.common.notify",tue={415:1,672:1},UWe={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},Yk={366:1,143:1},py="index=",vK={3:1,4:1,5:1,126:1},XWe={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},iue={3:1,6:1,4:1,5:1,192:1},YWe={3:1,4:1,5:1,165:1,367:1},QWe=";/?:@&=+$,",JWe="invalid authority: ",ZWe="EAnnotation",eUe="ETypedElement",nUe="EStructuralFeature",tUe="EAttribute",iUe="EClassifier",rUe="EEnumLiteral",cUe="EGenericType",uUe="EOperation",sUe="EParameter",oUe="EReference",fUe="ETypeParameter",_t="org.eclipse.emf.ecore.util",yK={76:1},rue={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},lUe="org.eclipse.emf.ecore.util.FeatureMap$Entry",zu=8192,Nw=2048,my="byte",mA="char",vy="double",yy="float",ky="int",jy="long",Ey="short",aUe="java.lang.Object",mp={3:1,4:1,5:1,247:1},cue={3:1,4:1,5:1,673:1},hUe={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},sc={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},Qk="mixed",et="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Mo="kind",dUe={3:1,4:1,5:1,674:1},uue={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},vA={20:1,28:1,52:1,14:1,15:1,58:1,69:1},yA={47:1,125:1,279:1},kA={72:1,332:1},jA="The value of type '",EA="' must be of type '",vp=1316,Po="http://www.eclipse.org/emf/2002/Ecore",TA=-32768,ib="constraints",ur="baseType",bUe="getEStructuralFeature",wUe="getFeatureID",Ty="feature",gUe="getOperationID",sue="operation",pUe="defaultValue",mUe="eTypeParameters",vUe="isInstance",yUe="getEEnumLiteral",kUe="eContainingClass",ft={55:1},jUe={3:1,4:1,5:1,119:1},EUe="org.eclipse.emf.ecore.resource",TUe={92:1,90:1,591:1,1935:1},kK="org.eclipse.emf.ecore.resource.impl",oue="unspecified",Jk="simple",CA="attribute",CUe="attributeWildcard",SA="element",jK="elementWildcard",Af="collapse",EK="itemType",MA="namespace",Zk="##targetNamespace",Ao="whiteSpace",fue="wildcards",Pd="http://www.eclipse.org/emf/2003/XMLType",TK="##any",V3="uninitialized",ej="The multiplicity constraint is violated",PA="org.eclipse.emf.ecore.xml.type",SUe="ProcessingInstruction",MUe="SimpleAnyType",PUe="XMLTypeDocumentRoot",ai="org.eclipse.emf.ecore.xml.type.impl",nj="INF",AUe="processing",xUe="ENTITIES_._base",lue="minLength",aue="ENTITY",AA="NCName",OUe="IDREFS_._base",hue="integer",CK="token",SK="pattern",IUe="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",due="\\i\\c*",DUe="[\\i-[:]][\\c-[:]]*",LUe="nonPositiveInteger",tj="maxInclusive",bue="NMTOKEN",$Ue="NMTOKENS_._base",wue="nonNegativeInteger",ij="minInclusive",FUe="normalizedString",NUe="unsignedByte",_Ue="unsignedInt",BUe="18446744073709551615",RUe="unsignedShort",KUe="processingInstruction",gh="org.eclipse.emf.ecore.xml.type.internal",G3=1114111,qUe="Internal Error: shorthands: \\u",Cy="xml:isDigit",MK="xml:isWord",PK="xml:isSpace",AK="xml:isNameChar",xK="xml:isInitialNameChar",HUe="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",VUe="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",GUe="Private Use",OK="ASSIGNED",IK="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",gue="UNASSIGNED",z3={3:1,117:1},zUe="org.eclipse.emf.ecore.xml.type.util",xA={3:1,4:1,5:1,368:1},pue="org.eclipse.xtext.xbase.lib",WUe="Cannot add elements to a Range",UUe="Cannot set elements in a Range",XUe="Cannot remove elements from a Range",OA="locale",IA="default",DA="user.agent",s,LA,DK;k.goog=k.goog||{},k.goog.global=k.goog.global||k,xkn(),g(1,null,{},N),s.Fb=function(n){return VTe(this,n)},s.Gb=function(){return this.gm},s.Hb=function(){return a0(this)},s.Ib=function(){var n;return Lh(cs(this))+"@"+(n=Bt(this)>>>0,n.toString(16))},s.equals=function(e){return this.Fb(e)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()};var YUe,QUe,JUe;g(290,1,{290:1,2026:1},UJ),s.le=function(n){var t;return t=new UJ,t.i=4,n>1?t.c=sxe(this,n-1):t.c=this,t},s.me=function(){return ga(this),this.b},s.ne=function(){return Lh(this)},s.oe=function(){return ga(this),this.k},s.pe=function(){return(this.i&4)!=0},s.qe=function(){return(this.i&1)!=0},s.Ib=function(){return fJ(this)},s.i=0;var pn=p(wc,"Object",1),mue=p(wc,"Class",290);g(1998,1,Ck),p(Sk,"Optional",1998),g(1170,1998,Ck,B),s.Fb=function(n){return n===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(n){return Nn(n),J4(),LK};var LK;p(Sk,"Absent",1170),g(628,1,{},PD),p(Sk,"Joiner",628);var cDn=Vt(Sk,"Predicate");g(582,1,{169:1,582:1,3:1,45:1},V6e),s.Mb=function(n){return W$e(this,n)},s.Lb=function(n){return W$e(this,n)},s.Fb=function(n){var t;return _(n,582)?(t=u(n,582),Kne(this.a,t.a)):!1},s.Hb=function(){return ZJ(this.a)+306654252},s.Ib=function(){return gjn(this.a)},p(Sk,"Predicates/AndPredicate",582),g(408,1998,{408:1,3:1},UE),s.Fb=function(n){var t;return _(n,408)?(t=u(n,408),kt(this.a,t.a)):!1},s.Hb=function(){return 1502476572+Bt(this.a)},s.Ib=function(){return DVe+this.a+")"},s.Jb=function(n){return new UE(QC(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},p(Sk,"Present",408),g(198,1,C3),s.Nb=function(n){Ji(this,n)},s.Qb=function(){Lke()},p(Se,"UnmodifiableIterator",198),g(1978,198,S3),s.Qb=function(){Lke()},s.Rb=function(n){throw O(new Kn)},s.Wb=function(n){throw O(new Kn)},p(Se,"UnmodifiableListIterator",1978),g(386,1978,S3),s.Ob=function(){return this.c0},s.Pb=function(){if(this.c>=this.d)throw O(new Ac);return this.Xb(this.c++)},s.Tb=function(){return this.c},s.Ub=function(){if(this.c<=0)throw O(new Ac);return this.Xb(--this.c)},s.Vb=function(){return this.c-1},s.c=0,s.d=0,p(Se,"AbstractIndexedListIterator",386),g(699,198,C3),s.Ob=function(){return CF(this)},s.Pb=function(){return iJ(this)},s.e=1,p(Se,"AbstractIterator",699),g(1986,1,{224:1}),s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.Fb=function(n){return HF(this,n)},s.Hb=function(){return Bt(this.Zb())},s.dc=function(){return this.gc()==0},s.ec=function(){return m2(this)},s.Ib=function(){return uc(this.Zb())},p(Se,"AbstractMultimap",1986),g(726,1986,vd),s.$b=function(){GS(this)},s._b=function(n){return Zke(this,n)},s.ac=function(){return new ev(this,this.c)},s.ic=function(n){return this.hc()},s.bc=function(){return new xg(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new pke(this)},s.lc=function(){return YN(this.c.vc().Nc(),new G,64,this.d)},s.cc=function(n){return Ct(this,n)},s.fc=function(n){return B7(this,n)},s.gc=function(){return this.d},s.mc=function(n){return He(),new qm(n)},s.nc=function(){return new gke(this)},s.oc=function(){return YN(this.c.Cc().Nc(),new H,64,this.d)},s.pc=function(n,t){return new CS(this,n,t,null)},s.d=0,p(Se,"AbstractMapBasedMultimap",726),g(1631,726,vd),s.hc=function(){return new iu(this.a)},s.jc=function(){return He(),He(),Sr},s.cc=function(n){return u(Ct(this,n),15)},s.fc=function(n){return u(B7(this,n),15)},s.Zb=function(){return E2(this)},s.Fb=function(n){return HF(this,n)},s.qc=function(n){return u(Ct(this,n),15)},s.rc=function(n){return u(B7(this,n),15)},s.mc=function(n){return J8(u(n,15))},s.pc=function(n,t){return hOe(this,n,u(t,15),null)},p(Se,"AbstractListMultimap",1631),g(732,1,qi),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var n;return this.e.Ob()||(n=u(this.c.Pb(),42),this.b=n.cd(),this.a=u(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},p(Se,"AbstractMapBasedMultimap/Itr",732),g(1099,732,qi,gke),s.sc=function(n,t){return t},p(Se,"AbstractMapBasedMultimap/1",1099),g(1100,1,{},H),s.Kb=function(n){return u(n,14).Nc()},p(Se,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),g(1101,732,qi,pke),s.sc=function(n,t){return new u0(n,t)},p(Se,"AbstractMapBasedMultimap/2",1101);var vue=Vt(An,"Map");g(1967,1,Y0),s.wc=function(n){d6(this,n)},s.yc=function(n,t,i){return uN(this,n,t,i)},s.$b=function(){this.vc().$b()},s.tc=function(n){return DN(this,n)},s._b=function(n){return!!Vee(this,n,!1)},s.uc=function(n){var t,i,r;for(i=this.vc().Kc();i.Ob();)if(t=u(i.Pb(),42),r=t.dd(),X(n)===X(r)||n!=null&&kt(n,r))return!0;return!1},s.Fb=function(n){var t,i,r;if(n===this)return!0;if(!_(n,83)||(r=u(n,83),this.gc()!=r.gc()))return!1;for(i=r.vc().Kc();i.Ob();)if(t=u(i.Pb(),42),!this.tc(t))return!1;return!0},s.xc=function(n){return yc(Vee(this,n,!1))},s.Hb=function(){return HJ(this.vc())},s.dc=function(){return this.gc()==0},s.ec=function(){return new Km(this)},s.zc=function(n,t){throw O(new Ga("Put not supported on this map"))},s.Ac=function(n){h6(this,n)},s.Bc=function(n){return yc(Vee(this,n,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return X_e(this)},s.Cc=function(){return new da(this)},p(An,"AbstractMap",1967),g(1987,1967,Y0),s.bc=function(){return new mT(this)},s.vc=function(){return aPe(this)},s.ec=function(){var n;return n=this.g,n||(this.g=this.bc())},s.Cc=function(){var n;return n=this.i,n||(this.i=new Gje(this))},p(Se,"Maps/ViewCachingAbstractMap",1987),g(389,1987,Y0,ev),s.xc=function(n){return Jvn(this,n)},s.Bc=function(n){return b5n(this,n)},s.$b=function(){this.d==this.e.c?this.e.$b():MC(new aY(this))},s._b=function(n){return SFe(this.d,n)},s.Ec=function(){return new U6e(this)},s.Dc=function(){return this.Ec()},s.Fb=function(n){return this===n||kt(this.d,n)},s.Hb=function(){return Bt(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return uc(this.d)},p(Se,"AbstractMapBasedMultimap/AsMap",389);var Zf=Vt(wc,"Iterable");g(28,1,Mw),s.Jc=function(n){er(this,n)},s.Lc=function(){return this.Oc()},s.Nc=function(){return new Ye(this,0)},s.Oc=function(){return new Ue(null,this.Nc())},s.Fc=function(n){throw O(new Ga("Add not supported on this collection"))},s.Gc=function(n){return gr(this,n)},s.$b=function(){YY(this)},s.Hc=function(n){return hw(this,n,!1)},s.Ic=function(n){return x7(this,n)},s.dc=function(){return this.gc()==0},s.Mc=function(n){return hw(this,n,!0)},s.Pc=function(){return TY(this)},s.Qc=function(n){return X7(this,n)},s.Ib=function(){return i1(this)},p(An,"AbstractCollection",28);var xo=Vt(An,"Set");g(Yf,28,Vu),s.Nc=function(){return new Ye(this,1)},s.Fb=function(n){return vNe(this,n)},s.Hb=function(){return HJ(this)},p(An,"AbstractSet",Yf),g(1970,Yf,Vu),p(Se,"Sets/ImprovedAbstractSet",1970),g(1971,1970,Vu),s.$b=function(){this.Rc().$b()},s.Hc=function(n){return eNe(this,n)},s.dc=function(){return this.Rc().dc()},s.Mc=function(n){var t;return this.Hc(n)?(t=u(n,42),this.Rc().ec().Mc(t.cd())):!1},s.gc=function(){return this.Rc().gc()},p(Se,"Maps/EntrySet",1971),g(1097,1971,Vu,U6e),s.Hc=function(n){return mZ(this.a.d.vc(),n)},s.Kc=function(){return new aY(this.a)},s.Rc=function(){return this.a},s.Mc=function(n){var t;return mZ(this.a.d.vc(),n)?(t=u(n,42),_mn(this.a.e,t.cd()),!0):!1},s.Nc=function(){return V8(this.a.d.vc().Nc(),new X6e(this.a))},p(Se,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),g(1098,1,{},X6e),s.Kb=function(n){return nIe(this.a,u(n,42))},p(Se,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),g(730,1,qi,aY),s.Nb=function(n){Ji(this,n)},s.Pb=function(){var n;return n=u(this.b.Pb(),42),this.a=u(n.dd(),14),nIe(this.c,n)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){Bg(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},p(Se,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),g(532,1970,Vu,mT),s.$b=function(){this.b.$b()},s.Hc=function(n){return this.b._b(n)},s.Jc=function(n){Nn(n),this.b.wc(new hye(n))},s.dc=function(){return this.b.dc()},s.Kc=function(){return new Z4(this.b.vc().Kc())},s.Mc=function(n){return this.b._b(n)?(this.b.Bc(n),!0):!1},s.gc=function(){return this.b.gc()},p(Se,"Maps/KeySet",532),g(318,532,Vu,xg),s.$b=function(){var n;MC((n=this.b.vc().Kc(),new NW(this,n)))},s.Ic=function(n){return this.b.ec().Ic(n)},s.Fb=function(n){return this===n||kt(this.b.ec(),n)},s.Hb=function(){return Bt(this.b.ec())},s.Kc=function(){var n;return n=this.b.vc().Kc(),new NW(this,n)},s.Mc=function(n){var t,i;return i=0,t=u(this.b.Bc(n),14),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},s.Nc=function(){return this.b.ec().Nc()},p(Se,"AbstractMapBasedMultimap/KeySet",318),g(731,1,qi,NW),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),42),this.a.cd()},s.Qb=function(){var n;Bg(!!this.a),n=u(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},p(Se,"AbstractMapBasedMultimap/KeySet/1",731),g(491,389,{83:1,161:1},N8),s.bc=function(){return this.Sc()},s.ec=function(){return this.Tc()},s.Sc=function(){return new d8(this.c,this.Uc())},s.Tc=function(){var n;return n=this.b,n||(this.b=this.Sc())},s.Uc=function(){return u(this.d,161)},p(Se,"AbstractMapBasedMultimap/SortedAsMap",491),g(542,491,LVe,bC),s.bc=function(){return new Zm(this.a,u(u(this.d,161),171))},s.Sc=function(){return new Zm(this.a,u(u(this.d,161),171))},s.ec=function(){var n;return n=this.b,u(n||(this.b=new Zm(this.a,u(u(this.d,161),171))),271)},s.Tc=function(){var n;return n=this.b,u(n||(this.b=new Zm(this.a,u(u(this.d,161),171))),271)},s.Uc=function(){return u(u(this.d,161),171)},p(Se,"AbstractMapBasedMultimap/NavigableAsMap",542),g(490,318,$Ve,d8),s.Nc=function(){return this.b.ec().Nc()},p(Se,"AbstractMapBasedMultimap/SortedKeySet",490),g(388,490,tie,Zm),p(Se,"AbstractMapBasedMultimap/NavigableKeySet",388),g(541,28,Mw,CS),s.Fc=function(n){var t,i;return us(this),i=this.d.dc(),t=this.d.Fc(n),t&&(++this.f.d,i&&K8(this)),t},s.Gc=function(n){var t,i,r;return n.dc()?!1:(r=(us(this),this.d.gc()),t=this.d.Gc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&K8(this)),t)},s.$b=function(){var n;n=(us(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,IC(this))},s.Hc=function(n){return us(this),this.d.Hc(n)},s.Ic=function(n){return us(this),this.d.Ic(n)},s.Fb=function(n){return n===this?!0:(us(this),kt(this.d,n))},s.Hb=function(){return us(this),Bt(this.d)},s.Kc=function(){return us(this),new QX(this)},s.Mc=function(n){var t;return us(this),t=this.d.Mc(n),t&&(--this.f.d,IC(this)),t},s.gc=function(){return ATe(this)},s.Nc=function(){return us(this),this.d.Nc()},s.Ib=function(){return us(this),uc(this.d)},p(Se,"AbstractMapBasedMultimap/WrappedCollection",541);var oo=Vt(An,"List");g(728,541,{20:1,28:1,14:1,15:1},SY),s.ad=function(n){_g(this,n)},s.Nc=function(){return us(this),this.d.Nc()},s.Vc=function(n,t){var i;us(this),i=this.d.dc(),u(this.d,15).Vc(n,t),++this.a.d,i&&K8(this)},s.Wc=function(n,t){var i,r,c;return t.dc()?!1:(c=(us(this),this.d.gc()),i=u(this.d,15).Wc(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&K8(this)),i)},s.Xb=function(n){return us(this),u(this.d,15).Xb(n)},s.Xc=function(n){return us(this),u(this.d,15).Xc(n)},s.Yc=function(){return us(this),new oCe(this)},s.Zc=function(n){return us(this),new kAe(this,n)},s.$c=function(n){var t;return us(this),t=u(this.d,15).$c(n),--this.a.d,IC(this),t},s._c=function(n,t){return us(this),u(this.d,15)._c(n,t)},s.bd=function(n,t){return us(this),hOe(this.a,this.e,u(this.d,15).bd(n,t),this.b?this.b:this)},p(Se,"AbstractMapBasedMultimap/WrappedList",728),g(1096,728,{20:1,28:1,14:1,15:1,54:1},JCe),p(Se,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),g(620,1,qi,QX),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return kv(this),this.b.Ob()},s.Pb=function(){return kv(this),this.b.Pb()},s.Qb=function(){$Ce(this)},p(Se,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),g(729,620,Ql,oCe,kAe),s.Qb=function(){$Ce(this)},s.Rb=function(n){var t;t=ATe(this.a)==0,(kv(this),u(this.b,125)).Rb(n),++this.a.a.d,t&&K8(this.a)},s.Sb=function(){return(kv(this),u(this.b,125)).Sb()},s.Tb=function(){return(kv(this),u(this.b,125)).Tb()},s.Ub=function(){return(kv(this),u(this.b,125)).Ub()},s.Vb=function(){return(kv(this),u(this.b,125)).Vb()},s.Wb=function(n){(kv(this),u(this.b,125)).Wb(n)},p(Se,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),g(727,541,$Ve,mX),s.Nc=function(){return us(this),this.d.Nc()},p(Se,"AbstractMapBasedMultimap/WrappedSortedSet",727),g(1095,727,tie,eCe),p(Se,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),g(1094,541,Vu,hSe),s.Nc=function(){return us(this),this.d.Nc()},p(Se,"AbstractMapBasedMultimap/WrappedSet",1094),g(1103,1,{},G),s.Kb=function(n){return Vmn(u(n,42))},p(Se,"AbstractMapBasedMultimap/lambda$1$Type",1103),g(1102,1,{},Y6e),s.Kb=function(n){return new u0(this.a,n)},p(Se,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Ad=Vt(An,"Map/Entry");g(345,1,TP),s.Fb=function(n){var t;return _(n,42)?(t=u(n,42),vl(this.cd(),t.cd())&&vl(this.dd(),t.dd())):!1},s.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(n==null?0:Bt(n))^(t==null?0:Bt(t))},s.ed=function(n){throw O(new Kn)},s.Ib=function(){return this.cd()+"="+this.dd()},p(Se,FVe,345),g(1988,28,Mw),s.$b=function(){this.fd().$b()},s.Hc=function(n){var t;return _(n,42)?(t=u(n,42),T2n(this.fd(),t.cd(),t.dd())):!1},s.Mc=function(n){var t;return _(n,42)?(t=u(n,42),zxe(this.fd(),t.cd(),t.dd())):!1},s.gc=function(){return this.fd().d},p(Se,"Multimaps/Entries",1988),g(733,1988,Mw,dz),s.Kc=function(){return this.a.kc()},s.fd=function(){return this.a},s.Nc=function(){return this.a.lc()},p(Se,"AbstractMultimap/Entries",733),g(734,733,Vu,dW),s.Nc=function(){return this.a.lc()},s.Fb=function(n){return one(this,n)},s.Hb=function(){return WLe(this)},p(Se,"AbstractMultimap/EntrySet",734),g(735,28,Mw,bz),s.$b=function(){this.a.$b()},s.Hc=function(n){return o5n(this.a,n)},s.Kc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Nc=function(){return this.a.oc()},p(Se,"AbstractMultimap/Values",735),g(1989,28,{835:1,20:1,28:1,14:1}),s.Jc=function(n){Nn(n),Ig(this).Jc(new aye(n))},s.Nc=function(){var n;return n=Ig(this).Nc(),YN(n,new Tt,64|n.qd()&1296,this.a.d)},s.Fc=function(n){return jW(),!0},s.Gc=function(n){return Nn(this),Nn(n),_(n,543)?A2n(u(n,835)):!n.dc()&&gF(this,n.Kc())},s.Hc=function(n){var t;return t=u(aw(E2(this.a),n),14),(t?t.gc():0)>0},s.Fb=function(n){return jTn(this,n)},s.Hb=function(){return Bt(Ig(this))},s.dc=function(){return Ig(this).dc()},s.Mc=function(n){return hRe(this,n,1)>0},s.Ib=function(){return uc(Ig(this))},p(Se,"AbstractMultiset",1989),g(1991,1970,Vu),s.$b=function(){GS(this.a.a)},s.Hc=function(n){var t,i;return _(n,492)?(i=u(n,416),u(i.a.dd(),14).gc()<=0?!1:(t=jxe(this.a,i.a.cd()),t==u(i.a.dd(),14).gc())):!1},s.Mc=function(n){var t,i,r,c;return _(n,492)&&(i=u(n,416),t=i.a.cd(),r=u(i.a.dd(),14).gc(),r!=0)?(c=this.a,lEn(c,t,r)):!1},p(Se,"Multisets/EntrySet",1991),g(1109,1991,Vu,Q6e),s.Kc=function(){return new Cke(aPe(E2(this.a.a)).Kc())},s.gc=function(){return E2(this.a.a).gc()},p(Se,"AbstractMultiset/EntrySet",1109),g(619,726,vd),s.hc=function(){return this.gd()},s.jc=function(){return this.hd()},s.cc=function(n){return this.jd(n)},s.fc=function(n){return this.kd(n)},s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.hd=function(){return He(),He(),RA},s.Fb=function(n){return HF(this,n)},s.jd=function(n){return u(Ct(this,n),21)},s.kd=function(n){return u(B7(this,n),21)},s.mc=function(n){return He(),new Xm(u(n,21))},s.pc=function(n,t){return new hSe(this,n,u(t,21))},p(Se,"AbstractSetMultimap",619),g(1657,619,vd),s.hc=function(){return new $h(this.b)},s.gd=function(){return new $h(this.b)},s.jc=function(){return KY(new $h(this.b))},s.hd=function(){return KY(new $h(this.b))},s.cc=function(n){return u(u(Ct(this,n),21),84)},s.jd=function(n){return u(u(Ct(this,n),21),84)},s.fc=function(n){return u(u(B7(this,n),21),84)},s.kd=function(n){return u(u(B7(this,n),21),84)},s.mc=function(n){return _(n,271)?KY(u(n,271)):(He(),new QU(u(n,84)))},s.Zb=function(){var n;return n=this.f,n||(this.f=_(this.c,171)?new bC(this,u(this.c,171)):_(this.c,161)?new N8(this,u(this.c,161)):new ev(this,this.c))},s.pc=function(n,t){return _(t,271)?new eCe(this,n,u(t,271)):new mX(this,n,u(t,84))},p(Se,"AbstractSortedSetMultimap",1657),g(1658,1657,vd),s.Zb=function(){var n;return n=this.f,u(u(n||(this.f=_(this.c,171)?new bC(this,u(this.c,171)):_(this.c,161)?new N8(this,u(this.c,161)):new ev(this,this.c)),161),171)},s.ec=function(){var n;return n=this.i,u(u(n||(this.i=_(this.c,171)?new Zm(this,u(this.c,171)):_(this.c,161)?new d8(this,u(this.c,161)):new xg(this,this.c)),84),271)},s.bc=function(){return _(this.c,171)?new Zm(this,u(this.c,171)):_(this.c,161)?new d8(this,u(this.c,161)):new xg(this,this.c)},p(Se,"AbstractSortedKeySortedSetMultimap",1658),g(2010,1,{1947:1}),s.Fb=function(n){return Z8n(this,n)},s.Hb=function(){var n;return HJ((n=this.g,n||(this.g=new tD(this))))},s.Ib=function(){var n;return X_e((n=this.f,n||(this.f=new HU(this))))},p(Se,"AbstractTable",2010),g(665,Yf,Vu,tD),s.$b=function(){$ke()},s.Hc=function(n){var t,i;return _(n,468)?(t=u(n,682),i=u(aw(LPe(this.a),_h(t.c.e,t.b)),83),!!i&&mZ(i.vc(),new u0(_h(t.c.c,t.a),x2(t.c,t.b,t.a)))):!1},s.Kc=function(){return Ngn(this.a)},s.Mc=function(n){var t,i;return _(n,468)?(t=u(n,682),i=u(aw(LPe(this.a),_h(t.c.e,t.b)),83),!!i&&$5n(i.vc(),new u0(_h(t.c.c,t.a),x2(t.c,t.b,t.a)))):!1},s.gc=function(){return zMe(this.a)},s.Nc=function(){return I2n(this.a)},p(Se,"AbstractTable/CellSet",665),g(1928,28,Mw,J6e),s.$b=function(){$ke()},s.Hc=function(n){return V7n(this.a,n)},s.Kc=function(){return _gn(this.a)},s.gc=function(){return zMe(this.a)},s.Nc=function(){return Xxe(this.a)},p(Se,"AbstractTable/Values",1928),g(1632,1631,vd),p(Se,"ArrayListMultimapGwtSerializationDependencies",1632),g(513,1632,vd,MD,hQ),s.hc=function(){return new iu(this.a)},s.a=0,p(Se,"ArrayListMultimap",513),g(664,2010,{664:1,1947:1,3:1},jRe),p(Se,"ArrayTable",664),g(1924,386,S3,ACe),s.Xb=function(n){return new WJ(this.a,n)},p(Se,"ArrayTable/1",1924),g(1925,1,{},G6e),s.ld=function(n){return new WJ(this.a,n)},p(Se,"ArrayTable/1methodref$getCell$Type",1925),g(2011,1,{682:1}),s.Fb=function(n){var t;return n===this?!0:_(n,468)?(t=u(n,682),vl(_h(this.c.e,this.b),_h(t.c.e,t.b))&&vl(_h(this.c.c,this.a),_h(t.c.c,t.a))&&vl(x2(this.c,this.b,this.a),x2(t.c,t.b,t.a))):!1},s.Hb=function(){return aM(D(I(pn,1),pe,1,5,[_h(this.c.e,this.b),_h(this.c.c,this.a),x2(this.c,this.b,this.a)]))},s.Ib=function(){return"("+_h(this.c.e,this.b)+","+_h(this.c.c,this.a)+")="+x2(this.c,this.b,this.a)},p(Se,"Tables/AbstractCell",2011),g(468,2011,{468:1,682:1},WJ),s.a=0,s.b=0,s.d=0,p(Se,"ArrayTable/2",468),g(1927,1,{},z6e),s.ld=function(n){return uDe(this.a,n)},p(Se,"ArrayTable/2methodref$getValue$Type",1927),g(1926,386,S3,xCe),s.Xb=function(n){return uDe(this.a,n)},p(Se,"ArrayTable/3",1926),g(1979,1967,Y0),s.$b=function(){MC(this.kc())},s.vc=function(){return new dye(this)},s.lc=function(){return new oAe(this.kc(),this.gc())},p(Se,"Maps/IteratorBasedAbstractMap",1979),g(828,1979,Y0),s.$b=function(){throw O(new Kn)},s._b=function(n){return eje(this.c,n)},s.kc=function(){return new OCe(this,this.c.b.c.gc())},s.lc=function(){return zL(this.c.b.c.gc(),16,new W6e(this))},s.xc=function(n){var t;return t=u(B5(this.c,n),19),t?this.nd(t.a):null},s.dc=function(){return this.c.b.c.dc()},s.ec=function(){return e$(this.c)},s.zc=function(n,t){var i;if(i=u(B5(this.c,n),19),!i)throw O(new rn(this.md()+" "+n+" not in "+e$(this.c)));return this.od(i.a,t)},s.Bc=function(n){throw O(new Kn)},s.gc=function(){return this.c.b.c.gc()},p(Se,"ArrayTable/ArrayMap",828),g(1923,1,{},W6e),s.ld=function(n){return FPe(this.a,n)},p(Se,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),g(1921,345,TP,Lje),s.cd=function(){return Zhn(this.a,this.b)},s.dd=function(){return this.a.nd(this.b)},s.ed=function(n){return this.a.od(this.b,n)},s.b=0,p(Se,"ArrayTable/ArrayMap/1",1921),g(1922,386,S3,OCe),s.Xb=function(n){return FPe(this.a,n)},p(Se,"ArrayTable/ArrayMap/2",1922),g(1920,828,Y0,EPe),s.md=function(){return"Column"},s.nd=function(n){return x2(this.b,this.a,n)},s.od=function(n,t){return I$e(this.b,this.a,n,t)},s.a=0,p(Se,"ArrayTable/Row",1920),g(829,828,Y0,HU),s.nd=function(n){return new EPe(this.a,n)},s.zc=function(n,t){return u(t,83),Fln()},s.od=function(n,t){return u(t,83),Nln()},s.md=function(){return"Row"},p(Se,"ArrayTable/RowMap",829),g(1120,1,Eo,$je),s.qd=function(){return this.a.qd()&-262},s.rd=function(){return this.a.rd()},s.Nb=function(n){this.a.Nb(new xje(n,this.b))},s.sd=function(n){return this.a.sd(new Aje(n,this.b))},p(Se,"CollectSpliterators/1",1120),g(1121,1,wn,Aje),s.td=function(n){this.a.td(this.b.Kb(n))},p(Se,"CollectSpliterators/1/lambda$0$Type",1121),g(1122,1,wn,xje),s.td=function(n){this.a.td(this.b.Kb(n))},p(Se,"CollectSpliterators/1/lambda$1$Type",1122),g(1123,1,Eo,uOe),s.qd=function(){return this.a},s.rd=function(){return this.d&&(this.b=lCe(this.b,this.d.rd())),lCe(this.b,0)},s.Nb=function(n){this.d&&(this.d.Nb(n),this.d=null),this.c.Nb(new Pje(this.e,n)),this.b=0},s.sd=function(n){for(;;){if(this.d&&this.d.sd(n))return M5(this.b,CP)&&(this.b=n1(this.b,1)),!0;if(this.d=null,!this.c.sd(new Oje(this,this.e)))return!1}},s.a=0,s.b=0,p(Se,"CollectSpliterators/1FlatMapSpliterator",1123),g(1124,1,wn,Oje),s.td=function(n){tdn(this.a,this.b,n)},p(Se,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),g(1125,1,wn,Pje),s.td=function(n){Rhn(this.b,this.a,n)},p(Se,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),g(1117,1,Eo,qSe),s.qd=function(){return 16464|this.b},s.rd=function(){return this.a.rd()},s.Nb=function(n){this.a.xe(new Dje(n,this.c))},s.sd=function(n){return this.a.ye(new Ije(n,this.c))},s.b=0,p(Se,"CollectSpliterators/1WithCharacteristics",1117),g(1118,1,Mk,Ije),s.ud=function(n){this.a.td(this.b.ld(n))},p(Se,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),g(1119,1,Mk,Dje),s.ud=function(n){this.a.td(this.b.ld(n))},p(Se,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),g(245,1,nB),s.wd=function(n){return this.vd(u(n,245))},s.vd=function(n){var t;return n==(mD(),FK)?1:n==(vD(),$K)?-1:(t=(TC(),S7(this.a,n.a)),t!=0?t:_(this,519)==_(n,519)?0:_(this,519)?1:-1)},s.zd=function(){return this.a},s.Fb=function(n){return YZ(this,n)},p(Se,"Cut",245),g(1761,245,nB,_ke),s.vd=function(n){return n==this?0:1},s.xd=function(n){throw O(new Xz)},s.yd=function(n){n.a+="+∞)"},s.zd=function(){throw O(new tc(_Ve))},s.Hb=function(){return Rl(),cee(this)},s.Ad=function(n){return!1},s.Ib=function(){return"+∞"};var $K;p(Se,"Cut/AboveAll",1761),g(519,245,{245:1,519:1,3:1,35:1},FCe),s.xd=function(n){xc((n.a+="(",n),this.a)},s.yd=function(n){Vh(xc(n,this.a),93)},s.Hb=function(){return~Bt(this.a)},s.Ad=function(n){return TC(),S7(this.a,n)<0},s.Ib=function(){return"/"+this.a+"\\"},p(Se,"Cut/AboveValue",519),g(1760,245,nB,Bke),s.vd=function(n){return n==this?0:-1},s.xd=function(n){n.a+="(-∞"},s.yd=function(n){throw O(new Xz)},s.zd=function(){throw O(new tc(_Ve))},s.Hb=function(){return Rl(),cee(this)},s.Ad=function(n){return!0},s.Ib=function(){return"-∞"};var FK;p(Se,"Cut/BelowAll",1760),g(1762,245,nB,NCe),s.xd=function(n){xc((n.a+="[",n),this.a)},s.yd=function(n){Vh(xc(n,this.a),41)},s.Hb=function(){return Bt(this.a)},s.Ad=function(n){return TC(),S7(this.a,n)<=0},s.Ib=function(){return"\\"+this.a+"/"},p(Se,"Cut/BelowValue",1762),g(537,1,Jl),s.Jc=function(n){er(this,n)},s.Ib=function(){return a6n(u(QC(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},p(Se,"FluentIterable",537),g(433,537,Jl,x5),s.Kc=function(){return new En(Sn(this.a.Kc(),new J))},p(Se,"FluentIterable/2",433),g(1046,537,Jl,KTe),s.Kc=function(){return Hh(this)},p(Se,"FluentIterable/3",1046),g(708,386,S3,VU),s.Xb=function(n){return this.a[n].Kc()},p(Se,"FluentIterable/3/1",708),g(1972,1,{}),s.Ib=function(){return uc(this.Bd().b)},p(Se,"ForwardingObject",1972),g(1973,1972,BVe),s.Bd=function(){return this.Cd()},s.Jc=function(n){er(this,n)},s.Lc=function(){return this.Oc()},s.Nc=function(){return new Ye(this,0)},s.Oc=function(){return new Ue(null,this.Nc())},s.Fc=function(n){return this.Cd(),rje()},s.Gc=function(n){return this.Cd(),cje()},s.$b=function(){this.Cd(),uje()},s.Hc=function(n){return this.Cd().Hc(n)},s.Ic=function(n){return this.Cd().Ic(n)},s.dc=function(){return this.Cd().b.dc()},s.Kc=function(){return this.Cd().Kc()},s.Mc=function(n){return this.Cd(),sje()},s.gc=function(){return this.Cd().b.gc()},s.Pc=function(){return this.Cd().Pc()},s.Qc=function(n){return this.Cd().Qc(n)},p(Se,"ForwardingCollection",1973),g(1980,28,iie),s.Kc=function(){return this.Ed()},s.Fc=function(n){throw O(new Kn)},s.Gc=function(n){throw O(new Kn)},s.$b=function(){throw O(new Kn)},s.Hc=function(n){return n!=null&&hw(this,n,!1)},s.Dd=function(){switch(this.gc()){case 0:return Zb(),Zb(),NK;case 1:return Zb(),new WL(Nn(this.Ed().Pb()));default:return new TPe(this,this.Pc())}},s.Mc=function(n){throw O(new Kn)},p(Se,"ImmutableCollection",1980),g(712,1980,iie,Wz),s.Kc=function(){return O2(this.a.Kc())},s.Hc=function(n){return n!=null&&this.a.Hc(n)},s.Ic=function(n){return this.a.Ic(n)},s.dc=function(){return this.a.dc()},s.Ed=function(){return O2(this.a.Kc())},s.gc=function(){return this.a.gc()},s.Pc=function(){return this.a.Pc()},s.Qc=function(n){return this.a.Qc(n)},s.Ib=function(){return uc(this.a)},p(Se,"ForwardingImmutableCollection",712),g(152,1980,U6),s.Kc=function(){return this.Ed()},s.Yc=function(){return this.Fd(0)},s.Zc=function(n){return this.Fd(n)},s.ad=function(n){_g(this,n)},s.Nc=function(){return new Ye(this,16)},s.bd=function(n,t){return this.Gd(n,t)},s.Vc=function(n,t){throw O(new Kn)},s.Wc=function(n,t){throw O(new Kn)},s.Fb=function(n){return uTn(this,n)},s.Hb=function(){return p4n(this)},s.Xc=function(n){return n==null?-1:x9n(this,n)},s.Ed=function(){return this.Fd(0)},s.Fd=function(n){return cX(this,n)},s.$c=function(n){throw O(new Kn)},s._c=function(n,t){throw O(new Kn)},s.Gd=function(n,t){var i;return bM((i=new zje(this),new zl(i,n,t)))};var NK;p(Se,"ImmutableList",152),g(2006,152,U6),s.Kc=function(){return O2(this.Hd().Kc())},s.bd=function(n,t){return bM(this.Hd().bd(n,t))},s.Hc=function(n){return n!=null&&this.Hd().Hc(n)},s.Ic=function(n){return this.Hd().Ic(n)},s.Fb=function(n){return kt(this.Hd(),n)},s.Xb=function(n){return _h(this,n)},s.Hb=function(){return Bt(this.Hd())},s.Xc=function(n){return this.Hd().Xc(n)},s.dc=function(){return this.Hd().dc()},s.Ed=function(){return O2(this.Hd().Kc())},s.gc=function(){return this.Hd().gc()},s.Gd=function(n,t){return bM(this.Hd().bd(n,t))},s.Pc=function(){return this.Hd().Qc(V(pn,pe,1,this.Hd().gc(),5,1))},s.Qc=function(n){return this.Hd().Qc(n)},s.Ib=function(){return uc(this.Hd())},p(Se,"ForwardingImmutableList",2006),g(714,1,M3),s.vc=function(){return w0(this)},s.wc=function(n){d6(this,n)},s.ec=function(){return e$(this)},s.yc=function(n,t,i){return uN(this,n,t,i)},s.Cc=function(){return this.Ld()},s.$b=function(){throw O(new Kn)},s._b=function(n){return this.xc(n)!=null},s.uc=function(n){return this.Ld().Hc(n)},s.Jd=function(){return new A7e(this)},s.Kd=function(){return new x7e(this)},s.Fb=function(n){return f5n(this,n)},s.Hb=function(){return w0(this).Hb()},s.dc=function(){return this.gc()==0},s.zc=function(n,t){return _ln()},s.Bc=function(n){throw O(new Kn)},s.Ib=function(){return Kkn(this)},s.Ld=function(){return this.e?this.e:this.e=this.Kd()},s.c=null,s.d=null,s.e=null;var ZUe;p(Se,"ImmutableMap",714),g(715,714,M3),s._b=function(n){return eje(this,n)},s.uc=function(n){return Yje(this.b,n)},s.Id=function(){return CFe(new Z6e(this))},s.Jd=function(){return CFe(rAe(this.b))},s.Kd=function(){return ml(),new Wz(iAe(this.b))},s.Fb=function(n){return Qje(this.b,n)},s.xc=function(n){return B5(this,n)},s.Hb=function(){return Bt(this.b.c)},s.dc=function(){return this.b.c.dc()},s.gc=function(){return this.b.c.gc()},s.Ib=function(){return uc(this.b.c)},p(Se,"ForwardingImmutableMap",715),g(1974,1973,tB),s.Bd=function(){return this.Md()},s.Cd=function(){return this.Md()},s.Nc=function(){return new Ye(this,1)},s.Fb=function(n){return n===this||this.Md().Fb(n)},s.Hb=function(){return this.Md().Hb()},p(Se,"ForwardingSet",1974),g(1069,1974,tB,Z6e),s.Bd=function(){return vv(this.a.b)},s.Cd=function(){return vv(this.a.b)},s.Hc=function(n){if(_(n,42)&&u(n,42).cd()==null)return!1;try{return Xje(vv(this.a.b),n)}catch(t){if(t=Ht(t),_(t,205))return!1;throw O(t)}},s.Md=function(){return vv(this.a.b)},s.Qc=function(n){var t;return t=BAe(vv(this.a.b),n),vv(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=QT(k.Math.abs(i)%60),(cBe(),wXe)[this.q.getDay()]+" "+gXe[this.q.getMonth()]+" "+QT(this.q.getDate())+" "+QT(this.q.getHours())+":"+QT(this.q.getMinutes())+":"+QT(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var NA=p(An,"Date",199);g(1915,199,UVe,I_e),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,p("com.google.gwt.i18n.shared.impl","DateRecord",1915),g(1966,1,{}),s.fe=function(){return null},s.ge=function(){return null},s.he=function(){return null},s.ie=function(){return null},s.je=function(){return null},p(U2,"JSONValue",1966),g(216,1966,{216:1},K1,gz),s.Fb=function(n){return _(n,216)?wQ(this.a,u(n,216).a):!1},s.ee=function(){return uln},s.Hb=function(){return tQ(this.a)},s.fe=function(){return this},s.Ib=function(){var n,t,i;for(i=new Ms("["),t=0,n=this.a.length;t0&&(i.a+=","),xc(i,cw(this,t));return i.a+="]",i.a},p(U2,"JSONArray",216),g(483,1966,{483:1},pz),s.ee=function(){return sln},s.ge=function(){return this},s.Ib=function(){return un(),""+this.a},s.a=!1;var uXe,sXe;p(U2,"JSONBoolean",483),g(985,60,Da,Ske),p(U2,"JSONException",985),g(1023,1966,{},Rt),s.ee=function(){return hln},s.Ib=function(){return Ou};var oXe;p(U2,"JSONNull",1023),g(258,1966,{258:1},XE),s.Fb=function(n){return _(n,258)?this.a==u(n,258).a:!1},s.ee=function(){return oln},s.Hb=function(){return cv(this.a)},s.he=function(){return this},s.Ib=function(){return this.a+""},s.a=0,p(U2,"JSONNumber",258),g(183,1966,{183:1},t2,e8),s.Fb=function(n){return _(n,183)?wQ(this.a,u(n,183).a):!1},s.ee=function(){return fln},s.Hb=function(){return tQ(this.a)},s.ie=function(){return this},s.Ib=function(){var n,t,i,r,c,o,f;for(f=new Ms("{"),n=!0,o=AF(this,V(ge,ie,2,0,6,1)),i=o,r=0,c=i.length;r=0?":"+this.c:"")+")"},s.c=0;var Fue=p(wc,"StackTraceElement",310);JUe={3:1,475:1,35:1,2:1};var ge=p(wc,rie,2);g(107,418,{475:1},za,r5,po),p(wc,"StringBuffer",107),g(100,418,{475:1},Ih,_b,Ms),p(wc,"StringBuilder",100),g(687,73,CB,TW),p(wc,"StringIndexOutOfBoundsException",687),g(2043,1,{});var Nue;g(844,1,{},bg),s.Kb=function(n){return u(n,78).e},p(wc,"Throwable/lambda$0$Type",844),g(41,60,{3:1,102:1,60:1,78:1,41:1},Kn,Ga),p(wc,"UnsupportedOperationException",41),g(240,236,{3:1,35:1,236:1,240:1},k7,DW),s.wd=function(n){return Bqe(this,u(n,240))},s.ke=function(){return vw(kHe(this))},s.Fb=function(n){var t;return this===n?!0:_(n,240)?(t=u(n,240),this.e==t.e&&Bqe(this,t)==0):!1},s.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=Au(this.f),this.b=Fn(Ti(n,-1)),this.b=33*this.b+Fn(Ti(qh(n,32),-1)),this.b=17*this.b+oi(this.e),this.b):(this.b=17*vFe(this.c)+oi(this.e),this.b)},s.Ib=function(){return kHe(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var hXe,Od,_ue,Bue,Rue,Kue,que,Hue,GK=p("java.math","BigDecimal",240);g(91,236,{3:1,35:1,236:1,91:1},ree,eh,Og,Ree,jNe,Rh),s.wd=function(n){return pNe(this,u(n,91))},s.ke=function(){return vw(J_(this,0))},s.Fb=function(n){return NZ(this,n)},s.Hb=function(){return vFe(this)},s.Ib=function(){return J_(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var zK,_A,Vue,WK,BA,X3,yp=p("java.math","BigInteger",91),dXe,bXe,sm,Py;g(488,1967,Y0),s.$b=function(){Yu(this)},s._b=function(n){return ys(this,n)},s.uc=function(n){return iFe(this,n,this.g)||iFe(this,n,this.f)},s.vc=function(){return new H1(this)},s.xc=function(n){return yn(this,n)},s.zc=function(n,t){return jt(this,n,t)},s.Bc=function(n){return A2(this,n)},s.gc=function(){return s5(this)},p(An,"AbstractHashMap",488),g(261,Yf,Vu,H1),s.$b=function(){this.a.$b()},s.Hc=function(n){return nOe(this,n)},s.Kc=function(){return new ld(this.a)},s.Mc=function(n){var t;return nOe(this,n)?(t=u(n,42).cd(),this.a.Bc(t),!0):!1},s.gc=function(){return this.a.gc()},p(An,"AbstractHashMap/EntrySet",261),g(262,1,qi,ld),s.Nb=function(n){Ji(this,n)},s.Pb=function(){return A0(this)},s.Ob=function(){return this.b},s.Qb=function(){JIe(this)},s.b=!1,p(An,"AbstractHashMap/EntrySetIterator",262),g(417,1,qi,z4),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return m8(this)},s.Pb=function(){return EAe(this)},s.Qb=function(){ks(this)},s.b=0,s.c=-1,p(An,"AbstractList/IteratorImpl",417),g(96,417,Ql,Yi),s.Qb=function(){ks(this)},s.Rb=function(n){Wb(this,n)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return mn(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(n){Vb(this.c!=-1),this.a._c(this.c,n)},p(An,"AbstractList/ListIteratorImpl",96),g(219,52,A3,zl),s.Vc=function(n,t){nw(n,this.b),this.c.Vc(this.a+n,t),++this.b},s.Xb=function(n){return Qe(n,this.b),this.c.Xb(this.a+n)},s.$c=function(n){var t;return Qe(n,this.b),t=this.c.$c(this.a+n),--this.b,t},s._c=function(n,t){return Qe(n,this.b),this.c._c(this.a+n,t)},s.gc=function(){return this.b},s.a=0,s.b=0,p(An,"AbstractList/SubList",219),g(384,Yf,Vu,Km),s.$b=function(){this.a.$b()},s.Hc=function(n){return this.a._b(n)},s.Kc=function(){var n;return n=this.a.vc().Kc(),new Ez(n)},s.Mc=function(n){return this.a._b(n)?(this.a.Bc(n),!0):!1},s.gc=function(){return this.a.gc()},p(An,"AbstractMap/1",384),g(691,1,qi,Ez),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),42),n.cd()},s.Qb=function(){this.a.Qb()},p(An,"AbstractMap/1/1",691),g(226,28,Mw,da),s.$b=function(){this.a.$b()},s.Hc=function(n){return this.a.uc(n)},s.Kc=function(){var n;return n=this.a.vc().Kc(),new $b(n)},s.gc=function(){return this.a.gc()},p(An,"AbstractMap/2",226),g(294,1,qi,$b),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),42),n.dd()},s.Qb=function(){this.a.Qb()},p(An,"AbstractMap/2/1",294),g(484,1,{484:1,42:1}),s.Fb=function(n){var t;return _(n,42)?(t=u(n,42),Gc(this.d,t.cd())&&Gc(this.e,t.dd())):!1},s.cd=function(){return this.d},s.dd=function(){return this.e},s.Hb=function(){return Mg(this.d)^Mg(this.e)},s.ed=function(n){return CX(this,n)},s.Ib=function(){return this.d+"="+this.e},p(An,"AbstractMap/AbstractEntry",484),g(383,484,{484:1,383:1,42:1},IT),p(An,"AbstractMap/SimpleEntry",383),g(1984,1,AB),s.Fb=function(n){var t;return _(n,42)?(t=u(n,42),Gc(this.cd(),t.cd())&&Gc(this.dd(),t.dd())):!1},s.Hb=function(){return Mg(this.cd())^Mg(this.dd())},s.Ib=function(){return this.cd()+"="+this.dd()},p(An,FVe,1984),g(1992,1967,LVe),s.tc=function(n){return fIe(this,n)},s._b=function(n){return $L(this,n)},s.vc=function(){return new Pz(this)},s.xc=function(n){var t;return t=n,yc(rZ(this,t))},s.ec=function(){return new i8(this)},p(An,"AbstractNavigableMap",1992),g(739,Yf,Vu,Pz),s.Hc=function(n){return _(n,42)&&fIe(this.b,u(n,42))},s.Kc=function(){return new _5(this.b)},s.Mc=function(n){var t;return _(n,42)?(t=u(n,42),YIe(this.b,t)):!1},s.gc=function(){return this.b.c},p(An,"AbstractNavigableMap/EntrySet",739),g(493,Yf,tie,i8),s.Nc=function(){return new xT(this)},s.$b=function(){e5(this.a)},s.Hc=function(n){return $L(this.a,n)},s.Kc=function(){var n;return n=new _5(new $5(this.a).b),new r8(n)},s.Mc=function(n){return $L(this.a,n)?(J5(this.a,n),!0):!1},s.gc=function(){return this.a.c},p(An,"AbstractNavigableMap/NavigableKeySet",493),g(494,1,qi,r8),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return m8(this.a.a)},s.Pb=function(){var n;return n=hC(this.a),n.cd()},s.Qb=function(){ZSe(this.a)},p(An,"AbstractNavigableMap/NavigableKeySet/1",494),g(2004,28,Mw),s.Fc=function(n){return Pv(a3(this,n)),!0},s.Gc=function(n){return nn(n),yC(n!=this,"Can't add a queue to itself"),gr(this,n)},s.$b=function(){for(;pF(this)!=null;);},p(An,"AbstractQueue",2004),g(302,28,{4:1,20:1,28:1,14:1},mg,Sxe),s.Fc=function(n){return EQ(this,n),!0},s.$b=function(){AQ(this)},s.Hc=function(n){return S$e(new Q5(this),n)},s.dc=function(){return n5(this)},s.Kc=function(){return new Q5(this)},s.Mc=function(n){return jpn(new Q5(this),n)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Nc=function(){return new Ye(this,272)},s.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&Ut(n,t,null),n},s.b=0,s.c=0,p(An,"ArrayDeque",302),g(446,1,qi,Q5),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return dM(this)},s.Qb=function(){TLe(this)},s.a=0,s.b=0,s.c=-1,p(An,"ArrayDeque/IteratorImpl",446),g(12,52,QVe,oe,iu,Ru),s.Vc=function(n,t){Xb(this,n,t)},s.Fc=function(n){return se(this,n)},s.Wc=function(n,t){return lZ(this,n,t)},s.Gc=function(n){return pi(this,n)},s.$b=function(){this.c=V(pn,pe,1,0,5,1)},s.Hc=function(n){return rc(this,n,0)!=-1},s.Jc=function(n){Su(this,n)},s.Xb=function(n){return ve(this,n)},s.Xc=function(n){return rc(this,n,0)},s.dc=function(){return this.c.length==0},s.Kc=function(){return new A(this)},s.$c=function(n){return Za(this,n)},s.Mc=function(n){return Tu(this,n)},s.Ud=function(n,t){Cxe(this,n,t)},s._c=function(n,t){return Zs(this,n,t)},s.gc=function(){return this.c.length},s.ad=function(n){Li(this,n)},s.Pc=function(){return TL(this)},s.Qc=function(n){return Uf(this,n)};var uDn=p(An,"ArrayList",12);g(7,1,qi,A),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return lc(this)},s.Pb=function(){return P(this)},s.Qb=function(){W5(this)},s.a=0,s.b=-1,p(An,"ArrayList/1",7),g(2013,k.Function,{},Pr),s.te=function(n,t){return mi(n,t)},g(154,52,JVe,gs),s.Hc=function(n){return SLe(this,n)!=-1},s.Jc=function(n){var t,i,r,c;for(nn(n),i=this.a,r=0,c=i.length;r>>0,n.toString(16)))},s.f=0,s.i=bi;var VA=p(na,"CNode",57);g(814,1,{},rW),p(na,"CNode/CNodeBuilder",814);var xXe;g(1525,1,{},Dt),s.Oe=function(n,t){return 0},s.Pe=function(n,t){return 0},p(na,uGe,1525),g(1790,1,{},$c),s.Le=function(n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x;for(h=ei,r=new A(n.a.b);r.ar.d.c||r.d.c==o.d.c&&r.d.b0?n+this.n.d+this.n.a:0},s.Se=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=IZ(this,KN(this,null,!0));else for(t=(Ef(),D(I(Bw,1),ce,232,0,[Tc,ou,Cc])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},s.Te=function(){var n,t,i,r,c;if(this.g)for(n=KN(this,null,!1),i=(Ef(),D(I(Bw,1),ce,232,0,[Tc,ou,Cc])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=k.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=k.Math.max(r[1],i),FQ(this,ou,t.d+n.d+r[0]-(r[1]-i)/2,r)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var eq=0,GA=0;p(kd,"GridContainerCell",1473),g(461,22,{3:1,35:1,22:1,461:1},_D);var b1,Ll,cf,RXe=zn(kd,"HorizontalLabelAlignment",461,Xn,Npn,kdn),KXe;g(306,212,{212:1,306:1},zAe,ZDe,HAe),s.Re=function(){return xMe(this)},s.Se=function(){return fY(this)},s.a=0,s.c=!1;var gDn=p(kd,"LabelCell",306);g(244,326,{212:1,326:1,244:1},T6),s.Re=function(){return sk(this)},s.Se=function(){return ok(this)},s.Te=function(){I_(this)},s.Ue=function(){D_(this)},s.b=0,s.c=0,s.d=!1,p(kd,"StripContainerCell",244),g(1626,1,bt,VI),s.Mb=function(n){return Lln(u(n,212))},p(kd,"StripContainerCell/lambda$0$Type",1626),g(1627,1,{},$E),s.Fe=function(n){return u(n,212).Se()},p(kd,"StripContainerCell/lambda$1$Type",1627),g(1628,1,bt,FE),s.Mb=function(n){return $ln(u(n,212))},p(kd,"StripContainerCell/lambda$2$Type",1628),g(1629,1,{},NE),s.Fe=function(n){return u(n,212).Re()},p(kd,"StripContainerCell/lambda$3$Type",1629),g(462,22,{3:1,35:1,22:1,462:1},BD);var uf,w1,xf,qXe=zn(kd,"VerticalLabelAlignment",462,Xn,_pn,jdn),HXe;g(789,1,{},zte),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,p(OP,"NodeContext",789),g(1471,1,Ot,_E),s.ue=function(n,t){return zTe(u(n,61),u(t,61))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(OP,"NodeContext/0methodref$comparePortSides$Type",1471),g(1472,1,Ot,BE),s.ue=function(n,t){return okn(u(n,111),u(t,111))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(OP,"NodeContext/1methodref$comparePortContexts$Type",1472),g(159,22,{3:1,35:1,22:1,159:1},to);var VXe,GXe,zXe,WXe,UXe,XXe,YXe,QXe,JXe,ZXe,eYe,nYe,tYe,iYe,rYe,cYe,uYe,sYe,oYe,fYe,lYe,nq,aYe=zn(OP,"NodeLabelLocation",159,Xn,vN,Edn),hYe;g(111,1,{111:1},CRe),s.a=!1,p(OP,"PortContext",111),g(1476,1,wn,RE),s.td=function(n){aje(u(n,306))},p($k,vGe,1476),g(1477,1,bt,xbe),s.Mb=function(n){return!!u(n,111).c},p($k,yGe,1477),g(1478,1,wn,Obe),s.td=function(n){aje(u(n,111).c)},p($k,"LabelPlacer/lambda$2$Type",1478);var Sse;g(1475,1,wn,Dbe),s.td=function(n){zb(),bln(u(n,111))},p($k,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),g(790,1,wn,qX),s.td=function(n){San(this.b,this.c,this.a,u(n,181))},s.a=!1,s.c=!1,p($k,"NodeLabelCellCreator/lambda$0$Type",790),g(1474,1,wn,Wye),s.td=function(n){pln(this.a,u(n,181))},p($k,"PortContextCreator/lambda$0$Type",1474);var zA;g(1829,1,{},Lbe),p(D3,"GreedyRectangleStripOverlapRemover",1829),g(1830,1,Ot,Ibe),s.ue=function(n,t){return r1n(u(n,222),u(t,222))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(D3,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),g(1786,1,{},H7e),s.a=5,s.e=0,p(D3,"RectangleStripOverlapRemover",1786),g(1787,1,Ot,Fbe),s.ue=function(n,t){return c1n(u(n,222),u(t,222))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(D3,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),g(1789,1,Ot,Nbe),s.ue=function(n,t){return Awn(u(n,222),u(t,222))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(D3,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),g(406,22,{3:1,35:1,22:1,406:1},$T);var rj,tq,iq,cj,dYe=zn(D3,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Xn,N2n,Tdn),bYe;g(222,1,{222:1},JL),p(D3,"RectangleStripOverlapRemover/RectangleNode",222),g(1788,1,wn,Uye),s.td=function(n){D9n(this.a,u(n,222))},p(D3,"RectangleStripOverlapRemover/lambda$1$Type",1788),g(1304,1,Ot,_be),s.ue=function(n,t){return BAn(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Sl,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),g(1307,1,{},Bbe),s.Kb=function(n){return u(n,324).a},p(Sl,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),g(1308,1,bt,Rbe),s.Mb=function(n){return u(n,323).a},p(Sl,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),g(1309,1,bt,Kbe),s.Mb=function(n){return u(n,323).a},p(Sl,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),g(1302,1,Ot,qbe),s.ue=function(n,t){return vMn(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Sl,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),g(1305,1,{},$be),s.Kb=function(n){return u(n,324).a},p(Sl,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),g(767,1,Ot,VG),s.ue=function(n,t){return k4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Sl,"PolyominoCompactor/MinNumOfExtensionsComparator",767),g(1300,1,Ot,Hbe),s.ue=function(n,t){return x3n(u(n,321),u(t,321))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Sl,"PolyominoCompactor/MinPerimeterComparator",1300),g(1301,1,Ot,Vbe),s.ue=function(n,t){return u9n(u(n,321),u(t,321))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Sl,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),g(1303,1,Ot,Gbe),s.ue=function(n,t){return qMn(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Sl,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),g(1306,1,{},zbe),s.Kb=function(n){return u(n,324).a},p(Sl,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),g(777,1,{},XW),s.Ce=function(n,t){return D2n(this,u(n,46),u(t,167))},p(Sl,"SuccessorCombination",777),g(644,1,{},GI),s.Ce=function(n,t){var i;return jEn((i=u(n,46),u(t,167),i))},p(Sl,"SuccessorJitter",644),g(643,1,{},zI),s.Ce=function(n,t){var i;return lSn((i=u(n,46),u(t,167),i))},p(Sl,"SuccessorLineByLine",643),g(568,1,{},KE),s.Ce=function(n,t){var i;return ETn((i=u(n,46),u(t,167),i))},p(Sl,"SuccessorManhattan",568),g(1356,1,{},Wbe),s.Ce=function(n,t){var i;return LCn((i=u(n,46),u(t,167),i))},p(Sl,"SuccessorMaxNormWindingInMathPosSense",1356),g(400,1,{},Vm),s.Ce=function(n,t){return NY(this,n,t)},s.c=!1,s.d=!1,s.e=!1,s.f=!1,p(Sl,"SuccessorQuadrantsGeneric",400),g(1357,1,{},Ube),s.Kb=function(n){return u(n,324).a},p(Sl,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),g(323,22,{3:1,35:1,22:1,323:1},LT),s.a=!1;var uj,sj,oj,fj,wYe=zn(DP,Eie,323,Xn,R2n,Cdn),gYe;g(1298,1,{}),s.Ib=function(){var n,t,i,r,c,o;for(i=" ",n=le(0),c=0;c=0?"b"+n+"["+Y$(this.a)+"]":"b["+Y$(this.a)+"]"):"b_"+a0(this)},p(Nk,"FBendpoint",559),g(282,134,{3:1,282:1,94:1,134:1},SSe),s.Ib=function(){return Y$(this)},p(Nk,"FEdge",282),g(231,134,{3:1,231:1,94:1,134:1},yS);var mDn=p(Nk,"FGraph",231);g(447,357,{3:1,447:1,357:1,94:1,134:1},AOe),s.Ib=function(){return this.b==null||this.b.length==0?"l["+Y$(this.a)+"]":"l_"+this.b},p(Nk,"FLabel",447),g(144,357,{3:1,144:1,357:1,94:1,134:1},BPe),s.Ib=function(){return bQ(this)},s.b=0,p(Nk,"FNode",144),g(2003,1,{}),s.bf=function(n){Cte(this,n)},s.cf=function(){o_e(this)},s.d=0,p(Die,"AbstractForceModel",2003),g(631,2003,{631:1},m$e),s.af=function(n,t){var i,r,c,o,f;return rRe(this.f,n,t),c=Ki(kc(t.d),n.d),f=k.Math.sqrt(c.a*c.a+c.b*c.b),r=k.Math.max(0,f-X5(n.e)/2-X5(t.e)/2),i=U$e(this.e,n,t),i>0?o=-Swn(r,this.c)*i:o=m1n(r,this.b)*u(S(n,(Mf(),J3)),19).a,gl(c,o/f),c},s.bf=function(n){Cte(this,n),this.a=u(S(n,(Mf(),JA)),19).a,this.c=ee(he(S(n,ZA))),this.b=ee(he(S(n,lq)))},s.df=function(n){return n0&&(o-=xln(r,this.a)*i),gl(c,o*this.b/f),c},s.bf=function(n){var t,i,r,c,o,f,l;for(Cte(this,n),this.b=ee(he(S(n,(Mf(),aq)))),this.c=this.b/u(S(n,JA),19).a,r=n.e.c.length,o=0,c=0,l=new A(n.e);l.a0},s.a=0,s.b=0,s.c=0,p(Die,"FruchtermanReingoldModel",632),g(849,1,To,Z5e),s.Qe=function(n){Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,FP),""),"Force Model"),"Determines the model for force calculation."),$se),(lh(),ii)),Fse),_e((Cf(),an))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Lie),""),"Iterations"),"The number of iterations on the force model."),le(300)),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,$ie),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),le(0)),Dc),dr),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,QB),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Ml),nc),Ui),_e(an)))),zi(n,QB,FP,FYe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,JB),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),nc),Ui),_e(an)))),zi(n,JB,FP,DYe),cVe((new e6e,n))};var xYe,OYe,$se,IYe,DYe,LYe,$Ye,FYe;p(ny,"ForceMetaDataProvider",849),g(424,22,{3:1,35:1,22:1,424:1},ZW);var fq,QA,Fse=zn(ny,"ForceModelStrategy",424,Xn,hpn,Pdn),NYe;g(988,1,To,e6e),s.Qe=function(n){cVe(n)};var _Ye,BYe,Nse,JA,_se,RYe,KYe,qYe,Bse,HYe,Rse,Kse,VYe,J3,GYe,lq,qse,zYe,WYe,ZA,aq;p(ny,"ForceOptions",988),g(989,1,{},owe),s.$e=function(){var n;return n=new nW,n},s._e=function(n){},p(ny,"ForceOptions/ForceFactory",989);var hj,Oy,om,ex;g(850,1,To,n6e),s.Qe=function(n){Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Nie),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(un(),!1)),(lh(),sr)),Si),_e((Cf(),Ni))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,_ie),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),nc),Ui),Nt(an,D(I(jh,1),ce,175,0,[_l]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Bie),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Hse),ii),Yse),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Rie),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Ml),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Kie),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),le(vt)),Dc),dr),_e(an)))),HHe((new t6e,n))};var UYe,XYe,Hse,YYe,QYe,JYe;p(ny,"StressMetaDataProvider",850),g(992,1,To,t6e),s.Qe=function(n){HHe(n)};var nx,Vse,Gse,zse,Wse,Use,ZYe,eQe,nQe,tQe,Xse,iQe;p(ny,"StressOptions",992),g(993,1,{},fwe),s.$e=function(){var n;return n=new MSe,n},s._e=function(n){},p(ny,"StressOptions/StressFactory",993),g(1128,209,jd,MSe),s.Ze=function(n,t){var i,r,c,o,f;for(On(t,IGe,1),ke(ye(Ee(n,(J7(),Wse))))?ke(ye(Ee(n,Xse)))||iS((i=new c8((Rb(),new Fb(n))),i)):lKe(new nW,n,Uc(t,1)),c=R$e(n),r=Zqe(this.a,c),f=r.Kc();f.Ob();)o=u(f.Pb(),231),!(o.e.c.length<=1)&&(NAn(this.b,o),wTn(this.b),Su(o.d,new lwe));c=hVe(r),fVe(c),Tn(t)},p(BP,"StressLayoutProvider",1128),g(1129,1,wn,lwe),s.td=function(n){Ite(u(n,447))},p(BP,"StressLayoutProvider/lambda$0$Type",1129),g(990,1,{},F7e),s.c=0,s.e=0,s.g=0,p(BP,"StressMajorization",990),g(379,22,{3:1,35:1,22:1,379:1},RD);var hq,dq,bq,Yse=zn(BP,"StressMajorization/Dimension",379,Xn,Rpn,Adn),rQe;g(991,1,Ot,Jye),s.ue=function(n,t){return cdn(this.a,u(n,144),u(t,144))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(BP,"StressMajorization/lambda$0$Type",991),g(1229,1,{},qxe),p(tm,"ElkLayered",1229),g(1230,1,wn,awe),s.td=function(n){gEn(u(n,37))},p(tm,"ElkLayered/lambda$0$Type",1230),g(1231,1,wn,Zye),s.td=function(n){udn(this.a,u(n,37))},p(tm,"ElkLayered/lambda$1$Type",1231),g(1263,1,{},bCe);var cQe,uQe,sQe;p(tm,"GraphConfigurator",1263),g(759,1,wn,Nz),s.td=function(n){gBe(this.a,u(n,10))},p(tm,"GraphConfigurator/lambda$0$Type",759),g(760,1,{},zG),s.Kb=function(n){return Aee(),new Ue(null,new Ye(u(n,29).a,16))},p(tm,"GraphConfigurator/lambda$1$Type",760),g(761,1,wn,_z),s.td=function(n){gBe(this.a,u(n,10))},p(tm,"GraphConfigurator/lambda$2$Type",761),g(1127,209,jd,B7e),s.Ze=function(n,t){var i;i=rAn(new G7e,n),X(Ee(n,(be(),Uw)))===X((Ma(),Eh))?F6n(this.a,i,t):IEn(this.a,i,t),rVe(new r6e,i)},p(tm,"LayeredLayoutProvider",1127),g(356,22,{3:1,35:1,22:1,356:1},y8);var $l,g1,wu,Jc,ec,Qse=zn(tm,"LayeredPhases",356,Xn,Emn,xdn),oQe;g(1651,1,{},MLe),s.i=0;var fQe;p(Rk,"ComponentsToCGraphTransformer",1651);var lQe;g(1652,1,{},hwe),s.ef=function(n,t){return k.Math.min(n.a!=null?ee(n.a):n.c.i,t.a!=null?ee(t.a):t.c.i)},s.ff=function(n,t){return k.Math.min(n.a!=null?ee(n.a):n.c.i,t.a!=null?ee(t.a):t.c.i)},p(Rk,"ComponentsToCGraphTransformer/1",1652),g(81,1,{81:1}),s.i=0,s.k=!0,s.o=bi;var wq=p(ry,"CNode",81);g(460,81,{460:1,81:1},eX,nee),s.Ib=function(){return""},p(Rk,"ComponentsToCGraphTransformer/CRectNode",460),g(1623,1,{},dwe);var gq,pq;p(Rk,"OneDimensionalComponentsCompaction",1623),g(1624,1,{},bwe),s.Kb=function(n){return Opn(u(n,46))},s.Fb=function(n){return this===n},p(Rk,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),g(1625,1,{},wwe),s.Kb=function(n){return V6n(u(n,46))},s.Fb=function(n){return this===n},p(Rk,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),g(1654,1,{},_Pe),p(ry,"CGraph",1654),g(189,1,{189:1},gN),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=bi,p(ry,"CGroup",189),g(1653,1,{},vwe),s.ef=function(n,t){return k.Math.max(n.a!=null?ee(n.a):n.c.i,t.a!=null?ee(t.a):t.c.i)},s.ff=function(n,t){return k.Math.max(n.a!=null?ee(n.a):n.c.i,t.a!=null?ee(t.a):t.c.i)},p(ry,uGe,1653),g(1655,1,{},pRe),s.d=!1;var aQe,mq=p(ry,fGe,1655);g(1656,1,{},ywe),s.Kb=function(n){return RW(),un(),u(u(n,46).a,81).d.e!=0},s.Fb=function(n){return this===n},p(ry,lGe,1656),g(823,1,{},lY),s.a=!1,s.b=!1,s.c=!1,s.d=!1,p(ry,aGe,823),g(1825,1,{},tPe),p(RP,hGe,1825);var dj=Vt(Td,rGe);g(1826,1,{369:1},DAe),s.Ke=function(n){CSn(this,u(n,466))},p(RP,dGe,1826),g(1827,1,Ot,kwe),s.ue=function(n,t){return Cgn(u(n,81),u(t,81))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(RP,bGe,1827),g(466,1,{466:1},nU),s.a=!1,p(RP,wGe,466),g(1828,1,Ot,jwe),s.ue=function(n,t){return N8n(u(n,466),u(t,466))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(RP,gGe,1828),g(140,1,{140:1},rv,cY),s.Fb=function(n){var t;return n==null||vDn!=cs(n)?!1:(t=u(n,140),Gc(this.c,t.c)&&Gc(this.d,t.d))},s.Hb=function(){return aM(D(I(pn,1),pe,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+mr+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var vDn=p(Td,"Point",140);g(405,22,{3:1,35:1,22:1,405:1},FT);var ub,Rw,jp,Kw,hQe=zn(Td,"Point/Quadrant",405,Xn,K2n,Odn),dQe;g(1642,1,{},R7e),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null;var bQe,wQe,gQe,pQe,mQe;p(Td,"RectilinearConvexHull",1642),g(574,1,{369:1},OM),s.Ke=function(n){Tvn(this,u(n,140))},s.b=0;var Jse;p(Td,"RectilinearConvexHull/MaximalElementsEventHandler",574),g(1644,1,Ot,pwe),s.ue=function(n,t){return bgn(he(n),he(t))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Td,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),g(1643,1,{369:1},YDe),s.Ke=function(n){_Cn(this,u(n,140))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,p(Td,"RectilinearConvexHull/RectangleEventHandler",1643),g(1645,1,Ot,mwe),s.ue=function(n,t){return p2n(u(n,140),u(t,140))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Td,"RectilinearConvexHull/lambda$0$Type",1645),g(1646,1,Ot,gwe),s.ue=function(n,t){return m2n(u(n,140),u(t,140))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Td,"RectilinearConvexHull/lambda$1$Type",1646),g(1647,1,Ot,Ewe),s.ue=function(n,t){return y2n(u(n,140),u(t,140))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Td,"RectilinearConvexHull/lambda$2$Type",1647),g(1648,1,Ot,Twe),s.ue=function(n,t){return v2n(u(n,140),u(t,140))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Td,"RectilinearConvexHull/lambda$3$Type",1648),g(1649,1,Ot,Cwe),s.ue=function(n,t){return jkn(u(n,140),u(t,140))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Td,"RectilinearConvexHull/lambda$4$Type",1649),g(1650,1,{},lxe),p(Td,"Scanline",1650),g(2005,1,{}),p(Pl,"AbstractGraphPlacer",2005),g(325,1,{325:1},tSe),s.mf=function(n){return this.nf(n)?(Be(this.b,u(S(n,(re(),Hw)),21),n),!0):!1},s.nf=function(n){var t,i,r,c;for(t=u(S(n,(re(),Hw)),21),c=u(Ct(It,t),21),r=c.Kc();r.Ob();)if(i=u(r.Pb(),21),!u(Ct(this.b,i),15).dc())return!1;return!0};var It;p(Pl,"ComponentGroup",325),g(765,2005,{},cW),s.of=function(n){var t,i;for(i=new A(this.a);i.aT&&(ue=0,we+=j+c,j=0),$=f.c,B6(f,ue+$.a,we+$.b),vf($),i=k.Math.max(i,ue+R.a),j=k.Math.max(j,R.b),ue+=R.a+c;if(t.f.a=i,t.f.b=we+j,ke(ye(S(o,Kx)))){for(r=new UI,Jte(r,n,c),y=n.Kc();y.Ob();)w=u(y.Pb(),37),Mt(vf(w.c),r.e);Mt(vf(t.f),r.a)}JQ(t,n)},p(Pl,"SimpleRowGraphPlacer",1291),g(1292,1,Ot,Pwe),s.ue=function(n,t){return y4n(u(n,37),u(t,37))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Pl,"SimpleRowGraphPlacer/1",1292);var yQe;g(1262,1,Cl,Awe),s.Lb=function(n){var t;return t=u(S(u(n,243).b,(be(),Xr)),74),!!t&&t.b!=0},s.Fb=function(n){return this===n},s.Mb=function(n){var t;return t=u(S(u(n,243).b,(be(),Xr)),74),!!t&&t.b!=0},p(KP,"CompoundGraphPostprocessor/1",1262),g(1261,1,ni,z7e),s.pf=function(n,t){GNe(this,u(n,37),t)},p(KP,"CompoundGraphPreprocessor",1261),g(441,1,{441:1},IFe),s.c=!1,p(KP,"CompoundGraphPreprocessor/ExternalPort",441),g(243,1,{243:1},mC),s.Ib=function(){return CL(this.c)+":"+dRe(this.b)},p(KP,"CrossHierarchyEdge",243),g(763,1,Ot,Bz),s.ue=function(n,t){return f8n(this,u(n,243),u(t,243))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(KP,"CrossHierarchyEdgeComparator",763),g(299,134,{3:1,299:1,94:1,134:1}),s.p=0,p(su,"LGraphElement",299),g(17,299,{3:1,17:1,299:1,94:1,134:1},k0),s.Ib=function(){return dRe(this)};var yq=p(su,"LEdge",17);g(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},yJ),s.Jc=function(n){er(this,n)},s.Kc=function(){return new A(this.b)},s.Ib=function(){return this.b.c.length==0?"G-unlayered"+i1(this.a):this.a.c.length==0?"G-layered"+i1(this.b):"G[layerless"+i1(this.a)+", layers"+i1(this.b)+"]"};var kQe=p(su,"LGraph",37),jQe;g(657,1,{}),s.qf=function(){return this.e.n},s.We=function(n){return S(this.e,n)},s.rf=function(){return this.e.o},s.sf=function(){return this.e.p},s.Xe=function(n){return Oi(this.e,n)},s.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},s.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},s.vf=function(n){this.e.p=n},p(su,"LGraphAdapters/AbstractLShapeAdapter",657),g(577,1,{839:1},JE),s.wf=function(){var n,t;if(!this.b)for(this.b=Kl(this.a.b.c.length),t=new A(this.a.b);t.a0&&mFe((Gn(t-1,n.length),n.charCodeAt(t-1)),_Ge);)--t;if(o> ",n),KM(i)),Qn(xc((n.a+="[",n),i.i),"]")),n.a},s.c=!0,s.d=!1;var ioe,roe,coe,uoe,soe,ooe,TQe=p(su,"LPort",11);g(397,1,Jl,Gm),s.Jc=function(n){er(this,n)},s.Kc=function(){var n;return n=new A(this.a.e),new e9e(n)},p(su,"LPort/1",397),g(1290,1,qi,e9e),s.Nb=function(n){Ji(this,n)},s.Pb=function(){return u(P(this.a),17).c},s.Ob=function(){return lc(this.a)},s.Qb=function(){W5(this.a)},p(su,"LPort/1/1",1290),g(359,1,Jl,Jp),s.Jc=function(n){er(this,n)},s.Kc=function(){var n;return n=new A(this.a.g),new Rz(n)},p(su,"LPort/2",359),g(762,1,qi,Rz),s.Nb=function(n){Ji(this,n)},s.Pb=function(){return u(P(this.a),17).d},s.Ob=function(){return lc(this.a)},s.Qb=function(){W5(this.a)},p(su,"LPort/2/1",762),g(1283,1,Jl,DEe),s.Jc=function(n){er(this,n)},s.Kc=function(){return new Hf(this)},p(su,"LPort/CombineIter",1283),g(201,1,qi,Hf),s.Nb=function(n){Ji(this,n)},s.Qb=function(){ije()},s.Ob=function(){return F5(this)},s.Pb=function(){return lc(this.a)?P(this.a):P(this.b)},p(su,"LPort/CombineIter/1",201),g(1285,1,Cl,Owe),s.Lb=function(n){return bPe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return qu(),u(n,11).e.c.length!=0},p(su,"LPort/lambda$0$Type",1285),g(1284,1,Cl,Iwe),s.Lb=function(n){return wPe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return qu(),u(n,11).g.c.length!=0},p(su,"LPort/lambda$1$Type",1284),g(1286,1,Cl,Dwe),s.Lb=function(n){return qu(),u(n,11).j==(ae(),tn)},s.Fb=function(n){return this===n},s.Mb=function(n){return qu(),u(n,11).j==(ae(),tn)},p(su,"LPort/lambda$2$Type",1286),g(1287,1,Cl,Lwe),s.Lb=function(n){return qu(),u(n,11).j==(ae(),hn)},s.Fb=function(n){return this===n},s.Mb=function(n){return qu(),u(n,11).j==(ae(),hn)},p(su,"LPort/lambda$3$Type",1287),g(1288,1,Cl,$we),s.Lb=function(n){return qu(),u(n,11).j==(ae(),In)},s.Fb=function(n){return this===n},s.Mb=function(n){return qu(),u(n,11).j==(ae(),In)},p(su,"LPort/lambda$4$Type",1288),g(1289,1,Cl,Fwe),s.Lb=function(n){return qu(),u(n,11).j==(ae(),sn)},s.Fb=function(n){return this===n},s.Mb=function(n){return qu(),u(n,11).j==(ae(),sn)},p(su,"LPort/lambda$5$Type",1289),g(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},mo),s.Jc=function(n){er(this,n)},s.Kc=function(){return new A(this.a)},s.Ib=function(){return"L_"+rc(this.b.b,this,0)+i1(this.a)},p(su,"Layer",29),g(1342,1,{},G7e),p(dh,qGe,1342),g(1346,1,{},Nwe),s.Kb=function(n){return Zr(u(n,82))},p(dh,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),g(1349,1,{},_we),s.Kb=function(n){return Zr(u(n,82))},p(dh,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),g(1343,1,wn,n9e),s.td=function(n){MRe(this.a,u(n,118))},p(dh,HGe,1343),g(1344,1,wn,t9e),s.td=function(n){MRe(this.a,u(n,118))},p(dh,VGe,1344),g(1345,1,{},Bwe),s.Kb=function(n){return new Ue(null,new Ye(fgn(u(n,79)),16))},p(dh,GGe,1345),g(1347,1,bt,i9e),s.Mb=function(n){return lhn(this.a,u(n,33))},p(dh,zGe,1347),g(1348,1,{},Rwe),s.Kb=function(n){return new Ue(null,new Ye(lgn(u(n,79)),16))},p(dh,"ElkGraphImporter/lambda$5$Type",1348),g(1350,1,bt,r9e),s.Mb=function(n){return ahn(this.a,u(n,33))},p(dh,"ElkGraphImporter/lambda$7$Type",1350),g(1351,1,bt,Kwe),s.Mb=function(n){return Mgn(u(n,79))},p(dh,"ElkGraphImporter/lambda$8$Type",1351),g(1278,1,{},r6e);var CQe;p(dh,"ElkGraphLayoutTransferrer",1278),g(1279,1,bt,c9e),s.Mb=function(n){return Z1n(this.a,u(n,17))},p(dh,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),g(1280,1,wn,u9e),s.td=function(n){g8(),se(this.a,u(n,17))},p(dh,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),g(1281,1,bt,s9e),s.Mb=function(n){return _1n(this.a,u(n,17))},p(dh,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),g(1282,1,wn,o9e),s.td=function(n){g8(),se(this.a,u(n,17))},p(dh,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),g(1485,1,ni,qwe),s.pf=function(n,t){R3n(u(n,37),t)},p(fn,"CommentNodeMarginCalculator",1485),g(1486,1,{},Hwe),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"CommentNodeMarginCalculator/lambda$0$Type",1486),g(1487,1,wn,Vwe),s.td=function(n){yAn(u(n,10))},p(fn,"CommentNodeMarginCalculator/lambda$1$Type",1487),g(1488,1,ni,Gwe),s.pf=function(n,t){DSn(u(n,37),t)},p(fn,"CommentPostprocessor",1488),g(1489,1,ni,zwe),s.pf=function(n,t){ROn(u(n,37),t)},p(fn,"CommentPreprocessor",1489),g(1490,1,ni,Wwe),s.pf=function(n,t){tCn(u(n,37),t)},p(fn,"ConstraintsPostprocessor",1490),g(1491,1,ni,Uwe),s.pf=function(n,t){f4n(u(n,37),t)},p(fn,"EdgeAndLayerConstraintEdgeReverser",1491),g(1492,1,ni,Xwe),s.pf=function(n,t){Q6n(u(n,37),t)},p(fn,"EndLabelPostprocessor",1492),g(1493,1,{},Ywe),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"EndLabelPostprocessor/lambda$0$Type",1493),g(1494,1,bt,Qwe),s.Mb=function(n){return Ggn(u(n,10))},p(fn,"EndLabelPostprocessor/lambda$1$Type",1494),g(1495,1,wn,Jwe),s.td=function(n){_8n(u(n,10))},p(fn,"EndLabelPostprocessor/lambda$2$Type",1495),g(1496,1,ni,Zwe),s.pf=function(n,t){Mjn(u(n,37),t)},p(fn,"EndLabelPreprocessor",1496),g(1497,1,{},ege),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"EndLabelPreprocessor/lambda$0$Type",1497),g(1498,1,wn,cMe),s.td=function(n){Man(this.a,this.b,this.c,u(n,10))},s.a=0,s.b=0,s.c=!1,p(fn,"EndLabelPreprocessor/lambda$1$Type",1498),g(1499,1,bt,nge),s.Mb=function(n){return X(S(u(n,70),(be(),Nl)))===X((Vf(),C4))},p(fn,"EndLabelPreprocessor/lambda$2$Type",1499),g(1500,1,wn,f9e),s.td=function(n){st(this.a,u(n,70))},p(fn,"EndLabelPreprocessor/lambda$3$Type",1500),g(1501,1,bt,tge),s.Mb=function(n){return X(S(u(n,70),(be(),Nl)))===X((Vf(),rg))},p(fn,"EndLabelPreprocessor/lambda$4$Type",1501),g(1502,1,wn,l9e),s.td=function(n){st(this.a,u(n,70))},p(fn,"EndLabelPreprocessor/lambda$5$Type",1502),g(1551,1,ni,i6e),s.pf=function(n,t){c6n(u(n,37),t)};var SQe;p(fn,"EndLabelSorter",1551),g(1552,1,Ot,ige),s.ue=function(n,t){return $yn(u(n,456),u(t,456))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"EndLabelSorter/1",1552),g(456,1,{456:1},CAe),p(fn,"EndLabelSorter/LabelGroup",456),g(1553,1,{},rge),s.Kb=function(n){return p8(),new Ue(null,new Ye(u(n,29).a,16))},p(fn,"EndLabelSorter/lambda$0$Type",1553),g(1554,1,bt,cge),s.Mb=function(n){return p8(),u(n,10).k==(dn(),ki)},p(fn,"EndLabelSorter/lambda$1$Type",1554),g(1555,1,wn,uge),s.td=function(n){_kn(u(n,10))},p(fn,"EndLabelSorter/lambda$2$Type",1555),g(1556,1,bt,sge),s.Mb=function(n){return p8(),X(S(u(n,70),(be(),Nl)))===X((Vf(),rg))},p(fn,"EndLabelSorter/lambda$3$Type",1556),g(1557,1,bt,oge),s.Mb=function(n){return p8(),X(S(u(n,70),(be(),Nl)))===X((Vf(),C4))},p(fn,"EndLabelSorter/lambda$4$Type",1557),g(1503,1,ni,fge),s.pf=function(n,t){OAn(this,u(n,37))},s.b=0,s.c=0,p(fn,"FinalSplineBendpointsCalculator",1503),g(1504,1,{},lge),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),g(1505,1,{},age),s.Kb=function(n){return new Ue(null,new g0(new En(Sn(vi(u(n,10)).a.Kc(),new J))))},p(fn,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),g(1506,1,bt,hge),s.Mb=function(n){return!wr(u(n,17))},p(fn,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),g(1507,1,bt,dge),s.Mb=function(n){return Oi(u(n,17),(re(),Dd))},p(fn,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),g(1508,1,wn,a9e),s.td=function(n){VMn(this.a,u(n,128))},p(fn,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),g(1509,1,wn,bge),s.td=function(n){i_(u(n,17).a)},p(fn,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),g(792,1,ni,Kz),s.pf=function(n,t){Txn(this,u(n,37),t)},p(fn,"GraphTransformer",792),g(511,22,{3:1,35:1,22:1,511:1},eU);var jq,bj,MQe=zn(fn,"GraphTransformer/Mode",511,Xn,dpn,G0n),PQe;g(1510,1,ni,wge),s.pf=function(n,t){eSn(u(n,37),t)},p(fn,"HierarchicalNodeResizingProcessor",1510),g(1511,1,ni,gge),s.pf=function(n,t){$3n(u(n,37),t)},p(fn,"HierarchicalPortConstraintProcessor",1511),g(1512,1,Ot,pge),s.ue=function(n,t){return zyn(u(n,10),u(t,10))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"HierarchicalPortConstraintProcessor/NodeComparator",1512),g(1513,1,ni,mge),s.pf=function(n,t){nAn(u(n,37),t)},p(fn,"HierarchicalPortDummySizeProcessor",1513),g(1514,1,ni,vge),s.pf=function(n,t){JSn(this,u(n,37),t)},s.a=0,p(fn,"HierarchicalPortOrthogonalEdgeRouter",1514),g(1515,1,Ot,yge),s.ue=function(n,t){return i1n(u(n,10),u(t,10))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"HierarchicalPortOrthogonalEdgeRouter/1",1515),g(1516,1,Ot,kge),s.ue=function(n,t){return pvn(u(n,10),u(t,10))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"HierarchicalPortOrthogonalEdgeRouter/2",1516),g(1517,1,ni,jge),s.pf=function(n,t){Ekn(u(n,37),t)},p(fn,"HierarchicalPortPositionProcessor",1517),g(1518,1,ni,c6e),s.pf=function(n,t){mIn(this,u(n,37))},s.a=0,s.c=0;var tx,ix;p(fn,"HighDegreeNodeLayeringProcessor",1518),g(571,1,{571:1},Ege),s.b=-1,s.d=-1,p(fn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),g(1519,1,{},Tge),s.Kb=function(n){return H8(),cc(u(n,10))},s.Fb=function(n){return this===n},p(fn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),g(1520,1,{},Cge),s.Kb=function(n){return H8(),vi(u(n,10))},s.Fb=function(n){return this===n},p(fn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),g(1526,1,ni,Sge),s.pf=function(n,t){APn(this,u(n,37),t)},p(fn,"HyperedgeDummyMerger",1526),g(793,1,{},VX),s.a=!1,s.b=!1,s.c=!1,p(fn,"HyperedgeDummyMerger/MergeState",793),g(1527,1,{},Mge),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"HyperedgeDummyMerger/lambda$0$Type",1527),g(1528,1,{},Pge),s.Kb=function(n){return new Ue(null,new Ye(u(n,10).j,16))},p(fn,"HyperedgeDummyMerger/lambda$1$Type",1528),g(1529,1,wn,Age),s.td=function(n){u(n,11).p=-1},p(fn,"HyperedgeDummyMerger/lambda$2$Type",1529),g(1530,1,ni,xge),s.pf=function(n,t){MPn(u(n,37),t)},p(fn,"HypernodesProcessor",1530),g(1531,1,ni,Oge),s.pf=function(n,t){PPn(u(n,37),t)},p(fn,"InLayerConstraintProcessor",1531),g(1532,1,ni,Ige),s.pf=function(n,t){r4n(u(n,37),t)},p(fn,"InnermostNodeMarginCalculator",1532),g(1533,1,ni,Dge),s.pf=function(n,t){$On(this,u(n,37))},s.a=bi,s.b=bi,s.c=ei,s.d=ei;var yDn=p(fn,"InteractiveExternalPortPositioner",1533);g(1534,1,{},Lge),s.Kb=function(n){return u(n,17).d.i},s.Fb=function(n){return this===n},p(fn,"InteractiveExternalPortPositioner/lambda$0$Type",1534),g(1535,1,{},h9e),s.Kb=function(n){return u1n(this.a,he(n))},s.Fb=function(n){return this===n},p(fn,"InteractiveExternalPortPositioner/lambda$1$Type",1535),g(1536,1,{},$ge),s.Kb=function(n){return u(n,17).c.i},s.Fb=function(n){return this===n},p(fn,"InteractiveExternalPortPositioner/lambda$2$Type",1536),g(1537,1,{},d9e),s.Kb=function(n){return s1n(this.a,he(n))},s.Fb=function(n){return this===n},p(fn,"InteractiveExternalPortPositioner/lambda$3$Type",1537),g(1538,1,{},b9e),s.Kb=function(n){return Y1n(this.a,he(n))},s.Fb=function(n){return this===n},p(fn,"InteractiveExternalPortPositioner/lambda$4$Type",1538),g(1539,1,{},w9e),s.Kb=function(n){return Q1n(this.a,he(n))},s.Fb=function(n){return this===n},p(fn,"InteractiveExternalPortPositioner/lambda$5$Type",1539),g(77,22,{3:1,35:1,22:1,77:1,234:1},fi),s.Kf=function(){switch(this.g){case 15:return new tme;case 22:return new ime;case 47:return new ume;case 28:case 35:return new zge;case 32:return new qwe;case 42:return new Gwe;case 1:return new zwe;case 41:return new Wwe;case 56:return new Kz((Rv(),bj));case 0:return new Kz((Rv(),jq));case 2:return new Uwe;case 54:return new Xwe;case 33:return new Zwe;case 51:return new fge;case 55:return new wge;case 13:return new gge;case 38:return new mge;case 44:return new vge;case 40:return new jge;case 9:return new c6e;case 49:return new GCe;case 37:return new Sge;case 43:return new xge;case 27:return new Oge;case 30:return new Ige;case 3:return new Dge;case 18:return new Nge;case 29:return new _ge;case 5:return new u6e;case 50:return new Fge;case 34:return new s6e;case 36:return new Wge;case 52:return new i6e;case 11:return new Xge;case 7:return new f6e;case 39:return new Yge;case 45:return new Qge;case 16:return new Jge;case 10:return new Zge;case 48:return new npe;case 21:return new tpe;case 23:return new ED((I0(),Zy));case 8:return new rpe;case 12:return new upe;case 4:return new spe;case 19:return new d6e;case 17:return new ppe;case 53:return new mpe;case 6:return new xpe;case 25:return new X7e;case 46:return new Epe;case 31:return new ASe;case 14:return new _pe;case 26:return new fme;case 20:return new Hpe;case 24:return new ED((I0(),sO));default:throw O(new rn(iR+(this.f!=null?this.f:""+this.g)))}};var foe,loe,aoe,hoe,doe,boe,woe,goe,poe,moe,Iy,rx,cx,voe,yoe,koe,joe,Eoe,Toe,Coe,Dy,Soe,Moe,Poe,Aoe,xoe,Eq,ux,sx,Ooe,ox,fx,lx,Z3,e4,n4,Ioe,ax,hx,Doe,dx,bx,Loe,$oe,Foe,Noe,wx,Tq,wj,gx,px,mx,vx,_oe,Boe,Roe,Koe,kDn=zn(fn,Hie,77,Xn,vKe,V0n),AQe;g(1540,1,ni,Nge),s.pf=function(n,t){NOn(u(n,37),t)},p(fn,"InvertedPortProcessor",1540),g(1541,1,ni,_ge),s.pf=function(n,t){NMn(u(n,37),t)},p(fn,"LabelAndNodeSizeProcessor",1541),g(1542,1,bt,Bge),s.Mb=function(n){return u(n,10).k==(dn(),ki)},p(fn,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),g(1543,1,bt,Rge),s.Mb=function(n){return u(n,10).k==(dn(),hi)},p(fn,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),g(1544,1,wn,uMe),s.td=function(n){Pan(this.b,this.a,this.c,u(n,10))},s.a=!1,s.c=!1,p(fn,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),g(1545,1,ni,u6e),s.pf=function(n,t){sOn(u(n,37),t)};var xQe;p(fn,"LabelDummyInserter",1545),g(1546,1,Cl,Kge),s.Lb=function(n){return X(S(u(n,70),(be(),Nl)))===X((Vf(),T4))},s.Fb=function(n){return this===n},s.Mb=function(n){return X(S(u(n,70),(be(),Nl)))===X((Vf(),T4))},p(fn,"LabelDummyInserter/1",1546),g(1547,1,ni,Fge),s.pf=function(n,t){fxn(u(n,37),t)},p(fn,"LabelDummyRemover",1547),g(1548,1,bt,qge),s.Mb=function(n){return ke(ye(S(u(n,70),(be(),hH))))},p(fn,"LabelDummyRemover/lambda$0$Type",1548),g(1359,1,ni,s6e),s.pf=function(n,t){_xn(this,u(n,37),t)},s.a=null;var Cq;p(fn,"LabelDummySwitcher",1359),g(286,1,{286:1},pqe),s.c=0,s.d=null,s.f=0,p(fn,"LabelDummySwitcher/LabelDummyInfo",286),g(1360,1,{},Hge),s.Kb=function(n){return D2(),new Ue(null,new Ye(u(n,29).a,16))},p(fn,"LabelDummySwitcher/lambda$0$Type",1360),g(1361,1,bt,Vge),s.Mb=function(n){return D2(),u(n,10).k==(dn(),Cs)},p(fn,"LabelDummySwitcher/lambda$1$Type",1361),g(1362,1,{},m9e),s.Kb=function(n){return B1n(this.a,u(n,10))},p(fn,"LabelDummySwitcher/lambda$2$Type",1362),g(1363,1,wn,v9e),s.td=function(n){_wn(this.a,u(n,286))},p(fn,"LabelDummySwitcher/lambda$3$Type",1363),g(1364,1,Ot,Gge),s.ue=function(n,t){return hwn(u(n,286),u(t,286))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"LabelDummySwitcher/lambda$4$Type",1364),g(791,1,ni,zge),s.pf=function(n,t){Xmn(u(n,37),t)},p(fn,"LabelManagementProcessor",791),g(1549,1,ni,Wge),s.pf=function(n,t){ySn(u(n,37),t)},p(fn,"LabelSideSelector",1549),g(1550,1,bt,Uge),s.Mb=function(n){return ke(ye(S(u(n,70),(be(),hH))))},p(fn,"LabelSideSelector/lambda$0$Type",1550),g(1558,1,ni,Xge),s.pf=function(n,t){tAn(u(n,37),t)},p(fn,"LayerConstraintPostprocessor",1558),g(1559,1,ni,f6e),s.pf=function(n,t){gTn(u(n,37),t)};var qoe;p(fn,"LayerConstraintPreprocessor",1559),g(360,22,{3:1,35:1,22:1,360:1},NT);var gj,yx,kx,Sq,OQe=zn(fn,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Xn,q2n,$dn),IQe;g(1560,1,ni,Yge),s.pf=function(n,t){uxn(u(n,37),t)},p(fn,"LayerSizeAndGraphHeightCalculator",1560),g(1561,1,ni,Qge),s.pf=function(n,t){fCn(u(n,37),t)},p(fn,"LongEdgeJoiner",1561),g(1562,1,ni,Jge),s.pf=function(n,t){KAn(u(n,37),t)},p(fn,"LongEdgeSplitter",1562),g(1563,1,ni,Zge),s.pf=function(n,t){Kxn(this,u(n,37),t)},s.d=0,s.e=0,s.i=0,s.j=0,s.k=0,s.n=0,p(fn,"NodePromotion",1563),g(1564,1,{},epe),s.Kb=function(n){return u(n,46),un(),!0},s.Fb=function(n){return this===n},p(fn,"NodePromotion/lambda$0$Type",1564),g(1565,1,{},g9e),s.Kb=function(n){return cgn(this.a,u(n,46))},s.Fb=function(n){return this===n},s.a=0,p(fn,"NodePromotion/lambda$1$Type",1565),g(1566,1,{},p9e),s.Kb=function(n){return ugn(this.a,u(n,46))},s.Fb=function(n){return this===n},s.a=0,p(fn,"NodePromotion/lambda$2$Type",1566),g(1567,1,ni,npe),s.pf=function(n,t){aIn(u(n,37),t)},p(fn,"NorthSouthPortPostprocessor",1567),g(1568,1,ni,tpe),s.pf=function(n,t){YOn(u(n,37),t)},p(fn,"NorthSouthPortPreprocessor",1568),g(1569,1,Ot,ipe),s.ue=function(n,t){return C4n(u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"NorthSouthPortPreprocessor/lambda$0$Type",1569),g(1570,1,ni,rpe),s.pf=function(n,t){dPn(u(n,37),t)},p(fn,"PartitionMidprocessor",1570),g(1571,1,bt,cpe),s.Mb=function(n){return Oi(u(n,10),(be(),b4))},p(fn,"PartitionMidprocessor/lambda$0$Type",1571),g(1572,1,wn,y9e),s.td=function(n){Pgn(this.a,u(n,10))},p(fn,"PartitionMidprocessor/lambda$1$Type",1572),g(1573,1,ni,upe),s.pf=function(n,t){ACn(u(n,37),t)},p(fn,"PartitionPostprocessor",1573),g(1574,1,ni,spe),s.pf=function(n,t){BEn(u(n,37),t)},p(fn,"PartitionPreprocessor",1574),g(1575,1,bt,ope),s.Mb=function(n){return Oi(u(n,10),(be(),b4))},p(fn,"PartitionPreprocessor/lambda$0$Type",1575),g(1576,1,{},fpe),s.Kb=function(n){return new Ue(null,new g0(new En(Sn(vi(u(n,10)).a.Kc(),new J))))},p(fn,"PartitionPreprocessor/lambda$1$Type",1576),g(1577,1,bt,lpe),s.Mb=function(n){return Iyn(u(n,17))},p(fn,"PartitionPreprocessor/lambda$2$Type",1577),g(1578,1,wn,ape),s.td=function(n){$4n(u(n,17))},p(fn,"PartitionPreprocessor/lambda$3$Type",1578),g(1579,1,ni,d6e),s.pf=function(n,t){QMn(u(n,37),t)};var Hoe,DQe,LQe,$Qe,Voe,Goe;p(fn,"PortListSorter",1579),g(1580,1,{},hpe),s.Kb=function(n){return Qv(),u(n,11).e},p(fn,"PortListSorter/lambda$0$Type",1580),g(1581,1,{},dpe),s.Kb=function(n){return Qv(),u(n,11).g},p(fn,"PortListSorter/lambda$1$Type",1581),g(1582,1,Ot,bpe),s.ue=function(n,t){return OOe(u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"PortListSorter/lambda$2$Type",1582),g(1583,1,Ot,wpe),s.ue=function(n,t){return t8n(u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"PortListSorter/lambda$3$Type",1583),g(1584,1,Ot,gpe),s.ue=function(n,t){return Rqe(u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"PortListSorter/lambda$4$Type",1584),g(1585,1,ni,ppe),s.pf=function(n,t){lTn(u(n,37),t)},p(fn,"PortSideProcessor",1585),g(1586,1,ni,mpe),s.pf=function(n,t){aMn(u(n,37),t)},p(fn,"ReversedEdgeRestorer",1586),g(1591,1,ni,X7e),s.pf=function(n,t){R9n(this,u(n,37),t)},p(fn,"SelfLoopPortRestorer",1591),g(1592,1,{},vpe),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"SelfLoopPortRestorer/lambda$0$Type",1592),g(1593,1,bt,ype),s.Mb=function(n){return u(n,10).k==(dn(),ki)},p(fn,"SelfLoopPortRestorer/lambda$1$Type",1593),g(1594,1,bt,kpe),s.Mb=function(n){return Oi(u(n,10),(re(),a4))},p(fn,"SelfLoopPortRestorer/lambda$2$Type",1594),g(1595,1,{},jpe),s.Kb=function(n){return u(S(u(n,10),(re(),a4)),403)},p(fn,"SelfLoopPortRestorer/lambda$3$Type",1595),g(1596,1,wn,k9e),s.td=function(n){Xkn(this.a,u(n,403))},p(fn,"SelfLoopPortRestorer/lambda$4$Type",1596),g(794,1,wn,UG),s.td=function(n){ljn(u(n,101))},p(fn,"SelfLoopPortRestorer/lambda$5$Type",794),g(1597,1,ni,Epe),s.pf=function(n,t){Xyn(u(n,37),t)},p(fn,"SelfLoopPostProcessor",1597),g(1598,1,{},Tpe),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"SelfLoopPostProcessor/lambda$0$Type",1598),g(1599,1,bt,Cpe),s.Mb=function(n){return u(n,10).k==(dn(),ki)},p(fn,"SelfLoopPostProcessor/lambda$1$Type",1599),g(1600,1,bt,Spe),s.Mb=function(n){return Oi(u(n,10),(re(),a4))},p(fn,"SelfLoopPostProcessor/lambda$2$Type",1600),g(1601,1,wn,Mpe),s.td=function(n){t7n(u(n,10))},p(fn,"SelfLoopPostProcessor/lambda$3$Type",1601),g(1602,1,{},Ppe),s.Kb=function(n){return new Ue(null,new Ye(u(n,101).f,1))},p(fn,"SelfLoopPostProcessor/lambda$4$Type",1602),g(1603,1,wn,j9e),s.td=function(n){G2n(this.a,u(n,409))},p(fn,"SelfLoopPostProcessor/lambda$5$Type",1603),g(1604,1,bt,Ape),s.Mb=function(n){return!!u(n,101).i},p(fn,"SelfLoopPostProcessor/lambda$6$Type",1604),g(1605,1,wn,E9e),s.td=function(n){Aln(this.a,u(n,101))},p(fn,"SelfLoopPostProcessor/lambda$7$Type",1605),g(1587,1,ni,xpe),s.pf=function(n,t){qTn(u(n,37),t)},p(fn,"SelfLoopPreProcessor",1587),g(1588,1,{},Ope),s.Kb=function(n){return new Ue(null,new Ye(u(n,101).f,1))},p(fn,"SelfLoopPreProcessor/lambda$0$Type",1588),g(1589,1,{},Ipe),s.Kb=function(n){return u(n,409).a},p(fn,"SelfLoopPreProcessor/lambda$1$Type",1589),g(1590,1,wn,Dpe),s.td=function(n){Lhn(u(n,17))},p(fn,"SelfLoopPreProcessor/lambda$2$Type",1590),g(1606,1,ni,ASe),s.pf=function(n,t){Bkn(this,u(n,37),t)},p(fn,"SelfLoopRouter",1606),g(1607,1,{},Lpe),s.Kb=function(n){return new Ue(null,new Ye(u(n,29).a,16))},p(fn,"SelfLoopRouter/lambda$0$Type",1607),g(1608,1,bt,$pe),s.Mb=function(n){return u(n,10).k==(dn(),ki)},p(fn,"SelfLoopRouter/lambda$1$Type",1608),g(1609,1,bt,Fpe),s.Mb=function(n){return Oi(u(n,10),(re(),a4))},p(fn,"SelfLoopRouter/lambda$2$Type",1609),g(1610,1,{},Npe),s.Kb=function(n){return u(S(u(n,10),(re(),a4)),403)},p(fn,"SelfLoopRouter/lambda$3$Type",1610),g(1611,1,wn,CEe),s.td=function(n){vgn(this.a,this.b,u(n,403))},p(fn,"SelfLoopRouter/lambda$4$Type",1611),g(1612,1,ni,_pe),s.pf=function(n,t){oSn(u(n,37),t)},p(fn,"SemiInteractiveCrossMinProcessor",1612),g(1613,1,bt,Bpe),s.Mb=function(n){return u(n,10).k==(dn(),ki)},p(fn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),g(1614,1,bt,Rpe),s.Mb=function(n){return GMe(u(n,10))._b((be(),Jw))},p(fn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),g(1615,1,Ot,Kpe),s.ue=function(n,t){return N3n(u(n,10),u(t,10))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),g(1616,1,{},qpe),s.Ce=function(n,t){return Fgn(u(n,10),u(t,10))},p(fn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),g(1618,1,ni,Hpe),s.pf=function(n,t){iAn(u(n,37),t)},p(fn,"SortByInputModelProcessor",1618),g(1619,1,bt,Vpe),s.Mb=function(n){return u(n,11).g.c.length!=0},p(fn,"SortByInputModelProcessor/lambda$0$Type",1619),g(1620,1,wn,T9e),s.td=function(n){wjn(this.a,u(n,11))},p(fn,"SortByInputModelProcessor/lambda$1$Type",1620),g(1693,803,{},RLe),s.Me=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new oe,ri(Ft(new Ue(null,new Ye(this.c.a.b,16)),new r2e),new xEe(this,t)),ck(this,new Wpe),Su(t,new Upe),t.c=V(pn,pe,1,0,5,1),ri(Ft(new Ue(null,new Ye(this.c.a.b,16)),new Xpe),new S9e(t)),ck(this,new Ype),Su(t,new Qpe),t.c=V(pn,pe,1,0,5,1),i=fCe(ZLe(WC(new Ue(null,new Ye(this.c.a.b,16)),new M9e(this))),new Jpe),ri(new Ue(null,new Ye(this.c.a.a,16)),new MEe(i,t)),ck(this,new e2e),Su(t,new Gpe),t.c=V(pn,pe,1,0,5,1);break;case 3:r=new oe,ck(this,new zpe),c=fCe(ZLe(WC(new Ue(null,new Ye(this.c.a.b,16)),new C9e(this))),new Zpe),ri(Ft(new Ue(null,new Ye(this.c.a.b,16)),new n2e),new AEe(c,r)),ck(this,new t2e),Su(r,new i2e),r.c=V(pn,pe,1,0,5,1);break;default:throw O(new L7e)}},s.b=0,p(wi,"EdgeAwareScanlineConstraintCalculation",1693),g(1694,1,Cl,zpe),s.Lb=function(n){return _(u(n,57).g,145)},s.Fb=function(n){return this===n},s.Mb=function(n){return _(u(n,57).g,145)},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),g(1695,1,{},C9e),s.Fe=function(n){return Ujn(this.a,u(n,57))},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),g(1703,1,MP,SEe),s.Vd=function(){A6(this.a,this.b,-1)},s.b=0,p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),g(1705,1,Cl,Wpe),s.Lb=function(n){return _(u(n,57).g,145)},s.Fb=function(n){return this===n},s.Mb=function(n){return _(u(n,57).g,145)},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),g(1706,1,wn,Upe),s.td=function(n){u(n,365).Vd()},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),g(1707,1,bt,Xpe),s.Mb=function(n){return _(u(n,57).g,10)},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),g(1709,1,wn,S9e),s.td=function(n){k6n(this.a,u(n,57))},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),g(1708,1,MP,LEe),s.Vd=function(){A6(this.b,this.a,-1)},s.a=0,p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),g(1710,1,Cl,Ype),s.Lb=function(n){return _(u(n,57).g,10)},s.Fb=function(n){return this===n},s.Mb=function(n){return _(u(n,57).g,10)},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),g(1711,1,wn,Qpe),s.td=function(n){u(n,365).Vd()},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),g(1712,1,{},M9e),s.Fe=function(n){return Xjn(this.a,u(n,57))},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),g(1713,1,{},Jpe),s.De=function(){return 0},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),g(1696,1,{},Zpe),s.De=function(){return 0},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),g(1715,1,wn,MEe),s.td=function(n){twn(this.a,this.b,u(n,307))},s.a=0,p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),g(1714,1,MP,PEe),s.Vd=function(){YRe(this.a,this.b,-1)},s.b=0,p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),g(1716,1,Cl,e2e),s.Lb=function(n){return u(n,57),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,57),!0},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),g(1717,1,wn,Gpe),s.td=function(n){u(n,365).Vd()},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),g(1697,1,bt,n2e),s.Mb=function(n){return _(u(n,57).g,10)},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),g(1699,1,wn,AEe),s.td=function(n){iwn(this.a,this.b,u(n,57))},s.a=0,p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),g(1698,1,MP,$Ee),s.Vd=function(){A6(this.b,this.a,-1)},s.a=0,p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),g(1700,1,Cl,t2e),s.Lb=function(n){return u(n,57),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,57),!0},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),g(1701,1,wn,i2e),s.td=function(n){u(n,365).Vd()},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),g(1702,1,bt,r2e),s.Mb=function(n){return _(u(n,57).g,145)},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),g(1704,1,wn,xEe),s.td=function(n){e3n(this.a,this.b,u(n,57))},p(wi,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),g(1521,1,ni,GCe),s.pf=function(n,t){UAn(this,u(n,37),t)};var FQe;p(wi,"HorizontalGraphCompactor",1521),g(1522,1,{},P9e),s.Oe=function(n,t){var i,r,c;return sJ(n,t)||(i=$g(n),r=$g(t),i&&i.k==(dn(),hi)||r&&r.k==(dn(),hi))?0:(c=u(S(this.a.a,(re(),Ip)),304),o1n(c,i?i.k:(dn(),Fi),r?r.k:(dn(),Fi)))},s.Pe=function(n,t){var i,r,c;return sJ(n,t)?1:(i=$g(n),r=$g(t),c=u(S(this.a.a,(re(),Ip)),304),tX(c,i?i.k:(dn(),Fi),r?r.k:(dn(),Fi)))},p(wi,"HorizontalGraphCompactor/1",1522),g(1523,1,{},c2e),s.Ne=function(n,t){return f5(),n.a.i==0},p(wi,"HorizontalGraphCompactor/lambda$0$Type",1523),g(1524,1,{},A9e),s.Ne=function(n,t){return Ign(this.a,n,t)},p(wi,"HorizontalGraphCompactor/lambda$1$Type",1524),g(1664,1,{},CDe);var NQe,_Qe;p(wi,"LGraphToCGraphTransformer",1664),g(1672,1,bt,u2e),s.Mb=function(n){return n!=null},p(wi,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),g(1665,1,{},s2e),s.Kb=function(n){return Xo(),uc(S(u(u(n,57).g,10),(re(),Et)))},p(wi,"LGraphToCGraphTransformer/lambda$0$Type",1665),g(1666,1,{},o2e),s.Kb=function(n){return Xo(),PFe(u(u(n,57).g,145))},p(wi,"LGraphToCGraphTransformer/lambda$1$Type",1666),g(1675,1,bt,f2e),s.Mb=function(n){return Xo(),_(u(n,57).g,10)},p(wi,"LGraphToCGraphTransformer/lambda$10$Type",1675),g(1676,1,wn,l2e),s.td=function(n){Ogn(u(n,57))},p(wi,"LGraphToCGraphTransformer/lambda$11$Type",1676),g(1677,1,bt,a2e),s.Mb=function(n){return Xo(),_(u(n,57).g,145)},p(wi,"LGraphToCGraphTransformer/lambda$12$Type",1677),g(1681,1,wn,h2e),s.td=function(n){F5n(u(n,57))},p(wi,"LGraphToCGraphTransformer/lambda$13$Type",1681),g(1678,1,wn,x9e),s.td=function(n){uhn(this.a,u(n,8))},s.a=0,p(wi,"LGraphToCGraphTransformer/lambda$14$Type",1678),g(1679,1,wn,O9e),s.td=function(n){ohn(this.a,u(n,110))},s.a=0,p(wi,"LGraphToCGraphTransformer/lambda$15$Type",1679),g(1680,1,wn,I9e),s.td=function(n){shn(this.a,u(n,8))},s.a=0,p(wi,"LGraphToCGraphTransformer/lambda$16$Type",1680),g(1682,1,{},d2e),s.Kb=function(n){return Xo(),new Ue(null,new g0(new En(Sn(vi(u(n,10)).a.Kc(),new J))))},p(wi,"LGraphToCGraphTransformer/lambda$17$Type",1682),g(1683,1,bt,b2e),s.Mb=function(n){return Xo(),wr(u(n,17))},p(wi,"LGraphToCGraphTransformer/lambda$18$Type",1683),g(1684,1,wn,D9e),s.td=function(n){qvn(this.a,u(n,17))},p(wi,"LGraphToCGraphTransformer/lambda$19$Type",1684),g(1668,1,wn,L9e),s.td=function(n){j2n(this.a,u(n,145))},p(wi,"LGraphToCGraphTransformer/lambda$2$Type",1668),g(1685,1,{},w2e),s.Kb=function(n){return Xo(),new Ue(null,new Ye(u(n,29).a,16))},p(wi,"LGraphToCGraphTransformer/lambda$20$Type",1685),g(1686,1,{},g2e),s.Kb=function(n){return Xo(),new Ue(null,new g0(new En(Sn(vi(u(n,10)).a.Kc(),new J))))},p(wi,"LGraphToCGraphTransformer/lambda$21$Type",1686),g(1687,1,{},p2e),s.Kb=function(n){return Xo(),u(S(u(n,17),(re(),Dd)),15)},p(wi,"LGraphToCGraphTransformer/lambda$22$Type",1687),g(1688,1,bt,m2e),s.Mb=function(n){return l1n(u(n,15))},p(wi,"LGraphToCGraphTransformer/lambda$23$Type",1688),g(1689,1,wn,$9e),s.td=function(n){Bjn(this.a,u(n,15))},p(wi,"LGraphToCGraphTransformer/lambda$24$Type",1689),g(1667,1,wn,OEe),s.td=function(n){fmn(this.a,this.b,u(n,145))},p(wi,"LGraphToCGraphTransformer/lambda$3$Type",1667),g(1669,1,{},v2e),s.Kb=function(n){return Xo(),new Ue(null,new Ye(u(n,29).a,16))},p(wi,"LGraphToCGraphTransformer/lambda$4$Type",1669),g(1670,1,{},y2e),s.Kb=function(n){return Xo(),new Ue(null,new g0(new En(Sn(vi(u(n,10)).a.Kc(),new J))))},p(wi,"LGraphToCGraphTransformer/lambda$5$Type",1670),g(1671,1,{},k2e),s.Kb=function(n){return Xo(),u(S(u(n,17),(re(),Dd)),15)},p(wi,"LGraphToCGraphTransformer/lambda$6$Type",1671),g(1673,1,wn,F9e),s.td=function(n){pEn(this.a,u(n,15))},p(wi,"LGraphToCGraphTransformer/lambda$8$Type",1673),g(1674,1,wn,IEe),s.td=function(n){xhn(this.a,this.b,u(n,145))},p(wi,"LGraphToCGraphTransformer/lambda$9$Type",1674),g(1663,1,{},j2e),s.Le=function(n){var t,i,r,c,o;for(this.a=n,this.d=new hD,this.c=V(Cse,pe,121,this.a.a.a.c.length,0,1),this.b=0,i=new A(this.a.a.a);i.a=x&&(se(o,le(w)),R=k.Math.max(R,z[w-1]-y),l+=C,$+=z[w-1]-$,y=z[w-1],C=a[w]),C=k.Math.max(C,a[w]),++w;l+=C}T=k.Math.min(1/R,1/t.b/l),T>r&&(r=T,i=o)}return i},s.Wf=function(){return!1},p(Al,"MSDCutIndexHeuristic",802),g(1617,1,ni,fme),s.pf=function(n,t){XPn(u(n,37),t)},p(Al,"SingleEdgeGraphWrapper",1617),g(227,22,{3:1,35:1,22:1,227:1},g5);var Cp,r4,c4,qw,Ly,Sp,u4=zn(_c,"CenterEdgeLabelPlacementStrategy",227,Xn,uvn,_dn),YQe;g(422,22,{3:1,35:1,22:1,422:1},tU);var Woe,Nq,Uoe=zn(_c,"ConstraintCalculationStrategy",422,Xn,Ygn,Bdn),QQe;g(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},HD),s.Kf=function(){return sRe(this)},s.Xf=function(){return sRe(this)};var pj,lm,Xoe,Yoe=zn(_c,"CrossingMinimizationStrategy",314,Xn,qpn,Rdn),JQe;g(337,22,{3:1,35:1,22:1,337:1},VD);var Qoe,_q,Mx,Joe=zn(_c,"CuttingStrategy",337,Xn,Hpn,Hdn),ZQe;g(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},j8),s.Kf=function(){return WRe(this)},s.Xf=function(){return WRe(this)};var Zoe,Bq,$y,Rq,Fy,efe=zn(_c,"CycleBreakingStrategy",335,Xn,Imn,Vdn),eJe;g(419,22,{3:1,35:1,22:1,419:1},iU);var Px,nfe,tfe=zn(_c,"DirectionCongruency",419,Xn,Xgn,Gdn),nJe;g(450,22,{3:1,35:1,22:1,450:1},GD);var s4,Kq,Mp,tJe=zn(_c,"EdgeConstraint",450,Xn,Vpn,zdn),iJe;g(276,22,{3:1,35:1,22:1,276:1},p5);var qq,Hq,Vq,Gq,Ax,zq,ife=zn(_c,"EdgeLabelSideSelection",276,Xn,lvn,Wdn),rJe;g(479,22,{3:1,35:1,22:1,479:1},rU);var xx,rfe,cfe=zn(_c,"EdgeStraighteningStrategy",479,Xn,Ugn,Udn),cJe;g(274,22,{3:1,35:1,22:1,274:1},m5);var Wq,ufe,sfe,Ox,ofe,ffe,lfe=zn(_c,"FixedAlignment",274,Xn,ovn,Xdn),uJe;g(275,22,{3:1,35:1,22:1,275:1},v5);var afe,hfe,dfe,bfe,Ny,wfe,gfe=zn(_c,"GraphCompactionStrategy",275,Xn,svn,Ydn),sJe;g(256,22,{3:1,35:1,22:1,256:1},Kb);var o4,Ix,f4,fo,_y,Dx,l4,Pp,Lx,By,Uq=zn(_c,"GraphProperties",256,Xn,X3n,Qdn),oJe;g(292,22,{3:1,35:1,22:1,292:1},zD);var mj,Xq,Yq,Qq=zn(_c,"GreedySwitchType",292,Xn,Wpn,Jdn),fJe;g(303,22,{3:1,35:1,22:1,303:1},WD);var am,vj,Ap,lJe=zn(_c,"InLayerConstraint",303,Xn,zpn,Zdn),aJe;g(420,22,{3:1,35:1,22:1,420:1},cU);var Jq,pfe,mfe=zn(_c,"InteractiveReferencePoint",420,Xn,Qgn,e0n),hJe,vfe,hm,fb,$x,yfe,kfe,Fx,jfe,yj,Nx,Ry,dm,Hw,Zq,_x,Sc,Efe,lb,eu,eH,nH,kj,Id,ab,bm,Tfe,wm,jj,Vw,Of,Oo,tH,xp,Rc,Et,Cfe,Sfe,Mfe,Pfe,Afe,iH,Bx,Zu,hb,rH,gm,Ej,tl,Op,a4,Ip,Dp,h4,Dd,xfe,cH,uH,pm;g(163,22,{3:1,35:1,22:1,163:1},T8);var Ky,m1,qy,Gw,Tj,Ofe=zn(_c,"LayerConstraint",163,Xn,$mn,n0n),dJe;g(848,1,To,p6e),s.Qe=function(n){Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Vie),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),Kfe),(lh(),ii)),tfe),_e((Cf(),an))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Gie),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(un(),!1)),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,qP),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Wfe),ii),mfe),_e(an)))),zi(n,qP,uR,rZe),zi(n,qP,sy,iZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,zie),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Wie),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),sr),Si),_e(an)))),Ne(n,new Pe(san($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Uie),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),sr),Si),_e(Bd)),D(I(ge,1),ie,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Xie),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),nle),ii),fae),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Yie),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),le(7)),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Qie),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Jie),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,uR),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),Rfe),ii),efe),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Hk),xR),"Node Layering Strategy"),"Strategy for node layering."),Yfe),ii),Qle),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Zie),xR),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),Ufe),ii),Ofe),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,ere),xR),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),le(-1)),Dc),dr),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,nre),xR),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),le(-1)),Dc),dr),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,sR),ize),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),le(4)),Dc),dr),_e(an)))),zi(n,sR,Hk,aZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,oR),ize),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),le(2)),Dc),dr),_e(an)))),zi(n,oR,Hk,dZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,fR),rze),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),Xfe),ii),uae),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,lR),rze),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),le(0)),Dc),dr),_e(an)))),zi(n,lR,fR,null),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,aR),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),le(vt)),Dc),dr),_e(an)))),zi(n,aR,Hk,uZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,sy),Vk),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),Bfe),ii),Yoe),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,tre),Vk),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,hR),Vk),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),nc),Ui),_e(an)))),zi(n,hR,nA,IJe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,dR),Vk),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),sr),Si),_e(an)))),zi(n,dR,sy,FJe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,ire),Vk),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),le(-1)),Dc),dr),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,rre),Vk),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),le(-1)),Dc),dr),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,cre),cze),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),le(40)),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,bR),cze),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),_fe),ii),Qq),_e(an)))),zi(n,bR,sy,xJe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,HP),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),Nfe),ii),Qq),_e(an)))),zi(n,HP,sy,MJe),zi(n,HP,nA,PJe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,dp),uze),"Node Placement Strategy"),"Strategy for node placement."),ele),ii),nae),_e(an)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,VP),uze),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),sr),Si),_e(an)))),zi(n,VP,dp,TZe),zi(n,VP,dp,CZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,wR),sze),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),Qfe),ii),cfe),_e(an)))),zi(n,wR,dp,yZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,gR),sze),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),Jfe),ii),lfe),_e(an)))),zi(n,gR,dp,jZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,pR),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),nc),Ui),_e(an)))),zi(n,pR,dp,MZe),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,mR),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),ii),AH),_e(Ni)))),zi(n,mR,dp,OZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,vR),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Zfe),ii),AH),_e(an)))),zi(n,vR,dp,xZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,ure),oze),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Vfe),ii),hae),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,sre),oze),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Gfe),ii),dae),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,GP),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),zfe),ii),wae),_e(an)))),zi(n,GP,Gk,WJe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,zP),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),nc),Ui),_e(an)))),zi(n,zP,Gk,XJe),zi(n,zP,GP,YJe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,yR),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),nc),Ui),_e(an)))),zi(n,yR,Gk,HJe),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,ore),Jf),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,fre),Jf),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,lre),Jf),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,are),Jf),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,hre),kre),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),le(0)),Dc),dr),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,dre),kre),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),le(0)),Dc),dr),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,bre),kre),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),le(0)),Dc),dr),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,kR),jre),TGe),"Tries to further compact components (disconnected sub-graphs)."),!1),sr),Si),_e(an)))),zi(n,kR,ty,!0),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,wre),fze),"Post Compaction Strategy"),lze),Dfe),ii),gfe),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,gre),fze),"Post Compaction Constraint Calculation"),lze),Ife),ii),Uoe),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,WP),Ere),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,jR),Ere),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),le(16)),Dc),dr),_e(an)))),zi(n,jR,WP,!0),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,ER),Ere),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),le(5)),Dc),dr),_e(an)))),zi(n,ER,WP,!0),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Fa),Tre),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),rle),ii),vae),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,UP),Tre),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),nc),Ui),_e(an)))),zi(n,UP,Fa,VZe),zi(n,UP,Fa,GZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,XP),Tre),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),nc),Ui),_e(an)))),zi(n,XP,Fa,WZe),zi(n,XP,Fa,UZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,oy),aze),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),ile),ii),Joe),_e(an)))),zi(n,oy,Fa,een),zi(n,oy,Fa,nen),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,TR),aze),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),rl),oo),_e(an)))),zi(n,TR,oy,YZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,CR),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),tle),Dc),dr),_e(an)))),zi(n,CR,oy,JZe),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,YP),hze),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),cle),ii),mae),_e(an)))),zi(n,YP,Fa,den),zi(n,YP,Fa,ben),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,QP),hze),"Valid Indices for Wrapping"),null),rl),oo),_e(an)))),zi(n,QP,Fa,len),zi(n,QP,Fa,aen),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,JP),Cre),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),sr),Si),_e(an)))),zi(n,JP,Fa,cen),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,ZP),Cre),"Distance Penalty When Improving Cuts"),null),2),nc),Ui),_e(an)))),zi(n,ZP,Fa,ien),zi(n,ZP,JP,!0),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,SR),Cre),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),sr),Si),_e(an)))),zi(n,SR,Fa,sen),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,pre),OR),"Edge Label Side Selection"),"Method to decide on edge label sides."),Hfe),ii),ife),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,mre),OR),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),qfe),ii),u4),Nt(an,D(I(jh,1),ce,175,0,[kh]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,eA),zk),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),Ffe),ii),oae),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,vre),zk),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),sr),Si),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,MR),zk),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Lfe),ii),eoe),_e(an)))),zi(n,MR,ty,null),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,yre),zk),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),$fe),ii),Zle),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,PR),zk),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),nc),Ui),_e(an)))),zi(n,PR,eA,null),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,AR),zk),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),nc),Ui),_e(an)))),zi(n,AR,eA,null),AVe((new y6e,n))};var bJe,wJe,gJe,Ife,pJe,Dfe,mJe,Lfe,vJe,yJe,kJe,$fe,jJe,EJe,Ffe,TJe,CJe,SJe,Nfe,MJe,PJe,AJe,_fe,xJe,OJe,IJe,DJe,LJe,$Je,FJe,NJe,Bfe,_Je,Rfe,BJe,Kfe,RJe,qfe,KJe,Hfe,qJe,HJe,VJe,Vfe,GJe,Gfe,zJe,zfe,WJe,UJe,XJe,YJe,QJe,JJe,ZJe,eZe,nZe,tZe,Wfe,iZe,rZe,cZe,uZe,sZe,oZe,Ufe,fZe,lZe,aZe,hZe,dZe,bZe,wZe,Xfe,gZe,Yfe,pZe,mZe,vZe,Qfe,yZe,kZe,Jfe,jZe,EZe,TZe,CZe,SZe,MZe,PZe,AZe,Zfe,xZe,OZe,IZe,ele,DZe,nle,LZe,$Ze,FZe,NZe,_Ze,BZe,RZe,KZe,qZe,HZe,VZe,GZe,zZe,WZe,UZe,XZe,YZe,QZe,tle,JZe,ZZe,ile,een,nen,ten,ien,ren,cen,uen,sen,oen,rle,fen,len,aen,hen,cle,den,ben;p(_c,"LayeredMetaDataProvider",848),g(986,1,To,y6e),s.Qe=function(n){AVe(n)};var Fl,sH,Rx,Hy,Kx,ule,qx,mm,Hx,sle,ole,oH,v1,fH,zw,fle,Cj,lH,lle,wen,Vx,aH,Vy,Ww,gen,Ks,ale,hle,Gx,hH,Nl,zx,Na,dle,ble,wle,dH,bH,gle,ph,wH,ple,Uw,mle,vle,yle,Wx,Xw,Ld,kle,jle,Xr,Ele,pen,gu,Ux,Tle,Cle,Sle,gH,Mle,Xx,Ple,Ale,Yx,db,xle,pH,Gy,Ole,bb,zy,Qx,$d,mH,d4,Jx,Fd,Ile,Dle,Lle,b4,$le,men,ven,yen,ken,wb,Yw,ti,mh,jen,Qw,Fle,w4,Nle,Jw,Een,g4,_le,vm,Ten,Cen,Sj,vH,Ble,Mj,sf,Lp,ym,gb,Nd,Zx,Zw,yH,p4,m4,pb,$p,kH,Pj,Wy,Uy,jH,Rle,Kle,qle,Hle,EH,Vle,Gle,zle,Wle,TH,eO;p(_c,"LayeredOptions",986),g(987,1,{},ame),s.$e=function(){var n;return n=new B7e,n},s._e=function(n){},p(_c,"LayeredOptions/LayeredFactory",987),g(1372,1,{}),s.a=0;var Sen;p(Bc,"ElkSpacings/AbstractSpacingsBuilder",1372),g(779,1372,{},FZ);var nO,Men;p(_c,"LayeredSpacings/LayeredSpacingsBuilder",779),g(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},y5),s.Kf=function(){return oKe(this)},s.Xf=function(){return oKe(this)};var CH,Ule,Xle,tO,SH,Yle,Qle=zn(_c,"LayeringStrategy",313,Xn,fvn,t0n),Pen;g(378,22,{3:1,35:1,22:1,378:1},UD);var MH,Jle,iO,Zle=zn(_c,"LongEdgeOrderingStrategy",378,Xn,Kpn,i0n),Aen;g(197,22,{3:1,35:1,22:1,197:1},BT);var Fp,Np,rO,PH,AH=zn(_c,"NodeFlexibility",197,Xn,U2n,r0n),xen;g(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},E8),s.Kf=function(){return zRe(this)},s.Xf=function(){return zRe(this)};var Xy,xH,OH,Yy,eae,nae=zn(_c,"NodePlacementStrategy",315,Xn,Omn,l0n),Oen;g(260,22,{3:1,35:1,22:1,260:1},o2);var tae,Aj,iae,rae,xj,cae,cO,uO,uae=zn(_c,"NodePromotionStrategy",260,Xn,o3n,u0n),Ien;g(339,22,{3:1,35:1,22:1,339:1},XD);var sae,y1,IH,oae=zn(_c,"OrderingStrategy",339,Xn,Xpn,s0n),Den;g(421,22,{3:1,35:1,22:1,421:1},uU);var DH,LH,fae=zn(_c,"PortSortingStrategy",421,Xn,Jgn,o0n),Len;g(452,22,{3:1,35:1,22:1,452:1},YD);var es,fu,Qy,$en=zn(_c,"PortType",452,Xn,Upn,c0n),Fen;g(375,22,{3:1,35:1,22:1,375:1},QD);var lae,$H,aae,hae=zn(_c,"SelfLoopDistributionStrategy",375,Xn,Ypn,f0n),Nen;g(376,22,{3:1,35:1,22:1,376:1},sU);var Oj,FH,dae=zn(_c,"SelfLoopOrderingStrategy",376,Xn,Wgn,a0n),_en;g(304,1,{304:1},OHe),p(_c,"Spacings",304),g(336,22,{3:1,35:1,22:1,336:1},JD);var NH,bae,Jy,wae=zn(_c,"SplineRoutingMode",336,Xn,Jpn,h0n),Ben;g(338,22,{3:1,35:1,22:1,338:1},ZD);var _H,gae,pae,mae=zn(_c,"ValidifyStrategy",338,Xn,Zpn,d0n),Ren;g(377,22,{3:1,35:1,22:1,377:1},eL);var eg,BH,v4,vae=zn(_c,"WrappingStrategy",377,Xn,Qpn,b0n),Ken;g(1383,1,Qc,k6e),s.Yf=function(n){return u(n,37),qen},s.pf=function(n,t){HAn(this,u(n,37),t)};var qen;p(rA,"DepthFirstCycleBreaker",1383),g(782,1,Qc,yY),s.Yf=function(n){return u(n,37),Hen},s.pf=function(n,t){KIn(this,u(n,37),t)},s.Zf=function(n){return u(ve(n,$M(this.d,n.c.length)),10)};var Hen;p(rA,"GreedyCycleBreaker",782),g(1386,782,Qc,mTe),s.Zf=function(n){var t,i,r,c;for(c=null,t=vt,r=new A(n);r.a1&&(ke(ye(S(lr((Qe(0,n.c.length),u(n.c[0],10))),(be(),zw))))?tKe(n,this.d,u(this,660)):(He(),Li(n,this.d)),j$e(this.e,n))},s.Sf=function(n,t,i,r){var c,o,f,l,a,h,w;for(t!=WMe(i,n.length)&&(o=n[t-(i?1:-1)],GQ(this.f,o,i?(Ar(),fu):(Ar(),es))),c=n[t][0],w=!r||c.k==(dn(),hi),h=qf(n[t]),this.ag(h,w,!1,i),f=0,a=new A(h);a.a"),n0?L$(this.a,n[t-1],n[t]):!i&&t1&&(ke(ye(S(lr((Qe(0,n.c.length),u(n.c[0],10))),(be(),zw))))?tKe(n,this.d,this):(He(),Li(n,this.d)),ke(ye(S(lr((Qe(0,n.c.length),u(n.c[0],10))),zw)))||j$e(this.e,n))},p(Gu,"ModelOrderBarycenterHeuristic",660),g(1803,1,Ot,t8e),s.ue=function(n,t){return ijn(this.a,u(n,10),u(t,10))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Gu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),g(1403,1,Qc,A6e),s.Yf=function(n){var t;return u(n,37),t=JT(tnn),mt(t,(pr(),wu),(Cr(),wx)),t},s.pf=function(n,t){qgn((u(n,37),t))};var tnn;p(Gu,"NoCrossingMinimizer",1403),g(796,402,sce,xW),s.$f=function(n,t,i){var r,c,o,f,l,a,h,w,y,j,T;switch(y=this.g,i.g){case 1:{for(c=0,o=0,w=new A(n.j);w.a1&&(c.j==(ae(),hn)?this.b[n]=!0:c.j==sn&&n>0&&(this.b[n-1]=!0))},s.f=0,p(ia,"AllCrossingsCounter",1798),g(587,1,{},QS),s.b=0,s.d=0,p(ia,"BinaryIndexedTree",587),g(524,1,{},q8);var jae,oO;p(ia,"CrossingsCounter",524),g(1906,1,Ot,i8e),s.ue=function(n,t){return Gbn(this.a,u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(ia,"CrossingsCounter/lambda$0$Type",1906),g(1907,1,Ot,r8e),s.ue=function(n,t){return zbn(this.a,u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(ia,"CrossingsCounter/lambda$1$Type",1907),g(1908,1,Ot,c8e),s.ue=function(n,t){return Wbn(this.a,u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(ia,"CrossingsCounter/lambda$2$Type",1908),g(1909,1,Ot,u8e),s.ue=function(n,t){return Ubn(this.a,u(n,11),u(t,11))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(ia,"CrossingsCounter/lambda$3$Type",1909),g(1910,1,wn,s8e),s.td=function(n){Avn(this.a,u(n,11))},p(ia,"CrossingsCounter/lambda$4$Type",1910),g(1911,1,bt,o8e),s.Mb=function(n){return Han(this.a,u(n,11))},p(ia,"CrossingsCounter/lambda$5$Type",1911),g(1912,1,wn,f8e),s.td=function(n){bTe(this,n)},p(ia,"CrossingsCounter/lambda$6$Type",1912),g(1913,1,wn,REe),s.td=function(n){var t;hv(),Uh(this.b,(t=this.a,u(n,11),t))},p(ia,"CrossingsCounter/lambda$7$Type",1913),g(826,1,Cl,nz),s.Lb=function(n){return hv(),Oi(u(n,11),(re(),Zu))},s.Fb=function(n){return this===n},s.Mb=function(n){return hv(),Oi(u(n,11),(re(),Zu))},p(ia,"CrossingsCounter/lambda$8$Type",826),g(1905,1,{},l8e),p(ia,"HyperedgeCrossingsCounter",1905),g(467,1,{35:1,467:1},xSe),s.wd=function(n){return Syn(this,u(n,467))},s.b=0,s.c=0,s.e=0,s.f=0;var jDn=p(ia,"HyperedgeCrossingsCounter/Hyperedge",467);g(362,1,{35:1,362:1},XC),s.wd=function(n){return TTn(this,u(n,362))},s.b=0,s.c=0;var inn=p(ia,"HyperedgeCrossingsCounter/HyperedgeCorner",362);g(523,22,{3:1,35:1,22:1,523:1},oU);var e9,n9,rnn=zn(ia,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Xn,Zgn,g0n),cnn;g(1405,1,Qc,v6e),s.Yf=function(n){return u(S(u(n,37),(re(),eu)),21).Hc((Or(),fo))?unn:null},s.pf=function(n,t){G8n(this,u(n,37),t)};var unn;p(Dr,"InteractiveNodePlacer",1405),g(1406,1,Qc,m6e),s.Yf=function(n){return u(S(u(n,37),(re(),eu)),21).Hc((Or(),fo))?snn:null},s.pf=function(n,t){A9n(this,u(n,37),t)};var snn,fO,lO;p(Dr,"LinearSegmentsNodePlacer",1406),g(257,1,{35:1,257:1},uW),s.wd=function(n){return nan(this,u(n,257))},s.Fb=function(n){var t;return _(n,257)?(t=u(n,257),this.b==t.b):!1},s.Hb=function(){return this.b},s.Ib=function(){return"ls"+i1(this.e)},s.a=0,s.b=0,s.c=-1,s.d=-1,s.g=0;var onn=p(Dr,"LinearSegmentsNodePlacer/LinearSegment",257);g(1408,1,Qc,iPe),s.Yf=function(n){return u(S(u(n,37),(re(),eu)),21).Hc((Or(),fo))?fnn:null},s.pf=function(n,t){DIn(this,u(n,37),t)},s.b=0,s.g=0;var fnn;p(Dr,"NetworkSimplexPlacer",1408),g(1427,1,Ot,mme),s.ue=function(n,t){return yu(u(n,19).a,u(t,19).a)},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Dr,"NetworkSimplexPlacer/0methodref$compare$Type",1427),g(1429,1,Ot,vme),s.ue=function(n,t){return yu(u(n,19).a,u(t,19).a)},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Dr,"NetworkSimplexPlacer/1methodref$compare$Type",1429),g(649,1,{649:1},KEe);var EDn=p(Dr,"NetworkSimplexPlacer/EdgeRep",649);g(401,1,{401:1},JY),s.b=!1;var TDn=p(Dr,"NetworkSimplexPlacer/NodeRep",401);g(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},Y7e),p(Dr,"NetworkSimplexPlacer/Path",508),g(1409,1,{},yme),s.Kb=function(n){return u(n,17).d.i.k},p(Dr,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),g(1410,1,bt,kme),s.Mb=function(n){return u(n,267)==(dn(),Fi)},p(Dr,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),g(1411,1,{},jme),s.Kb=function(n){return u(n,17).d.i},p(Dr,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),g(1412,1,bt,a8e),s.Mb=function(n){return bSe(ZFe(u(n,10)))},p(Dr,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),g(1413,1,bt,Eme),s.Mb=function(n){return Lbn(u(n,11))},p(Dr,"NetworkSimplexPlacer/lambda$0$Type",1413),g(1414,1,wn,qEe),s.td=function(n){Ohn(this.a,this.b,u(n,11))},p(Dr,"NetworkSimplexPlacer/lambda$1$Type",1414),g(1423,1,wn,h8e),s.td=function(n){Qjn(this.a,u(n,17))},p(Dr,"NetworkSimplexPlacer/lambda$10$Type",1423),g(1424,1,{},Tme),s.Kb=function(n){return As(),new Ue(null,new Ye(u(n,29).a,16))},p(Dr,"NetworkSimplexPlacer/lambda$11$Type",1424),g(1425,1,wn,d8e),s.td=function(n){WSn(this.a,u(n,10))},p(Dr,"NetworkSimplexPlacer/lambda$12$Type",1425),g(1426,1,{},Cme),s.Kb=function(n){return As(),le(u(n,121).e)},p(Dr,"NetworkSimplexPlacer/lambda$13$Type",1426),g(1428,1,{},Sme),s.Kb=function(n){return As(),le(u(n,121).e)},p(Dr,"NetworkSimplexPlacer/lambda$15$Type",1428),g(1430,1,bt,Mme),s.Mb=function(n){return As(),u(n,401).c.k==(dn(),ki)},p(Dr,"NetworkSimplexPlacer/lambda$17$Type",1430),g(1431,1,bt,Pme),s.Mb=function(n){return As(),u(n,401).c.j.c.length>1},p(Dr,"NetworkSimplexPlacer/lambda$18$Type",1431),g(1432,1,wn,lAe),s.td=function(n){N6n(this.c,this.b,this.d,this.a,u(n,401))},s.c=0,s.d=0,p(Dr,"NetworkSimplexPlacer/lambda$19$Type",1432),g(1415,1,{},Ame),s.Kb=function(n){return As(),new Ue(null,new Ye(u(n,29).a,16))},p(Dr,"NetworkSimplexPlacer/lambda$2$Type",1415),g(1433,1,wn,b8e),s.td=function(n){Ahn(this.a,u(n,11))},s.a=0,p(Dr,"NetworkSimplexPlacer/lambda$20$Type",1433),g(1434,1,{},xme),s.Kb=function(n){return As(),new Ue(null,new Ye(u(n,29).a,16))},p(Dr,"NetworkSimplexPlacer/lambda$21$Type",1434),g(1435,1,wn,w8e),s.td=function(n){Vhn(this.a,u(n,10))},p(Dr,"NetworkSimplexPlacer/lambda$22$Type",1435),g(1436,1,bt,Ome),s.Mb=function(n){return bSe(n)},p(Dr,"NetworkSimplexPlacer/lambda$23$Type",1436),g(1437,1,{},Ime),s.Kb=function(n){return As(),new Ue(null,new Ye(u(n,29).a,16))},p(Dr,"NetworkSimplexPlacer/lambda$24$Type",1437),g(1438,1,bt,g8e),s.Mb=function(n){return Yan(this.a,u(n,10))},p(Dr,"NetworkSimplexPlacer/lambda$25$Type",1438),g(1439,1,wn,HEe),s.td=function(n){vjn(this.a,this.b,u(n,10))},p(Dr,"NetworkSimplexPlacer/lambda$26$Type",1439),g(1440,1,bt,Dme),s.Mb=function(n){return As(),!wr(u(n,17))},p(Dr,"NetworkSimplexPlacer/lambda$27$Type",1440),g(1441,1,bt,Lme),s.Mb=function(n){return As(),!wr(u(n,17))},p(Dr,"NetworkSimplexPlacer/lambda$28$Type",1441),g(1442,1,{},p8e),s.Ce=function(n,t){return Khn(this.a,u(n,29),u(t,29))},p(Dr,"NetworkSimplexPlacer/lambda$29$Type",1442),g(1416,1,{},$me),s.Kb=function(n){return As(),new Ue(null,new g0(new En(Sn(vi(u(n,10)).a.Kc(),new J))))},p(Dr,"NetworkSimplexPlacer/lambda$3$Type",1416),g(1417,1,bt,Fme),s.Mb=function(n){return As(),P2n(u(n,17))},p(Dr,"NetworkSimplexPlacer/lambda$4$Type",1417),g(1418,1,wn,m8e),s.td=function(n){zPn(this.a,u(n,17))},p(Dr,"NetworkSimplexPlacer/lambda$5$Type",1418),g(1419,1,{},Nme),s.Kb=function(n){return As(),new Ue(null,new Ye(u(n,29).a,16))},p(Dr,"NetworkSimplexPlacer/lambda$6$Type",1419),g(1420,1,bt,_me),s.Mb=function(n){return As(),u(n,10).k==(dn(),ki)},p(Dr,"NetworkSimplexPlacer/lambda$7$Type",1420),g(1421,1,{},Bme),s.Kb=function(n){return As(),new Ue(null,new g0(new En(Sn(Pa(u(n,10)).a.Kc(),new J))))},p(Dr,"NetworkSimplexPlacer/lambda$8$Type",1421),g(1422,1,bt,Rme),s.Mb=function(n){return As(),Pbn(u(n,17))},p(Dr,"NetworkSimplexPlacer/lambda$9$Type",1422),g(1404,1,Qc,$6e),s.Yf=function(n){return u(S(u(n,37),(re(),eu)),21).Hc((Or(),fo))?lnn:null},s.pf=function(n,t){MAn(u(n,37),t)};var lnn;p(Dr,"SimpleNodePlacer",1404),g(180,1,{180:1},rp),s.Ib=function(){var n;return n="",this.c==(yl(),mb)?n+=Q2:this.c==vh&&(n+=Y2),this.o==(Bf(),_d)?n+=RB:this.o==il?n+="UP":n+="BALANCED",n},p(a1,"BKAlignedLayout",180),g(516,22,{3:1,35:1,22:1,516:1},lU);var vh,mb,ann=zn(a1,"BKAlignedLayout/HDirection",516,Xn,npn,p0n),hnn;g(515,22,{3:1,35:1,22:1,515:1},fU);var _d,il,dnn=zn(a1,"BKAlignedLayout/VDirection",515,Xn,tpn,m0n),bnn;g(1634,1,{},VEe),p(a1,"BKAligner",1634),g(1637,1,{},E_e),p(a1,"BKCompactor",1637),g(654,1,{654:1},Kme),s.a=0,p(a1,"BKCompactor/ClassEdge",654),g(458,1,{458:1},U7e),s.a=null,s.b=0,p(a1,"BKCompactor/ClassNode",458),g(1407,1,Qc,gTe),s.Yf=function(n){return u(S(u(n,37),(re(),eu)),21).Hc((Or(),fo))?wnn:null},s.pf=function(n,t){UIn(this,u(n,37),t)},s.d=!1;var wnn;p(a1,"BKNodePlacer",1407),g(1635,1,{},qme),s.d=0,p(a1,"NeighborhoodInformation",1635),g(1636,1,Ot,v8e),s.ue=function(n,t){return n3n(this,u(n,46),u(t,46))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(a1,"NeighborhoodInformation/NeighborComparator",1636),g(808,1,{}),p(a1,"ThresholdStrategy",808),g(1763,808,{},Z7e),s.bg=function(n,t,i){return this.a.o==(Bf(),il)?ei:bi},s.cg=function(){},p(a1,"ThresholdStrategy/NullThresholdStrategy",1763),g(579,1,{579:1},GEe),s.c=!1,s.d=!1,p(a1,"ThresholdStrategy/Postprocessable",579),g(1764,808,{},eke),s.bg=function(n,t,i){var r,c,o;return c=t==i,r=this.a.a[i.p]==t,c||r?(o=n,this.a.c==(yl(),mb)?(c&&(o=R_(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=R_(this,i,!1))):(c&&(o=R_(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=R_(this,i,!1))),o):n},s.cg=function(){for(var n,t,i,r,c;this.d.b!=0;)c=u(mpn(this.d),579),r=Vqe(this,c),r.a&&(n=r.a,i=ke(this.a.f[this.a.g[c.b.p].p]),!(!i&&!wr(n)&&n.c.i.c==n.d.i.c)&&(t=QRe(this,c),t||rhn(this.e,c)));for(;this.e.a.c.length!=0;)QRe(this,u(sFe(this.e),579))},p(a1,"ThresholdStrategy/SimpleThresholdStrategy",1764),g(635,1,{635:1,246:1,234:1},Hme),s.Kf=function(){return p$e(this)},s.Xf=function(){return p$e(this)};var RH;p(FR,"EdgeRouterFactory",635),g(1458,1,Qc,F6e),s.Yf=function(n){return SSn(u(n,37))},s.pf=function(n,t){LAn(u(n,37),t)};var gnn,pnn,mnn,vnn,ynn,Eae,knn,jnn;p(FR,"OrthogonalEdgeRouter",1458),g(1451,1,Qc,pTe),s.Yf=function(n){return Y8n(u(n,37))},s.pf=function(n,t){eIn(this,u(n,37),t)};var Enn,Tnn,Cnn,Snn,Dj,Mnn;p(FR,"PolylineEdgeRouter",1451),g(1452,1,Cl,Vme),s.Lb=function(n){return BJ(u(n,10))},s.Fb=function(n){return this===n},s.Mb=function(n){return BJ(u(n,10))},p(FR,"PolylineEdgeRouter/1",1452),g(1809,1,bt,Gme),s.Mb=function(n){return u(n,129).c==(yf(),k1)},p(Pf,"HyperEdgeCycleDetector/lambda$0$Type",1809),g(1810,1,{},zme),s.Ge=function(n){return u(n,129).d},p(Pf,"HyperEdgeCycleDetector/lambda$1$Type",1810),g(1811,1,bt,Wme),s.Mb=function(n){return u(n,129).c==(yf(),k1)},p(Pf,"HyperEdgeCycleDetector/lambda$2$Type",1811),g(1812,1,{},Ume),s.Ge=function(n){return u(n,129).d},p(Pf,"HyperEdgeCycleDetector/lambda$3$Type",1812),g(1813,1,{},Xme),s.Ge=function(n){return u(n,129).d},p(Pf,"HyperEdgeCycleDetector/lambda$4$Type",1813),g(1814,1,{},Yme),s.Ge=function(n){return u(n,129).d},p(Pf,"HyperEdgeCycleDetector/lambda$5$Type",1814),g(112,1,{35:1,112:1},P7),s.wd=function(n){return tan(this,u(n,112))},s.Fb=function(n){var t;return _(n,112)?(t=u(n,112),this.g==t.g):!1},s.Hb=function(){return this.g},s.Ib=function(){var n,t,i,r;for(n=new Ms("{"),r=new A(this.n);r.a"+this.b+" ("+d1n(this.c)+")"},s.d=0,p(Pf,"HyperEdgeSegmentDependency",129),g(520,22,{3:1,35:1,22:1,520:1},aU);var k1,ng,Pnn=zn(Pf,"HyperEdgeSegmentDependency/DependencyType",520,Xn,epn,v0n),Ann;g(1815,1,{},y8e),p(Pf,"HyperEdgeSegmentSplitter",1815),g(1816,1,{},Qke),s.a=0,s.b=0,p(Pf,"HyperEdgeSegmentSplitter/AreaRating",1816),g(329,1,{329:1},RL),s.a=0,s.b=0,s.c=0,p(Pf,"HyperEdgeSegmentSplitter/FreeArea",329),g(1817,1,Ot,rve),s.ue=function(n,t){return fdn(u(n,112),u(t,112))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Pf,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),g(1818,1,wn,aAe),s.td=function(n){bmn(this.a,this.d,this.c,this.b,u(n,112))},s.b=0,p(Pf,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),g(1819,1,{},cve),s.Kb=function(n){return new Ue(null,new Ye(u(n,112).e,16))},p(Pf,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),g(1820,1,{},uve),s.Kb=function(n){return new Ue(null,new Ye(u(n,112).j,16))},p(Pf,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),g(1821,1,{},sve),s.Fe=function(n){return ee(he(n))},p(Pf,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),g(655,1,{},l$),s.a=0,s.b=0,s.c=0,p(Pf,"OrthogonalRoutingGenerator",655),g(1638,1,{},ove),s.Kb=function(n){return new Ue(null,new Ye(u(n,112).e,16))},p(Pf,"OrthogonalRoutingGenerator/lambda$0$Type",1638),g(1639,1,{},fve),s.Kb=function(n){return new Ue(null,new Ye(u(n,112).j,16))},p(Pf,"OrthogonalRoutingGenerator/lambda$1$Type",1639),g(661,1,{}),p(NR,"BaseRoutingDirectionStrategy",661),g(1807,661,{},nke),s.dg=function(n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x;if(!(n.r&&!n.q))for(w=t+n.o*i,h=new A(n.n);h.aMl&&(o=w,c=n,r=new je(y,o),st(f.a,r),z0(this,f,c,r,!1),j=n.r,j&&(T=ee(he(Sf(j.e,0))),r=new je(T,o),st(f.a,r),z0(this,f,c,r,!1),o=t+j.o*i,c=j,r=new je(T,o),st(f.a,r),z0(this,f,c,r,!1)),r=new je(x,o),st(f.a,r),z0(this,f,c,r,!1)))},s.eg=function(n){return n.i.n.a+n.n.a+n.a.a},s.fg=function(){return ae(),In},s.gg=function(){return ae(),tn},p(NR,"NorthToSouthRoutingStrategy",1807),g(1808,661,{},tke),s.dg=function(n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x;if(!(n.r&&!n.q))for(w=t-n.o*i,h=new A(n.n);h.aMl&&(o=w,c=n,r=new je(y,o),st(f.a,r),z0(this,f,c,r,!1),j=n.r,j&&(T=ee(he(Sf(j.e,0))),r=new je(T,o),st(f.a,r),z0(this,f,c,r,!1),o=t-j.o*i,c=j,r=new je(T,o),st(f.a,r),z0(this,f,c,r,!1)),r=new je(x,o),st(f.a,r),z0(this,f,c,r,!1)))},s.eg=function(n){return n.i.n.a+n.n.a+n.a.a},s.fg=function(){return ae(),tn},s.gg=function(){return ae(),In},p(NR,"SouthToNorthRoutingStrategy",1808),g(1806,661,{},ike),s.dg=function(n,t,i){var r,c,o,f,l,a,h,w,y,j,T,C,x;if(!(n.r&&!n.q))for(w=t+n.o*i,h=new A(n.n);h.aMl&&(o=w,c=n,r=new je(o,y),st(f.a,r),z0(this,f,c,r,!0),j=n.r,j&&(T=ee(he(Sf(j.e,0))),r=new je(o,T),st(f.a,r),z0(this,f,c,r,!0),o=t+j.o*i,c=j,r=new je(o,T),st(f.a,r),z0(this,f,c,r,!0)),r=new je(o,x),st(f.a,r),z0(this,f,c,r,!0)))},s.eg=function(n){return n.i.n.b+n.n.b+n.a.b},s.fg=function(){return ae(),hn},s.gg=function(){return ae(),sn},p(NR,"WestToEastRoutingStrategy",1806),g(813,1,{},Ote),s.Ib=function(){return i1(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,p(Dw,"NubSpline",813),g(407,1,{407:1},SKe,GAe),p(Dw,"NubSpline/PolarCP",407),g(1453,1,Qc,w_e),s.Yf=function(n){return B7n(u(n,37))},s.pf=function(n,t){vIn(this,u(n,37),t)};var xnn,Onn,Inn,Dnn,Lnn;p(Dw,"SplineEdgeRouter",1453),g(268,1,{268:1},kS),s.Ib=function(){return this.a+" ->("+this.c+") "+this.b},s.c=0,p(Dw,"SplineEdgeRouter/Dependency",268),g(455,22,{3:1,35:1,22:1,455:1},hU);var j1,_p,$nn=zn(Dw,"SplineEdgeRouter/SideToProcess",455,Xn,ipn,y0n),Fnn;g(1454,1,bt,tve),s.Mb=function(n){return N6(),!u(n,128).o},p(Dw,"SplineEdgeRouter/lambda$0$Type",1454),g(1455,1,{},nve),s.Ge=function(n){return N6(),u(n,128).v+1},p(Dw,"SplineEdgeRouter/lambda$1$Type",1455),g(1456,1,wn,zEe),s.td=function(n){xbn(this.a,this.b,u(n,46))},p(Dw,"SplineEdgeRouter/lambda$2$Type",1456),g(1457,1,wn,WEe),s.td=function(n){Obn(this.a,this.b,u(n,46))},p(Dw,"SplineEdgeRouter/lambda$3$Type",1457),g(128,1,{35:1,128:1},HBe,Nte),s.wd=function(n){return ian(this,u(n,128))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,p(Dw,"SplineSegment",128),g(459,1,{459:1},ive),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,p(Dw,"SplineSegment/EdgeInformation",459),g(1234,1,{},Qme),p(fy,Iie,1234),g(1235,1,Ot,Jme),s.ue=function(n,t){return dEn(u(n,135),u(t,135))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(fy,MGe,1235),g(1233,1,{},dje),p(fy,"MrTree",1233),g(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},RT),s.Kf=function(){return bRe(this)},s.Xf=function(){return bRe(this)};var aO,t9,Lj,i9,Tae=zn(fy,"TreeLayoutPhases",393,Xn,X2n,k0n),Nnn;g(1130,209,jd,DSe),s.Ze=function(n,t){var i,r,c,o,f,l,a;for(ke(ye(Ee(n,(G0(),xae))))||iS((i=new c8((Rb(),new Fb(n))),i)),f=(l=new jS,Jr(l,n),te(l,(Oc(),u9),n),a=new $n,rPn(n,l,a),kPn(n,l,a),l),o=bPn(this.a,f),c=new A(o);c.a"+lS(this.c):"e_"+Bt(this)},p(ly,"TEdge",188),g(135,134,{3:1,135:1,94:1,134:1},jS),s.Ib=function(){var n,t,i,r,c;for(c=null,r=ut(this.b,0);r.b!=r.d.c;)i=u(ct(r),86),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` +`;for(t=ut(this.a,0);t.b!=t.d.c;)n=u(ct(t),188),c+=(n.b&&n.c?lS(n.b)+"->"+lS(n.c):"e_"+Bt(n))+` +`;return c};var CDn=p(ly,"TGraph",135);g(633,502,{3:1,502:1,633:1,94:1,134:1}),p(ly,"TShape",633),g(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},RF),s.Ib=function(){return lS(this)};var SDn=p(ly,"TNode",86);g(255,1,Jl,Oh),s.Jc=function(n){er(this,n)},s.Kc=function(){var n;return n=ut(this.a.d,0),new Zp(n)},p(ly,"TNode/2",255),g(358,1,qi,Zp),s.Nb=function(n){Ji(this,n)},s.Pb=function(){return u(ct(this.a),188).c},s.Ob=function(){return gT(this.a)},s.Qb=function(){NS(this.a)},p(ly,"TNode/2/1",358),g(1840,1,ni,ISe),s.pf=function(n,t){NPn(this,u(n,135),t)},p(rm,"FanProcessor",1840),g(327,22,{3:1,35:1,22:1,327:1,234:1},k5),s.Kf=function(){switch(this.g){case 0:return new mke;case 1:return new ISe;case 2:return new hve;case 3:return new lve;case 4:return new bve;case 5:return new wve;default:throw O(new rn(iR+(this.f!=null?this.f:""+this.g)))}};var KH,qH,HH,VH,GH,hO,_nn=zn(rm,Hie,327,Xn,avn,j0n),Bnn;g(1843,1,ni,lve),s.pf=function(n,t){vTn(this,u(n,135),t)},s.a=0,p(rm,"LevelHeightProcessor",1843),g(1844,1,Jl,ave),s.Jc=function(n){er(this,n)},s.Kc=function(){return He(),nv(),Y3},p(rm,"LevelHeightProcessor/1",1844),g(1841,1,ni,hve),s.pf=function(n,t){Sjn(this,u(n,135),t)},s.a=0,p(rm,"NeighborsProcessor",1841),g(1842,1,Jl,dve),s.Jc=function(n){er(this,n)},s.Kc=function(){return He(),nv(),Y3},p(rm,"NeighborsProcessor/1",1842),g(1845,1,ni,bve),s.pf=function(n,t){mTn(this,u(n,135),t)},s.a=0,p(rm,"NodePositionProcessor",1845),g(1839,1,ni,mke),s.pf=function(n,t){VAn(this,u(n,135))},p(rm,"RootProcessor",1839),g(1846,1,ni,wve),s.pf=function(n,t){Z5n(u(n,135))},p(rm,"Untreeifyer",1846);var $j,r9,Rnn,zH,dO,c9,WH,bO,wO,y4,u9,gO,yh,Cae,Knn,UH,tg,XH,Sae;g(851,1,To,L6e),s.Qe=function(n){Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,oce),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),Pae),(lh(),ii)),$ae),_e((Cf(),an))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,fce),""),"Search Order"),"Which search order to use when computing a spanning tree."),Mae),ii),Nae),_e(an)))),RHe((new D6e,n))};var qnn,Mae,Hnn,Pae;p(uA,"MrTreeMetaDataProvider",851),g(994,1,To,D6e),s.Qe=function(n){RHe(n)};var Vnn,Aae,Gnn,znn,Wnn,Unn,xae,Xnn,Oae,Ynn,pO,Iae,Qnn,Dae,Jnn;p(uA,"MrTreeOptions",994),g(995,1,{},gve),s.$e=function(){var n;return n=new DSe,n},s._e=function(n){},p(uA,"MrTreeOptions/MrtreeFactory",995),g(480,22,{3:1,35:1,22:1,480:1},dU);var YH,Lae,$ae=zn(uA,"OrderWeighting",480,Xn,cpn,E0n),Znn;g(425,22,{3:1,35:1,22:1,425:1},bU);var Fae,QH,Nae=zn(uA,"TreeifyingOrder",425,Xn,rpn,C0n),etn;g(1459,1,Qc,T6e),s.Yf=function(n){return u(n,135),ntn},s.pf=function(n,t){J3n(this,u(n,135),t)};var ntn;p("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),g(1460,1,Qc,C6e),s.Yf=function(n){return u(n,135),ttn},s.pf=function(n,t){Fjn(this,u(n,135),t)};var ttn;p("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),g(1461,1,Qc,E6e),s.Yf=function(n){return u(n,135),itn},s.pf=function(n,t){ZSn(this,u(n,135),t)},s.a=0;var itn;p("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),g(1462,1,Qc,S6e),s.Yf=function(n){return u(n,135),rtn},s.pf=function(n,t){C8n(u(n,135),t)};var rtn;p("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462);var s9;g(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},wU),s.Kf=function(){return zFe(this)},s.Xf=function(){return zFe(this)};var mO,k4,_ae=zn(lce,"RadialLayoutPhases",495,Xn,upn,T0n),ctn;g(1131,209,jd,hje),s.Ze=function(n,t){var i,r,c,o,f,l;if(i=XBe(this,n),On(t,"Radial layout",i.c.length),ke(ye(Ee(n,(ww(),Uae))))||iS((r=new c8((Rb(),new Fb(n))),r)),l=q7n(n),Br(n,(N5(),s9),l),!l)throw O(new rn("The given graph is not a tree!"));for(c=ee(he(Ee(n,kO))),c==0&&(c=fRe(n)),Br(n,kO,c),f=new A(XBe(this,n));f.a0&&pFe((Gn(t-1,n.length),n.charCodeAt(t-1)),_Ge);)--t;if(r>=t)throw O(new rn("The given string does not contain any numbers."));if(c=Tw(n.substr(r,t-r),`,|;|\r| +`),c.length!=2)throw O(new rn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=vw(mw(c[0])),this.b=vw(mw(c[1]))}catch(o){throw o=Ht(o),_(o,127)?(i=o,O(new rn(BGe+i))):O(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var Ii=p(Kk,"KVector",8);g(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},Nu,bT,nSe),s.Pc=function(){return a5n(this)},s.Jf=function(n){var t,i,r,c,o,f;r=Tw(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),vo(this);try{for(i=0,o=0,c=0,f=0;i0&&(o%2==0?c=vw(r[i]):f=vw(r[i]),o>0&&o%2!=0&&st(this,new je(c,f)),++o),++i}catch(l){throw l=Ht(l),_(l,127)?(t=l,O(new rn("The given string does not match the expected format for vectors."+t))):O(l)}},s.Ib=function(){var n,t,i;for(n=new Ms("("),t=ut(this,0);t.b!=t.d.c;)i=u(ct(t),8),Qn(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var Whe=p(Kk,"KVectorChain",74);g(248,22,{3:1,35:1,22:1,248:1},j5);var mV,PO,AO,Bj,Rj,xO,Uhe=zn(So,"Alignment",248,Xn,cvn,q0n),Tin;g(979,1,To,R6e),s.Qe=function(n){$qe(n)};var Xhe,vV,Cin,Yhe,Qhe,Sin,Jhe,Min,Pin,Zhe,e1e,Ain;p(So,"BoxLayouterOptions",979),g(980,1,{},f3e),s.$e=function(){var n;return n=new p3e,n},s._e=function(n){},p(So,"BoxLayouterOptions/BoxFactory",980),g(291,22,{3:1,35:1,22:1,291:1},E5);var Kj,yV,qj,Hj,Vj,kV,jV=zn(So,"ContentAlignment",291,Xn,rvn,H0n),xin;g(684,1,To,fz),s.Qe=function(n){Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Lze),""),"Layout Algorithm"),"Select a specific layout algorithm."),(lh(),j4)),ge),_e((Cf(),an))))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,$ze),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),rl),ADn),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Rre),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),n1e),ii),Uhe),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Z2),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Lce),""),"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."),rl),Whe),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,tA),""),"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."),i1e),jm),jV),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Wk),""),"Debug Mode"),"Whether additional debug information shall be generated."),(un(),!1)),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Hre),""),Eie),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),r1e),ii),b9),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Gk),""),"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."),s1e),ii),$V),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,oA),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,nA),""),"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`."),a1e),ii),Y1e),Nt(an,D(I(jh,1),ce,175,0,[Ni]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,J0),""),"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."),k1e),rl),toe),Nt(an,D(I(jh,1),ce,175,0,[Ni]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Bk),""),"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),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,$R),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,iy),""),"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),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,eR),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),S1e),ii),Z1e),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,iA),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),rl),Ii),Nt(Ni,D(I(jh,1),ce,175,0,[Bd,kh]))))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,_k),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Dc),dr),Nt(Ni,D(I(jh,1),ce,175,0,[_l]))))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,NP),""),"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)."),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,ty),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Jre),""),"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."),d1e),rl),Whe),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,nce),""),"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),sr),Si),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,tce),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),sr),Si),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,iDn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),rl),LDn),Nt(an,D(I(jh,1),ce,175,0,[kh]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,rce),""),"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."),b1e),rl),noe),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,_re),""),"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),sr),Si),Nt(Ni,D(I(jh,1),ce,175,0,[_l,Bd,kh]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Fze),""),"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),nc),Ui),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Nze),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,_ze),""),"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'."),le(100)),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Bze),""),"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),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Rze),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),le(4e3)),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Kze),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),le(400)),Dc),dr),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,qze),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Hze),""),"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),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Vze),""),"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),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Gze),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Dce),"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."),t1e),ii),cde),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Sre),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Mre),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,UB),Jf),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Pre),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,ZB),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Are),Jf),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,xre),Jf),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Dre),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Ore),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Ire),Jf),"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),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Ow),Jf),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Lre),Jf),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),nc),Ui),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,$re),Jf),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),nc),Ui),Nt(an,D(I(jh,1),ce,175,0,[Ni]))))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Fre),Jf),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),rl),arn),Nt(Ni,D(I(jh,1),ce,175,0,[_l,Bd,kh]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,cce),Jf),"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."),F1e),rl),noe),_e(an)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,LR),Uze),"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)."),Dc),dr),Nt(an,D(I(jh,1),ce,175,0,[Ni]))))),zi(n,LR,DR,_in),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,DR),Uze),"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."),j1e),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Vre),Xze),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),g1e),rl),toe),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,F3),Xze),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),p1e),jm),Lr),Nt(Ni,D(I(jh,1),ce,175,0,[kh]))))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Wre),lA),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),T1e),ii),m9),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Ure),lA),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ii),m9),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Xre),lA),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ii),m9),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Yre),lA),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ii),m9),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Qre),lA),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ii),m9),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,hp),eK),"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."),m1e),jm),k9),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,em),eK),"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."),y1e),jm),nde),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,nm),eK),"Node Size Minimum"),"The minimal size to which a node can be reduced."),v1e),rl),Ii),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,IR),eK),"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),sr),Si),_e(an)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Zre),OR),"Edge Label Placement"),"Gives a hint on where to put edge labels."),c1e),ii),_1e),_e(kh)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,_P),OR),"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),sr),Si),_e(kh)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,rDn),"font"),"Font Name"),"Font name used for a label."),j4),ge),_e(kh)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,zze),"font"),"Font Size"),"Font size used for a label."),Dc),dr),_e(kh)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,ice),nK),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),rl),Ii),_e(Bd)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,ece),nK),"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."),Dc),dr),_e(Bd)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Bre),nK),"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."),A1e),ii),yr),_e(Bd)))),Ne(n,new Pe($e(Le(Fe(xe(De(Oe(Ie(new Me,Nre),nK),"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."),nc),Ui),_e(Bd)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,N3),$ce),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),M1e),jm),_O),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Gre),$ce),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),sr),Si),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,zre),$ce),"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),sr),Si),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Kre),Yze),"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),sr),Si),_e(Ni)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,qre),Yze),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),sr),Si),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,XB),"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),nc),Ui),_e(_l)))),Ne(n,new Pe($e(Le(Fe(We(xe(De(Oe(Ie(new Me,Wze),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),f1e),ii),V1e),_e(_l)))),a5(n,new T2(c5(Qm(Ym(new Qp,bn),"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.'))),a5(n,new T2(c5(Qm(Ym(new Qp,"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.`))),a5(n,new T2(c5(Qm(Ym(new Qp,_s),"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."))),a5(n,new T2(c5(Qm(Ym(new Qp,"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."))),a5(n,new T2(c5(Qm(Ym(new Qp,yze),"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."))),a5(n,new T2(c5(Qm(Ym(new Qp,"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."))),a5(n,new T2(c5(Qm(Ym(new Qp,Ol),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),yqe((new K6e,n)),$qe((new R6e,n)),YKe((new q6e,n))};var h9,Oin,n1e,Em,Iin,Din,t1e,Lin,OO,i1e,Gj,vb,r1e,EV,TV,c1e,u1e,s1e,o1e,f1e,l1e,Rp,a1e,$in,zj,CV,IO,h1e,Kp,d1e,Wj,b1e,w1e,g1e,qp,p1e,Rd,m1e,DO,Hp,v1e,E1,y1e,LO,Uj,Kd,k1e,Fin,j1e,Nin,_in,E1e,T1e,SV,MV,PV,AV,C1e,as,d9,S1e,xV,OV,ig,M1e,P1e,Vp,A1e,Tm,$O,IV,E4,Bin,DV,Rin,Kin,x1e,qin,O1e,Hin,Cm,I1e,FO,D1e,L1e,qd,Vin,$1e,F1e,N1e;p(So,"CoreOptions",684),g(103,22,{3:1,35:1,22:1,103:1},P8);var _a,Io,of,ua,Ba,b9=zn(So,Eie,103,Xn,Mmn,z0n),Gin;g(272,22,{3:1,35:1,22:1,272:1},sL);var T4,rg,C4,_1e=zn(So,"EdgeLabelPlacement",272,Xn,s2n,W0n),zin;g(218,22,{3:1,35:1,22:1,218:1},qT);var S4,Xj,Sm,LV,$V=zn(So,"EdgeRouting",218,Xn,Z2n,U0n),Win;g(312,22,{3:1,35:1,22:1,312:1},T5);var B1e,R1e,K1e,q1e,FV,H1e,V1e=zn(So,"EdgeType",312,Xn,dvn,X0n),Uin;g(977,1,To,K6e),s.Qe=function(n){yqe(n)};var G1e,z1e,W1e,U1e,Xin,X1e,w9;p(So,"FixedLayouterOptions",977),g(978,1,{},j3e),s.$e=function(){var n;return n=new w3e,n},s._e=function(n){},p(So,"FixedLayouterOptions/FixedFactory",978),g(334,22,{3:1,35:1,22:1,334:1},oL);var Eh,NO,g9,Y1e=zn(So,"HierarchyHandling",334,Xn,u2n,Y0n),Yin;g(285,22,{3:1,35:1,22:1,285:1},HT);var sa,T1,Yj,Qj,Qin=zn(So,"LabelSide",285,Xn,J2n,Q0n),Jin;g(93,22,{3:1,35:1,22:1,93:1},Eg);var Ra,ff,Do,lf,qs,af,Lo,oa,hf,Lr=zn(So,"NodeLabelPlacement",93,Xn,g3n,J0n),Zin;g(249,22,{3:1,35:1,22:1,249:1},A8);var Q1e,p9,C1,J1e,Jj,m9=zn(So,"PortAlignment",249,Xn,Pmn,Z0n),ern;g(98,22,{3:1,35:1,22:1,98:1},C5);var Hd,nu,fa,M4,cl,S1,Z1e=zn(So,"PortConstraints",98,Xn,Ymn,ebn),nrn;g(273,22,{3:1,35:1,22:1,273:1},S5);var v9,y9,Ka,Zj,M1,Mm,_O=zn(So,"PortLabelPlacement",273,Xn,hvn,nbn),trn;g(61,22,{3:1,35:1,22:1,61:1},x8);var hn,tn,lo,ao,Iu,pu,ul,df,ns,Wu,tu,ts,Du,Lu,bf,Hs,Vs,$o,In,pc,sn,yr=zn(So,"PortSide",61,Xn,Tmn,rbn),irn;g(981,1,To,q6e),s.Qe=function(n){YKe(n)};var rrn,crn,ede,urn,srn;p(So,"RandomLayouterOptions",981),g(982,1,{},E3e),s.$e=function(){var n;return n=new S3e,n},s._e=function(n){},p(So,"RandomLayouterOptions/RandomFactory",982),g(374,22,{3:1,35:1,22:1,374:1},VT);var cg,eE,nE,Vd,k9=zn(So,"SizeConstraint",374,Xn,Q2n,tbn),orn;g(259,22,{3:1,35:1,22:1,259:1},Tg);var tE,BO,P4,NV,iE,j9,RO,KO,qO,nde=zn(So,"SizeOptions",259,Xn,E3n,ibn),frn;g(370,1,{1949:1},Wm),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,p(Bc,"BasicProgressMonitor",370),g(972,209,jd,p3e),s.Ze=function(n,t){var i,r,c,o,f,l,a,h,w;switch(On(t,"Box layout",2),c=f8(he(Ee(n,(XM(),Ain)))),o=u(Ee(n,Pin),116),i=ke(ye(Ee(n,Yhe))),r=ke(ye(Ee(n,Qhe))),u(Ee(n,vV),311).g){case 0:f=(l=new Ru((!n.a&&(n.a=new fe(Qt,n,10,11)),n.a)),He(),Li(l,new I8e(r)),l),a=gne(n),h=he(Ee(n,Xhe)),(h==null||(nn(h),h<=0))&&(h=1.3),w=oIn(f,c,o,a.a,a.b,i,(nn(h),h)),U0(n,w.a,w.b,!1,!0);break;default:rxn(n,c,o,i)}Tn(t)},p(Bc,"BoxLayoutProvider",972),g(973,1,Ot,I8e),s.ue=function(n,t){return SCn(this,u(n,33),u(t,33))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},s.a=!1,p(Bc,"BoxLayoutProvider/1",973),g(157,1,{157:1},RS,eSe),s.Ib=function(){return this.c?wte(this.c):i1(this.b)},p(Bc,"BoxLayoutProvider/Group",157),g(311,22,{3:1,35:1,22:1,311:1},GT);var tde,ide,rde,_V,cde=zn(Bc,"BoxLayoutProvider/PackingMode",311,Xn,emn,cbn),lrn;g(974,1,Ot,m3e),s.ue=function(n,t){return Agn(u(n,157),u(t,157))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Bc,"BoxLayoutProvider/lambda$0$Type",974),g(975,1,Ot,v3e),s.ue=function(n,t){return jgn(u(n,157),u(t,157))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Bc,"BoxLayoutProvider/lambda$1$Type",975),g(976,1,Ot,y3e),s.ue=function(n,t){return Egn(u(n,157),u(t,157))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Bc,"BoxLayoutProvider/lambda$2$Type",976),g(1365,1,{831:1},k3e),s.qg=function(n,t){return ST(),!_(t,160)||lje((L2(),u(n,160)),t)},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),g(1366,1,wn,D8e),s.td=function(n){d5n(this.a,u(n,146))},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),g(1367,1,wn,g3e),s.td=function(n){u(n,94),ST()},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),g(1371,1,wn,L8e),s.td=function(n){_3n(this.a,u(n,94))},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),g(1369,1,bt,YEe),s.Mb=function(n){return Z4n(this.a,this.b,u(n,146))},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),g(1368,1,bt,QEe),s.Mb=function(n){return g1n(this.a,this.b,u(n,831))},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),g(1370,1,wn,JEe),s.td=function(n){gwn(this.a,this.b,u(n,146))},p(Bc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),g(935,1,{},b3e),s.Kb=function(n){return JTe(n)},s.Fb=function(n){return this===n},p(Bc,"ElkUtil/lambda$0$Type",935),g(936,1,wn,ZEe),s.td=function(n){PEn(this.a,this.b,u(n,79))},s.a=0,s.b=0,p(Bc,"ElkUtil/lambda$1$Type",936),g(937,1,wn,eTe),s.td=function(n){Pln(this.a,this.b,u(n,202))},s.a=0,s.b=0,p(Bc,"ElkUtil/lambda$2$Type",937),g(938,1,wn,nTe),s.td=function(n){vhn(this.a,this.b,u(n,137))},s.a=0,s.b=0,p(Bc,"ElkUtil/lambda$3$Type",938),g(939,1,wn,$8e),s.td=function(n){Ibn(this.a,u(n,469))},p(Bc,"ElkUtil/lambda$4$Type",939),g(342,1,{35:1,342:1},rln),s.wd=function(n){return Whn(this,u(n,236))},s.Fb=function(n){var t;return _(n,342)?(t=u(n,342),this.a==t.a):!1},s.Hb=function(){return oi(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,p(Bc,"ExclusiveBounds/ExclusiveLowerBound",342),g(1138,209,jd,w3e),s.Ze=function(n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q,R,z,Z,ue,we,Te,Ae;for(On(t,"Fixed Layout",1),o=u(Ee(n,(dt(),u1e)),218),y=0,j=0,R=new jn((!n.a&&(n.a=new fe(Qt,n,10,11)),n.a));R.e!=R.i.gc();){for($=u(Pn(R),33),Ae=u(Ee($,(lM(),w9)),8),Ae&&($f($,Ae.a,Ae.b),u(Ee($,z1e),174).Hc((Ts(),cg))&&(T=u(Ee($,U1e),8),T.a>0&&T.b>0&&U0($,T.a,T.b,!0,!0))),y=k.Math.max(y,$.i+$.g),j=k.Math.max(j,$.j+$.f),h=new jn((!$.n&&($.n=new fe(oc,$,1,7)),$.n));h.e!=h.i.gc();)l=u(Pn(h),137),Ae=u(Ee(l,w9),8),Ae&&$f(l,Ae.a,Ae.b),y=k.Math.max(y,$.i+l.i+l.g),j=k.Math.max(j,$.j+l.j+l.f);for(ue=new jn((!$.c&&($.c=new fe(hs,$,9,9)),$.c));ue.e!=ue.i.gc();)for(Z=u(Pn(ue),118),Ae=u(Ee(Z,w9),8),Ae&&$f(Z,Ae.a,Ae.b),we=$.i+Z.i,Te=$.j+Z.j,y=k.Math.max(y,we+Z.g),j=k.Math.max(j,Te+Z.f),a=new jn((!Z.n&&(Z.n=new fe(oc,Z,1,7)),Z.n));a.e!=a.i.gc();)l=u(Pn(a),137),Ae=u(Ee(l,w9),8),Ae&&$f(l,Ae.a,Ae.b),y=k.Math.max(y,we+l.i+l.g),j=k.Math.max(j,Te+l.j+l.f);for(c=new En(Sn(Oa($).a.Kc(),new J));Wn(c);)i=u(_n(c),79),w=aVe(i),y=k.Math.max(y,w.a),j=k.Math.max(j,w.b);for(r=new En(Sn(ak($).a.Kc(),new J));Wn(r);)i=u(_n(r),79),Xt(Yl(i))!=n&&(w=aVe(i),y=k.Math.max(y,w.a),j=k.Math.max(j,w.b))}if(o==(Aa(),S4))for(q=new jn((!n.a&&(n.a=new fe(Qt,n,10,11)),n.a));q.e!=q.i.gc();)for($=u(Pn(q),33),r=new En(Sn(Oa($).a.Kc(),new J));Wn(r);)i=u(_n(r),79),f=CPn(i),f.b==0?Br(i,Kp,null):Br(i,Kp,f);ke(ye(Ee(n,(lM(),W1e))))||(z=u(Ee(n,Xin),116),x=y+z.b+z.c,C=j+z.d+z.a,U0(n,x,C,!0,!0)),Tn(t)},p(Bc,"FixedLayoutProvider",1138),g(373,134,{3:1,414:1,373:1,94:1,134:1},JI,PDe),s.Jf=function(n){var t,i,r,c,o,f,l,a,h;if(n)try{for(a=Tw(n,";,;"),o=a,f=0,l=o.length;f>16&li|t^r<<16},s.Kc=function(){return new F8e(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+uc(this.b)+")":this.b==null?"pair("+uc(this.a)+",null)":"pair("+uc(this.a)+","+uc(this.b)+")"},p(Bc,"Pair",46),g(983,1,qi,F8e),s.Nb=function(n){Ji(this,n)},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;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw O(new Ac)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),O(new Fu)},s.b=!1,s.c=!1,p(Bc,"Pair/1",983),g(448,1,{448:1},hAe),s.Fb=function(n){return Gc(this.a,u(n,448).a)&&Gc(this.c,u(n,448).c)&&Gc(this.d,u(n,448).d)&&Gc(this.b,u(n,448).b)},s.Hb=function(){return aM(D(I(pn,1),pe,1,5,[this.a,this.c,this.d,this.b]))},s.Ib=function(){return"("+this.a+mr+this.c+mr+this.d+mr+this.b+")"},p(Bc,"Quadruple",448),g(1126,209,jd,S3e),s.Ze=function(n,t){var i,r,c,o,f;if(On(t,"Random Layout",1),(!n.a&&(n.a=new fe(Qt,n,10,11)),n.a).i==0){Tn(t);return}o=u(Ee(n,(zZ(),urn)),19),o&&o.a!=0?c=new mS(o.a):c=new sN,i=f8(he(Ee(n,rrn))),f=f8(he(Ee(n,srn))),r=u(Ee(n,crn),116),BOn(n,c,i,f,r),Tn(t)},p(Bc,"RandomLayoutProvider",1126);var brn;g(553,1,{}),s.qf=function(){return new je(this.f.i,this.f.j)},s.We=function(n){return _Ae(n,(dt(),as))?Ee(this.f,wrn):Ee(this.f,n)},s.rf=function(){return new je(this.f.g,this.f.f)},s.sf=function(){return this.g},s.Xe=function(n){return td(this.f,n)},s.tf=function(n){Mu(this.f,n.a),Pu(this.f,n.b)},s.uf=function(n){O0(this.f,n.a),x0(this.f,n.b)},s.vf=function(n){this.g=n},s.g=0;var wrn;p(dy,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),g(554,1,{839:1},eT),s.wf=function(){var n,t;if(!this.b)for(this.b=bS(zC(this.a).i),t=new jn(zC(this.a));t.e!=t.i.gc();)n=u(Pn(t),137),se(this.b,new TD(n));return this.b},s.b=null,p(dy,"ElkGraphAdapters/ElkEdgeAdapter",554),g(301,553,{},Fb),s.xf=function(){return h_e(this)},s.a=null,p(dy,"ElkGraphAdapters/ElkGraphAdapter",301),g(630,553,{181:1},TD),p(dy,"ElkGraphAdapters/ElkLabelAdapter",630),g(629,553,{680:1},EL),s.wf=function(){return K9n(this)},s.Af=function(){var n;return n=u(Ee(this.f,(dt(),Wj)),142),!n&&(n=new Q4),n},s.Cf=function(){return q9n(this)},s.Ef=function(n){var t;t=new _L(n),Br(this.f,(dt(),Wj),t)},s.Ff=function(n){Br(this.f,(dt(),Kd),new KX(n))},s.yf=function(){return this.d},s.zf=function(){var n,t;if(!this.a)for(this.a=new oe,t=new En(Sn(ak(u(this.f,33)).a.Kc(),new J));Wn(t);)n=u(_n(t),79),se(this.a,new eT(n));return this.a},s.Bf=function(){var n,t;if(!this.c)for(this.c=new oe,t=new En(Sn(Oa(u(this.f,33)).a.Kc(),new J));Wn(t);)n=u(_n(t),79),se(this.c,new eT(n));return this.c},s.Df=function(){return JC(u(this.f,33)).i!=0||ke(ye(u(this.f,33).We((dt(),zj))))},s.Gf=function(){Ivn(this,(Rb(),brn))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,p(dy,"ElkGraphAdapters/ElkNodeAdapter",629),g(1266,553,{838:1},a7e),s.wf=function(){return Y9n(this)},s.zf=function(){var n,t;if(!this.a)for(this.a=Kl(u(this.f,118).xg().i),t=new jn(u(this.f,118).xg());t.e!=t.i.gc();)n=u(Pn(t),79),se(this.a,new eT(n));return this.a},s.Bf=function(){var n,t;if(!this.c)for(this.c=Kl(u(this.f,118).yg().i),t=new jn(u(this.f,118).yg());t.e!=t.i.gc();)n=u(Pn(t),79),se(this.c,new eT(n));return this.c},s.Hf=function(){return u(u(this.f,118).We((dt(),Vp)),61)},s.If=function(){var n,t,i,r,c,o,f,l;for(r=_f(u(this.f,118)),i=new jn(u(this.f,118).yg());i.e!=i.i.gc();)for(n=u(Pn(i),79),l=new jn((!n.c&&(n.c=new Xe(xn,n,5,8)),n.c));l.e!=l.i.gc();){if(f=u(Pn(l),82),sw(Zr(f),r))return!0;if(Zr(f)==r&&ke(ye(Ee(n,(dt(),CV)))))return!0}for(t=new jn(u(this.f,118).xg());t.e!=t.i.gc();)for(n=u(Pn(t),79),o=new jn((!n.b&&(n.b=new Xe(xn,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(Pn(o),82),sw(Zr(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,p(dy,"ElkGraphAdapters/ElkPortAdapter",1266),g(1267,1,Ot,M3e),s.ue=function(n,t){return mMn(u(n,118),u(t,118))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(dy,"ElkGraphAdapters/PortComparator",1267);var P1=Vt(uo,"EObject"),A4=Vt(gp,Zze),Fo=Vt(gp,eWe),rE=Vt(gp,nWe),cE=Vt(gp,"ElkShape"),xn=Vt(gp,tWe),Di=Vt(gp,Fce),zt=Vt(gp,iWe),uE=Vt(uo,rWe),E9=Vt(uo,"EFactory"),grn,BV=Vt(uo,cWe),If=Vt(uo,"EPackage"),_i,prn,mrn,fde,HO,vrn,lde,ade,hde,A1,yrn,krn,oc=Vt(gp,Nce),Qt=Vt(gp,_ce),hs=Vt(gp,Bce);g(90,1,uWe),s.Jg=function(){return this.Kg(),null},s.Kg=function(){return null},s.Lg=function(){return this.Kg(),!1},s.Mg=function(){return!1},s.Ng=function(n){yt(this,n)},p(cm,"BasicNotifierImpl",90),g(97,90,lWe),s.nh=function(){return ps(this)},s.Og=function(n,t){return n},s.Pg=function(){throw O(new Kn)},s.Qg=function(n){var t;return t=Tr(u(ze(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,n)},s.Rg=function(n,t){throw O(new Kn)},s.Sg=function(n,t,i){return Ns(this,n,t,i)},s.Tg=function(){var n;return this.Pg()&&(n=this.Pg().ck(),n)?n:this.zh()},s.Ug=function(){return l_(this)},s.Vg=function(){throw O(new Kn)},s.Wg=function(){var n,t;return t=this.ph().dk(),!t&&this.Pg().ik(t=(h5(),n=rQ(jl(this.Tg())),n==null?WV:new D8(this,n))),t},s.Xg=function(n,t){return n},s.Yg=function(n){var t;return t=n.Gj(),t?n.aj():qt(this.Tg(),n)},s.Zg=function(){var n;return n=this.Pg(),n?n.fk():null},s.$g=function(){return this.Pg()?this.Pg().ck():null},s._g=function(n,t,i){return DM(this,n,t,i)},s.ah=function(n){return Av(this,n)},s.bh=function(n,t){return nF(this,n,t)},s.dh=function(){var n;return n=this.Pg(),!!n&&n.gk()},s.eh=function(){throw O(new Kn)},s.fh=function(){return SM(this)},s.gh=function(n,t,i,r){return _2(this,n,t,r)},s.hh=function(n,t,i){var r;return r=u(ze(this.Tg(),t),66),r.Nj().Qj(this,this.yh(),t-this.Ah(),n,i)},s.ih=function(n,t,i,r){return tS(this,n,t,r)},s.jh=function(n,t,i){var r;return r=u(ze(this.Tg(),t),66),r.Nj().Rj(this,this.yh(),t-this.Ah(),n,i)},s.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},s.lh=function(n){return kN(this,n)},s.mh=function(n){return nxe(this,n)},s.oh=function(n){return SHe(this,n)},s.ph=function(){throw O(new Kn)},s.qh=function(){return this.Pg()?this.Pg().ek():null},s.rh=function(){return SM(this)},s.sh=function(n,t){c_(this,n,t)},s.th=function(n){this.ph().hk(n)},s.uh=function(n){this.ph().kk(n)},s.vh=function(n){this.ph().jk(n)},s.wh=function(n,t){var i,r,c,o;return o=this.Zg(),o&&n&&(t=ar(o.Vk(),this,t),o.Zk(this)),r=this.eh(),r&&(S_(this,this.eh(),this.Vg()).Bb&vr?(c=r.fh(),c&&(n?!o&&c.Zk(this):c.Yk(this))):(t=(i=this.Vg(),i>=0?this.Qg(t):this.eh().ih(this,-1-i,null,t)),t=this.Sg(null,-1,t))),this.uh(n),t},s.xh=function(n){var t,i,r,c,o,f,l,a;if(i=this.Tg(),o=qt(i,n),t=this.Ah(),o>=t)return u(n,66).Nj().Uj(this,this.yh(),o-t);if(o<=-1)if(f=up((Hu(),tr),i,n),f){if(jr(),u(f,66).Oj()||(f=C2(zr(tr,f))),c=(r=this.Yg(f),u(r>=0?this._g(r,!0,!0):V0(this,f,!0),153)),a=f.Zj(),a>1||a==-1)return u(u(c,215).hl(n,!1),76)}else throw O(new rn(h1+n.ne()+tK));else if(n.$j())return r=this.Yg(n),u(r>=0?this._g(r,!1,!0):V0(this,n,!1),76);return l=new kTe(this,n),l},s.yh=function(){return cJ(this)},s.zh=function(){return(Gh(),Je).S},s.Ah=function(){return vn(this.zh())},s.Bh=function(n){e_(this,n)},s.Ib=function(){return nf(this)},p(Ze,"BasicEObjectImpl",97);var jrn;g(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),s.Ch=function(n){var t;return t=uJ(this),t[n]},s.Dh=function(n,t){var i;i=uJ(this),Ut(i,n,t)},s.Eh=function(n){var t;t=uJ(this),Ut(t,n,null)},s.Jg=function(){return u(en(this,4),126)},s.Kg=function(){throw O(new Kn)},s.Lg=function(){return(this.Db&4)!=0},s.Pg=function(){throw O(new Kn)},s.Fh=function(n){N2(this,2,n)},s.Rg=function(n,t){this.Db=t<<16|this.Db&255,this.Fh(n)},s.Tg=function(){return Eu(this)},s.Vg=function(){return this.Db>>16},s.Wg=function(){var n,t;return h5(),t=rQ(jl((n=u(en(this,16),26),n||this.zh()))),t==null?WV:new D8(this,t)},s.Mg=function(){return(this.Db&1)==0},s.Zg=function(){return u(en(this,128),1935)},s.$g=function(){return u(en(this,16),26)},s.dh=function(){return(this.Db&32)!=0},s.eh=function(){return u(en(this,2),49)},s.kh=function(){return(this.Db&64)!=0},s.ph=function(){throw O(new Kn)},s.qh=function(){return u(en(this,64),281)},s.th=function(n){N2(this,16,n)},s.uh=function(n){N2(this,128,n)},s.vh=function(n){N2(this,64,n)},s.yh=function(){return hu(this)},s.Db=0,p(Ze,"MinimalEObjectImpl",114),g(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s.Fh=function(n){this.Cb=n},s.eh=function(){return this.Cb},p(Ze,"MinimalEObjectImpl/Container",115),g(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(n,t,i){return pee(this,n,t,i)},s.jh=function(n,t,i){return cne(this,n,t,i)},s.lh=function(n){return gQ(this,n)},s.sh=function(n,t){tZ(this,n,t)},s.zh=function(){return uu(),krn},s.Bh=function(n){GJ(this,n)},s.Ve=function(){return DNe(this)},s.We=function(n){return Ee(this,n)},s.Xe=function(n){return td(this,n)},s.Ye=function(n,t){return Br(this,n,t)},p(Cd,"EMapPropertyHolderImpl",1985),g(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},HE),s._g=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return DM(this,n,t,i)},s.lh=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return kN(this,n)},s.sh=function(n,t){switch(n){case 0:KS(this,ee(he(t)));return;case 1:qS(this,ee(he(t)));return}c_(this,n,t)},s.zh=function(){return uu(),prn},s.Bh=function(n){switch(n){case 0:KS(this,0);return;case 1:qS(this,0);return}e_(this,n)},s.Ib=function(){var n;return this.Db&64?nf(this):(n=new po(nf(this)),n.a+=" (x: ",kg(n,this.a),n.a+=", y: ",kg(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,p(Cd,"ElkBendPointImpl",567),g(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(n,t,i){return kZ(this,n,t,i)},s.hh=function(n,t,i){return UN(this,n,t,i)},s.jh=function(n,t,i){return IF(this,n,t,i)},s.lh=function(n){return NJ(this,n)},s.sh=function(n,t){Fee(this,n,t)},s.zh=function(){return uu(),vrn},s.Bh=function(n){pZ(this,n)},s.zg=function(){return this.k},s.Ag=function(){return zC(this)},s.Ib=function(){return cN(this)},s.k=null,p(Cd,"ElkGraphElementImpl",723),g(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(n,t,i){return OZ(this,n,t,i)},s.lh=function(n){return _Z(this,n)},s.sh=function(n,t){Nee(this,n,t)},s.zh=function(){return uu(),yrn},s.Bh=function(n){HZ(this,n)},s.Bg=function(){return this.f},s.Cg=function(){return this.g},s.Dg=function(){return this.i},s.Eg=function(){return this.j},s.Fg=function(n,t){ZT(this,n,t)},s.Gg=function(n,t){$f(this,n,t)},s.Hg=function(n){Mu(this,n)},s.Ig=function(n){Pu(this,n)},s.Ib=function(){return ZN(this)},s.f=0,s.g=0,s.i=0,s.j=0,p(Cd,"ElkShapeImpl",724),g(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(n,t,i){return aee(this,n,t,i)},s.hh=function(n,t,i){return xee(this,n,t,i)},s.jh=function(n,t,i){return Oee(this,n,t,i)},s.lh=function(n){return eZ(this,n)},s.sh=function(n,t){Rne(this,n,t)},s.zh=function(){return uu(),mrn},s.Bh=function(n){iee(this,n)},s.xg=function(){return!this.d&&(this.d=new Xe(Di,this,8,5)),this.d},s.yg=function(){return!this.e&&(this.e=new Xe(Di,this,7,4)),this.e},p(Cd,"ElkConnectableShapeImpl",725),g(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},rz),s.Qg=function(n){return See(this,n)},s._g=function(n,t,i){switch(n){case 3:return t7(this);case 4:return!this.b&&(this.b=new Xe(xn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Xe(xn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new fe(zt,this,6,6)),this.a;case 7:return un(),!this.b&&(this.b=new Xe(xn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Xe(xn,this,5,8)),this.c.i<=1));case 8:return un(),!!$6(this);case 9:return un(),!!H0(this);case 10:return un(),!this.b&&(this.b=new Xe(xn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Xe(xn,this,5,8)),this.c.i!=0)}return kZ(this,n,t,i)},s.hh=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?See(this,i):this.Cb.ih(this,-1-r,null,i))),vX(this,u(n,33),i);case 4:return!this.b&&(this.b=new Xe(xn,this,4,7)),cu(this.b,n,i);case 5:return!this.c&&(this.c=new Xe(xn,this,5,8)),cu(this.c,n,i);case 6:return!this.a&&(this.a=new fe(zt,this,6,6)),cu(this.a,n,i)}return UN(this,n,t,i)},s.jh=function(n,t,i){switch(t){case 3:return vX(this,null,i);case 4:return!this.b&&(this.b=new Xe(xn,this,4,7)),ar(this.b,n,i);case 5:return!this.c&&(this.c=new Xe(xn,this,5,8)),ar(this.c,n,i);case 6:return!this.a&&(this.a=new fe(zt,this,6,6)),ar(this.a,n,i)}return IF(this,n,t,i)},s.lh=function(n){switch(n){case 3:return!!t7(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 Xe(xn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Xe(xn,this,5,8)),this.c.i<=1));case 8:return $6(this);case 9:return H0(this);case 10:return!this.b&&(this.b=new Xe(xn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Xe(xn,this,5,8)),this.c.i!=0)}return NJ(this,n)},s.sh=function(n,t){switch(n){case 3:g_(this,u(t,33));return;case 4:!this.b&&(this.b=new Xe(xn,this,4,7)),Dn(this.b),!this.b&&(this.b=new Xe(xn,this,4,7)),Jt(this.b,u(t,14));return;case 5:!this.c&&(this.c=new Xe(xn,this,5,8)),Dn(this.c),!this.c&&(this.c=new Xe(xn,this,5,8)),Jt(this.c,u(t,14));return;case 6:!this.a&&(this.a=new fe(zt,this,6,6)),Dn(this.a),!this.a&&(this.a=new fe(zt,this,6,6)),Jt(this.a,u(t,14));return}Fee(this,n,t)},s.zh=function(){return uu(),fde},s.Bh=function(n){switch(n){case 3:g_(this,null);return;case 4:!this.b&&(this.b=new Xe(xn,this,4,7)),Dn(this.b);return;case 5:!this.c&&(this.c=new Xe(xn,this,5,8)),Dn(this.c);return;case 6:!this.a&&(this.a=new fe(zt,this,6,6)),Dn(this.a);return}pZ(this,n)},s.Ib=function(){return aHe(this)},p(Cd,"ElkEdgeImpl",352),g(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},VE),s.Qg=function(n){return jee(this,n)},s._g=function(n,t,i){switch(n){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 gi(Fo,this,5)),this.a;case 6:return JAe(this);case 7:return t?SN(this):this.i;case 8:return t?CN(this):this.f;case 9:return!this.g&&(this.g=new Xe(zt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Xe(zt,this,10,9)),this.e;case 11:return this.d}return pee(this,n,t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?jee(this,i):this.Cb.ih(this,-1-c,null,i))),yX(this,u(n,79),i);case 9:return!this.g&&(this.g=new Xe(zt,this,9,10)),cu(this.g,n,i);case 10:return!this.e&&(this.e=new Xe(zt,this,10,9)),cu(this.e,n,i)}return o=u(ze((r=u(en(this,16),26),r||(uu(),HO)),t),66),o.Nj().Qj(this,hu(this),t-vn((uu(),HO)),n,i)},s.jh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new gi(Fo,this,5)),ar(this.a,n,i);case 6:return yX(this,null,i);case 9:return!this.g&&(this.g=new Xe(zt,this,9,10)),ar(this.g,n,i);case 10:return!this.e&&(this.e=new Xe(zt,this,10,9)),ar(this.e,n,i)}return cne(this,n,t,i)},s.lh=function(n){switch(n){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!!JAe(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 gQ(this,n)},s.sh=function(n,t){switch(n){case 1:$v(this,ee(he(t)));return;case 2:Nv(this,ee(he(t)));return;case 3:Lv(this,ee(he(t)));return;case 4:Fv(this,ee(he(t)));return;case 5:!this.a&&(this.a=new gi(Fo,this,5)),Dn(this.a),!this.a&&(this.a=new gi(Fo,this,5)),Jt(this.a,u(t,14));return;case 6:hKe(this,u(t,79));return;case 7:WS(this,u(t,82));return;case 8:zS(this,u(t,82));return;case 9:!this.g&&(this.g=new Xe(zt,this,9,10)),Dn(this.g),!this.g&&(this.g=new Xe(zt,this,9,10)),Jt(this.g,u(t,14));return;case 10:!this.e&&(this.e=new Xe(zt,this,10,9)),Dn(this.e),!this.e&&(this.e=new Xe(zt,this,10,9)),Jt(this.e,u(t,14));return;case 11:PJ(this,Vn(t));return}tZ(this,n,t)},s.zh=function(){return uu(),HO},s.Bh=function(n){switch(n){case 1:$v(this,0);return;case 2:Nv(this,0);return;case 3:Lv(this,0);return;case 4:Fv(this,0);return;case 5:!this.a&&(this.a=new gi(Fo,this,5)),Dn(this.a);return;case 6:hKe(this,null);return;case 7:WS(this,null);return;case 8:zS(this,null);return;case 9:!this.g&&(this.g=new Xe(zt,this,9,10)),Dn(this.g);return;case 10:!this.e&&(this.e=new Xe(zt,this,10,9)),Dn(this.e);return;case 11:PJ(this,null);return}GJ(this,n)},s.Ib=function(){return xRe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,p(Cd,"ElkEdgeSectionImpl",439),g(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),s._g=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab):eo(this,n-vn(this.zh()),ze((r=u(en(this,16),26),r||this.zh()),n),t,i)},s.hh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i)):(c=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),c.Nj().Qj(this,hu(this),t-vn(this.zh()),n,i))},s.jh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i)):(c=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),c.Nj().Rj(this,hu(this),t-vn(this.zh()),n,i))},s.lh=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Js(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.oh=function(n){return Ute(this,n)},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return}co(this,n-vn(this.zh()),ze((i=u(en(this,16),26),i||this.zh()),n),t)},s.uh=function(n){N2(this,128,n)},s.zh=function(){return qe(),Rrn},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return}io(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.Gh=function(){this.Bb|=1},s.Hh=function(n){return R6(this,n)},s.Bb=0,p(Ze,"EModelElementImpl",150),g(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},lz),s.Ih=function(n,t){return KHe(this,n,t)},s.Jh=function(n){var t,i,r,c,o;if(this.a!=Is(n)||n.Bb&256)throw O(new rn(rK+n.zb+tb));for(r=Yr(n);Kc(r.a).i!=0;){if(i=u(jk(r,0,(t=u(K(Kc(r.a),0),87),o=t.c,_(o,88)?u(o,26):(qe(),Ro))),26),q0(i))return c=Is(i).Nh().Jh(i),u(c,49).th(n),c;r=Yr(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new FMe(n):new uY(n)},s.Kh=function(n,t){return X0(this,n,t)},s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.a}return eo(this,n-vn((qe(),D1)),ze((r=u(en(this,16),26),r||D1),n),t,i)},s.hh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,49).ih(this,4,If,i)),wZ(this,u(n,235),i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),D1)),t),66),c.Nj().Qj(this,hu(this),t-vn((qe(),D1)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 1:return wZ(this,null,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),D1)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),D1)),n,i)},s.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Js(this,n-vn((qe(),D1)),ze((t=u(en(this,16),26),t||D1),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:hBe(this,u(t,235));return}co(this,n-vn((qe(),D1)),ze((i=u(en(this,16),26),i||D1),n),t)},s.zh=function(){return qe(),D1},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:hBe(this,null);return}io(this,n-vn((qe(),D1)),ze((t=u(en(this,16),26),t||D1),n))};var T9,dde,Ern;p(Ze,"EFactoryImpl",704),g(rf,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},A3e),s.Ih=function(n,t){switch(n.yj()){case 12:return u(t,146).tg();case 13:return uc(t);default:throw O(new rn(K3+n.ne()+tb))}},s.Jh=function(n){var t,i,r,c,o,f,l,a;switch(n.G==-1&&(n.G=(t=Is(n),t?sh(t.Mh(),n):-1)),n.G){case 4:return o=new cz,o;case 6:return f=new fW,f;case 7:return l=new lW,l;case 8:return r=new rz,r;case 9:return i=new HE,i;case 10:return c=new VE,c;case 11:return a=new x3e,a;default:throw O(new rn(rK+n.zb+tb))}},s.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw O(new rn(K3+n.ne()+tb))}},p(Cd,"ElkGraphFactoryImpl",rf),g(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),s.Wg=function(){var n,t;return t=(n=u(en(this,16),26),rQ(jl(n||this.zh()))),t==null?(h5(),h5(),WV):new iSe(this,t)},s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.ne()}return eo(this,n-vn(this.zh()),ze((r=u(en(this,16),26),r||this.zh()),n),t,i)},s.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Js(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:this.Lh(Vn(t));return}co(this,n-vn(this.zh()),ze((i=u(en(this,16),26),i||this.zh()),n),t)},s.zh=function(){return qe(),Krn},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:this.Lh(null);return}io(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.ne=function(){return this.zb},s.Lh=function(n){ru(this,n)},s.Ib=function(){return p6(this)},s.zb=null,p(Ze,"ENamedElementImpl",438),g(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},NAe),s.Qg=function(n){return S_e(this,n)},s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,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 Qb(this,Df,this)),this.rb;case 6:return!this.vb&&(this.vb=new b2(If,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,235):null:ZAe(this)}return eo(this,n-vn((qe(),Mh)),ze((r=u(en(this,16),26),r||Mh),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,49).ih(this,1,E9,i)),vZ(this,u(n,471),i);case 5:return!this.rb&&(this.rb=new Qb(this,Df,this)),cu(this.rb,n,i);case 6:return!this.vb&&(this.vb=new b2(If,this,6,7)),cu(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?S_e(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,7,i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),Mh)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),Mh)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 4:return vZ(this,null,i);case 5:return!this.rb&&(this.rb=new Qb(this,Df,this)),ar(this.rb,n,i);case 6:return!this.vb&&(this.vb=new b2(If,this,6,7)),ar(this.vb,n,i);case 7:return Ns(this,null,7,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),Mh)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),Mh)),n,i)},s.lh=function(n){var t;switch(n){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!!ZAe(this)}return Js(this,n-vn((qe(),Mh)),ze((t=u(en(this,16),26),t||Mh),n))},s.oh=function(n){var t;return t=RCn(this,n),t||Ute(this,n)},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:ru(this,Vn(t));return;case 2:eM(this,Vn(t));return;case 3:ZS(this,Vn(t));return;case 4:JN(this,u(t,471));return;case 5:!this.rb&&(this.rb=new Qb(this,Df,this)),Dn(this.rb),!this.rb&&(this.rb=new Qb(this,Df,this)),Jt(this.rb,u(t,14));return;case 6:!this.vb&&(this.vb=new b2(If,this,6,7)),Dn(this.vb),!this.vb&&(this.vb=new b2(If,this,6,7)),Jt(this.vb,u(t,14));return}co(this,n-vn((qe(),Mh)),ze((i=u(en(this,16),26),i||Mh),n),t)},s.vh=function(n){var t,i;if(n&&this.rb)for(i=new jn(this.rb);i.e!=i.i.gc();)t=Pn(i),_(t,351)&&(u(t,351).w=null);N2(this,64,n)},s.zh=function(){return qe(),Mh},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:ru(this,null);return;case 2:eM(this,null);return;case 3:ZS(this,null);return;case 4:JN(this,null);return;case 5:!this.rb&&(this.rb=new Qb(this,Df,this)),Dn(this.rb);return;case 6:!this.vb&&(this.vb=new b2(If,this,6,7)),Dn(this.vb);return}io(this,n-vn((qe(),Mh)),ze((t=u(en(this,16),26),t||Mh),n))},s.Gh=function(){BN(this)},s.Mh=function(){return!this.rb&&(this.rb=new Qb(this,Df,this)),this.rb},s.Nh=function(){return this.sb},s.Oh=function(){return this.ub},s.Ph=function(){return this.xb},s.Qh=function(){return this.yb},s.Rh=function(n){this.ub=n},s.Ib=function(){var n;return this.Db&64?p6(this):(n=new po(p6(this)),n.a+=" (nsURI: ",Fr(n,this.yb),n.a+=", nsPrefix: ",Fr(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,p(Ze,"EPackageImpl",179),g(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},BRe),s.q=!1,s.r=!1;var Trn=!1;p(Cd,"ElkGraphPackageImpl",555),g(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},cz),s.Qg=function(n){return Eee(this,n)},s._g=function(n,t,i){switch(n){case 7:return exe(this);case 8:return this.a}return OZ(this,n,t,i)},s.hh=function(n,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?Eee(this,i):this.Cb.ih(this,-1-r,null,i))),kY(this,u(n,160),i)}return UN(this,n,t,i)},s.jh=function(n,t,i){return t==7?kY(this,null,i):IF(this,n,t,i)},s.lh=function(n){switch(n){case 7:return!!exe(this);case 8:return!Ke("",this.a)}return _Z(this,n)},s.sh=function(n,t){switch(n){case 7:ete(this,u(t,160));return;case 8:kJ(this,Vn(t));return}Nee(this,n,t)},s.zh=function(){return uu(),lde},s.Bh=function(n){switch(n){case 7:ete(this,null);return;case 8:kJ(this,"");return}HZ(this,n)},s.Ib=function(){return SBe(this)},s.a="",p(Cd,"ElkLabelImpl",354),g(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},fW),s.Qg=function(n){return Mee(this,n)},s._g=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new fe(hs,this,9,9)),this.c;case 10:return!this.a&&(this.a=new fe(Qt,this,10,11)),this.a;case 11:return Xt(this);case 12:return!this.b&&(this.b=new fe(Di,this,12,3)),this.b;case 13:return un(),!this.a&&(this.a=new fe(Qt,this,10,11)),this.a.i>0}return aee(this,n,t,i)},s.hh=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new fe(hs,this,9,9)),cu(this.c,n,i);case 10:return!this.a&&(this.a=new fe(Qt,this,10,11)),cu(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Mee(this,i):this.Cb.ih(this,-1-r,null,i))),AX(this,u(n,33),i);case 12:return!this.b&&(this.b=new fe(Di,this,12,3)),cu(this.b,n,i)}return xee(this,n,t,i)},s.jh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new fe(hs,this,9,9)),ar(this.c,n,i);case 10:return!this.a&&(this.a=new fe(Qt,this,10,11)),ar(this.a,n,i);case 11:return AX(this,null,i);case 12:return!this.b&&(this.b=new fe(Di,this,12,3)),ar(this.b,n,i)}return Oee(this,n,t,i)},s.lh=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Xt(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new fe(Qt,this,10,11)),this.a.i>0}return eZ(this,n)},s.sh=function(n,t){switch(n){case 9:!this.c&&(this.c=new fe(hs,this,9,9)),Dn(this.c),!this.c&&(this.c=new fe(hs,this,9,9)),Jt(this.c,u(t,14));return;case 10:!this.a&&(this.a=new fe(Qt,this,10,11)),Dn(this.a),!this.a&&(this.a=new fe(Qt,this,10,11)),Jt(this.a,u(t,14));return;case 11:Qne(this,u(t,33));return;case 12:!this.b&&(this.b=new fe(Di,this,12,3)),Dn(this.b),!this.b&&(this.b=new fe(Di,this,12,3)),Jt(this.b,u(t,14));return}Rne(this,n,t)},s.zh=function(){return uu(),ade},s.Bh=function(n){switch(n){case 9:!this.c&&(this.c=new fe(hs,this,9,9)),Dn(this.c);return;case 10:!this.a&&(this.a=new fe(Qt,this,10,11)),Dn(this.a);return;case 11:Qne(this,null);return;case 12:!this.b&&(this.b=new fe(Di,this,12,3)),Dn(this.b);return}iee(this,n)},s.Ib=function(){return wte(this)},p(Cd,"ElkNodeImpl",239),g(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},lW),s.Qg=function(n){return Tee(this,n)},s._g=function(n,t,i){return n==9?_f(this):aee(this,n,t,i)},s.hh=function(n,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?Tee(this,i):this.Cb.ih(this,-1-r,null,i))),kX(this,u(n,33),i)}return xee(this,n,t,i)},s.jh=function(n,t,i){return t==9?kX(this,null,i):Oee(this,n,t,i)},s.lh=function(n){return n==9?!!_f(this):eZ(this,n)},s.sh=function(n,t){switch(n){case 9:Yne(this,u(t,33));return}Rne(this,n,t)},s.zh=function(){return uu(),hde},s.Bh=function(n){switch(n){case 9:Yne(this,null);return}iee(this,n)},s.Ib=function(){return hqe(this)},p(Cd,"ElkPortImpl",186);var Crn=Vt(hr,"BasicEMap/Entry");g(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},x3e),s.Fb=function(n){return this===n},s.cd=function(){return this.b},s.Hb=function(){return a0(this)},s.Uh=function(n){jJ(this,u(n,146))},s._g=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return DM(this,n,t,i)},s.lh=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return kN(this,n)},s.sh=function(n,t){switch(n){case 0:jJ(this,u(t,146));return;case 1:CJ(this,t);return}c_(this,n,t)},s.zh=function(){return uu(),A1},s.Bh=function(n){switch(n){case 0:jJ(this,null);return;case 1:CJ(this,null);return}e_(this,n)},s.Sh=function(){var n;return this.a==-1&&(n=this.b,this.a=n?Bt(n):0),this.a},s.dd=function(){return this.c},s.Th=function(n){this.a=n},s.ed=function(n){var t;return t=this.c,CJ(this,n),t},s.Ib=function(){var n;return this.Db&64?nf(this):(n=new Ih,Qn(Qn(Qn(n,this.b?this.b.tg():Ou),nR),L5(this.c)),n.a)},s.a=-1,s.c=null;var yb=p(Cd,"ElkPropertyToValueMapEntryImpl",1092);g(984,1,{},D3e),p(nr,"JsonAdapter",984),g(210,60,Da,dl),p(nr,"JsonImportException",210),g(857,1,{},M_e),p(nr,"JsonImporter",857),g(891,1,{},tTe),p(nr,"JsonImporter/lambda$0$Type",891),g(892,1,{},iTe),p(nr,"JsonImporter/lambda$1$Type",892),g(900,1,{},N8e),p(nr,"JsonImporter/lambda$10$Type",900),g(902,1,{},rTe),p(nr,"JsonImporter/lambda$11$Type",902),g(903,1,{},cTe),p(nr,"JsonImporter/lambda$12$Type",903),g(909,1,{},pAe),p(nr,"JsonImporter/lambda$13$Type",909),g(908,1,{},gAe),p(nr,"JsonImporter/lambda$14$Type",908),g(904,1,{},uTe),p(nr,"JsonImporter/lambda$15$Type",904),g(905,1,{},sTe),p(nr,"JsonImporter/lambda$16$Type",905),g(906,1,{},oTe),p(nr,"JsonImporter/lambda$17$Type",906),g(907,1,{},fTe),p(nr,"JsonImporter/lambda$18$Type",907),g(912,1,{},_8e),p(nr,"JsonImporter/lambda$19$Type",912),g(893,1,{},B8e),p(nr,"JsonImporter/lambda$2$Type",893),g(910,1,{},R8e),p(nr,"JsonImporter/lambda$20$Type",910),g(911,1,{},K8e),p(nr,"JsonImporter/lambda$21$Type",911),g(915,1,{},q8e),p(nr,"JsonImporter/lambda$22$Type",915),g(913,1,{},H8e),p(nr,"JsonImporter/lambda$23$Type",913),g(914,1,{},V8e),p(nr,"JsonImporter/lambda$24$Type",914),g(917,1,{},G8e),p(nr,"JsonImporter/lambda$25$Type",917),g(916,1,{},z8e),p(nr,"JsonImporter/lambda$26$Type",916),g(918,1,wn,lTe),s.td=function(n){wvn(this.b,this.a,Vn(n))},p(nr,"JsonImporter/lambda$27$Type",918),g(919,1,wn,aTe),s.td=function(n){gvn(this.b,this.a,Vn(n))},p(nr,"JsonImporter/lambda$28$Type",919),g(920,1,{},hTe),p(nr,"JsonImporter/lambda$29$Type",920),g(896,1,{},W8e),p(nr,"JsonImporter/lambda$3$Type",896),g(921,1,{},dTe),p(nr,"JsonImporter/lambda$30$Type",921),g(922,1,{},U8e),p(nr,"JsonImporter/lambda$31$Type",922),g(923,1,{},X8e),p(nr,"JsonImporter/lambda$32$Type",923),g(924,1,{},Y8e),p(nr,"JsonImporter/lambda$33$Type",924),g(925,1,{},Q8e),p(nr,"JsonImporter/lambda$34$Type",925),g(859,1,{},J8e),p(nr,"JsonImporter/lambda$35$Type",859),g(929,1,{},oMe),p(nr,"JsonImporter/lambda$36$Type",929),g(926,1,wn,Z8e),s.td=function(n){vmn(this.a,u(n,469))},p(nr,"JsonImporter/lambda$37$Type",926),g(927,1,wn,vTe),s.td=function(n){Wan(this.a,this.b,u(n,202))},p(nr,"JsonImporter/lambda$38$Type",927),g(928,1,wn,yTe),s.td=function(n){Uan(this.a,this.b,u(n,202))},p(nr,"JsonImporter/lambda$39$Type",928),g(894,1,{},e7e),p(nr,"JsonImporter/lambda$4$Type",894),g(930,1,wn,n7e),s.td=function(n){ymn(this.a,u(n,8))},p(nr,"JsonImporter/lambda$40$Type",930),g(895,1,{},t7e),p(nr,"JsonImporter/lambda$5$Type",895),g(899,1,{},i7e),p(nr,"JsonImporter/lambda$6$Type",899),g(897,1,{},r7e),p(nr,"JsonImporter/lambda$7$Type",897),g(898,1,{},c7e),p(nr,"JsonImporter/lambda$8$Type",898),g(901,1,{},u7e),p(nr,"JsonImporter/lambda$9$Type",901),g(948,1,wn,s7e),s.td=function(n){y2(this.a,new Jb(Vn(n)))},p(nr,"JsonMetaDataConverter/lambda$0$Type",948),g(949,1,wn,o7e),s.td=function(n){Fwn(this.a,u(n,237))},p(nr,"JsonMetaDataConverter/lambda$1$Type",949),g(950,1,wn,f7e),s.td=function(n){Dpn(this.a,u(n,149))},p(nr,"JsonMetaDataConverter/lambda$2$Type",950),g(951,1,wn,l7e),s.td=function(n){Nwn(this.a,u(n,175))},p(nr,"JsonMetaDataConverter/lambda$3$Type",951),g(237,22,{3:1,35:1,22:1,237:1},l2);var VO,GO,RV,zO,WO,UO,KV,qV,XO=zn(Fk,"GraphFeature",237,Xn,c3n,sbn),Srn;g(13,1,{35:1,146:1},Kt,ji,Ge,Er),s.wd=function(n){return zhn(this,u(n,146))},s.Fb=function(n){return _Ae(this,n)},s.wg=function(){return me(this)},s.tg=function(){return this.b},s.Hb=function(){return oh(this.b)},s.Ib=function(){return this.b},p(Fk,"Property",13),g(818,1,Ot,qz),s.ue=function(n,t){return l6n(this,u(n,94),u(t,94))},s.Fb=function(n){return this===n},s.ve=function(){return new St(this)},p(Fk,"PropertyHolderComparator",818),g(695,1,qi,Hz),s.Nb=function(n){Ji(this,n)},s.Pb=function(){return yvn(this)},s.Qb=function(){ije()},s.Ob=function(){return!!this.a},p(bA,"ElkGraphUtil/AncestorIterator",695);var bde=Vt(hr,"EList");g(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),s.Vc=function(n,t){y6(this,n,t)},s.Fc=function(n){return Bn(this,n)},s.Wc=function(n,t){return zJ(this,n,t)},s.Gc=function(n){return Jt(this,n)},s.Zh=function(){return new d2(this)},s.$h=function(){return new L8(this)},s._h=function(n){return C7(this,n)},s.ai=function(){return!0},s.bi=function(n,t){},s.ci=function(){},s.di=function(n,t){iF(this,n,t)},s.ei=function(n,t,i){},s.fi=function(n,t){},s.gi=function(n,t,i){},s.Fb=function(n){return JKe(this,n)},s.Hb=function(){return KJ(this)},s.hi=function(){return!1},s.Kc=function(){return new jn(this)},s.Yc=function(){return new h2(this)},s.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw O(new Ub(n,t));return new o$(this,n)},s.ji=function(n,t){this.ii(n,this.Xc(t))},s.Mc=function(n){return DS(this,n)},s.li=function(n,t){return t},s._c=function(n,t){return zg(this,n,t)},s.Ib=function(){return DZ(this)},s.ni=function(){return!0},s.oi=function(n,t){return Xv(this,t)},p(hr,"AbstractEList",67),g(63,67,Dl,zE,P0,DJ),s.Vh=function(n,t){return XN(this,n,t)},s.Wh=function(n){return e_e(this,n)},s.Xh=function(n,t){R7(this,n,t)},s.Yh=function(n){o7(this,n)},s.pi=function(n){return eJ(this,n)},s.$b=function(){c6(this)},s.Hc=function(n){return l3(this,n)},s.Xb=function(n){return K(this,n)},s.qi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.$c(t),!0):!1},s.mi=function(n,t){return this.Ui(n,this.oi(n,t))},s.gc=function(){return this.Vi()},s.Pc=function(){return this.Wi()},s.Qc=function(n){return this.Xi(n)},s.Ib=function(){return this.Yi()},p(hr,"DelegatingEList",1995),g(1996,1995,UWe),s.Vh=function(n,t){return Tte(this,n,t)},s.Wh=function(n){return this.Vh(this.Vi(),n)},s.Xh=function(n,t){NRe(this,n,t)},s.Yh=function(n){PRe(this,n)},s.ai=function(){return!this.bj()},s.$b=function(){z6(this)},s.Zi=function(n,t,i,r,c){return new RAe(this,n,t,i,r,c)},s.$i=function(n){yt(this.Ai(),n)},s._i=function(){return null},s.aj=function(){return-1},s.Ai=function(){return null},s.bj=function(){return!1},s.cj=function(n,t){return t},s.dj=function(n,t){return t},s.ej=function(){return!1},s.fj=function(){return!this.Ri()},s.ii=function(n,t){var i,r;return this.ej()?(r=this.fj(),i=tne(this,n,t),this.$i(this.Zi(7,le(t),i,n,r)),i):tne(this,n,t)},s.$c=function(n){var t,i,r,c;return this.ej()?(i=null,r=this.fj(),t=this.Zi(4,c=SC(this,n),null,n,r),this.bj()&&c?(i=this.dj(c,i),i?(i.Ei(t),i.Fi()):this.$i(t)):i?(i.Ei(t),i.Fi()):this.$i(t),c):(c=SC(this,n),this.bj()&&c&&(i=this.dj(c,null),i&&i.Fi()),c)},s.mi=function(n,t){return Gqe(this,n,t)},p(cm,"DelegatingNotifyingListImpl",1996),g(143,1,Yk),s.Ei=function(n){return Hee(this,n)},s.Fi=function(){hF(this)},s.xi=function(){return this.d},s._i=function(){return null},s.gj=function(){return null},s.yi=function(n){return-1},s.zi=function(){return OKe(this)},s.Ai=function(){return null},s.Bi=function(){return cte(this)},s.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.hj=function(){return!1},s.Di=function(n){var t,i,r,c,o,f,l,a,h,w,y;switch(this.d){case 1:case 2:switch(c=n.xi(),c){case 1:case 2:if(o=n.Ai(),X(o)===X(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),n.xi()==1&&(this.d=1),!0}case 4:{switch(c=n.xi(),c){case 4:{if(o=n.Ai(),X(o)===X(this.Ai())&&this.yi(null)==n.yi(null))return h=Kte(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=n.Ci(),this.d=6,y=new P0(2),a<=f?(Bn(y,this.n),Bn(y,n.Bi()),this.g=D(I(Ln,1),nt,25,15,[this.o=a,f+1])):(Bn(y,n.Bi()),Bn(y,this.n),this.g=D(I(Ln,1),nt,25,15,[this.o=f,a])),this.n=y,h||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.xi(),c){case 4:{if(o=n.Ai(),X(o)===X(this.Ai())&&this.yi(null)==n.yi(null)){for(h=Kte(this),f=n.Ci(),w=u(this.g,48),r=V(Ln,nt,25,w.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{OD(r,this.d);break}}if(vqe(this)&&(r.a+=", touch: true"),r.a+=", position: ",OD(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",P5(r,this.Ai()),r.a+=", feature: ",P5(r,this._i()),r.a+=", oldValue: ",P5(r,cte(this)),r.a+=", newValue: ",this.d==6&&_(this.g,48)){for(i=u(this.g,48),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new K5(this),this.a=this.j),ba(this.b,n)):l3(this,n)},s.ni=function(){return!0},s.a=0,p(hr,"AbstractEList/1",953),g(295,73,CB,Ub),p(hr,"AbstractEList/BasicIndexOutOfBoundsException",295),g(40,1,qi,jn),s.Nb=function(n){Ji(this,n)},s.mj=function(){if(this.i.j!=this.f)throw O(new Us)},s.nj=function(){return Pn(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.nj()},s.Qb=function(){x6(this)},s.e=0,s.f=0,s.g=-1,p(hr,"AbstractEList/EIterator",40),g(278,40,Ql,h2,o$),s.Qb=function(){x6(this)},s.Rb=function(n){tNe(this,n)},s.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(t){throw t=Ht(t),_(t,73)?(this.mj(),O(new Ac)):O(t)}},s.pj=function(n){i_e(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.oj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.pj(n)},p(hr,"AbstractEList/EListIterator",278),g(341,40,qi,d2),s.nj=function(){return jN(this)},s.Qb=function(){throw O(new Kn)},p(hr,"AbstractEList/NonResolvingEIterator",341),g(385,278,Ql,L8,FX),s.Rb=function(n){throw O(new Kn)},s.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(t){throw t=Ht(t),_(t,73)?(this.mj(),O(new Ac)):O(t)}},s.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(t){throw t=Ht(t),_(t,73)?(this.mj(),O(new Ac)):O(t)}},s.Qb=function(){throw O(new Kn)},s.Wb=function(n){throw O(new Kn)},p(hr,"AbstractEList/NonResolvingEListIterator",385),g(1982,67,XWe),s.Vh=function(n,t){var i,r,c,o,f,l,a,h,w,y,j;if(c=t.gc(),c!=0){for(h=u(en(this.a,4),126),w=h==null?0:h.length,j=w+c,r=VF(this,j),y=w-n,y>0&&Hc(h,n,r,n+c,y),a=t.Kc(),f=0;fi)throw O(new Ub(n,i));return new QPe(this,n)},s.$b=function(){var n,t;++this.j,n=u(en(this.a,4),126),t=n==null?0:n.length,u3(this,null),iF(this,t,n)},s.Hc=function(n){var t,i,r,c,o;if(t=u(en(this.a,4),126),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c=i)throw O(new Ub(n,i));return t[n]},s.Xc=function(n){var t,i,r;if(t=u(en(this.a,4),126),t!=null){if(n!=null){for(i=0,r=t.length;ii)throw O(new Ub(n,i));return new YPe(this,n)},s.ii=function(n,t){var i,r,c;if(i=lNe(this),c=i==null?0:i.length,n>=c)throw O(new qr(dK+n+Sd+c));if(t>=c)throw O(new qr(bK+t+Sd+c));return r=i[t],n!=t&&(n0&&Hc(n,0,t,0,i),t},s.Qc=function(n){var t,i,r;return t=u(en(this.a,4),126),r=t==null?0:t.length,r>0&&(n.lengthr&&Ut(n,r,null),n};var Mrn;p(hr,"ArrayDelegatingEList",1982),g(1038,40,qi,uIe),s.mj=function(){if(this.b.j!=this.f||X(u(en(this.b.a,4),126))!==X(this.a))throw O(new Us)},s.Qb=function(){x6(this),this.a=u(en(this.b.a,4),126)},p(hr,"ArrayDelegatingEList/EIterator",1038),g(706,278,Ql,yPe,YPe),s.mj=function(){if(this.b.j!=this.f||X(u(en(this.b.a,4),126))!==X(this.a))throw O(new Us)},s.pj=function(n){i_e(this,n),this.a=u(en(this.b.a,4),126)},s.Qb=function(){x6(this),this.a=u(en(this.b.a,4),126)},p(hr,"ArrayDelegatingEList/EListIterator",706),g(1039,341,qi,sIe),s.mj=function(){if(this.b.j!=this.f||X(u(en(this.b.a,4),126))!==X(this.a))throw O(new Us)},p(hr,"ArrayDelegatingEList/NonResolvingEIterator",1039),g(707,385,Ql,kPe,QPe),s.mj=function(){if(this.b.j!=this.f||X(u(en(this.b.a,4),126))!==X(this.a))throw O(new Us)},p(hr,"ArrayDelegatingEList/NonResolvingEListIterator",707),g(606,295,CB,aL),p(hr,"BasicEList/BasicIndexOutOfBoundsException",606),g(696,63,Dl,kU),s.Vc=function(n,t){throw O(new Kn)},s.Fc=function(n){throw O(new Kn)},s.Wc=function(n,t){throw O(new Kn)},s.Gc=function(n){throw O(new Kn)},s.$b=function(){throw O(new Kn)},s.qi=function(n){throw O(new Kn)},s.Kc=function(){return this.Zh()},s.Yc=function(){return this.$h()},s.Zc=function(n){return this._h(n)},s.ii=function(n,t){throw O(new Kn)},s.ji=function(n,t){throw O(new Kn)},s.$c=function(n){throw O(new Kn)},s.Mc=function(n){throw O(new Kn)},s._c=function(n,t){throw O(new Kn)},p(hr,"BasicEList/UnmodifiableEList",696),g(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),s.Vc=function(n,t){Fhn(this,n,u(t,42))},s.Fc=function(n){return j1n(this,u(n,42))},s.Jc=function(n){er(this,n)},s.Xb=function(n){return u(K(this.c,n),133)},s.ii=function(n,t){return u(this.c.ii(n,t),42)},s.ji=function(n,t){Nhn(this,n,u(t,42))},s.Lc=function(){return new Ue(null,new Ye(this,16))},s.$c=function(n){return u(this.c.$c(n),42)},s._c=function(n,t){return xwn(this,n,u(t,42))},s.ad=function(n){_g(this,n)},s.Nc=function(){return new Ye(this,16)},s.Oc=function(){return new Ue(null,new Ye(this,16))},s.Wc=function(n,t){return this.c.Wc(n,t)},s.Gc=function(n){return this.c.Gc(n)},s.$b=function(){this.c.$b()},s.Hc=function(n){return this.c.Hc(n)},s.Ic=function(n){return x7(this.c,n)},s.qj=function(){var n,t,i;if(this.d==null){for(this.d=V(wde,iue,63,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)n=u(t.nj(),133),FM(this,n);this.e=i}},s.Fb=function(n){return zSe(this,n)},s.Hb=function(){return KJ(this.c)},s.Xc=function(n){return this.c.Xc(n)},s.rj=function(){this.c=new h7e(this)},s.dc=function(){return this.f==0},s.Kc=function(){return this.c.Kc()},s.Yc=function(){return this.c.Yc()},s.Zc=function(n){return this.c.Zc(n)},s.sj=function(){return a7(this)},s.tj=function(n,t,i){return new fMe(n,t,i)},s.uj=function(){return new N3e},s.Mc=function(n){return CLe(this,n)},s.gc=function(){return this.f},s.bd=function(n,t){return new zl(this.c,n,t)},s.Pc=function(){return this.c.Pc()},s.Qc=function(n){return this.c.Qc(n)},s.Ib=function(){return DZ(this.c)},s.e=0,s.f=0,p(hr,"BasicEMap",705),g(1033,63,Dl,h7e),s.bi=function(n,t){vln(this,u(t,133))},s.ei=function(n,t,i){var r;++(r=this,u(t,133),r).a.e},s.fi=function(n,t){yln(this,u(t,133))},s.gi=function(n,t,i){f1n(this,u(t,133),u(i,133))},s.di=function(n,t){w$e(this.a)},p(hr,"BasicEMap/1",1033),g(1034,63,Dl,N3e),s.ri=function(n){return V(ODn,YWe,612,n,0,1)},p(hr,"BasicEMap/2",1034),g(1035,Yf,Vu,d7e),s.$b=function(){this.a.c.$b()},s.Hc=function(n){return dN(this.a,n)},s.Kc=function(){return this.a.f==0?(lv(),fE.a):new Uke(this.a)},s.Mc=function(n){var t;return t=this.a.f,CM(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},p(hr,"BasicEMap/3",1035),g(1036,28,Mw,b7e),s.$b=function(){this.a.c.$b()},s.Hc=function(n){return ZKe(this.a,n)},s.Kc=function(){return this.a.f==0?(lv(),fE.a):new Xke(this.a)},s.gc=function(){return this.a.f},p(hr,"BasicEMap/4",1036),g(1037,Yf,Vu,w7e),s.$b=function(){this.a.c.$b()},s.Hc=function(n){var t,i,r,c,o,f,l,a,h;if(this.a.f>0&&_(n,42)&&(this.a.qj(),a=u(n,42),l=a.cd(),c=l==null?0:Bt(l),o=jX(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,367),h=t.i,f=0;f"+this.c},s.a=0;var ODn=p(hr,"BasicEMap/EntryImpl",612);g(536,1,{},GE),p(hr,"BasicEMap/View",536);var fE;g(768,1,{}),s.Fb=function(n){return Kne((He(),Sr),n)},s.Hb=function(){return ZJ((He(),Sr))},s.Ib=function(){return i1((He(),Sr))},p(hr,"ECollections/BasicEmptyUnmodifiableEList",768),g(1312,1,Ql,_3e),s.Nb=function(n){Ji(this,n)},s.Rb=function(n){throw O(new Kn)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw O(new Ac)},s.Tb=function(){return 0},s.Ub=function(){throw O(new Ac)},s.Vb=function(){return-1},s.Qb=function(){throw O(new Kn)},s.Wb=function(n){throw O(new Kn)},p(hr,"ECollections/BasicEmptyUnmodifiableEList/1",1312),g(1310,768,{20:1,14:1,15:1,58:1},cke),s.Vc=function(n,t){gje()},s.Fc=function(n){return pje()},s.Wc=function(n,t){return mje()},s.Gc=function(n){return vje()},s.$b=function(){yje()},s.Hc=function(n){return!1},s.Ic=function(n){return!1},s.Jc=function(n){er(this,n)},s.Xb=function(n){return TU((He(),n)),null},s.Xc=function(n){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.Yc=function(){return this.a},s.Zc=function(n){return this.a},s.ii=function(n,t){return kje()},s.ji=function(n,t){jje()},s.Lc=function(){return new Ue(null,new Ye(this,16))},s.$c=function(n){return Eje()},s.Mc=function(n){return Tje()},s._c=function(n,t){return Cje()},s.gc=function(){return 0},s.ad=function(n){_g(this,n)},s.Nc=function(){return new Ye(this,16)},s.Oc=function(){return new Ue(null,new Ye(this,16))},s.bd=function(n,t){return He(),new zl(Sr,n,t)},s.Pc=function(){return TY((He(),Sr))},s.Qc=function(n){return He(),X7(Sr,n)},p(hr,"ECollections/EmptyUnmodifiableEList",1310),g(1311,768,{20:1,14:1,15:1,58:1,589:1},uke),s.Vc=function(n,t){gje()},s.Fc=function(n){return pje()},s.Wc=function(n,t){return mje()},s.Gc=function(n){return vje()},s.$b=function(){yje()},s.Hc=function(n){return!1},s.Ic=function(n){return!1},s.Jc=function(n){er(this,n)},s.Xb=function(n){return TU((He(),n)),null},s.Xc=function(n){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.Yc=function(){return this.a},s.Zc=function(n){return this.a},s.ii=function(n,t){return kje()},s.ji=function(n,t){jje()},s.Lc=function(){return new Ue(null,new Ye(this,16))},s.$c=function(n){return Eje()},s.Mc=function(n){return Tje()},s._c=function(n,t){return Cje()},s.gc=function(){return 0},s.ad=function(n){_g(this,n)},s.Nc=function(){return new Ye(this,16)},s.Oc=function(){return new Ue(null,new Ye(this,16))},s.bd=function(n,t){return He(),new zl(Sr,n,t)},s.Pc=function(){return TY((He(),Sr))},s.Qc=function(n){return He(),X7(Sr,n)},s.sj=function(){return He(),He(),ra},p(hr,"ECollections/EmptyUnmodifiableEMap",1311);var pde=Vt(hr,"Enumerator"),YO;g(281,1,{281:1},k_),s.Fb=function(n){var t;return this===n?!0:_(n,281)?(t=u(n,281),this.f==t.f&&Qbn(this.i,t.i)&&UL(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&UL(this.d,t.d)&&UL(this.g,t.g)&&UL(this.e,t.e)&&Gyn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return xqe(this)},s.f=0;var Prn=0,Arn=0,xrn=0,Orn=0,mde=0,vde=0,yde=0,kde=0,jde=0,Irn,C9=0,S9=0,Drn=0,Lrn=0,QO,Ede;p(hr,"URI",281),g(1091,43,fp,ske),s.zc=function(n,t){return u(Vr(this,Vn(n),u(t,281)),281)},p(hr,"URI/URICache",1091),g(497,63,Dl,I3e,PC),s.hi=function(){return!0},p(hr,"UniqueEList",497),g(581,60,Da,xS),p(hr,"WrappedException",581);var it=Vt(uo,ZWe),ug=Vt(uo,eUe),$u=Vt(uo,nUe),sg=Vt(uo,tUe),Df=Vt(uo,iUe),No=Vt(uo,"EClass"),GV=Vt(uo,"EDataType"),$rn;g(1183,43,fp,oke),s.xc=function(n){return Ri(n)?zc(this,n):yc(Qr(this.f,n))},p(uo,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var JO=Vt(uo,"EEnum"),qa=Vt(uo,rUe),$r=Vt(uo,cUe),_o=Vt(uo,uUe),Bo,kb=Vt(uo,sUe),og=Vt(uo,oUe);g(1029,1,{},O3e),s.Ib=function(){return"NIL"},p(uo,"EStructuralFeature/Internal/DynamicValueHolder/1",1029);var Frn;g(1028,43,fp,fke),s.xc=function(n){return Ri(n)?zc(this,n):yc(Qr(this.f,n))},p(uo,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var mu=Vt(uo,fUe),Pm=Vt(uo,"EValidator/PatternMatcher"),Tde,Cde,Je,Th,fg,O1,Nrn,_rn,Brn,I1,Ch,D1,jb,sl,Rrn,Krn,Ro,Sh,qrn,Mh,lg,Gp,kr,Hrn,Vrn,Eb,ZO=Vt(_t,"FeatureMap/Entry");g(535,1,{72:1},WT),s.ak=function(){return this.a},s.dd=function(){return this.b},p(Ze,"BasicEObjectImpl/1",535),g(1027,1,yK,kTe),s.Wj=function(n){return nF(this.a,this.b,n)},s.fj=function(){return nxe(this.a,this.b)},s.Wb=function(n){uQ(this.a,this.b,n)},s.Xj=function(){Wwn(this.a,this.b)},p(Ze,"BasicEObjectImpl/4",1027),g(1983,1,{108:1}),s.bk=function(n){this.e=n==0?Grn:V(pn,pe,1,n,5,1)},s.Ch=function(n){return this.e[n]},s.Dh=function(n,t){this.e[n]=t},s.Eh=function(n){this.e[n]=null},s.ck=function(){return this.c},s.dk=function(){throw O(new Kn)},s.ek=function(){throw O(new Kn)},s.fk=function(){return this.d},s.gk=function(){return this.e!=null},s.hk=function(n){this.c=n},s.ik=function(n){throw O(new Kn)},s.jk=function(n){throw O(new Kn)},s.kk=function(n){this.d=n};var Grn;p(Ze,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),g(185,1983,{108:1},pf),s.dk=function(){return this.a},s.ek=function(){return this.b},s.ik=function(n){this.a=n},s.jk=function(n){this.b=n},p(Ze,"BasicEObjectImpl/EPropertiesHolderImpl",185),g(506,97,lWe,WE),s.Kg=function(){return this.f},s.Pg=function(){return this.k},s.Rg=function(n,t){this.g=n,this.i=t},s.Tg=function(){return this.j&2?this.ph().ck():this.zh()},s.Vg=function(){return this.i},s.Mg=function(){return(this.j&1)!=0},s.eh=function(){return this.g},s.kh=function(){return(this.j&4)!=0},s.ph=function(){return!this.k&&(this.k=new pf),this.k},s.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},s.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},s.zh=function(){return(Gh(),Je).S},s.i=0,s.j=1,p(Ze,"EObjectImpl",506),g(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},uY),s.Ch=function(n){return this.e[n]},s.Dh=function(n,t){this.e[n]=t},s.Eh=function(n){this.e[n]=null},s.Tg=function(){return this.d},s.Yg=function(n){return qt(this.d,n)},s.$g=function(){return this.d},s.dh=function(){return this.e!=null},s.ph=function(){return!this.k&&(this.k=new B3e),this.k},s.th=function(n){this.d=n},s.yh=function(){var n;return this.e==null&&(n=vn(this.d),this.e=n==0?zrn:V(pn,pe,1,n,5,1)),this},s.Ah=function(){return 0};var zrn;p(Ze,"DynamicEObjectImpl",780),g(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},FMe),s.Fb=function(n){return this===n},s.Hb=function(){return a0(this)},s.th=function(n){this.d=n,this.b=dk(n,"key"),this.c=dk(n,gy)},s.Sh=function(){var n;return this.a==-1&&(n=dF(this,this.b),this.a=n==null?0:Bt(n)),this.a},s.cd=function(){return dF(this,this.b)},s.dd=function(){return dF(this,this.c)},s.Th=function(n){this.a=n},s.Uh=function(n){uQ(this,this.b,n)},s.ed=function(n){var t;return t=dF(this,this.c),uQ(this,this.c,n),t},s.a=0,p(Ze,"DynamicEObjectImpl/BasicEMapEntry",1376),g(1377,1,{108:1},B3e),s.bk=function(n){throw O(new Kn)},s.Ch=function(n){throw O(new Kn)},s.Dh=function(n,t){throw O(new Kn)},s.Eh=function(n){throw O(new Kn)},s.ck=function(){throw O(new Kn)},s.dk=function(){return this.a},s.ek=function(){return this.b},s.fk=function(){return this.c},s.gk=function(){throw O(new Kn)},s.hk=function(n){throw O(new Kn)},s.ik=function(n){this.a=n},s.jk=function(n){this.b=n},s.kk=function(n){this.c=n},p(Ze,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),g(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},uz),s.Qg=function(n){return Cee(this,n)},s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new ms((qe(),kr),Mc,this)),this.b):(!this.b&&(this.b=new ms((qe(),kr),Mc,this)),a7(this.b));case 3:return uxe(this);case 4:return!this.a&&(this.a=new gi(P1,this,4)),this.a;case 5:return!this.c&&(this.c=new Ag(P1,this,5)),this.c}return eo(this,n-vn((qe(),Th)),ze((r=u(en(this,16),26),r||Th),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?Cee(this,i):this.Cb.ih(this,-1-c,null,i))),jY(this,u(n,147),i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),Th)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),Th)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 2:return!this.b&&(this.b=new ms((qe(),kr),Mc,this)),gC(this.b,n,i);case 3:return jY(this,null,i);case 4:return!this.a&&(this.a=new gi(P1,this,4)),ar(this.a,n,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),Th)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),Th)),n,i)},s.lh=function(n){var t;switch(n){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!!uxe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Js(this,n-vn((qe(),Th)),ze((t=u(en(this,16),26),t||Th),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:Fbn(this,Vn(t));return;case 2:!this.b&&(this.b=new ms((qe(),kr),Mc,this)),rM(this.b,t);return;case 3:yKe(this,u(t,147));return;case 4:!this.a&&(this.a=new gi(P1,this,4)),Dn(this.a),!this.a&&(this.a=new gi(P1,this,4)),Jt(this.a,u(t,14));return;case 5:!this.c&&(this.c=new Ag(P1,this,5)),Dn(this.c),!this.c&&(this.c=new Ag(P1,this,5)),Jt(this.c,u(t,14));return}co(this,n-vn((qe(),Th)),ze((i=u(en(this,16),26),i||Th),n),t)},s.zh=function(){return qe(),Th},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:SJ(this,null);return;case 2:!this.b&&(this.b=new ms((qe(),kr),Mc,this)),this.b.c.$b();return;case 3:yKe(this,null);return;case 4:!this.a&&(this.a=new gi(P1,this,4)),Dn(this.a);return;case 5:!this.c&&(this.c=new Ag(P1,this,5)),Dn(this.c);return}io(this,n-vn((qe(),Th)),ze((t=u(en(this,16),26),t||Th),n))},s.Ib=function(){return $Fe(this)},s.d=null,p(Ze,"EAnnotationImpl",510),g(151,705,rue,js),s.Xh=function(n,t){mhn(this,n,u(t,42))},s.lk=function(n,t){return hdn(this,u(n,42),t)},s.pi=function(n){return u(u(this.c,69).pi(n),133)},s.Zh=function(){return u(this.c,69).Zh()},s.$h=function(){return u(this.c,69).$h()},s._h=function(n){return u(this.c,69)._h(n)},s.mk=function(n,t){return gC(this,n,t)},s.Wj=function(n){return u(this.c,76).Wj(n)},s.rj=function(){},s.fj=function(){return u(this.c,76).fj()},s.tj=function(n,t,i){var r;return r=u(Is(this.b).Nh().Jh(this.b),133),r.Th(n),r.Uh(t),r.ed(i),r},s.uj=function(){return new Gz(this)},s.Wb=function(n){rM(this,n)},s.Xj=function(){u(this.c,76).Xj()},p(_t,"EcoreEMap",151),g(158,151,rue,ms),s.qj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=V(wde,iue,63,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();)t=u(i.nj(),133),r=t.Sh(),c=(r&vt)%o.length,n=o[c],!n&&(n=o[c]=new Gz(this)),n.Fc(t);this.d=o}},p(Ze,"EAnnotationImpl/1",158),g(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),s._g=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return un(),!!(this.Bb&256);case 3:return un(),!!(this.Bb&512);case 4:return le(this.s);case 5:return le(this.t);case 6:return un(),!!this.$j();case 7:return un(),c=this.s,c>=1;case 8:return t?jo(this):this.r;case 9:return this.q}return eo(this,n-vn(this.zh()),ze((r=u(en(this,16),26),r||this.zh()),n),t,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 9:return a$(this,i)}return c=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),c.Nj().Rj(this,hu(this),t-vn(this.zh()),n,i)},s.lh=function(n){var t,i;switch(n){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.$j();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&v0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&v0(this.q).i==0)}return Js(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.sh=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:this.Lh(Vn(t));return;case 2:ch(this,ke(ye(t)));return;case 3:uh(this,ke(ye(t)));return;case 4:th(this,u(t,19).a);return;case 5:this.ok(u(t,19).a);return;case 8:ad(this,u(t,138));return;case 9:r=Xf(this,u(t,87),null),r&&r.Fi();return}co(this,n-vn(this.zh()),ze((i=u(en(this,16),26),i||this.zh()),n),t)},s.zh=function(){return qe(),Vrn},s.Bh=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:this.Lh(null);return;case 2:ch(this,!0);return;case 3:uh(this,!0);return;case 4:th(this,0);return;case 5:this.ok(1);return;case 8:ad(this,null);return;case 9:i=Xf(this,null,null),i&&i.Fi();return}io(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.Gh=function(){jo(this),this.Bb|=1},s.Yj=function(){return jo(this)},s.Zj=function(){return this.t},s.$j=function(){var n;return n=this.t,n>1||n==-1},s.hi=function(){return(this.Bb&512)!=0},s.nk=function(n,t){return yZ(this,n,t)},s.ok=function(n){fw(this,n)},s.Ib=function(){return One(this)},s.s=0,s.t=1,p(Ze,"ETypedElementImpl",284),g(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),s.Qg=function(n){return p_e(this,n)},s._g=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return un(),!!(this.Bb&256);case 3:return un(),!!(this.Bb&512);case 4:return le(this.s);case 5:return le(this.t);case 6:return un(),!!this.$j();case 7:return un(),c=this.s,c>=1;case 8:return t?jo(this):this.r;case 9:return this.q;case 10:return un(),!!(this.Bb&rf);case 11:return un(),!!(this.Bb&Nw);case 12:return un(),!!(this.Bb&Aw);case 13:return this.j;case 14:return p3(this);case 15:return un(),!!(this.Bb&zu);case 16:return un(),!!(this.Bb&El);case 17:return ew(this)}return eo(this,n-vn(this.zh()),ze((r=u(en(this,16),26),r||this.zh()),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?p_e(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,17,i)}return o=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),o.Nj().Qj(this,hu(this),t-vn(this.zh()),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 9:return a$(this,i);case 17:return Ns(this,null,17,i)}return c=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),c.Nj().Rj(this,hu(this),t-vn(this.zh()),n,i)},s.lh=function(n){var t,i;switch(n){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.$j();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&v0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&v0(this.q).i==0);case 10:return(this.Bb&rf)==0;case 11:return(this.Bb&Nw)!=0;case 12:return(this.Bb&Aw)!=0;case 13:return this.j!=null;case 14:return p3(this)!=null;case 15:return(this.Bb&zu)!=0;case 16:return(this.Bb&El)!=0;case 17:return!!ew(this)}return Js(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.sh=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:B$(this,Vn(t));return;case 2:ch(this,ke(ye(t)));return;case 3:uh(this,ke(ye(t)));return;case 4:th(this,u(t,19).a);return;case 5:this.ok(u(t,19).a);return;case 8:ad(this,u(t,138));return;case 9:r=Xf(this,u(t,87),null),r&&r.Fi();return;case 10:e3(this,ke(ye(t)));return;case 11:i3(this,ke(ye(t)));return;case 12:n3(this,ke(ye(t)));return;case 13:jU(this,Vn(t));return;case 15:t3(this,ke(ye(t)));return;case 16:r3(this,ke(ye(t)));return}co(this,n-vn(this.zh()),ze((i=u(en(this,16),26),i||this.zh()),n),t)},s.zh=function(){return qe(),Hrn},s.Bh=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:_(this.Cb,88)&&yw(is(u(this.Cb,88)),4),ru(this,null);return;case 2:ch(this,!0);return;case 3:uh(this,!0);return;case 4:th(this,0);return;case 5:this.ok(1);return;case 8:ad(this,null);return;case 9:i=Xf(this,null,null),i&&i.Fi();return;case 10:e3(this,!0);return;case 11:i3(this,!1);return;case 12:n3(this,!1);return;case 13:this.i=null,XS(this,null);return;case 15:t3(this,!1);return;case 16:r3(this,!1);return}io(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.Gh=function(){yv(zr((Hu(),tr),this)),jo(this),this.Bb|=1},s.Gj=function(){return this.f},s.zj=function(){return p3(this)},s.Hj=function(){return ew(this)},s.Lj=function(){return null},s.pk=function(){return this.k},s.aj=function(){return this.n},s.Mj=function(){return GM(this)},s.Nj=function(){var n,t,i,r,c,o,f,l,a;return this.p||(i=ew(this),(i.i==null&&jl(i),i.i).length,r=this.Lj(),r&&vn(ew(r)),c=jo(this),f=c.Bj(),n=f?f.i&1?f==ds?Si:f==Ln?dr:f==hg?U3:f==Hi?Ui:f==$1?rb:f==Xp?cb:f==Uu?um:My:f:null,t=p3(this),l=c.zj(),g6n(this),this.Bb&El&&((o=Iee((Hu(),tr),i))&&o!=this||(o=C2(zr(tr,this))))?this.p=new ETe(this,o):this.$j()?this.rk()?r?this.Bb&zu?n?this.sk()?this.p=new Q1(47,n,this,r):this.p=new Q1(5,n,this,r):this.sk()?this.p=new ed(46,this,r):this.p=new ed(4,this,r):n?this.sk()?this.p=new Q1(49,n,this,r):this.p=new Q1(7,n,this,r):this.sk()?this.p=new ed(48,this,r):this.p=new ed(6,this,r):this.Bb&zu?n?n==Ad?this.p=new Ya(50,Crn,this):this.sk()?this.p=new Ya(43,n,this):this.p=new Ya(1,n,this):this.sk()?this.p=new Ja(42,this):this.p=new Ja(0,this):n?n==Ad?this.p=new Ya(41,Crn,this):this.sk()?this.p=new Ya(45,n,this):this.p=new Ya(3,n,this):this.sk()?this.p=new Ja(44,this):this.p=new Ja(2,this):_(c,148)?n==ZO?this.p=new Ja(40,this):this.Bb&512?this.Bb&zu?n?this.p=new Ya(9,n,this):this.p=new Ja(8,this):n?this.p=new Ya(11,n,this):this.p=new Ja(10,this):this.Bb&zu?n?this.p=new Ya(13,n,this):this.p=new Ja(12,this):n?this.p=new Ya(15,n,this):this.p=new Ja(14,this):r?(a=r.t,a>1||a==-1?this.sk()?this.Bb&zu?n?this.p=new Q1(25,n,this,r):this.p=new ed(24,this,r):n?this.p=new Q1(27,n,this,r):this.p=new ed(26,this,r):this.Bb&zu?n?this.p=new Q1(29,n,this,r):this.p=new ed(28,this,r):n?this.p=new Q1(31,n,this,r):this.p=new ed(30,this,r):this.sk()?this.Bb&zu?n?this.p=new Q1(33,n,this,r):this.p=new ed(32,this,r):n?this.p=new Q1(35,n,this,r):this.p=new ed(34,this,r):this.Bb&zu?n?this.p=new Q1(37,n,this,r):this.p=new ed(36,this,r):n?this.p=new Q1(39,n,this,r):this.p=new ed(38,this,r)):this.sk()?this.Bb&zu?n?this.p=new Ya(17,n,this):this.p=new Ja(16,this):n?this.p=new Ya(19,n,this):this.p=new Ja(18,this):this.Bb&zu?n?this.p=new Ya(21,n,this):this.p=new Ja(20,this):n?this.p=new Ya(23,n,this):this.p=new Ja(22,this):this.qk()?this.sk()?this.p=new lMe(u(c,26),this,r):this.p=new cQ(u(c,26),this,r):_(c,148)?n==ZO?this.p=new Ja(40,this):this.Bb&zu?n?this.p=new oPe(t,l,this,(hN(),f==Ln?Ide:f==ds?Mde:f==$1?Dde:f==hg?Ode:f==Hi?xde:f==Xp?Lde:f==Uu?Pde:f==ho?Ade:UV)):this.p=new yAe(u(c,148),t,l,this):n?this.p=new sPe(t,l,this,(hN(),f==Ln?Ide:f==ds?Mde:f==$1?Dde:f==hg?Ode:f==Hi?xde:f==Xp?Lde:f==Uu?Pde:f==ho?Ade:UV)):this.p=new vAe(u(c,148),t,l,this):this.rk()?r?this.Bb&zu?this.sk()?this.p=new hMe(u(c,26),this,r):this.p=new YX(u(c,26),this,r):this.sk()?this.p=new aMe(u(c,26),this,r):this.p=new KL(u(c,26),this,r):this.Bb&zu?this.sk()?this.p=new sSe(u(c,26),this):this.p=new lX(u(c,26),this):this.sk()?this.p=new uSe(u(c,26),this):this.p=new ML(u(c,26),this):this.sk()?r?this.Bb&zu?this.p=new dMe(u(c,26),this,r):this.p=new UX(u(c,26),this,r):this.Bb&zu?this.p=new oSe(u(c,26),this):this.p=new aX(u(c,26),this):r?this.Bb&zu?this.p=new bMe(u(c,26),this,r):this.p=new XX(u(c,26),this,r):this.Bb&zu?this.p=new fSe(u(c,26),this):this.p=new AC(u(c,26),this)),this.p},s.Ij=function(){return(this.Bb&rf)!=0},s.qk=function(){return!1},s.rk=function(){return!1},s.Jj=function(){return(this.Bb&El)!=0},s.Oj=function(){return wF(this)},s.sk=function(){return!1},s.Kj=function(){return(this.Bb&zu)!=0},s.tk=function(n){this.k=n},s.Lh=function(n){B$(this,n)},s.Ib=function(){return fP(this)},s.e=!1,s.n=0,p(Ze,"EStructuralFeatureImpl",449),g(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},bD),s._g=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return un(),!!(this.Bb&256);case 3:return un(),!!(this.Bb&512);case 4:return le(this.s);case 5:return le(this.t);case 6:return un(),!!Mne(this);case 7:return un(),c=this.s,c>=1;case 8:return t?jo(this):this.r;case 9:return this.q;case 10:return un(),!!(this.Bb&rf);case 11:return un(),!!(this.Bb&Nw);case 12:return un(),!!(this.Bb&Aw);case 13:return this.j;case 14:return p3(this);case 15:return un(),!!(this.Bb&zu);case 16:return un(),!!(this.Bb&El);case 17:return ew(this);case 18:return un(),!!(this.Bb&Ic);case 19:return t?DF(this):yIe(this)}return eo(this,n-vn((qe(),fg)),ze((r=u(en(this,16),26),r||fg),n),t,i)},s.lh=function(n){var t,i;switch(n){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 Mne(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&v0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&v0(this.q).i==0);case 10:return(this.Bb&rf)==0;case 11:return(this.Bb&Nw)!=0;case 12:return(this.Bb&Aw)!=0;case 13:return this.j!=null;case 14:return p3(this)!=null;case 15:return(this.Bb&zu)!=0;case 16:return(this.Bb&El)!=0;case 17:return!!ew(this);case 18:return(this.Bb&Ic)!=0;case 19:return!!yIe(this)}return Js(this,n-vn((qe(),fg)),ze((t=u(en(this,16),26),t||fg),n))},s.sh=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:B$(this,Vn(t));return;case 2:ch(this,ke(ye(t)));return;case 3:uh(this,ke(ye(t)));return;case 4:th(this,u(t,19).a);return;case 5:Jke(this,u(t,19).a);return;case 8:ad(this,u(t,138));return;case 9:r=Xf(this,u(t,87),null),r&&r.Fi();return;case 10:e3(this,ke(ye(t)));return;case 11:i3(this,ke(ye(t)));return;case 12:n3(this,ke(ye(t)));return;case 13:jU(this,Vn(t));return;case 15:t3(this,ke(ye(t)));return;case 16:r3(this,ke(ye(t)));return;case 18:rN(this,ke(ye(t)));return}co(this,n-vn((qe(),fg)),ze((i=u(en(this,16),26),i||fg),n),t)},s.zh=function(){return qe(),fg},s.Bh=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:_(this.Cb,88)&&yw(is(u(this.Cb,88)),4),ru(this,null);return;case 2:ch(this,!0);return;case 3:uh(this,!0);return;case 4:th(this,0);return;case 5:this.b=0,fw(this,1);return;case 8:ad(this,null);return;case 9:i=Xf(this,null,null),i&&i.Fi();return;case 10:e3(this,!0);return;case 11:i3(this,!1);return;case 12:n3(this,!1);return;case 13:this.i=null,XS(this,null);return;case 15:t3(this,!1);return;case 16:r3(this,!1);return;case 18:rN(this,!1);return}io(this,n-vn((qe(),fg)),ze((t=u(en(this,16),26),t||fg),n))},s.Gh=function(){DF(this),yv(zr((Hu(),tr),this)),jo(this),this.Bb|=1},s.$j=function(){return Mne(this)},s.nk=function(n,t){return this.b=0,this.a=null,yZ(this,n,t)},s.ok=function(n){Jke(this,n)},s.Ib=function(){var n;return this.Db&64?fP(this):(n=new po(fP(this)),n.a+=" (iD: ",Wa(n,(this.Bb&Ic)!=0),n.a+=")",n.a)},s.b=0,p(Ze,"EAttributeImpl",322),g(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),s.uk=function(n){return n.Tg()==this},s.Qg=function(n){return _N(this,n)},s.Rg=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return q0(this);case 4:return this.zj();case 5:return this.F;case 6:return t?Is(this):Ev(this);case 7:return!this.A&&(this.A=new _u(mu,this,7)),this.A}return eo(this,n-vn(this.zh()),ze((r=u(en(this,16),26),r||this.zh()),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_N(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,6,i)}return o=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),o.Nj().Qj(this,hu(this),t-vn(this.zh()),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 6:return Ns(this,null,6,i);case 7:return!this.A&&(this.A=new _u(mu,this,7)),ar(this.A,n,i)}return c=u(ze((r=u(en(this,16),26),r||this.zh()),t),66),c.Nj().Rj(this,hu(this),t-vn(this.zh()),n,i)},s.lh=function(n){var t;switch(n){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!!q0(this);case 4:return this.zj()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Ev(this);case 7:return!!this.A&&this.A.i!=0}return Js(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:fS(this,Vn(t));return;case 2:bL(this,Vn(t));return;case 5:E3(this,Vn(t));return;case 7:!this.A&&(this.A=new _u(mu,this,7)),Dn(this.A),!this.A&&(this.A=new _u(mu,this,7)),Jt(this.A,u(t,14));return}co(this,n-vn(this.zh()),ze((i=u(en(this,16),26),i||this.zh()),n),t)},s.zh=function(){return qe(),Nrn},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:_(this.Cb,179)&&(u(this.Cb,179).tb=null),ru(this,null);return;case 2:Yv(this,null),_v(this,this.D);return;case 5:E3(this,null);return;case 7:!this.A&&(this.A=new _u(mu,this,7)),Dn(this.A);return}io(this,n-vn(this.zh()),ze((t=u(en(this,16),26),t||this.zh()),n))},s.yj=function(){var n;return this.G==-1&&(this.G=(n=Is(this),n?sh(n.Mh(),this):-1)),this.G},s.zj=function(){return null},s.Aj=function(){return Is(this)},s.vk=function(){return this.v},s.Bj=function(){return q0(this)},s.Cj=function(){return this.D!=null?this.D:this.B},s.Dj=function(){return this.F},s.wj=function(n){return x_(this,n)},s.wk=function(n){this.v=n},s.xk=function(n){YLe(this,n)},s.yk=function(n){this.C=n},s.Lh=function(n){fS(this,n)},s.Ib=function(){return kM(this)},s.C=null,s.D=null,s.G=-1,p(Ze,"EClassifierImpl",351),g(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},az),s.uk=function(n){return J1n(this,n.Tg())},s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return q0(this);case 4:return null;case 5:return this.F;case 6:return t?Is(this):Ev(this);case 7:return!this.A&&(this.A=new _u(mu,this,7)),this.A;case 8:return un(),!!(this.Bb&256);case 9:return un(),!!(this.Bb&512);case 10:return Yr(this);case 11:return!this.q&&(this.q=new fe(_o,this,11,10)),this.q;case 12:return cp(this);case 13:return H6(this);case 14:return H6(this),this.r;case 15:return cp(this),this.k;case 16:return pne(this);case 17:return $_(this);case 18:return jl(this);case 19:return tP(this);case 20:return cp(this),this.o;case 21:return!this.s&&(this.s=new fe($u,this,21,17)),this.s;case 22:return Kc(this);case 23:return y_(this)}return eo(this,n-vn((qe(),O1)),ze((r=u(en(this,16),26),r||O1),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_N(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,6,i);case 11:return!this.q&&(this.q=new fe(_o,this,11,10)),cu(this.q,n,i);case 21:return!this.s&&(this.s=new fe($u,this,21,17)),cu(this.s,n,i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),O1)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),O1)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 6:return Ns(this,null,6,i);case 7:return!this.A&&(this.A=new _u(mu,this,7)),ar(this.A,n,i);case 11:return!this.q&&(this.q=new fe(_o,this,11,10)),ar(this.q,n,i);case 21:return!this.s&&(this.s=new fe($u,this,21,17)),ar(this.s,n,i);case 22:return ar(Kc(this),n,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),O1)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),O1)),n,i)},s.lh=function(n){var t;switch(n){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!!q0(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Ev(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&&Kc(this.u.a).i!=0&&!(this.n&&MN(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return cp(this).i!=0;case 13:return H6(this).i!=0;case 14:return H6(this),this.r.i!=0;case 15:return cp(this),this.k.i!=0;case 16:return pne(this).i!=0;case 17:return $_(this).i!=0;case 18:return jl(this).i!=0;case 19:return tP(this).i!=0;case 20:return cp(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&MN(this.n);case 23:return y_(this).i!=0}return Js(this,n-vn((qe(),O1)),ze((t=u(en(this,16),26),t||O1),n))},s.oh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:dk(this,n),t||Ute(this,n)},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:fS(this,Vn(t));return;case 2:bL(this,Vn(t));return;case 5:E3(this,Vn(t));return;case 7:!this.A&&(this.A=new _u(mu,this,7)),Dn(this.A),!this.A&&(this.A=new _u(mu,this,7)),Jt(this.A,u(t,14));return;case 8:jZ(this,ke(ye(t)));return;case 9:EZ(this,ke(ye(t)));return;case 10:z6(Yr(this)),Jt(Yr(this),u(t,14));return;case 11:!this.q&&(this.q=new fe(_o,this,11,10)),Dn(this.q),!this.q&&(this.q=new fe(_o,this,11,10)),Jt(this.q,u(t,14));return;case 21:!this.s&&(this.s=new fe($u,this,21,17)),Dn(this.s),!this.s&&(this.s=new fe($u,this,21,17)),Jt(this.s,u(t,14));return;case 22:Dn(Kc(this)),Jt(Kc(this),u(t,14));return}co(this,n-vn((qe(),O1)),ze((i=u(en(this,16),26),i||O1),n),t)},s.zh=function(){return qe(),O1},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:_(this.Cb,179)&&(u(this.Cb,179).tb=null),ru(this,null);return;case 2:Yv(this,null),_v(this,this.D);return;case 5:E3(this,null);return;case 7:!this.A&&(this.A=new _u(mu,this,7)),Dn(this.A);return;case 8:jZ(this,!1);return;case 9:EZ(this,!1);return;case 10:this.u&&z6(this.u);return;case 11:!this.q&&(this.q=new fe(_o,this,11,10)),Dn(this.q);return;case 21:!this.s&&(this.s=new fe($u,this,21,17)),Dn(this.s);return;case 22:this.n&&Dn(this.n);return}io(this,n-vn((qe(),O1)),ze((t=u(en(this,16),26),t||O1),n))},s.Gh=function(){var n,t;if(cp(this),H6(this),pne(this),$_(this),jl(this),tP(this),y_(this),c6(wbn(is(this))),this.s)for(n=0,t=this.s.i;n=0;--t)K(this,t);return GZ(this,n)},s.Xj=function(){Dn(this)},s.oi=function(n,t){return vLe(this,n,t)},p(_t,"EcoreEList",622),g(496,622,sc,z8),s.ai=function(){return!1},s.aj=function(){return this.c},s.bj=function(){return!1},s.Fk=function(){return!0},s.hi=function(){return!0},s.li=function(n,t){return t},s.ni=function(){return!1},s.c=0,p(_t,"EObjectEList",496),g(85,496,sc,gi),s.bj=function(){return!0},s.Dk=function(){return!1},s.rk=function(){return!0},p(_t,"EObjectContainmentEList",85),g(545,85,sc,cC),s.ci=function(){this.b=!0},s.fj=function(){return this.b},s.Xj=function(){var n;Dn(this),ps(this.e)?(n=this.b,this.b=!1,yt(this.e,new Jo(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,p(_t,"EObjectContainmentEList/Unsettable",545),g(1140,545,sc,cPe),s.ii=function(n,t){var i,r;return i=u(k6(this,n,t),87),ps(this.e)&&zm(this,new d7(this.a,7,(qe(),_rn),le(t),(r=i.c,_(r,88)?u(r,26):Ro),n)),i},s.jj=function(n,t){return iyn(this,u(n,87),t)},s.kj=function(n,t){return tyn(this,u(n,87),t)},s.lj=function(n,t,i){return r7n(this,u(n,87),u(t,87),i)},s.Zi=function(n,t,i,r,c){switch(n){case 3:return Z5(this,n,t,i,r,this.i>1);case 5:return Z5(this,n,t,i,r,this.i-u(i,15).gc()>0);default:return new Ea(this.e,n,this.c,t,i,r,!0)}},s.ij=function(){return!0},s.fj=function(){return MN(this)},s.Xj=function(){Dn(this)},p(Ze,"EClassImpl/1",1140),g(1154,1153,tue),s.ui=function(n){var t,i,r,c,o,f,l;if(i=n.xi(),i!=8){if(r=Ryn(n),r==0)switch(i){case 1:case 9:{l=n.Bi(),l!=null&&(t=is(u(l,473)),!t.c&&(t.c=new Rm),DS(t.c,n.Ai())),f=n.zi(),f!=null&&(c=u(f,473),c.Bb&1||(t=is(c),!t.c&&(t.c=new Rm),Bn(t.c,u(n.Ai(),26))));break}case 3:{f=n.zi(),f!=null&&(c=u(f,473),c.Bb&1||(t=is(c),!t.c&&(t.c=new Rm),Bn(t.c,u(n.Ai(),26))));break}case 5:{if(f=n.zi(),f!=null)for(o=u(f,14).Kc();o.Ob();)c=u(o.Pb(),473),c.Bb&1||(t=is(c),!t.c&&(t.c=new Rm),Bn(t.c,u(n.Ai(),26)));break}case 4:{l=n.Bi(),l!=null&&(c=u(l,473),c.Bb&1||(t=is(c),!t.c&&(t.c=new Rm),DS(t.c,n.Ai())));break}case 6:{if(l=n.Bi(),l!=null)for(o=u(l,14).Kc();o.Ob();)c=u(o.Pb(),473),c.Bb&1||(t=is(c),!t.c&&(t.c=new Rm),DS(t.c,n.Ai()));break}}this.Hk(r)}},s.Hk=function(n){rqe(this,n)},s.b=63,p(Ze,"ESuperAdapter",1154),g(1155,1154,tue,p7e),s.Hk=function(n){yw(this,n)},p(Ze,"EClassImpl/10",1155),g(1144,696,sc),s.Vh=function(n,t){return XN(this,n,t)},s.Wh=function(n){return e_e(this,n)},s.Xh=function(n,t){R7(this,n,t)},s.Yh=function(n){o7(this,n)},s.pi=function(n){return eJ(this,n)},s.mi=function(n,t){return bF(this,n,t)},s.lk=function(n,t){throw O(new Kn)},s.Zh=function(){return new d2(this)},s.$h=function(){return new L8(this)},s._h=function(n){return C7(this,n)},s.mk=function(n,t){throw O(new Kn)},s.Wj=function(n){return this},s.fj=function(){return this.i!=0},s.Wb=function(n){throw O(new Kn)},s.Xj=function(){throw O(new Kn)},p(_t,"EcoreEList/UnmodifiableEList",1144),g(319,1144,sc,Cg),s.ni=function(){return!1},p(_t,"EcoreEList/UnmodifiableEList/FastCompare",319),g(1147,319,sc,q$e),s.Xc=function(n){var t,i,r;if(_(n,170)&&(t=u(n,170),i=t.aj(),i!=-1)){for(r=this.i;i4)if(this.wj(n)){if(this.rk()){if(r=u(n,49),i=r.Ug(),l=i==this.b&&(this.Dk()?r.Og(r.Vg(),u(ze(Eu(this.b),this.aj()).Yj(),26).Bj())==Tr(u(ze(Eu(this.b),this.aj()),18)).n:-1-r.Vg()==this.aj()),this.Ek()&&!l&&!i&&r.Zg()){for(c=0;c1||r==-1)):!1},s.Dk=function(){var n,t,i;return t=ze(Eu(this.b),this.aj()),_(t,99)?(n=u(t,18),i=Tr(n),!!i):!1},s.Ek=function(){var n,t;return t=ze(Eu(this.b),this.aj()),_(t,99)?(n=u(t,18),(n.Bb&vr)!=0):!1},s.Xc=function(n){var t,i,r,c;if(r=this.Qi(n),r>=0)return r;if(this.Fk()){for(i=0,c=this.Vi();i=0;--n)jk(this,n,this.Oi(n));return this.Wi()},s.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)jk(this,t,this.Oi(t));return this.Xi(n)},s.Xj=function(){z6(this)},s.oi=function(n,t){return iDe(this,n,t)},p(_t,"DelegatingEcoreEList",742),g(1150,742,uue,ySe),s.Hi=function(n,t){S1n(this,n,u(t,26))},s.Ii=function(n){yhn(this,u(n,26))},s.Oi=function(n){var t,i;return t=u(K(Kc(this.a),n),87),i=t.c,_(i,88)?u(i,26):(qe(),Ro)},s.Ti=function(n){var t,i;return t=u(jw(Kc(this.a),n),87),i=t.c,_(i,88)?u(i,26):(qe(),Ro)},s.Ui=function(n,t){return M9n(this,n,u(t,26))},s.ai=function(){return!1},s.Zi=function(n,t,i,r,c){return null},s.Ji=function(){return new v7e(this)},s.Ki=function(){Dn(Kc(this.a))},s.Li=function(n){return DFe(this,n)},s.Mi=function(n){var t,i;for(i=n.Kc();i.Ob();)if(t=i.Pb(),!DFe(this,t))return!1;return!0},s.Ni=function(n){var t,i,r;if(_(n,15)&&(r=u(n,15),r.gc()==Kc(this.a).i)){for(t=r.Kc(),i=new jn(this);t.Ob();)if(X(t.Pb())!==X(Pn(i)))return!1;return!0}return!1},s.Pi=function(){var n,t,i,r,c;for(i=1,t=new jn(Kc(this.a));t.e!=t.i.gc();)n=u(Pn(t),87),r=(c=n.c,_(c,88)?u(c,26):(qe(),Ro)),i=31*i+(r?a0(r):0);return i},s.Qi=function(n){var t,i,r,c;for(r=0,i=new jn(Kc(this.a));i.e!=i.i.gc();){if(t=u(Pn(i),87),X(n)===X((c=t.c,_(c,88)?u(c,26):(qe(),Ro))))return r;++r}return-1},s.Ri=function(){return Kc(this.a).i==0},s.Si=function(){return null},s.Vi=function(){return Kc(this.a).i},s.Wi=function(){var n,t,i,r,c,o;for(o=Kc(this.a).i,c=V(pn,pe,1,o,5,1),i=0,t=new jn(Kc(this.a));t.e!=t.i.gc();)n=u(Pn(t),87),c[i++]=(r=n.c,_(r,88)?u(r,26):(qe(),Ro));return c},s.Xi=function(n){var t,i,r,c,o,f,l;for(l=Kc(this.a).i,n.lengthl&&Ut(n,l,null),r=0,i=new jn(Kc(this.a));i.e!=i.i.gc();)t=u(Pn(i),87),o=(f=t.c,_(f,88)?u(f,26):(qe(),Ro)),Ut(n,r++,o);return n},s.Yi=function(){var n,t,i,r,c;for(c=new za,c.a+="[",n=Kc(this.a),t=0,r=Kc(this.a).i;t>16,c>=0?_N(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,6,i);case 9:return!this.a&&(this.a=new fe(qa,this,9,5)),cu(this.a,n,i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),I1)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),I1)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 6:return Ns(this,null,6,i);case 7:return!this.A&&(this.A=new _u(mu,this,7)),ar(this.A,n,i);case 9:return!this.a&&(this.a=new fe(qa,this,9,5)),ar(this.a,n,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),I1)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),I1)),n,i)},s.lh=function(n){var t;switch(n){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!!q0(this);case 4:return!!oZ(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Ev(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 Js(this,n-vn((qe(),I1)),ze((t=u(en(this,16),26),t||I1),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:fS(this,Vn(t));return;case 2:bL(this,Vn(t));return;case 5:E3(this,Vn(t));return;case 7:!this.A&&(this.A=new _u(mu,this,7)),Dn(this.A),!this.A&&(this.A=new _u(mu,this,7)),Jt(this.A,u(t,14));return;case 8:wM(this,ke(ye(t)));return;case 9:!this.a&&(this.a=new fe(qa,this,9,5)),Dn(this.a),!this.a&&(this.a=new fe(qa,this,9,5)),Jt(this.a,u(t,14));return}co(this,n-vn((qe(),I1)),ze((i=u(en(this,16),26),i||I1),n),t)},s.zh=function(){return qe(),I1},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:_(this.Cb,179)&&(u(this.Cb,179).tb=null),ru(this,null);return;case 2:Yv(this,null),_v(this,this.D);return;case 5:E3(this,null);return;case 7:!this.A&&(this.A=new _u(mu,this,7)),Dn(this.A);return;case 8:wM(this,!0);return;case 9:!this.a&&(this.a=new fe(qa,this,9,5)),Dn(this.a);return}io(this,n-vn((qe(),I1)),ze((t=u(en(this,16),26),t||I1),n))},s.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?u(this.Cb,671):null}return eo(this,n-vn((qe(),Ch)),ze((r=u(en(this,16),26),r||Ch),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?C_e(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,5,i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),Ch)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),Ch)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 5:return Ns(this,null,5,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),Ch)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),Ch)),n,i)},s.lh=function(n){var t;switch(n){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,671))}return Js(this,n-vn((qe(),Ch)),ze((t=u(en(this,16),26),t||Ch),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:ru(this,Vn(t));return;case 2:yF(this,u(t,19).a);return;case 3:yRe(this,u(t,1940));return;case 4:jF(this,Vn(t));return}co(this,n-vn((qe(),Ch)),ze((i=u(en(this,16),26),i||Ch),n),t)},s.zh=function(){return qe(),Ch},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:ru(this,null);return;case 2:yF(this,0);return;case 3:yRe(this,null);return;case 4:jF(this,null);return}io(this,n-vn((qe(),Ch)),ze((t=u(en(this,16),26),t||Ch),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,p(Ze,"EEnumLiteralImpl",573);var IDn=Vt(Ze,"EFactoryImpl/InternalEDateTimeFormat");g(489,1,{2015:1},u8),p(Ze,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),g(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Jd),s.Sg=function(n,t,i){var r;return i=Ns(this,n,t,i),this.e&&_(n,170)&&(r=nP(this,this.e),r!=this.c&&(i=T3(this,r,i))),i},s._g=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new gi($r,this,1)),this.d;case 2:return t?hP(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?xN(this):this.a}return eo(this,n-vn((qe(),jb)),ze((r=u(en(this,16),26),r||jb),n),t,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return EFe(this,null,i);case 1:return!this.d&&(this.d=new gi($r,this,1)),ar(this.d,n,i);case 3:return jFe(this,null,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),jb)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),jb)),n,i)},s.lh=function(n){var t;switch(n){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 Js(this,n-vn((qe(),jb)),ze((t=u(en(this,16),26),t||jb),n))},s.sh=function(n,t){var i;switch(n){case 0:H_e(this,u(t,87));return;case 1:!this.d&&(this.d=new gi($r,this,1)),Dn(this.d),!this.d&&(this.d=new gi($r,this,1)),Jt(this.d,u(t,14));return;case 3:Kee(this,u(t,87));return;case 4:rne(this,u(t,836));return;case 5:Dv(this,u(t,138));return}co(this,n-vn((qe(),jb)),ze((i=u(en(this,16),26),i||jb),n),t)},s.zh=function(){return qe(),jb},s.Bh=function(n){var t;switch(n){case 0:H_e(this,null);return;case 1:!this.d&&(this.d=new gi($r,this,1)),Dn(this.d);return;case 3:Kee(this,null);return;case 4:rne(this,null);return;case 5:Dv(this,null);return}io(this,n-vn((qe(),jb)),ze((t=u(en(this,16),26),t||jb),n))},s.Ib=function(){var n;return n=new Ms(nf(this)),n.a+=" (expression: ",B_(this,n),n.a+=")",n.a};var Sde;p(Ze,"EGenericTypeImpl",241),g(1969,1964,vA),s.Xh=function(n,t){pSe(this,n,t)},s.lk=function(n,t){return pSe(this,this.gc(),n),t},s.pi=function(n){return Sf(this.Gi(),n)},s.Zh=function(){return this.$h()},s.Gi=function(){return new E7e(this)},s.$h=function(){return this._h(0)},s._h=function(n){return this.Gi().Zc(n)},s.mk=function(n,t){return hw(this,n,!0),t},s.ii=function(n,t){var i,r;return r=RN(this,t),i=this.Zc(n),i.Rb(r),r},s.ji=function(n,t){var i;hw(this,t,!0),i=this.Zc(n),i.Rb(t)},p(_t,"AbstractSequentialInternalEList",1969),g(486,1969,vA,D8),s.pi=function(n){return Sf(this.Gi(),n)},s.Zh=function(){return this.b==null?(Ua(),Ua(),lE):this.Jk()},s.Gi=function(){return new qTe(this.a,this.b)},s.$h=function(){return this.b==null?(Ua(),Ua(),lE):this.Jk()},s._h=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw O(new qr(py+n+", size=0"));return Ua(),Ua(),lE}for(i=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=A4||t.aj()!=0)&&(!this.Mk()||this.b.mh(t))){if(o=this.b.bh(t,this.Lk()),this.f=(jr(),u(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(r=u(o,15),this.k=r):(r=u(o,69),this.k=this.j=r),_(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?$Be(this,this.p):WBe(this))return c=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,72),n.ak(),i=n.dd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,72),n.ak(),i=n.dd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return cM(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw O(new Ac)},s.Vb=function(){return this.a-1},s.Qb=function(){throw O(new Kn)},s.Lk=function(){return!1},s.Wb=function(n){throw O(new Kn)},s.Mk=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var lE;p(_t,"EContentsEList/FeatureIteratorImpl",279),g(697,279,yA,fX),s.Lk=function(){return!0},p(_t,"EContentsEList/ResolvingFeatureIteratorImpl",697),g(1157,697,yA,cSe),s.Mk=function(){return!1},p(Ze,"ENamedElementImpl/1/1",1157),g(1158,279,yA,rSe),s.Mk=function(){return!1},p(Ze,"ENamedElementImpl/1/2",1158),g(36,143,Yk,iw,W$,$i,oF,Ea,Jo,dJ,Dxe,bJ,Lxe,_Q,$xe,pJ,Fxe,BQ,Nxe,wJ,_xe,z5,d7,C$,gJ,Bxe,RQ,Rxe),s._i=function(){return QQ(this)},s.gj=function(){var n;return n=QQ(this),n?n.zj():null},s.yi=function(n){return this.b==-1&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},s.Ai=function(){return this.c},s.hj=function(){var n;return n=QQ(this),n?n.Kj():!1},s.b=-1,p(Ze,"ENotificationImpl",36),g(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},wD),s.Qg=function(n){return P_e(this,n)},s._g=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return un(),!!(this.Bb&256);case 3:return un(),!!(this.Bb&512);case 4:return le(this.s);case 5:return le(this.t);case 6:return un(),o=this.t,o>1||o==-1;case 7:return un(),c=this.s,c>=1;case 8:return t?jo(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,26):null;case 11:return!this.d&&(this.d=new _u(mu,this,11)),this.d;case 12:return!this.c&&(this.c=new fe(kb,this,12,10)),this.c;case 13:return!this.a&&(this.a=new B8(this,this)),this.a;case 14:return rs(this)}return eo(this,n-vn((qe(),Sh)),ze((r=u(en(this,16),26),r||Sh),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?P_e(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,10,i);case 12:return!this.c&&(this.c=new fe(kb,this,12,10)),cu(this.c,n,i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),Sh)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),Sh)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 9:return a$(this,i);case 10:return Ns(this,null,10,i);case 11:return!this.d&&(this.d=new _u(mu,this,11)),ar(this.d,n,i);case 12:return!this.c&&(this.c=new fe(kb,this,12,10)),ar(this.c,n,i);case 14:return ar(rs(this),n,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),Sh)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),Sh)),n,i)},s.lh=function(n){var t,i,r;switch(n){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 r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&v0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&v0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,26));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&rs(this.a.a).i!=0&&!(this.b&&PN(this.b));case 14:return!!this.b&&PN(this.b)}return Js(this,n-vn((qe(),Sh)),ze((t=u(en(this,16),26),t||Sh),n))},s.sh=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:ru(this,Vn(t));return;case 2:ch(this,ke(ye(t)));return;case 3:uh(this,ke(ye(t)));return;case 4:th(this,u(t,19).a);return;case 5:fw(this,u(t,19).a);return;case 8:ad(this,u(t,138));return;case 9:r=Xf(this,u(t,87),null),r&&r.Fi();return;case 11:!this.d&&(this.d=new _u(mu,this,11)),Dn(this.d),!this.d&&(this.d=new _u(mu,this,11)),Jt(this.d,u(t,14));return;case 12:!this.c&&(this.c=new fe(kb,this,12,10)),Dn(this.c),!this.c&&(this.c=new fe(kb,this,12,10)),Jt(this.c,u(t,14));return;case 13:!this.a&&(this.a=new B8(this,this)),z6(this.a),!this.a&&(this.a=new B8(this,this)),Jt(this.a,u(t,14));return;case 14:Dn(rs(this)),Jt(rs(this),u(t,14));return}co(this,n-vn((qe(),Sh)),ze((i=u(en(this,16),26),i||Sh),n),t)},s.zh=function(){return qe(),Sh},s.Bh=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:ru(this,null);return;case 2:ch(this,!0);return;case 3:uh(this,!0);return;case 4:th(this,0);return;case 5:fw(this,1);return;case 8:ad(this,null);return;case 9:i=Xf(this,null,null),i&&i.Fi();return;case 11:!this.d&&(this.d=new _u(mu,this,11)),Dn(this.d);return;case 12:!this.c&&(this.c=new fe(kb,this,12,10)),Dn(this.c);return;case 13:this.a&&z6(this.a);return;case 14:this.b&&Dn(this.b);return}io(this,n-vn((qe(),Sh)),ze((t=u(en(this,16),26),t||Sh),n))},s.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nl&&Ut(n,l,null),r=0,i=new jn(rs(this.a));i.e!=i.i.gc();)t=u(Pn(i),87),o=(f=t.c,f||(qe(),sl)),Ut(n,r++,o);return n},s.Yi=function(){var n,t,i,r,c;for(c=new za,c.a+="[",n=rs(this.a),t=0,r=rs(this.a).i;t1);case 5:return Z5(this,n,t,i,r,this.i-u(i,15).gc()>0);default:return new Ea(this.e,n,this.c,t,i,r,!0)}},s.ij=function(){return!0},s.fj=function(){return PN(this)},s.Xj=function(){Dn(this)},p(Ze,"EOperationImpl/2",1341),g(498,1,{1938:1,498:1},jTe),p(Ze,"EPackageImpl/1",498),g(16,85,sc,fe),s.zk=function(){return this.d},s.Ak=function(){return this.b},s.Dk=function(){return!0},s.b=0,p(_t,"EObjectContainmentWithInverseEList",16),g(353,16,sc,b2),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectContainmentWithInverseEList/Resolving",353),g(298,353,sc,Qb),s.ci=function(){this.a.tb=null},p(Ze,"EPackageImpl/2",298),g(1228,1,{},mfn),p(Ze,"EPackageImpl/3",1228),g(718,43,fp,aW),s._b=function(n){return Ri(n)?S$(this,n):!!Qr(this.f,n)},p(Ze,"EPackageRegistryImpl",718),g(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},gD),s.Qg=function(n){return A_e(this,n)},s._g=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return un(),!!(this.Bb&256);case 3:return un(),!!(this.Bb&512);case 4:return le(this.s);case 5:return le(this.t);case 6:return un(),o=this.t,o>1||o==-1;case 7:return un(),c=this.s,c>=1;case 8:return t?jo(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,59):null}return eo(this,n-vn((qe(),lg)),ze((r=u(en(this,16),26),r||lg),n),t,i)},s.hh=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),cu(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?A_e(this,i):this.Cb.ih(this,-1-c,null,i))),Ns(this,n,10,i)}return o=u(ze((r=u(en(this,16),26),r||(qe(),lg)),t),66),o.Nj().Qj(this,hu(this),t-vn((qe(),lg)),n,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 9:return a$(this,i);case 10:return Ns(this,null,10,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),lg)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),lg)),n,i)},s.lh=function(n){var t,i,r;switch(n){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 r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&v0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&v0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,59))}return Js(this,n-vn((qe(),lg)),ze((t=u(en(this,16),26),t||lg),n))},s.zh=function(){return qe(),lg},p(Ze,"EParameterImpl",509),g(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},bX),s._g=function(n,t,i){var r,c,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return un(),!!(this.Bb&256);case 3:return un(),!!(this.Bb&512);case 4:return le(this.s);case 5:return le(this.t);case 6:return un(),f=this.t,f>1||f==-1;case 7:return un(),c=this.s,c>=1;case 8:return t?jo(this):this.r;case 9:return this.q;case 10:return un(),!!(this.Bb&rf);case 11:return un(),!!(this.Bb&Nw);case 12:return un(),!!(this.Bb&Aw);case 13:return this.j;case 14:return p3(this);case 15:return un(),!!(this.Bb&zu);case 16:return un(),!!(this.Bb&El);case 17:return ew(this);case 18:return un(),!!(this.Bb&Ic);case 19:return un(),o=Tr(this),!!(o&&o.Bb&Ic);case 20:return un(),!!(this.Bb&vr);case 21:return t?Tr(this):this.b;case 22:return t?QJ(this):oIe(this);case 23:return!this.a&&(this.a=new Ag(sg,this,23)),this.a}return eo(this,n-vn((qe(),Gp)),ze((r=u(en(this,16),26),r||Gp),n),t,i)},s.lh=function(n){var t,i,r,c;switch(n){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 i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&v0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&v0(this.q).i==0);case 10:return(this.Bb&rf)==0;case 11:return(this.Bb&Nw)!=0;case 12:return(this.Bb&Aw)!=0;case 13:return this.j!=null;case 14:return p3(this)!=null;case 15:return(this.Bb&zu)!=0;case 16:return(this.Bb&El)!=0;case 17:return!!ew(this);case 18:return(this.Bb&Ic)!=0;case 19:return r=Tr(this),!!r&&(r.Bb&Ic)!=0;case 20:return(this.Bb&vr)==0;case 21:return!!this.b;case 22:return!!oIe(this);case 23:return!!this.a&&this.a.i!=0}return Js(this,n-vn((qe(),Gp)),ze((t=u(en(this,16),26),t||Gp),n))},s.sh=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:B$(this,Vn(t));return;case 2:ch(this,ke(ye(t)));return;case 3:uh(this,ke(ye(t)));return;case 4:th(this,u(t,19).a);return;case 5:fw(this,u(t,19).a);return;case 8:ad(this,u(t,138));return;case 9:r=Xf(this,u(t,87),null),r&&r.Fi();return;case 10:e3(this,ke(ye(t)));return;case 11:i3(this,ke(ye(t)));return;case 12:n3(this,ke(ye(t)));return;case 13:jU(this,Vn(t));return;case 15:t3(this,ke(ye(t)));return;case 16:r3(this,ke(ye(t)));return;case 18:Ipn(this,ke(ye(t)));return;case 20:PZ(this,ke(ye(t)));return;case 21:MJ(this,u(t,18));return;case 23:!this.a&&(this.a=new Ag(sg,this,23)),Dn(this.a),!this.a&&(this.a=new Ag(sg,this,23)),Jt(this.a,u(t,14));return}co(this,n-vn((qe(),Gp)),ze((i=u(en(this,16),26),i||Gp),n),t)},s.zh=function(){return qe(),Gp},s.Bh=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:_(this.Cb,88)&&yw(is(u(this.Cb,88)),4),ru(this,null);return;case 2:ch(this,!0);return;case 3:uh(this,!0);return;case 4:th(this,0);return;case 5:fw(this,1);return;case 8:ad(this,null);return;case 9:i=Xf(this,null,null),i&&i.Fi();return;case 10:e3(this,!0);return;case 11:i3(this,!1);return;case 12:n3(this,!1);return;case 13:this.i=null,XS(this,null);return;case 15:t3(this,!1);return;case 16:r3(this,!1);return;case 18:MZ(this,!1),_(this.Cb,88)&&yw(is(u(this.Cb,88)),2);return;case 20:PZ(this,!0);return;case 21:MJ(this,null);return;case 23:!this.a&&(this.a=new Ag(sg,this,23)),Dn(this.a);return}io(this,n-vn((qe(),Gp)),ze((t=u(en(this,16),26),t||Gp),n))},s.Gh=function(){QJ(this),yv(zr((Hu(),tr),this)),jo(this),this.Bb|=1},s.Lj=function(){return Tr(this)},s.qk=function(){var n;return n=Tr(this),!!n&&(n.Bb&Ic)!=0},s.rk=function(){return(this.Bb&Ic)!=0},s.sk=function(){return(this.Bb&vr)!=0},s.nk=function(n,t){return this.c=null,yZ(this,n,t)},s.Ib=function(){var n;return this.Db&64?fP(this):(n=new po(fP(this)),n.a+=" (containment: ",Wa(n,(this.Bb&Ic)!=0),n.a+=", resolveProxies: ",Wa(n,(this.Bb&vr)!=0),n.a+=")",n.a)},p(Ze,"EReferenceImpl",99),g(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},G3e),s.Fb=function(n){return this===n},s.cd=function(){return this.b},s.dd=function(){return this.c},s.Hb=function(){return a0(this)},s.Uh=function(n){Nbn(this,Vn(n))},s.ed=function(n){return Cbn(this,Vn(n))},s._g=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return eo(this,n-vn((qe(),kr)),ze((r=u(en(this,16),26),r||kr),n),t,i)},s.lh=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Js(this,n-vn((qe(),kr)),ze((t=u(en(this,16),26),t||kr),n))},s.sh=function(n,t){var i;switch(n){case 0:_bn(this,Vn(t));return;case 1:TJ(this,Vn(t));return}co(this,n-vn((qe(),kr)),ze((i=u(en(this,16),26),i||kr),n),t)},s.zh=function(){return qe(),kr},s.Bh=function(n){var t;switch(n){case 0:EJ(this,null);return;case 1:TJ(this,null);return}io(this,n-vn((qe(),kr)),ze((t=u(en(this,16),26),t||kr),n))},s.Sh=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:oh(n)),this.a},s.Th=function(n){this.a=n},s.Ib=function(){var n;return this.Db&64?nf(this):(n=new po(nf(this)),n.a+=" (key: ",Fr(n,this.b),n.a+=", value: ",Fr(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var Mc=p(Ze,"EStringToStringMapEntryImpl",548),Urn=Vt(_t,"FeatureMap/Entry/Internal");g(565,1,kA),s.Ok=function(n){return this.Pk(u(n,49))},s.Pk=function(n){return this.Ok(n)},s.Fb=function(n){var t,i;return this===n?!0:_(n,72)?(t=u(n,72),t.ak()==this.c?(i=this.dd(),i==null?t.dd()==null:kt(i,t.dd())):!1):!1},s.ak=function(){return this.c},s.Hb=function(){var n;return n=this.dd(),Bt(this.c)^(n==null?0:Bt(n))},s.Ib=function(){var n,t;return n=this.c,t=Is(n.Hj()).Ph(),n.ne(),(t!=null&&t.length!=0?t+":"+n.ne():n.ne())+"="+this.dd()},p(Ze,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),g(776,565,kA,EX),s.Pk=function(n){return new EX(this.c,n)},s.dd=function(){return this.a},s.Qk=function(n,t,i){return e4n(this,n,this.a,t,i)},s.Rk=function(n,t,i){return n4n(this,n,this.a,t,i)},p(Ze,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),g(1314,1,{},ETe),s.Pj=function(n,t,i,r,c){var o;return o=u(Av(n,this.b),215),o.nl(this.a).Wj(r)},s.Qj=function(n,t,i,r,c){var o;return o=u(Av(n,this.b),215),o.el(this.a,r,c)},s.Rj=function(n,t,i,r,c){var o;return o=u(Av(n,this.b),215),o.fl(this.a,r,c)},s.Sj=function(n,t,i){var r;return r=u(Av(n,this.b),215),r.nl(this.a).fj()},s.Tj=function(n,t,i,r){var c;c=u(Av(n,this.b),215),c.nl(this.a).Wb(r)},s.Uj=function(n,t,i){return u(Av(n,this.b),215).nl(this.a)},s.Vj=function(n,t,i){var r;r=u(Av(n,this.b),215),r.nl(this.a).Xj()},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),g(89,1,{},Ya,Q1,Ja,ed),s.Pj=function(n,t,i,r,c){var o;if(o=t.Ch(i),o==null&&t.Dh(i,o=jP(this,n)),!c)switch(this.e){case 50:case 41:return u(o,589).sj();case 40:return u(o,215).kl()}return o},s.Qj=function(n,t,i,r,c){var o,f;return f=t.Ch(i),f==null&&t.Dh(i,f=jP(this,n)),o=u(f,69).lk(r,c),o},s.Rj=function(n,t,i,r,c){var o;return o=t.Ch(i),o!=null&&(c=u(o,69).mk(r,c)),c},s.Sj=function(n,t,i){var r;return r=t.Ch(i),r!=null&&u(r,76).fj()},s.Tj=function(n,t,i,r){var c;c=u(t.Ch(i),76),!c&&t.Dh(i,c=jP(this,n)),c.Wb(r)},s.Uj=function(n,t,i){var r,c;return c=t.Ch(i),c==null&&t.Dh(i,c=jP(this,n)),_(c,76)?u(c,76):(r=u(t.Ch(i),15),new j7e(r))},s.Vj=function(n,t,i){var r;r=u(t.Ch(i),76),!r&&t.Dh(i,r=jP(this,n)),r.Xj()},s.b=0,s.e=0,p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),g(504,1,{}),s.Qj=function(n,t,i,r,c){throw O(new Kn)},s.Rj=function(n,t,i,r,c){throw O(new Kn)},s.Uj=function(n,t,i){return new mAe(this,n,t,i)};var la;p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),g(1331,1,yK,mAe),s.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},s.fj=function(){return this.a.Sj(this.c,this.d,this.b)},s.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},s.Xj=function(){this.a.Vj(this.c,this.d,this.b)},s.b=0,p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),g(769,504,{},cQ),s.Pj=function(n,t,i,r,c){return S_(n,n.eh(),n.Vg())==this.b?this.sk()&&r?l_(n):n.eh():null},s.Qj=function(n,t,i,r,c){var o,f;return n.eh()&&(c=(o=n.Vg(),o>=0?n.Qg(c):n.eh().ih(n,-1-o,null,c))),f=qt(n.Tg(),this.e),n.Sg(r,f,c)},s.Rj=function(n,t,i,r,c){var o;return o=qt(n.Tg(),this.e),n.Sg(null,o,c)},s.Sj=function(n,t,i){var r;return r=qt(n.Tg(),this.e),!!n.eh()&&n.Vg()==r},s.Tj=function(n,t,i,r){var c,o,f,l,a;if(r!=null&&!x_(this.a,r))throw O(new Um(jA+(_(r,56)?Bee(u(r,56).Tg()):fJ(cs(r)))+EA+this.a+"'"));if(c=n.eh(),f=qt(n.Tg(),this.e),X(r)!==X(c)||n.Vg()!=f&&r!=null){if(o3(n,u(r,56)))throw O(new rn(wy+n.Ib()));a=null,c&&(a=(o=n.Vg(),o>=0?n.Qg(a):n.eh().ih(n,-1-o,null,a))),l=u(r,49),l&&(a=l.gh(n,qt(l.Tg(),this.b),null,a)),a=n.Sg(l,f,a),a&&a.Fi()}else n.Lg()&&n.Mg()&&yt(n,new $i(n,1,f,r,r))},s.Vj=function(n,t,i){var r,c,o,f;r=n.eh(),r?(f=(c=n.Vg(),c>=0?n.Qg(null):n.eh().ih(n,-1-c,null,null)),o=qt(n.Tg(),this.e),f=n.Sg(null,o,f),f&&f.Fi()):n.Lg()&&n.Mg()&&yt(n,new z5(n,1,this.e,null,null))},s.sk=function(){return!1},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),g(1315,769,{},lMe),s.sk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),g(563,504,{}),s.Pj=function(n,t,i,r,c){var o;return o=t.Ch(i),o==null?this.b:X(o)===X(la)?null:o},s.Sj=function(n,t,i){var r;return r=t.Ch(i),r!=null&&(X(r)===X(la)||!kt(r,this.b))},s.Tj=function(n,t,i,r){var c,o;n.Lg()&&n.Mg()?(c=(o=t.Ch(i),o==null?this.b:X(o)===X(la)?null:o),r==null?this.c!=null?(t.Dh(i,null),r=this.b):this.b!=null?t.Dh(i,la):t.Dh(i,null):(this.Sk(r),t.Dh(i,r)),yt(n,this.d.Tk(n,1,this.e,c,r))):r==null?this.c!=null?t.Dh(i,null):this.b!=null?t.Dh(i,la):t.Dh(i,null):(this.Sk(r),t.Dh(i,r))},s.Vj=function(n,t,i){var r,c;n.Lg()&&n.Mg()?(r=(c=t.Ch(i),c==null?this.b:X(c)===X(la)?null:c),t.Eh(i),yt(n,this.d.Tk(n,1,this.e,r,this.b))):t.Eh(i)},s.Sk=function(n){throw O(new I7e)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),g(vp,1,{},z3e),s.Tk=function(n,t,i,r,c){return new z5(n,t,i,r,c)},s.Uk=function(n,t,i,r,c,o){return new C$(n,t,i,r,c,o)};var Mde,Pde,Ade,xde,Ode,Ide,Dde,UV,Lde;p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",vp),g(1332,vp,{},W3e),s.Tk=function(n,t,i,r,c){return new RQ(n,t,i,ke(ye(r)),ke(ye(c)))},s.Uk=function(n,t,i,r,c,o){return new Rxe(n,t,i,ke(ye(r)),ke(ye(c)),o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),g(1333,vp,{},U3e),s.Tk=function(n,t,i,r,c){return new dJ(n,t,i,u(r,217).a,u(c,217).a)},s.Uk=function(n,t,i,r,c,o){return new Dxe(n,t,i,u(r,217).a,u(c,217).a,o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),g(1334,vp,{},X3e),s.Tk=function(n,t,i,r,c){return new bJ(n,t,i,u(r,172).a,u(c,172).a)},s.Uk=function(n,t,i,r,c,o){return new Lxe(n,t,i,u(r,172).a,u(c,172).a,o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),g(1335,vp,{},Y3e),s.Tk=function(n,t,i,r,c){return new _Q(n,t,i,ee(he(r)),ee(he(c)))},s.Uk=function(n,t,i,r,c,o){return new $xe(n,t,i,ee(he(r)),ee(he(c)),o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),g(1336,vp,{},Q3e),s.Tk=function(n,t,i,r,c){return new pJ(n,t,i,u(r,155).a,u(c,155).a)},s.Uk=function(n,t,i,r,c,o){return new Fxe(n,t,i,u(r,155).a,u(c,155).a,o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),g(1337,vp,{},J3e),s.Tk=function(n,t,i,r,c){return new BQ(n,t,i,u(r,19).a,u(c,19).a)},s.Uk=function(n,t,i,r,c,o){return new Nxe(n,t,i,u(r,19).a,u(c,19).a,o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),g(1338,vp,{},Z3e),s.Tk=function(n,t,i,r,c){return new wJ(n,t,i,u(r,162).a,u(c,162).a)},s.Uk=function(n,t,i,r,c,o){return new _xe(n,t,i,u(r,162).a,u(c,162).a,o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),g(1339,vp,{},e4e),s.Tk=function(n,t,i,r,c){return new gJ(n,t,i,u(r,184).a,u(c,184).a)},s.Uk=function(n,t,i,r,c,o){return new Bxe(n,t,i,u(r,184).a,u(c,184).a,o)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),g(1317,563,{},vAe),s.Sk=function(n){if(!this.a.wj(n))throw O(new Um(jA+cs(n)+EA+this.a+"'"))},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),g(1318,563,{},sPe),s.Sk=function(n){},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),g(770,563,{}),s.Sj=function(n,t,i){var r;return r=t.Ch(i),r!=null},s.Tj=function(n,t,i,r){var c,o;n.Lg()&&n.Mg()?(c=!0,o=t.Ch(i),o==null?(c=!1,o=this.b):X(o)===X(la)&&(o=null),r==null?this.c!=null?(t.Dh(i,null),r=this.b):t.Dh(i,la):(this.Sk(r),t.Dh(i,r)),yt(n,this.d.Uk(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.Dh(i,null):t.Dh(i,la):(this.Sk(r),t.Dh(i,r))},s.Vj=function(n,t,i){var r,c;n.Lg()&&n.Mg()?(r=!0,c=t.Ch(i),c==null?(r=!1,c=this.b):X(c)===X(la)&&(c=null),t.Eh(i),yt(n,this.d.Uk(n,2,this.e,c,this.b,r))):t.Eh(i)},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),g(1319,770,{},yAe),s.Sk=function(n){if(!this.a.wj(n))throw O(new Um(jA+cs(n)+EA+this.a+"'"))},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),g(1320,770,{},oPe),s.Sk=function(n){},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),g(398,504,{},AC),s.Pj=function(n,t,i,r,c){var o,f,l,a,h;if(h=t.Ch(i),this.Kj()&&X(h)===X(la))return null;if(this.sk()&&r&&h!=null){if(l=u(h,49),l.kh()&&(a=e1(n,l),l!=a)){if(!x_(this.a,a))throw O(new Um(jA+cs(a)+EA+this.a+"'"));t.Dh(i,h=a),this.rk()&&(o=u(a,49),f=l.ih(n,this.b?qt(l.Tg(),this.b):-1-qt(n.Tg(),this.e),null,null),!o.eh()&&(f=o.gh(n,this.b?qt(o.Tg(),this.b):-1-qt(n.Tg(),this.e),null,f)),f&&f.Fi()),n.Lg()&&n.Mg()&&yt(n,new z5(n,9,this.e,l,a))}return h}else return h},s.Qj=function(n,t,i,r,c){var o,f;return f=t.Ch(i),X(f)===X(la)&&(f=null),t.Dh(i,r),this.bj()?X(f)!==X(r)&&f!=null&&(o=u(f,49),c=o.ih(n,qt(o.Tg(),this.b),null,c)):this.rk()&&f!=null&&(c=u(f,49).ih(n,-1-qt(n.Tg(),this.e),null,c)),n.Lg()&&n.Mg()&&(!c&&(c=new Dh(4)),c.Ei(new z5(n,1,this.e,f,r))),c},s.Rj=function(n,t,i,r,c){var o;return o=t.Ch(i),X(o)===X(la)&&(o=null),t.Eh(i),n.Lg()&&n.Mg()&&(!c&&(c=new Dh(4)),this.Kj()?c.Ei(new z5(n,2,this.e,o,null)):c.Ei(new z5(n,1,this.e,o,null))),c},s.Sj=function(n,t,i){var r;return r=t.Ch(i),r!=null},s.Tj=function(n,t,i,r){var c,o,f,l,a;if(r!=null&&!x_(this.a,r))throw O(new Um(jA+(_(r,56)?Bee(u(r,56).Tg()):fJ(cs(r)))+EA+this.a+"'"));a=t.Ch(i),l=a!=null,this.Kj()&&X(a)===X(la)&&(a=null),f=null,this.bj()?X(a)!==X(r)&&(a!=null&&(c=u(a,49),f=c.ih(n,qt(c.Tg(),this.b),null,f)),r!=null&&(c=u(r,49),f=c.gh(n,qt(c.Tg(),this.b),null,f))):this.rk()&&X(a)!==X(r)&&(a!=null&&(f=u(a,49).ih(n,-1-qt(n.Tg(),this.e),null,f)),r!=null&&(f=u(r,49).gh(n,-1-qt(n.Tg(),this.e),null,f))),r==null&&this.Kj()?t.Dh(i,la):t.Dh(i,r),n.Lg()&&n.Mg()?(o=new C$(n,1,this.e,a,r,this.Kj()&&!l),f?(f.Ei(o),f.Fi()):yt(n,o)):f&&f.Fi()},s.Vj=function(n,t,i){var r,c,o,f,l;l=t.Ch(i),f=l!=null,this.Kj()&&X(l)===X(la)&&(l=null),o=null,l!=null&&(this.bj()?(r=u(l,49),o=r.ih(n,qt(r.Tg(),this.b),null,o)):this.rk()&&(o=u(l,49).ih(n,-1-qt(n.Tg(),this.e),null,o))),t.Eh(i),n.Lg()&&n.Mg()?(c=new C$(n,this.Kj()?2:1,this.e,l,null,f),o?(o.Ei(c),o.Fi()):yt(n,c)):o&&o.Fi()},s.bj=function(){return!1},s.rk=function(){return!1},s.sk=function(){return!1},s.Kj=function(){return!1},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),g(564,398,{},ML),s.rk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),g(1323,564,{},uSe),s.sk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),g(772,564,{},lX),s.Kj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),g(1325,772,{},sSe),s.sk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),g(640,564,{},KL),s.bj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),g(1324,640,{},aMe),s.sk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),g(773,640,{},YX),s.Kj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),g(1326,773,{},hMe),s.sk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),g(641,398,{},aX),s.sk=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),g(1327,641,{},oSe),s.Kj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),g(774,641,{},UX),s.bj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),g(1328,774,{},dMe),s.Kj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),g(1321,398,{},fSe),s.Kj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),g(771,398,{},XX),s.bj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),g(1322,771,{},bMe),s.Kj=function(){return!0},p(Ze,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),g(775,565,kA,GY),s.Pk=function(n){return new GY(this.a,this.c,n)},s.dd=function(){return this.b},s.Qk=function(n,t,i){return nvn(this,n,this.b,i)},s.Rk=function(n,t,i){return tvn(this,n,this.b,i)},p(Ze,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),g(1329,1,yK,j7e),s.Wj=function(n){return this.a},s.fj=function(){return _(this.a,95)?u(this.a,95).fj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Gc(u(n,15))},s.Xj=function(){_(this.a,95)?u(this.a,95).Xj():this.a.$b()},p(Ze,"EStructuralFeatureImpl/SettingMany",1329),g(1330,565,kA,POe),s.Ok=function(n){return new xL((At(),x9),this.b.Ih(this.a,n))},s.dd=function(){return null},s.Qk=function(n,t,i){return i},s.Rk=function(n,t,i){return i},p(Ze,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),g(642,565,kA,xL),s.Ok=function(n){return new xL(this.c,n)},s.dd=function(){return this.a},s.Qk=function(n,t,i){return i},s.Rk=function(n,t,i){return i},p(Ze,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),g(391,497,Dl,Rm),s.ri=function(n){return V(No,pe,26,n,0,1)},s.ni=function(){return!1},p(Ze,"ESuperAdapter/1",391),g(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},eD),s._g=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new q5(this,$r,this)),this.a}return eo(this,n-vn((qe(),Eb)),ze((r=u(en(this,16),26),r||Eb),n),t,i)},s.jh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new fe(it,this,0,3)),ar(this.Ab,n,i);case 2:return!this.a&&(this.a=new q5(this,$r,this)),ar(this.a,n,i)}return c=u(ze((r=u(en(this,16),26),r||(qe(),Eb)),t),66),c.Nj().Rj(this,hu(this),t-vn((qe(),Eb)),n,i)},s.lh=function(n){var t;switch(n){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 Js(this,n-vn((qe(),Eb)),ze((t=u(en(this,16),26),t||Eb),n))},s.sh=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab),!this.Ab&&(this.Ab=new fe(it,this,0,3)),Jt(this.Ab,u(t,14));return;case 1:ru(this,Vn(t));return;case 2:!this.a&&(this.a=new q5(this,$r,this)),Dn(this.a),!this.a&&(this.a=new q5(this,$r,this)),Jt(this.a,u(t,14));return}co(this,n-vn((qe(),Eb)),ze((i=u(en(this,16),26),i||Eb),n),t)},s.zh=function(){return qe(),Eb},s.Bh=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new fe(it,this,0,3)),Dn(this.Ab);return;case 1:ru(this,null);return;case 2:!this.a&&(this.a=new q5(this,$r,this)),Dn(this.a);return}io(this,n-vn((qe(),Eb)),ze((t=u(en(this,16),26),t||Eb),n))},p(Ze,"ETypeParameterImpl",444),g(445,85,sc,q5),s.cj=function(n,t){return tkn(this,u(n,87),t)},s.dj=function(n,t){return ikn(this,u(n,87),t)},p(Ze,"ETypeParameterImpl/1",445),g(634,43,fp,pD),s.ec=function(){return new tT(this)},p(Ze,"ETypeParameterImpl/2",634),g(556,Yf,Vu,tT),s.Fc=function(n){return $Se(this,u(n,87))},s.Gc=function(n){var t,i,r;for(r=!1,i=n.Kc();i.Ob();)t=u(i.Pb(),87),jt(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){Yu(this.a)},s.Hc=function(n){return ys(this.a,n)},s.Kc=function(){var n;return n=new ld(new H1(this.a).a),new iT(n)},s.Mc=function(n){return kIe(this,n)},s.gc=function(){return s5(this.a)},p(Ze,"ETypeParameterImpl/2/1",556),g(557,1,qi,iT),s.Nb=function(n){Ji(this,n)},s.Pb=function(){return u(A0(this.a).cd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){JIe(this.a)},p(Ze,"ETypeParameterImpl/2/1/1",557),g(1276,43,fp,hke),s._b=function(n){return Ri(n)?S$(this,n):!!Qr(this.f,n)},s.xc=function(n){var t,i;return t=Ri(n)?zc(this,n):yc(Qr(this.f,n)),_(t,837)?(i=u(t,837),t=i._j(),jt(this,u(n,235),t),t):t??(n==null?(LD(),Yrn):null)},p(Ze,"EValidatorRegistryImpl",1276),g(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},n4e),s.Ih=function(n,t){switch(n.yj()){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:uc(t);case 25:return l3n(t);case 27:return Mvn(t);case 28:return Pvn(t);case 29:return t==null?null:wCe(T9[0],u(t,199));case 41:return t==null?"":Lh(u(t,290));case 42:return uc(t);case 50:return Vn(t);default:throw O(new rn(K3+n.ne()+tb))}},s.Jh=function(n){var t,i,r,c,o,f,l,a,h,w,y,j,T,C,x,$;switch(n.G==-1&&(n.G=(j=Is(n),j?sh(j.Mh(),n):-1)),n.G){case 0:return i=new bD,i;case 1:return t=new uz,t;case 2:return r=new az,r;case 4:return c=new rT,c;case 5:return o=new ake,o;case 6:return f=new $7e,f;case 7:return l=new lz,l;case 10:return h=new WE,h;case 11:return w=new wD,w;case 12:return y=new NAe,y;case 13:return T=new gD,T;case 14:return C=new bX,C;case 17:return x=new G3e,x;case 18:return a=new Jd,a;case 19:return $=new eD,$;default:throw O(new rn(rK+n.zb+tb))}},s.Kh=function(n,t){switch(n.yj()){case 20:return t==null?null:new DW(t);case 21:return t==null?null:new Rh(t);case 23:case 22:return t==null?null:wyn(t);case 26:case 24:return t==null?null:j7(Fs(t,-128,127)<<24>>24);case 25:return STn(t);case 27:return J9n(t);case 28:return Z9n(t);case 29:return kkn(t);case 32:case 31:return t==null?null:vw(t);case 38:case 37:return t==null?null:new Zz(t);case 40:case 39:return t==null?null:le(Fs(t,cr,vt));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:dd(kP(t));case 49:case 48:return t==null?null:Zv(Fs(t,TA,32767)<<16>>16);case 50:return t;default:throw O(new rn(K3+n.ne()+tb))}},p(Ze,"EcoreFactoryImpl",1313),g(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},eAe),s.gb=!1,s.hb=!1;var $de,Xrn=!1;p(Ze,"EcorePackageImpl",547),g(1184,1,{837:1},t4e),s._j=function(){return BCe(),Qrn},p(Ze,"EcorePackageImpl/1",1184),g(1193,1,ft,i4e),s.wj=function(n){return _(n,147)},s.xj=function(n){return V(uE,pe,147,n,0,1)},p(Ze,"EcorePackageImpl/10",1193),g(1194,1,ft,r4e),s.wj=function(n){return _(n,191)},s.xj=function(n){return V(BV,pe,191,n,0,1)},p(Ze,"EcorePackageImpl/11",1194),g(1195,1,ft,c4e),s.wj=function(n){return _(n,56)},s.xj=function(n){return V(P1,pe,56,n,0,1)},p(Ze,"EcorePackageImpl/12",1195),g(1196,1,ft,u4e),s.wj=function(n){return _(n,399)},s.xj=function(n){return V(_o,cue,59,n,0,1)},p(Ze,"EcorePackageImpl/13",1196),g(1197,1,ft,s4e),s.wj=function(n){return _(n,235)},s.xj=function(n){return V(If,pe,235,n,0,1)},p(Ze,"EcorePackageImpl/14",1197),g(1198,1,ft,o4e),s.wj=function(n){return _(n,509)},s.xj=function(n){return V(kb,pe,2017,n,0,1)},p(Ze,"EcorePackageImpl/15",1198),g(1199,1,ft,f4e),s.wj=function(n){return _(n,99)},s.xj=function(n){return V(og,mp,18,n,0,1)},p(Ze,"EcorePackageImpl/16",1199),g(1200,1,ft,l4e),s.wj=function(n){return _(n,170)},s.xj=function(n){return V($u,mp,170,n,0,1)},p(Ze,"EcorePackageImpl/17",1200),g(1201,1,ft,a4e),s.wj=function(n){return _(n,472)},s.xj=function(n){return V(ug,pe,472,n,0,1)},p(Ze,"EcorePackageImpl/18",1201),g(1202,1,ft,h4e),s.wj=function(n){return _(n,548)},s.xj=function(n){return V(Mc,YWe,548,n,0,1)},p(Ze,"EcorePackageImpl/19",1202),g(1185,1,ft,d4e),s.wj=function(n){return _(n,322)},s.xj=function(n){return V(sg,mp,34,n,0,1)},p(Ze,"EcorePackageImpl/2",1185),g(1203,1,ft,b4e),s.wj=function(n){return _(n,241)},s.xj=function(n){return V($r,dUe,87,n,0,1)},p(Ze,"EcorePackageImpl/20",1203),g(1204,1,ft,w4e),s.wj=function(n){return _(n,444)},s.xj=function(n){return V(mu,pe,836,n,0,1)},p(Ze,"EcorePackageImpl/21",1204),g(1205,1,ft,g4e),s.wj=function(n){return qb(n)},s.xj=function(n){return V(Si,ie,476,n,8,1)},p(Ze,"EcorePackageImpl/22",1205),g(1206,1,ft,p4e),s.wj=function(n){return _(n,190)},s.xj=function(n){return V(Uu,ie,190,n,0,2)},p(Ze,"EcorePackageImpl/23",1206),g(1207,1,ft,m4e),s.wj=function(n){return _(n,217)},s.xj=function(n){return V(um,ie,217,n,0,1)},p(Ze,"EcorePackageImpl/24",1207),g(1208,1,ft,v4e),s.wj=function(n){return _(n,172)},s.xj=function(n){return V(My,ie,172,n,0,1)},p(Ze,"EcorePackageImpl/25",1208),g(1209,1,ft,y4e),s.wj=function(n){return _(n,199)},s.xj=function(n){return V(NA,ie,199,n,0,1)},p(Ze,"EcorePackageImpl/26",1209),g(1210,1,ft,k4e),s.wj=function(n){return!1},s.xj=function(n){return V(Zde,pe,2110,n,0,1)},p(Ze,"EcorePackageImpl/27",1210),g(1211,1,ft,j4e),s.wj=function(n){return Hb(n)},s.xj=function(n){return V(Ui,ie,333,n,7,1)},p(Ze,"EcorePackageImpl/28",1211),g(1212,1,ft,E4e),s.wj=function(n){return _(n,58)},s.xj=function(n){return V(bde,xw,58,n,0,1)},p(Ze,"EcorePackageImpl/29",1212),g(1186,1,ft,T4e),s.wj=function(n){return _(n,510)},s.xj=function(n){return V(it,{3:1,4:1,5:1,1934:1},590,n,0,1)},p(Ze,"EcorePackageImpl/3",1186),g(1213,1,ft,C4e),s.wj=function(n){return _(n,573)},s.xj=function(n){return V(pde,pe,1940,n,0,1)},p(Ze,"EcorePackageImpl/30",1213),g(1214,1,ft,S4e),s.wj=function(n){return _(n,153)},s.xj=function(n){return V(Rde,xw,153,n,0,1)},p(Ze,"EcorePackageImpl/31",1214),g(1215,1,ft,M4e),s.wj=function(n){return _(n,72)},s.xj=function(n){return V(ZO,jUe,72,n,0,1)},p(Ze,"EcorePackageImpl/32",1215),g(1216,1,ft,P4e),s.wj=function(n){return _(n,155)},s.xj=function(n){return V(U3,ie,155,n,0,1)},p(Ze,"EcorePackageImpl/33",1216),g(1217,1,ft,A4e),s.wj=function(n){return _(n,19)},s.xj=function(n){return V(dr,ie,19,n,0,1)},p(Ze,"EcorePackageImpl/34",1217),g(1218,1,ft,x4e),s.wj=function(n){return _(n,290)},s.xj=function(n){return V(mue,pe,290,n,0,1)},p(Ze,"EcorePackageImpl/35",1218),g(1219,1,ft,O4e),s.wj=function(n){return _(n,162)},s.xj=function(n){return V(rb,ie,162,n,0,1)},p(Ze,"EcorePackageImpl/36",1219),g(1220,1,ft,I4e),s.wj=function(n){return _(n,83)},s.xj=function(n){return V(vue,pe,83,n,0,1)},p(Ze,"EcorePackageImpl/37",1220),g(1221,1,ft,D4e),s.wj=function(n){return _(n,591)},s.xj=function(n){return V(Fde,pe,591,n,0,1)},p(Ze,"EcorePackageImpl/38",1221),g(1222,1,ft,L4e),s.wj=function(n){return!1},s.xj=function(n){return V(e0e,pe,2111,n,0,1)},p(Ze,"EcorePackageImpl/39",1222),g(1187,1,ft,$4e),s.wj=function(n){return _(n,88)},s.xj=function(n){return V(No,pe,26,n,0,1)},p(Ze,"EcorePackageImpl/4",1187),g(1223,1,ft,F4e),s.wj=function(n){return _(n,184)},s.xj=function(n){return V(cb,ie,184,n,0,1)},p(Ze,"EcorePackageImpl/40",1223),g(1224,1,ft,N4e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(Ze,"EcorePackageImpl/41",1224),g(1225,1,ft,_4e),s.wj=function(n){return _(n,588)},s.xj=function(n){return V(gde,pe,588,n,0,1)},p(Ze,"EcorePackageImpl/42",1225),g(1226,1,ft,B4e),s.wj=function(n){return!1},s.xj=function(n){return V(n0e,ie,2112,n,0,1)},p(Ze,"EcorePackageImpl/43",1226),g(1227,1,ft,R4e),s.wj=function(n){return _(n,42)},s.xj=function(n){return V(Ad,SP,42,n,0,1)},p(Ze,"EcorePackageImpl/44",1227),g(1188,1,ft,K4e),s.wj=function(n){return _(n,138)},s.xj=function(n){return V(Df,pe,138,n,0,1)},p(Ze,"EcorePackageImpl/5",1188),g(1189,1,ft,q4e),s.wj=function(n){return _(n,148)},s.xj=function(n){return V(GV,pe,148,n,0,1)},p(Ze,"EcorePackageImpl/6",1189),g(1190,1,ft,H4e),s.wj=function(n){return _(n,457)},s.xj=function(n){return V(JO,pe,671,n,0,1)},p(Ze,"EcorePackageImpl/7",1190),g(1191,1,ft,V4e),s.wj=function(n){return _(n,573)},s.xj=function(n){return V(qa,pe,678,n,0,1)},p(Ze,"EcorePackageImpl/8",1191),g(1192,1,ft,G4e),s.wj=function(n){return _(n,471)},s.xj=function(n){return V(E9,pe,471,n,0,1)},p(Ze,"EcorePackageImpl/9",1192),g(1025,1982,XWe,xke),s.bi=function(n,t){K5n(this,u(t,415))},s.fi=function(n,t){VBe(this,n,u(t,415))},p(Ze,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),g(1026,143,Yk,GPe),s.Ai=function(){return this.a.a},p(Ze,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),g(1053,1052,{},sCe),p("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var Fde=Vt(EUe,"Resource");g(781,1378,TUe),s.Yk=function(n){},s.Zk=function(n){},s.Vk=function(){return!this.a&&(this.a=new fD(this)),this.a},s.Wk=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Gn(0,n.length),n.charCodeAt(0)==47){for(o=new iu(4),c=1,t=1;t0&&(n=n.substr(0,i)));return fEn(this,n)},s.Xk=function(){return this.c},s.Ib=function(){var n;return Lh(this.gm)+"@"+(n=Bt(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,p(kK,"ResourceImpl",781),g(1379,781,TUe,T7e),p(kK,"BinaryResourceImpl",1379),g(1169,694,wK),s.si=function(n){return _(n,56)?Vgn(this,u(n,56)):_(n,591)?new jn(u(n,591).Vk()):X(n)===X(this.f)?u(n,14).Kc():(lv(),fE.a)},s.Ob=function(){return xne(this)},s.a=!1,p(_t,"EcoreUtil/ContentTreeIterator",1169),g(1380,1169,wK,jPe),s.si=function(n){return X(n)===X(this.f)?u(n,15).Kc():new cOe(u(n,56))},p(kK,"ResourceImpl/5",1380),g(648,1994,hUe,fD),s.Hc=function(n){return this.i<=4?l3(this,n):_(n,49)&&u(n,49).Zg()==this.a},s.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.di=function(n,t){n==0?this.a.b||(this.a.b=!0):iF(this,n,t)},s.fi=function(n,t){},s.gi=function(n,t,i){},s.aj=function(){return 2},s.Ai=function(){return this.a},s.bj=function(){return!0},s.cj=function(n,t){var i;return i=u(n,49),t=i.wh(this.a,t),t},s.dj=function(n,t){var i;return i=u(n,49),i.wh(null,t)},s.ej=function(){return!1},s.hi=function(){return!0},s.ri=function(n){return V(P1,pe,56,n,0,1)},s.ni=function(){return!1},p(kK,"ResourceImpl/ContentsEList",648),g(957,1964,A3,E7e),s.Zc=function(n){return this.a._h(n)},s.gc=function(){return this.a.gc()},p(_t,"AbstractSequentialInternalEList/1",957);var Nde,_de,tr,Bde;g(624,1,{},TMe);var eI,nI;p(_t,"BasicExtendedMetaData",624),g(1160,1,{},TTe),s.$k=function(){return null},s._k=function(){return this.a==-2&&qfn(this,gkn(this.d,this.b)),this.a},s.al=function(){return null},s.bl=function(){return He(),He(),Sr},s.ne=function(){return this.c==V3&&Vfn(this,kNe(this.d,this.b)),this.c},s.cl=function(){return 0},s.a=-2,s.c=V3,p(_t,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),g(1161,1,{},Gxe),s.$k=function(){return this.a==(Mv(),eI)&&Hfn(this,ICn(this.f,this.b)),this.a},s._k=function(){return 0},s.al=function(){return this.c==(Mv(),eI)&&Gfn(this,DCn(this.f,this.b)),this.c},s.bl=function(){return!this.d&&zfn(this,IMn(this.f,this.b)),this.d},s.ne=function(){return this.e==V3&&Wfn(this,kNe(this.f,this.b)),this.e},s.cl=function(){return this.g==-2&&Ufn(this,$7n(this.f,this.b)),this.g},s.e=V3,s.g=-2,p(_t,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),g(1159,1,{},STe),s.b=!1,s.c=!1,p(_t,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),g(1162,1,{},Vxe),s.c=-2,s.e=V3,s.f=V3,p(_t,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),g(585,622,sc,kC),s.aj=function(){return this.c},s.Fk=function(){return!1},s.li=function(n,t){return t},s.c=0,p(_t,"EDataTypeEList",585);var Rde=Vt(_t,"FeatureMap");g(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},Zt),s.Vc=function(n,t){PCn(this,n,u(t,72))},s.Fc=function(n){return WTn(this,u(n,72))},s.Yh=function(n){Dwn(this,u(n,72))},s.cj=function(n,t){return ddn(this,u(n,72),t)},s.dj=function(n,t){return NX(this,u(n,72),t)},s.ii=function(n,t){return YMn(this,n,t)},s.li=function(n,t){return Axn(this,n,u(t,72))},s._c=function(n,t){return mSn(this,n,u(t,72))},s.jj=function(n,t){return bdn(this,u(n,72),t)},s.kj=function(n,t){return XSe(this,u(n,72),t)},s.lj=function(n,t,i){return m7n(this,u(n,72),u(t,72),i)},s.oi=function(n,t){return WN(this,n,u(t,72))},s.dl=function(n,t){return mte(this,n,t)},s.Wc=function(n,t){var i,r,c,o,f,l,a,h,w;for(h=new P0(t.gc()),c=t.Kc();c.Ob();)if(r=u(c.Pb(),72),o=r.ak(),Ia(this.e,o))(!o.hi()||!gS(this,o,r.dd())&&!l3(h,r))&&Bn(h,r);else{for(w=bu(this.e.Tg(),o),i=u(this.g,119),f=!0,l=0;l=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},p(_t,"BasicFeatureMap/FeatureEIterator",410),g(662,410,Ql,hL),s.Lk=function(){return!0},p(_t,"BasicFeatureMap/ResolvingFeatureEIterator",662),g(955,486,vA,pCe),s.Gi=function(){return this},p(_t,"EContentsEList/1",955),g(956,486,vA,qTe),s.Lk=function(){return!1},p(_t,"EContentsEList/2",956),g(954,279,yA,mCe),s.Nk=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},p(_t,"EContentsEList/FeatureIteratorImpl/1",954),g(825,585,sc,qU),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var n;Dn(this),ps(this.e)?(n=this.a,this.a=!1,yt(this.e,new Jo(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,p(_t,"EDataTypeEList/Unsettable",825),g(1849,585,sc,SCe),s.hi=function(){return!0},p(_t,"EDataTypeUniqueEList",1849),g(1850,825,sc,MCe),s.hi=function(){return!0},p(_t,"EDataTypeUniqueEList/Unsettable",1850),g(139,85,sc,_u),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectContainmentEList/Resolving",139),g(1163,545,sc,CCe),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectContainmentEList/Unsettable/Resolving",1163),g(748,16,sc,xX),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var n;Dn(this),ps(this.e)?(n=this.a,this.a=!1,yt(this.e,new Jo(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,p(_t,"EObjectContainmentWithInverseEList/Unsettable",748),g(1173,748,sc,FSe),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),g(743,496,sc,KU),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var n;Dn(this),ps(this.e)?(n=this.a,this.a=!1,yt(this.e,new Jo(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,p(_t,"EObjectEList/Unsettable",743),g(328,496,sc,Ag),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectResolvingEList",328),g(1641,743,sc,PCe),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectResolvingEList/Unsettable",1641),g(1381,1,{},z4e);var Yrn;p(_t,"EObjectValidator",1381),g(546,496,sc,RC),s.zk=function(){return this.d},s.Ak=function(){return this.b},s.bj=function(){return!0},s.Dk=function(){return!0},s.b=0,p(_t,"EObjectWithInverseEList",546),g(1176,546,sc,NSe),s.Ck=function(){return!0},p(_t,"EObjectWithInverseEList/ManyInverse",1176),g(625,546,sc,IL),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var n;Dn(this),ps(this.e)?(n=this.a,this.a=!1,yt(this.e,new Jo(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,p(_t,"EObjectWithInverseEList/Unsettable",625),g(1175,625,sc,_Se),s.Ck=function(){return!0},p(_t,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),g(749,546,sc,OX),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectWithInverseResolvingEList",749),g(31,749,sc,Xe),s.Ck=function(){return!0},p(_t,"EObjectWithInverseResolvingEList/ManyInverse",31),g(750,625,sc,IX),s.Ek=function(){return!0},s.li=function(n,t){return V2(this,n,u(t,56))},p(_t,"EObjectWithInverseResolvingEList/Unsettable",750),g(1174,750,sc,BSe),s.Ck=function(){return!0},p(_t,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),g(1164,622,sc),s.ai=function(){return(this.b&1792)==0},s.ci=function(){this.b|=1},s.Bk=function(){return(this.b&4)!=0},s.bj=function(){return(this.b&40)!=0},s.Ck=function(){return(this.b&16)!=0},s.Dk=function(){return(this.b&8)!=0},s.Ek=function(){return(this.b&Nw)!=0},s.rk=function(){return(this.b&32)!=0},s.Fk=function(){return(this.b&rf)!=0},s.wj=function(n){return this.d?yOe(this.d,n):this.ak().Yj().wj(n)},s.fj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},s.hi=function(){return(this.b&128)!=0},s.Xj=function(){var n;Dn(this),this.b&2&&(ps(this.e)?(n=(this.b&1)!=0,this.b&=-2,zm(this,new Jo(this.e,2,qt(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},s.ni=function(){return(this.b&1536)==0},s.b=0,p(_t,"EcoreEList/Generic",1164),g(1165,1164,sc,AAe),s.ak=function(){return this.a},p(_t,"EcoreEList/Dynamic",1165),g(747,63,Dl,Gz),s.ri=function(n){return T7(this.a.a,n)},p(_t,"EcoreEMap/1",747),g(746,85,sc,xY),s.bi=function(n,t){FM(this.b,u(t,133))},s.di=function(n,t){w$e(this.b)},s.ei=function(n,t,i){var r;++(r=this.b,u(t,133),r).e},s.fi=function(n,t){tN(this.b,u(t,133))},s.gi=function(n,t,i){tN(this.b,u(i,133)),X(i)===X(t)&&u(i,133).Th(jhn(u(t,133).cd())),FM(this.b,u(t,133))},p(_t,"EcoreEMap/DelegateEObjectContainmentEList",746),g(1171,151,rue,PLe),p(_t,"EcoreEMap/Unsettable",1171),g(1172,746,sc,RSe),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var n;Dn(this),ps(this.e)?(n=this.a,this.a=!1,yt(this.e,new Jo(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,p(_t,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),g(1168,228,fp,IPe),s.a=!1,s.b=!1,p(_t,"EcoreUtil/Copier",1168),g(745,1,qi,cOe),s.Nb=function(n){Ji(this,n)},s.Ob=function(){return nNe(this)},s.Pb=function(){var n;return nNe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},p(_t,"EcoreUtil/ProperContentIterator",745),g(1382,1381,{},H6e);var Qrn;p(_t,"EcoreValidator",1382);var Jrn;Vt(_t,"FeatureMapUtil/Validator"),g(1260,1,{1942:1},W4e),s.rl=function(n){return!0},p(_t,"FeatureMapUtil/1",1260),g(757,1,{1942:1},Wte),s.rl=function(n){var t;return this.c==n?!0:(t=ye(yn(this.a,n)),t==null?dMn(this,n)?(dIe(this.a,n,(un(),W3)),!0):(dIe(this.a,n,(un(),xd)),!1):t==(un(),W3))},s.e=!1;var XV;p(_t,"FeatureMapUtil/BasicValidator",757),g(758,43,fp,NU),p(_t,"FeatureMapUtil/BasicValidator/Cache",758),g(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},O8),s.Vc=function(n,t){xKe(this.c,this.b,n,t)},s.Fc=function(n){return mte(this.c,this.b,n)},s.Wc=function(n,t){return PAn(this.c,this.b,n,t)},s.Gc=function(n){return I5(this,n)},s.Xh=function(n,t){Xvn(this.c,this.b,n,t)},s.lk=function(n,t){return hte(this.c,this.b,n,t)},s.pi=function(n){return wP(this.c,this.b,n,!1)},s.Zh=function(){return ZTe(this.c,this.b)},s.$h=function(){return fhn(this.c,this.b)},s._h=function(n){return evn(this.c,this.b,n)},s.mk=function(n,t){return mSe(this,n,t)},s.$b=function(){e2(this)},s.Hc=function(n){return gS(this.c,this.b,n)},s.Ic=function(n){return Z3n(this.c,this.b,n)},s.Xb=function(n){return wP(this.c,this.b,n,!0)},s.Wj=function(n){return this},s.Xc=function(n){return amn(this.c,this.b,n)},s.dc=function(){return UT(this)},s.fj=function(){return!V7(this.c,this.b)},s.Kc=function(){return Nvn(this.c,this.b)},s.Yc=function(){return _vn(this.c,this.b)},s.Zc=function(n){return Y5n(this.c,this.b,n)},s.ii=function(n,t){return Uqe(this.c,this.b,n,t)},s.ji=function(n,t){Umn(this.c,this.b,n,t)},s.$c=function(n){return MBe(this.c,this.b,n)},s.Mc=function(n){return LMn(this.c,this.b,n)},s._c=function(n,t){return eHe(this.c,this.b,n,t)},s.Wb=function(n){JM(this.c,this.b),I5(this,u(n,15))},s.gc=function(){return f6n(this.c,this.b)},s.Pc=function(){return o2n(this.c,this.b)},s.Qc=function(n){return hmn(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new za,t.a+="[",n=ZTe(this.c,this.b);zF(n);)Fr(t,L5(LM(n))),zF(n)&&(t.a+=mr);return t.a+="]",t.a},s.Xj=function(){JM(this.c,this.b)},p(_t,"FeatureMapUtil/FeatureEList",501),g(627,36,Yk,U$),s.yi=function(n){return v6(this,n)},s.Di=function(n){var t,i,r,c,o,f,l;switch(this.d){case 1:case 2:{if(o=n.Ai(),X(o)===X(this.c)&&v6(this,null)==n.yi(null))return this.g=n.zi(),n.xi()==1&&(this.d=1),!0;break}case 3:{switch(c=n.xi(),c){case 3:{if(o=n.Ai(),X(o)===X(this.c)&&v6(this,null)==n.yi(null))return this.d=5,t=new P0(2),Bn(t,this.g),Bn(t,n.zi()),this.g=t,!0;break}}break}case 5:{switch(c=n.xi(),c){case 3:{if(o=n.Ai(),X(o)===X(this.c)&&v6(this,null)==n.yi(null))return i=u(this.g,14),i.Fc(n.zi()),!0;break}}break}case 4:{switch(c=n.xi(),c){case 3:{if(o=n.Ai(),X(o)===X(this.c)&&v6(this,null)==n.yi(null))return this.d=1,this.g=n.zi(),!0;break}case 4:{if(o=n.Ai(),X(o)===X(this.c)&&v6(this,null)==n.yi(null))return this.d=6,l=new P0(2),Bn(l,this.n),Bn(l,n.Bi()),this.n=l,f=D(I(Ln,1),nt,25,15,[this.o,n.Ci()]),this.g=f,!0;break}}break}case 6:{switch(c=n.xi(),c){case 4:{if(o=n.Ai(),X(o)===X(this.c)&&v6(this,null)==n.yi(null))return i=u(this.n,14),i.Fc(n.Bi()),f=u(this.g,48),r=V(Ln,nt,25,f.length+1,15,1),Hc(f,0,r,0,f.length),r[f.length]=n.Ci(),this.g=r,!0;break}}break}}return!1},p(_t,"FeatureMapUtil/FeatureENotificationImpl",627),g(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},CC),s.dl=function(n,t){return mte(this.c,n,t)},s.el=function(n,t,i){return hte(this.c,n,t,i)},s.fl=function(n,t,i){return $te(this.c,n,t,i)},s.gl=function(){return this},s.hl=function(n,t){return kk(this.c,n,t)},s.il=function(n){return u(wP(this.c,this.b,n,!1),72).ak()},s.jl=function(n){return u(wP(this.c,this.b,n,!1),72).dd()},s.kl=function(){return this.a},s.ll=function(n){return!V7(this.c,n)},s.ml=function(n,t){gP(this.c,n,t)},s.nl=function(n){return $Le(this.c,n)},s.ol=function(n){c_e(this.c,n)},p(_t,"FeatureMapUtil/FeatureFeatureMap",552),g(1259,1,yK,MTe),s.Wj=function(n){return wP(this.b,this.a,-1,n)},s.fj=function(){return!V7(this.b,this.a)},s.Wb=function(n){gP(this.b,this.a,n)},s.Xj=function(){JM(this.b,this.a)},p(_t,"FeatureMapUtil/FeatureValue",1259);var Am,YV,QV,xm,Zrn,aE=Vt(PA,"AnyType");g(666,60,Da,CD),p(PA,"InvalidDatatypeValueException",666);var tI=Vt(PA,SUe),hE=Vt(PA,MUe),Kde=Vt(PA,PUe),ecn,Lc,qde,Gd,ncn,tcn,icn,rcn,ccn,ucn,scn,ocn,fcn,lcn,acn,zp,hcn,Wp,P9,dcn,Tb,dE,bE,bcn,A9,x9;g(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},hW),s._g=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Zt(this,0)),this.c):(!this.c&&(this.c=new Zt(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Zt(this,0)),u(Wc(this.c,(At(),Gd)),153)):(!this.c&&(this.c=new Zt(this,0)),u(u(Wc(this.c,(At(),Gd)),153),215)).kl();case 2:return i?(!this.b&&(this.b=new Zt(this,2)),this.b):(!this.b&&(this.b=new Zt(this,2)),this.b.b)}return eo(this,n-vn(this.zh()),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():this.zh(),n),t,i)},s.jh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new Zt(this,0)),pk(this.c,n,i);case 1:return(!this.c&&(this.c=new Zt(this,0)),u(u(Wc(this.c,(At(),Gd)),153),69)).mk(n,i);case 2:return!this.b&&(this.b=new Zt(this,2)),pk(this.b,n,i)}return r=u(ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():this.zh(),t),66),r.Nj().Rj(this,cJ(this),t-vn(this.zh()),n,i)},s.lh=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Zt(this,0)),u(Wc(this.c,(At(),Gd)),153)).dc();case 2:return!!this.b&&this.b.i!=0}return Js(this,n-vn(this.zh()),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():this.zh(),n))},s.sh=function(n,t){switch(n){case 0:!this.c&&(this.c=new Zt(this,0)),Y8(this.c,t);return;case 1:(!this.c&&(this.c=new Zt(this,0)),u(u(Wc(this.c,(At(),Gd)),153),215)).Wb(t);return;case 2:!this.b&&(this.b=new Zt(this,2)),Y8(this.b,t);return}co(this,n-vn(this.zh()),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():this.zh(),n),t)},s.zh=function(){return At(),qde},s.Bh=function(n){switch(n){case 0:!this.c&&(this.c=new Zt(this,0)),Dn(this.c);return;case 1:(!this.c&&(this.c=new Zt(this,0)),u(Wc(this.c,(At(),Gd)),153)).$b();return;case 2:!this.b&&(this.b=new Zt(this,2)),Dn(this.b);return}io(this,n-vn(this.zh()),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():this.zh(),n))},s.Ib=function(){var n;return this.j&4?nf(this):(n=new po(nf(this)),n.a+=" (mixed: ",P5(n,this.c),n.a+=", anyAttribute: ",P5(n,this.b),n.a+=")",n.a)},p(ai,"AnyTypeImpl",830),g(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},X4e),s._g=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return eo(this,n-vn((At(),zp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():zp,n),t,i)},s.lh=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Js(this,n-vn((At(),zp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():zp,n))},s.sh=function(n,t){switch(n){case 0:nln(this,Vn(t));return;case 1:tln(this,Vn(t));return}co(this,n-vn((At(),zp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():zp,n),t)},s.zh=function(){return At(),zp},s.Bh=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}io(this,n-vn((At(),zp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():zp,n))},s.Ib=function(){var n;return this.j&4?nf(this):(n=new po(nf(this)),n.a+=" (data: ",Fr(n,this.a),n.a+=", target: ",Fr(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,p(ai,"ProcessingInstructionImpl",667),g(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},bke),s._g=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Zt(this,0)),this.c):(!this.c&&(this.c=new Zt(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Zt(this,0)),u(Wc(this.c,(At(),Gd)),153)):(!this.c&&(this.c=new Zt(this,0)),u(u(Wc(this.c,(At(),Gd)),153),215)).kl();case 2:return i?(!this.b&&(this.b=new Zt(this,2)),this.b):(!this.b&&(this.b=new Zt(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Zt(this,0)),Vn(kk(this.c,(At(),P9),!0));case 4:return DX(this.a,(!this.c&&(this.c=new Zt(this,0)),Vn(kk(this.c,(At(),P9),!0))));case 5:return this.a}return eo(this,n-vn((At(),Wp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Wp,n),t,i)},s.lh=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Zt(this,0)),u(Wc(this.c,(At(),Gd)),153)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Zt(this,0)),Vn(kk(this.c,(At(),P9),!0))!=null;case 4:return DX(this.a,(!this.c&&(this.c=new Zt(this,0)),Vn(kk(this.c,(At(),P9),!0))))!=null;case 5:return!!this.a}return Js(this,n-vn((At(),Wp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Wp,n))},s.sh=function(n,t){switch(n){case 0:!this.c&&(this.c=new Zt(this,0)),Y8(this.c,t);return;case 1:(!this.c&&(this.c=new Zt(this,0)),u(u(Wc(this.c,(At(),Gd)),153),215)).Wb(t);return;case 2:!this.b&&(this.b=new Zt(this,2)),Y8(this.b,t);return;case 3:mQ(this,Vn(t));return;case 4:mQ(this,LX(this.a,t));return;case 5:iln(this,u(t,148));return}co(this,n-vn((At(),Wp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Wp,n),t)},s.zh=function(){return At(),Wp},s.Bh=function(n){switch(n){case 0:!this.c&&(this.c=new Zt(this,0)),Dn(this.c);return;case 1:(!this.c&&(this.c=new Zt(this,0)),u(Wc(this.c,(At(),Gd)),153)).$b();return;case 2:!this.b&&(this.b=new Zt(this,2)),Dn(this.b);return;case 3:!this.c&&(this.c=new Zt(this,0)),gP(this.c,(At(),P9),null);return;case 4:mQ(this,LX(this.a,null));return;case 5:this.a=null;return}io(this,n-vn((At(),Wp)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Wp,n))},p(ai,"SimpleAnyTypeImpl",668),g(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},dke),s._g=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new Zt(this,0)),this.a):(!this.a&&(this.a=new Zt(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new js((qe(),kr),Mc,this,1)),this.b):(!this.b&&(this.b=new js((qe(),kr),Mc,this,1)),a7(this.b));case 2:return i?(!this.c&&(this.c=new js((qe(),kr),Mc,this,2)),this.c):(!this.c&&(this.c=new js((qe(),kr),Mc,this,2)),a7(this.c));case 3:return!this.a&&(this.a=new Zt(this,0)),Wc(this.a,(At(),dE));case 4:return!this.a&&(this.a=new Zt(this,0)),Wc(this.a,(At(),bE));case 5:return!this.a&&(this.a=new Zt(this,0)),Wc(this.a,(At(),A9));case 6:return!this.a&&(this.a=new Zt(this,0)),Wc(this.a,(At(),x9))}return eo(this,n-vn((At(),Tb)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Tb,n),t,i)},s.jh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new Zt(this,0)),pk(this.a,n,i);case 1:return!this.b&&(this.b=new js((qe(),kr),Mc,this,1)),gC(this.b,n,i);case 2:return!this.c&&(this.c=new js((qe(),kr),Mc,this,2)),gC(this.c,n,i);case 5:return!this.a&&(this.a=new Zt(this,0)),mSe(Wc(this.a,(At(),A9)),n,i)}return r=u(ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():(At(),Tb),t),66),r.Nj().Rj(this,cJ(this),t-vn((At(),Tb)),n,i)},s.lh=function(n){switch(n){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 Zt(this,0)),!UT(Wc(this.a,(At(),dE)));case 4:return!this.a&&(this.a=new Zt(this,0)),!UT(Wc(this.a,(At(),bE)));case 5:return!this.a&&(this.a=new Zt(this,0)),!UT(Wc(this.a,(At(),A9)));case 6:return!this.a&&(this.a=new Zt(this,0)),!UT(Wc(this.a,(At(),x9)))}return Js(this,n-vn((At(),Tb)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Tb,n))},s.sh=function(n,t){switch(n){case 0:!this.a&&(this.a=new Zt(this,0)),Y8(this.a,t);return;case 1:!this.b&&(this.b=new js((qe(),kr),Mc,this,1)),rM(this.b,t);return;case 2:!this.c&&(this.c=new js((qe(),kr),Mc,this,2)),rM(this.c,t);return;case 3:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),dE))),!this.a&&(this.a=new Zt(this,0)),I5(Wc(this.a,dE),u(t,14));return;case 4:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),bE))),!this.a&&(this.a=new Zt(this,0)),I5(Wc(this.a,bE),u(t,14));return;case 5:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),A9))),!this.a&&(this.a=new Zt(this,0)),I5(Wc(this.a,A9),u(t,14));return;case 6:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),x9))),!this.a&&(this.a=new Zt(this,0)),I5(Wc(this.a,x9),u(t,14));return}co(this,n-vn((At(),Tb)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Tb,n),t)},s.zh=function(){return At(),Tb},s.Bh=function(n){switch(n){case 0:!this.a&&(this.a=new Zt(this,0)),Dn(this.a);return;case 1:!this.b&&(this.b=new js((qe(),kr),Mc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new js((qe(),kr),Mc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),dE)));return;case 4:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),bE)));return;case 5:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),A9)));return;case 6:!this.a&&(this.a=new Zt(this,0)),e2(Wc(this.a,(At(),x9)));return}io(this,n-vn((At(),Tb)),ze(this.j&2?(!this.k&&(this.k=new pf),this.k).ck():Tb,n))},s.Ib=function(){var n;return this.j&4?nf(this):(n=new po(nf(this)),n.a+=" (mixed: ",P5(n,this.a),n.a+=")",n.a)},p(ai,"XMLTypeDocumentRootImpl",669),g(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},U4e),s.Ih=function(n,t){switch(n.yj()){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:uc(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Vn(t);case 6:return M1n(u(t,190));case 12:case 47:case 49:case 11:return KHe(this,n,t);case 13:return t==null?null:bAn(u(t,240));case 15:case 14:return t==null?null:Twn(ee(he(t)));case 17:return V_e((At(),t));case 18:return V_e(t);case 21:case 20:return t==null?null:Cwn(u(t,155).a);case 27:return P1n(u(t,190));case 30:return u_e((At(),u(t,15)));case 31:return u_e(u(t,15));case 40:return x1n((At(),t));case 42:return G_e((At(),t));case 43:return G_e(t);case 59:case 48:return A1n((At(),t));default:throw O(new rn(K3+n.ne()+tb))}},s.Jh=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=Is(n),i?sh(i.Mh(),n):-1)),n.G){case 0:return t=new hW,t;case 1:return r=new X4e,r;case 2:return c=new bke,c;case 3:return o=new dke,o;default:throw O(new rn(rK+n.zb+tb))}},s.Kh=function(n,t){var i,r,c,o,f,l,a,h,w,y,j,T,C,x,$,q;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return Vyn(t);case 8:case 7:return t==null?null:O7n(t);case 9:return t==null?null:j7(Fs((r=Yc(t,!0),r.length>0&&(Gn(0,r.length),r.charCodeAt(0)==43)?r.substr(1):r),-128,127)<<24>>24);case 10:return t==null?null:j7(Fs((c=Yc(t,!0),c.length>0&&(Gn(0,c.length),c.charCodeAt(0)==43)?c.substr(1):c),-128,127)<<24>>24);case 11:return Vn(X0(this,(At(),icn),t));case 12:return Vn(X0(this,(At(),rcn),t));case 13:return t==null?null:new DW(Yc(t,!0));case 15:case 14:return JTn(t);case 16:return Vn(X0(this,(At(),ccn),t));case 17:return hNe((At(),t));case 18:return hNe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Yc(t,!0);case 21:case 20:return sCn(t);case 22:return Vn(X0(this,(At(),ucn),t));case 23:return Vn(X0(this,(At(),scn),t));case 24:return Vn(X0(this,(At(),ocn),t));case 25:return Vn(X0(this,(At(),fcn),t));case 26:return Vn(X0(this,(At(),lcn),t));case 27:return Byn(t);case 30:return dNe((At(),t));case 31:return dNe(t);case 32:return t==null?null:le(Fs((w=Yc(t,!0),w.length>0&&(Gn(0,w.length),w.charCodeAt(0)==43)?w.substr(1):w),cr,vt));case 33:return t==null?null:new Rh((y=Yc(t,!0),y.length>0&&(Gn(0,y.length),y.charCodeAt(0)==43)?y.substr(1):y));case 34:return t==null?null:le(Fs((j=Yc(t,!0),j.length>0&&(Gn(0,j.length),j.charCodeAt(0)==43)?j.substr(1):j),cr,vt));case 36:return t==null?null:dd(kP((T=Yc(t,!0),T.length>0&&(Gn(0,T.length),T.charCodeAt(0)==43)?T.substr(1):T)));case 37:return t==null?null:dd(kP((C=Yc(t,!0),C.length>0&&(Gn(0,C.length),C.charCodeAt(0)==43)?C.substr(1):C)));case 40:return nyn((At(),t));case 42:return bNe((At(),t));case 43:return bNe(t);case 44:return t==null?null:new Rh((x=Yc(t,!0),x.length>0&&(Gn(0,x.length),x.charCodeAt(0)==43)?x.substr(1):x));case 45:return t==null?null:new Rh(($=Yc(t,!0),$.length>0&&(Gn(0,$.length),$.charCodeAt(0)==43)?$.substr(1):$));case 46:return Yc(t,!1);case 47:return Vn(X0(this,(At(),acn),t));case 59:case 48:return eyn((At(),t));case 49:return Vn(X0(this,(At(),hcn),t));case 50:return t==null?null:Zv(Fs((q=Yc(t,!0),q.length>0&&(Gn(0,q.length),q.charCodeAt(0)==43)?q.substr(1):q),TA,32767)<<16>>16);case 51:return t==null?null:Zv(Fs((o=Yc(t,!0),o.length>0&&(Gn(0,o.length),o.charCodeAt(0)==43)?o.substr(1):o),TA,32767)<<16>>16);case 53:return Vn(X0(this,(At(),dcn),t));case 55:return t==null?null:Zv(Fs((f=Yc(t,!0),f.length>0&&(Gn(0,f.length),f.charCodeAt(0)==43)?f.substr(1):f),TA,32767)<<16>>16);case 56:return t==null?null:Zv(Fs((l=Yc(t,!0),l.length>0&&(Gn(0,l.length),l.charCodeAt(0)==43)?l.substr(1):l),TA,32767)<<16>>16);case 57:return t==null?null:dd(kP((a=Yc(t,!0),a.length>0&&(Gn(0,a.length),a.charCodeAt(0)==43)?a.substr(1):a)));case 58:return t==null?null:dd(kP((h=Yc(t,!0),h.length>0&&(Gn(0,h.length),h.charCodeAt(0)==43)?h.substr(1):h)));case 60:return t==null?null:le(Fs((i=Yc(t,!0),i.length>0&&(Gn(0,i.length),i.charCodeAt(0)==43)?i.substr(1):i),cr,vt));case 61:return t==null?null:le(Fs(Yc(t,!0),cr,vt));default:throw O(new rn(K3+n.ne()+tb))}};var wcn,Hde,gcn,Vde;p(ai,"XMLTypeFactoryImpl",1919),g(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},ZPe),s.N=!1,s.O=!1;var pcn=!1;p(ai,"XMLTypePackageImpl",586),g(1852,1,{837:1},Y4e),s._j=function(){return Ste(),Scn},p(ai,"XMLTypePackageImpl/1",1852),g(1861,1,ft,Q4e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/10",1861),g(1862,1,ft,J4e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/11",1862),g(1863,1,ft,Z4e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/12",1863),g(1864,1,ft,e5e),s.wj=function(n){return Hb(n)},s.xj=function(n){return V(Ui,ie,333,n,7,1)},p(ai,"XMLTypePackageImpl/13",1864),g(1865,1,ft,n5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/14",1865),g(1866,1,ft,t5e),s.wj=function(n){return _(n,15)},s.xj=function(n){return V(oo,xw,15,n,0,1)},p(ai,"XMLTypePackageImpl/15",1866),g(1867,1,ft,i5e),s.wj=function(n){return _(n,15)},s.xj=function(n){return V(oo,xw,15,n,0,1)},p(ai,"XMLTypePackageImpl/16",1867),g(1868,1,ft,r5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/17",1868),g(1869,1,ft,c5e),s.wj=function(n){return _(n,155)},s.xj=function(n){return V(U3,ie,155,n,0,1)},p(ai,"XMLTypePackageImpl/18",1869),g(1870,1,ft,u5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/19",1870),g(1853,1,ft,s5e),s.wj=function(n){return _(n,843)},s.xj=function(n){return V(aE,pe,843,n,0,1)},p(ai,"XMLTypePackageImpl/2",1853),g(1871,1,ft,o5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/20",1871),g(1872,1,ft,f5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/21",1872),g(1873,1,ft,l5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/22",1873),g(1874,1,ft,a5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/23",1874),g(1875,1,ft,h5e),s.wj=function(n){return _(n,190)},s.xj=function(n){return V(Uu,ie,190,n,0,2)},p(ai,"XMLTypePackageImpl/24",1875),g(1876,1,ft,d5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/25",1876),g(1877,1,ft,b5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/26",1877),g(1878,1,ft,w5e),s.wj=function(n){return _(n,15)},s.xj=function(n){return V(oo,xw,15,n,0,1)},p(ai,"XMLTypePackageImpl/27",1878),g(1879,1,ft,g5e),s.wj=function(n){return _(n,15)},s.xj=function(n){return V(oo,xw,15,n,0,1)},p(ai,"XMLTypePackageImpl/28",1879),g(1880,1,ft,p5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/29",1880),g(1854,1,ft,m5e),s.wj=function(n){return _(n,667)},s.xj=function(n){return V(tI,pe,2021,n,0,1)},p(ai,"XMLTypePackageImpl/3",1854),g(1881,1,ft,v5e),s.wj=function(n){return _(n,19)},s.xj=function(n){return V(dr,ie,19,n,0,1)},p(ai,"XMLTypePackageImpl/30",1881),g(1882,1,ft,y5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/31",1882),g(1883,1,ft,k5e),s.wj=function(n){return _(n,162)},s.xj=function(n){return V(rb,ie,162,n,0,1)},p(ai,"XMLTypePackageImpl/32",1883),g(1884,1,ft,j5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/33",1884),g(1885,1,ft,E5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/34",1885),g(1886,1,ft,T5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/35",1886),g(1887,1,ft,C5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/36",1887),g(1888,1,ft,S5e),s.wj=function(n){return _(n,15)},s.xj=function(n){return V(oo,xw,15,n,0,1)},p(ai,"XMLTypePackageImpl/37",1888),g(1889,1,ft,M5e),s.wj=function(n){return _(n,15)},s.xj=function(n){return V(oo,xw,15,n,0,1)},p(ai,"XMLTypePackageImpl/38",1889),g(1890,1,ft,P5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/39",1890),g(1855,1,ft,A5e),s.wj=function(n){return _(n,668)},s.xj=function(n){return V(hE,pe,2022,n,0,1)},p(ai,"XMLTypePackageImpl/4",1855),g(1891,1,ft,x5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/40",1891),g(1892,1,ft,O5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/41",1892),g(1893,1,ft,I5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/42",1893),g(1894,1,ft,D5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/43",1894),g(1895,1,ft,L5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/44",1895),g(1896,1,ft,$5e),s.wj=function(n){return _(n,184)},s.xj=function(n){return V(cb,ie,184,n,0,1)},p(ai,"XMLTypePackageImpl/45",1896),g(1897,1,ft,F5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/46",1897),g(1898,1,ft,N5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/47",1898),g(1899,1,ft,_5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/48",1899),g(o1,1,ft,B5e),s.wj=function(n){return _(n,184)},s.xj=function(n){return V(cb,ie,184,n,0,1)},p(ai,"XMLTypePackageImpl/49",o1),g(1856,1,ft,R5e),s.wj=function(n){return _(n,669)},s.xj=function(n){return V(Kde,pe,2023,n,0,1)},p(ai,"XMLTypePackageImpl/5",1856),g(1901,1,ft,K5e),s.wj=function(n){return _(n,162)},s.xj=function(n){return V(rb,ie,162,n,0,1)},p(ai,"XMLTypePackageImpl/50",1901),g(1902,1,ft,q5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/51",1902),g(1903,1,ft,H5e),s.wj=function(n){return _(n,19)},s.xj=function(n){return V(dr,ie,19,n,0,1)},p(ai,"XMLTypePackageImpl/52",1903),g(1857,1,ft,V5e),s.wj=function(n){return Ri(n)},s.xj=function(n){return V(ge,ie,2,n,6,1)},p(ai,"XMLTypePackageImpl/6",1857),g(1858,1,ft,G5e),s.wj=function(n){return _(n,190)},s.xj=function(n){return V(Uu,ie,190,n,0,2)},p(ai,"XMLTypePackageImpl/7",1858),g(1859,1,ft,z5e),s.wj=function(n){return qb(n)},s.xj=function(n){return V(Si,ie,476,n,8,1)},p(ai,"XMLTypePackageImpl/8",1859),g(1860,1,ft,W5e),s.wj=function(n){return _(n,217)},s.xj=function(n){return V(um,ie,217,n,0,1)},p(ai,"XMLTypePackageImpl/9",1860);var ol,Ph,O9,iI,F;g(50,60,Da,Hn),p(gh,"RegEx/ParseException",50),g(820,1,{},oz),s.sl=function(n){return ni*16)throw O(new Hn(Un((qn(),BWe))));i=i*16+c}while(!0);if(this.a!=125)throw O(new Hn(Un((qn(),RWe))));if(i>G3)throw O(new Hn(Un((qn(),KWe))));n=i}else{if(c=0,this.c!=0||(c=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(i=c,wt(this),this.c!=0||(c=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));i=i*16+c,n=i}break;case 117:if(r=0,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));t=t*16+r,n=t;break;case 118:if(wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,wt(this),this.c!=0||(r=wd(this.a))<0)throw O(new Hn(Un((qn(),wh))));if(t=t*16+r,t>G3)throw O(new Hn(Un((qn(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw O(new Hn(Un((qn(),qWe))))}return n},s.ul=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?u1("Nd",!0):(gt(),rI);break;case 68:i=(this.e&32)==32?u1("Nd",!1):(gt(),Yde);break;case 119:i=(this.e&32)==32?u1("IsWord",!0):(gt(),I4);break;case 87:i=(this.e&32)==32?u1("IsWord",!1):(gt(),Jde);break;case 115:i=(this.e&32)==32?u1("IsSpace",!0):(gt(),Om);break;case 83:i=(this.e&32)==32?u1("IsSpace",!1):(gt(),Qde);break;default:throw O(new fc((t=n,qUe+t.toString(16))))}return i},s.vl=function(n){var t,i,r,c,o,f,l,a,h,w,y,j;for(this.b=1,wt(this),t=null,this.c==0&&this.a==94?(wt(this),n?w=(gt(),gt(),new xs(5)):(t=(gt(),gt(),new xs(4)),Xc(t,0,G3),w=new xs(4))):w=(gt(),gt(),new xs(4)),c=!0;(j=this.c)!=1&&!(j==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,j==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:Sw(w,this.ul(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.Ll(w,i),i<0&&(r=!0);break;case 112:case 80:if(y=Pne(this,i),!y)throw O(new Hn(Un((qn(),pK))));Sw(w,y),r=!0;break;default:i=this.tl()}else if(j==20){if(f=ov(this.i,58,this.d),f<0)throw O(new Hn(Un((qn(),Jce))));if(l=!0,Zi(this.i,this.d)==94&&(++this.d,l=!1),o=Ps(this.i,this.d,f),a=eDe(o,l,(this.e&512)==512),!a)throw O(new Hn(Un((qn(),LWe))));if(Sw(w,a),r=!0,f+1>=this.j||Zi(this.i,f+1)!=93)throw O(new Hn(Un((qn(),Jce))));this.d=f+2}if(wt(this),!r)if(this.c!=0||this.a!=45)Xc(w,i,i);else{if(wt(this),(j=this.c)==1)throw O(new Hn(Un((qn(),pA))));j==0&&this.a==93?(Xc(w,i,i),Xc(w,45,45)):(h=this.a,j==10&&(h=this.tl()),wt(this),Xc(w,i,h))}(this.e&rf)==rf&&this.c==0&&this.a==44&&wt(this)}if(this.c==1)throw O(new Hn(Un((qn(),pA))));return t&&(W6(t,w),w=t),Zg(w),G6(w),this.b=0,wt(this),w},s.wl=function(){var n,t,i,r;for(i=this.vl(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(wt(this),this.c!=9)throw O(new Hn(Un((qn(),FWe))));if(t=this.vl(!1),r==4)Sw(i,t);else if(n==45)W6(i,t);else if(n==38)$He(i,t);else throw O(new fc("ASSERT"))}else throw O(new Hn(Un((qn(),NWe))));return wt(this),i},s.xl=function(){var n,t;return n=this.a-48,t=(gt(),gt(),new O$(12,null,n)),!this.g&&(this.g=new uT),cT(this.g,new zz(n)),wt(this),t},s.yl=function(){return wt(this),gt(),ycn},s.zl=function(){return wt(this),gt(),vcn},s.Al=function(){throw O(new Hn(Un((qn(),so))))},s.Bl=function(){throw O(new Hn(Un((qn(),so))))},s.Cl=function(){return wt(this),t5n()},s.Dl=function(){return wt(this),gt(),jcn},s.El=function(){return wt(this),gt(),Tcn},s.Fl=function(){var n;if(this.d>=this.j||((n=Zi(this.i,this.d++))&65504)!=64)throw O(new Hn(Un((qn(),OWe))));return wt(this),gt(),gt(),new Hl(0,n-64)},s.Gl=function(){return wt(this),BPn()},s.Hl=function(){return wt(this),gt(),Ccn},s.Il=function(){var n;return n=(gt(),gt(),new Hl(0,105)),wt(this),n},s.Jl=function(){return wt(this),gt(),Ecn},s.Kl=function(){return wt(this),gt(),kcn},s.Ll=function(n,t){return this.tl()},s.Ml=function(){return wt(this),gt(),Ude},s.Nl=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw O(new Hn(Un((qn(),PWe))));if(r=-1,t=null,n=Zi(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new uT),cT(this.g,new zz(r)),++this.d,Zi(this.i,this.d)!=41)throw O(new Hn(Un((qn(),Md))));++this.d}else switch(n==63&&--this.d,wt(this),t=Qte(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw O(new Hn(Un((qn(),Md))));break;default:throw O(new Hn(Un((qn(),AWe))))}if(wt(this),c=B0(this),i=null,c.e==2){if(c.em()!=2)throw O(new Hn(Un((qn(),xWe))));i=c.am(1),c=c.am(0)}if(this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),gt(),gt(),new IDe(r,t,c,i)},s.Ol=function(){return wt(this),gt(),Xde},s.Pl=function(){var n;if(wt(this),n=KC(24,B0(this)),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Ql=function(){var n;if(wt(this),n=KC(20,B0(this)),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Rl=function(){var n;if(wt(this),n=KC(22,B0(this)),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Sl=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j)throw O(new Hn(Un((qn(),Yce))));if(t==45){for(++this.d;this.d=this.j)throw O(new Hn(Un((qn(),Yce))))}if(t==58){if(++this.d,wt(this),r=NPe(B0(this),n,i),this.c!=7)throw O(new Hn(Un((qn(),Md))));wt(this)}else if(t==41)++this.d,wt(this),r=NPe(B0(this),n,i);else throw O(new Hn(Un((qn(),MWe))));return r},s.Tl=function(){var n;if(wt(this),n=KC(21,B0(this)),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Ul=function(){var n;if(wt(this),n=KC(23,B0(this)),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Vl=function(){var n,t;if(wt(this),n=this.f++,t=r$(B0(this),n),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),t},s.Wl=function(){var n;if(wt(this),n=r$(B0(this),0),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Xl=function(n){return wt(this),this.c==5?(wt(this),OC(n,(gt(),gt(),new tw(9,n)))):OC(n,(gt(),gt(),new tw(3,n)))},s.Yl=function(n){var t;return wt(this),t=(gt(),gt(),new O5(2)),this.c==5?(wt(this),md(t,D9),md(t,n)):(md(t,n),md(t,D9)),t},s.Zl=function(n){return wt(this),this.c==5?(wt(this),gt(),gt(),new tw(9,n)):(gt(),gt(),new tw(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,p(gh,"RegEx/RegexParser",820),g(1824,820,{},wke),s.sl=function(n){return!1},s.tl=function(){return ote(this)},s.ul=function(n){return y3(n)},s.vl=function(n){return MVe(this)},s.wl=function(){throw O(new Hn(Un((qn(),so))))},s.xl=function(){throw O(new Hn(Un((qn(),so))))},s.yl=function(){throw O(new Hn(Un((qn(),so))))},s.zl=function(){throw O(new Hn(Un((qn(),so))))},s.Al=function(){return wt(this),y3(67)},s.Bl=function(){return wt(this),y3(73)},s.Cl=function(){throw O(new Hn(Un((qn(),so))))},s.Dl=function(){throw O(new Hn(Un((qn(),so))))},s.El=function(){throw O(new Hn(Un((qn(),so))))},s.Fl=function(){return wt(this),y3(99)},s.Gl=function(){throw O(new Hn(Un((qn(),so))))},s.Hl=function(){throw O(new Hn(Un((qn(),so))))},s.Il=function(){return wt(this),y3(105)},s.Jl=function(){throw O(new Hn(Un((qn(),so))))},s.Kl=function(){throw O(new Hn(Un((qn(),so))))},s.Ll=function(n,t){return Sw(n,y3(t)),-1},s.Ml=function(){return wt(this),gt(),gt(),new Hl(0,94)},s.Nl=function(){throw O(new Hn(Un((qn(),so))))},s.Ol=function(){return wt(this),gt(),gt(),new Hl(0,36)},s.Pl=function(){throw O(new Hn(Un((qn(),so))))},s.Ql=function(){throw O(new Hn(Un((qn(),so))))},s.Rl=function(){throw O(new Hn(Un((qn(),so))))},s.Sl=function(){throw O(new Hn(Un((qn(),so))))},s.Tl=function(){throw O(new Hn(Un((qn(),so))))},s.Ul=function(){throw O(new Hn(Un((qn(),so))))},s.Vl=function(){var n;if(wt(this),n=r$(B0(this),0),this.c!=7)throw O(new Hn(Un((qn(),Md))));return wt(this),n},s.Wl=function(){throw O(new Hn(Un((qn(),so))))},s.Xl=function(n){return wt(this),OC(n,(gt(),gt(),new tw(3,n)))},s.Yl=function(n){var t;return wt(this),t=(gt(),gt(),new O5(2)),md(t,n),md(t,D9),t},s.Zl=function(n){return wt(this),gt(),gt(),new tw(3,n)};var Up=null,x4=null;p(gh,"RegEx/ParserForXMLSchema",1824),g(117,1,z3,Qd),s.$l=function(n){throw O(new fc("Not supported."))},s._l=function(){return-1},s.am=function(n){return null},s.bm=function(){return null},s.cm=function(n){},s.dm=function(n){},s.em=function(){return 0},s.Ib=function(){return this.fm(0)},s.fm=function(n){return this.e==11?".":""},s.e=0;var Gde,O4,I9,mcn,zde,ag=null,rI,JV=null,Wde,D9,ZV=null,Ude,Xde,Yde,Qde,Jde,vcn,Om,ycn,kcn,jcn,Ecn,I4,Tcn,Ccn,DDn=p(gh,"RegEx/Token",117);g(136,117,{3:1,136:1,117:1},xs),s.fm=function(n){var t,i,r;if(this.e==4)if(this==Wde)i=".";else if(this==rI)i="\\d";else if(this==I4)i="\\w";else if(this==Om)i="\\s";else{for(r=new za,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Fr(r,yk(this.b[t])):(Fr(r,yk(this.b[t])),r.a+="-",Fr(r,yk(this.b[t+1])));r.a+="]",i=r.a}else if(this==Yde)i="\\D";else if(this==Jde)i="\\W";else if(this==Qde)i="\\S";else{for(r=new za,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Fr(r,yk(this.b[t])):(Fr(r,yk(this.b[t])),r.a+="-",Fr(r,yk(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,p(gh,"RegEx/RangeToken",136),g(584,1,{584:1},zz),s.a=0,p(gh,"RegEx/RegexParser/ReferencePosition",584),g(583,1,{3:1,583:1},Sje),s.Fb=function(n){var t;return n==null||!_(n,583)?!1:(t=u(n,583),Ke(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return oh(this.b+"/"+tte(this.a))},s.Ib=function(){return this.c.fm(this.a)},s.a=0,p(gh,"RegEx/RegularExpression",583),g(223,117,z3,Hl),s._l=function(){return this.a},s.fm=function(n){var t,i,r;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:r="\\"+OL(this.a&li);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=vr?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+Ps(i,i.length-6,i.length)):r=""+OL(this.a&li)}break;case 8:this==Ude||this==Xde?r=""+OL(this.a&li):r="\\"+OL(this.a&li);break;default:r=null}return r},s.a=0,p(gh,"RegEx/Token/CharToken",223),g(309,117,z3,tw),s.am=function(n){return this.a},s.cm=function(n){this.b=n},s.dm=function(n){this.c=n},s.em=function(){return 1},s.fm=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.fm(n)+"{"+this.c+",}";else throw O(new fc("Token#toString(): CLOSURE "+this.c+mr+this.b));else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.fm(n)+"{"+this.c+",}?";else throw O(new fc("Token#toString(): NONGREEDYCLOSURE "+this.c+mr+this.b));return t},s.b=0,s.c=0,p(gh,"RegEx/Token/ClosureToken",309),g(821,117,z3,_Y),s.am=function(n){return n==0?this.a:this.b},s.em=function(){return 2},s.fm=function(n){var t;return this.b.e==3&&this.b.am(0)==this.a?t=this.a.fm(n)+"+":this.b.e==9&&this.b.am(0)==this.a?t=this.a.fm(n)+"+?":t=this.a.fm(n)+(""+this.b.fm(n)),t},p(gh,"RegEx/Token/ConcatToken",821),g(1822,117,z3,IDe),s.am=function(n){if(n==0)return this.d;if(n==1)return this.b;throw O(new fc("Internal Error: "+n))},s.em=function(){return this.b?2:1},s.fm=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,p(gh,"RegEx/Token/ConditionToken",1822),g(1823,117,z3,Ixe),s.am=function(n){return this.b},s.em=function(){return 1},s.fm=function(n){return"(?"+(this.a==0?"":tte(this.a))+(this.c==0?"":tte(this.c))+":"+this.b.fm(n)+")"},s.a=0,s.c=0,p(gh,"RegEx/Token/ModifierToken",1823),g(822,117,z3,VY),s.am=function(n){return this.a},s.em=function(){return 1},s.fm=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.fm(n)+")":t="("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},s.b=0,p(gh,"RegEx/Token/ParenToken",822),g(521,117,{3:1,117:1,521:1},O$),s.bm=function(){return this.b},s.fm=function(n){return this.e==12?"\\"+this.a:WEn(this.b)},s.a=0,p(gh,"RegEx/Token/StringToken",521),g(465,117,z3,O5),s.$l=function(n){md(this,n)},s.am=function(n){return u(m0(this.a,n),117)},s.em=function(){return this.a?this.a.a.c.length:0},s.fm=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(m0(this.a,0),117),i=u(m0(this.a,1),117),i.e==3&&i.am(0)==t?c=t.fm(n)+"+":i.e==9&&i.am(0)==t?c=t.fm(n)+"+?":c=t.fm(n)+(""+i.fm(n));else{for(o=new za,r=0;r=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 O(new Ga(XUe))},s.a=0,s.b=0,p(pue,"ExclusiveRange/RangeIterator",254);var ho=mv(mA,"C"),Ln=mv(ky,"I"),ds=mv(z2,"Z"),$1=mv(jy,"J"),Uu=mv(my,"B"),Hi=mv(vy,"D"),hg=mv(yy,"F"),Xp=mv(Ey,"S"),LDn=Vt("org.eclipse.elk.core.labels","ILabelManager"),Zde=Vt(hr,"DiagnosticChain"),e0e=Vt(EUe,"ResourceSet"),n0e=p(hr,"InvocationTargetException",null),Mcn=(aT(),Cmn),Pcn=Pcn=b7n;y3n(dln),z3n("permProps",[[[OA,IA],[DA,"gecko1_8"]],[[OA,IA],[DA,"ie10"]],[[OA,IA],[DA,"ie8"]],[[OA,IA],[DA,"ie9"]],[[OA,IA],[DA,"safari"]]]),Pcn(null,"elk",null)}).call(this)}).call(this,typeof Icn<"u"?Icn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(m,v,E){function M(H,G){if(!(H instanceof G))throw new TypeError("Cannot call a class as a function")}function k(H,G){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G&&(typeof G=="object"||typeof G=="function")?G:H}function L(H,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof G);H.prototype=Object.create(G&&G.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),G&&(Object.setPrototypeOf?Object.setPrototypeOf(H,G):H.__proto__=G)}var N=m("./elk-api.js").default,B=function(H){L(G,H);function G(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};M(this,G);var ne=Object.assign({},Y),J=!1;try{m.resolve("web-worker"),J=!0}catch{}if(Y.workerUrl)if(J){var Re=m("web-worker");ne.workerFactory=function(gn){return new Re(gn)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +Consider installing the package or pass your own 'workerFactory' to ELK's constructor. +... Falling back to non-web worker version.`);if(!ne.workerFactory){var cn=m("./elk-worker.min.js"),kn=cn.Worker;ne.workerFactory=function(gn){return new kn(gn)}}return k(this,(G.__proto__||Object.getPrototypeOf(G)).call(this,ne))}return G}(N);Object.defineProperty(v.exports,"__esModule",{value:!0}),v.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(m,v,E){v.exports=Worker},{}]},{},[3])(3)})})(ufn);var GBn=ufn.exports;const zBn=xG(GBn);class WBn extends Error{constructor(b){super(b||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}}class qG{static fn(b){return(...m)=>new qG((v,E,M)=>{m.push(M),b(...m).then(v,E)})}constructor(b){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((m,v)=>{this._reject=v;const E=L=>{(!this._isCanceled||!k.shouldReject)&&(this._isPending=!1,m(L))},M=L=>{this._isPending=!1,v(L)},k=L=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(L)};Object.defineProperties(k,{shouldReject:{get:()=>this._rejectOnCancel,set:L=>{this._rejectOnCancel=L}}}),b(E,M,k)})}then(b,m){return this._promise.then(b,m)}catch(b){return this._promise.catch(b)}finally(b){return this._promise.finally(b)}cancel(b){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(const m of this._cancelHandlers)m()}catch(m){this._reject(m);return}this._rejectOnCancel&&this._reject(new WBn(b))}}get isCanceled(){return this._isCanceled}}Object.setPrototypeOf(qG.prototype,Promise.prototype);var sfn={};function UBn(d,b){var m=document.createElement("div"),v=document.createTextNode(d);return m.appendChild(v),m.style.fontFamily=b.font,m.style.fontSize=b.fontSize,m.style.fontWeight=b.fontWeight,m.style.position="absolute",m.style.visibility="hidden",m.style.left="-999px",m.style.top="-999px",m.style.width=b.width,m.style.height="auto",document.body.appendChild(m),m}function XBn(d){d.parentNode.removeChild(d)}var m0e={};Object.defineProperty(sfn,"__esModule",{value:!0});var v0e=sfn.default=function(d,b){b===void 0&&(b={});var m=JSON.stringify({text:d,options:b});if(m0e[m])return m0e[m];b.font=b.font||"Times",b.fontSize=b.fontSize||"16px",b.fontWeight=b.fontWeight||"normal",b.width=b.width||"auto";var v=UBn(d,b),E={width:v.offsetWidth,height:v.offsetHeight};return XBn(v),m0e[m]=E,E},tsn={ellipse:"…",chars:[" ","-"],max:140,truncate:!0};function YBn(d,b,m,v,E){if(d.length"u")&&(m[v]=tsn[v]);return m.max=b||m.max,YBn(d,m.max,m.ellipse,m.chars,m.truncate)};const JBn=xG(QBn),ZBn=35,eRn=50,nRn=50,lI=30,tRn=10;function ofn(d){let b={height:0,width:0};return d&&(b=(typeof v0e=="function"?v0e:v0e.default)(d,{font:"Arial, sans-serif",fontSize:"14px"})),b}function iRn(d){let b=50,m=50,v=50,E=50;return Array.isArray(d)?d.length===2?(b=d[0],v=d[0],E=d[1],m=d[1]):d.length===4&&(b=d[0],m=d[1],v=d[2],E=d[3]):d!==void 0&&(b=d,m=d,v=d,E=d),{top:b,right:m,bottom:v,left:E}}function rRn(d){const b=d.text?JBn(d.text,ZBn):d.text,m=ofn(b),v=iRn(d.nodePadding);let E=d.width;E===void 0&&(b&&d.icon?E=m.width+d.icon.width+lI+tRn:(b?E=m.width+lI:d.icon&&(E=d.icon.width+lI),E=Math.max(E,eRn)));let M=d.height;return M===void 0&&(b&&d.icon?M=m.height+d.icon.height:b?M=m.height+lI:d.icon&&(M=d.icon.height+lI),M=Math.max(M,nRn)),{text:b,originalText:d.text,width:E,height:M,nodePadding:v,labelHeight:m.height,labelWidth:m.width}}const cRn={"elk.nodeLabels.placement":"INSIDE V_CENTER H_RIGHT","elk.algorithm":"org.eclipse.elk.layered","elk.direction":"DOWN","layered.crossingMinimization.forceNodeModelOrder":"true","org.eclipse.elk.layered.layering.strategy":"INTERACTIVE","org.eclipse.elk.edgeRouting":"ORTHOGONAL","elk.layered.unnecessaryBendpoints":"true","elk.layered.spacing.edgeNodeBetweenLayers":"50","org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment":"BALANCED","org.eclipse.elk.layered.cycleBreaking.strategy":"DEPTH_FIRST","org.eclipse.elk.insideSelfLoops.activate":"true",separateConnectedComponents:"false","spacing.componentComponent":"70",spacing:"75","spacing.nodeNodeBetweenLayers":"70"};function ffn(d,b,m){const{text:v,width:E,height:M,labelHeight:k,labelWidth:L,nodePadding:N,originalText:B}=rRn(m),H=d.filter(ne=>ne.parent===m.id).map(ne=>ffn(d,b,ne)),G=b.filter(ne=>ne.parent===m.id).map(ne=>lfn({edge:ne})),Y={"elk.padding":`[left=${N.left}, top=${N.top}, right=${N.right}, bottom=${N.bottom}]`,portConstraints:"FIXED_ORDER",...m.layoutOptions||{}};return{id:m.id,height:M,width:E,children:H,edges:G,ports:m.ports?m.ports.map(ne=>({id:ne.id,properties:{...ne,"port.side":ne.side,"port.alignment":ne.alignment||"CENTER"}})):[],layoutOptions:Y,properties:{...m},labels:v?[{width:L,height:-(k/2),text:v,originalText:B}]:[]}}function lfn({edge:{data:d,...b},direction:m}){const v=ofn(b.text),E=d?{data:d}:{};let M=v.width/2;return(m==="LEFT"||m==="RIGHT")&&(M=v.width),{id:b.id,source:b.from,target:b.to,properties:{...b},...E,sourcePort:b.fromPort,targetPort:b.toPort,labels:b.text?[{width:M,height:-(v.height/2),text:b.text,layoutOptions:{"elk.edgeLabels.placement":"INSIDE V_CENTER H_CENTER"}}]:[]}}function uRn({nodes:d,edges:b,direction:m}){const v=[],E=[];for(const M of d)if(!M.parent){const k=ffn(d,b,M);k!==null&&v.push(k)}for(const M of b)if(!M.parent){const k=lfn({edge:M,direction:m});k!==null&&E.push(k)}return{children:v,edges:E}}function afn(d){var b;for(const m of d){const v=((b=m.labels)==null?void 0:b.length)>0;if(v&&m.properties.icon){const[E]=m.labels;E.x=m.properties.icon.width+25,m.properties.icon.x=25,m.properties.icon.y=m.height/2}else if(v){const[E]=m.labels;E.x=(m.width-E.width)/2}else m.properties.icon&&(m.properties.icon.x=m.width/2,m.properties.icon.y=m.height/2);m.children&&afn(m.children)}return d}const sRn=(d,b,m)=>{const v=new zBn,E={...cRn,...m};return new qG((M,k)=>{v.layout({id:"root",...uRn({nodes:d,edges:b,direction:E==null?void 0:E["elk.direction"]})},{layoutOptions:E}).then(L=>{M({...L,children:afn(L.children)})}).catch(k)})};function R0e(){return R0e=Object.assign||function(d){for(var b=1;b=k&&k>E&&(v=M,E=k)}),v},aRn=function(b){var m=b===void 0?{}:b,v=m.useBorderBoxSize,E=m.breakpoints,M=m.updateOnBreakpointChange,k=m.shouldUpdate,L=m.onResize,N=m.polyfill,B=Ce.useState({currentBreakpoint:"",width:0,height:0}),H=B[0],G=B[1],Y=Ce.useRef({}),ne=Ce.useRef(),J=Ce.useRef(),Re=Ce.useRef(!1),cn=Ce.useRef(),kn=isn(L),gn=isn(k),Ve=Ce.useCallback(function(){J.current&&J.current.disconnect()},[]),Cn=Ce.useCallback(function(rt){rt&&rt!==cn.current&&(Ve(),cn.current=rt),J.current&&cn.current&&J.current.observe(cn.current)},[Ve]);return Ce.useEffect(function(){if((!("ResizeObserver"in window)||!("ResizeObserverEntry"in window))&&!N)return console.error(oRn),function(){return null};var rt=null;return J.current=new(N||ResizeObserver)(function(Rt){var Wt=Rt[0];rt=requestAnimationFrame(function(){var Tt=Wt.contentBoxSize,Pi=Wt.borderBoxSize,br=Wt.contentRect,Mr=Tt;v&&(Pi?Mr=Pi:Re.current||(console.warn(fRn),Re.current=!0)),Mr=Array.isArray(Mr)?Mr[0]:Mr;var Pr=Mr?Mr.inlineSize:br.width,Bi=Mr?Mr.blockSize:br.height;if(!(Pr===Y.current.width&&Bi===Y.current.height)){Y.current={width:Pr,height:Bi};var di={currentBreakpoint:"",width:Pr,height:Bi,entry:Wt,observe:Cn,unobserve:Ve};E?(di.currentBreakpoint=lRn(E,Pr),di.currentBreakpoint!==ne.current&&(kn.current&&kn.current(di),ne.current=di.currentBreakpoint)):kn.current&&kn.current(di);var vc={currentBreakpoint:di.currentBreakpoint,width:Pr,height:Bi,entry:Wt};if(!(gn.current&&!gn.current(vc))){if(!gn.current&&E&&M){G(function(Vi){return Vi.currentBreakpoint!==vc.currentBreakpoint?vc:Vi});return}G(vc)}}})}),Cn(),function(){Ve(),rt&&cancelAnimationFrame(rt)}},[JSON.stringify(E),v,Cn,Ve,M]),R0e({},H,{observe:Cn,unobserve:Ve})},hRn=typeof Element<"u",dRn=typeof Map=="function",bRn=typeof Set=="function",wRn=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function bG(d,b){if(d===b)return!0;if(d&&b&&typeof d=="object"&&typeof b=="object"){if(d.constructor!==b.constructor)return!1;var m,v,E;if(Array.isArray(d)){if(m=d.length,m!=b.length)return!1;for(v=m;v--!==0;)if(!bG(d[v],b[v]))return!1;return!0}var M;if(dRn&&d instanceof Map&&b instanceof Map){if(d.size!==b.size)return!1;for(M=d.entries();!(v=M.next()).done;)if(!b.has(v.value[0]))return!1;for(M=d.entries();!(v=M.next()).done;)if(!bG(v.value[1],b.get(v.value[0])))return!1;return!0}if(bRn&&d instanceof Set&&b instanceof Set){if(d.size!==b.size)return!1;for(M=d.entries();!(v=M.next()).done;)if(!b.has(v.value[0]))return!1;return!0}if(wRn&&ArrayBuffer.isView(d)&&ArrayBuffer.isView(b)){if(m=d.length,m!=b.length)return!1;for(v=m;v--!==0;)if(d[v]!==b[v])return!1;return!0}if(d.constructor===RegExp)return d.source===b.source&&d.flags===b.flags;if(d.valueOf!==Object.prototype.valueOf&&typeof d.valueOf=="function"&&typeof b.valueOf=="function")return d.valueOf()===b.valueOf();if(d.toString!==Object.prototype.toString&&typeof d.toString=="function"&&typeof b.toString=="function")return d.toString()===b.toString();if(E=Object.keys(d),m=E.length,m!==Object.keys(b).length)return!1;for(v=m;v--!==0;)if(!Object.prototype.hasOwnProperty.call(b,E[v]))return!1;if(hRn&&d instanceof Element)return!1;for(v=m;v--!==0;)if(!((E[v]==="_owner"||E[v]==="__v"||E[v]==="__o")&&d.$$typeof)&&!bG(d[E[v]],b[E[v]]))return!1;return!0}return d!==d&&b!==b}var gRn=function(b,m){try{return bG(b,m)}catch(v){if((v.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw v}};const pRn=xG(gRn);var zd=(d=>(d.CENTER="center",d.TOP="top",d.LEFT="left",d.RIGHT="right",d.BOTTOM="bottom",d))(zd||{});const mRn=({maxWidth:d,maxHeight:b,nodes:m=[],edges:v=[],fit:E,pannable:M,defaultPosition:k,direction:L,layoutOptions:N={},zoom:B,setZoom:H,onLayoutChange:G})=>{const Y=Ce.useRef(!1),ne=Ce.useRef(),{observe:J,width:Re,height:cn}=aRn(),[kn,gn]=Ce.useState(null),[Ve,Cn]=Ce.useState([0,0]),[rt,Rt]=Ce.useState([0,0]),Wt=M?b:cn,Tt=M?d:Re;Ce.useEffect(()=>{const Bi=sRn(m,v,{"elk.direction":L,...N});return Bi.then(di=>{pRn(kn,di)||(gn(di),G(di))}).catch(di=>{di.name!=="CancelError"&&console.error("Layout Error:",di)}),()=>Bi.cancel()},[m,v]);const Pi=Ce.useCallback(Bi=>{if(kn){const di=(Tt-kn.width*B)/2,vc=(Wt-kn.height*B)/2;switch(Bi){case zd.CENTER:Cn([di,vc]);break;case zd.TOP:Cn([di,0]);break;case zd.LEFT:Cn([0,vc]);break;case zd.RIGHT:Cn([Tt-kn.width*B,vc]);break;case zd.BOTTOM:Cn([di,Wt-kn.height*B]);break}}},[Tt,Wt,kn,B]),br=Ce.useCallback(Bi=>{const di=(Tt-Re)/2,vc=(Wt-cn)/2;if(M)switch(Bi){case zd.CENTER:Rt([di,vc]);break;case zd.TOP:Rt([di,0]);break;case zd.LEFT:Rt([0,vc]);break;case zd.RIGHT:Rt([Tt-Re,vc]);break;case zd.BOTTOM:Rt([di,Wt-cn]);break}},[Tt,Wt,Re,cn,M]),Mr=Ce.useCallback(Bi=>{Pi(Bi),br(Bi)},[br,Pi]);Ce.useEffect(()=>{var Bi;(Bi=ne==null?void 0:ne.current)==null||Bi.scrollTo(rt[0],rt[1])},[rt,ne]),Ce.useEffect(()=>{Y.current&&k&&Pi(k)},[Pi,B,k]);const Pr=Ce.useCallback(()=>{if(kn){const Bi=cn/kn.height,di=Re/kn.width,vc=Math.min(Bi,di,1);H(vc-1),Mr(zd.CENTER)}},[cn,kn,Re,H,Mr]);return Ce.useLayoutEffect(()=>{ne.current&&!Y.current&&kn&&cn&&Re&&(E?Pr():k&&Mr(k),Y.current=!0)},[Tt,M,Wt,kn,cn,E,Re,k,Mr,Pr,ne]),Ce.useLayoutEffect(()=>{function Bi(){E?Pr():k&&Mr(k)}return window.addEventListener("resize",Bi),()=>window.removeEventListener("resize",Bi)},[E,Mr,k,Pr]),{xy:Ve,observe:J,containerRef:ne,canvasHeight:Wt,canvasWidth:Tt,containerWidth:Re,containerHeight:cn,layout:kn,scrollXY:rt,positionCanvas:Mr,fitCanvas:Pr,setScrollXY:Rt}};class vRn{constructor(b=0,m=0){this.x=b,this.y=m}clone(){return new this.constructor(this.x,this.y)}add(b){return new this.constructor(this.x+b.x,this.y+b.y)}subtract(b){return new this.constructor(this.x-b.x,this.y-b.y)}multiply(b){return new this.constructor(this.x*b,this.y*b)}divide(b){return new this.constructor(this.x/b,this.y/b)}equals(b){return this.x===b.x&&this.y===b.y}precisionEquals(b,m){return Math.abs(this.x-b.x)!0;const yRn=({onNodeLink:d,onNodeLinkCheck:b})=>{const[m,v]=Ce.useState(null),[E,M]=Ce.useState(null),[k,L]=Ce.useState(null),[N,B]=Ce.useState(null),[H,G]=Ce.useState(null),[Y,ne]=Ce.useState(null),J=Ce.useCallback((Ve,Cn,rt,Rt)=>{L(Ve.dragType),v(rt),M(Rt)},[]),Re=Ce.useCallback(({memo:[Ve],xy:[Cn,rt]},[Rt,Wt])=>{const Tt=new vRn(Cn,rt).transform(Ve);G([{startPoint:{x:Rt,y:Wt},endPoint:Tt}])},[]),cn=Ce.useCallback(Ve=>{m&&N&&Y&&d(Ve,m,N,E),v(null),M(null),B(null),G(null)},[Y,m,E,N,d]),kn=Ce.useCallback((Ve,Cn)=>{if(m&&Cn){B(Cn);const rt=b(Ve,m,Cn,E),Rt=(rt===void 0||rt)&&(m.parent===Cn.parent||k==="node");ne(Rt)}},[m,E,k,b]),gn=Ce.useCallback((Ve,Cn)=>{m&&Cn&&(B(null),ne(null))},[m]);return{dragCoords:H,canLinkNode:Y,dragNode:m,dragPort:E,enteredNode:N,onDragStart:J,onDrag:Re,onDragEnd:cn,onEnter:kn,onLeave:gn}},rsn=(d,b,m)=>db?d:b:m,kRn=({disabled:d=!1,zoom:b=1,minZoom:m=-.5,maxZoom:v=1,onZoomChange:E})=>{const[M,k]=Ce.useState(b-1),L=Ce.useRef(null);VBn({onPinch:({offset:[G],event:Y})=>{Y.preventDefault();const ne=rsn(G/100,m,v);k(ne),E(ne+1)}},{enabled:!d,domTarget:L,eventOptions:{passive:!1}});const N=Ce.useCallback(G=>{const Y=rsn(G,m,v);k(Y),E(Y+1)},[v,m,E]),B=Ce.useCallback(()=>{N(M+.1)},[M,N]),H=Ce.useCallback(()=>{N(M-.1)},[M,N]);return{svgRef:L,zoom:M+1,setZoom:N,zoomIn:B,zoomOut:H}},hfn=Ce.createContext({}),K0e=({selections:d,onNodeLink:b,readonly:m,children:v,nodes:E,edges:M,maxHeight:k,fit:L,maxWidth:N,direction:B,layoutOptions:H,pannable:G,defaultPosition:Y,zoomable:ne,zoom:J,minZoom:Re,maxZoom:cn,onNodeLinkCheck:kn,onLayoutChange:gn,onZoomChange:Ve})=>{const Cn=kRn({zoom:J,minZoom:Re,maxZoom:cn,disabled:!ne,onZoomChange:Ve}),rt=mRn({nodes:E,edges:M,maxHeight:k,maxWidth:N,direction:B,pannable:G,defaultPosition:Y,fit:L,layoutOptions:H,zoom:Cn.zoom,setZoom:Cn.setZoom,onLayoutChange:gn}),Rt=yRn({onNodeLink:b,onNodeLinkCheck:kn});return xt.jsx(hfn.Provider,{value:{selections:d,readonly:m,pannable:G,...rt,...Cn,...Rt},children:v})},II=()=>{const d=Ce.useContext(hfn);if(d===void 0)throw new Error("`useCanvas` hook must be used within a `CanvasContext` component");return d};try{K0e.displayName="CanvasProvider",K0e.__docgenInfo={description:"",displayName:"CanvasProvider",props:{selections:{defaultValue:null,description:"",name:"selections",required:!0,type:{name:"any"}},onNodeLink:{defaultValue:null,description:"",name:"onNodeLink",required:!0,type:{name:"any"}},readonly:{defaultValue:null,description:"",name:"readonly",required:!0,type:{name:"any"}},nodes:{defaultValue:null,description:"",name:"nodes",required:!0,type:{name:"any"}},edges:{defaultValue:null,description:"",name:"edges",required:!0,type:{name:"any"}},maxHeight:{defaultValue:null,description:"",name:"maxHeight",required:!0,type:{name:"any"}},fit:{defaultValue:null,description:"",name:"fit",required:!0,type:{name:"any"}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!0,type:{name:"any"}},direction:{defaultValue:null,description:"",name:"direction",required:!0,type:{name:"any"}},layoutOptions:{defaultValue:null,description:"",name:"layoutOptions",required:!0,type:{name:"any"}},pannable:{defaultValue:null,description:"",name:"pannable",required:!0,type:{name:"any"}},defaultPosition:{defaultValue:null,description:"",name:"defaultPosition",required:!0,type:{name:"any"}},zoomable:{defaultValue:null,description:"",name:"zoomable",required:!0,type:{name:"any"}},zoom:{defaultValue:null,description:"",name:"zoom",required:!0,type:{name:"any"}},minZoom:{defaultValue:null,description:"",name:"minZoom",required:!0,type:{name:"any"}},maxZoom:{defaultValue:null,description:"",name:"maxZoom",required:!0,type:{name:"any"}},onNodeLinkCheck:{defaultValue:null,description:"",name:"onNodeLinkCheck",required:!0,type:{name:"any"}},onLayoutChange:{defaultValue:null,description:"",name:"onLayoutChange",required:!0,type:{name:"any"}},onZoomChange:{defaultValue:null,description:"",name:"onZoomChange",required:!0,type:{name:"any"}}}}}catch{}function jRn(d,b,m){return m===null||!b?null:!b||!d?!1:!(m===!1&&b.id===d.id)}function ERn({zoom:d,layoutXY:b,containerRef:m}){const{top:v,left:E}=m.current.getBoundingClientRect(),M=b[0]-m.current.scrollLeft+E,k=b[1]-m.current.scrollTop+v;return new aa().translate(M,k).scale(d).inverse()}function q0e(d,b,m){if(!d||!b)return{};const v=b.find(M=>M.id===d);if(v)return v;if(m){const M=b.find(k=>k.id===m);if(M!=null&&M.children)return q0e(d,M.children,m)}const E=b.filter(M=>{var k;return(k=M.children)==null?void 0:k.length});for(const M of E){const k=q0e(d,M.children,m);if(k&&Object.keys(k).length)return k}return{}}function TRn(d,b=[]){if(!d)return{};const{parent:m}=d;return m?q0e(d.id,b,m):(b==null?void 0:b.find(v=>v.id===d.id))||{}}const dfn=({x:d,y:b,height:m,width:v,onDrag:E,onDragEnd:M,onDragStart:k,node:L,disabled:N})=>{const B=[v/2+d,m+b],H=Ce.useRef(null),{zoom:G,xy:Y,containerRef:ne}=II();return NBn(Re=>{if(Re.event.type==="pointerdown"&&(H.current=Re.event.currentTarget),!(!Re.intentional||!H.current)){if(Re.first){const kn=[ERn({containerRef:ne,zoom:G,layoutXY:Y})];return k({...Re,memo:kn},B,L),kn}E(Re,B,L),Re.last&&(H.current=null,M(Re,B,L))}},{enabled:!N,triggerAllEvents:!0,threshold:5})},CRn="_port_1r6fw_1",SRn="_clicker_1r6fw_9",MRn="_disabled_1r6fw_12",y0e={port:CRn,clicker:SRn,disabled:MRn},H0e=Ce.forwardRef(({id:d,x:b,y:m,rx:v,ry:E,disabled:M,style:k,children:L,properties:N,offsetX:B,offsetY:H,className:G,active:Y,onDrag:ne=()=>{},onDragStart:J=()=>{},onDragEnd:Re=()=>{},onEnter:cn=()=>{},onLeave:kn=()=>{},onClick:gn=()=>{}},Ve)=>{const{readonly:Cn}=II(),[rt,Rt]=Ce.useState(!1),[Wt,Tt]=Ce.useState(!1),Pi=b-N.width/2,br=m-N.height/2,Mr=(Vi,si)=>{J(Vi,si,N),Rt(!0)},Pr=(Vi,si)=>{Re(Vi,si,N),Rt(!1)},Bi=dfn({x:Pi+B,y:br+H,height:N.height,width:N.width,disabled:M||Cn||(N==null?void 0:N.disabled),node:N,onDrag:ne,onDragStart:Mr,onDragEnd:Pr});if(N.hidden)return null;const di=N.disabled||M,vc={port:N,isDragging:rt,isHovered:Wt,isDisabled:di,x:b,y:m,rx:v,ry:E,offsetX:B,offsetY:H};return xt.jsxs("g",{id:d,children:[xt.jsx("rect",{...Bi(),ref:Ve,height:N.height+14,width:N.width+14,x:Pi-7,y:br-7,className:xb(y0e.clicker,{[y0e.disabled]:di}),onMouseEnter:Vi=>{Vi.stopPropagation(),di||(Tt(!0),cn(Vi,N))},onMouseLeave:Vi=>{Vi.stopPropagation(),di||(Tt(!1),kn(Vi,N))},onClick:Vi=>{Vi.stopPropagation(),di||gn(Vi,N)}}),xt.jsx(U9.rect,{style:k,className:xb(y0e.port,G,N==null?void 0:N.className),height:N.height,width:N.width,rx:v,ry:E,initial:{scale:0,opacity:0,x:Pi,y:br},animate:{x:Pi,y:br,scale:(rt||Y||Wt)&&!di?1.5:1,opacity:1}},`${b}-${m}`),L&&xt.jsx(Ce.Fragment,{children:typeof L=="function"?L(vc):L})]})});try{H0e.displayName="Port",H0e.__docgenInfo={description:"",displayName:"Port",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},x:{defaultValue:null,description:"",name:"x",required:!1,type:{name:"number"}},y:{defaultValue:null,description:"",name:"y",required:!1,type:{name:"number"}},rx:{defaultValue:null,description:"",name:"rx",required:!1,type:{name:"number"}},ry:{defaultValue:null,description:"",name:"ry",required:!1,type:{name:"number"}},offsetX:{defaultValue:null,description:"",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:null,description:"",name:"offsetY",required:!1,type:{name:"number"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},properties:{defaultValue:null,description:"",name:"properties",required:!1,type:{name:"ElkPortProperties & PortData"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"any"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},onEnter:{defaultValue:{value:"() => undefined"},description:"",name:"onEnter",required:!1,type:{name:"(event: MouseEvent, port: PortData) => void"}},onLeave:{defaultValue:{value:"() => undefined"},description:"",name:"onLeave",required:!1,type:{name:"(event: MouseEvent, port: PortData) => void"}},onClick:{defaultValue:{value:"() => undefined"},description:"",name:"onClick",required:!1,type:{name:"(event: MouseEvent, port: PortData) => void"}},onDrag:{defaultValue:{value:"() => undefined"},description:"",name:"onDrag",required:!1,type:{name:"(event: DragEvent, initial: Position, data: PortData, extra?: any) => void"}},onDragEnd:{defaultValue:{value:"() => undefined"},description:"",name:"onDragEnd",required:!1,type:{name:"(event: DragEvent, initial: Position, data: PortData, extra?: any) => void"}},onDragStart:{defaultValue:{value:"() => undefined"},description:"",name:"onDragStart",required:!1,type:{name:"(event: DragEvent, initial: Position, data: PortData, extra?: any) => void"}}}}}catch{}try{Port.displayName="Port",Port.__docgenInfo={description:"",displayName:"Port",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},x:{defaultValue:null,description:"",name:"x",required:!1,type:{name:"number"}},y:{defaultValue:null,description:"",name:"y",required:!1,type:{name:"number"}},rx:{defaultValue:null,description:"",name:"rx",required:!1,type:{name:"number"}},ry:{defaultValue:null,description:"",name:"ry",required:!1,type:{name:"number"}},offsetX:{defaultValue:null,description:"",name:"offsetX",required:!1,type:{name:"number"}},offsetY:{defaultValue:null,description:"",name:"offsetY",required:!1,type:{name:"number"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},properties:{defaultValue:null,description:"",name:"properties",required:!1,type:{name:"ElkPortProperties & PortData"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"any"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},onEnter:{defaultValue:{value:"() => undefined"},description:"",name:"onEnter",required:!1,type:{name:"(event: MouseEvent, port: PortData) => void"}},onLeave:{defaultValue:{value:"() => undefined"},description:"",name:"onLeave",required:!1,type:{name:"(event: MouseEvent, port: PortData) => void"}},onClick:{defaultValue:{value:"() => undefined"},description:"",name:"onClick",required:!1,type:{name:"(event: MouseEvent, port: PortData) => void"}},onDrag:{defaultValue:{value:"() => undefined"},description:"",name:"onDrag",required:!1,type:{name:"(event: DragEvent, initial: Position, data: PortData, extra?: any) => void"}},onDragEnd:{defaultValue:{value:"() => undefined"},description:"",name:"onDragEnd",required:!1,type:{name:"(event: DragEvent, initial: Position, data: PortData, extra?: any) => void"}},onDragStart:{defaultValue:{value:"() => undefined"},description:"",name:"onDragStart",required:!1,type:{name:"(event: DragEvent, initial: Position, data: PortData, extra?: any) => void"}}}}}catch{}const PRn="_text_fhkx6_1",ARn={text:PRn},PG=({text:d,x:b,y:m,style:v,className:E,originalText:M})=>{const k=typeof M=="string";return xt.jsxs(xt.Fragment,{children:[k&&xt.jsx("title",{children:M}),xt.jsx("g",{transform:`translate(${b}, ${m})`,children:xt.jsx("text",{className:xb(ARn.text,E),style:v,children:d})})]})};try{PG.displayName="Label",PG.__docgenInfo={description:"",displayName:"Label",props:{x:{defaultValue:null,description:"",name:"x",required:!1,type:{name:"number"}},y:{defaultValue:null,description:"",name:"y",required:!1,type:{name:"number"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"number"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"number"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"any"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},originalText:{defaultValue:null,description:"",name:"originalText",required:!1,type:{name:"string"}}}}}catch{}const xRn="_deleteX_nxq8k_1",ORn="_container_nxq8k_6",IRn="_drop_nxq8k_10",DRn="_rect_nxq8k_15",aI={deleteX:xRn,container:ORn,drop:IRn,rect:DRn},AG=({size:d=15,className:b,hidden:m,x:v,y:E,onClick:M=()=>{},onEnter:k=()=>{},onLeave:L=()=>{}})=>{if(m)return null;const N=d/2,B=v-N,H=E-N;return xt.jsxs(U9.g,{className:xb(b,aI.container),initial:{scale:0,opacity:0,translateX:B,translateY:H},animate:{scale:1,opacity:1,translateX:B,translateY:H},whileHover:{scale:1.2},whileTap:{scale:.8},children:[xt.jsx("rect",{height:d*1.5,width:d*1.5,className:aI.drop,onMouseEnter:k,onMouseLeave:L,onClick:G=>{G.preventDefault(),G.stopPropagation(),M(G)}}),xt.jsx("rect",{height:d,width:d,className:aI.rect}),xt.jsx("line",{x1:"2",y1:d-2,x2:d-2,y2:"2",className:aI.deleteX,strokeWidth:"1"}),xt.jsx("line",{x1:"2",y1:"2",x2:d-2,y2:d-2,className:aI.deleteX,strokeWidth:"1"})]})};try{AG.displayName="Remove",AG.__docgenInfo={description:"",displayName:"Remove",props:{x:{defaultValue:null,description:"",name:"x",required:!1,type:{name:"number"}},y:{defaultValue:null,description:"",name:"y",required:!1,type:{name:"number"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"15"},description:"",name:"size",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},onEnter:{defaultValue:{value:"() => undefined"},description:"",name:"onEnter",required:!1,type:{name:"(event: MouseEvent) => void"}},onLeave:{defaultValue:{value:"() => undefined"},description:"",name:"onLeave",required:!1,type:{name:"(event: MouseEvent) => void"}},onClick:{defaultValue:{value:"() => undefined"},description:"",name:"onClick",required:!1,type:{name:"(event: MouseEvent) => void"}}}}}catch{}function LRn({sourceX:d,sourceY:b,targetX:m,targetY:v}){const E=Math.abs(m-d)/2,M=m=0))throw new Error(`invalid digits: ${d}`);if(b>15)return bfn;const m=10**b;return function(v){this._+=v[0];for(let E=1,M=v.length;EV9)if(!(Math.abs(G*N-B*H)>V9)||!M)this._append`L${this._x1=b},${this._y1=m}`;else{let ne=v-k,J=E-L,Re=N*N+B*B,cn=ne*ne+J*J,kn=Math.sqrt(Re),gn=Math.sqrt(Y),Ve=M*Math.tan((V0e-Math.acos((Re+Y-cn)/(2*kn*gn)))/2),Cn=Ve/gn,rt=Ve/kn;Math.abs(Cn-1)>V9&&this._append`L${b+Cn*H},${m+Cn*G}`,this._append`A${M},${M},0,0,${+(G*ne>H*J)},${this._x1=b+rt*N},${this._y1=m+rt*B}`}}arc(b,m,v,E,M,k){if(b=+b,m=+m,v=+v,k=!!k,v<0)throw new Error(`negative radius: ${v}`);let L=v*Math.cos(E),N=v*Math.sin(E),B=b+L,H=m+N,G=1^k,Y=k?E-M:M-E;this._x1===null?this._append`M${B},${H}`:(Math.abs(this._x1-B)>V9||Math.abs(this._y1-H)>V9)&&this._append`L${B},${H}`,v&&(Y<0&&(Y=Y%G0e+G0e),Y>BRn?this._append`A${v},${v},0,1,${G},${b-L},${m-N}A${v},${v},0,1,${G},${this._x1=B},${this._y1=H}`:Y>V9&&this._append`A${v},${v},0,${+(Y>=V0e)},${G},${this._x1=b+v*Math.cos(M)},${this._y1=m+v*Math.sin(M)}`)}rect(b,m,v,E){this._append`M${this._x0=this._x1=+b},${this._y0=this._y1=+m}h${v=+v}v${+E}h${-v}Z`}toString(){return this._}}function qRn(d){let b=3;return d.digits=function(m){if(!arguments.length)return b;if(m==null)b=null;else{const v=Math.floor(m);if(!(v>=0))throw new RangeError(`invalid digits: ${m}`);b=v}return d},()=>new KRn(b)}function HRn(d){return typeof d=="object"&&"length"in d?d:Array.from(d)}function wfn(d){this._context=d}wfn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(d,b){switch(d=+d,b=+b,this._point){case 0:this._point=1,this._line?this._context.lineTo(d,b):this._context.moveTo(d,b);break;case 1:this._point=2;default:this._context.lineTo(d,b);break}}};function VRn(d){return new wfn(d)}function GRn(d){return d[0]}function zRn(d){return d[1]}function WRn(d,b){var m=vE(!0),v=null,E=VRn,M=null,k=qRn(L);d=typeof d=="function"?d:d===void 0?GRn:vE(d),b=typeof b=="function"?b:b===void 0?zRn:vE(b);function L(N){var B,H=(N=HRn(N)).length,G,Y=!1,ne;for(v==null&&(M=E(ne=k())),B=0;B<=H;++B)!(B0)for(var v=d[0],E=b[0],M=d[m]-v,k=b[m]-E,L=-1,N;++L<=m;)N=L/m,this._basis.point(this._beta*d[L]+(1-this._beta)*(v+N*M),this._beta*b[L]+(1-this._beta)*(E+N*k));this._x=this._y=null,this._basis.lineEnd()},point:function(d,b){this._x.push(+d),this._y.push(+b)}};const URn=function d(b){function m(v){return b===1?new Abe(v):new gfn(v,b)}return m.beta=function(v){return d(+v)},m}(.85),XRn="_plus_1qsm8_1",YRn="_container_1qsm8_6",QRn="_drop_1qsm8_10",JRn="_rect_1qsm8_15",hI={plus:XRn,container:YRn,drop:QRn,rect:JRn},z0e=({x:d,y:b,className:m,size:v=15,hidden:E=!0,onEnter:M=()=>{},onLeave:k=()=>{},onClick:L=()=>{}})=>{if(E)return null;const N=v/2,B=d-N,H=b-N;return xt.jsxs(U9.g,{className:xb(m,hI.container),initial:{scale:0,opacity:0,translateX:B,translateY:H},animate:{scale:1,opacity:1,translateX:B,translateY:H},whileHover:{scale:1.2},whileTap:{scale:.8},children:[xt.jsx("rect",{height:v*2,width:v*2,className:hI.drop,onClick:G=>{G.preventDefault(),G.stopPropagation(),L(G)},onMouseEnter:M,onMouseLeave:k}),xt.jsx("rect",{height:v,width:v,className:hI.rect}),xt.jsx("line",{x1:"2",x2:v-2,y1:N,y2:N,className:hI.plus,strokeWidth:"1"}),xt.jsx("line",{x1:N,x2:N,y1:"2",y2:v-2,className:hI.plus,strokeWidth:"1"})]})};try{z0e.displayName="Add",z0e.__docgenInfo={description:"",displayName:"Add",props:{x:{defaultValue:null,description:"",name:"x",required:!1,type:{name:"number"}},y:{defaultValue:null,description:"",name:"y",required:!1,type:{name:"number"}},size:{defaultValue:{value:"15"},description:"",name:"size",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},hidden:{defaultValue:{value:"true"},description:"",name:"hidden",required:!1,type:{name:"boolean"}},onEnter:{defaultValue:{value:"() => undefined"},description:"",name:"onEnter",required:!1,type:{name:"(event: MouseEvent) => void"}},onLeave:{defaultValue:{value:"() => undefined"},description:"",name:"onLeave",required:!1,type:{name:"(event: MouseEvent) => void"}},onClick:{defaultValue:{value:"() => undefined"},description:"",name:"onClick",required:!1,type:{name:"(event: MouseEvent) => void"}}}}}catch{}const ZRn="_edge_v5z62_1",eKn="_disabled_v5z62_2",nKn="_selectionDisabled_v5z62_6",tKn="_path_v5z62_8",iKn="_active_v5z62_11",rKn="_deleteHovered_v5z62_15",cKn="_clicker_v5z62_22",R9={edge:ZRn,disabled:eKn,selectionDisabled:nKn,path:tKn,active:iKn,deleteHovered:rKn,clicker:cKn},IE=({sections:d,interpolation:b,properties:m,labels:v,className:E,containerClassName:M,disabled:k,removable:L=!0,selectable:N=!0,upsertable:B=!0,style:H,children:G,add:Y=xt.jsx(z0e,{}),remove:ne=xt.jsx(AG,{}),label:J=xt.jsx(PG,{}),onClick:Re=()=>{},onKeyDown:cn=()=>{},onEnter:kn=()=>{},onLeave:gn=()=>{},onRemove:Ve=()=>{},onAdd:Cn=()=>{}})=>{const rt=Ce.useRef(null),[Rt,Wt]=Ce.useState(!1),[Tt,Pi]=Ce.useState(null),{selections:br,readonly:Mr}=II(),Pr=br!=null&&br.length?br.includes(m==null?void 0:m.id):!1,Bi=k||(m==null?void 0:m.disabled),di=N&&!(m!=null&&m.selectionDisabled),vc=Ce.useMemo(()=>{if(!(d!=null&&d.length))return null;if(d[0].bendPoints){const si=d?[d[0].startPoint,...d[0].bendPoints||[],d[0].endPoint]:[];let W=WRn().x(qo=>qo.x).y(qo=>qo.y);return b!=="linear"&&(W=b==="curved"?W.curve(URn.beta(1)):b),W(si)}else return $Rn({sourceX:d[0].startPoint.x,sourceY:d[0].startPoint.y,targetX:d[0].endPoint.x,targetY:d[0].endPoint.y})},[b,d]);Ce.useEffect(()=>{(d==null?void 0:d.length)>0&&Pi(_Rn(rt.current,d[0].startPoint,d[0].endPoint))},[d]);const Vi={edge:m,center:Tt,pathRef:rt};return xt.jsxs("g",{className:xb(R9.edge,M,{[R9.disabled]:Bi,[R9.selectionDisabled]:!di}),children:[xt.jsx("path",{ref:rt,style:H,className:xb(R9.path,m==null?void 0:m.className,E,{[R9.active]:Pr,[R9.deleteHovered]:Rt}),d:vc,markerEnd:"url(#end-arrow)"}),xt.jsx("path",{className:R9.clicker,d:vc,tabIndex:-1,onClick:si=>{si.preventDefault(),si.stopPropagation(),!Bi&&di&&Re(si,m)},onKeyDown:si=>{si.preventDefault(),si.stopPropagation(),Bi||cn(si,m)},onMouseEnter:si=>{si.stopPropagation(),Bi||kn(si,m)},onMouseLeave:si=>{si.stopPropagation(),Bi||gn(si,m)}}),G&&xt.jsx(Ce.Fragment,{children:typeof G=="function"?G(Vi):G}),(v==null?void 0:v.length)>0&&v.map((si,W)=>xt.jsx(xh,{element:J,edgeChildProps:Vi,...si},W)),!Bi&&Tt&&!Mr&&ne&&L&&xt.jsx(xh,{element:ne,...Tt,hidden:ne.props.hidden!==void 0?ne.props.hidden:!Pr,onClick:si=>{si.preventDefault(),si.stopPropagation(),Ve(si,m),Wt(!1)},onEnter:()=>Wt(!0),onLeave:()=>Wt(!1)}),!Bi&&Tt&&!Mr&&Y&&B&&xt.jsx(xh,{element:Y,...Tt,onClick:si=>{si.preventDefault(),si.stopPropagation(),Cn(si,m)}})]})};IE.defaultProps={interpolation:"curved"};try{IE.displayName="Edge",IE.__docgenInfo={description:"",displayName:"Edge",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},removable:{defaultValue:{value:"true"},description:"",name:"removable",required:!1,type:{name:"boolean"}},selectable:{defaultValue:{value:"true"},description:"",name:"selectable",required:!1,type:{name:"boolean"}},upsertable:{defaultValue:{value:"true"},description:"",name:"upsertable",required:!1,type:{name:"boolean"}},source:{defaultValue:null,description:"",name:"source",required:!1,type:{name:"string"}},sourcePort:{defaultValue:null,description:"",name:"sourcePort",required:!1,type:{name:"string"}},target:{defaultValue:null,description:"",name:"target",required:!1,type:{name:"string"}},targetPort:{defaultValue:null,description:"",name:"targetPort",required:!1,type:{name:"string"}},properties:{defaultValue:null,description:"",name:"properties",required:!1,type:{name:"EdgeData"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"any"}},sections:{defaultValue:null,description:"",name:"sections",required:!1,type:{name:"EdgeSections[]"}},interpolation:{defaultValue:{value:"curved"},description:"",name:"interpolation",required:!1,type:{name:'Function | "linear" | "curved"'}},labels:{defaultValue:null,description:"",name:"labels",required:!1,type:{name:"LabelProps[]"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},containerClassName:{defaultValue:null,description:"",name:"containerClassName",required:!1,type:{name:"string"}},add:{defaultValue:{value:""},description:"",name:"add",required:!1,type:{name:"ReactElement>>"}},label:{defaultValue:{value:"