var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),l=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function ee(){}var te={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function C(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function re(e,t){return C(e.type,t,e.props)}function ie(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ae(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var oe=/\/+/g;function se(e,t){return typeof e==`object`&&e&&e.key!=null?ae(``+e.key):t.toString(36)}function ce(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(ee,ee):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function le(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,le(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+se(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(oe,`$&/`)+`/`),le(o,r,i,``,function(e){return e})):o!=null&&(ie(o)&&(o=re(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(oe,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+se(a,u),c+=le(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+se(a,u++),c+=le(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return le(ce(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ue(e,t,n){if(e==null)return e;var r=[],i=0;return le(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function de(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var fe=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},pe={map:ue,forEach:function(e,t,n){ue(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ue(e,function(){t++}),t},toArray:function(e){return ue(e,function(e){return e})||[]},only:function(e){if(!ie(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=pe,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=te,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return te.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ne.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return C(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ne.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return C(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=ie,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:de}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=te.T,n={};te.T=n;try{var r=e(),i=te.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(ee,fe)}catch(e){fe(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),te.T=t}},e.unstable_useCacheRefresh=function(){return te.H.useCacheRefresh()},e.use=function(e){return te.H.use(e)},e.useActionState=function(e,t,n){return te.H.useActionState(e,t,n)},e.useCallback=function(e,t){return te.H.useCallback(e,t)},e.useContext=function(e){return te.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return te.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return te.H.useEffect(e,t)},e.useEffectEvent=function(e){return te.H.useEffectEvent(e)},e.useId=function(){return te.H.useId()},e.useImperativeHandle=function(e,t,n){return te.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return te.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return te.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return te.H.useMemo(e,t)},e.useOptimistic=function(e,t){return te.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return te.H.useReducer(e,t,n)},e.useRef=function(e){return te.H.useRef(e)},e.useState=function(e){return te.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return te.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return te.H.useTransition()},e.version=`19.2.5`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,ie());else{var t=n(l);t!==null&&se(x,t.startTime-e)}}var S=!1,ee=-1,te=5,ne=-1;function C(){return g?!0:!(e.unstable_now()-ne<te)}function re(){if(g=!1,S){var t=e.unstable_now();ne=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(ee),ee=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&C());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&se(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ie():S=!1}}}var ie;if(typeof y==`function`)ie=function(){y(re)};else if(typeof MessageChannel<`u`){var ae=new MessageChannel,oe=ae.port2;ae.port1.onmessage=re,ie=function(){oe.postMessage(null)}}else ie=function(){_(re,0)};function se(t,n){ee=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):te=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(ee),ee=-1):h=!0,se(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,ie()))),r},e.unstable_shouldYield=C,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.5`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),ee=Symbol.for(`react.context`),te=Symbol.for(`react.forward_ref`),ne=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),ae=Symbol.for(`react.activity`),oe=Symbol.for(`react.memo_cache_sentinel`),se=Symbol.iterator;function ce(e){return typeof e!=`object`||!e?null:(e=se&&e[se]||e[`@@iterator`],typeof e==`function`?e:null)}var le=Symbol.for(`react.client.reference`);function ue(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===le?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case ne:return`Suspense`;case C:return`SuspenseList`;case ae:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case ee:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case te:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?ue(e.type)||`Memo`:t;case ie:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var de=Array.isArray,fe=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pe=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me={pending:!1,data:null,method:null,action:null},he=[],ge=-1;function _e(e){return{current:e}}function ve(e){0>ge||(e.current=he[ge],he[ge]=null,ge--)}function ye(e,t){ge++,he[ge]=e.current,e.current=t}var be=_e(null),xe=_e(null),Se=_e(null),Ce=_e(null);function we(e,t){switch(ye(Se,t),ye(xe,e),ye(be,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?tf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=tf(t),e=nf(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ve(be),ye(be,e)}function Te(){ve(be),ve(xe),ve(Se)}function Ee(e){e.memoizedState!==null&&ye(Ce,e);var t=be.current,n=nf(t,e.type);t!==n&&(ye(xe,e),ye(be,n))}function De(e){xe.current===e&&(ve(be),ve(xe)),Ce.current===e&&(ve(Ce),up._currentValue=me)}var Oe,ke;function Ae(e){if(Oe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Oe=t&&t[1]||``,ke=-1<e.stack.indexOf(`
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
`+Oe+e+ke}var je=!1;function Me(e,t){if(!e||je)return``;je=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
`),l=s.split(`
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{je=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ae(n):``}function Ne(e,t){switch(e.tag){case 26:case 27:case 5:return Ae(e.type);case 16:return Ae(`Lazy`);case 13:return e.child!==t&&t!==null?Ae(`Suspense Fallback`):Ae(`Suspense`);case 19:return Ae(`SuspenseList`);case 0:case 15:return Me(e.type,!1);case 11:return Me(e.type.render,!1);case 1:return Me(e.type,!0);case 31:return Ae(`Activity`);default:return``}}function Pe(e){try{var t=``,n=null;do t+=Ne(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
Error generating stack: `+e.message+`
`+e.stack}}var Fe=Object.prototype.hasOwnProperty,Ie=t.unstable_scheduleCallback,Le=t.unstable_cancelCallback,Re=t.unstable_shouldYield,ze=t.unstable_requestPaint,Be=t.unstable_now,Ve=t.unstable_getCurrentPriorityLevel,He=t.unstable_ImmediatePriority,Ue=t.unstable_UserBlockingPriority,We=t.unstable_NormalPriority,Ge=t.unstable_LowPriority,Ke=t.unstable_IdlePriority,qe=t.log,Je=t.unstable_setDisableYieldValue,Ye=null,Xe=null;function Ze(e){if(typeof qe==`function`&&Je(e),Xe&&typeof Xe.setStrictMode==`function`)try{Xe.setStrictMode(Ye,e)}catch{}}var Qe=Math.clz32?Math.clz32:tt,$e=Math.log,et=Math.LN2;function tt(e){return e>>>=0,e===0?32:31-($e(e)/et|0)|0}var nt=256,rt=262144,it=4194304;function w(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function T(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=w(n))):i=w(o):i=w(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=w(n))):i=w(o)):i=w(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function at(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ot(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function st(){var e=it;return it<<=1,!(it&62914560)&&(it=4194304),e}function ct(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function lt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ut(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Qe(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&dt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function dt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function ft(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function pt(e,t){var n=t&-t;return n=n&42?1:mt(n),(n&(e.suspendedLanes|t))===0?n:0}function mt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ht(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function gt(){var e=pe.p;return e===0?(e=window.event,e===void 0?32:Ep(e.type)):e}function _t(e,t){var n=pe.p;try{return pe.p=e,t()}finally{pe.p=n}}var vt=Math.random().toString(36).slice(2),yt=`__reactFiber$`+vt,bt=`__reactProps$`+vt,xt=`__reactContainer$`+vt,St=`__reactEvents$`+vt,eee=`__reactListeners$`+vt,Ct=`__reactHandles$`+vt,wt=`__reactResources$`+vt,Tt=`__reactMarker$`+vt;function Et(e){delete e[yt],delete e[bt],delete e[St],delete e[eee],delete e[Ct]}function Dt(e){var t=e[yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xt]||n[yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cf(e);e!==null;){if(n=e[yt])return n;e=Cf(e)}return t}e=n,n=e.parentNode}return null}function Ot(e){if(e=e[yt]||e[xt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function kt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function At(e){var t=e[wt];return t||=e[wt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function jt(e){e[Tt]=!0}var Mt=new Set,Nt={};function Pt(e,t){Ft(e,t),Ft(e+`Capture`,t)}function Ft(e,t){for(Nt[e]=t,e=0;e<t.length;e++)Mt.add(t[e])}var It=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Lt={},Rt={};function tee(e){return Fe.call(Rt,e)?!0:Fe.call(Lt,e)?!1:It.test(e)?Rt[e]=!0:(Lt[e]=!0,!1)}function zt(e,t,n){if(tee(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Bt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Vt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Ht(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ut(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function nee(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wt(e){if(!e._valueTracker){var t=Ut(e)?`checked`:`value`;e._valueTracker=nee(e,t,``+e[t])}}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ut(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Kt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var ree=/[\n"\\]/g;function qt(e){return e.replace(ree,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Jt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Ht(t)):e.value!==``+Ht(t)&&(e.value=``+Ht(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Xt(e,o,Ht(n)):Xt(e,o,Ht(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Ht(s):e.removeAttribute(`name`)}function Yt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Wt(e);return}n=n==null?``:``+Ht(n),t=t==null?n:``+Ht(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Wt(e)}function Xt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Zt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Ht(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Qt(e,t,n){if(t!=null&&(t=``+Ht(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ht(n)}function $t(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(de(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Ht(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Wt(e)}function en(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var tn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function nn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||tn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function rn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&nn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&nn(e,o,t[o])}function an(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var iee=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function sn(e){return on.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function cn(){}var ln=null;function un(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dn=null,fn=null;function pn(e){var t=Ot(e);if(t&&(e=t.stateNode)){var n=e[bt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Jt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+qt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[bt]||null;if(!a)throw Error(i(90));Jt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Gt(r)}break a;case`textarea`:Qt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Zt(e,!!n.multiple,t,!1)}}}var mn=!1;function hn(e,t,n){if(mn)return e(t,n);mn=!0;try{return e(t)}finally{if(mn=!1,(dn!==null||fn!==null)&&(Pu(),dn&&(t=dn,e=fn,fn=dn=null,pn(t),e)))for(t=0;t<e.length;t++)pn(e[t])}}function gn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[bt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var _n=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),vn=!1;if(_n)try{var yn={};Object.defineProperty(yn,`passive`,{get:function(){vn=!0}}),window.addEventListener(`test`,yn,yn),window.removeEventListener(`test`,yn,yn)}catch{vn=!1}var bn=null,xn=null,Sn=null;function Cn(){if(Sn)return Sn;var e,t=xn,n=t.length,r,i=`value`in bn?bn.value:bn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Sn=i.slice(e,1<r?1-r:void 0)}function wn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Tn(){return!0}function En(){return!1}function Dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Tn:En,this.isPropagationStopped=En,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Tn)},persist:function(){},isPersistent:Tn}),t}var On={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kn=Dn(On),An=m({},On,{view:0,detail:0}),jn=Dn(An),Mn,Nn,Pn,Fn=m({},An,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Pn&&(Pn&&e.type===`mousemove`?(Mn=e.screenX-Pn.screenX,Nn=e.screenY-Pn.screenY):Nn=Mn=0,Pn=e),Mn)},movementY:function(e){return`movementY`in e?e.movementY:Nn}}),In=Dn(Fn),Ln=Dn(m({},Fn,{dataTransfer:0})),Rn=Dn(m({},An,{relatedTarget:0})),zn=Dn(m({},On,{animationName:0,elapsedTime:0,pseudoElement:0})),Bn=Dn(m({},On,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Vn=Dn(m({},On,{data:0})),Hn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Un={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Wn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wn[e])?!!t[e]:!1}function Kn(){return Gn}var qn=Dn(m({},An,{key:function(e){if(e.key){var t=Hn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=wn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Un[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kn,charCode:function(e){return e.type===`keypress`?wn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?wn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Jn=Dn(m({},Fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Yn=Dn(m({},An,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kn})),aee=Dn(m({},On,{propertyName:0,elapsedTime:0,pseudoElement:0})),oee=Dn(m({},Fn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Xn=Dn(m({},On,{newState:0,oldState:0})),Zn=[9,13,27,32],Qn=_n&&`CompositionEvent`in window,$n=null;_n&&`documentMode`in document&&($n=document.documentMode);var er=_n&&`TextEvent`in window&&!$n,tr=_n&&(!Qn||$n&&8<$n&&11>=$n),nr=` `,rr=!1;function ir(e,t){switch(e){case`keyup`:return Zn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function ar(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var or=!1;function sr(e,t){switch(e){case`compositionend`:return ar(t);case`keypress`:return t.which===32?(rr=!0,nr):null;case`textInput`:return e=t.data,e===nr&&rr?null:e;default:return null}}function cr(e,t){if(or)return e===`compositionend`||!Qn&&ir(e,t)?(e=Cn(),Sn=xn=bn=null,or=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return tr&&t.locale!==`ko`?null:t.data;default:return null}}var lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!lr[e.type]:t===`textarea`}function dr(e,t,n,r){dn?fn?fn.push(r):fn=[r]:dn=r,t=Hd(t,`onChange`),0<t.length&&(n=new kn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var fr=null,pr=null;function mr(e){Pd(e,0)}function hr(e){if(Gt(kt(e)))return e}function gr(e,t){if(e===`change`)return t}var _r=!1;if(_n){var vr;if(_n){var yr=`oninput`in document;if(!yr){var br=document.createElement(`div`);br.setAttribute(`oninput`,`return;`),yr=typeof br.oninput==`function`}vr=yr}else vr=!1;_r=vr&&(!document.documentMode||9<document.documentMode)}function xr(){fr&&(fr.detachEvent(`onpropertychange`,Sr),pr=fr=null)}function Sr(e){if(e.propertyName===`value`&&hr(pr)){var t=[];dr(t,pr,e,un(e)),hn(mr,t)}}function Cr(e,t,n){e===`focusin`?(xr(),fr=t,pr=n,fr.attachEvent(`onpropertychange`,Sr)):e===`focusout`&&xr()}function wr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return hr(pr)}function Tr(e,t){if(e===`click`)return hr(t)}function Er(e,t){if(e===`input`||e===`change`)return hr(t)}function Dr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Or=typeof Object.is==`function`?Object.is:Dr;function kr(e,t){if(Or(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Fe.call(t,i)||!Or(e[i],t[i]))return!1}return!0}function Ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jr(e,t){var n=Ar(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ar(n)}}function Mr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Mr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kt(e.document)}return t}function Pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Fr=_n&&`documentMode`in document&&11>=document.documentMode,Ir=null,Lr=null,Rr=null,zr=!1;function Br(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zr||Ir==null||Ir!==Kt(r)||(r=Ir,`selectionStart`in r&&Pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&kr(Rr,r)||(Rr=r,r=Hd(Lr,`onSelect`),0<r.length&&(t=new kn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ir)))}function Vr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Hr={animationend:Vr(`Animation`,`AnimationEnd`),animationiteration:Vr(`Animation`,`AnimationIteration`),animationstart:Vr(`Animation`,`AnimationStart`),transitionrun:Vr(`Transition`,`TransitionRun`),transitionstart:Vr(`Transition`,`TransitionStart`),transitioncancel:Vr(`Transition`,`TransitionCancel`),transitionend:Vr(`Transition`,`TransitionEnd`)},Ur={},Wr={};_n&&(Wr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Hr.animationend.animation,delete Hr.animationiteration.animation,delete Hr.animationstart.animation),`TransitionEvent`in window||delete Hr.transitionend.transition);function Gr(e){if(Ur[e])return Ur[e];if(!Hr[e])return e;var t=Hr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Wr)return Ur[e]=t[n];return e}var Kr=Gr(`animationend`),qr=Gr(`animationiteration`),Jr=Gr(`animationstart`),Yr=Gr(`transitionrun`),Xr=Gr(`transitionstart`),Zr=Gr(`transitioncancel`),Qr=Gr(`transitionend`),$r=new Map,ei=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ei.push(`scrollEnd`);function ti(e,t){$r.set(e,t),Pt(t,[e])}var ni=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ri=[],ii=0,ai=0;function oi(){for(var e=ii,t=ai=ii=0;t<e;){var n=ri[t];ri[t++]=null;var r=ri[t];ri[t++]=null;var i=ri[t];ri[t++]=null;var a=ri[t];if(ri[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ui(n,i,a)}}function si(e,t,n,r){ri[ii++]=e,ri[ii++]=t,ri[ii++]=n,ri[ii++]=r,ai|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ci(e,t,n,r){return si(e,t,n,r),di(e)}function li(e,t){return si(e,null,null,t),di(e)}function ui(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function di(e){if(50<Tu)throw Tu=0,Eu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var fi={};function see(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pi(e,t,n,r){return new see(e,t,n,r)}function mi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hi(e,t){var n=e.alternate;return n===null?(n=pi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function gi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function _i(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)mi(e)&&(s=1);else if(typeof e==`string`)s=tp(e,n,be.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ae:return e=pi(31,n,t,a),e.elementType=ae,e.lanes=o,e;case y:return vi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=pi(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case ne:return e=pi(13,n,t,a),e.elementType=ne,e.lanes=o,e;case C:return e=pi(19,n,t,a),e.elementType=C,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case ee:s=10;break a;case S:s=9;break a;case te:s=11;break a;case re:s=14;break a;case ie:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=pi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function vi(e,t,n,r){return e=pi(7,e,r,t),e.lanes=n,e}function yi(e,t,n){return e=pi(6,e,null,t),e.lanes=n,e}function bi(e){var t=pi(18,null,null,0);return t.stateNode=e,t}function xi(e,t,n){return t=pi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Si=new WeakMap;function Ci(e,t){if(typeof e==`object`&&e){var n=Si.get(e);return n===void 0?(t={value:e,source:t,stack:Pe(t)},Si.set(e,t),t):n}return{value:e,source:t,stack:Pe(t)}}var wi=[],Ti=0,Ei=null,Di=0,Oi=[],ki=0,Ai=null,ji=1,Mi=``;function Ni(e,t){wi[Ti++]=Di,wi[Ti++]=Ei,Ei=e,Di=t}function Pi(e,t,n){Oi[ki++]=ji,Oi[ki++]=Mi,Oi[ki++]=Ai,Ai=e;var r=ji;e=Mi;var i=32-Qe(r)-1;r&=~(1<<i),n+=1;var a=32-Qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ji=1<<32-Qe(t)+i|n<<i|r,Mi=a+e}else ji=1<<a|n<<i|r,Mi=e}function Fi(e){e.return!==null&&(Ni(e,1),Pi(e,1,0))}function Ii(e){for(;e===Ei;)Ei=wi[--Ti],wi[Ti]=null,Di=wi[--Ti],wi[Ti]=null;for(;e===Ai;)Ai=Oi[--ki],Oi[ki]=null,Mi=Oi[--ki],Oi[ki]=null,ji=Oi[--ki],Oi[ki]=null}function Li(e,t){Oi[ki++]=ji,Oi[ki++]=Mi,Oi[ki++]=Ai,ji=t.id,Mi=t.overflow,Ai=e}var Ri=null,zi=null,Bi=!1,Vi=null,Hi=!1,Ui=Error(i(519));function Wi(e){throw Xi(Ci(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ui}function Gi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[yt]=e,t[bt]=r,n){case`dialog`:Fd(`cancel`,t),Fd(`close`,t);break;case`iframe`:case`object`:case`embed`:Fd(`load`,t);break;case`video`:case`audio`:for(n=0;n<Md.length;n++)Fd(Md[n],t);break;case`source`:Fd(`error`,t);break;case`img`:case`image`:case`link`:Fd(`error`,t),Fd(`load`,t);break;case`details`:Fd(`toggle`,t);break;case`input`:Fd(`invalid`,t),Yt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Fd(`invalid`,t);break;case`textarea`:Fd(`invalid`,t),$t(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||qd(t.textContent,n)?(r.popover!=null&&(Fd(`beforetoggle`,t),Fd(`toggle`,t)),r.onScroll!=null&&Fd(`scroll`,t),r.onScrollEnd!=null&&Fd(`scrollend`,t),r.onClick!=null&&(t.onclick=cn),t=!0):t=!1,t||Wi(e,!0)}function Ki(e){for(Ri=e.return;Ri;)switch(Ri.tag){case 5:case 31:case 13:Hi=!1;return;case 27:case 3:Hi=!0;return;default:Ri=Ri.return}}function qi(e){if(e!==Ri)return!1;if(!Bi)return Ki(e),Bi=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||rf(e.type,e.memoizedProps)),n=!n),n&&zi&&Wi(e),Ki(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));zi=Sf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));zi=Sf(e)}else t===27?(t=zi,uf(e.type)?(e=xf,xf=null,zi=e):zi=t):zi=Ri?bf(e.stateNode.nextSibling):null;return!0}function Ji(){zi=Ri=null,Bi=!1}function Yi(){var e=Vi;return e!==null&&(du===null?du=e:du.push.apply(du,e),Vi=null),e}function Xi(e){Vi===null?Vi=[e]:Vi.push(e)}var Zi=_e(null),Qi=null,$i=null;function ea(e,t,n){ye(Zi,t._currentValue),t._currentValue=n}function ta(e){e._currentValue=Zi.current,ve(Zi)}function na(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ra(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),na(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),na(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function ia(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Or(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===Ce.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[up]:e.push(up))}a=a.return}e!==null&&ra(t,e,n,r),t.flags|=262144}function aa(e){for(e=e.firstContext;e!==null;){if(!Or(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function oa(e){Qi=e,$i=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function sa(e){return la(Qi,e)}function ca(e,t){return Qi===null&&oa(e),la(e,t)}function la(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},$i===null){if(e===null)throw Error(i(308));$i=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else $i=$i.next=t;return n}var ua=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},da=t.unstable_scheduleCallback,fa=t.unstable_NormalPriority,pa={$$typeof:ee,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ma(){return{controller:new ua,data:new Map,refCount:0}}function ha(e){e.refCount--,e.refCount===0&&da(fa,function(){e.controller.abort()})}var ga=null,_a=0,va=0,ya=null;function ba(e,t){if(ga===null){var n=ga=[];_a=0,va=Ed(),ya={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return _a++,t.then(xa,xa),t}function xa(){if(--_a===0&&ga!==null){ya!==null&&(ya.status=`fulfilled`);var e=ga;ga=null,va=0,ya=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function cee(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Sa=fe.S;fe.S=function(e,t){mu=Be(),typeof t==`object`&&t&&typeof t.then==`function`&&ba(e,t),Sa!==null&&Sa(e,t)};var Ca=_e(null);function wa(){var e=Ca.current;return e===null?Yl.pooledCache:e}function Ta(e,t){t===null?ye(Ca,Ca.current):ye(Ca,t.pool)}function Ea(){var e=wa();return e===null?null:{parent:pa._currentValue,pool:e}}var Da=Error(i(460)),Oa=Error(i(474)),ka=Error(i(542)),Aa={then:function(){}};function ja(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ma(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(cn,cn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ia(e),e;default:if(typeof t.status==`string`)t.then(cn,cn);else{if(e=Yl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ia(e),e}throw Pa=t,Da}}function Na(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Pa=e,Da):e}}var Pa=null;function Fa(){if(Pa===null)throw Error(i(459));var e=Pa;return Pa=null,e}function Ia(e){if(e===Da||e===ka)throw Error(i(483))}var La=null,Ra=0;function za(e){var t=Ra;return Ra+=1,La===null&&(La=[]),Ma(La,e,t)}function Ba(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Va(e,t){throw t.$$typeof===g?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ha(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=hi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=yi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ie&&Na(i)===t.type)?(t=a(t,n.props),Ba(t,n),t.return=e,t):(t=_i(n.type,n.key,n.props,null,e.mode,r),Ba(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=xi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=vi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=yi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=_i(t.type,t.key,t.props,null,e.mode,n),Ba(n,t),n.return=e,n;case v:return t=xi(t,e.mode,n),t.return=e,t;case ie:return t=Na(t),f(e,t,n)}if(de(t)||ce(t))return t=vi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,za(t),n);if(t.$$typeof===ee)return f(e,ca(e,t),n);Va(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case ie:return n=Na(n),p(e,t,n,r)}if(de(n)||ce(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,za(n),r);if(n.$$typeof===ee)return p(e,t,ca(e,n),r);Va(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case _:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ie:return r=Na(r),m(e,t,n,r,i)}if(de(r)||ce(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,za(r),i);if(r.$$typeof===ee)return m(e,t,n,ca(t,r),i);Va(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Bi&&Ni(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Bi&&Ni(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),Bi&&Ni(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Bi&&Ni(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Bi&&Ni(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Bi&&Ni(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ie&&Na(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ba(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=vi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=_i(o.type,o.key,o.props,null,e.mode,c),Ba(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=xi(o,e.mode,c),c.return=e,e=c}return s(e);case ie:return o=Na(o),b(e,r,o,c)}if(de(o))return h(e,r,o,c);if(ce(o)){if(l=ce(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,za(o),c);if(o.$$typeof===ee)return b(e,r,ca(e,o),c);Va(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=yi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ra=0;var i=b(e,t,n,r);return La=null,i}catch(t){if(t===Da||t===ka)throw t;var a=pi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ua=Ha(!0),Wa=Ha(!1),Ga=!1;function Ka(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ya(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Jl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=di(e),ui(e,null,n),t}return si(e,r,t,n),di(e)}function Xa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ft(e,n)}}function Za(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Qa=!1;function $a(){if(Qa){var e=ya;if(e!==null)throw e}}function eo(e,t,n,r){Qa=!1;var i=e.updateQueue;Ga=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Zl&f)===f:(r&f)===f){f!==0&&f===va&&(Qa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ga=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),au|=o,e.lanes=o,e.memoizedState=d}}function to(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function no(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)to(n[e],t)}var ro=_e(null),io=_e(0);function ao(e,t){e=ru,ye(io,e),ye(ro,t),ru=e|t.baseLanes}function oo(){ye(io,ru),ye(ro,ro.current)}function so(){ru=io.current,ve(ro),ve(io)}var co=_e(null),lo=null;function uo(e){var t=e.alternate;ye(go,go.current&1),ye(co,e),lo===null&&(t===null||ro.current!==null||t.memoizedState!==null)&&(lo=e)}function fo(e){ye(go,go.current),ye(co,e),lo===null&&(lo=e)}function po(e){e.tag===22?(ye(go,go.current),ye(co,e),lo===null&&(lo=e)):mo(e)}function mo(){ye(go,go.current),ye(co,co.current)}function ho(e){ve(co),lo===e&&(lo=null),ve(go)}var go=_e(0);function _o(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||_f(n)||vf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vo=0,yo=null,bo=null,xo=null,So=!1,Co=!1,wo=!1,To=0,Eo=0,Do=null,Oo=0;function ko(){throw Error(i(321))}function Ao(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Or(e[n],t[n]))return!1;return!0}function jo(e,t,n,r,i,a){return vo=a,yo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fe.H=e===null||e.memoizedState===null?qs:Js,wo=!1,a=n(r,i),wo=!1,Co&&(a=No(t,n,r,i)),Mo(e),a}function Mo(e){fe.H=Ks;var t=bo!==null&&bo.next!==null;if(vo=0,xo=bo=yo=null,So=!1,Eo=0,Do=null,t)throw Error(i(300));e===null||dc||(e=e.dependencies,e!==null&&aa(e)&&(dc=!0))}function No(e,t,n,r){yo=e;var a=0;do{if(Co&&(Do=null),Eo=0,Co=!1,25<=a)throw Error(i(301));if(a+=1,xo=bo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}fe.H=Ys,o=t(n,r)}while(Co);return o}function Po(){var e=fe.H,t=e.useState()[0];return t=typeof t.then==`function`?Vo(t):t,e=e.useState()[0],(bo===null?null:bo.memoizedState)!==e&&(yo.flags|=1024),t}function Fo(){var e=To!==0;return To=0,e}function Io(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Lo(e){if(So){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}So=!1}vo=0,xo=bo=yo=null,Co=!1,Eo=To=0,Do=null}function Ro(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xo===null?yo.memoizedState=xo=e:xo=xo.next=e,xo}function zo(){if(bo===null){var e=yo.alternate;e=e===null?null:e.memoizedState}else e=bo.next;var t=xo===null?yo.memoizedState:xo.next;if(t!==null)xo=t,bo=e;else{if(e===null)throw yo.alternate===null?Error(i(467)):Error(i(310));bo=e,e={memoizedState:bo.memoizedState,baseState:bo.baseState,baseQueue:bo.baseQueue,queue:bo.queue,next:null},xo===null?yo.memoizedState=xo=e:xo=xo.next=e}return xo}function Bo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Vo(e){var t=Eo;return Eo+=1,Do===null&&(Do=[]),e=Ma(Do,e,t),t=yo,(xo===null?t.memoizedState:xo.next)===null&&(t=t.alternate,fe.H=t===null||t.memoizedState===null?qs:Js),e}function Ho(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Vo(e);if(e.$$typeof===ee)return sa(e)}throw Error(i(438,String(e)))}function Uo(e){var t=null,n=yo.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=yo.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Bo(),yo.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=oe;return t.index++,n}function Wo(e,t){return typeof t==`function`?t(e):t}function Go(e){return Ko(zo(),bo,e)}function Ko(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(vo&f)===f:(Zl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===va&&(d=!0);else if((vo&p)===p){u=u.next,p===va&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,yo.lanes|=p,au|=p;f=u.action,wo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,yo.lanes|=f,au|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Or(o,e.memoizedState)&&(dc=!0,d&&(n=ya,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function qo(e){var t=zo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Or(o,t.memoizedState)||(dc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Jo(e,t,n){var r=yo,a=zo(),o=Bi;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Or((bo||a).memoizedState,n);if(s&&(a.memoizedState=n,dc=!0),a=a.queue,vs(Zo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||xo!==null&&xo.memoizedState.tag&1){if(r.flags|=2048,ps(9,{destroy:void 0},Xo.bind(null,r,a,n,t),null),Yl===null)throw Error(i(349));o||vo&127||Yo(r,t,n)}return n}function Yo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=yo.updateQueue,t===null?(t=Bo(),yo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xo(e,t,n,r){t.value=n,t.getSnapshot=r,Qo(t)&&$o(e)}function Zo(e,t,n){return n(function(){Qo(t)&&$o(e)})}function Qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Or(e,n)}catch{return!0}}function $o(e){var t=li(e,2);t!==null&&ku(t,e,2)}function es(e){var t=Ro();if(typeof e==`function`){var n=e;if(e=n(),wo){Ze(!0);try{n()}finally{Ze(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wo,lastRenderedState:e},t}function ts(e,t,n,r){return e.baseState=n,Ko(e,bo,typeof r==`function`?r:Wo)}function ns(e,t,n,r,a){if(Us(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};fe.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,rs(t,o)):(o.next=n.next,t.pending=n.next=o)}}function rs(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=fe.T,o={};fe.T=o;try{var s=n(i,r),c=fe.S;c!==null&&c(o,s),is(e,t,s)}catch(n){os(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),fe.T=a}}else try{a=n(i,r),is(e,t,a)}catch(n){os(e,t,n)}}function is(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){as(e,t,n)},function(n){return os(e,t,n)}):as(e,t,n)}function as(e,t,n){t.status=`fulfilled`,t.value=n,ss(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,rs(e,n)))}function os(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ss(t),t=t.next;while(t!==r)}e.action=null}function ss(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function cs(e,t){return t}function ls(e,t){if(Bi){var n=Yl.formState;if(n!==null){a:{var r=yo;if(Bi){if(zi){b:{for(var i=zi,a=Hi;i.nodeType!==8;){if(!a){i=null;break b}if(i=bf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){zi=bf(i.nextSibling),r=i.data===`F!`;break a}}Wi(r)}r=!1}r&&(t=n[0])}}return n=Ro(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cs,lastRenderedState:t},n.queue=r,n=Bs.bind(null,yo,r),r.dispatch=n,r=es(!1),a=Hs.bind(null,yo,!1,r.queue),r=Ro(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=ns.bind(null,yo,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function us(e){return ds(zo(),bo,e)}function ds(e,t,n){if(t=Ko(e,t,cs)[0],e=Go(Wo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Vo(t)}catch(e){throw e===Da?ka:e}else r=t;t=zo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(yo.flags|=2048,ps(9,{destroy:void 0},lee.bind(null,i,n),null)),[r,a,e]}function lee(e,t){e.action=t}function fs(e){var t=zo(),n=bo;if(n!==null)return ds(t,n,e);zo(),t=t.memoizedState,n=zo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ps(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=yo.updateQueue,t===null&&(t=Bo(),yo.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ms(){return zo().memoizedState}function hs(e,t,n,r){var i=Ro();yo.flags|=e,i.memoizedState=ps(1|t,{destroy:void 0},n,r===void 0?null:r)}function gs(e,t,n,r){var i=zo();r=r===void 0?null:r;var a=i.memoizedState.inst;bo!==null&&r!==null&&Ao(r,bo.memoizedState.deps)?i.memoizedState=ps(t,a,n,r):(yo.flags|=e,i.memoizedState=ps(1|t,a,n,r))}function _s(e,t){hs(8390656,8,e,t)}function vs(e,t){gs(2048,8,e,t)}function ys(e){yo.flags|=4;var t=yo.updateQueue;if(t===null)t=Bo(),yo.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function bs(e){var t=zo().memoizedState;return ys({ref:t,nextImpl:e}),function(){if(Jl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function xs(e,t){return gs(4,2,e,t)}function Ss(e,t){return gs(4,4,e,t)}function Cs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ws(e,t,n){n=n==null?null:n.concat([e]),gs(4,4,Cs.bind(null,t,e),n)}function Ts(){}function Es(e,t){var n=zo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Ao(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ds(e,t){var n=zo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Ao(t,r[1]))return r[0];if(r=e(),wo){Ze(!0);try{e()}finally{Ze(!1)}}return n.memoizedState=[r,t],r}function Os(e,t,n){return n===void 0||vo&1073741824&&!(Zl&261930)?e.memoizedState=t:(e.memoizedState=n,e=Ou(),yo.lanes|=e,au|=e,n)}function ks(e,t,n,r){return Or(n,t)?n:ro.current===null?!(vo&42)||vo&1073741824&&!(Zl&261930)?(dc=!0,e.memoizedState=n):(e=Ou(),yo.lanes|=e,au|=e,t):(e=Os(e,n,r),Or(e,t)||(dc=!0),e)}function As(e,t,n,r,i){var a=pe.p;pe.p=a!==0&&8>a?a:8;var o=fe.T,s={};fe.T=s,Hs(e,!1,t,n);try{var c=i(),l=fe.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Vs(e,t,cee(c,r),Du(e)):Vs(e,t,r,Du(e))}catch(n){Vs(e,t,{then:function(){},status:`rejected`,reason:n},Du())}finally{pe.p=a,o!==null&&s.types!==null&&(o.types=s.types),fe.T=o}}function js(){}function Ms(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ns(e).queue;As(e,a,t,me,n===null?js:function(){return Ps(e),n(r)})}function Ns(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:me,baseState:me,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wo,lastRenderedState:me},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ps(e){var t=Ns(e);t.next===null&&(t=e.alternate.memoizedState),Vs(e,t.next.queue,{},Du())}function Fs(){return sa(up)}function Is(){return zo().memoizedState}function Ls(){return zo().memoizedState}function Rs(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Du();e=Ja(n);var r=Ya(t,e,n);r!==null&&(ku(r,t,n),Xa(r,t,n)),t={cache:ma()},e.payload=t;return}t=t.return}}function zs(e,t,n){var r=Du();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Us(e)?Ws(t,n):(n=ci(e,t,n,r),n!==null&&(ku(n,e,r),Gs(n,t,r)))}function Bs(e,t,n){Vs(e,t,n,Du())}function Vs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Us(e))Ws(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Or(s,o))return si(e,t,i,0),Yl===null&&oi(),!1}catch{}if(n=ci(e,t,i,r),n!==null)return ku(n,e,r),Gs(n,t,r),!0}return!1}function Hs(e,t,n,r){if(r={lane:2,revertLane:Ed(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Us(e)){if(t)throw Error(i(479))}else t=ci(e,n,r,2),t!==null&&ku(t,e,2)}function Us(e){var t=e.alternate;return e===yo||t!==null&&t===yo}function Ws(e,t){Co=So=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ft(e,n)}}var Ks={readContext:sa,use:Ho,useCallback:ko,useContext:ko,useEffect:ko,useImperativeHandle:ko,useLayoutEffect:ko,useInsertionEffect:ko,useMemo:ko,useReducer:ko,useRef:ko,useState:ko,useDebugValue:ko,useDeferredValue:ko,useTransition:ko,useSyncExternalStore:ko,useId:ko,useHostTransitionStatus:ko,useFormState:ko,useActionState:ko,useOptimistic:ko,useMemoCache:ko,useCacheRefresh:ko};Ks.useEffectEvent=ko;var qs={readContext:sa,use:Ho,useCallback:function(e,t){return Ro().memoizedState=[e,t===void 0?null:t],e},useContext:sa,useEffect:_s,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),hs(4194308,4,Cs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hs(4194308,4,e,t)},useInsertionEffect:function(e,t){hs(4,2,e,t)},useMemo:function(e,t){var n=Ro();t=t===void 0?null:t;var r=e();if(wo){Ze(!0);try{e()}finally{Ze(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ro();if(n!==void 0){var i=n(t);if(wo){Ze(!0);try{n(t)}finally{Ze(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=zs.bind(null,yo,e),[r.memoizedState,e]},useRef:function(e){var t=Ro();return e={current:e},t.memoizedState=e},useState:function(e){e=es(e);var t=e.queue,n=Bs.bind(null,yo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ts,useDeferredValue:function(e,t){return Os(Ro(),e,t)},useTransition:function(){var e=es(!1);return e=As.bind(null,yo,e.queue,!0,!1),Ro().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=yo,a=Ro();if(Bi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Yl===null)throw Error(i(349));Zl&127||Yo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,_s(Zo.bind(null,r,o,e),[e]),r.flags|=2048,ps(9,{destroy:void 0},Xo.bind(null,r,o,n,t),null),n},useId:function(){var e=Ro(),t=Yl.identifierPrefix;if(Bi){var n=Mi,r=ji;n=(r&~(1<<32-Qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=To++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Oo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Fs,useFormState:ls,useActionState:ls,useOptimistic:function(e){var t=Ro();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Hs.bind(null,yo,!0,n),n.dispatch=t,[e,t]},useMemoCache:Uo,useCacheRefresh:function(){return Ro().memoizedState=Rs.bind(null,yo)},useEffectEvent:function(e){var t=Ro(),n={impl:e};return t.memoizedState=n,function(){if(Jl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Js={readContext:sa,use:Ho,useCallback:Es,useContext:sa,useEffect:vs,useImperativeHandle:ws,useInsertionEffect:xs,useLayoutEffect:Ss,useMemo:Ds,useReducer:Go,useRef:ms,useState:function(){return Go(Wo)},useDebugValue:Ts,useDeferredValue:function(e,t){return ks(zo(),bo.memoizedState,e,t)},useTransition:function(){var e=Go(Wo)[0],t=zo().memoizedState;return[typeof e==`boolean`?e:Vo(e),t]},useSyncExternalStore:Jo,useId:Is,useHostTransitionStatus:Fs,useFormState:us,useActionState:us,useOptimistic:function(e,t){return ts(zo(),bo,e,t)},useMemoCache:Uo,useCacheRefresh:Ls};Js.useEffectEvent=bs;var Ys={readContext:sa,use:Ho,useCallback:Es,useContext:sa,useEffect:vs,useImperativeHandle:ws,useInsertionEffect:xs,useLayoutEffect:Ss,useMemo:Ds,useReducer:qo,useRef:ms,useState:function(){return qo(Wo)},useDebugValue:Ts,useDeferredValue:function(e,t){var n=zo();return bo===null?Os(n,e,t):ks(n,bo.memoizedState,e,t)},useTransition:function(){var e=qo(Wo)[0],t=zo().memoizedState;return[typeof e==`boolean`?e:Vo(e),t]},useSyncExternalStore:Jo,useId:Is,useHostTransitionStatus:Fs,useFormState:fs,useActionState:fs,useOptimistic:function(e,t){var n=zo();return bo===null?(n.baseState=e,[e,n.queue.dispatch]):ts(n,bo,e,t)},useMemoCache:Uo,useCacheRefresh:Ls};Ys.useEffectEvent=bs;function Xs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:m({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Zs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Du(),i=Ja(r);i.payload=t,n!=null&&(i.callback=n),t=Ya(e,i,r),t!==null&&(ku(t,e,r),Xa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Du(),i=Ja(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ya(e,i,r),t!==null&&(ku(t,e,r),Xa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Du(),r=Ja(n);r.tag=2,t!=null&&(r.callback=t),t=Ya(e,r,n),t!==null&&(ku(t,e,n),Xa(t,e,n))}};function Qs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!kr(n,r)||!kr(i,a):!0}function $s(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Zs.enqueueReplaceState(t,t.state,null)}function ec(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=m({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function tc(e){ni(e)}function nc(e){console.error(e)}function rc(e){ni(e)}function ic(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ac(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function oc(e,t,n){return n=Ja(n),n.tag=3,n.payload={element:null},n.callback=function(){ic(e,t)},n}function sc(e){return e=Ja(e),e.tag=3,e}function cc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){ac(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){ac(t,n,r),typeof i!=`function`&&(_u===null?_u=new Set([this]):_u.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function lc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ia(t,n,a,!0),n=co.current,n!==null){switch(n.tag){case 31:case 13:return lo===null?Vu():n.alternate===null&&iu===0&&(iu=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Aa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),od(e,r,a)),!1;case 22:return n.flags|=65536,r===Aa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),od(e,r,a)),!1}throw Error(i(435,n.tag))}return od(e,r,a),Vu(),!1}if(Bi)return t=co.current,t===null?(r!==Ui&&(t=Error(i(423),{cause:r}),Xi(Ci(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ci(r,n),a=oc(e.stateNode,r,a),Za(e,a),iu!==4&&(iu=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ui&&(e=Error(i(422),{cause:r}),Xi(Ci(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ci(o,n),uu===null?uu=[o]:uu.push(o),iu!==4&&(iu=2),t===null)return!0;r=Ci(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=oc(n.stateNode,r,e),Za(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(_u===null||!_u.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=sc(a),cc(a,e,n,r),Za(n,a),!1}n=n.return}while(n!==null);return!1}var uc=Error(i(461)),dc=!1;function fc(e,t,n,r){t.child=e===null?Wa(t,null,n,r):Ua(t,e.child,n,r)}function pc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return oa(t),r=jo(e,t,n,o,a,i),s=Fo(),e!==null&&!dc?(Io(e,t,i),Lc(e,t,i)):(Bi&&s&&Fi(t),t.flags|=1,fc(e,t,r,i),t.child)}function mc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!mi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,hc(e,t,a,r,i)):(e=_i(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Rc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?kr:n,n(o,r)&&e.ref===t.ref)return Lc(e,t,i)}return t.flags|=1,e=hi(a,r),e.ref=t.ref,e.return=t,t.child=e}function hc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(kr(a,r)&&e.ref===t.ref)if(dc=!1,t.pendingProps=r=a,Rc(e,i))e.flags&131072&&(dc=!0);else return t.lanes=e.lanes,Lc(e,t,i)}return Cc(e,t,n,r,i)}function gc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return vc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ta(t,a===null?null:a.cachePool),a===null?oo():ao(t,a),po(t);else return r=t.lanes=536870912,vc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ta(t,null),oo(),mo(t)):(Ta(t,a.cachePool),ao(t,a),mo(t),t.memoizedState=null);return fc(e,t,i,n),t.child}function _c(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function vc(e,t,n,r,i){var a=wa();return a=a===null?null:{parent:pa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ta(t,null),oo(),po(t),e!==null&&ia(e,t,r,!0),t.childLanes=i,null}function yc(e,t){return t=Mc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function bc(e,t,n){return Ua(t,e.child,null,n),e=yc(t,t.pendingProps),e.flags|=2,ho(t),t.memoizedState=null,e}function xc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Bi){if(r.mode===`hidden`)return e=yc(t,r),t.lanes=536870912,_c(null,e);if(fo(t),(e=zi)?(e=gf(e,Hi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ai===null?null:{id:ji,overflow:Mi},retryLane:536870912,hydrationErrors:null},n=bi(e),n.return=t,t.child=n,Ri=t,zi=null)):e=null,e===null)throw Wi(t);return t.lanes=536870912,null}return yc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(fo(t),a)if(t.flags&256)t.flags&=-257,t=bc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(dc||ia(e,t,n,!1),a=(n&e.childLanes)!==0,dc||a){if(r=Yl,r!==null&&(s=pt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,li(e,s),ku(r,e,s),uc;Vu(),t=bc(e,t,n)}else e=o.treeContext,zi=bf(s.nextSibling),Ri=t,Bi=!0,Vi=null,Hi=!1,e!==null&&Li(t,e),t=yc(t,r),t.flags|=4096;return t}return e=hi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Sc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Cc(e,t,n,r,i){return oa(t),n=jo(e,t,n,r,void 0,i),r=Fo(),e!==null&&!dc?(Io(e,t,i),Lc(e,t,i)):(Bi&&r&&Fi(t),t.flags|=1,fc(e,t,n,i),t.child)}function wc(e,t,n,r,i,a){return oa(t),t.updateQueue=null,n=No(t,r,n,i),Mo(e),r=Fo(),e!==null&&!dc?(Io(e,t,a),Lc(e,t,a)):(Bi&&r&&Fi(t),t.flags|=1,fc(e,t,n,a),t.child)}function Tc(e,t,n,r,i){if(oa(t),t.stateNode===null){var a=fi,o=n.contextType;typeof o==`object`&&o&&(a=sa(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Zs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ka(t),o=n.contextType,a.context=typeof o==`object`&&o?sa(o):fi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Xs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Zs.enqueueReplaceState(a,a.state,null),eo(t,r,a,i),$a(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=ec(n,s);a.props=c;var l=a.context,u=n.contextType;o=fi,typeof u==`object`&&u&&(o=sa(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&$s(t,a,r,o),Ga=!1;var f=t.memoizedState;a.state=f,eo(t,r,a,i),$a(),l=t.memoizedState,s||f!==l||Ga?(typeof d==`function`&&(Xs(t,n,d,r),l=t.memoizedState),(c=Ga||Qs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,qa(e,t),o=t.memoizedProps,u=ec(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=fi,typeof l==`object`&&l&&(c=sa(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&$s(t,a,r,c),Ga=!1,f=t.memoizedState,a.state=f,eo(t,r,a,i),$a();var p=t.memoizedState;o!==d||f!==p||Ga||e!==null&&e.dependencies!==null&&aa(e.dependencies)?(typeof s==`function`&&(Xs(t,n,s,r),p=t.memoizedState),(u=Ga||Qs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&aa(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Sc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ua(t,e.child,null,i),t.child=Ua(t,null,n,i)):fc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Lc(e,t,i),e}function Ec(e,t,n,r){return Ji(),t.flags|=256,fc(e,t,n,r),t.child}var Dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Oc(e){return{baseLanes:e,cachePool:Ea()}}function kc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=cu),e}function Ac(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(go.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(Bi){if(a?uo(t):mo(t),(e=zi)?(e=gf(e,Hi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ai===null?null:{id:ji,overflow:Mi},retryLane:536870912,hydrationErrors:null},n=bi(e),n.return=t,t.child=n,Ri=t,zi=null)):e=null,e===null)throw Wi(t);return vf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(mo(t),a=t.mode,c=Mc({mode:`hidden`,children:c},a),r=vi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=Oc(n),r.childLanes=kc(e,s,n),t.memoizedState=Dc,_c(null,r)):(uo(t),jc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(uo(t),t.flags&=-257,t=Nc(e,t,n)):t.memoizedState===null?(mo(t),c=r.fallback,a=t.mode,r=Mc({mode:`visible`,children:r.children},a),c=vi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ua(t,e.child,null,n),r=t.child,r.memoizedState=Oc(n),r.childLanes=kc(e,s,n),t.memoizedState=Dc,t=_c(null,r)):(mo(t),t.child=e.child,t.flags|=128,t=null);else if(uo(t),vf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Xi({value:r,source:null,stack:null}),t=Nc(e,t,n)}else if(dc||ia(e,t,n,!1),s=(n&e.childLanes)!==0,dc||s){if(s=Yl,s!==null&&(r=pt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,li(e,r),ku(s,e,r),uc;_f(c)||Vu(),t=Nc(e,t,n)}else _f(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,zi=bf(c.nextSibling),Ri=t,Bi=!0,Vi=null,Hi=!1,e!==null&&Li(t,e),t=jc(t,r.children),t.flags|=4096);return t}return a?(mo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=hi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=vi(c,a,n,null),c.flags|=2):c=hi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,_c(null,r),r=t.child,c=e.child.memoizedState,c===null?c=Oc(n):(a=c.cachePool,a===null?a=Ea():(l=pa._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=kc(e,s,n),t.memoizedState=Dc,_c(e.child,r)):(uo(t),n=e.child,e=n.sibling,n=hi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function jc(e,t){return t=Mc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Mc(e,t){return e=pi(22,e,null,t),e.lanes=0,e}function Nc(e,t,n){return Ua(t,e.child,null,n),e=jc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Pc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),na(e.return,t,n)}function Fc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Ic(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=go.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,ye(go,o),fc(e,t,r,n),r=Bi?Di:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Pc(e,n,t);else if(e.tag===19)Pc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&_o(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Fc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&_o(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Fc(t,!0,n,null,a,r);break;case`together`:Fc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Lc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),au|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ia(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=hi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=hi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Rc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&aa(e))):!0}function uee(e,t,n){switch(t.tag){case 3:we(t,t.stateNode.containerInfo),ea(t,pa,e.memoizedState.cache),Ji();break;case 27:case 5:Ee(t);break;case 4:we(t,t.stateNode.containerInfo);break;case 10:ea(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,fo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(uo(t),e=Lc(e,t,n),e===null?null:e.sibling):Ac(e,t,n):(uo(t),t.flags|=128,null);uo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(ia(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ic(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ye(go,go.current),r)break;return null;case 22:return t.lanes=0,gc(e,t,n,t.pendingProps);case 24:ea(t,pa,e.memoizedState.cache)}return Lc(e,t,n)}function zc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)dc=!0;else{if(!Rc(e,n)&&!(t.flags&128))return dc=!1,uee(e,t,n);dc=!!(e.flags&131072)}else dc=!1,Bi&&t.flags&1048576&&Pi(t,Di,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Na(t.elementType),t.type=e,typeof e==`function`)mi(e)?(r=ec(e,r),t.tag=1,t=Tc(null,t,e,r,n)):(t.tag=0,t=Cc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===te){t.tag=11,t=pc(null,t,e,r,n);break a}else if(a===re){t.tag=14,t=mc(null,t,e,r,n);break a}}throw t=ue(e)||e,Error(i(306,t,``))}}return t;case 0:return Cc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=ec(r,t.pendingProps),Tc(e,t,r,a,n);case 3:a:{if(we(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,qa(e,t),eo(t,r,null,n);var s=t.memoizedState;if(r=s.cache,ea(t,pa,r),r!==o.cache&&ra(t,[pa],n,!0),$a(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Ec(e,t,r,n);break a}else if(r!==a){a=Ci(Error(i(424)),t),Xi(a),t=Ec(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(zi=bf(e.firstChild),Ri=t,Bi=!0,Vi=null,Hi=!0,n=Wa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ji(),r===a){t=Lc(e,t,n);break a}fc(e,t,r,n)}t=t.child}return t;case 26:return Sc(e,t),e===null?(n=Vf(t.type,null,t.pendingProps,null))?t.memoizedState=n:Bi||(n=t.type,e=t.pendingProps,r=ef(Se.current).createElement(n),r[yt]=t,r[bt]=e,Xd(r,n,e),jt(r),t.stateNode=r):t.memoizedState=Vf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ee(t),e===null&&Bi&&(r=t.stateNode=wf(t.type,t.pendingProps,Se.current),Ri=t,Hi=!0,a=zi,uf(t.type)?(xf=a,zi=bf(r.firstChild)):zi=a),fc(e,t,t.pendingProps.children,n),Sc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Bi&&((a=r=zi)&&(r=mf(r,t.type,t.pendingProps,Hi),r===null?a=!1:(t.stateNode=r,Ri=t,zi=bf(r.firstChild),Hi=!1,a=!0)),a||Wi(t)),Ee(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,rf(a,o)?r=null:s!==null&&rf(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=jo(e,t,Po,null,null,n),up._currentValue=a),Sc(e,t),fc(e,t,r,n),t.child;case 6:return e===null&&Bi&&((e=n=zi)&&(n=hf(n,t.pendingProps,Hi),n===null?e=!1:(t.stateNode=n,Ri=t,zi=null,e=!0)),e||Wi(t)),null;case 13:return Ac(e,t,n);case 4:return we(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ua(t,null,r,n):fc(e,t,r,n),t.child;case 11:return pc(e,t,t.type,t.pendingProps,n);case 7:return fc(e,t,t.pendingProps,n),t.child;case 8:return fc(e,t,t.pendingProps.children,n),t.child;case 12:return fc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,ea(t,t.type,r.value),fc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,oa(t),a=sa(a),r=r(a),t.flags|=1,fc(e,t,r,n),t.child;case 14:return mc(e,t,t.type,t.pendingProps,n);case 15:return hc(e,t,t.type,t.pendingProps,n);case 19:return Ic(e,t,n);case 31:return xc(e,t,n);case 22:return gc(e,t,n,t.pendingProps);case 24:return oa(t),r=sa(pa),e===null?(a=wa(),a===null&&(a=Yl,o=ma(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ka(t),ea(t,pa,a)):((e.lanes&n)!==0&&(qa(e,t),eo(t,null,null,n),$a()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,ea(t,pa,r),r!==a.cache&&ra(t,[pa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),ea(t,pa,r))),fc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Bc(e){e.flags|=4}function Vc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Ru())e.flags|=8192;else throw Pa=Aa,Oa}else e.flags&=-16777217}function Hc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!np(t))if(Ru())e.flags|=8192;else throw Pa=Aa,Oa}function Uc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:st(),e.lanes|=t,lu|=t)}function Wc(e,t){if(!Bi)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Kc(e,t,n){var r=t.pendingProps;switch(Ii(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gc(t),null;case 1:return Gc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ta(pa),Te(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(qi(t)?Bc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Yi())),Gc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Bc(t),o===null?(Gc(t),Vc(t,a,null,r,n)):(Gc(t),Hc(t,o))):o?o===e.memoizedState?(Gc(t),t.flags&=-16777217):(Bc(t),Gc(t),Hc(t,o)):(e=e.memoizedProps,e!==r&&Bc(t),Gc(t),Vc(t,a,e,r,n)),null;case 27:if(De(t),n=Se.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Bc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Gc(t),null}e=be.current,qi(t)?Gi(t,e):(e=wf(a,r,n),t.stateNode=e,Bc(t))}return Gc(t),null;case 5:if(De(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Bc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Gc(t),null}if(o=be.current,qi(t))Gi(t,o);else{var s=ef(Se.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[yt]=t,o[bt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Xd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Bc(t)}}return Gc(t),Vc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Bc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Se.current,qi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ri,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[yt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||qd(e.nodeValue,n)),e||Wi(t,!0)}else e=ef(e).createTextNode(r),e[yt]=t,t.stateNode=e}return Gc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=qi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[yt]=t}else Ji(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Gc(t),e=!1}else n=Yi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(ho(t),t):(ho(t),null);if(t.flags&128)throw Error(i(558))}return Gc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=qi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[yt]=t}else Ji(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Gc(t),a=!1}else a=Yi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(ho(t),t):(ho(t),null)}return ho(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Uc(t,t.updateQueue),Gc(t),null);case 4:return Te(),e===null&&Rd(t.stateNode.containerInfo),Gc(t),null;case 10:return ta(t.type),Gc(t),null;case 19:if(ve(go),r=t.memoizedState,r===null)return Gc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Wc(r,!1);else{if(iu!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=_o(e),o!==null){for(t.flags|=128,Wc(r,!1),e=o.updateQueue,t.updateQueue=e,Uc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)gi(n,e),n=n.sibling;return ye(go,go.current&1|2),Bi&&Ni(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Be()>hu&&(t.flags|=128,a=!0,Wc(r,!1),t.lanes=4194304)}else{if(!a)if(e=_o(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Uc(t,e),Wc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Bi)return Gc(t),null}else 2*Be()-r.renderingStartTime>hu&&n!==536870912&&(t.flags|=128,a=!0,Wc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Gc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Be(),e.sibling=null,n=go.current,ye(go,a?n&1|2:n&1),Bi&&Ni(t,r.treeForkCount),e);case 22:case 23:return ho(t),so(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Gc(t),t.subtreeFlags&6&&(t.flags|=8192)):Gc(t),n=t.updateQueue,n!==null&&Uc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ve(Ca),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ta(pa),Gc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function qc(e,t){switch(Ii(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ta(pa),Te(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return De(t),null;case 31:if(t.memoizedState!==null){if(ho(t),t.alternate===null)throw Error(i(340));Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(ho(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ve(go),null;case 4:return Te(),null;case 10:return ta(t.type),null;case 22:case 23:return ho(t),so(),e!==null&&ve(Ca),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ta(pa),null;case 25:return null;default:return null}}function Jc(e,t){switch(Ii(t),t.tag){case 3:ta(pa),Te();break;case 26:case 27:case 5:De(t);break;case 4:Te();break;case 31:t.memoizedState!==null&&ho(t);break;case 13:ho(t);break;case 19:ve(go);break;case 10:ta(t.type);break;case 22:case 23:ho(t),so(),e!==null&&ve(Ca);break;case 24:ta(pa)}}function Yc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){ad(t,t.return,e)}}function Xc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){ad(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){ad(t,t.return,e)}}function Zc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{no(t,n)}catch(t){ad(e,e.return,t)}}}function Qc(e,t,n){n.props=ec(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){ad(e,t,n)}}function $c(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){ad(e,t,n)}}function el(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){ad(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){ad(e,t,n)}else n.current=null}function tl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){ad(e,e.return,t)}}function nl(e,t,n){try{var r=e.stateNode;fee(r,e.type,n,t),r[bt]=t}catch(t){ad(e,e.return,t)}}function rl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&uf(e.type)||e.tag===4}function il(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||rl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&uf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function al(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cn));else if(r!==4&&(r===27&&uf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(al(e,t,n),e=e.sibling;e!==null;)al(e,t,n),e=e.sibling}function ol(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&uf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(ol(e,t,n),e=e.sibling;e!==null;)ol(e,t,n),e=e.sibling}function sl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Xd(t,r,n),t[yt]=e,t[bt]=n}catch(t){ad(e,e.return,t)}}var cl=!1,ll=!1,ul=!1,dl=typeof WeakSet==`function`?WeakSet:Set,fl=null;function pl(e,t){if(e=e.containerInfo,Qd=yp,e=Nr(e),Pr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for($d={focusedElem:e,selectionRange:n},yp=!1,fl=t;fl!==null;)if(t=fl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,fl=e;else for(;fl!==null;){switch(t=fl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=ec(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){ad(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)pf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:pf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,fl=e;break}fl=t.return}}function ml(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:kl(e,n),r&4&&Yc(5,n);break;case 1:if(kl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){ad(n,n.return,e)}else{var i=ec(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){ad(n,n.return,e)}}r&64&&Zc(n),r&512&&$c(n,n.return);break;case 3:if(kl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{no(e,t)}catch(e){ad(n,n.return,e)}}break;case 27:t===null&&r&4&&sl(n);case 26:case 5:kl(e,n),t===null&&r&4&&tl(n),r&512&&$c(n,n.return);break;case 12:kl(e,n);break;case 31:kl(e,n),r&4&&bl(e,n);break;case 13:kl(e,n),r&4&&xl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=ld.bind(null,n),yf(e,n))));break;case 22:if(r=n.memoizedState!==null||cl,!r){t=t!==null&&t.memoizedState!==null||ll,i=cl;var a=ll;cl=r,(ll=t)&&!a?jl(e,n,(n.subtreeFlags&8772)!=0):kl(e,n),cl=i,ll=a}break;case 30:break;default:kl(e,n)}}function hl(e){var t=e.alternate;t!==null&&(e.alternate=null,hl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Et(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var gl=null,_l=!1;function vl(e,t,n){for(n=n.child;n!==null;)yl(e,t,n),n=n.sibling}function yl(e,t,n){if(Xe&&typeof Xe.onCommitFiberUnmount==`function`)try{Xe.onCommitFiberUnmount(Ye,n)}catch{}switch(n.tag){case 26:ll||el(n,t),vl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ll||el(n,t);var r=gl,i=_l;uf(n.type)&&(gl=n.stateNode,_l=!1),vl(e,t,n),Tf(n.stateNode),gl=r,_l=i;break;case 5:ll||el(n,t);case 6:if(r=gl,i=_l,gl=null,vl(e,t,n),gl=r,_l=i,gl!==null)if(_l)try{(gl.nodeType===9?gl.body:gl.nodeName===`HTML`?gl.ownerDocument.body:gl).removeChild(n.stateNode)}catch(e){ad(n,t,e)}else try{gl.removeChild(n.stateNode)}catch(e){ad(n,t,e)}break;case 18:gl!==null&&(_l?(e=gl,df(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Up(e)):df(gl,n.stateNode));break;case 4:r=gl,i=_l,gl=n.stateNode.containerInfo,_l=!0,vl(e,t,n),gl=r,_l=i;break;case 0:case 11:case 14:case 15:Xc(2,n,t),ll||Xc(4,n,t),vl(e,t,n);break;case 1:ll||(el(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Qc(n,t,r)),vl(e,t,n);break;case 21:vl(e,t,n);break;case 22:ll=(r=ll)||n.memoizedState!==null,vl(e,t,n),ll=r;break;default:vl(e,t,n)}}function bl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Up(e)}catch(e){ad(t,t.return,e)}}}function xl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Up(e)}catch(e){ad(t,t.return,e)}}function Sl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new dl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new dl),t;default:throw Error(i(435,e.tag))}}function Cl(e,t){var n=Sl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=ud.bind(null,e,t);t.then(r,r)}})}function wl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(uf(c.type)){gl=c.stateNode,_l=!1;break a}break;case 5:gl=c.stateNode,_l=!1;break a;case 3:case 4:gl=c.stateNode.containerInfo,_l=!0;break a}c=c.return}if(gl===null)throw Error(i(160));yl(o,s,a),gl=null,_l=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)El(t,e),t=t.sibling}var Tl=null;function El(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:wl(t,e),Dl(e),r&4&&(Xc(3,e,e.return),Yc(3,e),Xc(5,e,e.return));break;case 1:wl(t,e),Dl(e),r&512&&(ll||n===null||el(n,n.return)),r&64&&cl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=Tl;if(wl(t,e),Dl(e),r&512&&(ll||n===null||el(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[Tt]||o[yt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Xd(o,r,n),o[yt]=e,jt(o),r=o;break a;case`link`:var s=$f(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Xd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=$f(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Xd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[yt]=e,jt(o),r=o}e.stateNode=r}else ep(a,e.type,e.stateNode);else e.stateNode=Jf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&nl(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?ep(a,e.type,e.stateNode):Jf(a,r,e.memoizedProps))}break;case 27:wl(t,e),Dl(e),r&512&&(ll||n===null||el(n,n.return)),n!==null&&r&4&&nl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(wl(t,e),Dl(e),r&512&&(ll||n===null||el(n,n.return)),e.flags&32){a=e.stateNode;try{en(a,``)}catch(t){ad(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,nl(e,a,n===null?a:n.memoizedProps)),r&1024&&(ul=!0);break;case 6:if(wl(t,e),Dl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){ad(e,e.return,t)}}break;case 3:if(Qf=null,a=Tl,Tl=Of(t.containerInfo),wl(t,e),Tl=a,Dl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Up(t.containerInfo)}catch(t){ad(e,e.return,t)}ul&&(ul=!1,Ol(e));break;case 4:r=Tl,Tl=Of(e.stateNode.containerInfo),wl(t,e),Dl(e),Tl=r;break;case 12:wl(t,e),Dl(e);break;case 31:wl(t,e),Dl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Cl(e,r)));break;case 13:wl(t,e),Dl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(pu=Be()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Cl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=cl,d=ll;if(cl=u||a,ll=d||l,wl(t,e),ll=d,cl=u,Dl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||cl||ll||Al(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){ad(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){ad(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?ff(m,!0):ff(l.stateNode,!1)}catch(e){ad(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,Cl(e,n))));break;case 19:wl(t,e),Dl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Cl(e,r)));break;case 30:break;case 21:break;default:wl(t,e),Dl(e)}}function Dl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(rl(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;ol(e,il(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(en(o,``),n.flags&=-33),ol(e,il(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;al(e,il(e),s);break;default:throw Error(i(161))}}catch(t){ad(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ol(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ol(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function kl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ml(e,t.alternate,t),t=t.sibling}function Al(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Xc(4,t,t.return),Al(t);break;case 1:el(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Qc(t,t.return,n),Al(t);break;case 27:Tf(t.stateNode);case 26:case 5:el(t,t.return),Al(t);break;case 22:t.memoizedState===null&&Al(t);break;case 30:Al(t);break;default:Al(t)}e=e.sibling}}function jl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:jl(i,a,n),Yc(4,a);break;case 1:if(jl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){ad(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)to(c[i],s)}catch(e){ad(r,r.return,e)}}n&&o&64&&Zc(a),$c(a,a.return);break;case 27:sl(a);case 26:case 5:jl(i,a,n),n&&r===null&&o&4&&tl(a),$c(a,a.return);break;case 12:jl(i,a,n);break;case 31:jl(i,a,n),n&&o&4&&bl(i,a);break;case 13:jl(i,a,n),n&&o&4&&xl(i,a);break;case 22:a.memoizedState===null&&jl(i,a,n),$c(a,a.return);break;case 30:break;default:jl(i,a,n)}t=t.sibling}}function Ml(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ha(n))}function Nl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ha(e))}function Pl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Fl(e,t,n,r),t=t.sibling}function Fl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Pl(e,t,n,r),i&2048&&Yc(9,t);break;case 1:Pl(e,t,n,r);break;case 3:Pl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ha(e)));break;case 12:if(i&2048){Pl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){ad(t,t.return,e)}}else Pl(e,t,n,r);break;case 31:Pl(e,t,n,r);break;case 13:Pl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Pl(e,t,n,r):(a._visibility|=2,Il(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Pl(e,t,n,r):Ll(e,t),i&2048&&Ml(o,t);break;case 24:Pl(e,t,n,r),i&2048&&Nl(t.alternate,t);break;default:Pl(e,t,n,r)}}function Il(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Il(a,o,s,c,i),Yc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Il(a,o,s,c,i)):u._visibility&2?Il(a,o,s,c,i):Ll(a,o),i&&l&2048&&Ml(o.alternate,o);break;case 24:Il(a,o,s,c,i),i&&l&2048&&Nl(o.alternate,o);break;default:Il(a,o,s,c,i)}t=t.sibling}}function Ll(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ll(n,r),i&2048&&Ml(r.alternate,r);break;case 24:Ll(n,r),i&2048&&Nl(r.alternate,r);break;default:Ll(n,r)}t=t.sibling}}var Rl=8192;function zl(e,t,n){if(e.subtreeFlags&Rl)for(e=e.child;e!==null;)Bl(e,t,n),e=e.sibling}function Bl(e,t,n){switch(e.tag){case 26:zl(e,t,n),e.flags&Rl&&e.memoizedState!==null&&rp(n,Tl,e.memoizedState,e.memoizedProps);break;case 5:zl(e,t,n);break;case 3:case 4:var r=Tl;Tl=Of(e.stateNode.containerInfo),zl(e,t,n),Tl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Rl,Rl=16777216,zl(e,t,n),Rl=r):zl(e,t,n));break;default:zl(e,t,n)}}function Vl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Hl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];fl=r,Gl(r,e)}Vl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ul(e),e=e.sibling}function Ul(e){switch(e.tag){case 0:case 11:case 15:Hl(e),e.flags&2048&&Xc(9,e,e.return);break;case 3:Hl(e);break;case 12:Hl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wl(e)):Hl(e);break;default:Hl(e)}}function Wl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];fl=r,Gl(r,e)}Vl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Xc(8,t,t.return),Wl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Wl(t));break;default:Wl(t)}e=e.sibling}}function Gl(e,t){for(;fl!==null;){var n=fl;switch(n.tag){case 0:case 11:case 15:Xc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ha(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,fl=r;else a:for(n=e;fl!==null;){r=fl;var i=r.sibling,a=r.return;if(hl(r),r===n){fl=null;break a}if(i!==null){i.return=a,fl=i;break a}fl=a}}}var Kl={getCacheForType:function(e){var t=sa(pa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return sa(pa).controller.signal}},ql=typeof WeakMap==`function`?WeakMap:Map,Jl=0,Yl=null,Xl=null,Zl=0,Ql=0,$l=null,eu=!1,tu=!1,nu=!1,ru=0,iu=0,au=0,ou=0,su=0,cu=0,lu=0,uu=null,du=null,fu=!1,pu=0,mu=0,hu=1/0,gu=null,_u=null,vu=0,yu=null,bu=null,xu=0,Su=0,Cu=null,wu=null,Tu=0,Eu=null;function Du(){return Jl&2&&Zl!==0?Zl&-Zl:fe.T===null?gt():Ed()}function Ou(){if(cu===0)if(!(Zl&536870912)||Bi){var e=rt;rt<<=1,!(rt&3932160)&&(rt=262144),cu=e}else cu=536870912;return e=co.current,e!==null&&(e.flags|=32),cu}function ku(e,t,n){(e===Yl&&(Ql===2||Ql===9)||e.cancelPendingCommit!==null)&&(Iu(e,0),Nu(e,Zl,cu,!1)),lt(e,n),(!(Jl&2)||e!==Yl)&&(e===Yl&&(!(Jl&2)&&(ou|=n),iu===4&&Nu(e,Zl,cu,!1)),vd(e))}function Au(e,t,n){if(Jl&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||at(e,t),a=r?Wu(e,t):Hu(e,t,!0),o=r;do{if(a===0){tu&&!r&&Nu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Mu(n)){a=Hu(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=uu;var l=c.current.memoizedState.isDehydrated;if(l&&(Iu(c,s).flags|=256),s=Hu(c,s,!1),s!==2){if(nu&&!l){c.errorRecoveryDisabledLanes|=o,ou|=o,a=4;break a}o=du,du=a,o!==null&&(du===null?du=o:du.push.apply(du,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Iu(e,0),Nu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Nu(r,t,cu,!eu);break a;case 2:du=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=pu+300-Be(),10<a)){if(Nu(r,t,cu,!eu),T(r,0,!0)!==0)break a;xu=t,r.timeoutHandle=of(ju.bind(null,r,n,du,gu,fu,t,cu,ou,lu,eu,o,`Throttled`,-0,0),a);break a}ju(r,n,du,gu,fu,t,cu,ou,lu,eu,o,null,-0,0)}}break}while(1);vd(e)}function ju(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:cn},Bl(t,a,d);var m=(a&62914560)===a?pu-Be():(a&4194048)===a?mu-Be():0;if(m=ap(d,m),m!==null){xu=a,e.cancelPendingCommit=m(Zu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Nu(e,a,o,!l);return}}Zu(e,t,a,n,r,i,o,s,c)}function Mu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Or(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Nu(e,t,n,r){t&=~su,t&=~ou,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&dt(e,n,t)}function Pu(){return Jl&6?!0:(yd(0,!1),!1)}function Fu(){if(Xl!==null){if(Ql===0)var e=Xl.return;else e=Xl,$i=Qi=null,Lo(e),La=null,Ra=0,e=Xl;for(;e!==null;)Jc(e.alternate,e),e=e.return;Xl=null}}function Iu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,hee(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),xu=0,Fu(),Yl=e,Xl=n=hi(e.current,null),Zl=t,Ql=0,$l=null,eu=!1,tu=at(e,t),nu=!1,lu=cu=su=ou=au=iu=0,du=uu=null,fu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Qe(r),a=1<<i;t|=e[i],r&=~a}return ru=t,oi(),n}function Lu(e,t){yo=null,fe.H=Ks,t===Da||t===ka?(t=Fa(),Ql=3):t===Oa?(t=Fa(),Ql=4):Ql=t===uc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,$l=t,Xl===null&&(iu=1,ic(e,Ci(t,e.current)))}function Ru(){var e=co.current;return e===null?!0:(Zl&4194048)===Zl?lo===null:(Zl&62914560)===Zl||Zl&536870912?e===lo:!1}function zu(){var e=fe.H;return fe.H=Ks,e===null?Ks:e}function Bu(){var e=fe.A;return fe.A=Kl,e}function Vu(){iu=4,eu||(Zl&4194048)!==Zl&&co.current!==null||(tu=!0),!(au&134217727)&&!(ou&134217727)||Yl===null||Nu(Yl,Zl,cu,!1)}function Hu(e,t,n){var r=Jl;Jl|=2;var i=zu(),a=Bu();(Yl!==e||Zl!==t)&&(gu=null,Iu(e,t)),t=!1;var o=iu;a:do try{if(Ql!==0&&Xl!==null){var s=Xl,c=$l;switch(Ql){case 8:Fu(),o=6;break a;case 3:case 2:case 9:case 6:co.current===null&&(t=!0);var l=Ql;if(Ql=0,$l=null,Ju(e,s,c,l),n&&tu){o=0;break a}break;default:l=Ql,Ql=0,$l=null,Ju(e,s,c,l)}}Uu(),o=iu;break}catch(t){Lu(e,t)}while(1);return t&&e.shellSuspendCounter++,$i=Qi=null,Jl=r,fe.H=i,fe.A=a,Xl===null&&(Yl=null,Zl=0,oi()),o}function Uu(){for(;Xl!==null;)Ku(Xl)}function Wu(e,t){var n=Jl;Jl|=2;var r=zu(),a=Bu();Yl!==e||Zl!==t?(gu=null,hu=Be()+500,Iu(e,t)):tu=at(e,t);a:do try{if(Ql!==0&&Xl!==null){t=Xl;var o=$l;b:switch(Ql){case 1:Ql=0,$l=null,Ju(e,t,o,1);break;case 2:case 9:if(ja(o)){Ql=0,$l=null,qu(t);break}t=function(){Ql!==2&&Ql!==9||Yl!==e||(Ql=7),vd(e)},o.then(t,t);break a;case 3:Ql=7;break a;case 4:Ql=5;break a;case 7:ja(o)?(Ql=0,$l=null,qu(t)):(Ql=0,$l=null,Ju(e,t,o,7));break;case 5:var s=null;switch(Xl.tag){case 26:s=Xl.memoizedState;case 5:case 27:var c=Xl;if(s?np(s):c.stateNode.complete){Ql=0,$l=null;var l=c.sibling;if(l!==null)Xl=l;else{var u=c.return;u===null?Xl=null:(Xl=u,Yu(u))}break b}}Ql=0,$l=null,Ju(e,t,o,5);break;case 6:Ql=0,$l=null,Ju(e,t,o,6);break;case 8:Fu(),iu=6;break a;default:throw Error(i(462))}}Gu();break}catch(t){Lu(e,t)}while(1);return $i=Qi=null,fe.H=r,fe.A=a,Jl=n,Xl===null?(Yl=null,Zl=0,oi(),iu):0}function Gu(){for(;Xl!==null&&!Re();)Ku(Xl)}function Ku(e){var t=zc(e.alternate,e,ru);e.memoizedProps=e.pendingProps,t===null?Yu(e):Xl=t}function qu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=wc(n,t,t.pendingProps,t.type,void 0,Zl);break;case 11:t=wc(n,t,t.pendingProps,t.type.render,t.ref,Zl);break;case 5:Lo(t);default:Jc(n,t),t=Xl=gi(t,ru),t=zc(n,t,ru)}e.memoizedProps=e.pendingProps,t===null?Yu(e):Xl=t}function Ju(e,t,n,r){$i=Qi=null,Lo(t),La=null,Ra=0;var i=t.return;try{if(lc(e,i,t,n,Zl)){iu=1,ic(e,Ci(n,e.current)),Xl=null;return}}catch(t){if(i!==null)throw Xl=i,t;iu=1,ic(e,Ci(n,e.current)),Xl=null;return}t.flags&32768?(Bi||r===1?e=!0:tu||Zl&536870912?e=!1:(eu=e=!0,(r===2||r===9||r===3||r===6)&&(r=co.current,r!==null&&r.tag===13&&(r.flags|=16384))),Xu(t,e)):Yu(t)}function Yu(e){var t=e;do{if(t.flags&32768){Xu(t,eu);return}e=t.return;var n=Kc(t.alternate,t,ru);if(n!==null){Xl=n;return}if(t=t.sibling,t!==null){Xl=t;return}Xl=t=e}while(t!==null);iu===0&&(iu=5)}function Xu(e,t){do{var n=qc(e.alternate,e);if(n!==null){n.flags&=32767,Xl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Xl=e;return}Xl=e=n}while(e!==null);iu=6,Xl=null}function Zu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do nd();while(vu!==0);if(Jl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ai,ut(e,n,o,s,c,l),e===Yl&&(Xl=Yl=null,Zl=0),bu=t,yu=e,xu=n,Su=o,Cu=a,wu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,dd(We,function(){return rd(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=fe.T,fe.T=null,a=pe.p,pe.p=2,s=Jl,Jl|=4;try{pl(e,t,n)}finally{Jl=s,pe.p=a,fe.T=r}}vu=1,Qu(),$u(),ed()}}function Qu(){if(vu===1){vu=0;var e=yu,t=bu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=fe.T,fe.T=null;var r=pe.p;pe.p=2;var i=Jl;Jl|=4;try{El(t,e);var a=$d,o=Nr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Mr(s.ownerDocument.documentElement,s)){if(c!==null&&Pr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=jr(s,h),v=jr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}yp=!!Qd,$d=Qd=null}finally{Jl=i,pe.p=r,fe.T=n}}e.current=t,vu=2}}function $u(){if(vu===2){vu=0;var e=yu,t=bu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=fe.T,fe.T=null;var r=pe.p;pe.p=2;var i=Jl;Jl|=4;try{ml(e,t.alternate,t)}finally{Jl=i,pe.p=r,fe.T=n}}vu=3}}function ed(){if(vu===4||vu===3){vu=0,ze();var e=yu,t=bu,n=xu,r=wu;t.subtreeFlags&10256||t.flags&10256?vu=5:(vu=0,bu=yu=null,td(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(_u=null),ht(n),t=t.stateNode,Xe&&typeof Xe.onCommitFiberRoot==`function`)try{Xe.onCommitFiberRoot(Ye,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=fe.T,i=pe.p,pe.p=2,fe.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{fe.T=t,pe.p=i}}xu&3&&nd(),vd(e),i=e.pendingLanes,n&261930&&i&42?e===Eu?Tu++:(Tu=0,Eu=e):Tu=0,yd(0,!1)}}function td(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ha(t)))}function nd(){return Qu(),$u(),ed(),rd()}function rd(){if(vu!==5)return!1;var e=yu,t=Su;Su=0;var n=ht(xu),r=fe.T,a=pe.p;try{pe.p=32>n?32:n,fe.T=null,n=Cu,Cu=null;var o=yu,s=xu;if(vu=0,bu=yu=null,xu=0,Jl&6)throw Error(i(331));var c=Jl;if(Jl|=4,Ul(o.current),Fl(o,o.current,s,n),Jl=c,yd(0,!1),Xe&&typeof Xe.onPostCommitFiberRoot==`function`)try{Xe.onPostCommitFiberRoot(Ye,o)}catch{}return!0}finally{pe.p=a,fe.T=r,td(e,t)}}function id(e,t,n){t=Ci(n,t),t=oc(e.stateNode,t,2),e=Ya(e,t,2),e!==null&&(lt(e,2),vd(e))}function ad(e,t,n){if(e.tag===3)id(e,e,n);else for(;t!==null;){if(t.tag===3){id(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(_u===null||!_u.has(r))){e=Ci(n,e),n=sc(2),r=Ya(t,n,2),r!==null&&(cc(n,r,t,e),lt(r,2),vd(r));break}}t=t.return}}function od(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ql;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(nu=!0,i.add(n),e=sd.bind(null,e,t,n),t.then(e,e))}function sd(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Yl===e&&(Zl&n)===n&&(iu===4||iu===3&&(Zl&62914560)===Zl&&300>Be()-pu?!(Jl&2)&&Iu(e,0):su|=n,lu===Zl&&(lu=0)),vd(e)}function cd(e,t){t===0&&(t=st()),e=li(e,t),e!==null&&(lt(e,t),vd(e))}function ld(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cd(e,n)}function ud(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),cd(e,n)}function dd(e,t){return Ie(e,t)}var fd=null,pd=null,md=!1,hd=!1,gd=!1,_d=0;function vd(e){e!==pd&&e.next===null&&(pd===null?fd=pd=e:pd=pd.next=e),hd=!0,md||(md=!0,Td())}function yd(e,t){if(!gd&&hd){gd=!0;do for(var n=!1,r=fd;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,wd(r,a))}else a=Zl,a=T(r,r===Yl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||at(r,a)||(n=!0,wd(r,a));r=r.next}while(n);gd=!1}}function bd(){xd()}function xd(){hd=md=!1;var e=0;_d!==0&&mee()&&(e=_d);for(var t=Be(),n=null,r=fd;r!==null;){var i=r.next,a=Sd(r,t);a===0?(r.next=null,n===null?fd=i:n.next=i,i===null&&(pd=n)):(n=r,(e!==0||a&3)&&(hd=!0)),r=i}vu!==0&&vu!==5||yd(e,!1),_d!==0&&(_d=0)}function Sd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=ot(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Yl,n=Zl,n=T(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Ql===2||Ql===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Le(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||at(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Le(r),ht(n)){case 2:case 8:n=Ue;break;case 32:n=We;break;case 268435456:n=Ke;break;default:n=We}return r=Cd.bind(null,e),n=Ie(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Le(r),e.callbackPriority=2,e.callbackNode=null,2}function Cd(e,t){if(vu!==0&&vu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(nd()&&e.callbackNode!==n)return null;var r=Zl;return r=T(e,e===Yl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Au(e,r,t),Sd(e,Be()),e.callbackNode!=null&&e.callbackNode===n?Cd.bind(null,e):null)}function wd(e,t){if(nd())return null;Au(e,t,!0)}function Td(){cf(function(){Jl&6?Ie(He,bd):xd()})}function Ed(){if(_d===0){var e=va;e===0&&(e=nt,nt<<=1,!(nt&261888)&&(nt=256)),_d=e}return _d}function Dd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:sn(``+e)}function Od(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function kd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Dd((i[bt]||null).action),o=r.submitter;o&&(t=(t=o[bt]||null)?Dd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new kn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(_d!==0){var e=o?Od(i,o):new FormData(i);Ms(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?Od(i,o):new FormData(i),Ms(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Ad=0;Ad<ei.length;Ad++){var jd=ei[Ad];ti(jd.toLowerCase(),`on`+(jd[0].toUpperCase()+jd.slice(1)))}ti(Kr,`onAnimationEnd`),ti(qr,`onAnimationIteration`),ti(Jr,`onAnimationStart`),ti(`dblclick`,`onDoubleClick`),ti(`focusin`,`onFocus`),ti(`focusout`,`onBlur`),ti(Yr,`onTransitionRun`),ti(Xr,`onTransitionStart`),ti(Zr,`onTransitionCancel`),ti(Qr,`onTransitionEnd`),Ft(`onMouseEnter`,[`mouseout`,`mouseover`]),Ft(`onMouseLeave`,[`mouseout`,`mouseover`]),Ft(`onPointerEnter`,[`pointerout`,`pointerover`]),Ft(`onPointerLeave`,[`pointerout`,`pointerover`]),Pt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Pt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Pt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Pt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Pt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Pt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Md=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Nd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Md));function Pd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ni(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ni(e)}i.currentTarget=null,a=c}}}}function Fd(e,t){var n=t[St];n===void 0&&(n=t[St]=new Set);var r=e+`__bubble`;n.has(r)||(zd(t,e,2,!1),n.add(r))}function Id(e,t,n){var r=0;t&&(r|=4),zd(n,e,r,t)}var Ld=`_reactListening`+Math.random().toString(36).slice(2);function Rd(e){if(!e[Ld]){e[Ld]=!0,Mt.forEach(function(t){t!==`selectionchange`&&(Nd.has(t)||Id(t,!1,e),Id(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ld]||(t[Ld]=!0,Id(`selectionchange`,!1,t))}}function zd(e,t,n,r){switch(Ep(t)){case 2:var i=bp;break;case 8:i=xp;break;default:i=Sp}n=i.bind(null,t,n,e),i=void 0,!vn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Bd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Dt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}hn(function(){var r=a,i=un(n),s=[];a:{var c=$r.get(e);if(c!==void 0){var l=kn,u=e;switch(e){case`keypress`:if(wn(n)===0)break a;case`keydown`:case`keyup`:l=qn;break;case`focusin`:u=`focus`,l=Rn;break;case`focusout`:u=`blur`,l=Rn;break;case`beforeblur`:case`afterblur`:l=Rn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=In;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Ln;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Yn;break;case Kr:case qr:case Jr:l=zn;break;case Qr:l=aee;break;case`scroll`:case`scrollend`:l=jn;break;case`wheel`:l=oee;break;case`copy`:case`cut`:case`paste`:l=Bn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Jn;break;case`toggle`:case`beforetoggle`:l=Xn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=gn(m,p),g!=null&&d.push(Vd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==ln&&(u=n.relatedTarget||n.fromElement)&&(Dt(u)||u[xt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?Dt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=In,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Jn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:kt(l),h=u==null?c:kt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Dt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Ud,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Wd(s,c,l,d,!1),u!==null&&f!==null&&Wd(s,f,u,d,!0)}}a:{if(c=r?kt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=gr;else if(ur(c))if(_r)v=Er;else{v=wr;var y=Cr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&an(r.elementType)&&(v=gr):v=Tr;if(v&&=v(e,r)){dr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Xt(c,`number`,c.value)}switch(y=r?kt(r):window,e){case`focusin`:(ur(y)||y.contentEditable===`true`)&&(Ir=y,Lr=r,Rr=null);break;case`focusout`:Rr=Lr=Ir=null;break;case`mousedown`:zr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:zr=!1,Br(s,n,i);break;case`selectionchange`:if(Fr)break;case`keydown`:case`keyup`:Br(s,n,i)}var b;if(Qn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else or?ir(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(tr&&n.locale!==`ko`&&(or||x!==`onCompositionStart`?x===`onCompositionEnd`&&or&&(b=Cn()):(bn=i,xn=`value`in bn?bn.value:bn.textContent,or=!0)),y=Hd(r,x),0<y.length&&(x=new Vn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=ar(n),b!==null&&(x.data=b)))),(b=er?sr(e,n):cr(e,n))&&(x=Hd(r,`onBeforeInput`),0<x.length&&(y=new Vn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),kd(s,e,r,n,i)}Pd(s,t)})}function Vd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Hd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=gn(e,n),i!=null&&r.unshift(Vd(e,i,a)),i=gn(e,t),i!=null&&r.push(Vd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Ud(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Wd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=gn(n,a),l!=null&&o.unshift(Vd(n,l,c))):i||(l=gn(n,a),l!=null&&o.push(Vd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var dee=/\r\n?/g,Gd=/\u0000|\uFFFD/g;function Kd(e){return(typeof e==`string`?e:``+e).replace(dee,`
`).replace(Gd,``)}function qd(e,t){return t=Kd(t),Kd(e)===t}function Jd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||en(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&en(e,``+r);break;case`className`:Bt(e,`class`,r);break;case`tabIndex`:Bt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Bt(e,n,r);break;case`style`:rn(e,r,o);break;case`data`:if(t!==`object`){Bt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=sn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Jd(e,t,`name`,a.name,a,null),Jd(e,t,`formEncType`,a.formEncType,a,null),Jd(e,t,`formMethod`,a.formMethod,a,null),Jd(e,t,`formTarget`,a.formTarget,a,null)):(Jd(e,t,`encType`,a.encType,a,null),Jd(e,t,`method`,a.method,a,null),Jd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=sn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=cn);break;case`onScroll`:r!=null&&Fd(`scroll`,e);break;case`onScrollEnd`:r!=null&&Fd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=sn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Fd(`beforetoggle`,e),Fd(`toggle`,e),zt(e,`popover`,r);break;case`xlinkActuate`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:zt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=iee.get(n)||n,zt(e,n,r))}}function Yd(e,t,n,r,a,o){switch(n){case`style`:rn(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?en(e,r):(typeof r==`number`||typeof r==`bigint`)&&en(e,``+r);break;case`onScroll`:r!=null&&Fd(`scroll`,e);break;case`onScrollEnd`:r!=null&&Fd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=cn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Nt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[bt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):zt(e,n,r)}}}function Xd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Fd(`error`,e),Fd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Jd(e,t,o,s,n,null)}}a&&Jd(e,t,`srcSet`,n.srcSet,n,null),r&&Jd(e,t,`src`,n.src,n,null);return;case`input`:Fd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Jd(e,t,r,d,n,null)}}Yt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Fd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Jd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Zt(e,!!r,n,!0):Zt(e,!!r,t,!1);return;case`textarea`:for(s in Fd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Jd(e,t,s,c,n,null)}$t(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Jd(e,t,l,r,n,null)}return;case`dialog`:Fd(`beforetoggle`,e),Fd(`toggle`,e),Fd(`cancel`,e),Fd(`close`,e);break;case`iframe`:case`object`:Fd(`load`,e);break;case`video`:case`audio`:for(r=0;r<Md.length;r++)Fd(Md[r],e);break;case`image`:Fd(`error`,e),Fd(`load`,e);break;case`details`:Fd(`toggle`,e);break;case`embed`:case`source`:case`link`:Fd(`error`,e),Fd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Jd(e,t,u,r,n,null)}return;default:if(an(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Yd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Jd(e,t,c,r,n,null))}function fee(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Jd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Jd(e,t,p,m,r,f)}}Jt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Jd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Jd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Zt(e,!!n,n?[]:``,!1):Zt(e,!!n,t,!0)):Zt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Jd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Jd(e,t,s,a,r,o)}Qt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Jd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Jd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Jd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Jd(e,t,u,p,r,m)}return;default:if(an(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Yd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Yd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Jd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Jd(e,t,f,p,r,m)}function Zd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function pee(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Zd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Zd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Qd=null,$d=null;function ef(e){return e.nodeType===9?e:e.ownerDocument}function tf(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function nf(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function rf(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var af=null;function mee(){var e=window.event;return e&&e.type===`popstate`?e===af?!1:(af=e,!0):(af=null,!1)}var of=typeof setTimeout==`function`?setTimeout:void 0,hee=typeof clearTimeout==`function`?clearTimeout:void 0,sf=typeof Promise==`function`?Promise:void 0,cf=typeof queueMicrotask==`function`?queueMicrotask:sf===void 0?of:function(e){return sf.resolve(null).then(e).catch(lf)};function lf(e){setTimeout(function(){throw e})}function uf(e){return e===`head`}function df(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Up(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)Tf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,Tf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Tt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&Tf(e.ownerDocument.body);n=i}while(n);Up(t)}function ff(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function pf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:pf(n),Et(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function mf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Tt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=bf(e.nextSibling),e===null)break}return null}function hf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=bf(e.nextSibling),e===null))return null;return e}function gf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=bf(e.nextSibling),e===null))return null;return e}function _f(e){return e.data===`$?`||e.data===`$~`}function vf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function yf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function bf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var xf=null;function Sf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return bf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function Cf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function wf(e,t,n){switch(t=ef(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function Tf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Et(e)}var Ef=new Map,Df=new Set;function Of(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var kf=pe.d;pe.d={f:Af,r:jf,D:Pf,C:Ff,L:If,m:Lf,X:zf,S:Rf,M:Bf};function Af(){var e=kf.f(),t=Pu();return e||t}function jf(e){var t=Ot(e);t!==null&&t.tag===5&&t.type===`form`?Ps(t):kf.r(e)}var Mf=typeof document>`u`?null:document;function Nf(e,t,n){var r=Mf;if(r&&typeof t==`string`&&t){var i=qt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Df.has(i)||(Df.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Xd(t,`link`,e),jt(t),r.head.appendChild(t)))}}function Pf(e){kf.D(e),Nf(`dns-prefetch`,e,null)}function Ff(e,t){kf.C(e,t),Nf(`preconnect`,e,t)}function If(e,t,n){kf.L(e,t,n);var r=Mf;if(r&&e&&t){var i=`link[rel="preload"][as="`+qt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+qt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+qt(n.imageSizes)+`"]`)):i+=`[href="`+qt(e)+`"]`;var a=i;switch(t){case`style`:a=Hf(e);break;case`script`:a=Kf(e)}Ef.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Ef.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Uf(a))||t===`script`&&r.querySelector(qf(a))||(t=r.createElement(`link`),Xd(t,`link`,e),jt(t),r.head.appendChild(t)))}}function Lf(e,t){kf.m(e,t);var n=Mf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+qt(r)+`"][href="`+qt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Kf(e)}if(!Ef.has(a)&&(e=m({rel:`modulepreload`,href:e},t),Ef.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(qf(a)))return}r=n.createElement(`link`),Xd(r,`link`,e),jt(r),n.head.appendChild(r)}}}function Rf(e,t,n){kf.S(e,t,n);var r=Mf;if(r&&e){var i=At(r).hoistableStyles,a=Hf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Uf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Ef.get(a))&&Xf(e,n);var c=o=r.createElement(`link`);jt(c),Xd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Yf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function zf(e,t){kf.X(e,t);var n=Mf;if(n&&e){var r=At(n).hoistableScripts,i=Kf(e),a=r.get(i);a||(a=n.querySelector(qf(i)),a||(e=m({src:e,async:!0},t),(t=Ef.get(i))&&Zf(e,t),a=n.createElement(`script`),jt(a),Xd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Bf(e,t){kf.M(e,t);var n=Mf;if(n&&e){var r=At(n).hoistableScripts,i=Kf(e),a=r.get(i);a||(a=n.querySelector(qf(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=Ef.get(i))&&Zf(e,t),a=n.createElement(`script`),jt(a),Xd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Vf(e,t,n,r){var a=(a=Se.current)?Of(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Hf(n.href),n=At(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Hf(n.href);var o=At(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Uf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Ef.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ef.set(e,n),o||Gf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Kf(n),n=At(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Hf(e){return`href="`+qt(e)+`"`}function Uf(e){return`link[rel="stylesheet"][`+e+`]`}function Wf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Gf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Xd(t,`link`,n),jt(t),e.head.appendChild(t))}function Kf(e){return`[src="`+qt(e)+`"]`}function qf(e){return`script[async]`+e}function Jf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+qt(n.href)+`"]`);if(r)return t.instance=r,jt(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),jt(r),Xd(r,`style`,a),Yf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Hf(n.href);var o=e.querySelector(Uf(a));if(o)return t.state.loading|=4,t.instance=o,jt(o),o;r=Wf(n),(a=Ef.get(a))&&Xf(r,a),o=(e.ownerDocument||e).createElement(`link`),jt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Xd(o,`link`,r),t.state.loading|=4,Yf(o,n.precedence,e),t.instance=o;case`script`:return o=Kf(n.src),(a=e.querySelector(qf(o)))?(t.instance=a,jt(a),a):(r=n,(a=Ef.get(o))&&(r=m({},n),Zf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),jt(a),Xd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Yf(r,n.precedence,e));return t.instance}function Yf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Xf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Qf=null;function $f(e,t,n){if(Qf===null){var r=new Map,i=Qf=new Map;i.set(n,r)}else i=Qf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Tt]||a[yt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function ep(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function tp(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function np(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function rp(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Hf(r.href),a=t.querySelector(Uf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=op.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,jt(a);return}a=t.ownerDocument||t,r=Wf(r),(i=Ef.get(i))&&Xf(r,i),a=a.createElement(`link`),jt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Xd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=op.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var ip=0;function ap(e,t){return e.stylesheets&&e.count===0&&cp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&ip===0&&(ip=62500*pee());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>ip?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function op(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)cp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var sp=null;function cp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,sp=new Map,t.forEach(lp,e),sp=null,op.call(e))}function lp(e,t){if(!(t.state.loading&4)){var n=sp.get(e);if(n)var r=n.get(null);else{n=new Map,sp.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=op.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var up={$$typeof:ee,Provider:null,Consumer:null,_currentValue:me,_currentValue2:me,_threadCount:0};function dp(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ct(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ct(0),this.hiddenUpdates=ct(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function fp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new dp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=pi(3,null,null,t),e.current=a,a.stateNode=e,t=ma(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ka(a),e}function pp(e){return e?(e=fi,e):fi}function mp(e,t,n,r,i,a){i=pp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ja(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ya(e,r,t),n!==null&&(ku(n,e,t),Xa(n,e,t))}function hp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function gp(e,t){hp(e,t),(e=e.alternate)&&hp(e,t)}function _p(e){if(e.tag===13||e.tag===31){var t=li(e,67108864);t!==null&&ku(t,e,67108864),gp(e,67108864)}}function vp(e){if(e.tag===13||e.tag===31){var t=Du();t=mt(t);var n=li(e,t);n!==null&&ku(n,e,t),gp(e,t)}}var yp=!0;function bp(e,t,n,r){var i=fe.T;fe.T=null;var a=pe.p;try{pe.p=2,Sp(e,t,n,r)}finally{pe.p=a,fe.T=i}}function xp(e,t,n,r){var i=fe.T;fe.T=null;var a=pe.p;try{pe.p=8,Sp(e,t,n,r)}finally{pe.p=a,fe.T=i}}function Sp(e,t,n,r){if(yp){var i=Cp(r);if(i===null)Bd(e,t,r,wp,n),Fp(e,r);else if(gee(i,e,t,n,r))r.stopPropagation();else if(Fp(e,r),t&4&&-1<Pp.indexOf(e)){for(;i!==null;){var a=Ot(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=w(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Qe(o);s.entanglements[1]|=c,o&=~c}vd(a),!(Jl&6)&&(hu=Be()+500,yd(0,!1))}}break;case 31:case 13:s=li(a,2),s!==null&&ku(s,a,2),Pu(),gp(a,2)}if(a=Cp(r),a===null&&Bd(e,t,r,wp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Bd(e,t,r,null,n)}}function Cp(e){return e=un(e),Tp(e)}var wp=null;function Tp(e){if(wp=null,e=Dt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wp=e,null}function Ep(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ve()){case He:return 2;case Ue:return 8;case We:case Ge:return 32;case Ke:return 268435456;default:return 32}default:return 32}}var Dp=!1,Op=null,kp=null,Ap=null,jp=new Map,Mp=new Map,Np=[],Pp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Fp(e,t){switch(e){case`focusin`:case`focusout`:Op=null;break;case`dragenter`:case`dragleave`:kp=null;break;case`mouseover`:case`mouseout`:Ap=null;break;case`pointerover`:case`pointerout`:jp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Mp.delete(t.pointerId)}}function Ip(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Ot(t),t!==null&&_p(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function gee(e,t,n,r,i){switch(t){case`focusin`:return Op=Ip(Op,e,t,n,r,i),!0;case`dragenter`:return kp=Ip(kp,e,t,n,r,i),!0;case`mouseover`:return Ap=Ip(Ap,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return jp.set(a,Ip(jp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Mp.set(a,Ip(Mp.get(a)||null,e,t,n,r,i)),!0}return!1}function Lp(e){var t=Dt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,_t(e.priority,function(){vp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,_t(e.priority,function(){vp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Rp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Cp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ln=r,n.target.dispatchEvent(r),ln=null}else return t=Ot(n),t!==null&&_p(t),e.blockedOn=n,!1;t.shift()}return!0}function zp(e,t,n){Rp(e)&&n.delete(t)}function _ee(){Dp=!1,Op!==null&&Rp(Op)&&(Op=null),kp!==null&&Rp(kp)&&(kp=null),Ap!==null&&Rp(Ap)&&(Ap=null),jp.forEach(zp),Mp.forEach(zp)}function Bp(e,n){e.blockedOn===n&&(e.blockedOn=null,Dp||(Dp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,_ee)))}var Vp=null;function Hp(e){Vp!==e&&(Vp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Vp===e&&(Vp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Tp(r||n)===null)continue;break}var a=Ot(n);a!==null&&(e.splice(t,3),t-=3,Ms(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Up(e){function t(t){return Bp(t,e)}Op!==null&&Bp(Op,e),kp!==null&&Bp(kp,e),Ap!==null&&Bp(Ap,e),jp.forEach(t),Mp.forEach(t);for(var n=0;n<Np.length;n++){var r=Np[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Np.length&&(n=Np[0],n.blockedOn===null);)Lp(n),n.blockedOn===null&&Np.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[bt]||null;if(typeof a==`function`)o||Hp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[bt]||null)s=o.formAction;else if(Tp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Hp(n)}}}function Wp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Gp(e){this._internalRoot=e}Kp.prototype.render=Gp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;mp(n,Du(),e,t,null,null)},Kp.prototype.unmount=Gp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;mp(e.current,2,null,e,null,null),Pu(),t[xt]=null}};function Kp(e){this._internalRoot=e}Kp.prototype.unstable_scheduleHydration=function(e){if(e){var t=gt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Np.length&&t!==0&&t<Np[n].priority;n++);Np.splice(n,0,e),n===0&&Lp(e)}};var qp=n.version;if(qp!==`19.2.5`)throw Error(i(527,qp,`19.2.5`));pe.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var vee={bundleType:0,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:fe,reconcilerVersion:`19.2.5`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Jp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jp.isDisabled&&Jp.supportsFiber)try{Ye=Jp.inject(vee),Xe=Jp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=tc,s=nc,c=rc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=fp(e,1,!1,null,null,n,r,null,o,s,c,Wp),e[xt]=t.current,Rd(e),new Gp(t)}})),_=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},y=new class extends v{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},b={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},x=new class{#e=b;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function S(e){setTimeout(e,0)}var ee=typeof window>`u`||`Deno`in globalThis;function te(){}function ne(e,t){return typeof e==`function`?e(t):e}function C(e){return typeof e==`number`&&e>=0&&e!==1/0}function re(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ie(e,t){return typeof e==`function`?e(t):e}function ae(e,t){return typeof e==`function`?e(t):e}function oe(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==ce(o,t.options))return!1}else if(!ue(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function se(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(le(t.options.mutationKey)!==le(a))return!1}else if(!ue(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ce(e,t){return(t?.queryKeyHashFn||le)(e)}function le(e){return JSON.stringify(e,(e,t)=>he(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ue(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>ue(e[n],t[n])):!1}var de=Object.prototype.hasOwnProperty;function fe(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=me(e)&&me(t);if(!r&&!(he(e)&&he(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:de.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=fe(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function pe(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function me(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function he(e){if(!ge(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!ge(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function ge(e){return Object.prototype.toString.call(e)===`[object Object]`}function _e(e){return new Promise(t=>{x.setTimeout(t,e)})}function ve(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:fe(e,t)}function ye(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function be(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var xe=Symbol();function Se(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===xe?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ce(e,t){return typeof e==`function`?e(...t):!!e}function we(e,t,n){let r=!1,i;return Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Te=(()=>{let e=()=>ee;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ee(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var De=S;function Oe(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=De,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var ke=Oe(),Ae=new class extends v{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function je(e){return Math.min(1e3*2**e,3e4)}function Me(e){return(e??`online`)===`online`?Ae.isOnline():!0}var Ne=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Pe(e){let t=!1,n=0,r,i=Ee(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Ne(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>y.isFocused()&&(e.networkMode===`always`||Ae.isOnline())&&e.canRun(),u=()=>Me(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Te.isServer()?0:3),o=e.retryDelay??je,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),_e(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Fe=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),C(this.gcTime)&&(this.#e=x.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Te.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(x.clearTimeout(this.#e),this.#e=void 0)}};function Ie(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{we(e,()=>t.signal,()=>n=!0)},u=Se(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?be:ye;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Re:Le,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Le(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Le(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Re(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var ze=class extends Fe{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=He(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=He(this.options);e.data!==void 0&&(this.setState(Ve(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=ve(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(te).catch(te):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>ae(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xe||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ie(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!re(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=Se(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Ie(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=Pe({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Ne&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Ne){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Be(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Ve(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),ke.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Be(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Me(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Ve(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function He(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Ue=class extends v{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Ee(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ge(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ke(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ke(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof ae(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!pe(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&qe(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||ae(this.options.enabled,this.#t)!==ae(t.enabled,this.#t)||ie(this.options.staleTime,this.#t)!==ie(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||ae(this.options.enabled,this.#t)!==ae(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return Ye(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(te)),t}#g(){this.#b();let e=ie(this.options.staleTime,this.#t);if(Te.isServer()||this.#r.isStale||!C(e))return;let t=re(this.#r.dataUpdatedAt,e)+1;this.#d=x.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(Te.isServer()||ae(this.options.enabled,this.#t)===!1||!C(this.#p)||this.#p===0)&&(this.#f=x.setInterval(()=>{(this.options.refetchIntervalInBackground||y.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(x.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(x.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Ge(e,t),o=i&&qe(e,n,t,r);(a||o)&&(l={...l,...Be(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=ve(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=ve(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Je(e,t),refetch:this.refetch,promise:this.#o,isEnabled:ae(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{i(this.#o=x.promise=Ee())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a();break}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!pe(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){ke.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function We(e,t){return ae(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&ae(t.retryOnMount,e)===!1)}function Ge(e,t){return We(e,t)||e.state.data!==void 0&&Ke(e,t,t.refetchOnMount)}function Ke(e,t,n){if(ae(t.enabled,e)!==!1&&ie(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Je(e,t)}return!1}function qe(e,t,n,r){return(e!==t||ae(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Je(e,n)}function Je(e,t){return ae(t.enabled,e)!==!1&&e.isStaleByTime(ie(t.staleTime,e))}function Ye(e,t){return!pe(e.getCurrentResult(),t)}var Xe=class extends Fe{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Ze(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Pe({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),ke.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ze(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Qe=class extends v{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Xe({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=$e(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=$e(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=$e(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=$e(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){ke.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>se(t,e))}findAll(e={}){return this.getAll().filter(t=>se(e,t))}notify(e){ke.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return ke.batch(()=>Promise.all(e.map(e=>e.continue().catch(te))))}};function $e(e){return e.options.scope?.id}var et=class extends v{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),pe(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&le(t.mutationKey)!==le(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??Ze();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){ke.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},tt=class extends v{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??ce(r,t),a=this.get(i);return a||(a=new ze({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){ke.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>oe(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>oe(e,t)):t}notify(e){ke.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ke.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ke.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},nt=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new tt,this.#t=e.mutationCache||new Qe,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=y.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Ae.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ie(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=ne(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ke.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;ke.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return ke.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=ke.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(te).catch(te)}invalidateQueries(e,t={}){return ke.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=ke.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(te)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(te)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(ie(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(te).catch(te)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(te).catch(te)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Ae.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(le(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{ue(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(le(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{ue(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=ce(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===xe&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},rt=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),it=o(((e,t)=>{t.exports=rt()})),w=c(d(),1),T=it(),at=w.createContext(void 0),ot=e=>{let t=w.useContext(at);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},st=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,T.jsx)(at.Provider,{value:e,children:t})),ct=w.createContext(!1),lt=()=>w.useContext(ct);ct.Provider;function ut(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var dt=w.createContext(ut()),ft=()=>w.useContext(dt),pt=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Ce(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},mt=e=>{w.useEffect(()=>{e.clearReset()},[e])},ht=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Ce(n,[e.error,r])),gt=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},_t=(e,t)=>e.isLoading&&e.isFetching&&!t,vt=(e,t)=>e?.suspense&&t.isPending,yt=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function bt(e,t,n){let r=lt(),i=ft(),a=ot(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,gt(o),pt(o,i,s),mt(i);let c=!a.getQueryCache().get(o.queryHash),[l]=w.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),d=!r&&e.subscribed!==!1;if(w.useSyncExternalStore(w.useCallback(e=>{let t=d?l.subscribe(ke.batchCalls(e)):te;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),w.useEffect(()=>{l.setOptions(o)},[o,l]),vt(o,u))throw yt(o,l,i);if(ht({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!Te.isServer()&&_t(u,r)&&(c?yt(o,l,i):s?.promise)?.catch(te).finally(()=>{l.updateResult()}),o.notifyOnChangeProps?u:l.trackResult(u)}function xt(e,t){return bt(e,Ue,t)}function St(e,t){let n=ot(t),[r]=w.useState(()=>new et(n,e));w.useEffect(()=>{r.setOptions(e)},[r,e]);let i=w.useSyncExternalStore(w.useCallback(e=>r.subscribe(ke.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=w.useCallback((e,t)=>{r.mutate(e,t).catch(te)},[r]);if(i.error&&Ce(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var eee=`modulepreload`,Ct=function(e){return`/`+e},wt={},Tt=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Ct(t,n),t in wt)return;wt[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:eee,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Et=`popstate`;function Dt(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function Ot(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return Nt(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:Pt(t)}return It(t,n,null,e)}function kt(e,t){if(e===!1||e==null)throw Error(t)}function At(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function jt(){return Math.random().toString(36).substring(2,10)}function Mt(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Nt(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?Ft(t):t,state:n,key:t&&t.key||r||jt(),unstable_mask:i}}function Pt({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function Ft(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function It(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=Dt(e)?e:Nt(h.location,e,t);n&&n(r,e),l=u()+1;let d=Mt(r,l),f=h.createHref(r.unstable_mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=Dt(e)?e:Nt(h.location,e,t);n&&n(r,e),l=u();let i=Mt(r,l),d=h.createHref(r.unstable_mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return Lt(e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(Et,d),c=e,()=>{i.removeEventListener(Et,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function Lt(e,t=!1){let n=`http://localhost`;typeof window<`u`&&(n=window.location.origin===`null`?window.location.href:window.location.origin),kt(n,`No window.location.(origin|href) available to create URL`);let r=typeof e==`string`?e:Pt(e);return r=r.replace(/ $/,`%20`),!t&&r.startsWith(`//`)&&(r=n+r),new URL(r,n)}function Rt(e,t,n=`/`){return tee(e,t,n,!1)}function tee(e,t,n,r){let i=en((typeof t==`string`?Ft(t):t).pathname||`/`,n);if(i==null)return null;let a=Bt(e);Ht(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=$t(i);o=Xt(a[e],t,r)}return o}function zt(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function Bt(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;kt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=ln([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(kt(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),Bt(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:Jt(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of Vt(e.path))a(e,t,!0,n)}),t}function Vt(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=Vt(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function Ht(e){e.sort((e,t)=>e.score===t.score?Yt(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var Ut=/^:[\w-]+$/,nee=3,Wt=2,Gt=1,Kt=10,ree=-2,qt=e=>e===`*`;function Jt(e,t){let n=e.split(`/`),r=n.length;return n.some(qt)&&(r+=ree),t&&(r+=Wt),n.filter(e=>!qt(e)).reduce((e,t)=>e+(Ut.test(t)?nee:t===``?Gt:Kt),r)}function Yt(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Xt(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=Zt({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=Zt({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:ln([a,u.pathname]),pathnameBase:dn(ln([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=ln([a,u.pathnameBase]))}return o}function Zt(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Qt(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Qt(e,t=!1,n=!0){At(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function $t(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return At(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function en(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var tn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function nn(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?Ft(e):e,a;return n?(n=cn(n),a=n.startsWith(`/`)?rn(n.substring(1),`/`):rn(n,t)):a=t,{pathname:a,search:fn(r),hash:pn(i)}}function rn(e,t){let n=un(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function an(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function iee(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function on(e){let t=iee(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function sn(e,t,n,r=!1){let i;typeof e==`string`?i=Ft(e):(i={...e},kt(!i.pathname||!i.pathname.includes(`?`),an(`?`,`pathname`,`search`,i)),kt(!i.pathname||!i.pathname.includes(`#`),an(`#`,`pathname`,`hash`,i)),kt(!i.search||!i.search.includes(`#`),an(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=nn(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var cn=e=>e.replace(/\/\/+/g,`/`),ln=e=>cn(e.join(`/`)),un=e=>e.replace(/\/+$/,``),dn=e=>un(e).replace(/^\/*/,`/`),fn=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,pn=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,mn=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function hn(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function gn(e){return ln(e.map(e=>e.route.path).filter(Boolean))||`/`}var _n=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function vn(e,t){let n=e;if(typeof n!=`string`||!tn.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(_n)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=en(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{At(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var yn=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(yn);var bn=[`GET`,...yn];new Set(bn);var xn=w.createContext(null);xn.displayName=`DataRouter`;var Sn=w.createContext(null);Sn.displayName=`DataRouterState`;var Cn=w.createContext(!1);function wn(){return w.useContext(Cn)}var Tn=w.createContext({isTransitioning:!1});Tn.displayName=`ViewTransition`;var En=w.createContext(new Map);En.displayName=`Fetchers`;var Dn=w.createContext(null);Dn.displayName=`Await`;var On=w.createContext(null);On.displayName=`Navigation`;var kn=w.createContext(null);kn.displayName=`Location`;var An=w.createContext({outlet:null,matches:[],isDataRoute:!1});An.displayName=`Route`;var jn=w.createContext(null);jn.displayName=`RouteError`;var Mn=`REACT_ROUTER_ERROR`,Nn=`REDIRECT`,Pn=`ROUTE_ERROR_RESPONSE`;function Fn(e){if(e.startsWith(`${Mn}:${Nn}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function In(e){if(e.startsWith(`${Mn}:${Pn}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new mn(t.status,t.statusText,t.data)}catch{}}function Ln(e,{relative:t}={}){kt(Rn(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=w.useContext(On),{hash:i,pathname:a,search:o}=qn(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:ln([n,a])),r.createHref({pathname:s,search:o,hash:i})}function Rn(){return w.useContext(kn)!=null}function zn(){return kt(Rn(),`useLocation() may be used only in the context of a <Router> component.`),w.useContext(kn).location}var Bn=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Vn(e){w.useContext(On).static||w.useLayoutEffect(e)}function Hn(){let{isDataRoute:e}=w.useContext(An);return e?ur():Un()}function Un(){kt(Rn(),`useNavigate() may be used only in the context of a <Router> component.`);let e=w.useContext(xn),{basename:t,navigator:n}=w.useContext(On),{matches:r}=w.useContext(An),{pathname:i}=zn(),a=JSON.stringify(on(r)),o=w.useRef(!1);return Vn(()=>{o.current=!0}),w.useCallback((r,s={})=>{if(At(o.current,Bn),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=sn(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:ln([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var Wn=w.createContext(null);function Gn(e){let t=w.useContext(An).outlet;return w.useMemo(()=>t&&w.createElement(Wn.Provider,{value:e},t),[t,e])}function Kn(){let{matches:e}=w.useContext(An);return e[e.length-1]?.params??{}}function qn(e,{relative:t}={}){let{matches:n}=w.useContext(An),{pathname:r}=zn(),i=JSON.stringify(on(n));return w.useMemo(()=>sn(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Jn(e,t){return Yn(e,t)}function Yn(e,t,n){kt(Rn(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=w.useContext(On),{matches:i}=w.useContext(An),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;fr(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=zn(),d;if(t){let e=typeof t==`string`?Ft(t):t;kt(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=Rt(e,{pathname:p});At(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),At(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=er(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:ln([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:ln([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?w.createElement(kn.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,unstable_mask:void 0,...d},navigationType:`POP`}},h):h}function aee(){let e=lr(),t=hn(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=w.createElement(w.Fragment,null,w.createElement(`p`,null,`💿 Hey developer 👋`),w.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,w.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,w.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),w.createElement(w.Fragment,null,w.createElement(`h2`,null,`Unexpected Application Error!`),w.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?w.createElement(`pre`,{style:i},n):null,o)}var oee=w.createElement(aee,null),Xn=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=In(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:w.createElement(An.Provider,{value:this.props.routeContext},w.createElement(jn.Provider,{value:e,children:this.props.component}));return this.context?w.createElement(Qn,{error:e},t):t}};Xn.contextType=Cn;var Zn=new WeakMap;function Qn({children:e,error:t}){let{basename:n}=w.useContext(On);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Fn(t.digest);if(e){let r=Zn.get(t);if(r)throw r;let i=vn(e.location,n);if(_n&&!Zn.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Zn.set(t,n),n}return w.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function $n({routeContext:e,match:t,children:n}){let r=w.useContext(xn);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(An.Provider,{value:e},n)}function er(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);kt(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:gn(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||oee,o&&(s<0&&c===0?(fr(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?w.createElement(n.route.Component,null):n.route.element?n.route.element:e,w.createElement($n,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?w.createElement(Xn,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function tr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function nr(e){let t=w.useContext(xn);return kt(t,tr(e)),t}function rr(e){let t=w.useContext(Sn);return kt(t,tr(e)),t}function ir(e){let t=w.useContext(An);return kt(t,tr(e)),t}function ar(e){let t=ir(e),n=t.matches[t.matches.length-1];return kt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function or(){return ar(`useRouteId`)}function sr(){return rr(`useNavigation`).navigation}function cr(){let{matches:e,loaderData:t}=rr(`useMatches`);return w.useMemo(()=>e.map(e=>zt(e,t)),[e,t])}function lr(){let e=w.useContext(jn),t=rr(`useRouteError`),n=ar(`useRouteError`);return e===void 0?t.errors?.[n]:e}function ur(){let{router:e}=nr(`useNavigate`),t=ar(`useNavigate`),n=w.useRef(!1);return Vn(()=>{n.current=!0}),w.useCallback(async(r,i={})=>{At(n.current,Bn),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var dr={};function fr(e,t,n){!t&&!dr[e]&&(dr[e]=!0,At(!1,n))}w.memo(pr);function pr({routes:e,future:t,state:n,isStatic:r,onError:i}){return Yn(e,void 0,{state:n,isStatic:r,onError:i,future:t})}function mr({to:e,replace:t,state:n,relative:r}){kt(Rn(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i}=w.useContext(On);At(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:a}=w.useContext(An),{pathname:o}=zn(),s=Hn(),c=sn(e,on(a),o,r===`path`),l=JSON.stringify(c);return w.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function hr(e){return Gn(e.context)}function gr(e){kt(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function _r({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,unstable_useTransitions:o}){kt(!Rn(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=w.useMemo(()=>({basename:s,navigator:i,static:a,unstable_useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=Ft(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,unstable_mask:m}=n,h=w.useMemo(()=>{let e=en(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,unstable_mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return At(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:w.createElement(On.Provider,{value:c},w.createElement(kn.Provider,{children:t,value:h}))}function vr({children:e,location:t}){return Jn(yr(e),t)}w.Component;function yr(e,t=[]){let n=[];return w.Children.forEach(e,(e,r)=>{if(!w.isValidElement(e))return;let i=[...t,r];if(e.type===w.Fragment){n.push.apply(n,yr(e.props.children,i));return}kt(e.type===gr,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),kt(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=yr(e.props.children,i)),n.push(a)}),n}var br=`get`,xr=`application/x-www-form-urlencoded`;function Sr(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Cr(e){return Sr(e)&&e.tagName.toLowerCase()===`button`}function wr(e){return Sr(e)&&e.tagName.toLowerCase()===`form`}function Tr(e){return Sr(e)&&e.tagName.toLowerCase()===`input`}function Er(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Dr(e,t){return e.button===0&&(!t||t===`_self`)&&!Er(e)}function Or(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function kr(e,t){let n=Or(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var Ar=null;function jr(){if(Ar===null)try{new FormData(document.createElement(`form`),0),Ar=!1}catch{Ar=!0}return Ar}var Mr=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Nr(e){return e!=null&&!Mr.has(e)?(At(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xr}"`),null):e}function Pr(e,t){let n,r,i,a,o;if(wr(e)){let o=e.getAttribute(`action`);r=o?en(o,t):null,n=e.getAttribute(`method`)||br,i=Nr(e.getAttribute(`enctype`))||xr,a=new FormData(e)}else if(Cr(e)||Tr(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?en(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||br,i=Nr(e.getAttribute(`formenctype`))||Nr(o.getAttribute(`enctype`))||xr,a=new FormData(o,e),!jr()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(Sr(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=br,r=null,i=xr,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Fr={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},Ir=/[&><\u2028\u2029]/g;function Lr(e){return e.replace(Ir,e=>Fr[e])}function Rr(e,t){if(e===!1||e==null)throw Error(t)}function zr(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&en(i.pathname,t)===`/`?i.pathname=`${un(t)}/_root.${r}`:i.pathname=`${un(i.pathname)}.${r}`,i}async function Br(e,t){if(e.id in t)return t[e.id];try{let n=await Tt(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Vr(e){return e!=null&&typeof e.page==`string`}function Hr(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function Ur(e,t,n){return Jr((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Br(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Hr).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Wr(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function Gr(e,t,{includeHydrateFallback:n}={}){return Kr(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function Kr(e){return[...new Set(e)]}function qr(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Jr(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!Vr(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(qr(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function Yr(){let e=w.useContext(xn);return Rr(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function Xr(){let e=w.useContext(Sn);return Rr(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var Zr=w.createContext(void 0);Zr.displayName=`FrameworkContext`;function Qr(){let e=w.useContext(Zr);return Rr(e,`You must render this element inside a <HydratedRouter> element`),e}function $r(e,t){let n=w.useContext(Zr),[r,i]=w.useState(!1),[a,o]=w.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=w.useRef(null);w.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),w.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:ei(s,p),onBlur:ei(c,m),onMouseEnter:ei(l,p),onMouseLeave:ei(u,m),onTouchStart:ei(d,p)}]:[a,f,{}]:[!1,f,{}]}function ei(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function ti({page:e,...t}){let n=wn(),{router:r}=Yr(),i=w.useMemo(()=>Rt(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?w.createElement(ri,{page:e,matches:i,...t}):w.createElement(ii,{page:e,matches:i,...t}):null}function ni(e){let{manifest:t,routeModules:n}=Qr(),[r,i]=w.useState([]);return w.useEffect(()=>{let r=!1;return Ur(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function ri({page:e,matches:t,...n}){let r=zn(),{future:i}=Qr(),{basename:a}=Yr(),o=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=zr(e,a,i.unstable_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.unstable_trailingSlashAwareDataRequests,e,r,t]);return w.createElement(w.Fragment,null,o.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function ii({page:e,matches:t,...n}){let r=zn(),{future:i,manifest:a,routeModules:o}=Qr(),{basename:s}=Yr(),{loaderData:c,matches:l}=Xr(),u=w.useMemo(()=>Wr(e,t,l,a,r,`data`),[e,t,l,a,r]),d=w.useMemo(()=>Wr(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=zr(e,s,i.unstable_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.unstable_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=w.useMemo(()=>Gr(d,a),[d,a]),m=ni(d);return w.createElement(w.Fragment,null,f.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>w.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>w.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function ai(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}w.Component;var oi=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{oi&&(window.__reactRouterVersion=`7.14.2`)}catch{}function si({basename:e,children:t,unstable_useTransitions:n,window:r}){let i=w.useRef();i.current??=Ot({window:r,v5Compat:!0});let a=i.current,[o,s]=w.useState({action:a.action,location:a.location}),c=w.useCallback(e=>{n===!1?s(e):w.startTransition(()=>s(e))},[n]);return w.useLayoutEffect(()=>a.listen(c),[a,c]),w.createElement(_r,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,unstable_useTransitions:n})}function ci({basename:e,children:t,history:n,unstable_useTransitions:r}){let[i,a]=w.useState({action:n.action,location:n.location}),o=w.useCallback(e=>{r===!1?a(e):w.startTransition(()=>a(e))},[r]);return w.useLayoutEffect(()=>n.listen(o),[n,o]),w.createElement(_r,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,unstable_useTransitions:r})}ci.displayName=`unstable_HistoryRouter`;var li=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ui=w.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,unstable_mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,unstable_useTransitions:_}=w.useContext(On),v=typeof l==`string`&&li.test(l),y=vn(l,h);l=y.to;let b=Ln(l,{relative:r}),x=zn(),S=null;if(o){let e=sn(o,[],x.unstable_mask?x.unstable_mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:ln([h,e.pathname])),S=g.createHref(e)}let[ee,te,ne]=$r(n,p),C=gi(l,{replace:a,unstable_mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,unstable_defaultShouldRevalidate:f,unstable_useTransitions:_});function re(t){e&&e(t),t.defaultPrevented||C(t)}let ie=!(y.isExternal||i),ae=w.createElement(`a`,{...p,...ne,href:(ie?S:void 0)||y.absoluteURL||b,onClick:ie?re:e,ref:ai(m,te),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return ee&&!v?w.createElement(w.Fragment,null,ae,w.createElement(ti,{page:b})):ae});ui.displayName=`Link`;var di=w.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=qn(a,{relative:c.relative}),d=zn(),f=w.useContext(Sn),{navigator:p,basename:m}=w.useContext(On),h=f!=null&&Di(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=en(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),S={isActive:b,isPending:x,isTransitioning:h},ee=b?e:void 0,te;te=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let ne=typeof i==`function`?i(S):i;return w.createElement(ui,{...c,"aria-current":ee,className:te,ref:l,style:ne,to:a,viewTransition:o},typeof s==`function`?s(S):s)});di.displayName=`NavLink`;var fi=w.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=br,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m)=>{let{unstable_useTransitions:h}=w.useContext(On),g=bi(),_=xi(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&li.test(s);return w.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f});h&&n!==!1?w.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});fi.displayName=`Form`;function see({getKey:e,storageKey:t,...n}){let r=w.useContext(Zr),{basename:i}=w.useContext(On),a=zn(),o=cr();Ti({getKey:e,storageKey:t});let s=w.useMemo(()=>{if(!r||!e)return null;let t=wi(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return w.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${Lr(JSON.stringify(t||Si))}, ${Lr(JSON.stringify(s))})`}})}see.displayName=`ScrollRestoration`;function pi(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function mi(e){let t=w.useContext(xn);return kt(t,pi(e)),t}function hi(e){let t=w.useContext(Sn);return kt(t,pi(e)),t}function gi(e,{target:t,replace:n,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c,unstable_useTransitions:l}={}){let u=Hn(),d=zn(),f=qn(e,{relative:o});return w.useCallback(p=>{if(Dr(p,t)){p.preventDefault();let t=n===void 0?Pt(d)===Pt(f):n,m=()=>u(e,{replace:t,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c});l?w.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function _i(e){At(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=w.useRef(Or(e)),n=w.useRef(!1),r=zn(),i=w.useMemo(()=>kr(r.search,n.current?null:t.current),[r.search]),a=Hn();return[i,w.useCallback((e,t)=>{let r=Or(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var vi=0,yi=()=>`__${String(++vi)}__`;function bi(){let{router:e}=mi(`useSubmit`),{basename:t}=w.useContext(On),n=or(),r=e.fetch,i=e.navigate;return w.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Pr(e,t);a.navigate===!1?await r(a.fetcherKey||yi(),n,a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function xi(e,{relative:t}={}){let{basename:n}=w.useContext(On),r=w.useContext(An);kt(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...qn(e||`.`,{relative:t})},o=zn();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:ln([n,a.pathname])),Pt(a)}var Si=`react-router-scroll-positions`,Ci={};function wi(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:en(e.pathname,n)||e.pathname},t)),i??=e.key,i}function Ti({getKey:e,storageKey:t}={}){let{router:n}=mi(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=hi(`useScrollRestoration`),{basename:a}=w.useContext(On),o=zn(),s=cr(),c=sr();w.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),Ei(w.useCallback(()=>{if(c.state===`idle`){let t=wi(o,s,a,e);Ci[t]=window.scrollY}try{sessionStorage.setItem(t||Si,JSON.stringify(Ci))}catch(e){At(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(w.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||Si);e&&(Ci=JSON.parse(e))}catch{}},[t]),w.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(Ci,()=>window.scrollY,e?(t,n)=>wi(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),w.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{At(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function Ei(e,t){let{capture:n}=t||{};w.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function Di(e,{relative:t}={}){let n=w.useContext(Tn);kt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=mi(`useViewTransitionState`),i=qn(e,{relative:t});if(!n.isTransitioning)return!1;let a=en(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=en(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Zt(i.pathname,o)!=null||Zt(i.pathname,a)!=null}var Oi=c(_(),1),ki=new nt({defaultOptions:{queries:{staleTime:3e4,refetchOnWindowFocus:!0,retry:1}}}),Ai=(0,w.createContext)({scanProgress:null,isScanRunning:!1});function ji(){return(0,w.useContext)(Ai)}function Mi({children:e}){let t=ot(),[n,r]=(0,w.useState)(null),[i,a]=(0,w.useState)(!1),o=(0,w.useRef)(null),s=(0,w.useRef)(void 0),c=(0,w.useCallback)(()=>{o.current&&o.current.close();let e=new EventSource(`/api/events`);o.current=e,e.addEventListener(`scan_started`,()=>{a(!0),t.invalidateQueries({queryKey:[`scans`]})}),e.addEventListener(`scan_progress`,e=>{try{let t=JSON.parse(e.data);r(t.data??t)}catch{}}),e.addEventListener(`scan_completed`,()=>{r(null),a(!1),t.invalidateQueries({queryKey:[`scans`]}),t.invalidateQueries({queryKey:[`overview`]}),t.invalidateQueries({queryKey:[`findings`]})}),e.addEventListener(`scan_failed`,()=>{r(null),a(!1),t.invalidateQueries({queryKey:[`scans`]})}),e.addEventListener(`config_changed`,()=>{t.invalidateQueries({queryKey:[`config`]}),t.invalidateQueries({queryKey:[`rules`]})}),e.onerror=()=>{e.close(),o.current=null,s.current=setTimeout(c,3e3)}},[t]);return(0,w.useEffect)(()=>(c(),()=>{o.current&&o.current.close(),s.current&&clearTimeout(s.current)}),[c]),(0,T.jsx)(Ai.Provider,{value:{scanProgress:n,isScanRunning:i},children:e})}var Ni=`nyx:`;function Pi(e){return`${Ni}${e}`}function Fi(e,t){try{let n=window.localStorage.getItem(Pi(e));return n===null?t:JSON.parse(n)}catch{return t}}function Ii(e,t){try{window.localStorage.setItem(Pi(e),JSON.stringify(t))}catch{}}function Li(e,t){let[n,r]=(0,w.useState)(()=>Fi(e,t)),i=(0,w.useRef)(!1);return(0,w.useEffect)(()=>{if(!i.current){i.current=!0;return}Ii(e,n)},[e,n]),[n,(0,w.useCallback)(e=>{r(t=>typeof e==`function`?e(t):e)},[])]}var Ri=(0,w.createContext)(null);function zi(){return window.matchMedia?.(`(prefers-color-scheme: dark)`).matches??!1}function Bi(e){return e===`system`?zi()?`dark`:`light`:e}function Vi({children:e}){let[t,n]=Li(`theme`,`system`),r=(0,w.useMemo)(()=>Bi(t),[t]);(0,w.useEffect)(()=>{document.documentElement.setAttribute(`data-theme`,r)},[r]),(0,w.useEffect)(()=>{if(t!==`system`)return;let e=window.matchMedia?.(`(prefers-color-scheme: dark)`);if(!e)return;let n=()=>{document.documentElement.setAttribute(`data-theme`,zi()?`dark`:`light`)};return e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[t]);let i=(0,w.useCallback)(()=>{n(e=>e===`hc-light`?`hc-dark`:e===`hc-dark`?`hc-light`:e===`light`?`dark`:e===`dark`?`system`:`light`)},[n]),a=(0,w.useMemo)(()=>({preference:t,resolved:r,setPreference:n,cycle:i}),[t,r,n,i]);return(0,T.jsx)(Ri.Provider,{value:a,children:e})}function Hi(){let e=(0,w.useContext)(Ri);if(!e)throw Error(`useTheme must be used inside <ThemeProvider>`);return e}var Ui=(0,w.createContext)(null),Wi={info:4e3,success:4e3,warning:6e3,error:8e3};function Gi({children:e}){let[t,n]=(0,w.useState)([]),r=(0,w.useRef)(1),i=(0,w.useRef)(new Map),a=(0,w.useCallback)(e=>{n(t=>t.filter(t=>t.id!==e));let t=i.current.get(e);t!==void 0&&(window.clearTimeout(t),i.current.delete(e))},[]),o=(0,w.useCallback)(({tone:e,title:t,message:o,durationMs:s})=>{let c=r.current++,l=s??Wi[e];if(n(n=>[...n,{id:c,tone:e,title:t,message:o,durationMs:l}]),l>0){let e=window.setTimeout(()=>a(c),l);i.current.set(c,e)}return c},[a]),s=(0,w.useMemo)(()=>({toasts:t,push:o,dismiss:a,info:(e,t)=>o({tone:`info`,message:e,title:t}),success:(e,t)=>o({tone:`success`,message:e,title:t}),warning:(e,t)=>o({tone:`warning`,message:e,title:t}),error:(e,t)=>o({tone:`error`,message:e,title:t})}),[t,o,a]);return(0,T.jsx)(Ui.Provider,{value:s,children:e})}function Ki(){let e=(0,w.useContext)(Ui);if(!e)throw Error(`useToast must be used inside <ToastProvider>`);return e}function qi({className:e,size:t=18}){return{className:e,width:t,height:t,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`}}function Ji({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`rect`,{x:`2`,y:`2`,width:`5.5`,height:`5.5`,rx:`1`}),(0,T.jsx)(`rect`,{x:`10.5`,y:`2`,width:`5.5`,height:`5.5`,rx:`1`}),(0,T.jsx)(`rect`,{x:`2`,y:`10.5`,width:`5.5`,height:`5.5`,rx:`1`}),(0,T.jsx)(`rect`,{x:`10.5`,y:`10.5`,width:`5.5`,height:`5.5`,rx:`1`})]})}function Yi({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`path`,{d:`M9 2L2 6v5c0 3.5 3 6 7 7 4-1 7-3.5 7-7V6L9 2z`}),(0,T.jsx)(`path`,{d:`M9 6v4`}),(0,T.jsx)(`circle`,{cx:`9`,cy:`12.5`,r:`0.5`,fill:`currentColor`,stroke:`none`})]})}function Xi({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`path`,{d:`M14.5 9A5.5 5.5 0 1 1 9 3.5`}),(0,T.jsx)(`polyline`,{points:`9 5 9 9 12 11`})]})}function Zi({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`path`,{d:`M4 5h10`}),(0,T.jsx)(`path`,{d:`M4 9h10`}),(0,T.jsx)(`path`,{d:`M4 13h10`}),(0,T.jsx)(`polyline`,{points:`2 4.5 2.8 5.5 4 4`}),(0,T.jsx)(`polyline`,{points:`2 8.5 2.8 9.5 4 8`}),(0,T.jsx)(`polyline`,{points:`2 12.5 2.8 13.5 4 12`})]})}function Qi({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`path`,{d:`M10 2L4 3v9l6 4 6-4V3l-6-1z`}),(0,T.jsx)(`path`,{d:`M10 6v4`}),(0,T.jsx)(`circle`,{cx:`10`,cy:`12.5`,r:`0.5`,fill:`currentColor`,stroke:`none`})]})}function $i({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`line`,{x1:`3`,y1:`5`,x2:`15`,y2:`5`}),(0,T.jsx)(`line`,{x1:`3`,y1:`9`,x2:`15`,y2:`9`}),(0,T.jsx)(`line`,{x1:`3`,y1:`13`,x2:`15`,y2:`13`}),(0,T.jsx)(`circle`,{cx:`6`,cy:`5`,r:`1.5`,fill:`var(--bg-secondary)`}),(0,T.jsx)(`circle`,{cx:`11`,cy:`9`,r:`1.5`,fill:`var(--bg-secondary)`}),(0,T.jsx)(`circle`,{cx:`7`,cy:`13`,r:`1.5`,fill:`var(--bg-secondary)`})]})}function ea({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`path`,{d:`M3 3v12h12`}),(0,T.jsx)(`path`,{d:`M7 3v4h4V3`}),(0,T.jsx)(`path`,{d:`M7 11v4h4v-4`}),(0,T.jsx)(`path`,{d:`M11 7h4v4h-4`})]})}function ta({className:e,size:t=18}){return(0,T.jsxs)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 18 18`,children:[(0,T.jsx)(`polyline`,{points:`4 5 2 5 2 16 13 16 13 14`}),(0,T.jsx)(`polyline`,{points:`6 2 16 2 16 12 6 12 6 2`}),(0,T.jsx)(`path`,{d:`M9 5.5h4`}),(0,T.jsx)(`path`,{d:`M9 8h4`})]})}function na({className:e,size:t=14}){return(0,T.jsx)(`svg`,{className:e,width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,T.jsx)(`path`,{d:`M2 3.5C2 2.95 2.45 2.5 3 2.5h2.5l1.5 1.5H11c.55 0 1 .45 1 1v5.5c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V3.5z`})})}function ra({className:e,size:t=14}){return(0,T.jsxs)(`svg`,{className:e,width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,T.jsx)(`path`,{d:`M1.5 7.8V2.5c0-.6.4-1 1-1h5.3L13 6.7l-5.3 5.3L1.5 7.8z`}),(0,T.jsx)(`circle`,{cx:`5`,cy:`5`,r:`0.8`,fill:`currentColor`,stroke:`none`})]})}function ia({className:e,size:t=14}){return(0,T.jsx)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 14 14`,children:(0,T.jsx)(`path`,{d:`M3 3l8 8M11 3l-8 8`})})}function aa({className:e,size:t=16}){return(0,T.jsx)(`svg`,{...qi({className:e,size:t}),viewBox:`0 0 16 16`,children:(0,T.jsx)(`path`,{d:`M5 3a2 2 0 1 0 0 4h6a2 2 0 1 0 0-4 2 2 0 0 0-2 2v6a2 2 0 1 0 2 2 2 2 0 0 0-2-2H5a2 2 0 1 0 0 4 2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z`})})}function oa(){let{toasts:e,dismiss:t}=Ki();return e.length===0?null:(0,T.jsx)(`div`,{className:`toaster`,role:`region`,"aria-label":`Notifications`,"aria-live":`polite`,children:e.map(e=>(0,T.jsxs)(`div`,{className:`toast toast-${e.tone}`,role:e.tone===`error`||e.tone===`warning`?`alert`:`status`,children:[(0,T.jsxs)(`div`,{className:`toast-body`,children:[e.title&&(0,T.jsx)(`div`,{className:`toast-title`,children:e.title}),(0,T.jsx)(`div`,{className:`toast-message`,children:e.message})]}),(0,T.jsx)(`button`,{type:`button`,className:`toast-close`,"aria-label":`Dismiss notification`,onClick:()=>t(e.id),children:(0,T.jsx)(ia,{})})]},e.id))})}var sa=`/api`,ca=`X-Nyx-CSRF`,la=null,ua=class extends Error{code;detail;constructor(e,t,n,r){super(t),this.name=`ApiError`,this.status=e,this.code=n??`http_${e}`,this.detail=r}status;isNetwork(){return this.status===0}};async function da(e){let t=await e.text().catch(()=>``);if(t)try{let n=JSON.parse(t),r=typeof n.error==`string`&&n.error.length>0?n.error:e.statusText||`HTTP ${e.status}`,i=typeof n.code==`string`?n.code:void 0;return new ua(e.status,r,i,n.detail)}catch{return new ua(e.status,t)}return new ua(e.status,e.statusText||`HTTP ${e.status}`)}async function fa(){return la||=fetch(`${sa}/session`).then(async e=>{if(!e.ok)throw await da(e);let t=await e.text(),n=t?JSON.parse(t):{};if(typeof n.csrf_token!=`string`||n.csrf_token.length===0)throw new ua(500,`Missing CSRF token`,`missing_csrf_token`);return n.csrf_token}).catch(e=>{throw la=null,e}),la}function pa(e){let t=(e||`GET`).toUpperCase();return t===`POST`||t===`PUT`||t===`PATCH`||t===`DELETE`}async function ma(e,t={}){let{headers:n,...r}=t,i=`${sa}${e}`,a={...n};pa(r.method)&&(a[ca]=await fa()),t.body&&(a[`Content-Type`]=`application/json`);let o;try{o=await fetch(i,{...r,headers:a})}catch(e){throw e instanceof DOMException&&e.name===`AbortError`?e:new ua(0,e instanceof Error?e.message:`Network request failed`,`network`)}if(!o.ok)throw await da(o);let s=await o.text();if(s)return JSON.parse(s)}function ha(e,t){return ma(e,{signal:t})}function ga(e,t,n){return ma(e,{method:`POST`,body:t==null?void 0:JSON.stringify(t),signal:n})}function _a(e,t,n){return ma(e,{method:`PUT`,body:t==null?void 0:JSON.stringify(t),signal:n})}function va(e,t,n){return ma(e,{method:`DELETE`,body:t==null?void 0:JSON.stringify(t),signal:n})}function ya(){return xt({queryKey:[`health`],queryFn:({signal:e})=>ha(`/health`,e),staleTime:6e4})}var ba=[{id:`overview`,label:`Overview`,path:`/`,Icon:Ji,group:`primary`},{id:`findings`,label:`Findings`,path:`/findings`,Icon:Yi,group:`primary`},{id:`scans`,label:`Scans`,path:`/scans`,Icon:Xi,group:`primary`},{id:`rules`,label:`Rules`,path:`/rules`,Icon:Zi,group:`primary`},{id:`triage`,label:`Triage`,path:`/triage`,Icon:Qi,group:`primary`},{id:`explorer`,label:`Explorer`,path:`/explorer`,Icon:ea,group:`secondary`},{id:`debug`,label:`Debug`,path:`/debug`,Icon:ta,group:`secondary`},{id:`config`,label:`Config`,path:`/config`,Icon:$i,group:`footer`}];function xa({isActive:e}){return`nav-link${e?` active`:``}`}function cee(){let{data:e}=ya(),{isScanRunning:t}=ji(),n=ba.filter(e=>e.group===`primary`),r=ba.filter(e=>e.group===`secondary`),i=ba.filter(e=>e.group===`footer`);return(0,T.jsxs)(`aside`,{className:`sidebar`,children:[(0,T.jsxs)(`div`,{className:`sidebar-header`,children:[(0,T.jsx)(`span`,{className:`logo`,children:`nyx`}),e?.version&&(0,T.jsxs)(`span`,{className:`version`,children:[`v`,e.version]})]}),(0,T.jsxs)(`ul`,{className:`nav-list`,children:[n.map(e=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(di,{to:e.path,end:e.path===`/`,className:xa,children:[(0,T.jsx)(`span`,{className:`nav-icon`,children:(0,T.jsx)(e.Icon,{})}),(0,T.jsx)(`span`,{children:e.label})]})},e.id)),(0,T.jsx)(`li`,{className:`nav-separator`}),r.map(e=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(di,{to:e.path,className:xa,children:[(0,T.jsx)(`span`,{className:`nav-icon`,children:(0,T.jsx)(e.Icon,{})}),(0,T.jsx)(`span`,{children:e.label})]})},e.id))]}),(0,T.jsx)(`div`,{className:`sidebar-footer`,children:(0,T.jsx)(`ul`,{className:`nav-list`,style:{flex:`none`},children:i.map(e=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(di,{to:e.path,className:xa,children:[(0,T.jsx)(`span`,{className:`nav-icon`,children:(0,T.jsx)(e.Icon,{})}),(0,T.jsx)(`span`,{children:e.label})]})},e.id))})}),(0,T.jsxs)(`div`,{className:`sidebar-meta`,children:[e?.scan_root&&(0,T.jsxs)(`div`,{className:`sidebar-meta-item`,title:e.scan_root,children:[(0,T.jsx)(na,{}),(0,T.jsx)(`span`,{children:e.scan_root})]}),e?.version&&(0,T.jsxs)(`div`,{className:`sidebar-meta-item`,children:[(0,T.jsx)(ra,{}),(0,T.jsxs)(`span`,{children:[`v`,e.version]})]}),(0,T.jsxs)(`div`,{className:`scan-indicator${t?` visible`:``}`,children:[(0,T.jsx)(`span`,{className:`status-dot running`}),`Scanning...`]})]})]})}var Sa={overview:`Overview`,findings:`Findings`,scans:`Scans`,rules:`Rules`,triage:`Triage`,config:`Config`,explorer:`Explorer`,debug:`Debug`},Ca={"/debug/cfg":`CFG Viewer`,"/debug/ssa":`SSA Viewer`,"/debug/call-graph":`Call Graph`,"/debug/taint":`Taint Debugger`,"/debug/summaries":`Summaries`};function wa(e){return e===`/`?`overview`:e.split(`/`)[1]||`overview`}function Ta(e){let t=wa(e),n=Sa[t]??t,r=[],i=t===`overview`?`/`:`/${t}`;if(r.push({label:n,path:i}),Ca[e])r.push({label:Ca[e]});else{let t=e.split(`/`).filter(Boolean);if(t.length>1){let e=t.slice(1).join(`/`);r.push({label:e})}}return r}var Ea=typeof navigator<`u`&&/Mac/i.test(navigator.platform)?`⌘K`:`Ctrl K`;function Da({onStartScan:e,onOpenPalette:t}){let{pathname:n}=zn(),r=Ta(n);return(0,T.jsxs)(`header`,{className:`header-bar`,children:[(0,T.jsx)(`div`,{className:`header-left`,children:(0,T.jsx)(`nav`,{className:`breadcrumbs`,"aria-label":`Breadcrumb`,children:r.map((e,t)=>{let n=t===r.length-1;return(0,T.jsxs)(`span`,{children:[t>0&&(0,T.jsx)(`span`,{className:`breadcrumb-sep`,"aria-hidden":`true`,children:`/`}),n||!e.path?(0,T.jsx)(`span`,{className:`breadcrumb-current`,"aria-current":n?`page`:void 0,children:e.label}):(0,T.jsx)(ui,{to:e.path,className:`breadcrumb-link`,children:e.label})]},t)})})}),(0,T.jsxs)(`div`,{className:`header-right`,children:[t&&(0,T.jsxs)(`button`,{type:`button`,className:`btn btn-ghost btn-sm palette-trigger`,onClick:t,"aria-label":`Open command palette`,title:`Command palette (${Ea})`,children:[(0,T.jsx)(aa,{size:12}),(0,T.jsx)(`span`,{children:`Search`}),(0,T.jsx)(`kbd`,{children:Ea})]}),e&&(0,T.jsx)(`button`,{type:`button`,className:`btn btn-primary btn-sm`,onClick:e,children:`Start Scan`})]})]})}var Oa=c(h(),1);function ka({open:e,onClose:t,className:n,children:r}){let i=(0,w.useCallback)(e=>{e.key===`Escape`&&t()},[t]);return(0,w.useEffect)(()=>{if(e)return document.addEventListener(`keydown`,i),()=>document.removeEventListener(`keydown`,i)},[e,i]),e?(0,Oa.createPortal)((0,T.jsx)(`div`,{className:n||`code-modal-overlay`,onClick:e=>{e.target===e.currentTarget&&t()},children:r}),document.body):null}function Aa(){let e=ot();return St({mutationFn:e=>ga(`/scans`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`scans`]})}})}function ja(){let e=ot();return St({mutationFn:e=>va(`/scans/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`scans`]}),e.invalidateQueries({queryKey:[`overview`]})}})}var Ma={full:`AST + CFG + taint (default)`,ast:`AST patterns only — fastest`,cfg:`CFG structural + taint`,taint:`Taint flows only`},Na={fast:`Basic taint. No abstract-interp / context-sensitive / symex / backwards.`,balanced:`Default. Adds abstract-interp + context-sensitive inlining.`,deep:`Adds symex (cross-file + interproc) and demand-driven backwards taint. ~2–3× slower.`};function Pa({open:e,onClose:t}){let{data:n}=ya(),r=Aa(),i=Hn(),a=Ki(),o=n?.scan_root||``,[s,c]=(0,w.useState)(``),[l,u]=(0,w.useState)(`full`),[d,f]=(0,w.useState)(`balanced`);return e?(0,T.jsx)(ka,{open:e,onClose:t,className:`scan-modal-overlay`,children:(0,T.jsxs)(`div`,{className:`scan-modal`,children:[(0,T.jsx)(`h3`,{children:`Start New Scan`}),(0,T.jsxs)(`div`,{className:`scan-modal-form`,children:[(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Scan Root`}),(0,T.jsx)(`input`,{type:`text`,value:s||o,onChange:e=>c(e.target.value),placeholder:`/path/to/project`})]}),(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Analysis Mode`}),(0,T.jsxs)(`select`,{value:l,onChange:e=>u(e.target.value),children:[(0,T.jsx)(`option`,{value:`full`,children:`Full`}),(0,T.jsx)(`option`,{value:`ast`,children:`AST only`}),(0,T.jsx)(`option`,{value:`cfg`,children:`CFG + taint`}),(0,T.jsx)(`option`,{value:`taint`,children:`Taint only`})]}),(0,T.jsx)(`span`,{className:`form-hint`,children:Ma[l]})]}),(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Engine Profile`}),(0,T.jsxs)(`select`,{value:d,onChange:e=>f(e.target.value),children:[(0,T.jsx)(`option`,{value:`fast`,children:`Fast`}),(0,T.jsx)(`option`,{value:`balanced`,children:`Balanced (default)`}),(0,T.jsx)(`option`,{value:`deep`,children:`Deep`})]}),(0,T.jsx)(`span`,{className:`form-hint`,children:Na[d]})]}),(0,T.jsxs)(`div`,{className:`scan-modal-actions`,children:[(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:t,children:`Cancel`}),(0,T.jsx)(`button`,{className:`btn btn-primary btn-sm`,onClick:async()=>{let e=s.trim(),n={};e&&e!==o&&(n.scan_root=e),l!==`full`&&(n.mode=l),n.engine_profile=d;let c=Object.keys(n).length?n:void 0;try{await r.mutateAsync(c),a.success(`Scan started`,`Started`),t(),i(`/scans`)}catch(e){let t=e instanceof ua&&e.status===409?`A scan is already running`:e instanceof Error?e.message:`Failed to start scan`;a.error(t,`Could not start scan`)}},disabled:r.isPending,children:r.isPending?`Starting...`:`Start Scan`})]})]})]})}):null}function Fa(e,t){if(!e)return 0;let n=e.toLowerCase(),r=[t.label,t.hint??``,...t.keywords??[]].map(e=>e.toLowerCase()),i=-1;for(let e of r){if(e.startsWith(n))return 100;let t=e.indexOf(n);t>=0&&(i<0||t<i)&&(i=t)}return i<0?-1:50-i}function Ia({open:e,onClose:t,commands:n,placeholder:r=`Type a command or page...`}){let[i,a]=(0,w.useState)(``),[o,s]=(0,w.useState)(0),c=(0,w.useRef)(null),l=Hn();(0,w.useEffect)(()=>{e&&(a(``),s(0),requestAnimationFrame(()=>c.current?.focus()))},[e]);let u=(0,w.useMemo)(()=>i?n.map(e=>[e,Fa(i,e)]).filter(([,e])=>e>=0).sort((e,t)=>t[1]-e[1]).map(([e])=>e):n,[n,i]);(0,w.useEffect)(()=>{o>=u.length&&s(0)},[u.length,o]);let d=(0,w.useCallback)(e=>{t(),e.action?e.action():e.to&&l(e.to)},[l,t]),f=(0,w.useCallback)(e=>{if(e.key===`Escape`)e.preventDefault(),t();else if(e.key===`ArrowDown`)e.preventDefault(),s(e=>Math.min(e+1,u.length-1));else if(e.key===`ArrowUp`)e.preventDefault(),s(e=>Math.max(e-1,0));else if(e.key===`Enter`){e.preventDefault();let t=u[o];t&&d(t)}},[u,o,t,d]);if(!e)return null;let p=new Map;for(let e of u){let t=e.group??``,n=p.get(t)??[];n.push(e),p.set(t,n)}let m=0;return(0,T.jsxs)(`div`,{className:`palette-overlay`,role:`dialog`,"aria-label":`Command palette`,children:[(0,T.jsx)(`div`,{className:`palette-backdrop`,onClick:t}),(0,T.jsxs)(`div`,{className:`palette`,role:`combobox`,"aria-expanded":`true`,children:[(0,T.jsx)(`input`,{ref:c,className:`palette-input`,placeholder:r,value:i,onChange:e=>a(e.target.value),onKeyDown:f,"aria-label":`Command search`,"aria-autocomplete":`list`}),(0,T.jsxs)(`ul`,{className:`palette-list`,role:`listbox`,children:[u.length===0&&(0,T.jsx)(`li`,{className:`palette-empty`,children:`No matches`}),Array.from(p.entries()).map(([e,t])=>(0,T.jsxs)(`li`,{className:`palette-group`,children:[e&&(0,T.jsx)(`div`,{className:`palette-group-label`,children:e}),(0,T.jsx)(`ul`,{children:t.map(e=>{let t=m++,n=t===o;return(0,T.jsxs)(`li`,{role:`option`,"aria-selected":n,className:`palette-item${n?` active`:``}`,onMouseEnter:()=>s(t),onClick:()=>d(e),children:[e.icon&&(0,T.jsx)(`span`,{className:`palette-icon`,children:e.icon}),(0,T.jsx)(`span`,{className:`palette-label`,children:e.label}),e.hint&&(0,T.jsx)(`span`,{className:`palette-hint`,children:e.hint}),e.shortcut&&(0,T.jsx)(`kbd`,{className:`palette-shortcut`,children:e.shortcut})]},e.id)})})]},e||`_`))]})]})]})}var La=[{section:`Global`,rows:[{keys:[`⌘`,`K`],description:`Open command palette`},{keys:[`/`],description:`Focus search (on findings page)`},{keys:[`?`],description:`Show this help`},{keys:[`Esc`],description:`Close modal / palette`}]},{section:`Findings list`,rows:[{keys:[`j`],description:`Next finding`},{keys:[`k`],description:`Previous finding`},{keys:[`Enter`],description:`Open highlighted finding`}]},{section:`Navigation`,rows:[{keys:[`g`,`o`],description:`Go to Overview`},{keys:[`g`,`f`],description:`Go to Findings`},{keys:[`g`,`s`],description:`Go to Scans`},{keys:[`g`,`r`],description:`Go to Rules`},{keys:[`g`,`t`],description:`Go to Triage`}]}];function Ra({open:e,onClose:t}){return e?(0,T.jsxs)(`div`,{className:`palette-overlay`,role:`dialog`,"aria-label":`Keyboard shortcuts`,children:[(0,T.jsx)(`div`,{className:`palette-backdrop`,onClick:t}),(0,T.jsxs)(`div`,{className:`shortcuts-modal`,children:[(0,T.jsxs)(`div`,{className:`shortcuts-header`,children:[(0,T.jsx)(`h2`,{children:`Keyboard shortcuts`}),(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm btn-ghost`,onClick:t,"aria-label":`Close shortcuts help`,children:`Close`})]}),(0,T.jsx)(`div`,{className:`shortcuts-body`,children:La.map(e=>(0,T.jsxs)(`section`,{children:[(0,T.jsx)(`h3`,{children:e.section}),(0,T.jsx)(`dl`,{children:e.rows.map(e=>(0,T.jsxs)(`div`,{className:`shortcut-row`,children:[(0,T.jsx)(`dt`,{children:e.keys.map((e,t)=>(0,T.jsxs)(`span`,{children:[t>0&&(0,T.jsx)(`span`,{className:`shortcut-sep`,children:`then`}),(0,T.jsx)(`kbd`,{children:e})]},t))}),(0,T.jsx)(`dd`,{children:e.description})]},e.description))})]},e.section))})]})]}):null}function za(e){if(!(e instanceof HTMLElement))return!1;let t=e.tagName;return!!(t===`INPUT`||t===`TEXTAREA`||t===`SELECT`||e.isContentEditable)}function Ba(e,t){return!(e.key!==t.key||!!t.meta!==(e.metaKey||e.ctrlKey)||!!t.shift!==e.shiftKey||!!t.alt!==e.altKey)}function Va(e){(0,w.useEffect)(()=>{if(e.length===0)return;let t=t=>{let n=za(t.target);for(let r of e)if(!(n&&!r.allowInInput)&&Ba(t,r)){t.preventDefault(),r.handler(t);return}};return document.addEventListener(`keydown`,t),()=>document.removeEventListener(`keydown`,t)},[e])}var Ha=800,Ua={o:`/`,f:`/findings`,s:`/scans`,r:`/rules`,t:`/triage`,c:`/config`,e:`/explorer`,d:`/debug`};function Wa(e){if(!(e instanceof HTMLElement))return!1;let t=e.tagName;return!!(t===`INPUT`||t===`TEXTAREA`||t===`SELECT`||e.isContentEditable)}function Ga(){let e=Hn(),t=(0,w.useRef)(null);(0,w.useEffect)(()=>{let n=n=>{if(!Wa(n.target)&&!(n.metaKey||n.ctrlKey||n.altKey)){if(t.current!==null){let r=Ua[n.key.toLowerCase()];window.clearTimeout(t.current),t.current=null,r&&(n.preventDefault(),e(r));return}n.key===`g`&&(n.preventDefault(),t.current=window.setTimeout(()=>{t.current=null},Ha))}};return document.addEventListener(`keydown`,n),()=>{document.removeEventListener(`keydown`,n),t.current!==null&&window.clearTimeout(t.current)}},[e])}function Ka(){return xt({queryKey:[`overview`],queryFn:({signal:e})=>ha(`/overview`,e)})}function qa(){return xt({queryKey:[`overview`,`trends`],queryFn:({signal:e})=>ha(`/overview/trends`,e)})}function Ja(){let e=ot();return St({mutationFn:e=>ga(`/overview/baseline`,{scan_id:e}),onSuccess:()=>{e.invalidateQueries({queryKey:[`overview`]})}})}function Ya(){let e=ot();return St({mutationFn:()=>va(`/overview/baseline`),onSuccess:()=>{e.invalidateQueries({queryKey:[`overview`]})}})}function Xa({label:e,value:t,delta:n,color:r,subtitle:i}){return(0,T.jsxs)(`div`,{className:`overview-stat-card`,children:[(0,T.jsx)(`div`,{className:`stat-label`,children:e}),(0,T.jsxs)(`div`,{className:`stat-value`,style:r?{color:r}:void 0,children:[t,n!=null&&n!==0&&(0,T.jsxs)(`span`,{className:`stat-delta delta-${n>0?`up`:`down`}`,children:[n>0?`▲`:`▼`,`\xA0`,Math.abs(n)]})]}),i&&(0,T.jsx)(`div`,{className:`stat-subtitle`,children:i})]})}function Za({message:e=`Loading...`}){return(0,T.jsxs)(`div`,{className:`loading`,role:`status`,"aria-live":`polite`,children:[(0,T.jsx)(`span`,{className:`spinner`,"aria-hidden":`true`}),(0,T.jsx)(`span`,{className:`loading-message`,children:e})]})}function Qa(e,t){return e instanceof ua?e.isNetwork()?{title:`Network error`,message:e.message||`Could not reach the Nyx server.`}:e.status===404?{title:`Not found`,message:e.message}:e.status===403?{title:`Forbidden`,message:e.message}:e.status===409?{title:`Conflict`,message:e.message}:e.status>=500?{title:`Server error`,message:e.message||`The Nyx server returned an error.`,hint:`Server logs may have more detail.`}:{title:t,message:e.message}:e instanceof Error?{title:t,message:e.message}:typeof e==`string`?{title:t,message:e}:{title:t,message:`An unknown error occurred.`}}function $a({title:e,message:t,error:n,onRetry:r,retryLabel:i=`Try again`}){let a=e??`Error`,o=n?Qa(n,a):{title:a,message:t??`An error occurred.`};return(0,T.jsxs)(`div`,{className:`error-state`,role:`alert`,children:[(0,T.jsx)(`h3`,{children:o.title}),(0,T.jsx)(`p`,{children:o.message})]})}function eo({items:e,maxValue:t,width:n=400}){if(!e||e.length===0)return(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:20},children:(0,T.jsx)(`p`,{children:`No data`})});let r=n-110-45-16,i=e.length*26,a=t??Math.max(...e.map(e=>e.value),1);return(0,T.jsx)(`div`,{className:`chart-container`,children:(0,T.jsx)(`svg`,{viewBox:`0 0 ${n} ${i}`,width:`100%`,preserveAspectRatio:`xMinYMin meet`,xmlns:`http://www.w3.org/2000/svg`,children:e.map((e,t)=>{let n=t*26,i=Math.max(e.value/a*r,2),o=e.color||`var(--accent)`;return(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`text`,{x:102,y:n+22/2+4,textAnchor:`end`,fontSize:11,fontFamily:`var(--font)`,fill:`var(--text-secondary)`,children:e.label}),(0,T.jsx)(`rect`,{x:110,y:n+2,width:i,height:18,rx:3,fill:o,opacity:.85}),(0,T.jsx)(`text`,{x:110+r+8,y:n+22/2+4,textAnchor:`start`,fontSize:11,fontFamily:`var(--font-mono)`,fontWeight:600,fill:`var(--text)`,children:e.value})]},e.label)})})})}function to(e){if(!e)return``;try{let t=new Date(e);return`${t.getMonth()+1}/${t.getDate()} ${t.getHours()}:${String(t.getMinutes()).padStart(2,`0`)}`}catch{return``}}function no({points:e,color:t=`var(--accent)`,width:n=400,height:r=160}){if(!e||e.length<2)return(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:20},children:(0,T.jsx)(`p`,{children:`Need multiple scans for trends`})});let i={top:15,right:15,bottom:30,left:40},a=n-i.left-i.right,o=r-i.top-i.bottom,s=Math.max(...e.map(e=>e.value),1),c=s-0||1,l=a/Math.max(e.length-1,1),u=e.map((e,t)=>({x:i.left+t*l,y:i.top+o-(e.value-0)/c*o,label:e.label,value:e.value})),d=u.map(e=>`${e.x},${e.y}`).join(` `),f=`${u[0].x},${i.top+o} ${d} ${u[u.length-1].x},${i.top+o}`,p=[];for(let e=0;e<=4;e++){let t=i.top+e/4*o,n=Math.round(s-e/4*c);p.push({y:t,val:n})}let m=Math.max(1,Math.ceil(u.length/6));return(0,T.jsx)(`div`,{className:`chart-container`,children:(0,T.jsxs)(`svg`,{viewBox:`0 0 ${n} ${r}`,width:`100%`,preserveAspectRatio:`xMinYMin meet`,xmlns:`http://www.w3.org/2000/svg`,children:[p.map((e,t)=>(0,T.jsxs)(`g`,{children:[(0,T.jsx)(`line`,{x1:i.left,y1:e.y,x2:i.left+a,y2:e.y,stroke:`var(--border-light)`,strokeWidth:1}),(0,T.jsx)(`text`,{x:i.left-6,y:e.y+3,textAnchor:`end`,fontSize:9,fontFamily:`var(--font-mono)`,fill:`var(--text-tertiary)`,children:e.val})]},t)),(0,T.jsx)(`polygon`,{points:f,fill:t,opacity:.08}),(0,T.jsx)(`polyline`,{points:d,fill:`none`,stroke:t,strokeWidth:2,strokeLinejoin:`round`,strokeLinecap:`round`}),u.map((e,n)=>(0,T.jsx)(`circle`,{cx:e.x,cy:e.y,r:3,fill:t,stroke:`var(--bg)`,strokeWidth:2},n)),u.map((e,t)=>t%m!==0&&t!==u.length-1?null:(0,T.jsx)(`text`,{x:e.x,y:r-4,textAnchor:`middle`,fontSize:9,fontFamily:`var(--font)`,fill:`var(--text-tertiary)`,children:to(e.label)},t))]})})}function ro(e,t=60){return e?e.length<=t?e:`...`+e.slice(-(t-3)):``}function io({health:e,posture:t}){let n=`grade-${e.grade.toLowerCase()}`;return(0,T.jsxs)(`div`,{className:`card health-card`,children:[(0,T.jsx)(`div`,{className:`health-eyebrow`,children:`Health Score`}),(0,T.jsxs)(`div`,{className:`health-headline`,children:[(0,T.jsx)(`div`,{className:`health-grade-block ${n}`,children:(0,T.jsx)(`span`,{className:`health-grade-letter`,children:e.grade})}),(0,T.jsxs)(`div`,{className:`health-headline-text`,children:[(0,T.jsxs)(`div`,{className:`health-summary`,children:[(0,T.jsx)(`span`,{className:`health-number`,children:e.score}),(0,T.jsx)(`span`,{className:`health-of`,children:`/ 100`})]}),t&&(0,T.jsx)(`div`,{className:`health-posture posture-${t.severity}`,children:t.message})]}),(0,T.jsx)(`div`,{className:`health-components`,children:e.components.map(e=>(0,T.jsxs)(`div`,{className:`health-component`,title:e.detail,children:[(0,T.jsx)(`div`,{className:`health-component-score`,children:e.score}),(0,T.jsx)(`div`,{className:`health-component-label`,children:e.label})]},e.label))})]})]})}function ao({backlog:e}){let t=e.age_buckets.reduce((e,t)=>e+t.count,0);return e.oldest_open_days==null&&e.age_buckets.length===0?null:(0,T.jsxs)(`div`,{className:`card backlog-card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Backlog Age`}),(0,T.jsxs)(`div`,{className:`backlog-body`,children:[(0,T.jsxs)(`div`,{className:`backlog-stat`,children:[(0,T.jsx)(`div`,{className:`backlog-stat-value`,children:e.oldest_open_days==null?`–`:`${e.oldest_open_days}d`}),(0,T.jsx)(`div`,{className:`backlog-stat-label`,children:`Oldest open`})]}),(0,T.jsxs)(`div`,{className:`backlog-stat`,children:[(0,T.jsx)(`div`,{className:`backlog-stat-value`,children:e.median_age_days==null?`–`:`${e.median_age_days}d`}),(0,T.jsx)(`div`,{className:`backlog-stat-label`,children:`Median age`})]}),(0,T.jsxs)(`div`,{className:`backlog-stat`,children:[(0,T.jsx)(`div`,{className:`backlog-stat-value`,children:e.stale_count}),(0,T.jsx)(`div`,{className:`backlog-stat-label`,children:`Older than 30 days`})]}),t>0&&(0,T.jsx)(`div`,{className:`backlog-bucket`,children:(0,T.jsx)(oo,{buckets:e.age_buckets})})]})]})}function oo({buckets:e}){let t=e.reduce((e,t)=>e+t.count,0);if(t===0)return null;let n=[`#3498db`,`#2ecc71`,`#f1c40f`,`#e67e22`,`#e74c3c`];return(0,T.jsx)(`div`,{className:`bucket-bar`,title:e.map(e=>`${e.name}: ${e.count}`).join(` · `),children:e.map((e,r)=>(0,T.jsx)(`div`,{className:`bucket-segment`,style:{width:`${e.count/t*100}%`,background:n[r]||`var(--accent)`}},e.name))})}function so({dist:e}){let t=e.high+e.medium+e.low+e.none;if(t===0)return(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No data`})});let n=[{label:`High`,value:e.high,color:`#27ae60`},{label:`Medium`,value:e.medium,color:`#f39c12`},{label:`Low`,value:e.low,color:`#95a5a6`},{label:`None`,value:e.none,color:`#bdc3c7`}];return(0,T.jsxs)(`div`,{className:`confidence-dist`,children:[(0,T.jsx)(`div`,{className:`confidence-bar`,children:n.map(e=>e.value>0?(0,T.jsx)(`div`,{className:`confidence-segment`,style:{width:`${e.value/t*100}%`,background:e.color},title:`${e.label}: ${e.value}`},e.label):null)}),(0,T.jsx)(`div`,{className:`confidence-legend`,children:n.map(e=>(0,T.jsxs)(`div`,{className:`confidence-legend-item`,children:[(0,T.jsx)(`span`,{className:`confidence-swatch`,style:{background:e.color}}),(0,T.jsx)(`span`,{children:e.label}),(0,T.jsx)(`span`,{className:`confidence-count`,children:e.value})]},e.label))})]})}function co({quality:e,crossFileRatio:t}){let n=Object.entries(e.symex_breakdown||{}).filter(([e])=>e!==`not_attempted`).reduce((e,[,t])=>e+t,0),r=Object.values(e.symex_breakdown||{}).reduce((e,t)=>e+t,0);return(0,T.jsx)(`dl`,{className:`kv-list`,children:[{label:`Files`,hint:`Files the scanner saw on this run.`,value:(e.files_scanned+e.files_skipped).toLocaleString(),detail:e.files_skipped>0?`${e.files_scanned.toLocaleString()} fresh · ${e.files_skipped.toLocaleString()} from cache`:e.files_scanned>0?`${e.files_scanned.toLocaleString()} freshly indexed`:void 0},{label:`Functions analyzed`,hint:`Function bodies the call graph saw.`,value:e.functions_analyzed.toLocaleString()},{label:`Call edges resolved`,hint:`Share of call sites that the scanner resolved to a known callee. The remainder are typically external/library calls.`,value:`${(e.call_resolution_rate*100).toFixed(1)}%`,detail:e.unresolved_calls>0?`${e.unresolved_calls.toLocaleString()} unresolved`:void 0},{label:`Cross-file flows`,hint:`Findings whose taint path crosses a file boundary.`,value:t==null?`0%`:`${(t*100).toFixed(1)}%`,detail:`of findings`},{label:`Symbolic verification`,hint:`Taint findings the symbolic engine attempted to verify (confirmed, infeasible, or inconclusive).`,value:r>0?`${(e.symex_verified_rate*100).toFixed(1)}%`:`n/a`,detail:r>0?`${n} of ${r} taint findings`:`no taint findings`}].map(e=>(0,T.jsxs)(`div`,{className:`kv-row`,children:[(0,T.jsx)(`dt`,{className:`kv-label`,title:e.hint,children:e.label}),(0,T.jsxs)(`dd`,{className:`kv-value`,children:[(0,T.jsx)(`div`,{className:`kv-number`,children:e.value}),e.detail&&(0,T.jsx)(`div`,{className:`kv-detail`,children:e.detail})]})]},e.label))})}function lo({sinks:e}){return e.length?(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Sink`}),(0,T.jsx)(`th`,{children:`Findings`})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{title:e.callee,children:[(0,T.jsx)(`td`,{className:`font-mono`,children:e.callee}),(0,T.jsx)(`td`,{children:e.count})]},e.callee))})]}):(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No data`})})}function uo({buckets:e}){if(!e.length)return(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No data`})});let t=Math.max(...e.map(e=>e.count),1);return(0,T.jsx)(`ul`,{className:`owasp-list`,children:e.map(e=>(0,T.jsxs)(`li`,{className:`owasp-row`,title:e.label,children:[(0,T.jsx)(`span`,{className:`owasp-code`,children:e.code}),(0,T.jsx)(`span`,{className:`owasp-label`,children:e.label}),(0,T.jsx)(`div`,{className:`owasp-bar`,children:(0,T.jsx)(`div`,{className:`owasp-fill`,style:{width:`${e.count/t*100}%`}})}),(0,T.jsx)(`span`,{className:`owasp-count`,children:e.count})]},e.code))})}function fo({files:e,onRowClick:t}){return e.length?(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`File`}),(0,T.jsx)(`th`,{children:`Severity`}),(0,T.jsx)(`th`,{children:`Score`})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{title:e.name,className:t?`clickable`:void 0,onClick:t?()=>t(e.name):void 0,children:[(0,T.jsx)(`td`,{children:ro(e.name,45)}),(0,T.jsx)(`td`,{children:(0,T.jsx)(po,{high:e.high,medium:e.medium,low:e.low})}),(0,T.jsx)(`td`,{className:`font-mono`,children:e.score})]},e.name))})]}):(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No data`})})}function po({high:e,medium:t,low:n}){let r=e+t+n;return r===0?null:(0,T.jsxs)(`div`,{className:`severity-stack`,title:`${e} High · ${t} Medium · ${n} Low`,children:[e>0&&(0,T.jsx)(`div`,{className:`sev-segment sev-high`,style:{width:`${e/r*100}%`},children:e}),t>0&&(0,T.jsx)(`div`,{className:`sev-segment sev-medium`,style:{width:`${t/r*100}%`},children:t}),n>0&&(0,T.jsx)(`div`,{className:`sev-segment sev-low`,style:{width:`${n/r*100}%`},children:n})]})}function mo({rows:e}){return e.length?(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Language`}),(0,T.jsx)(`th`,{children:`Findings`}),(0,T.jsx)(`th`,{children:`Severity`})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:e.language}),(0,T.jsx)(`td`,{children:e.findings}),(0,T.jsx)(`td`,{children:(0,T.jsx)(po,{high:e.high,medium:e.medium,low:e.low})})]},e.language))})]}):(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No data`})})}function ho({hygiene:e}){let t=e.fingerprint_level+e.rule_level+e.file_level+e.rule_in_file_level,n=e.rule_level+e.file_level+e.rule_in_file_level,r=t>0?`${(e.blanket_rate*100).toFixed(0)}%`:`n/a`,i=t>0?`${n} of ${t} suppressions are not pinned to a specific finding`:`No suppressions yet`;return(0,T.jsxs)(`dl`,{className:`kv-list`,children:[(0,T.jsxs)(`div`,{className:`kv-row kv-row-emphasis`,children:[(0,T.jsxs)(`dt`,{className:`kv-label`,title:`Share of suppressions that are not pinned to a specific finding fingerprint. Lower is better — it means triage is decisive rather than blanket-silencing whole rules or files.`,children:[`Blanket rate`,(0,T.jsx)(`span`,{className:`kv-hint`,children:`Lower is better`})]}),(0,T.jsxs)(`dd`,{className:`kv-value`,children:[(0,T.jsx)(`div`,{className:`kv-number`,children:r}),(0,T.jsx)(`div`,{className:`kv-detail`,children:i})]})]}),(0,T.jsxs)(`div`,{className:`kv-row`,children:[(0,T.jsxs)(`dt`,{className:`kv-label`,title:`Suppressions that target one specific finding by its fingerprint. Most precise.`,children:[`By fingerprint`,(0,T.jsx)(`span`,{className:`kv-hint`,children:`Most specific`})]}),(0,T.jsx)(`dd`,{className:`kv-value`,children:(0,T.jsx)(`div`,{className:`kv-number`,children:e.fingerprint_level})})]}),(0,T.jsxs)(`div`,{className:`kv-row`,children:[(0,T.jsx)(`dt`,{className:`kv-label`,title:`Suppressions that silence a rule only inside a specific file.`,children:`By rule in a file`}),(0,T.jsx)(`dd`,{className:`kv-value`,children:(0,T.jsx)(`div`,{className:`kv-number`,children:e.rule_in_file_level})})]}),(0,T.jsxs)(`div`,{className:`kv-row`,children:[(0,T.jsx)(`dt`,{className:`kv-label`,title:`Suppressions that silence an entire rule across the project.`,children:`By rule`}),(0,T.jsx)(`dd`,{className:`kv-value`,children:(0,T.jsx)(`div`,{className:`kv-number`,children:e.rule_level})})]}),(0,T.jsxs)(`div`,{className:`kv-row`,children:[(0,T.jsxs)(`dt`,{className:`kv-label`,title:`Suppressions that silence everything in a file.`,children:[`By file`,(0,T.jsx)(`span`,{className:`kv-hint`,children:`Least specific`})]}),(0,T.jsx)(`dd`,{className:`kv-value`,children:(0,T.jsx)(`div`,{className:`kv-number`,children:e.file_level})})]})]})}function go({baseline:e,latestScanId:t,onPin:n,onUnpin:r,isPending:i}){let a=Hn();if(e){let t=e.drift_new-e.drift_fixed,n=t>0?`baseline-drift-bad`:t<0?`baseline-drift-good`:`baseline-drift-flat`;return(0,T.jsxs)(`div`,{className:`baseline-strip`,children:[(0,T.jsx)(`span`,{className:`baseline-label`,children:`Baseline:`}),(0,T.jsx)(`button`,{type:`button`,className:`baseline-link`,onClick:()=>a(`/scans/${e.scan_id}`),children:e.started_at?new Date(e.started_at).toLocaleDateString():e.scan_id.slice(0,8)}),(0,T.jsxs)(`span`,{className:n,children:[`drift: +`,e.drift_new,` new / -`,e.drift_fixed,` fixed (`,t>=0?`+`:``,t,`)`]}),(0,T.jsx)(`button`,{type:`button`,className:`baseline-action`,onClick:r,disabled:i,children:`Unpin`})]})}return t?(0,T.jsxs)(`div`,{className:`baseline-strip baseline-strip-empty`,children:[(0,T.jsx)(`span`,{className:`baseline-label`,children:`No baseline pinned.`}),(0,T.jsx)(`button`,{type:`button`,className:`baseline-action`,onClick:()=>n(t),disabled:i,children:`Pin latest scan as baseline`})]}):null}var _o=`Nyx`;function vo(e){(0,w.useEffect)(()=>{if(!e)return;let t=document.title;return document.title=`${e} · ${_o}`,()=>{document.title=t}},[e])}function yo(){vo(`Overview`);let e=Hn(),{data:t,isLoading:n,error:r,refetch:i}=Ka(),{data:a}=qa(),o=Ja(),s=Ya();if(n)return(0,T.jsx)(Za,{message:`Loading overview...`});if(r)return(0,T.jsx)($a,{title:`Error loading overview`,error:r,onRetry:()=>i()});if(!t)return(0,T.jsx)(Za,{message:`Loading overview...`});if(t.state===`empty`)return(0,T.jsxs)(`div`,{className:`overview-empty`,children:[(0,T.jsx)(Ji,{size:48}),(0,T.jsx)(`h2`,{children:`Welcome to Nyx`}),(0,T.jsx)(`p`,{children:`Run your first scan to see security findings and analytics.`})]});let c=t.new_since_last-t.fixed_since_last,l=(t.issue_categories||[]).slice(0,8).map(e=>({label:e.label,value:e.count,color:`#5856d6`})),u=(a||[]).map(e=>({label:e.timestamp,value:e.total})),d=t.hot_sinks||[];return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`page-header`,children:(0,T.jsx)(`h2`,{children:`Overview`})}),(0,T.jsx)(go,{baseline:t.baseline,latestScanId:t.latest_scan_id,onPin:e=>o.mutate(e),onUnpin:()=>s.mutate(),isPending:o.isPending||s.isPending}),t.health&&(0,T.jsx)(io,{health:t.health,posture:t.posture}),t.state===`fresh`&&(0,T.jsxs)(`div`,{className:`overview-fresh-banner`,children:[(0,T.jsx)(`strong`,{children:`Scan completed`}),(0,T.jsxs)(`span`,{children:[t.total_findings,` finding`,t.total_findings===1?``:`s`,` detected`,t.latest_scan_duration_secs==null?``:` in ${t.latest_scan_duration_secs.toFixed(1)}s`,`.`]}),(0,T.jsx)(`a`,{href:`/findings`,className:`nav-link-internal`,onClick:t=>{t.preventDefault(),e(`/findings`)},children:`View all findings →`})]}),(0,T.jsxs)(`div`,{className:`overview-stat-grid overview-stat-grid-5`,children:[(0,T.jsx)(Xa,{label:`Total Findings`,value:t.total_findings,delta:c||null}),(0,T.jsx)(Xa,{label:`New`,value:t.new_since_last,color:t.new_since_last>0?`var(--sev-high)`:void 0}),(0,T.jsx)(Xa,{label:`Fixed`,value:t.fixed_since_last,color:t.fixed_since_last>0?`var(--success)`:void 0}),(0,T.jsx)(Xa,{label:`High Confidence`,value:`${(t.high_confidence_rate*100).toFixed(0)}%`}),(0,T.jsx)(Xa,{label:`Triage Coverage`,value:`${(t.triage_coverage*100).toFixed(0)}%`})]}),(0,T.jsxs)(`div`,{className:`overview-chart-grid`,children:[(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Findings Over Time`}),u.length>=2?(0,T.jsx)(no,{points:u}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`Run a second scan to see trends.`})})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`OWASP Top 10 (2021)`}),t.owasp_buckets&&t.owasp_buckets.length>0?(0,T.jsx)(uo,{buckets:t.owasp_buckets}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`No OWASP-mapped findings.`})})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Confidence Distribution`}),t.confidence_distribution?(0,T.jsx)(so,{dist:t.confidence_distribution}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`No data`})})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Issue Categories`}),(0,T.jsx)(eo,{items:l})]})]}),(0,T.jsxs)(`div`,{className:`overview-table-grid`,children:[(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Per-Language Posture`}),(0,T.jsx)(mo,{rows:t.language_health||[]})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Top Affected Files (severity-weighted)`}),(0,T.jsx)(fo,{files:t.weighted_top_files||[],onRowClick:t=>e(`/findings?search=${encodeURIComponent(t)}`)})]})]}),(0,T.jsxs)(`div`,{className:`overview-table-grid`,children:[(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Top Rules Triggered`}),(0,T.jsx)(bo,{items:t.top_rules,nameLabel:`Rule`,countLabel:`Findings`})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Top Directories`}),(0,T.jsx)(bo,{items:t.top_directories,nameLabel:`Directory`,countLabel:`Findings`,truncate:!0})]})]}),d.length>0&&(0,T.jsx)(`div`,{className:`overview-table-grid`,children:(0,T.jsxs)(`div`,{className:`card card-full`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Hot Sinks (taint flow)`}),(0,T.jsx)(lo,{sinks:d})]})}),t.backlog&&(0,T.jsx)(ao,{backlog:t.backlog}),(0,T.jsxs)(`div`,{className:`overview-table-grid`,children:[(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Scanner Quality`}),t.scanner_quality?(0,T.jsx)(co,{quality:t.scanner_quality,crossFileRatio:t.cross_file_ratio}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`No engine metrics available`})})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Suppression Hygiene`}),t.suppression_hygiene?(0,T.jsx)(ho,{hygiene:t.suppression_hygiene}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`No suppressions`})})]})]}),(0,T.jsxs)(`div`,{className:`overview-table-grid`,children:[(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Recent Scans`}),(0,T.jsx)(xo,{scans:t.recent_scans,currentBaselineId:t.baseline?.scan_id,onRowClick:t=>e(`/scans/${t.id}`),onPinBaseline:e=>o.mutate(e)})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Insights`}),t.insights.length>0?(0,T.jsx)(`div`,{className:`insight-list`,children:t.insights.map((e,t)=>(0,T.jsx)(So,{insight:e},t))}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`Nothing to flag.`})})]})]})]})}function bo({items:e,nameLabel:t,countLabel:n,truncate:r,onRowClick:i}){return!e||e.length===0?(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`No data`})}):(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:t}),(0,T.jsx)(`th`,{children:n})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>{let t=r?ro(e.name,45):e.name;return(0,T.jsxs)(`tr`,{className:i?`clickable`:void 0,onClick:i?()=>i(e):void 0,title:e.name,children:[(0,T.jsx)(`td`,{children:t}),(0,T.jsx)(`td`,{children:e.count})]},e.name)})})]})}function xo({scans:e,currentBaselineId:t,onRowClick:n,onPinBaseline:r}){return!e||e.length===0?(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:16},children:(0,T.jsx)(`p`,{children:`No scans yet`})}):(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Status`}),(0,T.jsx)(`th`,{children:`Duration`}),(0,T.jsx)(`th`,{children:`Findings`}),(0,T.jsx)(`th`,{children:`Time`}),(0,T.jsx)(`th`,{})]})}),(0,T.jsx)(`tbody`,{children:e.slice(0,5).map(e=>{let i=e.id===t,a=!i&&r&&e.status===`completed`;return(0,T.jsxs)(`tr`,{className:`clickable`,onClick:()=>n(e),children:[(0,T.jsxs)(`td`,{children:[(0,T.jsx)(`span`,{className:`status-dot ${e.status}`}),` `,e.status]}),(0,T.jsx)(`td`,{children:e.duration_secs==null?`-`:`${e.duration_secs.toFixed(1)}s`}),(0,T.jsx)(`td`,{children:e.finding_count??`-`}),(0,T.jsx)(`td`,{children:e.started_at?new Date(e.started_at).toLocaleString():`-`}),(0,T.jsx)(`td`,{onClick:e=>e.stopPropagation(),children:i?(0,T.jsx)(`span`,{className:`baseline-label`,children:`baseline`}):a?(0,T.jsx)(`button`,{type:`button`,className:`baseline-action`,onClick:()=>r(e.id),children:`Pin`}):null})]},e.id)})})]})}function So({insight:e}){let t=Hn();return(0,T.jsxs)(`div`,{className:`insight-card insight-${e.severity}`,children:[(0,T.jsx)(`span`,{children:e.message}),e.action_url&&(0,T.jsx)(`a`,{href:e.action_url,className:`nav-link-internal`,onClick:n=>{n.preventDefault(),t(e.action_url)},children:`View →`})]})}var Co={page:`1`,per_page:`50`,sort_by:``,sort_dir:`asc`,severity:``,category:``,confidence:``,language:``,rule_id:``,status:``,search:``},wo={per_page:`50`,sort_by:``,sort_dir:`asc`},To=new Set([`severity`,`category`,`confidence`,`language`,`rule_id`,`status`,`search`]),Eo=new Set([`page`,`sort_by`,`sort_dir`,`per_page`]);function Do(){let[e,t]=_i(),[n,r]=Li(`findings:prefs`,wo),i=(0,w.useMemo)(()=>{let t={};for(let r of Object.keys(Co)){let i=e.get(r);i?t[r]=i:r===`per_page`||r===`sort_by`||r===`sort_dir`?t[r]=n[r]||Co[r]:t[r]=Co[r]}return t},[e,n]);return(0,w.useEffect)(()=>{r({per_page:i.per_page,sort_by:i.sort_by,sort_dir:i.sort_dir})},[i.per_page,i.sort_by,i.sort_dir,r]),{state:i,updateState:(0,w.useCallback)(e=>{t(t=>{let n={};for(let e of Object.keys(Co))n[e]=t.get(e)||Co[e];let r={...n,...e};Object.keys(e).some(e=>!Eo.has(e))&&(r.page=`1`);let i=new URLSearchParams;for(let[e,t]of Object.entries(r))t&&t!==Co[e]&&i.set(e,t);return i})},[t]),resetFilters:(0,w.useCallback)(()=>{t(e=>{let t=new URLSearchParams,n=e.get(`per_page`);return n&&n!==Co.per_page&&t.set(`per_page`,n),t})},[t]),hasActiveFilters:(0,w.useMemo)(()=>Array.from(To).some(e=>i[e]!==``),[i])}}function Oo(e,t){let[n,r]=(0,w.useState)(e);return(0,w.useEffect)(()=>{let n=setTimeout(()=>r(e),t);return()=>clearTimeout(n)},[e,t]),n}function ko(e){let t=Object.entries(e).filter(([,e])=>e!=null&&e!==``);return t.length===0?``:`?${new URLSearchParams(t.map(([e,t])=>[e,String(t)])).toString()}`}function Ao(e={}){return xt({queryKey:[`findings`,e],queryFn:({signal:t})=>ha(`/findings${ko(e)}`,t)})}function jo(e){return xt({queryKey:[`findings`,e],queryFn:({signal:t})=>ha(`/findings/${e}`,t),enabled:e!=null&&e!==``})}function Mo(e,t,n){return e.fetchQuery({queryKey:[`findings`,String(t)],queryFn:({signal:e})=>ha(`/findings/${t}`,e??n)})}function No(){return xt({queryKey:[`findings`,`filters`],queryFn:({signal:e})=>ha(`/findings/filters`,e)})}function Po(){let e=ot();return St({mutationFn:e=>ga(`/triage`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`findings`]}),e.invalidateQueries({queryKey:[`triage`]}),e.invalidateQueries({queryKey:[`overview`]})}})}function Fo(){let e=ot();return St({mutationFn:e=>ga(`/triage/suppress`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`triage`]}),e.invalidateQueries({queryKey:[`findings`]}),e.invalidateQueries({queryKey:[`triage`,`suppress`]})}})}function Io(){let e=ot();return St({mutationFn:e=>va(`/triage/suppress?id=${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`triage`,`suppress`]})}})}function Lo(){return St({mutationFn:()=>ga(`/triage/export`)})}function Ro(){let e=ot();return St({mutationFn:()=>ga(`/triage/import`),onSuccess:()=>{e.invalidateQueries({queryKey:[`triage`]}),e.invalidateQueries({queryKey:[`findings`]})}})}var zo=[25,50,100];function Bo({page:e,perPage:t,total:n,onPageChange:r,onPerPageChange:i}){let a=Math.ceil(n/t)||1;return(0,T.jsxs)(`div`,{className:`pagination`,children:[(0,T.jsxs)(`div`,{className:`pagination-left`,children:[(0,T.jsx)(`span`,{children:`Per page:`}),(0,T.jsx)(`select`,{value:t,onChange:e=>i?.(Number(e.target.value)),children:zo.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))})]}),(0,T.jsxs)(`div`,{className:`pagination-center`,children:[(0,T.jsx)(`button`,{className:`btn btn-sm`,disabled:e<=1,onClick:()=>r(1),children:`First`}),(0,T.jsx)(`button`,{className:`btn btn-sm`,disabled:e<=1,onClick:()=>r(Math.max(1,e-1)),children:`Prev`}),(0,T.jsxs)(`span`,{children:[`Page `,e,` of `,a]}),(0,T.jsx)(`button`,{className:`btn btn-sm`,disabled:e>=a,onClick:()=>r(Math.min(a,e+1)),children:`Next`}),(0,T.jsx)(`button`,{className:`btn btn-sm`,disabled:e>=a,onClick:()=>r(a),children:`Last`})]}),(0,T.jsx)(`div`,{className:`pagination-right`,children:(0,T.jsxs)(`span`,{children:[n,` total`]})})]})}function Vo({trigger:e,children:t,align:n=`left`,className:r}){let[i,a]=(0,w.useState)(!1),o=(0,w.useRef)(null),s=(0,w.useCallback)(()=>a(!1),[]);return(0,w.useEffect)(()=>{if(!i)return;let e=e=>{o.current&&(o.current.contains(e.target)||a(!1))},t=e=>{e.key===`Escape`&&a(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[i]),(0,T.jsxs)(`div`,{ref:o,className:`dropdown${i?` dropdown--open`:``}${r?` ${r}`:``}`,children:[(0,T.jsx)(`div`,{className:`dropdown-trigger`,onClick:()=>a(e=>!e),role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),a(e=>!e))},children:e({open:i})}),i&&(0,T.jsx)(`div`,{className:`dropdown-menu dropdown-menu--${n}`,role:`menu`,children:t({close:s})})]})}function Ho({onClick:e,children:t,checked:n,hint:r,tone:i=`default`}){return(0,T.jsxs)(`button`,{type:`button`,role:`menuitem`,className:`dropdown-item dropdown-item--${i}`,onClick:e,children:[(0,T.jsx)(`span`,{className:`dropdown-item-check`,"aria-hidden":!0,children:n?`✓`:``}),(0,T.jsx)(`span`,{className:`dropdown-item-label`,children:t}),r&&(0,T.jsx)(`span`,{className:`dropdown-item-hint`,children:r})]})}var Uo=1500,Wo=2e3,Go=14;function Ko(){return(0,T.jsxs)(`svg`,{width:Go,height:Go,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,T.jsx)(`rect`,{x:`5`,y:`5`,width:`9`,height:`9`,rx:`1.5`}),(0,T.jsx)(`path`,{d:`M11 5V3.5A1.5 1.5 0 0 0 9.5 2h-6A1.5 1.5 0 0 0 2 3.5v6A1.5 1.5 0 0 0 3.5 11H5`})]})}function qo(){return(0,T.jsx)(`svg`,{width:Go,height:Go,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,T.jsx)(`path`,{d:`M3 8.5l3 3 7-7`})})}function Jo(){return(0,T.jsx)(`svg`,{width:Go,height:Go,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,T.jsx)(`path`,{d:`M4 4l8 8M12 4l-8 8`})})}function Yo({getMarkdown:e,label:t=`Copy`,className:n,title:r,stopPropagation:i,iconOnly:a}){let[o,s]=(0,w.useState)(`idle`),c=(0,w.useRef)(null);(0,w.useEffect)(()=>()=>{c.current!=null&&window.clearTimeout(c.current)},[]);let l=(0,w.useCallback)(e=>{c.current!=null&&window.clearTimeout(c.current),c.current=window.setTimeout(()=>{s(`idle`),c.current=null},e)},[]),u=(0,w.useCallback)(async t=>{if(i&&t.stopPropagation(),o!==`working`){if(typeof navigator>`u`||!navigator.clipboard||typeof navigator.clipboard.writeText!=`function`){s(`failed`),l(Wo);return}s(`working`);try{let t=await e();await navigator.clipboard.writeText(t),s(`copied`),l(Uo)}catch(e){console.error(`CopyMarkdownButton: failed to copy`,e),s(`failed`),l(Wo)}}},[e,l,o,i]),d=o===`working`?`Copying…`:o===`copied`?`Copied!`:o===`failed`?`Failed`:t;return(0,T.jsx)(`button`,{type:`button`,className:[`btn`,`btn-sm`,`copy-btn`,a?`copy-btn--icon`:``,o===`copied`?`copy-btn--copied`:``,o===`failed`?`copy-btn--failed`:``,n||``].filter(Boolean).join(` `),title:r??(a?d:void 0),"aria-label":a?d:void 0,disabled:o===`working`,onClick:u,children:a?o===`copied`?(0,T.jsx)(qo,{}):o===`failed`?(0,T.jsx)(Jo,{}):(0,T.jsx)(Ko,{}):d})}function Xo(e){if(e.startsWith(`source_kind:`)){let t=e.split(`:`)[1];return`Source type: ${{UserInput:`User Input`,EnvironmentConfig:`Environment/Config`,Database:`Database`,FileSystem:`File System`,CaughtException:`Caught Exception`,Unknown:`Unclassified`}[t]||t}`}return e.startsWith(`hop_count:`)?`Path length: ${e.split(`:`)[1]} blocks`:e===`uses_summary`?`Uses cross-file summary`:e===`path_validated`?`Path has validation guard`:e.startsWith(`cap_specificity:`)?`Cap specificity: ${e.split(`:`)[1]}`:e.startsWith(`degraded:`)?`Degraded analysis: ${e.split(`:`)[1]}`:e}function Zo(e){let t=e.indexOf(`
`);return t===-1?e:e.slice(0,t)}function Qo(e,t){return`\`\`\`${(e||``).toLowerCase()}\n${t}\n\`\`\``}function $o(e,t){let n=`\`${e.path}:${e.line}:${e.col}\` (kind: ${e.kind})`;return e.snippet?`${n}\n${Qo(t,e.snippet)}`:n}function es(e,t){let n=[];if(e.explanation&&n.push(`### Explanation\n${e.explanation}`),e.source||e.sink||e.guards&&e.guards.length>0||e.sanitizers&&e.sanitizers.length>0||e.state){let r=[`### Evidence`];if(e.source&&r.push(`**Source** — ${$o(e.source,t)}`),e.sink&&r.push(`**Sink** — ${$o(e.sink,t)}`),e.source||e.sink){if(!e.guards||e.guards.length===0)r.push(`**Guards**: none`);else{r.push(`**Guards**:`);for(let n of e.guards)r.push(`- ${$o(n,t)}`)}if(!e.sanitizers||e.sanitizers.length===0)r.push(`**Sanitizers**: none`);else{r.push(`**Sanitizers**:`);for(let n of e.sanitizers)r.push(`- ${$o(n,t)}`)}}if(e.state){let t=e.state,n=t.subject?` ${t.subject}:`:``;r.push(`**State**: ${t.machine} —${n} ${t.from_state} → ${t.to_state}`)}n.push(r.join(`
`))}if(e.confidence_limiters&&e.confidence_limiters.length>0){let t=[`**Confidence limiters**:`];for(let n of e.confidence_limiters)t.push(`- ${n}`);n.push(t.join(`
`))}return n.join(`
`)}function ts(e){let t=[`### Flow (${e.length} steps)`];for(let n of e){let e=[`${n.step}. **${n.kind}** \`${n.file}:${n.line}\``];n.snippet&&e.push(`— \`${n.snippet}\``),n.variable&&e.push(`(var \`${n.variable}\`)`),n.callee&&e.push(`(callee \`${n.callee}\`)`),n.is_cross_file&&e.push(`[cross-file]`),t.push(e.join(` `))}return t.join(`
`)}function ns(e,t){let n=String(e.start_line+e.lines.length-1).length,r=e.lines.map((t,r)=>{let i=e.start_line+r,a=i===e.highlight_line?`>`:` `;return`${String(i).padStart(n,` `)}${a} ${t}`}).join(`
`);return`### Code context (lines ${e.start_line}–${e.start_line+e.lines.length-1}, highlight line ${e.highlight_line})\n${Qo(t,r)}`}function rs(e){let t=[`### Related findings`];for(let n of e)t.push(`- \`#${n.index}\` \`${n.rule_id}\` — \`${n.path}:${n.line}\` (${n.severity})`);return t.join(`
`)}function is(e){let t=e.language,n=Zo(e.message||``).trim()||e.category,r=[];r.push(`## ${e.rule_id} — ${n}`);let i=[];if(i.push(`- **Rule**: \`${e.rule_id}\` (category: \`${e.category}\`)`),i.push(`- **Severity**: ${e.severity} | **Confidence**: ${e.confidence??`unknown`}`),i.push(`- **Location**: \`${e.path}:${e.line}:${e.col}\``),i.push(`- **Language**: ${e.language??`unknown`}`),i.push(`- **Status**: ${e.status} | **Triage**: ${e.triage_state||`open`}`),i.push(`- **Fingerprint**: \`${e.fingerprint}\``),e.sanitizer_status&&i.push(`- **Sanitizer status**: ${e.sanitizer_status}`),r.push(i.join(`
`)),e.message&&r.push(`### Message\n${e.message}`),e.evidence){let n=es(e.evidence,t);n&&r.push(n),e.evidence.flow_steps&&e.evidence.flow_steps.length>0&&r.push(ts(e.evidence.flow_steps))}if(e.code_context&&r.push(ns(e.code_context,t)),e.labels&&e.labels.length>0){let t=[`### Labels`];for(let[n,r]of e.labels)t.push(`- \`${n}\`: \`${r}\``);r.push(t.join(`
`))}if(e.evidence?.notes&&e.evidence.notes.length>0){let t=[`### Notes`];for(let n of e.evidence.notes)t.push(`- ${Xo(n)}`);r.push(t.join(`
`))}if(e.triage_note&&r.push(`### Triage note\n${e.triage_note}`),e.confidence&&(e.rank_score!=null||e.rank_reason&&e.rank_reason.length>0)){let t=[`### Confidence reasoning`];if(e.rank_score!=null&&t.push(`Score: ${e.rank_score.toFixed(1)}`),e.rank_reason&&e.rank_reason.length>0)for(let[n,r]of e.rank_reason)t.push(`- **${n}**: ${r}`);r.push(t.join(`
`))}return e.related_findings&&e.related_findings.length>0&&r.push(rs(e.related_findings)),r.join(`
`)}function as(e){let t=`# Nyx findings (${e.length})`;return e.length===0?`${t}\n\n(none)`:[t,...e.map(is)].join(`
---
`)}function os(e){return(e||`open`).replace(/_/g,` `)}function ss({id:e,label:t,values:n,current:r,onChange:i}){return!n||n.length===0?null:(0,T.jsxs)(`select`,{id:e,value:r,onChange:e=>i(e.target.value),children:[(0,T.jsxs)(`option`,{value:``,children:[`All `,t]}),n.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))]})}var cs=[{value:`investigating`,label:`Investigating`},{value:`false_positive`,label:`Mark as False Positive`},{value:`accepted_risk`,label:`Accept Risk`}];function ls({selectedCount:e,sharedStatus:t,onBulkTriage:n,onSuppressByPattern:r,onBulkCopy:i}){let a=e===0;return(0,T.jsxs)(`div`,{className:`bulk-action-bar${e>0?` visible`:``}`,"aria-hidden":a,children:[(0,T.jsxs)(`span`,{className:`bulk-count`,children:[e,` selected`]}),(0,T.jsxs)(`div`,{className:`bulk-actions`,children:[(0,T.jsx)(Vo,{align:`right`,trigger:({open:e})=>(0,T.jsxs)(`button`,{type:`button`,className:`btn btn-sm bulk-menu-btn`,disabled:a,children:[`Status`,(0,T.jsx)(`span`,{className:`bulk-caret${e?` bulk-caret--open`:``}`,children:`▾`})]}),children:({close:e})=>cs.map(r=>(0,T.jsx)(Ho,{checked:t===r.value,onClick:()=>{n(r.value),e()},children:r.label},r.value))}),(0,T.jsx)(Vo,{align:`right`,trigger:({open:e})=>(0,T.jsxs)(`button`,{type:`button`,className:`btn btn-sm bulk-menu-btn bulk-menu-btn--warning`,disabled:a,children:[`Suppress`,(0,T.jsx)(`span`,{className:`bulk-caret${e?` bulk-caret--open`:``}`,children:`▾`})]}),children:({close:e})=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(Ho,{tone:`warning`,onClick:()=>{n(`suppressed`),e()},children:`Suppress this finding`}),(0,T.jsx)(Ho,{tone:`warning`,hint:`advanced`,onClick:()=>{r(),e()},children:`Suppress by pattern`})]})}),(0,T.jsx)(`div`,{className:`bulk-divider`,"aria-hidden":!0}),(0,T.jsx)(Yo,{className:`bulk-copy-btn`,iconOnly:!0,label:`Copy selected as markdown`,title:`Copy selected as markdown`,getMarkdown:i})]})]})}function us({rules:e,files:t,onSuppress:n,onClose:r}){let[i,a]=(0,w.useState)(``);return(0,T.jsx)(`div`,{className:`suppress-modal-overlay`,onClick:e=>{e.target===e.currentTarget&&r()},children:(0,T.jsxs)(`div`,{className:`suppress-modal`,children:[(0,T.jsx)(`h3`,{children:`Suppress by Pattern`}),(0,T.jsxs)(`div`,{className:`suppress-options`,children:[e.map(e=>(0,T.jsxs)(`button`,{className:`btn btn-sm suppress-opt`,onClick:()=>n(`rule`,e,i),children:[`By rule: `,e]},`rule-${e}`)),t.map(e=>(0,T.jsxs)(`button`,{className:`btn btn-sm suppress-opt`,onClick:()=>n(`file`,e,i),children:[`By file: `,ro(e,40)]},`file-${e}`))]}),(0,T.jsx)(`textarea`,{placeholder:`Note (optional)...`,rows:2,style:{width:`100%`,marginTop:`var(--space-3)`},value:i,onChange:e=>a(e.target.value)}),(0,T.jsx)(`div`,{style:{display:`flex`,gap:`var(--space-2)`,marginTop:`var(--space-3)`},children:(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:r,children:`Cancel`})})]})})}function ds({column:e,label:t,currentSort:n,currentDir:r,onSort:i}){let a=n===e,o=a?r===`desc`?`↓`:`↑`:``;return(0,T.jsxs)(`th`,{className:`sortable${a?` active`:``}`,onClick:()=>{i(e,n===e&&r===`asc`?`desc`:`asc`)},children:[t,o&&(0,T.jsx)(`span`,{className:`sort-arrow`,children:o})]})}function lee(){vo(`Findings`);let e=Hn(),t=ot(),n=Ki(),{state:r,updateState:i,resetFilters:a,hasActiveFilters:o}=Do(),[s,c]=(0,w.useState)(r.search),l=Oo(s,300);(0,w.useEffect)(()=>{l!==r.search&&i({search:l})},[l]),(0,w.useEffect)(()=>{c(r.search)},[r.search]);let{data:u,isLoading:d,isError:f,error:p}=Ao((0,w.useMemo)(()=>({page:Number(r.page)||1,per_page:Number(r.per_page)||50,sort_by:r.sort_by||void 0,sort_dir:r.sort_dir===`asc`?void 0:r.sort_dir,severity:r.severity||void 0,category:r.category||void 0,confidence:r.confidence||void 0,language:r.language||void 0,rule_id:r.rule_id||void 0,status:r.status||void 0,search:r.search||void 0}),[r])),{data:m}=No(),[h,g]=(0,w.useState)(new Set);(0,w.useEffect)(()=>{g(new Set)},[u]);let _=Po(),v=Fo(),[y,b]=(0,w.useState)(!1),x=(0,w.useCallback)(e=>{g(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),S=(0,w.useCallback)(e=>{u&&g(e?new Set(u.findings.map(e=>e.index)):new Set)},[u]),ee=u!=null&&u.findings.length>0&&u.findings.every(e=>h.has(e.index)),te=(0,w.useMemo)(()=>{if(!u||h.size===0)return null;let e=new Set(u.findings.filter(e=>h.has(e.index)).map(e=>e.triage_state||e.status));return e.size===1?[...e][0]:null},[u,h]),ne=(0,w.useCallback)(()=>u?u.findings.filter(e=>h.has(e.index)).map(e=>e.fingerprint):[],[u,h]),C=(0,w.useCallback)(e=>{let t=ne();t.length!==0&&_.mutate({fingerprints:t,state:e,note:``},{onSuccess:()=>{g(new Set),n.success(`Marked ${t.length} finding${t.length===1?``:`s`} as ${e.replace(`_`,` `)}`)},onError:e=>n.error(e instanceof Error?e.message:`Bulk triage failed`,`Could not update findings`)})},[ne,_,n]),re=(0,w.useCallback)(()=>{h.size===0||!u||b(!0)},[h.size,u]),ie=(0,w.useCallback)(async()=>{let e=u?.findings.filter(e=>h.has(e.index)).map(e=>e.index)??[];return as((await Promise.allSettled(e.map(e=>Mo(t,e)))).filter(e=>e.status===`fulfilled`).map(e=>e.value))},[u,h,t]),ae=(0,w.useMemo)(()=>{if(!u)return[];let e=u.findings.filter(e=>h.has(e.index));return[...new Set(e.map(e=>e.rule_id))]},[u,h]),oe=(0,w.useMemo)(()=>{if(!u)return[];let e=u.findings.filter(e=>h.has(e.index));return[...new Set(e.map(e=>e.path))]},[u,h]),se=(0,w.useCallback)((e,t,r)=>{v.mutate({by:e,value:t,note:r},{onSuccess:()=>{b(!1),g(new Set),n.success(`Added suppression by ${e}`)},onError:e=>n.error(e instanceof Error?e.message:`Suppression failed`,`Could not add suppression`)})},[v,n]),ce=(0,w.useCallback)((e,t)=>{i({sort_by:e,sort_dir:t})},[i]),le=(0,w.useCallback)((e,t)=>{i({[e]:t})},[i]),ue=(0,w.useCallback)((t,n)=>{t.target.tagName!==`INPUT`&&e(`/findings/${n.index}`)},[e]),de=(0,w.useRef)(null),[fe,pe]=(0,w.useState)(-1);if((0,w.useEffect)(()=>{pe(-1)},[u]),Va((0,w.useMemo)(()=>[{key:`/`,description:`Focus search`,handler:()=>de.current?.focus()},{key:`j`,description:`Next finding`,handler:()=>{!u||u.findings.length===0||pe(e=>Math.min(e+1,u.findings.length-1))}},{key:`k`,description:`Previous finding`,handler:()=>{!u||u.findings.length===0||pe(e=>Math.max(e-1,0))}},{key:`Enter`,description:`Open highlighted finding`,handler:()=>{let t=u?.findings[fe];t&&e(`/findings/${t.index}`)}}],[u,fe,e])),d)return(0,T.jsx)(Za,{message:`Loading findings...`});if(f)return p instanceof ua&&p.status===404?(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No scan results yet`}),(0,T.jsx)(`p`,{children:`Run a scan first to see findings.`})]}):(0,T.jsx)($a,{title:`Error`,error:p});if(!u)return null;let me=u.page;return Math.ceil(u.total/u.per_page),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`page-header`,children:[(0,T.jsx)(`h2`,{children:`Findings`}),(0,T.jsxs)(`span`,{className:`filter-count`,children:[u.total,` finding`,u.total===1?``:`s`,o?` (filtered)`:``]})]}),(0,T.jsxs)(`div`,{className:`filter-bar`,children:[(0,T.jsx)(`input`,{type:`text`,ref:de,placeholder:`Search findings... (/)`,className:`search-input`,value:s,onChange:e=>c(e.target.value)}),(0,T.jsx)(ss,{id:`filter-severity`,label:`Severities`,values:m?.severities,current:r.severity,onChange:e=>le(`severity`,e)}),(0,T.jsx)(ss,{id:`filter-confidence`,label:`Confidences`,values:m?.confidences,current:r.confidence,onChange:e=>le(`confidence`,e)}),(0,T.jsx)(ss,{id:`filter-category`,label:`Categories`,values:m?.categories,current:r.category,onChange:e=>le(`category`,e)}),(0,T.jsx)(ss,{id:`filter-language`,label:`Languages`,values:m?.languages,current:r.language,onChange:e=>le(`language`,e)}),(0,T.jsx)(ss,{id:`filter-rule`,label:`Rules`,values:m?.rules,current:r.rule_id,onChange:e=>le(`rule_id`,e)}),(0,T.jsx)(ss,{id:`filter-status`,label:`Statuses`,values:m?.statuses,current:r.status,onChange:e=>le(`status`,e)}),o&&(0,T.jsx)(`button`,{className:`btn btn-sm btn-clear`,onClick:a,children:`Clear All`})]}),(0,T.jsx)(ls,{selectedCount:h.size,sharedStatus:te,onBulkTriage:C,onSuppressByPattern:re,onBulkCopy:ie}),u.findings.length===0?(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No findings`}),(0,T.jsx)(`p`,{children:`Run a scan to see results, or adjust your filters.`})]}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`table-wrap`,children:(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{className:`col-checkbox`,children:(0,T.jsx)(`input`,{type:`checkbox`,checked:ee,onChange:e=>S(e.target.checked)})}),(0,T.jsx)(ds,{column:`severity`,label:`Severity`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`confidence`,label:`Confidence`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`rule_id`,label:`Rule`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`category`,label:`Category`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`file`,label:`File`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`line`,label:`Line`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`language`,label:`Language`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce}),(0,T.jsx)(ds,{column:`status`,label:`Status`,currentSort:r.sort_by,currentDir:r.sort_dir,onSort:ce})]})}),(0,T.jsx)(`tbody`,{children:u.findings.map((e,t)=>(0,T.jsxs)(`tr`,{className:`clickable${h.has(e.index)?` selected`:``}${t===fe?` cursor`:``}`,"aria-current":t===fe?`true`:void 0,onClick:t=>ue(t,e),children:[(0,T.jsx)(`td`,{className:`col-checkbox`,children:(0,T.jsx)(`input`,{type:`checkbox`,checked:h.has(e.index),onChange:()=>x(e.index)})}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge badge-${e.severity.toLowerCase()}`,children:e.severity})}),(0,T.jsx)(`td`,{children:e.confidence?(0,T.jsx)(`span`,{className:`badge badge-conf-${e.confidence.toLowerCase()}`,children:e.confidence}):`-`}),(0,T.jsx)(`td`,{title:e.message||``,children:e.rule_id}),(0,T.jsx)(`td`,{children:e.category}),(0,T.jsx)(`td`,{className:`cell-path`,title:e.path,children:ro(e.path)}),(0,T.jsx)(`td`,{children:e.line}),(0,T.jsx)(`td`,{children:e.language||`-`}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge badge-triage-${e.triage_state||e.status}`,children:os(e.triage_state||e.status)})})]},e.index))})]})}),(0,T.jsx)(Bo,{page:me,perPage:u.per_page,total:u.total,onPageChange:e=>i({page:String(e)}),onPerPageChange:e=>i({per_page:String(e)})})]}),y&&(0,T.jsx)(us,{rules:ae,files:oe,onSuppress:se,onClose:()=>b(!1)})]})}var fs=2e4,ps={javascript:{keywords:/\b(const|let|var|function|return|if|else|for|while|do|switch|case|break|continue|new|this|class|extends|import|export|from|default|try|catch|finally|throw|async|await|yield|typeof|instanceof|in|of|null|undefined|true|false)\b/g,strings:/(["'`])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(\/\/.*$|\/\*[\s\S]*?\*\/)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?)\b/gi},python:{keywords:/\b(def|class|return|if|elif|else|for|while|import|from|as|try|except|finally|raise|with|yield|lambda|pass|break|continue|and|or|not|in|is|None|True|False|self|async|await|global|nonlocal)\b/g,strings:/("""[\s\S]*?"""|'''[\s\S]*?'''|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/g,comments:/(#.*$)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?)\b/gi},go:{keywords:/\b(func|return|if|else|for|range|switch|case|default|break|continue|go|defer|select|chan|map|struct|interface|package|import|var|const|type|nil|true|false|make|new|append|len|cap|error)\b/g,strings:/(["'`])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(\/\/.*$|\/\*[\s\S]*?\*\/)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?)\b/gi},java:{keywords:/\b(public|private|protected|static|final|abstract|class|interface|extends|implements|return|if|else|for|while|do|switch|case|break|continue|new|this|super|try|catch|finally|throw|throws|import|package|void|int|long|double|float|boolean|char|byte|short|String|null|true|false|instanceof|synchronized|volatile|transient)\b/g,strings:/(["'])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(\/\/.*$|\/\*[\s\S]*?\*\/)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?[lLfFdD]?)\b/g},rust:{keywords:/\b(fn|let|mut|const|static|return|if|else|for|while|loop|match|break|continue|use|mod|pub|crate|self|super|struct|enum|impl|trait|where|type|as|in|ref|move|async|await|unsafe|extern|dyn|true|false|None|Some|Ok|Err|Self)\b/g,strings:/(["'])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(\/\/.*$|\/\*[\s\S]*?\*\/)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?(?:_\d+)*[uif]?\d*)\b/g},php:{keywords:/\b(function|return|if|else|elseif|for|foreach|while|do|switch|case|break|continue|class|extends|implements|new|public|private|protected|static|echo|print|require|include|use|namespace|try|catch|finally|throw|null|true|false|array|isset|empty|unset)\b/g,strings:/(["'])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(\/\/.*$|#.*$|\/\*[\s\S]*?\*\/)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?)\b/gi},ruby:{keywords:/\b(def|end|class|module|return|if|elsif|else|unless|for|while|until|do|begin|rescue|ensure|raise|yield|block_given\?|require|include|extend|attr_accessor|attr_reader|attr_writer|self|nil|true|false|and|or|not|in|then|when|case)\b/g,strings:/(["'])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(#.*$)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?)\b/gi},c:{keywords:/\b(int|char|float|double|void|long|short|unsigned|signed|const|static|extern|struct|union|enum|typedef|return|if|else|for|while|do|switch|case|break|continue|goto|sizeof|NULL|true|false|include|define|ifdef|ifndef|endif)\b/g,strings:/(["'])(?:(?!\1|\\).|\\.)*?\1/g,comments:/(\/\/.*$|\/\*[\s\S]*?\*\/)/gm,numbers:/\b(\d+\.?\d*(?:e[+-]?\d+)?[uUlLfF]*)\b/g}};ps.typescript=ps.javascript,ps[`c++`]=ps.c;function ms(e,t){let n=ps[t];if(!n||e.length>fs)return e;let r=[],i=(t,n)=>{t.lastIndex=0;let i;for(;(i=t.exec(e))!==null;)r.push({start:i.index,end:i.index+i[0].length,cls:n,text:i[0]})};i(n.comments,`tok-comment`),i(n.strings,`tok-string`),i(n.keywords,`tok-keyword`),i(n.numbers,`tok-number`),r.sort((e,t)=>e.start-t.start);let a=[],o=0;for(let e of r)e.start>=o&&(a.push(e),o=e.end);let s=``,c=0;for(let t of a)s+=e.slice(c,t.start),s+=`<span class="${t.cls}">${t.text}</span>`,c=t.end;return s+=e.slice(c),s}function hs(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`)}function gs({filePath:e,findings:t,highlights:n,highlightLine:r,flowLines:i,language:a,className:o,initialScrollTop:s,onScrollPositionChange:c}){let l=(0,w.useRef)(null),{data:u,isLoading:d,error:f}=xt({queryKey:[`files`,e],queryFn:({signal:t})=>ha(`/files?path=${encodeURIComponent(e)}`,t),enabled:!!e,staleTime:5*6e4}),p=r??n?.findingLine;(0,w.useEffect)(()=>{if(!u||!p||!l.current)return;let e=requestAnimationFrame(()=>{let e=l.current?.querySelector(`[data-line="${p}"]`);e&&e.scrollIntoView({block:`center`,behavior:`smooth`})});return()=>cancelAnimationFrame(e)},[u,p]),(0,w.useEffect)(()=>{if(!u||p||s==null||!l.current)return;let e=requestAnimationFrame(()=>{l.current&&(l.current.scrollTop=s)});return()=>cancelAnimationFrame(e)},[u,s,p]);let m=new Map;if(t)for(let e of t){let t=m.get(e.line);(!t||_s(e.severity)>_s(t.severity))&&m.set(e.line,e)}let h=(a||``).toLowerCase();return d?(0,T.jsx)(`div`,{className:o,style:{padding:40,textAlign:`center`},children:`Loading file...`}):f?(0,T.jsx)(`div`,{className:o,children:(0,T.jsx)(`div`,{className:`error-state`,style:{padding:40},children:(0,T.jsxs)(`p`,{children:[`Could not load file:`,` `,f instanceof Error?f.message:`Unknown error`]})})}):u?(0,T.jsx)(`div`,{className:`code-viewer-body ${o||``}`,ref:l,onScroll:e=>c?.(e.currentTarget.scrollTop),children:u.lines.map(e=>{let t=`code-line`;n?e.number===n.sourceLine?t+=` highlight-source`:e.number===n.sinkLine?t+=` highlight-sink`:e.number===n.findingLine?t+=` highlight-finding`:i?.has(e.number)&&(t+=` highlight-flow`):r&&e.number===r&&(t+=` highlight-finding`);let a=m.get(e.number);return(0,T.jsxs)(`div`,{className:t,"data-line":e.number,children:[(0,T.jsx)(`span`,{className:`line-gutter`,children:a?(0,T.jsx)(`span`,{className:`gutter-marker sev-${a.severity.toLowerCase()}`,title:`${a.rule_id}: ${a.message||a.category}`}):(0,T.jsx)(`span`,{className:`gutter-marker-spacer`})}),(0,T.jsx)(`span`,{className:`line-number`,children:e.number}),(0,T.jsx)(`span`,{className:`line-content`,dangerouslySetInnerHTML:{__html:ms(hs(e.content),h)}})]},e.number)})}):null}function _s(e){switch(e.toUpperCase()){case`HIGH`:return 3;case`MEDIUM`:return 2;case`LOW`:return 1;default:return 0}}function vs({open:e,onClose:t,finding:n}){return!e||!n?null:(0,T.jsx)(ka,{open:e,onClose:t,className:`code-modal-overlay`,children:(0,T.jsxs)(`div`,{className:`code-modal`,children:[(0,T.jsxs)(`div`,{className:`code-modal-header`,children:[(0,T.jsx)(`span`,{className:`code-modal-title`,children:n.path}),(0,T.jsx)(`button`,{className:`btn btn-sm code-modal-close`,onClick:t,children:`Close`})]}),(0,T.jsx)(`div`,{className:`code-modal-body`,children:(0,T.jsx)(gs,{filePath:n.path,language:n.language||``,highlights:{sourceLine:n.evidence?.source?.line,sinkLine:n.evidence?.sink?.line,findingLine:n.line},highlightLine:n.line})})]})})}function ys(e){return(e||`open`).replace(/_/g,` `)}var bs=[{heading:`Active`,options:[{value:`open`,label:`Open`},{value:`investigating`,label:`Investigating`}]},{heading:`Resolved`,options:[{value:`fixed`,label:`Fixed`},{value:`false_positive`,label:`False Positive`},{value:`accepted_risk`,label:`Accepted Risk`},{value:`suppressed`,label:`Suppressed`}]}];function xs(e){return e.rule_id.startsWith(`state-`)}var Ss={"state-use-after-close":[`Do not access the resource after calling close/free.`,`Restructure so every use happens before release.`,`Consider a language-native cleanup pattern (defer, with, try-with-resources, RAII).`],"state-double-close":[`Remove the duplicate close call, or guard with a null/closed check.`,`Centralize cleanup in a single code path to avoid repeats.`],"state-resource-leak":[`Add a close/free call before every function exit.`,`Prefer a language-native cleanup pattern (defer, with, try-with-resources, RAII).`],"state-resource-leak-possible":[`Ensure the resource is closed on all code paths — including error and early-return paths.`,`Put cleanup in a finally/defer block rather than after the happy path.`],"state-unauthed-access":[`Add an authentication check before the sensitive operation.`,`Move this handler behind an auth middleware or guard.`]},Cs={"state-use-after-close":`Variable used after its resource handle was closed`,"state-double-close":`Resource handle closed more than once`,"state-resource-leak":`Resource acquired but never closed`,"state-resource-leak-possible":`Resource may not be closed on all paths`,"state-unauthed-access":`Sensitive operation reached without authentication`};function ws({title:e,defaultOpen:t=!0,children:n}){let[r,i]=(0,w.useState)(t);return(0,T.jsxs)(`div`,{className:`detail-section`,children:[(0,T.jsxs)(`div`,{className:`section-toggle`,onClick:()=>i(e=>!e),children:[(0,T.jsx)(`span`,{className:`toggle-arrow${r?``:` collapsed`}`,children:`▼`}),` `,e]}),(0,T.jsx)(`div`,{className:`section-body${r?``:` collapsed`}`,children:n})]})}function Ts({kind:e,color:t,span:n}){return(0,T.jsxs)(`div`,{className:`evidence-card`,children:[(0,T.jsx)(`div`,{className:`evidence-kind`,style:{color:t},children:e}),(0,T.jsxs)(`div`,{children:[n.path,`:`,n.line,`:`,n.col]}),n.snippet&&(0,T.jsx)(`div`,{className:`evidence-snippet`,children:n.snippet})]})}function Es({evidence:e,ruleId:t}){let n=e.state;if(!n)return null;let r=n.machine===`auth`?`Authentication State`:`Resource Lifecycle`,i=t.includes(`leak`)&&e.sink?`${e.sink.path}:${e.sink.line}:${e.sink.col}`:null;return(0,T.jsxs)(`div`,{className:`state-transition-card`,children:[(0,T.jsx)(`div`,{className:`state-machine-label`,children:r}),n.subject&&(0,T.jsxs)(`div`,{className:`state-subject`,children:[(0,T.jsx)(`span`,{className:`state-subject-label`,children:`Variable:`}),(0,T.jsx)(`code`,{className:`state-subject-name`,children:n.subject})]}),(0,T.jsxs)(`div`,{className:`state-transition-visual`,children:[(0,T.jsx)(`span`,{className:`state-from`,children:n.from_state}),(0,T.jsx)(`span`,{className:`state-arrow`,children:`→`}),(0,T.jsx)(`span`,{className:`state-to`,children:n.to_state})]}),i&&(0,T.jsxs)(`div`,{className:`state-acquire-location`,children:[`Acquired at: `,i]})]})}function Ds({evidence:e,skipStateCard:t}){let n=[];e.source&&n.push((0,T.jsx)(Ts,{kind:`Source`,color:`var(--success)`,span:e.source},`source`)),e.sink&&n.push((0,T.jsx)(Ts,{kind:`Sink`,color:`var(--sev-high)`,span:e.sink},`sink`));for(let t=0;t<(e.guards?.length??0);t++)n.push((0,T.jsx)(Ts,{kind:`Guard`,color:`var(--accent)`,span:e.guards[t]},`guard-${t}`));for(let t=0;t<(e.sanitizers?.length??0);t++)n.push((0,T.jsx)(Ts,{kind:`Sanitizer`,color:`var(--sev-medium)`,span:e.sanitizers[t]},`sanitizer-${t}`));if(e.state&&!t){let t=e.state;n.push((0,T.jsxs)(`div`,{className:`evidence-card`,children:[(0,T.jsxs)(`div`,{className:`evidence-kind`,children:[`State: `,t.machine]}),(0,T.jsxs)(`div`,{children:[t.subject?`${t.subject}: `:``,t.from_state,` → `,t.to_state]})]},`state`))}return n.length===0?null:(0,T.jsx)(T.Fragment,{children:n})}function Os({evidence:e}){return!e.notes||e.notes.length===0?null:(0,T.jsx)(`ul`,{style:{listStyle:`disc`,paddingLeft:20,margin:0},children:e.notes.map((e,t)=>(0,T.jsx)(`li`,{className:`evidence-note`,children:Xo(e)},t))})}function ks({finding:e}){if(!e.confidence)return null;let t=e.evidence?.confidence_limiters,n=t&&t.length>0&&e.confidence!==`High`;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`span`,{className:`badge badge-conf-${e.confidence.toLowerCase()}`,children:e.confidence}),e.rank_score!=null&&(0,T.jsxs)(`span`,{style:{marginLeft:`var(--space-2)`,fontSize:`var(--text-sm)`,color:`var(--text-secondary)`},children:[`Score: `,e.rank_score.toFixed(1)]}),e.rank_reason&&e.rank_reason.length>0&&(0,T.jsx)(`div`,{style:{marginTop:`var(--space-2)`},children:e.rank_reason.map(([e,t],n)=>(0,T.jsxs)(`div`,{className:`evidence-note`,children:[(0,T.jsxs)(`strong`,{children:[e,`:`]}),` `,t]},n))}),n&&(0,T.jsxs)(`div`,{style:{marginTop:`var(--space-3)`},children:[(0,T.jsx)(`strong`,{style:{fontSize:`var(--text-sm)`,color:`var(--text-secondary)`},children:`Why not higher confidence?`}),(0,T.jsx)(`ul`,{className:`confidence-limiters`,children:t.map((e,t)=>(0,T.jsx)(`li`,{children:e},t))})]})]})}function As(e){return`${e.snippet?.trim()||e.kind||e.path.split(`/`).pop()||e.path} (line ${e.line})`}function js({finding:e,evidence:t}){let n=[];t.source&&n.push({label:`From`,value:(0,T.jsx)(`code`,{className:`struct-expl-code`,children:As(t.source)})}),t.sink&&n.push({label:`Into`,value:(0,T.jsx)(`code`,{className:`struct-expl-code`,children:As(t.sink)})}),n.push({label:`Risk`,value:Ms(e,t)});let r=Ns(e,t);return r&&n.push({label:`Notes`,value:r}),n.length===0?null:(0,T.jsx)(`dl`,{className:`struct-expl`,children:n.map((e,t)=>(0,T.jsxs)(`div`,{className:`struct-expl-row`,children:[(0,T.jsx)(`dt`,{children:e.label}),(0,T.jsx)(`dd`,{children:e.value})]},t))})}function Ms(e,t){return t.explanation?t.explanation:e.message?e.message:(e.category?.toLowerCase()||``).includes(`security`)?`Potential injection or unsafe-operation vulnerability.`:`${e.category} issue.`}function Ns(e,t){let n=[];return t.flow_steps?.some(e=>e.is_cross_file)&&n.push(`Crosses function boundaries via summary resolution.`),e.sanitizer_status===`none`?n.push(`No sanitizer was applied to this flow.`):e.sanitizer_status===`bypassed`&&n.push(`A sanitizer was present but was bypassed.`),e.guard_kind&&n.push(`Guard: ${e.guard_kind}.`),n.length?n.join(` `):null}var Ps={source:`var(--success)`,assignment:`var(--accent)`,call:`var(--sev-medium)`,phi:`var(--text-tertiary)`,sink:`var(--sev-high)`},Fs={source:`Source`,assignment:`Assign`,call:`Call`,phi:`Phi`,sink:`Sink`},Is=5;function Ls({steps:e}){let[t,n]=(0,w.useState)(e.length<=Is);if(e.length===0)return null;let r=e.length>Is,i=(()=>{if(!r||t)return e;let n=e.findIndex(e=>e.kind===`source`),i=[...e].map((e,t)=>({s:e,i:t})).reverse().find(({s:e})=>e.kind===`sink`)?.i,a=new Set;return n>=0&&a.add(n),i!=null&&a.add(i),a.add(0),a.add(e.length-1),[...a].sort((e,t)=>e-t).map(t=>e[t])})();return(0,T.jsxs)(`div`,{className:`flow-timeline`,children:[i.map((e,t)=>{let n=Ps[e.kind]||`var(--text-secondary)`,r=Fs[e.kind]||e.kind,a=t===i.length-1,o=e.kind===`source`||e.kind===`sink`;return(0,T.jsxs)(`div`,{className:[`flow-step`,e.is_cross_file?`flow-step-cross-file`:``,o?`flow-step-endpoint flow-step-${e.kind}`:``].filter(Boolean).join(` `),children:[(0,T.jsxs)(`div`,{className:`flow-step-connector`,children:[(0,T.jsx)(`div`,{className:`flow-step-dot`,style:{background:n}}),!a&&(0,T.jsx)(`div`,{className:`flow-step-line`})]}),(0,T.jsxs)(`div`,{className:`flow-step-card`,children:[(0,T.jsxs)(`div`,{className:`flow-step-header`,children:[(0,T.jsx)(`span`,{className:`flow-step-badge`,style:{color:n},children:r}),(0,T.jsxs)(`span`,{className:`flow-step-num`,children:[`#`,e.step]}),e.variable&&(0,T.jsx)(`span`,{className:`flow-step-var`,children:e.variable}),e.callee&&(0,T.jsx)(`span`,{className:`flow-step-callee`,children:e.callee})]}),(0,T.jsxs)(`div`,{className:`flow-step-loc`,children:[e.file,`:`,e.line,`:`,e.col,e.function?` in ${e.function}`:``]}),e.snippet&&(0,T.jsx)(`div`,{className:`flow-step-snippet`,children:e.snippet})]})]},`${e.step}-${t}`)}),r&&(0,T.jsx)(`button`,{type:`button`,className:`flow-expand-toggle`,onClick:()=>n(e=>!e),children:t?`Collapse (${e.length} steps)`:`Show all ${e.length} steps`})]})}function Rs({findings:e}){let t=Hn();return e.length===0?null:(0,T.jsx)(T.Fragment,{children:e.map(e=>(0,T.jsxs)(`div`,{className:`related-row`,onClick:()=>t(`/findings/${e.index}`),children:[(0,T.jsx)(`span`,{className:`badge badge-${e.severity.toLowerCase()}`,children:e.severity.charAt(0)}),(0,T.jsx)(`span`,{style:{fontSize:`var(--text-xs)`},children:e.rule_id}),(0,T.jsxs)(`span`,{className:`cell-path`,style:{fontSize:`var(--text-xs)`,maxWidth:200},children:[ro(e.path,30),`:`,e.line]})]},e.index))})}function zs({lines:e,startLine:t,highlightLine:n,language:r}){let i=(r||``).toLowerCase();return(0,T.jsx)(`div`,{className:`code-block`,children:e.map((e,r)=>{let a=t+r;return(0,T.jsxs)(`div`,{className:`code-line${a===n?` highlight`:``}`,children:[(0,T.jsx)(`span`,{className:`line-number`,children:a}),(0,T.jsx)(`span`,{className:`line-content`,dangerouslySetInnerHTML:{__html:ms(hs(e),i)}})]},a)})})}function Bs(e){let t=(e.evidence?.sink?.snippet||``).toLowerCase(),n=e.rule_id.toLowerCase();return n.includes(`data-exfiltration`)||n.includes(`exfil`)?`data-exfil`:/innerhtml|outerhtml|document\.write|dangerouslysetinnerhtml/.test(t)?`xss`:/\beval\b|new function|settimeout\s*\(\s*["'`]/.test(t)?`code-exec`:/\bexec\b|\bspawn\b|\bsystem\b|\bpopen\b|shell_exec|subprocess/.test(t)?`cmd-inject`:/query|execute|raw|prepare.*%|select\s|insert\s|update\s|delete\s/i.test(t)?`sql`:/readfile|fs\.|open\s*\(|path\.join/.test(t)?`path`:/\bfetch\b|\baxios\b|http\.|request\.|urlopen|curl/.test(t)?`ssrf`:n.includes(`xss`)?`xss`:n.includes(`sql`)?`sql`:n.includes(`cmd`)||n.includes(`command`)?`cmd-inject`:n.includes(`ssrf`)?`ssrf`:n.includes(`path`)||n.includes(`traversal`)?`path`:n.includes(`deserial`)?`deserialize`:n.includes(`eval`)||n.includes(`codeexec`)?`code-exec`:null}var Vs={xss:[`Avoid writing user input into innerHTML / outerHTML / document.write.`,`Use textContent, or framework-native binding (React props, Vue {{ }}, etc.).`,`If HTML is unavoidable, run input through a well-maintained sanitizer (DOMPurify, Bleach).`],sql:[`Use parameterized queries or a prepared statement — never concatenate user input into SQL.`,`Prefer an ORM or query builder that escapes parameters automatically.`,`Validate input type (integer, enum, allowlist) before the query.`],"cmd-inject":[`Avoid passing user input to shell/exec APIs.`,`Use the argv-array form of exec (no shell interpretation).`,`Validate against a strict allowlist of commands and arguments.`],ssrf:[`Validate and allowlist outbound hostnames before making the request.`,`Resolve and check the target IP is not internal / metadata (169.254.169.254, 127.0.0.0/8, 10.0.0.0/8, RFC1918).`,`Use a dedicated HTTP client that disables redirects to private addresses.`],path:[`Normalize the path and verify it stays within an expected root directory.`,`Reject inputs containing "..", null bytes, or absolute paths.`,`Use a safe-join helper rather than string concatenation.`],deserialize:[`Do not deserialize untrusted input with dangerous formats (pickle, ObjectInputStream).`,`Use a schema-constrained format (JSON with a validator, Protobuf).`,`If unavoidable, run deserialization in a locked-down process and validate types post-hoc.`],"code-exec":[`Do not pass user input to eval / new Function / exec.`,`Replace dynamic code generation with a parser over an allowlisted grammar.`,`If scripting is required, sandbox it (VM / Web Worker with no DOM, seccomp).`],"data-exfil":[`Do not put cookies, session tokens, or env secrets into outbound request bodies.`,"If the forward is intentional, allowlist the destination under `detectors.data_exfil.trusted_destinations` or route through a named wrapper the engine treats as a data-exfil sanitizer.",`Use dedicated server-to-server credentials for the upstream call instead of forwarding the user session.`]},Hs=[`Validate user input against an allowlist (length, character set, format).`,`Encode or escape data appropriately for the target sink.`,`Prefer parameterized / structured APIs over string concatenation.`];function Us({finding:e}){let t=xs(e),n=(()=>{if(t)return Ss[e.rule_id]||[];let n=Bs(e);return n&&Vs[n]?Vs[n]:Hs})();return n.length===0?null:(0,T.jsx)(`ul`,{className:`how-to-fix-list`,children:n.map((e,t)=>(0,T.jsx)(`li`,{children:e},t))})}function Ws({finding:e,onTriage:t,isPending:n}){let[r,i]=(0,w.useState)(``),[a,o]=(0,w.useState)(!1),s=e.triage_state||`open`,c=(e,n)=>{if(e===s){n();return}t(e,r.trim()),i(``),o(!1),n()};return(0,T.jsxs)(`div`,{className:`status-control`,"data-fingerprint":e.fingerprint,children:[(0,T.jsxs)(`div`,{className:`status-control-row`,children:[(0,T.jsx)(`label`,{className:`status-label`,children:`Status`}),(0,T.jsx)(Vo,{trigger:({open:e})=>(0,T.jsxs)(`button`,{type:`button`,className:`status-trigger status-trigger-${s}`,disabled:n,children:[(0,T.jsx)(`span`,{className:`status-dot status-dot-${s}`}),(0,T.jsx)(`span`,{className:`status-value`,children:ys(s)}),(0,T.jsx)(`span`,{className:`status-caret${e?` open`:``}`,children:`▾`})]}),children:({close:e})=>(0,T.jsx)(T.Fragment,{children:bs.map(t=>(0,T.jsxs)(`div`,{className:`status-group`,children:[(0,T.jsx)(`div`,{className:`status-group-heading`,children:t.heading}),t.options.map(t=>(0,T.jsx)(Ho,{checked:t.value===s,onClick:()=>c(t.value,e),children:t.label},t.value))]},t.heading))})}),!a&&(0,T.jsx)(`button`,{type:`button`,className:`status-note-toggle`,onClick:()=>o(!0),children:e.triage_note?`Edit note`:`Add note`})]}),e.triage_note&&!a&&(0,T.jsxs)(`div`,{className:`status-current-note`,children:[(0,T.jsx)(`strong`,{children:`Note:`}),` `,e.triage_note]}),a&&(0,T.jsxs)(`div`,{className:`status-note-input`,children:[(0,T.jsx)(`textarea`,{placeholder:`Context for the next person reading this…`,rows:2,value:r||e.triage_note||``,onChange:e=>i(e.target.value),autoFocus:!0}),(0,T.jsxs)(`div`,{className:`status-note-actions`,children:[(0,T.jsx)(`button`,{className:`btn btn-sm btn-primary`,disabled:n,onClick:()=>{t(s,r.trim()),o(!1)},children:`Save note`}),(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm`,onClick:()=>{o(!1),i(``)},children:`Cancel`})]})]})]})}function Gs(){let{id:e}=Kn(),{data:t,isLoading:n,isError:r,error:i}=jo(e??``);vo(t?`${t.rule_id} · ${t.path}:${t.line}`:`Finding`);let a=Po(),[o,s]=(0,w.useState)(!1),c=(0,w.useCallback)((e,n)=>{t&&a.mutate({fingerprints:[t.fingerprint],state:e,note:n})},[t,a]);if(n)return(0,T.jsx)(`div`,{className:`loading`,children:`Loading finding...`});if(r||!t){let e=i instanceof Error?i.message:`Unknown error`;return(0,T.jsxs)(`div`,{className:`error-state`,children:[(0,T.jsx)(`h3`,{children:`Finding not found`}),(0,T.jsx)(`p`,{children:e})]})}let l=t,u=l.evidence,d=xs(l),f=l.message||u&&(u.source||u.sink||u.state),p=u&&(u.source||u.sink||u.guards&&u.guards.length>0||u.sanitizers&&u.sanitizers.length>0||u.state),m=u&&u.notes&&u.notes.length>0,h=u&&u.flow_steps&&u.flow_steps.length>0,g=l.related_findings&&l.related_findings.length>0,_=l.labels&&l.labels.length>0,v=!!l.code_context,y=[];return l.category&&y.push(l.category),l.language&&y.push(l.language),y.push(ys(l.triage_state||`open`)),l.sanitizer_status&&!d&&y.push(l.sanitizer_status===`none`?`No sanitizers`:l.sanitizer_status===`bypassed`?`Sanitizer bypassed`:`Sanitized`),(0,T.jsxs)(`div`,{className:`detail-panel finding-detail`,children:[(0,T.jsxs)(`div`,{className:`detail-title-row`,children:[(0,T.jsxs)(`h2`,{className:`finding-heading`,children:[(0,T.jsx)(`span`,{className:`severity-pill severity-pill-${l.severity.toLowerCase()}`,children:l.severity}),(0,T.jsx)(`span`,{className:`finding-rule-id`,children:l.rule_id})]}),(0,T.jsx)(Yo,{iconOnly:!0,title:`Copy as markdown`,getMarkdown:()=>is(l)})]}),(0,T.jsxs)(`a`,{href:`#`,className:`file-location`,onClick:e=>{e.preventDefault(),s(!0)},children:[l.path,`:`,l.line,`:`,l.col]}),(0,T.jsx)(`div`,{className:`finding-meta`,children:y.map((e,t)=>(0,T.jsxs)(`span`,{children:[t>0&&(0,T.jsx)(`span`,{className:`finding-meta-sep`,children:`•`}),(0,T.jsx)(`span`,{className:`finding-meta-item`,children:e})]},t))}),(0,T.jsx)(Ws,{finding:l,onTriage:c,isPending:a.isPending}),f&&(0,T.jsx)(ws,{title:`Why Nyx Reported This`,children:d?(0,T.jsxs)(T.Fragment,{children:[Cs[l.rule_id]&&(0,T.jsx)(`p`,{style:{marginBottom:`var(--space-3)`,lineHeight:1.5},children:Cs[l.rule_id]}),l.message&&(0,T.jsx)(`p`,{style:{marginBottom:`var(--space-3)`},children:l.message}),u&&(0,T.jsx)(Es,{evidence:u,ruleId:l.rule_id})]}):u&&(0,T.jsx)(js,{finding:l,evidence:u})}),h&&(0,T.jsx)(ws,{title:`Taint Flow`,children:(0,T.jsx)(Ls,{steps:u.flow_steps})}),(0,T.jsx)(ws,{title:`How to fix`,children:(0,T.jsx)(Us,{finding:l})}),p&&(0,T.jsx)(ws,{title:`Evidence`,defaultOpen:!1,children:(0,T.jsx)(Ds,{evidence:u,skipStateCard:d})}),m&&(0,T.jsx)(ws,{title:`Analysis Notes`,defaultOpen:!1,children:(0,T.jsx)(Os,{evidence:u})}),l.confidence&&(0,T.jsx)(ws,{title:`Confidence Reasoning`,defaultOpen:!1,children:(0,T.jsx)(ks,{finding:l})}),g&&(0,T.jsx)(ws,{title:`Related Findings`,children:(0,T.jsx)(Rs,{findings:l.related_findings})}),_&&(0,T.jsx)(ws,{title:`Labels`,defaultOpen:!1,children:(0,T.jsx)(`div`,{className:`label-list`,children:l.labels.map(([e,t],n)=>(0,T.jsxs)(`span`,{className:`label-item`,children:[(0,T.jsxs)(`span`,{className:`label-key`,children:[e,`:`]}),` `,(0,T.jsx)(`span`,{className:`label-value`,children:t})]},n))})}),v&&(0,T.jsx)(ws,{title:`Code Preview`,defaultOpen:!1,children:(0,T.jsx)(zs,{lines:l.code_context.lines,startLine:l.code_context.start_line,highlightLine:l.code_context.highlight_line,language:l.language})}),(0,T.jsx)(vs,{open:o,onClose:()=>s(!1),finding:l})]})}function Ks(){return xt({queryKey:[`scans`],queryFn:({signal:e})=>ha(`/scans`,e)})}function qs(e){return xt({queryKey:[`scans`,e],queryFn:({signal:t})=>ha(`/scans/${e}`,t),enabled:!!e})}function Js(e){let t=Object.entries(e).filter(([,e])=>e!=null&&e!==``);return t.length===0?``:`?${new URLSearchParams(t.map(([e,t])=>[e,String(t)])).toString()}`}function Ys(e,t={}){return xt({queryKey:[`scans`,e,`findings`,t],queryFn:({signal:n})=>ha(`/scans/${e}/findings${Js({...t})}`,n),enabled:!!e})}function Xs(e,t){return xt({queryKey:[`scans`,e,`logs`,t],queryFn:({signal:n})=>ha(`/scans/${e}/logs${t?`?level=${encodeURIComponent(t)}`:``}`,n),enabled:!!e})}function Zs(e){return xt({queryKey:[`scans`,e,`metrics`],queryFn:({signal:t})=>ha(`/scans/${e}/metrics`,t),enabled:!!e})}function Qs(e,t){return xt({queryKey:[`scans`,`compare`,e,t],queryFn:({signal:n})=>ha(`/scans/compare?left=${encodeURIComponent(e)}&right=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function $s(e){if(!e)return`-`;let t=new Date(e),n=Date.now()-t.getTime();return n<6e4?`just now`:n<36e5?`${Math.floor(n/6e4)}m ago`:n<864e5?`${Math.floor(n/36e5)}h ago`:t.toLocaleDateString()}function ec(e,t=50){return e?e.length<=t?e:`...`+e.slice(e.length-t+3):``}function tc({data:e}){let t=[`discovering`,`indexing`,`loading_summaries`,`building_call_graph`,`analyzing`,`post_processing`,`complete`],n={discovering:`Discovering`,indexing:`Indexing`,loading_summaries:`Loading Summaries`,building_call_graph:`Call Graph`,analyzing:`Analyzing`,post_processing:`Post-Process`,complete:`Complete`},r=t.indexOf(e.stage),i=e.files_discovered||1,a=e.stage===`indexing`?e.files_parsed:e.stage===`analyzing`||e.stage===`post_processing`?e.files_analyzed:e.stage===`complete`?i:0,o=Math.min(100,a/i*100),s=e.elapsed_ms?(e.elapsed_ms/1e3).toFixed(1)+`s`:`-`;return(0,T.jsxs)(`div`,{className:`scan-progress`,children:[(0,T.jsxs)(`div`,{className:`scan-progress-header`,children:[(0,T.jsx)(`h3`,{children:`Scan in Progress`}),(0,T.jsxs)(`span`,{style:{fontSize:`var(--text-sm)`,color:`var(--text-secondary)`},children:[s,` elapsed`]})]}),(0,T.jsx)(`div`,{className:`stage-pipeline`,children:t.map((e,t)=>(0,T.jsxs)(`div`,{className:`stage-step ${t<r?`done`:t===r?`active`:``}`,children:[(0,T.jsx)(`div`,{className:`stage-dot`}),(0,T.jsx)(`span`,{className:`stage-label`,children:n[e]})]},e))}),(0,T.jsx)(`div`,{className:`progress-bar`,children:(0,T.jsx)(`div`,{className:`progress-bar-fill`,style:{width:`${o}%`}})}),(0,T.jsxs)(`div`,{className:`progress-stats`,children:[(0,T.jsxs)(`span`,{children:[a,` / `,e.files_discovered||0,` files`]}),(0,T.jsxs)(`span`,{children:[o.toFixed(0),`%`]})]}),(0,T.jsxs)(`div`,{className:`progress-stats`,children:[(0,T.jsxs)(`span`,{children:[e.files_parsed||0,` indexed`]}),(0,T.jsxs)(`span`,{children:[e.files_skipped||0,` reused`]}),(0,T.jsxs)(`span`,{children:[e.files_analyzed||0,` analyzed`]})]}),e.batches_total>0&&(0,T.jsxs)(`div`,{className:`progress-stats`,children:[(0,T.jsxs)(`span`,{children:[`Batch `,Math.min(e.batches_completed,e.batches_total),` /`,` `,e.batches_total]}),(0,T.jsx)(`span`,{children:n[e.stage]||e.stage})]}),(0,T.jsxs)(`div`,{className:`progress-stats`,children:[(0,T.jsxs)(`span`,{children:[`Walk `,e.timing.walk_ms,`ms`]}),(0,T.jsxs)(`span`,{children:[`Index `,e.timing.pass1_ms,`ms`]}),(0,T.jsxs)(`span`,{children:[`Graph `,e.timing.call_graph_ms,`ms`]}),(0,T.jsxs)(`span`,{children:[`Analyze `,e.timing.pass2_ms,`ms`]})]}),e.current_file&&(0,T.jsx)(`div`,{className:`progress-current-file`,children:ec(e.current_file,80)})]})}function nc(){vo(`Scans`);let e=Hn(),{data:t,isLoading:n,error:r}=Ks(),i=ja(),{scanProgress:a,isScanRunning:o}=ji(),[s,c]=(0,w.useState)(new Set),l=(0,w.useMemo)(()=>(t||[]).filter(e=>e.status===`completed`),[t]),u=(0,w.useMemo)(()=>(t||[]).filter(e=>e.status===`running`),[t]),d=(0,w.useCallback)((e,t)=>{e.stopPropagation(),c(e=>{let n=new Set(e);if(n.has(t))n.delete(t);else{if(n.size>=2)return e;n.add(t)}return n})},[]),f=(0,w.useCallback)(()=>{if(s.size!==2)return;let n=[...s],r=new Map((t||[]).map(e=>[e.id,e]));n.sort((e,t)=>(r.get(e)?.started_at||``).localeCompare(r.get(t)?.started_at||``)),e(`/scans/compare/${n[0]}/${n[1]}`)},[s,t,e]);if(n)return(0,T.jsx)(Za,{message:`Loading scans...`});if(r)return(0,T.jsx)($a,{message:r.message});let p=l.length>=2;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`page-header`,children:(0,T.jsx)(`h2`,{children:`Scans`})}),(u.length>0||o)&&a&&(0,T.jsx)(tc,{data:a}),s.size>0&&(0,T.jsxs)(`div`,{className:`compare-select-bar`,style:{display:`flex`},children:[(0,T.jsx)(`span`,{children:s.size===2?`2 scans selected`:`Select ${2-s.size} more completed scan${s.size===0?`s`:``}`}),(0,T.jsx)(`button`,{className:`btn btn-sm`,disabled:s.size!==2,onClick:f,children:`Compare Selected`})]}),!t||t.length===0?(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No scans yet`}),(0,T.jsx)(`p`,{children:`Use the "Start Scan" button in the header to start your first scan.`})]}):(0,T.jsx)(`div`,{className:`table-wrap`,children:(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[p&&(0,T.jsx)(`th`,{style:{width:32}}),(0,T.jsx)(`th`,{children:`Status`}),(0,T.jsx)(`th`,{children:`Root`}),(0,T.jsx)(`th`,{children:`Duration`}),(0,T.jsx)(`th`,{children:`Findings`}),(0,T.jsx)(`th`,{children:`Languages`}),(0,T.jsx)(`th`,{children:`Started`}),(0,T.jsx)(`th`,{style:{width:60}})]})}),(0,T.jsx)(`tbody`,{children:t.map(t=>(0,T.jsxs)(`tr`,{className:`clickable`,onClick:()=>e(`/scans/${t.id}`),children:[p&&(0,T.jsx)(`td`,{children:t.status===`completed`&&(0,T.jsx)(`input`,{type:`checkbox`,className:`scan-compare-cb`,checked:s.has(t.id),onClick:e=>d(e,t.id),onChange:()=>{}})}),(0,T.jsx)(`td`,{children:(0,T.jsxs)(`span`,{className:`status-badge ${t.status}`,children:[(0,T.jsx)(`span`,{className:`status-dot ${t.status}`}),t.status]})}),(0,T.jsx)(`td`,{style:{fontFamily:`var(--font-mono)`,fontSize:`0.82rem`},children:ec(t.scan_root)}),(0,T.jsx)(`td`,{children:t.duration_secs==null?`-`:t.duration_secs.toFixed(2)+`s`}),(0,T.jsx)(`td`,{children:t.finding_count??`-`}),(0,T.jsx)(`td`,{children:(t.languages||[]).length>0?(t.languages||[]).map(e=>(0,T.jsx)(`span`,{className:`lang-badge`,children:e},e)):`-`}),(0,T.jsx)(`td`,{children:$s(t.started_at)}),(0,T.jsx)(`td`,{children:t.status!==`running`&&(0,T.jsx)(`button`,{className:`btn btn-sm btn-danger`,onClick:e=>{e.stopPropagation(),confirm(`Delete this scan?`)&&i.mutate(t.id)},children:`Delete`})})]},t.id))})]})})]})}function rc(e,t=50){return e?e.length<=t?e:`...`+e.slice(e.length-t+3):``}function ic(e){return e?new Date(e).toLocaleString():`-`}function ac(e){return e==null?`-`:e.toLocaleString()}function oc({scan:e}){let t=e.duration_secs==null?`-`:e.duration_secs.toFixed(2)+`s`,n=(e.languages||[]).join(`, `)||`-`,r=e.timing,i=0;r&&(i=r.walk_ms+r.pass1_ms+r.call_graph_ms+r.pass2_ms+r.post_process_ms);let a=e=>(e/i*100).toFixed(1);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`scan-stat-grid`,children:[(0,T.jsxs)(`div`,{className:`scan-stat-card`,children:[(0,T.jsx)(`div`,{className:`scan-stat-label`,children:`Files Scanned`}),(0,T.jsx)(`div`,{className:`scan-stat-value`,children:e.files_scanned??`-`})]}),(0,T.jsxs)(`div`,{className:`scan-stat-card`,children:[(0,T.jsx)(`div`,{className:`scan-stat-label`,children:`Findings`}),(0,T.jsx)(`div`,{className:`scan-stat-value`,children:e.finding_count??`-`})]}),(0,T.jsxs)(`div`,{className:`scan-stat-card`,children:[(0,T.jsx)(`div`,{className:`scan-stat-label`,children:`Duration`}),(0,T.jsx)(`div`,{className:`scan-stat-value`,children:t})]}),(0,T.jsxs)(`div`,{className:`scan-stat-card`,children:[(0,T.jsx)(`div`,{className:`scan-stat-label`,children:`Languages`}),(0,T.jsx)(`div`,{className:`scan-stat-value`,style:{fontSize:`var(--text-base)`},children:n})]})]}),(0,T.jsxs)(`div`,{className:`card`,children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Details`}),(0,T.jsx)(`table`,{children:(0,T.jsxs)(`tbody`,{children:[(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{color:`var(--text-secondary)`,width:140},children:`Scan ID`}),(0,T.jsx)(`td`,{style:{fontFamily:`var(--font-mono)`,fontSize:`var(--text-xs)`},children:e.id})]}),(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{color:`var(--text-secondary)`},children:`Root`}),(0,T.jsx)(`td`,{style:{fontFamily:`var(--font-mono)`,fontSize:`var(--text-sm)`},children:e.scan_root})]}),(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{color:`var(--text-secondary)`},children:`Engine`}),(0,T.jsx)(`td`,{children:e.engine_version||`-`})]}),(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{color:`var(--text-secondary)`},children:`Started`}),(0,T.jsx)(`td`,{children:ic(e.started_at)})]}),(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{color:`var(--text-secondary)`},children:`Finished`}),(0,T.jsx)(`td`,{children:ic(e.finished_at)})]}),e.error&&(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{color:`var(--text-secondary)`},children:`Error`}),(0,T.jsx)(`td`,{style:{color:`var(--sev-high)`},children:e.error})]})]})})]}),r&&i>0&&(0,T.jsxs)(`div`,{className:`card`,style:{marginTop:`var(--space-4)`},children:[(0,T.jsx)(`div`,{className:`card-header`,children:`Timing Breakdown`}),(0,T.jsxs)(`div`,{className:`timing-bar`,children:[(0,T.jsx)(`div`,{className:`timing-bar-segment walk`,style:{width:`${a(r.walk_ms)}%`},title:`Walk: ${r.walk_ms}ms`}),(0,T.jsx)(`div`,{className:`timing-bar-segment pass1`,style:{width:`${a(r.pass1_ms)}%`},title:`Pass 1: ${r.pass1_ms}ms`}),(0,T.jsx)(`div`,{className:`timing-bar-segment callgraph`,style:{width:`${a(r.call_graph_ms)}%`},title:`Call Graph: ${r.call_graph_ms}ms`}),(0,T.jsx)(`div`,{className:`timing-bar-segment pass2`,style:{width:`${a(r.pass2_ms)}%`},title:`Pass 2: ${r.pass2_ms}ms`}),(0,T.jsx)(`div`,{className:`timing-bar-segment postprocess`,style:{width:`${a(r.post_process_ms)}%`},title:`Post-process: ${r.post_process_ms}ms`})]}),(0,T.jsxs)(`div`,{className:`timing-legend`,children:[(0,T.jsxs)(`span`,{className:`timing-legend-item`,children:[(0,T.jsx)(`span`,{className:`timing-legend-dot`,style:{background:`var(--sev-low)`}}),` `,`Walk `,r.walk_ms,`ms`]}),(0,T.jsxs)(`span`,{className:`timing-legend-item`,children:[(0,T.jsx)(`span`,{className:`timing-legend-dot`,style:{background:`var(--accent)`}}),` `,`Pass 1 `,r.pass1_ms,`ms`]}),(0,T.jsxs)(`span`,{className:`timing-legend-item`,children:[(0,T.jsx)(`span`,{className:`timing-legend-dot`,style:{background:`var(--sev-medium)`}}),` `,`Call Graph `,r.call_graph_ms,`ms`]}),(0,T.jsxs)(`span`,{className:`timing-legend-item`,children:[(0,T.jsx)(`span`,{className:`timing-legend-dot`,style:{background:`var(--success)`}}),` `,`Pass 2 `,r.pass2_ms,`ms`]}),(0,T.jsxs)(`span`,{className:`timing-legend-item`,children:[(0,T.jsx)(`span`,{className:`timing-legend-dot`,style:{background:`var(--text-tertiary)`}}),` `,`Post `,r.post_process_ms,`ms`]})]})]})]})}function sc({scanId:e}){let t=Hn(),{data:n,isLoading:r,error:i}=Ys(e);return r?(0,T.jsx)(Za,{message:`Loading findings...`}):i?(0,T.jsx)($a,{message:i.message}):!n?.findings||n.findings.length===0?(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No findings`}),(0,T.jsx)(`p`,{children:`This scan produced no findings.`})]}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`table-wrap`,children:(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Severity`}),(0,T.jsx)(`th`,{children:`Rule`}),(0,T.jsx)(`th`,{children:`File`}),(0,T.jsx)(`th`,{children:`Line`}),(0,T.jsx)(`th`,{children:`Confidence`})]})}),(0,T.jsx)(`tbody`,{children:n.findings.map(e=>(0,T.jsxs)(`tr`,{className:`clickable`,onClick:()=>t(`/findings/${e.index}`),children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge badge-${e.severity.toLowerCase()}`,children:e.severity})}),(0,T.jsx)(`td`,{children:e.rule_id}),(0,T.jsx)(`td`,{className:`cell-path`,title:e.path,children:rc(e.path)}),(0,T.jsx)(`td`,{children:e.line}),(0,T.jsx)(`td`,{children:e.confidence?(0,T.jsx)(`span`,{className:`badge badge-conf-${e.confidence.toLowerCase()}`,children:e.confidence}):`-`})]},e.index))})]})}),(0,T.jsxs)(`div`,{style:{marginTop:`var(--space-2)`,fontSize:`var(--text-sm)`,color:`var(--text-secondary)`},children:[`Showing `,n.findings.length,` of `,n.total,` findings`]})]})}function cc({scanId:e}){let[t,n]=(0,w.useState)(void 0),{data:r,isLoading:i,error:a}=Xs(e,t);return i?(0,T.jsx)(Za,{message:`Loading logs...`}):a?(0,T.jsx)($a,{message:a.message}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`log-filters`,children:[{value:void 0,label:`All`},{value:`info`,label:`Info`},{value:`warn`,label:`Warn`},{value:`error`,label:`Error`}].map(e=>(0,T.jsx)(`button`,{className:`log-filter-btn ${t===e.value?`active`:``}`,onClick:()=>n(e.value),children:e.label},e.label))}),!r||r.length===0?(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No log entries`})}):(0,T.jsx)(`div`,{className:`log-viewer`,children:r.map((e,t)=>(0,T.jsxs)(`div`,{className:`log-entry log-${e.level}`,children:[(0,T.jsx)(`span`,{className:`log-level ${e.level}`,children:e.level}),(0,T.jsx)(`span`,{className:`log-time`,children:new Date(e.timestamp).toLocaleTimeString()}),(0,T.jsxs)(`span`,{className:`log-message`,children:[e.message,e.file_path&&(0,T.jsxs)(`span`,{style:{color:`var(--text-tertiary)`},children:[` `,e.file_path]})]})]},t))})]})}function lc({scanId:e,scan:t}){let{data:n}=Zs(e),r=t.metrics||n||void 0;return r?(0,T.jsxs)(`div`,{className:`metric-grid`,children:[(0,T.jsxs)(`div`,{className:`metric-card`,children:[(0,T.jsx)(`div`,{className:`metric-card-label`,children:`CFG Nodes`}),(0,T.jsx)(`div`,{className:`metric-card-value`,children:ac(r.cfg_nodes)})]}),(0,T.jsxs)(`div`,{className:`metric-card`,children:[(0,T.jsx)(`div`,{className:`metric-card-label`,children:`Call Edges`}),(0,T.jsx)(`div`,{className:`metric-card-value`,children:ac(r.call_edges)})]}),(0,T.jsxs)(`div`,{className:`metric-card`,children:[(0,T.jsx)(`div`,{className:`metric-card-label`,children:`Functions Analyzed`}),(0,T.jsx)(`div`,{className:`metric-card-value`,children:ac(r.functions_analyzed)})]}),(0,T.jsxs)(`div`,{className:`metric-card`,children:[(0,T.jsx)(`div`,{className:`metric-card-label`,children:`Summaries Reused`}),(0,T.jsx)(`div`,{className:`metric-card-value`,children:ac(r.summaries_reused)})]}),(0,T.jsxs)(`div`,{className:`metric-card`,children:[(0,T.jsx)(`div`,{className:`metric-card-label`,children:`Unresolved Calls`}),(0,T.jsx)(`div`,{className:`metric-card-value`,children:ac(r.unresolved_calls)})]})]}):(0,T.jsx)(`div`,{className:`empty-state`,children:(0,T.jsx)(`p`,{children:`No metrics available for this scan.`})})}function uc(){let{id:e}=Kn(),t=Hn(),{data:n,isLoading:r,error:i}=qs(e||``),{data:a}=Ks(),[o,s]=(0,w.useState)(`summary`);vo(n?`Scan ${n.id.slice(0,8)}`:`Scan`);let c=(0,w.useMemo)(()=>{if(!n||n.status!==`completed`||!a)return null;let t=a.filter(e=>e.status===`completed`&&e.started_at).sort((e,t)=>(e.started_at||``).localeCompare(t.started_at||``)),r=t.findIndex(t=>t.id===e);return r>0?t[r-1].id:null},[n,a,e]);return r?(0,T.jsx)(Za,{message:`Loading scan...`}):i||!n?(0,T.jsx)($a,{title:`Scan not found`,message:i?.message||`Not found`}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`var(--space-2)`,marginBottom:`var(--space-4)`},children:[(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:()=>t(`/scans`),children:`Back to Scans`}),c&&(0,T.jsx)(`button`,{className:`btn btn-sm`,style:{marginLeft:`auto`},onClick:()=>t(`/scans/compare/${c}/${e}`),children:`Compare with Previous`})]}),(0,T.jsxs)(`div`,{className:`page-header`,children:[(0,T.jsx)(`h2`,{children:`Scan Detail`}),(0,T.jsxs)(`span`,{className:`status-badge ${n.status}`,children:[(0,T.jsx)(`span`,{className:`status-dot ${n.status}`}),n.status]})]}),(0,T.jsx)(`div`,{className:`scan-detail-tabs`,children:[{id:`summary`,label:`Summary`},{id:`findings`,label:`Findings`},{id:`logs`,label:`Logs`},{id:`metrics`,label:`Metrics`}].map(e=>(0,T.jsx)(`button`,{className:`scan-detail-tab ${o===e.id?`active`:``}`,onClick:()=>s(e.id),children:e.label},e.id))}),(0,T.jsxs)(`div`,{id:`scan-tab-content`,children:[o===`summary`&&(0,T.jsx)(oc,{scan:n}),o===`findings`&&(0,T.jsx)(sc,{scanId:e}),o===`logs`&&(0,T.jsx)(cc,{scanId:e}),o===`metrics`&&(0,T.jsx)(lc,{scanId:e,scan:n})]})]})}function dc(e,t=50){return e?e.length<=t?e:`...`+e.slice(e.length-t+3):``}function fc(e){return e?new Date(e).toLocaleString():`-`}function pc(e){return e.length>8?e.slice(0,8):e}function mc({f:e,rowCls:t,showChanges:n}){let r=Hn(),i=e.severity||``,a=e.rule_id||``,o=e.path||``,s=e.line||`-`,c=e.confidence,l=e.index,u=n&&`changes`in e?e.changes:[];return(0,T.jsxs)(`div`,{className:`compare-finding-row ${t}`,onClick:()=>l!=null&&r(`/findings/${l}`),style:{cursor:`pointer`},children:[(0,T.jsx)(`span`,{className:`badge badge-${i.toLowerCase()}`,children:i}),(0,T.jsx)(`span`,{style:{fontSize:`var(--text-xs)`},children:a}),(0,T.jsx)(`span`,{className:`finding-path`,title:o,children:dc(o)}),(0,T.jsxs)(`span`,{style:{fontSize:`var(--text-xs)`,color:`var(--text-secondary)`},children:[`L`,s]}),c&&(0,T.jsx)(`span`,{className:`badge badge-conf-${c.toLowerCase()}`,children:c}),u&&u.length>0&&u.map((e,t)=>(0,T.jsxs)(`span`,{className:`compare-delta-inline`,children:[e.field,`: `,e.old_value,` `,(0,T.jsx)(`span`,{className:`delta-arrow`,children:`→`}),` `,e.new_value]},t))]})}function hc({sectionKey:e,headerContent:t,defaultCollapsed:n=!1,children:r}){let[i,a]=(0,w.useState)(n);return(0,T.jsxs)(`div`,{className:`compare-section`,"data-section":e,children:[(0,T.jsxs)(`div`,{className:`compare-section-header`,onClick:()=>a(!i),children:[(0,T.jsx)(`span`,{className:`section-toggle ${i?`collapsed`:``}`,children:`▼`}),t]}),(0,T.jsx)(`div`,{className:`compare-section-body`,style:{display:i?`none`:void 0},children:r})]})}function gc({data:e}){return(0,T.jsx)(T.Fragment,{children:[{key:`new`,label:`New Findings`,badge:`compare-badge--new`,rowCls:`compare-finding-row--new`,items:e.new_findings},{key:`fixed`,label:`Fixed Findings`,badge:`compare-badge--fixed`,rowCls:`compare-finding-row--fixed`,items:e.fixed_findings},{key:`changed`,label:`Changed Findings`,badge:`compare-badge--changed`,rowCls:`compare-finding-row--changed`,items:e.changed_findings},{key:`unchanged`,label:`Unchanged Findings`,badge:`compare-badge--unchanged`,rowCls:`compare-finding-row--unchanged`,items:e.unchanged_findings}].map(e=>e.items.length===0?null:(0,T.jsx)(hc,{sectionKey:e.key,defaultCollapsed:e.key===`unchanged`,headerContent:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`span`,{className:e.badge,children:e.key.toUpperCase()}),(0,T.jsxs)(`span`,{children:[e.label,` (`,e.items.length,`)`]})]}),children:e.items.map((t,n)=>(0,T.jsx)(mc,{f:t,rowCls:e.rowCls,showChanges:e.key===`changed`},n))},e.key))})}function _c({data:e,groupField:t}){return(0,T.jsx)(T.Fragment,{children:(0,w.useMemo)(()=>{let n=[];e.new_findings.forEach(e=>n.push({...e,_status:`new`})),e.fixed_findings.forEach(e=>n.push({...e,_status:`fixed`})),e.changed_findings.forEach(e=>n.push({...e,_status:`changed`})),e.unchanged_findings.forEach(e=>n.push({...e,_status:`unchanged`}));let r={};return n.forEach(e=>{let n=e[t]||`(unknown)`;r[n]||(r[n]=[]),r[n].push(e)}),Object.entries(r).sort(([e],[t])=>e.localeCompare(t))},[e,t]).map(([e,t])=>{let n={new:0,fixed:0,changed:0,unchanged:0};t.forEach(e=>n[e._status]=(n[e._status]||0)+1);let r=[n.new>0?`+${n.new}`:``,n.fixed>0?`-${n.fixed}`:``,n.changed>0?`~${n.changed}`:``].filter(Boolean).join(` `)||`${n.unchanged} unchanged`;return(0,T.jsx)(hc,{sectionKey:e,headerContent:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`span`,{style:{fontFamily:`var(--font-mono)`,fontSize:`var(--text-xs)`},children:e}),(0,T.jsx)(`span`,{className:`compare-group-summary`,children:r})]}),children:t.map((e,t)=>(0,T.jsx)(mc,{f:e,rowCls:`compare-finding-row--${e._status}`,showChanges:e._status===`changed`},t))},e)})})}function vc(){vo(`Compare scans`);let{left:e,right:t}=Kn(),n=Hn(),{data:r,isLoading:i,error:a,refetch:o}=Qs(e||``,t||``),[s,c]=(0,w.useState)(`status`);return i?(0,T.jsx)(Za,{message:`Loading comparison...`}):a?(0,T.jsx)($a,{title:`Comparison failed`,error:a,onRetry:()=>o()}):r?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`button`,{className:`btn btn-sm`,style:{marginBottom:`var(--space-4)`},onClick:()=>n(`/scans`),children:`Back to Scans`}),(0,T.jsx)(`div`,{className:`page-header`,children:(0,T.jsx)(`h2`,{children:`Scan Comparison`})}),(0,T.jsxs)(`div`,{className:`compare-header`,children:[(0,T.jsxs)(`div`,{className:`compare-scan-pill`,children:[(0,T.jsx)(`span`,{children:`Left`}),(0,T.jsx)(`span`,{className:`pill-id`,children:pc(r.left_scan.id)}),(0,T.jsxs)(`span`,{className:`pill-count`,children:[r.left_scan.finding_count,` findings`]}),(0,T.jsx)(`span`,{style:{color:`var(--text-tertiary)`,fontSize:`var(--text-xs)`},children:fc(r.left_scan.started_at)})]}),(0,T.jsx)(`span`,{className:`compare-vs`,children:`vs`}),(0,T.jsxs)(`div`,{className:`compare-scan-pill`,children:[(0,T.jsx)(`span`,{children:`Right`}),(0,T.jsx)(`span`,{className:`pill-id`,children:pc(r.right_scan.id)}),(0,T.jsxs)(`span`,{className:`pill-count`,children:[r.right_scan.finding_count,` findings`]}),(0,T.jsx)(`span`,{style:{color:`var(--text-tertiary)`,fontSize:`var(--text-xs)`},children:fc(r.right_scan.started_at)})]})]}),(0,T.jsxs)(`div`,{className:`compare-summary-grid`,children:[(0,T.jsxs)(`div`,{className:`compare-card compare-card--new`,children:[(0,T.jsx)(`div`,{className:`compare-card-label`,children:`New`}),(0,T.jsx)(`div`,{className:`compare-card-value`,children:r.summary.new_count})]}),(0,T.jsxs)(`div`,{className:`compare-card compare-card--fixed`,children:[(0,T.jsx)(`div`,{className:`compare-card-label`,children:`Fixed`}),(0,T.jsx)(`div`,{className:`compare-card-value`,children:r.summary.fixed_count})]}),(0,T.jsxs)(`div`,{className:`compare-card compare-card--changed`,children:[(0,T.jsx)(`div`,{className:`compare-card-label`,children:`Changed`}),(0,T.jsx)(`div`,{className:`compare-card-value`,children:r.summary.changed_count})]}),(0,T.jsxs)(`div`,{className:`compare-card compare-card--unchanged`,children:[(0,T.jsx)(`div`,{className:`compare-card-label`,children:`Unchanged`}),(0,T.jsx)(`div`,{className:`compare-card-value`,children:r.summary.unchanged_count})]})]}),(0,T.jsx)(`div`,{className:`severity-delta`,children:[`HIGH`,`MEDIUM`,`LOW`].map(e=>{let t=r.summary.severity_delta[e]||0,n=`delta-zero`,i=``;return t>0?(n=`delta-positive`,i=`+`):t<0&&(n=`delta-negative`),(0,T.jsxs)(`span`,{className:`severity-delta-item`,children:[(0,T.jsx)(`span`,{className:`badge badge-${e.toLowerCase()}`,children:e}),(0,T.jsxs)(`span`,{className:n,children:[i,t]})]},e)})}),(0,T.jsxs)(`div`,{className:`scan-detail-tabs`,children:[(0,T.jsx)(`button`,{className:`scan-detail-tab ${s===`status`?`active`:``}`,onClick:()=>c(`status`),children:`By Status`}),(0,T.jsx)(`button`,{className:`scan-detail-tab ${s===`rule`?`active`:``}`,onClick:()=>c(`rule`),children:`By Rule`}),(0,T.jsx)(`button`,{className:`scan-detail-tab ${s===`file`?`active`:``}`,onClick:()=>c(`file`),children:`By File`})]}),(0,T.jsxs)(`div`,{id:`compare-tab-content`,children:[s===`status`&&(0,T.jsx)(gc,{data:r}),s===`rule`&&(0,T.jsx)(_c,{data:r,groupField:`rule_id`}),s===`file`&&(0,T.jsx)(_c,{data:r,groupField:`path`})]})]}):(0,T.jsx)($a,{message:`No comparison data`})}function yc(){return xt({queryKey:[`rules`],queryFn:({signal:e})=>ha(`/rules`,e)})}function bc(){let e=ot();return St({mutationFn:e=>ga(`/rules/${encodeURIComponent(e)}/toggle`),onSuccess:()=>{e.invalidateQueries({queryKey:[`rules`]})}})}function xc(){let e=ot();return St({mutationFn:e=>ga(`/rules/clone`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`rules`]})}})}function Sc(e,t){let[n,r]=(0,w.useState)(e);return(0,w.useEffect)(()=>{let n=setTimeout(()=>r(e),t);return()=>clearTimeout(n)},[e,t]),n}function Cc({rule:e,onToggle:t,onClone:n}){return(0,T.jsxs)(`div`,{className:`rule-detail-card`,children:[(0,T.jsx)(`h3`,{children:e.title}),(0,T.jsxs)(`div`,{className:`rule-detail-grid`,children:[(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`ID`}),(0,T.jsx)(`div`,{children:(0,T.jsx)(`code`,{style:{fontSize:`var(--text-xs)`,wordBreak:`break-all`},children:e.id})}),(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`Language`}),(0,T.jsx)(`div`,{children:e.language}),(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`Kind`}),(0,T.jsx)(`div`,{children:(0,T.jsx)(`span`,{className:`badge badge-${e.kind}`,children:e.kind})}),(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`Capability`}),(0,T.jsx)(`div`,{children:e.cap}),(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`Case Sensitive`}),(0,T.jsx)(`div`,{children:e.case_sensitive?`Yes`:`No`}),(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`Status`}),(0,T.jsx)(`div`,{children:e.enabled?(0,T.jsx)(`span`,{style:{color:`var(--success)`},children:`Enabled`}):(0,T.jsx)(`span`,{style:{color:`var(--text-tertiary)`},children:`Disabled`})}),(0,T.jsx)(`div`,{className:`rule-detail-label`,children:`Findings`}),(0,T.jsxs)(`div`,{children:[e.finding_count,e.suppression_rate>0?` (${(e.suppression_rate*100).toFixed(0)}% suppressed)`:``]})]}),e.is_custom&&(0,T.jsx)(`div`,{style:{marginTop:`var(--space-3)`},children:(0,T.jsx)(`span`,{className:`badge-custom`,children:`Custom Rule`})}),e.is_gated&&(0,T.jsx)(`div`,{style:{marginTop:`var(--space-3)`},children:(0,T.jsx)(`span`,{className:`badge-builtin`,children:`Gated Sink`})}),(0,T.jsxs)(`div`,{style:{marginTop:`var(--space-4)`},children:[(0,T.jsx)(`div`,{className:`rule-detail-label`,style:{marginBottom:`var(--space-2)`},children:`Matchers`}),(0,T.jsx)(`div`,{children:e.matchers.map(e=>(0,T.jsx)(`code`,{className:`matcher-tag`,children:e},e))})]}),(0,T.jsxs)(`div`,{style:{marginTop:`var(--space-5)`,display:`flex`,gap:`var(--space-2)`},children:[(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:t,children:e.enabled?`Disable`:`Enable`}),!e.is_custom&&(0,T.jsx)(`button`,{className:`btn btn-primary btn-sm`,onClick:n,children:`Clone to Custom`})]})]})}function wc({rules:e,selectedId:t,onSelect:n,onToggle:r}){return e.length===0?(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:20},children:(0,T.jsx)(`p`,{children:`No rules match filters`})}):(0,T.jsxs)(`table`,{className:`rules-table`,children:[(0,T.jsxs)(`colgroup`,{children:[(0,T.jsx)(`col`,{className:`col-toggle`}),(0,T.jsx)(`col`,{}),(0,T.jsx)(`col`,{className:`col-lang`}),(0,T.jsx)(`col`,{className:`col-kind`}),(0,T.jsx)(`col`,{className:`col-cap`}),(0,T.jsx)(`col`,{className:`col-finds`})]}),(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{}),(0,T.jsx)(`th`,{children:`Title`}),(0,T.jsx)(`th`,{children:`Lang`}),(0,T.jsx)(`th`,{children:`Kind`}),(0,T.jsx)(`th`,{children:`Cap`}),(0,T.jsx)(`th`,{children:`Finds`})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{className:`rule-row${e.id===t?` selected`:``}${e.enabled?``:` rule-disabled`}`,onClick:()=>n(e.id),children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`button`,{className:`rule-toggle${e.enabled?` toggle-on`:` toggle-off`}`,title:e.enabled?`Disable`:`Enable`,onClick:t=>{t.stopPropagation(),r(e.id)},children:e.enabled?`On`:`Off`})}),(0,T.jsx)(`td`,{className:`col-title-cell`,children:(0,T.jsxs)(`span`,{className:`rule-title-text`,children:[e.title,e.is_custom&&(0,T.jsxs)(T.Fragment,{children:[` `,(0,T.jsx)(`span`,{className:`badge-custom`,children:`custom`})]}),e.is_gated&&(0,T.jsxs)(T.Fragment,{children:[` `,(0,T.jsx)(`span`,{className:`badge-builtin`,children:`gated`})]})]})}),(0,T.jsx)(`td`,{children:e.language}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge badge-${e.kind}`,children:e.kind})}),(0,T.jsx)(`td`,{children:e.cap}),(0,T.jsx)(`td`,{children:e.finding_count})]},e.id))})]})}function Tc(){vo(`Rules`);let e=Kn(),{data:t,isLoading:n,error:r}=yc(),i=bc(),a=xc(),[o,s]=(0,w.useState)(e.id||null),[c,l]=(0,w.useState)(``),[u,d]=(0,w.useState)(``),[f,p]=(0,w.useState)(!1),[m,h]=(0,w.useState)(``),g=Sc(m,200),_=(0,w.useMemo)(()=>t?[...new Set(t.map(e=>e.language))].sort():[],[t]),v=[`source`,`sanitizer`,`sink`],y=(0,w.useMemo)(()=>t?t.filter(e=>!(c&&e.language!==c||u&&e.kind!==u||f&&!e.is_custom||g&&!e.matchers.some(e=>e.toLowerCase().includes(g.toLowerCase()))&&!e.title.toLowerCase().includes(g.toLowerCase()))):[],[t,c,u,f,g]),b=(0,w.useMemo)(()=>o&&t?t.find(e=>e.id===o):null,[o,t]),x=(0,w.useCallback)(e=>{s(e),history.replaceState(null,``,e?`/rules/`+encodeURIComponent(e):`/rules`)},[]),S=(0,w.useCallback)(e=>{i.mutate(e)},[i]),ee=(0,w.useCallback)(()=>{o&&a.mutate({rule_id:o})},[o,a]);return n?(0,T.jsx)(Za,{message:`Loading rules...`}):r?(0,T.jsx)($a,{message:r.message}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`page-header`,children:[(0,T.jsx)(`h2`,{children:`Rules`}),(0,T.jsxs)(`span`,{style:{color:`var(--text-secondary)`,fontSize:`var(--text-sm)`,marginLeft:`var(--space-3)`},children:[(t||[]).length,` rules`]})]}),(0,T.jsxs)(`div`,{className:`rules-layout`,children:[(0,T.jsxs)(`div`,{className:`rules-list-panel`,children:[(0,T.jsxs)(`div`,{className:`rules-filters`,children:[(0,T.jsxs)(`select`,{value:c,onChange:e=>l(e.target.value),children:[(0,T.jsx)(`option`,{value:``,children:`All Languages`}),_.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))]}),(0,T.jsxs)(`select`,{value:u,onChange:e=>d(e.target.value),children:[(0,T.jsx)(`option`,{value:``,children:`All Kinds`}),v.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))]}),(0,T.jsxs)(`label`,{style:{display:`flex`,alignItems:`center`,gap:4,fontSize:`var(--text-sm)`},children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:f,onChange:e=>p(e.target.checked)}),` `,`Custom only`]}),(0,T.jsx)(`input`,{type:`text`,placeholder:`Search matchers...`,style:{flex:1,minWidth:100},value:m,onChange:e=>h(e.target.value)})]}),(0,T.jsx)(`div`,{id:`rules-table-wrap`,children:(0,T.jsx)(wc,{rules:y,selectedId:o,onSelect:x,onToggle:S})})]}),(0,T.jsx)(`div`,{className:`rules-detail-panel`,id:`rules-detail`,children:b?(0,T.jsx)(Cc,{rule:b,onToggle:()=>S(b.id),onClone:ee}):(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:40},children:(0,T.jsx)(`p`,{children:`Select a rule to view details`})})})]})]})}function Ec(e){let t=Object.entries(e).filter(([,e])=>e!=null&&e!==``);return t.length===0?``:`?${new URLSearchParams(t.map(([e,t])=>[e,String(t)])).toString()}`}function Dc(e={}){return xt({queryKey:[`triage`,`audit`,e],queryFn:({signal:t})=>ha(`/triage/audit${Ec({...e})}`,t)})}function Oc(){return xt({queryKey:[`triage`,`suppress`],queryFn:({signal:e})=>ha(`/triage/suppress`,e)})}function kc(){return xt({queryKey:[`triage`,`sync-status`],queryFn:({signal:e})=>ha(`/triage/sync-status`,e)})}var Ac=[`High`,`Medium`,`Low`],jc=[`open`,`investigating`,`false_positive`,`accepted_risk`,`suppressed`,`fixed`],Mc=[{value:`needs_attention`,label:`Needs attention`},{value:`all`,label:`All findings`},{value:`open`,label:`Open`},{value:`investigating`,label:`Investigating`},{value:`false_positive`,label:`False positive`},{value:`accepted_risk`,label:`Accepted risk`},{value:`suppressed`,label:`Suppressed`},{value:`fixed`,label:`Fixed`}],Nc=[{value:`none`,label:`None`},{value:`rule`,label:`Rule`},{value:`file`,label:`File`},{value:`severity`,label:`Severity`}];function Pc(e){return e.replace(/_/g,` `)}function Fc(e){if(!e)return``;let t=e.split(`/`).filter(Boolean);return t.length<=2?e:t.slice(-2).join(`/`)}function Ic(e){let t=(e||``).toLowerCase();return t===`high`?0:t===`medium`?1:t===`low`?2:3}function Lc({totalCount:e,needsAttention:t,stateCounts:n,openBySev:r,activeFilter:i,onFilter:a}){let[o,s]=(0,w.useState)(!1);return(0,T.jsxs)(`div`,{className:`triage-hero`,children:[(0,T.jsxs)(`div`,{className:`triage-hero-row`,children:[(0,T.jsx)(`h1`,{className:`triage-hero-title`,children:(0,w.useMemo)(()=>{if(e===0)return`No findings`;if(i===`needs_attention`)return t===0?`Nothing needs attention`:`${t.toLocaleString()} ${t===1?`finding needs`:`findings need`} attention`;if(i===`all`)return`${e.toLocaleString()} ${e===1?`finding`:`findings`}`;let r=n[i]??0,a=Mc.find(e=>e.value===i)?.label??i;return`${r.toLocaleString()} ${a.toLowerCase()}`},[e,t,n,i])}),e>0&&(0,T.jsxs)(`button`,{type:`button`,className:`triage-hero-toggle`,onClick:()=>s(e=>!e),"aria-expanded":o,children:[o?`Hide breakdown`:`Show breakdown`,(0,T.jsx)(`span`,{className:`triage-caret${o?` open`:``}`,children:`▾`})]})]}),(i===`needs_attention`||i===`all`||i===`open`)&&e>0&&(0,T.jsx)(`div`,{className:`triage-hero-severity`,children:Ac.map(e=>(0,T.jsxs)(`span`,{className:`triage-sev-stat triage-sev-${e.toLowerCase()}`,children:[(0,T.jsx)(`span`,{className:`triage-sev-dot`,"aria-hidden":!0}),(0,T.jsx)(`span`,{className:`triage-sev-count`,children:(r[e]??0).toLocaleString()}),(0,T.jsx)(`span`,{className:`triage-sev-name`,children:e})]},e))}),o&&(0,T.jsxs)(`div`,{className:`triage-state-row`,children:[(0,T.jsxs)(`button`,{type:`button`,className:`triage-state-chip${i===`all`?` active`:``}`,onClick:()=>a(`all`),children:[(0,T.jsx)(`span`,{className:`triage-state-count`,children:e.toLocaleString()}),(0,T.jsx)(`span`,{className:`triage-state-label`,children:`Total`})]}),jc.map(e=>{let t=n[e]??0;return(0,T.jsxs)(`button`,{type:`button`,className:`triage-state-chip${i===e?` active`:``}${t===0?` muted`:``}`,onClick:()=>a(e),children:[(0,T.jsx)(`span`,{className:`triage-state-count`,children:t.toLocaleString()}),(0,T.jsx)(`span`,{className:`triage-state-label`,children:Pc(e)})]},e)})]})]})}function Rc({rules:e,selected:t,onToggle:n,onClear:r}){let[i,a]=(0,w.useState)(!1);if(e.length===0)return null;let o=i?e.length:Math.min(5,e.length),s=e.slice(0,o),c=e.length>5;return(0,T.jsxs)(`div`,{className:`triage-rule-filter`,children:[(0,T.jsx)(`span`,{className:`triage-rule-filter-label`,children:`Rules:`}),s.map(([e,r])=>{let i=t.has(e);return(0,T.jsxs)(`button`,{type:`button`,className:`rule-chip${i?` active`:``}`,onClick:()=>n(e),title:e,children:[(0,T.jsx)(`span`,{className:`rule-chip-name`,children:e}),(0,T.jsx)(`span`,{className:`rule-chip-count`,children:r}),i&&(0,T.jsx)(`span`,{className:`rule-chip-x`,"aria-hidden":!0,children:`×`})]},e)}),c&&(0,T.jsx)(`button`,{type:`button`,className:`triage-rule-more`,onClick:()=>a(e=>!e),children:i?`Show less`:`+ ${e.length-5} more`}),t.size>0&&(0,T.jsx)(`button`,{type:`button`,className:`triage-rule-clear`,onClick:r,children:`Clear`})]})}function uee({finding:e,selected:t,expanded:n,onToggleSelect:r,onToggleExpand:i,onTriage:a}){let o=Hn(),s=e.triage_state||`open`,c=(e.severity||`low`).toLowerCase(),l=e.confidence?.toLowerCase(),u=s!==`open`&&s!==`investigating`;return(0,T.jsxs)(`div`,{className:`finding-row${t?` selected`:``}${n?` expanded`:``} finding-row--sev-${c} finding-row--state-${s}`,children:[(0,T.jsxs)(`div`,{className:`finding-row-main`,onClick:e=>{e.target.closest(`button, input, a, [role="menu"]`)||i()},children:[(0,T.jsx)(`input`,{type:`checkbox`,className:`finding-row-check`,checked:t,onChange:r,onClick:e=>e.stopPropagation(),"aria-label":`Select finding`}),(0,T.jsx)(`span`,{className:`finding-row-sev sev-${c}`,children:e.severity||`Low`}),(0,T.jsxs)(`div`,{className:`finding-row-body`,children:[(0,T.jsxs)(`div`,{className:`finding-row-title`,children:[(0,T.jsx)(`code`,{className:`finding-row-rule`,children:e.rule_id}),s!==`open`&&(0,T.jsx)(`span`,{className:`finding-row-state badge-triage-${s}`,children:Pc(s)})]}),(0,T.jsxs)(`div`,{className:`finding-row-meta`,children:[(0,T.jsxs)(`span`,{className:`finding-row-path`,title:e.path,children:[Fc(e.path),(0,T.jsxs)(`span`,{className:`finding-row-line`,children:[`:`,e.line]})]}),l&&l!==`high`&&(0,T.jsxs)(`span`,{className:`finding-row-conf conf-${l}`,children:[l,` conf`]}),e.language&&(0,T.jsx)(`span`,{className:`finding-row-lang`,children:e.language})]})]}),(0,T.jsxs)(`div`,{className:`finding-row-actions`,children:[(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm btn-primary finding-row-investigate`,onClick:()=>{o(`/findings/${e.index}`)},children:`Investigate`}),(0,T.jsx)(Vo,{align:`right`,trigger:()=>(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm finding-row-kebab`,"aria-label":`More actions`,children:`⋯`}),children:({close:t})=>(0,T.jsxs)(T.Fragment,{children:[!u&&(0,T.jsx)(Ho,{onClick:()=>{a(e.fingerprint,`investigating`),t()},children:`Mark as investigating`}),(0,T.jsx)(Ho,{tone:`warning`,onClick:()=>{a(e.fingerprint,`false_positive`),t()},children:`Mark false positive`}),(0,T.jsx)(Ho,{tone:`warning`,onClick:()=>{a(e.fingerprint,`suppressed`),t()},children:`Suppress`}),(0,T.jsx)(Ho,{tone:`warning`,onClick:()=>{a(e.fingerprint,`accepted_risk`),t()},children:`Accept risk`}),s===`investigating`&&(0,T.jsx)(Ho,{onClick:()=>{a(e.fingerprint,`fixed`),t()},children:`Mark fixed`}),u&&(0,T.jsx)(Ho,{onClick:()=>{a(e.fingerprint,`open`),t()},children:`Reopen`})]})}),(0,T.jsx)(`button`,{type:`button`,className:`finding-row-chevron`,onClick:i,"aria-label":n?`Collapse details`:`Expand details`,"aria-expanded":n,children:(0,T.jsx)(`span`,{className:`chev${n?` open`:``}`,children:`▾`})})]})]}),n&&(0,T.jsx)(zc,{finding:e})]})}function zc({finding:e}){let t=e.labels.filter(([e])=>e===`source`||e===`sink`||e===`sanitizer`);return(0,T.jsx)(`div`,{className:`finding-row-details`,children:(0,T.jsxs)(`div`,{className:`finding-row-details-grid`,children:[(0,T.jsxs)(`div`,{className:`finding-row-details-item`,children:[(0,T.jsx)(`div`,{className:`finding-row-details-label`,children:`Path`}),(0,T.jsxs)(`code`,{className:`finding-row-details-path`,children:[e.path,`:`,e.line]})]}),e.message&&(0,T.jsxs)(`div`,{className:`finding-row-details-item`,children:[(0,T.jsx)(`div`,{className:`finding-row-details-label`,children:`Message`}),(0,T.jsx)(`div`,{className:`finding-row-details-text`,children:e.message})]}),t.length>0&&(0,T.jsxs)(`div`,{className:`finding-row-details-item`,children:[(0,T.jsx)(`div`,{className:`finding-row-details-label`,children:`Flow`}),(0,T.jsx)(`div`,{className:`finding-row-details-labels`,children:t.map(([e,t],n)=>(0,T.jsxs)(`span`,{className:`cap-badge-${e}`,children:[(0,T.jsx)(`span`,{className:`cap-key`,children:e}),(0,T.jsx)(`span`,{className:`cap-val`,children:t})]},`${e}-${t}-${n}`))})]}),(0,T.jsxs)(`div`,{className:`finding-row-details-item`,children:[(0,T.jsx)(`div`,{className:`finding-row-details-label`,children:`Details`}),(0,T.jsx)(`div`,{className:`finding-row-details-actions`,children:(0,T.jsx)(ui,{to:`/findings/${e.index}`,className:`btn btn-sm`,children:`Open full investigation`})})]})]})})}function Bc({label:e,count:t,severityMix:n,collapsed:r,onToggle:i,allSelected:a,someSelected:o,onToggleAll:s}){return(0,T.jsxs)(`div`,{className:`finding-group-header${r?` collapsed`:``}`,children:[(0,T.jsx)(`input`,{type:`checkbox`,className:`finding-group-check`,checked:a,ref:e=>{e&&(e.indeterminate=o&&!a)},onChange:s,"aria-label":`Select all in group`}),(0,T.jsxs)(`button`,{type:`button`,className:`finding-group-toggle`,onClick:i,"aria-expanded":!r,children:[(0,T.jsx)(`span`,{className:`chev${r?``:` open`}`,children:`▾`}),(0,T.jsx)(`span`,{className:`finding-group-label`,children:e}),(0,T.jsx)(`span`,{className:`finding-group-count`,children:t})]}),(0,T.jsx)(`div`,{className:`finding-group-sev`,children:Ac.map(e=>{let t=n[e]??0;return t===0?null:(0,T.jsxs)(`span`,{className:`finding-group-sev-pill sev-${e.toLowerCase()}`,children:[t,` `,e]},e)})})]})}function Vc(e,t){if(t===`none`){let t={};return e.forEach(e=>{let n=e.severity||`Low`;t[n]=(t[n]??0)+1}),[{key:`all`,label:`All findings`,findings:e,severityMix:t}]}let n=new Map,r=e=>t===`rule`?e.rule_id||`(unknown rule)`:t===`file`?e.path||`(unknown file)`:t===`severity`?e.severity||`Low`:`All`;for(let t of e){let e=r(t),i=n.get(e);i?i.push(t):n.set(e,[t])}let i=Array.from(n.entries()).map(([e,n])=>{let r={};return n.forEach(e=>{let t=e.severity||`Low`;r[t]=(r[t]??0)+1}),{key:e,label:t===`file`?Fc(e):e,findings:n,severityMix:r}});return t===`severity`?i.sort((e,t)=>Ic(e.key)-Ic(t.key)):i.sort((e,t)=>t.findings.length-e.findings.length),i}function Hc({findings:e,groupMode:t,selected:n,onToggleSelect:r,onToggleSelectMany:i,onTriage:a}){let[o,s]=(0,w.useState)(new Set),[c,l]=(0,w.useState)(new Set),[u,d]=(0,w.useState)(200);(0,w.useEffect)(()=>{d(200)},[t,e.length]);let f=(0,w.useMemo)(()=>Vc(e,t),[e,t]);if(e.length===0)return(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No findings match the current filters`}),(0,T.jsx)(`p`,{children:`Try clearing rule filters or switching state above.`})]});let p=0,m=[];for(let e of f){if(p>=u)break;let d=c.has(e.key),f=e.findings.map(e=>e.index),h=f.length>0&&f.every(e=>n.has(e)),g=f.some(e=>n.has(e));m.push((0,T.jsxs)(`div`,{className:`finding-group`,children:[t!==`none`&&(0,T.jsx)(Bc,{label:e.label,count:e.findings.length,severityMix:e.severityMix,collapsed:d,onToggle:()=>{l(t=>{let n=new Set(t);return n.has(e.key)?n.delete(e.key):n.add(e.key),n})},allSelected:h,someSelected:g,onToggleAll:()=>i(f,!h)}),!d&&(0,T.jsx)(`div`,{className:`finding-group-body`,children:e.findings.map(e=>{if(p>=u)return null;p+=1;let t=`${e.fingerprint}-${e.index}`;return(0,T.jsx)(uee,{finding:e,selected:n.has(e.index),expanded:o.has(t),onToggleSelect:()=>r(e.index),onToggleExpand:()=>{s(e=>{let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n})},onTriage:a},t)})})]},`g-${e.key}`))}let h=e.length;return(0,T.jsxs)(`div`,{className:`finding-list`,children:[m,u<h&&(0,T.jsxs)(`div`,{className:`finding-list-more`,children:[(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm`,onClick:()=>d(e=>e+200),children:`Show 200 more`}),(0,T.jsxs)(`span`,{className:`finding-list-more-count`,children:[`Showing `,Math.min(u,h),` of `,h.toLocaleString()]})]})]})}function Uc({selectedCount:e,onAction:t,onClear:n}){let r=e>0;return(0,T.jsxs)(`div`,{className:`bulk-action-bar triage-bulk-bar${r?` visible`:``}`,"aria-hidden":!r,children:[(0,T.jsxs)(`span`,{className:`bulk-count`,children:[e,` selected`]}),(0,T.jsxs)(`div`,{className:`bulk-actions`,children:[(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm`,disabled:!r,onClick:()=>t(`investigating`),children:`Investigate`}),(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm bulk-menu-btn--warning`,disabled:!r,onClick:()=>t(`false_positive`),children:`False positive`}),(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm bulk-menu-btn--warning`,disabled:!r,onClick:()=>t(`suppressed`),children:`Suppress`}),(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm bulk-menu-btn--warning`,disabled:!r,onClick:()=>t(`accepted_risk`),children:`Accept risk`}),(0,T.jsx)(`div`,{className:`bulk-divider`,"aria-hidden":!0}),(0,T.jsx)(`button`,{type:`button`,className:`btn btn-sm`,onClick:n,children:`Clear selection`})]})]})}function Wc({rules:e,onDelete:t}){return e.length===0?(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No suppression rules`}),(0,T.jsx)(`p`,{children:`Suppress findings by pattern from the Findings page bulk actions, or from individual finding detail pages.`})]}):(0,T.jsx)(`div`,{className:`table-wrap`,children:(0,T.jsxs)(`table`,{children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Type`}),(0,T.jsx)(`th`,{children:`Pattern`}),(0,T.jsx)(`th`,{children:`State`}),(0,T.jsx)(`th`,{children:`Note`}),(0,T.jsx)(`th`,{children:`Created`}),(0,T.jsx)(`th`,{})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge`,children:e.suppress_by})}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`code`,{children:e.match_value})}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge badge-triage-${e.state}`,children:Pc(e.state)})}),(0,T.jsx)(`td`,{children:e.note||`-`}),(0,T.jsx)(`td`,{style:{fontSize:`var(--text-xs)`,whiteSpace:`nowrap`},children:e.created_at?e.created_at.substring(0,10):`-`}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`button`,{className:`btn btn-sm btn-danger`,onClick:()=>t(e.id),children:`Delete`})})]},e.id))})]})})}function Gc({entries:e}){return e.length===0?(0,T.jsxs)(`div`,{className:`empty-state`,children:[(0,T.jsx)(`h3`,{children:`No audit entries yet`}),(0,T.jsx)(`p`,{children:`Every triage action will be logged here with a timestamp and state transition.`})]}):(0,T.jsx)(`div`,{className:`table-wrap`,children:(0,T.jsxs)(`table`,{className:`triage-audit-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Time`}),(0,T.jsx)(`th`,{children:`Fingerprint`}),(0,T.jsx)(`th`,{children:`Action`}),(0,T.jsx)(`th`,{children:`Transition`}),(0,T.jsx)(`th`,{children:`Note`})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{style:{fontSize:`var(--text-xs)`,whiteSpace:`nowrap`},children:e.timestamp?e.timestamp.substring(0,19).replace(`T`,` `):`-`}),(0,T.jsx)(`td`,{style:{fontSize:`var(--text-xs)`},children:(0,T.jsx)(`code`,{title:e.fingerprint,children:e.fingerprint.substring(0,12)})}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`badge`,children:e.action})}),(0,T.jsxs)(`td`,{children:[(0,T.jsx)(`span`,{className:`badge badge-triage-${e.previous_state}`,children:Pc(e.previous_state)}),(0,T.jsx)(`span`,{className:`triage-arrow`,children:`→`}),(0,T.jsx)(`span`,{className:`badge badge-triage-${e.new_state}`,children:Pc(e.new_state)})]}),(0,T.jsx)(`td`,{style:{fontSize:`var(--text-xs)`},children:e.note||`-`})]},e.id))})]})})}function Kc(){vo(`Triage`);let[e,t]=(0,w.useState)(`needs_attention`),[n,r]=(0,w.useState)(`findings`),[i,a]=(0,w.useState)(new Set),[o,s]=(0,w.useState)(`none`),[c,l]=(0,w.useState)(``),[u,d]=(0,w.useState)(new Set),{data:f,isLoading:p,error:m}=Ao({per_page:5e3}),{data:h}=Dc({per_page:100}),{data:g}=Oc(),{data:_}=kc(),v=Po(),y=Io(),b=Lo(),x=Ro(),S=(0,w.useMemo)(()=>f?.findings??[],[f]),ee=(0,w.useMemo)(()=>h?.entries??[],[h]),te=(0,w.useMemo)(()=>g?.rules??[],[g]),{stateCounts:ne,totalCount:C,needsAttention:re,openBySev:ie,topRules:ae}=(0,w.useMemo)(()=>{let e={};jc.forEach(t=>e[t]=0),S.forEach(t=>{let n=t.triage_state||`open`;e[n]=(e[n]||0)+1});let t=S.length,n=(e.open||0)+(e.investigating||0),r={};Ac.forEach(e=>{r[e]=S.filter(t=>(t.triage_state||`open`)===`open`&&t.severity===e).length});let i={};return S.filter(e=>(e.triage_state||`open`)===`open`).forEach(e=>{i[e.rule_id]=(i[e.rule_id]||0)+1}),{stateCounts:e,totalCount:t,needsAttention:n,openBySev:r,topRules:Object.entries(i).sort((e,t)=>t[1]-e[1])}},[S]),oe=(0,w.useMemo)(()=>{let t=c.trim().toLowerCase();return S.filter(n=>{let r=n.triage_state||`open`;if(e===`needs_attention`){if(r!==`open`&&r!==`investigating`)return!1}else if(e!==`all`&&r!==e)return!1;return!(i.size>0&&!i.has(n.rule_id)||t.length>0&&!`${n.rule_id} ${n.path} ${n.message??``}`.toLowerCase().includes(t))})},[S,e,i,c]);(0,w.useEffect)(()=>{d(new Set)},[e,i,c,o]);let se=(0,w.useCallback)((e,t)=>{v.mutate({fingerprints:[e],state:t,note:``})},[v]),ce=(0,w.useCallback)(e=>{d(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),le=(0,w.useCallback)((e,t)=>{d(n=>{let r=new Set(n);for(let n of e)t?r.add(n):r.delete(n);return r})},[]),ue=(0,w.useCallback)(e=>{if(u.size===0)return;let t=oe.filter(e=>u.has(e.index)).map(e=>e.fingerprint);t.length!==0&&v.mutate({fingerprints:t,state:e,note:``},{onSuccess:()=>d(new Set)})},[v,oe,u]),de=(0,w.useCallback)(e=>{a(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),fe=(0,w.useCallback)(()=>a(new Set),[]),pe=(0,w.useCallback)(e=>{y.mutate(e)},[y]),me=(0,w.useCallback)(()=>{b.mutate(void 0,{onSuccess:e=>{let t=e;alert(`Exported ${t.exported??0} decisions and ${t.suppression_rules??0} suppression rules to .nyx/triage.json\n\nCommit this file to share triage decisions with your team.`)},onError:e=>{alert(`Export failed: `+e.message)}})},[b]),he=(0,w.useCallback)(()=>{x.mutate(void 0,{onSuccess:e=>{let t=e;alert(`Imported ${t.imported??0} of ${t.total_in_file??0} decisions from .nyx/triage.json`)},onError:e=>{alert(`Import failed: `+e.message)}})},[x]);if(p)return(0,T.jsx)(Za,{message:`Loading triage data...`});if(m)return(0,T.jsx)($a,{title:`Error loading triage data`,message:m.message});let ge=Mc.find(t=>t.value===e)?.label??`Needs attention`,_e=Nc.find(e=>e.value===o)?.label??`None`;return(0,T.jsxs)(`div`,{className:`triage-page`,children:[(0,T.jsx)(Lc,{totalCount:C,needsAttention:re,stateCounts:ne,openBySev:ie,activeFilter:e,onFilter:t}),(0,T.jsxs)(`div`,{className:`triage-tabs-row`,children:[(0,T.jsxs)(`div`,{className:`triage-tabs`,children:[(0,T.jsxs)(`button`,{className:`triage-tab${n===`findings`?` active`:``}`,onClick:()=>r(`findings`),children:[`Findings`,` `,(0,T.jsx)(`span`,{className:`triage-tab-count`,children:C.toLocaleString()})]}),(0,T.jsxs)(`button`,{className:`triage-tab${n===`rules`?` active`:``}${te.length===0?` empty`:``}`,onClick:()=>r(`rules`),children:[`Suppression rules`,te.length>0&&(0,T.jsx)(`span`,{className:`triage-tab-count`,children:te.length})]}),(0,T.jsxs)(`button`,{className:`triage-tab${n===`audit`?` active`:``}${ee.length===0?` empty`:``}`,onClick:()=>r(`audit`),children:[`Audit log`,ee.length>0&&(0,T.jsx)(`span`,{className:`triage-tab-count`,children:ee.length})]})]}),(0,T.jsxs)(`div`,{className:`triage-sync-controls`,children:[_?_.sync_enabled?_.file_exists?(0,T.jsxs)(`span`,{className:`triage-sync-status`,children:[(0,T.jsx)(`span`,{className:`triage-sync-dot synced`}),(0,T.jsxs)(`span`,{className:`triage-sync-text`,children:[_.decisions,` synced decisions`]})]}):(0,T.jsxs)(`span`,{className:`triage-sync-status`,children:[(0,T.jsx)(`span`,{className:`triage-sync-dot unsynced`}),` No sync file`]}):(0,T.jsxs)(`span`,{className:`triage-sync-status`,children:[(0,T.jsx)(`span`,{className:`triage-sync-dot unsynced`}),` Sync off`]}):null,(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:me,children:`Export`}),_?.file_exists&&(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:he,children:`Import`})]})]}),n===`findings`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`triage-controls`,children:[(0,T.jsx)(Vo,{align:`left`,trigger:({open:e})=>(0,T.jsxs)(`button`,{type:`button`,className:`btn btn-sm triage-control-btn`,children:[`State: `,(0,T.jsx)(`strong`,{children:ge}),(0,T.jsx)(`span`,{className:`bulk-caret${e?` bulk-caret--open`:``}`,children:`▾`})]}),children:({close:n})=>Mc.map(r=>(0,T.jsx)(Ho,{checked:e===r.value,onClick:()=>{t(r.value),n()},children:r.label},r.value))}),(0,T.jsx)(Vo,{align:`left`,trigger:({open:e})=>(0,T.jsxs)(`button`,{type:`button`,className:`btn btn-sm triage-control-btn`,children:[`Group by: `,(0,T.jsx)(`strong`,{children:_e}),(0,T.jsx)(`span`,{className:`bulk-caret${e?` bulk-caret--open`:``}`,children:`▾`})]}),children:({close:e})=>Nc.map(t=>(0,T.jsx)(Ho,{checked:o===t.value,onClick:()=>{s(t.value),e()},children:t.label},t.value))}),(0,T.jsx)(`input`,{className:`triage-search`,type:`search`,placeholder:`Search rule, file, message…`,value:c,onChange:e=>l(e.target.value)}),(0,T.jsxs)(`span`,{className:`triage-result-count`,children:[oe.length.toLocaleString(),` result`,oe.length===1?``:`s`]})]}),(0,T.jsx)(Rc,{rules:ae,selected:i,onToggle:de,onClear:fe}),(0,T.jsx)(Uc,{selectedCount:u.size,onAction:ue,onClear:()=>d(new Set)}),(0,T.jsx)(Hc,{findings:oe,groupMode:o,selected:u,onToggleSelect:ce,onToggleSelectMany:le,onTriage:se})]}),n===`rules`&&(0,T.jsx)(Wc,{rules:te,onDelete:pe}),n===`audit`&&(0,T.jsx)(Gc,{entries:ee})]})}function qc(){return xt({queryKey:[`config`],queryFn:({signal:e})=>ha(`/config`,e)})}function Jc(){return xt({queryKey:[`config`,`raw`],queryFn:({signal:e})=>ha(`/config/raw`,e)})}function Yc(){return xt({queryKey:[`config`,`sources`],queryFn:({signal:e})=>ha(`/config/sources`,e)})}function Xc(){return xt({queryKey:[`config`,`sinks`],queryFn:({signal:e})=>ha(`/config/sinks`,e)})}function Zc(){return xt({queryKey:[`config`,`sanitizers`],queryFn:({signal:e})=>ha(`/config/sanitizers`,e)})}function Qc(){return xt({queryKey:[`config`,`terminators`],queryFn:({signal:e})=>ha(`/config/terminators`,e)})}function $c(){return xt({queryKey:[`config`,`profiles`],queryFn:({signal:e})=>ha(`/config/profiles`,e)})}function el(){let e=ot();return St({mutationFn:e=>ga(`/config/sources`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`sources`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function tl(){let e=ot();return St({mutationFn:e=>va(`/config/sources`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`sources`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function nl(){let e=ot();return St({mutationFn:e=>ga(`/config/sinks`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`sinks`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function rl(){let e=ot();return St({mutationFn:e=>va(`/config/sinks`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`sinks`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function il(){let e=ot();return St({mutationFn:e=>ga(`/config/sanitizers`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`sanitizers`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function al(){let e=ot();return St({mutationFn:e=>va(`/config/sanitizers`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`sanitizers`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function ol(){let e=ot();return St({mutationFn:e=>ga(`/config/terminators`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`terminators`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function sl(){let e=ot();return St({mutationFn:e=>va(`/config/terminators`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`terminators`]}),e.invalidateQueries({queryKey:[`rules`]})}})}function cl(){let e=ot();return St({mutationFn:e=>ga(`/config/profiles`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`profiles`]})}})}function ll(){let e=ot();return St({mutationFn:e=>va(`/config/profiles/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`,`profiles`]})}})}function ul(){let e=ot();return St({mutationFn:e=>ga(`/config/profiles/${encodeURIComponent(e)}/activate`),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`]}),e.invalidateQueries({queryKey:[`config`,`profiles`]})}})}function dl(){let e=ot();return St({mutationFn:e=>_a(`/config/raw`,{content:e}),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`]})}})}function fl(){let e=ot();return St({mutationFn:e=>ga(`/config/triage-sync`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`triage`,`sync-status`]})}})}var pl=[{value:`light`,label:`Light`},{value:`dark`,label:`Dark`},{value:`system`,label:`System`},{value:`hc-light`,label:`High-contrast light`},{value:`hc-dark`,label:`High-contrast dark`}],ml=[`javascript`,`typescript`,`python`,`go`,`java`,`c`,`cpp`,`php`,`ruby`,`rust`],hl=[`all`,`env_var`,`html_escape`,`shell_escape`,`url_encode`,`json_parse`,`file_io`,`sql_query`,`deserialize`,`ssrf`,`code_exec`,`crypto`];function gl({title:e,id:t,defaultCollapsed:n=!1,children:r}){let[i,a]=(0,w.useState)(n);return(0,T.jsxs)(`div`,{className:`config-section`,id:t,children:[(0,T.jsxs)(`div`,{className:`config-section-header${i?` collapsed`:``}`,onClick:()=>a(!i),children:[(0,T.jsx)(`span`,{className:`config-collapse-arrow${i?` collapsed`:``}`,children:`▼`}),` `,(0,T.jsx)(`strong`,{children:e})]}),(0,T.jsx)(`div`,{className:`config-section-body${i?` collapsed`:``}`,children:r})]})}function _l({triageSyncOn:e,onToggleTriageSync:t}){let{preference:n,setPreference:r}=Hi();return(0,T.jsxs)(`div`,{className:`config-section`,id:`config-settings`,children:[(0,T.jsx)(`div`,{className:`config-section-header config-section-header-static`,children:(0,T.jsx)(`strong`,{children:`Settings`})}),(0,T.jsxs)(`div`,{className:`config-section-body`,children:[(0,T.jsxs)(`div`,{className:`settings-row`,children:[(0,T.jsx)(`label`,{htmlFor:`theme-select`,className:`settings-row-label`,children:`Theme`}),(0,T.jsx)(`select`,{id:`theme-select`,className:`settings-row-control`,value:n,onChange:e=>r(e.target.value),children:pl.map(e=>(0,T.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,T.jsxs)(`div`,{className:`toggle-inline settings-row-toggle`,children:[(0,T.jsx)(`input`,{type:`checkbox`,id:`triage-sync-toggle`,checked:e,onChange:e=>t(e.target.checked)}),(0,T.jsxs)(`label`,{htmlFor:`triage-sync-toggle`,children:[`Auto-sync triage decisions to `,(0,T.jsx)(`code`,{children:`.nyx/triage.json`}),` for git-based team sharing`]})]})]})]})}function vl({entries:e}){return(0,T.jsx)(`div`,{className:`config-kv-grid`,children:e.map(([e,t])=>(0,T.jsxs)(`div`,{className:`config-kv-row`,children:[(0,T.jsx)(`div`,{className:`config-kv-key`,children:e}),(0,T.jsx)(`div`,{className:`config-kv-val`,children:t})]},e))})}function yl(e){return e==null?(0,T.jsx)(`span`,{className:`muted`,children:`—`}):typeof e==`boolean`?(0,T.jsx)(`span`,{className:e?`pill pill-on`:`pill pill-off`,children:e?`on`:`off`}):Array.isArray(e)?e.length===0?(0,T.jsx)(`span`,{className:`muted`,children:`[]`}):(0,T.jsx)(`span`,{className:`config-list-inline`,children:e.map(String).map((e,t)=>(0,T.jsx)(`span`,{className:`config-tag`,children:e},t))}):typeof e==`object`?(0,T.jsx)(`code`,{className:`config-mono`,children:JSON.stringify(e)}):(0,T.jsx)(`span`,{className:`config-mono`,children:String(e)})}function bl({title:e,id:t,kind:n,entries:r,onAdd:i,onDelete:a}){let[o,s]=(0,w.useState)(``),[c,l]=(0,w.useState)(``),[u,d]=(0,w.useState)(`all`),f=(0,w.useCallback)(()=>{!o||!c||(i({lang:o,matchers:[c],cap:u}),l(``))},[o,c,u,i]);return(0,T.jsxs)(gl,{title:e,id:t,children:[(0,T.jsxs)(`p`,{className:`config-help`,children:[`Custom `,n,` rules from your `,(0,T.jsx)(`code`,{children:`nyx.local`}),`. Built-in rules are listed on the `,(0,T.jsx)(`strong`,{children:`Rules`}),` page.`]}),(0,T.jsxs)(`div`,{className:`config-form-row`,children:[(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Language`}),(0,T.jsxs)(`select`,{value:o,onChange:e=>s(e.target.value),children:[(0,T.jsx)(`option`,{value:``,children:`Select…`}),ml.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))]})]}),(0,T.jsxs)(`div`,{className:`form-group form-group-grow`,children:[(0,T.jsx)(`label`,{children:`Matcher`}),(0,T.jsx)(`input`,{type:`text`,placeholder:`functionName`,value:c,onChange:e=>l(e.target.value),onKeyDown:e=>{e.key===`Enter`&&f()}})]}),(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Capability`}),(0,T.jsx)(`select`,{value:u,onChange:e=>d(e.target.value),children:hl.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))})]}),(0,T.jsx)(`button`,{className:`btn btn-primary`,onClick:f,disabled:!o||!c,children:`Add`})]}),(0,T.jsx)(`div`,{className:`table-wrap`,style:{marginTop:12},children:r.length===0?(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:12},children:(0,T.jsxs)(`p`,{children:[`No custom `,n,` rules yet`]})}):(0,T.jsxs)(`table`,{className:`label-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Language`}),(0,T.jsx)(`th`,{children:`Matchers`}),(0,T.jsx)(`th`,{children:`Cap`}),(0,T.jsx)(`th`,{})]})}),(0,T.jsx)(`tbody`,{children:r.map((e,t)=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:e.lang}),(0,T.jsx)(`td`,{className:`config-mono`,children:e.matchers.join(`, `)}),(0,T.jsx)(`td`,{children:e.cap}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`button`,{className:`btn btn-danger btn-sm`,onClick:()=>a(e),children:`Remove`})})]},`c-${t}`))})]})})]})}function xl(){let{data:e,isLoading:t,error:n,refetch:r}=Jc(),i=dl(),[a,o]=(0,w.useState)(null),[s,c]=(0,w.useState)(null),[l,u]=(0,w.useState)(null);if((0,w.useEffect)(()=>{e&&a===null&&o(e.content)},[e]),t)return(0,T.jsx)(Za,{message:`Loading nyx.local…`});if(n)return(0,T.jsx)($a,{message:n.message});if(!e)return null;let d=a!==null&&a!==e.content;return(0,T.jsxs)(`div`,{className:`raw-editor`,children:[(0,T.jsxs)(`div`,{className:`raw-editor-header`,children:[(0,T.jsxs)(`div`,{children:[(0,T.jsx)(`strong`,{children:`nyx.local`}),(0,T.jsx)(`div`,{className:`raw-editor-path`,children:e.exists?e.path:`${e.path} (will be created on save)`})]}),(0,T.jsxs)(`div`,{className:`raw-editor-actions`,children:[d&&(0,T.jsx)(`span`,{className:`raw-editor-dirty`,children:`Unsaved changes`}),l&&!d&&(0,T.jsx)(`span`,{className:`raw-editor-saved`,children:`Saved`}),(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:()=>{o(e.content),c(null)},disabled:!d||i.isPending,children:`Discard`}),(0,T.jsx)(`button`,{className:`btn btn-primary btn-sm`,onClick:async()=>{if(a!==null){c(null);try{await i.mutateAsync(a),u(Date.now()),await r()}catch(e){c(e instanceof Error?e.message:String(e))}}},disabled:!d||i.isPending,children:i.isPending?`Saving…`:`Save`})]})]}),s&&(0,T.jsxs)(`div`,{className:`raw-editor-error`,children:[(0,T.jsx)(`strong`,{children:`Save failed:`}),` `,s]}),(0,T.jsx)(`textarea`,{className:`raw-editor-textarea`,value:a??``,spellCheck:!1,onChange:e=>o(e.target.value),placeholder:`# nyx.local — overrides for the default config.
# Anything you set here wins over nyx.conf.`}),(0,T.jsx)(`p`,{className:`config-help`,children:`Edits are validated against the full config schema before being written. Saved files take effect immediately for new scans.`})]})}function Sl({cfg:e}){let t=(0,w.useMemo)(()=>[{key:`scanner`,title:`Scanner`,keys:[`mode`,`min_severity`,`max_file_size_mb`,`excluded_directories`,`excluded_extensions`,`read_global_ignore`,`read_vcsignore`,`follow_symlinks`,`scan_hidden_files`,`include_nonprod`,`enable_state_analysis`,`enable_auth_analysis`,`enable_auth_as_taint`,`enable_panic_recovery`]},{key:`output`,title:`Output`,keys:[`default_format`,`quiet`,`max_results`,`attack_surface_ranking`,`min_score`,`min_confidence`,`require_converged`,`include_quality`,`show_all`,`max_low`,`max_low_per_file`,`max_low_per_rule`]},{key:`performance`,title:`Performance`,keys:[`max_depth`,`min_depth`,`worker_threads`,`batch_size`,`channel_multiplier`,`rayon_thread_stack_size`,`scan_timeout_secs`,`memory_limit_mb`]},{key:`database`,title:`Database`,keys:[`path`,`auto_cleanup_days`,`max_db_size_mb`,`vacuum_on_startup`]},{key:`server`,title:`Server`,keys:[`host`,`port`,`auto_open_browser`,`persist_runs`,`max_saved_runs`,`triage_sync`]},{key:`runs`,title:`Runs`,keys:[`persist`,`max_runs`,`save_logs`,`save_stdout`,`save_code_snippets`]}],[]);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`p`,{className:`config-help`,children:[`The merged result of `,(0,T.jsx)(`code`,{children:`nyx.conf`}),` defaults plus your`,(0,T.jsx)(`code`,{children:` nyx.local`}),` overrides. To change anything, edit fields below or use the `,(0,T.jsx)(`strong`,{children:`Raw`}),` tab.`]}),t.map(t=>{let n=e?.[t.key],r=t.keys.map(e=>[e,yl(n?.[e])]);return(0,T.jsx)(gl,{title:t.title,id:`config-${t.key}`,defaultCollapsed:t.key!==`scanner`&&t.key!==`output`,children:(0,T.jsx)(vl,{entries:r})},t.key)})]})}function Cl(){vo(`Config`);let{data:e,isLoading:t,error:n}=qc(),{data:r}=Yc(),{data:i}=Xc(),{data:a}=Zc(),{data:o}=Qc(),{data:s}=$c(),c=el(),l=tl(),u=nl(),d=rl(),f=il(),p=al(),m=ol(),h=sl(),g=cl(),_=ll(),v=ul(),y=fl(),b=Ki(),x=e=>`${e.lang} · ${e.matchers.join(`, `)} → ${e.cap}`,S=e=>e instanceof Error?e.message:String(e??`Unknown error`),ee=e=>({onSuccess:(t,n)=>b.success(x(n),`${e[0].toUpperCase()}${e.slice(1)} added`),onError:t=>b.error(S(t),`Could not add ${e}`)}),te=e=>({onSuccess:(t,n)=>b.success(x(n),`${e[0].toUpperCase()}${e.slice(1)} removed`),onError:t=>b.error(S(t),`Could not remove ${e}`)}),[ne,C]=(0,w.useState)(`overview`),[re,ie]=(0,w.useState)(``),[ae,oe]=(0,w.useState)(``),[se,ce]=(0,w.useState)(``),le=(0,w.useCallback)(()=>{!re||!ae||(m.mutate({lang:re,name:ae},{onSuccess:(e,t)=>b.success(`${t.lang} · ${t.name}`,`Terminator added`),onError:e=>b.error(e instanceof Error?e.message:String(e??`Unknown error`),`Could not add terminator`)}),oe(``))},[re,ae,m,b]),ue=(0,w.useCallback)(()=>{se&&(g.mutate({name:se,settings:{}}),ce(``))},[se,g]);if(t)return(0,T.jsx)(Za,{message:`Loading configuration…`});if(n)return(0,T.jsx)($a,{message:n.message});let de=e,fe=!!de?.server?.triage_sync;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`page-header`,children:[(0,T.jsx)(`h2`,{children:`Config`}),(0,T.jsxs)(`span`,{className:`page-header-sub`,children:[`Edit defaults, rules, profiles, and the raw `,(0,T.jsx)(`code`,{children:`nyx.local`}),` `,`file`]})]}),(0,T.jsx)(`div`,{className:`config-tabs`,children:[[`overview`,`Overview`],[`rules`,`Custom Rules`],[`profiles`,`Profiles`],[`raw`,`Raw nyx.local`]].map(([e,t])=>(0,T.jsx)(`button`,{className:`config-tab${ne===e?` active`:``}`,onClick:()=>C(e),children:t},e))}),ne===`overview`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(_l,{triageSyncOn:fe,onToggleTriageSync:e=>y.mutate({enabled:e})}),(0,T.jsx)(Sl,{cfg:de})]}),ne===`rules`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(bl,{title:`Sources`,id:`config-sources`,kind:`source`,entries:r||[],onAdd:e=>c.mutate(e,ee(`source`)),onDelete:e=>l.mutate({lang:e.lang,matchers:e.matchers,cap:e.cap},te(`source`))}),(0,T.jsx)(bl,{title:`Sinks`,id:`config-sinks`,kind:`sink`,entries:i||[],onAdd:e=>u.mutate(e,ee(`sink`)),onDelete:e=>d.mutate({lang:e.lang,matchers:e.matchers,cap:e.cap},te(`sink`))}),(0,T.jsx)(bl,{title:`Sanitizers`,id:`config-sanitizers`,kind:`sanitizer`,entries:a||[],onAdd:e=>f.mutate(e,ee(`sanitizer`)),onDelete:e=>p.mutate({lang:e.lang,matchers:e.matchers,cap:e.cap},te(`sanitizer`))}),(0,T.jsxs)(gl,{title:`Terminators`,id:`config-terminators`,children:[(0,T.jsxs)(`p`,{className:`config-help`,children:[`Function calls that abort control flow (e.g.`,` `,(0,T.jsx)(`code`,{children:`process.exit`}),`,`,(0,T.jsx)(`code`,{children:` sys.exit`}),`) so the analyzer doesn't continue past them.`]}),(0,T.jsxs)(`div`,{className:`config-form-row`,children:[(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Language`}),(0,T.jsxs)(`select`,{value:re,onChange:e=>ie(e.target.value),children:[(0,T.jsx)(`option`,{value:``,children:`Select…`}),ml.map(e=>(0,T.jsx)(`option`,{value:e,children:e},e))]})]}),(0,T.jsxs)(`div`,{className:`form-group form-group-grow`,children:[(0,T.jsx)(`label`,{children:`Function Name`}),(0,T.jsx)(`input`,{type:`text`,placeholder:`process.exit`,value:ae,onChange:e=>oe(e.target.value),onKeyDown:e=>{e.key===`Enter`&&le()}})]}),(0,T.jsx)(`button`,{className:`btn btn-primary`,onClick:le,disabled:!re||!ae,children:`Add`})]}),(0,T.jsx)(`div`,{className:`table-wrap`,style:{marginTop:12},children:!o||o.length===0?(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:12},children:(0,T.jsx)(`p`,{children:`No terminators configured`})}):(0,T.jsxs)(`table`,{className:`label-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Language`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{})]})}),(0,T.jsx)(`tbody`,{children:o.map((e,t)=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:e.lang}),(0,T.jsx)(`td`,{className:`config-mono`,children:e.name}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`button`,{className:`btn btn-danger btn-sm`,onClick:()=>h.mutate(e),children:`Remove`})})]},t))})]})})]})]}),ne===`profiles`&&(0,T.jsxs)(gl,{title:`Profiles`,id:`config-profiles`,children:[(0,T.jsx)(`p`,{className:`config-help`,children:`Profiles bundle scanner + output settings. Activate one to apply its settings to the current session.`}),(0,T.jsx)(`div`,{className:`table-wrap`,children:!s||s.length===0?(0,T.jsx)(`div`,{className:`empty-state`,style:{padding:12},children:(0,T.jsx)(`p`,{children:`No profiles configured`})}):(0,T.jsxs)(`table`,{className:`label-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Type`}),(0,T.jsx)(`th`,{children:`Settings`}),(0,T.jsx)(`th`,{})]})}),(0,T.jsx)(`tbody`,{children:s.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`strong`,{children:e.name})}),(0,T.jsx)(`td`,{children:e.is_builtin?(0,T.jsx)(`span`,{className:`badge-builtin`,children:`built-in`}):(0,T.jsx)(`span`,{className:`badge-custom`,children:`custom`})}),(0,T.jsx)(`td`,{className:`config-profile-settings`,children:JSON.stringify(e.settings)}),(0,T.jsxs)(`td`,{children:[(0,T.jsx)(`button`,{className:`btn btn-sm`,onClick:()=>v.mutate(e.name),children:`Activate`}),!e.is_builtin&&(0,T.jsx)(`button`,{className:`btn btn-danger btn-sm`,onClick:()=>_.mutate(e.name),style:{marginLeft:6},children:`Delete`})]})]},e.name))})]})}),(0,T.jsxs)(`div`,{className:`config-form-row config-form-row-2col`,style:{marginTop:12},children:[(0,T.jsxs)(`div`,{className:`form-group`,children:[(0,T.jsx)(`label`,{children:`Profile Name`}),(0,T.jsx)(`input`,{type:`text`,placeholder:`my_profile`,value:se,onChange:e=>ce(e.target.value),onKeyDown:e=>{e.key===`Enter`&&ue()}})]}),(0,T.jsx)(`button`,{className:`btn btn-primary`,onClick:ue,disabled:!se,children:`Save Current as Profile`})]})]}),ne===`raw`&&(0,T.jsx)(xl,{})]})}function wl(e){return xt({queryKey:[`explorer`,`tree`,e??``],queryFn:({signal:t})=>ha(`/explorer/tree${e?`?path=${encodeURIComponent(e)}`:``}`,t)})}function Tl(e){return xt({queryKey:[`explorer`,`symbols`,e],queryFn:({signal:t})=>ha(`/explorer/symbols?path=${encodeURIComponent(e)}`,t),enabled:!!e})}function El(e){return xt({queryKey:[`explorer`,`findings`,e],queryFn:({signal:t})=>ha(`/explorer/findings?path=${encodeURIComponent(e)}`,t),enabled:!!e})}function Dl(e){return xt({queryKey:[`debug`,`functions`,e],queryFn:({signal:t})=>ha(`/debug/functions?file=${encodeURIComponent(e)}`,t),enabled:!!e})}function Ol(e,t){return xt({queryKey:[`debug`,`cfg`,e,t],queryFn:({signal:n})=>ha(`/debug/cfg?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function kl(e,t){return xt({queryKey:[`debug`,`ssa`,e,t],queryFn:({signal:n})=>ha(`/debug/ssa?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function Al(e,t){return xt({queryKey:[`debug`,`taint`,e,t],queryFn:({signal:n})=>ha(`/debug/taint?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function jl(e,t){return xt({queryKey:[`debug`,`abstract-interp`,e,t],queryFn:({signal:n})=>ha(`/debug/abstract-interp?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function Ml(e,t){return xt({queryKey:[`debug`,`symex`,e,t],queryFn:({signal:n})=>ha(`/debug/symex?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function Nl(e,t){let n=new URLSearchParams({scope:e});return t&&n.set(`file`,t),xt({queryKey:[`debug`,`call-graph`,e,t],queryFn:({signal:e})=>ha(`/debug/call-graph?${n}`,e)})}function Pl(e,t){let n=new URLSearchParams;return e&&n.set(`file`,e),t&&n.set(`function`,t),xt({queryKey:[`debug`,`summaries`,e,t],queryFn:({signal:e})=>ha(`/debug/summaries?${n}`,e)})}function Fl(e,t){return xt({queryKey:[`debug`,`pointer`,e,t],queryFn:({signal:n})=>ha(`/debug/pointer?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function Il(e,t){return xt({queryKey:[`debug`,`type-facts`,e,t],queryFn:({signal:n})=>ha(`/debug/type-facts?file=${encodeURIComponent(e)}&function=${encodeURIComponent(t)}`,n),enabled:!!e&&!!t})}function Ll(e){return xt({queryKey:[`debug`,`auth`,e],queryFn:({signal:t})=>ha(`/debug/auth?file=${encodeURIComponent(e)}`,t),enabled:!!e})}function Rl({entries:e,expandedPaths:t,selectedPath:n,onToggleExpand:r,onSelectFile:i,loadedChildren:a}){return(0,T.jsx)(`div`,{className:`file-tree`,children:e.map(e=>(0,T.jsx)(zl,{entry:e,depth:0,expandedPaths:t,selectedPath:n,onToggleExpand:r,onSelectFile:i,loadedChildren:a},e.path))})}function zl({entry:e,depth:t,expandedPaths:n,selectedPath:r,onToggleExpand:i,onSelectFile:a,loadedChildren:o}){let s=e.entry_type===`dir`,c=n.has(e.path),l=r===e.path,u=o.get(e.path),d=e.finding_count>0&&e.severity_max?` sev-${e.severity_max.toLowerCase()}`:``;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`tree-node${l?` selected`:``}${d}`,style:{paddingLeft:8+t*16},onClick:()=>{s?i(e.path):a(e.path)},children:[(0,T.jsx)(`span`,{className:`tree-chevron${s?``:` invisible`}`,children:s?c?`▾`:`▸`:``}),(0,T.jsx)(`span`,{className:`tree-node-icon`,children:s?(0,T.jsx)(na,{size:14}):(0,T.jsx)(Bl,{language:e.language})}),(0,T.jsx)(`span`,{className:`tree-node-name`,title:e.path,children:e.name}),e.finding_count>0&&(0,T.jsx)(`span`,{className:`tree-node-badge`,children:e.finding_count})]}),s&&c&&u&&(0,T.jsx)(`div`,{className:`tree-children`,children:u.map(e=>(0,T.jsx)(zl,{entry:e,depth:t+1,expandedPaths:n,selectedPath:r,onToggleExpand:i,onSelectFile:a,loadedChildren:o},e.path))})]})}function Bl({language:e}){let t=(e||``).charAt(0).toUpperCase()||`·`;return(0,T.jsx)(`span`,{className:`file-icon`,style:{color:Vl(e)},title:e||`file`,children:t})}function Vl(e){switch(e?.toLowerCase()){case`javascript`:return`#f0db4f`;case`typescript`:return`#3178c6`;case`python`:return`#3572a5`;case`rust`:return`#dea584`;case`go`:return`#00add8`;case`java`:return`#b07219`;case`ruby`:return`#cc342d`;case`php`:return`#4f5d95`;case`c`:return`#555555`;case`c++`:return`#f34b7d`;default:return`var(--text-tertiary)`}}function Hl({message:e,children:t,icon:n}){return(0,T.jsxs)(`div`,{className:`empty-state`,children:[n&&(0,T.jsx)(`div`,{className:`empty-state-icon`,children:n}),e&&(0,T.jsx)(`p`,{children:e}),t]})}function Ul(e,t){let[n,r]=(0,w.useState)(e??null),[i,a]=(0,w.useState)(new Set),[o,s]=(0,w.useState)(new Map),[c,l]=(0,w.useState)(null),{data:u,isLoading:d}=wl(),{data:f}=wl(c||void 0);return(0,w.useEffect)(()=>{let t=e??null;r(e=>e===t?e:t)},[e]),(0,w.useEffect)(()=>{if(!e)return;let t=Wl(e);if(t.length===0)return;a(e=>{let n=new Set(e),r=!1;for(let e of t)n.has(e)||(n.add(e),r=!0);return r?n:e});let n=t.find(e=>!o.has(e));n&&c!==n&&l(n)},[c,e,o]),(0,w.useEffect)(()=>{c&&f&&(s(e=>{let t=new Map(e);return t.set(c,f),t}),l(null))},[c,f]),{rootEntries:u,isLoading:d,expandedPaths:i,loadedChildren:o,selectedPath:n,handleToggleExpand:(0,w.useCallback)(e=>{a(t=>{let n=new Set(t);return n.has(e)?n.delete(e):(n.add(e),o.has(e)||l(e)),n})},[o]),handleSelectFile:(0,w.useCallback)(e=>{r(e),t?.(e)},[t]),setSelectedPath:r}}function Wl(e){let t=e.split(`/`).filter(Boolean),n=[];for(let e=1;e<t.length;e+=1)n.push(t.slice(0,e).join(`/`));return n}function Gl({file:e,selectedFunction:t,onFunctionChange:n,showFilePath:r=!0}){let{data:i,isLoading:a}=Dl(e||null),[o,s]=(0,w.useState)(!1),c=(0,w.useMemo)(()=>i?.filter(e=>e.func_kind===`closure`).length??0,[i]),l=(0,w.useMemo)(()=>i&&(o?i:i.filter(e=>e.func_kind!==`closure`)),[i,o]);return(0,T.jsxs)(`div`,{className:`function-selector${r?``:` function-selector-flat`}`,children:[r&&(0,T.jsxs)(`div`,{className:`function-selector-path`,children:[(0,T.jsx)(`span`,{className:`function-selector-path-label`,children:`File:`}),(0,T.jsx)(`code`,{className:`function-selector-path-value`,children:e||`No file selected`})]}),(0,T.jsxs)(`div`,{className:`function-selector-field`,children:[(0,T.jsx)(`label`,{children:`Function`}),(0,T.jsxs)(`select`,{value:t??``,onChange:e=>n(e.target.value||null),disabled:!l||l.length===0,className:`function-selector-select`,children:[(0,T.jsx)(`option`,{value:``,children:a?`Loading...`:!l||l.length===0?`No functions found`:`Select function`}),l?.map(e=>(0,T.jsxs)(`option`,{value:e.name,children:[Kl(e),e.source_caps.length>0&&` [src: ${e.source_caps.join(`,`)}]`,e.sink_caps.length>0&&` [sink: ${e.sink_caps.join(`,`)}]`]},e.name))]})]}),c>0&&(0,T.jsxs)(`label`,{className:`function-selector-toggle`,children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:o,onChange:e=>s(e.target.checked)}),(0,T.jsxs)(`span`,{children:[`Show `,c,` anonymous closure`,c===1?``:`s`]})]})]})}function Kl(e){let t=`(${e.param_count} params) — L${e.line}`;return e.func_kind===`closure`&&e.container?`${e.name} [closure in ${e.container}] ${t}`:e.func_kind===`closure`?`${e.name} [closure] ${t}`:`${e.name}${t}`}function ql({canvas:e,inspector:t,inspectorTitle:n,inspectorSide:r=`right`}){let i=!!t,a=i?(0,T.jsxs)(`aside`,{className:`analysis-inspector`,children:[n&&(0,T.jsx)(`h3`,{children:n}),t]}):null;return(0,T.jsxs)(`div`,{className:`analysis-workspace${i?` analysis-workspace-with-inspector`:``}${i?` analysis-workspace-inspector-${r}`:``}`,children:[r===`left`&&a,(0,T.jsx)(`div`,{className:`analysis-canvas`,children:e}),r===`right`&&a]})}function Jl(e,t){return e.length>t?`${e.slice(0,t-1)}…`:e}function Yl(e){return e.replace(/\s+/g,` `).trim()}var Xl={True:4,False:4,Exception:3,Back:2,Seq:1};function Zl(e){return Xl[e]??2}function Ql(e){let t=e.kind===`Call`?e.callee??e.defines:e.defines??e.callee;return t?`${e.kind}: ${Jl(Yl(t),56)}`:e.kind}function $l(e){let t=new Map;for(let n of e){let e=`${n.source}:${n.target}`,r=t.get(e);(!r||Zl(n.kind)>Zl(r.kind))&&t.set(e,n)}return[...t.values()]}function eu(e){let t=$l(e.edges);return{kind:`cfg`,nodes:e.nodes.map(t=>({key:String(t.id),rawId:t.id,label:Ql(t),kind:t.kind,detail:`Line ${t.line}`,sublabel:t.condition_text?Jl(t.condition_text,40):void 0,badges:t.labels.length>0?t.labels.slice(0,4):void 0,line:t.line,metadata:{...t,isEntry:t.id===e.entry,isExit:t.kind===`Exit`||t.kind===`Return`}})),edges:t.map((e,t)=>({key:`cfg:${e.source}:${e.target}:${e.kind}:${t}`,source:String(e.source),target:String(e.target),kind:e.kind,label:e.kind===`Seq`?void 0:e.kind,metadata:{...e}}))}}var tu=c(o(((e,t)=>{(function(n){if(typeof e==`object`&&t!==void 0)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r=typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this;r.ELK=n()}})(function(){return(function(){function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof l==`function`&&l;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=Error(`Cannot find module '`+o+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[o].exports}for(var a=typeof l==`function`&&l,o=0;o<r.length;o++)i(r[o]);return i}return e})()({1:[function(e,t,n){Object.defineProperty(n,`__esModule`,{value:!0}),n.default=void 0;function r(e){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}function i(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function s(e){var t=c(e,`string`);return r(t)==`symbol`?t:t+``}function c(e,t){if(r(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||`default`);if(r(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}n.default=function(){function e(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.defaultLayoutOptions,a=r===void 0?{}:r,o=n.algorithms,s=o===void 0?[`layered`,`stress`,`mrtree`,`radial`,`force`,`disco`,`sporeOverlap`,`sporeCompaction`,`rectpacking`]:o,c=n.workerFactory,u=n.workerUrl;if(i(this,e),this.defaultLayoutOptions=a,this.initialized=!1,u===void 0&&c===void 0)throw Error(`Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.`);var d=c;u!==void 0&&c===void 0&&(d=function(e){return new Worker(e)});var f=d(u);if(typeof f.postMessage!=`function`)throw TypeError(`Created worker does not provide the required 'postMessage' function.`);this.worker=new l(f),this.worker.postMessage({cmd:`register`,algorithms:s}).then(function(e){return t.initialized=!0}).catch(console.err)}return o(e,[{key:`layout`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.layoutOptions,r=n===void 0?this.defaultLayoutOptions:n,i=t.logging,a=i===void 0?!1:i,o=t.measureExecutionTime,s=o===void 0?!1:o;return e?this.worker.postMessage({cmd:`layout`,graph:e,layoutOptions:r,options:{logging:a,measureExecutionTime:s}}):Promise.reject(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&&this.worker.terminate()}}])}();var l=function(){function e(t){var n=this;if(i(this,e),t===void 0)throw Error(`Missing mandatory parameter 'worker'.`);this.resolvers={},this.worker=t,this.worker.onmessage=function(e){setTimeout(function(){n.receive(n,e)},0)}}return o(e,[{key:`postMessage`,value:function(e){var t=this.id||0;this.id=t+1,e.id=t;var n=this;return new Promise(function(r,i){n.resolvers[t]=function(e,t){e?(n.convertGwtStyleError(e),i(e)):r(t)},n.worker.postMessage(e)})}},{key:`receive`,value:function(e,t){var n=t.data,r=e.resolvers[n.id];r&&(delete e.resolvers[n.id],n.error?r(n.error):r(null,n.data))}},{key:`terminate`,value:function(){this.worker&&this.worker.terminate()}},{key:`convertGwtStyleError`,value:function(e){if(e){var t=e.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(e.cause=t.cause.backingJsObject,this.convertGwtStyleError(e.cause)),delete e.__java$exception)}}}])}()},{}],2:[function(e,t,n){(function(e){(function(){var r;typeof window<`u`?r=window:e===void 0?typeof self<`u`&&(r=self):r=e;var i;function a(){}function o(){}function s(){}function c(){}function l(){}function u(){}function d(){}function f(){}function p(){}function m(){}function h(){}function g(){}function _(){}function v(){}function y(){}function b(){}function x(){}function S(){}function ee(){}function te(){}function ne(){}function C(){}function re(){}function ie(){}function ae(){}function oe(){}function se(){}function ce(){}function le(){}function ue(){}function de(){}function fe(){}function pe(){}function me(){}function he(){}function ge(){}function _e(){}function ve(){}function ye(){}function be(){}function xe(){}function Se(){}function Ce(){}function we(){}function Te(){}function Ee(){}function De(){}function Oe(){}function ke(){}function Ae(){}function je(){}function Me(){}function Ne(){}function Pe(){}function Fe(){}function Ie(){}function Le(){}function Re(){}function ze(){}function Be(){}function Ve(){}function He(){}function Ue(){}function We(){}function Ge(){}function Ke(){}function qe(){}function Je(){}function Ye(){}function Xe(){}function Ze(){}function Qe(){}function $e(){}function et(){}function tt(){}function nt(){}function rt(){}function it(){}function w(){}function T(){}function at(){}function ot(){}function st(){}function ct(){}function lt(){}function ut(){}function dt(){}function ft(){}function pt(){}function mt(){}function ht(){}function gt(){}function _t(){}function vt(){}function yt(){}function bt(){}function xt(){}function St(){}function eee(){}function Ct(){}function wt(){}function Tt(){}function Et(){}function Dt(){}function Ot(){}function kt(){}function At(){}function jt(){}function Mt(){}function Nt(){}function Pt(){}function Ft(){}function It(){}function Lt(){}function Rt(){}function tee(){}function zt(){}function Bt(){}function Vt(){}function Ht(){}function Ut(){}function nee(){}function Wt(){}function Gt(){}function Kt(){}function ree(){}function qt(){}function Jt(){}function Yt(){}function Xt(){}function Zt(){}function Qt(){}function $t(){}function en(){}function tn(){}function nn(){}function rn(){}function an(){}function iee(){}function on(){}function sn(){}function cn(){}function ln(){}function un(){}function dn(){}function fn(){}function pn(){}function mn(){}function hn(){}function gn(){}function _n(){}function vn(){}function yn(){}function bn(){}function xn(){}function Sn(){}function Cn(){}function wn(){}function Tn(){}function En(){}function Dn(){}function On(){}function kn(){}function An(){}function jn(){}function Mn(){}function Nn(){}function Pn(){}function Fn(){}function In(){}function Ln(){}function Rn(){}function zn(){}function Bn(){}function Vn(){}function Hn(){}function Un(){}function Wn(){}function Gn(){}function Kn(){}function qn(){}function Jn(){}function Yn(){}function aee(){}function oee(){}function Xn(){}function Zn(){}function Qn(){}function $n(){}function er(){}function tr(){}function nr(){}function rr(){}function ir(){}function ar(){}function or(){}function sr(){}function cr(){}function lr(){}function ur(){}function dr(){}function fr(){}function pr(){}function mr(){}function hr(){}function gr(){}function _r(){}function vr(){}function yr(){}function br(){}function xr(){}function Sr(){}function Cr(){}function wr(){}function Tr(){}function Er(){}function Dr(){}function Or(){}function kr(){}function Ar(){}function jr(){}function Mr(){}function Nr(){}function Pr(){}function Fr(){}function Ir(){}function Lr(){}function Rr(){}function zr(){}function Br(){}function Vr(){}function Hr(){}function Ur(){}function Wr(){}function Gr(){}function Kr(){}function qr(){}function Jr(){}function Yr(){}function Xr(){}function Zr(){}function Qr(){}function $r(){}function ei(){}function ti(){}function ni(){}function ri(){}function ii(){}function ai(){}function oi(){}function si(){}function ci(){}function li(){}function ui(){}function di(){}function fi(){}function see(){}function pi(){}function mi(){}function hi(){}function gi(){}function _i(){}function vi(){}function yi(){}function bi(){}function xi(){}function Si(){}function Ci(){}function wi(){}function Ti(){}function Ei(){}function Di(){}function Oi(){}function ki(){}function Ai(){}function ji(){}function Mi(){}function Ni(){}function Pi(){}function Fi(){}function Ii(){}function Li(){}function Ri(){}function zi(){}function Bi(){}function Vi(){}function Hi(){}function Ui(){}function Wi(){}function Gi(){}function Ki(){}function qi(){}function Ji(){}function Yi(){}function Xi(){}function Zi(){}function Qi(){}function $i(){}function ea(){}function ta(){}function na(){}function ra(){}function ia(){}function aa(){}function oa(){}function sa(){}function ca(){}function la(){}function ua(){}function da(){}function fa(){}function pa(){}function ma(){}function ha(){}function ga(){}function _a(){}function va(){}function ya(){}function ba(){}function xa(){}function cee(){}function Sa(){}function Ca(){}function wa(){}function Ta(){}function Ea(){}function Da(){}function Oa(){}function ka(){}function Aa(){}function ja(){}function Ma(){}function Na(){}function Pa(){}function Fa(){}function Ia(){}function La(){}function Ra(){}function za(){}function Ba(){}function Va(){}function Ha(){}function Ua(){}function Wa(){}function Ga(){}function Ka(){}function qa(){}function Ja(){}function Ya(){}function Xa(){}function Za(){}function Qa(){}function $a(){}function eo(){}function to(){}function no(){}function ro(){}function io(){}function ao(){}function oo(){}function so(){}function co(){}function lo(){}function uo(){}function fo(){}function po(){}function mo(){}function ho(){}function go(){}function _o(){}function vo(){}function yo(){}function bo(){}function xo(){}function So(){}function Co(){}function wo(){}function To(){}function Eo(){}function Do(){}function Oo(){}function ko(){}function Ao(){}function jo(){}function Mo(){}function No(){}function Po(){}function Fo(){}function Io(){}function Lo(){}function Ro(){}function zo(){}function Bo(){}function Vo(){}function Ho(){}function Uo(){}function Wo(){}function Go(){}function Ko(){}function qo(){}function Jo(){}function Yo(){}function Xo(){}function Zo(){}function Qo(){}function $o(){}function es(){}function ts(){}function ns(){}function rs(){}function is(){}function as(){}function os(){}function ss(){}function cs(){}function ls(){}function us(){}function ds(){}function lee(){}function fs(){}function ps(){}function ms(){}function hs(){}function gs(){}function _s(){}function vs(){}function ys(){}function bs(){}function xs(){}function Ss(){}function Cs(){}function ws(){}function Ts(){}function Es(){}function Ds(){}function Os(){}function ks(){}function As(){}function js(){}function Ms(){}function Ns(){}function Ps(){}function Fs(){}function Is(){}function Ls(){}function Rs(){}function zs(){}function Bs(){}function Vs(){}function Hs(){}function Us(){}function Ws(){}function Gs(){}function Ks(){}function qs(){}function Js(){}function Ys(){}function Xs(){}function Zs(){}function Qs(){}function $s(){}function ec(){}function tc(){}function nc(){}function rc(){}function ic(){}function ac(){}function oc(){}function sc(){}function cc(){}function lc(){}function uc(){}function dc(){}function fc(){}function pc(){}function mc(){}function hc(){}function gc(){}function _c(){}function vc(){}function yc(){}function bc(){}function xc(){}function Sc(){}function Cc(){}function wc(){}function Tc(){}function Ec(){}function Dc(){}function Oc(){}function kc(){}function Ac(){}function jc(){}function Mc(){}function Nc(){}function Pc(){}function Fc(){}function Ic(){}function Lc(){}function Rc(){}function uee(){}function zc(){}function Bc(){}function Vc(){}function Hc(){}function Uc(){}function Wc(){}function Gc(){}function Kc(){}function qc(){}function Jc(){}function Yc(){}function Xc(){}function Zc(){}function Qc(){}function $c(){}function el(){}function tl(){}function nl(){}function rl(){}function il(){}function al(){}function ol(){}function sl(){}function cl(){}function ll(){}function ul(){}function dl(){}function fl(){}function pl(){}function ml(){}function hl(){}function gl(){}function _l(){}function vl(){}function yl(){}function bl(){}function xl(){}function Sl(){}function Cl(){}function wl(){}function Tl(){}function El(){}function Dl(){}function Ol(){}function kl(){}function Al(){}function jl(){}function Ml(){}function Nl(){}function Pl(){}function Fl(){}function Il(){}function Ll(){}function Rl(){}function zl(){}function Bl(){}function Vl(){}function Hl(){}function Ul(){}function Wl(){}function Gl(){}function Kl(){}function ql(){}function Jl(){}function Yl(){}function Xl(){}function Zl(){}function Ql(){}function $l(){}function eu(){}function tu(){}function nu(){}function ru(){}function iu(){}function au(){}function ou(){}function su(){}function cu(){}function lu(){}function uu(){}function du(){}function fu(){}function pu(){}function mu(){}function hu(){}function gu(){}function _u(){}function vu(){}function yu(){}function bu(){}function xu(){}function Su(){}function Cu(){}function wu(){}function Tu(){}function Eu(){}function Du(){}function Ou(){}function ku(){}function Au(){}function ju(){}function Mu(){}function Nu(){}function Pu(){}function Fu(){}function Iu(){}function Lu(){}function Ru(){}function zu(){}function Bu(){}function Vu(){}function Hu(){}function Uu(){}function Wu(){}function Gu(){}function Ku(){}function qu(){}function Ju(){}function Yu(){}function Xu(){}function Zu(){}function Qu(){}function $u(){}function ed(){}function td(){}function nd(){}function rd(){}function id(){}function ad(){}function od(){}function sd(){}function cd(){}function ld(){}function ud(){}function dd(){}function fd(){}function pd(){}function md(){}function hd(){}function gd(){}function _d(){}function vd(){}function yd(){}function bd(){}function xd(){}function Sd(){}function Cd(){}function wd(){}function Td(){}function Ed(){}function Dd(){}function Od(){}function kd(){Wh()}function Ad(){o0e()}function jd(){Mz()}function Md(){wXe()}function Nd(){NI()}function Pd(){BS()}function Fd(){H_()}function Id(){B_()}function Ld(){Hce()}function Rd(){Sj()}function zd(){tPe()}function Bd(){IM()}function Vd(){TL()}function Hd(){URe()}function Ud(){SOe()}function Wd(){VRe()}function dee(){TOe()}function Gd(){wOe()}function Kd(){EOe()}function qd(){$Pe()}function Jd(){OOe()}function Yd(){KRe()}function Xd(){PB()}function fee(){W_()}function Zd(){WRe()}function pee(){GRe()}function Qd(){XAe()}function $d(){Put()}function ef(){qRe()}function tf(){AOe()}function nf(){fA()}function rf(){QWe()}function af(){pA()}function mee(){n6e()}function of(){xL()}function hee(){cBe()}function sf(){Ett()}function cf(){jXe()}function lf(){kOe()}function uf(){pnt()}function df(){Lz()}function ff(){uz()}function pf(){nrt()}function mf(){PL()}function hf(){yet()}function gf(){iI()}function _f(){dk()}function vf(){LB()}function yf(){SL()}function bf(){rN()}function xf(){IKe()}function Sf(){qz()}function Cf(){Kze()}function wf(){Tve()}function Tf(){drt()}function Ef(e){dT(e)}function Df(e){this.a=e}function Of(e){this.a=e}function kf(e){this.a=e}function Af(e){this.a=e}function jf(e){this.a=e}function Mf(e){this.a=e}function Nf(e){this.a=e}function Pf(e){this.a=e}function Ff(e){this.a=e}function If(e){this.a=e}function Lf(e){this.a=e}function Rf(e){this.a=e}function zf(e){this.a=e}function Bf(e){this.c=e}function Vf(e){this.a=e}function Hf(e){this.a=e}function Uf(e){this.a=e}function Wf(e){this.a=e}function Gf(e){this.a=e}function Kf(e){this.a=e}function qf(e){this.a=e}function Jf(e){this.a=e}function Yf(e){this.a=e}function Xf(e){this.a=e}function Zf(e){this.a=e}function Qf(e){this.a=e}function $f(e){this.a=e}function ep(e){this.a=e}function tp(e){this.a=e}function np(e){this.a=e}function rp(e){this.a=e}function ip(e){this.a=e}function ap(e){this.a=e}function op(e){this.a=e}function sp(e){this.a=e}function cp(e){this.a=e}function lp(e){this.a=e}function up(e){this.a=e}function dp(e){this.a=e}function fp(e){this.a=e}function pp(e){this.a=e}function mp(e){this.a=e}function hp(e){this.a=e}function gp(e){this.b=e}function _p(){this.a=[]}function vp(e,t){e.a=t}function yp(e,t){e.a=t}function bp(e,t){e.b=t}function xp(e,t){e.c=t}function Sp(e,t){e.c=t}function Cp(e,t){e.d=t}function wp(e,t){e.d=t}function Tp(e,t){e.k=t}function Ep(e,t){e.j=t}function Dp(e,t){e.c=t}function Op(e,t){e.c=t}function kp(e,t){e.a=t}function Ap(e,t){e.a=t}function jp(e,t){e.f=t}function Mp(e,t){e.a=t}function Np(e,t){e.b=t}function Pp(e,t){e.d=t}function Fp(e,t){e.i=t}function Ip(e,t){e.o=t}function gee(e,t){e.r=t}function Lp(e,t){e.a=t}function Rp(e,t){e.b=t}function zp(e,t){e.e=t}function _ee(e,t){e.f=t}function Bp(e,t){e.g=t}function Vp(e,t){e.e=t}function Hp(e,t){e.f=t}function Up(e,t){e.f=t}function Wp(e,t){e.a=t}function Gp(e,t){e.b=t}function Kp(e,t){e.n=t}function qp(e,t){e.a=t}function vee(e,t){e.c=t}function Jp(e,t){e.c=t}function yee(e,t){e.c=t}function bee(e,t){e.a=t}function xee(e,t){e.a=t}function See(e,t){e.d=t}function Cee(e,t){e.d=t}function wee(e,t){e.e=t}function Tee(e,t){e.e=t}function Eee(e,t){e.g=t}function Dee(e,t){e.f=t}function Oee(e,t){e.j=t}function kee(e,t){e.a=t}function Aee(e,t){e.a=t}function jee(e,t){e.b=t}function Yp(e){e.b=e.a}function Mee(e){e.c=e.d.d}function Xp(e){this.a=e}function Zp(e){this.a=e}function Qp(e){this.a=e}function $p(e){this.a=e}function em(e){this.a=e}function tm(e){this.a=e}function Nee(e){this.a=e}function nm(e){this.a=e}function rm(e){this.a=e}function im(e){this.a=e}function am(e){this.a=e}function om(e){this.a=e}function sm(e){this.a=e}function Pee(e){this.a=e}function cm(e){this.b=e}function lm(e){this.b=e}function um(e){this.b=e}function dm(e){this.d=e}function fm(e){this.a=e}function pm(e){this.a=e}function mm(e){this.a=e}function hm(e){this.a=e}function Fee(e){this.a=e}function gm(e){this.a=e}function _m(e){this.a=e}function vm(e){this.c=e}function E(e){this.c=e}function Iee(e){this.c=e}function ym(e){this.a=e}function bm(e){this.a=e}function xm(e){this.a=e}function Sm(e){this.a=e}function Cm(e){this.a=e}function Lee(e){this.a=e}function Ree(e){this.a=e}function wm(e){this.a=e}function zee(e){this.a=e}function Bee(e){this.a=e}function Vee(e){this.a=e}function Tm(e){this.a=e}function Em(e){this.a=e}function Hee(e){this.a=e}function Dm(e){this.a=e}function Om(e){this.a=e}function km(e){this.a=e}function Am(e){this.a=e}function jm(e){this.a=e}function Mm(e){this.a=e}function Nm(e){this.a=e}function Pm(e){this.a=e}function Fm(e){this.a=e}function Uee(e){this.a=e}function Wee(e){this.a=e}function Im(e){this.a=e}function Gee(e){this.a=e}function Kee(e){this.a=e}function qee(e){this.a=e}function Jee(e){this.a=e}function Lm(e){this.a=e}function Rm(e){this.a=e}function zm(e){this.a=e}function Bm(e){this.a=e}function Vm(e){this.a=e}function Hm(e){this.a=e}function Yee(e){this.a=e}function Xee(e){this.a=e}function Zee(e){this.a=e}function Qee(e){this.a=e}function $ee(e){this.a=e}function ete(e){this.a=e}function tte(e){this.a=e}function nte(e){this.a=e}function rte(e){this.a=e}function ite(e){this.a=e}function ate(e){this.a=e}function ote(e){this.a=e}function Um(e){this.a=e}function ste(e){this.a=e}function cte(e){this.a=e}function lte(e){this.a=e}function ute(e){this.a=e}function dte(e){this.a=e}function fte(e){this.a=e}function pte(e){this.a=e}function mte(e){this.a=e}function hte(e){this.a=e}function gte(e){this.a=e}function _te(e){this.a=e}function vte(e){this.a=e}function yte(e){this.a=e}function bte(e){this.a=e}function xte(e){this.a=e}function Ste(e){this.a=e}function Cte(e){this.a=e}function wte(e){this.a=e}function Tte(e){this.a=e}function Ete(e){this.a=e}function Dte(e){this.a=e}function Ote(e){this.a=e}function kte(e){this.a=e}function Ate(e){this.a=e}function jte(e){this.a=e}function Mte(e){this.a=e}function Nte(e){this.a=e}function Pte(e){this.a=e}function Fte(e){this.a=e}function Ite(e){this.a=e}function Lte(e){this.a=e}function Rte(e){this.a=e}function zte(e){this.a=e}function Bte(e){this.a=e}function Vte(e){this.a=e}function Hte(e){this.a=e}function Ute(e){this.b=e}function Wte(e){this.a=e}function Wm(e){this.a=e}function Gte(e){this.a=e}function Kte(e){this.a=e}function qte(e){this.a=e}function Jte(e){this.a=e}function Yte(e){this.c=e}function Xte(e){this.a=e}function Zte(e){this.a=e}function Qte(e){this.a=e}function $te(e){this.a=e}function ene(e){this.a=e}function tne(e){this.a=e}function nne(e){this.a=e}function rne(e){this.a=e}function ine(e){this.a=e}function ane(e){this.a=e}function one(e){this.a=e}function sne(e){this.a=e}function cne(e){this.a=e}function lne(e){this.a=e}function une(e){this.a=e}function dne(e){this.a=e}function fne(e){this.a=e}function Gm(e){this.a=e}function pne(e){this.a=e}function mne(e){this.a=e}function hne(e){this.a=e}function gne(e){this.a=e}function _ne(e){this.a=e}function vne(e){this.a=e}function yne(e){this.a=e}function bne(e){this.a=e}function xne(e){this.a=e}function Km(e){this.a=e}function qm(e){this.a=e}function Sne(e){this.a=e}function Cne(e){this.a=e}function wne(e){this.a=e}function Tne(e){this.a=e}function Ene(e){this.a=e}function Dne(e){this.a=e}function One(e){this.a=e}function kne(e){this.a=e}function Ane(e){this.a=e}function jne(e){this.a=e}function Mne(e){this.a=e}function Nne(e){this.a=e}function Pne(e){this.a=e}function Fne(e){this.a=e}function Ine(e){this.a=e}function Lne(e){this.a=e}function Rne(e){this.a=e}function zne(e){this.a=e}function Bne(e){this.a=e}function Vne(e){this.a=e}function Hne(e){this.a=e}function Une(e){this.a=e}function Wne(e){this.a=e}function Gne(e){this.a=e}function Kne(e){this.a=e}function qne(e){this.a=e}function Jm(e){this.a=e}function Jne(e){this.f=e}function Yne(e){this.a=e}function Xne(e){this.a=e}function Zne(e){this.a=e}function Qne(e){this.a=e}function $ne(e){this.a=e}function ere(e){this.a=e}function tre(e){this.a=e}function nre(e){this.a=e}function rre(e){this.a=e}function ire(e){this.a=e}function are(e){this.a=e}function ore(e){this.a=e}function sre(e){this.a=e}function cre(e){this.a=e}function lre(e){this.a=e}function ure(e){this.a=e}function dre(e){this.a=e}function fre(e){this.a=e}function pre(e){this.a=e}function mre(e){this.a=e}function hre(e){this.a=e}function gre(e){this.a=e}function _re(e){this.a=e}function vre(e){this.a=e}function yre(e){this.a=e}function bre(e){this.a=e}function xre(e){this.a=e}function Ym(e){this.a=e}function Sre(e){this.a=e}function Xm(e){this.b=e}function Cre(e){this.a=e}function wre(e){this.a=e}function Tre(e){this.a=e}function Ere(e){this.a=e}function Dre(e){this.a=e}function Ore(e){this.a=e}function kre(e){this.a=e}function Are(e){this.b=e}function jre(e){this.a=e}function Zm(e){this.a=e}function Mre(e){this.a=e}function Nre(e){this.a=e}function Qm(e){this.a=e}function $m(e){this.a=e}function Pre(e){this.c=e}function eh(e){this.e=e}function th(e){this.e=e}function nh(e){this.a=e}function Fre(e){this.d=e}function Ire(e){this.a=e}function Lre(e){this.a=e}function Rre(e){this.a=e}function rh(e){this.e=e}function ih(){this.a=0}function ah(){Mb(this)}function oh(){aw(this)}function sh(){vTe(this)}function zre(){}function ch(){this.c=IBt}function Bre(e,t){e.b+=t}function Vre(e,t){t.Wb(e)}function Hre(e){return e.a}function Ure(e){return e.a}function Wre(e){return e.a}function Gre(e){return e.a}function Kre(e){return e.a}function D(e){return e.e}function qre(){return null}function Jre(){return null}function Yre(e){throw D(e)}function lh(e){this.a=Kw(e)}function Xre(){this.a=this}function uh(){Dme.call(this)}function Zre(e){e.b.Mf(e.e)}function Qre(e){e.b=new Cg}function dh(e,t){e.b=t-e.b}function fh(e,t){e.a=t-e.a}function $re(e,t){t.gd(e.a)}function eie(e,t){tR(t,e)}function ph(e,t){e.push(t)}function tie(e,t){e.sort(t)}function nie(e,t,n){e.Wd(n,t)}function mh(e,t){e.e=t,t.b=e}function rie(){Qoe(),Nlt()}function iie(e){CE(),ebt.je(e)}function aie(){uh.call(this)}function hh(){uh.call(this)}function oie(){Dme.call(this)}function sie(){uh.call(this)}function gh(){uh.call(this)}function cie(){uh.call(this)}function _h(){uh.call(this)}function vh(){uh.call(this)}function yh(){uh.call(this)}function bh(){uh.call(this)}function xh(){uh.call(this)}function lie(){uh.call(this)}function Sh(){this.Bb|=256}function uie(){this.b=new Yde}function die(){die=C,new oh}function Ch(e,t){e.length=t}function wh(e,t){$b(e.a,t)}function fie(e,t){T0e(e.c,t)}function pie(e,t){Tw(e.b,t)}function Th(e,t){Rj(e.e,t)}function mie(e,t){$F(e.a,t)}function hie(e,t){JN(e.a,t)}function Eh(e){vR(e.c,e.b)}function gie(e,t){e.kc().Nb(t)}function _ie(e){this.a=mGe(e)}function Dh(){this.a=new oh}function vie(){this.a=new oh}function Oh(){this.a=new ah}function kh(){this.a=new ah}function yie(){this.a=new ah}function Ah(){this.a=new INe}function jh(){this.a=new wce}function bie(){this.a=new nOe}function xie(){this.a=new Xge}function Mh(){this.a=new Ve}function Sie(){this.a=new at}function Cie(){this.a=new Qke}function wie(){this.a=new ah}function Tie(){this.a=new ah}function Eie(){this.a=new ah}function Die(){this.a=new ah}function Oie(){this.d=new ah}function kie(){this.a=new Dh}function Aie(){this.a=new oh}function jie(){this.b=new oh}function Mie(){this.b=new ah}function Nie(){this.e=new ah}function Pie(){this.a=new Vd}function Fie(){this.d=new ah}function Nh(){zre.call(this)}function Ph(){Nh.call(this)}function Fh(){zre.call(this)}function Iie(){Fh.call(this)}function Lie(){aie.call(this)}function Ih(){Oh.call(this)}function Rie(){_S.call(this)}function zie(){Eie.call(this)}function Bie(){ah.call(this)}function Vie(){YEe.call(this)}function Hie(){YEe.call(this)}function Uie(){sae.call(this)}function Wie(){sae.call(this)}function Gie(){sae.call(this)}function Kie(){dae.call(this)}function Lh(){qc.call(this)}function qie(){qc.call(this)}function Rh(){E_.call(this)}function Jie(){fae.call(this)}function Yie(){fae.call(this)}function Xie(){oh.call(this)}function Zie(){oh.call(this)}function Qie(){oh.call(this)}function zh(){PRe.call(this)}function $ie(){Dh.call(this)}function eae(){Sh.call(this)}function Bh(){Eme.call(this)}function tae(){oh.call(this)}function Vh(){Eme.call(this)}function Hh(){oh.call(this)}function nae(){oh.call(this)}function rae(){ul.call(this)}function iae(){rae.call(this)}function aae(){ul.call(this)}function oae(){Ed.call(this)}function sae(){this.a=new Dh}function cae(){this.a=new oh}function lae(){this.a=new ah}function uae(){this.j=new ah}function dae(){this.a=new oh}function Uh(){this.a=new E_}function fae(){this.a=new ol}function pae(){this.a=new Ds}function mae(){this.a=new Dse}function Wh(){Wh=C,Pyt=new o}function Gh(){Gh=C,Lyt=new gae}function Kh(){Kh=C,Ryt=new hae}function hae(){Yf.call(this,``)}function gae(){Yf.call(this,``)}function _ae(e){NLe.call(this,e)}function vae(e){NLe.call(this,e)}function yae(e){Mf.call(this,e)}function bae(e){Use.call(this,e)}function xae(e){Use.call(this,e)}function Sae(e){bae.call(this,e)}function Cae(e){bae.call(this,e)}function wae(e){bae.call(this,e)}function Tae(e){nO.call(this,e)}function Eae(e){nO.call(this,e)}function Dae(e){Fpe.call(this,e)}function Oae(e){oce.call(this,e)}function qh(e){__.call(this,e)}function kae(e){__.call(this,e)}function Aae(e){__.call(this,e)}function Jh(e){tCe.call(this,e)}function jae(e){Jh.call(this,e)}function Yh(){hp.call(this,{})}function Xh(e){Qb(),this.a=e}function Mae(e){e.b=null,e.c=0}function Nae(e,t){e.e=t,W7e(e,t)}function Pae(e,t){e.a=t,D2e(e)}function Zh(e,t,n){e.a[t.g]=n}function Fae(e,t,n){HZe(n,e,t)}function Iae(e,t){l_e(t.i,e.n)}function Lae(e,t){AHe(e).Ad(t)}function Rae(e,t){return e*e/t}function zae(e,t){return e.g-t.g}function Bae(e,t){e.a.ec().Kc(t)}function Vae(e){return new mp(e)}function Hae(e){return new qw(e)}function Uae(){Uae=C,Yyt=new a}function Wae(){Wae=C,$yt=new v}function Qh(){Qh=C,aY=new x}function $h(){$h=C,Vyt=new Npe}function Gae(){Gae=C,ibt=new ee}function eg(e){sBe(),this.a=e}function tg(e){OSe(),this.f=e}function ng(e){OSe(),this.f=e}function Kae(e){wve(),this.a=e}function rg(e){Jh.call(this,e)}function ig(e){Jh.call(this,e)}function qae(e){Jh.call(this,e)}function ag(e){tCe.call(this,e)}function og(e){Jh.call(this,e)}function sg(e){Jh.call(this,e)}function cg(e){Jh.call(this,e)}function Jae(e){Jh.call(this,e)}function lg(e){Jh.call(this,e)}function ug(e){Jh.call(this,e)}function dg(e){dT(e),this.a=e}function fg(e){zCe(e,e.length)}function Yae(e){return LM(e),e}function pg(e){return!!e&&e.b}function Xae(e){return!!e&&e.k}function Zae(e){return!!e&&e.j}function mg(e){return e.b==e.c}function hg(e){return dT(e),e}function O(e){return dT(e),e}function gg(e){return dT(e),e}function Qae(e){return dT(e),e}function $ae(e){return dT(e),e}function _g(e){Jh.call(this,e)}function vg(e){Jh.call(this,e)}function yg(e){Jh.call(this,e)}function bg(e){Jh.call(this,e)}function xg(e){Jh.call(this,e)}function Sg(e){Qme.call(this,e,0)}function Cg(){jke.call(this,12,3)}function wg(){this.a=tS(Kw(QB))}function eoe(){throw D(new bh)}function toe(){throw D(new bh)}function noe(){throw D(new bh)}function roe(){throw D(new bh)}function ioe(){throw D(new bh)}function aoe(){throw D(new bh)}function Tg(){Tg=C,CE()}function Eg(){tm.call(this,``)}function Dg(){tm.call(this,``)}function Og(){tm.call(this,``)}function kg(){tm.call(this,``)}function ooe(e){ig.call(this,e)}function soe(e){ig.call(this,e)}function Ag(e){sg.call(this,e)}function jg(e){lm.call(this,e)}function coe(e){jg.call(this,e)}function Mg(e){hx.call(this,e)}function loe(e,t,n){e.c.Cf(t,n)}function uoe(e,t,n){t.Ad(e.a[n])}function doe(e,t,n){t.Ne(e.a[n])}function foe(e,t){return e.a-t.a}function poe(e,t){return e.a-t.a}function moe(e,t){return e.a-t.a}function Ng(e,t){return jFe(e,t)}function k(e,t){return _Oe(e,t)}function hoe(e,t){return t in e.a}function goe(e){return e.a?e.b:0}function _oe(e){return e.a?e.b:0}function voe(e,t){return e.f=t,e}function yoe(e,t){return e.b=t,e}function boe(e,t){return e.c=t,e}function xoe(e,t){return e.g=t,e}function Soe(e,t){return e.a=t,e}function Coe(e,t){return e.f=t,e}function woe(e,t){return e.f=t,e}function Toe(e,t){return e.e=t,e}function Eoe(e,t){return e.k=t,e}function Doe(e,t){return e.a=t,e}function Ooe(e,t){return e.e=t,e}function koe(e,t){e.b=new mb(t)}function Aoe(e,t){e._d(t),t.$d(e)}function joe(e,t){HS(),t.n.a+=e}function Moe(e,t){TL(),HE(t,e)}function Noe(e){XTe.call(this,e)}function Poe(e){XTe.call(this,e)}function Foe(){upe.call(this,``)}function Ioe(){this.b=0,this.a=0}function Loe(){Loe=C,Gbt=NQe()}function Pg(e,t){return e.b=t,e}function Fg(e,t){return e.a=t,e}function Ig(e,t){return e.c=t,e}function Lg(e,t){return e.d=t,e}function Rg(e,t){return e.e=t,e}function Roe(e,t){return e.f=t,e}function zg(e,t){return e.a=t,e}function Bg(e,t){return e.b=t,e}function Vg(e,t){return e.c=t,e}function Hg(e,t){return e.c=t,e}function Ug(e,t){return e.b=t,e}function Wg(e,t){return e.d=t,e}function Gg(e,t){return e.e=t,e}function zoe(e,t){return e.f=t,e}function Kg(e,t){return e.g=t,e}function qg(e,t){return e.a=t,e}function Jg(e,t){return e.i=t,e}function Yg(e,t){return e.j=t,e}function Boe(e,t){return t.pg(e)}function Voe(e,t){return e.b-t.b}function Hoe(e,t){return e.g-t.g}function Uoe(e,t){return e.s-t.s}function Woe(e,t){return e?0:t-1}function Goe(e,t){return e?0:t-1}function Koe(e,t){return e?t-1:0}function qoe(e,t){return e.k=t,e}function Joe(e,t){return e.j=t,e}function Xg(){this.a=0,this.b=0}function Zg(e){MS.call(this,e)}function Qg(e){oA.call(this,e)}function Yoe(e){ZTe.call(this,e)}function Xoe(e){ZTe.call(this,e)}function Zoe(){Zoe=C,l7=S$e()}function $g(){$g=C,kzt=xZe()}function Qoe(){Qoe=C,T7=zA()}function e_(){e_=C,SBt=SZe()}function $oe(){$oe=C,lVt=CZe()}function ese(){ese=C,x9=w2e()}function t_(e){return e.e&&e.e()}function tse(e,t){return e.c._b(t)}function nse(e,t){return ZUe(e.b,t)}function rse(e,t){return cle(e.a,t)}function ise(e,t){e.b=0,jA(e,t)}function ase(e,t){e.c=t,e.b=!0}function n_(e,t){return e.a+=t,e}function ose(e,t){return e.a+=t,e}function r_(e,t){return e.a+=t,e}function i_(e,t){return e.a+=t,e}function a_(e){return $x(e),e.o}function sse(e){Mct(),eut(this,e)}function cse(){throw D(new bh)}function lse(){throw D(new bh)}function use(){throw D(new bh)}function dse(){throw D(new bh)}function fse(){throw D(new bh)}function pse(){throw D(new bh)}function o_(e){this.a=new D_(e)}function s_(e){this.a=new sw(e)}function c_(e,t){for(;e.Pe(t););}function mse(e,t){for(;e.zd(t););}function hse(e,t,n){RSe(e.a,t,n)}function gse(e,t,n){e.splice(t,n)}function _se(e,t){return Oat(t,e)}function vse(e,t){return e.d[t.p]}function l_(e){return e.b!=e.d.c}function yse(e){return e.l|e.m<<22}function bse(e){return e?e.d:null}function xse(e){return e?e.g:null}function Sse(e){return e?e.i:null}function Cse(e,t){return H7e(e,t)}function u_(e){return iT(e),e.a}function wse(e){e.c?z9e(e):B9e(e)}function Tse(){this.b=new YR(xMt)}function Ese(){this.b=new YR(j3)}function Dse(){this.b=new YR(j3)}function Ose(){this.a=new YR(FNt)}function kse(){this.a=new YR(jPt)}function d_(e){this.a=0,this.b=e}function Ase(){throw D(new bh)}function jse(){throw D(new bh)}function Mse(){throw D(new bh)}function Nse(){throw D(new bh)}function Pse(){throw D(new bh)}function Fse(){throw D(new bh)}function Ise(){throw D(new bh)}function Lse(){throw D(new bh)}function Rse(){throw D(new bh)}function zse(){throw D(new bh)}function Bse(){throw D(new xh)}function Vse(){throw D(new xh)}function f_(e){this.a=new pce(e)}function p_(e,t){this.e=e,this.d=t}function Hse(e,t){this.b=e,this.c=t}function Use(e){yme(e.dc()),this.c=e}function m_(e,t){ux.call(this,e,t)}function h_(e,t){m_.call(this,e,t)}function Wse(e,t){this.a=e,this.b=t}function Gse(e,t){this.a=e,this.b=t}function Kse(e,t){this.a=e,this.b=t}function qse(e,t){this.a=e,this.b=t}function Jse(e,t){this.a=e,this.b=t}function Yse(e,t){this.a=e,this.b=t}function Xse(e,t){this.a=e,this.b=t}function Zse(e,t){this.b=e,this.a=t}function Qse(e,t){this.b=e,this.a=t}function g_(e,t){this.g=e,this.i=t}function $se(e,t){this.a=e,this.b=t}function ece(e,t){this.b=e,this.a=t}function tce(e,t){this.a=e,this.b=t}function nce(e,t){this.b=e,this.a=t}function __(e){this.b=P(Kw(e),50)}function v_(e){this.b=P(Kw(e),92)}function y_(e,t){this.f=e,this.g=t}function rce(e,t){this.a=e,this.b=t}function ice(e,t){this.a=e,this.f=t}function ace(e){this.a=P(Kw(e),16)}function oce(e){this.a=P(Kw(e),16)}function sce(e,t){this.b=e,this.c=t}function cce(e){this.a=P(Kw(e),92)}function lce(e,t){this.a=e,this.b=t}function uce(e,t){this.a=e,this.b=t}function dce(e,t){return bw(e.b,t)}function fce(e,t){return e>t&&t<AV}function b_(e){return j9[e]!=-1}function x_(e){return!e||Wwe(e)}function pce(e){tze(this,e,u0e())}function mce(e,t){xR(R(e.a),t)}function hce(e,t){xR(R(e.a),t)}function S_(e,t){return e.b.Gc(t)}function gce(e,t){return e.b.Hc(t)}function _ce(e,t){return e.b.Oc(t)}function vce(e,t){return e.c.uc(t)}function yce(e,t){return e.b.Gc(t)}function bce(e,t){return DN(e.c,t)}function C_(e){return e.f.c+e.i.c}function w_(e,t){return e.a._b(t)}function xce(e){return uwe(),e?rbt:nbt}function Sce(e,t){this.a=e,this.b=t}function T_(e){this.c=e,UIe(this)}function E_(){ppe(this),YT(this)}function Cce(){Dyt??=[]}function D_(e){pHe.call(this,e,0)}function wce(){sw.call(this,null)}function O_(){O_=C,Cbt=new re}function k_(){k_=C,kY=new oe}function A_(){A_=C,Zbt=new qde}function j_(){j_=C,dxt=new Ee}function M_(){M_=C,PY=new De}function N_(){N_=C,Qbt=new Jde}function Tce(){YPe.call(this,null)}function P_(e,t){iT(e),e.a.Nb(t)}function Ece(e,t){return e.a.Vc(t)}function Dce(e,t){return e.a.Wc(t)}function Oce(e,t){return e.a.Yc(t)}function kce(e,t){return e.a.Zc(t)}function Ace(e,t){return e.Fc(t),e}function jce(e,t){return e.a.f=t,e}function Mce(e,t){return e.a.d=t,e}function Nce(e,t){return e.a.g=t,e}function Pce(e,t){return e.a.j=t,e}function F_(e,t){return e.a.a=t,e}function I_(e,t){return e.a.d=t,e}function L_(e,t){return e.a.e=t,e}function R_(e,t){return e.a.g=t,e}function z_(e,t){return e.a.f=t,e}function Fce(e){return e.b=!1,e}function Ice(){Ice=C,ACt=new bt}function Lce(){Lce=C,wxt=new Fe}function Rce(){Rce=C,yCt=new ft}function B_(){B_=C,JCt=new rn}function zce(){zce=C,bCt=new gt}function Bce(){Bce=C,xCt=new ASe}function Vce(){Vce=C,PCt=new At}function V_(){V_=C,ICt=new jt}function Hce(){Hce=C,Pwt=new Bn}function H_(){H_=C,qCt=new Xg}function U_(){U_=C,Kwt=new Si}function W_(){W_=C,KZ=new qi}function G_(){G_=C,wAt=new Rc}function K_(){K_=C,M3=new Gce}function Uce(){HRe(),this.c=new Cg}function q_(){q_=C,N3=new Mhe}function J_(){J_=C,H3=new rTe}function Wce(){rY!=0&&(rY=0),iY=-1}function Gce(){y_.call(this,$ft,0)}function Kce(e,t,n,r){FJe(e,r,t,n)}function qce(e,t,n,r){N5e(r,e,t,n)}function Jce(e,t,n,r){Oct(r,e,t,n)}function Yce(e,t,n){LE(e.d,t.f,n)}function Y_(e,t){yF(e.c.b,t.c,t)}function X_(e,t){yF(e.c.c,t.b,t)}function Z_(e,t){return e.a=t.g,e}function Q_(){Q_=C,Dzt=new Kc}function Xce(){Xce=C,Bzt=new ll}function Zce(){Zce=C,yBt=new Zie}function $_(){$_=C,V7=new tae}function Qce(){Qce=C,bBt=new Qie}function $ce(){$ce=C,xBt=new nae}function ev(){ev=C,D7=new oh}function ele(){ele=C,JBt=new ah}function tv(){tv=C,LBt=new jpe}function nv(){nv=C,u9=new Mpe}function tle(){tle=C,tVt=new wu}function rv(){rv=C,rVt=new Tu}function iv(){iv=C,G9=new Od}function av(){this.q=new r.Date}function nle(e){this.a=P(Kw(e),229)}function ov(e){return P(e,45).jd()}function rle(e){return(e.c+e.a)/2}function ile(e){return e.e.a+e.f.a}function ale(e){return e.e.b+e.f.b}function ole(e){return e.b?e.b:e.a}function sle(e,t){return zXe(e.a,t)}function cle(e,t){return e.a.a.cc(t)}function lle(e){return e.b<e.d.gc()}function ule(e,t){return t.split(e)}function dle(e,t){return yN(e,t)>0}function fle(e,t){return yN(e,t)<0}function ple(e,t){return CSe(e.a,t)}function mle(e,t){rOe.call(this,e,t)}function hle(e){gT(),i0e.call(this,e)}function gle(e){gT(),hle.call(this,e)}function _le(e){Yxe(),Fpe.call(this,e)}function vle(e,t){SSe(e,e.length,t)}function sv(e,t){YCe(e,e.length,t)}function cv(e,t){return e.a.get(t)}function yle(e,t){return bw(e.e,t)}function ble(e){return dT(e),!1}function xle(){return Loe(),new Gbt}function lv(e){return Bx(e.a),e.b}function Sle(e,t){this.b=e,this.a=t}function uv(e,t){this.d=e,this.e=t}function Cle(e,t){this.a=e,this.b=t}function wle(e,t){this.a=e,this.b=t}function Tle(e,t){this.a=e,this.b=t}function Ele(e,t){this.a=e,this.b=t}function Dle(e,t){this.b=e,this.a=t}function dv(e,t){this.a=e,this.b=t}function fv(e,t){y_.call(this,e,t)}function pv(e,t){y_.call(this,e,t)}function Ole(e,t){y_.call(this,e,t)}function mv(e,t){y_.call(this,e,t)}function hv(e,t){y_.call(this,e,t)}function gv(e,t){y_.call(this,e,t)}function _v(e){nD.call(this,e,21)}function kle(e,t){this.b=e,this.a=t}function Ale(e,t){this.b=e,this.a=t}function jle(e,t){this.b=e,this.a=t}function Mle(e,t){y_.call(this,e,t)}function vv(e,t){y_.call(this,e,t)}function yv(e,t){y_.call(this,e,t)}function Nle(e,t){this.b=e,this.a=t}function bv(e,t){this.c=e,this.d=t}function xv(e,t){y_.call(this,e,t)}function Sv(e,t){y_.call(this,e,t)}function Ple(e,t){this.e=e,this.d=t}function Cv(e,t){y_.call(this,e,t)}function Fle(e,t){this.a=e,this.b=t}function Ile(e,t){y_.call(this,e,t)}function wv(e,t){y_.call(this,e,t)}function Tv(e,t){y_.call(this,e,t)}function Ev(e,t,n){e.splice(t,0,n)}function Lle(e,t,n){e.Mb(n)&&t.Ad(n)}function Rle(e,t,n){t.Ne(e.a.We(n))}function zle(e,t,n){t.Bd(e.a.Xe(n))}function Ble(e,t,n){t.Ad(e.a.Kb(n))}function Vle(e,t){return wx(e.c,t)}function Hle(e,t){return wx(e.e,t)}function Ule(e,t){this.a=e,this.b=t}function Wle(e,t){this.a=e,this.b=t}function Gle(e,t){this.a=e,this.b=t}function Kle(e,t){this.a=e,this.b=t}function qle(e,t){this.a=e,this.b=t}function Jle(e,t){this.a=e,this.b=t}function Yle(e,t){this.a=e,this.b=t}function Xle(e,t){this.a=e,this.b=t}function Zle(e,t){this.b=e,this.a=t}function Qle(e,t){this.b=e,this.a=t}function $le(e,t){this.b=e,this.a=t}function eue(e,t){this.b=t,this.c=e}function Dv(e,t){y_.call(this,e,t)}function Ov(e,t){y_.call(this,e,t)}function tue(e,t){y_.call(this,e,t)}function kv(e,t){y_.call(this,e,t)}function Av(e,t){y_.call(this,e,t)}function jv(e,t){y_.call(this,e,t)}function Mv(e,t){y_.call(this,e,t)}function Nv(e,t){y_.call(this,e,t)}function Pv(e,t){y_.call(this,e,t)}function nue(e,t){y_.call(this,e,t)}function Fv(e,t){y_.call(this,e,t)}function Iv(e,t){y_.call(this,e,t)}function Lv(e,t){y_.call(this,e,t)}function rue(e,t){y_.call(this,e,t)}function Rv(e,t){y_.call(this,e,t)}function zv(e,t){y_.call(this,e,t)}function iue(e,t){y_.call(this,e,t)}function aue(e,t){y_.call(this,e,t)}function oue(e,t){y_.call(this,e,t)}function Bv(e,t){y_.call(this,e,t)}function sue(e,t){y_.call(this,e,t)}function Vv(e,t){y_.call(this,e,t)}function cue(e,t){y_.call(this,e,t)}function Hv(e,t){y_.call(this,e,t)}function Uv(e,t){y_.call(this,e,t)}function Wv(e,t){y_.call(this,e,t)}function Gv(e,t){y_.call(this,e,t)}function lue(e,t){y_.call(this,e,t)}function Kv(e,t){y_.call(this,e,t)}function qv(e,t){y_.call(this,e,t)}function Jv(e,t){y_.call(this,e,t)}function Yv(e,t){y_.call(this,e,t)}function Xv(e,t){y_.call(this,e,t)}function uue(e,t){y_.call(this,e,t)}function Zv(e,t){y_.call(this,e,t)}function due(e,t){this.b=e,this.a=t}function fue(e,t){y_.call(this,e,t)}function pue(e,t){this.a=e,this.b=t}function mue(e,t){this.a=e,this.b=t}function hue(e,t){this.a=e,this.b=t}function gue(e,t){y_.call(this,e,t)}function _ue(e,t){y_.call(this,e,t)}function vue(e,t){this.a=e,this.b=t}function yue(e,t){return US(),t!=e}function Qv(e){return V3e(e,e.c),e}function bue(e){r.clearTimeout(e)}function xue(e,t){y_.call(this,e,t)}function Sue(e,t){y_.call(this,e,t)}function Cue(e,t){this.a=e,this.b=t}function wue(e,t){this.a=e,this.b=t}function Tue(e,t){this.b=e,this.d=t}function Eue(e,t){this.a=e,this.b=t}function Due(e,t){this.b=e,this.a=t}function $v(e,t){y_.call(this,e,t)}function ey(e,t){y_.call(this,e,t)}function ty(e,t){y_.call(this,e,t)}function ny(e,t){y_.call(this,e,t)}function Oue(e,t){y_.call(this,e,t)}function kue(e,t){this.b=e,this.a=t}function Aue(e,t){this.b=e,this.a=t}function jue(e,t){this.b=e,this.a=t}function Mue(e,t){this.b=e,this.a=t}function Nue(e,t){y_.call(this,e,t)}function ry(e,t){y_.call(this,e,t)}function Pue(e,t){y_.call(this,e,t)}function iy(e,t){y_.call(this,e,t)}function ay(e,t){y_.call(this,e,t)}function oy(e,t){y_.call(this,e,t)}function sy(e,t){y_.call(this,e,t)}function cy(e,t){y_.call(this,e,t)}function ly(e,t){y_.call(this,e,t)}function Fue(e,t){y_.call(this,e,t)}function uy(e,t){y_.call(this,e,t)}function Iue(e,t){y_.call(this,e,t)}function dy(e,t){y_.call(this,e,t)}function Lue(e,t){y_.call(this,e,t)}function Rue(e,t){y_.call(this,e,t)}function fy(e,t){y_.call(this,e,t)}function zue(e,t){y_.call(this,e,t)}function Bue(e,t){this.a=e,this.b=t}function Vue(e,t){this.a=e,this.b=t}function Hue(e,t){this.a=e,this.b=t}function Uue(){VS(),this.a=new Yge}function Wue(){ez(),this.a=new Dh}function Gue(){GE(),this.b=new Dh}function Kue(){DOe(),NSe.call(this)}function que(){COe(),JEe.call(this)}function Jue(){COe(),JEe.call(this)}function py(e,t){y_.call(this,e,t)}function my(e,t){y_.call(this,e,t)}function hy(e,t){y_.call(this,e,t)}function gy(e,t){y_.call(this,e,t)}function _y(e,t){y_.call(this,e,t)}function vy(e,t){y_.call(this,e,t)}function yy(e,t){y_.call(this,e,t)}function by(e,t){y_.call(this,e,t)}function xy(e,t){y_.call(this,e,t)}function Sy(e,t){y_.call(this,e,t)}function Cy(e,t){y_.call(this,e,t)}function wy(e,t){y_.call(this,e,t)}function Ty(e,t){y_.call(this,e,t)}function Ey(e,t){y_.call(this,e,t)}function Dy(e,t){y_.call(this,e,t)}function Yue(e,t){y_.call(this,e,t)}function Oy(e,t){y_.call(this,e,t)}function ky(e,t){y_.call(this,e,t)}function Ay(e,t){y_.call(this,e,t)}function Xue(e,t){y_.call(this,e,t)}function Zue(e,t){y_.call(this,e,t)}function jy(e,t){y_.call(this,e,t)}function A(e,t){this.a=e,this.b=t}function Que(e,t){this.a=e,this.b=t}function $ue(e,t){this.a=e,this.b=t}function ede(e,t){this.a=e,this.b=t}function tde(e,t){this.a=e,this.b=t}function nde(e,t){this.a=e,this.b=t}function rde(e,t){this.a=e,this.b=t}function My(e,t){this.a=e,this.b=t}function ide(e,t){this.a=e,this.b=t}function ade(e,t){this.a=e,this.b=t}function ode(e,t){this.a=e,this.b=t}function sde(e,t){this.a=e,this.b=t}function cde(e,t){this.a=e,this.b=t}function lde(e,t){this.a=e,this.b=t}function ude(e,t){this.b=e,this.a=t}function dde(e,t){this.b=e,this.a=t}function fde(e,t){this.b=e,this.a=t}function pde(e,t){this.b=e,this.a=t}function mde(e,t){this.a=e,this.b=t}function hde(e,t){this.a=e,this.b=t}function gde(e,t){this.a=e,this.b=t}function _de(e,t){this.a=e,this.b=t}function vde(e,t){this.f=e,this.c=t}function yde(e,t){this.i=e,this.g=t}function Ny(e,t){y_.call(this,e,t)}function Py(e,t){y_.call(this,e,t)}function Fy(e,t){this.a=e,this.b=t}function bde(e,t){this.a=e,this.b=t}function xde(e,t){this.d=e,this.e=t}function Sde(e,t){this.a=e,this.b=t}function Cde(e,t){this.a=e,this.b=t}function wde(e,t){this.d=e,this.b=t}function Tde(e,t){this.e=e,this.a=t}function Ede(e,t){e.i=null,rj(e,t)}function Dde(e,t){e&&ST(C7,e,t)}function Ode(e,t){return zP(e.a,t)}function kde(e,t){return wx(e.g,t)}function Ade(e,t){return wx(t.b,e)}function jde(e,t){return-e.b.$e(t)}function Iy(e){return RP(e.c,e.b)}function Mde(e,t){WIe(new lx(e),t)}function Nde(e,t,n){oQe(t,GL(e,n))}function Pde(e,t,n){oQe(t,GL(e,n))}function Fde(e,t){hIe(e.a,P(t,12))}function Ide(e,t){this.a=e,this.b=t}function Ly(e,t){this.b=e,this.c=t}function Ry(e,t){return e.Pd().Xb(t)}function zy(e,t){return fBe(e.Jc(),t)}function By(e){return e?e.kd():null}function j(e){return e??null}function Vy(e){return typeof e===GB}function Hy(e){return typeof e===Hut}function Uy(e){return typeof e===KB}function Wy(e,t){return yN(e,t)==0}function Gy(e,t){return yN(e,t)>=0}function Ky(e,t){return yN(e,t)!=0}function Lde(e,t){return e.a+=``+t,e}function Rde(e){return``+(dT(e),e)}function zde(e){return OP(e),e.d.gc()}function Bde(e){return oD(e,0),null}function qy(e){return mC(e==null),e}function Jy(e,t){return e.a+=``+t,e}function Yy(e,t){return e.a+=``+t,e}function Xy(e,t){return e.a+=``+t,e}function Zy(e,t){return e.a+=``+t,e}function Qy(e,t){return e.a+=``+t,e}function Vde(e,t){e.q.setTime(ED(t))}function Hde(e,t){mCe.call(this,e,t)}function Ude(e,t){mCe.call(this,e,t)}function $y(e,t){mCe.call(this,e,t)}function eb(e,t){iO(e,t,e.c.b,e.c)}function tb(e,t){iO(e,t,e.a,e.a.a)}function Wde(e,t){return e.j[t.p]==2}function Gde(e,t){return e.a=t.g+1,e}function nb(e){return e.a=0,e.b=0,e}function Kde(e){aw(this),Ej(this,e)}function qde(){this.b=0,this.a=!1}function Jde(){this.b=0,this.a=!1}function Yde(){this.b=new D_(Vj(12))}function Xde(){Xde=C,cSt=dN(bF())}function Zde(){Zde=C,Nwt=dN(n7e())}function Qde(){Qde=C,FMt=dN(PBe())}function $de(){$de=C,die(),tbt=new oh}function efe(e){return Kw(e),new hb(e)}function tfe(e,t){return j(e)===j(t)}function rb(e){return e<10?`0`+e:``+e}function nfe(e){return Wb(e.l,e.m,e.h)}function ib(e){return typeof e===Hut}function ab(e,t){return dE(e.a,0,t)}function ob(e){return xE((dT(e),e))}function rfe(e){return xE((dT(e),e))}function ife(e,t){return RN(e.a,t.a)}function afe(e,t){return Ub(e.a,t.a)}function ofe(e,t){return WCe(e.a,t.a)}function sb(e,t){return e.indexOf(t)}function sfe(e,t){sk(e,0,e.length,t)}function cb(e,t){ev(),ST(D7,e,t)}function lb(e,t){lS.call(this,e,t)}function ub(e,t){SS.call(this,e,t)}function db(e,t){yde.call(this,e,t)}function cfe(e,t){Nx.call(this,e,t)}function fb(e,t){Qj.call(this,e,t)}function pb(){gm.call(this,new rO)}function lfe(){FC.call(this,0,0,0,0)}function ufe(e){return vk(e.b.b,e,0)}function dfe(e,t){return Ub(e.g,t.g)}function ffe(e){return e==EX||e==kX}function pfe(e){return e==EX||e==DX}function mfe(e,t){return Ub(e.g,t.g)}function hfe(e,t){return HS(),t.a+=e}function gfe(e,t){return HS(),t.a+=e}function _fe(e,t){return HS(),t.c+=e}function vfe(e,t){return $b(e.c,t),e}function yfe(e,t){return $b(e.a,t),t}function bfe(e,t){return Ij(e.a,t),e}function xfe(e){this.a=xle(),this.b=e}function Sfe(e){this.a=xle(),this.b=e}function mb(e){this.a=e.a,this.b=e.b}function hb(e){this.a=e,kd.call(this)}function Cfe(e){this.a=e,kd.call(this)}function gb(e){return e.sh()&&e.th()}function _b(e){return e!=i5&&e!=a5}function vb(e){return e==g8||e==_8}function yb(e){return e==y8||e==h8}function wfe(e){return e==J0||e==q0}function bb(e){return Ij(new pT,e)}function Tfe(e){return OT(P(e,125))}function Efe(e,t){return RN(t.f,e.f)}function Dfe(e,t){return new Qj(t,e)}function Ofe(e,t){return new Qj(t,e)}function xb(e,t,n){TA(e,t),EA(e,n)}function Sb(e,t,n){bA(e,t),xA(e,n)}function Cb(e,t,n){wA(e,t),yA(e,n)}function wb(e,t,n){SA(e,t),CA(e,n)}function Tb(e,t,n){DA(e,t),OA(e,n)}function Eb(e,t){sN(e,t),MA(e,e.D)}function Db(e){vde.call(this,e,!0)}function Ob(){zT.call(this,0,0,0,0)}function kfe(){fv.call(this,`Head`,1)}function Afe(){fv.call(this,`Tail`,3)}function jfe(e,t,n){bge.call(this,e,t,n)}function kb(e){FC.call(this,e,e,e,e)}function Ab(e){vz(),xBe.call(this,e)}function Mfe(e){sA(e.Qf(),new Pm(e))}function jb(e){return e==null?0:Cj(e)}function Nfe(e,t){return iA(t,jE(e))}function Pfe(e,t){return iA(t,jE(e))}function Ffe(e,t){return e[e.length]=t}function Ife(e,t){return e[e.length]=t}function Lfe(e,t){return XA(hwe(e.f),t)}function Rfe(e,t){return XA(hwe(e.n),t)}function zfe(e,t){return XA(hwe(e.p),t)}function Bfe(e){return Pbe(e.b.Jc(),e.a)}function Vfe(e){return e==null?0:Cj(e)}function Mb(e){e.c=V(ZJ,$B,1,0,5,1)}function Hfe(e,t,n){Jw(e.c[t.g],t.g,n)}function Ufe(e,t,n){P(e.c,72).Ei(t,n)}function Wfe(e,t,n){xb(n,n.i+e,n.j+t)}function Nb(e,t){lS.call(this,e.b,t)}function Gfe(e,t){XO(KD(e.a),GOe(t))}function Kfe(e,t){XO(Ck(e.a),KOe(t))}function qfe(e,t){jY||(e.b=t)}function Pb(e,t,n){return Jw(e,t,n),n}function Fb(){Fb=C,new Jfe,new ah}function Jfe(){new oh,new oh,new oh}function Yfe(){throw D(new ug(Cyt))}function Xfe(){throw D(new ug(Cyt))}function Zfe(){throw D(new ug(wyt))}function Qfe(){throw D(new ug(wyt))}function $fe(){$fe=C,z2=new TP(A8)}function Ib(){Ib=C,r.Math.log(2)}function Lb(){Lb=C,f9=(Xce(),Bzt)}function Rb(e){zB(),rh.call(this,e)}function epe(e){this.a=e,jbe.call(this,e)}function zb(e){this.a=e,v_.call(this,e)}function Bb(e){this.a=e,v_.call(this,e)}function Vb(e,t){xSe(e.c,e.c.length,t)}function Hb(e){return e.a<e.c.c.length}function tpe(e){return e.a<e.c.a.length}function npe(e,t){return e.a?e.b:t.Ue()}function Ub(e,t){return e<t?-1:+(e>t)}function rpe(e,t){return yN(e,t)>0?e:t}function Wb(e,t,n){return{l:e,m:t,h:n}}function ipe(e,t){e.a!=null&&Fde(t,e.a)}function ape(e){zE(e,null),VE(e,null)}function ope(e,t,n){return ST(e.g,n,t)}function spe(e,t){Kw(t),kT(e).Ic(new h)}function cpe(){kZe(),this.a=new YR(_Ct)}function Gb(e){this.b=e,this.a=new ah}function lpe(e){this.b=new w,this.a=e}function upe(e){Zge.call(this),this.a=e}function dpe(e){XEe.call(this),this.b=e}function fpe(){fv.call(this,`Range`,2)}function Kb(e){e.j=V(Sbt,X,324,0,0,1)}function ppe(e){e.a=new me,e.c=new me}function mpe(e){e.a=new oh,e.e=new oh}function hpe(e){return new A(e.c,e.d)}function gpe(e){return new A(e.c,e.d)}function qb(e){return new A(e.a,e.b)}function _pe(e,t){return ST(e.a,t.a,t)}function vpe(e,t,n){return ST(e.k,n,t)}function Jb(e,t,n){return BKe(t,n,e.c)}function ype(e,t){return N(Zw(e.i,t))}function bpe(e,t){return N(Zw(e.j,t))}function xpe(e,t){return jst(e.a,t,null)}function Yb(e,t){return vot(e.c,e.b,t)}function M(e,t){return e!=null&&BF(e,t)}function Spe(e,t){oB(e),e.Fc(P(t,16))}function Cpe(e,t,n){e.c._c(t,P(n,136))}function wpe(e,t,n){e.c.Si(t,P(n,136))}function Tpe(e,t,n){return Dst(e,t,n),n}function Epe(e,t){return WE(),t.n.b+=e}function Dpe(e,t){return jVe(e.Jc(),t)!=-1}function Ope(e,t){return new Fme(e.Jc(),t)}function Xb(e){return e.Ob()?e.Pb():null}function kpe(e){return aF(e,0,e.length)}function Ape(e){XE(e,null),ZE(e,null)}function jpe(){Nx.call(this,null,null)}function Mpe(){Px.call(this,null,null)}function Npe(){y_.call(this,`INSTANCE`,0)}function Zb(){this.a=V(ZJ,$B,1,8,5,1)}function Ppe(e){this.a=e,oh.call(this)}function Fpe(e){this.a=(KT(),new jg(e))}function Ipe(e){this.b=(KT(),new vm(e))}function Qb(){Qb=C,Xbt=new Xh(null)}function Lpe(){Lpe=C,Lpe(),nxt=new _e}function $b(e,t){return ph(e.c,t),!0}function Rpe(e,t){e.c&&(bxe(t),FDe(t))}function zpe(e,t){e.q.setHours(t),Hz(e,t)}function Bpe(e,t){return e.a.Ac(t)!=null}function Vpe(e,t){return e.a.Ac(t)!=null}function ex(e,t){return e.a[t.c.p][t.p]}function Hpe(e,t){return e.e[t.c.p][t.p]}function Upe(e,t){return e.c[t.c.p][t.p]}function Wpe(e,t,n){return e.a[t.g][n.g]}function Gpe(e,t){return e.j[t.p]=Y8e(t)}function tx(e,t){return e.a*t.a+e.b*t.b}function Kpe(e,t){return e.a<AS(t)?-1:1}function qpe(e,t){return FNe(e.b,t.Og())}function Jpe(e,t){return FNe(e.f,t.Og())}function Ype(e,t){return O(N(t.a))<=e}function Xpe(e,t){return O(N(t.a))>=e}function Zpe(e,t,n){return n?t!=0:t!=e-1}function Qpe(e,t,n){e.a=t^1502,e.b=n^jH}function $pe(e,t,n){return e.a=t,e.b=n,e}function nx(e,t){return e.a*=t,e.b*=t,e}function rx(e,t,n){return Jw(e.g,t,n),n}function eme(e,t,n,r){Jw(e.a[t.g],n.g,r)}function ix(e,t,n){oC.call(this,e,t,n)}function ax(e,t,n){ix.call(this,e,t,n)}function ox(e,t,n){ix.call(this,e,t,n)}function tme(e,t,n){ax.call(this,e,t,n)}function nme(e,t,n){oC.call(this,e,t,n)}function sx(e,t,n){oC.call(this,e,t,n)}function rme(e,t,n){sC.call(this,e,t,n)}function ime(e,t,n){sC.call(this,e,t,n)}function ame(e,t,n){ime.call(this,e,t,n)}function ome(e,t,n){nme.call(this,e,t,n)}function cx(e){this.c=e,this.a=this.c.a}function lx(e){this.i=e,this.f=this.i.j}function ux(e,t){this.a=e,v_.call(this,t)}function sme(e,t){this.a=e,Sg.call(this,t)}function cme(e,t){this.a=e,Sg.call(this,t)}function lme(e,t){this.a=e,Sg.call(this,t)}function ume(e){this.a=e,Bf.call(this,e.d)}function dme(e){e.b.Qb(),--e.d.f.d,HC(e.d)}function fme(e){e.a=P(Uj(e.b.a,4),129)}function pme(e){e.a=P(Uj(e.b.a,4),129)}function mme(e){sE(e,v_t),zR(e,qct(e))}function hme(e,t){return hGe(e,new Og,t).a}function gme(e){return l_(e.a)?WOe(e):null}function _me(e){Yf.call(this,P(Kw(e),35))}function vme(e){Yf.call(this,P(Kw(e),35))}function yme(e){if(!e)throw D(new _h)}function bme(e){if(!e)throw D(new vh)}function dx(e,t){return Kw(t),new Pme(e,t)}function xme(e,t){return new l2e(e.a,e.b,t)}function Sme(e){return e.l+e.m*sH+e.h*cH}function Cme(e){return e==null?null:e.name}function wme(e,t,n){return e.indexOf(t,n)}function fx(e,t){return e.lastIndexOf(t)}function px(e){return e==null?eV:EP(e)}function mx(){mx=C,cY=!1,lY=!0}function Tme(){Tme=C,tle(),nVt=new Tf}function Eme(){this.Bb|=256,this.Bb|=512}function Dme(){Kb(this),XT(this),this.he()}function hx(e){lm.call(this,e),this.a=e}function Ome(e){um.call(this,e),this.a=e}function kme(e){jg.call(this,e),this.a=e}function gx(e){tm.call(this,(dT(e),e))}function _x(e){tm.call(this,(dT(e),e))}function vx(e){gm.call(this,new ZPe(e))}function Ame(e){this.a=e,cm.call(this,e)}function jme(e,t){this.a=t,Sg.call(this,e)}function Mme(e,t){this.a=t,nO.call(this,e)}function Nme(e,t){this.a=e,nO.call(this,t)}function Pme(e,t){this.a=t,__.call(this,e)}function Fme(e,t){this.a=t,__.call(this,e)}function Ime(e){jh.call(this),bj(this,e)}function yx(e){return Bx(e.a!=null),e.a}function Lme(e,t){return $b(t.a,e.a),e.a}function Rme(e,t){return $b(t.b,e.a),e.a}function bx(e,t){return $b(t.a,e.a),e.a}function xx(e,t,n){return Fj(e,t,t,n),e}function Sx(e,t){return++e.b,$b(e.a,t)}function zme(e,t){return++e.b,_k(e.a,t)}function Bme(e,t){return RN(e.c.d,t.c.d)}function Vme(e,t){return RN(e.c.c,t.c.c)}function Hme(e,t){return RN(e.n.a,t.n.a)}function Cx(e,t){return P(DO(e.b,t),16)}function Ume(e,t){return e.n.b=(dT(t),t)}function Wme(e,t){return e.n.b=(dT(t),t)}function wx(e,t){return!!t&&e.b[t.g]==t}function Tx(e){return Hb(e.a)||Hb(e.b)}function Gme(e,t){return RN(e.e.b,t.e.b)}function Kme(e,t){return RN(e.e.a,t.e.a)}function qme(e,t,n){return Bje(e,t,n,e.b)}function Jme(e,t,n){return Bje(e,t,n,e.c)}function Yme(e){return HS(),!!e&&!e.dc()}function Xme(){U_(),this.b=new Tte(this)}function Ex(){Ex=C,qY=new lS(lft,0)}function Dx(e){this.d=e,lx.call(this,e)}function Ox(e){this.c=e,lx.call(this,e)}function kx(e){this.c=e,Dx.call(this,e)}function Zme(e,t){kqe.call(this,e,t,null)}function Ax(e){return e.a==null?null:e.a}function jx(e){return e.$H||=++xxt}function Mx(e){var t=e.a;e.a=e.b,e.b=t}function Nx(e,t){tv(),this.a=e,this.b=t}function Px(e,t){nv(),this.b=e,this.c=t}function Fx(e,t){OSe(),this.f=t,this.d=e}function Qme(e,t){MNe(t,e),this.c=e,this.b=t}function $me(e,t){return QSe(e.c).Kd().Xb(t)}function ehe(e,t){return new D_e(e,e.gc(),t)}function the(e){return $h(),LA((jOe(),Uyt),e)}function nhe(e){return++W9,new ZD(3,e)}function Ix(e){return qA(e,jV),new HO(e)}function rhe(e){return CE(),parseInt(e)||-1}function Lx(e,t,n){return wme(e,hL(t),n)}function ihe(e,t,n){P(bk(e,t),22).Ec(n)}function ahe(e,t,n){JN(e.a,n),$F(e.a,t)}function Rx(e,t,n){e.dd(t).Rb(n)}function ohe(e,t,n,r){nCe.call(this,e,t,n,r)}function she(e){Ube.call(this,e,null,null)}function zx(e){A_(),this.b=e,this.a=!0}function che(e){N_(),this.b=e,this.a=!0}function lhe(e){if(!e)throw D(new gh)}function uhe(e){if(!e)throw D(new _h)}function dhe(e){if(!e)throw D(new hh)}function Bx(e){if(!e)throw D(new xh)}function Vx(e){if(!e)throw D(new vh)}function fhe(e){e.d=new she(e),e.e=new oh}function Hx(e){return Bx(e.b!=0),e.a.a.c}function Ux(e){return Bx(e.b!=0),e.c.b.c}function phe(e,t){return Fj(e,t,t+1,``),e}function mhe(e){jB(),Qre(this),this.Df(e)}function hhe(e){this.c=e,this.a=1,this.b=1}function Wx(e){M(e,161)&&P(e,161).mi()}function ghe(e){return e.b=P(sEe(e.a),45)}function Gx(e,t){return P(zk(e.a,t),35)}function Kx(e,t){return!!e.q&&bw(e.q,t)}function _he(e,t){return e>0?t/(e*e):t*100}function vhe(e,t){return e>0?t*t/e:t*t*100}function yhe(e){return e.f==null?``+e.g:e.f}function qx(e){return e.f==null?``+e.g:e.f}function bhe(e){return pA(),e.e.a+e.f.a/2}function xhe(e){return pA(),e.e.b+e.f.b/2}function She(e,t,n){return pA(),n.e.b-e*t}function Che(e,t,n){return pA(),n.e.a-e*t}function whe(e,t,n){return G_(),n.Lg(e,t)}function The(e,t){return TL(),fR(e,t.e,t)}function Ehe(e,t,n){return $b(t,cKe(e,n))}function Dhe(e,t,n){dk(),e.nf(t)&&n.Ad(e)}function Jx(e,t,n){return e.a+=t,e.b+=n,e}function Ohe(e,t,n){return e.a-=t,e.b-=n,e}function khe(e,t){return e.a=t.a,e.b=t.b,e}function Yx(e){return e.a=-e.a,e.b=-e.b,e}function Ahe(e){this.c=e,TA(e,0),EA(e,0)}function jhe(e){E_.call(this),UA(this,e)}function Mhe(){y_.call(this,`GROW_TREE`,0)}function Xx(e,t,n){ik.call(this,e,t,n,2)}function Nhe(e,t){nv(),Phe.call(this,e,t)}function Phe(e,t){nv(),Px.call(this,e,t)}function Fhe(e,t){nv(),Px.call(this,e,t)}function Ihe(e,t){tv(),Nx.call(this,e,t)}function Zx(e,t){Lb(),MC.call(this,e,t)}function Lhe(e,t){Lb(),Zx.call(this,e,t)}function Rhe(e,t){Lb(),Zx.call(this,e,t)}function zhe(e,t){Lb(),Rhe.call(this,e,t)}function Bhe(e,t){Lb(),MC.call(this,e,t)}function Vhe(e,t){Lb(),Bhe.call(this,e,t)}function Hhe(e,t){Lb(),MC.call(this,e,t)}function Uhe(e,t){return e.c.Ec(P(t,136))}function Whe(e,t){return P(Zw(e.e,t),26)}function Ghe(e,t){return P(Zw(e.e,t),26)}function Khe(e,t,n){return nB(Tk(e,t),n)}function qhe(e,t,n){return t.xl(e.e,e.c,n)}function Jhe(e,t,n){return t.yl(e.e,e.c,n)}function Qx(e,t){return bN(e.e,P(t,52))}function Yhe(e,t,n){FN(KD(e.a),t,GOe(n))}function Xhe(e,t,n){FN(Ck(e.a),t,KOe(n))}function Zhe(e,t){return(dT(e),e)+AS(t)}function Qhe(e){return e==null?null:EP(e)}function $he(e){return e==null?null:EP(e)}function ege(e){return e==null?null:g0e(e)}function tge(e){return e==null?null:Pct(e)}function $x(e){e.o??t8e(e)}function eS(e){return mC(e==null||Vy(e)),e}function N(e){return mC(e==null||Hy(e)),e}function tS(e){return mC(e==null||Uy(e)),e}function nge(e,t){return sI(e,t),new mTe(e,t)}function nS(e,t){this.c=e,p_.call(this,e,t)}function rS(e,t){this.a=e,nS.call(this,e,t)}function rge(e,t){this.d=e,Mee(this),this.b=t}function ige(){PRe.call(this),this.Bb|=_H}function age(){this.a=new mE,this.b=new mE}function oge(e){this.q=new r.Date(ED(e))}function iS(){iS=C,j4=new Xm(`root`)}function aS(){aS=C,E7=new Jie,new Yie}function oS(){oS=C,lSt=gP((tF(),z5))}function sge(e,t){t.a?Y3e(e,t):Vpe(e.a,t.b)}function cge(e,t){jY||$b(e.a,t)}function lge(e,t){return H_(),zj(t.d.i,e)}function uge(e,t){return Sj(),new utt(t,e)}function dge(e,t,n){return e.Le(t,n)<=0?n:t}function fge(e,t,n){return e.Le(t,n)<=0?t:n}function pge(e,t){return P(zk(e.b,t),144)}function mge(e,t){return P(zk(e.c,t),233)}function sS(e){return P(AC(e.a,e.b),295)}function hge(e){return new A(e.c,e.d+e.a)}function gge(e){return dT(e),e?1231:1237}function _ge(e){return WE(),wfe(P(e,203))}function vge(e,t){return P(Zw(e.b,t),278)}function yge(e,t,n){++e.j,e.oj(t,e.Xi(t,n))}function cS(e,t,n){++e.j,e.rj(),zPe(e,t,n)}function bge(e,t,n){VO.call(this,e,t,n,null)}function xge(e,t,n){VO.call(this,e,t,n,null)}function Sge(e,t){YPe.call(this,e),this.a=t}function Cge(e,t){YPe.call(this,e),this.a=t}function lS(e,t){Xm.call(this,e),this.a=t}function wge(e,t){Pre.call(this,e),this.a=t}function uS(e,t){Pre.call(this,e),this.a=t}function Tge(e,t){this.c=e,oA.call(this,t)}function Ege(e,t){this.a=e,Are.call(this,t)}function dS(e,t){this.a=e,Are.call(this,t)}function Dge(e,t,n){return n=kz(e,t,3,n),n}function Oge(e,t,n){return n=kz(e,t,6,n),n}function kge(e,t,n){return n=kz(e,t,9,n),n}function fS(e,t){return sE(t,aft),e.f=t,e}function Age(e,t){return(t&JB)%e.d.length}function jge(e,t,n){return Rit(e.c,e.b,t,n)}function Mge(e,t,n){return e.apply(t,n)}function Nge(e,t,n){e.dd(t).Rb(n)}function Pge(e,t,n){return e.a+=aF(t,0,n),e}function pS(e){return!e.a&&(e.a=new te),e.a}function Fge(e,t){var n=e.e;return e.e=t,n}function Ige(e,t){var n=t;return!!e.De(n)}function mS(e,t){return mx(),e==t?0:e?1:-1}function hS(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function Lge(e,t){e[OH].call(e,t)}function Rge(e,t){e[OH].call(e,t)}function zge(e,t,n){M_(),vp(e,t.Te(e.a,n))}function Bge(e,t,n){return Dw(e,P(t,23),n)}function gS(e,t){return Ng(Array(t),e)}function Vge(e){return RC(tw(e,32))^RC(e)}function Hge(e){return String.fromCharCode(e)}function Uge(e){return e==null?null:e.message}function Wge(e){this.a=(KT(),new am(Kw(e)))}function Gge(e){this.a=(qA(e,jV),new HO(e))}function Kge(e){this.a=(qA(e,jV),new HO(e))}function qge(){this.a=new ah,this.b=new ah}function Jge(){this.a=new at,this.b=new uie}function Yge(){this.b=new rO,this.a=new rO}function Xge(){this.b=new Xg,this.c=new ah}function Zge(){this.n=new Xg,this.o=new Xg}function _S(){this.n=new Fh,this.i=new Ob}function Qge(){this.b=new Dh,this.a=new Dh}function $ge(){this.a=new ah,this.d=new ah}function e_e(){this.a=new fee,this.b=new Xi}function t_e(){this.b=new Tse,this.a=new go}function n_e(){this.b=new oh,this.a=new oh}function r_e(){_S.call(this),this.a=new Xg}function i_e(e,t,n,r){FC.call(this,e,t,n,r)}function a_e(e,t){return e.n.a=(dT(t),t)+10}function o_e(e,t){return e.n.a=(dT(t),t)+10}function s_e(e,t){return H_(),!zj(t.d.i,e)}function c_e(e){aw(e.e),e.d.b=e.d,e.d.a=e.d}function vS(e){e.b?vS(e.b):e.f.c.yc(e.e,e.d)}function l_e(e,t){vb(e.f)?W6e(e,t):I$e(e,t)}function u_e(e,t,n){n!=null&&ej(t,fI(e,n))}function d_e(e,t,n){n!=null&&tj(t,fI(e,n))}function yS(e,t,n,r){F.call(this,e,t,n,r)}function f_e(e,t,n,r){F.call(this,e,t,n,r)}function p_e(e,t,n,r){f_e.call(this,e,t,n,r)}function m_e(e,t,n,r){mw.call(this,e,t,n,r)}function bS(e,t,n,r){mw.call(this,e,t,n,r)}function h_e(e,t,n,r){bS.call(this,e,t,n,r)}function g_e(e,t,n,r){mw.call(this,e,t,n,r)}function xS(e,t,n,r){g_e.call(this,e,t,n,r)}function __e(e,t,n,r){bS.call(this,e,t,n,r)}function v_e(e,t,n,r){__e.call(this,e,t,n,r)}function y_e(e,t,n,r){kCe.call(this,e,t,n,r)}function SS(e,t){ig.call(this,Zq+e+Lq+t)}function b_e(e,t){return t==e||UI(LR(t),e)}function x_e(e,t){return e.hk().ti().oi(e,t)}function S_e(e,t){return e.hk().ti().qi(e,t)}function C_e(e,t){return e.e=P(e.d.Kb(t),162)}function w_e(e,t){return ST(e.a,t,``)==null}function T_e(e,t){return dT(e),j(e)===j(t)}function CS(e,t){return dT(e),j(e)===j(t)}function E_e(e,t,n){return e.lastIndexOf(t,n)}function D_e(e,t,n){this.a=e,Qme.call(this,t,n)}function O_e(e){this.c=e,$y.call(this,vV,0)}function k_e(e,t,n){this.c=t,this.b=n,this.a=e}function wS(e,t){return e.a+=t.a,e.b+=t.b,e}function TS(e,t){return e.a-=t.a,e.b-=t.b,e}function A_e(e){return Ch(e.j.c,0),e.a=-1,e}function j_e(e,t){return t.ni(e.a)}function M_e(e,t,n){return n=kz(e,t,11,n),n}function N_e(e,t,n){return RN(e[t.a],e[n.a])}function P_e(e,t){return Ub(e.a.d.p,t.a.d.p)}function F_e(e,t){return Ub(t.a.d.p,e.a.d.p)}function I_e(e,t){return RN(e.c-e.s,t.c-t.s)}function L_e(e,t){return RN(e.b.e.a,t.b.e.a)}function R_e(e,t){return RN(e.c.e.a,t.c.e.a)}function z_e(e,t){return W(t,(PB(),y1),e)}function B_e(e,t){return e.b.zd(new wle(e,t))}function V_e(e,t){return e.b.zd(new Tle(e,t))}function H_e(e,t){return e.b.zd(new Ele(e,t))}function U_e(e,t){return M(t,16)&&net(e.c,t)}function W_e(e){return e.c?vk(e.c.a,e,0):-1}function G_e(e){return e<100?null:new Qg(e)}function ES(e){return e==e5||e==n5||e==t5}function K_e(e,t,n){return P(e.c,72).Uk(t,n)}function DS(e,t,n){return P(e.c,72).Vk(t,n)}function q_e(e,t,n){return qhe(e,P(t,344),n)}function J_e(e,t,n){return Jhe(e,P(t,344),n)}function Y_e(e,t,n){return ZQe(e,P(t,344),n)}function X_e(e,t,n){return e1e(e,P(t,344),n)}function OS(e,t){return t==null?null:xN(e.b,t)}function Z_e(e,t){jY||t&&(e.d=t)}function Q_e(e,t){if(!e)throw D(new sg(t))}function kS(e){if(!e)throw D(new cg(Gut))}function AS(e){return Hy(e)?(dT(e),e):e.se()}function jS(e){return!isNaN(e)&&!isFinite(e)}function MS(e){ppe(this),YT(this),bj(this,e)}function NS(e){Mb(this),Gbe(this.c,0,e.Nc())}function PS(e){US(),this.d=e,this.a=new Zb}function $_e(e,t,n){this.d=e,this.b=n,this.a=t}function FS(e,t,n){this.a=e,this.b=t,this.c=n}function eve(e,t,n){this.a=e,this.b=t,this.c=n}function tve(e,t){this.c=e,jw.call(this,e,t)}function nve(e,t){zbe.call(this,e,e.length,t)}function IS(e,t){if(e!=t)throw D(new gh)}function rve(e){this.a=e,O_(),Hj(Date.now())}function ive(e){nT(e.a),HPe(e.c,e.b),e.b=null}function LS(){LS=C,Jbt=new he,Ybt=new ge}function RS(e){var t=new Ke;return t.e=e,t}function ave(e,t,n){return M_(),e.a.Wd(t,n),t}function ove(e,t,n){this.b=e,this.c=t,this.a=n}function sve(e){var t=new Oie;return t.b=e,t}function cve(e){return uA(),LA((TPe(),Mxt),e)}function lve(e){return lk(),LA((PFe(),cxt),e)}function uve(e){return tN(),LA((wPe(),yxt),e)}function dve(e){return uk(),LA((EPe(),Fxt),e)}function fve(e){return Mk(),LA((DPe(),Rxt),e)}function pve(e){return BB(),LA((Xde(),cSt),e)}function mve(e){return tM(),LA((UFe(),dSt),e)}function hve(e){return xM(),LA((WFe(),wCt),e)}function gve(e){return qk(),LA((zMe(),ESt),e)}function _ve(e){return xk(),LA((CPe(),pCt),e)}function vve(e){return bL(),LA((eLe(),vCt),e)}function yve(e){return dF(),LA((HFe(),NCt),e)}function bve(e){return MR(),LA((ABe(),RCt),e)}function xve(e){return sj(),LA((BMe(),XCt),e)}function zS(e){FC.call(this,e.d,e.c,e.a,e.b)}function Sve(e){FC.call(this,e.d,e.c,e.a,e.b)}function Cve(e){return RB(),LA((Zde(),Nwt),e)}function wve(){wve=C,nBt=V(ZJ,$B,1,0,5,1)}function Tve(){Tve=C,jBt=V(ZJ,$B,1,0,5,1)}function Eve(){Eve=C,MBt=V(ZJ,$B,1,0,5,1)}function BS(){BS=C,JX=new wn,YX=new Tn}function VS(){VS=C,zwt=new Xn,Rwt=new Zn}function HS(){HS=C,qwt=new oi,Jwt=new si}function Dve(e){return lj(),LA((sPe(),iTt),e)}function Ove(e){return oM(),LA((JFe(),Zwt),e)}function kve(e){return rL(),LA((JIe(),$wt),e)}function Ave(e){return dz(),LA((NBe(),oTt),e)}function jve(e){return WL(),LA((aRe(),sTt),e)}function Mve(e){return KO(),LA((SMe(),uTt),e)}function Nve(e){return xP(),LA((XFe(),mTt),e)}function Pve(e){return HA(),LA((nPe(),_Tt),e)}function Fve(e){return NR(),LA((eVe(),bTt),e)}function Ive(e){return Jk(),LA((CMe(),CTt),e)}function Lve(e){return CM(),LA((rPe(),TTt),e)}function Rve(e){return kL(),LA((iRe(),DTt),e)}function zve(e){return mk(),LA((wMe(),ATt),e)}function Bve(e){return qI(),LA((nRe(),ITt),e)}function Vve(e){return EL(),LA((rRe(),UTt),e)}function Hve(e){return oz(),LA((LVe(),WTt),e)}function Uve(e){return rM(),LA((iPe(),GTt),e)}function Wve(e){return SM(),LA((aPe(),qTt),e)}function Gve(e){return Nk(),LA((oPe(),YTt),e)}function Kve(e){return AD(),LA((TMe(),QTt),e)}function qve(e){return bP(),LA((XIe(),pEt),e)}function Jve(e){return cO(),LA((EMe(),hEt),e)}function Yve(e){return GR(),LA((tVe(),jAt),e)}function Xve(e){return mN(),LA((cPe(),PAt),e)}function Zve(e){return HF(),LA((KFe(),FAt),e)}function Qve(e){return PF(),LA((YIe(),RAt),e)}function $ve(e){return bz(),LA((IVe(),WAt),e)}function eye(e){return eF(),LA((qFe(),qAt),e)}function tye(e){return Sk(),LA((DMe(),YAt),e)}function nye(e){return VA(),LA((lPe(),ZAt),e)}function rye(e){return iM(),LA((uPe(),tjt),e)}function iye(e){return eN(),LA((dPe(),rjt),e)}function aye(e){return hN(),LA((fPe(),ojt),e)}function oye(e){return BA(),LA((pPe(),ujt),e)}function sye(e){return aM(),LA((mPe(),fjt),e)}function cye(e){return bM(),LA((VFe(),Lwt),e)}function lye(e){return pN(),LA((GFe(),Njt),e)}function uye(e,t){return(dT(e),e)+(dT(t),t)}function dye(e){return sO(),LA((OMe(),Bjt),e)}function fye(e){return wE(),LA((AMe(),Yjt),e)}function pye(e){return TE(),LA((kMe(),Zjt),e)}function mye(e){return WO(),LA((jMe(),pMt),e)}function US(){US=C,Ijt=(wB(),N5),A2=p5}function hye(e){return EE(),LA((MMe(),bMt),e)}function gye(e){return kI(),LA(($Fe(),SMt),e)}function _ye(e){return xz(),LA((Qde(),FMt),e)}function vye(e){return QM(),LA((hPe(),RMt),e)}function yye(e){return ZM(),LA((YFe(),DNt),e)}function bye(e){return kD(),LA((NMe(),ANt),e)}function xye(e){return cj(),LA((PMe(),INt),e)}function Sye(e){return aL(),LA((ZIe(),RNt),e)}function Cye(e){return pk(),LA((FMe(),VNt),e)}function wye(e){return $M(),LA((gPe(),GNt),e)}function Tye(e){return dI(),LA((QFe(),EPt),e)}function Eye(e){return nM(),LA((_Pe(),APt),e)}function Dye(e){return $P(),LA((vPe(),MPt),e)}function Oye(e){return gL(),LA((ZFe(),PPt),e)}function kye(e){return SP(),LA((SPe(),BPt),e)}function Aye(e){return!e.e&&(e.e=new ah),e.e}function WS(e,t,n){this.e=t,this.b=e,this.d=n}function jye(e,t,n){this.a=e,this.b=t,this.c=n}function Mye(e,t,n){this.a=e,this.b=t,this.c=n}function Nye(e,t,n){this.a=e,this.b=t,this.c=n}function Pye(e,t,n){this.a=e,this.b=t,this.c=n}function Fye(e,t,n){this.a=e,this.c=t,this.b=n}function GS(e,t,n){this.b=e,this.a=t,this.c=n}function Iye(e,t,n){this.b=e,this.a=t,this.c=n}function KS(e,t){this.c=e,this.a=t,this.b=t-e}function Lye(e){return zN(),LA((bPe(),PFt),e)}function Rye(e){return q_(),LA((JAe(),HFt),e)}function zye(e){return GO(),LA((LMe(),WFt),e)}function Bye(e){return ML(),LA(($Ie(),YFt),e)}function Vye(e){return K_(),LA((qAe(),BFt),e)}function Hye(e){return VR(),LA((QIe(),LFt),e)}function Uye(e){return BN(),LA((xPe(),RFt),e)}function Wye(e){return gO(),LA((IMe(),EFt),e)}function Gye(e){return hk(),LA((yPe(),AFt),e)}function Kye(e){return J_(),LA((YAe(),DIt),e)}function qye(e){return sM(),LA((RMe(),AIt),e)}function Jye(e){return CF(),LA((nLe(),BIt),e)}function Yye(e){return BL(),LA((jBe(),UIt),e)}function Xye(e){return UN(),LA((tIe(),bRt),e)}function Zye(e){return WN(),LA((tLe(),pRt),e)}function Qye(e){return HN(),LA((eIe(),_Rt),e)}function $ye(e){return dA(),LA((OPe(),yRt),e)}function ebe(e){return UF(),LA((QLe(),qIt),e)}function tbe(e){return eL(),LA(($Le(),aLt),e)}function nbe(e){return wR(),LA((rVe(),zRt),e)}function rbe(e){return wF(),LA((rLe(),HRt),e)}function ibe(e){return iL(),LA((tRe(),WRt),e)}function abe(e){return rR(),LA((eRe(),GRt),e)}function obe(e){return AI(),LA((nIe(),RRt),e)}function sbe(e){return _L(),LA((ZLe(),DRt),e)}function cbe(e){return nN(),LA((APe(),FRt),e)}function lbe(e){return lO(),LA((rIe(),pzt),e)}function ube(e){return Tz(),LA((nVe(),azt),e)}function dbe(e){return VN(),LA((kPe(),czt),e)}function fbe(e){return wB(),LA((iLe(),KRt),e)}function pbe(e){return vA(),LA((jPe(),tzt),e)}function mbe(e){return tF(),LA((iIe(),nzt),e)}function hbe(e){return CP(),LA((aIe(),yzt),e)}function gbe(e){return XM(),LA((oIe(),Ezt),e)}function _be(e){return SR(),LA((MBe(),Yzt),e)}function vbe(e,t,n){Lb(),jDe.call(this,e,t,n)}function qS(e,t,n){Lb(),Iwe.call(this,e,t,n)}function ybe(e,t,n){Lb(),qS.call(this,e,t,n)}function bbe(e,t,n){Lb(),qS.call(this,e,t,n)}function xbe(e,t,n){Lb(),bbe.call(this,e,t,n)}function Sbe(e,t,n){Lb(),Cbe.call(this,e,t,n)}function Cbe(e,t,n){Lb(),Iwe.call(this,e,t,n)}function wbe(e,t,n){Lb(),Iwe.call(this,e,t,n)}function Tbe(e,t,n){Lb(),wbe.call(this,e,t,n)}function Ebe(e,t,n){this.a=e,this.c=t,this.b=n}function Dbe(e,t,n){this.a=e,this.b=t,this.c=n}function Obe(e,t,n){this.a=e,this.b=t,this.c=n}function kbe(e,t,n){this.a=e,this.b=t,this.c=n}function JS(e,t,n){this.a=e,this.b=t,this.c=n}function Abe(e,t,n){this.a=e,this.b=t,this.c=n}function YS(e,t,n){this.e=e,this.a=t,this.c=n}function jbe(e){this.d=e,Mee(this),this.b=XSe(e.d)}function Mbe(e,t){lce.call(this,e,oP(new dg(t)))}function XS(e,t){return Kw(e),Kw(t),new Gse(e,t)}function ZS(e,t){return Kw(e),Kw(t),new pxe(e,t)}function Nbe(e,t){return Kw(e),Kw(t),new mxe(e,t)}function Pbe(e,t){return Kw(e),Kw(t),new nce(e,t)}function QS(e){return Bx(e.b!=0),aA(e,e.a.a)}function Fbe(e){return Bx(e.b!=0),aA(e,e.c.b)}function Ibe(e){return!e.c&&(e.c=new jl),e.c}function $S(e){var t=new E_;return Oze(t,e),t}function Lbe(e){var t=new jh;return Oze(t,e),t}function Rbe(e){var t=new Dh;return Rk(t,e),t}function eC(e){var t=new ah;return Rk(t,e),t}function P(e,t){return mC(e==null||BF(e,t)),e}function zbe(e,t,n){hCe.call(this,t,n),this.a=e}function Bbe(e,t){this.c=e,this.b=t,this.a=!1}function Vbe(){this.a=`;,;`,this.b=``,this.c=``}function Hbe(e,t,n){this.b=e,Hde.call(this,t,n)}function Ube(e,t,n){this.c=e,uv.call(this,t,n)}function Wbe(e,t,n){bv.call(this,e,t),this.b=n}function Gbe(e,t,n){v3e(n,0,e,t,n.length,!1)}function tC(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function Kbe(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function qbe(e,t){t&&(e.b=t,e.a=(iT(t),t.a))}function nC(e,t){if(!e)throw D(new sg(t))}function rC(e,t){if(!e)throw D(new cg(t))}function Jbe(e,t){if(!e)throw D(new qae(t))}function Ybe(e,t){return W_(),Ub(e.d.p,t.d.p)}function Xbe(e,t){return pA(),RN(e.e.b,t.e.b)}function Zbe(e,t){return pA(),RN(e.e.a,t.e.a)}function Qbe(e,t){return Ub(Txe(e.d),Txe(t.d))}function iC(e,t){return t&&oT(e,t.d)?t:null}function $be(e,t){return t==(wB(),N5)?e.c:e.d}function exe(e){return new A(e.c+e.b,e.d+e.a)}function txe(e){return e!=null&&!DP(e,O7,k7)}function nxe(e,t){return(PWe(e)<<4|PWe(t))&VV}function rxe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function ixe(e){var t=e.b;e.b=e.c,e.c=t}function axe(e){var t,n=e.d;t=e.a,e.d=t,e.a=n}function oxe(e,t){var n=e.c;return ZRe(e,t),n}function sxe(e,t){return t<0?e.g=-1:e.g=t,e}function aC(e,t){return zLe(e),e.a*=t,e.b*=t,e}function oC(e,t,n){xde.call(this,e,t),this.c=n}function sC(e,t,n){xde.call(this,e,t),this.c=n}function cxe(e){Eve(),ul.call(this),this._h(e)}function lxe(){PO(),Bwe.call(this,($_(),V7))}function uxe(e){return zB(),++W9,new NC(0,e)}function dxe(){dxe=C,iVt=(KT(),new am(zvt))}function cC(){cC=C,new WJe((Kh(),Ryt),(Gh(),Lyt))}function fxe(){this.b=O(N(DF((Mz(),sX))))}function lC(e){this.b=e,this.a=qC(this.b.a).Md()}function pxe(e,t){this.b=e,this.a=t,kd.call(this)}function mxe(e,t){this.a=e,this.b=t,kd.call(this)}function hxe(e,t,n){this.a=e,db.call(this,t,n)}function gxe(e,t,n){this.a=e,db.call(this,t,n)}function uC(e,t,n){Zk(e,t,new qw(n))}function _xe(e,t,n){var r=e[t];return e[t]=n,r}function dC(e){return jFe(e.slice(),e)}function fC(e){var t=e.n;return e.a.b+t.d+t.a}function vxe(e){var t=e.n;return e.e.b+t.d+t.a}function yxe(e){var t=e.n;return e.e.a+t.b+t.c}function bxe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function pC(e,t){return iO(e,t,e.c.b,e.c),!0}function xxe(e){return e.a?e.a:PT(e)}function mC(e){if(!e)throw D(new og(null))}function hC(e,t){return BI(e,new bv(t.a,t.b))}function Sxe(e){return!xO(e)&&e.c.i.c==e.d.i.c}function Cxe(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function wxe(e){return e.b.c.length-e.e.c.length}function Txe(e){return e.e.c.length-e.g.c.length}function gC(e){return e.e.c.length+e.g.c.length}function _C(e){return e==0||isNaN(e)?e:e<0?-1:1}function Exe(e){return fA(),V(Y2,nK,40,e,0,1)}function Dxe(){Dxe=C,mbt=V(hY,X,15,256,0,1)}function Oxe(){tC(this,!1,!1,!1,!1)}function kxe(e){Qme.call(this,e.length,0),this.a=e}function Axe(e,t){hCe.call(this,t,1040),this.a=e}function jxe(e,t,n,r){iqe.call(this,e,t,n,r,0,0)}function Mxe(e){Eve(),cxe.call(this,e),this.a=-1}function Nxe(e){return WE(),(wB(),v5).Gc(e.j)}function Pxe(e,t,n){return pA(),n.e.a+n.f.a+e*t}function Fxe(e,t,n){return pA(),n.e.b+n.f.b+e*t}function Ixe(e,t,n){return ST(e.b,P(n.b,17),t)}function Lxe(e,t,n){return ST(e.b,P(n.b,17),t)}function Rxe(e,t){return $b(e,new A(t.a,t.b))}function zxe(e,t){QRe(e,t==null?null:(dT(t),t))}function Bxe(e,t){eze(e,t==null?null:(dT(t),t))}function Vxe(e,t){eze(e,t==null?null:(dT(t),t))}function vC(e,t){var n;return++e.j,n=e.Aj(t),n}function yC(e,t){var n=_we(e,t);return n.i=2,n}function bC(e,t,n){return e.a=-1,ihe(e,t.g,n),e}function xC(e,t){Ly.call(this,e,t),this.a=this}function Hxe(){Zue.call(this,`COUNT_CHILDREN`,0)}function Uxe(e){this.c=e,this.b=this.c.d.vc().Jc()}function Wxe(e){return e.e.Pd().gc()*e.c.Pd().gc()}function SC(e,t,n){return new k_e(Ywe(e).Ze(),n,t)}function CC(e,t,n,r,i,a){return gQe(e,t,n,r,i,0,a)}function Gxe(){Gxe=C,gbt=V(gY,X,190,256,0,1)}function Kxe(){Kxe=C,xbt=V(_Y,X,191,256,0,1)}function qxe(){qxe=C,dbt=V(dY,X,221,256,0,1)}function Jxe(){Jxe=C,pbt=V(fY,X,180,128,0,1)}function wC(){wC=C,Gyt=new mD((KT(),KT(),EY))}function Yxe(){Yxe=C,qyt=new _le((KT(),KT(),OY))}function TC(e){for(Kw(e);e.Ob();)e.Pb(),e.Qb()}function Xxe(e){e.a.jd(),P(e.a.kd(),18).gc(),toe()}function EC(e){this.a=new D_(e.gc()),bj(this,e)}function Zxe(e){gm.call(this,new rO),bj(this,e)}function Qxe(e){this.c=e,this.a=new T_(this.c.a)}function $xe(e){if(e.e.c!=e.b)throw D(new gh)}function eSe(e){if(e.c.e!=e.a)throw D(new gh)}function tSe(e){return e.q?e.q:(KT(),KT(),DY)}function nSe(e){return e.c-P(AC(e.a,e.b),295).b}function rSe(e,t){return dT(e),Aj(e,(dT(t),t))}function iSe(e,t){return dT(t),Aj(t,(dT(e),e))}function aSe(e,t,n){return Ub(t.d[e.g],n.d[e.g])}function oSe(e,t,n){return Ub(e.d[t.p],e.d[n.p])}function sSe(e,t,n){return Ub(e.d[t.p],e.d[n.p])}function cSe(e,t,n){return Ub(e.d[t.p],e.d[n.p])}function lSe(e,t,n){return Ub(e.d[t.p],e.d[n.p])}function uSe(e,t){return e?0:r.Math.max(0,t-1)}function DC(e,t,n){return r.Math.min(n/e,1/t)}function OC(e){return e.c?e.c.f:e.e.b}function kC(e){return e.c?e.c.g:e.e.a}function AC(e,t){return oD(t,e.c.length),e.c[t]}function dSe(e,t){return oD(t,e.a.length),e.a[t]}function fSe(e,t){return e.a+=aF(t,0,t.length),e}function pSe(e,t){return e.a??wet(e),e.a[t]}function mSe(e){var t=SQe(e);return t?mSe(t):e}function hSe(e,t){var n;for(n=0;n<t;++n)e[n]=-1}function jC(e,t){M_(),YPe.call(this,e),this.a=t}function MC(e,t){Lb(),eh.call(this,t),this.a=e}function NC(e,t){zB(),rh.call(this,e),this.a=t}function gSe(e){this.b=new E_,this.a=e,this.c=-1}function _Se(e){this.a=e,this.c=new oh,KVe(this)}function PC(e){oA.call(this,e.gc()),zw(this,e)}function FC(e,t,n,r){Kbe(this,e,t,n,r)}function IC(e,t,n){this.a=e,ix.call(this,t,n,2)}function vSe(e,t){return e==null?t==null:CS(e,t)}function ySe(e,t){return e==null?t==null:lF(e,t)}function LC(e,t){return zB(),++W9,new UCe(e,t)}function RC(e){return ib(e)?e|0:yse(e)}function zC(e,t){var n=gP(e);return rHe(n,t),n}function bSe(e,t){return!e&&(e=[]),e[e.length]=t,e}function BC(e,t,n){UE(t,e.c.length),Ev(e.c,t,n)}function xSe(e,t,n){nUe(0,t,e.length),sk(e,0,t,n)}function SSe(e,t,n){var r;for(r=0;r<t;++r)e[r]=n}function CSe(e,t){return M(t,23)&&wx(e,P(t,23))}function wSe(e,t){return M(t,23)&&MLe(e,P(t,23))}function VC(e,t){return pUe(e,t,XMe(e,e.b.Ae(t)))}function TSe(e,t){return e.a.get(t)!==void 0}function ESe(e){return Array.isArray(e)&&e.Rm===ne}function DSe(e){return FR(e,26)*kH+FR(e,27)*AH}function OSe(){OSe=C,Ozt=new Nb((LB(),Y6),0)}function kSe(){kSe=C,Byt=new kxe(V(ZJ,$B,1,0,5,1))}function ASe(){this.b=new yt,this.c=new QEe(this)}function jSe(){this.d=new We,this.e=new ZEe(this)}function MSe(e,t){this.b=new E_,this.a=e,this.c=t}function NSe(){DOe(),this.g=new E_,this.f=new E_}function PSe(){WE(),this.k=new oh,this.d=new Dh}function FSe(e,t){ISe(e,TS(new A(t.a,t.b),e.c))}function ISe(e,t){wS(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function HC(e){e.b?HC(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function LSe(e,t,n){return-Ub(e.f[t.p],e.f[n.p])}function RSe(e,t,n){return Tw(e,new dv(t.a,n.a))}function zSe(e,t,n){R6e(n,e,1),$b(t,new Kle(n,e))}function BSe(e,t,n){zI(n,e,1),$b(t,new Qle(n,e))}function VSe(e,t,n,r){Lb(),lAe.call(this,e,t,n,r)}function HSe(e,t,n,r){Lb(),lAe.call(this,e,t,n,r)}function USe(e,t,n){this.a=e,ax.call(this,t,n,22)}function WSe(e,t,n){this.a=e,ax.call(this,t,n,14)}function UC(e,t,n){return e.a=-1,ihe(e,t.g+1,n),e}function GSe(e,t,n){return n=kz(e,P(t,52),7,n),n}function KSe(e,t,n){return n=kz(e,P(t,52),3,n),n}function WC(e,t,n){var r;e&&(r=e.i,r.c=t,r.b=n)}function GC(e,t,n){var r;e&&(r=e.i,r.d=t,r.a=n)}function qSe(e,t){(t.Bb&sq)!=0&&!e.a.o&&(e.a.o=t)}function JSe(e){return e!=null&&MCe(e)&&e.Rm!==ne}function YSe(e){return!Array.isArray(e)&&e.Rm===ne}function XSe(e){return M(e,16)?P(e,16).cd():e.Jc()}function ZSe(e){return e.Oc(V(ZJ,$B,1,e.gc(),5,1))}function KC(e,t){return bqe(Tk(e,t))?t.wi():null}function QSe(e){return e.d?e.d:e.d=e.Rd()}function qC(e){return e.c?e.c:e.c=e.Qd()}function JC(e){return e.i||=e.bc()}function $Se(e){return e.f||=e.Cc()}function eCe(e){return zB(),++W9,new hE(10,e,0)}function YC(e){iv(),this.a=0,this.b=e-1,this.c=1}function tCe(e){Kb(this),this.g=e,XT(this),this.he()}function nCe(e,t,n,r){this.a=e,VO.call(this,e,t,n,r)}function XC(e){this.a=(kSe(),Byt),this.d=P(Kw(e),50)}function ZC(e){if(e.e.j!=e.d)throw D(new gh)}function QC(e){return ib(e)?``+e:Z9e(e)}function rCe(e,t){return mS((dT(e),e),(dT(t),t))}function iCe(e,t){return RN((dT(e),e),(dT(t),t))}function $C(e,t){return Bj(Z1e(ib(e)?Yj(e):e,t))}function ew(e,t){return Bj(_6e(ib(e)?Yj(e):e,t))}function tw(e,t){return Bj(M0e(ib(e)?Yj(e):e,t))}function aCe(e,t){return Kw(t),e.a.Hd(t)&&!e.b.Hd(t)}function oCe(e,t){return Wb(e.l&t.l,e.m&t.m,e.h&t.h)}function sCe(e,t){return Wb(e.l|t.l,e.m|t.m,e.h|t.h)}function cCe(e,t){return Wb(e.l^t.l,e.m^t.m,e.h^t.h)}function nw(e,t){return ON(e,(dT(t),new Lee(t)))}function rw(e,t){return ON(e,(dT(t),new Ree(t)))}function lCe(e){return wj(),P(e,12).g.c.length!=0}function uCe(e){return wj(),P(e,12).e.c.length!=0}function dCe(e,t){return Sj(),RN(t.a.o.a,e.a.o.a)}function fCe(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function pCe(e,t,n){e.a.Mb(n)&&(e.b=!0,t.Ad(n))}function iw(e,t){if(e<0||e>=t)throw D(new Lie)}function aw(e){e.f=new xfe(e),e.i=new Sfe(e),++e.g}function ow(e){this.b=new HO(11),this.a=(qT(),e)}function sw(e){this.b=null,this.a=(qT(),e||Rbt)}function mCe(e,t){this.e=e,this.d=t&64?t|mV:t}function hCe(e,t){this.c=0,this.d=e,this.b=t|64|mV}function gCe(e){this.a=RJe(e.a),this.b=new NS(e.b)}function cw(e,t,n,r){var i=e.i;i.i=t,i.a=n,i.b=r}function _Ce(e){for(var t=e;t.f;)t=t.f;return t}function vCe(e){return e.e?qNe(e.e):null}function lw(e){return rR(),!e.Gc(c5)&&!e.Gc(u5)}function yCe(e,t,n){return sz(),vBe(e,t)&&vBe(e,n)}function bCe(e,t,n){return Mut(e,P(t,12),P(n,12))}function uw(e,t){return t.Sh()?bN(e.b,P(t,52)):t}function dw(e){return new A(e.c+e.b/2,e.d+e.a/2)}function xCe(e,t,n){t.of(n,O(N(Zw(e.b,n)))*e.a)}function SCe(e,t){t.Tg(`General 'Rotator`,1),hct(e)}function fw(e,t,n,r,i){yFe.call(this,e,t,n,r,i,-1)}function pw(e,t,n,r,i){ak.call(this,e,t,n,r,i,-1)}function F(e,t,n,r){ix.call(this,e,t,n),this.b=r}function mw(e,t,n,r){oC.call(this,e,t,n),this.b=r}function CCe(e){vde.call(this,e,!1),this.a=!1}function wCe(){Zue.call(this,`LOOKAHEAD_LAYOUT`,1)}function TCe(){Zue.call(this,`LAYOUT_NEXT_LEVEL`,3)}function ECe(e){this.b=e,Dx.call(this,e),fme(this)}function DCe(e){this.b=e,kx.call(this,e),pme(this)}function OCe(e,t){this.b=e,Bf.call(this,e.b),this.a=t}function hw(e,t,n){this.a=e,yS.call(this,t,n,5,6)}function kCe(e,t,n,r){this.b=e,ix.call(this,t,n,r)}function gw(e,t,n){vz(),this.e=e,this.d=t,this.a=n}function _w(e,t){for(dT(t);e.Ob();)t.Ad(e.Pb())}function vw(e,t){return zB(),++W9,new Lwe(e,t,0)}function yw(e,t){return zB(),++W9,new Lwe(6,e,t)}function ACe(e,t){return CS(e.substr(0,t.length),t)}function bw(e,t){return Uy(t)?LEe(e,t):!!VC(e.f,t)}function jCe(e){return Wb(~e.l&iH,~e.m&iH,~e.h&aH)}function MCe(e){return typeof e===WB||typeof e===qB}function xw(e){return new XC(new jme(e.a.length,e.a))}function Sw(e){return new jC(null,qCe(e,e.length))}function NCe(e){if(!e)throw D(new xh);return e.d}function Cw(e){var t=jM(e);return Bx(t!=null),t}function PCe(e){var t=HWe(e);return Bx(t!=null),t}function ww(e,t){var n=e.a.gc();return MNe(t,n),n-t}function Tw(e,t){return e.a.yc(t,e)==null}function Ew(e,t){return e.a.yc(t,(mx(),cY))==null}function FCe(e,t){return e>0?r.Math.log(e/t):-100}function ICe(e,t){return t?bj(e,t):!1}function Dw(e,t,n){return ij(e.a,t),_xe(e.b,t.g,n)}function LCe(e,t,n){iw(n,e.a.c.length),fO(e.a,n,t)}function I(e,t,n,r){nUe(t,n,e.length),RCe(e,t,n,r)}function RCe(e,t,n,r){var i;for(i=t;i<n;++i)e[i]=r}function zCe(e,t){var n;for(n=0;n<t;++n)e[n]=!1}function Ow(e){Vx(e.b!=-1),MO(e.c,e.a=e.b),e.b=-1}function kw(e,t,n){return tUe(e,t.g,n),ij(e.c,t),e}function BCe(e,t,n){bct(e.a,e.b,e.d,e.c,P(t,170),n)}function Aw(e,t){Spe(e,M(t,163)?t:P(t,1998).Pl())}function VCe(e,t){if(e==null)throw D(new lg(t))}function HCe(e,t,n){this.c=e,this.a=t,KT(),this.b=n}function jw(e,t){this.d=e,lx.call(this,e),this.e=t}function UCe(e,t){rh.call(this,1),this.a=e,this.b=t}function WCe(e,t){return yN(e,t)<0?-1:+(yN(e,t)>0)}function Mw(e){return e.e==0?e:new gw(-e.e,e.d,e.a)}function GCe(e){return e==pH?VJ:e==mH?`-INF`:``+e}function KCe(e){return e==pH?VJ:e==mH?`-INF`:``+e}function qCe(e,t){return PLe(t,e.length),new Axe(e,t)}function JCe(e,t,n,r,i){for(;t<n;)r[i++]=wT(e,t++)}function YCe(e,t,n){var r;for(r=0;r<t;++r)Jw(e,r,n)}function XCe(e,t,n){var r=Vk(e,t);return YD(e,t,n),r}function ZCe(e,t){return e.c?ZCe(e.c,t):$b(e.b,t),e}function Nw(e){return!e.j&&Oee(e,Rtt(e.g,e.b)),e.j}function QCe(e){return bB(e,(WN(),g8)),e.d=!0,e}function Pw(e,t){iO(e.d,t,e.b.b,e.b),++e.a,e.c=null}function $Ce(e,t){return RN(e.c.c+e.c.b,t.c.c+t.c.b)}function Fw(e){return r.Math.abs(e.d.e-e.e.e)-e.a}function ewe(e,t){return RN(e.e.a+e.f.a,t.e.a+t.f.a)}function twe(e,t){return RN(e.e.b+e.f.b,t.e.b+t.f.b)}function Iw(e,t){this.d=XWe(e),this.c=t,this.a=.5*t}function Lw(e){this.d=(dT(e),e),this.a=0,this.c=vV}function nwe(e){XEe.call(this),this.a=e,$b(e.a,this)}function rwe(e){e?v$e(e,(O_(),Cbt),``):UEe((O_(),e))}function iwe(e,t){$w(e,new qw(t.f==null?``+t.g:t.f))}function awe(e,t){$w(e,new qw(t.f==null?``+t.g:t.f))}function Rw(e,t){P_(jT(e.Mc(),new Oi),new Ite(t))}function zw(e,t){return e.Qi()&&(t=oOe(e,t)),e.Di(t)}function owe(e,t){return t=e.Wk(null,t),z$e(e,null,t)}function swe(e,t){++e.j,oL(e,e.i,t),Q4e(e,P(t,344))}function cwe(e,t,n){return P(e.c.fd(t,P(n,136)),45)}function Bw(e,t,n,r,i){lL(e,P(DO(t.k,n),16),n,r,i)}function Vw(e){e.s=NaN,e.c=NaN,J3e(e,e.e),J3e(e,e.j)}function lwe(e){e.a=null,e.e=null,aw(e.b),e.d=0,++e.c}function Hw(e){return(e.i??Rz(e),e.i).length}function Uw(){Uw=C,K7=Z4e(),(VB(),J7)&&hZe()}function uwe(){uwe=C,nbt=new pp(!1),rbt=new pp(!0)}function Ww(e){var t;return t=e.g,t||(e.g=new Mf(e))}function Gw(e){var t;return t=e.k,t||(e.k=new Nf(e))}function dwe(e){var t;return t=e.k,t||(e.k=new Nf(e))}function fwe(e){var t;return t=e.i,t||(e.i=new If(e))}function pwe(e){return e.j||=new sp(e)}function mwe(e){return e.f||=new ume(e)}function hwe(e){return e.d||=new Zf(e)}function gwe(e,t){var n=e.a.gc();return wD(t,n),n-1-t}function L(e,t,n){var r=_we(e,t);return yRe(n,r),r}function _we(e,t){var n=new QVe;return n.j=e,n.d=t,n}function Kw(e){if(e==null)throw D(new yh);return e}function qw(e){if(e==null)throw D(new yh);this.a=e}function vwe(e){die(),this.b=new ah,this.a=e,Jot(this,e)}function ywe(e){this.b=e,this.a=P(uT(this.b.a.e),227)}function bwe(){rO.call(this),this.a=!0,this.b=!0}function xwe(e,t){return sD(t,e.length+1),e.substr(t)}function Swe(e,t){return wD(t,e.c.b.c.gc()),new Wse(e,t)}function Cwe(e,t,n){return zB(),++W9,new Mke(e,t,n)}function wwe(e){return M(e,606)?e:new GDe(e)}function Jw(e,t,n){return dhe(n==null||Ynt(e,n)),e[t]=n}function Yw(e,t){return e.a+=String.fromCharCode(t),e}function Xw(e,t){return e.a+=String.fromCharCode(t),e}function Twe(e,t){return Sj(),P(CT(e,t.d),16).Ec(t)}function Zw(e,t){return Uy(t)?vE(e,t):By(VC(e.f,t))}function Ewe(e,t){return P(qC(e.a).Kd().Xb(t),45).jd()}function Dwe(e,t){return P(K(t,(PB(),o0)),15).a<e}function Owe(e,t,n,r){return n==0||(n-r)/n<e.e||t>=e.g}function Qw(e,t,n){return Uet(e,uj(e,t,n))}function kwe(e,t){console[e].call(console,t)}function $w(e,t){var n=e.a.length;Vk(e,n),YD(e,n,t)}function Awe(e,t){var n;++e.j,n=e.Cj(),e.pj(e.Xi(n,t))}function eT(e,t){for(dT(t);e.c<e.d;)e.Qe(t,e.c++)}function jwe(e,t,n){P(t.b,68),sA(t.a,new Obe(e,n,t))}function Mwe(e){for(;e.a.b!=0;)Kst(e,P(IDe(e.a),9))}function Nwe(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function Pwe(e){this.c=e,this.a=new E_,this.b=new E_}function tT(e){this.c=new Xg,this.a=new ah,this.b=e}function Fwe(e){this.b=new ah,this.a=new ah,this.c=e}function Iwe(e,t,n){eh.call(this,t),this.a=e,this.b=n}function Lwe(e,t,n){rh.call(this,e),this.a=t,this.b=n}function Rwe(e,t,n){this.a=e,Pre.call(this,t),this.b=n}function zwe(e,t,n){this.a=e,QAe.call(this,8,t,null,n)}function Bwe(e){this.a=(dT(pJ),pJ),this.b=e,new tae}function Vwe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function nT(e){Vx(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function rT(e){return r.Math.sqrt(e.a*e.a+e.b*e.b)}function Hwe(e){return M(e,103)&&(P(e,19).Bb&sq)!=0}function Uwe(e){return uT(e),M(e,472)?P(e,472):EP(e)}function Wwe(e){return e?e.dc():!e.Jc().Ob()}function Gwe(e){return z9?LEe(z9,e):!1}function iT(e){e.c?iT(e.c):(pP(e),e.d=!0)}function aT(e){e.c?e.c.Ye():(e.d=!0,G5e(e))}function Kwe(e){MTe(e.a),e.b=V(ZJ,$B,1,e.b.length,5,1)}function oT(e,t){return EI(e.c,e.f,t,e.b,e.a,e.e,e.d)}function sT(e,t){return iw(t,e.a.c.length),AC(e.a,t)}function cT(e,t){return j(e)===j(t)||e!=null&&DN(e,t)}function qwe(e,t){return Ub(t.j.c.length,e.j.c.length)}function Jwe(e){return e.c.i.c==e.d.i.c}function lT(e){return!e.a&&e.c?e.c.b:e.a}function Ywe(e){return 0>=e?new Tce:rze(e-1)}function uT(e){if(e==null)throw D(new yh);return e}function dT(e){if(e==null)throw D(new yh);return e}function Xwe(e){return!e.a&&(e.a=new ix(Q5,e,4)),e.a}function fT(e){return!e.d&&(e.d=new ix(z7,e,1)),e.d}function Zwe(e){if(e.p!=3)throw D(new vh);return e.e}function Qwe(e){if(e.p!=4)throw D(new vh);return e.e}function $we(e){if(e.p!=6)throw D(new vh);return e.f}function eTe(e){if(e.p!=3)throw D(new vh);return e.j}function tTe(e){if(e.p!=4)throw D(new vh);return e.j}function nTe(e){if(e.p!=6)throw D(new vh);return e.k}function pT(){uae.call(this),Ch(this.j.c,0),this.a=-1}function rTe(){y_.call(this,`DELAUNAY_TRIANGULATION`,0)}function iTe(){return $h(),U(k(Hyt,1),Z,537,0,[Vyt])}function aTe(e,t,n){return wM(),n.Kg(e,P(t.jd(),147))}function oTe(e,t){XO((!e.a&&(e.a=new dS(e,e)),e.a),t)}function sTe(e,t){e.c<0||e.b.b<e.c?eb(e.b,t):e.a.vf(t)}function cTe(e,t){var n=e.Fh(t);n>=0?e.hi(n):v4e(e,t)}function mT(e,t){var n=_we(``,e);return n.n=t,n.i=1,n}function hT(e){return e.c==-2&&yee(e,o1e(e.g,e.b)),e.c}function lTe(e){return!e.b&&(e.b=new Qm(new Hh)),e.b}function uTe(e,t){return cC(),new WJe(new vme(e),new _me(t))}function dTe(e){return qA(e,NV),Yk(sP(sP(5,e),e/10|0))}function gT(){gT=C,Kyt=new gle(U(k(tY,1),SV,45,0,[]))}function fTe(){g1e.call(this,IJ,($oe(),lVt)),Cot(this)}function pTe(){g1e.call(this,xJ,(e_(),SBt)),hat(this)}function mTe(e,t){Ipe.call(this,ize(Kw(e),Kw(t))),this.a=t}function hTe(e,t,n,r){g_.call(this,e,t),this.d=n,this.a=r}function _T(e,t,n,r){g_.call(this,e,n),this.a=t,this.f=r}function gTe(e,t){this.b=e,jw.call(this,e,t),fme(this)}function _Te(e,t){this.b=e,tve.call(this,e,t),pme(this)}function vT(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function vTe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function yT(e){return!e.a&&(e.a=new coe(e.c.vc())),e.a}function yTe(e){return!e.b&&(e.b=new jg(e.c.ec())),e.b}function bTe(e){return!e.d&&(e.d=new lm(e.c.Bc())),e.d}function bT(e,t){for(;t-- >0;)e=e<<1|e<0;return e}function xTe(e,t){var n=new tT(e);return ph(t.c,n),n}function STe(e,t){ISe(P(t.b,68),e),sA(t.a,new Im(e))}function CTe(e,t){e.u.Gc((rR(),c5))&&z4e(e,t),BPe(e,t)}function xT(e,t){return j(e)===j(t)||e!=null&&DN(e,t)}function ST(e,t,n){return Uy(t)?LE(e,t,n):XL(e.f,t,n)}function wTe(e){return KT(),e?e.Me():(qT(),qT(),Bbt)}function TTe(){return K_(),U(k(zFt,1),Z,477,0,[M3])}function ETe(){return q_(),U(k(VFt,1),Z,546,0,[N3])}function DTe(){return J_(),U(k(EIt,1),Z,527,0,[H3])}function CT(e,t){return CSe(e.a,t)?e.b[P(t,23).g]:null}function OTe(e){return String.fromCharCode.apply(null,e)}function wT(e,t){return sD(t,e.length),e.charCodeAt(t)}function TT(e){return e.j.c.length=0,MTe(e.c),A_e(e.a),e}function ET(e){return e.e==LJ&&Tee(e,Pqe(e.g,e.b)),e.e}function DT(e){return e.f==LJ&&Dee(e,$Xe(e.g,e.b)),e.f}function kTe(e){return!e.b&&(e.b=new xS(r7,e,4,7)),e.b}function ATe(e){return!e.c&&(e.c=new xS(r7,e,5,8)),e.c}function jTe(e){return!e.c&&(e.c=new F(m7,e,9,9)),e.c}function OT(e){return!e.n&&(e.n=new F(f7,e,1,7)),e.n}function kT(e){var t=e.b;return!t&&(e.b=t=new Pf(e)),t}function MTe(e){var t;for(t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function NTe(e,t,n){var r=P(e.d.Kb(n),162);r&&r.Nb(t)}function PTe(e,t){return new IEe(P(Kw(e),51),P(Kw(t),51))}function AT(e,t){return pP(e),new jC(e,new xFe(t,e.a))}function jT(e,t){return pP(e),new jC(e,new UNe(t,e.a))}function MT(e,t){return pP(e),new Sge(e,new VNe(t,e.a))}function NT(e,t){return pP(e),new Cge(e,new HNe(t,e.a))}function FTe(e,t){dGe(e,O(PA(t,`x`)),O(PA(t,`y`)))}function ITe(e,t){dGe(e,O(PA(t,`x`)),O(PA(t,`y`)))}function LTe(e,t){return Ice(),RN((dT(e),e),(dT(t),t))}function RTe(e,t){return RN(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function zTe(e,t){return RN(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function BTe(e){return e!=null&&S_(A7,e.toLowerCase())}function VTe(e){HS();var t=P(e.g,9);t.n.a=e.d.c+t.d.b}function PT(e){return sze(e)||null}function FT(e,t,n,r){return SBe(e,t,n,!1),NN(e,r),e}function HTe(e,t,n){oat(e.a,n),gVe(n),x6e(e.b,n),zat(t,n)}function IT(e,t,n,r){y_.call(this,e,t),this.a=n,this.b=r}function LT(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function UTe(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function WTe(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function RT(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function GTe(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function zT(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function BT(e,t,n){this.a=ldt,this.d=e,this.b=t,this.c=n}function KTe(e,t){this.b=e,this.c=t,this.a=new T_(this.b)}function qTe(e,t){this.d=(dT(e),e),this.a=16449,this.c=t}function JTe(e,t,n,r){OHe.call(this,e,n,r,!1),this.f=t}function VT(e,t,n){var r=$ct(e);return t.qi(n,r)}function HT(e){var t,n=(t=new ch,t);return hA(n,e),n}function UT(e){var t,n=(t=new ch,t);return k1e(n,e),n}function YTe(e){return!e.b&&(e.b=new F(i7,e,12,3)),e.b}function XTe(e){this.a=new ah,this.e=V(q9,X,54,e,0,2)}function ZTe(e){this.f=e,this.c=this.f.e,e.f>0&&RZe(this)}function QTe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function $Te(e,t,n,r){this.a=e,this.b=t,this.d=n,this.c=r}function eEe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function tEe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function WT(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function nEe(e,t,n,r){Lb(),BNe.call(this,t,n,r),this.a=e}function rEe(e,t,n,r){Lb(),BNe.call(this,t,n,r),this.a=e}function iEe(e,t){this.a=e,rge.call(this,e,P(e.d,16).dd(t))}function aEe(e,t){return RN(kC(e)*OC(e),kC(t)*OC(t))}function oEe(e,t){return RN(kC(e)*OC(e),kC(t)*OC(t))}function GT(e){var t;return t=e.f,t||(e.f=new p_(e,e.c))}function KT(){KT=C,EY=new ae,DY=new se,OY=new ce}function qT(){qT=C,Rbt=new ue,zbt=new ue,Bbt=new de}function JT(e){if(OP(e.d),e.d.d!=e.c)throw D(new gh)}function YT(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function sEe(e){return Bx(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function cEe(e){return e.length>0?OO(e):new ah}function XT(e){return e.n&&(e.e!==idt&&e.he(),e.j=null),e}function lEe(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function uEe(e,t,n){return $b(e.a,(sI(t,n),new g_(t,n))),e}function dEe(e,t){return P(K(e,(Y(),h$)),16).Ec(t),t}function fEe(e,t){return fR(e,P(K(t,(PB(),o0)),15),t)}function pEe(e){return uR(e)&&hg(eS(J(e,(PB(),R1))))}function mEe(e,t,n){return U_(),CGe(P(Zw(e.e,t),516),n)}function hEe(e,t,n){e.i=0,e.e=0,t!=n&&vHe(e,t,n)}function gEe(e,t,n){e.i=0,e.e=0,t!=n&&yHe(e,t,n)}function _Ee(e,t,n,r){this.b=e,this.c=r,$y.call(this,t,n)}function vEe(e,t){this.g=e,this.d=U(k(IX,1),tW,9,0,[t])}function yEe(e,t){e.d&&!e.d.a&&(Bre(e.d,t),yEe(e.d,t))}function bEe(e,t){e.e&&!e.e.a&&(Bre(e.e,t),bEe(e.e,t))}function xEe(e,t){return CN(e.j,t.s,t.c)+CN(t.e,e.s,e.c)}function SEe(e,t){return-RN(kC(e)*OC(e),kC(t)*OC(t))}function CEe(e){return P(e.jd(),147).Og()+`:`+EP(e.kd())}function wEe(){DL(this,new Sf),this.wb=(Uw(),K7),e_()}function TEe(e){this.b=new wa,this.a=e,r.Math.random()}function EEe(e){this.b=new ah,pM(this.b,this.b),this.a=e}function DEe(e,t){new E_,this.a=new Rh,this.b=e,this.c=t}function OEe(){Jh.call(this,`There is no more element.`)}function kEe(e){Tg(),r.setTimeout(function(){throw e},0)}function AEe(e){e.Tg(`No crossing minimization`,1),e.Ug()}function jEe(e,t){return WM(e),WM(t),zae(P(e,23),P(t,23))}function ZT(e,t,n){Zk(e,t,new mp(AS(n)))}function MEe(e,t,n,r,i,a){ak.call(this,e,t,n,r,i,a?-2:-1)}function NEe(e,t,n,r){xde.call(this,t,n),this.b=e,this.a=r}function PEe(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function QT(e){return!e.a&&(e.a=new F(p7,e,10,11)),e.a}function $T(e){return!e.q&&(e.q=new F(B7,e,11,10)),e.q}function R(e){return!e.s&&(e.s=new F(N7,e,21,17)),e.s}function FEe(e){return mC(e==null||MCe(e)&&e.Rm!==ne),e}function eE(e,t){if(e==null)throw D(new lg(t));return e}function IEe(e,t){Sae.call(this,new sw(e)),this.a=e,this.b=t}function LEe(e,t){return t==null?!!VC(e.f,null):TSe(e.i,t)}function REe(e){return M(e,18)?new EC(P(e,18)):Rbe(e.Jc())}function tE(e){return KT(),M(e,59)?new Mg(e):new hx(e)}function zEe(e){return Kw(e),_Ye(new XC(dx(e.a.Jc(),new f)))}function BEe(e){return new sme(e,e.e.Pd().gc()*e.c.Pd().gc())}function VEe(e){return new cme(e,e.e.Pd().gc()*e.c.Pd().gc())}function HEe(e){return e&&e.hashCode?e.hashCode():jx(e)}function UEe(e){!e||uE(e,e.ge())}function WEe(e,t){var n=Bpe(e.a,t);return n&&(t.d=null),n}function GEe(e,t,n){return e.f?e.f.cf(t,n):!1}function nE(e,t,n,r){Jw(e.c[t.g],n.g,r),Jw(e.c[n.g],t.g,r)}function KEe(e,t,n,r){Jw(e.c[t.g],t.g,n),Jw(e.b[t.g],t.g,r)}function qEe(e,t,n){return O(N(n.a))<=e&&O(N(n.b))>=t}function JEe(){this.d=new E_,this.b=new oh,this.c=new ah}function YEe(){this.b=new Dh,this.d=new E_,this.e=new Ih}function XEe(){this.c=new Xg,this.d=new Xg,this.e=new Xg}function rE(){this.a=new Rh,this.b=(qA(3,jV),new HO(3))}function ZEe(e){this.c=e,this.b=new s_(P(Kw(new Ue),51))}function QEe(e){this.c=e,this.b=new s_(P(Kw(new vt),51))}function $Ee(e){this.b=e,this.a=new s_(P(Kw(new it),51))}function iE(e,t){this.e=e,this.a=ZJ,this.b=Wet(t),this.c=t}function aE(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function eDe(e,t,n,r,i,a){this.a=e,YA.call(this,t,n,r,i,a)}function tDe(e,t,n,r,i,a){this.a=e,YA.call(this,t,n,r,i,a)}function oE(e,t,n,r,i,a,o){return new eO(e.e,t,n,r,i,a,o)}function nDe(e,t,n){return n>=0&&CS(e.substr(n,t.length),t)}function rDe(e,t){return M(t,147)&&CS(e.b,P(t,147).Og())}function iDe(e,t){return e.a?t.Dh().Jc():P(t.Dh(),72).Gi()}function aDe(e,t){var n=e.b.Oc(t);return mMe(n,e.b.gc()),n}function sE(e,t){if(e==null)throw D(new lg(t));return e}function cE(e){return e.u||=(bO(e),new Ege(e,e)),e.u}function lE(e){return P(Uj(e,16),29)||e.fi()}function uE(e,t){var n=a_(e.Pm);return t==null?n:n+`: `+t}function dE(e,t,n){return YO(t,n,e.length),e.substr(t,n-t)}function oDe(e,t){_S.call(this),KLe(this),this.a=e,this.c=t}function sDe(){Zue.call(this,`FIXED_INTEGER_RATIO_BOXES`,2)}function cDe(){return KO(),U(k(lTt,1),Z,422,0,[cTt,eQ])}function lDe(){return Jk(),U(k(STt,1),Z,419,0,[pQ,xTt])}function uDe(){return mk(),U(k(kTt,1),Z,476,0,[OTt,CQ])}function dDe(){return AD(),U(k(ZTt,1),Z,420,0,[JQ,XTt])}function fDe(){return cO(),U(k(mEt,1),Z,423,0,[$$,Q$])}function pDe(){return Sk(),U(k(JAt,1),Z,421,0,[d2,f2])}function mDe(){return sO(),U(k(zjt,1),Z,518,0,[M2,j2])}function hDe(){return TE(),U(k(Xjt,1),Z,508,0,[L2,R2])}function gDe(){return wE(),U(k(Jjt,1),Z,509,0,[I2,F2])}function _De(){return WO(),U(k(fMt,1),Z,515,0,[H2,V2])}function vDe(){return EE(),U(k(yMt,1),Z,454,0,[U2,W2])}function yDe(){return kD(),U(k(kNt,1),Z,425,0,[A4,ONt])}function bDe(){return cj(),U(k(FNt,1),Z,487,0,[M4,N4])}function xDe(){return pk(),U(k(BNt,1),Z,426,0,[zNt,z4])}function SDe(){return qk(),U(k(TSt,1),Z,424,0,[tX,nX])}function CDe(){return sj(),U(k(YCt,1),Z,502,0,[qX,KX])}function wDe(){return gO(),U(k(TFt,1),Z,478,0,[b3,wFt])}function TDe(){return GO(),U(k(UFt,1),Z,428,0,[F3,P3])}function EDe(){return sM(),U(k(kIt,1),Z,427,0,[U3,OIt])}function fE(e,t,n,r){return n>=0?e.Rh(t,n,r):e.zh(null,n,r)}function pE(e){return e.b.b==0?e.a.uf():QS(e.b)}function DDe(e){if(e.p!=5)throw D(new vh);return RC(e.f)}function ODe(e){if(e.p!=5)throw D(new vh);return RC(e.k)}function kDe(e){return j(e.a)===j((Kze(),PBt))&&_ot(e),e.a}function ADe(e,t){Lp(this,new A(e.a,e.b)),Rp(this,$S(t))}function mE(){Cae.call(this,new D_(Vj(12))),yme(!0),this.a=2}function hE(e,t,n){zB(),rh.call(this,e),this.b=t,this.a=n}function jDe(e,t,n){Lb(),eh.call(this,t),this.a=e,this.b=n}function MDe(e,t){return Zyt[e.charCodeAt(0)]??e}function gE(e,t){return eE(e,`set1`),eE(t,`set2`),new uce(e,t)}function _E(e,t){return uMe(t),bRe(e,V(q9,JV,30,t,15,1),t)}function NDe(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=DC(e.c,e.b,e.a))}function PDe(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=DC(e.c,e.b,e.a))}function FDe(e){var t=e.c.d.b;e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function IDe(e){return e.b==0?null:(Bx(e.b!=0),aA(e,e.a.a))}function vE(e,t){return t==null?By(VC(e.f,null)):cv(e.i,t)}function LDe(e,t,n,r,i){return new FL(e,(lk(),oxt),t,n,r,i)}function yE(e,t,n,r){var i=new r_e;t.a[n.g]=i,Dw(e.b,r,i)}function RDe(e,t){var n=t,r=new ve;return Ast(e,n,r),r.d}function zDe(e,t){return wS(Yx(WLe(e.f,t)),e.f.d)}function bE(e){var t;RRe(e.a),Mfe(e.a),t=new Fm(e.a),KGe(t)}function BDe(e,t){het(e,!0),sA(e.e.Pf(),new ove(e,!0,t))}function VDe(e,t){return pA(),P(K(t,(Lz(),T4)),15).a==e}function xE(e){return Math.max(Math.min(e,JB),-2147483648)|0}function HDe(e){_S.call(this),KLe(this),this.a=e,this.c=!0}function UDe(e,t,n){this.a=new ah,this.e=e,this.f=t,this.c=n}function SE(e,t,n){this.c=new ah,this.e=e,this.f=t,this.b=n}function WDe(e,t,n){this.i=new ah,this.b=e,this.g=t,this.a=n}function GDe(e){this.a=P(Kw(e),277),this.b=(KT(),new kme(e))}function CE(){CE=C;var e,t=!GKe();e=new b,ebt=t?new y:e}function KDe(){KDe=C,Txt=new Ie,Dxt=new jSe,Ext=new He}function wE(){wE=C,I2=new gue(ZH,0),F2=new gue(XH,1)}function TE(){TE=C,L2=new _ue(rU,0),R2=new _ue(`UP`,1)}function EE(){EE=C,U2=new Sue(XH,0),W2=new Sue(ZH,1)}function DE(e,t,n){KE(),e&&ST($zt,e,t),e&&ST(C7,e,n)}function qDe(e,t,n){var r=e.Fh(t);r>=0?e.$h(r,n):t5e(e,t,n)}function JDe(e,t){var n;for(Kw(t),n=e.a;n;n=n.c)t.Wd(n.g,n.i)}function OE(e,t){var n=e.q.getHours();e.q.setDate(t),Hz(e,n)}function YDe(e){var t=new o_(Vj(e.length));return rHe(t,e),t}function XDe(e){function t(){}return t.prototype=e||{},new t}function ZDe(e,t){return fVe(e,t)?(MRe(e),!0):!1}function kE(e,t){if(t==null)throw D(new yh);return aqe(e,t)}function QDe(e){if(e.ye())return null;var t=e.n;return XJ[t]}function AE(e){return e.Db>>16==3?P(e.Cb,26):null}function jE(e){return e.Db>>16==9?P(e.Cb,26):null}function $De(e){return e.Db>>16==6?P(e.Cb,85):null}function eOe(e,t){var n=e.Fh(t);return n>=0?e.Th(n):cR(e,t)}function ME(e,t,n){e.b=new mj(sHe(e,t,n).c.length)}function tOe(e){this.a=e,this.b=V(Pjt,X,2005,e.e.length,0,2)}function nOe(){this.a=new pb,this.e=new Dh,this.g=0,this.i=0}function rOe(e,t){Kb(this),this.f=t,this.g=e,XT(this),this.he()}function iOe(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function aOe(e){var t=e.d;return t=e._i(e.f),XO(e,t),t.Ob()}function oOe(e,t){var n=new Zxe(t);return s1e(n,e),new NS(n)}function sOe(e){if(e.p!=0)throw D(new vh);return Ky(e.f,0)}function cOe(e){if(e.p!=0)throw D(new vh);return Ky(e.k,0)}function lOe(e){return e.Db>>16==7?P(e.Cb,241):null}function uOe(e){return e.Db>>16==7?P(e.Cb,174):null}function dOe(e){return e.Db>>16==3?P(e.Cb,158):null}function NE(e){return e.Db>>16==6?P(e.Cb,241):null}function PE(e){return e.Db>>16==11?P(e.Cb,26):null}function FE(e){return e.Db>>16==17?P(e.Cb,29):null}function IE(e,t,n,r,i,a){return new Gk(e.e,t,e.Jj(),n,r,i,a)}function LE(e,t,n){return t==null?XL(e.f,null,n):iP(e.i,t,n)}function RE(e,t){return r.Math.abs(e)<r.Math.abs(t)?e:t}function fOe(e,t){return VS(),mx(),P(t.a,15).a<e}function pOe(e,t){return VS(),mx(),P(t.b,15).a<e}function mOe(e){return iN(),mx(),P(e.a,82).d.e!=0}function hOe(e){return!e.a&&(e.a=new F(p7,e,10,11)),e.a.i>0}function gOe(e){var t;return pP(e),t=new Dh,AT(e,new Hee(t))}function _Oe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.te(t))}function vOe(e,t){var n=e.q.getHours();e.q.setMonth(t),Hz(e,n)}function zE(e,t){e.c&&_k(e.c.g,e),e.c=t,e.c&&$b(e.c.g,e)}function BE(e,t){e.c&&_k(e.c.a,e),e.c=t,e.c&&$b(e.c.a,e)}function VE(e,t){e.d&&_k(e.d.e,e),e.d=t,e.d&&$b(e.d.e,e)}function HE(e,t){e.i&&_k(e.i.j,e),e.i=t,e.i&&$b(e.i.j,e)}function yOe(e,t,n){this.a=t,this.c=e,this.b=(Kw(n),new NS(n))}function bOe(e,t,n){this.a=t,this.c=e,this.b=(Kw(n),new NS(n))}function xOe(e,t){this.a=e,this.c=qb(this.a),this.b=new aE(t)}function UE(e,t){if(e<0||e>t)throw D(new ig(Bdt+e+Vdt+t))}function SOe(){SOe=C,vjt=UC(new pT,(bL(),bX),(RB(),hZ))}function COe(){COe=C,yjt=UC(new pT,(bL(),bX),(RB(),hZ))}function wOe(){wOe=C,pjt=UC(new pT,(bL(),bX),(RB(),hZ))}function TOe(){TOe=C,mjt=UC(new pT,(bL(),bX),(RB(),hZ))}function EOe(){EOe=C,hjt=UC(new pT,(bL(),bX),(RB(),hZ))}function DOe(){DOe=C,gjt=UC(new pT,(bL(),bX),(RB(),hZ))}function OOe(){OOe=C,Vjt=bC(new pT,(bL(),bX),(RB(),$X))}function WE(){WE=C,Wjt=bC(new pT,(bL(),bX),(RB(),$X))}function kOe(){kOe=C,qjt=bC(new pT,(bL(),bX),(RB(),$X))}function GE(){GE=C,Qjt=bC(new pT,(bL(),bX),(RB(),$X))}function AOe(){AOe=C,jNt=UC(new pT,(kI(),q2),(xz(),TMt))}function jOe(){jOe=C,Uyt=dN(($h(),U(k(Hyt,1),Z,537,0,[Vyt])))}function KE(){KE=C,$zt=new oh,C7=new oh,Dde(Ubt,new rl)}function MOe(e,t){t.c!=null&&$w(e,new qw(t.c))}function NOe(e,t){jwe(e,e.b,e.c),P(e.b.b,68),t&&P(t.b,68).b}function qE(e,t){M(e.Cb,184)&&(P(e.Cb,184).tb=null),hj(e,t)}function JE(e,t){M(e.Cb,88)&&$L(bO(P(e.Cb,88)),4),hj(e,t)}function POe(e,t){lGe(e,t),M(e.Cb,88)&&$L(bO(P(e.Cb,88)),2)}function FOe(e,t){return RN(P(e.c,65).c.e.b,P(t.c,65).c.e.b)}function IOe(e,t){return RN(P(e.c,65).c.e.a,P(t.c,65).c.e.a)}function YE(e,t){return rv(),Lk(t)?new xC(t,e):new Ly(t,e)}function XE(e,t){e.a&&_k(e.a.k,e),e.a=t,e.a&&$b(e.a.k,e)}function ZE(e,t){e.b&&_k(e.b.f,e),e.b=t,e.b&&$b(e.b.f,e)}function QE(e,t,n){EWe(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function $E(e){this.c=new E_,this.b=e.b,this.d=e.c,this.a=e.a}function eD(e){this.a=r.Math.cos(e),this.b=r.Math.sin(e)}function tD(e,t,n,r){this.c=e,this.d=r,XE(this,t),ZE(this,n)}function nD(e,t){this.b=(dT(e),e),this.a=(t&hH)==0?t|64|mV:t}function LOe(e,t){Qpe(e,RC(uD(ew(t,24),NH)),RC(uD(t,NH)))}function rD(e){return vz(),yN(e,0)>=0?UP(e):Mw(UP(gk(e)))}function ROe(){return tN(),U(k(NY,1),Z,130,0,[_xt,MY,vxt])}function zOe(e,t,n){return new FL(e,(lk(),axt),null,!1,t,n)}function BOe(e,t,n){return new FL(e,(lk(),sxt),t,n,null,!1)}function VOe(e,t,n){var r;EWe(t,n,e.c.length),r=n-t,gse(e.c,t,r)}function HOe(e,t){var n=P(xN(GT(e.a),t),18);return n?n.gc():0}function UOe(e){var t;return pP(e),t=(qT(),qT(),zbt),$k(e,t)}function WOe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function GOe(e){var t,n=(e_(),t=new ch,t);return hA(n,e),n}function KOe(e){var t,n=(e_(),t=new ch,t);return hA(n,e),n}function iD(e){return U_(),M(e.g,9)?P(e.g,9):null}function qOe(){return lj(),U(k(LZ,1),Z,368,0,[IZ,FZ,PZ])}function JOe(){return HA(),U(k(gTt,1),Z,350,0,[hTt,iQ,rQ])}function YOe(){return CM(),U(k(wTt,1),Z,449,0,[hQ,mQ,gQ])}function XOe(){return rM(),U(k(VQ,1),Z,302,0,[zQ,BQ,RQ])}function ZOe(){return SM(),U(k(WQ,1),Z,329,0,[UQ,KTt,HQ])}function QOe(){return Nk(),U(k(JTt,1),Z,315,0,[KQ,qQ,GQ])}function $Oe(){return mN(),U(k(NAt,1),Z,352,0,[G0,MAt,K0])}function eke(){return VA(),U(k(XAt,1),Z,452,0,[h2,p2,m2])}function tke(){return iM(),U(k(ejt,1),Z,381,0,[QAt,g2,$At])}function nke(){return eN(),U(k(njt,1),Z,348,0,[y2,_2,v2])}function rke(){return hN(),U(k(ajt,1),Z,349,0,[b2,ijt,x2])}function ike(){return BA(),U(k(ljt,1),Z,351,0,[cjt,S2,sjt])}function ake(){return aM(),U(k(djt,1),Z,382,0,[w2,T2,C2])}function oke(){return xk(),U(k(fCt,1),Z,384,0,[mX,pX,hX])}function ske(){return uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])}function cke(){return uk(),U(k(Pxt,1),Z,461,0,[HY,VY,UY])}function lke(){return Mk(),U(k(Lxt,1),Z,462,0,[KY,GY,WY])}function uke(){return QM(),U(k(LMt,1),Z,385,0,[IMt,Q2,Z2])}function dke(){return $M(),U(k(WNt,1),Z,386,0,[B4,HNt,UNt])}function fke(){return SP(),U(k(zPt,1),Z,387,0,[RPt,d3,LPt])}function pke(){return nM(),U(k(kPt,1),Z,303,0,[J4,OPt,DPt])}function mke(){return $P(),U(k(jPt,1),Z,436,0,[Y4,X4,Z4])}function hke(){return zN(),U(k(NFt,1),Z,430,0,[jFt,MFt,S3])}function gke(){return BN(),U(k(j3,1),Z,435,0,[O3,k3,A3])}function _ke(){return hk(),U(k(kFt,1),Z,429,0,[x3,OFt,DFt])}function vke(){return dA(),U(k(vRt,1),Z,279,0,[C8,w8,T8])}function yke(){return nN(),U(k(PRt,1),Z,347,0,[P8,N8,F8])}function bke(){return vA(),U(k(ezt,1),Z,300,0,[F5,QRt,$Rt])}function xke(){return VN(),U(k(szt,1),Z,281,0,[ozt,Y5,X5])}function aD(e){return PM(U(k(o6,1),X,8,0,[e.i.n,e.n,e.a]))}function Ske(e,t,n){var r=new mb(n.d);wS(r,e),dGe(t,r.a,r.b)}function Cke(e,t,n){var r=new Xa;r.b=t,r.a=n,++t.b,$b(e.d,r)}function wke(e,t,n){var r=Jz(e,t,!1);return r.b<=t&&r.a<=n}function Tke(e){if(e.p!=2)throw D(new vh);return RC(e.f)&VV}function Eke(e){if(e.p!=2)throw D(new vh);return RC(e.k)&VV}function oD(e,t){if(e<0||e>=t)throw D(new ig(Bdt+e+Vdt+t))}function sD(e,t){if(e<0||e>=t)throw D(new ooe(Bdt+e+Vdt+t))}function Dke(e){return e.Db>>16==6?P(Z3e(e),241):null}function Oke(e,t){var n,r=ww(e,t);return n=e.a.dd(r),new sce(e,n)}function kke(e,t){var n=(dT(e),e).g;return uhe(!!n),dT(t),n(t)}function Ake(e){return e.a==(PO(),h9)&&xee(e,iet(e.g,e.b)),e.a}function cD(e){return e.d==(PO(),h9)&&Cee(e,qrt(e.g,e.b)),e.d}function jke(e,t){xae.call(this,new D_(Vj(e))),qA(t,Zut),this.a=t}function Mke(e,t,n){rh.call(this,25),this.b=e,this.a=t,this.c=n}function lD(e){zB(),rh.call(this,e),this.c=!1,this.a=!1}function Nke(e,t){gw.call(this,1,2,U(k(q9,1),JV,30,15,[e,t]))}function uD(e,t){return Bj(oCe(ib(e)?Yj(e):e,ib(t)?Yj(t):t))}function dD(e,t){return Bj(sCe(ib(e)?Yj(e):e,ib(t)?Yj(t):t))}function fD(e,t){return Bj(cCe(ib(e)?Yj(e):e,ib(t)?Yj(t):t))}function Pke(e,t){return wSe(e.a,t)?_xe(e.b,P(t,23).g,null):null}function pD(e){return Kw(e),M(e,18)?new NS(P(e,18)):eC(e.Jc())}function mD(e){wC(),this.a=(KT(),M(e,59)?new Mg(e):new hx(e))}function Fke(e){var t=P(dC(e.b),10);return new FS(e.a,t,e.c)}function Ike(e,t){plt(e,t,O(N(e.a.mf((LB(),s8)))))}function Lke(e,t){return Kk(),e.c==t.c?RN(t.d,e.d):RN(e.c,t.c)}function Rke(e,t){return Kk(),e.c==t.c?RN(e.d,t.d):RN(e.c,t.c)}function zke(e,t){return Kk(),e.c==t.c?RN(e.d,t.d):RN(t.c,e.c)}function Bke(e,t){return Kk(),e.c==t.c?RN(t.d,e.d):RN(t.c,e.c)}function Vke(e,t){e.b|=t.b,e.c|=t.c,e.d|=t.d,e.a|=t.a}function z(e){return Bx(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function Hke(e){return e.b==null||e.b.length==0?`n_`+e.a:`n_`+e.b}function hD(e){return P(gF(e,V(IX,tW,9,e.c.length,0,1)),199)}function Uke(e){return sP($C(Hj(FR(e,32)),32),Hj(FR(e,32)))}function Wke(e,t){return e&&e.equals?e.equals(t):j(e)===j(t)}function gD(e){return e.c==null||e.c.length==0?`n_`+e.g:`n_`+e.c}function Gke(e,t){for(var n=e+``;n.length<t;)n=`0`+n;return n}function Kke(e,t){var n=P(Zw(e.g,t),60);sA(t.d,new Yle(e,n))}function qke(e,t){var n=KYe(e),r=KYe(t);return n<r?-1:+(n>r)}function Jke(e,t){var n=Ek(t);return P(Zw(e.c,n),15).a}function _D(e,t,n){var r=e.d[t.p];e.d[t.p]=e.d[n.p],e.d[n.p]=r}function Yke(e,t,n){var r;e.n&&t&&n&&(r=new Uc,$b(e.e,r))}function vD(e,t){if(Tw(e.a,t),t.d)throw D(new Jh(Wdt));t.d=e}function Xke(e,t){this.a=new ah,this.d=new ah,this.f=e,this.c=t}function Zke(){wM(),this.b=new oh,this.a=new oh,this.c=new ah}function Qke(){this.c=new cpe,this.a=new LNe,this.b=new jie,Vce()}function $ke(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function eAe(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function tAe(e,t,n,r,i,a){uRe.call(this,e,t,n,r,i),a&&(this.o=-2)}function nAe(e,t,n,r,i,a){dRe.call(this,e,t,n,r,i),a&&(this.o=-2)}function rAe(e,t,n,r,i,a){dNe.call(this,e,t,n,r,i),a&&(this.o=-2)}function iAe(e,t,n,r,i,a){mRe.call(this,e,t,n,r,i),a&&(this.o=-2)}function aAe(e,t,n,r,i,a){fNe.call(this,e,t,n,r,i),a&&(this.o=-2)}function oAe(e,t,n,r,i,a){fRe.call(this,e,t,n,r,i),a&&(this.o=-2)}function sAe(e,t,n,r,i,a){pRe.call(this,e,t,n,r,i),a&&(this.o=-2)}function cAe(e,t,n,r,i,a){pNe.call(this,e,t,n,r,i),a&&(this.o=-2)}function lAe(e,t,n,r){eh.call(this,n),this.b=e,this.c=t,this.d=r}function uAe(e,t){this.f=e,this.a=(PO(),m9),this.c=m9,this.b=t}function dAe(e,t){this.g=e,this.d=(PO(),h9),this.a=h9,this.b=t}function fAe(e,t){!e.c&&(e.c=new Nj(e,0)),tB(e.c,(dB(),T9),t)}function pAe(e,t){return s8e(e,t,M(t,103)&&(P(t,19).Bb&_H)!=0)}function mAe(e,t){return WCe(Hj(e.q.getTime()),Hj(t.q.getTime()))}function hAe(e){return SC(e.e.Pd().gc()*e.c.Pd().gc(),16,new Rf(e))}function gAe(e){return!!e.u&&KD(e.u.a).i!=0&&!(e.n&&nI(e.n))}function _Ae(e){return!!e.a&&Ck(e.a.a).i!=0&&!(e.b&&rI(e.b))}function vAe(e,t){return t==0?!!e.o&&e.o.f!=0:EF(e,t)}function yAe(e){return Bx(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function yD(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function bAe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(``+e.e):e.c}function bD(e,t){this.a=e,dm.call(this,e),UE(t,e.gc()),this.b=t}function xAe(e){this.a=V(ZJ,$B,1,YVe(r.Math.max(8,e))<<1,5,1)}function SAe(e){Fze.call(this,e,(lk(),ixt),null,!1,null,!1)}function CAe(e,t){var n=1-t;return e.a[n]=fj(e.a[n],n),fj(e,t)}function wAe(e,t){var n,r=uD(e,xH);return n=$C(t,32),dD(n,r)}function TAe(e,t,n){var r=P(e.Zb().xc(t),18);return!!r&&r.Gc(n)}function EAe(e,t,n){var r=P(e.Zb().xc(t),18);return!!r&&r.Kc(n)}function DAe(e,t,n){bXe(new yOe((Kw(e),new NS(e)),t,n))}function xD(e,t,n){xXe(new bOe((Kw(e),new NS(e)),t,n))}function OAe(e,t,n){e.a=t,e.c=n,e.b.a.$b(),YT(e.d),Ch(e.e.a.c,0)}function kAe(e,t){var n;e.e=new pae,n=iz(t),Vb(n,e.c),I9e(e,n,0)}function AAe(e,t){return new JS(t,Ohe(qb(t.e),e,e),(mx(),!0))}function jAe(e,t){return fA(),P(K(t,(Lz(),S4)),15).a>=e.gc()}function MAe(e){return WE(),!xO(e)&&!(!xO(e)&&e.c.i.c==e.d.i.c)}function SD(e){return P(gF(e,V(FX,eW,17,e.c.length,0,1)),323)}function NAe(e){RGe((!e.a&&(e.a=new F(p7,e,10,11)),e.a),new Ms)}function PAe(){var e,t=(n=(e=new ch,e),n),n;return $b(JBt,t),t}function CD(e,t,n,r,i,a){return SBe(e,t,n,a),AWe(e,r),jWe(e,i),e}function FAe(e,t,n,r){return e.a+=``+dE(t==null?eV:EP(t),n,r),e}function wD(e,t){if(e<0||e>=t)throw D(new ig($2e(e,t)));return e}function IAe(e,t,n){if(e<0||t<e||t>n)throw D(new ig(H0e(e,t,n)))}function B(e,t,n,r){var i=new lc;i.a=t,i.b=n,i.c=r,pC(e.b,i)}function TD(e,t,n,r){var i=new lc;i.a=t,i.b=n,i.c=r,pC(e.a,i)}function LAe(e,t,n){var r=Rqe();try{return Mge(e,t,n)}finally{SNe(r)}}function ED(e){var t;return ib(e)?(t=e,t==-0?0:t):PIe(e)}function RAe(e,t){return M(t,45)?uI(e.a,P(t,45)):!1}function zAe(e,t){return M(t,45)?uI(e.a,P(t,45)):!1}function BAe(e,t){return M(t,45)?uI(e.a,P(t,45)):!1}function VAe(e,t){return e.a<=e.b?(t.Bd(e.a++),!0):!1}function HAe(e){return kT(e).dc()?!1:(spe(e,new g),!0)}function UAe(e){var t;return iT(e),t=new fe,c_(e.a,new Vee(t)),t}function DD(e){var t;return iT(e),t=new pe,c_(e.a,new Tm(t)),t}function WAe(e){if(!(`stack`in e))try{throw e}catch{}return e}function OD(e){return new HO((qA(e,NV),Yk(sP(sP(5,e),e/10|0))))}function GAe(e){return P(gF(e,V(KCt,Ift,12,e.c.length,0,1)),2004)}function KAe(e){return SC(e.e.Pd().gc()*e.c.Pd().gc(),273,new Lf(e))}function qAe(){qAe=C,BFt=dN((K_(),U(k(zFt,1),Z,477,0,[M3])))}function JAe(){JAe=C,HFt=dN((q_(),U(k(VFt,1),Z,546,0,[N3])))}function YAe(){YAe=C,DIt=dN((J_(),U(k(EIt,1),Z,527,0,[H3])))}function XAe(){XAe=C,Ejt=uTe(G(1),G(4)),Tjt=uTe(G(1),G(2))}function kD(){kD=C,A4=new Oue(`DFS`,0),ONt=new Oue(`BFS`,1)}function AD(){AD=C,JQ=new oue(YH,0),XTt=new oue(`TOP_LEFT`,1)}function ZAe(e,t,n){this.d=new qte(this),this.e=e,this.i=t,this.f=n}function QAe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function $Ae(e,t,n){e.d&&_k(e.d.e,e),e.d=t,e.d&&BC(e.d.e,n,e)}function eje(e,t,n){var r=nF(n);return yz(e.n,r,t),yz(e.o,t,n),t}function jD(e,t){var n=Vk(e,t),r=null;return n&&(r=n.qe()),r}function MD(e,t){var n=kE(e,t),r=null;return n&&(r=n.qe()),r}function ND(e,t){var n=kE(e,t),r=null;return n&&(r=n.ne()),r}function PD(e,t){var n=kE(e,t),r=null;return n&&(r=X0e(n)),r}function FD(e,t){Ilt(t,e),ixe(e.d),ixe(P(K(e,(PB(),J1)),213))}function ID(e,t){Llt(t,e),axe(e.d),axe(P(K(e,(PB(),J1)),213))}function LD(e,t){dT(t),e.b=e.b-1&e.a.length-1,Jw(e.a,e.b,t),sXe(e)}function tje(e,t){dT(t),Jw(e.a,e.c,t),e.c=e.c+1&e.a.length-1,sXe(e)}function RD(e){return Bx(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function nje(e){if(e.e.g!=e.b)throw D(new gh);return!!e.c&&e.d>0}function zD(e){return M(e,18)?P(e,18).dc():!e.Jc().Ob()}function rje(e){return new nD(JLe(P(e.a.kd(),18).gc(),e.a.jd()),16)}function ije(e){var t=e.Dh();this.a=M(t,72)?P(t,72).Gi():t.Jc()}function aje(e,t){var n=P(zk(e.b,t),66);return!n&&(n=new E_),n}function oje(e,t){var n=t.a;zE(n,t.c.d),VE(n,t.d.d),kj(n.a,e.n)}function sje(e,t,n,r){return M(n,59)?new ohe(e,t,n,r):new nCe(e,t,n,r)}function cje(){return oM(),U(k(Xwt,1),Z,413,0,[TZ,EZ,DZ,OZ])}function lje(){return tM(),U(k(uSt,1),Z,409,0,[ZY,JY,YY,XY])}function uje(){return xM(),U(k(CCt,1),Z,408,0,[EX,kX,DX,OX])}function dje(){return lk(),U(k(AY,1),Z,309,0,[ixt,axt,oxt,sxt])}function fje(){return dF(),U(k(MCt,1),Z,383,0,[NX,jCt,jX,MX])}function pje(){return bM(),U(k(Iwt,1),Z,367,0,[wZ,SZ,CZ,xZ])}function mje(){return xP(),U(k(pTt,1),Z,301,0,[nQ,dTt,tQ,fTt])}function hje(){return HF(),U(k(Z0,1),Z,203,0,[Y0,X0,J0,q0])}function gje(){return eF(),U(k(KAt,1),Z,269,0,[c2,GAt,l2,u2])}function _je(){return pN(),U(k(Mjt,1),Z,404,0,[E2,O2,k2,D2])}function vje(e){var t;return e.j==(wB(),j5)&&(t=K3e(e),wx(t,p5))}function yje(){return kI(),U(k(xMt,1),Z,398,0,[G2,K2,q2,J2])}function bje(e,t){return P(yx(nw(P(DO(e.k,t),16).Mc(),KZ)),113)}function xje(e,t){return P(yx(rw(P(DO(e.k,t),16).Mc(),KZ)),113)}function Sje(e,t){return tx(new A(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function Cje(){return gL(),U(k(NPt,1),Z,401,0,[t3,Q4,e3,$4])}function wje(){return dI(),U(k(TPt,1),Z,354,0,[q4,CPt,wPt,SPt])}function Tje(){return ZM(),U(k(ENt,1),Z,353,0,[k4,D4,O4,E4])}function Eje(){return HN(),U(k(gRt,1),Z,278,0,[S8,x8,mRt,hRt])}function Dje(){return UN(),U(k(A8,1),Z,222,0,[k8,D8,E8,O8])}function Oje(){return AI(),U(k(LRt,1),Z,292,0,[z8,I8,L8,R8])}function kje(){return lO(),U(k(Z5,1),Z,288,0,[lzt,fzt,uzt,dzt])}function Aje(){return tF(),U(k(B5,1),Z,380,0,[R5,z5,L5,I5])}function jje(){return CP(),U(k(vzt,1),Z,326,0,[_zt,mzt,gzt,hzt])}function Mje(){return XM(),U(k(Tzt,1),Z,407,0,[Szt,Czt,xzt,wzt])}function BD(e,t,n){return t<0?cR(e,n):P(n,69).uk().zk(e,e.ei(),t)}function Nje(e,t,n){var r=nF(n);return yz(e.f,r,t),ST(e.g,t,n),t}function Pje(e,t,n){var r=nF(n);return yz(e.p,r,t),ST(e.q,t,n),t}function Fje(e){var t=($g(),n=new Jc,n),n;return e&&zR(t,e),t}function Ije(e){var t=e.$i(e.i);return e.i>0&&Fz(e.g,0,t,0,e.i),t}function VD(e){return U_(),M(e.g,156)?P(e.g,156):null}function Lje(e){return KE(),bw($zt,e)?P(Zw($zt,e),342).Pg():null}function Rje(e){e.a=null,e.e=null,Ch(e.b.c,0),Ch(e.f.c,0),e.c=null}function zje(e,t){var n;for(n=e.j.c.length;n<t;n++)$b(e.j,e.Mg())}function Bje(e,t,n,r){var i=r[t.g][n.g];return O(N(K(e.a,i)))}function Vje(e,t){ev();var n=P(Zw(D7,e),58);return!n||n.dk(t)}function Hje(e){if(e.p!=1)throw D(new vh);return RC(e.f)<<24>>24}function Uje(e){if(e.p!=1)throw D(new vh);return RC(e.k)<<24>>24}function Wje(e){if(e.p!=7)throw D(new vh);return RC(e.k)<<16>>16}function Gje(e){if(e.p!=7)throw D(new vh);return RC(e.f)<<16>>16}function HD(e,t){return t.e==0||e.e==0?SY:(cz(),$5e(e,t))}function Kje(e,t){return j(t)===j(e)?`(this Map)`:t==null?eV:EP(t)}function qje(e,t,n){return iCe(N(By(VC(e.f,t))),N(By(VC(e.f,n))))}function Jje(e,t,n){var r=P(Zw(e.g,n),60);$b(e.a.c,new My(t,r))}function Yje(e,t){var n=new kg;return e.Ed(n),n.a+=`..`,t.Fd(n),n.a}function UD(e){for(var t=0;e.Ob();)e.Pb(),t=sP(t,1);return Yk(t)}function Xje(e,t,n,r,i){$b(t,z2e(i,N8e(i,n,r))),I1e(e,i,t)}function Zje(e,t,n){e.i=0,e.e=0,t!=n&&(yHe(e,t,n),vHe(e,t,n))}function Qje(e,t,n,r){this.e=null,this.c=e,this.d=t,this.a=n,this.b=r}function $je(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function eMe(e,t){XEe.call(this),this.a=e,this.b=t,$b(this.a.b,this)}function WD(e,t){vz(),gw.call(this,e,1,U(k(q9,1),JV,30,15,[t]))}function tMe(e,t,n){return Uz(e,t,n,M(t,103)&&(P(t,19).Bb&_H)!=0)}function GD(e,t,n){return zz(e,t,n,M(t,103)&&(P(t,19).Bb&_H)!=0)}function nMe(e,t,n){return b8e(e,t,n,M(t,103)&&(P(t,19).Bb&_H)!=0)}function rMe(e,t){return e==(MR(),HX)&&t==HX?4:e==HX||t==HX?8:32}function iMe(e,t){return P(t==null?By(VC(e.f,null)):cv(e.i,t),290)}function aMe(e,t){for(var n=t;n;)Jx(e,n.i,n.j),n=PE(n);return e}function KD(e){return e.n||(bO(e),e.n=new USe(e,z7,e),cE(e)),e.n}function qD(e,t){rv();var n=P(e,69).tk();return s0e(n,t),n.vl(t)}function JD(e){return Bx(e.a<e.c.a.length),e.b=e.a,UIe(e),e.c.b[e.b]}function oMe(e){e.b!=e.c&&(e.a=V(ZJ,$B,1,8,5,1),e.b=0,e.c=0)}function sMe(e,t){var n=e.q.getHours();e.q.setFullYear(t+qV),Hz(e,n)}function cMe(e,t){IM();var n=e.j.g-t.j.g;return n==0?0:n}function lMe(e,t,n){if(n){var r=n.me();e.a[t]=r(n)}else delete e.a[t]}function YD(e,t,n){n=n?n.me()(n):void 0,e.a[t]=n}function uMe(e){if(e<0)throw D(new Jae(`Negative array size: `+e))}function dMe(e){M(e,206)&&!hg(eS(e.mf((LB(),H6))))&&zrt(P(e,26))}function XD(e){return e.c&&e.d?Hke(e.c)+`->`+Hke(e.d):`e_`+jx(e)}function fMe(e,t){var n;return n=t==null?By(VC(e.f,t)):vE(e,t),qy(n)}function pMe(e,t){var n;return n=t==null?By(VC(e.f,t)):vE(e,t),qy(n)}function mMe(e,t){var n;for(n=0;n<t;++n)Jw(e,n,new mm(P(e[n],45)))}function hMe(e,t){return O_(),XO(R(e.a),t)}function gMe(e,t){return O_(),XO(R(e.a),t)}function ZD(e,t){zB(),rh.call(this,e),this.a=t,this.c=-1,this.b=-1}function QD(e,t,n,r){$ke.call(this,1,n,r),this.c=e,this.b=t}function $D(e,t,n,r){eAe.call(this,1,n,r),this.c=e,this.b=t}function eO(e,t,n,r,i,a,o){YA.call(this,t,r,i,a,o),this.c=e,this.a=n}function tO(e,t,n){this.e=e,this.a=ZJ,this.b=Wet(t),this.c=t,this.d=n}function nO(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function _Me(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function vMe(e){this.c=e,this.a=P(LI(e),159),this.b=this.a.hk().ti()}function rO(){oh.call(this),fhe(this),this.d.b=this.d,this.d.a=this.d}function iO(e,t,n,r){var i=new me;i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function aO(e,t){var n;return t.b.Kb(dIe(e,t.c.Ve(),(n=new Om(t),n)))}function yMe(e,t){var n;return uMe(t),n=e.slice(0,t),n.length=t,jFe(n,e)}function oO(e){var t;return e?new Zxe(e):(t=new pb,Oze(t,e),t)}function bMe(e,t){var n;for(n=e.d-1;n>=0&&e.a[n]===t[n];n--);return n<0}function xMe(e,t){var n,r=!1;do n=GVe(e,t),r|=n;while(n);return r}function sO(){sO=C,M2=new fue(`UPPER`,0),j2=new fue(`LOWER`,1)}function cO(){cO=C,$$=new sue(YU,0),Q$=new sue(`ALTERNATING`,1)}function lO(){lO=C,lzt=new Hxe,fzt=new wCe,uzt=new sDe,dzt=new TCe}function SMe(){SMe=C,uTt=dN((KO(),U(k(lTt,1),Z,422,0,[cTt,eQ])))}function CMe(){CMe=C,CTt=dN((Jk(),U(k(STt,1),Z,419,0,[pQ,xTt])))}function wMe(){wMe=C,ATt=dN((mk(),U(k(kTt,1),Z,476,0,[OTt,CQ])))}function TMe(){TMe=C,QTt=dN((AD(),U(k(ZTt,1),Z,420,0,[JQ,XTt])))}function EMe(){EMe=C,hEt=dN((cO(),U(k(mEt,1),Z,423,0,[$$,Q$])))}function DMe(){DMe=C,YAt=dN((Sk(),U(k(JAt,1),Z,421,0,[d2,f2])))}function OMe(){OMe=C,Bjt=dN((sO(),U(k(zjt,1),Z,518,0,[M2,j2])))}function kMe(){kMe=C,Zjt=dN((TE(),U(k(Xjt,1),Z,508,0,[L2,R2])))}function AMe(){AMe=C,Yjt=dN((wE(),U(k(Jjt,1),Z,509,0,[I2,F2])))}function jMe(){jMe=C,pMt=dN((WO(),U(k(fMt,1),Z,515,0,[H2,V2])))}function MMe(){MMe=C,bMt=dN((EE(),U(k(yMt,1),Z,454,0,[U2,W2])))}function NMe(){NMe=C,ANt=dN((kD(),U(k(kNt,1),Z,425,0,[A4,ONt])))}function PMe(){PMe=C,INt=dN((cj(),U(k(FNt,1),Z,487,0,[M4,N4])))}function FMe(){FMe=C,VNt=dN((pk(),U(k(BNt,1),Z,426,0,[zNt,z4])))}function IMe(){IMe=C,EFt=dN((gO(),U(k(TFt,1),Z,478,0,[b3,wFt])))}function LMe(){LMe=C,WFt=dN((GO(),U(k(UFt,1),Z,428,0,[F3,P3])))}function RMe(){RMe=C,AIt=dN((sM(),U(k(kIt,1),Z,427,0,[U3,OIt])))}function zMe(){zMe=C,ESt=dN((qk(),U(k(TSt,1),Z,424,0,[tX,nX])))}function BMe(){BMe=C,XCt=dN((sj(),U(k(YCt,1),Z,502,0,[qX,KX])))}function uO(e){A$e(),Qpe(this,RC(uD(ew(e,24),NH)),RC(uD(e,NH)))}function VMe(e){return(e.k==(MR(),HX)||e.k==RX)&&Kx(e,(Y(),n$))}function HMe(e,t,n){return P(t==null?XL(e.f,null,n):iP(e.i,t,n),290)}function UMe(){return WN(),U(k(b8,1),Z,86,0,[v8,_8,g8,h8,y8])}function WMe(){return wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])}function GMe(e){return Tg(),function(){return LAe(e,this,arguments)}}function KMe(e,t){var n=t.jd();return new g_(n,e.e.pc(n,P(t.kd(),18)))}function qMe(e,t){var n=t.jd(),r=e.De(n);return!!r&&xT(r.e,t.kd())}function dO(e,t){var n,r;for(dT(t),r=e.Jc();r.Ob();)n=r.Pb(),t.Ad(n)}function fO(e,t,n){var r=(oD(t,e.c.length),e.c[t]);return e.c[t]=n,r}function JMe(e,t){for(var n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function YMe(e,t){for(var n=t;n;)Jx(e,-n.i,-n.j),n=PE(n);return e}function XMe(e,t){return e.a.get(t)??V(ZJ,$B,1,0,5,1)}function pO(e,t){return(pP(e),u_(new jC(e,new xFe(t,e.a)))).zd(PY)}function ZMe(){return bL(),U(k(_Ct,1),Z,363,0,[gX,_X,vX,yX,bX])}function QMe(e){xut(),Qre(this),this.a=new E_,FHe(this,e),pC(this.a,e)}function $Me(){Mb(this),this.b=new A(pH,pH),this.a=new A(mH,mH)}function mO(e){hO(),!jY&&(this.c=e,this.e=!0,this.a=new ah)}function hO(){hO=C,jY=!0,pxt=!1,mxt=!1,gxt=!1,hxt=!1}function gO(){gO=C,b3=new Fue(Qft,0),wFt=new Fue(`TARGET_WIDTH`,1)}function eNe(){return aL(),U(k(LNt,1),Z,364,0,[L4,P4,R4,F4,I4])}function tNe(){return rL(),U(k(Qwt,1),Z,371,0,[AZ,MZ,NZ,jZ,kZ])}function nNe(){return PF(),U(k(LAt,1),Z,328,0,[IAt,$0,e2,Q0,t2])}function rNe(){return bP(),U(k(fEt,1),Z,165,0,[Z$,q$,J$,Y$,X$])}function iNe(){return VR(),U(k(IFt,1),Z,369,0,[w3,C3,E3,T3,D3])}function aNe(){return ML(),U(k(JFt,1),Z,330,0,[GFt,I3,qFt,L3,KFt])}function oNe(){return CF(),U(k(Z3,1),Z,160,0,[Y3,J3,K3,X3,q3])}function sNe(){return wF(),U(k($8,1),Z,257,0,[Z8,Q8,BRt,X8,VRt])}function _O(e,t){return P(zk(e.d,t),21)||P(zk(e.e,t),21)}function cNe(e){this.b=e,lx.call(this,e),this.a=P(Uj(this.b.a,4),129)}function lNe(e){this.b=e,Ox.call(this,e),this.a=P(Uj(this.b.a,4),129)}function uNe(e,t){this.c=0,this.b=t,Ude.call(this,e,17493),this.a=this.c}function vO(e,t,n,r,i){RNe.call(this,t,r,i),this.c=e,this.b=n}function dNe(e,t,n,r,i){$ke.call(this,t,r,i),this.c=e,this.a=n}function fNe(e,t,n,r,i){eAe.call(this,t,r,i),this.c=e,this.a=n}function pNe(e,t,n,r,i){RNe.call(this,t,r,i),this.c=e,this.a=n}function mNe(e,t,n){e.a.c.length=0,Sot(e,t,n),e.a.c.length==0||hnt(e,t)}function yO(e){e.i=0,sv(e.b,null),sv(e.c,null),e.a=null,e.e=null,++e.g}function hNe(e){return e.e=3,e.d=e.Yb(),e.e==2?!1:(e.e=0,!0)}function gNe(e,t){return M(t,144)?CS(e.c,P(t,144).c):!1}function _Ne(e){var t;return e.c||(t=e.r,M(t,88)&&(e.c=P(t,29))),e.c}function bO(e){return e.t||(e.t=new Ore(e),FN(new Kae(e),0,e.t)),e.t}function xO(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function SO(e,t){return t==0||e.e==0?e:t>0?HKe(e,t):G7e(e,-t)}function vNe(e,t){return t==0||e.e==0?e:t>0?G7e(e,t):HKe(e,-t)}function CO(e){if(CR(e))return e.c=e.a,e.a.Pb();throw D(new xh)}function yNe(e){var t=e.length;return CS(gH.substr(gH.length-t,t),e)}function bNe(e){var t=e.c.i,n=e.d.i;return t.k==(MR(),RX)&&n.k==RX}function wO(e){return Wb(e&iH,e>>22&iH,e<0?aH:0)}function xNe(e,t){var n=P(QUe(e.c,t),18),r;n&&(r=n.gc(),n.$b(),e.d-=r)}function SNe(e){e&&HIe((Wae(),$yt)),--rY,e&&iY!=-1&&(bue(iY),iY=-1)}function CNe(e){mle.call(this,e==null?eV:EP(e),M(e,80)?P(e,80):null)}function TO(e){var t=new rE;return Xj(t,e),W(t,(PB(),z1),null),t}function EO(e,t,n){var r;return r=e.Fh(t),r>=0?e.Ih(r,n,!0):mR(e,t,n)}function wNe(e,t,n){return RN(tx(xF(e),qb(t.b)),tx(xF(e),qb(n.b)))}function TNe(e,t,n){return RN(tx(xF(e),qb(t.e)),tx(xF(e),qb(n.e)))}function ENe(e,t){return r.Math.min(QO(t.a,e.d.d.c),QO(t.b,e.d.d.c))}function DNe(e,t,n){var r=new Ppe(e.a);Ej(r,e.a.a),XL(r.f,t,n),e.a.a=r}function ONe(e,t,n,r){var i;for(i=0;i<BY;i++)WC(e.a[i][t.g],n,r[t.g])}function kNe(e,t,n,r){var i;for(i=0;i<Nxt;i++)GC(e.a[t.g][i],n,r[t.g])}function DO(e,t){var n=P(e.c.xc(t),18);return!n&&(n=e.ic(t)),e.pc(t,n)}function ANe(e){var t=(Kw(e),e?new NS(e):eC(e.Jc()));return JL(t),oP(t)}function OO(e){var t,n;return Kw(e),t=dTe(e.length),n=new HO(t),rHe(n,e),n}function kO(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.Mi(n,t),e.Li()}function AO(e,t){e.Zi(e.i+1),rx(e,e.i,e.Xi(e.i,t)),e.Ki(e.i++,t),e.Li()}function jO(e,t){return Uy(t)?t==null?Q3e(e.f,null):KBe(e.i,t):Q3e(e.f,t)}function MO(e,t){var n=(oD(t,e.c.length),e.c[t]);return gse(e.c,t,1),n}function jNe(e,t,n,r){var i=V(q9,JV,30,t,15,1);return O$e(i,e,t,n,r),i}function NO(e,t){return e.a?Qy(e.a,e.b):e.a=new _x(e.d),Xy(e.a,t),e}function MNe(e,t){if(e<0||e>t)throw D(new ig(P2e(e,t,`index`)));return e}function NNe(e){var t=e.e+e.f;return isNaN(t)&&jS(e.d)?e.d:t}function PNe(e,t){var n=e.q.getHours()+(t/60|0);e.q.setMinutes(t),Hz(e,n)}function FNe(e,t){var n=(dT(e),e),r=(dT(t),t);return n==r?0:n<r?-1:1}function PO(){PO=C;var e,t;m9=(e_(),t=new Sh,t),h9=(e=new zh,e)}function INe(){this.g=new yie,this.b=new yie,this.a=new ah,this.k=new ah}function FO(){this.e=new ah,this.c=new ah,this.d=new ah,this.b=new ah}function LNe(){this.a=new Eie,this.b=new zie,this.d=new Ot,this.e=new Dt}function IO(e){this.c=e,this.a=new E(this.c.a),this.b=new E(this.c.b)}function RNe(e,t,n){this.d=e,this.k=+!!t,this.f=+!!n,this.o=-1,this.p=0}function zNe(e,t,n){this.a=e,this.c=t,this.d=n,$b(t.e,this),$b(n.b,this)}function BNe(e,t,n){eh.call(this,n),this.b=e,this.c=t,this.d=(KP(),KBt)}function VNe(e,t){Hde.call(this,t.xd(),t.wd()&-6),dT(e),this.a=e,this.b=t}function HNe(e,t){Ude.call(this,t.xd(),t.wd()&-6),dT(e),this.a=e,this.b=t}function UNe(e,t){$y.call(this,t.xd(),t.wd()&-6),dT(e),this.a=e,this.b=t}function LO(e,t,n){this.a=e,this.b=t,this.c=n,$b(e.t,this),$b(t.i,this)}function RO(){this.b=new E_,this.a=new E_,this.b=new E_,this.a=new E_}function WNe(e,t){var n=Kot(e,t);return e.b=new mj(n.c.length),Qat(e,n)}function GNe(e,t,n){var r;return++e.e,--e.f,r=P(e.d[t].ed(n),136),r.kd()}function KNe(e){var t;return e.a||(t=e.r,M(t,159)&&(e.a=P(t,159))),e.a}function qNe(e){if(e.a){if(e.e)return qNe(e.e)}else return e;return null}function JNe(e,t){return e.p<t.p?1:e.p>t.p?-1:0}function YNe(e,t){return bw(e.a,t)?(jO(e.a,t),!0):!1}function XNe(e){var t=e.jd();return XS(P(e.kd(),18).Lc(),new jf(t))}function ZNe(e){var t=e.b;return t.b==0?null:P(LF(t,0),65).b}function zO(e,t){return dT(t),e.c<e.d?(e.Qe(t,e.c++),!0):!1}function BO(e,t,n){return wD(t,e.e.Pd().gc()),wD(n,e.c.Pd().gc()),e.a[t][n]}function QNe(e){var t;return pP(e),t=new Hbe(e,e.a.e,e.a.d|4),new Sge(e,t)}function $Ne(e){var t;for(iT(e),t=0;e.a.zd(new je);)t=sP(t,1);return t}function ePe(e,t,n){var r=0,i;for(i=0;i<t.length;i++)r+=e.sg(t[i],r,n)}function VO(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function HO(e){Mb(this),nC(e>=0,`Initial capacity must not be negative`)}function UO(){UO=C,a6=new Xm(`org.eclipse.elk.labels.labelManager`)}function tPe(){tPe=C,Fwt=new lS(`separateLayerConnections`,(bM(),wZ))}function WO(){WO=C,H2=new xue(`REGULAR`,0),V2=new xue(`CRITICAL`,1)}function GO(){GO=C,F3=new Rue(`FIXED`,0),P3=new Rue(`CENTER_NODE`,1)}function KO(){KO=C,cTt=new tue(`QUADRATIC`,0),eQ=new tue(`SCANLINE`,1)}function nPe(){nPe=C,_Tt=dN((HA(),U(k(gTt,1),Z,350,0,[hTt,iQ,rQ])))}function rPe(){rPe=C,TTt=dN((CM(),U(k(wTt,1),Z,449,0,[hQ,mQ,gQ])))}function iPe(){iPe=C,GTt=dN((rM(),U(k(VQ,1),Z,302,0,[zQ,BQ,RQ])))}function aPe(){aPe=C,qTt=dN((SM(),U(k(WQ,1),Z,329,0,[UQ,KTt,HQ])))}function oPe(){oPe=C,YTt=dN((Nk(),U(k(JTt,1),Z,315,0,[KQ,qQ,GQ])))}function sPe(){sPe=C,iTt=dN((lj(),U(k(LZ,1),Z,368,0,[IZ,FZ,PZ])))}function cPe(){cPe=C,PAt=dN((mN(),U(k(NAt,1),Z,352,0,[G0,MAt,K0])))}function lPe(){lPe=C,ZAt=dN((VA(),U(k(XAt,1),Z,452,0,[h2,p2,m2])))}function uPe(){uPe=C,tjt=dN((iM(),U(k(ejt,1),Z,381,0,[QAt,g2,$At])))}function dPe(){dPe=C,rjt=dN((eN(),U(k(njt,1),Z,348,0,[y2,_2,v2])))}function fPe(){fPe=C,ojt=dN((hN(),U(k(ajt,1),Z,349,0,[b2,ijt,x2])))}function pPe(){pPe=C,ujt=dN((BA(),U(k(ljt,1),Z,351,0,[cjt,S2,sjt])))}function mPe(){mPe=C,fjt=dN((aM(),U(k(djt,1),Z,382,0,[w2,T2,C2])))}function hPe(){hPe=C,RMt=dN((QM(),U(k(LMt,1),Z,385,0,[IMt,Q2,Z2])))}function gPe(){gPe=C,GNt=dN(($M(),U(k(WNt,1),Z,386,0,[B4,HNt,UNt])))}function _Pe(){_Pe=C,APt=dN((nM(),U(k(kPt,1),Z,303,0,[J4,OPt,DPt])))}function vPe(){vPe=C,MPt=dN(($P(),U(k(jPt,1),Z,436,0,[Y4,X4,Z4])))}function yPe(){yPe=C,AFt=dN((hk(),U(k(kFt,1),Z,429,0,[x3,OFt,DFt])))}function bPe(){bPe=C,PFt=dN((zN(),U(k(NFt,1),Z,430,0,[jFt,MFt,S3])))}function xPe(){xPe=C,RFt=dN((BN(),U(k(j3,1),Z,435,0,[O3,k3,A3])))}function SPe(){SPe=C,BPt=dN((SP(),U(k(zPt,1),Z,387,0,[RPt,d3,LPt])))}function CPe(){CPe=C,pCt=dN((xk(),U(k(fCt,1),Z,384,0,[mX,pX,hX])))}function wPe(){wPe=C,yxt=dN((tN(),U(k(NY,1),Z,130,0,[_xt,MY,vxt])))}function TPe(){TPe=C,Mxt=dN((uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])))}function EPe(){EPe=C,Fxt=dN((uk(),U(k(Pxt,1),Z,461,0,[HY,VY,UY])))}function DPe(){DPe=C,Rxt=dN((Mk(),U(k(Lxt,1),Z,462,0,[KY,GY,WY])))}function OPe(){OPe=C,yRt=dN((dA(),U(k(vRt,1),Z,279,0,[C8,w8,T8])))}function kPe(){kPe=C,czt=dN((VN(),U(k(szt,1),Z,281,0,[ozt,Y5,X5])))}function APe(){APe=C,FRt=dN((nN(),U(k(PRt,1),Z,347,0,[P8,N8,F8])))}function jPe(){jPe=C,tzt=dN((vA(),U(k(ezt,1),Z,300,0,[F5,QRt,$Rt])))}function qO(e,t){return!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),zP(e.o,t)}function MPe(e){return!e.g&&(e.g=new al),!e.g.d&&(e.g.d=new Tre(e)),e.g.d}function NPe(e){return!e.g&&(e.g=new al),!e.g.b&&(e.g.b=new wre(e)),e.g.b}function JO(e){return!e.g&&(e.g=new al),!e.g.c&&(e.g.c=new Dre(e)),e.g.c}function PPe(e){return!e.g&&(e.g=new al),!e.g.a&&(e.g.a=new Ere(e)),e.g.a}function FPe(e,t,n,r){return n&&(r=n.Oh(t,NP(n.Ah(),e.c.sk()),null,r)),r}function IPe(e,t,n,r){return n&&(r=n.Qh(t,NP(n.Ah(),e.c.sk()),null,r)),r}function LPe(e,t,n,r){var i=V(q9,JV,30,t+1,15,1);return Ort(i,e,t,n,r),i}function V(e,t,n,r,i,a){var o=WYe(i,r);return i!=10&&U(k(e,a),t,n,i,o),o}function RPe(e,t,n){var r,i=new Qj(t,e);for(r=0;r<n;++r)VF(i);return i}function zPe(e,t,n){var r,i;if(n!=null)for(r=0;r<t;++r)i=n[r],e.Oi(r,i)}function BPe(e,t){var n;e.C&&(n=P(CT(e.b,t),127).n,n.d=e.C.d,n.a=e.C.a)}function VPe(e){var t,n,r,i=e.d;t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=i,e.c=t}function HPe(e,t){var n=new ve;return n.c=!0,n.d=t.kd(),Ast(e,t.jd(),n)}function UPe(e,t){var n=e.q.getHours()+(t/3600|0);e.q.setSeconds(t),Hz(e,n)}function WPe(e,t){var n=t,r=tE(eC(new Dk(e,n)));return TC(new Dk(e,n)),r}function GPe(e,t){t.Tg(`Label management`,1),qy(K(e,(UO(),a6))),t.Ug()}function KPe(e,t,n){P(e.b,68),P(e.b,68),P(e.b,68),sA(e.a,new jye(n,t,e))}function qPe(e,t,n,r){hrt(e,t,n,Uz(e,t,r,M(t,103)&&(P(t,19).Bb&_H)!=0))}function YO(e,t,n){if(e<0||t>n||t<e)throw D(new ooe(zH+e+zdt+t+Mdt+n))}function JPe(e,t,n){this.d=new Ih,this.c=new oh,this.a=e,this.e=t,this.c=n}function YPe(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new ah)}function XPe(e,t){uv.call(this,e,t),this.a=V(rxt,SV,438,2,0,1),this.b=!0}function ZPe(e){pHe.call(this,e,0),fhe(this),this.d.b=this.d,this.d.a=this.d}function QPe(e){this.e=e,this.b=this.e.a.entries(),this.a=V(ZJ,$B,1,0,5,1)}function $Pe(){$Pe=C,_jt=UC(bC(new pT,(bL(),gX),(RB(),eZ)),bX,hZ)}function eFe(){return WL(),U(k($Z,1),Z,231,0,[YZ,ZZ,JZ,XZ,QZ,qZ])}function tFe(){return kL(),U(k(ETt,1),Z,284,0,[vQ,_Q,bQ,yQ,SQ,xQ])}function nFe(){return qI(),U(k(FTt,1),Z,282,0,[TQ,MTt,PTt,jTt,NTt,wQ])}function rFe(){return EL(),U(k(HTt,1),Z,283,0,[EQ,RTt,VTt,BTt,zTt,LTt])}function iFe(){return UF(),U(k(KIt,1),Z,256,0,[s6,u6,d6,f6,c6,l6])}function aFe(){return eL(),U(k(b6,1),Z,299,0,[y6,v6,_6,h6,m6,g6])}function oFe(){return rR(),U(k(f5,1),Z,280,0,[u5,c5,l5,s5,o5,d5])}function sFe(){return iL(),U(k(URt,1),Z,102,0,[a5,i5,r5,e5,n5,t5])}function cFe(){return _L(),U(k(ERt,1),Z,327,0,[j8,CRt,TRt,xRt,wRt,SRt])}function lFe(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Ah(),e.a=eA(t,e.b)),e.a}function XO(e,t){return e.Qi()&&e.Gc(t)?!1:(e.Fi(t),!0)}function ZO(e,t){return sE(t,`Horizontal alignment cannot be null`),e.b=t,e}function uFe(e,t,n){zB();var r=DB(e,t);return n&&r&&Gwe(e)&&(r=null),r}function dFe(e,t,n){var r=e.b[n.c.p][n.p];r.b+=t.b,r.c+=t.c,r.a+=t.a,++r.a}function fFe(e,t,n){var i;e.d[t.g]=n,i=e.g.c,i[t.g]=r.Math.max(i[t.g],n+1)}function QO(e,t){var n=e.a-t.a,i=e.b-t.b;return r.Math.sqrt(n*n+i*i)}function pFe(e,t){var n,r;for(r=t.Jc();r.Ob();)n=P(r.Pb(),37),Ftt(e,n,0,0)}function $O(e,t,n){var r,i;for(i=e.Jc();i.Ob();)r=P(i.Pb(),37),hz(r,t,n)}function mFe(e){var t,n;for(n=TF(e.a,0);n.b!=n.d.c;)t=P(RD(n),65),M4e(t)}function hFe(e,t){var n=Zw(e.k,t);return U5e(e,t),wtt(e,t),r8e(e,t,n),null}function ek(e,t){var n;return n=e.Fh(t),n>=0?e.Ih(n,!0,!0):mR(e,t,!0)}function tk(e,t){var n,r,i=e.r;return r=e.d,n=Jz(e,t,!0),n.b!=i||n.a!=r}function gFe(e,t){return yle(e.e,t)||yF(e.e,t,new rJe(t)),P(zk(e.e,t),113)}function nk(e,t,n,r){return dT(e),dT(t),dT(n),dT(r),new HCe(e,t,new Te)}function rk(e,t,n){var r,i=(r=kR(e.b,t),r);return i?nB(Tk(e,i),n):null}function _Fe(e,t,n){var r=kE(e,n),i=null,a;r&&(i=X0e(r)),a=i,Yqe(t,n,a)}function vFe(e,t,n){var r=kE(e,n),i=null,a;r&&(i=X0e(r)),a=i,Yqe(t,n,a)}function ik(e,t,n,r){this.$j(),this.a=t,this.b=e,this.c=new kCe(this,t,n,r)}function yFe(e,t,n,r,i,a){QAe.call(this,t,r,i,a),this.c=e,this.b=n}function ak(e,t,n,r,i,a){QAe.call(this,t,r,i,a),this.c=e,this.a=n}function bFe(e,t,n,r,i){mpe(this),this.b=e,this.d=t,this.f=n,this.g=r,this.c=i}function xFe(e,t){$y.call(this,t.xd(),t.wd()&-16449),dT(e),this.a=e,this.c=t}function SFe(e,t){e.a.Le(t.d,e.b)>0&&($b(e.c,new Wbe(t.c,t.d,e.d)),e.b=t.d)}function CFe(e){e.a=V(q9,JV,30,e.b+1,15,1),e.c=V(q9,JV,30,e.b,15,1),e.d=0}function wFe(e,t,n){var r=sHe(e,t,n);return e.b=new mj(r.c.length),y9e(e,r)}function TFe(e){if(e.b<=0)throw D(new xh);return--e.b,e.a-=e.c.c,G(e.a)}function EFe(e){var t;if(!e.a)throw D(new OEe);return t=e.a,e.a=PE(e.a),t}function DFe(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)H(e,t);return Ije(e)}function ok(e){var t;return Kw(e),M(e,204)?(t=P(e,204),t):new $f(e)}function OFe(e){for(;!e.a;)if(!H_e(e.c,new Em(e)))return!1;return!0}function kFe(e,t){if(e.g==null||t>=e.i)throw D(new ub(t,e.i));return e.g[t]}function AFe(e,t,n){if(VM(e,n),n!=null&&!e.dk(n))throw D(new hh);return n}function jFe(e,t){return Wk(t)!=10&&U(WM(t),t.Qm,t.__elementTypeId$,Wk(t),e),e}function MFe(e,t){var n,r=t/e.c.Pd().gc()|0;return n=t%e.c.Pd().gc(),BO(e,r,n)}function sk(e,t,n,r){var i;r=(qT(),r||Rbt),i=e.slice(t,n),F2e(i,e,t,n,-t,r)}function ck(e,t,n,r,i){return t<0?mR(e,n,r):P(n,69).uk().wk(e,e.ei(),t,r,i)}function NFe(e,t){return RN(O(N(K(e,(Y(),k$)))),O(N(K(t,k$))))}function PFe(){PFe=C,cxt=dN((lk(),U(k(AY,1),Z,309,0,[ixt,axt,oxt,sxt])))}function lk(){lk=C,ixt=new fv(`All`,0),axt=new kfe,oxt=new fpe,sxt=new Afe}function uk(){uk=C,HY=new mv(XH,0),VY=new mv(YH,1),UY=new mv(ZH,2)}function FFe(){FFe=C,qz(),EVt=pH,TVt=mH,OVt=new em(pH),DVt=new em(mH)}function dk(){dk=C,IIt=new ic,RIt=new ac,LIt=RVe((LB(),Q6),IIt,V6,RIt)}function IFe(e){dk(),P(e.mf((LB(),$6)),182).Ec((rR(),l5)),e.of(Q6,null)}function LFe(e){return M(e,180)?``+P(e,180).a:e==null?null:EP(e)}function RFe(e){return M(e,180)?``+P(e,180).a:e==null?null:EP(e)}function zFe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function BFe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function fk(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--P(AC(e.c.a,t),9).p}function VFe(){VFe=C,Lwt=dN((bM(),U(k(Iwt,1),Z,367,0,[wZ,SZ,CZ,xZ])))}function HFe(){HFe=C,NCt=dN((dF(),U(k(MCt,1),Z,383,0,[NX,jCt,jX,MX])))}function UFe(){UFe=C,dSt=dN((tM(),U(k(uSt,1),Z,409,0,[ZY,JY,YY,XY])))}function WFe(){WFe=C,wCt=dN((xM(),U(k(CCt,1),Z,408,0,[EX,kX,DX,OX])))}function GFe(){GFe=C,Njt=dN((pN(),U(k(Mjt,1),Z,404,0,[E2,O2,k2,D2])))}function KFe(){KFe=C,FAt=dN((HF(),U(k(Z0,1),Z,203,0,[Y0,X0,J0,q0])))}function qFe(){qFe=C,qAt=dN((eF(),U(k(KAt,1),Z,269,0,[c2,GAt,l2,u2])))}function JFe(){JFe=C,Zwt=dN((oM(),U(k(Xwt,1),Z,413,0,[TZ,EZ,DZ,OZ])))}function YFe(){YFe=C,DNt=dN((ZM(),U(k(ENt,1),Z,353,0,[k4,D4,O4,E4])))}function XFe(){XFe=C,mTt=dN((xP(),U(k(pTt,1),Z,301,0,[nQ,dTt,tQ,fTt])))}function ZFe(){ZFe=C,PPt=dN((gL(),U(k(NPt,1),Z,401,0,[t3,Q4,e3,$4])))}function QFe(){QFe=C,EPt=dN((dI(),U(k(TPt,1),Z,354,0,[q4,CPt,wPt,SPt])))}function $Fe(){$Fe=C,SMt=dN((kI(),U(k(xMt,1),Z,398,0,[G2,K2,q2,J2])))}function eIe(){eIe=C,_Rt=dN((HN(),U(k(gRt,1),Z,278,0,[S8,x8,mRt,hRt])))}function tIe(){tIe=C,bRt=dN((UN(),U(k(A8,1),Z,222,0,[k8,D8,E8,O8])))}function nIe(){nIe=C,RRt=dN((AI(),U(k(LRt,1),Z,292,0,[z8,I8,L8,R8])))}function rIe(){rIe=C,pzt=dN((lO(),U(k(Z5,1),Z,288,0,[lzt,fzt,uzt,dzt])))}function iIe(){iIe=C,nzt=dN((tF(),U(k(B5,1),Z,380,0,[R5,z5,L5,I5])))}function aIe(){aIe=C,yzt=dN((CP(),U(k(vzt,1),Z,326,0,[_zt,mzt,gzt,hzt])))}function oIe(){oIe=C,Ezt=dN((XM(),U(k(Tzt,1),Z,407,0,[Szt,Czt,xzt,wzt])))}function pk(){pk=C,zNt=new Pue(`LEAF_NUMBER`,0),z4=new Pue(`NODE_SIZE`,1)}function mk(){mk=C,OTt=new rue(YU,0),CQ=new rue(`IMPROVE_STRAIGHTNESS`,1)}function hk(){hk=C,x3=new uy(lht,0),OFt=new uy(Lmt,1),DFt=new uy(YU,2)}function sIe(e,t){if(t.a)throw D(new Jh(Wdt));Tw(e.a,t),t.a=e,!e.j&&(e.j=t)}function cIe(e){var t;if(!nj(e))throw D(new xh);return e.e=1,t=e.d,e.d=null,t}function gk(e){var t;return ib(e)&&(t=0-e,!isNaN(t))?t:Bj(kM(e))}function lIe(e,t){var n=P(jO(e.e,t),393);return n?(bxe(n),n.e):null}function _k(e,t){var n=vk(e,t,0);return n==-1?!1:(MO(e,n),!0)}function uIe(e){var t;return iT(e),t=V(Z9,yH,30,0,15,1),c_(e.a,new Bee(t)),t}function dIe(e,t,n){var r;return iT(e),r=new ke,r.a=t,e.a.Nb(new Dle(r,n)),r.a}function vk(e,t,n){for(;n<e.c.length;++n)if(xT(t,e.c[n]))return n;return-1}function fIe(e,t,n,r,i){return dT(e),dT(t),dT(n),dT(r),dT(i),new HCe(e,t,r)}function pIe(e,t){U_();var n=VD(e),r=VD(t);return!!n&&!!r&&!SJe(n.k,r.k)}function mIe(e,t){return US(),$b(e,new My(t,G(t.e.c.length+t.g.c.length)))}function hIe(e,t){return US(),$b(e,new My(t,G(t.e.c.length+t.g.c.length)))}function gIe(e,t){return new JS(t,Jx(qb(t.e),t.f.a+e,t.f.b+e),(mx(),!1))}function yk(e,t){return xT(t,AC(e.f,0))||xT(t,AC(e.f,1))||xT(t,AC(e.f,2))}function bk(e,t){if(t<0)throw D(new ig(egt+t));return zje(e,t+1),AC(e.j,t)}function xk(){xk=C,mX=new vv(`XY`,0),pX=new vv(`X`,1),hX=new vv(`Y`,2)}function Sk(){Sk=C,d2=new lue(`INPUT_ORDER`,0),f2=new lue(`PORT_DEGREE`,1)}function Ck(e){return e.b||(e.b=new WSe(e,z7,e),!e.a&&(e.a=new dS(e,e))),e.b}function wk(e,t){var n=P(t,682),r=n.Yk();return!r&&n.al(r=new dAe(e,t)),r}function Tk(e,t){var n=P(t,680),r=n.ui();return!r&&n.xi(r=new Tde(e,t)),r}function Ek(e){return P(K(P(AC(e.j,0),12),(Y(),T$)),12)}function Dk(e,t){var n;this.f=e,this.b=t,n=P(Zw(e.b,t),262),this.c=n?n.b:null}function _Ie(){HS(),this.b=new oh,this.f=new oh,this.g=new oh,this.e=new oh}function Ok(e){Kb(this),this.g=e?uE(e,e.ge()):null,this.f=e,XT(this),this.he()}function kk(e){var t=e.hj();t!=null&&e.d!=-1&&P(t,94).uh(e),e.i&&e.i.mj()}function Ak(e){var t,n=e.length;return t=V(K9,BV,30,n,15,1),JCe(e,0,n,t,0),t}function jk(e){qxe();var t=e+128,n=dbt[t];return!n&&(n=dbt[t]=new Nee(e)),n}function vIe(e){return IS(e.d.a.e.g,e.b),Bx(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function yIe(e){Vx(!!e.c),IS(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=pVe(e),e.d=e.f.g}function bIe(e,t){pSt=new T,fSt=t,QY=e,P(QY.b,68),KPe(QY,pSt,null),Gat(QY)}function Mk(){Mk=C,KY=new hv(`TOP`,0),GY=new hv(YH,1),WY=new hv(oft,2)}function Nk(){Nk=C,KQ=new aue(YU,0),qQ=new aue(`TOP`,1),GQ=new aue(oft,2)}function Pk(){Pk=C,obt=Wb(iH,iH,524287),sbt=Wb(0,0,oH),cbt=wO(1),wO(2),lbt=wO(0)}function xIe(e){var t;return e.Lh()||(t=Hw(e.Ah())-e.gi(),e.Xh().Kk(t)),e.wh()}function SIe(e){var t=gA(Uj(e,32));return t??=(sF(e),gA(Uj(e,32))),t}function CIe(e,t){var n=NP(e.d,t);return n>=0?zF(e,n,!0,!0):mR(e,t,!0)}function wIe(e,t){ES(P(P(e.f,26).mf((LB(),X6)),102))&&RGe(jTe(P(e.f,26)),t)}function TIe(e,t){TA(e,t==null||jS((dT(t),t))||isNaN((dT(t),t))?0:(dT(t),t))}function EIe(e,t){EA(e,t==null||jS((dT(t),t))||isNaN((dT(t),t))?0:(dT(t),t))}function DIe(e,t){wA(e,t==null||jS((dT(t),t))||isNaN((dT(t),t))?0:(dT(t),t))}function OIe(e,t){yA(e,t==null||jS((dT(t),t))||isNaN((dT(t),t))?0:(dT(t),t))}function kIe(e){(this.q?this.q:(KT(),KT(),DY)).zc(e.q?e.q:(KT(),KT(),DY))}function Fk(e,t,n){var r=e.g[t];return rx(e,t,e.Xi(t,n)),e.Pi(t,n,r),e.Li(),r}function Ik(e,t){var n=e.bd(t);return n>=0?(e.ed(n),!0):!1}function Lk(e){var t;return e.d!=e.r&&(t=LI(e),e.e=!!t&&t.jk()==_vt,e.d=t),e.e}function Rk(e,t){var n;for(Kw(e),Kw(t),n=!1;t.Ob();)n|=e.Ec(t.Pb());return n}function zk(e,t){var n=P(Zw(e.e,t),393);return n?(Rpe(e,n),n.e):null}function AIe(e){var t=e/60|0,n=e%60;return n==0?``+t:``+t+`:`+(``+n)}function Bk(e,t){var n,r;return pP(e),r=new UNe(t,e.a),n=new O_e(r),new jC(e,n)}function Vk(e,t){var n=e.a[t],r=(TM(),abt)[typeof n];return r?r(n):TWe(typeof n)}function jIe(e,t){var n,r,i=t.c.i;n=P(Zw(e.f,i),60),r=n.d.c-n.e.c,Vze(t.a,r,0)}function Hk(e,t,n){var r=10,i;for(i=0;i<n-1;i++)t<r&&(e.a+=`0`),r*=10;e.a+=t}function MIe(e,t){var n;for(++e.d,++e.c[t],n=t+1;n<e.a.length;)++e.a[n],n+=n&-n}function Uk(e){var t=e.b.c.length==0?null:AC(e.b,0);return t!=null&&aj(e,0),t}function NIe(e){switch(e.g){case 0:return JB;case 1:return LV;default:return 0}}function PIe(e){return gZe(e,(Pk(),lbt))<0?-Sme(kM(e)):e.l+e.m*sH+e.h*cH}function Wk(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function FIe(e,t){return M(t,103)&&(P(t,19).Bb&_H)!=0?new fb(t,e):new Qj(t,e)}function IIe(e,t){return M(t,103)&&(P(t,19).Bb&_H)!=0?new fb(t,e):new Qj(t,e)}function LIe(e,t,n){return tx(new A(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(dT(t),t)}function RIe(e,t,n,r){if(!e)throw D(new sg(mz(t,U(k(ZJ,1),$B,1,5,[n,r]))))}function zIe(e){if(!e.e)throw D(new xh);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function BIe(e){if(!e.c)throw D(new xh);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function VIe(e){var t,n;if(e.a){n=null;do t=e.a,e.a=null,n=U0e(t,n);while(e.a);e.a=n}}function HIe(e){var t,n;if(e.b){n=null;do t=e.b,e.b=null,n=U0e(t,n);while(e.b);e.b=n}}function UIe(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function WIe(e,t){for(var n=0;e.e!=e.i.gc();)BCe(t,OF(e),G(n)),n!=JB&&++n}function GIe(e,t){for(;t[0]<e.length&&sb(` \r
`,hL(wT(e,t[0])))>=0;)++t[0]}function KIe(e,t,n,r){zB(),rh.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function Gk(e,t,n,r,i,a,o){YA.call(this,t,r,i,a,o),this.c=e,this.b=n}function qIe(e){this.g=e,this.f=new ah,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function Kk(){Kk=C,DCt=new xt,OCt=new St,TCt=new eee,ECt=new Ct,kCt=new wt}function qk(){qk=C,tX=new Mle(`EADES`,0),nX=new Mle(`FRUCHTERMAN_REINGOLD`,1)}function Jk(){Jk=C,pQ=new nue(`READING_DIRECTION`,0),xTt=new nue(`ROTATION`,1)}function JIe(){JIe=C,$wt=dN((rL(),U(k(Qwt,1),Z,371,0,[AZ,MZ,NZ,jZ,kZ])))}function YIe(){YIe=C,RAt=dN((PF(),U(k(LAt,1),Z,328,0,[IAt,$0,e2,Q0,t2])))}function XIe(){XIe=C,pEt=dN((bP(),U(k(fEt,1),Z,165,0,[Z$,q$,J$,Y$,X$])))}function ZIe(){ZIe=C,RNt=dN((aL(),U(k(LNt,1),Z,364,0,[L4,P4,R4,F4,I4])))}function QIe(){QIe=C,LFt=dN((VR(),U(k(IFt,1),Z,369,0,[w3,C3,E3,T3,D3])))}function $Ie(){$Ie=C,YFt=dN((ML(),U(k(JFt,1),Z,330,0,[GFt,I3,qFt,L3,KFt])))}function eLe(){eLe=C,vCt=dN((bL(),U(k(_Ct,1),Z,363,0,[gX,_X,vX,yX,bX])))}function tLe(){tLe=C,pRt=dN((WN(),U(k(b8,1),Z,86,0,[v8,_8,g8,h8,y8])))}function nLe(){nLe=C,BIt=dN((CF(),U(k(Z3,1),Z,160,0,[Y3,J3,K3,X3,q3])))}function rLe(){rLe=C,HRt=dN((wF(),U(k($8,1),Z,257,0,[Z8,Q8,BRt,X8,VRt])))}function iLe(){iLe=C,KRt=dN((wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])))}function aLe(e){var t=P(K(e,(Y(),XQ)),317);return t?t.a==e:!1}function oLe(e){var t=P(K(e,(Y(),XQ)),317);return t?t.i==e:!1}function sLe(e,t){return dT(t),fCe(e),e.d.Ob()?(t.Ad(e.d.Pb()),!0):!1}function Yk(e){return yN(e,JB)>0?JB:yN(e,LV)<0?LV:RC(e)}function cLe(e,t){var n=wP(e.e.c,t.e.c);return n==0?RN(e.e.d,t.e.d):n}function Xk(e,t){var n=P(Zw(e.a,t),150);return n||(n=new st,ST(e.a,t,n)),n}function Zk(e,t,n){var r;if(t==null)throw D(new yh);return r=kE(e,t),lMe(e,t,n),r}function lLe(e,t){var n,r=t.c;for(n=r+1;n<=t.f;n++)e.a[n]>e.a[r]&&(r=n);return r}function uLe(e,t,n){return xE(_C(e.a.e[P(t.a,9).p]-e.a.e[P(n.a,9).p]))}function dLe(e,t,n){var r,i;for(i=new E(n);i.a<i.c.c.length;)r=z(i),r$e(e,t,r)}function fLe(e,t,n){_S.call(this),KLe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function pLe(e){this.b=new ah,this.a=new ah,this.c=new ah,this.d=new ah,this.e=e}function mLe(e,t){return t==(LS(),LS(),Ybt)?e.toLocaleLowerCase():e.toLowerCase()}function hLe(e,t){return fA(),-Ub(P(K(e,(Lz(),S4)),15).a,P(K(t,S4),15).a)}function gLe(){return MR(),U(k(GX,1),Z,249,0,[HX,BX,RX,UX,zX,LX,WX,VX])}function _Le(){return BL(),U(k(HIt,1),Z,285,0,[VIt,Q3,n6,i6,$3,e6,t6,r6])}function vLe(){return SR(),U(k(S7,1),Z,244,0,[Jzt,b7,x7,y7,qzt,v7,_7,Kzt])}function yLe(){return dz(),U(k(aTt,1),Z,275,0,[zZ,HZ,RZ,GZ,VZ,BZ,WZ,UZ])}function bLe(e,t){return!!Oj(e,t,RC(cP(EV,bT(RC(cP(t==null?0:Cj(t),DV)),15))))}function xLe(e){return(e.i&2?`interface `:e.i&1?``:`class `)+($x(e),e.o)}function Qk(e){var t,n=(t=new Bh,t);XO((!e.q&&(e.q=new F(B7,e,11,10)),e.q),n)}function SLe(e,t){var n=t>0?t-1:t;return qoe(Joe(sRe(sxe(new Uh,n),e.n),e.j),e.k)}function CLe(e,t,n,r){var i;e.j=-1,M3e(e,Z0e(e,t,n),(rv(),i=P(t,69).tk(),i.vl(r)))}function wLe(e,t,n,r,i,a){var o=TO(r);zE(o,i),VE(o,a),fR(e.a,r,new GS(o,t,n.f))}function $k(e,t){var n;return pP(e),n=new _Ee(e,e.a.xd(),e.a.wd()|4,t),new jC(e,n)}function TLe(e,t){var n=P(xN(e.d,t),18),r;return n?(r=t,e.e.pc(r,n)):null}function eA(e,t){var n=(e.i??Rz(e),e.i);return t>=0&&t<n.length?n[t]:null}function tA(e){var t;Vx(!!e.c),t=e.c.a,aA(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function ELe(e){return e.a>=-.01&&e.a<=eU&&(e.a=0),e.b>=-.01&&e.b<=eU&&(e.b=0),e}function nA(e){sz();var t,n=Kmt;for(t=0;t<e.length;t++)e[t]>n&&(n=e[t]);return n}function DLe(e){var t=O(N(K(e,(PB(),N1))));return t<0&&(t=0,W(e,N1,t)),t}function OLe(e,t){ES(P(K(P(e.e,9),(PB(),l0)),102))&&(KT(),Vb(P(e.e,9).j,t))}function rA(e,t){var n,r;for(r=e.Jc();r.Ob();)n=P(r.Pb(),70),W(n,(Y(),g$),t)}function kLe(e,t){var n,r=t.a.jd(),i;for(n=P(t.a.kd(),18).gc(),i=0;i<n;i++)e.Ad(r)}function ALe(e,t,n){var i=r.Math.max(0,e.b/2-.5);zI(n,i,1),$b(t,new Wle(n,i))}function jLe(e,t){var n=KR(e.Ah(),t);if(!n)throw D(new sg(iq+t+oq));return n}function iA(e,t){for(var n=e;PE(n);)if(n=PE(n),n==t)return!0;return!1}function MLe(e,t){return t&&e.b[t.g]==t?(Jw(e.b,t.g,null),--e.c,!0):!1}function aA(e,t){var n=t.c;return t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function NLe(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=($h(),Vyt)}function oA(e){if(e<0)throw D(new sg(`Illegal Capacity: `+e));this.g=this.$i(e)}function PLe(e,t){if(0>e||e>t)throw D(new soe(`fromIndex: 0, toIndex: `+e+Mdt+t))}function FLe(e,t){IF(e,(fz(),s3),t.f),IF(e,IPt,t.e),IF(e,o3,t.d),IF(e,FPt,t.c)}function sA(e,t){var n,r,i,a;for(dT(t),r=e.c,i=0,a=r.length;i<a;++i)n=r[i],t.Ad(n)}function cA(e,t){var n,r,i,a;for(r=e.d,i=0,a=r.length;i<a;++i)n=r[i],ex(e.g,n).a=t}function ILe(e,t,n){var r,i=t[n],a;for(r=0;r<i.length;r++)a=i[r],e.e[a.c.p][a.p]=r}function LLe(e){var t;for(t=0;t<e.c.length;t++)(oD(t,e.c.length),P(e.c[t],12)).p=t}function RLe(e){for(var t=e.a.d.j,n=e.c.d.j;t!=n;)ij(e.b,t),t=KN(t);ij(e.b,t)}function zLe(e){var t=r.Math.sqrt(e.a*e.a+e.b*e.b);return t>0&&(e.a/=t,e.b/=t),e}function BLe(e,t,n){var r=t,i;do i=O(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p];while(r!=t)}function lA(e){var t;return e.w?e.w:(t=Dke(e),t&&!t.Sh()&&(e.w=t),t)}function VLe(e,t){return Ib(),RA(IV),r.Math.abs(e-t)<=IV||e==t||isNaN(e)&&isNaN(t)}function HLe(e){var t;return e==null?null:(t=P(e,195),X$e(t,t.length))}function H(e,t){if(e.g==null||t>=e.i)throw D(new ub(t,e.i));return e.Ui(t,e.g[t])}function uA(){uA=C,IY=new Ole(`BEGIN`,0),LY=new Ole(YH,1),RY=new Ole(`END`,2)}function dA(){dA=C,C8=new yy(YH,0),w8=new yy(`HEAD`,1),T8=new yy(`TAIL`,2)}function fA(){fA=C,MNt=oF(oF(oF(Z_(new pT,(kI(),K2)),(xz(),X2)),DMt),jMt)}function pA(){pA=C,PNt=oF(oF(oF(Z_(new pT,(kI(),J2)),(xz(),kMt)),wMt),OMt)}function mA(e,t){return Sse(Dj(e,t,RC(cP(EV,bT(RC(cP(t==null?0:Cj(t),DV)),15)))))}function ULe(e,t){return Ib(),RA(IV),r.Math.abs(e-t)<=IV||e==t||isNaN(e)&&isNaN(t)}function hA(e,t){var n,r=e.a;n=MWe(e,t,null),r!=t&&!e.e&&(n=gB(e,t,n)),n&&n.mj()}function WLe(e,t){return TS(qb(P(Zw(e.g,t),8)),hpe(P(Zw(e.f,t),460).b))}function GLe(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function gA(e){var t;return mC(e==null||Array.isArray(e)&&(t=Wk(e),!(t>=14&&t<=16))),e}function KLe(e){e.b=(uk(),VY),e.f=(Mk(),GY),e.d=(qA(2,jV),new HO(2)),e.e=new Xg}function _A(e){this.b=(Kw(e),new NS(e)),this.a=new ah,this.d=new ah,this.e=new Xg}function qLe(e){return pP(e),rC(!0,`n may not be negative`),new jC(e,new NRe(e.a))}function JLe(e,t){KT();var n,r=new ah;for(n=0;n<e;++n)ph(r.c,t);return new Mg(r)}function YLe(e,t){return TL(),Ub(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function XLe(){return wR(),U(k(Y8,1),Z,96,0,[V8,B8,U8,J8,q8,K8,W8,G8,H8])}function ZLe(){ZLe=C,DRt=dN((_L(),U(k(ERt,1),Z,327,0,[j8,CRt,TRt,xRt,wRt,SRt])))}function QLe(){QLe=C,qIt=dN((UF(),U(k(KIt,1),Z,256,0,[s6,u6,d6,f6,c6,l6])))}function $Le(){$Le=C,aLt=dN((eL(),U(k(b6,1),Z,299,0,[y6,v6,_6,h6,m6,g6])))}function eRe(){eRe=C,GRt=dN((rR(),U(k(f5,1),Z,280,0,[u5,c5,l5,s5,o5,d5])))}function tRe(){tRe=C,WRt=dN((iL(),U(k(URt,1),Z,102,0,[a5,i5,r5,e5,n5,t5])))}function nRe(){nRe=C,ITt=dN((qI(),U(k(FTt,1),Z,282,0,[TQ,MTt,PTt,jTt,NTt,wQ])))}function rRe(){rRe=C,UTt=dN((EL(),U(k(HTt,1),Z,283,0,[EQ,RTt,VTt,BTt,zTt,LTt])))}function iRe(){iRe=C,DTt=dN((kL(),U(k(ETt,1),Z,284,0,[vQ,_Q,bQ,yQ,SQ,xQ])))}function aRe(){aRe=C,sTt=dN((WL(),U(k($Z,1),Z,231,0,[YZ,ZZ,JZ,XZ,QZ,qZ])))}function oRe(){oRe=C,BY=(uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])).length,Nxt=BY}function vA(){vA=C,F5=new Yue(Fgt,0),QRt=new Yue(`PARENT`,1),$Rt=new Yue(`ROOT`,2)}function sRe(e,t){return e.n=t,e.n?(e.f=new ah,e.e=new ah):(e.f=null,e.e=null),e}function yA(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,3,n,e.f))}function bA(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,0,n,e.a))}function xA(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,1,n,e.b))}function SA(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,3,n,e.b))}function CA(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,4,n,e.c))}function wA(e,t){var n=e.g;e.g=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,4,n,e.g))}function TA(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,5,n,e.i))}function EA(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,6,n,e.j))}function DA(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,1,n,e.j))}function OA(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&Rj(e,new QD(e,2,n,e.k))}function kA(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&Rj(e,new $D(e,2,n,e.d))}function AA(e,t){var n=e.s;e.s=t,e.Db&4&&!(e.Db&1)&&Rj(e,new $D(e,4,n,e.s))}function jA(e,t){var n=e.t;e.t=t,e.Db&4&&!(e.Db&1)&&Rj(e,new $D(e,5,n,e.t))}function MA(e,t){var n=e.F;e.F=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,5,n,t))}function NA(e,t){var n=P(Zw((ev(),D7),e),58);return n?n.ek(t):V(ZJ,$B,1,t,5,1)}function PA(e,t){var n=t in e.a,r;return n&&(r=kE(e,t).pe(),r)?r.a:null}function cRe(e,t){var n=(r=($g(),i=new Qc,i),t&&Z5e(r,t),r),r,i;return $Re(n,e),n}function lRe(e,t,n){var r=nF(n);return ST(e.c,r,t),ST(e.d,t,n),ST(e.e,t,AE(t)),t}function FA(e,t,n,r,i,a){var o=_we(e,t);return yRe(n,o),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function uRe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function dRe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function fRe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function pRe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function mRe(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function hRe(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],sIe(e.a,n);return e}function IA(e){var t,n,r,i;for(n=e,r=0,i=n.length;r<i;++r)t=n[r],Kw(t);return new Cfe(e)}function gRe(e){var t=TS(qb(e.d.d),e.c.d);return VI(t,e.c.e.a,e.c.e.b),wS(t,e.c.d)}function _Re(e){var t=TS(qb(e.c.d),e.d.d);return VI(t,e.d.e.a,e.d.e.b),wS(t,e.d.d)}function vRe(e){var t=/function(?:\s+([\w$]+))?\s*\(/.exec(e);return t&&t[1]||sdt}function yRe(e,t){if(e){t.n=e;var n=QDe(t);if(!n){XJ[e]=[t];return}n.Pm=t}}function bRe(e,t,n){var i,a=e.length;return i=r.Math.min(n,a),v3e(e,0,t,0,i,!0),t}function xRe(e,t,n){if(VM(e,n),!e.il()&&n!=null&&!e.dk(n))throw D(new hh);return n}function LA(e,t){var n;return dT(t),n=e[`:`+t],nC(!!n,`Enum constant undefined: `+t),n}function SRe(e,t){var n=e.c,r=t.e[e.p];return r>0?P(AC(n.a,r-1),9):null}function RA(e){if(!(e>=0))throw D(new sg(`tolerance (`+e+`) must be >= 0`));return e}function zA(){return W3||(W3=new Het,qM(W3,U(k(eX,1),$B,148,0,[new vf]))),W3}function BA(){BA=C,cjt=new Xv(`NO`,0),S2=new Xv(Qft,1),sjt=new Xv(`LOOK_BACK`,2)}function VA(){VA=C,h2=new Kv($H,0),p2=new Kv(`INPUT`,1),m2=new Kv(`OUTPUT`,2)}function HA(){HA=C,hTt=new jv(`ARD`,0),iQ=new jv(`MSD`,1),rQ=new jv(`MANUAL`,2)}function CRe(){return NR(),U(k(yTt,1),Z,267,0,[sQ,vTt,lQ,uQ,cQ,dQ,fQ,oQ,aQ])}function wRe(){return GR(),U(k(AAt,1),Z,268,0,[W0,DAt,OAt,V0,EAt,kAt,U0,B0,H0])}function TRe(){return Tz(),U(k(izt,1),Z,266,0,[U5,W5,H5,G5,K5,J5,q5,rzt,V5])}function ERe(){Cce();for(var e=Dyt,t=0;t<arguments.length;t++)e.push(arguments[t])}function UA(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],iO(e,n,e.c.b,e.c)}function DRe(e,t){var n;return M(t,45)?e.c.Kc(t):(n=zP(e,t),iF(e,t),n)}function WA(e,t,n){return gN(e,t),hj(e,n),AA(e,0),jA(e,1),MN(e,!0),jN(e,!0),e}function GA(e,t){var n=e.gc();if(t<0||t>n)throw D(new SS(t,n));return new tve(e,t)}function KA(e){var t,n;for(n=e.c.Bc().Jc();n.Ob();)t=P(n.Pb(),18),t.$b();e.c.$b(),e.d=0}function ORe(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)t=n[r],YCe(t,t.length,null)}function kRe(e,t){var n,r;for(n=0,r=e.gc();n<r;++n)if(xT(t,e.Xb(n)))return n;return-1}function ARe(e){var t,n;if(e==0)return 32;for(n=0,t=1;(t&e)==0;t<<=1)++n;return n}function qA(e,t){if(e<0)throw D(new sg(t+` cannot be negative but was: `+e));return e}function jRe(e,t){t.Tg(`Hierarchical port constraint processing`,1),_Je(e),dut(e),t.Ug()}function JA(e,t){e.b=r.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),$b(e.a,t)}function MRe(e){Vx(e.c>=0),pqe(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function NRe(e){$y.call(this,e.yd(64)?rpe(0,lP(e.xd(),1)):vV,e.wd()),this.b=1,this.a=e}function PRe(){Eme.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=$q}function FRe(e,t,n,r){this.$j(),this.a=t,this.b=e,this.c=null,this.c=new y_e(this,t,n,r)}function YA(e,t,n,r,i){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function IRe(e){Rce(),this.g=new oh,this.f=new oh,this.b=new oh,this.c=new mE,this.i=e}function LRe(){this.f=new Xg,this.d=new Iie,this.c=new Xg,this.a=new ah,this.b=new ah}function RRe(e){var t,n;for(n=new E(eXe(e));n.a<n.c.c.length;)t=P(z(n),685),t.Zf()}function zRe(e,t){var n,r,i=t.c.i;n=P(Zw(e.f,i),60),r=n.d.c-n.e.c,sA(t.b,new Pte(r))}function XA(e,t){return xse(Oj(e.a,t,RC(cP(EV,bT(RC(cP(t==null?0:Cj(t),DV)),15)))))}function BRe(e,t){return fA(),P(K(t,(Lz(),S4)),15).a<e.gc()&&P(K(t,S4),15).a>=0}function VRe(){VRe=C,bjt=bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)}function HRe(){HRe=C,xjt=bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)}function URe(){URe=C,Sjt=bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)}function WRe(){WRe=C,Cjt=bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)}function GRe(){GRe=C,wjt=bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)}function KRe(){KRe=C,Djt=bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)}function qRe(){qRe=C,Ajt=UC(bC(bC(new pT,(bL(),vX),(RB(),uZ)),yX,nZ),bX,lZ)}function JRe(){JRe=C,hbt=U(k(q9,1),JV,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function YRe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,0,n,e.b))}function XRe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,1,n,e.c))}function ZA(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,4,n,e.c))}function ZRe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,1,n,e.c))}function QRe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,1,n,e.d))}function QA(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,2,n,e.k))}function $A(e,t){var n=e.D;e.D=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,2,n,e.D))}function ej(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,8,n,e.f))}function tj(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,7,n,e.i))}function $Re(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,8,n,e.a))}function eze(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,0,n,e.b))}function tze(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new oae:new Ed,e.c=f9e(r,e.b,e.a)}function nze(e,t){return nz(e.e,t)?(rv(),Lk(t)?new xC(t,e):new Ly(t,e)):new Ide(t,e)}function rze(e){var t,n;return 0>e?new Tce:(t=e+1,n=new uNe(t,e),new Cge(null,n))}function ize(e,t){KT();var n=new D_(1);return Uy(e)?LE(n,e,t):XL(n.f,e,t),new vm(n)}function aze(e,t){var n=new T;P(t.b,68),P(t.b,68),P(t.b,68),sA(t.a,new kbe(e,n,t))}function oze(e,t){var n;return M(t,8)?(n=P(t,8),e.a==n.a&&e.b==n.b):!1}function sze(e){var t=K(e,(Y(),T$));return M(t,174)?aKe(P(t,174)):null}function cze(e){var t;return e=r.Math.max(e,2),t=YVe(e),e>t?(t<<=1,t>0?t:AV):t}function nj(e){switch(bme(e.e!=3),e.e){case 2:return!1;case 0:return!0}return hNe(e)}function lze(e){var t;return e.b==null?(nv(),nv(),u9):(t=e.sl()?e.rl():e.ql(),t)}function uze(e,t){var n,r;for(r=t.vc().Jc();r.Ob();)n=P(r.Pb(),45),HI(e,n.jd(),n.kd())}function dze(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,11,n,e.d))}function rj(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,13,n,e.j))}function fze(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,21,n,e.b))}function pze(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&e.g!=0&&pze(e.i,t/e.r*e.i.d))}function mze(e,t,n){var r,i,a=e.a.length-1;for(i=e.b,r=0;r<n;i=i+1&a,++r)Jw(t,r,e.a[i])}function ij(e,t){var n;return dT(t),n=t.g,e.b[n]?!1:(Jw(e.b,n,t),++e.c,!0)}function hze(e,t){var n=t==null?-1:vk(e.b,t,0);return n<0?!1:(aj(e,n),!0)}function aj(e,t){var n=MO(e.b,e.b.c.length-1);t<e.b.c.length&&(fO(e.b,t,n),i4e(e,t))}function gze(e,t){(hO(),jY?null:t.c).length==0&&cge(t,new be),LE(e.a,jY?null:t.c,t)}function _ze(e,t){var n=P(K(e,(PB(),p0)),8),r=P(K(t,p0),8);return RN(n.b,r.b)}function vze(e){jSe.call(this),this.b=O(N(K(e,(PB(),y0)))),this.a=P(K(e,A1),222)}function yze(e){this.e=e,this.d=new o_(Vj(JC(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function bze(e,t,n){ZAe.call(this,e,t,n),this.a=new oh,this.b=new oh,this.d=new ene(this)}function xze(e,t){P_(AT(new jC(null,new nD(new Zp(e.b),1)),new Que(e,t)),new ede(e,t))}function oj(){oj=C,uX=new Xm(bft),dX=new Xm(xft),lX=new Xm(Sft),cX=new Xm(Cft)}function sj(){sj=C,qX=new Ile(`TO_INTERNAL_LTR`,0),KX=new Ile(`TO_INPUT_DIRECTION`,1)}function cj(){cj=C,M4=new Nue(`P1_NODE_PLACEMENT`,0),N4=new Nue(`P2_EDGE_ROUTING`,1)}function lj(){lj=C,IZ=new Mv(`START`,0),FZ=new Mv(`MIDDLE`,1),PZ=new Mv(`END`,2)}function Sze(e){var t,n;for(n=new lx(e);n.e!=n.i.gc();)t=P(OF(n),26),TA(t,0),EA(t,0)}function Cze(e,t){var n,r=new ah;n=t;do ph(r.c,n),n=P(Zw(e.k,n),17);while(n);return r}function uj(e,t,n){var r=new ah;return R7e(e,t,r,n,!0,!0),e.b=new mj(r.c.length),r}function wze(e,t){var n=P(Zw(e.c,t),456);return n||(n=new Fie,n.c=t,ST(e.c,n.c,n)),n}function dj(e){var t;return IS(e.f.g,e.d),Bx(e.b),e.c=e.a,t=P(e.a.Pb(),45),e.b=pVe(e),t}function fj(e,t){var n=1-t,r=e.a[n];return e.a[n]=r.a[t],r.a[t]=e,e.b=!0,r.b=!1,r}function pj(e,t){var n=e.Nc(),r;for(sk(n,0,n.length,t),r=0;r<n.length;r++)e.fd(r,n[r])}function Tze(e){var t,n;for(n=e.c.a.ec().Jc();n.Ob();)t=P(n.Pb(),218),Ap(t,new gCe(t.f))}function Eze(e){var t,n;for(n=e.c.a.ec().Jc();n.Ob();)t=P(n.Pb(),218),jp(t,new M1e(t.e))}function Dze(){this.c=new d_(0),this.b=new d_(Gmt),this.d=new d_(Umt),this.a=new d_(Wmt)}function mj(e){this.b=e,this.a=V(q9,JV,30,e+1,15,1),this.c=V(q9,JV,30,e,15,1),this.d=0}function hj(e,t){var n=e.zb;e.zb=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,1,n,e.zb))}function gj(e,t){var n=(r=new zh,r),r;n.n=t,XO((!e.s&&(e.s=new F(N7,e,21,17)),e.s),n)}function _j(e,t){var n,r=(n=new ige,n);r.n=t,XO((!e.s&&(e.s=new F(N7,e,21,17)),e.s),r)}function vj(e,t){var n=e.xb;e.xb=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,3,n,e.xb))}function yj(e,t){var n=e.yb;e.yb=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,2,n,e.yb))}function Oze(e,t){var n;return M(t,18)?(n=P(t,18),e.Fc(n)):Rk(e,P(Kw(t),20).Jc())}function bj(e,t){var n,r,i;for(dT(t),n=!1,i=t.Jc();i.Ob();)r=i.Pb(),n|=e.Ec(r);return n}function kze(e){var t=0,n,r;for(r=e.Jc();r.Ob();)n=r.Pb(),t+=n==null?0:Cj(n),t=~~t;return t}function Aze(e,t){var n=e.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(t[r++]=i);return t}function jze(e){var t;return e==0?`UTC`:(e<0?(e=-e,t=`UTC+`):t=`UTC-`,t+AIe(e))}function Mze(e){return e.a<54?e.f<0?-1:+(e.f>0):(!e.c&&(e.c=rD(Hj(e.f))),e.c).e}function Nze(e,t){t?e.B??(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function Pze(e,t){t.Tg(Kft,1),P_(Bk(new jC(null,new nD(e.b,16)),new Gt),new Kt),t.Ug()}function Fze(e,t,n,r,i,a){var o;this.c=e,o=new ah,kYe(e,o,t,e.b,n,r,i,a),this.a=new bD(o,0)}function xj(e,t,n,r,i,a,o,s,c,l,u,d,f){return N2e(e,t,n,r,i,a,o,s,c,l,u,d,f),nP(e,!1),e}function Ize(e,t){typeof window===WB&&typeof window.$gwt===WB&&(window.$gwt[e]=t)}function Lze(e,t,n){var r=0,i,a;for(i=0;i<n;i++)a=t[i],e[i]=a<<1|r,r=a>>>31;r!=0&&(e[n]=r)}function Rze(e,t,n){n.Tg(`DFS Treeifying phase`,1),RKe(e,t),_7e(e,t),e.a=null,e.b=null,n.Ug()}function zze(e,t){var n;t.Tg(`General Compactor`,1),n=$Ge(P(J(e,(PL(),H4)),386)),n.Bg(e)}function Bze(e,t){var n=P(J(e,(PL(),U4)),15),r=P(J(t,U4),15);return Ub(n.a,r.a)}function Vze(e,t,n){var r,i;for(i=TF(e,0);i.b!=i.d.c;)r=P(RD(i),8),r.a+=t,r.b+=n;return e}function Hze(e,t,n,r){var i=new Yh;ZT(i,`x`,tL(e,t,r.a)),ZT(i,`y`,nL(e,t,r.b)),$w(n,i)}function Uze(e,t,n,r){var i=new Yh;ZT(i,`x`,tL(e,t,r.a)),ZT(i,`y`,nL(e,t,r.b)),$w(n,i)}function Wze(){return bz(),U(k(UAt,1),Z,243,0,[o2,i2,a2,BAt,VAt,zAt,HAt,s2,n2,r2])}function Gze(){return oz(),U(k(LQ,1),Z,261,0,[OQ,AQ,jQ,MQ,NQ,PQ,IQ,DQ,kQ,FQ])}function Kze(){Kze=C,l9=new $ie,PBt=U(k(N7,1),uJ,179,0,[]),NBt=U(k(B7,1),yvt,62,0,[])}function Sj(){Sj=C,bZ=new lS(`edgelabelcenterednessanalysis.includelabel`,(mx(),cY))}function qze(e,t){return O(N(yx(ON(jT(new jC(null,new nD(e.c.b,16)),new Hte(e)),t))))}function Jze(e,t){return O(N(yx(ON(jT(new jC(null,new nD(e.c.b,16)),new Vte(e)),t))))}function Cj(e){return Uy(e)?HM(e):Hy(e)?ob(e):Vy(e)?gge(e):YSe(e)?e.Hb():ESe(e)?jx(e):HEe(e)}function Yze(e,t){return Ib(),RA(eU),r.Math.abs(0-t)<=eU||t==0?0:e/t}function Xze(e,t){return xM(),e==EX&&t==DX||e==EX&&t==OX||e==kX&&t==OX||e==kX&&t==DX}function Zze(e,t){return xM(),e==EX&&t==kX||e==kX&&t==EX||e==OX&&t==DX||e==DX&&t==OX}function wj(){wj=C,UCt=new Pt,VCt=new Ft,HCt=new It,BCt=new Lt,WCt=new Rt,GCt=new tee}function Qze(e){var t=DD(e);return Wy(t.a,0)?(N_(),N_(),Qbt):(N_(),new che(t.b))}function $ze(e){var t=UAe(e);return Wy(t.a,0)?(A_(),A_(),Zbt):(A_(),new zx(t.b))}function eBe(e){var t=UAe(e);return Wy(t.a,0)?(A_(),A_(),Zbt):(A_(),new zx(t.c))}function tBe(e){return e.b.c.i.k==(MR(),RX)?P(K(e.b.c.i,(Y(),T$)),12):e.b.c}function nBe(e){return e.b.d.i.k==(MR(),RX)?P(K(e.b.d.i,(Y(),T$)),12):e.b.d}function rBe(e){switch(e.g){case 2:return wB(),N5;case 4:return wB(),p5;default:return e}}function iBe(e){switch(e.g){case 1:return wB(),j5;case 3:return wB(),m5;default:return e}}function aBe(e,t){var n=K$e(e);return W4e(new A(n.c,n.d),new A(n.b,n.a),e.Kf(),t,e.$f())}function oBe(e,t){t.Tg(Kft,1),KGe(Fce(new Fm((V_(),new RT(e,!1,!1,new Mt))))),t.Ug()}function sBe(){sBe=C,jjt=oF(Gde(bC(bC(new pT,(bL(),vX),(RB(),uZ)),yX,nZ),bX),lZ)}function cBe(){cBe=C,Fjt=oF(Gde(bC(bC(new pT,(bL(),vX),(RB(),uZ)),yX,nZ),bX),lZ)}function lBe(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new ah,u4e(this),KT(),Vb(this.a,null)}function Tj(e,t,n,r,i,a,o){y_.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=OO(o)}function uBe(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function Ej(e,t){var n,r;for(dT(t),r=t.vc().Jc();r.Ob();)n=P(r.Pb(),45),e.yc(n.jd(),n.kd())}function dBe(e,t,n){var r;for(r=n.Jc();r.Ob();)if(!GD(e,t,r.Pb()))return!1;return!0}function Dj(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&cT(t,r.g))return r;return null}function Oj(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&cT(t,r.i))return r;return null}function fBe(e,t){var n;for(Kw(t);e.Ob();)if(n=e.Pb(),!$Be(P(n,9)))return!1;return!0}function pBe(e,t,n,r,i){var a;return n&&(a=NP(t.Ah(),e.c),i=n.Oh(t,-1-(a==-1?r:a),null,i)),i}function mBe(e,t,n,r,i){var a;return n&&(a=NP(t.Ah(),e.c),i=n.Qh(t,-1-(a==-1?r:a),null,i)),i}function hBe(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function gBe(e){var t,n,r;return e.j==(wB(),m5)&&(t=K3e(e),n=wx(t,p5),r=wx(t,N5),r||r&&n)}function _Be(e){var t,n,r=0;for(n=new E(e.b);n.a<n.c.c.length;)t=P(z(n),25),t.p=r,++r}function kj(e,t){var n,r;for(r=TF(e,0);r.b!=r.d.c;)n=P(RD(r),8),n.a+=t.a,n.b+=t.b;return e}function vBe(e,t){var n,r,i=e.c,a;return n=e.c+e.b,a=e.d,r=e.d+e.a,t.a>i&&t.a<n&&t.b>a&&t.b<r}function yBe(e,t){t.q=e,e.d=r.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),$b(e.a,t)}function bBe(e,t){return t<e.b.gc()?P(e.b.Xb(t),9):t==e.b.gc()?e.a:P(AC(e.e,t-e.b.gc()-1),9)}function Aj(e,t){return mx(),Uy(e)?FNe(e,tS(t)):Hy(e)?iCe(e,N(t)):Vy(e)?rCe(e,eS(t)):e.Dd(t)}function jj(e,t){var n;M(t,92)?(P(e.c,77).Ek(),n=P(t,92),uze(e,n)):P(e.c,77).Wb(t)}function Mj(e,t){var n,r;for(dT(t),r=e.vc().Jc();r.Ob();)n=P(r.Pb(),45),t.Wd(n.jd(),n.kd())}function Nj(e,t){sC.call(this,RBt,e,t),this.b=this,this.a=$R(e.Ah(),eA(this.e.Ah(),this.c))}function Pj(e){this.f=e,this.e=new _Me(this.f.i),this.a=this.e,this.b=pVe(this),this.d=this.f.g}function xBe(e){if(dT(e),e.length==0)throw D(new Ag(`Zero length BigInteger`));Wtt(this,e)}function Fj(e,t,n,r){var i=e.a.length;n>i?n=i:sD(t,n+1),e.a=dE(e.a,0,t)+(``+r)+xwe(e.a,n)}function SBe(e,t,n,r){M(e.Cb,184)&&(P(e.Cb,184).tb=null),hj(e,n),t&&Y4e(e,t),r&&e.el(!0)}function CBe(e,t){var n,r;for(r=new E(t.b);r.a<r.c.c.length;)n=P(z(r),25),e.a[n.p]=A1e(n)}function Ij(e,t){var n;for(n=0;n<t.j.c.length;n++)P(bk(e,n),22).Fc(P(bk(t,n),18));return e}function wBe(e,t){var n=att(zA(),e);return n?(IF(t,(LB(),i8),n),!0):!1}function Lj(e,t,n){var r,i=P(OS(e.d,t),15);return r=P(OS(e.b,n),15),!i||!r?null:BO(e,i.a,r.a)}function TBe(e,t){var n;t.Tg(`Edge and layer constraint edge reversal`,1),n=Oet(e),cct(n),t.Ug()}function EBe(e,t){e.a=sP(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d=sP(e.d,t)}function DBe(){var e;return fxt||(fxt=new vie,e=new mO(``),qfe(e,(j_(),dxt)),gze(fxt,e)),fxt}function OBe(e){return oS(),e.A.Gc((tF(),I5))&&!e.B.Gc((Tz(),W5))?wKe(e):null}function kBe(){this.a=P(DF((Mz(),rX)),15).a,this.c=O(N(DF(oX))),this.b=O(N(DF(aX)))}function ABe(){ABe=C,RCt=dN((MR(),U(k(GX,1),Z,249,0,[HX,BX,RX,UX,zX,LX,WX,VX])))}function jBe(){jBe=C,UIt=dN((BL(),U(k(HIt,1),Z,285,0,[VIt,Q3,n6,i6,$3,e6,t6,r6])))}function MBe(){MBe=C,Yzt=dN((SR(),U(k(S7,1),Z,244,0,[Jzt,b7,x7,y7,qzt,v7,_7,Kzt])))}function NBe(){NBe=C,oTt=dN((dz(),U(k(aTt,1),Z,275,0,[zZ,HZ,RZ,GZ,VZ,BZ,WZ,UZ])))}function PBe(){return xz(),U(k(PMt,1),Z,264,0,[X2,DMt,jMt,MMt,AMt,EMt,NMt,wMt,kMt,OMt,TMt])}function FBe(e,t,n){return RN(tx(xF(e),new A(t.e.a,t.e.b)),tx(xF(e),new A(n.e.a,n.e.b)))}function IBe(e,t,n){return e==(pN(),k2)?new _a:FR(t,1)==0?new Poe(n.length):new Noe(n.length)}function Rj(e,t){var n=e.qh(),r,i;if(n!=null&&e.th())for(r=0,i=n.length;r<i;++r)n[r].bj(t)}function zj(e,t){for(var n=e,r=lT(n).e;r;){if(n=r,n==t)return!0;r=lT(n).e}return!1}function Bj(e){var t=e.h;return t==0?e.l+e.m*sH:t==aH?e.l+e.m*sH-cH:e}function LBe(e,t,n){var r=e.a.f[t.p],i=e.a.f[n.p];return r<i?-1:r==i?0:1}function Vj(e){return e<3?(qA(e,ndt),e+1):e<AV?xE(r.Math.ceil(e/.75)):JB}function Hj(e){return uH<e&&e<cH?e<0?r.Math.ceil(e):r.Math.floor(e):Bj(W5e(e))}function RBe(e){switch(e.a.g){case 1:return new Wue;case 3:return new iXe;default:return new uf}}function zBe(e,t){e.c&&(btt(e,t,!0),P_(new jC(null,new nD(t,16)),new Jte(e))),btt(e,t,!1)}function BBe(e){$fe();var t;return ple(z2,e)||(t=new Qa,t.a=e,Bge(z2,e,t)),P(CT(z2,e),635)}function VBe(e){var t;if(e.a==e.b.a)throw D(new xh);return t=e.a,e.c=t,e.a=P(uT(e.a.e),227),t}function HBe(e){var t;e.d==null?(++e.e,e.f=0,JUe(null)):(++e.e,t=e.d,e.d=null,e.f=0,JUe(t))}function Uj(e,t){var n;return(e.Db&t)==0?null:(n=mI(e,t),n==-1?e.Eb:gA(e.Eb)[n])}function Wj(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw D(new xh)}function UBe(e,t){var n,r;for(r=new E(t);r.a<r.c.c.length;)n=P(z(r),70),$b(e.d,n),j1e(e,n)}function WBe(e,t){var n,r;for(r=new lx(e);r.e!=r.i.gc();)n=P(OF(r),26),xb(n,n.i+t.b,n.j+t.d)}function Gj(e,t){var n=(r=new Cf,r),r;return n.G=t,!e.rb&&(e.rb=new hw(e,F7,e)),XO(e.rb,n),n}function Kj(e,t){var n=(r=new Sh,r),r;return n.G=t,!e.rb&&(e.rb=new hw(e,F7,e)),XO(e.rb,n),n}function qj(e){var t,n,r=0;for(n=new T_(e.a);n.a<n.c.a.length;)t=JD(n),e.b.Gc(t)&&++r;return r}function GBe(e){var t=1,n,r;for(r=e.Jc();r.Ob();)n=r.Pb(),t=31*t+(n==null?0:Cj(n)),t=~~t;return t}function Jj(e){var t;return e<128?(Jxe(),t=pbt[e],!t&&(t=pbt[e]=new $p(e)),t):new $p(e)}function Yj(e){var t,n,r,i=e;return r=0,i<0&&(i+=cH,r=aH),n=xE(i/sH),t=xE(i-n*sH),Wb(t,n,r)}function KBe(e,t){var n=e.a.get(t);return n===void 0?++e.d:(Rge(e.a,t),--e.c,++e.b.g),n}function Xj(e,t){var n;return t?(n=t.lf(),n.dc()||(e.q?Ej(e.q,n):e.q=new Kde(n)),e):e}function qBe(e,t){var n=t.p-e.p,r,i;return n==0?(r=e.f.a*e.f.b,i=t.f.a*t.f.b,RN(r,i)):n}function JBe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return vAe(e,t)}function YBe(e){return e.b.c.length!=0&&P(AC(e.b,0),70).a?P(AC(e.b,0),70).a:PT(e)}function XBe(e,t){var n;try{t.be()}catch(t){if(t=hM(t),M(t,80))n=t,ph(e.c,n);else throw D(t)}}function Zj(e,t,n){this.b=(dT(e),e),this.d=(dT(t),t),this.e=(dT(n),n),this.c=this.d+(``+this.e)}function Qj(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(rv(),P(e,69).vk()),this.k=$R(t.e.Ah(),e)}function ZBe(e,t,n,r,i){OHe.call(this,e,n,r,i),this.f=V(IX,tW,9,t.a.c.length,0,1),gF(t.a,this.f)}function $j(e,t,n,r,i){Jw(e.c[t.g],n.g,r),Jw(e.c[n.g],t.g,r),Jw(e.b[t.g],n.g,i),Jw(e.b[n.g],t.g,i)}function QBe(e,t){var n=e.j,r=t.j;return n==r?e.p==t.p?0:n==(wB(),m5)?e.p-t.p:t.p-e.p:n.g-r.g}function $Be(e){var t=P(K(e,(Y(),s$)),64);return e.k==(MR(),RX)&&(t==(wB(),N5)||t==p5)}function eVe(){eVe=C,bTt=dN((NR(),U(k(yTt,1),Z,267,0,[sQ,vTt,lQ,uQ,cQ,dQ,fQ,oQ,aQ])))}function tVe(){tVe=C,jAt=dN((GR(),U(k(AAt,1),Z,268,0,[W0,DAt,OAt,V0,EAt,kAt,U0,B0,H0])))}function nVe(){nVe=C,azt=dN((Tz(),U(k(izt,1),Z,266,0,[U5,W5,H5,G5,K5,J5,q5,rzt,V5])))}function rVe(){rVe=C,zRt=dN((wR(),U(k(Y8,1),Z,96,0,[V8,B8,U8,J8,q8,K8,W8,G8,H8])))}function eM(){eM=C,$Y=new lS(`debugSVG`,(mx(),!1)),mSt=new lS(`overlapsExisted`,!0)}function tM(){tM=C,ZY=new gv(`UP`,0),JY=new gv(rU,1),YY=new gv(XH,2),XY=new gv(ZH,3)}function nM(){nM=C,J4=new oy(YU,0),OPt=new oy(`POLAR_COORDINATE`,1),DPt=new oy(`ID`,2)}function rM(){rM=C,zQ=new zv(`ONE_SIDED`,0),BQ=new zv(`TWO_SIDED`,1),RQ=new zv(`OFF`,2)}function iM(){iM=C,QAt=new qv(`EQUALLY`,0),g2=new qv(`NORTH`,1),$At=new qv(`NORTH_SOUTH`,2)}function aM(){aM=C,w2=new uue(`OFF`,0),T2=new uue(`SINGLE_EDGE`,1),C2=new uue(`MULTI_EDGE`,2)}function oM(){oM=C,TZ=new Dv(YH,0),EZ=new Dv(XH,1),DZ=new Dv(ZH,2),OZ=new Dv(`TOP`,3)}function sM(){sM=C,U3=new zue(`MINIMUM_SPANNING_TREE`,0),OIt=new zue(`MAXIMUM_SPANNING_TREE`,1)}function iVe(e){e.r=new Dh,e.w=new Dh,e.t=new ah,e.i=new ah,e.d=new Dh,e.a=new Ob,e.c=new oh}function cM(e){this.n=new ah,this.e=new E_,this.j=new E_,this.k=new ah,this.f=new ah,this.p=e}function aVe(e){switch(e.g){case 0:return new Us;case 1:return new Gs;default:return null}}function oVe(){return hO(),jY?new mO(null):R3e(DBe(),`com.google.common.base.Strings`)}function sVe(e){var t;if(e){if(t=e,t.dc())throw D(new xh);return t.Xb(t.gc()-1)}return WOe(e.Jc())}function lM(e){var t;return(!e.a||!(e.Bb&1)&&e.a.Sh())&&(t=LI(e),M(t,159)&&(e.a=P(t,159))),e.a}function cVe(e,t,n){var r,i,a=null;return i=ND(t,Cq),r=new ide(e,n),a=(GZe(r.a,r.b,i),i),a}function uM(e,t){var n,r=(n=new Ml,n);return hj(r,t),XO((!e.A&&(e.A=new ox(W7,e,7)),e.A),r),r}function dM(e,t,n,r){return n==1?(!e.n&&(e.n=new F(f7,e,1,7)),RF(e.n,t,r)):U1e(e,t,n,r)}function lVe(e,t,n,r){P(n.b,68),P(n.b,68),P(r.b,68),P(r.b,68),P(r.b,68),sA(r.a,new Obe(e,t,r))}function uVe(e,t){e.d==(WN(),g8)||e.d==y8?P(t.a,60).c.Ec(P(t.b,60)):P(t.b,60).c.Ec(P(t.a,60))}function fM(e,t,n){var r,i,a,o=lT(e);r=o.d,i=o.c,a=e.n,t&&(a.a=a.a-r.b-i.a),n&&(a.b=a.b-r.d-i.b)}function dVe(e,t,n){var r,i=P(K(e,(PB(),z1)),78);i&&(r=new Rh,aN(r,0,i),kj(r,n),bj(t,r))}function pM(e,t){var n=t.Nc();return n.length==0?!1:(Gbe(e.c,e.c.length,n),!0)}function mM(e,t){var n,r;for(dT(t),r=t.Jc();r.Ob();)if(n=r.Pb(),!e.Gc(n))return!1;return!0}function fVe(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(DN(t,vN(e)))return!0;return!1}function pVe(e){return e.a.Ob()?!0:e.a==e.e?(e.a=new QPe(e.f.f),e.a.Ob()):!1}function hM(e){var t;return M(e,80)?e:(t=e&&e.__java$exception,t||(t=new yUe(e),iie(t)),t)}function gM(e){if(M(e,193))return P(e,125);if(e)return null;throw D(new lg(__t))}function mVe(e){switch(P(K(e,(PB(),B1)),165).g){case 2:case 4:return!0;default:return!1}}function hVe(e,t){var n=e.c,r=t.e[e.p];return r<n.a.c.length-1?P(AC(n.a,r+1),9):null}function gVe(e){var t,n;for(Ait(e),n=new E(e.d);n.a<n.c.c.length;)t=P(z(n),107),t.i&&E0e(t)}function _Ve(e,t){var n,r;for(r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),70),W(n,(Y(),g$),t)}function vVe(e,t,n){var r,i;for(i=new E(e.b);i.a<i.c.c.length;)r=P(z(i),26),xb(r,r.i+t,r.j+n)}function _M(e){var t=new E_,n,r;for(r=TF(e.d,0);r.b!=r.d.c;)n=P(RD(r),65),pC(t,n.c);return t}function yVe(e){var t=1,n,r,i;for(n=0,i=e.gc();n<i;++n)r=e.Ti(n),t=31*t+(r==null?0:Cj(r));return t}function bVe(e){var t,n=(t=new Ml,t);return hj(n,`T`),XO((!e.d&&(e.d=new ox(W7,e,11)),e.d),n),n}function xVe(e,t){var n=Ix(t.a.gc());return P_($k(new jC(null,new nD(t,1)),e.i),new Hue(e,n)),n}function SVe(e,t,n,r){var i;return wD(t,e.e.Pd().gc()),wD(n,e.c.Pd().gc()),i=e.a[t][n],Jw(e.a[t],n,r),i}function U(e,t,n,r,i){return i.Pm=e,i.Qm=t,i.Rm=ne,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function CVe(e,t,n,i,a){return sz(),r.Math.min(Sst(e,t,n,i,a),Sst(n,i,e,t,Yx(new A(a.a,a.b))))}function wVe(e,t){return!e||!t||e==t?!1:nqe(e.d.c,t.d.c+t.d.b)&&nqe(t.d.c,e.d.c+e.d.b)}function TVe(e,t){if(!e)throw D(new sg(mz(`value already present: %s`,U(k(ZJ,1),$B,1,5,[t]))))}function EVe(e,t){var n=e.l+t.l,r=e.m+t.m+(n>>22),i=e.h+t.h+(r>>22);return Wb(n&iH,r&iH,i&aH)}function DVe(e,t){var n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22);return Wb(n&iH,r&iH,i&aH)}function vM(e){var t,n,r,i=new ah;for(r=e.Jc();r.Ob();)n=P(r.Pb(),26),t=iz(n),pM(i,t);return i}function OVe(e){var t;Bz(e,!0),t=kV,Kx(e,(PB(),m0))&&(t+=P(K(e,m0),15).a),W(e,m0,G(t))}function kVe(e,t,n){var r;aw(e.a),sA(n.i,new zne(e)),r=new Gb(P(Zw(e.a,t.b),68)),Dqe(e,r,t),n.f=r}function AVe(e){var t,n=($g(),t=new Yc,t);return e&&XO((!e.a&&(e.a=new F(a7,e,6,6)),e.a),n),n}function yM(e,t){var n,r=0;if(e<64&&e<=t)for(t=t<64?t:63,n=e;n<=t;n++)r=dD(r,$C(1,n));return r}function jVe(e,t){var n,r;for(eE(t,`predicate`),r=0;e.Ob();r++)if(n=e.Pb(),t.Lb(n))return r;return-1}function MVe(e,t){switch(t){case 0:!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),e.o.c.$b();return}RL(e,t)}function NVe(e){switch(e.g){case 1:return L8;case 2:return I8;case 3:return R8;default:return z8}}function PVe(e){KT();var t,n,r=0;for(n=e.Jc();n.Ob();)t=n.Pb(),r+=t==null?0:Cj(t),r|=0;return r}function FVe(e){var t=new S;return t.a=e,t.b=XVe(e),t.c=V(vY,X,2,2,6,1),t.c[0]=jze(e),t.c[1]=jze(e),t}function bM(){bM=C,wZ=new Tv(YU,0),SZ=new Tv(Yft,1),CZ=new Tv(Xft,2),xZ=new Tv(`BOTH`,3)}function xM(){xM=C,EX=new xv(`Q1`,0),kX=new xv(`Q4`,1),DX=new xv(`Q2`,2),OX=new xv(`Q3`,3)}function SM(){SM=C,UQ=new iue(`ONLY_WITHIN_GROUP`,0),KTt=new iue(jft,1),HQ=new iue(`ENFORCED`,2)}function CM(){CM=C,hQ=new Iv(YU,0),mQ=new Iv(`INCOMING_ONLY`,1),gQ=new Iv(`OUTGOING_ONLY`,2)}function wM(){wM=C,new Xm(`org.eclipse.elk.addLayoutConfig`),NIt=new Qs,MIt=new $s,PIt=new Zs}function TM(){TM=C,abt={boolean:xce,number:Vae,string:Hae,object:W2e,function:W2e,undefined:Jre}}function IVe(){IVe=C,WAt=dN((bz(),U(k(UAt,1),Z,243,0,[o2,i2,a2,BAt,VAt,zAt,HAt,s2,n2,r2])))}function LVe(){LVe=C,WTt=dN((oz(),U(k(LQ,1),Z,261,0,[OQ,AQ,jQ,MQ,NQ,PQ,IQ,DQ,kQ,FQ])))}function RVe(e,t,n,r){return new gle(U(k(tY,1),SV,45,0,[(sI(e,t),new g_(e,t)),(sI(n,r),new g_(n,r))]))}function zVe(e,t){return yrt(P(P(Zw(e.g,t.a),49).a,68),P(P(Zw(e.g,t.b),49).a,68))}function BVe(e,t,n){var r=e.gc();if(t>r)throw D(new SS(t,r));return e.Qi()&&(n=oOe(e,n)),e.Ci(t,n)}function VVe(e){var t,n=e.n,r=e.o;return t=e.d,new zT(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function HVe(e,t){return!e||!t||e==t?!1:wP(e.b.c,t.b.c+t.b.b)<0&&wP(t.b.c,e.b.c+e.b.b)<0}function EM(e,t,n){return e>=128?!1:Ky(e<64?uD($C(1,e),n):uD($C(1,e-64),t),0)}function DM(e,t,n){switch(n.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function OM(e,t,n){return n==null?(!e.q&&(e.q=new oh),jO(e.q,t)):(!e.q&&(e.q=new oh),ST(e.q,t,n)),e}function W(e,t,n){return n==null?(!e.q&&(e.q=new oh),jO(e.q,t)):(!e.q&&(e.q=new oh),ST(e.q,t,n)),e}function UVe(e){var t,n=new FO;return Xj(n,e),W(n,(oj(),uX),e),t=new oh,ait(e,n,t),Qst(e,n,t),n}function WVe(e){sz();var t,n=V(o6,X,8,2,0,1),r=0;for(t=0;t<2;t++)r+=.5,n[t]=CYe(r,e);return n}function GVe(e,t){var n=!1,r=e.a[t].length,i,a;for(a=0;a<r-1;a++)i=a+1,n|=YKe(e,t,a,i);return n}function KVe(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r<i;++r)t=n[r],aHe(e,t,(wB(),j5)),aHe(e,t,m5)}function kM(e){var t=~e.l+1&iH,n=~e.m+ +(t==0)&iH;return Wb(t,n,~e.h+ +(t==0&&n==0)&aH)}function qVe(e){var t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d;return t||n}function JVe(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=LI(e),M(t,88)&&(e.c=P(t,29))),e.c}function YVe(e){var t;if(e<0)return LV;if(e==0)return 0;for(t=AV;(t&e)==0;t>>=1);return t}function XVe(e){var t;return e==0?`Etc/GMT`:(e<0?(e=-e,t=`Etc/GMT-`):t=`Etc/GMT+`,t+AIe(e))}function ZVe(e){var t,n=pR(e.h);return n==32?(t=pR(e.m),t==32?pR(e.l)+32:t+20-10):n-12}function AM(e){var t=~e.l+1&iH,n=~e.m+ +(t==0)&iH,r=~e.h+ +(t==0&&n==0)&aH;e.l=t,e.m=n,e.h=r}function jM(e){var t=e.a[e.b];return t==null?null:(Jw(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function QVe(){++Myt,this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function $Ve(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function eHe(e,t){this.b=e,db.call(this,(P(H(R((Uw(),K7).o),10),19),t.i),t.g),this.a=(Kze(),PBt)}function tHe(e,t,n){this.q=new r.Date,this.q.setFullYear(e+qV,t,n),this.q.setHours(0,0,0,0),Hz(this,0)}function nHe(e,t,n){var r=new XPe(t,n),i=new ve;return e.b=o9e(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function rHe(e,t){KT();var n,r,i,a,o=!1;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],o|=e.Ec(n);return o}function iHe(e,t,n,r,i){var a,o=e.length;if(a=n.length,t<0||r<0||i<0||t+i>o||r+i>a)throw D(new aie)}function aHe(e,t,n){var r,i,a,o=kN(t,n);for(a=0,i=o.Jc();i.Ob();)r=P(i.Pb(),12),ST(e.c,r,G(a++))}function MM(e){var t,n;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),82),t.g.c=-t.g.c-t.g.b;WR(e)}function NM(e){var t,n;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),60),t.d.c=-t.d.c-t.d.b;q5e(e)}function oHe(e){var t=P(e.e&&e.e(),10),n;return new FS(t,(n=t.slice(),P(jFe(n,t),10)),t.length)}function PM(e){var t=new Xg,n,r,i,a;for(r=e,i=0,a=r.length;i<a;++i)n=r[i],t.a+=n.a,t.b+=n.b;return t}function sHe(e,t,n){var r=new ah;return R7e(e,t,r,(wB(),p5),!0,!1),R7e(e,n,r,N5,!1,!1),r}function FM(e,t,n){var r,i,a=null;return i=ND(t,`labels`),r=new mde(e,n),a=(I6e(r.a,r.b,i),i),a}function cHe(e,t){return tx(xF(P(K(t,(Lz(),b4)),86)),new A(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function lHe(e,t,n){return!u_(AT(new jC(null,new nD(e.c,16)),new wm(new $ue(t,n)))).zd((M_(),PY))}function IM(){IM=C,Wwt=new ur,Gwt=new dr,Uwt=new fr,Hwt=new pr,Vwt=new mr,Bwt=(dT(Vwt),new le)}function uHe(e,t){switch(t.g){case 0:M(e.b,631)||(e.b=new kBe);break;case 1:M(e.b,632)||(e.b=new fxe)}}function dHe(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return XGe(e,t)}function fHe(e,t){for(;e.g==null&&!e.c?aOe(e):e.g==null||e.i!=0&&P(e.g[e.i-1],50).Ob();)t.Bi(jR(e))}function pHe(e,t){nC(e>=0,`Negative initial capacity`),nC(t>=0,`Non-positive load factor`),aw(this)}function mHe(e,t){var n;for(n=0;n<e.a.a.length;n++)if(!P(dSe(e.a,n),178).Lb(t))return!1;return!0}function hHe(e,t,n,r){var i=a8e(e,t,n,r);return!i&&(i=zWe(e,n,r),i&&!uB(e,t,i))?null:i}function gHe(e,t,n,r){var i=o8e(e,t,n,r);return!i&&(i=IN(e,n,r),i&&!uB(e,t,i))?null:i}function _He(e,t,n,r,i){var a=_6e(e,t);return n&&AM(a),i&&(e=jYe(e,t),sY=r?kM(e):Wb(e.l,e.m,e.h)),a}function vHe(e,t,n){e.g=UL(e,t,(wB(),p5),e.b),e.d=UL(e,n,p5,e.b),!(e.g.c==0||e.d.c==0)&&F1e(e)}function yHe(e,t,n){e.g=UL(e,t,(wB(),N5),e.j),e.d=UL(e,n,N5,e.j),!(e.g.c==0||e.d.c==0)&&F1e(e)}function bHe(e,t,n){if(Kw(t),n.Ob())for(Lde(t,Uwe(n.Pb()));n.Ob();)Lde(t,e.a),Lde(t,Uwe(n.Pb()));return t}function xHe(e){KT();var t,n,r=1;for(n=e.Jc();n.Ob();)t=n.Pb(),r=31*r+(t==null?0:Cj(t)),r|=0;return r}function SHe(e){var t=new Rh,n,r;for(r=TF(e,0);r.b!=r.d.c;)n=P(RD(r),8),Rx(t,0,new mb(n));return t}function LM(e){var t,n;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),82),t.f.$b();Pae(e.b,e),o7e(e)}function RM(e){var t;return iT(e),t=new ke,e.a.zd(t)?(Qb(),new Xh(dT(t.a))):(Qb(),Qb(),Xbt)}function CHe(e){var t;return e.b<=0?!1:(t=sb(`MLydhHmsSDkK`,hL(wT(e.c,0))),t>1||t>=0&&e.b<3)}function wHe(){zB();var e;return NVt||(e=nhe(DB(`M`,!0)),e=LC(DB(`M`,!1),e),NVt=e,NVt)}function THe(e){switch(e.g){case 0:return new Xs;default:throw D(new sg(TK+(e.f==null?``+e.g:e.f)))}}function EHe(e){switch(e.g){case 0:return new Js;default:throw D(new sg(TK+(e.f==null?``+e.g:e.f)))}}function DHe(e,t,n){switch(t){case 0:!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),jj(e.o,n);return}QL(e,t,n)}function zM(e,t,n){this.g=e,this.e=new Xg,this.f=new Xg,this.d=new E_,this.b=new E_,this.a=t,this.c=n}function BM(e,t,n,r){this.b=new ah,this.n=new ah,this.i=r,this.j=n,this.s=e,this.t=t,this.r=0,this.d=0}function OHe(e,t,n,r){this.b=new oh,this.g=new oh,this.d=(mN(),K0),this.c=e,this.e=t,this.d=n,this.a=r}function VM(e,t){if(!e.Ji()&&t==null)throw D(new sg(`The 'no null' constraint is violated`));return t}function kHe(e){switch(e.g){case 1:return Umt;default:case 2:return 0;case 3:return Wmt;case 4:return Gmt}}function AHe(e){return $b(e.c,(wM(),NIt)),VLe(e.a,O(N(DF((PP(),z0)))))?new uee:new Gne(e)}function jHe(e){for(;!e.d||!e.d.Ob();)if(e.b&&!mg(e.b))e.d=P(Cw(e.b),50);else return null;return e.d}function HM(e){var t=0,n;for(n=0;n<e.length;n++)t=(t<<5)-t+(sD(n,e.length),e.charCodeAt(n))|0;return t}function MHe(e){var t=P(K(e,(Y(),O$)),9),n;t&&(n=t.c,_k(n.a,t),n.a.c.length==0&&_k(lT(t).b,n))}function NHe(e,t){var n=P(J(e,(uz(),p3)),15).a,r=P(J(t,p3),15).a;return n==r||n<r?-1:+(n>r)}function PHe(e,t){for(var n,r,i=e.b;i;){if(n=e.a.Le(t,i.d),n==0)return i;r=n<0?0:1,i=i.a[r]}return null}function UM(e,t){var n;return t===e?!0:M(t,229)?(n=P(t,229),DN(e.Zb(),n.Zb())):!1}function FHe(e,t){return B5e(e,t)?(fR(e.b,P(K(t,(Y(),i$)),22),t),pC(e.a,t),!0):!1}function IHe(e,t){return Kx(e,(Y(),w$))&&Kx(t,w$)?P(K(t,w$),15).a-P(K(e,w$),15).a:0}function LHe(e,t){return Kx(e,(Y(),w$))&&Kx(t,w$)?P(K(e,w$),15).a-P(K(t,w$),15).a:0}function RHe(e){return jY?V(uxt,Idt,567,0,0,1):P(gF(e.a,V(uxt,Idt,567,e.a.c.length,0,1)),840)}function WM(e){return Uy(e)?vY:Hy(e)?pY:Vy(e)?uY:YSe(e)||ESe(e)?e.Pm:e.Pm||Array.isArray(e)&&k(Xyt,1)||Xyt}function GM(e,t,n){var r,i=(r=new Bh,r);return WA(i,t,n),XO((!e.q&&(e.q=new F(B7,e,11,10)),e.q),i),i}function KM(e){var t,n,r,i=ule(Hzt,e);for(n=i.length,r=V(vY,X,2,n,6,1),t=0;t<n;++t)r[t]=i[t];return r}function qM(e,t){var n,r,i,a,o;for(r=t,i=0,a=r.length;i<a;++i)n=r[i],o=new Pwe(e),n.tf(o),Eit(o);aw(e.f)}function zHe(e,t){var n;t*2+1>=e.b.c.length||(zHe(e,2*t+1),n=2*t+2,n<e.b.c.length&&zHe(e,n),i4e(e,t))}function BHe(e,t){var n,r;for(r=TF(e,0);r.b!=r.d.c;)n=P(RD(r),218),n.e.length>0&&(t.Ad(n),n.i&&iJe(n))}function VHe(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:fle(uD(e[r],xH),uD(t[r],xH))?-1:1}function HHe(e,t){var n;return!e||e==t||!Kx(t,(Y(),m$))?!1:(n=P(K(t,(Y(),m$)),9),n!=e)}function JM(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function UHe(e,t,n){return e.d[t.p][n.p]||(LJe(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function WHe(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=cze(n),r=V(Wyt,OV,227,i,0,1),this.b=r}function GHe(e,t){var n,r;for(r=e.Zb().Bc().Jc();r.Ob();)if(n=P(r.Pb(),18),n.Gc(t))return!0;return!1}function KHe(e,t,n){var r,i,a,o;for(dT(n),o=!1,a=e.dd(t),i=n.Jc();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function YM(e,t){var n,r=P(Uj(e.a,4),129);return n=V(eBt,Qq,415,t,0,1),r!=null&&Fz(r,0,n,0,r.length),n}function qHe(e,t){var n=new det((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t);return e.e??(n.c=e),n}function JHe(e,t){var n;return e===t?!0:M(t,92)?(n=P(t,92),w0e(qC(e),n.vc())):!1}function YHe(e,t,n){var r,i;for(i=n.Jc();i.Ob();)if(r=P(i.Pb(),45),e.ze(t,r.kd()))return!0;return!1}function XM(){XM=C,Szt=new Ny(`ELK`,0),Czt=new Ny(`JSON`,1),xzt=new Ny(`DOT`,2),wzt=new Ny(`SVG`,3)}function ZM(){ZM=C,k4=new ny(jft,0),D4=new ny(Ymt,1),O4=new ny(`FAN`,2),E4=new ny(`CONSTRAINT`,3)}function QM(){QM=C,IMt=new ty(YU,0),Q2=new ty(`MIDDLE_TO_MIDDLE`,1),Z2=new ty(`AVOID_OVERLAP`,2)}function $M(){$M=C,B4=new iy(YU,0),HNt=new iy(`RADIAL_COMPACTION`,1),UNt=new iy(`WEDGE_COMPACTION`,2)}function eN(){eN=C,y2=new Jv(`STACKED`,0),_2=new Jv(`REVERSE_STACKED`,1),v2=new Jv(`SEQUENCED`,2)}function tN(){tN=C,_xt=new pv(`CONCURRENT`,0),MY=new pv(`IDENTITY_FINISH`,1),vxt=new pv(`UNORDERED`,2)}function nN(){nN=C,P8=new Sy(Fgt,0),N8=new Sy(`INCLUDE_CHILDREN`,1),F8=new Sy(`SEPARATE_CHILDREN`,2)}function rN(){rN=C,NRt=new kb(15),MRt=new Nb((LB(),W6),NRt),M8=t8,ORt=cLt,kRt=R6,jRt=B6,ARt=z6}function iN(){iN=C,SX=YDe(U(k(b8,1),Z,86,0,[(WN(),g8),_8])),CX=YDe(U(k(b8,1),Z,86,0,[y8,h8]))}function XHe(e){var t=0,n,r=V(o6,X,8,e.b,0,1);for(n=TF(e,0);n.b!=n.d.c;)r[t++]=P(RD(n),8);return r}function aN(e,t,n){var r=new E_,i,a;for(a=TF(n,0);a.b!=a.d.c;)i=P(RD(a),8),pC(r,new mb(i));KHe(e,t,r)}function ZHe(e,t){var n=DF((PP(),z0))!=null&&t.Rg()!=null?O(N(t.Rg()))/O(N(DF(z0))):1;ST(e.b,t,n)}function QHe(e,t){var n=P(e.d.Ac(t),18),r;return n?(r=e.e.hc(),r.Fc(n),e.e.d-=n.gc(),n.$b(),r):null}function $He(e,t){var n,r=e.c[t];if(r!=0)for(e.c[t]=0,e.d-=r,n=t+1;n<e.a.length;)e.a[n]-=r,n+=n&-n}function eUe(e){var t=e.a.c.length;if(t>0)return iw(t-1,e.a.c.length),MO(e.a,t-1);throw D(new cie)}function tUe(e,t,n){if(t<0)throw D(new ig(egt+t));t<e.j.c.length?fO(e.j,t,n):(zje(e,t),$b(e.j,n))}function nUe(e,t,n){if(e>t)throw D(new sg(zH+e+Rdt+t));if(e<0||t>n)throw D(new soe(zH+e+zdt+t+Mdt+n))}function rUe(e){if(!e.a||!(e.a.i&8))throw D(new cg(`Enumeration class expected for layout option `+e.f))}function iUe(e){rOe.call(this,`The given string does not match the expected format for individual spacings.`,e)}function aUe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function oN(e){switch(e.c){case 0:return Yxe(),qyt;case 1:return new lh(h4e(new T_(e)));default:return new Dae(e)}}function oUe(e){switch(e.gc()){case 0:return Yxe(),qyt;case 1:return new lh(e.Jc().Pb());default:return new _le(e)}}function sUe(e){var t=(!e.a&&(e.a=new F(R7,e,9,5)),e.a);return t.i==0?null:ole(P(H(t,0),684))}function cUe(e,t){var n=sP(e,t);return fle(fD(e,t),0)|Gy(fD(e,n),0)?n:sP(vV,fD(tw(n,63),1))}function lUe(e,t,n){var r,i;return UE(t,e.c.length),r=n.Nc(),i=r.length,i==0?!1:(Gbe(e.c,t,r),!0)}function uUe(e,t){for(var n=e.a.length-1,r;t!=e.b;)r=t-1&n,Jw(e.a,t,e.a[r]),t=r;Jw(e.a,e.b,null),e.b=e.b+1&n}function dUe(e,t){var n=e.a.length-1,r;for(e.c=e.c-1&n;t!=e.c;)r=t+1&n,Jw(e.a,t,e.a[r]),t=r;Jw(e.a,e.c,null)}function sN(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),$A(e,t==null?null:(dT(t),t)),e.C&&e.fl(null)}function cN(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(Ch(e.a.c,0),pM(e.a,e.b),pM(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function lN(e){var t;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(t=e.g,e.g=e.$i(e.i),Fz(t,0,e.g,0,e.i))}function fUe(e){var t,n;if(e==null)return null;for(t=0,n=e.length;t<n;t++)if(!txe(e[t]))return e[t];return null}function uN(e){var t,n,r,i,a=1;for(n=e,r=0,i=n.length;r<i;++r)t=n[r],a=31*a+(t==null?0:Cj(t)),a|=0;return a}function dN(e){var t={},n,r,i,a;for(r=e,i=0,a=r.length;i<a;++i)n=r[i],t[`:`+(n.f==null?``+n.g:n.f)]=n;return t}function pUe(e,t,n){var r,i,a,o;for(i=n,a=0,o=i.length;a<o;++a)if(r=i[a],e.b.ze(t,r.jd()))return r;return null}function mUe(e,t){return!e||t&&!e.j||M(e,127)&&P(e,127).a.b==0?0:e.ff()}function fN(e,t){return!e||t&&!e.k||M(e,127)&&P(e,127).a.a==0?0:e.gf()}function hUe(e,t){var n=e,r,i=0;do{if(n==t)return i;if(r=n.e,!r)throw D(new _h);n=lT(r),++i}while(!0)}function gUe(e){var t,n,r=0;for(n=new XC(dx(e.a.Jc(),new f));CR(n);)t=P(CO(n),17),t.c.i==t.d.i||++r;return r}function _Ue(e,t){var n,r,i=t-e.f;for(r=new E(e.d);r.a<r.c.c.length;)n=P(z(r),319),zKe(n,n.e,n.f+i);e.f=t}function vUe(e){var t;for(Kw(e),Q_e(!0,`numberToAdvance must be nonnegative`),t=0;t<0&&CR(e);t++)CO(e);return t}function yUe(e){Uae(),Kb(this),XT(this),this.e=e,W7e(this,e),this.g=e==null?eV:EP(e),this.a=``,this.b=e,this.a=``}function bUe(){this.a=new Ks,this.f=new Mne(this),this.b=new Nne(this),this.i=new Pne(this),this.e=new Fne(this)}function xUe(){wae.call(this,new ZPe(Vj(16))),qA(2,Zut),this.b=2,this.a=new hTe(null,null,0,null),mh(this.a,this.a)}function pN(){pN=C,E2=new Zv(`BARYCENTER`,0),O2=new Zv(qft,1),k2=new Zv(Jft,2),D2=new Zv(`MEDIAN`,3)}function mN(){mN=C,G0=new cue(`DUMMY_NODE_OVER`,0),MAt=new cue(`DUMMY_NODE_UNDER`,1),K0=new cue(`EQUAL`,2)}function hN(){hN=C,b2=new Yv(`CONSERVATIVE`,0),ijt=new Yv(`CONSERVATIVE_SOFT`,1),x2=new Yv(`SLOPPY`,2)}function SUe(e){var t,n;for(n=new E(e.r);n.a<n.c.c.length;)if(t=P(z(n),9),e.n[t.p]<=0)return t;return null}function CUe(e,t){var n;for(n=0;n<t.length;n++)if(e==(sD(n,t.length),t.charCodeAt(n)))return!0;return!1}function wUe(e,t){return t<e.length&&(sD(t,e.length),e.charCodeAt(t)!=63)&&(sD(t,e.length),e.charCodeAt(t)!=35)}function TUe(e,t,n,r){var i,a;e.a=t,a=+!r,e.f=(i=new N0e(e.c,e.a,n,a),new met(n,e.a,i,e.e,e.b,e.c==(pN(),O2)))}function gN(e,t){var n,r=e.Wk(t,null),i=null;t&&(i=(e_(),n=new ch,n),hA(i,e.r)),r=pL(e,i,r),r&&r.mj()}function EUe(e,t){var n,r=FR(e.d,1)!=0;for(n=!0;n;)n=!1,n=t.c.kg(t.e,r),n|=qR(e,t,r,!1),r=!r;Eze(e)}function DUe(e,t){var n,r=!1,i;return n=t.q.d,t.d<e.b&&(i=H5e(t.q,e.b),t.q.d>i&&(AQe(t.q,i),r=n!=t.q.d)),r}function OUe(e,t){var n,i,a,o,s,c,l=t.i,u=t.j;return i=e.f,a=i.i,o=i.j,s=l-a,c=u-o,n=r.Math.sqrt(s*s+c*c),n}function kUe(e,t){var n,r=fF(e);return r||(!Uzt&&(Uzt=new bl),n=(bat(),i8e(t)),r=new Fre(n),XO(r.Cl(),e)),r}function _N(e,t){var n=P(e.c.Ac(t),18),r;return n?(r=e.hc(),r.Fc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function AUe(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw D(new xh);return t=e.a,e.a+=e.c.c,++e.b,G(t)}function jUe(e){var t,n;if(e==null)return!1;for(t=0,n=e.length;t<n;t++)if(!txe(e[t]))return!1;return!0}function MUe(e,t){var n;for(n=0;n<t.length;n++)if(e==(sD(n,t.length),t.charCodeAt(n)))return!0;return!1}function NUe(e){var t;if(e.c!=0)return e.c;for(t=0;t<e.a.length;t++)e.c=e.c*33+(e.a[t]&-1);return e.c*=e.e,e.c}function vN(e){var t;return Bx(e.a!=e.b),t=e.d.a[e.a],lhe(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function PUe(e){var t=new qIe(e);return xD(e.a,kCt,new dg(U(k(TX,1),$B,377,0,[t]))),t.d&&$b(t.f,t.d),t.f}function yN(e,t){var n;return ib(e)&&ib(t)&&(n=e-t,!isNaN(n))?n:gZe(ib(e)?Yj(e):e,ib(t)?Yj(t):t)}function FUe(e,t,n){var r=new S3e(e,t);fR(e.r,t.$f(),r),n&&!lw(e.u)&&(r.c=new HDe(e.d),sA(t.Pf(),new Uee(r)))}function IUe(e){var t=new upe(e.a);return Xj(t,e),W(t,(Y(),T$),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function LUe(e){return(wB(),T5).Gc(e.j)?O(N(K(e,(Y(),R$)))):PM(U(k(o6,1),X,8,0,[e.i.n,e.n,e.a])).b}function RUe(e){var t=bb(Ajt);return P(K(e,(Y(),l$)),22).Gc((oz(),NQ))&&bC(t,(bL(),vX),(RB(),pZ)),t}function zUe(e){var t,n,r,i=new Dh;for(r=new E(e);r.a<r.c.c.length;)n=P(z(r),26),t=D9e(n),bj(i,t);return i}function BUe(e,t,n){var r,i;for(i=t.a.a.ec().Jc();i.Ob();)if(r=P(i.Pb(),60),GEe(e,r,n))return!0;return!1}function VUe(e,t,n,r){var i,a;for(a=e.Jc();a.Ob();)i=P(a.Pb(),70),i.n.a=t.a+(r.a-i.o.a)/2,i.n.b=t.b,t.b+=i.o.b+n}function HUe(e,t,n,r,i,a,o,s){for(var c=n;a<o;)c>=r||t<n&&s.Le(e[t],e[c])<=0?Jw(i,a++,e[t++]):Jw(i,a++,e[c++])}function UUe(e,t){var n,r,i=1;for(n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,--r);return t<0?1/i:i}function WUe(e,t){var n,r,i=1;for(n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,--r);return t<0?1/i:i}function bN(e,t){var n,r,i,a=(i=e?fF(e):null,V2e((r=t,i&&i.El(),r)));return a==t&&(n=fF(e),n&&n.El()),a}function GUe(e,t,n){var r,i=e.a;return e.a=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,1,i,t),n?n.lj(r):n=r),n}function KUe(e,t,n){var r,i=e.b;return e.b=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,3,i,t),n?n.lj(r):n=r),n}function qUe(e,t,n){var r,i=e.f;return e.f=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,0,i,t),n?n.lj(r):n=r),n}function JUe(e){var t,n,r,i;if(e!=null){for(n=0;n<e.length;++n)if(t=e[n],t)for(P(t.g,374),i=t.i,r=0;r<i;++r);}}function YUe(e,t){Kw(e);try{return e.Gc(t)}catch(e){if(e=hM(e),M(e,211)||M(e,172))return!1;throw D(e)}}function XUe(e,t){Kw(e);try{return e.Kc(t)}catch(e){if(e=hM(e),M(e,211)||M(e,172))return!1;throw D(e)}}function ZUe(e,t){Kw(e);try{return e._b(t)}catch(e){if(e=hM(e),M(e,211)||M(e,172))return!1;throw D(e)}}function xN(e,t){Kw(e);try{return e.xc(t)}catch(e){if(e=hM(e),M(e,211)||M(e,172))return null;throw D(e)}}function QUe(e,t){Kw(e);try{return e.Ac(t)}catch(e){if(e=hM(e),M(e,211)||M(e,172))return null;throw D(e)}}function $Ue(e,t,n){var r,i;for(i=e.Jc();i.Ob();){if(r=P(i.Pb(),9),r==t)return-1;if(r==n)return 1}return 0}function eWe(e,t,n){var r=n/e.gc(),i=0,a,o;for(o=e.Jc();o.Ob();)a=P(o.Pb(),186),_Ue(a,a.f+r*i),LZe(a,t,r),++i}function tWe(e){var t,n,r;for(r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),218),t=n.c.ig()?n.f:n.a,t&&jat(t,n.j)}function nWe(e){var t,n,i=0;for(n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),173),i=r.Math.max(i,t.g);return i}function rWe(e,t){var n=new tI(e);return Tp(n,(MR(),BX)),W(n,(Y(),T$),t),W(n,(PB(),l0),(iL(),t5)),n}function iWe(e,t){switch(t){case 1:!e.n&&(e.n=new F(f7,e,1,7)),oB(e.n);return;case 2:QA(e,null);return}MVe(e,t)}function aWe(e){switch(e.g){case 0:return new Bs;case 1:return new Hs;case 2:return new Vs;default:return null}}function SN(e){var t,n;return e>-129&&e<128?(Kxe(),t=e+128,n=xbt[t],!n&&(n=xbt[t]=new Xp(e)),n):new Xp(e)}function G(e){var t,n;return e>-129&&e<128?(Dxe(),t=e+128,n=mbt[t],!n&&(n=mbt[t]=new nm(e)),n):new nm(e)}function oWe(e,t,n,r,i){t==0||r==0||(t==1?i[r]=GJe(i,n,r,e[0]):r==1?i[t]=GJe(i,e,t,n[0]):G3e(e,n,i,t,r))}function sWe(e,t){var n;e.c.length!=0&&(n=P(gF(e,V(IX,tW,9,e.c.length,0,1)),199),sfe(n,new bn),n3e(n,t))}function cWe(e,t){var n;e.c.length!=0&&(n=P(gF(e,V(IX,tW,9,e.c.length,0,1)),199),sfe(n,new xn),n3e(n,t))}function lWe(e,t){var n;e.a.c.length>0&&(n=P(AC(e.a,e.a.c.length-1),565),FHe(n,t))||$b(e.a,new QMe(t))}function uWe(e){HS();var t=e.d.c-e.e.c,n=P(e.g,156);sA(n.b,new Dte(t)),sA(n.c,new Ote(t)),dO(n.i,new kte(t))}function dWe(e){var t=new Og;return t.a+=`VerticalSegment `,Zy(t,e.e),t.a+=` `,Qy(t,hme(new wg,new E(e.k))),t.a}function fWe(e,t){var n;e.c=t,e.a=oKe(t),e.a<54&&(e.f=(n=t.d>1?wAe(t.a[0],t.a[1]):wAe(t.a[0],0),ED(t.e>0?n:gk(n))))}function pWe(e,t){var n=0,r,i;for(i=rP(e,t).Jc();i.Ob();)r=P(i.Pb(),12),n+=K(r,(Y(),O$))==null?0:1;return n}function CN(e,t,n){var r=0,i,a;for(a=TF(e,0);a.b!=a.d.c&&(i=O(N(RD(a))),!(i>n));)i>=t&&++r;return r}function mWe(e){var t=P(zk(e.c.c,``),233);return t||(t=new $E(Vg(Bg(new cc,``),`Other`)),yF(e.c.c,``,t)),t}function wN(e){var t;return e.Db&64?DR(e):(t=new gx(DR(e)),t.a+=` (name: `,Yy(t,e.zb),t.a+=`)`,t.a)}function hWe(e,t,n){var r,i=e.sb;return e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,4,i,t),n?n.lj(r):n=r),n}function TN(e,t,n){var r;e.Zi(e.i+1),r=e.Xi(t,n),t!=e.i&&Fz(e.g,t,e.g,t+1,e.i-t),Jw(e.g,t,r),++e.i,e.Ki(t,n),e.Li()}function gWe(e,t,n){var r,i=e.r;return e.r=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,8,i,e.r),n?n.lj(r):n=r),n}function _We(e,t,n){var r=new Gk(e.e,3,13,null,(i=t.c,i||(VB(),e9)),GF(e,t),!1),i;return n?n.lj(r):n=r,n}function vWe(e,t,n){var r=new Gk(e.e,4,13,(i=t.c,i||(VB(),e9)),null,GF(e,t),!1),i;return n?n.lj(r):n=r,n}function yWe(e,t){var n,r,i,a;if(t.cj(e.a),a=P(Uj(e.a,8),1997),a!=null)for(n=a,r=0,i=n.length;r<i;++r)null.Sm()}function EN(e,t){var n=P(t,681),r=n.cl();return!r&&n.dl(r=M(t,88)?new wde(e,P(t,29)):new uAe(e,P(t,159))),r}function bWe(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 xWe(e){return e?e.i&1?e==J9?uY:e==q9?hY:e==Q9?mY:e==Z9?pY:e==Y9?gY:e==$9?_Y:e==X9?dY:fY:e:null}function DN(e,t){return Uy(e)?CS(e,t):Hy(e)?T_e(e,t):Vy(e)?(dT(e),j(e)===j(t)):YSe(e)?e.Fb(t):ESe(e)?tfe(e,t):Wke(e,t)}function SWe(e){var t;return yN(e,0)<0&&(e=Bj(jCe(ib(e)?Yj(e):e))),t=RC(tw(e,32)),64-(t==0?pR(RC(e))+32:pR(t))}function ON(e,t){var n=new ke;return e.a.zd(n)?(Qb(),new Xh(dT(dIe(e,n.a,t)))):(iT(e),Qb(),Qb(),Xbt)}function kN(e,t){switch(t.g){case 2:case 1:return rP(e,t);case 3:case 4:return AP(rP(e,t))}return KT(),KT(),EY}function CWe(e,t){var n;return t.a&&(n=t.a.a.length,e.a?Qy(e.a,e.b):e.a=new _x(e.d),FAe(e.a,t.a,t.d.length,n)),e}function wWe(e){BB();var t,n,r,i;for(n=bF(),r=0,i=n.length;r<i;++r)if(t=n[r],vk(t.a,e,0)!=-1)return t;return oSt}function TWe(e){throw TM(),D(new jae(`Unexpected typeof result '`+e+`'; please report this bug to the GWT team`))}function EWe(e,t,n){if(e<0||t>n)throw D(new ig(zH+e+zdt+t+`, size: `+n));if(e>t)throw D(new sg(zH+e+Rdt+t))}function AN(e,t,n){if(t<0)v4e(e,n);else{if(!n.pk())throw D(new sg(iq+n.ve()+aq));P(n,69).uk().Ck(e,e.ei(),t)}}function DWe(e,t,n){return r.Math.abs(t-e)<XG||r.Math.abs(n-e)<XG?!0:t-e>XG?e-n>XG:n-e>XG}function OWe(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new F(f7,e,1,7)),e.n;case 2:return e.k}return pXe(e,t,n,r)}function kWe(e){var t;return e.Db&64?DR(e):(t=new gx(DR(e)),t.a+=` (source: `,Yy(t,e.d),t.a+=`)`,t.a)}function jN(e,t){var n=(e.Bb&256)!=0;t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,2,n,t))}function AWe(e,t){var n=(e.Bb&256)!=0;t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,8,n,t))}function jWe(e,t){var n=(e.Bb&512)!=0;t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,9,n,t))}function MN(e,t){var n=(e.Bb&512)!=0;t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,3,n,t))}function NN(e,t){var n=(e.Bb&256)!=0;t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,8,n,t))}function MWe(e,t,n){var r,i=e.a;return e.a=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,5,i,e.a),n?XQe(n,r):n=r),n}function PN(e,t){var n;return e.b==-1&&e.a&&(n=e.a.nk(),e.b=n?e.c.Eh(e.a.Jj(),n):NP(e.c.Ah(),e.a)),e.c.vh(e.b,t)}function NWe(e,t){var n,r;for(r=new lx(e);r.e!=r.i.gc();)if(n=P(OF(r),29),j(t)===j(n))return!0;return!1}function PWe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function FWe(e){var t=e.k,n;return t==(MR(),RX)?(n=P(K(e,(Y(),s$)),64),n==(wB(),m5)||n==j5):!1}function IWe(e){var t=UAe(e);return Wy(t.a,0)?(A_(),A_(),Zbt):(A_(),new zx(dle(t.a,0)?NNe(t)/ED(t.a):0))}function LWe(e,t){var n=KR(e,t);if(M(n,335))return P(n,38);throw D(new sg(iq+t+`' is not a valid attribute`))}function FN(e,t,n){var r=e.gc();if(t>r)throw D(new SS(t,r));if(e.Qi()&&e.Gc(n))throw D(new sg(Fq));e.Ei(t,n)}function RWe(e,t){var n,r;for(r=new lx(e);r.e!=r.i.gc();)if(n=P(OF(r),143),j(t)===j(n))return!0;return!1}function zWe(e,t,n){var r,i,a=(i=kR(e.b,t),i);return a&&(r=P(nB(Tk(e,a),``),29),r)?a8e(e,r,t,n):null}function IN(e,t,n){var r,i,a=(i=kR(e.b,t),i);return a&&(r=P(nB(Tk(e,a),``),29),r)?o8e(e,r,t,n):null}function BWe(e){var t,n,r=0;for(n=e.length,t=0;t<n;t++)e[t]==32||e[t]==13||e[t]==10||e[t]==9||(e[r++]=e[t]);return r}function LN(e,t){this.e=t,this.a=SWe(e),this.a<54?this.f=ED(e):this.c=(vz(),yN(e,0)>=0?UP(e):Mw(UP(gk(e))))}function VWe(e,t,n,r,i,a){this.e=new ah,this.f=(VA(),h2),$b(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function RN(e,t){return e<t?-1:e>t?1:e==t?e==0?RN(1/e,1/t):0:isNaN(e)?+!isNaN(t):-1}function HWe(e){var t=e.a[e.c-1&e.a.length-1];return t==null?null:(e.c=e.c-1&e.a.length-1,Jw(e.a,e.c,null),t)}function UWe(e){var t,n;for(n=e.p.a.ec().Jc();n.Ob();)if(t=P(n.Pb(),217),t.f&&e.b[t.c]<-1e-10)return t;return null}function WWe(e){var t=new ah,n,r;for(r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),591),pM(t,P(n.Af(),18));return t}function GWe(e){var t;if(!e.a)throw D(new cg(`Cannot offset an unassigned cut.`));t=e.c-e.b,e.b+=t,yEe(e,t),bEe(e,t)}function zN(){zN=C,jFt=new Iue(`EQUAL_BETWEEN_STRUCTURES`,0),MFt=new Iue(`TO_ASPECT_RATIO`,1),S3=new Iue(YU,2)}function BN(){BN=C,O3=new Lue(`P1_STRUCTURE`,0),k3=new Lue(`P2_PROCESSING_ORDER`,1),A3=new Lue(`P3_EXECUTION`,2)}function VN(){VN=C,ozt=new Xue(`PARALLEL_NODE`,0),Y5=new Xue(`HIERARCHICAL_NODE`,1),X5=new Xue(`ROOT_NODE`,2)}function HN(){HN=C,S8=new vy(Fgt,0),x8=new vy(`CONTAINER`,1),mRt=new vy(`PARENT`,2),hRt=new vy(`ROOT`,3)}function UN(){UN=C,k8=new by($H,0),D8=new by(`POLYLINE`,1),E8=new by(`ORTHOGONAL`,2),O8=new by(`SPLINES`,3)}function WN(){WN=C,v8=new _y($H,0),_8=new _y(ZH,1),g8=new _y(XH,2),h8=new _y(rU,3),y8=new _y(`UP`,4)}function KWe(e,t){t.Tg(`Sort end labels`,1),P_(AT(Bk(new jC(null,new nD(e.b,16)),new an),new iee),new on),t.Ug()}function qWe(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new zT(t.d,0,t.a,t.b);default:return null}}function JWe(e){switch(e.g){case 1:return N5;case 2:return m5;case 3:return p5;case 4:return j5;default:return M5}}function GN(e){switch(e.g){case 1:return j5;case 2:return N5;case 3:return m5;case 4:return p5;default:return M5}}function KN(e){switch(e.g){case 1:return p5;case 2:return j5;case 3:return N5;case 4:return m5;default:return M5}}function YWe(e){switch(e.g){case 2:return _8;case 1:return g8;case 4:return h8;case 3:return y8;default:return v8}}function XWe(e){switch(e){case 0:return new Gie;case 1:return new Uie;case 2:return new Wie;default:throw D(new _h)}}function ZWe(e){switch(P(K(e,(Y(),p$)),315).g){case 1:W(e,p$,(Nk(),GQ));break;case 2:W(e,p$,(Nk(),qQ))}}function QWe(){QWe=C,NNt=oF(oF(Z_(oF(oF(Z_(bC(new pT,(kI(),K2),(xz(),X2)),q2),AMt),MMt),J2),EMt),NMt)}function qN(e,t,n){var r,i;return e.Nj()?(i=e.Oj(),r=dR(e,t,n),e.Hj(e.Gj(7,G(n),r,t,i)),r):dR(e,t,n)}function JN(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.jd(),n=t.yi(),r=(n&JB)%e.d.length,GNe(e,r,_8e(e,r,n,i)))}function YN(e,t){var n=(e.Bb&$q)!=0;t?e.Bb|=$q:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,10,n,t))}function XN(e,t){var n=(e.Bb&nJ)!=0;t?e.Bb|=nJ:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,15,n,t))}function ZN(e,t){var n=(e.Bb&hH)!=0;t?e.Bb|=hH:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,12,n,t))}function QN(e,t){var n=(e.Bb&pV)!=0;t?e.Bb|=pV:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,11,n,t))}function $We(e,t){var n=RN(e.b.c,t.b.c);return n!=0||(n=RN(e.a.a,t.a.a),n!=0)?n:RN(e.a.b,t.a.b)}function $N(e){var t,n=P(K(e,(PB(),T1)),86);return n==(WN(),v8)?(t=O(N(K(e,n1))),t>=1?_8:h8):n}function eGe(e){var t,n;for(n=c8e(lA(e)).Jc();n.Ob();)if(t=tS(n.Pb()),Az(e,t))return fMe((Zce(),yBt),t);return null}function tGe(e,t,n){var r,i;for(i=e.a.ec().Jc();i.Ob();)if(r=P(i.Pb(),9),mM(n,P(AC(t,r.p),18)))return r;return null}function nGe(e,t,n){var r,i=M(t,103)&&(P(t,19).Bb&_H)!=0?new fb(t,e):new Qj(t,e);for(r=0;r<n;++r)VF(i);return i}function rGe(e,t){var n,r,i,a,o=$R(e.e.Ah(),t);for(a=0,n=P(e.g,122),i=0;i<e.i;++i)r=n[i],o.$l(r.Jk())&&++a;return a}function iGe(e,t,n){var r,i;if(e.c)u1e(e.c,t,n);else for(i=new E(e.b);i.a<i.c.c.length;)r=P(z(i),167),iGe(r,t,n)}function eP(e,t){var n,r;for(r=new E(t);r.a<r.c.c.length;)n=P(z(r),49),_k(e.b.b,n.b),WEe(P(n.a,194),P(n.b,82))}function aGe(e,t){var n,r,i;for(dT(t),n=!1,r=new E(e);r.a<r.c.c.length;)i=z(r),t.Gc(i)&&(Ow(r),n=!0);return n}function oGe(e){var t,n=Xw(new Og,91);for(t=!0;e.Ob();)t||(n.a+=QB),t=!1,Zy(n,e.Pb());return(n.a+=`]`,n).a}function sGe(e){var t=V(K9,BV,30,2,15,1);return e-=_H,t[0]=(e>>10)+vH&VV,t[1]=(e&1023)+56320&VV,aF(t,0,t.length)}function cGe(e,t){var n=(e.Bb&_H)!=0;t?e.Bb|=_H:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,20,n,t))}function tP(e,t){var n=(e.Bb&mV)!=0;t?e.Bb|=mV:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,16,n,t))}function nP(e,t){var n=(e.Bb&sq)!=0;t?e.Bb|=sq:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,18,n,t))}function lGe(e,t){var n=(e.Bb&sq)!=0;t?e.Bb|=sq:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&Rj(e,new vO(e,1,18,n,t))}function rP(e,t){var n;return e.i||_4e(e),n=P(CT(e.g,t),49),n?new QE(e.j,P(n.a,15).a,P(n.b,15).a):(KT(),KT(),EY)}function uGe(e,t,n){var r=P(t.mf(e.a),35),i=P(n.mf(e.a),35);return r!=null&&i!=null?Aj(r,i):r==null?i==null?0:1:-1}function dGe(e,t,n){var r=($g(),i=new Xc,i),i;return bA(r,t),xA(r,n),e&&XO((!e.a&&(e.a=new ix(e7,e,5)),e.a),r),r}function fGe(e,t,n){var r=0;return t&&(yb(e.a)?r+=t.f.a/2:r+=t.f.b/2),n&&(yb(e.a)?r+=n.f.a/2:r+=n.f.b/2),r}function iP(e,t,n){var r=e.a.get(t);return e.a.set(t,n===void 0?null:n),r===void 0?(++e.c,++e.b.g):++e.d,r}function aP(e){var t;return e.Db&64?DR(e):(t=new gx(DR(e)),t.a+=` (identifier: `,Yy(t,e.k),t.a+=`)`,t.a)}function oP(e){var t;switch(e.gc()){case 0:return wC(),Gyt;case 1:return new Wge(Kw(e.Xb(0)));default:return t=e,new mD(t)}}function pGe(e){switch(P(K(e,(PB(),A1)),222).g){case 1:return new Ki;case 3:return new Zi;default:return new Gi}}function mGe(e){var t=OL(e);return t>34028234663852886e22?pH:t<-34028234663852886e22?mH:t}function sP(e,t){var n;return ib(e)&&ib(t)&&(n=e+t,uH<n&&n<cH)?n:Bj(EVe(ib(e)?Yj(e):e,ib(t)?Yj(t):t))}function cP(e,t){var n;return ib(e)&&ib(t)&&(n=e*t,uH<n&&n<cH)?n:Bj(Jat(ib(e)?Yj(e):e,ib(t)?Yj(t):t))}function lP(e,t){var n;return ib(e)&&ib(t)&&(n=e-t,uH<n&&n<cH)?n:Bj(DVe(ib(e)?Yj(e):e,ib(t)?Yj(t):t))}function hGe(e,t,n){var r;try{bHe(e,t,n)}catch(e){throw e=hM(e),M(e,595)?(r=e,D(new CNe(r))):D(e)}return t}function uP(e){var t=new ah,n,r;for(r=new E(e.j);r.a<r.c.c.length;)n=P(z(r),12),$b(t,n.e);return Kw(t),new hb(t)}function dP(e){var t=new ah,n,r;for(r=new E(e.j);r.a<r.c.c.length;)n=P(z(r),12),$b(t,n.b);return Kw(t),new hb(t)}function fP(e){var t=new ah,n,r;for(r=new E(e.j);r.a<r.c.c.length;)n=P(z(r),12),$b(t,n.g);return Kw(t),new hb(t)}function gGe(e,t,n){var r=n;!r&&(r=sxe(new Uh,0)),r.Tg(Aft,2),BJe(e.b,t,r.dh(1)),dot(e,t,r.dh(1)),olt(t,r.dh(1)),r.Ug()}function _Ge(e,t,n){var r;n.Tg(`Straight Line Edge Routing`,1),n.bh(t,sht),r=P(J(t,(iS(),j4)),26),Kit(e,r),n.bh(t,cK)}function vGe(e,t){e.n.c.length==0&&$b(e.n,new SE(e.s,e.t,e.i)),$b(e.b,t),SYe(P(AC(e.n,e.n.c.length-1),208),t),Hrt(e,t)}function yGe(e){var t,n;for(n=y6e(lA(FE(e))).Jc();n.Ob();)if(t=tS(n.Pb()),Az(e,t))return pMe((Qce(),bBt),t);return null}function bGe(e){var t=new Kge(e.Pd().gc()),n,r,i=0;for(r=ok(e.Pd().Jc());r.Ob();)n=r.Pb(),uEe(t,n,G(i++));return _0e(t.a)}function xGe(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(e[n]==null)throw D(new lg(`at index `+n));return t=e,new dg(t)}function pP(e){if(e.c)pP(e.c);else if(e.d)throw D(new cg(`Stream already terminated, can't be modified or used`))}function SGe(e,t,n){switch(t.g){case 1:e.b-=n.b/2;break;case 3:e.b+=n.b/2;break;case 4:e.a-=n.a/2;break;case 2:e.a+=n.a/2}}function CGe(e,t){switch(t.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 wGe(e,t){switch(t.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 TGe(e,t,n,r,i){mpe(this),this.b=e,this.d=V(IX,tW,9,t.a.c.length,0,1),this.f=n,gF(t.a,this.d),this.g=r,this.c=i}function mP(){A$e();var e,t,n=txt+++Date.now();e=xE(r.Math.floor(n*MH))&NH,t=xE(n-e*jdt),this.a=e^1502,this.b=t^jH}function EGe(e){return iN(),mx(),!!(wGe(P(e.a,82).j,P(e.b,86))||P(e.a,82).d.e!=0&&wGe(P(e.a,82).j,P(e.b,86)))}function hP(e,t){var n,r,i=0;for(r=P(t.Kb(e),20).Jc();r.Ob();)n=P(r.Pb(),17),hg(eS(K(n,(Y(),N$))))||++i;return i}function gP(e){var t,n=(t=P(t_((r=e.Pm,i=r.f,i==nY?r:i)),10),new FS(t,P(gS(t,t.length),10),0)),r,i;return ij(n,e),n}function DGe(e,t){var n,i=O(N(qP(iD(t),(PB(),y0))));n=r.Math.max(0,i/2-.5),zI(t,n,1),$b(e,new Zle(t,n))}function OGe(e,t){for(var n=TF(e,0),r;n.b!=n.d.c;){if(r=gg(N(RD(n))),r==t)return;if(r>t){yAe(n);break}}Pw(n,t)}function _P(e,t){var n=t.f,r,i,a,o;if(yF(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,o=i.length;a<o;++a)r=i[a],yF(e.c.e,r,t)}function kGe(e,t,n,r){var i,a,o;for(i=t+1;i<n;++i)for(a=i;a>t&&r.Le(e[a-1],e[a])>0;--a)o=e[a],Jw(e,a,e[a-1]),Jw(e,a-1,o)}function vP(e,t,n,r){if(t<0)t5e(e,n,r);else{if(!n.pk())throw D(new sg(iq+n.ve()+aq));P(n,69).uk().Ak(e,e.ei(),t,r)}}function AGe(e,t){var n=KR(e.Ah(),t);if(M(n,103))return P(n,19);throw D(new sg(iq+t+`' is not a valid reference`))}function yP(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw D(new sg(`Node `+t+` not part of edge `+e))}function jGe(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return OWe(e,t,n,r)}function MGe(e){return e.k==(MR(),HX)?pO(new jC(null,new Lw(new XC(dx(fP(e).a.Jc(),new f)))),new Ci):!1}function bP(){bP=C,Z$=new Bv(YU,0),q$=new Bv(`FIRST`,1),J$=new Bv(Yft,2),Y$=new Bv(`LAST`,3),X$=new Bv(Xft,4)}function xP(){xP=C,nQ=new Av(`LAYER_SWEEP`,0),dTt=new Av(`MEDIAN_LAYER_SWEEP`,1),tQ=new Av(vW,2),fTt=new Av(YU,3)}function SP(){SP=C,RPt=new ly(`ASPECT_RATIO_DRIVEN`,0),d3=new ly(`MAX_SCALE_DRIVEN`,1),LPt=new ly(`AREA_DRIVEN`,2)}function CP(){CP=C,_zt=new jy(Lmt,0),mzt=new jy(`GROUP_DEC`,1),gzt=new jy(`GROUP_MIXED`,2),hzt=new jy(`GROUP_INC`,3)}function NGe(e,t){return CS(t.b&&t.c?gD(t.b)+`->`+gD(t.c):`e_`+Cj(t),e.b&&e.c?gD(e.b)+`->`+gD(e.c):`e_`+Cj(e))}function PGe(e,t){return CS(t.b&&t.c?gD(t.b)+`->`+gD(t.c):`e_`+Cj(t),e.b&&e.c?gD(e.b)+`->`+gD(e.c):`e_`+Cj(e))}function wP(e,t){return Ib(),RA(IV),r.Math.abs(e-t)<=IV||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mS(isNaN(e),isNaN(t))}function FGe(e){PP(),this.c=OO(U(k(FIt,1),$B,829,0,[wAt])),this.b=new oh,this.a=e,ST(this.b,z0,1),sA(TAt,new Wne(this))}function TP(e){var t;this.a=(t=P(e.e&&e.e(),10),new FS(t,P(gS(t,t.length),10),0)),this.b=V(ZJ,$B,1,this.a.a.length,5,1)}function EP(e){var t;return Array.isArray(e)&&e.Rm===ne?a_(WM(e))+`@`+(t=Cj(e)>>>0,t.toString(16)):e.toString()}function IGe(e){var t;return e==null?!0:(t=e.length,t>0&&(sD(t-1,e.length),e.charCodeAt(t-1)==58)&&!DP(e,O7,k7))}function DP(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(EM((sD(r,e.length),e.charCodeAt(r)),t,n))return!0;return!1}function LGe(e,t){var n,r=Yet(e,t),i=r[r.length-1]/2;for(n=0;n<r.length;n++)if(r[n]>=i)return t.c+n;return t.c+t.b.gc()}function RGe(e,t){aS();var n,r=DFe(e),i=t,a;for(sk(r,0,r.length,i),n=0;n<r.length;n++)a=QXe(e,r[n],n),n!=a&&qN(e,n,a)}function zGe(e,t){var n,r=0,i,a,o,s;for(n=0,a=t,o=0,s=a.length;o<s;++o)i=a[o],i>0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function BGe(e){var t,n,r=new Eg;for(r.a+=`[`,t=0,n=e.gc();t<n;)Yy(r,px(e.Ti(t))),++t<n&&(r.a+=QB);return r.a+=`]`,r.a}function VGe(e,t,n,r,i){for(var a,o=i,s;t.b!=t.c;)a=P(Cw(t),9),s=P(rP(a,r).Xb(0),12),e.d[s.p]=o++,ph(n.c,s);return o}function HGe(e){var t,n,r,i,a=R$e(e);return n=x_(e.c),r=!n,r&&(i=new _p,Zk(a,`knownLayouters`,i),t=new bre(i),dO(e.c,t)),a}function UGe(e,t){var n;return j(e)===j(t)?!0:M(t,91)?(n=P(t,91),e.e==n.e&&e.d==n.d&&bMe(e,n.a)):!1}function WGe(e){return e.e==null?e:(!e.c&&(e.c=new det((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function GGe(e,t){return e.h==oH&&e.m==0&&e.l==0?(t&&(sY=Wb(0,0,0)),nfe((Pk(),cbt))):(t&&(sY=Wb(e.l,e.m,e.h)),Wb(0,0,0))}function OP(e){var t;if(e.b){if(OP(e.b),e.b.d!=e.c)throw D(new gh)}else e.d.dc()&&(t=P(e.f.c.xc(e.e),18),t&&(e.d=t))}function KGe(e){var t,n,r=O(N(e.a.mf((LB(),s8))));for(n=new E(e.a.Qf());n.a<n.c.c.length;)t=P(z(n),685),plt(e,t,r)}function qGe(e){oS();var t=e.o.b,n,r,i;for(r=P(P(DO(e.r,(wB(),j5)),22),83).Jc();r.Ob();)n=P(r.Pb(),115),i=n.e,i.b+=t}function JGe(e,t,n){var r,i=e.a.b;for(r=i.c.length;r<n;r++)BC(i,0,new tT(e.a));BE(t,P(AC(i,i.c.length-n),25)),e.b[t.p]=n}function kP(e,t){var n,r;for(r=new E(t);r.a<r.c.c.length;)n=P(z(r),49),$b(e.b.b,P(n.b,82)),vD(P(n.a,194),P(n.b,82))}function YGe(e){var t=e.e;function n(e){return!e||e.length==0?``:` `+e.join(`
`)}return t&&(t.stack||n(e[cdt]))}function AP(e){var t,n;return M(e,311)?(n=ANe(P(e,311)),t=n,t):M(e,432)?P(e,432).a:M(e,59)?new Oae(e):new oce(e)}function jP(e){switch(wB(),e.g){case 4:return m5;case 1:return p5;case 3:return j5;case 2:return N5;default:return M5}}function XGe(e,t){switch(t){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 JBe(e,t)}function ZGe(e){switch(e.g){case 0:return new Cs;case 1:return new Es;default:throw D(new sg(aW+(e.f==null?``+e.g:e.f)))}}function QGe(e){switch(e.g){case 0:return new ws;case 1:return new Ts;default:throw D(new sg(uK+(e.f==null?``+e.g:e.f)))}}function $Ge(e){switch(e.g){case 1:return new gs;case 2:return new age;default:throw D(new sg(uK+(e.f==null?``+e.g:e.f)))}}function eKe(e){switch(e.g){case 0:return new dae;case 1:return new Kie;default:throw D(new sg(TK+(e.f==null?``+e.g:e.f)))}}function tKe(e,t,n,r,i){WE(),ZR(L_(I_(F_(R_(new Mh,0),i.d.e-e),t),i.d)),ZR(L_(I_(F_(R_(new Mh,0),n-i.a.e),i.a),r))}function nKe(e,t){var n,r,i,a;t&&(i=PA(t,`x`),n=new fre(e),DA(n.a,(dT(i),i)),a=PA(t,`y`),r=new pre(e),OA(r.a,(dT(a),a)))}function rKe(e,t){var n,r,i,a;t&&(i=PA(t,`x`),n=new hre(e),SA(n.a,(dT(i),i)),a=PA(t,`y`),r=new gre(e),CA(r.a,(dT(a),a)))}function iKe(e,t){var n,r,i=new HO(t.gc()),a;for(r=t.Jc();r.Ob();)n=r.Pb(),a=rnt(e,P(n,57)),a&&ph(i.c,a);return i}function MP(e,t,n){var r,i;for(i=e.Jc();i.Ob();)if(r=i.Pb(),j(t)===j(r)||t!=null&&DN(t,r))return n&&i.Qb(),!0;return!1}function aKe(e){var t,n=e.ih(),r;return n?(t=e.Bh(),M(t,174)&&(r=aKe(P(t,174)),r!=null)?r+`.`+n:n):null}function oKe(e){var t,n,r;return e.e==0?0:(t=e.d<<5,n=e.a[e.d-1],e.e<0&&(r=hBe(e),r==e.d-1&&(--n,n|=0)),t-=pR(n),t)}function sKe(e){var t,n;if(e.b)return e.b;for(n=jY?null:e.d;n;){if(t=jY?null:n.b,t)return t;n=jY?null:n.d}return j_(),dxt}function cKe(e,t){var n;return e.d?bw(e.b,t)?P(Zw(e.b,t),43):(n=t.bg(),ST(e.b,t,n),n):t.bg()}function lKe(e,t,n){var r,i;if(++e.j,n.dc())return!1;for(i=n.Jc();i.Ob();)r=i.Pb(),e.oj(t,e.Xi(t,r)),++t;return!0}function uKe(e,t){var n,r;if(t){for(n=0;n<e.i;++n)if(r=P(e.g[n],373),r.kj(t))return!1;return XO(e,t)}else return!1}function dKe(e){var t=new _p,n,r,i;for(i=new um(e.b.Jc());i.b.Ob();)r=P(i.b.Pb(),690),n=k0e(r),XCe(t,t.a.length,n);return t.a}function fKe(e){var t;return!e.c&&(e.c=new $e),Vb(e.d,new tt),M9e(e),t=x9e(e),P_(new jC(null,new nD(e.d,16)),new Wee(e)),t}function pKe(e,t){t.Tg(`End label post-processing`,1),P_(AT(Bk(new jC(null,new nD(e.b,16)),new Xt),new Zt),new Qt),t.Ug()}function mKe(e){var t,n,r,i;for(t=(e.j??=(CE(),i=ebt.ke(e),nQe(i)),e.j),n=0,r=t.length;n<r;++n);}function NP(e,t){var n=(e.i??Rz(e),e.i),r=t.Jj(),i;if(r!=-1){for(i=n.length;r<i;++r)if(n[r]==t)return r}return-1}function hKe(e){var t,n=P(e.g,679),r,i,a;for(r=e.i-1;r>=0;--r)for(t=n[r],i=0;i<r;++i)if(a=n[i],mrt(e,t,a)){OI(e,r);break}}function gKe(e){dk(),P(e.mf((LB(),V6)),182).Gc((Tz(),q5))&&(P(e.mf($6),182).Ec((rR(),d5)),P(e.mf(V6),182).Kc(q5))}function _Ke(e){var t=e.d==(WL(),JZ),n=qQe(e);t&&!n||!t&&n?W(e.a,(PB(),e1),(UF(),d6)):W(e.a,(PB(),e1),(UF(),u6))}function PP(){PP=C,G_(),z0=(PB(),k0),TAt=OO(U(k(G3,1),Fmt,147,0,[v0,y0,x0,S0,T0,E0,D0,O0,j0,N0,b0,C0,A0]))}function vKe(e,t){var n=P(aO(e,nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16);return n.Oc(Exe(n.gc()))}function yKe(e){var t,n,r;return e<xY.length?xY[e]:(n=e>>5,t=e&31,r=V(q9,JV,30,n+1,15,1),r[n]=1<<t,new gw(1,n+1,r))}function bKe(e,t){var n,r=new Cm(e.a.$c(t,!0));if(r.a.gc()<=1)throw D(new yh);return n=r.a.ec().Jc(),n.Pb(),P(n.Pb(),40)}function xKe(e,t,n){var r=O(e.p[t.i.p])+O(e.d[t.i.p])+t.n.b+t.a.b;return O(e.p[n.i.p])+O(e.d[n.i.p])+n.n.b+n.a.b-r}function SKe(e,t){var n;return e.i>0&&(t.length<e.i&&(n=NA(WM(t).c,e.i),t=n),Fz(e.g,0,t,0,e.i)),t.length>e.i&&Jw(t,e.i,null),t}function FP(e){var t;return e.Db&64?wN(e):(t=new gx(wN(e)),t.a+=` (instanceClassName: `,Yy(t,e.D),t.a+=`)`,t.a)}function IP(e){var t,n,r,i=0;for(n=0,r=e.length;n<r;n++)t=(sD(n,e.length),e.charCodeAt(n)),t<64&&(i=dD(i,$C(1,t)));return i}function CKe(e,t,n){var r=uD(n,xH),i;for(i=0;yN(r,0)!=0&&i<t;i++)r=sP(r,uD(e[i],xH)),e[i]=RC(r),r=ew(r,32);return RC(r)}function LP(e,t){$de();var n=pS((Qh(),Qh(),aY)),r=null;return t==n&&(r=P(vE(tbt,e),615)),r||(r=new vwe(e),t==n&&LE(tbt,e,r)),r}function wKe(e){oS();var t=new mb(P(e.e.mf((LB(),B6)),8));return e.B.Gc((Tz(),U5))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function RP(e,t){var n,r,i,a=$R(e.e.Ah(),t);for(n=P(e.g,122),i=0;i<e.i;++i)if(r=n[i],a.$l(r.Jk()))return!1;return!0}function zP(e,t){var n,r,i;return e.f>0?(e.Zj(),r=t==null?0:Cj(t),i=(r&JB)%e.d.length,n=_8e(e,i,r,t),n!=-1):!1}function BP(e,t,n){var r,i,a;return e.Nj()?(r=e.i,a=e.Oj(),TN(e,r,t),i=e.Gj(3,null,t,r,a),n?n.lj(i):n=i):TN(e,e.i,t),n}function VP(e,t){var n,r,i;return e.f>0&&(e.Zj(),r=t==null?0:Cj(t),i=(r&JB)%e.d.length,n=a3e(e,i,r,t),n)?n.kd():null}function TKe(e,t,n){var r=new Gk(e.e,3,10,null,(i=t.c,M(i,88)?P(i,29):(VB(),t9)),GF(e,t),!1),i;return n?n.lj(r):n=r,n}function EKe(e,t,n){var r=new Gk(e.e,4,10,(i=t.c,M(i,88)?P(i,29):(VB(),t9)),null,GF(e,t),!1),i;return n?n.lj(r):n=r,n}function DKe(e,t){var n,r,i;return M(t,45)?(n=P(t,45),r=n.jd(),i=xN(e.Pc(),r),cT(i,n.kd())&&(i!=null||e.Pc()._b(r))):!1}function OKe(e,t){switch(t){case 3:yA(e,0);return;case 4:wA(e,0);return;case 5:TA(e,0);return;case 6:EA(e,0);return}iWe(e,t)}function HP(e,t){switch(t.g){case 1:return ZS(e.j,(wj(),VCt));case 2:return ZS(e.j,(wj(),UCt));default:return KT(),KT(),EY}}function UP(e){vz();var t,n=RC(e);return t=RC(tw(e,32)),t==0?n>10||n<0?new WD(1,n):Nbt[n]:new Nke(n,t)}function kKe(e){return HF(),(e.q?e.q:(KT(),KT(),DY))._b((PB(),Q1))?P(K(e,Q1),203):P(K(lT(e),$1),203)}function AKe(e,t,n,r){var i,a=n-t;if(a<3)for(;a<3;)e*=10,++a;else{for(i=1;a>3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function jKe(e,t,n){oRe(),Rie.call(this),this.a=CC(jxt,[X,ift],[592,216],0,[BY,Nxt],2),this.c=new Ob,this.g=e,this.f=t,this.d=n}function MKe(e){this.e=V(q9,JV,30,e.length,15,1),this.c=V(J9,qH,30,e.length,16,1),this.b=V(J9,qH,30,e.length,16,1),this.f=0}function NKe(e){var t,n;for(e.j=V(Z9,yH,30,e.p.c.length,15,1),n=new E(e.p);n.a<n.c.c.length;)t=P(z(n),9),e.j[t.p]=t.o.b/e.i}function PKe(e){var t,n,r=O2e(e),i;for(Vb(r,JCt),i=e.d,i.c.length=0,n=new E(r);n.a<n.c.c.length;)t=P(z(n),455),pM(i,t.b)}function WP(e,t){var n;act(t),n=P(K(e,(PB(),k1)),284),n&&W(e,k1,vXe(n)),Mx(e.c),Mx(e.f),VPe(e.d),VPe(P(K(e,J1),213))}function GP(e,t){var n;return ib(e)&&ib(t)&&(n=e%t,uH<n&&n<cH)?n:Bj((hot(ib(e)?Yj(e):e,ib(t)?Yj(t):t,!0),sY))}function FKe(e,t){e.Vj();try{e.d._c(e.e++,t),e.f=e.d.j,e.g=-1}catch(e){throw e=hM(e),M(e,99)?D(new gh):D(e)}}function KP(){KP=C,KBt=new Sl,zBt=new Cl,BBt=new wl,VBt=new Tl,HBt=new El,UBt=new Dl,WBt=new Ol,GBt=new kl,qBt=new Al}function IKe(){IKe=C,YRt=new kb(15),JRt=new Nb((LB(),W6),YRt),ZRt=new Nb(c8,15),XRt=new Nb(r8,G(0)),qRt=new Nb(S6,vU)}function LKe(e,t){var n,i;e.a=sP(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d+=t,n=t-e.f,i=e.e+n,e.f=i-e.e-n,e.e=i}function RKe(e,t){var n,r,i,a=t.b.b;for(e.a=new E_,e.b=V(q9,JV,30,a,15,1),n=0,i=TF(t.b,0);i.b!=i.d.c;)r=P(RD(i),40),r.g=n++}function qP(e,t){var n,r=null;return Kx(e,(PB(),w0))&&(n=P(K(e,w0),105),n.nf(t)&&(r=n.mf(t))),r??=K(lT(e),t),r}function JP(e,t){var n,r=t.length;for(n=0;n<r;n+=2)rz(e,(sD(n,t.length),t.charCodeAt(n)),(sD(n+1,t.length),t.charCodeAt(n+1)))}function zKe(e,t,n){var r,i,a=t-e.e,o=n-e.f;for(i=new E(e.a);i.a<i.c.c.length;)r=P(z(i),173),qF(r,r.s+a,r.t+o);e.e=t,e.f=n}function BKe(e,t,n){var i,a,o,s=e.k,c=t.k;return i=n[s.g][c.g],a=N(qP(e,i)),o=N(qP(t,i)),r.Math.max((dT(a),a),(dT(o),o))}function VKe(e,t,n){var r=P(vE(L9,t),121),i=P(vE(R9,t),121);n?(LE(L9,e,r),LE(R9,e,i)):(LE(R9,e,r),LE(L9,e,i))}function HKe(e,t){var n=t>>5,r,i,a;return t&=31,i=e.d+n+(t==0?0:1),r=V(q9,JV,30,i,15,1),H$e(r,e.a,n,t),a=new gw(e.e,i,r),yD(a),a}function YP(e,t,n){for(var r,i=null,a=e.b;a;){if(r=e.a.Le(t,a.d),n&&r==0)return a;r>=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function XP(e,t,n){for(var r,i=null,a=e.b;a;){if(r=e.a.Le(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function ZP(e,t){for(var n=0;!t[n]||t[n]==``;)n++;for(var r=t[n++];n<t.length;n++)!t[n]||t[n]==``||(r+=e+t[n]);return r}function UKe(e,t){t.Tg(`Min Size Postprocessing`,1),IF(e,(fz(),u3),r.Math.max(O(N(J(e,u3))),O(N(J(e,c3))))),t.Ug()}function WKe(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!P(e.b,52).Gh())return!0;return e.b=null,!1}else return!0}function GKe(){return Error.stackTraceLimit>0?(r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):`stack`in Error()}function KKe(e){var t=e.a;do t=P(CO(new XC(dx(fP(t).a.Jc(),new f))),17).d.i,t.k==(MR(),BX)&&$b(e.e,t);while(t.k==(MR(),BX))}function qKe(e,t){var n,r,i;for(r=new XC(dx(fP(e).a.Jc(),new f));CR(r);)if(n=P(CO(r),17),i=n.d.i,i.c==t)return!1;return!0}function JKe(e,t,n){var r,i=P(Zw(e.b,n),171),a,o;for(r=0,o=new E(t.j);o.a<o.c.c.length;)a=P(z(o),113),i[a.d.p]&&++r;return r}function YKe(e,t,n,r){var i=!1,a,o;return ust(e.f,n,r)&&(Bqe(e.f,e.a[t][n],e.a[t][r]),a=e.a[t],o=a[r],a[r]=a[n],a[n]=o,i=!0),i}function XKe(e){var t,n,r,i,a;if(e==null)return null;for(a=new ah,n=KM(e),r=0,i=n.length;r<i;++r)t=n[r],$b(a,$z(t,!0));return a}function ZKe(e){var t,n,r,i,a;if(e==null)return null;for(a=new ah,n=KM(e),r=0,i=n.length;r<i;++r)t=n[r],$b(a,$z(t,!0));return a}function QKe(e){var t,n,r,i,a;if(e==null)return null;for(a=new ah,n=KM(e),r=0,i=n.length;r<i;++r)t=n[r],$b(a,$z(t,!0));return a}function $Ke(e){var t=P(Uj(e.a,4),129),n;return t==null?nBt:(n=V(eBt,Qq,415,t.length,0,1),Fz(t,0,n,0,t.length),n)}function QP(e){var t;e.c!=0&&(t=P(AC(e.a,e.b),295),t.b==1?(++e.b,e.b<e.a.c.length&&Yp(P(AC(e.a,e.b),295))):--t.b,--e.c)}function $P(){$P=C,Y4=new sy(`P1_WIDTH_APPROXIMATION`,0),X4=new sy(`P2_PACKING`,1),Z4=new sy(`P3_WHITESPACE_ELIMINATION`,2)}function eF(){eF=C,c2=new Gv(YU,0),GAt=new Gv(`NODES_AND_EDGES`,1),l2=new Gv(`PREFER_EDGES`,2),u2=new Gv(`PREFER_NODES`,3)}function tF(){tF=C,R5=new ky(`PORTS`,0),z5=new ky(`PORT_LABELS`,1),L5=new ky(`NODE_LABELS`,2),I5=new ky(`MINIMUM_SIZE`,3)}function eqe(e,t){return Ib(),Ib(),RA(IV),(r.Math.abs(e-t)<=IV||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mS(isNaN(e),isNaN(t)))>0}function tqe(e,t){return Ib(),Ib(),RA(IV),(r.Math.abs(e-t)<=IV||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mS(isNaN(e),isNaN(t)))<0}function nqe(e,t){return Ib(),Ib(),RA(IV),(r.Math.abs(e-t)<=IV||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:mS(isNaN(e),isNaN(t)))<=0}function rqe(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function iqe(e,t,n,r,i,a){this.a=e,this.c=t,this.b=n,this.f=r,this.d=i,this.e=a,this.c>0&&this.b>0&&(this.g=DC(this.c,this.b,this.a))}function aqe(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(TM(),abt)[typeof r];return i?i(r):TWe(typeof r)}function nF(e){var t,n,r=null;if(t=Oq in e.a,n=!t,n)throw D(new _g(`Every element must have an id.`));return r=iR(kE(e,Oq)),r}function rF(e){var t,n=V0e(e);for(t=null;e.c==2;)NB(e),t||(t=(zB(),zB(),++W9,new Rb(2)),aB(t,n),n=t),n.Hm(V0e(e));return n}function iF(e,t){var n,r,i;return e.Zj(),r=t==null?0:Cj(t),i=(r&JB)%e.d.length,n=a3e(e,i,r,t),n?(DRe(e,n),n.kd()):null}function aF(e,t,n){var i,a,o=t+n,s;for(YO(t,o,e.length),s=``,a=t;a<o;)i=r.Math.min(a+1e4,o),s+=OTe(e.slice(a,i)),a=i;return s}function oqe(e,t){var n,r,i;if(e.c)yA(e.c,t);else for(n=t-OC(e),i=new E(e.a);i.a<i.c.c.length;)r=P(z(i),167),oqe(r,OC(r)+n)}function sqe(e,t){var n,r,i;if(e.c)wA(e.c,t);else for(n=t-kC(e),i=new E(e.d);i.a<i.c.c.length;)r=P(z(i),167),sqe(r,kC(r)+n)}function cqe(e,t){return e.e>t.e?1:e.e<t.e?-1:e.d>t.d?e.e:e.d<t.d?-t.e:e.e*VHe(e.a,t.a,e.d)}function lqe(e){return e>=48&&e<48+r.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function uqe(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw D(new sg(`Input edge is not connected to the input port.`))}function oF(e,t){if(e.a<0)throw D(new cg(`Did not call before(...) or after(...) before calling add(...).`));return ihe(e,e.a,t),e}function dqe(e){return KE(),M(e,166)?P(Zw(C7,Ubt),296).Qg(e):bw(C7,WM(e))?P(Zw(C7,WM(e)),296).Qg(e):null}function sF(e){var t,n;return e.Db&32||(n=(t=P(Uj(e,16),29),Hw(t||e.fi())-Hw(e.fi())),n!=0&&cF(e,32,V(ZJ,$B,1,n,5,1))),e}function cF(e,t,n){var r;(e.Db&t)==0?n!=null&&I7e(e,t,n):n==null?U3e(e,t):(r=mI(e,t),r==-1?e.Eb=n:Jw(gA(e.Eb),r,n))}function fqe(e,t,n,r){var i,a;t.c.length!=0&&(i=i5e(n,r),a=b4e(t),P_($k(new jC(null,new nD(a,1)),new oo),new GTe(e,n,i,r)))}function pqe(e,t){var n,r=e.a.length-1,i,a;return n=t-e.b&r,a=e.c-t&r,i=e.c-e.b&r,lhe(n<i),n>=a?(dUe(e,t),-1):(uUe(e,t),1)}function mqe(e,t){for(var n=(sD(t,e.length),e.charCodeAt(t)),r=t+1;r<e.length&&(sD(r,e.length),e.charCodeAt(r)==n);)++r;return r-t}function hqe(e){var t,n=e.Nc();switch(n.length){case 0:return wC(),Gyt;case 1:return t=n[0],new Wge(Kw(t));default:return new mD(xGe(n))}}function gqe(e){switch(typeof e){case KB:return HM(e);case Hut:return ob(e);case GB:return gge(e);default:return e==null?0:jx(e)}}function _qe(e){if(lF(BK,e))return mx(),lY;if(lF(VK,e))return mx(),cY;throw D(new sg(`Expecting true or false`))}function vqe(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:Cj(e)-Cj(t)}function yqe(e,t){var n;return j(t)===j(e)?!0:!M(t,22)||(n=P(t,22),n.gc()!=e.gc())?!1:e.Hc(n)}function lF(e,t){return dT(e),t==null?!1:CS(e,t)?!0:e.length==t.length&&CS(e.toLowerCase(),t.toLowerCase())}function uF(e){var t,n;return yN(e,-129)>0&&yN(e,128)<0?(Gxe(),t=RC(e)+128,n=gbt[t],!n&&(n=gbt[t]=new rm(e)),n):new rm(e)}function dF(){dF=C,NX=new Sv(YU,0),jCt=new Sv(`INSIDE_PORT_SIDE_GROUPS`,1),jX=new Sv(`GROUP_MODEL_ORDER`,2),MX=new Sv(jft,3)}function fF(e){var t,n,r=e.Gh();if(!r)for(t=0,n=e.Mh();n;n=n.Mh()){if(++t>bH)return n.Nh();if(r=n.Gh(),r||n==e)break}return r}function bqe(e){var t;return e.b||ase(e,(t=j_e(e.e,e.a),!t||!CS(VK,VP((!t.b&&(t.b=new Xx((VB(),o9),d9,t)),t.b),`qualified`)))),e.c}function xqe(e){var t,n;for(n=new E(e.a.b);n.a<n.c.c.length;)if(t=P(z(n),70),hg(eS(K(t,(PB(),D1)))))return!0;return!1}function Sqe(e,t){GE();var n,r;for(r=new XC(dx(dP(e).a.Jc(),new f));CR(r);)if(n=P(CO(r),17),n.d.i==t||n.c.i==t)return n;return null}function Cqe(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group==null?console.log:console.group).call(console,e)}function wqe(e,t,n,r){P(n.b,68),P(n.b,68),P(r.b,68),P(r.b,68).c.b,KPe(r,t,e)}function Tqe(e,t,n){t.b=r.Math.max(t.b,-n.a),t.c=r.Math.max(t.c,n.a-e.a),t.d=r.Math.max(t.d,-n.b),t.a=r.Math.max(t.a,n.b-e.b)}function Eqe(e,t,n){var r=P(H(Ck(e.a),t),87),i,a=(i=r.c,i||(VB(),e9));return(a.Sh()?bN(e.b,P(a,52)):a)==n?Nz(r):hA(r,n),a}function Dqe(e,t,n){var r,i,a;for(a=new E(n.a);a.a<a.c.c.length;)i=P(z(a),225),r=new Gb(P(Zw(e.a,i.b),68)),$b(t.a,r),Dqe(e,r,i)}function Oqe(e,t,n){var r=t.c.p,i,a=t.p;e.b[r][a]=new vEe(e,t),n&&(e.a[r][a]=new Yte(t),i=P(K(t,(Y(),m$)),9),i&&fR(e.d,i,t))}function kqe(e,t,n){this.c=e,this.f=new ah,this.e=new Xg,this.j=new Oxe,this.n=new Oxe,this.b=t,this.g=new zT(t.c,t.d,t.b,t.a),this.a=n}function pF(e){var t,n,r,i;for(this.a=new pb,this.d=new Dh,this.e=0,n=e,r=0,i=n.length;r<i;++r)t=n[r],!this.f&&(this.f=t),vD(this,t)}function Aqe(e){vz(),e.length==0?(this.e=0,this.d=1,this.a=U(k(q9,1),JV,30,15,[0])):(this.e=1,this.d=e.length,this.a=e,yD(this))}function mF(e,t,n){Rie.call(this),this.a=V(jxt,ift,216,(uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])).length,0,1),this.b=e,this.d=t,this.c=n}function jqe(e){var t,n,r,i,a,o=P(K(e,(Y(),T$)),12);for(W(o,R$,e.i.n.b),t=SD(e.e),r=t,i=0,a=r.length;i<a;++i)n=r[i],VE(n,o)}function Mqe(e){var t,n=P(K(e,(Y(),T$)),12),r,i,a,o;for(W(n,R$,e.i.n.b),t=SD(e.g),i=t,a=0,o=i.length;a<o;++a)r=i[a],zE(r,n)}function Nqe(e,t){var n=t.ni(e.a),r;return n&&(r=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),Nq)),r!=null)?r:t.ve()}function Pqe(e,t){var n=t.ni(e.a),r;return n&&(r=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),Nq)),r!=null)?r:t.ve()}function Fqe(e,t){var n=Ub(e.a.c.p,t.a.c.p),r;return n==0?(r=Ub(e.a.d.i.p,t.a.d.i.p),r==0?Ub(t.a.d.p,e.a.d.p):r):n}function Iqe(e,t,n){var r,i,a=t.j,o=n.j;return a==o?(r=e.f[t.p],i=e.f[n.p],r==0&&i==0?0:r==0?-1:i==0?1:RN(r,i)):a.g-o.g}function Lqe(e,t){var n,r,i,a;for(r=0,i=t.gc();r<i;++r)n=t.Rl(r),M(n,103)&&(P(n,19).Bb&sq)!=0&&(a=t.Sl(r),a!=null&&rnt(e,P(a,57)))}function Rqe(){var e;return rY!=0&&(e=Date.now(),e-Qyt>2e3&&(Qyt=e,iY=r.setTimeout(Wce,10))),rY++==0?(VIe((Wae(),$yt)),!0):!1}function zqe(e,t,n){var r;(pxt?(sKe(e),!0):mxt||gxt?(j_(),!0):hxt&&(j_(),!1))&&(r=new rve(t),r.b=n,K1e(e,r))}function hF(e,t){var n=!e.A.Gc((tF(),z5))||e.q==(iL(),t5);e.u.Gc((rR(),c5))?n?Xct(e,t):Tct(e,t):e.u.Gc(u5)&&(n?nct(e,t):vlt(e,t))}function Bqe(e,t,n){var r,i;yL(e.e,t,n,(wB(),N5)),yL(e.i,t,n,p5),e.a&&(i=P(K(t,(Y(),T$)),12),r=P(K(n,T$),12),_D(e.g,i,r))}function Vqe(e){var t;j(J(e,(LB(),A6)))===j((nN(),P8))&&(PE(e)?(t=P(J(PE(e),A6),347),IF(e,A6,t)):IF(e,A6,F8))}function Hqe(e,t,n){return new zT(r.Math.min(e.a,t.a)-n/2,r.Math.min(e.b,t.b)-n/2,r.Math.abs(e.a-t.a)+n,r.Math.abs(e.b-t.b)+n)}function Uqe(e){var t;this.d=new ah,this.j=new Xg,this.g=new Xg,t=e.g.b,this.f=P(K(lT(t),(PB(),T1)),86),this.e=O(N(jF(t,T0)))}function Wqe(e){this.d=new ah,this.e=new rO,this.c=V(q9,JV,30,(wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])).length,15,1),this.b=e}function Gqe(e,t,n){var r=n[e.g][t];switch(e.g){case 1:case 3:return new A(0,r);case 2:case 4:return new A(r,0);default:return null}}function Kqe(e,t){var n=mA(e.o,t);if(n==null)throw D(new _g(`Node did not exist in input.`));return U5e(e,t),wtt(e,t),r8e(e,t,n),null}function qqe(e,t){var n,r=e.a.length;for(t.length<r&&(t=Ng(Array(r),t)),n=0;n<r;++n)Jw(t,n,e.a[n]);return t.length>r&&Jw(t,r,null),t}function gF(e,t){var n,r=e.c.length;for(t.length<r&&(t=Ng(Array(r),t)),n=0;n<r;++n)Jw(t,n,e.c[n]);return t.length>r&&Jw(t,r,null),t}function _F(e,t,n,r){var i=e.length;if(t>=i)return i;for(t=t>0?t:0;t<i&&!EM((sD(t,e.length),e.charCodeAt(t)),n,r);t++);return t}function Jqe(e,t,n){var r,i=P(pE(t.f),214);try{i.kf(e,n),sTe(t.f,i)}catch(e){throw e=hM(e),M(e,101)?(r=e,D(r)):D(e)}}function Yqe(e,t,n){var r=null,i,a,o,s=qot(zA(),t),c;return a=null,s&&(i=null,c=Mot(s,n),o=null,c!=null&&(o=e.of(s,c)),i=o,a=i),r=a,r}function Xqe(e,t,n,r){var i=new Gk(e.e,1,13,(o=t.c,o||(VB(),e9)),(a=n.c,a||(VB(),e9)),GF(e,t),!1),a,o;return r?r.lj(i):r=i,r}function Zqe(e){var t;if(e==null)return null;if(t=v8e($z(e,!0)),t==null)throw D(new bg(`Invalid hexBinary value: '`+e+`'`));return t}function vF(e,t,n){var r;t.a.length>0&&($b(e.b,new Bbe(t.a,n)),r=t.a.length,0<r?t.a=dE(t.a,0,0):0>r&&(t.a+=kpe(V(K9,BV,30,-r,15,1))))}function Qqe(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new E(cN(t));i.a<i.c.c.length;)r=P(z(i),217),a=yP(r,t),Qqe(e,a,n)}function $qe(e,t){var n=0,i,a,o;for(a=new E(t.a);a.a<a.c.c.length;)i=P(z(a),9),o=i.o.a+i.d.c+i.d.b+e.j,n=r.Math.max(n,o);return n}function yF(e,t,n){var r,i=P(Zw(e.e,t),393),a;return i?(a=Fge(i,n),Rpe(e,i),a):(r=new Ube(e,t,n),ST(e.e,t,r),FDe(r),null)}function eJe(e,t){var n=Zw(e.q,t);if(n==null)throw D(new _g(`Port did not exist in input.`));return U5e(e,t),wtt(e,t),r8e(e,t,n),null}function bF(){return BB(),U(k(sSt,1),Z,168,0,[iSt,rSt,aSt,Yxt,Jxt,Xxt,$xt,Qxt,Zxt,nSt,tSt,eSt,Kxt,Gxt,qxt,Uxt,Hxt,Wxt,Bxt,zxt,Vxt,oSt])}function xF(e){switch(e.g){case 4:return new A(0,-1);case 1:return new A(1,0);case 2:return new A(-1,0);default:return new A(0,1)}}function SF(e){switch(e.g){case 1:return WN(),y8;case 4:return WN(),g8;case 2:return WN(),_8;case 3:return WN(),h8}return WN(),v8}function tJe(e){switch(e.fj(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function CF(){CF=C,Y3=new py(`PARENTS`,0),J3=new py(`NODES`,1),K3=new py(`EDGES`,2),X3=new py(`PORTS`,3),q3=new py(`LABELS`,4)}function wF(){wF=C,Z8=new Ty(`DISTRIBUTED`,0),Q8=new Ty(`JUSTIFIED`,1),BRt=new Ty(`BEGIN`,2),X8=new Ty(YH,3),VRt=new Ty(`END`,4)}function nJe(e,t,n){var r=n.q.getFullYear()-qV+qV;switch(r<0&&(r=-r),t){case 1:e.a+=r;break;case 2:Hk(e,r%100,2);break;default:Hk(e,r,t)}}function TF(e,t){var n,r;if(UE(t,e.b),t>=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n<t;++n)r=r.a;return new $_e(e,t,r)}function rJe(e){this.b=new ah,this.e=new ah,this.d=e,this.a=!u_(AT(new jC(null,new Lw(new IO(e.b))),new wm(new wi))).zd((M_(),PY))}function iJe(e){var t;e.g&&(e.c.ig()?e.f:e.a)&&(t=e.c.ig()?e.f:e.a,Y7e(t.a,e.o,!0),Y7e(t.a,e.o,!1),W(e.o,(PB(),l0),(iL(),e5)))}function aJe(e,t){var n,r,i=t.d.i;r=i.k,!(r==(MR(),HX)||r==LX)&&(n=new XC(dx(fP(i).a.Jc(),new f)),CR(n)&&ST(e.k,t,P(CO(n),17)))}function oJe(e,t){return pA(),RN((e.a.b==0?new A(e.c.e.a,e.c.e.b):P(Hx(e.a),8)).b,(t.a.b==0?new A(t.c.e.a,t.c.e.b):P(Hx(t.a),8)).b)}function sJe(e,t){return pA(),RN((e.a.b==0?new A(e.c.e.a,e.c.e.b):P(Hx(e.a),8)).a,(t.a.b==0?new A(t.c.e.a,t.c.e.b):P(Hx(t.a),8)).a)}function cJe(e,t){return pA(),RN((e.a.b==0?new A(e.b.e.a,e.b.e.b):P(Ux(e.a),8)).a,(t.a.b==0?new A(t.b.e.a,t.b.e.b):P(Ux(t.a),8)).a)}function lJe(e,t){return pA(),RN((e.a.b==0?new A(e.b.e.a,e.b.e.b):P(Ux(e.a),8)).b,(t.a.b==0?new A(t.b.e.a,t.b.e.b):P(Ux(t.a),8)).b)}function EF(e,t){var n,r=eA(e.Ah(),t),i;return n=t-e.gi(),n<0?(i=e.Fh(r),i>=0?e.Th(i):cR(e,r)):n<0?cR(e,r):P(r,69).uk().zk(e,e.ei(),n)}function uJe(e){var t,n,r=(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),e.o);for(n=r.c.Jc();n.e!=n.i.gc();)t=P(n.Wj(),45),t.kd();return JO(r)}function DF(e){var t;if(M(e.a,4)){if(t=dqe(e.a),t==null)throw D(new cg(rgt+e.b+`'. `+tgt+($x(w7),w7.k)+ngt));return t}else return e.a}function dJe(e){var t;if(e==null)return null;if(t=llt($z(e,!0)),t==null)throw D(new bg(`Invalid base64Binary value: '`+e+`'`));return t}function OF(e){var t;try{return t=e.i.Xb(e.e),e.Vj(),e.g=e.e++,t}catch(t){throw t=hM(t),M(t,99)?(e.Vj(),D(new xh)):D(t)}}function kF(e){var t;try{return t=e.c.Ti(e.e),e.Vj(),e.g=e.e++,t}catch(t){throw t=hM(t),M(t,99)?(e.Vj(),D(new xh)):D(t)}}function AF(e){var t,n,r,i=0;for(n=0,r=e.length;n<r;n++)t=(sD(n,e.length),e.charCodeAt(n)),t>=64&&t<128&&(i=dD(i,$C(1,t-64)));return i}function jF(e,t){var n,r=null;return Kx(e,(LB(),o8))&&(n=P(K(e,o8),105),n.nf(t)&&(r=n.mf(t))),r==null&&lT(e)&&(r=K(lT(e),t)),r}function fJe(e,t){var n=P(K(e,(PB(),z1)),78);return Dpe(t,PCt)?n?YT(n):(n=new Rh,W(e,z1,n)):n&&W(e,z1,null),n}function pJe(e,t){var n,r,i=new HO(t.gc());for(r=t.Jc();r.Ob();)n=P(r.Pb(),294),n.c==n.f?LL(e,n,n.c):L0e(e,n)||ph(i.c,n);return i}function mJe(e,t){var n=e.o,r,i;for(i=P(P(DO(e.r,t),22),83).Jc();i.Ob();)r=P(i.Pb(),115),r.e.a=cXe(r,n.a),r.e.b=n.b*O(N(r.b.mf(qY)))}function hJe(e,t){var n,r,i=e.k,a;return n=O(N(K(e,(Y(),k$)))),a=t.k,r=O(N(K(t,k$))),a==(MR(),RX)?i==RX?n==r?0:n<r?-1:1:1:-1}function gJe(e,t){var n=P(P(Zw(e.g,t.a),49).a,68),r=P(P(Zw(e.g,t.b),49).a,68);return QO(t.a,t.b)-QO(t.a,hpe(n.b))-QO(t.b,hpe(r.b))}function MF(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,M(r,100)?P(r,100).qh():null),s3e(t,n))){cF(e.a,4,n);return}cF(e.a,4,P(t,129))}function NF(e){switch(Ice(),this.c=new ah,this.d=e,e.g){case 0:case 2:this.a=wTe(ACt),this.b=pH;break;case 3:case 1:this.a=ACt,this.b=mH}}function _Je(e){var t;ES(P(K(e,(PB(),l0)),102))&&(t=e.b,d3e((oD(0,t.c.length),P(t.c[0],25))),d3e(P(AC(t,t.c.length-1),25)))}function vJe(e,t){t.Tg(`Self-Loop post-processing`,1),P_(AT(AT(Bk(new jC(null,new nD(e.b,16)),new Cr),new wr),new Tr),new Er),t.Ug()}function yJe(e,t,n){var r,i;if(e.c)TA(e.c,e.c.i+t),EA(e.c,e.c.j+n);else for(i=new E(e.b);i.a<i.c.c.length;)r=P(z(i),167),yJe(r,t,n)}function bJe(e){var t,n,r=e.c.a;for(e.p=(Kw(r),new NS(r)),n=new E(r);n.a<n.c.c.length;)t=P(z(n),9),t.p=j2e(t).a;KT(),Vb(e.p,new Ta)}function xJe(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n<r;n++)if(!CS(e.j[n],t.j[n]))return!1;return!0}function SJe(e,t){KT();var n=e,r,i,a=t;for(M(e,22)&&!M(t,22)&&(n=t,a=e),i=n.Jc();i.Ob();)if(r=i.Pb(),a.Gc(r))return!1;return!0}function CJe(e,t,n,r){return t.a<r.a||t.a==r.a&&(t.b<r.b||t.b==r.b&&e.b>n.b)}function wJe(e){var t=new Og;return t.a+=`n`,e.k!=(MR(),HX)&&Qy(Qy((t.a+=`(`,t),qx(e.k).toLowerCase()),`)`),Qy((t.a+=`_`,t),SI(e)),t.a}function PF(){PF=C,IAt=new Uv(Lmt,0),$0=new Uv(vW,1),e2=new Uv(`LINEAR_SEGMENTS`,2),Q0=new Uv(`BRANDES_KOEPF`,3),t2=new Uv(Imt,4)}function FF(e,t,n,r){var i;return n>=0?e.Ph(t,n,r):(e.Mh()&&(r=(i=e.Ch(),i>=0?e.xh(r):e.Mh().Qh(e,-1-i,null,r))),e.zh(t,n,r))}function TJe(e,t){switch(t){case 7:!e.e&&(e.e=new xS(i7,e,7,4)),oB(e.e);return;case 8:!e.d&&(e.d=new xS(i7,e,8,5)),oB(e.d);return}OKe(e,t)}function IF(e,t,n){return n==null?(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),iF(e.o,t)):(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),HI(e.o,t,n)),e}function LF(e,t){var n=e.dd(t);try{return n.Pb()}catch(e){throw e=hM(e),M(e,112)?D(new ig(`Can't get element `+t)):D(e)}}function EJe(e,t){var n=P(CT(e.b,t),127).n;switch(t.g){case 1:e.t>=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function DJe(e){var t=e.a;do t=P(CO(new XC(dx(uP(t).a.Jc(),new f))),17).c.i,t.k==(MR(),BX)&&e.b.Ec(t);while(t.k==(MR(),BX));e.b=AP(e.b)}function OJe(e,t){var n,i,a=e;for(i=new XC(dx(uP(t).a.Jc(),new f));CR(i);)n=P(CO(i),17),n.c.i.c&&(a=r.Math.max(a,n.c.i.c.p));return a}function kJe(e,t){var n,r,i=0;for(r=P(P(DO(e.r,t),22),83).Jc();r.Ob();)n=P(r.Pb(),115),i+=n.d.d+n.b.Kf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function AJe(e,t){var n,r,i=0;for(r=P(P(DO(e.r,t),22),83).Jc();r.Ob();)n=P(r.Pb(),115),i+=n.d.b+n.b.Kf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function jJe(e){var t,n,r=0,i=iz(e);if(i.c.length==0)return 1;for(n=new E(i);n.a<n.c.c.length;)t=P(z(n),26),r+=jJe(t);return r}function MJe(e){var t,n;for(this.b=new ah,this.c=e,this.a=!1,n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),9),this.a|=t.k==(MR(),HX)}function NJe(e,t,n){var r=e.bd(t),i,a,o;return r!=-1&&(e.Nj()?(a=e.Oj(),o=vC(e,r),i=e.Gj(4,o,null,r,a),n?n.lj(i):n=i):vC(e,r)),n}function RF(e,t,n){var r=e.bd(t),i,a,o;return r!=-1&&(e.Nj()?(a=e.Oj(),o=OI(e,r),i=e.Gj(4,o,null,r,a),n?n.lj(i):n=i):OI(e,r)),n}function PJe(e,t,n,r){var i,a,o;n.Uh(t)&&(rv(),Lk(t)?(i=P(n.Jh(t),163),Lqe(e,i)):(a=(o=t,o?P(r,52).di(o):null),a&&Vre(n.Jh(t),a)))}function zF(e,t,n,r){var i,a=eA(e.Ah(),t),o;return i=t-e.gi(),i<0?(o=e.Fh(a),o>=0?e.Ih(o,n,!0):mR(e,a,n)):P(a,69).uk().wk(e,e.ei(),i,n,r)}function FJe(e,t,n,r){var i=wWe(t.nf((LB(),L6))?P(t.mf(L6),22):e.j);i!=(BB(),oSt)&&(n&&!rqe(i)||T0e(y8e(e,i,r),t))}function BF(e,t){return Uy(e)?!!jyt[t]:e.Qm?!!e.Qm[t]:Hy(e)?!!Ayt[t]:Vy(e)?!!kyt[t]:!1}function IJe(e){switch(e.g){case 1:return tM(),ZY;case 3:return tM(),JY;case 2:return tM(),XY;case 4:return tM(),YY;default:return null}}function LJe(e,t,n){if(e.e)switch(e.b){case 1:hEe(e.c,t,n);break;case 0:gEe(e.c,t,n)}else Zje(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function RJe(e){var t,n;if(e==null)return null;for(n=V(IX,X,199,e.length,0,2),t=0;t<n.length;t++)n[t]=P(yMe(e[t],e[t].length),199);return n}function zJe(e){var t=P(K(e,(Lz(),mNt)),104);W(e,(CB(),e4),new A(0,0)),ent(new RO,e,t.b-O(N(K(e,i4))),t.d-O(N(K(e,a4))))}function VF(e){var t;if(JM(e))return ZC(e),e.sl()&&(t=sR(e.e,e.b,e.c,e.a,e.j),e.j=t),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw D(new xh)}function BJe(e,t,n){n.Tg(`Compound graph preprocessor`,1),e.a=new mE,rct(e,t,null),Aat(e,t),E5e(e),W(t,(Y(),nEt),e.a),e.a=null,aw(e.b),n.Ug()}function VJe(e,t,n){var r,i,a;for(i=new XC(dx((t?uP(e):fP(e)).a.Jc(),new f));CR(i);)r=P(CO(i),17),a=t?r.c.i:r.d.i,a.k==(MR(),zX)&&BE(a,n)}function HJe(e,t,n){var r=t.i.j.c.length,i,a;return Kx(t,(Y(),w$))&&Kx(n,w$)?(i=XR(t,n,e.b,r),a=XR(n,t,e.b,r),i<a?-1:+(i>a)):0}function HF(){HF=C,Y0=new Hv(YU,0),X0=new Hv(`PORT_POSITION`,1),J0=new Hv(`NODE_SIZE_WHERE_SPACE_PERMITS`,2),q0=new Hv(`NODE_SIZE`,3)}function UJe(e,t){var n,r,i;for(t.Tg(`Untreeify`,1),n=P(K(e,(CB(),UMt)),16),i=n.Jc();i.Ob();)r=P(i.Pb(),65),pC(r.b.d,r),pC(r.c.b,r);t.Ug()}function UF(){UF=C,s6=new hy(`AUTOMATIC`,0),u6=new hy(XH,1),d6=new hy(ZH,2),f6=new hy(`TOP`,3),c6=new hy(oft,4),l6=new hy(YH,5)}function WF(e,t,n){var r,i=e.gc();if(t>=i)throw D(new SS(t,i));if(e.Qi()&&(r=e.bd(n),r>=0&&r!=t))throw D(new sg(Fq));return e.Vi(t,n)}function GF(e,t){var n,r,i=NXe(e,t);if(i>=0)return i;if(e.ml()){for(r=0;r<e.i;++r)if(n=e.nl(P(e.g[r],57)),j(n)===j(t))return r}return-1}function WJe(e,t){if(this.a=P(Kw(e),254),this.b=P(Kw(t),254),e.Cd(t)>0||e==(Gh(),Lyt)||t==(Kh(),Ryt))throw D(new sg(`Invalid range: `+Yje(e,t)))}function GJe(e,t,n,r){cz();var i=0,a;for(a=0;a<n;a++)i=sP(cP(uD(t[a],xH),uD(r,xH)),uD(RC(i),xH)),e[a]=RC(i),i=tw(i,32);return RC(i)}function KJe(e,t,n){var i,a=0;for(i=0;i<Nxt;i++)a=r.Math.max(a,mUe(e.a[t.g][i],n));return t==(uA(),LY)&&e.b&&(a=r.Math.max(a,e.b.b)),a}function KF(e,t){var n,r;if(uhe(t>0),(t&-t)==t)return xE(t*FR(e,31)*4656612873077393e-25);do n=FR(e,31),r=n%t;while(n-r+(t-1)<0);return xE(r)}function qJe(e,t){var n=bx(new Ah,e),r,i;for(i=new E(t);i.a<i.c.c.length;)r=P(z(i),124),ZR(L_(I_(R_(F_(new Mh,0),0),n),r));return n}function qF(e,t,n){var r,i;for(vVe(e,t-e.s,n-e.t),i=new E(e.n);i.a<i.c.c.length;)r=P(z(i),208),Vp(r,r.e+t-e.s),Hp(r,r.f+n-e.t);e.s=t,e.t=n}function JJe(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function JF(e,t,n,r){var i,a;for(i=t;i<e.c.length;i++)if(a=(oD(i,e.c.length),P(e.c[i],12)),n.Mb(a))ph(r.c,a);else return i;return e.c.length}function YJe(e){var t,n,r;for(r=P(DO(e.a,(rL(),MZ)),16).Jc();r.Ob();)n=P(r.Pb(),107),t=kXe(n),Bw(e,n,t[0],(lj(),PZ),0),Bw(e,n,t[1],IZ,1)}function XJe(e){var t,n,r;for(r=P(DO(e.a,(rL(),NZ)),16).Jc();r.Ob();)n=P(r.Pb(),107),t=kXe(n),Bw(e,n,t[0],(lj(),PZ),0),Bw(e,n,t[1],IZ,1)}function YF(e){switch(e.g){case 0:return null;case 1:return new Dze;case 2:return new pae;default:throw D(new sg(uK+(e.f==null?``+e.g:e.f)))}}function ZJe(e){var t=O(N(J(e,(LB(),u8))))*r.Math.sqrt((!e.a&&(e.a=new F(p7,e,10,11)),e.a).i);return new A(t,t/O(N(J(e,l8))))}function XF(e){var t;return e.f&&e.f.Sh()&&(t=P(e.f,52),e.f=P(bN(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,9,8,t,e.f))),e.f}function ZF(e){var t;return e.i&&e.i.Sh()&&(t=P(e.i,52),e.i=P(bN(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,9,7,t,e.i))),e.i}function QF(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=P(bN(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,9,21,t,e.b))),e.b}function $F(e,t){var n,r,i;e.d==null?(++e.e,++e.f):(r=t.yi(),R5e(e,e.f+1),i=(r&JB)%e.d.length,n=e.d[i],!n&&(n=e.d[i]=e.bk()),n.Ec(t),++e.f)}function QJe(e,t,n){var r;return t.rk()?!1:t.Gk()==-2?t.ok()==e.e.Ah()&&n==null:(r=t.gk(),r==null?n==null:DN(r,n))}function eI(){var e;qA(16,ndt),e=cze(16),this.b=V(zyt,OV,308,e,0,1),this.c=V(zyt,OV,308,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function tI(e){Zge.call(this),this.k=(MR(),HX),this.j=(qA(6,jV),new HO(6)),this.b=(qA(2,jV),new HO(2)),this.d=new Ph,this.f=new Iie,this.a=e}function $Je(e){var t,n=0,r,i,a;for(i=new E(e.a);i.a<i.c.c.length;)r=P(z(i),124),r.d=n++;return t=f1e(e),a=null,t.c.length>1&&(a=qJe(e,t)),a}function eYe(e){var t=0,n,r;for(r=new E(e.c.a);r.a<r.c.c.length;)n=P(z(r),9),t+=UD(new XC(dx(fP(n).a.Jc(),new f)));return t/e.c.a.c.length}function nI(e){var t,n;for(n=new lx(e);n.e!=n.i.gc();)if(t=P(OF(n),87),t.e||(!t.d&&(t.d=new ix(z7,t,1)),t.d).i!=0)return!0;return!1}function rI(e){var t,n;for(n=new lx(e);n.e!=n.i.gc();)if(t=P(OF(n),87),t.e||(!t.d&&(t.d=new ix(z7,t,1)),t.d).i!=0)return!0;return!1}function tYe(e,t,n,r){var i=P(DO(r?e.a:e.b,t),22),a,o;for(o=i.Jc();o.Ob();)if(a=P(o.Pb(),26),lz(e,n,a))return!0;return!1}function nYe(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!(j(n)===j(r)||n!=null&&DN(n,r))))return!1;return!t.Ob()}function rYe(e){var t,n;e.c.length<=1||(t=O9e(e,(wB(),j5)),J0e(e,P(t.a,15).a,P(t.b,15).a),n=O9e(e,N5),J0e(e,P(n.a,15).a,P(n.b,15).a))}function iYe(e,t,n){var r,i=e.a.b;for(r=i.c.length;r<n;r++)BC(i,i.c.length,new tT(e.a));BE(t,(oD(n-1,i.c.length),P(i.c[n-1],25))),e.b[t.p]=n}function aYe(e,t){var n,r,i;for(e.b[t.g]=1,r=TF(t.d,0);r.b!=r.d.c;)n=P(RD(r),65),i=n.c,e.b[i.g]==1?pC(e.a,n):e.b[i.g]==2?e.b[i.g]=1:aYe(e,i)}function iI(){iI=C,TIt=(yet(),yIt),CIt=new kb(8),new Nb((LB(),W6),CIt),new Nb(c8,8),wIt=_It,xIt=sIt,SIt=cIt,bIt=new Nb(E6,(mx(),!1))}function oYe(e,t,n){var r;n.Tg(`Shrinking tree compaction`,1),hg(eS(K(t,(eM(),$Y))))?(aze(e,t.f),bIe(t.f,(r=t.c,r))):bIe(t.f,t.c),n.Ug()}function sYe(e,t,n,r){switch(t){case 7:return!e.e&&(e.e=new xS(i7,e,7,4)),e.e;case 8:return!e.d&&(e.d=new xS(i7,e,8,5)),e.d}return jGe(e,t,n,r)}function aI(e){var t;return e.a&&e.a.Sh()&&(t=P(e.a,52),e.a=P(bN(e,t),143),e.a!=t&&e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,9,5,t,e.a))),e.a}function oI(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function sI(e,t){if(e==null)throw D(new lg(`null key in entry: null=`+t));if(t==null)throw D(new lg(`null value in entry: `+e+`=null`))}function cYe(e,t){var n=U(k(Z9,1),yH,30,15,[mUe(e.a[0],t),mUe(e.a[1],t),mUe(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function lYe(e,t){var n=U(k(Z9,1),yH,30,15,[fN(e.a[0],t),fN(e.a[1],t),fN(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function uYe(e,t,n){ES(P(K(t,(PB(),l0)),102))||(mNe(e,t,NL(t,n)),mNe(e,t,NL(t,(wB(),j5))),mNe(e,t,NL(t,m5)),KT(),Vb(t.j,new Kte(e)))}function dYe(e){var t,n;for(e.c||xot(e),n=new Rh,t=new E(e.a),z(t);t.a<t.c.c.length;)pC(n,P(z(t),410).a);return Bx(n.b!=0),aA(n,n.c.b),n}function fYe(e,t,n){var r,i,a,o,s=e.r+t;for(e.r+=t,e.d+=n,r=n/e.n.c.length,i=0,o=new E(e.n);o.a<o.c.c.length;)a=P(z(o),208),$6e(a,s,r,i),++i}function pYe(e){var t,n,r;for(e.b.a.$b(),e.a=V(FY,$B,60,e.c.c.a.b.c.length,0,1),t=0,r=new E(e.c.c.a.b);r.a<r.c.c.length;)n=P(z(r),60),n.f=t++}function mYe(e){var t,n,r;for(e.b.a.$b(),e.a=V(xX,$B,82,e.c.a.a.b.c.length,0,1),t=0,r=new E(e.c.a.a.b);r.a<r.c.c.length;)n=P(z(r),82),n.i=t++}function hYe(e){var t,n,r,i,a;for(r=new E(e.b);r.a<r.c.c.length;)for(n=P(z(r),25),t=0,a=new E(n.a);a.a<a.c.c.length;)i=P(z(a),9),i.p=t++}function gYe(e,t,n){var r,i,a,o=0;for(r=n/e.a.c.length,a=new E(e.a);a.a<a.c.c.length;)i=P(z(a),173),qF(i,i.s,i.t+o*r),fYe(i,e.d-i.r+t,r),++o}function _Ye(e){var t=vUe(e);if(!CR(e))throw D(new ig(`position (0) must be less than the number of elements that remained (`+t+`)`));return CO(e)}function vYe(e,t){var n;return e.a||=(n=V(Z9,yH,30,0,15,1),c_(e.b.a,new zee(n)),tie(n,GLe(ie.prototype.Ke,ie,[])),new nve(n,e.d)),zO(e.a,t)}function yYe(e){switch(e.g){case 1:return wB(),N5;case 4:return wB(),m5;case 3:return wB(),p5;case 2:return wB(),j5;default:return wB(),M5}}function bYe(e,t,n){t.k==(MR(),HX)&&n.k==BX&&(e.d=pWe(t,(wB(),j5)),e.b=pWe(t,m5)),n.k==HX&&t.k==BX&&(e.d=pWe(n,(wB(),m5)),e.b=pWe(n,j5))}function cI(e,t){var n,r;for(r=rP(e,t).Jc();r.Ob();)if(n=P(r.Pb(),12),K(n,(Y(),O$))!=null||Tx(new IO(n.b)))return!0;return!1}function xYe(e,t,n){n.Tg(`Linear segments node placement`,1),e.b=P(K(t,(Y(),I$)),316),fut(e,t),$it(e,t),Fat(e,t),klt(e),e.a=null,e.b=null,n.Ug()}function SYe(e,t){return TA(t,e.e+e.d+(e.c.c.length==0?0:e.b)),EA(t,e.f),e.a=r.Math.max(e.a,t.f),e.d+=t.g+(e.c.c.length==0?0:e.b),$b(e.c,t),!0}function CYe(e,t){var n,r,i=t.length-1,a,o=0,s=0;for(r=0;r<=i;r++)a=t[r],n=n0e(i,r)*UUe(1-e,i-r)*UUe(e,r),o+=a.a*n,s+=a.b*n;return new A(o,s)}function wYe(e,t){var n=t.gc(),r,i,a,o;for(e.Zi(e.i+n),a=t.Jc(),o=e.i,e.i+=n,r=o;r<e.i;++r)i=a.Pb(),rx(e,r,e.Xi(r,i)),e.Ki(r,i),e.Li();return n!=0}function TYe(e,t,n){var r,i,a;return e.Nj()?(r=e.Cj(),a=e.Oj(),++e.j,e.oj(r,e.Xi(r,t)),i=e.Gj(3,null,t,r,a),n?n.lj(i):n=i):yge(e,e.Cj(),t),n}function EYe(e,t,n){var r=P(H(KD(e.a),t),87),i,a=(i=r.c,M(i,88)?P(i,29):(VB(),t9));return(a.Db&64?bN(e.b,a):a)==n?Nz(r):hA(r,n),a}function DYe(e){var t;return e==null?null:new Ab((t=$z(e,!0),t.length>0&&(sD(0,t.length),t.charCodeAt(0)==43)?(sD(1,t.length+1),t.substr(1)):t))}function OYe(e){var t;return e==null?null:new Ab((t=$z(e,!0),t.length>0&&(sD(0,t.length),t.charCodeAt(0)==43)?(sD(1,t.length+1),t.substr(1)):t))}function kYe(e,t,n,r,i,a,o,s){var c,l;r&&(c=r.a[0],c&&kYe(e,t,n,c,i,a,o,s),EI(e,n,r.d,i,a,o,s)&&t.Ec(r),l=r.a[1],l&&kYe(e,t,n,l,i,a,o,s))}function lI(e,t){var n,r,i,a=e.gc();for(t.length<a&&(t=Ng(Array(a),t)),i=t,r=e.Jc(),n=0;n<a;++n)Jw(i,n,r.Pb());return t.length>a&&Jw(t,a,null),t}function AYe(e,t){var n,r=e.gc();if(t==null){for(n=0;n<r;n++)if(e.Xb(n)==null)return n}else for(n=0;n<r;n++)if(DN(t,e.Xb(n)))return n;return-1}function uI(e,t){var n=t.jd(),r,i=t.kd();return r=e.xc(n),!(!(j(i)===j(r)||i!=null&&DN(i,r))||r==null&&!e._b(n))}function jYe(e,t){var n,r,i;return t<=22?(n=e.l&(1<<t)-1,r=i=0):t<=44?(n=e.l,r=e.m&(1<<t-22)-1,i=0):(n=e.l,r=e.m,i=e.h&(1<<t-44)-1),Wb(n,r,i)}function MYe(e,t){switch(t.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function NYe(e,t){var n,r=t.c;switch(n=t.a,e.b.g){case 0:n.d=e.e-r.a-r.d;break;case 1:n.d+=e.e;break;case 2:n.c=e.e-r.a-r.d;break;case 3:n.c=e.e+r.d}}function dI(){dI=C,q4=new ay(YU,0),CPt=new ay(ept,1),wPt=new ay(`EDGE_LENGTH_BY_POSITION`,2),SPt=new ay(`CROSSING_MINIMIZATION_BY_POSITION`,3)}function fI(e,t){var n=P(mA(e.n,t),26),r;if(n)return n;if(r=P(mA(e.p,t),125),r)return r;throw D(new _g(`Referenced shape does not exist: `+t))}function PYe(e,t){if(e.g==-1)throw D(new vh);e.Vj();try{e.d.fd(e.g,t),e.f=e.d.j}catch(e){throw e=hM(e),M(e,99)?D(new gh):D(e)}}function FYe(e,t){var n,r;if(M(t,254)){r=P(t,254);try{return n=e.Cd(r),n==0}catch(e){if(e=hM(e),M(e,211))return!1;throw D(e)}}return!1}function IYe(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw D(new sg(`Node 'one' must be either source or target of edge 'edge'.`))}function LYe(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw D(new sg(`Node `+t+` is neither source nor target of edge `+e))}function RYe(e,t,n){n.Tg(`Self-Loop ordering`,1),P_(jT(AT(AT(Bk(new jC(null,new nD(t.b,16)),new _r),new vr),new yr),new br),new vte(e)),n.Ug()}function pI(e,t,n,r,i,a){var o=jZe(t,n,a),s=n==(wB(),m5)||n==N5?-1:1,c,l=e[n.g],u;for(u=0;u<l.length;u++)c=l[u],c>0&&(c+=i),l[u]=o,o+=s*(c+r)}function zYe(e){var t;for(t=0;t<e.a.c.length;t++)if(Kx(P(AC(e.a,t),9),(PB(),G1))&&hg(eS(K(P(AC(e.a,t),9),G1))))return!0;return!1}function BYe(e){var t,n,r=e.f;for(e.n=V(Z9,yH,30,r,15,1),e.d=V(Z9,yH,30,r,15,1),t=0;t<r;t++)n=P(AC(e.c.b,t),25),e.n[t]=$qe(e,n),e.d[t]=g5e(e,n)}function VYe(e,t,n,r){var i;this.c=e,this.d=t,i=new E_,iO(i,n,i.c.b,i.c),this.a=i,this.b=P(K(r,(Lz(),b4)),86),this.e=O(N(K(r,yNt))),Eut(this)}function mI(e,t){var n,r,i=0;for(r=2;r<t;r<<=1)(e.Db&r)!=0&&++i;if(i==0){for(n=t<<=1;n<=128;n<<=1)if((e.Db&n)!=0)return 0;return-1}else return i}function HYe(e,t){var n,r,i,a,o=$R(e.e.Ah(),t);for(a=null,n=P(e.g,122),i=0;i<e.i;++i)r=n[i],o.$l(r.Jk())&&(!a&&(a=new tl),XO(a,r));a&&Tlt(e,a)}function UYe(e){var t,n,r;if(!e)return null;if(e.dc())return``;for(r=new Eg,n=e.Jc();n.Ob();)t=n.Pb(),Yy(r,tS(t)),r.a+=` `;return ab(r,r.a.length-1)}function WYe(e,t){var n=Array(t),r;switch(e){case 14:case 15:r=0;break;case 16:r=!1;break;default:return n}for(var i=0;i<t;++i)n[i]=r;return n}function hI(e){var t,n,r;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),60),t.c.$b();r=vb(e.d)?e.a.c:e.a.d,sA(r,new Nm(e)),e.c.bf(e),e9e(e)}function GYe(e){var t,n,r,i;for(n=new E(e.e.c);n.a<n.c.c.length;){for(t=P(z(n),291),i=new E(t.b);i.a<i.c.c.length;)r=P(z(i),445),kit(r);w3e(t)}}function KYe(e){var t,n,i=JB;for(n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),9),Kx(t,(Y(),w$))&&(i=r.Math.min(i,P(K(t,w$),15).a));return i}function gI(e){var t,n,i=0,a,o=0;for(a=0,n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),173),o=r.Math.max(o,t.r),i+=t.d+(a>0?e.c:0),++a;e.b=i,e.d=o}function qYe(e,t){var n=U(k(Z9,1),yH,30,15,[KJe(e,(uA(),IY),t),KJe(e,LY,t),KJe(e,RY,t)]);return e.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function JYe(e){var t;Kx(e,(PB(),Y1))&&(t=P(K(e,Y1),22),t.Gc((wR(),V8))?(t.Kc(V8),t.Ec(U8)):t.Gc(U8)&&(t.Kc(U8),t.Ec(V8)))}function YYe(e){var t;Kx(e,(PB(),Y1))&&(t=P(K(e,Y1),22),t.Gc((wR(),J8))?(t.Kc(J8),t.Ec(K8)):t.Gc(K8)&&(t.Kc(K8),t.Ec(J8)))}function _I(e,t,n,r){var i,a,o,s;return e.a??t0e(e,t),o=t.b.j.c.length,a=n.d.p,s=r.d.p,i=s-1,i<0&&(i=o-1),a<=i?e.a[i]-e.a[a]:e.a[o-1]-e.a[a]+e.a[i]}function XYe(e){var t;for(t=0;t<e.a.c.length;t++)if(Kx(P(AC(e.a,t),9),(PB(),K1))&&!hg(eS(K(P(AC(e.a,t),9),K1))))return!1;return!0}function ZYe(e,t,n){var r,i,a=e.c,o,s=n?t:e;for(r=n?e:t,i=s.p+1;i<r.p;++i)if(o=P(AC(a.a,i),9),!(o.k==(MR(),LX)||lZe(o)))return!1;return!0}function QYe(e){var t,n;if(!e.b)for(e.b=OD(P(e.f,26).jh().i),n=new lx(P(e.f,26).jh());n.e!=n.i.gc();)t=P(OF(n),157),$b(e.b,new tg(t));return e.b}function $Ye(e){var t,n;if(!e.e)for(e.e=OD(jTe(P(e.f,26)).i),n=new lx(jTe(P(e.f,26)));n.e!=n.i.gc();)t=P(OF(n),125),$b(e.e,new Jne(t));return e.e}function eXe(e){var t,n;if(!e.a)for(e.a=OD(QT(P(e.f,26)).i),n=new lx(QT(P(e.f,26)));n.e!=n.i.gc();)t=P(OF(n),26),$b(e.a,new Fx(e,t));return e.a}function vI(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=qst(e),t)e.fl(t);else try{e.fl(null)}catch(e){if(e=hM(e),!M(e,63))throw D(e)}return e.C}function tXe(e){switch(e.q.g){case 5:JZe(e,(wB(),m5)),JZe(e,j5);break;case 4:Fot(e,(wB(),m5)),Fot(e,j5);break;default:d2e(e,(wB(),m5)),d2e(e,j5)}}function nXe(e){switch(e.q.g){case 5:YZe(e,(wB(),p5)),YZe(e,N5);break;case 4:Iot(e,(wB(),p5)),Iot(e,N5);break;default:f2e(e,(wB(),p5)),f2e(e,N5)}}function yI(e,t){var n,i,a=new Xg;for(i=e.Jc();i.Ob();)n=P(i.Pb(),37),hz(n,a.a,0),a.a+=n.f.a+t,a.b=r.Math.max(a.b,n.f.b);return a.b>0&&(a.b+=t),a}function bI(e,t){var n,i,a=new Xg;for(i=e.Jc();i.Ob();)n=P(i.Pb(),37),hz(n,0,a.b),a.b+=n.f.b+t,a.a=r.Math.max(a.a,n.f.a);return a.a>0&&(a.a+=t),a}function rXe(e,t){var n,r;if(t.length==0)return 0;for(n=Qw(e.a,t[0],(wB(),N5)),n+=Qw(e.a,t[t.length-1],p5),r=0;r<t.length;r++)n+=N1e(e,r,t);return n}function iXe(){tz(),this.c=new ah,this.i=new ah,this.e=new pb,this.f=new pb,this.g=new pb,this.j=new ah,this.a=new ah,this.b=new oh,this.k=new oh}function xI(e,t){var n,r;return e.Db>>16==6?e.Cb.Qh(e,5,c7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function aXe(e){CE();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+`
`;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(`
`)}return[]}function oXe(e){var t=(JRe(),hbt);return t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function sXe(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=YVe(r.Math.max(8,i))<<1,e.b==0?Ch(e.a,n):(t=gS(e.a,n),mze(e,t,i),e.a=t,e.b=0),e.c=i)}function cXe(e,t){var n=e.b;return n.nf((LB(),Y6))?n.$f()==(wB(),N5)?-n.Kf().a-O(N(n.mf(Y6))):t+O(N(n.mf(Y6))):n.$f()==(wB(),N5)?-n.Kf().a:t}function SI(e){var t;return e.b.c.length!=0&&P(AC(e.b,0),70).a?P(AC(e.b,0),70).a:(t=PT(e),t??``+(e.c?vk(e.c.a,e,0):-1))}function CI(e){var t;return e.f.c.length!=0&&P(AC(e.f,0),70).a?P(AC(e.f,0),70).a:(t=PT(e),t??``+(e.i?vk(e.i.j,e,0):-1))}function lXe(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n<e.gc();++n)if(r=P(e.Xb(n),132),n==e.gc()-1||!r.o)return new My(G(n),r);return null}function uXe(e){var t,n,i,a,o=0;for(a=mH,i=0,n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),173),o+=t.r+(i>0?e.c:0),a=r.Math.max(a,t.d),++i;e.e=o,e.b=a}function dXe(e){var t,n;if(!e.b)for(e.b=OD(P(e.f,125).jh().i),n=new lx(P(e.f,125).jh());n.e!=n.i.gc();)t=P(OF(n),157),$b(e.b,new tg(t));return e.b}function fXe(e,t){var n,r,i;if(t.dc())return aS(),aS(),E7;for(n=new Tge(e,t.gc()),i=new lx(e);i.e!=i.i.gc();)r=OF(i),t.Gc(r)&&XO(n,r);return n}function pXe(e,t,n,r){return t==0?r?(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),e.o):(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),JO(e.o)):zF(e,t,n,r)}function wI(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t<n;++t)Wx(H(e.rb,t));if(e.vb)for(t=0,n=e.vb.i;t<n;++t)Wx(H(e.vb,t));KC((HL(),p9),e),e.Bb|=1}function TI(e,t,n,r,i,a,o,s,c,l,u,d,f,p){return N2e(e,t,r,null,i,a,o,s,c,l,f,!0,p),lGe(e,u),M(e.Cb,88)&&$L(bO(P(e.Cb,88)),2),n&&fze(e,n),cGe(e,d),e}function mXe(e){var t,n;if(e==null)return null;n=0;try{n=Ez(e,LV,JB)&VV}catch(r){if(r=hM(r),M(r,131))t=Ak(e),n=t[0];else throw D(r)}return Jj(n)}function hXe(e){var t,n;if(e==null)return null;n=0;try{n=Ez(e,LV,JB)&VV}catch(r){if(r=hM(r),M(r,131))t=Ak(e),n=t[0];else throw D(r)}return Jj(n)}function gXe(e,t){var n,r,i=e.h-t.h;return i<0||(n=e.l-t.l,r=e.m-t.m+(n>>22),i+=r>>22,i<0)?!1:(e.l=n&iH,e.m=r&iH,e.h=i&aH,!0)}function EI(e,t,n,r,i,a,o){var s,c;return!(t.Re()&&(c=e.a.Le(n,r),c<0||!i&&c==0)||t.Se()&&(s=e.a.Le(n,a),s>0||!o&&s==0))}function _Xe(e,t){if(IM(),e.j.g-t.j.g!=0)return 0;switch(e.j.g){case 2:return hP(t,Gwt)-hP(e,Gwt);case 4:return hP(e,Wwt)-hP(t,Wwt)}return 0}function vXe(e){switch(e.g){case 0:return _Q;case 1:return vQ;case 2:return yQ;case 3:return bQ;case 4:return xQ;case 5:return SQ;default:return null}}function DI(e,t,n){var r=(i=new Vh,gN(i,t),hj(i,n),XO((!e.c&&(e.c=new F(H7,e,12,10)),e.c),i),i),i;return AA(r,0),jA(r,1),MN(r,!0),jN(r,!0),r}function OI(e,t){var n,r;if(t>=e.i)throw D(new ub(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&Fz(e.g,t+1,e.g,t,r),Jw(e.g,--e.i,null),e.Oi(t,n),e.Li(),n}function yXe(e,t){var n,r;return e.Db>>16==17?e.Cb.Qh(e,21,I7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function bXe(e){var t,n,r,i;for(KT(),Vb(e.c,e.a),i=new E(e.c);i.a<i.c.c.length;)for(r=z(i),n=new E(e.b);n.a<n.c.c.length;)t=P(z(n),683),t._e(r)}function xXe(e){var t,n,r,i;for(KT(),Vb(e.c,e.a),i=new E(e.c);i.a<i.c.c.length;)for(r=z(i),n=new E(e.b);n.a<n.c.c.length;)t=P(z(n),377),t._e(r)}function SXe(e){var t,n,r,i=JB,a=null;for(r=new E(e.d);r.a<r.c.c.length;)n=P(z(r),217),n.d.j^n.e.j&&(t=n.e.e-n.d.e-n.a,t<i&&(i=t,a=n));return a}function CXe(e){var t,n=0,i,a;for(t=0,a=new lx(e);a.e!=a.i.gc();)i=P(OF(a),26),n=r.Math.max(i.g+i.i,n),t=r.Math.max(i.f+i.j,t);return new A(n,t)}function wXe(){wXe=C,$St=new lb(wft,(mx(),!1)),YSt=new lb(Tft,100),ZSt=(xk(),mX),XSt=new lb(Eft,ZSt),QSt=new lb(Dft,mU),eCt=new lb(Oft,G(JB))}function TXe(e,t){var n,r,i;for(r=new XC(dx(dP(e).a.Jc(),new f));CR(r);)return n=P(CO(r),17),i=P(t.Kb(n),9),new Of(Kw(i.n.b+i.o.b/2));return Wh(),Wh(),Pyt}function EXe(e,t,n){var r,i,a,o,s,c,l=0,u;for(i=e.a[t],a=0,o=i.length;a<o;++a)for(r=i[a],u=kN(r,n),c=u.Jc();c.Ob();)s=P(c.Pb(),12),ST(e.f,s,G(l++))}function DXe(e,t,n){var r,i,a,o;if(n)for(i=n.a.length,r=new YC(i),o=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);o.Ob();)a=P(o.Pb(),15),fR(e,t,iR(Vk(n,a.a)))}function OXe(e,t,n){var r,i,a,o;if(n)for(i=n.a.length,r=new YC(i),o=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);o.Ob();)a=P(o.Pb(),15),fR(e,t,iR(Vk(n,a.a)))}function kXe(e){TL();var t=P(lI(JC(e.k),V(P5,XU,64,2,0,1)),126);return sk(t,0,t.length,null),t[0]==(wB(),m5)&&t[1]==N5&&(Jw(t,0,N5),Jw(t,1,m5)),t}function AXe(e,t,n){var r,i=d7e(e,t,n),a=y9e(e,i);return CFe(e.b),_D(e,t,n),KT(),Vb(i,new tne(e)),r=y9e(e,i),CFe(e.b),_D(e,n,t),new My(G(a),G(r))}function jXe(){jXe=C,Hjt=bC(new pT,(bL(),bX),(RB(),$X)),N2=new lS(`linearSegments.inputPrio`,G(0)),P2=new lS(`linearSegments.outputPrio`,G(0))}function kI(){kI=C,G2=new $v(`P1_TREEIFICATION`,0),K2=new $v(`P2_NODE_ORDERING`,1),q2=new $v(`P3_NODE_PLACEMENT`,2),J2=new $v(`P4_EDGE_ROUTING`,3)}function AI(){AI=C,z8=new Cy(`UNKNOWN`,0),I8=new Cy(`ABOVE`,1),L8=new Cy(`BELOW`,2),R8=new Cy(`INLINE`,3),new lS(`org.eclipse.elk.labelSide`,z8)}function MXe(e,t){if(M(t,271))return Ghe(e,P(t,85));if(M(t,276))return P(t,276);throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t])))))}function NXe(e,t){var n;if(e.Wi()&&t!=null){for(n=0;n<e.i;++n)if(DN(t,e.g[n]))return n}else for(n=0;n<e.i;++n)if(j(e.g[n])===j(t))return n;return-1}function PXe(e,t,n){var r,i;return t.c==(VA(),m2)&&n.c==p2?-1:t.c==p2&&n.c==m2?1:(r=hUe(t.a,e.a),i=hUe(n.a,e.a),t.c==m2?i-r:r-i)}function jI(e,t,n){if(n&&(t<0||t>n.a.c.length))throw D(new sg(`index must be >= 0 and <= layer node count`));e.c&&_k(e.c.a,e),e.c=n,n&&BC(n.a,t,e)}function FXe(e,t){this.c=new oh,this.a=e,this.b=t,this.d=P(K(e,(Y(),I$)),316),j(K(e,(PB(),qkt)))===j((mk(),CQ))?this.e=new Hie:this.e=new Vie}function IXe(e,t){var n,i,a,o=0;for(i=new E(e);i.a<i.c.c.length;)n=P(z(i),26),o+=r.Math.pow(n.g*n.f-t,2);return a=r.Math.sqrt(o/(e.c.length-1)),a}function LXe(e,t){var n,i=0,a=0,o,s;for(n=0,s=new E(e);s.a<s.c.c.length;)o=P(z(s),186),i=r.Math.max(i,o.e),a+=o.b+(n>0?t:0),++n;return new A(i,a)}function RXe(e,t){var n,r;for(e.b=0,e.d=new Ih,r=new E(t.a);r.a<r.c.c.length;)n=P(z(r),9),P(K(n,(Y(),H$)),15).a==-1&&(Bst(e,n),e.d.a.c.length=0)}function MI(e,t){var n=e.dd(t),r;try{return r=n.Pb(),n.Qb(),r}catch(e){throw e=hM(e),M(e,112)?D(new ig(`Can't remove element `+t)):D(e)}}function zXe(e,t){var n,r=new av,i=new tHe(r.q.getFullYear()-qV,r.q.getMonth(),r.q.getDate());if(n=Dit(e,t,i),n==0||n<t.length)throw D(new sg(t));return i}function BXe(e,t){var n,r,i;for(dT(t),uhe(t!=e),i=e.b.c.length,r=t.Jc();r.Ob();)n=r.Pb(),$b(e.b,dT(n));return i==e.b.c.length?!1:(zHe(e,0),!0)}function NI(){NI=C,iCt=(LB(),N6),new Nb(O6,(mx(),!0)),sCt=R6,cCt=B6,lCt=V6,oCt=L6,uCt=U6,dCt=$6,rCt=(wXe(),$St),tCt=XSt,nCt=QSt,aCt=eCt,fX=YSt}function VXe(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw D(new sg(`'port' must be either the source port or target port of the edge.`))}function HXe(e,t,n){var r,i=e.o;switch(r=e.d,t.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}function UXe(e,t,n,r){var i,a,o,s;for(BE(t,P(r.Xb(0),25)),s=r.hd(1,r.gc()),a=P(n.Kb(t),20).Jc();a.Ob();)i=P(a.Pb(),17),o=i.c.i==t?i.d.i:i.c.i,UXe(e,o,n,s)}function WXe(e){var t=new oh;return Kx(e,(Y(),B$))?P(K(e,B$),92):(P_(AT(new jC(null,new nD(e.j,16)),new Ur),new xte(t)),W(e,B$,t),t)}function PI(e,t){var n,r=null;return e.nf((LB(),o8))&&(n=P(e.mf(o8),105),n.nf(t)&&(r=n.mf(t))),r==null&&e.Rf()&&(r=e.Rf().mf(t)),r??=DF(t),r}function GXe(e,t){var n,r;return e.Db>>16==6?e.Cb.Qh(e,6,i7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(kB(),u7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function KXe(e,t){var n,r;return e.Db>>16==7?e.Cb.Qh(e,1,t7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(kB(),Fzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function qXe(e,t){var n,r;return e.Db>>16==9?e.Cb.Qh(e,9,p7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(kB(),Lzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function JXe(e,t){var n,r;return e.Db>>16==5?e.Cb.Qh(e,9,L7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(VB(),Z7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function YXe(e,t){var n,r;return e.Db>>16==7?e.Cb.Qh(e,6,c7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(VB(),r9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function XXe(e,t){var n,r;return e.Db>>16==3?e.Cb.Qh(e,0,o7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(VB(),q7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function ZXe(e,t){var n,r;return e.Db>>16==3?e.Cb.Qh(e,12,p7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(kB(),Nzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function QXe(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;i<a;i++)if(r=H(e,i),t==null){if(r==null)return i}else if(j(t)===j(r)||DN(t,r))return i;return-1}function $Xe(e,t){var n=t.ni(e.a),r;return n?(r=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),NJ)),CS(PJ,r)?KC(e,lA(t.ok())):r):null}function FI(e,t){var n,r;if(t){if(t==e)return!0;for(n=0,r=P(t,52).Mh();r&&r!=t;r=r.Mh()){if(++n>bH)return FI(e,r);if(r==e)return!0}}return!1}function eZe(e){switch(Ex(),e.q.g){case 5:j4e(e,(wB(),m5)),j4e(e,j5);break;case 4:M8e(e,(wB(),m5)),M8e(e,j5);break;default:Lct(e,(wB(),m5)),Lct(e,j5)}}function tZe(e){switch(Ex(),e.q.g){case 5:C3e(e,(wB(),p5)),C3e(e,N5);break;case 4:mJe(e,(wB(),p5)),mJe(e,N5);break;default:Rct(e,(wB(),p5)),Rct(e,N5)}}function nZe(e){var t=P(K(e,(Mz(),BSt)),15),n;t?(n=t.a,n==0?W(e,(oj(),dX),new mP):W(e,(oj(),dX),new uO(n))):W(e,(oj(),dX),new uO(1))}function rZe(e,t){var n=e.i;switch(t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function iZe(e,t){switch(e.g){case 0:return t==(bP(),J$)?SZ:CZ;case 1:return t==(bP(),J$)?SZ:xZ;case 2:return t==(bP(),J$)?xZ:CZ;default:return xZ}}function II(e,t){var n,i,a;for(_k(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=BG,i=new E(e.a);i.a<i.c.c.length;)n=P(z(i),173),a=r.Math.max(a,n.d);e.b=a}function aZe(e,t,n){var r,i,a=P(Zw(e.r,t),300);if(i=null,a)switch(a.g){case 2:r=N(Zw(e.i,t)),i=(dT(n),n)+(dT(r),r);break;default:i=n}else i=n;return i}function oZe(e,t,n){var r,i,a=P(Zw(e.r,t),300);if(i=null,a)switch(a.g){case 2:r=N(Zw(e.j,t)),i=(dT(n),n)+(dT(r),r);break;default:i=n}else i=n;return i}function LI(e){var t;return!(e.Bb&1)&&e.r&&e.r.Sh()&&(t=P(e.r,52),e.r=P(bN(e,t),143),e.r!=t&&e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,9,8,t,e.r))),e.r}function RI(e,t,n){var i=U(k(Z9,1),yH,30,15,[t1e(e,(uA(),IY),t,n),t1e(e,LY,t,n),t1e(e,RY,t,n)]);return e.f&&(i[0]=r.Math.max(i[0],i[2]),i[2]=i[0]),i}function sZe(e,t){var n,r,i=pJe(e,t);if(i.c.length!=0)for(Vb(i,new Gn),n=i.c.length,r=0;r<n;r++)LL(e,(oD(r,i.c.length),P(i.c[r],294)),j9e(e,i,r))}function zI(e,t,n){var r=t*n,i;M(e.g,156)?(i=VD(e),i.f.d?i.f.a||(e.d.a+=r+eU):(e.d.d-=r+eU,e.d.a+=r+eU)):M(e.g,9)&&(e.d.d-=r,e.d.a+=2*r)}function cZe(e){var t,n,r,i;for(i=P(DO(e.a,(rL(),kZ)),16).Jc();i.Ob();)for(r=P(i.Pb(),107),n=JC(r.k).Jc();n.Ob();)t=P(n.Pb(),64),Bw(e,r,t,(lj(),FZ),1)}function lZe(e){var t,n;if(e.k==(MR(),BX)){for(n=new XC(dx(dP(e).a.Jc(),new f));CR(n);)if(t=P(CO(n),17),!xO(t)&&e.c==rQe(t,e).c)return!0}return!1}function uZe(e){var t,n;if(e.k==(MR(),BX)){for(n=new XC(dx(dP(e).a.Jc(),new f));CR(n);)if(t=P(CO(n),17),!xO(t)&&t.c.i.c==t.d.i.c)return!0}return!1}function dZe(e,t){var n,r;return e.Db>>16==11?e.Cb.Qh(e,10,p7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(kB(),Izt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function fZe(e,t){var n,r;return e.Db>>16==10?e.Cb.Qh(e,11,I7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(VB(),n9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function pZe(e,t){var n,r;return e.Db>>16==10?e.Cb.Qh(e,12,B7,t):(r=QF(P(eA((n=P(Uj(e,16),29),n||(VB(),i9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function mZe(e,t){var n,r,i,a,o;if(t)for(i=t.a.length,n=new YC(i),o=(n.b-n.a)*n.c<0?(iv(),G9):new cx(n);o.Ob();)a=P(o.Pb(),15),r=jD(t,a.a),r&&g8e(e,r)}function hZe(){ele();var e,t;for(vut((Uw(),K7)),tut(K7),wI(K7),IBt=(VB(),e9),t=new E(JBt);t.a<t.c.c.length;)e=P(z(t),248),gB(e,e9,null);return!0}function gZe(e,t){var n,r,i,a,o,s,c=e.h>>19,l=t.h>>19;return c==l?(i=e.h,s=t.h,i==s?(r=e.m,o=t.m,r==o?(n=e.l,a=t.l,n-a):r-o):i-s):l-c}function _Ze(e,t,n){var i,a=e[n.g],o,s,c;for(c=new E(t.d);c.a<c.c.c.length;)s=P(z(c),107),o=s.i,o&&o.i==n&&(i=s.d[n.g],a[i]=r.Math.max(a[i],o.j.b))}function vZe(e,t){var n,i=0,a=0,o,s;for(n=0,s=new E(t.d);s.a<s.c.c.length;)o=P(z(s),319),gI(o),i=r.Math.max(i,o.b),a+=o.d+(n>0?e.b:0),++n;t.b=i,t.e=a}function yZe(e){var t,n,r=e.b;if(fce(e.i,r.length)){for(n=r.length*2,e.b=V(zyt,OV,308,n,0,1),e.c=V(zyt,OV,308,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)nR(e,t,t);++e.g}}function BI(e,t){return e.b.a=r.Math.min(e.b.a,t.c),e.b.b=r.Math.min(e.b.b,t.d),e.a.a=r.Math.max(e.a.a,t.c),e.a.b=r.Math.max(e.a.b,t.d),ph(e.c,t),!0}function bZe(e,t,n){var r=t.c.i;r.k==(MR(),BX)?(W(e,(Y(),y$),P(K(r,y$),12)),W(e,b$,P(K(r,b$),12))):(W(e,(Y(),y$),t.c),W(e,b$,n.d))}function VI(e,t,n){sz();var i,a,o,s=t/2,c,l;return o=n/2,i=r.Math.abs(e.a),a=r.Math.abs(e.b),c=1,l=1,i>s&&(c=s/i),a>o&&(l=o/a),nx(e,r.Math.min(c,l)),e}function xZe(){qz();var e,t;try{if(t=P(pQe(($_(),V7),gq),2075),t)return t}catch(t){if(t=hM(t),M(t,101))e=t,rwe((Fb(),e));else throw D(t)}return new Zc}function SZe(){qz();var e,t;try{if(t=P(pQe(($_(),V7),xJ),2002),t)return t}catch(t){if(t=hM(t),M(t,101))e=t,rwe((Fb(),e));else throw D(t)}return new Nl}function CZe(){FFe();var e,t;try{if(t=P(pQe(($_(),V7),IJ),2084),t)return t}catch(t){if(t=hM(t),M(t,101))e=t,rwe((Fb(),e));else throw D(t)}return new Eu}function wZe(e,t,n){var r,i=e.e;return e.e=t,e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,4,i,t),n?n.lj(r):n=r),i!=t&&(n=t?gB(e,IR(e,t),n):gB(e,e.a,n)),n}function TZe(){av.call(this),this.e=-1,this.a=!1,this.p=LV,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=LV}function EZe(e,t){var n,r=e.b.d.d,i;if(e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),n=RN(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function DZe(e,t){var n,r=e.b.b.d,i;if(e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),n=RN(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function OZe(e,t){var n,r=e.b.g.d,i;if(e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),n=RN(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function kZe(){kZe=C,mCt=UC(bC(bC(bC(new pT,(bL(),yX),(RB(),bwt)),yX,xwt),bX,Swt),bX,lwt),gCt=bC(bC(new pT,yX,nwt),yX,uwt),hCt=UC(new pT,bX,fwt)}function AZe(e){var t=P(K(e,(Y(),n$)),92),n,r,i,a=e.n;for(r=t.Bc().Jc();r.Ob();)n=P(r.Pb(),318),i=n.i,i.c+=a.a,i.d+=a.b,n.c?z9e(n):B9e(n);W(e,n$,null)}function jZe(e,t,n){var r,i=e.b;switch(r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function MZe(e,t){var n,r;for(r=new E(t);r.a<r.c.c.length;)n=P(z(r),9),e.c[n.c.p][n.p].a=DSe(e.i),e.c[n.c.p][n.p].d=O(e.c[n.c.p][n.p].a),e.c[n.c.p][n.p].b=1}function NZe(e,t){var n,i,a,o=0;for(i=new E(e);i.a<i.c.c.length;)n=P(z(i),167),o+=r.Math.pow(kC(n)*OC(n)-t,2);return a=r.Math.sqrt(o/(e.c.length-1)),a}function PZe(e,t,n){var r,i;for(n.Tg(`Interactive node placement`,1),e.a=P(K(t,(Y(),I$)),316),i=new E(t.b);i.a<i.c.c.length;)r=P(z(i),25),d9e(e,r);n.Ug()}function FZe(e){var t,n,r=0,i=zG,a;if(e.b)for(t=0;t<360;t++)n=t*.017453292519943295,Xtt(e,e.d,0,0,sK,n),a=e.b.Cg(e.d),a<i&&(r=n,i=a);Xtt(e,e.d,0,0,sK,r)}function IZe(e,t){var n,r,i,a=new oh;for(t.e=null,t.f=null,r=new E(t.i);r.a<r.c.c.length;)n=P(z(r),68),i=P(Zw(e.g,n.a),49),n.a=dw(n.b),ST(a,n.a,i);e.g=a}function LZe(e,t,n){var r,i=(t-e.e)/e.d.c.length,a=0,o,s;for(s=new E(e.d);s.a<s.c.c.length;)o=P(z(s),319),r=e.b-o.b+n,zKe(o,o.e+a*i,o.f),gYe(o,i,r),++a}function RZe(e){var t;if(e.f.Zj(),e.b!=-1){if(++e.b,t=e.f.d[e.a],e.b<t.i)return;++e.a}for(;e.a<e.f.d.length;++e.a)if(t=e.f.d[e.a],t&&t.i!=0){e.b=0;return}e.b=-1}function zZe(e,t){var n,r,i=t.c.length;for(n=Q2e(e,i==0?``:(oD(0,t.c.length),tS(t.c[0]))),r=1;r<i&&n;++r)n=P(n,52).Wh((oD(r,t.c.length),tS(t.c[r])));return n}function BZe(e,t,n,r){var i,a=Xet(e,t,n,r),o=Uet(e,a);return yL(e,t,n,r),CFe(e.b),KT(),Vb(a,new nne(e)),i=Uet(e,a),yL(e,n,t,r),CFe(e.b),new My(G(o),G(i))}function VZe(e,t){var n;t.Tg(`Delaunay triangulation`,1),n=new ah,sA(e.i,new Lne(n)),hg(eS(K(e,(eM(),$Y)))),e.e?bj(e.e,Xlt(n)):e.e=Xlt(n),t.Ug()}function HZe(e,t,n){var r,i;for(Tb(e,e.j+t,e.k+n),i=new lx((!e.a&&(e.a=new ix(e7,e,5)),e.a));i.e!=i.i.gc();)r=P(OF(i),372),Sb(r,r.a+t,r.b+n);wb(e,e.b+t,e.c+n)}function UZe(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new xS(i7,e,7,4)),BP(e.e,t,r);case 8:return!e.d&&(e.d=new xS(i7,e,8,5)),BP(e.d,t,r)}return dL(e,t,n,r)}function WZe(e,t,n,r){switch(n){case 7:return!e.e&&(e.e=new xS(i7,e,7,4)),RF(e.e,t,r);case 8:return!e.d&&(e.d=new xS(i7,e,8,5)),RF(e.d,t,r)}return dM(e,t,n,r)}function GZe(e,t,n){var r,i,a,o,s;if(n)for(a=n.a.length,r=new YC(a),s=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);s.Ob();)o=P(s.Pb(),15),i=jD(n,o.a),i&&E4e(e,i,t)}function HI(e,t,n){var r,i,a,o,s;return e.Zj(),a=t==null?0:Cj(t),e.f>0&&(o=(a&JB)%e.d.length,i=a3e(e,o,a,t),i)?(s=i.ld(n),s):(r=e.ak(a,t,n),e.c.Ec(r),null)}function KZe(e,t){var n,r,i,a;switch(EN(e,t).Il()){case 3:case 2:for(n=Xz(t),i=0,a=n.i;i<a;++i)if(r=P(H(n,i),38),hT(wk(e,r))==5)return r;break}return null}function qZe(e){var t,n,r,i,a;if(fce(e.f,e.b.length))for(r=V(Wyt,OV,227,e.b.length*2,0,1),e.b=r,i=r.length-1,n=e.a;n!=e;n=n.Zd())a=P(n,227),t=a.d&i,a.a=r[t],r[t]=a}function JZe(e,t){var n,i,a,o=0;for(a=P(P(DO(e.r,t),22),83).Jc();a.Ob();)i=P(a.Pb(),115),o=r.Math.max(o,i.e.a+i.b.Kf().a);n=P(CT(e.b,t),127),n.n.b=0,n.a.a=o}function YZe(e,t){var n=0,i,a,o;for(o=P(P(DO(e.r,t),22),83).Jc();o.Ob();)a=P(o.Pb(),115),n=r.Math.max(n,a.e.b+a.b.Kf().b);i=P(CT(e.b,t),127),i.n.d=0,i.a.b=n}function XZe(e){var t,n,i;for(n=new E(e.p);n.a<n.c.c.length;)t=P(z(n),9),t.k==(MR(),HX)&&(i=t.o.b,e.i=r.Math.min(e.i,i),e.g=r.Math.max(e.g,i))}function ZZe(e,t,n){var r,i,a;for(a=new E(t);a.a<a.c.c.length;)r=P(z(a),9),e.c[r.c.p][r.p].e=!1;for(i=new E(t);i.a<i.c.c.length;)r=P(z(i),9),ict(e,r,n)}function QZe(e){var t,n=P(K(e,(Y(),l$)),22);return t=bb(sMt),n.Gc((oz(),PQ))&&Ij(t,uMt),n.Gc(IQ)&&Ij(t,dMt),n.Gc(DQ)&&Ij(t,cMt),n.Gc(kQ)&&Ij(t,lMt),t}function $Ze(e){if(e<0)throw D(new sg(`The input must be positive`));return e<WIt.length?ED(WIt[e]):r.Math.sqrt(sK*e)*(WUe(e,e)/UUe(2.718281828459045,e))}function UI(e,t){var n;if(e.Wi()&&t!=null){for(n=0;n<e.i;++n)if(DN(t,e.g[n]))return!0}else for(n=0;n<e.i;++n)if(j(e.g[n])===j(t))return!0;return!1}function eQe(e,t){if(t==null){for(;e.a.Ob();)if(P(e.a.Pb(),45).kd()==null)return!0}else for(;e.a.Ob();)if(DN(t,P(e.a.Pb(),45).kd()))return!0;return!1}function tQe(e,t){var n,r,i;return t===e?!0:M(t,668)?(i=P(t,2008),yqe((r=e.g,r||(e.g=new Ff(e))),(n=i.g,n||(i.g=new Ff(i))))):!1}function nQe(e){var t=`$z`,n=`nz`,i;for(i=r.Math.min(e.length,5)-1;i>=0;i--)if(CS(e[i].d,t)||CS(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function WI(e,t){var n;return ib(e)&&ib(t)&&(n=e/t,uH<n&&n<cH)?n<0?r.Math.ceil(n):r.Math.floor(n):Bj(hot(ib(e)?Yj(e):e,ib(t)?Yj(t):t,!1))}function rQe(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw D(new sg(`'node' must either be the source node or target node of the edge.`))}function iQe(e){var t,n,r,i=P(K(e,(Y(),tEt)),37);if(i){for(r=new Xg,t=lT(e.c.i);t!=i;)n=t.e,t=lT(n),Jx(wS(wS(r,n.n),t.c),t.d.b,t.d.d);return r}return qCt}function aQe(e){var t=P(K(e,(Y(),F$)),338);P_(Bk(new jC(null,new nD(t.d,16)),new Dr),new yte(e)),P_(AT(new jC(null,new nD(t.d,16)),new Or),new bte(e))}function GI(e,t){var n,r,i=t?fP(e):uP(e),a;for(r=new XC(dx(i.a.Jc(),new f));CR(r);)if(n=P(CO(r),17),a=rQe(n,e),a.k==(MR(),BX)&&a.c!=e.c)return a;return null}function KI(e,t,n){var i=CN(t.j,n.s,n.c)+CN(n.e,t.s,t.c),a=CN(n.j,t.s,t.c)+CN(t.e,n.s,n.c);i==a?i>0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=r.Math.min(i,a))}function oQe(e,t){var n,r=!1;if(Uy(t)&&(r=!0,$w(e,new qw(tS(t)))),r||M(t,242)&&(r=!0,$w(e,(n=AS(P(t,242)),new mp(n)))),!r)throw D(new ag(l_t))}function sQe(e,t,n,r){var i=new Gk(e.e,1,10,(o=t.c,M(o,88)?P(o,29):(VB(),t9)),(a=n.c,M(a,88)?P(a,29):(VB(),t9)),GF(e,t),!1),a,o;return r?r.lj(i):r=i,r}function cQe(e){var t,n;switch(P(K(lT(e),(PB(),Rkt)),420).g){case 0:return t=e.n,n=e.o,new A(t.a+n.a/2,t.b+n.b/2);case 1:return new mb(e.n);default:return null}}function qI(){qI=C,TQ=new Nv(YU,0),MTt=new Nv(`LEFTUP`,1),PTt=new Nv(`RIGHTUP`,2),jTt=new Nv(`LEFTDOWN`,3),NTt=new Nv(`RIGHTDOWN`,4),wQ=new Nv(`BALANCED`,5)}function lQe(e,t,n){var r=RN(e.a[t.p],e.a[n.p]),i,a;if(r==0){if(i=P(K(t,(Y(),h$)),16),a=P(K(n,h$),16),i.Gc(n))return-1;if(a.Gc(t))return 1}return r}function uQe(e){switch(e.g){case 1:return new vs;case 2:return new ys;case 3:return new _s;case 0:return null;default:throw D(new sg(uK+(e.f==null?``+e.g:e.f)))}}function dQe(e,t,n){switch(t){case 1:!e.n&&(e.n=new F(f7,e,1,7)),oB(e.n),!e.n&&(e.n=new F(f7,e,1,7)),zw(e.n,P(n,18));return;case 2:QA(e,tS(n));return}DHe(e,t,n)}function fQe(e,t,n){switch(t){case 3:yA(e,O(N(n)));return;case 4:wA(e,O(N(n)));return;case 5:TA(e,O(N(n)));return;case 6:EA(e,O(N(n)));return}dQe(e,t,n)}function JI(e,t,n){var r,i,a=(r=new Vh,r);i=pL(a,t,null),i&&i.mj(),hj(a,n),XO((!e.c&&(e.c=new F(H7,e,12,10)),e.c),a),AA(a,0),jA(a,1),MN(a,!0),jN(a,!0)}function pQe(e,t){var n=cv(e.i,t),r,i;return M(n,241)?(i=P(n,241),i.wi(),i.ti()):M(n,493)?(r=P(n,1999),i=r.b,i):null}function mQe(e,t,n,r){var i,a;return Kw(t),Kw(n),a=P(OS(e.d,t),15),RIe(!!a,`Row %s not in %s`,t,e.e),i=P(OS(e.b,n),15),RIe(!!i,`Column %s not in %s`,n,e.c),SVe(e,a.a,i.a,r)}function hQe(e){var t,n=null,r,i,a,o;for(i=e,a=0,o=i.length;a<o;++a){r=i[a];try{aT(r)}catch(e){if(e=hM(e),M(e,101))t=e,n?q$e(n,t):n=t;else throw D(e)}}n&&Yre(n)}function gQe(e,t,n,r,i,a,o){var s,c,l,u=i[a],d;if(l=a==o-1,s=l?r:0,d=WYe(s,u),r!=10&&U(k(e,o-a),t[a],n[a],s,d),!l)for(++a,c=0;c<u;++c)d[c]=gQe(e,t,n,r,i,a,o);return d}function _Qe(e){var t,n,r,i,a;for(r=new Pj(new im(e.b).a);r.b;)n=dj(r),t=P(n.jd(),9),a=P(P(n.kd(),49).a,9),i=P(P(n.kd(),49).b,8),wS(nb(t.n),wS(qb(a.n),i))}function vQe(e,t){var n,r,i,a;for(a=new E(t.a);a.a<a.c.c.length;)for(i=P(z(a),9),fg(e.d),r=new XC(dx(fP(i).a.Jc(),new f));CR(r);)n=P(CO(r),17),H3e(e,i,n.d.i)}function YI(e){if(e.g==-1)throw D(new vh);e.Vj();try{e.i.ed(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(e){throw e=hM(e),M(e,99)?D(new gh):D(e)}}function yQe(e){var t,n,r,i=-1;for(r=0,n=new E(e);n.a<n.c.c.length;){if(t=P(z(n),250),t.c==(VA(),p2)){i=r==0?0:r-1;break}else r==e.c.length-1&&(i=r);r+=1}return i}function bQe(e){var t,n,i,a=0;for(t=0,i=new E(e.c);i.a<i.c.c.length;)n=P(z(i),26),TA(n,e.e+a),EA(n,e.f),a+=n.g+e.b,t=r.Math.max(t,n.f+e.b);e.d=a-e.b,e.a=t-e.b}function XI(e){var t,n,r;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),60),r=t.d.c,t.d.c=t.d.d,t.d.d=r,r=t.d.b,t.d.b=t.d.a,t.d.a=r,r=t.b.a,t.b.a=t.b.b,t.b.b=r;q5e(e)}function ZI(e){var t,n,r;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),82),r=t.g.c,t.g.c=t.g.d,t.g.d=r,r=t.g.b,t.g.b=t.g.a,t.g.a=r,r=t.e.a,t.e.a=t.e.b,t.e.b=r;WR(e)}function xQe(e){var t,n,r,i,a=JC(e.k);for(n=(wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])),r=0,i=n.length;r<i;++r)if(t=n[r],t!=M5&&!a.Gc(t))return t;return null}function QI(e,t){var n,r=P(Ax(RM(AT(new jC(null,new nD(t.j,16)),new Qi))),12);return r&&(n=P(AC(r.e,0),17),n)?P(K(n,(Y(),w$)),15).a:NIe(e.d)}function SQe(e){var t,n=G8e(e);return zD(n)?null:(t=(Kw(n),P(_Ye(new XC(dx(n.a.Jc(),new f))),85)),cL(P(H((!t.b&&(t.b=new xS(r7,t,4,7)),t.b),0),84)))}function $I(e){var t;return e.o||(t=e.sk(),t?e.o=new Rwe(e,e,null):e.$k()?e.o=new wge(e,null):hT(wk((HL(),p9),e))==1?e.o=new vMe(e):e.o=new uS(e,null)),e.o}function CQe(e,t,n,r){var i,a,o,s,c;n.Uh(t)&&(i=(o=t,o?P(r,52).di(o):null),i&&(c=n.Jh(t),s=t.t,s>1||s==-1?(a=P(c,16),i.Wb(iKe(e,a))):i.Wb(rnt(e,P(c,57)))))}function wQe(e,t,n,r){Cce();var i=Dyt;Oyt=r;function a(){for(var e=0;e<i.length;e++)i[e]()}if(e)try{eHt(a)()}catch(n){e(t,n)}else eHt(a)()}function TQe(e,t){var n,r,i,a;for(i=(a=new Zp(e.b).a.vc().Jc(),new Qp(a));i.a.Ob();)if(r=(n=P(i.a.Pb(),45),P(n.jd(),35)),afe(t,P(r,15))<0)return!1;return!0}function EQe(e,t){var n,r,i,a;for(i=(a=new Zp(e.b).a.vc().Jc(),new Qp(a));i.a.Ob();)if(r=(n=P(i.a.Pb(),45),P(n.jd(),35)),afe(t,P(r,15))>0)return!1;return!0}function DQe(e){switch(P(K(e.b,(PB(),jkt)),381).g){case 1:P_(jT(Bk(new jC(null,new nD(e.d,16)),new Li),new Ri),new zi);break;case 2:ket(e);break;case 0:X2e(e)}}function OQe(e,t,n){var r=n,i,a;for(!r&&(r=new Uh),r.Tg(`Layout`,e.a.c.length),a=new E(e.a);a.a<a.c.c.length;){if(i=P(z(a),43),r.Zg())return;i.If(t,r.dh(1))}r.Ug()}function kQe(e,t){var n,r;for(_k(e.b,t),r=new E(e.n);r.a<r.c.c.length;)if(n=P(z(r),208),vk(n.c,t,0)!=-1){_k(n.c,t),bQe(n),n.c.c.length==0&&_k(e.n,n);break}Jit(e)}function AQe(e,t){var n,i,a,o,s=e.f;for(a=0,o=0,i=new E(e.a);i.a<i.c.c.length;)n=P(z(i),173),qF(n,e.e,s),tk(n,t),o=r.Math.max(o,n.r),s+=n.d+e.c,a=s;e.d=o,e.b=a}function eL(){eL=C,y6=new gy(`V_TOP`,0),v6=new gy(`V_CENTER`,1),_6=new gy(`V_BOTTOM`,2),h6=new gy(`H_LEFT`,3),m6=new gy(`H_CENTER`,4),g6=new gy(`H_RIGHT`,5)}function jQe(e){var t;return e.Db&64?FP(e):(t=new gx(FP(e)),t.a+=` (abstract: `,r_(t,(e.Bb&256)!=0),t.a+=`, interface: `,r_(t,(e.Bb&512)!=0),t.a+=`)`,t.a)}function MQe(e){var t;e.c??=(t=j(e.b)===j(Yyt)?null:e.b,e.d=t==null?eV:JSe(t)?Cme(FEe(t)):Uy(t)?adt:a_(WM(t)),e.a=e.a+`: `+(JSe(t)?Uge(FEe(t)):t+``),`(`+e.d+`) `+e.a)}function NQe(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===qB&&Map.prototype.entries&&e()?Map:Nct()}function PQe(e,t){var n,r,i,a=new bD(e.e,0);for(n=0;a.b<a.d.gc();){if(r=O((Bx(a.b<a.d.gc()),N(a.d.Xb(a.c=a.b++)))),i=r-t,i>qG)return n;i>-1e-6&&++n}return n}function tL(e,t,n){if(M(t,271))return n5e(e,P(t,85),n);if(M(t,276))return aZe(e,P(t,276),n);throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t,n])))))}function nL(e,t,n){if(M(t,271))return r5e(e,P(t,85),n);if(M(t,276))return oZe(e,P(t,276),n);throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t,n])))))}function FQe(e,t){var n;t==e.b?e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,3,t,t)):(n=null,e.b&&(n=fE(e.b,e,-4,n)),t&&(n=FF(t,e,-4,n)),n=KUe(e,t,n),n&&n.mj())}function IQe(e,t){var n;t==e.f?e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,0,t,t)):(n=null,e.f&&(n=fE(e.f,e,-1,n)),t&&(n=FF(t,e,-1,n)),n=qUe(e,t,n),n&&n.mj())}function LQe(e,t,n,r){var i,a,o,s;return gb(e.e)&&(i=t.Jk(),s=t.kd(),a=n.kd(),o=oE(e,1,i,s,a,i.Hk()?Uz(e,i,a,M(i,103)&&(P(i,19).Bb&_H)!=0):-1,!0),r?r.lj(o):r=o),r}function RQe(e){var t,n,r;if(e==null)return null;if(n=P(e,16),n.dc())return``;for(r=new Eg,t=n.Jc();t.Ob();)Yy(r,(dB(),tS(t.Pb()))),r.a+=` `;return ab(r,r.a.length-1)}function zQe(e){var t,n,r;if(e==null)return null;if(n=P(e,16),n.dc())return``;for(r=new Eg,t=n.Jc();t.Ob();)Yy(r,(dB(),tS(t.Pb()))),r.a+=` `;return ab(r,r.a.length-1)}function BQe(e,t){var n,r,i,a,o;for(a=new E(t.a);a.a<a.c.c.length;)for(i=P(z(a),9),r=new XC(dx(uP(i).a.Jc(),new f));CR(r);)n=P(CO(r),17),o=n.c.i.p,e.n[o]=e.n[o]-1}function VQe(e,t,n){var r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p];return r.a!=null&&i.a!=null?iCe(r.a,i.a):r.a==null?i.a==null?0:1:-1}function HQe(e,t,n){return n.Tg(`Tree layout`,1),TT(e.b),kw(e.b,(kI(),G2),G2),kw(e.b,K2,K2),kw(e.b,q2,q2),kw(e.b,J2,J2),e.a=cB(e.b,t),OQe(e,t,n.dh(1)),n.Ug(),t}function UQe(e,t){var n,r,i,a,o,s;if(t)for(a=t.a.length,n=new YC(a),s=(n.b-n.a)*n.c<0?(iv(),G9):new cx(n);s.Ob();)o=P(s.Pb(),15),i=jD(t,o.a),r=new ire(e),ITe(r.a,i)}function WQe(e,t){var n,r,i,a,o,s;if(t)for(a=t.a.length,n=new YC(a),s=(n.b-n.a)*n.c<0?(iv(),G9):new cx(n);s.Ob();)o=P(s.Pb(),15),i=jD(t,o.a),r=new Yne(e),FTe(r.a,i)}function GQe(e){var t;if(e!=null&&e.length>0&&wT(e,e.length-1)==33)try{return t=i8e(dE(e,0,e.length-1)),t.e==null}catch(e){if(e=hM(e),!M(e,32))throw D(e)}return!1}function KQe(e,t,n){var r=$N(lT(t)),i=new jL;switch(HE(i,t),n.g){case 1:tR(i,GN(jP(r)));break;case 2:tR(i,jP(r))}return W(i,(PB(),c0),N(K(e,c0))),i}function qQe(e){var t=P(CO(new XC(dx(uP(e.a).a.Jc(),new f))),17),n=P(CO(new XC(dx(fP(e.a).a.Jc(),new f))),17);return hg(eS(K(t,(Y(),N$))))||hg(eS(K(n,N$)))}function rL(){rL=C,AZ=new Ov(`ONE_SIDE`,0),MZ=new Ov(`TWO_SIDES_CORNER`,1),NZ=new Ov(`TWO_SIDES_OPPOSING`,2),jZ=new Ov(`THREE_SIDES`,3),kZ=new Ov(`FOUR_SIDES`,4)}function JQe(e,t){var n,r,i,a=new ah;for(i=0,r=t.Jc();r.Ob();){for(n=G(P(r.Pb(),15).a+i);n.a<e.f&&!pSe(e,n.a);)n=G(n.a+1),++i;if(n.a>=e.f)break;ph(a.c,n)}return a}function YQe(e){var t,n;for(n=new E(e.e.b);n.a<n.c.c.length;)t=P(z(n),25),zst(e,t);P_(AT(Bk(Bk(new jC(null,new nD(e.e.b,16)),new La),new Wa),new Ga),new hne(e))}function XQe(e,t){return t?e.kj(t)?!1:e.i?e.i.lj(t):M(t,151)?(e.i=P(t,151),!0):(e.i=new il,e.i.lj(t)):!1}function ZQe(e,t,n){var r=t.Jk(),i,a=t.kd();return i=r.Hk()?oE(e,3,r,null,a,Uz(e,r,a,M(r,103)&&(P(r,19).Bb&_H)!=0),!0):oE(e,1,r,r.gk(),a,-1,!0),n?n.lj(i):n=i,n}function QQe(e){if(e=$z(e,!0),CS(BK,e)||CS(`1`,e))return mx(),lY;if(CS(VK,e)||CS(`0`,e))return mx(),cY;throw D(new bg(`Invalid boolean value: '`+e+`'`))}function $Qe(e,t,n){var r,i,a;for(i=e.vc().Jc();i.Ob();)if(r=P(i.Pb(),45),a=r.jd(),j(t)===j(a)||t!=null&&DN(t,a))return n&&(r=new uv(r.jd(),r.kd()),i.Qb()),r;return null}function e$e(e){oS();var t,n,r;e.B.Gc((Tz(),H5))&&(r=e.f.i,t=new aE(e.a.c),n=new Fh,n.b=t.c-r.c,n.d=t.d-r.d,n.c=r.c+r.b-(t.c+t.b),n.a=r.d+r.a-(t.d+t.a),e.e.Yf(n))}function t$e(e,t,n,i){var a,o,s=r.Math.min(n,Jrt(P(e.b,68),t,n,i));for(o=new E(e.a);o.a<o.c.c.length;)a=P(z(o),225),a!=t&&(s=r.Math.min(s,t$e(a,t,s,i)));return s}function n$e(e){var t,n,r,i=V(IX,X,199,e.b.c.length,0,2);for(r=new bD(e.b,0);r.b<r.d.gc();)t=(Bx(r.b<r.d.gc()),P(r.d.Xb(r.c=r.b++),25)),n=r.b-1,i[n]=hD(t.a);return i}function r$e(e,t,n){var r=P(zk(e.a,n),35),i,a;r!=null&&(a=P(zk(e.b,r),66),MP(a,n,!0)),i=P(zk(e.b,t),66),i||(i=new E_,yF(e.b,t,i)),iO(i,n,i.c.b,i.c),yF(e.a,n,t)}function i$e(e,t,n,r,i){var a,o=Ooe(Doe(sve(IJe(n)),r),HXe(e,n,i)),s,c;for(c=NL(e,n).Jc();c.Ob();)s=P(c.Pb(),12),t[s.p]&&(a=t[s.p].i,$b(o.d,new MSe(a,qWe(o,a))));fKe(o)}function a$e(e,t){this.f=new oh,this.b=new oh,this.j=new oh,this.a=e,this.c=t,this.c>0&&EXe(this,this.c-1,(wB(),p5)),this.c<this.a.length-1&&EXe(this,this.c+1,(wB(),N5))}function o$e(e,t){var n,r,i,a,o;for(a=new E(t.d);a.a<a.c.c.length;)for(i=P(z(a),107),o=P(Zw(e.c,i),116).o,r=new T_(i.b);r.a<r.c.a.length;)n=P(JD(r),64),fFe(i,n,o)}function s$e(e){e.length>0&&e[0].length>0&&(this.c=hg(eS(K(lT(e[0][0]),(Y(),iEt))))),this.a=V(Ojt,X,2079,e.length,0,2),this.b=V(kjt,X,2080,e.length,0,2),this.d=new xUe}function c$e(e){return e.c.length==0?!1:(oD(0,e.c.length),P(e.c[0],17)).c.i.k==(MR(),BX)?!0:pO(jT(new jC(null,new nD(e,16)),new ka),new Ea)}function l$e(e,t){var n,i,a,o,s,c=iz(t),l;for(o=t.f,l=t.g,s=r.Math.sqrt(o*o+l*l),a=0,i=new E(c);i.a<i.c.c.length;)n=P(z(i),26),a+=l$e(e,n);return r.Math.max(a,s)}function iL(){iL=C,a5=new Ey($H,0),i5=new Ey(`FREE`,1),r5=new Ey(`FIXED_SIDE`,2),e5=new Ey(`FIXED_ORDER`,3),n5=new Ey(`FIXED_RATIO`,4),t5=new Ey(`FIXED_POS`,5)}function u$e(e,t){var n=t.ni(e.a),r,i;if(n){for(i=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),FJ)),r=1;r<(HL(),$Bt).length;++r)if(CS($Bt[r],i))return r}return 0}function d$e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],NO(a,``+t);return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function f$e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],NO(a,``+t);return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function p$e(e){var t,n,r=new Zj(QB,`{`,`}`);for(n=e.vc().Jc();n.Ob();)t=P(n.Pb(),45),NO(r,Kje(e,t.jd())+`=`+Kje(e,t.kd()));return r.a?r.e.length==0?r.a.a:r.a.a+(``+r.e):r.c}function m$e(e){for(var t,n,r,i;!mg(e.o);)n=P(Cw(e.o),49),r=P(n.a,124),t=P(n.b,217),i=yP(t,r),t.e==r?(Sx(i.g,t),r.e=i.e+t.a):(Sx(i.b,t),r.e=i.e-t.a),$b(e.e.a,r)}function h$e(e,t){var n=null,r,i;for(i=P(t.Kb(e),20).Jc();i.Ob();)if(r=P(i.Pb(),17),!n)n=r.c.i==e?r.d.i:r.c.i;else if((r.c.i==e?r.d.i:r.c.i)!=n)return!1;return!0}function g$e(e,t){var n=X8e(e,!1,t),r,i,a,o;for(i=new E(n);i.a<i.c.c.length;)r=P(z(i),133),r.d==0?(XE(r,null),ZE(r,null)):(a=r.a,o=r.b,XE(r,o),ZE(r,a))}function _$e(e){var t=new pT,n;return Ij(t,mMt),n=P(K(e,(Y(),l$)),22),n.Gc((oz(),IQ))&&Ij(t,vMt),n.Gc(DQ)&&Ij(t,hMt),n.Gc(PQ)&&Ij(t,_Mt),n.Gc(kQ)&&Ij(t,gMt),t}function v$e(e,t,n){var r,i,a,o,s;for(mKe(e),i=(e.k??=V(Jyt,X,80,0,0,1),e.k),a=0,o=i.length;a<o;++a)r=i[a],v$e(r,t,` `+n);s=e.f,s&&v$e(s,t,n)}function y$e(e){var t,n,r,i;for(pot(e),n=new XC(dx(dP(e).a.Jc(),new f));CR(n);)t=P(CO(n),17),r=t.c.i==e,i=r?t.d:t.c,r?VE(t,null):zE(t,null),W(t,(Y(),lEt),i),e6e(e,i.i)}function b$e(e,t,n){var r,i,a,o=vk(e.e,t,0);for(a=new Nie,a.b=n,r=new bD(e.e,o);r.b<r.d.gc();)i=(Bx(r.b<r.d.gc()),P(r.d.Xb(r.c=r.b++),9)),i.p=n,$b(a.e,i),nT(r);return a}function x$e(e){var t,n,r;for(n=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));n.e!=n.i.gc();)if(t=P(OF(n),26),r=G8e(t),!CR(new XC(dx(r.a.Jc(),new f))))return t;return null}function aL(){aL=C,L4=new ry(`OVERLAP_REMOVAL`,0),P4=new ry(lht,1),R4=new ry(`ROTATION`,2),F4=new ry(`GRAPH_SIZE_CALCULATION`,3),I4=new ry(`OUTGOING_EDGE_ANGLES`,4)}function S$e(){var e;return Wzt?P(kR(($_(),V7),gq),2077):(e=P(M(vE(($_(),V7),gq),556)?vE(V7,gq):new r6e,556),Wzt=!0,hst(e),zut(e),wI(e),LE(V7,gq,e),e)}function oL(e,t,n){var r,i;if(e.j==0)return n;if(i=P(xRe(e,t,n),75),r=n.Jk(),!r.pk()||!e.a.$l(r))throw D(new Jh(`Invalid entry feature '`+r.ok().zb+`.`+r.ve()+`'`));return i}function C$e(e,t){var n,r,i,a,o,s,c,l;for(s=e.a,c=0,l=s.length;c<l;++c)for(o=s[c],r=o,i=0,a=r.length;i<a;++i)if(n=r[i],j(t)===j(n)||t!=null&&DN(t,n))return!0;return!1}function w$e(e){var t,n,r;return yN(e,0)>=0?(n=WI(e,lH),r=GP(e,lH)):(t=tw(e,1),n=WI(t,5e8),r=GP(t,5e8),r=sP($C(r,1),uD(e,1))),dD($C(r,32),uD(n,xH))}function T$e(e,t,n,r){var i=null,a=0,o,s,c;for(s=new E(t);s.a<s.c.c.length;)o=P(z(s),26),c=o.i+o.g,e<o.j+o.f+r&&(i?n.i-c<n.i-a&&(i=o):i=o,a=i.i+i.g);return i?a+r:0}function E$e(e,t,n,r){var i,a=null,o,s,c;for(i=0,s=new E(t);s.a<s.c.c.length;)o=P(z(s),26),c=o.j+o.f,e<o.i+o.g+r&&(a?n.j-c<n.j-i&&(a=o):a=o,i=a.j+a.f);return a?i+r:0}function D$e(e){var t=!1,n,r=e.b.c.length;for(n=0;n<r;n++)CHe(P(AC(e.b,n),434))?!t&&n+1<r&&CHe(P(AC(e.b,n+1),434))&&(t=!0,P(AC(e.b,n),434).a=!0):t=!1}function O$e(e,t,n,r,i){var a=0,o;for(o=0;o<i;o++)a=sP(a,lP(uD(t[o],xH),uD(r[o],xH))),e[o]=RC(a),a=ew(a,32);for(;o<n;o++)a=sP(a,uD(t[o],xH)),e[o]=RC(a),a=ew(a,32)}function k$e(e,t){cz();var n,r=(vz(),bY);for(n=e;t>1;t>>=1)t&1&&(r=HD(r,n)),n=n.d==1?HD(n,n):new Aqe(Nnt(n.a,n.d,V(q9,JV,30,n.d<<1,15,1)));return r=HD(r,n),r}function A$e(){A$e=C;var e,t,n,r;for($bt=V(Z9,yH,30,25,15,1),ext=V(Z9,yH,30,33,15,1),r=152587890625e-16,t=32;t>=0;t--)ext[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)$bt[e]=n,n*=.5}function j$e(e){var t,n;if(hg(eS(J(e,(PB(),L1))))){for(n=new XC(dx(PR(e).a.Jc(),new f));CR(n);)if(t=P(CO(n),85),uR(t)&&hg(eS(J(t,R1))))return!0}return!1}function M$e(e){var t=new E_,n=new E_,r,i;for(i=TF(e,0);i.b!=i.d.c;)r=P(RD(i),12),r.e.c.length==0?iO(n,r,n.c.b,n.c):iO(t,r,t.c.b,t.c);return AP(t).Fc(n),t}function N$e(e,t){var n,r,i;Tw(e.f,t)&&(t.b=e,r=t.c,vk(e.j,r,0)!=-1||$b(e.j,r),i=t.d,vk(e.j,i,0)!=-1||$b(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new Uqe(e)),UBe(e.i,n)))}function P$e(e){var t,n=e.c.d,r=n.j,i=e.d.d,a=i.j;return r==a?n.p<i.p?0:1:KN(r)==a?0:JWe(r)==a?1:(t=e.b,+!wx(t.b,KN(r)))}function sL(e,t){var n,r,i=e,a,o=MD(i,`layoutOptions`),s;!o&&(o=MD(i,t_t)),o&&(s=o,r=null,s&&(r=(a=Aze(s,V(vY,X,2,0,6,1)),new Sce(s,a))),r&&(n=new fde(s,t),dO(r,n)))}function cL(e){if(M(e,206))return P(e,26);if(M(e,193))return jE(P(e,125));throw D(e?new ug(`Only support nodes and ports.`):new lg(__t))}function F$e(e,t,n,r){return(t>=0&&CS(e.substr(t,3),`GMT`)||t>=0&&CS(e.substr(t,3),`UTC`))&&(n[0]=t+3),bnt(e,n,r)}function I$e(e,t){var n,r,i,a=e.g.a,o=e.g.b;for(r=new E(e.d);r.a<r.c.c.length;)n=P(z(r),70),i=n.n,i.a=a,e.i==(wB(),m5)?i.b=o+e.j.b-n.o.b:i.b=o,wS(i,t),a+=n.o.a+e.e}function L$e(e,t,n){if(e.b)throw D(new cg(`The task is already done.`));return e.p==null?(e.p=t,e.r=n,e.k&&(e.o=(O_(),cP(Hj(Date.now()),kV))),!0):!1}function R$e(e){var t,n,r,i,a,o,s=new Yh;return n=e.Og(),i=n!=null,i&&uC(s,Oq,e.Og()),r=e.ve(),a=r!=null,a&&uC(s,Nq,e.ve()),t=e.Ng(),o=t!=null,o&&uC(s,`description`,e.Ng()),s}function z$e(e,t,n){var r,i,a=e.q;return e.q=t,e.Db&4&&!(e.Db&1)&&(i=new fw(e,1,9,a,t),n?n.lj(i):n=i),t?(r=t.c,r!=e.r&&(n=e.Wk(r,n))):e.r&&(n=e.Wk(null,n)),n}function B$e(e,t,n){var r,i,a,o,s;for(n=(s=t,FF(s,e.e,-1-e.c,n)),o=lTe(e.a),a=(r=new Pj(new im(o.a).a),new $m(r));a.a.b;)i=P(dj(a.a).jd(),87),n=gB(i,IR(i,e.a),n);return n}function V$e(e,t,n){var r,i,a,o,s;for(n=(s=t,fE(s,e.e,-1-e.c,n)),o=lTe(e.a),a=(r=new Pj(new im(o.a).a),new $m(r));a.a.b;)i=P(dj(a.a).jd(),87),n=gB(i,IR(i,e.a),n);return n}function H$e(e,t,n,r){var i,a,o;if(r==0)Fz(t,0,e,n,e.length-n);else for(o=32-r,e[e.length-1]=0,a=e.length-1;a>n;a--)e[a]|=t[a-n-1]>>>o,e[a-1]=t[a-n-1]<<r;for(i=0;i<n;i++)e[i]=0}function U$e(e){var t=0,n=0,i,a,o;for(o=e.Jc();o.Ob();)i=P(o.Pb(),115),t=r.Math.max(t,i.d.b),n=r.Math.max(n,i.d.c);for(a=e.Jc();a.Ob();)i=P(a.Pb(),115),i.d.b=t,i.d.c=n}function W$e(e){var t,n=0,i,a,o;for(t=0,o=e.Jc();o.Ob();)i=P(o.Pb(),115),n=r.Math.max(n,i.d.d),t=r.Math.max(t,i.d.a);for(a=e.Jc();a.Ob();)i=P(a.Pb(),115),i.d.d=n,i.d.a=t}function lL(e,t,n,r,i){var a=P(aO(AT(t.Mc(),new Ai),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),o;JL(a),o=P(Lj(e.b,n,r),16),i==0?o.ad(0,a):o.Fc(a)}function G$e(e,t,n){n.Tg(`Grow Tree`,1),e.b=t.f,hg(eS(K(t,(eM(),$Y))))?(e.c=new T,NOe(e,null)):e.c=new T,e.a=!1,a7e(e,t.f),W(t,mSt,(mx(),!!e.a)),n.Ug()}function uL(e){var t;this.d=new oh,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new gSe(e.e),this.a=e.a,e.f?this.g=e.f:this.g=(t=P(t_(S7),10),new FS(t,P(gS(t,t.length),10),0))}function K$e(e){var t=null,n,r,i;for(i=new E(e.Pf());i.a<i.c.c.length;)r=P(z(i),187),n=new zT(r.Jf().a,r.Jf().b,r.Kf().a,r.Kf().b),t?VL(t,n):t=n;return!t&&(t=new Ob),t}function dL(e,t,n,r){var i,a;return n==1?(!e.n&&(e.n=new F(f7,e,1,7)),BP(e.n,t,r)):(a=P(eA((i=P(Uj(e,16),29),i||e.fi()),n),69),a.uk().xk(e,sF(e),n-Hw(e.fi()),t,r))}function fL(e,t,n){var r=n.gc(),i,a,o,s;for(e.Zi(e.i+r),s=e.i-t,s>0&&Fz(e.g,t,e.g,t+r,s),o=n.Jc(),e.i+=r,i=0;i<r;++i)a=o.Pb(),rx(e,t,e.Xi(t,a)),e.Ki(t,a),e.Li(),++t;return r!=0}function pL(e,t,n){var r;return t==e.q?e.Db&4&&!(e.Db&1)&&(r=new fw(e,1,9,t,t),n?n.lj(r):n=r):(e.q&&(n=fE(e.q,e,-10,n)),t&&(n=FF(t,e,-10,n)),n=z$e(e,t,n)),n}function mL(e,t,n,r){return Q_e((n&mV)==0,`flatMap does not support SUBSIZED characteristic`),Q_e((n&4)==0,`flatMap does not support SORTED characteristic`),Kw(e),Kw(t),new Qje(e,t,n,r)}function q$e(e,t){VCe(t,`Cannot suppress a null exception.`),nC(t!=e,`Exception can not suppress itself.`),!e.i&&(e.k==null?e.k=U(k(Jyt,1),X,80,0,[t]):e.k[e.k.length]=t)}function J$e(e,t){var n=dfe(e.b.$f(),t.b.$f());if(n!=0)return n;switch(e.b.$f().g){case 1:case 2:return Ub(e.b.Lf(),t.b.Lf());case 3:case 4:return Ub(t.b.Lf(),e.b.Lf())}return 0}function Y$e(e){var t,n,r=e.e.c.length;for(e.a=CC(q9,[X,JV],[54,30],15,[r,r],2),n=new E(e.c);n.a<n.c.c.length;)t=P(z(n),291),e.a[t.c.a][t.d.a]+=P(K(t,(Mz(),iX)),15).a}function X$e(e,t){var n,r,i,a,o;if(e==null)return null;for(o=V(K9,BV,30,2*t,15,1),r=0,i=0;r<t;++r)n=e[r]>>4&15,a=e[r]&15,o[i++]=Vzt[n],o[i++]=Vzt[a];return aF(o,0,o.length)}function hL(e){var t,n;return e>=_H?(t=vH+(e-_H>>10&1023)&VV,n=56320+(e-_H&1023)&VV,String.fromCharCode(t)+(``+String.fromCharCode(n))):String.fromCharCode(e&VV)}function Z$e(e,t){oS();var n,r,i=P(P(DO(e.r,t),22),83),a;return i.gc()>=2?(r=P(i.Jc().Pb(),115),n=e.u.Gc((rR(),s5)),a=e.u.Gc(d5),!r.a&&!n&&(i.gc()==2||a)):!1}function Q$e(e,t,n,r,i){for(var a=m9e(e,t,n,r,i),o,s=!1;!a;)TR(e,i,!0),s=!0,a=m9e(e,t,n,r,i);s&&TR(e,i,!1),o=vM(i),o.c.length!=0&&(e.d&&e.d.Fg(o),Q$e(e,i,n,r,o))}function gL(){gL=C,t3=new cy(`NODE_SIZE_REORDERER`,0),Q4=new cy(`INTERACTIVE_NODE_REORDERER`,1),e3=new cy(`MIN_SIZE_PRE_PROCESSOR`,2),$4=new cy(`MIN_SIZE_POST_PROCESSOR`,3)}function _L(){_L=C,j8=new xy(YU,0),CRt=new xy(`DIRECTED`,1),TRt=new xy(`UNDIRECTED`,2),xRt=new xy(`ASSOCIATION`,3),wRt=new xy(`GENERALIZATION`,4),SRt=new xy(`DEPENDENCY`,5)}function $$e(e,t){var n;if(!jE(e))throw D(new cg(Igt));switch(n=jE(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function e1e(e,t,n){var r=t.Jk(),i,a=t.kd();return i=r.Hk()?oE(e,4,r,a,null,Uz(e,r,a,M(r,103)&&(P(r,19).Bb&_H)!=0),!0):oE(e,r.rk()?2:1,r,a,r.gk(),-1,!0),n?n.lj(i):n=i,n}function vL(e,t){var n,r;for(dT(t),r=e.b.c.length,$b(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.Le(AC(e.b,r),t)<=0)return fO(e.b,n,t),!0;fO(e.b,n,AC(e.b,r))}return fO(e.b,r,t),!0}function t1e(e,t,n,i){var a=0,o;if(n)a=fN(e.a[n.g][t.g],i);else for(o=0;o<BY;o++)a=r.Math.max(a,fN(e.a[o][t.g],i));return t==(uA(),LY)&&e.b&&(a=r.Math.max(a,e.b.a)),a}function n1e(e,t){var n,r,i=e.i,a=t.i,o,s;return!i||!a||i.i!=a.i||i.i==(wB(),p5)||i.i==(wB(),N5)?!1:(o=i.g.a,n=o+i.j.a,s=a.g.a,r=s+a.j.a,o<=r&&n>=s)}function r1e(e){switch(e.g){case 0:return new Ls;case 1:return new zs;default:throw D(new sg(`No implementation is available for the width approximator `+(e.f==null?``+e.g:e.f)))}}function i1e(e,t,n,r){var i=!1;if(Uy(r)&&(i=!0,uC(t,n,tS(r))),i||Vy(r)&&(i=!0,i1e(e,t,n,r)),i||M(r,242)&&(i=!0,ZT(t,n,P(r,242))),!i)throw D(new ag(l_t))}function a1e(e,t){var n=t.ni(e.a),r,i;if(n&&(i=VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),mJ),i!=null)){for(r=1;r<(HL(),ZBt).length;++r)if(CS(ZBt[r],i))return r}return 0}function o1e(e,t){var n=t.ni(e.a),r,i;if(n&&(i=VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),mJ),i!=null)){for(r=1;r<(HL(),QBt).length;++r)if(CS(QBt[r],i))return r}return 0}function s1e(e,t){var n,r,i,a;if(dT(t),a=e.a.gc(),a<t.gc())for(n=e.a.ec().Jc();n.Ob();)r=n.Pb(),t.Gc(r)&&n.Qb();else for(i=t.Jc();i.Ob();)r=i.Pb(),e.a.Ac(r);return a!=e.a.gc()}function c1e(e){var t,n=qb(PM(U(k(o6,1),X,8,0,[e.i.n,e.n,e.a])));switch(t=e.i.d,e.j.g){case 1:n.b-=t.d;break;case 2:n.a+=t.c;break;case 3:n.b+=t.a;break;case 4:n.a-=t.b}return n}function l1e(e){for(var t=(Sj(),P(CO(new XC(dx(uP(e).a.Jc(),new f))),17).c.i);t.k==(MR(),BX);)W(t,(Y(),_$),(mx(),!0)),t=P(CO(new XC(dx(uP(t).a.Jc(),new f))),17).c.i}function yL(e,t,n,r){var i,a,o,s=kN(t,r);for(o=s.Jc();o.Ob();)i=P(o.Pb(),12),e.d[i.p]=e.d[i.p]+e.c[n.p];for(s=kN(n,r),a=s.Jc();a.Ob();)i=P(a.Pb(),12),e.d[i.p]=e.d[i.p]-e.c[t.p]}function u1e(e,t,n){var r,i;for(i=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));i.e!=i.i.gc();)r=P(OF(i),26),xb(r,r.i+t,r.j+n);dO((!e.b&&(e.b=new F(i7,e,12,3)),e.b),new tde(t,n))}function d1e(e,t,n,r){var i,a=t;for(i=+(a.d==null||e.a.Le(n.d,a.d)>0);a.a[i]!=n;)a=a.a[i],i=+(e.a.Le(n.d,a.d)>0);a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function f1e(e){var t=new ah,n=V(J9,qH,30,e.a.c.length,16,1),r,i;for(zCe(n,n.length),i=new E(e.a);i.a<i.c.c.length;)r=P(z(i),124),n[r.d]||(ph(t.c,r),Qqe(e,r,n));return t}function p1e(e,t){var n,r,i=t==1?CX:SX,a,o;for(r=i.a.ec().Jc();r.Ob();)for(n=P(r.Pb(),86),o=P(DO(e.f.c,n),22).Jc();o.Ob();)a=P(o.Pb(),49),_k(e.b.b,a.b),_k(e.b.a,P(a.b,82).d)}function m1e(e,t){var n;t.Tg(`Hierarchical port position processing`,1),n=e.b,n.c.length>0&&ant((oD(0,n.c.length),P(n.c[0],25)),e),n.c.length>1&&ant(P(AC(n,n.c.length-1),25),e),t.Ug()}function h1e(e){rR();var t=zC(c5,U(k(f5,1),Z,280,0,[u5])),n;return!(qj(gE(t,e))>1||(n=zC(s5,U(k(f5,1),Z,280,0,[o5,d5])),qj(gE(n,e))>1))}function g1e(e,t){M(vE(($_(),V7),e),493)?LE(V7,e,new Sde(this,t)):LE(V7,e,this),DL(this,t),t==(e_(),SBt)?(this.wb=P(this,2e3),P(t,2002)):this.wb=(Uw(),K7)}function _1e(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n<h7.length;++n)try{return sle(h7[n],e)}catch(e){if(e=hM(e),M(e,32))r=e,t=r;else throw D(e)}throw D(new Ok(t))}function v1e(){v1e=C,Vbt=U(k(vY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`]),Hbt=U(k(vY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,HV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])}function K(e,t){var n;return(!e.q&&(e.q=new oh),Zw(e.q,t))??(n=t.Rg(),M(n,4)&&(n==null?(!e.q&&(e.q=new oh),jO(e.q,t)):(!e.q&&(e.q=new oh),ST(e.q,t,n))),n)}function bL(){bL=C,gX=new yv(`P1_CYCLE_BREAKING`,0),_X=new yv(`P2_LAYERING`,1),vX=new yv(`P3_NODE_ORDERING`,2),yX=new yv(`P4_NODE_PLACEMENT`,3),bX=new yv(`P5_EDGE_ROUTING`,4)}function y1e(e,t){Kk();var n;if(e.c==t.c){if(e.b==t.b||Zze(e.b,t.b)){if(n=ffe(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return Ub(e.b.g,t.b.g)}else return RN(e.c,t.c)}function b1e(e,t,n,r){var i,a,o=AXe(e.a,t,n),s=P(o.a,15).a,c;return a=P(o.b,15).a,r&&(c=P(K(t,(Y(),O$)),9),i=P(K(n,O$),9),c&&i&&(Zje(e.b,c,i),s+=e.b.i,a+=e.b.e)),s>a}function x1e(e,t){var n,r,i;if(D1e(e,t))return!0;for(r=new E(t);r.a<r.c.c.length;)if(n=P(z(r),26),i=SQe(n),lz(e,n,i)||OUe(e,n)-e.g<=e.a)return!0;return!1}function xL(){xL=C,V3=(yet(),yIt),B3=hIt,z3=pIt,tIt=lIt,R3=dIt,eIt=new kb(8),$Ft=new Nb((LB(),W6),eIt),nIt=new Nb(c8,8),rIt=_It,XFt=iIt,ZFt=oIt,QFt=new Nb(E6,(mx(),!1))}function SL(){SL=C,nLt=new kb(15),tLt=new Nb((LB(),W6),nLt),iLt=new Nb(c8,15),rLt=new Nb(n8,G(0)),XIt=yLt,QIt=R6,eLt=V6,JIt=new Nb(S6,igt),ZIt=N6,$It=B6,p6=lLt,YIt=T6}function S1e(e,t){if(M(t,206))return Kqe(e,P(t,26));if(M(t,193))return eJe(e,P(t,125));if(t)return null;throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t])))))}function C1e(e,t){if(M(t,362))return hFe(e,P(t,157));if(M(t,271))return fat(e,P(t,85));if(t)return null;throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t])))))}function CL(e){if((!e.b&&(e.b=new xS(r7,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new xS(r7,e,5,8)),e.c).i!=1)throw D(new sg(y_t));return cL(P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84))}function w1e(e){if((!e.b&&(e.b=new xS(r7,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new xS(r7,e,5,8)),e.c).i!=1)throw D(new sg(y_t));return cL(P(H((!e.c&&(e.c=new xS(r7,e,5,8)),e.c),0),84))}function T1e(e,t,n){var r,i,a;if(++e.j,i=e.Cj(),t>=i||t<0)throw D(new ig(Iq+t+Lq+i));if(n>=i||n<0)throw D(new ig(Rq+n+Lq+i));return r=t==n?e.vj(n):(a=e.Aj(n),e.oj(t,a),a),r}function E1e(e){var t,n,r=e;if(e)for(t=0,n=e.Bh();n;n=n.Bh()){if(++t>bH)return E1e(n);if(r=n,n==e)throw D(new cg(`There is a cycle in the containment hierarchy of `+e))}return r}function wL(e){var t,n,r=new Zj(QB,`[`,`]`);for(n=e.Jc();n.Ob();)t=n.Pb(),NO(r,j(t)===j(e)?`(this Collection)`:t==null?eV:EP(t));return r.a?r.e.length==0?r.a.a:r.a.a+(``+r.e):r.c}function D1e(e,t){var n,r=!1;if(t.gc()<2)return!1;for(n=0;n<t.gc();n++)n<t.gc()-1?r|=lz(e,P(t.Xb(n),26),P(t.Xb(n+1),26)):r|=lz(e,P(t.Xb(n),26),P(t.Xb(0),26));return r}function O1e(e,t){var n;t==e.a?e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,1,t,t)):(n=null,e.a&&(n=P(e.a,52).Qh(e,4,c7,n)),t&&(n=P(t,52).Oh(e,4,c7,n)),n=GUe(e,t,n),n&&n.mj())}function k1e(e,t){var n;t==e.e?e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,4,t,t)):(e.e&&YNe(lTe(e.e),e),t&&(!t.b&&(t.b=new Qm(new Hh)),w_e(t.b,e)),n=wZe(e,t,null),n&&n.mj())}function A1e(e){var t,n,i,a;if(yb(P(K(e.b,(PB(),T1)),86)))return 0;for(t=0,i=new E(e.a);i.a<i.c.c.length;)n=P(z(i),9),n.k==(MR(),HX)&&(a=n.o.a,t=r.Math.max(t,a));return t}function j1e(e,t){var n=t.o;vb(e.f)?(e.j.a=r.Math.max(e.j.a,n.a),e.j.b+=n.b,e.d.c.length>1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=r.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function TL(){TL=C,tTt=U(k(P5,1),XU,64,0,[(wB(),m5),p5,j5]),eTt=U(k(P5,1),XU,64,0,[p5,j5,N5]),nTt=U(k(P5,1),XU,64,0,[j5,N5,m5]),rTt=U(k(P5,1),XU,64,0,[N5,m5,p5])}function M1e(e){var t,n,r,i,a,o,s,c,l;for(this.a=RJe(e),this.b=new ah,n=e,r=0,i=n.length;r<i;++r)for(t=n[r],a=new ah,$b(this.b,a),s=t,c=0,l=s.length;c<l;++c)o=s[c],$b(a,new NS(o.j))}function N1e(e,t,n){var r,i,a=0;return r=n[t],t<n.length-1&&(i=n[t+1],e.b[t]?(a=Nut(e.d,r,i),a+=Qw(e.a,r,(wB(),p5)),a+=Qw(e.a,i,N5)):a=wFe(e.a,r,i)),e.c[t]&&(a+=WNe(e.a,r)),a}function P1e(e,t,n,r,i){var a,o,s,c=null;for(s=new E(r);s.a<s.c.c.length;)if(o=P(z(s),444),o!=n&&vk(o.e,i,0)!=-1){c=o;break}a=TO(i),zE(a,n.b),VE(a,c.b),fR(e.a,i,new GS(a,t,n.f))}function F1e(e){for(;e.g.c!=0&&e.d.c!=0;)sS(e.g).c>sS(e.d).c?(e.i+=e.g.c,QP(e.d)):sS(e.d).c>sS(e.g).c?(e.e+=e.d.c,QP(e.g)):(e.i+=nSe(e.g),e.e+=nSe(e.d),QP(e.g),QP(e.d))}function I1e(e,t,n){var r,i,a=t.q,o=t.r;for(new tD((WO(),V2),t,a,1),new tD(V2,a,o,1),i=new E(n);i.a<i.c.c.length;)r=P(z(i),116),r!=a&&r!=t&&r!=o&&(eat(e.a,r,t),eat(e.a,r,o))}function L1e(e,t,n,i){e.a.d=r.Math.min(t,n),e.a.a=r.Math.max(t,i)-e.a.d,t<n?(e.b=.5*(t+n),e.g=YG*e.b+.9*t,e.f=YG*e.b+.9*n):(e.b=.5*(t+i),e.g=YG*e.b+.9*i,e.f=YG*e.b+.9*t)}function R1e(e){var t,n,r,i;if(e.b!=0){for(t=new E_,i=TF(e,0);i.b!=i.d.c;)r=P(RD(i),40),bj(t,_M(r)),n=r.e,n.a=P(K(r,(CB(),v4)),15).a,n.b=P(K(r,y4),15).a;return t}return new E_}function z1e(e){switch(P(K(e,(PB(),B1)),165).g){case 1:W(e,B1,(bP(),Y$));break;case 2:W(e,B1,(bP(),X$));break;case 3:W(e,B1,(bP(),q$));break;case 4:W(e,B1,(bP(),J$))}}function B1e(e,t,n){var r;n.Tg(`Self-Loop routing`,1),r=pGe(t),qy(K(t,(UO(),a6))),P_(jT(AT(AT(Bk(new jC(null,new nD(t.b,16)),new Nr),new Pr),new Fr),new Ir),new Ule(e,r)),n.Ug()}function EL(){EL=C,EQ=new Pv(YU,0),RTt=new Pv(XH,1),VTt=new Pv(ZH,2),BTt=new Pv(`LEFT_RIGHT_CONSTRAINT_LOCKING`,3),zTt=new Pv(`LEFT_RIGHT_CONNECTION_LOCKING`,4),LTt=new Pv(ept,5)}function V1e(e,t,n){var i,a,o,s,c=n.a/2,l,u;o=n.b/2,i=r.Math.abs(t.a-e.a),a=r.Math.abs(t.b-e.b),l=1,u=1,i>c&&(l=c/i),a>o&&(u=o/a),s=r.Math.min(l,u),e.a+=s*(t.a-e.a),e.b+=s*(t.b-e.b)}function H1e(e,t,n,r,i){var a,o=!1;for(a=P(AC(n.b,0),26);Krt(e,t,a,r,i)&&(o=!0,kQe(n,a),n.b.c.length!=0);)a=P(AC(n.b,0),26);return n.b.c.length==0&&II(n.j,n),o&&gI(t.q),o}function U1e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),DS(e.o,t,r)):(a=P(eA((i=P(Uj(e,16),29),i||e.fi()),n),69),a.uk().yk(e,sF(e),n-Hw(e.fi()),t,r))}function DL(e,t){var n;t==e.sb?e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,4,t,t)):(n=null,e.sb&&(n=P(e.sb,52).Qh(e,1,s7,n)),t&&(n=P(t,52).Oh(e,1,s7,n)),n=hWe(e,t,n),n&&n.mj())}function W1e(e,t){var n,r,i,a;if(t)i=PA(t,`x`),n=new tre(e),SA(n.a,(dT(i),i)),a=PA(t,`y`),r=new nre(e),CA(r.a,(dT(a),a));else throw D(new _g(`All edge sections need an end point.`))}function G1e(e,t){var n,r,i,a;if(t)i=PA(t,`x`),n=new Qne(e),DA(n.a,(dT(i),i)),a=PA(t,`y`),r=new $ne(e),OA(r.a,(dT(a),a));else throw D(new _g(`All edge sections need a start point.`))}function K1e(e,t){var n,r,i,a,o,s,c;for(r=RHe(e),a=0,s=r.length;a<s;++a)Q1e(t);for(c=!jY&&e.e?jY?null:e.d:null;c;){for(n=RHe(c),i=0,o=n.length;i<o;++i)Q1e(t);c=!jY&&c.e?jY?null:c.d:null}}function q1e(e,t){var n,r=P(K(t,(PB(),l0)),102);W(t,(Y(),uEt),r),n=t.e,n&&(P_(new jC(null,new nD(n.a,16)),new Jee(e)),P_(Bk(new jC(null,new nD(n.b,16)),new dt),new Lm(e)))}function J1e(e){var t=!1,n,r,i;if(Kx(e,(Y(),n$)))for(n=P(K(e,n$),92),i=new E(e.j);i.a<i.c.c.length;)r=P(z(i),12),F8e(r)&&(t||=(c4e(lT(e)),!0),PKe(P(n.xc(r),318)))}function Y1e(e){var t,n,r,i,a,o,s,c,l=R$e(e);return n=e.e,a=n!=null,a&&uC(l,Mq,e.e),s=e.k,o=!!s,o&&uC(l,`type`,qx(e.k)),r=x_(e.j),i=!r,i&&(c=new _p,Zk(l,wq,c),t=new xre(c),dO(e.j,t)),l}function X1e(e){var t,n,r,i=Xw((qA(e.gc(),`size`),new kg),123);for(r=!0,n=qC(e).Jc();n.Ob();)t=P(n.Pb(),45),r||(i.a+=QB),r=!1,Zy(Xw(Zy(i,t.jd()),61),t.kd());return(i.a+=`}`,i).a}function Z1e(e,t){var n,r,i;return t&=63,t<22?(n=e.l<<t,r=e.m<<t|e.l>>22-t,i=e.h<<t|e.m>>22-t):t<44?(n=0,r=e.l<<t-22,i=e.m<<t-22|e.l>>44-t):(n=0,r=0,i=e.l<<t-44),Wb(n&iH,r&iH,i&aH)}function OL(e){if(ubt??=RegExp(`^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$`),!ubt.test(e))throw D(new Ag(fH+e+`"`));return parseFloat(e)}function Q1e(e){var t=CS(typeof console,LH)?null:new Me,n,r;t&&(j_(),n=(r=900,r>=kV?`error`:r>=900?`warn`:r>=800?`info`:`log`),kwe(n,e.a),e.b&&t7e(t,n,e.b,`Exception: `,!0))}function $1e(e,t){var n,r,i=t==1?CX:SX,a,o;for(r=i.a.ec().Jc();r.Ob();)for(n=P(r.Pb(),86),o=P(DO(e.f.c,n),22).Jc();o.Ob();)a=P(o.Pb(),49),$b(e.b.b,P(a.b,82)),$b(e.b.a,P(a.b,82).d)}function e0e(e,t,n,r){var i,a,o,s,c=e.b;switch(a=t.d,o=a.j,s=Gqe(o,c.d[o.g],n),i=wS(qb(a.n),a.a),a.j.g){case 3:case 1:s.a+=i.a;break;case 2:s.b+=i.b;break;case 4:s.b+=i.b}iO(r,s,r.c.b,r.c)}function t0e(e,t){var n,r,i,a=t.b.j;for(e.a=V(q9,JV,30,a.c.length,15,1),i=0,r=0;r<a.c.length;r++)n=(oD(r,a.c.length),P(a.c[r],12)),n.e.c.length==0&&n.g.c.length==0?i+=1:i+=3,e.a[r]=i}function kL(){kL=C,vQ=new Lv(`ALWAYS_UP`,0),_Q=new Lv(`ALWAYS_DOWN`,1),bQ=new Lv(`DIRECTION_UP`,2),yQ=new Lv(`DIRECTION_DOWN`,3),SQ=new Lv(`SMART_UP`,4),xQ=new Lv(`SMART_DOWN`,5)}function n0e(e,t){if(e<0||t<0)throw D(new sg(`k and n must be positive`));if(t>e)throw D(new sg(`k must be smaller than n`));return t==0||t==e?1:e==0?0:$Ze(e)/($Ze(t)*$Ze(e-t))}function r0e(e,t){for(var n=new Db(e),r,i,a;n.g==null&&!n.c?aOe(n):n.g==null||n.i!=0&&P(n.g[n.i-1],50).Ob();)if(a=P(jR(n),57),M(a,174))for(r=P(a,174),i=0;i<t.length;i++)t[i].Jg(r)}function AL(e){var t;return e.Db&64?aP(e):(t=new gx(aP(e)),t.a+=` (height: `,n_(t,e.f),t.a+=`, width: `,n_(t,e.g),t.a+=`, x: `,n_(t,e.i),t.a+=`, y: `,n_(t,e.j),t.a+=`)`,t.a)}function i0e(e){var t=new rO,n,r,i,a,o,s;for(r=e,i=0,a=r.length;i<a;++i)if(n=r[i],o=Kw(n.jd()),s=yF(t,o,Kw(n.kd())),s!=null)throw D(new sg(`duplicate key: `+o));this.b=(KT(),new vm(t))}function a0e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],NO(a,String.fromCharCode(t));return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function o0e(){o0e=C,ySt=(qk(),nX),vSt=new lb(fU,ySt),G(1),_St=new lb(_ft,G(300)),G(0),SSt=new lb(vft,G(0)),new ih,CSt=new lb(pU,mU),new ih,bSt=new lb(hU,5),wSt=nX,xSt=tX}function s0e(e,t){var n;if(t!=null&&!e.c.Fk().dk(t))throw n=M(t,57)?P(t,57).Ah().zb:a_(WM(t)),D(new og(iq+e.c.ve()+`'s type '`+e.c.Fk().ve()+`' does not permit a value of type '`+n+`'`))}function c0e(e,t,n){for(var r,i=new bD(e.b,0);i.b<i.d.gc();)r=(Bx(i.b<i.d.gc()),P(i.d.Xb(i.c=i.b++),70)),j(K(r,(Y(),cEt)))===j(t)&&(i2e(r.n,lT(e.c.i),n),nT(i),$b(t.b,r))}function l0e(e){var t,n=r.Math.sqrt((e.k??=Jze(e,new da),O(e.k)/(e.b*(e.g??=qze(e,new ua),O(e.g)))));return t=RC(Hj(r.Math.round(n))),t=r.Math.min(t,e.f),t}function u0e(){var e,t=0,n;for(e=0;e<1;e++){if(n=W3e((sD(e,1),`X`.charCodeAt(e))),n==0)throw D(new xg((sD(e,2),`Unknown Option: `+`X`.substr(e))));t|=n}return t}function d0e(e){var t=new Zb,n=new Zb,r,i,a,o;for(LD(t,e),LD(n,e);n.b!=n.c;)for(i=P(Cw(n),37),o=new E(i.a);o.a<o.c.c.length;)a=P(z(o),9),a.e&&(r=a.e,LD(t,r),LD(n,r));return t}function jL(){wj(),Zge.call(this),this.j=(wB(),M5),this.a=new Xg,new Ph,this.f=(qA(2,jV),new HO(2)),this.e=(qA(4,jV),new HO(4)),this.g=(qA(4,jV),new HO(4)),this.b=new Fle(this.e,this.g)}function f0e(e,t){var n,r;return!(hg(eS(K(t,(Y(),N$))))||(r=t.c.i,e==(bP(),q$)&&r.k==(MR(),zX))||(n=P(K(r,(PB(),B1)),165),n==J$))}function p0e(e,t){var n,r;return!(hg(eS(K(t,(Y(),N$))))||(r=t.d.i,e==(bP(),Y$)&&r.k==(MR(),zX))||(n=P(K(r,(PB(),B1)),165),n==X$))}function m0e(e,t){var n,r,i,a,o=e.d,s,c=e.o;for(s=new zT(-o.b,-o.d,o.b+c.a+o.c,o.d+c.b+o.a),r=t,i=0,a=r.length;i<a;++i)n=r[i],n&&VL(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-c.a,o.a=s.a-o.d-c.b}function h0e(e,t){if(t.a)switch(P(K(t.b,(Y(),uEt)),102).g){case 0:case 1:DQe(t);case 2:P_(new jC(null,new nD(t.d,16)),new xr),t6e(e.a,t)}else P_(new jC(null,new nD(t.d,16)),new xr)}function ML(){ML=C,GFt=new fy(`CENTER_DISTANCE`,0),I3=new fy(`CIRCLE_UNDERLAP`,1),qFt=new fy(`RECTANGLE_UNDERLAP`,2),L3=new fy(`INVERTED_OVERLAP`,3),KFt=new fy(`MINIMUM_ROOT_DISTANCE`,4)}function g0e(e){G9e();var t,n,r,i,a;if(e==null)return null;for(r=e.length,i=r*2,t=V(K9,BV,30,i,15,1),n=0;n<r;n++)a=e[n],a<0&&(a+=256),t[n*2]=P9[a>>4],t[n*2+1]=P9[a&15];return aF(t,0,t.length)}function _0e(e){var t,n;switch(e.c.length){case 0:return gT(),Kyt;case 1:return t=P(h4e(new E(e)),45),nge(t.jd(),t.kd());default:return n=P(gF(e,V(tY,SV,45,e.c.length,0,1)),175),new hle(n)}}function NL(e,t){switch(t.g){case 1:return ZS(e.j,(wj(),HCt));case 2:return ZS(e.j,(wj(),BCt));case 3:return ZS(e.j,(wj(),WCt));case 4:return ZS(e.j,(wj(),GCt));default:return KT(),KT(),EY}}function v0e(e,t){var n=$be(t,e.e),r=P(Zw(e.g.f,n),15).a,i=e.a.c.length-1;e.a.c.length!=0&&P(AC(e.a,i),295).c==r?(++P(AC(e.a,i),295).a,++P(AC(e.a,i),295).b):$b(e.a,new hhe(r))}function PL(){PL=C,gPt=(LB(),t8),bPt=c8,uPt=R6,dPt=B6,fPt=V6,lPt=L6,pPt=U6,hPt=$6,V4=(Ett(),qNt),H4=JNt,_Pt=ePt,G4=rPt,vPt=tPt,yPt=nPt,mPt=XNt,U4=QNt,W4=$Nt,K4=iPt,xPt=oPt,cPt=KNt}function y0e(e,t){var n,r,i,a,o;if(e.e<=t||wke(e,e.g,t))return e.g;for(a=e.r,r=e.g,o=e.r,i=(a-r)/2+r;r+1<a;)n=Jz(e,i,!1),n.b<=i&&n.a<=t?(o=i,a=i):r=i,i=(a-r)/2+r;return o}function b0e(e,t,n){L$e(n,`Recursive Graph Layout`,b9e(e,t,!0)),r0e(t,U(k(jIt,1),$B,524,0,[new _f])),qO(t,(LB(),i8))||r0e(t,U(k(jIt,1),$B,524,0,[new sc])),Iut(e,t,null,n),x0e(n)}function x0e(e){var t;if(e.p==null)throw D(new cg(`The task has not begun yet.`));e.b||=(e.k&&(t=(O_(),cP(Hj(Date.now()),kV)),e.q=ED(lP(t,e.o))*1e-9),e.c<e.r&&pze(e,e.r-e.c),!0)}function S0e(e){var t,n,r=new Rh;for(pC(r,new A(e.j,e.k)),n=new lx((!e.a&&(e.a=new ix(e7,e,5)),e.a));n.e!=n.i.gc();)t=P(OF(n),372),pC(r,new A(t.a,t.b));return pC(r,new A(e.b,e.c)),r}function C0e(e,t,n,r,i){var a,o,s,c,l,u;if(i)for(c=i.a.length,a=new YC(c),u=(a.b-a.a)*a.c<0?(iv(),G9):new cx(a);u.Ob();)l=P(u.Pb(),15),s=jD(i,l.a),o=new tEe(e,t,n,r),Lnt(o.a,o.b,o.c,o.d,s)}function w0e(e,t){var n;if(j(e)===j(t))return!0;if(M(t,22)){n=P(t,22);try{return e.gc()==n.gc()&&e.Hc(n)}catch(e){if(e=hM(e),M(e,172)||M(e,211))return!1;throw D(e)}}return!1}function FL(e,t,n,r,i,a){switch(this.c=e,t.g){case 2:if(e.a.Le(i,n)<0)throw D(new sg(Pdt+i+Fdt+n));break;case 1:e.a.Le(i,i);break;case 3:e.a.Le(n,n)}this.f=t,this.b=n,this.a=r,this.e=i,this.d=a}function T0e(e,t){var n;$b(e.d,t),n=t.Kf(),e.c?(e.e.a=r.Math.max(e.e.a,n.a),e.e.b+=n.b,e.d.c.length>1&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=r.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function E0e(e){var t,n,r,i=e.i;switch(t=i.b,r=i.j,n=i.g,i.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function D0e(e,t,n){var r,i,a;for(i=new XC(dx(dP(n).a.Jc(),new f));CR(i);)r=P(CO(i),17),!xO(r)&&!(!xO(r)&&r.c.i.c==r.d.i.c)&&(a=J8e(e,r,n,new Bie),a.c.length>1&&ph(t.c,a))}function O0e(e,t,n,r,i){if(r<t||i<n)throw D(new sg(`The highx must be bigger then lowx and the highy must be bigger then lowy`));return e.a<t?e.a=t:e.a>r&&(e.a=r),e.b<n?e.b=n:e.b>i&&(e.b=i),e}function k0e(e){if(M(e,144))return Y5e(P(e,144));if(M(e,233))return HGe(P(e,233));if(M(e,21))return Y1e(P(e,21));throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[e])))))}function A0e(e,t,n,r,i){var a=!0,o,s;for(o=0;o<r;o++)a&=n[o]==0;if(i==0)Fz(n,r,e,0,t),o=t;else{for(s=32-i,a&=n[o]<<s==0,o=0;o<t-1;o++)e[o]=n[o+r]>>>i|n[o+r+1]<<s;e[o]=n[o+r]>>>i,++o}return a}function j0e(e,t,n,r){var i,a,o;if(t.k==(MR(),BX)){for(a=new XC(dx(uP(t).a.Jc(),new f));CR(a);)if(i=P(CO(a),17),o=i.c.i.k,o==BX&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function M0e(e,t){var n,r,i,a;return t&=63,n=e.h&aH,t<22?(a=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(a=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(a=0,i=0,r=n>>>t-44),Wb(r&iH,i&iH,a&aH)}function N0e(e,t,n,r){var i;this.b=r,this.e=e==(pN(),O2),i=t[n],this.d=CC(J9,[X,qH],[171,30],16,[i.length,i.length],2),this.a=CC(q9,[X,JV],[54,30],15,[i.length,i.length],2),this.c=new a$e(t,n)}function P0e(e){var t,n,r;for(e.k=new jke((wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])).length,e.j.c.length),r=new E(e.j);r.a<r.c.c.length;)n=P(z(r),113),t=n.d.j,fR(e.k,t,n);e.e=A5e(JC(e.k))}function F0e(e,t){var n,r,i;Tw(e.d,t),n=new ho,ST(e.c,t,n),n.f=LUe(t.c),n.a=LUe(t.d),n.d=(tz(),i=t.c.i.k,i==(MR(),HX)||i==LX),n.e=(r=t.d.i.k,r==HX||r==LX),n.b=t.c.j==(wB(),N5),n.c=t.d.j==p5}function I0e(e){var t,n,r,i,a=JB;for(i=JB,r=new E(cN(e));r.a<r.c.c.length;)n=P(z(r),217),t=n.e.e-n.d.e,n.e==e&&t<i?i=t:t<a&&(a=t);return i==JB&&(i=-1),a==JB&&(a=-1),new My(G(i),G(a))}function L0e(e,t){var n=t.a.o.a,r,i;for(i=new dm(new QE(lT(t.a).b,t.c,t.f+1));i.b<i.d.gc();)if(r=(Bx(i.b<i.d.gc()),P(i.d.Xb(i.c=i.b++),25)),r.c.a>=n)return LL(e,t,r.p),!0;return!1}function IL(e,t,n,r){var i,a,o=n.length,s,c,l;for(a=0,i=-1,l=mLe((sD(t,e.length+1),e.substr(t)),(LS(),Jbt)),s=0;s<o;++s)c=n[s].length,c>a&&ACe(l,mLe(n[s],Jbt))&&(i=s,a=c);return i>=0&&(r[0]=t+a),i}function R0e(e,t,n){var r,i,a=e.d.p,o,s=a.e,c=a.r,l,u;e.g=new PS(c),o=e.d.o.c.p,r=o>0?s[o-1]:V(IX,tW,9,0,0,1),i=s[o],l=o<s.length-1?s[o+1]:V(IX,tW,9,0,0,1),u=t==n-1,u?ME(e.g,i,l):ME(e.g,r,i)}function z0e(e){var t;return e.Db&64?AL(e):(t=new _x(Kgt),!e.a||Qy(Qy((t.a+=` "`,t),e.a),`"`),Qy(i_(Qy(i_(Qy(i_(Qy(i_((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function B0e(e,t,n){var r,i,a,o,s=$R(e.e.Ah(),t);for(i=P(e.g,122),r=0,o=0;o<e.i;++o)if(a=i[o],s.$l(a.Jk())){if(r==n)return az(e,o),rv(),P(t,69).vk()?a:a.kd();++r}throw D(new ig(Zq+n+Lq+r))}function V0e(e){var t=e.c,n,r;if(t==2||t==7||t==1)return zB(),zB(),V9;for(r=Zlt(e),n=null;(t=e.c)!=2&&t!=7&&t!=1;)n||(n=(zB(),zB(),++W9,new Rb(1)),aB(n,r),r=n),aB(n,Zlt(e));return r}function H0e(e,t,n){return e<0||e>n?P2e(e,n,`start index`):t<0||t>n?P2e(t,n,`end index`):mz(`end index (%s) must not be less than start index (%s)`,U(k(ZJ,1),$B,1,5,[G(t),G(e)]))}function U0e(e,t){var n,r,i,a;for(r=0,i=e.length;r<i;r++){a=e[r];try{a[1]?a[0].Sm()&&(t=bSe(t,a)):a[0].Sm()}catch(e){if(e=hM(e),M(e,80))n=e,Tg(),kEe(M(n,474)?P(n,474).ie():n);else throw D(e)}}return t}function LL(e,t,n){var i,a,o;for(n!=t.c+t.b.gc()&&Xit(t.a,bBe(t,n-t.c)),o=t.a.c.p,e.a[o]=r.Math.max(e.a[o],t.a.o.a),a=P(K(t.a,(Y(),M$)),16).Jc();a.Ob();)i=P(a.Pb(),70),W(i,bZ,(mx(),!0))}function W0e(e,t){var n,i,a=l7e(t);W(t,(Y(),x$),a),a&&(i=JB,VC(e.f,a)&&(i=P(By(VC(e.f,a)),15).a),n=P(AC(t.g,0),17),hg(eS(K(n,N$)))||ST(e,a,G(r.Math.min(P(K(n,w$),15).a,i))))}function G0e(e){var t,n=JB,r,i=!0;for(t=0;t<e.a.c.length;t++)Kx(P(AC(e.a,t),9),(PB(),W1))&&(i=!1,r=P(K(P(AC(e.a,t),9),W1),15).a,n=n<r?n:r);return i&&(n=P(DF((PB(),W1)),15).a),n}function K0e(e,t,n){var r,i,a,o,s;for(t.p=-1,s=HP(t,(VA(),m2)).Jc();s.Ob();)for(o=P(s.Pb(),12),i=new E(o.g);i.a<i.c.c.length;)r=P(z(i),17),a=r.d.i,t!=a&&(a.p<0?n.Ec(r):a.p>0&&K0e(e,a,n));t.p=0}function q0e(e){var t=Xw(Qy(new _x(`Predicates.`),`and`),40),n=!0,r,i;for(i=new dm(e);i.b<i.d.gc();)r=(Bx(i.b<i.d.gc()),i.d.Xb(i.c=i.b++)),n||(t.a+=`,`),t.a+=``+r,n=!1;return(t.a+=`)`,t).a}function J0e(e,t,n){var r,i,a;if(!(n<=t+2))for(i=(n-t)/2|0,r=0;r<i;++r)a=(oD(t+r,e.c.length),P(e.c[t+r],12)),fO(e,t+r,(oD(n-r-1,e.c.length),P(e.c[n-r-1],12))),oD(n-r-1,e.c.length),e.c[n-r-1]=a}function Y0e(e,t){var n,r,i;if(t.c.length!=0){for(n=x1e(e,t),i=!1;!n;)TR(e,t,!0),i=!0,n=x1e(e,t);i&&TR(e,t,!1),r=vM(t),e.b&&e.b.Fg(r),e.a=OUe(e,(oD(0,t.c.length),P(t.c[0],26))),Y0e(e,r)}}function RL(e,t){var n,r=eA(e.Ah(),t),i;if(n=t-e.gi(),n<0){if(!r)throw D(new sg(Zgt+t+Qgt));if(r.pk())i=e.Fh(r),i>=0?e.hi(i):v4e(e,r);else throw D(new sg(iq+r.ve()+aq))}else AN(e,n,r)}function X0e(e){var t,n=null;if(t=!1,M(e,210)&&(t=!0,n=P(e,210).a),t||M(e,265)&&(t=!0,n=``+P(e,265).a),t||M(e,479)&&(t=!0,n=``+P(e,479).a),!t)throw D(new ag(l_t));return n}function Z0e(e,t,n){var r,i,a,o,s,c=$R(e.e.Ah(),t);for(r=0,s=e.i,i=P(e.g,122),o=0;o<e.i;++o)if(a=i[o],c.$l(a.Jk())){if(n==r)return o;++r,s=o+1}if(n==r)return s;throw D(new ig(Zq+n+Lq+r))}function Q0e(e,t){var n,i,a,o;if(e.f.c.length==0)return null;for(o=new Ob,i=new E(e.f);i.a<i.c.c.length;)n=P(z(i),70),a=n.o,o.b=r.Math.max(o.b,a.a),o.a+=a.b;return o.a+=(e.f.c.length-1)*t,o}function $0e(e){var t,n,r=e.a.d.j,i=e.a.d.j;for(n=new E(e.i.d);n.a<n.c.c.length;)t=P(z(n),70),W(t,(PB(),D1),null);r==(wB(),m5)||i==m5?cw(e,j5,(oM(),TZ),null):cw(e,m5,(oM(),TZ),null)}function e2e(e){var t,n,r,i;for(e.e=0,i=TF(e.f,0);i.b!=i.d.c;)r=P(RD(i),9),r.p>=e.d.b.c.length&&(t=new tT(e.d),t.p=r.p-1,$b(e.d.b,t),n=new tT(e.d),n.p=r.p,$b(e.d.b,n)),BE(r,P(AC(e.d.b,r.p),25))}function t2e(e){var t,n=new E_,r,i;for(bj(n,e.o),r=new Ih;n.b!=0;)t=P(n.b==0?null:(Bx(n.b!=0),aA(n,n.a.a)),500),i=flt(e,t,!0),i&&$b(r.a,t);for(;r.a.c.length!=0;)t=P(eUe(r),500),flt(e,t,!1)}function zL(e){var t;this.c=new E_,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=(t=P(t_(Z3),10),new FS(t,P(gS(t,t.length),10),0)),this.g=e.f}function BL(){BL=C,VIt=new my($H,0),Q3=new my(`BOOLEAN`,1),n6=new my(`INT`,2),i6=new my(`STRING`,3),$3=new my(`DOUBLE`,4),e6=new my(`ENUM`,5),t6=new my(`ENUMSET`,6),r6=new my(`OBJECT`,7)}function VL(e,t){var n,i=r.Math.min(e.c,t.c),a,o=r.Math.min(e.d,t.d),s;a=r.Math.max(e.c+e.b,t.c+t.b),s=r.Math.max(e.d+e.a,t.d+t.a),a<i&&(n=i,i=a,a=n),s<o&&(n=o,o=s,s=n),rxe(e,i,o,a-i,s-o)}function n2e(e,t){var n,r;if(e.f){for(;t.Ob();)if(n=P(t.Pb(),75),r=n.Jk(),M(r,103)&&(P(r,19).Bb&sq)!=0&&(!e.e||r.nk()!=$5||r.Jj()!=0)&&n.kd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function r2e(e,t){var n,r;if(e.f){for(;t.Sb();)if(n=P(t.Ub(),75),r=n.Jk(),M(r,103)&&(P(r,19).Bb&sq)!=0&&(!e.e||r.nk()!=$5||r.Jj()!=0)&&n.kd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function HL(){HL=C,QBt=U(k(vY,1),X,2,6,[Fvt,OJ,kJ,Ivt,AJ,jJ,Mq]),ZBt=U(k(vY,1),X,2,6,[Fvt,`empty`,OJ,fJ,`elementOnly`]),$Bt=U(k(vY,1),X,2,6,[Fvt,`preserve`,`replace`,MJ]),p9=new lxe}function i2e(e,t,n){var r,i,a;if(t!=n){r=t;do wS(e,r.c),i=r.e,i&&(a=r.d,Jx(e,a.b,a.d),wS(e,i.n),r=lT(i));while(i);r=n;do TS(e,r.c),i=r.e,i&&(a=r.d,Ohe(e,a.b,a.d),TS(e,i.n),r=lT(i));while(i)}}function UL(e,t,n,r){var i,a,o,s,c;if(r.f.c+r.i.c==0)for(o=e.a[e.c],s=0,c=o.length;s<c;++s)a=o[s],ST(r,a,new lBe(e,a,n));return i=P(By(VC(r.f,t)),667),i.b=0,i.c=i.f,i.c==0||Yp(P(AC(i.a,i.b),295)),i}function a2e(e){var t;this.j=new ah,this.f=new Dh,this.b=(t=P(t_(P5),10),new FS(t,P(gS(t,t.length),10),0)),this.d=V(q9,JV,30,(wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])).length,15,1),this.g=e}function WL(){WL=C,YZ=new kv(`MEDIAN_LAYER`,0),ZZ=new kv(`TAIL_LAYER`,1),JZ=new kv(`HEAD_LAYER`,2),XZ=new kv(`SPACE_EFFICIENT_LAYER`,3),QZ=new kv(`WIDEST_LAYER`,4),qZ=new kv(`CENTER_LAYER`,5)}function o2e(e,t,n){var r,i,a;if(!e.b[t.g]){for(e.b[t.g]=!0,r=n,!r&&(r=new RO),pC(r.b,t),a=e.a[t.g].Jc();a.Ob();)i=P(a.Pb(),65),i.b!=t&&o2e(e,i.b,r),i.c!=t&&o2e(e,i.c,r),pC(r.a,i);return r}return null}function s2e(e){switch(e.g){case 0:case 1:case 2:return wB(),m5;case 3:case 4:case 5:return wB(),j5;case 6:case 7:case 8:return wB(),N5;case 9:case 10:case 11:return wB(),p5;default:return wB(),M5}}function c2e(e,t){var n;return e.c.length==0?!1:(n=kKe((oD(0,e.c.length),P(e.c[0],17)).c.i),WE(),n==(HF(),J0)||n==q0?!0:pO(jT(new jC(null,new nD(e,16)),new Aa),new lne(t)))}function GL(e,t){if(M(t,206))return Rfe(e,P(t,26));if(M(t,193))return zfe(e,P(t,125));if(M(t,443))return Lfe(e,P(t,170));throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t])))))}function l2e(e,t,n){var r,i;if(this.f=e,r=P(Zw(e.b,t),262),i=r?r.a:0,MNe(n,i),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++<i;)zIe(this);else for(this.c=r?r.b:null;n-- >0;)BIe(this);this.b=t,this.a=null}function u2e(e,t){var n,r;t.a?C7e(e,t):(n=P(kce(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Ec(t.b),r=P(Oce(e.b,t.b),60),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Ec(r),Vpe(e.b,t.b))}function d2e(e,t){var n=P(CT(e.b,t),127),r;if(P(P(DO(e.r,t),22),83).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Gc((tF(),z5))&&Met(e,t),r=AJe(e,t),F9e(e,t)==(wF(),Z8)&&(r+=2*e.w),n.a.a=r}function f2e(e,t){var n=P(CT(e.b,t),127),r;if(P(P(DO(e.r,t),22),83).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Gc((tF(),z5))&&Net(e,t),r=kJe(e,t),F9e(e,t)==(wF(),Z8)&&(r+=2*e.w),n.a.b=r}function p2e(e,t){var n,r,i,a=new ah;for(r=new E(t);r.a<r.c.c.length;)n=P(z(r),68),$b(a,new jle(n,!0)),$b(a,new jle(n,!1));i=new $Ee(e),i.a.a.$b(),DAe(a,e.b,new dg(U(k(Cxt,1),$B,683,0,[i])))}function m2e(e,t){var n,r,i;t.Tg(`End label pre-processing`,1),n=O(N(K(e,(PB(),x0)))),r=O(N(K(e,T0))),i=yb(P(K(e,T1),86)),P_(Bk(new jC(null,new nD(e.b,16)),new en),new Mye(n,r,i)),t.Ug()}function h2e(e,t){var n,r,i;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,r=new XC(dx(fP(t).a.Jc(),new f));CR(r);)n=P(CO(r),17),!xO(n)&&(i=n.d.i,e.a[i.p]?$b(e.b,n):h2e(e,i));e.a[t.p]=!1}}function KL(e,t,n){var r=0;switch(P(K(t,(PB(),B1)),165).g){case 2:r=2*-n+e.a,++e.a;break;case 1:r=-n;break;case 3:r=n;break;case 4:r=2*n+e.b,++e.b}return Kx(t,(Y(),w$))&&(r+=P(K(t,w$),15).a),r}function g2e(e,t,n){var r,i,a;for(n.yc(t,e),$b(e.n,t),a=e.p.yg(t),t.j==e.p.zg()?OGe(e.e,a):OGe(e.j,a),Vw(e),i=xw(IA(U(k(QJ,1),$B,20,0,[new Bm(t),new Hm(t)])));CR(i);)r=P(CO(i),12),n._b(r)||g2e(e,r,n)}function _2e(e,t,n){var r,i,a;for(n.Tg(`Processor set neighbors`,1),e.a=t.b.b==0?1:t.b.b,i=null,r=TF(t.b,0);!i&&r.b!=r.d.c;)a=P(RD(r),40),hg(eS(K(a,(CB(),_4))))&&(i=a);i&&N9e(e,new Km(i),n),n.Ug()}function v2e(e){var t,n=P(J(e,(LB(),R6)),22),r;return n.Gc((tF(),I5))?(r=P(J(e,V6),22),t=new mb(P(J(e,B6),8)),r.Gc((Tz(),U5))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new Xg}function y2e(e){var t,n,r;if(!e.b){for(r=new vl,n=new Ox(Kz(e));n.e!=n.i.gc();)t=P(kF(n),19),(t.Bb&sq)!=0&&XO(r,t);lN(r),e.b=new db((P(H(R((Uw(),K7).o),8),19),r.i),r.g),bO(e).b&=-9}return e.b}function qL(e){for(var t,n=e.length,r=0;r<n&&(sD(r,e.length),e.charCodeAt(r)<=32);)++r;for(t=n;t>r&&(sD(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||t<n?(YO(r,t,e.length),e.substr(r,t-r)):e}function b2e(e,t){var n,r,i,a,o,s,c=P(lI(JC(t.k),V(P5,XU,64,2,0,1)),126),l=t.g;n=xje(t,c[0]),i=bje(t,c[1]),r=_I(e,l,n,i),a=xje(t,c[1]),s=bje(t,c[0]),o=_I(e,l,a,s),r<=o?(t.a=n,t.c=i):(t.a=a,t.c=s)}function x2e(e,t,n,r,i){var a,o,s,c,l;if(t)for(s=t.Jc();s.Ob();)for(o=P(s.Pb(),9),l=fet(o,(VA(),m2),n).Jc();l.Ob();)c=P(l.Pb(),12),a=P(By(VC(i.f,c)),116),a||(a=new cM(e.d),ph(r.c,a),g2e(a,c,i))}function JL(e){var t;KT();var n,r,i,a,o,s;if(M(e,59))for(a=0,i=e.gc()-1;a<i;++a,--i)t=e.Xb(a),e.fd(a,e.Xb(i)),e.fd(i,t);else for(n=e.cd(),o=e.dd(e.gc());n.Tb()<o.Vb();)r=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(r)}function YL(e,t){var n,r,i,a,o,s=0;for(a=new Zb,LD(a,t);a.b!=a.c;)for(o=P(Cw(a),218),s+=rXe(o.d,o.e),i=new E(o.b);i.a<i.c.c.length;)r=P(z(i),37),n=P(AC(e.b,r.p),218),n.s||(s+=YL(e,n));return s}function S2e(e,t,n){var i,a;iVe(this),t==(EE(),U2)?Tw(this.r,e.c):Tw(this.w,e.c),Tw(n==U2?this.r:this.w,e.d),F0e(this,e),i=LUe(e.c),a=LUe(e.d),L1e(this,i,a,a),this.o=(tz(),r.Math.abs(i-a)<.2)}function C2e(e,t,n){var r,i,a,o,s=P(Uj(e.a,8),1997),c;if(s!=null)for(i=s,a=0,o=i.length;a<o;++a)null.Sm();r=n,e.a.Db&1||(c=new zwe(e,n,t),r.bj(c)),M(r,676)?P(r,676).dj(e.a):r.aj()==e.a&&r.cj(null)}function w2e(){var e;return kVt?P(kR(($_(),V7),IJ),2006):(Act(),e=P(M(vE(($_(),V7),IJ),582)?vE(V7,IJ):new fTe,582),kVt=!0,Flt(e),Fut(e),ST(($ce(),xBt),e,new Du),wI(e),LE(V7,IJ,e),e)}function T2e(e,t,n,r){var i=IL(e,n,U(k(vY,1),X,2,6,[YV,XV,ZV,QV,$V,eH,tH]),t);return i<0&&(i=IL(e,n,U(k(vY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`]),t)),i<0?!1:(r.d=i,!0)}function E2e(e,t,n,r){var i=IL(e,n,U(k(vY,1),X,2,6,[YV,XV,ZV,QV,$V,eH,tH]),t);return i<0&&(i=IL(e,n,U(k(vY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`]),t)),i<0?!1:(r.d=i,!0)}function XL(e,t,n){var r,i,a,o=e.b.Ae(t);if(i=(r=e.a.get(o),r??V(ZJ,$B,1,0,5,1)),i.length==0)e.a.set(o,i);else if(a=pUe(e,t,i),a)return a.ld(n);return Jw(i,i.length,new uv(t,n)),++e.c,++e.b.g,null}function D2e(e){var t,n,r;for(w8e(e),r=new ah,n=new E(e.a.a.b);n.a<n.c.c.length;)t=P(z(n),82),$b(r,new Nle(t,!0)),$b(r,new Nle(t,!1));mYe(e.c),xD(r,e.b,new dg(U(k(TX,1),$B,377,0,[e.c]))),u6e(e)}function ZL(e,t){var n,r,i=new ah;for(r=new E(e.c.a.b);r.a<r.c.c.length;)n=P(z(r),60),t.Lb(n)&&($b(i,new Ale(n,!0)),$b(i,new Ale(n,!1)));pYe(e.e),DAe(i,e.d,new dg(U(k(Cxt,1),$B,683,0,[e.e])))}function O2e(e){var t,n=new oh,r,i;for(i=new E(e.d);i.a<i.c.c.length;)r=P(z(i),187),t=P(r.mf((Y(),r$)),17),VC(n.f,t)||ST(n,t,new EEe(t)),$b(P(By(VC(n.f,t)),455).b,r);return new NS(new om(n))}function k2e(e,t){var n,r=new xAe(e.j.c.length),i,a,o;for(n=null,a=new E(e.j);a.a<a.c.c.length;)i=P(z(a),12),i.j!=n&&(r.b==r.c||T8e(r,n,t),oMe(r),n=i.j),o=o6e(i),o&&tje(r,o);r.b==r.c||T8e(r,n,t)}function A2e(e,t){for(var n,r=new bD(e.b,0),i;r.b<r.d.gc();)n=(Bx(r.b<r.d.gc()),P(r.d.Xb(r.c=r.b++),70)),i=P(K(n,(PB(),O1)),279),i==(dA(),w8)&&(nT(r),$b(t.b,n),Kx(n,(Y(),r$))||W(n,r$,e))}function j2e(e){var t=UD(new XC(dx(fP(e).a.Jc(),new f))),n,i,a,o;for(a=new XC(dx(uP(e).a.Jc(),new f));CR(a);)i=P(CO(a),17),n=i.c.i,o=UD(new XC(dx(fP(n).a.Jc(),new f))),t=r.Math.max(t,o);return G(t)}function M2e(e,t,n){var r=P(J(e,(LB(),T6)),22),i=0,a=0;t.a>n.a&&(r.Gc((eL(),m6))?i=(t.a-n.a)/2:r.Gc(g6)&&(i=t.a-n.a)),t.b>n.b&&(r.Gc((eL(),v6))?a=(t.b-n.b)/2:r.Gc(_6)&&(a=t.b-n.b)),u1e(e,i,a)}function N2e(e,t,n,r,i,a,o,s,c,l,u,d,f){M(e.Cb,88)&&$L(bO(P(e.Cb,88)),4),hj(e,n),e.f=o,ZN(e,s),QN(e,c),YN(e,l),XN(e,u),MN(e,d),tP(e,f),jN(e,!0),AA(e,i),e.Xk(a),gN(e,t),r!=null&&(e.i=null,rj(e,r))}function P2e(e,t,n){if(e<0)return mz(Uut,U(k(ZJ,1),$B,1,5,[n,G(e)]));if(t<0)throw D(new sg(Wut+t));return mz(`%s (%s) must not be greater than size (%s)`,U(k(ZJ,1),$B,1,5,[n,G(e),G(t)]))}function F2e(e,t,n,r,i,a){var o=r-n,s,c,l;if(o<7){kGe(t,n,r,a);return}if(c=n+i,s=r+i,l=c+(s-c>>1),F2e(t,e,c,l,-i,a),F2e(t,e,l,s,-i,a),a.Le(e[l-1],e[l])<=0){for(;n<r;)Jw(t,n++,e[c++]);return}HUe(e,c,l,s,t,n,r,a)}function I2e(e,t){var n,r,i,a,o,s,c=t.d;for(i=t.b.j,s=new E(c);s.a<s.c.c.length;)for(o=P(z(s),107),a=V(J9,qH,30,i.c.length,16,1),ST(e.b,o,a),n=o.a.d.p-1,r=o.c.d.p;n!=r;)n=(n+1)%i.c.length,a[n]=!0}function L2e(e,t){if(VRe(),Kx(e,(Y(),w$))&&Kx(t,w$))return Ub(P(K(e,w$),15).a,P(K(t,w$),15).a);throw D(new yg(`The BF model order layer assigner requires all real nodes to have a model order.`))}function R2e(e,t){if(URe(),Kx(e,(Y(),w$))&&Kx(t,w$))return Ub(P(K(e,w$),15).a,P(K(t,w$),15).a);throw D(new yg(`The DF model order layer assigner requires all real nodes to have a model order.`))}function z2e(e,t){for(e.r=new cM(e.p),gee(e.r,e),bj(e.r.j,e.j),YT(e.j),pC(e.j,t),pC(e.r.e,t),Vw(e),Vw(e.r);e.f.c.length!=0;)Ape(P(AC(e.f,0),133));for(;e.k.c.length!=0;)Ape(P(AC(e.k,0),133));return e.r}function QL(e,t,n){var r,i=eA(e.Ah(),t),a;if(r=t-e.gi(),r<0){if(!i)throw D(new sg(Zgt+t+Qgt));if(i.pk())a=e.Fh(i),a>=0?e.$h(a,n):t5e(e,i,n);else throw D(new sg(iq+i.ve()+aq))}else vP(e,r,i,n)}function B2e(e){var t,n;if(e.f){for(;e.n>0;){if(t=P(e.k.Xb(e.n-1),75),n=t.Jk(),M(n,103)&&(P(n,19).Bb&sq)!=0&&(!e.e||n.nk()!=$5||n.Jj()!=0)&&t.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function V2e(e){var t,n=P(e,52).Yh(),r,i;if(n)try{if(r=null,t=kR(($_(),V7),Ant(WGe(n))),t&&(i=t.Zh(),i&&(r=i.Dl($ae(n.e)))),r&&r!=e)return V2e(r)}catch(e){if(e=hM(e),!M(e,63))throw D(e)}return e}function H2e(e,t,n){var r,i,a;n.Tg(`Remove overlaps`,1),n.bh(t,sht),r=P(J(t,(iS(),j4)),26),e.f=r,e.a=YF(P(J(t,(PL(),K4)),303)),i=N(J(t,(LB(),c8))),Bp(e,(dT(i),i)),a=iz(r),Gst(e,t,a,n),n.bh(t,cK)}function U2e(e){var t,n,r;if(hg(eS(J(e,(LB(),j6))))){for(r=new ah,n=new XC(dx(PR(e).a.Jc(),new f));CR(n);)t=P(CO(n),85),uR(t)&&hg(eS(J(t,M6)))&&ph(r.c,t);return r}else return KT(),KT(),EY}function W2e(e){if(!e)return Gae(),ibt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=abt[typeof t];return n?n(t):TWe(typeof t)}else if(e instanceof Array||e instanceof r.Array)return new fp(e);else return new hp(e)}function G2e(e,t,n){var i,a,o=e.o;switch(i=P(CT(e.p,n),253),a=i.i,a.b=oR(i),a.a=aR(i),a.b=r.Math.max(a.b,o.a),a.b>o.a&&!t&&(a.b=o.a),a.c=-(a.b-o.a)/2,n.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}Brt(i),Grt(i)}function K2e(e,t,n){var i,a,o=e.o;switch(i=P(CT(e.p,n),253),a=i.i,a.b=oR(i),a.a=aR(i),a.a=r.Math.max(a.a,o.b),a.a>o.b&&!t&&(a.a=o.b),a.d=-(a.a-o.b)/2,n.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}Brt(i),Grt(i)}function q2e(e,t){var n,i,a;return M(t.g,9)&&P(t.g,9).k==(MR(),RX)?pH:(a=VD(t),a?r.Math.max(0,e.b/2-.5):(n=iD(t),n?(i=O(N(qP(n,(PB(),k0)))),r.Math.max(0,i/2-.5)):pH))}function J2e(e,t){var n,i,a;return M(t.g,9)&&P(t.g,9).k==(MR(),RX)?pH:(a=VD(t),a?r.Math.max(0,e.b/2-.5):(n=iD(t),n?(i=O(N(qP(n,(PB(),k0)))),r.Math.max(0,i/2-.5)):pH))}function Y2e(e,t){var n,r,i,a,o;if(!t.dc()){if(i=P(t.Xb(0),132),t.gc()==1){L7e(e,i,i,1,0,t);return}for(n=1;n<t.gc();)(i.j||!i.o)&&(a=lXe(t,n),a&&(r=P(a.a,15).a,o=P(a.b,132),L7e(e,i,o,n,r,t),n=r+1,i=o))}}function X2e(e){var t,n,r,i,a,o=new NS(e.d);for(Vb(o,new Vi),t=(dz(),U(k(aTt,1),Z,275,0,[zZ,HZ,RZ,GZ,VZ,BZ,WZ,UZ])),n=0,a=new E(o);a.a<a.c.c.length;)i=P(z(a),107),r=t[n%t.length],D3e(i,r),++n}function Z2e(e,t){var n,r,i,a,o,s,c,l,u=null,d=e;return o=PA(d,`x`),n=new ore(t),TIe(n.a,o),s=PA(d,`y`),r=new sre(t),EIe(r.a,s),c=PA(d,bq),i=new cre(t),DIe(i.a,c),l=PA(d,yq),a=new lre(t),u=(OIe(a.a,l),l),u}function $L(e,t){Tet(e,t),e.b&1&&(e.a.a=null),e.b&2&&(e.a.f=null),e.b&4&&(e.a.g=null,e.a.i=null),e.b&16&&(e.a.d=null,e.a.e=null),e.b&8&&(e.a.b=null),e.b&32&&(e.a.j=null,e.a.c=null)}function Q2e(e,t){var n,r,i=0;if(t.length>0)try{i=Ez(t,LV,JB)}catch(e){throw e=hM(e),M(e,131)?(r=e,D(new Ok(r))):D(e)}return n=(!e.a&&(e.a=new nh(e)),e.a),i<n.i&&i>=0?P(H(n,i),57):null}function $2e(e,t){if(e<0)return mz(Uut,U(k(ZJ,1),$B,1,5,[`index`,G(e)]));if(t<0)throw D(new sg(Wut+t));return mz(`%s (%s) must be less than size (%s)`,U(k(ZJ,1),$B,1,5,[`index`,G(e),G(t)]))}function e4e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Qy(a.a,a.b):a.a=new _x(a.d),Xy(a.a,``+t);return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function t4e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Qy(a.a,a.b):a.a=new _x(a.d),Xy(a.a,``+t);return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function n4e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Qy(a.a,a.b):a.a=new _x(a.d),Xy(a.a,``+t);return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function r4e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Qy(a.a,a.b):a.a=new _x(a.d),Xy(a.a,``+t);return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function i4e(e,t){for(var n=e.b.c.length,r,i=AC(e.b,t),a,o,s;t*2+1<n&&(r=(a=2*t+1,o=a+1,s=a,o<n&&e.a.Le(AC(e.b,o),AC(e.b,a))<0&&(s=o),s),!(e.a.Le(i,AC(e.b,r))<0));)fO(e.b,t,AC(e.b,r)),t=r;fO(e.b,t,i)}function eR(e,t,n){var r=n.d,i=n.e;return e.g[r.d]<=e.i[t.d]&&e.i[t.d]<=e.i[r.d]&&e.g[i.d]<=e.i[t.d]&&e.i[t.d]<=e.i[i.d]?!(e.i[r.d]<e.i[i.d]):e.i[r.d]<e.i[i.d]}function a4e(e,t){var n=P(K(t,(PB(),C1)),301);if(n!=e)throw D(new yg(`The hierarchy aware processor `+n+` in child node `+t+` is only allowed if the root node specifies the same hierarchical processor.`))}function o4e(e,t){var n,r=(!t.s&&(t.s=new F(N7,t,21,17)),t.s),i,a=null,o;for(i=0,o=r.i;i<o;++i)switch(n=P(H(r,i),179),hT(wk(e,n))){case 2:case 3:!a&&(a=new ah),ph(a.c,n)}return a||(KT(),KT(),EY)}function s4e(e,t,n){var i,a,o,s,c,l=pH;for(o=new E(b5e(e.b));o.a<o.c.c.length;)for(a=P(z(o),177),c=new E(b5e(t.b));c.a<c.c.c.length;)s=P(z(c),177),i=CVe(a.a,a.b,s.a,s.b,n),l=r.Math.min(l,i);return l}function tR(e,t){if(!t)throw D(new yh);if(e.j=t,!e.d)switch(e.j.g){case 1:e.a.a=e.o.a/2,e.a.b=0;break;case 2:e.a.a=e.o.a,e.a.b=e.o.b/2;break;case 3:e.a.a=e.o.a/2,e.a.b=e.o.b;break;case 4:e.a.a=0,e.a.b=e.o.b/2}}function c4e(e){var t,n,r=0,i,a,o,s;for(n=new E(e.b);n.a<n.c.c.length;)for(t=P(z(n),25),a=new E(t.a);a.a<a.c.c.length;)for(i=P(z(a),9),i.p=r++,s=new E(i.j);s.a<s.c.c.length;)o=P(z(s),12),o.p=r++}function l4e(e,t){HS();var n=null,r,i,a,o,s;for(o=t.Jc();o.Ob();)a=P(o.Pb(),132),!a.o&&(r=gpe(a.a),i=exe(a.a),s=new Wz(r,i,null,P(a.d.a.ec().Jc().Pb(),17)),$b(s.c,a.a),ph(e.c,s),n&&$b(n.d,s),n=s)}function u4e(e){var t,n,r,i,a;for(a=kN(e.d,e.e).Jc();a.Ob();)for(i=P(a.Pb(),12),r=e.e==(wB(),N5)?i.e:i.g,n=new E(r);n.a<n.c.c.length;)t=P(z(n),17),!xO(t)&&t.c.i.c!=t.d.i.c&&(v0e(e,t),++e.f,++e.c)}function d4e(e,t){var n,r;if(t.dc())return KT(),KT(),EY;for(r=new ah,$b(r,G(LV)),n=1;n<e.f;++n)e.a??wet(e),e.a[n]&&$b(r,G(n));return r.c.length==1?(KT(),KT(),EY):($b(r,G(JB)),pit(t,r))}function f4e(e,t){var n,r,i,a,o=t.c.i.k!=(MR(),HX),s,c=o?t.d:t.c;n=VXe(t,c).i,i=P(Zw(e.k,c),124),r=e.i[n.p].a,W_e(c.i)<(n.c?vk(n.c.a,n,0):-1)?(a=i,s=r):(a=r,s=i),ZR(L_(I_(R_(F_(new Mh,0),4),a),s))}function p4e(e,t,n){var r,i,a,o,s,c;if(n)for(i=n.a.length,r=new YC(i),s=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);s.Ob();)o=P(s.Pb(),15),c=fI(e,iR(Vk(n,o.a))),c&&(a=(!t.b&&(t.b=new xS(r7,t,4,7)),t.b),XO(a,c))}function m4e(e,t,n){var r,i,a,o,s,c;if(n)for(i=n.a.length,r=new YC(i),s=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);s.Ob();)o=P(s.Pb(),15),c=fI(e,iR(Vk(n,o.a))),c&&(a=(!t.c&&(t.c=new xS(r7,t,5,8)),t.c),XO(a,c))}function nR(e,t,n){var r=t.a&e.f,i;t.b=e.b[r],e.b[r]=t,i=t.f&e.f,t.d=e.c[i],e.c[i]=t,n?(t.e=n.e,t.e?t.e.c=t:e.a=t,t.c=n.c,t.c?t.c.e=t:e.e=t):(t.e=e.e,t.c=null,e.e?e.e.c=t:e.a=t,e.e=t),++e.i,++e.g}function h4e(e){var t=e.Pb(),n,r;if(!e.Ob())return t;for(r=Zy(Qy(new Og,`expected one element but was: <`),t),n=0;n<4&&e.Ob();n++)Zy((r.a+=QB,r),e.Pb());throw e.Ob()&&(r.a+=`, ...`),r.a+=`>`,D(new sg(r.a))}function g4e(e){var t,n=-e.a;return t=U(k(K9,1),BV,30,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&VV,t[2]=t[2]+(n/60|0)%10&VV,t[3]=t[3]+(n%60/10|0)&VV,t[4]=t[4]+n%10&VV,aF(t,0,t.length)}function _4e(e){var t,n,r,i;for(e.g=new TP(P(Kw(P5),298)),r=0,n=(wB(),m5),t=0;t<e.j.c.length;t++)i=P(AC(e.j,t),12),i.j!=n&&(r!=t&&Dw(e.g,n,new My(G(r),G(t))),n=i.j,r=t);Dw(e.g,n,new My(G(r),G(t)))}function v4e(e,t){var n,r,i=uB((HL(),p9),e.Ah(),t);if(i)rv(),P(i,69).vk()||(i=cD(wk(p9,i))),r=(n=e.Fh(i),P(n>=0?e.Ih(n,!0,!0):mR(e,i,!0),163)),P(r,219).Xl(t);else throw D(new sg(iq+t.ve()+aq))}function y4e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=xE(r.Math.floor(r.Math.log(e)/.6931471805599453)),(!t||e!=r.Math.pow(2,n))&&++n,n):SWe(Hj(e))}function b4e(e){var t,n,r,i,a=new pb,o,s;for(n=new E(e);n.a<n.c.c.length;)t=P(z(n),133),o=t.a,s=t.b,!(a.a._b(o)||a.a._b(s))&&(i=o,r=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.yc(i,a),i.q=r);return a}function x4e(e,t,n){n.Tg(`Eades radial`,1),n.bh(t,cK),e.d=P(J(t,(iS(),j4)),26),e.c=O(N(J(t,(PL(),W4)))),e.e=YF(P(J(t,K4),303)),e.a=QGe(P(J(t,xPt),426)),e.b=uQe(P(J(t,mPt),354)),FZe(e),n.bh(t,cK)}function S4e(e,t){if(t.Tg(`Target Width Setter`,1),qO(e,(uz(),y3)))IF(e,(fz(),u3),N(J(e,y3)));else throw D(new vg(`A target width has to be set if the TargetWidthWidthApproximator should be used.`));t.Ug()}function C4e(e,t){var n,r=new tI(e),i;return Xj(r,t),W(r,(Y(),o$),t),W(r,(PB(),l0),(iL(),t5)),W(r,e1,(UF(),l6)),Tp(r,(MR(),RX)),n=new jL,HE(n,r),tR(n,(wB(),N5)),i=new jL,HE(i,r),tR(i,p5),r}function w4e(e,t){var n,r,i,a,o;for(e.c[t.p]=!0,$b(e.a,t),o=new E(t.j);o.a<o.c.c.length;)for(a=P(z(o),12),r=new IO(a.b);Hb(r.a)||Hb(r.b);)n=P(Hb(r.a)?z(r.a):z(r.b),17),i=uqe(a,n).i,e.c[i.p]||w4e(e,i)}function T4e(e){var t,n,i,a,o,s=0,c;for(n=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));n.e!=n.i.gc();)t=P(OF(n),26),c=t.g,a=t.f,i=r.Math.sqrt(c*c+a*a),s=r.Math.max(i,s),o=T4e(t),s=r.Math.max(o,s);return s}function rR(){rR=C,u5=new Dy(`OUTSIDE`,0),c5=new Dy(`INSIDE`,1),l5=new Dy(`NEXT_TO_PORT_IF_POSSIBLE`,2),s5=new Dy(`ALWAYS_SAME_SIDE`,3),o5=new Dy(`ALWAYS_OTHER_SAME_SIDE`,4),d5=new Dy(`SPACE_EFFICIENT`,5)}function E4e(e,t,n){var r=eje(e,(i=($g(),a=new Lh,a),n&&HR(i,n),i),t),i,a,o,s,c;return QA(r,PD(t,Oq)),sL(t,r),K6e(t,r),Z2e(t,r),o=t,s=ND(o,`ports`),c=new hde(e,r),a5e(c.a,c.b,s),FM(e,t,r),cVe(e,t,r),r}function D4e(e){var t,n=-e.a;return t=U(k(K9,1),BV,30,15,[43,48,48,58,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&VV,t[2]=t[2]+(n/60|0)%10&VV,t[4]=t[4]+(n%60/10|0)&VV,t[5]=t[5]+n%10&VV,aF(t,0,t.length)}function O4e(e){var t=U(k(K9,1),BV,30,15,[71,77,84,45,48,48,58,48,48]);return e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&VV,t[5]=t[5]+(e/60|0)%10&VV,t[7]=t[7]+(e%60/10|0)&VV,t[8]=t[8]+e%10&VV,aF(t,0,t.length)}function k4e(e){var t,n,r,i,a;if(e==null)return eV;for(a=new Zj(QB,`[`,`]`),n=e,r=0,i=n.length;r<i;++r)t=n[r],a.a?Qy(a.a,a.b):a.a=new _x(a.d),Xy(a.a,``+QC(t));return a.a?a.e.length==0?a.a.a:a.a.a+(``+a.e):a.c}function A4e(e,t){var n,i,a=JB;for(i=new E(cN(t));i.a<i.c.c.length;)n=P(z(i),217),n.f&&!e.c[n.c]&&(e.c[n.c]=!0,a=r.Math.min(a,A4e(e,yP(n,t))));return e.i[t.d]=e.j,e.g[t.d]=r.Math.min(a,e.j++),e.g[t.d]}function j4e(e,t){var n,r,i;for(i=P(P(DO(e.r,t),22),83).Jc();i.Ob();)r=P(i.Pb(),115),r.e.b=(n=r.b,n.nf((LB(),Y6))?n.$f()==(wB(),m5)?-n.Kf().b-O(N(n.mf(Y6))):O(N(n.mf(Y6))):n.$f()==(wB(),m5)?-n.Kf().b:0)}function M4e(e){var t=e.a,n=e.b,r,i=e.c,a;r=new A(n.e.a+n.f.a/2,n.e.b+n.f.b/2),a=new A(i.e.a+i.f.a/2,i.e.b+i.f.b/2),iO(t,r,t.a,t.a.a),iO(t,a,t.c.b,t.c),V1e(r,P(LF(t,1),8),e.b.f),V1e(a,P(LF(t,t.b-2),8),e.c.f)}function iR(e){var t,n=!1;if(M(e,210))return n=!0,P(e,210).a;if(!n&&M(e,265)&&(t=P(e,265).a%1==0,t))return n=!0,G(rfe(P(e,265).a));throw D(new _g(`Id must be a string or an integer: '`+e+`'.`))}function N4e(e,t){var n,r,i,a=null,o,s;for(i=new CCe((!e.a&&(e.a=new nh(e)),e.a));m3e(i);)if(n=P(jR(i),57),r=(o=n.Ah(),s=(Xz(o),o.o),!s||!n.Uh(s)?null:x_e(lM(s),n.Jh(s))),r!=null&&CS(r,t)){a=n;break}return a}function P4e(e,t){var n;this.e=(Kw(e),hqe(e)),this.c=(Kw(t),hqe(t)),yme(this.e.Pd().dc()==this.c.Pd().dc()),this.d=bGe(this.e),this.b=bGe(this.c),n=CC(ZJ,[X,$B],[5,1],5,[this.e.Pd().gc(),this.c.Pd().gc()],2),this.a=n,ORe(this)}function F4e(e,t,n){var r,i,a,o,s;if(qA(n,`occurrences`),n==0)return s=P(xN(GT(e.a),t),18),s?s.gc():0;if(o=P(xN(GT(e.a),t),18),!o)return 0;if(a=o.gc(),n>=a)o.$b();else for(i=o.Jc(),r=0;r<n;r++)i.Pb(),i.Qb();return a}function I4e(e,t,n){var r,i,a,o;return qA(n,`oldCount`),qA(0,`newCount`),r=P(xN(GT(e.a),t),18),(r?r.gc():0)==n?(qA(0,`count`),i=(a=P(xN(GT(e.a),t),18),a?a.gc():0),o=-i,o>0?toe():o<0&&F4e(e,t,-o),!0):!1}function aR(e){var t,n,r,i,a,o,s=0;if(e.b==0){for(o=cYe(e,!0),t=0,r=o,i=0,a=r.length;i<a;++i)n=r[i],n>0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}else s=goe($ze(MT(AT(Sw(e.a),new Le),new Be)));return s>0?s+e.n.d+e.n.a:0}function oR(e){var t,n,r,i,a,o,s=0;if(e.b==0)s=goe($ze(MT(AT(Sw(e.a),new Re),new ze)));else{for(o=lYe(e,!0),t=0,r=o,i=0,a=r.length;i<a;++i)n=r[i],n>0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}return s>0?s+e.n.b+e.n.c:0}function L4e(e){var t,n;if(e.c.length!=2)throw D(new cg(`Order only allowed for two paths.`));t=(oD(0,e.c.length),P(e.c[0],17)),n=(oD(1,e.c.length),P(e.c[1],17)),t.d.i!=n.c.i&&(e.c.length=0,ph(e.c,n),ph(e.c,t))}function R4e(e,t,n){var r;for(Cb(n,t.g,t.f),xb(n,t.i,t.j),r=0;r<(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i;r++)R4e(e,P(H((!t.a&&(t.a=new F(p7,t,10,11)),t.a),r),26),P(H((!n.a&&(n.a=new F(p7,n,10,11)),n.a),r),26))}function z4e(e,t){var n,i,a,o=P(CT(e.b,t),127);for(n=o.a,a=P(P(DO(e.r,t),22),83).Jc();a.Ob();)i=P(a.Pb(),115),i.c&&(n.a=r.Math.max(n.a,yxe(i.c)));if(n.a>0)switch(t.g){case 2:o.n.c=e.s;break;case 4:o.n.b=e.s}}function B4e(e,t){var n=P(K(t,(Mz(),iX)),15).a-P(K(e,iX),15).a,r,i;return n==0?(r=TS(qb(P(K(e,(oj(),cX)),8)),P(K(e,lX),8)),i=TS(qb(P(K(t,cX),8)),P(K(t,lX),8)),RN(r.a*r.b,i.a*i.b)):n}function V4e(e,t){var n=P(K(t,(Lz(),C4)),15).a-P(K(e,C4),15).a,r,i;return n==0?(r=TS(qb(P(K(e,(CB(),$2)),8)),P(K(e,e4),8)),i=TS(qb(P(K(t,$2),8)),P(K(t,e4),8)),RN(r.a*r.b,i.a*i.b)):n}function H4e(e){var t,n=new Og;return n.a+=`e_`,t=YBe(e),t!=null&&(n.a+=``+t),e.c&&e.d&&(Qy((n.a+=` `,n),CI(e.c)),Qy(Zy((n.a+=`[`,n),e.c.i),`]`),Qy((n.a+=Nft,n),CI(e.d)),Qy(Zy((n.a+=`[`,n),e.d.i),`]`)),n.a}function U4e(e){switch(e.g){case 0:return new tf;case 1:return new nf;case 2:return new rf;case 3:return new af;default:throw D(new sg(`No implementation is available for the layout phase `+(e.f==null?``+e.g:e.f)))}}function W4e(e,t,n,i,a){var o=0;switch(a.g){case 1:o=r.Math.max(0,t.b+e.b-(n.b+i));break;case 3:o=r.Math.max(0,-e.b-i);break;case 2:o=r.Math.max(0,-e.a-i);break;case 4:o=r.Math.max(0,t.a+e.a-(n.a+i))}return o}function G4e(e,t,n){var r,i,a,o,s;if(n)for(i=n.a.length,r=new YC(i),s=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);s.Ob();)o=P(s.Pb(),15),a=jD(n,o.a),i_t in a.a||wq in a.a?mtt(e,a,t):Ylt(e,a,t),mme(P(Zw(e.c,nF(a)),85))}function K4e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=LI(e),t&&(rv(),t.jk()==_vt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function q4e(e,t){var n,r,i,a;if(NB(e),e.c!=0||e.a!=123)throw D(new xg(UB((Fb(),j_t))));if(a=t==112,r=e.d,n=Lx(e.i,125,r),n<0)throw D(new xg(UB((Fb(),M_t))));return i=dE(e.i,r,n),e.d=n+1,uFe(i,a,(e.e&512)==512)}function J4e(e){var t,n,r,i,a,o,s=Ix(e.c.length);for(i=new E(e);i.a<i.c.c.length;){for(r=P(z(i),9),o=new Dh,a=fP(r),n=new XC(dx(a.a.Jc(),new f));CR(n);)t=P(CO(n),17),t.c.i==t.d.i||Tw(o,t.d.i);ph(s.c,o)}return s}function Y4e(e,t){var n,r,i;if(!t)$A(e,null),MA(e,null);else if(t.i&4)for(r=`[]`,n=t.c;;n=n.c){if(!(n.i&4)){i=Qae(($x(n),n.o+r)),$A(e,i),MA(e,i);break}r+=`[]`}else i=Qae(($x(t),t.o)),$A(e,i),MA(e,i);e.fl(t)}function sR(e,t,n,r,i){var a,o,s,c=Qx(e,P(i,57));return j(c)===j(i)?i:(s=P(e.g[n],75),a=qD(t,c),rx(e,n,oL(e,n,a)),gb(e.e)&&(o=oE(e,9,a.Jk(),i,c,r,!1),XQe(o,new Gk(e.e,9,e.c,s,a,r,!1)),kk(o)),c)}function X4e(e,t){var n,r,i;try{return i=kke(e.a,t),i}catch(i){if(i=hM(i),M(i,32)){try{if(r=Ez(t,LV,JB),n=t_(e.a),r>=0&&r<n.length)return n[r]}catch(e){if(e=hM(e),!M(e,131))throw D(e)}return null}else throw D(i)}}function cR(e,t){var n,r,i=uB((HL(),p9),e.Ah(),t);if(i)return rv(),P(i,69).vk()||(i=cD(wk(p9,i))),r=(n=e.Fh(i),P(n>=0?e.Ih(n,!0,!0):mR(e,i,!0),163)),P(r,219).Ul(t);throw D(new sg(iq+t.ve()+oq))}function Z4e(){ele();var e;return YBt?P(kR(($_(),V7),xJ),2e3):(cb(tY,new vu),Mst(),e=P(M(vE(($_(),V7),xJ),548)?vE(V7,xJ):new pTe,548),YBt=!0,Aut(e),Vut(e),ST(($ce(),xBt),e,new Pl),LE(V7,xJ,e),e)}function Q4e(e,t){var n,r,i,a;e.j=-1,gb(e.e)?(n=e.i,a=e.i!=0,AO(e,t),r=new Gk(e.e,3,e.c,null,t,n,a),i=t.xl(e.e,e.c,null),i=ZQe(e,t,i),i?(i.lj(r),i.mj()):Rj(e.e,r)):(AO(e,t),i=t.xl(e.e,e.c,null),i&&i.mj())}function lR(e,t){var n,r,i=0;if(r=t[0],r>=e.length)return-1;for(n=(sD(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(sD(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function $4e(e,t,n){var r,i,a,o=e.c,s=e.d;a=PM(U(k(o6,1),X,8,0,[o.i.n,o.n,o.a])).b,i=(a+PM(U(k(o6,1),X,8,0,[s.i.n,s.n,s.a])).b)/2,r=null,r=o.j==(wB(),p5)?new A(t+o.i.c.c.a+n,i):new A(t-n,i),Rx(e.a,0,r)}function uR(e){var t=null,n,r,i;for(r=xw(IA(U(k(QJ,1),$B,20,0,[(!e.b&&(e.b=new xS(r7,e,4,7)),e.b),(!e.c&&(e.c=new xS(r7,e,5,8)),e.c)])));CR(r);)if(n=P(CO(r),84),i=cL(n),!t)t=i;else if(t!=i)return!1;return!0}function dR(e,t,n){var r;if(++e.j,t>=e.i)throw D(new ig(Iq+t+Lq+e.i));if(n>=e.i)throw D(new ig(Rq+n+Lq+e.i));return r=e.g[n],t!=n&&(t<n?Fz(e.g,t,e.g,t+1,n-t):Fz(e.g,n+1,e.g,n,t-n),Jw(e.g,t,r),e.Ni(t,r,n),e.Li()),r}function fR(e,t,n){var r=P(e.c.xc(t),18);if(!r){if(r=e.ic(t),r.Ec(n))return++e.d,e.c.yc(t,r),!0;throw D(new CNe(`New Collection violated the Collection spec`))}else if(r.Ec(n))return++e.d,!0;else return!1}function pR(e){var t,n,r;return e<0?0:e==0?32:(r=-(e>>16),t=r>>16&16,n=16-t,e>>=t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-hH,t=r>>16&4,n+=t,e<<=t,r=e-mV,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function e3e(e,t){var n,r,i=new ah;for(r=TF(t.a,0);r.b!=r.d.c;)n=P(RD(r),65),n.c.g==e.g&&j(K(n.b,(Lz(),T4)))!==j(K(n.c,T4))&&!pO(new jC(null,new nD(i,16)),new bne(n))&&ph(i.c,n);return Vb(i,new xo),i}function t3e(e,t,n){var r,i,a,o;return M(t,155)&&M(n,155)?(a=P(t,155),o=P(n,155),e.a[a.a][o.a]+e.a[o.a][a.a]):M(t,251)&&M(n,251)&&(r=P(t,251),i=P(n,251),r.a==i.a)?P(K(i.a,(Mz(),iX)),15).a:0}function n3e(e,t){var n,i,a,o,s,c,l,u=O(N(K(t,(PB(),N0))));for(l=e[0].n.a+e[0].o.a+e[0].d.c+u,c=1;c<e.length;c++)i=e[c].n,a=e[c].o,n=e[c].d,o=i.a-n.b-l,o<0&&(i.a-=o),s=t.f,s.a=r.Math.max(s.a,i.a+a.a),l=i.a+a.a+n.c+u}function r3e(e,t){var n,r=P(P(Zw(e.g,t.a),49).a,68),i=P(P(Zw(e.g,t.b),49).a,68),a=r.b,o=i.b,s;return n=Bat(a,o),n>=0?n:(s=rT(TS(new A(o.c+o.b/2,o.d+o.a/2),new A(a.c+a.b/2,a.d+a.a/2))),-(Znt(a,o)-1)*s)}function i3e(e,t,n){var r;P_(new jC(null,(!n.a&&(n.a=new F(a7,n,6,6)),new nD(n.a,16))),new nde(e,t)),P_(new jC(null,(!n.n&&(n.n=new F(f7,n,1,7)),new nD(n.n,16))),new rde(e,t)),r=P(J(n,(LB(),F6)),78),r&&Vze(r,e,t)}function mR(e,t,n){var r,i,a=uB((HL(),p9),e.Ah(),t);if(a)return rv(),P(a,69).vk()||(a=cD(wk(p9,a))),i=(r=e.Fh(a),P(r>=0?e.Ih(r,!0,!0):mR(e,a,!0),163)),P(i,219).Ql(t,n);throw D(new sg(iq+t.ve()+oq))}function a3e(e,t,n,r){var i=e.d[t],a,o,s,c;if(i){if(a=i.g,c=i.i,r!=null){for(s=0;s<c;++s)if(o=P(a[s],136),o.yi()==n&&DN(r,o.jd()))return o}else for(s=0;s<c;++s)if(o=P(a[s],136),j(o.jd())===j(r))return o}return null}function o3e(e,t){var n,r=(!t.s&&(t.s=new F(N7,t,21,17)),t.s),i,a=null,o;for(i=0,o=r.i;i<o;++i)switch(n=P(H(r,i),179),hT(wk(e,n))){case 4:case 5:case 6:!a&&(a=new ah),ph(a.c,n);break}return a||(KT(),KT(),EY)}function hR(e,t){var n;if(t<0)throw D(new rg(`Negative exponent`));if(t==0)return bY;if(t==1||UGe(e,bY)||UGe(e,SY))return e;if(!a6e(e,0)){for(n=1;!a6e(e,n);)++n;return HD(yKe(n*t),hR(vNe(e,n),t))}return k$e(e,t)}function s3e(e,t){var n,r,i;if(j(e)===j(t))return!0;if(e==null||t==null||e.length!=t.length)return!1;for(n=0;n<e.length;++n)if(r=e[n],i=t[n],!(j(r)===j(i)||r!=null&&DN(r,i)))return!1;return!0}function c3e(e){Bce();var t,n,r;for(this.b=xCt,this.c=(WN(),v8),this.f=(zce(),bCt),this.a=e,Toe(this,new _t),WR(this),r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),82),n.d||(t=new pF(U(k(xX,1),$B,82,0,[n])),$b(e.a,t))}function l3e(e){KDe();var t,n;for(this.b=Txt,this.c=Dxt,this.g=(Lce(),wxt),this.d=(WN(),v8),this.a=e,q5e(this),n=new E(e.b);n.a<n.c.c.length;)t=P(z(n),60),!t.a&&Lme(hRe(new bie,U(k(FY,1),$B,60,0,[t])),e),t.e=new aE(t.d)}function u3e(e,t,n){var r,i,a,o,s,c;if(!e||e.c.length==0)return null;for(a=new oDe(t,!n),i=new E(e);i.a<i.c.c.length;)r=P(z(i),70),T0e(a,(V_(),new th(r)));return o=a.i,o.a=(c=a.n,a.e.b+c.d+c.a),o.b=(s=a.n,a.e.a+s.b+s.c),a}function d3e(e){var t,n,r,i,a,o,s=hD(e.a);for(sfe(s,new _n),n=null,i=s,a=0,o=i.length;a<o&&(r=i[a],r.k==(MR(),RX));++a)t=P(K(r,(Y(),s$)),64),!(t!=(wB(),N5)&&t!=p5)&&(n&&P(K(n,h$),16).Ec(r),n=r)}function f3e(e,t,n){var r,i,a,o,s,c=(oD(t,e.c.length),P(e.c[t],340)),l;MO(e,t),c.b/2>=n&&(r=t,l=(c.c+c.a)/2,o=l-n,c.c<=l-n&&(i=new KS(c.c,o),BC(e,r++,i)),s=l+n,s<=c.a&&(a=new KS(s,c.a),UE(r,e.c.length),Ev(e.c,r,a)))}function p3e(e,t,n){var r,i,a,o,s,c;if(!t.dc()){for(i=new E_,c=t.Jc();c.Ob();)for(s=P(c.Pb(),40),ST(e.a,G(s.g),G(n)),o=(r=TF(new Km(s).a.d,0),new qm(r));l_(o.a);)a=P(RD(o.a),65).c,iO(i,a,i.c.b,i.c);p3e(e,i,n+1)}}function m3e(e){var t;if(!e.c&&e.g==null)e.d=e._i(e.f),XO(e,e.d),t=e.d;else if(e.g==null)return!0;else if(e.i==0)return!1;else t=P(e.g[e.i-1],50);return t==e.b&&null.Tm>=null.Sm()?(jR(e),m3e(e)):t.Ob()}function h3e(e){if(this.a=e,e.c.i.k==(MR(),RX))this.c=e.c,this.d=P(K(e.c.i,(Y(),s$)),64);else if(e.d.i.k==RX)this.c=e.d,this.d=P(K(e.d.i,(Y(),s$)),64);else throw D(new sg(`Edge `+e+` is not an external edge.`))}function g3e(e,t){var n,r,i=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,3,i,e.b)),t?t!=e&&(hj(e,t.zb),kA(e,t.d),n=(r=t.c,r??t.zb),ZA(e,n==null||CS(n,t.zb)?null:n)):(hj(e,null),kA(e,0),ZA(e,null))}function _3e(e){var t=(!Zyt&&(Zyt=mlt()),Zyt);return`"`+e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(e){return MDe(e,t)})+`"`}function v3e(e,t,n,i,a,o){var s,c,l,u,d;if(a!=0)for(j(e)===j(n)&&(e=e.slice(t,t+a),t=0),l=n,c=t,u=t+a;c<u;)s=r.Math.min(c+1e4,u),a=s-c,d=e.slice(c,s),d.splice(0,0,i,o?a:0),Array.prototype.splice.apply(l,d),c=s,i+=a}function y3e(e){var t,n,r,i=e.e.c.length,a,o;for(r=V(eY,aU,16,i,0,1),o=new E(e.e);o.a<o.c.c.length;)a=P(z(o),155),r[a.a]=new E_;for(n=new E(e.c);n.a<n.c.c.length;)t=P(z(n),291),r[t.c.a].Ec(t),r[t.d.a].Ec(t);return r}function b3e(e,t){var n=P(Uj(e.a,4),129),r,i,a,o=n==null?0:n.length;if(t>=o)throw D(new SS(t,o));return i=n[t],o==1?r=null:(r=V(eBt,Qq,415,o-1,0,1),Fz(n,0,r,0,t),a=o-t-1,a>0&&Fz(n,t+1,r,t,a)),MF(e,r),C2e(e,t,i),i}function x3e(e){var t,n;if(e.f){for(;e.n<e.o;){if(t=P(e.j?e.j.Yi(e.n):e.k.Xb(e.n),75),n=t.Jk(),M(n,103)&&(P(n,19).Bb&sq)!=0&&(!e.e||n.nk()!=$5||n.Jj()!=0)&&t.kd()!=null)return!0;++e.n}return!1}else return e.n<e.o}function gR(){gR=C,_9=P(H(R((ese(),x9).qb),6),38),g9=P(H(R(x9.qb),3),38),aVt=P(H(R(x9.qb),4),38),oVt=P(H(R(x9.qb),5),19),$I(_9),$I(g9),$I(aVt),$I(oVt),sVt=new dg(U(k(N7,1),uJ,179,0,[_9,g9]))}function S3e(e,t){var n;this.d=new Nh,this.b=t,this.e=new mb(t.Jf()),n=e.u.Gc((rR(),l5)),e.u.Gc(c5)?e.F?this.a=n&&!t._f():this.a=!0:e.u.Gc(u5)&&n?this.a=!(t.Sf().Jc().Ob()||t.Uf().Jc().Ob()):this.a=!1}function C3e(e,t){var n=e.o.a,r,i,a;for(a=P(P(DO(e.r,t),22),83).Jc();a.Ob();)i=P(a.Pb(),115),i.e.a=(r=i.b,r.nf((LB(),Y6))?r.$f()==(wB(),N5)?-r.Kf().a-O(N(r.mf(Y6))):n+O(N(r.mf(Y6))):r.$f()==(wB(),N5)?-r.Kf().a:n)}function w3e(e){var t,n,r=e.a.c.length,i,a,o,s;if(r>0)for(o=e.c.d,s=e.d.d,i=nx(TS(new A(s.a,s.b),o),1/(r+1)),a=new A(o.a,o.b),n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),251),t.d.a=a.a+i.a,t.d.b=a.b+i.b,a.a+=i.a,a.b+=i.b}function T3e(e,t){var n=P(K(e,(PB(),T1)),86),r,i,a=P(J(t,f0),64);i=P(K(e,l0),102),i!=(iL(),i5)&&i!=a5?a==(wB(),M5)&&(a=Drt(t,n),a==M5&&(a=jP(n))):(r=Nat(t),a=r>0?jP(n):GN(jP(n))),IF(t,f0,a)}function E3e(e,t){var n,r;if(e.c.length!=0){if(e.c.length==2)Gz((oD(0,e.c.length),P(e.c[0],9)),(AI(),I8)),Gz((oD(1,e.c.length),P(e.c[1],9)),L8);else for(r=new E(e);r.a<r.c.c.length;)n=P(z(r),9),Gz(n,t);e.c.length=0}}function D3e(e,t){var n,r,i,a,o=e.j;for(t.a!=t.b&&Vb(o,new Hi),i=o.c.length/2|0,r=0;r<i;r++)a=(oD(r,o.c.length),P(o.c[r],113)),a.c&&tR(a.d,t.a);for(n=i;n<o.c.length;n++)a=(oD(n,o.c.length),P(o.c[n],113)),a.c&&tR(a.d,t.b)}function _R(e,t,n,r){var i=0;switch(P(K(t,(PB(),B1)),165).g){case 2:i=2*-n+e.a,++e.a;break;case 1:i=-n;break;case 3:i=n;break;case 4:i=2*n+e.b,++e.b}return Kx(t,(Y(),w$))&&(i+=P(K(t,f1),15).a*r+P(K(t,w$),15).a),i}function O3e(e,t,n){var r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p],a;return r.a!=null&&i.a!=null?(a=iCe(r.a,i.a),a<0?_z(e,t,n):a>0&&_z(e,n,t),a):r.a==null?i.a==null?0:(_z(e,n,t),1):(_z(e,t,n),-1)}function k3e(e){GE();var t,n=new rO,r,i,a,o,s;for(i=new E(e.e.b);i.a<i.c.c.length;)for(r=P(z(i),25),o=new E(r.a);o.a<o.c.c.length;)a=P(z(o),9),s=e.g[a.p],t=P(zk(n,s),16),t||(t=new ah,yF(n,s,t)),t.Ec(a);return n}function A3e(e,t){var n,r,i=t.b.b,a,o;for(e.a=V(eY,aU,16,i,0,1),e.b=V(J9,qH,30,i,16,1),o=TF(t.b,0);o.b!=o.d.c;)a=P(RD(o),40),e.a[a.g]=new E_;for(r=TF(t.a,0);r.b!=r.d.c;)n=P(RD(r),65),e.a[n.b.g].Ec(n),e.a[n.c.g].Ec(n)}function j3e(e,t){var n,r,i,a;e.Nj()?(n=e.Cj(),a=e.Oj(),++e.j,e.oj(n,e.Xi(n,t)),r=e.Gj(3,null,t,n,a),e.Kj()?(i=e.Lj(t,null),i?(i.lj(r),i.mj()):e.Hj(r)):e.Hj(r)):(Awe(e,t),e.Kj()&&(i=e.Lj(t,null),i&&i.mj()))}function M3e(e,t,n){var r,i,a;e.Nj()?(a=e.Oj(),TN(e,t,n),r=e.Gj(3,null,n,t,a),e.Kj()?(i=e.Lj(n,null),e.Rj()&&(i=e.Sj(n,i)),i?(i.lj(r),i.mj()):e.Hj(r)):e.Hj(r)):(TN(e,t,n),e.Kj()&&(i=e.Lj(n,null),i&&i.mj()))}function vR(e,t){var n,r,i,a,o=$R(e.e.Ah(),t);for(i=new tl,n=P(e.g,122),a=e.i;--a>=0;)r=n[a],o.$l(r.Jk())&&XO(i,r);!Tlt(e,i)&&gb(e.e)&&Th(e,t.Hk()?oE(e,6,t,(KT(),EY),null,-1,!1):oE(e,t.rk()?2:1,t,null,null,-1,!1))}function N3e(e,t){var n,r,i,a,o;return e.a==(EL(),EQ)?!0:(a=t.a.c,n=t.a.c+t.a.b,!(t.j&&(r=t.A,o=r.c.c.a-r.o.a/2,i=a-(r.n.a+r.o.a),i>o)||t.q&&(r=t.C,o=r.c.c.a-r.o.a/2,i=r.n.a-n,i>o)))}function P3e(e,t,n){var r=0,i,a,o,s,c=n;for(t||(r=n*(e.c.length-1),c*=-1),a=new E(e);a.a<a.c.c.length;){for(i=P(z(a),9),W(i,(PB(),e1),(UF(),l6)),i.o.a=r,s=NL(i,(wB(),p5)).Jc();s.Ob();)o=P(s.Pb(),12),o.n.a=r;r+=c}}function F3e(e){var t;return e.Db&64?DR(e):(t=new gx(DR(e)),t.a+=` (startX: `,n_(t,e.j),t.a+=`, startY: `,n_(t,e.k),t.a+=`, endX: `,n_(t,e.b),t.a+=`, endY: `,n_(t,e.c),t.a+=`, identifier: `,Yy(t,e.d),t.a+=`)`,t.a)}function I3e(e){var t;return e.Db&64?wN(e):(t=new gx(wN(e)),t.a+=` (ordered: `,r_(t,(e.Bb&256)!=0),t.a+=`, unique: `,r_(t,(e.Bb&512)!=0),t.a+=`, lowerBound: `,ose(t,e.s),t.a+=`, upperBound: `,ose(t,e.t),t.a+=`)`,t.a)}function L3e(e,t,n,r,i,a,o,s){var c;return M(e.Cb,88)&&$L(bO(P(e.Cb,88)),4),hj(e,n),e.f=r,ZN(e,i),QN(e,a),YN(e,o),XN(e,!1),MN(e,!0),tP(e,s),jN(e,!0),AA(e,0),e.b=0,jA(e,1),c=pL(e,t,null),c&&c.mj(),nP(e,!1),e}function R3e(e,t){var n=P(vE(e.a,t),511),i,a,o;return n||(i=new mO(t),a=(hO(),jY?null:i.c),o=dE(a,0,r.Math.max(0,fx(a,hL(46)))),Z_e(i,R3e(e,o)),(jY?null:i.c).length==0&&cge(i,new be),LE(e.a,jY?null:i.c,i),i)}function z3e(e,t){var n,r;return Kx(e,(Y(),K$))?Kx(t,K$)?(n=N(K(e,K$)),r=N(K(t,K$)),n!=null&&r!=null?RN((dT(n),n),(dT(r),r)):n==null?r==null?0:1:-1):-1:1}function B3e(){this.a=new el,this.n=new eI,this.p=new eI,this.c=new oh,this.f=new eI,this.o=new eI,this.q=new oh,this.d=new oh,this.g=new oh,this.k=new oh,this.e=new oh,this.i=new oh,this.j=new oh,this.r=new oh,this.b=new oh}function yR(e,t,n){var r,i,a,o,s=e.nl(n),c;return s==n?n:(o=e.g[t],c=s,rx(e,t,e.Xi(t,c)),a=o,e.Pi(t,c,a),e.$k()&&(r=n,i=e.Mj(r,null),!P(s,52).Mh()&&(i=e.Lj(c,i)),i&&i.mj()),gb(e.e)&&Th(e,e.Gj(9,n,s,t,!1)),s)}function V3e(e,t){var n,r,i,a;for(r=new E(e.a.a);r.a<r.c.c.length;)n=P(z(r),194),n.g=!0;for(a=new E(e.a.b);a.a<a.c.c.length;)i=P(z(a),82),i.k=hg(eS(e.e.Kb(new My(i,t)))),i.d.g=i.d.g&hg(eS(e.e.Kb(new My(i,t))));return e}function H3e(e,t,n){var r,i,a,o,s;if(!e.d[n.p]){for(i=new XC(dx(fP(n).a.Jc(),new f));CR(i);){for(r=P(CO(i),17),s=r.d.i,o=new XC(dx(uP(s).a.Jc(),new f));CR(o);)a=P(CO(o),17),a.c.i==t&&(e.a[a.p]=!0);H3e(e,t,s)}e.d[n.p]=!0}}function U3e(e,t){var n,r=bWe(e.Db&254),i,a,o,s,c;if(r==1)e.Eb=null;else if(a=gA(e.Eb),r==2)i=mI(e,t),e.Eb=a[+(i==0)];else{for(o=V(ZJ,$B,1,r-1,5,1),n=2,s=0,c=0;n<=128;n<<=1)n==t?++s:(e.Db&n)!=0&&(o[c++]=a[s++]);e.Eb=o}e.Db&=~t}function W3e(e){var t=0;switch(e){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=$q}return t}function G3e(e,t,n,r,i){var a,o,s,c;if(j(e)===j(t)&&r==i){Nnt(e,r,n);return}for(s=0;s<r;s++){for(o=0,a=e[s],c=0;c<i;c++)o=sP(sP(cP(uD(a,xH),uD(t[c],xH)),uD(n[s+c],xH)),uD(RC(o),xH)),n[s+c]=RC(o),o=tw(o,32);n[s+i]=RC(o)}}function K3e(e){var t,n=(t=P(t_(P5),10),new FS(t,P(gS(t,t.length),10),0)),r,i,a=P(K(e,(Y(),O$)),9);if(a)for(i=new E(a.j);i.a<i.c.c.length;)r=P(z(i),12),j(K(r,T$))===j(e)&&Tx(new IO(r.b))&&ij(n,r.j);return n}function q3e(e,t){var n,r,i;for(r=new E(e.i.d);r.a<r.c.c.length;)n=P(z(r),70),W(n,(PB(),D1),null);switch(t.g){case 2:case 4:i=e.a,e.c.d.n.b<i.d.n.b&&(i=e.c),cw(e,t,(oM(),OZ),i);break;case 1:case 3:cw(e,t,(oM(),TZ),null)}}function J3e(e,t){t.b!=0&&(isNaN(e.s)?e.s=O((Bx(t.b!=0),N(t.a.a.c))):e.s=r.Math.min(e.s,O((Bx(t.b!=0),N(t.a.a.c)))),isNaN(e.c)?e.c=O((Bx(t.b!=0),N(t.c.b.c))):e.c=r.Math.max(e.c,O((Bx(t.b!=0),N(t.c.b.c)))))}function bR(e){var t=null,n,r,i;for(r=xw(IA(U(k(QJ,1),$B,20,0,[(!e.b&&(e.b=new xS(r7,e,4,7)),e.b),(!e.c&&(e.c=new xS(r7,e,5,8)),e.c)])));CR(r);)if(n=P(CO(r),84),i=cL(n),!t)t=PE(i);else if(t!=PE(i))return!0;return!1}function xR(e,t){var n,r,i,a;e.Nj()?(n=e.i,a=e.Oj(),AO(e,t),r=e.Gj(3,null,t,n,a),e.Kj()?(i=e.Lj(t,null),e.Rj()&&(i=e.Sj(t,i)),i?(i.lj(r),i.mj()):e.Hj(r)):e.Hj(r)):(AO(e,t),e.Kj()&&(i=e.Lj(t,null),i&&i.mj()))}function Y3e(e,t){var n,r,i;if(!Ew(e.a,t.b))throw D(new cg(`Invalid hitboxes for scanline overlap calculation.`));for(i=!1,r=e.a.a.ec().Jc();r.Ob();)if(n=P(r.Pb(),68),HVe(t.b,n))hse(e.b.a,t.b,n),i=!0;else if(i)break}function X3e(e){var t;if(!e.a)throw D(new cg(`IDataType class expected for layout option `+e.f));if(t=Lje(e.a),t==null)throw D(new cg(`Couldn't create new instance of property '`+e.f+`'. `+tgt+($x(w7),w7.k)+ngt));return P(t,414)}function Z3e(e){var t,n,r,i,a=e.Mh();return a&&a.Sh()&&(i=bN(e,a),i!=a)?(n=e.Ch(),r=(t=e.Ch(),t>=0?e.xh(null):e.Mh().Qh(e,-1-t,null,null)),e.yh(P(i,52),n),r&&r.mj(),e.sh()&&e.th()&&n>-1&&Rj(e,new fw(e,9,n,a,i)),i):a}function Q3e(e,t){var n,r,i,a=e.b.Ae(t),o;for(r=(n=e.a.get(a),n??V(ZJ,$B,1,0,5,1)),o=0;o<r.length;o++)if(i=r[o],e.b.ze(t,i.jd()))return r.length==1?(r.length=0,Lge(e.a,a)):r.splice(o,1),--e.c,++e.b.g,i.kd();return null}function $3e(e){var t,n,r,i,a,o=0,s,c;for(a=e.f.e,r=0;r<a.c.length;++r)for(s=(oD(r,a.c.length),P(a.c[r],155)),i=r+1;i<a.c.length;++i)c=(oD(i,a.c.length),P(a.c[i],155)),n=QO(s.d,c.d),t=n-e.a[s.a][c.a],o+=e.i[s.a][c.a]*t*t;return o}function e6e(e,t){var n;if(!Kx(t,(PB(),B1))&&(n=iZe(P(K(t,Fwt),367),P(K(e,B1),165)),W(t,Fwt,n),!CR(new XC(dx(dP(t).a.Jc(),new f)))))switch(n.g){case 1:W(t,B1,(bP(),q$));break;case 2:W(t,B1,(bP(),Y$))}}function t6e(e,t){var n;jet(e),e.a=(n=new Cg,P_(new jC(null,new nD(t.d,16)),new Lte(n)),n),rtt(e,P(K(t.b,(PB(),j1)),348)),YJe(e),b6e(e),cZe(e),XJe(e),cot(e,t),P_(Bk(new jC(null,hAe(fwe(e.b).a)),new Ti),new Ei),t.a=!1,e.a=null}function n6e(){n6e=C,GMt=new lb(Xmt,(mx(),!1)),KMt=new lb(Zmt,7),G(0),QMt=new lb(Qmt,G(0)),YMt=new lb($mt,G(-1)),eNt=(ZM(),k4),$Mt=new lb(eht,eNt),JMt=(QM(),Z2),qMt=new lb(tht,JMt),ZMt=(kD(),A4),XMt=new lb(nht,ZMt)}function r6e(){g1e.call(this,gq,($g(),kzt)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function SR(){SR=C,Jzt=new Py(tpt,0),b7=new Py(`INSIDE_SELF_LOOPS`,1),x7=new Py(`MULTI_EDGES`,2),y7=new Py(`EDGE_LABELS`,3),qzt=new Py(`PORTS`,4),v7=new Py(`COMPOUND`,5),_7=new Py(`CLUSTERS`,6),Kzt=new Py(`DISCONNECTED`,7)}function i6e(e,t,n){var r,i,a;e.Nj()?(a=e.Oj(),++e.j,e.oj(t,e.Xi(t,n)),r=e.Gj(3,null,n,t,a),e.Kj()?(i=e.Lj(n,null),i?(i.lj(r),i.mj()):e.Hj(r)):e.Hj(r)):(++e.j,e.oj(t,e.Xi(t,n)),e.Kj()&&(i=e.Lj(n,null),i&&i.mj()))}function a6e(e,t){var n,r,i;if(t==0)return(e.a[0]&1)!=0;if(t<0)throw D(new rg(`Negative bit address`));if(i=t>>5,i>=e.d)return e.e<0;if(n=e.a[i],t=1<<(t&31),e.e<0){if(r=hBe(e),i<r)return!1;n=r==i?-n:~n}return(n&t)!=0}function o6e(e){var t,n,i,a=new ah,o=Bnt(e,a);if(t=P(K(e,(Y(),O$)),9),t)for(i=new E(t.j);i.a<i.c.c.length;)n=P(z(i),12),j(K(n,T$))===j(e)&&(o=r.Math.max(o,Bnt(n,a)));return a.c.length==0||W(e,S$,o),o==-1?null:a}function s6e(e,t,n,r){var i;P(n.b,68),P(n.b,68),P(r.b,68),P(r.b,68),i=TS(qb(P(n.b,68).c),P(r.b,68).c),aC(i,s4e(P(n.b,68),P(r.b,68),i)),P(r.b,68),P(r.b,68),P(r.b,68).c.a+i.a,P(r.b,68).c.b+i.b,P(r.b,68),sA(r.a,new kbe(e,t,r))}function c6e(e,t){var n,r,i,a=t.e,o,s,c;if(a){for(n=Z3e(a),r=P(e.g,679),o=0;o<e.i;++o)if(c=r[o],aI(c)==n&&(i=(!c.d&&(c.d=new ix(z7,c,1)),c.d),s=P(n.Jh(Ott(a,a.Cb,a.Db>>16)),16).bd(a),s<i.i))return c6e(e,P(H(i,s),87))}return t}function q(e,t,n){var r=XJ,i,a=r[e],o=a instanceof Array?a[0]:null;a&&!o?Q=a:(Q=(i=t&&t.prototype,!i&&(i=XJ[t]),XDe(i)),Q.Qm=n,!t&&(Q.Rm=ne),r[e]=Q);for(var s=3;s<arguments.length;++s)arguments[s].prototype=Q;o&&(Q.Pm=o)}function CR(e){for(var t;!P(Kw(e.a),50).Ob();){if(e.d=jHe(e),!e.d)return!1;if(e.a=P(e.d.Pb(),50),M(e.a,34)){if(t=P(e.a,34),e.a=t.a,!e.b&&(e.b=new Zb),LD(e.b,e.d),t.b)for(;!mg(t.b);)LD(e.b,P(PCe(t.b),50));e.d=t.d}}return!0}function l6e(e,t){var n,r,i=1,a;for(t.j=!0,a=null,r=new E(cN(t));r.a<r.c.c.length;)n=P(z(r),217),e.c[n.c]||(e.c[n.c]=!0,a=yP(n,t),n.f?i+=l6e(e,a):!a.j&&n.a==n.e.e-n.d.e&&(n.f=!0,Tw(e.p,n),i+=l6e(e,a)));return i}function u6e(e){var t,n,i;for(n=new E(e.a.a.b);n.a<n.c.c.length;)t=P(z(n),82),i=(dT(0),0),i>0&&(!(vb(e.a.c)&&t.n.d)&&!(yb(e.a.c)&&t.n.b)&&(t.g.d+=r.Math.max(0,i/2-.5)),!(vb(e.a.c)&&t.n.a)&&!(yb(e.a.c)&&t.n.c)&&(t.g.a-=i-1))}function d6e(e,t,n){var r,i,a=P(AC(t.e,0),17).c,o,s,c;r=a.i,i=r.k,c=P(AC(n.g,0),17).d,o=c.i,s=o.k,i==(MR(),BX)?W(e,(Y(),y$),P(K(r,y$),12)):W(e,(Y(),y$),a),s==BX?W(e,(Y(),b$),P(K(o,b$),12)):W(e,(Y(),b$),c)}function f6e(e,t){var n,r,i,a,o,s;for(a=new E(e.b);a.a<a.c.c.length;)for(i=P(z(a),25),s=new E(i.a);s.a<s.c.c.length;)for(o=P(z(s),9),o.k==(MR(),zX)&&Gz(o,t),r=new XC(dx(fP(o).a.Jc(),new f));CR(r);)n=P(CO(r),17),_Ve(n,t)}function p6e(e,t){var n,r,i;for(t.Tg(`Layer constraint preprocessing`,1),n=new ah,i=new bD(e.a,0);i.b<i.d.gc();)r=(Bx(i.b<i.d.gc()),P(i.d.Xb(i.c=i.b++),9)),mVe(r)&&(y$e(r),ph(n.c,r),nT(i));n.c.length==0||W(e,(Y(),u$),n),t.Ug()}function m6e(e){var t,n,r;this.c=e,r=P(K(e,(PB(),T1)),86),t=O(N(K(e,n1))),n=O(N(K(e,_At))),r==(WN(),g8)||r==_8||r==v8?this.b=t*n:this.b=1/(t*n),this.j=O(N(K(e,A0))),this.e=O(N(K(e,k0))),this.f=e.b.c.length}function h6e(e){var t,n;for(e.e=V(q9,JV,30,e.p.c.length,15,1),e.k=V(q9,JV,30,e.p.c.length,15,1),n=new E(e.p);n.a<n.c.c.length;)t=P(z(n),9),e.e[t.p]=UD(new XC(dx(uP(t).a.Jc(),new f))),e.k[t.p]=UD(new XC(dx(fP(t).a.Jc(),new f)))}function g6e(e){var t,n,r,i=0,a,o;for(e.q=new ah,t=new Dh,o=new E(e.p);o.a<o.c.c.length;){for(a=P(z(o),9),a.p=i,r=new XC(dx(fP(a).a.Jc(),new f));CR(r);)n=P(CO(r),17),Tw(t,n.d.i);t.a.Ac(a),$b(e.q,new EC(t)),t.a.$b(),++i}}function _6e(e,t){var n,r,i,a,o;return t&=63,n=e.h,r=(n&oH)!=0,r&&(n|=-1048576),t<22?(o=n>>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(o=r?aH:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(o=r?aH:0,a=r?iH:0,i=n>>t-44),Wb(i&iH,a&iH,o&aH)}function v6e(e,t){var n,r,i,a,o,s,c,l,u;if(e.a.f>0&&M(t,45)&&(e.a.Zj(),l=P(t,45),c=l.jd(),a=c==null?0:Cj(c),o=Age(e.a,a),n=e.a.d[o],n)){for(r=P(n.g,374),u=n.i,s=0;s<u;++s)if(i=r[s],i.yi()==a&&i.Fb(l))return v6e(e,l),!0}return!1}function y6e(e){var t=e.ni(xJ),n,r,i,a,o,s;if(t&&(s=tS(VP((!t.b&&(t.b=new Xx((VB(),o9),d9,t)),t.b),`settingDelegates`)),s!=null)){for(n=new ah,i=Iz(s,`\\w+`),a=0,o=i.length;a<o;++a)r=i[a],ph(n.c,r);return n}return KT(),KT(),EY}function b6e(e){var t,n,r,i;for(i=P(DO(e.a,(rL(),jZ)),16).Jc();i.Ob();)r=P(i.Pb(),107),n=(t=JC(r.k),t.Gc((wB(),m5))?t.Gc(p5)?t.Gc(j5)?t.Gc(N5)?null:tTt:rTt:nTt:eTt),Bw(e,r,n[0],(lj(),PZ),0),Bw(e,r,n[1],FZ,1),Bw(e,r,n[2],IZ,1)}function x6e(e,t){var n=ktt(t),r;u9e(e,t,n),g$e(e.a,P(K(lT(t.b),(Y(),j$)),234)),gnt(e),o$e(e,t),r=V(q9,JV,30,t.b.j.c.length,15,1),_B(e,t,(wB(),m5),r,n),_B(e,t,p5,r,n),_B(e,t,j5,r,n),_B(e,t,N5,r,n),e.a=null,e.c=null,e.b=null}function S6e(e,t,n){switch(t){case 7:!e.e&&(e.e=new xS(i7,e,7,4)),oB(e.e),!e.e&&(e.e=new xS(i7,e,7,4)),zw(e.e,P(n,18));return;case 8:!e.d&&(e.d=new xS(i7,e,8,5)),oB(e.d),!e.d&&(e.d=new xS(i7,e,8,5)),zw(e.d,P(n,18));return}fQe(e,t,n)}function C6e(e,t){var n,r,i,a,o;if(j(t)===j(e))return!0;if(!M(t,16)||(o=P(t,16),e.gc()!=o.gc()))return!1;for(a=o.Jc(),r=e.Jc();r.Ob();)if(n=r.Pb(),i=a.Pb(),!(j(n)===j(i)||n!=null&&DN(n,i)))return!1;return!0}function w6e(e,t){var n,r,i,a=P(aO(Bk(Bk(new jC(null,new nD(t.b,16)),new Dn),new On),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16);for(a.Ic(new kn),n=0,i=a.Jc();i.Ob();)r=P(i.Pb(),12),r.p==-1&&j6e(e,r,n++)}function T6e(e,t){var n,r,i,a,o;for(t.Tg(`Port side processing`,1),o=new E(e.a);o.a<o.c.c.length;)i=P(z(o),9),oit(i);for(r=new E(e.b);r.a<r.c.c.length;)for(n=P(z(r),25),a=new E(n.a);a.a<a.c.c.length;)i=P(z(a),9),oit(i);t.Ug()}function E6e(e){switch(e.g){case 0:return new lf;case 1:return new Jd;case 2:return new cf;case 3:return new Gue;case 4:return new PSe;default:throw D(new sg(`No implementation is available for the node placer `+(e.f==null?``+e.g:e.f)))}}function D6e(e,t){var n,r=new rO,i,a,o=oO(new dg(e.g)),s;for(a=o.a.ec().Jc();a.Ob();){if(i=P(a.Pb(),9),!i){t.ah(`There are no classes in a balanced layout.`);break}s=e.j[i.p],n=P(zk(r,s),16),n||(n=new ah,yF(r,s,n)),n.Ec(i)}return r}function O6e(e,t){var n,r=new E_,i,a,o;iO(r,t,r.c.b,r.c);do for(n=(Bx(r.b!=0),P(aA(r,r.a.a),40)),e.b[n.g]=1,a=TF(n.d,0);a.b!=a.d.c;)i=P(RD(a),65),o=i.c,e.b[o.g]==1?pC(e.a,i):e.b[o.g]==2?e.b[o.g]=1:iO(r,o,r.c.b,r.c);while(r.b!=0)}function k6e(e,t){if(M(t,206))return PE(P(t,26));if(M(t,193))return jE(P(t,125));if(M(t,362))return uOe(P(t,157));if(M(t,271))return Whe(e,P(t,85));throw D(new sg(Aq+wL(new dg(U(k(ZJ,1),$B,1,5,[t])))))}function A6e(e,t,n){var r=null;t&&(r=t.d),BI(e,new bv(t.n.a-r.b+n.a,t.n.b-r.d+n.b)),BI(e,new bv(t.n.a-r.b+n.a,t.n.b+t.o.b+r.a+n.b)),BI(e,new bv(t.n.a+t.o.a+r.c+n.a,t.n.b-r.d+n.b)),BI(e,new bv(t.n.a+t.o.a+r.c+n.a,t.n.b+t.o.b+r.a+n.b))}function j6e(e,t,n){var r,i,a;for(t.p=n,a=xw(IA(U(k(QJ,1),$B,20,0,[new Bm(t),new Hm(t)])));CR(a);)r=P(CO(a),12),r.p==-1&&j6e(e,r,n);if(t.i.k==(MR(),BX))for(i=new E(t.i.j);i.a<i.c.c.length;)r=P(z(i),12),r!=t&&r.p==-1&&j6e(e,r,n)}function M6e(e){var t,n,i,a=P(aO(gOe(UOe(e)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),o;if(i=zG,a.gc()>=2)for(n=a.Jc(),t=N(n.Pb());n.Ob();)o=t,t=N(n.Pb()),i=r.Math.min(i,(dT(t),t)-(dT(o),o));return i}function N6e(e,t){var n,r,i=new ah;for(r=TF(t.a,0);r.b!=r.d.c;)n=P(RD(r),65),n.b.g==e.g&&!CS(n.b.c,$G)&&j(K(n.b,(Lz(),T4)))!==j(K(n.c,T4))&&!pO(new jC(null,new nD(i,16)),new xne(n))&&ph(i.c,n);return Vb(i,new So),i}function P6e(e,t){var n,r,i;if(j(t)===j(Kw(e)))return!0;if(!M(t,16)||(r=P(t,16),i=e.gc(),i!=r.gc()))return!1;if(M(r,59)){for(n=0;n<i;n++)if(!cT(e.Xb(n),r.Xb(n)))return!1;return!0}else return nYe(e.Jc(),r.Jc())}function F6e(e,t,n,r,i,a){var o,s=!u_(AT(e.Mc(),new wm(new Hn))).zd((M_(),PY)),c,l;for(o=e,a==(WN(),y8)&&(o=AP(o)),l=o.Jc();l.Ob();)c=P(l.Pb(),70),c.n.a=t.a,s?c.n.b=t.b+(r.b-c.o.b)/2:i?c.n.b=t.b:c.n.b=t.b+r.b-c.o.b,t.a+=c.o.a+n}function I6e(e,t,n){var r,i,a,o,s,c,l;if(n)for(a=n.a.length,r=new YC(a),s=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);s.Ob();)o=P(s.Pb(),15),c=jD(n,o.a),c&&(l=cRe(PD(c,Sq),t),ST(e.k,l,c),i=Oq in c.a,i&&QA(l,PD(c,Oq)),sL(c,l),Z2e(c,l))}function L6e(e,t,n){var r,i,a,o,s=n;if(!s&&(s=sxe(new Uh,0)),s.Tg(Aft,1),dst(e.c,t),o=Pst(e.a,t),o.gc()==1)Dat(P(o.Xb(0),37),s);else for(a=1/o.gc(),i=o.Jc();i.Ob();){if(r=P(i.Pb(),37),n.Zg())return;Dat(r,s.dh(a))}loe(e.a,o,t),q9e(t),s.Ug()}function R6e(e,t,n){var r,i=e.f,a,o,s;if(!i&&(i=P(e.a.a.ec().Jc().Pb(),60)),zI(i,t,n),e.a.a.gc()!=1)for(r=t*n,o=e.a.a.ec().Jc();o.Ob();)a=P(o.Pb(),60),a!=i&&(s=VD(a),s.f.d?(a.d.d+=r+eU,a.d.a-=r+eU):s.f.a&&(a.d.a-=r+eU))}function z6e(e,t,n,i){var a=n,o,s,c,l,u,d=t,f;o=d;do o=e.a[o.p],c=(f=e.g[o.p],O(e.p[f.p])+O(e.d[o.p])-o.d.d),l=SRe(o,i),l&&(s=(u=e.g[l.p],O(e.p[u.p])+O(e.d[l.p])+l.o.b+l.d.a),a=r.Math.min(a,c-(s+Jb(e.k,o,l))));while(d!=o);return a}function B6e(e,t,n,i){var a=n,o,s,c,l,u,d=t,f;o=d;do o=e.a[o.p],s=(f=e.g[o.p],O(e.p[f.p])+O(e.d[o.p])+o.o.b+o.d.a),l=hVe(o,i),l&&(c=(u=e.g[l.p],O(e.p[u.p])+O(e.d[l.p])-l.d.d),a=r.Math.min(a,c-(s+Jb(e.k,o,l))));while(d!=o);return a}function V6e(e,t){var n;if(t.Tg(`Equal Whitespace Eliminator`,1),qO(e,(fz(),l3)))eWe(P(J(e,l3),16),O(N(J(e,i3))),(n=O(N(J(e,n3))),O(N(J(e,(uz(),v3)))),n));else throw D(new vg(`The graph does not contain rows.`));t.Ug()}function J(e,t){var n;return(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),VP(e.o,t))??(n=t.Rg(),M(n,4)&&(n==null?(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),iF(e.o,t)):(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),HI(e.o,t,n))),n)}function wR(){wR=C,V8=new wy(`H_LEFT`,0),B8=new wy(`H_CENTER`,1),U8=new wy(`H_RIGHT`,2),J8=new wy(`V_TOP`,3),q8=new wy(`V_CENTER`,4),K8=new wy(`V_BOTTOM`,5),W8=new wy(`INSIDE`,6),G8=new wy(`OUTSIDE`,7),H8=new wy(`H_PRIORITY`,8)}function H6e(e,t){var n,r,i,a,o,s,c;if(!t.f)throw D(new sg(`The input edge is not a tree edge.`));for(a=null,i=JB,r=new E(e.d);r.a<r.c.c.length;)n=P(z(r),217),s=n.d,c=n.e,eR(e,s,t)&&!eR(e,c,t)&&(o=c.e-s.e-n.a,o<i&&(i=o,a=n));return a}function U6e(e){var t,n,r,i,a,o;if(!(e.f.e.c.length<=1)){t=0,i=$3e(e),n=pH;do{for(t>0&&(i=n),o=new E(e.f.e);o.a<o.c.c.length;)a=P(z(o),155),!hg(eS(K(a,(NI(),rCt))))&&(r=Qnt(e,a),wS(nb(a.d),r));n=$3e(e)}while(!Owe(e,t++,i,n))}}function W6e(e,t){var n,r,i,a=e.g.a,o=e.g.b;for(r=new E(e.d);r.a<r.c.c.length;)n=P(z(r),70),i=n.n,e.a==(oM(),EZ)||e.i==(wB(),p5)?i.a=a:e.a==DZ||e.i==(wB(),N5)?i.a=a+e.j.a-n.o.a:i.a=a+(e.j.a-n.o.a)/2,i.b=o,wS(i,t),o+=n.o.b+e.e}function G6e(e){var t,n,r,i=0;for(t=P(J(e,(LB(),fRt)),15).a,r=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));r.e!=r.i.gc();)n=P(OF(r),26),!n.a&&(n.a=new F(p7,n,10,11)),n.a&&(!n.a&&(n.a=new F(p7,n,10,11)),n.a).i>0?i+=t:i+=1;return i}function K6e(e,t){var n,r,i,a,o,s,c,l=e,u,d;c=MD(l,`individualSpacings`),c&&(r=qO(t,(LB(),o8)),o=!r,o&&(i=new Vc,IF(t,o8,i)),s=P(J(t,o8),379),d=c,a=null,d&&(a=(u=Aze(d,V(vY,X,2,0,6,1)),new Sce(d,u))),a&&(n=new pde(d,s),dO(a,n)))}function q6e(e,t){var n,r,i,a,o,s,c=null,l,u,d=e,f;return u=null,(h_t in d.a||g_t in d.a||Eq in d.a)&&(l=null,f=AVe(t),o=MD(d,h_t),n=new are(f),nKe(n.a,o),s=MD(d,g_t),r=new mre(f),rKe(r.a,s),a=ND(d,Eq),i=new _re(f),l=(WQe(i.a,a),a),u=l),c=u,c}function J6e(e,t){var n,r,i;if(t===e)return!0;if(M(t,540)){if(i=P(t,833),e.a.d!=i.a.d||kT(e).gc()!=kT(i).gc())return!1;for(r=kT(i).Jc();r.Ob();)if(n=P(r.Pb(),416),HOe(e,n.a.jd())!=P(n.a.kd(),18).gc())return!1;return!0}return!1}function Y6e(e,t){var n,r,i,a;for(a=new E(t.a);a.a<a.c.c.length;)for(i=P(z(a),9),W(i,(Y(),W$),(mx(),!1)),W(i,U$,G(-1)),W(i,H$,G(-1)),e.d.a.c.length=0,r=new XC(dx(dP(i).a.Jc(),new f));CR(r);)n=P(CO(r),17),W(n,aEt,!1)}function X6e(e,t){return e.c<t.c?-1:e.c>t.c?1:e.b<t.b?-1:e.b>t.b?1:e.a==t.a?e.d==(sO(),M2)&&t.d==j2?-1:+(e.d==j2&&t.d==M2):Cj(e.a)-Cj(t.a)}function Z6e(e){var t,n,i,a=pH,o,s,c,l;for(i=mH,n=new E(e.e.b);n.a<n.c.c.length;)for(t=P(z(n),25),s=new E(t.a);s.a<s.c.c.length;)o=P(z(s),9),l=O(e.p[o.p]),c=l+O(e.b[e.g[o.p].p]),a=r.Math.min(a,l),i=r.Math.max(i,c);return i-a}function Q6e(e,t){var n,r,i,a=t.a,o=a.c.i==t.b?a.d:a.c;return r=a.c.i==t.b?a.c:a.d,i=xKe(e.a,o,r),i>0&&i<zG?(n=z6e(e.a,r.i,i,e.c),BLe(e.a,r.i,-n),n>0):i<0&&-i<zG?(n=B6e(e.a,r.i,-i,e.c),BLe(e.a,r.i,n),n>0):!1}function $6e(e,t,n,r){var i=(t-e.d)/e.c.c.length,a=0,o,s,c,l,u,d;for(e.a+=n,e.d=t,d=new E(e.c);d.a<d.c.c.length;)u=P(z(d),26),l=u.g,c=u.f,TA(u,u.i+a*i),EA(u,u.j+r*n),wA(u,u.g+i),yA(u,e.a),++a,s=u.g,o=u.f,M2e(u,new A(s,o),new A(l,c))}function e8e(e){var t,n,r,i,a,o,s;if(e==null)return null;for(s=e.length,i=(s+1)/2|0,o=V(X9,mq,30,i,15,1),s%2!=0&&(o[--i]=oet((sD(s-1,e.length),e.charCodeAt(s-1)))),n=0,r=0;n<i;++n)t=oet(wT(e,r++)),a=oet(wT(e,r++)),o[n]=(t<<4|a)<<24>>24;return o}function t8e(e){if(e.xe()){var t=e.c;t.ye()?e.o=`[`+t.n:t.xe()?e.o=`[`+t.ve():e.o=`[L`+t.ve()+`;`,e.b=t.ue()+`[]`,e.k=t.we()+`[]`;return}var n=e.j,r=e.d;r=r.split(`/`),e.o=ZP(`.`,[n,ZP(`$`,r)]),e.b=ZP(`.`,[n,ZP(`.`,r)]),e.k=r[r.length-1]}function n8e(e,t){var n,r,i,a,o=null;for(a=new E(e.e.a);a.a<a.c.c.length;)if(i=P(z(a),124),i.b.a.c.length==i.g.a.c.length){for(r=i.e,o=I0e(i),n=i.e-P(o.a,15).a+1;n<i.e+P(o.b,15).a;n++)t[n]<t[r]&&(r=n);t[r]<t[i.e]&&(--t[i.e],++t[r],i.e=r)}}function r8e(e,t,n){var r,i,a,o,s,c,l=P(n,149),u=k6e(e,t);a=null,r=null,u&&(r=tL(e,u,t.i)),r==null?(s=t.i,a=s):a=r,ZT(l,`x`,a),o=null,i=null,u&&(i=nL(e,u,t.j)),i==null?(c=t.j,o=c):o=i,ZT(l,`y`,o),ZT(l,bq,t.g),ZT(l,yq,t.f)}function i8e(e){bat();var t,n,r=sb(e,hL(35)),i;return t=r==-1?e:(YO(0,r,e.length),e.substr(0,r)),n=r==-1?null:(sD(r+1,e.length+1),e.substr(r+1)),i=iMe(_Bt,t),i?n!=null&&(i=qHe(i,(dT(n),n))):(i=but(t),HMe(_Bt,t,i),n!=null&&(i=qHe(i,n))),i}function a8e(e,t,n,r){var i,a,o,s,c=null,l;for(i=Att(e,t),s=0,l=i.gc();s<l;++s)if(a=P(i.Xb(s),179),CS(r,ET(wk(e,a))))if(o=DT(wk(e,a)),n==null){if(o==null)return a;!c&&(c=a)}else if(CS(n,o))return a;else o==null&&!c&&(c=a);return null}function o8e(e,t,n,r){var i,a,o,s,c=null,l;for(i=jtt(e,t),s=0,l=i.gc();s<l;++s)if(a=P(i.Xb(s),179),CS(r,ET(wk(e,a))))if(o=DT(wk(e,a)),n==null){if(o==null)return a;!c&&(c=a)}else if(CS(n,o))return a;else o==null&&!c&&(c=a);return null}function s8e(e,t,n){var r,i,a,o=new tl,s=$R(e.e.Ah(),t),c;if(r=P(e.g,122),rv(),P(t,69).vk())for(a=0;a<e.i;++a)i=r[a],s.$l(i.Jk())&&XO(o,i);else for(a=0;a<e.i;++a)i=r[a],s.$l(i.Jk())&&(c=i.kd(),XO(o,n?sR(e,t,a,o.i,c):c));return Ije(o)}function c8e(e){var t,n,r,i,a,o,s;if(e&&(t=e.ni(xJ),t&&(o=tS(VP((!t.b&&(t.b=new Xx((VB(),o9),d9,t)),t.b),`conversionDelegates`)),o!=null))){for(s=new ah,r=Iz(o,`\\w+`),i=0,a=r.length;i<a;++i)n=r[i],ph(s.c,n);return s}return KT(),KT(),EY}function l8e(e,t){var n,r,i,a,o=t==1?CX:SX,s,c,l;for(a=o.a.ec().Jc();a.Ob();)for(i=P(a.Pb(),86),c=P(DO(e.f.c,i),22).Jc();c.Ob();)switch(s=P(c.Pb(),49),r=P(s.b,82),l=P(s.a,194),n=l.c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function u8e(e,t){var n=new TP($Z),r,i,a,o;for(i=(WL(),U(k($Z,1),Z,231,0,[YZ,ZZ,JZ,XZ,QZ,qZ])),a=0,o=i.length;a<o;++a)r=i[a],Bge(n,r,new ah);return P_(jT(AT(Bk(new jC(null,new nD(e.b,16)),new Un),new Wn),new dte(t)),new fte(n)),n}function d8e(e,t){var n,r,i;for(n=1;n<e.c.length;n++){for(i=(oD(n,e.c.length),P(e.c[n],9)),r=n;r>0&&FB(t,(oD(r-1,e.c.length),P(e.c[r-1],9)),i)>0;)fO(e,r,(oD(r-1,e.c.length),P(e.c[r-1],9))),--r;oD(r,e.c.length),e.c[r]=i}t.b=new oh,t.g=new oh}function f8e(e,t,n){var r,i,a;for(r=1;r<e.c.length;r++){for(a=(oD(r,e.c.length),P(e.c[r],9)),i=r;i>0&&t.Le((oD(i-1,e.c.length),P(e.c[i-1],9)),a)>0;)fO(e,i,(oD(i-1,e.c.length),P(e.c[i-1],9))),--i;oD(i,e.c.length),e.c[i]=a}n.a=new oh,n.b=new oh}function TR(e,t,n){var i,a,o,s,c,l,u,d,f,p;for(o=t.Jc();o.Ob();)a=P(o.Pb(),26),d=a.i+a.g/2,p=a.j+a.f/2,l=e.f,s=l.i+l.g/2,c=l.j+l.f/2,u=d-s,f=p-c,i=r.Math.sqrt(u*u+f*f),u*=e.e/i,f*=e.e/i,n?(d-=u,p-=f):(d+=u,p+=f),TA(a,d-a.g/2),EA(a,p-a.f/2)}function ER(e){var t,n,r;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function DR(e){var t,n=new _x(a_(e.Pm));return n.a+=`@`,Qy(n,(t=Cj(e)>>>0,t.toString(16))),e.Sh()?(n.a+=` (eProxyURI: `,Zy(n,e.Yh()),e.Hh()&&(n.a+=` eClass: `,Zy(n,e.Hh())),n.a+=`)`):e.Hh()&&(n.a+=` (eClass: `,Zy(n,e.Hh()),n.a+=`)`),n.a}function OR(e){var t,n,r,i;if(e.e)throw D(new cg(($x(Oxt),UH+Oxt.k+WH)));for(e.d==(WN(),v8)&&yB(e,g8),n=new E(e.a.a);n.a<n.c.c.length;)t=P(z(n),320),t.g=t.i;for(i=new E(e.a.b);i.a<i.c.c.length;)r=P(z(i),60),r.i=mH;return e.b.af(e),e}function p8e(e,t){var n,r,i,a,o,s,c=Ix(e.c-e.b&e.a.length-1),l=null,u=null;for(a=new vT(e);a.a!=a.b;)i=P(vN(a),9),n=(s=P(K(i,(Y(),y$)),12),s?s.i:null),r=(o=P(K(i,b$),12),o?o.i:null),(l!=n||u!=r)&&(E3e(c,t),l=n,u=r),ph(c.c,i);E3e(c,t)}function m8e(e){switch(e.g){case 0:return new eg((pN(),E2));case 1:return new eg((pN(),D2));case 2:return new ef;case 3:return new hee;default:throw D(new sg(`No implementation is available for the crossing minimizer `+(e.f==null?``+e.g:e.f)))}}function h8e(e,t){var n,r,i,a,o;if(t<2*e.b)throw D(new sg(`The knot vector must have at least two time the dimension elements.`));for(e.f=1,i=0;i<e.b;i++)$b(e.e,0);for(o=t+1-2*e.b,n=o,a=1;a<o;a++)$b(e.e,a/n);if(e.d)for(r=0;r<e.b;r++)$b(e.e,1)}function g8e(e,t){var n,r,i,a,o,s,c,l=t,u=P(XA(hwe(e.o),l),26);if(!u)throw i=PD(l,Oq),s=`Unable to find elk node for json object '`+i,c=s+`' Panic!`,D(new _g(c));a=ND(l,`edges`),n=new ade(e,u),G4e(n.a,n.b,a),o=ND(l,Cq),r=new Zne(e),mZe(r.a,o)}function _8e(e,t,n,r){var i,a,o,s,c;if(r!=null){if(i=e.d[t],i){for(a=i.g,c=i.i,s=0;s<c;++s)if(o=P(a[s],136),o.yi()==n&&DN(r,o.jd()))return s}}else if(i=e.d[t],i){for(a=i.g,c=i.i,s=0;s<c;++s)if(o=P(a[s],136),j(o.jd())===j(r))return s}return-1}function kR(e,t){var n=t==null?By(VC(e.f,null)):cv(e.i,t),r,i;return M(n,241)?(i=P(n,241),i.wi(),i):M(n,493)?(r=P(n,1999),i=r.a,i&&(i.yb==null||(t==null?XL(e.f,null,i):iP(e.i,t,i))),i):null}function v8e(e){G9e();var t,n,r,i,a,o,s;if(e==null||(i=e.length,i%2!=0))return null;for(t=Ak(e),a=i/2|0,n=V(X9,mq,30,a,15,1),r=0;r<a;r++){if(o=N9[t[r*2]],o==-1||(s=N9[t[r*2+1]],s==-1))return null;n[r]=(o<<4|s)<<24>>24}return n}function y8e(e,t,n){var r,i=P(CT(e.i,t),318),a;if(!i)if(i=new fLe(e.d,t,n),Dw(e.i,t,i),rqe(t))eme(e.a,t.c,t.b,i);else switch(a=s2e(t),r=P(CT(e.p,a),253),a.g){case 1:case 3:i.j=!0,Zh(r,t.b,i);break;case 4:case 2:i.k=!0,Zh(r,t.c,i)}return i}function b8e(e,t,n,r){var i,a,o,s=new tl,c=$R(e.e.Ah(),t),l;if(i=P(e.g,122),rv(),P(t,69).vk())for(o=0;o<e.i;++o)a=i[o],c.$l(a.Jk())&&XO(s,a);else for(o=0;o<e.i;++o)a=i[o],c.$l(a.Jk())&&(l=a.kd(),XO(s,r?sR(e,t,o,s.i,l):l));return SKe(s,n)}function x8e(e,t){var n,i,a=e.b[t.p],o,s,c,l,u;if(a>=0)return a;for(o=1,c=new E(t.j);c.a<c.c.c.length;)for(s=P(z(c),12),i=new E(s.g);i.a<i.c.c.length;)n=P(z(i),17),u=n.d.i,t!=u&&(l=x8e(e,u),o=r.Math.max(o,l+1));return JGe(e,t,o),o}function S8e(e,t){var n,i,a=e.b[t.p],o,s,c,l,u;if(a>=0)return a;for(o=1,c=new E(t.j);c.a<c.c.c.length;)for(s=P(z(c),12),i=new E(s.e);i.a<i.c.c.length;)n=P(z(i),17),u=n.c.i,t!=u&&(l=S8e(e,u),o=r.Math.max(o,l+1));return iYe(e,t,o),o}function C8e(e){var t,n,r,i=e.length;for(t=null,r=0;r<i;r++)n=(sD(r,e.length),e.charCodeAt(r)),sb(`.*+?{[()|\\^$`,hL(n))>=0?(t||(t=new Dg,r>0&&Yy(t,(YO(0,r,e.length),e.substr(0,r)))),t.a+=`\\`,Yw(t,n&VV)):t&&Yw(t,n&VV);return t?t.a:e}function w8e(e){var t,n,i;for(n=new E(e.a.a.b);n.a<n.c.c.length;)t=P(z(n),82),i=(dT(0),0),i>0&&(!(vb(e.a.c)&&t.n.d)&&!(yb(e.a.c)&&t.n.b)&&(t.g.d-=r.Math.max(0,i/2-.5)),!(vb(e.a.c)&&t.n.a)&&!(yb(e.a.c)&&t.n.c)&&(t.g.a+=r.Math.max(0,i-1)))}function T8e(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(wB(),m5)||t==p5?(rA(P(jM(e),16),(AI(),I8)),rA(P(jM(e),16),L8)):(rA(P(jM(e),16),(AI(),L8)),rA(P(jM(e),16),I8));else for(i=new vT(e);i.a!=i.b;)r=P(vN(i),16),rA(r,n)}function E8e(e,t,n){var r,i,a,o,s,c,l,u=-1,d=0;for(s=t,c=0,l=s.length;c<l;++c){for(o=s[c],r=new JTe(e,u==-1?t[0]:t[u],n,(mN(),K0)),i=0;i<o.length;i++)for(a=i+1;a<o.length;a++)Kx(o[i],(Y(),w$))&&Kx(o[a],w$)&&FB(r,o[i],o[a])>0&&++d;++u}return d}function D8e(e,t){var n,r,i=eC(new Sre(e)),a,o,s=new bD(i,i.c.length),c;for(a=eC(new Sre(t)),c=new bD(a,a.c.length),o=null;s.b>0&&c.b>0&&(n=(Bx(s.b>0),P(s.a.Xb(s.c=--s.b),26)),r=(Bx(c.b>0),P(c.a.Xb(c.c=--c.b),26)),n==r);)o=n;return o}function O8e(e,t){var n,r,i,a;for(t.Tg(`Self-Loop pre-processing`,1),r=new E(e.a);r.a<r.c.c.length;)n=P(z(r),9),MGe(n)&&(i=(a=new Wqe(n),W(n,(Y(),F$),a),xnt(a),a),P_(jT(Bk(new jC(null,new nD(i.d,16)),new Ar),new jr),new Mr),E7e(i));t.Ug()}function k8e(e,t,n){var r,i,a,o;Jke(e,t)>Jke(e,n)?(r=rP(n,(wB(),p5)),e.d=r.dc()?0:gC(P(r.Xb(0),12)),o=rP(t,N5),e.b=o.dc()?0:gC(P(o.Xb(0),12))):(i=rP(n,(wB(),N5)),e.d=i.dc()?0:gC(P(i.Xb(0),12)),a=rP(t,p5),e.b=a.dc()?0:gC(P(a.Xb(0),12)))}function A8e(e){var t=!0,n,r,i=null,a=null,o,s,c;j:for(c=new E(e.a);c.a<c.c.c.length;)for(s=P(z(c),9),r=new XC(dx(uP(s).a.Jc(),new f));CR(r);){if(n=P(CO(r),17),i&&i!=s){t=!1;break j}if(i=s,o=n.c.i,a&&a!=o){t=!1;break j}a=o}return t}function j8e(e,t,n){var r,i,a,o,s,c,l,u=(r=P(t.e&&t.e(),10),new FS(r,P(gS(r,r.length),10),0));for(c=Iz(n,`[\\[\\]\\s,]+`),a=c,o=0,s=a.length;o<s;++o)if(i=a[o],qL(i).length!=0){if(l=X4e(e,i),l==null)return null;ij(u,P(l,23))}return u}function M8e(e,t){var n=e.o.a,r,i,a;for(a=P(P(DO(e.r,t),22),83).Jc();a.Ob();)i=P(a.Pb(),115),i.e.a=n*O(N(i.b.mf(qY))),i.e.b=(r=i.b,r.nf((LB(),Y6))?r.$f()==(wB(),m5)?-r.Kf().b-O(N(r.mf(Y6))):O(N(r.mf(Y6))):r.$f()==(wB(),m5)?-r.Kf().b:0)}function N8e(e,t,n){var r,i,a=-1,o,s=-1,c;for(o=0;o<t.c.length&&(i=(oD(o,t.c.length),P(t.c[o],340)),!(i.c>e.c));o++)i.a>=e.s&&(a<0&&(a=o),s=o);return c=(e.s+e.c)/2,a>=0&&(r=ftt(e,t,a,s),c=rle((oD(r,t.c.length),P(t.c[r],340))),f3e(t,r,n)),c}function AR(e,t,n){var r,i,a,o=(a=new fl,a),s,c,l;for(QRe(o,(dT(t),t)),l=(!o.b&&(o.b=new Xx((VB(),o9),d9,o)),o.b),c=1;c<n.length;c+=2)HI(l,n[c-1],n[c]);for(r=(!e.Ab&&(e.Ab=new F(j7,e,0,3)),e.Ab),s=0;s<0;++s)i=Xwe(P(H(r,r.i-1),587)),r=i;XO(r,o)}function P8e(e,t,n,r,i,a){var o,s,c;if(!i[t.a]){for(i[t.a]=!0,o=r,!o&&(o=new FO),$b(o.e,t),c=a[t.a].Jc();c.Ob();)s=P(c.Pb(),291),!(s.d==n||s.c==n)&&(s.c!=t&&P8e(e,s.c,t,o,i,a),s.d!=t&&P8e(e,s.d,t,o,i,a),$b(o.c,s),pM(o.d,s.b));return o}return null}function F8e(e){var t=0,n,r,i,a,o,s;for(i=new E(e.e);i.a<i.c.c.length;)r=P(z(i),17),n=pO(new jC(null,new nD(r.b,16)),new sn),n&&++t;for(o=new E(e.g);o.a<o.c.c.length;)a=P(z(o),17),s=pO(new jC(null,new nD(a.b,16)),new cn),s&&++t;return t>=2}function I8e(e,t,n,r,i){var a=e.c.d.j,o=P(LF(n,0),8),s,c,l,u;for(u=1;u<n.b;u++)l=P(LF(n,u),8),iO(r,o,r.c.b,r.c),s=nx(wS(new mb(o),l),.5),c=nx(new eD(kHe(a)),i),wS(s,c),iO(r,s,r.c.b,r.c),o=l,a=t==0?KN(a):JWe(a);pC(r,(Bx(n.b!=0),P(n.c.b.c,8)))}function L8e(e){wR();var t,n=zC(W8,U(k(Y8,1),Z,96,0,[G8])),r;return!(qj(gE(n,e))>1||(t=zC(V8,U(k(Y8,1),Z,96,0,[B8,U8])),qj(gE(t,e))>1)||(r=zC(J8,U(k(Y8,1),Z,96,0,[q8,K8])),qj(gE(r,e))>1))}function R8e(e){var t=0,n,i,a,o,s,c;for(i=new E(e.a);i.a<i.c.c.length;)for(n=P(z(i),9),o=new XC(dx(fP(n).a.Jc(),new f));CR(o);)a=P(CO(o),17),e==a.d.i.c&&a.c.j==(wB(),N5)&&(s=aD(a.c).b,c=aD(a.d).b,t=r.Math.max(t,r.Math.abs(c-s)));return t}function z8e(e,t,n){var r,i,a;for(a=new E(e.t);a.a<a.c.c.length;)r=P(z(a),273),r.b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&pC(t,r.b));for(i=new E(e.i);i.a<i.c.c.length;)r=P(z(i),273),r.a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&pC(n,r.a))}function jR(e){var t,n,r,i,a;if(e.g==null&&(e.d=e._i(e.f),XO(e,e.d),e.c))return a=e.f,a;if(t=P(e.g[e.i-1],50),i=t.Pb(),e.e=t,n=e._i(i),n.Ob())e.d=n,XO(e,n);else for(e.d=null;!t.Ob()&&(Jw(e.g,--e.i,null),e.i!=0);)r=P(e.g[e.i-1],50),t=r;return i}function B8e(e,t){var n,r=t,i=r.Jk(),a,o,s;if(nz(e.e,i)){if(i.Qi()&&GD(e,i,r.kd()))return!1}else for(s=$R(e.e.Ah(),i),n=P(e.g,122),a=0;a<e.i;++a)if(o=n[a],s.$l(o.Jk()))return DN(o,r)?!1:(P(WF(e,a,t),75),!0);return XO(e,t)}function MR(){MR=C,HX=new Cv(`NORMAL`,0),BX=new Cv(`LONG_EDGE`,1),RX=new Cv(`EXTERNAL_PORT`,2),UX=new Cv(`NORTH_SOUTH_PORT`,3),zX=new Cv(`LABEL`,4),LX=new Cv(`BREAKING_POINT`,5),WX=new Cv(`PLACEHOLDER`,6),VX=new Cv(`NONSHIFTING_PLACEHOLDER`,7)}function V8e(e,t,n,i){var a=new tI(e),o,s,c;for(Tp(a,(MR(),zX)),W(a,(Y(),T$),t),W(a,M$,i),W(a,(PB(),l0),(iL(),t5)),W(a,y$,t.c),W(a,b$,t.d),r9e(t,a),c=r.Math.floor(n/2),s=new E(a.j);s.a<s.c.c.length;)o=P(z(s),12),o.n.b=c;return a}function NR(){NR=C,sQ=new Fv(Qft,0),vTt=new Fv($ft,1),lQ=new Fv(vW,2),uQ=new Fv(jft,3),cQ=new Fv(`GREEDY_MODEL_ORDER`,4),dQ=new Fv(`SCC_CONNECTIVITY`,5),fQ=new Fv(`SCC_NODE_TYPE`,6),oQ=new Fv(`DFS_NODE_ORDER`,7),aQ=new Fv(`BFS_NODE_ORDER`,8)}function H8e(e,t,n){var r,i,a,o,s;for(n.Tg(`ELK Force`,1),hg(eS(J(t,(Mz(),FSt))))||bE((r=new Mm((Q_(),new ng(t))),r)),s=UVe(t),nZe(s),uHe(e,P(K(s,ASt),424)),o=Urt(e.a,s),a=o.Jc();a.Ob();)i=P(a.Pb(),235),Trt(e.b,i,n.dh(1/o.gc()));s=clt(o),Glt(s),n.Ug()}function U8e(e,t,n){switch(n.g){case 1:return new A(t.a,r.Math.min(e.d.b,t.b));case 2:return new A(r.Math.max(e.c.a,t.a),t.b);case 3:return new A(t.a,r.Math.max(e.c.b,t.b));case 4:return new A(r.Math.min(t.a,e.d.a),t.b)}return new A(t.a,t.b)}function W8e(e,t){var n,r,i,a,o;if(t.Tg(`Breaking Point Processor`,1),Zst(e),hg(eS(K(e,(PB(),SAt))))){for(i=new E(e.b);i.a<i.c.c.length;)for(r=P(z(i),25),n=0,o=new E(r.a);o.a<o.c.c.length;)a=P(z(o),9),a.p=n++;Vit(e),F7e(e,!0),F7e(e,!1)}t.Ug()}function G8e(e){var t=Ix(1+(!e.c&&(e.c=new F(m7,e,9,9)),e.c).i),n,r;for($b(t,(!e.d&&(e.d=new xS(i7,e,8,5)),e.d)),r=new lx((!e.c&&(e.c=new F(m7,e,9,9)),e.c));r.e!=r.i.gc();)n=P(OF(r),125),$b(t,(!n.d&&(n.d=new xS(i7,n,8,5)),n.d));return Kw(t),new hb(t)}function PR(e){var t=Ix(1+(!e.c&&(e.c=new F(m7,e,9,9)),e.c).i),n,r;for($b(t,(!e.e&&(e.e=new xS(i7,e,7,4)),e.e)),r=new lx((!e.c&&(e.c=new F(m7,e,9,9)),e.c));r.e!=r.i.gc();)n=P(OF(r),125),$b(t,(!n.e&&(n.e=new xS(i7,n,7,4)),n.e));return Kw(t),new hb(t)}function K8e(e){var t,n,r,i;if(e==null)return null;if(r=$z(e,!0),i=VJ.length,CS(r.substr(r.length-i,i),VJ)){if(n=r.length,n==4){if(t=(sD(0,r.length),r.charCodeAt(0)),t==43)return EVt;if(t==45)return TVt}else if(n==3)return EVt}return OL(r)}function q8e(e,t,n,r){var i,a,o,s,c,l,u,d=r?(wB(),N5):(wB(),p5),f;for(i=!1,c=t[n],l=0,u=c.length;l<u;++l)s=c[l],!ES(P(K(s,(PB(),l0)),102))&&(o=s.e,f=!rP(s,d).dc()&&!!o,f&&(a=n$e(o),e.b=new a$e(a,r?0:a.length-1)),i|=k9e(e,s,d,f));return i}function J8e(e,t,n,r){var i,a,o=rQe(t,n);if(ph(r.c,t),e.j[o.p]==-1||e.j[o.p]==2||e.a[t.p])return r;for(e.j[o.p]=-1,a=new XC(dx(dP(o).a.Jc(),new f));CR(a);)if(i=P(CO(a),17),!(!(!xO(i)&&!(!xO(i)&&i.c.i.c==i.d.i.c))||i==t))return J8e(e,i,o,r);return r}function Y8e(e){var t=0,n=0,r,i;for(i=new E(e.j);i.a<i.c.c.length;)if(r=P(z(i),12),t=RC(sP(t,$Ne(AT(new jC(null,new nD(r.e,16)),new Ha)))),n=RC(sP(n,$Ne(AT(new jC(null,new nD(r.g,16)),new Ua)))),t>1||n>1)return 2;return t+n==1?2:0}function FR(e,t){var n,i,a,o=e.a*jH+e.b*1502,s,c=e.b*jH+11;return n=r.Math.floor(c*MH),o+=n,c-=n*jdt,o%=jdt,e.a=o,e.b=c,t<=24?r.Math.floor(e.a*$bt[t]):(a=e.a*(1<<t-24),s=r.Math.floor(e.b*ext[t]),i=a+s,i>=2147483648&&(i-=4294967296),i)}function X8e(e,t,n){var r,i,a=new ah,o,s,c,l=new E_;for(o=new E_,Cit(e,l,o,t),Yot(e,l,o,t,n),c=new E(e);c.a<c.c.c.length;)for(s=P(z(c),116),i=new E(s.k);i.a<i.c.c.length;)r=P(z(i),133),(!t||r.c==(WO(),V2))&&s.g>r.b.g&&ph(a.c,r);return a}function Z8e(e,t,n){var r,i,a,o,s=e.c,c;for(o=(n.q?n.q:(KT(),KT(),DY)).vc().Jc();o.Ob();)a=P(o.Pb(),45),r=!u_(AT(new jC(null,new nD(s,16)),new wm(new Vue(t,a)))).zd((M_(),PY)),r&&(c=a.kd(),M(c,4)&&(i=dqe(c),i!=null&&(c=i)),t.of(P(a.jd(),147),c))}function Q8e(e,t){var n,r,i,a;for(t.Tg(`Resize child graph to fit parent.`,1),r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),25),pM(e.a,n.a),n.a.c.length=0;for(a=new E(e.a);a.a<a.c.c.length;)i=P(z(a),9),BE(i,null);e.b.c.length=0,t9e(e),e.e&&Dnt(e.e,e),t.Ug()}function $8e(e,t){var n,r,i,a,o;for(t.Tg(`Edge joining`,1),n=hg(eS(K(e,(PB(),F0)))),i=new E(e.b);i.a<i.c.c.length;)for(r=P(z(i),25),o=new bD(r.a,0);o.b<o.d.gc();)a=(Bx(o.b<o.d.gc()),P(o.d.Xb(o.c=o.b++),9)),a.k==(MR(),BX)&&(fB(a,n),nT(o));t.Ug()}function e5e(e,t,n){var r,i;if(TT(e.b),kw(e.b,(BN(),O3),(J_(),H3)),kw(e.b,k3,t.g),kw(e.b,A3,t.a),e.a=cB(e.b,t),n.Tg(`Compaction by shrinking a tree`,e.a.c.length),t.i.c.length>1)for(i=new E(e.a);i.a<i.c.c.length;)r=P(z(i),43),r.If(t,n.dh(1));n.Ug()}function t5e(e,t,n){var r,i,a=uB((HL(),p9),e.Ah(),t);if(a){if(rv(),!P(a,69).vk()&&(a=cD(wk(p9,a)),!a))throw D(new sg(iq+t.ve()+aq));i=(r=e.Fh(a),P(r>=0?e.Ih(r,!0,!0):mR(e,a,!0),163)),P(i,219).Vl(t,n)}else throw D(new sg(iq+t.ve()+aq))}function n5e(e,t,n){var r,i,a,o,s,c=vge(e,P(Zw(e.e,t),26));if(s=null,c)switch(c.g){case 3:r=ype(e,AE(t)),s=(dT(n),n)+(dT(r),r);break;case 2:i=ype(e,AE(t)),o=(dT(n),n)+(dT(i),i),a=ype(e,P(Zw(e.e,t),26)),s=o-(dT(a),a);break;default:s=n}else s=n;return s}function r5e(e,t,n){var r,i,a,o,s,c=vge(e,P(Zw(e.e,t),26));if(s=null,c)switch(c.g){case 3:r=bpe(e,AE(t)),s=(dT(n),n)+(dT(r),r);break;case 2:i=bpe(e,AE(t)),o=(dT(n),n)+(dT(i),i),a=bpe(e,P(Zw(e.e,t),26)),s=o-(dT(a),a);break;default:s=n}else s=n;return s}function IR(e,t){var n,r,i,a,o;if(t){for(a=M(e.Cb,88)||M(e.Cb,103),o=!a&&M(e.Cb,335),r=new lx((!t.a&&(t.a=new IC(t,z7,t)),t.a));r.e!=r.i.gc();)if(n=P(OF(r),87),i=Nz(n),a?M(i,88):o?M(i,159):i)return i;return a?(VB(),t9):(VB(),e9)}else return null}function i5e(e,t){var n=new ah,r,i=Bk(new jC(null,new nD(e,16)),new so),a=Bk(new jC(null,new nD(e,16)),new co),o=uIe(QNe(MT(C5e(U(k(bxt,1),$B,832,0,[i,a])),new lo)));for(r=1;r<o.length;r++)o[r]-o[r-1]>=2*t&&$b(n,new KS(o[r-1]+t,o[r]-t));return n}function a5e(e,t,n){var r,i,a,o,s,c,l,u;if(n)for(a=n.a.length,r=new YC(a),s=(r.b-r.a)*r.c<0?(iv(),G9):new cx(r);s.Ob();)o=P(s.Pb(),15),i=jD(n,o.a),i&&(c=Pje(e,(l=($g(),u=new qie,u),t&&y5e(l,t),l),i),QA(c,PD(i,Oq)),sL(i,c),Z2e(i,c),FM(e,i,c))}function LR(e){var t,n,r,i,a,o;if(!e.j){if(o=new yl,t=l9,a=t.a.yc(e,t),a==null){for(r=new lx(cE(e));r.e!=r.i.gc();)n=P(OF(r),29),i=LR(n),zw(o,i),XO(o,n);t.a.Ac(e)}lN(o),e.j=new db((P(H(R((Uw(),K7).o),11),19),o.i),o.g),bO(e).b&=-33}return e.j}function o5e(e){var t,n,r,i;if(e==null)return null;if(r=$z(e,!0),i=VJ.length,CS(r.substr(r.length-i,i),VJ)){if(n=r.length,n==4){if(t=(sD(0,r.length),r.charCodeAt(0)),t==43)return OVt;if(t==45)return DVt}else if(n==3)return OVt}return new _ie(r)}function s5e(e){var t,n=e.l,r;return n&n-1||(r=e.m,r&r-1)||(t=e.h,t&t-1)||t==0&&r==0&&n==0?-1:t==0&&r==0&&n!=0?ARe(n):t==0&&r!=0&&n==0?ARe(r)+22:t!=0&&r==0&&n==0?ARe(t)+44:-1}function RR(e,t){var n,r,i=t.a&e.f,a=null,o;for(r=e.b[i];;r=r.b){if(r==t){a?a.b=t.b:e.b[i]=t.b;break}a=r}for(o=t.f&e.f,a=null,n=e.c[o];;n=n.d){if(n==t){a?a.d=t.d:e.c[o]=t.d;break}a=n}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function c5e(e,t){var n;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(n=P(uT(P(jO(e.b,t.a),262)),262),n.a=0,++e.c):(n=P(uT(P(Zw(e.b,t.a),262)),262),--n.a,t.e?t.e.c=t.c:n.b=P(uT(t.c),497),t.c?t.c.e=t.e:n.c=P(uT(t.e),497)),--e.d}function l5e(e,t){var n,r,i,a=new bD(e,0);for(n=(Bx(a.b<a.d.gc()),P(a.d.Xb(a.c=a.b++),146));a.b<a.d.gc();)r=(Bx(a.b<a.d.gc()),P(a.d.Xb(a.c=a.b++),146)),i=new Wbe(r.c,n.d,t),Bx(a.b>0),a.a.Xb(a.c=--a.b),hS(a,i),Bx(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),i.a=!1,n=r}function u5e(e){var t,n,r,i=P(K(e,(Y(),QQ)),12),a,o;for(o=new E(e.j);o.a<o.c.c.length;){for(a=P(z(o),12),r=new E(a.g);r.a<r.c.c.length;)return t=P(z(r),17),VE(t,i),a;for(n=new E(a.e);n.a<n.c.c.length;)return t=P(z(n),17),zE(t,i),a}return null}function d5e(e,t,n){var r,i,a,o,s=P(Gx(e.a,t),15).a;for(n?r$e(e.a,G(s+1),t):r$e(e.a,G(s-1),t),o=new pb,i=new XC(dx((n?fP(t):uP(t)).a.Jc(),new f));CR(i);)r=P(CO(i),17),a=n?r.d.i:r.c.i,j(Gx(e.a,a))===j(Gx(e.a,t))&&o.a.yc(a,o);return o}function f5e(e,t,n){var i=Hj(n.q.getTime()),a;yN(i,0)<0?(a=kV-RC(GP(gk(i),kV)),a==kV&&(a=0)):a=RC(GP(i,kV)),t==1?(a=r.Math.min((a+50)/100|0,9),Xw(e,48+a&VV)):t==2?(a=r.Math.min((a+5)/10|0,99),Hk(e,a,2)):(Hk(e,a,3),t>3&&Hk(e,0,t-3))}function p5e(e){var t,n,r,i;return j(K(e,(PB(),F1)))===j((nN(),N8))?!e.e&&j(K(e,y1))!==j((rM(),RQ)):(r=P(K(e,b1),302),i=hg(eS(K(e,S1)))||j(K(e,C1))===j((xP(),tQ)),t=P(K(e,xkt),15).a,n=e.a.c.length,!i&&r!=(rM(),RQ)&&(t==0||t>n))}function m5e(e,t){var n,r,i,a,o,s,c;for(i=e.Jc();i.Ob();)for(r=P(i.Pb(),9),s=new jL,HE(s,r),tR(s,(wB(),p5)),W(s,(Y(),D$),(mx(),!0)),o=t.Jc();o.Ob();)a=P(o.Pb(),9),c=new jL,HE(c,a),tR(c,N5),W(c,D$,!0),n=new rE,W(n,D$,!0),zE(n,s),VE(n,c)}function h5e(e){for(var t,n=0;n<e.c.length&&!(wxe((oD(n,e.c.length),P(e.c[n],113)))>0);n++);if(n>0&&n<e.c.length-1)return n;for(t=0;t<e.c.length&&!(wxe((oD(t,e.c.length),P(e.c[t],113)))>0);t++);return t>0&&n<e.c.length-1?t:e.c.length/2|0}function g5e(e,t){var n,r,i=0,a,o,s,c;for(o=new E(t.a);o.a<o.c.c.length;)for(a=P(z(o),9),i+=a.o.b+a.d.a+a.d.d+e.e,r=new XC(dx(uP(a).a.Jc(),new f));CR(r);)n=P(CO(r),17),n.c.i.k==(MR(),UX)&&(c=n.c.i,s=P(K(c,(Y(),T$)),9),i+=s.o.b+s.d.a+s.d.d);return i}function _5e(e,t){var n,i,a,o;t.Tg(`Min Size Preprocessing`,1),i=v2e(e),PE(e)&&(n=(Q_(),new ng(PE(e))),o=new Fx(PE(e)?new ng(PE(e)):null,e),a=uct(n,o,!1,!0),i.a=r.Math.max(i.a,a.a),i.b=r.Math.max(i.b,a.b)),IF(e,(fz(),c3),i.a),IF(e,a3,i.b),t.Ug()}function v5e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=6&&t){if(FI(e,t))throw D(new sg(uq+F3e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?GXe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=FF(t,e,6,r)),r=Oge(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,6,t,t))}function zR(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(FI(e,t))throw D(new sg(uq+Yit(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?ZXe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=FF(t,e,12,r)),r=Dge(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,3,t,t))}function y5e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(FI(e,t))throw D(new sg(uq+ttt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?qXe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=FF(t,e,9,r)),r=kge(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,9,t,t))}function BR(e){var t,n,r=LI(e),i,a=e.j;if(a==null&&r)return e.Hk()?null:r.gk();if(M(r,159)){if(n=r.hk(),n&&(i=n.ti(),i!=e.i)){if(t=P(r,159),t.lk())try{e.g=i.qi(t,a)}catch(t){if(t=hM(t),M(t,80))e.g=null;else throw D(t)}e.i=i}return e.g}return null}function b5e(e){var t=new ah;return $b(t,new dv(new A(e.c,e.d),new A(e.c+e.b,e.d))),$b(t,new dv(new A(e.c,e.d),new A(e.c,e.d+e.a))),$b(t,new dv(new A(e.c+e.b,e.d+e.a),new A(e.c+e.b,e.d))),$b(t,new dv(new A(e.c+e.b,e.d+e.a),new A(e.c,e.d+e.a))),t}function x5e(e){var t,n,r=e.a.d.j,i=e.c.d.j;for(n=new E(e.i.d);n.a<n.c.c.length;)t=P(z(n),70),W(t,(PB(),D1),null);r==(wB(),m5)?cw(e,m5,(oM(),EZ),e.a):i==m5?cw(e,m5,(oM(),DZ),e.c):r==j5?cw(e,j5,(oM(),DZ),e.a):i==j5&&cw(e,j5,(oM(),EZ),e.c)}function S5e(e){var t,n,r;if(e==null)return eV;try{return EP(e)}catch(i){if(i=hM(i),M(i,101))return t=i,r=a_(WM(e))+`@`+(n=(O_(),gqe(e))>>>0,n.toString(16)),zqe(oVe(),(j_(),`Exception during lenientFormat for `+r),t),`<`+r+` threw `+a_(t.Pm)+`>`;throw D(i)}}function C5e(e){var t,n,r=!1,i,a,o,s,l,u;for(t=336,n=0,a=new Gge(e.length),s=e,l=0,u=s.length;l<u;++l)o=s[l],r|=(pP(o),!1),i=(iT(o),o.a),$b(a.a,Kw(i)),t&=i.wd(),n=cUe(n,i.xd());return P(P(ZCe(new jC(null,mL(new nD(hqe(a.a),16),new c,t,n)),new dp(e)),677),832)}function w5e(e,t,n,r){var i=JKe(e,t,n),a=JKe(e,n,t),o=P(Zw(e.c,t),116),s=P(Zw(e.c,n),116);i<a?new tD((WO(),H2),o,s,a-i):a<i?new tD((WO(),H2),s,o,i-a):(i!=0||!(!t.i||!n.i)&&r[t.i.c][n.i.c])&&(new tD((WO(),H2),o,s,0),new tD(H2,s,o,0))}function T5e(e,t,n){var r,i,a,o,s;for(n.Tg(`Breaking Point Removing`,1),e.a=P(K(t,(PB(),A1)),222),a=new E(t.b);a.a<a.c.c.length;)for(i=P(z(a),25),s=new E(pD(i.a));s.a<s.c.c.length;)o=P(z(s),9),aLe(o)&&(r=P(K(o,(Y(),XQ)),317),!r.d&&jct(e,r));n.Ug()}function VR(){VR=C,w3=new dy(`CANDIDATE_POSITION_LAST_PLACED_RIGHT`,0),C3=new dy(`CANDIDATE_POSITION_LAST_PLACED_BELOW`,1),E3=new dy(`CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT`,2),T3=new dy(`CANDIDATE_POSITION_WHOLE_DRAWING_BELOW`,3),D3=new dy(`WHOLE_DRAWING`,4)}function E5e(e){var t,n,r,i;for(r=new Pj(new im(e.b).a);r.b;)n=dj(r),i=P(n.jd(),12),t=P(n.kd(),9),W(t,(Y(),T$),i),W(i,O$,t),W(i,f$,(mx(),!0)),tR(i,P(K(t,s$),64)),K(t,s$),W(i.i,(PB(),l0),(iL(),r5)),P(K(lT(i.i),l$),22).Ec((oz(),NQ))}function D5e(e){var t,n,r,i,a=new E_,o,s;for(i=new E(e.d.a);i.a<i.c.c.length;)r=P(z(i),124),r.b.a.c.length==0&&iO(a,r,a.c.b,a.c);if(a.b>1)for(t=bx((n=new Ah,++e.b,n),e.d),s=TF(a,0);s.b!=s.d.c;)o=P(RD(s),124),ZR(L_(I_(R_(F_(new Mh,1),0),t),o))}function HR(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(FI(e,t))throw D(new sg(uq+ett(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?dZe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=FF(t,e,10,r)),r=M_e(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,11,t,t))}function O5e(e,t,n){var r,i,a=0,o=0,s,c;if(e.c)for(c=new E(e.d.i.j);c.a<c.c.c.length;)s=P(z(c),12),a+=s.e.c.length;else a=1;if(e.d)for(c=new E(e.c.i.j);c.a<c.c.c.length;)s=P(z(c),12),o+=s.g.c.length;else o=1;return i=xE(_C(o-a)),r=(n+t)/2+(n-t)*(.4*i),r}function k5e(e,t){var n,r,i,a,o,s;for(t.Tg(`Partition postprocessing`,1),r=new E(e.b);r.a<r.c.c.length;)for(n=P(z(r),25),a=new E(n.a);a.a<a.c.c.length;)for(i=P(z(a),9),s=new E(i.j);s.a<s.c.c.length;)o=P(z(s),12),hg(eS(K(o,(Y(),D$))))&&Ow(s);t.Ug()}function A5e(e){rL();var t,n;if(e.Gc((wB(),M5)))throw D(new sg(`Port sides must not contain UNDEFINED`));switch(e.gc()){case 1:return AZ;case 2:return t=e.Gc(p5)&&e.Gc(N5),n=e.Gc(m5)&&e.Gc(j5),t||n?NZ:MZ;case 3:return jZ;case 4:return kZ;default:return null}}function j5e(e,t,n){return sz(),vBe(e,t)&&vBe(e,n)?!1:vB(new A(e.c,e.d),new A(e.c+e.b,e.d),t,n)||vB(new A(e.c+e.b,e.d),new A(e.c+e.b,e.d+e.a),t,n)||vB(new A(e.c+e.b,e.d+e.a),new A(e.c,e.d+e.a),t,n)||vB(new A(e.c,e.d+e.a),new A(e.c,e.d),t,n)}function M5e(e,t){var n,r,i,a;if(!e.dc()){for(n=0,r=e.gc();n<r;++n)if(a=tS(e.Xb(n)),a==null?t==null:CS(a.substr(0,3),`!##`)?t!=null&&(i=t.length,!CS(a.substr(a.length-i,i),t)||a.length!=t.length+3)&&!CS(IJ,t):CS(a,zvt)&&!CS(IJ,t)||CS(a,t))return!0}return!1}function N5e(e,t,n,r){var i,a,o=e.j.c.length,s,c=V(Ixt,ift,318,o,0,1),l;for(s=0;s<o;s++)a=P(AC(e.j,s),12),a.p=s,c[s]=u3e(o6e(a),n,r);for(y7e(e,c,n,t,r),l=new oh,i=0;i<c.length;i++)c[i]&&ST(l,P(AC(e.j,i),12),c[i]);l.f.c+l.i.c!=0&&(W(e,(Y(),n$),l),m0e(e,c))}function P5e(e,t,n){var r,i,a;for(i=new E(e.a.b);i.a<i.c.c.length;)if(r=P(z(i),60),a=iD(r),a&&a.k==(MR(),RX))switch(P(K(a,(Y(),s$)),64).g){case 4:a.n.a=t.a;break;case 2:a.n.a=n.a-(a.o.a+a.d.c);break;case 1:a.n.b=t.b;break;case 3:a.n.b=n.b-(a.o.b+a.d.a)}}function F5e(e,t,n){var r,i,a;for(n.Tg(`Processor determine the height for each level`,1),e.a=t.b.b==0?1:t.b.b,i=null,r=TF(t.b,0);!i&&r.b!=r.d.c;)a=P(RD(r),40),hg(eS(K(a,(CB(),_4))))&&(i=a);i&&tit(e,OO(U(k(Y2,1),nK,40,0,[i])),n,P(K(t,(Lz(),b4)),86)),n.Ug()}function I5e(e){var t,n,r=($g(),a=new Lh,a),i,a,o;for(UR(r,e),n=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));n.e!=n.i.gc();)t=P(OF(n),26),o=(i=new Lh,i),HR(o,r),Cb(o,t.g,t.f),QA(o,t.k),xb(o,t.i,t.j),XO((!r.a&&(r.a=new F(p7,r,10,11)),r.a),o),UR(o,t);return r}function L5e(e,t,n){var r,i=P(J(t,(SL(),rLt)),15),a,o,s;return!i&&(i=G(0)),a=P(J(n,rLt),15),!a&&(a=G(0)),i.a>a.a?-1:i.a<a.a?1:e.a&&(r=RN(t.j,n.j),r!=0||(r=RN(t.i,n.i),r!=0))?r:(o=t.g*t.f,s=n.g*n.f,RN(o,s))}function R5e(e,t){var n,r,i,a,o,s,c,l,u,d;if(++e.e,c=e.d==null?0:e.d.length,t>c){for(u=e.d,e.d=V(Zzt,tvt,67,2*c+4,0,1),a=0;a<c;++a)if(l=u[a],l)for(r=l.g,d=l.i,s=0;s<d;++s)i=P(r[s],136),o=Age(e,i.yi()),n=e.d[o],!n&&(n=e.d[o]=e.bk()),n.Ec(i);return!0}else return!1}function z5e(e,t,n){var r,i=n,a=i.Jk(),o,s,c;if(nz(e.e,a)){if(a.Qi()){for(r=P(e.g,122),o=0;o<e.i;++o)if(s=r[o],DN(s,i)&&o!=t)throw D(new sg(Fq))}}else for(c=$R(e.e.Ah(),a),r=P(e.g,122),o=0;o<e.i;++o)if(s=r[o],c.$l(s.Jk()))throw D(new sg(RJ));FN(e,t,n)}function B5e(e,t){var n=P(K(t,(Y(),i$)),22),r,i,a,o=P(DO((jB(),AX),n),22),s=P(DO(PX,n),22);for(a=o.Jc();a.Ob();)if(r=P(a.Pb(),22),!P(DO(e.b,r),16).dc())return!1;for(i=s.Jc();i.Ob();)if(r=P(i.Pb(),22),!P(DO(e.b,r),16).dc())return!1;return!0}function V5e(e,t,n){e.d=0,e.b=0,t.k==(MR(),UX)&&n.k==UX&&P(K(t,(Y(),T$)),9)==P(K(n,T$),9)&&(Ek(t).j==(wB(),m5)?k8e(e,t,n):k8e(e,n,t)),t.k==UX&&n.k==BX?Ek(t).j==(wB(),m5)?e.d=1:e.b=1:n.k==UX&&t.k==BX&&(Ek(n).j==(wB(),m5)?e.b=1:e.d=1),bYe(e,t,n)}function H5e(e,t){var n,r,i,a,o,s,c,l,u;if(e.a.c.length==1)return y0e(P(AC(e.a,0),173),t);for(o=nWe(e),c=0,l=e.d,a=o,u=e.d,s=(l-a)/2+a;a+1<l;){for(c=0,r=new E(e.a);r.a<r.c.c.length;)n=P(z(r),173),c+=(i=Jz(n,s,!1),i.a);c<t?(u=s,l=s):a=s,s=(l-a)/2+a}return u}function UR(e,t){var n,r,i,a,o;if(!t)return e;if(M(t,343))for(i=P(t,343),a=(!e.o&&(e.o=new ik((kB(),d7),g7,e,0)),e.o),r=i.fh().c.Jc();r.e!=r.i.gc();)n=P(r.Wj(),45),o=n.kd(),HI(a,P(n.jd(),147),o);else !e.o&&(e.o=new ik((kB(),d7),g7,e,0)),uze(e.o,t.lf());return e}function U5e(e,t){var n,r,i,a,o,s,c,l,u=null,d,f,p,m=k6e(e,t),h;return c=null,m&&(c=MXe(e,m)),h=c,n=null,i=N(Zw(e.i,h)),n=i??G(0),f=n,r=null,a=N(Zw(e.j,h)),r=a??G(0),p=r,l=t.i,o=Zhe(l,f),ST(e.i,t,o),d=t.j,s=Zhe(d,p),u=N(ST(e.j,t,s)),u}function W5e(e){var t,n,r,i,a;return isNaN(e)?(Pk(),lbt):e<-0x8000000000000000?(Pk(),sbt):e>=0x8000000000000000?(Pk(),obt):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=cH&&(r=xE(e/cH),e-=r*cH),n=0,e>=sH&&(n=xE(e/sH),e-=n*sH),t=xE(e),a=Wb(t,n,r),i&&AM(a),a)}function G5e(e){var t,n,r,i,a=new ah;if(sA(e.b,new km(a)),e.b.c.length=0,a.c.length!=0){for(t=(oD(0,a.c.length),P(a.c[0],80)),n=1,r=a.c.length;n<r;++n)i=(oD(n,a.c.length),P(a.c[n],80)),i!=t&&q$e(t,i);if(M(t,63))throw D(P(t,63));if(M(t,297))throw D(P(t,297))}}function K5e(e,t){var n=!t||!e.u.Gc((rR(),c5)),r,i,a=0;for(i=new E(e.e.Vf());i.a<i.c.c.length;){if(r=P(z(i),836),r.$f()==(wB(),M5))throw D(new sg(`Label and node size calculator can only be used with ports that have port sides assigned.`));r.Of(a++),FUe(e,r,n)}}function q5e(e){var t,n,r,i,a;for(n=new E(e.a.a);n.a<n.c.c.length;){for(t=P(z(n),320),t.j=null,a=t.a.a.ec().Jc();a.Ob();)r=P(a.Pb(),60),nb(r.b),(!t.j||r.d.c<t.j.d.c)&&(t.j=r);for(i=t.a.a.ec().Jc();i.Ob();)r=P(i.Pb(),60),r.b.a=r.d.c-t.j.d.c,r.b.b=r.d.d-t.j.d.d}return e}function WR(e){var t,n,r,i,a;for(n=new E(e.a.a);n.a<n.c.c.length;){for(t=P(z(n),194),t.f=null,a=t.a.a.ec().Jc();a.Ob();)r=P(a.Pb(),82),nb(r.e),(!t.f||r.g.c<t.f.g.c)&&(t.f=r);for(i=t.a.a.ec().Jc();i.Ob();)r=P(i.Pb(),82),r.e.a=r.g.c-t.f.g.c,r.e.b=r.g.d-t.f.g.d}return e}function J5e(e,t,n){var r,i,a,o=kN(e,n),s=V(IX,tW,9,t.length,0,1);for(r=0,a=o.Jc();a.Ob();)i=P(a.Pb(),12),hg(eS(K(i,(Y(),f$))))&&(s[r++]=P(K(i,O$),9));if(r<t.length)throw D(new cg(`Expected `+t.length+` hierarchical ports, but found only `+r+`.`));return s}function Y5e(e){var t,n,r,i,a,o,s,c,l,u,d=R$e(e);return t=e.a,c=t!=null,c&&uC(d,`category`,e.a),i=x_(new Zp(e.d)),o=!i,o&&(l=new _p,Zk(d,`knownOptions`,l),n=new vre(l),dO(new Zp(e.d),n)),a=x_(e.g),s=!a,s&&(u=new _p,Zk(d,`supportedFeatures`,u),r=new yre(u),dO(e.g,r)),d}function X5e(e,t){var n;e.d&&(t.c!=e.e.c||Xze(e.e.b,t.b))&&($b(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),pfe(t.b)?e.c=t:e.b=t,(t.b==(xM(),EX)&&!t.a||t.b==DX&&t.a||t.b==OX&&t.a||t.b==kX&&!t.a)&&e.c&&e.b&&(n=new zT(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=n,e.e=t)}function Z5e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=7&&t){if(FI(e,t))throw D(new sg(uq+z0e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?KXe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=P(t,52).Oh(e,1,t7,r)),r=GSe(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,7,t,t))}function Q5e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(FI(e,t))throw D(new sg(uq+kWe(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?XXe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=P(t,52).Oh(e,0,o7,r)),r=KSe(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,3,t,t))}function $5e(e,t){cz();var n,r,i,a,o,s,c,l,u;return t.d>e.d&&(s=e,e=t,t=s),t.d<63?a9e(e,t):(o=(e.d&-2)<<4,l=vNe(e,o),u=vNe(t,o),r=Uit(e,SO(l,o)),i=Uit(t,SO(u,o)),c=$5e(l,u),n=$5e(r,i),a=$5e(Uit(l,r),Uit(i,u)),a=lB(lB(a,c),n),a=SO(a,o),c=SO(c,o<<1),lB(lB(c,a),n))}function GR(){GR=C,W0=new Vv(Imt,0),DAt=new Vv(`LONGEST_PATH`,1),OAt=new Vv(`LONGEST_PATH_SOURCE`,2),V0=new Vv(`COFFMAN_GRAHAM`,3),EAt=new Vv(vW,4),kAt=new Vv(`STRETCH_WIDTH`,5),U0=new Vv(`MIN_WIDTH`,6),B0=new Vv(`BF_MODEL_ORDER`,7),H0=new Vv(`DF_MODEL_ORDER`,8)}function e7e(e,t){var n,r,i,a,o,s;if(!e.tb){for(a=(!e.rb&&(e.rb=new hw(e,F7,e)),e.rb),s=new D_(a.i),i=new lx(a);i.e!=i.i.gc();)r=P(OF(i),143),o=r.ve(),n=P(o==null?XL(s.f,null,r):iP(s.i,o,r),143),n&&(o==null?XL(s.f,null,n):iP(s.i,o,n));e.tb=s}return P(vE(e.tb,t),143)}function KR(e,t){var n,r,i,a,o;if((e.i??Rz(e),e.i).length,!e.p){for(o=new D_((3*e.g.i/2|0)+1),i=new Ox(e.g);i.e!=i.i.gc();)r=P(kF(i),179),a=r.ve(),n=P(a==null?XL(o.f,null,r):iP(o.i,a,r),179),n&&(a==null?XL(o.f,null,n):iP(o.i,a,n));e.p=o}return P(vE(e.p,t),179)}function t7e(e,t,n,r,i){var a,o,s,c,l;for(Cqe(r+uE(n,n.ge()),i),kwe(t,YGe(n)),a=n.f,a&&t7e(e,t,a,`Caused by: `,!1),s=(n.k??=V(Jyt,X,80,0,0,1),n.k),c=0,l=s.length;c<l;++c)o=s[c],t7e(e,t,o,`Suppressed: `,!1);console.groupEnd!=null&&console.groupEnd.call(console)}function qR(e,t,n,r){var i,a,o,s,c=t.e;for(s=c.length,o=t.q.tg(c,n?0:s-1,n),i=c[n?0:s-1],o|=Eet(e,i,n,r),a=n?1:s-2;n?a<s:a>=0;a+=n?1:-1)o|=t.c.jg(c,a,n,r&&!hg(eS(K(t.j,(Y(),c$))))&&!hg(eS(K(t.j,(Y(),P$))))),o|=t.q.tg(c,a,n),o|=Eet(e,c[a],n,r);return Tw(e.c,t),o}function JR(e,t,n){var r,i,a,o,s,c,l,u,d,f;for(u=GAe(e.j),d=0,f=u.length;d<f;++d){if(l=u[d],n==(VA(),p2)||n==h2)for(c=SD(l.g),i=c,a=0,o=i.length;a<o;++a)r=i[a],p0e(t,r)&&Bz(r,!0);if(n==m2||n==h2)for(s=SD(l.e),i=s,a=0,o=i.length;a<o;++a)r=i[a],f0e(t,r)&&Bz(r,!0)}}function n7e(){return RB(),U(k(Mwt,1),Z,79,0,[cwt,awt,XX,eZ,Dwt,rZ,vZ,cZ,Twt,gwt,Cwt,sZ,Ewt,pwt,Owt,$Ct,uZ,mZ,tZ,pZ,Awt,fZ,ewt,wwt,jwt,gZ,QCt,kwt,nZ,uwt,xwt,bwt,yZ,rwt,QX,aZ,nwt,oZ,vwt,mwt,Swt,$X,owt,iwt,ywt,hwt,lZ,_Z,twt,dZ,_wt,iZ,dwt,lwt,hZ,ZX,fwt,swt])}function r7e(e){var t=null,n=null;switch(xQe(e).g){case 1:t=(wB(),p5),n=N5;break;case 2:t=(wB(),j5),n=m5;break;case 3:t=(wB(),N5),n=p5;break;case 4:t=(wB(),m5),n=j5}kp(e,P(yx(rw(P(DO(e.k,t),16).Mc(),KZ)),113)),Op(e,P(yx(nw(P(DO(e.k,n),16).Mc(),KZ)),113))}function YR(e){var t;if(uae.call(this),this.i=new rc,this.g=e,this.f=P(e.e&&e.e(),10).length,this.f==0)throw D(new sg(`There must be at least one phase in the phase enumeration.`));this.c=(t=P(t_(this.g),10),new FS(t,P(gS(t,t.length),10),0)),this.a=new pT,this.b=new oh}function i7e(e){var t,n,r,i=P(AC(e.j,0),12),a,o;if(i.e.c.length+i.g.c.length==0)e.n.a=0;else{for(o=0,r=xw(IA(U(k(QJ,1),$B,20,0,[new Bm(i),new Hm(i)])));CR(r);)n=P(CO(r),12),o+=n.i.n.a+n.n.a+n.a.a;t=P(K(e,(PB(),s0)),8),a=t?t.a:0,e.n.a=o/(i.e.c.length+i.g.c.length)-a}}function a7e(e,t){var n,r,i;for(r=new E(t.a);r.a<r.c.c.length;)n=P(z(r),225),ISe(P(n.b,68),TS(qb(P(t.b,68).c),P(t.b,68).a)),i=Znt(P(t.b,68).b,P(n.b,68).b),i>1&&(e.a=!0),FSe(P(n.b,68),wS(qb(P(t.b,68).c),nx(TS(qb(P(n.b,68).a),P(t.b,68).a),i))),NOe(e,t),a7e(e,n)}function o7e(e){var t,n,r,i,a,o,s;for(a=new E(e.a.a);a.a<a.c.c.length;)r=P(z(a),194),r.e=0,r.d.a.$b();for(i=new E(e.a.a);i.a<i.c.c.length;)for(r=P(z(i),194),n=r.a.a.ec().Jc();n.Ob();)for(t=P(n.Pb(),82),s=t.f.Jc();s.Ob();)o=P(s.Pb(),82),o.d!=r&&(Tw(r.d,o),++o.d.e)}function s7e(e,t){var n,r,i,a,o,s,c;for(t.Tg(`Constraints Postprocessor`,1),o=0,a=new E(e.b);a.a<a.c.c.length;){for(i=P(z(a),25),c=0,s=!1,r=new E(i.a);r.a<r.c.c.length;)n=P(z(r),9),n.k==(MR(),HX)&&(s=!0,W(n,(PB(),V1),G(o)),W(n,x1,G(c)),++c);s&&++o}t.Ug()}function c7e(e){var t,n,r,i,a,o,s,c=e.j.c.length;for(n=0,t=c,i=2*c,s=new E(e.j);s.a<s.c.c.length;)switch(o=P(z(s),12),o.j.g){case 2:case 4:o.p=-1;break;case 1:case 3:r=o.e.c.length,a=o.g.c.length,r>0&&a>0?o.p=t++:r>0?o.p=n++:a>0?o.p=i++:o.p=n++}KT(),Vb(e.j,new tr)}function l7e(e){var t,n=null;t=P(AC(e.g,0),17);do{if(n=t.d.i,Kx(n,(Y(),b$)))return P(K(n,b$),12).i;if(n.k!=(MR(),HX)&&CR(new XC(dx(fP(n).a.Jc(),new f))))t=P(CO(new XC(dx(fP(n).a.Jc(),new f))),17);else if(n.k!=HX)return null}while(n&&n.k!=(MR(),HX));return n}function u7e(e,t){var n,r,i,a,o,s=t.j,c,l,u;for(o=t.g,c=P(AC(s,s.c.length-1),113),u=(oD(0,s.c.length),P(s.c[0],113)),l=_I(e,o,c,u),a=1;a<s.c.length;a++)n=(oD(a-1,s.c.length),P(s.c[a-1],113)),i=(oD(a,s.c.length),P(s.c[a],113)),r=_I(e,o,n,i),r>l&&(c=n,u=i,l=r);t.a=u,t.c=c}function XR(e,t,n,r){var i=j(K(n,(PB(),u1)))===j((SM(),HQ)),a=P(K(n,ykt),16);if(Kx(e,(Y(),w$)))if(i){if(a.Gc(K(e,d1))&&a.Gc(K(t,d1)))return r*P(K(e,d1),15).a+P(K(e,w$),15).a}else return P(K(e,w$),15).a;else return-1;return P(K(e,w$),15).a}function d7e(e,t,n){var r,i,a,o,s,c,l=new s_(new ine(e));for(o=U(k(KCt,1),Ift,12,0,[t,n]),s=0,c=o.length;s<c;++s)for(a=o[s],l.a.yc(a,(mx(),cY)),i=new IO(a.b);Hb(i.a)||Hb(i.b);)r=P(Hb(i.a)?z(i.a):z(i.b),17),r.c==r.d||Ew(l,a==r.c?r.d:r.c);return Kw(l),new NS(l)}function ZR(e){if(!e.a.d||!e.a.e)throw D(new cg(($x(kxt),kxt.k+` must have a source and target `+($x(Axt),Axt.k)+` specified.`)));if(e.a.d==e.a.e)throw D(new cg(`Network simplex does not support self-loops: `+e.a+` `+e.a.d+` `+e.a.e));return Sx(e.a.d.g,e.a),Sx(e.a.e.b,e.a),e.a}function f7e(e,t,n){var r,i,a,o,s;for(n.Tg(`Longest path layering`,1),e.a=t,s=e.a.a,e.b=V(q9,JV,30,s.c.length,15,1),r=0,o=new E(s);o.a<o.c.c.length;)i=P(z(o),9),i.p=r,e.b[r]=-1,++r;for(a=new E(s);a.a<a.c.c.length;)i=P(z(a),9),x8e(e,i);s.c.length=0,e.a=null,e.b=null,n.Ug()}function p7e(e,t,n){var r=0,i,a,o,s,c;if(t.b!=0&&n.b!=0){a=TF(t,0),o=TF(n,0),s=O(N(RD(a))),c=O(N(RD(o))),i=!0;do{if(s>c-e.b&&s<c+e.b)return-1;s>c-e.a&&s<c+e.a&&++r,s<=c&&a.b!=a.d.c?s=O(N(RD(a))):c<=s&&o.b!=o.d.c?c=O(N(RD(o))):i=!1}while(i)}return r}function m7e(e,t){var n,r;return TT(e.a),kw(e.a,(cj(),M4),M4),kw(e.a,N4,N4),r=new pT,bC(r,N4,(aL(),L4)),j(J(t,(PL(),H4)))!==j(($M(),B4))&&bC(r,N4,P4),hg(eS(J(t,_Pt)))&&bC(r,N4,R4),bC(r,N4,F4),hg(eS(J(t,yPt)))&&UC(r,N4,I4),bfe(e.a,r),n=cB(e.a,t),n}function h7e(e,t,n,i){var a,o,s,c,l=0,u,d,p,m;for(d=new E(e.a);d.a<d.c.c.length;){for(u=P(z(d),9),c=0,o=new XC(dx(uP(u).a.Jc(),new f));CR(o);)a=P(CO(o),17),p=aD(a.c).b,m=aD(a.d).b,c=r.Math.max(c,r.Math.abs(m-p));l=r.Math.max(l,c)}return s=i*r.Math.min(1,t/n)*l,s}function g7e(e){var t,n;for(n=new XC(dx(fP(e).a.Jc(),new f));CR(n);)if(t=P(CO(n),17),t.d.i.k!=(MR(),zX))throw D(new vg(sW+SI(e)+`' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen.`))}function _7e(e,t){var n,r,i,a,o=P(K(t,(Lz(),_Nt)),425);for(a=TF(t.b,0);a.b!=a.d.c;)if(i=P(RD(a),40),e.b[i.g]==0){switch(o.g){case 0:aYe(e,i);break;case 1:O6e(e,i)}e.b[i.g]=2}for(r=TF(e.a,0);r.b!=r.d.c;)n=P(RD(r),65),MP(n.b.d,n,!0),MP(n.c.b,n,!0);W(t,(CB(),UMt),e.a)}function v7e(e){var t=new Dg;return e&256&&(t.a+=`F`),e&128&&(t.a+=`H`),e&512&&(t.a+=`X`),e&2&&(t.a+=`i`),e&8&&(t.a+=`m`),e&4&&(t.a+=`s`),e&32&&(t.a+=`u`),e&64&&(t.a+=`w`),e&16&&(t.a+=`x`),(e&$q)!=0&&(t.a+=`,`),Qae(t.a)}function y7e(e,t,n,r,i){var a,o,s,c=(a=P(t_(P5),10),new FS(a,P(gS(a,a.length),10),0));for(s=new E(e.j);s.a<s.c.c.length;)o=P(z(s),12),t[o.p]&&(rlt(o,t[o.p],r),ij(c,o.j));i?(i$e(e,t,(wB(),p5),2*n,r),i$e(e,t,N5,2*n,r)):(i$e(e,t,(wB(),m5),2*n,r),i$e(e,t,j5,2*n,r))}function b7e(e,t){var n,r,i=new ah,a,o,s,c;for(n=0;n<=e.j;n++)r=new tT(t),r.p=e.j-n,ph(i.c,r);for(s=new E(e.p);s.a<s.c.c.length;)o=P(z(s),9),BE(o,P(AC(i,e.j-e.g[o.p]),25));for(a=new E(i);a.a<a.c.c.length;)c=P(z(a),25),c.a.c.length==0&&Ow(a);t.b.c.length=0,pM(t.b,i)}function x7e(e,t,n){for(var r=P(DO(e.c,t),16),i=P(DO(e.c,n),16),a=r.dd(r.gc()),o=i.dd(i.gc()),s,c;a.Sb()&&o.Sb();)if(s=P(a.Ub(),15),c=P(o.Ub(),15),s!=c)return Ub(s.a,c.a);return!a.Ob()&&!o.Ob()?t.p<n.p?-1:+(t.p>n.p):a.Ob()?1:-1}function S7e(e,t){var n,i,a,o,s,c;t.Tg(Uht,1),a=P(J(e,(uz(),_3)),104),o=(!e.a&&(e.a=new F(p7,e,10,11)),e.a),s=CXe(o),c=r.Math.max(s.a,O(N(J(e,(fz(),c3))))-(a.b+a.c)),i=r.Math.max(s.b,O(N(J(e,a3)))-(a.d+a.a)),n=i-s.b,IF(e,n3,n),IF(e,i3,c),IF(e,r3,i+n),t.Ug()}function QR(e){var t,n;if((!e.a&&(e.a=new F(a7,e,6,6)),e.a).i==0)return AVe(e);for(t=P(H((!e.a&&(e.a=new F(a7,e,6,6)),e.a),0),170),oB((!t.a&&(t.a=new ix(e7,t,5)),t.a)),DA(t,0),OA(t,0),SA(t,0),CA(t,0),n=(!e.a&&(e.a=new F(a7,e,6,6)),e.a);n.i>1;)az(n,n.i-1);return t}function $R(e,t){rv();var n,r,i,a;return t?t==(dB(),wVt)||(t==fVt||t==S9||t==dVt)&&e!=uVt?new wct(e,t):(r=P(t,682),n=r.Yk(),n||=(ET(wk((HL(),p9),t)),r.Yk()),a=(!n.i&&(n.i=new oh),n.i),i=P(By(VC(a.f,e)),2003),!i&&ST(a,e,i=new wct(e,t)),i):rVt}function C7e(e,t){var n;if(!Ew(e.b,t.b))throw D(new cg(`Invalid hitboxes for scanline constraint calculation.`));(wVe(t.b,P(Dce(e.b,t.b),60))||wVe(t.b,P(Ece(e.b,t.b),60)))&&O_(),e.a[t.b.f]=P(kce(e.b,t.b),60),n=P(Oce(e.b,t.b),60),n&&(e.a[n.f]=t.b)}function w7e(e,t){var n,r,i,a,o,s,c=P(K(e,(Y(),T$)),12),l=PM(U(k(o6,1),X,8,0,[c.i.n,c.n,c.a])).a,u=e.i.n.b;for(n=SD(e.e),i=n,a=0,o=i.length;a<o;++a)r=i[a],VE(r,c),eb(r.a,new A(l,u)),t&&(s=P(K(r,(PB(),z1)),78),s||(s=new Rh,W(r,z1,s)),pC(s,new A(l,u)))}function T7e(e,t){var n,r,i=P(K(e,(Y(),T$)),12),a,o,s,c,l=PM(U(k(o6,1),X,8,0,[i.i.n,i.n,i.a])).a,u=e.i.n.b;for(n=SD(e.g),o=n,s=0,c=o.length;s<c;++s)a=o[s],zE(a,i),tb(a.a,new A(l,u)),t&&(r=P(K(a,(PB(),z1)),78),r||(r=new Rh,W(a,z1,r)),pC(r,new A(l,u)))}function E7e(e){var t,n,r=e.b,i,a=r.e,o=ES(P(K(r,(PB(),l0)),102)),s,c,l;if(n=!!a&&P(K(a,(Y(),l$)),22).Gc((oz(),AQ)),!(o||n))for(l=(s=new om(e.e).a.vc().Jc(),new sm(s));l.a.Ob();)c=(t=P(l.a.Pb(),45),P(t.kd(),113)),c.a&&(i=c.d,HE(i,null),c.c=!0,e.a=!0)}function D7e(e,t){var n,r,i,a;for(t.Tg(`Semi-Interactive Crossing Minimization Processor`,1),n=!1,i=new E(e.b);i.a<i.c.c.length;)r=P(z(i),25),a=ON($k(AT(AT(new jC(null,new nD(r.a,16)),new Rr),new zr),new Br),new Vr),n|=a.a!=null;n&&W(e,(Y(),iEt),(mx(),!0)),t.Ug()}function O7e(e,t){var n,r,i,a,o,s;for(e.b=new ah,e.d=P(K(t,(Y(),j$)),234),e.e=Uke(e.d),a=new E_,i=OO(U(k(FCt,1),Mft,37,0,[t])),o=0;o<i.c.length;)r=(oD(o,i.c.length),P(i.c[o],37)),r.p=o++,n=new vst(r,e.a,e.b),pM(i,n.b),$b(e.b,n),n.s&&(s=TF(a,0),Pw(s,n));return e.c=new Dh,a}function k7e(e,t){var n,r,i,a,o,s;for(o=P(P(DO(e.r,t),22),83).Jc();o.Ob();)a=P(o.Pb(),115),n=a.c?yxe(a.c):0,n>0?a.a?(s=a.b.Kf().a,n>s&&(i=(n-s)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:lw(e.u)&&(r=K$e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.Kf().a&&(a.d.c=r.c+r.b-a.b.Kf().a))}function A7e(e,t){var n,r,i,a,o=new ah;n=t;do a=P(Zw(e.b,n),132),a.B=n.c,a.D=n.d,ph(o.c,a),n=P(Zw(e.k,n),17);while(n);return r=(oD(0,o.c.length),P(o.c[0],132)),r.j=!0,r.A=P(r.d.a.ec().Jc().Pb(),17).c.i,i=P(AC(o,o.c.length-1),132),i.q=!0,i.C=P(i.d.a.ec().Jc().Pb(),17).d.i,o}function j7e(e){var t,n=P(K(e,(PB(),B1)),165);t=P(K(e,(Y(),p$)),315),n==(bP(),J$)?(W(e,B1,Z$),W(e,p$,(Nk(),qQ))):n==X$?(W(e,B1,Z$),W(e,p$,(Nk(),GQ))):t==(Nk(),qQ)?(W(e,B1,J$),W(e,p$,KQ)):t==GQ&&(W(e,B1,X$),W(e,p$,KQ))}function ez(){ez=C,B2=new $a,sMt=bC(new pT,(bL(),vX),(RB(),tZ)),uMt=UC(bC(new pT,vX,fZ),bX,dZ),dMt=oF(oF(Z_(UC(bC(new pT,gX,vZ),bX,_Z),yX),gZ),yZ),cMt=UC(bC(bC(bC(new pT,_X,rZ),yX,aZ),yX,oZ),bX,iZ),lMt=UC(bC(bC(new pT,yX,oZ),yX,QX),bX,ZX)}function tz(){tz=C,mMt=bC(UC(new pT,(bL(),bX),(RB(),dwt)),vX,tZ),vMt=oF(oF(Z_(UC(bC(new pT,gX,vZ),bX,_Z),yX),gZ),yZ),hMt=UC(bC(bC(bC(new pT,_X,rZ),yX,aZ),yX,oZ),bX,iZ),_Mt=bC(bC(new pT,vX,fZ),bX,dZ),gMt=UC(bC(bC(new pT,yX,oZ),yX,QX),bX,ZX)}function M7e(e,t,n,r,i){var a,o;(!xO(t)&&t.c.i.c==t.d.i.c||!oze(PM(U(k(o6,1),X,8,0,[i.i.n,i.n,i.a])),n))&&!xO(t)&&(t.c==i?Rx(t.a,0,new mb(n)):pC(t.a,new mb(n)),r&&!w_(e.a,n)&&(o=P(K(t,(PB(),z1)),78),o||(o=new Rh,W(t,z1,o)),a=new mb(n),iO(o,a,o.c.b,o.c),Tw(e.a,a)))}function N7e(e,t){var n,r,i,a=RC(cP(EV,bT(RC(cP(t==null?0:Cj(t),DV)),15)));for(n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&cT(r.i,t))return i?i.a=r.a:e.b[n]=r.a,Aoe(P(uT(r.c),593),P(uT(r.f),593)),mh(P(uT(r.b),227),P(uT(r.e),227)),--e.f,++e.e,!0;return!1}function P7e(e){var t,n;for(n=new XC(dx(uP(e).a.Jc(),new f));CR(n);)if(t=P(CO(n),17),t.c.i.k!=(MR(),zX))throw D(new vg(sW+SI(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 F7e(e,t){var n,r,i=t?new aa:new oa,a=!1,o,s,c,l,u,d,f;do for(a=!1,l=t?AP(e.b):e.b,c=l.Jc();c.Ob();)for(s=P(c.Pb(),25),f=pD(s.a),t||AP(f),d=new E(f);d.a<d.c.c.length;)u=P(z(d),9),i.Mb(u)&&(r=u,n=P(K(u,(Y(),XQ)),317),o=t?n.b:n.k,a=set(r,o,t,!1));while(a)}function I7e(e,t,n){var r,i=bWe(e.Db&254),a,o,s,c,l;if(i==0)e.Eb=n;else{if(i==1)s=V(ZJ,$B,1,2,5,1),a=mI(e,t),a==0?(s[0]=n,s[1]=e.Eb):(s[0]=e.Eb,s[1]=n);else for(s=V(ZJ,$B,1,i+1,5,1),o=gA(e.Eb),r=2,c=0,l=0;r<=128;r<<=1)r==t?s[l++]=n:(e.Db&r)!=0&&(s[l++]=o[c++]);e.Eb=s}e.Db|=t}function L7e(e,t,n,i,a,o){var s,c,l,u,d=i,f,p,m,h,g,_,v;for(t.j&&t.o?(m=P(Zw(e.f,t.A),60),g=m.d.c+m.d.b,--d):g=t.a.c+t.a.b,f=a,n.q&&n.o?(m=P(Zw(e.f,n.C),60),u=m.d.c,++f):u=n.a.c,_=u-g,l=r.Math.max(2,f-d),c=_/l,h=g+c,p=d;p<f;++p)s=P(o.Xb(p),132),v=s.a.b,s.a.c=h-v/2,h+=c}function R7e(e,t,n,r,i,a){var o,s,c,l=n.c.length,u,d;for(a&&(e.c=V(q9,JV,30,t.length,15,1)),o=i?0:t.length-1;i?o<t.length:o>=0;o+=i?1:-1){for(s=t[o],c=r==(wB(),p5)?i?rP(s,r):AP(rP(s,r)):i?AP(rP(s,r)):rP(s,r),a&&(e.c[s.p]=c.gc()),d=c.Jc();d.Ob();)u=P(d.Pb(),12),e.d[u.p]=l++;pM(n,c)}}function z7e(e,t,n){var r,i,a=O(N(e.b.Jc().Pb())),o,s,c,l=O(N(sVe(t.b))),u;for(r=nx(qb(e.a),l-n),i=nx(qb(t.a),n-a),u=wS(r,i),nx(u,1/(l-a)),this.a=u,this.b=new ah,s=!0,o=e.b.Jc(),o.Pb();o.Ob();)c=O(N(o.Pb())),s&&c-n>qG&&(this.b.Ec(n),s=!1),this.b.Ec(c);s&&this.b.Ec(n)}function B7e(e){var t,n,r,i;if(htt(e,e.n),e.d.c.length>0){for(fg(e.c);l6e(e,P(z(new E(e.e.a)),124))<e.e.a.c.length;){for(t=SXe(e),i=t.e.e-t.d.e-t.a,t.e.j&&(i=-i),r=new E(e.e.a);r.a<r.c.c.length;)n=P(z(r),124),n.j&&(n.e+=i);fg(e.c)}fg(e.c),A4e(e,P(z(new E(e.e.a)),124)),Pot(e)}}function V7e(e,t,n){var r,i,a,o,s;for(n.Tg(`Longest path to source layering`,1),e.a=t,s=e.a.a,e.b=V(q9,JV,30,s.c.length,15,1),r=0,o=new E(s);o.a<o.c.c.length;)i=P(z(o),9),i.p=r,e.b[r]=-1,++r;for(a=new E(s);a.a<a.c.c.length;)i=P(z(a),9),S8e(e,i);s.c.length=0,e.a=null,e.b=null,n.Ug()}function H7e(e,t){wM();var n=_O(zA(),t.Og()),r;if(n){if(r=n.j,M(e,206))return hOe(P(e,26))?wx(r,(CF(),J3))||wx(r,Y3):wx(r,(CF(),J3));if(M(e,271))return wx(r,(CF(),K3));if(M(e,193))return wx(r,(CF(),X3));if(M(e,362))return wx(r,(CF(),q3))}return!0}function U7e(e,t,n){var r,i=n,a=i.Jk(),o,s,c;if(nz(e.e,a)){if(a.Qi()){for(r=P(e.g,122),o=0;o<e.i;++o)if(s=r[o],DN(s,i)&&o!=t)throw D(new sg(Fq))}}else for(c=$R(e.e.Ah(),a),r=P(e.g,122),o=0;o<e.i;++o)if(s=r[o],c.$l(s.Jk())&&o!=t)throw D(new sg(RJ));return P(WF(e,t,n),75)}function W7e(e,t){if(t instanceof Object)try{if(t.__java$exception=e,navigator.userAgent.toLowerCase().indexOf(`msie`)!=-1&&$doc.documentMode<9)return;var n=e;Object.defineProperties(t,{cause:{get:function(){var e=n.fe();return e&&e.de()}},suppressed:{get:function(){return n.ee()}}})}catch{}}function G7e(e,t){var n,r=t>>5,i,a,o;if(t&=31,r>=e.d)return e.e<0?(vz(),Mbt):(vz(),SY);if(a=e.d-r,i=V(q9,JV,30,a+1,15,1),A0e(i,a,e.a,r,t),e.e<0){for(n=0;n<r&&e.a[n]==0;n++);if(n<r||t>0&&e.a[n]<<32-t){for(n=0;n<a&&i[n]==-1;n++)i[n]=0;n==a&&++a,++i[n]}}return o=new gw(e.e,a,i),yD(o),o}function K7e(e,t,n,r){var i,a,o,s=cL(P(H((!t.b&&(t.b=new xS(r7,t,4,7)),t.b),0),84)),c=cL(P(H((!t.c&&(t.c=new xS(r7,t,5,8)),t.c),0),84));return PE(s)==PE(c)||iA(c,s)?null:(o=AE(t),o==n?r:(a=P(Zw(e.a,o),9),a&&(i=a.e,i)?i:null))}function q7e(e,t){var n=P(K(e,(PB(),k1)),284);switch(t.Tg(`Label side selection (`+n+`)`,1),n.g){case 0:f6e(e,(AI(),I8));break;case 1:f6e(e,(AI(),L8));break;case 2:cit(e,(AI(),I8));break;case 3:cit(e,(AI(),L8));break;case 4:_9e(e,(AI(),I8));break;case 5:_9e(e,(AI(),L8))}t.Ug()}function nz(e,t){rv();var n,r,i;return t.Hk()?!0:t.Gk()==-2?t==(gR(),_9)||t==g9||t==aVt||t==oVt?!0:(i=e.Ah(),NP(i,t)>=0?!1:(n=uB((HL(),p9),i,t),n?(r=n.Gk(),(r>1||r==-1)&&hT(wk(p9,n))!=3):!0)):!1}function J7e(e,t,n,r){var i,a,o,s,c=e.c.d,l=e.d.d,u,d,f,p;if(c.j!=l.j)for(p=e.b,u=null,s=null,o=xqe(e),o&&p.i&&(u=e.b.i.i,s=p.i.j),i=c.j,d=null;i!=l.j;)d=t==0?KN(i):JWe(i),a=Gqe(i,p.d[i.g],n),f=Gqe(d,p.d[d.g],n),o&&u&&s&&(i==u?SGe(a,u,s):d==u&&SGe(f,u,s)),pC(r,wS(a,f)),i=d}function Y7e(e,t,n){var r=Koe(n,e.length),i,a,o=e[r],s,c;if(a=Goe(n,o.length),o[a].k==(MR(),RX))for(c=t.j,i=0;i<c.c.length;i++)s=(oD(i,c.c.length),P(c.c[i],12)),(n?s.j==(wB(),p5):s.j==(wB(),N5))&&hg(eS(K(s,(Y(),f$))))&&(fO(c,i,P(K(o[a],(Y(),T$)),12)),a+=n?1:-1)}function X7e(e,t){var n,r,i,a,o,s,c,l;t.Tg(`Greedy Width Approximator`,1),n=O(N(J(e,(uz(),f3)))),c=P(J(e,_3),104),a=P(J(e,xFt),387),o=hg(eS(J(e,bFt))),s=O(N(J(e,v3))),l=(!e.a&&(e.a=new F(p7,e,10,11)),e.a),Sze(l),i=new Pye(n,a,o),r=ptt(i,l,s,c),IF(e,(fz(),u3),r.c),t.Ug()}function Z7e(e){if(e.g==null)switch(e.p){case 0:e.g=sOe(e)?(mx(),lY):(mx(),cY);break;case 1:e.g=jk(Hje(e));break;case 2:e.g=Jj(Tke(e));break;case 3:e.g=Zwe(e);break;case 4:e.g=new em(Qwe(e));break;case 6:e.g=uF($we(e));break;case 5:e.g=G(DDe(e));break;case 7:e.g=SN(Gje(e))}return e.g}function Q7e(e){if(e.n==null)switch(e.p){case 0:e.n=cOe(e)?(mx(),lY):(mx(),cY);break;case 1:e.n=jk(Uje(e));break;case 2:e.n=Jj(Eke(e));break;case 3:e.n=eTe(e);break;case 4:e.n=new em(tTe(e));break;case 6:e.n=uF(nTe(e));break;case 5:e.n=G(ODe(e));break;case 7:e.n=SN(Wje(e))}return e.n}function $7e(e,t,n,r){var i,a,o,s=(rv(),P(t,69).vk()),c;if(nz(e.e,t)){if(t.Qi()&&zz(e,t,r,M(t,103)&&(P(t,19).Bb&_H)!=0))throw D(new sg(Fq))}else for(c=$R(e.e.Ah(),t),i=P(e.g,122),o=0;o<e.i;++o)if(a=i[o],c.$l(a.Jk()))throw D(new sg(RJ));FN(e,Z0e(e,t,n),s?P(r,75):qD(t,r))}function e9e(e){var t,n,r,i,a,o,s;for(a=new E(e.a.a);a.a<a.c.c.length;)r=P(z(a),320),r.g=0,r.i=0,r.e.a.$b();for(i=new E(e.a.a);i.a<i.c.c.length;)for(r=P(z(i),320),n=r.a.a.ec().Jc();n.Ob();)for(t=P(n.Pb(),60),s=t.c.Jc();s.Ob();)o=P(s.Pb(),60),o.a!=r&&(Tw(r.e,o),++o.a.g,++o.a.i)}function t9e(e){var t,n,i,a=P(K(e,(PB(),t0)),22),o=P(K(e,i0),22);n=new A(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new mb(n),a.Gc((tF(),I5))&&(i=P(K(e,r0),8),o.Gc((Tz(),U5))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=r.Math.max(n.a,i.a),t.b=r.Math.max(n.b,i.b)),Pit(e,n,t)}function n9e(e,t){var n,r,i;t.a?(Ew(e.b,t.b),e.a[t.b.i]=P(kce(e.b,t.b),82),n=P(Oce(e.b,t.b),82),n&&(e.a[n.i]=t.b)):(r=P(kce(e.b,t.b),82),r&&r==e.a[t.b.i]&&r.d&&r.d!=t.b.d&&r.f.Ec(t.b),i=P(Oce(e.b,t.b),82),i&&e.a[i.i]==t.b&&i.d&&i.d!=t.b.d&&t.b.f.Ec(i),Vpe(e.b,t.b))}function r9e(e,t){var n,i,a,o=e.d,s,c=O(N(K(e,(PB(),N1))));return c<0&&(c=0,W(e,N1,c)),t.o.b=c,s=r.Math.floor(c/2),i=new jL,tR(i,(wB(),N5)),HE(i,t),i.n.b=s,a=new jL,tR(a,p5),HE(a,t),a.n.b=s,VE(e,i),n=new rE,Xj(n,e),W(n,z1,null),zE(n,a),VE(n,o),_rt(t,e,n),A2e(e,n),n}function i9e(e){var t,n=P(K(e,(Y(),l$)),22);return t=new pT,n.Gc((oz(),jQ))&&(Ij(t,nMt),Ij(t,iMt)),(n.Gc(NQ)||hg(eS(K(e,(PB(),P1)))))&&(Ij(t,iMt),n.Gc(PQ)&&Ij(t,aMt)),n.Gc(AQ)&&Ij(t,tMt),n.Gc(IQ)&&Ij(t,oMt),n.Gc(MQ)&&Ij(t,rMt),n.Gc(DQ)&&Ij(t,$jt),n.Gc(kQ)&&Ij(t,eMt),t}function a9e(e,t){var n,r=e.d,i,a=t.d,o,s=r+a,c=e.e==t.e?1:-1,l,u,d,f;return s==2?(u=cP(uD(e.a[0],xH),uD(t.a[0],xH)),f=RC(u),d=RC(tw(u,32)),d==0?new WD(c,f):new gw(c,2,U(k(q9,1),JV,30,15,[f,d]))):(n=e.a,i=t.a,o=V(q9,JV,30,s,15,1),oWe(n,r,i,a,o),l=new gw(c,s,o),yD(l),l)}function o9e(e,t,n,r){var i,a;if(t){if(i=e.a.Le(n.d,t.d),i==0)return r.d=Fge(t,n.e),r.b=!0,t;a=i<0?0:1,t.a[a]=o9e(e,t.a[a],n,r),pg(t.a[a])&&(pg(t.a[1-a])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):pg(t.a[a].a[a])?t=fj(t,1-a):pg(t.a[a].a[1-a])&&(t=CAe(t,1-a)))}else return n;return t}function s9e(e,t,n){var i,a=e.i,o,s;i=e.n,ONe(e,(uA(),IY),a.c+i.b,n),ONe(e,RY,a.c+a.b-i.c-n[2],n),s=a.b-i.b-i.c,n[0]>0&&(n[0]+=e.d,s-=n[0]),n[2]>0&&(n[2]+=e.d,s-=n[2]),o=r.Math.max(0,s),n[1]=r.Math.max(n[1],s),ONe(e,LY,a.c+i.b+n[0]-(n[1]-s)/2,n),t==LY&&(e.c.b=o,e.c.c=a.c+i.b+(o-s)/2)}function c9e(){this.c=V(Z9,yH,30,(wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])).length,15,1),this.b=V(Z9,yH,30,U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5]).length,15,1),this.a=V(Z9,yH,30,U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5]).length,15,1),vle(this.c,pH),vle(this.b,mH),vle(this.a,mH)}function l9e(e,t,n,r){var i,a,o,s,c=t.i;for(s=n[c.g][e.d[c.g]],i=!1,o=new E(t.d);o.a<o.c.c.length;)if(a=P(z(o),70),hg(eS(K(a,(PB(),D1))))){i=!0;break}switch(i&&(r=0),c.g){case 1:s-=r+t.j.b,t.g.b=s;break;case 3:s+=r,t.g.b=s;break;case 4:s-=r+t.j.a,t.g.a=s;break;case 2:s+=r,t.g.a=s}}function rz(e,t,n){var r,i,a,o;if(t<=n?(i=t,a=n):(i=n,a=t),r=0,e.b==null)e.b=V(q9,JV,30,2,15,1),e.b[0]=i,e.b[1]=a,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i){e.b[r-1]=a;return}o=V(q9,JV,30,r+2,15,1),Fz(e.b,0,o,0,r),e.b=o,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||ER(e)}}function u9e(e,t,n){var r,i,a,o,s,c,l=t.d;for(e.a=new HO(l.c.length),e.c=new oh,s=new E(l);s.a<s.c.c.length;)o=P(z(s),107),a=new cM(null),$b(e.a,a),ST(e.c,o,a);for(e.b=new oh,I2e(e,t),r=0;r<l.c.length-1;r++)for(c=P(AC(t.d,r),107),i=r+1;i<l.c.length;i++)w5e(e,c,P(AC(t.d,i),107),n)}function d9e(e,t){var n=mH,i,a,o,s,c=(MR(),HX),l;for(a=new E(t.a);a.a<a.c.c.length;)i=P(z(a),9),o=i.k,o!=HX&&(s=N(K(i,(Y(),sEt))),s==null?(n=r.Math.max(n,0),i.n.b=n+Jme(e.a,o,c)):i.n.b=(dT(s),s)),l=Jme(e.a,o,c),i.n.b<n+l+i.d.d&&(i.n.b=n+l+i.d.d),n=i.n.b+i.o.b+i.d.a,c=o}function iz(e){var t,n,r,i=new ah,a;for(t=new EC((!e.a&&(e.a=new F(p7,e,10,11)),e.a)),r=new XC(dx(PR(e).a.Jc(),new f));CR(r);)n=P(CO(r),85),M(H((!n.b&&(n.b=new xS(r7,n,4,7)),n.b),0),193)||(a=cL(P(H((!n.c&&(n.c=new xS(r7,n,5,8)),n.c),0),84)),t.a._b(a)||ph(i.c,a));return i}function f9e(e,t,n){var r,i,a;if(e.e=n,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=Ttt(e.i)),e.j=e.i.length,NB(e),a=rF(e),e.d!=e.j)throw D(new xg(UB((Fb(),x_t))));if(e.g){for(r=0;r<e.g.a.c.length;r++)if(i=P(sT(e.g,r),580),e.f<=i.a)throw D(new xg(UB((Fb(),S_t))));e.g.a.c.length=0}return a}function p9e(e,t){var n,r,i,a,o,s,c;for(t.Tg(`Comment post-processing`,1),a=new E(e.b);a.a<a.c.c.length;){for(i=P(z(a),25),r=new ah,s=new E(i.a);s.a<s.c.c.length;)o=P(z(s),9),c=P(K(o,(Y(),G$)),16),n=P(K(o,YQ),16),(c||n)&&(gct(o,c,n),c&&pM(r,c),n&&pM(r,n));pM(i.a,r)}t.Ug()}function m9e(e,t,n,r,i){var a,o,s,c,l,u;if(e.d&&e.d.Fg(i),a=P(i.Xb(0),26),tYe(e,n,a,!1)||(o=P(i.Xb(i.gc()-1),26),tYe(e,r,o,!0))||D1e(e,i))return!0;for(u=i.Jc();u.Ob();)for(l=P(u.Pb(),26),c=t.Jc();c.Ob();)if(s=P(c.Pb(),26),lz(e,l,s))return!0;return!1}function h9e(e,t,n){var r,i,a,o,s,c,l,u,d,f=t.c.length;d=(l=e.Fh(n),P(l>=0?e.Ih(l,!1,!0):mR(e,n,!1),61));n:for(a=d.Jc();a.Ob();){for(i=P(a.Pb(),57),u=0;u<f;++u)if(o=(oD(u,t.c.length),P(t.c[u],75)),c=o.kd(),s=o.Jk(),r=i.Kh(s,!1),c==null?r!=null:!DN(c,r))continue n;return i}return null}function g9e(e,t,n,r){var i=P(NL(t,(wB(),N5)).Jc().Pb(),12),a=P(NL(t,p5).Jc().Pb(),12),o,s;for(s=new E(e.j);s.a<s.c.c.length;){for(o=P(z(s),12);o.e.c.length!=0;)VE(P(AC(o.e,0),17),i);for(;o.g.c.length!=0;)zE(P(AC(o.g,0),17),a)}n||W(t,(Y(),y$),null),r||W(t,(Y(),b$),null)}function _9e(e,t){var n=new Zb,r,i,a,o,s,c;for(a=new E(e.b);a.a<a.c.c.length;){for(i=P(z(a),25),c=!0,r=0,s=new E(i.a);s.a<s.c.c.length;)switch(o=P(z(s),9),o.k.g){case 4:++r;case 1:tje(n,o);break;case 0:k2e(o,t);default:n.b==n.c||ont(n,r,c,!1,t),c=!1,r=0}n.b==n.c||ont(n,r,c,!0,t)}}function v9e(e){var t,n,r,i,a,o,s,c,l;for(e.a=new Yge,l=0,i=0,r=new E(e.i.b);r.a<r.c.c.length;){for(t=P(z(r),25),t.p=i,c=new E(t.a);c.a<c.c.c.length;)s=P(z(c),9),s.p=l,++l;++i}for(a=e.r==(bz(),n2),o=a?zwt:Rwt,n=new E(e.i.b);n.a<n.c.c.length;)t=P(z(n),25),Vb(t.a,o),dLe(e.a,G(t.p),t.a)}function y9e(e,t){var n=0,r,i,a,o,s;for(s=new E(t);s.a<s.c.c.length;){for(o=P(z(s),12),$He(e.b,e.d[o.p]),i=new IO(o.b);Hb(i.a)||Hb(i.b);)r=P(Hb(i.a)?z(i.a):z(i.b),17),a=vse(e,o==r.c?r.d:r.c),a>e.d[o.p]&&(n+=JMe(e.b,a),LD(e.a,G(a)));for(;!mg(e.a);)MIe(e.b,P(Cw(e.a),15).a)}return n}function b9e(e,t,n){var r,i,a=(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i,o;for(i=new lx((!t.a&&(t.a=new F(p7,t,10,11)),t.a));i.e!=i.i.gc();)r=P(OF(i),26),(!r.a&&(r.a=new F(p7,r,10,11)),r.a).i==0||(a+=b9e(e,r,!1));if(n)for(o=PE(t);o;)a+=(!o.a&&(o.a=new F(p7,o,10,11)),o.a).i,o=PE(o);return a}function az(e,t){var n,r,i,a;return e.Nj()?(r=null,i=e.Oj(),e.Rj()&&(r=e.Tj(e.Yi(t),null)),n=e.Gj(4,a=OI(e,t),null,t,i),e.Kj()&&a!=null&&(r=e.Mj(a,r)),r?(r.lj(n),r.mj()):e.Hj(n),a):(a=OI(e,t),e.Kj()&&a!=null&&(r=e.Mj(a,null),r&&r.mj()),a)}function x9e(e){var t,n,i,a,o,s,c,l,u=e.a,d;for(t=new Dh,l=0,i=new E(e.d);i.a<i.c.c.length;){for(n=P(z(i),226),d=0,pj(n.b,new et),s=TF(n.b,0);s.b!=s.d.c;)o=P(RD(s),226),t.a._b(o)&&(a=n.c,c=o.c,d<c.d+c.a+u&&d+a.a+u>c.d&&(d=c.d+c.a+u));n.c.d=d,t.a.yc(n,t),l=r.Math.max(l,n.c.d+n.c.a)}return l}function S9e(e,t,n){var r,i,a,o,s,c;for(o=P(K(e,(Y(),u$)),16).Jc();o.Ob();){switch(a=P(o.Pb(),9),P(K(a,(PB(),B1)),165).g){case 2:BE(a,t);break;case 4:BE(a,n)}for(i=new XC(dx(dP(a).a.Jc(),new f));CR(i);)r=P(CO(i),17),!(r.c&&r.d)&&(s=!r.d,c=P(K(r,lEt),12),s?VE(r,c):zE(r,c))}}function oz(){oz=C,OQ=new Rv(`COMMENTS`,0),AQ=new Rv(`EXTERNAL_PORTS`,1),jQ=new Rv(`HYPEREDGES`,2),MQ=new Rv(`HYPERNODES`,3),NQ=new Rv(`NON_FREE_PORTS`,4),PQ=new Rv(`NORTH_SOUTH_PORTS`,5),IQ=new Rv(tpt,6),DQ=new Rv(`CENTER_LABELS`,7),kQ=new Rv(`END_LABELS`,8),FQ=new Rv(`PARTITIONS`,9)}function C9e(e,t,n,r,i){return r<0?(r=IL(e,i,U(k(vY,1),X,2,6,[udt,ddt,fdt,pdt,HV,mdt,hdt,gdt,UV,WV,GV,KV]),t),r<0&&(r=IL(e,i,U(k(vY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,HV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function w9e(e,t,n,r,i){return r<0?(r=IL(e,i,U(k(vY,1),X,2,6,[udt,ddt,fdt,pdt,HV,mdt,hdt,gdt,UV,WV,GV,KV]),t),r<0&&(r=IL(e,i,U(k(vY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,HV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function T9e(e,t,n,r,i,a){var o,s=32,c,l;if(r<0){if(t[0]>=e.length||(s=wT(e,t[0]),s!=43&&s!=45)||(++t[0],r=lR(e,t),r<0))return!1;s==45&&(r=-r)}return s==32&&t[0]-n==2&&i.b==2&&(c=new av,l=c.q.getFullYear()-qV+qV-80,o=l%100,a.a=r==o,r+=(l/100|0)*100+(r<o?100:0)),a.p=r,!0}function E9e(e,t){var n,i,a,o,s;PE(e)&&(s=P(K(t,(PB(),t0)),182),j(J(e,l0))===j((iL(),a5))&&IF(e,l0,i5),i=(Q_(),new ng(PE(e))),o=new Fx(PE(e)?new ng(PE(e)):null,e),a=uct(i,o,!1,!0),ij(s,(tF(),I5)),n=P(K(t,r0),8),n.a=r.Math.max(a.a,n.a),n.b=r.Math.max(a.b,n.b))}function D9e(e){var t,n,r,i=new Dh,a;for(t=new EC((!e.a&&(e.a=new F(p7,e,10,11)),e.a)),r=new XC(dx(PR(e).a.Jc(),new f));CR(r);)n=P(CO(r),85),M(H((!n.b&&(n.b=new xS(r7,n,4,7)),n.b),0),193)||(a=cL(P(H((!n.c&&(n.c=new xS(r7,n,5,8)),n.c),0),84)),t.a._b(a)||i.a.yc(a,i));return i}function sz(){sz=C,WIt=U(k(Y9,1),Tdt,30,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),r.Math.pow(2,-65)}function cz(){cz=C;var e,t;for(wY=V(CY,X,91,32,0,1),TY=V(CY,X,91,32,0,1),e=1,t=0;t<=18;t++)wY[t]=(vz(),yN(e,0)>=0?UP(e):Mw(UP(gk(e)))),TY[t]=Gy($C(e,t),0)?UP($C(e,t)):Mw(UP(gk($C(e,t)))),e=cP(e,5);for(;t<TY.length;t++)wY[t]=HD(wY[t-1],wY[1]),TY[t]=HD(TY[t-1],(vz(),Pbt))}function O9e(e,t){var n,r,i,a,o;if(e.c.length==0)return new My(G(0),G(0));for(n=(oD(0,e.c.length),P(e.c[0],12)).j,o=0,a=t.g,r=t.g+1;o<e.c.length-1&&n.g<a;)++o,n=(oD(o,e.c.length),P(e.c[o],12)).j;for(i=o;i<e.c.length-1&&n.g<r;)++i,n=(oD(o,e.c.length),P(e.c[o],12)).j;return new My(G(o),G(i))}function k9e(e,t,n,r){var i,a,o,s,c=rP(t,n),l,u;(n==(wB(),j5)||n==N5)&&(c=AP(c)),o=!1;do for(i=!1,a=0;a<c.gc()-1;a++)l=P(c.Xb(a),12),s=P(c.Xb(a+1),12),b1e(e,l,s,r)&&(o=!0,_D(e.a,P(c.Xb(a),12),P(c.Xb(a+1),12)),u=P(c.Xb(a+1),12),c.fd(a+1,P(c.Xb(a),12)),c.fd(a,u),i=!0);while(i);return o}function A9e(e,t,n){var r,i,a,o;for(n.Tg(qmt,1),i=P(aO(AT(new jC(null,new nD(t.b,16)),new zo),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),p3e(e,i,0),o=TF(t.b,0);o.b!=o.d.c;)a=P(RD(o),40),r=Zw(e.a,G(a.g))==null?0:P(Zw(e.a,G(a.g)),15).a,W(a,(Lz(),T4),G(r));n.Ug()}function lz(e,t,n){var r,i,a,o,s=t.i-e.g/2,c=n.i-e.g/2,l=t.j-e.g/2,u=n.j-e.g/2;return a=t.g+e.g,o=n.g+e.g,r=t.f+e.g,i=n.f+e.g,s<c+o&&c<s&&l<u+i&&u<l||c<s+a&&s<c&&u<l+r&&l<u||s<c+o&&c<s&&l<u&&u<l+r?!0:c<s+a&&s<c&&l<u+i&&u<l}function j9e(e,t,n){var i,a,o=t.c.length,s=(oD(n,t.c.length),P(t.c[n],294)),c=s.a.o.a,l,u,d,f=s.c,p=0;for(u=s.c;u<=s.f;u++){if(c<=e.a[u])return u;for(d=e.a[u],l=null,a=n+1;a<o;a++)i=(oD(a,t.c.length),P(t.c[a],294)),i.c<=u&&i.f>=u&&(l=i);l&&(d=r.Math.max(d,l.a.o.a)),d>p&&(f=u,p=d)}return f}function M9e(e){var t,n,r,i,a=new s_(P(Kw(new nt),51)),o,s=mH;for(n=new E(e.d);n.a<n.c.c.length;){for(t=P(z(n),226),s=t.c.c;a.a.gc()!=0&&(o=P(a.a.Rc(),226),o.c.c+o.c.b<s);)a.a.Ac(o);for(i=a.a.ec().Jc();i.Ob();)r=P(i.Pb(),226),pC(r.b,t),pC(t.b,r);a.a.yc(t,(mx(),cY))}}function N9e(e,t,n){var r,i,a,o,s;if(!zD(t)){for(s=n.dh((M(t,18)?P(t,18).gc():UD(t.Jc()))/e.a|0),s.Tg(Jmt,1),o=new Vo,a=null,i=t.Jc();i.Ob();)r=P(i.Pb(),40),o=IA(U(k(QJ,1),$B,20,0,[o,new Km(r)])),a&&(W(a,(CB(),WMt),r),W(r,s4,a),ZNe(r)==ZNe(a)&&(W(a,g4,r),W(r,c4,a))),a=r;s.Ug(),N9e(e,o,n)}}function P9e(e,t){var n,r,i;if(t==null){for(r=(!e.a&&(e.a=new F(R7,e,9,5)),new lx(e.a));r.e!=r.i.gc();)if(n=P(OF(r),684),i=n.c,(i??n.zb)==null)return n}else for(r=(!e.a&&(e.a=new F(R7,e,9,5)),new lx(e.a));r.e!=r.i.gc();)if(n=P(OF(r),684),CS(t,(i=n.c,i??n.zb)))return n;return null}function F9e(e,t){var n=null;switch(t.g){case 1:e.e.nf((LB(),K6))&&(n=P(e.e.mf(K6),257));break;case 3:e.e.nf((LB(),q6))&&(n=P(e.e.mf(q6),257));break;case 2:e.e.nf((LB(),G6))&&(n=P(e.e.mf(G6),257));break;case 4:e.e.nf((LB(),J6))&&(n=P(e.e.mf(J6),257))}return!n&&(n=P(e.e.mf((LB(),zLt)),257)),n}function I9e(e,t,n){var i,a=n,o=0,s,c,l;for(c=new E(t);c.a<c.c.c.length;)s=P(z(c),26),IF(s,(PL(),U4),G(a++)),l=iz(s),i=r.Math.atan2(s.j+s.f/2,s.i+s.g/2),i+=i<0?sK:0,i<.7853981633974483||i>wht?Vb(l,e.b):i<=wht&&i>Tht?Vb(l,e.d):i<=Tht&&i>Eht?Vb(l,e.c):i<=Eht&&Vb(l,e.a),o=I9e(e,l,o);return a}function L9e(e,t,n,r){var i=(r.c+r.a)/2,a,o,s,c,l;for(YT(t.j),pC(t.j,i),YT(n.e),pC(n.e,i),l=new Ioe,s=new E(e.f);s.a<s.c.c.length;)a=P(z(s),133),c=a.a,KI(l,t,c),KI(l,n,c);for(o=new E(e.k);o.a<o.c.c.length;)a=P(z(o),133),c=a.b,KI(l,t,c),KI(l,n,c);return l.b+=2,l.a+=xEe(t,e.q),l.a+=xEe(e.q,n),l}function R9e(e,t,n){var r;n.Tg(`Processor arrange node`,1),hg(eS(K(t,(Lz(),rNt)))),r=P(yx(RM(AT(new jC(null,new nD(t.b,16)),new ns))),40),e.a=P(K(t,TNt),353),e.a==(ZM(),O4)||e.a==D4?fct(e,new dg(U(k(Y2,1),nK,40,0,[r])),n.dh(1)):e.a==E4&&lut(e,new dg(U(k(Y2,1),nK,40,0,[r])),n.dh(1)),n.Ug()}function z9e(e){var t,n=e.i,r,i,a,o,s;for(t=e.n,s=n.d,e.f==(Mk(),GY)?s+=(n.a-e.e.b)/2:e.f==WY&&(s+=n.a-e.e.b),i=new E(e.d);i.a<i.c.c.length;){switch(r=P(z(i),187),o=r.Kf(),a=new Xg,a.b=s,s+=o.b+e.a,e.b.g){case 0:a.a=n.c+t.b;break;case 1:a.a=n.c+t.b+(n.b-o.a)/2;break;case 2:a.a=n.c+n.b-t.c-o.a}r.Mf(a)}}function B9e(e){var t,n=e.i,r,i,a,o,s;for(t=e.n,s=n.c,e.b==(uk(),VY)?s+=(n.b-e.e.a)/2:e.b==UY&&(s+=n.b-e.e.a),i=new E(e.d);i.a<i.c.c.length;){switch(r=P(z(i),187),o=r.Kf(),a=new Xg,a.a=s,s+=o.a+e.a,e.f.g){case 0:a.b=n.d+t.d;break;case 1:a.b=n.d+t.d+(n.a-o.b)/2;break;case 2:a.b=n.d+n.a-t.a-o.b}r.Mf(a)}}function V9e(e,t,n){var r,i,a,o,s,c,l,u=n.a.c,d,f,p,m;o=n.a.c+n.a.b,a=P(Zw(n.c,t),457),p=a.f,m=a.a,c=new A(u,p),d=new A(o,m),i=u,n.p||(i+=e.c),i+=n.F+n.v*e.b,l=new A(i,p),f=new A(i,m),UA(t.a,U(k(o6,1),X,8,0,[c,l])),s=n.d.a.gc()>1,s&&(r=new A(i,n.b),pC(t.a,r)),UA(t.a,U(k(o6,1),X,8,0,[f,d]))}function H9e(e,t,n){var r,i;for(t<e.d.b.c.length?(e.b=P(AC(e.d.b,t),25),e.a=P(AC(e.d.b,t-1),25),e.c=t):(e.a=new tT(e.d),e.a.p=t-1,$b(e.d.b,e.a),e.b=new tT(e.d),e.b.p=t,$b(e.d.b,e.b),e.c=t),BE(n,e.b),i=new XC(dx(uP(n).a.Jc(),new f));CR(i);)r=P(CO(i),17),!r.c.i.c&&r.c.i.k==(MR(),zX)&&BE(r.c.i,e.a)}function U9e(e,t){var n,r,i,a;for(a=rP(t,(wB(),j5)).Jc();a.Ob();)r=P(a.Pb(),12),n=P(K(r,(Y(),O$)),9),n&&ZR(L_(I_(R_(F_(new Mh,0),.1),e.i[t.p].d),e.i[n.p].a));for(i=rP(t,m5).Jc();i.Ob();)r=P(i.Pb(),12),n=P(K(r,(Y(),O$)),9),n&&ZR(L_(I_(R_(F_(new Mh,0),.1),e.i[n.p].d),e.i[t.p].a))}function W9e(e){Y_(e,new uL(Rg(Pg(Lg(Ig(new oc,QK),`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 Nc))),B(e,QK,EU,YRt),B(e,QK,xU,15),B(e,QK,wU,G(0)),B(e,QK,CU,vU)}function G9e(){G9e=C;var e,t,n,r,i,a;for(N9=V(X9,mq,30,255,15,1),P9=V(K9,BV,30,16,15,1),t=0;t<255;t++)N9[t]=-1;for(n=57;n>=48;n--)N9[n]=n-48<<24>>24;for(r=70;r>=65;r--)N9[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)N9[i]=i-97+10<<24>>24;for(a=0;a<10;a++)P9[a]=48+a&VV;for(e=10;e<=15;e++)P9[e]=65+e-10&VV}function K9e(e,t){t.Tg(`Process graph bounds`,1),W(e,(CB(),i4),lv(eBe(MT(new jC(null,new nD(e.b,16)),new Mo)))),W(e,a4,lv(eBe(MT(new jC(null,new nD(e.b,16)),new No)))),W(e,VMt,lv($ze(MT(new jC(null,new nD(e.b,16)),new Po)))),W(e,HMt,lv($ze(MT(new jC(null,new nD(e.b,16)),new Fo)))),t.Ug()}function q9e(e){var t,n,i,a=P(K(e,(PB(),t0)),22),o=P(K(e,i0),22);n=new A(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new mb(n),a.Gc((tF(),I5))&&(i=P(K(e,r0),8),o.Gc((Tz(),U5))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=r.Math.max(n.a,i.a),t.b=r.Math.max(n.b,i.b)),hg(eS(K(e,n0)))||Nit(e,n,t)}function J9e(e){var t=!1,n=0,r,i,a,o,s;for(i=new E(e.d.b);i.a<i.c.c.length;)for(r=P(z(i),25),r.p=n++,o=new E(r.a);o.a<o.c.c.length;)a=P(z(o),9),!t&&!zD(dP(a))&&(t=!0);s=zC((WN(),v8),U(k(b8,1),Z,86,0,[g8,_8])),t||(ij(s,y8),ij(s,h8)),e.a=new pLe(s),aw(e.f),aw(e.b),aw(e.e),aw(e.g)}function Y9e(e){var t,n,r,i,a,o;if(!e.c){if(o=new pl,t=l9,a=t.a.yc(e,t),a==null){for(r=new lx(KD(e));r.e!=r.i.gc();)n=P(OF(r),87),i=Nz(n),M(i,88)&&zw(o,Y9e(P(i,29))),XO(o,n);t.a.Ac(e),t.a.gc()}hKe(o),lN(o),e.c=new db((P(H(R((Uw(),K7).o),15),19),o.i),o.g),bO(e).b&=-33}return e.c}function X9e(e){var t;if(e.c!=10)throw D(new xg(UB((Fb(),Hq))));switch(t=e.a,t){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw D(new xg(UB((Fb(),Yq))))}return t}function Z9e(e){var t,n,r,i,a;if(e.l==0&&e.m==0&&e.h==0)return`0`;if(e.h==oH&&e.m==0&&e.l==0)return`-9223372036854775808`;if(e.h>>19)return`-`+Z9e(kM(e));for(n=e,r=``;!(n.l==0&&n.m==0&&n.h==0);){if(i=wO(lH),n=hot(n,i,!0),t=``+yse(sY),!(n.l==0&&n.m==0&&n.h==0))for(a=9-t.length;a>0;a--)t=`0`+t;r=t+r}return r}function Q9e(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e=`__proto__`,t=Object.create(null);return!(t[e]!==void 0||Object.getOwnPropertyNames(t).length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function $9e(e,t,n){var r=n.c,i=n.d,a,o,s=aD(t.c),c=aD(t.d),l,u,d;for(r==t.c?(s=U8e(e,s,i),c=c1e(t.d)):(s=c1e(t.c),c=U8e(e,c,i)),l=new Zg(t.a),iO(l,s,l.a,l.a.a),iO(l,c,l.c.b,l.c),o=t.c==r,d=new Tie,a=0;a<l.b-1;++a)u=new My(P(LF(l,a),8),P(LF(l,a+1),8)),o&&a==0||!o&&a==l.b-2?d.b=u:$b(d.a,u);return d}function eet(e,t){var n,r,i,a=e.j.g-t.j.g;if(a!=0)return a;if(n=P(K(e,(PB(),u0)),15),r=P(K(t,u0),15),n&&r&&(i=n.a-r.a,i!=0))return i;switch(e.j.g){case 1:return RN(e.n.a,t.n.a);case 2:return RN(e.n.b,t.n.b);case 3:return RN(t.n.a,e.n.a);case 4:return RN(t.n.b,e.n.b);default:throw D(new cg(Fft))}}function tet(e,t,n,i){var a,o,s,c,l;if(UD((BS(),new XC(dx(dP(t).a.Jc(),new f))))>=e.a||!h$e(t,n))return-1;if(zD(P(i.Kb(t),20)))return 1;for(a=0,s=P(i.Kb(t),20).Jc();s.Ob();)if(o=P(s.Pb(),17),l=o.c.i==t?o.d.i:o.c.i,c=tet(e,l,n,i),c==-1||(a=r.Math.max(a,c),a>e.c-1))return-1;return a+1}function uz(){uz=C,f3=new Nb((LB(),S6),1.3),uFt=new Nb(z6,(mx(),!1)),gFt=new kb(15),_3=new Nb(W6,gFt),v3=new Nb(c8,15),iFt=T6,lFt=R6,dFt=B6,fFt=V6,cFt=L6,h3=U6,_Ft=$6,xFt=(nrt(),$Pt),bFt=QPt,y3=rFt,SFt=tFt,hFt=qPt,g3=KPt,mFt=GPt,yFt=XPt,oFt=N6,sFt=P6,p3=HPt,aFt=VPt,m3=UPt,vFt=YPt,pFt=WPt}function net(e,t){var n,r,i,a,o,s;if(j(t)===j(e))return!0;if(!M(t,16)||(r=P(t,16),s=e.gc(),r.gc()!=s))return!1;if(o=r.Jc(),e.Wi()){for(n=0;n<s;++n)if(i=e.Ti(n),a=o.Pb(),i==null?a!=null:!DN(i,a))return!1}else for(n=0;n<s;++n)if(i=e.Ti(n),a=o.Pb(),j(i)!==j(a))return!1;return!0}function ret(e,t){var n,r,i,a,o,s;if(e.f>0){if(e.Zj(),t!=null){for(a=0;a<e.d.length;++a)if(n=e.d[a],n){for(r=P(n.g,374),s=n.i,o=0;o<s;++o)if(i=r[o],DN(t,i.kd()))return!0}}else for(a=0;a<e.d.length;++a)if(n=e.d[a],n){for(r=P(n.g,374),s=n.i,o=0;o<s;++o)if(i=r[o],j(t)===j(i.kd()))return!0}}return!1}function iet(e,t){var n=t.ni(e.a),r,i;return n&&(i=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),`affiliation`)),i!=null)?(r=fx(i,hL(35)),r==-1?IN(e,KC(e,lA(t.ok())),i):r==0?IN(e,null,(sD(1,i.length+1),i.substr(1))):IN(e,(YO(0,r,i.length),i.substr(0,r)),(sD(r+1,i.length+1),i.substr(r+1)))):null}function dz(){dz=C,zZ=new IT(`NORTH`,0,(wB(),m5),m5),HZ=new IT(`SOUTH`,1,j5,j5),RZ=new IT(`EAST`,2,p5,p5),GZ=new IT(`WEST`,3,N5,N5),VZ=new IT(`NORTH_WEST_CORNER`,4,N5,m5),BZ=new IT(`NORTH_EAST_CORNER`,5,m5,p5),WZ=new IT(`SOUTH_WEST_CORNER`,6,j5,N5),UZ=new IT(`SOUTH_EAST_CORNER`,7,p5,j5)}function aet(e,t,n){var r,i,a,o;n.Tg(`Orthogonally routing hierarchical port edges`,1),e.a=0,r=wat(t),nst(t,r),Oot(e,t,r),Dct(t),i=P(K(t,(PB(),l0)),102),a=t.b,tct((oD(0,a.c.length),P(a.c[0],25)),i,t),tct(P(AC(a,a.c.length-1),25),i,t),o=t.b,Sit((oD(0,o.c.length),P(o.c[0],25))),Sit(P(AC(o,o.c.length-1),25)),n.Ug()}function oet(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e-48<<24>>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 D(new Ag(`Invalid hexadecimal`))}}function set(e,t,n,r){var i,a,o,s,c=GI(e,n),l=GI(t,n);for(i=!1;c&&l&&(r||ZYe(c,l,n));)o=GI(c,n),s=GI(l,n),fk(t),fk(e),a=c.c,fB(c,!1),fB(l,!1),n?(jI(t,l.p,a),t.p=l.p,jI(e,c.p+1,a),e.p=c.p):(jI(e,c.p,a),e.p=c.p,jI(t,l.p+1,a),t.p=l.p),BE(c,null),BE(l,null),c=o,l=s,i=!0;return i}function cet(e){switch(e.g){case 0:return new Yd;case 1:return new Zd;case 3:return new Uce;case 4:return new ba;case 5:return new Qge;case 6:return new Qd;case 2:return new pee;case 7:return new Wd;case 8:return new Hd;default:throw D(new sg(`No implementation is available for the layerer `+(e.f==null?``+e.g:e.f)))}}function uet(e,t,n,r){var i=!1,a=!1,o,s,c;for(s=new E(r.j);s.a<s.c.c.length;)o=P(z(s),12),j(K(o,(Y(),T$)))===j(n)&&(o.g.c.length==0?o.e.c.length==0||(i=!0):a=!0);return c=0,i&&i^a?c=n.j==(wB(),m5)?-e.e[r.c.p][r.p]:t-e.e[r.c.p][r.p]:a&&i^a?c=e.e[r.c.p][r.p]+1:i&&a&&(c=n.j==(wB(),m5)?0:t/2),c}function det(e,t,n,r,i,a,o,s){var c=0,l,u;for(t!=null&&(c^=HM(t.toLowerCase())),n!=null&&(c^=HM(n)),r!=null&&(c^=HM(r)),o!=null&&(c^=HM(o)),s!=null&&(c^=HM(s)),l=0,u=a.length;l<u;l++)c^=HM(a[l]);e?c|=256:c&=-257,i?c|=16:c&=-17,this.f=c,this.i=t==null?null:(dT(t),t),this.a=n,this.d=r,this.j=a,this.g=o,this.e=s}function fet(e,t,n){var r,i=null;switch(t.g){case 1:i=(wj(),VCt);break;case 2:i=(wj(),UCt)}switch(r=null,n.g){case 1:r=(wj(),HCt);break;case 2:r=(wj(),BCt);break;case 3:r=(wj(),WCt);break;case 4:r=(wj(),GCt)}return i&&r?ZS(e.j,new Df(new dg(U(k(Fyt,1),$B,178,0,[P(Kw(i),178),P(Kw(r),178)])))):(KT(),KT(),EY)}function pet(e){var t=P(K(e,(PB(),r0)),8),n,r;switch(W(e,r0,new A(t.b,t.a)),P(K(e,e1),256).g){case 1:W(e,e1,(UF(),f6));break;case 2:W(e,e1,(UF(),c6));break;case 3:W(e,e1,(UF(),u6));break;case 4:W(e,e1,(UF(),d6))}(e.q?e.q:(KT(),KT(),DY))._b(p0)&&(n=P(K(e,p0),8),r=n.a,n.a=n.b,n.b=r)}function met(e,t,n,r,i,a){if(this.b=n,this.d=i,e>=t.length)throw D(new ig(`Greedy SwitchDecider: Free layer not in graph.`));this.c=t[e],this.e=new PS(r),uj(this.e,this.c,(wB(),N5)),this.i=new PS(r),uj(this.i,this.c,p5),this.f=new _Se(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(MR(),RX),this.a&&R0e(this,e,t.length)}function het(e,t){var n,r,i,a=!e.B.Gc((Tz(),V5)),o=e.B.Gc(rzt),s;e.a=new jKe(o,a,e.c),e.n&&lEe(e.a.n,e.n),Zh(e.g,(uA(),LY),e.a),t||(r=new mF(1,a,e.c),r.n.a=e.k,Dw(e.p,(wB(),m5),r),i=new mF(1,a,e.c),i.n.d=e.k,Dw(e.p,j5,i),s=new mF(0,a,e.c),s.n.c=e.k,Dw(e.p,N5,s),n=new mF(0,a,e.c),n.n.b=e.k,Dw(e.p,p5,n))}function get(e){var t=P(K(e.d,(PB(),A1)),222),n,r;switch(t.g){case 2:n=zlt(e);break;case 3:n=(r=new ah,P_(AT(jT(Bk(Bk(new jC(null,new nD(e.d.b,16)),new yi),new bi),new xi),new ai),new Fte(r)),r);break;default:throw D(new cg(`Compaction not supported for `+t+` edges.`))}not(e,n),dO(new Zp(e.g),new jte(e))}function _et(e,t){var n,r,i,a,o,s,c;if(t.Tg(`Process directions`,1),n=P(K(e,(Lz(),b4)),86),n!=(WN(),h8))for(i=TF(e.b,0);i.b!=i.d.c;){switch(r=P(RD(i),40),s=P(K(r,(CB(),v4)),15).a,c=P(K(r,y4),15).a,n.g){case 4:c*=-1;break;case 1:a=s,s=c,c=a;break;case 2:o=s,s=-c,c=o}W(r,v4,G(s)),W(r,y4,G(c))}t.Ug()}function vet(e){var t,n,r,i,a,o,s,c=new $Me;for(s=new E(e.a);s.a<s.c.c.length;)if(o=P(z(s),9),o.k!=(MR(),RX)){for(A6e(c,o,new Xg),a=new XC(dx(fP(o).a.Jc(),new f));CR(a);)if(i=P(CO(a),17),!(i.c.i.k==RX||i.d.i.k==RX))for(r=TF(i.a,0);r.b!=r.d.c;)n=P(RD(r),8),t=n,BI(c,new bv(t.a,t.b))}return c}function yet(){yet=C,yIt=new Xm(kK),vIt=(J_(),H3),_It=new lb(MK,vIt),gIt=(sM(),U3),hIt=new lb(Ght,gIt),mIt=(ML(),I3),pIt=new lb(Kht,mIt),lIt=new lb(AK,null),fIt=(GO(),P3),dIt=new lb(jK,fIt),aIt=(K_(),M3),iIt=new lb(qht,aIt),oIt=new lb(Jht,(mx(),!1)),sIt=new lb(Yht,G(64)),cIt=new lb(Xht,!0),uIt=F3}function bet(e,t){var n,r,i,a,o,s,c,l,u,d;for(e.p=1,i=e.c,d=new pb,u=HP(e,(VA(),m2)).Jc();u.Ob();)for(l=P(u.Pb(),12),r=new E(l.g);r.a<r.c.c.length;)n=P(z(r),17),c=n.d.i,e!=c&&(a=c.c,a.p<=i.p&&(o=i.p+1,o==t.b.c.length?(s=new tT(t),s.p=o,$b(t.b,s),BE(c,s)):(s=P(AC(t.b,o),25),BE(c,s)),d.a.yc(c,d)));return d}function xet(e){switch(e.g){case 0:return new NSe;case 1:return new Kd;case 2:return new qd;case 3:return new Ud;case 4:return new Kue;case 5:return new Jue;case 6:return new que;case 7:return new dee;case 8:return new Gd;default:throw D(new sg(`No implementation is available for the cycle breaker `+(e.f==null?``+e.g:e.f)))}}function Cet(e,t){var n=P(K(e,(CB(),t4)),16),r;if(!n||n.gc()<1)return null;if(n.gc()==1)return P(n.Xb(0),40);switch(r=null,t.g){case 2:r=P(yx(rw(n.Mc(),new ko)),40);break;case 1:r=P(yx(nw(n.Mc(),new To)),40);break;case 4:r=P(yx(rw(n.Mc(),new Eo)),40);break;case 3:r=P(yx(nw(n.Mc(),new Do)),40)}return r}function wet(e){var t,n,r,i,a,o;if(e.a==null)if(e.a=V(J9,qH,30,e.c.b.c.length,16,1),e.a[0]=!1,Kx(e.c,(PB(),L0)))for(r=P(K(e.c,L0),16),n=r.Jc();n.Ob();)t=P(n.Pb(),15).a,t>0&&t<e.a.length&&(e.a[t]=!1);else for(o=new E(e.c.b),o.a<o.c.c.length&&z(o),i=1;o.a<o.c.c.length;)a=P(z(o),25),e.a[i++]=A8e(a)}function fz(){fz=C,n3=new Xm(`additionalHeight`),r3=new Xm(`drawingHeight`),i3=new Xm(`drawingWidth`),a3=new Xm(`minHeight`),c3=new Xm(`minWidth`),l3=new Xm(`rows`),u3=new Xm(`targetWidth`),s3=new lS(`minRowIncrease`,0),IPt=new lS(`maxRowIncrease`,0),o3=new lS(`minRowDecrease`,0),FPt=new lS(`maxRowDecrease`,0)}function Tet(e,t){var n,r,i=e.b,a;switch(t){case 1:e.b|=1,e.b|=4,e.b|=8;break;case 2:e.b|=2,e.b|=4,e.b|=8;break;case 4:e.b|=1,e.b|=2,e.b|=4,e.b|=8;break;case 3:e.b|=16,e.b|=8;break;case 0:e.b|=32,e.b|=16,e.b|=8,e.b|=1,e.b|=2,e.b|=4;break}if(e.b!=i&&e.c)for(r=new lx(e.c);r.e!=r.i.gc();)a=P(OF(r),471),n=bO(a),$L(n,t)}function Eet(e,t,n,r){var i=!1,a,o,s,c,l,u,d,f,p,m;for(o=t,s=0,c=o.length;s<c;++s)a=o[s],hg((mx(),!!a.e))&&!P(AC(e.b,a.e.p),218).s&&(i|=(l=a.e,u=P(AC(e.b,l.p),218),d=u.e,f=Goe(n,d.length),p=d[f][0],p.k==(MR(),RX)?d[f]=J5e(a,d[f],n?(wB(),N5):(wB(),p5)):u.c.kg(d,n),m=qR(e,u,n,r),Y7e(u.e,u.o,n),m));return i}function Det(e,t){var n,r,i,a=(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i,o;for(i=new lx((!t.a&&(t.a=new F(p7,t,10,11)),t.a));i.e!=i.i.gc();)r=P(OF(i),26),j(J(r,(LB(),A6)))!==j((nN(),F8))&&(o=P(J(t,i8),144),n=P(J(r,i8),144),(o==n||o&&gNe(o,n))&&(!r.a&&(r.a=new F(p7,r,10,11)),r.a).i!=0&&(a+=Det(e,r)));return a}function Oet(e){var t,n,r,i,a=new HO(e.a.c.length);for(i=new E(e.a);i.a<i.c.c.length;){switch(r=P(z(i),9),n=P(K(r,(PB(),B1)),165),t=null,n.g){case 1:case 2:t=(CM(),gQ);break;case 3:case 4:t=(CM(),mQ)}t?(W(r,(Y(),t$),(CM(),gQ)),t==mQ?JR(r,n,(VA(),p2)):t==gQ&&JR(r,n,(VA(),m2))):ph(a.c,r)}return a}function ket(e){var t,n,r=0,i,a,o,s=0;for(o=new E(e.d);o.a<o.c.c.length;)a=P(z(o),107),i=P(aO(AT(new jC(null,new nD(a.j,16)),new Ui),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),n=null,r<=s?(n=(wB(),m5),r+=i.gc()):s<r&&(n=(wB(),j5),s+=i.gc()),t=n,P_(jT(i.Mc(),new Bi),new Rte(t))}function Aet(e,t){var n=new st;return t&&Xj(n,P(Zw(e.a,t7),105)),M(t,276)&&Xj(n,P(Zw(e.a,n7),105)),M(t,362)?(Xj(n,P(Zw(e.a,f7),105)),n):(M(t,84)&&Xj(n,P(Zw(e.a,r7),105)),M(t,206)?(Xj(n,P(Zw(e.a,p7),105)),n):M(t,193)?(Xj(n,P(Zw(e.a,m7),105)),n):(M(t,271)&&Xj(n,P(Zw(e.a,i7),105)),n))}function jet(e){var t,n,r,i,a,o,s,c;for(e.b=new P4e(new dg((wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5]))),new dg((lj(),U(k(LZ,1),Z,368,0,[IZ,FZ,PZ])))),o=U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5]),s=0,c=o.length;s<c;++s)for(a=o[s],n=U(k(LZ,1),Z,368,0,[IZ,FZ,PZ]),r=0,i=n.length;r<i;++r)t=n[r],mQe(e.b,a,t,new ah)}function Met(e,t){var n,r,i,a,o=P(P(DO(e.r,t),22),83),s=e.u.Gc((rR(),u5)),c,l,u,d;if(n=e.u.Gc(s5),r=e.u.Gc(o5),l=e.u.Gc(d5),d=e.B.Gc((Tz(),J5)),u=!n&&!r&&(l||o.gc()==2),k7e(e,t),i=null,c=null,s){for(a=o.Jc(),i=P(a.Pb(),115),c=i;a.Ob();)c=P(a.Pb(),115);i.d.b=0,c.d.c=0,u&&!i.a&&(i.d.c=0)}d&&(U$e(o),s&&(i.d.b=0,c.d.c=0))}function Net(e,t){var n,r,i,a,o=P(P(DO(e.r,t),22),83),s=e.u.Gc((rR(),u5)),c,l,u,d;if(n=e.u.Gc(s5),r=e.u.Gc(o5),c=e.u.Gc(d5),d=e.B.Gc((Tz(),J5)),l=!n&&!r&&(c||o.gc()==2),Jnt(e,t),u=null,i=null,s){for(a=o.Jc(),u=P(a.Pb(),115),i=u;a.Ob();)i=P(a.Pb(),115);u.d.d=0,i.d.a=0,l&&!u.a&&(u.d.a=0)}d&&(W$e(o),s&&(u.d.d=0,i.d.a=0))}function Pet(e,t,n){var r,i=t.k,a,o,s,c,l,u;if(t.p>=0)return!1;if(t.p=n.b,$b(n.e,t),i==(MR(),BX)||i==UX){for(o=new E(t.j);o.a<o.c.c.length;)for(a=P(z(o),12),u=(r=new E(new Hm(a).a.g),new Yee(r));Hb(u.a);)if(l=P(z(u.a),17).d,s=l.i,c=s.k,t.c!=s.c&&(c==BX||c==UX)&&Pet(e,s,n))return!0}return!0}function pz(e){var t;return e.Db&64?I3e(e):(t=new gx(I3e(e)),t.a+=` (changeable: `,r_(t,(e.Bb&$q)!=0),t.a+=`, volatile: `,r_(t,(e.Bb&pV)!=0),t.a+=`, transient: `,r_(t,(e.Bb&hH)!=0),t.a+=`, defaultValueLiteral: `,Yy(t,e.j),t.a+=`, unsettable: `,r_(t,(e.Bb&nJ)!=0),t.a+=`, derived: `,r_(t,(e.Bb&mV)!=0),t.a+=`)`,t.a)}function Fet(e,t){var n,r,i=t.ni(e.a),a,o;return i&&(r=(!i.b&&(i.b=new Xx((VB(),o9),d9,i)),i.b),n=tS(VP(r,wJ)),n!=null&&(a=n.lastIndexOf(`#`),o=a==-1?Khe(e,t.hk(),n):a==0?rk(e,null,(sD(1,n.length+1),n.substr(1))):rk(e,(YO(0,a,n.length),n.substr(0,a)),(sD(a+1,n.length+1),n.substr(a+1))),M(o,159)))?P(o,159):null}function Iet(e,t){var n,r=t.ni(e.a),i,a,o;return r&&(n=(!r.b&&(r.b=new Xx((VB(),o9),d9,r)),r.b),a=tS(VP(n,Lvt)),a!=null&&(i=a.lastIndexOf(`#`),o=i==-1?Khe(e,t.hk(),a):i==0?rk(e,null,(sD(1,a.length+1),a.substr(1))):rk(e,(YO(0,i,a.length),a.substr(0,i)),(sD(i+1,a.length+1),a.substr(i+1))),M(o,159)))?P(o,159):null}function Let(e,t){var n,r,i,a,o,s,c,l,u,d,f;for(t.Tg(`Restoring reversed edges`,1),c=new E(e.b);c.a<c.c.c.length;)for(s=P(z(c),25),u=new E(s.a);u.a<u.c.c.length;)for(l=P(z(u),9),f=new E(l.j);f.a<f.c.c.length;)for(d=P(z(f),12),o=SD(d.g),r=o,i=0,a=r.length;i<a;++i)n=r[i],hg(eS(K(n,(Y(),N$))))&&Bz(n,!1);t.Ug()}function Ret(e,t,n,r){var i,a,o,s,c=V(Z9,X,108,(wB(),U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5])).length,0,2);for(a=U(k(P5,1),XU,64,0,[M5,m5,p5,j5,N5]),o=0,s=a.length;o<s;++o)i=a[o],c[i.g]=V(Z9,yH,30,e.c[i.g],15,1);return _Ze(c,e,m5),_Ze(c,e,j5),pI(c,e,m5,t,n,r),pI(c,e,p5,t,n,r),pI(c,e,j5,t,n,r),pI(c,e,N5,t,n,r),c}function zet(e,t,n){if(bw(e.a,t)){if(w_(P(Zw(e.a,t),47),n))return 1}else ST(e.a,t,new Dh);if(bw(e.a,n)){if(w_(P(Zw(e.a,n),47),t))return-1}else ST(e.a,n,new Dh);if(bw(e.b,t)){if(w_(P(Zw(e.b,t),47),n))return-1}else ST(e.b,t,new Dh);if(bw(e.b,n)){if(w_(P(Zw(e.b,n),47),t))return 1}else ST(e.b,n,new Dh);return 0}function Bet(e){var t,n,i,a,o,s;e.q==(iL(),n5)||e.q==t5||(a=e.f.n.d+fC(P(CT(e.b,(wB(),m5)),127))+e.c,t=e.f.n.a+fC(P(CT(e.b,j5),127))+e.c,i=P(CT(e.b,p5),127),s=P(CT(e.b,N5),127),o=r.Math.max(0,i.n.d-a),o=r.Math.max(o,s.n.d-a),n=r.Math.max(0,i.n.a-t),n=r.Math.max(n,s.n.a-t),i.n.d=o,s.n.d=o,i.n.a=n,s.n.a=n)}function Vet(e,t,n,r){var i,a,o,s,c,l;if(n==null){for(i=P(e.g,122),s=0;s<e.i;++s)if(o=i[s],o.Jk()==t)return RF(e,o,r)}return a=(rv(),P(t,69).vk()?P(n,75):qD(t,n)),gb(e.e)?(l=!RP(e,t),r=BP(e,a,r),c=t.Hk()?oE(e,3,t,null,n,Uz(e,t,n,M(t,103)&&(P(t,19).Bb&_H)!=0),l):oE(e,1,t,t.gk(),n,-1,l),r?r.lj(c):r=c):r=BP(e,a,r),r}function Het(){this.b=new rO,this.d=new rO,this.e=new rO,this.c=new rO,this.a=new oh,this.f=new oh,DE(o6,new uc,new dc),DE(GIt,new Sc,new Cc),DE(LCt,new wc,new Tc),DE(zCt,new Ec,new Dc),DE(bzt,new Oc,new kc),DE(Lbt,new fc,new pc),DE(qbt,new mc,new hc),DE(Wbt,new gc,new _c),DE(Kbt,new vc,new yc),DE(lxt,new bc,new xc)}function mz(e,t){var n,r,i,a,o;for(e=e==null?eV:(dT(e),e),i=0;i<t.length;i++)t[i]=S5e(t[i]);for(n=new kg,o=0,r=0;r<t.length&&(a=e.indexOf(`%s`,o),a!=-1);)n.a+=``+dE(e==null?eV:(dT(e),e),o,a),Zy(n,t[r++]),o=a+2;if(FAe(n,e,o,e.length),r<t.length){for(n.a+=` [`,Zy(n,t[r++]);r<t.length;)n.a+=QB,Zy(n,t[r++]);n.a+=`]`}return n.a}function Uet(e,t){var n=0,r,i,a,o,s,c;for(c=new E(t);c.a<c.c.c.length;){for(s=P(z(c),12),$He(e.b,e.d[s.p]),o=0,i=new IO(s.b);Hb(i.a)||Hb(i.b);)r=P(Hb(i.a)?z(i.a):z(i.b),17),Jwe(r)?(a=vse(e,s==r.c?r.d:r.c),a>e.d[s.p]&&(n+=JMe(e.b,a),LD(e.a,G(a)))):++o;for(n+=e.b.d*o;!mg(e.a);)MIe(e.b,P(Cw(e.a),15).a)}return n}function Wet(e){var t,n,r,i,a=0,o;return t=LI(e),t.ik()&&(a|=4),(e.Bb&nJ)!=0&&(a|=2),M(e,103)?(n=P(e,19),i=QF(n),(n.Bb&sq)!=0&&(a|=32),i&&(Hw(FE(i)),a|=8,o=i.t,(o>1||o==-1)&&(a|=16),(i.Bb&sq)!=0&&(a|=64)),(n.Bb&_H)!=0&&(a|=pV),a|=$q):M(t,459)?a|=512:(r=t.ik(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function Get(e,t){var n;return e.f==iVt?(n=hT(wk((HL(),p9),t)),e.e?n==4&&t!=(gR(),_9)&&t!=(gR(),g9)&&t!=(gR(),aVt)&&t!=(gR(),oVt):n==2):e.d&&(e.d.Gc(t)||e.d.Gc(cD(wk((HL(),p9),t)))||e.d.Gc(uB((HL(),p9),e.b,t)))?!0:e.f&&M5e((HL(),e.f),DT(wk(p9,t)))?(n=hT(wk(p9,t)),e.e?n==4:n==2):!1}function Ket(e,t){var n,r,i,a=new ah,o,s,c,l;for(t.b.c.length=0,n=P(aO(UOe(new jC(null,new nD(new Zp(e.a.b),1))),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),i=n.Jc();i.Ob();)if(r=P(i.Pb(),15),o=aje(e.a,r),o.b!=0)for(s=new tT(t),ph(a.c,s),s.p=r.a,l=TF(o,0);l.b!=l.d.c;)c=P(RD(l),9),BE(c,s);pM(t.b,a)}function qet(e){var t,n,r,i,a,o,s=new oh;for(r=new E(e.a.b);r.a<r.c.c.length;)t=P(z(r),60),ST(s,t,new ah);for(i=new E(e.a.b);i.a<i.c.c.length;)for(t=P(z(i),60),t.i=mH,o=t.c.Jc();o.Ob();)a=P(o.Pb(),60),P(By(VC(s.f,a)),16).Ec(t);for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),60),t.c.$b(),t.c=P(By(VC(s.f,t)),16);e9e(e)}function Jet(e){var t,n,r,i,a,o,s=new oh;for(r=new E(e.a.b);r.a<r.c.c.length;)t=P(z(r),82),ST(s,t,new ah);for(i=new E(e.a.b);i.a<i.c.c.length;)for(t=P(z(i),82),t.o=mH,o=t.f.Jc();o.Ob();)a=P(o.Pb(),82),P(By(VC(s.f,a)),16).Ec(t);for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),82),t.f.$b(),t.f=P(By(VC(s.f,t)),16);o7e(e)}function Yet(e,t){var n,i,a,o,s,c,l=lT(t.a),u,d,f,p;for(a=O(N(K(l,(PB(),C0))))*2,d=O(N(K(l,A0))),u=r.Math.max(a,d),o=V(Z9,yH,30,t.f-t.c+1,15,1),i=-u,n=0,c=t.b.Jc();c.Ob();)s=P(c.Pb(),9),i+=e.a[s.c.p]+u,o[n++]=i;for(i+=e.a[t.a.c.p]+u,o[n++]=i,p=new E(t.e);p.a<p.c.c.length;)f=P(z(p),9),i+=e.a[f.c.p]+u,o[n++]=i;return o}function Xet(e,t,n,r){var i,a,o,s,c,l,u,d,f=new s_(new rne(e));for(s=U(k(IX,1),tW,9,0,[t,n]),c=0,l=s.length;c<l;++c)for(o=s[c],d=kN(o,r).Jc();d.Ob();)for(u=P(d.Pb(),12),a=new IO(u.b);Hb(a.a)||Hb(a.b);)i=P(Hb(a.a)?z(a.a):z(a.b),17),xO(i)||(f.a.yc(u,(mx(),cY)),Jwe(i)&&Ew(f,u==i.c?i.d:i.c));return Kw(f),new NS(f)}function Zet(e,t,n,i){var a,o,s=P(J(n,(LB(),t8)),8),c,l=s.a,u,d=s.b+e,f;return a=r.Math.atan2(d,l),a<0&&(a+=sK),a+=t,a>sK&&(a-=sK),c=P(J(i,t8),8),u=c.a,f=c.b+e,o=r.Math.atan2(f,u),o<0&&(o+=sK),o+=t,o>sK&&(o-=sK),Ib(),RA(1e-10),r.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:mS(isNaN(a),isNaN(o))}function Qet(e,t,n,i){var a,o,s;t&&(o=O(N(K(t,(CB(),h4))))+i,s=n+O(N(K(t,l4)))/2,W(t,v4,G(RC(Hj(r.Math.round(o))))),W(t,y4,G(RC(Hj(r.Math.round(s))))),t.d.b==0||Qet(e,P(Xb((a=TF(new Km(t).a.d,0),new qm(a))),40),n+O(N(K(t,l4)))+e.b,i+O(N(K(t,f4)))),K(t,g4)!=null&&Qet(e,P(K(t,g4),40),n,i))}function $et(e,t){var n,r,i,a=P(J(e,(LB(),e8)),64).g-P(J(t,e8),64).g;if(a!=0)return a;if(n=P(J(e,Z6),15),r=P(J(t,Z6),15),n&&r&&(i=n.a-r.a,i!=0))return i;switch(P(J(e,e8),64).g){case 1:return RN(e.i,t.i);case 2:return RN(e.j,t.j);case 3:return RN(t.i,e.i);case 4:return RN(t.j,e.j);default:throw D(new cg(Fft))}}function ett(e){var t,n,r;return e.Db&64?AL(e):(t=new _x(qgt),n=e.k,n?Qy(Qy((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new F(f7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new F(f7,e,1,7)),P(H(e.n,0),157)).a,!r||Qy(Qy((t.a+=` "`,t),r),`"`))),Qy(i_(Qy(i_(Qy(i_(Qy(i_((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function ttt(e){var t,n,r;return e.Db&64?AL(e):(t=new _x(Jgt),n=e.k,n?Qy(Qy((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new F(f7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new F(f7,e,1,7)),P(H(e.n,0),157)).a,!r||Qy(Qy((t.a+=` "`,t),r),`"`))),Qy(i_(Qy(i_(Qy(i_(Qy(i_((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function ntt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p=-1,m=0;for(u=t,d=0,f=u.length;d<f;++d){for(l=u[d],o=l,s=0,c=o.length;s<c;++s)for(a=o[s],n=new bFe(e,p==-1?t[0]:t[p],P(K(lT(a),(PB(),g1)),269),WXe(a),hg(eS(K(lT(a),h1)))),r=0;r<a.j.c.length;r++)for(i=r+1;i<a.j.c.length;i++)bCe(n,P(AC(a.j,r),12),P(AC(a.j,i),12))>0&&++m;++p}return m}function rtt(e,t){var n,r,i,a,o;for(t==(eN(),_2)&&JL(P(DO(e.a,(rL(),AZ)),16)),i=P(DO(e.a,(rL(),AZ)),16).Jc();i.Ob();)switch(r=P(i.Pb(),107),n=P(AC(r.j,0),113).d.j,a=new NS(r.j),Vb(a,new ki),t.g){case 2:lL(e,a,n,(lj(),FZ),1);break;case 1:case 0:o=h5e(a),lL(e,new QE(a,0,o),n,(lj(),FZ),0),lL(e,new QE(a,o,a.c.length),n,FZ,1)}}function itt(e){var t,n,r,i=P(K(e,(Y(),m$)),9),a,o,s;for(r=e.j,n=(oD(0,r.c.length),P(r.c[0],12)),o=new E(i.j);o.a<o.c.c.length;)if(a=P(z(o),12),j(a)===j(K(n,T$))){a.j==(wB(),m5)&&e.p>i.p?(tR(a,j5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=s-t)):a.j==j5&&i.p>e.p&&(tR(a,m5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=-(s-t)));break}return i}function att(e,t){var n,r,i,a,o,s,c;if(t==null||t.length==0)return null;if(i=P(vE(e.a,t),144),!i){for(r=(s=new om(e.b).a.vc().Jc(),new sm(s));r.a.Ob();)if(n=(a=P(r.a.Pb(),45),P(a.kd(),144)),o=n.c,c=t.length,CS(o.substr(o.length-c,c),t)&&(t.length==o.length||wT(o,o.length-t.length-1)==46)){if(i)return null;i=n}i&&LE(e.a,t,i)}return i}function hz(e,t,n){var r,i,a=new A(t,n),o,s,c,l,u,d,f;for(u=new E(e.a);u.a<u.c.c.length;)for(l=P(z(u),9),wS(l.n,a),f=new E(l.j);f.a<f.c.c.length;)for(d=P(z(f),12),i=new E(d.g);i.a<i.c.c.length;)for(r=P(z(i),17),kj(r.a,a),o=P(K(r,(PB(),z1)),78),o&&kj(o,a),c=new E(r.b);c.a<c.c.c.length;)s=P(z(c),70),wS(s.n,a)}function ott(e,t,n){var r,i,a=new A(t,n),o,s,c,l,u,d,f;for(u=new E(e.a);u.a<u.c.c.length;)for(l=P(z(u),9),wS(l.n,a),f=new E(l.j);f.a<f.c.c.length;)for(d=P(z(f),12),i=new E(d.g);i.a<i.c.c.length;)for(r=P(z(i),17),kj(r.a,a),o=P(K(r,(PB(),z1)),78),o&&kj(o,a),c=new E(r.b);c.a<c.c.c.length;)s=P(z(c),70),wS(s.n,a)}function stt(e){if((!e.b&&(e.b=new xS(r7,e,4,7)),e.b).i==0)throw D(new yg(`Edges must have a source.`));if((!e.c&&(e.c=new xS(r7,e,5,8)),e.c).i==0)throw D(new yg(`Edges must have a target.`));if(!e.b&&(e.b=new xS(r7,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new xS(r7,e,5,8)),e.c.i<=1)))throw D(new yg(`Hyperedges are not supported.`))}function ctt(e,t){var n,r;t.Tg(`Partition preprocessing`,1),r=P(aO(AT(new jC(null,new nD(e.a,16)),new or),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),n=P(aO(AT(Bk(AT(new jC(null,new nD(e.a,16)),new sr),new cr),new gte(r)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),16),P_(n.Mc(),new lr),t.Ug()}function ltt(e){var t,n,r;Kx(e,(PB(),Y1))&&(r=P(K(e,Y1),22),!r.dc()&&(n=(t=P(t_(Y8),10),new FS(t,P(gS(t,t.length),10),0)),r.Gc((wR(),W8))?ij(n,W8):ij(n,G8),r.Gc(H8)||ij(n,H8),r.Gc(V8)?ij(n,J8):r.Gc(B8)?ij(n,q8):r.Gc(U8)&&ij(n,K8),r.Gc(J8)?ij(n,V8):r.Gc(q8)?ij(n,B8):r.Gc(K8)&&ij(n,U8),W(e,Y1,n)))}function utt(e,t){var n,r;for(this.b=new ah,this.e=new ah,this.a=e,this.d=t,DJe(this),KKe(this),this.b.dc()?this.c=e.c.p:this.c=P(this.b.Xb(0),9).c.p,this.e.c.length==0?this.f=e.c.p:this.f=P(AC(this.e,this.e.c.length-1),9).c.p,r=P(K(e,(Y(),M$)),16).Jc();r.Ob();)if(n=P(r.Pb(),70),Kx(n,(PB(),E1))){this.d=P(K(n,E1),231);break}}function gz(e,t,n){var r=P(Zw(e.b,t),47),i,a=P(Zw(e.b,n),47),o,s,c,l,u;for(i=P(Zw(e.g,t),47),o=P(Zw(e.g,n),47),r.a.yc(n,r),o.a.yc(t,o),u=a.a.ec().Jc();u.Ob();)l=P(u.Pb(),9),r.a.yc(l,r),Tw(P(Zw(e.g,l),47),t),bj(P(Zw(e.g,l),47),i);for(c=i.a.ec().Jc();c.Ob();)s=P(c.Pb(),9),o.a.yc(s,o),Tw(P(Zw(e.b,s),47),n),bj(P(Zw(e.b,s),47),a)}function _z(e,t,n){var r=P(Zw(e.a,t),47),i,a=P(Zw(e.a,n),47),o,s,c,l,u;for(i=P(Zw(e.b,t),47),o=P(Zw(e.b,n),47),r.a.yc(n,r),o.a.yc(t,o),u=a.a.ec().Jc();u.Ob();)l=P(u.Pb(),9),r.a.yc(l,r),Tw(P(Zw(e.b,l),47),t),bj(P(Zw(e.b,l),47),i);for(c=i.a.ec().Jc();c.Ob();)s=P(c.Pb(),9),o.a.yc(s,o),Tw(P(Zw(e.a,s),47),n),bj(P(Zw(e.a,s),47),a)}function vz(){vz=C;var e;for(bY=new WD(1,1),Pbt=new WD(1,10),SY=new WD(0,0),Mbt=new WD(-1,1),Nbt=U(k(CY,1),X,91,0,[SY,bY,new WD(1,2),new WD(1,3),new WD(1,4),new WD(1,5),new WD(1,6),new WD(1,7),new WD(1,8),new WD(1,9),Pbt]),xY=V(CY,X,91,32,0,1),e=0;e<xY.length;e++)xY[e]=Gy($C(1,e),0)?UP($C(1,e)):Mw(UP(gk($C(1,e))))}function dtt(e,t,n,r,i,a,o){if(e.c=r.Jf().a,e.d=r.Jf().b,i&&(e.c+=i.Jf().a,e.d+=i.Jf().b),e.b=t.Kf().a,e.a=t.Kf().b,!i)n?e.c-=o+t.Kf().a:e.c+=r.Kf().a+o;else switch(i.$f().g){case 0:case 2:e.c+=i.Kf().a+o+a.a+o;break;case 4:e.c-=o+a.a+o+t.Kf().a;break;case 1:e.c+=i.Kf().a+o,e.d-=o+a.b+o+t.Kf().b;break;case 3:e.c+=i.Kf().a+o,e.d+=i.Kf().b+o+a.b+o}}function ftt(e,t,n,r){var i,a=n,o,s,c,l,u,d,f,p,m;if(n<r)for(f=(p=new cM(e.p),m=new cM(e.p),bj(p.e,e.e),p.q=e.q,p.r=m,Vw(p),bj(m.j,e.j),m.r=p,Vw(m),new My(p,m)),d=P(f.a,116),u=P(f.b,116),i=(oD(a,t.c.length),P(t.c[a],340)),o=L9e(e,d,u,i),l=n+1;l<=r;l++)s=(oD(l,t.c.length),P(t.c[l],340)),c=L9e(e,d,u,s),CJe(s,c,i,o)&&(i=s,o=c,a=l);return a}function ptt(e,t,n,r){var i,a,o=P(H(t,0),26),s,c,l,u,d,f,p,m;for(TA(o,0),EA(o,0),f=new ah,ph(f.c,o),s=o,a=new jxe(e.a,o.g,o.f,(VR(),D3)),p=1;p<t.i;p++)m=P(H(t,p),26),c=zit(e,w3,m,s,a,f,n),l=zit(e,C3,m,s,a,f,n),u=zit(e,E3,m,s,a,f,n),d=zit(e,T3,m,s,a,f,n),i=Hat(e,c,l,u,d,m,s,r),TA(m,i.d),EA(m,i.e),Up(i,D3),a=i,s=m,ph(f.c,m);return a}function mtt(e,t,n){var r,i,a,o,s,c,l,u=null,d,f=t;if(d=lRe(e,Fje(n),f),QA(d,PD(f,Oq)),o=ND(f,i_t),r=new ode(e,d),p4e(r.a,r.b,o),s=ND(f,wq),i=new sde(e,d),m4e(i.a,i.b,s),(!d.b&&(d.b=new xS(r7,d,4,7)),d.b).i==0||(!d.c&&(d.c=new xS(r7,d,5,8)),d.c).i==0)throw a=PD(f,Oq),c=d_t+a,l=c+jq,D(new _g(l));return sL(f,d),Alt(e,f,d),u=FM(e,f,d),u}function htt(e,t){var n,i,a=V(q9,JV,30,e.e.a.c.length,15,1),o,s,c,l;for(s=new E(e.e.a);s.a<s.c.c.length;)o=P(z(s),124),a[o.d]+=o.b.a.c.length;for(c=$S(t);c.b!=0;)for(o=P(c.b==0?null:(Bx(c.b!=0),aA(c,c.a.a)),124),i=ok(new E(o.g.a));i.Ob();)n=P(i.Pb(),217),l=n.e,l.e=r.Math.max(l.e,o.e+n.a),--a[l.d],a[l.d]==0&&iO(c,l,c.c.b,c.c)}function gtt(e){var t,n=LV,i,a=JB,o,s,c,l,u,d,f;for(c=new E(e.e.a);c.a<c.c.c.length;)o=P(z(c),124),a=r.Math.min(a,o.e),n=r.Math.max(n,o.e);for(t=V(q9,JV,30,n-a+1,15,1),s=new E(e.e.a);s.a<s.c.c.length;)o=P(z(s),124),o.e-=a,++t[o.e];if(i=0,e.k!=null)for(u=e.k,d=0,f=u.length;d<f&&(l=u[d],t[i++]+=l,t.length!=i);++d);return t}function _tt(e,t){var n,r,i,a,o,s;if(t.Tg(`Edge routing`,1),i=P(K(e,(Lz(),x4)),385),i==(QM(),Q2))mFe(e);else if(i==Z2)for(P(yx(RM(AT(new jC(null,new nD(e.b,16)),new bo))),40),a=O(N(K(e,yNt))),o=O(N(K(e,aNt))),s=P(K(e,b4),86),Mlt(e,s,a),kut(e,s,a,o),jut(e,s,a,o),r=TF(e.a,0);r.b!=r.d.c;)n=P(RD(r),65),n.a.b<2&&M4e(n);t.Ug()}function vtt(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return P(Q7e(e),15).a==e.o;case 1:case 2:if(e.o==-2)return!1;switch(e.p){case 0:case 1:case 2:case 6:case 5:case 7:return Wy(e.k,e.f);case 3:case 4:return e.j==e.e;default:return e.n==null?e.g==null:DN(e.n,e.g)}default:return!1}}function ytt(e){var t,n,r,i=e.b;for(t=!1,r=new E(e.i.d);r.a<r.c.c.length;)if(n=P(z(r),70),hg(eS(K(n,(PB(),D1))))){t=!0;break}wx(i,(wB(),m5))?wx(i,j5)?wx(i,N5)?wx(i,p5)||cw(e,t?N5:m5,t?(oM(),TZ):(oM(),DZ),t?null:e.c):cw(e,t?p5:m5,t?(oM(),TZ):(oM(),EZ),t?null:e.a):cw(e,m5,(oM(),TZ),null):cw(e,j5,(oM(),TZ),null)}function btt(e,t,n){var r,i,a=new HO(t.c.length),o,s,c,l,u,d;for(l=new E(t);l.a<l.c.c.length;)o=P(z(l),9),$b(a,e.b[o.c.p][o.p]);for(iot(e,a,n),d=null;d=wst(a);)Qrt(e,P(d.a,239),P(d.b,239),a);for(t.c.length=0,i=new E(a);i.a<i.c.c.length;)for(r=P(z(i),239),s=r.d,c=0,u=s.length;c<u;++c)o=s[c],ph(t.c,o),e.a[o.c.p][o.p].a=ex(r.g,r.d[0]).a}function xtt(e,t){var n,r,i;switch(t.Tg(`Breaking Point Insertion`,1),r=new m6e(e),P(K(e,(PB(),I0)),350).g){case 2:i=new fa;break;case 0:i=new na;break;default:i=new pa}if(n=i.mg(e,r),hg(eS(K(e,xAt)))&&(n=mot(e,n)),!i.ng()&&Kx(e,R0))switch(P(K(e,R0),351).g){case 2:n=d4e(r,n);break;case 1:n=JQe(r,n)}if(n.dc()){t.Ug();return}Rlt(e,n),t.Ug()}function Stt(e){Y_(e,new uL(Rg(Pg(Lg(Ig(new oc,ZK),`ELK Fixed`),`Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points.`),new Mc))),B(e,ZK,EU,NRt),B(e,ZK,MG,DF(M8)),B(e,ZK,lgt,DF(ORt)),B(e,ZK,MU,DF(kRt)),B(e,ZK,VU,DF(jRt)),B(e,ZK,AU,DF(ARt))}function yz(e,t,n){var r=RC(cP(EV,bT(RC(cP(t==null?0:Cj(t),DV)),15))),i,a,o,s=RC(cP(EV,bT(RC(cP(n==null?0:Cj(n),DV)),15)));if(a=Dj(e,t,r),a&&s==a.f&&cT(n,a.i))return n;if(o=Oj(e,n,s),o)throw D(new sg(`value already present: `+n));return i=new _T(t,r,n,s),a?(RR(e,a),nR(e,i,a),a.e=null,a.c=null,a.i):(nR(e,i,null),yZe(e),null)}function Ctt(e,t,n){var r,i,a,o,s,c,l,u=n.a.c,d,f,p,m;o=n.a.c+n.a.b,a=P(Zw(n.c,t),457),p=a.f,m=a.a,c=a.b?new A(o,p):new A(u,p),d=a.c?new A(u,m):new A(o,m),i=u,n.p||(i+=e.c),i+=n.F+n.v*e.b,l=new A(i,p),f=new A(i,m),UA(t.a,U(k(o6,1),X,8,0,[c,l])),s=n.d.a.gc()>1,s&&(r=new A(i,n.b),pC(t.a,r)),UA(t.a,U(k(o6,1),X,8,0,[f,d]))}function bz(){bz=C,o2=new Wv(YU,0),i2=new Wv(`NIKOLOV`,1),a2=new Wv(`NIKOLOV_PIXEL`,2),BAt=new Wv(`NIKOLOV_IMPROVED`,3),VAt=new Wv(`NIKOLOV_IMPROVED_PIXEL`,4),zAt=new Wv(`DUMMYNODE_PERCENTAGE`,5),HAt=new Wv(`NODECOUNT_PERCENTAGE`,6),s2=new Wv(`NO_BOUNDARY`,7),n2=new Wv(`MODEL_ORDER_LEFT_TO_RIGHT`,8),r2=new Wv(`MODEL_ORDER_RIGHT_TO_LEFT`,9)}function wtt(e,t){var n,r,i,a,o,s,c,l,u=null,d,f=k6e(e,t),p;return r=null,s=P(J(t,(LB(),wLt)),300),r=s||(vA(),F5),p=r,p==(vA(),F5)&&(i=null,l=P(Zw(e.r,f),300),i=l||QRt,p=i),ST(e.r,t,p),a=null,c=P(J(t,SLt),278),a=c||(HN(),S8),d=a,d==(HN(),S8)&&(o=null,n=P(Zw(e.b,f),278),o=n||x8,d=o),u=P(ST(e.b,t,d),278),u}function Ttt(e){var t,n,r=e.length,i,a;for(t=new Dg,a=0;a<r;)if(n=wT(e,a++),!(n==9||n==10||n==12||n==13||n==32)){if(n==35){for(;a<r&&(n=wT(e,a++),!(n==13||n==10)););continue}n==92&&a<r?(i=(sD(a,e.length),e.charCodeAt(a)))==35||i==9||i==10||i==12||i==13||i==32?(Yw(t,i&VV),++a):(t.a+=`\\`,Yw(t,i&VV),++a):Yw(t,n&VV)}return t.a}function Ett(){Ett=C,KNt=new lb(pht,(mx(),!1)),QNt=new lb(mht,G(0)),$Nt=new lb(hht,0),ePt=new lb(fK,!1),YNt=($M(),B4),JNt=new lb(pK,YNt),G(0),qNt=new lb(mK,G(1)),aPt=(nM(),J4),iPt=new lb(ght,aPt),sPt=(pk(),z4),oPt=new lb(_ht,sPt),ZNt=(dI(),q4),XNt=new lb(vht,ZNt),rPt=new lb(hK,0),tPt=new lb(gK,!1),nPt=new lb(yht,!1)}function Dtt(e,t){var n,r,i;for(r=new E(t);r.a<r.c.c.length;)if(n=P(z(r),26),fR(e.a,n,n),fR(e.b,n,n),i=iz(n),i.c.length!=0)for(e.d&&e.d.Fg(i),fR(e.a,n,(oD(0,i.c.length),P(i.c[0],26))),fR(e.b,n,P(AC(i,i.c.length-1),26));vM(i).c.length!=0;)i=vM(i),e.d&&e.d.Fg(i),fR(e.a,n,(oD(0,i.c.length),P(i.c[0],26))),fR(e.b,n,P(AC(i,i.c.length-1),26))}function Ott(e,t,n){var r,i,a,o,s,c;if(!t)return null;if(n<=-1){if(r=eA(t.Ah(),-1-n),M(r,103))return P(r,19);for(o=P(t.Jh(r),163),s=0,c=o.gc();s<c;++s)if(j(o.Sl(s))===j(e)&&(i=o.Rl(s),M(i,103)&&(a=P(i,19),(a.Bb&sq)!=0)))return a;throw D(new cg(`The containment feature could not be located`))}else return QF(P(eA(e.Ah(),n),19))}function ktt(e){var t,n=0,r,i,a,o,s,c,l,u;for(s=new E(e.d);s.a<s.c.c.length;)o=P(z(s),107),o.i&&(o.i.c=n++);for(t=CC(J9,[X,qH],[171,30],16,[n,n],2),u=e.d,i=0;i<u.c.length;i++)if(c=(oD(i,u.c.length),P(u.c[i],107)),c.i)for(a=i+1;a<u.c.length;a++)l=(oD(a,u.c.length),P(u.c[a],107)),l.i&&(r=n1e(c,l),t[c.i.c][l.i.c]=r,t[l.i.c][c.i.c]=r);return t}function xz(){xz=C,X2=new ey(`ROOT_PROC`,0),DMt=new ey(`FAN_PROC`,1),jMt=new ey(`LEVEL_PROC`,2),MMt=new ey(`NEIGHBORS_PROC`,3),AMt=new ey(`LEVEL_HEIGHT`,4),EMt=new ey(`DIRECTION_PROC`,5),NMt=new ey(`NODE_POSITION_PROC`,6),wMt=new ey(`COMPACTION_PROC`,7),kMt=new ey(`LEVEL_COORDS`,8),OMt=new ey(`GRAPH_BOUNDS_PROC`,9),TMt=new ey(`DETREEIFYING_PROC`,10)}function Att(e,t){var n,r,i,a,o,s,c,l,u,d=cE(t);for(l=null,i=!1,s=0,u=KD(d.a).i;s<u;++s)o=P(pB(d,s,(a=P(H(KD(d.a),s),87),c=a.c,M(c,88)?P(c,29):(VB(),t9))),29),n=Att(e,o),n.dc()||(l?(i||(i=!0,l=new PC(l)),l.Fc(n)):l=n);return r=o4e(e,t),r.dc()?l||(KT(),KT(),EY):l?(i||(l=new PC(l)),l.Fc(r),l):r}function jtt(e,t){var n,r,i,a,o,s,c,l,u,d=cE(t);for(l=null,r=!1,s=0,u=KD(d.a).i;s<u;++s)a=P(pB(d,s,(i=P(H(KD(d.a),s),87),c=i.c,M(c,88)?P(c,29):(VB(),t9))),29),n=jtt(e,a),n.dc()||(l?(r||(r=!0,l=new PC(l)),l.Fc(n)):l=n);return o=o3e(e,t),o.dc()?l||(KT(),KT(),EY):l?(r||(l=new PC(l)),l.Fc(o),l):o}function Mtt(e,t){var n,r,i,a,o;for(e.c==null||e.c.length<t.c.length?e.c=V(J9,qH,30,t.c.length,16,1):fg(e.c),e.a=new ah,r=0,o=new E(t);o.a<o.c.c.length;)i=P(z(o),9),i.p=r++;for(n=new E_,a=new E(t);a.a<a.c.c.length;)i=P(z(a),9),e.c[i.p]||(w4e(e,i),n.b==0||(Bx(n.b!=0),P(n.a.a.c,16)).gc()<e.a.c.length?tb(n,e.a):eb(n,e.a),e.a=new ah);return n}function Ntt(e,t,n,r){var i,a,o;K(r.d.i,(Y(),w$))==null?ST(t,G(JB-(t.f.c+t.i.c)),new EC(new dg(U(k(FX,1),eW,17,0,[r])))):(o=0,a=r.d.i,n?(i=P(K(e.c,C$),15).a,o=i*P(K(a,(PB(),f1)),15).a+P(K(a,w$),15).a):o=P(K(r.d.i,w$),15).a,bw(t,G(o))?Tw(P(Zw(t,G(o)),47),r):ST(t,G(o),new EC(new dg(U(k(FX,1),eW,17,0,[r])))))}function Sz(e,t,n){var r,i,a,o,s,c;if(M(t,75))return RF(e,t,n);for(s=null,a=null,r=P(e.g,122),o=0;o<e.i;++o)if(i=r[o],DN(t,i.kd())&&(a=i.Jk(),M(a,103)&&(P(a,19).Bb&sq)!=0)){s=i;break}return s&&(gb(e.e)&&(c=a.Hk()?oE(e,4,a,t,null,Uz(e,a,t,M(a,103)&&(P(a,19).Bb&_H)!=0),!0):oE(e,a.rk()?2:1,a,t,a.gk(),-1,!0),n?n.lj(c):n=c),n=Sz(e,s,n)),n}function Ptt(e,t,n){var r,i,a,o=$R(e.e.Ah(),t);if(r=P(e.g,122),rv(),P(t,69).vk()){for(a=0;a<e.i;++a)if(i=r[a],o.$l(i.Jk())&&DN(i,n))return az(e,a),!0}else if(n!=null){for(a=0;a<e.i;++a)if(i=r[a],o.$l(i.Jk())&&DN(n,i.kd()))return az(e,a),!0}else for(a=0;a<e.i;++a)if(i=r[a],o.$l(i.Jk())&&i.kd()==null)return az(e,a),!0;return!1}function Ftt(e,t,n,r){var i,a,o=Jx(t.c,n,r),s,c,l,u,d,f,p;for(d=new E(t.a);d.a<d.c.c.length;){for(u=P(z(d),9),wS(u.n,o),p=new E(u.j);p.a<p.c.c.length;)for(f=P(z(p),12),a=new E(f.g);a.a<a.c.c.length;)for(i=P(z(a),17),kj(i.a,o),s=P(K(i,(PB(),z1)),78),s&&kj(s,o),l=new E(i.b);l.a<l.c.c.length;)c=P(z(l),70),wS(c.n,o);$b(e.a,u),u.a=e}}function Itt(e,t){var n,r,i,a,o;if(t.Tg(`Node and Port Label Placement and Node Sizing`,1),Mfe((V_(),new RT(e,!0,!0,new Rn))),P(K(e,(Y(),l$)),22).Gc((oz(),AQ)))for(a=P(K(e,(PB(),d0)),22),i=a.Gc((rR(),l5)),o=hg(eS(K(e,iAt))),r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),25),P_(AT(new jC(null,new nD(n.a,16)),new zn),new Iye(a,i,o));t.Ug()}function Ltt(e){Y_(e,new uL(Rg(Pg(Lg(Ig(new oc,PK),`ELK SPOrE Overlap Removal`),`A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".`),new qs))),B(e,PK,kK,DF(TIt)),B(e,PK,EU,CIt),B(e,PK,xU,8),B(e,PK,MK,DF(wIt)),B(e,PK,Yht,DF(xIt)),B(e,PK,Xht,DF(SIt)),B(e,PK,DG,(mx(),!1))}function Rtt(e,t){var n=t.ni(e.a),r,i,a,o,s,c;if(n&&(c=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),Rvt)),c!=null)){for(r=new ah,a=Iz(c,`\\w`),o=0,s=a.length;o<s;++o)i=a[o],CS(i,`##other`)?$b(r,`!##`+KC(e,lA(t.ok()))):CS(i,`##local`)?r.c.push(null):CS(i,PJ)?$b(r,KC(e,lA(t.ok()))):ph(r.c,i);return r}return KT(),KT(),EY}function Cz(e,t,n,r){this.e=e,this.k=P(K(e,(Y(),I$)),316),this.g=V(IX,tW,9,t,0,1),this.b=V(pY,X,346,t,7,1),this.a=V(IX,tW,9,t,0,1),this.d=V(pY,X,346,t,7,1),this.j=V(IX,tW,9,t,0,1),this.i=V(pY,X,346,t,7,1),this.p=V(pY,X,346,t,7,1),this.n=V(uY,X,473,t,8,1),sv(this.n,(mx(),!1)),this.f=V(uY,X,473,t,8,1),sv(this.f,!0),this.o=n,this.c=r}function wz(e){var t,n,r,i,a,o,s,c;if(e.d)throw D(new cg(($x(wX),UH+wX.k+WH)));for(e.c==(WN(),v8)&&bB(e,g8),n=new E(e.a.a);n.a<n.c.c.length;)t=P(z(n),194),t.e=0;for(o=new E(e.a.b);o.a<o.c.c.length;)for(a=P(z(o),82),a.o=mH,i=a.f.Jc();i.Ob();)r=P(i.Pb(),82),++r.d.e;for(dct(e),c=new E(e.a.b);c.a<c.c.c.length;)s=P(z(c),82),s.k=!0;return e}function ztt(e,t){var n,r,i,a,o,s=new a2e(e),c,l;for(n=new E_,iO(n,t,n.c.b,n.c);n.b!=0;){for(r=P(n.b==0?null:(Bx(n.b!=0),aA(n,n.a.a)),113),r.d.p=1,o=new E(r.e);o.a<o.c.c.length;)i=P(z(o),341),N$e(s,i),l=i.d,l.d.p==0&&iO(n,l,n.c.b,n.c);for(a=new E(r.b);a.a<a.c.c.length;)i=P(z(a),341),N$e(s,i),c=i.c,c.d.p==0&&iO(n,c,n.c.b,n.c)}return s}function Btt(e,t){var n,r,i,a,o,s,c;if(!e.e[t.p]){for(e.e[t.p]=!0,e.a[t.p]=!0,a=new oh,n=j(K(e.c,(PB(),l1)))===j((SM(),HQ)),dO(fP(t),new Fye(e,a,n)),o=new Ime(new Zp(a)),i=o.a.ec().Jc();i.Ob();)r=P(i.Pb(),15).a,s=P(P(Zw(a,G(r)),47).a.ec().Jc().Pb(),17),!xO(s)&&(c=s.d.i,e.a[c.p]?pM(e.b,P(Zw(a,G(r)),18)):Btt(e,c));e.a[t.p]=!1}}function Vtt(e){var t,n,r=O(N(J(e,(LB(),KLt)))),i,a;if(r!=1)for(Cb(e,r*e.g,r*e.f),n=efe(Nbe((!e.c&&(e.c=new F(m7,e,9,9)),e.c),new zc)),a=xw(IA(U(k(QJ,1),$B,20,0,[(!e.n&&(e.n=new F(f7,e,1,7)),e.n),(!e.c&&(e.c=new F(m7,e,9,9)),e.c),n])));CR(a);)i=P(CO(a),276),i.ph(r*i.mh(),r*i.nh()),i.oh(r*i.lh(),r*i.kh()),t=P(i.mf(VLt),8),t&&(t.a*=r,t.b*=r)}function Htt(e,t,n){var r,i,a,o=(rv(),P(t,69).vk()),s;if(nz(e.e,t)){if(t.Qi()&&zz(e,t,n,M(t,103)&&(P(t,19).Bb&_H)!=0))return!1}else for(s=$R(e.e.Ah(),t),r=P(e.g,122),a=0;a<e.i;++a)if(i=r[a],s.$l(i.Jk()))return(o?DN(i,n):n==null?i.kd()==null:DN(n,i.kd()))?!1:(P(WF(e,a,o?P(n,75):qD(t,n)),75),!0);return XO(e,o?P(n,75):qD(t,n))}function Utt(e,t,n,r,i){var a,o,s,c,l,u,d,f;for(o=new E(e.b);o.a<o.c.c.length;)for(a=P(z(o),25),f=hD(a.a),l=f,u=0,d=l.length;u<d;++u)switch(c=l[u],P(K(c,(PB(),B1)),165).g){case 1:P7e(c),BE(c,t),VJe(c,!0,r);break;case 3:g7e(c),BE(c,n),VJe(c,!1,i)}for(s=new bD(e.b,0);s.b<s.d.gc();)(Bx(s.b<s.d.gc()),P(s.d.Xb(s.c=s.b++),25)).a.c.length==0&&nT(s)}function Wtt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p=t.length,m,h,g;for(c=p,sD(0,t.length),t.charCodeAt(0)==45?(d=-1,f=1,--p):(d=1,f=0),a=(Hit(),Ibt)[10],i=p/a|0,g=p%a,g!=0&&++i,s=V(q9,JV,30,i,15,1),n=Fbt[8],o=0,m=f+(g==0?a:g),h=f;h<c;h=m,m=h+a)r=Ez((YO(h,m,t.length),t.substr(h,m-h)),LV,JB),l=(cz(),GJe(s,s,o,n)),l+=CKe(s,o,r),s[o++]=l;u=o,e.e=d,e.d=u,e.a=s,yD(e)}function Gtt(e){var t,n,r,i,a,o,s=e.i,c,l,u,d,f;for(i=hg(eS(K(s,(PB(),L1)))),u=0,r=0,l=new E(e.g);l.a<l.c.c.length;)c=P(z(l),17),o=xO(c),a=o&&i&&hg(eS(K(c,R1))),f=c.d.i,o&&a?++r:o&&!a?++u:lT(f).e==s?++r:++u;for(n=new E(e.e);n.a<n.c.c.length;)t=P(z(n),17),o=xO(t),a=o&&i&&hg(eS(K(t,R1))),d=t.c.i,o&&a?++u:o&&!a?++r:lT(d).e==s?++u:++r;return u-r}function Ktt(e,t){var n,r,i,a,o,s;if(!t.dc())if(P(t.Xb(0),294).d==(WL(),XZ))sZe(e,t);else for(r=t.Jc();r.Ob();){switch(n=P(r.Pb(),294),n.d.g){case 5:LL(e,n,LGe(e,n));break;case 0:LL(e,n,(o=n.f-n.c+1,s=(o-1)/2|0,n.c+s));break;case 4:LL(e,n,lLe(e,n));break;case 2:_Ke(n),LL(e,n,(a=qQe(n),a?n.c:n.f));break;case 1:_Ke(n),LL(e,n,(i=qQe(n),i?n.f:n.c))}l1e(n.a)}}function qtt(e,t,n,r){var i,a,o=new ice(t,n);return e.a?r?(i=P(uT(P(Zw(e.b,t),262)),262),++i.a,o.d=r.d,o.e=r.e,o.b=r,o.c=r,r.e?r.e.c=o:i.b=o,r.d?r.d.b=o:e.a=o,r.d=o,r.e=o):(P(uT(e.e),497).b=o,o.d=e.e,e.e=o,i=P(Zw(e.b,t),262),i?(++i.a,a=i.c,a.c=o,o.e=a,i.c=o):(ST(e.b,t,i=new PEe(o)),++e.c)):(e.a=e.e=o,ST(e.b,t,new PEe(o)),++e.c),++e.d,o}function Jtt(e,t){var n,r,i,a,o;if(t.Tg(`Network simplex`,1),e.e.a.c.length<1){t.Ug();return}for(a=new E(e.e.a);a.a<a.c.c.length;)i=P(z(a),124),i.e=0;for(o=e.e.a.c.length>=40,o&&vrt(e),Tat(e),B7e(e),n=UWe(e),r=0;n&&r<e.f;)int(e,n,H6e(e,n)),n=UWe(e),++r;o&&m$e(e),e.a?n8e(e,gtt(e)):gtt(e),e.b=null,e.d=null,e.p=null,e.c=null,e.g=null,e.i=null,e.n=null,e.o=null,t.Ug()}function Ytt(e,t){var n,r,i,a,o,s,c;if(!t.e){for(t.e=!0,r=t.d.a.ec().Jc();r.Ob();){if(n=P(r.Pb(),17),t.o&&t.d.a.gc()<=1){o=t.a.c,s=t.a.c+t.a.b,c=new A(o+(s-o)/2,t.b),pC(P(t.d.a.ec().Jc().Pb(),17).a,c);continue}if(i=P(Zw(t.c,n),457),i.b||i.c){Ctt(e,n,t);continue}a=e.d==(hN(),x2)&&(i.d||i.e)&&N3e(e,t)&&t.d.a.gc()<=1,a?Wst(n,t):V9e(e,n,t)}t.k&&dO(t.d,new mn)}}function Xtt(e,t,n,i,a,o){var s,c,l,u,d,f,p=o,m,h,g,_,v,y,b;for(c=(i+a)/2+p,_=n*r.Math.cos(c),v=n*r.Math.sin(c),y=_-t.g/2,b=v-t.f/2,TA(t,y),EA(t,b),f=e.a.Dg(t),g=2*r.Math.acos(n/n+e.c),g<a-i?(m=g/f,s=(i+a-g)/2):(m=(a-i)/f,s=i),h=iz(t),e.e&&(e.e.Eg(e.d),e.e.Fg(h)),u=new E(h);u.a<u.c.c.length;)l=P(z(u),26),d=e.a.Dg(l),Xtt(e,l,n+e.c,s,s+m*d,o),s+=m*d}function Ztt(e,t,n){var r=n.q.getMonth();switch(t){case 5:Qy(e,U(k(vY,1),X,2,6,[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`])[r]);break;case 4:Qy(e,U(k(vY,1),X,2,6,[udt,ddt,fdt,pdt,HV,mdt,hdt,gdt,UV,WV,GV,KV])[r]);break;case 3:Qy(e,U(k(vY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,HV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])[r]);break;default:Hk(e,r+1,t)}}function Qtt(e,t,n,r){var i,a,o,s,c=new A(n,r),l,u,d,f;for(TS(c,P(K(t,(oj(),lX)),8)),f=new E(t.e);f.a<f.c.c.length;)d=P(z(f),155),wS(d.d,c),$b(e.e,d);for(s=new E(t.c);s.a<s.c.c.length;){for(o=P(z(s),291),a=new E(o.a);a.a<a.c.c.length;)i=P(z(a),251),wS(i.d,c);$b(e.c,o)}for(u=new E(t.d);u.a<u.c.c.length;)l=P(z(u),445),wS(l.d,c),$b(e.d,l)}function $tt(e,t){var n,r,i,a,o,s,c,l;for(c=new E(t.j);c.a<c.c.c.length;)for(s=P(z(c),12),i=new IO(s.b);Hb(i.a)||Hb(i.b);)r=P(Hb(i.a)?z(i.a):z(i.b),17),n=r.c==s?r.d:r.c,a=n.i,t!=a&&(l=P(K(r,(PB(),m0)),15).a,l<0&&(l=0),o=a.p,e.c[o]==0&&(r.d==n?(e.a[o]-=l+1,e.a[o]<=0&&e.d[o]>0&&pC(e.g,a)):(e.d[o]-=l+1,e.d[o]<=0&&e.a[o]>0&&pC(e.f,a))))}function ent(e,t,n,r){var i,a,o,s,c=new A(n,r),l,u;for(TS(c,P(K(t,(CB(),e4)),8)),u=TF(t.b,0);u.b!=u.d.c;)l=P(RD(u),40),wS(l.e,c),pC(e.b,l);for(s=P(aO(gOe(new jC(null,new nD(t.a,16))),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16).Jc();s.Ob();){for(o=P(s.Pb(),65),a=TF(o.a,0);a.b!=a.d.c;)i=P(RD(a),8),i.a+=c.a,i.b+=c.b;pC(e.a,o)}}function tnt(e,t){var n,r,i,a;if(0<(M(e,18)?P(e,18).gc():UD(e.Jc()))){if(i=t,1<i){for(--i,a=new vo,r=e.Jc();r.Ob();)n=P(r.Pb(),40),a=IA(U(k(QJ,1),$B,20,0,[a,new Km(n)]));return tnt(a,i)}if(i<0){for(a=new yo,r=e.Jc();r.Ob();)n=P(r.Pb(),40),a=IA(U(k(QJ,1),$B,20,0,[a,new Km(n)]));if(0<(M(a,18)?P(a,18).gc():UD(a.Jc())))return tnt(a,i)}}return P(Xb(e.Jc()),40)}function nnt(e,t,n){var r,i,a,o;for(n.Tg(`Processor order nodes`,2),e.b=O(N(K(t,(Lz(),w4)))),e.a=P(K(t,b4),86),e.a==(WN(),v8)&&(e.a=h8,W(t,b4,e.a)),i=new E_,o=TF(t.b,0);o.b!=o.d.c;)a=P(RD(o),40),hg(eS(K(a,(CB(),_4))))&&iO(i,a,i.c.b,i.c);r=(Bx(i.b!=0),P(i.a.a.c,40)),Cat(e,r),n.eh(1),Qet(e,r,0-O(N(K(r,(CB(),l4))))/2,0),n.eh(1),n.Ug()}function Tz(){Tz=C,U5=new Ay(`DEFAULT_MINIMUM_SIZE`,0),W5=new Ay(`MINIMUM_SIZE_ACCOUNTS_FOR_PADDING`,1),H5=new Ay(`COMPUTE_PADDING`,2),G5=new Ay(`OUTSIDE_NODE_LABELS_OVERHANG`,3),K5=new Ay(`PORTS_OVERHANG`,4),J5=new Ay(`UNIFORM_PORT_SPACING`,5),q5=new Ay(`SPACE_EFFICIENT_PORT_LABELS`,6),rzt=new Ay(`FORCE_TABULAR_NODE_LABELS`,7),V5=new Ay(`ASYMMETRICAL`,8)}function rnt(e,t){var n,r,i,a,o,s,c,l;if(t){if(n=(a=t.Ah(),a?lA(a).ti().pi(a):null),n){for(yF(e,t,n),i=t.Ah(),c=0,l=(i.i??Rz(i),i.i).length;c<l;++c)s=(r=(i.i??Rz(i),i.i),c>=0&&c<r.length?r[c]:null),s.pk()&&!s.qk()&&(M(s,335)?PJe(e,P(s,38),t,n):(o=P(s,19),(o.Bb&sq)!=0&&CQe(e,o,t,n)));t.Sh()&&P(n,52).bi(P(t,52).Yh())}return n}else return null}function int(e,t,n){var r,i,a;if(!t.f)throw D(new sg(`Given leave edge is no tree edge.`));if(n.f)throw D(new sg(`Given enter edge is a tree edge already.`));for(t.f=!1,Bpe(e.p,t),n.f=!0,Tw(e.p,n),r=n.e.e-n.d.e-n.a,eR(e,n.e,t)||(r=-r),a=new E(e.e.a);a.a<a.c.c.length;)i=P(z(a),124),eR(e,i,t)||(i.e+=r);e.j=1,fg(e.c),A4e(e,P(z(new E(e.e.a)),124)),Pot(e)}function ant(e,t){var n,r,i,a,o,s=P(K(t,(PB(),l0)),102);if(s==(iL(),n5)||s==t5)for(i=new A(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,o=new E(e.a);o.a<o.c.c.length;)a=P(z(o),9),a.k==(MR(),RX)&&(n=P(K(a,(Y(),s$)),64),!(n!=(wB(),p5)&&n!=N5)&&(r=O(N(K(a,k$))),s==n5&&(r*=i),a.n.b=r-P(K(a,s0),8).b,fM(a,!1,!0)))}function ont(e,t,n,r,i){n&&(!r||(e.c-e.b&e.a.length-1)>1)&&t==1&&P(e.a[e.b],9).k==(MR(),zX)?Gz(P(e.a[e.b],9),(AI(),I8)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&P(e.a[e.c-1&e.a.length-1],9).k==(MR(),zX)?Gz(P(e.a[e.c-1&e.a.length-1],9),(AI(),L8)):(e.c-e.b&e.a.length-1)==2?(Gz(P(jM(e),9),(AI(),I8)),Gz(P(jM(e),9),L8)):p8e(e,i),oMe(e)}function snt(e){var t,n,i,a,o,s,c,l=new oh;for(t=new kh,s=e.Jc();s.Ob();)a=P(s.Pb(),9),c=bx(z_(new Ah,a),t),XL(l.f,a,c);for(o=e.Jc();o.Ob();)for(a=P(o.Pb(),9),i=new XC(dx(fP(a).a.Jc(),new f));CR(i);)n=P(CO(i),17),!xO(n)&&ZR(L_(I_(F_(R_(new Mh,r.Math.max(1,P(K(n,(PB(),sAt)),15).a)),1),P(Zw(l,n.c.i),124)),P(Zw(l,n.d.i),124)));return t}function cnt(e,t,n,r){var i,a,o,s,c,l,u,d,f,p;if(ILe(e,t,n),a=t[n],p=r?(wB(),N5):(wB(),p5),Zpe(t.length,n,r)){for(i=t[r?n-1:n+1],ePe(e,i,r?(VA(),m2):(VA(),p2)),c=a,u=0,f=c.length;u<f;++u)o=c[u],uYe(e,o,p);for(ePe(e,a,r?(VA(),p2):(VA(),m2)),s=i,l=0,d=s.length;l<d;++l)o=s[l],o.e||uYe(e,o,GN(p))}else for(s=a,l=0,d=s.length;l<d;++l)o=s[l],uYe(e,o,p);return!1}function lnt(e,t,n,r,i){var a,o,s,c,l,u,d;for(KT(),Vb(e,new Lc),s=new bD(e,0),d=new ah,a=0;s.b<s.d.gc();)o=(Bx(s.b<s.d.gc()),P(s.d.Xb(s.c=s.b++),167)),d.c.length!=0&&kC(o)*OC(o)>a*2?(u=new _A(d),l=kC(o)/OC(o),c=Plt(u,t,new Fh,n,r,i,l),wS(nb(u.e),c),d.c.length=0,a=0,ph(d.c,u),ph(d.c,o),a=kC(u)*OC(u)+kC(o)*OC(o)):(ph(d.c,o),a+=kC(o)*OC(o));return d}function unt(e,t){var n,r,i,a,o,s,c;for(t.Tg(`Port order processing`,1),c=P(K(e,(PB(),aAt)),421),r=new E(e.b);r.a<r.c.c.length;)for(n=P(z(r),25),a=new E(n.a);a.a<a.c.c.length;)i=P(z(a),9),o=P(K(i,l0),102),s=i.j,o==(iL(),e5)||o==n5||o==t5?(KT(),Vb(s,Bwt)):o!=i5&&o!=a5&&(KT(),Vb(s,Uwt),rYe(s),c==(Sk(),f2)&&Vb(s,Hwt)),i.i=!0,_4e(i);t.Ug()}function dnt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m;if(gb(e.e)){if(t!=n&&(i=P(e.g,122),p=i[n],o=p.Jk(),nz(e.e,o))){for(m=$R(e.e.Ah(),o),c=-1,s=-1,r=0,l=0,d=t>n?t:n;l<=d;++l)l==n?s=r++:(a=i[l],u=m.$l(a.Jk()),l==t&&(c=l==d&&!u?r-1:r),u&&++r);return f=P(qN(e,t,n),75),s!=c&&Th(e,new ak(e.e,7,o,G(s),p.kd(),c)),f}}else return P(dR(e,t,n),75);return P(qN(e,t,n),75)}function fnt(e,t){var n,r,i,a,o,s,c,l,u,d=0;for(a=new Zb,LD(a,t);a.b!=a.c;)for(c=P(Cw(a),218),l=0,u=P(K(t.j,(PB(),g1)),269),P(K(t.j,u1),329),o=O(N(K(t.j,s1))),s=O(N(K(t.j,c1))),u!=(eF(),c2)&&(l+=o*E8e(t.j,c.e,u),l+=s*ntt(t.j,c.e)),d+=rXe(c.d,c.e)+l,i=new E(c.b);i.a<i.c.c.length;)r=P(z(i),37),n=P(AC(e.b,r.p),218),n.s||(d+=YL(e,n));return d}function pnt(){pnt=C,nMt=bC(new pT,(bL(),yX),(RB(),vwt)),iMt=bC(new pT,vX,tZ),aMt=UC(bC(new pT,vX,fZ),bX,dZ),tMt=UC(bC(bC(new pT,vX,pwt),yX,mwt),bX,hwt),oMt=oF(oF(Z_(UC(bC(new pT,gX,vZ),bX,_Z),yX),gZ),yZ),rMt=UC(new pT,bX,ywt),$jt=UC(bC(bC(bC(new pT,_X,rZ),yX,aZ),yX,oZ),bX,iZ),eMt=UC(bC(bC(new pT,yX,oZ),yX,QX),bX,ZX)}function mnt(e,t,n,r,i,a){var o,s,c,l=ZVe(t)-ZVe(e),u,d,f;for(o=Z1e(t,l),c=Wb(0,0,0);l>=0&&(s=gXe(e,o),!(s&&(l<22?c.l|=1<<l:l<44?c.m|=1<<l-22:c.h|=1<<l-44,e.l==0&&e.m==0&&e.h==0)));)u=o.m,d=o.h,f=o.l,o.h=d>>>1,o.m=u>>>1|(d&1)<<21,o.l=f>>>1|(u&1)<<21,--l;return n&&AM(c),a&&(r?(sY=kM(e),i&&(sY=DVe(sY,(Pk(),cbt)))):sY=Wb(e.l,e.m,e.h)),c}function hnt(e,t){var n,r,i,a,o,s,c,l=e.e[t.c.p][t.p]+1,u,d;for(c=t.c.a.c.length+1,s=new E(e.a);s.a<s.c.c.length;){for(o=P(z(s),12),d=0,a=0,i=xw(IA(U(k(QJ,1),$B,20,0,[new Bm(o),new Hm(o)])));CR(i);)r=P(CO(i),12),r.i.c==t.c&&(d+=Hpe(e,r.i)+1,++a);n=d/a,u=o.j,u==(wB(),p5)?n<l?e.f[o.p]=e.c-n:e.f[o.p]=e.b+(c-n):u==N5&&(n<l?e.f[o.p]=e.b+n:e.f[o.p]=e.c-(c-n))}}function Ez(e,t,n){var r,i,a,o,s;if(e==null)throw D(new Ag(eV));for(a=e.length,o=+(a>0&&(sD(0,e.length),e.charCodeAt(0)==45||(sD(0,e.length),e.charCodeAt(0)==43))),r=o;r<a;r++)if(lqe((sD(r,e.length),e.charCodeAt(r)))==-1)throw D(new Ag(fH+e+`"`));if(s=parseInt(e,10),i=s<t,isNaN(s)||i||s>n)throw D(new Ag(fH+e+`"`));return s}function gnt(e){var t,n,i,a,o,s=new E_,c;for(o=new E(e.a);o.a<o.c.c.length;)a=P(z(o),116),Pp(a,a.f.c.length),Fp(a,a.k.c.length),a.i==0&&(a.o=0,iO(s,a,s.c.b,s.c));for(;s.b!=0;)for(a=P(s.b==0?null:(Bx(s.b!=0),aA(s,s.a.a)),116),i=a.o+1,n=new E(a.f);n.a<n.c.c.length;)t=P(z(n),133),c=t.a,Ip(c,r.Math.max(c.o,i)),Fp(c,c.i-1),c.i==0&&iO(s,c,s.c.b,s.c)}function _nt(e){var t,n,r,i,a,o,s,c;for(o=new E(e);o.a<o.c.c.length;){for(a=P(z(o),85),r=cL(P(H((!a.b&&(a.b=new xS(r7,a,4,7)),a.b),0),84)),s=r.i,c=r.j,i=P(H((!a.a&&(a.a=new F(a7,a,6,6)),a.a),0),170),Tb(i,i.j+s,i.k+c),wb(i,i.b+s,i.c+c),n=new lx((!i.a&&(i.a=new ix(e7,i,5)),i.a));n.e!=n.i.gc();)t=P(OF(n),372),Sb(t,t.a+s,t.b+c);Vze(P(J(a,(LB(),F6)),78),s,c)}}function Dz(e){var t;switch(e){case 100:return HB(qJ,!0);case 68:return HB(qJ,!1);case 119:return HB(dyt,!0);case 87:return HB(dyt,!1);case 115:return HB(fyt,!0);case 83:return HB(fyt,!1);case 99:return HB(pyt,!0);case 67:return HB(pyt,!1);case 105:return HB(myt,!0);case 73:return HB(myt,!1);default:throw D(new Jh((t=e,uyt+t.toString(16))))}}function vnt(e){var t,n,i,a=P(AC(e.a,0),9),o;switch(t=new tI(e),$b(e.a,t),t.o.a=r.Math.max(1,a.o.a),t.o.b=r.Math.max(1,a.o.b),t.n.a=a.n.a,t.n.b=a.n.b,P(K(a,(Y(),s$)),64).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}return i=new jL,HE(i,t),n=new rE,o=P(AC(a.j,0),12),zE(n,o),VE(n,i),wS(nb(i.n),o.n),wS(nb(i.a),o.a),t}function Oz(e,t,n,r){var i=t,a,o,s=n,c,l,u,d,f,p;for(r<0&&(i=n,s=t),a=P(Zw(e.a,i),47),c=P(Zw(e.a,s),47),o=P(Zw(e.e,i),47),l=P(Zw(e.e,s),47),a.a.yc(s,a),l.a.yc(i,l),p=c.a.ec().Jc();p.Ob();)f=P(p.Pb(),12),a.a.yc(f,a),Tw(P(Zw(e.e,f),47),i),bj(P(Zw(e.e,f),47),o);for(d=o.a.ec().Jc();d.Ob();)u=P(d.Pb(),12),l.a.yc(u,l),Tw(P(Zw(e.a,u),47),s),bj(P(Zw(e.a,u),47),c)}function ynt(e,t,n){var i,a,o=0,s,c;for(a=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));a.e!=a.i.gc();)i=P(OF(a),26),s=``,(!i.n&&(i.n=new F(f7,i,1,7)),i.n).i==0||(s=P(H((!i.n&&(i.n=new F(f7,i,1,7)),i.n),0),157).a),c=new zM(o++,t,s),Xj(c,i),W(c,(CB(),p4),i),c.e.b=i.j+i.f/2,c.f.a=r.Math.max(i.g,1),c.e.a=i.i+i.g/2,c.f.b=r.Math.max(i.f,1),pC(t.b,c),XL(n.f,i,c)}function bnt(e,t,n){var r,i,a,o;if(t[0]>=e.length)return n.o=0,!0;switch(wT(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],a=t[0],o=lR(e,t),o==0&&t[0]==a)return!1;if(t[0]<e.length&&wT(e,t[0])==58){if(r=o*60,++t[0],a=t[0],o=lR(e,t),o==0&&t[0]==a)return!1;r+=o}else r=o,r<24&&t[0]-a<=2?r*=60:r=r%100+(r/100|0)*60;return r*=i,n.o=-r,!0}function xnt(e){var t,n,r,i,a,o=new ah,s,c,l;for(r=new XC(dx(fP(e.b).a.Jc(),new f));CR(r);)n=P(CO(r),17),xO(n)&&$b(o,new zNe(n,gFe(e,n.c),gFe(e,n.d)));for(l=(a=new om(e.e).a.vc().Jc(),new sm(a));l.a.Ob();)s=(t=P(l.a.Pb(),45),P(t.kd(),113)),s.d.p=0;for(c=(i=new om(e.e).a.vc().Jc(),new sm(i));c.a.Ob();)s=(t=P(c.a.Pb(),45),P(t.kd(),113)),s.d.p==0&&$b(e.d,ztt(e,s))}function Snt(e,t){var n,r,i,a,o,s,c,l,u;for(o=new E(t.b);o.a<o.c.c.length;)for(a=P(z(o),25),l=new E(a.a);l.a<l.c.c.length;){for(c=P(z(l),9),u=new ah,s=0,r=new XC(dx(uP(c).a.Jc(),new f));CR(r);)n=P(CO(r),17),!(xO(n)||!xO(n)&&n.c.i.c==n.d.i.c)&&(i=P(K(n,(PB(),h0)),15).a,i>s&&(s=i,u.c.length=0),i==s&&$b(u,new My(n.c.i,n)));KT(),Vb(u,e.c),BC(e.b,c.p,u)}}function Cnt(e,t){var n,r,i,a,o,s,c,l,u;for(o=new E(t.b);o.a<o.c.c.length;)for(a=P(z(o),25),l=new E(a.a);l.a<l.c.c.length;){for(c=P(z(l),9),u=new ah,s=0,r=new XC(dx(fP(c).a.Jc(),new f));CR(r);)n=P(CO(r),17),!(xO(n)||!xO(n)&&n.c.i.c==n.d.i.c)&&(i=P(K(n,(PB(),h0)),15).a,i>s&&(s=i,u.c.length=0),i==s&&$b(u,new My(n.d.i,n)));KT(),Vb(u,e.c),BC(e.f,c.p,u)}}function wnt(e){var t,n,r,i,a=jE(e),o,s;for(i=new lx((!e.e&&(e.e=new xS(i7,e,7,4)),e.e));i.e!=i.i.gc();)if(r=P(OF(i),85),s=cL(P(H((!r.c&&(r.c=new xS(r7,r,5,8)),r.c),0),84)),!iA(s,a))return!0;for(n=new lx((!e.d&&(e.d=new xS(i7,e,8,5)),e.d));n.e!=n.i.gc();)if(t=P(OF(n),85),o=cL(P(H((!t.b&&(t.b=new xS(r7,t,4,7)),t.b),0),84)),!iA(o,a))return!0;return!1}function Tnt(e){var t,n,r=P(K(e,(Y(),T$)),26),i,a=P(J(r,(PB(),t0)),182).Gc((tF(),z5));e.e||(i=P(K(e,l$),22),t=new A(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Gc((oz(),AQ))?(IF(r,l0,(iL(),t5)),TB(r,t.a,t.b,!1,!0)):hg(eS(J(r,n0)))||TB(r,t.a,t.b,!0,!0)),a?IF(r,t0,gP(z5)):IF(r,t0,(n=P(t_(B5),10),new FS(n,P(gS(n,n.length),10),0)))}function Ent(e,t){var n,r,i,a,o,s,c,l=eS(K(t,(Lz(),vNt)));if(l==null||(dT(l),l)){for(A3e(e,t),i=new ah,c=TF(t.b,0);c.b!=c.d.c;)o=P(RD(c),40),n=o2e(e,o,null),n&&(Xj(n,t),ph(i.c,n));if(e.a=null,e.b=null,i.c.length>1)for(r=new E(i);r.a<r.c.c.length;)for(n=P(z(r),120),a=0,s=TF(n.b,0);s.b!=s.d.c;)o=P(RD(s),40),o.g=a++;return i}return OO(U(k(CMt,1),uft,120,0,[t]))}function Dnt(e,t){var n,r,i,a,o,s;for(i=new E(t.a);i.a<i.c.c.length;)r=P(z(i),9),a=K(r,(Y(),T$)),M(a,12)&&(o=P(a,12),s=grt(t,r,o.o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,tR(o,P(K(r,s$),64)));n=new A(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),P(K(t,(Y(),l$)),22).Gc((oz(),AQ))?(W(e,(PB(),l0),(iL(),t5)),P(K(lT(e),l$),22).Ec(NQ),Wot(e,n,!1)):Wot(e,n,!0)}function Ont(e){var t,n,i,a,o,s,c,l=new Rh;for(t=TF(e,0),c=null,n=P(RD(t),8),a=P(RD(t),8);t.b!=t.d.c;)c=n,n=a,a=P(RD(t),8),o=ELe(TS(new A(c.a,c.b),n)),s=ELe(TS(new A(a.a,a.b),n)),i=10,i=r.Math.min(i,r.Math.abs(o.a+o.b)/2),i=r.Math.min(i,r.Math.abs(s.a+s.b)/2),o.a=_C(o.a)*i,o.b=_C(o.b)*i,s.a=_C(s.a)*i,s.b=_C(s.b)*i,pC(l,wS(o,n)),pC(l,wS(s,n));return l}function knt(e,t,n){var r,i,a,o,s,c;if(n.Tg(`Minimize Crossings `+e.a,1),r=t.b.c.length==0||!u_(AT(new jC(null,new nD(t.b,16)),new wm(new cee))).zd((M_(),PY)),c=t.b.c.length==1&&P(AC(t.b,0),25).a.c.length==1,a=j(K(t,(PB(),F1)))===j((nN(),N8)),r||c&&!a){n.Ug();return}i=O7e(e,t),o=(s=P(LF(i,0),218),s.c.ig()?s.c.cg()?new Qte(e):new $te(e):new Zte(e)),BHe(i,o),tWe(e),n.Ug()}function kz(e,t,n,r){var i,a,o=e.Mh(),s,c=e.Gh();return i=null,c?t&&(Ott(e,t,n).Bb&_H)==0?(r=RF(c.Cl(),e,r),e.ai(null),i=t.Nh()):c=null:(o&&(c=o.Nh()),t&&(i=t.Nh())),c!=i&&c&&c.Gl(e),s=e.Ch(),e.yh(t,n),c!=i&&i&&i.Fl(e),e.sh()&&e.th()&&(o&&s>=0&&s!=n&&(a=new fw(e,1,s,o,null),r?r.lj(a):r=a),n>=0&&(a=new fw(e,1,n,s==n?o:null,t),r?r.lj(a):r=a)),r}function Ant(e){var t,n,r;if(e.b==null){if(r=new Eg,e.i!=null&&(Yy(r,e.i),r.a+=`:`),e.f&256){for(e.f&256&&e.a!=null&&(BTe(e.i)||(r.a+=`//`),Yy(r,e.a)),e.d!=null&&(r.a+=`/`,Yy(r,e.d)),e.f&16&&(r.a+=`/`),t=0,n=e.j.length;t<n;t++)t!=0&&(r.a+=`/`),Yy(r,e.j[t]);e.g!=null&&(r.a+=`?`,Yy(r,e.g))}else Yy(r,e.a);e.e!=null&&(r.a+=`#`,Yy(r,e.e)),e.b=r.a}return e.b}function jnt(e,t,n,r,i){var a=new tI(e),o,s,c;Tp(a,(MR(),UX)),W(a,(PB(),l0),(iL(),t5)),W(a,(Y(),T$),t.c.i),o=new jL,W(o,T$,t.c),tR(o,i),HE(o,a),W(t.c,O$,a),s=new tI(e),Tp(s,UX),W(s,l0,t5),W(s,T$,t.d.i),c=new jL,W(c,T$,t.d),tR(c,i),HE(c,s),W(t.d,O$,s),zE(t,o),VE(t,c),UE(0,n.c.length),Ev(n.c,0,a),ph(r.c,s),W(a,$Q,G(1)),W(s,$Q,G(1))}function Mnt(e,t,n,r){var i,a,o,s,c=RC(cP(EV,bT(RC(cP(t==null?0:Cj(t),DV)),15)));if(i=RC(cP(EV,bT(RC(cP(n==null?0:Cj(n),DV)),15))),s=Oj(e,t,c),o=Dj(e,n,i),s&&i==s.a&&cT(n,s.g))return n;if(o&&!r)throw D(new sg(`key already present: `+n));return s&&RR(e,s),o&&RR(e,o),a=new _T(n,i,t,c),nR(e,a,o),o&&(o.e=null,o.c=null),s&&(s.e=null,s.c=null),yZe(e),s?s.g:null}function Nnt(e,t,n){var r,i,a,o,s;for(a=0;a<t;a++){for(r=0,s=a+1;s<t;s++)r=sP(sP(cP(uD(e[a],xH),uD(e[s],xH)),uD(n[a+s],xH)),uD(RC(r),xH)),n[a+s]=RC(r),r=tw(r,32);n[a+t]=RC(r)}for(Lze(n,n,t<<1),r=0,i=0,o=0;i<t;++i,o++)r=sP(sP(cP(uD(e[i],xH),uD(e[i],xH)),uD(n[o],xH)),uD(RC(r),xH)),n[o]=RC(r),r=tw(r,32),++o,r=sP(r,uD(n[o],xH)),n[o]=RC(r),r=tw(r,32);return n}function Pnt(e,t,n){var i,a,o,s,c,l,u,d;if(!zD(t)){for(l=O(N(qP(n.c,(PB(),N0)))),u=P(qP(n.c,M0),140),!u&&(u=new Nh),i=n.a,a=null,c=t.Jc();c.Ob();)s=P(c.Pb(),12),d=0,a?(d=l,d+=a.o.b):d=u.d,o=bx(z_(new Ah,s),e.f),ST(e.k,s,o),ZR(L_(I_(F_(R_(new Mh,0),xE(r.Math.ceil(d))),i),o)),a=s,i=o;ZR(L_(I_(F_(R_(new Mh,0),xE(r.Math.ceil(u.a+a.o.b))),i),n.d))}}function Fnt(e,t,n,r,i,a,o,s){var c,l,u,d,f,p=!1;return f=a-n.s,u=n.t-t.f+(l=Jz(n,f,!1),l.a),r.g+s>f?!1:(d=(c=Jz(r,f,!1),c.a),u+s+d<=t.b&&(tk(n,a-n.s),n.c=!0,tk(r,a-n.s),qF(r,n.s,n.t+n.d+s),r.k=!0,yBe(n.q,r),p=!0,i&&(JA(t,r),r.j=t,e.c.length>o&&(II((oD(o,e.c.length),P(e.c[o],186)),r),(oD(o,e.c.length),P(e.c[o],186)).a.c.length==0&&MO(e,o)))),p)}function Int(e,t){var n,r,i,a,o,s;if(t.Tg(`Partition midprocessing`,1),i=new mE,P_(AT(new jC(null,new nD(e.a,16)),new rr),new hte(i)),i.d!=0){for(s=P(aO(UOe((a=i.i,new jC(null,(a||(i.i=new ux(i,i.c))).Lc()))),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),r=s.Jc(),n=P(r.Pb(),15);r.Ob();)o=P(r.Pb(),15),m5e(P(DO(i,n),22),P(DO(i,o),22)),n=o;t.Ug()}}function Az(e,t){var n,r,i,a,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(i=P(e.Ab.g,1995),t==null){for(a=0;a<o;++a)if(n=i[a],n.d==null)return n}else for(a=0;a<o;++a)if(n=i[a],CS(t,n.d))return n}}else if(t==null){for(r=new lx(e.Ab);r.e!=r.i.gc();)if(n=P(OF(r),587),n.d==null)return n}else for(r=new lx(e.Ab);r.e!=r.i.gc();)if(n=P(OF(r),587),CS(t,n.d))return n}return null}function Lnt(e,t,n,r,a){var o,s,c,l,u,d,f,p,m=Nje(e,AVe(t),a),h,g,_,v,y,b,x;dze(m,PD(a,Oq)),i=null,h=a,g=MD(h,u_t),_=new Xne(m),G1e(_.a,g),v=MD(h,`endPoint`),y=new ere(m),W1e(y.a,v),b=ND(h,Eq),x=new rre(m),UQe(x.a,b),f=PD(a,o_t),o=new cde(e,m),u_e(o.a,o.b,f),p=PD(a,a_t),s=new lde(e,m),d_e(s.a,s.b,p),u=ND(a,c_t),c=new ude(n,m),DXe(c.b,c.a,u),d=ND(a,s_t),l=new dde(r,m),OXe(l.b,l.a,d)}function Rnt(e,t,n){var r,i,a,o,s,c,l,u;if(t.p==0){for(t.p=1,o=n,o||=(i=new ah,a=(r=P(t_(P5),10),new FS(r,P(gS(r,r.length),10),0)),new My(i,a)),P(o.a,16).Ec(t),t.k==(MR(),RX)&&P(o.b,22).Ec(P(K(t,(Y(),s$)),64)),c=new E(t.j);c.a<c.c.c.length;)for(s=P(z(c),12),u=xw(IA(U(k(QJ,1),$B,20,0,[new Bm(s),new Hm(s)])));CR(u);)l=P(CO(u),12),Rnt(e,l.i,o);return o}return null}function znt(e,t,n){var r,i,a,o,s=null;switch(t.g){case 1:for(i=new E(e.j);i.a<i.c.c.length;)if(r=P(z(i),12),hg(eS(K(r,(Y(),d$)))))return r;s=new jL,W(s,(Y(),d$),(mx(),!0));break;case 2:for(o=new E(e.j);o.a<o.c.c.length;)if(a=P(z(o),12),hg(eS(K(a,(Y(),E$)))))return a;s=new jL,W(s,(Y(),E$),(mx(),!0))}return s&&(HE(s,e),tR(s,n),JJe(s.n,e.o,n)),s}function Bnt(e,t){var n,i,a,o,s,c=-1;for(s=new E_,i=new IO(e.b);Hb(i.a)||Hb(i.b);){for(n=P(Hb(i.a)?z(i.a):z(i.b),17),c=r.Math.max(c,O(N(K(n,(PB(),N1))))),n.c==e?P_(AT(new jC(null,new nD(n.b,16)),new tn),new ite(s)):P_(AT(new jC(null,new nD(n.b,16)),new nn),new ate(s)),o=TF(s,0);o.b!=o.d.c;)a=P(RD(o),70),Kx(a,(Y(),r$))||W(a,r$,n);pM(t,s),YT(s)}return c}function jz(e,t,n,i,a){var o,s,c=a?i.b:i.a,l,u;w_(e.a,i)||(u=c>n.s&&c<n.c,l=!1,n.e.b!=0&&n.j.b!=0&&(l|=r.Math.abs(c-O(N(Hx(n.e))))<mU&&r.Math.abs(c-O(N(Hx(n.j))))<mU,l|=r.Math.abs(c-O(N(Ux(n.e))))<mU&&r.Math.abs(c-O(N(Ux(n.j))))<mU),(u||l)&&(s=P(K(t,(PB(),z1)),78),s||(s=new Rh,W(t,z1,s)),o=new mb(i),iO(s,o,s.c.b,s.c),Tw(e.a,o)))}function Vnt(e,t,n){var r,i,a,o,s,c,l,u,d;for(n.Tg(`Processor set coordinates`,1),e.a=t.b.b==0?1:t.b.b,l=null,r=TF(t.b,0);!l&&r.b!=r.d.c;)d=P(RD(r),40),hg(eS(K(d,(CB(),_4))))&&(l=d,c=d.e,c.a=P(K(d,v4),15).a,c.b=P(K(d,y4),15).a);s=_M(l),u=1;do s=R1e((i=s,n.dh(u),i)),u=s.b/e.a|0;while(s.b!=0);for(o=TF(t.b,0);o.b!=o.d.c;)a=P(RD(o),40),TS(a.e,new A(a.f.a/2,a.f.b/2));n.Ug()}function Hnt(e,t){var n=!1,r,i,a,o,s,c,l,u=O(N(K(t,(PB(),k0)))),d,f,p,m=IV*u,h;for(i=new E(t.b);i.a<i.c.c.length;)for(r=P(z(i),25),l=new E(r.a),a=P(z(l),9),d=_Ce(e.a[a.p]);l.a<l.c.c.length;)s=P(z(l),9),f=_Ce(e.a[s.p]),d!=f&&(p=Jb(e.b,a,s),o=a.n.b+a.o.b+a.d.a+d.a+p,c=s.n.b-s.d.d+f.a,o>c+m&&(h=d.g+f.g,f.a=(f.g*f.a+d.g*d.a)/h,f.g=h,d.f=f,n=!0)),a=s,d=f;return n}function Unt(e,t,n){var r,i,a,o,s,c,l,u;for(n.Tg(qmt,1),aw(e.b),aw(e.a),s=null,a=TF(t.b,0);!s&&a.b!=a.d.c;)l=P(RD(a),40),hg(eS(K(l,(CB(),_4))))&&(s=l);for(c=new E_,iO(c,s,c.c.b,c.c),Vct(e,c),u=TF(t.b,0);u.b!=u.d.c;)l=P(RD(u),40),o=tS(K(l,(CB(),o4))),i=vE(e.b,o)==null?0:P(vE(e.b,o),15).a,W(l,r4,G(i)),r=1+(vE(e.a,o)==null?0:P(vE(e.a,o),15).a),W(l,BMt,G(r));n.Ug()}function Wnt(e){Y_(e,new uL(Rg(Pg(Lg(Ig(new oc,WK),`ELK Box`),`Algorithm for packing of unconnected boxes, i.e. graphs without edges.`),new jc))),B(e,WK,EU,nLt),B(e,WK,xU,15),B(e,WK,bU,G(0)),B(e,WK,agt,DF(XIt)),B(e,WK,MU,DF(QIt)),B(e,WK,jU,DF(eLt)),B(e,WK,CU,igt),B(e,WK,DU,DF(ZIt)),B(e,WK,VU,DF($It)),B(e,WK,ogt,DF(p6)),B(e,WK,kG,DF(YIt))}function Gnt(e,t){var n,r,i=e.i,a,o=i.o.a,s,c,l,u;if(a=i.o.b,o<=0&&a<=0)return wB(),M5;switch(l=e.n.a,u=e.n.b,s=e.o.a,n=e.o.b,t.g){case 2:case 1:if(l<0)return wB(),N5;if(l+s>o)return wB(),p5;break;case 4:case 3:if(u<0)return wB(),m5;if(u+n>a)return wB(),j5}return c=(l+s/2)/o,r=(u+n/2)/a,c+r<=1&&c-r<=0?(wB(),N5):c+r>=1&&c-r>=0?(wB(),p5):r<.5?(wB(),m5):(wB(),j5)}function Knt(e,t,n,r,i,a,o){var s,c,l,u,d,f=new Ob;for(l=t.Jc();l.Ob();)for(s=P(l.Pb(),837),d=new E(s.Pf());d.a<d.c.c.length;)u=P(z(d),187),j(u.mf((LB(),k6)))===j((dA(),T8))&&(dtt(f,u,!1,r,i,a,o),VL(e,f));for(c=n.Jc();c.Ob();)for(s=P(c.Pb(),837),d=new E(s.Pf());d.a<d.c.c.length;)u=P(z(d),187),j(u.mf((LB(),k6)))===j((dA(),w8))&&(dtt(f,u,!0,r,i,a,o),VL(e,f))}function qnt(e,t,n){var r,i,a,o,s,c,l;for(o=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));o.e!=o.i.gc();)for(a=P(OF(o),26),i=new XC(dx(PR(a).a.Jc(),new f));CR(i);)r=P(CO(i),85),!bR(r)&&!bR(r)&&!uR(r)&&(c=P(By(VC(n.f,a)),40),l=P(Zw(n,cL(P(H((!r.c&&(r.c=new xS(r7,r,5,8)),r.c),0),84))),40),c&&l&&(s=new DEe(c,l),W(s,(CB(),p4),r),Xj(s,r),pC(c.d,s),pC(l.b,s),pC(t.a,s)))}function Jnt(e,t){var n,i,a,o,s,c,l,u;for(l=P(P(DO(e.r,t),22),83).Jc();l.Ob();)c=P(l.Pb(),115),a=c.c?vxe(c.c):0,a>0?c.a?(u=c.b.Kf().b,a>u&&(e.v||c.c.d.c.length==1?(s=(a-u)/2,c.d.d=s,c.d.a=s):(n=P(AC(c.c.d,0),187).Kf().b,i=(n-u)/2,c.d.d=r.Math.max(0,i),c.d.a=a-i-u))):c.d.a=e.t+a:lw(e.u)&&(o=K$e(c.b),o.d<0&&(c.d.d=-o.d),o.d+o.a>c.b.Kf().b&&(c.d.a=o.d+o.a-c.b.Kf().b))}function Mz(){Mz=C,iX=new Nb((LB(),n8),G(1)),oX=new Nb(c8,80),USt=new Nb(ZLt,5),DSt=new Nb(S6,vU),BSt=new Nb(r8,G(1)),HSt=new Nb(a8,(mx(),!0)),LSt=new kb(50),ISt=new Nb(W6,LSt),kSt=N6,RSt=X6,OSt=new Nb(O6,!1),FSt=U6,NSt=z6,PSt=V6,MSt=R6,jSt=L6,zSt=$6,ASt=(o0e(),vSt),sX=CSt,rX=_St,aX=bSt,VSt=SSt,KSt=d8,JSt=p8,GSt=u8,WSt=l8,qSt=(VN(),Y5),new Nb(f8,qSt)}function Ynt(e,t){var n;switch(Wk(e)){case 6:return Uy(t);case 7:return Hy(t);case 8:return Vy(t);case 3:return Array.isArray(t)&&(n=Wk(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===qB;case 12:return t!=null&&(typeof t===WB||typeof t==qB);case 0:return BF(t,e.__elementTypeId$);case 2:return MCe(t)&&t.Rm!==ne;case 1:return MCe(t)&&t.Rm!==ne||BF(t,e.__elementTypeId$);default:return!0}}function Xnt(e){var t,n,i=e.o,a;oS(),e.A.dc()||DN(e.A,lSt)?a=i.a:(a=e.D?r.Math.max(i.a,oR(e.f)):oR(e.f),e.A.Gc((tF(),L5))&&!e.B.Gc((Tz(),G5))&&(a=r.Math.max(a,oR(P(CT(e.p,(wB(),m5)),253))),a=r.Math.max(a,oR(P(CT(e.p,j5),253)))),t=OBe(e),t&&(a=r.Math.max(a,t.a))),hg(eS(e.e.Rf().mf((LB(),z6))))?i.a=r.Math.max(i.a,a):i.a=a,n=e.f.i,n.c=0,n.b=a,Brt(e.f)}function Znt(e,t){var n,i=r.Math.min(r.Math.abs(e.c-(t.c+t.b)),r.Math.abs(e.c+e.b-t.c)),a,o=r.Math.min(r.Math.abs(e.d-(t.d+t.a)),r.Math.abs(e.d+e.a-t.d));return n=r.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(a=r.Math.abs(e.d+e.a/2-(t.d+t.a/2)),a>e.a/2+t.a/2)?1:n==0&&a==0?0:n==0?o/a+1:a==0?i/n+1:r.Math.min(i/n,o/a)+1}function Qnt(e,t){var n,r,i,a=0,o,s=0,c=0;for(i=new E(e.f.e);i.a<i.c.c.length;)r=P(z(i),155),t!=r&&(o=e.i[t.a][r.a],a+=o,n=QO(t.d,r.d),n>0&&e.d!=(xk(),hX)&&(s+=o*(r.d.a+e.a[t.a][r.a]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(xk(),pX)&&(c+=o*(r.d.b+e.a[t.a][r.a]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new A(s/a,t.d.b);case 2:return new A(t.d.a,c/a);default:return new A(s/a,c/a)}}function $nt(e){var t,n=(!e.a&&(e.a=new ix(e7,e,5)),e.a).i+2,r,i,a,o=new HO(n);for($b(o,new A(e.j,e.k)),P_(new jC(null,(!e.a&&(e.a=new ix(e7,e,5)),new nD(e.a,16))),new Kne(o)),$b(o,new A(e.b,e.c)),t=1;t<o.c.length-1;)r=(oD(t-1,o.c.length),P(o.c[t-1],8)),i=(oD(t,o.c.length),P(o.c[t],8)),a=(oD(t+1,o.c.length),P(o.c[t+1],8)),r.a==i.a&&i.a==a.a||r.b==i.b&&i.b==a.b?MO(o,t):++t;return o}function ert(e,t){IM();var n,r,i,a,o=P(K(e.i,(PB(),l0)),102);if(a=e.j.g-t.j.g,a!=0||!(o==(iL(),e5)||o==n5||o==t5))return 0;if(o==(iL(),e5)&&(n=P(K(e,u0),15),r=P(K(t,u0),15),n&&r&&(i=n.a-r.a,i!=0)))return i;switch(e.j.g){case 1:return RN(e.n.a,t.n.a);case 2:return RN(e.n.b,t.n.b);case 3:return RN(t.n.a,e.n.a);case 4:return RN(t.n.b,e.n.b);default:throw D(new cg(Fft))}}function trt(e,t){var n=Rme(Pce(Mce(Nce(new xie,t),new aE(t.e)),Jwt),e.a),r,i,a,o,s,c;for(t.j.c.length==0||sIe(P(AC(t.j,0),60).a,n),c=new sh,ST(e.e,n,c),o=new Dh,s=new Dh,a=new E(t.k);a.a<a.c.c.length;)i=P(z(a),17),Tw(o,i.c),Tw(s,i.d);r=o.a.gc()-s.a.gc(),r<0?(DM(c,!0,(WN(),g8)),DM(c,!1,_8)):r>0&&(DM(c,!1,(WN(),g8)),DM(c,!0,_8)),sA(t.g,new Xle(e,n)),ST(e.g,t,n)}function nrt(){nrt=C,YPt=new lb(Oht,(mx(),!1)),G(-1),VPt=new lb(kht,G(-1)),G(-1),HPt=new lb(Aht,G(-1)),UPt=new lb(jht,!1),WPt=new lb(Mht,!1),nFt=(gO(),b3),tFt=new lb(Nht,nFt),rFt=new lb(Pht,-1),eFt=(SP(),d3),$Pt=new lb(Fht,eFt),QPt=new lb(Iht,!0),JPt=(hk(),x3),qPt=new lb(Lht,JPt),KPt=new lb(Rht,!1),G(1),GPt=new lb(zht,G(1)),ZPt=(zN(),S3),XPt=new lb(Bht,ZPt)}function rrt(){rrt=C;var e;for(_bt=U(k(q9,1),JV,30,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]),vbt=V(q9,JV,30,37,15,1),ybt=U(k(q9,1),JV,30,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]),bbt=V(Y9,Tdt,30,37,14,1),e=2;e<=36;e++)vbt[e]=xE(r.Math.pow(e,_bt[e])),bbt[e]=WI(vV,vbt[e])}function irt(e){var t;if((!e.a&&(e.a=new F(a7,e,6,6)),e.a).i!=1)throw D(new sg(Lgt+(!e.a&&(e.a=new F(a7,e,6,6)),e.a).i));return t=new Rh,gM(P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84))&&bj(t,cut(e,gM(P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84)),!1)),gM(P(H((!e.c&&(e.c=new xS(r7,e,5,8)),e.c),0),84))&&bj(t,cut(e,gM(P(H((!e.c&&(e.c=new xS(r7,e,5,8)),e.c),0),84)),!0)),t}function art(e,t){var n,r,i=t.d?e.a.c==(wE(),I2)?uP(t.b):fP(t.b):e.a.c==(wE(),F2)?uP(t.b):fP(t.b),a=!1,o;for(r=new XC(dx(i.a.Jc(),new f));CR(r);)if(n=P(CO(r),17),o=hg(e.a.f[e.a.g[t.b.p].p]),!(!o&&!xO(n)&&n.c.i.c==n.d.i.c)&&!(hg(e.a.n[e.a.g[t.b.p].p])||hg(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,w_(e.b,e.a.g[LYe(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function ort(e,t,n){var r=n.gc(),i,a,o,s,c,l;if(r==0)return!1;if(e.Nj())if(c=e.Oj(),lKe(e,t,n),o=r==1?e.Gj(3,null,n.Jc().Pb(),t,c):e.Gj(5,null,n,t,c),e.Kj()){for(s=r<100?null:new Qg(r),a=t+r,i=t;i<a;++i)l=e.vj(i),s=e.Lj(l,s),s=s;s?(s.lj(o),s.mj()):e.Hj(o)}else e.Hj(o);else if(lKe(e,t,n),e.Kj()){for(s=r<100?null:new Qg(r),a=t+r,i=t;i<a;++i)s=e.Lj(e.vj(i),s);s&&s.mj()}return!0}function srt(e,t,n){var r,i,a,o,s;return e.Nj()?(i=null,a=e.Oj(),r=e.Gj(1,s=(o=e.Bj(t,e.Xi(t,n)),o),n,t,a),e.Kj()&&!(e.Wi()&&s?DN(s,n):j(s)===j(n))?(s&&(i=e.Mj(s,i)),i=e.Lj(n,i),i?(i.lj(r),i.mj()):e.Hj(r)):i?(i.lj(r),i.mj()):e.Hj(r),s):(s=(o=e.Bj(t,e.Xi(t,n)),o),e.Kj()&&!(e.Wi()&&s?DN(s,n):j(s)===j(n))&&(i=null,s&&(i=e.Mj(s,null)),i=e.Lj(n,i),i&&i.mj()),s)}function crt(e,t){var n,i,a,o,s,c,l,u,d;if(e.e=t,e.f=P(K(t,(oj(),dX)),234),Y$e(t),e.d=r.Math.max(t.e.c.length*16+t.c.c.length,256),!hg(eS(K(t,(Mz(),kSt)))))for(d=e.e.e.c.length,l=new E(t.e);l.a<l.c.c.length;)c=P(z(l),155),u=c.d,u.a=DSe(e.f)*d,u.b=DSe(e.f)*d;for(n=t.b,o=new E(t.c);o.a<o.c.c.length;)if(a=P(z(o),291),i=P(K(a,VSt),15).a,i>0){for(s=0;s<i;s++)$b(n,new nwe(a));w3e(a)}}function lrt(e,t){var n,r,i,a,o,s,c,l,u,d;for(t.Tg(`Hypernodes processing`,1),i=new E(e.b);i.a<i.c.c.length;)for(r=P(z(i),25),s=new E(r.a);s.a<s.c.c.length;)if(o=P(z(s),9),hg(eS(K(o,(PB(),I1))))&&o.j.c.length<=2){for(d=0,u=0,n=0,a=0,l=new E(o.j);l.a<l.c.c.length;)switch(c=P(z(l),12),c.j.g){case 1:++d;break;case 2:++u;break;case 3:++n;break;case 4:++a}d==0&&n==0&&jlt(e,o,a<=u)}t.Ug()}function urt(e,t,n,r){var i,a,o,s,c,l,u,d,f=new qw(e.Yg()),p,m;if(Zk(t,Nq,f),n&&!e.Wg().a.dc())for(u=new _p,Zk(t,`logs`,u),s=0,m=new um(e.Wg().b.Jc());m.b.Ob();)p=tS(m.b.Pb()),d=new qw(p),Vk(u,s),YD(u,s,d),++s;if(r&&(l=new mp(e.Vg()),Zk(t,`executionTime`,l)),!e.Xg().a.dc())for(o=new _p,Zk(t,Cq,o),s=0,a=new um(e.Xg().b.Jc());a.b.Ob();)i=P(a.b.Pb(),852),c=new Yh,Vk(o,s),YD(o,s,c),urt(i,c,n,r),++s}function drt(){drt=C,tle(),YVt=new Dd,U(k(G7,2),X,376,0,[U(k(G7,1),YJ,589,0,[new f_(Zvt)])]),U(k(G7,2),X,376,0,[U(k(G7,1),YJ,589,0,[new f_(Qvt)])]),U(k(G7,2),X,376,0,[U(k(G7,1),YJ,589,0,[new f_($vt)]),U(k(G7,1),YJ,589,0,[new f_(Qvt)])]),new Ab(`-1`),U(k(G7,2),X,376,0,[U(k(G7,1),YJ,589,0,[new f_(`\\c+`)])]),new Ab(`0`),new Ab(`0`),new Ab(`1`),new Ab(`0`),new Ab(syt)}function frt(e,t,n){var r,i,a,o,s,c,l,u,d;for(n.Tg(`Hyperedge merging`,1),w6e(e,t),c=new bD(t.b,0);c.b<c.d.gc();)if(s=(Bx(c.b<c.d.gc()),P(c.d.Xb(c.c=c.b++),25)),u=s.a,u.c.length!=0)for(r=null,i=null,a=null,o=null,l=0;l<u.c.length;l++)r=(oD(l,u.c.length),P(u.c[l],9)),i=r.k,i==(MR(),BX)&&o==BX&&(d=qit(r,a),d.a&&(g9e(r,a,d.b,d.c),oD(l,u.c.length),gse(u.c,l,1),--l,r=a,i=o)),a=r,o=i;n.Ug()}function prt(e,t,n,r,i){var a,o,s,c,l,u,d;for(o=new E(t);o.a<o.c.c.length;){if(a=P(z(o),17),c=a.c,n.a._b(c))l=(EE(),U2);else if(r.a._b(c))l=(EE(),W2);else throw D(new sg(`Source port must be in one of the port sets.`));if(u=a.d,n.a._b(u))d=(EE(),U2);else if(r.a._b(u))d=(EE(),W2);else throw D(new sg(`Target port must be in one of the port sets.`));s=new S2e(a,l,d),ST(e.b,a,s),ph(i.c,s)}}function Nz(e){var t,n;return e.c&&e.c.Sh()&&(n=P(e.c,52),e.c=P(bN(e,n),143),e.c!=n&&(e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,9,2,n,e.c)),M(e.Cb,403)?e.Db>>16==-15&&e.Cb.Vh()&&kk(new yFe(e.Cb,9,13,n,e.c,GF(Ck(P(e.Cb,62)),e))):M(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(t=e.c,M(t,88)||(t=(VB(),t9)),M(n,88)||(n=(VB(),t9)),kk(new yFe(e.Cb,9,10,n,t,GF(KD(P(e.Cb,29)),e)))))),e.c}function mrt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m;if(t==n)return!0;if(t=c6e(e,t),n=c6e(e,n),r=aI(t),r){if(u=aI(n),u!=r)return u?(c=r.kk(),m=u.kk(),c==m&&c!=null):!1;if(o=(!t.d&&(t.d=new ix(z7,t,1)),t.d),a=o.i,f=(!n.d&&(n.d=new ix(z7,n,1)),n.d),a==f.i){for(l=0;l<a;++l)if(i=P(H(o,l),87),d=P(H(f,l),87),!mrt(e,i,d))return!1}return!0}else return s=t.e,p=n.e,s==p}function hrt(e,t,n,r){var i,a,o,s,c,l,u,d;if(nz(e.e,t)){for(d=$R(e.e.Ah(),t),a=P(e.g,122),u=null,c=-1,s=-1,i=0,l=0;l<e.i;++l)o=a[l],d.$l(o.Jk())&&(i==n&&(c=l),i==r&&(s=l,u=o.kd()),++i);if(c==-1)throw D(new ig(Iq+n+Lq+i));if(s==-1)throw D(new ig(Rq+r+Lq+i));return qN(e,c,s),gb(e.e)&&Th(e,oE(e,7,t,G(r),u,n,!0)),u}else throw D(new sg(`The feature must be many-valued to support move`))}function grt(e,t,n,r){var i,a,o,s,c=new mb(t.n);switch(c.a+=t.o.a/2,c.b+=t.o.b/2,s=O(N(K(t,(PB(),c0)))),a=e.f,o=e.d,i=e.c,P(K(t,(Y(),s$)),64).g){case 1:c.a+=o.b+i.a-n/2,c.b=-r-s,t.n.b=-(o.d+s+i.b);break;case 2:c.a=a.a+o.b+o.c+s,c.b+=o.d+i.b-r/2,t.n.a=a.a+o.c+s-i.a;break;case 3:c.a+=o.b+i.a-n/2,c.b=a.b+o.d+o.a+s,t.n.b=a.b+o.a+s-i.b;break;case 4:c.a=-n-s,c.b+=o.d+i.b-r/2,t.n.a=-(o.b+s+i.a)}return c}function _rt(e,t,n){var r=t.c.i,i=n.d.i;r.k==(MR(),BX)?(W(e,(Y(),y$),P(K(r,y$),12)),W(e,b$,P(K(r,b$),12)),W(e,v$,eS(K(r,v$)))):r.k==zX?(W(e,(Y(),y$),P(K(r,y$),12)),W(e,b$,P(K(r,b$),12)),W(e,v$,(mx(),!0))):i.k==zX?(W(e,(Y(),y$),P(K(i,y$),12)),W(e,b$,P(K(i,b$),12)),W(e,v$,(mx(),!0))):(W(e,(Y(),y$),t.c),W(e,b$,n.d))}function vrt(e){var t,n,r,i,a,o,s;for(e.o=new Zb,r=new E_,o=new E(e.e.a);o.a<o.c.c.length;)a=P(z(o),124),cN(a).c.length==1&&iO(r,a,r.c.b,r.c);for(;r.b!=0;)a=P(r.b==0?null:(Bx(r.b!=0),aA(r,r.a.a)),124),cN(a).c.length!=0&&(t=P(AC(cN(a),0),217),n=a.g.a.c.length>0,s=yP(t,a),zme(n?s.b:s.g,t),cN(s).c.length==1&&iO(r,s,r.c.b,r.c),i=new My(a,t),LD(e.o,i),_k(e.e.a,a))}function yrt(e,t){var n,i=r.Math.abs(dw(e.b).a-dw(t.b).a),a,o,s,c=r.Math.abs(dw(e.b).b-dw(t.b).b),l;return a=0,l=0,n=1,s=1,i>e.b.b/2+t.b.b/2&&(a=r.Math.min(r.Math.abs(e.b.c-(t.b.c+t.b.b)),r.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-a/i),c>e.b.a/2+t.b.a/2&&(l=r.Math.min(r.Math.abs(e.b.d-(t.b.d+t.b.a)),r.Math.abs(e.b.d+e.b.a-t.b.d)),s=1-l/c),o=r.Math.min(n,s),(1-o)*r.Math.sqrt(i*i+c*c)}function brt(e){var t,n,r,i;for(SB(e,e.e,e.f,(EE(),U2),!0,e.c,e.i),SB(e,e.e,e.f,U2,!1,e.c,e.i),SB(e,e.e,e.f,W2,!0,e.c,e.i),SB(e,e.e,e.f,W2,!1,e.c,e.i),prt(e,e.c,e.e,e.f,e.i),r=new bD(e.i,0);r.b<r.d.gc();)for(t=(Bx(r.b<r.d.gc()),P(r.d.Xb(r.c=r.b++),132)),i=new bD(e.i,r.b);i.b<i.d.gc();)n=(Bx(i.b<i.d.gc()),P(i.d.Xb(i.c=i.b++),132)),got(t,n);Hlt(e.i,P(K(e.d,(Y(),j$)),234)),bst(e.i)}function xrt(e,t){var n,r;if(t!=null){if(r=vI(e),r)if(r.i&1){if(r==J9)return Vy(t);if(r==q9)return M(t,15);if(r==Q9)return M(t,164);if(r==X9)return M(t,221);if(r==K9)return M(t,180);if(r==Z9)return Hy(t);if(r==$9)return M(t,191);if(r==Y9)return M(t,190)}else return ev(),n=P(Zw(D7,r),58),!n||n.dk(t);else if(M(t,57))return e.bl(P(t,57))}return!1}function Srt(){Srt=C;var e,t,n,r,i,a,o,s,c;for(j9=V(X9,mq,30,255,15,1),M9=V(K9,BV,30,64,15,1),t=0;t<255;t++)j9[t]=-1;for(n=90;n>=65;n--)j9[n]=n-65<<24>>24;for(r=122;r>=97;r--)j9[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)j9[i]=i-48+52<<24>>24;for(j9[43]=62,j9[47]=63,a=0;a<=25;a++)M9[a]=65+a&VV;for(o=26,c=0;o<=51;++o,c++)M9[o]=97+c&VV;for(e=52,s=0;e<=61;++e,s++)M9[e]=48+s&VV;M9[62]=43,M9[63]=47}function Crt(e,t){var n,i,a=Mze(e),o,s,c=Mze(t);return a==c?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:+(e.f>t.f):(i=e.e-t.e,n=(e.d>0?e.d:r.Math.floor((e.a-1)*Edt)+1)-(t.d>0?t.d:r.Math.floor((t.a-1)*Edt)+1),n>i+1?a:n<i-1?-a:(o=(!e.c&&(e.c=rD(Hj(e.f))),e.c),s=(!t.c&&(t.c=rD(Hj(t.f))),t.c),i<0?o=HD(o,xit(-i)):i>0&&(s=HD(s,xit(i))),cqe(o,s))):a<c?-1:1}function wrt(e){var t,n,r=new LRe,i,a,o;return Xj(r,e),j(K(r,(PB(),T1)))===j((WN(),v8))&&W(r,T1,$N(r)),K(r,(UO(),a6))??(o=P(E1e(e),174),W(r,a6,qy(o.mf(a6)))),W(r,(Y(),T$),e),W(r,l$,(t=P(t_(LQ),10),new FS(t,P(gS(t,t.length),10),0))),i=ect((!PE(e)||(Q_(),new ng(PE(e))),Q_(),new Fx(PE(e)?new ng(PE(e)):null,e)),_8),a=P(K(r,Ykt),104),n=r.d,iOe(n,a),iOe(n,i),r}function Trt(e,t,n){var r,i,a,o,s,c,l,u;for(n.Tg(hft,1),e.qf(t),a=0;e.sf(a)&&!n.Zg();){for(e.rf(),u=xw(IA(U(k(QJ,1),$B,20,0,[t.e,t.d,t.b])));CR(u);)for(c=P(CO(u),313),s=xw(IA(U(k(QJ,1),$B,20,0,[t.e,t.d,t.b])));CR(s);)o=P(CO(s),313),o!=c&&(i=e.pf(o,c),i&&wS(c.c,i));for(l=xw(IA(U(k(QJ,1),$B,20,0,[t.e,t.d,t.b])));CR(l);)c=P(CO(l),313),r=c.c,O0e(r,-e.d,-e.d,e.d,e.d),wS(c.d,r),r.a=0,r.b=0;++a}n.Ug()}function Ert(e,t){var n,i,a,o,s,c,l,u,d,f,p,m;if(e.dc())return new Xg;for(u=0,f=0,a=e.Jc();a.Ob();)i=P(a.Pb(),37),o=i.f,u=r.Math.max(u,o.a),f+=o.a*o.b;for(u=r.Math.max(u,r.Math.sqrt(f)*O(N(K(P(e.Jc().Pb(),37),(PB(),n1))))),p=0,m=0,l=0,n=t,c=e.Jc();c.Ob();)s=P(c.Pb(),37),d=s.f,p+d.a>u&&(p=0,m+=l+t,l=0),hz(s,p,m),n=r.Math.max(n,p+d.a),l=r.Math.max(l,d.b),p+=d.a+t;return new A(n+t,m+l+t)}function Drt(e,t){var n,r,i,a,o,s,c;if(!jE(e))throw D(new cg(Igt));if(r=jE(e),a=r.g,i=r.f,a<=0&&i<=0)return wB(),M5;switch(s=e.i,c=e.j,t.g){case 2:case 1:if(s<0)return wB(),N5;if(s+e.g>a)return wB(),p5;break;case 4:case 3:if(c<0)return wB(),m5;if(c+e.f>i)return wB(),j5}return o=(s+e.g/2)/a,n=(c+e.f/2)/i,o+n<=1&&o-n<=0?(wB(),N5):o+n>=1&&o-n>=0?(wB(),p5):n<.5?(wB(),m5):(wB(),j5)}function Ort(e,t,n,r,i){var a=sP(uD(t[0],xH),uD(r[0],xH)),o;if(e[0]=RC(a),a=ew(a,32),n>=i){for(o=1;o<i;o++)a=sP(a,sP(uD(t[o],xH),uD(r[o],xH))),e[o]=RC(a),a=ew(a,32);for(;o<n;o++)a=sP(a,uD(t[o],xH)),e[o]=RC(a),a=ew(a,32)}else{for(o=1;o<n;o++)a=sP(a,sP(uD(t[o],xH),uD(r[o],xH))),e[o]=RC(a),a=ew(a,32);for(;o<i;o++)a=sP(a,uD(r[o],xH)),e[o]=RC(a),a=ew(a,32)}yN(a,0)!=0&&(e[o]=RC(a))}function krt(e,t){var n,r,i,a,o,s,c,l,u;for(t.Tg(`Layer constraint edge reversal`,1),o=new E(e.b);o.a<o.c.c.length;){for(a=P(z(o),25),u=-1,n=new ah,l=hD(a.a),i=0;i<l.length;i++)r=P(K(l[i],(Y(),p$)),315),u==-1?r!=(Nk(),qQ)&&(u=i):r==(Nk(),qQ)&&(BE(l[i],null),jI(l[i],u++,a)),r==(Nk(),GQ)&&ph(n.c,l[i]);for(c=new E(n);c.a<c.c.c.length;)s=P(z(c),9),BE(s,null),BE(s,a)}t.Ug()}function Pz(e){zB();var t,n,r,i,a,o;if(e.e!=4&&e.e!=5)throw D(new sg(`Token#complementRanges(): must be RANGE: `+e.e));for(a=e,ER(a),iB(a),r=a.b.length+2,a.b[0]==0&&(r-=2),n=a.b[a.b.length-1],n==KJ&&(r-=2),i=(++W9,new lD(4)),i.b=V(q9,JV,30,r,15,1),o=0,a.b[0]>0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),t=1;t<a.b.length-2;t+=2)i.b[o++]=a.b[t]+1,i.b[o++]=a.b[t+1]-1;return n!=KJ&&(i.b[o++]=n+1,i.b[o]=KJ),i.a=!0,i}function Art(e,t){var n,r,i,a,o,s,c,l,u;for(t.Tg(`Hierarchical port dummy size processing`,1),c=new ah,u=new ah,r=O(N(K(e,(PB(),b0)))),n=r*2,a=new E(e.b);a.a<a.c.c.length;){for(i=P(z(a),25),c.c.length=0,u.c.length=0,s=new E(i.a);s.a<s.c.c.length;)o=P(z(s),9),o.k==(MR(),RX)&&(l=P(K(o,(Y(),s$)),64),l==(wB(),m5)?ph(c.c,o):l==j5&&ph(u.c,o));P3e(c,!0,n),P3e(u,!1,n)}t.Ug()}function jrt(e,t,n){var r=n.gc(),i,a,o,s,c,l,u;if(r==0)return!1;if(e.Nj())if(l=e.Oj(),fL(e,t,n),o=r==1?e.Gj(3,null,n.Jc().Pb(),t,l):e.Gj(5,null,n,t,l),e.Kj()){for(s=r<100?null:new Qg(r),a=t+r,i=t;i<a;++i)u=e.g[i],s=e.Lj(u,s),s=e.Sj(u,s);s?(s.lj(o),s.mj()):e.Hj(o)}else e.Hj(o);else if(fL(e,t,n),e.Kj()){for(s=r<100?null:new Qg(r),a=t+r,i=t;i<a;++i)c=e.g[i],s=e.Lj(c,s);s&&s.mj()}return!0}function Mrt(e,t,n,r){var i,a,o,s,c;for(o=new E(e.k);o.a<o.c.c.length;)i=P(z(o),133),(!r||i.c==(WO(),V2))&&(c=i.b,c.g<0&&i.d>0&&(Pp(c,c.d-i.d),i.c==(WO(),V2)&&Mp(c,c.a-i.d),c.d<=0&&c.i>0&&iO(t,c,t.c.b,t.c)));for(a=new E(e.f);a.a<a.c.c.length;)i=P(z(a),133),(!r||i.c==(WO(),V2))&&(s=i.a,s.g<0&&i.d>0&&(Fp(s,s.i-i.d),i.c==(WO(),V2)&&Np(s,s.b-i.d),s.i<=0&&s.d>0&&iO(n,s,n.c.b,n.c)))}function Nrt(e,t,n,r,i){var a,o,s,c,l,u,d,f,p;for(KT(),Vb(e,new Fc),o=$S(e),p=new ah,f=new ah,s=null,c=0;o.b!=0;)a=P(o.b==0?null:(Bx(o.b!=0),aA(o,o.a.a)),167),!s||kC(s)*OC(s)/2<kC(a)*OC(a)?(s=a,ph(p.c,a)):(c+=kC(a)*OC(a),ph(f.c,a),f.c.length>1&&(c>kC(s)*OC(s)/2||o.b==0)&&(d=new _A(f),u=kC(s)/OC(s),l=Plt(d,t,new Fh,n,r,i,u),wS(nb(d.e),l),s=d,ph(p.c,d),c=0,f.c.length=0));return pM(p,f),p}function Fz(e,t,n,r,i){O_();var a,o,s,c,l,u,d;if(VCe(e,`src`),VCe(n,`dest`),d=WM(e),c=WM(n),Jbe((d.i&4)!=0,`srcType is not an array`),Jbe((c.i&4)!=0,`destType is not an array`),u=d.c,o=c.c,Jbe(u.i&1?u==o:(o.i&1)==0,`Array types don't match`),iHe(e,t,n,r,i),!(u.i&1)&&d!=c)if(l=gA(e),a=gA(n),j(e)===j(n)&&t<r)for(t+=i,s=r+i;s-- >r;)Jw(a,s,l[--t]);else for(s=r+i;r<s;)Jw(a,r++,l[t++]);else v3e(e,t,n,r,i,!0)}function Prt(e,t){var n,r,i,a,o,s,c,l,u;switch(t.Tg(`Box layout`,2),i=gg(N(J(e,(SL(),iLt)))),a=P(J(e,tLt),104),n=hg(eS(J(e,XIt))),r=hg(eS(J(e,ZIt))),P(J(e,p6),326).g){case 0:o=(u=new NS((!e.a&&(e.a=new F(p7,e,10,11)),e.a)),KT(),Vb(u,new Une(r)),u),s=v2e(e),c=N(J(e,JIt)),(c==null||(dT(c),c)<=0)&&(c=1.3),l=Slt(o,i,a,s.a,s.b,n,(dT(c),c)),TB(e,l.a,l.b,!1,!0);break;default:aot(e,i,a,n)}t.Ug()}function Frt(e,t,n,r,i){var a,o,s,c,l,u,d,f=PQe(e,n),p,m;for(c=0;c<t;c++){for(hS(i,n),p=new ah,m=(Bx(r.b<r.d.gc()),P(r.d.Xb(r.c=r.b++),410)),u=f+c;u<e.b;u++)s=m,m=(Bx(r.b<r.d.gc()),P(r.d.Xb(r.c=r.b++),410)),$b(p,new z7e(s,m,n));for(d=f+c;d<e.b;d++)Bx(r.b>0),r.a.Xb(r.c=--r.b),d>f+c&&nT(r);for(o=new E(p);o.a<o.c.c.length;)a=P(z(o),410),hS(r,a);if(c<t-1)for(l=f+c;l<e.b;l++)Bx(r.b>0),r.a.Xb(r.c=--r.b)}}function Irt(){zB();var e,t,n,r,i,a;if(FVt)return FVt;for(e=(++W9,new lD(4)),eB(e,DB(vyt,!0)),mB(e,DB(`M`,!0)),mB(e,DB(`C`,!0)),a=(++W9,new lD(4)),r=0;r<11;r++)rz(a,r,r);return t=(++W9,new lD(4)),eB(t,DB(`M`,!0)),rz(t,4448,4607),rz(t,65438,65439),i=(++W9,new Rb(2)),aB(i,e),aB(i,V9),n=(++W9,new Rb(2)),n.Hm(LC(a,DB(`L`,!0))),n.Hm(t),n=(++W9,new ZD(3,n)),n=(++W9,new UCe(i,n)),FVt=n,FVt}function Iz(e,t){var n=new RegExp(t,`g`),r,i,a,o,s,c=V(vY,X,2,0,6,1),l;for(r=0,l=e,a=null;;)if(s=n.exec(l),s==null||l==``){c[r]=l;break}else o=s.index,c[r]=(YO(0,o,l.length),l.substr(0,o)),l=dE(l,o+s[0].length,l.length),n.lastIndex=0,a==l&&(c[r]=(YO(0,1,l.length),l.substr(0,1)),l=(sD(1,l.length+1),l.substr(1))),a=l,++r;if(e.length>0){for(i=c.length;i>0&&c[i-1]==``;)--i;i<c.length&&(c.length=i)}return c}function Lz(){Lz=C,hNt=new kb(20),mNt=new Nb((LB(),W6),hNt),w4=new Nb(c8,20),yNt=new Nb(QLt,3),tNt=new Nb(S6,vU),C4=new Nb(n8,G(1)),vNt=new Nb(a8,(mx(),!0)),rNt=E6,iNt=(WN(),v8),b4=new Nb(D6,iNt),oNt=N6,sNt=P6,lNt=R6,uNt=z6,dNt=B6,fNt=V6,cNt=L6,pNt=U6,gNt=$6,TNt=(n6e(),$Mt),_Nt=XMt,SNt=d8,wNt=p8,xNt=u8,bNt=l8,CNt=(VN(),Y5),new Nb(f8,CNt),S4=YMt,x4=qMt,T4=QMt,nNt=GMt,aNt=KMt}function Lrt(e){var t,n,i,a,o,s,c=PE(e),l,u,d,f,p=G6e(e),m;if(t=P(J(e,(LB(),uRt)),15).a,c){for(f=JB,d=LV,i=new lx((!c.a&&(c.a=new F(p7,c,10,11)),c.a));i.e!=i.i.gc();)n=P(OF(i),26),l=G6e(n),l>d&&(d=l),l<f&&(f=l);for(u=r.Math.pow(4,t),d>u&&(u=d),m=(r.Math.log(u)-r.Math.log(1))/t,o=r.Math.exp(m),a=o,s=0;s<t;s++)if(p<a)return r.Math.pow(2,s);else a*=o;return r.Math.pow(2,t-1)}else return 1}function Rrt(e){var t,n,r,i,a,o,s,c,l,u,d=new Za;for(d.d=0,o=new E(e.b);o.a<o.c.c.length;)a=P(z(o),25),d.d+=a.a.c.length;for(r=0,i=0,d.a=V(q9,JV,30,e.b.c.length,15,1),l=0,u=0,d.e=V(q9,JV,30,d.d,15,1),n=new E(e.b);n.a<n.c.c.length;)for(t=P(z(n),25),t.p=r++,d.a[t.p]=i++,u=0,c=new E(t.a);c.a<c.c.c.length;)s=P(z(c),9),s.p=l++,d.e[s.p]=u++;return d.c=new gne(d),d.b=Ix(d.d),Snt(d,e),d.f=Ix(d.d),Cnt(d,e),d}function zrt(e){var t=tS(J(e,(LB(),x6))),n;if(!wBe(t,e)&&!qO(e,i8)&&((!e.a&&(e.a=new F(p7,e,10,11)),e.a).i!=0||hg(eS(J(e,j6)))))if(t==null||qL(t).length==0){if(!wBe(gH,e))throw n=Qy(Qy(new _x(`Unable to load default layout algorithm `),gH),` for unconfigured node `),xB(e,n),D(new vg(n.a))}else throw n=Qy(Qy(new _x(`Layout algorithm '`),t),`' not found for `),xB(e,n),D(new vg(n.a))}function Brt(e){var t,n=e.i,i,a,o,s,c,l,u,d,f,p,m;if(t=e.n,e.b==0)for(m=n.c+t.b,p=n.b-t.b-t.c,s=e.a,l=0,d=s.length;l<d;++l)a=s[l],WC(a,m,p);else i=lYe(e,!1),WC(e.a[0],n.c+t.b,i[0]),WC(e.a[2],n.c+n.b-t.c-i[2],i[2]),f=n.b-t.b-t.c,i[0]>0&&(f-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(f-=i[2]+e.c),i[1]=r.Math.max(i[1],f),WC(e.a[1],n.c+t.b+i[0]-(i[1]-f)/2,i[1]);for(o=e.a,c=0,u=o.length;c<u;++c)a=o[c],M(a,337)&&P(a,337).hf()}function Vrt(e){var t,n,r,i,a,o,s,c,l,u=V(q9,JV,30,e.b.c.length+1,15,1);for(l=new Dh,r=0,a=new E(e.b);a.a<a.c.c.length;){for(i=P(z(a),25),u[r++]=l.a.gc(),c=new E(i.a);c.a<c.c.c.length;)for(o=P(z(c),9),n=new XC(dx(fP(o).a.Jc(),new f));CR(n);)t=P(CO(n),17),l.a.yc(t,l);for(s=new E(i.a);s.a<s.c.c.length;)for(o=P(z(s),9),n=new XC(dx(uP(o).a.Jc(),new f));CR(n);)t=P(CO(n),17),l.a.Ac(t)}return u}function Hrt(e,t){var n,i,a,o=P(AC(e.n,e.n.c.length-1),208).d;for(e.p=r.Math.min(e.p,t.g),e.r=r.Math.max(e.r,o),e.g=r.Math.max(e.g,t.g+(e.b.c.length==1?0:e.i)),e.o=r.Math.min(e.o,t.f),e.e+=t.f+(e.b.c.length==1?0:e.i),e.f=r.Math.max(e.f,t.f),a=e.n.c.length>0?(e.n.c.length-1)*e.i:0,i=new E(e.n);i.a<i.c.c.length;)n=P(z(i),208),a+=n.a;e.d=a,e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),uXe(e.j)}function Urt(e,t){var n,r,i,a,o,s,c,l,u=eS(K(t,(Mz(),HSt))),d;if(u==null||(dT(u),u)){for(d=V(J9,qH,30,t.e.c.length,16,1),o=y3e(t),i=new E_,l=new E(t.e);l.a<l.c.c.length;)s=P(z(l),155),n=P8e(e,s,null,null,d,o),n&&(Xj(n,t),iO(i,n,i.c.b,i.c));if(i.b>1)for(r=TF(i,0);r.b!=r.d.c;)for(n=P(RD(r),235),a=0,c=new E(n.e);c.a<c.c.c.length;)s=P(z(c),155),s.a=a++;return i}return OO(U(k(gSt,1),uft,235,0,[t]))}function Rz(e){var t,n,r,i,a,o,s;if(!e.g){if(s=new ml,t=l9,o=t.a.yc(e,t),o==null){for(r=new lx(cE(e));r.e!=r.i.gc();)n=P(OF(r),29),zw(s,Rz(n));t.a.Ac(e),t.a.gc()}for(i=s.i,a=(!e.s&&(e.s=new F(N7,e,21,17)),new lx(e.s));a.e!=a.i.gc();++i)Kp(P(OF(a),451),i);zw(s,(!e.s&&(e.s=new F(N7,e,21,17)),e.s)),lN(s),e.g=new eHe(e,s),e.i=P(s.g,255),e.i??=PBt,e.p=null,bO(e).b&=-5}return e.g}function Wrt(e,t){var n=t.ni(e.a),r,i,a,o,s,c,l,u;if(n&&(c=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),`memberTypes`)),c!=null)){for(l=new ah,a=Iz(c,`\\w`),o=0,s=a.length;o<s;++o)i=a[o],r=i.lastIndexOf(`#`),u=r==-1?Khe(e,t.hk(),i):r==0?rk(e,null,(sD(1,i.length+1),i.substr(1))):rk(e,(YO(0,r,i.length),i.substr(0,r)),(sD(r+1,i.length+1),i.substr(r+1))),M(u,159)&&$b(l,P(u,159));return l}return KT(),KT(),EY}function Grt(e){var t,n,i=e.i,a,o,s,c,l,u,d,f,p,m,h;if(n=e.n,e.b==0)t=cYe(e,!1),GC(e.a[0],i.d+n.d,t[0]),GC(e.a[2],i.d+i.a-n.a-t[2],t[2]),p=i.a-n.d-n.a,f=p,t[0]>0&&(t[0]+=e.c,f-=t[0]),t[2]>0&&(f-=t[2]+e.c),t[1]=r.Math.max(t[1],f),GC(e.a[1],i.d+n.d+t[0]-(t[1]-f)/2,t[1]);else for(h=i.d+n.d,m=i.a-n.d-n.a,s=e.a,l=0,d=s.length;l<d;++l)a=s[l],GC(a,h,m);for(o=e.a,c=0,u=o.length;c<u;++c)a=o[c],M(a,337)&&P(a,337).jf()}function Krt(e,t,n,r,i){var a,o,s;if(n.f>=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(o=P(AC(t.n,t.n.c.length-1),208),o.e+o.d+n.g+i<=r&&(a=P(AC(t.n,t.n.c.length-1),208),a.f-e.f+n.f<=e.b||e.a.c.length==1))return vGe(t,n),!0;if(t.s+n.g<=r&&t.t+t.d+n.f+i<=e.f+e.b)return $b(t.b,n),s=P(AC(t.n,t.n.c.length-1),208),$b(t.n,new SE(t.s,s.f+s.a+t.i,t.i)),SYe(P(AC(t.n,t.n.c.length-1),208),n),Hrt(t,n),!0}return!1}function zz(e,t,n,r){var i,a,o,s,c=$R(e.e.Ah(),t);if(i=P(e.g,122),rv(),P(t,69).vk()){for(o=0;o<e.i;++o)if(a=i[o],c.$l(a.Jk())&&DN(a,n))return!0}else if(n!=null){for(s=0;s<e.i;++s)if(a=i[s],c.$l(a.Jk())&&DN(n,a.kd()))return!0;if(r){for(o=0;o<e.i;++o)if(a=i[o],c.$l(a.Jk())&&j(n)===j(Qx(e,P(a.kd(),57))))return!0}}else for(o=0;o<e.i;++o)if(a=i[o],c.$l(a.Jk())&&a.kd()==null)return!1;return!1}function qrt(e,t){var n=t.ni(e.a),r,i,a,o,s;if(n&&(s=tS(VP((!n.b&&(n.b=new Xx((VB(),o9),d9,n)),n.b),Mq)),s!=null))switch(i=fx(s,hL(35)),r=t.ok(),i==-1?(o=KC(e,lA(r)),a=s):i==0?(o=null,a=(sD(1,s.length+1),s.substr(1))):(o=(YO(0,i,s.length),s.substr(0,i)),a=(sD(i+1,s.length+1),s.substr(i+1))),hT(wk(e,t))){case 2:case 3:return hHe(e,r,o,a);case 0:case 4:case 5:case 6:return gHe(e,r,o,a)}return null}function Jrt(e,t,n,i){var a,o,s,c=n;for(s=new E(t.a);s.a<s.c.c.length;){if(o=P(z(s),225),a=P(o.b,68),wP(e.b.c,a.b.c+a.b.b)<=0&&wP(a.b.c,e.b.c+e.b.b)<=0&&wP(e.b.d,a.b.d+a.b.a)<=0&&wP(a.b.d,e.b.d+e.b.a)<=0){if(wP(a.b.c,e.b.c+e.b.b)==0&&i.a<0||wP(a.b.c+a.b.b,e.b.c)==0&&i.a>0||wP(a.b.d,e.b.d+e.b.a)==0&&i.b<0||wP(a.b.d+a.b.a,e.b.d)==0&&i.b>0){c=0;break}}else c=r.Math.min(c,s4e(e,a,i));c=r.Math.min(c,Jrt(e,o,c,i))}return c}function Yrt(e,t){var n,r,i,a,o,s,c;if(e.b<2)throw D(new sg(`The vector chain must contain at least a source and a target point.`));for(i=(Bx(e.b!=0),P(e.a.a.c,8)),Tb(t,i.a,i.b),c=new Dx((!t.a&&(t.a=new ix(e7,t,5)),t.a)),o=TF(e,1);o.a<e.b-1;)s=P(RD(o),8),c.e==c.i.gc()?(n=($g(),r=new Xc,r),FKe(c,n)):n=P(OF(c),372),Sb(n,s.a,s.b);for(;c.e!=c.i.gc();)OF(c),YI(c);a=(Bx(e.b!=0),P(e.c.b.c,8)),wb(t,a.a,a.b)}function Xrt(e,t,n,r){var i,a,o,s,c,l=$R(e.e.Ah(),t);if(o=P(e.g,122),nz(e.e,t)){if(t.Qi()&&(a=Uz(e,t,r,M(t,103)&&(P(t,19).Bb&_H)!=0),a>=0&&a!=n))throw D(new sg(Fq));for(i=0,c=0;c<e.i;++c)if(s=o[c],l.$l(s.Jk())){if(i==n)return P(WF(e,c,(rv(),P(t,69).vk()?P(r,75):qD(t,r))),75);++i}throw D(new ig(Zq+n+Lq+i))}else{for(c=0;c<e.i;++c)if(s=o[c],l.$l(s.Jk()))return rv(),P(t,69).vk()?s:s.kd();return null}}function Zrt(e,t){var n=0,r,i,a,o,s,c,l,u;for(i=new E((oD(0,e.c.length),P(e.c[0],107)).g.b.j);i.a<i.c.c.length;)r=P(z(i),12),r.p=n++;for(t==(wB(),m5)?Vb(e,new Ii):Vb(e,new Wi),s=0,u=e.c.length-1;s<u;)o=(oD(s,e.c.length),P(e.c[s],107)),l=(oD(u,e.c.length),P(e.c[u],107)),a=t==m5?o.c:o.a,c=t==m5?l.a:l.c,cw(o,t,(oM(),DZ),a),cw(l,t,EZ,c),++s,--u;s==u&&cw((oD(s,e.c.length),P(e.c[s],107)),t,(oM(),TZ),null)}function Qrt(e,t,n,r){var i,a,o=new Lot(e,t,n),s,c=new bD(r,0),l;for(i=!1;c.b<c.d.gc();)s=(Bx(c.b<c.d.gc()),P(c.d.Xb(c.c=c.b++),239)),s==t||s==n?nT(c):!i&&O(ex(s.g,s.d[0]).a)>O(ex(o.g,o.d[0]).a)?(Bx(c.b>0),c.a.Xb(c.c=--c.b),hS(c,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new ah),s.e).Kc(t),l=(!s.e&&(s.e=new ah),s.e).Kc(n),(a||l)&&((!s.e&&(s.e=new ah),s.e).Ec(o),++o.c));i||ph(r.c,o)}function $rt(e,t,n){var r,i,a,o,s,c,l,u,d=e.a.i+e.a.g/2,f=e.a.i+e.a.g/2,p,m=t.i+t.g/2,h,g=t.j+t.f/2,_;return s=new A(m,g),l=P(J(t,(LB(),t8)),8),l.a+=d,l.b+=f,a=(s.b-l.b)/(s.a-l.a),r=s.b-a*s.a,h=n.i+n.g/2,_=n.j+n.f/2,c=new A(h,_),u=P(J(n,t8),8),u.a+=d,u.b+=f,o=(c.b-u.b)/(c.a-u.a),i=c.b-o*c.a,p=(r-i)/(o-a),l.a<p&&s.a<p||p<l.a&&p<s.a?!1:!(u.a<p&&c.a<p||p<u.a&&p<c.a)}function eit(e,t,n){var i,a,o,s;for(n.Tg(zmt,1),e.a=t,e.c=new ah,o=r.Math.max(t.a.c.length,P(K(t,(Y(),C$)),15).a);s=new JPe(e.c,e.d,e.b),Y6e(s,t),RXe(s,t),e.d.b!=0;){for(e.rg(o,o*P(K(t,ZQ),15).a),a=new E(e.c);a.a<a.c.c.length;)i=P(z(a),17),Bz(i,!1),W(i.c.i,(PB(),V1),G(P(K(i.c.i,V1),15).a+1)),W(t,e$,(mx(),!0));YT(e.d),aw(e.b),e.c.c.length=0}n.Ug(),n.ah(`Execution Time: `+n.Vg())}function tit(e,t,n,r){var i,a,o,s,c,l;if(!zD(t)){if(l=n.dh((M(t,18)?P(t,18).gc():UD(t.Jc()))/e.a|0),l.Tg(Jmt,1),c=new Ro,s=0,r==(WN(),g8)||r==_8)for(o=t.Jc();o.Ob();)i=P(o.Pb(),40),c=IA(U(k(QJ,1),$B,20,0,[c,new Km(i)])),s<i.f.a&&(s=i.f.a);else for(o=t.Jc();o.Ob();)i=P(o.Pb(),40),c=IA(U(k(QJ,1),$B,20,0,[c,new Km(i)])),s<i.f.b&&(s=i.f.b);for(a=t.Jc();a.Ob();)i=P(a.Pb(),40),W(i,(CB(),l4),s);l.Ug(),tit(e,c,n,r)}}function nit(e,t,n){var r,i,a,o,s,c,l,u;this.a=e,this.b=t,this.c=n,this.e=OO(U(k(Sxt,1),$B,177,0,[new dv(e,t),new dv(t,n),new dv(n,e)])),this.f=OO(U(k(o6,1),X,8,0,[e,t,n])),this.d=(r=TS(qb(this.b),this.a),i=TS(qb(this.c),this.a),a=TS(qb(this.c),this.b),o=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),s=i.a*(this.a.a+this.c.a)+i.b*(this.a.b+this.c.b),c=2*(r.a*a.b-r.b*a.a),l=(i.b*o-r.b*s)/c,u=(r.a*s-i.a*o)/c,new A(l,u))}function Bz(e,t){var n,r,i,a=e.c,o=e.d,s;for(zE(e,null),VE(e,null),t&&hg(eS(K(o,(Y(),d$))))?zE(e,znt(o.i,(VA(),m2),(wB(),p5))):zE(e,o),t&&hg(eS(K(a,(Y(),E$))))?VE(e,znt(a.i,(VA(),p2),(wB(),N5))):VE(e,a),r=new E(e.b);r.a<r.c.c.length;)n=P(z(r),70),i=P(K(n,(PB(),O1)),279),i==(dA(),T8)?W(n,O1,w8):i==w8&&W(n,O1,T8);s=hg(eS(K(e,(Y(),N$)))),W(e,N$,(mx(),!s)),e.a=SHe(e.a)}function rit(e,t){var n=xF(P(K(t,(Lz(),b4)),86)),r,i,a,o;return e.b.b==0?null:(o=P(aO(jT(new jC(null,new nD(e.b,16)),new Co),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),a=P(aO(AT(new jC(null,new nD(t.b,16)),new vne(o)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),16),i=N(yx(nw(jT(a.Mc(),new yne(n)),(qT(),qT(),zbt)))),r=P(yx(RM(AT(a.Mc(),new Eue(n,i)))),40),r)}function iit(e,t){var n=bx(new Ah,e.f),i,a,o,s,c,l,u=e.i[t.c.i.p],d,f,p,m=e.i[t.d.i.p],h,g,_;l=t.c,p=t.d,c=l.a.b,f=p.a.b,u.b||(c+=l.n.b),m.b||(f+=p.n.b),d=xE(r.Math.max(0,c-f)),s=xE(r.Math.max(0,f-c)),h=(g=r.Math.max(1,P(K(t,(PB(),h0)),15).a),_=rMe(t.c.i.k,t.d.i.k),g*_),a=ZR(L_(I_(F_(R_(new Mh,h),s),n),P(Zw(e.k,t.c),124))),o=ZR(L_(I_(F_(R_(new Mh,h),d),n),P(Zw(e.k,t.d),124))),i=new pue(a,o),e.c[t.p]=i}function ait(e,t,n){var i=0,a,o,s,c,l;for(o=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));o.e!=o.i.gc();)a=P(OF(o),26),s=``,(!a.n&&(a.n=new F(f7,a,1,7)),a.n).i==0||(s=P(H((!a.n&&(a.n=new F(f7,a,1,7)),a.n),0),157).a),c=new dpe(s),Xj(c,a),W(c,(oj(),uX),a),c.a=i++,c.d.a=a.i+a.g/2,c.d.b=a.j+a.f/2,c.e.a=r.Math.max(a.g,1),c.e.b=r.Math.max(a.f,1),$b(t.e,c),XL(n.f,a,c),l=P(J(a,(Mz(),RSt)),102),l==(iL(),a5)&&(l=i5)}function oit(e){var t,n,r;if(_b(P(K(e,(PB(),l0)),102)))for(n=new E(e.j);n.a<n.c.c.length;)t=P(z(n),12),t.j==(wB(),M5)&&(r=P(K(t,(Y(),O$)),9),r?tR(t,P(K(r,s$),64)):t.e.c.length-t.g.c.length<0?tR(t,p5):tR(t,N5));else{for(n=new E(e.j);n.a<n.c.c.length;)t=P(z(n),12),r=P(K(t,(Y(),O$)),9),r?tR(t,P(K(r,s$),64)):t.e.c.length-t.g.c.length<0?tR(t,(wB(),p5)):tR(t,(wB(),N5));W(e,l0,(iL(),r5))}}function sit(e,t){var n,r,i,a,o,s,c;t.Tg(`Layer constraint postprocessing`,1),c=e.b,c.c.length!=0&&(r=(oD(0,c.c.length),P(c.c[0],25)),o=P(AC(c,c.c.length-1),25),n=new tT(e),a=new tT(e),Utt(e,r,o,n,a),n.a.c.length==0||(UE(0,c.c.length),Ev(c.c,0,n)),a.a.c.length==0||ph(c.c,a)),Kx(e,(Y(),u$))&&(i=new tT(e),s=new tT(e),S9e(e,i,s),i.a.c.length==0||(UE(0,c.c.length),Ev(c.c,0,i)),s.a.c.length==0||ph(c.c,s)),t.Ug()}function Vz(e){var t,n,r;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:r=`\\`+String.fromCharCode(e&VV);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:e<32?(n=(t=e>>>0,`0`+t.toString(16)),r=`\\x`+dE(n,n.length-2,n.length)):e>=_H?(n=(t=e>>>0,`0`+t.toString(16)),r=`\\v`+dE(n,n.length-6,n.length)):r=``+String.fromCharCode(e&VV)}return r}function cit(e,t){var n,r,i,a,o,s,c,l,u;for(a=new E(e.b);a.a<a.c.c.length;)for(i=P(z(a),25),s=new E(i.a);s.a<s.c.c.length;)for(o=P(z(s),9),o.k==(MR(),zX)&&(c=(l=P(CO(new XC(dx(uP(o).a.Jc(),new f))),17),u=P(CO(new XC(dx(fP(o).a.Jc(),new f))),17),!hg(eS(K(l,(Y(),N$))))||!hg(eS(K(u,N$)))?t:NVe(t)),Gz(o,c)),r=new XC(dx(fP(o).a.Jc(),new f));CR(r);)n=P(CO(r),17),c=hg(eS(K(n,(Y(),N$))))?NVe(t):t,_Ve(n,c)}function lit(e){var t,n,r,i,a,o;for(this.e=new ah,this.a=new ah,n=e.b-1;n<3;n++)Rx(e,0,P(LF(e,0),8));if(e.b<4)throw D(new sg(`At (least dimension + 1) control points are necessary!`));for(this.b=3,this.d=!0,this.c=!1,h8e(this,e.b+this.b-1),o=new ah,a=new E(this.e),t=0;t<this.b-1;t++)$b(o,N(z(a)));for(i=TF(e,0);i.b!=i.d.c;)r=P(RD(i),8),$b(o,N(z(a))),$b(this.a,new ADe(r,o)),oD(0,o.c.length),o.c.splice(0,1)}function uit(e,t,n){var r,i,a,o;return e.Nj()?(i=null,a=e.Oj(),r=e.Gj(1,o=Fk(e,t,n),n,t,a),e.Kj()&&!(e.Wi()&&o!=null?DN(o,n):j(o)===j(n))?(o!=null&&(i=e.Mj(o,i)),i=e.Lj(n,i),e.Rj()&&(i=e.Uj(o,n,i)),i?(i.lj(r),i.mj()):e.Hj(r)):(e.Rj()&&(i=e.Uj(o,n,i)),i?(i.lj(r),i.mj()):e.Hj(r)),o):(o=Fk(e,t,n),e.Kj()&&!(e.Wi()&&o!=null?DN(o,n):j(o)===j(n))&&(i=null,o!=null&&(i=e.Mj(o,null)),i=e.Lj(n,i),i&&i.mj()),o)}function dit(e,t){var n,r,i,a,o;if(t.Tg(`Path-Like Graph Wrapping`,1),e.b.c.length==0){t.Ug();return}if(i=new m6e(e),o=(i.i??=Jze(i,new la),O(i.i)*i.f),n=o/(i.i??=Jze(i,new la),O(i.i)),i.b>n){t.Ug();return}switch(P(K(e,(PB(),I0)),350).g){case 2:a=new fa;break;case 0:a=new na;break;default:a=new pa}if(r=a.mg(e,i),!a.ng())switch(P(K(e,R0),351).g){case 2:r=d4e(i,r);break;case 1:r=JQe(i,r)}Lat(e,i,r),t.Ug()}function Hz(e,t){var n,i,a,o,s,c,l,u;t%=24,e.q.getHours()!=t&&(i=new r.Date(e.q.getTime()),i.setDate(i.getDate()+1),c=e.q.getTimezoneOffset()-i.getTimezoneOffset(),c>0&&(l=c/60|0,u=c%60,a=e.q.getDate(),n=e.q.getHours(),n+l>=24&&++a,o=new r.Date(e.q.getFullYear(),e.q.getMonth(),a,t+l,e.q.getMinutes()+u,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(o.getTime()))),s=e.q.getTime(),e.q.setTime(s+36e5),e.q.getHours()!=t&&e.q.setTime(s)}function fit(e,t){var n,r,i,a;if(LOe(e.d,e.e),e.c.a.$b(),O(N(K(t.j,(PB(),s1))))!=0||O(N(K(t.j,s1)))!=0)for(n=zG,j(K(t.j,g1))!==j((eF(),c2))&&W(t.j,(Y(),c$),(mx(),!0)),a=P(K(t.j,P0),15).a,i=0;i<a&&(r=jit(e,t),!(r<n&&(n=r,Tze(e),n==0)));i++);else for(n=JB,j(K(t.j,g1))!==j((eF(),c2))&&W(t.j,(Y(),c$),(mx(),!0)),a=P(K(t.j,P0),15).a,i=0;i<a&&(r=Mit(e,t),!(r<n&&(n=r,Tze(e),n==0)));i++);}function pit(e,t){var n,r,i,a,o=new ah,s=0,c,l;for(n=0,c=0;s<t.c.length-1&&n<e.gc();){for(r=P(e.Xb(n),15).a+c;(oD(s+1,t.c.length),P(t.c[s+1],15)).a<r;)++s;for(l=0,a=r-(oD(s,t.c.length),P(t.c[s],15)).a,i=(oD(s+1,t.c.length),P(t.c[s+1],15)).a-r,a>i&&++l,$b(o,(oD(s+l,t.c.length),P(t.c[s+l],15))),c+=(oD(s+l,t.c.length),P(t.c[s+l],15)).a-r,++n;n<e.gc()&&P(e.Xb(n),15).a+c<=(oD(s+l,t.c.length),P(t.c[s+l],15)).a;)++n;s+=1+l}return o}function mit(e,t){var n,r,i,a,o;for(o=new XC(dx(uP(t).a.Jc(),new f));CR(o);)if(a=P(CO(o),17),e.f.b==0?(i=a.c.i.k==(MR(),HX)&&!!a.c.i.c&&a.c.i.c.p==e.c,CR(new XC(dx(uP(a.c.i).a.Jc(),new f)))?(n=P(CO(new XC(dx(uP(a.c.i).a.Jc(),new f))),17).c.i.c,r=a.c.i.k==zX&&!!n&&n.p==e.c):r=!1):(i=a.c.i.k==(MR(),HX)&&a.c.i.p==e.c,r=a.c.i.k==zX&&P(CO(new XC(dx(uP(a.c.i).a.Jc(),new f))),17).c.i.p==e.c),i||r)return!0;return!1}function hit(e,t,n,i,a){var o,s,c,l,u,d,f,p=new ah,m,h,g,_,v=oO(i),y,b;for(_=t*e.a,f=0,h=0,o=new Dh,s=new Dh,c=new ah,y=0,b=0,m=0,g=0,u=0,d=0;v.a.gc()!=0;)l=tGe(v,a,s),l&&(v.a.Ac(l),ph(c.c,l),o.a.yc(l,o),h=e.f[l.p],y+=e.e[l.p]-h*e.b,f=e.c[l.p],b+=f*e.b,d+=h*e.b,g+=e.e[l.p]),(!l||v.a.gc()==0||y>=_&&e.e[l.p]>h*e.b||b>=n*_)&&(ph(p.c,c),c=new ah,bj(s,o),o.a.$b(),u-=d,m=r.Math.max(m,u*e.b+g),u+=b,y=b,b=0,d=0,g=0);return new My(m,p)}function git(e){var t,n,r,i,a,o,s;if(!e.d){if(s=new _l,t=l9,a=t.a.yc(e,t),a==null){for(r=new lx(cE(e));r.e!=r.i.gc();)n=P(OF(r),29),zw(s,git(n));t.a.Ac(e),t.a.gc()}for(o=s.i,i=(!e.q&&(e.q=new F(B7,e,11,10)),new lx(e.q));i.e!=i.i.gc();++o)P(OF(i),403);zw(s,(!e.q&&(e.q=new F(B7,e,11,10)),e.q)),lN(s),e.d=new db((P(H(R((Uw(),K7).o),9),19),s.i),s.g),e.e=P(s.g,678),e.e??=NBt,bO(e).b&=-17}return e.d}function Uz(e,t,n,r){var i,a,o,s,c,l=$R(e.e.Ah(),t);if(c=0,i=P(e.g,122),rv(),P(t,69).vk()){for(o=0;o<e.i;++o)if(a=i[o],l.$l(a.Jk())){if(DN(a,n))return c;++c}}else if(n!=null){for(s=0;s<e.i;++s)if(a=i[s],l.$l(a.Jk())){if(DN(n,a.kd()))return c;++c}if(r){for(c=0,o=0;o<e.i;++o)if(a=i[o],l.$l(a.Jk())){if(j(n)===j(Qx(e,P(a.kd(),57))))return c;++c}}}else for(o=0;o<e.i;++o)if(a=i[o],l.$l(a.Jk())){if(a.kd()==null)return c;++c}return-1}function _it(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h;if(n.Uh(t)&&(u=(p=t,p?P(r,52).di(p):null),u))if(h=n.Kh(t,e.a),m=t.t,m>1||m==-1)if(d=P(h,72),f=P(u,72),d.dc())f.$b();else for(o=!!QF(t),a=0,s=e.a?d.Jc():d.Gi();s.Ob();)l=P(s.Pb(),57),i=P(zk(e,l),57),i?(o?(c=f.bd(i),c==-1?f.Ei(a,i):a!=c&&f.Si(a,i)):f.Ei(a,i),++a):e.b&&!o&&(f.Ei(a,l),++a);else h==null?u.Wb(null):(i=zk(e,h),i==null?e.b&&!QF(t)&&u.Wb(h):u.Wb(i))}function vit(e,t){var n=new Cn,i,a,o,s,c,l,u;for(a=new XC(dx(uP(t).a.Jc(),new f));CR(a);)if(i=P(CO(a),17),!xO(i)&&(c=i.c.i,h$e(c,YX))){if(u=tet(e,c,YX,JX),u==-1)continue;n.b=r.Math.max(n.b,u),!n.a&&(n.a=new ah),$b(n.a,c)}for(s=new XC(dx(fP(t).a.Jc(),new f));CR(s);)if(o=P(CO(s),17),!xO(o)&&(l=o.d.i,h$e(l,JX))){if(u=tet(e,l,JX,YX),u==-1)continue;n.d=r.Math.max(n.d,u),!n.c&&(n.c=new ah),$b(n.c,l)}return n}function yit(e,t,n,r){var i,a,o,s,c,l,u;if(n.d.i!=t.i){for(i=new tI(e),Tp(i,(MR(),BX)),W(i,(Y(),T$),n),W(i,(PB(),l0),(iL(),t5)),ph(r.c,i),o=new jL,HE(o,i),tR(o,(wB(),N5)),s=new jL,HE(s,i),tR(s,p5),u=n.d,VE(n,o),a=new rE,Xj(a,n),W(a,z1,null),zE(a,s),VE(a,u),l=new bD(n.b,0);l.b<l.d.gc();)c=(Bx(l.b<l.d.gc()),P(l.d.Xb(l.c=l.b++),70)),j(K(c,O1))===j((dA(),w8))&&(W(c,r$,n),nT(l),$b(a.b,c));d6e(i,o,s)}}function bit(e,t,n,r){var i,a,o,s,c,l,u;if(n.c.i!=t.i)for(i=new tI(e),Tp(i,(MR(),BX)),W(i,(Y(),T$),n),W(i,(PB(),l0),(iL(),t5)),ph(r.c,i),o=new jL,HE(o,i),tR(o,(wB(),N5)),s=new jL,HE(s,i),tR(s,p5),VE(n,o),a=new rE,Xj(a,n),W(a,z1,null),zE(a,s),VE(a,t),d6e(i,o,s),l=new bD(n.b,0);l.b<l.d.gc();)c=(Bx(l.b<l.d.gc()),P(l.d.Xb(l.c=l.b++),70)),u=P(K(c,O1),279),u==(dA(),w8)&&(Kx(c,r$)||W(c,r$,n),nT(l),$b(a.b,c))}function xit(e){cz();var t=xE(e),n,r,i;if(e<TY.length)return TY[t];if(e<=50)return hR((vz(),Pbt),t);if(e<=kV)return SO(hR(wY[1],t),t);if(e>1e6)throw D(new rg(`power of ten too big`));if(e<=JB)return SO(hR(wY[1],t),t);for(r=hR(wY[1],JB),i=r,n=Hj(e-JB),t=xE(e%JB);yN(n,JB)>0;)i=HD(i,r),n=lP(n,JB);for(i=HD(i,hR(wY[1],t)),i=SO(i,JB),n=Hj(e-JB);yN(n,JB)>0;)i=SO(i,JB),n=lP(n,JB);return i=SO(i,t),i}function Sit(e){var t,n,r,i,a,o,s,c,l,u;for(c=new E(e.a);c.a<c.c.c.length;)if(s=P(z(c),9),s.k==(MR(),RX)&&(i=P(K(s,(Y(),s$)),64),i==(wB(),p5)||i==N5))for(r=new XC(dx(dP(s).a.Jc(),new f));CR(r);)n=P(CO(r),17),t=n.a,t.b!=0&&(l=n.c,l.i==s&&(a=(Bx(t.b!=0),P(t.a.a.c,8)),a.b=PM(U(k(o6,1),X,8,0,[l.i.n,l.n,l.a])).b),u=n.d,u.i==s&&(o=(Bx(t.b!=0),P(t.c.b.c,8)),o.b=PM(U(k(o6,1),X,8,0,[u.i.n,u.n,u.a])).b))}function Wz(e,t,n,i){var a,o,s;if(this.j=new ah,this.k=new ah,this.b=new ah,this.c=new ah,this.e=new Ob,this.i=new Rh,this.f=new sh,this.d=new ah,this.g=new ah,$b(this.b,e),$b(this.b,t),this.e.c=r.Math.min(e.a,t.a),this.e.d=r.Math.min(e.b,t.b),this.e.b=r.Math.abs(e.a-t.a),this.e.a=r.Math.abs(e.b-t.b),a=P(K(i,(PB(),z1)),78),a)for(s=TF(a,0);s.b!=s.d.c;)o=P(RD(s),8),ULe(o.a,e.a)&&pC(this.i,o);n&&$b(this.j,n),$b(this.k,i)}function Cit(e,t,n,r){var i,a,o,s=-1,c,l,u;for(u=new E(e);u.a<u.c.c.length;)l=P(z(u),116),l.g=s--,i=RC(DD(NT(AT(new jC(null,new nD(l.f,16)),new eo),new to)).d),a=RC(DD(NT(AT(new jC(null,new nD(l.k,16)),new no),new ro)).d),o=i,c=a,r||(o=RC(DD(NT(new jC(null,new nD(l.f,16)),new io)).d),c=RC(DD(NT(new jC(null,new nD(l.k,16)),new ao)).d)),l.d=o,l.a=i,l.i=c,l.b=a,c==0?iO(n,l,n.c.b,n.c):o==0&&iO(t,l,t.c.b,t.c)}function Gz(e,t){var n,i,a,o,s,c;if(e.k==(MR(),zX)&&(n=e.k==zX&&!u_(AT(P(K(e,(Y(),M$)),16).Mc(),new wm(new Nt))).zd((M_(),PY))?(AI(),R8):t,W(e,(Y(),g$),n),n!=(AI(),L8)))for(i=P(K(e,T$),17),c=O(N(K(i,(PB(),N1)))),s=0,n==I8?s=e.o.b-r.Math.ceil(c/2):n==R8&&(s=r.Math.ceil(e.o.b-O(N(K(lT(e),x0)))-c)/2,e.o.b-=O(N(K(lT(e),x0))),e.o.b-=c),o=new E(e.j);o.a<o.c.c.length;)a=P(z(o),12),a.n.b=s}function wit(e,t,n){var r,i=!0,a,o,s,c,l,u,d;for(o=new E(e.b);o.a<o.c.c.length;){for(a=P(z(o),25),l=mH,u=null,c=new E(a.a);c.a<c.c.c.length;)if(s=P(z(c),9),d=O(t.p[s.p])+O(t.d[s.p])-s.d.d,r=O(t.p[s.p])+O(t.d[s.p])+s.o.b+s.d.a,d>l&&r>l)u=s,l=O(t.p[s.p])+O(t.d[s.p])+s.o.b+s.d.a;else{i=!1,n.$g()&&n.ah(`bk node placement breaks on `+s+` which should have been after `+u);break}if(!i)break}return n.$g()&&n.ah(t+` is feasible: `+i),i}function Tit(e,t,n,r){var i,a=new tI(e),o,s,c,l,u,d,f;if(Tp(a,(MR(),UX)),W(a,(PB(),l0),(iL(),t5)),i=0,t){for(o=new jL,W(o,(Y(),T$),t),W(a,T$,t.i),tR(o,(wB(),N5)),HE(o,a),f=SD(t.e),l=f,u=0,d=l.length;u<d;++u)c=l[u],VE(c,o);W(t,O$,a),++i}if(n){for(s=new jL,W(a,(Y(),T$),n.i),W(s,T$,n),tR(s,(wB(),p5)),HE(s,a),f=SD(n.g),l=f,u=0,d=l.length;u<d;++u)c=l[u],zE(c,s);W(n,O$,a),++i}return W(a,(Y(),$Q),G(i)),ph(r.c,a),a}function Eit(e){var t,n,r,i,a,o,s,c,l,u,d,f,p;for(n=(l=new om(e.c.b).a.vc().Jc(),new sm(l));n.a.Ob();)t=(s=P(n.a.Pb(),45),P(s.kd(),144)),i=t.a,i??=``,r=mge(e.c,i),!r&&i.length==0&&(r=mWe(e)),r&&!MP(r.c,t,!1)&&pC(r.c,t);for(o=TF(e.a,0);o.b!=o.d.c;)a=P(RD(o),475),u=_O(e.c,a.a),p=_O(e.c,a.b),u&&p&&pC(u.c,new My(p,a.c));for(YT(e.a),f=TF(e.b,0);f.b!=f.d.c;)d=P(RD(f),475),t=pge(e.c,d.a),c=_O(e.c,d.b),t&&c&&Yce(t,c,d.c);YT(e.b)}function Dit(e,t,n){var r,i,a,o=new TZe,s,c,l=U(k(q9,1),JV,30,15,[0]),u,d;for(i=-1,a=0,r=0,c=0;c<e.b.c.length;++c)if(u=P(AC(e.b,c),434),u.b>0){if(i<0&&u.a&&(i=c,a=l[0],r=0),i>=0){if(s=u.b,c==i&&(s-=r++,s==0))return 0;if(!tlt(t,l,u,s,o)){c=i-1,l[0]=a;continue}}else if(i=-1,!tlt(t,l,u,0,o))return 0}else{if(i=-1,wT(u.c,0)==32){if(d=l[0],GIe(t,l),l[0]>d)continue}else if(nDe(t,u.c,l[0])){l[0]+=u.c.length;continue}return 0}return Fct(o,n)?l[0]:0}function Oit(e,t,n){var r,i,a,o,s,c,l,u=new ow(new Gee(n)),d,f;for(s=V(J9,qH,30,e.f.e.c.length,16,1),zCe(s,s.length),n[t.a]=0,l=new E(e.f.e);l.a<l.c.c.length;)c=P(z(l),155),c.a!=t.a&&(n[c.a]=JB),rC(vL(u,c),wH);for(;u.b.c.length!=0;)for(d=P(Uk(u),155),s[d.a]=!0,a=xme(new rce(e.b,d),0);a.c;)i=P(BIe(a),291),f=IYe(i,d),!s[f.a]&&(o=Kx(i,(NI(),fX))?O(N(K(i,fX))):e.c,r=n[d.a]+o,r<n[f.a]&&(n[f.a]=r,hze(u,f),rC(vL(u,f),wH)))}function kit(e){var t,n=hg(eS(K(e,(Mz(),OSt)))),r,i,a=e.a.c.d,o,s=e.a.d.d,c;n?(o=nx(TS(new A(s.a,s.b),a),.5),c=nx(qb(e.e),.5),t=TS(wS(new A(a.a,a.b),o),c),khe(e.d,t)):(i=O(N(K(e.a,USt))),r=e.d,a.a>=s.a?a.b>=s.b?(r.a=s.a+(a.a-s.a)/2+i,r.b=s.b+(a.b-s.b)/2-i-e.e.b):(r.a=s.a+(a.a-s.a)/2+i,r.b=a.b+(s.b-a.b)/2+i):a.b>=s.b?(r.a=a.a+(s.a-a.a)/2+i,r.b=s.b+(a.b-s.b)/2+i):(r.a=a.a+(s.a-a.a)/2+i,r.b=a.b+(s.b-a.b)/2-i-e.e.b))}function Kz(e){var t,n,r,i,a,o,s,c;if(!e.f){if(c=new hl,s=new hl,t=l9,o=t.a.yc(e,t),o==null){for(a=new lx(cE(e));a.e!=a.i.gc();)i=P(OF(a),29),zw(c,Kz(i));t.a.Ac(e),t.a.gc()}for(r=(!e.s&&(e.s=new F(N7,e,21,17)),new lx(e.s));r.e!=r.i.gc();)n=P(OF(r),179),M(n,103)&&XO(s,P(n,19));lN(s),e.r=new gxe(e,(P(H(R((Uw(),K7).o),6),19),s.i),s.g),zw(c,e.r),lN(c),e.f=new db((P(H(R(K7.o),5),19),c.i),c.g),bO(e).b&=-3}return e.f}function qz(){qz=C,Vzt=U(k(K9,1),BV,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Hzt=RegExp(`[
\r\f]+`);try{h7=U(k(FBt,1),$B,2076,0,[new Zm(($de(),LP(`yyyy-MM-dd'T'HH:mm:ss'.'SSSZ`,pS((Qh(),Qh(),aY))))),new Zm(LP(`yyyy-MM-dd'T'HH:mm:ss'.'SSS`,pS(aY))),new Zm(LP(`yyyy-MM-dd'T'HH:mm:ss`,pS(aY))),new Zm(LP(`yyyy-MM-dd'T'HH:mm`,pS(aY))),new Zm(LP(`yyyy-MM-dd`,pS(aY)))])}catch(e){if(e=hM(e),!M(e,80))throw D(e)}}function Ait(e){var t,n=null,r,i,a,o,s=null;for(r=P(K(e.b,(PB(),j1)),348),r==(eN(),v2)&&(n=new ah,s=new ah),o=new E(e.d);o.a<o.c.c.length;)if(a=P(z(o),107),i=a.i,i)switch(a.e.g){case 0:t=P(JD(new T_(a.b)),64),r==v2&&t==(wB(),m5)?ph(n.c,a):r==v2&&t==(wB(),j5)?ph(s.c,a):q3e(a,t);break;case 1:x5e(a);break;case 2:case 3:ytt(a);break;case 4:$0e(a)}n&&(n.c.length==0||Zrt(n,(wB(),m5)),s.c.length==0||Zrt(s,(wB(),j5)))}function jit(e,t){var n,r,i=FR(e.d,1)!=0,a;if(r=fnt(e,t),r==0&&hg(eS(K(t.j,(Y(),c$)))))return 0;!hg(eS(K(t.j,(Y(),c$))))&&!hg(eS(K(t.j,P$)))||j(K(t.j,(PB(),g1)))===j((eF(),c2))?t.c.kg(t.e,i):i=hg(eS(K(t.j,c$))),qR(e,t,i,!0),hg(eS(K(t.j,P$)))&&W(t.j,P$,(mx(),!1)),hg(eS(K(t.j,c$)))&&(W(t.j,c$,(mx(),!1)),W(t.j,P$,!0)),n=fnt(e,t);do{if(Eze(e),n==0)return 0;i=!i,a=n,qR(e,t,i,!1),n=fnt(e,t)}while(a>n);return a}function Mit(e,t){var n,r,i=FR(e.d,1)!=0,a;if(r=YL(e,t),r==0&&hg(eS(K(t.j,(Y(),c$)))))return 0;!hg(eS(K(t.j,(Y(),c$))))&&!hg(eS(K(t.j,P$)))||j(K(t.j,(PB(),g1)))===j((eF(),c2))?t.c.kg(t.e,i):i=hg(eS(K(t.j,c$))),qR(e,t,i,!0),hg(eS(K(t.j,P$)))&&W(t.j,P$,(mx(),!1)),hg(eS(K(t.j,c$)))&&(W(t.j,c$,(mx(),!1)),W(t.j,P$,!0)),n=YL(e,t);do{if(Eze(e),n==0)return 0;i=!i,a=n,qR(e,t,i,!1),n=YL(e,t)}while(a>n);return a}function Nit(e,t,n){var r=P(K(e,(PB(),_1)),22),i,a,o,s;if(n.a>t.a&&(r.Gc((eL(),m6))?e.c.a+=(n.a-t.a)/2:r.Gc(g6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Gc((eL(),v6))?e.c.b+=(n.b-t.b)/2:r.Gc(_6)&&(e.c.b+=n.b-t.b)),P(K(e,(Y(),l$)),22).Gc((oz(),AQ))&&(n.a>t.a||n.b>t.b))for(s=new E(e.a);s.a<s.c.c.length;)o=P(z(s),9),o.k==(MR(),RX)&&(i=P(K(o,s$),64),i==(wB(),p5)?o.n.a+=n.a-t.a:i==j5&&(o.n.b+=n.b-t.b));a=e.d,e.f.a=n.a-a.b-a.c,e.f.b=n.b-a.d-a.a}function Pit(e,t,n){var r=P(K(e,(PB(),_1)),22),i,a,o,s;if(n.a>t.a&&(r.Gc((eL(),m6))?e.c.a+=(n.a-t.a)/2:r.Gc(g6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Gc((eL(),v6))?e.c.b+=(n.b-t.b)/2:r.Gc(_6)&&(e.c.b+=n.b-t.b)),P(K(e,(Y(),l$)),22).Gc((oz(),AQ))&&(n.a>t.a||n.b>t.b))for(o=new E(e.a);o.a<o.c.c.length;)a=P(z(o),9),a.k==(MR(),RX)&&(i=P(K(a,s$),64),i==(wB(),p5)?a.n.a+=n.a-t.a:i==j5&&(a.n.b+=n.b-t.b));s=e.d,e.f.a=n.a-s.b-s.c,e.f.b=n.b-s.d-s.a}function Fit(e){var t=k3e(e),n,i,a,o,s,c,l,u,d,f,p;for(d=(c=new Zp(t).a.vc().Jc(),new Qp(c));d.a.Ob();){for(u=(a=P(d.a.Pb(),45),P(a.jd(),9)),f=0,p=0,f=u.d.d,p=u.o.b+u.d.a,e.d[u.p]=0,n=u;(o=e.a[n.p])!=u;)i=Sqe(n,o),l=0,l=e.c==(wE(),F2)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,s=O(e.d[n.p])+l,e.d[o.p]=s,f=r.Math.max(f,o.d.d-s),p=r.Math.max(p,s+o.o.b+o.d.a),n=o;n=u;do e.d[n.p]=O(e.d[n.p])+f,n=e.a[n.p];while(n!=u);e.b[u.p]=f+p}}function Iit(e,t,n,i){var a,o,s,c,l=TS(new A(n.a,n.b),e),u=l.a*t.b-l.b*t.a,d=t.a*i.b-t.b*i.a,f=(l.a*i.b-l.b*i.a)/d,p=u/d;return d==0?u==0?(a=wS(new A(n.a,n.b),nx(new A(i.a,i.b),.5)),o=QO(e,a),s=QO(wS(new A(e.a,e.b),t),a),c=r.Math.sqrt(i.a*i.a+i.b*i.b)*.5,o<s&&o<=c?new A(e.a,e.b):s<=c?wS(new A(e.a,e.b),t):null):null:f>=0&&f<=1&&p>=0&&p<=1?wS(new A(e.a,e.b),nx(new A(t.a,t.b),f)):null}function Jz(e,t,n){var i,a,o=0,s=e.t,c,l,u,d,f,p;for(a=0,i=0,l=0,p=0,f=0,n&&(e.n.c.length=0,$b(e.n,new SE(e.s,e.t,e.i))),c=0,d=new E(e.b);d.a<d.c.c.length;)u=P(z(d),26),o+u.g+(c>0?e.i:0)>t&&l>0&&(o=0,s+=l+e.i,a=r.Math.max(a,p),i+=l+e.i,l=0,p=0,n&&(++f,$b(e.n,new SE(e.s,s,e.i))),c=0),p+=u.g+(c>0?e.i:0),l=r.Math.max(l,u.f),n&&SYe(P(AC(e.n,f),208),u),o+=u.g+(c>0?e.i:0),++c;return a=r.Math.max(a,p),i+=l,n&&(e.r=a,e.d=i,uXe(e.j)),new zT(e.s,e.t,a,i)}function Yz(e){var t,n=j(J(e,(PB(),w1)))===j((NR(),uQ))||j(J(e,w1))===j(aQ)||j(J(e,w1))===j(oQ)||j(J(e,w1))===j(cQ)||j(J(e,w1))===j(dQ)||j(J(e,w1))===j(fQ),r=j(J(e,U1))===j((GR(),B0))||j(J(e,U1))===j(H0)||j(J(e,H1))===j((bz(),n2))||j(J(e,H1))===j((bz(),r2));return t=j(J(e,g1))!==j((eF(),c2))||hg(eS(J(e,v1)))||j(J(e,o1))!==j((dF(),NX))||O(N(J(e,s1)))!=0||O(N(J(e,c1)))!=0,n||r||t}function Xz(e){var t,n,r,i,a,o,s,c;if(!e.a){if(e.o=null,c=new kre(e),t=new gl,n=l9,s=n.a.yc(e,n),s==null){for(o=new lx(cE(e));o.e!=o.i.gc();)a=P(OF(o),29),zw(c,Xz(a));n.a.Ac(e),n.a.gc()}for(i=(!e.s&&(e.s=new F(N7,e,21,17)),new lx(e.s));i.e!=i.i.gc();)r=P(OF(i),179),M(r,335)&&XO(t,P(r,38));lN(t),e.k=new hxe(e,(P(H(R((Uw(),K7).o),7),19),t.i),t.g),zw(c,e.k),lN(c),e.a=new db((P(H(R(K7.o),4),19),c.i),c.g),bO(e).b&=-2}return e.a}function Lit(e){var t,n,i,a,o,s,c=e.d,l,u,d,f=P(K(e,(Y(),G$)),16),p;if(t=P(K(e,YQ),16),!(!f&&!t)){if(o=O(N(qP(e,(PB(),_0)))),s=O(N(qP(e,uAt))),p=0,f){for(u=0,a=f.Jc();a.Ob();)i=P(a.Pb(),9),u=r.Math.max(u,i.o.b),p+=i.o.a;p+=o*(f.gc()-1),c.d+=u+s}if(n=0,t){for(u=0,a=t.Jc();a.Ob();)i=P(a.Pb(),9),u=r.Math.max(u,i.o.b),n+=i.o.a;n+=o*(t.gc()-1),c.a+=u+s}l=r.Math.max(p,n),l>e.o.a&&(d=(l-e.o.a)/2,c.b=r.Math.max(c.b,d),c.c=r.Math.max(c.c,d))}}function Rit(e,t,n,r){var i,a,o,s,c,l,u=$R(e.e.Ah(),t);if(i=0,a=P(e.g,122),c=null,rv(),P(t,69).vk()){for(s=0;s<e.i;++s)if(o=a[s],u.$l(o.Jk())){if(DN(o,n)){c=o;break}++i}}else if(n!=null){for(s=0;s<e.i;++s)if(o=a[s],u.$l(o.Jk())){if(DN(n,o.kd())){c=o;break}++i}}else for(s=0;s<e.i;++s)if(o=a[s],u.$l(o.Jk())){if(o.kd()==null){c=o;break}++i}return c&&(gb(e.e)&&(l=t.Hk()?new eO(e.e,4,t,n,null,i,!0):oE(e,t.rk()?2:1,t,n,t.gk(),-1,!0),r?r.lj(l):r=l),r=Sz(e,c,r)),r}function zit(e,t,n,i,a,o,s){var c,l,u,d,f,p,m,h=0,g=0;switch(l=a.c,c=a.b,d=n.f,m=n.g,t.g){case 0:h=i.i+i.g+s,g=e.c?E$e(h,o,i,s):i.j,p=r.Math.max(l,h+m),u=r.Math.max(c,g+d);break;case 1:g=i.j+i.f+s,h=e.c?T$e(g,o,i,s):i.i,p=r.Math.max(l,h+m),u=r.Math.max(c,g+d);break;case 2:h=l+s,g=0,p=l+s+m,u=r.Math.max(c,d);break;case 3:h=0,g=c+s,p=r.Math.max(l,m),u=c+s+d;break;default:throw D(new sg(`IllegalPlacementOption.`))}return f=new iqe(e.a,p,u,t,h,g),f}function Bit(e){var t,n,r,i,a=new Zke,o,s,c;for(vfe(a,(wM(),MIt)),r=(i=Aze(e,V(vY,X,2,0,6,1)),new dm(new dg(new Sce(e,i).b)));r.b<r.d.gc();)n=(Bx(r.b<r.d.gc()),tS(r.d.Xb(r.c=r.b++))),o=qot(T7,n),o&&(t=kE(e,n),s=t.re()?t.re().a:t.oe()?``+t.oe().a:t.pe()?``+t.pe().a:t.Ib(),c=Mot(o,s),c!=null&&((wx(o.j,(CF(),J3))||wx(o.j,Y3))&&OM(Xk(a,p7),o,c),wx(o.j,K3)&&OM(Xk(a,i7),o,c),wx(o.j,X3)&&OM(Xk(a,m7),o,c),wx(o.j,q3)&&OM(Xk(a,f7),o,c)));return a}function Zz(e,t,n){var r,i=P(e.g,122),a,o,s,c,l,u;if(nz(e.e,t))return rv(),P(t,69).vk()?new xC(t,e):new Ly(t,e);for(l=$R(e.e.Ah(),t),r=0,s=0;s<e.i;++s){if(a=i[s],o=a.Jk(),l.$l(o)){if(rv(),P(t,69).vk())return a;if(o==(gR(),_9)||o==g9){for(c=new _x(EP(a.kd()));++s<e.i;)a=i[s],o=a.Jk(),(o==_9||o==g9)&&Qy(c,EP(a.kd()));return S_e(P(t.Fk(),159),c.a)}else return u=a.kd(),u!=null&&n&&M(t,103)&&(P(t,19).Bb&_H)!=0&&(u=sR(e,t,s,r,u)),u}++r}return t.gk()}function Vit(e){var t,n,r,i,a,o,s,c;for(i=new E(e.b);i.a<i.c.c.length;)for(r=P(z(i),25),o=new E(pD(r.a));o.a<o.c.c.length;)if(a=P(z(o),9),oLe(a)&&(n=P(K(a,(Y(),XQ)),317),!n.g&&n.d))for(t=n,c=n.d;c;)set(c.i,c.k,!1,!0),fk(t.a),fk(c.i),fk(c.k),fk(c.b),VE(c.c,t.c.d),VE(t.c,null),BE(t.a,null),BE(c.i,null),BE(c.k,null),BE(c.b,null),s=new $je(t.i,c.a,t.e,c.j,c.f),s.k=t.k,s.n=t.n,s.b=t.b,s.c=c.c,s.g=t.g,s.d=c.d,W(t.i,XQ,s),W(c.a,XQ,s),c=c.d,t=s}function Qz(e,t,n,r){var i,a,o,s,c=$R(e.e.Ah(),t),l;if(a=P(e.g,122),nz(e.e,t)){for(i=0,s=0;s<e.i;++s)if(o=a[s],c.$l(o.Jk())){if(i==n)return rv(),P(t,69).vk()?o:(l=o.kd(),l!=null&&r&&M(t,103)&&(P(t,19).Bb&_H)!=0&&(l=sR(e,t,s,i,l)),l);++i}throw D(new ig(Zq+n+Lq+i))}else{for(i=0,s=0;s<e.i;++s){if(o=a[s],c.$l(o.Jk()))return rv(),P(t,69).vk()?o:(l=o.kd(),l!=null&&r&&M(t,103)&&(P(t,19).Bb&_H)!=0&&(l=sR(e,t,s,i,l)),l);++i}return t.gk()}}function Hit(){Hit=C,Fbt=U(k(q9,1),JV,30,15,[LV,1162261467,AV,1220703125,362797056,1977326743,AV,387420489,lH,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,AV,1291467969,1544804416,1838265625,60466176]),Ibt=U(k(q9,1),JV,30,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 Uit(e,t){var n,r,i,a,o=e.e,s,c=t.e,l,u,d;if(c==0)return e;if(o==0)return t.e==0?t:new gw(-t.e,t.d,t.a);if(a=e.d,s=t.d,a+s==2)return n=uD(e.a[0],xH),r=uD(t.a[0],xH),o<0&&(n=gk(n)),c<0&&(r=gk(r)),vz(),Gy(lP(n,r),0)?UP(lP(n,r)):Mw(UP(gk(lP(n,r))));if(i=a==s?VHe(e.a,t.a,a):a>s?1:-1,i==-1)d=-c,u=o==c?jNe(t.a,s,e.a,a):LPe(t.a,s,e.a,a);else if(d=o,o==c){if(i==0)return vz(),SY;u=jNe(e.a,a,t.a,s)}else u=LPe(e.a,a,t.a,s);return l=new gw(d,u.length,u),yD(l),l}function Wit(e,t){var n,r,i,a=wrt(t);if(!t.c&&(t.c=new F(m7,t,9,9)),P_(new jC(null,(!t.c&&(t.c=new F(m7,t,9,9)),new nD(t.c,16))),new Xee(a)),i=P(K(a,(Y(),l$)),22),Lst(t,i),i.Gc((oz(),AQ)))for(r=new lx((!t.c&&(t.c=new F(m7,t,9,9)),t.c));r.e!=r.i.gc();)n=P(OF(r),125),vct(e,t,a,n);return P(J(t,(PB(),t0)),182).gc()!=0&&E9e(t,a),hg(eS(K(a,Zkt)))&&i.Ec(FQ),Kx(a,g0)&&Lae(new FGe(O(N(K(a,g0)))),a),j(J(t,F1))===j((nN(),N8))?Tut(e,t,a):Ect(e,t,a),a}function $z(e,t){var n,r,i,a,o,s,c;if(e==null)return null;if(a=e.length,a==0)return``;for(c=V(K9,BV,30,a,15,1),YO(0,a,e.length),YO(0,a,c.length),JCe(e,0,a,c,0),n=null,s=t,i=0,o=0;i<a;i++)r=c[i],But(),r<=32&&$[r]&2?s?(!n&&(n=new gx(e)),phe(n,i-o++)):(s=t,r!=32&&(!n&&(n=new gx(e)),Fj(n,i-o,i-o+1,` `))):s=!1;return s?n?(a=n.a.length,a>0?dE(n.a,0,a-1):``):(YO(0,a-1,e.length),e.substr(0,a-1)):n?n.a:e}function Git(e,t,n){var r,i,a;if(Kx(t,(PB(),B1))&&(j(K(t,B1))===j((bP(),J$))||j(K(t,B1))===j(X$))||Kx(n,B1)&&(j(K(n,B1))===j((bP(),J$))||j(K(n,B1))===j(X$)))return 0;if(r=lT(t),i=zet(e,t,n),i!=0)return i;if(Kx(t,(Y(),w$))&&Kx(n,w$)){if(a=Ub(XR(t,n,r,P(K(r,C$),15).a),XR(n,t,r,P(K(r,C$),15).a)),j(K(r,u1))===j((SM(),UQ))&&j(K(t,d1))!==j(K(n,d1))&&(a=0),a<0)return _z(e,t,n),a;if(a>0)return _z(e,n,t),a}return O3e(e,t,n)}function Kit(e,t){var n,r,i,a,o,s,c,l,u,d,p;for(r=new XC(dx(PR(t).a.Jc(),new f));CR(r);)n=P(CO(r),85),M(H((!n.b&&(n.b=new xS(r7,n,4,7)),n.b),0),193)||(c=cL(P(H((!n.c&&(n.c=new xS(r7,n,5,8)),n.c),0),84)),bR(n)||(o=t.i+t.g/2,s=t.j+t.f/2,u=c.i+c.g/2,d=c.j+c.f/2,p=new Xg,p.a=u-o,p.b=d-s,a=new A(p.a,p.b),VI(a,t.g,t.f),p.a-=a.a,p.b-=a.b,o=u-p.a,s=d-p.b,l=new A(p.a,p.b),VI(l,c.g,c.f),p.a-=l.a,p.b-=l.b,u=o+p.a,d=s+p.b,i=QR(n),DA(i,o),OA(i,s),SA(i,u),CA(i,d),Kit(e,c)))}function eB(e,t){var n,r,i,a,o=P(t,137);if(ER(e),ER(o),o.b!=null){if(e.c=!0,e.b==null){e.b=V(q9,JV,30,o.b.length,15,1),Fz(o.b,0,e.b,0,o.b.length);return}for(a=V(q9,JV,30,e.b.length+o.b.length,15,1),n=0,r=0,i=0;n<e.b.length||r<o.b.length;)n>=e.b.length?(a[i++]=o.b[r++],a[i++]=o.b[r++]):r>=o.b.length?(a[i++]=e.b[n++],a[i++]=e.b[n++]):o.b[r]<e.b[n]||o.b[r]===e.b[n]&&o.b[r+1]<e.b[n+1]?(a[i++]=o.b[r++],a[i++]=o.b[r++]):(a[i++]=e.b[n++],a[i++]=e.b[n++]);e.b=a}}function qit(e,t){var n=hg(eS(K(e,(Y(),v$)))),r,i,a,o,s=hg(eS(K(t,v$))),c,l,u,d;return r=P(K(e,y$),12),c=P(K(t,y$),12),i=P(K(e,b$),12),l=P(K(t,b$),12),u=!!r&&r==c,d=!!i&&i==l,!n&&!s?new Nye(P(z(new E(e.j)),12).p==P(z(new E(t.j)),12).p,u,d):(a=(!hg(eS(K(e,v$)))||hg(eS(K(e,_$))))&&(!hg(eS(K(t,v$)))||hg(eS(K(t,_$)))),o=(!hg(eS(K(e,v$)))||!hg(eS(K(e,_$))))&&(!hg(eS(K(t,v$)))||!hg(eS(K(t,_$)))),new Nye(u&&a||d&&o,u,d))}function Jit(e){var t,n,i=0,a,o,s,c,l;for(n=0,l=new E_,t=0,c=new E(e.n);c.a<c.c.c.length;)s=P(z(c),208),s.c.c.length==0?iO(l,s,l.c.b,l.c):(i=r.Math.max(i,s.d),n+=s.a+(t>0?e.i:0)),++t;for(aGe(e.n,l),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=pH,e.p=pH,o=new E(e.b);o.a<o.c.c.length;)a=P(z(o),26),e.p=r.Math.min(e.p,a.g),e.g=r.Math.max(e.g,a.g),e.f=r.Math.max(e.f,a.f),e.o=r.Math.min(e.o,a.f),e.e+=a.f+e.i;e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),uXe(e.j)}function Yit(e){var t,n,r,i;return e.Db&64?aP(e):(t=new _x(Hgt),r=e.k,r?Qy(Qy((t.a+=` "`,t),r),`"`):(!e.n&&(e.n=new F(f7,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new F(f7,e,1,7)),P(H(e.n,0),157)).a,!i||Qy(Qy((t.a+=` "`,t),i),`"`))),n=(!e.b&&(e.b=new xS(r7,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new xS(r7,e,5,8)),e.c.i<=1))),n?t.a+=` [`:t.a+=` `,Qy(t,hme(new wg,new lx(e.b))),n&&(t.a+=`]`),t.a+=Nft,n&&(t.a+=`[`),Qy(t,hme(new wg,new lx(e.c))),n&&(t.a+=`]`),t.a)}function Xit(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x=e.c,S=t.c,ee,te,ne,C;for(n=vk(x.a,e,0),r=vk(S.a,t,0),y=P(HP(e,(VA(),p2)).Jc().Pb(),12),ne=P(HP(e,m2).Jc().Pb(),12),b=P(HP(t,p2).Jc().Pb(),12),C=P(HP(t,m2).Jc().Pb(),12),_=SD(y.e),ee=SD(ne.g),v=SD(b.e),te=SD(C.g),jI(e,r,S),o=v,u=0,m=o.length;u<m;++u)i=o[u],VE(i,y);for(s=te,d=0,h=s.length;d<h;++d)i=s[d],zE(i,ne);for(jI(t,n,x),c=_,f=0,g=c.length;f<g;++f)i=c[f],VE(i,b);for(a=ee,l=0,p=a.length;l<p;++l)i=a[l],zE(i,C)}function Zit(e){var t,n,i,a,o,s=P(J(e,(iS(),j4)),26),c;for(i=new lx((!s.e&&(s.e=new xS(i7,s,7,4)),s.e));i.e!=i.i.gc();)n=P(OF(i),85),c=new A(P(H((!n.a&&(n.a=new F(a7,n,6,6)),n.a),0),170).j,P(H((!n.a&&(n.a=new F(a7,n,6,6)),n.a),0),170).k),o=new A(P(H((!n.a&&(n.a=new F(a7,n,6,6)),n.a),0),170).b,P(H((!n.a&&(n.a=new F(a7,n,6,6)),n.a),0),170).c),a=new A(o.a-c.a,o.b-c.b),t=r.Math.atan2(a.b,a.a),P(H((!n.c&&(n.c=new xS(r7,n,5,8)),n.c),0),84).of((PL(),G4),t)}function Qit(e,t){var n,i,a,o,s,c,l,u,d;for(t.Tg(`Interactive Node Reorderer`,1),d=(!e.a&&(e.a=new F(p7,e,10,11)),e.a),c=new ah,a=new lx(d);a.e!=a.i.gc();)n=P(OF(a),26),qO(n,(uz(),p3))&&ph(c.c,n);for(o=new E(c);o.a<o.c.c.length;)n=P(z(o),26),Ik(d,n);for(KT(),Vb(c,new ks),s=new E(c);s.a<s.c.c.length;)n=P(z(s),26),u=P(J(n,(uz(),p3)),15).a,u=r.Math.min(u,d.i),FN(d,u,n);for(l=0,i=new lx(d);i.e!=i.i.gc();)n=P(OF(i),26),IF(n,(uz(),aFt),G(l)),++l;t.Ug()}function $it(e,t){var n,i,a,o,s,c=V(q9,JV,30,t.b.c.length,15,1),l,u=V(GX,Z,249,t.b.c.length,0,1),d,f,p,m,h,g;for(l=V(IX,tW,9,t.b.c.length,0,1),f=e.a,p=0,m=f.length;p<m;++p){for(d=f[p],g=0,s=new E(d.e);s.a<s.c.c.length;)a=P(z(s),9),i=ufe(a.c),++c[i],h=O(N(K(t,(PB(),y0)))),c[i]>0&&l[i]&&(h=Jb(e.b,l[i],a)),g=r.Math.max(g,a.c.c.b+h);for(o=new E(d.e);o.a<o.c.c.length;)a=P(z(o),9),a.n.b=g+a.d.d,n=a.c,n.c.b=g+a.d.d+a.o.b+a.d.a,u[vk(n.b.b,n,0)]=a.k,l[vk(n.b.b,n,0)]=a}}function eat(e,t,n){var i,a,o,s,c,l,u,d;return r.Math.abs(t.s-t.c)<mU||r.Math.abs(n.s-n.c)<mU?0:(i=p7e(e,t.j,n.e),a=p7e(e,n.j,t.e),o=i==-1||a==-1,s=0,o?(i==-1&&(new tD((WO(),V2),n,t,1),++s),a==-1&&(new tD((WO(),V2),t,n,1),++s)):(c=CN(t.j,n.s,n.c),c+=CN(n.e,t.s,t.c),l=CN(n.j,t.s,t.c),l+=CN(t.e,n.s,n.c),u=i+16*c,d=a+16*l,u<d?new tD((WO(),H2),t,n,d-u):u>d?new tD((WO(),H2),n,t,u-d):u>0&&d>0&&(new tD((WO(),H2),t,n,0),new tD(H2,n,t,0))),s)}function tat(e,t,n){var r,i,a;for(e.a=new ah,a=TF(t.b,0);a.b!=a.d.c;){for(i=P(RD(a),40);P(K(i,(Lz(),T4)),15).a>e.a.c.length-1;)$b(e.a,new My(zG,Kmt));r=P(K(i,T4),15).a,n==(WN(),g8)||n==_8?(i.e.a<O(N(P(AC(e.a,r),49).a))&&Wp(P(AC(e.a,r),49),i.e.a),i.e.a+i.f.a>O(N(P(AC(e.a,r),49).b))&&Gp(P(AC(e.a,r),49),i.e.a+i.f.a)):(i.e.b<O(N(P(AC(e.a,r),49).a))&&Wp(P(AC(e.a,r),49),i.e.b),i.e.b+i.f.b>O(N(P(AC(e.a,r),49).b))&&Gp(P(AC(e.a,r),49),i.e.b+i.f.b))}}function nat(e,t,n,r){var i,a=$N(r),o,s=hg(eS(K(r,(PB(),Gkt)))),c,l,u;if((s||hg(eS(K(e,I1))))&&!_b(P(K(e,l0),102)))i=jP(a),c=znt(e,n,n==(VA(),m2)?i:GN(i));else switch(c=new jL,HE(c,e),t?(u=c.n,u.a=t.a-e.n.a,u.b=t.b-e.n.b,O0e(u,0,0,e.o.a,e.o.b),tR(c,Gnt(c,a))):(i=jP(a),tR(c,n==(VA(),m2)?i:GN(i))),o=P(K(r,(Y(),l$)),22),l=c.j,a.g){case 2:case 1:(l==(wB(),m5)||l==j5)&&o.Ec((oz(),PQ));break;case 4:case 3:(l==(wB(),p5)||l==N5)&&o.Ec((oz(),PQ))}return c}function rat(e,t){var n,i,a,o,s,c;for(s=new Pj(new im(e.f.b).a);s.b;){if(o=dj(s),a=P(o.jd(),591),t==1){if(a.yf()!=(WN(),y8)&&a.yf()!=h8)continue}else if(a.yf()!=(WN(),g8)&&a.yf()!=_8)continue;switch(i=P(P(o.kd(),49).b,82),c=P(P(o.kd(),49).a,194),n=c.c,a.yf().g){case 2:i.g.c=e.e.a,i.g.b=r.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=r.Math.max(1,i.g.b-n);break;case 4:i.g.d=e.e.b,i.g.a=r.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=r.Math.max(1,i.g.a-n)}}}function iat(e,t){var n,i,a,o,s,c,l,u,d,f;for(t.Tg(`Simple node placement`,1),f=P(K(e,(Y(),I$)),316),c=0,o=new E(e.b);o.a<o.c.c.length;){for(i=P(z(o),25),s=i.c,s.b=0,n=null,u=new E(i.a);u.a<u.c.c.length;)l=P(z(u),9),n&&(s.b+=BKe(l,n,f.c)),s.b+=l.d.d+l.o.b+l.d.a,n=l;c=r.Math.max(c,s.b)}for(a=new E(e.b);a.a<a.c.c.length;)for(i=P(z(a),25),s=i.c,d=(c-s.b)/2,n=null,u=new E(i.a);u.a<u.c.c.length;)l=P(z(u),9),n&&(d+=BKe(l,n,f.c)),d+=l.d.d,l.n.b=d,d+=l.o.b+l.d.a,n=l;t.Ug()}function aat(e){Y_(e,new uL(Rg(Pg(Lg(Ig(new oc,OK),`ELK SPOrE Compaction`),`ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree.`),new Ws))),B(e,OK,kK,DF(V3)),B(e,OK,Ght,DF(B3)),B(e,OK,Kht,DF(z3)),B(e,OK,AK,DF(tIt)),B(e,OK,jK,DF(R3)),B(e,OK,EU,eIt),B(e,OK,xU,8),B(e,OK,MK,DF(rIt)),B(e,OK,qht,DF(XFt)),B(e,OK,Jht,DF(ZFt)),B(e,OK,DG,(mx(),!1))}function oat(e,t){var n,r,i,a;for(LLe(t.b.j),P_(jT(new jC(null,new nD(t.d,16)),new Ji),new Yi),a=new E(t.d);a.a<a.c.c.length;){switch(i=P(z(a),107),i.e.g){case 0:n=P(AC(i.j,0),113).d.j,kp(i,P(yx(rw(P(DO(i.k,n),16).Mc(),KZ)),113)),Op(i,P(yx(nw(P(DO(i.k,n),16).Mc(),KZ)),113));break;case 1:r=kXe(i),kp(i,P(yx(rw(P(DO(i.k,r[0]),16).Mc(),KZ)),113)),Op(i,P(yx(nw(P(DO(i.k,r[1]),16).Mc(),KZ)),113));break;case 2:b2e(e,i);break;case 3:r7e(i);break;case 4:u7e(e,i)}RLe(i)}e.a=null}function sat(e,t,n){var r=e.a.o==(TE(),R2)?pH:mH,i,a,o,s=art(e,new Tue(t,n)),c,l,u;return!s.a&&s.c?(pC(e.d,s),r):s.a?(i=s.a.c,c=s.a.d,n?(l=e.a.c==(wE(),I2)?c:i,a=e.a.c==I2?i:c,o=e.a.g[a.i.p],u=O(e.a.p[o.p])+O(e.a.d[a.i.p])+a.n.b+a.a.b-O(e.a.d[l.i.p])-l.n.b-l.a.b):(l=e.a.c==(wE(),F2)?c:i,a=e.a.c==F2?i:c,u=O(e.a.p[e.a.g[a.i.p].p])+O(e.a.d[a.i.p])+a.n.b+a.a.b-O(e.a.d[l.i.p])-l.n.b-l.a.b),e.a.n[e.a.g[i.i.p].p]=(mx(),!0),e.a.n[e.a.g[c.i.p].p]=!0,u):r}function cat(e,t,n,r){var i,a,o,s,c,l,u,d;if(r.gc()==0)return!1;if(c=(rv(),P(t,69).vk()),o=c?r:new oA(r.gc()),nz(e.e,t)){if(t.Qi())for(u=r.Jc();u.Ob();)l=u.Pb(),zz(e,t,l,M(t,103)&&(P(t,19).Bb&_H)!=0)||(a=qD(t,l),o.Ec(a));else if(!c)for(u=r.Jc();u.Ob();)l=u.Pb(),a=qD(t,l),o.Ec(a)}else{for(d=$R(e.e.Ah(),t),i=P(e.g,122),s=0;s<e.i;++s)if(a=i[s],d.$l(a.Jk()))throw D(new sg(RJ));if(r.gc()>1)throw D(new sg(RJ));c||(a=qD(t,r.Jc().Pb()),o.Ec(a))}return BVe(e,Z0e(e,t,n),o)}function tB(e,t,n){var r,i,a,o,s,c,l,u;if(nz(e.e,t))c=(rv(),P(t,69).vk()?new xC(t,e):new Ly(t,e)),vR(c.c,c.b),Yb(c,P(n,18));else{for(u=$R(e.e.Ah(),t),r=P(e.g,122),o=0;o<e.i;++o)if(i=r[o],a=i.Jk(),u.$l(a)){if(a==(gR(),_9)||a==g9){for(l=QJe(e,t,n),s=o,l?az(e,o):++o;o<e.i;)i=r[o],a=i.Jk(),a==_9||a==g9?az(e,o):++o;l||P(WF(e,s,qD(t,n)),75)}else QJe(e,t,n)?az(e,o):P(WF(e,o,(rv(),P(t,69).vk()?P(n,75):qD(t,n))),75);return}QJe(e,t,n)||XO(e,(rv(),P(t,69).vk()?P(n,75):qD(t,n)))}}function lat(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h;for(d=0;d<t.length;d++){for(s=e.Jc();s.Ob();)a=P(s.Pb(),220),a.fg(d,t);for(f=0;f<t[d].length;f++){for(c=e.Jc();c.Ob();)a=P(c.Pb(),220),a.gg(d,f,t);for(h=t[d][f].j,p=0;p<h.c.length;p++){for(l=e.Jc();l.Ob();)a=P(l.Pb(),220),a.hg(d,f,p,t);for(m=(oD(p,h.c.length),P(h.c[p],12)),n=0,i=new IO(m.b);Hb(i.a)||Hb(i.b);)for(r=P(Hb(i.a)?z(i.a):z(i.b),17),u=e.Jc();u.Ob();)a=P(u.Pb(),220),a.eg(d,f,p,n++,r,t)}}}for(o=e.Jc();o.Ob();)a=P(o.Pb(),220),a.dg()}function uat(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;for(n.Tg(Rmt,1),d=t.a,u=d.c.length,e.c=new ah,e.d=V(J9,qH,30,u,16,1),e.a=V(J9,qH,30,u,16,1),e.b=new ah,o=0,l=new E(d);l.a<l.c.c.length;)c=P(z(l),9),c.p=o,zD(uP(c))&&$b(e.c,c),++o;for(p=new E(e.c);p.a<p.c.c.length;)f=P(z(p),9),h2e(e,f);for(a=0;a<u;a++)e.d[a]||(s=(oD(a,d.c.length),P(d.c[a],9)),h2e(e,s));for(i=new E(e.b);i.a<i.c.c.length;)r=P(z(i),17),Bz(r,!0),W(t,(Y(),e$),(mx(),!0));e.c=null,e.d=null,e.a=null,e.b=null,n.Ug()}function dat(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;for(n.Tg(Rmt,1),e.c=t,d=t.a,u=d.c.length,e.d=new ah,e.e=V(J9,qH,30,u,16,1),e.a=V(J9,qH,30,u,16,1),e.b=new ah,o=0,l=new E(d);l.a<l.c.c.length;)c=P(z(l),9),c.p=o,zD(uP(c))&&$b(e.d,c),++o;for(p=new E(e.d);p.a<p.c.c.length;)f=P(z(p),9),Btt(e,f);for(a=0;a<u;a++)e.e[a]||(s=(oD(a,d.c.length),P(d.c[a],9)),Btt(e,s));for(i=new E(e.b);i.a<i.c.c.length;)r=P(z(i),17),Bz(r,!0),W(t,(Y(),e$),(mx(),!0));e.d=null,e.e=null,e.a=null,e.b=null,n.Ug()}function fat(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m=P(Zw(e.d,t),149),h;if(!m)throw D(new _g(`Edge did not exist in input.`));return wtt(e,t),d=nF(m),o=x_((!t.a&&(t.a=new F(a7,t,6,6)),t.a)),c=!o,c&&(h=new _p,r=new $Te(e,d,h,t),Mde((!t.a&&(t.a=new F(a7,t,6,6)),t.a),r),Zk(m,Tq,null),Zk(m,Tq,h)),a=qO(t,(LB(),F6)),a&&(f=P(J(t,F6),78),s=!f||Wwe(f),l=!s,l&&(p=new _p,i=new Dbe(e,t,p),dO(f,i),Zk(m,`junctionPoints`,p))),n=vge(e,P(Zw(e.e,t),26)),u=n==(HN(),x8),u&&uC(m,`container`,AE(t).k),null}function pat(e,t){var n,r,i,a,o,s,c;for(e.b=O(N(K(t,(PB(),b0)))),e.c=O(N(K(t,C0))),e.d=P(K(t,M1),349),e.a=P(K(t,a1),283),hYe(t),s=P(aO(AT(AT(Bk(Bk(new jC(null,new nD(t.b,16)),new un),new dn),new fn),new pn),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),i=s.Jc();i.Ob();)n=P(i.Pb(),17),o=P(K(n,(Y(),z$)),16),o.Ic(new ote(e)),W(n,z$,null);for(r=s.Jc();r.Ob();)n=P(r.Pb(),17),c=P(K(n,(Y(),dEt)),17),a=P(K(n,L$),16),rut(e,a,c),W(n,L$,null)}function mat(e,t){var n,r,i,a,o,s,c;if(e.a){if(s=e.a.ve(),c=null,s==null?(o=e.a.kk(),o!=null&&(a=sb(o,hL(91)),a==-1?t.a+=``+o:(c=(sD(a,o.length+1),o.substr(a)),t.a+=``+dE(o==null?eV:(dT(o),o),0,a)))):t.a+=``+s,e.d&&e.d.i!=0){for(i=!0,t.a+=`<`,r=new lx(e.d);r.e!=r.i.gc();)n=P(OF(r),87),i?i=!1:t.a+=QB,mat(n,t);t.a+=`>`}c!=null&&(t.a+=``+c)}else e.e?(s=e.e.zb,s!=null&&(t.a+=``+s)):(t.a+=`?`,e.b?(t.a+=` super `,mat(e.b,t)):e.f&&(t.a+=` extends `,mat(e.f,t)))}function hat(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function gat(e){var t,n,i=MB((!e.c&&(e.c=rD(Hj(e.f))),e.c),0),a;if(e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=+(Mze(e)<0),n=e.e,a=(i.length+1+r.Math.abs(xE(e.e)),new kg),t==1&&(a.a+=`-`),e.e>0)if(n-=i.length-t,n>=0){for(a.a+=`0.`;n>yY.length;n-=yY.length)fSe(a,yY);Pge(a,yY,xE(n)),Qy(a,(sD(t,i.length+1),i.substr(t)))}else n=t-n,Qy(a,dE(i,t,xE(n))),a.a+=`.`,Qy(a,xwe(i,xE(n)));else{for(Qy(a,(sD(t,i.length+1),i.substr(t)));n<-yY.length;n+=yY.length)fSe(a,yY);Pge(a,yY,xE(-n))}return a.a}function _at(e){var t,n,r,i,a,o,s,c,l;return!(e.k!=(MR(),HX)||e.j.c.length<=1||(a=P(K(e,(PB(),l0)),102),a==(iL(),t5))||(i=(HF(),r=(e.q?e.q:(KT(),KT(),DY))._b(Q1)?P(K(e,Q1),203):P(K(lT(e),$1),203),r),i==Y0)||!(i==J0||i==q0)&&(o=O(N(qP(e,N0))),t=P(K(e,M0),140),!t&&(t=new i_e(o,o,o,o)),l=rP(e,(wB(),N5)),c=t.d+t.a+(l.gc()-1)*o,c>e.o.b||(n=rP(e,p5),s=t.d+t.a+(n.gc()-1)*o,s>e.o.b)))}function vat(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;t.Tg(`Orthogonal edge routing`,1),l=O(N(K(e,(PB(),A0)))),n=O(N(K(e,b0))),r=O(N(K(e,C0))),f=new Iw(0,n),g=0,o=new bD(e.b,0),s=null,u=null,c=null,d=null;do u=o.b<o.d.gc()?(Bx(o.b<o.d.gc()),P(o.d.Xb(o.c=o.b++),25)):null,d=u?u.a:null,s&&(fot(s,g),g+=s.c.a),h=s?g+r:g,m=fst(f,e,c,d,h),i=!s||zy(c,(ez(),B2)),a=!u||zy(d,(ez(),B2)),m>0?(p=(m-1)*n,s&&(p+=r),u&&(p+=r),p<l&&!i&&!a&&(p=l),g+=p):!i&&!a&&(g+=l),s=u,c=d;while(u);e.f.a=g,t.Ug()}function nB(e,t){var n,r,i,a,o,s,c,l,u=null,d;if(e.d&&(u=P(vE(e.d,t),143)),!u){if(a=e.a.si(),d=a.i,!e.d||C_(e.d)!=d){for(c=new oh,e.d&&Ej(c,e.d),l=c.f.c+c.i.c,s=l;s<d;++s)r=P(H(a,s),143),i=EN(e.e,r).ve(),n=P(i==null?XL(c.f,null,r):iP(c.i,i,r),143),n&&n!=r&&(i==null?XL(c.f,null,n):iP(c.i,i,n));if(c.f.c+c.i.c!=d)for(o=0;o<l;++o)r=P(H(a,o),143),i=EN(e.e,r).ve(),n=P(i==null?XL(c.f,null,r):iP(c.i,i,r),143),n&&n!=r&&(i==null?XL(c.f,null,n):iP(c.i,i,n));e.d=c}u=P(vE(e.d,t),143)}return u}function yat(e,t,n,i,a,o,s){var c,l,u,d,f=hg(eS(K(t,(PB(),Kkt)))),p=null,m;return o==(VA(),p2)&&i.c.i==n?p=i.c:o==m2&&i.d.i==n&&(p=i.d),u=s,!u||!f||p?(d=(wB(),M5),p?d=p.j:_b(P(K(n,l0),102))&&(d=o==p2?N5:p5),l=xat(e,t,n,o,d,i),c=TO((lT(n),i)),o==p2?(zE(c,P(AC(l.j,0),12)),VE(c,a)):(zE(c,a),VE(c,P(AC(l.j,0),12))),u=new VWe(i,c,l,P(K(l,(Y(),T$)),12),o,!p)):($b(u.e,i),m=r.Math.max(O(N(K(u.d,N1))),O(N(K(i,N1)))),W(u.d,N1,m)),fR(e.a,i,new GS(u.d,t,o)),u}function bat(){bat=C;var e;_Bt=new Xie,mBt=V(vY,X,2,0,6,1),sBt=dD(yM(33,58),yM(1,26)),cBt=dD(yM(97,122),yM(65,90)),lBt=yM(48,57),aBt=dD(sBt,0),oBt=dD(cBt,lBt),uBt=dD(dD(0,yM(1,6)),yM(33,38)),dBt=dD(dD(lBt,yM(65,70)),yM(97,102)),hBt=dD(aBt,AF(`-_.!~*'()`)),gBt=dD(oBt,IP(`-_.!~*'()`)),AF(rvt),IP(rvt),dD(hBt,AF(`;:@&=+$,`)),dD(gBt,IP(`;:@&=+$,`)),fBt=AF(`:/?#`),pBt=IP(`:/?#`),O7=AF(`/?#`),k7=IP(`/?#`),e=new Dh,e.a.yc(`jar`,e),e.a.yc(`zip`,e),e.a.yc(`archive`,e),A7=(KT(),new jg(e))}function xat(e,t,n,r,i,a){var o=null,s,c,l=r==(VA(),p2)?a.c:a.d,u,d;return c=$N(t),l.i==n?(o=P(Zw(e.b,l),9),o||(o=OB(l,P(K(n,(PB(),l0)),102),i,Gtt(l),null,l.n,l.o,c,t),W(o,(Y(),T$),l),ST(e.b,l,o))):(o=OB((u=new st,d=O(N(K(t,(PB(),y0))))/2,OM(u,c0,d),u),P(K(n,l0),102),i,r==p2?-1:1,null,new Xg,new A(0,0),c,t),s=KQe(o,n,r),W(o,(Y(),T$),s),ST(e.b,s,o)),P(K(t,(Y(),l$)),22).Ec((oz(),AQ)),_b(P(K(t,(PB(),l0)),102))?W(t,l0,(iL(),r5)):W(t,l0,(iL(),i5)),o}function rB(e,t){var n,r,i,a,o,s=0,c,l,u,d,f,p,m=0;c=_E(e.g,e.g.length),a=e.e,o=e.j,r=e.b,i=e.c;do{for(p=0,u=new E(e.q);u.a<u.c.c.length;)l=P(z(u),9),f=lst(e,l),n=!0,(e.r==(bz(),i2)||e.r==a2)&&(n=hg(eS(f.b))),P(f.a,15).a<0&&n?(++p,c=_E(e.g,e.g.length),e.e+=P(f.a,15).a,m+=a-e.e,a=e.e+P(f.a,15).a,o=e.j,r=pD(e.b),i=pD(e.c)):(e.g=_E(c,c.length),e.e=a,e.b=(Kw(r),r?new NS(r):eC(new E(r))),e.c=(Kw(i),i?new NS(i):eC(new E(i))),e.j=o);++s,d=p!=0&&hg(eS(t.Kb(new My(G(m),G(s)))))}while(d)}function Sat(e,t,n,i){var a,o,s=e.f,c,l,u,d,f,p=t.f,m,h,g,_,v,y,b,x,S,ee,te,ne,C;return c=s==(VR(),C3)||s==T3,m=p==C3||p==T3,l=s==w3||s==E3,h=p==w3||p==E3,u=s==w3||s==C3,g=p==w3||p==C3,c&&m?e.f==T3?e:t:l&&h?e.f==E3?e:t:u&&g?(s==w3?(f=e,d=t):(f=t,d=e),o=(_=n.j+n.f,v=f.e+i.f,y=r.Math.max(_,v),b=y-r.Math.min(n.j,f.e),x=f.d+i.g-n.i,x*b),a=(S=n.i+n.g,ee=d.d+i.g,te=r.Math.max(S,ee),ne=te-r.Math.min(n.i,d.d),C=d.e+i.f-n.j,ne*C),o<=a?e.f==w3?e:t:e.f==C3?e:t):e}function Cat(e,t){var n,r,i,a,o,s,c,l,u,d;if(W(t,(CB(),f4),0),c=P(K(t,c4),40),t.d.b==0)c?(u=O(N(K(c,h4)))+e.b+fGe(e,c,t),W(t,h4,u)):W(t,h4,0);else{for(r=(a=TF(new Km(t).a.d,0),new qm(a));l_(r.a);)n=P(RD(r.a),65).c,Cat(e,n);s=P(Xb((o=TF(new Km(t).a.d,0),new qm(o))),40),d=P(gme((i=TF(new Km(t).a.d,0),new qm(i))),40),l=(O(N(K(d,h4)))+O(N(K(s,h4))))/2,c?(u=O(N(K(c,h4)))+e.b+fGe(e,c,t),W(t,h4,u),W(t,f4,O(N(K(t,h4)))-l),pst(e,t)):W(t,h4,l)}}function wat(e){var t,n,r,i,a,o,s,c,l=new ah,u,d,f,p;if(!Kx(e,(Y(),a$)))return l;for(r=P(K(e,a$),16).Jc();r.Ob();)t=P(r.Pb(),9),tot(t,e),ph(l.c,t);for(a=new E(e.b);a.a<a.c.c.length;)for(i=P(z(a),25),s=new E(i.a);s.a<s.c.c.length;)o=P(z(s),9),o.k==(MR(),RX)&&(c=P(K(o,o$),9),c&&(u=new jL,HE(u,o),d=P(K(o,s$),64),tR(u,d),f=P(AC(c.j,0),12),p=new rE,zE(p,u),VE(p,f)));for(n=new E(l);n.a<n.c.c.length;)t=P(z(n),9),BE(t,P(AC(e.b,e.b.c.length-1),25));return l}function Tat(e){var t,n,r,i,a,o,s,c,l,u=e.e.a.c.length,d;for(o=new E(e.e.a);o.a<o.c.c.length;)a=P(z(o),124),a.j=!1;for(e.i=V(q9,JV,30,u,15,1),e.g=V(q9,JV,30,u,15,1),e.n=new ah,i=0,d=new ah,c=new E(e.e.a);c.a<c.c.c.length;)s=P(z(c),124),s.d=i++,s.b.a.c.length==0&&$b(e.n,s),pM(d,s.g);for(t=0,r=new E(d);r.a<r.c.c.length;)n=P(z(r),217),n.c=t++,n.f=!1;l=d.c.length,e.b==null||e.b.length<l?(e.b=V(Z9,yH,30,l,15,1),e.c=V(J9,qH,30,l,16,1)):fg(e.c),e.d=d,e.p=new vx(Vj(e.d.c.length)),e.j=1}function Eat(e,t){var n,r,i,a,o,s,c,l,u;if(!(t.e.c.length<=1)){for(e.f=t,e.d=P(K(e.f,(NI(),tCt)),384),e.g=P(K(e.f,aCt),15).a,e.e=O(N(K(e.f,nCt))),e.c=O(N(K(e.f,fX))),lwe(e.b),i=new E(e.f.c);i.a<i.c.c.length;)r=P(z(i),291),qtt(e.b,r.c,r,null),qtt(e.b,r.d,r,null);for(s=e.f.e.c.length,e.a=CC(Z9,[X,yH],[108,30],15,[s,s],2),l=new E(e.f.e);l.a<l.c.c.length;)c=P(z(l),155),Oit(e,c,e.a[c.a]);for(e.i=CC(Z9,[X,yH],[108,30],15,[s,s],2),a=0;a<s;++a)for(o=0;o<s;++o)n=e.a[a][o],u=1/(n*n),e.i[a][o]=u}}function Dat(e,t){var n,r,i,a,o,s=t._g(),c,l,u,d,f,p,m;if(s||t.Tg(hft,1),n=P(K(e,(Y(),A$)),16),o=1/n.gc(),t.$g())for(t.ah(`ELK Layered uses the following `+n.gc()+` modules:`),p=0,f=n.Jc();f.Ob();)u=P(f.Pb(),43),r=(p<10?`0`:``)+ p++,t.ah(` Slot `+r+`: `+a_(WM(u)));for(m=0,d=n.Jc();d.Ob();){if(u=P(d.Pb(),43),t.Zg())return;u.If(e,t.dh(o)),++m}for(a=new E(e.b);a.a<a.c.c.length;)i=P(z(a),25),pM(e.a,i.a),i.a.c.length=0;for(l=new E(e.a);l.a<l.c.c.length;)c=P(z(l),9),BE(c,null);e.b.c.length=0,s||t.Ug()}function Oat(e,t){var n,r,i,a,o,s,c,l,u;if(Kx(e.d.i,(PB(),o0)))return s=P(K(e.c.i,o0),15),l=P(K(e.d.i,o0),15),Ub(s.a,l.a)>0;for(s=P(K(e.c.i,o0),15).a,a=P(aO(AT(t.Mc(),new _te(s)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),o=new E_,u=new Dh,pC(o,e.c.i),Tw(u,e.c.i);o.b!=0;){if(n=P(o.b==0?null:(Bx(o.b!=0),aA(o,o.a.a)),9),a.Gc(n))return!0;for(i=new XC(dx(fP(n).a.Jc(),new f));CR(i);)r=P(CO(i),17),c=r.d.i,u.a._b(c)||(u.a.yc(c,u),iO(o,c,o.c.b,o.c))}return!1}function kat(e,t,n){var r,i,a,o,s,c,l,u,d=new ah;for(u=new Xke(0,n),a=0,JA(u,new BM(0,0,u,n)),i=0,l=new lx(e);l.e!=l.i.gc();)c=P(OF(l),26),r=P(AC(u.a,u.a.c.length-1),173),s=i+c.g+(P(AC(u.a,0),173).b.c.length==0?0:n),(s>t||hg(eS(J(c,(uz(),m3)))))&&(i=0,a+=u.b+n,ph(d.c,u),u=new Xke(a,n),r=new BM(0,u.f,u,n),JA(u,r),i=0),r.b.c.length==0||!hg(eS(J(PE(c),(uz(),g3))))&&(c.f>=r.o&&c.f<=r.f||r.a*.5<=c.f&&r.a*1.5>=c.f)?vGe(r,c):(o=new BM(r.s+r.r+n,u.f,u,n),JA(u,o),vGe(o,c)),i=c.i+c.g;return ph(d.c,u),d}function iB(e){var t,n,r,i;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,i=0;i<e.b.length;){for(t==i?i+=2:(e.b[t]=e.b[i++],e.b[t+1]=e.b[i++]),n=e.b[t+1];i<e.b.length&&!(n+1<e.b[i]);)if(n+1==e.b[i])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else if(n>=e.b[i+1])i+=2;else if(n<e.b[i+1])e.b[t+1]=e.b[i+1],n=e.b[t+1],i+=2;else throw D(new Jh(`Token#compactRanges(): Internel Error: [`+e.b[t]+`,`+e.b[t+1]+`] [`+e.b[i]+`,`+e.b[i+1]+`]`));t+=2}t!=e.b.length&&(r=V(q9,JV,30,t,15,1),Fz(e.b,0,r,0,t),e.b=r),e.a=!0}}function Aat(e,t){var n,r,i,a,o,s,c;for(o=JC(e.a).Jc();o.Ob();){if(a=P(o.Pb(),17),a.b.c.length>0)for(r=new NS(P(DO(e.a,a),22)),KT(),Vb(r,new Rm(t)),i=new bD(a.b,0);i.b<i.d.gc();){switch(n=(Bx(i.b<i.d.gc()),P(i.d.Xb(i.c=i.b++),70)),s=-1,P(K(n,(PB(),O1)),279).g){case 1:s=r.c.length-1;break;case 0:s=yQe(r);break;case 2:s=0}s!=-1&&(c=(oD(s,r.c.length),P(r.c[s],250)),$b(c.b.b,n),P(K(lT(c.b.c.i),(Y(),l$)),22).Ec((oz(),kQ)),P(K(lT(c.b.c.i),l$),22).Ec(DQ),nT(i),W(n,cEt,a))}zE(a,null),VE(a,null)}}function jat(e,t){var n,r,i,a,o,s,c,l,u=new ah,d,f=new Dh;for(o=t.b,i=0;i<o.c.length;i++){for(l=(oD(i,o.c.length),P(o.c[i],25)).a,u.c.length=0,a=0;a<l.c.length;a++)s=e.a[i][a],s.p=a,s.k==(MR(),UX)&&ph(u.c,s),fO(P(AC(t.b,i),25).a,a,s),s.j.c.length=0,pM(s.j,P(P(AC(e.b,i),16).Xb(a),18)),ES(P(K(s,(PB(),l0)),102))||W(s,l0,(iL(),e5));for(r=new E(u);r.a<r.c.c.length;)n=P(z(r),9),d=itt(n),f.a.yc(d,f),f.a.yc(n,f)}for(c=f.a.ec().Jc();c.Ob();)s=P(c.Pb(),9),KT(),Vb(s.j,(IM(),Bwt)),s.i=!0,_4e(s)}function Mat(e,t){var n,r,i,a,o,s,c,l,u,d,f,p;if(t.Tg(`Edge splitting`,1),e.b.c.length<=2){t.Ug();return}for(a=new bD(e.b,0),o=(Bx(a.b<a.d.gc()),P(a.d.Xb(a.c=a.b++),25));a.b<a.d.gc();)for(i=o,o=(Bx(a.b<a.d.gc()),P(a.d.Xb(a.c=a.b++),25)),c=new E(i.a);c.a<c.c.c.length;)for(s=P(z(c),9),u=new E(s.j);u.a<u.c.c.length;)for(l=P(z(u),12),r=new E(l.g);r.a<r.c.c.length;)n=P(z(r),17),f=n.d,d=f.i.c,d!=i&&d!=o&&r9e(n,(p=new tI(e),Tp(p,(MR(),BX)),W(p,(Y(),T$),n),W(p,(PB(),l0),(iL(),t5)),BE(p,o),p));t.Ug()}function Nat(e){var t=jE(e),n,r,i,a=hg(eS(J(t,(PB(),L1)))),o,s,c,l,u=0,d,f;for(i=0,l=new lx((!e.e&&(e.e=new xS(i7,e,7,4)),e.e));l.e!=l.i.gc();)c=P(OF(l),85),s=uR(c),o=s&&a&&hg(eS(J(c,R1))),f=cL(P(H((!c.c&&(c.c=new xS(r7,c,5,8)),c.c),0),84)),s&&o?++i:s&&!o?++u:PE(f)==t||f==t?++i:++u;for(r=new lx((!e.d&&(e.d=new xS(i7,e,8,5)),e.d));r.e!=r.i.gc();)n=P(OF(r),85),s=uR(n),o=s&&a&&hg(eS(J(n,R1))),d=cL(P(H((!n.b&&(n.b=new xS(r7,n,4,7)),n.b),0),84)),s&&o?++u:s&&!o?++i:PE(d)==t||d==t?++u:++i;return u-i}function Pat(e){var t,n,r,i,a;return e.g==null?e.a<32?(e.g=Zct(Hj(e.f),xE(e.e)),e.g):(i=MB((!e.c&&(e.c=rD(Hj(e.f))),e.c),0),e.e==0?i:(t=(!e.c&&(e.c=rD(Hj(e.f))),e.c).e<0?2:1,n=i.length,r=-e.e+n-t,a=new Og,a.a+=``+i,e.e>0&&r>=-6?r>=0?xx(a,n-xE(e.e),`.`):(Fj(a,t-1,t-1,`0.`),xx(a,t+1,aF(yY,0,-xE(r)-1))):(n-t>=1&&(xx(a,t,`.`),++n),xx(a,n,`E`),r>0&&xx(a,++n,`+`),xx(a,++n,``+QC(Hj(r)))),e.g=a.a,e.g)):e.g}function Fat(e,t){var n,i=O(N(K(t,(PB(),Jkt)))),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=P(K(t,P0),15).a,ee,te;p=4,a=3,ee=20/S,m=!1,l=0,s=JB;do{for(o=l!=1,f=l!=0,te=0,_=e.a,y=0,x=_.length;y<x;++y)h=_[y],h.f=null,lct(e,h,o,f,i),te+=r.Math.abs(h.a);do c=Hnt(e,t);while(c);for(g=e.a,v=0,b=g.length;v<b;++v)if(h=g[v],n=_Ce(h).a,n!=0)for(d=new E(h.e);d.a<d.c.c.length;)u=P(z(d),9),u.n.b+=n;l==0||l==1?(--p,p<=0&&(te<s||-p>S)?(l=2,s=JB):l==0?(l=1,s=te):(l=0,s=te)):(m=te>=s||s-te<ee,s=te,m&&--a)}while(!(m&&a<=0))}function Iat(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m=new oh;for(a=e.a.ec().Jc();a.Ob();)r=P(a.Pb(),177),ST(m,r,n.$e(r));for(o=(Kw(e),e?new NS(e):eC(e.a.ec().Jc())),Vb(o,new jm(m)),s=oO(o),c=new Gb(t),p=new oh,XL(p.f,t,c);s.a.gc()!=0;){for(l=null,u=null,d=null,i=s.a.ec().Jc();i.Ob();)if(r=P(i.Pb(),177),O(N(By(VC(m.f,r))))<=pH){if(bw(p,r.a)&&!bw(p,r.b)){u=r.b,d=r.a,l=r;break}if(bw(p,r.b)&&!bw(p,r.a)){u=r.a,d=r.b,l=r;break}}if(!l)break;f=new Gb(u),$b(P(By(VC(p.f,d)),225).a,f),XL(p.f,u,f),s.a.Ac(l)}return c}function aB(e,t){var n,r,i,a,o,s;if(t){if(!e.a&&(e.a=new Oh),e.e==2){wh(e.a,t);return}if(t.e==1){for(i=0;i<t.Nm();i++)aB(e,t.Jm(i));return}if(s=e.a.a.c.length,s==0){wh(e.a,t);return}if(o=P(sT(e.a,s-1),121),!((o.e==0||o.e==10)&&(t.e==0||t.e==10))){wh(e.a,t);return}a=t.e==0?2:t.Km().length,o.e==0?(n=new Dg,r=o.Im(),r>=_H?Yy(n,sGe(r)):Yw(n,r&VV),o=(++W9,new hE(10,null,0)),LCe(e.a,o,s-1)):(n=(o.Km().length+a,new Dg),Yy(n,o.Km())),t.e==0?(r=t.Im(),r>=_H?Yy(n,sGe(r)):Yw(n,r&VV)):Yy(n,t.Km()),P(o,517).b=n.a}}function Lat(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(!n.dc()){for(s=0,f=0,r=n.Jc(),m=P(r.Pb(),15).a;s<t.f;){if(s==m&&(f=0,m=r.Ob()?P(r.Pb(),15).a:t.f+1),s!=f){for(g=P(AC(e.b,s),25),p=P(AC(e.b,f),25),h=pD(g.a),d=new E(h);d.a<d.c.c.length;)if(u=P(z(d),9),jI(u,p.a.c.length,p),f==0)for(o=pD(uP(u)),a=new E(o);a.a<a.c.c.length;)i=P(z(a),17),Bz(i,!0),W(e,(Y(),e$),(mx(),!0)),kot(e,i,1)}++f,++s}for(c=new bD(e.b,0);c.b<c.d.gc();)l=(Bx(c.b<c.d.gc()),P(c.d.Xb(c.c=c.b++),25)),l.a.c.length==0&&nT(c)}}function Rat(e,t,n){var r,i=P(K(t,(PB(),a1)),283),a;if(i!=(EL(),EQ)){switch(n.Tg(`Horizontal Compaction`,1),e.a=t,a=new _Ie,r=new l3e((a.d=t,a.c=P(K(a.d,A1),222),J9e(a),sst(a),get(a),a.a)),xoe(r,e.b),P(K(t,gkt),422).g){case 1:boe(r,new vze(e.a));break;default:boe(r,(KDe(),Ext))}switch(i.g){case 1:OR(r);break;case 2:OR(yB(r,(WN(),_8)));break;case 3:OR(voe(yB(OR(r),(WN(),_8)),new ii));break;case 4:OR(voe(yB(OR(r),(WN(),_8)),new Ete(a)));break;case 5:OR(yoe(r,Kwt))}yB(r,(WN(),g8)),r.e=!0,Cct(a),n.Ug()}}function zat(e,t){var n,r,i,a,o=t.b,s,c,l,u=o.o,d,f,p,m,h,g,_,v,y;for(c=o.d,r=O(N(jF(o,(PB(),y0)))),i=O(N(jF(o,x0))),l=O(N(jF(o,j0))),s=new Ph,Kbe(s,c.d,c.c,c.a,c.b),f=Ret(t,r,i,l),_=new E(t.d);_.a<_.c.c.length;){for(g=P(z(_),107),m=g.f.a.ec().Jc();m.Ob();)p=P(m.Pb(),341),a=p.a,d=P$e(p),n=(v=new Rh,e0e(p,p.c,f,v),J7e(p,d,f,v),e0e(p,p.d,f,v),v),n=e.lg(p,d,n),YT(a.a),bj(a.a,n),P_(new jC(null,new nD(n,16)),new $le(u,s));h=g.i,h&&(l9e(g,h,f,i),y=new mb(h.g),Tqe(u,s,y),wS(y,h.j),Tqe(u,s,y))}Kbe(c,s.d,s.c,s.a,s.b)}function Bat(e,t){sz();var n,i,a,o=t.c-(e.c+e.b),s,c;return a=e.c-(t.c+t.b),s=e.d-(t.d+t.a),n=t.d-(e.d+e.a),i=r.Math.max(a,o),c=r.Math.max(s,n),Ib(),RA(HG),(r.Math.abs(i)<=HG||i==0?0:i<0?-1:i>0?1:mS(isNaN(i),!1))>=0^(RA(HG),(r.Math.abs(c)<=HG||c==0?0:c<0?-1:c>0?1:mS(isNaN(c),!1))>=0)?r.Math.max(c,i):(RA(HG),(r.Math.abs(i)<=HG||i==0?0:i<0?-1:i>0?1:mS(isNaN(i),!1))>0?r.Math.sqrt(c*c+i*i):-r.Math.sqrt(c*c+i*i))}function Vat(e){var t,n,i,a=e.o;oS(),e.A.dc()||DN(e.A,lSt)?t=a.b:(t=e.D?r.Math.max(a.b,aR(e.f)):aR(e.f),e.A.Gc((tF(),L5))&&!e.B.Gc((Tz(),G5))&&(t=r.Math.max(t,aR(P(CT(e.p,(wB(),p5)),253))),t=r.Math.max(t,aR(P(CT(e.p,N5),253)))),n=OBe(e),n&&(t=r.Math.max(t,n.b)),e.A.Gc(R5)&&(e.q==(iL(),n5)||e.q==t5)&&(t=r.Math.max(t,fC(P(CT(e.b,(wB(),p5)),127))),t=r.Math.max(t,fC(P(CT(e.b,N5),127))))),hg(eS(e.e.Rf().mf((LB(),z6))))?a.b=r.Math.max(a.b,t):a.b=t,i=e.f.i,i.d=0,i.a=t,Grt(e.f)}function Hat(e,t,n,r,i,a,o,s){var c=OO(U(k(FFt,1),$B,238,0,[t,n,r,i])),l,u,d=null;switch(e.b.g){case 1:d=OO(U(k(CFt,1),$B,523,0,[new Rs,new Fs,new Is]));break;case 0:d=OO(U(k(CFt,1),$B,523,0,[new Is,new Fs,new Rs]));break;case 2:d=OO(U(k(CFt,1),$B,523,0,[new Fs,new Rs,new Is]))}for(u=new E(d);u.a<u.c.c.length;)l=P(z(u),523),c.c.length>1&&(c=l.Gg(c,e.a,s));return c.c.length==1?P(AC(c,c.c.length-1),238):c.c.length==2?Sat((oD(0,c.c.length),P(c.c[0],238)),(oD(1,c.c.length),P(c.c[1],238)),o,a):null}function Uat(e,t,n){var r,i=new hp(e),a=new B3e,o,s,c,l,u,d,f,p,m;r=(yO(a.n),yO(a.p),aw(a.c),yO(a.f),yO(a.o),aw(a.q),aw(a.d),aw(a.g),aw(a.k),aw(a.e),aw(a.i),aw(a.j),aw(a.r),aw(a.b),f=E4e(a,i,null),g8e(a,i),f),t&&(c=new hp(t),o=Bit(c),r0e(r,U(k(jIt,1),$B,524,0,[o]))),d=!1,u=!1,n&&(c=new hp(n),Vq in c.a&&(d=kE(c,Vq).oe().a),b_t in c.a&&(u=kE(c,b_t).oe().a)),l=qoe(sRe(new Uh,d),u),b0e(new ec,r,l),Vq in i.a&&Zk(i,Vq,null),(d||u)&&(s=new Yh,urt(l,s,d,u),Zk(i,Vq,s)),p=new ure(a),fHe(new Db(r),p),m=new dre(a),fHe(new Db(r),m)}function Wat(e,t,n){var r,i,a,o,s,c,l;for(n.Tg(`Find roots`,1),e.a.c.length=0,i=TF(t.b,0);i.b!=i.d.c;)r=P(RD(i),40),r.b.b==0&&(W(r,(CB(),_4),(mx(),!0)),$b(e.a,r));switch(e.a.c.length){case 0:a=new zM(0,t,`DUMMY_ROOT`),W(a,(CB(),_4),(mx(),!0)),W(a,n4,!0),pC(t.b,a);break;case 1:break;default:for(o=new zM(0,t,$G),c=new E(e.a);c.a<c.c.c.length;)s=P(z(c),40),l=new DEe(o,s),W(l,(CB(),n4),(mx(),!0)),pC(o.a.a,l),pC(o.d,l),pC(s.b,l),W(s,_4,!1);W(o,(CB(),_4),(mx(),!0)),W(o,n4,!0),pC(t.b,o)}n.Ug()}function Gat(e){var t,n,i,a,o,s;for(sA(e.a,new rt),n=new E(e.a);n.a<n.c.c.length;)t=P(z(n),225),i=TS(qb(P(e.b,68).c),P(t.b,68).c),fSt?(s=P(e.b,68).b,o=P(t.b,68).b,r.Math.abs(i.a)>=r.Math.abs(i.b)?(i.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&aC(i,r.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(i.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&aC(i,r.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):aC(i,yrt(P(e.b,68),P(t.b,68))),a=r.Math.sqrt(i.a*i.a+i.b*i.b),a=t$e(QY,t,a,i),aC(i,a),ISe(P(t.b,68),i),sA(t.a,new Im(i)),P(QY.b,68),KPe(QY,pSt,t)}function Kat(e){var t,n,i,a,o,s,c,l,u,d,p,m,h,g;for(e.f=new kh,u=0,a=0,s=new E(e.e.b);s.a<s.c.c.length;)for(o=P(z(s),25),l=new E(o.a);l.a<l.c.c.length;){for(c=P(z(l),9),c.p=u++,i=new XC(dx(fP(c).a.Jc(),new f));CR(i);)n=P(CO(i),17),n.p=a++;for(t=_at(c),m=new E(c.j);m.a<m.c.c.length;)p=P(z(m),12),t&&(g=p.a.b,g!=r.Math.floor(g)&&(d=g-ED(Hj(r.Math.round(g))),p.a.b-=d)),h=p.n.b+p.a.b,h!=r.Math.floor(h)&&(d=h-ED(Hj(r.Math.round(h))),p.n.b-=d)}e.g=u,e.b=a,e.i=V(Kjt,$B,405,u,0,1),e.c=V(Gjt,$B,644,a,0,1),e.d.a.$b()}function oB(e){var t,n,r,i,a,o,s,c,l;if(e.Nj())if(c=e.Oj(),e.i>0){if(t=new yde(e.i,e.g),n=e.i,a=n<100?null:new Qg(n),e.Rj())for(r=0;r<e.i;++r)o=e.g[r],a=e.Tj(o,a);if(kO(e),i=n==1?e.Gj(4,H(t,0),null,0,c):e.Gj(6,t,null,-1,c),e.Kj()){for(r=new Ox(t);r.e!=r.i.gc();)a=e.Mj(kF(r),a);a?(a.lj(i),a.mj()):e.Hj(i)}else a?(a.lj(i),a.mj()):e.Hj(i)}else kO(e),e.Hj(e.Gj(6,(KT(),EY),null,-1,c));else if(e.Kj())if(e.i>0){for(s=e.g,l=e.i,kO(e),a=l<100?null:new Qg(l),r=0;r<l;++r)o=s[r],a=e.Mj(o,a);a&&a.mj()}else kO(e);else kO(e)}function qat(e,t,n){var i,a,o,s,c,l,u,d,f,p;for(iVe(this),n==(EE(),U2)?Tw(this.r,e):Tw(this.w,e),d=pH,u=mH,s=t.a.ec().Jc();s.Ob();)a=P(s.Pb(),49),c=P(a.a,454),i=P(a.b,17),l=i.c,l==e&&(l=i.d),Tw(c==U2?this.r:this.w,l),p=(wB(),T5).Gc(l.j)?O(N(K(l,(Y(),R$)))):PM(U(k(o6,1),X,8,0,[l.i.n,l.n,l.a])).b,d=r.Math.min(d,p),u=r.Math.max(u,p);for(f=(wB(),T5).Gc(e.j)?O(N(K(e,(Y(),R$)))):PM(U(k(o6,1),X,8,0,[e.i.n,e.n,e.a])).b,L1e(this,f,d,u),o=t.a.ec().Jc();o.Ob();)a=P(o.Pb(),49),F0e(this,P(a.b,17));this.o=!1}function Jat(e,t){var n=e.l&8191,r=e.l>>13|(e.m&15)<<9,i=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,s=t.l&8191,c=t.l>>13|(t.m&15)<<9,l=t.m>>4&8191,u=t.m>>17|(t.h&255)<<5,d=(t.h&1048320)>>8,f,p,m,h,g,_,v,y,b,x,S,ee,te=n*s,ne=r*s,C=i*s,re=a*s,ie=o*s;return c!=0&&(ne+=n*c,C+=r*c,re+=i*c,ie+=a*c),l!=0&&(C+=n*l,re+=r*l,ie+=i*l),u!=0&&(re+=n*u,ie+=r*u),d!=0&&(ie+=n*d),p=te&iH,m=(ne&511)<<13,f=p+m,g=te>>22,_=ne>>9,v=(C&262143)<<4,y=(re&31)<<17,h=g+_+v+y,x=C>>18,S=re>>5,ee=(ie&4095)<<8,b=x+S+ee,h+=f>>22,f&=iH,b+=h>>22,h&=iH,b&=aH,Wb(f,h,b)}function Yat(e){var t,n,i,a,o,s,c=P(AC(e.j,0),12);if(c.g.c.length!=0&&c.e.c.length!=0)throw D(new cg(`Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges.`));if(c.g.c.length!=0){for(o=pH,n=new E(c.g);n.a<n.c.c.length;)t=P(z(n),17),s=t.d.i,i=P(K(s,(PB(),q1)),140),o=r.Math.min(o,s.n.a-i.b);return new Of(Kw(o))}if(c.e.c.length!=0){for(a=mH,n=new E(c.e);n.a<n.c.c.length;)t=P(z(n),17),s=t.c.i,i=P(K(s,(PB(),q1)),140),a=r.Math.max(a,s.n.a+s.o.a+i.c);return new Of(Kw(a))}return Wh(),Wh(),Pyt}function Xat(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;for(n.Tg(`Interactive cycle breaking`,1),d=new ah,p=new E(t.a);p.a<p.c.c.length;)for(f=P(z(p),9),f.p=1,m=cQe(f).a,u=HP(f,(VA(),m2)).Jc();u.Ob();)for(l=P(u.Pb(),12),a=new E(l.g);a.a<a.c.c.length;)r=P(z(a),17),h=r.d.i,h!=f&&(g=cQe(h).a,g<m&&ph(d.c,r));for(o=new E(d);o.a<o.c.c.length;)r=P(z(o),17),Bz(r,!0);for(d.c.length=0,c=new E(t.a);c.a<c.c.c.length;)s=P(z(c),9),s.p>0&&K0e(e,s,d);for(i=new E(d);i.a<i.c.c.length;)r=P(z(i),17),Bz(r,!0);d.c.length=0,n.Ug()}function Zat(e,t){var n,r,i,a,o,s,c;if(e.ml()){if(e.i>4)if(e.dk(t)){if(e.$k()){if(i=P(t,52),r=i.Bh(),c=r==e.e&&(e.kl()?i.vh(i.Ch(),e.gl())==e.hl():-1-i.Ch()==e.Jj()),e.ll()&&!c&&!r&&i.Gh()){for(a=0;a<e.i;++a)if(n=e.nl(P(e.g[a],57)),j(n)===j(t))return!0}return c}else if(e.kl()&&!e.jl()){if(o=P(t,57).Jh(QF(P(e.Jk(),19))),j(o)===j(e.e))return!0;if(o==null||!P(o,57).Sh())return!1}}else return!1;if(s=UI(e,t),e.ll()&&!s){for(a=0;a<e.i;++a)if(i=e.nl(P(e.g[a],57)),j(i)===j(t))return!0}return s}else return UI(e,t)}function Qat(e,t){var n=0,r,i,a,o,s,c,l,u=new ah;for(s=new E(t);s.a<s.c.c.length;){switch(o=P(z(s),12),$He(e.b,e.d[o.p]),u.c.length=0,o.i.k.g){case 0:r=P(K(o,(Y(),O$)),9),sA(r.j,new ane(u));break;case 1:ipe(RM(AT(new jC(null,new nD(o.i.j,16)),new one(o))),new sne(u));break;case 3:i=P(K(o,(Y(),T$)),12),$b(u,new My(i,G(o.e.c.length+o.g.c.length)))}for(l=new E(u);l.a<l.c.c.length;)c=P(z(l),49),a=vse(e,P(c.a,12)),a>e.d[o.p]&&(n+=JMe(e.b,a)*P(c.b,15).a,LD(e.a,G(a)));for(;!mg(e.a);)MIe(e.b,P(Cw(e.a),15).a)}return n}function $at(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Tg(zmt,1),m=new ah,d=r.Math.max(e.a.c.length,P(K(e,(Y(),C$)),15).a),n=d*P(K(e,ZQ),15).a,c=j(K(e,(PB(),l1)))===j((SM(),HQ)),g=new E(e.a);g.a<g.c.c.length;)for(h=P(z(g),9),i=new ga,l=c?_R(i,h,n,d):KL(i,h,d),p=HP(h,(VA(),m2)).Jc();p.Ob();)for(f=P(p.Pb(),12),s=new E(f.g);s.a<s.c.c.length;)a=P(z(s),17),_=a.d.i,u=c?_R(i,_,n,d):KL(i,_,d),u<l&&ph(m.c,a);for(o=new E(m);o.a<o.c.c.length;)a=P(z(o),17),Bz(a,!0),W(e,e$,(mx(),!0));m.c.length=0,t.Ug()}function eot(e){var t,n,r;for(qM(T7,U(k(eX,1),$B,148,0,[new vf])),n=new fp(e),r=0;r<n.a.length;++r)t=Vk(n,r).re().a,CS(t,`layered`)?qM(T7,U(k(eX,1),$B,148,0,[new $d])):CS(t,`force`)?qM(T7,U(k(eX,1),$B,148,0,[new Ad])):CS(t,`stress`)?qM(T7,U(k(eX,1),$B,148,0,[new Md])):CS(t,`mrtree`)?qM(T7,U(k(eX,1),$B,148,0,[new mee])):CS(t,`radial`)?qM(T7,U(k(eX,1),$B,148,0,[new sf])):CS(t,`sporeOverlap`)||CS(t,`sporeCompaction`)?qM(T7,U(k(eX,1),$B,148,0,[new hf])):CS(t,`rectpacking`)&&qM(T7,U(k(eX,1),$B,148,0,[new pf]))}function tot(e,t){var n,r,i,a,o,s,c,l,u=P(K(e,(Y(),s$)),64),d;if(r=P(AC(e.j,0),12),u==(wB(),m5)?tR(r,j5):u==j5&&tR(r,m5),P(K(t,(PB(),t0)),182).Gc((tF(),z5))){if(c=O(N(K(e,D0))),l=O(N(K(e,O0))),o=O(N(K(e,T0))),s=P(K(t,d0),22),s.Gc((rR(),c5)))for(n=l,d=e.o.a/2-r.n.a,a=new E(r.f);a.a<a.c.c.length;)i=P(z(a),70),i.n.b=n,i.n.a=d-i.o.a/2,n+=i.o.b+o;else if(s.Gc(u5))for(a=new E(r.f);a.a<a.c.c.length;)i=P(z(a),70),i.n.a=c+e.o.a-r.n.a;Ike(new Fm((V_(),new RT(t,!1,!1,new Mt))),new WS(null,e,!1))}}function not(e,t){var n,i,a,o,s,c,l,u,d;if(t.c.length!=0){for(KT(),xSe(t.c,t.c.length,null),a=new E(t),i=P(z(a),156);a.a<a.c.c.length;)n=P(z(a),156),ULe(i.e.c,n.e.c)&&!(tqe(hge(i.e).b,n.e.d)||tqe(hge(n.e).b,i.e.d))?i=(pM(i.k,n.k),pM(i.b,n.b),pM(i.c,n.c),bj(i.i,n.i),pM(i.d,n.d),pM(i.j,n.j),o=r.Math.min(i.e.c,n.e.c),s=r.Math.min(i.e.d,n.e.d),c=r.Math.max(i.e.c+i.e.b,n.e.c+n.e.b),l=c-o,u=r.Math.max(i.e.d+i.e.a,n.e.d+n.e.a),d=u-s,rxe(i.e,o,s,l,d),Vke(i.f,n.f),!i.a&&(i.a=n.a),pM(i.g,n.g),$b(i.g,n),i):(trt(e,i),i=n);trt(e,i)}}function rot(e,t,n,r){var i,a,o,s,c=new ah,l,u,d,f,p,m,h,g,_,v,y,b,x;for(a=new E(t.a);a.a<a.c.c.length;)for(i=P(z(a),9),s=new E(i.j);s.a<s.c.c.length;){for(o=P(z(s),12),u=null,y=SD(o.g),b=0,x=y.length;b<x;++b)v=y[b],zj(v.d.i,n)||(_=yat(e,t,n,v,v.c,(VA(),m2),u),_!=u&&ph(c.c,_),_.c&&(u=_));for(l=null,m=SD(o.e),h=0,g=m.length;h<g;++h)p=m[h],zj(p.c.i,n)||(_=yat(e,t,n,p,p.d,(VA(),p2),l),_!=l&&ph(c.c,_),_.c&&(l=_))}for(f=new E(c);f.a<f.c.c.length;)d=P(z(f),444),vk(t.a,d.a,0)!=-1||$b(t.a,d.a),d.c&&ph(r.c,d)}function iot(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;for(s=new E(t);s.a<s.c.c.length;)a=P(z(s),239),a.e=null,a.c=0;for(c=null,o=new E(t);o.a<o.c.c.length;)if(a=P(z(o),239),d=a.d[0],!(n&&d.k!=(MR(),HX))){for(p=P(K(d,(Y(),h$)),16).Jc();p.Ob();)f=P(p.Pb(),9),(!n||f.k==(MR(),HX))&&((!a.e&&(a.e=new ah),a.e).Ec(e.b[f.c.p][f.p]),++e.b[f.c.p][f.p].c);if(!n&&d.k==(MR(),HX)){if(c)for(u=P(DO(e.d,c),22).Jc();u.Ob();)for(l=P(u.Pb(),9),i=P(DO(e.d,d),22).Jc();i.Ob();)r=P(i.Pb(),9),Aye(e.b[l.c.p][l.p]).Ec(e.b[r.c.p][r.p]),++e.b[r.c.p][r.p].c;c=d}}}function aot(e,t,n,i){var a,o,s,c,l,u,d,f=new mb(P(J(e,(SL(),$It)),8)),p,m,h,g,_;for(f.a=r.Math.max(f.a-n.b-n.c,0),f.b=r.Math.max(f.b-n.d-n.a,0),a=N(J(e,JIt)),(a==null||(dT(a),a)<=0)&&(a=1.3),c=new ah,h=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));h.e!=h.i.gc();)m=P(OF(h),26),s=new Ahe(m),ph(c.c,s);switch(p=P(J(e,p6),326),p.g){case 3:_=lnt(c,t,f.a,f.b,(u=i,dT(a),u));break;case 1:_=Nrt(c,t,f.a,f.b,(d=i,dT(a),d));break;default:_=sot(c,t,f.a,f.b,(l=i,dT(a),l))}o=new _A(_),g=Plt(o,t,n,f.a,f.b,i,(dT(a),a)),TB(e,g.a,g.b,!1,!0)}function oot(e,t,n,r){var i,a,o,s=e.j,c,l;if(s==(wB(),M5)&&t!=(iL(),i5)&&t!=(iL(),a5)&&(s=Gnt(e,n),tR(e,s),!(e.q?e.q:(KT(),KT(),DY))._b((PB(),c0))&&s!=M5&&(e.n.a!=0||e.n.b!=0)&&W(e,c0,rZe(e,s))),t==(iL(),n5)){switch(l=0,s.g){case 1:case 3:a=e.i.o.a,a>0&&(l=e.n.a/a);break;case 2:case 4:i=e.i.o.b,i>0&&(l=e.n.b/i)}W(e,(Y(),k$),l)}if(c=e.o,o=e.a,r)o.a=r.a,o.b=r.b,e.d=!0;else if(t!=i5&&t!=a5&&s!=M5)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}function sB(e){var t,n,r,i,a,o,s,c,l,u;if(e.Nj())if(u=e.Cj(),c=e.Oj(),u>0)if(t=new uBe(e.nj()),n=u,a=n<100?null:new Qg(n),cS(e,n,t.g),i=n==1?e.Gj(4,H(t,0),null,0,c):e.Gj(6,t,null,-1,c),e.Kj()){for(r=new lx(t);r.e!=r.i.gc();)a=e.Mj(OF(r),a);a?(a.lj(i),a.mj()):e.Hj(i)}else a?(a.lj(i),a.mj()):e.Hj(i);else cS(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(KT(),EY),null,-1,c));else if(e.Kj())if(u=e.Cj(),u>0){for(s=e.Dj(),l=u,cS(e,u,s),a=l<100?null:new Qg(l),r=0;r<l;++r)o=s[r],a=e.Mj(o,a);a&&a.mj()}else cS(e,e.Cj(),e.Dj());else cS(e,e.Cj(),e.Dj())}function sot(e,t,n,r,i){var a,o,s=V(Z9,yH,30,e.c.length,15,1),c,l,u,d,f=new ow(new Ic),p,m,h,g;for(BXe(f,e),l=0,h=new ah;f.b.c.length!=0;)if(o=P(f.b.c.length==0?null:AC(f.b,0),167),l>1&&kC(o)*OC(o)/2>s[0]){for(a=0;a<h.c.length-1&&kC(o)*OC(o)/2>s[a];)++a;m=new QE(h,0,a+1),d=new _A(m),u=kC(o)/OC(o),c=Plt(d,t,new Fh,n,r,i,u),wS(nb(d.e),c),rC(vL(f,d),wH),p=new QE(h,a+1,h.c.length),BXe(f,p),h.c.length=0,l=0,SSe(s,s.length,0)}else g=f.b.c.length==0?null:AC(f.b,0),g!=null&&aj(f,0),l>0&&(s[l]=s[l-1]),s[l]+=kC(o)*OC(o),++l,ph(h.c,o);return h}function cot(e,t){var n=t.b,r,i,a=new NS(n.j);i=0,r=n.j,r.c.length=0,Rw(P(Lj(e.b,(wB(),m5),(lj(),IZ)),16),n),i=JF(a,i,new ji,r),Rw(P(Lj(e.b,m5,FZ),16),n),i=JF(a,i,new Mi,r),Rw(P(Lj(e.b,m5,PZ),16),n),Rw(P(Lj(e.b,p5,IZ),16),n),Rw(P(Lj(e.b,p5,FZ),16),n),i=JF(a,i,new Ni,r),Rw(P(Lj(e.b,p5,PZ),16),n),Rw(P(Lj(e.b,j5,IZ),16),n),i=JF(a,i,new Pi,r),Rw(P(Lj(e.b,j5,FZ),16),n),i=JF(a,i,new Fi,r),Rw(P(Lj(e.b,j5,PZ),16),n),Rw(P(Lj(e.b,N5,IZ),16),n),i=JF(a,i,new Di,r),Rw(P(Lj(e.b,N5,FZ),16),n),Rw(P(Lj(e.b,N5,PZ),16),n)}function lot(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g;for(t.Tg(`Layer size calculation`,1),d=pH,u=mH,a=!1,c=new E(e.b);c.a<c.c.c.length;)if(s=P(z(c),25),l=s.c,l.a=0,l.b=0,s.a.c.length!=0){for(a=!0,p=new E(s.a);p.a<p.c.c.length;)f=P(z(p),9),h=f.o,m=f.d,l.a=r.Math.max(l.a,h.a+m.b+m.c);i=P(AC(s.a,0),9),g=i.n.b-i.d.d,i.k==(MR(),RX)&&(g-=P(K(e,(PB(),M0)),140).d),o=P(AC(s.a,s.a.c.length-1),9),n=o.n.b+o.o.b+o.d.a,o.k==RX&&(n+=P(K(e,(PB(),M0)),140).a),l.b=n-g,d=r.Math.min(d,g),u=r.Math.max(u,n)}a||(d=0,u=0),e.f.b=u-d,e.c.b-=d,t.Ug()}function uot(e,t,n){for(var i,a,o,s=t.d,c=n.d,l,u,d,f,p;s.a-c.a==0&&s.b-c.b==0;)l=!1,M(t,251)&&M(n,251)&&!l?(u=P(t,251).a,d=TS(new mb(_Re(u)),gRe(u)),i=2,a=new A(d.a/r.Math.sqrt(d.a*d.a+d.b*d.b)*i,-d.b/r.Math.sqrt(d.a*d.a+d.b*d.b)*i),wS(s,a),f=P(n,251).a,p=TS(new mb(_Re(f)),gRe(f)),i=d==p?-2:2,o=new A(p.a/r.Math.sqrt(p.a*p.a+p.b*p.b)*i,-(p.b/r.Math.sqrt(p.a*p.a+p.b*p.b))*i),wS(s,o),l=!0):(s.a+=FR(e,26)*kH+FR(e,27)*AH-.5,s.b+=FR(e,26)*kH+FR(e,27)*AH-.5,c.a+=FR(e,26)*kH+FR(e,27)*AH-.5,c.b+=FR(e,26)*kH+FR(e,27)*AH-.5)}function dot(e,t,n){var r,i,a,o,s,c,l=d0e(t),u,d,f,p,m,h,g=P(K(t,(PB(),C1)),301),_;for(dO(l,new Kee(g)),_=P(K(t,y1),302),dO(l,new qee(_)),h=0,u=new ah,a=new vT(l);a.a!=a.b;)i=P(vN(a),37),dst(e.c,i),f=P(K(i,(Y(),A$)),16),h+=f.gc(),r=f.Jc(),$b(u,new My(i,r));for(n.Tg(`Recursive hierarchical layout`,h),m=0,p=P(P(AC(u,u.c.length-1),49).b,50);p.Ob();)for(c=new E(u);c.a<c.c.c.length;)for(s=P(z(c),49),f=P(s.b,50),o=P(s.a,37);f.Ob();)if(d=P(f.Pb(),43),M(d,453)){if(o.e)break;d.If(o,n.dh(1)),++m;break}else d.If(o,n.dh(1)),++m;n.Ug()}function fot(e,t){var n,i,a,o=0,s=0,c,l,u,d,f,p,m,h,g,_,v;for(u=new E(e.a);u.a<u.c.c.length;)c=P(z(u),9),o=r.Math.max(o,c.d.b),s=r.Math.max(s,c.d.c);for(l=new E(e.a);l.a<l.c.c.length;){switch(c=P(z(l),9),n=P(K(c,(PB(),e1)),256),n.g){case 1:h=0;break;case 2:h=1;break;case 5:h=.5;break;default:for(i=0,f=0,m=new E(c.j);m.a<m.c.c.length;)p=P(z(m),12),p.e.c.length==0||++i,p.g.c.length==0||++f;h=i+f==0?.5:f/(i+f)}_=e.c,d=c.o.a,v=(_.a-d)*h,h>.5?v-=s*2*(h-.5):h<.5&&(v+=o*2*(.5-h)),a=c.d.b,v<a&&(v=a),g=c.d.c,v>_.a-g-d&&(v=_.a-g-d),c.n.a=t+v}}function pot(e){var t,n,r=P(K(e,(PB(),B1)),165),i,a;if(r==(bP(),J$)){for(n=new XC(dx(uP(e).a.Jc(),new f));CR(n);)if(t=P(CO(n),17),!bNe(t))throw D(new vg(sW+SI(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(r==X$){for(a=new XC(dx(fP(e).a.Jc(),new f));CR(a);)if(i=P(CO(a),17),!bNe(i))throw D(new vg(sW+SI(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 cB(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.e&&e.c.c<e.f)throw D(new cg(`Expected `+e.f+` phases to be configured; only found `+e.c.c));for(u=P(t_(e.g),10),p=Ix(e.f),a=u,s=0,l=a.length;s<l;++s)r=a[s],d=P(bk(e,r.g),188),d?$b(p,P(cKe(e,d),95)):p.c.push(null);for(m=new pT,P_(AT(jT(AT(new jC(null,new nD(p,16)),new tc),new Bne(t)),new nc),new Vne(m)),Ij(m,e.a),n=new ah,i=u,o=0,c=i.length;o<c;++o)r=i[o],pM(n,xVe(e,REe(P(bk(m,r.g),20)))),f=P(AC(p,r.g),95),f&&ph(n.c,f);return pM(n,xVe(e,REe(P(bk(m,u[u.length-1].g+1),20)))),n}function mot(e,t){var n,i,a,o,s,c,l,u,d,f,p=new ah,m,h,g,_,v,y,b,x;for(a=new ah,g=null,c=t.Jc();c.Ob();)s=P(c.Pb(),15),o=new Ute(s.a),ph(a.c,o),g&&(o.d=g,g.e=o),g=o;for(b=Vrt(e),d=0;d<a.c.length;++d){for(m=null,_=qNe((oD(0,a.c.length),P(a.c[0],650))),n=null,i=pH,f=1;f<e.b.c.length;++f)v=_?r.Math.abs(_.b-f):r.Math.abs(f-m.b)+1,h=m?r.Math.abs(f-m.b):v+1,h<v?(u=m,l=h):(u=_,l=v),y=(x=O(N(K(e,(PB(),bAt)))),b[f]+r.Math.pow(l,x)),y<i&&(i=y,n=u,n.c=f),_&&f==_.b&&(m=_,_=vCe(_));n&&($b(p,G(n.c)),n.a=!0,GWe(n))}return KT(),xSe(p.c,p.c.length,null),p}function hot(e,t,n){var r,i,a,o,s,c;if(t.l==0&&t.m==0&&t.h==0)throw D(new rg(`divide by zero`));if(e.l==0&&e.m==0&&e.h==0)return n&&(sY=Wb(0,0,0)),Wb(0,0,0);if(t.h==oH&&t.m==0&&t.l==0)return GGe(e,n);if(c=!1,t.h>>19&&(t=kM(t),c=!c),o=s5e(t),a=!1,i=!1,r=!1,e.h==oH&&e.m==0&&e.l==0)if(i=!0,a=!0,o==-1)e=nfe((Pk(),obt)),r=!0,c=!c;else return s=_6e(e,o),c&&AM(s),n&&(sY=Wb(0,0,0)),s;else e.h>>19&&(a=!0,e=kM(e),r=!0,c=!c);return o==-1?gZe(e,t)<0?(n&&(sY=a?kM(e):Wb(e.l,e.m,e.h)),Wb(0,0,0)):mnt(r?e:Wb(e.l,e.m,e.h),t,c,a,i,n):_He(e,o,c,a,n)}function lB(e,t){var n,r,i,a,o=e.e,s,c=t.e,l,u,d,f,p,m;if(o==0)return t;if(c==0)return e;if(a=e.d,s=t.d,a+s==2)return n=uD(e.a[0],xH),r=uD(t.a[0],xH),o==c?(u=sP(n,r),m=RC(u),p=RC(tw(u,32)),p==0?new WD(o,m):new gw(o,2,U(k(q9,1),JV,30,15,[m,p]))):(vz(),Gy(o<0?lP(r,n):lP(n,r),0)?UP(o<0?lP(r,n):lP(n,r)):Mw(UP(gk(o<0?lP(r,n):lP(n,r)))));if(o==c)f=o,d=a>=s?LPe(e.a,a,t.a,s):LPe(t.a,s,e.a,a);else{if(i=a==s?VHe(e.a,t.a,a):a>s?1:-1,i==0)return vz(),SY;i==1?(f=o,d=jNe(e.a,a,t.a,s)):(f=c,d=jNe(t.a,s,e.a,a))}return l=new gw(f,d.length,d),yD(l),l}function got(e,t){var n,r,i,a,o,s,c;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,o=e.w.a.ec().Jc();o.Ob();)i=P(o.Pb(),12),DWe(PM(U(k(o6,1),X,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(s=e.r.a.ec().Jc();s.Ob();)i=P(s.Pb(),12),DWe(PM(U(k(o6,1),X,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(c=t.w.a.ec().Jc();c.Ob();)i=P(c.Pb(),12),DWe(PM(U(k(o6,1),X,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Jc();a.Ob();)i=P(a.Pb(),12),DWe(PM(U(k(o6,1),X,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n<r?new LO(e,t,r-n):r<n?new LO(t,e,n-r):(new LO(t,e,0),new LO(e,t,0))}}function _ot(e){var t=new ml,n=new ml,r,i,a,o,s,c,l=CS(fJ,(i=Az(e.b,pJ),i?tS(VP((!i.b&&(i.b=new Xx((VB(),o9),d9,i)),i.b),mJ)):null)),u;for(c=0;c<e.i;++c)s=P(e.g[c],179),M(s,103)?(o=P(s,19),(o.Bb&sq)==0?(u=QF(o),u&&(u.Bb&sq)!=0||((o.Bb&mV)==0||!l&&(r=Az(o,pJ),(r?tS(VP((!r.b&&(r.b=new Xx((VB(),o9),d9,r)),r.b),Mq)):null)==null))&&XO(n,o)):((o.Bb&mV)==0||!l&&(a=Az(o,pJ),(a?tS(VP((!a.b&&(a.b=new Xx((VB(),o9),d9,a)),a.b),Mq)):null)==null))&&XO(t,o)):(rv(),P(s,69).vk()&&(s.qk()||(XO(t,s),XO(n,s))));lN(t),lN(n),e.a=P(t.g,255),P(n.g,255)}function uB(e,t,n){var r,i,a,o,s,c,l,u,d;if(NP(t,n)>=0)return n;switch(hT(wk(e,n))){case 2:if(CS(``,EN(e,n.ok()).ve())){if(c=DT(wk(e,n)),s=ET(wk(e,n)),u=a8e(e,t,c,s),u)return u;for(i=Att(e,t),o=0,d=i.gc();o<d;++o)if(u=P(i.Xb(o),179),M5e(Nw(wk(e,u)),c))return u}return null;case 4:if(CS(``,EN(e,n.ok()).ve())){for(r=n;r;r=Ake(wk(e,r)))if(l=DT(wk(e,r)),s=ET(wk(e,r)),u=o8e(e,t,l,s),u)return u;if(c=DT(wk(e,n)),CS(IJ,c))return KZe(e,t);for(a=jtt(e,t),o=0,d=a.gc();o<d;++o)if(u=P(a.Xb(o),179),M5e(Nw(wk(e,u)),c))return u}return null;default:return null}}function vot(e,t,n){var r,i,a,o,s,c,l,u;if(n.gc()==0)return!1;if(s=(rv(),P(t,69).vk()),a=s?n:new oA(n.gc()),nz(e.e,t)){if(t.Qi())for(l=n.Jc();l.Ob();)c=l.Pb(),zz(e,t,c,M(t,103)&&(P(t,19).Bb&_H)!=0)||(i=qD(t,c),a.Gc(i)||a.Ec(i));else if(!s)for(l=n.Jc();l.Ob();)c=l.Pb(),i=qD(t,c),a.Ec(i)}else{if(n.gc()>1)throw D(new sg(RJ));for(u=$R(e.e.Ah(),t),r=P(e.g,122),o=0;o<e.i;++o)if(i=r[o],u.$l(i.Jk())){if(n.Gc(s?i:i.kd()))return!1;for(l=n.Jc();l.Ob();)c=l.Pb(),P(WF(e,o,s?P(c,75):qD(t,c)),75);return!0}s||(i=qD(t,n.Jc().Pb()),a.Ec(i))}return zw(e,a)}function yot(e,t){var n,i,a,o,s,c,l,u,d=new E_;for(c=(u=new om(e.c).a.vc().Jc(),new sm(u));c.a.Ob();)o=(a=P(c.a.Pb(),45),P(a.kd(),456)),o.b==0&&iO(d,o,d.c.b,d.c);for(;d.b!=0;)for(o=P(d.b==0?null:(Bx(d.b!=0),aA(d,d.a.a)),456),o.a??=0,i=new E(o.d);i.a<i.c.c.length;)n=P(z(i),652),n.b.a==null?n.b.a=O(o.a)+n.a:t.o==(TE(),L2)?n.b.a=r.Math.min(O(n.b.a),O(o.a)+n.a):n.b.a=r.Math.max(O(n.b.a),O(o.a)+n.a),--n.b.b,n.b.b==0&&pC(d,n.b);for(s=(l=new om(e.c).a.vc().Jc(),new sm(l));s.a.Ob();)o=(a=P(s.a.Pb(),45),P(a.kd(),456)),t.i[o.c.p]=o.a}function bot(e,t,n,i){var a,o,s,c,l,u,d=n+t.c.c.a,f,p,m,h;for(m=new E(t.j);m.a<m.c.c.length;){if(p=P(z(m),12),a=PM(U(k(o6,1),X,8,0,[p.i.n,p.n,p.a])),t.k==(MR(),UX)&&(c=P(K(p,(Y(),T$)),12),a.a=PM(U(k(o6,1),X,8,0,[c.i.n,c.n,c.a])).a,t.n.a=a.a),s=new A(0,a.b),p.j==(wB(),p5))s.a=d;else if(p.j==N5)s.a=n;else continue;if(h=r.Math.abs(a.a-s.a),!(h<=i&&!uZe(t)))for(o=p.g.c.length+p.e.c.length>1,u=new IO(p.b);Hb(u.a)||Hb(u.b);)l=P(Hb(u.a)?z(u.a):z(u.b),17),f=l.c==p?l.d:l.c,r.Math.abs(PM(U(k(o6,1),X,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&M7e(e,l,s,o,p)}}function xot(e){var t,n,i,a=new bD(e.e,0),o,s;if(i=new bD(e.a,0),e.d)for(n=0;n<e.b;n++)Bx(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(n=0;n<e.b-1;n++)Bx(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),nT(a);for(t=O((Bx(a.b<a.d.gc()),N(a.d.Xb(a.c=a.b++))));e.f-t>qG;){for(o=t,s=0;r.Math.abs(t-o)<qG;)++s,t=O((Bx(a.b<a.d.gc()),N(a.d.Xb(a.c=a.b++)))),Bx(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);s<e.b&&(Bx(a.b>0),a.a.Xb(a.c=--a.b),Frt(e,e.b-s,o,i,a),Bx(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),Bx(i.b>0),i.a.Xb(i.c=--i.b)}if(!e.d)for(n=0;n<e.b-1;n++)Bx(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),nT(a);e.d=!0,e.c=!0}function dB(){dB=C,uVt=(ese(),x9).b,fVt=P(H(R(x9.b),0),38),S9=P(H(R(x9.b),1),38),dVt=P(H(R(x9.b),2),38),C9=x9.bb,P(H(R(x9.bb),0),38),P(H(R(x9.bb),1),38),w9=x9.fb,T9=P(H(R(x9.fb),0),38),P(H(R(x9.fb),1),38),P(H(R(x9.fb),2),19),E9=x9.qb,wVt=P(H(R(x9.qb),0),38),P(H(R(x9.qb),1),19),P(H(R(x9.qb),2),19),D9=P(H(R(x9.qb),3),38),O9=P(H(R(x9.qb),4),38),A9=P(H(R(x9.qb),6),38),k9=P(H(R(x9.qb),5),19),pVt=x9.j,mVt=x9.k,hVt=x9.q,gVt=x9.w,_Vt=x9.B,vVt=x9.A,yVt=x9.C,bVt=x9.D,xVt=x9._,SVt=x9.cb,CVt=x9.hb}function Sot(e,t,n){var i,a,o,s,c,l,u,d,f,p,m;e.c=0,e.b=0,i=2*t.c.a.c.length+1;o:for(f=n.Jc();f.Ob();){if(d=P(f.Pb(),12),c=d.j==(wB(),m5)||d.j==j5,m=0,c){if(p=P(K(d,(Y(),O$)),9),!p)continue;m+=uet(e,i,d,p)}else{for(u=new E(d.g);u.a<u.c.c.length;)if(l=P(z(u),17),a=l.d,a.i.c==t.c){$b(e.a,d);continue o}else m+=e.g[a.p];for(s=new E(d.e);s.a<s.c.c.length;)if(o=P(z(s),17),a=o.c,a.i.c==t.c){$b(e.a,d);continue o}else m-=e.g[a.p]}d.e.c.length+d.g.c.length>0?(e.f[d.p]=m/(d.e.c.length+d.g.c.length),e.c=r.Math.min(e.c,e.f[d.p]),e.b=r.Math.max(e.b,e.f[d.p])):c&&(e.f[d.p]=m)}}function Cot(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 wot(e,t,n){var r,i,a,o;for(n.Tg(`Graph transformation (`+e.a+`)`,1),o=pD(t.a),a=new E(t.b);a.a<a.c.c.length;)i=P(z(a),25),pM(o,i.a);if(r=P(K(t,(PB(),Dkt)),419),r==(Jk(),pQ))switch(P(K(t,T1),86).g){case 2:FD(t,o);break;case 3:WP(t,o);break;case 4:e.a==(sj(),qX)?(WP(t,o),ID(t,o)):(ID(t,o),WP(t,o))}else if(e.a==(sj(),qX))switch(P(K(t,T1),86).g){case 2:FD(t,o),ID(t,o);break;case 3:WP(t,o),FD(t,o);break;case 4:FD(t,o),WP(t,o)}else switch(P(K(t,T1),86).g){case 2:FD(t,o),ID(t,o);break;case 3:FD(t,o),WP(t,o);break;case 4:WP(t,o),FD(t,o)}n.Ug()}function Tot(e){var t,n,i,a,o,s,c,l;for(o=new E(e.a.b);o.a<o.c.c.length;)a=P(z(o),82),a.b.c=a.g.c,a.b.d=a.g.d;for(l=new A(pH,pH),t=new A(mH,mH),i=new E(e.a.b);i.a<i.c.c.length;)n=P(z(i),82),l.a=r.Math.min(l.a,n.g.c),l.b=r.Math.min(l.b,n.g.d),t.a=r.Math.max(t.a,n.g.c+n.g.b),t.b=r.Math.max(t.b,n.g.d+n.g.a);for(c=Gw(e.c).a.nc();c.Ob();)s=P(c.Pb(),49),n=P(s.b,82),l.a=r.Math.min(l.a,n.g.c),l.b=r.Math.min(l.b,n.g.d),t.a=r.Math.max(t.a,n.g.c+n.g.b),t.b=r.Math.max(t.b,n.g.d+n.g.a);e.d=Yx(new A(l.a,l.b)),e.e=TS(new A(t.a,t.b),l),e.a.a.c.length=0,e.a.b.c.length=0}function Eot(e){Kk();var t,n,r,i,a,o,s=new wie;for(n=new E(e);n.a<n.c.c.length;)t=P(z(n),146),(!s.b||t.c>=s.b.c)&&(s.b=t),(!s.c||t.c<=s.c.c)&&(s.d=s.c,s.c=t),(!s.e||t.d>=s.e.d)&&(s.e=t),(!s.f||t.d<=s.f.d)&&(s.f=t);return r=new NF((xM(),EX)),xD(e,OCt,new dg(U(k(TX,1),$B,377,0,[r]))),o=new NF(kX),xD(e,DCt,new dg(U(k(TX,1),$B,377,0,[o]))),i=new NF(DX),xD(e,ECt,new dg(U(k(TX,1),$B,377,0,[i]))),a=new NF(OX),xD(e,TCt,new dg(U(k(TX,1),$B,377,0,[a]))),l5e(r.c,EX),l5e(i.c,DX),l5e(a.c,OX),l5e(o.c,kX),s.a.c.length=0,pM(s.a,r.c),pM(s.a,AP(i.c)),pM(s.a,a.c),pM(s.a,AP(o.c)),s}function Dot(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h;for(t.Tg(Uht,1),m=O(N(J(e,(fz(),u3)))),s=O(N(J(e,(uz(),v3)))),c=P(J(e,_3),104),Sze((!e.a&&(e.a=new F(p7,e,10,11)),e.a)),d=kat((!e.a&&(e.a=new F(p7,e,10,11)),e.a),m,s),!e.a&&(e.a=new F(p7,e,10,11)),u=new E(d);u.a<u.c.c.length;)for(l=P(z(u),186),a=new E(l.a);a.a<a.c.c.length;)i=P(z(a),173),p=new UDe(i.s,i.t,O(N(J(e,v3)))),yBe(p,i),$b(l.d,p);f=LXe(d,s),h=r.Math.max(f.a,O(N(J(e,c3)))-(c.b+c.c)),o=r.Math.max(f.b,O(N(J(e,a3)))-(c.d+c.a)),n=o-f.b,IF(e,n3,n),IF(e,i3,h),IF(e,r3,o+n),IF(e,l3,d),t.Ug()}function Oot(e,t,n){var r,i,a,o,s,c,l=new pb,u=new pb,d,p,m,h=new pb,g=new pb;for(c=O(N(K(t,(PB(),k0)))),a=O(N(K(t,y0))),s=new E(n);s.a<s.c.c.length;)if(o=P(z(s),9),d=P(K(o,(Y(),s$)),64),d==(wB(),m5))for(u.a.yc(o,u),i=new XC(dx(uP(o).a.Jc(),new f));CR(i);)r=P(CO(i),17),Tw(l,r.c.i);else if(d==j5)for(g.a.yc(o,g),i=new XC(dx(uP(o).a.Jc(),new f));CR(i);)r=P(CO(i),17),Tw(h,r.c.i);l.a.gc()!=0&&(p=new Iw(2,a),m=fst(p,t,l,u,-c-t.c.b),m>0&&(e.a=c+(m-1)*a,t.c.b+=e.a,t.f.b+=e.a)),h.a.gc()!=0&&(p=new Iw(1,a),m=fst(p,t,h,g,t.f.b+c-t.c.b),m>0&&(t.f.b+=c+(m-1)*a))}function kot(e,t,n){var i,a,o,s,c,l,u,d=O(N(K(e,(PB(),S0)))),f,p,m,h,g,_,v,y,b,x;for(i=O(N(K(e,gAt))),p=new Vc,W(p,S0,d+i),u=t,v=u.d,g=u.c.i,y=u.d.i,_=ufe(g.c),b=ufe(y.c),a=new ah,f=_;f<=b;f++)c=new tI(e),Tp(c,(MR(),BX)),W(c,(Y(),T$),u),W(c,l0,(iL(),t5)),W(c,w0,p),m=P(AC(e.b,f),25),f==_?jI(c,m.a.c.length-n,m):BE(c,m),x=O(N(K(u,N1))),x<0&&(x=0,W(u,N1,x)),c.o.b=x,h=r.Math.floor(x/2),s=new jL,tR(s,(wB(),N5)),HE(s,c),s.n.b=h,l=new jL,tR(l,p5),HE(l,c),l.n.b=h,VE(u,s),o=new rE,Xj(o,u),W(o,z1,null),zE(o,l),VE(o,v),bZe(c,u,o),ph(a.c,o),u=o;return a}function Aot(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h=t.b.c.length,g,_,v,y;if(!(h<3)){for(p=V(q9,JV,30,h,15,1),d=0,u=new E(t.b);u.a<u.c.c.length;)l=P(z(u),25),p[d++]=l.a.c.length;for(f=new bD(t.b,2),r=1;r<h-1;r++)for(n=(Bx(f.b<f.d.gc()),P(f.d.Xb(f.c=f.b++),25)),m=new E(n.a),a=0,s=0,c=0;c<p[r+1];c++)if(y=P(z(m),9),c==p[r+1]-1||j0e(e,y,r+1,r)){for(o=p[r]-1,j0e(e,y,r+1,r)&&(o=e.c.e[P(P(P(AC(e.c.b,y.p),16).Xb(0),49).a,9).p]);s<=c;){if(v=P(AC(n.a,s),9),!j0e(e,v,r+1,r))for(_=P(AC(e.c.b,v.p),16).Jc();_.Ob();)g=P(_.Pb(),49),i=e.c.e[P(g.a,9).p],(i<a||i>o)&&Tw(e.b,P(g.b,17));++s}a=o}}}function fB(e,t){var n,r,i,a,o,s,c=P(NL(e,(wB(),N5)).Jc().Pb(),12).e,l,u,d,f,p=P(NL(e,p5).Jc().Pb(),12).g,m,h,g,_,v,y;for(s=c.c.length,y=aD(P(AC(e.j,0),12));s-- >0;){for(h=(oD(0,c.c.length),P(c.c[0],17)),i=(oD(0,p.c.length),P(p.c[0],17)),v=i.d.e,a=vk(v,i,0),$Ae(h,i.d,a),zE(i,null),VE(i,null),m=h.a,t&&pC(m,new mb(y)),r=TF(i.a,0);r.b!=r.d.c;)n=P(RD(r),8),pC(m,new mb(n));for(_=h.b,f=new E(i.b);f.a<f.c.c.length;)d=P(z(f),70),ph(_.c,d);if(g=P(K(h,(PB(),z1)),78),o=P(K(i,z1),78),o)for(g||(g=new Rh,W(h,z1,g)),u=TF(o,0);u.b!=u.d.c;)l=P(RD(u),8),pC(g,new mb(l))}}function jot(e,t){var n,r,i,a,o,s,c,l;for(t.Tg(`Sort By Input Model `+K(e,(PB(),g1)),1),a=0,i=new E(e.b);i.a<i.c.c.length;){for(r=P(z(i),25),r.p=a,l=a==0?0:a-1,c=P(AC(e.b,l),25),n=new ZBe(e,c,P(K(e,g1),269),P(K(e,p1),352),(P(K(e,u1),329),!0)),d8e(r.a,n),s=new E(r.a);s.a<s.c.c.length;)o=P(z(s),9),j(K(o,l0))!==j((iL(),e5))&&j(K(o,l0))!==j(t5)&&(KT(),Vb(o.j,new TGe(e,c,P(K(e,g1),269),WXe(o),hg(eS(K(e,h1))))),t.ah(`Node `+o+` ports: `+o.j));n=new ZBe(e,c,P(K(e,g1),269),P(K(e,p1),352),(P(K(e,u1),329),!1)),d8e(r.a,n),t.ah(`Layer `+a+`: `+r),++a}t.Ug()}function Mot(e,t){var n;if(t==null||CS(t,eV)||t.length==0&&e.k!=(BL(),t6))return null;switch(e.k.g){case 1:return lF(t,BK)?(mx(),lY):lF(t,VK)?(mx(),cY):null;case 2:try{return G(Ez(t,LV,JB))}catch(e){if(e=hM(e),M(e,131))return null;throw D(e)}case 4:try{return OL(t)}catch(e){if(e=hM(e),M(e,131))return null;throw D(e)}case 3:return t;case 5:return rUe(e),X4e(e,t);case 6:return rUe(e),j8e(e,e.a,t);case 7:try{return n=X3e(e),n.ag(t),n}catch(e){if(e=hM(e),M(e,32))return null;throw D(e)}default:throw D(new cg(`Invalid type set for this layout option.`))}}function Not(e){var t;switch(e.d){case 1:if(e.Qj())return e.o!=-2;break;case 2:if(e.Qj())return e.o==-2;break;case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.Pj(),e.p){case 0:return t!=null&&hg(eS(t))!=Ky(e.k,0);case 1:return t!=null&&P(t,221).a!=RC(e.k)<<24>>24;case 2:return t!=null&&P(t,180).a!=(RC(e.k)&VV);case 6:return t!=null&&Ky(P(t,190).a,e.k);case 5:return t!=null&&P(t,15).a!=RC(e.k);case 7:return t!=null&&P(t,191).a!=RC(e.k)<<16>>16;case 3:return t!=null&&O(N(t))!=e.j;case 4:return t!=null&&P(t,164).a!=e.j;default:return t==null?e.n!=null:!DN(t,e.n)}}function pB(e,t,n){var r,i,a,o;return e.ml()&&e.ll()&&(o=uw(e,P(n,57)),j(o)!==j(n))?(e.vj(t),e.Bj(t,AFe(e,t,o)),e.$k()&&(a=(i=P(n,52),e.kl()?e.il()?i.Qh(e.b,QF(P(eA(lE(e.b),e.Jj()),19)).n,P(eA(lE(e.b),e.Jj()).Fk(),29).ik(),null):i.Qh(e.b,NP(i.Ah(),QF(P(eA(lE(e.b),e.Jj()),19))),null,null):i.Qh(e.b,-1-e.Jj(),null,null)),!P(o,52).Mh()&&(a=(r=P(o,52),e.kl()?e.il()?r.Oh(e.b,QF(P(eA(lE(e.b),e.Jj()),19)).n,P(eA(lE(e.b),e.Jj()).Fk(),29).ik(),a):r.Oh(e.b,NP(r.Ah(),QF(P(eA(lE(e.b),e.Jj()),19))),null,a):r.Oh(e.b,-1-e.Jj(),null,a))),a&&a.mj()),gb(e.b)&&e.Hj(e.Gj(9,n,o,t,!1)),o):n}function Pot(e){var t,n,r=new ah,i,a,o,s,c,l,u;for(o=new E(e.e.a);o.a<o.c.c.length;){for(i=P(z(o),124),u=0,i.k.c.length=0,n=new E(cN(i));n.a<n.c.c.length;)t=P(z(n),217),t.f&&($b(i.k,t),++u);u==1&&ph(r.c,i)}for(a=new E(r);a.a<a.c.c.length;)for(i=P(z(a),124);i.k.c.length==1;){for(l=P(z(new E(i.k)),217),e.b[l.c]=l.g,s=l.d,c=l.e,n=new E(cN(i));n.a<n.c.c.length;)t=P(z(n),217),DN(t,l)||(t.f?s==t.d||c==t.e?e.b[l.c]-=e.b[t.c]-t.g:e.b[l.c]+=e.b[t.c]-t.g:i==s?t.d==i?e.b[l.c]+=t.g:e.b[l.c]-=t.g:t.d==i?e.b[l.c]-=t.g:e.b[l.c]+=t.g);_k(s.k,l),_k(c.k,l),i=s==i?l.e:l.d}}function Fot(e,t){var n=P(CT(e.b,t),127),i,a,o,s,c,l=P(P(DO(e.r,t),22),83),u,d,f,p,m;if(l.dc()){n.n.b=0,n.n.c=0;return}for(u=e.u.Gc((rR(),c5)),s=0,c=l.Jc(),d=null,f=0,p=0;c.Ob();)i=P(c.Pb(),115),a=O(N(i.b.mf((Ex(),qY)))),o=i.b.Kf().a,e.A.Gc((tF(),z5))&&Met(e,t),d?(m=p+d.d.c+e.w+i.d.b,s=r.Math.max(s,(Ib(),RA(eU),r.Math.abs(f-a)<=eU||f==a||isNaN(f)&&isNaN(a)?0:m/(a-f)))):e.C&&e.C.b>0&&(s=r.Math.max(s,Yze(e.C.b+i.d.b,a))),d=i,f=a,p=o;e.C&&e.C.c>0&&(m=p+e.C.c,u&&(m+=d.d.c),s=r.Math.max(s,(Ib(),RA(eU),r.Math.abs(f-1)<=eU||f==1?0:m/(1-f)))),n.n.b=0,n.a.a=s}function Iot(e,t){var n=P(CT(e.b,t),127),i,a,o,s,c,l=P(P(DO(e.r,t),22),83),u,d,f,p,m;if(l.dc()){n.n.d=0,n.n.a=0;return}for(u=e.u.Gc((rR(),c5)),s=0,e.A.Gc((tF(),z5))&&Net(e,t),c=l.Jc(),d=null,p=0,f=0;c.Ob();)i=P(c.Pb(),115),o=O(N(i.b.mf((Ex(),qY)))),a=i.b.Kf().b,d?(m=f+d.d.a+e.w+i.d.d,s=r.Math.max(s,(Ib(),RA(eU),r.Math.abs(p-o)<=eU||p==o||isNaN(p)&&isNaN(o)?0:m/(o-p)))):e.C&&e.C.d>0&&(s=r.Math.max(s,Yze(e.C.d+i.d.d,o))),d=i,p=o,f=a;e.C&&e.C.a>0&&(m=f+e.C.a,u&&(m+=d.d.a),s=r.Math.max(s,(Ib(),RA(eU),r.Math.abs(p-1)<=eU||p==1?0:m/(1-p)))),n.n.d=0,n.a.b=s}function Lot(e,t,n){var r,i,a,o,s,c;for(this.g=e,s=t.d.length,c=n.d.length,this.d=V(IX,tW,9,s+c,0,1),o=0;o<s;o++)this.d[o]=t.d[o];for(a=0;a<c;a++)this.d[s+a]=n.d[a];if(t.e){if(this.e=$S(t.e),this.e.Kc(n),n.e)for(i=n.e.Jc();i.Ob();)r=P(i.Pb(),239),r!=t&&(this.e.Gc(r)?--r.c:this.e.Ec(r))}else n.e&&(this.e=$S(n.e),this.e.Kc(t));this.f=t.f+n.f,this.a=t.a+n.a,this.a>0?cA(this,this.f/this.a):ex(t.g,t.d[0]).a!=null&&ex(n.g,n.d[0]).a!=null?cA(this,(O(ex(t.g,t.d[0]).a)+O(ex(n.g,n.d[0]).a))/2):ex(t.g,t.d[0]).a==null?ex(n.g,n.d[0]).a!=null&&cA(this,ex(n.g,n.d[0]).a):cA(this,ex(t.g,t.d[0]).a)}function Rot(e,t,n,r,i,a,o,s){var c,l,u,d,f,p,m=!1,h,g,_;if(l=H5e(n.q,t.f+t.b-n.q.f),p=r.f>t.b&&s,_=i-(n.q.e+l-o),d=(c=Jz(r,_,!1),c.a),p&&d>r.f)return!1;if(p){for(f=0,g=new E(t.d);g.a<g.c.c.length;)h=P(z(g),319),f+=H5e(h,r.f)+o;_=i-f}return _<r.g||(u=a==e.c.length-1&&_>=(oD(a,e.c.length),P(e.c[a],186)).e,!p&&d>t.b&&!u)?!1:((u||p||d<=t.b)&&(u&&d>t.b?(n.d=d,tk(n,y0e(n,d))):(AQe(n.q,l),n.c=!0),tk(r,i-(n.s+n.r)),qF(r,n.q.e+n.q.d,t.f),JA(t,r),e.c.length>a&&(II((oD(a,e.c.length),P(e.c[a],186)),r),(oD(a,e.c.length),P(e.c[a],186)).a.c.length==0&&MO(e,a)),m=!0),m)}function zot(e,t){var n,r,i,a,o,s,c,l,u,d;for(e.a=new Fwe(oHe(b8)),r=new E(t.a);r.a<r.c.c.length;){for(n=P(z(r),839),s=new pF(U(k(xX,1),$B,82,0,[])),$b(e.a.a,s),l=new E(n.d);l.a<l.c.c.length;)c=P(z(l),119),u=new Zme(e,c),gst(u,P(K(n.c,(Y(),i$)),22)),bw(e.g,n)||(ST(e.g,n,new A(c.c,c.d)),ST(e.f,n,u)),$b(e.a.b,u),vD(s,u);for(o=new E(n.b);o.a<o.c.c.length;)a=P(z(o),591),u=new Zme(e,a.Bf()),ST(e.b,a,new My(s,u)),gst(u,P(K(n.c,(Y(),i$)),22)),a.zf()&&(d=new kqe(e,a.zf(),1),gst(d,P(K(n.c,i$),22)),i=new pF(U(k(xX,1),$B,82,0,[])),vD(i,d),fR(e.c,a.yf(),new My(s,d)))}return e.a}function Bot(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;for(n.Tg(`Breadth-first cycle removal`,1),e.c=t,d=t.a,e.a=new E_,e.e=new Dh,e.d=new Dh,e.f=V(J9,qH,30,d.c.length,16,1),e.b=new ah,s=0,u=new E(d);u.a<u.c.c.length;)l=P(z(u),9),l.p=s,zD(uP(l))&&Tw(e.e,l),zD(fP(l))&&Tw(e.d,l),++s;for(p=e.e.a.ec().Jc();p.Ob();)f=P(p.Pb(),9),pC(e.a,f),Mwe(e);for(Mwe(e),r=!0;r;){for(r=!1,o=0;o<d.c.length;o++)if(!e.f[o]){c=(oD(o,d.c.length),P(d.c[o],9)),pC(e.a,c),r=!0;break}Mwe(e)}for(a=new E(e.b);a.a<a.c.c.length;)i=P(z(a),17),Bz(i,!0),W(t,(Y(),e$),(mx(),!0));e.e=null,e.f=null,e.a=null,e.b=null,n.Ug()}function Vot(e,t,n){var r,i,a,o=n.Jk(),s,c,l,u,d,f,p,m,h,g;if(M(o,103)&&(P(o,19).Bb&_H)!=0&&(f=P(n.kd(),52),h=bN(e.e,f),h!=f)){if(u=qD(o,h),rx(e,t,oL(e,t,u)),d=null,gb(e.e)&&(r=uB((HL(),p9),e.e.Ah(),o),r!=eA(e.e.Ah(),e.c))){for(g=$R(e.e.Ah(),o),s=0,a=P(e.g,122),c=0;c<t;++c)i=a[c],g.$l(i.Jk())&&++s;d=new eO(e.e,9,r,f,h,s,!1),d.lj(new Gk(e.e,9,e.c,n,u,t,!1))}return m=P(o,19),p=QF(m),p?(d=f.Qh(e.e,NP(f.Ah(),p),null,d),d=P(h,52).Oh(e.e,NP(h.Ah(),p),null,d)):(m.Bb&sq)!=0&&(l=-1-NP(e.e.Ah(),m),d=f.Qh(e.e,l,null,null),!P(h,52).Mh()&&(d=P(h,52).Oh(e.e,l,null,d))),d&&d.mj(),u}return n}function Hot(e){var t;this.a=e,t=(MR(),U(k(GX,1),Z,249,0,[HX,BX,RX,UX,zX,LX,WX,VX])).length,this.b=CC(G3,[X,Fmt],[590,147],0,[t,t],2),this.c=CC(G3,[X,Fmt],[590,147],0,[t,t],2),KEe(this,HX,(PB(),k0),A0),$j(this,HX,BX,S0,C0),nE(this,HX,UX,S0),nE(this,HX,RX,S0),$j(this,HX,zX,k0,A0),KEe(this,BX,y0,b0),nE(this,BX,UX,y0),nE(this,BX,RX,y0),$j(this,BX,zX,S0,C0),Hfe(this,UX,y0),nE(this,UX,RX,y0),nE(this,UX,zX,E0),Hfe(this,RX,N0),$j(this,RX,zX,O0,D0),KEe(this,zX,y0,y0),KEe(this,LX,y0,b0),$j(this,LX,HX,S0,C0),$j(this,LX,zX,S0,C0),$j(this,LX,BX,S0,C0)}function Uot(e,t,n,r,i,a){var o;if(!(t==null||!DP(t,fBt,pBt)))throw D(new sg(`invalid scheme: `+t));if(!e&&!(n!=null&&sb(n,hL(35))==-1&&n.length>0&&(sD(0,n.length),n.charCodeAt(0)!=47)))throw D(new sg(`invalid opaquePart: `+n));if(e&&!(t!=null&&S_(A7,t.toLowerCase()))&&!(n==null||!DP(n,O7,k7))||e&&t!=null&&S_(A7,t.toLowerCase())&&!GQe(n))throw D(new sg(ivt+n));if(!IGe(r))throw D(new sg(`invalid device: `+r));if(!jUe(i))throw o=i==null?`invalid segments: null`:`invalid segment: `+fUe(i),D(new sg(o));if(!(a==null||sb(a,hL(35))==-1))throw D(new sg(`invalid query: `+a))}function Wot(e,t,n){var r,i,a,o,s,c,l,u,d,f=new mb(e.o),p,m,h,g,_=t.a/f.a;if(s=t.b/f.b,h=t.a-f.a,a=t.b-f.b,n)for(i=j(K(e,(PB(),l0)))===j((iL(),t5)),m=new E(e.j);m.a<m.c.c.length;)switch(p=P(z(m),12),p.j.g){case 1:i||(p.n.a*=_);break;case 2:p.n.a+=h,i||(p.n.b*=s);break;case 3:i||(p.n.a*=_),p.n.b+=a;break;case 4:i||(p.n.b*=s)}for(l=new E(e.b);l.a<l.c.c.length;)c=P(z(l),70),u=c.n.a+c.o.a/2,d=c.n.b+c.o.b/2,g=u/f.a,o=d/f.b,g+o>=1&&(g-o>0&&d>=0?(c.n.a+=h,c.n.b+=a*o):g-o<0&&u>=0&&(c.n.a+=h*g,c.n.b+=a));e.o.a=t.a,e.o.b=t.b,W(e,(PB(),t0),(tF(),r=P(t_(B5),10),new FS(r,P(gS(r,r.length),10),0)))}function Got(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v;if(n.Tg(`Network simplex layering`,1),e.b=t,v=P(K(t,(PB(),P0)),15).a*4,_=e.b.a,_.c.length<1){n.Ug();return}for(o=Mtt(e,_),g=null,a=TF(o,0);a.b!=a.d.c;){for(i=P(RD(a),16),c=v*xE(r.Math.sqrt(i.gc())),s=snt(i),Jtt(Soe(Eoe(Coe(RS(s),c),g),!0),n.dh(1)),p=e.b.b,h=new E(s.a);h.a<h.c.c.length;){for(m=P(z(h),124);p.c.length<=m.e;)BC(p,p.c.length,new tT(e.b));d=P(m.f,9),BE(d,P(AC(p,m.e),25))}if(o.b>1)for(g=V(q9,JV,30,e.b.b.c.length,15,1),f=0,u=new E(e.b.b);u.a<u.c.c.length;)l=P(z(u),25),g[f++]=l.a.c.length}_.c.length=0,e.a=null,e.b=null,e.c=null,n.Ug()}function Kot(e,t){var n,r,i,a,o,s,c,l,u=new ah,d=new Zb;for(a=null,i=0,r=0;r<t.length;++r)switch(n=t[r],HHe(a,n)&&(i=VGe(e,d,u,A2,i)),Kx(n,(Y(),m$))&&(a=P(K(n,m$),9)),n.k.g){case 0:for(c=Bfe(ZS(rP(n,(wB(),m5)),new Ba));nj(c);)o=P(cIe(c),12),e.d[o.p]=i++,ph(u.c,o);for(i=VGe(e,d,u,A2,i),l=Bfe(ZS(rP(n,j5),new Ba));nj(l);)o=P(cIe(l),12),e.d[o.p]=i++,ph(u.c,o);break;case 3:rP(n,Ijt).dc()||(o=P(rP(n,Ijt).Xb(0),12),e.d[o.p]=i++,ph(u.c,o)),rP(n,A2).dc()||LD(d,n);break;case 1:for(s=rP(n,(wB(),N5)).Jc();s.Ob();)o=P(s.Pb(),12),e.d[o.p]=i++,ph(u.c,o);rP(n,p5).Ic(new due(d,n))}return VGe(e,d,u,A2,i),u}function qot(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(t==null||t.length==0)return null;if(a=P(vE(e.f,t),21),!a){for(i=(p=new om(e.d).a.vc().Jc(),new sm(p));i.a.Ob();)if(n=(o=P(i.a.Pb(),45),P(o.kd(),21)),s=n.f,m=t.length,CS(s.substr(s.length-m,m),t)&&(t.length==s.length||wT(s,s.length-t.length-1)==46)){if(a)return null;a=n}if(!a){for(r=(f=new om(e.d).a.vc().Jc(),new sm(f));r.a.Ob();)if(n=(o=P(r.a.Pb(),45),P(o.kd(),21)),d=n.g,d!=null){for(c=d,l=0,u=c.length;l<u;++l)if(s=c[l],m=t.length,CS(s.substr(s.length-m,m),t)&&(t.length==s.length||wT(s,s.length-t.length-1)==46)){if(a)return null;a=n}}}a&&LE(e.f,t,a)}return a}function Jot(e,t){var n=new kg,r,i,a,o=!1;for(a=0;a<t.length;a++){if(r=(sD(a,t.length),t.charCodeAt(a)),r==32){for(vF(e,n,0),n.a+=` `,vF(e,n,0);a+1<t.length&&(sD(a+1,t.length),t.charCodeAt(a+1)==32);)++a;continue}if(o){r==39?a+1<t.length&&(sD(a+1,t.length),t.charCodeAt(a+1)==39)?(n.a+=String.fromCharCode(r),++a):o=!1:n.a+=String.fromCharCode(r);continue}if(sb(`GyMLdkHmsSEcDahKzZv`,hL(r))>0){vF(e,n,0),n.a+=String.fromCharCode(r),i=mqe(t,a),vF(e,n,i),a+=i-1;continue}r==39?a+1<t.length&&(sD(a+1,t.length),t.charCodeAt(a+1)==39)?(n.a+=`'`,++a):o=!0:n.a+=String.fromCharCode(r)}vF(e,n,0),D$e(e)}function Yot(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=Lbe(e);for(c=new ah,a=e.c.length,l=a-1,u=a+1;y.a.gc()!=0;){for(;n.b!=0;)_=(Bx(n.b!=0),P(aA(n,n.a.a),116)),y.a.Ac(_),_.g=l--,Mrt(_,t,n,r);for(;t.b!=0;)v=(Bx(t.b!=0),P(aA(t,t.a.a),116)),y.a.Ac(v),v.g=u++,Mrt(v,t,n,r);for(s=LV,h=y.a.ec().Jc();h.Ob();){if(m=P(h.Pb(),116),!r&&m.b>0&&m.a<=0){c.c.length=0,ph(c.c,m);break}p=m.i-m.d,p>=s&&(p>s&&(c.c.length=0,s=p),ph(c.c,m))}c.c.length!=0&&(o=P(AC(c,KF(i,c.c.length)),116),y.a.Ac(o),o.g=u++,Mrt(o,t,n,r),c.c.length=0)}for(g=e.c.length+1,f=new E(e);f.a<f.c.c.length;)d=P(z(f),116),d.g<a&&(d.g+=g)}function Xot(e,t,n){var i,a,o,s,c,l,u=BG,d,p,m,h,g,_,v,y;for(l=zG,y=new ah,g=new E(t);g.a<g.c.c.length;){for(h=P(z(g),9),a=new ah,c=new XC(dx(uP(h).a.Jc(),new f));CR(c);)o=P(CO(c),17),v=o.d.i,_=o.c.i,v.c.p==n&&ph(a.c,v),_.c.p==n&&ph(a.c,_);for(s=new XC(dx(fP(h).a.Jc(),new f));CR(s);)o=P(CO(s),17),v=o.d.i,_=o.c.i,v.c.p==n&&ph(a.c,v),_.c.p==n&&ph(a.c,_);a.c.length==0?ph(y.c,h):(KT(),Vb(a,e.b),m=O(N(K(P(AC(a,a.c.length/2|0),9),(Y(),K$)))),W(h,K$,m),u=r.Math.min(u,m),l=r.Math.max(l,m))}for(i=(l+u)/2,p=new E(y);p.a<p.c.c.length;)d=P(z(p),9),W(d,(Y(),K$),i)}function Zot(e,t){var n,r,i,a,o,s,c,l,u,d,f;for(i=new E(e.a.b);i.a<i.c.c.length;)for(n=P(z(i),25),c=new E(n.a);c.a<c.c.c.length;)s=P(z(c),9),t.j[s.p]=s,t.i[s.p]=t.o==(TE(),R2)?mH:pH;for(aw(e.c),o=e.a.b,t.c==(wE(),F2)&&(o=AP(o)),OAe(e.e,t,e.b),sv(t.p,null),a=o.Jc();a.Ob();)for(n=P(a.Pb(),25),l=n.a,t.o==(TE(),R2)&&(l=AP(l)),f=l.Jc();f.Ob();)d=P(f.Pb(),9),t.g[d.p]==d&&Dlt(e,d,t);for(yot(e,t),r=o.Jc();r.Ob();)for(n=P(r.Pb(),25),f=new E(n.a);f.a<f.c.c.length;)d=P(z(f),9),t.p[d.p]=t.p[t.g[d.p].p],d==t.g[d.p]&&(u=O(t.i[t.j[d.p].p]),(t.o==(TE(),R2)&&u>mH||t.o==L2&&u<pH)&&(t.p[d.p]=O(t.p[d.p])+u));e.e.wg()}function Qot(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(hg(eS(K(n,(PB(),L1)))))for(s=new E(n.j);s.a<s.c.c.length;)for(o=P(z(s),12),f=SD(o.g),l=f,u=0,d=l.length;u<d;++u)c=l[u],a=c.d.i==n,i=a&&hg(eS(K(c,R1))),i&&(m=c.c,p=P(Zw(e.b,m),9),p||(p=OB(m,(iL(),i5),m.j,-1,null,null,m.o,P(K(t,T1),86),t),W(p,(Y(),T$),m),ST(e.b,m,p),$b(t.a,p)),g=c.d,h=P(Zw(e.b,g),9),h||(h=OB(g,(iL(),i5),g.j,1,null,null,g.o,P(K(t,T1),86),t),W(h,(Y(),T$),g),ST(e.b,g,h),$b(t.a,h)),r=TO(c),zE(r,P(AC(p.j,0),12)),VE(r,P(AC(h.j,0),12)),fR(e.a,c,new GS(r,t,(VA(),m2))),P(K(t,(Y(),l$)),22).Ec((oz(),AQ)))}function $ot(e,t,n,r,i){var a=new ah,o,s,c,l,u,d,f,p,m,h,g;for(l=new E(r);l.a<l.c.c.length;)if(s=P(z(l),444),o=null,s.f==(VA(),m2))for(m=new E(s.e);m.a<m.c.c.length;)p=P(z(m),17),g=p.d.i,lT(g)==t?wLe(e,t,s,p,s.b,p.d):!n||zj(g,n)?P1e(e,t,s,r,p):(f=yat(e,t,n,p,s.b,m2,o),f!=o&&ph(a.c,f),f.c&&(o=f));else for(d=new E(s.e);d.a<d.c.c.length;)if(u=P(z(d),17),h=u.c.i,lT(h)==t)wLe(e,t,s,u,u.c,s.b);else if(!n||zj(h,n))continue;else f=yat(e,t,n,u,s.b,p2,o),f!=o&&ph(a.c,f),f.c&&(o=f);for(c=new E(a);c.a<c.c.c.length;)s=P(z(c),444),vk(t.a,s.a,0)!=-1||$b(t.a,s.a),s.c&&ph(i.c,s)}function est(e){var t,n,i,a=P(K(e,(CB(),p4)),26),o,s,c,l,u=JB,d=JB,f,p,m,h,g,_,v,y,b,x;for(c=LV,l=LV,b=TF(e.b,0);b.b!=b.d.c;)v=P(RD(b),40),m=v.e,h=v.f,u=r.Math.min(u,m.a-h.a/2),d=r.Math.min(d,m.b-h.b/2),c=r.Math.max(c,m.a+h.a/2),l=r.Math.max(l,m.b+h.b/2);for(p=P(J(a,(Lz(),mNt)),104),y=TF(e.b,0);y.b!=y.d.c;)v=P(RD(y),40),f=K(v,p4),M(f,206)&&(o=P(f,26),xb(o,v.e.a,v.e.b),UR(o,v));for(_=TF(e.a,0);_.b!=_.d.c;)g=P(RD(_),65),i=P(K(g,p4),85),i&&(t=g.a,n=QR(i),Yrt(t,n));x=c-u+(p.b+p.c),s=l-d+(p.d+p.a),hg(eS(J(a,(LB(),z6))))||TB(a,x,s,!1,!1),IF(a,w6,x-(p.b+p.c)),IF(a,C6,s-(p.d+p.a))}function tst(e){var t=0,n,i,a,o,s,c;for(o=new E(e.b.a);o.a<o.c.c.length;)i=P(z(o),194),i.b=0,i.c=0;for($1e(e,0),kP(e,e.g),WR(e.c),Yae(e.c),n=(WN(),g8),wz(Qv(bB(wz(Qv(bB(wz(bB(e.c,n)),YWe(n)))),n))),bB(e.c,g8),eP(e,e.g),p1e(e,0),rat(e,0),l8e(e,1),$1e(e,1),kP(e,e.d),WR(e.c),s=new E(e.b.a);s.a<s.c.c.length;)i=P(z(s),194),t+=r.Math.abs(i.c);for(c=new E(e.b.a);c.a<c.c.c.length;)i=P(z(c),194),i.b=0,i.c=0;for(n=y8,wz(Qv(bB(wz(Qv(bB(wz(Yae(bB(e.c,n))),YWe(n)))),n))),bB(e.c,g8),eP(e,e.d),p1e(e,1),rat(e,1),l8e(e,0),Yae(e.c),a=new E(e.b.a);a.a<a.c.c.length;)i=P(z(a),194),t+=r.Math.abs(i.c);return t}function nst(e,t){var n=P(K(e,(PB(),l0)),102),i,a,o,s=e.f,c,l,u,d,f,p,m,h,g;for(o=e.d,c=s.a+o.b+o.c,l=0-o.d-e.c.b,d=s.b+o.d+o.a-e.c.b,u=new ah,f=new ah,a=new E(t);a.a<a.c.c.length;){switch(i=P(z(a),9),n.g){case 1:case 2:case 3:i7e(i);break;case 4:p=P(K(i,s0),8),m=p?p.a:0,i.n.a=c*O(N(K(i,(Y(),k$))))-m,fM(i,!0,!1);break;case 5:h=P(K(i,s0),8),g=h?h.a:0,i.n.a=O(N(K(i,(Y(),k$))))-g,fM(i,!0,!1),s.a=r.Math.max(s.a,i.n.a+i.o.a/2)}switch(P(K(i,(Y(),s$)),64).g){case 1:i.n.b=l,ph(u.c,i);break;case 3:i.n.b=d,ph(f.c,i)}}switch(n.g){case 1:case 2:sWe(u,e),sWe(f,e);break;case 3:cWe(u,e),cWe(f,e)}}function rst(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m;for(n.Tg(`Label dummy switching`,1),r=P(K(t,(PB(),E1)),231),_Be(t),i=u8e(t,r),e.a=V(Z9,yH,30,t.b.c.length,15,1),s=(WL(),U(k($Z,1),Z,231,0,[YZ,ZZ,JZ,XZ,QZ,qZ])),u=0,p=s.length;u<p;++u)if(a=s[u],(a==QZ||a==qZ||a==XZ)&&!P(wx(i.a,a)?i.b[a.g]:null,16).dc()){CBe(e,t);break}for(c=U(k($Z,1),Z,231,0,[YZ,ZZ,JZ,XZ,QZ,qZ]),d=0,m=c.length;d<m;++d)a=c[d],a==QZ||a==qZ||a==XZ||Ktt(e,P(wx(i.a,a)?i.b[a.g]:null,16));for(o=U(k($Z,1),Z,231,0,[YZ,ZZ,JZ,XZ,QZ,qZ]),l=0,f=o.length;l<f;++l)a=o[l],(a==QZ||a==qZ||a==XZ)&&Ktt(e,P(wx(i.a,a)?i.b[a.g]:null,16));e.a=null,n.Ug()}function ist(e,t){var n,r,i,a,o,s,c,l=t,u;if(!(l.b==null||e.b==null)){for(ER(e),iB(e),ER(l),iB(l),n=V(q9,JV,30,e.b.length+l.b.length,15,1),u=0,r=0,o=0;r<e.b.length&&o<l.b.length;)if(i=e.b[r],a=e.b[r+1],s=l.b[o],c=l.b[o+1],a<s)r+=2;else if(a>=s&&i<=c)s<=i&&a<=c?(n[u++]=i,n[u++]=a,r+=2):s<=i?(n[u++]=i,n[u++]=c,e.b[r]=c+1,o+=2):a<=c?(n[u++]=s,n[u++]=a,r+=2):(n[u++]=s,n[u++]=c,e.b[r]=c+1);else if(c<i)o+=2;else throw D(new Jh(`Token#intersectRanges(): Internal Error: [`+e.b[r]+`,`+e.b[r+1]+`] & [`+l.b[o]+`,`+l.b[o+1]+`]`));for(;r<e.b.length;)n[u++]=e.b[r++],n[u++]=e.b[r++];e.b=V(q9,JV,30,u,15,1),Fz(n,0,e.b,0,u)}}function ast(e){var t=new ah,n,i,a,o,s,c;for(e.g=new ah,e.d=new ah,s=new Pj(new im(e.f.b).a);s.b;)o=dj(s),$b(t,P(P(o.kd(),49).b,82)),vb(P(o.jd(),591).yf())?$b(e.d,P(o.kd(),49)):$b(e.g,P(o.kd(),49));for(kP(e,e.d),kP(e,e.g),e.c=new c3e(e.b),woe(e.c,(Rce(),yCt)),eP(e,e.d),eP(e,e.g),pM(t,e.c.a.b),e.e=new A(pH,pH),e.a=new A(mH,mH),i=new E(t);i.a<i.c.c.length;)n=P(z(i),82),e.e.a=r.Math.min(e.e.a,n.g.c),e.e.b=r.Math.min(e.e.b,n.g.d),e.a.a=r.Math.max(e.a.a,n.g.c+n.g.b),e.a.b=r.Math.max(e.a.b,n.g.d+n.g.a);Toe(e.c,new mt),c=0;do a=tst(e),++c;while((c<2||a>IV)&&c<10);Toe(e.c,new ht),tst(e),QCe(e.c),Tot(e.f)}function ost(e,t){var n,r,i,a,o,s,c,l,u,d,f;switch(e.k.g){case 1:if(r=P(K(e,(Y(),T$)),17),n=P(K(r,oEt),78),n?hg(eS(K(r,N$)))&&(n=SHe(n)):n=new Rh,l=P(K(e,y$),12),l){if(u=PM(U(k(o6,1),X,8,0,[l.i.n,l.n,l.a])),t<=u.a)return u.b;iO(n,u,n.a,n.a.a)}if(d=P(K(e,b$),12),d){if(f=PM(U(k(o6,1),X,8,0,[d.i.n,d.n,d.a])),f.a<=t)return f.b;iO(n,f,n.c.b,n.c)}if(n.b>=2){for(c=TF(n,0),o=P(RD(c),8),s=P(RD(c),8);s.a<t&&c.b!=c.d.c;)o=s,s=P(RD(c),8);return o.b+(t-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(a=P(K(P(AC(e.j,0),12),(Y(),T$)),12),i=a.i,a.j.g){case 1:return i.n.b;case 3:return i.n.b+i.o.b}}return cQe(e).b}function sst(e){var t,n,r,i,a,o,s,c,l,u,d;for(o=new E(e.d.b);o.a<o.c.c.length;)for(a=P(z(o),25),c=new E(a.a);c.a<c.c.c.length;){if(s=P(z(c),9),hg(eS(K(s,(PB(),r1))))&&!zD(dP(s))){r=P(zEe(dP(s)),17),u=r.c.i,u==s&&(u=r.d.i),d=new My(u,TS(qb(s.n),u.n)),ST(e.b,s,d);continue}i=new zT(s.n.a-s.d.b,s.n.b-s.d.d,s.o.a+s.d.b+s.d.c,s.o.b+s.d.d+s.d.a),t=Rme(Pce(Mce(Nce(new xie,s),i),qwt),e.a),Lme(jce(hRe(new bie,U(k(FY,1),$B,60,0,[t])),t),e.a),l=new sh,ST(e.e,t,l),n=UD(new XC(dx(uP(s).a.Jc(),new f)))-UD(new XC(dx(fP(s).a.Jc(),new f))),n<0?DM(l,!0,(WN(),g8)):n>0&&DM(l,!0,(WN(),_8)),s.k==(MR(),RX)&&vTe(l),ST(e.f,s,t)}}function cst(e,t){var n,i,a,o,s,c,l,u=pH,d=pH,f,p,m,h,g,_,v,y;for(c=mH,l=mH,p=new E(t.i);p.a<p.c.c.length;)f=P(z(p),68),a=P(P(Zw(e.g,f.a),49).b,26),xb(a,f.b.c,f.b.d),u=r.Math.min(u,a.i),d=r.Math.min(d,a.j),c=r.Math.max(c,a.i+a.g),l=r.Math.max(l,a.j+a.f);for(m=P(J(e.c,(xL(),$Ft)),104),TB(e.c,c-u+(m.b+m.c),l-d+(m.d+m.a),!0,!0),u1e(e.c,-u+m.b,-d+m.d),i=new lx(YTe(e.c));i.e!=i.i.gc();)n=P(OF(i),85),s=QR(n),h=CL(n),_=w1e(n),g=new A(h.i+h.g/2,h.j+h.f/2),o=new A(_.i+_.g/2,_.j+_.f/2),v=TS(new A(o.a,o.b),g),VI(v,h.g,h.f),wS(g,v),y=TS(new A(g.a,g.b),o),VI(y,_.g,_.f),wS(o,y),Tb(s,g.a,g.b),wb(s,o.a,o.b)}function lst(e,t){var n,r,i,a,o,s,c=!0,l,u,d;for(i=0,l=e.g[t.p],u=t.o.b+e.o,n=e.d[t.p][2],fO(e.b,l,G(P(AC(e.b,l),15).a-1+n)),fO(e.c,l,O(N(AC(e.c,l)))-u+n*e.f),++l,l>=e.j?(++e.j,$b(e.b,G(1)),$b(e.c,u)):(r=e.d[t.p][1],fO(e.b,l,G(P(AC(e.b,l),15).a+1-r)),fO(e.c,l,O(N(AC(e.c,l)))+u-r*e.f)),(e.r==(bz(),i2)&&(P(AC(e.b,l),15).a>e.k||P(AC(e.b,l-1),15).a>e.k)||e.r==a2&&(O(N(AC(e.c,l)))>e.n||O(N(AC(e.c,l-1)))>e.n))&&(c=!1),o=new XC(dx(uP(t).a.Jc(),new f));CR(o);)a=P(CO(o),17),s=a.c.i,e.g[s.p]==l&&(d=lst(e,s),i+=P(d.a,15).a,c&&=hg(eS(d.b)));return e.g[t.p]=l,i+=e.d[t.p][0],new My(G(i),(mx(),!!c))}function ust(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;return f=e.c[t],p=e.c[n],(m=P(K(f,(Y(),h$)),16),m&&m.gc()!=0&&m.Gc(p))||(h=f.k!=(MR(),BX)&&p.k!=BX,g=P(K(f,m$),9),_=P(K(p,m$),9),v=g!=_,y=!!g&&g!=f||!!_&&_!=p,b=cI(f,(wB(),m5)),x=cI(p,j5),y|=cI(f,j5)||cI(p,m5),S=y&&v||b||x,h&&S)||f.k==(MR(),UX)&&p.k==HX||p.k==(MR(),UX)&&f.k==HX?!1:(u=e.c[t],a=e.c[n],i=BZe(e.e,u,a,(wB(),N5)),c=BZe(e.i,u,a,p5),V5e(e.f,u,a),l=UHe(e.b,u,a)+P(i.a,15).a+P(c.a,15).a+e.f.d,s=UHe(e.b,a,u)+P(i.b,15).a+P(c.b,15).a+e.f.b,e.a&&(d=P(K(u,T$),12),o=P(K(a,T$),12),r=AXe(e.g,d,o),l+=P(r.a,15).a,s+=P(r.b,15).a),l>s)}function dst(e,t){var n=O(N(K(t,(PB(),y0)))),r,i,a,o;n<2&&W(t,y0,2),r=P(K(t,T1),86),r==(WN(),v8)&&W(t,T1,$N(t)),i=P(K(t,cAt),15),i.a==0?W(t,(Y(),j$),new mP):W(t,(Y(),j$),new uO(i.a)),a=eS(K(t,Z1)),a??W(t,Z1,(mx(),j(K(t,A1))===j((UN(),E8)))),P_(new jC(null,new nD(t.a,16)),new Jee(e)),P_(Bk(new jC(null,new nD(t.b,16)),new dt),new Lm(e)),o=new Hot(t),W(t,(Y(),I$),o),TT(e.a),kw(e.a,(bL(),gX),P(K(t,w1),188)),kw(e.a,_X,P(K(t,U1),188)),kw(e.a,vX,P(K(t,C1),188)),kw(e.a,yX,P(K(t,e0),188)),kw(e.a,bX,BBe(P(K(t,A1),222))),bfe(e.a,nut(t)),W(t,A$,cB(e.a,t))}function fst(e,t,n,i,a){var o,s,c,l,u,d,f=new oh,p,m,h,g,_,v;for(s=new ah,x2e(e,n,e.d.zg(),s,f),x2e(e,i,e.d.Ag(),s,f),e.b=.2*(g=M6e(Bk(new jC(null,new nD(s,16)),new uo)),_=M6e(Bk(new jC(null,new nD(s,16)),new fo)),r.Math.min(g,_)),o=0,c=0;c<s.c.length-1;c++)for(l=(oD(c,s.c.length),P(s.c[c],116)),h=c+1;h<s.c.length;h++)o+=eat(e,l,(oD(h,s.c.length),P(s.c[h],116)));for(p=P(K(t,(Y(),j$)),234),o>=2&&(v=X8e(s,!0,p),!e.e&&(e.e=new _ne(e)),fqe(e.e,v,s,e.b)),g$e(s,p),xst(s),m=-1,d=new E(s);d.a<d.c.c.length;)u=P(z(d),116),!(r.Math.abs(u.s-u.c)<mU)&&(m=r.Math.max(m,u.o),e.d.xg(u,a,e.c));return e.d.a.a.$b(),m+1}function pst(e,t){var n,r,i,a,o,s,c,l,u,d=P(Xb((o=TF(new Km(t).a.d,0),new qm(o))),40),f,p,m=d?P(K(d,(CB(),s4)),40):null,h,g,_,v,y,b;for(i=1;d&&m;){for(c=0,b=0,n=d,r=m,s=0;s<i;s++)n=ZNe(n),r=ZNe(r),b+=O(N(K(n,(CB(),f4)))),c+=O(N(K(r,f4)));if(y=O(N(K(m,(CB(),h4)))),v=O(N(K(d,h4))),f=fGe(e,d,m),p=y+c+e.b+f-v-b,0<p){for(l=t,u=0;l&&l!=r;)++u,l=P(K(l,c4),40);if(l)for(_=p/u,l=t;l!=r;)g=O(N(K(l,h4)))+p,W(l,h4,g),h=O(N(K(l,f4)))+p,W(l,f4,h),p-=_,l=P(K(l,c4),40);else return}++i,d=d.d.b==0?tnt(new Km(t),i):P(Xb((a=TF(new Km(d).a.d,0),new qm(a))),40),m=d?P(K(d,s4),40):null}}function mst(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;for(t.Tg(`Label dummy removal`,1),r=O(N(K(e,(PB(),x0)))),i=O(N(K(e,T0))),l=P(K(e,T1),86),c=new E(e.b);c.a<c.c.c.length;)for(s=P(z(c),25),d=new bD(s.a,0);d.b<d.d.gc();)u=(Bx(d.b<d.d.gc()),P(d.d.Xb(d.c=d.b++),9)),u.k==(MR(),zX)&&(f=P(K(u,(Y(),T$)),17),m=O(N(K(f,N1))),o=j(K(u,g$))===j((AI(),L8)),n=new mb(u.n),o&&(n.b+=m+r),a=new A(u.o.a,u.o.b+(u.k==zX&&!u_(AT(P(K(u,M$),16).Mc(),new wm(new Nt))).zd((M_(),PY))?0:-m-r)),p=P(K(u,M$),16),l==(WN(),y8)||l==h8?F6e(p,n,i,a,o,l):VUe(p,n,i,a),pM(f.b,p),fB(u,j(K(e,A1))===j((UN(),D8))),nT(d));t.Ug()}function hst(e){e.q||(e.q=!0,e.p=Gj(e,0),e.a=Gj(e,1),_j(e.a,0),e.f=Gj(e,2),_j(e.f,1),gj(e.f,2),e.n=Gj(e,3),gj(e.n,3),gj(e.n,4),gj(e.n,5),gj(e.n,6),e.g=Gj(e,4),_j(e.g,7),gj(e.g,8),e.c=Gj(e,5),_j(e.c,7),_j(e.c,8),e.i=Gj(e,6),_j(e.i,9),_j(e.i,10),_j(e.i,11),_j(e.i,12),gj(e.i,13),e.j=Gj(e,7),_j(e.j,9),e.d=Gj(e,8),_j(e.d,3),_j(e.d,4),_j(e.d,5),_j(e.d,6),gj(e.d,7),gj(e.d,8),gj(e.d,9),gj(e.d,10),e.b=Gj(e,9),gj(e.b,0),gj(e.b,1),e.e=Gj(e,10),gj(e.e,1),gj(e.e,2),gj(e.e,3),gj(e.e,4),_j(e.e,5),_j(e.e,6),_j(e.e,7),_j(e.e,8),_j(e.e,9),_j(e.e,10),gj(e.e,11),e.k=Gj(e,11),gj(e.k,0),gj(e.k,1),e.o=Kj(e,12),e.s=Kj(e,13))}function gst(e,t){t.dc()&&tC(e.j,!0,!0,!0,!0),DN(t,(wB(),b5))&&tC(e.j,!0,!0,!0,!1),DN(t,h5)&&tC(e.j,!1,!0,!0,!0),DN(t,O5)&&tC(e.j,!0,!0,!1,!0),DN(t,A5)&&tC(e.j,!0,!1,!0,!0),DN(t,x5)&&tC(e.j,!1,!0,!0,!1),DN(t,g5)&&tC(e.j,!1,!0,!1,!0),DN(t,k5)&&tC(e.j,!0,!1,!1,!0),DN(t,D5)&&tC(e.j,!0,!1,!0,!1),DN(t,T5)&&tC(e.j,!0,!0,!0,!0),DN(t,v5)&&tC(e.j,!0,!0,!0,!0),DN(t,T5)&&tC(e.j,!0,!0,!0,!0),DN(t,_5)&&tC(e.j,!0,!0,!0,!0),DN(t,E5)&&tC(e.j,!0,!0,!0,!0),DN(t,w5)&&tC(e.j,!0,!0,!0,!0),DN(t,C5)&&tC(e.j,!0,!0,!0,!0)}function _st(e,t,n){var r,i,a,o,s,c,l,u,d;if(e.a!=t.hk())throw D(new sg(dq+t.ve()+fq));if(r=EN((HL(),p9),t).Hl(),r)return r.hk().ti().oi(r,n);if(o=EN(p9,t).Jl(),o){if(n==null)return null;if(s=P(n,16),s.dc())return``;for(d=new Eg,a=s.Jc();a.Ob();)i=a.Pb(),Yy(d,o.hk().ti().oi(o,i)),d.a+=` `;return ab(d,d.a.length-1)}if(u=EN(p9,t).Kl(),!u.dc()){for(l=u.Jc();l.Ob();)if(c=P(l.Pb(),159),c.dk(n))try{if(d=c.hk().ti().oi(c,n),d!=null)return d}catch(e){if(e=hM(e),!M(e,101))throw D(e)}throw D(new sg(`Invalid value: '`+n+`' for datatype :`+t.ve()))}return P(t,831).mk(),n==null?null:M(n,180)?``+P(n,180).a:WM(n)==oY?xpe(h7[0],P(n,205)):EP(n)}function vst(e,t,n){var r,i,a,o;this.j=e,this.e=n$e(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?P(AC(n,lT(this.o).p),218):null,i=P(K(e,(Y(),l$)),22),this.g=i.Gc((oz(),AQ)),this.b=new ah,this.d=new MKe(this.e),o=P(K(this.j,j$),234),this.q=IBe(t,o,this.e),this.k=new tOe(this),a=OO(U(k(Ywt,1),$B,220,0,[this,this.d,this.k,this.q])),t==(pN(),E2)&&!hg(eS(K(e,(PB(),v1))))?(r=new s$e(this.e),ph(a.c,r),this.c=new ZAe(r,o,P(this.q,406))):t==E2&&hg(eS(K(e,(PB(),v1))))?(r=new s$e(this.e),ph(a.c,r),this.c=new bze(r,o,P(this.q,406))):t==D2?this.c=new TEe(o):this.c=new eue(t,this),$b(a,this.c),lat(a,this.e),this.s=Olt(this.k)}function yst(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Tg(`Interactive crossing minimization`,1),o=0,a=new E(e.b);a.a<a.c.c.length;)r=P(z(a),25),r.p=o++;for(f=n$e(e),g=new Noe(f.length),lat(new dg(U(k(Ywt,1),$B,220,0,[g])),f),h=0,o=0,i=new E(e.b);i.a<i.c.c.length;){for(r=P(z(i),25),n=0,d=0,u=new E(r.a);u.a<u.c.c.length;)for(c=P(z(u),9),c.n.a>0&&(n+=c.n.a+c.o.a/2,++d),m=new E(c.j);m.a<m.c.c.length;)p=P(z(m),12),p.p=h++;for(d>0&&(n/=d),_=V(Z9,yH,30,r.a.c.length,15,1),s=0,l=new E(r.a);l.a<l.c.c.length;)c=P(z(l),9),c.p=s++,_[c.p]=ost(c,n),c.k==(MR(),BX)&&W(c,(Y(),sEt),_[c.p]);KT(),Vb(r.a,new Xte(_)),cnt(g,f,o,!0),++o}t.Ug()}function bst(e){var t,n,i,a,o,s,c,l,u=new E_,d;for(c=new E_,o=new E(e);o.a<o.c.c.length;)i=P(z(o),132),i.v=0,i.n=i.i.c.length,i.u=i.t.c.length,i.n==0&&iO(u,i,u.c.b,u.c),i.u==0&&i.r.a.gc()==0&&iO(c,i,c.c.b,c.c);for(s=-1;u.b!=0;)for(i=P(MI(u,0),132),n=new E(i.t);n.a<n.c.c.length;)t=P(z(n),273),d=t.b,d.v=r.Math.max(d.v,i.v+1),s=r.Math.max(s,d.v),--d.n,d.n==0&&iO(u,d,u.c.b,u.c);if(s>-1){for(a=TF(c,0);a.b!=a.d.c;)i=P(RD(a),132),i.v=s;for(;c.b!=0;)for(i=P(MI(c,0),132),n=new E(i.i);n.a<n.c.c.length;)t=P(z(n),273),l=t.a,l.r.a.gc()==0&&(l.v=r.Math.min(l.v,i.v-1),--l.u,l.u==0&&iO(c,l,c.c.b,c.c))}}function xst(e){var t,n,i,a,o,s,c,l,u=new ah,d;for(c=new ah,s=new E(e);s.a<s.c.c.length;)a=P(z(s),116),Pp(a,a.f.c.length),Fp(a,a.k.c.length),a.d==0&&ph(u.c,a),a.i==0&&a.e.b==0&&ph(c.c,a);for(i=-1;u.c.length!=0;)for(a=P(MO(u,0),116),n=new E(a.k);n.a<n.c.c.length;)t=P(z(n),133),d=t.b,Ip(d,r.Math.max(d.o,a.o+1)),i=r.Math.max(i,d.o),Pp(d,d.d-1),d.d==0&&ph(u.c,d);if(i>-1){for(o=new E(c);o.a<o.c.c.length;)a=P(z(o),116),a.o=i;for(;c.c.length!=0;)for(a=P(MO(c,0),116),n=new E(a.f);n.a<n.c.c.length;)t=P(z(n),133),l=t.a,!(l.e.b>0)&&(Ip(l,r.Math.min(l.o,a.o-1)),Fp(l,l.i-1),l.i==0&&ph(c.c,l))}}function Sst(e,t,n,i,a){var o,s,c,l=pH;return s=!1,c=Iit(e,TS(new A(t.a,t.b),e),wS(new A(n.a,n.b),a),TS(new A(i.a,i.b),n)),o=!!c&&!(r.Math.abs(c.a-e.a)<=HK&&r.Math.abs(c.b-e.b)<=HK||r.Math.abs(c.a-t.a)<=HK&&r.Math.abs(c.b-t.b)<=HK),c=Iit(e,TS(new A(t.a,t.b),e),n,a),c&&((r.Math.abs(c.a-e.a)<=HK&&r.Math.abs(c.b-e.b)<=HK)==(r.Math.abs(c.a-t.a)<=HK&&r.Math.abs(c.b-t.b)<=HK)||o?l=r.Math.min(l,rT(TS(c,n))):s=!0),c=Iit(e,TS(new A(t.a,t.b),e),i,a),c&&(s||(r.Math.abs(c.a-e.a)<=HK&&r.Math.abs(c.b-e.b)<=HK)==(r.Math.abs(c.a-t.a)<=HK&&r.Math.abs(c.b-t.b)<=HK)||o)&&(l=r.Math.min(l,rT(TS(c,i)))),l}function Cst(e){Y_(e,new uL(Fg(Rg(Pg(Lg(Ig(new oc,BU),kft),`Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths.`),new lt),yU))),B(e,BU,DU,DF(iCt)),B(e,BU,OU,(mx(),!0)),B(e,BU,MU,DF(sCt)),B(e,BU,VU,DF(cCt)),B(e,BU,jU,DF(lCt)),B(e,BU,NU,DF(oCt)),B(e,BU,kU,DF(uCt)),B(e,BU,PU,DF(dCt)),B(e,BU,wft,DF(rCt)),B(e,BU,Eft,DF(tCt)),B(e,BU,Dft,DF(nCt)),B(e,BU,Oft,DF(aCt)),B(e,BU,Tft,DF(fX))}function wst(e){var t=null,n,r,i,a,o,s,c;for(r=new E(e);r.a<r.c.c.length;)n=P(z(r),239),O(ex(n.g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&n.c==0&&(!t&&(t=new ah),ph(t.c,n));if(t)for(;t.c.length!=0;){if(n=P(MO(t,0),239),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new ah),new E(n.b));a.a<a.c.c.length;)if(i=P(z(a),239),gg(ex(i.g,i.d[0]).a)==gg(ex(n.g,n.d[0]).a)){if(vk(e,i,0)>vk(e,n,0))return new My(i,n)}else if(O(ex(i.g,i.d[0]).a)>O(ex(n.g,n.d[0]).a))return new My(i,n)}for(s=(!n.e&&(n.e=new ah),n.e).Jc();s.Ob();)o=P(s.Pb(),239),c=(!o.b&&(o.b=new ah),o.b),UE(0,c.c.length),Ev(c.c,0,n),o.c==c.c.length&&ph(t.c,o)}return null}function mB(e,t){var n,r,i,a,o,s,c,l,u;if(t.e==5){ist(e,t);return}if(l=t,!(l.b==null||e.b==null)){for(ER(e),iB(e),ER(l),iB(l),n=V(q9,JV,30,e.b.length+l.b.length,15,1),u=0,r=0,o=0;r<e.b.length&&o<l.b.length;)if(i=e.b[r],a=e.b[r+1],s=l.b[o],c=l.b[o+1],a<s)n[u++]=e.b[r++],n[u++]=e.b[r++];else if(a>=s&&i<=c)s<=i&&a<=c?r+=2:s<=i?(e.b[r]=c+1,o+=2):a<=c?(n[u++]=i,n[u++]=s-1,r+=2):(n[u++]=i,n[u++]=s-1,e.b[r]=c+1,o+=2);else if(c<i)o+=2;else throw D(new Jh(`Token#subtractRanges(): Internal Error: [`+e.b[r]+`,`+e.b[r+1]+`] - [`+l.b[o]+`,`+l.b[o+1]+`]`));for(;r<e.b.length;)n[u++]=e.b[r++],n[u++]=e.b[r++];e.b=V(q9,JV,30,u,15,1),Fz(n,0,e.b,0,u)}}function Tst(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(r=new E(e.e.b);r.a<r.c.c.length;)for(n=P(z(r),25),a=new E(n.a);a.a<a.c.c.length;)if(i=P(z(a),9),p=e.i[i.p],l=p.a.e,c=p.d.e,i.n.b=l,_=c-l-i.o.b,t=_at(i),f=(HF(),d=(i.q?i.q:(KT(),KT(),DY))._b((PB(),Q1))?P(K(i,Q1),203):P(K(lT(i),$1),203),d),t&&(f==J0||f==q0)&&(i.o.b+=_),t&&(f==X0||f==J0||f==q0)){for(h=new E(i.j);h.a<h.c.c.length;)m=P(z(h),12),(wB(),v5).Gc(m.j)&&(u=P(Zw(e.k,m),124),m.n.b=u.e-l);for(s=new E(i.b);s.a<s.c.c.length;)o=P(z(s),70),g=P(K(i,Y1),22),g.Gc((wR(),K8))?o.n.b+=_:g.Gc(q8)&&(o.n.b+=_/2);(f==J0||f==q0)&&rP(i,(wB(),j5)).Ic(new fne(_))}}function Est(e){var t,n,r,i,a,o,s;if(!e.A.dc()){if(e.A.Gc((tF(),R5))&&(P(CT(e.b,(wB(),m5)),127).k=!0,P(CT(e.b,j5),127).k=!0,t=e.q!=(iL(),n5)&&e.q!=t5,Ep(P(CT(e.b,p5),127),t),Ep(P(CT(e.b,N5),127),t),Ep(e.g,t),e.A.Gc(z5)&&(P(CT(e.b,m5),127).j=!0,P(CT(e.b,j5),127).j=!0,P(CT(e.b,p5),127).k=!0,P(CT(e.b,N5),127).k=!0,e.g.k=!0)),e.A.Gc(L5))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,s=e.B.Gc((Tz(),G5)),i=bF(),a=0,o=i.length;a<o;++a)r=i[a],n=P(CT(e.i,r),318),n&&(rqe(r)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));e.A.Gc(I5)&&e.B.Gc((Tz(),W5))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function Dst(e,t,n){var r,i,a,o,s,c,l=new ah,u,d,f;for(c=new E(t.a);c.a<c.c.c.length;)for(o=P(z(c),9),f=rP(o,(wB(),p5)).Jc();f.Ob();)for(d=P(f.Pb(),12),i=new E(d.g);i.a<i.c.c.length;)r=P(z(i),17),!(!xO(r)&&r.c.i.c==r.d.i.c||xO(r)||r.d.i.c!=n)&&ph(l.c,r);for(s=AP(n.a).Jc();s.Ob();)for(o=P(s.Pb(),9),f=rP(o,(wB(),N5)).Jc();f.Ob();)for(d=P(f.Pb(),12),i=new E(d.e);i.a<i.c.c.length;)if(r=P(z(i),17),!(!xO(r)&&r.c.i.c==r.d.i.c||xO(r)||r.c.i.c!=t)&&l.c.length!=0){for(u=new bD(l,l.c.length),a=(Bx(u.b>0),P(u.a.Xb(u.c=--u.b),17));a!=r&&u.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(Bx(u.b>0),P(u.a.Xb(u.c=--u.b),17));u.b>0&&nT(u)}}function Ost(e,t,n){var i,a,o,s,c,l,u,d,f,p;if(n)for(i=-1,d=new bD(t,0);d.b<d.d.gc();){if(c=(Bx(d.b<d.d.gc()),P(d.d.Xb(d.c=d.b++),9)),f=e.c[c.c.p][c.p].a,f==null){for(s=i+1,o=new bD(t,d.b);o.b<o.d.gc();)if(p=Upe(e,(Bx(o.b<o.d.gc()),P(o.d.Xb(o.c=o.b++),9))).a,p!=null){s=(dT(p),p);break}f=(i+s)/2,e.c[c.c.p][c.p].a=f,e.c[c.c.p][c.p].d=(dT(f),f),e.c[c.c.p][c.p].b=1}i=(dT(f),f)}else{for(a=0,u=new E(t);u.a<u.c.c.length;)c=P(z(u),9),e.c[c.c.p][c.p].a!=null&&(a=r.Math.max(a,O(e.c[c.c.p][c.p].a)));for(a+=2,l=new E(t);l.a<l.c.c.length;)c=P(z(l),9),e.c[c.c.p][c.p].a??(f=FR(e.i,24)*MH*a-1,e.c[c.c.p][c.p].a=f,e.c[c.c.p][c.p].d=f,e.c[c.c.p][c.p].b=1)}}function kst(e){var t,n,i,a,o,s,c,l,u,d,f,p;for(a=new E(e.a.a.b);a.a<a.c.c.length;)for(i=P(z(a),60),l=i.c.Jc();l.Ob();)c=P(l.Pb(),60),i.a!=c.a&&(f=vb(e.a.d)?e.a.g.df(i,c):e.a.g.ef(i,c),o=i.b.a+i.d.b+f-c.b.a,o=r.Math.ceil(o),o=r.Math.max(0,o),pIe(i,c)?(s=bx(new Ah,e.d),u=xE(r.Math.ceil(c.b.a-i.b.a)),t=u-(c.b.a-i.b.a),d=VD(i).a,n=i,d||(d=VD(c).a,t=-t,n=c),d&&(n.b.a-=t,d.n.a-=t),ZR(L_(I_(R_(F_(new Mh,r.Math.max(0,u)),1),s),e.c[i.a.d])),ZR(L_(I_(R_(F_(new Mh,r.Math.max(0,-u)),1),s),e.c[c.a.d]))):(p=1,(M(i.g,156)&&M(c.g,9)||M(c.g,156)&&M(i.g,9))&&(p=2),ZR(L_(I_(R_(F_(new Mh,xE(o)),p),e.c[i.a.d]),e.c[c.a.d]))))}function Ast(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;if(!e.b)return!1;for(o=null,f=null,c=new XPe(null,null),i=1,c.a[1]=e.b,d=c;d.a[i];)l=i,s=f,f=d,d=d.a[i],r=e.a.Le(t,d.d),i=r<0?0:1,r==0&&(!n.c||xT(d.e,n.d))&&(o=d),!(d&&d.b)&&!pg(d.a[i])&&(pg(d.a[1-i])?f=f.a[l]=fj(d,i):pg(d.a[1-i])||(p=f.a[1-l],p&&(!pg(p.a[1-l])&&!pg(p.a[l])?(f.b=!1,p.b=!0,d.b=!0):(a=+(s.a[1]==f),pg(p.a[l])?s.a[a]=CAe(f,l):pg(p.a[1-l])&&(s.a[a]=fj(f,l)),d.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1))));return o&&(n.b=!0,n.d=o.e,d!=o&&(u=new XPe(d.d,d.e),d1e(e,c,o,u),f==o&&(f=u)),f.a[+(f.a[1]==d)]=d.a[+!d.a[0]],--e.c),e.b=c.a[1],e.b&&(e.b.b=!1),n.b}function jst(e,t,n){var r,i,a,o,s,c,l,u,d;for(!n&&(n=FVe(t.q.getTimezoneOffset())),i=(t.q.getTimezoneOffset()-n.a)*6e4,s=new oge(sP(Hj(t.q.getTime()),i)),c=s,s.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,c=new oge(sP(Hj(t.q.getTime()),i))),u=new kg,l=e.a.length,a=0;a<l;)if(r=wT(e.a,a),r>=97&&r<=122||r>=65&&r<=90){for(o=a+1;o<l&&wT(e.a,o)==r;++o);Dut(u,r,o-a,s,c,n),a=o}else if(r==39){if(++a,a<l&&wT(e.a,a)==39){u.a+=`'`,++a;continue}for(d=!1;!d;){for(o=a;o<l&&wT(e.a,o)!=39;)++o;if(o>=l)throw D(new sg(`Missing trailing '`));o+1<l&&wT(e.a,o+1)==39?++o:d=!0,Qy(u,dE(e.a,a,o)),a=o+1}}else u.a+=String.fromCharCode(r),++a;return u.a}function Mst(){cb(P7,new Gl),cb(j7,new nu),cb(I7,new pu),cb(F7,new yu),cb(vBt,new bu),cb(L7,new xu),cb(R7,new Su),cb(s7,new Cu),cb(o7,new Fl),cb(Azt,new Il),cb(Q5,new Ll),cb(B7,new Rl),cb(c7,new zl),cb(H7,new Bl),cb(U7,new Vl),cb(N7,new Hl),cb(M7,new Ul),cb(d9,new Wl),cb(z7,new Kl),cb(W7,new ql),cb(uY,new Jl),cb(k(X9,1),new Yl),cb(dY,new Xl),cb(fY,new Zl),cb(oY,new Ql),cb(ZVt,new $l),cb(pY,new eu),cb(Xzt,new tu),cb(iBt,new ru),cb(eVt,new iu),cb(c9,new au),cb(mY,new ou),cb(hY,new su),cb(Nyt,new cu),cb(gY,new lu),cb(Iyt,new uu),cb(XBt,new du),cb(QVt,new fu),cb(_Y,new mu),cb(vY,new hu),cb(Qzt,new gu),cb($Vt,new _u)}function Nst(e,t){var n,r,i,a,o,s,c,l,u;if(e==null)return eV;if(c=t.a.yc(e,t),c!=null)return`[...]`;for(n=new Zj(QB,`[`,`]`),i=e,a=0,o=i.length;a<o;++a)r=i[a],r!=null&&WM(r).i&4?Array.isArray(r)&&(u=Wk(r),!(u>=14&&u<=16))?t.a._b(r)?(n.a?Qy(n.a,n.b):n.a=new _x(n.d),Xy(n.a,`[...]`)):(s=gA(r),l=new EC(t),NO(n,Nst(s,l))):M(r,171)?NO(n,r4e(P(r,171))):M(r,195)?NO(n,d$e(P(r,195))):M(r,201)?NO(n,a0e(P(r,201))):M(r,2073)?NO(n,f$e(P(r,2073))):M(r,54)?NO(n,n4e(P(r,54))):M(r,584)?NO(n,k4e(P(r,584))):M(r,830)?NO(n,t4e(P(r,830))):M(r,108)&&NO(n,e4e(P(r,108))):NO(n,r==null?eV:EP(r));return n.a?n.e.length==0?n.a.a:n.a.a+(``+n.e):n.c}function hB(e,t){var n,r,i,a=e.F;t==null?(e.F=null,sN(e,null)):(e.F=(dT(t),t),r=sb(t,hL(60)),r==-1?(i=t,sb(t,hL(46))==-1&&(r=sb(t,hL(91)),r!=-1&&(i=(YO(0,r,t.length),t.substr(0,r))),!CS(i,GB)&&!CS(i,rJ)&&!CS(i,iJ)&&!CS(i,aJ)&&!CS(i,oJ)&&!CS(i,sJ)&&!CS(i,cJ)&&!CS(i,lJ)?(i=vvt,r!=-1&&(i+=``+(sD(r,t.length+1),t.substr(r)))):i=t),sN(e,i),i==t&&(e.F=e.D)):(i=(YO(0,r,t.length),t.substr(0,r)),sb(t,hL(46))==-1&&!CS(i,GB)&&!CS(i,rJ)&&!CS(i,iJ)&&!CS(i,aJ)&&!CS(i,oJ)&&!CS(i,sJ)&&!CS(i,cJ)&&!CS(i,lJ)&&(i=vvt),n=fx(t,hL(62)),n!=-1&&(i+=``+(sD(n+1,t.length+1),t.substr(n+1))),sN(e,i))),e.Db&4&&!(e.Db&1)&&Rj(e,new fw(e,1,5,a,t))}function Pst(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.c=e.e,m=eS(K(t,(PB(),lAt))),p=m==null||(dT(m),m),a=P(K(t,(Y(),l$)),22).Gc((oz(),AQ)),i=P(K(t,l0),102),n=!(i==(iL(),e5)||i==n5||i==t5),p&&(n||!a)){for(d=new E(t.a);d.a<d.c.c.length;)l=P(z(d),9),l.p=0;for(f=new ah,u=new E(t.a);u.a<u.c.c.length;)if(l=P(z(u),9),r=Rnt(e,l,null),r){for(c=new LRe,Xj(c,t),W(c,i$,P(r.b,22)),lEe(c.d,t.d),W(c,r0,null),s=P(r.a,16).Jc();s.Ob();)o=P(s.Pb(),9),$b(c.a,o),o.a=c;f.Ec(c)}a&&(j(K(t,o1))===j((dF(),jX))?e.c=e.b:j(K(t,o1))===j(MX)?e.c=e.d:e.c=e.a)}else f=new dg(U(k(FCt,1),Mft,37,0,[t]));return j(K(t,o1))!==j((dF(),NX))&&(KT(),f.gd(new Et)),f}function Fst(e,t){var n,r,i,a,o,s,c=t.length-1,l,u,d;if(s=(sD(c,t.length),t.charCodeAt(c)),s==93){if(o=sb(t,hL(91)),o>=0)return i=AGe(e,(YO(1,o,t.length),t.substr(1,o-1))),u=(YO(o+1,c,t.length),t.substr(o+1,c-(o+1))),Blt(e,u,i)}else{if(n=-1,fbt??=RegExp(`\\d`),fbt.test(String.fromCharCode(s))&&(n=E_e(t,hL(46),c-1),n>=0)){r=P(EO(e,jLe(e,(YO(1,n,t.length),t.substr(1,n-1))),!1),61),l=0;try{l=Ez((sD(n+1,t.length+1),t.substr(n+1)),LV,JB)}catch(e){throw e=hM(e),M(e,131)?(a=e,D(new Ok(a))):D(e)}if(l<r.gc())return d=r.Xb(l),M(d,75)&&(d=P(d,75).kd()),P(d,57)}if(n<0)return P(EO(e,jLe(e,(sD(1,t.length+1),t.substr(1))),!1),57)}return null}function Ist(e,t){var n,i,a,o,s,c,l,u,d,p,m,h,g,_;for(t.Tg(`Label dummy insertions`,1),p=new ah,s=O(N(K(e,(PB(),x0)))),u=O(N(K(e,T0))),d=P(K(e,T1),86),h=new E(e.a);h.a<h.c.c.length;)for(m=P(z(h),9),o=new XC(dx(fP(m).a.Jc(),new f));CR(o);)if(a=P(CO(o),17),a.c.i!=a.d.i&&Dpe(a.b,Pwt)){for(_=DLe(a),g=Ix(a.b.c.length),n=V8e(e,a,_,g),ph(p.c,n),i=n.o,c=new bD(a.b,0);c.b<c.d.gc();)l=(Bx(c.b<c.d.gc()),P(c.d.Xb(c.c=c.b++),70)),j(K(l,O1))===j((dA(),C8))&&(d==(WN(),y8)||d==h8?(i.a+=l.o.a+u,i.b=r.Math.max(i.b,l.o.b)):(i.a=r.Math.max(i.a,l.o.a),i.b+=l.o.b+u),ph(g.c,l),nT(c));d==(WN(),y8)||d==h8?(i.a-=u,i.b+=s+_):i.b+=s-u+_}pM(e.a,p),t.Ug()}function gB(e,t,n){var r,i,a,o,s,c,l=e.c;if(!t&&(t=IBt),e.c=t,e.Db&4&&!(e.Db&1)&&(c=new fw(e,1,2,l,e.c),n?n.lj(c):n=c),l!=t){if(M(e.Cb,293))e.Db>>16==-10?n=P(e.Cb,293).Wk(t,n):e.Db>>16==-15&&(!t&&(t=(VB(),e9)),!l&&(l=(VB(),e9)),e.Cb.Vh()&&(c=new Gk(e.Cb,1,13,l,t,GF(Ck(P(e.Cb,62)),e),!1),n?n.lj(c):n=c));else if(M(e.Cb,88))e.Db>>16==-23&&(M(t,88)||(t=(VB(),t9)),M(l,88)||(l=(VB(),t9)),e.Cb.Vh()&&(c=new Gk(e.Cb,1,10,l,t,GF(KD(P(e.Cb,29)),e),!1),n?n.lj(c):n=c));else if(M(e.Cb,446))for(s=P(e.Cb,834),o=(!s.b&&(s.b=new Qm(new Hh)),s.b),a=(r=new Pj(new im(o.a).a),new $m(r));a.a.b;)i=P(dj(a.a).jd(),87),n=gB(i,IR(i,s),n)}return n}function Lst(e,t){var n,r,i,a,o=hg(eS(J(e,(PB(),L1)))),s,c,l,u,d,f=P(J(e,d0),22);for(c=!1,l=!1,d=new lx((!e.c&&(e.c=new F(m7,e,9,9)),e.c));d.e!=d.i.gc()&&(!c||!l);){for(a=P(OF(d),125),s=0,i=xw(IA(U(k(QJ,1),$B,20,0,[(!a.d&&(a.d=new xS(i7,a,8,5)),a.d),(!a.e&&(a.e=new xS(i7,a,7,4)),a.e)])));CR(i)&&(r=P(CO(i),85),u=o&&uR(r)&&hg(eS(J(r,R1))),n=Zat((!r.b&&(r.b=new xS(r7,r,4,7)),r.b),a)?e==PE(cL(P(H((!r.c&&(r.c=new xS(r7,r,5,8)),r.c),0),84))):e==PE(cL(P(H((!r.b&&(r.b=new xS(r7,r,4,7)),r.b),0),84))),!((u||n)&&(++s,s>1))););(s>0||f.Gc((rR(),c5))&&(!a.n&&(a.n=new F(f7,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(l=!0)}c&&t.Ec((oz(),AQ)),l&&t.Ec((oz(),jQ))}function Rst(e){var t,n,i,a,o,s,c,l,u,d,f,p=P(J(e,(LB(),R6)),22);if(p.dc())return null;if(c=0,s=0,p.Gc((tF(),R5))){for(d=P(J(e,X6),102),i=2,n=2,a=2,o=2,t=PE(e)?P(J(PE(e),D6),86):P(J(e,D6),86),u=new lx((!e.c&&(e.c=new F(m7,e,9,9)),e.c));u.e!=u.i.gc();)if(l=P(OF(u),125),f=P(J(l,e8),64),f==(wB(),M5)&&(f=Drt(l,t),IF(l,e8,f)),d==(iL(),t5))switch(f.g){case 1:i=r.Math.max(i,l.i+l.g);break;case 2:n=r.Math.max(n,l.j+l.f);break;case 3:a=r.Math.max(a,l.i+l.g);break;case 4:o=r.Math.max(o,l.j+l.f)}else switch(f.g){case 1:i+=l.g+2;break;case 2:n+=l.f+2;break;case 3:a+=l.g+2;break;case 4:o+=l.f+2}c=r.Math.max(i,a),s=r.Math.max(n,o)}return TB(e,c,s,!0,!0)}function zst(e,t){var n,i,a=null,o,s,c,l,u,d,f,p,m,h,g;for(i=new E(t.a);i.a<i.c.c.length;)n=P(z(i),9),o=_at(n)?(c=bx(z_(new Ah,n),e.f),l=bx(z_(new Ah,n),e.f),u=new UTe(n,!0,c,l),d=n.o.b,f=(HF(),p=(n.q?n.q:(KT(),KT(),DY))._b((PB(),Q1))?P(K(n,Q1),203):P(K(lT(n),$1),203),p),m=1e4,f==q0&&(m=1),h=ZR(L_(I_(F_(R_(new Mh,m),xE(r.Math.ceil(d))),c),l)),f==J0&&Tw(e.d,h),Pnt(e,AP(rP(n,(wB(),N5))),u),Pnt(e,rP(n,p5),u),u):(g=bx(z_(new Ah,n),e.f),P_(AT(new jC(null,new nD(n.j,16)),new ja),new mue(e,g)),new UTe(n,!1,g,g)),e.i[n.p]=o,a&&(s=a.c.d.a+Jb(e.n,a.c,n)+n.d.d,a.b||(s+=a.c.o.b),ZR(L_(I_(R_(F_(new Mh,xE(r.Math.ceil(s))),0),a.d),o.a))),a=o}function _B(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_,v,y=P(aO($k(AT(new jC(null,new nD(t.d,16)),new zte(n)),new Bte(n)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),b,x;for(f=JB,d=LV,l=new E(t.b.j);l.a<l.c.c.length;)c=P(z(l),12),c.j==n&&(f=r.Math.min(f,c.p),d=r.Math.max(d,c.p));if(f==JB)for(s=0;s<y.gc();s++)fFe(P(y.Xb(s),107),n,s);else for(b=V(q9,JV,30,a.length,15,1),hSe(b,b.length),v=y.Jc();v.Ob();){for(_=P(v.Pb(),107),o=P(Zw(e.b,_),171),u=0,g=f;g<=d;g++)o[g]&&(u=r.Math.max(u,i[g]));if(_.i){for(m=_.i.c,x=new Dh,p=0;p<a.length;p++)a[m][p]&&Tw(x,G(b[p]));for(;w_(x,G(u));)++u}for(fFe(_,n,u),h=f;h<=d;h++)o[h]&&(i[h]=u+1);_.i&&(b[_.i.c]=u)}}function Bst(e,t){var n,i,a,o,s,c,l,u;for(W(t,(Y(),H$),G(e.b)),W(t,U$,G(e.b)),++e.b,yfe(e.d,t),W(t,W$,(mx(),!0)),i=new XC(dx(dP(t).a.Jc(),new f));CR(i);)n=P(CO(i),17),!(n.c.i!=t&&vk(e.a,n,0)==-1)&&(n.c.i==t&&vk(e.a,n,0)!=-1||(u=null,u=n.d.i==t?n.c.i:n.d.i,P(K(u,H$),15).a==-1?(Bst(e,u),W(t,U$,G(r.Math.min(P(K(t,U$),15).a,P(K(u,U$),15).a)))):hg(eS(K(u,W$)))&&W(t,U$,G(r.Math.min(P(K(t,U$),15).a,P(K(u,H$),15).a)))));if(j(K(t,U$))===j(K(t,H$))){l=new Dh,o=null;do o=P(eUe(e.d),9),W(o,W$,!1),l.a.yc(o,l);while(t!=o);if(l.a.gc()>1)for(a=e.e.b,pC(e.e,l),c=l.a.ec().Jc();c.Ob();)s=P(c.Pb(),9),ST(e.c,s,G(a))}}function Vst(e,t,n,a){var o,s=new h3e(t),c,l,u,d,f,p=$9e(e,t,s),m,h=r.Math.max(O(N(K(t,(PB(),N1)))),1);for(f=new E(p.a);f.a<f.c.c.length;)d=P(z(f),49),u=Hqe(P(d.a,8),P(d.b,8),h),i=!0,i&=hC(n,new A(u.c,u.d)),i&=hC(n,Jx(new A(u.c,u.d),u.b,0)),i&=hC(n,Jx(new A(u.c,u.d),0,u.a)),i&hC(n,Jx(new A(u.c,u.d),u.b,u.a));switch(m=s.d,l=Hqe(P(p.b.a,8),P(p.b.b,8),h),m==(wB(),N5)||m==p5?(a.c[m.g]=r.Math.min(a.c[m.g],l.d),a.b[m.g]=r.Math.max(a.b[m.g],l.d+l.a)):(a.c[m.g]=r.Math.min(a.c[m.g],l.c),a.b[m.g]=r.Math.max(a.b[m.g],l.c+l.b)),o=mH,c=s.c.i.d,m.g){case 4:o=c.c;break;case 2:o=c.b;break;case 1:o=c.a;break;case 3:o=c.d}return a.a[m.g]=r.Math.max(a.a[m.g],o),s}function Hst(e,t,n){var r,i,a=P(K(e,(Y(),T$)),85),o,s,c,l,u,d,f,p;if(a){for(r=e.a,i=new mb(n),wS(i,iQe(e)),zj(e.d.i,e.c.i)?(f=e.c,d=PM(U(k(o6,1),X,8,0,[f.n,f.a])),TS(d,n)):d=aD(e.c),iO(r,d,r.a,r.a.a),p=aD(e.d),K(e,V$)!=null&&wS(p,P(K(e,V$),8)),iO(r,p,r.c.b,r.c),kj(r,i),o=QR(a),ej(o,P(H((!a.b&&(a.b=new xS(r7,a,4,7)),a.b),0),84)),tj(o,P(H((!a.c&&(a.c=new xS(r7,a,5,8)),a.c),0),84)),Yrt(r,o),u=new E(e.b);u.a<u.c.c.length;)l=P(z(u),70),s=P(K(l,T$),157),wA(s,l.o.a),yA(s,l.o.b),xb(s,l.n.a+i.a,l.n.b+i.b),IF(s,(Sj(),bZ),eS(K(l,bZ)));c=P(K(e,(PB(),z1)),78),c?(kj(c,i),IF(a,z1,c)):IF(a,z1,null),t==(UN(),O8)?IF(a,A1,O8):IF(a,A1,null)}}function Ust(e,t,n,r){var i,a,o,s,c,l,u,d,f,p=t.c.length,m,h,g,_,v;for(f=0,d=new E(e.b);d.a<d.c.c.length;)if(u=P(z(d),25),_=u.a,_.c.length!=0){for(g=new E(_),l=0,v=null,i=P(z(g),9),a=null;i;){if(a=P(AC(t,i.p),263),a.c>=0){for(c=null,s=new bD(u.a,l+1);s.b<s.d.gc()&&(o=(Bx(s.b<s.d.gc()),P(s.d.Xb(s.c=s.b++),9)),c=P(AC(t,o.p),263),!(c.d==a.d&&c.c<a.c));)c=null;c&&(v&&(fO(r,i.p,G(P(AC(r,i.p),15).a-1)),P(AC(n,v.p),16).Kc(a)),a=b$e(a,i,p++),ph(t.c,a),$b(n,new ah),v?(P(AC(n,v.p),16).Ec(a),$b(r,G(1))):$b(r,G(0)))}m=null,g.a<g.c.c.length&&(m=P(z(g),9),h=P(AC(t,m.p),263),P(AC(n,i.p),16).Ec(h),fO(r,m.p,G(P(AC(r,m.p),15).a+1))),a.d=f,a.c=l++,v=i,i=m}++f}}function Wst(e,t){var n,r,i,a,o,s=P(Zw(t.c,e),457),c,l,u,d,f,p,m,h,g,_,v=t.a.c,y,b,x,S,ee,te,ne,C;c=t.a.c+t.a.b,ne=s.f,C=s.a,o=ne<C,h=new A(v,ne),y=new A(c,C),i=(v+c)/2,g=new A(i,ne),b=new A(i,C),a=O5e(e,ne,C),S=aD(t.B),ee=new A(i,a),te=aD(t.D),n=WVe(U(k(o6,1),X,8,0,[S,ee,te])),p=!1,_=t.B.i,_&&_.c&&s.d&&(l=o&&_.p<_.c.a.c.length-1||!o&&_.p>0,l?l&&(f=_.p,o?++f:--f,d=P(AC(_.c.a,f),9),r=VVe(d),p=!(j5e(r,S,n[0])||yCe(r,S,n[0]))):p=!0),m=!1,x=t.D.i,x&&x.c&&s.e&&(u=o&&x.p>0||!o&&x.p<x.c.a.c.length-1,u?(f=x.p,o?--f:++f,d=P(AC(x.c.a,f),9),r=VVe(d),m=!(j5e(r,n[0],te)||yCe(r,n[0],te))):m=!0),p&&m&&pC(e.a,ee),p||UA(e.a,U(k(o6,1),X,8,0,[h,g])),m||UA(e.a,U(k(o6,1),X,8,0,[b,y]))}function Gst(e,t,n,i){var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne;if(n.c.length!=0){for(h=new ah,m=new E(n);m.a<m.c.c.length;)p=P(z(m),26),$b(h,new A(p.i,p.j));for(i.bh(t,`Before removing overlaps`);D1e(e,n);)TR(e,n,!1);if(i.bh(t,`After removing overlaps`),c=0,l=0,a=null,n.c.length!=0&&(a=(oD(0,n.c.length),P(n.c[0],26)),c=a.i-(oD(0,h.c.length),P(h.c[0],8)).a,l=a.j-(oD(0,h.c.length),P(h.c[0],8)).b),s=r.Math.sqrt(c*c+l*l),f=zUe(n),o=1,f.a.gc()!=0){for(d=f.a.ec().Jc();d.Ob();)u=P(d.Pb(),26),g=e.f,_=g.i+g.g/2,v=g.j+g.f/2,y=u.i+u.g/2,b=u.j+u.f/2,x=y-_,S=b-v,ee=r.Math.sqrt(x*x+S*S),te=x/ee,ne=S/ee,TA(u,u.i+te*s),EA(u,u.j+ne*s);i.bh(t,`Child movement `+o),++o}e.a&&e.a.Fg(new NS(f)),Gst(e,t,new NS(f),i)}}function Kst(e,t){var n,r,i,a,o,s,c,l,u,d,p;if(!e.f[t.p]){for(e.f[t.p]=!0,c=new oh,i=j(K(e.c,(PB(),l1)))===j((SM(),HQ)),r=new XC(dx(fP(t).a.Jc(),new f));CR(r);)n=P(CO(r),17),Kx(n.d.i,(Y(),w$))?(p=0,d=n.d.i,i?(s=P(K(e.c,C$),15).a,p=s*P(K(d,f1),15).a+P(K(d,w$),15).a):p=P(K(n.d.i,w$),15).a,bw(c,G(p))?Tw(P(Zw(c,G(p)),47),n):ST(c,G(p),new EC(new dg(U(k(FX,1),eW,17,0,[n]))))):ST(c,G(JB-(c.f.c+c.i.c)),new EC(new dg(U(k(FX,1),eW,17,0,[n]))));for(l=new Ime(new Zp(c)),o=l.a.ec().Jc();o.Ob();)a=P(o.Pb(),15).a,u=P(P(Zw(c,G(a)),47).a.ec().Jc().Pb(),17),!xO(u)&&(d=u.d.i,e.f[d.p]&&!w_(e.e,t)&&!w_(e.d,d)?pM(e.b,P(Zw(c,G(a)),18)):pC(e.a,d))}}function qst(e){var t,n=e.D==null?e.B:e.D,r,i;if(t=sb(n,hL(91)),t!=-1){r=(YO(0,t,n.length),n.substr(0,t)),i=new Eg;do i.a+=`[`;while((t=Lx(n,91,++t))!=-1);CS(r,GB)?i.a+=`Z`:CS(r,rJ)?i.a+=`B`:CS(r,iJ)?i.a+=`C`:CS(r,aJ)?i.a+=`D`:CS(r,oJ)?i.a+=`F`:CS(r,sJ)?i.a+=`I`:CS(r,cJ)?i.a+=`J`:CS(r,lJ)?i.a+=`S`:(i.a+=`L`,i.a+=``+r,i.a+=`;`);try{return null}catch(e){if(e=hM(e),!M(e,63))throw D(e)}}else if(sb(n,hL(46))==-1){if(CS(n,GB))return J9;if(CS(n,rJ))return X9;if(CS(n,iJ))return K9;if(CS(n,aJ))return Z9;if(CS(n,oJ))return Q9;if(CS(n,sJ))return q9;if(CS(n,cJ))return Y9;if(CS(n,lJ))return $9}return null}function Jst(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;for(d=new Nwe(new _m(e));d.c!=d.d.a.d;)for(u=vIe(d),s=P(u.d,57),t=P(u.e,57),o=s.Ah(),h=0,b=(o.i??Rz(o),o.i).length;h<b;++h)if(l=(a=(o.i??Rz(o),o.i),h>=0&&h<a.length?a[h]:null),l.pk()&&!l.qk()){if(M(l,103))c=P(l,19),(c.Bb&sq)==0&&(S=QF(c),!(S&&(S.Bb&sq)!=0))&&_it(e,c,s,t);else if(rv(),P(l,69).vk()&&(n=(x=l,P(x?P(t,52).di(x):null,163)),n))for(p=P(s.Jh(l),163),r=n.gc(),g=0,m=p.gc();g<m;++g)if(f=p.Rl(g),M(f,103)){if(y=p.Sl(g),i=zk(e,y),i==null&&y!=null){if(v=P(f,19),!e.b||(v.Bb&sq)!=0||QF(v))continue;i=y}if(!n.Ml(f,i)){for(_=0;_<r;++_)if(n.Rl(_)==f&&j(n.Sl(_))===j(i)){n.Ri(n.gc()-1,_),--r;break}}}else n.Ml(p.Rl(g),p.Sl(g))}}function Yst(e,t,n){var i;if(n.Tg(`StretchWidth layering`,1),t.a.c.length==0){n.Ug();return}for(e.c=t,e.t=0,e.u=0,e.i=pH,e.g=mH,e.d=O(N(K(t,(PB(),y0)))),bJe(e),g6e(e),h6e(e),XZe(e),NKe(e),e.i=r.Math.max(1,e.i),e.g=r.Math.max(1,e.g),e.d/=e.i,e.f=e.g/e.i,e.s=eYe(e),i=new tT(e.c),$b(e.c.b,i),e.r=pD(e.p),e.n=_E(e.k,e.k.length);e.r.c.length!=0;)e.o=SUe(e),!e.o||qVe(e)&&e.b.a.gc()!=0?(BQe(e,i),i=new tT(e.c),$b(e.c.b,i),bj(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):qVe(e)?(e.c.b.c.length=0,i=new tT(e.c),$b(e.c.b,i),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=pD(e.p),e.n=_E(e.k,e.k.length)):(BE(e.o,i),_k(e.r,e.o),Tw(e.b,e.o),e.t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p],e.u+=e.e[e.o.p]*e.d);t.a.c.length=0,JL(t.b),n.Ug()}function vB(e,t,n,i){var a,o,s,c,l=e,u,d=TS(new A(t.a,t.b),e),f,p,m,h,g,_,v,y,b;return u=n,f=TS(new A(i.a,i.b),n),p=l.a,_=l.b,h=u.a,y=u.b,m=d.a,v=d.b,g=f.a,b=f.b,a=g*v-m*b,Ib(),RA(HG),r.Math.abs(0-a)<=HG||a==0?!1:(s=1/a*((p-h)*v-(_-y)*m),c=1/a*-(-(p-h)*b+(_-y)*g),o=(RA(HG),(r.Math.abs(0-s)<=HG||s==0?0:0<s?-1:0>s?1:mS(!1,isNaN(s)))<0&&(RA(HG),(r.Math.abs(s-1)<=HG||s==1?0:s<1?-1:s>1?1:mS(isNaN(s),!1))<0)&&(RA(HG),(r.Math.abs(0-c)<=HG||c==0?0:0<c?-1:0>c?1:mS(!1,isNaN(c)))<0)&&(RA(HG),(r.Math.abs(c-1)<=HG||c==1?0:c<1?-1:c>1?1:mS(isNaN(c),!1))<0)),o)}function Xst(e){var t,n,i,a,o,s,c,l,u,d,f;for(e.j=V(q9,JV,30,e.g,15,1),e.o=new ah,P_(Bk(new jC(null,new nD(e.e.b,16)),new Ra),new Gm(e)),e.a=V(J9,qH,30,e.b,16,1),ON(new jC(null,new nD(e.e.b,16)),new mne(e)),i=(f=new ah,P_(AT(Bk(new jC(null,new nD(e.e.b,16)),new Va),new pne(e)),new hue(e,f)),f),l=new E(i);l.a<l.c.c.length;)if(c=P(z(l),500),!(c.c.length<=1)){if(c.c.length==2){L4e(c),_at((oD(0,c.c.length),P(c.c[0],17)).d.i)||$b(e.o,c);continue}if(!(c$e(c)||c2e(c,new za)))for(u=new E(c),a=null;u.a<u.c.c.length;)t=P(z(u),17),n=e.c[t.p],d=!a||u.a>=u.c.c.length?rMe((MR(),HX),BX):rMe((MR(),BX),BX),d*=2,o=n.a.g,n.a.g=r.Math.max(o,o+(d-o)),s=n.b.g,n.b.g=r.Math.max(s,s+(d-s)),a=t}}function yB(e,t){var n;if(e.e)throw D(new cg(($x(Oxt),UH+Oxt.k+WH)));if(!Hle(e.a,t))throw D(new Jh(Kdt+t+qdt));if(t==e.d)return e;switch(n=e.d,e.d=t,n.g){case 0:switch(t.g){case 2:hI(e);break;case 1:NM(e),hI(e);break;case 4:XI(e),hI(e);break;case 3:XI(e),NM(e),hI(e)}break;case 2:switch(t.g){case 1:NM(e),qet(e);break;case 4:XI(e),hI(e);break;case 3:XI(e),NM(e),hI(e)}break;case 1:switch(t.g){case 2:NM(e),qet(e);break;case 4:NM(e),XI(e),hI(e);break;case 3:NM(e),XI(e),NM(e),hI(e)}break;case 4:switch(t.g){case 2:XI(e),hI(e);break;case 1:XI(e),NM(e),hI(e);break;case 3:NM(e),qet(e)}break;case 3:switch(t.g){case 2:NM(e),XI(e),hI(e);break;case 1:NM(e),XI(e),NM(e),hI(e);break;case 4:NM(e),qet(e)}}return e}function bB(e,t){var n;if(e.d)throw D(new cg(($x(wX),UH+wX.k+WH)));if(!Vle(e.a,t))throw D(new Jh(Kdt+t+qdt));if(t==e.c)return e;switch(n=e.c,e.c=t,n.g){case 0:switch(t.g){case 2:LM(e);break;case 1:MM(e),LM(e);break;case 4:ZI(e),LM(e);break;case 3:ZI(e),MM(e),LM(e)}break;case 2:switch(t.g){case 1:MM(e),Jet(e);break;case 4:ZI(e),LM(e);break;case 3:ZI(e),MM(e),LM(e)}break;case 1:switch(t.g){case 2:MM(e),Jet(e);break;case 4:MM(e),ZI(e),LM(e);break;case 3:MM(e),ZI(e),MM(e),LM(e)}break;case 4:switch(t.g){case 2:ZI(e),LM(e);break;case 1:ZI(e),MM(e),LM(e);break;case 3:MM(e),Jet(e)}break;case 3:switch(t.g){case 2:MM(e),ZI(e),LM(e);break;case 1:MM(e),ZI(e),MM(e),LM(e);break;case 4:MM(e),Jet(e)}}return e}function Zst(e){var t,n,r,i,a,o,s,c,l,u,d=e.b,f,p,m,h,g,_,v,y;for(u=new bD(d,0),hS(u,new tT(e)),v=!1,o=1;u.b<u.d.gc();){for(l=(Bx(u.b<u.d.gc()),P(u.d.Xb(u.c=u.b++),25)),h=(oD(o,d.c.length),P(d.c[o],25)),g=pD(l.a),_=g.c.length,m=new E(g);m.a<m.c.c.length;)f=P(z(m),9),BE(f,h);if(v){for(p=AP(g).Jc();p.Ob();)for(f=P(p.Pb(),9),a=new E(pD(uP(f)));a.a<a.c.c.length;)i=P(z(a),17),Bz(i,!0),W(e,(Y(),e$),(mx(),!0)),r=kot(e,i,_),n=P(K(f,XQ),317),y=P(AC(r,r.c.length-1),17),n.k=y.c.i,n.n=y,n.b=i.d.i,n.c=i;v=!1}else g.c.length!=0&&(t=(oD(0,g.c.length),P(g.c[0],9)),t.k==(MR(),LX)&&(v=!0,o=-1));++o}for(s=new bD(e.b,0);s.b<s.d.gc();)c=(Bx(s.b<s.d.gc()),P(s.d.Xb(s.c=s.b++),25)),c.a.c.length==0&&nT(s)}function xB(e,t){var n,r,i,a,o,s,c,l;if(M(e.Bh(),174)?(xB(P(e.Bh(),174),t),t.a+=` > `):t.a+=`Root `,n=e.Ah().zb,CS(n.substr(0,3),`Elk`)?Qy(t,(sD(3,n.length+1),n.substr(3))):t.a+=``+n,i=e.ih(),i){Qy((t.a+=` `,t),i);return}if(M(e,362)&&(l=P(e,157).a,l)){Qy((t.a+=` `,t),l);return}for(o=new lx(e.jh());o.e!=o.i.gc();)if(a=P(OF(o),157),l=a.a,l){Qy((t.a+=` `,t),l);return}if(M(e,271)&&(r=P(e,85),!r.b&&(r.b=new xS(r7,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new xS(r7,r,5,8)),r.c.i!=0))){for(t.a+=` (`,s=new Dx((!r.b&&(r.b=new xS(r7,r,4,7)),r.b));s.e!=s.i.gc();)s.e>0&&(t.a+=QB),xB(P(OF(s),174),t);for(t.a+=Nft,c=new Dx((!r.c&&(r.c=new xS(r7,r,5,8)),r.c));c.e!=c.i.gc();)c.e>0&&(t.a+=QB),xB(P(OF(c),174),t);t.a+=`)`}}function Qst(e,t,n){var i,a,o,s,c,l,u,d;for(l=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));l.e!=l.i.gc();)for(c=P(OF(l),26),a=new XC(dx(PR(c).a.Jc(),new f));CR(a);){if(i=P(CO(a),85),!i.b&&(i.b=new xS(r7,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new xS(r7,i,5,8)),i.c.i<=1)))throw D(new yg(`Graph must not contain hyperedges.`));if(!bR(i)&&c!=cL(P(H((!i.c&&(i.c=new xS(r7,i,5,8)),i.c),0),84)))for(u=new qge,Xj(u,i),W(u,(oj(),uX),i),Sp(u,P(By(VC(n.f,c)),155)),Cp(u,P(Zw(n,cL(P(H((!i.c&&(i.c=new xS(r7,i,5,8)),i.c),0),84))),155)),$b(t.c,u),s=new lx((!i.n&&(i.n=new F(f7,i,1,7)),i.n));s.e!=s.i.gc();)o=P(OF(s),157),d=new eMe(u,o.a),Xj(d,o),W(d,uX,o),d.e.a=r.Math.max(o.g,1),d.e.b=r.Math.max(o.f,1),kit(d),$b(t.d,d)}}function $st(e,t,n){var i,a,o,s,c,l,u,d,f,p;switch(n.Tg(`Node promotion heuristic`,1),e.i=t,e.r=P(K(t,(PB(),H1)),243),e.r!=(bz(),n2)&&e.r!=r2?Bct(e):v9e(e),d=P(K(e.i,Ukt),15).a,o=new Qn,e.r.g){case 2:case 1:rB(e,o);break;case 3:for(e.r=s2,rB(e,o),l=0,c=new E(e.b);c.a<c.c.c.length;)s=P(z(c),15),l=r.Math.max(l,s.a);l>e.k&&(e.r=i2,rB(e,o));break;case 4:for(e.r=s2,rB(e,o),u=0,a=new E(e.c);a.a<a.c.c.length;)i=N(z(a)),u=r.Math.max(u,(dT(i),i));u>e.n&&(e.r=a2,rB(e,o));break;case 6:p=xE(r.Math.ceil(e.g.length*d/100)),rB(e,new pte(p));break;case 5:f=xE(r.Math.ceil(e.e*d/100)),rB(e,new mte(f));break;case 8:_ut(e,!0);break;case 9:_ut(e,!1);break;default:rB(e,o)}e.r!=n2&&e.r!=r2?b7e(e,t):Ket(e,t),n.Ug()}function ect(e,t){var n,i,a,o,s,c,l,u,d,f=new kct(e),p,m,h,g,_,v,y,b;for(BDe(f,!(t==(WN(),y8)||t==h8)),d=f.a,p=new Fh,a=(uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])),s=0,l=a.length;s<l;++s)n=a[s],u=Wpe(d,IY,n),u&&(p.d=r.Math.max(p.d,u.ff()));for(i=U(k(zY,1),Z,237,0,[IY,LY,RY]),o=0,c=i.length;o<c;++o)n=i[o],u=Wpe(d,RY,n),u&&(p.a=r.Math.max(p.a,u.ff()));for(g=U(k(zY,1),Z,237,0,[IY,LY,RY]),v=0,b=g.length;v<b;++v)m=g[v],u=Wpe(d,m,IY),u&&(p.b=r.Math.max(p.b,u.gf()));for(h=U(k(zY,1),Z,237,0,[IY,LY,RY]),_=0,y=h.length;_<y;++_)m=h[_],u=Wpe(d,m,RY),u&&(p.c=r.Math.max(p.c,u.gf()));return p.d>0&&(p.d+=d.n.d,p.d+=d.d),p.a>0&&(p.a+=d.n.a,p.a+=d.d),p.b>0&&(p.b+=d.n.b,p.b+=d.d),p.c>0&&(p.c+=d.n.c,p.c+=d.d),p}function tct(e,t,n){var i,a,o,s,c,l,u,d,f,p=n.d,m,h;for(f=n.c,o=new A(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),s=o.b,u=new E(e.a);u.a<u.c.c.length;)if(c=P(z(u),9),c.k==(MR(),RX)){switch(i=P(K(c,(Y(),s$)),64),a=P(K(c,rEt),8),d=c.n,i.g){case 2:d.a=n.f.a+p.c-f.a;break;case 4:d.a=-f.a-p.b}switch(h=0,i.g){case 2:case 4:t==(iL(),n5)?(m=O(N(K(c,k$))),d.b=o.b*m-P(K(c,(PB(),s0)),8).b,h=d.b+a.b,fM(c,!1,!0)):t==t5&&(d.b=O(N(K(c,k$)))-P(K(c,(PB(),s0)),8).b,h=d.b+a.b,fM(c,!1,!0))}s=r.Math.max(s,h)}for(n.f.b+=s-o.b,l=new E(e.a);l.a<l.c.c.length;)if(c=P(z(l),9),c.k==(MR(),RX))switch(i=P(K(c,(Y(),s$)),64),d=c.n,i.g){case 1:d.b=-f.b-p.d;break;case 3:d.b=n.f.b+p.a-f.b}}function nct(e,t){var n,i,a,o,s,c,l,u,d=P(P(DO(e.r,t),22),83),f,p,m,h,g,_,v;if(d.gc()<=2||t==(wB(),p5)||t==(wB(),N5)){vlt(e,t);return}for(g=e.u.Gc((rR(),d5)),n=t==(wB(),m5)?(tM(),ZY):(tM(),JY),v=t==m5?(Mk(),WY):(Mk(),KY),i=Doe(sve(n),e.s),_=t==m5?pH:mH,u=d.Jc();u.Ob();)c=P(u.Pb(),115),!(!c.c||c.c.d.c.length<=0)&&(h=c.b.Kf(),m=c.e,f=c.c,p=f.i,p.b=(o=f.n,f.e.a+o.b+o.c),p.a=(s=f.n,f.e.b+s.d+s.a),g?(p.c=m.a-(a=f.n,f.e.a+a.b+a.c)-e.s,g=!1):p.c=m.a+h.a+e.s,sE(v,aft),f.f=v,ZO(f,(uk(),UY)),$b(i.d,new MSe(p,qWe(i,p))),_=t==m5?r.Math.min(_,m.b):r.Math.max(_,m.b+c.b.Kf().b));for(_+=t==m5?-e.t:e.t,fKe((i.e=_,i)),l=d.Jc();l.Ob();)c=P(l.Pb(),115),!(!c.c||c.c.d.c.length<=0)&&(p=c.c.i,p.c-=c.e.a,p.d-=c.e.b)}function rct(e,t,n){var r,i=new ah,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;for(h=new E(t.a);h.a<h.c.c.length;)if(m=P(z(h),9),p=m.e,p&&(r=rct(e,p,m),pM(i,r),Qot(e,p,m),P(K(p,(Y(),l$)),22).Gc((oz(),AQ))))for(v=P(K(m,(PB(),l0)),102),f=P(K(m,d0),182).Gc((rR(),c5)),_=new E(m.j);_.a<_.c.c.length;)for(g=P(z(_),12),a=P(Zw(e.b,g),9),a||(a=OB(g,v,g.j,-(g.e.c.length-g.g.c.length),null,new Xg,g.o,P(K(p,T1),86),p),W(a,T$,g),ST(e.b,g,a),$b(p.a,a)),o=P(AC(a.j,0),12),u=new E(g.f);u.a<u.c.c.length;)l=P(z(u),70),s=new Foe,s.o.a=l.o.a,s.o.b=l.o.b,$b(o.f,s),f||(y=g.j,d=0,lw(P(K(m,d0),22))&&(d=W4e(l.n,l.o,g.o,0,y)),v==(iL(),i5)||(wB(),v5).Gc(y)?s.o.a=d:s.o.b=d);return c=new ah,$ot(e,t,n,i,c),n&&rot(e,t,n,c),c}function ict(e,t,n){var r,i,a,o,s,c,l,u,d;if(!e.c[t.c.p][t.p].e){for(e.c[t.c.p][t.p].e=!0,e.c[t.c.p][t.p].b=0,e.c[t.c.p][t.p].d=0,e.c[t.c.p][t.p].a=null,u=new E(t.j);u.a<u.c.c.length;)for(l=P(z(u),12),d=n?new Bm(l):new Hm(l),c=d.Jc();c.Ob();)s=P(c.Pb(),12),o=s.i,o.c==t.c?o!=t&&(ict(e,o,n),e.c[t.c.p][t.p].b+=e.c[o.c.p][o.p].b,e.c[t.c.p][t.p].d+=e.c[o.c.p][o.p].d):(e.c[t.c.p][t.p].d+=e.g[s.p],++e.c[t.c.p][t.p].b);if(a=P(K(t,(Y(),$Tt)),16),a)for(i=a.Jc();i.Ob();)r=P(i.Pb(),9),t.c==r.c&&(ict(e,r,n),e.c[t.c.p][t.p].b+=e.c[r.c.p][r.p].b,e.c[t.c.p][t.p].d+=e.c[r.c.p][r.p].d);e.c[t.c.p][t.p].b>0&&(e.c[t.c.p][t.p].d+=FR(e.i,24)*MH*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function act(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;for(m=new E(e);m.a<m.c.c.length;){for(p=P(z(m),9),Mx(p.n),Mx(p.o),VPe(p.f),ltt(p),pet(p),g=new E(p.j);g.a<g.c.c.length;){for(h=P(z(g),12),Mx(h.n),Mx(h.a),Mx(h.o),tR(h,yYe(h.j)),a=P(K(h,(PB(),u0)),15),a&&W(h,u0,G(-a.a)),i=new E(h.g);i.a<i.c.c.length;){for(r=P(z(i),17),n=TF(r.a,0);n.b!=n.d.c;)t=P(RD(n),8),Mx(t);if(c=P(K(r,z1),78),c)for(s=TF(c,0);s.b!=s.d.c;)o=P(RD(s),8),Mx(o);for(d=new E(r.b);d.a<d.c.c.length;)l=P(z(d),70),Mx(l.n),Mx(l.o)}for(f=new E(h.f);f.a<f.c.c.length;)l=P(z(f),70),Mx(l.n),Mx(l.o)}for(p.k==(MR(),RX)&&(W(p,(Y(),s$),yYe(P(K(p,s$),64))),j7e(p)),u=new E(p.b);u.a<u.c.c.length;)l=P(z(u),70),ltt(l),Mx(l.o),Mx(l.n)}}function oct(e){oS();var t,n,i=e.f.n,a,o,s,c;for(s=dwe(e.r).a.nc();s.Ob();){if(o=P(s.Pb(),115),a=0,o.b.nf((LB(),Y6))&&(a=O(N(o.b.mf(Y6))),a<0))switch(o.b.$f().g){case 1:i.d=r.Math.max(i.d,-a);break;case 3:i.a=r.Math.max(i.a,-a);break;case 2:i.c=r.Math.max(i.c,-a);break;case 4:i.b=r.Math.max(i.b,-a)}if(lw(e.u))switch(t=aBe(o.b,a),c=!P(e.e.mf(V6),182).Gc((Tz(),V5)),n=!1,o.b.$f().g){case 1:n=t>i.d,i.d=r.Math.max(i.d,t),c&&n&&(i.d=r.Math.max(i.d,i.a),i.a=i.d+a);break;case 3:n=t>i.a,i.a=r.Math.max(i.a,t),c&&n&&(i.a=r.Math.max(i.a,i.d),i.d=i.a+a);break;case 2:n=t>i.c,i.c=r.Math.max(i.c,t),c&&n&&(i.c=r.Math.max(i.b,i.c),i.b=i.c+a);break;case 4:n=t>i.b,i.b=r.Math.max(i.b,t),c&&n&&(i.b=r.Math.max(i.b,i.c),i.c=i.b+a)}}}function sct(e,t){var n,r,i,a,o,s,c,l=``,u;return t.length==0?e.le(ldt,sdt,-1,-1):(u=qL(t),CS(u.substr(0,3),`at `)&&(u=(sD(3,u.length+1),u.substr(3))),u=u.replace(/\[.*?\]/g,``),o=u.indexOf(`(`),o==-1?(o=u.indexOf(`@`),o==-1?(l=u,u=``):(l=qL((sD(o+1,u.length+1),u.substr(o+1))),u=qL((YO(0,o,u.length),u.substr(0,o))))):(n=u.indexOf(`)`,o),l=(YO(o+1,n,u.length),u.substr(o+1,n-(o+1))),u=qL((YO(0,o,u.length),u.substr(0,o)))),o=sb(u,hL(46)),o!=-1&&(u=(sD(o+1,u.length+1),u.substr(o+1))),(u.length==0||CS(u,`Anonymous function`))&&(u=sdt),s=fx(l,hL(58)),i=E_e(l,hL(58),s-1),c=-1,r=-1,a=ldt,s!=-1&&i!=-1&&(a=(YO(0,i,l.length),l.substr(0,i)),c=rhe((YO(i+1,s,l.length),l.substr(i+1,s-(i+1)))),r=rhe((sD(s+1,l.length+1),l.substr(s+1)))),e.le(a,u,c,r))}function cct(e){var t,n,r,i,a,o,s,c,l,u,d;for(l=new E(e);l.a<l.c.c.length;){switch(c=P(z(l),9),o=P(K(c,(PB(),B1)),165),a=null,o.g){case 1:case 2:a=(CM(),gQ);break;case 3:case 4:a=(CM(),mQ)}if(a)W(c,(Y(),t$),(CM(),gQ)),a==mQ?JR(c,o,(VA(),p2)):a==gQ&&JR(c,o,(VA(),m2));else if(_b(P(K(c,l0),102))&&c.j.c.length!=0){for(t=!0,d=new E(c.j);d.a<d.c.c.length;){if(u=P(z(d),12),!(u.j==(wB(),p5)&&u.e.c.length-u.g.c.length>0||u.j==N5&&u.e.c.length-u.g.c.length<0)){t=!1;break}for(i=new E(u.g);i.a<i.c.c.length;)if(n=P(z(i),17),s=P(K(n.d.i,B1),165),s==(bP(),Y$)||s==X$){t=!1;break}for(r=new E(u.e);r.a<r.c.c.length;)if(n=P(z(r),17),s=P(K(n.c.i,B1),165),s==(bP(),q$)||s==J$){t=!1;break}}t&&JR(c,o,(VA(),h2))}}}function lct(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=0;for(m=0,f=new E(t.e);f.a<f.c.c.length;){for(d=P(z(f),9),p=0,c=0,l=n?P(K(d,N2),15).a:LV,v=i?P(K(d,P2),15).a:LV,u=r.Math.max(l,v),b=new E(d.j);b.a<b.c.c.length;){if(y=P(z(b),12),x=d.n.b+y.n.b+y.a.b,i)for(s=new E(y.g);s.a<s.c.c.length;)o=P(z(s),17),g=o.d,h=g.i,t!=e.a[h.p]&&(_=r.Math.max(P(K(h,N2),15).a,P(K(h,P2),15).a),S=P(K(o,(PB(),h0)),15).a,S>=u&&S>=_&&(p+=h.n.b+g.n.b+g.a.b-x,++c));if(n)for(s=new E(y.e);s.a<s.c.c.length;)o=P(z(s),17),g=o.c,h=g.i,t!=e.a[h.p]&&(_=r.Math.max(P(K(h,N2),15).a,P(K(h,P2),15).a),S=P(K(o,(PB(),h0)),15).a,S>=u&&S>=_&&(p+=h.n.b+g.n.b+g.a.b-x,++c))}c>0&&(ee+=p/c,++m)}m>0?(t.a=a*ee/m,t.g=m):(t.a=0,t.g=0)}function uct(e,t,n,r){var i,a,o,s=new kct(t),c;return K5e(s,r),i=!0,e&&e.nf((LB(),D6))&&(a=P(e.mf((LB(),D6)),86),i=a==(WN(),v8)||a==g8||a==_8),het(s,!1),sA(s.e.Pf(),new ove(s,!1,i)),yE(s,s.f,(uA(),IY),(wB(),m5)),yE(s,s.f,RY,j5),yE(s,s.g,IY,N5),yE(s,s.g,RY,p5),EJe(s,m5),EJe(s,j5),CTe(s,p5),CTe(s,N5),oS(),o=s.A.Gc((tF(),I5))&&s.B.Gc((Tz(),W5))?wKe(s):null,o&&koe(s.a,o),oct(s),tXe(s),nXe(s),Est(s),Xnt(s),eZe(s),hF(s,m5),hF(s,j5),Bet(s),Vat(s),n?(qGe(s),tZe(s),hF(s,p5),hF(s,N5),c=s.B.Gc((Tz(),G5)),G2e(s,c,m5),G2e(s,c,j5),K2e(s,c,p5),K2e(s,c,N5),P_(new jC(null,new nD(new om(s.i),0)),new Ye),P_(AT(new jC(null,dwe(s.r).a.oc()),new Xe),new Ze),e$e(s),s.e.Nf(s.o),P_(new jC(null,dwe(s.r).a.oc()),new Qe),s.o):s.o}function dct(e){var t,n,i,a,o,s,c,l,u=pH,d,f,p,m,h,g;for(i=new E(e.a.b);i.a<i.c.c.length;)t=P(z(i),82),u=r.Math.min(u,t.d.f.g.c+t.e.a);for(m=new E_,s=new E(e.a.a);s.a<s.c.c.length;)o=P(z(s),194),o.i=u,o.e==0&&iO(m,o,m.c.b,m.c);for(;m.b!=0;){for(o=P(m.b==0?null:(Bx(m.b!=0),aA(m,m.a.a)),194),a=o.f.g.c,p=o.a.a.ec().Jc();p.Ob();)d=P(p.Pb(),82),g=o.i+d.e.a,d.d.g||d.g.c<g?d.o=g:d.o=d.g.c;for(a-=o.f.o,o.b+=a,e.c==(WN(),_8)||e.c==h8?o.c+=a:o.c-=a,f=o.a.a.ec().Jc();f.Ob();)for(d=P(f.Pb(),82),l=d.f.Jc();l.Ob();)c=P(l.Pb(),82),h=vb(e.c)?e.f.wf(d,c):e.f.xf(d,c),c.d.i=r.Math.max(c.d.i,d.o+d.g.b+h-c.e.a),c.k||(c.d.i=r.Math.max(c.d.i,c.g.c-c.e.a)),--c.d.e,c.d.e==0&&pC(m,c.d)}for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),82),t.g.c=t.o}function fct(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;for(n.Tg(aht,1),f=(CB(),r4),e.a==(ZM(),D4)&&(f=BMt),u=0,KT(),t.gd(new Ym(f)),a=t.gc(),s=t.dd(t.gc()),l=!0;l&&s.Sb();)v=P(s.Ub(),40),P(K(v,f),15).a==0?--a:l=!1;if(S=t.hd(0,a),o=new MS(S),S=t.hd(a,t.gc()),c=new MS(S),o.b==0)for(h=TF(c,0);h.b!=h.d.c;)m=P(RD(h),40),W(m,m4,G(u++));else for(d=o.b,x=TF(o,0);x.b!=x.d.c;){for(b=P(RD(x),40),W(b,m4,G(u++)),r=_M(b),fct(e,r,n.dh(1/d|0)),pj(r,wTe(new Ym(m4))),p=new E_,y=TF(r,0);y.b!=y.d.c;)for(v=P(RD(y),40),_=TF(b.d,0);_.b!=_.d.c;)g=P(RD(_),65),g.c==v&&iO(p,g,p.c.b,p.c);for(YT(b.d),bj(b.d,p),s=TF(c,c.b),i=b.d.b,l=!0;0<i&&l&&s.Sb();)v=P(s.Ub(),40),P(K(v,f),15).a==0?(W(v,m4,G(u++)),--i,s.Qb()):l=!1}n.Ug()}function pct(e,t,n){var r,i,a,o,s,c,l,u=new tI(n),d,f;for(Xj(u,t),W(u,(Y(),T$),t),u.o.a=t.g,u.o.b=t.f,u.n.a=t.i,u.n.b=t.j,$b(n.a,u),ST(e.a,t,u),((!t.a&&(t.a=new F(p7,t,10,11)),t.a).i!=0||hg(eS(J(t,(PB(),L1)))))&&W(u,eEt,(mx(),!0)),l=P(K(n,l$),22),d=P(K(u,(PB(),l0)),102),d==(iL(),a5)?W(u,l0,i5):d!=i5&&l.Ec((oz(),NQ)),f=0,r=P(K(n,T1),86),c=new lx((!t.c&&(t.c=new F(m7,t,9,9)),t.c));c.e!=c.i.gc();)s=P(OF(c),125),i=PE(t),Yz(i)&&!hg(eS(J(t,m1)))&&IF(s,w$,G(f++)),hg(eS(J(s,a0)))||yct(e,s,u,l,r,d);for(o=new lx((!t.n&&(t.n=new F(f7,t,1,7)),t.n));o.e!=o.i.gc();)a=P(OF(o),157),!hg(eS(J(a,a0)))&&a.a&&$b(u.b,IUe(a));return hg(eS(K(u,r1)))&&l.Ec((oz(),OQ)),hg(eS(K(u,I1)))&&(l.Ec((oz(),MQ)),l.Ec(jQ),W(u,l0,i5)),u}function mct(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;for(t.Tg(`Inverted port preprocessing`,1),u=e.b,l=new bD(u,0),n=null,y=new ah;l.b<l.d.gc();){for(v=n,n=(Bx(l.b<l.d.gc()),P(l.d.Xb(l.c=l.b++),25)),p=new E(y);p.a<p.c.c.length;)d=P(z(p),9),BE(d,v);for(y.c.length=0,m=new E(n.a);m.a<m.c.c.length;)if(d=P(z(m),9),d.k==(MR(),HX)&&_b(P(K(d,(PB(),l0)),102))){for(_=fet(d,(VA(),p2),(wB(),p5)).Jc();_.Ob();)for(h=P(_.Pb(),12),c=h.e,s=P(gF(c,V(FX,eW,17,c.c.length,0,1)),323),i=s,a=0,o=i.length;a<o;++a)r=i[a],bit(e,h,r,y);for(g=fet(d,m2,N5).Jc();g.Ob();)for(h=P(g.Pb(),12),c=h.g,s=P(gF(c,V(FX,eW,17,c.c.length,0,1)),323),i=s,a=0,o=i.length;a<o;++a)r=i[a],yit(e,h,r,y)}}for(f=new E(y);f.a<f.c.c.length;)d=P(z(f),9),BE(d,n);t.Ug()}function hct(e){var t,n,i,a,o,s,c,l,u,d,f=O(N(J(e,(PL(),G4)))),p,m;for(hg(eS(J(e,vPt)))&&(d=P(J(e,(iS(),j4)),26),o=P(H(ATe(P(H((!d.e&&(d.e=new xS(i7,d,7,4)),d.e),(!d.e&&(d.e=new xS(i7,d,7,4)),d.e).i-1),85)),0),26),i=P(H(ATe(P(H((!d.e&&(d.e=new xS(i7,d,7,4)),d.e),0),85)),0),26),s=new A(o.i+o.g/2,o.j+o.f/2),a=new A(i.i+i.g/2,i.j+i.f/2),n=f,n<=0&&(n+=sK),p=r.Math.acos((s.a*a.a+s.b*a.b)/(r.Math.sqrt(s.a*s.a+s.b*s.b)*r.Math.sqrt(a.a*a.a+a.b*a.b))),p<=0&&(p+=sK),t=r.Math.atan2(s.b,s.a),t<=0&&(t+=sK),f=Gmt-(t-n+p/2)),l=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));l.e!=l.i.gc();)c=P(OF(l),26),u=new A(c.i+c.g/2,c.j+c.f/2),m=u.a*r.Math.cos(f)-u.b*r.Math.sin(f),u.b=u.a*r.Math.sin(f)+u.b*r.Math.cos(f),u.a=m,xb(c,u.a-c.g/2,u.b-c.f/2)}function gct(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g=e.n,_=e.o,v;if(p=e.d,f=O(N(qP(e,(PB(),_0)))),t){for(d=f*(t.gc()-1),m=0,l=t.Jc();l.Ob();)s=P(l.Pb(),9),d+=s.o.a,m=r.Math.max(m,s.o.b);for(v=g.a-(d-_.a)/2,o=g.b-p.d+m,i=_.a/(t.gc()+1),a=i,c=t.Jc();c.Ob();)s=P(c.Pb(),9),s.n.a=v,s.n.b=o-s.o.b,v+=s.o.a+f,u=u5e(s),u.n.a=s.o.a/2-u.a.a,u.n.b=s.o.b,h=P(K(s,(Y(),QQ)),12),h.e.c.length+h.g.c.length==1&&(h.n.a=a-h.a.a,h.n.b=0,HE(h,e)),a+=i}if(n){for(d=f*(n.gc()-1),m=0,l=n.Jc();l.Ob();)s=P(l.Pb(),9),d+=s.o.a,m=r.Math.max(m,s.o.b);for(v=g.a-(d-_.a)/2,o=g.b+_.b+p.a-m,i=_.a/(n.gc()+1),a=i,c=n.Jc();c.Ob();)s=P(c.Pb(),9),s.n.a=v,s.n.b=o,v+=s.o.a+f,u=u5e(s),u.n.a=s.o.a/2-u.a.a,u.n.b=0,h=P(K(s,(Y(),QQ)),12),h.e.c.length+h.g.c.length==1&&(h.n.a=a-h.a.a,h.n.b=_.b,HE(h,e)),a+=i}}function SB(e,t,n,i,a,o,s){var c,l,u,d,f,p=null,m,h,g,_,v,y,b;for(i==(EE(),U2)?p=t:i==W2&&(p=n),g=p.a.ec().Jc();g.Ob();){for(h=P(g.Pb(),12),_=PM(U(k(o6,1),X,8,0,[h.i.n,h.n,h.a])).b,b=new Dh,c=new Dh,u=new IO(h.b);Hb(u.a)||Hb(u.b);)if(l=P(Hb(u.a)?z(u.a):z(u.b),17),hg(eS(K(l,(Y(),N$))))==a&&vk(o,l,0)!=-1){if(v=l.d==h?l.c:l.d,y=PM(U(k(o6,1),X,8,0,[v.i.n,v.n,v.a])).b,r.Math.abs(y-_)<.2)continue;y<_?t.a._b(v)?Tw(b,new My(U2,l)):Tw(b,new My(W2,l)):t.a._b(v)?Tw(c,new My(U2,l)):Tw(c,new My(W2,l))}if(b.a.gc()>1)for(m=new qat(h,b,i),dO(b,new Cue(e,m)),ph(s.c,m),f=b.a.ec().Jc();f.Ob();)d=P(f.Pb(),49),_k(o,d.b);if(c.a.gc()>1)for(m=new qat(h,c,i),dO(c,new wue(e,m)),ph(s.c,m),f=c.a.ec().Jc();f.Ob();)d=P(f.Pb(),49),_k(o,d.b)}}function _ct(e,t){var n,i,a,o,s,c;if(P(K(t,(Y(),l$)),22).Gc((oz(),AQ))){for(c=new E(t.a);c.a<c.c.c.length;)o=P(z(c),9),o.k==(MR(),HX)&&(a=P(K(o,(PB(),q1)),140),e.c=r.Math.min(e.c,o.n.a-a.b),e.a=r.Math.max(e.a,o.n.a+o.o.a+a.c),e.d=r.Math.min(e.d,o.n.b-a.d),e.b=r.Math.max(e.b,o.n.b+o.o.b+a.a));for(s=new E(t.a);s.a<s.c.c.length;)if(o=P(z(s),9),o.k!=(MR(),HX))switch(o.k.g){case 2:if(i=P(K(o,(PB(),B1)),165),i==(bP(),J$)){o.n.a=e.c-10,TXe(o,new Fn).Jb(new ste(o));break}if(i==X$){o.n.a=e.a+10,TXe(o,new In).Jb(new cte(o));break}if(n=P(K(o,p$),315),n==(Nk(),qQ)){Yat(o).Jb(new lte(o)),o.n.b=e.d-10;break}if(n==GQ){Yat(o).Jb(new ute(o)),o.n.b=e.b+10;break}break;default:throw D(new sg(`The node type `+o.k+` is not supported by the `+ZCt))}}}function vct(e,t,n,r){var i,a,o,s,c=new A(r.i+r.g/2,r.j+r.f/2),l,u,d,f,p=Nat(r),m=P(J(t,(PB(),l0)),102),h,g=P(J(r,f0),64);for(Ode(uJe(r),c0)||(h=r.i==0&&r.j==0?0:$$e(r,g),IF(r,c0,h)),l=new A(t.g,t.f),i=OB(r,m,g,p,l,c,new A(r.g,r.f),P(K(n,T1),86),n),W(i,(Y(),T$),r),a=P(AC(i.j,0),12),Dp(a,wnt(r)),W(i,d0,(rR(),gP(u5))),d=P(J(t,d0),182).Gc(c5),s=new lx((!r.n&&(r.n=new F(f7,r,1,7)),r.n));s.e!=s.i.gc();)if(o=P(OF(s),157),!hg(eS(J(o,a0)))&&o.a&&(f=IUe(o),$b(a.f,f),!d))switch(u=0,lw(P(J(t,d0),22))&&(u=W4e(new A(o.i,o.j),new A(o.g,o.f),new A(r.g,r.f),0,g)),g.g){case 2:case 4:f.o.a=u;break;case 1:case 3:f.o.b=u}W(i,D0,N(J(PE(t),D0))),W(i,O0,N(J(PE(t),O0))),W(i,T0,N(J(PE(t),T0))),$b(n.a,i),ST(e.a,r,i)}function yct(e,t,n,r,i,a){var o,s,c,l=new jL,u,d;for(Xj(l,t),tR(l,P(J(t,(PB(),f0)),64)),W(l,(Y(),T$),t),HE(l,n),d=l.o,d.a=t.g,d.b=t.f,u=l.n,u.a=t.i,u.b=t.j,ST(e.a,t,l),o=pO(jT(Bk(new jC(null,(!t.e&&(t.e=new xS(i7,t,7,4)),new nD(t.e,16))),new Ht),new zt),new Qee(t)),o||=pO(jT(Bk(new jC(null,(!t.d&&(t.d=new xS(i7,t,8,5)),new nD(t.d,16))),new Ut),new Bt),new $ee(t)),o||=pO(new jC(null,(!t.e&&(t.e=new xS(i7,t,7,4)),new nD(t.e,16))),new nee),W(l,f$,(mx(),!!o)),oot(l,a,i,P(J(t,s0),8)),c=new lx((!t.n&&(t.n=new F(f7,t,1,7)),t.n));c.e!=c.i.gc();)s=P(OF(c),157),!hg(eS(J(s,a0)))&&s.a&&$b(l.f,IUe(s));switch(i.g){case 2:case 1:(l.j==(wB(),m5)||l.j==j5)&&r.Ec((oz(),PQ));break;case 4:case 3:(l.j==(wB(),p5)||l.j==N5)&&r.Ec((oz(),PQ))}return l}function bct(e,t,n,r,i,a){var o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re=Zw(e.g,i),ie,ae;re??(re=new Yh,m=P(re,149),y=t+`_s`,b=y+a,p=new qw(b),Zk(m,Oq,p)),C=P(re,149),$w(n,C),ae=new Yh,ZT(ae,`x`,tL(e,r,i.j)),ZT(ae,`y`,nL(e,r,i.k)),Zk(C,u_t,ae),te=new Yh,ZT(te,`x`,tL(e,r,i.b)),ZT(te,`y`,nL(e,r,i.c)),Zk(C,`endPoint`,te),f=x_((!i.a&&(i.a=new ix(e7,i,5)),i.a)),h=!f,h&&(ee=new _p,o=new Ebe(e,r,ee),dO((!i.a&&(i.a=new ix(e7,i,5)),i.a),o),Zk(C,Eq,ee)),l=XF(i),x=!!l,x&&i1e(e.a,C,o_t,GL(e,XF(i))),v=ZF(i),S=!!v,S&&i1e(e.a,C,a_t,GL(e,ZF(i))),u=(!i.e&&(i.e=new xS(a7,i,10,9)),i.e).i==0,g=!u,g&&(ne=new _p,s=new gde(e,ne),dO((!i.e&&(i.e=new xS(a7,i,10,9)),i.e),s),Zk(C,c_t,ne)),d=(!i.g&&(i.g=new xS(a7,i,9,10)),i.g).i==0,_=!d,_&&(ie=new _p,c=new _de(e,ie),dO((!i.g&&(i.g=new xS(a7,i,9,10)),i.g),c),Zk(C,s_t,ie))}function xct(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Tg(`Comment pre-processing`,1),n=0,c=new E(e.a);c.a<c.c.c.length;)if(s=P(z(c),9),hg(eS(K(s,(PB(),r1))))){for(++n,i=0,r=null,l=null,m=new E(s.j);m.a<m.c.c.length;)f=P(z(m),12),i+=f.e.c.length+f.g.c.length,f.e.c.length==1&&(r=P(AC(f.e,0),17),l=r.c),f.g.c.length==1&&(r=P(AC(f.g,0),17),l=r.d);if(i==1&&l.e.c.length+l.g.c.length==1&&!hg(eS(K(l.i,r1))))ylt(s,r,l,l.i),Ow(c);else{for(_=new ah,p=new E(s.j);p.a<p.c.c.length;){for(f=P(z(p),12),d=new E(f.g);d.a<d.c.c.length;)u=P(z(d),17),u.d.g.c.length==0||ph(_.c,u);for(o=new E(f.e);o.a<o.c.c.length;)a=P(z(o),17),a.c.e.c.length==0||ph(_.c,a)}for(g=new E(_);g.a<g.c.c.length;)h=P(z(g),17),Bz(h,!0)}}t.$g()&&t.ah(`Found `+n+` comment boxes`),t.Ug()}function Sct(e,t,n,i,a){var o,s,c,l,u,d,p,m,h,g,_,v,y,b,x=0,S,ee,te,ne,C,re,ie;for(g=0,h=0,m=1,b=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));b.e!=b.i.gc();)v=P(OF(b),26),m+=UD(new XC(dx(PR(v).a.Jc(),new f))),C=v.g,g=r.Math.max(g,C),p=v.f,h=r.Math.max(h,p),x+=C*p;for(_=(!e.a&&(e.a=new F(p7,e,10,11)),e.a).i,s=x+2*i*i*m*_,o=r.Math.sqrt(s),l=r.Math.max(o*n,g),c=r.Math.max(o/n,h),y=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));y.e!=y.i.gc();)v=P(OF(y),26),re=a.b+(FR(t,26)*kH+FR(t,27)*AH)*(l-v.g),ie=a.b+(FR(t,26)*kH+FR(t,27)*AH)*(c-v.f),TA(v,re),EA(v,ie);for(ne=l+(a.b+a.c),te=c+(a.d+a.a),ee=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));ee.e!=ee.i.gc();)for(S=P(OF(ee),26),d=new XC(dx(PR(S).a.Jc(),new f));CR(d);)u=P(CO(d),85),bR(u)||iut(u,t,ne,te);ne+=a.b+a.c,te+=a.d+a.a,TB(e,ne,te,!1,!0)}function Cct(e){var t,n,i,a;for(P_(AT(new jC(null,new nD(e.a.b,16)),new ci),new li),_Qe(e),P_(AT(new jC(null,new nD(e.a.b,16)),new ui),new di),e.c==(UN(),O8)&&(P_(AT(Bk(new jC(null,new nD(new Zp(e.f),1)),new fi),new see),new Ate(e)),P_(AT(jT(Bk(Bk(new jC(null,new nD(e.d.b,16)),new pi),new mi),new hi),new gi),new Mte(e))),P_(AT(Bk(new jC(null,new nD(new Zp(e.f),1)),new _i),new vi),new Nte(e)),a=new A(pH,pH),t=new A(mH,mH),i=new E(e.a.b);i.a<i.c.c.length;)n=P(z(i),60),a.a=r.Math.min(a.a,n.d.c),a.b=r.Math.min(a.b,n.d.d),t.a=r.Math.max(t.a,n.d.c+n.d.b),t.b=r.Math.max(t.b,n.d.d+n.d.a);wS(nb(e.d.c),Yx(new A(a.a,a.b))),wS(nb(e.d.f),TS(new A(t.a,t.b),a)),P5e(e,a,t),aw(e.f),aw(e.b),aw(e.g),aw(e.e),e.a.a.c.length=0,e.a.b.c.length=0,e.a=null,e.d=null}function wct(e,t){dxe();var n,r,i,a,o,s,c;if(this.a=new Ppe(this),this.b=e,this.c=t,this.f=Nw(wk((HL(),p9),t)),this.f.dc())if((s=KZe(p9,e))==t)for(this.e=!0,this.d=new ah,this.f=new cl,this.f.Ec(IJ),P(nB(Tk(p9,lA(e)),``),29)==e&&this.f.Ec(KC(p9,lA(e))),i=jtt(p9,e).Jc();i.Ob();)switch(r=P(i.Pb(),179),hT(wk(p9,r))){case 4:this.d.Ec(r);break;case 5:this.f.Fc(Nw(wk(p9,r)));break}else if(rv(),P(t,69).vk())for(this.e=!0,this.f=null,this.d=new ah,o=0,c=(e.i??Rz(e),e.i).length;o<c;++o)for(r=(n=(e.i??Rz(e),e.i),o>=0&&o<n.length?n[o]:null),a=cD(wk(p9,r));a;a=cD(wk(p9,a)))a==t&&this.d.Ec(r);else hT(wk(p9,t))==1&&s?(this.f=null,this.d=(gR(),sVt)):(this.f=null,this.e=!0,this.d=(KT(),new am(t)));else this.e=hT(wk(p9,t))==5,this.f.Fb(iVt)&&(this.f=iVt)}function Tct(e,t){var n=0,i=MYe(e,t),a,o,s,c,l,u,d,f,p=e.s,m=e.t,h;for(u=P(P(DO(e.r,t),22),83).Jc();u.Ob();)if(l=P(u.Pb(),115),!(!l.c||l.c.d.c.length<=0)){switch(h=l.b.Kf(),c=l.b.nf((LB(),Y6))?O(N(l.b.mf(Y6))):0,d=l.c,f=d.i,f.b=(s=d.n,d.e.a+s.b+s.c),f.a=(o=d.n,d.e.b+o.d+o.a),t.g){case 1:f.c=l.a?(h.a-f.b)/2:h.a+p,f.d=h.b+c+i,ZO(d,(uk(),VY)),fS(d,(Mk(),KY));break;case 3:f.c=l.a?(h.a-f.b)/2:h.a+p,f.d=-c-i-f.a,ZO(d,(uk(),VY)),fS(d,(Mk(),WY));break;case 2:f.c=-c-i-f.b,l.a?(a=e.v?f.a:P(AC(d.d,0),187).Kf().b,f.d=(h.b-a)/2):f.d=h.b+m,ZO(d,(uk(),UY)),fS(d,(Mk(),GY));break;case 4:f.c=h.a+c+i,l.a?(a=e.v?f.a:P(AC(d.d,0),187).Kf().b,f.d=(h.b-a)/2):f.d=h.b+m,ZO(d,(uk(),HY)),fS(d,(Mk(),GY))}(t==(wB(),m5)||t==j5)&&(n=r.Math.max(n,f.a))}n>0&&(P(CT(e.b,t),127).a.b=n)}function Ect(e,t,n){var r,i,a,o,s,c,l,u,d,f,p=0,m,h,g,_;for(r=new Dh,a=new lx((!t.a&&(t.a=new F(p7,t,10,11)),t.a));a.e!=a.i.gc();)i=P(OF(a),26),hg(eS(J(i,(PB(),a0))))||(d=PE(i),Yz(d)&&!hg(eS(J(i,m1)))&&(IF(i,(Y(),w$),G(p)),++p,qO(i,f1)&&Tw(r,P(J(i,f1),15))),pct(e,i,n));for(W(n,(Y(),C$),G(p)),W(n,ZQ,G(r.a.gc())),p=0,u=new lx((!t.b&&(t.b=new F(i7,t,12,3)),t.b));u.e!=u.i.gc();)c=P(OF(u),85),Yz(t)&&(IF(c,w$,G(p)),++p),g=CL(c),_=w1e(c),f=hg(eS(J(g,(PB(),L1)))),h=!hg(eS(J(c,a0))),m=f&&uR(c)&&hg(eS(J(c,R1))),o=PE(g)==t&&PE(g)==PE(_),s=(PE(g)==t&&_==t)^(PE(_)==t&&g==t),h&&!m&&(s||o)&&Out(e,c,t,n);if(PE(t))for(l=new lx(YTe(PE(t)));l.e!=l.i.gc();)c=P(OF(l),85),g=CL(c),g==t&&uR(c)&&(m=hg(eS(J(g,(PB(),L1))))&&hg(eS(J(c,R1))),m&&Out(e,c,t,n))}function Dct(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=new ah,ee,te,ne,C,re;for(m=new E(e.b);m.a<m.c.c.length;)for(p=P(z(m),25),_=new E(p.a);_.a<_.c.c.length;)if(h=P(z(_),9),h.k==(MR(),RX)&&Kx(h,(Y(),o$))){for(v=null,b=null,y=null,ne=new E(h.j);ne.a<ne.c.c.length;)switch(te=P(z(ne),12),te.j.g){case 4:v=te;break;case 2:b=te;break;default:y=te}for(x=P(AC(y.g,0),17),u=new Zg(x.a),l=new mb(y.n),wS(l,h.n),d=TF(u,0),Pw(d,l),ee=SHe(x.a),f=new mb(y.n),wS(f,h.n),iO(ee,f,ee.c.b,ee.c),C=P(K(h,o$),9),re=P(AC(C.j,0),12),c=P(gF(v.e,V(FX,eW,17,0,0,1)),323),r=c,a=0,s=r.length;a<s;++a)t=r[a],VE(t,re),aN(t.a,t.a.b,u);for(c=SD(b.g),n=c,i=0,o=n.length;i<o;++i)t=n[i],zE(t,re),aN(t.a,0,ee);zE(x,null),VE(x,null),ph(S.c,h)}for(g=new E(S);g.a<g.c.c.length;)h=P(z(g),9),BE(h,null)}function Oct(e,t,n,r){var i,a,o,s,c,l,u,d,f=O(N(K(e,(PB(),D0)))),p=O(N(K(e,O0))),m,h;if(d=O(N(K(e,T0))),s=e.o,a=P(AC(e.j,0),12),o=a.n,h=Q0e(a,d),h){if(t.Gc((rR(),c5)))switch(P(K(e,(Y(),s$)),64).g){case 1:h.c=(s.a-h.b)/2-o.a,h.d=p;break;case 3:h.c=(s.a-h.b)/2-o.a,h.d=-p-h.a;break;case 2:n&&a.e.c.length==0&&a.g.c.length==0?(u=r?h.a:P(AC(a.f,0),70).o.b,h.d=(s.b-u)/2-o.b):h.d=s.b+p-o.b,h.c=-f-h.b;break;case 4:n&&a.e.c.length==0&&a.g.c.length==0?(u=r?h.a:P(AC(a.f,0),70).o.b,h.d=(s.b-u)/2-o.b):h.d=s.b+p-o.b,h.c=f}else if(t.Gc(u5))switch(P(K(e,(Y(),s$)),64).g){case 1:case 3:h.c=o.a+f;break;case 2:case 4:n&&!a.c?(u=r?h.a:P(AC(a.f,0),70).o.b,h.d=(s.b-u)/2-o.b):h.d=o.b+p}for(i=h.d,l=new E(a.f);l.a<l.c.c.length;)c=P(z(l),70),m=c.n,m.a=h.c,m.b=i,i+=c.o.b+d}}function kct(e){var t;if(this.r=PTe(new qe,new Je),this.b=new TP(P(Kw(P5),298)),this.p=new TP(P(Kw(P5),298)),this.i=new TP(P(Kw(sSt),298)),this.e=e,this.o=new mb(e.Kf()),this.D=hg(eS(e.mf((LB(),d8)))),this.F=e.Wf()||hg(eS(e.mf(j6))),this.A=P(e.mf(R6),22),this.B=P(e.mf(V6),22),this.q=P(e.mf(X6),102),this.u=P(e.mf($6),22),!h1e(this.u))throw D(new vg(`Invalid port label placement: `+this.u));if(this.v=hg(eS(e.mf(WLt))),this.j=P(e.mf(L6),22),!L8e(this.j))throw D(new vg(`Invalid node label placement: `+this.j));this.n=P(PI(e,OLt),104),this.k=O(N(PI(e,s8))),this.d=O(N(PI(e,$Lt))),this.w=O(N(PI(e,aRt))),this.s=O(N(PI(e,eRt))),this.t=O(N(PI(e,tRt))),this.C=P(PI(e,rRt),140),this.c=2*this.d,t=!this.B.Gc((Tz(),V5)),this.f=new mF(0,t,0),this.g=new mF(1,t,0),Zh(this.f,(uA(),LY),this.g)}function Act(){cb(v9,new zu),cb(y9,new Xu),cb(b9,new sd),cb(cVt,new vd),cb(vY,new Sd),cb(k(X9,1),new Cd),cb(uY,new wd),cb(dY,new Td),cb(vY,new Ou),cb(vY,new ku),cb(vY,new Au),cb(pY,new ju),cb(vY,new Mu),cb(eY,new Nu),cb(eY,new Pu),cb(vY,new Fu),cb(mY,new Lu),cb(vY,new Ru),cb(vY,new Bu),cb(vY,new Vu),cb(vY,new Hu),cb(vY,new Uu),cb(k(X9,1),new Wu),cb(vY,new Gu),cb(vY,new Ku),cb(eY,new qu),cb(eY,new Ju),cb(vY,new Yu),cb(hY,new Zu),cb(vY,new Qu),cb(gY,new $u),cb(vY,new ed),cb(vY,new td),cb(vY,new nd),cb(vY,new rd),cb(eY,new id),cb(eY,new ad),cb(vY,new od),cb(vY,new cd),cb(vY,new ld),cb(vY,new ud),cb(vY,new dd),cb(vY,new fd),cb(_Y,new pd),cb(vY,new md),cb(vY,new hd),cb(vY,new gd),cb(_Y,new _d),cb(gY,new yd),cb(vY,new bd),cb(hY,new xd)}function jct(e,t){var n,r,i,a,o,s,c,l,u=new Rh,d,f,p,m;switch(e.a.g){case 3:f=P(K(t.e,(Y(),z$)),16),p=P(K(t.j,z$),16),m=P(K(t.f,z$),16),n=P(K(t.e,L$),16),r=P(K(t.j,L$),16),i=P(K(t.f,L$),16),o=new ah,pM(o,f),p.Ic(new ca),pM(o,AP(p)),pM(o,m),a=new ah,pM(a,n),pM(a,AP(r)),pM(a,i),W(t.f,z$,o),W(t.f,L$,a),W(t.f,dEt,t.f),W(t.e,z$,null),W(t.e,L$,null),W(t.j,z$,null),W(t.j,L$,null);break;case 1:bj(u,t.e.a),pC(u,t.i.n),bj(u,AP(t.j.a)),pC(u,t.a.n),bj(u,t.f.a);break;default:bj(u,t.e.a),bj(u,AP(t.j.a)),bj(u,t.f.a)}YT(t.f.a),bj(t.f.a,u),zE(t.f,t.e.c),s=P(K(t.e,(PB(),z1)),78),l=P(K(t.j,z1),78),c=P(K(t.f,z1),78),(s||l||c)&&(d=new Rh,ICe(d,c),ICe(d,l),ICe(d,s),W(t.f,z1,d)),zE(t.j,null),VE(t.j,null),zE(t.e,null),VE(t.e,null),BE(t.a,null),BE(t.i,null),t.g&&jct(e,t.g)}function Mct(){Mct=C;var e,t,n;for(new LN(1,0),new LN(10,0),new LN(0,0),wbt=V(jbt,X,247,11,0,1),yY=V(K9,BV,30,100,15,1),Tbt=U(k(Z9,1),yH,30,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),Ebt=V(q9,JV,30,Tbt.length,15,1),Dbt=U(k(Z9,1),yH,30,15,[1,10,100,kV,1e4,bH,1e6,1e7,1e8,lH,1e10,1e11,0xe8d4a51000,0x9184e72a000,0x5af3107a4000,0x38d7ea4c68000,0x2386f26fc10000]),Obt=V(q9,JV,30,Dbt.length,15,1),kbt=V(jbt,X,247,11,0,1),e=0;e<kbt.length;e++)wbt[e]=new LN(e,0),kbt[e]=new LN(0,e),yY[e]=48;for(;e<yY.length;e++)yY[e]=48;for(n=0;n<Ebt.length;n++)Ebt[n]=y4e(Tbt[n]);for(t=0;t<Obt.length;t++)Obt[t]=y4e(Dbt[t]);cz()}function Nct(){function e(){this.obj=this.createObject()}return e.prototype.createObject=function(e){return Object.create(null)},e.prototype.get=function(e){return this.obj[e]},e.prototype.set=function(e,t){this.obj[e]=t},e.prototype[OH]=function(e){delete this.obj[e]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var e=this.keys(),t=this,n=0;return{next:function(){if(n>=e.length)return{done:!0};var r=e[n++];return{value:[r,t.get(r)],done:!1}}}},Q9e()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(e){return this.obj[`:`+e]},e.prototype.set=function(e,t){this.obj[`:`+e]=t},e.prototype[OH]=function(e){delete this.obj[`:`+e]},e.prototype.keys=function(){var e=[];for(var t in this.obj)t.charCodeAt(0)==58&&e.push(t.substring(1));return e}),e}function CB(){CB=C,p4=new Xm(bft),new Xm(xft),new lS(`DEPTH`,G(0)),r4=new lS(`FAN`,G(0)),BMt=new lS(Ymt,G(0)),_4=new lS(`ROOT`,(mx(),!1)),s4=new lS(`LEFTNEIGHBOR`,null),WMt=new lS(`RIGHTNEIGHBOR`,null),c4=new lS(`LEFTSIBLING`,null),g4=new lS(`RIGHTSIBLING`,null),n4=new lS(`DUMMY`,!1),new lS(`LEVEL`,G(0)),UMt=new lS(`REMOVABLE_EDGES`,new E_),v4=new lS(`XCOOR`,G(0)),y4=new lS(`YCOOR`,G(0)),l4=new lS(`LEVELHEIGHT`,0),d4=new lS(`LEVELMIN`,0),u4=new lS(`LEVELMAX`,0),i4=new lS(`GRAPH_XMIN`,0),a4=new lS(`GRAPH_YMIN`,0),VMt=new lS(`GRAPH_XMAX`,0),HMt=new lS(`GRAPH_YMAX`,0),zMt=new lS(`COMPACT_LEVEL_ASCENSION`,!1),t4=new lS(`COMPACT_CONSTRAINTS`,new ah),o4=new lS(`ID`,``),m4=new lS(`POSITION`,G(0)),h4=new lS(`PRELIM`,0),f4=new lS(`MODIFIER`,0),e4=new Xm(Sft),$2=new Xm(Cft)}function Pct(e){Srt();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null)return null;if(d=e.length*8,d==0)return``;for(s=d%24,p=d/24|0,f=s==0?p:p+1,a=null,a=V(K9,BV,30,f*4,15,1),l=0,u=0,t=0,n=0,r=0,o=0,i=0,c=0;c<p;c++)t=e[i++],n=e[i++],r=e[i++],u=(n&15)<<24>>24,l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,h=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,g=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,a[o++]=M9[m],a[o++]=M9[h|l<<4],a[o++]=M9[u<<2|g],a[o++]=M9[r&63];return s==8?(t=e[i],l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,a[o++]=M9[m],a[o++]=M9[l<<4],a[o++]=61,a[o++]=61):s==16&&(t=e[i],n=e[i+1],u=(n&15)<<24>>24,l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,h=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,a[o++]=M9[m],a[o++]=M9[h|l<<4],a[o++]=M9[u<<2],a[o++]=61),aF(a,0,a.length)}function Fct(e,t){var n,i,a,o,s,c,l;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>LV&&sMe(t,e.p-qV),s=t.q.getDate(),OE(t,1),e.k>=0&&vOe(t,e.k),e.c>=0?OE(t,e.c):e.k>=0?(l=new tHe(t.q.getFullYear()-qV,t.q.getMonth(),35),i=35-l.q.getDate(),OE(t,r.Math.min(i,s))):OE(t,s),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),zpe(t,e.f==24&&e.g?0:e.f),e.j>=0&&PNe(t,e.j),e.n>=0&&UPe(t,e.n),e.i>=0&&Vde(t,sP(cP(WI(Hj(t.q.getTime()),kV),kV),e.i)),e.a&&(a=new av,sMe(a,a.q.getFullYear()-qV-80),fle(Hj(t.q.getTime()),Hj(a.q.getTime()))&&sMe(t,a.q.getFullYear()-qV+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),c=t.q.getMonth(),OE(t,t.q.getDate()+n),t.q.getMonth()!=c&&OE(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>LV&&(o=t.q.getTimezoneOffset(),Vde(t,sP(Hj(t.q.getTime()),(e.o-o)*60*kV))),!0}function Ict(e,t){var n,r,i=K(t,(Y(),T$)),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(M(i,206)){for(m=P(i,26),h=t.e,f=new mb(t.c),a=t.d,f.a+=a.b,f.b+=a.d,b=P(J(m,(PB(),i0)),182),wx(b,(Tz(),H5))&&(p=P(J(m,Ykt),104),yp(p,a.a),wp(p,a.d),bp(p,a.b),xp(p,a.c)),n=new ah,u=new E(t.a);u.a<u.c.c.length;)for(c=P(z(u),9),M(K(c,T$),206)?Uct(c,f):M(K(c,T$),193)&&!h&&(r=P(K(c,T$),125),v=grt(t,c,r.g,r.f),xb(r,v.a,v.b)),_=new E(c.j);_.a<_.c.c.length;)g=P(z(_),12),P_(AT(new jC(null,new nD(g.g,16)),new ete(c)),new tte(n));if(h)for(_=new E(h.j);_.a<_.c.c.length;)g=P(z(_),12),P_(AT(new jC(null,new nD(g.g,16)),new nte(h)),new rte(n));for(y=P(J(m,A1),222),s=new E(n);s.a<s.c.c.length;)o=P(z(s),17),Hst(o,y,f);for(Tnt(t),l=new E(t.a);l.a<l.c.c.length;)c=P(z(l),9),d=c.e,d&&Ict(e,d)}}function Lct(e,t){var n,i,a,o,s,c,l,u,d,f,p,m;if(!P(P(DO(e.r,t),22),83).dc()){if(s=P(CT(e.b,t),127),l=s.i,c=s.n,d=F9e(e,t),i=l.b-c.b-c.c,a=s.a.a,o=l.c+c.b,m=e.w,(d==(wF(),Z8)||d==Q8)&&P(P(DO(e.r,t),22),83).gc()==1&&(a=d==Z8?a-2*e.w:a,d=X8),i<a&&!e.B.Gc((Tz(),K5)))d==Z8?(m+=(i-a)/(P(P(DO(e.r,t),22),83).gc()+1),o+=m):m+=(i-a)/(P(P(DO(e.r,t),22),83).gc()-1);else switch(i<a&&(a=d==Z8?a-2*e.w:a,d=X8),d.g){case 3:o+=(i-a)/2;break;case 4:o+=i-a;break;case 0:n=(i-a)/(P(P(DO(e.r,t),22),83).gc()+1),m+=r.Math.max(0,n),o+=m;break;case 1:n=(i-a)/(P(P(DO(e.r,t),22),83).gc()-1),m+=r.Math.max(0,n)}for(p=P(P(DO(e.r,t),22),83).Jc();p.Ob();)f=P(p.Pb(),115),f.e.a=o+f.d.b,f.e.b=(u=f.b,u.nf((LB(),Y6))?u.$f()==(wB(),m5)?-u.Kf().b-O(N(u.mf(Y6))):O(N(u.mf(Y6))):u.$f()==(wB(),m5)?-u.Kf().b:0),o+=f.d.b+f.b.Kf().a+f.d.c+m}}function Rct(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h;if(!P(P(DO(e.r,t),22),83).dc()){if(s=P(CT(e.b,t),127),l=s.i,c=s.n,f=F9e(e,t),i=l.a-c.d-c.a,a=s.a.b,o=l.d+c.d,h=e.w,u=e.o.a,(f==(wF(),Z8)||f==Q8)&&P(P(DO(e.r,t),22),83).gc()==1&&(a=f==Z8?a-2*e.w:a,f=X8),i<a&&!e.B.Gc((Tz(),K5)))f==Z8?(h+=(i-a)/(P(P(DO(e.r,t),22),83).gc()+1),o+=h):h+=(i-a)/(P(P(DO(e.r,t),22),83).gc()-1);else switch(i<a&&(a=f==Z8?a-2*e.w:a,f=X8),f.g){case 3:o+=(i-a)/2;break;case 4:o+=i-a;break;case 0:n=(i-a)/(P(P(DO(e.r,t),22),83).gc()+1),h+=r.Math.max(0,n),o+=h;break;case 1:n=(i-a)/(P(P(DO(e.r,t),22),83).gc()-1),h+=r.Math.max(0,n)}for(m=P(P(DO(e.r,t),22),83).Jc();m.Ob();)p=P(m.Pb(),115),p.e.a=(d=p.b,d.nf((LB(),Y6))?d.$f()==(wB(),N5)?-d.Kf().a-O(N(d.mf(Y6))):u+O(N(d.mf(Y6))):d.$f()==(wB(),N5)?-d.Kf().a:u),p.e.b=o+p.d.d,o+=p.d.d+p.b.Kf().b+p.d.a+h}}function zct(e,t){var n,r,i,a,o;for(t.Tg(`Processor determine the coords for each level`,1),r=new ah,o=TF(e.b,0);o.b!=o.d.c;){for(i=P(RD(o),40);P(K(i,(Lz(),T4)),15).a>r.c.length-1;)$b(r,new My(zG,Kmt));n=P(K(i,T4),15).a,vb(P(K(e,b4),86))?(i.e.a<O(N((oD(n,r.c.length),P(r.c[n],49)).a))&&Wp((oD(n,r.c.length),P(r.c[n],49)),i.e.a),i.e.a+i.f.a>O(N((oD(n,r.c.length),P(r.c[n],49)).b))&&Gp((oD(n,r.c.length),P(r.c[n],49)),i.e.a+i.f.a)):(i.e.b<O(N((oD(n,r.c.length),P(r.c[n],49)).a))&&Wp((oD(n,r.c.length),P(r.c[n],49)),i.e.b),i.e.b+i.f.b>O(N((oD(n,r.c.length),P(r.c[n],49)).b))&&Gp((oD(n,r.c.length),P(r.c[n],49)),i.e.b+i.f.b))}for(a=TF(e.b,0);a.b!=a.d.c;)i=P(RD(a),40),n=P(K(i,(Lz(),T4)),15).a,W(i,(CB(),d4),N((oD(n,r.c.length),P(r.c[n],49)).a)),W(i,u4,N((oD(n,r.c.length),P(r.c[n],49)).b));t.Ug()}function Bct(e){var t,n,i,a,o,s,c,l,u,d,p,m,h,g,_;for(e.o=O(N(K(e.i,(PB(),k0)))),e.f=O(N(K(e.i,C0))),e.j=e.i.b.c.length,c=e.j-1,m=0,e.k=0,e.n=0,e.b=OO(V(hY,X,15,e.j,0,1)),e.c=OO(V(pY,X,346,e.j,7,1)),s=new E(e.i.b);s.a<s.c.c.length;){for(a=P(z(s),25),a.p=c,p=new E(a.a);p.a<p.c.c.length;)d=P(z(p),9),d.p=m,++m;--c}for(e.g=V(q9,JV,30,m,15,1),e.d=CC(q9,[X,JV],[54,30],15,[m,3],2),e.p=new ah,e.q=new ah,t=0,e.e=0,o=new E(e.i.b);o.a<o.c.c.length;){for(a=P(z(o),25),c=a.p,i=0,_=0,l=a.a.c.length,u=0,p=new E(a.a);p.a<p.c.c.length;)d=P(z(p),9),m=d.p,e.g[m]=d.c.p,u+=d.o.b+e.o,n=UD(new XC(dx(uP(d).a.Jc(),new f))),g=UD(new XC(dx(fP(d).a.Jc(),new f))),e.d[m][0]=g-n,e.d[m][1]=n,e.d[m][2]=g,i+=n,_+=g,n>0&&$b(e.q,d),$b(e.p,d);t-=i,h=l+t,u+=t*e.f,fO(e.b,c,G(h)),fO(e.c,c,u),e.k=r.Math.max(e.k,h),e.n=r.Math.max(e.n,u),e.e+=t,t+=_}}function Vct(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(t.b!=0){for(m=new E_,c=null,h=null,i=xE(r.Math.floor(r.Math.log(t.b)*r.Math.LOG10E)+1),l=0,b=TF(t,0);b.b!=b.d.c;)for(v=P(RD(b),40),j(h)!==j(K(v,(CB(),o4)))&&(h=tS(K(v,o4)),l=0),c=h==null?Gke(l++,i):h+Gke(l++,i),W(v,o4,c),_=(a=TF(new Km(v).a.d,0),new qm(a));l_(_.a);)g=P(RD(_.a),65).c,iO(m,g,m.c.b,m.c),W(g,o4,c);for(p=new oh,s=0;s<c.length-i;s++)for(y=TF(t,0);y.b!=y.d.c;)v=P(RD(y),40),u=dE(tS(K(v,(CB(),o4))),0,s+1),n=(u==null?By(VC(p.f,null)):cv(p.i,u))==null?1:P(u==null?By(VC(p.f,null)):cv(p.i,u),15).a+1,LE(p,u,G(n));for(f=new Pj(new im(p).a);f.b;)d=dj(f),o=G(Zw(e.a,d.jd())==null?0:P(Zw(e.a,d.jd()),15).a),LE(e.a,tS(d.jd()),G(P(d.kd(),15).a+o.a)),o=P(Zw(e.b,d.jd()),15),(!o||o.a<P(d.kd(),15).a)&&LE(e.b,tS(d.jd()),P(d.kd(),15));Vct(e,m)}}function Hct(e,t,n){var r,i,a,o,s,c,l,u,d,p,m,h,g,_,v;for(n.Tg(`Breadth first model order layering`,1),e.a=t,_=new ah,g=new E(e.a.a);g.a<g.c.c.length;)m=P(z(g),9),m.k==(MR(),HX)&&ph(_.c,m);for(KT(),Vb(_,new va),c=!0,i=new tT(e.a),r=null,$b(e.a.b,i),h=new E(_);h.a<h.c.c.length;)if(m=P(z(h),9),c)BE(m,i),c=!1;else{for(s=new XC(dx(uP(m).a.Jc(),new f));CR(s);)a=P(CO(s),17),(a.c.i.k==(MR(),HX)&&a.c.i.c==i||a.c.i.k==zX&&P(CO(new XC(dx(uP(a.c.i).a.Jc(),new f))),17).c.i.c==i)&&(r=new tT(e.a),$b(e.a.b,r),i=new tT(e.a),$b(e.a.b,i));for(o=new XC(dx(uP(m).a.Jc(),new f));CR(o);)a=P(CO(o),17),a.c.i.k==(MR(),zX)&&!a.c.i.c&&BE(a.c.i,r);BE(m,i)}for(e.a.a.c.length=0,v=new ah,d=new E(e.a.b);d.a<d.c.c.length;)l=P(z(d),25),l.a.c.length==0&&ph(v.c,l);for(aGe(e.a.b,v),p=0,u=new E(e.a.b);u.a<u.c.c.length;)l=P(z(u),25),l.p=p,++p;n.Ug()}function wB(){wB=C;var e;M5=new Oy($H,0),m5=new Oy(`NORTH`,1),p5=new Oy(`EAST`,2),j5=new Oy(`SOUTH`,3),N5=new Oy(`WEST`,4),y5=(KT(),new jg((e=P(t_(P5),10),new FS(e,P(gS(e,e.length),10),0)))),b5=oN(zC(m5,U(k(P5,1),XU,64,0,[]))),h5=oN(zC(p5,U(k(P5,1),XU,64,0,[]))),O5=oN(zC(j5,U(k(P5,1),XU,64,0,[]))),A5=oN(zC(N5,U(k(P5,1),XU,64,0,[]))),T5=oN(zC(m5,U(k(P5,1),XU,64,0,[j5]))),v5=oN(zC(p5,U(k(P5,1),XU,64,0,[N5]))),D5=oN(zC(m5,U(k(P5,1),XU,64,0,[N5]))),x5=oN(zC(m5,U(k(P5,1),XU,64,0,[p5]))),k5=oN(zC(j5,U(k(P5,1),XU,64,0,[N5]))),g5=oN(zC(p5,U(k(P5,1),XU,64,0,[j5]))),w5=oN(zC(m5,U(k(P5,1),XU,64,0,[p5,N5]))),_5=oN(zC(p5,U(k(P5,1),XU,64,0,[j5,N5]))),E5=oN(zC(m5,U(k(P5,1),XU,64,0,[j5,N5]))),S5=oN(zC(m5,U(k(P5,1),XU,64,0,[p5,j5]))),C5=oN(zC(m5,U(k(P5,1),XU,64,0,[p5,j5,N5])))}function Uct(e,t){var n,r=P(K(e,(Y(),T$)),26),i,a,o,s,c,l,u,d,f,p,m=P(K(e,(PB(),x1)),15).a,h;for(a=P(K(e,V1),15).a,IF(r,x1,G(m)),IF(r,V1,G(a)),TA(r,e.n.a+t.a),EA(r,e.n.b+t.b),(P(J(r,t0),182).gc()!=0||e.e||j(K(lT(e),e0))===j((PF(),t2))&&wfe((HF(),f=(e.q?e.q:(KT(),KT(),DY))._b(Q1)?P(K(e,Q1),203):P(K(lT(e),$1),203),f)))&&(wA(r,e.o.a),yA(r,e.o.b)),d=new E(e.j);d.a<d.c.c.length;)l=P(z(d),12),h=K(l,T$),M(h,193)&&(i=P(h,125),xb(i,l.n.a,l.n.b),IF(i,f0,l.j));for(p=P(K(e,Y1),182).gc()!=0,c=new E(e.b);c.a<c.c.c.length;)o=P(z(c),70),(p||P(K(o,Y1),182).gc()!=0)&&(n=P(K(o,T$),157),Cb(n,o.o.a,o.o.b),xb(n,o.n.a,o.n.b));if(!lw(P(K(e,d0),22)))for(u=new E(e.j);u.a<u.c.c.length;)for(l=P(z(u),12),s=new E(l.f);s.a<s.c.c.length;)o=P(z(s),70),n=P(K(o,T$),157),wA(n,o.o.a),yA(n,o.o.b),xb(n,o.n.a,o.n.b)}function Wct(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Calculate Graph Size`,1),t.bh(e,sht),f=zG,p=zG,u=BG,d=BG,g=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));g.e!=g.i.gc();)m=P(OF(g),26),y=m.i,b=m.j,C=m.g,c=m.f,l=P(J(m,(LB(),I6)),140),f=r.Math.min(f,y-l.b),p=r.Math.min(p,b-l.d),u=r.Math.max(u,y+C+l.c),d=r.Math.max(d,b+c+l.a);for(v=P(J(e,(LB(),W6)),104),_=new A(f-v.b,p-v.d),ne=u-f+(v.b+v.c),s=d-p+(v.d+v.a),hg(eS(J(e,(PL(),cPt))))&&(x=P(J(e,(iS(),j4)),26),S=P(J(x,I6),140),ee=x.i+x.g/2+(S.b+S.c)/2-_.a,te=x.j+x.f/2+(S.d+S.a)/2-_.b,a=ne-ee,o=s-te,a<ne/2?(n=a-ee,ne+=n,_.a-=n):(n=ee-a,ne+=n),o<s/2?(i=o-te,s+=i,_.b-=i):(i=te-o,s+=i)),h=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));h.e!=h.i.gc();)m=P(OF(h),26),TA(m,m.i-_.a),EA(m,m.j-_.b);hg(eS(J(e,z6)))||(wA(e,ne),yA(e,s)),IF(e,w6,ne-(v.b+v.c)),IF(e,C6,s-(v.d+v.a)),t.bh(e,cK)}function Gct(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;if(e.e.a.$b(),e.f.a.$b(),e.c.c.length=0,e.i.c.length=0,e.g.a.$b(),t)for(o=new E(t.a);o.a<o.c.c.length;)for(a=P(z(o),9),d=NL(a,(wB(),p5)).Jc();d.Ob();)for(u=P(d.Pb(),12),Tw(e.e,u),i=new E(u.g);i.a<i.c.c.length;)r=P(z(i),17),!xO(r)&&($b(e.c,r),aJe(e,r),s=r.c.i.k,(s==(MR(),HX)||s==UX||s==RX||s==LX)&&$b(e.j,r),p=r.d,f=p.i.c,f==n?Tw(e.f,p):f==t?Tw(e.e,p):_k(e.c,r));if(n)for(o=new E(n.a);o.a<o.c.c.length;){for(a=P(z(o),9),l=new E(a.j);l.a<l.c.c.length;)for(c=P(z(l),12),i=new E(c.g);i.a<i.c.c.length;)r=P(z(i),17),xO(r)&&Tw(e.g,r);for(d=NL(a,(wB(),N5)).Jc();d.Ob();)for(u=P(d.Pb(),12),Tw(e.f,u),i=new E(u.g);i.a<i.c.c.length;)r=P(z(i),17),!xO(r)&&($b(e.c,r),aJe(e,r),s=r.c.i.k,(s==(MR(),HX)||s==UX||s==RX||s==LX)&&$b(e.j,r),p=r.d,f=p.i.c,f==n?Tw(e.f,p):f==t?Tw(e.e,p):_k(e.c,r))}}function Kct(e,t,n){var i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S;for(n.Tg(`Polyline edge routing`,1),v=O(N(K(t,(PB(),Akt)))),h=O(N(K(t,A0))),a=O(N(K(t,b0))),i=r.Math.min(1,a/h),x=0,l=0,t.b.c.length!=0&&(S=R8e(P(AC(t.b,0),25)),x=.4*i*S),c=new bD(t.b,0);c.b<c.d.gc();){for(s=(Bx(c.b<c.d.gc()),P(c.d.Xb(c.c=c.b++),25)),o=zy(s,B2),o&&x>0&&(x-=h),fot(s,x),d=0,m=new E(s.a);m.a<m.c.c.length;){for(p=P(z(m),9),u=0,_=new XC(dx(fP(p).a.Jc(),new f));CR(_);)g=P(CO(_),17),y=aD(g.c).b,b=aD(g.d).b,s==g.d.i.c&&!xO(g)&&($4e(g,x,.4*i*r.Math.abs(y-b)),g.c.j==(wB(),N5)&&(y=0,b=0)),u=r.Math.max(u,r.Math.abs(b-y));switch(p.k.g){case 0:case 4:case 1:case 3:case 5:bot(e,p,x,v)}d=r.Math.max(d,u)}c.b<c.d.gc()&&(S=R8e((Bx(c.b<c.d.gc()),P(c.d.Xb(c.c=c.b++),25))),d=r.Math.max(d,S),Bx(c.b>0),c.a.Xb(c.c=--c.b)),l=.4*i*d,!o&&c.b<c.d.gc()&&(l+=h),x+=s.c.a+l}e.a.a.$b(),t.f.a=x,n.Ug()}function qct(e){var t,n,r,i,a;switch(sE(e,v_t),(!e.b&&(e.b=new xS(r7,e,4,7)),e.b).i+(!e.c&&(e.c=new xS(r7,e,5,8)),e.c).i){case 0:throw D(new sg(`The edge must have at least one source or target.`));case 1:return(!e.b&&(e.b=new xS(r7,e,4,7)),e.b).i==0?PE(cL(P(H((!e.c&&(e.c=new xS(r7,e,5,8)),e.c),0),84))):PE(cL(P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84)))}if((!e.b&&(e.b=new xS(r7,e,4,7)),e.b).i==1&&(!e.c&&(e.c=new xS(r7,e,5,8)),e.c).i==1){if(i=cL(P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84)),a=cL(P(H((!e.c&&(e.c=new xS(r7,e,5,8)),e.c),0),84)),PE(i)==PE(a))return PE(i);if(i==PE(a))return i;if(a==PE(i))return a}for(r=xw(IA(U(k(QJ,1),$B,20,0,[(!e.b&&(e.b=new xS(r7,e,4,7)),e.b),(!e.c&&(e.c=new xS(r7,e,5,8)),e.c)]))),t=cL(P(CO(r),84));CR(r);)if(n=cL(P(CO(r),84)),n!=t&&!iA(n,t)){if(PE(n)==PE(t))t=PE(n);else if(t=D8e(t,n),!t)return null}return t}function Jct(e,t){var n,r,i,a,o,s,c,l,u,d,f=t.length,p,m,h,g,_,v,y;if(f>0&&(c=(sD(0,t.length),t.charCodeAt(0)),c!=64)){if(c==37&&(d=t.lastIndexOf(`%`),l=!1,d!=0&&(d==f-1||(l=(sD(d+1,t.length),t.charCodeAt(d+1)==46))))){if(o=(YO(1,d,t.length),t.substr(1,d-1)),y=CS(`%`,o)?null:$ct(o),r=0,l)try{r=Ez((sD(d+2,t.length+1),t.substr(d+2)),LV,JB)}catch(e){throw e=hM(e),M(e,131)?(s=e,D(new Ok(s))):D(e)}for(g=lze(e.Dh());g.Ob();)if(m=Wj(g),M(m,504)&&(i=P(m,587),v=i.d,(y==null?v==null:CS(y,v))&&r--==0))return i;return null}if(u=t.lastIndexOf(`.`),p=u==-1?t:(YO(0,u,t.length),t.substr(0,u)),n=0,u!=-1)try{n=Ez((sD(u+1,t.length+1),t.substr(u+1)),LV,JB)}catch(e){if(e=hM(e),M(e,131))p=t;else throw D(e)}for(p=CS(`%`,p)?null:$ct(p),h=lze(e.Dh());h.Ob();)if(m=Wj(h),M(m,197)&&(a=P(m,197),_=a.ve(),(p==null?_==null:CS(p,_))&&n--==0))return a;return null}return Fst(e,t)}function Yct(e){var t,n,r,i,a,o,s,c,l,u=new oh,d,p,m,h,g,_,v,y;for(c=new mE,r=new E(e.a.a.b);r.a<r.c.c.length;)if(t=P(z(r),60),l=iD(t),l)XL(u.f,l,t);else if(y=VD(t),y)for(a=new E(y.k);a.a<a.c.c.length;)i=P(z(a),17),fR(c,i,t);for(n=new E(e.a.a.b);n.a<n.c.c.length;)if(t=P(z(n),60),l=iD(t),l){for(s=new XC(dx(fP(l).a.Jc(),new f));CR(s);)if(o=P(CO(s),17),!xO(o)&&(h=o.c,v=o.d,!((wB(),T5).Gc(o.c.j)&&T5.Gc(o.d.j)))){if(g=P(Zw(u,o.d.i),60),ZR(L_(I_(R_(F_(new Mh,0),100),e.c[t.a.d]),e.c[g.a.d])),h.j==N5&&lCe((wj(),h))){for(p=P(DO(c,o),22).Jc();p.Ob();)if(d=P(p.Pb(),60),d.d.c<t.d.c){if(m=e.c[d.a.d],_=e.c[t.a.d],m==_)continue;ZR(L_(I_(R_(F_(new Mh,1),100),m),_))}}if(v.j==p5&&uCe((wj(),v))){for(p=P(DO(c,o),22).Jc();p.Ob();)if(d=P(p.Pb(),60),d.d.c>t.d.c){if(m=e.c[t.a.d],_=e.c[d.a.d],m==_)continue;ZR(L_(I_(R_(F_(new Mh,1),100),m),_))}}}}}function Xct(e,t){var n,i,a,o,s,c,l,u,d,f,p=P(P(DO(e.r,t),22),83),m,h,g,_,v,y,b,x,S,ee;if(t==(wB(),p5)||t==N5){Tct(e,t);return}for(o=t==m5?(tM(),JY):(tM(),ZY),x=t==m5?(Mk(),KY):(Mk(),WY),n=P(CT(e.b,t),127),i=n.i,a=i.c+nA(U(k(Z9,1),yH,30,15,[n.n.b,e.C.b,e.k])),v=i.c+i.b-nA(U(k(Z9,1),yH,30,15,[n.n.c,e.C.c,e.k])),s=Doe(sve(o),e.t),y=t==m5?mH:pH,f=p.Jc();f.Ob();)u=P(f.Pb(),115),!(!u.c||u.c.d.c.length<=0)&&(_=u.b.Kf(),g=u.e,m=u.c,h=m.i,h.b=(l=m.n,m.e.a+l.b+l.c),h.a=(c=m.n,m.e.b+c.d+c.a),sE(x,aft),m.f=x,ZO(m,(uk(),UY)),h.c=g.a-(h.b-_.a)/2,S=r.Math.min(a,g.a),ee=r.Math.max(v,g.a+_.a),h.c<S?h.c=S:h.c+h.b>ee&&(h.c=ee-h.b),$b(s.d,new MSe(h,qWe(s,h))),y=t==m5?r.Math.max(y,g.b+u.b.Kf().b):r.Math.min(y,g.b));for(y+=t==m5?e.t:-e.t,b=fKe((s.e=y,s)),b>0&&(P(CT(e.b,t),127).a.b=b),d=p.Jc();d.Ob();)u=P(d.Pb(),115),!(!u.c||u.c.d.c.length<=0)&&(h=u.c.i,h.c-=u.e.a,h.d-=u.e.b)}function Zct(e,t){Hit();var n,r,i,a,o,s,c=yN(e,0)<0,l,u,d,f,p,m,h;if(c&&(e=gk(e)),yN(e,0)==0)switch(t){case 0:return`0`;case 1:return SH;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 p=new Og,t<0?p.a+=`0E+`:p.a+=`0E`,p.a+=t==LV?`2147483648`:``+-t,p.a}u=18,d=V(K9,BV,30,u+1,15,1),n=u,h=e;do l=h,h=WI(h,10),d[--n]=RC(sP(48,lP(l,cP(h,10))))&VV;while(yN(h,0)!=0);if(i=lP(lP(lP(u,n),t),1),t==0)return c&&(d[--n]=45),aF(d,n,u-n);if(t>0&&yN(i,-6)>=0){if(yN(i,0)>=0){for(a=n+RC(i),s=u-1;s>=a;s--)d[s+1]=d[s];return d[++a]=46,c&&(d[--n]=45),aF(d,n,u-n+1)}for(o=2;fle(o,sP(gk(i),1));o++)d[--n]=48;return d[--n]=46,d[--n]=48,c&&(d[--n]=45),aF(d,n,u-n)}return m=n+1,r=u,f=new kg,c&&(f.a+=`-`),r-m>=1?(Xw(f,d[n]),f.a+=`.`,f.a+=aF(d,n+1,u-n-1)):f.a+=aF(d,n,u-n),f.a+=`E`,yN(i,0)>0&&(f.a+=`+`),f.a+=``+QC(i),f.a}function Qct(e){Y_(e,new uL(Fg(Rg(Pg(Lg(Ig(new oc,_K),`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 Ss),_K))),B(e,_K,MG,DF(gPt)),B(e,_K,xU,DF(bPt)),B(e,_K,MU,DF(uPt)),B(e,_K,VU,DF(dPt)),B(e,_K,jU,DF(fPt)),B(e,_K,NU,DF(lPt)),B(e,_K,kU,DF(pPt)),B(e,_K,PU,DF(hPt)),B(e,_K,mK,DF(V4)),B(e,_K,pK,DF(H4)),B(e,_K,fK,DF(_Pt)),B(e,_K,hK,DF(G4)),B(e,_K,gK,DF(vPt)),B(e,_K,yht,DF(yPt)),B(e,_K,vht,DF(mPt)),B(e,_K,mht,DF(U4)),B(e,_K,hht,DF(W4)),B(e,_K,ght,DF(K4)),B(e,_K,_ht,DF(xPt)),B(e,_K,pht,DF(cPt))}function TB(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_=new A(e.g,e.f),v,y,b,x,S,ee;if(g=v2e(e),g.a=r.Math.max(g.a,t),g.b=r.Math.max(g.b,n),ee=g.a/_.a,d=g.b/_.b,x=g.a-_.a,l=g.b-_.b,i)for(s=PE(e)?P(J(PE(e),(LB(),D6)),86):P(J(e,(LB(),D6)),86),c=j(J(e,(LB(),X6)))===j((iL(),t5)),y=new lx((!e.c&&(e.c=new F(m7,e,9,9)),e.c));y.e!=y.i.gc();)switch(v=P(OF(y),125),b=P(J(v,e8),64),b==(wB(),M5)&&(b=Drt(v,s),IF(v,e8,b)),b.g){case 1:c||TA(v,v.i*ee);break;case 2:TA(v,v.i+x),c||EA(v,v.j*d);break;case 3:c||TA(v,v.i*ee),EA(v,v.j+l);break;case 4:c||EA(v,v.j*d)}if(Cb(e,g.a,g.b),a)for(p=new lx((!e.n&&(e.n=new F(f7,e,1,7)),e.n));p.e!=p.i.gc();)f=P(OF(p),157),m=f.i+f.g/2,h=f.j+f.f/2,S=m/_.a,u=h/_.b,S+u>=1&&(S-u>0&&h>=0?(TA(f,f.i+x),EA(f,f.j+l*u)):S-u<0&&m>=0&&(TA(f,f.i+x*S),EA(f,f.j+l)));return IF(e,(LB(),R6),(tF(),o=P(t_(B5),10),new FS(o,P(gS(o,o.length),10),0))),new A(ee,d)}function EB(e){var t,n,r,i,a,o,s,c,l,u,d;if(e==null)throw D(new Ag(eV));if(l=e,a=e.length,c=!1,a>0&&(t=(sD(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(sD(1,e.length+1),e.substr(1)),--a,c=t==45)),a==0)throw D(new Ag(fH+l+`"`));for(;e.length>0&&(sD(0,e.length),e.charCodeAt(0)==48);)e=(sD(1,e.length+1),e.substr(1)),--a;if(a>(rrt(),ybt)[10])throw D(new Ag(fH+l+`"`));for(i=0;i<a;i++)if(lqe((sD(i,e.length),e.charCodeAt(i)))==-1)throw D(new Ag(fH+l+`"`));for(d=0,o=_bt[10],u=vbt[10],s=gk(bbt[10]),n=!0,r=a%o,r>0&&(d=-parseInt((YO(0,r,e.length),e.substr(0,r)),10),e=(sD(r,e.length+1),e.substr(r)),a-=r,n=!1);a>=o;){if(r=parseInt((YO(0,o,e.length),e.substr(0,o)),10),e=(sD(o,e.length+1),e.substr(o)),a-=o,n)n=!1;else{if(yN(d,s)<0)throw D(new Ag(fH+l+`"`));d=cP(d,u)}d=lP(d,r)}if(yN(d,0)>0||!c&&(d=gk(d),yN(d,0)<0))throw D(new Ag(fH+l+`"`));return d}function $ct(e){bat();var t,n,r,i,a,o,s,c;if(e==null)return null;if(i=sb(e,hL(37)),i<0)return e;for(c=new _x((YO(0,i,e.length),e.substr(0,i))),t=V(X9,mq,30,4,15,1),s=0,r=0,o=e.length;i<o;i++)if(sD(i,e.length),e.charCodeAt(i)==37&&e.length>i+2&&EM((sD(i+1,e.length),e.charCodeAt(i+1)),uBt,dBt)&&EM((sD(i+2,e.length),e.charCodeAt(i+2)),uBt,dBt))if(n=nxe((sD(i+1,e.length),e.charCodeAt(i+1)),(sD(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?(n&192)==128?t[s++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[s++]=n<<24>>24,r=2):(n&240)==224?(t[s++]=n<<24>>24,r=3):(n&248)==240&&(t[s++]=n<<24>>24,r=4)),r>0){if(s==r){switch(s){case 2:Xw(c,((t[0]&31)<<6|t[1]&63)&VV);break;case 3:Xw(c,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&VV);break}s=0,r=0}}else{for(a=0;a<s;++a)Xw(c,t[a]&VV);s=0,c.a+=String.fromCharCode(n)}else{for(a=0;a<s;++a)Xw(c,t[a]&VV);s=0,Xw(c,(sD(i,e.length),e.charCodeAt(i)))}return c.a}function elt(e){var t,n,i,a,o,s,c,l,u,d,f=PE(cL(P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84)))==PE(cL(P(H((!e.c&&(e.c=new xS(r7,e,5,8)),e.c),0),84))),p;if(c=new Xg,t=P(J(e,(rN(),ORt)),78),t&&t.b>=2){if((!e.a&&(e.a=new F(a7,e,6,6)),e.a).i==0)n=($g(),a=new Yc,a),XO((!e.a&&(e.a=new F(a7,e,6,6)),e.a),n);else if((!e.a&&(e.a=new F(a7,e,6,6)),e.a).i>1)for(p=new Dx((!e.a&&(e.a=new F(a7,e,6,6)),e.a));p.e!=p.i.gc();)YI(p);Yrt(t,P(H((!e.a&&(e.a=new F(a7,e,6,6)),e.a),0),170))}if(f)for(i=new lx((!e.a&&(e.a=new F(a7,e,6,6)),e.a));i.e!=i.i.gc();)for(n=P(OF(i),170),u=new lx((!n.a&&(n.a=new ix(e7,n,5)),n.a));u.e!=u.i.gc();)l=P(OF(u),372),c.a=r.Math.max(c.a,l.a),c.b=r.Math.max(c.b,l.b);for(s=new lx((!e.n&&(e.n=new F(f7,e,1,7)),e.n));s.e!=s.i.gc();)o=P(OF(s),157),d=P(J(o,M8),8),d&&xb(o,d.a,d.b),f&&(c.a=r.Math.max(c.a,o.i+o.g),c.b=r.Math.max(c.b,o.j+o.f));return c}function tlt(e,t,n,r,i){var a,o,s;if(GIe(e,t),o=t[0],a=wT(n.c,0),s=-1,CHe(n))if(r>0){if(o+r>e.length)return!1;s=lR((YO(0,o+r,e.length),e.substr(0,o+r)),t)}else s=lR(e,t);switch(a){case 71:return s=IL(e,o,U(k(vY,1),X,2,6,[_dt,vdt]),t),i.e=s,!0;case 77:return C9e(e,t,i,s,o);case 76:return w9e(e,t,i,s,o);case 69:return T2e(e,t,o,i);case 99:return E2e(e,t,o,i);case 97:return s=IL(e,o,U(k(vY,1),X,2,6,[`AM`,`PM`]),t),i.b=s,!0;case 121:return T9e(e,t,o,s,n,i);case 100:return s<=0?!1:(i.c=s,!0);case 83:return s<0?!1:AKe(s,o,t[0],i);case 104:s==12&&(s=0);case 75:case 72:return s<0?!1:(i.f=s,i.g=!1,!0);case 107:return s<0?!1:(i.f=s,i.g=!0,!0);case 109:return s<0?!1:(i.j=s,!0);case 115:return s<0?!1:(i.n=s,!0);case 90:if(o<e.length&&(sD(o,e.length),e.charCodeAt(o)==90))return++t[0],i.o=0,!0;case 122:case 118:return F$e(e,o,t,i);default:return!1}}function nlt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=t.c.length,x,S,ee,te,ne;for(a=new Cz(e.a,n,null,null),ne=V(Z9,yH,30,b,15,1),g=V(Z9,yH,30,b,15,1),h=V(Z9,yH,30,b,15,1),_=0,c=0;c<b;c++)g[c]=JB,h[c]=LV;for(l=0;l<b;l++)for(i=(oD(l,t.c.length),P(t.c[l],185)),ne[l]=Z6e(i),ne[_]>ne[l]&&(_=l),f=new E(e.a.b);f.a<f.c.c.length;)for(d=P(z(f),25),y=new E(d.a);y.a<y.c.c.length;)v=P(z(y),9),ee=O(i.p[v.p])+O(i.d[v.p]),g[l]=r.Math.min(g[l],ee),h[l]=r.Math.max(h[l],ee+v.o.b);for(te=V(Z9,yH,30,b,15,1),u=0;u<b;u++)(oD(u,t.c.length),P(t.c[u],185)).o==(TE(),L2)?te[u]=g[_]-g[u]:te[u]=h[_]-h[u];for(o=V(Z9,yH,30,b,15,1),m=new E(e.a.b);m.a<m.c.c.length;)for(p=P(z(m),25),S=new E(p.a);S.a<S.c.c.length;){for(x=P(z(S),9),s=0;s<b;s++)o[s]=O((oD(s,t.c.length),P(t.c[s],185)).p[x.p])+O((oD(s,t.c.length),P(t.c[s],185)).d[x.p])+te[s];tie(o,GLe(ie.prototype.Ke,ie,[])),a.p[x.p]=(o[1]+o[2])/2,a.d[x.p]=0}return a}function rlt(e,t,n){var r=t.i,i,a=e.i.o,o,s;switch(i=e.i.d,s=e.n,o=PM(U(k(o6,1),X,8,0,[s,e.a])),e.j.g){case 1:fS(t,(Mk(),WY)),r.d=-i.d-n-r.a,P(P(AC(t.d,0),187).mf((Y(),g$)),292)==(AI(),I8)?(ZO(t,(uk(),UY)),r.c=o.a-O(N(K(e,S$)))-n-r.b):(ZO(t,(uk(),HY)),r.c=o.a+O(N(K(e,S$)))+n);break;case 2:ZO(t,(uk(),HY)),r.c=a.a+i.c+n,P(P(AC(t.d,0),187).mf((Y(),g$)),292)==(AI(),I8)?(fS(t,(Mk(),WY)),r.d=o.b-O(N(K(e,S$)))-n-r.a):(fS(t,(Mk(),KY)),r.d=o.b+O(N(K(e,S$)))+n);break;case 3:fS(t,(Mk(),KY)),r.d=a.b+i.a+n,P(P(AC(t.d,0),187).mf((Y(),g$)),292)==(AI(),I8)?(ZO(t,(uk(),UY)),r.c=o.a-O(N(K(e,S$)))-n-r.b):(ZO(t,(uk(),HY)),r.c=o.a+O(N(K(e,S$)))+n);break;case 4:ZO(t,(uk(),UY)),r.c=-i.b-n-r.b,P(P(AC(t.d,0),187).mf((Y(),g$)),292)==(AI(),I8)?(fS(t,(Mk(),WY)),r.d=o.b-O(N(K(e,S$)))-n-r.a):(fS(t,(Mk(),KY)),r.d=o.b+O(N(K(e,S$)))+n)}}function ilt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;for(t.Tg(`Interactive node layering`,1),n=new ah,p=new E(e.a);p.a<p.c.c.length;){for(d=P(z(p),9),l=d.n.a,c=l+d.o.a,c=r.Math.max(l+1,c),y=new bD(n,0),i=null;y.b<y.d.gc();)if(_=(Bx(y.b<y.d.gc()),P(y.d.Xb(y.c=y.b++),564)),_.c>=c){Bx(y.b>0),y.a.Xb(y.c=--y.b);break}else _.a>l&&(i?(pM(i.b,_.b),i.a=r.Math.max(i.a,_.a),nT(y)):($b(_.b,d),_.c=r.Math.min(_.c,l),_.a=r.Math.max(_.a,c),i=_));i||(i=new Mie,i.c=l,i.a=c,hS(y,i),$b(i.b,d))}for(s=e.b,u=0,v=new E(n);v.a<v.c.c.length;)for(_=P(z(v),564),a=new tT(e),a.p=u++,ph(s.c,a),m=new E(_.b);m.a<m.c.c.length;)d=P(z(m),9),BE(d,a),d.p=0;for(f=new E(e.a);f.a<f.c.c.length;)if(d=P(z(f),9),d.p==0)for(g=bet(d,e);g.a.gc()!=0;)h=P(g.a.ec().Jc().Pb(),9),g.a.Ac(h),bj(g,bet(h,e));for(o=new bD(s,0);o.b<o.d.gc();)(Bx(o.b<o.d.gc()),P(o.d.Xb(o.c=o.b++),25)).a.c.length==0&&nT(o);e.a.c.length=0,t.Ug()}function alt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;for(n.Tg(bht,1),!t.a&&(t.a=new F(p7,t,10,11)),i=O(N(J(t,(uz(),f3)))),d=O(N(J(t,v3))),p=P(J(t,_3),104),m=new Bue(i,d),o=uut(m,t,p),FLe(t,m),c=P(J(t,mFt),15).a;c>1;){if(a=I5e(t),f=o.g,h=P(J(t,_3),104),g=O(N(J(t,f3))),(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i>1&&O(N(J(t,(fz(),s3))))!=pH&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))<g?IF(a,(fz(),u3),O(N(J(t,u3)))+O(N(J(t,s3)))):(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i>1&&O(N(J(t,(fz(),o3))))!=pH&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))>g&&IF(a,(fz(),u3),r.Math.max(O(N(J(t,c3))),O(N(J(a,u3)))-O(N(J(t,o3))))),m=new Bue(i,d),l=uut(m,a,p),u=l.g,u>=f&&u==u){for(s=0;s<(!a.a&&(a.a=new F(p7,a,10,11)),a.a).i;s++)R4e(e,P(H((!a.a&&(a.a=new F(p7,a,10,11)),a.a),s),26),P(H((!t.a&&(t.a=new F(p7,t,10,11)),t.a),s),26));FLe(t,m),PDe(o,l.c),NDe(o,l.b)}--c}IF(t,(fz(),r3),o.b),IF(t,i3,o.c),n.Ug()}function olt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Compound graph postprocessor`,1),n=hg(eS(K(e,(PB(),F0)))),c=P(K(e,(Y(),nEt)),229),d=new Dh,v=c.ec().Jc();v.Ob();){for(_=P(v.Pb(),17),s=new NS(c.cc(_)),KT(),Vb(s,new Rm(e)),S=tBe((oD(0,s.c.length),P(s.c[0],250))),te=nBe(P(AC(s,s.c.length-1),250)),b=S.i,y=zj(te.i,b)?b.e:lT(b),f=fJe(_,s),YT(_.a),p=null,o=new E(s);o.a<o.c.c.length;)a=P(z(o),250),g=new Xg,i2e(g,a.a,y),m=a.b,i=new Rh,aN(i,0,m.a),kj(i,g),x=new mb(aD(m.c)),ee=new mb(aD(m.d)),wS(x,g),wS(ee,g),p&&(h=i.b==0?ee:(Bx(i.b!=0),P(i.a.a.c,8)),ne=r.Math.abs(p.a-h.a)>mU,C=r.Math.abs(p.b-h.b)>mU,(!n&&ne&&C||n&&(ne||C))&&pC(_.a,x)),bj(_.a,i),p=i.b==0?x:(Bx(i.b!=0),P(i.c.b.c,8)),dVe(m,f,g),nBe(a)==te&&(lT(te.i)!=a.a&&(g=new Xg,i2e(g,lT(te.i),y)),W(_,V$,g)),c0e(m,_,y),d.a.yc(m,d);zE(_,S),VE(_,te)}for(u=d.a.ec().Jc();u.Ob();)l=P(u.Pb(),17),zE(l,null),VE(l,null);t.Ug()}function slt(e,t){var n,r,i=P(K(e,(Lz(),b4)),86),a,o,s,c,l,u=i==(WN(),g8)||i==_8?h8:_8,d,f;for(n=P(aO(AT(new jC(null,new nD(e.b,16)),new Oo),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),c=P(aO(jT(n.Mc(),new Tne(t)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),16),c.Fc(P(aO(jT(n.Mc(),new Ene(t)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),18)),c.gd(new Dne(u)),f=new s_(new One(i)),r=new oh,s=c.Jc();s.Ob();)o=P(s.Pb(),240),l=P(o.a,40),hg(eS(o.c))?(f.a.yc(l,(mx(),cY)),new Cm(f.a.Xc(l,!1)).a.gc()>0&&ST(r,l,P(new Cm(f.a.Xc(l,!1)).a.Tc(),40)),new Cm(f.a.$c(l,!0)).a.gc()>1&&ST(r,bKe(f,l),l)):(new Cm(f.a.Xc(l,!1)).a.gc()>0&&(a=P(new Cm(f.a.Xc(l,!1)).a.Tc(),40),j(a)===j(By(VC(r.f,l)))&&P(K(l,(CB(),t4)),16).Ec(a)),new Cm(f.a.$c(l,!0)).a.gc()>1&&(d=bKe(f,l),j(By(VC(r.f,d)))===j(l)&&P(K(d,(CB(),t4)),16).Ec(l)),f.a.Ac(l))}function clt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;if(e.gc()==1)return P(e.Xb(0),235);if(e.gc()<=0)return new FO;for(a=e.Jc();a.Ob();){for(n=P(a.Pb(),235),h=0,d=JB,f=JB,l=LV,u=LV,m=new E(n.e);m.a<m.c.c.length;)p=P(z(m),155),h+=P(K(p,(Mz(),iX)),15).a,d=r.Math.min(d,p.d.a-p.e.a/2),f=r.Math.min(f,p.d.b-p.e.b/2),l=r.Math.max(l,p.d.a+p.e.a/2),u=r.Math.max(u,p.d.b+p.e.b/2);W(n,(Mz(),iX),G(h)),W(n,(oj(),lX),new A(d,f)),W(n,cX,new A(l,u))}for(KT(),e.gd(new ot),g=new FO,Xj(g,P(e.Xb(0),105)),c=0,y=0,o=e.Jc();o.Ob();)n=P(o.Pb(),235),_=TS(qb(P(K(n,(oj(),cX)),8)),P(K(n,lX),8)),c=r.Math.max(c,_.a),y+=_.a*_.b;for(c=r.Math.max(c,r.Math.sqrt(y)*O(N(K(g,(Mz(),DSt))))),v=O(N(K(g,oX))),b=0,x=0,s=0,t=v,i=e.Jc();i.Ob();)n=P(i.Pb(),235),_=TS(qb(P(K(n,(oj(),cX)),8)),P(K(n,lX),8)),b+_.a>c&&(b=0,x+=s+v,s=0),Qtt(g,n,b,x),t=r.Math.max(t,b+_.a),s=r.Math.max(s,_.b),b+=_.a+v;return g}function llt(e){Srt();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null||(a=Ak(e),m=BWe(a),m%4!=0))return null;if(h=m/4|0,h==0)return V(X9,mq,30,0,15,1);for(d=null,t=0,n=0,r=0,i=0,o=0,s=0,c=0,l=0,p=0,f=0,u=0,d=V(X9,mq,30,h*3,15,1);p<h-1;p++){if(!b_(o=a[u++])||!b_(s=a[u++])||!b_(c=a[u++])||!b_(l=a[u++]))return null;t=j9[o],n=j9[s],r=j9[c],i=j9[l],d[f++]=(t<<2|n>>4)<<24>>24,d[f++]=((n&15)<<4|r>>2&15)<<24>>24,d[f++]=(r<<6|i)<<24>>24}return!b_(o=a[u++])||!b_(s=a[u++])?null:(t=j9[o],n=j9[s],c=a[u++],l=a[u++],j9[c]==-1||j9[l]==-1?c==61&&l==61?n&15?null:(g=V(X9,mq,30,p*3+1,15,1),Fz(d,0,g,0,p*3),g[f]=(t<<2|n>>4)<<24>>24,g):c!=61&&l==61?(r=j9[c],r&3?null:(g=V(X9,mq,30,p*3+2,15,1),Fz(d,0,g,0,p*3),g[f++]=(t<<2|n>>4)<<24>>24,g[f]=((n&15)<<4|r>>2&15)<<24>>24,g)):null:(r=j9[c],i=j9[l],d[f++]=(t<<2|n>>4)<<24>>24,d[f++]=((n&15)<<4|r>>2&15)<<24>>24,d[f++]=(r<<6|i)<<24>>24,d))}function ult(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;for(t.Tg(Zft,1),m=P(K(e,(PB(),A1)),222),i=new E(e.b);i.a<i.c.c.length;)for(r=P(z(i),25),l=hD(r.a),o=l,s=0,c=o.length;s<c;++s)if(a=o[s],a.k==(MR(),UX)){if(m==(UN(),O8))for(d=new E(a.j);d.a<d.c.c.length;)u=P(z(d),12),u.e.c.length==0||jqe(u),u.g.c.length==0||Mqe(u);else if(M(K(a,(Y(),T$)),17))g=P(K(a,T$),17),_=P(NL(a,(wB(),N5)).Jc().Pb(),12),v=P(NL(a,p5).Jc().Pb(),12),y=P(K(_,T$),12),b=P(K(v,T$),12),zE(g,b),VE(g,y),x=new mb(v.i.n),x.a=PM(U(k(o6,1),X,8,0,[b.i.n,b.n,b.a])).a,pC(g.a,x),x=new mb(_.i.n),x.a=PM(U(k(o6,1),X,8,0,[y.i.n,y.n,y.a])).a,pC(g.a,x);else{if(a.j.c.length>=2){for(h=!0,f=new E(a.j),n=P(z(f),12),p=null;f.a<f.c.c.length;)if(p=n,n=P(z(f),12),!DN(K(p,T$),K(n,T$))){h=!1;break}}else h=!1;for(d=new E(a.j);d.a<d.c.c.length;)u=P(z(d),12),u.e.c.length==0||w7e(u,h),u.g.c.length==0||T7e(u,h)}BE(a,null)}t.Ug()}function dlt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;for(c=new E(e.a.b);c.a<c.c.c.length;)for(o=P(z(c),25),b=new E(o.a);b.a<b.c.c.length;)y=P(z(b),9),t.g[y.p]=y,t.a[y.p]=y,t.d[y.p]=0;for(l=e.a.b,t.c==(wE(),F2)&&(l=AP(l)),s=l.Jc();s.Ob();)for(o=P(s.Pb(),25),m=-1,p=o.a,t.o==(TE(),R2)&&(m=JB,p=AP(p)),S=p.Jc();S.Ob();)if(x=P(S.Pb(),9),f=null,f=t.c==F2?P(AC(e.b.f,x.p),16):P(AC(e.b.b,x.p),16),f.gc()>0)if(i=f.gc(),u=xE(r.Math.floor((i+1)/2))-1,a=xE(r.Math.ceil((i+1)/2))-1,t.o==R2)for(d=a;d>=u;d--)t.a[x.p]==x&&(g=P(f.Xb(d),49),h=P(g.a,9),!w_(n,g.b)&&m>e.b.e[h.p]&&(t.a[h.p]=x,t.g[x.p]=t.g[h.p],t.a[x.p]=t.g[x.p],t.f[t.g[x.p].p]=(mx(),!!(hg(t.f[t.g[x.p].p])&x.k==(MR(),BX))),m=e.b.e[h.p]));else for(d=u;d<=a;d++)t.a[x.p]==x&&(v=P(f.Xb(d),49),_=P(v.a,9),!w_(n,v.b)&&m<e.b.e[_.p]&&(t.a[_.p]=x,t.g[x.p]=t.g[_.p],t.a[x.p]=t.g[x.p],t.f[t.g[x.p].p]=(mx(),!!(hg(t.f[t.g[x.p].p])&x.k==(MR(),BX))),m=e.b.e[_.p]))}function flt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=e.c[(oD(0,t.c.length),P(t.c[0],17)).p],x,S,ee,te=e.c[(oD(1,t.c.length),P(t.c[1],17)).p],ne;return b.a.e.e-b.a.a-(b.b.e.e-b.b.a)==0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)==0||(v=b.b.e.f,!M(v,9))?!1:(_=P(v,9),S=e.i[_.p],ee=_.c?vk(_.c.a,_,0):-1,o=pH,ee>0&&(a=P(AC(_.c.a,ee-1),9),s=e.i[a.p],ne=r.Math.ceil(Jb(e.n,a,_)),o=S.a.e-_.d.d-(s.a.e+a.o.b+a.d.a)-ne),u=pH,ee<_.c.a.c.length-1&&(l=P(AC(_.c.a,ee+1),9),d=e.i[l.p],ne=r.Math.ceil(Jb(e.n,l,_)),u=d.a.e-l.d.d-(S.a.e+_.o.b+_.d.a)-ne),n&&(Ib(),RA(HG),r.Math.abs(o-u)<=HG||o==u||isNaN(o)&&isNaN(u))?!0:(i=Fw(b.a),c=-Fw(b.b),f=-Fw(te.a),y=Fw(te.b),g=b.a.e.e-b.a.a-(b.b.e.e-b.b.a)>0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)<0,h=b.a.e.e-b.a.a-(b.b.e.e-b.b.a)<0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)>0,m=b.a.e.e+b.b.a<te.b.e.e+te.a.a,p=b.a.e.e+b.b.a>te.b.e.e+te.a.a,x=0,!g&&!h&&(p?o+f>0?x=f:u-i>0&&(x=i):m&&(o+c>0?x=c:u-y>0&&(x=y))),S.a.e+=x,S.b&&(S.d.e+=x),!1))}function plt(e,t,n){var i=new zT(t.Jf().a,t.Jf().b,t.Kf().a,t.Kf().b),a=new Ob,o,s,c,l,u,d,f,p;if(e.c)for(s=new E(t.Pf());s.a<s.c.c.length;)o=P(z(s),187),a.c=o.Jf().a+t.Jf().a,a.d=o.Jf().b+t.Jf().b,a.b=o.Kf().a,a.a=o.Kf().b,VL(i,a);for(u=new E(t.Vf());u.a<u.c.c.length;){if(l=P(z(u),836),d=l.Jf().a+t.Jf().a,f=l.Jf().b+t.Jf().b,e.e&&(a.c=d,a.d=f,a.b=l.Kf().a,a.a=l.Kf().b,VL(i,a)),e.d)for(s=new E(l.Pf());s.a<s.c.c.length;)o=P(z(s),187),a.c=o.Jf().a+d,a.d=o.Jf().b+f,a.b=o.Kf().a,a.a=o.Kf().b,VL(i,a);if(e.b){if(p=new A(-n,-n),P(t.mf((LB(),$6)),182).Gc((rR(),u5)))for(s=new E(l.Pf());s.a<s.c.c.length;)o=P(z(s),187),p.a+=o.Kf().a+n,p.b+=o.Kf().b+n;p.a=r.Math.max(p.a,0),p.b=r.Math.max(p.b,0),Knt(i,l.Uf(),l.Sf(),t,l,p,n)}}e.b&&Knt(i,t.Uf(),t.Sf(),t,null,null,n),c=new zS(t.Tf()),c.d=r.Math.max(0,t.Jf().b-i.d),c.a=r.Math.max(0,i.d+i.a-(t.Jf().b+t.Kf().b)),c.b=r.Math.max(0,t.Jf().a-i.c),c.c=r.Math.max(0,i.c+i.b-(t.Jf().a+t.Kf().a)),t.Xf(c)}function mlt(){var e=`\\u0000.\\u0001.\\u0002.\\u0003.\\u0004.\\u0005.\\u0006.\\u0007.\\b.\\t.\\n.\\u000B.\\f.\\r.\\u000E.\\u000F.\\u0010.\\u0011.\\u0012.\\u0013.\\u0014.\\u0015.\\u0016.\\u0017.\\u0018.\\u0019.\\u001A.\\u001B.\\u001C.\\u001D.\\u001E.\\u001F`.split(`.`);return e[34]=`\\"`,e[92]=`\\\\`,e[173]=`\\u00ad`,e[1536]=`\\u0600`,e[1537]=`\\u0601`,e[1538]=`\\u0602`,e[1539]=`\\u0603`,e[1757]=`\\u06dd`,e[1807]=`\\u070f`,e[6068]=`\\u17b4`,e[6069]=`\\u17b5`,e[8203]=`\\u200b`,e[8204]=`\\u200c`,e[8205]=`\\u200d`,e[8206]=`\\u200e`,e[8207]=`\\u200f`,e[8232]=`\\u2028`,e[8233]=`\\u2029`,e[8234]=`\\u202a`,e[8235]=`\\u202b`,e[8236]=`\\u202c`,e[8237]=`\\u202d`,e[8238]=`\\u202e`,e[8288]=`\\u2060`,e[8289]=`\\u2061`,e[8290]=`\\u2062`,e[8291]=`\\u2063`,e[8292]=`\\u2064`,e[8298]=`\\u206a`,e[8299]=`\\u206b`,e[8300]=`\\u206c`,e[8301]=`\\u206d`,e[8302]=`\\u206e`,e[8303]=`\\u206f`,e[65279]=`\\ufeff`,e[65529]=`\\ufff9`,e[65530]=`\\ufffa`,e[65531]=`\\ufffb`,e}function hlt(e){Y_(e,new uL(Roe(Fg(Rg(Pg(Lg(Ig(new oc,yU),`ELK Force`),`Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported.`),new ct),yU),zC((SR(),x7),U(k(S7,1),Z,244,0,[y7]))))),B(e,yU,bU,G(1)),B(e,yU,xU,80),B(e,yU,SU,5),B(e,yU,CU,vU),B(e,yU,wU,G(1)),B(e,yU,TU,(mx(),!0)),B(e,yU,EU,LSt),B(e,yU,DU,DF(kSt)),B(e,yU,yft,DF(RSt)),B(e,yU,OU,!1),B(e,yU,kU,DF(FSt)),B(e,yU,AU,DF(NSt)),B(e,yU,jU,DF(PSt)),B(e,yU,MU,DF(MSt)),B(e,yU,NU,DF(jSt)),B(e,yU,PU,DF(zSt)),B(e,yU,fU,DF(ASt)),B(e,yU,pU,DF(sX)),B(e,yU,_ft,DF(rX)),B(e,yU,hU,DF(aX)),B(e,yU,vft,DF(VSt)),B(e,yU,FU,DF(KSt)),B(e,yU,IU,DF(JSt)),B(e,yU,LU,DF(GSt)),B(e,yU,RU,DF(WSt)),B(e,yU,zU,qSt)}function glt(e,t,n,r){var i,a,o,s,c,l,u,d,p,m=P(AC((oD(0,t.c.length),P(t.c[0],25)).a,r),9),h,g,_,v;for(n>0&&BE(m,(oD(n,t.c.length),P(t.c[n],25))),a=0,p=!0,v=AP(pD(uP(m))),c=v.Jc();c.Ob();){for(s=P(c.Pb(),17),p=!1,d=s,l=0;l<n;l++)i=rWe(e,d),r+a>(oD(l,t.c.length),P(t.c[l],25)).a.c.length?BE(i,(oD(l,t.c.length),P(t.c[l],25))):jI(i,r+a,(oD(l,t.c.length),P(t.c[l],25))),d=r9e(d,i);n>0&&(a+=1)}if(p){for(l=0;l<n;l++)i=new tI(e),Tp(i,(MR(),WX)),r+a>(oD(l,t.c.length),P(t.c[l],25)).a.c.length?BE(i,(oD(l,t.c.length),P(t.c[l],25))):jI(i,r+a,(oD(l,t.c.length),P(t.c[l],25)));n>0&&(a+=1)}for(o=!1,g=new XC(dx(fP(m).a.Jc(),new f));CR(g);){for(h=P(CO(g),17),d=h,u=n+1;u<t.c.length;u++)i=rWe(e,d),BE(i,(oD(u,t.c.length),P(t.c[u],25))),d=r9e(d,i);for(l=0;l<=n;l++)o&&(_=new tI(e),Tp(_,(MR(),VX)),r+1>(oD(l,t.c.length),P(t.c[l],25)).a.c.length?BE(_,(oD(l,t.c.length),P(t.c[l],25))):jI(_,r+1,(oD(l,t.c.length),P(t.c[l],25))));o&&(a+=1),o=!0}return a>0?a-1:0}function DB(e,t){zB();var n,r,i,a,o,s,c,l,u,d,f,p,m;if(C_(L9)==0){for(d=V(JVt,X,121,jVt.length,0,1),o=0;o<d.length;o++)d[o]=(++W9,new lD(4));for(r=new Dg,a=0;a<AVt.length;a++){if(u=(++W9,new lD(4)),a<84?(s=a*2,p=(sD(s,yyt.length),yyt.charCodeAt(s)),f=(sD(s+1,yyt.length),yyt.charCodeAt(s+1)),rz(u,p,f)):(s=(a-84)*2,rz(u,MVt[s],MVt[s+1])),c=AVt[a],CS(c,`Specials`)&&rz(u,65520,65533),CS(c,_yt)&&(rz(u,983040,1048573),rz(u,1048576,1114109)),LE(L9,c,u),LE(R9,c,Pz(u)),l=r.a.length,0<l?r.a=dE(r.a,0,0):0>l&&(r.a+=kpe(V(K9,BV,30,-l,15,1))),r.a+=`Is`,sb(c,hL(32))>=0)for(i=0;i<c.length;i++)sD(i,c.length),c.charCodeAt(i)!=32&&Yw(r,(sD(i,c.length),c.charCodeAt(i)));else r.a+=``+c;VKe(r.a,c,!0)}VKe(vyt,`Cn`,!1),VKe(byt,`Cn`,!0),n=(++W9,new lD(4)),rz(n,0,KJ),LE(L9,`ALL`,n),LE(R9,`ALL`,Pz(n)),!z9&&(z9=new oh),LE(z9,vyt,vyt),!z9&&(z9=new oh),LE(z9,byt,byt),!z9&&(z9=new oh),LE(z9,`ALL`,`ALL`)}return m=P(vE(t?L9:R9,e),137),m}function _lt(e){Y_(e,new uL(Roe(Fg(Rg(Pg(Lg(Ig(new oc,iK),`ELK Mr. Tree`),`Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout.`),new Wo),iht),gP((SR(),Kzt))))),B(e,iK,EU,hNt),B(e,iK,xU,20),B(e,iK,EG,3),B(e,iK,CU,vU),B(e,iK,bU,G(1)),B(e,iK,TU,(mx(),!0)),B(e,iK,DG,DF(rNt)),B(e,iK,OG,iNt),B(e,iK,DU,DF(oNt)),B(e,iK,NG,DF(sNt)),B(e,iK,MU,DF(lNt)),B(e,iK,AU,DF(uNt)),B(e,iK,VU,DF(dNt)),B(e,iK,jU,DF(fNt)),B(e,iK,NU,DF(cNt)),B(e,iK,kU,DF(pNt)),B(e,iK,PU,DF(gNt)),B(e,iK,eht,DF(TNt)),B(e,iK,nht,DF(_Nt)),B(e,iK,FU,DF(SNt)),B(e,iK,IU,DF(wNt)),B(e,iK,LU,DF(xNt)),B(e,iK,RU,DF(bNt)),B(e,iK,zU,CNt),B(e,iK,$mt,DF(S4)),B(e,iK,tht,DF(x4)),B(e,iK,Qmt,DF(T4)),B(e,iK,Xmt,DF(nNt)),B(e,iK,Zmt,DF(aNt))}function vlt(e,t){var n,r,i,a,o,s,c,l=P(P(DO(e.r,t),22),83),u,d,f;for(o=Z$e(e,t),n=e.u.Gc((rR(),o5)),c=l.Jc();c.Ob();)if(s=P(c.Pb(),115),!(!s.c||s.c.d.c.length<=0)){switch(f=s.b.Kf(),u=s.c,d=u.i,d.b=(a=u.n,u.e.a+a.b+a.c),d.a=(i=u.n,u.e.b+i.d+i.a),t.g){case 1:s.a?(d.c=(f.a-d.b)/2,ZO(u,(uk(),VY))):o||n?(d.c=-d.b-e.s,ZO(u,(uk(),UY))):(d.c=f.a+e.s,ZO(u,(uk(),HY))),d.d=-d.a-e.t,fS(u,(Mk(),WY));break;case 3:s.a?(d.c=(f.a-d.b)/2,ZO(u,(uk(),VY))):o||n?(d.c=-d.b-e.s,ZO(u,(uk(),UY))):(d.c=f.a+e.s,ZO(u,(uk(),HY))),d.d=f.b+e.t,fS(u,(Mk(),KY));break;case 2:s.a?(r=e.v?d.a:P(AC(u.d,0),187).Kf().b,d.d=(f.b-r)/2,fS(u,(Mk(),GY))):o||n?(d.d=-d.a-e.t,fS(u,(Mk(),WY))):(d.d=f.b+e.t,fS(u,(Mk(),KY))),d.c=f.a+e.s,ZO(u,(uk(),HY));break;case 4:s.a?(r=e.v?d.a:P(AC(u.d,0),187).Kf().b,d.d=(f.b-r)/2,fS(u,(Mk(),GY))):o||n?(d.d=-d.a-e.t,fS(u,(Mk(),WY))):(d.d=f.b+e.t,fS(u,(Mk(),KY))),d.c=-d.b-e.s,ZO(u,(uk(),UY))}o=!1}}function ylt(e,t,n,r){var i,a,o,s,c,l,u,d,f=!1,p,m,h,g,_,v;if(d=!1,_b(P(K(r,(PB(),l0)),102))){o=!1,s=!1;t:for(m=new E(r.j);m.a<m.c.c.length;)for(p=P(z(m),12),g=xw(IA(U(k(QJ,1),$B,20,0,[new Bm(p),new Hm(p)])));CR(g);)if(h=P(CO(g),12),!hg(eS(K(h.i,r1)))){if(p.j==(wB(),m5)){o=!0;break t}if(p.j==j5){s=!0;break t}}f=s&&!o,d=o&&!s}if(!f&&!d&&r.b.c.length!=0){for(u=0,l=new E(r.b);l.a<l.c.c.length;)c=P(z(l),70),u+=c.n.b+c.o.b/2;u/=r.b.c.length,v=u>=r.o.b/2}else v=!d;v?(_=P(K(r,(Y(),G$)),16),_?f?a=_:(i=P(K(r,YQ),16),i?a=_.gc()<=i.gc()?_:i:(a=new ah,W(r,YQ,a))):(a=new ah,W(r,G$,a))):(i=P(K(r,(Y(),YQ)),16),i?d?a=i:(_=P(K(r,G$),16),_?a=i.gc()<=_.gc()?i:_:(a=new ah,W(r,G$,a))):(a=new ah,W(r,YQ,a))),a.Ec(e),W(e,(Y(),QQ),n),t.d==n?(VE(t,null),n.e.c.length+n.g.c.length==0&&HE(n,null),MHe(n)):(zE(t,null),n.e.c.length+n.g.c.length==0&&HE(n,null)),YT(t.a)}function blt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se;for(n.Tg(`MinWidth layering`,1),m=t.b,te=t.a,se=P(K(t,(PB(),Vkt)),15).a,c=P(K(t,Hkt),15).a,e.b=O(N(K(t,y0))),e.d=pH,x=new E(te);x.a<x.c.c.length;)y=P(z(x),9),y.k==(MR(),HX)&&(re=y.o.b,e.d=r.Math.min(e.d,re));for(e.d=r.Math.max(1,e.d),ne=te.c.length,e.c=V(q9,JV,30,ne,15,1),e.f=V(q9,JV,30,ne,15,1),e.e=V(Z9,yH,30,ne,15,1),u=0,e.a=0,S=new E(te);S.a<S.c.c.length;)y=P(z(S),9),y.p=u++,e.c[y.p]=gUe(uP(y)),e.f[y.p]=gUe(fP(y)),e.e[y.p]=y.o.b/e.d,e.a+=e.e[y.p];for(e.b/=e.d,e.a/=ne,ee=J4e(te),Vb(te,wTe(new Gte(e))),g=pH,h=JB,s=null,oe=se,ae=se,o=c,a=c,se<0&&(oe=P(Ejt.a.Gd(),15).a,ae=P(Ejt.b.Gd(),15).a),c<0&&(o=P(Tjt.a.Gd(),15).a,a=P(Tjt.b.Gd(),15).a),ie=oe;ie<=ae;ie++)for(i=o;i<=a;i++)C=hit(e,ie,i,te,ee),v=O(N(C.a)),p=P(C.b,16),_=p.gc(),(v<g||v==g&&_<h)&&(g=v,h=_,s=p);for(f=s.Jc();f.Ob();){for(d=P(f.Pb(),16),l=new tT(t),b=d.Jc();b.Ob();)y=P(b.Pb(),9),BE(y,l);ph(m.c,l)}JL(m),te.c.length=0,n.Ug()}function xlt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;for(t.Tg(Zft,1),h=new ah,S=new ah,l=new E(e.b);l.a<l.c.c.length;)for(c=P(z(l),25),_=-1,m=hD(c.a),d=m,f=0,p=d.length;f<p;++f)if(u=d[f],++_,u.k==(MR(),HX)&&_b(P(K(u,(PB(),l0)),102))){for(!ES(P(K(u,(PB(),l0)),102))&&j(K(lT(u),g1))===j((eF(),c2))&&c7e(u),W(u,(Y(),m$),u),h.c.length=0,S.c.length=0,n=new ah,b=new E_,Oze(b,NL(u,(wB(),m5))),j(K(lT(u),g1))!==j((eF(),c2))&&(b=M$e(b)),Ult(e,b,h,S,n),s=_,ee=u,a=new E(h);a.a<a.c.c.length;)r=P(z(a),9),jI(r,s,c),++_,W(r,m$,u),o=P(AC(r.j,0),12),g=P(K(o,T$),12),hg(eS(K(g,t1)))||P(K(r,h$),16).Ec(ee);for(YT(b),y=NL(u,j5).Jc();y.Ob();)v=P(y.Pb(),12),iO(b,v,b.a,b.a.a);for(j(K(lT(u),g1))!==j(c2)&&(b=M$e(b)),Ult(e,b,S,null,n),x=u,i=new E(S);i.a<i.c.c.length;)r=P(z(i),9),jI(r,++_,c),W(r,m$,u),o=P(AC(r.j,0),12),g=P(K(o,T$),12),hg(eS(K(g,t1)))||P(K(x,h$),16).Ec(r);n.c.length==0||W(u,$Tt,n)}t.Ug()}function Slt(e,t,n,i,a,o,s){var c,l,u,d,f,p,m=0,h,g,_,v,y,b,x,S,ee,te,ne,C,re=0,ie,ae,oe,se;for(l=new E(e);l.a<l.c.c.length;)c=P(z(l),26),Rst(c),m=r.Math.max(m,c.g),re+=c.g*c.f;for(h=re/e.c.length,C=IXe(e,h),re+=e.c.length*C,re+=r.Math.sqrt(re)*(n.a+n.d),re+=r.Math.sqrt(re)*n.c,m=r.Math.max(m,r.Math.sqrt(re*s))+n.b,oe=n.b,se=n.d,p=0,d=n.b+n.c,ne=new E_,pC(ne,G(0)),ee=new E_,u=new bD(e,0);u.b<u.d.gc();)c=(Bx(u.b<u.d.gc()),P(u.d.Xb(u.c=u.b++),26)),ae=c.g,f=c.f,oe+ae>m&&(o&&(eb(ee,p),eb(ne,G(u.b-1))),oe=n.b,se+=p+t,p=0,d=r.Math.max(d,n.b+n.c+ae)),TA(c,oe),EA(c,se),d=r.Math.max(d,oe+ae+n.c),p=r.Math.max(p,f),oe+=ae+t;if(d=r.Math.max(d,i),ie=se+p+n.a,ie<a&&(p+=a-ie,ie=a),o)for(oe=n.b,u=new bD(e,0),eb(ne,G(e.c.length)),te=TF(ne,0),v=P(RD(te),15).a,eb(ee,p),S=TF(ee,0),x=0;u.b<u.d.gc();)u.b==v&&(oe=n.b,x=O(N(RD(S))),v=P(RD(te),15).a),c=(Bx(u.b<u.d.gc()),P(u.d.Xb(u.c=u.b++),26)),y=c.f,yA(c,x),g=x,u.b==v&&(_=d-oe-n.c,b=c.g,wA(c,_),M2e(c,new A(_,g),new A(b,y))),oe+=c.g+t;return new A(d,ie)}function Clt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae;if(n.Tg(`Spline edge routing`,1),t.b.c.length==0){t.f.a=0,n.Ug();return}y=O(N(K(t,(PB(),A0)))),c=O(N(K(t,C0))),s=O(N(K(t,b0))),v=P(K(t,M1),349),ne=v==(hN(),x2),te=O(N(K(t,Mkt))),e.d=t,e.j.c.length=0,e.a.c.length=0,aw(e.k),l=P(AC(t.b,0),25),d=zy(l.a,(ez(),B2)),h=P(AC(t.b,t.b.c.length-1),25),f=zy(h.a,B2),g=new E(t.b),_=null,ae=0;do{for(b=g.a<g.c.c.length?P(z(g),25):null,Gct(e,_,b),brt(e),C=_oe(Qze(NT(AT(new jC(null,new nD(e.i,16)),new po),new mo))),ie=0,x=ae,p=!_||d&&_==l,m=!b||f&&b==h,C>0?(u=0,_&&(u+=c),u+=(C-1)*s,b&&(u+=c),ne&&b&&(u=r.Math.max(u,h7e(b,s,y,te))),u<y&&!p&&!m&&(ie=(y-u)/2,u=y),x+=u):!p&&!m&&(x+=y),b&&fot(b,x),ee=new E(e.i);ee.a<ee.c.c.length;)S=P(z(ee),132),S.a.c=ae,S.a.b=x-ae,S.F=ie,S.p=!_;pM(e.a,e.i),ae=x,b&&(ae+=b.c.a),_=b,p=m}while(b);for(a=new E(e.j);a.a<a.c.c.length;)i=P(z(a),17),o=Cze(e,i),W(i,(Y(),L$),o),re=A7e(e,i),W(i,z$,re);t.f.a=ae,e.d=null,n.Ug()}function wlt(e,t){var n,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie;for(e.b=t,e.a=P(K(t,(PB(),Pkt)),15).a,e.c=P(K(t,Ikt),15).a,e.c==0&&(e.c=JB),v=new bD(t.b,0);v.b<v.d.gc();){for(_=(Bx(v.b<v.d.gc()),P(v.d.Xb(v.c=v.b++),25)),c=new ah,d=-1,S=-1,x=new E(_.a);x.a<x.c.c.length;)b=P(z(x),9),UD((BS(),new XC(dx(dP(b).a.Jc(),new f))))>=e.a&&(i=vit(e,b),d=r.Math.max(d,i.b),S=r.Math.max(S,i.d),$b(c,new My(b,i)));for(C=new ah,u=0;u<d;++u)BC(C,0,(Bx(v.b>0),v.a.Xb(v.c=--v.b),re=new tT(e.b),hS(v,re),Bx(v.b<v.d.gc()),v.d.Xb(v.c=v.b++),re));for(s=new E(c);s.a<s.c.c.length;)if(a=P(z(s),49),h=P(a.b,566).a,h)for(m=new E(h);m.a<m.c.c.length;)p=P(z(m),9),UXe(e,p,JX,C);for(n=new ah,l=0;l<S;++l)$b(n,(ie=new tT(e.b),hS(v,ie),ie));for(o=new E(c);o.a<o.c.c.length;)if(a=P(z(o),49),ne=P(a.b,566).c,ne)for(te=new E(ne);te.a<te.c.c.length;)ee=P(z(te),9),UXe(e,ee,YX,n)}for(y=new bD(t.b,0);y.b<y.d.gc();)g=(Bx(y.b<y.d.gc()),P(y.d.Xb(y.c=y.b++),25)),g.a.c.length==0&&nT(y)}function Tlt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h=e.i!=0,g,_,v,y=!1,b;if(_=null,gb(e.e)){if(u=t.gc(),u>0){for(f=u<100?null:new Qg(u),l=new uBe(t),m=l.g,_=V(q9,JV,30,u,15,1),r=0,b=new oA(u),i=0;i<e.i;++i){s=e.g[i],p=s;v:for(v=0;v<2;++v){for(c=u;--c>=0;)if(p==null?j(p)===j(m[c]):DN(p,m[c])){_.length<=r&&(g=_,_=V(q9,JV,30,2*_.length,15,1),Fz(g,0,_,0,r)),_[r++]=i,XO(b,m[c]);break v}if(p=p,j(p)===j(s))break}}if(l=b,m=b.g,u=r,r>_.length&&(g=_,_=V(q9,JV,30,r,15,1),Fz(g,0,_,0,r)),r>0){for(y=!0,a=0;a<r;++a)p=m[a],f=X_e(e,P(p,75),f);for(o=r;--o>=0;)OI(e,_[o]);if(r!=u){for(i=u;--i>=r;)OI(l,i);g=_,_=V(q9,JV,30,r,15,1),Fz(g,0,_,0,r)}t=l}}}else for(t=fXe(e,t),i=e.i;--i>=0;)t.Gc(e.g[i])&&(OI(e,i),y=!0);if(y){if(_!=null){for(n=t.gc(),d=n==1?IE(e,4,t.Jc().Pb(),null,_[0],h):IE(e,6,t,_,_[0],h),f=n<100?null:new Qg(n),i=t.Jc();i.Ob();)p=i.Pb(),f=J_e(e,P(p,75),f);f?(f.lj(d),f.mj()):Rj(e.e,d)}else{for(f=G_e(t.gc()),i=t.Jc();i.Ob();)p=i.Pb(),f=J_e(e,P(p,75),f);f&&f.mj()}return!0}else return!1}function Elt(e,t){var n=new MJe(t),r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b;for(n.a||vnt(t),l=vet(t),c=new mE,_=new c9e,g=new E(t.a);g.a<g.c.c.length;)for(h=P(z(g),9),i=new XC(dx(fP(h).a.Jc(),new f));CR(i);)r=P(CO(i),17),(r.c.i.k==(MR(),RX)||r.d.i.k==RX)&&(u=Vst(e,r,l,_),fR(c,SF(u.d),u.a));for(o=new ah,b=P(K(n.c,(Y(),i$)),22).Jc();b.Ob();){switch(y=P(b.Pb(),64),m=_.c[y.g],p=_.b[y.g],s=_.a[y.g],a=null,v=null,y.g){case 4:a=new zT(e.d.a,m,l.b.a-e.d.a,p-m),v=new zT(e.d.a,m,s,p-m),hC(l,new A(a.c+a.b,a.d)),hC(l,new A(a.c+a.b,a.d+a.a));break;case 2:a=new zT(l.a.a,m,e.c.a-l.a.a,p-m),v=new zT(e.c.a-s,m,s,p-m),hC(l,new A(a.c,a.d)),hC(l,new A(a.c,a.d+a.a));break;case 1:a=new zT(m,e.d.b,p-m,l.b.b-e.d.b),v=new zT(m,e.d.b,p-m,s),hC(l,new A(a.c,a.d+a.a)),hC(l,new A(a.c+a.b,a.d+a.a));break;case 3:a=new zT(m,l.a.b,p-m,e.c.b-l.a.b),v=new zT(m,e.c.b-s,p-m,s),hC(l,new A(a.c,a.d)),hC(l,new A(a.c+a.b,a.d))}a&&(d=new kie,d.d=y,d.b=a,d.c=v,d.a=REe(P(DO(c,SF(y)),22)),ph(o.c,d))}return pM(n.b,o),n.d=PUe(Eot(l)),n}function Dlt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(n.p[t.p]==null){c=!0,n.p[t.p]=0,s=t,g=n.o==(TE(),L2)?mH:pH;do a=e.b.e[s.p],o=s.c.a.c.length,n.o==L2&&a>0||n.o==R2&&a<o-1?(l=null,u=null,l=n.o==R2?P(AC(s.c.a,a+1),9):P(AC(s.c.a,a-1),9),u=n.g[l.p],Dlt(e,u,n),g=e.e.vg(g,t,s),n.j[t.p]==t&&(n.j[t.p]=n.j[u.p]),n.j[t.p]==n.j[u.p]?(h=Jb(e.d,s,l),n.o==R2?(i=O(n.p[t.p]),f=O(n.p[u.p])+O(n.d[l.p])-l.d.d-h-s.d.a-s.o.b-O(n.d[s.p]),c?(c=!1,n.p[t.p]=r.Math.min(f,g)):n.p[t.p]=r.Math.min(i,r.Math.min(f,g))):(i=O(n.p[t.p]),f=O(n.p[u.p])+O(n.d[l.p])+l.o.b+l.d.a+h+s.d.d-O(n.d[s.p]),c?(c=!1,n.p[t.p]=r.Math.max(f,g)):n.p[t.p]=r.Math.max(i,r.Math.max(f,g)))):(h=O(N(K(e.a,(PB(),k0)))),m=wze(e,n.j[t.p]),d=wze(e,n.j[u.p]),n.o==R2?(p=O(n.p[t.p])+O(n.d[s.p])+s.o.b+s.d.a+h-(O(n.p[u.p])+O(n.d[l.p])-l.d.d),Cke(m,d,p)):(p=O(n.p[t.p])+O(n.d[s.p])-s.d.d-O(n.p[u.p])-O(n.d[l.p])-l.o.b-l.d.a-h,Cke(m,d,p)))):g=e.e.vg(g,t,s),s=n.a[s.p];while(s!=t);pie(e.e,t)}}function Olt(e){var t,n=O(N(K(e.a.j,(PB(),Skt)))),r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;if(n<-1||!e.a.i||ES(P(K(e.a.o,l0),102))||rP(e.a.o,(wB(),p5)).gc()<2&&rP(e.a.o,N5).gc()<2)return!0;if(e.a.c.ig())return!1;for(S=0,x=0,b=new ah,c=e.a.e,l=0,u=c.length;l<u;++l){for(s=c[l],p=s,m=0,g=p.length;m<g;++m){if(d=p[m],d.k==(MR(),UX)){ph(b.c,d);continue}for(r=e.b[d.c.p][d.p],d.k==RX?(r.b=1,P(K(d,(Y(),T$)),12).j==(wB(),p5)&&(x+=r.a)):(C=rP(d,(wB(),N5)),C.dc()||!Dpe(C,new Ca)?r.c=1:(i=rP(d,p5),(i.dc()||!Dpe(i,new Sa))&&(S+=r.a))),o=new XC(dx(fP(d).a.Jc(),new f));CR(o);)a=P(CO(o),17),S+=r.c,x+=r.b,ne=a.d.i,dFe(e,r,ne);for(v=IA(U(k(QJ,1),$B,20,0,[rP(d,(wB(),m5)),rP(d,j5)])),te=new XC(new jme(v.a.length,v.a));CR(te);)ee=P(CO(te),12),y=P(K(ee,(Y(),O$)),9),y&&(S+=r.c,x+=r.b,dFe(e,r,y))}for(h=new E(b);h.a<h.c.c.length;)for(d=P(z(h),9),r=e.b[d.c.p][d.p],o=new XC(dx(fP(d).a.Jc(),new f));CR(o);)a=P(CO(o),17),S+=r.c,x+=r.b,ne=a.d.i,dFe(e,r,ne);b.c.length=0}return t=S+x,_=t==0?pH:(S-x)/t,_>=n}function klt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re;for(b=e.a,x=0,S=b.length;x<S;++x){for(y=b[x],u=JB,d=JB,h=new E(y.e);h.a<h.c.c.length;)p=P(z(h),9),s=p.c?vk(p.c.a,p,0):-1,s>0?(f=P(AC(p.c.a,s-1),9),ne=Jb(e.b,p,f),_=p.n.b-p.d.d-(f.n.b+f.o.b+f.d.a+ne)):_=p.n.b-p.d.d,u=r.Math.min(_,u),s<p.c.a.c.length-1?(f=P(AC(p.c.a,s+1),9),ne=Jb(e.b,p,f),v=f.n.b-f.d.d-(p.n.b+p.o.b+p.d.a+ne)):v=2*p.n.b,d=r.Math.min(v,d);for(l=JB,o=!1,a=P(AC(y.e,0),9),re=new E(a.j);re.a<re.c.c.length;)for(C=P(z(re),12),g=a.n.b+C.n.b+C.a.b,i=new E(C.e);i.a<i.c.c.length;)n=P(z(i),17),ee=n.c,t=ee.i.n.b+ee.n.b+ee.a.b-g,r.Math.abs(t)<r.Math.abs(l)&&r.Math.abs(t)<(t<0?u:d)&&(l=t,o=!0);for(c=P(AC(y.e,y.e.c.length-1),9),te=new E(c.j);te.a<te.c.c.length;)for(ee=P(z(te),12),g=c.n.b+ee.n.b+ee.a.b,i=new E(ee.g);i.a<i.c.c.length;)n=P(z(i),17),C=n.d,t=C.i.n.b+C.n.b+C.a.b-g,r.Math.abs(t)<r.Math.abs(l)&&r.Math.abs(t)<(t<0?u:d)&&(l=t,o=!0);if(o&&l!=0)for(m=new E(y.e);m.a<m.c.c.length;)p=P(z(m),9),p.n.b+=l}}function Alt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=t,b,x,S,ee,te,ne,C,re,ie;for(v=new mE,b=new mE,u=ND(y,Tq),r=new eEe(e,n,v,b),C0e(r.a,r.b,r.c,r.d,u),c=(ee=v.i,ee||(v.i=new ux(v,v.c))),ne=c.Jc();ne.Ob();)for(te=P(ne.Pb(),170),i=P(DO(v,te),22),h=i.Jc();h.Ob();)if(m=h.Pb(),x=P(mA(e.f,m),170),x)s=(!te.e&&(te.e=new xS(a7,te,10,9)),te.e),XO(s,x);else throw o=PD(y,Oq),f=f_t+m+p_t+o,p=f+jq,D(new _g(p));for(l=(S=b.i,S||(b.i=new ux(b,b.c))),re=l.Jc();re.Ob();)for(C=P(re.Pb(),170),a=P(DO(b,C),22),_=a.Jc();_.Ob();)if(g=_.Pb(),x=P(mA(e.f,g),170),x)d=(!C.g&&(C.g=new xS(a7,C,9,10)),C.g),XO(d,x);else throw o=PD(y,Oq),f=f_t+g+p_t+o,p=f+jq,D(new _g(p));!n.b&&(n.b=new xS(r7,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new xS(r7,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new xS(r7,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new xS(r7,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new F(a7,n,6,6)),n.a).i==1&&(ie=P(H((!n.a&&(n.a=new F(a7,n,6,6)),n.a),0),170),!XF(ie)&&!ZF(ie)&&(ej(ie,P(H((!n.b&&(n.b=new xS(r7,n,4,7)),n.b),0),84)),tj(ie,P(H((!n.c&&(n.c=new xS(r7,n,5,8)),n.c),0),84))))}function jlt(e,t,n){var i=new ah,a=JB,o=JB,s=JB,c,l,u,d,f,p,m,h,g,_,v;if(n)for(a=e.f.a,g=new E(t.j);g.a<g.c.c.length;)for(h=P(z(g),12),l=new E(h.g);l.a<l.c.c.length;)c=P(z(l),17),c.a.b!=0&&(d=P(Hx(c.a),8),d.a<a&&(o=a-d.a,s=JB,i.c.length=0,a=d.a),d.a<=a&&(ph(i.c,c),c.a.b>1&&(s=r.Math.min(s,r.Math.abs(P(LF(c.a,1),8).b-d.b)))));else for(g=new E(t.j);g.a<g.c.c.length;)for(h=P(z(g),12),l=new E(h.e);l.a<l.c.c.length;)c=P(z(l),17),c.a.b!=0&&(p=P(Ux(c.a),8),p.a>a&&(o=p.a-a,s=JB,i.c.length=0,a=p.a),p.a>=a&&(ph(i.c,c),c.a.b>1&&(s=r.Math.min(s,r.Math.abs(P(LF(c.a,c.a.b-2),8).b-p.b)))));if(i.c.length!=0&&o>t.o.a/2&&s>t.o.b/2){for(m=new jL,HE(m,t),tR(m,(wB(),m5)),m.n.a=t.o.a/2,v=new jL,HE(v,t),tR(v,j5),v.n.a=t.o.a/2,v.n.b=t.o.b,l=new E(i);l.a<l.c.c.length;)c=P(z(l),17),n?(u=P(QS(c.a),8),_=c.a.b==0?aD(c.d):P(Hx(c.a),8),_.b>=u.b?zE(c,v):zE(c,m)):(u=P(Fbe(c.a),8),_=c.a.b==0?aD(c.c):P(Ux(c.a),8),_.b>=u.b?VE(c,v):VE(c,m)),f=P(K(c,(PB(),z1)),78),f&&MP(f,u,!0);t.n.a=a-t.o.a/2}}function Mlt(e,t,n){var i,a,o,s,c,l,u,d,f,p;for(c=TF(e.b,0);c.b!=c.d.c;)if(s=P(RD(c),40),!CS(s.c,$G))for(u=N6e(s,e),t==(WN(),g8)||t==_8?Vb(u,new es):Vb(u,new os),l=u.c.length,i=0;i<l;i++)d=(oD(i,u.c.length),P(u.c[i],65)).c,CS(d.c,`n11`),!(hg(eS(K(s,(CB(),zMt))))&&!cHe((oD(i,u.c.length),P(u.c[i],65)),e))&&(a=l==1?.5:(i+1)/(l+1),t==g8?(o=O(N(K(s,d4))),p=s.e.b+s.f.b*a,tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(r.Math.min(o,s.e.a-n),p)),tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(s.e.a,p))):t==_8?(o=O(N(K(s,u4)))+n,p=s.e.b+s.f.b*a,tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(o,p)),tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(s.e.a+s.f.a,p))):t==y8?(o=O(N(K(s,d4))),f=s.e.a+s.f.a*a,tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(f,r.Math.min(s.e.b-n,o))),tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(f,s.e.b))):(o=O(N(K(s,u4)))+n,f=s.e.a+s.f.a*a,tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(f,o)),tb((oD(i,u.c.length),P(u.c[i],65)).a,new A(f,s.e.b+s.f.b))))}function OB(e,t,n,r,i,a,o,s,c){var l,u,d,f,p=n,m,h;switch(u=new tI(c),Tp(u,(MR(),RX)),W(u,(Y(),rEt),o),W(u,(PB(),l0),(iL(),t5)),h=O(N(e.mf(c0))),W(u,c0,h),d=new jL,HE(d,u),t!=i5&&t!=a5||(p=r>=0?jP(s):GN(jP(s)),e.of(f0,p)),l=new Xg,f=!1,e.nf(s0)?(khe(l,P(e.mf(s0),8)),f=!0):$pe(l,o.a/2,o.b/2),p.g){case 4:W(u,B1,(bP(),J$)),W(u,t$,(CM(),gQ)),u.o.b=o.b,h<0&&(u.o.a=-h),tR(d,(wB(),p5)),f||(l.a=o.a),l.a-=o.a;break;case 2:W(u,B1,(bP(),X$)),W(u,t$,(CM(),mQ)),u.o.b=o.b,h<0&&(u.o.a=-h),tR(d,(wB(),N5)),f||(l.a=0);break;case 1:W(u,p$,(Nk(),qQ)),u.o.a=o.a,h<0&&(u.o.b=-h),tR(d,(wB(),j5)),f||(l.b=o.b),l.b-=o.b;break;case 3:W(u,p$,(Nk(),GQ)),u.o.a=o.a,h<0&&(u.o.b=-h),tR(d,(wB(),m5)),f||(l.b=0)}if(khe(d.n,l),W(u,s0,l),t==e5||t==n5||t==t5){if(m=0,t==e5&&e.nf(u0))switch(p.g){case 1:case 2:m=P(e.mf(u0),15).a;break;case 3:case 4:m=-P(e.mf(u0),15).a}else switch(p.g){case 4:case 2:m=a.b,t==n5&&(m/=i.b);break;case 1:case 3:m=a.a,t==n5&&(m/=i.a)}W(u,k$,m)}return W(u,s$,p),u}function Nlt(){Qoe();function e(e){var t=this;this.dispatch=function(t){var n=t.data;switch(n.cmd){case`algorithms`:var r=dKe((KT(),new lm(new om(T7.b))));e.postMessage({id:n.id,data:r});break;case`categories`:var i=dKe((KT(),new lm(new om(T7.c))));e.postMessage({id:n.id,data:i});break;case`options`:var a=dKe((KT(),new lm(new om(T7.d))));e.postMessage({id:n.id,data:a});break;case`register`:eot(n.algorithms),e.postMessage({id:n.id});break;case`layout`:Uat(n.graph,n.layoutOptions||{},n.options||{}),e.postMessage({id:n.id,data:n.graph});break}},this.saveDispatch=function(n){try{t.dispatch(n)}catch(t){e.postMessage({id:n.data.id,error:t})}}}function r(t){var n=this;this.dispatcher=new e({postMessage:function(e){n.onmessage({data:e})}}),this.postMessage=function(e){setTimeout(function(){n.dispatcher.saveDispatch({data:e})},0)}}if(typeof document===LH&&typeof self!==LH){var i=new e(self);self.onmessage=i.saveDispatch}else typeof t!==LH&&t.exports&&(Object.defineProperty(n,`__esModule`,{value:!0}),t.exports={default:r,Worker:r})}function Plt(e,t,n,i,a,o,s){var c,l,u,d,f,p,m,h,g=0,_,v,y,b,x,S,ee,te,ne,C,re=0,ie,ae,oe,se;for(u=new E(e.b);u.a<u.c.c.length;)l=P(z(u),167),l.c&&Rst(l.c),g=r.Math.max(g,kC(l)),re+=kC(l)*OC(l);for(_=re/e.b.c.length,C=NZe(e.b,_),re+=e.b.c.length*C,g=r.Math.max(g,r.Math.sqrt(re*s))+n.b,oe=n.b,se=n.d,m=0,f=n.b+n.c,ne=new E_,pC(ne,G(0)),ee=new E_,d=new bD(e.b,0),h=null,c=new ah;d.b<d.d.gc();)l=(Bx(d.b<d.d.gc()),P(d.d.Xb(d.c=d.b++),167)),ae=kC(l),p=OC(l),oe+ae>g&&(o&&(eb(ee,m),eb(ne,G(d.b-1)),$b(e.d,h),c.c.length=0),oe=n.b,se+=m+t,m=0,f=r.Math.max(f,n.b+n.c+ae)),ph(c.c,l),yJe(l,oe,se),f=r.Math.max(f,oe+ae+n.c),m=r.Math.max(m,p),oe+=ae+t,h=l;if(pM(e.a,c),$b(e.d,P(AC(c,c.c.length-1),167)),f=r.Math.max(f,i),ie=se+m+n.a,ie<a&&(m+=a-ie,ie=a),o)for(oe=n.b,d=new bD(e.b,0),eb(ne,G(e.b.c.length)),te=TF(ne,0),y=P(RD(te),15).a,eb(ee,m),S=TF(ee,0),x=0;d.b<d.d.gc();)d.b==y&&(oe=n.b,x=O(N(RD(S))),y=P(RD(te),15).a),l=(Bx(d.b<d.d.gc()),P(d.d.Xb(d.c=d.b++),167)),oqe(l,x),d.b==y&&(v=f-oe-n.c,b=kC(l),sqe(l,v),iGe(l,(v-b)/2,0)),oe+=kC(l)+t;return new A(f,ie)}function Flt(e){e.N||(e.N=!0,e.b=Gj(e,0),gj(e.b,0),gj(e.b,1),gj(e.b,2),e.bb=Gj(e,1),gj(e.bb,0),gj(e.bb,1),e.fb=Gj(e,2),gj(e.fb,3),gj(e.fb,4),_j(e.fb,5),e.qb=Gj(e,3),gj(e.qb,0),_j(e.qb,1),_j(e.qb,2),gj(e.qb,3),gj(e.qb,4),_j(e.qb,5),gj(e.qb,6),e.a=Kj(e,4),e.c=Kj(e,5),e.d=Kj(e,6),e.e=Kj(e,7),e.f=Kj(e,8),e.g=Kj(e,9),e.i=Kj(e,10),e.j=Kj(e,11),e.k=Kj(e,12),e.n=Kj(e,13),e.o=Kj(e,14),e.p=Kj(e,15),e.q=Kj(e,16),e.s=Kj(e,17),e.r=Kj(e,18),e.t=Kj(e,19),e.u=Kj(e,20),e.v=Kj(e,21),e.w=Kj(e,22),e.B=Kj(e,23),e.A=Kj(e,24),e.C=Kj(e,25),e.D=Kj(e,26),e.F=Kj(e,27),e.G=Kj(e,28),e.H=Kj(e,29),e.J=Kj(e,30),e.I=Kj(e,31),e.K=Kj(e,32),e.M=Kj(e,33),e.L=Kj(e,34),e.P=Kj(e,35),e.Q=Kj(e,36),e.R=Kj(e,37),e.S=Kj(e,38),e.T=Kj(e,39),e.U=Kj(e,40),e.V=Kj(e,41),e.X=Kj(e,42),e.W=Kj(e,43),e.Y=Kj(e,44),e.Z=Kj(e,45),e.$=Kj(e,46),e._=Kj(e,47),e.ab=Kj(e,48),e.cb=Kj(e,49),e.db=Kj(e,50),e.eb=Kj(e,51),e.gb=Kj(e,52),e.hb=Kj(e,53),e.ib=Kj(e,54),e.jb=Kj(e,55),e.kb=Kj(e,56),e.lb=Kj(e,57),e.mb=Kj(e,58),e.nb=Kj(e,59),e.ob=Kj(e,60),e.pb=Kj(e,61))}function Ilt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=0,b,x;if(t.f.a==0)for(_=new E(e);_.a<_.c.c.length;)h=P(z(_),9),y=r.Math.max(y,h.n.a+h.o.a+h.d.c);else y=t.f.a-t.c.a;for(y-=t.c.a,g=new E(e);g.a<g.c.c.length;){switch(h=P(z(g),9),fh(h.n,y-h.o.a),ixe(h.f),JYe(h),(h.q?h.q:(KT(),KT(),DY))._b((PB(),p0))&&fh(P(K(h,p0),8),y-h.o.a),P(K(h,e1),256).g){case 1:W(h,e1,(UF(),d6));break;case 2:W(h,e1,(UF(),u6))}for(v=h.o,x=new E(h.j);x.a<x.c.c.length;){for(b=P(z(x),12),fh(b.n,v.a-b.o.a),fh(b.a,b.o.a),tR(b,rBe(b.j)),s=P(K(b,u0),15),s&&W(b,u0,G(-s.a)),o=new E(b.g);o.a<o.c.c.length;){for(a=P(z(o),17),i=TF(a.a,0);i.b!=i.d.c;)n=P(RD(i),8),n.a=y-n.a;if(u=P(K(a,z1),78),u)for(l=TF(u,0);l.b!=l.d.c;)c=P(RD(l),8),c.a=y-c.a;for(p=new E(a.b);p.a<p.c.c.length;)d=P(z(p),70),fh(d.n,y-d.o.a)}for(m=new E(b.f);m.a<m.c.c.length;)d=P(z(m),70),fh(d.n,b.o.a-d.o.a)}for(h.k==(MR(),RX)&&(W(h,(Y(),s$),rBe(P(K(h,s$),64))),z1e(h)),f=new E(h.b);f.a<f.c.c.length;)d=P(z(f),70),JYe(d),fh(d.n,v.a-d.o.a)}}function Llt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=0,b,x;if(t.f.b==0)for(_=new E(e);_.a<_.c.c.length;)h=P(z(_),9),y=r.Math.max(y,h.n.b+h.o.b+h.d.a);else y=t.f.b-t.c.b;for(y-=t.c.b,g=new E(e);g.a<g.c.c.length;){switch(h=P(z(g),9),dh(h.n,y-h.o.b),axe(h.f),YYe(h),(h.q?h.q:(KT(),KT(),DY))._b((PB(),p0))&&dh(P(K(h,p0),8),y-h.o.b),P(K(h,e1),256).g){case 3:W(h,e1,(UF(),c6));break;case 4:W(h,e1,(UF(),f6))}for(v=h.o,x=new E(h.j);x.a<x.c.c.length;){for(b=P(z(x),12),dh(b.n,v.b-b.o.b),dh(b.a,b.o.b),tR(b,iBe(b.j)),s=P(K(b,u0),15),s&&W(b,u0,G(-s.a)),o=new E(b.g);o.a<o.c.c.length;){for(a=P(z(o),17),i=TF(a.a,0);i.b!=i.d.c;)n=P(RD(i),8),n.b=y-n.b;if(u=P(K(a,z1),78),u)for(l=TF(u,0);l.b!=l.d.c;)c=P(RD(l),8),c.b=y-c.b;for(p=new E(a.b);p.a<p.c.c.length;)d=P(z(p),70),dh(d.n,y-d.o.b)}for(m=new E(b.f);m.a<m.c.c.length;)d=P(z(m),70),dh(d.n,b.o.b-d.o.b)}for(h.k==(MR(),RX)&&(W(h,(Y(),s$),iBe(P(K(h,s$),64))),ZWe(h)),f=new E(h.b);f.a<f.c.c.length;)d=P(z(f),70),YYe(d),dh(d.n,v.b-d.o.b)}}function Rlt(e,t){var n,r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y=new bD(e.b,0),b,x,S,ee,te,ne,C,re,ie,ae,oe;for(u=t.Jc(),h=0,l=P(u.Pb(),15).a,S=0,n=new Dh,te=new pb;y.b<y.d.gc();){for(v=(Bx(y.b<y.d.gc()),P(y.d.Xb(y.c=y.b++),25)),x=new E(v.a);x.a<x.c.c.length;){for(b=P(z(x),9),m=new XC(dx(fP(b).a.Jc(),new f));CR(m);)d=P(CO(m),17),te.a.yc(d,te);for(p=new XC(dx(uP(b).a.Jc(),new f));CR(p);)d=P(CO(p),17),te.a.Ac(d)}if(h+1==l){for(i=new tT(e),hS(y,i),a=new tT(e),hS(y,a),C=te.a.ec().Jc();C.Ob();)ne=P(C.Pb(),17),n.a._b(ne)||(++S,n.a.yc(ne,n)),o=new tI(e),W(o,(PB(),l0),(iL(),r5)),BE(o,i),Tp(o,(MR(),LX)),g=new jL,HE(g,o),tR(g,(wB(),N5)),re=new jL,HE(re,o),tR(re,p5),r=new tI(e),W(r,l0,r5),BE(r,a),Tp(r,LX),_=new jL,HE(_,r),tR(_,N5),ie=new jL,HE(ie,r),tR(ie,p5),ee=new rE,zE(ee,ne.c),VE(ee,g),W(ee,(Y(),w$),P(K(ne,w$),15)),oe=new rE,zE(oe,re),VE(oe,_),W(oe,w$,P(K(ne,w$),15)),zE(ne,ie),s=new $je(o,r,ee,oe,ne),W(o,XQ,s),W(r,XQ,s),ae=ee.c.i,ae.k==LX&&(c=P(K(ae,XQ),317),c.d=s,s.g=c);if(u.Ob())l=P(u.Pb(),15).a;else break}++h}return G(S)}function zlt(e){var t,n,r,i,a,o,s,c,l,u,d,p,m,h,g=new ah,_;for(p=new E(e.d.b);p.a<p.c.c.length;)for(d=P(z(p),25),h=new E(d.a);h.a<h.c.c.length;){for(m=P(z(h),9),i=P(Zw(e.f,m),60),c=new XC(dx(fP(m).a.Jc(),new f));CR(c);)if(o=P(CO(c),17),r=TF(o.a,0),l=!0,u=null,r.b!=r.d.c){for(t=P(RD(r),8),n=null,o.c.j==(wB(),m5)&&(_=new Wz(t,new A(t.a,i.d.d),i,o),_.f.a=!0,_.a=o.c,ph(g.c,_)),o.c.j==j5&&(_=new Wz(t,new A(t.a,i.d.d+i.d.a),i,o),_.f.d=!0,_.a=o.c,ph(g.c,_));r.b!=r.d.c;)n=P(RD(r),8),ULe(t.b,n.b)||(u=new Wz(t,n,null,o),ph(g.c,u),l&&(l=!1,n.b<i.d.d?u.f.a=!0:n.b>i.d.d+i.d.a?u.f.d=!0:(u.f.d=!0,u.f.a=!0))),r.b!=r.d.c&&(t=n);u&&(a=P(Zw(e.f,o.d.i),60),t.b<a.d.d?u.f.a=!0:t.b>a.d.d+a.d.a?u.f.d=!0:(u.f.d=!0,u.f.a=!0))}for(s=new XC(dx(uP(m).a.Jc(),new f));CR(s);)o=P(CO(s),17),o.a.b!=0&&(t=P(Ux(o.a),8),o.d.j==(wB(),m5)&&(_=new Wz(t,new A(t.a,i.d.d),i,o),_.f.a=!0,_.a=o.d,ph(g.c,_)),o.d.j==j5&&(_=new Wz(t,new A(t.a,i.d.d+i.d.a),i,o),_.f.d=!0,_.a=o.d,ph(g.c,_)))}return g}function Blt(e,t,n){var r,i,a,o,s,c=new ah,l,u,d=t.length,f;for(o=JVe(n),l=0;l<d;++l){switch(u=wme(t,hL(61),l),r=LWe(o,(YO(l,u,t.length),t.substr(l,u-l))),i=lM(r),a=i.hk().ti(),wT(t,++u)){case 39:s=Lx(t,39,++u),$b(c,new Fy(r,VT((YO(u,s,t.length),t.substr(u,s-u)),a,i))),l=s+1;break;case 34:s=Lx(t,34,++u),$b(c,new Fy(r,VT((YO(u,s,t.length),t.substr(u,s-u)),a,i))),l=s+1;break;case 91:f=new ah,$b(c,new Fy(r,f));n:for(;;){switch(wT(t,++u)){case 39:s=Lx(t,39,++u),$b(f,VT((YO(u,s,t.length),t.substr(u,s-u)),a,i)),u=s+1;break;case 34:s=Lx(t,34,++u),$b(f,VT((YO(u,s,t.length),t.substr(u,s-u)),a,i)),u=s+1;break;case 110:if(++u,t.indexOf(`ull`,u)==u)f.c.push(null);else throw D(new Jh(Xgt));u+=3;break}if(u<d)switch(sD(u,t.length),t.charCodeAt(u)){case 44:break;case 93:break n;default:throw D(new Jh(`Expecting , or ]`))}else break}l=u+1;break;case 110:if(++u,t.indexOf(`ull`,u)==u)$b(c,new Fy(r,null));else throw D(new Jh(Xgt));l=u+3;break}if(l<d){if(sD(l,t.length),t.charCodeAt(l)!=44)throw D(new Jh(`Expecting ,`))}else break}return h9e(e,c,n)}function Vlt(e){var t=e.c,n,r,i,a=null;switch(t){case 6:return e.Cm();case 13:return e.Dm();case 23:return e.um();case 22:return e.zm();case 18:return e.wm();case 8:NB(e),a=(zB(),PVt);break;case 9:return e.cm(!0);case 19:return e.dm();case 10:switch(e.a){case 100:case 68:case 119:case 87:case 115:case 83:return a=e.bm(e.a),NB(e),a;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:n=e.am(),a=n<_H?(zB(),zB(),++W9,new NC(0,n)):eCe(sGe(n));break;case 99:return e.mm();case 67:return e.hm();case 105:return e.pm();case 73:return e.im();case 103:return e.nm();case 88:return e.jm();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e.em();case 80:case 112:if(a=q4e(e,e.a),!a)throw D(new xg(UB((Fb(),Gq))));break;default:a=uxe(e.a)}NB(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw D(new xg(UB((Fb(),N_t))));a=uxe(e.a),r=e.a,NB(e),(r&64512)==vH&&e.c==0&&(e.a&64512)==56320&&(i=V(K9,BV,30,2,15,1),i[0]=r&VV,i[1]=e.a&VV,a=yw(eCe(aF(i,0,i.length)),0),NB(e));break;default:throw D(new xg(UB((Fb(),N_t))))}return a}function Hlt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne=new E_,C,re;for(S=new E_,g=-1,c=new E(e);c.a<c.c.c.length;){for(o=P(z(c),132),o.s=g--,u=0,y=0,a=new E(o.t);a.a<a.c.c.length;)r=P(z(a),273),y+=r.c;for(i=new E(o.i);i.a<i.c.c.length;)r=P(z(i),273),u+=r.c;o.n=u,o.u=y,y==0?iO(S,o,S.c.b,S.c):u==0&&iO(ne,o,ne.c.b,ne.c)}for(re=oO(e),d=e.c.length,h=d+1,_=d-1,p=new ah;re.a.gc()!=0;){for(;S.b!=0;)x=(Bx(S.b!=0),P(aA(S,S.a.a),132)),re.a.Ac(x),x.s=_--,z8e(x,ne,S);for(;ne.b!=0;)ee=(Bx(ne.b!=0),P(aA(ne,ne.a.a),132)),re.a.Ac(ee),ee.s=h++,z8e(ee,ne,S);for(m=LV,l=re.a.ec().Jc();l.Ob();)o=P(l.Pb(),132),v=o.u-o.n,v>=m&&(v>m&&(p.c.length=0,m=v),ph(p.c,o));p.c.length!=0&&(f=P(AC(p,KF(t,p.c.length)),132),re.a.Ac(f),f.s=h++,z8e(f,ne,S),p.c.length=0)}for(b=e.c.length+1,s=new E(e);s.a<s.c.c.length;)o=P(z(s),132),o.s<d&&(o.s+=b);for(te=new E(e);te.a<te.c.c.length;)for(ee=P(z(te),132),n=new bD(ee.t,0);n.b<n.d.gc();)r=(Bx(n.b<n.d.gc()),P(n.d.Xb(n.c=n.b++),273)),C=r.b,ee.s>C.s&&(nT(n),_k(C.i,r),r.c>0&&(r.a=C,$b(C.t,r),r.b=ee,$b(ee.i,r)))}function Ult(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=new HO(t.b),g,_,v,y,b=new HO(t.b),x,S,ee,te,ne,C,re;for(f=new HO(t.b),te=new HO(t.b),g=new HO(t.b),ee=TF(t,0);ee.b!=ee.d.c;)for(x=P(RD(ee),12),s=new E(x.g);s.a<s.c.c.length;)if(a=P(z(s),17),a.c.i==a.d.i){if(x.j==a.d.j){ph(te.c,a);continue}else if(x.j==(wB(),m5)&&a.d.j==j5){ph(g.c,a);continue}}for(c=new E(g);c.a<c.c.c.length;)a=P(z(c),17),jnt(e,a,n,r,(wB(),p5));for(o=new E(te);o.a<o.c.c.length;)a=P(z(o),17),ne=new tI(e),Tp(ne,(MR(),UX)),W(ne,(PB(),l0),(iL(),t5)),W(ne,(Y(),T$),a),C=new jL,W(C,T$,a.d),tR(C,(wB(),N5)),HE(C,ne),re=new jL,W(re,T$,a.c),tR(re,p5),HE(re,ne),W(a.c,O$,ne),W(a.d,O$,ne),zE(a,null),VE(a,null),ph(n.c,ne),W(ne,$Q,G(2));for(S=TF(t,0);S.b!=S.d.c;)x=P(RD(S),12),l=x.e.c.length>0,_=x.g.c.length>0,l&&_?ph(f.c,x):l?ph(h.c,x):_&&ph(b.c,x);for(m=new E(h);m.a<m.c.c.length;)p=P(z(m),12),$b(i,Tit(e,p,null,n));for(y=new E(b);y.a<y.c.c.length;)v=P(z(y),12),$b(i,Tit(e,null,v,n));for(d=new E(f);d.a<d.c.c.length;)u=P(z(d),12),$b(i,Tit(e,u,u,n))}function Wlt(e){var t,n,i,a,o,s,c,l,u,d,f,p=pH,m=pH,h,g,_,v,y,b;for(d=0,f=0,l=new ah,c=new lx((!e.b&&(e.b=new F(i7,e,12,3)),e.b));c.e!=c.i.gc();)o=P(OF(c),85),l=IA(U(k(QJ,1),$B,20,0,[l,(!o.n&&(o.n=new F(f7,o,1,7)),o.n)]));for(b=xw(IA(U(k(QJ,1),$B,20,0,[(!e.n&&(e.n=new F(f7,e,1,7)),e.n),(!e.a&&(e.a=new F(p7,e,10,11)),e.a),l])));CR(b);)y=P(CO(b),276),u=P(y.mf((LB(),I6)),140),p>y.mh()-u.b&&(p=y.mh()-u.b),m>y.nh()-u.d&&(m=y.nh()-u.d),d<y.mh()+y.lh()+u.c&&(d=y.mh()+y.lh()+u.c),f<y.nh()+y.kh()+u.a&&(f=y.nh()+y.kh()+u.a);for(s=new lx((!e.b&&(e.b=new F(i7,e,12,3)),e.b));s.e!=s.i.gc();)for(o=P(OF(s),85),v=new lx((!o.a&&(o.a=new F(a7,o,6,6)),o.a));v.e!=v.i.gc();)for(_=P(OF(v),170),h=_.j,i=_.b,g=_.k,a=_.c,p=r.Math.min(p,h),p=r.Math.min(p,i),d=r.Math.max(d,h),d=r.Math.max(d,i),m=r.Math.min(m,g),m=r.Math.min(m,a),f=r.Math.max(f,g),f=r.Math.max(f,a),n=new lx((!_.a&&(_.a=new ix(e7,_,5)),_.a));n.e!=n.i.gc();)t=P(OF(n),372),p=r.Math.min(p,t.a),d=r.Math.max(d,t.a),m=r.Math.min(m,t.b),f=r.Math.max(f,t.b);IF(e,(LB(),w6),d-p),IF(e,C6,f-m)}function Glt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m=P(K(e,(oj(),uX)),26),h,g,_,v,y,b=JB,x=JB,S,ee,te,ne,C,re,ie,ae,oe,se;for(v=LV,y=LV,ee=new E(e.e);ee.a<ee.c.c.length;)S=P(z(ee),155),ie=S.d,ae=S.e,b=r.Math.min(b,ie.a-ae.a/2),x=r.Math.min(x,ie.b-ae.b/2),v=r.Math.max(v,ie.a+ae.a/2),y=r.Math.max(y,ie.b+ae.b/2);for(n=new E(e.b);n.a<n.c.c.length;)t=P(z(n),251),ie=t.d,ae=t.e,b=r.Math.min(b,ie.a-ae.a/2),x=r.Math.min(x,ie.b-ae.b/2),v=r.Math.max(v,ie.a+ae.a/2),y=r.Math.max(y,ie.b+ae.b/2);for(re=P(J(m,(Mz(),ISt)),104),C=new A(re.b-b,re.d-x),u=new E(e.e);u.a<u.c.c.length;)l=P(z(u),155),ne=K(l,uX),M(ne,206)&&(g=P(ne,26),te=wS(new mb(l.d),C),xb(g,te.a-g.g/2,te.b-g.f/2));for(o=new E(e.c);o.a<o.c.c.length;)a=P(z(o),291),f=P(K(a,uX),85),p=QR(f),oe=new mb(gRe(a)),wS(oe,C),Tb(p,oe.a,oe.b),sA(a.a,new kle(C,p)),i=new mb(_Re(a)),wS(i,C),wb(p,i.a,i.b);for(c=new E(e.d);c.a<c.c.c.length;)s=P(z(c),445),h=P(K(s,uX),157),_=wS(new mb(s.d),C),xb(h,_.a,_.b);se=v-b+(re.b+re.c),d=y-x+(re.d+re.a),hg(eS(J(m,(LB(),z6))))||TB(m,se,d,!1,!0),IF(m,w6,se-(re.b+re.c)),IF(m,C6,d-(re.d+re.a))}function Klt(e,t,n){var i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x;for(n.Tg(`Depth first model order layering`,1),e.d=t,v=new ah,_=new E(e.d.a);_.a<_.c.c.length;)h=P(z(_),9),h.k==(MR(),HX)&&ph(v.c,h);for(KT(),Vb(v,new ya),s=!0,e.b=new tT(e.d),e.a=null,$b(e.d.b,e.b),e.b.p=0,e.c=0,e.f=new E_,g=new E(v);g.a<g.c.c.length;)if(h=P(z(g),9),s)BE(h,e.b),s=!1;else if(mit(e,h))if(m=e.c,m=OJe(m,h),i=m+2,d=m-e.c,e.f.b==0)H9e(e,i,h);else if(d>0){for(x=TF(e.f,0);x.b!=x.d.c;)b=P(RD(x),9),b.p+=m-e.e;e2e(e),YT(e.f),H9e(e,i,h)}else{for(pC(e.f,h),h.p=i,e.e=r.Math.max(e.e,i),o=new XC(dx(uP(h).a.Jc(),new f));CR(o);)a=P(CO(o),17),!a.c.i.c&&a.c.i.k==(MR(),zX)&&(pC(e.f,a.c.i),a.c.i.p=i-1);e.c=i}else e2e(e),YT(e.f),i=0,CR(new XC(dx(uP(h).a.Jc(),new f)))?(m=0,m=OJe(m,h),i=m+2,H9e(e,i,h)):(pC(e.f,h),h.p=0,e.e=r.Math.max(e.e,0),e.b=P(AC(e.d.b,0),25),e.c=0);for(e.f.b==0||e2e(e),e.d.a.c.length=0,y=new ah,u=new E(e.d.b);u.a<u.c.c.length;)c=P(z(u),25),c.a.c.length==0&&ph(y.c,c);for(aGe(e.d.b,y),p=0,l=new E(e.d.b);l.a<l.c.c.length;)c=P(z(l),25),c.p=p,++p;n.Ug()}function qlt(e,t,n){var r,i,a,o,s,c,l,u,d;if(n.Tg(`Network simplex node placement`,1),e.e=t,e.n=P(K(t,(Y(),I$)),316),Kat(e),YQe(e),P_(Bk(new jC(null,new nD(e.e.b,16)),new Ma),new dne(e)),P_(AT(Bk(AT(Bk(new jC(null,new nD(e.e.b,16)),new Ka),new qa),new Ja),new Ya),new une(e)),hg(eS(K(e.e,(PB(),Z1))))&&(o=n.dh(1),o.Tg(`Straight Edges Pre-Processing`,1),Xst(e),o.Ug()),$Je(e.f),a=P(K(t,P0),15).a*e.f.a.c.length,Jtt(Soe(Coe(RS(e.f),a),!1),n.dh(1)),e.d.a.gc()!=0){for(o=n.dh(1),o.Tg(`Flexible Where Space Processing`,1),s=P(yx(rw(jT(new jC(null,new nD(e.f.a,16)),new Na),new Da)),15).a,c=P(yx(nw(jT(new jC(null,new nD(e.f.a,16)),new Pa),new Oa)),15).a,l=c-s,u=bx(new Ah,e.f),d=bx(new Ah,e.f),ZR(L_(I_(F_(R_(new Mh,2e4),l),u),d)),P_(AT(AT(Sw(e.i),new Fa),new Ia),new WTe(s,u,l,d)),i=e.d.a.ec().Jc();i.Ob();)r=P(i.Pb(),217),r.g=1;Jtt(Soe(Coe(RS(e.f),a),!1),o.dh(1)),o.Ug()}hg(eS(K(t,Z1)))&&(o=n.dh(1),o.Tg(`Straight Edges Post-Processing`,1),t2e(e),o.Ug()),Tst(e),e.e=null,e.f=null,e.i=null,e.c=null,aw(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),n.Ug()}function Jlt(e,t){var n,r,i,a,o,s,c,l,u,d=Ert(Cx(e,(wB(),y5)),t),f,p,m=yI(Cx(e,b5),t),h,g,_,v,y,b=yI(Cx(e,O5),t),x,S,ee,te=bI(Cx(e,A5),t),ne,C;return f=bI(Cx(e,h5),t),v=yI(Cx(e,D5),t),h=yI(Cx(e,x5),t),S=yI(Cx(e,k5),t),x=yI(Cx(e,g5),t),ne=bI(Cx(e,v5),t),_=yI(Cx(e,T5),t),y=yI(Cx(e,w5),t),ee=yI(Cx(e,_5),t),C=bI(Cx(e,E5),t),p=bI(Cx(e,S5),t),g=yI(Cx(e,C5),t),n=nA(U(k(Z9,1),yH,30,15,[v.a,te.a,S.a,C.a])),r=nA(U(k(Z9,1),yH,30,15,[m.a,d.a,b.a,g.a])),i=_.a,a=nA(U(k(Z9,1),yH,30,15,[h.a,f.a,x.a,p.a])),l=nA(U(k(Z9,1),yH,30,15,[v.b,m.b,h.b,y.b])),c=nA(U(k(Z9,1),yH,30,15,[te.b,d.b,f.b,g.b])),u=ne.b,s=nA(U(k(Z9,1),yH,30,15,[S.b,b.b,x.b,ee.b])),$O(Cx(e,y5),n+i,l+u),$O(Cx(e,C5),n+i,l+u),$O(Cx(e,b5),n+i,0),$O(Cx(e,O5),n+i,l+u+c),$O(Cx(e,A5),0,l+u),$O(Cx(e,h5),n+i+r,l+u),$O(Cx(e,x5),n+i+r,0),$O(Cx(e,k5),0,l+u+c),$O(Cx(e,g5),n+i+r,l+u+c),$O(Cx(e,v5),0,l),$O(Cx(e,T5),n,0),$O(Cx(e,_5),0,l+u+c),$O(Cx(e,S5),n+i+r,0),o=new Xg,o.a=nA(U(k(Z9,1),yH,30,15,[n+r+i+a,ne.a,y.a,ee.a])),o.b=nA(U(k(Z9,1),yH,30,15,[l+c+u+s,_.b,C.b,p.b])),o}function Ylt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C=null,re,ie=t,ae,oe,se,ce;if(re=lRe(e,Fje(n),ie),QA(re,PD(ie,Oq)),ae=P(mA(e.n,iR(kE(ie,vq))),26),f=kE(ie,`sourcePort`),r=null,f&&(r=iR(f)),oe=P(mA(e.p,r),125),!ae)throw s=nF(ie),m=`An edge must have a source node (edge id: '`+s,h=m+jq,D(new _g(h));if(oe&&!xT(jE(oe),ae))throw c=PD(ie,Oq),g=`The source port of an edge must be a port of the edge's source node (edge id: '`+c,_=g+jq,D(new _g(_));if(te=(!re.b&&(re.b=new xS(r7,re,4,7)),re.b),a=null,a=oe||ae,XO(te,a),se=P(mA(e.n,iR(kE(ie,m_t))),26),p=kE(ie,`targetPort`),i=null,p&&(i=iR(p)),ce=P(mA(e.p,i),125),!se)throw d=nF(ie),v=`An edge must have a target node (edge id: '`+d,y=v+jq,D(new _g(y));if(ce&&!xT(jE(ce),se))throw l=PD(ie,Oq),b=`The target port of an edge must be a port of the edge's target node (edge id: '`+l,x=b+jq,D(new _g(x));if(ne=(!re.c&&(re.c=new xS(r7,re,5,8)),re.c),o=null,o=ce||se,XO(ne,o),(!re.b&&(re.b=new xS(r7,re,4,7)),re.b).i==0||(!re.c&&(re.c=new xS(r7,re,5,8)),re.c).i==0)throw u=PD(ie,Oq),S=d_t+u,ee=S+jq,D(new _g(ee));return sL(ie,re),q6e(ie,re),C=FM(e,ie,re),C}function Xlt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=new A(pH,pH),b,x,S,ee,te,ne,C,re;for(t=new A(mH,mH),ne=new E(e);ne.a<ne.c.c.length;)te=P(z(ne),8),y.a=r.Math.min(y.a,te.a),y.b=r.Math.min(y.b,te.b),t.a=r.Math.max(t.a,te.a),t.b=r.Math.max(t.b,te.b);for(p=new A(t.a-y.a,t.b-y.b),u=new A(y.a-50,y.b-p.a-50),d=new A(y.a-50,t.b+p.a+50),f=new A(t.a+p.b/2+50,y.b+p.b/2),m=new nit(u,d,f),ee=new Dh,o=new ah,n=new ah,ee.a.yc(m,ee),re=new E(e);re.a<re.c.c.length;){for(C=P(z(re),8),o.c.length=0,S=ee.a.ec().Jc();S.Ob();)b=P(S.Pb(),321),i=b.d,QO(i,b.a),wP(QO(b.d,C),QO(b.d,b.a))<0&&ph(o.c,b);for(n.c.length=0,x=new E(o);x.a<x.c.c.length;)for(b=P(z(x),321),_=new E(b.e);_.a<_.c.c.length;){for(h=P(z(_),177),s=!0,l=new E(o);l.a<l.c.c.length;)c=P(z(l),321),c!=b&&(xT(h,AC(c.e,0))||xT(h,AC(c.e,1))||xT(h,AC(c.e,2)))&&(s=!1);s&&ph(n.c,h)}for(s1e(ee,o),dO(ee,new Ne),g=new E(n);g.a<g.c.c.length;)h=P(z(g),177),Tw(ee,new nit(C,h.a,h.b))}for(v=new Dh,dO(ee,new Am(v)),a=v.a.ec().Jc();a.Ob();)h=P(a.Pb(),177),(yk(m,h.a)||yk(m,h.b))&&a.Qb();return dO(v,new Pe),v}function kB(){kB=C,Zoe(),zzt=l7.a,P(H(R(l7.a),0),19),Pzt=l7.f,P(H(R(l7.f),0),19),P(H(R(l7.f),1),38),Rzt=l7.n,P(H(R(l7.n),0),38),P(H(R(l7.n),1),38),P(H(R(l7.n),2),38),P(H(R(l7.n),3),38),Fzt=l7.g,P(H(R(l7.g),0),19),P(H(R(l7.g),1),38),Mzt=l7.c,P(H(R(l7.c),0),19),P(H(R(l7.c),1),19),Izt=l7.i,P(H(R(l7.i),0),19),P(H(R(l7.i),1),19),P(H(R(l7.i),2),19),P(H(R(l7.i),3),19),P(H(R(l7.i),4),38),Lzt=l7.j,P(H(R(l7.j),0),19),Nzt=l7.d,P(H(R(l7.d),0),19),P(H(R(l7.d),1),19),P(H(R(l7.d),2),19),P(H(R(l7.d),3),19),P(H(R(l7.d),4),38),P(H(R(l7.d),5),38),P(H(R(l7.d),6),38),P(H(R(l7.d),7),38),jzt=l7.b,P(H(R(l7.b),0),38),P(H(R(l7.b),1),38),u7=l7.e,P(H(R(l7.e),0),38),P(H(R(l7.e),1),38),P(H(R(l7.e),2),38),P(H(R(l7.e),3),38),P(H(R(l7.e),4),19),P(H(R(l7.e),5),19),P(H(R(l7.e),6),19),P(H(R(l7.e),7),19),P(H(R(l7.e),8),19),P(H(R(l7.e),9),19),P(H(R(l7.e),10),38),d7=l7.k,P(H(R(l7.k),0),38),P(H(R(l7.k),1),38)}function Zlt(e){var t=e.c,n,r,i,a;switch(t){case 11:return e.tm();case 12:return e.vm();case 14:return e.xm();case 15:return e.Am();case 16:return e.ym();case 17:return e.Bm();case 21:return NB(e),zB(),zB(),V9;case 10:switch(e.a){case 65:return e.fm();case 90:return e.km();case 122:return e.rm();case 98:return e.lm();case 66:return e.gm();case 60:return e.qm();case 62:return e.om()}}switch(a=Vlt(e),t=e.c,t){case 3:return e.Gm(a);case 4:return e.Em(a);case 5:return e.Fm(a);case 0:if(e.a==123&&e.d<e.j){if(i=e.d,r=0,n=-1,(t=wT(e.i,i++))>=48&&t<=57){for(r=t-48;i<e.j&&(t=wT(e.i,i++))>=48&&t<=57;)if(r=r*10+t-48,r<0)throw D(new xg(UB((Fb(),X_t))))}else throw D(new xg(UB((Fb(),K_t))));if(n=r,t==44){if(i>=e.j)throw D(new xg(UB((Fb(),J_t))));if((t=wT(e.i,i++))>=48&&t<=57){for(n=t-48;i<e.j&&(t=wT(e.i,i++))>=48&&t<=57;)if(n=n*10+t-48,n<0)throw D(new xg(UB((Fb(),X_t))));if(r>n)throw D(new xg(UB((Fb(),Y_t))))}else n=-1}if(t!=125)throw D(new xg(UB((Fb(),q_t))));e._l(i)?(a=(zB(),zB(),++W9,new ZD(9,a)),e.d=i+1):(a=(zB(),zB(),++W9,new ZD(3,a)),e.d=i),a.Mm(r),a.Lm(n),NB(e)}}return a}function Qlt(e){var t,n,i,a=1,o,s,c,l,u,d,f,p,m=new ah,h,g,_,v,y,b,x,S;for(i=0;i<e.b.c.length;i++){if(t=G0e(P(AC(e.b,i),25)),b=XYe(P(AC(e.b,i),25)),d=zYe(P(AC(e.b,i),25)),d){for(u=0,n=0,g=new E(P(AC(e.b,i),25).a);g.a<g.c.c.length;)h=P(z(g),9),u=r.Math.max(u,h.o.a),n+=h.o.b;if(n/=P(AC(e.b,i),25).a.c.length,u+=r.Math.max(2*O(N(K(e,(PB(),C0)))),r.Math.max(P(AC(e.b,i),25).a.c.length*O(N(K(e,b0))),O(N(K(e,A0))))),n+=r.Math.max(O(N(K(e,k0))),O(N(K(e,S0)))),u/n>=P(AC(e.b,i),25).a.c.length/4)continue}if(P(AC(e.b,i),25).a.c.length>t){for(x=new ah,$b(x,P(AC(e.b,i),25)),s=0;s<t-1;s++)f=new tT(e),$b(m,new My(f,G(i+s+a))),ph(x.c,f);for(a+=t-1,y=(oD(0,x.c.length),P(x.c[0],25)).a.c.length,o=0,_=0,S=0;o<y;++o,++_,S++)h=P(AC((oD(0,x.c.length),P(x.c[0],25)).a,_),9),h.k==(MR(),VX)?(--o,--S):_+=glt(e,x,S%t,_),b&&h.k==BX&&(S=-1)}}for(p=new E(m);p.a<p.c.c.length;)f=P(z(p),49),BC(e.b,P(f.b,15).a,P(f.a,25));for(l=new E(e.b);l.a<l.c.c.length;)for(c=P(z(l),25),v=new bD(c.a,0);v.b<v.d.gc();)h=(Bx(v.b<v.d.gc()),P(v.d.Xb(v.c=v.b++),9)),(h.k==(MR(),WX)||h.k==VX)&&nT(v)}function AB(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n==null)return null;if(e.a!=t.hk())throw D(new sg(dq+t.ve()+fq));if(M(t,459)){if(g=P9e(P(t,675),n),!g)throw D(new sg(pq+n+`' is not a valid enumerator of '`+t.ve()+`'`));return g}switch(EN((HL(),p9),t).Ll()){case 2:n=$z(n,!1);break;case 3:n=$z(n,!0);break}if(r=EN(p9,t).Hl(),r)return r.hk().ti().qi(r,n);if(f=EN(p9,t).Jl(),f){for(g=new ah,l=KM(n),u=0,d=l.length;u<d;++u)c=l[u],$b(g,f.hk().ti().qi(f,c));return g}if(h=EN(p9,t).Kl(),!h.dc()){for(m=h.Jc();m.Ob();){p=P(m.Pb(),159);try{if(g=p.hk().ti().qi(p,n),g!=null)return g}catch(e){if(e=hM(e),!M(e,63))throw D(e)}}throw D(new sg(pq+n+`' does not match any member types of the union datatype '`+t.ve()+`'`))}if(P(t,831).mk(),i=xWe(t.ik()),!i)return null;if(i==fY){o=0;try{o=Ez(n,LV,JB)&VV}catch(e){if(e=hM(e),M(e,131))a=Ak(n),o=a[0];else throw D(e)}return Jj(o)}if(i==oY){for(s=0;s<h7.length;++s)try{return sle(h7[s],n)}catch(e){if(e=hM(e),!M(e,32))throw D(e)}throw D(new sg(pq+n+`' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof`))}throw D(new sg(pq+n+`' is invalid. `))}function jB(){jB=C,AX=new mE,fR(AX,(wB(),y5),C5),fR(AX,A5,C5),fR(AX,A5,E5),fR(AX,h5,S5),fR(AX,h5,C5),fR(AX,b5,C5),fR(AX,b5,w5),fR(AX,O5,_5),fR(AX,O5,C5),fR(AX,T5,v5),fR(AX,T5,C5),fR(AX,T5,w5),fR(AX,T5,_5),fR(AX,v5,T5),fR(AX,v5,E5),fR(AX,v5,S5),fR(AX,v5,C5),fR(AX,D5,D5),fR(AX,D5,w5),fR(AX,D5,E5),fR(AX,x5,x5),fR(AX,x5,w5),fR(AX,x5,S5),fR(AX,k5,k5),fR(AX,k5,_5),fR(AX,k5,E5),fR(AX,g5,g5),fR(AX,g5,_5),fR(AX,g5,S5),fR(AX,w5,b5),fR(AX,w5,T5),fR(AX,w5,D5),fR(AX,w5,x5),fR(AX,w5,C5),fR(AX,w5,w5),fR(AX,w5,E5),fR(AX,w5,S5),fR(AX,_5,O5),fR(AX,_5,T5),fR(AX,_5,k5),fR(AX,_5,g5),fR(AX,_5,_5),fR(AX,_5,E5),fR(AX,_5,S5),fR(AX,_5,C5),fR(AX,E5,A5),fR(AX,E5,v5),fR(AX,E5,D5),fR(AX,E5,k5),fR(AX,E5,w5),fR(AX,E5,_5),fR(AX,E5,E5),fR(AX,E5,C5),fR(AX,S5,h5),fR(AX,S5,v5),fR(AX,S5,x5),fR(AX,S5,g5),fR(AX,S5,w5),fR(AX,S5,_5),fR(AX,S5,S5),fR(AX,S5,C5),fR(AX,C5,y5),fR(AX,C5,A5),fR(AX,C5,h5),fR(AX,C5,b5),fR(AX,C5,O5),fR(AX,C5,T5),fR(AX,C5,v5),fR(AX,C5,w5),fR(AX,C5,_5),fR(AX,C5,E5),fR(AX,C5,S5),fR(AX,C5,C5)}function $lt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne;for(e.d=new A(pH,pH),e.c=new A(mH,mH),p=t.Jc();p.Ob();)for(d=P(p.Pb(),37),b=new E(d.a);b.a<b.c.c.length;)y=P(z(b),9),e.d.a=r.Math.min(e.d.a,y.n.a-y.d.b),e.d.b=r.Math.min(e.d.b,y.n.b-y.d.d),e.c.a=r.Math.max(e.c.a,y.n.a+y.o.a+y.d.c),e.c.b=r.Math.max(e.c.b,y.n.b+y.o.b+y.d.a);for(c=new Die,f=t.Jc();f.Ob();)d=P(f.Pb(),37),i=Elt(e,d),$b(c.a,i),i.a|=!P(K(i.c,(Y(),i$)),22).dc();for(e.b=(iN(),ne=new pt,ne.f=new IRe(n),ne.b=zot(ne.f,c),ne),ast((h=e.b,new Uh,h)),e.e=new Xg,e.a=e.b.f.e,s=new E(c.a);s.a<s.c.c.length;)for(a=P(z(s),839),x=zDe(e.b,a),ott(a.c,x.a,x.b),_=new E(a.c.a);_.a<_.c.c.length;)g=P(z(_),9),g.k==(MR(),RX)&&(v=U8e(e,g.n,P(K(g,(Y(),s$)),64)),wS(nb(g.n),v));for(o=new E(c.a);o.a<o.c.c.length;)for(a=P(z(o),839),u=new E(WWe(a));u.a<u.c.c.length;)for(l=P(z(u),17),te=new Zg(l.a),Rx(te,0,aD(l.c)),pC(te,aD(l.d)),m=null,ee=TF(te,0);ee.b!=ee.d.c;){if(S=P(RD(ee),8),!m){m=S;continue}VLe(m.a,S.a)?(e.e.a=r.Math.min(e.e.a,m.a),e.a.a=r.Math.max(e.a.a,m.a)):VLe(m.b,S.b)&&(e.e.b=r.Math.min(e.e.b,m.b),e.a.b=r.Math.max(e.a.b,m.b)),m=S}Yx(e.e),wS(e.a,e.e)}function eut(e,t){var n=0,r,i,a,o=0,s,c,l;if(a=t.length,s=null,l=new kg,o<a&&(sD(o,t.length),t.charCodeAt(o)==43)&&(++o,++n,o<a&&(sD(o,t.length),t.charCodeAt(o)==43||(sD(o,t.length),t.charCodeAt(o)==45))))throw D(new Ag(fH+t+`"`));for(;o<a&&(sD(o,t.length),t.charCodeAt(o)!=46)&&(sD(o,t.length),t.charCodeAt(o)!=101)&&(sD(o,t.length),t.charCodeAt(o)!=69);)++o;if(l.a+=``+dE(t==null?eV:(dT(t),t),n,o),o<a&&(sD(o,t.length),t.charCodeAt(o)==46)){for(++o,n=o;o<a&&(sD(o,t.length),t.charCodeAt(o)!=101)&&(sD(o,t.length),t.charCodeAt(o)!=69);)++o;e.e=o-n,l.a+=``+dE(t==null?eV:(dT(t),t),n,o)}else e.e=0;if(o<a&&(sD(o,t.length),t.charCodeAt(o)==101||(sD(o,t.length),t.charCodeAt(o)==69))&&(++o,n=o,o<a&&(sD(o,t.length),t.charCodeAt(o)==43)&&(++o,o<a&&(sD(o,t.length),t.charCodeAt(o)!=45)&&++n),s=(YO(n,a,t.length),t.substr(n,a-n)),e.e-=Ez(s,LV,JB),e.e!=xE(e.e)))throw D(new Ag(`Scale out of range.`));if(c=l.a,c.length<16){if(e.f=(Abt??=RegExp(`^[+-]?\\d*$`,`i`),Abt.test(c)?parseInt(c,10):NaN),isNaN(e.f))throw D(new Ag(fH+t+`"`));e.a=y4e(e.f)}else fWe(e,new Ab(c));for(e.d=l.a.length,i=0;i<l.a.length&&(r=wT(l.a,i),!(r!=45&&r!=48));++i)--e.d;e.d==0&&(e.d=1)}function tut(e){AR(e.b,xJ,U(k(vY,1),X,2,6,[CJ,`ConsistentTransient`])),AR(e.a,xJ,U(k(vY,1),X,2,6,[CJ,`WellFormedSourceURI`])),AR(e.o,xJ,U(k(vY,1),X,2,6,[CJ,`InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures`])),AR(e.p,xJ,U(k(vY,1),X,2,6,[CJ,`WellFormedInstanceTypeName UniqueTypeParameterNames`])),AR(e.v,xJ,U(k(vY,1),X,2,6,[CJ,`UniqueEnumeratorNames UniqueEnumeratorLiterals`])),AR(e.R,xJ,U(k(vY,1),X,2,6,[CJ,`WellFormedName`])),AR(e.T,xJ,U(k(vY,1),X,2,6,[CJ,`UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid`])),AR(e.U,xJ,U(k(vY,1),X,2,6,[CJ,`WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs`])),AR(e.W,xJ,U(k(vY,1),X,2,6,[CJ,`ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer`])),AR(e.bb,xJ,U(k(vY,1),X,2,6,[CJ,`ValidDefaultValueLiteral`])),AR(e.eb,xJ,U(k(vY,1),X,2,6,[CJ,`ValidLowerBound ValidUpperBound ConsistentBounds ValidType`])),AR(e.H,xJ,U(k(vY,1),X,2,6,[CJ,`ConsistentType ConsistentBounds ConsistentArguments`]))}function nut(e){var t,n=P(K(e,(Y(),l$)),22),r,i,a;switch(t=bb(mCt),i=P(K(e,(PB(),F1)),347),i==(nN(),N8)&&Ij(t,hCt),hg(eS(K(e,P1)))?bC(t,(bL(),gX),(RB(),mZ)):bC(t,(bL(),vX),(RB(),mZ)),K(e,(UO(),a6))!=null&&Ij(t,gCt),(hg(eS(K(e,Lkt)))||hg(eS(K(e,Nkt))))&&UC(t,(bL(),bX),(RB(),owt)),P(K(e,T1),86).g){case 2:case 3:case 4:UC(bC(t,(bL(),gX),(RB(),cwt)),bX,swt)}switch(n.Gc((oz(),OQ))&&UC(bC(bC(t,(bL(),gX),(RB(),awt)),yX,rwt),bX,iwt),j(K(e,H1))!==j((bz(),o2))&&bC(t,(bL(),vX),(RB(),Cwt)),n.Gc(FQ)&&(bC(t,(bL(),gX),(RB(),Dwt)),bC(t,_X,Twt),bC(t,vX,Ewt)),j(K(e,a1))!==j((EL(),EQ))&&j(K(e,A1))!==j((UN(),D8))&&UC(t,(bL(),bX),(RB(),_wt)),hg(eS(K(e,Fkt)))&&bC(t,(bL(),vX),(RB(),gwt)),hg(eS(K(e,S1)))&&bC(t,(bL(),vX),(RB(),Owt)),p5e(e)&&(r=j(K(e,F1))===j(N8)?P(K(e,y1),302):P(K(e,b1),302),a=r==(rM(),zQ)?(RB(),wwt):(RB(),jwt),bC(t,(bL(),yX),a)),P(K(e,Wkt),423).g==1&&bC(t,(bL(),yX),(RB(),QCt)),P(K(e,CAt),382).g){case 1:bC(t,(bL(),yX),(RB(),kwt));break;case 2:UC(bC(bC(t,(bL(),vX),(RB(),$Ct)),yX,ewt),bX,twt)}return j(K(e,g1))!==j((eF(),c2))&&bC(t,(bL(),vX),(RB(),Awt)),t}function rut(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne;if(!t.dc()){if(i=new Rh,s=n||P(t.Xb(0),17),m=s.c,tz(),f=m.i.k,!(f==(MR(),HX)||f==UX||f==RX||f==LX))throw D(new sg(`The target node of the edge must be a normal node or a northSouthPort.`));for(eb(i,PM(U(k(o6,1),X,8,0,[m.i.n,m.n,m.a]))),(wB(),T5).Gc(m.j)&&(g=O(N(K(m,(Y(),R$)))),d=new A(PM(U(k(o6,1),X,8,0,[m.i.n,m.n,m.a])).a,g),iO(i,d,i.c.b,i.c)),u=null,r=!1,c=t.Jc();c.Ob();)o=P(c.Pb(),17),a=o.a,a.b!=0&&(r?(l=nx(wS(u,(Bx(a.b!=0),P(a.a.a.c,8))),.5),iO(i,l,i.c.b,i.c),r=!1):r=!0,u=qb((Bx(a.b!=0),P(a.c.b.c,8))),bj(i,a),YT(a));h=s.d,T5.Gc(h.j)&&(g=O(N(K(h,(Y(),R$)))),d=new A(PM(U(k(o6,1),X,8,0,[h.i.n,h.n,h.a])).a,g),iO(i,d,i.c.b,i.c)),eb(i,PM(U(k(o6,1),X,8,0,[h.i.n,h.n,h.a]))),e.d==(hN(),b2)&&(_=(Bx(i.b!=0),P(i.a.a.c,8)),v=P(LF(i,1),8),y=new eD(kHe(m.j)),y.a*=5,y.b*=5,b=TS(new A(v.a,v.b),_),x=new A(RE(y.a,b.a),RE(y.b,b.b)),wS(x,_),S=TF(i,1),Pw(S,x),ee=(Bx(i.b!=0),P(i.c.b.c,8)),te=P(LF(i,i.b-2),8),y=new eD(kHe(h.j)),y.a*=5,y.b*=5,b=TS(new A(te.a,te.b),ee),ne=new A(RE(y.a,b.a),RE(y.b,b.b)),wS(ne,ee),Rx(i,i.b-1,ne)),p=new lit(i),bj(s.a,dYe(p))}}function iut(e,t,n,i){var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84),x,S=b.mh(),ee=b.nh(),te,ne,C,re,ie,ae,oe,se,ce,le,ue,de,fe,pe,me;if(x=b.lh()/2,g=b.kh()/2,M(b,193)&&(y=P(b,125),S+=jE(y).i,S+=jE(y).i),S+=x,ee+=g,ie=P(H((!e.b&&(e.b=new xS(r7,e,4,7)),e.b),0),84),oe=ie.mh(),se=ie.nh(),ae=ie.lh()/2,te=ie.kh()/2,M(ie,193)&&(re=P(ie,125),oe+=jE(re).i,oe+=jE(re).i),oe+=ae,se+=te,(!e.a&&(e.a=new F(a7,e,6,6)),e.a).i==0)c=($g(),u=new Yc,u),XO((!e.a&&(e.a=new F(a7,e,6,6)),e.a),c);else if((!e.a&&(e.a=new F(a7,e,6,6)),e.a).i>1)for(h=new Dx((!e.a&&(e.a=new F(a7,e,6,6)),e.a));h.e!=h.i.gc();)YI(h);for(s=P(H((!e.a&&(e.a=new F(a7,e,6,6)),e.a),0),170),_=oe,oe>S+x?_=S+x:oe<S-x&&(_=S-x),v=se,se>ee+g?v=ee+g:se<ee-g&&(v=ee-g),_>S-x&&_<S+x&&v>ee-g&&v<ee+g&&(_=S+x),DA(s,_),OA(s,v),ne=S,S>oe+ae?ne=oe+ae:S<oe-ae&&(ne=oe-ae),C=ee,ee>se+te?C=se+te:ee<se-te&&(C=se-te),ne>oe-ae&&ne<oe+ae&&C>se-te&&C<se+te&&(C=se+te),SA(s,ne),CA(s,C),oB((!s.a&&(s.a=new ix(e7,s,5)),s.a)),o=KF(t,5),b==ie&&++o,ue=ne-_,pe=C-v,ce=r.Math.sqrt(ue*ue+pe*pe),f=ce*.20000000298023224,de=ue/(o+1),me=pe/(o+1),le=_,fe=v,d=0;d<o;d++)le+=de,fe+=me,p=le+FR(t,24)*MH*f-f/2,p<0?p=1:p>n&&(p=n-1),m=fe+FR(t,24)*MH*f-f/2,m<0?m=1:m>i&&(m=i-1),a=($g(),l=new Xc,l),bA(a,p),xA(a,m),XO((!s.a&&(s.a=new ix(e7,s,5)),s.a),a)}function MB(e,t){Hit();var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te=e.e,ne,C,re,ie,ae;if(m=e.d,i=e.a,te==0)switch(t){case 0:return`0`;case 1:return SH;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 S=new Og,t<0?S.a+=`0E+`:S.a+=`0E`,S.a+=-t,S.a}if(y=m*10+1+7,b=V(K9,BV,30,y+1,15,1),n=y,m==1)if(s=i[0],s<0){ae=uD(s,xH);do h=ae,ae=WI(ae,10),b[--n]=48+RC(lP(h,cP(ae,10)))&VV;while(yN(ae,0)!=0)}else{ae=s;do h=ae,ae=ae/10|0,b[--n]=48+(h-ae*10)&VV;while(ae!=0)}else{C=V(q9,JV,30,m,15,1),ie=m,Fz(i,0,C,0,ie);I:for(;;){for(ee=0,l=ie-1;l>=0;l--)re=sP($C(ee,32),uD(C[l],xH)),_=w$e(re),C[l]=RC(_),ee=RC(ew(_,32));v=RC(ee),g=n;do b[--n]=48+v%10&VV;while((v=v/10|0)!=0&&n!=0);for(r=9-g+n,c=0;c<r&&n>0;c++)b[--n]=48;for(d=ie-1;C[d]==0;d--)if(d==0)break I;ie=d+1}for(;b[n]==48;)++n}if(p=te<0,o=y-n-t-1,t==0)return p&&(b[--n]=45),aF(b,n,y-n);if(t>0&&o>=-6){if(o>=0){for(u=n+o,f=y-1;f>=u;f--)b[f+1]=b[f];return b[++u]=46,p&&(b[--n]=45),aF(b,n,y-n+1)}for(d=2;d<-o+1;d++)b[--n]=48;return b[--n]=46,b[--n]=48,p&&(b[--n]=45),aF(b,n,y-n)}return ne=n+1,a=y,x=new kg,p&&(x.a+=`-`),a-ne>=1?(Xw(x,b[n]),x.a+=`.`,x.a+=aF(b,n+1,y-n-1)):x.a+=aF(b,n,y-n),x.a+=`E`,o>0&&(x.a+=`+`),x.a+=``+o,x.a}function aut(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;switch(e.c=t,e.g=new oh,n=(Q_(),new ng(e.c)),i=new Fm(n),KGe(i),b=tS(J(e.c,(xL(),tIt))),l=P(J(e.c,z3),330),S=P(J(e.c,B3),427),s=P(J(e.c,XFt),477),x=P(J(e.c,R3),428),e.j=O(N(J(e.c,nIt))),c=e.a,l.g){case 0:c=e.a;break;case 1:c=e.b;break;case 2:c=e.i;break;case 3:c=e.e;break;case 4:c=e.f;break;default:throw D(new sg(TK+(l.f==null?``+l.g:l.f)))}if(e.d=new WDe(c,S,s),W(e.d,(eM(),$Y),eS(J(e.c,QFt))),e.d.c=hg(eS(J(e.c,ZFt))),QT(e.c).i==0)return e.d;for(f=new lx(QT(e.c));f.e!=f.i.gc();){for(d=P(OF(f),26),m=d.g/2,p=d.f/2,ee=new A(d.i+m,d.j+p);bw(e.g,ee);)Jx(ee,(r.Math.random()-.5)*mU,(r.Math.random()-.5)*mU);g=P(J(d,(LB(),I6)),140),_=new xOe(ee,new zT(ee.a-m-e.j/2-g.b,ee.b-p-e.j/2-g.d,d.g+e.j+(g.b+g.c),d.f+e.j+(g.d+g.a))),$b(e.d.i,_),ST(e.g,ee,new My(_,d))}switch(x.g){case 0:if(b==null)e.d.d=P(AC(e.d.i,0),68);else for(y=new E(e.d.i);y.a<y.c.c.length;)_=P(z(y),68),h=P(P(Zw(e.g,_.a),49).b,26).ih(),h!=null&&CS(h,b)&&(e.d.d=_);break;case 1:for(a=new A(e.c.g,e.c.f),a.a*=.5,a.b*=.5,Jx(a,e.c.i,e.c.j),o=pH,v=new E(e.d.i);v.a<v.c.c.length;)_=P(z(v),68),u=QO(_.a,a),u<o&&(o=u,e.d.d=_);break;default:throw D(new sg(TK+(x.f==null?``+x.g:x.f)))}return e.d}function out(e){Y_(e,new uL(Rg(Pg(Lg(Ig(new oc,xK),`ELK Rectangle Packing`),`Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces.`),new Ps))),B(e,xK,CU,1.3),B(e,xK,AU,(mx(),!1)),B(e,xK,EU,gFt),B(e,xK,xU,15),B(e,xK,kG,DF(iFt)),B(e,xK,MU,DF(lFt)),B(e,xK,VU,DF(dFt)),B(e,xK,jU,DF(fFt)),B(e,xK,NU,DF(cFt)),B(e,xK,kU,DF(h3)),B(e,xK,PU,DF(_Ft)),B(e,xK,Fht,DF(xFt)),B(e,xK,Iht,DF(bFt)),B(e,xK,Pht,DF(y3)),B(e,xK,Nht,DF(SFt)),B(e,xK,Lht,DF(hFt)),B(e,xK,Rht,DF(g3)),B(e,xK,zht,DF(mFt)),B(e,xK,Bht,DF(yFt)),B(e,xK,DU,DF(oFt)),B(e,xK,NG,DF(sFt)),B(e,xK,Aht,DF(p3)),B(e,xK,kht,DF(aFt)),B(e,xK,jht,DF(m3)),B(e,xK,Oht,DF(vFt)),B(e,xK,Mht,DF(pFt))}function sut(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se,ce,le;for(n.Tg(`Greedy cycle removal`,1),e.b=t,y=t.a,le=y.c.length,e.a=V(q9,JV,30,le,15,1),e.d=V(q9,JV,30,le,15,1),e.c=V(q9,JV,30,le,15,1),l=0,_=new E(y);_.a<_.c.c.length;){for(h=P(z(_),9),h.p=l,ne=new E(h.j);ne.a<ne.c.c.length;){for(S=P(z(ne),12),s=new E(S.e);s.a<s.c.c.length;)r=P(z(s),17),r.c.i!=h&&(ie=P(K(r,(PB(),m0)),15).a,e.a[l]+=ie>0?ie+1:1);for(o=new E(S.g);o.a<o.c.c.length;)r=P(z(o),17),r.d.i!=h&&(ie=P(K(r,(PB(),m0)),15).a,e.d[l]+=ie>0?ie+1:1)}e.d[l]==0?pC(e.f,h):e.a[l]==0&&pC(e.g,h),++l}for(m=-1,p=1,d=new ah,e.e=P(K(t,(Y(),j$)),234);le>0;){for(;e.f.b!=0;)oe=P(QS(e.f),9),e.c[oe.p]=m--,$tt(e,oe),--le;for(;e.g.b!=0;)se=P(QS(e.g),9),e.c[se.p]=p++,$tt(e,se),--le;if(le>0){for(f=LV,v=new E(y);v.a<v.c.c.length;)h=P(z(v),9),e.c[h.p]==0&&(b=e.d[h.p]-e.a[h.p],b>=f&&(b>f&&(d.c.length=0,f=b),ph(d.c,h)));u=e.qg(d),e.c[u.p]=p++,$tt(e,u),--le}}for(ae=y.c.length+1,l=0;l<y.c.length;l++)e.c[l]<0&&(e.c[l]+=ae);for(g=new E(y);g.a<g.c.c.length;)for(h=P(z(g),9),re=GAe(h.j),ee=re,te=0,C=ee.length;te<C;++te)for(S=ee[te],x=SD(S.g),i=x,a=0,c=i.length;a<c;++a)r=i[a],ce=r.d.i.p,e.c[h.p]>e.c[ce]&&(Bz(r,!0),W(t,e$,(mx(),!0)));e.a=null,e.d=null,e.c=null,YT(e.g),YT(e.f),n.Ug()}function cut(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=P(H((!e.a&&(e.a=new F(a7,e,6,6)),e.a),0),170),ee;for(d=new Rh,x=new oh,ee=$nt(S),XL(x.f,S,ee),p=new oh,i=new E_,h=xw(IA(U(k(QJ,1),$B,20,0,[(!t.d&&(t.d=new xS(i7,t,8,5)),t.d),(!t.e&&(t.e=new xS(i7,t,7,4)),t.e)])));CR(h);){if(m=P(CO(h),85),(!e.a&&(e.a=new F(a7,e,6,6)),e.a).i!=1)throw D(new sg(Lgt+(!e.a&&(e.a=new F(a7,e,6,6)),e.a).i));m!=e&&(_=P(H((!m.a&&(m.a=new F(a7,m,6,6)),m.a),0),170),iO(i,_,i.c.b,i.c),g=P(By(VC(x.f,_)),13),g||(g=$nt(_),XL(x.f,_,g)),f=n?TS(new mb(P(AC(ee,ee.c.length-1),8)),P(AC(g,g.c.length-1),8)):TS(new mb((oD(0,ee.c.length),P(ee.c[0],8))),(oD(0,g.c.length),P(g.c[0],8))),XL(p.f,_,f))}if(i.b!=0)for(v=P(AC(ee,n?ee.c.length-1:0),8),u=1;u<ee.c.length;u++){for(y=P(AC(ee,n?ee.c.length-1-u:u),8),a=TF(i,0);a.b!=a.d.c;)_=P(RD(a),170),g=P(By(VC(x.f,_)),13),g.c.length<=u?tA(a):(b=wS(new mb(P(AC(g,n?g.c.length-1-u:u),8)),P(By(VC(p.f,_)),8)),(y.a!=b.a||y.b!=b.b)&&(o=y.a-v.a,c=y.b-v.b,s=b.a-v.a,l=b.b-v.b,s*c==l*o&&(o==0||isNaN(o)?o:o<0?-1:1)==(s==0||isNaN(s)?s:s<0?-1:1)&&(c==0||isNaN(c)?c:c<0?-1:1)==(l==0||isNaN(l)?l:l<0?-1:1)?(r.Math.abs(o)<r.Math.abs(s)||r.Math.abs(c)<r.Math.abs(l))&&iO(d,y,d.c.b,d.c):u>1&&iO(d,v,d.c.b,d.c),tA(a)));v=y}return d}function lut(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(n.Tg(aht,1),C=P(aO(AT(new jC(null,new nD(t,16)),new rs),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),u=P(aO(AT(new jC(null,new nD(t,16)),new Ane(t)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),16),m=P(aO(AT(new jC(null,new nD(t,16)),new kne(t)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),16),h=V(Y2,nK,40,t.gc(),0,1),o=0;o<u.gc();o++)i=P(u.Xb(o),40),ne=P(K(i,(Lz(),S4)),15).a,ne>=0&&ne<u.gc()&&!h[ne]&&(h[ne]=i,u.ed(o),--o);for(s=0;s<u.gc();s++)for(i=P(u.Xb(s),40),ne=P(K(i,(Lz(),S4)),15).a,f=0;;f++){if(p=ne+f,p<h.length&&p>=0&&!h[p]){h[p]=i,u.ed(s),--s;break}if(p=ne-f,p<h.length&&p>=0&&!h[p]){h[p]=i,u.ed(s),--s;break}}for(m.gd(new is),c=h.length-1;c>=0;c--)!h[c]&&!m.dc()&&(h[c]=P(m.Xb(0),40),m.ed(0));for(l=0;l<h.length;l++)!h[l]&&!C.dc()&&(h[l]=P(C.Xb(0),40),C.ed(0));for(a=0;a<h.length;a++)W(h[a],(CB(),m4),G(a));for(d=P(vKe(AT(new jC(null,new nD(t,16)),new as),new ts),522),S=d,ee=0,te=S.length;ee<te;++ee){for(x=S[ee],r=_M(x),lut(e,r,n.dh(1/d.length|0)),KT(),pj(r,new Ym((CB(),m4))),g=new E_,b=TF(r,0);b.b!=b.d.c;)for(y=P(RD(b),40),v=TF(x.d,0);v.b!=v.d.c;)_=P(RD(v),65),_.c==y&&iO(g,_,g.c.b,g.c);YT(x.d),bj(x.d,g)}n.Ug()}function uut(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=O(N(J(t,(fz(),u3)))),x;for(m=O(N(J(t,c3))),p=O(N(J(t,a3))),Sze((!t.a&&(t.a=new F(p7,t,10,11)),t.a)),v=kat((!t.a&&(t.a=new F(p7,t,10,11)),t.a),b,e.b),_=0;_<v.c.length;_++)if(l=(oD(_,v.c.length),P(v.c[_],186)),_!=0&&(h=(oD(_-1,v.c.length),P(v.c[_-1],186)),_Ue(l,h.f+h.b+e.b)),g=put(_,v,b,e.b,hg(eS(J(t,(uz(),g3))))),hg(eS(g.b))){for(o=new E(l.a);o.a<o.c.c.length;)a=P(z(o),173),a.c=!1,a.k=!1,Jit(a);l.d=new ah,l.e=b,--_}else if(vZe(e,l),_+1<v.c.length&&(e.e=r.Math.max(l.e+e.b+P(AC((oD(_+1,v.c.length),P(v.c[_+1],186)).a,0),173).r-b,e.c),e.f=r.Math.min(l.e+e.b+P(AC((oD(_+1,v.c.length),P(v.c[_+1],186)).a,0),173).r-b,e.d),l.d.c.length!=0&&(e.c=r.Math.max(e.c,P(AC(l.d,l.d.c.length-1),319).d+(l.d.c.length<=1?0:e.b)),e.d=r.Math.min(e.c,P(AC(l.d,l.d.c.length-1),319).d+(l.d.c.length<=1?0:e.b)))),v.c.length==1)for(f=P(AC(l.d,l.d.c.length-1),319),d=P(AC(f.a,f.a.c.length-1),173),c=new E(d.n);c.a<c.c.c.length;)s=P(z(c),208),e.c=r.Math.max(e.c,d.r-s.d),e.d=r.Math.min(e.d,d.r-s.d),e.e=r.Math.max(e.e,s.d+e.b),e.f=r.Math.min(e.f,s.d+e.b);return y=LXe(v,e.b),x=r.Math.max(y.a,m-(n.b+n.c)),u=r.Math.max(y.b,p-(n.d+n.a)),i=u-y.b,IF(t,n3,i),IF(t,l3,v),new jxe(e.a,x,y.b+i,(VR(),D3))}function dut(e){var t,n,r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S,ee,te=P(K(e,(PB(),l0)),102),ne,C,re,ie,ae;if(te!=(iL(),i5)&&te!=a5){for(h=e.b,m=h.c.length,u=new HO((qA(m+2,NV),Yk(sP(sP(5,m+2),(m+2)/10|0)))),g=new HO((qA(m+2,NV),Yk(sP(sP(5,m+2),(m+2)/10|0)))),$b(u,new oh),$b(u,new oh),$b(g,new ah),$b(g,new ah),ee=new ah,t=0;t<m;t++)for(n=(oD(t,h.c.length),P(h.c[t],25)),ne=(oD(t,u.c.length),P(u.c[t],92)),_=new oh,ph(u.c,_),re=(oD(t,g.c.length),P(g.c[t],16)),y=new ah,ph(g.c,y),i=new E(n.a);i.a<i.c.c.length;){if(r=P(z(i),9),FWe(r)){ph(ee.c,r);continue}for(l=new XC(dx(uP(r).a.Jc(),new f));CR(l);)s=P(CO(l),17),ie=s.c.i,FWe(ie)&&(C=P(ne.xc(K(ie,(Y(),T$))),9),C||(C=C4e(e,ie),ne.yc(K(ie,T$),C),re.Ec(C)),zE(s,P(AC(C.j,1),12)));for(c=new XC(dx(fP(r).a.Jc(),new f));CR(c);)s=P(CO(c),17),ae=s.d.i,FWe(ae)&&(v=P(Zw(_,K(ae,(Y(),T$))),9),v||(v=C4e(e,ae),ST(_,K(ae,T$),v),ph(y.c,v)),VE(s,P(AC(v.j,0),12)))}for(d=0;d<g.c.length;d++)if(b=(oD(d,g.c.length),P(g.c[d],16)),!b.dc())for(p=null,d==0?(p=new tT(e),UE(0,h.c.length),Ev(h.c,0,p)):d==u.c.length-1?(p=new tT(e),ph(h.c,p)):p=(oD(d-1,h.c.length),P(h.c[d-1],25)),o=b.Jc();o.Ob();)a=P(o.Pb(),9),BE(a,p);for(S=new E(ee);S.a<S.c.c.length;)x=P(z(S),9),BE(x,null);W(e,(Y(),a$),ee)}}function fut(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se=new ah,ce,le;for(h=new E(t.b);h.a<h.c.c.length;)for(p=P(z(h),25),S=new E(p.a);S.a<S.c.c.length;){for(x=P(z(S),9),x.p=-1,f=LV,ne=LV,re=new E(x.j);re.a<re.c.c.length;){for(C=P(z(re),12),a=new E(C.e);a.a<a.c.c.length;)n=P(z(a),17),ie=P(K(n,(PB(),h0)),15).a,f=r.Math.max(f,ie);for(i=new E(C.g);i.a<i.c.c.length;)n=P(z(i),17),ie=P(K(n,(PB(),h0)),15).a,ne=r.Math.max(ne,ie)}W(x,N2,G(f)),W(x,P2,G(ne))}for(v=0,m=new E(t.b);m.a<m.c.c.length;)for(p=P(z(m),25),S=new E(p.a);S.a<S.c.c.length;)x=P(z(S),9),x.p<0&&(oe=new Nie,oe.b=v++,Pet(e,x,oe),ph(se.c,oe));for(te=Ix(se.c.length),d=Ix(se.c.length),s=0;s<se.c.length;s++)$b(te,new ah),$b(d,G(0));for(Ust(t,se,te,d),ce=P(gF(se,V(Ujt,Hmt,263,se.c.length,0,1)),838),ee=P(gF(te,V(eY,aU,16,te.c.length,0,1)),198),u=V(q9,JV,30,d.c.length,15,1),c=0;c<u.length;c++)u[c]=(oD(c,d.c.length),P(d.c[c],15)).a;for(y=0,b=new ah,l=0;l<ce.length;l++)u[l]==0&&ph(b.c,ce[l]);for(_=V(q9,JV,30,ce.length,15,1);b.c.length!=0;)for(oe=P(MO(b,0),263),_[oe.b]=y++;!ee[oe.b].dc();)le=P(ee[oe.b].ed(0),263),--u[le.b],u[le.b]==0&&ph(b.c,le);for(e.a=V(Ujt,Hmt,263,ce.length,0,1),o=0;o<ce.length;o++)for(g=ce[o],ae=_[o],e.a[ae]=g,g.b=ae,S=new E(g.e);S.a<S.c.c.length;)x=P(z(S),9),x.p=ae;return e.a}function put(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=!1,g,_;for(c=!1,f=e+1,m=(oD(e,t.c.length),P(t.c[e],186)),s=m.a,l=null,o=0;o<m.a.c.length;o++)if(a=(oD(o,s.c.length),P(s.c[o],173)),!a.c){if(a.b.c.length==0){O_(),II(m,a),--o,h=!0;continue}if(a.k||(l&&gI(l),l=new UDe(l?l.e+l.d+r:0,m.f,r),qF(a,l.e+l.d,m.f),$b(m.d,l),yBe(l,a),a.k=!0),u=null,u=(_=null,o<m.a.c.length-1?_=P(AC(m.a,o+1),173):f<t.c.length&&(oD(f,t.c.length),P(t.c[f],186)).a.c.length!=0&&(_=P(AC((oD(f,t.c.length),P(t.c[f],186)).a,0),173)),_),g=!1,u&&(g=!DN(u.j,m)),u){if(u.b.c.length!=0&&!hg(eS(P(AC(u.b,0),26).mf((uz(),m3)))))tk(a,n-a.s),gI(a.q),h|=H1e(m,a,u,n,r);else{II(m,u);break}if(u.b.c.length==0)for(t.c.length>f&&II((oD(f,t.c.length),P(t.c[f],186)),u),u=null;t.c.length>f&&(oD(f,t.c.length),P(t.c[f],186)).a.c.length==0;)_k(t,(oD(f,t.c.length),t.c[f]));if(!u){--o;continue}if(!hg(eS(P(AC(u.b,0),26).mf((uz(),m3))))&&Fnt(t,m,a,u,g,n,f,r)){h=!0;continue}if(g){if(p=m.b,d=u.f,!hg(eS(P(AC(u.b,0),26).mf(m3)))&&Rot(t,m,a,u,n,f,r,i)){if(h=!0,p<d){c=!0,u.j=m;break}continue}else if(DUe(m,a)){a.c=!0,h=!0;continue}}else if(DUe(m,a)){a.c=!0,h=!0;continue}if(h)continue}if(DUe(m,a)){a.c=!0,h=!0,u&&(u.k=!1);continue}else gI(a.q)}return new My((mx(),!!h),!!c)}function NB(e){var t,n,r;if(e.d>=e.j){e.a=-1,e.c=1;return}if(t=wT(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw D(new xg(UB((Fb(),Hq))));e.a=wT(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d<e.j&&wT(e.i,e.d)==91?(++e.d,r=24):r=0;break;case 91:if((e.e&512)!=512&&e.d<e.j&&wT(e.i,e.d)==58){++e.d,r=20;break}default:(t&64512)==vH&&e.d<e.j&&(n=wT(e.i,e.d),(n&64512)==56320&&(e.a=_H+(t-vH<<10)+n-56320,++e.d)),r=0}e.c=r;return}switch(t){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,e.d>=e.j||wT(e.i,e.d)!=63)break;if(++e.d>=e.j)throw D(new xg(UB((Fb(),Uq))));switch(t=wT(e.i,e.d++),t){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw D(new xg(UB((Fb(),Uq))));if(t=wT(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw D(new xg(UB((Fb(),C_t))));break;case 35:for(;e.d<e.j&&(t=wT(e.i,e.d++),t!=41););if(t!=41)throw D(new xg(UB((Fb(),w_t))));r=21;break;default:if(t==45||97<=t&&t<=122||65<=t&&t<=90){--e.d,r=22;break}else if(t==40){r=23;break}throw D(new xg(UB((Fb(),Uq))))}break;case 92:if(r=10,e.d>=e.j)throw D(new xg(UB((Fb(),Hq))));e.a=wT(e.i,e.d++);break;default:r=0}e.c=r}function mut(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n.Tg(`Process compaction`,1),hg(eS(K(t,(Lz(),nNt))))){for(i=P(K(t,b4),86),p=O(N(K(t,w4))),tat(e,t,i),slt(t,p/2/2),m=t.b,pj(m,new Sne(i)),l=TF(m,0);l.b!=l.d.c;)if(c=P(RD(l),40),!hg(eS(K(c,(CB(),_4))))){if(r=Cet(c,i),h=rit(c,t),d=0,f=0,r)switch(g=r.e,i.g){case 2:d=g.a-p-c.f.a,h.e.a-p-c.f.a<d&&(d=h.e.a-p-c.f.a),f=d+c.f.a;break;case 1:d=g.a+r.f.a+p,h.e.a+p>d&&(d=h.e.a+h.f.a+p),f=d+c.f.a;break;case 4:d=g.b-p-c.f.b,h.e.b-p-c.f.b<d&&(d=h.e.b-p-c.f.b),f=d+c.f.b;break;case 3:d=g.b+r.f.b+p,h.e.b+p>d&&(d=h.e.b+h.f.b+p),f=d+c.f.b}else if(h)switch(i.g){case 2:d=h.e.a-p-c.f.a,f=d+c.f.a;break;case 1:d=h.e.a+h.f.a+p,f=d+c.f.a;break;case 4:d=h.e.b-p-c.f.b,f=d+c.f.b;break;case 3:d=h.e.b+h.f.b+p,f=d+c.f.b}j(K(t,x4))===j((QM(),Z2))?(a=d,o=f,s=RM(AT(new jC(null,new nD(e.a,16)),new Due(a,o))),s.a==null?(s=i==(WN(),g8)||i==y8?RM(AT(qLe(new jC(null,new nD(e.a,16))),new Cne(a))):RM(AT(qLe(new jC(null,new nD(e.a,16))),new wne(a))),s.a!=null&&(i==g8||i==_8?c.e.a=O(N((Bx(s.a!=null),P(s.a,49)).a)):c.e.b=O(N((Bx(s.a!=null),P(s.a,49)).a)))):i==(WN(),g8)||i==_8?c.e.a=d:c.e.b=d,s.a!=null&&(u=vk(e.a,(Bx(s.a!=null),s.a),0),u>0&&u!=P(K(c,T4),15).a&&(W(c,zMt,(mx(),!0)),W(c,T4,G(u))))):i==(WN(),g8)||i==_8?c.e.a=d:c.e.b=d}n.Ug()}}function hut(e,t,n){var r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S;if(n.Tg(`Coffman-Graham Layering`,1),t.a.c.length==0){n.Ug();return}for(S=P(K(t,(PB(),zkt)),15).a,c=0,o=0,p=new E(t.a);p.a<p.c.c.length;)for(d=P(z(p),9),d.p=c++,a=new XC(dx(fP(d).a.Jc(),new f));CR(a);)i=P(CO(a),17),i.p=o++;for(e.d=V(J9,qH,30,c,16,1),e.a=V(J9,qH,30,o,16,1),e.b=V(q9,JV,30,c,15,1),e.e=V(q9,JV,30,c,15,1),e.f=V(q9,JV,30,c,15,1),KA(e.c),vQe(e,t),h=new ow(new Wte(e)),x=new E(t.a);x.a<x.c.c.length;){for(y=P(z(x),9),a=new XC(dx(uP(y).a.Jc(),new f));CR(a);)i=P(CO(a),17),e.a[i.p]||++e.b[y.p];e.b[y.p]==0&&rC(vL(h,y),wH)}for(s=0;h.b.c.length!=0;)for(y=P(Uk(h),9),e.f[y.p]=s++,a=new XC(dx(fP(y).a.Jc(),new f));CR(a);)i=P(CO(a),17),!e.a[i.p]&&(_=i.d.i,--e.b[_.p],fR(e.c,_,G(e.f[y.p])),e.b[_.p]==0&&rC(vL(h,_),wH));for(m=new ow(new Wm(e)),b=new E(t.a);b.a<b.c.c.length;){for(y=P(z(b),9),a=new XC(dx(fP(y).a.Jc(),new f));CR(a);)i=P(CO(a),17),e.a[i.p]||++e.e[y.p];e.e[y.p]==0&&rC(vL(m,y),wH)}for(u=new ah,r=xTe(t,u);m.b.c.length!=0;)for(v=P(Uk(m),9),(r.a.c.length>=S||!qKe(v,r))&&(r=xTe(t,u)),BE(v,r),a=new XC(dx(uP(v).a.Jc(),new f));CR(a);)i=P(CO(a),17),!e.a[i.p]&&(g=i.c.i,--e.e[g.p],e.e[g.p]==0&&rC(vL(m,g),wH));for(l=u.c.length-1;l>=0;--l)$b(t.b,(oD(l,u.c.length),P(u.c[l],25)));t.a.c.length=0,n.Ug()}function gut(e){var t,n,r,i,a,o,s,c,l;for(e.b=1,NB(e),t=null,e.c==0&&e.a==94?(NB(e),t=(zB(),zB(),++W9,new lD(4)),rz(t,0,KJ),s=(++W9,new lD(4))):s=(zB(),zB(),++W9,new lD(4)),i=!0;(l=e.c)!=1;){if(l==0&&e.a==93&&!i){t&&(mB(t,s),s=t);break}if(n=e.a,r=!1,l==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:eB(s,Dz(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(eB(s,Dz(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(c=q4e(e,n),!c)throw D(new xg(UB((Fb(),Gq))));eB(s,c),r=!0;break;default:n=X9e(e)}else if(l==24&&!i){if(t&&(mB(t,s),s=t),a=gut(e),mB(s,a),e.c!=0||e.a!=93)throw D(new xg(UB((Fb(),I_t))));break}if(NB(e),!r){if(l==0){if(n==91)throw D(new xg(UB((Fb(),L_t))));if(n==93)throw D(new xg(UB((Fb(),R_t))));if(n==45&&!i&&e.a!=93)throw D(new xg(UB((Fb(),qq))))}if(e.c!=0||e.a!=45||n==45&&i)rz(s,n,n);else{if(NB(e),(l=e.c)==1)throw D(new xg(UB((Fb(),Kq))));if(l==0&&e.a==93)rz(s,n,n),rz(s,45,45);else if(l==0&&e.a==93||l==24)throw D(new xg(UB((Fb(),qq))));else{if(o=e.a,l==0){if(o==91)throw D(new xg(UB((Fb(),L_t))));if(o==93)throw D(new xg(UB((Fb(),R_t))));if(o==45)throw D(new xg(UB((Fb(),qq))))}else l==10&&(o=X9e(e));if(NB(e),n>o)throw D(new xg(UB((Fb(),V_t))));rz(s,n,o)}}}i=!1}if(e.c==1)throw D(new xg(UB((Fb(),Kq))));return ER(s),iB(s),e.b=0,NB(e),s}function _ut(e,t){var n,r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x=!1;do for(x=!1,a=t?new Zp(e.a.b).a.gc()-2:1;t?a>=0:a<new Zp(e.a.b).a.gc();a+=t?-1:1)for(i=aje(e.a,G(a)),m=0;m<i.b;m++)if(d=P(LF(i,m),9),Kx(d,(Y(),w$))&&!(TQe(e.a,G(a))&&e.r==(bz(),n2)||EQe(e.a,G(a))&&e.r==(bz(),r2))){for(b=!0,v=0;v<i.b;v++)_=P(LF(i,v),9),Kx(_,w$)&&(t&&P(K(d,w$),15).a<P(K(_,w$),15).a||!t&&P(K(d,w$),15).a>P(K(_,w$),15).a)&&(b=!1);if(b){for(c=t?a+1:a-1,s=aje(e.a,G(c)),o=!1,y=!0,r=!1,u=TF(s,0);u.b!=u.d.c;)l=P(RD(u),9),Kx(l,w$)?l.p!=d.p&&(o|=t?P(K(l,w$),15).a<P(K(d,w$),15).a:P(K(l,w$),15).a>P(K(d,w$),15).a,y=!1):!o&&y&&l.k==(MR(),zX)&&(r=!0,p=t?P(CO(new XC(dx(uP(l).a.Jc(),new f))),17).c.i:P(CO(new XC(dx(fP(l).a.Jc(),new f))),17).d.i,p==d&&(n=t?P(CO(new XC(dx(fP(l).a.Jc(),new f))),17).d.i:P(CO(new XC(dx(uP(l).a.Jc(),new f))),17).c.i,(t?P(Gx(e.a,n),15).a-P(Gx(e.a,p),15).a:P(Gx(e.a,p),15).a-P(Gx(e.a,n),15).a)<=2&&(y=!1)));if(r&&y&&(n=t?P(CO(new XC(dx(fP(d).a.Jc(),new f))),17).d.i:P(CO(new XC(dx(uP(d).a.Jc(),new f))),17).c.i,(t?P(Gx(e.a,n),15).a-P(Gx(e.a,d),15).a:P(Gx(e.a,d),15).a-P(Gx(e.a,n),15).a)<=2&&n.k==(MR(),HX)&&(y=!1)),o||y){for(g=d5e(e,d,t);g.a.gc()!=0;)h=P(g.a.ec().Jc().Pb(),9),g.a.Ac(h),bj(g,d5e(e,h,t));--m,x=!0}}}while(x)}function vut(e){AR(e.c,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#decimal`])),AR(e.d,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#integer`])),AR(e.e,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#boolean`])),AR(e.f,pJ,U(k(vY,1),X,2,6,[wJ,`EBoolean`,Nq,`EBoolean:Object`])),AR(e.i,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#byte`])),AR(e.g,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#hexBinary`])),AR(e.j,pJ,U(k(vY,1),X,2,6,[wJ,`EByte`,Nq,`EByte:Object`])),AR(e.n,pJ,U(k(vY,1),X,2,6,[wJ,`EChar`,Nq,`EChar:Object`])),AR(e.t,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#double`])),AR(e.u,pJ,U(k(vY,1),X,2,6,[wJ,`EDouble`,Nq,`EDouble:Object`])),AR(e.F,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#float`])),AR(e.G,pJ,U(k(vY,1),X,2,6,[wJ,`EFloat`,Nq,`EFloat:Object`])),AR(e.I,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#int`])),AR(e.J,pJ,U(k(vY,1),X,2,6,[wJ,`EInt`,Nq,`EInt:Object`])),AR(e.N,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#long`])),AR(e.O,pJ,U(k(vY,1),X,2,6,[wJ,`ELong`,Nq,`ELong:Object`])),AR(e.Z,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#short`])),AR(e.$,pJ,U(k(vY,1),X,2,6,[wJ,`EShort`,Nq,`EShort:Object`])),AR(e._,pJ,U(k(vY,1),X,2,6,[wJ,`http://www.w3.org/2001/XMLSchema#string`]))}function PB(){PB=C,_0=(LB(),qLt),uAt=JLt,v0=YLt,y0=XLt,x0=ZLt,S0=QLt,T0=$Lt,D0=eRt,O0=tRt,E0=s8,k0=c8,j0=nRt,N0=aRt,w0=o8,g0=(Put(),POt),b0=FOt,C0=IOt,A0=LOt,oAt=new Nb(n8,G(0)),m0=jOt,sAt=MOt,h0=NOt,CAt=skt,gAt=BOt,_At=UOt,I0=ZOt,vAt=KOt,yAt=JOt,R0=fkt,L0=lkt,xAt=rkt,bAt=tkt,SAt=akt,Wkt=sOt,G1=nOt,W1=eOt,K1=iOt,Q1=SOt,$1=COt,M1=wDt,Mkt=DDt,pAt=d8,hAt=p8,fAt=u8,dAt=l8,mAt=(VN(),Y5),new Nb(f8,mAt),Xkt=new kb(12),Ykt=new Nb(W6,Xkt),kkt=(UN(),E8),A1=new Nb(hLt,kkt),c0=new Nb(Y6,0),cAt=new Nb(r8,G(1)),n1=new Nb(S6,vU),a0=H6,l0=X6,f0=e8,Ekt=E6,e1=oLt,F1=A6,lAt=new Nb(a8,(mx(),!0)),L1=j6,R1=M6,t0=R6,i0=V6,n0=z6,Okt=(WN(),v8),T1=new Nb(D6,Okt),Y1=L6,J1=OLt,d0=$6,rAt=Q6,iAt=WLt,Qkt=(wF(),Q8),new Nb(zLt,Qkt),eAt=K6,tAt=q6,nAt=J6,$kt=G6,F0=zOt,U1=QDt,H1=XDt,P0=ROt,B1=HDt,w1=uDt,C1=cDt,v1=GEt,xkt=KEt,b1=ZEt,y1=qEt,S1=oDt,Gkt=lOt,Kkt=uOt,Rkt=FDt,e0=DOt,X1=mOt,P1=ADt,Jkt=bOt,jkt=bDt,j1=SDt,_1=T6,qkt=dOt,a1=bEt,gkt=vEt,i1=_Et,Fkt=NDt,Pkt=MDt,Ikt=PDt,r0=B6,z1=F6,N1=_Lt,O1=k6,D1=O6,Skt=eDt,u0=Z6,r1=dLt,I1=xLt,s0=VLt,Zkt=FLt,o0=LLt,Vkt=GDt,Hkt=qDt,p0=t8,t1=gEt,Ukt=YDt,k1=gDt,E1=mDt,q1=I6,zkt=zDt,Z1=_Ot,M0=rRt,Dkt=fDt,aAt=kOt,Akt=vDt,Ckt=nDt,wkt=rDt,Bkt=VDt,Tkt=iDt,Lkt=P6,V1=WDt,x1=aDt,g1=UEt,p1=zEt,s1=wEt,c1=TEt,m1=VEt,o1=SEt,h1=HEt,f1=REt,d1=LEt,bkt=IEt,l1=EEt,u1=PEt,ykt=MEt,_kt=OEt,vkt=AEt,Nkt=jDt}function yut(e,t,n,r,i,a,o){var s,c,l,u,d,f=P(r.a,15).a,p=P(r.b,15).a,m;return d=e.b,m=e.c,s=0,u=0,t==(WN(),g8)||t==_8?(u=lv(IWe(MT(jT(new jC(null,new nD(n.b,16)),new ds),new qo))),d.e.b+d.f.b/2>u?(l=++p,s=O(N(yx(nw(jT(new jC(null,new nD(n.b,16)),new jue(i,l)),new Jo))))):(c=++f,s=O(N(yx(rw(jT(new jC(null,new nD(n.b,16)),new Mue(i,c)),new Yo)))))):(u=lv(IWe(MT(jT(new jC(null,new nD(n.b,16)),new $o),new Go))),d.e.a+d.f.a/2>u?(l=++p,s=O(N(yx(nw(jT(new jC(null,new nD(n.b,16)),new Aue(i,l)),new Xo))))):(c=++f,s=O(N(yx(rw(jT(new jC(null,new nD(n.b,16)),new kue(i,c)),new Zo)))))),t==g8?(eb(e.a,new A(O(N(K(d,(CB(),d4))))-i,s)),eb(e.a,new A(m.e.a+m.f.a+i+a,s)),eb(e.a,new A(m.e.a+m.f.a+i+a,m.e.b+m.f.b/2)),eb(e.a,new A(m.e.a+m.f.a,m.e.b+m.f.b/2))):t==_8?(eb(e.a,new A(O(N(K(d,(CB(),u4))))+i,d.e.b+d.f.b/2)),eb(e.a,new A(d.e.a+d.f.a+i,s)),eb(e.a,new A(m.e.a-i-a,s)),eb(e.a,new A(m.e.a-i-a,m.e.b+m.f.b/2)),eb(e.a,new A(m.e.a,m.e.b+m.f.b/2))):t==y8?(eb(e.a,new A(s,O(N(K(d,(CB(),d4))))-i)),eb(e.a,new A(s,m.e.b+m.f.b+i+a)),eb(e.a,new A(m.e.a+m.f.a/2,m.e.b+m.f.b+i+a)),eb(e.a,new A(m.e.a+m.f.a/2,m.e.b+m.f.b+i))):(e.a.b==0||(P(Ux(e.a),8).b=O(N(K(d,(CB(),u4))))+i*P(o.b,15).a),eb(e.a,new A(s,O(N(K(d,(CB(),u4))))+i*P(o.b,15).a)),eb(e.a,new A(s,m.e.b-i*P(o.a,15).a-a))),new My(G(f),G(p))}function but(e){var t,n,r,i,a,o=!0,s,c,l,u,d=null,f,p;if(r=null,i=null,t=!1,p=mBt,l=null,a=null,s=0,c=_F(e,s,fBt,pBt),c<e.length&&(sD(c,e.length),e.charCodeAt(c)==58)&&(d=(YO(s,c,e.length),e.substr(s,c-s)),s=c+1),n=d!=null&&S_(A7,d.toLowerCase()),n){if(c=e.lastIndexOf(`!/`),c==-1)throw D(new sg(`no archive separator`));o=!0,r=dE(e,s,++c),s=c}else s>=0&&CS(e.substr(s,2),`//`)?(s+=2,c=_F(e,s,O7,k7),r=(YO(s,c,e.length),e.substr(s,c-s)),s=c):d!=null&&(s==e.length||(sD(s,e.length),e.charCodeAt(s)!=47))&&(o=!1,c=wme(e,hL(35),s),c==-1&&(c=e.length),r=(YO(s,c,e.length),e.substr(s,c-s)),s=c);if(!n&&s<e.length&&(sD(s,e.length),e.charCodeAt(s)==47)&&(c=_F(e,s+1,O7,k7),u=(YO(s+1,c,e.length),e.substr(s+1,c-(s+1))),u.length>0&&wT(u,u.length-1)==58&&(i=u,s=c)),s<e.length&&(sD(s,e.length),e.charCodeAt(s)==47)&&(++s,t=!0),s<e.length&&(sD(s,e.length),e.charCodeAt(s)!=63)&&(sD(s,e.length),e.charCodeAt(s)!=35)){for(f=new ah;s<e.length&&(sD(s,e.length),e.charCodeAt(s)!=63)&&(sD(s,e.length),e.charCodeAt(s)!=35);)c=_F(e,s,O7,k7),$b(f,(YO(s,c,e.length),e.substr(s,c-s))),s=c,s<e.length&&(sD(s,e.length),e.charCodeAt(s)==47)&&(wUe(e,++s)||f.c.push(``));p=V(vY,X,2,f.c.length,6,1),gF(f,p)}return s<e.length&&(sD(s,e.length),e.charCodeAt(s)==63)&&(c=Lx(e,35,++s),c==-1&&(c=e.length),l=(YO(s,c,e.length),e.substr(s,c-s)),s=c),s<e.length&&(a=xwe(e,++s)),Uot(o,d,r,i,p,l),new det(o,d,r,i,t,p,l,a)}function FB(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(bw(e.b,t)){if(w_(P(Zw(e.b,t),47),n))return 1}else ST(e.b,t,new Dh);if(bw(e.b,n)){if(w_(P(Zw(e.b,n),47),t))return-1}else ST(e.b,n,new Dh);if(bw(e.g,t)){if(w_(P(Zw(e.g,t),47),n))return-1}else ST(e.g,t,new Dh);if(bw(e.g,n)){if(w_(P(Zw(e.b,n),47),t))return 1}else ST(e.g,n,new Dh);if(e.e==(eF(),l2)||!Kx(t,(Y(),w$))||!Kx(n,(Y(),w$))){for(f=null,u=new E(t.j);u.a<u.c.c.length;)if(c=P(z(u),12),c.e.c.length!=0&&P(AC(c.e,0),17).c.i.c.p==t.c.p-1){f=P(AC(c.e,0),17).c;break}for(m=null,l=new E(n.j);l.a<l.c.c.length;)if(c=P(z(l),12),c.e.c.length!=0&&P(AC(c.e,0),17).c.i.c.p==n.c.p-1){m=P(AC(c.e,0),17).c;break}if(f&&m){if(d=f.i,p=m.i,d&&d==p){for(g=new E(d.j);g.a<g.c.c.length;){if(h=P(z(g),12),h==f)return gz(e,n,t),-1;if(h==m)return gz(e,t,n),1}return i=QI(e,t),o=QI(e,n),i>o?(gz(e,t,n),1):(gz(e,n,t),-1)}for(v=e.f,y=0,b=v.length;y<b;++y){if(_=v[y],_==d)return gz(e,n,t),-1;if(_==p)return gz(e,t,n),1}}if(f&&!m||!f&&m){if(r=Cut(e,t,n),r!=0)return r>0?gz(e,t,n):gz(e,n,t),r;if(!Kx(t,(Y(),w$))||!Kx(n,w$))return a=QI(e,t),s=QI(e,n),a>s?(gz(e,t,n),1):(gz(e,n,t),-1)}if(!f&&!m&&(r=Cut(e,t,n),r!=0))return r>0?gz(e,t,n):gz(e,n,t),r}return Kx(t,(Y(),w$))&&Kx(n,w$)?(a=XR(t,n,e.c,P(K(e.c,C$),15).a),s=XR(n,t,e.c,P(K(e.c,C$),15).a),a>s?(gz(e,t,n),1):(gz(e,n,t),-1)):(gz(e,n,t),-1)}function xut(){xut=C,jB(),PX=new mE,fR(PX,(wB(),b5),y5),fR(PX,A5,y5),fR(PX,x5,y5),fR(PX,D5,y5),fR(PX,E5,y5),fR(PX,w5,y5),fR(PX,D5,b5),fR(PX,y5,h5),fR(PX,b5,h5),fR(PX,A5,h5),fR(PX,x5,h5),fR(PX,T5,h5),fR(PX,D5,h5),fR(PX,E5,h5),fR(PX,w5,h5),fR(PX,v5,h5),fR(PX,y5,O5),fR(PX,b5,O5),fR(PX,h5,O5),fR(PX,A5,O5),fR(PX,x5,O5),fR(PX,T5,O5),fR(PX,D5,O5),fR(PX,v5,O5),fR(PX,k5,O5),fR(PX,E5,O5),fR(PX,S5,O5),fR(PX,w5,O5),fR(PX,b5,A5),fR(PX,x5,A5),fR(PX,D5,A5),fR(PX,w5,A5),fR(PX,b5,x5),fR(PX,A5,x5),fR(PX,D5,x5),fR(PX,x5,x5),fR(PX,E5,x5),fR(PX,y5,g5),fR(PX,b5,g5),fR(PX,h5,g5),fR(PX,O5,g5),fR(PX,A5,g5),fR(PX,x5,g5),fR(PX,T5,g5),fR(PX,D5,g5),fR(PX,k5,g5),fR(PX,v5,g5),fR(PX,w5,g5),fR(PX,E5,g5),fR(PX,C5,g5),fR(PX,y5,k5),fR(PX,b5,k5),fR(PX,h5,k5),fR(PX,A5,k5),fR(PX,x5,k5),fR(PX,T5,k5),fR(PX,D5,k5),fR(PX,v5,k5),fR(PX,w5,k5),fR(PX,S5,k5),fR(PX,C5,k5),fR(PX,b5,v5),fR(PX,A5,v5),fR(PX,x5,v5),fR(PX,D5,v5),fR(PX,k5,v5),fR(PX,w5,v5),fR(PX,E5,v5),fR(PX,y5,_5),fR(PX,b5,_5),fR(PX,h5,_5),fR(PX,A5,_5),fR(PX,x5,_5),fR(PX,T5,_5),fR(PX,D5,_5),fR(PX,v5,_5),fR(PX,w5,_5),fR(PX,b5,E5),fR(PX,h5,E5),fR(PX,O5,E5),fR(PX,x5,E5),fR(PX,y5,S5),fR(PX,b5,S5),fR(PX,O5,S5),fR(PX,A5,S5),fR(PX,x5,S5),fR(PX,T5,S5),fR(PX,D5,S5),fR(PX,D5,C5),fR(PX,x5,C5),fR(PX,v5,y5),fR(PX,v5,A5),fR(PX,v5,h5),fR(PX,T5,y5),fR(PX,T5,b5),fR(PX,T5,O5)}function Sut(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;switch(n.Tg(`Brandes & Koepf node placement`,1),e.a=t,e.c=Rrt(t),r=P(K(t,(PB(),X1)),282),p=hg(eS(K(t,Z1))),e.d=r==(qI(),TQ)&&!p||r==wQ,Aot(e,t),x=null,S=null,_=null,v=null,g=(qA(4,jV),new HO(4)),P(K(t,X1),282).g){case 3:_=new Cz(t,e.c.d,(TE(),L2),(wE(),F2)),ph(g.c,_);break;case 1:v=new Cz(t,e.c.d,(TE(),R2),(wE(),F2)),ph(g.c,v);break;case 4:x=new Cz(t,e.c.d,(TE(),L2),(wE(),I2)),ph(g.c,x);break;case 2:S=new Cz(t,e.c.d,(TE(),R2),(wE(),I2)),ph(g.c,S);break;default:_=new Cz(t,e.c.d,(TE(),L2),(wE(),F2)),v=new Cz(t,e.c.d,R2,F2),x=new Cz(t,e.c.d,L2,I2),S=new Cz(t,e.c.d,R2,I2),ph(g.c,x),ph(g.c,S),ph(g.c,_),ph(g.c,v)}for(i=new vue(t,e.c),s=new E(g);s.a<s.c.c.length;)a=P(z(s),185),dlt(i,a,e.b),Fit(a);for(f=new FXe(t,e.c),c=new E(g);c.a<c.c.c.length;)a=P(z(c),185),Zot(f,a);if(n.$g())for(l=new E(g);l.a<l.c.c.length;)a=P(z(l),185),n.ah(a+` size is `+Z6e(a));if(d=null,e.d&&(u=nlt(e,g,e.c.d),wit(t,u,n)&&(d=u)),!d)for(l=new E(g);l.a<l.c.c.length;)a=P(z(l),185),wit(t,a,n)&&(!d||Z6e(d)>Z6e(a))&&(d=a);for(!d&&(d=(oD(0,g.c.length),P(g.c[0],185))),h=new E(t.b);h.a<h.c.c.length;)for(m=P(z(h),25),b=new E(m.a);b.a<b.c.c.length;)y=P(z(b),9),y.n.b=O(d.p[y.p])+O(d.d[y.p]);for(n.$g()&&(n.ah(`Chosen node placement: `+d),n.ah(`Blocks: `+k3e(d)),n.ah(`Classes: `+D6e(d,n)),n.ah(`Marked edges: `+e.b)),o=new E(g);o.a<o.c.c.length;)a=P(z(o),185),a.g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Rje(e.c),e.b.a.$b(),n.Ug()}function Cut(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;if(t.k==(MR(),BX)&&n.k==HX)return a=P(AC(P(Ax(RM(AT(new jC(null,new nD(t.j,16)),new $i))),12).e,0),17).c,i=a.i,s=P(AC(P(Ax(RM(AT(new jC(null,new nD(t.j,16)),new ea))),12).g,0),17).d,o=s.i,r=t.c.p,i.c.p!=r&&o.c.p!=r?0:i==n||o==n?(gz(e,t,n),1):FB(e,i,n);if(t.k==HX&&n.k==BX)return a=P(AC(P(Ax(RM(AT(new jC(null,new nD(n.j,16)),new $i))),12).e,0),17).c,i=a.i,s=P(AC(P(Ax(RM(AT(new jC(null,new nD(n.j,16)),new ea))),12).g,0),17).d,o=s.i,r=t.c.p,i.c.p!=r&&o.c.p!=r?0:i==t||o==t?(gz(e,n,t),-1):FB(e,t,i);if(t.k==BX&&n.k==BX){if(f=P(AC(P(Ax(RM(AT(new jC(null,new nD(t.j,16)),new $i))),12).e,0),17).c,p=P(AC(P(Ax(RM(AT(new jC(null,new nD(t.j,16)),new ea))),12).g,0),17).d,m=f.i,h=p.i,c=t.c.p,u=!1,d=!1,b=P(AC(P(Ax(RM(AT(new jC(null,new nD(n.j,16)),new $i))),12).e,0),17).c,x=P(AC(P(Ax(RM(AT(new jC(null,new nD(n.j,16)),new ea))),12).g,0),17).d,S=b.i,ee=x.i,g=n.c.p,v=!1,y=!1,l=t,_=n,m.c.p==c?(u=!0,l=m):h.c.p==c&&(d=!0,l=h),S.c.p==g?(v=!0,_=S):ee.c.p==g&&(y=!0,_=ee),l==_)if(e.a){if(u&&v)return C=Mut(new bFe(e.c,e.f,e.e,null,y),f,b),C>0?(gz(e,n,t),1):(gz(e,t,n),-1);if(u&&y)return gz(e,n,t),1;if(d&&v)return gz(e,t,n),-1;if(d&&y)return 0}else for(ne=new E(l.j);ne.a<ne.c.c.length;){if(te=P(z(ne),12),f==te)return gz(e,n,t),-1;if(b==te)return gz(e,t,n),1}return FB(e,l,_)}else return 0}function wut(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae;if(e.c.length==1)return zJe((oD(0,e.c.length),P(e.c[0],120))),oD(0,e.c.length),P(e.c[0],120);if(e.c.length<=0)return new RO;for(l=new E(e);l.a<l.c.c.length;){for(s=P(z(l),120),y=0,h=JB,g=JB,p=LV,m=LV,v=TF(s.b,0);v.b!=v.d.c;)_=P(RD(v),40),y+=P(K(_,(Lz(),C4)),15).a,h=r.Math.min(h,_.e.a),g=r.Math.min(g,_.e.b),p=r.Math.max(p,_.e.a+_.f.a),m=r.Math.max(m,_.e.b+_.f.b);W(s,(Lz(),C4),G(y)),W(s,(CB(),e4),new A(h,g)),W(s,$2,new A(p,m))}for(KT(),Vb(e,new _o),S=new RO,Xj(S,(oD(0,e.c.length),P(e.c[0],105))),f=0,re=0,u=new E(e);u.a<u.c.c.length;)s=P(z(u),120),ee=TS(qb(P(K(s,(CB(),$2)),8)),P(K(s,e4),8)),f=r.Math.max(f,ee.a),re+=ee.a*ee.b;for(f=r.Math.max(f,r.Math.sqrt(re)*O(N(K(S,(Lz(),tNt))))),te=O(N(K(S,w4))),ie=0,ae=0,d=0,t=te,c=new E(e);c.a<c.c.c.length;)s=P(z(c),120),ee=TS(qb(P(K(s,(CB(),$2)),8)),P(K(s,e4),8)),ie+ee.a>f&&(ie=0,ae+=d+te,d=0),ent(S,s,ie,ae),t=r.Math.max(t,ie+ee.a),d=r.Math.max(d,ee.b),ie+=ee.a+te;for(x=new oh,n=new oh,C=new E(e);C.a<C.c.c.length;)for(ne=P(z(C),120),i=hg(eS(K(ne,(LB(),E6)))),b=ne.q?ne.q:DY,o=b.vc().Jc();o.Ob();)a=P(o.Pb(),45),bw(x,a.jd())?j(P(a.jd(),147).Rg())!==j(a.kd())&&(i&&bw(n,a.jd())?(O_(),``+P(a.jd(),147).Og()):(ST(x,P(a.jd(),147),a.kd()),W(S,P(a.jd(),147),a.kd()),i&&ST(n,P(a.jd(),147),a.kd()))):(ST(x,P(a.jd(),147),a.kd()),W(S,P(a.jd(),147),a.kd()));return K9e(S,new Wc),zJe(S),S}function IB(e,t){switch(e.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new NEe(e.b,e.a,t,e.c);case 1:return new ax(e.a,t,NP(t.Ah(),e.c));case 43:return new tme(e.a,t,NP(t.Ah(),e.c));case 3:return new ix(e.a,t,NP(t.Ah(),e.c));case 45:return new ox(e.a,t,NP(t.Ah(),e.c));case 41:return new ik(P(LI(e.c),29),e.a,t,NP(t.Ah(),e.c));case 50:return new FRe(P(LI(e.c),29),e.a,t,NP(t.Ah(),e.c));case 5:return new f_e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 47:return new p_e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 7:return new F(e.a,t,NP(t.Ah(),e.c),e.d.n);case 49:return new yS(e.a,t,NP(t.Ah(),e.c),e.d.n);case 9:return new ame(e.a,t,NP(t.Ah(),e.c));case 11:return new rme(e.a,t,NP(t.Ah(),e.c));case 13:return new ime(e.a,t,NP(t.Ah(),e.c));case 15:return new sC(e.a,t,NP(t.Ah(),e.c));case 17:return new ome(e.a,t,NP(t.Ah(),e.c));case 19:return new sx(e.a,t,NP(t.Ah(),e.c));case 21:return new nme(e.a,t,NP(t.Ah(),e.c));case 23:return new oC(e.a,t,NP(t.Ah(),e.c));case 25:return new v_e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 27:return new xS(e.a,t,NP(t.Ah(),e.c),e.d.n);case 29:return new h_e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 31:return new m_e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 33:return new __e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 35:return new g_e(e.a,t,NP(t.Ah(),e.c),e.d.n);case 37:return new bS(e.a,t,NP(t.Ah(),e.c),e.d.n);case 39:return new mw(e.a,t,NP(t.Ah(),e.c),e.d.n);case 40:return new Nj(t,NP(t.Ah(),e.c));default:throw D(new Jh(`Unknown feature style: `+e.e))}}function Tut(e,t,n){var r,i,a,o,s=new E_,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=P(K(n,(PB(),T1)),86),te,ne,C,re,ie,ae;for(g=0,r=new Dh,bj(s,(!t.a&&(t.a=new F(p7,t,10,11)),t.a));s.b!=0;)d=P(s.b==0?null:(Bx(s.b!=0),aA(s,s.a.a)),26),u=PE(d),Yz(u)&&!hg(eS(J(d,m1)))&&(IF(d,(Y(),w$),G(g++)),qO(d,f1)&&Tw(r,P(J(d,f1),15))),v=!hg(eS(J(d,a0))),v&&(p=(!d.a&&(d.a=new F(p7,d,10,11)),d.a).i!=0,h=j$e(d),m=j(J(d,F1))===j((nN(),N8)),ae=!qO(d,(LB(),x6))||yNe(tS(J(d,x6))),x=null,ae&&m&&(p||h)&&(x=wrt(d),W(x,T1,ee),Kx(x,g0)&&Lae(new FGe(O(N(K(x,g0)))),x),P(J(d,t0),182).gc()!=0&&(f=x,P_(new jC(null,(!d.c&&(d.c=new F(m7,d,9,9)),new nD(d.c,16))),new Zee(f)),E9e(d,x))),te=n,ne=P(Zw(e.a,PE(d)),9),ne&&(te=ne.e),b=pct(e,d,te),x&&(b.e=x,x.e=b,bj(s,(!d.a&&(d.a=new F(p7,d,10,11)),d.a))));for(W(n,(Y(),C$),G(g)),W(n,ZQ,G(r.a.gc())),g=0,iO(s,t,s.c.b,s.c);s.b!=0;){for(o=P(s.b==0?null:(Bx(s.b!=0),aA(s,s.a.a)),26),l=new lx((!o.b&&(o.b=new F(i7,o,12,3)),o.b));l.e!=l.i.gc();)c=P(OF(l),85),stt(c),Yz(t)&&IF(c,w$,G(g++)),re=cL(P(H((!c.b&&(c.b=new xS(r7,c,4,7)),c.b),0),84)),ie=cL(P(H((!c.c&&(c.c=new xS(r7,c,5,8)),c.c),0),84)),!(hg(eS(J(c,a0)))||hg(eS(J(re,a0)))||hg(eS(J(ie,a0))))&&(_=uR(c)&&hg(eS(J(re,L1)))&&hg(eS(J(c,R1))),S=o,_||iA(ie,re)?S=re:iA(re,ie)&&(S=ie),te=n,ne=P(Zw(e.a,S),9),ne&&(te=ne.e),y=Out(e,c,S,te),W(y,tEt,K7e(e,c,t,n)));if(m=j(J(o,F1))===j((nN(),N8)),m)for(a=new lx((!o.a&&(o.a=new F(p7,o,10,11)),o.a));a.e!=a.i.gc();)i=P(OF(a),26),ae=!qO(i,(LB(),x6))||yNe(tS(J(i,x6))),C=j(J(i,F1))===j(N8),ae&&C&&iO(s,i,s.c.b,s.c)}}function Eut(e){var t,n,r,i,a=0,o,s,c;for(i=e.a.b,c=TF(e.a,0);c.b!=c.d.c;){if(s=P(RD(c),240),o=(a+1)/(i+1),!e.c&&!e.d)return;e.c&&!e.d?(e.g=!0,e.b==(WN(),g8)?(r=e.c.e.b+e.c.f.b+e.e*(a+1),t=new A(O(N(K(e.c,(CB(),u4))))+e.e,r),n=new A(O(N(K(e.c,d4)))-e.e,r)):e.b==_8?(r=e.c.e.b+e.c.f.b+e.e*(a+1),t=new A(O(N(K(e.c,(CB(),d4))))-e.e,r),n=new A(O(N(K(e.c,u4)))+e.e,r)):e.b==y8?(r=e.c.e.a+e.c.f.a+e.e*(a+1),t=new A(r,O(N(K(e.c,(CB(),u4))))+e.e),n=new A(r,O(N(K(e.c,d4)))-e.e)):(r=e.c.e.a+e.c.f.a+e.e*(a+1),t=new A(r,O(N(K(e.c,(CB(),d4))))-e.e),n=new A(r,O(N(K(e.c,u4)))+e.e))):e.c&&e.d?e.b==(WN(),g8)?(r=e.d.e.b*o+(e.c.e.b+e.c.f.b)*(1-o),t=new A(O(N(K(e.c,(CB(),u4))))+e.e,r),n=new A(O(N(K(e.c,d4)))-e.e,r)):e.b==_8?(r=e.d.e.b*o+(e.c.e.b+e.c.f.b)*(1-o),t=new A(O(N(K(e.c,(CB(),d4))))-e.e,r),n=new A(O(N(K(e.c,u4)))+e.e,r)):e.b==y8?(r=e.d.e.a*o+(e.c.e.a+e.c.f.a)*(1-o),t=new A(r,O(N(K(e.c,(CB(),u4))))+e.e),n=new A(r,O(N(K(e.c,d4)))-e.e)):(r=e.d.e.a*o+(e.c.e.a+e.c.f.a)*(1-o),t=new A(r,O(N(K(e.c,(CB(),d4))))-e.e),n=new A(r,O(N(K(e.c,u4)))+e.e)):(e.f=!0,e.b==(WN(),g8)?(r=e.d.e.b-e.e*(a+1),t=new A(O(N(K(e.d,(CB(),u4))))+e.e,r),n=new A(O(N(K(e.d,d4)))-e.e,r)):e.b==_8?(r=e.d.e.b-e.e*(a+1),t=new A(O(N(K(e.d,(CB(),d4))))-e.e,r),n=new A(O(N(K(e.d,u4)))+e.e,r)):e.b==y8?(r=e.d.e.a-e.e*(a+1),t=new A(r,O(N(K(e.d,(CB(),u4))))+e.e),n=new A(r,O(N(K(e.d,d4)))-e.e)):(r=e.d.e.a-e.e*(a+1),t=new A(r,O(N(K(e.d,(CB(),d4))))-e.e),n=new A(r,O(N(K(e.d,u4)))+e.e))),P(s.a,8).a=t.a,P(s.a,8).b=t.b,s.b.a=n.a,s.b.b=n.b,++a}}function Dut(e,t,n,r,i,a){var o,s,c,l,u,d,f,p,m,h,g,_;switch(t){case 71:s=+(r.q.getFullYear()-qV>=-1900),n>=4?Qy(e,U(k(vY,1),X,2,6,[_dt,vdt])[s]):Qy(e,U(k(vY,1),X,2,6,[`BC`,`AD`])[s]);break;case 121:nJe(e,n,r);break;case 77:Ztt(e,n,r);break;case 107:c=i.q.getHours(),c==0?Hk(e,24,n):Hk(e,c,n);break;case 83:f5e(e,n,i);break;case 69:u=r.q.getDay(),n==5?Qy(e,U(k(vY,1),X,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[u]):n==4?Qy(e,U(k(vY,1),X,2,6,[YV,XV,ZV,QV,$V,eH,tH])[u]):Qy(e,U(k(vY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[u]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?Qy(e,U(k(vY,1),X,2,6,[`AM`,`PM`])[1]):Qy(e,U(k(vY,1),X,2,6,[`AM`,`PM`])[0]);break;case 104:d=i.q.getHours()%12,d==0?Hk(e,12,n):Hk(e,d,n);break;case 75:f=i.q.getHours()%12,Hk(e,f,n);break;case 72:p=i.q.getHours(),Hk(e,p,n);break;case 99:m=r.q.getDay(),n==5?Qy(e,U(k(vY,1),X,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[m]):n==4?Qy(e,U(k(vY,1),X,2,6,[YV,XV,ZV,QV,$V,eH,tH])[m]):n==3?Qy(e,U(k(vY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[m]):Hk(e,m,1);break;case 76:h=r.q.getMonth(),n==5?Qy(e,U(k(vY,1),X,2,6,[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`])[h]):n==4?Qy(e,U(k(vY,1),X,2,6,[udt,ddt,fdt,pdt,HV,mdt,hdt,gdt,UV,WV,GV,KV])[h]):n==3?Qy(e,U(k(vY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,HV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])[h]):Hk(e,h+1,n);break;case 81:g=r.q.getMonth()/3|0,n<4?Qy(e,U(k(vY,1),X,2,6,[`Q1`,`Q2`,`Q3`,`Q4`])[g]):Qy(e,U(k(vY,1),X,2,6,[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`])[g]);break;case 100:_=r.q.getDate(),Hk(e,_,n);break;case 109:l=i.q.getMinutes(),Hk(e,l,n);break;case 115:o=i.q.getSeconds(),Hk(e,o,n);break;case 122:n<4?Qy(e,a.c[0]):Qy(e,a.c[1]);break;case 118:Qy(e,a.b);break;case 90:n<3?Qy(e,g4e(a)):n==3?Qy(e,D4e(a)):Qy(e,O4e(a.a));break;default:return!1}return!0}function Out(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae;if(stt(t),c=P(H((!t.b&&(t.b=new xS(r7,t,4,7)),t.b),0),84),u=P(H((!t.c&&(t.c=new xS(r7,t,5,8)),t.c),0),84),s=cL(c),l=cL(u),o=(!t.a&&(t.a=new F(a7,t,6,6)),t.a).i==0?null:P(H((!t.a&&(t.a=new F(a7,t,6,6)),t.a),0),170),ee=P(Zw(e.a,s),9),re=P(Zw(e.a,l),9),te=null,ie=null,M(c,193)&&(S=P(Zw(e.a,c),246),M(S,12)?te=P(S,12):M(S,9)&&(ee=P(S,9),te=P(AC(ee.j,0),12))),M(u,193)&&(C=P(Zw(e.a,u),246),M(C,12)?ie=P(C,12):M(C,9)&&(re=P(C,9),ie=P(AC(re.j,0),12))),!ee||!re)throw D(new yg(`The source or the target of edge `+t+` 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(h=new rE,Xj(h,t),W(h,(Y(),T$),t),W(h,(PB(),z1),null),p=P(K(r,l$),22),ee==re&&p.Ec((oz(),IQ)),te||=(x=(VA(),m2),ne=null,o&&_b(P(K(ee,l0),102))&&(ne=new A(o.j,o.k),aMe(ne,AE(t)),YMe(ne,n),iA(l,s)&&(x=p2,wS(ne,ee.n))),nat(ee,ne,x,r)),ie||=(x=(VA(),p2),ae=null,o&&_b(P(K(re,l0),102))&&(ae=new A(o.b,o.c),aMe(ae,AE(t)),YMe(ae,n)),nat(re,ae,x,lT(re))),zE(h,te),VE(h,ie),(te.e.c.length>1||te.g.c.length>1||ie.e.c.length>1||ie.g.c.length>1)&&p.Ec((oz(),jQ)),f=new lx((!t.n&&(t.n=new F(f7,t,1,7)),t.n));f.e!=f.i.gc();)if(d=P(OF(f),157),!hg(eS(J(d,a0)))&&d.a)switch(g=IUe(d),$b(h.b,g),P(K(g,O1),279).g){case 1:case 2:p.Ec((oz(),kQ));break;case 0:p.Ec((oz(),DQ)),W(g,O1,(dA(),C8))}if(a=P(K(r,C1),301),_=P(K(r,e0),328),i=a==(xP(),tQ)||_==(PF(),$0),o&&(!o.a&&(o.a=new ix(e7,o,5)),o.a).i!=0&&i){for(v=S0e(o),m=new Rh,b=TF(v,0);b.b!=b.d.c;)y=P(RD(b),8),pC(m,new mb(y));W(h,oEt,m)}return h}function kut(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne=0,C=0,re,ie,ae,oe;for(ee=new oh,x=P(yx(nw(jT(new jC(null,new nD(e.b,16)),new Qo),new Ko)),15).a+1,te=V(q9,JV,30,x,15,1),g=V(q9,JV,30,x,15,1),h=0;h<x;h++)te[h]=0,g[h]=0;for(c=P(aO(gOe(new jC(null,new nD(e.a,16))),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),u=c.Jc();u.Ob();)if(l=P(u.Pb(),65),ie=P(K(l.b,(Lz(),T4)),15).a,oe=P(K(l.c,T4),15).a,b=oe-ie,b>1)for(s=ie+1;s<oe;s++){if(d=s,S=P(aO(AT(new jC(null,new nD(e.b,16)),new jne(d)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[MY]))),16),m=0,t==(WN(),g8)||t==_8){for(S.gd(new ls),m=0;m<S.gc()&&(_=(s-ie)/(oe-ie),!(P(S.Xb(m),40).e.b>l.b.e.b*(1-_)+l.c.e.b*_));m++);if(S.gc()>0&&(ae=l.a.b==0?qb(l.b.e):P(Ux(l.a),8),y=wS(qb(P(S.Xb(S.gc()-1),40).e),P(S.Xb(S.gc()-1),40).f),f=wS(qb(P(S.Xb(0),40).e),P(S.Xb(0),40).f),m>=S.gc()-1&&ae.b>y.b&&l.c.e.b>y.b||m<=0&&ae.b<f.a&&l.c.e.b<f.b))continue}else{for(S.gd(new us),m=0;m<S.gc()&&(_=(s-ie)/(oe-ie),!(P(S.Xb(m),40).e.a>l.b.e.a*(1-_)+l.c.e.a*_));m++);if(S.gc()>0&&(ae=l.a.b==0?qb(l.b.e):P(Ux(l.a),8),y=wS(qb(P(S.Xb(S.gc()-1),40).e),P(S.Xb(S.gc()-1),40).f),f=wS(qb(P(S.Xb(0),40).e),P(S.Xb(0),40).f),m>=S.gc()-1&&ae.a>y.a&&l.c.e.a>y.a||m<=0&&ae.a<f.a&&l.c.e.a<f.a))continue}i=new Xg,a=new Xg,pC(l.a,i),pC(l.a,a),o=new JS(i,a,l),v=dD($C(s,32),uD(m,xH)),bw(ee,uF(v))?(p=P(Zw(ee,uF(v)),662),pC(p.a,o),vb(p.b)?pj(p.a,new lee):pj(p.a,new fs),Eut(p)):(p=new VYe(m==0?null:P(S.Xb(m-1),40),m==S.gc()?null:P(S.Xb(m),40),o,e),ST(ee,uF(v),p)),t==g8||t==_8?(p.f&&p.d.e.b<=O(N(K(e,(CB(),a4))))&&++ne,p.g&&p.c.e.b+p.c.f.b>=O(N(K(e,(CB(),HMt))))&&++C):(p.f&&p.d.e.a<=O(N(K(e,(CB(),i4))))&&++ne,p.g&&p.c.e.a+p.c.f.a>=O(N(K(e,(CB(),VMt))))&&++C)}else b==0?M4e(l):b<0&&(++te[ie],++g[oe],re=yut(l,t,e,new My(G(ne),G(C)),n,r,new My(G(g[oe]),G(te[ie]))),ne=P(re.a,15).a,C=P(re.b,15).a)}function Aut(e){e.gb||(e.gb=!0,e.b=Gj(e,0),gj(e.b,18),_j(e.b,19),e.a=Gj(e,1),gj(e.a,1),_j(e.a,2),_j(e.a,3),_j(e.a,4),_j(e.a,5),e.o=Gj(e,2),gj(e.o,8),gj(e.o,9),_j(e.o,10),_j(e.o,11),_j(e.o,12),_j(e.o,13),_j(e.o,14),_j(e.o,15),_j(e.o,16),_j(e.o,17),_j(e.o,18),_j(e.o,19),_j(e.o,20),_j(e.o,21),_j(e.o,22),_j(e.o,23),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),Qk(e.o),e.p=Gj(e,3),gj(e.p,2),gj(e.p,3),gj(e.p,4),gj(e.p,5),_j(e.p,6),_j(e.p,7),Qk(e.p),Qk(e.p),e.q=Gj(e,4),gj(e.q,8),e.v=Gj(e,5),_j(e.v,9),Qk(e.v),Qk(e.v),Qk(e.v),e.w=Gj(e,6),gj(e.w,2),gj(e.w,3),gj(e.w,4),_j(e.w,5),e.B=Gj(e,7),_j(e.B,1),Qk(e.B),Qk(e.B),Qk(e.B),e.Q=Gj(e,8),_j(e.Q,0),Qk(e.Q),e.R=Gj(e,9),gj(e.R,1),e.S=Gj(e,10),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),Qk(e.S),e.T=Gj(e,11),_j(e.T,10),_j(e.T,11),_j(e.T,12),_j(e.T,13),_j(e.T,14),Qk(e.T),Qk(e.T),e.U=Gj(e,12),gj(e.U,2),gj(e.U,3),_j(e.U,4),_j(e.U,5),_j(e.U,6),_j(e.U,7),Qk(e.U),e.V=Gj(e,13),_j(e.V,10),e.W=Gj(e,14),gj(e.W,18),gj(e.W,19),gj(e.W,20),_j(e.W,21),_j(e.W,22),_j(e.W,23),e.bb=Gj(e,15),gj(e.bb,10),gj(e.bb,11),gj(e.bb,12),gj(e.bb,13),gj(e.bb,14),gj(e.bb,15),gj(e.bb,16),_j(e.bb,17),Qk(e.bb),Qk(e.bb),e.eb=Gj(e,16),gj(e.eb,2),gj(e.eb,3),gj(e.eb,4),gj(e.eb,5),gj(e.eb,6),gj(e.eb,7),_j(e.eb,8),_j(e.eb,9),e.ab=Gj(e,17),gj(e.ab,0),gj(e.ab,1),e.H=Gj(e,18),_j(e.H,0),_j(e.H,1),_j(e.H,2),_j(e.H,3),_j(e.H,4),_j(e.H,5),Qk(e.H),e.db=Gj(e,19),_j(e.db,2),e.c=Kj(e,20),e.d=Kj(e,21),e.e=Kj(e,22),e.f=Kj(e,23),e.i=Kj(e,24),e.g=Kj(e,25),e.j=Kj(e,26),e.k=Kj(e,27),e.n=Kj(e,28),e.r=Kj(e,29),e.s=Kj(e,30),e.t=Kj(e,31),e.u=Kj(e,32),e.fb=Kj(e,33),e.A=Kj(e,34),e.C=Kj(e,35),e.D=Kj(e,36),e.F=Kj(e,37),e.G=Kj(e,38),e.I=Kj(e,39),e.J=Kj(e,40),e.L=Kj(e,41),e.M=Kj(e,42),e.N=Kj(e,43),e.O=Kj(e,44),e.P=Kj(e,45),e.X=Kj(e,46),e.Y=Kj(e,47),e.Z=Kj(e,48),e.$=Kj(e,49),e._=Kj(e,50),e.cb=Kj(e,51),e.K=Kj(e,52))}function jut(e,t,n,i){var a,o,s,c,l,u,d,f,p,m,h;for(f=TF(e.b,0);f.b!=f.d.c;)if(d=P(RD(f),40),!CS(d.c,$G))for(o=P(aO(new jC(null,new nD(e3e(d,e),16)),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),16),t==(WN(),g8)||t==_8?o.gd(new ss):o.gd(new cs),h=o.gc(),a=0;a<h;a++)s=h==1?.5:(1+a)/(h+1),t==g8?(u=O(N(K(d,(CB(),u4)))),d.e.a+d.f.a+i<u?eb(P(o.Xb(a),65).a,new A(u+n,d.e.b+d.f.b*s)):P(o.Xb(a),65).a.b>0&&(c=P(Ux(P(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=P(Ux(P(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(l-m)/(r.Math.abs(c-p)/40)>50&&(m>l?eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a+i/5.3,d.e.b+d.f.b*s-i/2)):eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a+i/5.3,d.e.b+d.f.b*s+i/2)))),eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a,d.e.b+d.f.b*s))):t==_8?(u=O(N(K(d,(CB(),d4)))),d.e.a-i>u?eb(P(o.Xb(a),65).a,new A(u-n,d.e.b+d.f.b*s)):P(o.Xb(a),65).a.b>0&&(c=P(Ux(P(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=P(Ux(P(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(l-m)/(r.Math.abs(c-p)/40)>50&&(m>l?eb(P(o.Xb(a),65).a,new A(d.e.a-i/5.3,d.e.b+d.f.b*s-i/2)):eb(P(o.Xb(a),65).a,new A(d.e.a-i/5.3,d.e.b+d.f.b*s+i/2)))),eb(P(o.Xb(a),65).a,new A(d.e.a,d.e.b+d.f.b*s))):t==y8?(u=O(N(K(d,(CB(),u4)))),d.e.b+d.f.b+i<u?eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s,u+n)):P(o.Xb(a),65).a.b>0&&(c=P(Ux(P(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=P(Ux(P(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(c-p)/(r.Math.abs(l-m)/40)>50&&(p>c?eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s-i/2,d.e.b+i/5.3+d.f.b)):eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s+i/2,d.e.b+i/5.3+d.f.b)))),eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s,d.e.b+d.f.b))):(u=O(N(K(d,(CB(),d4)))),cHe(P(o.Xb(a),65),e)?eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s,P(Ux(P(o.Xb(a),65).a),8).b)):d.e.b-i>u?eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s,u-n)):P(o.Xb(a),65).a.b>0&&(c=P(Ux(P(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=P(Ux(P(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(c-p)/(r.Math.abs(l-m)/40)>50&&(p>c?eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s-i/2,d.e.b-i/5.3)):eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s+i/2,d.e.b-i/5.3)))),eb(P(o.Xb(a),65).a,new A(d.e.a+d.f.a*s,d.e.b)))}function Mut(e,t,n){var r,i,a,o=t,s,c,l,u,d,f=n,p,m,h,g,_,v,y,b,x,S;if(bw(e.a,o)){if(w_(P(Zw(e.a,o),47),f))return 1}else ST(e.a,o,new Dh);if(bw(e.a,f)){if(w_(P(Zw(e.a,f),47),o))return-1}else ST(e.a,f,new Dh);if(bw(e.e,o)){if(w_(P(Zw(e.e,o),47),f))return-1}else ST(e.e,o,new Dh);if(bw(e.e,f)){if(w_(P(Zw(e.a,f),47),o))return 1}else ST(e.e,f,new Dh);if(o.j!=f.j)return x=mfe(o.j,f.j),x>0?Oz(e,o,f,1):Oz(e,f,o,1),x;if(S=1,o.e.c.length!=0&&f.e.c.length!=0){if((o.j==(wB(),N5)&&f.j==N5||o.j==m5&&f.j==m5||o.j==j5&&f.j==j5)&&(S=-S),u=P(AC(o.e,0),17).c,g=P(AC(f.e,0),17).c,c=u.i,m=g.i,c==m)for(y=new E(c.j);y.a<y.c.c.length;){if(v=P(z(y),12),u==v)return Oz(e,f,o,S),-S;if(g==v)return Oz(e,o,f,S),S}if(u.i.k==(MR(),BX)&&g.i.k==BX&&c.c.p==m.c.p&&c.c.p==o.i.c.p&&(b=c.c,i=$Ue(b,c,m),i!=0))return o.j==p5&&f.j==p5&&(S=-S),i>0?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S);if(r=$Ue(P(aO(Sw(e.d),nk(new Ce,new Se,new Ae,U(k(NY,1),Z,130,0,[(tN(),MY)]))),20),c,m),r!=0)return r>0?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S);if(e.c&&(x=HJe(e,o,f),x!=0))return x>0?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S)}return o.g.c.length!=0&&f.g.c.length!=0?((o.j==(wB(),N5)&&f.j==N5||o.j==j5&&f.j==j5)&&(S=-S),d=P(K(o,(Y(),x$)),9),_=P(K(f,x$),9),e.f==(eF(),u2)&&d&&_&&Kx(d,w$)&&Kx(_,w$)?(s=XR(d,_,e.b,P(K(e.b,C$),15).a),p=XR(_,d,e.b,P(K(e.b,C$),15).a),s>p?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S)):e.c&&(x=HJe(e,o,f),x!=0)?x>0?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S):(l=0,h=0,Kx(P(AC(o.g,0),17),w$)&&(l=XR(P(AC(o.g,0),246),P(AC(f.g,0),246),e.b,o.g.c.length+o.e.c.length)),Kx(P(AC(f.g,0),17),w$)&&(h=XR(P(AC(f.g,0),246),P(AC(o.g,0),246),e.b,f.g.c.length+f.e.c.length)),d&&d==_||e.g&&(e.g._b(d)&&(l=P(e.g.xc(d),15).a),e.g._b(_)&&(h=P(e.g.xc(_),15).a)),l>h?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S))):o.e.c.length!=0&&f.g.c.length!=0?(Oz(e,o,f,S),1):o.g.c.length!=0&&f.e.c.length!=0?(Oz(e,f,o,S),-1):Kx(o,(Y(),w$))&&Kx(f,w$)?(a=o.i.j.c.length,s=XR(o,f,e.b,a),p=XR(f,o,e.b,a),(o.j==(wB(),N5)&&f.j==N5||o.j==j5&&f.j==j5)&&(S=-S),s>p?(Oz(e,o,f,S),S):(Oz(e,f,o,S),-S)):(Oz(e,f,o,S),-S)}function Y(){Y=C;var e,t;T$=new Xm(bft),tEt=new Xm(`coordinateOrigin`),A$=new Xm(`processors`),eEt=new lS(`compoundNode`,(mx(),!1)),f$=new lS(`insideConnections`,!1),oEt=new Xm(`originalBendpoints`),sEt=new Xm(`originalDummyNodePosition`),cEt=new Xm(`originalLabelEdge`),M$=new Xm(`representedLabels`),n$=new Xm(`endLabels`),r$=new Xm(`endLabel.origin`),g$=new lS(`labelSide`,(AI(),z8)),S$=new lS(`maxEdgeThickness`,0),N$=new lS(`reversed`,!1),j$=new Xm(xft),y$=new lS(`longEdgeSource`,null),b$=new lS(`longEdgeTarget`,null),v$=new lS(`longEdgeHasLabelDummies`,!1),_$=new lS(`longEdgeBeforeLabelDummy`,!1),t$=new lS(`edgeConstraint`,(CM(),hQ)),m$=new Xm(`inLayerLayoutUnit`),p$=new lS(`inLayerConstraint`,(Nk(),KQ)),h$=new lS(`inLayerSuccessorConstraint`,new ah),iEt=new lS(`inLayerSuccessorConstraintBetweenNonDummies`,!1),O$=new Xm(`portDummy`),$Q=new lS(`crossingHint`,G(0)),l$=new lS(`graphProperties`,(t=P(t_(LQ),10),new FS(t,P(gS(t,t.length),10),0))),s$=new lS(`externalPortSide`,(wB(),M5)),rEt=new lS(`externalPortSize`,new Xg),a$=new Xm(`externalPortReplacedDummies`),o$=new Xm(`externalPortReplacedDummy`),i$=new lS(`externalPortConnections`,(e=P(t_(P5),10),new FS(e,P(gS(e,e.length),10),0))),k$=new lS(lft,0),$Tt=new Xm(`barycenterAssociates`),G$=new Xm(`TopSideComments`),YQ=new Xm(`BottomSideComments`),QQ=new Xm(`CommentConnectionPort`),d$=new lS(`inputCollect`,!1),E$=new lS(`outputCollect`,!1),e$=new lS(`cyclic`,!1),nEt=new Xm(`crossHierarchyMap`),V$=new Xm(`targetOffset`),new lS(`splineLabelSize`,new Xg),I$=new Xm(`spacings`),D$=new lS(`partitionConstraint`,!1),XQ=new Xm(`breakingPoint.info`),dEt=new Xm(`splines.survivingEdge`),z$=new Xm(`splines.route.start`),L$=new Xm(`splines.edgeChain`),uEt=new Xm(`originalPortConstraints`),F$=new Xm(`selfLoopHolder`),R$=new Xm(`splines.nsPortY`),w$=new Xm(`modelOrder`),C$=new Xm(`modelOrder.maximum`),ZQ=new Xm(`modelOrderGroups.cb.number`),x$=new Xm(`longEdgeTargetNode`),c$=new lS(npt,!1),P$=new lS(npt,!1),u$=new Xm(`layerConstraints.hiddenNodes`),lEt=new Xm(`layerConstraints.opposidePort`),B$=new Xm(`targetNode.modelOrder`),U$=new lS(`tarjan.lowlink`,G(JB)),H$=new lS(`tarjan.id`,G(-1)),W$=new lS(`tarjan.onstack`,!1),aEt=new lS(`partOfCycle`,!1),K$=new Xm(`medianHeuristic.weight`)}function LB(){LB=C;var e,t;x6=new Xm(sgt),i8=new Xm(cgt),sLt=(UF(),s6),oLt=new lb(hmt,sLt),new ih,S6=new lb(CU,null),cLt=new Xm(lgt),fLt=(eL(),zC(y6,U(k(b6,1),Z,299,0,[h6]))),T6=new lb(kG,fLt),E6=new lb(DG,(mx(),!1)),pLt=(WN(),v8),D6=new lb(OG,pLt),gLt=(UN(),k8),hLt=new lb(bG,gLt),yLt=new lb(agt,!1),bLt=(nN(),P8),A6=new lb(yG,bLt),PLt=new kb(12),W6=new lb(EU,PLt),N6=new lb(DU,!1),P6=new lb(NG,!1),U6=new lb(kU,!1),HLt=(iL(),a5),X6=new lb(yft,HLt),t8=new Xm(MG),n8=new Xm(bU),r8=new Xm(wU),a8=new Xm(TU),ELt=new Rh,F6=new lb(Emt,ELt),dLt=new lb(Amt,!1),xLt=new lb(jmt,!1),new Xm(ugt),new lb(dgt,0),DLt=new Nh,I6=new lb(Nmt,DLt),H6=new lb(pmt,!1),new ih,KLt=new lb(fgt,1),w6=new Xm(pgt),C6=new Xm(mgt),d8=new lb(FU,!1),new lb(hgt,!0),G(0),new lb(ggt,G(100)),new lb(_gt,!1),G(0),new lb(vgt,G(4e3)),G(0),new lb(ygt,G(400)),new lb(bgt,!1),new lb(xgt,!1),new lb(Sgt,!0),new lb(Cgt,!1),uLt=(CP(),_zt),lLt=new lb(ogt,uLt),TLt=(vA(),F5),wLt=new lb(wgt,TLt),CLt=(HN(),S8),SLt=new lb(Tgt,CLt),qLt=new lb(tmt,10),JLt=new lb(nmt,10),YLt=new lb(rmt,20),XLt=new lb(imt,10),ZLt=new lb(SU,2),QLt=new lb(EG,10),$Lt=new lb(amt,0),s8=new lb(cmt,5),eRt=new lb(omt,1),tRt=new lb(smt,1),c8=new lb(xU,20),nRt=new lb(lmt,10),aRt=new lb(umt,10),o8=new Xm(dmt),iRt=new lfe,rRt=new lb(Pmt,iRt),LLt=new Xm(jG),ILt=!1,FLt=new lb(AG,ILt),kLt=new kb(5),OLt=new lb(vmt,kLt),ALt=(wR(),t=P(t_(Y8),10),new FS(t,P(gS(t,t.length),10),0)),L6=new lb(NU,ALt),BLt=(wF(),Z8),zLt=new lb(xmt,BLt),K6=new Xm(Smt),q6=new Xm(Cmt),J6=new Xm(wmt),G6=new Xm(Tmt),jLt=(e=P(t_(B5),10),new FS(e,P(gS(e,e.length),10),0)),R6=new lb(MU,jLt),NLt=gP((Tz(),U5)),V6=new lb(jU,NLt),MLt=new A(0,0),B6=new lb(VU,MLt),z6=new lb(AU,!1),mLt=(dA(),C8),k6=new lb(Omt,mLt),O6=new lb(OU,!1),new Xm(Egt),G(1),new lb(Dgt,null),VLt=new Xm(Mmt),Z6=new Xm(kmt),GLt=(wB(),M5),e8=new lb(mmt,GLt),Y6=new Xm(fmt),ULt=(rR(),gP(u5)),$6=new lb(PU,ULt),Q6=new lb(ymt,!1),WLt=new lb(bmt,!0),G(1),uRt=new lb(GK,G(3)),G(1),fRt=new lb(Ogt,G(4)),new ih,p8=new lb(IU,1),m8=new lb(KK,null),u8=new lb(LU,150),l8=new lb(RU,1.414),f8=new lb(zU,null),oRt=new lb(kgt,1),j6=new lb(gmt,!1),M6=new lb(_mt,!1),_Lt=new lb(Dmt,1),vLt=(_L(),j8),new lb(Agt,vLt),RLt=!0,dRt=(lO(),uzt),cRt=(VN(),Y5),lRt=Y5,sRt=Y5}function RB(){RB=C,cwt=new wv(`DIRECTION_PREPROCESSOR`,0),awt=new wv(`COMMENT_PREPROCESSOR`,1),XX=new wv(`EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER`,2),eZ=new wv(`INTERACTIVE_EXTERNAL_PORT_POSITIONER`,3),Dwt=new wv(`PARTITION_PREPROCESSOR`,4),rZ=new wv(`LABEL_DUMMY_INSERTER`,5),vZ=new wv(`SELF_LOOP_PREPROCESSOR`,6),cZ=new wv(`LAYER_CONSTRAINT_PREPROCESSOR`,7),Twt=new wv(`PARTITION_MIDPROCESSOR`,8),gwt=new wv(`HIGH_DEGREE_NODE_LAYER_PROCESSOR`,9),Cwt=new wv(`NODE_PROMOTION`,10),sZ=new wv(`LAYER_CONSTRAINT_POSTPROCESSOR`,11),Ewt=new wv(`PARTITION_POSTPROCESSOR`,12),pwt=new wv(`HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR`,13),Owt=new wv(`SEMI_INTERACTIVE_CROSSMIN_PROCESSOR`,14),$Ct=new wv(`BREAKING_POINT_INSERTER`,15),uZ=new wv(`LONG_EDGE_SPLITTER`,16),mZ=new wv(`PORT_SIDE_PROCESSOR`,17),tZ=new wv(`INVERTED_PORT_PROCESSOR`,18),pZ=new wv(`PORT_LIST_SORTER`,19),Awt=new wv(`SORT_BY_INPUT_ORDER_OF_MODEL`,20),fZ=new wv(`NORTH_SOUTH_PORT_PREPROCESSOR`,21),ewt=new wv(`BREAKING_POINT_PROCESSOR`,22),wwt=new wv(qft,23),jwt=new wv(Jft,24),gZ=new wv(`SELF_LOOP_PORT_RESTORER`,25),QCt=new wv(`ALTERNATING_LAYER_UNZIPPER`,26),kwt=new wv(`SINGLE_EDGE_GRAPH_WRAPPER`,27),nZ=new wv(`IN_LAYER_CONSTRAINT_PROCESSOR`,28),uwt=new wv(`END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR`,29),xwt=new wv(`LABEL_AND_NODE_SIZE_PROCESSOR`,30),bwt=new wv(`INNERMOST_NODE_MARGIN_CALCULATOR`,31),yZ=new wv(`SELF_LOOP_ROUTER`,32),rwt=new wv(`COMMENT_NODE_MARGIN_CALCULATOR`,33),QX=new wv(`END_LABEL_PREPROCESSOR`,34),aZ=new wv(`LABEL_DUMMY_SWITCHER`,35),nwt=new wv(`CENTER_LABEL_MANAGEMENT_PROCESSOR`,36),oZ=new wv(`LABEL_SIDE_SELECTOR`,37),vwt=new wv(`HYPEREDGE_DUMMY_MERGER`,38),mwt=new wv(`HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR`,39),Swt=new wv(`LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR`,40),$X=new wv(`HIERARCHICAL_PORT_POSITION_PROCESSOR`,41),owt=new wv(`CONSTRAINTS_POSTPROCESSOR`,42),iwt=new wv(`COMMENT_POSTPROCESSOR`,43),ywt=new wv(`HYPERNODE_PROCESSOR`,44),hwt=new wv(`HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER`,45),lZ=new wv(`LONG_EDGE_JOINER`,46),_Z=new wv(`SELF_LOOP_POSTPROCESSOR`,47),twt=new wv(`BREAKING_POINT_REMOVER`,48),dZ=new wv(`NORTH_SOUTH_PORT_POSTPROCESSOR`,49),_wt=new wv(`HORIZONTAL_COMPACTOR`,50),iZ=new wv(`LABEL_DUMMY_REMOVER`,51),dwt=new wv(`FINAL_SPLINE_BENDPOINTS_CALCULATOR`,52),lwt=new wv(`END_LABEL_SORTER`,53),hZ=new wv(`REVERSED_EDGE_RESTORER`,54),ZX=new wv(`END_LABEL_POSTPROCESSOR`,55),fwt=new wv(`HIERARCHICAL_NODE_RESIZER`,56),swt=new wv(`DIRECTION_POSTPROCESSOR`,57)}function Nut(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe=0,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le;for(oe=t,le=0,fe=oe.length;le<fe;++le)for(ie=oe[le],be=new E(ie.j);be.a<be.c.c.length;){for(ye=P(z(be),12),Se=0,c=new E(ye.g);c.a<c.c.c.length;)s=P(z(c),17),ie.c!=s.d.i.c&&++Se;Se>0&&(e.a[ye.p]=Oe++)}for(Ne=0,se=n,ue=0,pe=se.length;ue<pe;++ue){for(ie=se[ue],me=0,be=new E(ie.j);be.a<be.c.c.length&&(ye=P(z(be),12),ye.j==(wB(),m5));)for(c=new E(ye.e);c.a<c.c.c.length;)if(s=P(z(c),17),ie.c!=s.c.i.c){++me;break}for(ge=0,Ce=new bD(ie.j,ie.j.c.length);Ce.b>0;){for(ye=(Bx(Ce.b>0),P(Ce.a.Xb(Ce.c=--Ce.b),12)),Se=0,c=new E(ye.e);c.a<c.c.c.length;)s=P(z(c),17),ie.c!=s.c.i.c&&++Se;Se>0&&(ye.j==(wB(),m5)?(e.a[ye.p]=Ne,++Ne):(e.a[ye.p]=Ne+me+ge,++ge))}Ne+=ge}for(xe=new oh,h=new pb,ae=t,ce=0,de=ae.length;ce<de;++ce)for(ie=ae[ce],je=new E(ie.j);je.a<je.c.c.length;)for(Ae=P(z(je),12),c=new E(Ae.g);c.a<c.c.c.length;)if(s=P(z(c),17),Fe=s.d,ie.c!=Fe.i.c)if(ke=P(By(VC(xe.f,Ae)),467),Pe=P(By(VC(xe.f,Fe)),467),!ke&&!Pe)m=new $ge,h.a.yc(m,h),$b(m.a,s),$b(m.d,Ae),XL(xe.f,Ae,m),$b(m.d,Fe),XL(xe.f,Fe,m);else if(!ke)$b(Pe.a,s),$b(Pe.d,Ae),XL(xe.f,Ae,Pe);else if(!Pe)$b(ke.a,s),$b(ke.d,Fe),XL(xe.f,Fe,ke);else if(ke==Pe)$b(ke.a,s);else{for($b(ke.a,s),ve=new E(Pe.d);ve.a<ve.c.c.length;)_e=P(z(ve),12),XL(xe.f,_e,ke);pM(ke.a,Pe.a),pM(ke.d,Pe.d),h.a.Ac(Pe)}for(g=P(lI(h,V(Ljt,{3:1,4:1,5:1,2007:1},467,h.a.gc(),0,1)),2007),re=t[0].c,De=n[0].c,d=g,f=0,p=d.length;f<p;++f)for(u=d[f],u.e=Oe,u.f=Ne,be=new E(u.d);be.a<be.c.c.length;)ye=P(z(be),12),we=e.a[ye.p],ye.i.c==re?(we<u.e&&(u.e=we),we>u.b&&(u.b=we)):ye.i.c==De&&(we<u.f&&(u.f=we),we>u.c&&(u.c=we));for(sk(g,0,g.length,null),Me=V(q9,JV,30,g.length,15,1),i=V(q9,JV,30,Ne+1,15,1),v=0;v<g.length;v++)Me[v]=g[v].f,i[Me[v]]=1;for(o=0,y=0;y<i.length;y++)i[y]==1?i[y]=o:--o;for(Te=0,b=0;b<Me.length;b++)Me[b]+=i[Me[b]],Te=r.Math.max(Te,Me[b]+1);for(l=1;l<Te;)l*=2;for(Le=2*l-1,--l,Ie=V(q9,JV,30,Le,15,1),a=0,ne=0;ne<Me.length;ne++)for(te=Me[ne]+l,++Ie[te];te>0;)te%2>0&&(a+=Ie[te+1]),te=(te-1)/2|0,++Ie[te];for(C=V(Rjt,$B,370,g.length*2,0,1),x=0;x<g.length;x++)C[2*x]=new LT(g[x],g[x].e,g[x].b,(sO(),M2)),C[2*x+1]=new LT(g[x],g[x].b,g[x].e,j2);for(sk(C,0,C.length,null),he=0,S=0;S<C.length;S++)switch(C[S].d.g){case 0:++he;break;case 1:--he,a+=he}for(Ee=V(Rjt,$B,370,g.length*2,0,1),ee=0;ee<g.length;ee++)Ee[2*ee]=new LT(g[ee],g[ee].f,g[ee].c,(sO(),M2)),Ee[2*ee+1]=new LT(g[ee],g[ee].c,g[ee].f,j2);for(sk(Ee,0,Ee.length,null),he=0,_=0;_<Ee.length;_++)switch(Ee[_].d.g){case 0:++he;break;case 1:--he,a+=he}return a}function zB(){zB=C,V9=new rh(7),IVt=(++W9,new NC(8,94)),++W9,new NC(8,64),LVt=(++W9,new NC(8,36)),HVt=(++W9,new NC(8,65)),UVt=(++W9,new NC(8,122)),WVt=(++W9,new NC(8,90)),KVt=(++W9,new NC(8,98)),VVt=(++W9,new NC(8,66)),GVt=(++W9,new NC(8,60)),qVt=(++W9,new NC(8,62)),PVt=new rh(11),B9=(++W9,new lD(4)),rz(B9,48,57),U9=(++W9,new lD(4)),rz(U9,48,57),rz(U9,65,90),rz(U9,95,95),rz(U9,97,122),H9=(++W9,new lD(4)),rz(H9,9,9),rz(H9,10,10),rz(H9,12,12),rz(H9,13,13),rz(H9,32,32),RVt=Pz(B9),BVt=Pz(U9),zVt=Pz(H9),L9=new oh,R9=new oh,jVt=U(k(vY,1),X,2,6,[`Cn`,`Lu`,`Ll`,`Lt`,`Lm`,`Lo`,`Mn`,`Me`,`Mc`,`Nd`,`Nl`,`No`,`Zs`,`Zl`,`Zp`,`Cc`,`Cf`,null,`Co`,`Cs`,`Pd`,`Ps`,`Pe`,`Pc`,`Po`,`Sm`,`Sc`,`Sk`,`So`,`Pi`,`Pf`,`L`,`M`,`N`,`Z`,`C`,`P`,`S`]),AVt=U(k(vY,1),X,2,6,[`Basic Latin`,`Latin-1 Supplement`,`Latin Extended-A`,`Latin Extended-B`,`IPA Extensions`,`Spacing Modifier Letters`,`Combining Diacritical Marks`,`Greek`,`Cyrillic`,`Armenian`,`Hebrew`,`Arabic`,`Syriac`,`Thaana`,`Devanagari`,`Bengali`,`Gurmukhi`,`Gujarati`,`Oriya`,`Tamil`,`Telugu`,`Kannada`,`Malayalam`,`Sinhala`,`Thai`,`Lao`,`Tibetan`,`Myanmar`,`Georgian`,`Hangul Jamo`,`Ethiopic`,`Cherokee`,`Unified Canadian Aboriginal Syllabics`,`Ogham`,`Runic`,`Khmer`,`Mongolian`,`Latin Extended Additional`,`Greek Extended`,`General Punctuation`,`Superscripts and Subscripts`,`Currency Symbols`,`Combining Marks for Symbols`,`Letterlike Symbols`,`Number Forms`,`Arrows`,`Mathematical Operators`,`Miscellaneous Technical`,`Control Pictures`,`Optical Character Recognition`,`Enclosed Alphanumerics`,`Box Drawing`,`Block Elements`,`Geometric Shapes`,`Miscellaneous Symbols`,`Dingbats`,`Braille Patterns`,`CJK Radicals Supplement`,`Kangxi Radicals`,`Ideographic Description Characters`,`CJK Symbols and Punctuation`,`Hiragana`,`Katakana`,`Bopomofo`,`Hangul Compatibility Jamo`,`Kanbun`,`Bopomofo Extended`,`Enclosed CJK Letters and Months`,`CJK Compatibility`,`CJK Unified Ideographs Extension A`,`CJK Unified Ideographs`,`Yi Syllables`,`Yi Radicals`,`Hangul Syllables`,_yt,`CJK Compatibility Ideographs`,`Alphabetic Presentation Forms`,`Arabic Presentation Forms-A`,`Combining Half Marks`,`CJK Compatibility Forms`,`Small Form Variants`,`Arabic Presentation Forms-B`,`Specials`,`Halfwidth and Fullwidth Forms`,`Old Italic`,`Gothic`,`Deseret`,`Byzantine Musical Symbols`,`Musical Symbols`,`Mathematical Alphanumeric Symbols`,`CJK Unified Ideographs Extension B`,`CJK Compatibility Ideographs Supplement`,`Tags`]),MVt=U(k(q9,1),JV,30,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function BB(){BB=C,iSt=new Tj(`OUT_T_L`,0,(uk(),HY),(Mk(),WY),(uA(),IY),IY,U(k($J,1),$B,22,0,[zC((wR(),G8),U(k(Y8,1),Z,96,0,[J8,V8]))])),rSt=new Tj(`OUT_T_C`,1,VY,WY,IY,LY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[J8,B8])),zC(G8,U(k(Y8,1),Z,96,0,[J8,B8,H8]))])),aSt=new Tj(`OUT_T_R`,2,UY,WY,IY,RY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[J8,U8]))])),Yxt=new Tj(`OUT_B_L`,3,HY,KY,RY,IY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[K8,V8]))])),Jxt=new Tj(`OUT_B_C`,4,VY,KY,RY,LY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[K8,B8])),zC(G8,U(k(Y8,1),Z,96,0,[K8,B8,H8]))])),Xxt=new Tj(`OUT_B_R`,5,UY,KY,RY,RY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[K8,U8]))])),$xt=new Tj(`OUT_L_T`,6,UY,KY,IY,IY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[V8,J8,H8]))])),Qxt=new Tj(`OUT_L_C`,7,UY,GY,LY,IY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[V8,q8])),zC(G8,U(k(Y8,1),Z,96,0,[V8,q8,H8]))])),Zxt=new Tj(`OUT_L_B`,8,UY,WY,RY,IY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[V8,K8,H8]))])),nSt=new Tj(`OUT_R_T`,9,HY,KY,IY,RY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[U8,J8,H8]))])),tSt=new Tj(`OUT_R_C`,10,HY,GY,LY,RY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[U8,q8])),zC(G8,U(k(Y8,1),Z,96,0,[U8,q8,H8]))])),eSt=new Tj(`OUT_R_B`,11,HY,WY,RY,RY,U(k($J,1),$B,22,0,[zC(G8,U(k(Y8,1),Z,96,0,[U8,K8,H8]))])),Kxt=new Tj(`IN_T_L`,12,HY,KY,IY,IY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[J8,V8])),zC(W8,U(k(Y8,1),Z,96,0,[J8,V8,H8]))])),Gxt=new Tj(`IN_T_C`,13,VY,KY,IY,LY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[J8,B8])),zC(W8,U(k(Y8,1),Z,96,0,[J8,B8,H8]))])),qxt=new Tj(`IN_T_R`,14,UY,KY,IY,RY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[J8,U8])),zC(W8,U(k(Y8,1),Z,96,0,[J8,U8,H8]))])),Uxt=new Tj(`IN_C_L`,15,HY,GY,LY,IY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[q8,V8])),zC(W8,U(k(Y8,1),Z,96,0,[q8,V8,H8]))])),Hxt=new Tj(`IN_C_C`,16,VY,GY,LY,LY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[q8,B8])),zC(W8,U(k(Y8,1),Z,96,0,[q8,B8,H8]))])),Wxt=new Tj(`IN_C_R`,17,UY,GY,LY,RY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[q8,U8])),zC(W8,U(k(Y8,1),Z,96,0,[q8,U8,H8]))])),Bxt=new Tj(`IN_B_L`,18,HY,WY,RY,IY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[K8,V8])),zC(W8,U(k(Y8,1),Z,96,0,[K8,V8,H8]))])),zxt=new Tj(`IN_B_C`,19,VY,WY,RY,LY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[K8,B8])),zC(W8,U(k(Y8,1),Z,96,0,[K8,B8,H8]))])),Vxt=new Tj(`IN_B_R`,20,UY,WY,RY,RY,U(k($J,1),$B,22,0,[zC(W8,U(k(Y8,1),Z,96,0,[K8,U8])),zC(W8,U(k(Y8,1),Z,96,0,[K8,U8,H8]))])),oSt=new Tj($H,21,null,null,null,null,U(k($J,1),$B,22,0,[]))}function Put(){Put=C,pDt=(Jk(),pQ),fDt=new lb(rpt,pDt),ADt=new lb(ipt,(mx(),!1)),IDt=(AD(),JQ),FDt=new lb(yW,IDt),lOt=new lb(apt,!1),uOt=new lb(opt,!0),gEt=new lb(spt,!1),AOt=(Sk(),d2),kOt=new lb(cpt,AOt),G(1),ROt=new lb(lpt,G(7)),zOt=new lb(upt,!1),jDt=new lb(dpt,!1),dDt=(NR(),sQ),uDt=new lb(bW,dDt),$Dt=(GR(),W0),QDt=new lb(xW,$Dt),UDt=(bP(),Z$),HDt=new lb(fpt,UDt),G(-1),VDt=new lb(ppt,null),G(-1),WDt=new lb(mpt,G(-1)),G(-1),GDt=new lb(SW,G(4)),G(-1),qDt=new lb(CW,G(2)),ZDt=(bz(),o2),XDt=new lb(wW,ZDt),G(0),YDt=new lb(TW,G(0)),zDt=new lb(EW,G(JB)),lDt=(xP(),nQ),cDt=new lb(DW,lDt),GEt=new lb(hpt,!1),eDt=new lb(OW,.1),oDt=new lb(kW,!1),nDt=new lb(gpt,null),rDt=new lb(_pt,null),G(-1),iDt=new lb(vpt,null),G(-1),aDt=new lb(ypt,G(-1)),G(0),KEt=new lb(bpt,G(40)),QEt=(rM(),BQ),ZEt=new lb(AW,QEt),JEt=RQ,qEt=new lb(jW,JEt),OOt=(PF(),Q0),DOt=new lb(MW,OOt),_Ot=new Xm(NW),fOt=(mk(),CQ),dOt=new lb(PW,fOt),hOt=(qI(),TQ),mOt=new lb(FW,hOt),new ih,bOt=new lb(IW,.3),SOt=new Xm(LW),wOt=(HF(),Y0),COt=new lb(RW,wOt),xDt=(iM(),g2),bDt=new lb(xpt,xDt),CDt=(eN(),y2),SDt=new lb(Spt,CDt),TDt=(hN(),x2),wDt=new lb(zW,TDt),DDt=new lb(BW,.2),vDt=new lb(VW,2),POt=new lb(Cpt,null),IOt=new lb(wpt,10),FOt=new lb(Tpt,10),LOt=new lb(Ept,20),G(0),jOt=new lb(Dpt,G(0)),G(0),MOt=new lb(Opt,G(0)),G(0),NOt=new lb(kpt,G(0)),_Et=new lb(HW,!1),xEt=(EL(),EQ),bEt=new lb(Apt,xEt),yEt=(KO(),eQ),vEt=new lb(jpt,yEt),NDt=new lb(UW,!1),G(0),MDt=new lb(WW,G(16)),G(0),PDt=new lb(GW,G(5)),ckt=(aM(),w2),skt=new lb(KW,ckt),BOt=new lb(qW,10),UOt=new lb(JW,1),QOt=(HA(),iQ),ZOt=new lb(YW,QOt),KOt=new Xm(XW),YOt=G(1),G(0),JOt=new lb(ZW,YOt),pkt=(BA(),S2),fkt=new lb(QW,pkt),lkt=new Xm($W),rkt=new lb(eG,!0),tkt=new lb(tG,2),akt=new lb(nG,!0),cOt=(cO(),$$),sOt=new lb(rG,cOt),nOt=new lb(iG,!1),tOt=G(2),G(1),eOt=new lb(aG,tOt),aOt=!0,iOt=new lb(oG,aOt),_Dt=(kL(),xQ),gDt=new lb(Mpt,_Dt),hDt=(WL(),YZ),mDt=new lb(Npt,hDt),WEt=(eF(),c2),UEt=new lb(sG,WEt),HEt=new lb(Ppt,!1),VEt=new lb(cG,!1),CEt=(dF(),NX),SEt=new lb(lG,CEt),BEt=(mN(),G0),zEt=new lb(Fpt,BEt),wEt=new lb(uG,0),TEt=new lb(dG,0),REt=new lb(fG,G(0)),LEt=new lb(pG,G(0)),IEt=new lb(mG,G(0)),DEt=(SM(),UQ),EEt=new lb(Ipt,DEt),OEt=new Xm(hG),AEt=new Xm(gG),FEt=UQ,PEt=new lb(Lpt,FEt),NEt=tE(cEe(U(k(hY,1),X,15,0,[G(1),G(2),G(6),G(7),G(10),G(11)]))),MEt=new lb(Rpt,NEt),RDt=lQ,LDt=tQ,KDt=U0,JDt=U0,BDt=V0,tDt=(nN(),N8),sDt=nQ,$Et=nQ,YEt=nQ,XEt=N8,vOt=t2,yOt=Q0,pOt=Q0,gOt=Q0,xOt=e2,EOt=t2,TOt=t2,EDt=(UN(),O8),ODt=O8,kDt=x2,yDt=D8,VOt=T2,HOt=C2,WOt=T2,GOt=C2,$Ot=T2,ekt=C2,qOt=rQ,XOt=iQ,mkt=T2,hkt=C2,ukt=T2,dkt=C2,ikt=C2,nkt=C2,okt=C2,rOt=G(2),oOt=Q$,kEt=fQ,jEt=fQ}function VB(){VB=C,J7=(Uw(),K7).b,P(H(R(K7.b),0),38),P(H(R(K7.b),1),19),q7=K7.a,P(H(R(K7.a),0),38),P(H(R(K7.a),1),19),P(H(R(K7.a),2),19),P(H(R(K7.a),3),19),P(H(R(K7.a),4),19),Y7=K7.o,P(H(R(K7.o),0),38),P(H(R(K7.o),1),38),wBt=P(H(R(K7.o),2),19),P(H(R(K7.o),3),19),P(H(R(K7.o),4),19),P(H(R(K7.o),5),19),P(H(R(K7.o),6),19),P(H(R(K7.o),7),19),P(H(R(K7.o),8),19),P(H(R(K7.o),9),19),P(H(R(K7.o),10),19),P(H(R(K7.o),11),19),P(H(R(K7.o),12),19),P(H(R(K7.o),13),19),P(H(R(K7.o),14),19),P(H(R(K7.o),15),19),P(H($T(K7.o),0),62),P(H($T(K7.o),1),62),P(H($T(K7.o),2),62),P(H($T(K7.o),3),62),P(H($T(K7.o),4),62),P(H($T(K7.o),5),62),P(H($T(K7.o),6),62),P(H($T(K7.o),7),62),P(H($T(K7.o),8),62),P(H($T(K7.o),9),62),CBt=K7.p,P(H(R(K7.p),0),38),P(H(R(K7.p),1),38),P(H(R(K7.p),2),38),P(H(R(K7.p),3),38),P(H(R(K7.p),4),19),P(H(R(K7.p),5),19),P(H($T(K7.p),0),62),P(H($T(K7.p),1),62),TBt=K7.q,P(H(R(K7.q),0),38),X7=K7.v,P(H(R(K7.v),0),19),P(H($T(K7.v),0),62),P(H($T(K7.v),1),62),P(H($T(K7.v),2),62),Z7=K7.w,P(H(R(K7.w),0),38),P(H(R(K7.w),1),38),P(H(R(K7.w),2),38),P(H(R(K7.w),3),19),Q7=K7.B,P(H(R(K7.B),0),19),P(H($T(K7.B),0),62),P(H($T(K7.B),1),62),P(H($T(K7.B),2),62),EBt=K7.Q,P(H(R(K7.Q),0),19),P(H($T(K7.Q),0),62),DBt=K7.R,P(H(R(K7.R),0),38),t9=K7.S,P(H($T(K7.S),0),62),P(H($T(K7.S),1),62),P(H($T(K7.S),2),62),P(H($T(K7.S),3),62),P(H($T(K7.S),4),62),P(H($T(K7.S),5),62),P(H($T(K7.S),6),62),P(H($T(K7.S),7),62),P(H($T(K7.S),8),62),P(H($T(K7.S),9),62),P(H($T(K7.S),10),62),P(H($T(K7.S),11),62),P(H($T(K7.S),12),62),P(H($T(K7.S),13),62),P(H($T(K7.S),14),62),n9=K7.T,P(H(R(K7.T),0),19),P(H(R(K7.T),2),19),OBt=P(H(R(K7.T),3),19),P(H(R(K7.T),4),19),P(H($T(K7.T),0),62),P(H($T(K7.T),1),62),P(H(R(K7.T),1),19),r9=K7.U,P(H(R(K7.U),0),38),P(H(R(K7.U),1),38),P(H(R(K7.U),2),19),P(H(R(K7.U),3),19),P(H(R(K7.U),4),19),P(H(R(K7.U),5),19),P(H($T(K7.U),0),62),i9=K7.V,P(H(R(K7.V),0),19),a9=K7.W,P(H(R(K7.W),0),38),P(H(R(K7.W),1),38),P(H(R(K7.W),2),38),P(H(R(K7.W),3),19),P(H(R(K7.W),4),19),P(H(R(K7.W),5),19),kBt=K7.bb,P(H(R(K7.bb),0),38),P(H(R(K7.bb),1),38),P(H(R(K7.bb),2),38),P(H(R(K7.bb),3),38),P(H(R(K7.bb),4),38),P(H(R(K7.bb),5),38),P(H(R(K7.bb),6),38),P(H(R(K7.bb),7),19),P(H($T(K7.bb),0),62),P(H($T(K7.bb),1),62),ABt=K7.eb,P(H(R(K7.eb),0),38),P(H(R(K7.eb),1),38),P(H(R(K7.eb),2),38),P(H(R(K7.eb),3),38),P(H(R(K7.eb),4),38),P(H(R(K7.eb),5),38),P(H(R(K7.eb),6),19),P(H(R(K7.eb),7),19),o9=K7.ab,P(H(R(K7.ab),0),38),P(H(R(K7.ab),1),38),$7=K7.H,P(H(R(K7.H),0),19),P(H(R(K7.H),1),19),P(H(R(K7.H),2),19),P(H(R(K7.H),3),19),P(H(R(K7.H),4),19),P(H(R(K7.H),5),19),P(H($T(K7.H),0),62),s9=K7.db,P(H(R(K7.db),0),19),e9=K7.M}function Fut(e){var t;e.O||(e.O=!0,hj(e,`type`),vj(e,`ecore.xml.type`),yj(e,IJ),t=P(kR(($_(),V7),IJ),2006),XO(cE(e.fb),e.b),CD(e.b,v9,`AnyType`,!1,!1,!0),xj(P(H(R(e.b),0),38),e.wb.D,fJ,null,0,-1,v9,!1,!1,!0,!1,!1,!1),xj(P(H(R(e.b),1),38),e.wb.D,`any`,null,0,-1,v9,!0,!0,!0,!1,!1,!0),xj(P(H(R(e.b),2),38),e.wb.D,`anyAttribute`,null,0,-1,v9,!1,!1,!0,!1,!1,!1),CD(e.bb,y9,Bvt,!1,!1,!0),xj(P(H(R(e.bb),0),38),e.gb,`data`,null,0,1,y9,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.bb),1),38),e.gb,m_t,null,1,1,y9,!1,!1,!0,!1,!0,!1),CD(e.fb,b9,Vvt,!1,!1,!0),xj(P(H(R(e.fb),0),38),t.gb,`rawValue`,null,0,1,b9,!0,!0,!0,!1,!0,!0),xj(P(H(R(e.fb),1),38),t.a,_q,null,0,1,b9,!0,!0,!0,!1,!0,!0),TI(P(H(R(e.fb),2),19),e.wb.q,null,`instanceType`,1,1,b9,!1,!1,!0,!1,!1,!1,!1),CD(e.qb,cVt,Hvt,!1,!1,!0),xj(P(H(R(e.qb),0),38),e.wb.D,fJ,null,0,-1,null,!1,!1,!0,!1,!1,!1),TI(P(H(R(e.qb),1),19),e.wb.ab,null,`xMLNSPrefixMap`,0,-1,null,!0,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.qb),2),19),e.wb.ab,null,`xSISchemaLocation`,0,-1,null,!0,!1,!0,!0,!1,!1,!1),xj(P(H(R(e.qb),3),38),e.gb,`cDATA`,null,0,-2,null,!0,!0,!0,!1,!1,!0),xj(P(H(R(e.qb),4),38),e.gb,`comment`,null,0,-2,null,!0,!0,!0,!1,!1,!0),TI(P(H(R(e.qb),5),19),e.bb,null,lyt,0,-2,null,!0,!0,!0,!0,!1,!1,!0),xj(P(H(R(e.qb),6),38),e.gb,Sq,null,0,-2,null,!0,!0,!0,!1,!1,!0),FT(e.a,ZJ,`AnySimpleType`,!0),FT(e.c,vY,`AnyURI`,!0),FT(e.d,k(X9,1),`Base64Binary`,!0),FT(e.e,J9,`Boolean`,!0),FT(e.f,uY,`BooleanObject`,!0),FT(e.g,X9,`Byte`,!0),FT(e.i,dY,`ByteObject`,!0),FT(e.j,vY,`Date`,!0),FT(e.k,vY,`DateTime`,!0),FT(e.n,jbt,`Decimal`,!0),FT(e.o,Z9,`Double`,!0),FT(e.p,pY,`DoubleObject`,!0),FT(e.q,vY,`Duration`,!0),FT(e.s,eY,`ENTITIES`,!0),FT(e.r,eY,`ENTITIESBase`,!0),FT(e.t,vY,Kvt,!0),FT(e.u,Q9,`Float`,!0),FT(e.v,mY,`FloatObject`,!0),FT(e.w,vY,`GDay`,!0),FT(e.B,vY,`GMonth`,!0),FT(e.A,vY,`GMonthDay`,!0),FT(e.C,vY,`GYear`,!0),FT(e.D,vY,`GYearMonth`,!0),FT(e.F,k(X9,1),`HexBinary`,!0),FT(e.G,vY,`ID`,!0),FT(e.H,vY,`IDREF`,!0),FT(e.J,eY,`IDREFS`,!0),FT(e.I,eY,`IDREFSBase`,!0),FT(e.K,q9,`Int`,!0),FT(e.M,CY,`Integer`,!0),FT(e.L,hY,`IntObject`,!0),FT(e.P,vY,`Language`,!0),FT(e.Q,Y9,`Long`,!0),FT(e.R,gY,`LongObject`,!0),FT(e.S,vY,`Name`,!0),FT(e.T,vY,HJ,!0),FT(e.U,CY,`NegativeInteger`,!0),FT(e.V,vY,tyt,!0),FT(e.X,eY,`NMTOKENS`,!0),FT(e.W,eY,`NMTOKENSBase`,!0),FT(e.Y,CY,`NonNegativeInteger`,!0),FT(e.Z,CY,`NonPositiveInteger`,!0),FT(e.$,vY,`NormalizedString`,!0),FT(e._,vY,`NOTATION`,!0),FT(e.ab,vY,`PositiveInteger`,!0),FT(e.cb,vY,`QName`,!0),FT(e.db,$9,`Short`,!0),FT(e.eb,_Y,`ShortObject`,!0),FT(e.gb,vY,adt,!0),FT(e.hb,vY,`Time`,!0),FT(e.ib,vY,`Token`,!0),FT(e.jb,$9,`UnsignedByte`,!0),FT(e.kb,_Y,`UnsignedByteObject`,!0),FT(e.lb,Y9,`UnsignedInt`,!0),FT(e.mb,gY,`UnsignedIntObject`,!0),FT(e.nb,CY,`UnsignedLong`,!0),FT(e.ob,q9,`UnsignedShort`,!0),FT(e.pb,hY,`UnsignedShortObject`,!0),kUe(e,IJ),Rut(e))}function Iut(e,t,n,i){var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De;if(i.Zg()||hg(eS(J(t,(LB(),H6)))))return KT(),KT(),EY;if(te=(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i!=0,C=U2e(t),ne=!C.dc(),te||ne){if(a=P(J(t,i8),144),!a)throw D(new vg(`Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout.`));if(we=kde(a,(SR(),b7)),Vqe(t),!te&&ne&&!we)return KT(),KT(),EY;if(b=new ah,j(J(t,A6))===j((nN(),N8))&&(kde(a,v7)||kde(a,_7))){if(hg(eS(J(t,d8))))throw D(new vg(`Topdown layout cannot be used together with hierarchy handling.`));for(de=Det(e,t),fe=new E_,bj(fe,(!t.a&&(t.a=new F(p7,t,10,11)),t.a));fe.b!=0;)le=P(fe.b==0?null:(Bx(fe.b!=0),aA(fe,fe.a.a)),26),Vqe(le),Ce=j(J(le,A6))===j(F8),Ce||qO(le,x6)&&!gNe(a,J(le,i8))?(_=Iut(e,le,n,i),pM(b,_),IF(le,A6,F8),Vtt(le)):bj(fe,(!le.a&&(le.a=new F(p7,le,10,11)),le.a))}else{if(de=(!t.a&&(t.a=new F(p7,t,10,11)),t.a).i,hg(eS(J(t,d8)))){if(Te=i.dh(1),Te.Tg($ht,1),J(t,f8)==null)throw D(new vg(t.k+` has not been assigned a top-down node type.`));if(P(J(t,f8),281)==(VN(),Y5)||P(J(t,f8),281)==X5)for(y=new lx((!t.a&&(t.a=new F(p7,t,10,11)),t.a));y.e!=y.i.gc();)v=P(OF(y),26),ce=P(J(v,i8),144),me=P(J(v,W6),104),(!v.a&&(v.a=new F(p7,v,10,11)),v.a).i>0&&pE(ce.f),J(v,m8)!=null&&(!v.a&&(v.a=new F(p7,v,10,11)),v.a)&&(!v.a&&(v.a=new F(p7,v,10,11)),v.a).i>0?(c=P(J(v,m8),521),Se=c.Sg(v),Cb(v,r.Math.max(v.g,Se.a+me.b+me.c),r.Math.max(v.f,Se.b+me.d+me.a))):(!v.a&&(v.a=new F(p7,v,10,11)),v.a).i!=0&&(Se=new A(O(N(J(v,u8))),O(N(J(v,u8)))/O(N(J(v,l8)))),Cb(v,r.Math.max(v.g,Se.a+me.b+me.c),r.Math.max(v.f,Se.b+me.d+me.a)));if(pe=P(J(t,W6),104),m=t.g-(pe.b+pe.c),p=t.f-(pe.d+pe.a),Te.ah(`Available Child Area: (`+m+`|`+p+`)`),IF(t,S6,m/p),Jqe(t,a,i.dh(de)),P(J(t,f8),281)==X5&&(Wlt(t),Cb(t,pe.b+O(N(J(t,w6)))+pe.c,pe.d+O(N(J(t,C6)))+pe.a)),Te.ah(`Executed layout algorithm: `+tS(J(t,x6))+` on node `+t.k),P(J(t,f8),281)==Y5){if(m<0||p<0)throw D(new vg(`The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. `+t.k));for(qO(t,w6)||qO(t,C6)||Wlt(t),g=O(N(J(t,w6))),h=O(N(J(t,C6))),Te.ah(`Desired Child Area: (`+g+`|`+h+`)`),ge=m/g,_e=p/h,he=r.Math.min(ge,r.Math.min(_e,O(N(J(t,oRt))))),IF(t,p8,he),Te.ah(t.k+` -- Local Scale Factor (X|Y): (`+ge+`|`+_e+`)`),x=P(J(t,T6),22),o=0,s=0,he<ge&&(x.Gc((eL(),m6))?o=(m/2-g*he/2)/he:x.Gc(g6)&&(o=(m-g*he)/he)),he<_e&&(x.Gc((eL(),v6))?s=(p/2-h*he/2)/he:x.Gc(_6)&&(s=(p-h*he)/he)),Ee=o+(pe.b/he-pe.b),De=s+(pe.d/he-pe.d),Te.ah(`Shift: (`+Ee+`|`+De+`)`),ue=new lx((!t.a&&(t.a=new F(p7,t,10,11)),t.a));ue.e!=ue.i.gc();)le=P(OF(ue),26),TA(le,le.i+Ee),EA(le,le.j+De);for(ee=new lx((!t.b&&(t.b=new F(i7,t,12,3)),t.b));ee.e!=ee.i.gc();){for(S=P(OF(ee),85),ye=new lx((!S.a&&(S.a=new F(a7,S,6,6)),S.a));ye.e!=ye.i.gc();)for(ve=P(OF(ye),170),Tb(ve,ve.j+Ee,ve.k+De),wb(ve,ve.b+Ee,ve.c+De),u=new lx((!ve.a&&(ve.a=new ix(e7,ve,5)),ve.a));u.e!=u.i.gc();)l=P(OF(u),372),Sb(l,l.a+Ee,l.b+De);for(se=new lx((!S.n&&(S.n=new F(f7,S,1,7)),S.n));se.e!=se.i.gc();)oe=P(OF(se),157),xb(oe,oe.i+Ee,oe.j+De);for(ae=P(J(S,F6),78),ie=TF(ae,0);ie.b!=ie.d.c;)re=P(RD(ie),8),re.a+=Ee,re.b+=De;IF(S,F6,ae)}}Te.Ug()}for(f=new lx((!t.a&&(t.a=new F(p7,t,10,11)),t.a));f.e!=f.i.gc();)d=P(OF(f),26),_=Iut(e,d,n,i),pM(b,_),Vtt(d)}if(i.Zg())return KT(),KT(),EY;for(xe=new E(b);xe.a<xe.c.c.length;)be=P(z(xe),85),IF(be,H6,(mx(),!0));return hg(eS(J(t,d8)))||Jqe(t,a,i.dh(de)),_nt(b),ne&&we?C:(KT(),KT(),EY)}else return KT(),KT(),EY}function HB(e,t){var n,r;return F9||(F9=new oh,I9=new oh,r=(zB(),zB(),++W9,new lD(4)),JP(r,`
\r\r `),LE(F9,fyt,r),LE(I9,fyt,Pz(r)),r=(++W9,new lD(4)),JP(r,hyt),LE(F9,qJ,r),LE(I9,qJ,Pz(r)),r=(++W9,new lD(4)),JP(r,hyt),LE(F9,qJ,r),LE(I9,qJ,Pz(r)),r=(++W9,new lD(4)),JP(r,gyt),eB(r,P(vE(F9,qJ),121)),LE(F9,dyt,r),LE(I9,dyt,Pz(r)),r=(++W9,new lD(4)),JP(r,`-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣`),LE(F9,pyt,r),LE(I9,pyt,Pz(r)),r=(++W9,new lD(4)),JP(r,gyt),rz(r,95,95),rz(r,58,58),LE(F9,myt,r),LE(I9,myt,Pz(r))),n=P(vE(t?F9:I9,e),137),n}function Lut(e){Y_(e,new uL(Roe(Fg(Rg(Pg(Lg(Ig(new oc,gH),`ELK Layered`),`Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level.`),new ha),gH),zC((SR(),Jzt),U(k(S7,1),Z,244,0,[b7,x7,y7,qzt,v7,_7]))))),B(e,gH,tmt,DF(_0)),B(e,gH,nmt,DF(uAt)),B(e,gH,rmt,DF(v0)),B(e,gH,imt,DF(y0)),B(e,gH,SU,DF(x0)),B(e,gH,EG,DF(S0)),B(e,gH,amt,DF(T0)),B(e,gH,omt,DF(D0)),B(e,gH,smt,DF(O0)),B(e,gH,cmt,DF(E0)),B(e,gH,xU,DF(k0)),B(e,gH,lmt,DF(j0)),B(e,gH,umt,DF(N0)),B(e,gH,dmt,DF(w0)),B(e,gH,Cpt,DF(g0)),B(e,gH,Tpt,DF(b0)),B(e,gH,wpt,DF(C0)),B(e,gH,Ept,DF(A0)),B(e,gH,bU,G(0)),B(e,gH,Dpt,DF(m0)),B(e,gH,Opt,DF(sAt)),B(e,gH,kpt,DF(h0)),B(e,gH,KW,DF(CAt)),B(e,gH,qW,DF(gAt)),B(e,gH,JW,DF(_At)),B(e,gH,YW,DF(I0)),B(e,gH,XW,DF(vAt)),B(e,gH,ZW,DF(yAt)),B(e,gH,QW,DF(R0)),B(e,gH,$W,DF(L0)),B(e,gH,eG,DF(xAt)),B(e,gH,tG,DF(bAt)),B(e,gH,nG,DF(SAt)),B(e,gH,rG,DF(Wkt)),B(e,gH,iG,DF(G1)),B(e,gH,aG,DF(W1)),B(e,gH,oG,DF(K1)),B(e,gH,LW,DF(Q1)),B(e,gH,RW,DF($1)),B(e,gH,zW,DF(M1)),B(e,gH,BW,DF(Mkt)),B(e,gH,FU,DF(pAt)),B(e,gH,IU,DF(hAt)),B(e,gH,LU,DF(fAt)),B(e,gH,RU,DF(dAt)),B(e,gH,zU,mAt),B(e,gH,EU,Xkt),B(e,gH,bG,kkt),B(e,gH,fmt,0),B(e,gH,wU,G(1)),B(e,gH,CU,vU),B(e,gH,pmt,DF(a0)),B(e,gH,yft,DF(l0)),B(e,gH,mmt,DF(f0)),B(e,gH,DG,DF(Ekt)),B(e,gH,hmt,DF(e1)),B(e,gH,yG,DF(F1)),B(e,gH,TU,(mx(),!0)),B(e,gH,gmt,DF(L1)),B(e,gH,_mt,DF(R1)),B(e,gH,MU,DF(t0)),B(e,gH,jU,DF(i0)),B(e,gH,AU,DF(n0)),B(e,gH,OG,Okt),B(e,gH,NU,DF(Y1)),B(e,gH,vmt,DF(J1)),B(e,gH,PU,DF(d0)),B(e,gH,ymt,DF(rAt)),B(e,gH,bmt,DF(iAt)),B(e,gH,xmt,Qkt),B(e,gH,Smt,DF(eAt)),B(e,gH,Cmt,DF(tAt)),B(e,gH,wmt,DF(nAt)),B(e,gH,Tmt,DF($kt)),B(e,gH,upt,DF(F0)),B(e,gH,xW,DF(U1)),B(e,gH,wW,DF(H1)),B(e,gH,lpt,DF(P0)),B(e,gH,fpt,DF(B1)),B(e,gH,bW,DF(w1)),B(e,gH,DW,DF(C1)),B(e,gH,hpt,DF(v1)),B(e,gH,bpt,DF(xkt)),B(e,gH,AW,DF(b1)),B(e,gH,jW,DF(y1)),B(e,gH,kW,DF(S1)),B(e,gH,apt,DF(Gkt)),B(e,gH,opt,DF(Kkt)),B(e,gH,yW,DF(Rkt)),B(e,gH,MW,DF(e0)),B(e,gH,FW,DF(X1)),B(e,gH,ipt,DF(P1)),B(e,gH,IW,DF(Jkt)),B(e,gH,xpt,DF(jkt)),B(e,gH,Spt,DF(j1)),B(e,gH,kG,DF(_1)),B(e,gH,PW,DF(qkt)),B(e,gH,Apt,DF(a1)),B(e,gH,jpt,DF(gkt)),B(e,gH,HW,DF(i1)),B(e,gH,UW,DF(Fkt)),B(e,gH,WW,DF(Pkt)),B(e,gH,GW,DF(Ikt)),B(e,gH,VU,DF(r0)),B(e,gH,Emt,DF(z1)),B(e,gH,Dmt,DF(N1)),B(e,gH,Omt,DF(O1)),B(e,gH,OU,DF(D1)),B(e,gH,OW,DF(Skt)),B(e,gH,kmt,DF(u0)),B(e,gH,Amt,DF(r1)),B(e,gH,jmt,DF(I1)),B(e,gH,Mmt,DF(s0)),B(e,gH,AG,DF(Zkt)),B(e,gH,jG,DF(o0)),B(e,gH,SW,DF(Vkt)),B(e,gH,CW,DF(Hkt)),B(e,gH,MG,DF(p0)),B(e,gH,spt,DF(t1)),B(e,gH,TW,DF(Ukt)),B(e,gH,Mpt,DF(k1)),B(e,gH,Npt,DF(E1)),B(e,gH,Nmt,DF(q1)),B(e,gH,EW,DF(zkt)),B(e,gH,NW,DF(Z1)),B(e,gH,Pmt,DF(M0)),B(e,gH,rpt,DF(Dkt)),B(e,gH,cpt,DF(aAt)),B(e,gH,VW,DF(Akt)),B(e,gH,gpt,DF(Ckt)),B(e,gH,_pt,DF(wkt)),B(e,gH,ppt,DF(Bkt)),B(e,gH,vpt,DF(Tkt)),B(e,gH,NG,DF(Lkt)),B(e,gH,mpt,DF(V1)),B(e,gH,ypt,DF(x1)),B(e,gH,sG,DF(g1)),B(e,gH,Fpt,DF(p1)),B(e,gH,uG,DF(s1)),B(e,gH,dG,DF(c1)),B(e,gH,cG,DF(m1)),B(e,gH,lG,DF(o1)),B(e,gH,Ppt,DF(h1)),B(e,gH,fG,DF(f1)),B(e,gH,pG,DF(d1)),B(e,gH,mG,DF(bkt)),B(e,gH,Ipt,DF(l1)),B(e,gH,Lpt,DF(u1)),B(e,gH,Rpt,DF(ykt)),B(e,gH,hG,DF(_kt)),B(e,gH,gG,DF(vkt)),B(e,gH,dpt,DF(Nkt))}function Rut(e){AR(e.a,pJ,U(k(vY,1),X,2,6,[Nq,`anySimpleType`])),AR(e.b,pJ,U(k(vY,1),X,2,6,[Nq,`anyType`,mJ,fJ])),AR(P(H(R(e.b),0),38),pJ,U(k(vY,1),X,2,6,[mJ,jJ,Nq,`:mixed`])),AR(P(H(R(e.b),1),38),pJ,U(k(vY,1),X,2,6,[mJ,jJ,Rvt,zvt,Nq,`:1`,Uvt,`lax`])),AR(P(H(R(e.b),2),38),pJ,U(k(vY,1),X,2,6,[mJ,Ivt,Rvt,zvt,Nq,`:2`,Uvt,`lax`])),AR(e.c,pJ,U(k(vY,1),X,2,6,[Nq,`anyURI`,FJ,MJ])),AR(e.d,pJ,U(k(vY,1),X,2,6,[Nq,`base64Binary`,FJ,MJ])),AR(e.e,pJ,U(k(vY,1),X,2,6,[Nq,GB,FJ,MJ])),AR(e.f,pJ,U(k(vY,1),X,2,6,[Nq,`boolean:Object`,wJ,GB])),AR(e.g,pJ,U(k(vY,1),X,2,6,[Nq,rJ])),AR(e.i,pJ,U(k(vY,1),X,2,6,[Nq,`byte:Object`,wJ,rJ])),AR(e.j,pJ,U(k(vY,1),X,2,6,[Nq,`date`,FJ,MJ])),AR(e.k,pJ,U(k(vY,1),X,2,6,[Nq,`dateTime`,FJ,MJ])),AR(e.n,pJ,U(k(vY,1),X,2,6,[Nq,`decimal`,FJ,MJ])),AR(e.o,pJ,U(k(vY,1),X,2,6,[Nq,aJ,FJ,MJ])),AR(e.p,pJ,U(k(vY,1),X,2,6,[Nq,`double:Object`,wJ,aJ])),AR(e.q,pJ,U(k(vY,1),X,2,6,[Nq,`duration`,FJ,MJ])),AR(e.s,pJ,U(k(vY,1),X,2,6,[Nq,`ENTITIES`,wJ,Wvt,Gvt,`1`])),AR(e.r,pJ,U(k(vY,1),X,2,6,[Nq,Wvt,Lvt,Kvt])),AR(e.t,pJ,U(k(vY,1),X,2,6,[Nq,Kvt,wJ,HJ])),AR(e.u,pJ,U(k(vY,1),X,2,6,[Nq,oJ,FJ,MJ])),AR(e.v,pJ,U(k(vY,1),X,2,6,[Nq,`float:Object`,wJ,oJ])),AR(e.w,pJ,U(k(vY,1),X,2,6,[Nq,`gDay`,FJ,MJ])),AR(e.B,pJ,U(k(vY,1),X,2,6,[Nq,`gMonth`,FJ,MJ])),AR(e.A,pJ,U(k(vY,1),X,2,6,[Nq,`gMonthDay`,FJ,MJ])),AR(e.C,pJ,U(k(vY,1),X,2,6,[Nq,`gYear`,FJ,MJ])),AR(e.D,pJ,U(k(vY,1),X,2,6,[Nq,`gYearMonth`,FJ,MJ])),AR(e.F,pJ,U(k(vY,1),X,2,6,[Nq,`hexBinary`,FJ,MJ])),AR(e.G,pJ,U(k(vY,1),X,2,6,[Nq,`ID`,wJ,HJ])),AR(e.H,pJ,U(k(vY,1),X,2,6,[Nq,`IDREF`,wJ,HJ])),AR(e.J,pJ,U(k(vY,1),X,2,6,[Nq,`IDREFS`,wJ,qvt,Gvt,`1`])),AR(e.I,pJ,U(k(vY,1),X,2,6,[Nq,qvt,Lvt,`IDREF`])),AR(e.K,pJ,U(k(vY,1),X,2,6,[Nq,sJ])),AR(e.M,pJ,U(k(vY,1),X,2,6,[Nq,Jvt])),AR(e.L,pJ,U(k(vY,1),X,2,6,[Nq,`int:Object`,wJ,sJ])),AR(e.P,pJ,U(k(vY,1),X,2,6,[Nq,`language`,wJ,Yvt,Xvt,Zvt])),AR(e.Q,pJ,U(k(vY,1),X,2,6,[Nq,cJ])),AR(e.R,pJ,U(k(vY,1),X,2,6,[Nq,`long:Object`,wJ,cJ])),AR(e.S,pJ,U(k(vY,1),X,2,6,[Nq,`Name`,wJ,Yvt,Xvt,Qvt])),AR(e.T,pJ,U(k(vY,1),X,2,6,[Nq,HJ,wJ,`Name`,Xvt,$vt])),AR(e.U,pJ,U(k(vY,1),X,2,6,[Nq,`negativeInteger`,wJ,eyt,UJ,`-1`])),AR(e.V,pJ,U(k(vY,1),X,2,6,[Nq,tyt,wJ,Yvt,Xvt,`\\c+`])),AR(e.X,pJ,U(k(vY,1),X,2,6,[Nq,`NMTOKENS`,wJ,nyt,Gvt,`1`])),AR(e.W,pJ,U(k(vY,1),X,2,6,[Nq,nyt,Lvt,tyt])),AR(e.Y,pJ,U(k(vY,1),X,2,6,[Nq,ryt,wJ,Jvt,WJ,`0`])),AR(e.Z,pJ,U(k(vY,1),X,2,6,[Nq,eyt,wJ,Jvt,UJ,`0`])),AR(e.$,pJ,U(k(vY,1),X,2,6,[Nq,iyt,wJ,KB,FJ,`replace`])),AR(e._,pJ,U(k(vY,1),X,2,6,[Nq,`NOTATION`,FJ,MJ])),AR(e.ab,pJ,U(k(vY,1),X,2,6,[Nq,`positiveInteger`,wJ,ryt,WJ,`1`])),AR(e.bb,pJ,U(k(vY,1),X,2,6,[Nq,`processingInstruction_._type`,mJ,`empty`])),AR(P(H(R(e.bb),0),38),pJ,U(k(vY,1),X,2,6,[mJ,kJ,Nq,`data`])),AR(P(H(R(e.bb),1),38),pJ,U(k(vY,1),X,2,6,[mJ,kJ,Nq,m_t])),AR(e.cb,pJ,U(k(vY,1),X,2,6,[Nq,`QName`,FJ,MJ])),AR(e.db,pJ,U(k(vY,1),X,2,6,[Nq,lJ])),AR(e.eb,pJ,U(k(vY,1),X,2,6,[Nq,`short:Object`,wJ,lJ])),AR(e.fb,pJ,U(k(vY,1),X,2,6,[Nq,`simpleAnyType`,mJ,OJ])),AR(P(H(R(e.fb),0),38),pJ,U(k(vY,1),X,2,6,[Nq,`:3`,mJ,OJ])),AR(P(H(R(e.fb),1),38),pJ,U(k(vY,1),X,2,6,[Nq,`:4`,mJ,OJ])),AR(P(H(R(e.fb),2),19),pJ,U(k(vY,1),X,2,6,[Nq,`:5`,mJ,OJ])),AR(e.gb,pJ,U(k(vY,1),X,2,6,[Nq,KB,FJ,`preserve`])),AR(e.hb,pJ,U(k(vY,1),X,2,6,[Nq,`time`,FJ,MJ])),AR(e.ib,pJ,U(k(vY,1),X,2,6,[Nq,Yvt,wJ,iyt,FJ,MJ])),AR(e.jb,pJ,U(k(vY,1),X,2,6,[Nq,ayt,UJ,`255`,WJ,`0`])),AR(e.kb,pJ,U(k(vY,1),X,2,6,[Nq,`unsignedByte:Object`,wJ,ayt])),AR(e.lb,pJ,U(k(vY,1),X,2,6,[Nq,oyt,UJ,`4294967295`,WJ,`0`])),AR(e.mb,pJ,U(k(vY,1),X,2,6,[Nq,`unsignedInt:Object`,wJ,oyt])),AR(e.nb,pJ,U(k(vY,1),X,2,6,[Nq,`unsignedLong`,wJ,ryt,UJ,syt,WJ,`0`])),AR(e.ob,pJ,U(k(vY,1),X,2,6,[Nq,cyt,UJ,`65535`,WJ,`0`])),AR(e.pb,pJ,U(k(vY,1),X,2,6,[Nq,`unsignedShort:Object`,wJ,cyt])),AR(e.qb,pJ,U(k(vY,1),X,2,6,[Nq,``,mJ,fJ])),AR(P(H(R(e.qb),0),38),pJ,U(k(vY,1),X,2,6,[mJ,jJ,Nq,`:mixed`])),AR(P(H(R(e.qb),1),19),pJ,U(k(vY,1),X,2,6,[mJ,kJ,Nq,`xmlns:prefix`])),AR(P(H(R(e.qb),2),19),pJ,U(k(vY,1),X,2,6,[mJ,kJ,Nq,`xsi:schemaLocation`])),AR(P(H(R(e.qb),3),38),pJ,U(k(vY,1),X,2,6,[mJ,AJ,Nq,`cDATA`,NJ,PJ])),AR(P(H(R(e.qb),4),38),pJ,U(k(vY,1),X,2,6,[mJ,AJ,Nq,`comment`,NJ,PJ])),AR(P(H(R(e.qb),5),19),pJ,U(k(vY,1),X,2,6,[mJ,AJ,Nq,lyt,NJ,PJ])),AR(P(H(R(e.qb),6),38),pJ,U(k(vY,1),X,2,6,[mJ,AJ,Nq,Sq,NJ,PJ]))}function UB(e){return CS(`_UI_EMFDiagnostic_marker`,e)?`EMF Problem`:CS(`_UI_CircularContainment_diagnostic`,e)?`An object may not circularly contain itself`:CS(x_t,e)?`Wrong character.`:CS(S_t,e)?`Invalid reference number.`:CS(Hq,e)?`A character is required after \\.`:CS(Uq,e)?`'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?`:CS(C_t,e)?`'(?<' or '(?<!' is expected.`:CS(w_t,e)?`A comment is not terminated.`:CS(Wq,e)?`')' is expected.`:CS(T_t,e)?`Unexpected end of the pattern in a modifier group.`:CS(E_t,e)?`':' is expected.`:CS(D_t,e)?`Unexpected end of the pattern in a conditional group.`:CS(O_t,e)?`A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.`:CS(k_t,e)?`There are more than three choices in a conditional group.`:CS(A_t,e)?`A character in U+0040-U+005f must follow \\c.`:CS(j_t,e)?`A '{' is required before a character category.`:CS(M_t,e)?`A property name is not closed by '}'.`:CS(N_t,e)?`Unexpected meta character.`:CS(Gq,e)?`Unknown property.`:CS(P_t,e)?`A POSIX character class must be closed by ':]'.`:CS(Kq,e)?`Unexpected end of the pattern in a character class.`:CS(F_t,e)?`Unknown name for a POSIX character class.`:CS(`parser.cc.4`,e)?`'-' is invalid here.`:CS(I_t,e)?`']' is expected.`:CS(L_t,e)?`'[' is invalid in a character class. Write '\\['.`:CS(R_t,e)?`']' is invalid in a character class. Write '\\]'.`:CS(qq,e)?`'-' is an invalid character range. Write '\\-'.`:CS(z_t,e)?`'[' is expected.`:CS(B_t,e)?`')' or '-[' or '+[' or '&[' is expected.`:CS(V_t,e)?`The range end code point is less than the start code point.`:CS(Jq,e)?`Invalid Unicode hex notation.`:CS(H_t,e)?`Overflow in a hex notation.`:CS(U_t,e)?`'\\x{' must be closed by '}'.`:CS(W_t,e)?`Invalid Unicode code point.`:CS(G_t,e)?`An anchor must not be here.`:CS(Yq,e)?`This expression is not supported in the current option setting.`:CS(K_t,e)?`Invalid quantifier. A digit is expected.`:CS(q_t,e)?`Invalid quantifier. Invalid quantity or a '}' is missing.`:CS(J_t,e)?`Invalid quantifier. A digit or '}' is expected.`:CS(Y_t,e)?`Invalid quantifier. A min quantity must be <= a max quantity.`:CS(X_t,e)?`Invalid quantifier. A quantity value overflow.`:CS(`_UI_PackageRegistry_extensionpoint`,e)?`Ecore Package Registry for Generated Packages`:CS(`_UI_DynamicPackageRegistry_extensionpoint`,e)?`Ecore Package Registry for Dynamic Packages`:CS(`_UI_FactoryRegistry_extensionpoint`,e)?`Ecore Factory Override Registry`:CS(`_UI_URIExtensionParserRegistry_extensionpoint`,e)?`URI Extension Parser Registry`:CS(`_UI_URIProtocolParserRegistry_extensionpoint`,e)?`URI Protocol Parser Registry`:CS(`_UI_URIContentParserRegistry_extensionpoint`,e)?`URI Content Parser Registry`:CS(`_UI_ContentHandlerRegistry_extensionpoint`,e)?`Content Handler Registry`:CS(`_UI_URIMappingRegistry_extensionpoint`,e)?`URI Converter Mapping Registry`:CS(`_UI_PackageRegistryImplementation_extensionpoint`,e)?`Ecore Package Registry Implementation`:CS(`_UI_ValidationDelegateRegistry_extensionpoint`,e)?`Validation Delegate Registry`:CS(`_UI_SettingDelegateRegistry_extensionpoint`,e)?`Feature Setting Delegate Factory Registry`:CS(`_UI_InvocationDelegateRegistry_extensionpoint`,e)?`Operation Invocation Delegate Factory Registry`:CS(`_UI_EClassInterfaceNotAbstract_diagnostic`,e)?`A class that is an interface must also be abstract`:CS(`_UI_EClassNoCircularSuperTypes_diagnostic`,e)?`A class may not be a super type of itself`:CS(`_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic`,e)?`A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'`:CS(`_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic`,e)?`The opposite of the opposite may not be a reference different from this one`:CS(`_UI_EReferenceOppositeNotFeatureOfType_diagnostic`,e)?`The opposite must be a feature of the reference's type`:CS(`_UI_EReferenceTransientOppositeNotTransient_diagnostic`,e)?`The opposite of a transient reference must be transient if it is proxy resolving`:CS(`_UI_EReferenceOppositeBothContainment_diagnostic`,e)?`The opposite of a containment reference must not be a containment reference`:CS(`_UI_EReferenceConsistentUnique_diagnostic`,e)?`A containment or bidirectional reference must be unique if its upper bound is different from 1`:CS(`_UI_ETypedElementNoType_diagnostic`,e)?`The typed element must have a type`:CS(`_UI_EAttributeNoDataType_diagnostic`,e)?`The generic attribute type must not refer to a class`:CS(`_UI_EReferenceNoClass_diagnostic`,e)?`The generic reference type must not refer to a data type`:CS(`_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic`,e)?`A generic type can't refer to both a type parameter and a classifier`:CS(`_UI_EGenericTypeNoClass_diagnostic`,e)?`A generic super type must refer to a class`:CS(`_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic`,e)?`A generic type in this context must refer to a classifier or a type parameter`:CS(`_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic`,e)?`A generic type may have bounds only when used as a type argument`:CS(`_UI_EGenericTypeNoUpperAndLowerBound_diagnostic`,e)?`A generic type must not have both a lower and an upper bound`:CS(`_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic`,e)?`A generic type with bounds must not also refer to a type parameter or classifier`:CS(`_UI_EGenericTypeNoArguments_diagnostic`,e)?`A generic type may have arguments only if it refers to a classifier`:CS(`_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic`,e)?`A generic type may only refer to a type parameter that is in scope`:e}function zut(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h;e.r||(e.r=!0,hj(e,`graph`),vj(e,`graph`),yj(e,gq),uM(e.o,`T`),XO(cE(e.a),e.p),XO(cE(e.f),e.a),XO(cE(e.n),e.f),XO(cE(e.g),e.n),XO(cE(e.c),e.n),XO(cE(e.i),e.c),XO(cE(e.j),e.c),XO(cE(e.d),e.f),XO(cE(e.e),e.a),CD(e.p,hSt,mft,!0,!0,!1),m=GM(e.p,e.p,`setProperty`),h=bVe(m),l=HT(e.o),u=(n=(r=new ch,r),n),XO((!l.d&&(l.d=new ix(z7,l,1)),l.d),u),d=UT(h),FQe(u,d),JI(m,l,e_t),l=UT(h),JI(m,l,_q),m=GM(e.p,null,`getProperty`),h=bVe(m),l=HT(e.o),u=UT(h),XO((!l.d&&(l.d=new ix(z7,l,1)),l.d),u),JI(m,l,e_t),l=UT(h),p=pL(m,l,null),p&&p.mj(),m=GM(e.p,e.wb.e,`hasProperty`),l=HT(e.o),u=(i=(a=new ch,a),i),XO((!l.d&&(l.d=new ix(z7,l,1)),l.d),u),JI(m,l,e_t),m=GM(e.p,e.p,`copyProperties`),DI(m,e.p,vq),m=GM(e.p,null,`getAllProperties`),l=HT(e.wb.P),u=HT(e.o),XO((!l.d&&(l.d=new ix(z7,l,1)),l.d),u),d=(o=(s=new ch,s),o),XO((!u.d&&(u.d=new ix(z7,u,1)),u.d),d),u=HT(e.wb.M),XO((!l.d&&(l.d=new ix(z7,l,1)),l.d),u),f=pL(m,l,null),f&&f.mj(),CD(e.a,$5,Rgt,!0,!1,!0),TI(P(H(R(e.a),0),19),e.k,null,t_t,0,-1,$5,!1,!1,!0,!0,!1,!1,!1),CD(e.f,t7,Bgt,!0,!1,!0),TI(P(H(R(e.f),0),19),e.g,P(H(R(e.g),0),19),`labels`,0,-1,t7,!1,!1,!0,!0,!1,!1,!1),xj(P(H(R(e.f),1),38),e.wb._,n_t,null,0,1,t7,!1,!1,!0,!1,!0,!1),CD(e.n,n7,`ElkShape`,!0,!1,!0),xj(P(H(R(e.n),0),38),e.wb.t,yq,SH,1,1,n7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.n),1),38),e.wb.t,bq,SH,1,1,n7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.n),2),38),e.wb.t,`x`,SH,1,1,n7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.n),3),38),e.wb.t,`y`,SH,1,1,n7,!1,!1,!0,!1,!0,!1),m=GM(e.n,null,`setDimensions`),DI(m,e.wb.t,bq),DI(m,e.wb.t,yq),m=GM(e.n,null,`setLocation`),DI(m,e.wb.t,`x`),DI(m,e.wb.t,`y`),CD(e.g,f7,Kgt,!1,!1,!0),TI(P(H(R(e.g),0),19),e.f,P(H(R(e.f),0),19),xq,0,1,f7,!1,!1,!0,!1,!1,!1,!1),xj(P(H(R(e.g),1),38),e.wb._,Sq,``,0,1,f7,!1,!1,!0,!1,!0,!1),CD(e.c,r7,Vgt,!0,!1,!0),TI(P(H(R(e.c),0),19),e.d,P(H(R(e.d),1),19),`outgoingEdges`,0,-1,r7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.c),1),19),e.d,P(H(R(e.d),2),19),`incomingEdges`,0,-1,r7,!1,!1,!0,!1,!0,!1,!1),CD(e.i,p7,qgt,!1,!1,!0),TI(P(H(R(e.i),0),19),e.j,P(H(R(e.j),0),19),`ports`,0,-1,p7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.i),1),19),e.i,P(H(R(e.i),2),19),Cq,0,-1,p7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.i),2),19),e.i,P(H(R(e.i),1),19),xq,0,1,p7,!1,!1,!0,!1,!1,!1,!1),TI(P(H(R(e.i),3),19),e.d,P(H(R(e.d),0),19),`containedEdges`,0,-1,p7,!1,!1,!0,!0,!1,!1,!1),xj(P(H(R(e.i),4),38),e.wb.e,r_t,null,0,1,p7,!0,!0,!1,!1,!0,!0),CD(e.j,m7,Jgt,!1,!1,!0),TI(P(H(R(e.j),0),19),e.i,P(H(R(e.i),0),19),xq,0,1,m7,!1,!1,!0,!1,!1,!1,!1),CD(e.d,i7,Hgt,!1,!1,!0),TI(P(H(R(e.d),0),19),e.i,P(H(R(e.i),3),19),`containingNode`,0,1,i7,!1,!1,!0,!1,!1,!1,!1),TI(P(H(R(e.d),1),19),e.c,P(H(R(e.c),0),19),i_t,0,-1,i7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.d),2),19),e.c,P(H(R(e.c),1),19),wq,0,-1,i7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.d),3),19),e.e,P(H(R(e.e),5),19),Tq,0,-1,i7,!1,!1,!0,!0,!1,!1,!1),xj(P(H(R(e.d),4),38),e.wb.e,`hyperedge`,null,0,1,i7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.d),5),38),e.wb.e,r_t,null,0,1,i7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.d),6),38),e.wb.e,`selfloop`,null,0,1,i7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.d),7),38),e.wb.e,`connected`,null,0,1,i7,!0,!0,!1,!1,!0,!0),CD(e.b,e7,zgt,!1,!1,!0),xj(P(H(R(e.b),0),38),e.wb.t,`x`,SH,1,1,e7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.b),1),38),e.wb.t,`y`,SH,1,1,e7,!1,!1,!0,!1,!0,!1),m=GM(e.b,null,`set`),DI(m,e.wb.t,`x`),DI(m,e.wb.t,`y`),CD(e.e,a7,Ugt,!1,!1,!0),xj(P(H(R(e.e),0),38),e.wb.t,`startX`,null,0,1,a7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.e),1),38),e.wb.t,`startY`,null,0,1,a7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.e),2),38),e.wb.t,`endX`,null,0,1,a7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.e),3),38),e.wb.t,`endY`,null,0,1,a7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.e),4),19),e.b,null,Eq,0,-1,a7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.e),5),19),e.d,P(H(R(e.d),3),19),xq,0,1,a7,!1,!1,!0,!1,!1,!1,!1),TI(P(H(R(e.e),6),19),e.c,null,a_t,0,1,a7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.e),7),19),e.c,null,o_t,0,1,a7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.e),8),19),e.e,P(H(R(e.e),9),19),s_t,0,-1,a7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.e),9),19),e.e,P(H(R(e.e),8),19),c_t,0,-1,a7,!1,!1,!0,!1,!0,!1,!1),xj(P(H(R(e.e),10),38),e.wb._,n_t,null,0,1,a7,!1,!1,!0,!1,!0,!1),m=GM(e.e,null,`setStartLocation`),DI(m,e.wb.t,`x`),DI(m,e.wb.t,`y`),m=GM(e.e,null,`setEndLocation`),DI(m,e.wb.t,`x`),DI(m,e.wb.t,`y`),CD(e.k,tY,`ElkPropertyToValueMapEntry`,!1,!1,!1),l=HT(e.o),u=(c=(t=new ch,t),c),XO((!l.d&&(l.d=new ix(z7,l,1)),l.d),u),L3e(P(H(R(e.k),0),38),l,`key`,tY,!1,!1,!0,!1),xj(P(H(R(e.k),1),38),e.s,_q,null,0,1,tY,!1,!1,!0,!1,!0,!1),FT(e.o,G3,`IProperty`,!0),FT(e.s,ZJ,`PropertyValue`,!0),kUe(e,gq))}function But(){But=C,$=V(X9,mq,30,_H,15,1),$[9]=35,$[10]=19,$[13]=19,$[32]=51,$[33]=49,$[34]=33,I($,35,38,49),$[38]=1,I($,39,45,49),I($,45,47,-71),$[47]=49,I($,48,58,-71),$[58]=61,$[59]=49,$[60]=1,$[61]=49,$[62]=33,I($,63,65,49),I($,65,91,-3),I($,91,93,33),$[93]=1,$[94]=33,$[95]=-3,$[96]=33,I($,97,123,-3),I($,123,183,33),$[183]=-87,I($,184,192,33),I($,192,215,-19),$[215]=33,I($,216,247,-19),$[247]=33,I($,248,306,-19),I($,306,308,33),I($,308,319,-19),I($,319,321,33),I($,321,329,-19),$[329]=33,I($,330,383,-19),$[383]=33,I($,384,452,-19),I($,452,461,33),I($,461,497,-19),I($,497,500,33),I($,500,502,-19),I($,502,506,33),I($,506,536,-19),I($,536,592,33),I($,592,681,-19),I($,681,699,33),I($,699,706,-19),I($,706,720,33),I($,720,722,-87),I($,722,768,33),I($,768,838,-87),I($,838,864,33),I($,864,866,-87),I($,866,902,33),$[902]=-19,$[903]=-87,I($,904,907,-19),$[907]=33,$[908]=-19,$[909]=33,I($,910,930,-19),$[930]=33,I($,931,975,-19),$[975]=33,I($,976,983,-19),I($,983,986,33),$[986]=-19,$[987]=33,$[988]=-19,$[989]=33,$[990]=-19,$[991]=33,$[992]=-19,$[993]=33,I($,994,1012,-19),I($,1012,1025,33),I($,1025,1037,-19),$[1037]=33,I($,1038,1104,-19),$[1104]=33,I($,1105,1117,-19),$[1117]=33,I($,1118,1154,-19),$[1154]=33,I($,1155,1159,-87),I($,1159,1168,33),I($,1168,1221,-19),I($,1221,1223,33),I($,1223,1225,-19),I($,1225,1227,33),I($,1227,1229,-19),I($,1229,1232,33),I($,1232,1260,-19),I($,1260,1262,33),I($,1262,1270,-19),I($,1270,1272,33),I($,1272,1274,-19),I($,1274,1329,33),I($,1329,1367,-19),I($,1367,1369,33),$[1369]=-19,I($,1370,1377,33),I($,1377,1415,-19),I($,1415,1425,33),I($,1425,1442,-87),$[1442]=33,I($,1443,1466,-87),$[1466]=33,I($,1467,1470,-87),$[1470]=33,$[1471]=-87,$[1472]=33,I($,1473,1475,-87),$[1475]=33,$[1476]=-87,I($,1477,1488,33),I($,1488,1515,-19),I($,1515,1520,33),I($,1520,1523,-19),I($,1523,1569,33),I($,1569,1595,-19),I($,1595,1600,33),$[1600]=-87,I($,1601,1611,-19),I($,1611,1619,-87),I($,1619,1632,33),I($,1632,1642,-87),I($,1642,1648,33),$[1648]=-87,I($,1649,1720,-19),I($,1720,1722,33),I($,1722,1727,-19),$[1727]=33,I($,1728,1743,-19),$[1743]=33,I($,1744,1748,-19),$[1748]=33,$[1749]=-19,I($,1750,1765,-87),I($,1765,1767,-19),I($,1767,1769,-87),$[1769]=33,I($,1770,1774,-87),I($,1774,1776,33),I($,1776,1786,-87),I($,1786,2305,33),I($,2305,2308,-87),$[2308]=33,I($,2309,2362,-19),I($,2362,2364,33),$[2364]=-87,$[2365]=-19,I($,2366,2382,-87),I($,2382,2385,33),I($,2385,2389,-87),I($,2389,2392,33),I($,2392,2402,-19),I($,2402,2404,-87),I($,2404,2406,33),I($,2406,2416,-87),I($,2416,2433,33),I($,2433,2436,-87),$[2436]=33,I($,2437,2445,-19),I($,2445,2447,33),I($,2447,2449,-19),I($,2449,2451,33),I($,2451,2473,-19),$[2473]=33,I($,2474,2481,-19),$[2481]=33,$[2482]=-19,I($,2483,2486,33),I($,2486,2490,-19),I($,2490,2492,33),$[2492]=-87,$[2493]=33,I($,2494,2501,-87),I($,2501,2503,33),I($,2503,2505,-87),I($,2505,2507,33),I($,2507,2510,-87),I($,2510,2519,33),$[2519]=-87,I($,2520,2524,33),I($,2524,2526,-19),$[2526]=33,I($,2527,2530,-19),I($,2530,2532,-87),I($,2532,2534,33),I($,2534,2544,-87),I($,2544,2546,-19),I($,2546,2562,33),$[2562]=-87,I($,2563,2565,33),I($,2565,2571,-19),I($,2571,2575,33),I($,2575,2577,-19),I($,2577,2579,33),I($,2579,2601,-19),$[2601]=33,I($,2602,2609,-19),$[2609]=33,I($,2610,2612,-19),$[2612]=33,I($,2613,2615,-19),$[2615]=33,I($,2616,2618,-19),I($,2618,2620,33),$[2620]=-87,$[2621]=33,I($,2622,2627,-87),I($,2627,2631,33),I($,2631,2633,-87),I($,2633,2635,33),I($,2635,2638,-87),I($,2638,2649,33),I($,2649,2653,-19),$[2653]=33,$[2654]=-19,I($,2655,2662,33),I($,2662,2674,-87),I($,2674,2677,-19),I($,2677,2689,33),I($,2689,2692,-87),$[2692]=33,I($,2693,2700,-19),$[2700]=33,$[2701]=-19,$[2702]=33,I($,2703,2706,-19),$[2706]=33,I($,2707,2729,-19),$[2729]=33,I($,2730,2737,-19),$[2737]=33,I($,2738,2740,-19),$[2740]=33,I($,2741,2746,-19),I($,2746,2748,33),$[2748]=-87,$[2749]=-19,I($,2750,2758,-87),$[2758]=33,I($,2759,2762,-87),$[2762]=33,I($,2763,2766,-87),I($,2766,2784,33),$[2784]=-19,I($,2785,2790,33),I($,2790,2800,-87),I($,2800,2817,33),I($,2817,2820,-87),$[2820]=33,I($,2821,2829,-19),I($,2829,2831,33),I($,2831,2833,-19),I($,2833,2835,33),I($,2835,2857,-19),$[2857]=33,I($,2858,2865,-19),$[2865]=33,I($,2866,2868,-19),I($,2868,2870,33),I($,2870,2874,-19),I($,2874,2876,33),$[2876]=-87,$[2877]=-19,I($,2878,2884,-87),I($,2884,2887,33),I($,2887,2889,-87),I($,2889,2891,33),I($,2891,2894,-87),I($,2894,2902,33),I($,2902,2904,-87),I($,2904,2908,33),I($,2908,2910,-19),$[2910]=33,I($,2911,2914,-19),I($,2914,2918,33),I($,2918,2928,-87),I($,2928,2946,33),I($,2946,2948,-87),$[2948]=33,I($,2949,2955,-19),I($,2955,2958,33),I($,2958,2961,-19),$[2961]=33,I($,2962,2966,-19),I($,2966,2969,33),I($,2969,2971,-19),$[2971]=33,$[2972]=-19,$[2973]=33,I($,2974,2976,-19),I($,2976,2979,33),I($,2979,2981,-19),I($,2981,2984,33),I($,2984,2987,-19),I($,2987,2990,33),I($,2990,2998,-19),$[2998]=33,I($,2999,3002,-19),I($,3002,3006,33),I($,3006,3011,-87),I($,3011,3014,33),I($,3014,3017,-87),$[3017]=33,I($,3018,3022,-87),I($,3022,3031,33),$[3031]=-87,I($,3032,3047,33),I($,3047,3056,-87),I($,3056,3073,33),I($,3073,3076,-87),$[3076]=33,I($,3077,3085,-19),$[3085]=33,I($,3086,3089,-19),$[3089]=33,I($,3090,3113,-19),$[3113]=33,I($,3114,3124,-19),$[3124]=33,I($,3125,3130,-19),I($,3130,3134,33),I($,3134,3141,-87),$[3141]=33,I($,3142,3145,-87),$[3145]=33,I($,3146,3150,-87),I($,3150,3157,33),I($,3157,3159,-87),I($,3159,3168,33),I($,3168,3170,-19),I($,3170,3174,33),I($,3174,3184,-87),I($,3184,3202,33),I($,3202,3204,-87),$[3204]=33,I($,3205,3213,-19),$[3213]=33,I($,3214,3217,-19),$[3217]=33,I($,3218,3241,-19),$[3241]=33,I($,3242,3252,-19),$[3252]=33,I($,3253,3258,-19),I($,3258,3262,33),I($,3262,3269,-87),$[3269]=33,I($,3270,3273,-87),$[3273]=33,I($,3274,3278,-87),I($,3278,3285,33),I($,3285,3287,-87),I($,3287,3294,33),$[3294]=-19,$[3295]=33,I($,3296,3298,-19),I($,3298,3302,33),I($,3302,3312,-87),I($,3312,3330,33),I($,3330,3332,-87),$[3332]=33,I($,3333,3341,-19),$[3341]=33,I($,3342,3345,-19),$[3345]=33,I($,3346,3369,-19),$[3369]=33,I($,3370,3386,-19),I($,3386,3390,33),I($,3390,3396,-87),I($,3396,3398,33),I($,3398,3401,-87),$[3401]=33,I($,3402,3406,-87),I($,3406,3415,33),$[3415]=-87,I($,3416,3424,33),I($,3424,3426,-19),I($,3426,3430,33),I($,3430,3440,-87),I($,3440,3585,33),I($,3585,3631,-19),$[3631]=33,$[3632]=-19,$[3633]=-87,I($,3634,3636,-19),I($,3636,3643,-87),I($,3643,3648,33),I($,3648,3654,-19),I($,3654,3663,-87),$[3663]=33,I($,3664,3674,-87),I($,3674,3713,33),I($,3713,3715,-19),$[3715]=33,$[3716]=-19,I($,3717,3719,33),I($,3719,3721,-19),$[3721]=33,$[3722]=-19,I($,3723,3725,33),$[3725]=-19,I($,3726,3732,33),I($,3732,3736,-19),$[3736]=33,I($,3737,3744,-19),$[3744]=33,I($,3745,3748,-19),$[3748]=33,$[3749]=-19,$[3750]=33,$[3751]=-19,I($,3752,3754,33),I($,3754,3756,-19),$[3756]=33,I($,3757,3759,-19),$[3759]=33,$[3760]=-19,$[3761]=-87,I($,3762,3764,-19),I($,3764,3770,-87),$[3770]=33,I($,3771,3773,-87),$[3773]=-19,I($,3774,3776,33),I($,3776,3781,-19),$[3781]=33,$[3782]=-87,$[3783]=33,I($,3784,3790,-87),I($,3790,3792,33),I($,3792,3802,-87),I($,3802,3864,33),I($,3864,3866,-87),I($,3866,3872,33),I($,3872,3882,-87),I($,3882,3893,33),$[3893]=-87,$[3894]=33,$[3895]=-87,$[3896]=33,$[3897]=-87,I($,3898,3902,33),I($,3902,3904,-87),I($,3904,3912,-19),$[3912]=33,I($,3913,3946,-19),I($,3946,3953,33),I($,3953,3973,-87),$[3973]=33,I($,3974,3980,-87),I($,3980,3984,33),I($,3984,3990,-87),$[3990]=33,$[3991]=-87,$[3992]=33,I($,3993,4014,-87),I($,4014,4017,33),I($,4017,4024,-87),$[4024]=33,$[4025]=-87,I($,4026,4256,33),I($,4256,4294,-19),I($,4294,4304,33),I($,4304,4343,-19),I($,4343,4352,33),$[4352]=-19,$[4353]=33,I($,4354,4356,-19),$[4356]=33,I($,4357,4360,-19),$[4360]=33,$[4361]=-19,$[4362]=33,I($,4363,4365,-19),$[4365]=33,I($,4366,4371,-19),I($,4371,4412,33),$[4412]=-19,$[4413]=33,$[4414]=-19,$[4415]=33,$[4416]=-19,I($,4417,4428,33),$[4428]=-19,$[4429]=33,$[4430]=-19,$[4431]=33,$[4432]=-19,I($,4433,4436,33),I($,4436,4438,-19),I($,4438,4441,33),$[4441]=-19,I($,4442,4447,33),I($,4447,4450,-19),$[4450]=33,$[4451]=-19,$[4452]=33,$[4453]=-19,$[4454]=33,$[4455]=-19,$[4456]=33,$[4457]=-19,I($,4458,4461,33),I($,4461,4463,-19),I($,4463,4466,33),I($,4466,4468,-19),$[4468]=33,$[4469]=-19,I($,4470,4510,33),$[4510]=-19,I($,4511,4520,33),$[4520]=-19,I($,4521,4523,33),$[4523]=-19,I($,4524,4526,33),I($,4526,4528,-19),I($,4528,4535,33),I($,4535,4537,-19),$[4537]=33,$[4538]=-19,$[4539]=33,I($,4540,4547,-19),I($,4547,4587,33),$[4587]=-19,I($,4588,4592,33),$[4592]=-19,I($,4593,4601,33),$[4601]=-19,I($,4602,7680,33),I($,7680,7836,-19),I($,7836,7840,33),I($,7840,7930,-19),I($,7930,7936,33),I($,7936,7958,-19),I($,7958,7960,33),I($,7960,7966,-19),I($,7966,7968,33),I($,7968,8006,-19),I($,8006,8008,33),I($,8008,8014,-19),I($,8014,8016,33),I($,8016,8024,-19),$[8024]=33,$[8025]=-19,$[8026]=33,$[8027]=-19,$[8028]=33,$[8029]=-19,$[8030]=33,I($,8031,8062,-19),I($,8062,8064,33),I($,8064,8117,-19),$[8117]=33,I($,8118,8125,-19),$[8125]=33,$[8126]=-19,I($,8127,8130,33),I($,8130,8133,-19),$[8133]=33,I($,8134,8141,-19),I($,8141,8144,33),I($,8144,8148,-19),I($,8148,8150,33),I($,8150,8156,-19),I($,8156,8160,33),I($,8160,8173,-19),I($,8173,8178,33),I($,8178,8181,-19),$[8181]=33,I($,8182,8189,-19),I($,8189,8400,33),I($,8400,8413,-87),I($,8413,8417,33),$[8417]=-87,I($,8418,8486,33),$[8486]=-19,I($,8487,8490,33),I($,8490,8492,-19),I($,8492,8494,33),$[8494]=-19,I($,8495,8576,33),I($,8576,8579,-19),I($,8579,12293,33),$[12293]=-87,$[12294]=33,$[12295]=-19,I($,12296,12321,33),I($,12321,12330,-19),I($,12330,12336,-87),$[12336]=33,I($,12337,12342,-87),I($,12342,12353,33),I($,12353,12437,-19),I($,12437,12441,33),I($,12441,12443,-87),I($,12443,12445,33),I($,12445,12447,-87),I($,12447,12449,33),I($,12449,12539,-19),$[12539]=33,I($,12540,12543,-87),I($,12543,12549,33),I($,12549,12589,-19),I($,12589,19968,33),I($,19968,40870,-19),I($,40870,44032,33),I($,44032,55204,-19),I($,55204,vH,33),I($,57344,65534,33)}function Vut(e){var t,n,r,i,a,o,s;e.hb||(e.hb=!0,hj(e,`ecore`),vj(e,`ecore`),yj(e,xJ),uM(e.fb,`E`),uM(e.L,`T`),uM(e.P,`K`),uM(e.P,`V`),uM(e.cb,`E`),XO(cE(e.b),e.bb),XO(cE(e.a),e.Q),XO(cE(e.o),e.p),XO(cE(e.p),e.R),XO(cE(e.q),e.p),XO(cE(e.v),e.q),XO(cE(e.w),e.R),XO(cE(e.B),e.Q),XO(cE(e.R),e.Q),XO(cE(e.T),e.eb),XO(cE(e.U),e.R),XO(cE(e.V),e.eb),XO(cE(e.W),e.bb),XO(cE(e.bb),e.eb),XO(cE(e.eb),e.R),XO(cE(e.db),e.R),CD(e.b,P7,cvt,!1,!1,!0),xj(P(H(R(e.b),0),38),e.e,`iD`,null,0,1,P7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.b),1),19),e.q,null,`eAttributeType`,1,1,P7,!0,!0,!1,!1,!0,!1,!0),CD(e.a,j7,avt,!1,!1,!0),xj(P(H(R(e.a),0),38),e._,vq,null,0,1,j7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.a),1),19),e.ab,null,`details`,0,-1,j7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.a),2),19),e.Q,P(H(R(e.Q),0),19),`eModelElement`,0,1,j7,!0,!1,!0,!1,!1,!1,!1),TI(P(H(R(e.a),3),19),e.S,null,`contents`,0,-1,j7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.a),4),19),e.S,null,`references`,0,-1,j7,!1,!1,!0,!1,!0,!1,!1),CD(e.o,I7,`EClass`,!1,!1,!0),xj(P(H(R(e.o),0),38),e.e,`abstract`,null,0,1,I7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.o),1),38),e.e,`interface`,null,0,1,I7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.o),2),19),e.o,null,`eSuperTypes`,0,-1,I7,!1,!1,!0,!1,!0,!0,!1),TI(P(H(R(e.o),3),19),e.T,P(H(R(e.T),0),19),`eOperations`,0,-1,I7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.o),4),19),e.b,null,`eAllAttributes`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),5),19),e.W,null,`eAllReferences`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),6),19),e.W,null,`eReferences`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),7),19),e.b,null,`eAttributes`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),8),19),e.W,null,`eAllContainments`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),9),19),e.T,null,`eAllOperations`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),10),19),e.bb,null,`eAllStructuralFeatures`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),11),19),e.o,null,`eAllSuperTypes`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.o),12),19),e.b,null,`eIDAttribute`,0,1,I7,!0,!0,!1,!1,!1,!1,!0),TI(P(H(R(e.o),13),19),e.bb,P(H(R(e.bb),7),19),`eStructuralFeatures`,0,-1,I7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.o),14),19),e.H,null,`eGenericSuperTypes`,0,-1,I7,!1,!1,!0,!0,!1,!0,!1),TI(P(H(R(e.o),15),19),e.H,null,`eAllGenericSuperTypes`,0,-1,I7,!0,!0,!1,!1,!0,!1,!0),s=WA(P(H($T(e.o),0),62),e.e,`isSuperTypeOf`),DI(s,e.o,`someClass`),WA(P(H($T(e.o),1),62),e.I,`getFeatureCount`),s=WA(P(H($T(e.o),2),62),e.bb,Cvt),DI(s,e.I,`featureID`),s=WA(P(H($T(e.o),3),62),e.I,wvt),DI(s,e.bb,TJ),s=WA(P(H($T(e.o),4),62),e.bb,Cvt),DI(s,e._,`featureName`),WA(P(H($T(e.o),5),62),e.I,`getOperationCount`),s=WA(P(H($T(e.o),6),62),e.T,`getEOperation`),DI(s,e.I,`operationID`),s=WA(P(H($T(e.o),7),62),e.I,Tvt),DI(s,e.T,Evt),s=WA(P(H($T(e.o),8),62),e.T,`getOverride`),DI(s,e.T,Evt),s=WA(P(H($T(e.o),9),62),e.H,`getFeatureType`),DI(s,e.bb,TJ),CD(e.p,F7,lvt,!0,!1,!0),xj(P(H(R(e.p),0),38),e._,`instanceClassName`,null,0,1,F7,!1,!0,!0,!0,!0,!1),t=HT(e.L),n=PAe(),XO((!t.d&&(t.d=new ix(z7,t,1)),t.d),n),L3e(P(H(R(e.p),1),38),t,`instanceClass`,F7,!0,!0,!1,!0),xj(P(H(R(e.p),2),38),e.M,Dvt,null,0,1,F7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.p),3),38),e._,`instanceTypeName`,null,0,1,F7,!1,!0,!0,!0,!0,!1),TI(P(H(R(e.p),4),19),e.U,P(H(R(e.U),3),19),`ePackage`,0,1,F7,!0,!1,!1,!1,!0,!1,!1),TI(P(H(R(e.p),5),19),e.db,null,Ovt,0,-1,F7,!1,!1,!0,!0,!0,!1,!1),s=WA(P(H($T(e.p),0),62),e.e,kvt),DI(s,e.M,WB),WA(P(H($T(e.p),1),62),e.I,`getClassifierID`),CD(e.q,vBt,`EDataType`,!1,!1,!0),xj(P(H(R(e.q),0),38),e.e,`serializable`,BK,0,1,vBt,!1,!1,!0,!1,!0,!1),CD(e.v,L7,`EEnum`,!1,!1,!0),TI(P(H(R(e.v),0),19),e.w,P(H(R(e.w),3),19),`eLiterals`,0,-1,L7,!1,!1,!0,!0,!1,!1,!1),s=WA(P(H($T(e.v),0),62),e.w,Avt),DI(s,e._,Nq),s=WA(P(H($T(e.v),1),62),e.w,Avt),DI(s,e.I,_q),s=WA(P(H($T(e.v),2),62),e.w,`getEEnumLiteralByLiteral`),DI(s,e._,`literal`),CD(e.w,R7,uvt,!1,!1,!0),xj(P(H(R(e.w),0),38),e.I,_q,null,0,1,R7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.w),1),38),e.A,`instance`,null,0,1,R7,!0,!1,!0,!1,!0,!1),xj(P(H(R(e.w),2),38),e._,`literal`,null,0,1,R7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.w),3),19),e.v,P(H(R(e.v),0),19),`eEnum`,0,1,R7,!0,!1,!1,!1,!1,!1,!1),CD(e.B,s7,`EFactory`,!1,!1,!0),TI(P(H(R(e.B),0),19),e.U,P(H(R(e.U),2),19),`ePackage`,1,1,s7,!0,!1,!0,!1,!1,!1,!1),s=WA(P(H($T(e.B),0),62),e.S,`create`),DI(s,e.o,`eClass`),s=WA(P(H($T(e.B),1),62),e.M,`createFromString`),DI(s,e.q,`eDataType`),DI(s,e._,`literalValue`),s=WA(P(H($T(e.B),2),62),e._,`convertToString`),DI(s,e.q,`eDataType`),DI(s,e.M,`instanceValue`),CD(e.Q,o7,Wgt,!0,!1,!0),TI(P(H(R(e.Q),0),19),e.a,P(H(R(e.a),2),19),`eAnnotations`,0,-1,o7,!1,!1,!0,!0,!1,!1,!1),s=WA(P(H($T(e.Q),0),62),e.a,`getEAnnotation`),DI(s,e._,vq),CD(e.R,Azt,Ggt,!0,!1,!0),xj(P(H(R(e.R),0),38),e._,Nq,null,0,1,Azt,!1,!1,!0,!1,!0,!1),CD(e.S,Q5,`EObject`,!1,!1,!0),WA(P(H($T(e.S),0),62),e.o,`eClass`),WA(P(H($T(e.S),1),62),e.e,`eIsProxy`),WA(P(H($T(e.S),2),62),e.X,`eResource`),WA(P(H($T(e.S),3),62),e.S,`eContainer`),WA(P(H($T(e.S),4),62),e.bb,`eContainingFeature`),WA(P(H($T(e.S),5),62),e.W,`eContainmentFeature`),s=WA(P(H($T(e.S),6),62),null,`eContents`),t=HT(e.fb),n=HT(e.S),XO((!t.d&&(t.d=new ix(z7,t,1)),t.d),n),i=pL(s,t,null),i&&i.mj(),s=WA(P(H($T(e.S),7),62),null,`eAllContents`),t=HT(e.cb),n=HT(e.S),XO((!t.d&&(t.d=new ix(z7,t,1)),t.d),n),a=pL(s,t,null),a&&a.mj(),s=WA(P(H($T(e.S),8),62),null,`eCrossReferences`),t=HT(e.fb),n=HT(e.S),XO((!t.d&&(t.d=new ix(z7,t,1)),t.d),n),o=pL(s,t,null),o&&o.mj(),s=WA(P(H($T(e.S),9),62),e.M,`eGet`),DI(s,e.bb,TJ),s=WA(P(H($T(e.S),10),62),e.M,`eGet`),DI(s,e.bb,TJ),DI(s,e.e,`resolve`),s=WA(P(H($T(e.S),11),62),null,`eSet`),DI(s,e.bb,TJ),DI(s,e.M,`newValue`),s=WA(P(H($T(e.S),12),62),e.e,`eIsSet`),DI(s,e.bb,TJ),s=WA(P(H($T(e.S),13),62),null,`eUnset`),DI(s,e.bb,TJ),s=WA(P(H($T(e.S),14),62),e.M,`eInvoke`),DI(s,e.T,Evt),t=HT(e.fb),n=PAe(),XO((!t.d&&(t.d=new ix(z7,t,1)),t.d),n),JI(s,t,`arguments`),oTe(s,e.K),CD(e.T,B7,fvt,!1,!1,!0),TI(P(H(R(e.T),0),19),e.o,P(H(R(e.o),3),19),jvt,0,1,B7,!0,!1,!1,!1,!1,!1,!1),TI(P(H(R(e.T),1),19),e.db,null,Ovt,0,-1,B7,!1,!1,!0,!0,!0,!1,!1),TI(P(H(R(e.T),2),19),e.V,P(H(R(e.V),0),19),`eParameters`,0,-1,B7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.T),3),19),e.p,null,`eExceptions`,0,-1,B7,!1,!1,!0,!1,!0,!0,!1),TI(P(H(R(e.T),4),19),e.H,null,`eGenericExceptions`,0,-1,B7,!1,!1,!0,!0,!1,!0,!1),WA(P(H($T(e.T),0),62),e.I,Tvt),s=WA(P(H($T(e.T),1),62),e.e,`isOverrideOf`),DI(s,e.T,`someOperation`),CD(e.U,c7,`EPackage`,!1,!1,!0),xj(P(H(R(e.U),0),38),e._,`nsURI`,null,0,1,c7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.U),1),38),e._,`nsPrefix`,null,0,1,c7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.U),2),19),e.B,P(H(R(e.B),0),19),`eFactoryInstance`,1,1,c7,!0,!1,!0,!1,!1,!1,!1),TI(P(H(R(e.U),3),19),e.p,P(H(R(e.p),4),19),`eClassifiers`,0,-1,c7,!1,!1,!0,!0,!0,!1,!1),TI(P(H(R(e.U),4),19),e.U,P(H(R(e.U),5),19),`eSubpackages`,0,-1,c7,!1,!1,!0,!0,!0,!1,!1),TI(P(H(R(e.U),5),19),e.U,P(H(R(e.U),4),19),`eSuperPackage`,0,1,c7,!0,!1,!1,!1,!0,!1,!1),s=WA(P(H($T(e.U),0),62),e.p,`getEClassifier`),DI(s,e._,Nq),CD(e.V,H7,pvt,!1,!1,!0),TI(P(H(R(e.V),0),19),e.T,P(H(R(e.T),2),19),`eOperation`,0,1,H7,!0,!1,!1,!1,!1,!1,!1),CD(e.W,U7,mvt,!1,!1,!0),xj(P(H(R(e.W),0),38),e.e,`containment`,null,0,1,U7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.W),1),38),e.e,`container`,null,0,1,U7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.W),2),38),e.e,`resolveProxies`,BK,0,1,U7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.W),3),19),e.W,null,`eOpposite`,0,1,U7,!1,!1,!0,!1,!0,!1,!1),TI(P(H(R(e.W),4),19),e.o,null,`eReferenceType`,1,1,U7,!0,!0,!1,!1,!0,!1,!0),TI(P(H(R(e.W),5),19),e.b,null,`eKeys`,0,-1,U7,!1,!1,!0,!1,!0,!1,!1),CD(e.bb,N7,svt,!0,!1,!0),xj(P(H(R(e.bb),0),38),e.e,`changeable`,BK,0,1,N7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.bb),1),38),e.e,`volatile`,null,0,1,N7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.bb),2),38),e.e,`transient`,null,0,1,N7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.bb),3),38),e._,`defaultValueLiteral`,null,0,1,N7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.bb),4),38),e.M,Dvt,null,0,1,N7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.bb),5),38),e.e,`unsettable`,null,0,1,N7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.bb),6),38),e.e,`derived`,null,0,1,N7,!1,!1,!0,!1,!0,!1),TI(P(H(R(e.bb),7),19),e.o,P(H(R(e.o),13),19),jvt,0,1,N7,!0,!1,!1,!1,!1,!1,!1),WA(P(H($T(e.bb),0),62),e.I,wvt),s=WA(P(H($T(e.bb),1),62),null,`getContainerClass`),t=HT(e.L),n=PAe(),XO((!t.d&&(t.d=new ix(z7,t,1)),t.d),n),r=pL(s,t,null),r&&r.mj(),CD(e.eb,M7,ovt,!0,!1,!0),xj(P(H(R(e.eb),0),38),e.e,`ordered`,BK,0,1,M7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.eb),1),38),e.e,`unique`,BK,0,1,M7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.eb),2),38),e.I,`lowerBound`,null,0,1,M7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.eb),3),38),e.I,`upperBound`,`1`,0,1,M7,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.eb),4),38),e.e,`many`,null,0,1,M7,!0,!0,!1,!1,!0,!0),xj(P(H(R(e.eb),5),38),e.e,`required`,null,0,1,M7,!0,!0,!1,!1,!0,!0),TI(P(H(R(e.eb),6),19),e.p,null,`eType`,0,1,M7,!1,!0,!0,!1,!0,!0,!1),TI(P(H(R(e.eb),7),19),e.H,null,`eGenericType`,0,1,M7,!1,!0,!0,!0,!1,!0,!1),CD(e.ab,tY,`EStringToStringMapEntry`,!1,!1,!1),xj(P(H(R(e.ab),0),38),e._,`key`,null,0,1,tY,!1,!1,!0,!1,!0,!1),xj(P(H(R(e.ab),1),38),e._,_q,null,0,1,tY,!1,!1,!0,!1,!0,!1),CD(e.H,z7,dvt,!1,!1,!0),TI(P(H(R(e.H),0),19),e.H,null,`eUpperBound`,0,1,z7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.H),1),19),e.H,null,`eTypeArguments`,0,-1,z7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.H),2),19),e.p,null,`eRawType`,1,1,z7,!0,!1,!1,!1,!0,!1,!0),TI(P(H(R(e.H),3),19),e.H,null,`eLowerBound`,0,1,z7,!1,!1,!0,!0,!1,!1,!1),TI(P(H(R(e.H),4),19),e.db,null,`eTypeParameter`,0,1,z7,!1,!1,!0,!1,!1,!1,!1),TI(P(H(R(e.H),5),19),e.p,null,`eClassifier`,0,1,z7,!1,!1,!0,!1,!0,!1,!1),s=WA(P(H($T(e.H),0),62),e.e,kvt),DI(s,e.M,WB),CD(e.db,W7,hvt,!1,!1,!0),TI(P(H(R(e.db),0),19),e.H,null,`eBounds`,0,-1,W7,!1,!1,!0,!0,!1,!1,!1),FT(e.c,jbt,`EBigDecimal`,!0),FT(e.d,CY,`EBigInteger`,!0),FT(e.e,J9,`EBoolean`,!0),FT(e.f,uY,`EBooleanObject`,!0),FT(e.i,X9,`EByte`,!0),FT(e.g,k(X9,1),`EByteArray`,!0),FT(e.j,dY,`EByteObject`,!0),FT(e.k,K9,`EChar`,!0),FT(e.n,fY,`ECharacterObject`,!0),FT(e.r,oY,`EDate`,!0),FT(e.s,ZVt,`EDiagnosticChain`,!1),FT(e.t,Z9,`EDouble`,!0),FT(e.u,pY,`EDoubleObject`,!0),FT(e.fb,Xzt,`EEList`,!1),FT(e.A,iBt,`EEnumerator`,!1),FT(e.C,eVt,`EFeatureMap`,!1),FT(e.D,c9,`EFeatureMapEntry`,!1),FT(e.F,Q9,`EFloat`,!0),FT(e.G,mY,`EFloatObject`,!0),FT(e.I,q9,`EInt`,!0),FT(e.J,hY,`EIntegerObject`,!0),FT(e.L,Nyt,`EJavaClass`,!0),FT(e.M,ZJ,`EJavaObject`,!0),FT(e.N,Y9,`ELong`,!0),FT(e.O,gY,`ELongObject`,!0),FT(e.P,Iyt,`EMap`,!1),FT(e.X,XBt,`EResource`,!1),FT(e.Y,QVt,`EResourceSet`,!1),FT(e.Z,$9,`EShort`,!0),FT(e.$,_Y,`EShortObject`,!0),FT(e._,vY,`EString`,!0),FT(e.cb,Qzt,`ETreeIterator`,!1),FT(e.K,$Vt,`EInvocationTargetException`,!1),kUe(e,xJ))}var WB=`object`,GB=`boolean`,Hut=`number`,KB=`string`,qB=`function`,JB=2147483647,YB=`java.lang`,XB={3:1},ZB=`com.google.common.base`,QB=`, `,Uut=`%s (%s) must not be negative`,$B={3:1,4:1,5:1},Wut=`negative size: `,Gut=`no calls to next() since the last call to remove()`,Kut=`Optional.of(`,eV=`null`,tV={204:1,50:1},nV=`com.google.common.collect`,rV={204:1,50:1,128:1},iV={229:1,3:1},aV={50:1},oV=`java.util`,sV={92:1},cV={20:1,31:1,18:1},lV=2025,uV={20:1,31:1,18:1,22:1},qut={92:1,138:1,134:1},Jut={20:1,31:1,18:1,22:1,83:1},Yut={20:1,31:1,18:1,277:1,22:1,83:1},dV={50:1,128:1},fV={358:1,45:1},Xut=`AbstractMapEntry`,pV=2048,Zut=`expectedValuesPerKey`,X={3:1,6:1,4:1,5:1},mV=16384,hV={162:1},gV={41:1},_V={202:1},vV={l:4194303,m:4194303,h:524287},yV={254:1,3:1,35:1},Qut=`range unbounded on this side`,bV={20:1},$ut={20:1,18:1},edt={3:1,20:1,31:1,18:1},xV={311:1,3:1,20:1,31:1,18:1,16:1,59:1},SV={3:1,4:1,5:1,175:1},CV={3:1,92:1},wV={20:1,18:1,22:1},TV={3:1,20:1,31:1,18:1,22:1},tdt={20:1,18:1,22:1,83:1},EV=461845907,DV=-862048943,OV={3:1,6:1,4:1,5:1,175:1},ndt=`expectedSize`,kV=1e3,AV=1073741824,jV=`initialArraySize`,Z={3:1,6:1,4:1,10:1,5:1},MV={20:1,31:1,56:1,18:1,16:1},NV=`arraySize`,rdt={20:1,31:1,56:1,18:1,16:1,59:1},PV={48:1},FV={375:1},IV=1e-4,LV=-2147483648,idt=`__noinit__`,RV={3:1,101:1,63:1,80:1},zV=`com.google.gwt.core.client.impl`,adt=`String`,odt=`com.google.gwt.core.client`,sdt=`anonymous`,cdt=`fnStack`,ldt=`Unknown`,BV={201:1,3:1,4:1},VV=65535,udt=`January`,ddt=`February`,fdt=`March`,pdt=`April`,HV=`May`,mdt=`June`,hdt=`July`,gdt=`August`,UV=`September`,WV=`October`,GV=`November`,KV=`December`,qV=1900,JV={54:1,3:1,4:1},_dt=`Before Christ`,vdt=`Anno Domini`,YV=`Sunday`,XV=`Monday`,ZV=`Tuesday`,QV=`Wednesday`,$V=`Thursday`,eH=`Friday`,tH=`Saturday`,ydt=`com.google.gwt.i18n.shared`,bdt=`DateTimeFormat`,nH=`com.google.gwt.i18n.client`,xdt=`DefaultDateTimeFormatInfo`,Sdt={3:1,4:1,35:1,205:1},rH=`com.google.gwt.json.client`,iH=4194303,aH=1048575,oH=524288,sH=4194304,cH=17592186044416,lH=1e9,uH=-17592186044416,Cdt=`java.io`,dH={3:1,101:1,99:1,63:1,80:1},wdt={3:1,297:1,80:1},fH=`For input string: "`,pH=1/0,mH=-1/0,hH=4096,Tdt={3:1,4:1,584:1},gH=`org.eclipse.elk.layered`,_H=65536,vH=55296,yH={108:1,3:1,4:1},bH=1e5,Edt=.3010299956639812,xH=4294967295,SH=`0.0`,CH={45:1},wH=`Unable to add element to queue`,Ddt={3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1},Odt={3:1,20:1,31:1,56:1,18:1,16:1,59:1},kdt={20:1,18:1,16:1},TH={3:1,51:1},EH={189:1},DH={3:1,4:1,92:1},Adt={3:1,4:1,20:1,31:1,18:1,47:1,22:1},OH=`delete`,kH=1.4901161193847656e-8,AH=11102230246251565e-32,jH=15525485,MH=5.960464477539063e-8,jdt=16777216,NH=16777215,Mdt=`, length: `,Ndt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1},Pdt=`subMap: `,Fdt=` less than `,PH={3:1,35:1,23:1,309:1},FH=`java.util.function`,IH=`java.util.logging`,Idt={3:1,4:1,5:1,840:1},LH=`undefined`,RH=`java.util.stream`,Ldt={520:1,677:1},zH=`fromIndex: `,Rdt=` > toIndex: `,zdt=`, toIndex: `,Bdt=`Index: `,Vdt=`, Size: `,BH=`org.eclipse.elk.alg.common`,VH={51:1},Hdt=`org.eclipse.elk.alg.common.compaction`,Udt=`Scanline/EventHandler`,HH=`org.eclipse.elk.alg.common.compaction.oned`,Wdt=`CNode belongs to another CGroup.`,Gdt=`ISpacingsHandler/1`,UH=`The `,WH=` instance has been finished already.`,Kdt=`The direction `,qdt=` is not supported by the CGraph instance.`,Jdt=`OneDimensionalCompactor`,Ydt=`OneDimensionalCompactor/lambda$0$Type`,Xdt=`Quadruplet`,Zdt=`ScanlineConstraintCalculator`,Qdt=`ScanlineConstraintCalculator/ConstraintsScanlineHandler`,$dt=`ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type`,eft=`ScanlineConstraintCalculator/Timestamp`,tft=`ScanlineConstraintCalculator/lambda$0$Type`,GH={178:1,48:1},KH=`org.eclipse.elk.alg.common.networksimplex`,qH={171:1,3:1,4:1},nft=`org.eclipse.elk.alg.common.nodespacing`,JH=`org.eclipse.elk.alg.common.nodespacing.cellsystem`,YH=`CENTER`,rft={216:1,337:1},ift={3:1,4:1,5:1,592:1},XH=`LEFT`,ZH=`RIGHT`,aft=`Vertical alignment cannot be null`,oft=`BOTTOM`,QH=`org.eclipse.elk.alg.common.nodespacing.internal`,$H=`UNDEFINED`,eU=.01,tU=`org.eclipse.elk.alg.common.nodespacing.internal.algorithm`,sft=`LabelPlacer/lambda$0$Type`,cft=`LabelPlacer/lambda$1$Type`,lft=`portRatioOrPosition`,nU=`org.eclipse.elk.alg.common.overlaps`,rU=`DOWN`,iU=`org.eclipse.elk.alg.common.spore`,aU={3:1,4:1,5:1,198:1},uft={3:1,6:1,4:1,5:1,90:1,110:1},oU=`org.eclipse.elk.alg.force`,dft=`ComponentsProcessor`,fft=`ComponentsProcessor/1`,pft=`ElkGraphImporter/lambda$0$Type`,sU={214:1},cU=`org.eclipse.elk.core`,lU=`org.eclipse.elk.graph.properties`,mft=`IPropertyHolder`,uU=`org.eclipse.elk.alg.force.graph`,hft=`Component Layout`,gft=`org.eclipse.elk.alg.force.model`,dU=`org.eclipse.elk.core.data`,fU=`org.eclipse.elk.force.model`,_ft=`org.eclipse.elk.force.iterations`,vft=`org.eclipse.elk.force.repulsivePower`,pU=`org.eclipse.elk.force.temperature`,mU=.001,hU=`org.eclipse.elk.force.repulsion`,gU={148:1},_U=`org.eclipse.elk.alg.force.options`,vU=1.600000023841858,yU=`org.eclipse.elk.force`,bU=`org.eclipse.elk.priority`,xU=`org.eclipse.elk.spacing.nodeNode`,SU=`org.eclipse.elk.spacing.edgeLabel`,CU=`org.eclipse.elk.aspectRatio`,wU=`org.eclipse.elk.randomSeed`,TU=`org.eclipse.elk.separateConnectedComponents`,EU=`org.eclipse.elk.padding`,DU=`org.eclipse.elk.interactive`,yft=`org.eclipse.elk.portConstraints`,OU=`org.eclipse.elk.edgeLabels.inline`,kU=`org.eclipse.elk.omitNodeMicroLayout`,AU=`org.eclipse.elk.nodeSize.fixedGraphSize`,jU=`org.eclipse.elk.nodeSize.options`,MU=`org.eclipse.elk.nodeSize.constraints`,NU=`org.eclipse.elk.nodeLabels.placement`,PU=`org.eclipse.elk.portLabels.placement`,FU=`org.eclipse.elk.topdownLayout`,IU=`org.eclipse.elk.topdown.scaleFactor`,LU=`org.eclipse.elk.topdown.hierarchicalNodeWidth`,RU=`org.eclipse.elk.topdown.hierarchicalNodeAspectRatio`,zU=`org.eclipse.elk.topdown.nodeType`,bft=`origin`,xft=`random`,Sft=`boundingBox.upLeft`,Cft=`boundingBox.lowRight`,wft=`org.eclipse.elk.stress.fixed`,Tft=`org.eclipse.elk.stress.desiredEdgeLength`,Eft=`org.eclipse.elk.stress.dimension`,Dft=`org.eclipse.elk.stress.epsilon`,Oft=`org.eclipse.elk.stress.iterationLimit`,BU=`org.eclipse.elk.stress`,kft=`ELK Stress`,VU=`org.eclipse.elk.nodeSize.minimum`,HU=`org.eclipse.elk.alg.force.stress`,Aft=`Layered layout`,UU=`org.eclipse.elk.alg.layered`,WU=`org.eclipse.elk.alg.layered.compaction.components`,GU=`org.eclipse.elk.alg.layered.compaction.oned`,KU=`org.eclipse.elk.alg.layered.compaction.oned.algs`,qU=`org.eclipse.elk.alg.layered.compaction.recthull`,JU=`org.eclipse.elk.alg.layered.components`,YU=`NONE`,jft=`MODEL_ORDER`,XU={3:1,6:1,4:1,10:1,5:1,126:1},Mft={3:1,6:1,4:1,5:1,135:1,90:1,110:1},ZU=`org.eclipse.elk.alg.layered.compound`,QU={43:1},$U=`org.eclipse.elk.alg.layered.graph`,Nft=` -> `,Pft=`Not supported by LGraph`,Fft=`Port side is undefined`,eW={3:1,6:1,4:1,5:1,323:1,135:1,90:1,110:1},tW={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},Ift={3:1,6:1,4:1,5:1,135:1,2004:1,209:1,90:1,110:1},Lft=`([{"' \r
`,Rft=`)]}"' \r
`,zft=`The given string contains parts that cannot be parsed as numbers.`,nW=`org.eclipse.elk.core.math`,Bft={3:1,4:1,140:1,213:1,414:1},Vft={3:1,4:1,104:1,213:1,414:1},rW=`org.eclipse.elk.alg.layered.graph.transform`,Hft=`ElkGraphImporter`,Uft=`ElkGraphImporter/lambda$1$Type`,Wft=`ElkGraphImporter/lambda$2$Type`,Gft=`ElkGraphImporter/lambda$4$Type`,iW=`org.eclipse.elk.alg.layered.intermediate`,Kft=`Node margin calculation`,qft=`ONE_SIDED_GREEDY_SWITCH`,Jft=`TWO_SIDED_GREEDY_SWITCH`,aW=`No implementation is available for the layout processor `,oW=`IntermediateProcessorStrategy`,sW=`Node '`,Yft=`FIRST_SEPARATE`,Xft=`LAST_SEPARATE`,Zft=`Odd port side processing`,cW=`org.eclipse.elk.alg.layered.intermediate.compaction`,lW=`org.eclipse.elk.alg.layered.intermediate.greedyswitch`,uW=`org.eclipse.elk.alg.layered.p3order.counting`,dW={220:1},fW=`org.eclipse.elk.alg.layered.intermediate.loops`,pW=`org.eclipse.elk.alg.layered.intermediate.loops.ordering`,mW=`org.eclipse.elk.alg.layered.intermediate.loops.routing`,hW=`org.eclipse.elk.alg.layered.intermediate.preserveorder`,gW=`org.eclipse.elk.alg.layered.intermediate.wrapping`,_W=`org.eclipse.elk.alg.layered.options`,vW=`INTERACTIVE`,Qft=`GREEDY`,$ft=`DEPTH_FIRST`,ept=`EDGE_LENGTH`,tpt=`SELF_LOOPS`,npt=`firstTryWithInitialOrder`,rpt=`org.eclipse.elk.layered.directionCongruency`,ipt=`org.eclipse.elk.layered.feedbackEdges`,yW=`org.eclipse.elk.layered.interactiveReferencePoint`,apt=`org.eclipse.elk.layered.mergeEdges`,opt=`org.eclipse.elk.layered.mergeHierarchyEdges`,spt=`org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides`,cpt=`org.eclipse.elk.layered.portSortingStrategy`,lpt=`org.eclipse.elk.layered.thoroughness`,upt=`org.eclipse.elk.layered.unnecessaryBendpoints`,dpt=`org.eclipse.elk.layered.generatePositionAndLayerIds`,bW=`org.eclipse.elk.layered.cycleBreaking.strategy`,xW=`org.eclipse.elk.layered.layering.strategy`,fpt=`org.eclipse.elk.layered.layering.layerConstraint`,ppt=`org.eclipse.elk.layered.layering.layerChoiceConstraint`,mpt=`org.eclipse.elk.layered.layering.layerId`,SW=`org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth`,CW=`org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor`,wW=`org.eclipse.elk.layered.layering.nodePromotion.strategy`,TW=`org.eclipse.elk.layered.layering.nodePromotion.maxIterations`,EW=`org.eclipse.elk.layered.layering.coffmanGraham.layerBound`,DW=`org.eclipse.elk.layered.crossingMinimization.strategy`,hpt=`org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder`,OW=`org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness`,kW=`org.eclipse.elk.layered.crossingMinimization.semiInteractive`,gpt=`org.eclipse.elk.layered.crossingMinimization.inLayerPredOf`,_pt=`org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf`,vpt=`org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint`,ypt=`org.eclipse.elk.layered.crossingMinimization.positionId`,bpt=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold`,AW=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.type`,jW=`org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type`,MW=`org.eclipse.elk.layered.nodePlacement.strategy`,NW=`org.eclipse.elk.layered.nodePlacement.favorStraightEdges`,PW=`org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening`,FW=`org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment`,IW=`org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening`,LW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility`,RW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default`,xpt=`org.eclipse.elk.layered.edgeRouting.selfLoopDistribution`,Spt=`org.eclipse.elk.layered.edgeRouting.selfLoopOrdering`,zW=`org.eclipse.elk.layered.edgeRouting.splines.mode`,BW=`org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor`,VW=`org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth`,Cpt=`org.eclipse.elk.layered.spacing.baseValue`,wpt=`org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers`,Tpt=`org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers`,Ept=`org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers`,Dpt=`org.eclipse.elk.layered.priority.direction`,Opt=`org.eclipse.elk.layered.priority.shortness`,kpt=`org.eclipse.elk.layered.priority.straightness`,HW=`org.eclipse.elk.layered.compaction.connectedComponents`,Apt=`org.eclipse.elk.layered.compaction.postCompaction.strategy`,jpt=`org.eclipse.elk.layered.compaction.postCompaction.constraints`,UW=`org.eclipse.elk.layered.highDegreeNodes.treatment`,WW=`org.eclipse.elk.layered.highDegreeNodes.threshold`,GW=`org.eclipse.elk.layered.highDegreeNodes.treeHeight`,KW=`org.eclipse.elk.layered.wrapping.strategy`,qW=`org.eclipse.elk.layered.wrapping.additionalEdgeSpacing`,JW=`org.eclipse.elk.layered.wrapping.correctionFactor`,YW=`org.eclipse.elk.layered.wrapping.cutting.strategy`,XW=`org.eclipse.elk.layered.wrapping.cutting.cuts`,ZW=`org.eclipse.elk.layered.wrapping.cutting.msd.freedom`,QW=`org.eclipse.elk.layered.wrapping.validify.strategy`,$W=`org.eclipse.elk.layered.wrapping.validify.forbiddenIndices`,eG=`org.eclipse.elk.layered.wrapping.multiEdge.improveCuts`,tG=`org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty`,nG=`org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges`,rG=`org.eclipse.elk.layered.layerUnzipping.strategy`,iG=`org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength`,aG=`org.eclipse.elk.layered.layerUnzipping.layerSplit`,oG=`org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges`,Mpt=`org.eclipse.elk.layered.edgeLabels.sideSelection`,Npt=`org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy`,sG=`org.eclipse.elk.layered.considerModelOrder.strategy`,Ppt=`org.eclipse.elk.layered.considerModelOrder.portModelOrder`,cG=`org.eclipse.elk.layered.considerModelOrder.noModelOrder`,lG=`org.eclipse.elk.layered.considerModelOrder.components`,Fpt=`org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy`,uG=`org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence`,dG=`org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence`,fG=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId`,pG=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId`,mG=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId`,Ipt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy`,hG=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId`,gG=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId`,Lpt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy`,Rpt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders`,_G=`layering`,zpt=`layering.minWidth`,Bpt=`layering.nodePromotion`,vG=`crossingMinimization`,yG=`org.eclipse.elk.hierarchyHandling`,Vpt=`crossingMinimization.greedySwitch`,Hpt=`nodePlacement`,Upt=`nodePlacement.bk`,Wpt=`edgeRouting`,bG=`org.eclipse.elk.edgeRouting`,xG=`spacing`,Gpt=`priority`,Kpt=`compaction`,qpt=`compaction.postCompaction`,Jpt=`Specifies whether and how post-process compaction is applied.`,Ypt=`highDegreeNodes`,Xpt=`wrapping`,Zpt=`wrapping.cutting`,Qpt=`wrapping.validify`,$pt=`wrapping.multiEdge`,SG=`layerUnzipping`,CG=`edgeLabels`,wG=`considerModelOrder`,TG=`considerModelOrder.groupModelOrder`,emt=`Group ID of the Node Type`,tmt=`org.eclipse.elk.spacing.commentComment`,nmt=`org.eclipse.elk.spacing.commentNode`,rmt=`org.eclipse.elk.spacing.componentComponent`,imt=`org.eclipse.elk.spacing.edgeEdge`,EG=`org.eclipse.elk.spacing.edgeNode`,amt=`org.eclipse.elk.spacing.labelLabel`,omt=`org.eclipse.elk.spacing.labelPortHorizontal`,smt=`org.eclipse.elk.spacing.labelPortVertical`,cmt=`org.eclipse.elk.spacing.labelNode`,lmt=`org.eclipse.elk.spacing.nodeSelfLoop`,umt=`org.eclipse.elk.spacing.portPort`,dmt=`org.eclipse.elk.spacing.individual`,fmt=`org.eclipse.elk.port.borderOffset`,pmt=`org.eclipse.elk.noLayout`,mmt=`org.eclipse.elk.port.side`,DG=`org.eclipse.elk.debugMode`,hmt=`org.eclipse.elk.alignment`,gmt=`org.eclipse.elk.insideSelfLoops.activate`,_mt=`org.eclipse.elk.insideSelfLoops.yo`,OG=`org.eclipse.elk.direction`,vmt=`org.eclipse.elk.nodeLabels.padding`,ymt=`org.eclipse.elk.portLabels.nextToPortIfPossible`,bmt=`org.eclipse.elk.portLabels.treatAsGroup`,xmt=`org.eclipse.elk.portAlignment.default`,Smt=`org.eclipse.elk.portAlignment.north`,Cmt=`org.eclipse.elk.portAlignment.south`,wmt=`org.eclipse.elk.portAlignment.west`,Tmt=`org.eclipse.elk.portAlignment.east`,kG=`org.eclipse.elk.contentAlignment`,Emt=`org.eclipse.elk.junctionPoints`,Dmt=`org.eclipse.elk.edge.thickness`,Omt=`org.eclipse.elk.edgeLabels.placement`,kmt=`org.eclipse.elk.port.index`,Amt=`org.eclipse.elk.commentBox`,jmt=`org.eclipse.elk.hypernode`,Mmt=`org.eclipse.elk.port.anchor`,AG=`org.eclipse.elk.partitioning.activate`,jG=`org.eclipse.elk.partitioning.partition`,MG=`org.eclipse.elk.position`,Nmt=`org.eclipse.elk.margins`,Pmt=`org.eclipse.elk.spacing.portsSurrounding`,NG=`org.eclipse.elk.interactiveLayout`,PG=`org.eclipse.elk.core.util`,Fmt={3:1,4:1,5:1,590:1},Imt=`NETWORK_SIMPLEX`,Lmt=`SIMPLE`,FG={95:1,43:1},IG=`org.eclipse.elk.alg.layered.p1cycles`,Rmt=`Depth-first cycle removal`,zmt=`Model order cycle breaking`,LG=`org.eclipse.elk.alg.layered.p2layers`,Bmt={406:1,220:1},Vmt={830:1,3:1,4:1},RG=`org.eclipse.elk.alg.layered.p3order`,zG=17976931348623157e292,BG=5e-324,VG=`org.eclipse.elk.alg.layered.p4nodes`,Hmt={3:1,4:1,5:1,838:1},HG=1e-5,UG=`org.eclipse.elk.alg.layered.p4nodes.bk`,WG=`org.eclipse.elk.alg.layered.p5edges`,GG=`org.eclipse.elk.alg.layered.p5edges.orthogonal`,KG=`org.eclipse.elk.alg.layered.p5edges.orthogonal.direction`,qG=1e-6,JG=`org.eclipse.elk.alg.layered.p5edges.splines`,YG=.09999999999999998,XG=1e-8,Umt=4.71238898038469,Wmt=1.5707963267948966,Gmt=3.141592653589793,ZG=`org.eclipse.elk.alg.mrtree`,QG=.10000000149011612,$G=`SUPER_ROOT`,eK=`org.eclipse.elk.alg.mrtree.graph`,Kmt=-17976931348623157e292,tK=`org.eclipse.elk.alg.mrtree.intermediate`,qmt=`Processor compute fanout`,nK={3:1,6:1,4:1,5:1,522:1,90:1,110:1},Jmt=`Set neighbors in level`,rK=`org.eclipse.elk.alg.mrtree.options`,Ymt=`DESCENDANTS`,Xmt=`org.eclipse.elk.mrtree.compaction`,Zmt=`org.eclipse.elk.mrtree.edgeEndTextureLength`,Qmt=`org.eclipse.elk.mrtree.treeLevel`,$mt=`org.eclipse.elk.mrtree.positionConstraint`,eht=`org.eclipse.elk.mrtree.weighting`,tht=`org.eclipse.elk.mrtree.edgeRoutingMode`,nht=`org.eclipse.elk.mrtree.searchOrder`,rht=`Position Constraint`,iK=`org.eclipse.elk.mrtree`,iht=`org.eclipse.elk.tree`,aht=`Processor arrange level`,aK=`org.eclipse.elk.alg.mrtree.p2order`,oK=`org.eclipse.elk.alg.mrtree.p4route`,oht=`org.eclipse.elk.alg.radial`,sK=6.283185307179586,sht=`Before`,cK=`After`,cht=`org.eclipse.elk.alg.radial.intermediate`,lht=`COMPACTION`,lK=`org.eclipse.elk.alg.radial.intermediate.compaction`,uht={3:1,4:1,5:1,90:1},dht=`org.eclipse.elk.alg.radial.intermediate.optimization`,uK=`No implementation is available for the layout option `,dK=`org.eclipse.elk.alg.radial.options`,fht=`CompactionStrategy`,pht=`org.eclipse.elk.radial.centerOnRoot`,mht=`org.eclipse.elk.radial.orderId`,hht=`org.eclipse.elk.radial.radius`,fK=`org.eclipse.elk.radial.rotate`,pK=`org.eclipse.elk.radial.compactor`,mK=`org.eclipse.elk.radial.compactionStepSize`,ght=`org.eclipse.elk.radial.sorter`,_ht=`org.eclipse.elk.radial.wedgeCriteria`,vht=`org.eclipse.elk.radial.optimizationCriteria`,hK=`org.eclipse.elk.radial.rotation.targetAngle`,gK=`org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace`,yht=`org.eclipse.elk.radial.rotation.outgoingEdgeAngles`,bht=`Compaction`,xht=`rotation`,_K=`org.eclipse.elk.radial`,Sht=`org.eclipse.elk.alg.radial.p1position.wedge`,Cht=`org.eclipse.elk.alg.radial.sorting`,wht=5.497787143782138,Tht=3.9269908169872414,Eht=2.356194490192345,Dht=`org.eclipse.elk.alg.rectpacking`,vK=`org.eclipse.elk.alg.rectpacking.intermediate`,yK=`org.eclipse.elk.alg.rectpacking.options`,Oht=`org.eclipse.elk.rectpacking.trybox`,kht=`org.eclipse.elk.rectpacking.currentPosition`,Aht=`org.eclipse.elk.rectpacking.desiredPosition`,jht=`org.eclipse.elk.rectpacking.inNewRow`,Mht=`org.eclipse.elk.rectpacking.orderBySize`,Nht=`org.eclipse.elk.rectpacking.widthApproximation.strategy`,Pht=`org.eclipse.elk.rectpacking.widthApproximation.targetWidth`,Fht=`org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal`,Iht=`org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift`,Lht=`org.eclipse.elk.rectpacking.packing.strategy`,Rht=`org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation`,zht=`org.eclipse.elk.rectpacking.packing.compaction.iterations`,Bht=`org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy`,bK=`widthApproximation`,Vht=`Compaction Strategy`,Hht=`packing.compaction`,xK=`org.eclipse.elk.rectpacking`,SK=`org.eclipse.elk.alg.rectpacking.p1widthapproximation`,CK=`org.eclipse.elk.alg.rectpacking.p2packing`,Uht=`No Compaction`,Wht=`org.eclipse.elk.alg.rectpacking.p3whitespaceelimination`,wK=`org.eclipse.elk.alg.rectpacking.util`,TK=`No implementation available for `,EK=`org.eclipse.elk.alg.spore`,DK=`org.eclipse.elk.alg.spore.options`,OK=`org.eclipse.elk.sporeCompaction`,kK=`org.eclipse.elk.underlyingLayoutAlgorithm`,Ght=`org.eclipse.elk.processingOrder.treeConstruction`,Kht=`org.eclipse.elk.processingOrder.spanningTreeCostFunction`,AK=`org.eclipse.elk.processingOrder.preferredRoot`,jK=`org.eclipse.elk.processingOrder.rootSelection`,MK=`org.eclipse.elk.structure.structureExtractionStrategy`,qht=`org.eclipse.elk.compaction.compactionStrategy`,Jht=`org.eclipse.elk.compaction.orthogonal`,Yht=`org.eclipse.elk.overlapRemoval.maxIterations`,Xht=`org.eclipse.elk.overlapRemoval.runScanline`,NK=`processingOrder`,Zht=`overlapRemoval`,PK=`org.eclipse.elk.sporeOverlap`,Qht=`org.eclipse.elk.alg.spore.p1structure`,FK=`org.eclipse.elk.alg.spore.p2processingorder`,IK=`org.eclipse.elk.alg.spore.p3execution`,$ht=`Topdown Layout`,egt=`Invalid index: `,LK=`org.eclipse.elk.core.alg`,RK={342:1},zK={296:1},tgt=`Make sure its type is registered with the `,ngt=` utility class.`,BK=`true`,VK=`false`,rgt=`Couldn't clone property '`,HK=.05,UK=`org.eclipse.elk.core.options`,igt=1.2999999523162842,WK=`org.eclipse.elk.box`,agt=`org.eclipse.elk.expandNodes`,ogt=`org.eclipse.elk.box.packingMode`,sgt=`org.eclipse.elk.algorithm`,cgt=`org.eclipse.elk.resolvedAlgorithm`,lgt=`org.eclipse.elk.bendPoints`,ugt=`org.eclipse.elk.labelManager`,dgt=`org.eclipse.elk.softwrappingFuzziness`,fgt=`org.eclipse.elk.scaleFactor`,pgt=`org.eclipse.elk.childAreaWidth`,mgt=`org.eclipse.elk.childAreaHeight`,hgt=`org.eclipse.elk.animate`,ggt=`org.eclipse.elk.animTimeFactor`,_gt=`org.eclipse.elk.layoutAncestors`,vgt=`org.eclipse.elk.maxAnimTime`,ygt=`org.eclipse.elk.minAnimTime`,bgt=`org.eclipse.elk.progressBar`,xgt=`org.eclipse.elk.validateGraph`,Sgt=`org.eclipse.elk.validateOptions`,Cgt=`org.eclipse.elk.zoomToFit`,wgt=`org.eclipse.elk.json.shapeCoords`,Tgt=`org.eclipse.elk.json.edgeCoords`,Egt=`org.eclipse.elk.font.name`,Dgt=`org.eclipse.elk.font.size`,GK=`org.eclipse.elk.topdown.sizeCategories`,Ogt=`org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight`,KK=`org.eclipse.elk.topdown.sizeApproximator`,kgt=`org.eclipse.elk.topdown.scaleCap`,Agt=`org.eclipse.elk.edge.type`,jgt=`partitioning`,Mgt=`nodeLabels`,qK=`portAlignment`,JK=`nodeSize`,YK=`port`,Ngt=`portLabels`,XK=`topdown`,Pgt=`insideSelfLoops`,Fgt=`INHERIT`,ZK=`org.eclipse.elk.fixed`,QK=`org.eclipse.elk.random`,$K={3:1,35:1,23:1,521:1,288:1},Igt=`port must have a parent node to calculate the port side`,Lgt=`The edge needs to have exactly one edge section. Found: `,eq=`org.eclipse.elk.core.util.adapters`,tq=`org.eclipse.emf.ecore`,nq=`org.eclipse.elk.graph`,Rgt=`EMapPropertyHolder`,zgt=`ElkBendPoint`,Bgt=`ElkGraphElement`,Vgt=`ElkConnectableShape`,Hgt=`ElkEdge`,Ugt=`ElkEdgeSection`,Wgt=`EModelElement`,Ggt=`ENamedElement`,Kgt=`ElkLabel`,qgt=`ElkNode`,Jgt=`ElkPort`,Ygt={94:1,93:1},rq=`org.eclipse.emf.common.notify.impl`,iq=`The feature '`,aq=`' is not a valid changeable feature`,Xgt=`Expecting null`,oq=`' is not a valid feature`,Zgt=`The feature ID`,Qgt=` is not a valid feature ID`,sq=32768,$gt={109:1,94:1,93:1,57:1,52:1,100:1},cq=`org.eclipse.emf.ecore.impl`,lq=`org.eclipse.elk.graph.impl`,uq=`Recursive containment not allowed for `,dq=`The datatype '`,fq=`' is not a valid classifier`,pq=`The value '`,mq={195:1,3:1,4:1},hq=`The class '`,gq=`http://www.eclipse.org/elk/ElkGraph`,e_t=`property`,_q=`value`,vq=`source`,t_t=`properties`,n_t=`identifier`,yq=`height`,bq=`width`,xq=`parent`,Sq=`text`,Cq=`children`,r_t=`hierarchical`,i_t=`sources`,wq=`targets`,Tq=`sections`,Eq=`bendPoints`,a_t=`outgoingShape`,o_t=`incomingShape`,s_t=`outgoingSections`,c_t=`incomingSections`,Dq=`org.eclipse.emf.common.util`,l_t=`Severe implementation error in the Json to ElkGraph importer.`,Oq=`id`,kq=`org.eclipse.elk.graph.json`,Aq=`Unhandled parameter types: `,u_t=`startPoint`,d_t=`An edge must have at least one source and one target (edge id: '`,jq=`').`,f_t=`Referenced edge section does not exist: `,p_t=` (edge id: '`,m_t=`target`,h_t=`sourcePoint`,g_t=`targetPoint`,Mq=`group`,Nq=`name`,__t=`connectableShape cannot be null`,v_t=`edge cannot be null`,y_t=`Passed edge is not 'simple'.`,Pq=`org.eclipse.elk.graph.util`,Fq=`The 'no duplicates' constraint is violated`,Iq=`targetIndex=`,Lq=`, size=`,Rq=`sourceIndex=`,zq={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},Bq={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,585:1},Vq=`logging`,b_t=`measureExecutionTime`,x_t=`parser.parse.1`,S_t=`parser.parse.2`,Hq=`parser.next.1`,Uq=`parser.next.2`,C_t=`parser.next.3`,w_t=`parser.next.4`,Wq=`parser.factor.1`,T_t=`parser.factor.2`,E_t=`parser.factor.3`,D_t=`parser.factor.4`,O_t=`parser.factor.5`,k_t=`parser.factor.6`,A_t=`parser.atom.1`,j_t=`parser.atom.2`,M_t=`parser.atom.3`,N_t=`parser.atom.4`,Gq=`parser.atom.5`,P_t=`parser.cc.1`,Kq=`parser.cc.2`,F_t=`parser.cc.3`,I_t=`parser.cc.5`,L_t=`parser.cc.6`,R_t=`parser.cc.7`,qq=`parser.cc.8`,z_t=`parser.ope.1`,B_t=`parser.ope.2`,V_t=`parser.ope.3`,Jq=`parser.descape.1`,H_t=`parser.descape.2`,U_t=`parser.descape.3`,W_t=`parser.descape.4`,G_t=`parser.descape.5`,Yq=`parser.process.1`,K_t=`parser.quantifier.1`,q_t=`parser.quantifier.2`,J_t=`parser.quantifier.3`,Y_t=`parser.quantifier.4`,X_t=`parser.quantifier.5`,Z_t=`org.eclipse.emf.common.notify`,Q_t={415:1,676:1},$_t={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},Xq={373:1,151:1},Zq=`index=`,Qq={3:1,4:1,5:1,129:1},evt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},tvt={3:1,6:1,4:1,5:1,198:1},nvt={3:1,4:1,5:1,175:1,374:1},$q=1024,rvt=`;/?:@&=+$,`,ivt=`invalid authority: `,avt=`EAnnotation`,ovt=`ETypedElement`,svt=`EStructuralFeature`,cvt=`EAttribute`,lvt=`EClassifier`,uvt=`EEnumLiteral`,dvt=`EGenericType`,fvt=`EOperation`,pvt=`EParameter`,mvt=`EReference`,hvt=`ETypeParameter`,eJ=`org.eclipse.emf.ecore.util`,tJ={77:1},gvt={3:1,20:1,18:1,16:1,61:1,586:1,77:1,72:1,98:1},_vt=`org.eclipse.emf.ecore.util.FeatureMap$Entry`,nJ=8192,rJ=`byte`,iJ=`char`,aJ=`double`,oJ=`float`,sJ=`int`,cJ=`long`,lJ=`short`,vvt=`java.lang.Object`,uJ={3:1,4:1,5:1,255:1},yvt={3:1,4:1,5:1,678:1},bvt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},dJ={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,72:1,98:1},fJ=`mixed`,pJ=`http:///org/eclipse/emf/ecore/util/ExtendedMetaData`,mJ=`kind`,xvt={3:1,4:1,5:1,679:1},Svt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,77:1,72:1,98:1},hJ={20:1,31:1,56:1,18:1,16:1,61:1,72:1},gJ={50:1,128:1,287:1},_J={75:1,344:1},vJ=`The value of type '`,yJ=`' must be of type '`,bJ=1306,xJ=`http://www.eclipse.org/emf/2002/Ecore`,SJ=-32768,CJ=`constraints`,wJ=`baseType`,Cvt=`getEStructuralFeature`,wvt=`getFeatureID`,TJ=`feature`,Tvt=`getOperationID`,Evt=`operation`,Dvt=`defaultValue`,Ovt=`eTypeParameters`,kvt=`isInstance`,Avt=`getEEnumLiteral`,jvt=`eContainingClass`,EJ={58:1},Mvt={3:1,4:1,5:1,122:1},Nvt=`org.eclipse.emf.ecore.resource`,Pvt={94:1,93:1,588:1,1996:1},DJ=`org.eclipse.emf.ecore.resource.impl`,Fvt=`unspecified`,OJ=`simple`,kJ=`attribute`,Ivt=`attributeWildcard`,AJ=`element`,jJ=`elementWildcard`,MJ=`collapse`,Lvt=`itemType`,NJ=`namespace`,PJ=`##targetNamespace`,FJ=`whiteSpace`,Rvt=`wildcards`,IJ=`http://www.eclipse.org/emf/2003/XMLType`,zvt=`##any`,LJ=`uninitialized`,RJ=`The multiplicity constraint is violated`,zJ=`org.eclipse.emf.ecore.xml.type`,Bvt=`ProcessingInstruction`,Vvt=`SimpleAnyType`,Hvt=`XMLTypeDocumentRoot`,BJ=`org.eclipse.emf.ecore.xml.type.impl`,VJ=`INF`,Uvt=`processing`,Wvt=`ENTITIES_._base`,Gvt=`minLength`,Kvt=`ENTITY`,HJ=`NCName`,qvt=`IDREFS_._base`,Jvt=`integer`,Yvt=`token`,Xvt=`pattern`,Zvt=`[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*`,Qvt=`\\i\\c*`,$vt=`[\\i-[:]][\\c-[:]]*`,eyt=`nonPositiveInteger`,UJ=`maxInclusive`,tyt=`NMTOKEN`,nyt=`NMTOKENS_._base`,ryt=`nonNegativeInteger`,WJ=`minInclusive`,iyt=`normalizedString`,ayt=`unsignedByte`,oyt=`unsignedInt`,syt=`18446744073709551615`,cyt=`unsignedShort`,lyt=`processingInstruction`,GJ=`org.eclipse.emf.ecore.xml.type.internal`,KJ=1114111,uyt=`Internal Error: shorthands: \\u`,qJ=`xml:isDigit`,dyt=`xml:isWord`,fyt=`xml:isSpace`,pyt=`xml:isNameChar`,myt=`xml:isInitialNameChar`,hyt=`09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩`,gyt=`AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣`,_yt=`Private Use`,vyt=`ASSIGNED`,yyt=`\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ`,byt=`UNASSIGNED`,JJ={3:1,121:1},xyt=`org.eclipse.emf.ecore.xml.type.util`,YJ={3:1,4:1,5:1,376:1},Syt=`org.eclipse.xtext.xbase.lib`,Cyt=`Cannot add elements to a Range`,wyt=`Cannot set elements in a Range`,Tyt=`Cannot remove elements from a Range`,Eyt=`user.agent`,Q,XJ,Dyt,Oyt=-1;r.goog=r.goog||{},r.goog.global=r.goog.global||r,XJ={},q(1,null,{},a),Q.Fb=function(e){return tfe(this,e)},Q.Gb=function(){return this.Pm},Q.Hb=function(){return jx(this)},Q.Ib=function(){var e;return a_(WM(this))+`@`+(e=Cj(this)>>>0,e.toString(16))},Q.equals=function(e){return this.Fb(e)},Q.hashCode=function(){return this.Hb()},Q.toString=function(){return this.Ib()};var kyt,Ayt,jyt;q(298,1,{298:1,2086:1},QVe),Q.te=function(e){var t=new QVe;return t.i=4,e>1?t.c=_Oe(this,e-1):t.c=this,t},Q.ue=function(){return $x(this),this.b},Q.ve=function(){return a_(this)},Q.we=function(){return $x(this),this.k},Q.xe=function(){return(this.i&4)!=0},Q.ye=function(){return(this.i&1)!=0},Q.Ib=function(){return xLe(this)},Q.i=0;var Myt=1,ZJ=L(YB,`Object`,1),Nyt=L(YB,`Class`,298);q(2058,1,XB),L(ZB,`Optional`,2058),q(1160,2058,XB,o),Q.Fb=function(e){return e===this},Q.Hb=function(){return 2040732332},Q.Ib=function(){return`Optional.absent()`},Q.Jb=function(e){return Kw(e),Wh(),Pyt};var Pyt;L(ZB,`Absent`,1160),q(627,1,{},wg),L(ZB,`Joiner`,627);var Fyt=yC(ZB,`Predicate`);q(577,1,{178:1,577:1,3:1,48:1},Df),Q.Mb=function(e){return mHe(this,e)},Q.Lb=function(e){return mHe(this,e)},Q.Fb=function(e){var t;return M(e,577)?(t=P(e,577),C6e(this.a,t.a)):!1},Q.Hb=function(){return xHe(this.a)+306654252},Q.Ib=function(){return q0e(this.a)},L(ZB,`Predicates/AndPredicate`,577),q(411,2058,{411:1,3:1},Of),Q.Fb=function(e){var t;return M(e,411)?(t=P(e,411),DN(this.a,t.a)):!1},Q.Hb=function(){return 1502476572+Cj(this.a)},Q.Ib=function(){return Kut+this.a+`)`},Q.Jb=function(e){return new Of(eE(e.Kb(this.a),`the Function passed to Optional.transform() must not return null.`))},L(ZB,`Present`,411),q(204,1,tV),Q.Nb=function(e){_w(this,e)},Q.Qb=function(){eoe()},L(nV,`UnmodifiableIterator`,204),q(2038,204,rV),Q.Qb=function(){eoe()},Q.Rb=function(e){throw D(new bh)},Q.Wb=function(e){throw D(new bh)},L(nV,`UnmodifiableListIterator`,2038),q(392,2038,rV),Q.Ob=function(){return this.b<this.c},Q.Sb=function(){return this.b>0},Q.Pb=function(){if(this.b>=this.c)throw D(new xh);return this.Xb(this.b++)},Q.Tb=function(){return this.b},Q.Ub=function(){if(this.b<=0)throw D(new xh);return this.Xb(--this.b)},Q.Vb=function(){return this.b-1},Q.b=0,Q.c=0,L(nV,`AbstractIndexedListIterator`,392),q(702,204,tV),Q.Ob=function(){return nj(this)},Q.Pb=function(){return cIe(this)},Q.e=1,L(nV,`AbstractIterator`,702),q(2046,1,{229:1}),Q.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},Q.Fb=function(e){return UM(this,e)},Q.Hb=function(){return Cj(this.Zb())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return JC(this)},Q.Ib=function(){return EP(this.Zb())},L(nV,`AbstractMultimap`,2046),q(730,2046,iV),Q.$b=function(){KA(this)},Q._b=function(e){return tse(this,e)},Q.ac=function(){return new p_(this,this.c)},Q.ic=function(e){return this.hc()},Q.bc=function(){return new ux(this,this.c)},Q.jc=function(){return this.mc(this.hc())},Q.kc=function(){return new vae(this)},Q.lc=function(){return mL(this.c.vc().Lc(),new l,64,this.d)},Q.cc=function(e){return DO(this,e)},Q.fc=function(e){return _N(this,e)},Q.gc=function(){return this.d},Q.mc=function(e){return KT(),new lm(e)},Q.nc=function(){return new _ae(this)},Q.oc=function(){return mL(this.c.Bc().Lc(),new s,64,this.d)},Q.pc=function(e,t){return new VO(this,e,t,null)},Q.d=0,L(nV,`AbstractMapBasedMultimap`,730),q(1661,730,iV),Q.hc=function(){return new HO(this.a)},Q.jc=function(){return KT(),KT(),EY},Q.cc=function(e){return P(DO(this,e),16)},Q.fc=function(e){return P(_N(this,e),16)},Q.Zb=function(){return GT(this)},Q.Fb=function(e){return UM(this,e)},Q.qc=function(e){return P(DO(this,e),16)},Q.rc=function(e){return P(_N(this,e),16)},Q.mc=function(e){return tE(P(e,16))},Q.pc=function(e,t){return sje(this,e,P(t,16),null)},L(nV,`AbstractListMultimap`,1661),q(736,1,aV),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.c.Ob()||this.e.Ob()},Q.Pb=function(){var e;return this.e.Ob()||(e=P(this.c.Pb(),45),this.b=e.jd(),this.a=P(e.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},Q.Qb=function(){this.e.Qb(),P(uT(this.a),18).dc()&&this.c.Qb(),--this.d.d},L(nV,`AbstractMapBasedMultimap/Itr`,736),q(1098,736,aV,_ae),Q.sc=function(e,t){return t},L(nV,`AbstractMapBasedMultimap/1`,1098),q(1099,1,{},s),Q.Kb=function(e){return P(e,18).Lc()},L(nV,`AbstractMapBasedMultimap/1methodref$spliterator$Type`,1099),q(1100,736,aV,vae),Q.sc=function(e,t){return new g_(e,t)},L(nV,`AbstractMapBasedMultimap/2`,1100);var Iyt=yC(oV,`Map`);q(2027,1,sV),Q.wc=function(e){Mj(this,e)},Q.$b=function(){this.vc().$b()},Q.tc=function(e){return uI(this,e)},Q._b=function(e){return!!$Qe(this,e,!1)},Q.uc=function(e){var t,n,r;for(n=this.vc().Jc();n.Ob();)if(t=P(n.Pb(),45),r=t.kd(),j(e)===j(r)||e!=null&&DN(e,r))return!0;return!1},Q.Fb=function(e){var t,n,r;if(e===this)return!0;if(!M(e,92)||(r=P(e,92),this.gc()!=r.gc()))return!1;for(n=r.vc().Jc();n.Ob();)if(t=P(n.Pb(),45),!this.tc(t))return!1;return!0},Q.xc=function(e){return By($Qe(this,e,!1))},Q.Hb=function(){return PVe(this.vc())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return new Zp(this)},Q.yc=function(e,t){throw D(new ug(`Put not supported on this map`))},Q.zc=function(e){Ej(this,e)},Q.Ac=function(e){return By($Qe(this,e,!0))},Q.gc=function(){return this.vc().gc()},Q.Ib=function(){return p$e(this)},Q.Bc=function(){return new om(this)},L(oV,`AbstractMap`,2027),q(2047,2027,sV),Q.bc=function(){return new v_(this)},Q.vc=function(){return $Se(this)},Q.ec=function(){return this.g||=this.bc()},Q.Bc=function(){return this.i||=new cce(this)},L(nV,`Maps/ViewCachingAbstractMap`,2047),q(395,2047,sV,p_),Q.xc=function(e){return TLe(this,e)},Q.Ac=function(e){return QHe(this,e)},Q.$b=function(){this.d==this.e.c?this.e.$b():TC(new Uxe(this))},Q._b=function(e){return ZUe(this.d,e)},Q.Dc=function(){return new kf(this)},Q.Cc=function(){return this.Dc()},Q.Fb=function(e){return this===e||DN(this.d,e)},Q.Hb=function(){return Cj(this.d)},Q.ec=function(){return this.e.ec()},Q.gc=function(){return this.d.gc()},Q.Ib=function(){return EP(this.d)},L(nV,`AbstractMapBasedMultimap/AsMap`,395);var QJ=yC(YB,`Iterable`);q(31,1,cV),Q.Ic=function(e){dO(this,e)},Q.Lc=function(){return new nD(this,0)},Q.Mc=function(){return new jC(null,this.Lc())},Q.Ec=function(e){throw D(new ug(`Add not supported on this collection`))},Q.Fc=function(e){return bj(this,e)},Q.$b=function(){MTe(this)},Q.Gc=function(e){return MP(this,e,!1)},Q.Hc=function(e){return mM(this,e)},Q.dc=function(){return this.gc()==0},Q.Kc=function(e){return MP(this,e,!0)},Q.Nc=function(){return ZSe(this)},Q.Oc=function(e){return lI(this,e)},Q.Ib=function(){return wL(this)},L(oV,`AbstractCollection`,31);var $J=yC(oV,`Set`);q(lV,31,uV),Q.Lc=function(){return new nD(this,1)},Q.Fb=function(e){return yqe(this,e)},Q.Hb=function(){return PVe(this)},L(oV,`AbstractSet`,lV),q(2030,lV,uV),L(nV,`Sets/ImprovedAbstractSet`,2030),q(2031,2030,uV),Q.$b=function(){this.Pc().$b()},Q.Gc=function(e){return DKe(this,e)},Q.dc=function(){return this.Pc().dc()},Q.Kc=function(e){var t;return this.Gc(e)&&M(e,45)?(t=P(e,45),this.Pc().ec().Kc(t.jd())):!1},Q.gc=function(){return this.Pc().gc()},L(nV,`Maps/EntrySet`,2031),q(1096,2031,uV,kf),Q.Gc=function(e){return YUe(this.a.d.vc(),e)},Q.Jc=function(){return new Uxe(this.a)},Q.Pc=function(){return this.a},Q.Kc=function(e){var t;return YUe(this.a.d.vc(),e)?(t=P(uT(P(e,45)),45),xNe(this.a.e,t.jd()),!0):!1},Q.Lc=function(){return XS(this.a.d.vc().Lc(),new Af(this.a))},L(nV,`AbstractMapBasedMultimap/AsMap/AsMapEntries`,1096),q(1097,1,{},Af),Q.Kb=function(e){return KMe(this.a,P(e,45))},L(nV,`AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type`,1097),q(734,1,aV,Uxe),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){var e;return e=P(this.b.Pb(),45),this.a=P(e.kd(),18),KMe(this.c,e)},Q.Ob=function(){return this.b.Ob()},Q.Qb=function(){kS(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},L(nV,`AbstractMapBasedMultimap/AsMap/AsMapIterator`,734),q(530,2030,uV,v_),Q.$b=function(){this.b.$b()},Q.Gc=function(e){return this.b._b(e)},Q.Ic=function(e){Kw(e),this.b.wc(new tp(e))},Q.dc=function(){return this.b.dc()},Q.Jc=function(){return new qh(this.b.vc().Jc())},Q.Kc=function(e){return this.b._b(e)?(this.b.Ac(e),!0):!1},Q.gc=function(){return this.b.gc()},L(nV,`Maps/KeySet`,530),q(332,530,uV,ux),Q.$b=function(){var e;TC((e=this.b.vc().Jc(),new Hse(this,e)))},Q.Hc=function(e){return this.b.ec().Hc(e)},Q.Fb=function(e){return this===e||DN(this.b.ec(),e)},Q.Hb=function(){return Cj(this.b.ec())},Q.Jc=function(){var e;return e=this.b.vc().Jc(),new Hse(this,e)},Q.Kc=function(e){var t,n=0;return t=P(this.b.Ac(e),18),t&&(n=t.gc(),t.$b(),this.a.d-=n),n>0},Q.Lc=function(){return this.b.ec().Lc()},L(nV,`AbstractMapBasedMultimap/KeySet`,332),q(735,1,aV,Hse),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.c.Ob()},Q.Pb=function(){return this.a=P(this.c.Pb(),45),this.a.jd()},Q.Qb=function(){var e;kS(!!this.a),e=P(this.a.kd(),18),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},L(nV,`AbstractMapBasedMultimap/KeySet/1`,735),q(489,395,{92:1,134:1},nS),Q.bc=function(){return this.Qc()},Q.ec=function(){return this.Sc()},Q.Qc=function(){return new m_(this.c,this.Uc())},Q.Rc=function(){return this.Uc().Rc()},Q.Sc=function(){var e;return e=this.b,e||(this.b=this.Qc())},Q.Tc=function(){return this.Uc().Tc()},Q.Uc=function(){return P(this.d,134)},L(nV,`AbstractMapBasedMultimap/SortedAsMap`,489),q(437,489,qut,rS),Q.bc=function(){return new h_(this.a,P(P(this.d,134),138))},Q.Qc=function(){return new h_(this.a,P(P(this.d,134),138))},Q.ec=function(){var e;return e=this.b,P(e||(this.b=new h_(this.a,P(P(this.d,134),138))),277)},Q.Sc=function(){var e;return e=this.b,P(e||(this.b=new h_(this.a,P(P(this.d,134),138))),277)},Q.Uc=function(){return P(P(this.d,134),138)},Q.Vc=function(e){return P(P(this.d,134),138).Vc(e)},Q.Wc=function(e){return P(P(this.d,134),138).Wc(e)},Q.Xc=function(e,t){return new rS(this.a,P(P(this.d,134),138).Xc(e,t))},Q.Yc=function(e){return P(P(this.d,134),138).Yc(e)},Q.Zc=function(e){return P(P(this.d,134),138).Zc(e)},Q.$c=function(e,t){return new rS(this.a,P(P(this.d,134),138).$c(e,t))},L(nV,`AbstractMapBasedMultimap/NavigableAsMap`,437),q(488,332,Jut,m_),Q.Lc=function(){return this.b.ec().Lc()},L(nV,`AbstractMapBasedMultimap/SortedKeySet`,488),q(394,488,Yut,h_),L(nV,`AbstractMapBasedMultimap/NavigableKeySet`,394),q(539,31,cV,VO),Q.Ec=function(e){var t,n;return OP(this),n=this.d.dc(),t=this.d.Ec(e),t&&(++this.f.d,n&&vS(this)),t},Q.Fc=function(e){var t,n,r;return e.dc()?!1:(r=(OP(this),this.d.gc()),t=this.d.Fc(e),t&&(n=this.d.gc(),this.f.d+=n-r,r==0&&vS(this)),t)},Q.$b=function(){var e=(OP(this),this.d.gc());e!=0&&(this.d.$b(),this.f.d-=e,HC(this))},Q.Gc=function(e){return OP(this),this.d.Gc(e)},Q.Hc=function(e){return OP(this),this.d.Hc(e)},Q.Fb=function(e){return e===this?!0:(OP(this),DN(this.d,e))},Q.Hb=function(){return OP(this),Cj(this.d)},Q.Jc=function(){return OP(this),new jbe(this)},Q.Kc=function(e){var t;return OP(this),t=this.d.Kc(e),t&&(--this.f.d,HC(this)),t},Q.gc=function(){return zde(this)},Q.Lc=function(){return OP(this),this.d.Lc()},Q.Ib=function(){return OP(this),EP(this.d)},L(nV,`AbstractMapBasedMultimap/WrappedCollection`,539);var eY=yC(oV,`List`);q(732,539,{20:1,31:1,18:1,16:1},nCe),Q.gd=function(e){pj(this,e)},Q.Lc=function(){return OP(this),this.d.Lc()},Q._c=function(e,t){var n;OP(this),n=this.d.dc(),P(this.d,16)._c(e,t),++this.a.d,n&&vS(this)},Q.ad=function(e,t){var n,r,i;return t.dc()?!1:(i=(OP(this),this.d.gc()),n=P(this.d,16).ad(e,t),n&&(r=this.d.gc(),this.a.d+=r-i,i==0&&vS(this)),n)},Q.Xb=function(e){return OP(this),P(this.d,16).Xb(e)},Q.bd=function(e){return OP(this),P(this.d,16).bd(e)},Q.cd=function(){return OP(this),new epe(this)},Q.dd=function(e){return OP(this),new iEe(this,e)},Q.ed=function(e){var t;return OP(this),t=P(this.d,16).ed(e),--this.a.d,HC(this),t},Q.fd=function(e,t){return OP(this),P(this.d,16).fd(e,t)},Q.hd=function(e,t){return OP(this),sje(this.a,this.e,P(this.d,16).hd(e,t),this.b?this.b:this)},L(nV,`AbstractMapBasedMultimap/WrappedList`,732),q(1095,732,{20:1,31:1,18:1,16:1,59:1},ohe),L(nV,`AbstractMapBasedMultimap/RandomAccessWrappedList`,1095),q(619,1,aV,jbe),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return JT(this),this.b.Ob()},Q.Pb=function(){return JT(this),this.b.Pb()},Q.Qb=function(){dme(this)},L(nV,`AbstractMapBasedMultimap/WrappedCollection/WrappedIterator`,619),q(733,619,dV,epe,iEe),Q.Qb=function(){dme(this)},Q.Rb=function(e){var t=zde(this.a)==0;(JT(this),P(this.b,128)).Rb(e),++this.a.a.d,t&&vS(this.a)},Q.Sb=function(){return(JT(this),P(this.b,128)).Sb()},Q.Tb=function(){return(JT(this),P(this.b,128)).Tb()},Q.Ub=function(){return(JT(this),P(this.b,128)).Ub()},Q.Vb=function(){return(JT(this),P(this.b,128)).Vb()},Q.Wb=function(e){(JT(this),P(this.b,128)).Wb(e)},L(nV,`AbstractMapBasedMultimap/WrappedList/WrappedListIterator`,733),q(731,539,Jut,bge),Q.Lc=function(){return OP(this),this.d.Lc()},L(nV,`AbstractMapBasedMultimap/WrappedSortedSet`,731),q(1094,731,Yut,jfe),L(nV,`AbstractMapBasedMultimap/WrappedNavigableSet`,1094),q(1093,539,uV,xge),Q.Lc=function(){return OP(this),this.d.Lc()},L(nV,`AbstractMapBasedMultimap/WrappedSet`,1093),q(1102,1,{},l),Q.Kb=function(e){return XNe(P(e,45))},L(nV,`AbstractMapBasedMultimap/lambda$1$Type`,1102),q(1101,1,{},jf),Q.Kb=function(e){return new g_(this.a,e)},L(nV,`AbstractMapBasedMultimap/lambda$2$Type`,1101);var tY=yC(oV,`Map/Entry`);q(358,1,fV),Q.Fb=function(e){var t;return M(e,45)?(t=P(e,45),cT(this.jd(),t.jd())&&cT(this.kd(),t.kd())):!1},Q.Hb=function(){var e=this.jd(),t=this.kd();return(e==null?0:Cj(e))^(t==null?0:Cj(t))},Q.ld=function(e){throw D(new bh)},Q.Ib=function(){return this.jd()+`=`+this.kd()},L(nV,Xut,358),q(pV,31,cV),Q.$b=function(){this.md().$b()},Q.Gc=function(e){var t;return M(e,45)?(t=P(e,45),TAe(this.md(),t.jd(),t.kd())):!1},Q.Kc=function(e){var t;return M(e,45)?(t=P(e,45),EAe(this.md(),t.jd(),t.kd())):!1},Q.gc=function(){return this.md().d},L(nV,`Multimaps/Entries`,pV),q(737,pV,cV,Mf),Q.Jc=function(){return this.a.kc()},Q.md=function(){return this.a},Q.Lc=function(){return this.a.lc()},L(nV,`AbstractMultimap/Entries`,737),q(738,737,uV,yae),Q.Lc=function(){return this.a.lc()},Q.Fb=function(e){return w0e(this,e)},Q.Hb=function(){return kze(this)},L(nV,`AbstractMultimap/EntrySet`,738),q(739,31,cV,Nf),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return GHe(this.a,e)},Q.Jc=function(){return this.a.nc()},Q.gc=function(){return this.a.d},Q.Lc=function(){return this.a.oc()},L(nV,`AbstractMultimap/Values`,739),q(2049,31,{833:1,20:1,31:1,18:1}),Q.Ic=function(e){Kw(e),kT(this).Ic(new lp(e))},Q.Lc=function(){var e;return e=kT(this).Lc(),mL(e,new _,64|e.wd()&1296,this.a.d)},Q.Ec=function(e){return toe(),!0},Q.Fc=function(e){return Kw(this),Kw(e),M(e,540)?HAe(P(e,833)):!e.dc()&&Rk(this,e.Jc())},Q.Gc=function(e){var t;return t=P(xN(GT(this.a),e),18),(t?t.gc():0)>0},Q.Fb=function(e){return J6e(this,e)},Q.Hb=function(){return Cj(kT(this))},Q.dc=function(){return kT(this).dc()},Q.Kc=function(e){return F4e(this,e,1)>0},Q.Ib=function(){return EP(kT(this))},L(nV,`AbstractMultiset`,2049),q(2051,2030,uV),Q.$b=function(){KA(this.a.a)},Q.Gc=function(e){var t,n;return M(e,490)?(n=P(e,416),P(n.a.kd(),18).gc()<=0?!1:(t=HOe(this.a,n.a.jd()),t==P(n.a.kd(),18).gc())):!1},Q.Kc=function(e){var t,n,r,i;return M(e,490)&&(n=P(e,416),t=n.a.jd(),r=P(n.a.kd(),18).gc(),r!=0)?(i=this.a,I4e(i,t,r)):!1},L(nV,`Multisets/EntrySet`,2051),q(1108,2051,uV,Pf),Q.Jc=function(){return new Aae($Se(GT(this.a.a)).Jc())},Q.gc=function(){return GT(this.a.a).gc()},L(nV,`AbstractMultiset/EntrySet`,1108),q(618,730,iV),Q.hc=function(){return this.nd()},Q.jc=function(){return this.od()},Q.cc=function(e){return this.pd(e)},Q.fc=function(e){return this.qd(e)},Q.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},Q.od=function(){return KT(),KT(),OY},Q.Fb=function(e){return UM(this,e)},Q.pd=function(e){return P(DO(this,e),22)},Q.qd=function(e){return P(_N(this,e),22)},Q.mc=function(e){return KT(),new jg(P(e,22))},Q.pc=function(e,t){return new xge(this,e,P(t,22))},L(nV,`AbstractSetMultimap`,618),q(1689,618,iV),Q.hc=function(){return new s_(this.b)},Q.nd=function(){return new s_(this.b)},Q.jc=function(){return wwe(new s_(this.b))},Q.od=function(){return wwe(new s_(this.b))},Q.cc=function(e){return P(P(DO(this,e),22),83)},Q.pd=function(e){return P(P(DO(this,e),22),83)},Q.fc=function(e){return P(P(_N(this,e),22),83)},Q.qd=function(e){return P(P(_N(this,e),22),83)},Q.mc=function(e){return M(e,277)?wwe(P(e,277)):(KT(),new kme(P(e,83)))},Q.Zb=function(){var e;return e=this.f,e||(this.f=M(this.c,138)?new rS(this,P(this.c,138)):M(this.c,134)?new nS(this,P(this.c,134)):new p_(this,this.c))},Q.pc=function(e,t){return M(t,277)?new jfe(this,e,P(t,277)):new bge(this,e,P(t,83))},L(nV,`AbstractSortedSetMultimap`,1689),q(1690,1689,iV),Q.Zb=function(){var e;return e=this.f,P(P(e||(this.f=M(this.c,138)?new rS(this,P(this.c,138)):M(this.c,134)?new nS(this,P(this.c,134)):new p_(this,this.c)),134),138)},Q.ec=function(){var e;return e=this.i,P(P(e||(this.i=M(this.c,138)?new h_(this,P(this.c,138)):M(this.c,134)?new m_(this,P(this.c,134)):new ux(this,this.c)),83),277)},Q.bc=function(){return M(this.c,138)?new h_(this,P(this.c,138)):M(this.c,134)?new m_(this,P(this.c,134)):new ux(this,this.c)},L(nV,`AbstractSortedKeySortedSetMultimap`,1690),q(2071,1,{2008:1}),Q.Fb=function(e){return tQe(this,e)},Q.Hb=function(){var e;return PVe((e=this.g,e||(this.g=new Ff(this))))},Q.Ib=function(){var e;return p$e((e=this.f,e||(this.f=new ume(this))))},L(nV,`AbstractTable`,2071),q(669,lV,uV,Ff),Q.$b=function(){noe()},Q.Gc=function(e){var t,n;return M(e,468)?(t=P(e,687),n=P(xN(mwe(this.a),Ry(t.c.e,t.b)),92),!!n&&YUe(n.vc(),new g_(Ry(t.c.c,t.a),BO(t.c,t.b,t.a)))):!1},Q.Jc=function(){return BEe(this.a)},Q.Kc=function(e){var t,n;return M(e,468)?(t=P(e,687),n=P(xN(mwe(this.a),Ry(t.c.e,t.b)),92),!!n&&XUe(n.vc(),new g_(Ry(t.c.c,t.a),BO(t.c,t.b,t.a)))):!1},Q.gc=function(){return Wxe(this.a)},Q.Lc=function(){return KAe(this.a)},L(nV,`AbstractTable/CellSet`,669),q(1987,31,cV,If),Q.$b=function(){noe()},Q.Gc=function(e){return C$e(this.a,e)},Q.Jc=function(){return VEe(this.a)},Q.gc=function(){return Wxe(this.a)},Q.Lc=function(){return hAe(this.a)},L(nV,`AbstractTable/Values`,1987),q(1662,1661,iV),L(nV,`ArrayListMultimapGwtSerializationDependencies`,1662),q(506,1662,iV,Cg,jke),Q.hc=function(){return new HO(this.a)},Q.a=0,L(nV,`ArrayListMultimap`,506),q(668,2071,{668:1,2008:1,3:1},P4e),L(nV,`ArrayTable`,668),q(1983,392,rV,sme),Q.Xb=function(e){return new $Ve(this.a,e)},L(nV,`ArrayTable/1`,1983),q(1984,1,{},Lf),Q.rd=function(e){return new $Ve(this.a,e)},L(nV,`ArrayTable/1methodref$getCell$Type`,1984),q(2072,1,{687:1}),Q.Fb=function(e){var t;return e===this?!0:M(e,468)?(t=P(e,687),cT(Ry(this.c.e,this.b),Ry(t.c.e,t.b))&&cT(Ry(this.c.c,this.a),Ry(t.c.c,t.a))&&cT(BO(this.c,this.b,this.a),BO(t.c,t.b,t.a))):!1},Q.Hb=function(){return uN(U(k(ZJ,1),$B,1,5,[Ry(this.c.e,this.b),Ry(this.c.c,this.a),BO(this.c,this.b,this.a)]))},Q.Ib=function(){return`(`+Ry(this.c.e,this.b)+`,`+Ry(this.c.c,this.a)+`)=`+BO(this.c,this.b,this.a)},L(nV,`Tables/AbstractCell`,2072),q(468,2072,{468:1,687:1},$Ve),Q.a=0,Q.b=0,Q.d=0,L(nV,`ArrayTable/2`,468),q(1986,1,{},Rf),Q.rd=function(e){return MFe(this.a,e)},L(nV,`ArrayTable/2methodref$getValue$Type`,1986),q(1985,392,rV,cme),Q.Xb=function(e){return MFe(this.a,e)},L(nV,`ArrayTable/3`,1985),q(2039,2027,sV),Q.$b=function(){TC(this.kc())},Q.vc=function(){return new ip(this)},Q.lc=function(){return new qTe(this.kc(),this.gc())},L(nV,`Maps/IteratorBasedAbstractMap`,2039),q(826,2039,sV),Q.$b=function(){throw D(new bh)},Q._b=function(e){return nse(this.c,e)},Q.kc=function(){return new lme(this,this.c.b.c.gc())},Q.lc=function(){return SC(this.c.b.c.gc(),16,new zf(this))},Q.xc=function(e){var t=P(OS(this.c,e),15);return t?this.td(t.a):null},Q.dc=function(){return this.c.b.c.dc()},Q.ec=function(){return QSe(this.c)},Q.yc=function(e,t){var n=P(OS(this.c,e),15);if(!n)throw D(new sg(this.sd()+` `+e+` not in `+QSe(this.c)));return this.ud(n.a,t)},Q.Ac=function(e){throw D(new bh)},Q.gc=function(){return this.c.b.c.gc()},L(nV,`ArrayTable/ArrayMap`,826),q(1982,1,{},zf),Q.rd=function(e){return Swe(this.a,e)},L(nV,`ArrayTable/ArrayMap/0methodref$getEntry$Type`,1982),q(1980,358,fV,Wse),Q.jd=function(){return $me(this.a,this.b)},Q.kd=function(){return this.a.td(this.b)},Q.ld=function(e){return this.a.ud(this.b,e)},Q.b=0,L(nV,`ArrayTable/ArrayMap/1`,1980),q(1981,392,rV,lme),Q.Xb=function(e){return Swe(this.a,e)},L(nV,`ArrayTable/ArrayMap/2`,1981),q(1979,826,sV,OCe),Q.sd=function(){return`Column`},Q.td=function(e){return BO(this.b,this.a,e)},Q.ud=function(e,t){return SVe(this.b,this.a,e,t)},Q.a=0,L(nV,`ArrayTable/Row`,1979),q(827,826,sV,ume),Q.td=function(e){return new OCe(this.a,e)},Q.yc=function(e,t){return P(t,92),roe()},Q.ud=function(e,t){return P(t,92),ioe()},Q.sd=function(){return`Row`},L(nV,`ArrayTable/RowMap`,827),q(1126,1,hV,Gse),Q.yd=function(e){return(this.a.wd()&-262&e)!=0},Q.wd=function(){return this.a.wd()&-262},Q.xd=function(){return this.a.xd()},Q.Nb=function(e){this.a.Nb(new qse(e,this.b))},Q.zd=function(e){return this.a.zd(new Kse(e,this.b))},L(nV,`CollectSpliterators/1`,1126),q(1127,1,gV,Kse),Q.Ad=function(e){this.a.Ad(this.b.Kb(e))},L(nV,`CollectSpliterators/1/lambda$0$Type`,1127),q(1128,1,gV,qse),Q.Ad=function(e){this.a.Ad(this.b.Kb(e))},L(nV,`CollectSpliterators/1/lambda$1$Type`,1128),q(1123,1,hV,k_e),Q.yd=function(e){return((16464|this.b)&e)!=0},Q.wd=function(){return 16464|this.b},Q.xd=function(){return this.a.xd()},Q.Nb=function(e){this.a.Oe(new Yse(e,this.c))},Q.zd=function(e){return this.a.Pe(new Jse(e,this.c))},Q.b=0,L(nV,`CollectSpliterators/1WithCharacteristics`,1123),q(1124,1,_V,Jse),Q.Bd=function(e){this.a.Ad(this.b.rd(e))},L(nV,`CollectSpliterators/1WithCharacteristics/lambda$0$Type`,1124),q(1125,1,_V,Yse),Q.Bd=function(e){this.a.Ad(this.b.rd(e))},L(nV,`CollectSpliterators/1WithCharacteristics/lambda$1$Type`,1125),q(1119,1,hV),Q.yd=function(e){return(this.a&e)!=0},Q.wd=function(){return this.a},Q.xd=function(){return this.e&&(this.b=rpe(this.b,this.e.xd())),rpe(this.b,0)},Q.Nb=function(e){this.e&&=(this.e.Nb(e),null),this.c.Nb(new Xse(this,e)),this.b=0},Q.zd=function(e){for(;;){if(this.e&&this.e.zd(e))return Ky(this.b,vV)&&(this.b=lP(this.b,1)),!0;if(this.e=null,!this.c.zd(new Jf(this)))return!1}},Q.a=0,Q.b=0,L(nV,`CollectSpliterators/FlatMapSpliterator`,1119),q(1121,1,gV,Jf),Q.Ad=function(e){C_e(this.a,e)},L(nV,`CollectSpliterators/FlatMapSpliterator/lambda$0$Type`,1121),q(1122,1,gV,Xse),Q.Ad=function(e){NTe(this.a,this.b,e)},L(nV,`CollectSpliterators/FlatMapSpliterator/lambda$1$Type`,1122),q(1120,1119,hV,Qje),L(nV,`CollectSpliterators/FlatMapSpliteratorOfObject`,1120),q(254,1,yV),Q.Dd=function(e){return this.Cd(P(e,254))},Q.Cd=function(e){var t;return e==(Kh(),Ryt)?1:e==(Gh(),Lyt)?-1:(t=(cC(),Aj(this.a,e.a)),t==0?(mx(),M(this,513)==M(e,513)?0:M(this,513)?1:-1):t)},Q.Gd=function(){return this.a},Q.Fb=function(e){return FYe(this,e)},L(nV,`Cut`,254),q(1793,254,yV,gae),Q.Cd=function(e){return e==this?0:1},Q.Ed=function(e){throw D(new oie)},Q.Fd=function(e){e.a+=`+∞)`},Q.Gd=function(){throw D(new cg(Qut))},Q.Hb=function(){return O_(),gqe(this)},Q.Hd=function(e){return!1},Q.Ib=function(){return`+∞`};var Lyt;L(nV,`Cut/AboveAll`,1793),q(513,254,{254:1,513:1,3:1,35:1},_me),Q.Ed=function(e){Zy((e.a+=`(`,e),this.a)},Q.Fd=function(e){Xw(Zy(e,this.a),93)},Q.Hb=function(){return~Cj(this.a)},Q.Hd=function(e){return cC(),Aj(this.a,e)<0},Q.Ib=function(){return`/`+this.a+`\\`},L(nV,`Cut/AboveValue`,513),q(1792,254,yV,hae),Q.Cd=function(e){return e==this?0:-1},Q.Ed=function(e){e.a+=`(-∞`},Q.Fd=function(e){throw D(new oie)},Q.Gd=function(){throw D(new cg(Qut))},Q.Hb=function(){return O_(),gqe(this)},Q.Hd=function(e){return!0},Q.Ib=function(){return`-∞`};var Ryt;L(nV,`Cut/BelowAll`,1792),q(1794,254,yV,vme),Q.Ed=function(e){Zy((e.a+=`[`,e),this.a)},Q.Fd=function(e){Xw(Zy(e,this.a),41)},Q.Hb=function(){return Cj(this.a)},Q.Hd=function(e){return cC(),Aj(this.a,e)<=0},Q.Ib=function(){return`\\`+this.a+`/`},L(nV,`Cut/BelowValue`,1794),q(535,1,bV),Q.Ic=function(e){dO(this,e)},Q.Ib=function(){return oGe(P(eE(this,`use Optional.orNull() instead of Optional.or(null)`),20).Jc())},L(nV,`FluentIterable`,535),q(433,535,bV,hb),Q.Jc=function(){return new XC(dx(this.a.Jc(),new f))},L(nV,`FluentIterable/2`,433),q(36,1,{},f),Q.Kb=function(e){return P(e,20).Jc()},Q.Fb=function(e){return this===e},L(nV,`FluentIterable/2/0methodref$iterator$Type`,36),q(1040,535,bV,Cfe),Q.Jc=function(){return xw(this)},L(nV,`FluentIterable/3`,1040),q(714,392,rV,jme),Q.Xb=function(e){return this.a[e].Jc()},L(nV,`FluentIterable/3/1`,714),q(2032,1,{}),Q.Ib=function(){return EP(this.Id().b)},L(nV,`ForwardingObject`,2032),q(2033,2032,$ut),Q.Id=function(){return this.Jd()},Q.Ic=function(e){dO(this,e)},Q.Lc=function(){return new nD(this,0)},Q.Mc=function(){return new jC(null,this.Lc())},Q.Ec=function(e){return this.Jd(),lse()},Q.Fc=function(e){return this.Jd(),use()},Q.$b=function(){this.Jd(),dse()},Q.Gc=function(e){return this.Jd().Gc(e)},Q.Hc=function(e){return this.Jd().Hc(e)},Q.dc=function(){return this.Jd().b.dc()},Q.Jc=function(){return this.Jd().Jc()},Q.Kc=function(e){return this.Jd(),fse()},Q.gc=function(){return this.Jd().b.gc()},Q.Nc=function(){return this.Jd().Nc()},Q.Oc=function(e){return this.Jd().Oc(e)},L(nV,`ForwardingCollection`,2033),q(2040,31,edt),Q.Jc=function(){return this.Md()},Q.Ec=function(e){throw D(new bh)},Q.Fc=function(e){throw D(new bh)},Q.Kd=function(){return this.c||=this.Ld()},Q.$b=function(){throw D(new bh)},Q.Gc=function(e){return e!=null&&MP(this,e,!1)},Q.Ld=function(){switch(this.gc()){case 0:return wC(),Gyt;case 1:return new Wge(Kw(this.Md().Pb()));default:return new Mbe(this,this.Nc())}},Q.Kc=function(e){throw D(new bh)},L(nV,`ImmutableCollection`,2040),q(1259,2040,edt,Xf),Q.Jc=function(){return ok(new um(this.a.b.Jc()))},Q.Gc=function(e){return e!=null&&S_(this.a,e)},Q.Hc=function(e){return gce(this.a,e)},Q.dc=function(){return this.a.b.dc()},Q.Md=function(){return ok(new um(this.a.b.Jc()))},Q.gc=function(){return this.a.b.gc()},Q.Nc=function(){return this.a.b.Nc()},Q.Oc=function(e){return _ce(this.a,e)},Q.Ib=function(){return EP(this.a.b)},L(nV,`ForwardingImmutableCollection`,1259),q(311,2040,xV),Q.Jc=function(){return this.Md()},Q.cd=function(){return this.Nd(0)},Q.dd=function(e){return this.Nd(e)},Q.gd=function(e){pj(this,e)},Q.Lc=function(){return new nD(this,16)},Q.hd=function(e,t){return this.Od(e,t)},Q._c=function(e,t){throw D(new bh)},Q.ad=function(e,t){throw D(new bh)},Q.Kd=function(){return this},Q.Fb=function(e){return P6e(this,e)},Q.Hb=function(){return GBe(this)},Q.bd=function(e){return e==null?-1:AYe(this,e)},Q.Md=function(){return this.Nd(0)},Q.Nd=function(e){return ehe(this,e)},Q.ed=function(e){throw D(new bh)},Q.fd=function(e,t){throw D(new bh)},Q.Od=function(e,t){var n;return oP((n=new ace(this),new QE(n,e,t)))},L(nV,`ImmutableList`,311),q(2067,311,xV),Q.Jc=function(){return ok(this.Pd().Jc())},Q.hd=function(e,t){return oP(this.Pd().hd(e,t))},Q.Gc=function(e){return e!=null&&this.Pd().Gc(e)},Q.Hc=function(e){return this.Pd().Hc(e)},Q.Fb=function(e){return DN(this.Pd(),e)},Q.Xb=function(e){return Ry(this,e)},Q.Hb=function(){return Cj(this.Pd())},Q.bd=function(e){return this.Pd().bd(e)},Q.dc=function(){return this.Pd().dc()},Q.Md=function(){return ok(this.Pd().Jc())},Q.gc=function(){return this.Pd().gc()},Q.Od=function(e,t){return oP(this.Pd().hd(e,t))},Q.Nc=function(){return this.Pd().Oc(V(ZJ,$B,1,this.Pd().gc(),5,1))},Q.Oc=function(e){return this.Pd().Oc(e)},Q.Ib=function(){return EP(this.Pd())},L(nV,`ForwardingImmutableList`,2067),q(717,1,CV),Q.vc=function(){return qC(this)},Q.wc=function(e){Mj(this,e)},Q.ec=function(){return QSe(this)},Q.Bc=function(){return this.Td()},Q.$b=function(){throw D(new bh)},Q._b=function(e){return this.xc(e)!=null},Q.uc=function(e){return this.Td().Gc(e)},Q.Rd=function(){return new Uf(this)},Q.Sd=function(){return new Wf(this)},Q.Fb=function(e){return JHe(this,e)},Q.Hb=function(){return qC(this).Hb()},Q.dc=function(){return this.gc()==0},Q.yc=function(e,t){return aoe()},Q.Ac=function(e){throw D(new bh)},Q.Ib=function(){return X1e(this)},Q.Td=function(){return this.e?this.e:this.e=this.Sd()},Q.c=null,Q.d=null,Q.e=null,L(nV,`ImmutableMap`,717),q(718,717,CV),Q._b=function(e){return nse(this,e)},Q.uc=function(e){return vce(this.b,e)},Q.Qd=function(){return oUe(new qf(this))},Q.Rd=function(){return oUe(yTe(this.b))},Q.Sd=function(){return new Xf(bTe(this.b))},Q.Fb=function(e){return bce(this.b,e)},Q.xc=function(e){return OS(this,e)},Q.Hb=function(){return Cj(this.b.c)},Q.dc=function(){return this.b.c.dc()},Q.gc=function(){return this.b.c.gc()},Q.Ib=function(){return EP(this.b.c)},L(nV,`ForwardingImmutableMap`,718),q(2034,2033,wV),Q.Id=function(){return this.Ud()},Q.Jd=function(){return this.Ud()},Q.Lc=function(){return new nD(this,1)},Q.Fb=function(e){return e===this||this.Ud().Fb(e)},Q.Hb=function(){return this.Ud().Hb()},L(nV,`ForwardingSet`,2034),q(1055,2034,wV,qf),Q.Id=function(){return yT(this.a.b)},Q.Jd=function(){return yT(this.a.b)},Q.Gc=function(e){if(M(e,45)&&P(e,45).jd()==null)return!1;try{return yce(yT(this.a.b),e)}catch(e){if(e=hM(e),M(e,211))return!1;throw D(e)}},Q.Ud=function(){return yT(this.a.b)},Q.Oc=function(e){var t=aDe(yT(this.a.b),e),n;return yT(this.a.b).b.gc()<t.length&&(n=t,Jw(n,yT(this.a.b).b.gc(),null)),t},L(nV,`ForwardingImmutableMap/1`,1055),q(2041,2040,TV),Q.Jc=function(){return this.Md()},Q.Lc=function(){return new nD(this,1)},Q.Fb=function(e){return w0e(this,e)},Q.Hb=function(){return kze(this)},L(nV,`ImmutableSet`,2041),q(709,2041,TV),Q.Jc=function(){return ok(new um(this.a.b.Jc()))},Q.Gc=function(e){return e!=null&&S_(this.a,e)},Q.Hc=function(e){return gce(this.a,e)},Q.Hb=function(){return Cj(this.a.b)},Q.dc=function(){return this.a.b.dc()},Q.Md=function(){return ok(new um(this.a.b.Jc()))},Q.gc=function(){return this.a.b.gc()},Q.Nc=function(){return this.a.b.Nc()},Q.Oc=function(e){return _ce(this.a,e)},Q.Ib=function(){return EP(this.a.b)},L(nV,`ForwardingImmutableSet`,709),q(2035,2034,tdt),Q.Id=function(){return this.b},Q.Jd=function(){return this.b},Q.Ud=function(){return this.b},Q.Lc=function(){return new _v(this)},L(nV,`ForwardingSortedSet`,2035),q(531,2039,CV,eI),Q.zc=function(e){Ej(this,e)},Q.Bc=function(){var e;return e=this.d,new zb(e||(this.d=new Zf(this)))},Q.$b=function(){yO(this)},Q._b=function(e){return!!Dj(this,e,RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15))))},Q.uc=function(e){return bLe(this,e)},Q.kc=function(){return new Mme(this,this)},Q.wc=function(e){JDe(this,e)},Q.xc=function(e){return mA(this,e)},Q.ec=function(){return new Bb(this)},Q.yc=function(e,t){return yz(this,e,t)},Q.Ac=function(e){var t=Dj(this,e,RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15))));return t?(RR(this,t),t.e=null,t.c=null,t.i):null},Q.gc=function(){return this.i},Q.vd=function(){var e;return e=this.d,new zb(e||(this.d=new Zf(this)))},Q.f=0,Q.g=0,Q.i=0,L(nV,`HashBiMap`,531),q(532,1,aV),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return nje(this)},Q.Pb=function(){var e;if(!nje(this))throw D(new xh);return e=P(uT(this.c),308),this.c=e.c,this.f=e,--this.d,this.Vd(e)},Q.Qb=function(){if(this.e.g!=this.b)throw D(new gh);if(!this.f)throw D(new cg(Gut));RR(this.e,this.f),this.b=this.e.g,this.f=null},Q.b=0,Q.d=0,Q.f=null,L(nV,`HashBiMap/Itr`,532),q(1005,532,aV,Mme),Q.Vd=function(e){return new Zse(this,e)},L(nV,`HashBiMap/1`,1005),q(1006,358,fV,Zse),Q.jd=function(){return this.a.g},Q.kd=function(){return this.a.i},Q.ld=function(e){var t,n=this.a.i,r=RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15)));return r==this.a.f&&(j(e)===j(n)||e!=null&&DN(e,n))?e:(TVe(!Oj(this.b.a,e,r),e),RR(this.b.a,this.a),t=new _T(this.a.g,this.a.a,e,r),nR(this.b.a,t,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=t),this.a=t,n)},L(nV,`HashBiMap/1/MapEntry`,1006),q(245,358,{358:1,245:1,3:1,45:1},g_),Q.jd=function(){return this.g},Q.kd=function(){return this.i},Q.ld=function(e){throw D(new bh)},L(nV,`ImmutableEntry`,245),q(308,245,{358:1,308:1,245:1,3:1,45:1},_T),Q.a=0,Q.f=0;var zyt=L(nV,`HashBiMap/BiEntry`,308);q(609,2039,CV,Zf),Q.zc=function(e){Ej(this,e)},Q.Bc=function(){return new Bb(this.a)},Q.$b=function(){yO(this.a)},Q._b=function(e){return bLe(this.a,e)},Q.kc=function(){return new Nme(this,this.a)},Q.wc=function(e){Kw(e),JDe(this.a,new Qf(e))},Q.xc=function(e){return XA(this,e)},Q.ec=function(){return new zb(this)},Q.yc=function(e,t){return Mnt(this.a,e,t,!1)},Q.Ac=function(e){var t=Oj(this.a,e,RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15))));return t?(RR(this.a,t),t.e=null,t.c=null,t.g):null},Q.gc=function(){return this.a.i},Q.vd=function(){return new Bb(this.a)},L(nV,`HashBiMap/Inverse`,609),q(1002,532,aV,Nme),Q.Vd=function(e){return new Qse(this,e)},L(nV,`HashBiMap/Inverse/1`,1002),q(1003,358,fV,Qse),Q.jd=function(){return this.a.i},Q.kd=function(){return this.a.g},Q.ld=function(e){var t,n,r=this.a.g;return t=RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15))),t==this.a.a&&(j(e)===j(r)||e!=null&&DN(e,r))?e:(TVe(!Dj(this.b.a.a,e,t),e),RR(this.b.a.a,this.a),n=new _T(e,t,this.a.i,this.a.f),this.a=n,nR(this.b.a.a,n,null),this.b.b=this.b.a.a.g,r)},L(nV,`HashBiMap/Inverse/1/InverseEntry`,1003),q(610,530,uV,zb),Q.Jc=function(){return new Tae(this.a.a)},Q.Kc=function(e){var t=Oj(this.a.a,e,RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15))));return t?(RR(this.a.a,t),!0):!1},L(nV,`HashBiMap/Inverse/InverseKeySet`,610),q(1001,532,aV,Tae),Q.Vd=function(e){return e.i},L(nV,`HashBiMap/Inverse/InverseKeySet/1`,1001),q(1004,1,{},Qf),Q.Wd=function(e,t){nie(this.a,e,t)},L(nV,`HashBiMap/Inverse/lambda$0$Type`,1004),q(608,530,uV,Bb),Q.Jc=function(){return new Eae(this.a)},Q.Kc=function(e){var t=Dj(this.a,e,RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15))));return t?(RR(this.a,t),t.e=null,t.c=null,!0):!1},L(nV,`HashBiMap/KeySet`,608),q(kV,532,aV,Eae),Q.Vd=function(e){return e.g},L(nV,`HashBiMap/KeySet/1`,kV),q(1092,618,iV),L(nV,`HashMultimapGwtSerializationDependencies`,1092),q(272,1092,iV,mE),Q.hc=function(){return new o_(Vj(this.a))},Q.nd=function(){return new o_(Vj(this.a))},Q.a=2,L(nV,`HashMultimap`,272),q(2059,311,xV),Q.Gc=function(e){return this.Xd().Gc(e)},Q.dc=function(){return this.Xd().dc()},Q.gc=function(){return this.Xd().gc()},L(nV,`ImmutableAsList`,2059),q(1992,718,CV),Q.Td=function(){return new lh(this.a)},Q.Bc=function(){return new lh(this.a)},Q.vd=function(){return new lh(this.a)},L(nV,`ImmutableBiMap`,1992),q(2037,1,{}),L(nV,`ImmutableCollection/Builder`,2037),q(1016,709,TV,Dae),L(nV,`ImmutableEnumSet`,1016),q(962,392,rV,D_e),Q.Xb=function(e){return this.a.Xb(e)},L(nV,`ImmutableList/1`,962),q(961,2037,{},Gge),L(nV,`ImmutableList/Builder`,961),q(613,204,tV,Hf),Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return P(this.a.Pb(),45).jd()},L(nV,`ImmutableMap/1`,613),q(1035,1,{},u),Q.Kb=function(e){return P(e,45).jd()},L(nV,`ImmutableMap/2methodref$getKey$Type`,1035),q(1034,1,{},Kge),L(nV,`ImmutableMap/Builder`,1034),q(2060,2041,TV),Q.Kd=function(){var e;return e=this.b,e||(this.b=new Kf(this))},Q.Ld=function(){return new Mbe(this,lI(this,V(ZJ,$B,1,this.gc(),5,1)))},L(nV,`ImmutableSet/CachingAsList`,2060),q(2061,2060,TV),Q.Jc=function(){var e;return e=qC(this.a).Md(),new Hf(e)},Q.Ld=function(){return new Kf(this)},Q.Ic=function(e){var t,n;for(Kw(e),n=this.gc(),t=0;t<n;t++)e.Ad(P(qC(this.a).Kd().Xb(t),45).jd())},Q.Md=function(){var e;return e=this.b,ehe(e||(this.b=new Kf(this)),0)},Q.Lc=function(){return SC(this.gc(),1296,new Gf(this))},L(nV,`IndexedImmutableSet`,2061),q(1195,2061,TV,Uf),Q.Jc=function(){var e;return e=qC(this.a).Md(),new Hf(e)},Q.Gc=function(e){return this.a._b(e)},Q.Ic=function(e){Kw(e),Mj(this.a,new Vf(e))},Q.Md=function(){var e;return e=qC(this.a).Md(),new Hf(e)},Q.gc=function(){return this.a.gc()},Q.Lc=function(){return XS(qC(this.a).Lc(),new u)},L(nV,`ImmutableMapKeySet`,1195),q(1196,1,{},Vf),Q.Wd=function(e,t){this.a.Ad(e)},L(nV,`ImmutableMapKeySet/lambda$0$Type`,1196),q(1192,2040,edt,Wf),Q.Jc=function(){return new lC(this)},Q.Kd=function(){var e=qC(this.a).Kd();return new $se(this,e)},Q.Gc=function(e){return e!=null&&eQe(new lC(this),e)},Q.Md=function(){return new lC(this)},Q.gc=function(){return this.a.gc()},Q.Lc=function(){return XS(qC(this.a).Lc(),new d)},L(nV,`ImmutableMapValues`,1192),q(1193,1,{},d),Q.Kb=function(e){return P(e,45).kd()},L(nV,`ImmutableMapValues/0methodref$getValue$Type`,1193),q(628,204,tV,lC),Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return P(this.a.Pb(),45).kd()},L(nV,`ImmutableMapValues/1`,628),q(1194,2059,xV,$se),Q.Xd=function(){return this.a},Q.Xb=function(e){return P(this.b.Xb(e),45).kd()},L(nV,`ImmutableMapValues/2`,1194),q(1197,1,{},Gf),Q.rd=function(e){return Ewe(this.a,e)},L(nV,`IndexedImmutableSet/0methodref$get$Type`,1197),q(629,2059,xV,Kf),Q.Xd=function(){return this.a},Q.Xb=function(e){return Ewe(this.a,e)},Q.gc=function(){return this.a.a.gc()},L(nV,`IndexedImmutableSet/1`,629),q(1036,535,bV,pxe),Q.Ic=function(e){Kw(e),this.b.Ic(new ece(this.a,e))},Q.Jc=function(){return Bfe(this)},L(nV,`Iterables/4`,1036),q(1037,1,gV,ece),Q.Ad=function(e){Lle(this.b,this.a,e)},L(nV,`Iterables/4/lambda$0$Type`,1037),q(1038,535,bV,mxe),Q.Ic=function(e){Kw(e),dO(this.a,new tce(e,this.b))},Q.Jc=function(){return dx(new lx(this.a),this.b)},L(nV,`Iterables/5`,1038),q(1039,1,gV,tce),Q.Ad=function(e){this.a.Ad(Tfe(e))},L(nV,`Iterables/5/lambda$0$Type`,1039),q(1057,204,tV,$f),Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return this.a.Pb()},L(nV,`Iterators/1`,1057),q(1058,702,tV,nce),Q.Yb=function(){for(var e;this.b.Ob();)if(e=this.b.Pb(),this.a.Lb(e))return e;return this.e=2,null},L(nV,`Iterators/5`,1058),q(483,1,aV),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.b.Ob()},Q.Pb=function(){return this.Yd(this.b.Pb())},Q.Qb=function(){this.b.Qb()},L(nV,`TransformedIterator`,483),q(1059,483,aV,Pme),Q.Yd=function(e){return this.a.Kb(e)},L(nV,`Iterators/6`,1059),q(1056,392,rV,kxe),Q.Xb=function(e){return this.a[e]};var Byt;L(nV,`Iterators/ArrayItr`,1056),q(34,1,{34:1,50:1},XC),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return CR(this)},Q.Pb=function(){return CO(this)},Q.Qb=function(){if(!this.c)throw D(new cg(Gut));this.c.Qb(),this.c=null},L(nV,`Iterators/ConcatenatedIterator`,34),q(23,1,{3:1,35:1,23:1}),Q.Dd=function(e){return zae(this,P(e,23))},Q.Fb=function(e){return this===e},Q.Hb=function(){return jx(this)},Q.Ib=function(){return qx(this)},Q.g=0;var nY=L(YB,`Enum`,23);q(537,23,{537:1,3:1,35:1,23:1,50:1},Npe),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return!1},Q.Pb=function(){throw D(new xh)},Q.Qb=function(){kS(!1)};var Vyt,Hyt=FA(nV,`Iterators/EmptyModifiableIterator`,537,nY,iTe,the),Uyt;q(720,204,tV,gp),Q.Ob=function(){return!this.a},Q.Pb=function(){if(this.a)throw D(new xh);return this.a=!0,this.b},Q.a=!1,L(nV,`Iterators/SingletonIterator`,720),q(1877,618,iV),L(nV,`LinkedHashMultimapGwtSerializationDependencies`,1877),q(1878,1877,iV,xUe),Q.hc=function(){return new vx(Vj(this.b))},Q.$b=function(){KA(this),mh(this.a,this.a)},Q.nd=function(){return new vx(Vj(this.b))},Q.ic=function(e){return new WHe(this,e,this.b)},Q.kc=function(){return new ywe(this)},Q.lc=function(){var e;return new nD((e=this.g,P(e||(this.g=new yae(this)),22)),17)},Q.ec=function(){var e;return e=this.i,e||(this.i=new ux(this,this.c))},Q.nc=function(){return new kae(new ywe(this))},Q.oc=function(){var e;return XS(new nD((e=this.g,P(e||(this.g=new yae(this)),22)),17),new p)},Q.b=2,L(nV,`LinkedHashMultimap`,1878),q(1881,1,{},p),Q.Kb=function(e){return P(e,45).kd()},L(nV,`LinkedHashMultimap/0methodref$getValue$Type`,1881),q(818,1,aV,ywe),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return VBe(this)},Q.Ob=function(){return this.a!=this.b.a},Q.Qb=function(){kS(!!this.c),EAe(this.b,this.c.g,this.c.i),this.c=null},L(nV,`LinkedHashMultimap/1`,818),q(227,245,{358:1,245:1,227:1,593:1,3:1,45:1},hTe),Q.Zd=function(){return P(uT(this.f),593)},Q.$d=function(e){this.c=e},Q._d=function(e){this.f=e},Q.d=0;var Wyt=L(nV,`LinkedHashMultimap/ValueEntry`,227);q(1879,2030,{593:1,20:1,31:1,18:1,22:1},WHe),Q.Ec=function(e){var t,n,r,i,a=RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15)));for(t=a&this.b.length-1,i=this.b[t],n=i;n;n=n.a)if(n.d==a&&cT(n.i,e))return!1;return r=new hTe(this.c,e,a,i),Aoe(this.d,r),r.f=this,this.d=r,mh(P(uT(this.g.a.b),227),r),mh(r,this.g.a),this.b[t]=r,++this.f,++this.e,qZe(this),!0},Q.$b=function(){var e,t;for(sv(this.b,null),this.f=0,e=this.a;e!=this;e=e.Zd())t=P(e,227),mh(P(uT(t.b),227),P(uT(t.e),227));this.a=this,this.d=this,++this.e},Q.Gc=function(e){var t,n=RC(cP(EV,bT(RC(cP(e==null?0:Cj(e),DV)),15)));for(t=this.b[n&this.b.length-1];t;t=t.a)if(t.d==n&&cT(t.i,e))return!0;return!1},Q.Ic=function(e){var t;for(Kw(e),t=this.a;t!=this;t=t.Zd())e.Ad(P(t,227).i)},Q.Zd=function(){return this.a},Q.Jc=function(){return new Vwe(this)},Q.Kc=function(e){return N7e(this,e)},Q.$d=function(e){this.d=e},Q._d=function(e){this.a=e},Q.gc=function(){return this.f},Q.e=0,Q.f=0,L(nV,`LinkedHashMultimap/ValueSet`,1879),q(1880,1,aV,Vwe),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return eSe(this),this.b!=this.c},Q.Pb=function(){var e,t;if(eSe(this),this.b==this.c)throw D(new xh);return e=P(this.b,227),t=e.i,this.d=e,this.b=P(uT(e.f),593),t},Q.Qb=function(){eSe(this),kS(!!this.d),N7e(this.c,this.d.i),this.a=this.c.e,this.d=null},Q.a=0,L(nV,`LinkedHashMultimap/ValueSet/1`,1880),q(767,2046,iV,Yde),Q.Zb=function(){var e;return e=this.f,e||(this.f=new nle(this))},Q.Fb=function(e){return UM(this,e)},Q.cc=function(e){return new rce(this,e)},Q.fc=function(e){return WPe(this,e)},Q.$b=function(){lwe(this)},Q._b=function(e){return dce(this,e)},Q.ac=function(){return new nle(this)},Q.bc=function(){return new rp(this)},Q.qc=function(e){return new rce(this,e)},Q.dc=function(){return!this.a},Q.rc=function(e){return WPe(this,e)},Q.gc=function(){return this.d},Q.c=0,Q.d=0,L(nV,`LinkedListMultimap`,767),q(56,31,MV),Q.gd=function(e){pj(this,e)},Q.Lc=function(){return new nD(this,16)},Q._c=function(e,t){throw D(new ug(`Add not supported on this list`))},Q.Ec=function(e){return this._c(this.gc(),e),!0},Q.ad=function(e,t){var n,r,i;for(dT(t),n=!1,i=t.Jc();i.Ob();)r=i.Pb(),this._c(e++,r),n=!0;return n},Q.$b=function(){this.ae(0,this.gc())},Q.Fb=function(e){return C6e(this,e)},Q.Hb=function(){return xHe(this)},Q.bd=function(e){return kRe(this,e)},Q.Jc=function(){return new dm(this)},Q.cd=function(){return this.dd(0)},Q.dd=function(e){return new bD(this,e)},Q.ed=function(e){throw D(new ug(`Remove not supported on this list`))},Q.ae=function(e,t){var n,r=this.dd(e);for(n=e;n<t;++n)r.Pb(),r.Qb()},Q.fd=function(e,t){throw D(new ug(`Set not supported on this list`))},Q.hd=function(e,t){return new QE(this,e,t)},Q.j=0,L(oV,`AbstractList`,56),q(2024,56,MV),Q._c=function(e,t){Rx(this,e,t)},Q.ad=function(e,t){return KHe(this,e,t)},Q.Xb=function(e){return LF(this,e)},Q.Jc=function(){return this.dd(0)},Q.ed=function(e){return MI(this,e)},Q.fd=function(e,t){var n=this.dd(e),r;try{return r=n.Pb(),n.Wb(t),r}catch(t){throw t=hM(t),M(t,112)?D(new ig(`Can't set element `+e)):D(t)}},L(oV,`AbstractSequentialList`,2024),q(636,2024,MV,rce),Q.dd=function(e){return xme(this,e)},Q.gc=function(){var e=P(Zw(this.a.b,this.b),262);return e?e.a:0},L(nV,`LinkedListMultimap/1`,636),q(1280,2030,uV,rp),Q.Gc=function(e){return dce(this.a,e)},Q.Jc=function(){return new yze(this.a)},Q.Kc=function(e){return!WPe(this.a,e).a.dc()},Q.gc=function(){return C_(this.a.b)},L(nV,`LinkedListMultimap/1KeySetImpl`,1280),q(1279,1,aV,yze),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return $xe(this),!!this.c},Q.Pb=function(){if($xe(this),!this.c)throw D(new xh);this.a=this.c,Tw(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!Tw(this.d,this.c.a));return this.a.a},Q.Qb=function(){$xe(this),kS(!!this.a),TC(new Dk(this.e,this.a.a)),this.a=null,this.b=this.e.c},Q.b=0,L(nV,`LinkedListMultimap/DistinctKeyIterator`,1279),q(262,1,{262:1},PEe),Q.a=0,L(nV,`LinkedListMultimap/KeyList`,262),q(497,358,{358:1,497:1,45:1},ice),Q.jd=function(){return this.a},Q.kd=function(){return this.f},Q.ld=function(e){var t=this.f;return this.f=e,t},L(nV,`LinkedListMultimap/Node`,497),q(555,1,dV,Dk,l2e),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){this.e=qtt(this.f,this.b,e,this.c),++this.d,this.a=null},Q.Ob=function(){return!!this.c},Q.Sb=function(){return!!this.e},Q.Pb=function(){return BIe(this)},Q.Tb=function(){return this.d},Q.Ub=function(){return zIe(this)},Q.Vb=function(){return this.d-1},Q.Qb=function(){kS(!!this.a),this.a==this.c?this.c=this.a.c:(this.e=this.a.e,--this.d),c5e(this.f,this.a),this.a=null},Q.Wb=function(e){bme(!!this.a),this.a.f=e},Q.d=0,L(nV,`LinkedListMultimap/ValueForKeyIterator`,555),q(1012,56,MV),Q._c=function(e,t){this.a._c(e,t)},Q.ad=function(e,t){return this.a.ad(e,t)},Q.Gc=function(e){return this.a.Gc(e)},Q.Xb=function(e){return this.a.Xb(e)},Q.ed=function(e){return this.a.ed(e)},Q.fd=function(e,t){return this.a.fd(e,t)},Q.gc=function(){return this.a.gc()},L(nV,`Lists/AbstractListWrapper`,1012),q(1013,1012,rdt),L(nV,`Lists/RandomAccessListWrapper`,1013),q(1015,1013,rdt,ace),Q.dd=function(e){return this.a.dd(e)},L(nV,`Lists/1`,1015),q(432,56,{432:1,20:1,31:1,56:1,18:1,16:1},oce),Q._c=function(e,t){this.a._c(ww(this,e),t)},Q.$b=function(){this.a.$b()},Q.Xb=function(e){return this.a.Xb(gwe(this,e))},Q.Jc=function(){return Oke(this,0)},Q.dd=function(e){return Oke(this,e)},Q.ed=function(e){return this.a.ed(gwe(this,e))},Q.ae=function(e,t){(IAe(e,t,this.a.gc()),AP(this.a.hd(ww(this,t),ww(this,e)))).$b()},Q.fd=function(e,t){return this.a.fd(gwe(this,e),t)},Q.gc=function(){return this.a.gc()},Q.hd=function(e,t){return IAe(e,t,this.a.gc()),AP(this.a.hd(ww(this,t),ww(this,e)))},L(nV,`Lists/ReverseList`,432),q(1011,432,{432:1,20:1,31:1,56:1,18:1,16:1,59:1},Oae),L(nV,`Lists/RandomAccessReverseList`,1011),q(1014,1,dV,sce),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){this.c.Rb(e),this.c.Ub(),this.a=!1},Q.Ob=function(){return this.c.Sb()},Q.Sb=function(){return this.c.Ob()},Q.Pb=function(){if(!this.c.Sb())throw D(new xh);return this.a=!0,this.c.Ub()},Q.Tb=function(){return ww(this.b,this.c.Tb())},Q.Ub=function(){if(!this.c.Ob())throw D(new xh);return this.a=!0,this.c.Pb()},Q.Vb=function(){return ww(this.b,this.c.Tb())-1},Q.Qb=function(){kS(this.a),this.c.Qb(),this.a=!1},Q.Wb=function(e){bme(this.a),this.c.Wb(e)},Q.a=!1,L(nV,`Lists/ReverseList/1`,1014),q(431,483,aV,qh),Q.Yd=function(e){return ov(e)},L(nV,`Maps/1`,431),q(701,483,aV,kae),Q.Yd=function(e){return P(e,45).kd()},L(nV,`Maps/2`,701),q(958,483,aV,Fme),Q.Yd=function(e){return new g_(e,rse(this.a,e))},L(nV,`Maps/3`,958),q(955,2031,uV,ip),Q.Ic=function(e){gie(this.a,e)},Q.Jc=function(){return this.a.kc()},Q.Pc=function(){return this.a},Q.Lc=function(){return this.a.lc()},L(nV,`Maps/IteratorBasedAbstractMap/1`,955),q(956,1,{},tp),Q.Wd=function(e,t){this.a.Ad(e)},L(nV,`Maps/KeySet/lambda$0$Type`,956),q(954,31,cV,cce),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a.uc(e)},Q.Ic=function(e){Kw(e),this.a.wc(new np(e))},Q.dc=function(){return this.a.dc()},Q.Jc=function(){return new kae(this.a.vc().Jc())},Q.Kc=function(e){var t,n;try{return MP(this,e,!0)}catch(r){if(r=hM(r),M(r,46)){for(n=this.a.vc().Jc();n.Ob();)if(t=P(n.Pb(),45),cT(e,t.kd()))return this.a.Ac(t.jd()),!0;return!1}else throw D(r)}},Q.gc=function(){return this.a.gc()},L(nV,`Maps/Values`,954),q(957,1,{},np),Q.Wd=function(e,t){this.a.Ad(t)},L(nV,`Maps/Values/lambda$0$Type`,957),q(740,2047,sV,nle),Q.xc=function(e){return this.a._b(e)?this.a.cc(e):null},Q.Ac=function(e){return this.a._b(e)?this.a.fc(e):null},Q.$b=function(){this.a.$b()},Q._b=function(e){return this.a._b(e)},Q.Dc=function(){return new op(this)},Q.Cc=function(){return this.Dc()},Q.dc=function(){return this.a.dc()},Q.ec=function(){return this.a.ec()},Q.gc=function(){return this.a.ec().gc()},L(nV,`Multimaps/AsMap`,740),q(1103,2031,uV,op),Q.Jc=function(){return Ope(this.a.a.ec(),new ep(this))},Q.Pc=function(){return this.a},Q.Kc=function(e){var t;return DKe(this,e)?(t=P(uT(P(e,45)),45),Bae(this.a,t.jd()),!0):!1},L(nV,`Multimaps/AsMap/EntrySet`,1103),q(1107,1,{},ep),Q.Kb=function(e){return rse(this,e)},Q.Fb=function(e){return this===e},L(nV,`Multimaps/AsMap/EntrySet/lambda$0$Type`,1107),q(540,2049,{540:1,833:1,20:1,31:1,18:1},sp),Q.$b=function(){KA(this.a)},Q.Gc=function(e){return tse(this.a,e)},Q.Ic=function(e){Kw(e),dO(Ww(this.a),new ap(e))},Q.Jc=function(){return new qh(Ww(this.a).a.kc())},Q.gc=function(){return this.a.d},Q.Lc=function(){return XS(Ww(this.a).Lc(),new m)},L(nV,`Multimaps/Keys`,540),q(1105,1,{},m),Q.Kb=function(e){return P(e,45).jd()},L(nV,`Multimaps/Keys/0methodref$getKey$Type`,1105),q(1104,483,aV,Aae),Q.Yd=function(e){return new cp(P(e,45))},L(nV,`Multimaps/Keys/1`,1104),q(2050,1,{416:1}),Q.Fb=function(e){var t;return M(e,490)?(t=P(e,416),P(this.a.kd(),18).gc()==P(t.a.kd(),18).gc()&&cT(this.a.jd(),t.a.jd())):!1},Q.Hb=function(){var e=this.a.jd();return(e==null?0:Cj(e))^P(this.a.kd(),18).gc()},Q.Ib=function(){var e,t=px(this.a.jd());return e=P(this.a.kd(),18).gc(),e==1?t:t+` x `+e},L(nV,`Multisets/AbstractEntry`,2050),q(490,2050,{490:1,416:1},cp),L(nV,`Multimaps/Keys/1/1`,490),q(1106,1,gV,ap),Q.Ad=function(e){this.a.Ad(P(e,45).jd())},L(nV,`Multimaps/Keys/lambda$1$Type`,1106),q(1109,1,gV,h),Q.Ad=function(e){Xxe(P(e,416))},L(nV,`Multiset/lambda$0$Type`,1109),q(741,1,gV,lp),Q.Ad=function(e){kLe(this.a,P(e,416))},L(nV,`Multiset/lambda$1$Type`,741),q(1110,1,{},g),L(nV,`Multisets/0methodref$add$Type`,1110),q(742,1,{},_),Q.Kb=function(e){return rje(P(e,416))},L(nV,`Multisets/lambda$1$Type`,742),q(2068,1,XB),L(nV,`RangeGwtSerializationDependencies`,2068),q(507,2068,{178:1,507:1,3:1,48:1},WJe),Q.Lb=function(e){return aCe(this,P(e,35))},Q.Mb=function(e){return aCe(this,P(e,35))},Q.Fb=function(e){var t;return M(e,507)?(t=P(e,507),FYe(this.a,t.a)&&FYe(this.b,t.b)):!1},Q.Hb=function(){return this.a.Hb()*31+this.b.Hb()},Q.Ib=function(){return Yje(this.a,this.b)},L(nV,`Range`,507),q(642,2059,xV,Mbe),Q.dd=function(e){return ehe(this.b,e)},Q.Xd=function(){return this.a},Q.Xb=function(e){return Ry(this.b,e)},Q.Nd=function(e){return ehe(this.b,e)},L(nV,`RegularImmutableAsList`,642),q(645,2067,xV,mD),Q.Pd=function(){return this.a};var Gyt;L(nV,`RegularImmutableList`,645),q(536,718,CV,hle,gle);var Kyt;L(nV,`RegularImmutableMap`,536),q(719,709,TV,_le);var qyt;L(nV,`RegularImmutableSet`,719),q(2036,lV,uV),Q.Jc=function(){return new KTe(this.a,this.b)},Q.Ec=function(e){throw D(new bh)},Q.Fc=function(e){throw D(new bh)},Q.$b=function(){throw D(new bh)},Q.Kc=function(e){throw D(new bh)},L(nV,`Sets/SetView`,2036),q(959,2036,uV,uce),Q.Jc=function(){return new KTe(this.a,this.b)},Q.Gc=function(e){return CSe(this.a,e)&&this.b.Gc(e)},Q.Hc=function(e){return mM(this.a,e)&&this.b.Hc(e)},Q.dc=function(){return SJe(this.b,this.a)},Q.gc=function(){return qj(this)},Q.Mc=function(){return AT(new jC(null,new nD(this.a,1)),new up(this.b))},L(nV,`Sets/2`,959),q(960,1,PV,up),Q.Mb=function(e){return this.a.Gc(e)},L(nV,`Sets/2/0methodref$contains$Type`,960),q(703,702,tV,KTe),Q.Yb=function(){for(var e;tpe(this.a);)if(e=JD(this.a),this.c.Gc(e))return e;return this.e=2,null},L(nV,`Sets/2/1`,703),q(606,2035,{606:1,3:1,20:1,18:1,277:1,22:1,83:1},GDe),Q.Id=function(){return this.b},Q.Jd=function(){return this.b},Q.Ud=function(){return this.b},Q.Ic=function(e){this.a.Ic(e)},Q.Mc=function(){return this.a.Mc()},L(nV,`Sets/UnmodifiableNavigableSet`,606),q(1993,1992,CV,mTe),Q.Td=function(){return new lh(this.a)},Q.Bc=function(){return new lh(this.a)},Q.vd=function(){return new lh(this.a)},L(nV,`SingletonImmutableBiMap`,1993),q(646,2067,xV,Wge),Q.Pd=function(){return this.a},L(nV,`SingletonImmutableList`,646),q(359,2041,TV,lh),Q.Jc=function(){return new gp(this.a)},Q.Gc=function(e){return DN(this.a,e)},Q.Md=function(){return new gp(this.a)},Q.gc=function(){return 1},L(nV,`SingletonImmutableSet`,359),q(1117,1,{},c),Q.Kb=function(e){return P(e,162)},L(nV,`Streams/lambda$0$Type`,1117),q(1118,1,FV,dp),Q.be=function(){hQe(this.a)},L(nV,`Streams/lambda$1$Type`,1118),q(1691,1690,iV,IEe),Q.Zb=function(){var e;return e=this.f,P(P(e||(this.f=M(this.c,138)?new rS(this,P(this.c,138)):M(this.c,134)?new nS(this,P(this.c,134)):new p_(this,this.c)),134),138)},Q.hc=function(){return new s_(this.b)},Q.nd=function(){return new s_(this.b)},Q.ec=function(){var e;return e=this.i,P(P(e||(this.i=M(this.c,138)?new h_(this,P(this.c,138)):M(this.c,134)?new m_(this,P(this.c,134)):new ux(this,this.c)),83),277)},Q.ac=function(){return M(this.c,138)?new rS(this,P(this.c,138)):M(this.c,134)?new nS(this,P(this.c,134)):new p_(this,this.c)},Q.ic=function(e){return e??this.a.Le(e,e),new s_(this.b)},L(nV,`TreeMultimap`,1691),q(80,1,{3:1,80:1}),Q.ce=function(e){return Error(e)},Q.de=function(){return this.e},Q.ee=function(){var e,t,n=(this.k??=V(Jyt,X,80,0,0,1),this.k);for(t=V(ZJ,$B,1,n.length,5,1),e=0;e<n.length;e++)t[e]=n[e].e;return t},Q.fe=function(){return this.f},Q.ge=function(){return this.g},Q.he=function(){Nae(this,WAe(this.ce(uE(this,this.g)))),iie(this)},Q.Ib=function(){return uE(this,this.ge())},Q.e=idt,Q.i=!1,Q.n=!0;var Jyt=L(YB,`Throwable`,80);q(101,80,{3:1,101:1,80:1}),L(YB,`Exception`,101),q(63,101,RV,uh,Jh),L(YB,`RuntimeException`,63),q(596,63,RV),L(YB,`JsException`,596),q(856,596,RV),L(zV,`JavaScriptExceptionBase`,856),q(474,856,{474:1,3:1,101:1,63:1,80:1},yUe),Q.ge=function(){return MQe(this),this.c},Q.ie=function(){return j(this.b)===j(Yyt)?null:this.b};var Yyt;L(odt,`JavaScriptException`,474);var Xyt=L(odt,`JavaScriptObject$`,0),Zyt;q(2009,1,{}),L(odt,`Scheduler`,2009);var rY=0,Qyt=0,iY=-1;q(883,2009,{},v);var $yt;L(zV,`SchedulerImpl`,883);var ebt;q(2020,1,{}),L(zV,`StackTraceCreator/Collector`,2020),q(857,2020,{},y),Q.je=function(e){var t={},n=[];e[cdt]=n;for(var r=arguments.callee.caller;r;){var i=(CE(),r.name||=vRe(r.toString()));n.push(i);var a=`:`+i,o=t[a];if(o){var s,c;for(s=0,c=o.length;s<c;s++)if(o[s]===r)return}(o||(t[a]=[])).push(r),r=r.caller}},Q.ke=function(e){var t,n,r=(CE(),e&&e[cdt]?e[cdt]:[]),i;for(n=r.length,i=V(Sbt,X,324,n,0,1),t=0;t<n;t++)i[t]=new BT(r[t],null,-1);return i},L(zV,`StackTraceCreator/CollectorLegacy`,857),q(2021,2020,{}),Q.je=function(e){},Q.le=function(e,t,n,r){return new BT(t,e+`@`+r,n<0?-1:n)},Q.ke=function(e){var t,n,r,i=aXe(e),a=V(Sbt,X,324,0,0,1),o;if(t=0,r=i.length,r==0)return a;for(o=sct(this,i[0]),CS(o.d,sdt)||(a[t++]=o),n=1;n<r;n++)a[t++]=sct(this,i[n]);return a},L(zV,`StackTraceCreator/CollectorModern`,2021),q(858,2021,{},b),Q.le=function(e,t,n,r){return new BT(t,e,-1)},L(zV,`StackTraceCreator/CollectorModernNoSourceMap`,858),q(1044,1,{}),L(ydt,bdt,1044),q(615,1044,{615:1},vwe);var tbt;L(nH,bdt,615),q(2063,1,{}),L(ydt,xdt,2063),q(2064,2063,{}),L(nH,xdt,2064),q(1089,1,{},x);var aY;L(nH,`LocaleInfo`,1089),q(1989,1,{},S),Q.a=0,L(nH,`TimeZone`,1989),q(1256,2064,{},te),L(`com.google.gwt.i18n.client.impl.cldr`,`DateTimeFormatInfoImpl`,1256),q(434,1,{434:1},Bbe),Q.a=!1,Q.b=0,L(ydt,`DateTimeFormat/PatternPart`,434),q(205,1,Sdt,av,tHe,oge),Q.Dd=function(e){return mAe(this,P(e,205))},Q.Fb=function(e){return M(e,205)&&Wy(Hj(this.q.getTime()),Hj(P(e,205).q.getTime()))},Q.Hb=function(){var e=Hj(this.q.getTime());return RC(fD(e,tw(e,32)))},Q.Ib=function(){var e,t,n=-this.q.getTimezoneOffset();return e=(n>=0?`+`:``)+(n/60|0),t=rb(r.Math.abs(n)%60),(v1e(),Vbt)[this.q.getDay()]+` `+Hbt[this.q.getMonth()]+` `+rb(this.q.getDate())+` `+rb(this.q.getHours())+`:`+rb(this.q.getMinutes())+`:`+rb(this.q.getSeconds())+` GMT`+e+t+` `+this.q.getFullYear()};var oY=L(oV,`Date`,205);q(1977,205,Sdt,TZe),Q.a=!1,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=0,Q.g=!1,Q.i=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0,Q.p=0,L(`com.google.gwt.i18n.shared.impl`,`DateRecord`,1977),q(2026,1,{}),Q.ne=function(){return null},Q.oe=function(){return null},Q.pe=function(){return null},Q.qe=function(){return null},Q.re=function(){return null},L(rH,`JSONValue`,2026),q(139,2026,{139:1},_p,fp),Q.Fb=function(e){return M(e,139)?Wke(this.a,P(e,139).a):!1},Q.me=function(){return Hre},Q.Hb=function(){return HEe(this.a)},Q.ne=function(){return this},Q.Ib=function(){var e,t,n=new _x(`[`);for(t=0,e=this.a.length;t<e;t++)t>0&&(n.a+=`,`),Zy(n,Vk(this,t));return n.a+=`]`,n.a},L(rH,`JSONArray`,139),q(479,2026,{479:1},pp),Q.me=function(){return Ure},Q.oe=function(){return this},Q.Ib=function(){return mx(),``+this.a},Q.a=!1;var nbt,rbt;L(rH,`JSONBoolean`,479),q(981,63,RV,jae),L(rH,`JSONException`,981),q(1017,2026,{},ee),Q.me=function(){return qre},Q.Ib=function(){return eV};var ibt;L(rH,`JSONNull`,1017),q(265,2026,{265:1},mp),Q.Fb=function(e){return M(e,265)?this.a==P(e,265).a:!1},Q.me=function(){return Wre},Q.Hb=function(){return ob(this.a)},Q.pe=function(){return this},Q.Ib=function(){return this.a+``},Q.a=0,L(rH,`JSONNumber`,265),q(149,2026,{149:1},Yh,hp),Q.Fb=function(e){return M(e,149)?Wke(this.a,P(e,149).a):!1},Q.me=function(){return Gre},Q.Hb=function(){return HEe(this.a)},Q.qe=function(){return this},Q.Ib=function(){var e,t,n,r,i,a,o=new _x(`{`);for(e=!0,a=Aze(this,V(vY,X,2,0,6,1)),n=a,r=0,i=n.length;r<i;++r)t=n[r],e?e=!1:o.a+=QB,Qy(o,_3e(t)),o.a+=`:`,Zy(o,kE(this,t));return o.a+=`}`,o.a},L(rH,`JSONObject`,149),q(594,lV,uV,Sce),Q.Gc=function(e){return Uy(e)&&hoe(this.a,tS(e))},Q.Jc=function(){return new dm(new dg(this.b))},Q.gc=function(){return this.b.length},L(rH,`JSONObject/1`,594);var abt;q(210,2026,{210:1},qw),Q.Fb=function(e){return M(e,210)?CS(this.a,P(e,210).a):!1},Q.me=function(){return Kre},Q.Hb=function(){return HM(this.a)},Q.re=function(){return this},Q.Ib=function(){return _3e(this.a)},L(rH,`JSONString`,210);var sY,obt,sbt,cbt,lbt;q(2022,1,{520:1}),L(Cdt,`OutputStream`,2022),q(2023,2022,{520:1}),L(Cdt,`FilterOutputStream`,2023),q(859,2023,{520:1},re),L(Cdt,`PrintStream`,859),q(418,1,{472:1}),Q.Ib=function(){return this.a},L(YB,`AbstractStringBuilder`,418),q(526,63,RV,rg),L(YB,`ArithmeticException`,526),q(99,63,dH,aie,ig),L(YB,`IndexOutOfBoundsException`,99),q(643,99,dH,Lie,soe),L(YB,`ArrayIndexOutOfBoundsException`,643),q(525,63,RV,hh,qae),L(YB,`ArrayStoreException`,525),q(297,80,wdt,ag),L(YB,`Error`,297),q(200,297,wdt,oie,CNe),L(YB,`AssertionError`,200),kyt={3:1,473:1,35:1};var cY,lY,uY=L(YB,`Boolean`,473);q(242,1,{3:1,242:1});var ubt;L(YB,`Number`,242),q(221,242,{3:1,221:1,35:1,242:1},Nee),Q.Dd=function(e){return foe(this,P(e,221))},Q.se=function(){return this.a},Q.Fb=function(e){return M(e,221)&&P(e,221).a==this.a},Q.Hb=function(){return this.a},Q.Ib=function(){return``+this.a},Q.a=0;var dY=L(YB,`Byte`,221),dbt;q(180,1,{3:1,180:1,35:1},$p),Q.Dd=function(e){return poe(this,P(e,180))},Q.Fb=function(e){return M(e,180)&&P(e,180).a==this.a},Q.Hb=function(){return this.a},Q.Ib=function(){return String.fromCharCode(this.a)},Q.a=0;var fbt,fY=L(YB,`Character`,180),pbt;q(211,63,{3:1,211:1,101:1,63:1,80:1},sie,og),L(YB,`ClassCastException`,211),Ayt={3:1,35:1,346:1,242:1};var pY=L(YB,`Double`,346);q(164,242,{3:1,35:1,164:1,242:1},em,_ie),Q.Dd=function(e){return ife(this,P(e,164))},Q.se=function(){return this.a},Q.Fb=function(e){return M(e,164)&&T_e(this.a,P(e,164).a)},Q.Hb=function(){return xE(this.a)},Q.Ib=function(){return``+this.a},Q.a=0;var mY=L(YB,`Float`,164);q(32,63,{3:1,101:1,32:1,63:1,80:1},_h,sg,iUe),L(YB,`IllegalArgumentException`,32),q(73,63,RV,vh,cg),L(YB,`IllegalStateException`,73),q(15,242,{3:1,35:1,15:1,242:1},nm),Q.Dd=function(e){return afe(this,P(e,15))},Q.se=function(){return this.a},Q.Fb=function(e){return M(e,15)&&P(e,15).a==this.a},Q.Hb=function(){return this.a},Q.Ib=function(){return``+this.a},Q.a=0;var hY=L(YB,`Integer`,15),mbt,hbt;q(190,242,{3:1,35:1,190:1,242:1},rm),Q.Dd=function(e){return ofe(this,P(e,190))},Q.se=function(){return ED(this.a)},Q.Fb=function(e){return M(e,190)&&Wy(P(e,190).a,this.a)},Q.Hb=function(){return Vge(this.a)},Q.Ib=function(){return``+QC(this.a)},Q.a=0;var gY=L(YB,`Long`,190),gbt;q(2102,1,{}),q(1874,63,RV,Jae),L(YB,`NegativeArraySizeException`,1874),q(172,596,{3:1,101:1,172:1,63:1,80:1},yh,lg),Q.ce=function(e){return TypeError(e)},L(YB,`NullPointerException`,172);var _bt,vbt,ybt,bbt;q(131,32,{3:1,101:1,32:1,131:1,63:1,80:1},Ag),L(YB,`NumberFormatException`,131),q(191,242,{3:1,35:1,242:1,191:1},Xp),Q.Dd=function(e){return moe(this,P(e,191))},Q.se=function(){return this.a},Q.Fb=function(e){return M(e,191)&&P(e,191).a==this.a},Q.Hb=function(){return this.a},Q.Ib=function(){return``+this.a},Q.a=0;var _Y=L(YB,`Short`,191),xbt;q(324,1,{3:1,324:1},BT),Q.Fb=function(e){var t;return M(e,324)?(t=P(e,324),this.c==t.c&&this.d==t.d&&this.a==t.a&&this.b==t.b):!1},Q.Hb=function(){return uN(U(k(ZJ,1),$B,1,5,[G(this.c),this.a,this.d,this.b]))},Q.Ib=function(){return this.a+`.`+this.d+`(`+(this.b==null?`Unknown Source`:this.b)+(this.c>=0?`:`+this.c:``)+`)`},Q.c=0;var Sbt=L(YB,`StackTraceElement`,324);jyt={3:1,472:1,35:1,2:1};var vY=L(YB,adt,2);q(111,418,{472:1},Eg,Dg,gx),L(YB,`StringBuffer`,111),q(106,418,{472:1},Og,kg,_x),L(YB,`StringBuilder`,106),q(691,99,dH,ooe),L(YB,`StringIndexOutOfBoundsException`,691),q(2107,1,{});var Cbt;q(46,63,{3:1,101:1,63:1,80:1,46:1},bh,ug),L(YB,`UnsupportedOperationException`,46),q(247,242,{3:1,35:1,242:1,247:1},LN,sse),Q.Dd=function(e){return Crt(this,P(e,247))},Q.se=function(){return OL(Pat(this))},Q.Fb=function(e){var t;return this===e?!0:M(e,247)?(t=P(e,247),this.e==t.e&&Crt(this,t)==0):!1},Q.Hb=function(){var e;return this.b==0?this.a<54?(e=Hj(this.f),this.b=RC(uD(e,-1)),this.b=33*this.b+RC(uD(ew(e,32),-1)),this.b=17*this.b+xE(this.e),this.b):(this.b=17*NUe(this.c)+xE(this.e),this.b):this.b},Q.Ib=function(){return Pat(this)},Q.a=0,Q.b=0,Q.d=0,Q.e=0,Q.f=0;var wbt,yY,Tbt,Ebt,Dbt,Obt,kbt,Abt,jbt=L(`java.math`,`BigDecimal`,247);q(91,242,{3:1,35:1,242:1,91:1},WD,Nke,gw,Aqe,Ab),Q.Dd=function(e){return cqe(this,P(e,91))},Q.se=function(){return OL(MB(this,0))},Q.Fb=function(e){return UGe(this,e)},Q.Hb=function(){return NUe(this)},Q.Ib=function(){return MB(this,0)},Q.b=-2,Q.c=0,Q.d=0,Q.e=0;var Mbt,bY,Nbt,Pbt,xY,SY,CY=L(`java.math`,`BigInteger`,91),Fbt,Ibt,wY,TY;q(484,2027,sV),Q.$b=function(){aw(this)},Q._b=function(e){return bw(this,e)},Q.uc=function(e){return YHe(this,e,this.i)||YHe(this,e,this.f)},Q.vc=function(){return new im(this)},Q.xc=function(e){return Zw(this,e)},Q.yc=function(e,t){return ST(this,e,t)},Q.Ac=function(e){return jO(this,e)},Q.gc=function(){return C_(this)},Q.g=0,L(oV,`AbstractHashMap`,484),q(306,lV,uV,im),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return RAe(this,e)},Q.Jc=function(){return new Pj(this.a)},Q.Kc=function(e){var t;return RAe(this,e)?(t=P(e,45).jd(),this.a.Ac(t),!0):!1},Q.gc=function(){return this.a.gc()},L(oV,`AbstractHashMap/EntrySet`,306),q(307,1,aV,Pj),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return dj(this)},Q.Ob=function(){return this.b},Q.Qb=function(){yIe(this)},Q.b=!1,Q.d=0,L(oV,`AbstractHashMap/EntrySetIterator`,307),q(417,1,aV,dm),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return lle(this)},Q.Pb=function(){return sEe(this)},Q.Qb=function(){nT(this)},Q.b=0,Q.c=-1,L(oV,`AbstractList/IteratorImpl`,417),q(97,417,dV,bD),Q.Qb=function(){nT(this)},Q.Rb=function(e){hS(this,e)},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Ub=function(){return Bx(this.b>0),this.a.Xb(this.c=--this.b)},Q.Vb=function(){return this.b-1},Q.Wb=function(e){Vx(this.c!=-1),this.a.fd(this.c,e)},L(oV,`AbstractList/ListIteratorImpl`,97),q(258,56,MV,QE),Q._c=function(e,t){UE(e,this.b),this.c._c(this.a+e,t),++this.b},Q.Xb=function(e){return oD(e,this.b),this.c.Xb(this.a+e)},Q.ed=function(e){var t;return oD(e,this.b),t=this.c.ed(this.a+e),--this.b,t},Q.fd=function(e,t){return oD(e,this.b),this.c.fd(this.a+e,t)},Q.gc=function(){return this.b},Q.a=0,Q.b=0,L(oV,`AbstractList/SubList`,258),q(232,lV,uV,Zp),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a._b(e)},Q.Jc=function(){var e;return e=this.a.vc().Jc(),new Qp(e)},Q.Kc=function(e){return this.a._b(e)?(this.a.Ac(e),!0):!1},Q.gc=function(){return this.a.gc()},L(oV,`AbstractMap/1`,232),q(529,1,aV,Qp),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){var e;return e=P(this.a.Pb(),45),e.jd()},Q.Qb=function(){this.a.Qb()},L(oV,`AbstractMap/1/1`,529),q(230,31,cV,om),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a.uc(e)},Q.Jc=function(){var e;return e=this.a.vc().Jc(),new sm(e)},Q.gc=function(){return this.a.gc()},L(oV,`AbstractMap/2`,230),q(304,1,aV,sm),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){var e;return e=P(this.a.Pb(),45),e.kd()},Q.Qb=function(){this.a.Qb()},L(oV,`AbstractMap/2/1`,304),q(480,1,{480:1,45:1}),Q.Fb=function(e){var t;return M(e,45)?(t=P(e,45),xT(this.d,t.jd())&&xT(this.e,t.kd())):!1},Q.jd=function(){return this.d},Q.kd=function(){return this.e},Q.Hb=function(){return jb(this.d)^jb(this.e)},Q.ld=function(e){return Fge(this,e)},Q.Ib=function(){return this.d+`=`+this.e},L(oV,`AbstractMap/AbstractEntry`,480),q(390,480,{480:1,390:1,45:1},uv),L(oV,`AbstractMap/SimpleEntry`,390),q(2044,1,CH),Q.Fb=function(e){var t;return M(e,45)?(t=P(e,45),xT(this.jd(),t.jd())&&xT(this.kd(),t.kd())):!1},Q.Hb=function(){return jb(this.jd())^jb(this.kd())},Q.Ib=function(){return this.jd()+`=`+this.kd()},L(oV,Xut,2044),q(2052,2027,qut),Q.Vc=function(e){return bse(this.Ce(e))},Q.tc=function(e){return qMe(this,e)},Q._b=function(e){return Ige(this,e)},Q.vc=function(){return new cm(this)},Q.Rc=function(){return NCe(this.Ee())},Q.Wc=function(e){return bse(this.Fe(e))},Q.xc=function(e){var t=e;return By(this.De(t))},Q.Yc=function(e){return bse(this.Ge(e))},Q.ec=function(){return new Pee(this)},Q.Tc=function(){return NCe(this.He())},Q.Zc=function(e){return bse(this.Ie(e))},L(oV,`AbstractNavigableMap`,2052),q(620,lV,uV,cm),Q.Gc=function(e){return M(e,45)&&qMe(this.b,P(e,45))},Q.Jc=function(){return this.b.Be()},Q.Kc=function(e){var t;return M(e,45)?(t=P(e,45),this.b.Je(t)):!1},Q.gc=function(){return this.b.gc()},L(oV,`AbstractNavigableMap/EntrySet`,620),q(1115,lV,Yut,Pee),Q.Lc=function(){return new _v(this)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return Ige(this.a,e)},Q.Jc=function(){return new hm(this.a.vc().b.Be())},Q.Kc=function(e){return Ige(this.a,e)?(this.a.Ac(e),!0):!1},Q.gc=function(){return this.a.gc()},L(oV,`AbstractNavigableMap/NavigableKeySet`,1115),q(1116,1,aV,hm),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return lle(this.a.a)},Q.Pb=function(){return ghe(this.a).jd()},Q.Qb=function(){ive(this.a)},L(oV,`AbstractNavigableMap/NavigableKeySet/1`,1116),q(2065,31,cV),Q.Ec=function(e){return rC(vL(this,e),wH),!0},Q.Fc=function(e){return dT(e),nC(e!=this,`Can't add a queue to itself`),bj(this,e)},Q.$b=function(){for(;Uk(this)!=null;);},L(oV,`AbstractQueue`,2065),q(314,31,{4:1,20:1,31:1,18:1},Zb,xAe),Q.Ec=function(e){return tje(this,e),!0},Q.$b=function(){oMe(this)},Q.Gc=function(e){return fVe(new vT(this),e)},Q.dc=function(){return mg(this)},Q.Jc=function(){return new vT(this)},Q.Kc=function(e){return ZDe(new vT(this),e)},Q.gc=function(){return this.c-this.b&this.a.length-1},Q.Lc=function(){return new nD(this,272)},Q.Oc=function(e){var t=this.c-this.b&this.a.length-1;return e.length<t&&(e=Ng(Array(t),e)),mze(this,e,t),e.length>t&&Jw(e,t,null),e},Q.b=0,Q.c=0,L(oV,`ArrayDeque`,314),q(448,1,aV,vT),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.a!=this.b},Q.Pb=function(){return vN(this)},Q.Qb=function(){MRe(this)},Q.a=0,Q.b=0,Q.c=-1,L(oV,`ArrayDeque/IteratorImpl`,448),q(13,56,Ddt,ah,HO,NS),Q._c=function(e,t){BC(this,e,t)},Q.Ec=function(e){return $b(this,e)},Q.ad=function(e,t){return lUe(this,e,t)},Q.Fc=function(e){return pM(this,e)},Q.$b=function(){Ch(this.c,0)},Q.Gc=function(e){return vk(this,e,0)!=-1},Q.Ic=function(e){sA(this,e)},Q.Xb=function(e){return AC(this,e)},Q.bd=function(e){return vk(this,e,0)},Q.dc=function(){return this.c.length==0},Q.Jc=function(){return new E(this)},Q.ed=function(e){return MO(this,e)},Q.Kc=function(e){return _k(this,e)},Q.ae=function(e,t){VOe(this,e,t)},Q.fd=function(e,t){return fO(this,e,t)},Q.gc=function(){return this.c.length},Q.gd=function(e){Vb(this,e)},Q.Nc=function(){return dC(this.c)},Q.Oc=function(e){return gF(this,e)};var Lbt=L(oV,`ArrayList`,13);q(7,1,aV,E),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return Hb(this)},Q.Pb=function(){return z(this)},Q.Qb=function(){Ow(this)},Q.a=0,Q.b=-1,L(oV,`ArrayList/1`,7),q(2074,r.Function,{},ie),Q.Ke=function(e,t){return RN(e,t)},q(123,56,Odt,dg),Q.Gc=function(e){return kRe(this,e)!=-1},Q.Ic=function(e){var t,n,r,i;for(dT(e),n=this.a,r=0,i=n.length;r<i;++r)t=n[r],e.Ad(t)},Q.Xb=function(e){return dSe(this,e)},Q.fd=function(e,t){var n=(oD(e,this.a.length),this.a[e]);return Jw(this.a,e,t),n},Q.gc=function(){return this.a.length},Q.gd=function(e){xSe(this.a,this.a.length,e)},Q.Nc=function(){return qqe(this,V(ZJ,$B,1,this.a.length,5,1))},Q.Oc=function(e){return qqe(this,e)},L(oV,`Arrays/ArrayList`,123);var EY,DY,OY;q(936,56,Odt,ae),Q.Gc=function(e){return!1},Q.Xb=function(e){return Bde(e)},Q.Jc=function(){return KT(),k_(),kY},Q.cd=function(){return KT(),k_(),kY},Q.gc=function(){return 0},L(oV,`Collections/EmptyList`,936),q(937,1,dV,oe),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){throw D(new bh)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw D(new xh)},Q.Tb=function(){return 0},Q.Ub=function(){throw D(new xh)},Q.Vb=function(){return-1},Q.Qb=function(){throw D(new vh)},Q.Wb=function(e){throw D(new vh)};var kY;L(oV,`Collections/EmptyListIterator`,937),q(939,2027,CV,se),Q._b=function(e){return!1},Q.uc=function(e){return!1},Q.vc=function(){return KT(),OY},Q.xc=function(e){return null},Q.ec=function(){return KT(),OY},Q.gc=function(){return 0},Q.Bc=function(){return KT(),EY},L(oV,`Collections/EmptyMap`,939),q(938,lV,TV,ce),Q.Gc=function(e){return!1},Q.Jc=function(){return KT(),k_(),kY},Q.gc=function(){return 0},L(oV,`Collections/EmptySet`,938),q(597,56,{3:1,20:1,31:1,56:1,18:1,16:1},am),Q.Gc=function(e){return xT(this.a,e)},Q.Xb=function(e){return oD(e,1),this.a},Q.gc=function(){return 1},L(oV,`Collections/SingletonList`,597),q(378,1,$ut,lm),Q.Ic=function(e){dO(this,e)},Q.Lc=function(){return new nD(this,0)},Q.Mc=function(){return new jC(null,this.Lc())},Q.Ec=function(e){return lse()},Q.Fc=function(e){return use()},Q.$b=function(){dse()},Q.Gc=function(e){return S_(this,e)},Q.Hc=function(e){return gce(this,e)},Q.dc=function(){return this.b.dc()},Q.Jc=function(){return new um(this.b.Jc())},Q.Kc=function(e){return fse()},Q.gc=function(){return this.b.gc()},Q.Nc=function(){return this.b.Nc()},Q.Oc=function(e){return _ce(this,e)},Q.Ib=function(){return EP(this.b)},L(oV,`Collections/UnmodifiableCollection`,378),q(325,1,aV,um),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.b.Ob()},Q.Pb=function(){return this.b.Pb()},Q.Qb=function(){pse()},L(oV,`Collections/UnmodifiableCollectionIterator`,325),q(528,378,kdt,hx),Q.Lc=function(){return new nD(this,16)},Q._c=function(e,t){throw D(new bh)},Q.ad=function(e,t){throw D(new bh)},Q.Fb=function(e){return DN(this.a,e)},Q.Xb=function(e){return this.a.Xb(e)},Q.Hb=function(){return Cj(this.a)},Q.bd=function(e){return this.a.bd(e)},Q.dc=function(){return this.a.dc()},Q.cd=function(){return new Ome(this.a.dd(0))},Q.dd=function(e){return new Ome(this.a.dd(e))},Q.ed=function(e){throw D(new bh)},Q.fd=function(e,t){throw D(new bh)},Q.gd=function(e){throw D(new bh)},Q.hd=function(e,t){return new hx(this.a.hd(e,t))},L(oV,`Collections/UnmodifiableList`,528),q(694,325,dV,Ome),Q.Qb=function(){pse()},Q.Rb=function(e){throw D(new bh)},Q.Sb=function(){return this.a.Sb()},Q.Tb=function(){return this.a.Tb()},Q.Ub=function(){return this.a.Ub()},Q.Vb=function(){return this.a.Vb()},Q.Wb=function(e){throw D(new bh)},L(oV,`Collections/UnmodifiableListIterator`,694),q(598,1,sV,vm),Q.wc=function(e){Mj(this,e)},Q.$b=function(){throw D(new bh)},Q._b=function(e){return this.c._b(e)},Q.uc=function(e){return vce(this,e)},Q.vc=function(){return yT(this)},Q.Fb=function(e){return bce(this,e)},Q.xc=function(e){return this.c.xc(e)},Q.Hb=function(){return Cj(this.c)},Q.dc=function(){return this.c.dc()},Q.ec=function(){return yTe(this)},Q.yc=function(e,t){throw D(new bh)},Q.Ac=function(e){throw D(new bh)},Q.gc=function(){return this.c.gc()},Q.Ib=function(){return EP(this.c)},Q.Bc=function(){return bTe(this)},L(oV,`Collections/UnmodifiableMap`,598),q(389,378,wV,jg),Q.Lc=function(){return new nD(this,1)},Q.Fb=function(e){return DN(this.b,e)},Q.Hb=function(){return Cj(this.b)},L(oV,`Collections/UnmodifiableSet`,389),q(940,389,wV,coe),Q.Gc=function(e){return yce(this,e)},Q.Hc=function(e){return this.b.Hc(e)},Q.Jc=function(){return new pm(this.b.Jc())},Q.Nc=function(){var e=this.b.Nc();return mMe(e,e.length),e},Q.Oc=function(e){return aDe(this,e)},L(oV,`Collections/UnmodifiableMap/UnmodifiableEntrySet`,940),q(941,1,aV,pm),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return new mm(P(this.a.Pb(),45))},Q.Ob=function(){return this.a.Ob()},Q.Qb=function(){throw D(new bh)},L(oV,`Collections/UnmodifiableMap/UnmodifiableEntrySet/1`,941),q(692,1,CH,mm),Q.Fb=function(e){return this.a.Fb(e)},Q.jd=function(){return this.a.jd()},Q.kd=function(){return this.a.kd()},Q.Hb=function(){return this.a.Hb()},Q.ld=function(e){throw D(new bh)},Q.Ib=function(){return EP(this.a)},L(oV,`Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry`,692),q(599,528,{20:1,18:1,16:1,59:1},Mg),L(oV,`Collections/UnmodifiableRandomAccessList`,599),q(693,389,tdt,kme),Q.Lc=function(){return new _v(this)},Q.Fb=function(e){return DN(this.a,e)},Q.Hb=function(){return Cj(this.a)},L(oV,`Collections/UnmodifiableSortedSet`,693),q(842,1,TH,le),Q.Le=function(e,t){var n;return n=cMe(P(e,12),P(t,12)),n==0?ert(P(e,12),P(t,12)):n},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oV,`Comparator/lambda$0$Type`,842);var Rbt,zbt,Bbt;q(756,1,TH,ue),Q.Le=function(e,t){return rSe(P(e,35),P(t,35))},Q.Fb=function(e){return this===e},Q.Me=function(){return qT(),Bbt},L(oV,`Comparators/NaturalOrderComparator`,756),q(1191,1,TH,de),Q.Le=function(e,t){return iSe(P(e,35),P(t,35))},Q.Fb=function(e){return this===e},Q.Me=function(){return qT(),zbt},L(oV,`Comparators/ReverseNaturalOrderComparator`,1191),q(55,1,TH,fm),Q.Fb=function(e){return this===e},Q.Le=function(e,t){return this.a.Le(t,e)},Q.Me=function(){return this.a},L(oV,`Comparators/ReversedComparator`,55),q(176,63,RV,gh),L(oV,`ConcurrentModificationException`,176);var Vbt,Hbt;q(1352,1,EH,fe),Q.Ne=function(e){LKe(this,e)},Q.Ib=function(){return`DoubleSummaryStatistics[count = `+QC(this.a)+`, avg = `+(dle(this.a,0)?NNe(this)/ED(this.a):0)+`, min = `+this.c+`, max = `+this.b+`, sum = `+NNe(this)+`]`},Q.a=0,Q.b=mH,Q.c=pH,Q.d=0,Q.e=0,Q.f=0,L(oV,`DoubleSummaryStatistics`,1352),q(1847,63,RV,cie),L(oV,`EmptyStackException`,1847),q(450,2027,sV,TP),Q.yc=function(e,t){return Bge(this,e,t)},Q.$b=function(){Kwe(this)},Q._b=function(e){return ple(this,e)},Q.uc=function(e){var t,n;for(n=new T_(this.a);n.a<n.c.a.length;)if(t=JD(n),xT(e,this.b[t.g]))return!0;return!1},Q.vc=function(){return new Fee(this)},Q.xc=function(e){return CT(this,e)},Q.Ac=function(e){return Pke(this,e)},Q.gc=function(){return this.a.c},L(oV,`EnumMap`,450),q(1292,lV,uV,Fee),Q.$b=function(){Kwe(this.a)},Q.Gc=function(e){return zAe(this,e)},Q.Jc=function(){return new Qxe(this.a)},Q.Kc=function(e){var t;return zAe(this,e)?(t=P(e,45).jd(),Pke(this.a,t),!0):!1},Q.gc=function(){return this.a.a.c},L(oV,`EnumMap/EntrySet`,1292),q(1293,1,aV,Qxe),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return this.b=JD(this.a),new Sle(this.c,this.b)},Q.Ob=function(){return tpe(this.a)},Q.Qb=function(){Vx(!!this.b),Pke(this.c,this.b),this.b=null},L(oV,`EnumMap/EntrySetIterator`,1293),q(1294,2044,CH,Sle),Q.jd=function(){return this.a},Q.kd=function(){return this.b.b[this.a.g]},Q.ld=function(e){return _xe(this.b.b,this.a.g,e)},L(oV,`EnumMap/MapEntry`,1294),q(182,lV,{20:1,31:1,18:1,182:1,22:1});var Ubt=L(oV,`EnumSet`,182);q(166,182,{20:1,31:1,18:1,182:1,166:1,22:1},FS),Q.Ec=function(e){return ij(this,P(e,23))},Q.Gc=function(e){return CSe(this,e)},Q.Jc=function(){return new T_(this)},Q.Kc=function(e){return wSe(this,e)},Q.gc=function(){return this.c},Q.c=0,L(oV,`EnumSet/EnumSetImpl`,166),q(356,1,aV,T_),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return JD(this)},Q.Ob=function(){return tpe(this)},Q.Qb=function(){Vx(this.b!=-1),Jw(this.c.b,this.b,null),--this.c.c,this.b=-1},Q.a=-1,Q.b=-1,L(oV,`EnumSet/EnumSetImpl/IteratorImpl`,356),q(44,484,DH,oh,D_,Kde),Q.ze=function(e,t){return j(e)===j(t)||e!=null&&DN(e,t)},Q.Ae=function(e){var t;return e==null?0:(t=Cj(e),t|0)},L(oV,`HashMap`,44),q(47,lV,Adt,Dh,o_,EC),Q.Ec=function(e){return Tw(this,e)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return w_(this,e)},Q.dc=function(){return this.a.gc()==0},Q.Jc=function(){return this.a.ec().Jc()},Q.Kc=function(e){return Bpe(this,e)},Q.gc=function(){return this.a.gc()};var Wbt=L(oV,`HashSet`,47);q(1867,1,_V,pe),Q.Bd=function(e){EBe(this,e)},Q.Ib=function(){return`IntSummaryStatistics[count = `+QC(this.a)+`, avg = `+(dle(this.a,0)?ED(this.d)/ED(this.a):0)+`, min = `+this.c+`, max = `+this.b+`, sum = `+QC(this.d)+`]`},Q.a=0,Q.b=LV,Q.c=JB,Q.d=0,L(oV,`IntSummaryStatistics`,1867),q(1043,1,bV,xfe),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new QPe(this)},Q.c=0,L(oV,`InternalHashCodeMap`,1043),q(716,1,aV,QPe),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return this.d=this.a[this.c++],this.d},Q.Ob=function(){var e;return this.c<this.a.length?!0:(e=this.b.next(),e.done?!1:(this.a=e.value[1],this.c=0,!0))},Q.Qb=function(){Q3e(this.e,this.d.jd()),this.c!=0&&--this.c},Q.c=0,Q.d=null,L(oV,`InternalHashCodeMap/1`,716);var Gbt;q(1041,1,bV,Sfe),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new _Me(this)},Q.c=0,Q.d=0,L(oV,`InternalStringMap`,1041),q(715,1,aV,_Me),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return this.c=this.a,this.a=this.b.next(),new eve(this.d,this.c,this.d.d)},Q.Ob=function(){return!this.a.done},Q.Qb=function(){KBe(this.d,this.c.value[0])},L(oV,`InternalStringMap/1`,715),q(1042,2044,CH,eve),Q.jd=function(){return this.b.value[0]},Q.kd=function(){return this.a.d==this.c?this.b.value[1]:cv(this.a,this.b.value[0])},Q.ld=function(e){return iP(this.a,this.b.value[0],e)},Q.c=0,L(oV,`InternalStringMap/2`,1042),q(223,44,DH,rO,ZPe),Q.$b=function(){c_e(this)},Q._b=function(e){return yle(this,e)},Q.uc=function(e){for(var t=this.d.a;t!=this.d;){if(xT(t.e,e))return!0;t=t.a}return!1},Q.vc=function(){return new _m(this)},Q.xc=function(e){return zk(this,e)},Q.yc=function(e,t){return yF(this,e,t)},Q.Ac=function(e){return lIe(this,e)},Q.gc=function(){return C_(this.e)},Q.c=!1,L(oV,`LinkedHashMap`,223),q(393,390,{480:1,390:1,393:1,45:1},she,Ube),L(oV,`LinkedHashMap/ChainEntry`,393),q(704,lV,uV,_m),Q.$b=function(){c_e(this.a)},Q.Gc=function(e){return BAe(this,e)},Q.Jc=function(){return new Nwe(this)},Q.Kc=function(e){var t;return BAe(this,e)?(t=P(e,45).jd(),lIe(this.a,t),!0):!1},Q.gc=function(){return C_(this.a.e)},L(oV,`LinkedHashMap/EntrySet`,704),q(705,1,aV,Nwe),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return vIe(this)},Q.Ob=function(){return this.c!=this.d.a.d},Q.Qb=function(){Vx(!!this.a),IS(this.d.a.e.g,this.b),bxe(this.a),jO(this.d.a.e,this.a.d),this.b=this.d.a.e.g,this.a=null},Q.b=0,L(oV,`LinkedHashMap/EntrySet/EntryIterator`,705),q(181,47,Adt,pb,vx,Zxe);var Kbt=L(oV,`LinkedHashSet`,181);q(66,2024,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1},E_,MS),Q.Ec=function(e){return pC(this,e)},Q.$b=function(){YT(this)},Q.dd=function(e){return TF(this,e)},Q.gc=function(){return this.b},Q.b=0;var qbt=L(oV,`LinkedList`,66);q(963,1,dV,$_e),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){Pw(this,e)},Q.Ob=function(){return l_(this)},Q.Sb=function(){return this.b.b!=this.d.a},Q.Pb=function(){return RD(this)},Q.Tb=function(){return this.a},Q.Ub=function(){return yAe(this)},Q.Vb=function(){return this.a-1},Q.Qb=function(){tA(this)},Q.Wb=function(e){Vx(!!this.c),this.c.c=e},Q.a=0,Q.c=null,L(oV,`LinkedList/ListIteratorImpl`,963),q(607,1,{},me),L(oV,`LinkedList/Node`,607),q(2019,1,{});var Jbt,Ybt;L(oV,`Locale`,2019),q(854,2019,{},he),Q.Ib=function(){return``},L(oV,`Locale/1`,854),q(855,2019,{},ge),Q.Ib=function(){return`unknown`},L(oV,`Locale/4`,855),q(112,63,{3:1,101:1,63:1,80:1,112:1},xh,OEe),L(oV,`NoSuchElementException`,112),q(458,1,{458:1},Xh),Q.Fb=function(e){var t;return e===this?!0:M(e,458)?(t=P(e,458),xT(this.a,t.a)):!1},Q.Hb=function(){return jb(this.a)},Q.Ib=function(){return this.a==null?`Optional.empty()`:Kut+px(this.a)+`)`};var Xbt;L(oV,`Optional`,458),q(400,1,{400:1},qde,zx),Q.Fb=function(e){var t;return e===this?!0:M(e,400)?(t=P(e,400),this.a==t.a&&RN(this.b,t.b)==0):!1},Q.Hb=function(){return this.a?xE(this.b):0},Q.Ib=function(){return this.a?`OptionalDouble.of(`+(``+this.b)+`)`:`OptionalDouble.empty()`},Q.a=!1,Q.b=0;var Zbt;L(oV,`OptionalDouble`,400),q(510,1,{510:1},Jde,che),Q.Fb=function(e){var t;return e===this?!0:M(e,510)?(t=P(e,510),this.a==t.a&&Ub(this.b,t.b)==0):!1},Q.Hb=function(){return this.a?this.b:0},Q.Ib=function(){return this.a?`OptionalInt.of(`+(``+this.b)+`)`:`OptionalInt.empty()`},Q.a=!1,Q.b=0;var Qbt;L(oV,`OptionalInt`,510),q(496,2065,cV,ow),Q.Fc=function(e){return BXe(this,e)},Q.$b=function(){Ch(this.b.c,0)},Q.Gc=function(e){return(e==null?-1:vk(this.b,e,0))!=-1},Q.Jc=function(){return new Iee(this)},Q.Kc=function(e){return hze(this,e)},Q.gc=function(){return this.b.c.length},Q.Lc=function(){return new nD(this,256)},Q.Nc=function(){return dC(this.b.c)},Q.Oc=function(e){return gF(this.b,e)},L(oV,`PriorityQueue`,496),q(1260,1,aV,Iee),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.a<this.c.b.c.length},Q.Pb=function(){return Bx(this.a<this.c.b.c.length),this.b=this.a++,AC(this.c.b,this.b)},Q.Qb=function(){Vx(this.b!=-1),aj(this.c,this.a=this.b),this.b=-1},Q.a=0,Q.b=-1,L(oV,`PriorityQueue/1`,1260),q(234,1,{234:1},mP,uO),Q.a=0,Q.b=0;var $bt,ext,txt=0;L(oV,`Random`,234),q(27,1,hV,nD,Lw,qTe),Q.yd=function(e){return(this.a&e)!=0},Q.wd=function(){return this.a},Q.xd=function(){return fCe(this),this.c},Q.Nb=function(e){fCe(this),this.d.Nb(e)},Q.zd=function(e){return sLe(this,e)},Q.a=0,Q.c=0,L(oV,`Spliterators/IteratorSpliterator`,27),q(481,27,hV,_v),L(oV,`SortedSet/1`,481),q(600,1,EH,ym),Q.Ne=function(e){this.a.Ad(e)},L(oV,`Spliterator/OfDouble/0methodref$accept$Type`,600),q(601,1,EH,bm),Q.Ne=function(e){this.a.Ad(e)},L(oV,`Spliterator/OfDouble/1methodref$accept$Type`,601),q(602,1,_V,xm),Q.Bd=function(e){this.a.Ad(G(e))},L(oV,`Spliterator/OfInt/2methodref$accept$Type`,602),q(603,1,_V,Sm),Q.Bd=function(e){this.a.Ad(G(e))},L(oV,`Spliterator/OfInt/3methodref$accept$Type`,603),q(616,1,hV),Q.Nb=function(e){mse(this,e)},Q.yd=function(e){return(this.d&e)!=0},Q.wd=function(){return this.d},Q.xd=function(){return this.e},Q.d=0,Q.e=0,L(oV,`Spliterators/BaseSpliterator`,616),q(724,616,hV),Q.Oe=function(e){c_(this,e)},Q.Nb=function(e){M(e,189)?c_(this,P(e,189)):c_(this,new bm(e))},Q.zd=function(e){return M(e,189)?this.Pe(P(e,189)):this.Pe(new ym(e))},L(oV,`Spliterators/AbstractDoubleSpliterator`,724),q(723,616,hV),Q.Oe=function(e){c_(this,e)},Q.Nb=function(e){M(e,202)?c_(this,P(e,202)):c_(this,new Sm(e))},Q.zd=function(e){return M(e,202)?this.Pe(P(e,202)):this.Pe(new xm(e))},L(oV,`Spliterators/AbstractIntSpliterator`,723),q(486,616,hV),L(oV,`Spliterators/AbstractSpliterator`,486),q(695,1,hV),Q.Nb=function(e){mse(this,e)},Q.yd=function(e){return(this.b&e)!=0},Q.wd=function(){return this.b},Q.xd=function(){return this.d-this.c},Q.b=0,Q.c=0,Q.d=0,L(oV,`Spliterators/BaseArraySpliterator`,695),q(943,695,hV,Axe),Q.Qe=function(e,t){uoe(this,P(e,41),t)},Q.Nb=function(e){eT(this,e)},Q.zd=function(e){return zO(this,e)},L(oV,`Spliterators/ArraySpliterator`,943),q(696,695,hV,nve),Q.Qe=function(e,t){doe(this,P(e,189),t)},Q.Oe=function(e){eT(this,e)},Q.Nb=function(e){M(e,189)?eT(this,P(e,189)):eT(this,new bm(e))},Q.Pe=function(e){return zO(this,e)},Q.zd=function(e){return M(e,189)?zO(this,P(e,189)):zO(this,new ym(e))},L(oV,`Spliterators/DoubleArraySpliterator`,696),q(2028,1,hV),Q.Nb=function(e){mse(this,e)},Q.yd=function(e){return(16448&e)!=0},Q.wd=function(){return 16448},Q.xd=function(){return 0};var nxt;L(oV,`Spliterators/EmptySpliterator`,2028),q(942,2028,hV,_e),Q.Oe=function(e){Ef(e)},Q.Nb=function(e){M(e,202)?Ef(P(e,202)):Ef(new Sm(e))},Q.Pe=function(e){return ble(e)},Q.zd=function(e){return M(e,202)?ble(P(e,202)):ble(new xm(e))},L(oV,`Spliterators/EmptySpliterator/OfInt`,942),q(574,56,Ndt,Oh),Q._c=function(e,t){iw(e,this.a.c.length+1),BC(this.a,e,t)},Q.Ec=function(e){return $b(this.a,e)},Q.ad=function(e,t){return iw(e,this.a.c.length+1),lUe(this.a,e,t)},Q.Fc=function(e){return pM(this.a,e)},Q.$b=function(){Ch(this.a.c,0)},Q.Gc=function(e){return vk(this.a,e,0)!=-1},Q.Hc=function(e){return mM(this.a,e)},Q.Ic=function(e){sA(this.a,e)},Q.Xb=function(e){return iw(e,this.a.c.length),AC(this.a,e)},Q.bd=function(e){return vk(this.a,e,0)},Q.dc=function(){return this.a.c.length==0},Q.Jc=function(){return new E(this.a)},Q.ed=function(e){return iw(e,this.a.c.length),MO(this.a,e)},Q.ae=function(e,t){VOe(this.a,e,t)},Q.fd=function(e,t){return iw(e,this.a.c.length),fO(this.a,e,t)},Q.gc=function(){return this.a.c.length},Q.gd=function(e){Vb(this.a,e)},Q.hd=function(e,t){return new QE(this.a,e,t)},Q.Nc=function(){return dC(this.a.c)},Q.Oc=function(e){return gF(this.a,e)},Q.Ib=function(){return wL(this.a)},L(oV,`Vector`,574),q(575,574,Ndt,Ih),L(oV,`Stack`,575),q(212,1,{212:1},Zj),Q.Ib=function(){return bAe(this)},L(oV,`StringJoiner`,212),q(541,2052,{3:1,92:1,138:1,134:1},wce,sw),Q.$b=function(){Mae(this)},Q.Be=function(){return new SAe(this)},Q.vc=function(){return new Ame(this)},Q.Ce=function(e){return YP(this,e,!0)},Q.De=function(e){return PHe(this,e)},Q.Ee=function(){return zFe(this)},Q.Fe=function(e){return XP(this,e,!0)},Q.Ge=function(e){return YP(this,e,!1)},Q.He=function(){return BFe(this)},Q.Ie=function(e){return XP(this,e,!1)},Q.Xc=function(e,t){return zOe(this,e,t)},Q.yc=function(e,t){return nHe(this,e,t)},Q.Ac=function(e){return RDe(this,e)},Q.Je=function(e){return HPe(this,e)},Q.gc=function(){return this.c},Q.$c=function(e,t){return BOe(this,e,t)},Q.c=0,L(oV,`TreeMap`,541),q(542,1,aV,SAe,Fze),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return ghe(this)},Q.Ob=function(){return lle(this.a)},Q.Qb=function(){ive(this)},L(oV,`TreeMap/EntryIterator`,542),q(1111,620,uV,Ame),Q.$b=function(){Mae(this.a)},L(oV,`TreeMap/EntrySet`,1111),q(438,390,{480:1,390:1,45:1,438:1},XPe),Q.b=!1;var rxt=L(oV,`TreeMap/Node`,438);q(621,1,{},ve),Q.Ib=function(){return`State: mv=`+this.c+` value=`+this.d+` done=`+this.a+` found=`+this.b},Q.a=!1,Q.b=!1,Q.c=!1,L(oV,`TreeMap/State`,621),q(622,2052,qut,FL),Q.Be=function(){return new Fze(this.c,this.f,this.b,this.a,this.e,this.d)},Q.vc=function(){return new cm(this)},Q.Ce=function(e){return iC(this,YP(this.c,e,!0))},Q.De=function(e){return iC(this,PHe(this.c,e))},Q.Ee=function(){var e;return e=this.f.Re()?this.a?YP(this.c,this.b,!0):YP(this.c,this.b,!1):zFe(this.c),e&&oT(this,e.d)?e:null},Q.Fe=function(e){return iC(this,XP(this.c,e,!0))},Q.Ge=function(e){return iC(this,YP(this.c,e,!1))},Q.He=function(){var e=this.f.Se()?this.d?XP(this.c,this.e,!0):XP(this.c,this.e,!1):BFe(this.c);return e&&oT(this,e.d)?e:null},Q.Ie=function(e){return iC(this,XP(this.c,e,!1))},Q.Xc=function(e,t){if(this.f.Se()&&this.c.a.Le(e,this.e)>0)throw D(new sg(Pdt+e+` greater than `+this.e));return this.f.Re()?LDe(this.c,this.b,this.a,e,t):zOe(this.c,e,t)},Q.yc=function(e,t){if(!EI(this.c,this.f,e,this.b,this.a,this.e,this.d))throw D(new sg(e+` outside the range `+this.b+` to `+this.e));return nHe(this.c,e,t)},Q.Ac=function(e){var t=e;return EI(this.c,this.f,t,this.b,this.a,this.e,this.d)?RDe(this.c,t):null},Q.Je=function(e){return oT(this,e.jd())&&HPe(this.c,e)},Q.gc=function(){var e,t=this.f.Re()?this.a?YP(this.c,this.b,!0):YP(this.c,this.b,!1):zFe(this.c),n;if(!(t&&oT(this,t.d)&&t))return 0;for(e=0,n=new Fze(this.c,this.f,this.b,this.a,this.e,this.d);lle(n.a);n.b=P(sEe(n.a),45))++e;return e},Q.$c=function(e,t){if(this.f.Re()&&this.c.a.Le(e,this.b)<0)throw D(new sg(Pdt+e+Fdt+this.b));return this.f.Se()?LDe(this.c,e,t,this.e,this.d):BOe(this.c,e,t)},Q.a=!1,Q.d=!1,L(oV,`TreeMap/SubMap`,622),q(309,23,PH,fv),Q.Re=function(){return!1},Q.Se=function(){return!1};var ixt,axt,oxt,sxt,AY=FA(oV,`TreeMap/SubMapType`,309,nY,dje,lve);q(1112,309,PH,kfe),Q.Se=function(){return!0},FA(oV,`TreeMap/SubMapType/1`,1112,AY,null,null),q(1113,309,PH,fpe),Q.Re=function(){return!0},Q.Se=function(){return!0},FA(oV,`TreeMap/SubMapType/2`,1113,AY,null,null),q(1114,309,PH,Afe),Q.Re=function(){return!0},FA(oV,`TreeMap/SubMapType/3`,1114,AY,null,null);var cxt;q(141,lV,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},jh,Ime,s_,Cm),Q.Lc=function(){return new _v(this)},Q.Ec=function(e){return Ew(this,e)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a._b(e)},Q.Jc=function(){return this.a.ec().Jc()},Q.Kc=function(e){return Vpe(this,e)},Q.gc=function(){return this.a.gc()};var lxt=L(oV,`TreeSet`,141);q(1052,1,{},Lee),Q.Te=function(e,t){return dge(this.a,e,t)},L(FH,`BinaryOperator/lambda$0$Type`,1052),q(1053,1,{},Ree),Q.Te=function(e,t){return fge(this.a,e,t)},L(FH,`BinaryOperator/lambda$1$Type`,1053),q(935,1,{},Te),Q.Kb=function(e){return e},L(FH,`Function/lambda$0$Type`,935),q(388,1,PV,wm),Q.Mb=function(e){return!this.a.Mb(e)},L(FH,`Predicate/lambda$2$Type`,388),q(567,1,{567:1});var uxt=L(IH,`Handler`,567);q(2069,1,XB),Q.ve=function(){return`DUMMY`},Q.Ib=function(){return this.ve()};var dxt;L(IH,`Level`,2069),q(1672,2069,XB,Ee),Q.ve=function(){return`INFO`},L(IH,`Level/LevelInfo`,1672),q(1824,1,{},vie);var fxt;L(IH,`LogManager`,1824),q(1866,1,XB,rve),Q.b=null,L(IH,`LogRecord`,1866),q(511,1,{511:1},mO),Q.e=!1;var pxt=!1,mxt=!1,jY=!1,hxt=!1,gxt=!1;L(IH,`Logger`,511),q(819,567,{567:1},be),L(IH,`SimpleConsoleLogHandler`,819),q(130,23,{3:1,35:1,23:1,130:1},pv);var _xt,MY,vxt,NY=FA(RH,`Collector/Characteristics`,130,nY,ROe,uve),yxt;q(746,1,{},HCe),L(RH,`CollectorImpl`,746),q(1050,1,{},ye),Q.Te=function(e,t){return CWe(P(e,212),P(t,212))},L(RH,`Collectors/10methodref$merge$Type`,1050),q(1051,1,{},xe),Q.Kb=function(e){return bAe(P(e,212))},L(RH,`Collectors/11methodref$toString$Type`,1051),q(152,1,{},Se),Q.Wd=function(e,t){P(e,18).Ec(t)},L(RH,`Collectors/20methodref$add$Type`,152),q(154,1,{},Ce),Q.Ve=function(){return new ah},L(RH,`Collectors/21methodref$ctor$Type`,154),q(1049,1,{},we),Q.Wd=function(e,t){NO(P(e,212),P(t,472))},L(RH,`Collectors/9methodref$add$Type`,1049),q(1048,1,{},Vbe),Q.Ve=function(){return new Zj(this.a,this.b,this.c)},L(RH,`Collectors/lambda$15$Type`,1048),q(153,1,{},Ae),Q.Te=function(e,t){return Ace(P(e,18),P(t,18))},L(RH,`Collectors/lambda$45$Type`,153),q(538,1,{}),Q.Ye=function(){aT(this)},Q.d=!1,L(RH,`TerminatableStream`,538),q(768,538,Ldt,Sge),Q.Ye=function(){aT(this)},L(RH,`DoubleStreamImpl`,768),q(1297,724,hV,Hbe),Q.Pe=function(e){return vYe(this,P(e,189))},Q.a=null,L(RH,`DoubleStreamImpl/2`,1297),q(1298,1,EH,zee),Q.Ne=function(e){Ife(this.a,e)},L(RH,`DoubleStreamImpl/2/lambda$0$Type`,1298),q(1295,1,EH,Bee),Q.Ne=function(e){Ffe(this.a,e)},L(RH,`DoubleStreamImpl/lambda$0$Type`,1295),q(1296,1,EH,Vee),Q.Ne=function(e){LKe(this.a,e)},L(RH,`DoubleStreamImpl/lambda$2$Type`,1296),q(1351,723,hV,uNe),Q.Pe=function(e){return VAe(this,P(e,202))},Q.a=0,Q.b=0,Q.c=0,L(RH,`IntStream/5`,1351),q(793,538,Ldt,Cge),Q.Ye=function(){aT(this)},Q.Ze=function(){return iT(this),this.a},L(RH,`IntStreamImpl`,793),q(794,538,Ldt,Tce),Q.Ye=function(){aT(this)},Q.Ze=function(){return iT(this),Lpe(),nxt},L(RH,`IntStreamImpl/Empty`,794),q(1651,1,_V,Tm),Q.Bd=function(e){EBe(this.a,e)},L(RH,`IntStreamImpl/lambda$4$Type`,1651);var bxt=yC(RH,`Stream`);q(28,538,{520:1,677:1,832:1},jC),Q.Ye=function(){aT(this)};var PY;L(RH,`StreamImpl`,28),q(1072,486,hV,O_e),Q.zd=function(e){for(;OFe(this);)if(this.a.zd(e))return!0;else aT(this.b),this.b=null,this.a=null;return!1},L(RH,`StreamImpl/1`,1072),q(1073,1,gV,Em),Q.Ad=function(e){qbe(this.a,P(e,832))},L(RH,`StreamImpl/1/lambda$0$Type`,1073),q(1074,1,PV,Hee),Q.Mb=function(e){return Tw(this.a,e)},L(RH,`StreamImpl/1methodref$add$Type`,1074),q(1075,486,hV,_Ee),Q.zd=function(e){var t;return this.a||=(t=new ah,this.b.a.Nb(new Dm(t)),KT(),Vb(t,this.c),new nD(t,16)),sLe(this.a,e)},Q.a=null,L(RH,`StreamImpl/5`,1075),q(1076,1,gV,Dm),Q.Ad=function(e){$b(this.a,e)},L(RH,`StreamImpl/5/2methodref$add$Type`,1076),q(725,486,hV,xFe),Q.zd=function(e){for(this.b=!1;!this.b&&this.c.zd(new Cle(this,e)););return this.b},Q.b=!1,L(RH,`StreamImpl/FilterSpliterator`,725),q(1066,1,gV,Cle),Q.Ad=function(e){pCe(this.a,this.b,e)},L(RH,`StreamImpl/FilterSpliterator/lambda$0$Type`,1066),q(1061,724,hV,VNe),Q.Pe=function(e){return B_e(this,P(e,189))},L(RH,`StreamImpl/MapToDoubleSpliterator`,1061),q(1065,1,gV,wle),Q.Ad=function(e){Rle(this.a,this.b,e)},L(RH,`StreamImpl/MapToDoubleSpliterator/lambda$0$Type`,1065),q(1060,723,hV,HNe),Q.Pe=function(e){return V_e(this,P(e,202))},L(RH,`StreamImpl/MapToIntSpliterator`,1060),q(1064,1,gV,Tle),Q.Ad=function(e){zle(this.a,this.b,e)},L(RH,`StreamImpl/MapToIntSpliterator/lambda$0$Type`,1064),q(722,486,hV,UNe),Q.zd=function(e){return H_e(this,e)},L(RH,`StreamImpl/MapToObjSpliterator`,722),q(1063,1,gV,Ele),Q.Ad=function(e){Ble(this.a,this.b,e)},L(RH,`StreamImpl/MapToObjSpliterator/lambda$0$Type`,1063),q(1062,486,hV,NRe),Q.zd=function(e){for(;dle(this.b,0);){if(!this.a.zd(new Oe))return!1;this.b=lP(this.b,1)}return this.a.zd(e)},Q.b=0,L(RH,`StreamImpl/SkipSpliterator`,1062),q(1067,1,gV,Oe),Q.Ad=function(e){},L(RH,`StreamImpl/SkipSpliterator/lambda$0$Type`,1067),q(617,1,gV,ke),Q.Ad=function(e){vp(this,e)},L(RH,`StreamImpl/ValueConsumer`,617),q(1068,1,gV,De),Q.Ad=function(e){M_()},L(RH,`StreamImpl/lambda$0$Type`,1068),q(1069,1,gV,je),Q.Ad=function(e){M_()},L(RH,`StreamImpl/lambda$1$Type`,1069),q(1070,1,{},Om),Q.Te=function(e,t){return ave(this.a,e,t)},L(RH,`StreamImpl/lambda$4$Type`,1070),q(1071,1,gV,Dle),Q.Ad=function(e){zge(this.b,this.a,e)},L(RH,`StreamImpl/lambda$5$Type`,1071),q(1077,1,gV,km),Q.Ad=function(e){XBe(this.a,P(e,375))},L(RH,`TerminatableStream/lambda$0$Type`,1077),q(2104,1,{}),q(1976,1,{},Me),L(`javaemul.internal`,`ConsoleLogger`,1976);var xxt=0;q(2096,1,{}),q(1800,1,gV,Ne),Q.Ad=function(e){P(e,321)},L(BH,`BowyerWatsonTriangulation/lambda$0$Type`,1800),q(1801,1,gV,Am),Q.Ad=function(e){bj(this.a,P(e,321).e)},L(BH,`BowyerWatsonTriangulation/lambda$1$Type`,1801),q(1802,1,gV,Pe),Q.Ad=function(e){P(e,177)},L(BH,`BowyerWatsonTriangulation/lambda$2$Type`,1802),q(1797,1,VH,jm),Q.Le=function(e,t){return qje(this.a,P(e,177),P(t,177))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(BH,`NaiveMinST/lambda$0$Type`,1797),q(440,1,{},Mm),L(BH,`NodeMicroLayout`,440),q(177,1,{177:1},dv),Q.Fb=function(e){var t;return M(e,177)?(t=P(e,177),xT(this.a,t.a)&&xT(this.b,t.b)||xT(this.a,t.b)&&xT(this.b,t.a)):!1},Q.Hb=function(){return jb(this.a)+jb(this.b)};var Sxt=L(BH,`TEdge`,177);q(321,1,{321:1},nit),Q.Fb=function(e){var t;return M(e,321)?(t=P(e,321),yk(this,t.a)&&yk(this,t.b)&&yk(this,t.c)):!1},Q.Hb=function(){return jb(this.a)+jb(this.b)+jb(this.c)},L(BH,`TTriangle`,321),q(225,1,{225:1},Gb),L(BH,`Tree`,225),q(1183,1,{},yOe),L(Hdt,`Scanline`,1183);var Cxt=yC(Hdt,Udt);q(1728,1,{},pLe),L(HH,`CGraph`,1728),q(320,1,{320:1},nOe),Q.b=0,Q.c=0,Q.d=0,Q.g=0,Q.i=0,Q.k=mH,L(HH,`CGroup`,320),q(814,1,{},bie),L(HH,`CGroup/CGroupBuilder`,814),q(60,1,{60:1},Xge),Q.Ib=function(){var e;return this.j?tS(this.j.Kb(this)):($x(FY),FY.o+`@`+(e=jx(this)>>>0,e.toString(16)))},Q.f=0,Q.i=mH;var FY=L(HH,`CNode`,60);q(813,1,{},xie),L(HH,`CNode/CNodeBuilder`,813);var wxt;q(1551,1,{},Fe),Q.df=function(e,t){return 0},Q.ef=function(e,t){return 0},L(HH,Gdt,1551),q(1830,1,{},Ie),Q.af=function(e){var t,n,i,a,o,s,c,l,u=pH,d,f,p,m,h,g;for(i=new E(e.a.b);i.a<i.c.c.length;)t=P(z(i),60),u=r.Math.min(u,t.a.j.d.c+t.b.a);for(m=new E_,s=new E(e.a.a);s.a<s.c.c.length;)o=P(z(s),320),o.k=u,o.g==0&&iO(m,o,m.c.b,m.c);for(;m.b!=0;){for(o=P(m.b==0?null:(Bx(m.b!=0),aA(m,m.a.a)),320),a=o.j.d.c,p=o.a.a.ec().Jc();p.Ob();)d=P(p.Pb(),60),g=o.k+d.b.a,!BUe(e,o,e.d)||d.d.c<g?d.i=g:d.i=d.d.c;for(a-=o.j.i,o.b+=a,e.d==(WN(),_8)||e.d==h8?o.c+=a:o.c-=a,f=o.a.a.ec().Jc();f.Ob();)for(d=P(f.Pb(),60),l=d.c.Jc();l.Ob();)c=P(l.Pb(),60),h=vb(e.d)?e.g.df(d,c):e.g.ef(d,c),c.a.k=r.Math.max(c.a.k,d.i+d.d.b+h-c.b.a),GEe(e,c,e.d)&&(c.a.k=r.Math.max(c.a.k,c.d.c-c.b.a)),--c.a.g,c.a.g==0&&pC(m,c.a)}for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),60),t.d.c=t.i},L(HH,`LongestPathCompaction`,1830),q(1726,1,{},l3e),Q.e=!1;var Txt,Ext,Dxt,Oxt=L(HH,Jdt,1726);q(1727,1,gV,Nm),Q.Ad=function(e){uVe(this.a,P(e,49))},L(HH,Ydt,1727),q(1831,1,{},He),Q.bf=function(e){var t,n,r,i,a,o,s;for(n=new E(e.a.b);n.a<n.c.c.length;)t=P(z(n),60),t.c.$b();for(i=new E(e.a.b);i.a<i.c.c.length;)for(r=P(z(i),60),o=new E(e.a.b);o.a<o.c.c.length;)a=P(z(o),60),r!=a&&(r.a&&r.a==a.a||(s=vb(e.d)?e.g.ef(r,a):e.g.df(r,a),(a.d.c>r.d.c||r.d.c==a.d.c&&r.d.b<a.d.b)&&eqe(a.d.d+a.d.a+s,r.d.d)&&tqe(a.d.d,r.d.d+r.d.a+s)&&r.c.Ec(a)))},L(HH,`QuadraticConstraintCalculation`,1831),q(516,1,{516:1},sh),Q.a=!1,Q.b=!1,Q.c=!1,Q.d=!1,L(HH,Xdt,516),q(804,1,{},jSe),Q.bf=function(e){this.c=e,ZL(this,new Ge)},L(HH,Zdt,804),q(1754,1,{683:1},ZEe),Q._e=function(e){u2e(this,P(e,463))},L(HH,Qdt,1754),q(1755,1,VH,Ue),Q.Le=function(e,t){return RTe(P(e,60),P(t,60))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(HH,$dt,1755),q(463,1,{463:1},Ale),Q.a=!1,L(HH,eft,463),q(1756,1,VH,We),Q.Le=function(e,t){return EZe(P(e,463),P(t,463))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(HH,tft,1756),q(1757,1,GH,Ge),Q.Lb=function(e){return P(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return P(e,60),!0},L(HH,`ScanlineConstraintCalculator/lambda$1$Type`,1757),q(217,1,{217:1},Ve),Q.Ib=function(){return`NEdge[id=`+this.b+` w=`+this.g+` d=`+this.a+`]`},Q.a=1,Q.b=0,Q.c=0,Q.f=!1,Q.g=0;var kxt=L(KH,`NEdge`,217);q(183,1,{},Mh),L(KH,`NEdge/NEdgeBuilder`,183),q(651,1,{},kh),L(KH,`NGraph`,651),q(124,1,{124:1},INe),Q.c=-1,Q.d=0,Q.e=0,Q.i=-1,Q.j=!1;var Axt=L(KH,`NNode`,124);q(795,1,kdt,yie),Q.Ic=function(e){dO(this,e)},Q.gd=function(e){pj(this,e)},Q.Lc=function(){return new nD(this,16)},Q.Mc=function(){return new jC(null,new nD(this,16))},Q._c=function(e,t){++this.b,BC(this.a,e,t)},Q.Ec=function(e){return Sx(this,e)},Q.ad=function(e,t){return++this.b,lUe(this.a,e,t)},Q.Fc=function(e){return++this.b,pM(this.a,e)},Q.$b=function(){++this.b,Ch(this.a.c,0)},Q.Gc=function(e){return vk(this.a,e,0)!=-1},Q.Hc=function(e){return mM(this.a,e)},Q.Xb=function(e){return AC(this.a,e)},Q.bd=function(e){return vk(this.a,e,0)},Q.dc=function(){return this.a.c.length==0},Q.Jc=function(){return ok(new E(this.a))},Q.cd=function(){throw D(new bh)},Q.dd=function(e){throw D(new bh)},Q.ed=function(e){return++this.b,MO(this.a,e)},Q.Kc=function(e){return zme(this,e)},Q.fd=function(e,t){return++this.b,fO(this.a,e,t)},Q.gc=function(){return this.a.c.length},Q.hd=function(e,t){return new QE(this.a,e,t)},Q.Nc=function(){return dC(this.a.c)},Q.Oc=function(e){return gF(this.a,e)},Q.b=0,L(KH,`NNode/ChangeAwareArrayList`,795),q(274,1,{},Ah),L(KH,`NNode/NNodeBuilder`,274),q(1660,1,{},Ke),Q.a=!1,Q.f=JB,Q.j=0,L(KH,`NetworkSimplex`,1660),q(1278,1,gV,Pm),Q.Ad=function(e){uct(this.a,P(e,685),!0,!1)},L(nft,`NodeLabelAndSizeCalculator/lambda$0$Type`,1278),q(554,1,{},Fm),Q.b=!0,Q.c=!0,Q.d=!0,Q.e=!0,L(nft,`NodeMarginCalculator`,554),q(216,1,{216:1}),Q.j=!1,Q.k=!1;var jxt=L(JH,`Cell`,216);q(127,216,{127:1,216:1},r_e),Q.ff=function(){return fC(this)},Q.gf=function(){var e=this.n;return this.a.a+e.b+e.c},L(JH,`AtomicCell`,127),q(237,23,{3:1,35:1,23:1,237:1},Ole);var IY,LY,RY,zY=FA(JH,`ContainerArea`,237,nY,ske,cve),Mxt;q(337,216,rft),L(JH,`ContainerCell`,337),q(1499,337,rft,jKe),Q.ff=function(){var e=0;return this.e?this.b?e=this.b.b:this.a[1][1]&&(e=this.a[1][1].ff()):e=zGe(this,qYe(this,!0)),e>0?e+this.n.d+this.n.a:0},Q.gf=function(){var e,t,n,i,a=0;if(this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].gf());else if(this.g)a=zGe(this,RI(this,null,!0));else for(t=(uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])),n=0,i=t.length;n<i;++n)e=t[n],a=r.Math.max(a,zGe(this,RI(this,e,!0)));return a>0?a+this.n.b+this.n.c:0},Q.hf=function(){var e,t,n,r,i;if(this.g)for(e=RI(this,null,!1),n=(uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])),r=0,i=n.length;r<i;++r)t=n[r],s9e(this,t,e);else for(n=(uA(),U(k(zY,1),Z,237,0,[IY,LY,RY])),r=0,i=n.length;r<i;++r)t=n[r],e=RI(this,t,!1),s9e(this,t,e)},Q.jf=function(){var e,t=this.i,n,i;e=this.n,i=qYe(this,!1),kNe(this,(uA(),IY),t.d+e.d,i),kNe(this,RY,t.d+t.a-e.a-i[2],i),n=t.a-e.d-e.a,i[0]>0&&(i[0]+=this.d,n-=i[0]),i[2]>0&&(i[2]+=this.d,n-=i[2]),this.c.a=r.Math.max(0,n),this.c.d=t.d+e.d+(this.c.a-n)/2,i[1]=r.Math.max(i[1],n),kNe(this,LY,t.d+e.d+i[0]-(i[1]-n)/2,i)},Q.b=null,Q.d=0,Q.e=!1,Q.f=!1,Q.g=!1;var Nxt=0,BY=0;L(JH,`GridContainerCell`,1499),q(461,23,{3:1,35:1,23:1,461:1},mv);var VY,HY,UY,Pxt=FA(JH,`HorizontalLabelAlignment`,461,nY,cke,dve),Fxt;q(318,216,{216:1,318:1},HDe,fLe,oDe),Q.ff=function(){return vxe(this)},Q.gf=function(){return yxe(this)},Q.a=0,Q.c=!1;var Ixt=L(JH,`LabelCell`,318);q(253,337,{216:1,337:1,253:1},mF),Q.ff=function(){return aR(this)},Q.gf=function(){return oR(this)},Q.hf=function(){Brt(this)},Q.jf=function(){Grt(this)},Q.b=0,Q.c=0,Q.d=!1,L(JH,`StripContainerCell`,253),q(1655,1,PV,Re),Q.Mb=function(e){return Xae(P(e,216))},L(JH,`StripContainerCell/lambda$0$Type`,1655),q(1656,1,{},ze),Q.We=function(e){return P(e,216).gf()},L(JH,`StripContainerCell/lambda$1$Type`,1656),q(1657,1,PV,Le),Q.Mb=function(e){return Zae(P(e,216))},L(JH,`StripContainerCell/lambda$2$Type`,1657),q(1658,1,{},Be),Q.We=function(e){return P(e,216).ff()},L(JH,`StripContainerCell/lambda$3$Type`,1658),q(462,23,{3:1,35:1,23:1,462:1},hv);var WY,GY,KY,Lxt=FA(JH,`VerticalLabelAlignment`,462,nY,lke,fve),Rxt;q(787,1,{},kct),Q.c=0,Q.d=0,Q.k=0,Q.s=0,Q.t=0,Q.v=!1,Q.w=0,Q.D=!1,Q.F=!1,L(QH,`NodeContext`,787),q(1497,1,VH,qe),Q.Le=function(e,t){return dfe(P(e,64),P(t,64))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(QH,`NodeContext/0methodref$comparePortSides$Type`,1497),q(1498,1,VH,Je),Q.Le=function(e,t){return J$e(P(e,115),P(t,115))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(QH,`NodeContext/1methodref$comparePortContexts$Type`,1498),q(168,23,{3:1,35:1,23:1,168:1},Tj);var zxt,Bxt,Vxt,Hxt,Uxt,Wxt,Gxt,Kxt,qxt,Jxt,Yxt,Xxt,Zxt,Qxt,$xt,eSt,tSt,nSt,rSt,iSt,aSt,oSt,sSt=FA(QH,`NodeLabelLocation`,168,nY,bF,pve),cSt;q(115,1,{115:1},S3e),Q.a=!1,L(QH,`PortContext`,115),q(1502,1,gV,Ye),Q.Ad=function(e){wse(P(e,318))},L(tU,sft,1502),q(1503,1,PV,Xe),Q.Mb=function(e){return!!P(e,115).c},L(tU,cft,1503),q(1504,1,gV,Ze),Q.Ad=function(e){wse(P(e,115).c)},L(tU,`LabelPlacer/lambda$2$Type`,1504);var lSt;q(1501,1,gV,Qe),Q.Ad=function(e){oS(),Zre(P(e,115))},L(tU,`NodeLabelAndSizeUtilities/lambda$0$Type`,1501),q(788,1,gV,ove),Q.Ad=function(e){Kce(this.b,this.c,this.a,P(e,187))},Q.a=!1,Q.c=!1,L(tU,`NodeLabelCellCreator/lambda$0$Type`,788),q(1500,1,gV,Uee),Q.Ad=function(e){fie(this.a,P(e,187))},L(tU,`PortContextCreator/lambda$0$Type`,1500);var qY;q(1872,1,{},$e),L(nU,`GreedyRectangleStripOverlapRemover`,1872),q(1873,1,VH,et),Q.Le=function(e,t){return Bme(P(e,226),P(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(nU,`GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type`,1873),q(1826,1,{},Oie),Q.a=5,Q.e=0,L(nU,`RectangleStripOverlapRemover`,1826),q(1827,1,VH,tt),Q.Le=function(e,t){return Vme(P(e,226),P(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(nU,`RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type`,1827),q(1829,1,VH,nt),Q.Le=function(e,t){return $Ce(P(e,226),P(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(nU,`RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type`,1829),q(409,23,{3:1,35:1,23:1,409:1},gv);var JY,YY,XY,ZY,uSt=FA(nU,`RectangleStripOverlapRemover/OverlapRemovalDirection`,409,nY,lje,mve),dSt;q(226,1,{226:1},MSe),L(nU,`RectangleStripOverlapRemover/RectangleNode`,226),q(1828,1,gV,Wee),Q.Ad=function(e){NYe(this.a,P(e,226))},L(nU,`RectangleStripOverlapRemover/lambda$1$Type`,1828);var fSt=!1,QY,pSt;q(1798,1,gV,rt),Q.Ad=function(e){Gat(P(e,225))},L(iU,`DepthFirstCompaction/0methodref$compactTree$Type`,1798),q(810,1,gV,Im),Q.Ad=function(e){STe(this.a,P(e,225))},L(iU,`DepthFirstCompaction/lambda$1$Type`,810),q(1799,1,gV,jye),Q.Ad=function(e){wqe(this.a,this.b,this.c,P(e,225))},L(iU,`DepthFirstCompaction/lambda$2$Type`,1799);var $Y,mSt;q(68,1,{68:1},xOe),L(iU,`Node`,68),q(1179,1,{},lpe),L(iU,`ScanlineOverlapCheck`,1179),q(1180,1,{683:1},$Ee),Q._e=function(e){sge(this,P(e,442))},L(iU,`ScanlineOverlapCheck/OverlapsScanlineHandler`,1180),q(1181,1,VH,it),Q.Le=function(e,t){return $We(P(e,68),P(t,68))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iU,`ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type`,1181),q(442,1,{442:1},jle),Q.a=!1,L(iU,`ScanlineOverlapCheck/Timestamp`,442),q(1182,1,VH,w),Q.Le=function(e,t){return DZe(P(e,442),P(t,442))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iU,`ScanlineOverlapCheck/lambda$0$Type`,1182),q(545,1,{},T),L(`org.eclipse.elk.alg.common.utils`,`SVGImage`,545),q(748,1,{},at),L(oU,dft,748),q(1164,1,VH,ot),Q.Le=function(e,t){return B4e(P(e,235),P(t,235))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oU,fft,1164),q(1165,1,gV,kle),Q.Ad=function(e){Ske(this.b,this.a,P(e,251))},L(oU,pft,1165),q(214,1,sU),L(cU,`AbstractLayoutProvider`,214),q(726,214,sU,Sie),Q.kf=function(e,t){H8e(this,e,t)},L(oU,`ForceLayoutProvider`,726);var hSt=yC(lU,mft);q(150,1,{3:1,105:1,150:1},st),Q.of=function(e,t){return OM(this,e,t)},Q.lf=function(){return tSe(this)},Q.mf=function(e){return K(this,e)},Q.nf=function(e){return Kx(this,e)},L(lU,`MapPropertyHolder`,150),q(313,150,{3:1,313:1,105:1,150:1}),L(uU,`FParticle`,313),q(251,313,{3:1,251:1,313:1,105:1,150:1},nwe),Q.Ib=function(){var e;return this.a?(e=vk(this.a.a,this,0),e>=0?`b`+e+`[`+XD(this.a)+`]`:`b[`+XD(this.a)+`]`):`b_`+jx(this)},L(uU,`FBendpoint`,251),q(291,150,{3:1,291:1,105:1,150:1},qge),Q.Ib=function(){return XD(this)},L(uU,`FEdge`,291),q(235,150,{3:1,235:1,105:1,150:1},FO);var gSt=L(uU,`FGraph`,235);q(445,313,{3:1,445:1,313:1,105:1,150:1},eMe),Q.Ib=function(){return this.b==null||this.b.length==0?`l[`+XD(this.a)+`]`:`l_`+this.b},L(uU,`FLabel`,445),q(155,313,{3:1,155:1,313:1,105:1,150:1},dpe),Q.Ib=function(){return Hke(this)},Q.a=0,L(uU,`FNode`,155),q(2062,1,{}),Q.qf=function(e){crt(this,e)},Q.rf=function(){GYe(this)},Q.d=0,L(gft,`AbstractForceModel`,2062),q(631,2062,{631:1},kBe),Q.pf=function(e,t){var n,i,a,o,s;return uot(this.f,e,t),a=TS(qb(t.d),e.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-rT(e.e)/2-rT(t.e)/2),n=t3e(this.e,e,t),o=n>0?-FCe(i,this.c)*n:_he(i,this.b)*P(K(e,(Mz(),iX)),15).a,nx(a,o/s),a},Q.qf=function(e){crt(this,e),this.a=P(K(e,(Mz(),rX)),15).a,this.c=O(N(K(e,oX))),this.b=O(N(K(e,aX)))},Q.sf=function(e){return e<this.a},Q.a=0,Q.b=0,Q.c=0,L(gft,`EadesModel`,631),q(632,2062,{632:1},fxe),Q.pf=function(e,t){var n,i,a,o,s;return uot(this.f,e,t),a=TS(qb(t.d),e.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-rT(e.e)/2-rT(t.e)/2),o=vhe(i,this.a)*P(K(e,(Mz(),iX)),15).a,n=t3e(this.e,e,t),n>0&&(o-=Rae(i,this.a)*n),nx(a,o*this.b/s),a},Q.qf=function(e){var t,n,i,a,o,s,c;for(crt(this,e),this.b=O(N(K(e,(Mz(),sX)))),this.c=this.b/P(K(e,rX),15).a,i=e.e.c.length,o=0,a=0,c=new E(e.e);c.a<c.c.c.length;)s=P(z(c),155),o+=s.e.a,a+=s.e.b;t=o*a,n=O(N(K(e,oX)))*eU,this.a=r.Math.sqrt(t/(2*i))*n},Q.rf=function(){GYe(this),this.b-=this.c},Q.sf=function(e){return this.b>0},Q.a=0,Q.b=0,Q.c=0,L(gft,`FruchtermanReingoldModel`,632);var eX=yC(dU,`ILayoutMetaDataProvider`);q(844,1,gU,Ad),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,fU),``),`Force Model`),`Determines the model for force calculation.`),ySt),(BL(),e6)),TSt),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,_ft),``),`Iterations`),`The number of iterations on the force model.`),G(300)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,vft),``),`Repulsive Power`),`Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model`),G(0)),n6),hY),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,pU),``),`FR Temperature`),`The temperature is used as a scaling factor for particle displacements.`),mU),$3),pY),gP(Y3)))),TD(e,pU,fU,wSt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,hU),``),`Eades Repulsion`),`Factor for repulsive forces in Eades' model.`),5),$3),pY),gP(Y3)))),TD(e,hU,fU,xSt),hlt((new jd,e))};var _St,vSt,ySt,bSt,xSt,SSt,CSt,wSt;L(_U,`ForceMetaDataProvider`,844),q(424,23,{3:1,35:1,23:1,424:1},Mle);var tX,nX,TSt=FA(_U,`ForceModelStrategy`,424,nY,SDe,gve),ESt;q(984,1,gU,jd),Q.tf=function(e){hlt(e)};var DSt,OSt,kSt,rX,ASt,jSt,MSt,NSt,PSt,FSt,ISt,LSt,RSt,zSt,iX,BSt,aX,VSt,HSt,USt,oX,sX,WSt,GSt,KSt,qSt,JSt;L(_U,`ForceOptions`,984),q(985,1,{},ct),Q.uf=function(){var e;return e=new Sie,e},Q.vf=function(e){},L(_U,`ForceOptions/ForceFactory`,985);var cX,lX,uX,dX;q(845,1,gU,Md),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,wft),``),`Fixed Position`),`Prevent that the node is moved by the layout algorithm.`),(mx(),!1)),(BL(),Q3)),uY),gP((CF(),J3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Tft),``),`Desired Edge Length`),`Either specified for parent nodes or for individual edges, where the latter takes higher precedence.`),100),$3),pY),zC(Y3,U(k(Z3,1),Z,160,0,[K3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Eft),``),`Layout Dimension`),`Dimensions that are permitted to be altered during layout.`),ZSt),e6),fCt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Dft),``),`Stress Epsilon`),`Termination criterion for the iterative process.`),mU),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Oft),``),`Iteration Limit`),`Maximum number of performed iterations. Takes higher precedence than 'epsilon'.`),G(JB)),n6),hY),gP(Y3)))),Cst((new Nd,e))};var YSt,XSt,ZSt,QSt,$St,eCt;L(_U,`StressMetaDataProvider`,845),q(988,1,gU,Nd),Q.tf=function(e){Cst(e)};var fX,tCt,nCt,rCt,iCt,aCt,oCt,sCt,cCt,lCt,uCt,dCt;L(_U,`StressOptions`,988),q(989,1,{},lt),Q.uf=function(){var e;return e=new Jge,e},Q.vf=function(e){},L(_U,`StressOptions/StressFactory`,989),q(1080,214,sU,Jge),Q.kf=function(e,t){var n,r,i,a,o;for(t.Tg(kft,1),hg(eS(J(e,(NI(),iCt))))?hg(eS(J(e,uCt)))||bE((n=new Mm((Q_(),new ng(e))),n)):H8e(new Sie,e,t.dh(1)),i=UVe(e),r=Urt(this.a,i),o=r.Jc();o.Ob();)a=P(o.Pb(),235),!(a.e.c.length<=1)&&(Eat(this.b,a),U6e(this.b),sA(a.d,new ut));i=clt(r),Glt(i),t.Ug()},L(HU,`StressLayoutProvider`,1080),q(1081,1,gV,ut),Q.Ad=function(e){kit(P(e,445))},L(HU,`StressLayoutProvider/lambda$0$Type`,1081),q(986,1,{},uie),Q.c=0,Q.e=0,Q.g=0,L(HU,`StressMajorization`,986),q(384,23,{3:1,35:1,23:1,384:1},vv);var pX,mX,hX,fCt=FA(HU,`StressMajorization/Dimension`,384,nY,oke,_ve),pCt;q(987,1,VH,Gee),Q.Le=function(e,t){return N_e(this.a,P(e,155),P(t,155))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(HU,`StressMajorization/lambda$0$Type`,987),q(1161,1,{},Qke),L(UU,`ElkLayered`,1161),q(1162,1,gV,Kee),Q.Ad=function(e){a4e(this.a,P(e,37))},L(UU,`ElkLayered/lambda$0$Type`,1162),q(1163,1,gV,qee),Q.Ad=function(e){z_e(this.a,P(e,37))},L(UU,`ElkLayered/lambda$1$Type`,1163),q(1246,1,{},cpe);var mCt,hCt,gCt;L(UU,`GraphConfigurator`,1246),q(757,1,gV,Jee),Q.Ad=function(e){q1e(this.a,P(e,9))},L(UU,`GraphConfigurator/lambda$0$Type`,757),q(758,1,{},dt),Q.Kb=function(e){return kZe(),new jC(null,new nD(P(e,25).a,16))},L(UU,`GraphConfigurator/lambda$1$Type`,758),q(759,1,gV,Lm),Q.Ad=function(e){q1e(this.a,P(e,9))},L(UU,`GraphConfigurator/lambda$2$Type`,759),q(1079,214,sU,Cie),Q.kf=function(e,t){var n=Wit(new Aie,e);j(J(e,(PB(),F1)))===j((nN(),N8))?gGe(this.a,n,t):L6e(this.a,n,t),t.Zg()||Ict(new Fd,n)},L(UU,`LayeredLayoutProvider`,1079),q(363,23,{3:1,35:1,23:1,363:1},yv);var gX,_X,vX,yX,bX,_Ct=FA(UU,`LayeredPhases`,363,nY,ZMe,vve),vCt;q(1683,1,{},IRe),Q.i=0;var yCt;L(WU,`ComponentsToCGraphTransformer`,1683);var bCt;q(1684,1,{},ft),Q.wf=function(e,t){return r.Math.min(e.a==null?e.c.i:O(e.a),t.a==null?t.c.i:O(t.a))},Q.xf=function(e,t){return r.Math.min(e.a==null?e.c.i:O(e.a),t.a==null?t.c.i:O(t.a))},L(WU,`ComponentsToCGraphTransformer/1`,1684),q(82,1,{82:1}),Q.i=0,Q.k=!0,Q.o=mH;var xX=L(GU,`CNode`,82);q(460,82,{460:1,82:1},Zme,kqe),Q.Ib=function(){return``},L(WU,`ComponentsToCGraphTransformer/CRectNode`,460),q(1652,1,{},pt);var SX,CX;L(WU,`OneDimensionalComponentsCompaction`,1652),q(1653,1,{},mt),Q.Kb=function(e){return mOe(P(e,49))},Q.Fb=function(e){return this===e},L(WU,`OneDimensionalComponentsCompaction/lambda$0$Type`,1653),q(1654,1,{},ht),Q.Kb=function(e){return EGe(P(e,49))},Q.Fb=function(e){return this===e},L(WU,`OneDimensionalComponentsCompaction/lambda$1$Type`,1654),q(1686,1,{},Fwe),L(GU,`CGraph`,1686),q(194,1,{194:1},pF),Q.b=0,Q.c=0,Q.e=0,Q.g=!0,Q.i=mH,L(GU,`CGroup`,194),q(1685,1,{},gt),Q.wf=function(e,t){return r.Math.max(e.a==null?e.c.i:O(e.a),t.a==null?t.c.i:O(t.a))},Q.xf=function(e,t){return r.Math.max(e.a==null?e.c.i:O(e.a),t.a==null?t.c.i:O(t.a))},L(GU,Gdt,1685),q(1687,1,{},c3e),Q.d=!1;var xCt,wX=L(GU,Jdt,1687);q(1688,1,{},_t),Q.Kb=function(e){return Bce(),mx(),P(P(e,49).a,82).d.e!=0},Q.Fb=function(e){return this===e},L(GU,Ydt,1688),q(817,1,{},Oxe),Q.a=!1,Q.b=!1,Q.c=!1,Q.d=!1,L(GU,Xdt,817),q(1868,1,{},ASe),L(KU,Zdt,1868);var TX=yC(qU,Udt);q(1869,1,{377:1},QEe),Q._e=function(e){n9e(this,P(e,465))},L(KU,Qdt,1869),q(1870,1,VH,vt),Q.Le=function(e,t){return zTe(P(e,82),P(t,82))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(KU,$dt,1870),q(465,1,{465:1},Nle),Q.a=!1,L(KU,eft,465),q(1871,1,VH,yt),Q.Le=function(e,t){return OZe(P(e,465),P(t,465))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(KU,tft,1871),q(146,1,{146:1},bv,Wbe),Q.Fb=function(e){var t;return e==null||SCt!=WM(e)?!1:(t=P(e,146),xT(this.c,t.c)&&xT(this.d,t.d))},Q.Hb=function(){return uN(U(k(ZJ,1),$B,1,5,[this.c,this.d]))},Q.Ib=function(){return`(`+this.c+QB+this.d+(this.a?`cx`:``)+this.b+`)`},Q.a=!0,Q.c=0,Q.d=0;var SCt=L(qU,`Point`,146);q(408,23,{3:1,35:1,23:1,408:1},xv);var EX,DX,OX,kX,CCt=FA(qU,`Point/Quadrant`,408,nY,uje,hve),wCt;q(1674,1,{},wie),Q.b=null,Q.c=null,Q.d=null,Q.e=null,Q.f=null;var TCt,ECt,DCt,OCt,kCt;L(qU,`RectilinearConvexHull`,1674),q(569,1,{377:1},NF),Q._e=function(e){SFe(this,P(e,146))},Q.b=0;var ACt;L(qU,`RectilinearConvexHull/MaximalElementsEventHandler`,569),q(1676,1,VH,bt),Q.Le=function(e,t){return LTe(N(e),N(t))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(qU,`RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type`,1676),q(1675,1,{377:1},qIe),Q._e=function(e){X5e(this,P(e,146))},Q.a=0,Q.b=null,Q.c=null,Q.d=null,Q.e=null,L(qU,`RectilinearConvexHull/RectangleEventHandler`,1675),q(1677,1,VH,xt),Q.Le=function(e,t){return Lke(P(e,146),P(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(qU,`RectilinearConvexHull/lambda$0$Type`,1677),q(1678,1,VH,St),Q.Le=function(e,t){return Rke(P(e,146),P(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(qU,`RectilinearConvexHull/lambda$1$Type`,1678),q(1679,1,VH,eee),Q.Le=function(e,t){return Bke(P(e,146),P(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(qU,`RectilinearConvexHull/lambda$2$Type`,1679),q(1680,1,VH,Ct),Q.Le=function(e,t){return zke(P(e,146),P(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(qU,`RectilinearConvexHull/lambda$3$Type`,1680),q(1681,1,VH,wt),Q.Le=function(e,t){return y1e(P(e,146),P(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(qU,`RectilinearConvexHull/lambda$4$Type`,1681),q(1682,1,{},bOe),L(qU,`Scanline`,1682),q(2066,1,{}),L(JU,`AbstractGraphPlacer`,2066),q(336,1,{336:1},mhe),Q.Df=function(e){return this.Ef(e)?(fR(this.b,P(K(e,(Y(),i$)),22),e),!0):!1},Q.Ef=function(e){var t=P(K(e,(Y(),i$)),22),n,r;for(r=P(DO(AX,t),22).Jc();r.Ob();)if(n=P(r.Pb(),22),!P(DO(this.b,n),16).dc())return!1;return!0};var AX;L(JU,`ComponentGroup`,336),q(766,2066,{},Eie),Q.Ff=function(e){var t,n;for(n=new E(this.a);n.a<n.c.c.length;)if(t=P(z(n),336),t.Df(e))return;$b(this.a,new mhe(e))},Q.Cf=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(this.a.c.length=0,t.a.c.length=0,e.dc()){t.f.a=0,t.f.b=0;return}for(o=P(e.Xb(0),37),Xj(t,o),i=e.Jc();i.Ob();)r=P(i.Pb(),37),this.Ff(r);for(m=new Xg,a=O(N(K(o,(PB(),v0)))),l=new E(this.a);l.a<l.c.c.length;)s=P(z(l),336),u=Jlt(s,a),$O(Gw(s.b),m.a,m.b),m.a+=u.a,m.b+=u.b;if(t.f.a=m.a-a,t.f.b=m.b-a,hg(eS(K(o,i1)))&&j(K(o,A1))===j((UN(),E8))){for(p=e.Jc();p.Ob();)d=P(p.Pb(),37),hz(d,d.c.a,d.c.b);for(n=new Tt,$lt(n,e,a),f=e.Jc();f.Ob();)d=P(f.Pb(),37),wS(nb(d.c),n.e);wS(nb(t.f),n.a)}for(c=new E(this.a);c.a<c.c.c.length;)s=P(z(c),336),pFe(t,Gw(s.b))},L(JU,`ComponentGroupGraphPlacer`,766),q(1276,766,{},zie),Q.Ff=function(e){lWe(this,e)},Q.Cf=function(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(this.a.c.length=0,t.a.c.length=0,e.dc()){t.f.a=0,t.f.b=0;return}for(s=P(e.Xb(0),37),Xj(t,s),a=e.Jc();a.Ob();)i=P(a.Pb(),37),lWe(this,i);for(b=new Xg,y=new Xg,g=new Xg,h=new Xg,o=O(N(K(s,(PB(),v0)))),u=new E(this.a);u.a<u.c.c.length;){if(c=P(z(u),336),vb(P(K(t,(LB(),D6)),86))){for(g.a=b.a,v=new qh(Ww(pwe(c.b).a).a.kc());v.b.Ob();)if(_=P(ov(v.b.Pb()),22),_.Gc((wB(),m5))){g.a=y.a;break}}else if(yb(P(K(t,D6),86))){for(g.b=b.b,v=new qh(Ww(pwe(c.b).a).a.kc());v.b.Ob();)if(_=P(ov(v.b.Pb()),22),_.Gc((wB(),N5))){g.b=y.b;break}}if(d=Jlt(P(c,565),o),$O(Gw(c.b),g.a,g.b),vb(P(K(t,D6),86))){for(y.a=g.a+d.a,h.a=r.Math.max(h.a,y.a),v=new qh(Ww(pwe(c.b).a).a.kc());v.b.Ob();)if(_=P(ov(v.b.Pb()),22),_.Gc((wB(),j5))){b.a=g.a+d.a;break}y.b=g.b+d.b,g.b=y.b,h.b=r.Math.max(h.b,g.b)}else if(yb(P(K(t,D6),86))){for(y.b=g.b+d.b,h.b=r.Math.max(h.b,y.b),v=new qh(Ww(pwe(c.b).a).a.kc());v.b.Ob();)if(_=P(ov(v.b.Pb()),22),_.Gc((wB(),p5))){b.b=g.b+d.b;break}y.a=g.a+d.a,g.a=y.a,h.a=r.Math.max(h.a,g.a)}}if(t.f.a=h.a-o,t.f.b=h.b-o,hg(eS(K(s,i1)))&&j(K(s,A1))===j((UN(),E8))){for(m=e.Jc();m.Ob();)f=P(m.Pb(),37),hz(f,f.c.a,f.c.b);for(n=new Tt,$lt(n,e,o),p=e.Jc();p.Ob();)f=P(p.Pb(),37),wS(nb(f.c),n.e);wS(nb(t.f),n.a)}for(l=new E(this.a);l.a<l.c.c.length;)c=P(z(l),336),pFe(t,Gw(c.b))},L(JU,`ComponentGroupModelOrderGraphPlacer`,1276),q(383,23,{3:1,35:1,23:1,383:1},Sv);var jX,jCt,MX,NX,MCt=FA(JU,`ComponentOrderingStrategy`,383,nY,fje,yve),NCt;q(648,1,{},Tt),L(JU,`ComponentsCompactor`,648),q(1494,13,Ddt,$Me),Q.Ec=function(e){return BI(this,P(e,146))},L(JU,`ComponentsCompactor/Hullpoints`,1494),q(1491,1,{839:1},MJe),Q.a=!1,L(JU,`ComponentsCompactor/InternalComponent`,1491),q(1490,1,bV,Die),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new E(this.a)},L(JU,`ComponentsCompactor/InternalConnectedComponents`,1490),q(1493,1,{591:1},h3e),Q.zf=function(){return null},Q.Af=function(){return this.a},Q.yf=function(){return SF(this.d)},Q.Bf=function(){return this.b},L(JU,`ComponentsCompactor/InternalExternalExtension`,1493),q(1492,1,{591:1},kie),Q.Af=function(){return this.a},Q.yf=function(){return SF(this.d)},Q.zf=function(){return this.c},Q.Bf=function(){return this.b},L(JU,`ComponentsCompactor/InternalUnionExternalExtension`,1492),q(1496,1,{},c9e),L(JU,`ComponentsCompactor/OuterSegments`,1496),q(1495,1,{},Tie),L(JU,`ComponentsCompactor/Segments`,1495),q(1247,1,{},LNe),L(JU,dft,1247),q(1248,1,VH,Et),Q.Le=function(e,t){return qke(P(e,37),P(t,37))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(JU,`ComponentsProcessor/lambda$0$Type`,1248),q(565,336,{336:1,565:1},QMe),Q.Df=function(e){return FHe(this,e)},Q.Ef=function(e){return B5e(this,e)};var PX;L(JU,`ModelOrderComponentGroup`,565),q(1274,2066,{},Dt),Q.Cf=function(e,t){var n,i,a,o,s,c,l,u,d,f,p;if(e.gc()==1){f=P(e.Xb(0),37),f!=t&&(t.a.c.length=0,Ftt(t,f,0,0),Xj(t,f),lEe(t.d,f.d),t.f.a=f.f.a,t.f.b=f.f.b);return}else if(e.dc()){t.a.c.length=0,t.f.a=0,t.f.b=0;return}for(this.Hf(e,t),a=P(e.Xb(0),37),t.a.c.length=0,Xj(t,a),u=0,p=0,s=e.Jc();s.Ob();)o=P(s.Pb(),37),d=o.f,u=r.Math.max(u,d.a),p+=d.a*d.b;if(u=r.Math.max(u,r.Math.sqrt(p)*O(N(K(t,(PB(),n1))))),i=O(N(K(t,v0))),this.Gf(e,t,u,i),hg(eS(K(a,i1)))){for(n=new Tt,$lt(n,e,i),l=e.Jc();l.Ob();)c=P(l.Pb(),37),wS(nb(c.c),n.e);wS(nb(t.f),n.a)}pFe(t,e)},Q.Gf=function(e,t,n,i){var a,o,s,c,l,u,d=0,f=0;for(c=0,a=i,s=e.Jc();s.Ob();)o=P(s.Pb(),37),u=o.f,d+u.a>n&&(d=0,f+=c+i,c=0),l=o.c,hz(o,d+l.a,f+l.b),nb(l),a=r.Math.max(a,d+u.a),c=r.Math.max(c,u.b),d+=u.a+i;t.f.a=a,t.f.b=f+c},Q.Hf=function(e,t){var n,r,i,a,o;if(j(K(t,(PB(),o1)))===j((dF(),NX))){for(r=e.Jc();r.Ob();){for(n=P(r.Pb(),37),o=0,a=new E(n.a);a.a<a.c.c.length;)i=P(z(a),9),o+=P(K(i,oAt),15).a;n.p=o}KT(),e.gd(new kt)}},L(JU,`SimpleRowGraphPlacer`,1274),q(1277,1274,{},Ot),Q.Gf=function(e,t,n,i){var a,o,s,c,l,u,d,f,p=0,m=0;for(c=0,a=i,l=null,f=0,s=e.Jc();s.Ob();)o=P(s.Pb(),37),d=o.f,(p+d.a>n&&!P(K(o,(Y(),i$)),22).Gc((wB(),m5))||l&&P(K(l,(Y(),i$)),22).Gc((wB(),p5))||P(K(o,(Y(),i$)),22).Gc((wB(),N5)))&&(p=f,m+=c+i,c=0),u=o.c,P(K(o,(Y(),i$)),22).Gc((wB(),m5))&&(p=a+i),hz(o,p+u.a,m+u.b),a=r.Math.max(a,p+d.a),P(K(o,i$),22).Gc(j5)&&(f=r.Math.max(f,p+d.a+i)),nb(u),c=r.Math.max(c,d.b),p+=d.a+i,l=o;t.f.a=a,t.f.b=m+c},Q.Hf=function(e,t){},L(JU,`ModelOrderRowGraphPlacer`,1277),q(1275,1,VH,kt),Q.Le=function(e,t){return qBe(P(e,37),P(t,37))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(JU,`SimpleRowGraphPlacer/1`,1275);var PCt;q(1245,1,GH,At),Q.Lb=function(e){var t;return t=P(K(P(e,250).b,(PB(),z1)),78),!!t&&t.b!=0},Q.Fb=function(e){return this===e},Q.Mb=function(e){var t;return t=P(K(P(e,250).b,(PB(),z1)),78),!!t&&t.b!=0},L(ZU,`CompoundGraphPostprocessor/1`,1245),q(1244,1,QU,jie),Q.If=function(e,t){BJe(this,P(e,37),t)},L(ZU,`CompoundGraphPreprocessor`,1244),q(444,1,{444:1},VWe),Q.c=!1,L(ZU,`CompoundGraphPreprocessor/ExternalPort`,444),q(250,1,{250:1},GS),Q.Ib=function(){return qx(this.c)+`:`+H4e(this.b)},L(ZU,`CrossHierarchyEdge`,250),q(764,1,VH,Rm),Q.Le=function(e,t){return PXe(this,P(e,250),P(t,250))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(ZU,`CrossHierarchyEdgeComparator`,764),q(246,150,{3:1,246:1,105:1,150:1}),Q.p=0,L($U,`LGraphElement`,246),q(17,246,{3:1,17:1,246:1,105:1,150:1},rE),Q.Ib=function(){return H4e(this)};var FX=L($U,`LEdge`,17);q(37,246,{3:1,20:1,37:1,246:1,105:1,150:1},LRe),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new E(this.b)},Q.Ib=function(){return this.b.c.length==0?`G-unlayered`+wL(this.a):this.a.c.length==0?`G-layered`+wL(this.b):`G[layerless`+wL(this.a)+`, layers`+wL(this.b)+`]`};var FCt=L($U,`LGraph`,37),ICt;q(655,1,{}),Q.Jf=function(){return this.e.n},Q.mf=function(e){return K(this.e,e)},Q.Kf=function(){return this.e.o},Q.Lf=function(){return this.e.p},Q.nf=function(e){return Kx(this.e,e)},Q.Mf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},Q.Nf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},Q.Of=function(e){this.e.p=e},L($U,`LGraphAdapters/AbstractLShapeAdapter`,655),q(464,1,{837:1},zm),Q.Pf=function(){var e,t;if(!this.b)for(this.b=Ix(this.a.b.c.length),t=new E(this.a.b);t.a<t.c.c.length;)e=P(z(t),70),$b(this.b,new th(e));return this.b},Q.b=null,L($U,`LGraphAdapters/LEdgeAdapter`,464),q(654,1,{},RT),Q.Qf=function(){var e,t,n,r,i,a;if(!this.b){for(this.b=new ah,r=new E(this.a.b);r.a<r.c.c.length;)for(n=P(z(r),25),a=new E(n.a);a.a<a.c.c.length;)if(i=P(z(a),9),this.c.Mb(i)&&($b(this.b,new WS(this,i,this.e)),this.d)){if(Kx(i,(Y(),G$)))for(t=P(K(i,G$),16).Jc();t.Ob();)e=P(t.Pb(),9),$b(this.b,new WS(this,e,!1));if(Kx(i,YQ))for(t=P(K(i,YQ),16).Jc();t.Ob();)e=P(t.Pb(),9),$b(this.b,new WS(this,e,!1))}}return this.b},Q.Jf=function(){throw D(new ug(Pft))},Q.mf=function(e){return K(this.a,e)},Q.Kf=function(){return this.a.f},Q.Lf=function(){return this.a.p},Q.nf=function(e){return Kx(this.a,e)},Q.Mf=function(e){throw D(new ug(Pft))},Q.Nf=function(e){this.a.f.a=e.a,this.a.f.b=e.b},Q.Of=function(e){this.a.p=e},Q.b=null,Q.d=!1,Q.e=!1,L($U,`LGraphAdapters/LGraphAdapter`,654),q(571,655,{187:1},th),L($U,`LGraphAdapters/LLabelAdapter`,571),q(570,655,{685:1},WS),Q.Rf=function(){return this.b},Q.Sf=function(){return KT(),KT(),EY},Q.Pf=function(){var e,t;if(!this.a)for(this.a=Ix(P(this.e,9).b.c.length),t=new E(P(this.e,9).b);t.a<t.c.c.length;)e=P(z(t),70),$b(this.a,new th(e));return this.a},Q.Tf=function(){var e=P(this.e,9).d;return new i_e(e.d,e.c,e.a,e.b)},Q.Uf=function(){return KT(),KT(),EY},Q.Vf=function(){var e,t;if(!this.c)for(this.c=Ix(P(this.e,9).j.c.length),t=new E(P(this.e,9).j);t.a<t.c.c.length;)e=P(z(t),12),$b(this.c,new Ple(e,this.d));return this.c},Q.Wf=function(){return hg(eS(K(P(this.e,9),(Y(),eEt))))},Q.Xf=function(e){P(this.e,9).d.b=e.b,P(this.e,9).d.d=e.d,P(this.e,9).d.c=e.c,P(this.e,9).d.a=e.a},Q.Yf=function(e){P(this.e,9).f.b=e.b,P(this.e,9).f.d=e.d,P(this.e,9).f.c=e.c,P(this.e,9).f.a=e.a},Q.Zf=function(){OLe(this,(V_(),ICt))},Q.a=null,Q.b=null,Q.c=null,Q.d=!1,L($U,`LGraphAdapters/LNodeAdapter`,570),q(1758,655,{836:1},Ple),Q.Sf=function(){var e,t,n,r,i,a,o,s;if(this.d&&P(this.e,12).i.k==(MR(),UX))return KT(),KT(),EY;if(!this.a){for(this.a=new ah,n=new E(P(this.e,12).e);n.a<n.c.c.length;)e=P(z(n),17),$b(this.a,new zm(e));if(this.d&&(r=P(K(P(this.e,12),(Y(),O$)),9),r))for(t=new XC(dx(uP(r).a.Jc(),new f));CR(t);)e=P(CO(t),17),$b(this.a,new zm(e));if(Kx(P(this.e,12).i,(Y(),F$))&&(o=P(K(P(this.e,12).i,F$),338),s=P(zk(o.e,this.e),113),s))for(a=new E(s.b);a.a<a.c.c.length;)i=P(z(a),341),$b(this.a,new zm(i.a))}return this.a},Q.Pf=function(){var e,t;if(!this.b)for(this.b=Ix(P(this.e,12).f.c.length),t=new E(P(this.e,12).f);t.a<t.c.c.length;)e=P(z(t),70),$b(this.b,new th(e));return this.b},Q.Uf=function(){var e,t,n,r,i,a,o,s;if(this.d&&P(this.e,12).i.k==(MR(),UX))return KT(),KT(),EY;if(!this.c){for(this.c=new ah,n=new E(P(this.e,12).g);n.a<n.c.c.length;)e=P(z(n),17),$b(this.c,new zm(e));if(this.d&&(r=P(K(P(this.e,12),(Y(),O$)),9),r))for(t=new XC(dx(fP(r).a.Jc(),new f));CR(t);)e=P(CO(t),17),$b(this.c,new zm(e));if(Kx(P(this.e,12).i,(Y(),F$))&&(o=P(K(P(this.e,12).i,F$),338),s=P(zk(o.e,this.e),113),s))for(a=new E(s.e);a.a<a.c.c.length;)i=P(z(a),341),$b(this.c,new zm(i.a))}return this.c},Q.$f=function(){return P(this.e,12).j},Q._f=function(){return hg(eS(K(P(this.e,12),(Y(),f$))))},Q.a=null,Q.b=null,Q.c=null,Q.d=!1,L($U,`LGraphAdapters/LPortAdapter`,1758),q(1759,1,VH,jt),Q.Le=function(e,t){return eet(P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L($U,`LGraphAdapters/PortComparator`,1759),q(805,1,PV,Mt),Q.Mb=function(e){return P(e,9),V_(),!0},L($U,`LGraphAdapters/lambda$0$Type`,805),q(397,246,{3:1,246:1,397:1,105:1,150:1}),L($U,`LShape`,397),q(70,397,{3:1,246:1,70:1,397:1,105:1,150:1},Foe,upe),Q.Ib=function(){var e=xxe(this);return e==null?`label`:`l_`+e},L($U,`LLabel`,70),q(213,1,{3:1,4:1,213:1,414:1}),Q.Fb=function(e){var t;return M(e,213)?(t=P(e,213),this.d==t.d&&this.a==t.a&&this.b==t.b&&this.c==t.c):!1},Q.Hb=function(){var e=ob(this.b)<<16,t;return e|=ob(this.a)&VV,t=ob(this.c)<<16,t|=ob(this.d)&VV,e^t},Q.ag=function(e){for(var t,n,r,i,a=0,o,s,c,l,u,d;a<e.length&&CUe((sD(a,e.length),e.charCodeAt(a)),Lft);)++a;for(t=e.length;t>0&&CUe((sD(t-1,e.length),e.charCodeAt(t-1)),Rft);)--t;if(a<t){u=Iz((YO(a,t,e.length),e.substr(a,t-a)),`,|;`);try{for(s=u,c=0,l=s.length;c<l;++c){if(o=s[c],i=Iz(o,`=`),i.length!=2)throw D(new sg(`Expecting a list of key-value pairs.`));r=qL(i[0]),d=OL(qL(i[1])),CS(r,`top`)?this.d=d:CS(r,`left`)?this.b=d:CS(r,`bottom`)?this.a=d:CS(r,`right`)&&(this.c=d)}}catch(e){throw e=hM(e),M(e,131)?(n=e,D(new sg(zft+n))):D(e)}}},Q.Ib=function(){return`[top=`+this.d+`,left=`+this.b+`,bottom=`+this.a+`,right=`+this.c+`]`},Q.a=0,Q.b=0,Q.c=0,Q.d=0,L(nW,`Spacing`,213),q(140,213,Bft,Nh,lfe,i_e,zS);var LCt=L(nW,`ElkMargin`,140);q(649,140,Bft,Ph),L($U,`LMargin`,649),q(9,397,{3:1,246:1,9:1,397:1,105:1,150:1},tI),Q.Ib=function(){return wJe(this)},Q.i=!1;var IX=L($U,`LNode`,9);q(249,23,{3:1,35:1,23:1,249:1},Cv);var LX,RX,zX,BX,VX,HX,UX,WX,GX=FA($U,`LNode/NodeType`,249,nY,gLe,bve),RCt;q(762,1,PV,Nt),Q.Mb=function(e){return hg(eS(K(P(e,70),(PB(),D1))))},L($U,`LNode/lambda$0$Type`,762),q(104,213,Vft,Fh,kb,Sve);var zCt=L(nW,`ElkPadding`,104);q(765,104,Vft,Iie),L($U,`LPadding`,765),q(12,397,{3:1,246:1,12:1,397:1,105:1,150:1},jL),Q.Ib=function(){var e=new Og,t,n;return Qy((e.a+=`p_`,e),CI(this)),this.i&&Qy(Zy((e.a+=`[`,e),this.i),`]`),this.e.c.length==1&&this.g.c.length==0&&P(AC(this.e,0),17).c!=this&&(t=P(AC(this.e,0),17).c,Qy((e.a+=` << `,e),CI(t)),Qy(Zy((e.a+=`[`,e),t.i),`]`)),this.e.c.length==0&&this.g.c.length==1&&P(AC(this.g,0),17).d!=this&&(n=P(AC(this.g,0),17).d,Qy((e.a+=` >> `,e),CI(n)),Qy(Zy((e.a+=`[`,e),n.i),`]`)),e.a},Q.c=!0,Q.d=!1;var BCt,VCt,HCt,UCt,WCt,GCt,KCt=L($U,`LPort`,12);q(399,1,bV,Bm),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new Vm(new E(this.a.e))},L($U,`LPort/1`,399),q(1273,1,aV,Vm),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return P(z(this.a),17).c},Q.Ob=function(){return Hb(this.a)},Q.Qb=function(){Ow(this.a)},L($U,`LPort/1/1`,1273),q(365,1,bV,Hm),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){var e;return e=new E(this.a.g),new Yee(e)},L($U,`LPort/2`,365),q(763,1,aV,Yee),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return P(z(this.a),17).d},Q.Ob=function(){return Hb(this.a)},Q.Qb=function(){Ow(this.a)},L($U,`LPort/2/1`,763),q(1266,1,bV,Fle),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new IO(this)},L($U,`LPort/CombineIter`,1266),q(207,1,aV,IO),Q.Nb=function(e){_w(this,e)},Q.Qb=function(){cse()},Q.Ob=function(){return Tx(this)},Q.Pb=function(){return Hb(this.a)?z(this.a):z(this.b)},L($U,`LPort/CombineIter/1`,207),q(1267,1,GH,Pt),Q.Lb=function(e){return lCe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return wj(),P(e,12).g.c.length!=0},L($U,`LPort/lambda$0$Type`,1267),q(1268,1,GH,Ft),Q.Lb=function(e){return uCe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return wj(),P(e,12).e.c.length!=0},L($U,`LPort/lambda$1$Type`,1268),q(1269,1,GH,It),Q.Lb=function(e){return wj(),P(e,12).j==(wB(),m5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return wj(),P(e,12).j==(wB(),m5)},L($U,`LPort/lambda$2$Type`,1269),q(1270,1,GH,Lt),Q.Lb=function(e){return wj(),P(e,12).j==(wB(),p5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return wj(),P(e,12).j==(wB(),p5)},L($U,`LPort/lambda$3$Type`,1270),q(1271,1,GH,Rt),Q.Lb=function(e){return wj(),P(e,12).j==(wB(),j5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return wj(),P(e,12).j==(wB(),j5)},L($U,`LPort/lambda$4$Type`,1271),q(1272,1,GH,tee),Q.Lb=function(e){return wj(),P(e,12).j==(wB(),N5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return wj(),P(e,12).j==(wB(),N5)},L($U,`LPort/lambda$5$Type`,1272),q(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},tT),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return new E(this.a)},Q.Ib=function(){return`L_`+vk(this.b.b,this,0)+wL(this.a)},L($U,`Layer`,25),q(1659,1,{},JPe),Q.b=0,L($U,`Tarjan`,1659),q(1282,1,{},Aie),L(rW,Hft,1282),q(1286,1,{},zt),Q.Kb=function(e){return cL(P(e,84))},L(rW,`ElkGraphImporter/0methodref$connectableShapeToNode$Type`,1286),q(1289,1,{},Bt),Q.Kb=function(e){return cL(P(e,84))},L(rW,`ElkGraphImporter/1methodref$connectableShapeToNode$Type`,1289),q(1283,1,gV,Xee),Q.Ad=function(e){T3e(this.a,P(e,125))},L(rW,pft,1283),q(1284,1,gV,Zee),Q.Ad=function(e){T3e(this.a,P(e,125))},L(rW,Uft,1284),q(1285,1,{},Ht),Q.Kb=function(e){return new jC(null,new nD(ATe(P(e,85)),16))},L(rW,Wft,1285),q(1287,1,PV,Qee),Q.Mb=function(e){return Nfe(this.a,P(e,26))},L(rW,Gft,1287),q(1288,1,{},Ut),Q.Kb=function(e){return new jC(null,new nD(kTe(P(e,85)),16))},L(rW,`ElkGraphImporter/lambda$5$Type`,1288),q(1290,1,PV,$ee),Q.Mb=function(e){return Pfe(this.a,P(e,26))},L(rW,`ElkGraphImporter/lambda$7$Type`,1290),q(1291,1,PV,nee),Q.Mb=function(e){return pEe(P(e,85))},L(rW,`ElkGraphImporter/lambda$8$Type`,1291),q(1261,1,{},Fd);var qCt;L(rW,`ElkGraphLayoutTransferrer`,1261),q(1262,1,PV,ete),Q.Mb=function(e){return s_e(this.a,P(e,17))},L(rW,`ElkGraphLayoutTransferrer/lambda$0$Type`,1262),q(1263,1,gV,tte),Q.Ad=function(e){H_(),$b(this.a,P(e,17))},L(rW,`ElkGraphLayoutTransferrer/lambda$1$Type`,1263),q(1264,1,PV,nte),Q.Mb=function(e){return lge(this.a,P(e,17))},L(rW,`ElkGraphLayoutTransferrer/lambda$2$Type`,1264),q(1265,1,gV,rte),Q.Ad=function(e){H_(),$b(this.a,P(e,17))},L(rW,`ElkGraphLayoutTransferrer/lambda$3$Type`,1265),q(806,1,{},Yge),L(iW,`BiLinkedHashMultiMap`,806),q(1511,1,QU,Wt),Q.If=function(e,t){Pze(P(e,37),t)},L(iW,`CommentNodeMarginCalculator`,1511),q(1512,1,{},Gt),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`CommentNodeMarginCalculator/lambda$0$Type`,1512),q(1513,1,gV,Kt),Q.Ad=function(e){Lit(P(e,9))},L(iW,`CommentNodeMarginCalculator/lambda$1$Type`,1513),q(1514,1,QU,Vt),Q.If=function(e,t){p9e(P(e,37),t)},L(iW,`CommentPostprocessor`,1514),q(1515,1,QU,ree),Q.If=function(e,t){xct(P(e,37),t)},L(iW,`CommentPreprocessor`,1515),q(1516,1,QU,qt),Q.If=function(e,t){s7e(P(e,37),t)},L(iW,`ConstraintsPostprocessor`,1516),q(1517,1,QU,Jt),Q.If=function(e,t){TBe(P(e,37),t)},L(iW,`EdgeAndLayerConstraintEdgeReverser`,1517),q(1518,1,QU,Yt),Q.If=function(e,t){pKe(P(e,37),t)},L(iW,`EndLabelPostprocessor`,1518),q(1519,1,{},Xt),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`EndLabelPostprocessor/lambda$0$Type`,1519),q(1520,1,PV,Zt),Q.Mb=function(e){return VMe(P(e,9))},L(iW,`EndLabelPostprocessor/lambda$1$Type`,1520),q(1521,1,gV,Qt),Q.Ad=function(e){AZe(P(e,9))},L(iW,`EndLabelPostprocessor/lambda$2$Type`,1521),q(1522,1,QU,$t),Q.If=function(e,t){m2e(P(e,37),t)},L(iW,`EndLabelPreprocessor`,1522),q(1523,1,{},en),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`EndLabelPreprocessor/lambda$0$Type`,1523),q(1524,1,gV,Mye),Q.Ad=function(e){qce(this.a,this.b,this.c,P(e,9))},Q.a=0,Q.b=0,Q.c=!1,L(iW,`EndLabelPreprocessor/lambda$1$Type`,1524),q(1525,1,PV,tn),Q.Mb=function(e){return j(K(P(e,70),(PB(),O1)))===j((dA(),T8))},L(iW,`EndLabelPreprocessor/lambda$2$Type`,1525),q(1526,1,gV,ite),Q.Ad=function(e){pC(this.a,P(e,70))},L(iW,`EndLabelPreprocessor/lambda$3$Type`,1526),q(1527,1,PV,nn),Q.Mb=function(e){return j(K(P(e,70),(PB(),O1)))===j((dA(),w8))},L(iW,`EndLabelPreprocessor/lambda$4$Type`,1527),q(1528,1,gV,ate),Q.Ad=function(e){pC(this.a,P(e,70))},L(iW,`EndLabelPreprocessor/lambda$5$Type`,1528),q(1576,1,QU,Id),Q.If=function(e,t){KWe(P(e,37),t)};var JCt;L(iW,`EndLabelSorter`,1576),q(1577,1,VH,rn),Q.Le=function(e,t){return Fqe(P(e,455),P(t,455))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`EndLabelSorter/1`,1577),q(455,1,{455:1},EEe),L(iW,`EndLabelSorter/LabelGroup`,455),q(1578,1,{},an),Q.Kb=function(e){return B_(),new jC(null,new nD(P(e,25).a,16))},L(iW,`EndLabelSorter/lambda$0$Type`,1578),q(1579,1,PV,iee),Q.Mb=function(e){return B_(),P(e,9).k==(MR(),HX)},L(iW,`EndLabelSorter/lambda$1$Type`,1579),q(1580,1,gV,on),Q.Ad=function(e){J1e(P(e,9))},L(iW,`EndLabelSorter/lambda$2$Type`,1580),q(1581,1,PV,sn),Q.Mb=function(e){return B_(),j(K(P(e,70),(PB(),O1)))===j((dA(),w8))},L(iW,`EndLabelSorter/lambda$3$Type`,1581),q(1582,1,PV,cn),Q.Mb=function(e){return B_(),j(K(P(e,70),(PB(),O1)))===j((dA(),T8))},L(iW,`EndLabelSorter/lambda$4$Type`,1582),q(1529,1,QU,ln),Q.If=function(e,t){pat(this,P(e,37))},Q.b=0,Q.c=0,L(iW,`FinalSplineBendpointsCalculator`,1529),q(1530,1,{},un),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`FinalSplineBendpointsCalculator/lambda$0$Type`,1530),q(1531,1,{},dn),Q.Kb=function(e){return new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(iW,`FinalSplineBendpointsCalculator/lambda$1$Type`,1531),q(1532,1,PV,fn),Q.Mb=function(e){return!xO(P(e,17))},L(iW,`FinalSplineBendpointsCalculator/lambda$2$Type`,1532),q(1533,1,PV,pn),Q.Mb=function(e){return Kx(P(e,17),(Y(),z$))},L(iW,`FinalSplineBendpointsCalculator/lambda$3$Type`,1533),q(1534,1,gV,ote),Q.Ad=function(e){Ytt(this.a,P(e,132))},L(iW,`FinalSplineBendpointsCalculator/lambda$4$Type`,1534),q(1535,1,gV,mn),Q.Ad=function(e){JL(P(e,17).a)},L(iW,`FinalSplineBendpointsCalculator/lambda$5$Type`,1535),q(790,1,QU,Um),Q.If=function(e,t){wot(this,P(e,37),t)},L(iW,`GraphTransformer`,790),q(502,23,{3:1,35:1,23:1,502:1},Ile);var KX,qX,YCt=FA(iW,`GraphTransformer/Mode`,502,nY,CDe,xve),XCt;q(1536,1,QU,hn),Q.If=function(e,t){Q8e(P(e,37),t)},L(iW,`HierarchicalNodeResizingProcessor`,1536),q(1537,1,QU,gn),Q.If=function(e,t){jRe(P(e,37),t)},L(iW,`HierarchicalPortConstraintProcessor`,1537),q(1538,1,VH,_n),Q.Le=function(e,t){return hJe(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`HierarchicalPortConstraintProcessor/NodeComparator`,1538),q(1539,1,QU,vn),Q.If=function(e,t){Art(P(e,37),t)},L(iW,`HierarchicalPortDummySizeProcessor`,1539),q(1540,1,QU,yn),Q.If=function(e,t){aet(this,P(e,37),t)},Q.a=0,L(iW,`HierarchicalPortOrthogonalEdgeRouter`,1540),q(1541,1,VH,bn),Q.Le=function(e,t){return Hme(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`HierarchicalPortOrthogonalEdgeRouter/1`,1541),q(1542,1,VH,xn),Q.Le=function(e,t){return NFe(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`HierarchicalPortOrthogonalEdgeRouter/2`,1542),q(1543,1,QU,Sn),Q.If=function(e,t){m1e(P(e,37),t)},L(iW,`HierarchicalPortPositionProcessor`,1543),q(1544,1,QU,Pd),Q.If=function(e,t){wlt(this,P(e,37))},Q.a=0,Q.c=0;var JX,YX;L(iW,`HighDegreeNodeLayeringProcessor`,1544),q(566,1,{566:1},Cn),Q.b=-1,Q.d=-1,L(iW,`HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation`,566),q(1545,1,{},wn),Q.Kb=function(e){return BS(),uP(P(e,9))},Q.Fb=function(e){return this===e},L(iW,`HighDegreeNodeLayeringProcessor/lambda$0$Type`,1545),q(1546,1,{},Tn),Q.Kb=function(e){return BS(),fP(P(e,9))},Q.Fb=function(e){return this===e},L(iW,`HighDegreeNodeLayeringProcessor/lambda$1$Type`,1546),q(1552,1,QU,En),Q.If=function(e,t){frt(this,P(e,37),t)},L(iW,`HyperedgeDummyMerger`,1552),q(791,1,{},Nye),Q.a=!1,Q.b=!1,Q.c=!1,L(iW,`HyperedgeDummyMerger/MergeState`,791),q(1553,1,{},Dn),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`HyperedgeDummyMerger/lambda$0$Type`,1553),q(1554,1,{},On),Q.Kb=function(e){return new jC(null,new nD(P(e,9).j,16))},L(iW,`HyperedgeDummyMerger/lambda$1$Type`,1554),q(1555,1,gV,kn),Q.Ad=function(e){P(e,12).p=-1},L(iW,`HyperedgeDummyMerger/lambda$2$Type`,1555),q(1556,1,QU,jn),Q.If=function(e,t){lrt(P(e,37),t)},L(iW,`HypernodesProcessor`,1556),q(1557,1,QU,Mn),Q.If=function(e,t){krt(P(e,37),t)},L(iW,`InLayerConstraintProcessor`,1557),q(1558,1,QU,Nn),Q.If=function(e,t){oBe(P(e,37),t)},L(iW,`InnermostNodeMarginCalculator`,1558),q(1559,1,QU,Pn),Q.If=function(e,t){_ct(this,P(e,37))},Q.a=mH,Q.b=mH,Q.c=pH,Q.d=pH;var ZCt=L(iW,`InteractiveExternalPortPositioner`,1559);q(1560,1,{},Fn),Q.Kb=function(e){return P(e,17).d.i},Q.Fb=function(e){return this===e},L(iW,`InteractiveExternalPortPositioner/lambda$0$Type`,1560),q(1561,1,{},ste),Q.Kb=function(e){return Ume(this.a,N(e))},Q.Fb=function(e){return this===e},L(iW,`InteractiveExternalPortPositioner/lambda$1$Type`,1561),q(1562,1,{},In),Q.Kb=function(e){return P(e,17).c.i},Q.Fb=function(e){return this===e},L(iW,`InteractiveExternalPortPositioner/lambda$2$Type`,1562),q(1563,1,{},cte),Q.Kb=function(e){return Wme(this.a,N(e))},Q.Fb=function(e){return this===e},L(iW,`InteractiveExternalPortPositioner/lambda$3$Type`,1563),q(1564,1,{},lte),Q.Kb=function(e){return a_e(this.a,N(e))},Q.Fb=function(e){return this===e},L(iW,`InteractiveExternalPortPositioner/lambda$4$Type`,1564),q(1565,1,{},ute),Q.Kb=function(e){return o_e(this.a,N(e))},Q.Fb=function(e){return this===e},L(iW,`InteractiveExternalPortPositioner/lambda$5$Type`,1565),q(79,23,{3:1,35:1,23:1,79:1,196:1},wv),Q.bg=function(){switch(this.g){case 15:return new ra;case 22:return new ia;case 48:return new sa;case 29:case 36:return new Kn;case 33:return new Wt;case 43:return new Vt;case 1:return new ree;case 42:return new qt;case 57:return new Um((sj(),qX));case 0:return new Um((sj(),KX));case 2:return new Jt;case 55:return new Yt;case 34:return new $t;case 52:return new ln;case 56:return new hn;case 13:return new gn;case 39:return new vn;case 45:return new yn;case 41:return new Sn;case 9:return new Pd;case 50:return new Xme;case 38:return new En;case 44:return new jn;case 28:return new Mn;case 31:return new Nn;case 3:return new Pn;case 18:return new An;case 30:return new Ln;case 5:return new Ld;case 51:return new Vn;case 35:return new Rd;case 37:return new qn;case 53:return new Id;case 11:return new Jn;case 7:return new zd;case 40:return new Yn;case 46:return new aee;case 16:return new oee;case 10:return new Uue;case 49:return new $n;case 21:return new er;case 23:return new eg((pN(),O2));case 8:return new nr;case 12:return new ir;case 4:return new ar;case 19:return new Bd;case 17:return new hr;case 54:return new gr;case 6:return new kr;case 25:return new Pie;case 26:return new ta;case 47:return new Sr;case 32:return new e_e;case 14:return new Lr;case 27:return new ma;case 20:return new Hr;case 24:return new eg((pN(),k2));default:throw D(new sg(aW+(this.f==null?``+this.g:this.f)))}};var QCt,$Ct,ewt,twt,nwt,rwt,iwt,awt,owt,swt,cwt,XX,ZX,QX,lwt,uwt,dwt,fwt,pwt,mwt,hwt,$X,gwt,_wt,vwt,ywt,bwt,eZ,tZ,nZ,xwt,rZ,iZ,aZ,oZ,sZ,cZ,Swt,lZ,uZ,Cwt,dZ,fZ,wwt,Twt,Ewt,Dwt,pZ,mZ,hZ,gZ,_Z,vZ,yZ,Owt,kwt,Awt,jwt,Mwt=FA(iW,oW,79,nY,n7e,Cve),Nwt;q(1566,1,QU,An),Q.If=function(e,t){mct(P(e,37),t)},L(iW,`InvertedPortProcessor`,1566),q(1567,1,QU,Ln),Q.If=function(e,t){Itt(P(e,37),t)},L(iW,`LabelAndNodeSizeProcessor`,1567),q(1568,1,PV,Rn),Q.Mb=function(e){return P(e,9).k==(MR(),HX)},L(iW,`LabelAndNodeSizeProcessor/lambda$0$Type`,1568),q(1569,1,PV,zn),Q.Mb=function(e){return P(e,9).k==(MR(),RX)},L(iW,`LabelAndNodeSizeProcessor/lambda$1$Type`,1569),q(1570,1,gV,Iye),Q.Ad=function(e){Jce(this.b,this.a,this.c,P(e,9))},Q.a=!1,Q.c=!1,L(iW,`LabelAndNodeSizeProcessor/lambda$2$Type`,1570),q(1571,1,QU,Ld),Q.If=function(e,t){Ist(P(e,37),t)};var Pwt;L(iW,`LabelDummyInserter`,1571),q(1572,1,GH,Bn),Q.Lb=function(e){return j(K(P(e,70),(PB(),O1)))===j((dA(),C8))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return j(K(P(e,70),(PB(),O1)))===j((dA(),C8))},L(iW,`LabelDummyInserter/1`,1572),q(1573,1,QU,Vn),Q.If=function(e,t){mst(P(e,37),t)},L(iW,`LabelDummyRemover`,1573),q(1574,1,PV,Hn),Q.Mb=function(e){return hg(eS(K(P(e,70),(PB(),D1))))},L(iW,`LabelDummyRemover/lambda$0$Type`,1574),q(1332,1,QU,Rd),Q.If=function(e,t){rst(this,P(e,37),t)},Q.a=null;var bZ;L(iW,`LabelDummySwitcher`,1332),q(294,1,{294:1},utt),Q.c=0,Q.d=null,Q.f=0,L(iW,`LabelDummySwitcher/LabelDummyInfo`,294),q(1333,1,{},Un),Q.Kb=function(e){return Sj(),new jC(null,new nD(P(e,25).a,16))},L(iW,`LabelDummySwitcher/lambda$0$Type`,1333),q(1334,1,PV,Wn),Q.Mb=function(e){return Sj(),P(e,9).k==(MR(),zX)},L(iW,`LabelDummySwitcher/lambda$1$Type`,1334),q(1335,1,{},dte),Q.Kb=function(e){return uge(this.a,P(e,9))},L(iW,`LabelDummySwitcher/lambda$2$Type`,1335),q(1336,1,gV,fte),Q.Ad=function(e){Twe(this.a,P(e,294))},L(iW,`LabelDummySwitcher/lambda$3$Type`,1336),q(1337,1,VH,Gn),Q.Le=function(e,t){return dCe(P(e,294),P(t,294))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`LabelDummySwitcher/lambda$4$Type`,1337),q(789,1,QU,Kn),Q.If=function(e,t){GPe(P(e,37),t)},L(iW,`LabelManagementProcessor`,789),q(1575,1,QU,qn),Q.If=function(e,t){q7e(P(e,37),t)},L(iW,`LabelSideSelector`,1575),q(1583,1,QU,Jn),Q.If=function(e,t){sit(P(e,37),t)},L(iW,`LayerConstraintPostprocessor`,1583),q(1584,1,QU,zd),Q.If=function(e,t){p6e(P(e,37),t)};var Fwt;L(iW,`LayerConstraintPreprocessor`,1584),q(367,23,{3:1,35:1,23:1,367:1},Tv);var xZ,SZ,CZ,wZ,Iwt=FA(iW,`LayerConstraintPreprocessor/HiddenNodeConnections`,367,nY,pje,cye),Lwt;q(1585,1,QU,Yn),Q.If=function(e,t){lot(P(e,37),t)},L(iW,`LayerSizeAndGraphHeightCalculator`,1585),q(1586,1,QU,aee),Q.If=function(e,t){$8e(P(e,37),t)},L(iW,`LongEdgeJoiner`,1586),q(1587,1,QU,oee),Q.If=function(e,t){Mat(P(e,37),t)},L(iW,`LongEdgeSplitter`,1587),q(1588,1,QU,Uue),Q.If=function(e,t){$st(this,P(e,37),t)},Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0;var Rwt,zwt;L(iW,`NodePromotion`,1588),q(1589,1,VH,Xn),Q.Le=function(e,t){return IHe(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`NodePromotion/1`,1589),q(1590,1,VH,Zn),Q.Le=function(e,t){return LHe(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`NodePromotion/2`,1590),q(1591,1,{},Qn),Q.Kb=function(e){return P(e,49),VS(),mx(),!0},Q.Fb=function(e){return this===e},L(iW,`NodePromotion/lambda$0$Type`,1591),q(1592,1,{},pte),Q.Kb=function(e){return pOe(this.a,P(e,49))},Q.Fb=function(e){return this===e},Q.a=0,L(iW,`NodePromotion/lambda$1$Type`,1592),q(1593,1,{},mte),Q.Kb=function(e){return fOe(this.a,P(e,49))},Q.Fb=function(e){return this===e},Q.a=0,L(iW,`NodePromotion/lambda$2$Type`,1593),q(1594,1,QU,$n),Q.If=function(e,t){ult(P(e,37),t)},L(iW,`NorthSouthPortPostprocessor`,1594),q(1595,1,QU,er),Q.If=function(e,t){xlt(P(e,37),t)},L(iW,`NorthSouthPortPreprocessor`,1595),q(1596,1,VH,tr),Q.Le=function(e,t){return QBe(P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`NorthSouthPortPreprocessor/lambda$0$Type`,1596),q(1597,1,QU,nr),Q.If=function(e,t){Int(P(e,37),t)},L(iW,`PartitionMidprocessor`,1597),q(1598,1,PV,rr),Q.Mb=function(e){return Kx(P(e,9),(PB(),o0))},L(iW,`PartitionMidprocessor/lambda$0$Type`,1598),q(1599,1,gV,hte),Q.Ad=function(e){fEe(this.a,P(e,9))},L(iW,`PartitionMidprocessor/lambda$1$Type`,1599),q(1600,1,QU,ir),Q.If=function(e,t){k5e(P(e,37),t)},L(iW,`PartitionPostprocessor`,1600),q(1601,1,QU,ar),Q.If=function(e,t){ctt(P(e,37),t)},L(iW,`PartitionPreprocessor`,1601),q(1602,1,PV,or),Q.Mb=function(e){return Kx(P(e,9),(PB(),o0))},L(iW,`PartitionPreprocessor/lambda$0$Type`,1602),q(1603,1,PV,sr),Q.Mb=function(e){return Kx(P(e,9),(PB(),o0))},L(iW,`PartitionPreprocessor/lambda$1$Type`,1603),q(1604,1,{},cr),Q.Kb=function(e){return new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(iW,`PartitionPreprocessor/lambda$2$Type`,1604),q(1605,1,PV,gte),Q.Mb=function(e){return _se(this.a,P(e,17))},L(iW,`PartitionPreprocessor/lambda$3$Type`,1605),q(1606,1,gV,lr),Q.Ad=function(e){OVe(P(e,17))},L(iW,`PartitionPreprocessor/lambda$4$Type`,1606),q(1607,1,PV,_te),Q.Mb=function(e){return Dwe(this.a,P(e,9))},Q.a=0,L(iW,`PartitionPreprocessor/lambda$5$Type`,1607),q(1608,1,QU,Bd),Q.If=function(e,t){unt(P(e,37),t)};var Bwt,Vwt,Hwt,Uwt,Wwt,Gwt;L(iW,`PortListSorter`,1608),q(1609,1,{},ur),Q.Kb=function(e){return IM(),P(e,12).e},L(iW,`PortListSorter/lambda$0$Type`,1609),q(1610,1,{},dr),Q.Kb=function(e){return IM(),P(e,12).g},L(iW,`PortListSorter/lambda$1$Type`,1610),q(1611,1,VH,fr),Q.Le=function(e,t){return cMe(P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`PortListSorter/lambda$2$Type`,1611),q(1612,1,VH,pr),Q.Le=function(e,t){return _Xe(P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`PortListSorter/lambda$3$Type`,1612),q(1613,1,VH,mr),Q.Le=function(e,t){return ert(P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`PortListSorter/lambda$4$Type`,1613),q(1614,1,QU,hr),Q.If=function(e,t){T6e(P(e,37),t)},L(iW,`PortSideProcessor`,1614),q(1615,1,QU,gr),Q.If=function(e,t){Let(P(e,37),t)},L(iW,`ReversedEdgeRestorer`,1615),q(1620,1,QU,Pie),Q.If=function(e,t){RYe(this,P(e,37),t)},L(iW,`SelfLoopPortRestorer`,1620),q(1621,1,{},_r),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`SelfLoopPortRestorer/lambda$0$Type`,1621),q(1622,1,PV,vr),Q.Mb=function(e){return P(e,9).k==(MR(),HX)},L(iW,`SelfLoopPortRestorer/lambda$1$Type`,1622),q(1623,1,PV,yr),Q.Mb=function(e){return Kx(P(e,9),(Y(),F$))},L(iW,`SelfLoopPortRestorer/lambda$2$Type`,1623),q(1624,1,{},br),Q.Kb=function(e){return P(K(P(e,9),(Y(),F$)),338)},L(iW,`SelfLoopPortRestorer/lambda$3$Type`,1624),q(1625,1,gV,vte),Q.Ad=function(e){h0e(this.a,P(e,338))},L(iW,`SelfLoopPortRestorer/lambda$4$Type`,1625),q(792,1,gV,xr),Q.Ad=function(e){P0e(P(e,107))},L(iW,`SelfLoopPortRestorer/lambda$5$Type`,792),q(1627,1,QU,Sr),Q.If=function(e,t){vJe(P(e,37),t)},L(iW,`SelfLoopPostProcessor`,1627),q(1628,1,{},Cr),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`SelfLoopPostProcessor/lambda$0$Type`,1628),q(1629,1,PV,wr),Q.Mb=function(e){return P(e,9).k==(MR(),HX)},L(iW,`SelfLoopPostProcessor/lambda$1$Type`,1629),q(1630,1,PV,Tr),Q.Mb=function(e){return Kx(P(e,9),(Y(),F$))},L(iW,`SelfLoopPostProcessor/lambda$2$Type`,1630),q(1631,1,gV,Er),Q.Ad=function(e){aQe(P(e,9))},L(iW,`SelfLoopPostProcessor/lambda$3$Type`,1631),q(1632,1,{},Dr),Q.Kb=function(e){return new jC(null,new nD(P(e,107).f,1))},L(iW,`SelfLoopPostProcessor/lambda$4$Type`,1632),q(1633,1,gV,yte),Q.Ad=function(e){oje(this.a,P(e,341))},L(iW,`SelfLoopPostProcessor/lambda$5$Type`,1633),q(1634,1,PV,Or),Q.Mb=function(e){return!!P(e,107).i},L(iW,`SelfLoopPostProcessor/lambda$6$Type`,1634),q(1635,1,gV,bte),Q.Ad=function(e){Iae(this.a,P(e,107))},L(iW,`SelfLoopPostProcessor/lambda$7$Type`,1635),q(1616,1,QU,kr),Q.If=function(e,t){O8e(P(e,37),t)},L(iW,`SelfLoopPreProcessor`,1616),q(1617,1,{},Ar),Q.Kb=function(e){return new jC(null,new nD(P(e,107).f,1))},L(iW,`SelfLoopPreProcessor/lambda$0$Type`,1617),q(1618,1,{},jr),Q.Kb=function(e){return P(e,341).a},L(iW,`SelfLoopPreProcessor/lambda$1$Type`,1618),q(1619,1,gV,Mr),Q.Ad=function(e){ape(P(e,17))},L(iW,`SelfLoopPreProcessor/lambda$2$Type`,1619),q(1636,1,QU,e_e),Q.If=function(e,t){B1e(this,P(e,37),t)},L(iW,`SelfLoopRouter`,1636),q(1637,1,{},Nr),Q.Kb=function(e){return new jC(null,new nD(P(e,25).a,16))},L(iW,`SelfLoopRouter/lambda$0$Type`,1637),q(1638,1,PV,Pr),Q.Mb=function(e){return P(e,9).k==(MR(),HX)},L(iW,`SelfLoopRouter/lambda$1$Type`,1638),q(1639,1,PV,Fr),Q.Mb=function(e){return Kx(P(e,9),(Y(),F$))},L(iW,`SelfLoopRouter/lambda$2$Type`,1639),q(1640,1,{},Ir),Q.Kb=function(e){return P(K(P(e,9),(Y(),F$)),338)},L(iW,`SelfLoopRouter/lambda$3$Type`,1640),q(1641,1,gV,Ule),Q.Ad=function(e){HTe(this.a,this.b,P(e,338))},L(iW,`SelfLoopRouter/lambda$4$Type`,1641),q(1642,1,QU,Lr),Q.If=function(e,t){D7e(P(e,37),t)},L(iW,`SemiInteractiveCrossMinProcessor`,1642),q(1643,1,PV,Rr),Q.Mb=function(e){return P(e,9).k==(MR(),HX)},L(iW,`SemiInteractiveCrossMinProcessor/lambda$0$Type`,1643),q(1644,1,PV,zr),Q.Mb=function(e){return tSe(P(e,9))._b((PB(),p0))},L(iW,`SemiInteractiveCrossMinProcessor/lambda$1$Type`,1644),q(1645,1,VH,Br),Q.Le=function(e,t){return _ze(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(iW,`SemiInteractiveCrossMinProcessor/lambda$2$Type`,1645),q(1646,1,{},Vr),Q.Te=function(e,t){return dEe(P(e,9),P(t,9))},L(iW,`SemiInteractiveCrossMinProcessor/lambda$3$Type`,1646),q(1648,1,QU,Hr),Q.If=function(e,t){jot(P(e,37),t)},L(iW,`SortByInputModelProcessor`,1648),q(1649,1,PV,Ur),Q.Mb=function(e){return P(e,12).g.c.length!=0},L(iW,`SortByInputModelProcessor/lambda$0$Type`,1649),q(1650,1,gV,xte),Q.Ad=function(e){W0e(this.a,P(e,12))},L(iW,`SortByInputModelProcessor/lambda$1$Type`,1650),q(1729,804,{},vze),Q.bf=function(e){var t,n,r,i;switch(this.c=e,this.a.g){case 2:t=new ah,P_(AT(new jC(null,new nD(this.c.a.b,16)),new ri),new Jle(this,t)),ZL(this,new Gr),sA(t,new Kr),t.c.length=0,P_(AT(new jC(null,new nD(this.c.a.b,16)),new qr),new Cte(t)),ZL(this,new Jr),sA(t,new Yr),t.c.length=0,n=npe(eBe(MT(new jC(null,new nD(this.c.a.b,16)),new wte(this))),new Xr),P_(new jC(null,new nD(this.c.a.a,16)),new Gle(n,t)),ZL(this,new Qr),sA(t,new $r),t.c.length=0;break;case 3:r=new ah,ZL(this,new Wr),i=npe(eBe(MT(new jC(null,new nD(this.c.a.b,16)),new Ste(this))),new Zr),P_(AT(new jC(null,new nD(this.c.a.b,16)),new ei),new qle(i,r)),ZL(this,new ti),sA(r,new ni),r.c.length=0;break;default:throw D(new lie)}},Q.b=0,L(cW,`EdgeAwareScanlineConstraintCalculation`,1729),q(1730,1,GH,Wr),Q.Lb=function(e){return M(P(e,60).g,156)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return M(P(e,60).g,156)},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$0$Type`,1730),q(1731,1,{},Ste),Q.We=function(e){return q2e(this.a,P(e,60))},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$1$Type`,1731),q(1739,1,FV,Wle),Q.be=function(){zI(this.a,this.b,-1)},Q.b=0,L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$10$Type`,1739),q(1741,1,GH,Gr),Q.Lb=function(e){return M(P(e,60).g,156)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return M(P(e,60).g,156)},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$11$Type`,1741),q(1742,1,gV,Kr),Q.Ad=function(e){P(e,375).be()},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$12$Type`,1742),q(1743,1,PV,qr),Q.Mb=function(e){return M(P(e,60).g,9)},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$13$Type`,1743),q(1745,1,gV,Cte),Q.Ad=function(e){DGe(this.a,P(e,60))},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$14$Type`,1745),q(1744,1,FV,Zle),Q.be=function(){zI(this.b,this.a,-1)},Q.a=0,L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$15$Type`,1744),q(1746,1,GH,Jr),Q.Lb=function(e){return M(P(e,60).g,9)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return M(P(e,60).g,9)},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$16$Type`,1746),q(1747,1,gV,Yr),Q.Ad=function(e){P(e,375).be()},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$17$Type`,1747),q(1748,1,{},wte),Q.We=function(e){return J2e(this.a,P(e,60))},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$18$Type`,1748),q(1749,1,{},Xr),Q.Ue=function(){return 0},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$19$Type`,1749),q(1732,1,{},Zr),Q.Ue=function(){return 0},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$2$Type`,1732),q(1751,1,gV,Gle),Q.Ad=function(e){zSe(this.a,this.b,P(e,320))},Q.a=0,L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$20$Type`,1751),q(1750,1,FV,Kle),Q.be=function(){R6e(this.a,this.b,-1)},Q.b=0,L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$21$Type`,1750),q(1752,1,GH,Qr),Q.Lb=function(e){return P(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return P(e,60),!0},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$22$Type`,1752),q(1753,1,gV,$r),Q.Ad=function(e){P(e,375).be()},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$23$Type`,1753),q(1733,1,PV,ei),Q.Mb=function(e){return M(P(e,60).g,9)},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$3$Type`,1733),q(1735,1,gV,qle),Q.Ad=function(e){BSe(this.a,this.b,P(e,60))},Q.a=0,L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$4$Type`,1735),q(1734,1,FV,Qle),Q.be=function(){zI(this.b,this.a,-1)},Q.a=0,L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$5$Type`,1734),q(1736,1,GH,ti),Q.Lb=function(e){return P(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return P(e,60),!0},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$6$Type`,1736),q(1737,1,gV,ni),Q.Ad=function(e){P(e,375).be()},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$7$Type`,1737),q(1738,1,PV,ri),Q.Mb=function(e){return M(P(e,60).g,156)},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$8$Type`,1738),q(1740,1,gV,Jle),Q.Ad=function(e){ALe(this.a,this.b,P(e,60))},L(cW,`EdgeAwareScanlineConstraintCalculation/lambda$9$Type`,1740),q(1547,1,QU,Xme),Q.If=function(e,t){Rat(this,P(e,37),t)};var Kwt;L(cW,`HorizontalGraphCompactor`,1547),q(1548,1,{},Tte),Q.df=function(e,t){var n,r,i;return pIe(e,t)||(n=iD(e),r=iD(t),n&&n.k==(MR(),RX)||r&&r.k==(MR(),RX))?0:(i=P(K(this.a.a,(Y(),I$)),316),qme(i,n?n.k:(MR(),BX),r?r.k:(MR(),BX)))},Q.ef=function(e,t){var n,r,i;return pIe(e,t)?1:(n=iD(e),r=iD(t),i=P(K(this.a.a,(Y(),I$)),316),Jme(i,n?n.k:(MR(),BX),r?r.k:(MR(),BX)))},L(cW,`HorizontalGraphCompactor/1`,1548),q(1549,1,{},ii),Q.cf=function(e,t){return U_(),e.a.i==0},L(cW,`HorizontalGraphCompactor/lambda$0$Type`,1549),q(1550,1,{},Ete),Q.cf=function(e,t){return mEe(this.a,e,t)},L(cW,`HorizontalGraphCompactor/lambda$1$Type`,1550),q(1696,1,{},_Ie);var qwt,Jwt;L(cW,`LGraphToCGraphTransformer`,1696),q(1704,1,PV,ai),Q.Mb=function(e){return e!=null},L(cW,`LGraphToCGraphTransformer/0methodref$nonNull$Type`,1704),q(1697,1,{},oi),Q.Kb=function(e){return HS(),EP(K(P(P(e,60).g,9),(Y(),T$)))},L(cW,`LGraphToCGraphTransformer/lambda$0$Type`,1697),q(1698,1,{},si),Q.Kb=function(e){return HS(),dWe(P(P(e,60).g,156))},L(cW,`LGraphToCGraphTransformer/lambda$1$Type`,1698),q(1707,1,PV,ci),Q.Mb=function(e){return HS(),M(P(e,60).g,9)},L(cW,`LGraphToCGraphTransformer/lambda$10$Type`,1707),q(1708,1,gV,li),Q.Ad=function(e){VTe(P(e,60))},L(cW,`LGraphToCGraphTransformer/lambda$11$Type`,1708),q(1709,1,PV,ui),Q.Mb=function(e){return HS(),M(P(e,60).g,156)},L(cW,`LGraphToCGraphTransformer/lambda$12$Type`,1709),q(1713,1,gV,di),Q.Ad=function(e){uWe(P(e,60))},L(cW,`LGraphToCGraphTransformer/lambda$13$Type`,1713),q(1710,1,gV,Dte),Q.Ad=function(e){hfe(this.a,P(e,8))},Q.a=0,L(cW,`LGraphToCGraphTransformer/lambda$14$Type`,1710),q(1711,1,gV,Ote),Q.Ad=function(e){_fe(this.a,P(e,119))},Q.a=0,L(cW,`LGraphToCGraphTransformer/lambda$15$Type`,1711),q(1712,1,gV,kte),Q.Ad=function(e){gfe(this.a,P(e,8))},Q.a=0,L(cW,`LGraphToCGraphTransformer/lambda$16$Type`,1712),q(1714,1,{},fi),Q.Kb=function(e){return HS(),new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(cW,`LGraphToCGraphTransformer/lambda$17$Type`,1714),q(1715,1,PV,see),Q.Mb=function(e){return HS(),xO(P(e,17))},L(cW,`LGraphToCGraphTransformer/lambda$18$Type`,1715),q(1716,1,gV,Ate),Q.Ad=function(e){jIe(this.a,P(e,17))},L(cW,`LGraphToCGraphTransformer/lambda$19$Type`,1716),q(1700,1,gV,jte),Q.Ad=function(e){Kke(this.a,P(e,156))},L(cW,`LGraphToCGraphTransformer/lambda$2$Type`,1700),q(1717,1,{},pi),Q.Kb=function(e){return HS(),new jC(null,new nD(P(e,25).a,16))},L(cW,`LGraphToCGraphTransformer/lambda$20$Type`,1717),q(1718,1,{},mi),Q.Kb=function(e){return HS(),new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(cW,`LGraphToCGraphTransformer/lambda$21$Type`,1718),q(1719,1,{},hi),Q.Kb=function(e){return HS(),P(K(P(e,17),(Y(),z$)),16)},L(cW,`LGraphToCGraphTransformer/lambda$22$Type`,1719),q(1720,1,PV,gi),Q.Mb=function(e){return Yme(P(e,16))},L(cW,`LGraphToCGraphTransformer/lambda$23$Type`,1720),q(1721,1,gV,Mte),Q.Ad=function(e){Y2e(this.a,P(e,16))},L(cW,`LGraphToCGraphTransformer/lambda$24$Type`,1721),q(1722,1,{},_i),Q.Kb=function(e){return HS(),new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(cW,`LGraphToCGraphTransformer/lambda$25$Type`,1722),q(1723,1,PV,vi),Q.Mb=function(e){return HS(),xO(P(e,17))},L(cW,`LGraphToCGraphTransformer/lambda$26$Type`,1723),q(1725,1,gV,Nte),Q.Ad=function(e){zRe(this.a,P(e,17))},L(cW,`LGraphToCGraphTransformer/lambda$27$Type`,1725),q(1724,1,gV,Pte),Q.Ad=function(e){joe(this.a,P(e,70))},Q.a=0,L(cW,`LGraphToCGraphTransformer/lambda$28$Type`,1724),q(1699,1,gV,Yle),Q.Ad=function(e){Jje(this.a,this.b,P(e,156))},L(cW,`LGraphToCGraphTransformer/lambda$3$Type`,1699),q(1701,1,{},yi),Q.Kb=function(e){return HS(),new jC(null,new nD(P(e,25).a,16))},L(cW,`LGraphToCGraphTransformer/lambda$4$Type`,1701),q(1702,1,{},bi),Q.Kb=function(e){return HS(),new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(cW,`LGraphToCGraphTransformer/lambda$5$Type`,1702),q(1703,1,{},xi),Q.Kb=function(e){return HS(),P(K(P(e,17),(Y(),z$)),16)},L(cW,`LGraphToCGraphTransformer/lambda$6$Type`,1703),q(1705,1,gV,Fte),Q.Ad=function(e){l4e(this.a,P(e,16))},L(cW,`LGraphToCGraphTransformer/lambda$8$Type`,1705),q(1706,1,gV,Xle),Q.Ad=function(e){ope(this.a,this.b,P(e,156))},L(cW,`LGraphToCGraphTransformer/lambda$9$Type`,1706),q(1695,1,{},Si),Q.af=function(e){var t,n,r,i,a;for(this.a=e,this.d=new kh,this.c=V(Axt,$B,124,this.a.a.a.c.length,0,1),this.b=0,n=new E(this.a.a.a);n.a<n.c.c.length;)t=P(z(n),320),t.d=this.b,a=bx(z_(new Ah,t),this.d),this.c[this.b]=a,++this.b;for(kst(this),Yct(this),D5e(this),Jtt(RS(this.d),new Uh),i=new E(this.a.a.b);i.a<i.c.c.length;)r=P(z(i),60),r.d.c=this.c[r.a.d].e+r.b.a},Q.b=0,L(cW,`NetworkSimplexCompaction`,1695),q(156,1,{35:1,156:1},Wz),Q.Dd=function(e){return cLe(this,P(e,156))},Q.Ib=function(){return dWe(this)},L(cW,`VerticalSegment`,156),q(825,1,{},a$e),Q.c=0,Q.e=0,Q.i=0,L(lW,`BetweenLayerEdgeTwoNodeCrossingsCounter`,825),q(667,1,{667:1},lBe),Q.Ib=function(){return`AdjacencyList [node=`+this.d+`, adjacencies= `+this.a+`]`},Q.b=0,Q.c=0,Q.f=0,L(lW,`BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList`,667),q(295,1,{35:1,295:1},hhe),Q.Dd=function(e){return Cxe(this,P(e,295))},Q.Ib=function(){return`Adjacency [position=`+this.c+`, cardinality=`+this.a+`, currentCardinality=`+this.b+`]`},Q.a=0,Q.b=0,Q.c=0,L(lW,`BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency`,295),q(1988,1,{},N0e),Q.b=0,Q.e=!1,L(lW,`CrossingMatrixFiller`,1988);var Ywt=yC(uW,`IInitializable`);q(1846,1,dW,eue),Q.eg=function(e,t,n,r,i,a){},Q.gg=function(e,t,n){},Q.cg=function(){return this.c!=(pN(),O2)},Q.dg=function(){this.e=V(q9,JV,30,this.d,15,1)},Q.fg=function(e,t){t[e][0].c.p=e},Q.hg=function(e,t,n,r){++this.d},Q.ig=function(){return!0},Q.jg=function(e,t,n,r){return TUe(this,e,t,n),xMe(this,t)},Q.kg=function(e,t){var n=Woe(t,e.length);return TUe(this,e,n,t),GVe(this,n)},Q.d=0,L(lW,`GreedySwitchHeuristic`,1846),q(1991,1,{},_Se),Q.b=0,Q.d=0,L(lW,`NorthSouthEdgeNeighbouringNodeCrossingsCounter`,1991),q(1978,1,{},met),Q.a=!1,L(lW,`SwitchDecider`,1978),q(107,1,{107:1},a2e),Q.a=null,Q.c=null,Q.i=null,L(fW,`SelfHyperLoop`,107),q(1975,1,{},Uqe),Q.c=0,Q.e=0,L(fW,`SelfHyperLoopLabels`,1975),q(413,23,{3:1,35:1,23:1,413:1},Dv);var TZ,EZ,DZ,OZ,Xwt=FA(fW,`SelfHyperLoopLabels/Alignment`,413,nY,cje,Ove),Zwt;q(341,1,{341:1},zNe),L(fW,`SelfLoopEdge`,341),q(338,1,{338:1},Wqe),Q.a=!1,L(fW,`SelfLoopHolder`,338),q(1760,1,PV,Ci),Q.Mb=function(e){return xO(P(e,17))},L(fW,`SelfLoopHolder/lambda$0$Type`,1760),q(113,1,{113:1},rJe),Q.a=!1,Q.c=!1,L(fW,`SelfLoopPort`,113),q(1832,1,PV,wi),Q.Mb=function(e){return xO(P(e,17))},L(fW,`SelfLoopPort/lambda$0$Type`,1832),q(371,23,{3:1,35:1,23:1,371:1},Ov);var kZ,AZ,jZ,MZ,NZ,Qwt=FA(fW,`SelfLoopType`,371,nY,tNe,kve),$wt;q(1768,1,{},Vd);var eTt,tTt,nTt,rTt;L(pW,`PortRestorer`,1768),q(368,23,{3:1,35:1,23:1,368:1},Mv);var PZ,FZ,IZ,LZ=FA(pW,`PortRestorer/PortSideArea`,368,nY,qOe,Dve),iTt;q(1769,1,{},Ti),Q.Kb=function(e){return TL(),P(e,16).Mc()},L(pW,`PortRestorer/lambda$0$Type`,1769),q(1770,1,gV,Ei),Q.Ad=function(e){TL(),P(e,113).c=!1},L(pW,`PortRestorer/lambda$1$Type`,1770),q(1779,1,PV,Di),Q.Mb=function(e){return TL(),P(e,12).j==(wB(),N5)},L(pW,`PortRestorer/lambda$10$Type`,1779),q(1780,1,{},Oi),Q.Kb=function(e){return TL(),P(e,113).d},L(pW,`PortRestorer/lambda$11$Type`,1780),q(1781,1,gV,Ite),Q.Ad=function(e){Moe(this.a,P(e,12))},L(pW,`PortRestorer/lambda$12$Type`,1781),q(1771,1,gV,Lte),Q.Ad=function(e){The(this.a,P(e,107))},L(pW,`PortRestorer/lambda$2$Type`,1771),q(1772,1,VH,ki),Q.Le=function(e,t){return YLe(P(e,113),P(t,113))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(pW,`PortRestorer/lambda$3$Type`,1772),q(1773,1,PV,Ai),Q.Mb=function(e){return TL(),P(e,113).c},L(pW,`PortRestorer/lambda$4$Type`,1773),q(1774,1,PV,ji),Q.Mb=function(e){return gBe(P(e,12))},L(pW,`PortRestorer/lambda$5$Type`,1774),q(1775,1,PV,Mi),Q.Mb=function(e){return TL(),P(e,12).j==(wB(),m5)},L(pW,`PortRestorer/lambda$6$Type`,1775),q(1776,1,PV,Ni),Q.Mb=function(e){return TL(),P(e,12).j==(wB(),p5)},L(pW,`PortRestorer/lambda$7$Type`,1776),q(1777,1,PV,Pi),Q.Mb=function(e){return vje(P(e,12))},L(pW,`PortRestorer/lambda$8$Type`,1777),q(1778,1,PV,Fi),Q.Mb=function(e){return TL(),P(e,12).j==(wB(),j5)},L(pW,`PortRestorer/lambda$9$Type`,1778),q(275,23,{3:1,35:1,23:1,275:1},IT);var RZ,zZ,BZ,VZ,HZ,UZ,WZ,GZ,aTt=FA(pW,`PortSideAssigner/Target`,275,nY,yLe,Ave),oTt;q(1761,1,{},Li),Q.Kb=function(e){return AT(new jC(null,new nD(P(e,107).j,16)),new Ui)},L(pW,`PortSideAssigner/lambda$1$Type`,1761),q(1762,1,{},Ri),Q.Kb=function(e){return P(e,113).d},L(pW,`PortSideAssigner/lambda$2$Type`,1762),q(1763,1,gV,zi),Q.Ad=function(e){tR(P(e,12),(wB(),m5))},L(pW,`PortSideAssigner/lambda$3$Type`,1763),q(1764,1,{},Bi),Q.Kb=function(e){return P(e,113).d},L(pW,`PortSideAssigner/lambda$4$Type`,1764),q(1765,1,gV,Rte),Q.Ad=function(e){eie(this.a,P(e,12))},L(pW,`PortSideAssigner/lambda$5$Type`,1765),q(1766,1,VH,Vi),Q.Le=function(e,t){return qwe(P(e,107),P(t,107))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(pW,`PortSideAssigner/lambda$6$Type`,1766),q(1767,1,VH,Hi),Q.Le=function(e,t){return Qbe(P(e,113),P(t,113))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(pW,`PortSideAssigner/lambda$7$Type`,1767),q(807,1,PV,Ui),Q.Mb=function(e){return P(e,113).c},L(pW,`PortSideAssigner/lambda$8$Type`,807),q(2070,1,{}),L(mW,`AbstractSelfLoopRouter`,2070),q(1786,1,VH,Ii),Q.Le=function(e,t){return P_e(P(e,107),P(t,107))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(mW,sft,1786),q(1787,1,VH,Wi),Q.Le=function(e,t){return F_e(P(e,107),P(t,107))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(mW,cft,1787),q(1833,2070,{},Gi),Q.lg=function(e,t,n){return n},L(mW,`OrthogonalSelfLoopRouter`,1833),q(1835,1,gV,$le),Q.Ad=function(e){Tqe(this.b,this.a,P(e,8))},L(mW,`OrthogonalSelfLoopRouter/lambda$0$Type`,1835),q(1834,1833,{},Ki),Q.lg=function(e,t,n){var r=e.c.d,i;return Rx(n,0,wS(qb(r.n),r.a)),i=e.d.d,pC(n,wS(qb(i.n),i.a)),Ont(n)},L(mW,`PolylineSelfLoopRouter`,1834),q(1782,1,{},fee),Q.a=null;var KZ;L(mW,`RoutingDirector`,1782),q(1783,1,VH,qi),Q.Le=function(e,t){return Ybe(P(e,113),P(t,113))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(mW,`RoutingDirector/lambda$0$Type`,1783),q(1784,1,{},Ji),Q.Kb=function(e){return W_(),P(e,107).j},L(mW,`RoutingDirector/lambda$1$Type`,1784),q(1785,1,gV,Yi),Q.Ad=function(e){W_(),P(e,16).gd(KZ)},L(mW,`RoutingDirector/lambda$2$Type`,1785),q(1788,1,{},Xi),L(mW,`RoutingSlotAssigner`,1788),q(1789,1,PV,zte),Q.Mb=function(e){return Ade(this.a,P(e,107))},L(mW,`RoutingSlotAssigner/lambda$0$Type`,1789),q(1790,1,VH,Bte),Q.Le=function(e,t){return aSe(this.a,P(e,107),P(t,107))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(mW,`RoutingSlotAssigner/lambda$1$Type`,1790),q(1836,1833,{},Zi),Q.lg=function(e,t,n){var r=O(N(jF(e.b.g.b,(PB(),x0)))),i,a,o=new jhe(U(k(o6,1),X,8,0,[(a=e.c.d,wS(new mb(a.n),a.a))]));return I8e(e,t,n,o,r),pC(o,(i=e.d.d,wS(new mb(i.n),i.a))),dYe(new lit(o))},L(mW,`SplineSelfLoopRouter`,1836),q(512,1,VH,ZBe,JTe),Q.Le=function(e,t){return FB(this,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},Q.a=!1,L(hW,`ModelOrderNodeComparator`,512),q(1791,1,PV,Qi),Q.Mb=function(e){return P(e,12).e.c.length!=0},L(hW,`ModelOrderNodeComparator/lambda$0$Type`,1791),q(572,1,PV,$i),Q.Mb=function(e){return P(e,12).e.c.length!=0},L(hW,`ModelOrderNodeComparator/lambda$1$Type`,572),q(573,1,PV,ea),Q.Mb=function(e){return P(e,12).g.c.length!=0},L(hW,`ModelOrderNodeComparator/lambda$2$Type`,573),q(656,1,VH,TGe,bFe),Q.Le=function(e,t){return bCe(this,e,t)},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},Q.c=!1,L(hW,`ModelOrderPortComparator`,656),q(1626,1,QU,ta),Q.If=function(e,t){Qlt(P(e,37))},L(`org.eclipse.elk.alg.layered.intermediate.unzipping`,`AlternatingLayerUnzipper`,1626),q(802,1,{},na),Q.mg=function(e,t){var n,i,a=l0e(t),o;for(n=new ah,o=t.f/a,i=1;i<a;++i)$b(n,G(RC(Hj(r.Math.round(i*o)))));return n},Q.ng=function(){return!1},L(gW,`ARDCutIndexHeuristic`,802),q(1505,1,QU,ra),Q.If=function(e,t){xtt(P(e,37),t)},L(gW,`BreakingPointInserter`,1505),q(317,1,{317:1},$je),Q.Ib=function(){var e=new Og;return e.a+=`BPInfo[`,e.a+=`
start=`,Zy(e,this.i),e.a+=`
end=`,Zy(e,this.a),e.a+=`
nodeStartEdge=`,Zy(e,this.e),e.a+=`
startEndEdge=`,Zy(e,this.j),e.a+=`
originalEdge=`,Zy(e,this.f),e.a+=`
startInLayerDummy=`,Zy(e,this.k),e.a+=`
startInLayerEdge=`,Zy(e,this.n),e.a+=`
endInLayerDummy=`,Zy(e,this.b),e.a+=`
endInLayerEdge=`,Zy(e,this.c),e.a},L(gW,`BreakingPointInserter/BPInfo`,317),q(650,1,{650:1},Ute),Q.a=!1,Q.b=0,Q.c=0,L(gW,`BreakingPointInserter/Cut`,650),q(1506,1,QU,ia),Q.If=function(e,t){W8e(P(e,37),t)},L(gW,`BreakingPointProcessor`,1506),q(1507,1,PV,aa),Q.Mb=function(e){return aLe(P(e,9))},L(gW,`BreakingPointProcessor/0methodref$isEnd$Type`,1507),q(1508,1,PV,oa),Q.Mb=function(e){return oLe(P(e,9))},L(gW,`BreakingPointProcessor/1methodref$isStart$Type`,1508),q(1509,1,QU,sa),Q.If=function(e,t){T5e(this,P(e,37),t)},L(gW,`BreakingPointRemover`,1509),q(1510,1,gV,ca),Q.Ad=function(e){P(e,132).k=!0},L(gW,`BreakingPointRemover/lambda$0$Type`,1510),q(798,1,{},m6e),Q.b=0,Q.e=0,Q.f=0,Q.j=0,L(gW,`GraphStats`,798),q(799,1,{},la),Q.Te=function(e,t){return r.Math.max(O(N(e)),O(N(t)))},L(gW,`GraphStats/0methodref$max$Type`,799),q(800,1,{},ua),Q.Te=function(e,t){return r.Math.max(O(N(e)),O(N(t)))},L(gW,`GraphStats/2methodref$max$Type`,800),q(1692,1,{},da),Q.Te=function(e,t){return uye(N(e),N(t))},L(gW,`GraphStats/lambda$1$Type`,1692),q(1693,1,{},Vte),Q.Kb=function(e){return $qe(this.a,P(e,25))},L(gW,`GraphStats/lambda$2$Type`,1693),q(1694,1,{},Hte),Q.Kb=function(e){return g5e(this.a,P(e,25))},L(gW,`GraphStats/lambda$6$Type`,1694),q(801,1,{},fa),Q.mg=function(e,t){return P(K(e,(PB(),vAt)),16)||(KT(),KT(),EY)},Q.ng=function(){return!1},L(gW,`ICutIndexCalculator/ManualCutIndexCalculator`,801),q(803,1,{},pa),Q.mg=function(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x=(t.n??BYe(t),t.n);for(l=(t.d??BYe(t),t.d),b=V(Z9,yH,30,x.length,15,1),b[0]=x[0],v=x[0],u=1;u<x.length;u++)b[u]=b[u-1]+x[u],v+=x[u];for(a=l0e(t)-1,s=P(K(e,(PB(),yAt)),15).a,i=mH,n=new ah,p=r.Math.max(0,a-s);p<=r.Math.min(t.f-1,a+s);p++){if(g=v/(p+1),_=0,d=1,o=new ah,y=mH,f=0,c=0,h=l[0],p==0)y=v,c=(t.g??=qze(t,new ua),O(t.g));else{for(;d<t.f;)b[d-1]-_>=g&&($b(o,G(d)),y=r.Math.max(y,b[d-1]-f),c+=h,_+=b[d-1]-_,f=b[d-1],h=l[d]),h=r.Math.max(h,l[d]),++d;c+=h}m=r.Math.min(1/y,1/t.b/c),m>i&&(i=m,n=o)}return n},Q.ng=function(){return!1},L(gW,`MSDCutIndexHeuristic`,803),q(1647,1,QU,ma),Q.If=function(e,t){dit(P(e,37),t)},L(gW,`SingleEdgeGraphWrapper`,1647),q(231,23,{3:1,35:1,23:1,231:1},kv);var qZ,JZ,YZ,XZ,ZZ,QZ,$Z=FA(_W,`CenterEdgeLabelPlacementStrategy`,231,nY,eFe,jve),sTt;q(422,23,{3:1,35:1,23:1,422:1},tue);var cTt,eQ,lTt=FA(_W,`ConstraintCalculationStrategy`,422,nY,cDe,Mve),uTt;q(301,23,{3:1,35:1,23:1,301:1,188:1,196:1},Av),Q.bg=function(){return m8e(this)},Q.og=function(){return m8e(this)};var tQ,nQ,dTt,fTt,pTt=FA(_W,`CrossingMinimizationStrategy`,301,nY,mje,Nve),mTt;q(350,23,{3:1,35:1,23:1,350:1},jv);var hTt,rQ,iQ,gTt=FA(_W,`CuttingStrategy`,350,nY,JOe,Pve),_Tt;q(267,23,{3:1,35:1,23:1,267:1,188:1,196:1},Fv),Q.bg=function(){return xet(this)},Q.og=function(){return xet(this)};var aQ,vTt,oQ,sQ,cQ,lQ,uQ,dQ,fQ,yTt=FA(_W,`CycleBreakingStrategy`,267,nY,CRe,Fve),bTt;q(419,23,{3:1,35:1,23:1,419:1},nue);var pQ,xTt,STt=FA(_W,`DirectionCongruency`,419,nY,lDe,Ive),CTt;q(449,23,{3:1,35:1,23:1,449:1},Iv);var mQ,hQ,gQ,wTt=FA(_W,`EdgeConstraint`,449,nY,YOe,Lve),TTt;q(284,23,{3:1,35:1,23:1,284:1},Lv);var _Q,vQ,yQ,bQ,xQ,SQ,ETt=FA(_W,`EdgeLabelSideSelection`,284,nY,tFe,Rve),DTt;q(476,23,{3:1,35:1,23:1,476:1},rue);var CQ,OTt,kTt=FA(_W,`EdgeStraighteningStrategy`,476,nY,uDe,zve),ATt;q(282,23,{3:1,35:1,23:1,282:1},Nv);var wQ,jTt,MTt,TQ,NTt,PTt,FTt=FA(_W,`FixedAlignment`,282,nY,nFe,Bve),ITt;q(283,23,{3:1,35:1,23:1,283:1},Pv);var LTt,RTt,zTt,BTt,EQ,VTt,HTt=FA(_W,`GraphCompactionStrategy`,283,nY,rFe,Vve),UTt;q(261,23,{3:1,35:1,23:1,261:1},Rv);var DQ,OQ,kQ,AQ,jQ,MQ,NQ,PQ,FQ,IQ,LQ=FA(_W,`GraphProperties`,261,nY,Gze,Hve),WTt;q(302,23,{3:1,35:1,23:1,302:1},zv);var RQ,zQ,BQ,VQ=FA(_W,`GreedySwitchType`,302,nY,XOe,Uve),GTt;q(329,23,{3:1,35:1,23:1,329:1},iue);var HQ,KTt,UQ,WQ=FA(_W,`GroupOrderStrategy`,329,nY,ZOe,Wve),qTt;q(315,23,{3:1,35:1,23:1,315:1},aue);var GQ,KQ,qQ,JTt=FA(_W,`InLayerConstraint`,315,nY,QOe,Gve),YTt;q(420,23,{3:1,35:1,23:1,420:1},oue);var JQ,XTt,ZTt=FA(_W,`InteractiveReferencePoint`,420,nY,dDe,Kve),QTt,$Tt,YQ,XQ,ZQ,QQ,eEt,tEt,$Q,nEt,e$,t$,n$,r$,i$,a$,o$,s$,rEt,c$,l$,u$,d$,f$,p$,m$,h$,iEt,aEt,g$,_$,v$,y$,b$,x$,S$,C$,w$,T$,oEt,sEt,cEt,lEt,uEt,E$,D$,O$,k$,A$,j$,M$,N$,P$,F$,I$,L$,R$,z$,dEt,B$,V$,H$,U$,W$,G$,K$;q(165,23,{3:1,35:1,23:1,165:1},Bv);var q$,J$,Y$,X$,Z$,fEt=FA(_W,`LayerConstraint`,165,nY,rNe,qve),pEt;q(423,23,{3:1,35:1,23:1,423:1},sue);var Q$,$$,mEt=FA(_W,`LayerUnzippingStrategy`,423,nY,fDe,Jve),hEt;q(843,1,gU,$d),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,rpt),``),`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.`),pDt),(BL(),e6)),STt),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ipt),``),`Feedback Edges`),`Whether feedback edges should be highlighted by routing around the nodes.`),(mx(),!1)),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,yW),``),`Interactive Reference Point`),`Determines which point of a node is considered by interactive layout phases.`),IDt),e6),ZTt),gP(Y3)))),TD(e,yW,bW,RDt),TD(e,yW,DW,LDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,apt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,opt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(zoe(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,spt),``),`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),Q3),uY),gP(X3)),U(k(vY,1),X,2,6,[`org.eclipse.elk.layered.northOrSouthPort`])))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,cpt),``),`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.`),AOt),e6),JAt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,lpt),``),`Thoroughness`),`How much effort should be spent to produce a nice layout.`),G(7)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,upt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,dpt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,bW),`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).`),dDt),e6),yTt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,xW),_G),`Node Layering Strategy`),`Strategy for node layering.`),$Dt),e6),AAt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,fpt),_G),`Layer Constraint`),`Determines a constraint on the placement of the node regarding the layering.`),UDt),e6),fEt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ppt),_G),`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."),null),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,mpt),_G),`Layer ID`),`Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.`),G(-1)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,SW),zpt),`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.`),G(4)),n6),hY),gP(Y3)))),TD(e,SW,xW,KDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,CW),zpt),`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.`),G(2)),n6),hY),gP(Y3)))),TD(e,CW,xW,JDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,wW),Bpt),`Node Promotion Strategy`),`Reduces number of dummy nodes after layering phase (if possible).`),ZDt),e6),UAt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,TW),Bpt),`Max Node Promotion Iterations`),`Limits the number of iterations for node promotion.`),G(0)),n6),hY),gP(Y3)))),TD(e,TW,wW,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,EW),`layering.coffmanGraham`),`Layer Bound`),`The maximum number of nodes allowed per layer.`),G(JB)),n6),hY),gP(Y3)))),TD(e,EW,xW,BDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,DW),vG),`Crossing Minimization Strategy`),`Strategy for crossing minimization.`),lDt),e6),pTt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,hpt),vG),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,OW),vG),`Hierarchical Sweepiness`),`How likely it is to use cross-hierarchy (1) vs bottom-up (-1).`),.1),$3),pY),gP(Y3)))),TD(e,OW,yG,tDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,kW),vG),`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),Q3),uY),gP(Y3)))),TD(e,kW,DW,sDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,gpt),vG),`In Layer Predecessor of`),`Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer`),null),i6),vY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,_pt),vG),`In Layer Successor of`),`Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer`),null),i6),vY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,vpt),vG),`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."),null),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ypt),vG),`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.`),G(-1)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,bpt),Vpt),`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.`),G(40)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,AW),Vpt),`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.`),QEt),e6),VQ),gP(Y3)))),TD(e,AW,DW,$Et),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,jW),`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.`),JEt),e6),VQ),gP(Y3)))),TD(e,jW,DW,YEt),TD(e,jW,yG,XEt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,MW),Hpt),`Node Placement Strategy`),`Strategy for node placement.`),OOt),e6),LAt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,NW),Hpt),`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.`),Q3),uY),gP(Y3)))),TD(e,NW,MW,vOt),TD(e,NW,MW,yOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,PW),Upt),`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.`),fOt),e6),kTt),gP(Y3)))),TD(e,PW,MW,pOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,FW),Upt),`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.`),hOt),e6),FTt),gP(Y3)))),TD(e,FW,MW,gOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,IW),`nodePlacement.linearSegments`),`Linear Segments Deflection Dampening`),`Dampens the movement of nodes to keep the diagram from getting too large.`),.3),$3),pY),gP(Y3)))),TD(e,IW,MW,xOt),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,LW),`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.`),e6),Z0),gP(J3)))),TD(e,LW,MW,EOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,RW),`nodePlacement.networkSimplex.nodeFlexibility`),`Node Flexibility Default`),`Default value of the 'nodeFlexibility' option for the children of a hierarchical node.`),wOt),e6),Z0),gP(Y3)))),TD(e,RW,MW,TOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,xpt),Wpt),`Self-Loop Distribution`),`Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE.`),xDt),e6),ejt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Spt),Wpt),`Self-Loop Ordering`),`Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE.`),CDt),e6),njt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,zW),`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.`),TDt),e6),ajt),gP(Y3)))),TD(e,zW,bG,EDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,BW),`edgeRouting.splines.sloppy`),`Sloppy Spline Layer Spacing Factor`),`Spacing factor for routing area between layers when using sloppy spline routing.`),.2),$3),pY),gP(Y3)))),TD(e,BW,bG,ODt),TD(e,BW,zW,kDt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,VW),`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),$3),pY),gP(Y3)))),TD(e,VW,bG,yDt),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Cpt),xG),`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.`),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,wpt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Tpt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Ept),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Dpt),Gpt),`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.`),G(0)),n6),hY),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Opt),Gpt),`Shortness Priority`),`Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase.`),G(0)),n6),hY),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,kpt),Gpt),`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.`),G(0)),n6),hY),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,HW),Kpt),`Connected Components Compaction`),`Tries to further compact components (disconnected sub-graphs).`),!1),Q3),uY),gP(Y3)))),TD(e,HW,TU,!0),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Apt),qpt),`Post Compaction Strategy`),Jpt),xEt),e6),HTt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,jpt),qpt),`Post Compaction Constraint Calculation`),Jpt),yEt),e6),lTt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,UW),Ypt),`High Degree Node Treatment`),`Makes room around high degree nodes to place leafs and trees.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,WW),Ypt),`High Degree Node Threshold`),`Whether a node is considered to have a high degree.`),G(16)),n6),hY),gP(Y3)))),TD(e,WW,UW,!0),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,GW),Ypt),`High Degree Node Maximum Tree Height`),`Maximum height of a subtree connected to a high degree node to be moved to separate layers.`),G(5)),n6),hY),gP(Y3)))),TD(e,GW,UW,!0),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,KW),Xpt),`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'.`),ckt),e6),djt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,qW),Xpt),`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),$3),pY),gP(Y3)))),TD(e,qW,KW,VOt),TD(e,qW,KW,HOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,JW),Xpt),`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),$3),pY),gP(Y3)))),TD(e,JW,KW,WOt),TD(e,JW,KW,GOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,YW),Zpt),`Cutting Strategy`),`The strategy by which the layer indexes are determined at which the layering crumbles into chunks.`),QOt),e6),gTt),gP(Y3)))),TD(e,YW,KW,$Ot),TD(e,YW,KW,ekt),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,XW),Zpt),`Manually Specified Cuts`),`Allows the user to specify her own cuts for a certain graph.`),r6),eY),gP(Y3)))),TD(e,XW,YW,qOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ZW),`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.`),YOt),n6),hY),gP(Y3)))),TD(e,ZW,YW,XOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,QW),Qpt),`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.`),pkt),e6),ljt),gP(Y3)))),TD(e,QW,KW,mkt),TD(e,QW,KW,hkt),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,$W),Qpt),`Valid Indices for Wrapping`),null),r6),eY),gP(Y3)))),TD(e,$W,KW,ukt),TD(e,$W,KW,dkt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,eG),$pt),`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),Q3),uY),gP(Y3)))),TD(e,eG,KW,ikt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,tG),$pt),`Distance Penalty When Improving Cuts`),null),2),$3),pY),gP(Y3)))),TD(e,tG,KW,nkt),TD(e,tG,eG,!0),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,nG),$pt),`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),Q3),uY),gP(Y3)))),TD(e,nG,KW,okt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,rG),SG),`Layer Unzipping Strategy`),`The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'.`),cOt),e6),mEt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,iG),SG),`Minimize Edge Length Heuristic`),`Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer.`),!1),Q3),uY),gP(J3)))),TD(e,iG,aG,rOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,aG),SG),`Unzipping Layer Split`),`Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen.`),tOt),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,oG),SG),`Reset Alternation on Long Edges`),`If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer.`),aOt),Q3),uY),gP(J3)))),TD(e,oG,rG,oOt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Mpt),CG),`Edge Label Side Selection`),`Method to decide on edge label sides.`),_Dt),e6),ETt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Npt),CG),`Edge Center Label Placement Strategy`),`Determines in which layer center labels of long edges should be placed.`),hDt),e6),$Z),zC(Y3,U(k(Z3,1),Z,160,0,[q3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,sG),wG),`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.`),WEt),e6),KAt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Ppt),wG),`Consider Port Order`),`If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,cG),wG),`No Model Order`),`Set on a node to not set a model order for this node even though it is a real node.`),!1),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,lG),wG),`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.`),CEt),e6),MCt),gP(Y3)))),TD(e,lG,TU,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Fpt),wG),`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.`),BEt),e6),NAt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,uG),wG),`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),$3),pY),gP(Y3)))),TD(e,uG,sG,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,dG),wG),`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),$3),pY),gP(Y3)))),TD(e,dG,sG,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,fG),TG),emt),`Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),G(0)),n6),hY),gP(J3)))),TD(e,fG,cG,!1),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,pG),TG),emt),`Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),G(0)),n6),hY),zC(J3,U(k(Z3,1),Z,160,0,[K3,X3]))))),TD(e,pG,cG,!1),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,mG),TG),emt),`Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),G(0)),n6),hY),zC(J3,U(k(Z3,1),Z,160,0,[K3,X3]))))),TD(e,mG,cG,!1),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Ipt),TG),`Cycle Breaking Group Ordering Strategy`),`Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering.`),DEt),e6),WQ),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,hG),TG),`Cycle Breaking Preferred Source Id`),`The model order group id for which should be preferred as a source if possible.`),n6),hY),gP(Y3)))),TD(e,hG,bW,kEt),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,gG),TG),`Cycle Breaking Preferred Target Id`),`The model order group id for which should be preferred as a target if possible.`),n6),hY),gP(Y3)))),TD(e,gG,bW,jEt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Lpt),TG),`Crossing Minimization Group Ordering Strategy`),`Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering.`),FEt),e6),WQ),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Rpt),TG),`Crossing Minimization Enforced Group Orders`),`Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order.`),NEt),r6),eY),gP(Y3)))),Lut((new Xd,e))};var gEt,_Et,vEt,yEt,bEt,xEt,SEt,CEt,wEt,TEt,EEt,DEt,OEt,kEt,AEt,jEt,MEt,NEt,PEt,FEt,IEt,LEt,REt,zEt,BEt,VEt,HEt,UEt,WEt,GEt,KEt,qEt,JEt,YEt,XEt,ZEt,QEt,$Et,eDt,tDt,nDt,rDt,iDt,aDt,oDt,sDt,cDt,lDt,uDt,dDt,fDt,pDt,mDt,hDt,gDt,_Dt,vDt,yDt,bDt,xDt,SDt,CDt,wDt,TDt,EDt,DDt,ODt,kDt,ADt,jDt,MDt,NDt,PDt,FDt,IDt,LDt,RDt,zDt,BDt,VDt,HDt,UDt,WDt,GDt,KDt,qDt,JDt,YDt,XDt,ZDt,QDt,$Dt,eOt,tOt,nOt,rOt,iOt,aOt,oOt,sOt,cOt,lOt,uOt,dOt,fOt,pOt,mOt,hOt,gOt,_Ot,vOt,yOt,bOt,xOt,SOt,COt,wOt,TOt,EOt,DOt,OOt,kOt,AOt,jOt,MOt,NOt,POt,FOt,IOt,LOt,ROt,zOt,BOt,VOt,HOt,UOt,WOt,GOt,KOt,qOt,JOt,YOt,XOt,ZOt,QOt,$Ot,ekt,tkt,nkt,rkt,ikt,akt,okt,skt,ckt,lkt,ukt,dkt,fkt,pkt,mkt,hkt;L(_W,`LayeredMetaDataProvider`,843),q(982,1,gU,Xd),Q.tf=function(e){Lut(e)};var e1,t1,n1,r1,i1,gkt,a1,o1,s1,c1,l1,_kt,vkt,ykt,u1,bkt,d1,f1,p1,m1,h1,g1,_1,v1,xkt,y1,b1,Skt,Ckt,wkt,Tkt,x1,S1,C1,w1,Ekt,T1,Dkt,Okt,E1,D1,O1,k1,A1,kkt,Akt,jkt,j1,M1,Mkt,N1,P1,Nkt,F1,Pkt,Fkt,Ikt,I1,L1,R1,Lkt,Rkt,z1,zkt,Bkt,B1,V1,Vkt,Hkt,Ukt,H1,U1,W1,G1,K1,Wkt,q1,Gkt,Kkt,J1,Y1,qkt,X1,Z1,Jkt,Q1,$1,e0,t0,n0,r0,i0,a0,Ykt,Xkt,Zkt,o0,Qkt,$kt,eAt,tAt,nAt,s0,c0,l0,u0,rAt,d0,iAt,f0,aAt,p0,oAt,m0,sAt,h0,cAt,lAt,g0,_0,uAt,v0,y0,b0,x0,S0,C0,w0,T0,E0,D0,O0,k0,A0,j0,M0,N0,P0,dAt,fAt,pAt,mAt,hAt,F0,gAt,_At,vAt,yAt,I0,bAt,xAt,SAt,CAt,L0,R0;L(_W,`LayeredOptions`,982),q(983,1,{},ha),Q.uf=function(){var e;return e=new Cie,e},Q.vf=function(e){},L(_W,`LayeredOptions/LayeredFactory`,983),q(1345,1,{}),Q.a=0;var wAt;L(PG,`ElkSpacings/AbstractSpacingsBuilder`,1345),q(778,1345,{},FGe);var z0,TAt;L(_W,`LayeredSpacings/LayeredSpacingsBuilder`,778),q(268,23,{3:1,35:1,23:1,268:1,188:1,196:1},Vv),Q.bg=function(){return cet(this)},Q.og=function(){return cet(this)};var B0,V0,H0,EAt,DAt,OAt,U0,W0,kAt,AAt=FA(_W,`LayeringStrategy`,268,nY,wRe,Yve),jAt;q(352,23,{3:1,35:1,23:1,352:1},cue);var G0,MAt,K0,NAt=FA(_W,`LongEdgeOrderingStrategy`,352,nY,$Oe,Xve),PAt;q(203,23,{3:1,35:1,23:1,203:1},Hv);var q0,J0,Y0,X0,Z0=FA(_W,`NodeFlexibility`,203,nY,hje,Zve),FAt;q(328,23,{3:1,35:1,23:1,328:1,188:1,196:1},Uv),Q.bg=function(){return E6e(this)},Q.og=function(){return E6e(this)};var Q0,$0,e2,t2,IAt,LAt=FA(_W,`NodePlacementStrategy`,328,nY,nNe,Qve),RAt;q(243,23,{3:1,35:1,23:1,243:1},Wv);var zAt,n2,r2,i2,BAt,VAt,a2,HAt,o2,s2,UAt=FA(_W,`NodePromotionStrategy`,243,nY,Wze,$ve),WAt;q(269,23,{3:1,35:1,23:1,269:1},Gv);var GAt,c2,l2,u2,KAt=FA(_W,`OrderingStrategy`,269,nY,gje,eye),qAt;q(421,23,{3:1,35:1,23:1,421:1},lue);var d2,f2,JAt=FA(_W,`PortSortingStrategy`,421,nY,pDe,tye),YAt;q(452,23,{3:1,35:1,23:1,452:1},Kv);var p2,m2,h2,XAt=FA(_W,`PortType`,452,nY,eke,nye),ZAt;q(381,23,{3:1,35:1,23:1,381:1},qv);var QAt,g2,$At,ejt=FA(_W,`SelfLoopDistributionStrategy`,381,nY,tke,rye),tjt;q(348,23,{3:1,35:1,23:1,348:1},Jv);var _2,v2,y2,njt=FA(_W,`SelfLoopOrderingStrategy`,348,nY,nke,iye),rjt;q(316,1,{316:1},Hot),L(_W,`Spacings`,316),q(349,23,{3:1,35:1,23:1,349:1},Yv);var b2,ijt,x2,ajt=FA(_W,`SplineRoutingMode`,349,nY,rke,aye),ojt;q(351,23,{3:1,35:1,23:1,351:1},Xv);var S2,sjt,cjt,ljt=FA(_W,`ValidifyStrategy`,351,nY,ike,oye),ujt;q(382,23,{3:1,35:1,23:1,382:1},uue);var C2,w2,T2,djt=FA(_W,`WrappingStrategy`,382,nY,ake,sye),fjt;q(1361,1,FG,Gd),Q.pg=function(e){return P(e,37),pjt},Q.If=function(e,t){Bot(this,P(e,37),t)};var pjt;L(IG,`BFSNodeOrderCycleBreaker`,1361),q(1359,1,FG,dee),Q.pg=function(e){return P(e,37),mjt},Q.If=function(e,t){dat(this,P(e,37),t)};var mjt;L(IG,`DFSNodeOrderCycleBreaker`,1359),q(1360,1,gV,Fye),Q.Ad=function(e){Ntt(this.a,this.c,this.b,P(e,17))},Q.b=!1,L(IG,`DFSNodeOrderCycleBreaker/lambda$0$Type`,1360),q(1353,1,FG,Kd),Q.pg=function(e){return P(e,37),hjt},Q.If=function(e,t){uat(this,P(e,37),t)};var hjt;L(IG,`DepthFirstCycleBreaker`,1353),q(779,1,FG,NSe),Q.pg=function(e){return P(e,37),gjt},Q.If=function(e,t){sut(this,P(e,37),t)},Q.qg=function(e){return P(AC(e,KF(this.e,e.c.length)),9)};var gjt;L(IG,`GreedyCycleBreaker`,779),q(1356,779,FG,Kue),Q.qg=function(e){var t,n,i,a,o,s,c,l,u=null;for(i=JB,l=r.Math.max(this.b.a.c.length,P(K(this.b,(Y(),C$)),15).a),t=l*P(K(this.b,ZQ),15).a,a=new ga,n=j(K(this.b,(PB(),l1)))===j((SM(),HQ)),c=new E(e);c.a<c.c.c.length;)s=P(z(c),9),Kx(s,w$)&&(o=n?_R(a,s,t,l):KL(a,s,l),i>o&&(i=o,u=s));return u||P(AC(e,KF(this.e,e.c.length)),9)},L(IG,`GreedyModelOrderCycleBreaker`,1356),q(505,1,{},ga),Q.a=0,Q.b=0,L(IG,`GroupModelOrderCalculator`,505),q(1354,1,FG,qd),Q.pg=function(e){return P(e,37),_jt},Q.If=function(e,t){Xat(this,P(e,37),t)};var _jt;L(IG,`InteractiveCycleBreaker`,1354),q(1355,1,FG,Ud),Q.pg=function(e){return P(e,37),vjt},Q.If=function(e,t){$at(P(e,37),t)};var vjt;L(IG,`ModelOrderCycleBreaker`,1355),q(780,1,FG),Q.pg=function(e){return P(e,37),yjt},Q.If=function(e,t){eit(this,P(e,37),t)},Q.rg=function(e,t){var n,r,i,a,o,s,c,l,u,d;for(o=0;o<this.d.b;o++){for(s=null,n=new ga,c=LV,d=P(LF(this.d,o),22).Jc();d.Ob();)u=P(d.Pb(),9),a=j(K(this.a,(PB(),l1)))===j((SM(),HQ)),s?(l=a?_R(n,u,t,e):KL(n,u,e),c<l&&(s=u,c=l)):(s=u,c=a?_R(n,u,t,e):KL(n,u,e));for(i=new XC(dx(fP(s).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.d.i)&&$b(this.c,r)}};var yjt;L(IG,`SCCModelOrderCycleBreaker`,780),q(1358,780,FG,que),Q.rg=function(e,t){var n,r,i,a,o,s,c,l,u,d,p,m;for(o=0;o<this.d.b;o++)if(!(P(LF(this.d,o),22).gc()<=1)){for(c=null,s=null,d=JB,u=LV,a=j(K(this.a,(PB(),l1)))===j((SM(),HQ)),n=new ga,m=P(LF(this.d,o),22).Jc();m.Ob();)p=P(m.Pb(),9),!c||!s?(c=p,d=a?_R(n,p,t,e):KL(n,p,e),s=p,u=d):(l=a?_R(n,p,t,e):KL(n,p,e),d>l&&(c=p,d=l),u<l&&(s=p,u=l));if(j(K(c,f1))===j(K(this.a,_kt)))for(i=new XC(dx(uP(c).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.c.i)&&$b(this.c,r);else if(j(K(s,f1))===j(K(this.a,vkt)))for(i=new XC(dx(fP(s).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.c.i)&&$b(this.c,r);else if(UD(new XC(dx(uP(c).a.Jc(),new f)))>UD(new XC(dx(fP(s).a.Jc(),new f))))for(i=new XC(dx(uP(c).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.c.i)&&$b(this.c,r);else for(i=new XC(dx(fP(s).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.d.i)&&$b(this.c,r)}},L(IG,`SCCNodeTypeCycleBreaker`,1358),q(1357,780,FG,Jue),Q.rg=function(e,t){var n,r,i,a,o,s,c,l,u,d,p,m;for(o=0;o<this.d.b;o++)if(!(P(LF(this.d,o),22).gc()<=1)){for(c=null,s=null,d=JB,u=LV,a=j(K(this.a,(PB(),l1)))===j((SM(),HQ)),n=new ga,m=P(LF(this.d,o),22).Jc();m.Ob();)p=P(m.Pb(),9),!c||!s?(c=p,d=a?_R(n,p,t,e):KL(n,p,e),s=p,u=d):(l=a?_R(n,p,t,e):KL(n,p,e),d>l&&(c=p,d=l),u<l&&(s=p,u=l));if(UD(new XC(dx(uP(c).a.Jc(),new f)))>UD(new XC(dx(fP(s).a.Jc(),new f))))for(i=new XC(dx(uP(c).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.c.i)&&$b(this.c,r);else for(i=new XC(dx(fP(s).a.Jc(),new f));CR(i);)r=P(CO(i),17),P(LF(this.d,o),22).Gc(r.d.i)&&$b(this.c,r)}},L(IG,`SCConnectivity`,1357),q(1373,1,FG,Wd),Q.pg=function(e){return P(e,37),bjt},Q.If=function(e,t){Hct(this,P(e,37),t)};var bjt;L(LG,`BreadthFirstModelOrderLayerer`,1373),q(1374,1,VH,va),Q.Le=function(e,t){return L2e(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LG,`BreadthFirstModelOrderLayerer/lambda$0$Type`,1374),q(1364,1,FG,Uce),Q.pg=function(e){return P(e,37),xjt},Q.If=function(e,t){hut(this,P(e,37),t)};var xjt;L(LG,`CoffmanGrahamLayerer`,1364),q(1365,1,VH,Wte),Q.Le=function(e,t){return x7e(this.a,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LG,`CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type`,1365),q(1366,1,VH,Wm),Q.Le=function(e,t){return LSe(this.a,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LG,`CoffmanGrahamLayerer/lambda$1$Type`,1366),q(1375,1,FG,Hd),Q.pg=function(e){return P(e,37),Sjt},Q.If=function(e,t){Klt(this,P(e,37),t)},Q.c=0,Q.e=0;var Sjt;L(LG,`DepthFirstModelOrderLayerer`,1375),q(1376,1,VH,ya),Q.Le=function(e,t){return R2e(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LG,`DepthFirstModelOrderLayerer/lambda$0$Type`,1376),q(1367,1,FG,ba),Q.pg=function(e){return P(e,37),bC(bC(bC(new pT,(bL(),gX),(RB(),eZ)),_X,cZ),vX,sZ)},Q.If=function(e,t){ilt(P(e,37),t)},L(LG,`InteractiveLayerer`,1367),q(564,1,{564:1},Mie),Q.a=0,Q.c=0,L(LG,`InteractiveLayerer/LayerSpan`,564),q(1363,1,FG,Zd),Q.pg=function(e){return P(e,37),Cjt},Q.If=function(e,t){f7e(this,P(e,37),t)};var Cjt;L(LG,`LongestPathLayerer`,1363),q(1372,1,FG,pee),Q.pg=function(e){return P(e,37),wjt},Q.If=function(e,t){V7e(this,P(e,37),t)};var wjt;L(LG,`LongestPathSourceLayerer`,1372),q(1370,1,FG,Qd),Q.pg=function(e){return P(e,37),bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)},Q.If=function(e,t){blt(this,P(e,37),t)},Q.a=0,Q.b=0,Q.d=0;var Tjt,Ejt;L(LG,`MinWidthLayerer`,1370),q(1371,1,VH,Gte),Q.Le=function(e,t){return LBe(this,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LG,`MinWidthLayerer/MinOutgoingEdgesComparator`,1371),q(1362,1,FG,Yd),Q.pg=function(e){return P(e,37),Djt},Q.If=function(e,t){Got(this,P(e,37),t)};var Djt;L(LG,`NetworkSimplexLayerer`,1362),q(1368,1,FG,Qge),Q.pg=function(e){return P(e,37),bC(bC(bC(new pT,(bL(),gX),(RB(),XX)),_X,cZ),vX,sZ)},Q.If=function(e,t){Yst(this,P(e,37),t)},Q.d=0,Q.f=0,Q.g=0,Q.i=0,Q.s=0,Q.t=0,Q.u=0,L(LG,`StretchWidthLayerer`,1368),q(1369,1,VH,Ta),Q.Le=function(e,t){return JNe(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LG,`StretchWidthLayerer/1`,1369),q(406,1,Bmt),Q.eg=function(e,t,n,r,i,a){},Q.tg=function(e,t,n){return cnt(this,e,t,n)},Q.dg=function(){this.g=V(Q9,Vmt,30,this.d,15,1),this.f=V(Q9,Vmt,30,this.d,15,1)},Q.fg=function(e,t){this.e[e]=V(q9,JV,30,t[e].length,15,1)},Q.gg=function(e,t,n){var r=n[e][t];r.p=t,this.e[e][t]=t},Q.hg=function(e,t,n,r){P(AC(r[e][t].j,n),12).p=this.d++},Q.b=0,Q.c=0,Q.d=0,L(RG,`AbstractBarycenterPortDistributor`,406),q(1663,1,VH,Kte),Q.Le=function(e,t){return Iqe(this.a,P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(RG,`AbstractBarycenterPortDistributor/lambda$0$Type`,1663),q(816,1,dW,ZAe),Q.eg=function(e,t,n,r,i,a){},Q.gg=function(e,t,n){},Q.hg=function(e,t,n,r){},Q.cg=function(){return!1},Q.dg=function(){this.c=this.e.a,this.g=this.f.g},Q.fg=function(e,t){t[e][0].c.p=e},Q.ig=function(){return!1},Q.ug=function(e,t,n,r){n?MZe(this,e):(ZZe(this,e,r),Ost(this,e,t)),e.c.length>1&&(hg(eS(K(lT((oD(0,e.c.length),P(e.c[0],9))),(PB(),v1))))?f8e(e,this.d,P(this,660)):(KT(),Vb(e,this.d)),zBe(this.e,e))},Q.jg=function(e,t,n,r){var i,a,o,s,c,l,u;for(t!=uSe(n,e.length)&&(a=e[t-(n?1:-1)],ePe(this.f,a,n?(VA(),m2):(VA(),p2))),i=e[t][0],u=!r||i.k==(MR(),RX),l=OO(e[t]),this.ug(l,u,!1,n),o=0,c=new E(l);c.a<c.c.c.length;)s=P(z(c),9),e[t][o++]=s;return!1},Q.kg=function(e,t){var n,r,i,a,o=uSe(t,e.length);for(a=OO(e[o]),this.ug(a,!1,!0,t),n=0,i=new E(a);i.a<i.c.c.length;)r=P(z(i),9),e[o][n++]=r;return!1},L(RG,`BarycenterHeuristic`,816),q(658,1,{658:1},Yte),Q.Ib=function(){return`BarycenterState [node=`+this.c+`, summedWeight=`+this.d+`, degree=`+this.b+`, barycenter=`+this.a+`, visited=`+this.e+`]`},Q.b=0,Q.d=0,Q.e=!1;var Ojt=L(RG,`BarycenterHeuristic/BarycenterState`,658);q(1842,1,VH,qte),Q.Le=function(e,t){return VQe(this.a,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(RG,`BarycenterHeuristic/lambda$0$Type`,1842),q(815,1,dW,s$e),Q.dg=function(){},Q.eg=function(e,t,n,r,i,a){},Q.hg=function(e,t,n,r){},Q.fg=function(e,t){this.a[e]=V(Ojt,{3:1,4:1,5:1,2079:1},658,t[e].length,0,1),this.b[e]=V(kjt,{3:1,4:1,5:1,2080:1},239,t[e].length,0,1)},Q.gg=function(e,t,n){Oqe(this,n[e][t],!0)},Q.c=!1,L(RG,`ForsterConstraintResolver`,815),q(239,1,{239:1},vEe,Lot),Q.Ib=function(){var e,t=new Og;for(t.a+=`[`,e=0;e<this.d.length;e++)Qy(t,wJe(this.d[e])),ex(this.g,this.d[0]).a!=null&&Qy(Qy((t.a+=`<`,t),Rde(ex(this.g,this.d[0]).a)),`>`),e<this.d.length-1&&(t.a+=QB);return(t.a+=`]`,t).a},Q.a=0,Q.c=0,Q.f=0;var kjt=L(RG,`ForsterConstraintResolver/ConstraintGroup`,239);q(1837,1,gV,Jte),Q.Ad=function(e){Oqe(this.a,P(e,9),!1)},L(RG,`ForsterConstraintResolver/lambda$0$Type`,1837),q(218,1,{218:1,220:1},vst),Q.eg=function(e,t,n,r,i,a){},Q.fg=function(e,t){},Q.dg=function(){this.r=V(q9,JV,30,this.n,15,1)},Q.gg=function(e,t,n){var r=n[e][t].e;r&&$b(this.b,r)},Q.hg=function(e,t,n,r){++this.n},Q.Ib=function(){return Nst(this.e,new Dh)},Q.g=!1,Q.i=!1,Q.n=0,Q.s=!1,L(RG,`GraphInfoHolder`,218),q(1875,1,dW,_a),Q.eg=function(e,t,n,r,i,a){},Q.fg=function(e,t){},Q.hg=function(e,t,n,r){},Q.tg=function(e,t,n){return n&&t>0?ME(this.a,e[t-1],e[t]):!n&&t<e.length-1?ME(this.a,e[t],e[t+1]):uj(this.a,e[t],n?(wB(),N5):(wB(),p5)),q8e(this,e,t,n)},Q.dg=function(){this.d=V(q9,JV,30,this.c,15,1),this.a=new PS(this.d)},Q.gg=function(e,t,n){var r=n[e][t];this.c+=r.j.c.length},Q.c=0,L(RG,`GreedyPortDistributor`,1875),q(1381,1,FG,ef),Q.pg=function(e){return RUe(P(e,37))},Q.If=function(e,t){yst(P(e,37),t)};var Ajt;L(RG,`InteractiveCrossingMinimizer`,1381),q(1382,1,VH,Xte),Q.Le=function(e,t){return lQe(this,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(RG,`InteractiveCrossingMinimizer/1`,1382),q(453,1,{453:1,95:1,43:1},eg),Q.pg=function(e){var t;return P(e,37),t=bb(jjt),bC(t,(bL(),vX),(RB(),pZ)),t},Q.If=function(e,t){knt(this,P(e,37),t)},Q.e=0;var jjt;L(RG,`LayerSweepCrossingMinimizer`,453),q(1378,1,gV,Zte),Q.Ad=function(e){fit(this.a,P(e,218))},L(RG,`LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type`,1378),q(1379,1,gV,Qte),Q.Ad=function(e){EUe(this.a,P(e,218))},L(RG,`LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type`,1379),q(1380,1,gV,$te),Q.Ad=function(e){Mit(this.a,P(e,218))},L(RG,`LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type`,1380),q(404,23,{3:1,35:1,23:1,404:1},Zv);var E2,D2,O2,k2,Mjt=FA(RG,`LayerSweepCrossingMinimizer/CrossMinType`,404,nY,_je,lye),Njt;q(1377,1,PV,cee),Q.Mb=function(e){return sBe(),P(e,25).a.c.length==0},L(RG,`LayerSweepCrossingMinimizer/lambda$0$Type`,1377),q(1839,1,dW,tOe),Q.dg=function(){},Q.eg=function(e,t,n,r,i,a){},Q.hg=function(e,t,n,r){},Q.fg=function(e,t){t[e][0].c.p=e,this.b[e]=V(Pjt,{3:1,4:1,5:1,2005:1},659,t[e].length,0,1)},Q.gg=function(e,t,n){var r=n[e][t];r.p=t,Jw(this.b[e],t,new xa)},L(RG,`LayerSweepTypeDecider`,1839),q(659,1,{659:1},xa),Q.Ib=function(){return`NodeInfo [connectedEdges=`+this.a+`, hierarchicalInfluence=`+this.b+`, randomInfluence=`+this.c+`]`},Q.a=0,Q.b=0,Q.c=0;var Pjt=L(RG,`LayerSweepTypeDecider/NodeInfo`,659);q(1840,1,GH,Sa),Q.Lb=function(e){return Tx(new IO(P(e,12).b))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Tx(new IO(P(e,12).b))},L(RG,`LayerSweepTypeDecider/lambda$0$Type`,1840),q(1841,1,GH,Ca),Q.Lb=function(e){return Tx(new IO(P(e,12).b))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Tx(new IO(P(e,12).b))},L(RG,`LayerSweepTypeDecider/lambda$1$Type`,1841),q(1876,406,Bmt,Poe),Q.sg=function(e,t,n){var r,i,a,o,s,c,l=this.g,u,d;switch(n.g){case 1:for(r=0,i=0,c=new E(e.j);c.a<c.c.c.length;)o=P(z(c),12),o.e.c.length!=0&&(++r,o.j==(wB(),m5)&&++i);for(a=t+i,d=t+r,s=HP(e,(VA(),p2)).Jc();s.Ob();)o=P(s.Pb(),12),o.j==(wB(),m5)?(l[o.p]=a,--a):(l[o.p]=d,--d);return r;case 2:for(u=0,s=HP(e,(VA(),m2)).Jc();s.Ob();)o=P(s.Pb(),12),++u,l[o.p]=t+u;return u;default:throw D(new _h)}},L(RG,`LayerTotalPortDistributor`,1876),q(1844,1,dW,TEe),Q.dg=function(){},Q.eg=function(e,t,n,r,i,a){},Q.fg=function(e,t){},Q.gg=function(e,t,n){},Q.hg=function(e,t,n,r){},Q.cg=function(){return!1},Q.ig=function(){return!0},Q.jg=function(e,t,n,r){var i=OO(e[t]),a,o,s;for(Xot(this,i,n?t-1:t+1),KT(),Vb(i,this.b),a=0,s=new E(i);s.a<s.c.c.length;)o=P(z(s),9),e[t][a++]=o;return!1},Q.kg=function(e,t){var n=t?0:r.Math.max(0,e.length-1),i=OO(e[n]),a,o,s,c;for(c=new E(i);c.a<c.c.c.length;)o=P(z(c),9),W(o,(Y(),K$),DSe(this.a));for(KT(),Vb(i,this.b),a=0,s=new E(i);s.a<s.c.c.length;)o=P(z(s),9),e[n][a++]=o,W(o,(Y(),K$),a);return!1},L(RG,`MedianHeuristic`,1844),q(1845,1,VH,wa),Q.Le=function(e,t){return z3e(P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(RG,`MedianHeuristic/lambda$0$Type`,1845),q(660,816,{660:1,220:1},bze),Q.ug=function(e,t,n,r){n?MZe(this,e):(ZZe(this,e,r),Ost(this,e,t)),e.c.length>1&&(hg(eS(K(lT((oD(0,e.c.length),P(e.c[0],9))),(PB(),v1))))?f8e(e,this.d,this):(KT(),Vb(e,this.d)),hg(eS(K(lT((oD(0,e.c.length),P(e.c[0],9))),v1)))||zBe(this.e,e))},L(RG,`ModelOrderBarycenterHeuristic`,660),q(1843,1,VH,ene),Q.Le=function(e,t){return Git(this.a,P(e,9),P(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(RG,`ModelOrderBarycenterHeuristic/lambda$0$Type`,1843),q(1383,1,FG,hee),Q.pg=function(e){var t;return P(e,37),t=bb(Fjt),bC(t,(bL(),vX),(RB(),pZ)),t},Q.If=function(e,t){AEe((P(e,37),t))};var Fjt;L(RG,`NoCrossingMinimizer`,1383),q(796,406,Bmt,Noe),Q.sg=function(e,t,n){var r,i,a,o,s,c,l,u,d=this.g,f,p;switch(n.g){case 1:for(i=0,a=0,u=new E(e.j);u.a<u.c.c.length;)c=P(z(u),12),c.e.c.length!=0&&(++i,c.j==(wB(),m5)&&++a);for(r=1/(i+1),o=t+a*r,p=t+1-r,l=HP(e,(VA(),p2)).Jc();l.Ob();)c=P(l.Pb(),12),c.j==(wB(),m5)?(d[c.p]=o,o-=r):(d[c.p]=p,p-=r);break;case 2:for(s=0,u=new E(e.j);u.a<u.c.c.length;)c=P(z(u),12),c.g.c.length==0||++s;for(r=1/(s+1),f=t+r,l=HP(e,(VA(),m2)).Jc();l.Ob();)c=P(l.Pb(),12),d[c.p]=f,f+=r;break;default:throw D(new sg(`Port type is undefined`))}return 1},L(RG,`NodeRelativePortDistributor`,796),q(808,1,{},gCe,M1e),L(RG,`SweepCopy`,808),q(1838,1,dW,MKe),Q.fg=function(e,t){},Q.dg=function(){var e=V(q9,JV,30,this.f,15,1);this.d=new cne(e),this.a=new PS(e)},Q.eg=function(e,t,n,r,i,a){var o=P(AC(a[e][t].j,n),12);i.c==o&&i.c.i.c==i.d.i.c&&++this.e[e]},Q.gg=function(e,t,n){var r=n[e][t];this.c[e]=this.c[e]|r.k==(MR(),UX)},Q.hg=function(e,t,n,r){var i=P(AC(r[e][t].j,n),12);i.p=this.f++,i.g.c.length+i.e.c.length>1&&(i.j==(wB(),p5)?this.b[e]=!0:i.j==N5&&e>0&&(this.b[e-1]=!0))},Q.f=0,L(uW,`AllCrossingsCounter`,1838),q(583,1,{},mj),Q.b=0,Q.d=0,L(uW,`BinaryIndexedTree`,583),q(519,1,{},PS);var Ijt,A2;L(uW,`CrossingsCounter`,519),q(1912,1,VH,tne),Q.Le=function(e,t){return oSe(this.a,P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(uW,`CrossingsCounter/lambda$0$Type`,1912),q(1913,1,VH,nne),Q.Le=function(e,t){return sSe(this.a,P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(uW,`CrossingsCounter/lambda$1$Type`,1913),q(1914,1,VH,rne),Q.Le=function(e,t){return cSe(this.a,P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(uW,`CrossingsCounter/lambda$2$Type`,1914),q(1915,1,VH,ine),Q.Le=function(e,t){return lSe(this.a,P(e,12),P(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(uW,`CrossingsCounter/lambda$3$Type`,1915),q(1916,1,gV,ane),Q.Ad=function(e){mIe(this.a,P(e,12))},L(uW,`CrossingsCounter/lambda$4$Type`,1916),q(1917,1,PV,one),Q.Mb=function(e){return yue(this.a,P(e,12))},L(uW,`CrossingsCounter/lambda$5$Type`,1917),q(1918,1,gV,sne),Q.Ad=function(e){Fde(this,e)},L(uW,`CrossingsCounter/lambda$6$Type`,1918),q(1919,1,gV,due),Q.Ad=function(e){var t;US(),LD(this.b,(t=this.a,P(e,12),t))},L(uW,`CrossingsCounter/lambda$7$Type`,1919),q(823,1,GH,Ba),Q.Lb=function(e){return US(),Kx(P(e,12),(Y(),O$))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return US(),Kx(P(e,12),(Y(),O$))},L(uW,`CrossingsCounter/lambda$8$Type`,823),q(1911,1,{},cne),L(uW,`HyperedgeCrossingsCounter`,1911),q(467,1,{35:1,467:1},$ge),Q.Dd=function(e){return vqe(this,P(e,467))},Q.b=0,Q.c=0,Q.e=0,Q.f=0;var Ljt=L(uW,`HyperedgeCrossingsCounter/Hyperedge`,467);q(370,1,{35:1,370:1},LT),Q.Dd=function(e){return X6e(this,P(e,370))},Q.b=0,Q.c=0;var Rjt=L(uW,`HyperedgeCrossingsCounter/HyperedgeCorner`,370);q(518,23,{3:1,35:1,23:1,518:1},fue);var j2,M2,zjt=FA(uW,`HyperedgeCrossingsCounter/HyperedgeCorner/Type`,518,nY,mDe,dye),Bjt;q(1385,1,FG,Jd),Q.pg=function(e){return P(K(P(e,37),(Y(),l$)),22).Gc((oz(),AQ))?Vjt:null},Q.If=function(e,t){PZe(this,P(e,37),t)};var Vjt;L(VG,`InteractiveNodePlacer`,1385),q(1386,1,FG,cf),Q.pg=function(e){return P(K(P(e,37),(Y(),l$)),22).Gc((oz(),AQ))?Hjt:null},Q.If=function(e,t){xYe(this,P(e,37),t)};var Hjt,N2,P2;L(VG,`LinearSegmentsNodePlacer`,1386),q(263,1,{35:1,263:1},Nie),Q.Dd=function(e){return Voe(this,P(e,263))},Q.Fb=function(e){var t;return M(e,263)?(t=P(e,263),this.b==t.b):!1},Q.Hb=function(){return this.b},Q.Ib=function(){return`ls`+wL(this.e)},Q.a=0,Q.b=0,Q.c=-1,Q.d=-1,Q.g=0;var Ujt=L(VG,`LinearSegmentsNodePlacer/LinearSegment`,263);q(1388,1,FG,PSe),Q.pg=function(e){return P(K(P(e,37),(Y(),l$)),22).Gc((oz(),AQ))?Wjt:null},Q.If=function(e,t){qlt(this,P(e,37),t)},Q.b=0,Q.g=0;var Wjt;L(VG,`NetworkSimplexPlacer`,1388),q(1407,1,VH,Da),Q.Le=function(e,t){return Ub(P(e,15).a,P(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(VG,`NetworkSimplexPlacer/0methodref$compare$Type`,1407),q(1409,1,VH,Oa),Q.Le=function(e,t){return Ub(P(e,15).a,P(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(VG,`NetworkSimplexPlacer/1methodref$compare$Type`,1409),q(644,1,{644:1},pue);var Gjt=L(VG,`NetworkSimplexPlacer/EdgeRep`,644);q(405,1,{405:1},UTe),Q.b=!1;var Kjt=L(VG,`NetworkSimplexPlacer/NodeRep`,405);q(500,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,500:1},Bie),L(VG,`NetworkSimplexPlacer/Path`,500),q(1389,1,{},ka),Q.Kb=function(e){return P(e,17).d.i.k},L(VG,`NetworkSimplexPlacer/Path/lambda$0$Type`,1389),q(1390,1,PV,Ea),Q.Mb=function(e){return P(e,249)==(MR(),BX)},L(VG,`NetworkSimplexPlacer/Path/lambda$1$Type`,1390),q(1391,1,{},Aa),Q.Kb=function(e){return P(e,17).d.i},L(VG,`NetworkSimplexPlacer/Path/lambda$2$Type`,1391),q(1392,1,PV,lne),Q.Mb=function(e){return _ge(kKe(P(e,9)))},L(VG,`NetworkSimplexPlacer/Path/lambda$3$Type`,1392),q(1393,1,PV,ja),Q.Mb=function(e){return Nxe(P(e,12))},L(VG,`NetworkSimplexPlacer/lambda$0$Type`,1393),q(1394,1,gV,mue),Q.Ad=function(e){vpe(this.a,this.b,P(e,12))},L(VG,`NetworkSimplexPlacer/lambda$1$Type`,1394),q(1403,1,gV,une),Q.Ad=function(e){f4e(this.a,P(e,17))},L(VG,`NetworkSimplexPlacer/lambda$10$Type`,1403),q(1404,1,{},Ma),Q.Kb=function(e){return WE(),new jC(null,new nD(P(e,25).a,16))},L(VG,`NetworkSimplexPlacer/lambda$11$Type`,1404),q(1405,1,gV,dne),Q.Ad=function(e){U9e(this.a,P(e,9))},L(VG,`NetworkSimplexPlacer/lambda$12$Type`,1405),q(1406,1,{},Na),Q.Kb=function(e){return WE(),G(P(e,124).e)},L(VG,`NetworkSimplexPlacer/lambda$13$Type`,1406),q(1408,1,{},Pa),Q.Kb=function(e){return WE(),G(P(e,124).e)},L(VG,`NetworkSimplexPlacer/lambda$15$Type`,1408),q(1410,1,PV,Fa),Q.Mb=function(e){return WE(),P(e,405).c.k==(MR(),HX)},L(VG,`NetworkSimplexPlacer/lambda$17$Type`,1410),q(1411,1,PV,Ia),Q.Mb=function(e){return WE(),P(e,405).c.j.c.length>1},L(VG,`NetworkSimplexPlacer/lambda$18$Type`,1411),q(1412,1,gV,WTe),Q.Ad=function(e){tKe(this.c,this.b,this.d,this.a,P(e,405))},Q.c=0,Q.d=0,L(VG,`NetworkSimplexPlacer/lambda$19$Type`,1412),q(1395,1,{},La),Q.Kb=function(e){return WE(),new jC(null,new nD(P(e,25).a,16))},L(VG,`NetworkSimplexPlacer/lambda$2$Type`,1395),q(1413,1,gV,fne),Q.Ad=function(e){Epe(this.a,P(e,12))},Q.a=0,L(VG,`NetworkSimplexPlacer/lambda$20$Type`,1413),q(1414,1,{},Ra),Q.Kb=function(e){return WE(),new jC(null,new nD(P(e,25).a,16))},L(VG,`NetworkSimplexPlacer/lambda$21$Type`,1414),q(1415,1,gV,Gm),Q.Ad=function(e){Gpe(this.a,P(e,9))},L(VG,`NetworkSimplexPlacer/lambda$22$Type`,1415),q(1416,1,PV,za),Q.Mb=function(e){return _ge(e)},L(VG,`NetworkSimplexPlacer/lambda$23$Type`,1416),q(1417,1,{},Va),Q.Kb=function(e){return WE(),new jC(null,new nD(P(e,25).a,16))},L(VG,`NetworkSimplexPlacer/lambda$24$Type`,1417),q(1418,1,PV,pne),Q.Mb=function(e){return Wde(this.a,P(e,9))},L(VG,`NetworkSimplexPlacer/lambda$25$Type`,1418),q(1419,1,gV,hue),Q.Ad=function(e){D0e(this.a,this.b,P(e,9))},L(VG,`NetworkSimplexPlacer/lambda$26$Type`,1419),q(1420,1,PV,Ha),Q.Mb=function(e){return WE(),!xO(P(e,17))},L(VG,`NetworkSimplexPlacer/lambda$27$Type`,1420),q(1421,1,PV,Ua),Q.Mb=function(e){return WE(),!xO(P(e,17))},L(VG,`NetworkSimplexPlacer/lambda$28$Type`,1421),q(1422,1,{},mne),Q.Te=function(e,t){return Tpe(this.a,P(e,25),P(t,25))},L(VG,`NetworkSimplexPlacer/lambda$29$Type`,1422),q(1396,1,{},Wa),Q.Kb=function(e){return WE(),new jC(null,new Lw(new XC(dx(fP(P(e,9)).a.Jc(),new f))))},L(VG,`NetworkSimplexPlacer/lambda$3$Type`,1396),q(1397,1,PV,Ga),Q.Mb=function(e){return WE(),MAe(P(e,17))},L(VG,`NetworkSimplexPlacer/lambda$4$Type`,1397),q(1398,1,gV,hne),Q.Ad=function(e){iit(this.a,P(e,17))},L(VG,`NetworkSimplexPlacer/lambda$5$Type`,1398),q(1399,1,{},Ka),Q.Kb=function(e){return WE(),new jC(null,new nD(P(e,25).a,16))},L(VG,`NetworkSimplexPlacer/lambda$6$Type`,1399),q(1400,1,PV,qa),Q.Mb=function(e){return WE(),P(e,9).k==(MR(),HX)},L(VG,`NetworkSimplexPlacer/lambda$7$Type`,1400),q(1401,1,{},Ja),Q.Kb=function(e){return WE(),new jC(null,new Lw(new XC(dx(dP(P(e,9)).a.Jc(),new f))))},L(VG,`NetworkSimplexPlacer/lambda$8$Type`,1401),q(1402,1,PV,Ya),Q.Mb=function(e){return WE(),Sxe(P(e,17))},L(VG,`NetworkSimplexPlacer/lambda$9$Type`,1402),q(1384,1,FG,lf),Q.pg=function(e){return P(K(P(e,37),(Y(),l$)),22).Gc((oz(),AQ))?qjt:null},Q.If=function(e,t){iat(P(e,37),t)};var qjt;L(VG,`SimpleNodePlacer`,1384),q(185,1,{185:1},Cz),Q.Ib=function(){var e=``;return this.c==(wE(),I2)?e+=ZH:this.c==F2&&(e+=XH),this.o==(TE(),L2)?e+=rU:this.o==R2?e+=`UP`:e+=`BALANCED`,e},L(UG,`BKAlignedLayout`,185),q(509,23,{3:1,35:1,23:1,509:1},gue);var F2,I2,Jjt=FA(UG,`BKAlignedLayout/HDirection`,509,nY,gDe,fye),Yjt;q(508,23,{3:1,35:1,23:1,508:1},_ue);var L2,R2,Xjt=FA(UG,`BKAlignedLayout/VDirection`,508,nY,hDe,pye),Zjt;q(1664,1,{},vue),L(UG,`BKAligner`,1664),q(1667,1,{},FXe),L(UG,`BKCompactor`,1667),q(652,1,{652:1},Xa),Q.a=0,L(UG,`BKCompactor/ClassEdge`,652),q(456,1,{456:1},Fie),Q.a=null,Q.b=0,L(UG,`BKCompactor/ClassNode`,456),q(1387,1,FG,Gue),Q.pg=function(e){return P(K(P(e,37),(Y(),l$)),22).Gc((oz(),AQ))?Qjt:null},Q.If=function(e,t){Sut(this,P(e,37),t)},Q.d=!1;var Qjt;L(UG,`BKNodePlacer`,1387),q(1665,1,{},Za),Q.d=0,L(UG,`NeighborhoodInformation`,1665),q(1666,1,VH,gne),Q.Le=function(e,t){return uLe(this,P(e,49),P(t,49))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(UG,`NeighborhoodInformation/NeighborComparator`,1666),q(809,1,{}),L(UG,`ThresholdStrategy`,809),q(1795,809,{},Vie),Q.vg=function(e,t,n){return this.a.o==(TE(),R2)?pH:mH},Q.wg=function(){},L(UG,`ThresholdStrategy/NullThresholdStrategy`,1795),q(576,1,{576:1},Tue),Q.c=!1,Q.d=!1,L(UG,`ThresholdStrategy/Postprocessable`,576),q(1796,809,{},Hie),Q.vg=function(e,t,n){var r,i=t==n,a;return r=this.a.a[n.p]==t,i||r?(a=e,this.a.c,wE(),i&&(a=sat(this,t,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=sat(this,n,!1)),a):e},Q.wg=function(){for(var e,t,n,r,i;this.d.b!=0;)i=P(IDe(this.d),576),r=art(this,i),r.a&&(e=r.a,n=hg(this.a.f[this.a.g[i.b.p].p]),!(!n&&!xO(e)&&e.c.i.c==e.d.i.c)&&(t=Q6e(this,i),t||yfe(this.e,i)));for(;this.e.a.c.length!=0;)Q6e(this,P(eUe(this.e),576))},L(UG,`ThresholdStrategy/SimpleThresholdStrategy`,1796),q(635,1,{635:1,188:1,196:1},Qa),Q.bg=function(){return RBe(this)},Q.og=function(){return RBe(this)};var z2;L(WG,`EdgeRouterFactory`,635),q(1445,1,FG,uf),Q.pg=function(e){return i9e(P(e,37))},Q.If=function(e,t){vat(P(e,37),t)};var $jt,eMt,tMt,nMt,rMt,iMt,aMt,oMt;L(WG,`OrthogonalEdgeRouter`,1445),q(1438,1,FG,Wue),Q.pg=function(e){return QZe(P(e,37))},Q.If=function(e,t){Kct(this,P(e,37),t)};var sMt,cMt,lMt,uMt,B2,dMt;L(WG,`PolylineEdgeRouter`,1438),q(1439,1,GH,$a),Q.Lb=function(e){return $Be(P(e,9))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return $Be(P(e,9))},L(WG,`PolylineEdgeRouter/1`,1439),q(1851,1,PV,eo),Q.Mb=function(e){return P(e,133).c==(WO(),V2)},L(GG,`HyperEdgeCycleDetector/lambda$0$Type`,1851),q(1852,1,{},to),Q.Xe=function(e){return P(e,133).d},L(GG,`HyperEdgeCycleDetector/lambda$1$Type`,1852),q(1853,1,PV,no),Q.Mb=function(e){return P(e,133).c==(WO(),V2)},L(GG,`HyperEdgeCycleDetector/lambda$2$Type`,1853),q(1854,1,{},ro),Q.Xe=function(e){return P(e,133).d},L(GG,`HyperEdgeCycleDetector/lambda$3$Type`,1854),q(1855,1,{},io),Q.Xe=function(e){return P(e,133).d},L(GG,`HyperEdgeCycleDetector/lambda$4$Type`,1855),q(1856,1,{},ao),Q.Xe=function(e){return P(e,133).d},L(GG,`HyperEdgeCycleDetector/lambda$5$Type`,1856),q(116,1,{35:1,116:1},cM),Q.Dd=function(e){return Hoe(this,P(e,116))},Q.Fb=function(e){var t;return M(e,116)?(t=P(e,116),this.g==t.g):!1},Q.Hb=function(){return this.g},Q.Ib=function(){for(var e=new _x(`{`),t,n,r=new E(this.n);r.a<r.c.c.length;)n=P(z(r),12),t=SI(n.i),t??=`n`+W_e(n.i),e.a+=``+t,r.a<r.c.c.length&&(e.a+=`,`);return e.a+=`}`,e.a},Q.a=0,Q.b=0,Q.c=NaN,Q.d=0,Q.g=0,Q.i=0,Q.o=0,Q.s=NaN,L(GG,`HyperEdgeSegment`,116),q(133,1,{133:1},tD),Q.Ib=function(){return this.a+`->`+this.b+` (`+yhe(this.c)+`)`},Q.d=0,L(GG,`HyperEdgeSegmentDependency`,133),q(515,23,{3:1,35:1,23:1,515:1},xue);var V2,H2,fMt=FA(GG,`HyperEdgeSegmentDependency/DependencyType`,515,nY,_De,mye),pMt;q(1857,1,{},_ne),L(GG,`HyperEdgeSegmentSplitter`,1857),q(1858,1,{},Ioe),Q.a=0,Q.b=0,L(GG,`HyperEdgeSegmentSplitter/AreaRating`,1858),q(340,1,{340:1},KS),Q.a=0,Q.b=0,Q.c=0,L(GG,`HyperEdgeSegmentSplitter/FreeArea`,340),q(1859,1,VH,oo),Q.Le=function(e,t){return I_e(P(e,116),P(t,116))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(GG,`HyperEdgeSegmentSplitter/lambda$0$Type`,1859),q(1860,1,gV,GTe),Q.Ad=function(e){Xje(this.a,this.d,this.c,this.b,P(e,116))},Q.b=0,L(GG,`HyperEdgeSegmentSplitter/lambda$1$Type`,1860),q(1861,1,{},so),Q.Kb=function(e){return new jC(null,new nD(P(e,116).e,16))},L(GG,`HyperEdgeSegmentSplitter/lambda$2$Type`,1861),q(1862,1,{},co),Q.Kb=function(e){return new jC(null,new nD(P(e,116).j,16))},L(GG,`HyperEdgeSegmentSplitter/lambda$3$Type`,1862),q(1863,1,{},lo),Q.We=function(e){return O(N(e))},L(GG,`HyperEdgeSegmentSplitter/lambda$4$Type`,1863),q(653,1,{},Iw),Q.a=0,Q.b=0,Q.c=0,L(GG,`OrthogonalRoutingGenerator`,653),q(1668,1,{},uo),Q.Kb=function(e){return new jC(null,new nD(P(e,116).e,16))},L(GG,`OrthogonalRoutingGenerator/lambda$0$Type`,1668),q(1669,1,{},fo),Q.Kb=function(e){return new jC(null,new nD(P(e,116).j,16))},L(GG,`OrthogonalRoutingGenerator/lambda$1$Type`,1669),q(661,1,{}),L(KG,`BaseRoutingDirectionStrategy`,661),q(1849,661,{},Uie),Q.xg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t+e.o*n,u=new E(e.n);u.a<u.c.c.length;)for(l=P(z(u),12),f=PM(U(k(o6,1),X,8,0,[l.i.n,l.n,l.a])).a,c=new E(l.g);c.a<c.c.c.length;)s=P(z(c),17),xO(s)||(h=s.d,g=PM(U(k(o6,1),X,8,0,[h.i.n,h.n,h.a])).a,r.Math.abs(f-g)>mU&&(o=d,a=e,i=new A(f,o),pC(s.a,i),jz(this,s,a,i,!1),p=e.r,p&&(m=O(N(LF(p.e,0))),i=new A(m,o),pC(s.a,i),jz(this,s,a,i,!1),o=t+p.o*n,a=p,i=new A(m,o),pC(s.a,i),jz(this,s,a,i,!1)),i=new A(g,o),pC(s.a,i),jz(this,s,a,i,!1)))},Q.yg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.zg=function(){return wB(),j5},Q.Ag=function(){return wB(),m5},L(KG,`NorthToSouthRoutingStrategy`,1849),q(1850,661,{},Wie),Q.xg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t-e.o*n,u=new E(e.n);u.a<u.c.c.length;)for(l=P(z(u),12),f=PM(U(k(o6,1),X,8,0,[l.i.n,l.n,l.a])).a,c=new E(l.g);c.a<c.c.c.length;)s=P(z(c),17),xO(s)||(h=s.d,g=PM(U(k(o6,1),X,8,0,[h.i.n,h.n,h.a])).a,r.Math.abs(f-g)>mU&&(o=d,a=e,i=new A(f,o),pC(s.a,i),jz(this,s,a,i,!1),p=e.r,p&&(m=O(N(LF(p.e,0))),i=new A(m,o),pC(s.a,i),jz(this,s,a,i,!1),o=t-p.o*n,a=p,i=new A(m,o),pC(s.a,i),jz(this,s,a,i,!1)),i=new A(g,o),pC(s.a,i),jz(this,s,a,i,!1)))},Q.yg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.zg=function(){return wB(),m5},Q.Ag=function(){return wB(),j5},L(KG,`SouthToNorthRoutingStrategy`,1850),q(1848,661,{},Gie),Q.xg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t+e.o*n,u=new E(e.n);u.a<u.c.c.length;)for(l=P(z(u),12),f=PM(U(k(o6,1),X,8,0,[l.i.n,l.n,l.a])).b,c=new E(l.g);c.a<c.c.c.length;)s=P(z(c),17),xO(s)||(h=s.d,g=PM(U(k(o6,1),X,8,0,[h.i.n,h.n,h.a])).b,r.Math.abs(f-g)>mU&&(o=d,a=e,i=new A(o,f),pC(s.a,i),jz(this,s,a,i,!0),p=e.r,p&&(m=O(N(LF(p.e,0))),i=new A(o,m),pC(s.a,i),jz(this,s,a,i,!0),o=t+p.o*n,a=p,i=new A(o,m),pC(s.a,i),jz(this,s,a,i,!0)),i=new A(o,g),pC(s.a,i),jz(this,s,a,i,!0)))},Q.yg=function(e){return e.i.n.b+e.n.b+e.a.b},Q.zg=function(){return wB(),p5},Q.Ag=function(){return wB(),N5},L(KG,`WestToEastRoutingStrategy`,1848),q(812,1,{},lit),Q.Ib=function(){return wL(this.a)},Q.b=0,Q.c=!1,Q.d=!1,Q.f=0,L(JG,`NubSpline`,812),q(410,1,{410:1},z7e,ADe),L(JG,`NubSpline/PolarCP`,410),q(1440,1,FG,iXe),Q.pg=function(e){return _$e(P(e,37))},Q.If=function(e,t){Clt(this,P(e,37),t)};var mMt,hMt,gMt,_Mt,vMt;L(JG,`SplineEdgeRouter`,1440),q(273,1,{273:1},LO),Q.Ib=function(){return this.a+` ->(`+this.c+`) `+this.b},Q.c=0,L(JG,`SplineEdgeRouter/Dependency`,273),q(454,23,{3:1,35:1,23:1,454:1},Sue);var U2,W2,yMt=FA(JG,`SplineEdgeRouter/SideToProcess`,454,nY,vDe,hye),bMt;q(1441,1,PV,po),Q.Mb=function(e){return tz(),!P(e,132).o},L(JG,`SplineEdgeRouter/lambda$0$Type`,1441),q(1442,1,{},mo),Q.Xe=function(e){return tz(),P(e,132).v+1},L(JG,`SplineEdgeRouter/lambda$1$Type`,1442),q(1443,1,gV,Cue),Q.Ad=function(e){Ixe(this.a,this.b,P(e,49))},L(JG,`SplineEdgeRouter/lambda$2$Type`,1443),q(1444,1,gV,wue),Q.Ad=function(e){Lxe(this.a,this.b,P(e,49))},L(JG,`SplineEdgeRouter/lambda$3$Type`,1444),q(132,1,{35:1,132:1},S2e,qat),Q.Dd=function(e){return Uoe(this,P(e,132))},Q.b=0,Q.e=!1,Q.f=0,Q.g=0,Q.j=!1,Q.k=!1,Q.n=0,Q.o=!1,Q.p=!1,Q.q=!1,Q.s=0,Q.u=0,Q.v=0,Q.F=0,L(JG,`SplineSegment`,132),q(457,1,{457:1},ho),Q.a=0,Q.b=!1,Q.c=!1,Q.d=!1,Q.e=!1,Q.f=0,L(JG,`SplineSegment/EdgeInformation`,457),q(1167,1,{},go),L(ZG,dft,1167),q(1168,1,VH,_o),Q.Le=function(e,t){return V4e(P(e,120),P(t,120))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(ZG,fft,1168),q(1166,1,{},Tse),L(ZG,`MrTree`,1166),q(398,23,{3:1,35:1,23:1,398:1,188:1,196:1},$v),Q.bg=function(){return U4e(this)},Q.og=function(){return U4e(this)};var G2,K2,q2,J2,xMt=FA(ZG,`TreeLayoutPhases`,398,nY,yje,gye),SMt;q(1082,214,sU,t_e),Q.kf=function(e,t){var n,r,i,a,o,s,c,l;for(hg(eS(J(e,(Lz(),pNt))))||bE((n=new Mm((Q_(),new ng(e))),n)),o=t.dh(QG),o.Tg(`build tGraph`,1),s=(c=new RO,Xj(c,e),W(c,(CB(),p4),e),l=new oh,ynt(e,c,l),qnt(e,c,l),c),o.Ug(),o=t.dh(QG),o.Tg(`Split graph`,1),a=Ent(this.a,s),o.Ug(),i=new E(a);i.a<i.c.c.length;)r=P(z(i),120),HQe(this.b,r,t.dh(.5999999940395355/a.c.length));o=t.dh(QG),o.Tg(`Pack components`,1),s=wut(a),o.Ug(),o=t.dh(QG),o.Tg(`Apply layout results`,1),est(s),o.Ug()},L(ZG,`TreeLayoutProvider`,1082),q(1812,1,bV,vo),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return KT(),k_(),kY},L(ZG,`TreeUtil/1`,1812),q(1813,1,bV,yo),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return KT(),k_(),kY},L(ZG,`TreeUtil/2`,1813),q(1803,1,PV,bo),Q.Mb=function(e){return hg(eS(K(P(e,40),(CB(),_4))))},L(ZG,`TreeUtil/lambda$0$Type`,1803),q(1809,1,PV,vne),Q.Mb=function(e){return this.a.Gc(P(e,40))},L(ZG,`TreeUtil/lambda$10$Type`,1809),q(1810,1,{},yne),Q.Kb=function(e){return Sje(this.a,P(e,40))},L(ZG,`TreeUtil/lambda$11$Type`,1810),q(1811,1,PV,Eue),Q.Mb=function(e){return LIe(this.a,this.b,P(e,40))},L(ZG,`TreeUtil/lambda$12$Type`,1811),q(1804,1,PV,bne),Q.Mb=function(e){return NGe(this.a,P(e,65))},L(ZG,`TreeUtil/lambda$3$Type`,1804),q(1805,1,VH,xo),Q.Le=function(e,t){return L_e(P(e,65),P(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(ZG,`TreeUtil/lambda$4$Type`,1805),q(1806,1,PV,xne),Q.Mb=function(e){return PGe(this.a,P(e,65))},L(ZG,`TreeUtil/lambda$7$Type`,1806),q(1807,1,VH,So),Q.Le=function(e,t){return R_e(P(e,65),P(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(ZG,`TreeUtil/lambda$8$Type`,1807),q(1808,1,{},Co),Q.Kb=function(e){return P(e,65).b},L(ZG,`TreeUtil/lambda$9$Type`,1808),q(494,150,{3:1,494:1,105:1,150:1}),Q.g=0,L(eK,`TGraphElement`,494),q(65,494,{3:1,65:1,494:1,105:1,150:1},DEe),Q.Ib=function(){return this.b&&this.c?gD(this.b)+`->`+gD(this.c):`e_`+Cj(this)},L(eK,`TEdge`,65),q(120,150,{3:1,120:1,105:1,150:1},RO),Q.Ib=function(){var e,t,n,r,i=null;for(r=TF(this.b,0);r.b!=r.d.c;)n=P(RD(r),40),i+=(n.c==null||n.c.length==0?`n_`+n.g:`n_`+n.c)+`
`;for(t=TF(this.a,0);t.b!=t.d.c;)e=P(RD(t),65),i+=(e.b&&e.c?gD(e.b)+`->`+gD(e.c):`e_`+Cj(e))+`
`;return i};var CMt=L(eK,`TGraph`,120);q(633,494,{3:1,494:1,633:1,105:1,150:1}),L(eK,`TShape`,633),q(40,633,{3:1,494:1,40:1,633:1,105:1,150:1},zM),Q.Ib=function(){return gD(this)};var Y2=L(eK,`TNode`,40);q(236,1,bV,Km),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){var e;return e=TF(this.a.d,0),new qm(e)},L(eK,`TNode/2`,236),q(334,1,aV,qm),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return P(RD(this.a),65).c},Q.Ob=function(){return l_(this.a)},Q.Qb=function(){tA(this.a)},L(eK,`TNode/2/1`,334),q(1893,1,QU,wo),Q.If=function(e,t){mut(this,P(e,120),t)},L(tK,`CompactionProcessor`,1893),q(1894,1,VH,Sne),Q.Le=function(e,t){return FBe(this.a,P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$0$Type`,1894),q(1895,1,PV,Due),Q.Mb=function(e){return qEe(this.b,this.a,P(e,49))},Q.a=0,Q.b=0,L(tK,`CompactionProcessor/lambda$1$Type`,1895),q(1904,1,VH,To),Q.Le=function(e,t){return ewe(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$10$Type`,1904),q(1905,1,VH,Eo),Q.Le=function(e,t){return Gme(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$11$Type`,1905),q(1906,1,VH,Do),Q.Le=function(e,t){return twe(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$12$Type`,1906),q(1896,1,PV,Cne),Q.Mb=function(e){return Ype(this.a,P(e,49))},Q.a=0,L(tK,`CompactionProcessor/lambda$2$Type`,1896),q(1897,1,PV,wne),Q.Mb=function(e){return Xpe(this.a,P(e,49))},Q.a=0,L(tK,`CompactionProcessor/lambda$3$Type`,1897),q(1898,1,PV,Oo),Q.Mb=function(e){return P(e,40).c.indexOf($G)==-1},L(tK,`CompactionProcessor/lambda$4$Type`,1898),q(1899,1,{},Tne),Q.Kb=function(e){return AAe(this.a,P(e,40))},Q.a=0,L(tK,`CompactionProcessor/lambda$5$Type`,1899),q(qV,1,{},Ene),Q.Kb=function(e){return gIe(this.a,P(e,40))},Q.a=0,L(tK,`CompactionProcessor/lambda$6$Type`,qV),q(1901,1,VH,Dne),Q.Le=function(e,t){return wNe(this.a,P(e,240),P(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$7$Type`,1901),q(1902,1,VH,One),Q.Le=function(e,t){return TNe(this.a,P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$8$Type`,1902),q(1903,1,VH,ko),Q.Le=function(e,t){return Kme(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(tK,`CompactionProcessor/lambda$9$Type`,1903),q(1891,1,QU,Ao),Q.If=function(e,t){_et(P(e,120),t)},L(tK,`DirectionProcessor`,1891),q(1883,1,QU,n_e),Q.If=function(e,t){Unt(this,P(e,120),t)},L(tK,`FanProcessor`,1883),q(1251,1,QU,jo),Q.If=function(e,t){K9e(P(e,120),t)},L(tK,`GraphBoundsProcessor`,1251),q(1252,1,{},Mo),Q.We=function(e){return P(e,40).e.a},L(tK,`GraphBoundsProcessor/lambda$0$Type`,1252),q(1253,1,{},No),Q.We=function(e){return P(e,40).e.b},L(tK,`GraphBoundsProcessor/lambda$1$Type`,1253),q(1254,1,{},Po),Q.We=function(e){return ile(P(e,40))},L(tK,`GraphBoundsProcessor/lambda$2$Type`,1254),q(1255,1,{},Fo),Q.We=function(e){return ale(P(e,40))},L(tK,`GraphBoundsProcessor/lambda$3$Type`,1255),q(264,23,{3:1,35:1,23:1,264:1,196:1},ey),Q.bg=function(){switch(this.g){case 0:return new lae;case 1:return new n_e;case 2:return new cae;case 3:return new Bo;case 4:return new Lo;case 8:return new Io;case 5:return new Ao;case 6:return new Ho;case 7:return new wo;case 9:return new jo;case 10:return new Uo;default:throw D(new sg(aW+(this.f==null?``+this.g:this.f)))}};var wMt,TMt,EMt,DMt,OMt,kMt,AMt,jMt,MMt,NMt,X2,PMt=FA(tK,oW,264,nY,PBe,_ye),FMt;q(1890,1,QU,Io),Q.If=function(e,t){zct(P(e,120),t)},L(tK,`LevelCoordinatesProcessor`,1890),q(1888,1,QU,Lo),Q.If=function(e,t){F5e(this,P(e,120),t)},Q.a=0,L(tK,`LevelHeightProcessor`,1888),q(1889,1,bV,Ro),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return KT(),k_(),kY},L(tK,`LevelHeightProcessor/1`,1889),q(1884,1,QU,cae),Q.If=function(e,t){A9e(this,P(e,120),t)},L(tK,`LevelProcessor`,1884),q(1885,1,PV,zo),Q.Mb=function(e){return hg(eS(K(P(e,40),(CB(),_4))))},L(tK,`LevelProcessor/lambda$0$Type`,1885),q(1886,1,QU,Bo),Q.If=function(e,t){_2e(this,P(e,120),t)},Q.a=0,L(tK,`NeighborsProcessor`,1886),q(1887,1,bV,Vo),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return KT(),k_(),kY},L(tK,`NeighborsProcessor/1`,1887),q(1892,1,QU,Ho),Q.If=function(e,t){Vnt(this,P(e,120),t)},Q.a=0,L(tK,`NodePositionProcessor`,1892),q(1882,1,QU,lae),Q.If=function(e,t){Wat(this,P(e,120),t)},L(tK,`RootProcessor`,1882),q(1907,1,QU,Uo),Q.If=function(e,t){UJe(P(e,120),t)},L(tK,`Untreeifyer`,1907),q(385,23,{3:1,35:1,23:1,385:1},ty);var Z2,Q2,IMt,LMt=FA(rK,`EdgeRoutingMode`,385,nY,uke,vye),RMt,$2,e4,t4,zMt,BMt,n4,r4,VMt,i4,HMt,a4,o4,s4,c4,l4,u4,d4,f4,p4,m4,h4,UMt,WMt,g4,_4,v4,y4;q(846,1,gU,mee),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Xmt),``),rht),`Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level`),(mx(),!1)),(BL(),Q3)),uY),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Zmt),``),`Edge End Texture Length`),`Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing.`),7),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Qmt),``),`Tree Level`),`The index for the tree level the node is in`),G(0)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,$mt),``),rht),`When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint`),G(-1)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,eht),``),`Weighting of Nodes`),`Which weighting to use when computing a node order.`),eNt),e6),ENt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,tht),``),`Edge Routing Mode`),`Chooses an Edge Routing algorithm.`),JMt),e6),LMt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,nht),``),`Search Order`),`Which search order to use when computing a spanning tree.`),ZMt),e6),kNt),gP(Y3)))),_lt((new df,e))};var GMt,KMt,qMt,JMt,YMt,XMt,ZMt,QMt,$Mt,eNt;L(rK,`MrTreeMetaDataProvider`,846),q(990,1,gU,df),Q.tf=function(e){_lt(e)};var tNt,nNt,rNt,b4,iNt,aNt,x4,oNt,sNt,cNt,lNt,uNt,dNt,fNt,pNt,mNt,hNt,gNt,S4,C4,_Nt,vNt,yNt,w4,bNt,xNt,SNt,CNt,wNt,T4,TNt;L(rK,`MrTreeOptions`,990),q(991,1,{},Wo),Q.uf=function(){var e;return e=new t_e,e},Q.vf=function(e){},L(rK,`MrTreeOptions/MrtreeFactory`,991),q(353,23,{3:1,35:1,23:1,353:1},ny);var E4,D4,O4,k4,ENt=FA(rK,`OrderWeighting`,353,nY,Tje,yye),DNt;q(425,23,{3:1,35:1,23:1,425:1},Oue);var ONt,A4,kNt=FA(rK,`TreeifyingOrder`,425,nY,yDe,bye),ANt;q(1446,1,FG,tf),Q.pg=function(e){return P(e,120),jNt},Q.If=function(e,t){Rze(this,P(e,120),t)};var jNt;L(`org.eclipse.elk.alg.mrtree.p1treeify`,`DFSTreeifyer`,1446),q(1447,1,FG,nf),Q.pg=function(e){return P(e,120),MNt},Q.If=function(e,t){R9e(this,P(e,120),t)};var MNt;L(aK,`NodeOrderer`,1447),q(1454,1,{},ts),Q.rd=function(e){return Exe(e)},L(aK,`NodeOrderer/0methodref$lambda$6$Type`,1454),q(1448,1,PV,ns),Q.Mb=function(e){return fA(),hg(eS(K(P(e,40),(CB(),_4))))},L(aK,`NodeOrderer/lambda$0$Type`,1448),q(1449,1,PV,rs),Q.Mb=function(e){return fA(),P(K(P(e,40),(Lz(),S4)),15).a<0},L(aK,`NodeOrderer/lambda$1$Type`,1449),q(1450,1,PV,Ane),Q.Mb=function(e){return BRe(this.a,P(e,40))},L(aK,`NodeOrderer/lambda$2$Type`,1450),q(1451,1,PV,kne),Q.Mb=function(e){return jAe(this.a,P(e,40))},L(aK,`NodeOrderer/lambda$3$Type`,1451),q(1452,1,VH,is),Q.Le=function(e,t){return hLe(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(aK,`NodeOrderer/lambda$4$Type`,1452),q(1453,1,PV,as),Q.Mb=function(e){return fA(),P(K(P(e,40),(CB(),r4)),15).a!=0},L(aK,`NodeOrderer/lambda$5$Type`,1453),q(1455,1,FG,rf),Q.pg=function(e){return P(e,120),NNt},Q.If=function(e,t){nnt(this,P(e,120),t)},Q.b=0;var NNt;L(`org.eclipse.elk.alg.mrtree.p3place`,`NodePlacer`,1455),q(1456,1,FG,af),Q.pg=function(e){return P(e,120),PNt},Q.If=function(e,t){_tt(P(e,120),t)};var PNt;L(oK,`EdgeRouter`,1456),q(1458,1,VH,Ko),Q.Le=function(e,t){return Ub(P(e,15).a,P(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/0methodref$compare$Type`,1458),q(1463,1,{},qo),Q.We=function(e){return O(N(e))},L(oK,`EdgeRouter/1methodref$doubleValue$Type`,1463),q(1465,1,VH,Jo),Q.Le=function(e,t){return RN(O(N(e)),O(N(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/2methodref$compare$Type`,1465),q(1467,1,VH,Yo),Q.Le=function(e,t){return RN(O(N(e)),O(N(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/3methodref$compare$Type`,1467),q(1469,1,{},Go),Q.We=function(e){return O(N(e))},L(oK,`EdgeRouter/4methodref$doubleValue$Type`,1469),q(1471,1,VH,Xo),Q.Le=function(e,t){return RN(O(N(e)),O(N(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/5methodref$compare$Type`,1471),q(1473,1,VH,Zo),Q.Le=function(e,t){return RN(O(N(e)),O(N(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/6methodref$compare$Type`,1473),q(1457,1,{},Qo),Q.Kb=function(e){return pA(),P(K(P(e,40),(Lz(),T4)),15)},L(oK,`EdgeRouter/lambda$0$Type`,1457),q(1468,1,{},$o),Q.Kb=function(e){return bhe(P(e,40))},L(oK,`EdgeRouter/lambda$11$Type`,1468),q(1470,1,{},Aue),Q.Kb=function(e){return Pxe(this.b,this.a,P(e,40))},Q.a=0,Q.b=0,L(oK,`EdgeRouter/lambda$13$Type`,1470),q(1472,1,{},kue),Q.Kb=function(e){return Che(this.b,this.a,P(e,40))},Q.a=0,Q.b=0,L(oK,`EdgeRouter/lambda$15$Type`,1472),q(1474,1,VH,es),Q.Le=function(e,t){return oJe(P(e,65),P(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/lambda$17$Type`,1474),q(1475,1,VH,os),Q.Le=function(e,t){return sJe(P(e,65),P(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/lambda$18$Type`,1475),q(1476,1,VH,ss),Q.Le=function(e,t){return lJe(P(e,65),P(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/lambda$19$Type`,1476),q(1459,1,PV,jne),Q.Mb=function(e){return VDe(this.a,P(e,40))},Q.a=0,L(oK,`EdgeRouter/lambda$2$Type`,1459),q(1477,1,VH,cs),Q.Le=function(e,t){return cJe(P(e,65),P(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/lambda$20$Type`,1477),q(1460,1,VH,ls),Q.Le=function(e,t){return Xbe(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/lambda$3$Type`,1460),q(1461,1,VH,us),Q.Le=function(e,t){return Zbe(P(e,40),P(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`EdgeRouter/lambda$4$Type`,1461),q(1462,1,{},ds),Q.Kb=function(e){return xhe(P(e,40))},L(oK,`EdgeRouter/lambda$5$Type`,1462),q(1464,1,{},jue),Q.Kb=function(e){return Fxe(this.b,this.a,P(e,40))},Q.a=0,Q.b=0,L(oK,`EdgeRouter/lambda$7$Type`,1464),q(1466,1,{},Mue),Q.Kb=function(e){return She(this.b,this.a,P(e,40))},Q.a=0,Q.b=0,L(oK,`EdgeRouter/lambda$9$Type`,1466),q(662,1,{662:1},VYe),Q.e=0,Q.f=!1,Q.g=!1,L(oK,`MultiLevelEdgeNodeNodeGap`,662),q(1864,1,VH,lee),Q.Le=function(e,t){return FOe(P(e,240),P(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`MultiLevelEdgeNodeNodeGap/lambda$0$Type`,1864),q(1865,1,VH,fs),Q.Le=function(e,t){return IOe(P(e,240),P(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(oK,`MultiLevelEdgeNodeNodeGap/lambda$1$Type`,1865);var j4;q(487,23,{3:1,35:1,23:1,487:1,188:1,196:1},Nue),Q.bg=function(){return ZGe(this)},Q.og=function(){return ZGe(this)};var M4,N4,FNt=FA(oht,`RadialLayoutPhases`,487,nY,bDe,xye),INt;q(1083,214,sU,Ose),Q.kf=function(e,t){var n=m7e(this,e),r,i,a,o,s;if(t.Tg(`Radial layout`,n.c.length),hg(eS(J(e,(PL(),pPt))))||bE((r=new Mm((Q_(),new ng(e))),r)),s=x$e(e),IF(e,(iS(),j4),s),!s)throw D(new sg(`The given graph is not a tree!`));for(i=O(N(J(e,W4))),i==0&&(i=T4e(e)),IF(e,W4,i),o=new E(m7e(this,e));o.a<o.c.c.length;)a=P(z(o),43),a.If(e,t.dh(1));t.Ug()},L(oht,`RadialLayoutProvider`,1083),q(544,1,VH,d_),Q.Le=function(e,t){return Zet(this.a,this.b,P(e,26),P(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},Q.a=0,Q.b=0,L(oht,`RadialUtil/lambda$0$Type`,544),q(1349,1,QU,ps),Q.If=function(e,t){Wct(P(e,26),t)},L(cht,`CalculateGraphSize`,1349),q(1350,1,QU,ms),Q.If=function(e,t){Zit(P(e,26))},L(cht,`EdgeAngleCalculator`,1350),q(364,23,{3:1,35:1,23:1,364:1,196:1},ry),Q.bg=function(){switch(this.g){case 0:return new bs;case 1:return new hs;case 2:return new xs;case 3:return new ps;case 4:return new ms;default:throw D(new sg(aW+(this.f==null?``+this.g:this.f)))}};var P4,F4,I4,L4,R4,LNt=FA(cht,oW,364,nY,eNe,Sye),RNt;q(641,1,{}),Q.e=1,Q.g=0,L(lK,`AbstractRadiusExtensionCompaction`,641),q(1815,641,{},age),Q.Bg=function(e){var t,n,r,i,a,o,s,c,l;for(this.c=P(J(e,(iS(),j4)),26),_ee(this,this.c),this.d=YF(P(J(e,(PL(),K4)),303)),c=P(J(e,V4),15),c&&zp(this,c.a),s=N(J(e,(LB(),c8))),Bp(this,(dT(s),s)),l=iz(this.c),this.d&&this.d.Fg(l),Dtt(this,l),o=new dg(U(k(p7,1),uht,26,0,[this.c])),n=0;n<2;n++)for(t=0;t<l.c.length;t++)i=new dg(U(k(p7,1),uht,26,0,[(oD(t,l.c.length),P(l.c[t],26))])),a=t<l.c.length-1?(oD(t+1,l.c.length),P(l.c[t+1],26)):(oD(0,l.c.length),P(l.c[0],26)),r=t==0?P(AC(l,l.c.length-1),26):(oD(t-1,l.c.length),P(l.c[t-1],26)),Q$e(this,(oD(t,l.c.length),P(l.c[t],26),o),r,a,i)},L(lK,`AnnulusWedgeCompaction`,1815),q(1347,1,QU,hs),Q.If=function(e,t){zze(P(e,26),t)},L(lK,`GeneralCompactor`,1347),q(1814,641,{},gs),Q.Bg=function(e){var t,n=P(J(e,(iS(),j4)),26),r,i;this.f=n,this.b=YF(P(J(e,(PL(),K4)),303)),i=P(J(e,V4),15),i&&zp(this,i.a),r=N(J(e,(LB(),c8))),Bp(this,(dT(r),r)),t=iz(n),this.b&&this.b.Fg(t),Y0e(this,t)},Q.a=0,L(lK,`RadialCompaction`,1814),q(1823,1,{},_s),Q.Cg=function(e){var t,n,r,i,a,o;for(this.a=e,t=0,o=iz(e),r=0,a=new E(o);a.a<a.c.c.length;)for(i=P(z(a),26),++r,n=r;n<o.c.length;n++)$rt(this,i,(oD(n,o.c.length),P(o.c[n],26)))&&(t+=1);return t},L(dht,`CrossingMinimizationPosition`,1823),q(1821,1,{},vs),Q.Cg=function(e){var t,n,i=0,a,o,s,c,l,u,d,p,m,h;for(n=new XC(dx(PR(e).a.Jc(),new f));CR(n);)t=P(CO(n),85),c=cL(P(H((!t.c&&(t.c=new xS(r7,t,5,8)),t.c),0),84)),u=c.i+c.g/2,d=c.j+c.f/2,a=e.i+e.g/2,o=e.j+e.f/2,p=new Xg,p.a=u-a,p.b=d-o,s=new A(p.a,p.b),VI(s,e.g,e.f),p.a-=s.a,p.b-=s.b,a=u-p.a,o=d-p.b,l=new A(p.a,p.b),VI(l,c.g,c.f),p.a-=l.a,p.b-=l.b,u=a+p.a,d=o+p.b,m=u-a,h=d-o,i+=r.Math.sqrt(m*m+h*h);return i},L(dht,`EdgeLengthOptimization`,1821),q(1822,1,{},ys),Q.Cg=function(e){var t,n,i=0,a,o,s,c,l,u,d,p;for(n=new XC(dx(PR(e).a.Jc(),new f));CR(n);)t=P(CO(n),85),c=cL(P(H((!t.c&&(t.c=new xS(r7,t,5,8)),t.c),0),84)),l=c.i+c.g/2,u=c.j+c.f/2,a=P(J(c,(LB(),t8)),8),o=e.i+a.a+e.g/2,s=e.j+a.b+e.f,d=l-o,p=u-s,i+=r.Math.sqrt(d*d+p*p);return i},L(dht,`EdgeLengthPositionOptimization`,1822),q(1346,641,QU,bs),Q.If=function(e,t){H2e(this,P(e,26),t)},L(`org.eclipse.elk.alg.radial.intermediate.overlaps`,`RadiusExtensionOverlapRemoval`,1346),q(1348,1,QU,xs),Q.If=function(e,t){SCe(P(e,26),t)},L(`org.eclipse.elk.alg.radial.intermediate.rotation`,`GeneralRotator`,1348),q(426,23,{3:1,35:1,23:1,426:1},Pue);var zNt,z4,BNt=FA(dK,`AnnulusWedgeCriteria`,426,nY,xDe,Cye),VNt;q(386,23,{3:1,35:1,23:1,386:1},iy);var B4,HNt,UNt,WNt=FA(dK,fht,386,nY,dke,wye),GNt;q(847,1,gU,sf),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,pht),``),`Center On Root`),`Centers the layout on the root of the tree i.e. so that the central node is also the center node of the final layout. This introduces additional whitespace.`),(mx(),!1)),(BL(),Q3)),uY),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,mht),``),`Order ID`),`The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly.`),G(0)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,hht),``),`Radius`),`The radius option can be used to set the initial radius for the radial layouter.`),0),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,fK),``),`Rotate`),`The rotate option determines whether a rotation of the layout should be performed.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,pK),``),bht),`With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately.`),YNt),e6),WNt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,mK),``),`Compaction Step Size`),`Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration.`),G(1)),n6),hY),gP(Y3)))),TD(e,mK,pK,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ght),``),`Sorter`),`Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates.`),aPt),e6),kPt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,_ht),``),`Annulus Wedge Criteria`),`Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals.`),sPt),e6),BNt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,vht),``),`Translation Optimization`),`Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized.`),ZNt),e6),TPt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,hK),xht),`Target Angle`),`The angle in radians that the layout should be rotated to after layout.`),0),$3),pY),gP(Y3)))),TD(e,hK,fK,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,gK),xht),`Additional Wedge Space`),`If set to true, modifies the target angle by rotating further such that space is left for an edge to pass in between the nodes. This option should only be used in conjunction with top-down layout.`),!1),Q3),uY),gP(Y3)))),TD(e,gK,fK,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,yht),xht),`Outgoing Edge Angles`),`Calculate the required angle of connected nodes to leave space for an incoming edge. This option should only be used in conjunction with top-down layout.`),!1),Q3),uY),gP(Y3)))),Qct((new mf,e))};var KNt,qNt,JNt,YNt,XNt,ZNt,QNt,$Nt,ePt,tPt,nPt,rPt,iPt,aPt,oPt,sPt;L(dK,`RadialMetaDataProvider`,847),q(992,1,gU,mf),Q.tf=function(e){Qct(e)};var cPt,V4,H4,lPt,uPt,dPt,fPt,pPt,mPt,U4,hPt,gPt,W4,_Pt,vPt,yPt,G4,K4,bPt,xPt;L(dK,`RadialOptions`,992),q(993,1,{},Ss),Q.uf=function(){var e;return e=new Ose,e},Q.vf=function(e){},L(dK,`RadialOptions/RadialFactory`,993),q(354,23,{3:1,35:1,23:1,354:1},ay);var SPt,CPt,wPt,q4,TPt=FA(dK,`RadialTranslationStrategy`,354,nY,wje,Tye),EPt;q(303,23,{3:1,35:1,23:1,303:1},oy);var DPt,J4,OPt,kPt=FA(dK,`SortingStrategy`,303,nY,pke,Eye),APt;q(1436,1,FG,Cs),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){x4e(this,P(e,26),t)},Q.c=0,L(`org.eclipse.elk.alg.radial.p1position`,`EadesRadial`,1436),q(1819,1,{},ws),Q.Dg=function(e){return jJe(e)},L(Sht,`AnnulusWedgeByLeafs`,1819),q(1820,1,{},Ts),Q.Dg=function(e){return l$e(this,e)},L(Sht,`AnnulusWedgeByNodeSpace`,1820),q(1437,1,FG,Es),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){_Ge(this,P(e,26),t)},L(`org.eclipse.elk.alg.radial.p2routing`,`StraightLineEdgeRouter`,1437),q(811,1,{},pae),Q.Eg=function(e){},Q.Fg=function(e){$re(this,e)},L(Cht,`IDSorter`,811),q(1818,1,VH,Ds),Q.Le=function(e,t){return Bze(P(e,26),P(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(Cht,`IDSorter/lambda$0$Type`,1818),q(1817,1,{},Dze),Q.Eg=function(e){kAe(this,e)},Q.Fg=function(e){var t;e.dc()||(this.e||(t=mSe(P(e.Xb(0),26)),kAe(this,t)),$re(this.e,e))},L(Cht,`PolarCoordinateSorter`,1817),q(436,23,{3:1,35:1,23:1,436:1},sy);var Y4,X4,Z4,jPt=FA(Dht,`RectPackingLayoutPhases`,436,nY,mke,Dye),MPt;q(1087,214,sU,kse),Q.kf=function(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re;if(t.Tg(`Rectangle Packing`,1),f=P(J(e,(uz(),_3)),104),l=hg(eS(J(e,uFt))),d=O(N(J(e,v3))),C=hg(eS(J(e,vFt))),b=(!e.a&&(e.a=new F(p7,e,10,11)),e.a),hg(eS(J(e,h3)))||bE((a=new Mm((Q_(),new ng(e))),a)),ne=!1,C&&b.i>=3)for(S=P(H(b,0),26),ee=P(H(b,1),26),o=0;o+2<b.i;)if(x=S,S=ee,ee=P(H(b,o+2),26),x.f>=S.f+ee.f+d||ee.f>=x.f+S.f+d){ne=!0;break}else ++o;else ne=!0;if(!ne){for(p=b.i,c=new lx(b);c.e!=c.i.gc();)s=P(OF(c),26),IF(s,(LB(),n8),G(p)),--p;Prt(e,new Uh),t.Ug();return}for(n=(TT(this.a),kw(this.a,($P(),Y4),P(J(e,SFt),188)),kw(this.a,X4,P(J(e,hFt),188)),kw(this.a,Z4,P(J(e,yFt),188)),bfe(this.a,(re=new pT,bC(re,Y4,(gL(),e3)),bC(re,X4,$4),hg(eS(J(e,pFt)))&&bC(re,Y4,t3),hg(eS(J(e,oFt)))&&bC(re,Y4,Q4),re)),cB(this.a,e)),u=1/n.c.length,te=0,h=new E(n);h.a<h.c.c.length;){if(m=P(z(h),43),t.Zg())return;m.If(e,t.dh(u)),++te}for(_=0,g=0,y=new lx(b);y.e!=y.i.gc();)v=P(OF(y),26),_=r.Math.max(_,v.i+v.g),g=r.Math.max(g,v.j+v.f);M2e(e,new A(O(N(J(e,(fz(),i3)))),O(N(J(e,r3)))),new A(_,g)),WBe(b,f),l||TB(e,O(N(J(e,i3)))+(f.b+f.c),O(N(J(e,r3)))+(f.d+f.a),!1,!0),hg(eS(J(e,h3)))||bE((i=new Mm((Q_(),new ng(e))),i)),t.Ug()},L(Dht,`RectPackingLayoutProvider`,1087),q(1479,1,QU,Os),Q.If=function(e,t){Qit(P(e,26),t)},L(vK,`InteractiveNodeReorderer`,1479),q(1480,1,VH,ks),Q.Le=function(e,t){return NHe(P(e,26),P(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(vK,`InteractiveNodeReorderer/lambda$0$Type`,1480),q(401,23,{3:1,35:1,23:1,401:1,196:1},cy),Q.bg=function(){switch(this.g){case 0:return new Ns;case 1:return new Os;case 2:return new js;case 3:return new As}return null};var Q4,$4,e3,t3,NPt=FA(vK,oW,401,nY,Cje,Oye),PPt;q(1482,1,QU,As),Q.If=function(e,t){UKe(P(e,26),t)},L(vK,`MinSizePostProcessor`,1482),q(1481,1,QU,js),Q.If=function(e,t){_5e(P(e,26),t)},L(vK,`MinSizePreProcessor`,1481),q(1671,1,VH,Ms),Q.Le=function(e,t){return Efe(P(e,26),P(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(vK,`NodeSizeComparator`,1671),q(1478,1,QU,Ns),Q.If=function(e,t){NAe(P(e,26))},L(vK,`NodeSizeReorderer`,1478);var n3,r3,i3,FPt,IPt,a3,o3,s3,c3,l3,u3;q(387,23,{3:1,35:1,23:1,387:1},ly);var LPt,RPt,d3,zPt=FA(yK,`OptimizationGoal`,387,nY,fke,kye),BPt;q(849,1,gU,pf),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Oht),``),`Try box layout first`),`Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster.`),(mx(),!1)),(BL(),Q3)),uY),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,kht),``),`Current position of a node in the order of nodes`),`The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node.`),G(-1)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Aht),``),`Desired index of node`),`The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position.`),G(-1)),n6),hY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,jht),``),`In new Row`),`If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account.`),!1),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Mht),``),`Order nodes by height`),`If set to true the nodes will be sorted by their height before computing the layout. The largest node will be in the first position.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Nht),bK),`Width Approximation Strategy`),`Strategy for finding an initial width of the drawing.`),nFt),e6),TFt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Pht),bK),`Target Width`),`Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding.`),-1),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Fht),bK),`Optimization Goal`),`Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored.`),eFt),e6),zPt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Iht),bK),`Shift Last Placed.`),`When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces.`),!0),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Lht),`packing`),Vht),`Strategy for finding an initial placement on nodes.`),JPt),e6),kFt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Rht),Hht),`Row Height Reevaluation`),`During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,zht),Hht),`Compaction iterations`),`Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure.`),G(1)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Bht),`whiteSpaceElimination`),`White Space Approximation Strategy`),`Strategy for expanding nodes such that whitespace in the parent is eliminated.`),ZPt),e6),NFt),gP(Y3)))),out((new ff,e))};var VPt,HPt,UPt,WPt,GPt,KPt,qPt,JPt,YPt,XPt,ZPt,QPt,$Pt,eFt,tFt,nFt,rFt;L(yK,`RectPackingMetaDataProvider`,849),q(998,1,gU,ff),Q.tf=function(e){out(e)};var f3,iFt,aFt,p3,oFt,sFt,m3,cFt,lFt,uFt,dFt,fFt,h3,pFt,mFt,g3,hFt,_3,gFt,_Ft,v3,vFt,yFt,bFt,xFt,SFt,y3;L(yK,`RectPackingOptions`,998),q(999,1,{},Ps),Q.uf=function(){var e;return e=new kse,e},Q.vf=function(e){},L(yK,`RectPackingOptions/RectpackingFactory`,999),q(1670,1,{},Pye),Q.a=0,Q.c=!1,L(SK,`AreaApproximation`,1670);var CFt=yC(SK,`BestCandidateFilter`);q(664,1,{523:1},Fs),Q.Gg=function(e,t,n){var i,a,o,s,c,l=new ah;for(o=pH,c=new E(e);c.a<c.c.c.length;)s=P(z(c),238),o=r.Math.min(o,(s.c+(n.b+n.c))*(s.b+(n.d+n.a)));for(a=new E(e);a.a<a.c.c.length;)i=P(z(a),238),(i.c+(n.b+n.c))*(i.b+(n.d+n.a))==o&&ph(l.c,i);return l},L(SK,`AreaFilter`,664),q(665,1,{523:1},Is),Q.Gg=function(e,t,n){var i,a,o,s,c=new ah,l=pH;for(s=new E(e);s.a<s.c.c.length;)o=P(z(s),238),l=r.Math.min(l,r.Math.abs((o.c+(n.b+n.c))/(o.b+(n.d+n.a))-t));for(a=new E(e);a.a<a.c.c.length;)i=P(z(a),238),r.Math.abs((i.c+(n.b+n.c))/(i.b+(n.d+n.a))-t)==l&&ph(c.c,i);return c},L(SK,`AspectRatioFilter`,665),q(1429,1,FG,Ls),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){X7e(P(e,26),t)},L(SK,`GreedyWidthApproximator`,1429),q(663,1,{523:1},Rs),Q.Gg=function(e,t,n){var i,a,o,s,c,l=new ah;for(o=mH,c=new E(e);c.a<c.c.c.length;)s=P(z(c),238),o=r.Math.max(o,DC(s.c+(n.b+n.c),s.b+(n.d+n.a),s.a));for(a=new E(e);a.a<a.c.c.length;)i=P(z(a),238),DC(i.c+(n.b+n.c),i.b+(n.d+n.a),i.a)==o&&ph(l.c,i);return l},L(SK,`ScaleMeasureFilter`,663),q(1430,1,FG,zs),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){S4e(P(e,26),t)},L(SK,`TargetWidthWidthApproximator`,1430),q(478,23,{3:1,35:1,23:1,478:1,188:1,196:1},Fue),Q.bg=function(){return r1e(this)},Q.og=function(){return r1e(this)};var b3,wFt,TFt=FA(SK,`WidthApproximationStrategy`,478,nY,wDe,Wye),EFt;q(1431,1,FG,Bs),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){alt(this,P(e,26),t)},L(CK,`Compactor`,1431),q(1433,1,FG,Vs),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){S7e(P(e,26),t)},L(CK,`NoPlacement`,1433),q(429,23,{3:1,35:1,23:1,429:1,188:1,196:1},uy),Q.bg=function(){return aWe(this)},Q.og=function(){return aWe(this)};var x3,DFt,OFt,kFt=FA(CK,`PackingStrategy`,429,nY,_ke,Gye),AFt;q(797,1,{},Bue),Q.a=0,Q.b=0,Q.c=0,Q.d=pH,Q.e=0,Q.f=pH,L(CK,`RowFillingAndCompaction`,797),q(1432,1,FG,Hs),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){Dot(P(e,26),t)},L(CK,`SimplePlacement`,1432),q(1434,1,FG,Us),Q.pg=function(e){return P(e,26),null},Q.If=function(e,t){this.Hg(P(e,26),t)},Q.Hg=function(e,t){V6e(e,t)},L(Wht,`EqualWhitespaceEliminator`,1434),q(1435,1434,FG,Gs),Q.Hg=function(e,t){var n,r,i,a,o;t.Tg(`To Aspect Ratio Whitesapce Eliminator`,1),o=O(N(J(e,(fz(),i3)))),a=O(N(J(e,r3))),i=O(N(J(e,(uz(),f3)))),n=O(N(J(e,n3))),r=o/a,r<i?(o=a*i,IF(e,i3,o)):(n+=o/i-a,IF(e,n3,n),IF(e,r3,a+n)),V6e(e,t),t.Ug()},L(Wht,`ToAspectratioNodeExpander`,1435),q(430,23,{3:1,35:1,23:1,430:1,188:1,196:1},Iue),Q.bg=function(){return aVe(this)},Q.og=function(){return aVe(this)};var jFt,S3,MFt,NFt=FA(Wht,`WhiteSpaceEliminationStrategy`,430,nY,hke,Lye),PFt;q(173,1,{173:1},BM),Q.a=0,Q.c=!1,Q.d=0,Q.e=0,Q.f=0,Q.g=0,Q.i=0,Q.k=!1,Q.o=pH,Q.p=pH,Q.r=0,Q.s=0,Q.t=0,L(wK,`Block`,173),q(208,1,{208:1},SE),Q.a=0,Q.b=0,Q.d=0,Q.e=0,Q.f=0,L(wK,`BlockRow`,208),q(319,1,{319:1},UDe),Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=0,L(wK,`BlockStack`,319),q(238,1,{238:1},jxe,iqe),Q.a=0,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.g=0;var FFt=L(wK,`DrawingData`,238);q(369,23,{3:1,35:1,23:1,369:1},dy);var C3,w3,T3,E3,D3,IFt=FA(wK,`DrawingDataDescriptor`,369,nY,iNe,Hye),LFt;q(186,1,{186:1},Xke),Q.b=0,Q.c=0,Q.e=0,Q.f=0,L(wK,`RectRow`,186),q(750,1,{},bUe),Q.j=0,L(EK,Hft,750),q(1174,1,{},Ks),Q.$e=function(e){return QO(e.a,e.b)},L(EK,pft,1174),q(1175,1,{},Mne),Q.$e=function(e){return ENe(this.a,e)},L(EK,Uft,1175),q(1176,1,{},Nne),Q.$e=function(e){return gJe(this.a,e)},L(EK,Wft,1176),q(1177,1,{},Pne),Q.$e=function(e){return zVe(this.a,e)},L(EK,`ElkGraphImporter/lambda$3$Type`,1177),q(1178,1,{},Fne),Q.$e=function(e){return r3e(this.a,e)},L(EK,Gft,1178),q(1084,214,sU,Ese),Q.kf=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p;for(qO(e,(xL(),V3))&&(p=tS(J(e,(iI(),TIt))),a=att(zA(),p),a&&(o=P(pE(a.f),214),o.kf(e,t.dh(1)))),IF(e,R3,(GO(),P3)),IF(e,z3,(ML(),L3)),IF(e,B3,(sM(),U3)),s=P(J(e,(iI(),xIt)),15).a,t.Tg(`Overlap removal`,1),hg(eS(J(e,bIt))),c=new Dh,l=new Ine(c),r=new bUe,n=aut(r,e),u=!0,i=0;i<s&&u;){if(hg(eS(J(e,SIt)))){if(c.a.$b(),p2e(new lpe(l),n.i),c.a.gc()==0)break;n.e=c}for(TT(this.b),kw(this.b,(BN(),O3),(J_(),H3)),kw(this.b,k3,n.g),kw(this.b,A3,(q_(),N3)),this.a=cB(this.b,n),f=new E(this.a);f.a<f.c.c.length;)d=P(z(f),43),d.If(n,t.dh(1));IZe(r,n),u=hg(eS(K(n,(eM(),mSt)))),++i}cst(r,n),t.Ug()},L(EK,`OverlapRemovalLayoutProvider`,1084),q(1085,1,{},Ine),L(EK,`OverlapRemovalLayoutProvider/lambda$0$Type`,1085),q(435,23,{3:1,35:1,23:1,435:1},Lue);var O3,k3,A3,j3=FA(EK,`SPOrEPhases`,435,nY,gke,Uye),RFt;q(1184,1,{},Dse),L(EK,`ShrinkTree`,1184),q(1086,214,sU,mae),Q.kf=function(e,t){var n,r,i,a,o;qO(e,(xL(),V3))&&(o=tS(J(e,V3)),i=att(zA(),o),i&&(a=P(pE(i.f),214),a.kf(e,t.dh(1)))),r=new bUe,n=aut(r,e),e5e(this.a,n,t.dh(1)),cst(r,n)},L(EK,`ShrinkTreeLayoutProvider`,1086),q(310,150,{3:1,310:1,105:1,150:1},WDe),Q.c=!1,L(`org.eclipse.elk.alg.spore.graph`,`Graph`,310),q(477,23,{3:1,35:1,23:1,477:1,188:1,196:1},Gce),Q.bg=function(){return THe(this)},Q.og=function(){return THe(this)};var M3,zFt=FA(DK,fht,477,nY,TTe,Vye),BFt;q(546,23,{3:1,35:1,23:1,546:1,188:1,196:1},Mhe),Q.bg=function(){return new Ys},Q.og=function(){return new Ys};var N3,VFt=FA(DK,`OverlapRemovalStrategy`,546,nY,ETe,Rye),HFt;q(428,23,{3:1,35:1,23:1,428:1},Rue);var P3,F3,UFt=FA(DK,`RootSelection`,428,nY,TDe,zye),WFt;q(330,23,{3:1,35:1,23:1,330:1},fy);var GFt,I3,L3,KFt,qFt,JFt=FA(DK,`SpanningTreeCostFunction`,330,nY,aNe,Bye),YFt;q(996,1,gU,of),Q.tf=function(e){aat(e)};var XFt,ZFt,QFt,$Ft,eIt,tIt,R3,z3,B3,nIt,rIt,V3;L(DK,`SporeCompactionOptions`,996),q(997,1,{},Ws),Q.uf=function(){var e;return e=new mae,e},Q.vf=function(e){},L(DK,`SporeCompactionOptions/SporeCompactionFactory`,997),q(848,1,gU,hf),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,kK),``),`Underlying Layout Algorithm`),`A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction.`),(BL(),i6)),vY),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,MK),`structure`),`Structure Extraction Strategy`),`This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices.`),vIt),e6),EIt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Ght),NK),`Tree Construction Strategy`),`Whether a minimum spanning tree or a maximum spanning tree should be constructed.`),gIt),e6),kIt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Kht),NK),`Cost Function for Spanning Tree`),`The cost function is used in the creation of the spanning tree.`),mIt),e6),JFt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,AK),NK),`Root node for spanning tree construction`),`The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen.`),null),i6),vY),gP(Y3)))),TD(e,AK,jK,uIt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,jK),NK),`Root selection for spanning tree`),`This sets the method used to select a root node for the construction of a spanning tree`),fIt),e6),UFt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,qht),Kpt),Vht),`This option defines how the compaction is applied.`),aIt),e6),zFt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Jht),Kpt),`Orthogonal Compaction`),`Restricts the translation of nodes to orthogonal directions in the compaction phase.`),(mx(),!1)),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Yht),Zht),`Upper limit for iterations of overlap removal`),null),G(64)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Xht),Zht),`Whether to run a supplementary scanline overlap check.`),null),!0),Q3),uY),gP(Y3)))),Ltt((new gf,e)),aat((new of,e))};var iIt,aIt,oIt,sIt,cIt,lIt,uIt,dIt,fIt,pIt,mIt,hIt,gIt,_It,vIt,yIt;L(DK,`SporeMetaDataProvider`,848),q(994,1,gU,gf),Q.tf=function(e){Ltt(e)};var bIt,xIt,SIt,CIt,wIt,TIt;L(DK,`SporeOverlapRemovalOptions`,994),q(995,1,{},qs),Q.uf=function(){var e;return e=new Ese,e},Q.vf=function(e){},L(DK,`SporeOverlapRemovalOptions/SporeOverlapFactory`,995),q(527,23,{3:1,35:1,23:1,527:1,188:1,196:1},rTe),Q.bg=function(){return EHe(this)},Q.og=function(){return EHe(this)};var H3,EIt=FA(DK,`StructureExtractionStrategy`,527,nY,DTe,Kye),DIt;q(427,23,{3:1,35:1,23:1,427:1,188:1,196:1},zue),Q.bg=function(){return eKe(this)},Q.og=function(){return eKe(this)};var OIt,U3,kIt=FA(DK,`TreeConstructionStrategy`,427,nY,EDe,qye),AIt;q(1423,1,FG,Js),Q.pg=function(e){return P(e,310),new pT},Q.If=function(e,t){VZe(P(e,310),t)},L(Qht,`DelaunayTriangulationPhase`,1423),q(1424,1,gV,Lne),Q.Ad=function(e){$b(this.a,P(e,68).a)},L(Qht,`DelaunayTriangulationPhase/lambda$0$Type`,1424),q(781,1,FG,dae),Q.pg=function(e){return P(e,310),new pT},Q.If=function(e,t){this.Ig(P(e,310),t)},Q.Ig=function(e,t){var n,r,i;t.Tg(`Minimum spanning tree construction`,1),r=e.d?e.d.a:P(AC(e.i,0),68).a,i=hg(eS(K(e,(eM(),$Y))))?Iat(e.e,r,(n=e.b,n)):Iat(e.e,r,e.b),kVe(this,i,e),t.Ug()},L(FK,`MinSTPhase`,781),q(1426,781,FG,Kie),Q.Ig=function(e,t){var n,r,i,a;t.Tg(`Maximum spanning tree construction`,1),n=new Rne(e),i=e.d?e.d.c:P(AC(e.i,0),68).c,a=hg(eS(K(e,(eM(),$Y))))?Iat(e.e,i,(r=n,r)):Iat(e.e,i,n),kVe(this,a,e),t.Ug()},L(FK,`MaxSTPhase`,1426),q(1427,1,{},Rne),Q.$e=function(e){return jde(this.a,e)},L(FK,`MaxSTPhase/lambda$0$Type`,1427),q(1425,1,gV,zne),Q.Ad=function(e){_pe(this.a,P(e,68))},L(FK,`MinSTPhase/lambda$0$Type`,1425),q(783,1,FG,Ys),Q.pg=function(e){return P(e,310),new pT},Q.If=function(e,t){G$e(this,P(e,310),t)},Q.a=!1,L(IK,`GrowTreePhase`,783),q(784,1,gV,Obe),Q.Ad=function(e){lVe(this.a,this.b,this.c,P(e,225))},L(IK,`GrowTreePhase/lambda$0$Type`,784),q(1428,1,FG,Xs),Q.pg=function(e){return P(e,310),new pT},Q.If=function(e,t){oYe(this,P(e,310),t)},L(IK,`ShrinkTreeCompactionPhase`,1428),q(782,1,gV,kbe),Q.Ad=function(e){s6e(this.a,this.b,this.c,P(e,225))},L(IK,`ShrinkTreeCompactionPhase/lambda$0$Type`,782);var jIt=yC(PG,`IGraphElementVisitor`);q(853,1,{524:1},Zke),Q.Jg=function(e){var t=Aet(this,e);Xj(t,P(Zw(this.b,e),105)),Z8e(this,e,t)};var MIt,NIt,PIt;L(cU,`LayoutConfigurator`,853);var FIt=yC(cU,`LayoutConfigurator/IPropertyHolderOptionFilter`);q(928,1,{1994:1},Zs),Q.Kg=function(e,t){return Cse(e,t)},L(cU,`LayoutConfigurator/lambda$0$Type`,928),q(926,1,{829:1},Qs),Q.Lg=function(e,t){return wM(),!e.nf(t)},L(cU,`LayoutConfigurator/lambda$1$Type`,926),q(927,1,{1994:1},$s),Q.Kg=function(e,t){return wM(),!e.nf(t)},L(cU,`LayoutConfigurator/lambda$2$Type`,927),q(929,1,PV,Vue),Q.Mb=function(e){return aTe(this.a,this.b,P(e,1994))},L(cU,`LayoutConfigurator/lambda$3$Type`,929),q(851,1,{},ec),L(cU,`RecursiveGraphLayoutEngine`,851),q(224,63,RV,lie,vg),L(cU,`UnsupportedConfigurationException`,224),q(366,63,RV,yg),L(cU,`UnsupportedGraphException`,366),q(749,1,{}),L(PG,`AbstractRandomListAccessor`,749),q(441,749,{},YR),Q.Mg=function(){return null},Q.d=!0,Q.e=!0,Q.f=0,L(LK,`AlgorithmAssembler`,441),q(1169,1,PV,tc),Q.Mb=function(e){return!!P(e,95)},L(LK,`AlgorithmAssembler/lambda$0$Type`,1169),q(1170,1,{},Bne),Q.Kb=function(e){return Boe(this.a,P(e,95))},L(LK,`AlgorithmAssembler/lambda$1$Type`,1170),q(1171,1,PV,nc),Q.Mb=function(e){return!!P(e,74)},L(LK,`AlgorithmAssembler/lambda$2$Type`,1171),q(1172,1,gV,Vne),Q.Ad=function(e){Ij(this.a,P(e,74))},L(LK,`AlgorithmAssembler/lambda$3$Type`,1172),q(1173,1,gV,Hue),Q.Ad=function(e){Ehe(this.a,this.b,P(e,196))},L(LK,`AlgorithmAssembler/lambda$4$Type`,1173),q(1299,1,VH,rc),Q.Le=function(e,t){return jEe(P(e,196),P(t,196))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(LK,`EnumBasedFactoryComparator`,1299),q(74,749,{74:1},pT),Q.Mg=function(){return new Dh},Q.a=0,L(LK,`LayoutProcessorConfiguration`,74),q(1007,1,{524:1},_f),Q.Jg=function(e){Mj(LIt,new Hne(e))};var IIt,LIt,RIt;L(dU,`DeprecatedLayoutOptionReplacer`,1007),q(1008,1,gV,ic),Q.Ad=function(e){IFe(P(e,174))},L(dU,`DeprecatedLayoutOptionReplacer/lambda$0$Type`,1008),q(1009,1,gV,ac),Q.Ad=function(e){gKe(P(e,174))},L(dU,`DeprecatedLayoutOptionReplacer/lambda$1$Type`,1009),q(1010,1,{},Hne),Q.Wd=function(e,t){Dhe(this.a,P(e,147),P(t,41))},L(dU,`DeprecatedLayoutOptionReplacer/lambda$2$Type`,1010),q(144,1,{690:1,144:1},uL),Q.Fb=function(e){return gNe(this,e)},Q.Ng=function(){return this.b},Q.Og=function(){return this.c},Q.ve=function(){return this.e},Q.Hb=function(){return HM(this.c)},Q.Ib=function(){return`Layout Algorithm: `+this.c};var zIt=L(dU,`LayoutAlgorithmData`,144);q(289,1,{},oc),L(dU,`LayoutAlgorithmData/Builder`,289),q(707,1,{524:1},sc),Q.Jg=function(e){dMe(e)},L(dU,`LayoutAlgorithmResolver`,707),q(233,1,{690:1,233:1},$E),Q.Fb=function(e){return M(e,233)?CS(this.b,P(e,233).b):!1},Q.Ng=function(){return this.a},Q.Og=function(){return this.b},Q.ve=function(){return this.d},Q.Hb=function(){return HM(this.b)},Q.Ib=function(){return`Layout Type: `+this.b},L(dU,`LayoutCategoryData`,233),q(357,1,{},cc),L(dU,`LayoutCategoryData/Builder`,357),q(860,1,{},Het);var W3;L(dU,`LayoutMetaDataService`,860),q(861,1,{},Pwe),L(dU,`LayoutMetaDataService/Registry`,861),q(475,1,{475:1},lc),L(dU,`LayoutMetaDataService/Registry/Triple`,475),q(862,1,RK,uc),Q.Pg=function(){return new Xg},L(dU,`LayoutMetaDataService/lambda$0$Type`,862),q(863,1,zK,dc),Q.Qg=function(e){return qb(P(e,8))},L(dU,`LayoutMetaDataService/lambda$1$Type`,863),q(872,1,RK,fc),Q.Pg=function(){return new ah},L(dU,`LayoutMetaDataService/lambda$10$Type`,872),q(873,1,zK,pc),Q.Qg=function(e){return new NS(P(e,13))},L(dU,`LayoutMetaDataService/lambda$11$Type`,873),q(874,1,RK,mc),Q.Pg=function(){return new E_},L(dU,`LayoutMetaDataService/lambda$12$Type`,874),q(875,1,zK,hc),Q.Qg=function(e){return $S(P(e,66))},L(dU,`LayoutMetaDataService/lambda$13$Type`,875),q(876,1,RK,gc),Q.Pg=function(){return new Dh},L(dU,`LayoutMetaDataService/lambda$14$Type`,876),q(877,1,zK,_c),Q.Qg=function(e){return REe(P(e,47))},L(dU,`LayoutMetaDataService/lambda$15$Type`,877),q(878,1,RK,vc),Q.Pg=function(){return new pb},L(dU,`LayoutMetaDataService/lambda$16$Type`,878),q(879,1,zK,yc),Q.Qg=function(e){return oO(P(e,47))},L(dU,`LayoutMetaDataService/lambda$17$Type`,879),q(880,1,RK,bc),Q.Pg=function(){return new jh},L(dU,`LayoutMetaDataService/lambda$18$Type`,880),q(881,1,zK,xc),Q.Qg=function(e){return Lbe(P(e,141))},L(dU,`LayoutMetaDataService/lambda$19$Type`,881),q(864,1,RK,Sc),Q.Pg=function(){return new Rh},L(dU,`LayoutMetaDataService/lambda$2$Type`,864),q(865,1,zK,Cc),Q.Qg=function(e){return new Zg(P(e,78))},L(dU,`LayoutMetaDataService/lambda$3$Type`,865),q(866,1,RK,wc),Q.Pg=function(){return new Nh},L(dU,`LayoutMetaDataService/lambda$4$Type`,866),q(867,1,zK,Tc),Q.Qg=function(e){return new zS(P(e,140))},L(dU,`LayoutMetaDataService/lambda$5$Type`,867),q(868,1,RK,Ec),Q.Pg=function(){return new Fh},L(dU,`LayoutMetaDataService/lambda$6$Type`,868),q(869,1,zK,Dc),Q.Qg=function(e){return new Sve(P(e,104))},L(dU,`LayoutMetaDataService/lambda$7$Type`,869),q(870,1,RK,Oc),Q.Pg=function(){return new Vc},L(dU,`LayoutMetaDataService/lambda$8$Type`,870),q(871,1,zK,kc),Q.Qg=function(e){return new kIe(P(e,379))},L(dU,`LayoutMetaDataService/lambda$9$Type`,871);var G3=yC(lU,`IProperty`);q(21,1,{35:1,690:1,21:1,147:1},zL),Q.Dd=function(e){return Jpe(this,P(e,147))},Q.Fb=function(e){return M(e,21)?CS(this.f,P(e,21).f):M(e,147)&&CS(this.f,P(e,147).Og())},Q.Rg=function(){var e;if(M(this.b,4)){if(e=dqe(this.b),e==null)throw D(new cg(rgt+this.f+`'. Make sure it's type is registered with the `+($x(w7),w7.k)+ngt));return e}else return this.b},Q.Ng=function(){return this.d},Q.Og=function(){return this.f},Q.ve=function(){return this.i},Q.Hb=function(){return HM(this.f)},Q.Ib=function(){return`Layout Option: `+this.f},L(dU,`LayoutOptionData`,21),q(24,1,{},Ac),L(dU,`LayoutOptionData/Builder`,24),q(160,23,{3:1,35:1,23:1,160:1},py);var K3,q3,J3,Y3,X3,Z3=FA(dU,`LayoutOptionData/Target`,160,nY,oNe,Jye),BIt;q(285,23,{3:1,35:1,23:1,285:1},my);var Q3,$3,e6,t6,n6,r6,i6,VIt,HIt=FA(dU,`LayoutOptionData/Type`,285,nY,_Le,Yye),UIt,a6,WIt;q(119,1,{119:1},Ob,zT,aE),Q.Fb=function(e){var t;return e==null||!M(e,119)?!1:(t=P(e,119),xT(this.c,t.c)&&xT(this.d,t.d)&&xT(this.b,t.b)&&xT(this.a,t.a))},Q.Hb=function(){return uN(U(k(ZJ,1),$B,1,5,[this.c,this.d,this.b,this.a]))},Q.Ib=function(){return`Rect[x=`+this.c+`,y=`+this.d+`,w=`+this.b+`,h=`+this.a+`]`},Q.a=0,Q.b=0,Q.c=0,Q.d=0,L(nW,`ElkRectangle`,119),q(8,1,{3:1,4:1,8:1,414:1},Xg,eD,A,mb),Q.Fb=function(e){return oze(this,e)},Q.Hb=function(){return ob(this.a)+oXe(ob(this.b))},Q.ag=function(e){for(var t,n,r=0,i;r<e.length&&MUe((sD(r,e.length),e.charCodeAt(r)),Lft);)++r;for(t=e.length;t>0&&MUe((sD(t-1,e.length),e.charCodeAt(t-1)),Rft);)--t;if(r>=t)throw D(new sg(`The given string does not contain any numbers.`));if(i=Iz((YO(r,t,e.length),e.substr(r,t-r)),`,|;|\r|
`),i.length!=2)throw D(new sg(`Exactly two numbers are expected, `+i.length+` were found.`));try{this.a=OL(qL(i[0])),this.b=OL(qL(i[1]))}catch(e){throw e=hM(e),M(e,131)?(n=e,D(new sg(zft+n))):D(e)}},Q.Ib=function(){return`(`+this.a+`,`+this.b+`)`},Q.a=0,Q.b=0;var o6=L(nW,`KVector`,8);q(78,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,78:1,414:1},Rh,Zg,jhe),Q.Nc=function(){return XHe(this)},Q.ag=function(e){var t,n,r=Iz(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),i,a,o;YT(this);try{for(n=0,a=0,i=0,o=0;n<r.length;)r[n]!=null&&qL(r[n]).length>0&&(a%2==0?i=OL(r[n]):o=OL(r[n]),a>0&&a%2!=0&&pC(this,new A(i,o)),++a),++n}catch(e){throw e=hM(e),M(e,131)?(t=e,D(new sg(`The given string does not match the expected format for vectors.`+t))):D(e)}},Q.Ib=function(){for(var e=new _x(`(`),t=TF(this,0),n;t.b!=t.d.c;)n=P(RD(t),8),Qy(e,n.a+`,`+n.b),t.b!=t.d.c&&(e.a+=`; `);return(e.a+=`)`,e).a};var GIt=L(nW,`KVectorChain`,78);q(256,23,{3:1,35:1,23:1,256:1},hy);var s6,c6,l6,u6,d6,f6,KIt=FA(UK,`Alignment`,256,nY,iFe,ebe),qIt;q(975,1,gU,yf),Q.tf=function(e){Wnt(e)};var JIt,p6,YIt,XIt,ZIt,QIt,$It,eLt,tLt,nLt,rLt,iLt;L(UK,`BoxLayouterOptions`,975),q(976,1,{},jc),Q.uf=function(){var e;return e=new Pc,e},Q.vf=function(e){},L(UK,`BoxLayouterOptions/BoxFactory`,976),q(299,23,{3:1,35:1,23:1,299:1},gy);var m6,h6,g6,_6,v6,y6,b6=FA(UK,`ContentAlignment`,299,nY,aFe,tbe),aLt;q(689,1,gU,vf),Q.tf=function(e){_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,sgt),``),`Layout Algorithm`),`Select a specific layout algorithm.`),(BL(),i6)),vY),gP((CF(),Y3))))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,cgt),``),`Resolved Layout Algorithm`),`Meta data associated with the selected algorithm.`),r6),zIt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,hmt),``),`Alignment`),`Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.`),sLt),e6),KIt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,CU),``),`Aspect Ratio`),`The desired aspect ratio of the drawing, that is the quotient of width by height.`),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,lgt),``),`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.`),r6),GIt),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,kG),``),`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.`),fLt),t6),b6),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,DG),``),`Debug Mode`),`Whether additional debug information shall be generated.`),(mx(),!1)),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,OG),``),`Direction`),`Overall direction of edges: horizontal (right / left) or vertical (down / up).`),pLt),e6),b8),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,bG),``),`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.`),gLt),e6),A8),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,agt),``),`Expand Nodes`),`If active, nodes are expanded to fill the area of their parent.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,yG),``),`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`."),bLt),e6),PRt),zC(Y3,U(k(Z3,1),Z,160,0,[J3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,EU),``),`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.`),PLt),r6),zCt),zC(Y3,U(k(Z3,1),Z,160,0,[J3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,DU),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,NG),``),`interactive Layout`),`Whether the graph should be changeable interactively and by setting constraints`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,kU),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,yft),``),`Port Constraints`),`Defines constraints of the position of the ports of a node.`),HLt),e6),URt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,MG),``),`Position`),`The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position.`),r6),o6),zC(J3,U(k(Z3,1),Z,160,0,[X3,q3]))))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,bU),``),`Priority`),`Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.`),n6),hY),zC(J3,U(k(Z3,1),Z,160,0,[K3]))))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,wU),``),`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).`),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,TU),``),`Separate Connected Components`),`Whether each connected component should be processed separately.`),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Emt),``),`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.`),ELt),r6),GIt),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Amt),``),`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),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,jmt),``),`Hypernode`),`Whether the node should be handled as a hypernode.`),!1),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,ugt),``),`Label Manager`),`Label managers can shorten labels upon a layout algorithm's request.`),r6),XVt),zC(Y3,U(k(Z3,1),Z,160,0,[q3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,dgt),``),`Softwrapping Fuzziness`),`Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line.`),0),$3),pY),gP(q3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Nmt),``),`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.`),DLt),r6),LCt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,pmt),``),`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),Q3),uY),zC(J3,U(k(Z3,1),Z,160,0,[K3,X3,q3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,fgt),``),`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),$3),pY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,pgt),``),`Child Area Width`),`The width of the area occupied by the laid out children of a node.`),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,mgt),``),`Child Area Height`),`The height of the area occupied by the laid out children of a node.`),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,FU),``),$ht),`Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'`),!1),Q3),uY),gP(Y3)))),TD(e,FU,zU,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,hgt),``),`Animate`),`Whether the shift from the old layout to the new computed layout shall be animated.`),!0),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ggt),``),`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'.`),G(100)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,_gt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,vgt),``),`Maximal Animation Time`),`The maximal time for animations, in milliseconds.`),G(4e3)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ygt),``),`Minimal Animation Time`),`The minimal time for animations, in milliseconds.`),G(400)),n6),hY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,bgt),``),`Progress Bar`),`Whether a progress bar shall be displayed during layout computations.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,xgt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Sgt),``),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Cgt),``),`Zoom to Fit`),`Whether the zoom level shall be set to view the whole diagram after layout.`),!1),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ogt),`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.`),uLt),e6),vzt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,wgt),`json`),`Shape Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports.`),TLt),e6),ezt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Tgt),`json`),`Edge Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels.`),CLt),e6),gRt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,tmt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,nmt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,rmt),xG),`Components Spacing`),`Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated.`),20),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,imt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,SU),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,EG),xG),`Edge Node Spacing`),`Spacing to be preserved between nodes and edges.`),10),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,amt),xG),`Label Spacing`),`Determines the amount of space to be left between two labels of the same graph element.`),0),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,cmt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,omt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,smt),xG),`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),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,xU),xG),`Node Spacing`),`The minimal distance to be preserved between each two nodes.`),20),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,lmt),xG),`Node Self Loop Spacing`),`Spacing to be preserved between a node and its self loops.`),10),$3),pY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,umt),xG),`Port Spacing`),`Spacing between pairs of ports of the same node.`),10),$3),pY),zC(Y3,U(k(Z3,1),Z,160,0,[J3]))))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,dmt),xG),`Individual Spacing`),`Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent.`),r6),bzt),zC(J3,U(k(Z3,1),Z,160,0,[K3,X3,q3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Pmt),xG),`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.`),iRt),r6),LCt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,jG),jgt),`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).`),n6),hY),zC(Y3,U(k(Z3,1),Z,160,0,[J3]))))),TD(e,jG,AG,RLt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,AG),jgt),`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.`),ILt),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,vmt),Mgt),`Node Label Padding`),`Define padding for node labels that are placed inside of a node.`),kLt),r6),zCt),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,NU),Mgt),`Node Label Placement`),`Hints for where node labels are to be placed; if empty, the node label's position is not modified.`),ALt),t6),Y8),zC(J3,U(k(Z3,1),Z,160,0,[q3]))))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,xmt),qK),`Port Alignment`),`Defines the default port distribution for a node. May be overridden for each side individually.`),BLt),e6),$8),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Smt),qK),`Port Alignment (North)`),`Defines how ports on the northern side are placed, overriding the node's general port alignment.`),e6),$8),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Cmt),qK),`Port Alignment (South)`),`Defines how ports on the southern side are placed, overriding the node's general port alignment.`),e6),$8),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,wmt),qK),`Port Alignment (West)`),`Defines how ports on the western side are placed, overriding the node's general port alignment.`),e6),$8),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Tmt),qK),`Port Alignment (East)`),`Defines how ports on the eastern side are placed, overriding the node's general port alignment.`),e6),$8),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,MU),JK),`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.`),jLt),t6),B5),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,jU),JK),`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.`),NLt),t6),izt),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,VU),JK),`Node Size Minimum`),`The minimal size to which a node can be reduced.`),MLt),r6),o6),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,AU),JK),`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),Q3),uY),gP(Y3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Omt),CG),`Edge Label Placement`),`Gives a hint on where to put edge labels.`),mLt),e6),vRt),gP(q3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,OU),CG),`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),Q3),uY),gP(q3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Egt),`font`),`Font Name`),`Font name used for a label.`),i6),vY),gP(q3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Dgt),`font`),`Font Size`),`Font size used for a label.`),n6),hY),gP(q3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,Mmt),YK),`Port Anchor Offset`),`The offset to the port position where connections shall be attached.`),r6),o6),gP(X3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,kmt),YK),`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.`),n6),hY),gP(X3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,mmt),YK),`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.`),GLt),e6),P5),gP(X3)))),_P(e,new zL(Jg(qg(Yg(Hg(Kg(Wg(Gg(new Ac,fmt),YK),`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.`),$3),pY),gP(X3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,PU),Ngt),`Port Label Placement`),`Decides on a placement method for port labels; if empty, the node label's position is not modified.`),ULt),t6),f5),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,ymt),Ngt),`Port Labels Next to Port`),`Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE.`),!1),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,bmt),Ngt),`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),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,GK),XK),`Number of size categories`),`Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator.`),G(3)),n6),hY),gP(Y3)))),TD(e,GK,KK,dRt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Ogt),XK),`Weight of a node containing children for determining the graph size`),`When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five.`),G(4)),n6),hY),gP(Y3)))),TD(e,Ogt,GK,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,IU),XK),`Topdown Scale Factor`),`The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes.`),1),$3),pY),gP(Y3)))),TD(e,IU,zU,cRt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,KK),XK),`Topdown Size Approximator`),`The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size.`),null),r6),IRt),gP(J3)))),TD(e,KK,zU,lRt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,LU),XK),`Topdown Hierarchical Node Width`),`The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself.`),150),$3),pY),zC(Y3,U(k(Z3,1),Z,160,0,[J3]))))),TD(e,LU,zU,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,RU),XK),`Topdown Hierarchical Node Aspect Ratio`),`The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself.`),1.414),$3),pY),zC(Y3,U(k(Z3,1),Z,160,0,[J3]))))),TD(e,RU,zU,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,zU),XK),`Topdown Node Type`),`The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes.`),null),e6),szt),gP(J3)))),TD(e,zU,AU,null),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,kgt),XK),`Topdown Scale Cap`),`Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes.`),1),$3),pY),gP(Y3)))),TD(e,kgt,zU,sRt),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,gmt),Pgt),`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),Q3),uY),gP(J3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,_mt),Pgt),`Inside Self Loop`),`Whether a self loop should be routed inside a node instead of around that node.`),!1),Q3),uY),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Dmt),`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),$3),pY),gP(K3)))),_P(e,new zL(Jg(qg(Yg(Ug(Hg(Kg(Wg(Gg(new Ac,Agt),`edge`),`Edge Type`),`The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.`),vLt),e6),ERt),gP(K3)))),X_(e,new $E(zg(Vg(Bg(new cc,gH),`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.`))),X_(e,new $E(zg(Vg(Bg(new cc,`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.`))),X_(e,new $E(zg(Vg(Bg(new cc,yU),`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.`))),X_(e,new $E(zg(Vg(Bg(new cc,`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.`))),X_(e,new $E(zg(Vg(Bg(new cc,iht),`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.`))),X_(e,new $E(zg(Vg(Bg(new cc,`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.`))),X_(e,new $E(zg(Vg(Bg(new cc,_K),`Radial`),`Radial layout algorithms usually position the nodes of the graph on concentric circles.`))),Stt((new bf,e)),Wnt((new yf,e)),W9e((new xf,e))};var x6,oLt,sLt,S6,cLt,lLt,uLt,C6,w6,dLt,T6,fLt,E6,D6,pLt,O6,k6,mLt,hLt,gLt,_Lt,vLt,yLt,A6,bLt,xLt,j6,M6,N6,P6,SLt,CLt,wLt,TLt,F6,ELt,I6,DLt,OLt,kLt,L6,ALt,R6,jLt,z6,B6,MLt,V6,NLt,H6,U6,W6,PLt,FLt,ILt,LLt,RLt,zLt,BLt,G6,K6,q6,J6,VLt,Y6,X6,HLt,Z6,Q6,$6,ULt,WLt,e8,GLt,t8,n8,r8,i8,KLt,a8,qLt,JLt,YLt,XLt,ZLt,QLt,o8,$Lt,s8,eRt,tRt,c8,nRt,rRt,iRt,aRt,l8,u8,d8,f8,oRt,sRt,p8,cRt,m8,lRt,uRt,dRt,fRt;L(UK,`CoreOptions`,689),q(86,23,{3:1,35:1,23:1,86:1},_y);var h8,g8,_8,v8,y8,b8=FA(UK,`Direction`,86,nY,UMe,Zye),pRt;q(278,23,{3:1,35:1,23:1,278:1},vy);var x8,S8,mRt,hRt,gRt=FA(UK,`EdgeCoords`,278,nY,Eje,Qye),_Rt;q(279,23,{3:1,35:1,23:1,279:1},yy);var C8,w8,T8,vRt=FA(UK,`EdgeLabelPlacement`,279,nY,vke,$ye),yRt;q(222,23,{3:1,35:1,23:1,222:1},by);var E8,D8,O8,k8,A8=FA(UK,`EdgeRouting`,222,nY,Dje,Xye),bRt;q(327,23,{3:1,35:1,23:1,327:1},xy);var xRt,SRt,CRt,wRt,j8,TRt,ERt=FA(UK,`EdgeType`,327,nY,cFe,sbe),DRt;q(973,1,gU,bf),Q.tf=function(e){Stt(e)};var ORt,kRt,ARt,jRt,MRt,NRt,M8;L(UK,`FixedLayouterOptions`,973),q(974,1,{},Mc),Q.uf=function(){var e;return e=new Bc,e},Q.vf=function(e){},L(UK,`FixedLayouterOptions/FixedFactory`,974),q(347,23,{3:1,35:1,23:1,347:1},Sy);var N8,P8,F8,PRt=FA(UK,`HierarchyHandling`,347,nY,yke,cbe),FRt,IRt=yC(UK,`ITopdownSizeApproximator`);q(292,23,{3:1,35:1,23:1,292:1},Cy);var I8,L8,R8,z8,LRt=FA(UK,`LabelSide`,292,nY,Oje,obe),RRt;q(96,23,{3:1,35:1,23:1,96:1},wy);var B8,V8,H8,U8,W8,G8,K8,q8,J8,Y8=FA(UK,`NodeLabelPlacement`,96,nY,XLe,nbe),zRt;q(257,23,{3:1,35:1,23:1,257:1},Ty);var BRt,X8,Z8,VRt,Q8,$8=FA(UK,`PortAlignment`,257,nY,sNe,rbe),HRt;q(102,23,{3:1,35:1,23:1,102:1},Ey);var e5,t5,n5,r5,i5,a5,URt=FA(UK,`PortConstraints`,102,nY,sFe,ibe),WRt;q(280,23,{3:1,35:1,23:1,280:1},Dy);var o5,s5,c5,l5,u5,d5,f5=FA(UK,`PortLabelPlacement`,280,nY,oFe,abe),GRt;q(64,23,{3:1,35:1,23:1,64:1},Oy);var p5,m5,h5,g5,_5,v5,y5,b5,x5,S5,C5,w5,T5,E5,D5,O5,k5,A5,j5,M5,N5,P5=FA(UK,`PortSide`,64,nY,WMe,fbe),KRt;q(977,1,gU,xf),Q.tf=function(e){W9e(e)};var qRt,JRt,YRt,XRt,ZRt;L(UK,`RandomLayouterOptions`,977),q(978,1,{},Nc),Q.uf=function(){var e;return e=new Gc,e},Q.vf=function(e){},L(UK,`RandomLayouterOptions/RandomFactory`,978),q(300,23,{3:1,35:1,23:1,300:1},Yue);var F5,QRt,$Rt,ezt=FA(UK,`ShapeCoords`,300,nY,bke,pbe),tzt;q(380,23,{3:1,35:1,23:1,380:1},ky);var I5,L5,R5,z5,B5=FA(UK,`SizeConstraint`,380,nY,Aje,mbe),nzt;q(266,23,{3:1,35:1,23:1,266:1},Ay);var V5,H5,U5,rzt,W5,G5,K5,q5,J5,izt=FA(UK,`SizeOptions`,266,nY,TRe,ube),azt;q(281,23,{3:1,35:1,23:1,281:1},Xue);var Y5,ozt,X5,szt=FA(UK,`TopdownNodeTypes`,281,nY,xke,dbe),czt;q(288,23,$K);var lzt,uzt,dzt,fzt,Z5=FA(UK,`TopdownSizeApproximator`,288,nY,kje,lbe);q(969,288,$K,Hxe),Q.Sg=function(e){return ZJe(e)},FA(UK,`TopdownSizeApproximator/1`,969,Z5,null,null),q(970,288,$K,wCe),Q.Sg=function(e){var t=P(J(e,(LB(),i8)),144),n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=($g(),m=new Lh,m),te,ne,C;for(UR(ee,e),te=new oh,o=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));o.e!=o.i.gc();)i=P(OF(o),26),y=(p=new Lh,p),HR(y,ee),UR(y,i),C=ZJe(i),Cb(y,r.Math.max(i.g,C.a),r.Math.max(i.f,C.b)),XL(te.f,i,y);for(a=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));a.e!=a.i.gc();)for(i=P(OF(a),26),d=new lx((!i.e&&(i.e=new xS(i7,i,7,4)),i.e));d.e!=d.i.gc();)u=P(OF(d),85),x=P(By(VC(te.f,i)),26),S=P(Zw(te,H((!u.c&&(u.c=new xS(r7,u,5,8)),u.c),0)),26),b=(f=new Jc,f),XO((!b.b&&(b.b=new xS(r7,b,4,7)),b.b),x),XO((!b.c&&(b.c=new xS(r7,b,5,8)),b.c),S),zR(b,PE(x)),UR(b,u);g=P(pE(t.f),214);try{g.kf(ee,new Wc),sTe(t.f,g)}catch(e){throw e=hM(e),M(e,101)?(h=e,D(h)):D(e)}return qO(ee,w6)||qO(ee,C6)||Wlt(ee),l=O(N(J(ee,w6))),c=O(N(J(ee,C6))),s=l/c,n=O(N(J(ee,u8)))*r.Math.sqrt((!ee.a&&(ee.a=new F(p7,ee,10,11)),ee.a).i),ne=P(J(ee,W6),104),v=ne.b+ne.c+1,_=ne.d+ne.a+1,new A(r.Math.max(v,n),r.Math.max(_,n/s))},FA(UK,`TopdownSizeApproximator/2`,970,Z5,null,null),q(971,288,$K,sDe),Q.Sg=function(e){var t,n=O(N(J(e,(LB(),u8)))),r,i,a,o;return t=n/O(N(J(e,l8))),r=Lrt(e),a=P(J(e,W6),104),i=O(N(DF(c8))),PE(e)&&(i=O(N(J(PE(e),c8)))),o=nx(new A(n,t),r),wS(o,new A(-(a.b+a.c)-i,-(a.d+a.a)-i))},FA(UK,`TopdownSizeApproximator/3`,971,Z5,null,null),q(972,288,$K,TCe),Q.Sg=function(e){var t,n,i,a,o,s,c,l,u,d;for(s=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));s.e!=s.i.gc();)o=P(OF(s),26),J(o,(LB(),m8))!=null&&(!o.a&&(o.a=new F(p7,o,10,11)),o.a)&&(!o.a&&(o.a=new F(p7,o,10,11)),o.a).i>0?(n=P(J(o,m8),521),d=n.Sg(o),u=P(J(o,W6),104),Cb(o,r.Math.max(o.g,d.a+u.b+u.c),r.Math.max(o.f,d.b+u.d+u.a))):(!o.a&&(o.a=new F(p7,o,10,11)),o.a).i!=0&&Cb(o,O(N(J(o,u8))),O(N(J(o,u8)))/O(N(J(o,l8))));t=P(J(e,(LB(),i8)),144),l=P(pE(t.f),214);try{l.kf(e,new Wc),sTe(t.f,l)}catch(e){throw e=hM(e),M(e,101)?(c=e,D(c)):D(e)}return IF(e,x6,ZK),dMe(e),Wlt(e),a=O(N(J(e,w6))),i=O(N(J(e,C6))),new A(a,i)},FA(UK,`TopdownSizeApproximator/4`,972,Z5,null,null);var pzt;q(345,1,{852:1},Uh),Q.Tg=function(e,t){return L$e(this,e,t)},Q.Ug=function(){x0e(this)},Q.Vg=function(){return this.q},Q.Wg=function(){return this.f?tE(this.f):null},Q.Xg=function(){return tE(this.a)},Q.Yg=function(){return this.p},Q.Zg=function(){return!1},Q.$g=function(){return this.n},Q._g=function(){return this.p!=null&&!this.b},Q.ah=function(e){var t;this.n&&(t=e,$b(this.f,t))},Q.bh=function(e,t){var n,r;this.n&&e&&Yke(this,(n=new bwe,r=rnt(n,e),Jst(n),r),(XM(),Szt))},Q.dh=function(e){var t;return this.b?null:(t=SLe(this,this.g),pC(this.a,t),t.i=this,this.d=e,t)},Q.eh=function(e){e>0&&!this.b&&pze(this,e)},Q.b=!1,Q.c=0,Q.d=-1,Q.e=null,Q.f=null,Q.g=-1,Q.j=!1,Q.k=!1,Q.n=!1,Q.o=0,Q.q=0,Q.r=0,L(PG,`BasicProgressMonitor`,345),q(706,214,sU,Pc),Q.kf=function(e,t){Prt(e,t)},L(PG,`BoxLayoutProvider`,706),q(965,1,VH,Une),Q.Le=function(e,t){return L5e(this,P(e,26),P(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},Q.a=!1,L(PG,`BoxLayoutProvider/1`,965),q(167,1,{167:1},_A,Ahe),Q.Ib=function(){return this.c?ett(this.c):wL(this.b)},L(PG,`BoxLayoutProvider/Group`,167),q(326,23,{3:1,35:1,23:1,326:1},jy);var mzt,hzt,gzt,_zt,vzt=FA(PG,`BoxLayoutProvider/PackingMode`,326,nY,jje,hbe),yzt;q(966,1,VH,Fc),Q.Le=function(e,t){return SEe(P(e,167),P(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(PG,`BoxLayoutProvider/lambda$0$Type`,966),q(967,1,VH,Ic),Q.Le=function(e,t){return aEe(P(e,167),P(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(PG,`BoxLayoutProvider/lambda$1$Type`,967),q(968,1,VH,Lc),Q.Le=function(e,t){return oEe(P(e,167),P(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(PG,`BoxLayoutProvider/lambda$2$Type`,968),q(1338,1,{829:1},Rc),Q.Lg=function(e,t){return G_(),!M(t,174)||Cse((wM(),P(e,174)),t)},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type`,1338),q(1339,1,gV,Wne),Q.Ad=function(e){ZHe(this.a,P(e,147))},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type`,1339),q(1340,1,gV,uee),Q.Ad=function(e){P(e,105),G_()},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type`,1340),q(1344,1,gV,Gne),Q.Ad=function(e){xze(this.a,P(e,105))},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type`,1344),q(1342,1,PV,Que),Q.Mb=function(e){return lHe(this.a,this.b,P(e,147))},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type`,1342),q(1341,1,PV,$ue),Q.Mb=function(e){return whe(this.a,this.b,P(e,829))},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type`,1341),q(1343,1,gV,ede),Q.Ad=function(e){xCe(this.a,this.b,P(e,147))},L(PG,`ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type`,1343),q(930,1,{},zc),Q.Kb=function(e){return Tfe(e)},Q.Fb=function(e){return this===e},L(PG,`ElkUtil/lambda$0$Type`,930),q(931,1,gV,tde),Q.Ad=function(e){i3e(this.a,this.b,P(e,85))},Q.a=0,Q.b=0,L(PG,`ElkUtil/lambda$1$Type`,931),q(932,1,gV,nde),Q.Ad=function(e){Fae(this.a,this.b,P(e,170))},Q.a=0,Q.b=0,L(PG,`ElkUtil/lambda$2$Type`,932),q(933,1,gV,rde),Q.Ad=function(e){Wfe(this.a,this.b,P(e,157))},Q.a=0,Q.b=0,L(PG,`ElkUtil/lambda$3$Type`,933),q(934,1,gV,Kne),Q.Ad=function(e){Rxe(this.a,P(e,372))},L(PG,`ElkUtil/lambda$4$Type`,934),q(331,1,{35:1,331:1},ih),Q.Dd=function(e){return Kpe(this,P(e,242))},Q.Fb=function(e){var t;return M(e,331)?(t=P(e,331),this.a==t.a):!1},Q.Hb=function(){return xE(this.a)},Q.Ib=function(){return this.a+` (exclusive)`},Q.a=0,L(PG,`ExclusiveBounds/ExclusiveLowerBound`,331),q(1088,214,sU,Bc),Q.kf=function(e,t){var n,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Fixed Layout`,1),o=P(J(e,(LB(),hLt)),222),p=0,m=0,b=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));b.e!=b.i.gc();){for(v=P(OF(b),26),C=P(J(v,(rN(),M8)),8),C&&(xb(v,C.a,C.b),P(J(v,kRt),182).Gc((tF(),I5))&&(h=P(J(v,jRt),8),h.a>0&&h.b>0&&TB(v,h.a,h.b,!0,!0))),p=r.Math.max(p,v.i+v.g),m=r.Math.max(m,v.j+v.f),u=new lx((!v.n&&(v.n=new F(f7,v,1,7)),v.n));u.e!=u.i.gc();)c=P(OF(u),157),C=P(J(c,M8),8),C&&xb(c,C.a,C.b),p=r.Math.max(p,v.i+c.i+c.g),m=r.Math.max(m,v.j+c.j+c.f);for(ee=new lx((!v.c&&(v.c=new F(m7,v,9,9)),v.c));ee.e!=ee.i.gc();)for(S=P(OF(ee),125),C=P(J(S,M8),8),C&&xb(S,C.a,C.b),te=v.i+S.i,ne=v.j+S.j,p=r.Math.max(p,te+S.g),m=r.Math.max(m,ne+S.f),l=new lx((!S.n&&(S.n=new F(f7,S,1,7)),S.n));l.e!=l.i.gc();)c=P(OF(l),157),C=P(J(c,M8),8),C&&xb(c,C.a,C.b),p=r.Math.max(p,te+c.i+c.g),m=r.Math.max(m,ne+c.j+c.f);for(a=new XC(dx(PR(v).a.Jc(),new f));CR(a);)n=P(CO(a),85),d=elt(n),p=r.Math.max(p,d.a),m=r.Math.max(m,d.b);for(i=new XC(dx(G8e(v).a.Jc(),new f));CR(i);)n=P(CO(i),85),PE(CL(n))!=e&&(d=elt(n),p=r.Math.max(p,d.a),m=r.Math.max(m,d.b))}if(o==(UN(),E8))for(y=new lx((!e.a&&(e.a=new F(p7,e,10,11)),e.a));y.e!=y.i.gc();)for(v=P(OF(y),26),i=new XC(dx(PR(v).a.Jc(),new f));CR(i);)n=P(CO(i),85),s=irt(n),s.b==0?IF(n,F6,null):IF(n,F6,s);hg(eS(J(e,(rN(),ARt))))||(x=P(J(e,MRt),104),_=p+x.b+x.c,g=m+x.d+x.a,TB(e,_,g,!0,!0)),t.Ug()},L(PG,`FixedLayoutProvider`,1088),q(379,150,{3:1,414:1,379:1,105:1,150:1},Vc,kIe),Q.ag=function(e){var t,n,r,i,a,o,s,c,l;if(e)try{for(c=Iz(e,`;,;`),a=c,o=0,s=a.length;o<s;++o){if(i=a[o],n=Iz(i,`\\:`),r=qot(zA(),n[0]),!r)throw D(new sg(`Invalid option id: `+n[0]));if(l=Mot(r,n[1]),l==null)throw D(new sg(`Invalid option value: `+n[1]));l==null?(!this.q&&(this.q=new oh),jO(this.q,r)):(!this.q&&(this.q=new oh),ST(this.q,r,l))}}catch(e){throw e=hM(e),M(e,101)?(t=e,D(new iUe(t))):D(e)}},Q.Ib=function(){return tS(aO(jT((this.q?this.q:(KT(),KT(),DY)).vc().Mc(),new Hc),fIe(new Vbe,new we,new ye,new xe,U(k(NY,1),Z,130,0,[]))))};var bzt=L(PG,`IndividualSpacings`,379);q(964,1,{},Hc),Q.Kb=function(e){return CEe(P(e,45))},L(PG,`IndividualSpacings/lambda$0$Type`,964),q(708,1,{},gSe),Q.c=0,L(PG,`InstancePool`,708),q(1816,1,{},Uc),L(PG,`LoggedGraph`,1816),q(407,23,{3:1,35:1,23:1,407:1},Ny);var xzt,Szt,Czt,wzt,Tzt=FA(PG,`LoggedGraph/Type`,407,nY,Mje,gbe),Ezt;q(614,1,{852:1},Wc),Q.Tg=function(e,t){return!1},Q.Ug=function(){},Q.Vg=function(){return 0},Q.Wg=function(){return null},Q.Xg=function(){return null},Q.Yg=function(){return null},Q.Zg=function(){return!1},Q.$g=function(){return!1},Q._g=function(){return!1},Q.ah=function(e){},Q.bh=function(e,t){},Q.dh=function(e){return this},Q.eh=function(e){},L(PG,`NullElkProgressMonitor`,614),q(49,1,{20:1,49:1},My),Q.Ic=function(e){dO(this,e)},Q.Fb=function(e){var t,n,r;return M(e,49)?(n=P(e,49),t=this.a==null?n.a==null:DN(this.a,n.a),r=this.b==null?n.b==null:DN(this.b,n.b),t&&r):!1},Q.Hb=function(){var e,t,n=this.a==null?0:Cj(this.a),r,i,a;return e=n&VV,t=n&-65536,a=this.b==null?0:Cj(this.b),r=a&VV,i=a&-65536,e^i>>16&VV|t^r<<16},Q.Jc=function(){return new qne(this)},Q.Ib=function(){return this.a==null&&this.b==null?`pair(null,null)`:this.a==null?`pair(null,`+EP(this.b)+`)`:this.b==null?`pair(`+EP(this.a)+`,null)`:`pair(`+EP(this.a)+`,`+EP(this.b)+`)`},L(PG,`Pair`,49),q(979,1,aV,qne),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},Q.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 D(new xh)},Q.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),D(new vh)},Q.b=!1,Q.c=!1,L(PG,`Pair/1`,979),q(1078,214,sU,Gc),Q.kf=function(e,t){var n,r,i,a,o;if(t.Tg(`Random Layout`,1),(!e.a&&(e.a=new F(p7,e,10,11)),e.a).i==0){t.Ug();return}a=P(J(e,(IKe(),XRt)),15),i=a&&a.a!=0?new uO(a.a):new mP,n=gg(N(J(e,qRt))),o=gg(N(J(e,ZRt))),r=P(J(e,JRt),104),Sct(e,i,n,o,r),t.Ug()},L(PG,`RandomLayoutProvider`,1078),q(240,1,{240:1},JS),Q.Fb=function(e){return xT(this.a,P(e,240).a)&&xT(this.b,P(e,240).b)&&xT(this.c,P(e,240).c)},Q.Hb=function(){return uN(U(k(ZJ,1),$B,1,5,[this.a,this.b,this.c]))},Q.Ib=function(){return`(`+this.a+QB+this.b+QB+this.c+`)`},L(PG,`Triple`,240);var Dzt;q(550,1,{}),Q.Jf=function(){return new A(this.f.i,this.f.j)},Q.mf=function(e){return rDe(e,(LB(),Y6))?J(this.f,Ozt):J(this.f,e)},Q.Kf=function(){return new A(this.f.g,this.f.f)},Q.Lf=function(){return this.g},Q.nf=function(e){return qO(this.f,e)},Q.Mf=function(e){TA(this.f,e.a),EA(this.f,e.b)},Q.Nf=function(e){wA(this.f,e.a),yA(this.f,e.b)},Q.Of=function(e){this.g=e},Q.g=0;var Ozt;L(eq,`ElkGraphAdapters/AbstractElkGraphElementAdapter`,550),q(552,1,{837:1},Jm),Q.Pf=function(){var e,t;if(!this.b)for(this.b=OD(OT(this.a).i),t=new lx(OT(this.a));t.e!=t.i.gc();)e=P(OF(t),157),$b(this.b,new tg(e));return this.b},Q.b=null,L(eq,`ElkGraphAdapters/ElkEdgeAdapter`,552),q(260,550,{},ng),Q.Qf=function(){return eXe(this)},Q.a=null,L(eq,`ElkGraphAdapters/ElkGraphAdapter`,260),q(630,550,{187:1},tg),L(eq,`ElkGraphAdapters/ElkLabelAdapter`,630),q(551,550,{685:1},Fx),Q.Pf=function(){return QYe(this)},Q.Tf=function(){var e;return e=P(J(this.f,(LB(),I6)),140),!e&&(e=new Nh),e},Q.Vf=function(){return $Ye(this)},Q.Xf=function(e){var t=new zS(e);IF(this.f,(LB(),I6),t)},Q.Yf=function(e){IF(this.f,(LB(),W6),new Sve(e))},Q.Rf=function(){return this.d},Q.Sf=function(){var e,t;if(!this.a)for(this.a=new ah,t=new XC(dx(G8e(P(this.f,26)).a.Jc(),new f));CR(t);)e=P(CO(t),85),$b(this.a,new Jm(e));return this.a},Q.Uf=function(){var e,t;if(!this.c)for(this.c=new ah,t=new XC(dx(PR(P(this.f,26)).a.Jc(),new f));CR(t);)e=P(CO(t),85),$b(this.c,new Jm(e));return this.c},Q.Wf=function(){return QT(P(this.f,26)).i!=0||hg(eS(P(this.f,26).mf((LB(),j6))))},Q.Zf=function(){wIe(this,(Q_(),Dzt))},Q.a=null,Q.b=null,Q.c=null,Q.d=null,Q.e=null,L(eq,`ElkGraphAdapters/ElkNodeAdapter`,551),q(1249,550,{836:1},Jne),Q.Pf=function(){return dXe(this)},Q.Sf=function(){var e,t;if(!this.a)for(this.a=Ix(P(this.f,125).gh().i),t=new lx(P(this.f,125).gh());t.e!=t.i.gc();)e=P(OF(t),85),$b(this.a,new Jm(e));return this.a},Q.Uf=function(){var e,t;if(!this.c)for(this.c=Ix(P(this.f,125).hh().i),t=new lx(P(this.f,125).hh());t.e!=t.i.gc();)e=P(OF(t),85),$b(this.c,new Jm(e));return this.c},Q.$f=function(){return P(P(this.f,125).mf((LB(),e8)),64)},Q._f=function(){var e,t,n,r=jE(P(this.f,125)),i,a,o,s;for(n=new lx(P(this.f,125).hh());n.e!=n.i.gc();)for(e=P(OF(n),85),s=new lx((!e.c&&(e.c=new xS(r7,e,5,8)),e.c));s.e!=s.i.gc();)if(o=P(OF(s),84),iA(cL(o),r)||cL(o)==r&&hg(eS(J(e,(LB(),M6)))))return!0;for(t=new lx(P(this.f,125).gh());t.e!=t.i.gc();)for(e=P(OF(t),85),a=new lx((!e.b&&(e.b=new xS(r7,e,4,7)),e.b));a.e!=a.i.gc();)if(i=P(OF(a),84),iA(cL(i),r))return!0;return!1},Q.a=null,Q.b=null,Q.c=null,L(eq,`ElkGraphAdapters/ElkPortAdapter`,1249),q(1250,1,VH,Kc),Q.Le=function(e,t){return $et(P(e,125),P(t,125))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(eq,`ElkGraphAdapters/PortComparator`,1250);var Q5=yC(tq,`EObject`),$5=yC(nq,Rgt),e7=yC(nq,zgt),t7=yC(nq,Bgt),n7=yC(nq,`ElkShape`),r7=yC(nq,Vgt),i7=yC(nq,Hgt),a7=yC(nq,Ugt),o7=yC(tq,Wgt),s7=yC(tq,`EFactory`),kzt,Azt=yC(tq,Ggt),c7=yC(tq,`EPackage`),l7,jzt,Mzt,Nzt,u7,Pzt,Fzt,Izt,Lzt,d7,Rzt,zzt,f7=yC(nq,Kgt),p7=yC(nq,qgt),m7=yC(nq,Jgt);q(93,1,Ygt),Q.qh=function(){return this.rh(),null},Q.rh=function(){return null},Q.sh=function(){return this.rh(),!1},Q.th=function(){return!1},Q.uh=function(e){Rj(this,e)},L(rq,`BasicNotifierImpl`,93),q(100,93,$gt),Q.Vh=function(){return gb(this)},Q.vh=function(e,t){return e},Q.wh=function(){throw D(new bh)},Q.xh=function(e){var t;return t=QF(P(eA(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,e)},Q.yh=function(e,t){throw D(new bh)},Q.zh=function(e,t,n){return kz(this,e,t,n)},Q.Ah=function(){var e;return this.wh()&&(e=this.wh().Lk(),e)?e:this.fi()},Q.Bh=function(){return Z3e(this)},Q.Ch=function(){throw D(new bh)},Q.Dh=function(){var e,t=this.Xh().Mk();return!t&&this.wh().Rk(t=(tv(),e=kDe(Rz(this.Ah())),e==null?LBt:new Nx(this,e))),t},Q.Eh=function(e,t){return e},Q.Fh=function(e){return e.nk()?e.Jj():NP(this.Ah(),e)},Q.Gh=function(){var e=this.wh();return e?e.Ok():null},Q.Hh=function(){return this.wh()?this.wh().Lk():null},Q.Ih=function(e,t,n){return zF(this,e,t,n)},Q.Jh=function(e){return ek(this,e)},Q.Kh=function(e,t){return EO(this,e,t)},Q.Lh=function(){var e=this.wh();return!!e&&e.Pk()},Q.Mh=function(){throw D(new bh)},Q.Nh=function(){return fF(this)},Q.Oh=function(e,t,n,r){return FF(this,e,t,r)},Q.Ph=function(e,t,n){var r;return r=P(eA(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),e,n)},Q.Qh=function(e,t,n,r){return fE(this,e,t,r)},Q.Rh=function(e,t,n){var r;return r=P(eA(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),e,n)},Q.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},Q.Th=function(e){return EF(this,e)},Q.Uh=function(e){return eOe(this,e)},Q.Wh=function(e){return Fst(this,e)},Q.Xh=function(){throw D(new bh)},Q.Yh=function(){return this.wh()?this.wh().Nk():null},Q.Zh=function(){return fF(this)},Q.$h=function(e,t){QL(this,e,t)},Q._h=function(e){this.Xh().Qk(e)},Q.ai=function(e){this.Xh().Tk(e)},Q.bi=function(e){this.Xh().Sk(e)},Q.ci=function(e,t){var n,r,i,a=this.Gh();return a&&e&&(t=RF(a.Cl(),this,t),a.Gl(this)),r=this.Mh(),r&&((Ott(this,this.Mh(),this.Ch()).Bb&_H)==0?(t=(n=this.Ch(),n>=0?this.xh(t):this.Mh().Qh(this,-1-n,null,t)),t=this.zh(null,-1,t)):(i=r.Nh(),i&&(e?!a&&i.Gl(this):i.Fl(this)))),this.ai(e),t},Q.di=function(e){var t,n=this.Ah(),r,i,a=NP(n,e),o,s,c;if(t=this.gi(),a>=t)return P(e,69).uk().Bk(this,this.ei(),a-t);if(a<=-1)if(o=uB((HL(),p9),n,e),o){if(rv(),P(o,69).vk()||(o=cD(wk(p9,o))),i=(r=this.Fh(o),P(r>=0?this.Ih(r,!0,!0):mR(this,o,!0),163)),c=o.Gk(),c>1||c==-1)return P(P(i,219).Ql(e,!1),77)}else throw D(new sg(iq+e.ve()+oq));else if(e.Hk())return r=this.Fh(e),P(r>=0?this.Ih(r,!1,!0):mR(this,e,!1),77);return s=new bde(this,e),s},Q.ei=function(){return xIe(this)},Q.fi=function(){return(Uw(),K7).S},Q.gi=function(){return Hw(this.fi())},Q.hi=function(e){RL(this,e)},Q.Ib=function(){return DR(this)},L(cq,`BasicEObjectImpl`,100);var Bzt;q(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),Q.ii=function(e){return SIe(this)[e]},Q.ji=function(e,t){Jw(SIe(this),e,t)},Q.ki=function(e){Jw(SIe(this),e,null)},Q.qh=function(){return P(Uj(this,4),129)},Q.rh=function(){throw D(new bh)},Q.sh=function(){return(this.Db&4)!=0},Q.wh=function(){throw D(new bh)},Q.li=function(e){cF(this,2,e)},Q.yh=function(e,t){this.Db=t<<16|this.Db&255,this.li(e)},Q.Ah=function(){return lE(this)},Q.Ch=function(){return this.Db>>16},Q.Dh=function(){var e,t;return tv(),t=kDe(Rz((e=P(Uj(this,16),29),e||this.fi()))),t==null?LBt:new Nx(this,t)},Q.th=function(){return(this.Db&1)==0},Q.Gh=function(){return P(Uj(this,128),1996)},Q.Hh=function(){return P(Uj(this,16),29)},Q.Lh=function(){return(this.Db&32)!=0},Q.Mh=function(){return P(Uj(this,2),52)},Q.Sh=function(){return(this.Db&64)!=0},Q.Xh=function(){throw D(new bh)},Q.Yh=function(){return P(Uj(this,64),290)},Q._h=function(e){cF(this,16,e)},Q.ai=function(e){cF(this,128,e)},Q.bi=function(e){cF(this,64,e)},Q.ei=function(){return sF(this)},Q.Db=0,L(cq,`MinimalEObjectImpl`,117),q(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.li=function(e){this.Cb=e},Q.Mh=function(){return this.Cb},L(cq,`MinimalEObjectImpl/Container`,118),q(2045,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return pXe(this,e,t,n)},Q.Rh=function(e,t,n){return U1e(this,e,t,n)},Q.Th=function(e){return vAe(this,e)},Q.$h=function(e,t){DHe(this,e,t)},Q.fi=function(){return kB(),zzt},Q.hi=function(e){MVe(this,e)},Q.lf=function(){return uJe(this)},Q.fh=function(){return!this.o&&(this.o=new ik((kB(),d7),g7,this,0)),this.o},Q.mf=function(e){return J(this,e)},Q.nf=function(e){return qO(this,e)},Q.of=function(e,t){return IF(this,e,t)},L(lq,`EMapPropertyHolderImpl`,2045),q(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Xc),Q.Ih=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return zF(this,e,t,n)},Q.Th=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return EF(this,e)},Q.$h=function(e,t){switch(e){case 0:bA(this,O(N(t)));return;case 1:xA(this,O(N(t)));return}QL(this,e,t)},Q.fi=function(){return kB(),jzt},Q.hi=function(e){switch(e){case 0:bA(this,0);return;case 1:xA(this,0);return}RL(this,e)},Q.Ib=function(){var e;return this.Db&64?DR(this):(e=new gx(DR(this)),e.a+=` (x: `,n_(e,this.a),e.a+=`, y: `,n_(e,this.b),e.a+=`)`,e.a)},Q.a=0,Q.b=0,L(lq,`ElkBendPointImpl`,559),q(727,2045,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return OWe(this,e,t,n)},Q.Ph=function(e,t,n){return dL(this,e,t,n)},Q.Rh=function(e,t,n){return dM(this,e,t,n)},Q.Th=function(e){return JBe(this,e)},Q.$h=function(e,t){dQe(this,e,t)},Q.fi=function(){return kB(),Pzt},Q.hi=function(e){iWe(this,e)},Q.ih=function(){return this.k},Q.jh=function(){return OT(this)},Q.Ib=function(){return aP(this)},Q.k=null,L(lq,`ElkGraphElementImpl`,727),q(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return jGe(this,e,t,n)},Q.Th=function(e){return XGe(this,e)},Q.$h=function(e,t){fQe(this,e,t)},Q.fi=function(){return kB(),Rzt},Q.hi=function(e){OKe(this,e)},Q.kh=function(){return this.f},Q.lh=function(){return this.g},Q.mh=function(){return this.i},Q.nh=function(){return this.j},Q.oh=function(e,t){Cb(this,e,t)},Q.ph=function(e,t){xb(this,e,t)},Q.Ib=function(){return AL(this)},Q.f=0,Q.g=0,Q.i=0,Q.j=0,L(lq,`ElkShapeImpl`,728),q(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return sYe(this,e,t,n)},Q.Ph=function(e,t,n){return UZe(this,e,t,n)},Q.Rh=function(e,t,n){return WZe(this,e,t,n)},Q.Th=function(e){return dHe(this,e)},Q.$h=function(e,t){S6e(this,e,t)},Q.fi=function(){return kB(),Mzt},Q.hi=function(e){TJe(this,e)},Q.gh=function(){return!this.d&&(this.d=new xS(i7,this,8,5)),this.d},Q.hh=function(){return!this.e&&(this.e=new xS(i7,this,7,4)),this.e},L(lq,`ElkConnectableShapeImpl`,729),q(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Jc),Q.xh=function(e){return ZXe(this,e)},Q.Ih=function(e,t,n){switch(e){case 3:return AE(this);case 4:return!this.b&&(this.b=new xS(r7,this,4,7)),this.b;case 5:return!this.c&&(this.c=new xS(r7,this,5,8)),this.c;case 6:return!this.a&&(this.a=new F(a7,this,6,6)),this.a;case 7:return mx(),!this.b&&(this.b=new xS(r7,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new xS(r7,this,5,8)),this.c.i<=1));case 8:return mx(),!!bR(this);case 9:return mx(),!!uR(this);case 10:return mx(),!this.b&&(this.b=new xS(r7,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new xS(r7,this,5,8)),this.c.i!=0)}return OWe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16,r>=0?ZXe(this,n):this.Cb.Qh(this,-1-r,null,n))),Dge(this,P(e,26),n);case 4:return!this.b&&(this.b=new xS(r7,this,4,7)),BP(this.b,e,n);case 5:return!this.c&&(this.c=new xS(r7,this,5,8)),BP(this.c,e,n);case 6:return!this.a&&(this.a=new F(a7,this,6,6)),BP(this.a,e,n)}return dL(this,e,t,n)},Q.Rh=function(e,t,n){switch(t){case 3:return Dge(this,null,n);case 4:return!this.b&&(this.b=new xS(r7,this,4,7)),RF(this.b,e,n);case 5:return!this.c&&(this.c=new xS(r7,this,5,8)),RF(this.c,e,n);case 6:return!this.a&&(this.a=new F(a7,this,6,6)),RF(this.a,e,n)}return dM(this,e,t,n)},Q.Th=function(e){switch(e){case 3:return!!AE(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 xS(r7,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new xS(r7,this,5,8)),this.c.i<=1));case 8:return bR(this);case 9:return uR(this);case 10:return!this.b&&(this.b=new xS(r7,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new xS(r7,this,5,8)),this.c.i!=0)}return JBe(this,e)},Q.$h=function(e,t){switch(e){case 3:zR(this,P(t,26));return;case 4:!this.b&&(this.b=new xS(r7,this,4,7)),oB(this.b),!this.b&&(this.b=new xS(r7,this,4,7)),zw(this.b,P(t,18));return;case 5:!this.c&&(this.c=new xS(r7,this,5,8)),oB(this.c),!this.c&&(this.c=new xS(r7,this,5,8)),zw(this.c,P(t,18));return;case 6:!this.a&&(this.a=new F(a7,this,6,6)),oB(this.a),!this.a&&(this.a=new F(a7,this,6,6)),zw(this.a,P(t,18));return}dQe(this,e,t)},Q.fi=function(){return kB(),Nzt},Q.hi=function(e){switch(e){case 3:zR(this,null);return;case 4:!this.b&&(this.b=new xS(r7,this,4,7)),oB(this.b);return;case 5:!this.c&&(this.c=new xS(r7,this,5,8)),oB(this.c);return;case 6:!this.a&&(this.a=new F(a7,this,6,6)),oB(this.a);return}iWe(this,e)},Q.Ib=function(){return Yit(this)},L(lq,`ElkEdgeImpl`,271),q(443,2045,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Yc),Q.xh=function(e){return GXe(this,e)},Q.Ih=function(e,t,n){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new ix(e7,this,5)),this.a;case 6:return $De(this);case 7:return t?ZF(this):this.i;case 8:return t?XF(this):this.f;case 9:return!this.g&&(this.g=new xS(a7,this,9,10)),this.g;case 10:return!this.e&&(this.e=new xS(a7,this,10,9)),this.e;case 11:return this.d}return pXe(this,e,t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?GXe(this,n):this.Cb.Qh(this,-1-i,null,n))),Oge(this,P(e,85),n);case 9:return!this.g&&(this.g=new xS(a7,this,9,10)),BP(this.g,e,n);case 10:return!this.e&&(this.e=new xS(a7,this,10,9)),BP(this.e,e,n)}return a=P(eA((r=P(Uj(this,16),29),r||(kB(),u7)),t),69),a.uk().xk(this,sF(this),t-Hw((kB(),u7)),e,n)},Q.Rh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new ix(e7,this,5)),RF(this.a,e,n);case 6:return Oge(this,null,n);case 9:return!this.g&&(this.g=new xS(a7,this,9,10)),RF(this.g,e,n);case 10:return!this.e&&(this.e=new xS(a7,this,10,9)),RF(this.e,e,n)}return U1e(this,e,t,n)},Q.Th=function(e){switch(e){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!$De(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 vAe(this,e)},Q.$h=function(e,t){switch(e){case 1:DA(this,O(N(t)));return;case 2:OA(this,O(N(t)));return;case 3:SA(this,O(N(t)));return;case 4:CA(this,O(N(t)));return;case 5:!this.a&&(this.a=new ix(e7,this,5)),oB(this.a),!this.a&&(this.a=new ix(e7,this,5)),zw(this.a,P(t,18));return;case 6:v5e(this,P(t,85));return;case 7:tj(this,P(t,84));return;case 8:ej(this,P(t,84));return;case 9:!this.g&&(this.g=new xS(a7,this,9,10)),oB(this.g),!this.g&&(this.g=new xS(a7,this,9,10)),zw(this.g,P(t,18));return;case 10:!this.e&&(this.e=new xS(a7,this,10,9)),oB(this.e),!this.e&&(this.e=new xS(a7,this,10,9)),zw(this.e,P(t,18));return;case 11:dze(this,tS(t));return}DHe(this,e,t)},Q.fi=function(){return kB(),u7},Q.hi=function(e){switch(e){case 1:DA(this,0);return;case 2:OA(this,0);return;case 3:SA(this,0);return;case 4:CA(this,0);return;case 5:!this.a&&(this.a=new ix(e7,this,5)),oB(this.a);return;case 6:v5e(this,null);return;case 7:tj(this,null);return;case 8:ej(this,null);return;case 9:!this.g&&(this.g=new xS(a7,this,9,10)),oB(this.g);return;case 10:!this.e&&(this.e=new xS(a7,this,10,9)),oB(this.e);return;case 11:dze(this,null);return}MVe(this,e)},Q.Ib=function(){return F3e(this)},Q.b=0,Q.c=0,Q.d=null,Q.j=0,Q.k=0,L(lq,`ElkEdgeSectionImpl`,443),q(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),Q.Ih=function(e,t,n){var r;return e==0?(!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab):ck(this,e-Hw(this.fi()),eA((r=P(Uj(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n)):(i=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),i.uk().xk(this,sF(this),t-Hw(this.fi()),e,n))},Q.Rh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n)):(i=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),i.uk().yk(this,sF(this),t-Hw(this.fi()),e,n))},Q.Th=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:BD(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.Wh=function(e){return Jct(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return}vP(this,e-Hw(this.fi()),eA((n=P(Uj(this,16),29),n||this.fi()),e),t)},Q.ai=function(e){cF(this,128,e)},Q.fi=function(){return VB(),EBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return}AN(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.mi=function(){this.Bb|=1},Q.ni=function(e){return Az(this,e)},Q.Bb=0,L(cq,`EModelElementImpl`,161),q(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},Sf),Q.oi=function(e,t){return _st(this,e,t)},Q.pi=function(e){var t,n,r,i,a;if(this.a!=lA(e)||e.Bb&256)throw D(new sg(hq+e.zb+fq));for(r=cE(e);KD(r.a).i!=0;){if(n=P(pB(r,0,(t=P(H(KD(r.a),0),87),a=t.c,M(a,88)?P(a,29):(VB(),t9))),29),vI(n))return i=lA(n).ti().pi(n),P(i,52)._h(e),i;r=cE(n)}return(e.D==null?e.B:e.D)==`java.util.Map$Entry`?new Mxe(e):new cxe(e)},Q.qi=function(e,t){return AB(this,e,t)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.a}return ck(this,e-Hw((VB(),Q7)),eA((r=P(Uj(this,16),29),r||Q7),e),t,n)},Q.Ph=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 1:return this.a&&(n=P(this.a,52).Qh(this,4,c7,n)),GUe(this,P(e,241),n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),Q7)),t),69),i.uk().xk(this,sF(this),t-Hw((VB(),Q7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 1:return GUe(this,null,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),Q7)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),Q7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return BD(this,e-Hw((VB(),Q7)),eA((t=P(Uj(this,16),29),t||Q7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:O1e(this,P(t,241));return}vP(this,e-Hw((VB(),Q7)),eA((n=P(Uj(this,16),29),n||Q7),e),t)},Q.fi=function(){return VB(),Q7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:O1e(this,null);return}AN(this,e-Hw((VB(),Q7)),eA((t=P(Uj(this,16),29),t||Q7),e))};var h7,Vzt,Hzt;L(cq,`EFactoryImpl`,710),q(1018,710,{109:1,2075:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},Zc),Q.oi=function(e,t){switch(e.fk()){case 12:return P(t,147).Og();case 13:return EP(t);default:throw D(new sg(dq+e.ve()+fq))}},Q.pi=function(e){var t,n,r,i,a,o,s,c;switch(e.G==-1&&(e.G=(t=lA(e),t?GF(t.si(),e):-1)),e.G){case 4:return a=new Qc,a;case 6:return o=new Lh,o;case 7:return s=new qie,s;case 8:return r=new Jc,r;case 9:return n=new Xc,n;case 10:return i=new Yc,i;case 11:return c=new $c,c;default:throw D(new sg(hq+e.zb+fq))}},Q.qi=function(e,t){switch(e.fk()){case 13:case 12:return null;default:throw D(new sg(dq+e.ve()+fq))}},L(lq,`ElkGraphFactoryImpl`,1018),q(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),Q.Dh=function(){var e,t=(e=P(Uj(this,16),29),kDe(Rz(e||this.fi())));return t==null?(tv(),tv(),LBt):new Ihe(this,t)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.ve()}return ck(this,e-Hw(this.fi()),eA((r=P(Uj(this,16),29),r||this.fi()),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return BD(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:this.ri(tS(t));return}vP(this,e-Hw(this.fi()),eA((n=P(Uj(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return VB(),DBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:this.ri(null);return}AN(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.ve=function(){return this.zb},Q.ri=function(e){hj(this,e)},Q.Ib=function(){return wN(this)},Q.zb=null,L(cq,`ENamedElementImpl`,439),q(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},wEe),Q.xh=function(e){return YXe(this,e)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,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 hw(this,F7,this)),this.rb;case 6:return!this.vb&&(this.vb=new yS(c7,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?P(this.Cb,241):null:lOe(this)}return ck(this,e-Hw((VB(),r9)),eA((r=P(Uj(this,16),29),r||r9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 4:return this.sb&&(n=P(this.sb,52).Qh(this,1,s7,n)),hWe(this,P(e,469),n);case 5:return!this.rb&&(this.rb=new hw(this,F7,this)),BP(this.rb,e,n);case 6:return!this.vb&&(this.vb=new yS(c7,this,6,7)),BP(this.vb,e,n);case 7:return this.Cb&&(n=(i=this.Db>>16,i>=0?YXe(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,7,n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),r9)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),r9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 4:return hWe(this,null,n);case 5:return!this.rb&&(this.rb=new hw(this,F7,this)),RF(this.rb,e,n);case 6:return!this.vb&&(this.vb=new yS(c7,this,6,7)),RF(this.vb,e,n);case 7:return kz(this,null,7,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),r9)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),r9)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!lOe(this)}return BD(this,e-Hw((VB(),r9)),eA((t=P(Uj(this,16),29),t||r9),e))},Q.Wh=function(e){return e7e(this,e)||Jct(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:hj(this,tS(t));return;case 2:yj(this,tS(t));return;case 3:vj(this,tS(t));return;case 4:DL(this,P(t,469));return;case 5:!this.rb&&(this.rb=new hw(this,F7,this)),oB(this.rb),!this.rb&&(this.rb=new hw(this,F7,this)),zw(this.rb,P(t,18));return;case 6:!this.vb&&(this.vb=new yS(c7,this,6,7)),oB(this.vb),!this.vb&&(this.vb=new yS(c7,this,6,7)),zw(this.vb,P(t,18));return}vP(this,e-Hw((VB(),r9)),eA((n=P(Uj(this,16),29),n||r9),e),t)},Q.bi=function(e){var t,n;if(e&&this.rb)for(n=new lx(this.rb);n.e!=n.i.gc();)t=OF(n),M(t,360)&&(P(t,360).w=null);cF(this,64,e)},Q.fi=function(){return VB(),r9},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:hj(this,null);return;case 2:yj(this,null);return;case 3:vj(this,null);return;case 4:DL(this,null);return;case 5:!this.rb&&(this.rb=new hw(this,F7,this)),oB(this.rb);return;case 6:!this.vb&&(this.vb=new yS(c7,this,6,7)),oB(this.vb);return}AN(this,e-Hw((VB(),r9)),eA((t=P(Uj(this,16),29),t||r9),e))},Q.mi=function(){wI(this)},Q.si=function(){return!this.rb&&(this.rb=new hw(this,F7,this)),this.rb},Q.ti=function(){return this.sb},Q.ui=function(){return this.ub},Q.vi=function(){return this.xb},Q.wi=function(){return this.yb},Q.xi=function(e){this.ub=e},Q.Ib=function(){var e;return this.Db&64?wN(this):(e=new gx(wN(this)),e.a+=` (nsURI: `,Yy(e,this.yb),e.a+=`, nsPrefix: `,Yy(e,this.xb),e.a+=`)`,e.a)},Q.xb=null,Q.yb=null;var Uzt;L(cq,`EPackageImpl`,184),q(556,184,{109:1,2077:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},r6e),Q.q=!1,Q.r=!1;var Wzt=!1;L(lq,`ElkGraphPackageImpl`,556),q(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Qc),Q.xh=function(e){return KXe(this,e)},Q.Ih=function(e,t,n){switch(e){case 7:return uOe(this);case 8:return this.a}return jGe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 7:return this.Cb&&(n=(r=this.Db>>16,r>=0?KXe(this,n):this.Cb.Qh(this,-1-r,null,n))),GSe(this,P(e,174),n)}return dL(this,e,t,n)},Q.Rh=function(e,t,n){return t==7?GSe(this,null,n):dM(this,e,t,n)},Q.Th=function(e){switch(e){case 7:return!!uOe(this);case 8:return!CS(``,this.a)}return XGe(this,e)},Q.$h=function(e,t){switch(e){case 7:Z5e(this,P(t,174));return;case 8:$Re(this,tS(t));return}fQe(this,e,t)},Q.fi=function(){return kB(),Fzt},Q.hi=function(e){switch(e){case 7:Z5e(this,null);return;case 8:$Re(this,``);return}OKe(this,e)},Q.Ib=function(){return z0e(this)},Q.a=``,L(lq,`ElkLabelImpl`,362),q(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Lh),Q.xh=function(e){return dZe(this,e)},Q.Ih=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new F(m7,this,9,9)),this.c;case 10:return!this.a&&(this.a=new F(p7,this,10,11)),this.a;case 11:return PE(this);case 12:return!this.b&&(this.b=new F(i7,this,12,3)),this.b;case 13:return mx(),!this.a&&(this.a=new F(p7,this,10,11)),this.a.i>0}return sYe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new F(m7,this,9,9)),BP(this.c,e,n);case 10:return!this.a&&(this.a=new F(p7,this,10,11)),BP(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16,r>=0?dZe(this,n):this.Cb.Qh(this,-1-r,null,n))),M_e(this,P(e,26),n);case 12:return!this.b&&(this.b=new F(i7,this,12,3)),BP(this.b,e,n)}return UZe(this,e,t,n)},Q.Rh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new F(m7,this,9,9)),RF(this.c,e,n);case 10:return!this.a&&(this.a=new F(p7,this,10,11)),RF(this.a,e,n);case 11:return M_e(this,null,n);case 12:return!this.b&&(this.b=new F(i7,this,12,3)),RF(this.b,e,n)}return WZe(this,e,t,n)},Q.Th=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!PE(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new F(p7,this,10,11)),this.a.i>0}return dHe(this,e)},Q.$h=function(e,t){switch(e){case 9:!this.c&&(this.c=new F(m7,this,9,9)),oB(this.c),!this.c&&(this.c=new F(m7,this,9,9)),zw(this.c,P(t,18));return;case 10:!this.a&&(this.a=new F(p7,this,10,11)),oB(this.a),!this.a&&(this.a=new F(p7,this,10,11)),zw(this.a,P(t,18));return;case 11:HR(this,P(t,26));return;case 12:!this.b&&(this.b=new F(i7,this,12,3)),oB(this.b),!this.b&&(this.b=new F(i7,this,12,3)),zw(this.b,P(t,18));return}S6e(this,e,t)},Q.fi=function(){return kB(),Izt},Q.hi=function(e){switch(e){case 9:!this.c&&(this.c=new F(m7,this,9,9)),oB(this.c);return;case 10:!this.a&&(this.a=new F(p7,this,10,11)),oB(this.a);return;case 11:HR(this,null);return;case 12:!this.b&&(this.b=new F(i7,this,12,3)),oB(this.b);return}TJe(this,e)},Q.Ib=function(){return ett(this)},L(lq,`ElkNodeImpl`,206),q(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},qie),Q.xh=function(e){return qXe(this,e)},Q.Ih=function(e,t,n){return e==9?jE(this):sYe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 9:return this.Cb&&(n=(r=this.Db>>16,r>=0?qXe(this,n):this.Cb.Qh(this,-1-r,null,n))),kge(this,P(e,26),n)}return UZe(this,e,t,n)},Q.Rh=function(e,t,n){return t==9?kge(this,null,n):WZe(this,e,t,n)},Q.Th=function(e){return e==9?!!jE(this):dHe(this,e)},Q.$h=function(e,t){switch(e){case 9:y5e(this,P(t,26));return}S6e(this,e,t)},Q.fi=function(){return kB(),Lzt},Q.hi=function(e){switch(e){case 9:y5e(this,null);return}TJe(this,e)},Q.Ib=function(){return ttt(this)},L(lq,`ElkPortImpl`,193);var Gzt=yC(Dq,`BasicEMap/Entry`);q(1091,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},$c),Q.Fb=function(e){return this===e},Q.jd=function(){return this.b},Q.Hb=function(){return jx(this)},Q.Ai=function(e){YRe(this,P(e,147))},Q.Ih=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return zF(this,e,t,n)},Q.Th=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return EF(this,e)},Q.$h=function(e,t){switch(e){case 0:YRe(this,P(t,147));return;case 1:XRe(this,t);return}QL(this,e,t)},Q.fi=function(){return kB(),d7},Q.hi=function(e){switch(e){case 0:YRe(this,null);return;case 1:XRe(this,null);return}RL(this,e)},Q.yi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?Cj(e):0),this.a},Q.kd=function(){return this.c},Q.zi=function(e){this.a=e},Q.ld=function(e){var t=this.c;return XRe(this,e),t},Q.Ib=function(){var e;return this.Db&64?DR(this):(e=new Og,Qy(Qy(Qy(e,this.b?this.b.Og():eV),Nft),px(this.c)),e.a)},Q.a=-1,Q.c=null;var g7=L(lq,`ElkPropertyToValueMapEntryImpl`,1091);q(980,1,{},el),L(kq,`JsonAdapter`,980),q(215,63,RV,_g),L(kq,`JsonImportException`,215),q(850,1,{},B3e),L(kq,`JsonImporter`,850),q(884,1,{},ide),Q.Bi=function(e){GZe(this.a,this.b,P(e,139))},L(kq,`JsonImporter/lambda$0$Type`,884),q(885,1,{},ade),Q.Bi=function(e){G4e(this.a,this.b,P(e,139))},L(kq,`JsonImporter/lambda$1$Type`,885),q(893,1,{},Yne),Q.Bi=function(e){FTe(this.a,P(e,149))},L(kq,`JsonImporter/lambda$10$Type`,893),q(895,1,{},ode),Q.Bi=function(e){p4e(this.a,this.b,P(e,139))},L(kq,`JsonImporter/lambda$11$Type`,895),q(896,1,{},sde),Q.Bi=function(e){m4e(this.a,this.b,P(e,139))},L(kq,`JsonImporter/lambda$12$Type`,896),q(902,1,{},eEe),Q.Bi=function(e){C0e(this.a,this.b,this.c,this.d,P(e,139))},L(kq,`JsonImporter/lambda$13$Type`,902),q(901,1,{},tEe),Q.Bi=function(e){Lnt(this.a,this.b,this.c,this.d,P(e,149))},L(kq,`JsonImporter/lambda$14$Type`,901),q(897,1,{},cde),Q.Bi=function(e){u_e(this.a,this.b,tS(e))},L(kq,`JsonImporter/lambda$15$Type`,897),q(898,1,{},lde),Q.Bi=function(e){d_e(this.a,this.b,tS(e))},L(kq,`JsonImporter/lambda$16$Type`,898),q(899,1,{},ude),Q.Bi=function(e){DXe(this.b,this.a,P(e,139))},L(kq,`JsonImporter/lambda$17$Type`,899),q(900,1,{},dde),Q.Bi=function(e){OXe(this.b,this.a,P(e,139))},L(kq,`JsonImporter/lambda$18$Type`,900),q(905,1,{},Xne),Q.Bi=function(e){G1e(this.a,P(e,149))},L(kq,`JsonImporter/lambda$19$Type`,905),q(886,1,{},Zne),Q.Bi=function(e){mZe(this.a,P(e,139))},L(kq,`JsonImporter/lambda$2$Type`,886),q(903,1,{},Qne),Q.Bi=function(e){DA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$20$Type`,903),q(904,1,{},$ne),Q.Bi=function(e){OA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$21$Type`,904),q(908,1,{},ere),Q.Bi=function(e){W1e(this.a,P(e,149))},L(kq,`JsonImporter/lambda$22$Type`,908),q(906,1,{},tre),Q.Bi=function(e){SA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$23$Type`,906),q(907,1,{},nre),Q.Bi=function(e){CA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$24$Type`,907),q(910,1,{},rre),Q.Bi=function(e){UQe(this.a,P(e,139))},L(kq,`JsonImporter/lambda$25$Type`,910),q(909,1,{},ire),Q.Bi=function(e){ITe(this.a,P(e,149))},L(kq,`JsonImporter/lambda$26$Type`,909),q(911,1,gV,fde),Q.Ad=function(e){_Fe(this.b,this.a,tS(e))},L(kq,`JsonImporter/lambda$27$Type`,911),q(912,1,gV,pde),Q.Ad=function(e){vFe(this.b,this.a,tS(e))},L(kq,`JsonImporter/lambda$28$Type`,912),q(913,1,{},mde),Q.Bi=function(e){I6e(this.a,this.b,P(e,139))},L(kq,`JsonImporter/lambda$29$Type`,913),q(889,1,{},are),Q.Bi=function(e){nKe(this.a,P(e,149))},L(kq,`JsonImporter/lambda$3$Type`,889),q(914,1,{},hde),Q.Bi=function(e){a5e(this.a,this.b,P(e,139))},L(kq,`JsonImporter/lambda$30$Type`,914),q(915,1,{},ore),Q.Bi=function(e){TIe(this.a,N(e))},L(kq,`JsonImporter/lambda$31$Type`,915),q(916,1,{},sre),Q.Bi=function(e){EIe(this.a,N(e))},L(kq,`JsonImporter/lambda$32$Type`,916),q(917,1,{},cre),Q.Bi=function(e){DIe(this.a,N(e))},L(kq,`JsonImporter/lambda$33$Type`,917),q(918,1,{},lre),Q.Bi=function(e){OIe(this.a,N(e))},L(kq,`JsonImporter/lambda$34$Type`,918),q(919,1,{},ure),Q.Bi=function(e){S1e(this.a,P(e,57))},L(kq,`JsonImporter/lambda$35$Type`,919),q(920,1,{},dre),Q.Bi=function(e){C1e(this.a,P(e,57))},L(kq,`JsonImporter/lambda$36$Type`,920),q(924,1,{},$Te),L(kq,`JsonImporter/lambda$37$Type`,924),q(921,1,gV,Ebe),Q.Ad=function(e){Hze(this.a,this.c,this.b,P(e,372))},L(kq,`JsonImporter/lambda$38$Type`,921),q(922,1,gV,gde),Q.Ad=function(e){Nde(this.a,this.b,P(e,170))},L(kq,`JsonImporter/lambda$39$Type`,922),q(887,1,{},fre),Q.Bi=function(e){DA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$4$Type`,887),q(923,1,gV,_de),Q.Ad=function(e){Pde(this.a,this.b,P(e,170))},L(kq,`JsonImporter/lambda$40$Type`,923),q(925,1,gV,Dbe),Q.Ad=function(e){Uze(this.a,this.b,this.c,P(e,8))},L(kq,`JsonImporter/lambda$41$Type`,925),q(888,1,{},pre),Q.Bi=function(e){OA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$5$Type`,888),q(892,1,{},mre),Q.Bi=function(e){rKe(this.a,P(e,149))},L(kq,`JsonImporter/lambda$6$Type`,892),q(890,1,{},hre),Q.Bi=function(e){SA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$7$Type`,890),q(891,1,{},gre),Q.Bi=function(e){CA(this.a,O(N(e)))},L(kq,`JsonImporter/lambda$8$Type`,891),q(894,1,{},_re),Q.Bi=function(e){WQe(this.a,P(e,139))},L(kq,`JsonImporter/lambda$9$Type`,894),q(944,1,gV,vre),Q.Ad=function(e){$w(this.a,new qw(tS(e)))},L(kq,`JsonMetaDataConverter/lambda$0$Type`,944),q(945,1,gV,yre),Q.Ad=function(e){iwe(this.a,P(e,244))},L(kq,`JsonMetaDataConverter/lambda$1$Type`,945),q(946,1,gV,bre),Q.Ad=function(e){MOe(this.a,P(e,144))},L(kq,`JsonMetaDataConverter/lambda$2$Type`,946),q(947,1,gV,xre),Q.Ad=function(e){awe(this.a,P(e,160))},L(kq,`JsonMetaDataConverter/lambda$3$Type`,947),q(244,23,{3:1,35:1,23:1,244:1},Py);var _7,v7,Kzt,y7,b7,x7,qzt,Jzt,S7=FA(lU,`GraphFeature`,244,nY,vLe,_be),Yzt;q(11,1,{35:1,147:1},Xm,lS,lb,Nb),Q.Dd=function(e){return qpe(this,P(e,147))},Q.Fb=function(e){return rDe(this,e)},Q.Rg=function(){return DF(this)},Q.Og=function(){return this.b},Q.Hb=function(){return HM(this.b)},Q.Ib=function(){return this.b},L(lU,`Property`,11),q(657,1,VH,Ym),Q.Le=function(e,t){return uGe(this,P(e,105),P(t,105))},Q.Fb=function(e){return this===e},Q.Me=function(){return new fm(this)},L(lU,`PropertyHolderComparator`,657),q(698,1,aV,Sre),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return EFe(this)},Q.Qb=function(){cse()},Q.Ob=function(){return!!this.a},L(Pq,`ElkGraphUtil/AncestorIterator`,698);var Xzt=yC(Dq,`EList`);q(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),Q._c=function(e,t){FN(this,e,t)},Q.Ec=function(e){return XO(this,e)},Q.ad=function(e,t){return BVe(this,e,t)},Q.Fc=function(e){return zw(this,e)},Q.Gi=function(){return new Ox(this)},Q.Hi=function(){return new kx(this)},Q.Ii=function(e){return GA(this,e)},Q.Ji=function(){return!0},Q.Ki=function(e,t){},Q.Li=function(){},Q.Mi=function(e,t){zPe(this,e,t)},Q.Ni=function(e,t,n){},Q.Oi=function(e,t){},Q.Pi=function(e,t,n){},Q.Fb=function(e){return net(this,e)},Q.Hb=function(){return yVe(this)},Q.Qi=function(){return!1},Q.Jc=function(){return new lx(this)},Q.cd=function(){return new Dx(this)},Q.dd=function(e){var t=this.gc();if(e<0||e>t)throw D(new SS(e,t));return new jw(this,e)},Q.Si=function(e,t){this.Ri(e,this.bd(t))},Q.Kc=function(e){return Ik(this,e)},Q.Ui=function(e,t){return t},Q.fd=function(e,t){return WF(this,e,t)},Q.Ib=function(){return BGe(this)},Q.Wi=function(){return!0},Q.Xi=function(e,t){return VM(this,t)},L(Dq,`AbstractEList`,71),q(67,71,zq,tl,oA,uBe),Q.Ci=function(e,t){return fL(this,e,t)},Q.Di=function(e){return wYe(this,e)},Q.Ei=function(e,t){TN(this,e,t)},Q.Fi=function(e){AO(this,e)},Q.Yi=function(e){return kFe(this,e)},Q.$b=function(){kO(this)},Q.Gc=function(e){return UI(this,e)},Q.Xb=function(e){return H(this,e)},Q.Zi=function(e){var t,n,r;++this.j,n=this.g==null?0:this.g.length,e>n&&(r=this.g,t=n+(n/2|0)+4,t<e&&(t=e),this.g=this.$i(t),r!=null&&Fz(r,0,this.g,0,this.i))},Q.bd=function(e){return NXe(this,e)},Q.dc=function(){return this.i==0},Q.Ri=function(e,t){return dR(this,e,t)},Q.$i=function(e){return V(ZJ,$B,1,e,5,1)},Q.Ti=function(e){return this.g[e]},Q.ed=function(e){return OI(this,e)},Q.Vi=function(e,t){return Fk(this,e,t)},Q.gc=function(){return this.i},Q.Nc=function(){return Ije(this)},Q.Oc=function(e){return SKe(this,e)},Q.i=0;var Zzt=L(Dq,`BasicEList`,67),Qzt=yC(Dq,`TreeIterator`);q(697,67,Bq),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.g==null&&!this.c?aOe(this):this.g==null||this.i!=0&&P(this.g[this.i-1],50).Ob()},Q.Pb=function(){return jR(this)},Q.Qb=function(){if(!this.e)throw D(new cg(`There is no valid object to remove.`));this.e.Qb()},Q.c=!1,L(Dq,`AbstractTreeIterator`,697),q(604,697,Bq,Db),Q._i=function(e){var t=P(e,57).Dh().Jc();return M(t,287)&&P(t,287).ul(new nl),t},L(Pq,`ElkGraphUtil/PropertiesSkippingTreeIterator`,604),q(948,1,{},nl),L(Pq,`ElkGraphUtil/PropertiesSkippingTreeIterator/1`,948);var C7,$zt,w7=L(Pq,`ElkReflect`,null);q(882,1,zK,rl),Q.Qg=function(e){return KE(),Fke(P(e,182))},L(Pq,`ElkReflect/lambda$0$Type`,882);var T7;yC(Dq,`ResourceLocator`),q(1045,1,{}),L(Dq,`DelegatingResourceLocator`,1045),q(1046,1045,{}),L(`org.eclipse.emf.common`,`EMFPlugin`,1046);var eBt=yC(Z_t,`Adapter`),tBt=yC(Z_t,`Notification`);q(1143,1,Q_t),Q.aj=function(){return this.d},Q.bj=function(e){},Q.cj=function(e){this.d=e},Q.dj=function(e){this.d==e&&(this.d=null)},Q.d=null,L(rq,`AdapterImpl`,1143),q(2055,71,$_t),Q.Ci=function(e,t){return lKe(this,e,t)},Q.Di=function(e){var t,n,r;if(++this.j,e.dc())return!1;for(t=this.Cj(),r=e.Jc();r.Ob();)n=r.Pb(),this.pj(this.Xi(t,n)),++t;return!0},Q.Ei=function(e,t){yge(this,e,t)},Q.Fi=function(e){Awe(this,e)},Q.nj=function(){return this.qj()},Q.$b=function(){cS(this,this.Cj(),this.Dj())},Q.Gc=function(e){return this.sj(e)},Q.Hc=function(e){return this.tj(e)},Q.oj=function(e,t){this.zj().Sm()},Q.pj=function(e){this.zj().Sm()},Q.qj=function(){return this.zj()},Q.rj=function(){this.zj().Sm()},Q.sj=function(e){return this.zj().Sm()},Q.tj=function(e){return this.zj().Sm()},Q.uj=function(e){return this.zj().Sm()},Q.vj=function(e){return this.zj().Sm()},Q.wj=function(){return this.zj().Sm()},Q.xj=function(e){return this.zj().Sm()},Q.yj=function(){return this.zj().Sm()},Q.Aj=function(e){return this.zj().Sm()},Q.Bj=function(e,t){return this.zj().Sm()},Q.Cj=function(){return this.zj().Sm()},Q.Dj=function(){return this.zj().Sm()},Q.Ej=function(e){return this.zj().Sm()},Q.Fj=function(){return this.zj().Sm()},Q.Fb=function(e){return this.uj(e)},Q.Xb=function(e){return this.Ui(e,this.vj(e))},Q.Hb=function(){return this.wj()},Q.bd=function(e){return this.xj(e)},Q.dc=function(){return this.yj()},Q.Ri=function(e,t){return T1e(this,e,t)},Q.Ti=function(e){return this.vj(e)},Q.ed=function(e){return vC(this,e)},Q.Kc=function(e){var t=this.bd(e);return t>=0?(this.ed(t),!0):!1},Q.Vi=function(e,t){return this.Bj(e,this.Xi(e,t))},Q.gc=function(){return this.Cj()},Q.Nc=function(){return this.Dj()},Q.Oc=function(e){return this.Ej(e)},Q.Ib=function(){return this.Fj()},L(Dq,`DelegatingEList`,2055),q(2056,2055,$_t),Q.Ci=function(e,t){return ort(this,e,t)},Q.Di=function(e){return this.Ci(this.Cj(),e)},Q.Ei=function(e,t){i6e(this,e,t)},Q.Fi=function(e){j3e(this,e)},Q.Ji=function(){return!this.Kj()},Q.$b=function(){sB(this)},Q.Gj=function(e,t,n,r,i){return new eDe(this,e,t,n,r,i)},Q.Hj=function(e){Rj(this.hj(),e)},Q.Ij=function(){return null},Q.Jj=function(){return-1},Q.hj=function(){return null},Q.Kj=function(){return!1},Q.Lj=function(e,t){return t},Q.Mj=function(e,t){return t},Q.Nj=function(){return!1},Q.Oj=function(){return!this.yj()},Q.Ri=function(e,t){var n,r;return this.Nj()?(r=this.Oj(),n=T1e(this,e,t),this.Hj(this.Gj(7,G(t),n,e,r)),n):T1e(this,e,t)},Q.ed=function(e){var t,n,r,i;return this.Nj()?(n=null,r=this.Oj(),t=this.Gj(4,i=vC(this,e),null,e,r),this.Kj()&&i&&(n=this.Mj(i,n)),n?(n.lj(t),n.mj()):this.Hj(t),i):(i=vC(this,e),this.Kj()&&i&&(n=this.Mj(i,null),n&&n.mj()),i)},Q.Vi=function(e,t){return srt(this,e,t)},L(rq,`DelegatingNotifyingListImpl`,2056),q(151,1,Xq),Q.lj=function(e){return XQe(this,e)},Q.mj=function(){kk(this)},Q.ej=function(){return this.d},Q.Ij=function(){return null},Q.Pj=function(){return null},Q.fj=function(e){return-1},Q.gj=function(){return Z7e(this)},Q.hj=function(){return null},Q.ij=function(){return Q7e(this)},Q.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Q.Qj=function(){return!1},Q.kj=function(e){var t,n,r,i,a,o,s,c,l,u,d;switch(this.d){case 1:case 2:switch(i=e.ej(),i){case 1:case 2:if(a=e.hj(),j(a)===j(this.hj())&&this.fj(null)==e.fj(null))return this.g=e.gj(),e.ej()==1&&(this.d=1),!0}case 4:switch(i=e.ej(),i){case 4:if(a=e.hj(),j(a)===j(this.hj())&&this.fj(null)==e.fj(null))return l=Not(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,o=e.jj(),this.d=6,d=new oA(2),c<=o?(XO(d,this.n),XO(d,e.ij()),this.g=U(k(q9,1),JV,30,15,[this.o=c,o+1])):(XO(d,e.ij()),XO(d,this.n),this.g=U(k(q9,1),JV,30,15,[this.o=o,c])),this.n=d,l||(this.o=-2-this.o-1),!0;break}break;case 6:switch(i=e.ej(),i){case 4:if(a=e.hj(),j(a)===j(this.hj())&&this.fj(null)==e.fj(null)){for(l=Not(this),o=e.jj(),u=P(this.g,54),r=V(q9,JV,30,u.length+1,15,1),t=0;t<u.length&&(s=u[t],s<=o);)r[t++]=s,++o;for(n=P(this.n,16),n._c(t,e.ij()),r[t]=o;++t<r.length;)r[t]=u[t-1];return this.g=r,l||(this.o=-2-r[0]),!0}break}break}return!1},Q.Ib=function(){var e,t,n,r=new gx(a_(this.Pm)+`@`+(t=Cj(this)>>>0,t.toString(16)));switch(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:ose(r,this.d);break}if(vtt(this)&&(r.a+=`, touch: true`),r.a+=`, position: `,ose(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=`, notifier: `,Jy(r,this.hj()),r.a+=`, feature: `,Jy(r,this.Ij()),r.a+=`, oldValue: `,Jy(r,Q7e(this)),r.a+=`, newValue: `,this.d==6&&M(this.g,54)){for(n=P(this.g,54),r.a+=`[`,e=0;e<n.length;)r.a+=n[e],++e<n.length&&(r.a+=QB);r.a+=`]`}else Jy(r,Z7e(this));return r.a+=`, isTouch: `,r_(r,vtt(this)),r.a+=`, wasSet: `,r_(r,Not(this)),r.a+=`)`,r.a},Q.d=0,Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.o=0,Q.p=0,L(rq,`NotificationImpl`,151),q(1157,151,Xq,eDe),Q.Ij=function(){return this.a.Ij()},Q.fj=function(e){return this.a.Jj()},Q.hj=function(){return this.a.hj()},L(rq,`DelegatingNotifyingListImpl/1`,1157),q(252,67,zq,il,Qg),Q.Ec=function(e){return uKe(this,P(e,373))},Q.lj=function(e){return uKe(this,e)},Q.mj=function(){var e,t,n;for(e=0;e<this.i;++e)t=P(this.g[e],373),n=t.hj(),n!=null&&t.ej()!=-1&&P(n,94).uh(t)},Q.$i=function(e){return V(tBt,$B,373,e,0,1)},L(rq,`NotificationChainImpl`,252),q(1485,93,Ygt),Q.rh=function(){return this.e},Q.th=function(){return(this.f&1)!=0},Q.f=1,L(rq,`NotifierImpl`,1485),q(2053,67,zq),Q.Ci=function(e,t){return jrt(this,e,t)},Q.Di=function(e){return this.Ci(this.i,e)},Q.Ei=function(e,t){M3e(this,e,t)},Q.Fi=function(e){xR(this,e)},Q.Ji=function(){return!this.Kj()},Q.$b=function(){oB(this)},Q.Gj=function(e,t,n,r,i){return new tDe(this,e,t,n,r,i)},Q.Hj=function(e){Rj(this.hj(),e)},Q.Ij=function(){return null},Q.Jj=function(){return-1},Q.hj=function(){return null},Q.Kj=function(){return!1},Q.Rj=function(){return!1},Q.Lj=function(e,t){return t},Q.Mj=function(e,t){return t},Q.Nj=function(){return!1},Q.Oj=function(){return this.i!=0},Q.Ri=function(e,t){return qN(this,e,t)},Q.ed=function(e){return az(this,e)},Q.Vi=function(e,t){return uit(this,e,t)},Q.Sj=function(e,t){return t},Q.Tj=function(e,t){return t},Q.Uj=function(e,t,n){return n},L(rq,`NotifyingListImpl`,2053),q(1156,151,Xq,tDe),Q.Ij=function(){return this.a.Ij()},Q.fj=function(e){return this.a.Jj()},Q.hj=function(){return this.a.hj()},L(rq,`NotifyingListImpl/1`,1156),q(949,67,zq,Tge),Q.Gc=function(e){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new EC(this),this.a=this.j),w_(this.b,e)):UI(this,e)},Q.Wi=function(){return!0},Q.a=0,L(Dq,`AbstractEList/1`,949),q(305,99,dH,SS),L(Dq,`AbstractEList/BasicIndexOutOfBoundsException`,305),q(42,1,aV,lx),Q.Nb=function(e){_w(this,e)},Q.Vj=function(){if(this.i.j!=this.f)throw D(new gh)},Q.Wj=function(){return OF(this)},Q.Ob=function(){return this.e!=this.i.gc()},Q.Pb=function(){return this.Wj()},Q.Qb=function(){YI(this)},Q.e=0,Q.f=0,Q.g=-1,L(Dq,`AbstractEList/EIterator`,42),q(286,42,dV,Dx,jw),Q.Qb=function(){YI(this)},Q.Rb=function(e){FKe(this,e)},Q.Xj=function(){var e;try{return e=this.d.Xb(--this.e),this.Vj(),this.g=this.e,e}catch(e){throw e=hM(e),M(e,99)?(this.Vj(),D(new xh)):D(e)}},Q.Yj=function(e){PYe(this,e)},Q.Sb=function(){return this.e!=0},Q.Tb=function(){return this.e},Q.Ub=function(){return this.Xj()},Q.Vb=function(){return this.e-1},Q.Wb=function(e){this.Yj(e)},L(Dq,`AbstractEList/EListIterator`,286),q(355,42,aV,Ox),Q.Wj=function(){return kF(this)},Q.Qb=function(){throw D(new bh)},L(Dq,`AbstractEList/NonResolvingEIterator`,355),q(391,286,dV,kx,tve),Q.Rb=function(e){throw D(new bh)},Q.Wj=function(){var e;try{return e=this.c.Ti(this.e),this.Vj(),this.g=this.e++,e}catch(e){throw e=hM(e),M(e,99)?(this.Vj(),D(new xh)):D(e)}},Q.Xj=function(){var e;try{return e=this.c.Ti(--this.e),this.Vj(),this.g=this.e,e}catch(e){throw e=hM(e),M(e,99)?(this.Vj(),D(new xh)):D(e)}},Q.Qb=function(){throw D(new bh)},Q.Wb=function(e){throw D(new bh)},L(Dq,`AbstractEList/NonResolvingEListIterator`,391),q(2042,71,evt),Q.Ci=function(e,t){var n,r,i=t.gc(),a,o,s,c,l,u,d,f;if(i!=0){for(l=P(Uj(this.a,4),129),u=l==null?0:l.length,f=u+i,r=YM(this,f),d=u-e,d>0&&Fz(l,e,r,e+i,d),c=t.Jc(),o=0;o<i;++o)s=c.Pb(),n=e+o,Pb(r,n,VM(this,s));for(MF(this,r),a=0;a<i;++a)s=r[e],this.Ki(e,s),++e;return!0}else return++this.j,!1},Q.Di=function(e){var t,n,r=e.gc(),i,a,o,s,c,l;if(r!=0){for(c=(n=P(Uj(this.a,4),129),n==null?0:n.length),l=c+r,t=YM(this,l),s=e.Jc(),a=c;a<l;++a)o=s.Pb(),Pb(t,a,VM(this,o));for(MF(this,t),i=c;i<l;++i)o=t[i],this.Ki(i,o);return!0}else return++this.j,!1},Q.Ei=function(e,t){var n,r=P(Uj(this.a,4),129),i=r==null?0:r.length,a;n=YM(this,i+1),a=VM(this,t),e!=i&&Fz(r,e,n,e+1,i-e),Jw(n,e,a),MF(this,n),this.Ki(e,t)},Q.Fi=function(e){var t,n,r=(n=P(Uj(this.a,4),129),n==null?0:n.length);t=YM(this,r+1),Pb(t,r,VM(this,e)),MF(this,t),this.Ki(r,e)},Q.Gi=function(){return new lNe(this)},Q.Hi=function(){return new DCe(this)},Q.Ii=function(e){var t,n=(t=P(Uj(this.a,4),129),t==null?0:t.length);if(e<0||e>n)throw D(new SS(e,n));return new _Te(this,e)},Q.$b=function(){var e,t;++this.j,e=P(Uj(this.a,4),129),t=e==null?0:e.length,MF(this,null),zPe(this,t,e)},Q.Gc=function(e){var t=P(Uj(this.a,4),129),n,r,i,a;if(t!=null){if(e!=null){for(r=t,i=0,a=r.length;i<a;++i)if(n=r[i],DN(e,n))return!0}else for(r=t,i=0,a=r.length;i<a;++i)if(n=r[i],j(n)===j(e))return!0}return!1},Q.Xb=function(e){var t=P(Uj(this.a,4),129),n=t==null?0:t.length;if(e>=n)throw D(new SS(e,n));return t[e]},Q.bd=function(e){var t=P(Uj(this.a,4),129),n,r;if(t!=null){if(e!=null){for(n=0,r=t.length;n<r;++n)if(DN(e,t[n]))return n}else for(n=0,r=t.length;n<r;++n)if(j(t[n])===j(e))return n}return-1},Q.dc=function(){return P(Uj(this.a,4),129)==null},Q.Jc=function(){return new cNe(this)},Q.cd=function(){return new ECe(this)},Q.dd=function(e){var t,n=(t=P(Uj(this.a,4),129),t==null?0:t.length);if(e<0||e>n)throw D(new SS(e,n));return new gTe(this,e)},Q.Ri=function(e,t){var n=$Ke(this),r,i=n==null?0:n.length;if(e>=i)throw D(new ig(Iq+e+Lq+i));if(t>=i)throw D(new ig(Rq+t+Lq+i));return r=n[t],e!=t&&(e<t?Fz(n,e,n,e+1,t-e):Fz(n,t+1,n,t,e-t),Jw(n,e,r),MF(this,n)),r},Q.Ti=function(e){return P(Uj(this.a,4),129)[e]},Q.ed=function(e){return b3e(this,e)},Q.Vi=function(e,t){var n=$Ke(this),r=n[e];return Pb(n,e,VM(this,t)),MF(this,n),r},Q.gc=function(){var e;return e=P(Uj(this.a,4),129),e==null?0:e.length},Q.Nc=function(){var e=P(Uj(this.a,4),129),t,n=e==null?0:e.length;return t=V(eBt,Qq,415,n,0,1),n>0&&Fz(e,0,t,0,n),t},Q.Oc=function(e){var t=P(Uj(this.a,4),129),n,r=t==null?0:t.length;return r>0&&(e.length<r&&(n=NA(WM(e).c,r),e=n),Fz(t,0,e,0,r)),e.length>r&&Jw(e,r,null),e};var nBt;L(Dq,`ArrayDelegatingEList`,2042),q(1032,42,aV,cNe),Q.Vj=function(){if(this.b.j!=this.f||j(P(Uj(this.b.a,4),129))!==j(this.a))throw D(new gh)},Q.Qb=function(){YI(this),this.a=P(Uj(this.b.a,4),129)},L(Dq,`ArrayDelegatingEList/EIterator`,1032),q(712,286,dV,ECe,gTe),Q.Vj=function(){if(this.b.j!=this.f||j(P(Uj(this.b.a,4),129))!==j(this.a))throw D(new gh)},Q.Yj=function(e){PYe(this,e),this.a=P(Uj(this.b.a,4),129)},Q.Qb=function(){YI(this),this.a=P(Uj(this.b.a,4),129)},L(Dq,`ArrayDelegatingEList/EListIterator`,712),q(1033,355,aV,lNe),Q.Vj=function(){if(this.b.j!=this.f||j(P(Uj(this.b.a,4),129))!==j(this.a))throw D(new gh)},L(Dq,`ArrayDelegatingEList/NonResolvingEIterator`,1033),q(713,391,dV,DCe,_Te),Q.Vj=function(){if(this.b.j!=this.f||j(P(Uj(this.b.a,4),129))!==j(this.a))throw D(new gh)},L(Dq,`ArrayDelegatingEList/NonResolvingEListIterator`,713),q(605,305,dH,ub),L(Dq,`BasicEList/BasicIndexOutOfBoundsException`,605),q(699,67,zq,yde),Q._c=function(e,t){throw D(new bh)},Q.Ec=function(e){throw D(new bh)},Q.ad=function(e,t){throw D(new bh)},Q.Fc=function(e){throw D(new bh)},Q.$b=function(){throw D(new bh)},Q.Zi=function(e){throw D(new bh)},Q.Jc=function(){return this.Gi()},Q.cd=function(){return this.Hi()},Q.dd=function(e){return this.Ii(e)},Q.Ri=function(e,t){throw D(new bh)},Q.Si=function(e,t){throw D(new bh)},Q.ed=function(e){throw D(new bh)},Q.Kc=function(e){throw D(new bh)},Q.fd=function(e,t){throw D(new bh)},L(Dq,`BasicEList/UnmodifiableEList`,699),q(711,1,{3:1,20:1,18:1,16:1,61:1,586:1}),Q._c=function(e,t){Cpe(this,e,P(t,45))},Q.Ec=function(e){return Uhe(this,P(e,45))},Q.Ic=function(e){dO(this,e)},Q.Xb=function(e){return P(H(this.c,e),136)},Q.Ri=function(e,t){return P(this.c.Ri(e,t),45)},Q.Si=function(e,t){wpe(this,e,P(t,45))},Q.ed=function(e){return P(this.c.ed(e),45)},Q.fd=function(e,t){return cwe(this,e,P(t,45))},Q.gd=function(e){pj(this,e)},Q.Lc=function(){return new nD(this,16)},Q.Mc=function(){return new jC(null,new nD(this,16))},Q.ad=function(e,t){return this.c.ad(e,t)},Q.Fc=function(e){return this.c.Fc(e)},Q.$b=function(){this.c.$b()},Q.Gc=function(e){return this.c.Gc(e)},Q.Hc=function(e){return mM(this.c,e)},Q.Zj=function(){var e,t,n;if(this.d==null){for(this.d=V(Zzt,tvt,67,2*this.f+1,0,1),n=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)e=P(t.Wj(),136),$F(this,e);this.e=n}},Q.Fb=function(e){return U_e(this,e)},Q.Hb=function(){return yVe(this.c)},Q.bd=function(e){return this.c.bd(e)},Q.$j=function(){this.c=new Cre(this)},Q.dc=function(){return this.f==0},Q.Jc=function(){return this.c.Jc()},Q.cd=function(){return this.c.cd()},Q.dd=function(e){return this.c.dd(e)},Q._j=function(){return JO(this)},Q.ak=function(e,t,n){return new Abe(e,t,n)},Q.bk=function(){return new sl},Q.Kc=function(e){return DRe(this,e)},Q.gc=function(){return this.f},Q.hd=function(e,t){return new QE(this.c,e,t)},Q.Nc=function(){return this.c.Nc()},Q.Oc=function(e){return this.c.Oc(e)},Q.Ib=function(){return BGe(this.c)},Q.e=0,Q.f=0,L(Dq,`BasicEMap`,711),q(1027,67,zq,Cre),Q.Ki=function(e,t){mie(this,P(t,136))},Q.Ni=function(e,t,n){var r;++(r=this,P(t,136),r).a.e},Q.Oi=function(e,t){hie(this,P(t,136))},Q.Pi=function(e,t,n){ahe(this,P(t,136),P(n,136))},Q.Mi=function(e,t){HBe(this.a)},L(Dq,`BasicEMap/1`,1027),q(1028,67,zq,sl),Q.$i=function(e){return V(rBt,nvt,611,e,0,1)},L(Dq,`BasicEMap/2`,1028),q(1029,lV,uV,wre),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){return zP(this.a,e)},Q.Jc=function(){return this.a.f==0?(aS(),E7.a):new Yoe(this.a)},Q.Kc=function(e){var t=this.a.f;return iF(this.a,e),this.a.f!=t},Q.gc=function(){return this.a.f},L(Dq,`BasicEMap/3`,1029),q(1030,31,cV,Tre),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){return ret(this.a,e)},Q.Jc=function(){return this.a.f==0?(aS(),E7.a):new Xoe(this.a)},Q.gc=function(){return this.a.f},L(Dq,`BasicEMap/4`,1030),q(1031,lV,uV,Ere),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){var t,n,r,i,a,o,s,c,l;if(this.a.f>0&&M(e,45)&&(this.a.Zj(),c=P(e,45),s=c.jd(),i=s==null?0:Cj(s),a=Age(this.a,i),t=this.a.d[a],t)){for(n=P(t.g,374),l=t.i,o=0;o<l;++o)if(r=n[o],r.yi()==i&&r.Fb(c))return!0}return!1},Q.Jc=function(){return this.a.f==0?(aS(),E7.a):new ZTe(this.a)},Q.Kc=function(e){return v6e(this,e)},Q.gc=function(){return this.a.f},L(Dq,`BasicEMap/5`,1031),q(612,1,aV,ZTe),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return this.b!=-1},Q.Pb=function(){var e;if(this.f.e!=this.c)throw D(new gh);if(this.b==-1)throw D(new xh);return this.d=this.a,this.e=this.b,RZe(this),e=P(this.f.d[this.d].g[this.e],136),this.ck(e)},Q.Qb=function(){if(this.f.e!=this.c)throw D(new gh);if(this.e==-1)throw D(new vh);this.f.c.Kc(H(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},Q.ck=function(e){return e},Q.a=0,Q.b=-1,Q.c=0,Q.d=0,Q.e=0,L(Dq,`BasicEMap/BasicEMapIterator`,612),q(1025,612,aV,Yoe),Q.ck=function(e){return e.jd()},L(Dq,`BasicEMap/BasicEMapKeyIterator`,1025),q(1026,612,aV,Xoe),Q.ck=function(e){return e.kd()},L(Dq,`BasicEMap/BasicEMapValueIterator`,1026),q($q,1,sV,Dre),Q.wc=function(e){Mj(this,e)},Q.$b=function(){this.a.c.$b()},Q._b=function(e){return Ode(this,e)},Q.uc=function(e){return ret(this.a,e)},Q.vc=function(){return PPe(this.a)},Q.Fb=function(e){return U_e(this.a,e)},Q.xc=function(e){return VP(this.a,e)},Q.Hb=function(){return yVe(this.a.c)},Q.dc=function(){return this.a.f==0},Q.ec=function(){return NPe(this.a)},Q.yc=function(e,t){return HI(this.a,e,t)},Q.Ac=function(e){return iF(this.a,e)},Q.gc=function(){return this.a.f},Q.Ib=function(){return BGe(this.a.c)},Q.Bc=function(){return MPe(this.a)},L(Dq,`BasicEMap/DelegatingMap`,$q),q(611,1,{45:1,136:1,611:1},Abe),Q.Fb=function(e){var t;return M(e,45)?(t=P(e,45),(this.b==null?j(this.b)===j(t.jd()):DN(this.b,t.jd()))&&(this.c==null?j(this.c)===j(t.kd()):DN(this.c,t.kd()))):!1},Q.yi=function(){return this.a},Q.jd=function(){return this.b},Q.kd=function(){return this.c},Q.Hb=function(){return this.a^(this.c==null?0:Cj(this.c))},Q.zi=function(e){this.a=e},Q.Ai=function(e){throw D(new uh)},Q.ld=function(e){var t=this.c;return this.c=e,t},Q.Ib=function(){return this.b+`->`+this.c},Q.a=0;var rBt=L(Dq,`BasicEMap/EntryImpl`,611);q(534,1,{},al),L(Dq,`BasicEMap/View`,534);var E7;q(769,1,{}),Q.Fb=function(e){return C6e((KT(),EY),e)},Q.Hb=function(){return xHe((KT(),EY))},Q.Ib=function(){return wL((KT(),EY))},L(Dq,`ECollections/BasicEmptyUnmodifiableEList`,769),q(1302,1,dV,ol),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){throw D(new bh)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw D(new xh)},Q.Tb=function(){return 0},Q.Ub=function(){throw D(new xh)},Q.Vb=function(){return-1},Q.Qb=function(){throw D(new bh)},Q.Wb=function(e){throw D(new bh)},L(Dq,`ECollections/BasicEmptyUnmodifiableEList/1`,1302),q(1300,769,{20:1,18:1,16:1,61:1},Jie),Q._c=function(e,t){jse()},Q.Ec=function(e){return Ase()},Q.ad=function(e,t){return Mse()},Q.Fc=function(e){return Nse()},Q.$b=function(){Pse()},Q.Gc=function(e){return!1},Q.Hc=function(e){return!1},Q.Ic=function(e){dO(this,e)},Q.Xb=function(e){return Bde((KT(),e)),null},Q.bd=function(e){return-1},Q.dc=function(){return!0},Q.Jc=function(){return this.a},Q.cd=function(){return this.a},Q.dd=function(e){return this.a},Q.Ri=function(e,t){return Fse()},Q.Si=function(e,t){Ise()},Q.ed=function(e){return Lse()},Q.Kc=function(e){return Rse()},Q.fd=function(e,t){return zse()},Q.gc=function(){return 0},Q.gd=function(e){pj(this,e)},Q.Lc=function(){return new nD(this,16)},Q.Mc=function(){return new jC(null,new nD(this,16))},Q.hd=function(e,t){return KT(),new QE(EY,e,t)},Q.Nc=function(){return ZSe((KT(),EY))},Q.Oc=function(e){return KT(),lI(EY,e)},L(Dq,`ECollections/EmptyUnmodifiableEList`,1300),q(1301,769,{20:1,18:1,16:1,61:1,586:1},Yie),Q._c=function(e,t){jse()},Q.Ec=function(e){return Ase()},Q.ad=function(e,t){return Mse()},Q.Fc=function(e){return Nse()},Q.$b=function(){Pse()},Q.Gc=function(e){return!1},Q.Hc=function(e){return!1},Q.Ic=function(e){dO(this,e)},Q.Xb=function(e){return Bde((KT(),e)),null},Q.bd=function(e){return-1},Q.dc=function(){return!0},Q.Jc=function(){return this.a},Q.cd=function(){return this.a},Q.dd=function(e){return this.a},Q.Ri=function(e,t){return Fse()},Q.Si=function(e,t){Ise()},Q.ed=function(e){return Lse()},Q.Kc=function(e){return Rse()},Q.fd=function(e,t){return zse()},Q.gc=function(){return 0},Q.gd=function(e){pj(this,e)},Q.Lc=function(){return new nD(this,16)},Q.Mc=function(){return new jC(null,new nD(this,16))},Q.hd=function(e,t){return KT(),new QE(EY,e,t)},Q.Nc=function(){return ZSe((KT(),EY))},Q.Oc=function(e){return KT(),lI(EY,e)},Q._j=function(){return KT(),KT(),DY},L(Dq,`ECollections/EmptyUnmodifiableEMap`,1301);var iBt=yC(Dq,`Enumerator`),D7;q(290,1,{290:1},det),Q.Fb=function(e){var t;return this===e?!0:M(e,290)?(t=P(e,290),this.f==t.f&&ySe(this.i,t.i)&&vSe(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&vSe(this.d,t.d)&&vSe(this.g,t.g)&&vSe(this.e,t.e)&&xJe(this,t)):!1},Q.Hb=function(){return this.f},Q.Ib=function(){return Ant(this)},Q.f=0;var aBt=0,oBt=0,sBt=0,cBt=0,lBt=0,uBt=0,dBt=0,fBt=0,pBt=0,mBt,O7=0,k7=0,hBt=0,gBt=0,A7,_Bt;L(Dq,`URI`,290),q(1090,44,DH,Xie),Q.yc=function(e,t){return P(LE(this,tS(e),P(t,290)),290)},L(Dq,`URI/URICache`,1090),q(492,67,zq,cl,PC),Q.Qi=function(){return!0},L(Dq,`UniqueEList`,492),q(578,63,RV,Ok),L(Dq,`WrappedException`,578);var j7=yC(tq,avt),M7=yC(tq,ovt),N7=yC(tq,svt),P7=yC(tq,cvt),F7=yC(tq,lvt),I7=yC(tq,`EClass`),vBt=yC(tq,`EDataType`),yBt;q(1198,44,DH,Zie),Q.xc=function(e){return Uy(e)?vE(this,e):By(VC(this.f,e))},L(tq,`EDataType/Internal/ConversionDelegate/Factory/Registry/Impl`,1198);var L7=yC(tq,`EEnum`),R7=yC(tq,uvt),z7=yC(tq,dvt),B7=yC(tq,fvt),V7,H7=yC(tq,pvt),U7=yC(tq,mvt);q(1023,1,{},ll),Q.Ib=function(){return`NIL`},L(tq,`EStructuralFeature/Internal/DynamicValueHolder/1`,1023);var bBt;q(1022,44,DH,Qie),Q.xc=function(e){return Uy(e)?vE(this,e):By(VC(this.f,e))},L(tq,`EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl`,1022);var W7=yC(tq,hvt),G7=yC(tq,`EValidator/PatternMatcher`),xBt,SBt,K7,q7,J7,Y7,CBt,wBt,TBt,X7,Z7,Q7,$7,e9,EBt,DBt,t9,n9,OBt,r9,i9,a9,o9,kBt,ABt,s9,c9=yC(eJ,`FeatureMap/Entry`);q(533,1,{75:1},Fy),Q.Jk=function(){return this.a},Q.kd=function(){return this.b},L(cq,`BasicEObjectImpl/1`,533),q(1021,1,tJ,bde),Q.Dk=function(e){return EO(this.a,this.b,e)},Q.Oj=function(){return eOe(this.a,this.b)},Q.Wb=function(e){qDe(this.a,this.b,e)},Q.Ek=function(){cTe(this.a,this.b)},L(cq,`BasicEObjectImpl/4`,1021),q(2043,1,{114:1}),Q.Kk=function(e){this.e=e==0?jBt:V(ZJ,$B,1,e,5,1)},Q.ii=function(e){return this.e[e]},Q.ji=function(e,t){this.e[e]=t},Q.ki=function(e){this.e[e]=null},Q.Lk=function(){return this.c},Q.Mk=function(){throw D(new bh)},Q.Nk=function(){throw D(new bh)},Q.Ok=function(){return this.d},Q.Pk=function(){return this.e!=null},Q.Qk=function(e){this.c=e},Q.Rk=function(e){throw D(new bh)},Q.Sk=function(e){throw D(new bh)},Q.Tk=function(e){this.d=e};var jBt;L(cq,`BasicEObjectImpl/EPropertiesHolderBaseImpl`,2043),q(192,2043,{114:1},wf),Q.Mk=function(){return this.a},Q.Nk=function(){return this.b},Q.Rk=function(e){this.a=e},Q.Sk=function(e){this.b=e},L(cq,`BasicEObjectImpl/EPropertiesHolderImpl`,192),q(501,100,$gt,ul),Q.rh=function(){return this.f},Q.wh=function(){return this.k},Q.yh=function(e,t){this.g=e,this.i=t},Q.Ah=function(){return this.j&2?this.Xh().Lk():this.fi()},Q.Ch=function(){return this.i},Q.th=function(){return(this.j&1)!=0},Q.Mh=function(){return this.g},Q.Sh=function(){return(this.j&4)!=0},Q.Xh=function(){return!this.k&&(this.k=new wf),this.k},Q._h=function(e){this.Xh().Qk(e),e?this.j|=2:this.j&=-3},Q.bi=function(e){this.Xh().Sk(e),e?this.j|=4:this.j&=-5},Q.fi=function(){return(Uw(),K7).S},Q.i=0,Q.j=1,L(cq,`EObjectImpl`,501),q(785,501,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},cxe),Q.ii=function(e){return this.e[e]},Q.ji=function(e,t){this.e[e]=t},Q.ki=function(e){this.e[e]=null},Q.Ah=function(){return this.d},Q.Fh=function(e){return NP(this.d,e)},Q.Hh=function(){return this.d},Q.Lh=function(){return this.e!=null},Q.Xh=function(){return!this.k&&(this.k=new dl),this.k},Q._h=function(e){this.d=e},Q.ei=function(){var e;return this.e??=(e=Hw(this.d),e==0?MBt:V(ZJ,$B,1,e,5,1)),this},Q.gi=function(){return 0};var MBt;L(cq,`DynamicEObjectImpl`,785),q(1483,785,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},Mxe),Q.Fb=function(e){return this===e},Q.Hb=function(){return jx(this)},Q._h=function(e){this.d=e,this.b=KR(e,`key`),this.c=KR(e,_q)},Q.yi=function(){var e;return this.a==-1&&(e=CIe(this,this.b),this.a=e==null?0:Cj(e)),this.a},Q.jd=function(){return CIe(this,this.b)},Q.kd=function(){return CIe(this,this.c)},Q.zi=function(e){this.a=e},Q.Ai=function(e){qDe(this,this.b,e)},Q.ld=function(e){var t=CIe(this,this.c);return qDe(this,this.c,e),t},Q.a=0,L(cq,`DynamicEObjectImpl/BasicEMapEntry`,1483),q(1484,1,{114:1},dl),Q.Kk=function(e){throw D(new bh)},Q.ii=function(e){throw D(new bh)},Q.ji=function(e,t){throw D(new bh)},Q.ki=function(e){throw D(new bh)},Q.Lk=function(){throw D(new bh)},Q.Mk=function(){return this.a},Q.Nk=function(){return this.b},Q.Ok=function(){return this.c},Q.Pk=function(){throw D(new bh)},Q.Qk=function(e){throw D(new bh)},Q.Rk=function(e){this.a=e},Q.Sk=function(e){this.b=e},Q.Tk=function(e){this.c=e},L(cq,`DynamicEObjectImpl/DynamicEPropertiesHolderImpl`,1484),q(504,161,{109:1,94:1,93:1,587:1,158:1,57:1,114:1,52:1,100:1,504:1,161:1,117:1,118:1},fl),Q.xh=function(e){return XXe(this,e)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new Xx((VB(),o9),d9,this)),this.b):(!this.b&&(this.b=new Xx((VB(),o9),d9,this)),JO(this.b));case 3:return dOe(this);case 4:return!this.a&&(this.a=new ix(Q5,this,4)),this.a;case 5:return!this.c&&(this.c=new sx(Q5,this,5)),this.c}return ck(this,e-Hw((VB(),q7)),eA((r=P(Uj(this,16),29),r||q7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 3:return this.Cb&&(n=(i=this.Db>>16,i>=0?XXe(this,n):this.Cb.Qh(this,-1-i,null,n))),KSe(this,P(e,158),n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),q7)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),q7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 2:return!this.b&&(this.b=new Xx((VB(),o9),d9,this)),DS(this.b,e,n);case 3:return KSe(this,null,n);case 4:return!this.a&&(this.a=new ix(Q5,this,4)),RF(this.a,e,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),q7)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),q7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!dOe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return BD(this,e-Hw((VB(),q7)),eA((t=P(Uj(this,16),29),t||q7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:zxe(this,tS(t));return;case 2:!this.b&&(this.b=new Xx((VB(),o9),d9,this)),jj(this.b,t);return;case 3:Q5e(this,P(t,158));return;case 4:!this.a&&(this.a=new ix(Q5,this,4)),oB(this.a),!this.a&&(this.a=new ix(Q5,this,4)),zw(this.a,P(t,18));return;case 5:!this.c&&(this.c=new sx(Q5,this,5)),oB(this.c),!this.c&&(this.c=new sx(Q5,this,5)),zw(this.c,P(t,18));return}vP(this,e-Hw((VB(),q7)),eA((n=P(Uj(this,16),29),n||q7),e),t)},Q.fi=function(){return VB(),q7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:QRe(this,null);return;case 2:!this.b&&(this.b=new Xx((VB(),o9),d9,this)),this.b.c.$b();return;case 3:Q5e(this,null);return;case 4:!this.a&&(this.a=new ix(Q5,this,4)),oB(this.a);return;case 5:!this.c&&(this.c=new sx(Q5,this,5)),oB(this.c);return}AN(this,e-Hw((VB(),q7)),eA((t=P(Uj(this,16),29),t||q7),e))},Q.Ib=function(){return kWe(this)},Q.d=null,L(cq,`EAnnotationImpl`,504),q(142,711,gvt,ik),Q.Ei=function(e,t){Ufe(this,e,P(t,45))},Q.Uk=function(e,t){return K_e(this,P(e,45),t)},Q.Yi=function(e){return P(P(this.c,72).Yi(e),136)},Q.Gi=function(){return P(this.c,72).Gi()},Q.Hi=function(){return P(this.c,72).Hi()},Q.Ii=function(e){return P(this.c,72).Ii(e)},Q.Vk=function(e,t){return DS(this,e,t)},Q.Dk=function(e){return P(this.c,77).Dk(e)},Q.$j=function(){},Q.Oj=function(){return P(this.c,77).Oj()},Q.ak=function(e,t,n){var r=P(lA(this.b).ti().pi(this.b),136);return r.zi(e),r.Ai(t),r.ld(n),r},Q.bk=function(){return new Lre(this)},Q.Wb=function(e){jj(this,e)},Q.Ek=function(){P(this.c,77).Ek()},L(eJ,`EcoreEMap`,142),q(169,142,gvt,Xx),Q.Zj=function(){var e,t,n,r,i,a;if(this.d==null){for(a=V(Zzt,tvt,67,2*this.f+1,0,1),n=this.c.Jc();n.e!=n.i.gc();)t=P(n.Wj(),136),r=t.yi(),i=(r&JB)%a.length,e=a[i],!e&&(e=a[i]=new Lre(this)),e.Ec(t);this.d=a}},L(cq,`EAnnotationImpl/1`,169),q(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return mx(),!!(this.Bb&256);case 3:return mx(),!!(this.Bb&512);case 4:return G(this.s);case 5:return G(this.t);case 6:return mx(),!!this.Hk();case 7:return mx(),i=this.s,i>=1;case 8:return t?LI(this):this.r;case 9:return this.q}return ck(this,e-Hw(this.fi()),eA((r=P(Uj(this,16),29),r||this.fi()),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 9:return owe(this,n)}return i=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),i.uk().yk(this,sF(this),t-Hw(this.fi()),e,n)},Q.Th=function(e){var t,n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&fT(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fT(this.q).i==0)}return BD(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:this.ri(tS(t));return;case 2:jN(this,hg(eS(t)));return;case 3:MN(this,hg(eS(t)));return;case 4:AA(this,P(t,15).a);return;case 5:this.Xk(P(t,15).a);return;case 8:gN(this,P(t,143));return;case 9:r=pL(this,P(t,87),null),r&&r.mj();return}vP(this,e-Hw(this.fi()),eA((n=P(Uj(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return VB(),ABt},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:this.ri(null);return;case 2:jN(this,!0);return;case 3:MN(this,!0);return;case 4:AA(this,0);return;case 5:this.Xk(1);return;case 8:gN(this,null);return;case 9:n=pL(this,null,null),n&&n.mj();return}AN(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.mi=function(){LI(this),this.Bb|=1},Q.Fk=function(){return LI(this)},Q.Gk=function(){return this.t},Q.Hk=function(){var e;return e=this.t,e>1||e==-1},Q.Qi=function(){return(this.Bb&512)!=0},Q.Wk=function(e,t){return gWe(this,e,t)},Q.Xk=function(e){jA(this,e)},Q.Ib=function(){return I3e(this)},Q.s=0,Q.t=1,L(cq,`ETypedElementImpl`,293),q(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),Q.xh=function(e){return yXe(this,e)},Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return mx(),!!(this.Bb&256);case 3:return mx(),!!(this.Bb&512);case 4:return G(this.s);case 5:return G(this.t);case 6:return mx(),!!this.Hk();case 7:return mx(),i=this.s,i>=1;case 8:return t?LI(this):this.r;case 9:return this.q;case 10:return mx(),(this.Bb&$q)!=0;case 11:return mx(),(this.Bb&pV)!=0;case 12:return mx(),(this.Bb&hH)!=0;case 13:return this.j;case 14:return BR(this);case 15:return mx(),(this.Bb&nJ)!=0;case 16:return mx(),(this.Bb&mV)!=0;case 17:return FE(this)}return ck(this,e-Hw(this.fi()),eA((r=P(Uj(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 17:return this.Cb&&(n=(i=this.Db>>16,i>=0?yXe(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,17,n)}return a=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),a.uk().xk(this,sF(this),t-Hw(this.fi()),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 9:return owe(this,n);case 17:return kz(this,null,17,n)}return i=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),i.uk().yk(this,sF(this),t-Hw(this.fi()),e,n)},Q.Th=function(e){var t,n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&fT(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fT(this.q).i==0);case 10:return(this.Bb&$q)==0;case 11:return(this.Bb&pV)!=0;case 12:return(this.Bb&hH)!=0;case 13:return this.j!=null;case 14:return BR(this)!=null;case 15:return(this.Bb&nJ)!=0;case 16:return(this.Bb&mV)!=0;case 17:return!!FE(this)}return BD(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:JE(this,tS(t));return;case 2:jN(this,hg(eS(t)));return;case 3:MN(this,hg(eS(t)));return;case 4:AA(this,P(t,15).a);return;case 5:this.Xk(P(t,15).a);return;case 8:gN(this,P(t,143));return;case 9:r=pL(this,P(t,87),null),r&&r.mj();return;case 10:YN(this,hg(eS(t)));return;case 11:QN(this,hg(eS(t)));return;case 12:ZN(this,hg(eS(t)));return;case 13:Ede(this,tS(t));return;case 15:XN(this,hg(eS(t)));return;case 16:tP(this,hg(eS(t)));return}vP(this,e-Hw(this.fi()),eA((n=P(Uj(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return VB(),kBt},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,88)&&$L(bO(P(this.Cb,88)),4),hj(this,null);return;case 2:jN(this,!0);return;case 3:MN(this,!0);return;case 4:AA(this,0);return;case 5:this.Xk(1);return;case 8:gN(this,null);return;case 9:n=pL(this,null,null),n&&n.mj();return;case 10:YN(this,!0);return;case 11:QN(this,!1);return;case 12:ZN(this,!1);return;case 13:this.i=null,rj(this,null);return;case 15:XN(this,!1);return;case 16:tP(this,!1);return}AN(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.mi=function(){ET(wk((HL(),p9),this)),LI(this),this.Bb|=1},Q.nk=function(){return this.f},Q.gk=function(){return BR(this)},Q.ok=function(){return FE(this)},Q.sk=function(){return null},Q.Yk=function(){return this.k},Q.Jj=function(){return this.n},Q.tk=function(){return $I(this)},Q.uk=function(){var e,t,n,r,i,a,o,s,c;return this.p||(n=FE(this),(n.i??Rz(n),n.i).length,r=this.sk(),r&&Hw(FE(r)),i=LI(this),o=i.ik(),e=o?o.i&1?o==J9?uY:o==q9?hY:o==Q9?mY:o==Z9?pY:o==Y9?gY:o==$9?_Y:o==X9?dY:fY:o:null,t=BR(this),s=i.gk(),yGe(this),(this.Bb&mV)!=0&&((a=KZe((HL(),p9),n))&&a!=this||(a=cD(wk(p9,this))))?this.p=new Cde(this,a):this.Hk()?this.$k()?r?(this.Bb&nJ)==0?e?this._k()?this.p=new WT(49,e,this,r):this.p=new WT(7,e,this,r):this._k()?this.p=new tO(48,this,r):this.p=new tO(6,this,r):e?this._k()?this.p=new WT(47,e,this,r):this.p=new WT(5,e,this,r):this._k()?this.p=new tO(46,this,r):this.p=new tO(4,this,r):(this.Bb&nJ)==0?e?e==tY?this.p=new YS(41,Gzt,this):this._k()?this.p=new YS(45,e,this):this.p=new YS(3,e,this):this._k()?this.p=new iE(44,this):this.p=new iE(2,this):e?e==tY?this.p=new YS(50,Gzt,this):this._k()?this.p=new YS(43,e,this):this.p=new YS(1,e,this):this._k()?this.p=new iE(42,this):this.p=new iE(0,this):M(i,159)?e==c9?this.p=new iE(40,this):this.Bb&512?(this.Bb&nJ)==0?e?this.p=new YS(11,e,this):this.p=new iE(10,this):e?this.p=new YS(9,e,this):this.p=new iE(8,this):(this.Bb&nJ)==0?e?this.p=new YS(15,e,this):this.p=new iE(14,this):e?this.p=new YS(13,e,this):this.p=new iE(12,this):r?(c=r.t,c>1||c==-1?this._k()?(this.Bb&nJ)==0?e?this.p=new WT(27,e,this,r):this.p=new tO(26,this,r):e?this.p=new WT(25,e,this,r):this.p=new tO(24,this,r):(this.Bb&nJ)==0?e?this.p=new WT(31,e,this,r):this.p=new tO(30,this,r):e?this.p=new WT(29,e,this,r):this.p=new tO(28,this,r):this._k()?(this.Bb&nJ)==0?e?this.p=new WT(35,e,this,r):this.p=new tO(34,this,r):e?this.p=new WT(33,e,this,r):this.p=new tO(32,this,r):(this.Bb&nJ)==0?e?this.p=new WT(39,e,this,r):this.p=new tO(38,this,r):e?this.p=new WT(37,e,this,r):this.p=new tO(36,this,r)):this._k()?(this.Bb&nJ)==0?e?this.p=new YS(19,e,this):this.p=new iE(18,this):e?this.p=new YS(17,e,this):this.p=new iE(16,this):(this.Bb&nJ)==0?e?this.p=new YS(23,e,this):this.p=new iE(22,this):e?this.p=new YS(21,e,this):this.p=new iE(20,this):this.Zk()?this._k()?this.p=new vbe(P(i,29),this,r):this.p=new jDe(P(i,29),this,r):M(i,159)?e==c9?this.p=new iE(40,this):(this.Bb&nJ)==0?e?this.p=new VSe(t,s,this,(KP(),o==q9?WBt:o==J9?zBt:o==Y9?GBt:o==Q9?UBt:o==Z9?HBt:o==$9?qBt:o==X9?BBt:o==K9?VBt:KBt)):this.p=new nEe(P(i,159),t,s,this):e?this.p=new HSe(t,s,this,(KP(),o==q9?WBt:o==J9?zBt:o==Y9?GBt:o==Q9?UBt:o==Z9?HBt:o==$9?qBt:o==X9?BBt:o==K9?VBt:KBt)):this.p=new rEe(P(i,159),t,s,this):this.$k()?r?(this.Bb&nJ)==0?this._k()?this.p=new ybe(P(i,29),this,r):this.p=new qS(P(i,29),this,r):this._k()?this.p=new xbe(P(i,29),this,r):this.p=new bbe(P(i,29),this,r):(this.Bb&nJ)==0?this._k()?this.p=new Lhe(P(i,29),this):this.p=new Zx(P(i,29),this):this._k()?this.p=new zhe(P(i,29),this):this.p=new Rhe(P(i,29),this):this._k()?r?(this.Bb&nJ)==0?this.p=new Cbe(P(i,29),this,r):this.p=new Sbe(P(i,29),this,r):(this.Bb&nJ)==0?this.p=new Bhe(P(i,29),this):this.p=new Vhe(P(i,29),this):r?(this.Bb&nJ)==0?this.p=new wbe(P(i,29),this,r):this.p=new Tbe(P(i,29),this,r):(this.Bb&nJ)==0?this.p=new MC(P(i,29),this):this.p=new Hhe(P(i,29),this)),this.p},Q.pk=function(){return(this.Bb&$q)!=0},Q.Zk=function(){return!1},Q.$k=function(){return!1},Q.qk=function(){return(this.Bb&mV)!=0},Q.vk=function(){return Lk(this)},Q._k=function(){return!1},Q.rk=function(){return(this.Bb&nJ)!=0},Q.al=function(e){this.k=e},Q.ri=function(e){JE(this,e)},Q.Ib=function(){return pz(this)},Q.e=!1,Q.n=0,L(cq,`EStructuralFeatureImpl`,451),q(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},zh),Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return mx(),!!(this.Bb&256);case 3:return mx(),!!(this.Bb&512);case 4:return G(this.s);case 5:return G(this.t);case 6:return mx(),!!K4e(this);case 7:return mx(),i=this.s,i>=1;case 8:return t?LI(this):this.r;case 9:return this.q;case 10:return mx(),(this.Bb&$q)!=0;case 11:return mx(),(this.Bb&pV)!=0;case 12:return mx(),(this.Bb&hH)!=0;case 13:return this.j;case 14:return BR(this);case 15:return mx(),(this.Bb&nJ)!=0;case 16:return mx(),(this.Bb&mV)!=0;case 17:return FE(this);case 18:return mx(),(this.Bb&sq)!=0;case 19:return t?lM(this):KNe(this)}return ck(this,e-Hw((VB(),J7)),eA((r=P(Uj(this,16),29),r||J7),e),t,n)},Q.Th=function(e){var t,n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return K4e(this);case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&fT(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fT(this.q).i==0);case 10:return(this.Bb&$q)==0;case 11:return(this.Bb&pV)!=0;case 12:return(this.Bb&hH)!=0;case 13:return this.j!=null;case 14:return BR(this)!=null;case 15:return(this.Bb&nJ)!=0;case 16:return(this.Bb&mV)!=0;case 17:return!!FE(this);case 18:return(this.Bb&sq)!=0;case 19:return!!KNe(this)}return BD(this,e-Hw((VB(),J7)),eA((t=P(Uj(this,16),29),t||J7),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:JE(this,tS(t));return;case 2:jN(this,hg(eS(t)));return;case 3:MN(this,hg(eS(t)));return;case 4:AA(this,P(t,15).a);return;case 5:ise(this,P(t,15).a);return;case 8:gN(this,P(t,143));return;case 9:r=pL(this,P(t,87),null),r&&r.mj();return;case 10:YN(this,hg(eS(t)));return;case 11:QN(this,hg(eS(t)));return;case 12:ZN(this,hg(eS(t)));return;case 13:Ede(this,tS(t));return;case 15:XN(this,hg(eS(t)));return;case 16:tP(this,hg(eS(t)));return;case 18:nP(this,hg(eS(t)));return}vP(this,e-Hw((VB(),J7)),eA((n=P(Uj(this,16),29),n||J7),e),t)},Q.fi=function(){return VB(),J7},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,88)&&$L(bO(P(this.Cb,88)),4),hj(this,null);return;case 2:jN(this,!0);return;case 3:MN(this,!0);return;case 4:AA(this,0);return;case 5:this.b=0,jA(this,1);return;case 8:gN(this,null);return;case 9:n=pL(this,null,null),n&&n.mj();return;case 10:YN(this,!0);return;case 11:QN(this,!1);return;case 12:ZN(this,!1);return;case 13:this.i=null,rj(this,null);return;case 15:XN(this,!1);return;case 16:tP(this,!1);return;case 18:nP(this,!1);return}AN(this,e-Hw((VB(),J7)),eA((t=P(Uj(this,16),29),t||J7),e))},Q.mi=function(){lM(this),ET(wk((HL(),p9),this)),LI(this),this.Bb|=1},Q.Hk=function(){return K4e(this)},Q.Wk=function(e,t){return this.b=0,this.a=null,gWe(this,e,t)},Q.Xk=function(e){ise(this,e)},Q.Ib=function(){var e;return this.Db&64?pz(this):(e=new gx(pz(this)),e.a+=` (iD: `,r_(e,(this.Bb&sq)!=0),e.a+=`)`,e.a)},Q.b=0,L(cq,`EAttributeImpl`,335),q(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),Q.bl=function(e){return e.Ah()==this},Q.xh=function(e){return xI(this,e)},Q.yh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return vI(this);case 4:return this.gk();case 5:return this.F;case 6:return t?lA(this):NE(this);case 7:return!this.A&&(this.A=new ox(W7,this,7)),this.A}return ck(this,e-Hw(this.fi()),eA((r=P(Uj(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?xI(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,6,n)}return a=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),a.uk().xk(this,sF(this),t-Hw(this.fi()),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 6:return kz(this,null,6,n);case 7:return!this.A&&(this.A=new ox(W7,this,7)),RF(this.A,e,n)}return i=P(eA((r=P(Uj(this,16),29),r||this.fi()),t),69),i.uk().yk(this,sF(this),t-Hw(this.fi()),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!vI(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!NE(this);case 7:return!!this.A&&this.A.i!=0}return BD(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:qE(this,tS(t));return;case 2:Eb(this,tS(t));return;case 5:hB(this,tS(t));return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A),!this.A&&(this.A=new ox(W7,this,7)),zw(this.A,P(t,18));return}vP(this,e-Hw(this.fi()),eA((n=P(Uj(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return VB(),CBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,184)&&(P(this.Cb,184).tb=null),hj(this,null);return;case 2:sN(this,null),MA(this,this.D);return;case 5:hB(this,null);return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A);return}AN(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.fk=function(){var e;return this.G==-1&&(this.G=(e=lA(this),e?GF(e.si(),this):-1)),this.G},Q.gk=function(){return null},Q.hk=function(){return lA(this)},Q.cl=function(){return this.v},Q.ik=function(){return vI(this)},Q.jk=function(){return this.D==null?this.B:this.D},Q.kk=function(){return this.F},Q.dk=function(e){return xrt(this,e)},Q.dl=function(e){this.v=e},Q.el=function(e){Nze(this,e)},Q.fl=function(e){this.C=e},Q.ri=function(e){qE(this,e)},Q.Ib=function(){return FP(this)},Q.C=null,Q.D=null,Q.G=-1,L(cq,`EClassifierImpl`,360),q(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},Cf),Q.bl=function(e){return b_e(this,e.Ah())},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return vI(this);case 4:return null;case 5:return this.F;case 6:return t?lA(this):NE(this);case 7:return!this.A&&(this.A=new ox(W7,this,7)),this.A;case 8:return mx(),!!(this.Bb&256);case 9:return mx(),!!(this.Bb&512);case 10:return cE(this);case 11:return!this.q&&(this.q=new F(B7,this,11,10)),this.q;case 12:return Xz(this);case 13:return Kz(this);case 14:return Kz(this),this.r;case 15:return Xz(this),this.k;case 16:return y2e(this);case 17:return git(this);case 18:return Rz(this);case 19:return LR(this);case 20:return Xz(this),this.o;case 21:return!this.s&&(this.s=new F(N7,this,21,17)),this.s;case 22:return KD(this);case 23:return Y9e(this)}return ck(this,e-Hw((VB(),Y7)),eA((r=P(Uj(this,16),29),r||Y7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?xI(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,6,n);case 11:return!this.q&&(this.q=new F(B7,this,11,10)),BP(this.q,e,n);case 21:return!this.s&&(this.s=new F(N7,this,21,17)),BP(this.s,e,n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),Y7)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),Y7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 6:return kz(this,null,6,n);case 7:return!this.A&&(this.A=new ox(W7,this,7)),RF(this.A,e,n);case 11:return!this.q&&(this.q=new F(B7,this,11,10)),RF(this.q,e,n);case 21:return!this.s&&(this.s=new F(N7,this,21,17)),RF(this.s,e,n);case 22:return RF(KD(this),e,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),Y7)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),Y7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!vI(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!NE(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&&KD(this.u.a).i!=0&&!(this.n&&nI(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return Xz(this).i!=0;case 13:return Kz(this).i!=0;case 14:return Kz(this),this.r.i!=0;case 15:return Xz(this),this.k.i!=0;case 16:return y2e(this).i!=0;case 17:return git(this).i!=0;case 18:return Rz(this).i!=0;case 19:return LR(this).i!=0;case 20:return Xz(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&nI(this.n);case 23:return Y9e(this).i!=0}return BD(this,e-Hw((VB(),Y7)),eA((t=P(Uj(this,16),29),t||Y7),e))},Q.Wh=function(e){return(this.i==null||this.q&&this.q.i!=0?null:KR(this,e))||Jct(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:qE(this,tS(t));return;case 2:Eb(this,tS(t));return;case 5:hB(this,tS(t));return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A),!this.A&&(this.A=new ox(W7,this,7)),zw(this.A,P(t,18));return;case 8:AWe(this,hg(eS(t)));return;case 9:jWe(this,hg(eS(t)));return;case 10:sB(cE(this)),zw(cE(this),P(t,18));return;case 11:!this.q&&(this.q=new F(B7,this,11,10)),oB(this.q),!this.q&&(this.q=new F(B7,this,11,10)),zw(this.q,P(t,18));return;case 21:!this.s&&(this.s=new F(N7,this,21,17)),oB(this.s),!this.s&&(this.s=new F(N7,this,21,17)),zw(this.s,P(t,18));return;case 22:oB(KD(this)),zw(KD(this),P(t,18));return}vP(this,e-Hw((VB(),Y7)),eA((n=P(Uj(this,16),29),n||Y7),e),t)},Q.fi=function(){return VB(),Y7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,184)&&(P(this.Cb,184).tb=null),hj(this,null);return;case 2:sN(this,null),MA(this,this.D);return;case 5:hB(this,null);return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A);return;case 8:AWe(this,!1);return;case 9:jWe(this,!1);return;case 10:this.u&&sB(this.u);return;case 11:!this.q&&(this.q=new F(B7,this,11,10)),oB(this.q);return;case 21:!this.s&&(this.s=new F(N7,this,21,17)),oB(this.s);return;case 22:this.n&&oB(this.n);return}AN(this,e-Hw((VB(),Y7)),eA((t=P(Uj(this,16),29),t||Y7),e))},Q.mi=function(){var e,t;if(Xz(this),Kz(this),y2e(this),git(this),Rz(this),LR(this),Y9e(this),kO(Ibe(bO(this))),this.s)for(e=0,t=this.s.i;e<t;++e)Wx(H(this.s,e));if(this.q)for(e=0,t=this.q.i;e<t;++e)Wx(H(this.q,e));EN((HL(),p9),this).ve(),this.Bb|=1},Q.Ib=function(){return jQe(this)},Q.k=null,Q.r=null;var l9,NBt,PBt;L(cq,`EClassImpl`,88),q(2054,2053,bvt),Q.Ci=function(e,t){return jrt(this,e,t)},Q.Di=function(e){return jrt(this,this.i,e)},Q.Ei=function(e,t){M3e(this,e,t)},Q.Fi=function(e){xR(this,e)},Q.Uk=function(e,t){return BP(this,e,t)},Q.Yi=function(e){return kFe(this,e)},Q.Vk=function(e,t){return RF(this,e,t)},Q.Vi=function(e,t){return uit(this,e,t)},Q.Gi=function(){return new Ox(this)},Q.Hi=function(){return new kx(this)},Q.Ii=function(e){return GA(this,e)},L(eJ,`NotifyingInternalEListImpl`,2054),q(623,2054,dJ),Q.Gc=function(e){return Zat(this,e)},Q.Gj=function(e,t,n,r,i){return IE(this,e,t,n,r,i)},Q.Hj=function(e){Th(this,e)},Q.Dk=function(e){return this},Q.Jk=function(){return eA(this.e.Ah(),this.Jj())},Q.Ij=function(){return this.Jk()},Q.Jj=function(){return NP(this.e.Ah(),this.Jk())},Q.gl=function(){return P(this.Jk().Fk(),29).ik()},Q.hl=function(){return QF(P(this.Jk(),19)).n},Q.hj=function(){return this.e},Q.il=function(){return!0},Q.jl=function(){return!1},Q.kl=function(){return!1},Q.ll=function(){return!1},Q.bd=function(e){return GF(this,e)},Q.Lj=function(e,t){var n;return n=P(e,52),this.kl()?this.il()?n.Oh(this.e,this.hl(),this.gl(),t):n.Oh(this.e,NP(n.Ah(),QF(P(this.Jk(),19))),null,t):n.Oh(this.e,-1-this.Jj(),null,t)},Q.Mj=function(e,t){var n;return n=P(e,52),this.kl()?this.il()?n.Qh(this.e,this.hl(),this.gl(),t):n.Qh(this.e,NP(n.Ah(),QF(P(this.Jk(),19))),null,t):n.Qh(this.e,-1-this.Jj(),null,t)},Q.$k=function(){return!1},Q.ml=function(){return!0},Q.dk=function(e){return Vje(this.d,e)},Q.Nj=function(){return gb(this.e)},Q.Oj=function(){return this.i!=0},Q.$i=function(e){return NA(this.d,e)},Q.Ui=function(e,t){return this.ml()&&this.ll()?yR(this,e,P(t,57)):t},Q.nl=function(e){return e.Sh()?bN(this.e,P(e,52)):e},Q.Wb=function(e){Spe(this,e)},Q.Nc=function(){return DFe(this)},Q.Oc=function(e){var t;if(this.ll())for(t=this.i-1;t>=0;--t)H(this,t);return SKe(this,e)},Q.Ek=function(){oB(this)},Q.Xi=function(e,t){return xRe(this,e,t)},L(eJ,`EcoreEList`,623),q(491,623,dJ,oC),Q.Ji=function(){return!1},Q.Jj=function(){return this.c},Q.Kj=function(){return!1},Q.ml=function(){return!0},Q.Qi=function(){return!0},Q.Ui=function(e,t){return t},Q.Wi=function(){return!1},Q.c=0,L(eJ,`EObjectEList`,491),q(81,491,dJ,ix),Q.Kj=function(){return!0},Q.kl=function(){return!1},Q.$k=function(){return!0},L(eJ,`EObjectContainmentEList`,81),q(543,81,dJ,ax),Q.Li=function(){this.b=!0},Q.Oj=function(){return this.b},Q.Ek=function(){var e;oB(this),gb(this.e)?(e=this.b,this.b=!1,Rj(this.e,new vO(this.e,2,this.c,e,!1))):this.b=!1},Q.b=!1,L(eJ,`EObjectContainmentEList/Unsettable`,543),q(1130,543,dJ,USe),Q.Ri=function(e,t){var n,r;return n=P(qN(this,e,t),87),gb(this.e)&&Th(this,new ak(this.a,7,(VB(),wBt),G(t),(r=n.c,M(r,88)?P(r,29):t9),e)),n},Q.Sj=function(e,t){return TKe(this,P(e,87),t)},Q.Tj=function(e,t){return EKe(this,P(e,87),t)},Q.Uj=function(e,t,n){return sQe(this,P(e,87),P(t,87),n)},Q.Gj=function(e,t,n,r,i){switch(e){case 3:return IE(this,e,t,n,r,this.i>1);case 5:return IE(this,e,t,n,r,this.i-P(n,16).gc()>0);default:return new Gk(this.e,e,this.c,t,n,r,!0)}},Q.Rj=function(){return!0},Q.Oj=function(){return nI(this)},Q.Ek=function(){oB(this)},L(cq,`EClassImpl/1`,1130),q(1144,1143,Q_t),Q.bj=function(e){var t,n=e.ej(),r,i,a,o,s;if(n!=8){if(r=tJe(e),r==0)switch(n){case 1:case 9:s=e.ij(),s!=null&&(t=bO(P(s,471)),!t.c&&(t.c=new jl),Ik(t.c,e.hj())),o=e.gj(),o!=null&&(i=P(o,471),i.Bb&1||(t=bO(i),!t.c&&(t.c=new jl),XO(t.c,P(e.hj(),29))));break;case 3:o=e.gj(),o!=null&&(i=P(o,471),i.Bb&1||(t=bO(i),!t.c&&(t.c=new jl),XO(t.c,P(e.hj(),29))));break;case 5:if(o=e.gj(),o!=null)for(a=P(o,18).Jc();a.Ob();)i=P(a.Pb(),471),i.Bb&1||(t=bO(i),!t.c&&(t.c=new jl),XO(t.c,P(e.hj(),29)));break;case 4:s=e.ij(),s!=null&&(i=P(s,471),i.Bb&1||(t=bO(i),!t.c&&(t.c=new jl),Ik(t.c,e.hj())));break;case 6:if(s=e.ij(),s!=null)for(a=P(s,18).Jc();a.Ob();)i=P(a.Pb(),471),i.Bb&1||(t=bO(i),!t.c&&(t.c=new jl),Ik(t.c,e.hj()));break}this.ol(r)}},Q.ol=function(e){Tet(this,e)},Q.b=63,L(cq,`ESuperAdapter`,1144),q(1145,1144,Q_t,Ore),Q.ol=function(e){$L(this,e)},L(cq,`EClassImpl/10`,1145),q(1134,699,dJ),Q.Ci=function(e,t){return fL(this,e,t)},Q.Di=function(e){return wYe(this,e)},Q.Ei=function(e,t){TN(this,e,t)},Q.Fi=function(e){AO(this,e)},Q.Yi=function(e){return kFe(this,e)},Q.Vi=function(e,t){return Fk(this,e,t)},Q.Uk=function(e,t){throw D(new bh)},Q.Gi=function(){return new Ox(this)},Q.Hi=function(){return new kx(this)},Q.Ii=function(e){return GA(this,e)},Q.Vk=function(e,t){throw D(new bh)},Q.Dk=function(e){return this},Q.Oj=function(){return this.i!=0},Q.Wb=function(e){throw D(new bh)},Q.Ek=function(){throw D(new bh)},L(eJ,`EcoreEList/UnmodifiableEList`,1134),q(333,1134,dJ,db),Q.Wi=function(){return!1},L(eJ,`EcoreEList/UnmodifiableEList/FastCompare`,333),q(1137,333,dJ,eHe),Q.bd=function(e){var t,n,r;if(M(e,179)&&(t=P(e,179),n=t.Jj(),n!=-1)){for(r=this.i;n<r;++n)if(j(this.g[n])===j(e))return n}return-1},L(cq,`EClassImpl/1EAllStructuralFeaturesList`,1137),q(1131,492,zq,pl),Q.$i=function(e){return V(z7,xvt,87,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/1EGenericSuperTypeEList`,1131),q(624,492,zq,ml),Q.$i=function(e){return V(N7,uJ,179,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/1EStructuralFeatureUniqueEList`,624),q(743,492,zq,hl),Q.$i=function(e){return V(U7,uJ,19,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/1ReferenceList`,743),q(1132,492,zq,kre),Q.Ki=function(e,t){qSe(this,P(t,38))},Q.$i=function(e){return V(P7,uJ,38,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/2`,1132),q(1133,492,zq,gl),Q.$i=function(e){return V(P7,uJ,38,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/3`,1133),q(1135,333,dJ,hxe),Q.Ec=function(e){return hMe(this,P(e,38))},Q.Fi=function(e){mce(this,P(e,38))},L(cq,`EClassImpl/4`,1135),q(1136,333,dJ,gxe),Q.Ec=function(e){return gMe(this,P(e,19))},Q.Fi=function(e){hce(this,P(e,19))},L(cq,`EClassImpl/5`,1136),q(1138,492,zq,_l),Q.$i=function(e){return V(B7,yvt,62,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/6`,1138),q(1139,492,zq,vl),Q.$i=function(e){return V(U7,uJ,19,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/7`,1139),q(2057,2056,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,72:1}),Q.Ci=function(e,t){return ort(this,e,t)},Q.Di=function(e){return ort(this,this.Cj(),e)},Q.Ei=function(e,t){i6e(this,e,t)},Q.Fi=function(e){j3e(this,e)},Q.Uk=function(e,t){return TYe(this,e,t)},Q.Vk=function(e,t){return NJe(this,e,t)},Q.Vi=function(e,t){return srt(this,e,t)},Q.Yi=function(e){return this.vj(e)},Q.Gi=function(){return new Ox(this)},Q.nj=function(){return this.qj()},Q.Hi=function(){return new kx(this)},Q.Ii=function(e){return GA(this,e)},L(eJ,`DelegatingNotifyingInternalEListImpl`,2057),q(744,2057,Svt),Q.Ji=function(){var e=eA(lE(this.b),this.Jj()).Fk();return M(e,159)&&!M(e,459)&&(e.ik().i&1)==0},Q.Gc=function(e){var t,n,r,i,a,o,s,c;if(this.ml()){if(c=this.Cj(),c>4)if(this.dk(e)){if(this.$k()){if(r=P(e,52),n=r.Bh(),s=n==this.b&&(this.kl()?r.vh(r.Ch(),P(eA(lE(this.b),this.Jj()).Fk(),29).ik())==QF(P(eA(lE(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!s&&!n&&r.Gh()){for(i=0;i<c;++i)if(t=uw(this,this.vj(i)),j(t)===j(e))return!0}return s}else if(this.kl()&&!this.jl()){if(a=P(e,57).Jh(QF(P(eA(lE(this.b),this.Jj()),19))),j(a)===j(this.b))return!0;if(a==null||!P(a,57).Sh())return!1}}else return!1;if(o=this.sj(e),this.ll()&&!o){for(i=0;i<c;++i)if(r=uw(this,this.vj(i)),j(r)===j(e))return!0}return o}else return this.sj(e)},Q.Gj=function(e,t,n,r,i){return new Gk(this.b,e,this.Jj(),t,n,r,i)},Q.Hj=function(e){Rj(this.b,e)},Q.Dk=function(e){return this},Q.Ij=function(){return eA(lE(this.b),this.Jj())},Q.Jj=function(){return NP(lE(this.b),eA(lE(this.b),this.Jj()))},Q.hj=function(){return this.b},Q.il=function(){return!!eA(lE(this.b),this.Jj()).Fk().ik()},Q.Kj=function(){var e,t=eA(lE(this.b),this.Jj());return M(t,103)?(e=P(t,19),(e.Bb&sq)!=0||!!QF(P(t,19))):!1},Q.jl=function(){var e,t=eA(lE(this.b),this.Jj()),n,r;return M(t,103)?(e=P(t,19),n=QF(e),!!n&&(r=n.t,r>1||r==-1)):!1},Q.kl=function(){var e,t=eA(lE(this.b),this.Jj()),n;return M(t,103)?(e=P(t,19),n=QF(e),!!n):!1},Q.ll=function(){var e,t=eA(lE(this.b),this.Jj());return M(t,103)?(e=P(t,19),(e.Bb&_H)!=0):!1},Q.bd=function(e){var t,n,r=this.xj(e),i;if(r>=0)return r;if(this.ml()){for(n=0,i=this.Cj();n<i;++n)if(t=uw(this,this.vj(n)),j(t)===j(e))return n}return-1},Q.Lj=function(e,t){var n;return n=P(e,52),this.kl()?this.il()?n.Oh(this.b,QF(P(eA(lE(this.b),this.Jj()),19)).n,P(eA(lE(this.b),this.Jj()).Fk(),29).ik(),t):n.Oh(this.b,NP(n.Ah(),QF(P(eA(lE(this.b),this.Jj()),19))),null,t):n.Oh(this.b,-1-this.Jj(),null,t)},Q.Mj=function(e,t){var n;return n=P(e,52),this.kl()?this.il()?n.Qh(this.b,QF(P(eA(lE(this.b),this.Jj()),19)).n,P(eA(lE(this.b),this.Jj()).Fk(),29).ik(),t):n.Qh(this.b,NP(n.Ah(),QF(P(eA(lE(this.b),this.Jj()),19))),null,t):n.Qh(this.b,-1-this.Jj(),null,t)},Q.$k=function(){var e,t=eA(lE(this.b),this.Jj());return M(t,103)?(e=P(t,19),(e.Bb&sq)!=0):!1},Q.ml=function(){return M(eA(lE(this.b),this.Jj()).Fk(),88)},Q.dk=function(e){return eA(lE(this.b),this.Jj()).Fk().dk(e)},Q.Nj=function(){return gb(this.b)},Q.Oj=function(){return!this.yj()},Q.Qi=function(){return eA(lE(this.b),this.Jj()).Qi()},Q.Ui=function(e,t){return pB(this,e,t)},Q.Wb=function(e){sB(this),zw(this,P(e,16))},Q.Nc=function(){var e;if(this.ll())for(e=this.Cj()-1;e>=0;--e)pB(this,e,this.vj(e));return this.Dj()},Q.Oc=function(e){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)pB(this,t,this.vj(t));return this.Ej(e)},Q.Ek=function(){sB(this)},Q.Xi=function(e,t){return AFe(this,e,t)},L(eJ,`DelegatingEcoreEList`,744),q(1140,744,Svt,Ege),Q.oj=function(e,t){Yhe(this,e,P(t,29))},Q.pj=function(e){Gfe(this,P(e,29))},Q.vj=function(e){var t,n;return t=P(H(KD(this.a),e),87),n=t.c,M(n,88)?P(n,29):(VB(),t9)},Q.Aj=function(e){var t,n;return t=P(az(KD(this.a),e),87),n=t.c,M(n,88)?P(n,29):(VB(),t9)},Q.Bj=function(e,t){return EYe(this,e,P(t,29))},Q.Ji=function(){return!1},Q.Gj=function(e,t,n,r,i){return null},Q.qj=function(){return new jre(this)},Q.rj=function(){oB(KD(this.a))},Q.sj=function(e){return NWe(this,e)},Q.tj=function(e){var t,n;for(n=e.Jc();n.Ob();)if(t=n.Pb(),!NWe(this,t))return!1;return!0},Q.uj=function(e){var t,n,r;if(M(e,16)&&(r=P(e,16),r.gc()==KD(this.a).i)){for(t=r.Jc(),n=new lx(this);t.Ob();)if(j(t.Pb())!==j(OF(n)))return!1;return!0}return!1},Q.wj=function(){var e,t,n=1,r,i;for(t=new lx(KD(this.a));t.e!=t.i.gc();)e=P(OF(t),87),r=(i=e.c,M(i,88)?P(i,29):(VB(),t9)),n=31*n+(r?jx(r):0);return n},Q.xj=function(e){var t,n,r=0,i;for(n=new lx(KD(this.a));n.e!=n.i.gc();){if(t=P(OF(n),87),j(e)===j((i=t.c,M(i,88)?P(i,29):(VB(),t9))))return r;++r}return-1},Q.yj=function(){return KD(this.a).i==0},Q.zj=function(){return null},Q.Cj=function(){return KD(this.a).i},Q.Dj=function(){var e,t,n,r,i,a=KD(this.a).i;for(i=V(ZJ,$B,1,a,5,1),n=0,t=new lx(KD(this.a));t.e!=t.i.gc();)e=P(OF(t),87),i[n++]=(r=e.c,M(r,88)?P(r,29):(VB(),t9));return i},Q.Ej=function(e){var t,n,r,i,a,o,s=KD(this.a).i;for(e.length<s&&(i=NA(WM(e).c,s),e=i),e.length>s&&Jw(e,s,null),r=0,n=new lx(KD(this.a));n.e!=n.i.gc();)t=P(OF(n),87),a=(o=t.c,M(o,88)?P(o,29):(VB(),t9)),Jw(e,r++,a);return e},Q.Fj=function(){var e,t,n,r,i=new Eg;for(i.a+=`[`,e=KD(this.a),t=0,r=KD(this.a).i;t<r;)Yy(i,px((n=P(H(e,t),87).c,M(n,88)?P(n,29):(VB(),t9)))),++t<r&&(i.a+=QB);return i.a+=`]`,i.a},Q.Hj=function(e){},Q.Jj=function(){return 10},Q.il=function(){return!0},Q.Kj=function(){return!1},Q.jl=function(){return!1},Q.kl=function(){return!1},Q.ll=function(){return!0},Q.$k=function(){return!1},Q.ml=function(){return!0},Q.dk=function(e){return M(e,88)},Q.Oj=function(){return gAe(this.a)},Q.Qi=function(){return!0},Q.Wi=function(){return!0},L(cq,`EClassImpl/8`,1140),q(1141,2024,MV,jre),Q.dd=function(e){return GA(this.a,e)},Q.gc=function(){return KD(this.a.a).i},L(cq,`EClassImpl/8/1`,1141),q(1142,492,zq,yl),Q.$i=function(e){return V(F7,$B,143,e,0,1)},Q.Wi=function(){return!1},L(cq,`EClassImpl/9`,1142),q(1129,47,Adt,$ie),L(cq,`EClassImpl/MyHashSet`,1129),q(563,360,{109:1,94:1,93:1,143:1,159:1,831:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1},Sh),Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return vI(this);case 4:return this.gk();case 5:return this.F;case 6:return t?lA(this):NE(this);case 7:return!this.A&&(this.A=new ox(W7,this,7)),this.A;case 8:return mx(),!!(this.Bb&256)}return ck(this,e-Hw(this.fi()),eA((r=P(Uj(this,16),29),r||this.fi()),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!vI(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!NE(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return BD(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:qE(this,tS(t));return;case 2:Eb(this,tS(t));return;case 5:hB(this,tS(t));return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A),!this.A&&(this.A=new ox(W7,this,7)),zw(this.A,P(t,18));return;case 8:NN(this,hg(eS(t)));return}vP(this,e-Hw(this.fi()),eA((n=P(Uj(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return VB(),TBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,184)&&(P(this.Cb,184).tb=null),hj(this,null);return;case 2:sN(this,null),MA(this,this.D);return;case 5:hB(this,null);return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A);return;case 8:NN(this,!0);return}AN(this,e-Hw(this.fi()),eA((t=P(Uj(this,16),29),t||this.fi()),e))},Q.mi=function(){EN((HL(),p9),this).ve(),this.Bb|=1},Q.mk=function(){var e,t,n;if(!this.c&&(e=c8e(lA(this)),!e.dc()))for(n=e.Jc();n.Ob();)t=tS(n.Pb()),Az(this,t)&&eGe(this);return this.b},Q.gk=function(){var e;if(!this.e){e=null;try{e=vI(this)}catch(e){if(e=hM(e),!M(e,101))throw D(e)}this.d=null,e&&e.i&1&&(e==J9?this.d=(mx(),cY):e==q9?this.d=G(0):e==Q9?this.d=new em(0):e==Z9?this.d=0:e==Y9?this.d=uF(0):e==$9?this.d=SN(0):e==X9?this.d=jk(0):this.d=Jj(0)),this.e=!0}return this.d},Q.lk=function(){return(this.Bb&256)!=0},Q.pl=function(e){e&&(this.D=`org.eclipse.emf.common.util.AbstractEnumerator`)},Q.el=function(e){Nze(this,e),this.pl(e)},Q.fl=function(e){this.C=e,this.e=!1},Q.Ib=function(){var e;return this.Db&64?FP(this):(e=new gx(FP(this)),e.a+=` (serializable: `,r_(e,(this.Bb&256)!=0),e.a+=`)`,e.a)},Q.c=!1,Q.d=null,Q.e=!1,L(cq,`EDataTypeImpl`,563),q(459,563,{109:1,94:1,93:1,143:1,159:1,831:1,675:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,459:1,161:1,117:1,118:1,681:1},eae),Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return vI(this);case 4:return sUe(this);case 5:return this.F;case 6:return t?lA(this):NE(this);case 7:return!this.A&&(this.A=new ox(W7,this,7)),this.A;case 8:return mx(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new F(R7,this,9,5)),this.a}return ck(this,e-Hw((VB(),X7)),eA((r=P(Uj(this,16),29),r||X7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?xI(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,6,n);case 9:return!this.a&&(this.a=new F(R7,this,9,5)),BP(this.a,e,n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),X7)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),X7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 6:return kz(this,null,6,n);case 7:return!this.A&&(this.A=new ox(W7,this,7)),RF(this.A,e,n);case 9:return!this.a&&(this.a=new F(R7,this,9,5)),RF(this.a,e,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),X7)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),X7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!vI(this);case 4:return!!sUe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!NE(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 BD(this,e-Hw((VB(),X7)),eA((t=P(Uj(this,16),29),t||X7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:qE(this,tS(t));return;case 2:Eb(this,tS(t));return;case 5:hB(this,tS(t));return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A),!this.A&&(this.A=new ox(W7,this,7)),zw(this.A,P(t,18));return;case 8:NN(this,hg(eS(t)));return;case 9:!this.a&&(this.a=new F(R7,this,9,5)),oB(this.a),!this.a&&(this.a=new F(R7,this,9,5)),zw(this.a,P(t,18));return}vP(this,e-Hw((VB(),X7)),eA((n=P(Uj(this,16),29),n||X7),e),t)},Q.fi=function(){return VB(),X7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,184)&&(P(this.Cb,184).tb=null),hj(this,null);return;case 2:sN(this,null),MA(this,this.D);return;case 5:hB(this,null);return;case 7:!this.A&&(this.A=new ox(W7,this,7)),oB(this.A);return;case 8:NN(this,!0);return;case 9:!this.a&&(this.a=new F(R7,this,9,5)),oB(this.a);return}AN(this,e-Hw((VB(),X7)),eA((t=P(Uj(this,16),29),t||X7),e))},Q.mi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e<t;++e)Wx(H(this.a,e));EN((HL(),p9),this).ve(),this.Bb|=1},Q.gk=function(){return sUe(this)},Q.dk=function(e){return e!=null},Q.pl=function(e){},L(cq,`EEnumImpl`,459),q(568,439,{109:1,94:1,93:1,2001:1,684:1,158:1,197:1,57:1,114:1,52:1,100:1,568:1,161:1,117:1,118:1},Xre),Q.ve=function(){return this.zb},Q.xh=function(e){return JXe(this,e)},Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return G(this.d);case 3:return this.b?this.b:this.a;case 4:return i=this.c,i??this.zb;case 5:return this.Db>>16==5?P(this.Cb,675):null}return ck(this,e-Hw((VB(),Z7)),eA((r=P(Uj(this,16),29),r||Z7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 5:return this.Cb&&(n=(i=this.Db>>16,i>=0?JXe(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,5,n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),Z7)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),Z7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 5:return kz(this,null,5,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),Z7)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),Z7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&P(this.Cb,675))}return BD(this,e-Hw((VB(),Z7)),eA((t=P(Uj(this,16),29),t||Z7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:hj(this,tS(t));return;case 2:kA(this,P(t,15).a);return;case 3:g3e(this,P(t,2001));return;case 4:ZA(this,tS(t));return}vP(this,e-Hw((VB(),Z7)),eA((n=P(Uj(this,16),29),n||Z7),e),t)},Q.fi=function(){return VB(),Z7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:hj(this,null);return;case 2:kA(this,0);return;case 3:g3e(this,null);return;case 4:ZA(this,null);return}AN(this,e-Hw((VB(),Z7)),eA((t=P(Uj(this,16),29),t||Z7),e))},Q.Ib=function(){var e;return e=this.c,e??this.zb},Q.b=null,Q.c=null,Q.d=0,L(cq,`EEnumLiteralImpl`,568);var FBt=yC(cq,`EFactoryImpl/InternalEDateTimeFormat`);q(485,1,{2076:1},Zm),L(cq,`EFactoryImpl/1ClientInternalEDateTimeFormat`,485),q(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},ch),Q.zh=function(e,t,n){var r;return n=kz(this,e,t,n),this.e&&M(e,179)&&(r=IR(this,this.e),r!=this.c&&(n=gB(this,r,n))),n},Q.Ih=function(e,t,n){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new ix(z7,this,1)),this.d;case 2:return t?Nz(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?aI(this):this.a}return ck(this,e-Hw((VB(),$7)),eA((r=P(Uj(this,16),29),r||$7),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return qUe(this,null,n);case 1:return!this.d&&(this.d=new ix(z7,this,1)),RF(this.d,e,n);case 3:return KUe(this,null,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),$7)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),$7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return BD(this,e-Hw((VB(),$7)),eA((t=P(Uj(this,16),29),t||$7),e))},Q.$h=function(e,t){var n;switch(e){case 0:IQe(this,P(t,87));return;case 1:!this.d&&(this.d=new ix(z7,this,1)),oB(this.d),!this.d&&(this.d=new ix(z7,this,1)),zw(this.d,P(t,18));return;case 3:FQe(this,P(t,87));return;case 4:k1e(this,P(t,834));return;case 5:hA(this,P(t,143));return}vP(this,e-Hw((VB(),$7)),eA((n=P(Uj(this,16),29),n||$7),e),t)},Q.fi=function(){return VB(),$7},Q.hi=function(e){var t;switch(e){case 0:IQe(this,null);return;case 1:!this.d&&(this.d=new ix(z7,this,1)),oB(this.d);return;case 3:FQe(this,null);return;case 4:k1e(this,null);return;case 5:hA(this,null);return}AN(this,e-Hw((VB(),$7)),eA((t=P(Uj(this,16),29),t||$7),e))},Q.Ib=function(){var e=new _x(DR(this));return e.a+=` (expression: `,mat(this,e),e.a+=`)`,e.a};var IBt;L(cq,`EGenericTypeImpl`,248),q(2029,2024,hJ),Q.Ei=function(e,t){Nge(this,e,t)},Q.Uk=function(e,t){return Nge(this,this.gc(),e),t},Q.Yi=function(e){return LF(this.nj(),e)},Q.Gi=function(){return this.Hi()},Q.nj=function(){return new Ire(this)},Q.Hi=function(){return this.Ii(0)},Q.Ii=function(e){return this.nj().dd(e)},Q.Vk=function(e,t){return MP(this,e,!0),t},Q.Ri=function(e,t){var n,r=MI(this,t);return n=this.dd(e),n.Rb(r),r},Q.Si=function(e,t){var n;MP(this,t,!0),n=this.dd(e),n.Rb(t)},L(eJ,`AbstractSequentialInternalEList`,2029),q(482,2029,hJ,Nx),Q.Yi=function(e){return LF(this.nj(),e)},Q.Gi=function(){return this.b==null?(nv(),nv(),u9):this.ql()},Q.nj=function(){return new cfe(this.a,this.b)},Q.Hi=function(){return this.b==null?(nv(),nv(),u9):this.ql()},Q.Ii=function(e){var t,n;if(this.b==null){if(e<0||e>1)throw D(new ig(Zq+e+`, size=0`));return nv(),nv(),u9}for(n=this.ql(),t=0;t<e;++t)Wj(n);return n},Q.dc=function(){var e,t,n,r,i,a;if(this.b!=null){for(n=0;n<this.b.length;++n)if(e=this.b[n],!this.tl()||this.a.Uh(e)){if(a=this.a.Kh(e,!1),rv(),P(e,69).vk()){for(t=P(a,163),r=0,i=t.gc();r<i;++r)if(Hwe(t.Rl(r))&&t.Sl(r)!=null)return!1}else if(e.Hk()){if(!P(a,18).dc())return!1}else if(a!=null)return!1}}return!0},Q.Jc=function(){return lze(this)},Q.dd=function(e){var t,n;if(this.b==null){if(e!=0)throw D(new ig(Zq+e+`, size=0`));return nv(),nv(),u9}for(n=this.sl()?this.rl():this.ql(),t=0;t<e;++t)Wj(n);return n},Q.Ri=function(e,t){throw D(new bh)},Q.Si=function(e,t){throw D(new bh)},Q.ql=function(){return new Px(this.a,this.b)},Q.rl=function(){return new Phe(this.a,this.b)},Q.sl=function(){return!0},Q.gc=function(){var e,t,n,r,i=0,a,o;if(this.b!=null){for(n=0;n<this.b.length;++n)if(e=this.b[n],!this.tl()||this.a.Uh(e))if(o=this.a.Kh(e,!1),rv(),P(e,69).vk())for(t=P(o,163),r=0,a=t.gc();r<a;++r)Hwe(t.Rl(r))&&t.Sl(r)!=null&&++i;else e.Hk()?i+=P(o,18).gc():o!=null&&++i}return i},Q.tl=function(){return!0};var LBt;L(eJ,`EContentsEList`,482),q(1146,482,hJ,Ihe),Q.ql=function(){return new Fhe(this.a,this.b)},Q.rl=function(){return new Nhe(this.a,this.b)},Q.tl=function(){return!1},L(cq,`ENamedElementImpl/1`,1146),q(287,1,gJ,Px),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){throw D(new bh)},Q.ul=function(e){if(this.g!=0||this.e)throw D(new cg(`Iterator already in use or already filtered`));this.e=e},Q.Ob=function(){var e,t,n,r,i,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!n2e(this,this.p):!x3e(this))){for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.nk()!=$5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(a=this.b.Kh(t,this.sl()),this.f=(rv(),P(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=P(a,16),this.k=r):(r=P(a,72),this.k=this.j=r),M(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Hi():this.k.cd(),this.p?n2e(this,this.p):x3e(this))return i=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(e=P(i,75),e.Jk(),n=e.kd(),this.i=n):(n=i,this.i=n),this.g=3,!0}else if(a!=null)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return i=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(e=P(i,75),e.Jk(),n=e.kd(),this.i=n):(n=i,this.i=n),this.g=3,!0}},Q.Sb=function(){var e,t,n,r,i,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!r2e(this,this.p):!B2e(this))){for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.nk()!=$5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(a=this.b.Kh(t,this.sl()),this.f=(rv(),P(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=P(a,16),this.k=r):(r=P(a,72),this.k=this.j=r),M(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?r2e(this,this.p):B2e(this))return i=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(e=P(i,75),e.Jk(),n=e.kd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(a!=null)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return i=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(e=P(i,75),e.Jk(),n=e.kd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}},Q.Pb=function(){return Wj(this)},Q.Tb=function(){return this.a},Q.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw D(new xh)},Q.Vb=function(){return this.a-1},Q.Qb=function(){throw D(new bh)},Q.sl=function(){return!1},Q.Wb=function(e){throw D(new bh)},Q.tl=function(){return!0},Q.a=0,Q.d=0,Q.f=!1,Q.g=0,Q.n=0,Q.o=0;var u9;L(eJ,`EContentsEList/FeatureIteratorImpl`,287),q(700,287,gJ,Phe),Q.sl=function(){return!0},L(eJ,`EContentsEList/ResolvingFeatureIteratorImpl`,700),q(1147,700,gJ,Nhe),Q.tl=function(){return!1},L(cq,`ENamedElementImpl/1/1`,1147),q(1148,287,gJ,Fhe),Q.tl=function(){return!1},L(cq,`ENamedElementImpl/1/2`,1148),q(39,151,Xq,QD,$D,fw,yFe,Gk,vO,uRe,tAe,dRe,nAe,dNe,rAe,mRe,iAe,fNe,aAe,fRe,oAe,pw,ak,MEe,pRe,sAe,pNe,cAe),Q.Ij=function(){return lFe(this)},Q.Pj=function(){var e=lFe(this);return e?e.gk():null},Q.fj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,e)},Q.hj=function(){return this.c},Q.Qj=function(){var e=lFe(this);return e?e.rk():!1},Q.b=-1,L(cq,`ENotificationImpl`,39),q(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},Bh),Q.xh=function(e){return fZe(this,e)},Q.Ih=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return mx(),!!(this.Bb&256);case 3:return mx(),!!(this.Bb&512);case 4:return G(this.s);case 5:return G(this.t);case 6:return mx(),a=this.t,a>1||a==-1;case 7:return mx(),i=this.s,i>=1;case 8:return t?LI(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?P(this.Cb,29):null;case 11:return!this.d&&(this.d=new ox(W7,this,11)),this.d;case 12:return!this.c&&(this.c=new F(H7,this,12,10)),this.c;case 13:return!this.a&&(this.a=new dS(this,this)),this.a;case 14:return Ck(this)}return ck(this,e-Hw((VB(),n9)),eA((r=P(Uj(this,16),29),r||n9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?fZe(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,10,n);case 12:return!this.c&&(this.c=new F(H7,this,12,10)),BP(this.c,e,n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),n9)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),n9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 9:return owe(this,n);case 10:return kz(this,null,10,n);case 11:return!this.d&&(this.d=new ox(W7,this,11)),RF(this.d,e,n);case 12:return!this.c&&(this.c=new F(H7,this,12,10)),RF(this.c,e,n);case 14:return RF(Ck(this),e,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),n9)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),n9)),e,n)},Q.Th=function(e){var t,n,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&fT(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fT(this.q).i==0);case 10:return!!(this.Db>>16==10&&P(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ck(this.a.a).i!=0&&!(this.b&&rI(this.b));case 14:return!!this.b&&rI(this.b)}return BD(this,e-Hw((VB(),n9)),eA((t=P(Uj(this,16),29),t||n9),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:hj(this,tS(t));return;case 2:jN(this,hg(eS(t)));return;case 3:MN(this,hg(eS(t)));return;case 4:AA(this,P(t,15).a);return;case 5:jA(this,P(t,15).a);return;case 8:gN(this,P(t,143));return;case 9:r=pL(this,P(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new ox(W7,this,11)),oB(this.d),!this.d&&(this.d=new ox(W7,this,11)),zw(this.d,P(t,18));return;case 12:!this.c&&(this.c=new F(H7,this,12,10)),oB(this.c),!this.c&&(this.c=new F(H7,this,12,10)),zw(this.c,P(t,18));return;case 13:!this.a&&(this.a=new dS(this,this)),sB(this.a),!this.a&&(this.a=new dS(this,this)),zw(this.a,P(t,18));return;case 14:oB(Ck(this)),zw(Ck(this),P(t,18));return}vP(this,e-Hw((VB(),n9)),eA((n=P(Uj(this,16),29),n||n9),e),t)},Q.fi=function(){return VB(),n9},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:hj(this,null);return;case 2:jN(this,!0);return;case 3:MN(this,!0);return;case 4:AA(this,0);return;case 5:jA(this,1);return;case 8:gN(this,null);return;case 9:n=pL(this,null,null),n&&n.mj();return;case 11:!this.d&&(this.d=new ox(W7,this,11)),oB(this.d);return;case 12:!this.c&&(this.c=new F(H7,this,12,10)),oB(this.c);return;case 13:this.a&&sB(this.a);return;case 14:this.b&&oB(this.b);return}AN(this,e-Hw((VB(),n9)),eA((t=P(Uj(this,16),29),t||n9),e))},Q.mi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;e<t;++e)Wx(H(this.c,e));LI(this),this.Bb|=1},L(cq,`EOperationImpl`,403),q(499,744,Svt,dS),Q.oj=function(e,t){Xhe(this,e,P(t,143))},Q.pj=function(e){Kfe(this,P(e,143))},Q.vj=function(e){var t,n;return t=P(H(Ck(this.a),e),87),n=t.c,n||(VB(),e9)},Q.Aj=function(e){var t,n;return t=P(az(Ck(this.a),e),87),n=t.c,n||(VB(),e9)},Q.Bj=function(e,t){return Eqe(this,e,P(t,143))},Q.Ji=function(){return!1},Q.Gj=function(e,t,n,r,i){return null},Q.qj=function(){return new Mre(this)},Q.rj=function(){oB(Ck(this.a))},Q.sj=function(e){return RWe(this,e)},Q.tj=function(e){var t,n;for(n=e.Jc();n.Ob();)if(t=n.Pb(),!RWe(this,t))return!1;return!0},Q.uj=function(e){var t,n,r;if(M(e,16)&&(r=P(e,16),r.gc()==Ck(this.a).i)){for(t=r.Jc(),n=new lx(this);t.Ob();)if(j(t.Pb())!==j(OF(n)))return!1;return!0}return!1},Q.wj=function(){var e,t,n=1,r,i;for(t=new lx(Ck(this.a));t.e!=t.i.gc();)e=P(OF(t),87),r=(i=e.c,i||(VB(),e9)),n=31*n+(r?Cj(r):0);return n},Q.xj=function(e){var t,n,r=0,i;for(n=new lx(Ck(this.a));n.e!=n.i.gc();){if(t=P(OF(n),87),j(e)===j((i=t.c,i||(VB(),e9))))return r;++r}return-1},Q.yj=function(){return Ck(this.a).i==0},Q.zj=function(){return null},Q.Cj=function(){return Ck(this.a).i},Q.Dj=function(){var e,t,n,r,i,a=Ck(this.a).i;for(i=V(ZJ,$B,1,a,5,1),n=0,t=new lx(Ck(this.a));t.e!=t.i.gc();)e=P(OF(t),87),i[n++]=(r=e.c,r||(VB(),e9));return i},Q.Ej=function(e){var t,n,r,i,a,o,s=Ck(this.a).i;for(e.length<s&&(i=NA(WM(e).c,s),e=i),e.length>s&&Jw(e,s,null),r=0,n=new lx(Ck(this.a));n.e!=n.i.gc();)t=P(OF(n),87),a=(o=t.c,o||(VB(),e9)),Jw(e,r++,a);return e},Q.Fj=function(){var e,t,n,r,i=new Eg;for(i.a+=`[`,e=Ck(this.a),t=0,r=Ck(this.a).i;t<r;)Yy(i,px((n=P(H(e,t),87).c,n||(VB(),e9)))),++t<r&&(i.a+=QB);return i.a+=`]`,i.a},Q.Hj=function(e){},Q.Jj=function(){return 13},Q.il=function(){return!0},Q.Kj=function(){return!1},Q.jl=function(){return!1},Q.kl=function(){return!1},Q.ll=function(){return!0},Q.$k=function(){return!1},Q.ml=function(){return!0},Q.dk=function(e){return M(e,143)},Q.Oj=function(){return _Ae(this.a)},Q.Qi=function(){return!0},Q.Wi=function(){return!0},L(cq,`EOperationImpl/1`,499),q(1330,2024,MV,Mre),Q.dd=function(e){return GA(this.a,e)},Q.gc=function(){return Ck(this.a.a).i},L(cq,`EOperationImpl/1/1`,1330),q(1331,543,dJ,WSe),Q.Ri=function(e,t){var n,r;return n=P(qN(this,e,t),87),gb(this.e)&&Th(this,new ak(this.a,7,(VB(),OBt),G(t),(r=n.c,r||e9),e)),n},Q.Sj=function(e,t){return _We(this,P(e,87),t)},Q.Tj=function(e,t){return vWe(this,P(e,87),t)},Q.Uj=function(e,t,n){return Xqe(this,P(e,87),P(t,87),n)},Q.Gj=function(e,t,n,r,i){switch(e){case 3:return IE(this,e,t,n,r,this.i>1);case 5:return IE(this,e,t,n,r,this.i-P(n,16).gc()>0);default:return new Gk(this.e,e,this.c,t,n,r,!0)}},Q.Rj=function(){return!0},Q.Oj=function(){return rI(this)},Q.Ek=function(){oB(this)},L(cq,`EOperationImpl/2`,1331),q(493,1,{1999:1,493:1},Sde),L(cq,`EPackageImpl/1`,493),q(14,81,dJ,F),Q.gl=function(){return this.d},Q.hl=function(){return this.b},Q.kl=function(){return!0},Q.b=0,L(eJ,`EObjectContainmentWithInverseEList`,14),q(361,14,dJ,yS),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectContainmentWithInverseEList/Resolving`,361),q(312,361,dJ,hw),Q.Li=function(){this.a.tb=null},L(cq,`EPackageImpl/2`,312),q(1243,1,{},bl),L(cq,`EPackageImpl/3`,1243),q(721,44,DH,tae),Q._b=function(e){return Uy(e)?LEe(this,e):!!VC(this.f,e)},L(cq,`EPackageRegistryImpl`,721),q(503,293,{109:1,94:1,93:1,158:1,197:1,57:1,2078:1,114:1,470:1,52:1,100:1,161:1,503:1,293:1,117:1,118:1},Vh),Q.xh=function(e){return pZe(this,e)},Q.Ih=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return mx(),!!(this.Bb&256);case 3:return mx(),!!(this.Bb&512);case 4:return G(this.s);case 5:return G(this.t);case 6:return mx(),a=this.t,a>1||a==-1;case 7:return mx(),i=this.s,i>=1;case 8:return t?LI(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?P(this.Cb,62):null}return ck(this,e-Hw((VB(),i9)),eA((r=P(Uj(this,16),29),r||i9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),BP(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?pZe(this,n):this.Cb.Qh(this,-1-i,null,n))),kz(this,e,10,n)}return a=P(eA((r=P(Uj(this,16),29),r||(VB(),i9)),t),69),a.uk().xk(this,sF(this),t-Hw((VB(),i9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 9:return owe(this,n);case 10:return kz(this,null,10,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),i9)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),i9)),e,n)},Q.Th=function(e){var t,n,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&fT(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fT(this.q).i==0);case 10:return!!(this.Db>>16==10&&P(this.Cb,62))}return BD(this,e-Hw((VB(),i9)),eA((t=P(Uj(this,16),29),t||i9),e))},Q.fi=function(){return VB(),i9},L(cq,`EParameterImpl`,503),q(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},ige),Q.Ih=function(e,t,n){var r,i,a,o;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return mx(),!!(this.Bb&256);case 3:return mx(),!!(this.Bb&512);case 4:return G(this.s);case 5:return G(this.t);case 6:return mx(),o=this.t,o>1||o==-1;case 7:return mx(),i=this.s,i>=1;case 8:return t?LI(this):this.r;case 9:return this.q;case 10:return mx(),(this.Bb&$q)!=0;case 11:return mx(),(this.Bb&pV)!=0;case 12:return mx(),(this.Bb&hH)!=0;case 13:return this.j;case 14:return BR(this);case 15:return mx(),(this.Bb&nJ)!=0;case 16:return mx(),(this.Bb&mV)!=0;case 17:return FE(this);case 18:return mx(),(this.Bb&sq)!=0;case 19:return mx(),a=QF(this),!!(a&&(a.Bb&sq)!=0);case 20:return mx(),(this.Bb&_H)!=0;case 21:return t?QF(this):this.b;case 22:return t?JVe(this):_Ne(this);case 23:return!this.a&&(this.a=new sx(P7,this,23)),this.a}return ck(this,e-Hw((VB(),a9)),eA((r=P(Uj(this,16),29),r||a9),e),t,n)},Q.Th=function(e){var t,n,r,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&fT(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&fT(this.q).i==0);case 10:return(this.Bb&$q)==0;case 11:return(this.Bb&pV)!=0;case 12:return(this.Bb&hH)!=0;case 13:return this.j!=null;case 14:return BR(this)!=null;case 15:return(this.Bb&nJ)!=0;case 16:return(this.Bb&mV)!=0;case 17:return!!FE(this);case 18:return(this.Bb&sq)!=0;case 19:return r=QF(this),!!r&&(r.Bb&sq)!=0;case 20:return(this.Bb&_H)==0;case 21:return!!this.b;case 22:return!!_Ne(this);case 23:return!!this.a&&this.a.i!=0}return BD(this,e-Hw((VB(),a9)),eA((t=P(Uj(this,16),29),t||a9),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:JE(this,tS(t));return;case 2:jN(this,hg(eS(t)));return;case 3:MN(this,hg(eS(t)));return;case 4:AA(this,P(t,15).a);return;case 5:jA(this,P(t,15).a);return;case 8:gN(this,P(t,143));return;case 9:r=pL(this,P(t,87),null),r&&r.mj();return;case 10:YN(this,hg(eS(t)));return;case 11:QN(this,hg(eS(t)));return;case 12:ZN(this,hg(eS(t)));return;case 13:Ede(this,tS(t));return;case 15:XN(this,hg(eS(t)));return;case 16:tP(this,hg(eS(t)));return;case 18:POe(this,hg(eS(t)));return;case 20:cGe(this,hg(eS(t)));return;case 21:fze(this,P(t,19));return;case 23:!this.a&&(this.a=new sx(P7,this,23)),oB(this.a),!this.a&&(this.a=new sx(P7,this,23)),zw(this.a,P(t,18));return}vP(this,e-Hw((VB(),a9)),eA((n=P(Uj(this,16),29),n||a9),e),t)},Q.fi=function(){return VB(),a9},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:M(this.Cb,88)&&$L(bO(P(this.Cb,88)),4),hj(this,null);return;case 2:jN(this,!0);return;case 3:MN(this,!0);return;case 4:AA(this,0);return;case 5:jA(this,1);return;case 8:gN(this,null);return;case 9:n=pL(this,null,null),n&&n.mj();return;case 10:YN(this,!0);return;case 11:QN(this,!1);return;case 12:ZN(this,!1);return;case 13:this.i=null,rj(this,null);return;case 15:XN(this,!1);return;case 16:tP(this,!1);return;case 18:lGe(this,!1),M(this.Cb,88)&&$L(bO(P(this.Cb,88)),2);return;case 20:cGe(this,!0);return;case 21:fze(this,null);return;case 23:!this.a&&(this.a=new sx(P7,this,23)),oB(this.a);return}AN(this,e-Hw((VB(),a9)),eA((t=P(Uj(this,16),29),t||a9),e))},Q.mi=function(){JVe(this),ET(wk((HL(),p9),this)),LI(this),this.Bb|=1},Q.sk=function(){return QF(this)},Q.Zk=function(){var e;return e=QF(this),!!e&&(e.Bb&sq)!=0},Q.$k=function(){return(this.Bb&sq)!=0},Q._k=function(){return(this.Bb&_H)!=0},Q.Wk=function(e,t){return this.c=null,gWe(this,e,t)},Q.Ib=function(){var e;return this.Db&64?pz(this):(e=new gx(pz(this)),e.a+=` (containment: `,r_(e,(this.Bb&sq)!=0),e.a+=`, resolveProxies: `,r_(e,(this.Bb&_H)!=0),e.a+=`)`,e.a)},L(cq,`EReferenceImpl`,103),q(549,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,549:1,117:1,118:1},xl),Q.Fb=function(e){return this===e},Q.jd=function(){return this.b},Q.kd=function(){return this.c},Q.Hb=function(){return jx(this)},Q.Ai=function(e){Bxe(this,tS(e))},Q.ld=function(e){return oxe(this,tS(e))},Q.Ih=function(e,t,n){var r;switch(e){case 0:return this.b;case 1:return this.c}return ck(this,e-Hw((VB(),o9)),eA((r=P(Uj(this,16),29),r||o9),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return BD(this,e-Hw((VB(),o9)),eA((t=P(Uj(this,16),29),t||o9),e))},Q.$h=function(e,t){var n;switch(e){case 0:Vxe(this,tS(t));return;case 1:ZRe(this,tS(t));return}vP(this,e-Hw((VB(),o9)),eA((n=P(Uj(this,16),29),n||o9),e),t)},Q.fi=function(){return VB(),o9},Q.hi=function(e){var t;switch(e){case 0:eze(this,null);return;case 1:ZRe(this,null);return}AN(this,e-Hw((VB(),o9)),eA((t=P(Uj(this,16),29),t||o9),e))},Q.yi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:HM(e)),this.a},Q.zi=function(e){this.a=e},Q.Ib=function(){var e;return this.Db&64?DR(this):(e=new gx(DR(this)),e.a+=` (key: `,Yy(e,this.b),e.a+=`, value: `,Yy(e,this.c),e.a+=`)`,e.a)},Q.a=-1,Q.b=null,Q.c=null;var d9=L(cq,`EStringToStringMapEntryImpl`,549),RBt=yC(eJ,`FeatureMap/Entry/Internal`);q(562,1,_J),Q.vl=function(e){return this.wl(P(e,52))},Q.wl=function(e){return this.vl(e)},Q.Fb=function(e){var t,n;return this===e?!0:M(e,75)?(t=P(e,75),t.Jk()==this.c?(n=this.kd(),n==null?t.kd()==null:DN(n,t.kd())):!1):!1},Q.Jk=function(){return this.c},Q.Hb=function(){var e=this.kd();return Cj(this.c)^(e==null?0:Cj(e))},Q.Ib=function(){var e=this.c,t=lA(e.ok()).vi();return e.ve(),(t!=null&&t.length!=0?t+`:`+e.ve():e.ve())+`=`+this.kd()},L(cq,`EStructuralFeatureImpl/BasicFeatureMapEntry`,562),q(777,562,_J,wge),Q.wl=function(e){return new wge(this.c,e)},Q.kd=function(){return this.a},Q.xl=function(e,t,n){return pBe(this,e,this.a,t,n)},Q.yl=function(e,t,n){return mBe(this,e,this.a,t,n)},L(cq,`EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry`,777),q(1304,1,{},Cde),Q.wk=function(e,t,n,r,i){return P(ek(e,this.b),219).Wl(this.a).Dk(r)},Q.xk=function(e,t,n,r,i){return P(ek(e,this.b),219).Nl(this.a,r,i)},Q.yk=function(e,t,n,r,i){return P(ek(e,this.b),219).Ol(this.a,r,i)},Q.zk=function(e,t,n){return P(ek(e,this.b),219).Wl(this.a).Oj()},Q.Ak=function(e,t,n,r){P(ek(e,this.b),219).Wl(this.a).Wb(r)},Q.Bk=function(e,t,n){return P(ek(e,this.b),219).Wl(this.a)},Q.Ck=function(e,t,n){P(ek(e,this.b),219).Wl(this.a).Ek()},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator`,1304),q(89,1,{},YS,WT,iE,tO),Q.wk=function(e,t,n,r,i){var a=t.ii(n);if(a??t.ji(n,a=IB(this,e)),!i)switch(this.e){case 50:case 41:return P(a,586)._j();case 40:return P(a,219).Tl()}return a},Q.xk=function(e,t,n,r,i){var a,o=t.ii(n);return o??t.ji(n,o=IB(this,e)),a=P(o,72).Uk(r,i),a},Q.yk=function(e,t,n,r,i){var a=t.ii(n);return a!=null&&(i=P(a,72).Vk(r,i)),i},Q.zk=function(e,t,n){var r=t.ii(n);return r!=null&&P(r,77).Oj()},Q.Ak=function(e,t,n,r){var i=P(t.ii(n),77);!i&&t.ji(n,i=IB(this,e)),i.Wb(r)},Q.Bk=function(e,t,n){var r,i=t.ii(n);return i??t.ji(n,i=IB(this,e)),M(i,77)?P(i,77):(r=P(t.ii(n),16),new Nre(r))},Q.Ck=function(e,t,n){var r=P(t.ii(n),77);!r&&t.ji(n,r=IB(this,e)),r.Ek()},Q.b=0,Q.e=0,L(cq,`EStructuralFeatureImpl/InternalSettingDelegateMany`,89),q(498,1,{}),Q.xk=function(e,t,n,r,i){throw D(new bh)},Q.yk=function(e,t,n,r,i){throw D(new bh)},Q.Bk=function(e,t,n){return new QTe(this,e,t,n)};var f9;L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingle`,498),q(1321,1,tJ,QTe),Q.Dk=function(e){return this.a.wk(this.c,this.d,this.b,e,!0)},Q.Oj=function(){return this.a.zk(this.c,this.d,this.b)},Q.Wb=function(e){this.a.Ak(this.c,this.d,this.b,e)},Q.Ek=function(){this.a.Ck(this.c,this.d,this.b)},Q.b=0,L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingle/1`,1321),q(770,498,{},jDe),Q.wk=function(e,t,n,r,i){return Ott(e,e.Mh(),e.Ch())==this.b?this._k()&&r?Z3e(e):e.Mh():null},Q.xk=function(e,t,n,r,i){var a,o;return e.Mh()&&(i=(a=e.Ch(),a>=0?e.xh(i):e.Mh().Qh(e,-1-a,null,i))),o=NP(e.Ah(),this.e),e.zh(r,o,i)},Q.yk=function(e,t,n,r,i){var a=NP(e.Ah(),this.e);return e.zh(null,a,i)},Q.zk=function(e,t,n){var r=NP(e.Ah(),this.e);return!!e.Mh()&&e.Ch()==r},Q.Ak=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!xrt(this.a,r))throw D(new og(vJ+(M(r,57)?jQe(P(r,57).Ah()):xLe(WM(r)))+yJ+this.a+`'`));if(i=e.Mh(),o=NP(e.Ah(),this.e),j(r)!==j(i)||e.Ch()!=o&&r!=null){if(FI(e,P(r,57)))throw D(new sg(uq+e.Ib()));c=null,i&&(c=(a=e.Ch(),a>=0?e.xh(c):e.Mh().Qh(e,-1-a,null,c))),s=P(r,52),s&&(c=s.Oh(e,NP(s.Ah(),this.b),null,c)),c=e.zh(s,o,c),c&&c.mj()}else e.sh()&&e.th()&&Rj(e,new fw(e,1,o,r,r))},Q.Ck=function(e,t,n){var r=e.Mh(),i,a,o;r?(o=(i=e.Ch(),i>=0?e.xh(null):e.Mh().Qh(e,-1-i,null,null)),a=NP(e.Ah(),this.e),o=e.zh(null,a,o),o&&o.mj()):e.sh()&&e.th()&&Rj(e,new pw(e,1,this.e,null,null))},Q._k=function(){return!1},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainer`,770),q(1305,770,{},vbe),Q._k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving`,1305),q(560,498,{}),Q.wk=function(e,t,n,r,i){var a;return a=t.ii(n),a==null?this.b:j(a)===j(f9)?null:a},Q.zk=function(e,t,n){var r=t.ii(n);return r!=null&&(j(r)===j(f9)||!DN(r,this.b))},Q.Ak=function(e,t,n,r){var i,a;e.sh()&&e.th()?(i=(a=t.ii(n),a==null?this.b:j(a)===j(f9)?null:a),r==null?this.c==null?this.b==null?t.ji(n,null):t.ji(n,f9):(t.ji(n,null),r=this.b):(this.zl(r),t.ji(n,r)),Rj(e,this.d.Al(e,1,this.e,i,r))):r==null?this.c==null?this.b==null?t.ji(n,null):t.ji(n,f9):t.ji(n,null):(this.zl(r),t.ji(n,r))},Q.Ck=function(e,t,n){var r,i;e.sh()&&e.th()?(r=(i=t.ii(n),i==null?this.b:j(i)===j(f9)?null:i),t.ki(n),Rj(e,this.d.Al(e,1,this.e,r,this.b))):t.ki(n)},Q.zl=function(e){throw D(new sie)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData`,560),q(bJ,1,{},Sl),Q.Al=function(e,t,n,r,i){return new pw(e,t,n,r,i)},Q.Bl=function(e,t,n,r,i,a){return new MEe(e,t,n,r,i,a)};var zBt,BBt,VBt,HBt,UBt,WBt,GBt,KBt,qBt;L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator`,bJ),q(1322,bJ,{},Cl),Q.Al=function(e,t,n,r,i){return new pNe(e,t,n,hg(eS(r)),hg(eS(i)))},Q.Bl=function(e,t,n,r,i,a){return new cAe(e,t,n,hg(eS(r)),hg(eS(i)),a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1`,1322),q(1323,bJ,{},wl),Q.Al=function(e,t,n,r,i){return new uRe(e,t,n,P(r,221).a,P(i,221).a)},Q.Bl=function(e,t,n,r,i,a){return new tAe(e,t,n,P(r,221).a,P(i,221).a,a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2`,1323),q(1324,bJ,{},Tl),Q.Al=function(e,t,n,r,i){return new dRe(e,t,n,P(r,180).a,P(i,180).a)},Q.Bl=function(e,t,n,r,i,a){return new nAe(e,t,n,P(r,180).a,P(i,180).a,a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3`,1324),q(1325,bJ,{},El),Q.Al=function(e,t,n,r,i){return new dNe(e,t,n,O(N(r)),O(N(i)))},Q.Bl=function(e,t,n,r,i,a){return new rAe(e,t,n,O(N(r)),O(N(i)),a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4`,1325),q(1326,bJ,{},Dl),Q.Al=function(e,t,n,r,i){return new mRe(e,t,n,P(r,164).a,P(i,164).a)},Q.Bl=function(e,t,n,r,i,a){return new iAe(e,t,n,P(r,164).a,P(i,164).a,a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5`,1326),q(1327,bJ,{},Ol),Q.Al=function(e,t,n,r,i){return new fNe(e,t,n,P(r,15).a,P(i,15).a)},Q.Bl=function(e,t,n,r,i,a){return new aAe(e,t,n,P(r,15).a,P(i,15).a,a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6`,1327),q(1328,bJ,{},kl),Q.Al=function(e,t,n,r,i){return new fRe(e,t,n,P(r,190).a,P(i,190).a)},Q.Bl=function(e,t,n,r,i,a){return new oAe(e,t,n,P(r,190).a,P(i,190).a,a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7`,1328),q(1329,bJ,{},Al),Q.Al=function(e,t,n,r,i){return new pRe(e,t,n,P(r,191).a,P(i,191).a)},Q.Bl=function(e,t,n,r,i,a){return new sAe(e,t,n,P(r,191).a,P(i,191).a,a)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8`,1329),q(1307,560,{},nEe),Q.zl=function(e){if(!this.a.dk(e))throw D(new og(vJ+WM(e)+yJ+this.a+`'`))},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic`,1307),q(1308,560,{},VSe),Q.zl=function(e){},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic`,1308),q(771,560,{}),Q.zk=function(e,t,n){return t.ii(n)!=null},Q.Ak=function(e,t,n,r){var i,a;e.sh()&&e.th()?(i=!0,a=t.ii(n),a==null?(i=!1,a=this.b):j(a)===j(f9)&&(a=null),r==null?this.c==null?t.ji(n,f9):(t.ji(n,null),r=this.b):(this.zl(r),t.ji(n,r)),Rj(e,this.d.Bl(e,1,this.e,a,r,!i))):r==null?this.c==null?t.ji(n,f9):t.ji(n,null):(this.zl(r),t.ji(n,r))},Q.Ck=function(e,t,n){var r,i;e.sh()&&e.th()?(r=!0,i=t.ii(n),i==null?(r=!1,i=this.b):j(i)===j(f9)&&(i=null),t.ki(n),Rj(e,this.d.Bl(e,2,this.e,i,this.b,r))):t.ki(n)},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable`,771),q(1309,771,{},rEe),Q.zl=function(e){if(!this.a.dk(e))throw D(new og(vJ+WM(e)+yJ+this.a+`'`))},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic`,1309),q(1310,771,{},HSe),Q.zl=function(e){},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic`,1310),q(402,498,{},MC),Q.wk=function(e,t,n,r,i){var a,o,s,c,l=t.ii(n);if(this.rk()&&j(l)===j(f9))return null;if(this._k()&&r&&l!=null){if(s=P(l,52),s.Sh()&&(c=bN(e,s),s!=c)){if(!xrt(this.a,c))throw D(new og(vJ+WM(c)+yJ+this.a+`'`));t.ji(n,l=c),this.$k()&&(a=P(c,52),o=s.Qh(e,this.b?NP(s.Ah(),this.b):-1-NP(e.Ah(),this.e),null,null),!a.Mh()&&(o=a.Oh(e,this.b?NP(a.Ah(),this.b):-1-NP(e.Ah(),this.e),null,o)),o&&o.mj()),e.sh()&&e.th()&&Rj(e,new pw(e,9,this.e,s,c))}return l}else return l},Q.xk=function(e,t,n,r,i){var a,o=t.ii(n);return j(o)===j(f9)&&(o=null),t.ji(n,r),this.Kj()?j(o)!==j(r)&&o!=null&&(a=P(o,52),i=a.Qh(e,NP(a.Ah(),this.b),null,i)):this.$k()&&o!=null&&(i=P(o,52).Qh(e,-1-NP(e.Ah(),this.e),null,i)),e.sh()&&e.th()&&(!i&&(i=new Qg(4)),i.lj(new pw(e,1,this.e,o,r))),i},Q.yk=function(e,t,n,r,i){var a=t.ii(n);return j(a)===j(f9)&&(a=null),t.ki(n),e.sh()&&e.th()&&(!i&&(i=new Qg(4)),this.rk()?i.lj(new pw(e,2,this.e,a,null)):i.lj(new pw(e,1,this.e,a,null))),i},Q.zk=function(e,t,n){return t.ii(n)!=null},Q.Ak=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!xrt(this.a,r))throw D(new og(vJ+(M(r,57)?jQe(P(r,57).Ah()):xLe(WM(r)))+yJ+this.a+`'`));c=t.ii(n),s=c!=null,this.rk()&&j(c)===j(f9)&&(c=null),o=null,this.Kj()?j(c)!==j(r)&&(c!=null&&(i=P(c,52),o=i.Qh(e,NP(i.Ah(),this.b),null,o)),r!=null&&(i=P(r,52),o=i.Oh(e,NP(i.Ah(),this.b),null,o))):this.$k()&&j(c)!==j(r)&&(c!=null&&(o=P(c,52).Qh(e,-1-NP(e.Ah(),this.e),null,o)),r!=null&&(o=P(r,52).Oh(e,-1-NP(e.Ah(),this.e),null,o))),r==null&&this.rk()?t.ji(n,f9):t.ji(n,r),e.sh()&&e.th()?(a=new MEe(e,1,this.e,c,r,this.rk()&&!s),o?(o.lj(a),o.mj()):Rj(e,a)):o&&o.mj()},Q.Ck=function(e,t,n){var r,i,a,o,s=t.ii(n);o=s!=null,this.rk()&&j(s)===j(f9)&&(s=null),a=null,s!=null&&(this.Kj()?(r=P(s,52),a=r.Qh(e,NP(r.Ah(),this.b),null,a)):this.$k()&&(a=P(s,52).Qh(e,-1-NP(e.Ah(),this.e),null,a))),t.ki(n),e.sh()&&e.th()?(i=new MEe(e,this.rk()?2:1,this.e,s,null,o),a?(a.lj(i),a.mj()):Rj(e,i)):a&&a.mj()},Q.Kj=function(){return!1},Q.$k=function(){return!1},Q._k=function(){return!1},Q.rk=function(){return!1},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObject`,402),q(561,402,{},Zx),Q.$k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment`,561),q(1313,561,{},Lhe),Q._k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving`,1313),q(773,561,{},Rhe),Q.rk=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable`,773),q(1315,773,{},zhe),Q._k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving`,1315),q(638,561,{},qS),Q.Kj=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse`,638),q(1314,638,{},ybe),Q._k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving`,1314),q(774,638,{},bbe),Q.rk=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable`,774),q(1316,774,{},xbe),Q._k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving`,1316),q(639,402,{},Bhe),Q._k=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving`,639),q(1317,639,{},Vhe),Q.rk=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable`,1317),q(775,639,{},Cbe),Q.Kj=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse`,775),q(1318,775,{},Sbe),Q.rk=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable`,1318),q(1311,402,{},Hhe),Q.rk=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable`,1311),q(772,402,{},wbe),Q.Kj=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse`,772),q(1312,772,{},Tbe),Q.rk=function(){return!0},L(cq,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable`,1312),q(776,562,_J,Rwe),Q.wl=function(e){return new Rwe(this.a,this.c,e)},Q.kd=function(){return this.b},Q.xl=function(e,t,n){return FPe(this,e,this.b,n)},Q.yl=function(e,t,n){return IPe(this,e,this.b,n)},L(cq,`EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry`,776),q(1319,1,tJ,Nre),Q.Dk=function(e){return this.a},Q.Oj=function(){return M(this.a,98)?P(this.a,98).Oj():!this.a.dc()},Q.Wb=function(e){this.a.$b(),this.a.Fc(P(e,16))},Q.Ek=function(){M(this.a,98)?P(this.a,98).Ek():this.a.$b()},L(cq,`EStructuralFeatureImpl/SettingMany`,1319),q(1320,562,_J,vMe),Q.vl=function(e){return new uS((dB(),A9),this.b.oi(this.a,e))},Q.kd=function(){return null},Q.xl=function(e,t,n){return n},Q.yl=function(e,t,n){return n},L(cq,`EStructuralFeatureImpl/SimpleContentFeatureMapEntry`,1320),q(640,562,_J,uS),Q.vl=function(e){return new uS(this.c,e)},Q.kd=function(){return this.a},Q.xl=function(e,t,n){return n},Q.yl=function(e,t,n){return n},L(cq,`EStructuralFeatureImpl/SimpleFeatureMapEntry`,640),q(396,492,zq,jl),Q.$i=function(e){return V(I7,$B,29,e,0,1)},Q.Wi=function(){return!1},L(cq,`ESuperAdapter/1`,396),q(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,834:1,52:1,100:1,161:1,446:1,117:1,118:1},Ml),Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new IC(this,z7,this)),this.a}return ck(this,e-Hw((VB(),s9)),eA((r=P(Uj(this,16),29),r||s9),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new F(j7,this,0,3)),RF(this.Ab,e,n);case 2:return!this.a&&(this.a=new IC(this,z7,this)),RF(this.a,e,n)}return i=P(eA((r=P(Uj(this,16),29),r||(VB(),s9)),t),69),i.uk().yk(this,sF(this),t-Hw((VB(),s9)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return BD(this,e-Hw((VB(),s9)),eA((t=P(Uj(this,16),29),t||s9),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab),!this.Ab&&(this.Ab=new F(j7,this,0,3)),zw(this.Ab,P(t,18));return;case 1:hj(this,tS(t));return;case 2:!this.a&&(this.a=new IC(this,z7,this)),oB(this.a),!this.a&&(this.a=new IC(this,z7,this)),zw(this.a,P(t,18));return}vP(this,e-Hw((VB(),s9)),eA((n=P(Uj(this,16),29),n||s9),e),t)},Q.fi=function(){return VB(),s9},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new F(j7,this,0,3)),oB(this.Ab);return;case 1:hj(this,null);return;case 2:!this.a&&(this.a=new IC(this,z7,this)),oB(this.a);return}AN(this,e-Hw((VB(),s9)),eA((t=P(Uj(this,16),29),t||s9),e))},L(cq,`ETypeParameterImpl`,446),q(447,81,dJ,IC),Q.Lj=function(e,t){return B$e(this,P(e,87),t)},Q.Mj=function(e,t){return V$e(this,P(e,87),t)},L(cq,`ETypeParameterImpl/1`,447),q(637,44,DH,Hh),Q.ec=function(){return new Qm(this)},L(cq,`ETypeParameterImpl/2`,637),q(557,lV,uV,Qm),Q.Ec=function(e){return w_e(this,P(e,87))},Q.Fc=function(e){var t,n,r=!1;for(n=e.Jc();n.Ob();)t=P(n.Pb(),87),ST(this.a,t,``)??(r=!0);return r},Q.$b=function(){aw(this.a)},Q.Gc=function(e){return bw(this.a,e)},Q.Jc=function(){var e;return e=new Pj(new im(this.a).a),new $m(e)},Q.Kc=function(e){return YNe(this,e)},Q.gc=function(){return C_(this.a)},L(cq,`ETypeParameterImpl/2/1`,557),q(558,1,aV,$m),Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return P(dj(this.a).jd(),87)},Q.Ob=function(){return this.a.b},Q.Qb=function(){yIe(this.a)},L(cq,`ETypeParameterImpl/2/1/1`,558),q(1281,44,DH,nae),Q._b=function(e){return Uy(e)?LEe(this,e):!!VC(this.f,e)},Q.xc=function(e){var t=Uy(e)?vE(this,e):By(VC(this.f,e)),n;return M(t,835)?(n=P(t,835),t=n.Ik(),ST(this,P(e,241),t),t):t??(e==null?(tle(),tVt):null)},L(cq,`EValidatorRegistryImpl`,1281),q(1303,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2002:1,52:1,100:1,161:1,117:1,118:1},Nl),Q.oi=function(e,t){switch(e.fk()){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:EP(t);case 25:return HLe(t);case 27:return LFe(t);case 28:return RFe(t);case 29:return t==null?null:xpe(h7[0],P(t,205));case 41:return t==null?``:a_(P(t,298));case 42:return EP(t);case 50:return tS(t);default:throw D(new sg(dq+e.ve()+fq))}},Q.pi=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;switch(e.G==-1&&(e.G=(f=lA(e),f?GF(f.si(),e):-1)),e.G){case 0:return n=new zh,n;case 1:return t=new fl,t;case 2:return r=new Cf,r;case 4:return i=new Sh,i;case 5:return a=new eae,a;case 6:return o=new Xre,o;case 7:return s=new Sf,s;case 10:return l=new ul,l;case 11:return u=new Bh,u;case 12:return d=new wEe,d;case 13:return p=new Vh,p;case 14:return m=new ige,m;case 17:return h=new xl,h;case 18:return c=new ch,c;case 19:return g=new Ml,g;default:throw D(new sg(hq+e.zb+fq))}},Q.qi=function(e,t){switch(e.fk()){case 20:return t==null?null:new sse(t);case 21:return t==null?null:new Ab(t);case 23:case 22:return t==null?null:_qe(t);case 26:case 24:return t==null?null:jk(Ez(t,-128,127)<<24>>24);case 25:return e8e(t);case 27:return mXe(t);case 28:return hXe(t);case 29:return _1e(t);case 32:case 31:return t==null?null:OL(t);case 38:case 37:return t==null?null:new _ie(t);case 40:case 39:return t==null?null:G(Ez(t,LV,JB));case 41:return null;case 42:return null;case 44:case 43:return t==null?null:uF(EB(t));case 49:case 48:return t==null?null:SN(Ez(t,SJ,32767)<<16>>16);case 50:return t;default:throw D(new sg(dq+e.ve()+fq))}},L(cq,`EcoreFactoryImpl`,1303),q(548,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2e3:1,52:1,100:1,161:1,184:1,548:1,117:1,118:1,680:1},pTe),Q.gb=!1,Q.hb=!1;var JBt,YBt=!1;L(cq,`EcorePackageImpl`,548),q(1199,1,{835:1},Pl),Q.Ik=function(){return Tme(),nVt},L(cq,`EcorePackageImpl/1`,1199),q(1208,1,EJ,Fl),Q.dk=function(e){return M(e,158)},Q.ek=function(e){return V(o7,$B,158,e,0,1)},L(cq,`EcorePackageImpl/10`,1208),q(1209,1,EJ,Il),Q.dk=function(e){return M(e,197)},Q.ek=function(e){return V(Azt,$B,197,e,0,1)},L(cq,`EcorePackageImpl/11`,1209),q(1210,1,EJ,Ll),Q.dk=function(e){return M(e,57)},Q.ek=function(e){return V(Q5,$B,57,e,0,1)},L(cq,`EcorePackageImpl/12`,1210),q(1211,1,EJ,Rl),Q.dk=function(e){return M(e,403)},Q.ek=function(e){return V(B7,yvt,62,e,0,1)},L(cq,`EcorePackageImpl/13`,1211),q(1212,1,EJ,zl),Q.dk=function(e){return M(e,241)},Q.ek=function(e){return V(c7,$B,241,e,0,1)},L(cq,`EcorePackageImpl/14`,1212),q(1213,1,EJ,Bl),Q.dk=function(e){return M(e,503)},Q.ek=function(e){return V(H7,$B,2078,e,0,1)},L(cq,`EcorePackageImpl/15`,1213),q(1214,1,EJ,Vl),Q.dk=function(e){return M(e,103)},Q.ek=function(e){return V(U7,uJ,19,e,0,1)},L(cq,`EcorePackageImpl/16`,1214),q(1215,1,EJ,Hl),Q.dk=function(e){return M(e,179)},Q.ek=function(e){return V(N7,uJ,179,e,0,1)},L(cq,`EcorePackageImpl/17`,1215),q(1216,1,EJ,Ul),Q.dk=function(e){return M(e,470)},Q.ek=function(e){return V(M7,$B,470,e,0,1)},L(cq,`EcorePackageImpl/18`,1216),q(1217,1,EJ,Wl),Q.dk=function(e){return M(e,549)},Q.ek=function(e){return V(d9,nvt,549,e,0,1)},L(cq,`EcorePackageImpl/19`,1217),q(1200,1,EJ,Gl),Q.dk=function(e){return M(e,335)},Q.ek=function(e){return V(P7,uJ,38,e,0,1)},L(cq,`EcorePackageImpl/2`,1200),q(1218,1,EJ,Kl),Q.dk=function(e){return M(e,248)},Q.ek=function(e){return V(z7,xvt,87,e,0,1)},L(cq,`EcorePackageImpl/20`,1218),q(1219,1,EJ,ql),Q.dk=function(e){return M(e,446)},Q.ek=function(e){return V(W7,$B,834,e,0,1)},L(cq,`EcorePackageImpl/21`,1219),q(1220,1,EJ,Jl),Q.dk=function(e){return Vy(e)},Q.ek=function(e){return V(uY,X,473,e,8,1)},L(cq,`EcorePackageImpl/22`,1220),q(1221,1,EJ,Yl),Q.dk=function(e){return M(e,195)},Q.ek=function(e){return V(X9,X,195,e,0,2)},L(cq,`EcorePackageImpl/23`,1221),q(1222,1,EJ,Xl),Q.dk=function(e){return M(e,221)},Q.ek=function(e){return V(dY,X,221,e,0,1)},L(cq,`EcorePackageImpl/24`,1222),q(1223,1,EJ,Zl),Q.dk=function(e){return M(e,180)},Q.ek=function(e){return V(fY,X,180,e,0,1)},L(cq,`EcorePackageImpl/25`,1223),q(1224,1,EJ,Ql),Q.dk=function(e){return M(e,205)},Q.ek=function(e){return V(oY,X,205,e,0,1)},L(cq,`EcorePackageImpl/26`,1224),q(1225,1,EJ,$l),Q.dk=function(e){return!1},Q.ek=function(e){return V(ZVt,$B,2174,e,0,1)},L(cq,`EcorePackageImpl/27`,1225),q(1226,1,EJ,eu),Q.dk=function(e){return Hy(e)},Q.ek=function(e){return V(pY,X,346,e,7,1)},L(cq,`EcorePackageImpl/28`,1226),q(1227,1,EJ,tu),Q.dk=function(e){return M(e,61)},Q.ek=function(e){return V(Xzt,aU,61,e,0,1)},L(cq,`EcorePackageImpl/29`,1227),q(1201,1,EJ,nu),Q.dk=function(e){return M(e,504)},Q.ek=function(e){return V(j7,{3:1,4:1,5:1,1995:1},587,e,0,1)},L(cq,`EcorePackageImpl/3`,1201),q(1228,1,EJ,ru),Q.dk=function(e){return M(e,568)},Q.ek=function(e){return V(iBt,$B,2001,e,0,1)},L(cq,`EcorePackageImpl/30`,1228),q(1229,1,EJ,iu),Q.dk=function(e){return M(e,163)},Q.ek=function(e){return V(eVt,aU,163,e,0,1)},L(cq,`EcorePackageImpl/31`,1229),q(1230,1,EJ,au),Q.dk=function(e){return M(e,75)},Q.ek=function(e){return V(c9,Mvt,75,e,0,1)},L(cq,`EcorePackageImpl/32`,1230),q(1231,1,EJ,ou),Q.dk=function(e){return M(e,164)},Q.ek=function(e){return V(mY,X,164,e,0,1)},L(cq,`EcorePackageImpl/33`,1231),q(1232,1,EJ,su),Q.dk=function(e){return M(e,15)},Q.ek=function(e){return V(hY,X,15,e,0,1)},L(cq,`EcorePackageImpl/34`,1232),q(1233,1,EJ,cu),Q.dk=function(e){return M(e,298)},Q.ek=function(e){return V(Nyt,$B,298,e,0,1)},L(cq,`EcorePackageImpl/35`,1233),q(1234,1,EJ,lu),Q.dk=function(e){return M(e,190)},Q.ek=function(e){return V(gY,X,190,e,0,1)},L(cq,`EcorePackageImpl/36`,1234),q(1235,1,EJ,uu),Q.dk=function(e){return M(e,92)},Q.ek=function(e){return V(Iyt,$B,92,e,0,1)},L(cq,`EcorePackageImpl/37`,1235),q(1236,1,EJ,du),Q.dk=function(e){return M(e,588)},Q.ek=function(e){return V(XBt,$B,588,e,0,1)},L(cq,`EcorePackageImpl/38`,1236),q(1237,1,EJ,fu),Q.dk=function(e){return!1},Q.ek=function(e){return V(QVt,$B,2175,e,0,1)},L(cq,`EcorePackageImpl/39`,1237),q(1202,1,EJ,pu),Q.dk=function(e){return M(e,88)},Q.ek=function(e){return V(I7,$B,29,e,0,1)},L(cq,`EcorePackageImpl/4`,1202),q(1238,1,EJ,mu),Q.dk=function(e){return M(e,191)},Q.ek=function(e){return V(_Y,X,191,e,0,1)},L(cq,`EcorePackageImpl/40`,1238),q(1239,1,EJ,hu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(cq,`EcorePackageImpl/41`,1239),q(1240,1,EJ,gu),Q.dk=function(e){return M(e,585)},Q.ek=function(e){return V(Qzt,$B,585,e,0,1)},L(cq,`EcorePackageImpl/42`,1240),q(1241,1,EJ,_u),Q.dk=function(e){return!1},Q.ek=function(e){return V($Vt,X,2176,e,0,1)},L(cq,`EcorePackageImpl/43`,1241),q(1242,1,EJ,vu),Q.dk=function(e){return M(e,45)},Q.ek=function(e){return V(tY,SV,45,e,0,1)},L(cq,`EcorePackageImpl/44`,1242),q(1203,1,EJ,yu),Q.dk=function(e){return M(e,143)},Q.ek=function(e){return V(F7,$B,143,e,0,1)},L(cq,`EcorePackageImpl/5`,1203),q(1204,1,EJ,bu),Q.dk=function(e){return M(e,159)},Q.ek=function(e){return V(vBt,$B,159,e,0,1)},L(cq,`EcorePackageImpl/6`,1204),q(1205,1,EJ,xu),Q.dk=function(e){return M(e,459)},Q.ek=function(e){return V(L7,$B,675,e,0,1)},L(cq,`EcorePackageImpl/7`,1205),q(1206,1,EJ,Su),Q.dk=function(e){return M(e,568)},Q.ek=function(e){return V(R7,$B,684,e,0,1)},L(cq,`EcorePackageImpl/8`,1206),q(1207,1,EJ,Cu),Q.dk=function(e){return M(e,469)},Q.ek=function(e){return V(s7,$B,469,e,0,1)},L(cq,`EcorePackageImpl/9`,1207),q(1019,2042,evt,Kae),Q.Ki=function(e,t){yWe(this,P(t,415))},Q.Oi=function(e,t){C2e(this,e,P(t,415))},L(cq,`MinimalEObjectImpl/1ArrayDelegatingAdapterList`,1019),q(1020,151,Xq,zwe),Q.hj=function(){return this.a.a},L(cq,`MinimalEObjectImpl/1ArrayDelegatingAdapterList/1`,1020),q(1047,1046,{},Jfe),L(`org.eclipse.emf.ecore.plugin`,`EcorePlugin`,1047);var XBt=yC(Nvt,`Resource`);q(786,1485,Pvt),Q.Fl=function(e){},Q.Gl=function(e){},Q.Cl=function(){return!this.a&&(this.a=new nh(this)),this.a},Q.Dl=function(e){var t,n,r=e.length,i,a;if(r>0)if(sD(0,e.length),e.charCodeAt(0)==47){for(a=new HO(4),i=1,t=1;t<r;++t)sD(t,e.length),e.charCodeAt(t)==47&&($b(a,i==t?``:(YO(i,t,e.length),e.substr(i,t-i))),i=t+1);return $b(a,(sD(i,e.length+1),e.substr(i))),zZe(this,a)}else sD(r-1,e.length),e.charCodeAt(r-1)==63&&(n=E_e(e,hL(63),r-2),n>0&&(e=(YO(0,n,e.length),e.substr(0,n))));return N4e(this,e)},Q.El=function(){return this.c},Q.Ib=function(){var e;return a_(this.Pm)+`@`+(e=Cj(this)>>>0,e.toString(16))+` uri='`+this.d+`'`},Q.b=!1,L(DJ,`ResourceImpl`,786),q(1486,786,Pvt,Fre),L(DJ,`BinaryResourceImpl`,1486),q(1159,697,Bq),Q._i=function(e){return M(e,57)?iDe(this,P(e,57)):M(e,588)?new lx(P(e,588).Cl()):j(e)===j(this.f)?P(e,18).Jc():(aS(),E7.a)},Q.Ob=function(){return m3e(this)},Q.a=!1,L(eJ,`EcoreUtil/ContentTreeIterator`,1159),q(1487,1159,Bq,CCe),Q._i=function(e){return j(e)===j(this.f)?P(e,16).Jc():new ije(P(e,57))},L(DJ,`ResourceImpl/5`,1487),q(647,2054,bvt,nh),Q.Gc=function(e){return this.i<=4?UI(this,e):M(e,52)&&P(e,52).Gh()==this.a},Q.Ki=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},Q.Mi=function(e,t){e==0?this.a.b||(this.a.b=!0):zPe(this,e,t)},Q.Oi=function(e,t){},Q.Pi=function(e,t,n){},Q.Jj=function(){return 2},Q.hj=function(){return this.a},Q.Kj=function(){return!0},Q.Lj=function(e,t){return t=P(e,52).ci(this.a,t),t},Q.Mj=function(e,t){return P(e,52).ci(null,t)},Q.Nj=function(){return!1},Q.Qi=function(){return!0},Q.$i=function(e){return V(Q5,$B,57,e,0,1)},Q.Wi=function(){return!1},L(DJ,`ResourceImpl/ContentsEList`,647),q(953,2024,MV,Ire),Q.dd=function(e){return this.a.Ii(e)},Q.gc=function(){return this.a.gc()},L(eJ,`AbstractSequentialInternalEList/1`,953);var ZBt,QBt,p9,$Bt;q(625,1,{},lxe);var m9,h9;L(eJ,`BasicExtendedMetaData`,625),q(1150,1,{},wde),Q.Hl=function(){return null},Q.Il=function(){return this.a==-2&&qp(this,a1e(this.d,this.b)),this.a},Q.Jl=function(){return null},Q.Kl=function(){return KT(),KT(),EY},Q.ve=function(){return this.c==LJ&&vee(this,Nqe(this.d,this.b)),this.c},Q.Ll=function(){return 0},Q.a=-2,Q.c=LJ,L(eJ,`BasicExtendedMetaData/EClassExtendedMetaDataImpl`,1150),q(1151,1,{},uAe),Q.Hl=function(){return this.a==(PO(),m9)&&bee(this,Fet(this.f,this.b)),this.a},Q.Il=function(){return 0},Q.Jl=function(){return this.c==(PO(),m9)&&Jp(this,Iet(this.f,this.b)),this.c},Q.Kl=function(){return!this.d&&See(this,Wrt(this.f,this.b)),this.d},Q.ve=function(){return this.e==LJ&&wee(this,Nqe(this.f,this.b)),this.e},Q.Ll=function(){return this.g==-2&&Eee(this,u$e(this.f,this.b)),this.g},Q.e=LJ,Q.g=-2,L(eJ,`BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl`,1151),q(1149,1,{},Tde),Q.b=!1,Q.c=!1,L(eJ,`BasicExtendedMetaData/EPackageExtendedMetaDataImpl`,1149),q(1152,1,{},dAe),Q.c=-2,Q.e=LJ,Q.f=LJ,L(eJ,`BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl`,1152),q(581,623,dJ,sC),Q.Jj=function(){return this.c},Q.ml=function(){return!1},Q.Ui=function(e,t){return t},Q.c=0,L(eJ,`EDataTypeEList`,581);var eVt=yC(eJ,`FeatureMap`);q(76,581,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},Nj),Q._c=function(e,t){z5e(this,e,P(t,75))},Q.Ec=function(e){return B8e(this,P(e,75))},Q.Fi=function(e){swe(this,P(e,75))},Q.Lj=function(e,t){return q_e(this,P(e,75),t)},Q.Mj=function(e,t){return J_e(this,P(e,75),t)},Q.Ri=function(e,t){return dnt(this,e,t)},Q.Ui=function(e,t){return Vot(this,e,P(t,75))},Q.fd=function(e,t){return U7e(this,e,P(t,75))},Q.Sj=function(e,t){return Y_e(this,P(e,75),t)},Q.Tj=function(e,t){return X_e(this,P(e,75),t)},Q.Uj=function(e,t,n){return LQe(this,P(e,75),P(t,75),n)},Q.Xi=function(e,t){return oL(this,e,P(t,75))},Q.Ml=function(e,t){return Htt(this,e,t)},Q.ad=function(e,t){var n,r,i,a,o,s,c,l=new oA(t.gc()),u;for(i=t.Jc();i.Ob();)if(r=P(i.Pb(),75),a=r.Jk(),nz(this.e,a))(!a.Qi()||!GD(this,a,r.kd())&&!UI(l,r))&&XO(l,r);else{for(u=$R(this.e.Ah(),a),n=P(this.g,122),o=!0,s=0;s<this.i;++s)if(c=n[s],u.$l(c.Jk())){P(WF(this,s,r),75),o=!1;break}o&&XO(l,r)}return BVe(this,e,l)},Q.Fc=function(e){var t,n,r,i,a,o,s,c=new oA(e.gc()),l;for(r=e.Jc();r.Ob();)if(n=P(r.Pb(),75),i=n.Jk(),nz(this.e,i))(!i.Qi()||!GD(this,i,n.kd())&&!UI(c,n))&&XO(c,n);else{for(l=$R(this.e.Ah(),i),t=P(this.g,122),a=!0,o=0;o<this.i;++o)if(s=t[o],l.$l(s.Jk())){P(WF(this,o,n),75),a=!1;break}a&&XO(c,n)}return zw(this,c)},Q.Di=function(e){return this.j=-1,jrt(this,this.i,e)},Q.Nl=function(e,t,n){return Vet(this,e,t,n)},Q.Vk=function(e,t){return Sz(this,e,t)},Q.Ol=function(e,t,n){return Rit(this,e,t,n)},Q.Pl=function(){return this},Q.Ql=function(e,t){return Zz(this,e,t)},Q.Rl=function(e){return P(H(this,e),75).Jk()},Q.Sl=function(e){return P(H(this,e),75).kd()},Q.Tl=function(){return this.b},Q.Kj=function(){return!0},Q.Rj=function(){return!0},Q.Ul=function(e){return!RP(this,e)},Q.$i=function(e){return V(RBt,Mvt,344,e,0,1)},Q.nl=function(e){return Qx(this,e)},Q.Wb=function(e){Aw(this,e)},Q.Vl=function(e,t){tB(this,e,t)},Q.Wl=function(e){return nze(this,e)},Q.Xl=function(e){HYe(this,e)},L(eJ,`BasicFeatureMap`,76),q(1922,1,dV),Q.Nb=function(e){_w(this,e)},Q.Rb=function(e){if(this.g==-1)throw D(new vh);ZC(this);try{$7e(this.e,this.b,this.a,e),this.d=this.e.j,VF(this)}catch(e){throw e=hM(e),M(e,99)?D(new gh):D(e)}},Q.Ob=function(){return JM(this)},Q.Sb=function(){return aUe(this)},Q.Pb=function(){return VF(this)},Q.Tb=function(){return this.a},Q.Ub=function(){var e;if(aUe(this))return ZC(this),this.g=--this.a,this.sl()&&(e=sR(this.e,this.b,this.c,this.a,this.j),this.j=e),this.i=0,this.j;throw D(new xh)},Q.Vb=function(){return this.a-1},Q.Qb=function(){if(this.g==-1)throw D(new vh);ZC(this);try{B0e(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(e){throw e=hM(e),M(e,99)?D(new gh):D(e)}},Q.sl=function(){return!1},Q.Wb=function(e){if(this.g==-1)throw D(new vh);ZC(this);try{Xrt(this.e,this.b,this.g,e),this.d=this.e.j}catch(e){throw e=hM(e),M(e,99)?D(new gh):D(e)}},Q.a=0,Q.c=0,Q.d=0,Q.f=!1,Q.g=0,Q.i=0,L(eJ,`FeatureMapUtil/BasicFeatureEIterator`,1922),q(412,1922,dV,Qj),Q.Yl=function(){var e,t,n=this.e.i;for(e=P(this.e.g,122);this.c<n;){if(t=e[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},Q.Zl=function(){for(var e=P(this.e.g,122),t;--this.c>=0;)if(t=e[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},L(eJ,`BasicFeatureMap/FeatureEIterator`,412),q(666,412,dV,fb),Q.sl=function(){return!0},L(eJ,`BasicFeatureMap/ResolvingFeatureEIterator`,666),q(951,482,hJ,jpe),Q.nj=function(){return this},L(eJ,`EContentsEList/1`,951),q(952,482,hJ,cfe),Q.sl=function(){return!1},L(eJ,`EContentsEList/2`,952),q(950,287,gJ,Mpe),Q.ul=function(e){},Q.Ob=function(){return!1},Q.Sb=function(){return!1},L(eJ,`EContentsEList/FeatureIteratorImpl/1`,950),q(824,581,dJ,ime),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;oB(this),gb(this.e)?(e=this.a,this.a=!1,Rj(this.e,new vO(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,L(eJ,`EDataTypeEList/Unsettable`,824),q(1920,581,dJ,rme),Q.Qi=function(){return!0},L(eJ,`EDataTypeUniqueEList`,1920),q(1921,824,dJ,ame),Q.Qi=function(){return!0},L(eJ,`EDataTypeUniqueEList/Unsettable`,1921),q(145,81,dJ,ox),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectContainmentEList/Resolving`,145),q(1153,543,dJ,tme),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectContainmentEList/Unsettable/Resolving`,1153),q(753,14,dJ,f_e),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;oB(this),gb(this.e)?(e=this.a,this.a=!1,Rj(this.e,new vO(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,L(eJ,`EObjectContainmentWithInverseEList/Unsettable`,753),q(1187,753,dJ,p_e),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectContainmentWithInverseEList/Unsettable/Resolving`,1187),q(745,491,dJ,nme),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;oB(this),gb(this.e)?(e=this.a,this.a=!1,Rj(this.e,new vO(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,L(eJ,`EObjectEList/Unsettable`,745),q(339,491,dJ,sx),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectResolvingEList`,339),q(1825,745,dJ,ome),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectResolvingEList/Unsettable`,1825),q(1488,1,{},wu);var tVt;L(eJ,`EObjectValidator`,1488),q(547,491,dJ,mw),Q.gl=function(){return this.d},Q.hl=function(){return this.b},Q.Kj=function(){return!0},Q.kl=function(){return!0},Q.b=0,L(eJ,`EObjectWithInverseEList`,547),q(1190,547,dJ,m_e),Q.jl=function(){return!0},L(eJ,`EObjectWithInverseEList/ManyInverse`,1190),q(626,547,dJ,bS),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;oB(this),gb(this.e)?(e=this.a,this.a=!1,Rj(this.e,new vO(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,L(eJ,`EObjectWithInverseEList/Unsettable`,626),q(1189,626,dJ,h_e),Q.jl=function(){return!0},L(eJ,`EObjectWithInverseEList/Unsettable/ManyInverse`,1189),q(754,547,dJ,g_e),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectWithInverseResolvingEList`,754),q(33,754,dJ,xS),Q.jl=function(){return!0},L(eJ,`EObjectWithInverseResolvingEList/ManyInverse`,33),q(755,626,dJ,__e),Q.ll=function(){return!0},Q.Ui=function(e,t){return yR(this,e,P(t,57))},L(eJ,`EObjectWithInverseResolvingEList/Unsettable`,755),q(1188,755,dJ,v_e),Q.jl=function(){return!0},L(eJ,`EObjectWithInverseResolvingEList/Unsettable/ManyInverse`,1188),q(1154,623,dJ),Q.Ji=function(){return(this.b&1792)==0},Q.Li=function(){this.b|=1},Q.il=function(){return(this.b&4)!=0},Q.Kj=function(){return(this.b&40)!=0},Q.jl=function(){return(this.b&16)!=0},Q.kl=function(){return(this.b&8)!=0},Q.ll=function(){return(this.b&pV)!=0},Q.$k=function(){return(this.b&32)!=0},Q.ml=function(){return(this.b&$q)!=0},Q.dk=function(e){return this.d?Vje(this.d,e):this.Jk().Fk().dk(e)},Q.Oj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},Q.Qi=function(){return(this.b&128)!=0},Q.Ek=function(){var e;oB(this),this.b&2&&(gb(this.e)?(e=(this.b&1)!=0,this.b&=-2,Th(this,new vO(this.e,2,NP(this.e.Ah(),this.Jk()),e,!1))):this.b&=-2)},Q.Wi=function(){return(this.b&1536)==0},Q.b=0,L(eJ,`EcoreEList/Generic`,1154),q(1155,1154,dJ,NEe),Q.Jk=function(){return this.a},L(eJ,`EcoreEList/Dynamic`,1155),q(752,67,zq,Lre),Q.$i=function(e){return NA(this.a.a,e)},L(eJ,`EcoreEMap/1`,752),q(751,81,dJ,kCe),Q.Ki=function(e,t){$F(this.b,P(t,136))},Q.Mi=function(e,t){HBe(this.b)},Q.Ni=function(e,t,n){var r;++(r=this.b,P(t,136),r).e},Q.Oi=function(e,t){JN(this.b,P(t,136))},Q.Pi=function(e,t,n){JN(this.b,P(n,136)),j(n)===j(t)&&P(n,136).zi(Vfe(P(t,136).jd())),$F(this.b,P(t,136))},L(eJ,`EcoreEMap/DelegateEObjectContainmentEList`,751),q(1185,142,gvt,FRe),L(eJ,`EcoreEMap/Unsettable`,1185),q(1186,751,dJ,y_e),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;oB(this),gb(this.e)?(e=this.a,this.a=!1,Rj(this.e,new vO(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,L(eJ,`EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList`,1186),q(1158,223,DH,bwe),Q.a=!1,Q.b=!1,L(eJ,`EcoreUtil/Copier`,1158),q(747,1,aV,ije),Q.Nb=function(e){_w(this,e)},Q.Ob=function(){return WKe(this)},Q.Pb=function(){var e;return WKe(this),e=this.b,this.b=null,e},Q.Qb=function(){this.a.Qb()},L(eJ,`EcoreUtil/ProperContentIterator`,747),q(1489,1488,{},Tf);var nVt;L(eJ,`EcoreValidator`,1489);var rVt;yC(eJ,`FeatureMapUtil/Validator`),q(1258,1,{2003:1},Tu),Q.$l=function(e){return!0},L(eJ,`FeatureMapUtil/1`,1258),q(760,1,{2003:1},wct),Q.$l=function(e){var t;return this.c==e?!0:(t=eS(Zw(this.a,e)),t==null?Get(this,e)?(DNe(this.a,e,(mx(),lY)),!0):(DNe(this.a,e,(mx(),cY)),!1):t==(mx(),lY))},Q.e=!1;var iVt;L(eJ,`FeatureMapUtil/BasicValidator`,760),q(761,44,DH,Ppe),L(eJ,`FeatureMapUtil/BasicValidator/Cache`,761),q(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,72:1,98:1},Ly),Q._c=function(e,t){$7e(this.c,this.b,e,t)},Q.Ec=function(e){return Htt(this.c,this.b,e)},Q.ad=function(e,t){return cat(this.c,this.b,e,t)},Q.Fc=function(e){return Yb(this,e)},Q.Ei=function(e,t){CLe(this.c,this.b,e,t)},Q.Uk=function(e,t){return Vet(this.c,this.b,e,t)},Q.Yi=function(e){return Qz(this.c,this.b,e,!1)},Q.Gi=function(){return Dfe(this.c,this.b)},Q.Hi=function(){return Ofe(this.c,this.b)},Q.Ii=function(e){return RPe(this.c,this.b,e)},Q.Vk=function(e,t){return jge(this,e,t)},Q.$b=function(){Eh(this)},Q.Gc=function(e){return GD(this.c,this.b,e)},Q.Hc=function(e){return dBe(this.c,this.b,e)},Q.Xb=function(e){return Qz(this.c,this.b,e,!0)},Q.Dk=function(e){return this},Q.bd=function(e){return tMe(this.c,this.b,e)},Q.dc=function(){return Iy(this)},Q.Oj=function(){return!RP(this.c,this.b)},Q.Jc=function(){return FIe(this.c,this.b)},Q.cd=function(){return IIe(this.c,this.b)},Q.dd=function(e){return nGe(this.c,this.b,e)},Q.Ri=function(e,t){return hrt(this.c,this.b,e,t)},Q.Si=function(e,t){qPe(this.c,this.b,e,t)},Q.ed=function(e){return B0e(this.c,this.b,e)},Q.Kc=function(e){return Ptt(this.c,this.b,e)},Q.fd=function(e,t){return Xrt(this.c,this.b,e,t)},Q.Wb=function(e){vR(this.c,this.b),Yb(this,P(e,16))},Q.gc=function(){return rGe(this.c,this.b)},Q.Nc=function(){return pAe(this.c,this.b)},Q.Oc=function(e){return nMe(this.c,this.b,e)},Q.Ib=function(){var e,t=new Eg;for(t.a+=`[`,e=Dfe(this.c,this.b);JM(e);)Yy(t,px(VF(e))),JM(e)&&(t.a+=QB);return t.a+=`]`,t.a},Q.Ek=function(){vR(this.c,this.b)},L(eJ,`FeatureMapUtil/FeatureEList`,495),q(634,39,Xq,eO),Q.fj=function(e){return PN(this,e)},Q.kj=function(e){var t,n,r,i,a,o,s;switch(this.d){case 1:case 2:if(a=e.hj(),j(a)===j(this.c)&&PN(this,null)==e.fj(null))return this.g=e.gj(),e.ej()==1&&(this.d=1),!0;break;case 3:switch(i=e.ej(),i){case 3:if(a=e.hj(),j(a)===j(this.c)&&PN(this,null)==e.fj(null))return this.d=5,t=new oA(2),XO(t,this.g),XO(t,e.gj()),this.g=t,!0;break}break;case 5:switch(i=e.ej(),i){case 3:if(a=e.hj(),j(a)===j(this.c)&&PN(this,null)==e.fj(null))return n=P(this.g,18),n.Ec(e.gj()),!0;break}break;case 4:switch(i=e.ej(),i){case 3:if(a=e.hj(),j(a)===j(this.c)&&PN(this,null)==e.fj(null))return this.d=1,this.g=e.gj(),!0;break;case 4:if(a=e.hj(),j(a)===j(this.c)&&PN(this,null)==e.fj(null))return this.d=6,s=new oA(2),XO(s,this.n),XO(s,e.ij()),this.n=s,o=U(k(q9,1),JV,30,15,[this.o,e.jj()]),this.g=o,!0;break}break;case 6:switch(i=e.ej(),i){case 4:if(a=e.hj(),j(a)===j(this.c)&&PN(this,null)==e.fj(null))return n=P(this.n,18),n.Ec(e.ij()),o=P(this.g,54),r=V(q9,JV,30,o.length+1,15,1),Fz(o,0,r,0,o.length),r[o.length]=e.jj(),this.g=r,!0;break}break}return!1},L(eJ,`FeatureMapUtil/FeatureENotificationImpl`,634),q(553,495,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},xC),Q.Ml=function(e,t){return Htt(this.c,e,t)},Q.Nl=function(e,t,n){return Vet(this.c,e,t,n)},Q.Ol=function(e,t,n){return Rit(this.c,e,t,n)},Q.Pl=function(){return this},Q.Ql=function(e,t){return Zz(this.c,e,t)},Q.Rl=function(e){return P(Qz(this.c,this.b,e,!1),75).Jk()},Q.Sl=function(e){return P(Qz(this.c,this.b,e,!1),75).kd()},Q.Tl=function(){return this.a},Q.Ul=function(e){return!RP(this.c,e)},Q.Vl=function(e,t){tB(this.c,e,t)},Q.Wl=function(e){return nze(this.c,e)},Q.Xl=function(e){HYe(this.c,e)},L(eJ,`FeatureMapUtil/FeatureFeatureMap`,553),q(1257,1,tJ,Ide),Q.Dk=function(e){return Qz(this.b,this.a,-1,e)},Q.Oj=function(){return!RP(this.b,this.a)},Q.Wb=function(e){tB(this.b,this.a,e)},Q.Ek=function(){vR(this.b,this.a)},L(eJ,`FeatureMapUtil/FeatureValue`,1257);var g9,aVt,oVt,_9,sVt,v9=yC(zJ,`AnyType`);q(670,63,RV,bg),L(zJ,`InvalidDatatypeValueException`,670);var y9=yC(zJ,Bvt),b9=yC(zJ,Vvt),cVt=yC(zJ,Hvt),lVt,x9,uVt,S9,dVt,fVt,pVt,mVt,hVt,gVt,_Vt,vVt,yVt,bVt,xVt,C9,SVt,w9,T9,CVt,E9,D9,O9,wVt,k9,A9;q(828,501,{109:1,94:1,93:1,57:1,52:1,100:1,841:1},rae),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new Nj(this,0)),this.c):(!this.c&&(this.c=new Nj(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Nj(this,0)),P(YE(this.c,(dB(),S9)),163)):(!this.c&&(this.c=new Nj(this,0)),P(P(YE(this.c,(dB(),S9)),163),219)).Tl();case 2:return n?(!this.b&&(this.b=new Nj(this,2)),this.b):(!this.b&&(this.b=new Nj(this,2)),this.b.b)}return ck(this,e-Hw(this.fi()),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():this.fi(),e),t,n)},Q.Rh=function(e,t,n){var r;switch(t){case 0:return!this.c&&(this.c=new Nj(this,0)),Sz(this.c,e,n);case 1:return(!this.c&&(this.c=new Nj(this,0)),P(P(YE(this.c,(dB(),S9)),163),72)).Vk(e,n);case 2:return!this.b&&(this.b=new Nj(this,2)),Sz(this.b,e,n)}return r=P(eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():this.fi(),t),69),r.uk().yk(this,xIe(this),t-Hw(this.fi()),e,n)},Q.Th=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Nj(this,0)),P(YE(this.c,(dB(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return BD(this,e-Hw(this.fi()),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():this.fi(),e))},Q.$h=function(e,t){switch(e){case 0:!this.c&&(this.c=new Nj(this,0)),Aw(this.c,t);return;case 1:(!this.c&&(this.c=new Nj(this,0)),P(P(YE(this.c,(dB(),S9)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Nj(this,2)),Aw(this.b,t);return}vP(this,e-Hw(this.fi()),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():this.fi(),e),t)},Q.fi=function(){return dB(),uVt},Q.hi=function(e){switch(e){case 0:!this.c&&(this.c=new Nj(this,0)),oB(this.c);return;case 1:(!this.c&&(this.c=new Nj(this,0)),P(YE(this.c,(dB(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new Nj(this,2)),oB(this.b);return}AN(this,e-Hw(this.fi()),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():this.fi(),e))},Q.Ib=function(){var e;return this.j&4?DR(this):(e=new gx(DR(this)),e.a+=` (mixed: `,Jy(e,this.c),e.a+=`, anyAttribute: `,Jy(e,this.b),e.a+=`)`,e.a)},L(BJ,`AnyTypeImpl`,828),q(671,501,{109:1,94:1,93:1,57:1,52:1,100:1,2081:1,671:1},Iu),Q.Ih=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return ck(this,e-Hw((dB(),C9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():C9,e),t,n)},Q.Th=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return BD(this,e-Hw((dB(),C9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():C9,e))},Q.$h=function(e,t){switch(e){case 0:kee(this,tS(t));return;case 1:jee(this,tS(t));return}vP(this,e-Hw((dB(),C9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():C9,e),t)},Q.fi=function(){return dB(),C9},Q.hi=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}AN(this,e-Hw((dB(),C9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():C9,e))},Q.Ib=function(){var e;return this.j&4?DR(this):(e=new gx(DR(this)),e.a+=` (data: `,Yy(e,this.a),e.a+=`, target: `,Yy(e,this.b),e.a+=`)`,e.a)},Q.a=null,Q.b=null,L(BJ,`ProcessingInstructionImpl`,671),q(672,828,{109:1,94:1,93:1,57:1,52:1,100:1,841:1,2082:1,672:1},iae),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new Nj(this,0)),this.c):(!this.c&&(this.c=new Nj(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Nj(this,0)),P(YE(this.c,(dB(),S9)),163)):(!this.c&&(this.c=new Nj(this,0)),P(P(YE(this.c,(dB(),S9)),163),219)).Tl();case 2:return n?(!this.b&&(this.b=new Nj(this,2)),this.b):(!this.b&&(this.b=new Nj(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Nj(this,0)),tS(Zz(this.c,(dB(),T9),!0));case 4:return S_e(this.a,(!this.c&&(this.c=new Nj(this,0)),tS(Zz(this.c,(dB(),T9),!0))));case 5:return this.a}return ck(this,e-Hw((dB(),w9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():w9,e),t,n)},Q.Th=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Nj(this,0)),P(YE(this.c,(dB(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Nj(this,0)),tS(Zz(this.c,(dB(),T9),!0))!=null;case 4:return S_e(this.a,(!this.c&&(this.c=new Nj(this,0)),tS(Zz(this.c,(dB(),T9),!0))))!=null;case 5:return!!this.a}return BD(this,e-Hw((dB(),w9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():w9,e))},Q.$h=function(e,t){switch(e){case 0:!this.c&&(this.c=new Nj(this,0)),Aw(this.c,t);return;case 1:(!this.c&&(this.c=new Nj(this,0)),P(P(YE(this.c,(dB(),S9)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Nj(this,2)),Aw(this.b,t);return;case 3:fAe(this,tS(t));return;case 4:fAe(this,x_e(this.a,t));return;case 5:Aee(this,P(t,159));return}vP(this,e-Hw((dB(),w9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():w9,e),t)},Q.fi=function(){return dB(),w9},Q.hi=function(e){switch(e){case 0:!this.c&&(this.c=new Nj(this,0)),oB(this.c);return;case 1:(!this.c&&(this.c=new Nj(this,0)),P(YE(this.c,(dB(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new Nj(this,2)),oB(this.b);return;case 3:!this.c&&(this.c=new Nj(this,0)),tB(this.c,(dB(),T9),null);return;case 4:fAe(this,x_e(this.a,null));return;case 5:this.a=null;return}AN(this,e-Hw((dB(),w9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():w9,e))},L(BJ,`SimpleAnyTypeImpl`,672),q(673,501,{109:1,94:1,93:1,57:1,52:1,100:1,2083:1,673:1},aae),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new Nj(this,0)),this.a):(!this.a&&(this.a=new Nj(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new ik((VB(),o9),d9,this,1)),this.b):(!this.b&&(this.b=new ik((VB(),o9),d9,this,1)),JO(this.b));case 2:return n?(!this.c&&(this.c=new ik((VB(),o9),d9,this,2)),this.c):(!this.c&&(this.c=new ik((VB(),o9),d9,this,2)),JO(this.c));case 3:return!this.a&&(this.a=new Nj(this,0)),YE(this.a,(dB(),D9));case 4:return!this.a&&(this.a=new Nj(this,0)),YE(this.a,(dB(),O9));case 5:return!this.a&&(this.a=new Nj(this,0)),YE(this.a,(dB(),k9));case 6:return!this.a&&(this.a=new Nj(this,0)),YE(this.a,(dB(),A9))}return ck(this,e-Hw((dB(),E9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():E9,e),t,n)},Q.Rh=function(e,t,n){var r;switch(t){case 0:return!this.a&&(this.a=new Nj(this,0)),Sz(this.a,e,n);case 1:return!this.b&&(this.b=new ik((VB(),o9),d9,this,1)),DS(this.b,e,n);case 2:return!this.c&&(this.c=new ik((VB(),o9),d9,this,2)),DS(this.c,e,n);case 5:return!this.a&&(this.a=new Nj(this,0)),jge(YE(this.a,(dB(),k9)),e,n)}return r=P(eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():(dB(),E9),t),69),r.uk().yk(this,xIe(this),t-Hw((dB(),E9)),e,n)},Q.Th=function(e){switch(e){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Nj(this,0)),!Iy(YE(this.a,(dB(),D9)));case 4:return!this.a&&(this.a=new Nj(this,0)),!Iy(YE(this.a,(dB(),O9)));case 5:return!this.a&&(this.a=new Nj(this,0)),!Iy(YE(this.a,(dB(),k9)));case 6:return!this.a&&(this.a=new Nj(this,0)),!Iy(YE(this.a,(dB(),A9)))}return BD(this,e-Hw((dB(),E9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():E9,e))},Q.$h=function(e,t){switch(e){case 0:!this.a&&(this.a=new Nj(this,0)),Aw(this.a,t);return;case 1:!this.b&&(this.b=new ik((VB(),o9),d9,this,1)),jj(this.b,t);return;case 2:!this.c&&(this.c=new ik((VB(),o9),d9,this,2)),jj(this.c,t);return;case 3:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),D9))),!this.a&&(this.a=new Nj(this,0)),Yb(YE(this.a,D9),P(t,18));return;case 4:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),O9))),!this.a&&(this.a=new Nj(this,0)),Yb(YE(this.a,O9),P(t,18));return;case 5:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),k9))),!this.a&&(this.a=new Nj(this,0)),Yb(YE(this.a,k9),P(t,18));return;case 6:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),A9))),!this.a&&(this.a=new Nj(this,0)),Yb(YE(this.a,A9),P(t,18));return}vP(this,e-Hw((dB(),E9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():E9,e),t)},Q.fi=function(){return dB(),E9},Q.hi=function(e){switch(e){case 0:!this.a&&(this.a=new Nj(this,0)),oB(this.a);return;case 1:!this.b&&(this.b=new ik((VB(),o9),d9,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new ik((VB(),o9),d9,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),D9)));return;case 4:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),O9)));return;case 5:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),k9)));return;case 6:!this.a&&(this.a=new Nj(this,0)),Eh(YE(this.a,(dB(),A9)));return}AN(this,e-Hw((dB(),E9)),eA(this.j&2?(!this.k&&(this.k=new wf),this.k).Lk():E9,e))},Q.Ib=function(){var e;return this.j&4?DR(this):(e=new gx(DR(this)),e.a+=` (mixed: `,Jy(e,this.a),e.a+=`)`,e.a)},L(BJ,`XMLTypeDocumentRootImpl`,673),q(1990,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2084:1},Eu),Q.oi=function(e,t){switch(e.fk()){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:EP(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return tS(t);case 6:return tge(P(t,195));case 12:case 47:case 49:case 11:return _st(this,e,t);case 13:return t==null?null:gat(P(t,247));case 15:case 14:return t==null?null:GCe(O(N(t)));case 17:return RQe((dB(),t));case 18:return RQe(t);case 21:case 20:return t==null?null:KCe(P(t,164).a);case 27:return ege(P(t,195));case 30:return UYe((dB(),P(t,16)));case 31:return UYe(P(t,16));case 40:return $he((dB(),t));case 42:return zQe((dB(),t));case 43:return zQe(t);case 59:case 48:return Qhe((dB(),t));default:throw D(new sg(dq+e.ve()+fq))}},Q.pi=function(e){var t,n,r,i,a;switch(e.G==-1&&(e.G=(n=lA(e),n?GF(n.si(),e):-1)),e.G){case 0:return t=new rae,t;case 1:return r=new Iu,r;case 2:return i=new iae,i;case 3:return a=new aae,a;default:throw D(new sg(hq+e.zb+fq))}},Q.qi=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;switch(e.fk()){case 5:case 52:case 4:return t;case 6:return dJe(t);case 8:case 7:return t==null?null:QQe(t);case 9:return t==null?null:jk(Ez((r=$z(t,!0),r.length>0&&(sD(0,r.length),r.charCodeAt(0)==43)?(sD(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:jk(Ez((i=$z(t,!0),i.length>0&&(sD(0,i.length),i.charCodeAt(0)==43)?(sD(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 11:return tS(AB(this,(dB(),pVt),t));case 12:return tS(AB(this,(dB(),mVt),t));case 13:return t==null?null:new sse($z(t,!0));case 15:case 14:return K8e(t);case 16:return tS(AB(this,(dB(),hVt),t));case 17:return XKe((dB(),t));case 18:return XKe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return $z(t,!0);case 21:case 20:return o5e(t);case 22:return tS(AB(this,(dB(),gVt),t));case 23:return tS(AB(this,(dB(),_Vt),t));case 24:return tS(AB(this,(dB(),vVt),t));case 25:return tS(AB(this,(dB(),yVt),t));case 26:return tS(AB(this,(dB(),bVt),t));case 27:return Zqe(t);case 30:return ZKe((dB(),t));case 31:return ZKe(t);case 32:return t==null?null:G(Ez((u=$z(t,!0),u.length>0&&(sD(0,u.length),u.charCodeAt(0)==43)?(sD(1,u.length+1),u.substr(1)):u),LV,JB));case 33:return t==null?null:new Ab((d=$z(t,!0),d.length>0&&(sD(0,d.length),d.charCodeAt(0)==43)?(sD(1,d.length+1),d.substr(1)):d));case 34:return t==null?null:G(Ez((f=$z(t,!0),f.length>0&&(sD(0,f.length),f.charCodeAt(0)==43)?(sD(1,f.length+1),f.substr(1)):f),LV,JB));case 36:return t==null?null:uF(EB((p=$z(t,!0),p.length>0&&(sD(0,p.length),p.charCodeAt(0)==43)?(sD(1,p.length+1),p.substr(1)):p)));case 37:return t==null?null:uF(EB((m=$z(t,!0),m.length>0&&(sD(0,m.length),m.charCodeAt(0)==43)?(sD(1,m.length+1),m.substr(1)):m)));case 40:return OYe((dB(),t));case 42:return QKe((dB(),t));case 43:return QKe(t);case 44:return t==null?null:new Ab((h=$z(t,!0),h.length>0&&(sD(0,h.length),h.charCodeAt(0)==43)?(sD(1,h.length+1),h.substr(1)):h));case 45:return t==null?null:new Ab((g=$z(t,!0),g.length>0&&(sD(0,g.length),g.charCodeAt(0)==43)?(sD(1,g.length+1),g.substr(1)):g));case 46:return $z(t,!1);case 47:return tS(AB(this,(dB(),xVt),t));case 59:case 48:return DYe((dB(),t));case 49:return tS(AB(this,(dB(),SVt),t));case 50:return t==null?null:SN(Ez((_=$z(t,!0),_.length>0&&(sD(0,_.length),_.charCodeAt(0)==43)?(sD(1,_.length+1),_.substr(1)):_),SJ,32767)<<16>>16);case 51:return t==null?null:SN(Ez((a=$z(t,!0),a.length>0&&(sD(0,a.length),a.charCodeAt(0)==43)?(sD(1,a.length+1),a.substr(1)):a),SJ,32767)<<16>>16);case 53:return tS(AB(this,(dB(),CVt),t));case 55:return t==null?null:SN(Ez((o=$z(t,!0),o.length>0&&(sD(0,o.length),o.charCodeAt(0)==43)?(sD(1,o.length+1),o.substr(1)):o),SJ,32767)<<16>>16);case 56:return t==null?null:SN(Ez((s=$z(t,!0),s.length>0&&(sD(0,s.length),s.charCodeAt(0)==43)?(sD(1,s.length+1),s.substr(1)):s),SJ,32767)<<16>>16);case 57:return t==null?null:uF(EB((c=$z(t,!0),c.length>0&&(sD(0,c.length),c.charCodeAt(0)==43)?(sD(1,c.length+1),c.substr(1)):c)));case 58:return t==null?null:uF(EB((l=$z(t,!0),l.length>0&&(sD(0,l.length),l.charCodeAt(0)==43)?(sD(1,l.length+1),l.substr(1)):l)));case 60:return t==null?null:G(Ez((n=$z(t,!0),n.length>0&&(sD(0,n.length),n.charCodeAt(0)==43)?(sD(1,n.length+1),n.substr(1)):n),LV,JB));case 61:return t==null?null:G(Ez($z(t,!0),LV,JB));default:throw D(new sg(dq+e.ve()+fq))}};var TVt,EVt,DVt,OVt;L(BJ,`XMLTypeFactoryImpl`,1990),q(582,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2006:1,582:1},fTe),Q.N=!1,Q.O=!1;var kVt=!1;L(BJ,`XMLTypePackageImpl`,582),q(1923,1,{835:1},Du),Q.Ik=function(){return drt(),YVt},L(BJ,`XMLTypePackageImpl/1`,1923),q(1932,1,EJ,Ou),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/10`,1932),q(1933,1,EJ,ku),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/11`,1933),q(1934,1,EJ,Au),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/12`,1934),q(1935,1,EJ,ju),Q.dk=function(e){return Hy(e)},Q.ek=function(e){return V(pY,X,346,e,7,1)},L(BJ,`XMLTypePackageImpl/13`,1935),q(1936,1,EJ,Mu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/14`,1936),q(1937,1,EJ,Nu),Q.dk=function(e){return M(e,16)},Q.ek=function(e){return V(eY,aU,16,e,0,1)},L(BJ,`XMLTypePackageImpl/15`,1937),q(1938,1,EJ,Pu),Q.dk=function(e){return M(e,16)},Q.ek=function(e){return V(eY,aU,16,e,0,1)},L(BJ,`XMLTypePackageImpl/16`,1938),q(1939,1,EJ,Fu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/17`,1939),q(1940,1,EJ,Lu),Q.dk=function(e){return M(e,164)},Q.ek=function(e){return V(mY,X,164,e,0,1)},L(BJ,`XMLTypePackageImpl/18`,1940),q(1941,1,EJ,Ru),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/19`,1941),q(1924,1,EJ,zu),Q.dk=function(e){return M(e,841)},Q.ek=function(e){return V(v9,$B,841,e,0,1)},L(BJ,`XMLTypePackageImpl/2`,1924),q(1942,1,EJ,Bu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/20`,1942),q(1943,1,EJ,Vu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/21`,1943),q(1944,1,EJ,Hu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/22`,1944),q(1945,1,EJ,Uu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/23`,1945),q(1946,1,EJ,Wu),Q.dk=function(e){return M(e,195)},Q.ek=function(e){return V(X9,X,195,e,0,2)},L(BJ,`XMLTypePackageImpl/24`,1946),q(1947,1,EJ,Gu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/25`,1947),q(1948,1,EJ,Ku),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/26`,1948),q(1949,1,EJ,qu),Q.dk=function(e){return M(e,16)},Q.ek=function(e){return V(eY,aU,16,e,0,1)},L(BJ,`XMLTypePackageImpl/27`,1949),q(1950,1,EJ,Ju),Q.dk=function(e){return M(e,16)},Q.ek=function(e){return V(eY,aU,16,e,0,1)},L(BJ,`XMLTypePackageImpl/28`,1950),q(1951,1,EJ,Yu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/29`,1951),q(1925,1,EJ,Xu),Q.dk=function(e){return M(e,671)},Q.ek=function(e){return V(y9,$B,2081,e,0,1)},L(BJ,`XMLTypePackageImpl/3`,1925),q(1952,1,EJ,Zu),Q.dk=function(e){return M(e,15)},Q.ek=function(e){return V(hY,X,15,e,0,1)},L(BJ,`XMLTypePackageImpl/30`,1952),q(1953,1,EJ,Qu),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/31`,1953),q(1954,1,EJ,$u),Q.dk=function(e){return M(e,190)},Q.ek=function(e){return V(gY,X,190,e,0,1)},L(BJ,`XMLTypePackageImpl/32`,1954),q(1955,1,EJ,ed),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/33`,1955),q(1956,1,EJ,td),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/34`,1956),q(1957,1,EJ,nd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/35`,1957),q(1958,1,EJ,rd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/36`,1958),q(1959,1,EJ,id),Q.dk=function(e){return M(e,16)},Q.ek=function(e){return V(eY,aU,16,e,0,1)},L(BJ,`XMLTypePackageImpl/37`,1959),q(1960,1,EJ,ad),Q.dk=function(e){return M(e,16)},Q.ek=function(e){return V(eY,aU,16,e,0,1)},L(BJ,`XMLTypePackageImpl/38`,1960),q(1961,1,EJ,od),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/39`,1961),q(1926,1,EJ,sd),Q.dk=function(e){return M(e,672)},Q.ek=function(e){return V(b9,$B,2082,e,0,1)},L(BJ,`XMLTypePackageImpl/4`,1926),q(1962,1,EJ,cd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/40`,1962),q(1963,1,EJ,ld),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/41`,1963),q(1964,1,EJ,ud),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/42`,1964),q(1965,1,EJ,dd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/43`,1965),q(1966,1,EJ,fd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/44`,1966),q(1967,1,EJ,pd),Q.dk=function(e){return M(e,191)},Q.ek=function(e){return V(_Y,X,191,e,0,1)},L(BJ,`XMLTypePackageImpl/45`,1967),q(1968,1,EJ,md),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/46`,1968),q(1969,1,EJ,hd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/47`,1969),q(1970,1,EJ,gd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/48`,1970),q(1971,1,EJ,_d),Q.dk=function(e){return M(e,191)},Q.ek=function(e){return V(_Y,X,191,e,0,1)},L(BJ,`XMLTypePackageImpl/49`,1971),q(1927,1,EJ,vd),Q.dk=function(e){return M(e,673)},Q.ek=function(e){return V(cVt,$B,2083,e,0,1)},L(BJ,`XMLTypePackageImpl/5`,1927),q(1972,1,EJ,yd),Q.dk=function(e){return M(e,190)},Q.ek=function(e){return V(gY,X,190,e,0,1)},L(BJ,`XMLTypePackageImpl/50`,1972),q(1973,1,EJ,bd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/51`,1973),q(1974,1,EJ,xd),Q.dk=function(e){return M(e,15)},Q.ek=function(e){return V(hY,X,15,e,0,1)},L(BJ,`XMLTypePackageImpl/52`,1974),q(1928,1,EJ,Sd),Q.dk=function(e){return Uy(e)},Q.ek=function(e){return V(vY,X,2,e,6,1)},L(BJ,`XMLTypePackageImpl/6`,1928),q(1929,1,EJ,Cd),Q.dk=function(e){return M(e,195)},Q.ek=function(e){return V(X9,X,195,e,0,2)},L(BJ,`XMLTypePackageImpl/7`,1929),q(1930,1,EJ,wd),Q.dk=function(e){return Vy(e)},Q.ek=function(e){return V(uY,X,473,e,8,1)},L(BJ,`XMLTypePackageImpl/8`,1930),q(1931,1,EJ,Td),Q.dk=function(e){return M(e,221)},Q.ek=function(e){return V(dY,X,221,e,0,1)},L(BJ,`XMLTypePackageImpl/9`,1931);var j9,M9,N9,P9,$;q(53,63,RV,xg),L(GJ,`RegEx/ParseException`,53),q(820,1,{},Ed),Q._l=function(e){return e<this.j&&wT(this.i,e)==63},Q.am=function(){var e,t,n,r,i;if(this.c!=10)throw D(new xg(UB((Fb(),Hq))));switch(e=this.a,e){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(NB(this),this.c!=0)throw D(new xg(UB((Fb(),Jq))));if(this.a==123){i=0,n=0;do{if(NB(this),this.c!=0)throw D(new xg(UB((Fb(),Jq))));if((i=oI(this.a))<0)break;if(n>n*16)throw D(new xg(UB((Fb(),H_t))));n=n*16+i}while(!0);if(this.a!=125)throw D(new xg(UB((Fb(),U_t))));if(n>KJ)throw D(new xg(UB((Fb(),W_t))));e=n}else{if(i=0,this.c!=0||(i=oI(this.a))<0||(n=i,NB(this),this.c!=0||(i=oI(this.a))<0))throw D(new xg(UB((Fb(),Jq))));n=n*16+i,e=n}break;case 117:if(r=0,NB(this),this.c!=0||(r=oI(this.a))<0||(t=r,NB(this),this.c!=0||(r=oI(this.a))<0)||(t=t*16+r,NB(this),this.c!=0||(r=oI(this.a))<0)||(t=t*16+r,NB(this),this.c!=0||(r=oI(this.a))<0))throw D(new xg(UB((Fb(),Jq))));t=t*16+r,e=t;break;case 118:if(NB(this),this.c!=0||(r=oI(this.a))<0||(t=r,NB(this),this.c!=0||(r=oI(this.a))<0)||(t=t*16+r,NB(this),this.c!=0||(r=oI(this.a))<0)||(t=t*16+r,NB(this),this.c!=0||(r=oI(this.a))<0)||(t=t*16+r,NB(this),this.c!=0||(r=oI(this.a))<0)||(t=t*16+r,NB(this),this.c!=0||(r=oI(this.a))<0))throw D(new xg(UB((Fb(),Jq))));if(t=t*16+r,t>KJ)throw D(new xg(UB((Fb(),`parser.descappe.4`))));e=t;break;case 65:case 90:case 122:throw D(new xg(UB((Fb(),G_t))))}return e},Q.bm=function(e){var t,n;switch(e){case 100:n=(this.e&32)==32?DB(`Nd`,!0):(zB(),B9);break;case 68:n=(this.e&32)==32?DB(`Nd`,!1):(zB(),RVt);break;case 119:n=(this.e&32)==32?DB(`IsWord`,!0):(zB(),U9);break;case 87:n=(this.e&32)==32?DB(`IsWord`,!1):(zB(),BVt);break;case 115:n=(this.e&32)==32?DB(`IsSpace`,!0):(zB(),H9);break;case 83:n=(this.e&32)==32?DB(`IsSpace`,!1):(zB(),zVt);break;default:throw D(new Jh((t=e,uyt+t.toString(16))))}return n},Q.cm=function(e){var t,n,r,i,a,o,s,c,l,u,d,f;for(this.b=1,NB(this),t=null,this.c==0&&this.a==94?(NB(this),e?u=(zB(),zB(),++W9,new lD(5)):(t=(zB(),zB(),++W9,new lD(4)),rz(t,0,KJ),u=(++W9,new lD(4)))):u=(zB(),zB(),++W9,new lD(4)),i=!0;(f=this.c)!=1&&!(f==0&&this.a==93&&!i);){if(i=!1,n=this.a,r=!1,f==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:eB(u,this.bm(n)),r=!0;break;case 105:case 73:case 99:case 67:n=this.sm(u,n),n<0&&(r=!0);break;case 112:case 80:if(d=q4e(this,n),!d)throw D(new xg(UB((Fb(),Gq))));eB(u,d),r=!0;break;default:n=this.am()}else if(f==20){if(o=Lx(this.i,58,this.d),o<0)throw D(new xg(UB((Fb(),P_t))));if(s=!0,wT(this.i,this.d)==94&&(++this.d,s=!1),a=dE(this.i,this.d,o),c=uFe(a,s,(this.e&512)==512),!c)throw D(new xg(UB((Fb(),F_t))));if(eB(u,c),r=!0,o+1>=this.j||wT(this.i,o+1)!=93)throw D(new xg(UB((Fb(),P_t))));this.d=o+2}if(NB(this),!r)if(this.c!=0||this.a!=45)rz(u,n,n);else{if(NB(this),(f=this.c)==1)throw D(new xg(UB((Fb(),Kq))));f==0&&this.a==93?(rz(u,n,n),rz(u,45,45)):(l=this.a,f==10&&(l=this.am()),NB(this),rz(u,n,l))}(this.e&$q)==$q&&this.c==0&&this.a==44&&NB(this)}if(this.c==1)throw D(new xg(UB((Fb(),Kq))));return t&&(mB(t,u),u=t),ER(u),iB(u),this.b=0,NB(this),u},Q.dm=function(){for(var e,t,n=this.cm(!1),r;(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(NB(this),this.c!=9)throw D(new xg(UB((Fb(),z_t))));if(t=this.cm(!1),r==4)eB(n,t);else if(e==45)mB(n,t);else if(e==38)ist(n,t);else throw D(new Jh(`ASSERT`))}else throw D(new xg(UB((Fb(),B_t))));return NB(this),n},Q.em=function(){var e=this.a-48,t=(zB(),zB(),++W9,new hE(12,null,e));return!this.g&&(this.g=new Oh),wh(this.g,new Rre(e)),NB(this),t},Q.fm=function(){return NB(this),zB(),HVt},Q.gm=function(){return NB(this),zB(),VVt},Q.hm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.im=function(){throw D(new xg(UB((Fb(),Yq))))},Q.jm=function(){return NB(this),wHe()},Q.km=function(){return NB(this),zB(),WVt},Q.lm=function(){return NB(this),zB(),KVt},Q.mm=function(){var e;if(this.d>=this.j||((e=wT(this.i,this.d++))&65504)!=64)throw D(new xg(UB((Fb(),A_t))));return NB(this),zB(),zB(),++W9,new NC(0,e-64)},Q.nm=function(){return NB(this),Irt()},Q.om=function(){return NB(this),zB(),qVt},Q.pm=function(){var e=(zB(),zB(),++W9,new NC(0,105));return NB(this),e},Q.qm=function(){return NB(this),zB(),GVt},Q.rm=function(){return NB(this),zB(),UVt},Q.sm=function(e,t){return this.am()},Q.tm=function(){return NB(this),zB(),IVt},Q.um=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw D(new xg(UB((Fb(),D_t))));if(r=-1,t=null,e=wT(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new Oh),wh(this.g,new Rre(r)),++this.d,wT(this.i,this.d)!=41)throw D(new xg(UB((Fb(),Wq))));++this.d}else switch(e==63&&--this.d,NB(this),t=Zlt(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw D(new xg(UB((Fb(),Wq))));break;default:throw D(new xg(UB((Fb(),O_t))))}if(NB(this),i=rF(this),n=null,i.e==2){if(i.Nm()!=2)throw D(new xg(UB((Fb(),k_t))));n=i.Jm(1),i=i.Jm(0)}if(this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),zB(),zB(),++W9,new KIe(r,t,i,n)},Q.vm=function(){return NB(this),zB(),LVt},Q.wm=function(){var e;if(NB(this),e=vw(24,rF(this)),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.xm=function(){var e;if(NB(this),e=vw(20,rF(this)),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.ym=function(){var e;if(NB(this),e=vw(22,rF(this)),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.zm=function(){var e=0,t,n=0,r,i;for(t=-1;this.d<this.j&&(t=wT(this.i,this.d),i=W3e(t),i!=0);)e|=i,++this.d;if(this.d>=this.j)throw D(new xg(UB((Fb(),T_t))));if(t==45){for(++this.d;this.d<this.j&&(t=wT(this.i,this.d),i=W3e(t),i!=0);)n|=i,++this.d;if(this.d>=this.j)throw D(new xg(UB((Fb(),T_t))))}if(t==58){if(++this.d,NB(this),r=Cwe(rF(this),e,n),this.c!=7)throw D(new xg(UB((Fb(),Wq))));NB(this)}else if(t==41)++this.d,NB(this),r=Cwe(rF(this),e,n);else throw D(new xg(UB((Fb(),E_t))));return r},Q.Am=function(){var e;if(NB(this),e=vw(21,rF(this)),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.Bm=function(){var e;if(NB(this),e=vw(23,rF(this)),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.Cm=function(){var e,t;if(NB(this),e=this.f++,t=yw(rF(this),e),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),t},Q.Dm=function(){var e;if(NB(this),e=yw(rF(this),0),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.Em=function(e){return NB(this),this.c==5?(NB(this),LC(e,(zB(),zB(),++W9,new ZD(9,e)))):LC(e,(zB(),zB(),++W9,new ZD(3,e)))},Q.Fm=function(e){var t;return NB(this),t=(zB(),zB(),++W9,new Rb(2)),this.c==5?(NB(this),aB(t,V9),aB(t,e)):(aB(t,e),aB(t,V9)),t},Q.Gm=function(e){return NB(this),this.c==5?(NB(this),zB(),zB(),++W9,new ZD(9,e)):(zB(),zB(),++W9,new ZD(3,e))},Q.a=0,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=1,Q.g=null,Q.j=0,L(GJ,`RegEx/RegexParser`,820),q(1910,820,{},oae),Q._l=function(e){return!1},Q.am=function(){return X9e(this)},Q.bm=function(e){return Dz(e)},Q.cm=function(e){return gut(this)},Q.dm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.em=function(){throw D(new xg(UB((Fb(),Yq))))},Q.fm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.gm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.hm=function(){return NB(this),Dz(67)},Q.im=function(){return NB(this),Dz(73)},Q.jm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.km=function(){throw D(new xg(UB((Fb(),Yq))))},Q.lm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.mm=function(){return NB(this),Dz(99)},Q.nm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.om=function(){throw D(new xg(UB((Fb(),Yq))))},Q.pm=function(){return NB(this),Dz(105)},Q.qm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.rm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.sm=function(e,t){return eB(e,Dz(t)),-1},Q.tm=function(){return NB(this),zB(),zB(),++W9,new NC(0,94)},Q.um=function(){throw D(new xg(UB((Fb(),Yq))))},Q.vm=function(){return NB(this),zB(),zB(),++W9,new NC(0,36)},Q.wm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.xm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.ym=function(){throw D(new xg(UB((Fb(),Yq))))},Q.zm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.Am=function(){throw D(new xg(UB((Fb(),Yq))))},Q.Bm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.Cm=function(){var e;if(NB(this),e=yw(rF(this),0),this.c!=7)throw D(new xg(UB((Fb(),Wq))));return NB(this),e},Q.Dm=function(){throw D(new xg(UB((Fb(),Yq))))},Q.Em=function(e){return NB(this),LC(e,(zB(),zB(),++W9,new ZD(3,e)))},Q.Fm=function(e){var t;return NB(this),t=(zB(),zB(),++W9,new Rb(2)),aB(t,e),aB(t,V9),t},Q.Gm=function(e){return NB(this),zB(),zB(),++W9,new ZD(3,e)};var F9=null,I9=null;L(GJ,`RegEx/ParserForXMLSchema`,1910),q(121,1,JJ,rh),Q.Hm=function(e){throw D(new Jh(`Not supported.`))},Q.Im=function(){return-1},Q.Jm=function(e){return null},Q.Km=function(){return null},Q.Lm=function(e){},Q.Mm=function(e){},Q.Nm=function(){return 0},Q.Ib=function(){return this.Om(0)},Q.Om=function(e){return this.e==11?`.`:``},Q.e=0;var AVt,L9,R9,jVt,MVt,z9=null,B9,NVt=null,PVt,V9,FVt=null,IVt,LVt,RVt,zVt,BVt,VVt,H9,HVt,UVt,WVt,GVt,U9,KVt,qVt,W9=0,JVt=L(GJ,`RegEx/Token`,121);q(137,121,{3:1,137:1,121:1},lD),Q.Om=function(e){var t,n,r;if(this.e==4)if(this==PVt)n=`.`;else if(this==B9)n=`\\d`;else if(this==U9)n=`\\w`;else if(this==H9)n=`\\s`;else{for(r=new Eg,r.a+=`[`,t=0;t<this.b.length;t+=2)(e&$q)!=0&&t>0&&(r.a+=`,`),this.b[t]===this.b[t+1]?Yy(r,Vz(this.b[t])):(Yy(r,Vz(this.b[t])),r.a+=`-`,Yy(r,Vz(this.b[t+1])));r.a+=`]`,n=r.a}else if(this==RVt)n=`\\D`;else if(this==BVt)n=`\\W`;else if(this==zVt)n=`\\S`;else{for(r=new Eg,r.a+=`[^`,t=0;t<this.b.length;t+=2)(e&$q)!=0&&t>0&&(r.a+=`,`),this.b[t]===this.b[t+1]?Yy(r,Vz(this.b[t])):(Yy(r,Vz(this.b[t])),r.a+=`-`,Yy(r,Vz(this.b[t+1])));r.a+=`]`,n=r.a}return n},Q.a=!1,Q.c=!1,L(GJ,`RegEx/RangeToken`,137),q(580,1,{580:1},Rre),Q.a=0,L(GJ,`RegEx/RegexParser/ReferencePosition`,580),q(579,1,{3:1,579:1},pce),Q.Fb=function(e){var t;return e==null||!M(e,579)?!1:(t=P(e,579),CS(this.b,t.b)&&this.a==t.a)},Q.Hb=function(){return HM(this.b+`/`+v7e(this.a))},Q.Ib=function(){return this.c.Om(this.a)},Q.a=0,L(GJ,`RegEx/RegularExpression`,579),q(228,121,JJ,NC),Q.Im=function(){return this.a},Q.Om=function(e){var t,n,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=`\\`+Hge(this.a&VV);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>=_H?(n=(t=this.a>>>0,`0`+t.toString(16)),r=`\\v`+dE(n,n.length-6,n.length)):r=``+Hge(this.a&VV)}break;case 8:r=this==IVt||this==LVt?``+Hge(this.a&VV):`\\`+Hge(this.a&VV);break;default:r=null}return r},Q.a=0,L(GJ,`RegEx/Token/CharToken`,228),q(322,121,JJ,ZD),Q.Jm=function(e){return this.a},Q.Lm=function(e){this.b=e},Q.Mm=function(e){this.c=e},Q.Nm=function(){return 1},Q.Om=function(e){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(e)+`*`;else if(this.c==this.b)t=this.a.Om(e)+`{`+this.c+`}`;else if(this.c>=0&&this.b>=0)t=this.a.Om(e)+`{`+this.c+`,`+this.b+`}`;else if(this.c>=0&&this.b<0)t=this.a.Om(e)+`{`+this.c+`,}`;else throw D(new Jh(`Token#toString(): CLOSURE `+this.c+QB+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(e)+`*?`;else if(this.c==this.b)t=this.a.Om(e)+`{`+this.c+`}?`;else if(this.c>=0&&this.b>=0)t=this.a.Om(e)+`{`+this.c+`,`+this.b+`}?`;else if(this.c>=0&&this.b<0)t=this.a.Om(e)+`{`+this.c+`,}?`;else throw D(new Jh(`Token#toString(): NONGREEDYCLOSURE `+this.c+QB+this.b));return t},Q.b=0,Q.c=0,L(GJ,`RegEx/Token/ClosureToken`,322),q(821,121,JJ,UCe),Q.Jm=function(e){return e==0?this.a:this.b},Q.Nm=function(){return 2},Q.Om=function(e){return this.b.e==3&&this.b.Jm(0)==this.a?this.a.Om(e)+`+`:this.b.e==9&&this.b.Jm(0)==this.a?this.a.Om(e)+`+?`:this.a.Om(e)+(``+this.b.Om(e))},L(GJ,`RegEx/Token/ConcatToken`,821),q(1908,121,JJ,KIe),Q.Jm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw D(new Jh(`Internal Error: `+e))},Q.Nm=function(){return this.b?2:1},Q.Om=function(e){var t=this.c>0?`(?(`+this.c+`)`:this.a.e==8?`(?(`+this.a+`)`:`(?`+this.a;return this.b?t+=this.d+`|`+this.b+`)`:t+=this.d+`)`,t},Q.c=0,L(GJ,`RegEx/Token/ConditionToken`,1908),q(1909,121,JJ,Mke),Q.Jm=function(e){return this.b},Q.Nm=function(){return 1},Q.Om=function(e){return`(?`+(this.a==0?``:v7e(this.a))+(this.c==0?``:v7e(this.c))+`:`+this.b.Om(e)+`)`},Q.a=0,Q.c=0,L(GJ,`RegEx/Token/ModifierToken`,1909),q(822,121,JJ,Lwe),Q.Jm=function(e){return this.a},Q.Nm=function(){return 1},Q.Om=function(e){var t=null;switch(this.e){case 6:t=this.b==0?`(?:`+this.a.Om(e)+`)`:`(`+this.a.Om(e)+`)`;break;case 20:t=`(?=`+this.a.Om(e)+`)`;break;case 21:t=`(?!`+this.a.Om(e)+`)`;break;case 22:t=`(?<=`+this.a.Om(e)+`)`;break;case 23:t=`(?<!`+this.a.Om(e)+`)`;break;case 24:t=`(?>`+this.a.Om(e)+`)`}return t},Q.b=0,L(GJ,`RegEx/Token/ParenToken`,822),q(517,121,{3:1,121:1,517:1},hE),Q.Km=function(){return this.b},Q.Om=function(e){return this.e==12?`\\`+this.a:C8e(this.b)},Q.a=0,L(GJ,`RegEx/Token/StringToken`,517),q(466,121,JJ,Rb),Q.Hm=function(e){aB(this,e)},Q.Jm=function(e){return P(sT(this.a,e),121)},Q.Nm=function(){return this.a?this.a.a.c.length:0},Q.Om=function(e){var t,n,r,i,a;if(this.e==1){if(this.a.a.c.length==2)t=P(sT(this.a,0),121),n=P(sT(this.a,1),121),i=n.e==3&&n.Jm(0)==t?t.Om(e)+`+`:n.e==9&&n.Jm(0)==t?t.Om(e)+`+?`:t.Om(e)+(``+n.Om(e));else{for(a=new Eg,r=0;r<this.a.a.c.length;r++)Yy(a,P(sT(this.a,r),121).Om(e));i=a.a}return i}if(this.a.a.c.length==2&&P(sT(this.a,1),121).e==7)i=P(sT(this.a,0),121).Om(e)+`?`;else if(this.a.a.c.length==2&&P(sT(this.a,0),121).e==7)i=P(sT(this.a,1),121).Om(e)+`??`;else{for(a=new Eg,Yy(a,P(sT(this.a,0),121).Om(e)),r=1;r<this.a.a.c.length;r++)a.a+=`|`,Yy(a,P(sT(this.a,r),121).Om(e));i=a.a}return i},L(GJ,`RegEx/Token/UnionToken`,466),q(514,1,{589:1},f_),Q.Ib=function(){return this.a.b},L(xyt,`XMLTypeUtil/PatternMatcherImpl`,514),q(1673,1488,{},Dd);var YVt;L(xyt,`XMLTypeValidator`,1673),q(270,1,bV,YC),Q.Ic=function(e){dO(this,e)},Q.Jc=function(){return(this.b-this.a)*this.c<0?G9:new cx(this)},Q.a=0,Q.b=0,Q.c=0;var G9;L(Syt,`ExclusiveRange`,270),q(1054,1,dV,Od),Q.Rb=function(e){P(e,15),Yfe()},Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return Bse()},Q.Ub=function(){return Vse()},Q.Wb=function(e){P(e,15),Zfe()},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Tb=function(){return-1},Q.Vb=function(){return-1},Q.Qb=function(){throw D(new ug(Tyt))},L(Syt,`ExclusiveRange/1`,1054),q(259,1,dV,cx),Q.Rb=function(e){P(e,15),Xfe()},Q.Nb=function(e){_w(this,e)},Q.Pb=function(){return AUe(this)},Q.Ub=function(){return TFe(this)},Q.Wb=function(e){P(e,15),Qfe()},Q.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Vb=function(){return this.b-1},Q.Qb=function(){throw D(new ug(Tyt))},Q.a=0,Q.b=0,L(Syt,`ExclusiveRange/RangeIterator`,259);var K9=mT(iJ,`C`),q9=mT(sJ,`I`),J9=mT(GB,`Z`),Y9=mT(cJ,`J`),X9=mT(rJ,`B`),Z9=mT(aJ,`D`),Q9=mT(oJ,`F`),$9=mT(lJ,`S`),XVt=yC(`org.eclipse.elk.core.labels`,`ILabelManager`),ZVt=yC(Dq,`DiagnosticChain`),QVt=yC(Nvt,`ResourceSet`),$Vt=L(Dq,`InvocationTargetException`,null),eHt=(Tg(),GMe),tHt=tHt=wQe;ERe(rie),Ize(`permProps`,[[[`locale`,`default`],[Eyt,`gecko1_8`]],[[`locale`,`default`],[Eyt,`safari`]]]),tHt(null,`elk`,null)}).call(this)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],3:[function(e,t,n){function r(e){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function o(e){var t=s(e,`string`);return r(t)==`symbol`?t:t+``}function s(e,t){if(r(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||`default`);if(r(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function c(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function l(e,t,n){return t=p(t),u(e,f()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function u(e,t){if(t&&(r(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return d(e)}function d(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(f=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function m(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var g=function(t){function n(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};c(this,n);var r=Object.assign({},t),i=!1;try{e.resolve(`web-worker`),i=!0}catch{}if(t.workerUrl)if(i){var a=e(`web-worker`);r.workerFactory=function(e){return new a(e)}}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(!r.workerFactory){var o=e(`./elk-worker.min.js`).Worker;r.workerFactory=function(e){return new o(e)}}return l(this,n,[r])}return m(n,t),a(n)}(e(`./elk-api.js`).default);Object.defineProperty(t.exports,`__esModule`,{value:!0}),t.exports=g,g.default=g},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){t.exports=typeof Worker<`u`?Worker:void 0},{}]},{},[3])(3)})}))(),1),nu={callgraph:{primaryChars:28,secondaryChars:30,maxPrimaryLines:2,maxSecondaryLines:1,maxSublabelLines:1},cfg:{primaryChars:30,secondaryChars:34,maxPrimaryLines:3,maxSecondaryLines:2,maxSublabelLines:1}};function ru(e){return e.replace(/\s+/g,` `).trim()}function iu(e,t){let n=e.slice(0,t+1),r=Math.max(n.lastIndexOf(` `),n.lastIndexOf(`.`),n.lastIndexOf(`:`),n.lastIndexOf(`/`),n.lastIndexOf(`_`),n.lastIndexOf(`(`),n.lastIndexOf(`)`),n.lastIndexOf(`,`));return r>=Math.floor(t*.55)?r+1:t}function au(e,t){if(!e)return[];let n=ru(e);if(!n)return[];let r=[],i=n;for(;i.length>t;){let e=iu(i,t);r.push(i.slice(0,e).trim()),i=i.slice(e).trim()}return i&&r.push(i),r}function ou(e,t){if(e.length<=t)return e;let n=e.slice(0,t),r=n[t-1];return r&&(n[t-1]=r.endsWith(`…`)?r:`${r.slice(0,-1)}…`),n}function su(e,t){let n=nu[t],r=ou(au(e.label,n.primaryChars),n.maxPrimaryLines),i=ou(au(e.detail,n.secondaryChars),n.maxSecondaryLines),a=ou(au(e.sublabel,n.secondaryChars),n.maxSublabelLines),o=r.concat(i,a);return{labelLines:r,detailLines:i,sublabelLines:a,lineCount:o.length,maxChars:Math.max(...o.map(e=>e.length),8)}}var cu=new tu.default,lu=7.1,uu=16,du=30,fu=18,pu=112,mu=16,hu=360,gu={callgraph:{direction:`DOWN`,nodeSpacing:42,layerSpacing:148,edgeNodeSpacing:24,padding:36,edgeRouting:`POLYLINE`},cfg:{direction:`DOWN`,nodeSpacing:36,layerSpacing:128,edgeNodeSpacing:24,padding:32,edgeRouting:`ORTHOGONAL`}};function _u(e,t){let n=su(e,t);return{width:Math.max(pu,Math.min(hu,n.maxChars*lu+du)),height:Math.max(1,n.lineCount)*uu+fu+(e.badges?.length?mu:0),text:n}}function vu(e,t,n){let r=Math.max(6,Math.min(18,Math.sqrt(t*n)/8));return e.kind===`Entry`||e.kind===`Exit`?r+1.5:e.kind===`If`||e.kind===`Loop`?r+.75:r}function yu(e,t){let n={...gu[e.kind],...t};return{"elk.algorithm":`layered`,"elk.direction":n.direction,"elk.spacing.nodeNode":String(n.nodeSpacing),"elk.layered.spacing.nodeNodeBetweenLayers":String(n.layerSpacing),"elk.spacing.edgeNode":String(n.edgeNodeSpacing),"elk.edgeRouting":n.edgeRouting,"elk.layered.crossingMinimization.strategy":`LAYER_SWEEP`,"elk.layered.unnecessaryBendpoints":`true`,"elk.layered.thoroughness":e.kind===`callgraph`?`6`:`8`}}function bu(e){if(!e||e.length<=1)return e??[];let t=new Map(e.map(e=>[e.id,e])),n=e.find(e=>!e.incomingSections||e.incomingSections.length===0)??e[0],r=[],i=new Set,a=n;for(;a&&!i.has(a.id);){r.push(a),i.add(a.id);let e=a.outgoingSections?.[0];a=e?t.get(e):void 0}return r.length===e.length?r:e}function xu(e){let t=[];for(let n of e){let e=t[t.length-1];e&&e.x===n.x&&e.y===n.y||t.push(n)}return t}function Su(e){let t=[];for(let n of bu(e))t.push(n.startPoint),n.bendPoints&&t.push(...n.bendPoints),t.push(n.endPoint);return xu(t)}function Cu(e,t,n){let r=1/0,i=-1/0,a=1/0,o=-1/0,s=(e,t)=>{e<r&&(r=e),e>i&&(i=e),t<a&&(a=t),t>o&&(o=t)};for(let t of e)s(t.x-t.width/2,t.y-t.height/2),s(t.x+t.width/2,t.y+t.height/2);for(let e of t)for(let t of e.route)s(t.x,t.y);return r===1/0&&(r=0),i===-1/0&&(i=0),a===1/0&&(a=0),o===-1/0&&(o=0),{offsetX:n-r,offsetY:n-a,width:i-r+n*2,height:o-a+n*2}}async function wu(e,t){if(e.nodes.length===0)return{kind:e.kind,nodes:[],edges:[],bounds:{width:0,height:0}};let n={...gu[e.kind],...t},r=new Map,i={id:`root`,layoutOptions:yu(e,t),children:e.nodes.map(t=>{let n=_u(t,e.kind);return r.set(t.key,n),{id:t.key,width:n.width,height:n.height}}),edges:e.edges.map(e=>({id:e.key,sources:[e.source],targets:[e.target]}))},a=await cu.layout(i),o=new Map(a.edges?.map(e=>[e.id??``,e])??[]),s=new Map(a.children?.map(e=>[e.id,e])??[]),c=e.nodes.map(t=>{let n=s.get(t.key),i=r.get(t.key)??_u(t,e.kind),a=(n?.x??0)+i.width/2,o=(n?.y??0)+i.height/2;return{...t,x:a,y:o,width:i.width,height:i.height,sigmaSize:vu(t,i.width,i.height),labelLines:i.text.labelLines,detailLines:i.text.detailLines,sublabelLines:i.text.sublabelLines}}),l=e.edges.map(e=>{let t=Su(o.get(e.key)?.sections);return{...e,route:t}}),u=Cu(c,l,n.padding);return{kind:e.kind,nodes:c.map(e=>({...e,x:e.x+u.offsetX,y:e.y+u.offsetY})),edges:l.map(e=>({...e,route:e.route.map(e=>({x:e.x+u.offsetX,y:e.y+u.offsetY}))})),bounds:{width:u.width,height:u.height}}}function Tu(e,t){let n=e.nodes.map(e=>`${e.key}:${e.label}:${e.kind}:${e.detail??``}`).join(`|`),r=e.edges.map(e=>`${e.key}:${e.source}:${e.target}:${e.kind}`).join(`|`);return JSON.stringify({kind:e.kind,nodeKey:n,edgeKey:r,overrides:t})}var Eu=new Map;function Du(e,t){let n=(0,w.useMemo)(()=>Tu(e,t),[e,t]),[r,i]=(0,w.useState)(()=>{let e=Eu.get(n)??null;return{graph:e,isLoading:e==null,error:null}}),a=(0,w.useRef)(0);return(0,w.useEffect)(()=>{let r=Eu.get(n);if(r){i({graph:r,isLoading:!1,error:null});return}let o=a.current+1;a.current=o;let s=!1;return i(e=>({graph:e.graph,isLoading:!0,error:null})),wu(e,t).then(e=>{s||a.current!==o||(Eu.set(n,e),i({graph:e,isLoading:!1,error:null}))}).catch(e=>{s||a.current!==o||i({graph:null,isLoading:!1,error:e instanceof Error?e:Error(`Layout failed`)})}),()=>{s=!0}},[e,n,t]),r}function Ou(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ku(e){var t=Ou(e,`string`);return typeof t==`symbol`?t:t+``}function Au(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ju(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ku(r.key),r)}}function Mu(e,t,n){return t&&ju(e.prototype,t),n&&ju(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nu(e)}function Pu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pu=function(){return!!e})()}function Fu(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Iu(e,t){if(t&&(typeof t==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return Fu(e)}function Lu(e,t,n){return t=Nu(t),Iu(e,Pu()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function Ru(e,t){return Ru=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ru(e,t)}function zu(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&Ru(e,t)}function Bu(e){if(Array.isArray(e))return e}function Vu(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Hu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Uu(e,t){if(e){if(typeof e==`string`)return Hu(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hu(e,t):void 0}}function Wu(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gu(e,t){return Bu(e)||Vu(e,t)||Uu(e,t)||Wu()}var Ku={black:`#000000`,silver:`#C0C0C0`,gray:`#808080`,grey:`#808080`,white:`#FFFFFF`,maroon:`#800000`,red:`#FF0000`,purple:`#800080`,fuchsia:`#FF00FF`,green:`#008000`,lime:`#00FF00`,olive:`#808000`,yellow:`#FFFF00`,navy:`#000080`,blue:`#0000FF`,teal:`#008080`,aqua:`#00FFFF`,darkblue:`#00008B`,mediumblue:`#0000CD`,darkgreen:`#006400`,darkcyan:`#008B8B`,deepskyblue:`#00BFFF`,darkturquoise:`#00CED1`,mediumspringgreen:`#00FA9A`,springgreen:`#00FF7F`,cyan:`#00FFFF`,midnightblue:`#191970`,dodgerblue:`#1E90FF`,lightseagreen:`#20B2AA`,forestgreen:`#228B22`,seagreen:`#2E8B57`,darkslategray:`#2F4F4F`,darkslategrey:`#2F4F4F`,limegreen:`#32CD32`,mediumseagreen:`#3CB371`,turquoise:`#40E0D0`,royalblue:`#4169E1`,steelblue:`#4682B4`,darkslateblue:`#483D8B`,mediumturquoise:`#48D1CC`,indigo:`#4B0082`,darkolivegreen:`#556B2F`,cadetblue:`#5F9EA0`,cornflowerblue:`#6495ED`,rebeccapurple:`#663399`,mediumaquamarine:`#66CDAA`,dimgray:`#696969`,dimgrey:`#696969`,slateblue:`#6A5ACD`,olivedrab:`#6B8E23`,slategray:`#708090`,slategrey:`#708090`,lightslategray:`#778899`,lightslategrey:`#778899`,mediumslateblue:`#7B68EE`,lawngreen:`#7CFC00`,chartreuse:`#7FFF00`,aquamarine:`#7FFFD4`,skyblue:`#87CEEB`,lightskyblue:`#87CEFA`,blueviolet:`#8A2BE2`,darkred:`#8B0000`,darkmagenta:`#8B008B`,saddlebrown:`#8B4513`,darkseagreen:`#8FBC8F`,lightgreen:`#90EE90`,mediumpurple:`#9370DB`,darkviolet:`#9400D3`,palegreen:`#98FB98`,darkorchid:`#9932CC`,yellowgreen:`#9ACD32`,sienna:`#A0522D`,brown:`#A52A2A`,darkgray:`#A9A9A9`,darkgrey:`#A9A9A9`,lightblue:`#ADD8E6`,greenyellow:`#ADFF2F`,paleturquoise:`#AFEEEE`,lightsteelblue:`#B0C4DE`,powderblue:`#B0E0E6`,firebrick:`#B22222`,darkgoldenrod:`#B8860B`,mediumorchid:`#BA55D3`,rosybrown:`#BC8F8F`,darkkhaki:`#BDB76B`,mediumvioletred:`#C71585`,indianred:`#CD5C5C`,peru:`#CD853F`,chocolate:`#D2691E`,tan:`#D2B48C`,lightgray:`#D3D3D3`,lightgrey:`#D3D3D3`,thistle:`#D8BFD8`,orchid:`#DA70D6`,goldenrod:`#DAA520`,palevioletred:`#DB7093`,crimson:`#DC143C`,gainsboro:`#DCDCDC`,plum:`#DDA0DD`,burlywood:`#DEB887`,lightcyan:`#E0FFFF`,lavender:`#E6E6FA`,darksalmon:`#E9967A`,violet:`#EE82EE`,palegoldenrod:`#EEE8AA`,lightcoral:`#F08080`,khaki:`#F0E68C`,aliceblue:`#F0F8FF`,honeydew:`#F0FFF0`,azure:`#F0FFFF`,sandybrown:`#F4A460`,wheat:`#F5DEB3`,beige:`#F5F5DC`,whitesmoke:`#F5F5F5`,mintcream:`#F5FFFA`,ghostwhite:`#F8F8FF`,salmon:`#FA8072`,antiquewhite:`#FAEBD7`,linen:`#FAF0E6`,lightgoldenrodyellow:`#FAFAD2`,oldlace:`#FDF5E6`,magenta:`#FF00FF`,deeppink:`#FF1493`,orangered:`#FF4500`,tomato:`#FF6347`,hotpink:`#FF69B4`,coral:`#FF7F50`,darkorange:`#FF8C00`,lightsalmon:`#FFA07A`,orange:`#FFA500`,lightpink:`#FFB6C1`,pink:`#FFC0CB`,gold:`#FFD700`,peachpuff:`#FFDAB9`,navajowhite:`#FFDEAD`,moccasin:`#FFE4B5`,bisque:`#FFE4C4`,mistyrose:`#FFE4E1`,blanchedalmond:`#FFEBCD`,papayawhip:`#FFEFD5`,lavenderblush:`#FFF0F5`,seashell:`#FFF5EE`,cornsilk:`#FFF8DC`,lemonchiffon:`#FFFACD`,floralwhite:`#FFFAF0`,snow:`#FFFAFA`,lightyellow:`#FFFFE0`,ivory:`#FFFFF0`},qu=new Int8Array(4),Ju=new Int32Array(qu.buffer,0,1),Yu=new Float32Array(qu.buffer,0,1),Xu=/^\s*rgba?\s*\(/,Zu=/^\s*rgba?\s*\(\s*([0-9]*)\s*,\s*([0-9]*)\s*,\s*([0-9]*)(?:\s*,\s*(.*)?)?\)\s*$/;function Qu(e){var t=0,n=0,r=0,i=1;if(e[0]===`#`)e.length===4?(t=parseInt(e.charAt(1)+e.charAt(1),16),n=parseInt(e.charAt(2)+e.charAt(2),16),r=parseInt(e.charAt(3)+e.charAt(3),16)):(t=parseInt(e.charAt(1)+e.charAt(2),16),n=parseInt(e.charAt(3)+e.charAt(4),16),r=parseInt(e.charAt(5)+e.charAt(6),16)),e.length===9&&(i=parseInt(e.charAt(7)+e.charAt(8),16)/255);else if(Xu.test(e)){var a=e.match(Zu);a&&(t=+a[1],n=+a[2],r=+a[3],a[4]&&(i=+a[4]))}return{r:t,g:n,b:r,a:i}}var $u={};for(var ed in Ku)$u[ed]=nd(Ku[ed]),$u[Ku[ed]]=$u[ed];function td(e,t,n,r,i){return Ju[0]=r<<24|n<<16|t<<8|e,i&&(Ju[0]&=4278190079),Yu[0]}function nd(e){if(e=e.toLowerCase(),$u[e]!==void 0)return $u[e];var t=Qu(e),n=t.r,r=t.g,i=t.b,a=t.a;a=a*255|0;var o=td(n,r,i,a,!0);return $u[e]=o,o}var rd={};function id(e){if(rd[e]!==void 0)return rd[e];var t=td((e&16711680)>>>16,(e&65280)>>>8,e&255,255,!0);return rd[e]=t,t}function ad(e,t,n,r){return n+(t<<8)+(e<<16)}function od(e,t,n,r,i,a){var o=Math.floor(n/a*i),s=Math.floor(e.drawingBufferHeight/a-r/a*i),c=new Uint8Array(4);e.bindFramebuffer(e.FRAMEBUFFER,t),e.readPixels(o,s,1,1,e.RGBA,e.UNSIGNED_BYTE,c);var l=Gu(c,4);return[l[0],l[1],l[2],l[3]]}function sd(e,t,n){return(t=ku(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ld(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cd(Object(n),!0).forEach(function(t){sd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ud(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Nu(e))!==null;);return e}function dd(){return dd=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ud(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},dd.apply(null,arguments)}function fd(e,t,n,r){var i=dd(Nu(1&r?e.prototype:e),t,n);return 2&r&&typeof i==`function`?function(e){return i.apply(n,e)}:i}function pd(e){return e.normalized?1:e.size}function md(e){var t=0;return e.forEach(function(e){return t+=pd(e)}),t}function hd(e,t,n){var r=e===`VERTEX`?t.VERTEX_SHADER:t.FRAGMENT_SHADER,i=t.createShader(r);if(i===null)throw Error(`loadShader: error while creating the shader`);if(t.shaderSource(i,n),t.compileShader(i),!t.getShaderParameter(i,t.COMPILE_STATUS)){var a=t.getShaderInfoLog(i);throw t.deleteShader(i),Error(`loadShader: error while compiling the shader:
${a}
${n}`)}return i}function gd(e,t){return hd(`VERTEX`,e,t)}function _d(e,t){return hd(`FRAGMENT`,e,t)}function vd(e,t){var n=e.createProgram();if(n===null)throw Error(`loadProgram: error while creating the program.`);var r,i;for(r=0,i=t.length;r<i;r++)e.attachShader(n,t[r]);if(e.linkProgram(n),!e.getProgramParameter(n,e.LINK_STATUS))throw e.deleteProgram(n),Error(`loadProgram: error while linking the program.`);return n}function yd(e){var t=e.gl,n=e.buffer,r=e.program,i=e.vertexShader,a=e.fragmentShader;t.deleteShader(i),t.deleteShader(a),t.deleteProgram(r),t.deleteBuffer(n)}var bd=`#define PICKING_MODE
`,xd=sd(sd(sd(sd(sd(sd(sd(sd({},WebGL2RenderingContext.BOOL,1),WebGL2RenderingContext.BYTE,1),WebGL2RenderingContext.UNSIGNED_BYTE,1),WebGL2RenderingContext.SHORT,2),WebGL2RenderingContext.UNSIGNED_SHORT,2),WebGL2RenderingContext.INT,4),WebGL2RenderingContext.UNSIGNED_INT,4),WebGL2RenderingContext.FLOAT,4),Sd=function(){function e(t,n,r){Au(this,e),sd(this,`array`,new Float32Array),sd(this,`constantArray`,new Float32Array),sd(this,`capacity`,0),sd(this,`verticesCount`,0);var i=this.getDefinition();if(this.VERTICES=i.VERTICES,this.VERTEX_SHADER_SOURCE=i.VERTEX_SHADER_SOURCE,this.FRAGMENT_SHADER_SOURCE=i.FRAGMENT_SHADER_SOURCE,this.UNIFORMS=i.UNIFORMS,this.ATTRIBUTES=i.ATTRIBUTES,this.METHOD=i.METHOD,this.CONSTANT_ATTRIBUTES=`CONSTANT_ATTRIBUTES`in i?i.CONSTANT_ATTRIBUTES:[],this.CONSTANT_DATA=`CONSTANT_DATA`in i?i.CONSTANT_DATA:[],this.isInstanced=`CONSTANT_ATTRIBUTES`in i,this.ATTRIBUTES_ITEMS_COUNT=md(this.ATTRIBUTES),this.STRIDE=this.VERTICES*this.ATTRIBUTES_ITEMS_COUNT,this.renderer=r,this.normalProgram=this.getProgramInfo(`normal`,t,i.VERTEX_SHADER_SOURCE,i.FRAGMENT_SHADER_SOURCE,null),this.pickProgram=n?this.getProgramInfo(`pick`,t,bd+i.VERTEX_SHADER_SOURCE,bd+i.FRAGMENT_SHADER_SOURCE,n):null,this.isInstanced){var a=md(this.CONSTANT_ATTRIBUTES);if(this.CONSTANT_DATA.length!==this.VERTICES)throw Error(`Program: error while getting constant data (expected ${this.VERTICES} items, received ${this.CONSTANT_DATA.length} instead)`);this.constantArray=new Float32Array(this.CONSTANT_DATA.length*a);for(var o=0;o<this.CONSTANT_DATA.length;o++){var s=this.CONSTANT_DATA[o];if(s.length!==a)throw Error(`Program: error while getting constant data (one vector has ${s.length} items instead of ${a})`);for(var c=0;c<s.length;c++)this.constantArray[o*a+c]=s[c]}this.STRIDE=this.ATTRIBUTES_ITEMS_COUNT}}return Mu(e,[{key:`kill`,value:function(){yd(this.normalProgram),this.pickProgram&&=(yd(this.pickProgram),null)}},{key:`getProgramInfo`,value:function(e,t,n,r,i){var a=this.getDefinition(),o=t.createBuffer();if(o===null)throw Error(`Program: error while creating the WebGL buffer.`);var s=gd(t,n),c=_d(t,r),l=vd(t,[s,c]),u={};a.UNIFORMS.forEach(function(e){var n=t.getUniformLocation(l,e);n&&(u[e]=n)});var d={};a.ATTRIBUTES.forEach(function(e){d[e.name]=t.getAttribLocation(l,e.name)});var f;if(`CONSTANT_ATTRIBUTES`in a&&(a.CONSTANT_ATTRIBUTES.forEach(function(e){d[e.name]=t.getAttribLocation(l,e.name)}),f=t.createBuffer(),f===null))throw Error(`Program: error while creating the WebGL constant buffer.`);return{name:e,program:l,gl:t,frameBuffer:i,buffer:o,constantBuffer:f||{},uniformLocations:u,attributeLocations:d,isPicking:e===`pick`,vertexShader:s,fragmentShader:c}}},{key:`bindProgram`,value:function(e){var t=this,n=0,r=e.gl,i=e.buffer;this.isInstanced?(r.bindBuffer(r.ARRAY_BUFFER,e.constantBuffer),n=0,this.CONSTANT_ATTRIBUTES.forEach(function(r){return n+=t.bindAttribute(r,e,n,!1)}),r.bufferData(r.ARRAY_BUFFER,this.constantArray,r.STATIC_DRAW),r.bindBuffer(r.ARRAY_BUFFER,e.buffer),n=0,this.ATTRIBUTES.forEach(function(r){return n+=t.bindAttribute(r,e,n,!0)}),r.bufferData(r.ARRAY_BUFFER,this.array,r.DYNAMIC_DRAW)):(r.bindBuffer(r.ARRAY_BUFFER,i),n=0,this.ATTRIBUTES.forEach(function(r){return n+=t.bindAttribute(r,e,n)}),r.bufferData(r.ARRAY_BUFFER,this.array,r.DYNAMIC_DRAW)),r.bindBuffer(r.ARRAY_BUFFER,null)}},{key:`unbindProgram`,value:function(e){var t=this;this.isInstanced?(this.CONSTANT_ATTRIBUTES.forEach(function(n){return t.unbindAttribute(n,e,!1)}),this.ATTRIBUTES.forEach(function(n){return t.unbindAttribute(n,e,!0)})):this.ATTRIBUTES.forEach(function(n){return t.unbindAttribute(n,e)})}},{key:`bindAttribute`,value:function(e,t,n,r){var i=xd[e.type];if(typeof i!=`number`)throw Error(`Program.bind: yet unsupported attribute type "${e.type}"`);var a=t.attributeLocations[e.name],o=t.gl;if(a!==-1){o.enableVertexAttribArray(a);var s=this.isInstanced?(r?this.ATTRIBUTES_ITEMS_COUNT:md(this.CONSTANT_ATTRIBUTES))*Float32Array.BYTES_PER_ELEMENT:this.ATTRIBUTES_ITEMS_COUNT*Float32Array.BYTES_PER_ELEMENT;if(o.vertexAttribPointer(a,e.size,e.type,e.normalized||!1,s,n),this.isInstanced&&r)if(o instanceof WebGL2RenderingContext)o.vertexAttribDivisor(a,1);else{var c=o.getExtension(`ANGLE_instanced_arrays`);c&&c.vertexAttribDivisorANGLE(a,1)}}return e.size*i}},{key:`unbindAttribute`,value:function(e,t,n){var r=t.attributeLocations[e.name],i=t.gl;if(r!==-1&&(i.disableVertexAttribArray(r),this.isInstanced&&n))if(i instanceof WebGL2RenderingContext)i.vertexAttribDivisor(r,0);else{var a=i.getExtension(`ANGLE_instanced_arrays`);a&&a.vertexAttribDivisorANGLE(r,0)}}},{key:`reallocate`,value:function(e){e!==this.capacity&&(this.capacity=e,this.verticesCount=this.VERTICES*e,this.array=new Float32Array(this.isInstanced?this.capacity*this.ATTRIBUTES_ITEMS_COUNT:this.verticesCount*this.ATTRIBUTES_ITEMS_COUNT))}},{key:`hasNothingToRender`,value:function(){return this.verticesCount===0}},{key:`renderProgram`,value:function(e,t){var n=t.gl,r=t.program;n.enable(n.BLEND),n.useProgram(r),this.setUniforms(e,t),this.drawWebGL(this.METHOD,t)}},{key:`render`,value:function(e){this.hasNothingToRender()||(this.pickProgram&&(this.pickProgram.gl.viewport(0,0,e.width*e.pixelRatio/e.downSizingRatio,e.height*e.pixelRatio/e.downSizingRatio),this.bindProgram(this.pickProgram),this.renderProgram(ld(ld({},e),{},{pixelRatio:e.pixelRatio/e.downSizingRatio}),this.pickProgram),this.unbindProgram(this.pickProgram)),this.normalProgram.gl.viewport(0,0,e.width*e.pixelRatio,e.height*e.pixelRatio),this.bindProgram(this.normalProgram),this.renderProgram(e,this.normalProgram),this.unbindProgram(this.normalProgram))}},{key:`drawWebGL`,value:function(e,t){var n=t.gl,r=t.frameBuffer;if(n.bindFramebuffer(n.FRAMEBUFFER,r),!this.isInstanced)n.drawArrays(e,0,this.verticesCount);else if(n instanceof WebGL2RenderingContext)n.drawArraysInstanced(e,0,this.VERTICES,this.capacity);else{var i=n.getExtension(`ANGLE_instanced_arrays`);i&&i.drawArraysInstancedANGLE(e,0,this.VERTICES,this.capacity)}}}])}(),Cd=function(e){function t(){return Au(this,t),Lu(this,t,arguments)}return zu(t,e),Mu(t,[{key:`kill`,value:function(){fd(t,`kill`,this,3)([])}},{key:`process`,value:function(e,t,n){var r=t*this.STRIDE;if(n.hidden){for(var i=r+this.STRIDE;r<i;r++)this.array[r]=0;return}return this.processVisibleItem(id(e),r,n)}}])}(Sd),wd=function(e){function t(){var e;Au(this,t);var n=[...arguments];return e=Lu(this,t,[].concat(n)),sd(e,`drawLabel`,void 0),e}return zu(t,e),Mu(t,[{key:`kill`,value:function(){fd(t,`kill`,this,3)([])}},{key:`process`,value:function(e,t,n,r,i){var a=t*this.STRIDE;if(i.hidden||n.hidden||r.hidden){for(var o=a+this.STRIDE;a<o;a++)this.array[a]=0;return}return this.processVisibleItem(id(e),a,n,r,i)}}])}(Sd);function Td(e,t){return function(){function n(r,i,a){Au(this,n),sd(this,`drawLabel`,t),this.programs=e.map(function(e){return new e(r,i,a)})}return Mu(n,[{key:`reallocate`,value:function(e){this.programs.forEach(function(t){return t.reallocate(e)})}},{key:`process`,value:function(e,t,n,r,i){this.programs.forEach(function(a){return a.process(e,t,n,r,i)})}},{key:`render`,value:function(e){this.programs.forEach(function(t){return t.render(e)})}},{key:`kill`,value:function(){this.programs.forEach(function(e){return e.kill()})}}])}()}function Ed(e,t,n,r,i){var a=i.edgeLabelSize,o=i.edgeLabelFont,s=i.edgeLabelWeight,c=i.edgeLabelColor.attribute?t[i.edgeLabelColor.attribute]||i.edgeLabelColor.color||`#000`:i.edgeLabelColor.color,l=t.label;if(l){e.fillStyle=c,e.font=`${s} ${a}px ${o}`;var u=n.size,d=r.size,f=n.x,p=n.y,m=r.x,h=r.y,g=(f+m)/2,_=(p+h)/2,v=m-f,y=h-p,b=Math.sqrt(v*v+y*y);if(!(b<u+d)){f+=v*u/b,p+=y*u/b,m-=v*d/b,h-=y*d/b,g=(f+m)/2,_=(p+h)/2,v=m-f,y=h-p,b=Math.sqrt(v*v+y*y);var x=e.measureText(l).width;if(x>b){var S=`…`;for(l+=S,x=e.measureText(l).width;x>b&&l.length>1;)l=l.slice(0,-2)+S,x=e.measureText(l).width;if(l.length<4)return}var ee=v>0?y>0?Math.acos(v/b):Math.asin(y/b):y>0?Math.acos(v/b)+Math.PI:Math.asin(v/b)+Math.PI/2;e.save(),e.translate(g,_),e.rotate(ee),e.fillText(l,-x/2,t.size/2+a),e.restore()}}}function Dd(e,t,n){if(t.label){var r=n.labelSize,i=n.labelFont,a=n.labelWeight;e.fillStyle=n.labelColor.attribute?t[n.labelColor.attribute]||n.labelColor.color||`#000`:n.labelColor.color,e.font=`${a} ${r}px ${i}`,e.fillText(t.label,t.x+t.size+3,t.y+r/3)}}function Od(e,t,n){var r=n.labelSize,i=n.labelFont;e.font=`${n.labelWeight} ${r}px ${i}`,e.fillStyle=`#FFF`,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=8,e.shadowColor=`#000`;var a=2;if(typeof t.label==`string`){var o=e.measureText(t.label).width,s=Math.round(o+5),c=Math.round(r+2*a),l=Math.max(t.size,r/2)+a,u=Math.asin(c/2/l),d=Math.sqrt(Math.abs(l**2-(c/2)**2));e.beginPath(),e.moveTo(t.x+d,t.y+c/2),e.lineTo(t.x+l+s,t.y+c/2),e.lineTo(t.x+l+s,t.y-c/2),e.lineTo(t.x+d,t.y-c/2),e.arc(t.x,t.y,l,u,-u),e.closePath(),e.fill()}else e.beginPath(),e.arc(t.x,t.y,t.size+a,0,Math.PI*2),e.closePath(),e.fill();e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0,Dd(e,t,n)}var kd=`
precision highp float;
varying vec4 v_color;
varying vec2 v_diffVector;
varying float v_radius;
uniform float u_correctionRatio;
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
void main(void) {
float border = u_correctionRatio * 2.0;
float dist = length(v_diffVector) - v_radius + border;
// No antialiasing for picking mode:
#ifdef PICKING_MODE
if (dist > border)
gl_FragColor = transparent;
else
gl_FragColor = v_color;
#else
float t = 0.0;
if (dist > border)
t = 1.0;
else if (dist > 0.0)
t = dist / border;
gl_FragColor = mix(v_color, transparent, t);
#endif
}
`,Ad=`
attribute vec4 a_id;
attribute vec4 a_color;
attribute vec2 a_position;
attribute float a_size;
attribute float a_angle;
uniform mat3 u_matrix;
uniform float u_sizeRatio;
uniform float u_correctionRatio;
varying vec4 v_color;
varying vec2 v_diffVector;
varying float v_radius;
varying float v_border;
const float bias = 255.0 / 254.0;
void main() {
float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;
vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));
vec2 position = a_position + diffVector;
gl_Position = vec4(
(u_matrix * vec3(position, 1)).xy,
0,
1
);
v_diffVector = diffVector;
v_radius = size / 2.0;
#ifdef PICKING_MODE
// For picking mode, we use the ID as the color:
v_color = a_id;
#else
// For normal mode, we use the color:
v_color = a_color;
#endif
v_color.a *= bias;
}
`,jd=WebGLRenderingContext,Md=jd.UNSIGNED_BYTE,Nd=jd.FLOAT,Pd=[`u_sizeRatio`,`u_correctionRatio`,`u_matrix`],Fd=function(e){function t(){return Au(this,t),Lu(this,t,arguments)}return zu(t,e),Mu(t,[{key:`getDefinition`,value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:Ad,FRAGMENT_SHADER_SOURCE:kd,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Pd,ATTRIBUTES:[{name:`a_position`,size:2,type:Nd},{name:`a_size`,size:1,type:Nd},{name:`a_color`,size:4,type:Md,normalized:!0},{name:`a_id`,size:4,type:Md,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:`a_angle`,size:1,type:Nd}],CONSTANT_DATA:[[t.ANGLE_1],[t.ANGLE_2],[t.ANGLE_3]]}}},{key:`processVisibleItem`,value:function(e,t,n){var r=this.array,i=nd(n.color);r[t++]=n.x,r[t++]=n.y,r[t++]=n.size,r[t++]=i,r[t++]=e}},{key:`setUniforms`,value:function(e,t){var n=t.gl,r=t.uniformLocations,i=r.u_sizeRatio,a=r.u_correctionRatio,o=r.u_matrix;n.uniform1f(a,e.correctionRatio),n.uniform1f(i,e.sizeRatio),n.uniformMatrix3fv(o,!1,e.matrix)}}])}(Cd);sd(Fd,`ANGLE_1`,0),sd(Fd,`ANGLE_2`,2*Math.PI/3),sd(Fd,`ANGLE_3`,4*Math.PI/3);var Id=`
precision mediump float;
varying vec4 v_color;
void main(void) {
gl_FragColor = v_color;
}
`,Ld=`
attribute vec2 a_position;
attribute vec2 a_normal;
attribute float a_radius;
attribute vec3 a_barycentric;
#ifdef PICKING_MODE
attribute vec4 a_id;
#else
attribute vec4 a_color;
#endif
uniform mat3 u_matrix;
uniform float u_sizeRatio;
uniform float u_correctionRatio;
uniform float u_minEdgeThickness;
uniform float u_lengthToThicknessRatio;
uniform float u_widenessToThicknessRatio;
varying vec4 v_color;
const float bias = 255.0 / 254.0;
void main() {
float minThickness = u_minEdgeThickness;
float normalLength = length(a_normal);
vec2 unitNormal = a_normal / normalLength;
// These first computations are taken from edge.vert.glsl and
// edge.clamped.vert.glsl. Please read it to get better comments on what's
// happening:
float pixelsThickness = max(normalLength / u_sizeRatio, minThickness);
float webGLThickness = pixelsThickness * u_correctionRatio;
float webGLNodeRadius = a_radius * 2.0 * u_correctionRatio / u_sizeRatio;
float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
float webGLArrowHeadThickness = webGLThickness * u_widenessToThicknessRatio;
float da = a_barycentric.x;
float db = a_barycentric.y;
float dc = a_barycentric.z;
vec2 delta = vec2(
da * (webGLNodeRadius * unitNormal.y)
+ db * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y + webGLArrowHeadThickness * unitNormal.x)
+ dc * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y - webGLArrowHeadThickness * unitNormal.x),
da * (-webGLNodeRadius * unitNormal.x)
+ db * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x + webGLArrowHeadThickness * unitNormal.y)
+ dc * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x - webGLArrowHeadThickness * unitNormal.y)
);
vec2 position = (u_matrix * vec3(a_position + delta, 1)).xy;
gl_Position = vec4(position, 0, 1);
#ifdef PICKING_MODE
// For picking mode, we use the ID as the color:
v_color = a_id;
#else
// For normal mode, we use the color:
v_color = a_color;
#endif
v_color.a *= bias;
}
`,Rd=WebGLRenderingContext,zd=Rd.UNSIGNED_BYTE,Bd=Rd.FLOAT,Vd=[`u_matrix`,`u_sizeRatio`,`u_correctionRatio`,`u_minEdgeThickness`,`u_lengthToThicknessRatio`,`u_widenessToThicknessRatio`],Hd={extremity:`target`,lengthToThicknessRatio:2.5,widenessToThicknessRatio:2};function Ud(e){var t=ld(ld({},Hd),e||{});return function(e){function n(){return Au(this,n),Lu(this,n,arguments)}return zu(n,e),Mu(n,[{key:`getDefinition`,value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:Ld,FRAGMENT_SHADER_SOURCE:Id,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Vd,ATTRIBUTES:[{name:`a_position`,size:2,type:Bd},{name:`a_normal`,size:2,type:Bd},{name:`a_radius`,size:1,type:Bd},{name:`a_color`,size:4,type:zd,normalized:!0},{name:`a_id`,size:4,type:zd,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:`a_barycentric`,size:3,type:Bd}],CONSTANT_DATA:[[1,0,0],[0,1,0],[0,0,1]]}}},{key:`processVisibleItem`,value:function(e,n,r,i,a){if(t.extremity===`source`){var o=[i,r];r=o[0],i=o[1]}var s=a.size||1,c=i.size||1,l=r.x,u=r.y,d=i.x,f=i.y,p=nd(a.color),m=d-l,h=f-u,g=m*m+h*h,_=0,v=0;g&&(g=1/Math.sqrt(g),_=-h*g*s,v=m*g*s);var y=this.array;y[n++]=d,y[n++]=f,y[n++]=-_,y[n++]=-v,y[n++]=c,y[n++]=p,y[n++]=e}},{key:`setUniforms`,value:function(e,n){var r=n.gl,i=n.uniformLocations,a=i.u_matrix,o=i.u_sizeRatio,s=i.u_correctionRatio,c=i.u_minEdgeThickness,l=i.u_lengthToThicknessRatio,u=i.u_widenessToThicknessRatio;r.uniformMatrix3fv(a,!1,e.matrix),r.uniform1f(o,e.sizeRatio),r.uniform1f(s,e.correctionRatio),r.uniform1f(c,e.minEdgeThickness),r.uniform1f(l,t.lengthToThicknessRatio),r.uniform1f(u,t.widenessToThicknessRatio)}}])}(wd)}Ud();var Wd=`
precision mediump float;
varying vec4 v_color;
varying vec2 v_normal;
varying float v_thickness;
varying float v_feather;
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
void main(void) {
// We only handle antialiasing for normal mode:
#ifdef PICKING_MODE
gl_FragColor = v_color;
#else
float dist = length(v_normal) * v_thickness;
float t = smoothstep(
v_thickness - v_feather,
v_thickness,
dist
);
gl_FragColor = mix(v_color, transparent, t);
#endif
}
`,dee=`
attribute vec4 a_id;
attribute vec4 a_color;
attribute vec2 a_normal;
attribute float a_normalCoef;
attribute vec2 a_positionStart;
attribute vec2 a_positionEnd;
attribute float a_positionCoef;
attribute float a_radius;
attribute float a_radiusCoef;
uniform mat3 u_matrix;
uniform float u_zoomRatio;
uniform float u_sizeRatio;
uniform float u_pixelRatio;
uniform float u_correctionRatio;
uniform float u_minEdgeThickness;
uniform float u_lengthToThicknessRatio;
uniform float u_feather;
varying vec4 v_color;
varying vec2 v_normal;
varying float v_thickness;
varying float v_feather;
const float bias = 255.0 / 254.0;
void main() {
float minThickness = u_minEdgeThickness;
float radius = a_radius * a_radiusCoef;
vec2 normal = a_normal * a_normalCoef;
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
float normalLength = length(normal);
vec2 unitNormal = normal / normalLength;
// These first computations are taken from edge.vert.glsl. Please read it to
// get better comments on what's happening:
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
// Here, we move the point to leave space for the arrow head:
float direction = sign(radius);
float webGLNodeRadius = direction * radius * 2.0 * u_correctionRatio / u_sizeRatio;
float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
vec2 compensationVector = vec2(-direction * unitNormal.y, direction * unitNormal.x) * (webGLNodeRadius + webGLArrowHeadLength);
// Here is the proper position of the vertex
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness + compensationVector, 1)).xy, 0, 1);
v_thickness = webGLThickness / u_zoomRatio;
v_normal = unitNormal;
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
#ifdef PICKING_MODE
// For picking mode, we use the ID as the color:
v_color = a_id;
#else
// For normal mode, we use the color:
v_color = a_color;
#endif
v_color.a *= bias;
}
`,Gd=WebGLRenderingContext,Kd=Gd.UNSIGNED_BYTE,qd=Gd.FLOAT,Jd=[`u_matrix`,`u_zoomRatio`,`u_sizeRatio`,`u_correctionRatio`,`u_pixelRatio`,`u_feather`,`u_minEdgeThickness`,`u_lengthToThicknessRatio`],Yd={lengthToThicknessRatio:Hd.lengthToThicknessRatio};function Xd(e){var t=ld(ld({},Yd),e||{});return function(e){function n(){return Au(this,n),Lu(this,n,arguments)}return zu(n,e),Mu(n,[{key:`getDefinition`,value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:dee,FRAGMENT_SHADER_SOURCE:Wd,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Jd,ATTRIBUTES:[{name:`a_positionStart`,size:2,type:qd},{name:`a_positionEnd`,size:2,type:qd},{name:`a_normal`,size:2,type:qd},{name:`a_color`,size:4,type:Kd,normalized:!0},{name:`a_id`,size:4,type:Kd,normalized:!0},{name:`a_radius`,size:1,type:qd}],CONSTANT_ATTRIBUTES:[{name:`a_positionCoef`,size:1,type:qd},{name:`a_normalCoef`,size:1,type:qd},{name:`a_radiusCoef`,size:1,type:qd}],CONSTANT_DATA:[[0,1,0],[0,-1,0],[1,1,1],[1,1,1],[0,-1,0],[1,-1,-1]]}}},{key:`processVisibleItem`,value:function(e,t,n,r,i){var a=i.size||1,o=n.x,s=n.y,c=r.x,l=r.y,u=nd(i.color),d=c-o,f=l-s,p=r.size||1,m=d*d+f*f,h=0,g=0;m&&(m=1/Math.sqrt(m),h=-f*m*a,g=d*m*a);var _=this.array;_[t++]=o,_[t++]=s,_[t++]=c,_[t++]=l,_[t++]=h,_[t++]=g,_[t++]=u,_[t++]=e,_[t++]=p}},{key:`setUniforms`,value:function(e,n){var r=n.gl,i=n.uniformLocations,a=i.u_matrix,o=i.u_zoomRatio,s=i.u_feather,c=i.u_pixelRatio,l=i.u_correctionRatio,u=i.u_sizeRatio,d=i.u_minEdgeThickness,f=i.u_lengthToThicknessRatio;r.uniformMatrix3fv(a,!1,e.matrix),r.uniform1f(o,e.zoomRatio),r.uniform1f(u,e.sizeRatio),r.uniform1f(l,e.correctionRatio),r.uniform1f(c,e.pixelRatio),r.uniform1f(s,e.antiAliasingFeather),r.uniform1f(d,e.minEdgeThickness),r.uniform1f(f,t.lengthToThicknessRatio)}}])}(wd)}Xd();function fee(e){return Td([Xd(e),Ud(e)])}var Zd=fee(),pee=`
attribute vec4 a_id;
attribute vec4 a_color;
attribute vec2 a_normal;
attribute float a_normalCoef;
attribute vec2 a_positionStart;
attribute vec2 a_positionEnd;
attribute float a_positionCoef;
uniform mat3 u_matrix;
uniform float u_sizeRatio;
uniform float u_zoomRatio;
uniform float u_pixelRatio;
uniform float u_correctionRatio;
uniform float u_minEdgeThickness;
uniform float u_feather;
varying vec4 v_color;
varying vec2 v_normal;
varying float v_thickness;
varying float v_feather;
const float bias = 255.0 / 254.0;
void main() {
float minThickness = u_minEdgeThickness;
vec2 normal = a_normal * a_normalCoef;
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
float normalLength = length(normal);
vec2 unitNormal = normal / normalLength;
// We require edges to be at least "minThickness" pixels thick *on screen*
// (so we need to compensate the size ratio):
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
// Then, we need to retrieve the normalized thickness of the edge in the WebGL
// referential (in a ([0, 1], [0, 1]) space), using our "magic" correction
// ratio:
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
// Here is the proper position of the vertex
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness, 1)).xy, 0, 1);
// For the fragment shader though, we need a thickness that takes the "magic"
// correction ratio into account (as in webGLThickness), but so that the
// antialiasing effect does not depend on the zoom level. So here's yet
// another thickness version:
v_thickness = webGLThickness / u_zoomRatio;
v_normal = unitNormal;
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
#ifdef PICKING_MODE
// For picking mode, we use the ID as the color:
v_color = a_id;
#else
// For normal mode, we use the color:
v_color = a_color;
#endif
v_color.a *= bias;
}
`,Qd=WebGLRenderingContext,$d=Qd.UNSIGNED_BYTE,ef=Qd.FLOAT,tf=[`u_matrix`,`u_zoomRatio`,`u_sizeRatio`,`u_correctionRatio`,`u_pixelRatio`,`u_feather`,`u_minEdgeThickness`],nf=function(e){function t(){return Au(this,t),Lu(this,t,arguments)}return zu(t,e),Mu(t,[{key:`getDefinition`,value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:pee,FRAGMENT_SHADER_SOURCE:Wd,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:tf,ATTRIBUTES:[{name:`a_positionStart`,size:2,type:ef},{name:`a_positionEnd`,size:2,type:ef},{name:`a_normal`,size:2,type:ef},{name:`a_color`,size:4,type:$d,normalized:!0},{name:`a_id`,size:4,type:$d,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:`a_positionCoef`,size:1,type:ef},{name:`a_normalCoef`,size:1,type:ef}],CONSTANT_DATA:[[0,1],[0,-1],[1,1],[1,1],[0,-1],[1,-1]]}}},{key:`processVisibleItem`,value:function(e,t,n,r,i){var a=i.size||1,o=n.x,s=n.y,c=r.x,l=r.y,u=nd(i.color),d=c-o,f=l-s,p=d*d+f*f,m=0,h=0;p&&(p=1/Math.sqrt(p),m=-f*p*a,h=d*p*a);var g=this.array;g[t++]=o,g[t++]=s,g[t++]=c,g[t++]=l,g[t++]=m,g[t++]=h,g[t++]=u,g[t++]=e}},{key:`setUniforms`,value:function(e,t){var n=t.gl,r=t.uniformLocations,i=r.u_matrix,a=r.u_zoomRatio,o=r.u_feather,s=r.u_pixelRatio,c=r.u_correctionRatio,l=r.u_sizeRatio,u=r.u_minEdgeThickness;n.uniformMatrix3fv(i,!1,e.matrix),n.uniform1f(a,e.zoomRatio),n.uniform1f(l,e.sizeRatio),n.uniform1f(c,e.correctionRatio),n.uniform1f(s,e.pixelRatio),n.uniform1f(o,e.antiAliasingFeather),n.uniform1f(u,e.minEdgeThickness)}}])}(wd),rf=o(((e,t)=>{var n=typeof Reflect==`object`?Reflect:null,r=n&&typeof n.apply==`function`?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},i=n&&typeof n.ownKeys==`function`?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};function a(e){console&&console.warn&&console.warn(e)}var o=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}t.exports=s,t.exports.once=y,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if(typeof e!=`function`)throw TypeError(`The "listener" argument must be of type Function. Received type `+typeof e)}Object.defineProperty(s,`defaultMaxListeners`,{enumerable:!0,get:function(){return c},set:function(e){if(typeof e!=`number`||e<0||o(e))throw RangeError(`The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received `+e+`.`);c=e}}),s.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||o(e))throw RangeError(`The value of "n" is out of range. It must be a non-negative number. Received `+e+`.`);return this._maxListeners=e,this};function u(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e===`error`,a=this._events;if(a!==void 0)i&&=a.error===void 0;else if(!i)return!1;if(i){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=Error(`Unhandled error.`+(o?` (`+o.message+`)`:``));throw s.context=o,s}var c=a[e];if(c===void 0)return!1;if(typeof c==`function`)r(c,this,t);else for(var l=c.length,u=g(c,l),n=0;n<l;++n)r(u[n],this,t);return!0};function d(e,t,n,r){var i,o,s;if(l(n),o=e._events,o===void 0?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit(`newListener`,t,n.listener?n.listener:n),o=e._events),s=o[t]),s===void 0)s=o[t]=n,++e._eventsCount;else if(typeof s==`function`?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=u(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var c=Error(`Possible EventEmitter memory leak detected. `+s.length+` `+String(t)+` listeners added. Use emitter.setMaxListeners() to increase limit`);c.name=`MaxListenersExceededWarning`,c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)};function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,a,o;if(l(t),r=this._events,r===void 0||(n=r[e],n===void 0))return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;i===0?n.shift():_(n,i),n.length===1&&(r[e]=n[0]),r.removeListener!==void 0&&this.emit(`removeListener`,e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n=this._events,r;if(n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var i=Object.keys(n),a;for(r=0;r<i.length;++r)a=i[r],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t!==void 0)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this};function m(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i==`function`?n?[i.listener||i]:[i]:n?v(i):g(i,i.length)}s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h;function h(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n==`function`)return 1;if(n!==void 0)return n.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function g(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function _(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function y(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){typeof e.removeListener==`function`&&e.removeListener(`error`,i),n([].slice.call(arguments))}x(e,t,a,{once:!0}),t!==`error`&&b(e,i,{once:!0})})}function b(e,t,n){typeof e.on==`function`&&x(e,`error`,t,n)}function x(e,t,n,r){if(typeof e.on==`function`)r.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener==`function`)e.addEventListener(t,function i(a){r.once&&e.removeEventListener(t,i),n(a)});else throw TypeError(`The "emitter" argument must be of type EventEmitter. Received type `+typeof e)}}))(),af=function(e){function t(){var e;return Au(this,t),e=Lu(this,t),e.rawEmitter=e,e}return zu(t,e),Mu(t)}(rf.EventEmitter),mee=c(o(((e,t)=>{t.exports=function(e){return typeof e==`object`&&!!e&&typeof e.addUndirectedEdgeWithKey==`function`&&typeof e.dropNode==`function`&&typeof e.multi==`boolean`}}))()),of={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},hee={easing:`quadraticInOut`,duration:150};function sf(){return Float32Array.of(1,0,0,0,1,0,0,0,1)}function cf(e,t,n){return e[0]=t,e[4]=typeof n==`number`?n:t,e}function lf(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[3]=-n,e[4]=r,e}function uf(e,t,n){return e[6]=t,e[7]=n,e}function df(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],d=t[0],f=t[1],p=t[2],m=t[3],h=t[4],g=t[5],_=t[6],v=t[7],y=t[8];return e[0]=d*n+f*a+p*c,e[1]=d*r+f*o+p*l,e[2]=d*i+f*s+p*u,e[3]=m*n+h*a+g*c,e[4]=m*r+h*o+g*l,e[5]=m*i+h*s+g*u,e[6]=_*n+v*a+y*c,e[7]=_*r+v*o+y*l,e[8]=_*i+v*s+y*u,e}function ff(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=e[0],i=e[1],a=e[3],o=e[4],s=e[6],c=e[7],l=t.x,u=t.y;return{x:l*r+u*a+s*n,y:l*i+u*o+c*n}}function pf(e,t){var n=e.height/e.width,r=t.height/t.width;return n<1&&r>1||n>1&&r<1?1:Math.min(Math.max(r,1/r),Math.max(1/n,n))}function mf(e,t,n,r,i){var a=e.angle,o=e.ratio,s=e.x,c=e.y,l=t.width,u=t.height,d=sf(),f=Math.min(l,u)-2*r,p=pf(t,n);return i?(df(d,uf(sf(),s,c)),df(d,cf(sf(),o)),df(d,lf(sf(),a)),df(d,cf(sf(),l/f/2/p,u/f/2/p))):(df(d,cf(sf(),f/l*2*p,f/u*2*p)),df(d,lf(sf(),-a)),df(d,cf(sf(),1/o)),df(d,uf(sf(),-s,-c))),d}function hf(e,t,n){var r=ff(e,{x:Math.cos(t.angle),y:Math.sin(t.angle)},0),i=r.x,a=r.y;return 1/Math.sqrt(i**2+a**2)/n.width}function gf(e){if(!e.order)return{x:[0,1],y:[0,1]};var t=1/0,n=-1/0,r=1/0,i=-1/0;return e.forEachNode(function(e,a){var o=a.x,s=a.y;o<t&&(t=o),o>n&&(n=o),s<r&&(r=s),s>i&&(i=s)}),{x:[t,n],y:[r,i]}}function _f(e){if(!(0,mee.default)(e))throw Error(`Sigma: invalid graph instance.`);e.forEachNode(function(e,t){if(!Number.isFinite(t.x)||!Number.isFinite(t.y))throw Error(`Sigma: Coordinates of node ${e} are invalid. A node must have a numeric 'x' and 'y' attribute.`)})}function vf(e,t,n){var r=document.createElement(e);if(t)for(var i in t)r.style[i]=t[i];if(n)for(var a in n)r.setAttribute(a,n[a]);return r}function yf(){return window.devicePixelRatio===void 0?1:window.devicePixelRatio}function bf(e,t,n){return n.sort(function(e,n){var r=t(e)||0,i=t(n)||0;return r<i?-1:+(r>i)})}function xf(e){var t=Gu(e.x,2),n=t[0],r=t[1],i=Gu(e.y,2),a=i[0],o=i[1],s=Math.max(r-n,o-a),c=(r+n)/2,l=(o+a)/2;(s===0||Math.abs(s)===1/0||isNaN(s))&&(s=1),isNaN(c)&&(c=0),isNaN(l)&&(l=0);var u=function(e){return{x:.5+(e.x-c)/s,y:.5+(e.y-l)/s}};return u.applyTo=function(e){e.x=.5+(e.x-c)/s,e.y=.5+(e.y-l)/s},u.inverse=function(e){return{x:c+s*(e.x-.5),y:l+s*(e.y-.5)}},u.ratio=s,u}function Sf(e){"@babel/helpers - typeof";return Sf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Sf(e)}function Cf(e,t){var n=t.size;if(n!==0){var r=e.length;e.length+=n;var i=0;t.forEach(function(t){e[r+i]=t,i++})}}function wf(e){e||={};for(var t=0,n=arguments.length<=1?0:arguments.length-1;t<n;t++){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];r&&Object.assign(e,r)}return e}var Tf={hideEdgesOnMove:!1,hideLabelsOnMove:!1,renderLabels:!0,renderEdgeLabels:!1,enableEdgeEvents:!1,defaultNodeColor:`#999`,defaultNodeType:`circle`,defaultEdgeColor:`#ccc`,defaultEdgeType:`line`,labelFont:`Arial`,labelSize:14,labelWeight:`normal`,labelColor:{color:`#000`},edgeLabelFont:`Arial`,edgeLabelSize:14,edgeLabelWeight:`normal`,edgeLabelColor:{attribute:`color`},stagePadding:30,defaultDrawEdgeLabel:Ed,defaultDrawNodeLabel:Dd,defaultDrawNodeHover:Od,minEdgeThickness:1.7,antiAliasingFeather:1,dragTimeout:100,draggedEventsTolerance:3,inertiaDuration:200,inertiaRatio:3,zoomDuration:250,zoomingRatio:1.7,doubleClickTimeout:300,doubleClickZoomingRatio:2.2,doubleClickZoomingDuration:200,tapMoveTolerance:10,zoomToSizeRatioFunction:Math.sqrt,itemSizesReference:`screen`,autoRescale:!0,autoCenter:!0,labelDensity:1,labelGridCellSize:100,labelRenderedSizeThreshold:6,nodeReducer:null,edgeReducer:null,zIndex:!1,minCameraRatio:null,maxCameraRatio:null,enableCameraZooming:!0,enableCameraPanning:!0,enableCameraRotation:!0,cameraPanBoundaries:null,allowInvalidContainer:!1,nodeProgramClasses:{},nodeHoverProgramClasses:{},edgeProgramClasses:{}},Ef={circle:Fd},Df={arrow:Zd,line:nf};function Of(e){if(typeof e.labelDensity!=`number`||e.labelDensity<0)throw Error("Settings: invalid `labelDensity`. Expecting a positive number.");var t=e.minCameraRatio,n=e.maxCameraRatio;if(typeof t==`number`&&typeof n==`number`&&n<t)throw Error("Settings: invalid camera ratio boundaries. Expecting `maxCameraRatio` to be greater than `minCameraRatio`.")}function kf(e){var t=wf({},Tf,e);return t.nodeProgramClasses=wf({},Ef,t.nodeProgramClasses),t.edgeProgramClasses=wf({},Df,t.edgeProgramClasses),t}var Af=1.5,jf=function(e){function t(){var e;return Au(this,t),e=Lu(this,t),sd(e,`x`,.5),sd(e,`y`,.5),sd(e,`angle`,0),sd(e,`ratio`,1),sd(e,`minRatio`,null),sd(e,`maxRatio`,null),sd(e,`enabledZooming`,!0),sd(e,`enabledPanning`,!0),sd(e,`enabledRotation`,!0),sd(e,`clean`,null),sd(e,`nextFrame`,null),sd(e,`previousState`,null),sd(e,`enabled`,!0),e.previousState=e.getState(),e}return zu(t,e),Mu(t,[{key:`enable`,value:function(){return this.enabled=!0,this}},{key:`disable`,value:function(){return this.enabled=!1,this}},{key:`getState`,value:function(){return{x:this.x,y:this.y,angle:this.angle,ratio:this.ratio}}},{key:`hasState`,value:function(e){return this.x===e.x&&this.y===e.y&&this.ratio===e.ratio&&this.angle===e.angle}},{key:`getPreviousState`,value:function(){var e=this.previousState;return e?{x:e.x,y:e.y,angle:e.angle,ratio:e.ratio}:null}},{key:`getBoundedRatio`,value:function(e){var t=e;return typeof this.minRatio==`number`&&(t=Math.max(t,this.minRatio)),typeof this.maxRatio==`number`&&(t=Math.min(t,this.maxRatio)),t}},{key:`validateState`,value:function(e){var t={};return this.enabledPanning&&typeof e.x==`number`&&(t.x=e.x),this.enabledPanning&&typeof e.y==`number`&&(t.y=e.y),this.enabledZooming&&typeof e.ratio==`number`&&(t.ratio=this.getBoundedRatio(e.ratio)),this.enabledRotation&&typeof e.angle==`number`&&(t.angle=e.angle),this.clean?this.clean(ld(ld({},this.getState()),t)):t}},{key:`isAnimated`,value:function(){return!!this.nextFrame}},{key:`setState`,value:function(e){if(!this.enabled)return this;this.previousState=this.getState();var t=this.validateState(e);return typeof t.x==`number`&&(this.x=t.x),typeof t.y==`number`&&(this.y=t.y),typeof t.ratio==`number`&&(this.ratio=t.ratio),typeof t.angle==`number`&&(this.angle=t.angle),this.hasState(this.previousState)||this.emit(`updated`,this.getState()),this}},{key:`updateState`,value:function(e){return this.setState(e(this.getState())),this}},{key:`animate`,value:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!r)return new Promise(function(r){return t.animate(e,n,r)});if(this.enabled){var i=ld(ld({},hee),n),a=this.validateState(e),o=typeof i.easing==`function`?i.easing:of[i.easing],s=Date.now(),c=this.getState(),l=function(){var e=(Date.now()-s)/i.duration;if(e>=1){t.nextFrame=null,t.setState(a),t.animationCallback&&=(t.animationCallback.call(null),void 0);return}var n=o(e),r={};typeof a.x==`number`&&(r.x=c.x+(a.x-c.x)*n),typeof a.y==`number`&&(r.y=c.y+(a.y-c.y)*n),t.enabledRotation&&typeof a.angle==`number`&&(r.angle=c.angle+(a.angle-c.angle)*n),typeof a.ratio==`number`&&(r.ratio=c.ratio+(a.ratio-c.ratio)*n),t.setState(r),t.nextFrame=requestAnimationFrame(l)};this.nextFrame?(cancelAnimationFrame(this.nextFrame),this.animationCallback&&this.animationCallback.call(null),this.nextFrame=requestAnimationFrame(l)):l(),this.animationCallback=r}}},{key:`animatedZoom`,value:function(e){return e?typeof e==`number`?this.animate({ratio:this.ratio/e}):this.animate({ratio:this.ratio/(e.factor||Af)},e):this.animate({ratio:this.ratio/Af})}},{key:`animatedUnzoom`,value:function(e){return e?typeof e==`number`?this.animate({ratio:this.ratio*e}):this.animate({ratio:this.ratio*(e.factor||Af)},e):this.animate({ratio:this.ratio*Af})}},{key:`animatedReset`,value:function(e){return this.animate({x:.5,y:.5,ratio:1,angle:0},e)}},{key:`copy`,value:function(){return t.from(this.getState())}}],[{key:`from`,value:function(e){return new t().setState(e)}}])}(af);function Mf(e,t){var n=t.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}function Nf(e,t){var n=ld(ld({},Mf(e,t)),{},{sigmaDefaultPrevented:!1,preventSigmaDefault:function(){n.sigmaDefaultPrevented=!0},original:e});return n}function Pf(e){var t=`x`in e?e:ld(ld({},e.touches[0]||e.previousTouches[0]),{},{original:e.original,sigmaDefaultPrevented:e.sigmaDefaultPrevented,preventSigmaDefault:function(){e.sigmaDefaultPrevented=!0,t.sigmaDefaultPrevented=!0}});return t}function Ff(e,t){return ld(ld({},Nf(e,t)),{},{delta:zf(e)})}var If=2;function Lf(e){for(var t=[],n=0,r=Math.min(e.length,If);n<r;n++)t.push(e[n]);return t}function Rf(e,t,n){var r={touches:Lf(e.touches).map(function(e){return Mf(e,n)}),previousTouches:t.map(function(e){return Mf(e,n)}),sigmaDefaultPrevented:!1,preventSigmaDefault:function(){r.sigmaDefaultPrevented=!0},original:e};return r}function zf(e){if(e.deltaY!==void 0)return e.deltaY*-3/360;if(e.detail!==void 0)return e.detail/-9;throw Error(`Captor: could not extract delta from event.`)}var Bf=function(e){function t(e,n){var r;return Au(this,t),r=Lu(this,t),r.container=e,r.renderer=n,r}return zu(t,e),Mu(t)}(af),Vf=[`doubleClickTimeout`,`doubleClickZoomingDuration`,`doubleClickZoomingRatio`,`dragTimeout`,`draggedEventsTolerance`,`inertiaDuration`,`inertiaRatio`,`zoomDuration`,`zoomingRatio`].reduce(function(e,t){return ld(ld({},e),{},sd({},t,Tf[t]))},{}),Hf=function(e){function t(e,n){var r;return Au(this,t),r=Lu(this,t,[e,n]),sd(r,`enabled`,!0),sd(r,`draggedEvents`,0),sd(r,`downStartTime`,null),sd(r,`lastMouseX`,null),sd(r,`lastMouseY`,null),sd(r,`isMouseDown`,!1),sd(r,`isMoving`,!1),sd(r,`movingTimeout`,null),sd(r,`startCameraState`,null),sd(r,`clicks`,0),sd(r,`doubleClickTimeout`,null),sd(r,`currentWheelDirection`,0),sd(r,`settings`,Vf),r.handleClick=r.handleClick.bind(r),r.handleRightClick=r.handleRightClick.bind(r),r.handleDown=r.handleDown.bind(r),r.handleUp=r.handleUp.bind(r),r.handleMove=r.handleMove.bind(r),r.handleWheel=r.handleWheel.bind(r),r.handleLeave=r.handleLeave.bind(r),r.handleEnter=r.handleEnter.bind(r),e.addEventListener(`click`,r.handleClick,{capture:!1}),e.addEventListener(`contextmenu`,r.handleRightClick,{capture:!1}),e.addEventListener(`mousedown`,r.handleDown,{capture:!1}),e.addEventListener(`wheel`,r.handleWheel,{capture:!1}),e.addEventListener(`mouseleave`,r.handleLeave,{capture:!1}),e.addEventListener(`mouseenter`,r.handleEnter,{capture:!1}),document.addEventListener(`mousemove`,r.handleMove,{capture:!1}),document.addEventListener(`mouseup`,r.handleUp,{capture:!1}),r}return zu(t,e),Mu(t,[{key:`kill`,value:function(){var e=this.container;e.removeEventListener(`click`,this.handleClick),e.removeEventListener(`contextmenu`,this.handleRightClick),e.removeEventListener(`mousedown`,this.handleDown),e.removeEventListener(`wheel`,this.handleWheel),e.removeEventListener(`mouseleave`,this.handleLeave),e.removeEventListener(`mouseenter`,this.handleEnter),document.removeEventListener(`mousemove`,this.handleMove),document.removeEventListener(`mouseup`,this.handleUp)}},{key:`handleClick`,value:function(e){var t=this;if(this.enabled){if(this.clicks++,this.clicks===2)return this.clicks=0,typeof this.doubleClickTimeout==`number`&&(clearTimeout(this.doubleClickTimeout),this.doubleClickTimeout=null),this.handleDoubleClick(e);setTimeout(function(){t.clicks=0,t.doubleClickTimeout=null},this.settings.doubleClickTimeout),this.draggedEvents<this.settings.draggedEventsTolerance&&this.emit(`click`,Nf(e,this.container))}}},{key:`handleRightClick`,value:function(e){this.enabled&&this.emit(`rightClick`,Nf(e,this.container))}},{key:`handleDoubleClick`,value:function(e){if(this.enabled){e.preventDefault(),e.stopPropagation();var t=Nf(e,this.container);if(this.emit(`doubleClick`,t),!t.sigmaDefaultPrevented){var n=this.renderer.getCamera(),r=n.getBoundedRatio(n.getState().ratio/this.settings.doubleClickZoomingRatio);n.animate(this.renderer.getViewportZoomedState(Mf(e,this.container),r),{easing:`quadraticInOut`,duration:this.settings.doubleClickZoomingDuration})}}}},{key:`handleDown`,value:function(e){if(this.enabled){if(e.button===0){this.startCameraState=this.renderer.getCamera().getState();var t=Mf(e,this.container),n=t.x,r=t.y;this.lastMouseX=n,this.lastMouseY=r,this.draggedEvents=0,this.downStartTime=Date.now(),this.isMouseDown=!0}this.emit(`mousedown`,Nf(e,this.container))}}},{key:`handleUp`,value:function(e){var t=this;if(!(!this.enabled||!this.isMouseDown)){var n=this.renderer.getCamera();this.isMouseDown=!1,typeof this.movingTimeout==`number`&&(clearTimeout(this.movingTimeout),this.movingTimeout=null);var r=Mf(e,this.container),i=r.x,a=r.y,o=n.getState(),s=n.getPreviousState()||{x:0,y:0};this.isMoving?n.animate({x:o.x+this.settings.inertiaRatio*(o.x-s.x),y:o.y+this.settings.inertiaRatio*(o.y-s.y)},{duration:this.settings.inertiaDuration,easing:`quadraticOut`}):(this.lastMouseX!==i||this.lastMouseY!==a)&&n.setState({x:o.x,y:o.y}),this.isMoving=!1,setTimeout(function(){var e=t.draggedEvents>0;t.draggedEvents=0,e&&t.renderer.getSetting(`hideEdgesOnMove`)&&t.renderer.refresh()},0),this.emit(`mouseup`,Nf(e,this.container))}}},{key:`handleMove`,value:function(e){var t=this;if(this.enabled){var n=Nf(e,this.container);if(this.emit(`mousemovebody`,n),(e.target===this.container||e.composedPath()[0]===this.container)&&this.emit(`mousemove`,n),!n.sigmaDefaultPrevented&&this.isMouseDown){this.isMoving=!0,this.draggedEvents++,typeof this.movingTimeout==`number`&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout(function(){t.movingTimeout=null,t.isMoving=!1},this.settings.dragTimeout);var r=this.renderer.getCamera(),i=Mf(e,this.container),a=i.x,o=i.y,s=this.renderer.viewportToFramedGraph({x:this.lastMouseX,y:this.lastMouseY}),c=this.renderer.viewportToFramedGraph({x:a,y:o}),l=s.x-c.x,u=s.y-c.y,d=r.getState(),f=d.x+l,p=d.y+u;r.setState({x:f,y:p}),this.lastMouseX=a,this.lastMouseY=o,e.preventDefault(),e.stopPropagation()}}}},{key:`handleLeave`,value:function(e){this.emit(`mouseleave`,Nf(e,this.container))}},{key:`handleEnter`,value:function(e){this.emit(`mouseenter`,Nf(e,this.container))}},{key:`handleWheel`,value:function(e){var t=this,n=this.renderer.getCamera();if(!(!this.enabled||!n.enabledZooming)){var r=zf(e);if(r){var i=Ff(e,this.container);if(this.emit(`wheel`,i),i.sigmaDefaultPrevented){e.preventDefault(),e.stopPropagation();return}var a=n.getState().ratio,o=r>0?1/this.settings.zoomingRatio:this.settings.zoomingRatio,s=n.getBoundedRatio(a*o),c=r>0?1:-1,l=Date.now();a!==s&&(e.preventDefault(),e.stopPropagation(),!(this.currentWheelDirection===c&&this.lastWheelTriggerTime&&l-this.lastWheelTriggerTime<this.settings.zoomDuration/5)&&(n.animate(this.renderer.getViewportZoomedState(Mf(e,this.container),s),{easing:`quadraticOut`,duration:this.settings.zoomDuration},function(){t.currentWheelDirection=0}),this.currentWheelDirection=c,this.lastWheelTriggerTime=l))}}}},{key:`setSettings`,value:function(e){this.settings=e}}])}(Bf),Uf=[`dragTimeout`,`inertiaDuration`,`inertiaRatio`,`doubleClickTimeout`,`doubleClickZoomingRatio`,`doubleClickZoomingDuration`,`tapMoveTolerance`].reduce(function(e,t){return ld(ld({},e),{},sd({},t,Tf[t]))},{}),Wf=function(e){function t(e,n){var r;return Au(this,t),r=Lu(this,t,[e,n]),sd(r,`enabled`,!0),sd(r,`isMoving`,!1),sd(r,`hasMoved`,!1),sd(r,`touchMode`,0),sd(r,`startTouchesPositions`,[]),sd(r,`lastTouches`,[]),sd(r,`lastTap`,null),sd(r,`settings`,Uf),r.handleStart=r.handleStart.bind(r),r.handleLeave=r.handleLeave.bind(r),r.handleMove=r.handleMove.bind(r),e.addEventListener(`touchstart`,r.handleStart,{capture:!1}),e.addEventListener(`touchcancel`,r.handleLeave,{capture:!1}),document.addEventListener(`touchend`,r.handleLeave,{capture:!1,passive:!1}),document.addEventListener(`touchmove`,r.handleMove,{capture:!1,passive:!1}),r}return zu(t,e),Mu(t,[{key:`kill`,value:function(){var e=this.container;e.removeEventListener(`touchstart`,this.handleStart),e.removeEventListener(`touchcancel`,this.handleLeave),document.removeEventListener(`touchend`,this.handleLeave),document.removeEventListener(`touchmove`,this.handleMove)}},{key:`getDimensions`,value:function(){return{width:this.container.offsetWidth,height:this.container.offsetHeight}}},{key:`handleStart`,value:function(e){var t=this;if(this.enabled){e.preventDefault();var n=Lf(e.touches);if(this.touchMode=n.length,this.startCameraState=this.renderer.getCamera().getState(),this.startTouchesPositions=n.map(function(e){return Mf(e,t.container)}),this.touchMode===2){var r=Gu(this.startTouchesPositions,2),i=r[0],a=i.x,o=i.y,s=r[1],c=s.x,l=s.y;this.startTouchesAngle=Math.atan2(l-o,c-a),this.startTouchesDistance=Math.sqrt((c-a)**2+(l-o)**2)}this.emit(`touchdown`,Rf(e,this.lastTouches,this.container)),this.lastTouches=n,this.lastTouchesPositions=this.startTouchesPositions}}},{key:`handleLeave`,value:function(e){if(!(!this.enabled||!this.startTouchesPositions.length)){switch(e.cancelable&&e.preventDefault(),this.movingTimeout&&(this.isMoving=!1,clearTimeout(this.movingTimeout)),this.touchMode){case 2:if(e.touches.length===1){this.handleStart(e),e.preventDefault();break}case 1:if(this.isMoving){var t=this.renderer.getCamera(),n=t.getState(),r=t.getPreviousState()||{x:0,y:0};t.animate({x:n.x+this.settings.inertiaRatio*(n.x-r.x),y:n.y+this.settings.inertiaRatio*(n.y-r.y)},{duration:this.settings.inertiaDuration,easing:`quadraticOut`})}this.hasMoved=!1,this.isMoving=!1,this.touchMode=0;break}if(this.emit(`touchup`,Rf(e,this.lastTouches,this.container)),!e.touches.length){var i=Mf(this.lastTouches[0],this.container),a=this.startTouchesPositions[0],o=(i.x-a.x)**2+(i.y-a.y)**2;if(!e.touches.length&&o<this.settings.tapMoveTolerance**2)if(this.lastTap&&Date.now()-this.lastTap.time<this.settings.doubleClickTimeout){var s=Rf(e,this.lastTouches,this.container);if(this.emit(`doubletap`,s),this.lastTap=null,!s.sigmaDefaultPrevented){var c=this.renderer.getCamera(),l=c.getBoundedRatio(c.getState().ratio/this.settings.doubleClickZoomingRatio);c.animate(this.renderer.getViewportZoomedState(i,l),{easing:`quadraticInOut`,duration:this.settings.doubleClickZoomingDuration})}}else{var u=Rf(e,this.lastTouches,this.container);this.emit(`tap`,u),this.lastTap={time:Date.now(),position:u.touches[0]||u.previousTouches[0]}}}this.lastTouches=Lf(e.touches),this.startTouchesPositions=[]}}},{key:`handleMove`,value:function(e){var t=this;if(!(!this.enabled||!this.startTouchesPositions.length)){e.preventDefault();var n=Lf(e.touches),r=n.map(function(e){return Mf(e,t.container)}),i=this.lastTouches;this.lastTouches=n,this.lastTouchesPositions=r;var a=Rf(e,i,this.container);if(this.emit(`touchmove`,a),!a.sigmaDefaultPrevented&&(this.hasMoved||=r.some(function(e,n){var r=t.startTouchesPositions[n];return r&&(e.x!==r.x||e.y!==r.y)}),this.hasMoved)){this.isMoving=!0,this.movingTimeout&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout(function(){t.isMoving=!1},this.settings.dragTimeout);var o=this.renderer.getCamera(),s=this.startCameraState,c=this.renderer.getSetting(`stagePadding`);switch(this.touchMode){case 1:var l=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0]),u=l.x,d=l.y,f=this.renderer.viewportToFramedGraph(r[0]),p=f.x,m=f.y;o.setState({x:s.x+u-p,y:s.y+d-m});break;case 2:var h={x:.5,y:.5,angle:0,ratio:1},g=r[0],_=g.x,v=g.y,y=r[1],b=y.x,x=y.y,S=Math.atan2(x-v,b-_)-this.startTouchesAngle,ee=Math.hypot(x-v,b-_)/this.startTouchesDistance,te=o.getBoundedRatio(s.ratio/ee);h.ratio=te,h.angle=s.angle+S;var ne=this.getDimensions(),C=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0],{cameraState:s}),re=Math.min(ne.width,ne.height)-2*c,ie=re/ne.width,ae=re/ne.height,oe=te/re,se=_-re/2/ie,ce=v-re/2/ae,le=[se*Math.cos(-h.angle)-ce*Math.sin(-h.angle),ce*Math.cos(-h.angle)+se*Math.sin(-h.angle)];se=le[0],ce=le[1],h.x=C.x-se*oe,h.y=C.y+ce*oe,o.setState(h);break}}}}},{key:`setSettings`,value:function(e){this.settings=e}}])}(Bf);function Gf(e){if(Array.isArray(e))return Hu(e)}function Kf(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function qf(){throw TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jf(e){return Gf(e)||Kf(e)||Uu(e)||qf()}function Yf(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Xf(e,t){if(e==null)return{};var n,r,i=Yf(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Zf=function(){function e(t,n){Au(this,e),this.key=t,this.size=n}return Mu(e,null,[{key:`compare`,value:function(e,t){return e.size>t.size?-1:e.size<t.size||e.key>t.key?1:-1}}])}(),Qf=function(){function e(){Au(this,e),sd(this,`width`,0),sd(this,`height`,0),sd(this,`cellSize`,0),sd(this,`columns`,0),sd(this,`rows`,0),sd(this,`cells`,{})}return Mu(e,[{key:`resizeAndClear`,value:function(e,t){this.width=e.width,this.height=e.height,this.cellSize=t,this.columns=Math.ceil(e.width/t),this.rows=Math.ceil(e.height/t),this.cells={}}},{key:`getIndex`,value:function(e){var t=Math.floor(e.x/this.cellSize);return Math.floor(e.y/this.cellSize)*this.columns+t}},{key:`add`,value:function(e,t,n){var r=new Zf(e,t),i=this.getIndex(n),a=this.cells[i];a||(a=[],this.cells[i]=a),a.push(r)}},{key:`organize`,value:function(){for(var e in this.cells)this.cells[e].sort(Zf.compare)}},{key:`getLabelsToDisplay`,value:function(e,t){var n=this.cellSize*this.cellSize,r=n/e/e*t/n,i=Math.ceil(r),a=[];for(var o in this.cells)for(var s=this.cells[o],c=0;c<Math.min(i,s.length);c++)a.push(s[c].key);return a}}])}();function $f(e){var t=e.graph,n=e.hoveredNode,r=e.highlightedNodes,i=e.displayedNodeLabels,a=[];return t.forEachEdge(function(e,t,o,s){(o===n||s===n||r.has(o)||r.has(s)||i.has(o)&&i.has(s))&&a.push(e)}),a}var ep=150,tp=50,np=Object.prototype.hasOwnProperty;function rp(e,t,n){if(!np.call(n,`x`)||!np.call(n,`y`))throw Error(`Sigma: could not find a valid position (x, y) for node "${t}". All your nodes must have a number "x" and "y". Maybe your forgot to apply a layout or your "nodeReducer" is not returning the correct data?`);return n.color||=e.defaultNodeColor,!n.label&&n.label!==``&&(n.label=null),n.label!==void 0&&n.label!==null?n.label=``+n.label:n.label=null,n.size||=2,np.call(n,`hidden`)||(n.hidden=!1),np.call(n,`highlighted`)||(n.highlighted=!1),np.call(n,`forceLabel`)||(n.forceLabel=!1),(!n.type||n.type===``)&&(n.type=e.defaultNodeType),n.zIndex||=0,n}function ip(e,t,n){return n.color||=e.defaultEdgeColor,n.label||=``,n.size||=.5,np.call(n,`hidden`)||(n.hidden=!1),np.call(n,`forceLabel`)||(n.forceLabel=!1),(!n.type||n.type===``)&&(n.type=e.defaultEdgeType),n.zIndex||=0,n}var ap=function(e){function t(e,n){var r,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Au(this,t),r=Lu(this,t),sd(r,`elements`,{}),sd(r,`canvasContexts`,{}),sd(r,`webGLContexts`,{}),sd(r,`pickingLayers`,new Set),sd(r,`textures`,{}),sd(r,`frameBuffers`,{}),sd(r,`activeListeners`,{}),sd(r,`labelGrid`,new Qf),sd(r,`nodeDataCache`,{}),sd(r,`edgeDataCache`,{}),sd(r,`nodeProgramIndex`,{}),sd(r,`edgeProgramIndex`,{}),sd(r,`nodesWithForcedLabels`,new Set),sd(r,`edgesWithForcedLabels`,new Set),sd(r,`nodeExtent`,{x:[0,1],y:[0,1]}),sd(r,`nodeZExtent`,[1/0,-1/0]),sd(r,`edgeZExtent`,[1/0,-1/0]),sd(r,`matrix`,sf()),sd(r,`invMatrix`,sf()),sd(r,`correctionRatio`,1),sd(r,`customBBox`,null),sd(r,`normalizationFunction`,xf({x:[0,1],y:[0,1]})),sd(r,`graphToViewportRatio`,1),sd(r,`itemIDsIndex`,{}),sd(r,`nodeIndices`,{}),sd(r,`edgeIndices`,{}),sd(r,`width`,0),sd(r,`height`,0),sd(r,`pixelRatio`,yf()),sd(r,`pickingDownSizingRatio`,2*r.pixelRatio),sd(r,`displayedNodeLabels`,new Set),sd(r,`displayedEdgeLabels`,new Set),sd(r,`highlightedNodes`,new Set),sd(r,`hoveredNode`,null),sd(r,`hoveredEdge`,null),sd(r,`renderFrame`,null),sd(r,`renderHighlightedNodesFrame`,null),sd(r,`needToProcess`,!1),sd(r,`checkEdgesEventsFrame`,null),sd(r,`nodePrograms`,{}),sd(r,`nodeHoverPrograms`,{}),sd(r,`edgePrograms`,{}),r.settings=kf(i),Of(r.settings),_f(e),!(n instanceof HTMLElement))throw Error(`Sigma: container should be an html element.`);for(var a in r.graph=e,r.container=n,r.createWebGLContext(`edges`,{picking:i.enableEdgeEvents}),r.createCanvasContext(`edgeLabels`),r.createWebGLContext(`nodes`,{picking:!0}),r.createCanvasContext(`labels`),r.createCanvasContext(`hovers`),r.createWebGLContext(`hoverNodes`),r.createCanvasContext(`mouse`,{style:{touchAction:`none`,userSelect:`none`}}),r.resize(),r.settings.nodeProgramClasses)r.registerNodeProgram(a,r.settings.nodeProgramClasses[a],r.settings.nodeHoverProgramClasses[a]);for(var o in r.settings.edgeProgramClasses)r.registerEdgeProgram(o,r.settings.edgeProgramClasses[o]);return r.camera=new jf,r.bindCameraHandlers(),r.mouseCaptor=new Hf(r.elements.mouse,r),r.mouseCaptor.setSettings(r.settings),r.touchCaptor=new Wf(r.elements.mouse,r),r.touchCaptor.setSettings(r.settings),r.bindEventHandlers(),r.bindGraphHandlers(),r.handleSettingsUpdate(),r.refresh(),r}return zu(t,e),Mu(t,[{key:`registerNodeProgram`,value:function(e,t,n){return this.nodePrograms[e]&&this.nodePrograms[e].kill(),this.nodeHoverPrograms[e]&&this.nodeHoverPrograms[e].kill(),this.nodePrograms[e]=new t(this.webGLContexts.nodes,this.frameBuffers.nodes,this),this.nodeHoverPrograms[e]=new(n||t)(this.webGLContexts.hoverNodes,null,this),this}},{key:`registerEdgeProgram`,value:function(e,t){return this.edgePrograms[e]&&this.edgePrograms[e].kill(),this.edgePrograms[e]=new t(this.webGLContexts.edges,this.frameBuffers.edges,this),this}},{key:`unregisterNodeProgram`,value:function(e){if(this.nodePrograms[e]){var t=this.nodePrograms,n=t[e],r=Xf(t,[e].map(ku));n.kill(),this.nodePrograms=r}if(this.nodeHoverPrograms[e]){var i=this.nodeHoverPrograms,a=i[e],o=Xf(i,[e].map(ku));a.kill(),this.nodePrograms=o}return this}},{key:`unregisterEdgeProgram`,value:function(e){if(this.edgePrograms[e]){var t=this.edgePrograms,n=t[e],r=Xf(t,[e].map(ku));n.kill(),this.edgePrograms=r}return this}},{key:`resetWebGLTexture`,value:function(e){var t=this.webGLContexts[e],n=this.frameBuffers[e],r=this.textures[e];r&&t.deleteTexture(r);var i=t.createTexture();return t.bindFramebuffer(t.FRAMEBUFFER,n),t.bindTexture(t.TEXTURE_2D,i),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,this.width,this.height,0,t.RGBA,t.UNSIGNED_BYTE,null),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,i,0),this.textures[e]=i,this}},{key:`bindCameraHandlers`,value:function(){var e=this;return this.activeListeners.camera=function(){e.scheduleRender()},this.camera.on(`updated`,this.activeListeners.camera),this}},{key:`unbindCameraHandlers`,value:function(){return this.camera.removeListener(`updated`,this.activeListeners.camera),this}},{key:`getNodeAtPosition`,value:function(e){var t=e.x,n=e.y,r=od(this.webGLContexts.nodes,this.frameBuffers.nodes,t,n,this.pixelRatio,this.pickingDownSizingRatio),i=ad.apply(void 0,Jf(r)),a=this.itemIDsIndex[i];return a&&a.type===`node`?a.id:null}},{key:`bindEventHandlers`,value:function(){var e=this;this.activeListeners.handleResize=function(){e.scheduleRefresh()},window.addEventListener(`resize`,this.activeListeners.handleResize),this.activeListeners.handleMove=function(t){var n=Pf(t),r={event:n,preventSigmaDefault:function(){n.preventSigmaDefault()}},i=e.getNodeAtPosition(n);if(i&&e.hoveredNode!==i&&!e.nodeDataCache[i].hidden){e.hoveredNode&&e.emit(`leaveNode`,ld(ld({},r),{},{node:e.hoveredNode})),e.hoveredNode=i,e.emit(`enterNode`,ld(ld({},r),{},{node:i})),e.scheduleHighlightedNodesRender();return}if(e.hoveredNode&&e.getNodeAtPosition(n)!==e.hoveredNode){var a=e.hoveredNode;e.hoveredNode=null,e.emit(`leaveNode`,ld(ld({},r),{},{node:a})),e.scheduleHighlightedNodesRender();return}if(e.settings.enableEdgeEvents){var o=e.hoveredNode?null:e.getEdgeAtPoint(r.event.x,r.event.y);o!==e.hoveredEdge&&(e.hoveredEdge&&e.emit(`leaveEdge`,ld(ld({},r),{},{edge:e.hoveredEdge})),o&&e.emit(`enterEdge`,ld(ld({},r),{},{edge:o})),e.hoveredEdge=o)}},this.activeListeners.handleMoveBody=function(t){var n=Pf(t);e.emit(`moveBody`,{event:n,preventSigmaDefault:function(){n.preventSigmaDefault()}})},this.activeListeners.handleLeave=function(t){var n=Pf(t),r={event:n,preventSigmaDefault:function(){n.preventSigmaDefault()}};e.hoveredNode&&(e.emit(`leaveNode`,ld(ld({},r),{},{node:e.hoveredNode})),e.scheduleHighlightedNodesRender()),e.settings.enableEdgeEvents&&e.hoveredEdge&&(e.emit(`leaveEdge`,ld(ld({},r),{},{edge:e.hoveredEdge})),e.scheduleHighlightedNodesRender()),e.emit(`leaveStage`,ld({},r))},this.activeListeners.handleEnter=function(t){var n=Pf(t),r={event:n,preventSigmaDefault:function(){n.preventSigmaDefault()}};e.emit(`enterStage`,ld({},r))};var t=function(t){return function(n){var r=Pf(n),i={event:r,preventSigmaDefault:function(){r.preventSigmaDefault()}},a=e.getNodeAtPosition(r);if(a)return e.emit(`${t}Node`,ld(ld({},i),{},{node:a}));if(e.settings.enableEdgeEvents){var o=e.getEdgeAtPoint(r.x,r.y);if(o)return e.emit(`${t}Edge`,ld(ld({},i),{},{edge:o}))}return e.emit(`${t}Stage`,i)}};return this.activeListeners.handleClick=t(`click`),this.activeListeners.handleRightClick=t(`rightClick`),this.activeListeners.handleDoubleClick=t(`doubleClick`),this.activeListeners.handleWheel=t(`wheel`),this.activeListeners.handleDown=t(`down`),this.activeListeners.handleUp=t(`up`),this.mouseCaptor.on(`mousemove`,this.activeListeners.handleMove),this.mouseCaptor.on(`mousemovebody`,this.activeListeners.handleMoveBody),this.mouseCaptor.on(`click`,this.activeListeners.handleClick),this.mouseCaptor.on(`rightClick`,this.activeListeners.handleRightClick),this.mouseCaptor.on(`doubleClick`,this.activeListeners.handleDoubleClick),this.mouseCaptor.on(`wheel`,this.activeListeners.handleWheel),this.mouseCaptor.on(`mousedown`,this.activeListeners.handleDown),this.mouseCaptor.on(`mouseup`,this.activeListeners.handleUp),this.mouseCaptor.on(`mouseleave`,this.activeListeners.handleLeave),this.mouseCaptor.on(`mouseenter`,this.activeListeners.handleEnter),this.touchCaptor.on(`touchdown`,this.activeListeners.handleDown),this.touchCaptor.on(`touchdown`,this.activeListeners.handleMove),this.touchCaptor.on(`touchup`,this.activeListeners.handleUp),this.touchCaptor.on(`touchmove`,this.activeListeners.handleMove),this.touchCaptor.on(`tap`,this.activeListeners.handleClick),this.touchCaptor.on(`doubletap`,this.activeListeners.handleDoubleClick),this.touchCaptor.on(`touchmove`,this.activeListeners.handleMoveBody),this}},{key:`bindGraphHandlers`,value:function(){var e=this,t=this.graph,n=new Set([`x`,`y`,`zIndex`,`type`]);return this.activeListeners.eachNodeAttributesUpdatedGraphUpdate=function(r){var i=r.hints?.attributes;e.graph.forEachNode(function(t){return e.updateNode(t)});var a=!i||i.some(function(e){return n.has(e)});e.refresh({partialGraph:{nodes:t.nodes()},skipIndexation:!a,schedule:!0})},this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate=function(n){var r=n.hints?.attributes;e.graph.forEachEdge(function(t){return e.updateEdge(t)});var i=r&&[`zIndex`,`type`].some(function(e){return r?.includes(e)});e.refresh({partialGraph:{edges:t.edges()},skipIndexation:!i,schedule:!0})},this.activeListeners.addNodeGraphUpdate=function(t){var n=t.key;e.addNode(n),e.refresh({partialGraph:{nodes:[n]},skipIndexation:!1,schedule:!0})},this.activeListeners.updateNodeGraphUpdate=function(t){var n=t.key;e.refresh({partialGraph:{nodes:[n]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropNodeGraphUpdate=function(t){var n=t.key;e.removeNode(n),e.refresh({schedule:!0})},this.activeListeners.addEdgeGraphUpdate=function(t){var n=t.key;e.addEdge(n),e.refresh({partialGraph:{edges:[n]},schedule:!0})},this.activeListeners.updateEdgeGraphUpdate=function(t){var n=t.key;e.refresh({partialGraph:{edges:[n]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropEdgeGraphUpdate=function(t){var n=t.key;e.removeEdge(n),e.refresh({schedule:!0})},this.activeListeners.clearEdgesGraphUpdate=function(){e.clearEdgeState(),e.clearEdgeIndices(),e.refresh({schedule:!0})},this.activeListeners.clearGraphUpdate=function(){e.clearEdgeState(),e.clearNodeState(),e.clearEdgeIndices(),e.clearNodeIndices(),e.refresh({schedule:!0})},t.on(`nodeAdded`,this.activeListeners.addNodeGraphUpdate),t.on(`nodeDropped`,this.activeListeners.dropNodeGraphUpdate),t.on(`nodeAttributesUpdated`,this.activeListeners.updateNodeGraphUpdate),t.on(`eachNodeAttributesUpdated`,this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),t.on(`edgeAdded`,this.activeListeners.addEdgeGraphUpdate),t.on(`edgeDropped`,this.activeListeners.dropEdgeGraphUpdate),t.on(`edgeAttributesUpdated`,this.activeListeners.updateEdgeGraphUpdate),t.on(`eachEdgeAttributesUpdated`,this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),t.on(`edgesCleared`,this.activeListeners.clearEdgesGraphUpdate),t.on(`cleared`,this.activeListeners.clearGraphUpdate),this}},{key:`unbindGraphHandlers`,value:function(){var e=this.graph;e.removeListener(`nodeAdded`,this.activeListeners.addNodeGraphUpdate),e.removeListener(`nodeDropped`,this.activeListeners.dropNodeGraphUpdate),e.removeListener(`nodeAttributesUpdated`,this.activeListeners.updateNodeGraphUpdate),e.removeListener(`eachNodeAttributesUpdated`,this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),e.removeListener(`edgeAdded`,this.activeListeners.addEdgeGraphUpdate),e.removeListener(`edgeDropped`,this.activeListeners.dropEdgeGraphUpdate),e.removeListener(`edgeAttributesUpdated`,this.activeListeners.updateEdgeGraphUpdate),e.removeListener(`eachEdgeAttributesUpdated`,this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),e.removeListener(`edgesCleared`,this.activeListeners.clearEdgesGraphUpdate),e.removeListener(`cleared`,this.activeListeners.clearGraphUpdate)}},{key:`getEdgeAtPoint`,value:function(e,t){var n=od(this.webGLContexts.edges,this.frameBuffers.edges,e,t,this.pixelRatio,this.pickingDownSizingRatio),r=ad.apply(void 0,Jf(n)),i=this.itemIDsIndex[r];return i&&i.type===`edge`?i.id:null}},{key:`process`,value:function(){var e=this;this.emit(`beforeProcess`);var t=this.graph,n=this.settings,r=this.getDimensions();if(this.nodeExtent=gf(this.graph),!this.settings.autoRescale){var i=r.width,a=r.height,o=this.nodeExtent,s=o.x,c=o.y;this.nodeExtent={x:[(s[0]+s[1])/2-i/2,(s[0]+s[1])/2+i/2],y:[(c[0]+c[1])/2-a/2,(c[0]+c[1])/2+a/2]}}this.normalizationFunction=xf(this.customBBox||this.nodeExtent);var l=mf(new jf().getState(),r,this.getGraphDimensions(),this.getStagePadding());this.labelGrid.resizeAndClear(r,n.labelGridCellSize);for(var u={},d={},f={},p={},m=1,h=t.nodes(),g=0,_=h.length;g<_;g++){var v=h[g],y=this.nodeDataCache[v],b=t.getNodeAttributes(v);y.x=b.x,y.y=b.y,this.normalizationFunction.applyTo(y),typeof y.label==`string`&&!y.hidden&&this.labelGrid.add(v,y.size,this.framedGraphToViewport(y,{matrix:l})),u[y.type]=(u[y.type]||0)+1}for(var x in this.labelGrid.organize(),this.nodePrograms){if(!np.call(this.nodePrograms,x))throw Error(`Sigma: could not find a suitable program for node type "${x}"!`);this.nodePrograms[x].reallocate(u[x]||0),u[x]=0}this.settings.zIndex&&this.nodeZExtent[0]!==this.nodeZExtent[1]&&(h=bf(this.nodeZExtent,function(t){return e.nodeDataCache[t].zIndex},h));for(var S=0,ee=h.length;S<ee;S++){var te=h[S];d[te]=m,p[d[te]]={type:`node`,id:te},m++;var ne=this.nodeDataCache[te];this.addNodeToProgram(te,d[te],u[ne.type]++)}for(var C={},re=t.edges(),ie=0,ae=re.length;ie<ae;ie++){var oe=re[ie],se=this.edgeDataCache[oe];C[se.type]=(C[se.type]||0)+1}for(var ce in this.settings.zIndex&&this.edgeZExtent[0]!==this.edgeZExtent[1]&&(re=bf(this.edgeZExtent,function(t){return e.edgeDataCache[t].zIndex},re)),this.edgePrograms){if(!np.call(this.edgePrograms,ce))throw Error(`Sigma: could not find a suitable program for edge type "${ce}"!`);this.edgePrograms[ce].reallocate(C[ce]||0),C[ce]=0}for(var le=0,ue=re.length;le<ue;le++){var de=re[le];f[de]=m,p[f[de]]={type:`edge`,id:de},m++;var fe=this.edgeDataCache[de];this.addEdgeToProgram(de,f[de],C[fe.type]++)}return this.itemIDsIndex=p,this.nodeIndices=d,this.edgeIndices=f,this.emit(`afterProcess`),this}},{key:`handleSettingsUpdate`,value:function(e){var t=this,n=this.settings;if(this.camera.minRatio=n.minCameraRatio,this.camera.maxRatio=n.maxCameraRatio,this.camera.enabledZooming=n.enableCameraZooming,this.camera.enabledPanning=n.enableCameraPanning,this.camera.enabledRotation=n.enableCameraRotation,n.cameraPanBoundaries?this.camera.clean=function(e){return t.cleanCameraState(e,n.cameraPanBoundaries&&Sf(n.cameraPanBoundaries)===`object`?n.cameraPanBoundaries:{})}:this.camera.clean=null,this.camera.setState(this.camera.validateState(this.camera.getState())),e){if(e.edgeProgramClasses!==n.edgeProgramClasses){for(var r in n.edgeProgramClasses)n.edgeProgramClasses[r]!==e.edgeProgramClasses[r]&&this.registerEdgeProgram(r,n.edgeProgramClasses[r]);for(var i in e.edgeProgramClasses)n.edgeProgramClasses[i]||this.unregisterEdgeProgram(i)}if(e.nodeProgramClasses!==n.nodeProgramClasses||e.nodeHoverProgramClasses!==n.nodeHoverProgramClasses){for(var a in n.nodeProgramClasses)(n.nodeProgramClasses[a]!==e.nodeProgramClasses[a]||n.nodeHoverProgramClasses[a]!==e.nodeHoverProgramClasses[a])&&this.registerNodeProgram(a,n.nodeProgramClasses[a],n.nodeHoverProgramClasses[a]);for(var o in e.nodeProgramClasses)n.nodeProgramClasses[o]||this.unregisterNodeProgram(o)}}return this.mouseCaptor.setSettings(this.settings),this.touchCaptor.setSettings(this.settings),this}},{key:`cleanCameraState`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.tolerance,r=n===void 0?0:n,i=t.boundaries,a=ld({},e),o=i||this.nodeExtent,s=Gu(o.x,2),c=s[0],l=s[1],u=Gu(o.y,2),d=u[0],f=u[1],p=[this.graphToViewport({x:c,y:d},{cameraState:e}),this.graphToViewport({x:l,y:d},{cameraState:e}),this.graphToViewport({x:c,y:f},{cameraState:e}),this.graphToViewport({x:l,y:f},{cameraState:e})],m=1/0,h=-1/0,g=1/0,_=-1/0;p.forEach(function(e){var t=e.x,n=e.y;m=Math.min(m,t),h=Math.max(h,t),g=Math.min(g,n),_=Math.max(_,n)});var v=h-m,y=_-g,b=this.getDimensions(),x=b.width,S=b.height,ee=0,te=0;if(v>=x?h<x-r?ee=h-(x-r):m>r&&(ee=m-r):h>x+r?ee=h-(x+r):m<-r&&(ee=m+r),y>=S?_<S-r?te=_-(S-r):g>r&&(te=g-r):_>S+r?te=_-(S+r):g<-r&&(te=g+r),ee||te){var ne=this.viewportToFramedGraph({x:0,y:0},{cameraState:e}),C=this.viewportToFramedGraph({x:ee,y:te},{cameraState:e});ee=C.x-ne.x,te=C.y-ne.y,a.x+=ee,a.y+=te}return a}},{key:`renderLabels`,value:function(){if(!this.settings.renderLabels)return this;var e=this.camera.getState(),t=this.labelGrid.getLabelsToDisplay(e.ratio,this.settings.labelDensity);Cf(t,this.nodesWithForcedLabels),this.displayedNodeLabels=new Set;for(var n=this.canvasContexts.labels,r=0,i=t.length;r<i;r++){var a=t[r],o=this.nodeDataCache[a];if(!this.displayedNodeLabels.has(a)&&!o.hidden){var s=this.framedGraphToViewport(o),c=s.x,l=s.y,u=this.scaleSize(o.size);if(!(!o.forceLabel&&u<this.settings.labelRenderedSizeThreshold)&&!(c<-ep||c>this.width+ep||l<-tp||l>this.height+tp)){this.displayedNodeLabels.add(a);var d=this.settings.defaultDrawNodeLabel;(this.nodePrograms[o.type]?.drawLabel||d)(n,ld(ld({key:a},o),{},{size:u,x:c,y:l}),this.settings)}}}return this}},{key:`renderEdgeLabels`,value:function(){if(!this.settings.renderEdgeLabels)return this;var e=this.canvasContexts.edgeLabels;e.clearRect(0,0,this.width,this.height);var t=$f({graph:this.graph,hoveredNode:this.hoveredNode,displayedNodeLabels:this.displayedNodeLabels,highlightedNodes:this.highlightedNodes});Cf(t,this.edgesWithForcedLabels);for(var n=new Set,r=0,i=t.length;r<i;r++){var a=t[r],o=this.graph.extremities(a),s=this.nodeDataCache[o[0]],c=this.nodeDataCache[o[1]],l=this.edgeDataCache[a];if(!n.has(a)&&!(l.hidden||s.hidden||c.hidden)){var u=this.settings.defaultDrawEdgeLabel;(this.edgePrograms[l.type]?.drawLabel||u)(e,ld(ld({key:a},l),{},{size:this.scaleSize(l.size)}),ld(ld(ld({key:o[0]},s),this.framedGraphToViewport(s)),{},{size:this.scaleSize(s.size)}),ld(ld(ld({key:o[1]},c),this.framedGraphToViewport(c)),{},{size:this.scaleSize(c.size)}),this.settings),n.add(a)}}return this.displayedEdgeLabels=n,this}},{key:`renderHighlightedNodes`,value:function(){var e=this,t=this.canvasContexts.hovers;t.clearRect(0,0,this.width,this.height);var n=function(n){var r=e.nodeDataCache[n],i=e.framedGraphToViewport(r),a=i.x,o=i.y,s=e.scaleSize(r.size),c=e.settings.defaultDrawNodeHover;(e.nodePrograms[r.type]?.drawHover||c)(t,ld(ld({key:n},r),{},{size:s,x:a,y:o}),e.settings)},r=[];this.hoveredNode&&!this.nodeDataCache[this.hoveredNode].hidden&&r.push(this.hoveredNode),this.highlightedNodes.forEach(function(t){t!==e.hoveredNode&&r.push(t)}),r.forEach(function(e){return n(e)});var i={};for(var a in r.forEach(function(t){var n=e.nodeDataCache[t].type;i[n]=(i[n]||0)+1}),this.nodeHoverPrograms)this.nodeHoverPrograms[a].reallocate(i[a]||0),i[a]=0;r.forEach(function(t){var n=e.nodeDataCache[t];e.nodeHoverPrograms[n.type].process(0,i[n.type]++,n)}),this.webGLContexts.hoverNodes.clear(this.webGLContexts.hoverNodes.COLOR_BUFFER_BIT);var o=this.getRenderParams();for(var s in this.nodeHoverPrograms)this.nodeHoverPrograms[s].render(o)}},{key:`scheduleHighlightedNodesRender`,value:function(){var e=this;this.renderHighlightedNodesFrame||this.renderFrame||(this.renderHighlightedNodesFrame=requestAnimationFrame(function(){e.renderHighlightedNodesFrame=null,e.renderHighlightedNodes(),e.renderEdgeLabels()}))}},{key:`render`,value:function(){var e=this;this.emit(`beforeRender`);var t=function(){return e.emit(`afterRender`),e};if(this.renderFrame&&=(cancelAnimationFrame(this.renderFrame),null),this.resize(),this.needToProcess&&this.process(),this.needToProcess=!1,this.clear(),this.pickingLayers.forEach(function(t){return e.resetWebGLTexture(t)}),!this.graph.order)return t();var n=this.mouseCaptor,r=this.camera.isAnimated()||n.isMoving||n.draggedEvents||n.currentWheelDirection,i=this.camera.getState(),a=this.getDimensions(),o=this.getGraphDimensions(),s=this.getStagePadding();this.matrix=mf(i,a,o,s),this.invMatrix=mf(i,a,o,s,!0),this.correctionRatio=hf(this.matrix,i,a),this.graphToViewportRatio=this.getGraphToViewportRatio();var c=this.getRenderParams();for(var l in this.nodePrograms)this.nodePrograms[l].render(c);if(!this.settings.hideEdgesOnMove||!r)for(var u in this.edgePrograms)this.edgePrograms[u].render(c);return this.settings.hideLabelsOnMove&&r?t():(this.renderLabels(),this.renderEdgeLabels(),this.renderHighlightedNodes(),t())}},{key:`addNode`,value:function(e){var t=Object.assign({},this.graph.getNodeAttributes(e));this.settings.nodeReducer&&(t=this.settings.nodeReducer(e,t));var n=rp(this.settings,e,t);this.nodeDataCache[e]=n,this.nodesWithForcedLabels.delete(e),n.forceLabel&&!n.hidden&&this.nodesWithForcedLabels.add(e),this.highlightedNodes.delete(e),n.highlighted&&!n.hidden&&this.highlightedNodes.add(e),this.settings.zIndex&&(n.zIndex<this.nodeZExtent[0]&&(this.nodeZExtent[0]=n.zIndex),n.zIndex>this.nodeZExtent[1]&&(this.nodeZExtent[1]=n.zIndex))}},{key:`updateNode`,value:function(e){this.addNode(e);var t=this.nodeDataCache[e];this.normalizationFunction.applyTo(t)}},{key:`removeNode`,value:function(e){delete this.nodeDataCache[e],delete this.nodeProgramIndex[e],this.highlightedNodes.delete(e),this.hoveredNode===e&&(this.hoveredNode=null),this.nodesWithForcedLabels.delete(e)}},{key:`addEdge`,value:function(e){var t=Object.assign({},this.graph.getEdgeAttributes(e));this.settings.edgeReducer&&(t=this.settings.edgeReducer(e,t));var n=ip(this.settings,e,t);this.edgeDataCache[e]=n,this.edgesWithForcedLabels.delete(e),n.forceLabel&&!n.hidden&&this.edgesWithForcedLabels.add(e),this.settings.zIndex&&(n.zIndex<this.edgeZExtent[0]&&(this.edgeZExtent[0]=n.zIndex),n.zIndex>this.edgeZExtent[1]&&(this.edgeZExtent[1]=n.zIndex))}},{key:`updateEdge`,value:function(e){this.addEdge(e)}},{key:`removeEdge`,value:function(e){delete this.edgeDataCache[e],delete this.edgeProgramIndex[e],this.hoveredEdge===e&&(this.hoveredEdge=null),this.edgesWithForcedLabels.delete(e)}},{key:`clearNodeIndices`,value:function(){this.labelGrid=new Qf,this.nodeExtent={x:[0,1],y:[0,1]},this.nodeDataCache={},this.edgeProgramIndex={},this.nodesWithForcedLabels=new Set,this.nodeZExtent=[1/0,-1/0],this.highlightedNodes=new Set}},{key:`clearEdgeIndices`,value:function(){this.edgeDataCache={},this.edgeProgramIndex={},this.edgesWithForcedLabels=new Set,this.edgeZExtent=[1/0,-1/0]}},{key:`clearIndices`,value:function(){this.clearEdgeIndices(),this.clearNodeIndices()}},{key:`clearNodeState`,value:function(){this.displayedNodeLabels=new Set,this.highlightedNodes=new Set,this.hoveredNode=null}},{key:`clearEdgeState`,value:function(){this.displayedEdgeLabels=new Set,this.highlightedNodes=new Set,this.hoveredEdge=null}},{key:`clearState`,value:function(){this.clearEdgeState(),this.clearNodeState()}},{key:`addNodeToProgram`,value:function(e,t,n){var r=this.nodeDataCache[e],i=this.nodePrograms[r.type];if(!i)throw Error(`Sigma: could not find a suitable program for node type "${r.type}"!`);i.process(t,n,r),this.nodeProgramIndex[e]=n}},{key:`addEdgeToProgram`,value:function(e,t,n){var r=this.edgeDataCache[e],i=this.edgePrograms[r.type];if(!i)throw Error(`Sigma: could not find a suitable program for edge type "${r.type}"!`);var a=this.graph.extremities(e),o=this.nodeDataCache[a[0]],s=this.nodeDataCache[a[1]];i.process(t,n,o,s,r),this.edgeProgramIndex[e]=n}},{key:`getRenderParams`,value:function(){return{matrix:this.matrix,invMatrix:this.invMatrix,width:this.width,height:this.height,pixelRatio:this.pixelRatio,zoomRatio:this.camera.ratio,cameraAngle:this.camera.angle,sizeRatio:1/this.scaleSize(),correctionRatio:this.correctionRatio,downSizingRatio:this.pickingDownSizingRatio,minEdgeThickness:this.settings.minEdgeThickness,antiAliasingFeather:this.settings.antiAliasingFeather}}},{key:`getStagePadding`,value:function(){var e=this.settings,t=e.stagePadding;return e.autoRescale&&t||0}},{key:`createLayer`,value:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.elements[e])throw Error(`Sigma: a layer named "${e}" already exists`);var r=vf(t,{position:`absolute`},{class:`sigma-${e}`});return n.style&&Object.assign(r.style,n.style),this.elements[e]=r,`beforeLayer`in n&&n.beforeLayer?this.elements[n.beforeLayer].before(r):`afterLayer`in n&&n.afterLayer?this.elements[n.afterLayer].after(r):this.container.appendChild(r),r}},{key:`createCanvas`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.createLayer(e,`canvas`,t)}},{key:`createCanvasContext`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.createCanvas(e,t),r={preserveDrawingBuffer:!1,antialias:!1};return this.canvasContexts[e]=n.getContext(`2d`,r),this}},{key:`createWebGLContext`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t?.canvas||this.createCanvas(e,t);t.hidden&&n.remove();var r=ld({preserveDrawingBuffer:!1,antialias:!1},t),i=n.getContext(`webgl2`,r);i||=n.getContext(`webgl`,r),i||=n.getContext(`experimental-webgl`,r);var a=i;if(this.webGLContexts[e]=a,a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA),t.picking){this.pickingLayers.add(e);var o=a.createFramebuffer();if(!o)throw Error(`Sigma: cannot create a new frame buffer for layer ${e}`);this.frameBuffers[e]=o}return a}},{key:`killLayer`,value:function(e){var t=this.elements[e];if(!t)throw Error(`Sigma: cannot kill layer ${e}, which does not exist`);if(this.webGLContexts[e]){var n;(n=this.webGLContexts[e].getExtension(`WEBGL_lose_context`))==null||n.loseContext(),delete this.webGLContexts[e]}else this.canvasContexts[e]&&delete this.canvasContexts[e];return t.remove(),delete this.elements[e],this}},{key:`getCamera`,value:function(){return this.camera}},{key:`setCamera`,value:function(e){this.unbindCameraHandlers(),this.camera=e,this.bindCameraHandlers()}},{key:`getContainer`,value:function(){return this.container}},{key:`getGraph`,value:function(){return this.graph}},{key:`setGraph`,value:function(e){e!==this.graph&&(this.hoveredNode&&!e.hasNode(this.hoveredNode)&&(this.hoveredNode=null),this.hoveredEdge&&!e.hasEdge(this.hoveredEdge)&&(this.hoveredEdge=null),this.unbindGraphHandlers(),this.checkEdgesEventsFrame!==null&&(cancelAnimationFrame(this.checkEdgesEventsFrame),this.checkEdgesEventsFrame=null),this.graph=e,this.bindGraphHandlers(),this.refresh())}},{key:`getMouseCaptor`,value:function(){return this.mouseCaptor}},{key:`getTouchCaptor`,value:function(){return this.touchCaptor}},{key:`getDimensions`,value:function(){return{width:this.width,height:this.height}}},{key:`getGraphDimensions`,value:function(){var e=this.customBBox||this.nodeExtent;return{width:e.x[1]-e.x[0]||1,height:e.y[1]-e.y[0]||1}}},{key:`getNodeDisplayData`,value:function(e){var t=this.nodeDataCache[e];return t?Object.assign({},t):void 0}},{key:`getEdgeDisplayData`,value:function(e){var t=this.edgeDataCache[e];return t?Object.assign({},t):void 0}},{key:`getNodeDisplayedLabels`,value:function(){return new Set(this.displayedNodeLabels)}},{key:`getEdgeDisplayedLabels`,value:function(){return new Set(this.displayedEdgeLabels)}},{key:`getSettings`,value:function(){return ld({},this.settings)}},{key:`getSetting`,value:function(e){return this.settings[e]}},{key:`setSetting`,value:function(e,t){var n=ld({},this.settings);return this.settings[e]=t,Of(this.settings),this.handleSettingsUpdate(n),this.scheduleRefresh(),this}},{key:`updateSetting`,value:function(e,t){return this.setSetting(e,t(this.settings[e])),this}},{key:`setSettings`,value:function(e){var t=ld({},this.settings);return this.settings=ld(ld({},this.settings),e),Of(this.settings),this.handleSettingsUpdate(t),this.scheduleRefresh(),this}},{key:`resize`,value:function(e){var t=this.width,n=this.height;if(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,this.pixelRatio=yf(),this.width===0)if(this.settings.allowInvalidContainer)this.width=1;else throw Error(`Sigma: Container has no width. You can set the allowInvalidContainer setting to true to stop seeing this error.`);if(this.height===0)if(this.settings.allowInvalidContainer)this.height=1;else throw Error(`Sigma: Container has no height. You can set the allowInvalidContainer setting to true to stop seeing this error.`);if(!e&&t===this.width&&n===this.height)return this;for(var r in this.elements){var i=this.elements[r];i.style.width=this.width+`px`,i.style.height=this.height+`px`}for(var a in this.canvasContexts)this.elements[a].setAttribute(`width`,this.width*this.pixelRatio+`px`),this.elements[a].setAttribute(`height`,this.height*this.pixelRatio+`px`),this.pixelRatio!==1&&this.canvasContexts[a].scale(this.pixelRatio,this.pixelRatio);for(var o in this.webGLContexts){this.elements[o].setAttribute(`width`,this.width*this.pixelRatio+`px`),this.elements[o].setAttribute(`height`,this.height*this.pixelRatio+`px`);var s=this.webGLContexts[o];if(s.viewport(0,0,this.width*this.pixelRatio,this.height*this.pixelRatio),this.pickingLayers.has(o)){var c=this.textures[o];c&&s.deleteTexture(c)}}return this.emit(`resize`),this}},{key:`clear`,value:function(){return this.emit(`beforeClear`),this.webGLContexts.nodes.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.nodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.edges.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.edges.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.hoverNodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.canvasContexts.labels.clearRect(0,0,this.width,this.height),this.canvasContexts.hovers.clearRect(0,0,this.width,this.height),this.canvasContexts.edgeLabels.clearRect(0,0,this.width,this.height),this.emit(`afterClear`),this}},{key:`refresh`,value:function(e){var t=this,n=e?.skipIndexation===void 0?!1:e?.skipIndexation,r=e?.schedule===void 0?!1:e.schedule,i=!e||!e.partialGraph;if(i)this.clearEdgeIndices(),this.clearNodeIndices(),this.graph.forEachNode(function(e){return t.addNode(e)}),this.graph.forEachEdge(function(e){return t.addEdge(e)});else{for(var a,o=e.partialGraph?.nodes||[],s=0,c=o?.length||0;s<c;s++){var l=o[s];if(this.updateNode(l),n){var u=this.nodeProgramIndex[l];if(u===void 0)throw Error(`Sigma: node "${l}" can't be repaint`);this.addNodeToProgram(l,this.nodeIndices[l],u)}}for(var d=(e==null||(a=e.partialGraph)==null?void 0:a.edges)||[],f=0,p=d.length;f<p;f++){var m=d[f];if(this.updateEdge(m),n){var h=this.edgeProgramIndex[m];if(h===void 0)throw Error(`Sigma: edge "${m}" can't be repaint`);this.addEdgeToProgram(m,this.edgeIndices[m],h)}}}return(i||!n)&&(this.needToProcess=!0),r?this.scheduleRender():this.render(),this}},{key:`scheduleRender`,value:function(){var e=this;return this.renderFrame||=requestAnimationFrame(function(){e.render()}),this}},{key:`scheduleRefresh`,value:function(e){return this.refresh(ld(ld({},e),{},{schedule:!0}))}},{key:`getViewportZoomedState`,value:function(e,t){var n=this.camera.getState(),r=n.ratio,i=n.angle,a=n.x,o=n.y,s=this.settings,c=s.minCameraRatio,l=s.maxCameraRatio;typeof l==`number`&&(t=Math.min(t,l)),typeof c==`number`&&(t=Math.max(t,c));var u=t/r,d={x:this.width/2,y:this.height/2},f=this.viewportToFramedGraph(e),p=this.viewportToFramedGraph(d);return{angle:i,x:(f.x-p.x)*(1-u)+a,y:(f.y-p.y)*(1-u)+o,ratio:t}}},{key:`viewRectangle`,value:function(){var e=this.viewportToFramedGraph({x:0,y:0}),t=this.viewportToFramedGraph({x:this.width,y:0}),n=this.viewportToFramedGraph({x:0,y:this.height});return{x1:e.x,y1:e.y,x2:t.x,y2:t.y,height:t.y-n.y}}},{key:`framedGraphToViewport`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=!!t.cameraState||!!t.viewportDimensions||!!t.graphDimensions,r=ff(t.matrix?t.matrix:n?mf(t.cameraState||this.camera.getState(),t.viewportDimensions||this.getDimensions(),t.graphDimensions||this.getGraphDimensions(),t.padding||this.getStagePadding()):this.matrix,e);return{x:(1+r.x)*this.width/2,y:(1-r.y)*this.height/2}}},{key:`viewportToFramedGraph`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=!!t.cameraState||!!t.viewportDimensions||!t.graphDimensions,r=ff(t.matrix?t.matrix:n?mf(t.cameraState||this.camera.getState(),t.viewportDimensions||this.getDimensions(),t.graphDimensions||this.getGraphDimensions(),t.padding||this.getStagePadding(),!0):this.invMatrix,{x:e.x/this.width*2-1,y:1-e.y/this.height*2});return isNaN(r.x)&&(r.x=0),isNaN(r.y)&&(r.y=0),r}},{key:`viewportToGraph`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.normalizationFunction.inverse(this.viewportToFramedGraph(e,t))}},{key:`graphToViewport`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.framedGraphToViewport(this.normalizationFunction(e),t)}},{key:`getGraphToViewportRatio`,value:function(){var e={x:0,y:0},t={x:1,y:1},n=Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2),r=this.graphToViewport(e),i=this.graphToViewport(t);return Math.sqrt((r.x-i.x)**2+(r.y-i.y)**2)/n}},{key:`getBBox`,value:function(){return this.nodeExtent}},{key:`getCustomBBox`,value:function(){return this.customBBox}},{key:`setCustomBBox`,value:function(e){return this.customBBox=e,this.scheduleRender(),this}},{key:`kill`,value:function(){this.emit(`kill`),this.removeAllListeners(),this.unbindCameraHandlers(),window.removeEventListener(`resize`,this.activeListeners.handleResize),this.mouseCaptor.kill(),this.touchCaptor.kill(),this.unbindGraphHandlers(),this.clearIndices(),this.clearState(),this.nodeDataCache={},this.edgeDataCache={},this.highlightedNodes.clear(),this.renderFrame&&=(cancelAnimationFrame(this.renderFrame),null),this.renderHighlightedNodesFrame&&=(cancelAnimationFrame(this.renderHighlightedNodesFrame),null);for(var e=this.container;e.firstChild;)e.removeChild(e.firstChild);for(var t in this.nodePrograms)this.nodePrograms[t].kill();for(var n in this.nodeHoverPrograms)this.nodeHoverPrograms[n].kill();for(var r in this.edgePrograms)this.edgePrograms[r].kill();for(var i in this.nodePrograms={},this.nodeHoverPrograms={},this.edgePrograms={},this.elements)this.killLayer(i);this.canvasContexts={},this.webGLContexts={},this.elements={}}},{key:`scaleSize`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.camera.ratio;return e/this.settings.zoomToSizeRatioFunction(t)*(this.getSetting(`itemSizesReference`)===`positions`?t*this.graphToViewportRatio:1)}},{key:`getCanvases`,value:function(){var e={};for(var t in this.elements)this.elements[t]instanceof HTMLCanvasElement&&(e[t]=this.elements[t]);return e}}])}(af);function op({zoomPercentage:e,onZoomIn:t,onZoomOut:n,onFitGraph:r,onFocusSelection:i,focusDisabled:a,extras:o,status:s}){return(0,T.jsxs)(`div`,{className:`graph-toolbar`,children:[(0,T.jsxs)(`div`,{className:`graph-toolbar-group`,children:[(0,T.jsx)(`button`,{className:`graph-toolbar-btn`,onClick:n,title:`Zoom out`,type:`button`,children:(0,T.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,children:(0,T.jsx)(`line`,{x1:`3`,y1:`7`,x2:`11`,y2:`7`})})}),(0,T.jsxs)(`span`,{className:`graph-toolbar-zoom`,children:[e,`%`]}),(0,T.jsx)(`button`,{className:`graph-toolbar-btn`,onClick:t,title:`Zoom in`,type:`button`,children:(0,T.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,children:[(0,T.jsx)(`line`,{x1:`3`,y1:`7`,x2:`11`,y2:`7`}),(0,T.jsx)(`line`,{x1:`7`,y1:`3`,x2:`7`,y2:`11`})]})}),(0,T.jsx)(`div`,{className:`graph-toolbar-sep`}),(0,T.jsx)(`button`,{className:`graph-toolbar-btn`,onClick:r,title:`Fit graph`,type:`button`,children:`Fit`}),i&&(0,T.jsx)(`button`,{className:`graph-toolbar-btn`,onClick:i,disabled:a,title:`Focus selection`,type:`button`,children:`Focus`})]}),o?(0,T.jsx)(`div`,{className:`graph-toolbar-extras`,children:o}):null,s?(0,T.jsx)(`div`,{className:`graph-toolbar-status`,children:s}):null]})}var sp={background:`#ffffff`,backgroundSecondary:`#f7f7f8`,text:`#1a1a1a`,textSecondary:`#6b6b76`,textTertiary:`#9b9ba7`,border:`#e5e5ea`,borderLight:`#f0f0f4`,accent:`#5856d6`,accentSoft:`#ededfc`,success:`#2ecc71`,warning:`#e67e22`,danger:`#e74c3c`,neutral:`#607187`,neutralSoft:`#8c99ab`};function cp(e,t){return typeof window>`u`?t:getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t}function lp(e){let t=e.replace(`#`,``).trim();if(t.length!==3&&t.length!==6)return null;let n=t.length===3?t.split(``).map(e=>e+e).join(``):t,r=Number.parseInt(n,16);return Number.isNaN(r)?null:[r>>16&255,r>>8&255,r&255]}function up(e,t){if(e.startsWith(`rgba(`))return e.replace(/rgba\(([^)]+),[^)]+\)/,`rgba($1, ${t})`);if(e.startsWith(`rgb(`))return`rgba(${e.slice(4,-1)}, ${t})`;let n=lp(e);return n?`rgba(${n[0]}, ${n[1]}, ${n[2]}, ${t})`:e}function dp(){return{background:cp(`--bg`,sp.background),backgroundSecondary:cp(`--bg-secondary`,sp.backgroundSecondary),text:cp(`--text`,sp.text),textSecondary:cp(`--text-secondary`,sp.textSecondary),textTertiary:cp(`--text-tertiary`,sp.textTertiary),border:cp(`--border`,sp.border),borderLight:cp(`--border-light`,sp.borderLight),accent:cp(`--accent`,sp.accent),accentSoft:cp(`--accent-light`,sp.accentSoft),success:cp(`--success`,sp.success),warning:cp(`--sev-medium`,sp.warning),danger:cp(`--sev-high`,sp.danger),neutral:sp.neutral,neutralSoft:sp.neutralSoft}}function fp(e,t,n){if(n?.isCompound)return{fill:up(t.borderLight,.9),stroke:t.border,textFill:t.text,secondaryFill:t.textSecondary,shape:`rect`,strokeWidth:1.25,accentFill:t.accent,neighborFill:t.accentSoft};switch(e){case`Entry`:return{fill:t.success,stroke:up(t.success,.85),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.78),shape:`double`,strokeWidth:1.8,accentFill:t.accent,neighborFill:up(t.success,.75)};case`Exit`:return{fill:t.textSecondary,stroke:up(t.textSecondary,.85),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.78),shape:`double`,strokeWidth:1.6,accentFill:t.accent,neighborFill:up(t.textSecondary,.76)};case`If`:return{fill:t.accent,stroke:up(t.accent,.82),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.8),shape:`rect`,strokeWidth:2,accentFill:t.accent,neighborFill:t.accentSoft};case`Loop`:return{fill:`#4f78c2`,stroke:`#3c5f9a`,textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.8),shape:`rect`,strokeWidth:2.1,accentFill:t.accent,neighborFill:up(`#4f78c2`,.74)};case`Call`:return{fill:t.warning,stroke:up(t.warning,.85),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.8),shape:`rect`,strokeWidth:1.5,accentFill:t.accent,neighborFill:up(t.warning,.76)};case`Return`:return{fill:t.danger,stroke:up(t.danger,.86),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.8),shape:`terminal`,strokeWidth:1.7,accentFill:t.accent,neighborFill:up(t.danger,.75)};default:return{fill:up(t.neutral,.92),stroke:up(t.neutral,.8),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.78),shape:`rect`,strokeWidth:1.2,accentFill:t.accent,neighborFill:up(t.neutralSoft,.88)}}}function pp(e,t){let n=t?.isRecursive===!0,r=n?`#7d6450`:e.neutral;return{fill:r,stroke:n?`#6a5444`:up(e.neutral,.84),textFill:`#ffffff`,secondaryFill:up(`#ffffff`,.74),shape:`rect`,strokeWidth:n?1.8:1.3,accentFill:e.accent,neighborFill:n?up(r,.76):e.accentSoft}}function mp(e,t=`cfg`,n,r=sp){return t===`callgraph`?pp(r,n):fp(e,r,n)}function hp(e,t=`cfg`,n=sp){if(t===`callgraph`)return{color:up(n.neutralSoft,.72),width:1.2,dash:[]};switch(e){case`True`:return{color:n.success,width:1.8,dash:[]};case`False`:return{color:n.danger,width:1.8,dash:[]};case`Back`:return{color:`#4f78c2`,width:1.6,dash:[7,4]};case`Exception`:return{color:n.warning,width:1.6,dash:[3,3]};default:return{color:up(n.textTertiary,.78),width:1.3,dash:[]}}}function gp(){let e=arguments[0];for(let t=1,n=arguments.length;t<n;t++)if(arguments[t])for(let n in arguments[t])e[n]=arguments[t][n];return e}var _p=gp;typeof Object.assign==`function`&&(_p=Object.assign);function vp(e,t,n,r){let i=e._nodes.get(t),a=null;return i&&(a=r===`mixed`?i.out&&i.out[n]||i.undirected&&i.undirected[n]:r===`directed`?i.out&&i.out[n]:i.undirected&&i.undirected[n]),a}function yp(e){return typeof e==`object`&&!!e}function bp(e){let t;for(t in e)return!1;return!0}function xp(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!0,value:n})}function Sp(e,t,n){let r={enumerable:!0,configurable:!0};typeof n==`function`?r.get=n:(r.value=n,r.writable=!1),Object.defineProperty(e,t,r)}function Cp(e){return!(!yp(e)||e.attributes&&!Array.isArray(e.attributes))}function wp(){let e=Math.floor(Math.random()*256)&255;return()=>e++}function Tp(){let e=arguments,t=null,n=-1;return{[Symbol.iterator](){return this},next(){let r=null;do{if(t===null){if(n++,n>=e.length)return{done:!0};t=e[n][Symbol.iterator]()}if(r=t.next(),r.done){t=null;continue}break}while(!0);return r}}}function Ep(){return{[Symbol.iterator](){return this},next(){return{done:!0}}}}var Dp=class extends Error{constructor(e){super(),this.name=`GraphError`,this.message=e}},Op=class e extends Dp{constructor(t){super(t),this.name=`InvalidArgumentsGraphError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,e.prototype.constructor)}},kp=class e extends Dp{constructor(t){super(t),this.name=`NotFoundGraphError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,e.prototype.constructor)}},Ap=class e extends Dp{constructor(t){super(t),this.name=`UsageGraphError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,e.prototype.constructor)}};function jp(e,t){this.key=e,this.attributes=t,this.clear()}jp.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={}};function Mp(e,t){this.key=e,this.attributes=t,this.clear()}Mp.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={}};function Np(e,t){this.key=e,this.attributes=t,this.clear()}Np.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={}};function Pp(e,t,n,r,i){this.key=t,this.attributes=i,this.undirected=e,this.source=n,this.target=r}Pp.prototype.attach=function(){let e=`out`,t=`in`;this.undirected&&(e=t=`undirected`);let n=this.source.key,r=this.target.key;this.source[e][r]=this,!(this.undirected&&n===r)&&(this.target[t][n]=this)},Pp.prototype.attachMulti=function(){let e=`out`,t=`in`,n=this.source.key,r=this.target.key;this.undirected&&(e=t=`undirected`);let i=this.source[e],a=i[r];if(a===void 0){i[r]=this,this.undirected&&n===r||(this.target[t][n]=this);return}a.previous=this,this.next=a,i[r]=this,this.target[t][n]=this},Pp.prototype.detach=function(){let e=this.source.key,t=this.target.key,n=`out`,r=`in`;this.undirected&&(n=r=`undirected`),delete this.source[n][t],delete this.target[r][e]},Pp.prototype.detachMulti=function(){let e=this.source.key,t=this.target.key,n=`out`,r=`in`;this.undirected&&(n=r=`undirected`),this.previous===void 0?this.next===void 0?(delete this.source[n][t],delete this.target[r][e]):(this.next.previous=void 0,this.source[n][t]=this.next,this.target[r][e]=this.next):(this.previous.next=this.next,this.next!==void 0&&(this.next.previous=this.previous))};var Fp=0,Ip=1,gee=2,Lp=3;function Rp(e,t,n,r,i,a,o){let s,c,l,u;if(r=``+r,n===Fp){if(s=e._nodes.get(r),!s)throw new kp(`Graph.${t}: could not find the "${r}" node in the graph.`);l=i,u=a}else if(n===Lp){if(i=``+i,c=e._edges.get(i),!c)throw new kp(`Graph.${t}: could not find the "${i}" edge in the graph.`);let n=c.source.key,d=c.target.key;if(r===n)s=c.target;else if(r===d)s=c.source;else throw new kp(`Graph.${t}: the "${r}" node is not attached to the "${i}" edge (${n}, ${d}).`);l=a,u=o}else{if(c=e._edges.get(r),!c)throw new kp(`Graph.${t}: could not find the "${r}" edge in the graph.`);s=n===Ip?c.source:c.target,l=i,u=a}return[s,l,u]}function zp(e,t,n){e.prototype[t]=function(e,r,i){let[a,o]=Rp(this,t,n,e,r,i);return a.attributes[o]}}function _ee(e,t,n){e.prototype[t]=function(e,r){let[i]=Rp(this,t,n,e,r);return i.attributes}}function Bp(e,t,n){e.prototype[t]=function(e,r,i){let[a,o]=Rp(this,t,n,e,r,i);return a.attributes.hasOwnProperty(o)}}function Vp(e,t,n){e.prototype[t]=function(e,r,i,a){let[o,s,c]=Rp(this,t,n,e,r,i,a);return o.attributes[s]=c,this.emit(`nodeAttributesUpdated`,{key:o.key,type:`set`,attributes:o.attributes,name:s}),this}}function Hp(e,t,n){e.prototype[t]=function(e,r,i,a){let[o,s,c]=Rp(this,t,n,e,r,i,a);if(typeof c!=`function`)throw new Op(`Graph.${t}: updater should be a function.`);let l=o.attributes;return l[s]=c(l[s]),this.emit(`nodeAttributesUpdated`,{key:o.key,type:`set`,attributes:o.attributes,name:s}),this}}function Up(e,t,n){e.prototype[t]=function(e,r,i){let[a,o]=Rp(this,t,n,e,r,i);return delete a.attributes[o],this.emit(`nodeAttributesUpdated`,{key:a.key,type:`remove`,attributes:a.attributes,name:o}),this}}function Wp(e,t,n){e.prototype[t]=function(e,r,i){let[a,o]=Rp(this,t,n,e,r,i);if(!yp(o))throw new Op(`Graph.${t}: provided attributes are not a plain object.`);return a.attributes=o,this.emit(`nodeAttributesUpdated`,{key:a.key,type:`replace`,attributes:a.attributes}),this}}function Gp(e,t,n){e.prototype[t]=function(e,r,i){let[a,o]=Rp(this,t,n,e,r,i);if(!yp(o))throw new Op(`Graph.${t}: provided attributes are not a plain object.`);return _p(a.attributes,o),this.emit(`nodeAttributesUpdated`,{key:a.key,type:`merge`,attributes:a.attributes,data:o}),this}}function Kp(e,t,n){e.prototype[t]=function(e,r,i){let[a,o]=Rp(this,t,n,e,r,i);if(typeof o!=`function`)throw new Op(`Graph.${t}: provided updater is not a function.`);return a.attributes=o(a.attributes),this.emit(`nodeAttributesUpdated`,{key:a.key,type:`update`,attributes:a.attributes}),this}}var qp=[{name:e=>`get${e}Attribute`,attacher:zp},{name:e=>`get${e}Attributes`,attacher:_ee},{name:e=>`has${e}Attribute`,attacher:Bp},{name:e=>`set${e}Attribute`,attacher:Vp},{name:e=>`update${e}Attribute`,attacher:Hp},{name:e=>`remove${e}Attribute`,attacher:Up},{name:e=>`replace${e}Attributes`,attacher:Wp},{name:e=>`merge${e}Attributes`,attacher:Gp},{name:e=>`update${e}Attributes`,attacher:Kp}];function vee(e){qp.forEach(function({name:t,attacher:n}){n(e,t(`Node`),Fp),n(e,t(`Source`),Ip),n(e,t(`Target`),gee),n(e,t(`Opposite`),Lp)})}function Jp(e,t,n){e.prototype[t]=function(e,r){let i;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let a=``+e,o=``+r;if(r=arguments[2],i=vp(this,a,o,n),!i)throw new kp(`Graph.${t}: could not find an edge for the given path ("${a}" - "${o}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,i=this._edges.get(e),!i)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}return i.attributes[r]}}function yee(e,t,n){e.prototype[t]=function(e){let r;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>1){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let i=``+e,a=``+arguments[1];if(r=vp(this,i,a,n),!r)throw new kp(`Graph.${t}: could not find an edge for the given path ("${i}" - "${a}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,r=this._edges.get(e),!r)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}return r.attributes}}function bee(e,t,n){e.prototype[t]=function(e,r){let i;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let a=``+e,o=``+r;if(r=arguments[2],i=vp(this,a,o,n),!i)throw new kp(`Graph.${t}: could not find an edge for the given path ("${a}" - "${o}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,i=this._edges.get(e),!i)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}return i.attributes.hasOwnProperty(r)}}function xee(e,t,n){e.prototype[t]=function(e,r,i){let a;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>3){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let o=``+e,s=``+r;if(r=arguments[2],i=arguments[3],a=vp(this,o,s,n),!a)throw new kp(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,a=this._edges.get(e),!a)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}return a.attributes[r]=i,this.emit(`edgeAttributesUpdated`,{key:a.key,type:`set`,attributes:a.attributes,name:r}),this}}function See(e,t,n){e.prototype[t]=function(e,r,i){let a;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>3){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let o=``+e,s=``+r;if(r=arguments[2],i=arguments[3],a=vp(this,o,s,n),!a)throw new kp(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,a=this._edges.get(e),!a)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}if(typeof i!=`function`)throw new Op(`Graph.${t}: updater should be a function.`);return a.attributes[r]=i(a.attributes[r]),this.emit(`edgeAttributesUpdated`,{key:a.key,type:`set`,attributes:a.attributes,name:r}),this}}function Cee(e,t,n){e.prototype[t]=function(e,r){let i;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let a=``+e,o=``+r;if(r=arguments[2],i=vp(this,a,o,n),!i)throw new kp(`Graph.${t}: could not find an edge for the given path ("${a}" - "${o}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,i=this._edges.get(e),!i)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}return delete i.attributes[r],this.emit(`edgeAttributesUpdated`,{key:i.key,type:`remove`,attributes:i.attributes,name:r}),this}}function wee(e,t,n){e.prototype[t]=function(e,r){let i;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let a=``+e,o=``+r;if(r=arguments[2],i=vp(this,a,o,n),!i)throw new kp(`Graph.${t}: could not find an edge for the given path ("${a}" - "${o}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,i=this._edges.get(e),!i)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}if(!yp(r))throw new Op(`Graph.${t}: provided attributes are not a plain object.`);return i.attributes=r,this.emit(`edgeAttributesUpdated`,{key:i.key,type:`replace`,attributes:i.attributes}),this}}function Tee(e,t,n){e.prototype[t]=function(e,r){let i;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let a=``+e,o=``+r;if(r=arguments[2],i=vp(this,a,o,n),!i)throw new kp(`Graph.${t}: could not find an edge for the given path ("${a}" - "${o}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,i=this._edges.get(e),!i)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}if(!yp(r))throw new Op(`Graph.${t}: provided attributes are not a plain object.`);return _p(i.attributes,r),this.emit(`edgeAttributesUpdated`,{key:i.key,type:`merge`,attributes:i.attributes,data:r}),this}}function Eee(e,t,n){e.prototype[t]=function(e,r){let i;if(this.type!==`mixed`&&n!==`mixed`&&n!==this.type)throw new Ap(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Ap(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);let a=``+e,o=``+r;if(r=arguments[2],i=vp(this,a,o,n),!i)throw new kp(`Graph.${t}: could not find an edge for the given path ("${a}" - "${o}").`)}else{if(n!==`mixed`)throw new Ap(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(e=``+e,i=this._edges.get(e),!i)throw new kp(`Graph.${t}: could not find the "${e}" edge in the graph.`)}if(typeof r!=`function`)throw new Op(`Graph.${t}: provided updater is not a function.`);return i.attributes=r(i.attributes),this.emit(`edgeAttributesUpdated`,{key:i.key,type:`update`,attributes:i.attributes}),this}}var Dee=[{name:e=>`get${e}Attribute`,attacher:Jp},{name:e=>`get${e}Attributes`,attacher:yee},{name:e=>`has${e}Attribute`,attacher:bee},{name:e=>`set${e}Attribute`,attacher:xee},{name:e=>`update${e}Attribute`,attacher:See},{name:e=>`remove${e}Attribute`,attacher:Cee},{name:e=>`replace${e}Attributes`,attacher:wee},{name:e=>`merge${e}Attributes`,attacher:Tee},{name:e=>`update${e}Attributes`,attacher:Eee}];function Oee(e){Dee.forEach(function({name:t,attacher:n}){n(e,t(`Edge`),`mixed`),n(e,t(`DirectedEdge`),`directed`),n(e,t(`UndirectedEdge`),`undirected`)})}var kee=[{name:`edges`,type:`mixed`},{name:`inEdges`,type:`directed`,direction:`in`},{name:`outEdges`,type:`directed`,direction:`out`},{name:`inboundEdges`,type:`mixed`,direction:`in`},{name:`outboundEdges`,type:`mixed`,direction:`out`},{name:`directedEdges`,type:`directed`},{name:`undirectedEdges`,type:`undirected`}];function Aee(e,t,n,r){let i=!1;for(let a in t){if(a===r)continue;let o=t[a];if(i=n(o.key,o.attributes,o.source.key,o.target.key,o.source.attributes,o.target.attributes,o.undirected),e&&i)return o.key}}function jee(e,t,n,r){let i,a,o,s=!1;for(let c in t)if(c!==r){i=t[c];do{if(a=i.source,o=i.target,s=n(i.key,i.attributes,a.key,o.key,a.attributes,o.attributes,i.undirected),e&&s)return i.key;i=i.next}while(i!==void 0)}}function Yp(e,t){let n=Object.keys(e),r=n.length,i,a=0;return{[Symbol.iterator](){return this},next(){do if(i)i=i.next;else{if(a>=r)return{done:!0};let o=n[a++];if(o===t){i=void 0;continue}i=e[o]}while(!i);return{done:!1,value:{edge:i.key,attributes:i.attributes,source:i.source.key,target:i.target.key,sourceAttributes:i.source.attributes,targetAttributes:i.target.attributes,undirected:i.undirected}}}}}function Mee(e,t,n,r){let i=t[n];if(!i)return;let a=i.source,o=i.target;if(r(i.key,i.attributes,a.key,o.key,a.attributes,o.attributes,i.undirected)&&e)return i.key}function Xp(e,t,n,r){let i=t[n];if(!i)return;let a=!1;do{if(a=r(i.key,i.attributes,i.source.key,i.target.key,i.source.attributes,i.target.attributes,i.undirected),e&&a)return i.key;i=i.next}while(i!==void 0)}function Zp(e,t){let n=e[t];if(n.next!==void 0)return{[Symbol.iterator](){return this},next(){if(!n)return{done:!0};let e={edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected};return n=n.next,{done:!1,value:e}}};let r=!1;return{[Symbol.iterator](){return this},next(){return r===!0?{done:!0}:(r=!0,{done:!1,value:{edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected}})}}}function Qp(e,t){if(e.size===0)return[];if(t===`mixed`||t===e.type)return Array.from(e._edges.keys());let n=t===`undirected`?e.undirectedSize:e.directedSize,r=Array(n),i=t===`undirected`,a=e._edges.values(),o=0,s,c;for(;s=a.next(),s.done!==!0;)c=s.value,c.undirected===i&&(r[o++]=c.key);return r}function $p(e,t,n,r){if(t.size===0)return;let i=n!==`mixed`&&n!==t.type,a=n===`undirected`,o,s,c=!1,l=t._edges.values();for(;o=l.next(),o.done!==!0;){if(s=o.value,i&&s.undirected!==a)continue;let{key:t,attributes:n,source:l,target:u}=s;if(c=r(t,n,l.key,u.key,l.attributes,u.attributes,s.undirected),e&&c)return t}}function em(e,t){if(e.size===0)return Ep();let n=t!==`mixed`&&t!==e.type,r=t===`undirected`,i=e._edges.values();return{[Symbol.iterator](){return this},next(){let e,t;for(;;){if(e=i.next(),e.done)return e;if(t=e.value,!(n&&t.undirected!==r))break}return{value:{edge:t.key,attributes:t.attributes,source:t.source.key,target:t.target.key,sourceAttributes:t.source.attributes,targetAttributes:t.target.attributes,undirected:t.undirected},done:!1}}}}function tm(e,t,n,r,i,a){let o=t?jee:Aee,s;if(n!==`undirected`&&(r!==`out`&&(s=o(e,i.in,a),e&&s)||r!==`in`&&(s=o(e,i.out,a,r?void 0:i.key),e&&s))||n!==`directed`&&(s=o(e,i.undirected,a),e&&s))return s}function Nee(e,t,n,r){let i=[];return tm(!1,e,t,n,r,function(e){i.push(e)}),i}function nm(e,t,n){let r=Ep();return e!==`undirected`&&(t!==`out`&&n.in!==void 0&&(r=Tp(r,Yp(n.in))),t!==`in`&&n.out!==void 0&&(r=Tp(r,Yp(n.out,t?void 0:n.key)))),e!==`directed`&&n.undirected!==void 0&&(r=Tp(r,Yp(n.undirected))),r}function rm(e,t,n,r,i,a,o){let s=n?Xp:Mee,c;if(t!==`undirected`&&(i.in!==void 0&&r!==`out`&&(c=s(e,i.in,a,o),e&&c)||i.out!==void 0&&r!==`in`&&(r||i.key!==a)&&(c=s(e,i.out,a,o),e&&c))||t!==`directed`&&i.undirected!==void 0&&(c=s(e,i.undirected,a,o),e&&c))return c}function im(e,t,n,r,i){let a=[];return rm(!1,e,t,n,r,i,function(e){a.push(e)}),a}function am(e,t,n,r){let i=Ep();return e!==`undirected`&&(n.in!==void 0&&t!==`out`&&r in n.in&&(i=Tp(i,Zp(n.in,r))),n.out!==void 0&&t!==`in`&&r in n.out&&(t||n.key!==r)&&(i=Tp(i,Zp(n.out,r)))),e!==`directed`&&n.undirected!==void 0&&r in n.undirected&&(i=Tp(i,Zp(n.undirected,r))),i}function om(e,t){let{name:n,type:r,direction:i}=t;e.prototype[n]=function(e,t){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return[];if(!arguments.length)return Qp(this,r);if(arguments.length===1){e=``+e;let t=this._nodes.get(e);if(t===void 0)throw new kp(`Graph.${n}: could not find the "${e}" node in the graph.`);return Nee(this.multi,r===`mixed`?this.type:r,i,t)}if(arguments.length===2){e=``+e,t=``+t;let a=this._nodes.get(e);if(!a)throw new kp(`Graph.${n}: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.${n}: could not find the "${t}" target node in the graph.`);return im(r,this.multi,i,a,t)}throw new Op(`Graph.${n}: too many arguments (expecting 0, 1 or 2 and got ${arguments.length}).`)}}function sm(e,t){let{name:n,type:r,direction:i}=t,a=`forEach`+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(e,t,n){if(!(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)){if(arguments.length===1)return n=e,$p(!1,this,r,n);if(arguments.length===2){e=``+e,n=t;let o=this._nodes.get(e);if(o===void 0)throw new kp(`Graph.${a}: could not find the "${e}" node in the graph.`);return tm(!1,this.multi,r===`mixed`?this.type:r,i,o,n)}if(arguments.length===3){e=``+e,t=``+t;let o=this._nodes.get(e);if(!o)throw new kp(`Graph.${a}: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.${a}: could not find the "${t}" target node in the graph.`);return rm(!1,r,this.multi,i,o,t,n)}throw new Op(`Graph.${a}: too many arguments (expecting 1, 2 or 3 and got ${arguments.length}).`)}};let o=`map`+n[0].toUpperCase()+n.slice(1);e.prototype[o]=function(){let e=Array.prototype.slice.call(arguments),t=e.pop(),n;if(e.length===0){let i=0;r!==`directed`&&(i+=this.undirectedSize),r!==`undirected`&&(i+=this.directedSize),n=Array(i);let a=0;e.push((e,r,i,o,s,c,l)=>{n[a++]=t(e,r,i,o,s,c,l)})}else n=[],e.push((e,r,i,a,o,s,c)=>{n.push(t(e,r,i,a,o,s,c))});return this[a].apply(this,e),n};let s=`filter`+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(){let e=Array.prototype.slice.call(arguments),t=e.pop(),n=[];return e.push((e,r,i,a,o,s,c)=>{t(e,r,i,a,o,s,c)&&n.push(e)}),this[a].apply(this,e),n};let c=`reduce`+n[0].toUpperCase()+n.slice(1);e.prototype[c]=function(){let e=Array.prototype.slice.call(arguments);if(e.length<2||e.length>4)throw new Op(`Graph.${c}: invalid number of arguments (expecting 2, 3 or 4 and got ${e.length}).`);if(typeof e[e.length-1]==`function`&&typeof e[e.length-2]!=`function`)throw new Op(`Graph.${c}: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let t,n;e.length===2?(t=e[0],n=e[1],e=[]):e.length===3?(t=e[1],n=e[2],e=[e[0]]):e.length===4&&(t=e[2],n=e[3],e=[e[0],e[1]]);let r=n;return e.push((e,n,i,a,o,s,c)=>{r=t(r,e,n,i,a,o,s,c)}),this[a].apply(this,e),r}}function Pee(e,t){let{name:n,type:r,direction:i}=t,a=`find`+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(e,t,n){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return!1;if(arguments.length===1)return n=e,$p(!0,this,r,n);if(arguments.length===2){e=``+e,n=t;let o=this._nodes.get(e);if(o===void 0)throw new kp(`Graph.${a}: could not find the "${e}" node in the graph.`);return tm(!0,this.multi,r===`mixed`?this.type:r,i,o,n)}if(arguments.length===3){e=``+e,t=``+t;let o=this._nodes.get(e);if(!o)throw new kp(`Graph.${a}: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.${a}: could not find the "${t}" target node in the graph.`);return rm(!0,r,this.multi,i,o,t,n)}throw new Op(`Graph.${a}: too many arguments (expecting 1, 2 or 3 and got ${arguments.length}).`)};let o=`some`+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(){let e=Array.prototype.slice.call(arguments),t=e.pop();return e.push((e,n,r,i,a,o,s)=>t(e,n,r,i,a,o,s)),!!this[a].apply(this,e)};let s=`every`+n[0].toUpperCase()+n.slice(1,-1);e.prototype[s]=function(){let e=Array.prototype.slice.call(arguments),t=e.pop();return e.push((e,n,r,i,a,o,s)=>!t(e,n,r,i,a,o,s)),!this[a].apply(this,e)}}function cm(e,t){let{name:n,type:r,direction:i}=t,a=n.slice(0,-1)+`Entries`;e.prototype[a]=function(e,t){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return Ep();if(!arguments.length)return em(this,r);if(arguments.length===1){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.${a}: could not find the "${e}" node in the graph.`);return nm(r,i,t)}if(arguments.length===2){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.${a}: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.${a}: could not find the "${t}" target node in the graph.`);return am(r,i,n,t)}throw new Op(`Graph.${a}: too many arguments (expecting 0, 1 or 2 and got ${arguments.length}).`)}}function lm(e){kee.forEach(t=>{om(e,t),sm(e,t),Pee(e,t),cm(e,t)})}var um=[{name:`neighbors`,type:`mixed`},{name:`inNeighbors`,type:`directed`,direction:`in`},{name:`outNeighbors`,type:`directed`,direction:`out`},{name:`inboundNeighbors`,type:`mixed`,direction:`in`},{name:`outboundNeighbors`,type:`mixed`,direction:`out`},{name:`directedNeighbors`,type:`directed`},{name:`undirectedNeighbors`,type:`undirected`}];function dm(){this.A=null,this.B=null}dm.prototype.wrap=function(e){this.A===null?this.A=e:this.B===null&&(this.B=e)},dm.prototype.has=function(e){return this.A!==null&&e in this.A||this.B!==null&&e in this.B};function fm(e,t,n,r,i){for(let a in r){let o=r[a],s=o.source,c=o.target,l=s===n?c:s;if(t&&t.has(l.key))continue;let u=i(l.key,l.attributes);if(e&&u)return l.key}}function pm(e,t,n,r,i){if(t!==`mixed`){if(t===`undirected`)return fm(e,null,r,r.undirected,i);if(typeof n==`string`)return fm(e,null,r,r[n],i)}let a=new dm,o;if(t!==`undirected`){if(n!==`out`){if(o=fm(e,null,r,r.in,i),e&&o)return o;a.wrap(r.in)}if(n!==`in`){if(o=fm(e,a,r,r.out,i),e&&o)return o;a.wrap(r.out)}}if(t!==`directed`&&(o=fm(e,a,r,r.undirected,i),e&&o))return o}function mm(e,t,n){if(e!==`mixed`){if(e===`undirected`)return Object.keys(n.undirected);if(typeof t==`string`)return Object.keys(n[t])}let r=[];return pm(!1,e,t,n,function(e){r.push(e)}),r}function hm(e,t,n){let r=Object.keys(n),i=r.length,a=0;return{[Symbol.iterator](){return this},next(){let o=null;do{if(a>=i)return e&&e.wrap(n),{done:!0};let s=n[r[a++]],c=s.source,l=s.target;if(o=c===t?l:c,e&&e.has(o.key)){o=null;continue}}while(o===null);return{done:!1,value:{neighbor:o.key,attributes:o.attributes}}}}}function Fee(e,t,n){if(e!==`mixed`){if(e===`undirected`)return hm(null,n,n.undirected);if(typeof t==`string`)return hm(null,n,n[t])}let r=Ep(),i=new dm;return e!==`undirected`&&(t!==`out`&&(r=Tp(r,hm(i,n,n.in))),t!==`in`&&(r=Tp(r,hm(i,n,n.out)))),e!==`directed`&&(r=Tp(r,hm(i,n,n.undirected))),r}function gm(e,t){let{name:n,type:r,direction:i}=t;e.prototype[n]=function(e){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return[];e=``+e;let t=this._nodes.get(e);if(t===void 0)throw new kp(`Graph.${n}: could not find the "${e}" node in the graph.`);return mm(r===`mixed`?this.type:r,i,t)}}function _m(e,t){let{name:n,type:r,direction:i}=t,a=`forEach`+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(e,t){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return;e=``+e;let n=this._nodes.get(e);if(n===void 0)throw new kp(`Graph.${a}: could not find the "${e}" node in the graph.`);pm(!1,r===`mixed`?this.type:r,i,n,t)};let o=`map`+n[0].toUpperCase()+n.slice(1);e.prototype[o]=function(e,t){let n=[];return this[a](e,(e,r)=>{n.push(t(e,r))}),n};let s=`filter`+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(e,t){let n=[];return this[a](e,(e,r)=>{t(e,r)&&n.push(e)}),n};let c=`reduce`+n[0].toUpperCase()+n.slice(1);e.prototype[c]=function(e,t,n){if(arguments.length<3)throw new Op(`Graph.${c}: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let r=n;return this[a](e,(e,n)=>{r=t(r,e,n)}),r}}function vm(e,t){let{name:n,type:r,direction:i}=t,a=n[0].toUpperCase()+n.slice(1,-1),o=`find`+a;e.prototype[o]=function(e,t){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return;e=``+e;let n=this._nodes.get(e);if(n===void 0)throw new kp(`Graph.${o}: could not find the "${e}" node in the graph.`);return pm(!0,r===`mixed`?this.type:r,i,n,t)};let s=`some`+a;e.prototype[s]=function(e,t){return!!this[o](e,t)};let c=`every`+a;e.prototype[c]=function(e,t){return!this[o](e,(e,n)=>!t(e,n))}}function E(e,t){let{name:n,type:r,direction:i}=t,a=n.slice(0,-1)+`Entries`;e.prototype[a]=function(e){if(r!==`mixed`&&this.type!==`mixed`&&r!==this.type)return Ep();e=``+e;let t=this._nodes.get(e);if(t===void 0)throw new kp(`Graph.${a}: could not find the "${e}" node in the graph.`);return Fee(r===`mixed`?this.type:r,i,t)}}function Iee(e){um.forEach(t=>{gm(e,t),_m(e,t),vm(e,t),E(e,t)})}function ym(e,t,n,r,i){let a=r._nodes.values(),o=r.type,s,c,l,u,d,f,p;for(;s=a.next(),s.done!==!0;){let r=!1;if(c=s.value,o!==`undirected`)for(l in u=c.out,u){d=u[l];do{if(f=d.target,r=!0,p=i(c.key,f.key,c.attributes,f.attributes,d.key,d.attributes,d.undirected),e&&p)return d;d=d.next}while(d)}if(o!==`directed`){for(l in u=c.undirected,u)if(!(t&&c.key>l)){d=u[l];do{if(f=d.target,f.key!==l&&(f=d.source),r=!0,p=i(c.key,f.key,c.attributes,f.attributes,d.key,d.attributes,d.undirected),e&&p)return d;d=d.next}while(d)}}if(n&&!r&&(p=i(c.key,null,c.attributes,null,null,null,null),e&&p))return null}}function bm(e,t){let n={key:e};return bp(t.attributes)||(n.attributes=_p({},t.attributes)),n}function xm(e,t,n){let r={key:t,source:n.source.key,target:n.target.key};return bp(n.attributes)||(r.attributes=_p({},n.attributes)),e===`mixed`&&n.undirected&&(r.undirected=!0),r}function Sm(e){if(!yp(e))throw new Op(`Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.`);if(!(`key`in e))throw new Op(`Graph.import: serialized node is missing its key.`);if(`attributes`in e&&(!yp(e.attributes)||e.attributes===null))throw new Op(`Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.`)}function Cm(e){if(!yp(e))throw new Op(`Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.`);if(!(`source`in e))throw new Op(`Graph.import: serialized edge is missing its source.`);if(!(`target`in e))throw new Op(`Graph.import: serialized edge is missing its target.`);if(`attributes`in e&&(!yp(e.attributes)||e.attributes===null))throw new Op(`Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.`);if(`undirected`in e&&typeof e.undirected!=`boolean`)throw new Op(`Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.`)}var Lee=wp(),Ree=new Set([`directed`,`undirected`,`mixed`]),wm=new Set([`domain`,`_events`,`_eventsCount`,`_maxListeners`]),zee=[{name:e=>`${e}Edge`,generateKey:!0},{name:e=>`${e}DirectedEdge`,generateKey:!0,type:`directed`},{name:e=>`${e}UndirectedEdge`,generateKey:!0,type:`undirected`},{name:e=>`${e}EdgeWithKey`},{name:e=>`${e}DirectedEdgeWithKey`,type:`directed`},{name:e=>`${e}UndirectedEdgeWithKey`,type:`undirected`}],Bee={allowSelfLoops:!0,multi:!1,type:`mixed`};function Vee(e,t,n){if(n&&!yp(n))throw new Op(`Graph.addNode: invalid attributes. Expecting an object but got "${n}"`);if(t=``+t,n||={},e._nodes.has(t))throw new Ap(`Graph.addNode: the "${t}" node already exist in the graph.`);let r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit(`nodeAdded`,{key:t,attributes:n}),r}function Tm(e,t,n){let r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit(`nodeAdded`,{key:t,attributes:n}),r}function Em(e,t,n,r,i,a,o,s){if(!r&&e.type===`undirected`)throw new Ap(`Graph.${t}: you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead.`);if(r&&e.type===`directed`)throw new Ap(`Graph.${t}: you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead.`);if(s&&!yp(s))throw new Op(`Graph.${t}: invalid attributes. Expecting an object but got "${s}"`);if(a=``+a,o=``+o,s||={},!e.allowSelfLoops&&a===o)throw new Ap(`Graph.${t}: source & target are the same ("${a}"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false.`);let c=e._nodes.get(a),l=e._nodes.get(o);if(!c)throw new kp(`Graph.${t}: source node "${a}" not found.`);if(!l)throw new kp(`Graph.${t}: target node "${o}" not found.`);let u={key:null,undirected:r,source:a,target:o,attributes:s};if(n)i=e._edgeKeyGenerator();else if(i=``+i,e._edges.has(i))throw new Ap(`Graph.${t}: the "${i}" edge already exists in the graph.`);if(!e.multi&&(r?c.undirected[o]!==void 0:c.out[o]!==void 0))throw new Ap(`Graph.${t}: an edge linking "${a}" to "${o}" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option.`);let d=new Pp(r,i,c,l,s);e._edges.set(i,d);let f=a===o;return r?(c.undirectedDegree++,l.undirectedDegree++,f&&(c.undirectedLoops++,e._undirectedSelfLoopCount++)):(c.outDegree++,l.inDegree++,f&&(c.directedLoops++,e._directedSelfLoopCount++)),e.multi?d.attachMulti():d.attach(),r?e._undirectedSize++:e._directedSize++,u.key=i,e.emit(`edgeAdded`,u),i}function Hee(e,t,n,r,i,a,o,s,c){if(!r&&e.type===`undirected`)throw new Ap(`Graph.${t}: you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead.`);if(r&&e.type===`directed`)throw new Ap(`Graph.${t}: you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead.`);if(s){if(c){if(typeof s!=`function`)throw new Op(`Graph.${t}: invalid updater function. Expecting a function but got "${s}"`)}else if(!yp(s))throw new Op(`Graph.${t}: invalid attributes. Expecting an object but got "${s}"`)}a=``+a,o=``+o;let l;if(c&&(l=s,s=void 0),!e.allowSelfLoops&&a===o)throw new Ap(`Graph.${t}: source & target are the same ("${a}"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false.`);let u=e._nodes.get(a),d=e._nodes.get(o),f,p;if(!n&&(f=e._edges.get(i),f)){if((f.source.key!==a||f.target.key!==o)&&(!r||f.source.key!==o||f.target.key!==a))throw new Ap(`Graph.${t}: inconsistency detected when attempting to merge the "${i}" edge with "${a}" source & "${o}" target vs. ("${f.source.key}", "${f.target.key}").`);p=f}if(!p&&!e.multi&&u&&(p=r?u.undirected[o]:u.out[o]),p){let t=[p.key,!1,!1,!1];if(c?!l:!s)return t;if(c){let t=p.attributes;p.attributes=l(t),e.emit(`edgeAttributesUpdated`,{type:`replace`,key:p.key,attributes:p.attributes})}else _p(p.attributes,s),e.emit(`edgeAttributesUpdated`,{type:`merge`,key:p.key,attributes:p.attributes,data:s});return t}s||={},c&&l&&(s=l(s));let m={key:null,undirected:r,source:a,target:o,attributes:s};if(n)i=e._edgeKeyGenerator();else if(i=``+i,e._edges.has(i))throw new Ap(`Graph.${t}: the "${i}" edge already exists in the graph.`);let h=!1,g=!1;u||(u=Tm(e,a,{}),h=!0,a===o&&(d=u,g=!0)),d||(d=Tm(e,o,{}),g=!0),f=new Pp(r,i,u,d,s),e._edges.set(i,f);let _=a===o;return r?(u.undirectedDegree++,d.undirectedDegree++,_&&(u.undirectedLoops++,e._undirectedSelfLoopCount++)):(u.outDegree++,d.inDegree++,_&&(u.directedLoops++,e._directedSelfLoopCount++)),e.multi?f.attachMulti():f.attach(),r?e._undirectedSize++:e._directedSize++,m.key=i,e.emit(`edgeAdded`,m),[i,!0,h,g]}function Dm(e,t){e._edges.delete(t.key);let{source:n,target:r,attributes:i}=t,a=t.undirected,o=n===r;a?(n.undirectedDegree--,r.undirectedDegree--,o&&(n.undirectedLoops--,e._undirectedSelfLoopCount--)):(n.outDegree--,r.inDegree--,o&&(n.directedLoops--,e._directedSelfLoopCount--)),e.multi?t.detachMulti():t.detach(),a?e._undirectedSize--:e._directedSize--,e.emit(`edgeDropped`,{key:t.key,attributes:i,source:n.key,target:r.key,undirected:a})}var Om=class e extends rf.EventEmitter{constructor(e){if(super(),e=_p({},Bee,e),typeof e.multi!=`boolean`)throw new Op(`Graph.constructor: invalid 'multi' option. Expecting a boolean but got "${e.multi}".`);if(!Ree.has(e.type))throw new Op(`Graph.constructor: invalid 'type' option. Should be one of "mixed", "directed" or "undirected" but got "${e.type}".`);if(typeof e.allowSelfLoops!=`boolean`)throw new Op(`Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got "${e.allowSelfLoops}".`);let t=e.type===`mixed`?jp:e.type===`directed`?Mp:Np;xp(this,`NodeDataClass`,t);let n=`geid_`+Lee()+`_`,r=0;xp(this,`_attributes`,{}),xp(this,`_nodes`,new Map),xp(this,`_edges`,new Map),xp(this,`_directedSize`,0),xp(this,`_undirectedSize`,0),xp(this,`_directedSelfLoopCount`,0),xp(this,`_undirectedSelfLoopCount`,0),xp(this,`_edgeKeyGenerator`,()=>{let e;do e=n+ r++;while(this._edges.has(e));return e}),xp(this,`_options`,e),wm.forEach(e=>xp(this,e,this[e])),Sp(this,`order`,()=>this._nodes.size),Sp(this,`size`,()=>this._edges.size),Sp(this,`directedSize`,()=>this._directedSize),Sp(this,`undirectedSize`,()=>this._undirectedSize),Sp(this,`selfLoopCount`,()=>this._directedSelfLoopCount+this._undirectedSelfLoopCount),Sp(this,`directedSelfLoopCount`,()=>this._directedSelfLoopCount),Sp(this,`undirectedSelfLoopCount`,()=>this._undirectedSelfLoopCount),Sp(this,`multi`,this._options.multi),Sp(this,`type`,this._options.type),Sp(this,`allowSelfLoops`,this._options.allowSelfLoops),Sp(this,`implementation`,()=>`graphology`)}_resetInstanceCounters(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0}hasNode(e){return this._nodes.has(``+e)}hasDirectedEdge(e,t){if(this.type===`undirected`)return!1;if(arguments.length===1){let t=``+e,n=this._edges.get(t);return!!n&&!n.undirected}else if(arguments.length===2){e=``+e,t=``+t;let n=this._nodes.get(e);return n?n.out.hasOwnProperty(t):!1}throw new Op(`Graph.hasDirectedEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}hasUndirectedEdge(e,t){if(this.type===`directed`)return!1;if(arguments.length===1){let t=``+e,n=this._edges.get(t);return!!n&&n.undirected}else if(arguments.length===2){e=``+e,t=``+t;let n=this._nodes.get(e);return n?n.undirected.hasOwnProperty(t):!1}throw new Op(`Graph.hasDirectedEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}hasEdge(e,t){if(arguments.length===1){let t=``+e;return this._edges.has(t)}else if(arguments.length===2){e=``+e,t=``+t;let n=this._nodes.get(e);return n?n.out!==void 0&&n.out.hasOwnProperty(t)||n.undirected!==void 0&&n.undirected.hasOwnProperty(t):!1}throw new Op(`Graph.hasEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}directedEdge(e,t){if(this.type===`undirected`)return;if(e=``+e,t=``+t,this.multi)throw new Ap(`Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.`);let n=this._nodes.get(e);if(!n)throw new kp(`Graph.directedEdge: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.directedEdge: could not find the "${t}" target node in the graph.`);let r=n.out&&n.out[t]||void 0;if(r)return r.key}undirectedEdge(e,t){if(this.type===`directed`)return;if(e=``+e,t=``+t,this.multi)throw new Ap(`Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.`);let n=this._nodes.get(e);if(!n)throw new kp(`Graph.undirectedEdge: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.undirectedEdge: could not find the "${t}" target node in the graph.`);let r=n.undirected&&n.undirected[t]||void 0;if(r)return r.key}edge(e,t){if(this.multi)throw new Ap(`Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.`);e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.edge: could not find the "${e}" source node in the graph.`);if(!this._nodes.has(t))throw new kp(`Graph.edge: could not find the "${t}" target node in the graph.`);let r=n.out&&n.out[t]||n.undirected&&n.undirected[t]||void 0;if(r)return r.key}areDirectedNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areDirectedNeighbors: could not find the "${e}" node in the graph.`);return this.type===`undirected`?!1:t in n.in||t in n.out}areOutNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areOutNeighbors: could not find the "${e}" node in the graph.`);return this.type===`undirected`?!1:t in n.out}areInNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areInNeighbors: could not find the "${e}" node in the graph.`);return this.type===`undirected`?!1:t in n.in}areUndirectedNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areUndirectedNeighbors: could not find the "${e}" node in the graph.`);return this.type===`directed`?!1:t in n.undirected}areNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areNeighbors: could not find the "${e}" node in the graph.`);return this.type!==`undirected`&&(t in n.in||t in n.out)||this.type!==`directed`&&t in n.undirected}areInboundNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areInboundNeighbors: could not find the "${e}" node in the graph.`);return this.type!==`undirected`&&t in n.in||this.type!==`directed`&&t in n.undirected}areOutboundNeighbors(e,t){e=``+e,t=``+t;let n=this._nodes.get(e);if(!n)throw new kp(`Graph.areOutboundNeighbors: could not find the "${e}" node in the graph.`);return this.type!==`undirected`&&t in n.out||this.type!==`directed`&&t in n.undirected}inDegree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.inDegree: could not find the "${e}" node in the graph.`);return this.type===`undirected`?0:t.inDegree}outDegree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.outDegree: could not find the "${e}" node in the graph.`);return this.type===`undirected`?0:t.outDegree}directedDegree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.directedDegree: could not find the "${e}" node in the graph.`);return this.type===`undirected`?0:t.inDegree+t.outDegree}undirectedDegree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.undirectedDegree: could not find the "${e}" node in the graph.`);return this.type===`directed`?0:t.undirectedDegree}inboundDegree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.inboundDegree: could not find the "${e}" node in the graph.`);let n=0;return this.type!==`directed`&&(n+=t.undirectedDegree),this.type!==`undirected`&&(n+=t.inDegree),n}outboundDegree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.outboundDegree: could not find the "${e}" node in the graph.`);let n=0;return this.type!==`directed`&&(n+=t.undirectedDegree),this.type!==`undirected`&&(n+=t.outDegree),n}degree(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.degree: could not find the "${e}" node in the graph.`);let n=0;return this.type!==`directed`&&(n+=t.undirectedDegree),this.type!==`undirected`&&(n+=t.inDegree+t.outDegree),n}inDegreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.inDegreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);return this.type===`undirected`?0:t.inDegree-t.directedLoops}outDegreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.outDegreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);return this.type===`undirected`?0:t.outDegree-t.directedLoops}directedDegreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.directedDegreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);return this.type===`undirected`?0:t.inDegree+t.outDegree-t.directedLoops*2}undirectedDegreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.undirectedDegreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);return this.type===`directed`?0:t.undirectedDegree-t.undirectedLoops*2}inboundDegreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.inboundDegreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);let n=0,r=0;return this.type!==`directed`&&(n+=t.undirectedDegree,r+=t.undirectedLoops*2),this.type!==`undirected`&&(n+=t.inDegree,r+=t.directedLoops),n-r}outboundDegreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.outboundDegreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);let n=0,r=0;return this.type!==`directed`&&(n+=t.undirectedDegree,r+=t.undirectedLoops*2),this.type!==`undirected`&&(n+=t.outDegree,r+=t.directedLoops),n-r}degreeWithoutSelfLoops(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.degreeWithoutSelfLoops: could not find the "${e}" node in the graph.`);let n=0,r=0;return this.type!==`directed`&&(n+=t.undirectedDegree,r+=t.undirectedLoops*2),this.type!==`undirected`&&(n+=t.inDegree+t.outDegree,r+=t.directedLoops*2),n-r}source(e){e=``+e;let t=this._edges.get(e);if(!t)throw new kp(`Graph.source: could not find the "${e}" edge in the graph.`);return t.source.key}target(e){e=``+e;let t=this._edges.get(e);if(!t)throw new kp(`Graph.target: could not find the "${e}" edge in the graph.`);return t.target.key}extremities(e){e=``+e;let t=this._edges.get(e);if(!t)throw new kp(`Graph.extremities: could not find the "${e}" edge in the graph.`);return[t.source.key,t.target.key]}opposite(e,t){e=``+e,t=``+t;let n=this._edges.get(t);if(!n)throw new kp(`Graph.opposite: could not find the "${t}" edge in the graph.`);let r=n.source.key,i=n.target.key;if(e===r)return i;if(e===i)return r;throw new kp(`Graph.opposite: the "${e}" node is not attached to the "${t}" edge (${r}, ${i}).`)}hasExtremity(e,t){e=``+e,t=``+t;let n=this._edges.get(e);if(!n)throw new kp(`Graph.hasExtremity: could not find the "${e}" edge in the graph.`);return n.source.key===t||n.target.key===t}isUndirected(e){e=``+e;let t=this._edges.get(e);if(!t)throw new kp(`Graph.isUndirected: could not find the "${e}" edge in the graph.`);return t.undirected}isDirected(e){e=``+e;let t=this._edges.get(e);if(!t)throw new kp(`Graph.isDirected: could not find the "${e}" edge in the graph.`);return!t.undirected}isSelfLoop(e){e=``+e;let t=this._edges.get(e);if(!t)throw new kp(`Graph.isSelfLoop: could not find the "${e}" edge in the graph.`);return t.source===t.target}addNode(e,t){return Vee(this,e,t).key}mergeNode(e,t){if(t&&!yp(t))throw new Op(`Graph.mergeNode: invalid attributes. Expecting an object but got "${t}"`);e=``+e,t||={};let n=this._nodes.get(e);return n?(t&&(_p(n.attributes,t),this.emit(`nodeAttributesUpdated`,{type:`merge`,key:e,attributes:n.attributes,data:t})),[e,!1]):(n=new this.NodeDataClass(e,t),this._nodes.set(e,n),this.emit(`nodeAdded`,{key:e,attributes:t}),[e,!0])}updateNode(e,t){if(t&&typeof t!=`function`)throw new Op(`Graph.updateNode: invalid updater function. Expecting a function but got "${t}"`);e=``+e;let n=this._nodes.get(e);if(n){if(t){let r=n.attributes;n.attributes=t(r),this.emit(`nodeAttributesUpdated`,{type:`replace`,key:e,attributes:n.attributes})}return[e,!1]}let r=t?t({}):{};return n=new this.NodeDataClass(e,r),this._nodes.set(e,n),this.emit(`nodeAdded`,{key:e,attributes:r}),[e,!0]}dropNode(e){e=``+e;let t=this._nodes.get(e);if(!t)throw new kp(`Graph.dropNode: could not find the "${e}" node in the graph.`);let n;if(this.type!==`undirected`){for(let e in t.out){n=t.out[e];do Dm(this,n),n=n.next;while(n)}for(let e in t.in){n=t.in[e];do Dm(this,n),n=n.next;while(n)}}if(this.type!==`directed`)for(let e in t.undirected){n=t.undirected[e];do Dm(this,n),n=n.next;while(n)}this._nodes.delete(e),this.emit(`nodeDropped`,{key:e,attributes:t.attributes})}dropEdge(e){let t;if(arguments.length>1){let e=``+arguments[0],n=``+arguments[1];if(t=vp(this,e,n,this.type),!t)throw new kp(`Graph.dropEdge: could not find the "${e}" -> "${n}" edge in the graph.`)}else if(e=``+e,t=this._edges.get(e),!t)throw new kp(`Graph.dropEdge: could not find the "${e}" edge in the graph.`);return Dm(this,t),this}dropDirectedEdge(e,t){if(arguments.length<2)throw new Ap(`Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.`);if(this.multi)throw new Ap(`Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.`);e=``+e,t=``+t;let n=vp(this,e,t,`directed`);if(!n)throw new kp(`Graph.dropDirectedEdge: could not find a "${e}" -> "${t}" edge in the graph.`);return Dm(this,n),this}dropUndirectedEdge(e,t){if(arguments.length<2)throw new Ap(`Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.`);if(this.multi)throw new Ap(`Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.`);let n=vp(this,e,t,`undirected`);if(!n)throw new kp(`Graph.dropUndirectedEdge: could not find a "${e}" -> "${t}" edge in the graph.`);return Dm(this,n),this}clear(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit(`cleared`)}clearEdges(){let e=this._nodes.values(),t;for(;t=e.next(),t.done!==!0;)t.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit(`edgesCleared`)}getAttribute(e){return this._attributes[e]}getAttributes(){return this._attributes}hasAttribute(e){return this._attributes.hasOwnProperty(e)}setAttribute(e,t){return this._attributes[e]=t,this.emit(`attributesUpdated`,{type:`set`,attributes:this._attributes,name:e}),this}updateAttribute(e,t){if(typeof t!=`function`)throw new Op(`Graph.updateAttribute: updater should be a function.`);let n=this._attributes[e];return this._attributes[e]=t(n),this.emit(`attributesUpdated`,{type:`set`,attributes:this._attributes,name:e}),this}removeAttribute(e){return delete this._attributes[e],this.emit(`attributesUpdated`,{type:`remove`,attributes:this._attributes,name:e}),this}replaceAttributes(e){if(!yp(e))throw new Op(`Graph.replaceAttributes: provided attributes are not a plain object.`);return this._attributes=e,this.emit(`attributesUpdated`,{type:`replace`,attributes:this._attributes}),this}mergeAttributes(e){if(!yp(e))throw new Op(`Graph.mergeAttributes: provided attributes are not a plain object.`);return _p(this._attributes,e),this.emit(`attributesUpdated`,{type:`merge`,attributes:this._attributes,data:e}),this}updateAttributes(e){if(typeof e!=`function`)throw new Op(`Graph.updateAttributes: provided updater is not a function.`);return this._attributes=e(this._attributes),this.emit(`attributesUpdated`,{type:`update`,attributes:this._attributes}),this}updateEachNodeAttributes(e,t){if(typeof e!=`function`)throw new Op(`Graph.updateEachNodeAttributes: expecting an updater function.`);if(t&&!Cp(t))throw new Op(`Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}`);let n=this._nodes.values(),r,i;for(;r=n.next(),r.done!==!0;)i=r.value,i.attributes=e(i.key,i.attributes);this.emit(`eachNodeAttributesUpdated`,{hints:t||null})}updateEachEdgeAttributes(e,t){if(typeof e!=`function`)throw new Op(`Graph.updateEachEdgeAttributes: expecting an updater function.`);if(t&&!Cp(t))throw new Op(`Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}`);let n=this._edges.values(),r,i,a,o;for(;r=n.next(),r.done!==!0;)i=r.value,a=i.source,o=i.target,i.attributes=e(i.key,i.attributes,a.key,o.key,a.attributes,o.attributes,i.undirected);this.emit(`eachEdgeAttributesUpdated`,{hints:t||null})}forEachAdjacencyEntry(e){if(typeof e!=`function`)throw new Op(`Graph.forEachAdjacencyEntry: expecting a callback.`);ym(!1,!1,!1,this,e)}forEachAdjacencyEntryWithOrphans(e){if(typeof e!=`function`)throw new Op(`Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.`);ym(!1,!1,!0,this,e)}forEachAssymetricAdjacencyEntry(e){if(typeof e!=`function`)throw new Op(`Graph.forEachAssymetricAdjacencyEntry: expecting a callback.`);ym(!1,!0,!1,this,e)}forEachAssymetricAdjacencyEntryWithOrphans(e){if(typeof e!=`function`)throw new Op(`Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.`);ym(!1,!0,!0,this,e)}nodes(){return Array.from(this._nodes.keys())}forEachNode(e){if(typeof e!=`function`)throw new Op(`Graph.forEachNode: expecting a callback.`);let t=this._nodes.values(),n,r;for(;n=t.next(),n.done!==!0;)r=n.value,e(r.key,r.attributes)}findNode(e){if(typeof e!=`function`)throw new Op(`Graph.findNode: expecting a callback.`);let t=this._nodes.values(),n,r;for(;n=t.next(),n.done!==!0;)if(r=n.value,e(r.key,r.attributes))return r.key}mapNodes(e){if(typeof e!=`function`)throw new Op(`Graph.mapNode: expecting a callback.`);let t=this._nodes.values(),n,r,i=Array(this.order),a=0;for(;n=t.next(),n.done!==!0;)r=n.value,i[a++]=e(r.key,r.attributes);return i}someNode(e){if(typeof e!=`function`)throw new Op(`Graph.someNode: expecting a callback.`);let t=this._nodes.values(),n,r;for(;n=t.next(),n.done!==!0;)if(r=n.value,e(r.key,r.attributes))return!0;return!1}everyNode(e){if(typeof e!=`function`)throw new Op(`Graph.everyNode: expecting a callback.`);let t=this._nodes.values(),n,r;for(;n=t.next(),n.done!==!0;)if(r=n.value,!e(r.key,r.attributes))return!1;return!0}filterNodes(e){if(typeof e!=`function`)throw new Op(`Graph.filterNodes: expecting a callback.`);let t=this._nodes.values(),n,r,i=[];for(;n=t.next(),n.done!==!0;)r=n.value,e(r.key,r.attributes)&&i.push(r.key);return i}reduceNodes(e,t){if(typeof e!=`function`)throw new Op(`Graph.reduceNodes: expecting a callback.`);if(arguments.length<2)throw new Op(`Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let n=t,r=this._nodes.values(),i,a;for(;i=r.next(),i.done!==!0;)a=i.value,n=e(n,a.key,a.attributes);return n}nodeEntries(){let e=this._nodes.values();return{[Symbol.iterator](){return this},next(){let t=e.next();if(t.done)return t;let n=t.value;return{value:{node:n.key,attributes:n.attributes},done:!1}}}}export(){let e=Array(this._nodes.size),t=0;this._nodes.forEach((n,r)=>{e[t++]=bm(r,n)});let n=Array(this._edges.size);return t=0,this._edges.forEach((e,r)=>{n[t++]=xm(this.type,r,e)}),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:e,edges:n}}import(t,n=!1){if(t instanceof e)return t.forEachNode((e,t)=>{n?this.mergeNode(e,t):this.addNode(e,t)}),t.forEachEdge((e,t,r,i,a,o,s)=>{n?s?this.mergeUndirectedEdgeWithKey(e,r,i,t):this.mergeDirectedEdgeWithKey(e,r,i,t):s?this.addUndirectedEdgeWithKey(e,r,i,t):this.addDirectedEdgeWithKey(e,r,i,t)}),this;if(!yp(t))throw new Op(`Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.`);if(t.attributes){if(!yp(t.attributes))throw new Op(`Graph.import: invalid attributes. Expecting a plain object.`);n?this.mergeAttributes(t.attributes):this.replaceAttributes(t.attributes)}let r,i,a,o,s;if(t.nodes){if(a=t.nodes,!Array.isArray(a))throw new Op(`Graph.import: invalid nodes. Expecting an array.`);for(r=0,i=a.length;r<i;r++){o=a[r],Sm(o);let{key:e,attributes:t}=o;n?this.mergeNode(e,t):this.addNode(e,t)}}if(t.edges){let e=!1;if(this.type===`undirected`&&(e=!0),a=t.edges,!Array.isArray(a))throw new Op(`Graph.import: invalid edges. Expecting an array.`);for(r=0,i=a.length;r<i;r++){s=a[r],Cm(s);let{source:t,target:i,attributes:o,undirected:c=e}=s,l;`key`in s?(l=n?c?this.mergeUndirectedEdgeWithKey:this.mergeDirectedEdgeWithKey:c?this.addUndirectedEdgeWithKey:this.addDirectedEdgeWithKey,l.call(this,s.key,t,i,o)):(l=n?c?this.mergeUndirectedEdge:this.mergeDirectedEdge:c?this.addUndirectedEdge:this.addDirectedEdge,l.call(this,t,i,o))}}return this}nullCopy(t){let n=new e(_p({},this._options,t));return n.replaceAttributes(_p({},this.getAttributes())),n}emptyCopy(e){let t=this.nullCopy(e);return this._nodes.forEach((e,n)=>{let r=_p({},e.attributes);e=new t.NodeDataClass(n,r),t._nodes.set(n,e)}),t}copy(e){if(e||={},typeof e.type==`string`&&e.type!==this.type&&e.type!==`mixed`)throw new Ap(`Graph.copy: cannot create an incompatible copy from "${this.type}" type to "${e.type}" because this would mean losing information about the current graph.`);if(typeof e.multi==`boolean`&&e.multi!==this.multi&&e.multi!==!0)throw new Ap(`Graph.copy: cannot create an incompatible copy by downgrading a multi graph to a simple one because this would mean losing information about the current graph.`);if(typeof e.allowSelfLoops==`boolean`&&e.allowSelfLoops!==this.allowSelfLoops&&e.allowSelfLoops!==!0)throw new Ap(`Graph.copy: cannot create an incompatible copy from a graph allowing self loops to one that does not because this would mean losing information about the current graph.`);let t=this.emptyCopy(e),n=this._edges.values(),r,i;for(;r=n.next(),r.done!==!0;)i=r.value,Em(t,`copy`,!1,i.undirected,i.key,i.source.key,i.target.key,_p({},i.attributes));return t}toJSON(){return this.export()}toString(){return`[object Graph]`}inspect(){let e={};this._nodes.forEach((t,n)=>{e[n]=t.attributes});let t={},n={};this._edges.forEach((e,r)=>{let i=e.undirected?`--`:`->`,a=``,o=e.source.key,s=e.target.key,c;e.undirected&&o>s&&(c=o,o=s,s=c);let l=`(${o})${i}(${s})`;r.startsWith(`geid_`)?this.multi&&(n[l]===void 0?n[l]=0:n[l]++,a+=`${n[l]}. `):a+=`[${r}]: `,a+=l,t[a]=e.attributes});let r={};for(let e in this)this.hasOwnProperty(e)&&!wm.has(e)&&typeof this[e]!=`function`&&typeof e!=`symbol`&&(r[e]=this[e]);return r.attributes=this._attributes,r.nodes=e,r.edges=t,xp(r,`constructor`,this.constructor),r}};typeof Symbol<`u`&&(Om.prototype[Symbol.for(`nodejs.util.inspect.custom`)]=Om.prototype.inspect),zee.forEach(e=>{[`add`,`merge`,`update`].forEach(t=>{let n=e.name(t),r=t===`add`?Em:Hee;e.generateKey?Om.prototype[n]=function(i,a,o){return r(this,n,!0,(e.type||this.type)===`undirected`,null,i,a,o,t===`update`)}:Om.prototype[n]=function(i,a,o,s){return r(this,n,!1,(e.type||this.type)===`undirected`,i,a,o,s,t===`update`)}})}),vee(Om),Oee(Om),lm(Om),Iee(Om);var km=class extends Om{constructor(e){let t=_p({type:`directed`},e);if(`multi`in t&&t.multi!==!1)throw new Op(`DirectedGraph.from: inconsistent indication that the graph should be multi in given options!`);if(t.type!==`directed`)throw new Op(`DirectedGraph.from: inconsistent "`+t.type+`" type in given options!`);super(t)}},Am=class extends Om{constructor(e){let t=_p({type:`undirected`},e);if(`multi`in t&&t.multi!==!1)throw new Op(`UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!`);if(t.type!==`undirected`)throw new Op(`UndirectedGraph.from: inconsistent "`+t.type+`" type in given options!`);super(t)}},jm=class extends Om{constructor(e){let t=_p({multi:!0},e);if(`multi`in t&&t.multi!==!0)throw new Op(`MultiGraph.from: inconsistent indication that the graph should be simple in given options!`);super(t)}},Mm=class extends Om{constructor(e){let t=_p({type:`directed`,multi:!0},e);if(`multi`in t&&t.multi!==!0)throw new Op(`MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!`);if(t.type!==`directed`)throw new Op(`MultiDirectedGraph.from: inconsistent "`+t.type+`" type in given options!`);super(t)}},Nm=class extends Om{constructor(e){let t=_p({type:`undirected`,multi:!0},e);if(`multi`in t&&t.multi!==!0)throw new Op(`MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!`);if(t.type!==`undirected`)throw new Op(`MultiUndirectedGraph.from: inconsistent "`+t.type+`" type in given options!`);super(t)}};function Pm(e){e.from=function(t,n){let r=new e(_p({},t.options,n));return r.import(t),r}}Pm(Om),Pm(km),Pm(Am),Pm(jm),Pm(Mm),Pm(Nm),Om.Graph=Om,Om.DirectedGraph=km,Om.UndirectedGraph=Am,Om.MultiGraph=jm,Om.MultiDirectedGraph=Mm,Om.MultiUndirectedGraph=Nm,Om.InvalidArgumentsGraphError=Op,Om.NotFoundGraphError=kp,Om.UsageGraphError=Ap;function Fm(e,t,n){for(let r of t.nodes){let i=mp(r.kind,t.kind,r.metadata,n);e.addNode(r.key,{...r,x:r.x,y:r.y,size:r.sigmaSize,color:i.fill,hidden:!1})}}function Uee(e,t,n=!0){let r=new Mm;if(Fm(r,e,t),n)for(let n of e.edges){let i=hp(n.kind,e.kind,t);r.addDirectedEdgeWithKey(n.key,n.source,n.target,{...n,color:i.color,size:i.width,hidden:!1})}return r}var Wee=58,Im=18,Gee=new Set([`True`,`False`,`Back`,`Exception`]);function Kee(e,t,n,r){let i=n??t,a=new Set(r),o=new Set;if(t&&a.add(t),n&&a.add(n),i&&e.hasNode(i)){a.add(i);for(let t of e.neighbors(i))a.add(t);for(let t of e.edges(i))o.add(t)}return{activeNodeKey:i,hoveredNodeKey:n,selectedNodeKey:t,highlightedNodeKeys:a,highlightedEdgeKeys:o,searchMatchKeys:r}}function qee(e,t){let{width:n,height:r}=t.getDimensions(),i=window.devicePixelRatio||1,a=Math.max(1,Math.floor(n*i)),o=Math.max(1,Math.floor(r*i));e.width!==a&&(e.width=a),e.height!==o&&(e.height=o),e.style.width=`${n}px`,e.style.height=`${r}px`;let s=e.getContext(`2d`);return s?(s.setTransform(i,0,0,i,0,0),s):null}function Jee(e){if(e.startsWith(`#`)){let t=e.slice(1),n=t.length===3?t.split(``).map(e=>e+e).join(``):t,r=Number.parseInt(n,16);return Number.isNaN(r)?null:[r>>16&255,r>>8&255,r&255]}let t=e.match(/rgba?\(([^)]+)\)/);if(!t)return null;let n=t[1].split(`,`).slice(0,3).map(e=>e.trim());if(n.length!==3)return null;let r=n.map(e=>Number.parseFloat(e));return r.some(e=>Number.isNaN(e))?null:[r[0],r[1],r[2]]}function Lm(e){let t=Jee(e);if(!t)return!1;let[n,r,i]=t.map(e=>e/255);return .2126*n+.7152*r+.0722*i>.68}function Rm(e,t,n,r,i,a){Qee(e,t,n,r,i,a)}function zm(e,t,n,r,i,a){Rm(e,t,n,r,i,a),Rm(e,t+4,n+4,r-8,i-8,a-2)}function Bm(e,t,n,r,i){Rm(e,t,n,r,i,i/2)}function Vm(e,t){let n=e.graphToViewport({x:t.x,y:t.y}),r=e.graphToViewport({x:t.x+t.width/2,y:t.y}),i=e.graphToViewport({x:t.x,y:t.y+t.height/2}),a=Math.max(8,Math.abs(r.x-n.x)*2),o=Math.max(8,Math.abs(i.y-n.y)*2);return{x:n.x-a/2,y:n.y-o/2,width:a,height:o,centerX:n.x,centerY:n.y}}function Hm(e,t,n,r,i){if(!t.badges?.length||n.width<90||n.height<34)return;let a=t.badges.slice(0,3),o=a.reduce((e,t)=>e+Math.min(52,Math.max(22,t.length*5.2+10)),0)+4*(a.length-1),s=n.x+(n.width-o)/2,c=n.y+n.height-12-4,l=Lm(i)?r.text:`#ffffff`;e.save(),e.font=`600 8px var(--font-mono, "SF Mono", monospace)`,e.textAlign=`center`,e.textBaseline=`middle`;for(let t of a){let n=Math.min(52,Math.max(22,t.length*5.2+10));e.fillStyle=up(r.background,.24),e.strokeStyle=up(l,.18),e.lineWidth=.8,Rm(e,s,c,n,12,4),e.fill(),e.stroke(),e.fillStyle=l,e.fillText(t,s+n/2,c+12/2+.5),s+=n+4}e.restore()}function Yee(e,t,n,r,i){let a=t.labelLines.map(e=>({text:e,secondary:!1})).concat(t.detailLines.map(e=>({text:e,secondary:!0}))).concat(t.sublabelLines.map(e=>({text:e,secondary:!0})));if(a.length===0)return;let o=n.height-(t.badges?.length?18:10),s=Math.max(1,Math.floor(o/11)),c=a.slice(0,s);if(n.width<Wee||n.height<Im||c.length===0)return;let l=Math.max(8,Math.min(12.5,n.height/(c.length+1.6))),u=Math.max(7,l-1.5),d=l+2,f=c.reduce((e,t)=>e+(t.secondary?u+2:d),0),p=Lm(i)?r.text:`#ffffff`,m=Lm(i)?r.textSecondary:up(p,.76),h=n.y+(o-f)/2+l;e.save(),e.beginPath(),Rm(e,n.x,n.y,n.width,n.height,8),e.clip(),e.textAlign=`center`,e.textBaseline=`alphabetic`;for(let t of c){let r=t.secondary?u:l;e.font=`${t.secondary?`500`:`600`} ${r}px var(--font-mono, "SF Mono", monospace)`,e.fillStyle=t.secondary?m:p,e.fillText(t.text,n.x+n.width/2,h),h+=t.secondary?u+2:d}e.restore()}function Xee(e,t,n,r,i,a){let o=n.mapNodes((e,t)=>({key:e,attributes:t})).sort((e,t)=>(a.selectedNodeKey===e.key?3:a.hoveredNodeKey===e.key?2:+!!a.highlightedNodeKeys.has(e.key))-(a.selectedNodeKey===t.key?3:a.hoveredNodeKey===t.key?2:+!!a.highlightedNodeKeys.has(t.key)));for(let{key:n,attributes:s}of o){let o=mp(s.kind,r,s.metadata,i),c=Vm(t,s),l=a.selectedNodeKey===n,u=a.hoveredNodeKey===n,d=a.highlightedNodeKeys.has(n),f=a.searchMatchKeys.has(n),p=!!a.activeNodeKey&&!l&&!d&&!f,m=o.fill,h=o.stroke,g=p?.14:1;l?(m=o.accentFill,h=up(i.accent,.96)):(u||d||f)&&(m=o.neighborFill,h=up(o.accentFill,.85)),e.save(),e.globalAlpha=g,l&&(e.strokeStyle=up(i.accent,.32),e.lineWidth=6,Rm(e,c.x-4,c.y-4,c.width+8,c.height+8,12),e.stroke()),e.fillStyle=m,e.strokeStyle=h,e.lineWidth=l?o.strokeWidth+.8:o.strokeWidth,o.shape===`double`?zm(e,c.x,c.y,c.width,c.height,8):o.shape===`terminal`?Bm(e,c.x,c.y,c.width,c.height):Rm(e,c.x,c.y,c.width,c.height,8),e.fill(),e.stroke(),Yee(e,s,c,i,m),Hm(e,s,c,i,m),e.restore()}}function Zee(e,t,n,r,i){let a=Math.atan2(n.y-t.y,n.x-t.x),o=Math.max(5,i*2.6);e.save(),e.translate(n.x,n.y),e.rotate(a),e.fillStyle=r,e.beginPath(),e.moveTo(0,0),e.lineTo(-o,o*.45),e.lineTo(-o,-o*.45),e.closePath(),e.fill(),e.restore()}function Qee(e,t,n,r,i,a){let o=Math.min(a,r/2,i/2);e.beginPath(),e.moveTo(t+o,n),e.lineTo(t+r-o,n),e.quadraticCurveTo(t+r,n,t+r,n+o),e.lineTo(t+r,n+i-o),e.quadraticCurveTo(t+r,n+i,t+r-o,n+i),e.lineTo(t+o,n+i),e.quadraticCurveTo(t,n+i,t,n+i-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath()}function $ee(e,t,n,r){return e.activeNodeKey?e.highlightedEdgeKeys.has(t)?.96:e.highlightedNodeKeys.has(n)&&e.highlightedNodeKeys.has(r)?.7:.14:.8}function ete(e,t,n){return t.highlightedEdgeKeys.has(n)?e+.8:e}function tte(e,t,n,r,i,a,o){if(!n.label)return!1;if(r.highlightedEdgeKeys.has(n.key))return!0;if(Gee.has(n.kind)){let n=t.getNodeAttributes(a),r=t.getNodeAttributes(o);return[n?Vm(e,n):void 0,r?Vm(e,r):void 0].some(e=>e!=null&&e.width>=Wee&&e.height>=Im)}return i<=80?!0:e.getCamera().getState().ratio<.42}function nte(e,t){return Math.hypot(t.x-e.x,t.y-e.y)}function rte(e,t){if(e.length<2)return null;let n=e.reduce((t,n,r)=>r===0?t:t+nte(e[r-1],n),0);if(n<=0)return e[0]??null;let r=n*(t===`True`||t===`False`?.24:.5),i=0;for(let n=1;n<e.length;n+=1){let a=e[n-1],o=e[n],s=nte(a,o);if(!(s<=0)){if(i+s>=r||n===e.length-1){let e=Math.max(0,r-i),n=Math.min(1,e/s),c=(o.x-a.x)/s,l=-((o.y-a.y)/s),u=c,d=t===`False`?-10:t===`True`?10:8;return{x:a.x+(o.x-a.x)*n+l*d,y:a.y+(o.y-a.y)*n+u*d}}i+=s}}return e[Math.floor(e.length/2)]??null}function ite(e,t,n){for(let r of n){let n=Math.max(18,r.text.length*6.4),i=r.x-n/2-5,a=r.y-10;e.fillStyle=up(t.background,.92),e.strokeStyle=r.strokeColor,e.lineWidth=1,Qee(e,i,a,n+10,18,4),e.fill(),e.stroke(),e.fillStyle=r.color,e.font=`600 10px var(--font-mono, "SF Mono", monospace)`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(r.text,r.x,r.y-.5)}}function ate(e,t,n,r,i,a){let o=qee(e,t);if(!o)return;let{width:s,height:c}=t.getDimensions();o.clearRect(0,0,s,c),o.lineCap=`round`,o.lineJoin=`round`;let l=[];n.forEachEdge((e,s,c,u)=>{let d=hp(s.kind,r,i),f=s.route.length>1?s.route.map(e=>t.graphToViewport(e)):[t.graphToViewport(n.getNodeAttributes(c)),t.graphToViewport(n.getNodeAttributes(u))];if(f.length<2)return;let p=$ee(a,e,c,u),m=ete(d.width,a,e),h=up(d.color,p);o.save(),o.strokeStyle=h,o.lineWidth=m,o.setLineDash(d.dash),o.beginPath(),o.moveTo(f[0].x,f[0].y);for(let e=1;e<f.length;e+=1)o.lineTo(f[e].x,f[e].y);o.stroke();let g=f[f.length-2],_=f[f.length-1];if(Zee(o,g,_,h,m+.5),tte(t,n,s,a,n.order,c,u)){let t=rte(f,s.kind);if(t){let n=up(a.highlightedEdgeKeys.has(e)?i.text:d.color,a.highlightedEdgeKeys.has(e)?.96:.8);l.push({color:n,strokeColor:up(n,.25),text:s.label,x:t.x,y:t.y})}}o.restore()}),Xee(o,t,n,r,i,a),ite(o,i,l)}var ote=new Set,Um=.001,ste=()=>{};function cte(e){if(!e)return 100;let t=e.getCamera().getState().ratio;return Math.max(10,Math.round(100/t))}function lte(e,t){let n=e.getSetting(`minCameraRatio`)??0,r=e.getSetting(`maxCameraRatio`)??1/0;return Math.min(r,Math.max(n,t))}function ute(e,t,n){let r=e.getCamera().getState().ratio,i=t.nodes.find(e=>e.key===n);if(!i)return r;let a=e.graphToViewport({x:i.x,y:i.y}),o=e.graphToViewport({x:i.x+i.width/2,y:i.y}),s=e.graphToViewport({x:i.x,y:i.y+i.height/2}),c=Math.max(1,Math.abs(o.x-a.x)*2),l=Math.max(1,Math.abs(s.y-a.y)*2),u=i.labelLines.length+i.detailLines.length+i.sublabelLines.length,d=Math.max(1,...i.labelLines.map(e=>e.length),...i.detailLines.map(e=>e.length),...i.sublabelLines.map(e=>e.length)),{width:f,height:p}=e.getDimensions(),m=Math.min(f*.4,Math.max(170,d*9.5+40)),h=Math.min(p*.28,Math.max(72,u*16+(i.badges?.length?18:12))),g=c/m*r,_=l/h*r;return lte(e,Math.max(Um,Math.min(g,_,r)))}function dte(e){return(t,n)=>{let r=e.current,i=r.selectedNodeKey===t||r.hoveredNodeKey===t||r.highlightedNodeKeys.has(t)||r.searchMatchKeys.has(t);return{...n,color:`rgba(0, 0, 0, 0)`,size:n.size,highlighted:!1,forceLabel:!1,zIndex:i?2:1}}}function fte({graph:e,viewKind:t,selectedNodeKey:n,onNodeClick:r,searchMatchKeys:i=ote,toolbarExtras:a,loading:o=!1}){let s=(0,w.useRef)(null),c=(0,w.useRef)(null),l=(0,w.useRef)(null),[u,d]=(0,w.useState)(null),[f,p]=(0,w.useState)(100),m=(0,w.useMemo)(()=>dp(),[]),h=(0,w.useMemo)(()=>Uee(e,m,!1),[e,m]),g=(0,w.useMemo)(()=>Uee(e,m,!0),[e,m]),_=(0,w.useRef)(Kee(g,n,u,i));return _.current=Kee(g,n,u,i),(0,w.useEffect)(()=>{let n=s.current;if(!n)return;let i=new ap(h,n,{allowInvalidContainer:!0,autoCenter:!0,autoRescale:!0,defaultEdgeType:`arrow`,defaultDrawNodeHover:ste,enableEdgeEvents:!1,renderEdgeLabels:!1,renderLabels:!1,hideLabelsOnMove:!0,labelDensity:t===`callgraph`?.85:.95,labelRenderedSizeThreshold:t===`callgraph`?10:8,minCameraRatio:Um,maxCameraRatio:4,nodeReducer:dte(_),edgeReducer:()=>({hidden:!0}),stagePadding:24,zIndex:!0});c.current=i,p(cte(i)),l.current=i.createCanvas(`graphOverlay`,{afterLayer:`edges`,style:{pointerEvents:`none`}});let a=()=>{!l.current||!c.current||ate(l.current,c.current,g,t,m,_.current)},o=({node:t})=>{r?.(t);let n=i.getNodeDisplayData(t);if(!n)return;let a=i.getCamera(),o=ute(i,e,t);a.animate({x:n.x,y:n.y,ratio:o},{duration:240})},u=({node:e})=>{d(e)},f=()=>{d(null)},v=()=>{p(cte(i)),a()};i.on(`clickNode`,o),i.on(`enterNode`,u),i.on(`leaveNode`,f),i.on(`afterRender`,v);let y=typeof ResizeObserver>`u`?null:new ResizeObserver(()=>{i.resize(),i.refresh({schedule:!0})});return y?.observe(n),a(),()=>{y?.disconnect(),i.off(`clickNode`,o),i.off(`enterNode`,u),i.off(`leaveNode`,f),i.off(`afterRender`,v),l.current&&=(i.killLayer(`graphOverlay`),null),i.kill(),c.current=null}},[e,r,g,m,h,t]),(0,w.useEffect)(()=>{let e=c.current;e&&e.refresh({schedule:!0,skipIndexation:!0})},[u,g,i,n]),(0,T.jsxs)(`div`,{className:`graph-renderer-container`,children:[(0,T.jsx)(op,{zoomPercentage:f,onZoomIn:()=>{c.current?.getCamera().animatedZoom()},onZoomOut:()=>{c.current?.getCamera().animatedUnzoom()},onFitGraph:()=>{c.current?.getCamera().animatedReset()},onFocusSelection:()=>{if(!n)return;let t=c.current;if(!t)return;let r=t.getNodeDisplayData(n);if(!r)return;let i=t.getCamera(),a=ute(t,e,n);i.animate({x:r.x,y:r.y,ratio:a},{duration:240})},focusDisabled:!n,extras:a,status:o?(0,T.jsx)(`span`,{className:`graph-toolbar-pill`,children:`Layouting…`}):(0,T.jsxs)(`span`,{className:`graph-toolbar-pill`,children:[e.nodes.length,` nodes`]})}),(0,T.jsx)(`div`,{className:`graph-surface`,ref:s,children:o?(0,T.jsx)(`div`,{className:`graph-loading-overlay`,children:`Computing ELK layout…`}):null})]})}function pte(e,t){return e.length===0?`None`:e.map(e=>{let n=t.get(e);return n?`${e} (${n.kind})`:`${e}`}).join(`, `)}function mte({node:e,label:t,predecessorIds:n,successorIds:r,nodeMap:i}){return(0,T.jsxs)(`div`,{className:`analysis-node-detail`,children:[(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Kind`}),(0,T.jsx)(`span`,{className:`debug-detail-value`,children:e.kind})]}),(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Label`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:t})]}),(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Source`}),(0,T.jsxs)(`span`,{className:`debug-detail-value`,children:[`L`,e.line,` • span `,e.span[0],`-`,e.span[1]]})]}),e.defines&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Defines`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.defines})]}),e.uses.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Uses`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.uses.join(`, `)})]}),e.callee&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Callee`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.callee})]}),e.labels.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Labels`}),(0,T.jsx)(`div`,{children:e.labels.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge`,children:e},t))})]}),e.condition_text&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Condition`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.condition_text})]}),e.enclosing_func&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Function`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.enclosing_func})]}),(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Predecessors`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:pte(n,i)})]}),(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Successors`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:pte(r,i)})]})]})}function hte({data:e}){let[t,n]=(0,w.useState)(null),r=(0,w.useMemo)(()=>$l(e.edges),[e.edges]),i=(0,w.useMemo)(()=>eu(e),[e]),a=(0,w.useMemo)(()=>new Map(e.nodes.map(e=>[e.id,e])),[e.nodes]),{graph:o,isLoading:s,error:c}=Du(i);if((0,w.useEffect)(()=>{t&&(i.nodes.some(e=>e.key===t)||n(null))},[i.nodes,t]),c)return(0,T.jsx)(`div`,{className:`error-state`,children:`Failed to compute the CFG layout.`});if(!o)return(0,T.jsx)(`div`,{className:`loading`,children:`Preparing CFG…`});let l=t==null?void 0:i.nodes.find(e=>e.key===t),u=l&&l.rawId>=0?a.get(l.rawId):void 0,d=u==null?[]:r.filter(e=>e.target===u.id).map(e=>e.source),f=u==null?[]:r.filter(e=>e.source===u.id).map(e=>e.target);return(0,T.jsx)(ql,{inspector:u==null?void 0:(0,T.jsx)(mte,{node:u,label:Ql(u),predecessorIds:d,successorIds:f,nodeMap:a}),inspectorTitle:u?`Node ${u.id}`:void 0,canvas:(0,T.jsx)(`div`,{className:`analysis-graph-frame`,children:(0,T.jsx)(fte,{graph:o,viewKind:`cfg`,selectedNodeKey:t,onNodeClick:e=>n(t=>t===e?null:e),loading:s})})})}function gte({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=Ol(e,t);return r?(0,T.jsx)(Za,{message:`Loading CFG...`}):i?i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`CFG data is not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load CFG.`}):!n||n.nodes.length===0?(0,T.jsx)(Hl,{message:`No CFG nodes are available for this function.`}):(0,T.jsx)(hte,{data:n})}function _te({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=kl(e,t);if(r)return(0,T.jsx)(Za,{message:`Loading SSA...`});if(i)return i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`SSA data is not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load SSA.`});if(!n)return(0,T.jsx)(Hl,{message:`No SSA data is available for this function.`});let a=n.blocks.find(e=>e.id===n.entry),o=n.blocks.filter(e=>e.id!==n.entry),s=a?[a,...o]:n.blocks;return(0,T.jsxs)(`div`,{className:`ssa-viewer`,children:[(0,T.jsx)(`div`,{className:`ssa-header`,children:(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.num_values,` SSA values, `,n.blocks.length,` blocks`]})}),s.map(e=>(0,T.jsx)(vte,{block:e,isEntry:e.id===n.entry},e.id))]})}function vte({block:e,isEntry:t}){return(0,T.jsxs)(`div`,{className:`ssa-block${t?` ssa-block-entry`:``}`,children:[(0,T.jsxs)(`div`,{className:`ssa-block-header`,children:[(0,T.jsxs)(`span`,{className:`ssa-block-id`,children:[`B`,e.id]}),t&&(0,T.jsx)(`span`,{className:`badge-info`,children:`entry`}),e.preds.length>0&&(0,T.jsxs)(`span`,{className:`text-secondary ssa-block-preds`,children:[`preds: `,e.preds.map(e=>`B${e}`).join(`, `)]}),e.succs.length>0&&(0,T.jsxs)(`span`,{className:`text-secondary ssa-block-succs`,children:[`succs: `,e.succs.map(e=>`B${e}`).join(`, `)]})]}),e.phis.length>0&&(0,T.jsx)(`div`,{className:`ssa-phi-section`,children:e.phis.map(e=>(0,T.jsx)(yte,{inst:e,isPhi:!0},e.value))}),(0,T.jsx)(`div`,{className:`ssa-body-section`,children:e.body.map(e=>(0,T.jsx)(yte,{inst:e},e.value))}),(0,T.jsx)(`div`,{className:`ssa-terminator`,children:e.terminator})]})}function yte({inst:e,isPhi:t}){let n=e.operands.length>0?`(${e.operands.join(`, `)})`:``;return(0,T.jsxs)(`div`,{className:`ssa-inst${t?` ssa-inst-phi`:``}`,children:[(0,T.jsxs)(`span`,{className:`ssa-value`,children:[`v`,e.value]}),(0,T.jsx)(`span`,{className:`ssa-eq`,children:` = `}),(0,T.jsx)(`span`,{className:`ssa-op`,children:e.op}),(0,T.jsx)(`span`,{className:`ssa-operands`,children:n}),e.var_name&&(0,T.jsxs)(`span`,{className:`ssa-var-name`,children:[` # `,e.var_name]}),(0,T.jsxs)(`span`,{className:`ssa-line-ref`,children:[` L`,e.line]})]})}function bte({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=Al(e,t);return r?(0,T.jsx)(Za,{message:`Loading taint analysis...`}):i?i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`Taint analysis is not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load taint analysis.`}):n?(0,T.jsxs)(`div`,{className:`taint-viewer`,children:[n.events.length>0&&(0,T.jsxs)(`div`,{className:`taint-events-section`,children:[(0,T.jsxs)(`h3`,{children:[`Sink Events (`,n.events.length,`)`]}),n.events.map((e,t)=>(0,T.jsx)(xte,{event:e},t))]}),(0,T.jsxs)(`div`,{className:`taint-blocks-section`,children:[(0,T.jsx)(`h3`,{children:`Per-Block Taint State`}),n.block_states.map(e=>(0,T.jsx)(Ste,{state:e},e.block_id))]})]}):(0,T.jsx)(Hl,{message:`No taint analysis data is available for this function.`})}function xte({event:e}){return(0,T.jsxs)(`div`,{className:`taint-event${e.all_validated?` taint-event-validated`:``}`,children:[(0,T.jsxs)(`div`,{className:`taint-event-header`,children:[(0,T.jsxs)(`span`,{children:[`Sink node #`,e.sink_node]}),e.all_validated&&(0,T.jsx)(`span`,{className:`badge-success`,children:`validated`}),e.uses_summary&&(0,T.jsx)(`span`,{className:`badge-info`,children:`via summary`})]}),(0,T.jsxs)(`div`,{className:`taint-event-caps`,children:[`Sink caps:`,` `,e.sink_caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sink`,children:e},t))]}),(0,T.jsx)(`div`,{className:`taint-event-values`,children:e.tainted_values.map((e,t)=>(0,T.jsx)(Cte,{value:e},t))})]})}function Ste({state:e}){return e.values.length===0?null:(0,T.jsxs)(`div`,{className:`taint-block-state`,children:[(0,T.jsxs)(`div`,{className:`taint-block-state-header`,children:[(0,T.jsxs)(`span`,{className:`ssa-block-id`,children:[`B`,e.block_id]}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[e.values.length,` tainted values`]})]}),(0,T.jsx)(`div`,{className:`taint-block-state-values`,children:e.values.map((e,t)=>(0,T.jsx)(Cte,{value:e},t))})]})}function Cte({value:e}){return(0,T.jsxs)(`div`,{className:`taint-value`,children:[(0,T.jsxs)(`span`,{className:`taint-value-id`,children:[`v`,e.ssa_value]}),e.var_name&&(0,T.jsx)(`span`,{className:`taint-value-name`,children:e.var_name}),(0,T.jsx)(`span`,{className:`taint-value-caps`,children:e.caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-source`,children:e},t))}),e.uses_summary&&(0,T.jsx)(`span`,{className:`badge-info`,children:`summary`})]})}function wte({file:e,functionName:t,scope:n=`file`}){let{data:r,isLoading:i,error:a}=Pl(n===`global`?null:e??null,n===`global`?null:t??null),[o,s]=(0,w.useState)(null),[c,l]=(0,w.useState)(!1),u=(0,w.useMemo)(()=>r?.filter(e=>e.func_kind===`closure`).length??0,[r]),d=(0,w.useMemo)(()=>r&&(c?r:r.filter(e=>e.func_kind!==`closure`)),[r,c]);if(i)return(0,T.jsx)(Za,{message:`Loading summaries...`});if(a)return a instanceof ua&&a.status===404?(0,T.jsx)(Hl,{message:`Summaries are not available for the selected scope.`}):(0,T.jsx)($a,{message:`Failed to load summaries. Have you run a scan?`});if(!r||r.length===0)return(0,T.jsx)(Hl,{message:n===`global`?`No global summaries found. Run a scan first.`:`No summaries found for this file.`});let f=d?.length??0,p=r.length;return(0,T.jsxs)(`div`,{className:`summary-explorer`,children:[(0,T.jsxs)(`div`,{className:`summary-header`,children:[(0,T.jsxs)(`span`,{className:`text-secondary`,children:[f,f!==p&&` of ${p}`,` `,n===`global`?`functions across the project`:`functions in this file`]}),u>0&&(0,T.jsxs)(`label`,{className:`summary-toggle`,children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:c,onChange:e=>l(e.target.checked)}),(0,T.jsxs)(`span`,{children:[`Show `,u,` anonymous closure`,u===1?``:`s`]})]})]}),(0,T.jsxs)(`table`,{className:`summary-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Function`}),(0,T.jsx)(`th`,{children:`Lang`}),(0,T.jsx)(`th`,{children:`Params`}),(0,T.jsx)(`th`,{children:`Sources`}),(0,T.jsx)(`th`,{children:`Sanitizers`}),(0,T.jsx)(`th`,{children:`Sinks`}),(0,T.jsx)(`th`,{children:`Propagates`})]})}),(0,T.jsx)(`tbody`,{children:d?.map(e=>{let t=`${e.namespace}::${e.container}::${e.name}`;return(0,T.jsx)(Ete,{summary:e,isExpanded:o===t,onToggle:()=>s(o===t?null:t)},t)})})]})]})}function Tte(){return(0,T.jsx)(wte,{scope:`global`})}function Ete({summary:e,isExpanded:t,onToggle:n}){let r=e.func_kind===`closure`;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`tr`,{onClick:n,style:{cursor:`pointer`},children:[(0,T.jsxs)(`td`,{className:`mono`,children:[e.name,r&&(0,T.jsx)(`span`,{className:`text-secondary`,style:{marginLeft:8,fontSize:`0.85em`},children:e.container?`[closure in ${e.container}]`:`[closure]`})]}),(0,T.jsx)(`td`,{children:e.lang}),(0,T.jsx)(`td`,{children:e.param_count}),(0,T.jsx)(`td`,{children:e.source_caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-source`,children:e},t))}),(0,T.jsx)(`td`,{children:e.sanitizer_caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sanitizer`,children:e},t))}),(0,T.jsx)(`td`,{children:e.sink_caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sink`,children:e},t))}),(0,T.jsx)(`td`,{children:e.propagates_taint?`Yes`:`No`})]}),t&&(0,T.jsx)(`tr`,{children:(0,T.jsx)(`td`,{colSpan:7,children:(0,T.jsxs)(`div`,{className:`summary-detail`,children:[(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`File`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.file_path})]}),e.propagating_params.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Propagating params`}),(0,T.jsx)(`span`,{className:`debug-detail-value`,children:e.propagating_params.join(`, `)})]}),e.tainted_sink_params.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Sink params`}),(0,T.jsx)(`span`,{className:`debug-detail-value`,children:e.tainted_sink_params.join(`, `)})]}),e.callees.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Callees`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:e.callees.join(`, `)})]}),e.ssa_summary&&(0,T.jsxs)(`div`,{className:`summary-ssa-detail`,children:[(0,T.jsx)(`h4`,{children:`SSA Summary`}),e.ssa_summary.source_caps.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Source caps`}),(0,T.jsx)(`span`,{children:e.ssa_summary.source_caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-source`,children:e},t))})]}),e.ssa_summary.param_to_return.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Param-to-return`}),(0,T.jsx)(`span`,{children:e.ssa_summary.param_to_return.map((t,n)=>(0,T.jsxs)(`span`,{className:`mono`,children:[`p`,t.param_index,` → `,t.transform,n<e.ssa_summary.param_to_return.length-1?`, `:``]},n))})]}),e.ssa_summary.param_to_sink.length>0&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Param-to-sink`}),(0,T.jsx)(`span`,{children:e.ssa_summary.param_to_sink.map((e,t)=>(0,T.jsxs)(`span`,{children:[`p`,e.param_index,` →`,` `,e.sink_caps.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sink`,children:e},t))]},t))})]})]})]})})})]})}function Dte({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=jl(e,t);return r?(0,T.jsx)(Za,{message:`Loading abstract interpretation...`}):i?i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`Abstract interpretation data is not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load abstract interpretation.`}):!n||n.blocks.length===0&&n.type_facts.length===0&&n.const_values.length===0?(0,T.jsx)(Hl,{message:`No abstract domain facts are tracked for this function.`}):(0,T.jsxs)(`div`,{className:`abstract-interp-viewer`,children:[n.blocks.length>0&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`h3`,{children:`Abstract Domain Facts`}),n.blocks.map(e=>(0,T.jsx)(Ote,{block:e},e.block_id))]}),n.type_facts.length>0&&(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:`Type Facts`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.type_facts.length,` typed values`]})]}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Value`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Type`}),(0,T.jsx)(`th`,{children:`Nullable`})]})}),(0,T.jsx)(`tbody`,{children:n.type_facts.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsxs)(`td`,{className:`mono`,children:[`v`,e.ssa_value]}),(0,T.jsx)(`td`,{className:`mono`,children:e.var_name??`-`}),(0,T.jsx)(`td`,{className:`mono`,children:e.type_kind}),(0,T.jsx)(`td`,{children:e.nullable?`Yes`:`No`})]},e.ssa_value))})]})]}),n.const_values.length>0&&(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:`Constant Values`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.const_values.length,` constants`]})]}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Value`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Constant`})]})}),(0,T.jsx)(`tbody`,{children:n.const_values.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsxs)(`td`,{className:`mono`,children:[`v`,e.ssa_value]}),(0,T.jsx)(`td`,{className:`mono`,children:e.var_name??`-`}),(0,T.jsx)(`td`,{className:`mono`,children:e.value})]},e.ssa_value))})]})]})]})}function Ote({block:e}){return(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsxs)(`span`,{className:`ssa-block-id`,children:[`B`,e.block_id]}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[e.values.length,` tracked values`]})]}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Value`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Interval`}),(0,T.jsx)(`th`,{children:`String Prefix`}),(0,T.jsx)(`th`,{children:`String Suffix`}),(0,T.jsx)(`th`,{children:`Bit Masks`})]})}),(0,T.jsx)(`tbody`,{children:e.values.map(e=>(0,T.jsx)(kte,{value:e},e.ssa_value))})]})]})}function kte({value:e}){let t=`[${e.interval_lo==null?`-inf`:`${e.interval_lo}`}, ${e.interval_hi==null?`+inf`:`${e.interval_hi}`}]`,n=e.known_zero!==0||e.known_one!==0;return(0,T.jsxs)(`tr`,{children:[(0,T.jsxs)(`td`,{className:`mono`,children:[`v`,e.ssa_value]}),(0,T.jsx)(`td`,{className:`mono`,children:e.var_name??`-`}),(0,T.jsx)(`td`,{className:`mono`,children:t}),(0,T.jsx)(`td`,{className:`mono`,children:e.string_prefix??`-`}),(0,T.jsx)(`td`,{className:`mono`,children:e.string_suffix??`-`}),(0,T.jsx)(`td`,{className:`mono`,children:n?`zero=0x${e.known_zero.toString(16)} one=0x${e.known_one.toString(16)}`:`-`})]})}function Ate({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=Ml(e,t);return r?(0,T.jsx)(Za,{message:`Loading symbolic execution...`}):i?i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`Symbolic execution data is not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load symbolic execution.`}):n?(0,T.jsxs)(`div`,{className:`symex-viewer`,children:[n.tainted_roots.length>0&&(0,T.jsxs)(`div`,{className:`symex-section`,children:[(0,T.jsx)(`h3`,{children:`Tainted Roots`}),(0,T.jsx)(`div`,{className:`symex-roots`,children:n.tainted_roots.map(e=>(0,T.jsxs)(`span`,{className:`cap-badge cap-badge-source`,children:[`v`,e]},e))})]}),n.path_constraints.length>0&&(0,T.jsxs)(`div`,{className:`symex-section`,children:[(0,T.jsx)(`h3`,{children:`Path Constraints`}),n.path_constraints.map((e,t)=>(0,T.jsxs)(`div`,{className:`symex-constraint`,children:[(0,T.jsxs)(`span`,{className:`text-secondary`,children:[`B`,e.block]}),(0,T.jsx)(`span`,{className:`symex-polarity ${e.polarity?`symex-true`:`symex-false`}`,children:e.polarity?`TRUE`:`FALSE`}),(0,T.jsx)(`span`,{className:`mono`,children:e.condition})]},t))]}),(0,T.jsxs)(`div`,{className:`symex-section`,children:[(0,T.jsxs)(`h3`,{children:[`Symbolic Values (`,n.values.length,`)`]}),(0,T.jsxs)(`table`,{className:`symex-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Value`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Expression`})]})}),(0,T.jsx)(`tbody`,{children:n.values.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsxs)(`td`,{className:`mono`,children:[`v`,e.ssa_value]}),(0,T.jsx)(`td`,{className:`mono`,children:e.var_name??`-`}),(0,T.jsx)(`td`,{className:`mono`,children:e.expression})]},e.ssa_value))})]})]})]}):(0,T.jsx)(Hl,{message:`No symbolic execution data is available for this function.`})}function jte({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=Fl(e,t);return r?(0,T.jsx)(Za,{message:`Loading points-to facts...`}):i?i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`Pointer analysis is not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load pointer analysis.`}):!n||n.values.length===0&&n.field_reads.length===0&&n.field_writes.length===0?(0,T.jsx)(Hl,{message:`No points-to facts were derived for this function. Pointer analysis flags up parameters, allocation sites, and field projections; functions that only manipulate scalars will appear empty.`}):(0,T.jsxs)(`div`,{className:`abstract-interp-viewer`,children:[(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:`Per-Value Points-To`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.values.length,` value`,n.values.length===1?``:`s`,` · `,n.location_count,` `,`location`,n.location_count===1?``:`s`]})]}),n.values.length===0?(0,T.jsx)(`p`,{className:`abstract-empty`,children:`All SSA values point to nothing tracked.`}):(0,T.jsx)(Mte,{values:n.values,locations:n.locations})]}),n.field_reads.length>0&&(0,T.jsx)(Pte,{title:`Field Reads`,entries:n.field_reads,emptyHint:`(no parameter field reads recorded)`}),n.field_writes.length>0&&(0,T.jsx)(Pte,{title:`Field Writes`,entries:n.field_writes,emptyHint:`(no parameter field writes recorded)`})]})}function Mte({values:e,locations:t}){let n=(0,w.useMemo)(()=>{let e=new Map;for(let n of t)e.set(n.id,n);return e},[t]);return(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Value`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Points-To`})]})}),(0,T.jsx)(`tbody`,{children:e.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsxs)(`td`,{className:`mono`,children:[`v`,e.ssa_value]}),(0,T.jsx)(`td`,{className:`mono`,children:e.var_name??`-`}),(0,T.jsx)(`td`,{children:e.is_top?(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sink`,title:`Over-approximation`,children:`⊤ (top)`}):e.points_to.map(e=>(0,T.jsx)(Nte,{loc:n.get(e)},e))})]},e.ssa_value))})]})}function Nte({loc:e}){return e?(0,T.jsx)(`span`,{className:e.kind===`Top`?`cap-badge cap-badge-sink`:e.kind===`Field`?`cap-badge cap-badge-sanitizer`:`cap-badge cap-badge-source`,title:`${e.kind} (loc#${e.id})`,style:{marginRight:4},children:e.display}):(0,T.jsx)(`span`,{className:`cap-badge`,title:`Unknown location id`,children:`?`})}function Pte({title:e,entries:t,emptyHint:n}){return(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:e}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[t.length,` entr`,t.length===1?`y`:`ies`]})]}),t.length===0?(0,T.jsx)(`p`,{className:`abstract-empty`,children:n}):(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Target`}),(0,T.jsx)(`th`,{children:`Field`})]})}),(0,T.jsx)(`tbody`,{children:t.map((e,t)=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{className:`mono`,children:e.param_index===null?`self`:`param[${e.param_index}]`}),(0,T.jsx)(`td`,{className:`mono`,children:e.field})]},`${e.param_index??`self`}-${e.field}-${t}`))})]})]})}var Fte=new Set([`HttpClient`,`HttpResponse`,`DatabaseConnection`,`FileHandle`,`Url`,`LocalCollection`]);function Ite({file:e,functionName:t}){let{data:n,isLoading:r,error:i}=Il(e,t);if(r)return(0,T.jsx)(Za,{message:`Loading type facts...`});if(i)return i instanceof ua&&i.status===404?(0,T.jsx)(Hl,{message:`Type facts are not available for the selected function.`}):(0,T.jsx)($a,{message:`Failed to load type facts.`});if(!n||n.facts.length===0)return(0,T.jsx)(Hl,{message:`No type facts were inferred for this function. Type analysis fires when constructors, framework extractors, or constant literals reveal a value's type.`});let a=n.facts.filter(e=>Fte.has(e.kind)),o=n.facts.filter(e=>e.kind===`Dto`),s=n.facts.filter(e=>!Fte.has(e.kind)&&e.kind!==`Dto`);return(0,T.jsxs)(`div`,{className:`abstract-interp-viewer`,children:[(0,T.jsx)(`div`,{className:`abstract-block`,children:(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:`Inferred Types`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.facts.length,` of `,n.total_values,` SSA values typed ·`,` `,n.unknown_count,` unknown`]})]})}),a.length>0&&(0,T.jsx)(Lte,{title:`Security-Relevant Types`,subtitle:`HttpClient, DatabaseConnection, Url, … — drive type-qualified callee resolution and sink suppression`,facts:a,highlight:!0}),o.length>0&&(0,T.jsx)(Rte,{title:`DTO Types`,subtitle:`Framework-injected DTO bodies with known field shapes (Phase 6)`,facts:o}),s.length>0&&(0,T.jsx)(Lte,{title:`Scalar Types`,subtitle:`String / Int / Bool / Object / Array / Null inferences`,facts:s})]})}function Lte({title:e,subtitle:t,facts:n,highlight:r}){return(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:e}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.length,` value`,n.length===1?``:`s`]})]}),t&&(0,T.jsx)(`p`,{className:`abstract-subtitle`,children:t}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Value`}),(0,T.jsx)(`th`,{children:`Name`}),(0,T.jsx)(`th`,{children:`Type`}),(0,T.jsx)(`th`,{children:`Container`}),(0,T.jsx)(`th`,{children:`Nullable`}),(0,T.jsx)(`th`,{children:`Line`})]})}),(0,T.jsx)(`tbody`,{children:n.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsxs)(`td`,{className:`mono`,children:[`v`,e.ssa_value]}),(0,T.jsx)(`td`,{className:`mono`,children:e.var_name??`-`}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`cap-badge ${r?`cap-badge-sink`:`cap-badge-source`}`,children:e.kind})}),(0,T.jsx)(`td`,{className:`mono`,children:e.container??`-`}),(0,T.jsx)(`td`,{children:e.nullable?`Yes`:`No`}),(0,T.jsx)(`td`,{className:`mono`,children:e.line>0?`L${e.line}`:`-`})]},e.ssa_value))})]})]})}function Rte({title:e,subtitle:t,facts:n}){return(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:e}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.length,` DTO`,n.length===1?``:`s`]})]}),t&&(0,T.jsx)(`p`,{className:`abstract-subtitle`,children:t}),n.map(e=>(0,T.jsxs)(`div`,{style:{padding:`8px 12px`},children:[(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`DTO`}),(0,T.jsxs)(`span`,{className:`debug-detail-value mono`,children:[`v`,e.ssa_value,` `,e.var_name?`(${e.var_name}) `:``,`:`,` `,e.dto?.class_name??`?`]})]}),e.dto&&e.dto.fields.length>0&&(0,T.jsx)(zte,{dto:e.dto})]},e.ssa_value))]})}function zte({dto:e}){return(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Field`}),(0,T.jsx)(`th`,{children:`Kind`})]})}),(0,T.jsx)(`tbody`,{children:e.fields.map(e=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{className:`mono`,children:e.name}),(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`cap-badge cap-badge-source`,children:e.kind})})]},e.name))})]})}function Bte({file:e}){let{data:t,isLoading:n,error:r}=Ll(e);return n?(0,T.jsx)(Za,{message:`Running authorization extraction...`}):r?r instanceof ua&&r.status===400?(0,T.jsx)(Hl,{message:`Auth analysis only runs on supported source files. Try a .ts / .py / .rb / .rs / .go / .java / .php file.`}):(0,T.jsx)($a,{message:`Failed to run authorization extraction.`}):t?t.enabled?t.routes.length===0&&t.units.length===0?(0,T.jsx)(Hl,{message:`No routes or analysis units were extracted from this file. Auth analysis fires on framework route handlers and helper functions whose body matches an authorization-check pattern.`}):(0,T.jsxs)(`div`,{className:`abstract-interp-viewer`,children:[(0,T.jsx)(Vte,{data:t}),t.routes.length>0&&(0,T.jsx)(Hte,{routes:t.routes}),t.units.length>0&&(0,T.jsx)(Ute,{units:t.units})]}):(0,T.jsx)(Hl,{message:`Authorization analysis is disabled for this file's language. Toggle scanner.auth_analysis.enable in your nyx.toml to opt in.`}):null}function Vte({data:e}){let t=e.units.reduce((e,t)=>e+t.auth_checks.length,0),n=e.units.reduce((e,t)=>e+t.operations.length,0);return(0,T.jsx)(`div`,{className:`abstract-block`,children:(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:`Authorization Model`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[e.routes.length,` route`,e.routes.length===1?``:`s`,` ·`,` `,e.units.length,` unit`,e.units.length===1?``:`s`,` ·`,` `,t,` auth check`,t===1?``:`s`,` · `,n,` `,`sensitive op`,n===1?``:`s`]})]})})}function Hte({routes:e}){return(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsx)(`h3`,{style:{margin:0},children:`Routes`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[e.length,` registration`,e.length===1?``:`s`]})]}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Method`}),(0,T.jsx)(`th`,{children:`Path`}),(0,T.jsx)(`th`,{children:`Framework`}),(0,T.jsx)(`th`,{children:`Middleware`}),(0,T.jsx)(`th`,{children:`Handler Params`}),(0,T.jsx)(`th`,{children:`Line`}),(0,T.jsx)(`th`,{children:`Unit`})]})}),(0,T.jsx)(`tbody`,{children:e.map((e,t)=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`cap-badge cap-badge-source`,children:e.method})}),(0,T.jsx)(`td`,{className:`mono`,children:e.path}),(0,T.jsx)(`td`,{children:e.framework}),(0,T.jsx)(`td`,{className:`mono`,children:e.middleware.length>0?e.middleware.join(`, `):`-`}),(0,T.jsx)(`td`,{className:`mono`,children:e.handler_params.length>0?e.handler_params.join(`, `):`-`}),(0,T.jsxs)(`td`,{className:`mono`,children:[`L`,e.line]}),(0,T.jsxs)(`td`,{className:`mono`,children:[`#`,e.unit_idx]})]},`${e.method}-${e.path}-${t}`))})]})]})}function Ute({units:e}){return(0,T.jsx)(T.Fragment,{children:e.map((e,t)=>(0,T.jsx)(Wte,{unit:e,index:t},`${e.name??`<anon>`}-${t}`))})}function Wte({unit:e,index:t}){let n=e.params.length>0||e.self_actor_vars.length>0||e.typed_bounded_vars.length>0||e.authorized_sql_vars.length>0||e.const_bound_vars.length>0;return(0,T.jsxs)(`div`,{className:`abstract-block`,children:[(0,T.jsxs)(`div`,{className:`abstract-block-header`,children:[(0,T.jsxs)(`h3`,{style:{margin:0},children:[`#`,t,` `,e.name??`<anonymous>`,(0,T.jsxs)(`span`,{className:`text-secondary`,style:{marginLeft:8},children:[e.kind,` · L`,e.line]})]}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[e.auth_checks.length,` check`,e.auth_checks.length===1?``:`s`,` · `,e.operations.length,` `,`op`,e.operations.length===1?``:`s`]})]}),n&&(0,T.jsxs)(`div`,{className:`auth-detail-list`,children:[e.params.length>0&&(0,T.jsx)(Wm,{label:`Params`,value:e.params.join(`, `)}),e.self_actor_vars.length>0&&(0,T.jsx)(Wm,{label:`Self-actor vars`,value:e.self_actor_vars.join(`, `)}),e.typed_bounded_vars.length>0&&(0,T.jsx)(Wm,{label:`Typed-bounded params`,value:e.typed_bounded_vars.join(`, `)}),e.authorized_sql_vars.length>0&&(0,T.jsx)(Wm,{label:`Authorized SQL vars`,value:e.authorized_sql_vars.join(`, `)}),e.const_bound_vars.length>0&&(0,T.jsx)(Wm,{label:`Const-bound vars`,value:e.const_bound_vars.join(`, `)})]}),e.auth_checks.length>0&&(0,T.jsx)(Gte,{checks:e.auth_checks}),e.operations.length>0&&(0,T.jsx)(Kte,{operations:e.operations})]})}function Wm({label:e,value:t}){return(0,T.jsxs)(`div`,{className:`auth-detail-row`,children:[(0,T.jsx)(`span`,{className:`auth-detail-label`,children:e}),(0,T.jsx)(`span`,{className:`auth-detail-value mono`,children:t})]})}function Gte({checks:e}){return(0,T.jsxs)(`div`,{className:`auth-subsection`,children:[(0,T.jsx)(`div`,{className:`auth-subsection-title`,children:`Auth Checks`}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Kind`}),(0,T.jsx)(`th`,{children:`Callee`}),(0,T.jsx)(`th`,{children:`Subjects`}),(0,T.jsx)(`th`,{children:`Line`})]})}),(0,T.jsx)(`tbody`,{children:e.map((e,t)=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`cap-badge cap-badge-source`,children:e.kind})}),(0,T.jsx)(`td`,{className:`mono`,children:e.callee}),(0,T.jsx)(`td`,{children:e.subjects.length===0?`-`:(0,T.jsx)(qte,{subjects:e.subjects})}),(0,T.jsxs)(`td`,{className:`mono`,children:[`L`,e.line]})]},`${e.callee}-${e.line}-${t}`))})]})]})}function Kte({operations:e}){return(0,T.jsxs)(`div`,{className:`auth-subsection`,children:[(0,T.jsx)(`div`,{className:`auth-subsection-title`,children:`Sensitive Operations`}),(0,T.jsxs)(`table`,{className:`abstract-table`,children:[(0,T.jsx)(`thead`,{children:(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`th`,{children:`Kind`}),(0,T.jsx)(`th`,{children:`Sink Class`}),(0,T.jsx)(`th`,{children:`Callee`}),(0,T.jsx)(`th`,{children:`Subjects`}),(0,T.jsx)(`th`,{children:`Line`})]})}),(0,T.jsx)(`tbody`,{children:e.map((e,t)=>(0,T.jsxs)(`tr`,{children:[(0,T.jsx)(`td`,{children:(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sanitizer`,children:e.kind})}),(0,T.jsx)(`td`,{children:e.sink_class?(0,T.jsx)(`span`,{className:`cap-badge cap-badge-sink`,children:e.sink_class}):`-`}),(0,T.jsx)(`td`,{className:`mono`,title:e.text,children:e.callee}),(0,T.jsx)(`td`,{children:e.subjects.length===0?`-`:(0,T.jsx)(qte,{subjects:e.subjects})}),(0,T.jsxs)(`td`,{className:`mono`,children:[`L`,e.line]})]},`${e.callee}-${e.line}-${t}`))})]})]})}function qte({subjects:e}){return(0,T.jsx)(`div`,{className:`auth-subject-chips`,children:e.map((e,t)=>(0,T.jsx)(`span`,{className:`cap-badge`,title:`${e.source_kind}${e.base?` (base: ${e.base})`:``}`,children:e.name},`${e.name}-${t}`))})}var Jte={source:`var(--success)`,assignment:`var(--accent)`,call:`var(--sev-medium)`,phi:`var(--text-tertiary)`,sink:`var(--sev-high)`},Yte={source:`Source`,assignment:`Assign`,call:`Call`,phi:`Phi`,sink:`Sink`},Xte=[{id:`code`,label:`Code`},{id:`cfg`,label:`CFG`,requiresFunction:!0,supportsFunction:!0},{id:`ssa`,label:`SSA`,requiresFunction:!0,supportsFunction:!0},{id:`taint`,label:`Taint`,requiresFunction:!0,supportsFunction:!0},{id:`summaries`,label:`Summaries`,supportsFunction:!0},{id:`abstract-interp`,label:`Abstract Interp`,requiresFunction:!0,supportsFunction:!0},{id:`symex`,label:`Symex`,requiresFunction:!0,supportsFunction:!0},{id:`pointer`,label:`Pointer`,requiresFunction:!0,supportsFunction:!0},{id:`type-facts`,label:`Type Facts`,requiresFunction:!0,supportsFunction:!0},{id:`auth`,label:`Auth`}],Zte=new Map(Xte.map(e=>[e.id,e]));function Qte(){vo(`Explorer`);let[e,t]=_i(),[n,r]=(0,w.useState)(`tree`),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(),[c,l]=(0,w.useState)(null),[u,d]=(0,w.useState)(null),f=(0,w.useRef)({}),p=e.get(`view`),m=e.get(`file`)||null,h=e.get(`function`)||null,g=sne(p)?p:`code`,_=Zte.get(g),v=g===`code`,y=(0,w.useCallback)((e,n=!1)=>{t(t=>{let n=new URLSearchParams(t);for(let[t,r]of Object.entries(e))r?n.set(t,r):n.delete(t);return n},{replace:n})},[t]);(0,w.useEffect)(()=>{p!==g&&y({view:g},!0)},[g,p,y]);let{data:b,error:x}=Tl(m),S=(0,w.useMemo)(()=>b?.filter(e=>e.func_kind===`closure`).length??0,[b]),ee=(0,w.useMemo)(()=>b&&(i?b:b.filter(e=>e.func_kind!==`closure`)),[b,i]),te=!!(m&&cne(x)),ne=!!(m&&x&&!te),C=m&&!te?m:null,{rootEntries:re,isLoading:ie,expandedPaths:ae,loadedChildren:oe,selectedPath:se,handleToggleExpand:ce,handleSelectFile:le}=Ul(C,(0,w.useCallback)(e=>{s(void 0),l(null),d(null),y({file:e,function:null})},[y])),{data:ue,isLoading:de}=Dl(C),fe=h&&ue?.some(e=>e.name===h)?h:null;ue?.length,(0,w.useEffect)(()=>{if(h){if(!C){d(`Function "${h}" was cleared because no valid file is selected.`),y({function:null},!0);return}ue&&(ue.some(e=>e.name===h)||(d(`Function "${h}" was not found in ${C}.`),y({function:null},!0)))}},[ue,h,C,y]);let{data:pe}=El(C),{data:me}=jo(c??``),he=(0,w.useCallback)((e,t)=>{l(e),s(t)},[]),ge=(0,w.useCallback)(e=>{y({view:e})},[y]),_e=(0,w.useCallback)(e=>{d(null),y({function:e})},[y]),ve=ine(re,oe,C)?.language||``,ye=(0,w.useMemo)(()=>ane(re,oe),[oe,re]),be=pe?pe.reduce((e,t)=>{let n=t.severity.toUpperCase();return e[n]=(e[n]||0)+1,e},{}):{},xe=me?.evidence,Se=xe?.flow_steps,Ce=Se&&Se.length>0,we=me?.rule_id.startsWith(`state-`)&&xe?.state,Te=c!=null&&xe?{sourceLine:xe.source?.line,sinkLine:xe.sink?.line,findingLine:me?.line}:void 0,Ee=new Set;if(Ce)for(let e of Se)e.line&&Ee.add(e.line);let De=$te({currentView:g,currentViewLabel:_.label,selectedFile:C,selectedFunction:fe,functions:ue,functionsLoading:de,onBrowseFiles:()=>ge(`code`)});return(0,T.jsxs)(`div`,{className:`explorer-page ${v?`explorer-page-code`:`explorer-page-analysis`}`,children:[(0,T.jsxs)(`div`,{className:`explorer-left`,children:[(0,T.jsx)(`div`,{className:`explorer-left-header`,children:(0,T.jsx)(`div`,{className:`explorer-mode-toggle`,children:[`tree`,`symbols`,`hotspots`].map(e=>(0,T.jsx)(`button`,{className:`mode-btn${n===e?` active`:``}`,onClick:()=>r(e),children:e===`tree`?`Files`:e===`symbols`?`Symbols`:`Hotspots`},e))})}),(0,T.jsxs)(`div`,{className:`explorer-left-body`,children:[n===`tree`&&(0,T.jsxs)(T.Fragment,{children:[ie&&(0,T.jsx)(Za,{message:`Loading files...`}),re&&(0,T.jsx)(Rl,{entries:re,expandedPaths:ae,selectedPath:se,onToggleExpand:ce,onSelectFile:le,loadedChildren:oe})]}),n===`symbols`&&(0,T.jsxs)(`div`,{className:`explorer-symbol-list`,children:[!C&&(0,T.jsx)(`div`,{className:`explorer-hint`,children:`Select a file to view symbols`}),C&&b&&b.length===0&&(0,T.jsx)(`div`,{className:`explorer-hint`,children:`No symbols found`}),C&&S>0&&(0,T.jsxs)(`label`,{className:`explorer-symbol-toggle`,children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:i,onChange:e=>a(e.target.checked)}),(0,T.jsxs)(`span`,{children:[`Show `,S,` anonymous closure`,S===1?``:`s`]})]}),C&&ee?.map((e,t)=>(0,T.jsxs)(`div`,{className:`explorer-symbol-item`,children:[(0,T.jsx)(`span`,{className:`symbol-kind symbol-kind-${e.kind}`,children:e.kind===`function`?`ƒ`:`m`}),(0,T.jsx)(`span`,{className:`symbol-name`,children:e.name}),e.arity!==void 0&&e.arity!==null&&(0,T.jsxs)(`span`,{className:`symbol-arity`,children:[`(`,e.arity,`)`]}),e.func_kind===`closure`&&(0,T.jsx)(`span`,{className:`text-secondary`,style:{marginLeft:6,fontSize:`0.85em`},children:e.container?`[closure in ${e.container}]`:`[closure]`}),e.finding_count>0&&(0,T.jsx)(`span`,{className:`tree-node-badge`,children:e.finding_count})]},`${e.name}-${t}`))]}),n===`hotspots`&&(0,T.jsxs)(`div`,{className:`explorer-hotspot-list`,children:[ye.length===0&&(0,T.jsx)(`div`,{className:`explorer-hint`,children:`No findings in scanned files`}),ye.map(e=>(0,T.jsxs)(`div`,{className:`hotspot-item${C===e.path?` selected`:``}`,onClick:()=>le(e.path),children:[(0,T.jsx)(`span`,{className:`hotspot-name`,title:e.path,children:e.name}),(0,T.jsx)(`span`,{className:`hotspot-count`,children:(0,T.jsx)(`span`,{className:`badge badge-sev badge-sev-${(e.severity_max||`low`).toLowerCase()}`,children:e.finding_count})})]},e.path))]})]})]}),(0,T.jsxs)(`div`,{className:`explorer-main-shell`,children:[(0,T.jsxs)(`div`,{className:`explorer-file-header`,children:[(0,T.jsxs)(`div`,{className:`explorer-file-header-top`,children:[(0,T.jsxs)(`div`,{className:`explorer-file-header-copy`,children:[(0,T.jsx)(`span`,{className:`explorer-file-label`,children:`File`}),(0,T.jsx)(`span`,{className:`explorer-file-path`,children:C||`Select a file in Explorer`})]}),C&&_.supportsFunction&&(0,T.jsx)(Gl,{file:C,selectedFunction:fe,onFunctionChange:_e,showFilePath:!1})]}),(0,T.jsx)(`div`,{className:`explorer-view-tabs`,role:`tablist`,"aria-label":`File views`,children:Xte.map(e=>(0,T.jsx)(`button`,{className:`explorer-view-tab${g===e.id?` active`:``}`,onClick:()=>ge(e.id),type:`button`,children:e.label},e.id))}),te&&m&&(0,T.jsxs)(`div`,{className:`explorer-inline-notice`,children:[`The requested file `,(0,T.jsx)(`code`,{children:m}),` could not be found. Choose another file in Explorer.`]}),ne&&(0,T.jsx)(`div`,{className:`explorer-inline-notice explorer-inline-notice-warning`,children:`Explorer could not validate the selected file right now.`}),u&&(0,T.jsx)(`div`,{className:`explorer-inline-notice`,children:u})]}),(0,T.jsx)(`div`,{className:`explorer-main-body`,children:v?(0,T.jsxs)(T.Fragment,{children:[!C&&(0,T.jsx)(Hl,{icon:(0,T.jsx)(ea,{size:48}),message:te?`Choose a file from the Explorer to continue.`:`Select a file from the tree to view its contents.`}),C&&(0,T.jsx)(gs,{filePath:C,findings:pe||void 0,highlights:Te,highlightLine:o,flowLines:Ee.size>0?Ee:void 0,language:ve,initialScrollTop:f.current[C],onScrollPositionChange:e=>{f.current[C]=e}})]}):De})]}),v&&(0,T.jsxs)(`div`,{className:`explorer-right`,children:[!C&&(0,T.jsx)(`div`,{className:`explorer-right-section`,children:(0,T.jsx)(`div`,{className:`explorer-hint`,children:`Select a file to view analysis details`})}),C&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`div`,{className:`explorer-right-section`,children:[(0,T.jsx)(`h3`,{children:`File Summary`}),(0,T.jsxs)(`div`,{className:`explorer-file-meta`,children:[ve&&(0,T.jsx)(`span`,{className:`badge`,children:ve}),(0,T.jsxs)(`span`,{className:`meta-text`,children:[pe?pe.length:0,` finding`,pe?.length===1?``:`s`]})]}),pe&&pe.length>0&&(0,T.jsx)(`div`,{className:`explorer-sev-breakdown`,children:Object.entries(be).sort(([e],[t])=>one(e)-one(t)).map(([e,t])=>(0,T.jsxs)(`span`,{className:`badge badge-sev badge-sev-${e.toLowerCase()}`,children:[e,`: `,t]},e))})]}),(0,T.jsxs)(`div`,{className:`explorer-right-section`,children:[(0,T.jsx)(`h3`,{children:`Symbols`}),b&&b.length===0&&(0,T.jsx)(`div`,{className:`explorer-hint`,children:`No symbols found`}),ee?.map((e,t)=>(0,T.jsxs)(`div`,{className:`explorer-symbol-item compact`,children:[(0,T.jsx)(`span`,{className:`symbol-kind symbol-kind-${e.kind}`,children:e.kind===`function`?`ƒ`:`m`}),(0,T.jsx)(`span`,{className:`symbol-name`,children:e.name}),e.func_kind===`closure`&&(0,T.jsx)(`span`,{className:`text-secondary`,style:{marginLeft:6,fontSize:`0.85em`},children:`[closure]`})]},`${e.name}-${t}`)),!i&&S>0&&(0,T.jsxs)(`button`,{className:`explorer-symbol-toggle-link`,type:`button`,onClick:()=>a(!0),children:[`Show `,S,` closure`,S===1?``:`s`]})]}),(0,T.jsxs)(`div`,{className:`explorer-right-section`,children:[(0,T.jsx)(`h3`,{children:`Findings`}),pe&&pe.length===0&&(0,T.jsx)(`div`,{className:`explorer-hint`,children:`No findings in this file`}),(0,T.jsx)(`div`,{className:`explorer-findings-list`,children:pe?.map(e=>(0,T.jsxs)(`div`,{className:`explorer-finding-item${c===e.index?` active`:``}`,onClick:()=>he(e.index,e.line),children:[(0,T.jsx)(`span`,{className:`finding-sev-dot sev-${e.severity.toLowerCase()}`}),(0,T.jsxs)(`span`,{className:`finding-line`,children:[`L`,e.line]}),(0,T.jsx)(`span`,{className:`finding-rule`,children:e.rule_id}),e.message&&(0,T.jsx)(`span`,{className:`finding-msg`,title:e.message,children:e.message})]},`${e.line}-${e.rule_id}`))})]}),Ce&&(0,T.jsxs)(`div`,{className:`explorer-right-section`,children:[(0,T.jsx)(`h3`,{children:`Taint Flow`}),(0,T.jsx)(tne,{steps:Se,onStepClick:e=>s(e)})]}),we&&me&&(0,T.jsx)(rne,{finding:me})]})]})]})}function $te({currentView:e,currentViewLabel:t,selectedFile:n,selectedFunction:r,functions:i,functionsLoading:a,onBrowseFiles:o}){if(!n)return(0,T.jsx)(Hl,{icon:(0,T.jsx)(ea,{size:48}),message:`Select a file from the tree to view its contents.`});if(e===`summaries`)return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(wte,{file:n,functionName:r,scope:`file`})});if(e===`auth`)return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(Bte,{file:n})});if(a)return(0,T.jsx)(Za,{message:`Loading functions...`});if((i?.length??0)===0)return(0,T.jsx)(ene,{title:`No functions found`,message:`This file does not expose any functions for function-scoped analysis.`});if(!r)return(0,T.jsx)(ene,{title:`Select a function to inspect ${t}`,message:`Choose a function in the header to view ${t.toLowerCase()} for this file.`});switch(e){case`cfg`:return(0,T.jsx)(gte,{file:n,functionName:r});case`ssa`:return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(_te,{file:n,functionName:r})});case`taint`:return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(bte,{file:n,functionName:r})});case`abstract-interp`:return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(Dte,{file:n,functionName:r})});case`symex`:return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(Ate,{file:n,functionName:r})});case`pointer`:return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(jte,{file:n,functionName:r})});case`type-facts`:return(0,T.jsx)(`div`,{className:`explorer-analysis-content`,children:(0,T.jsx)(Ite,{file:n,functionName:r})});case`code`:return null}}function ene({title:e,message:t,onBrowseFiles:n}){return(0,T.jsxs)(Hl,{children:[(0,T.jsx)(`h3`,{children:e}),(0,T.jsx)(`p`,{children:t}),n&&(0,T.jsx)(`button`,{className:`btn btn-primary btn-sm`,onClick:n,children:`Browse Files`})]})}function tne({steps:e,onStepClick:t}){return(0,T.jsx)(`div`,{className:`flow-timeline explorer-flow`,children:e.map((n,r)=>{let i=Jte[n.kind]||`var(--text-secondary)`,a=Yte[n.kind]||n.kind,o=r===e.length-1;return(0,T.jsxs)(`div`,{className:`flow-step${n.is_cross_file?` flow-step-cross-file`:``}`,onClick:()=>n.line&&t(n.line),children:[(0,T.jsxs)(`div`,{className:`flow-step-connector`,children:[(0,T.jsx)(`div`,{className:`flow-step-dot`,style:{background:i}}),!o&&(0,T.jsx)(`div`,{className:`flow-step-line`})]}),(0,T.jsxs)(`div`,{className:`flow-step-card`,children:[(0,T.jsxs)(`div`,{className:`flow-step-header`,children:[(0,T.jsx)(`span`,{className:`flow-step-badge`,style:{color:i},children:a}),n.variable&&(0,T.jsx)(`span`,{className:`flow-step-var`,children:n.variable}),n.callee&&(0,T.jsx)(`span`,{className:`flow-step-callee`,children:n.callee})]}),(0,T.jsxs)(`div`,{className:`flow-step-loc`,children:[`L`,n.line,`:`,n.col,n.function?` in ${n.function}`:``]}),n.snippet&&(0,T.jsx)(`div`,{className:`flow-step-snippet`,children:n.snippet})]})]},r)})})}var nne={"state-use-after-close":`Ensure the resource is not accessed after calling close/free.`,"state-double-close":`Remove the duplicate close call, or guard with a null/closed check.`,"state-resource-leak":`Add a close/free call before the function exits, or use defer/with/try-with-resources/RAII.`,"state-resource-leak-possible":`Ensure the resource is closed on all code paths, including error/early-return paths.`,"state-unauthed-access":`Add an authentication check before this operation, or move it behind auth middleware.`};function rne({finding:e}){let t=e.evidence?.state;if(!t)return null;let n=t.machine===`auth`?`Authentication State`:`Resource Lifecycle`,r=nne[e.rule_id],i=e.rule_id.includes(`leak`)&&e.evidence?.sink?`L${e.evidence.sink.line}:${e.evidence.sink.col}`:null;return(0,T.jsxs)(`div`,{className:`explorer-right-section`,children:[(0,T.jsx)(`h3`,{children:`State Analysis`}),(0,T.jsxs)(`div`,{className:`state-transition-card`,children:[(0,T.jsx)(`div`,{className:`state-machine-label`,children:n}),t.subject&&(0,T.jsxs)(`div`,{className:`state-subject`,children:[(0,T.jsx)(`span`,{className:`state-subject-label`,children:`Variable:`}),(0,T.jsx)(`code`,{className:`state-subject-name`,children:t.subject})]}),(0,T.jsxs)(`div`,{className:`state-transition-visual`,children:[(0,T.jsx)(`span`,{className:`state-from`,children:t.from_state}),(0,T.jsx)(`span`,{className:`state-arrow`,children:`→`}),(0,T.jsx)(`span`,{className:`state-to`,children:t.to_state})]}),i&&(0,T.jsxs)(`div`,{className:`state-acquire-location`,children:[`Acquired at: `,i]})]}),r&&(0,T.jsxs)(`div`,{className:`state-remediation`,children:[(0,T.jsx)(`div`,{className:`state-remediation-label`,children:`Remediation`}),r]})]})}function ine(e,t,n){if(n){if(e){let t=e.find(e=>e.path===n);if(t)return t}for(let e of t.values()){let t=e.find(e=>e.path===n);if(t)return t}}}function ane(e,t){let n=[];function r(e){for(let i of e)if(i.entry_type===`file`&&i.finding_count>0&&n.push(i),i.entry_type===`dir`){let e=t.get(i.path);e&&r(e)}}return e&&r(e),n.sort((e,t)=>t.finding_count-e.finding_count),n}function one(e){switch(e){case`HIGH`:return 0;case`MEDIUM`:return 1;case`LOW`:return 2;default:return 3}}function sne(e){return Zte.has(e)}function cne(e){return e instanceof ua&&(e.status===403||e.status===404)}var lne=[{path:`/debug/call-graph`,label:`Call Graph`},{path:`/debug/summaries`,label:`Summaries`}];function une(){return(0,T.jsx)(`div`,{className:`debug-layout debug-layout-global`,children:(0,T.jsxs)(`div`,{className:`debug-main`,children:[(0,T.jsx)(`nav`,{className:`debug-tabs`,children:lne.map(e=>(0,T.jsx)(di,{to:e.path,className:({isActive:e})=>`debug-tab${e?` debug-tab-active`:``}`,children:e.label},e.path))}),(0,T.jsx)(`div`,{className:`debug-content`,children:(0,T.jsx)(hr,{})})]})})}var dne=44,fne=48;function Gm(e,t){return e.length>t?`${e.slice(0,t-1)}…`:e}function pne(e){if(e.namespace)return Gm(e.namespace,fne);let t=e.file.split(/[\\/]/);return Gm(t[t.length-1]??e.file,fne)}function mne(e){let t=new Set;for(let n of e.sccs)for(let e of n)t.add(e);return{kind:`callgraph`,nodes:e.nodes.map(e=>({key:String(e.id),rawId:e.id,label:Gm(e.name,dne),kind:`Call`,detail:pne(e),metadata:{...e,isRecursive:t.has(e.id),searchText:[e.name,e.namespace,e.file,e.lang,e.arity==null?``:String(e.arity)].filter(Boolean).join(` `).toLowerCase()}})),edges:e.edges.map((e,t)=>({key:`call:${e.source}:${e.target}:${t}`,source:String(e.source),target:String(e.target),kind:`Call`,metadata:{...e}}))}}function hne(e,t,n=200){let r=t.trim().toLowerCase();if(!r)return[];let i=[];for(let t of e.nodes)if(String(t.metadata?.searchText??t.label).toLowerCase().includes(r)&&(i.push(t),i.length>=n))break;return i}function gne(e,t,n){if(!t||n<1||!new Set(e.nodes.map(e=>e.key)).has(t))return e;let r=new Map;for(let t of e.nodes)r.set(t.key,new Set);for(let t of e.edges)r.get(t.source)?.add(t.target),r.get(t.target)?.add(t.source);let i=new Set([t]),a=new Set([t]);for(let e=0;e<n;e+=1){let e=new Set;for(let t of a){let n=r.get(t);if(n)for(let t of n)i.has(t)||(i.add(t),e.add(t))}if(e.size===0)break;a=e}return{kind:e.kind,nodes:e.nodes.filter(e=>i.has(e.key)),edges:e.edges.filter(e=>i.has(e.source)&&i.has(e.target))}}function _ne({data:e,selectedNodeId:t,onSelectNode:n}){let[r,i]=(0,w.useState)(``),[a,o]=(0,w.useState)(!1),[s,c]=(0,w.useState)(1),l=(0,w.useMemo)(()=>mne(e),[e]),u=t==null?null:String(t),d=(0,w.useMemo)(()=>hne(l,r,60),[l,r]),f=(0,w.useMemo)(()=>new Set(d.map(e=>e.key)),[d]),{graph:p,isLoading:m,error:h}=Du((0,w.useMemo)(()=>!a||!u?l:gne(l,u,s),[l,a,s,u]));return h?(0,T.jsx)(`div`,{className:`error-state`,children:`Failed to compute the call graph layout.`}):p?(0,T.jsx)(fte,{graph:p,viewKind:`callgraph`,selectedNodeKey:u,onNodeClick:e=>n(Number(e)),searchMatchKeys:f,toolbarExtras:(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`label`,{className:`graph-toolbar-field`,children:[(0,T.jsx)(`span`,{children:`Search`}),(0,T.jsx)(`input`,{className:`graph-toolbar-input`,type:`search`,value:r,onChange:e=>i(e.target.value),placeholder:`Function name`})]}),(0,T.jsxs)(`label`,{className:`graph-toolbar-field`,children:[(0,T.jsx)(`span`,{children:`Match`}),(0,T.jsxs)(`select`,{className:`graph-toolbar-select`,value:u??``,onChange:e=>{let t=e.target.value;t&&n(Number(t))},children:[(0,T.jsx)(`option`,{value:``,children:`Select…`}),d.map(e=>(0,T.jsx)(`option`,{value:e.key,children:e.label},e.key))]})]}),(0,T.jsxs)(`label`,{className:`graph-toolbar-check`,children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:a,onChange:e=>o(e.target.checked)}),(0,T.jsx)(`span`,{children:`Neighbors only`})]}),(0,T.jsxs)(`label`,{className:`graph-toolbar-field graph-toolbar-field-compact`,children:[(0,T.jsx)(`span`,{children:`Radius`}),(0,T.jsx)(`input`,{className:`graph-toolbar-range`,type:`range`,min:`1`,max:`4`,step:`1`,value:s,disabled:!a,onChange:e=>c(Number(e.target.value))}),(0,T.jsx)(`strong`,{children:s})]})]}),loading:m}):(0,T.jsx)(`div`,{className:`loading`,children:`Preparing call graph…`})}function vne(){let[e,t]=(0,w.useState)(null),{data:n,isLoading:r,error:i}=Nl(`project`);if(r)return(0,T.jsx)(`div`,{className:`loading`,children:`Loading call graph...`});if(i)return(0,T.jsx)(`div`,{className:`error-state`,children:`Failed to load call graph. Have you run a scan?`});if(!n)return null;let a=n.nodes.find(t=>t.id===e);return(0,T.jsxs)(`div`,{className:`debug-split`,children:[(0,T.jsxs)(`div`,{className:`debug-split-main`,children:[(0,T.jsxs)(`div`,{className:`debug-toolbar`,children:[(0,T.jsx)(`span`,{className:`debug-toolbar-label`,children:`Project scope`}),(0,T.jsxs)(`span`,{className:`text-secondary`,children:[n.nodes.length,` functions, `,n.edges.length,` edges`,n.sccs.length>0&&`, ${n.sccs.length} recursive SCCs`,n.unresolved_count>0&&`, ${n.unresolved_count} unresolved`]})]}),(0,T.jsx)(_ne,{data:n,selectedNodeId:e,onSelectNode:t})]}),a&&(0,T.jsxs)(`div`,{className:`debug-split-sidebar`,children:[(0,T.jsx)(`h3`,{children:a.name}),(0,T.jsxs)(`div`,{className:`debug-node-detail`,children:[(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Language`}),(0,T.jsx)(`span`,{className:`debug-detail-value`,children:a.lang})]}),(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Namespace`}),(0,T.jsx)(`span`,{className:`debug-detail-value mono`,children:a.namespace})]}),a.arity!=null&&(0,T.jsxs)(`div`,{className:`debug-detail-row`,children:[(0,T.jsx)(`span`,{className:`debug-detail-label`,children:`Arity`}),(0,T.jsx)(`span`,{className:`debug-detail-value`,children:a.arity})]})]})]})]})}function yne(){let[e,t]=(0,w.useState)(!1),[n,r]=(0,w.useState)(!1),[i,a]=(0,w.useState)(!1),o=(0,w.useCallback)(()=>{t(!0)},[]),s=(0,w.useMemo)(()=>[{id:`go-overview`,group:`Navigate`,label:`Overview`,to:`/`},{id:`go-findings`,group:`Navigate`,label:`Findings`,to:`/findings`},{id:`go-scans`,group:`Navigate`,label:`Scans`,to:`/scans`},{id:`go-rules`,group:`Navigate`,label:`Rules`,to:`/rules`},{id:`go-triage`,group:`Navigate`,label:`Triage`,to:`/triage`},{id:`go-config`,group:`Navigate`,label:`Config`,to:`/config`},{id:`go-explorer`,group:`Navigate`,label:`Explorer`,to:`/explorer`},{id:`go-debug-cg`,group:`Navigate`,label:`Call Graph`,hint:`Debug`,to:`/debug/call-graph`},{id:`go-debug-summaries`,group:`Navigate`,label:`Summary Explorer`,hint:`Debug`,to:`/debug/summaries`},{id:`start-scan`,group:`Actions`,label:`Start new scan`,keywords:[`scan`,`run`],action:()=>t(!0)},{id:`show-shortcuts`,group:`Actions`,label:`Show keyboard shortcuts`,keywords:[`help`,`keys`],shortcut:`?`,action:()=>a(!0)}],[]);return Ga(),Va((0,w.useMemo)(()=>[{key:`k`,meta:!0,description:`Open command palette`,handler:()=>r(!0),allowInInput:!0},{key:`?`,shift:!0,description:`Show keyboard shortcuts`,handler:()=>a(!0)},{key:`Escape`,description:`Close modal / palette`,handler:()=>{n?r(!1):i?a(!1):e&&t(!1)},allowInInput:!0}],[n,i,e])),(0,T.jsxs)(`div`,{id:`app`,children:[(0,T.jsx)(cee,{}),(0,T.jsxs)(`div`,{className:`main-panel`,children:[(0,T.jsx)(Da,{onStartScan:o,onOpenPalette:()=>r(!0)}),(0,T.jsx)(`main`,{className:`content`,children:(0,T.jsxs)(vr,{children:[(0,T.jsx)(gr,{path:`/`,element:(0,T.jsx)(yo,{})}),(0,T.jsx)(gr,{path:`/findings`,element:(0,T.jsx)(lee,{})}),(0,T.jsx)(gr,{path:`/findings/:id`,element:(0,T.jsx)(Gs,{})}),(0,T.jsx)(gr,{path:`/scans`,element:(0,T.jsx)(nc,{})}),(0,T.jsx)(gr,{path:`/scans/compare/:left/:right`,element:(0,T.jsx)(vc,{})}),(0,T.jsx)(gr,{path:`/scans/:id`,element:(0,T.jsx)(uc,{})}),(0,T.jsx)(gr,{path:`/rules`,element:(0,T.jsx)(Tc,{})}),(0,T.jsx)(gr,{path:`/rules/:id`,element:(0,T.jsx)(Tc,{})}),(0,T.jsx)(gr,{path:`/triage`,element:(0,T.jsx)(Kc,{})}),(0,T.jsx)(gr,{path:`/config`,element:(0,T.jsx)(Cl,{})}),(0,T.jsx)(gr,{path:`/explorer`,element:(0,T.jsx)(Qte,{})}),(0,T.jsxs)(gr,{path:`/debug`,element:(0,T.jsx)(une,{}),children:[(0,T.jsx)(gr,{index:!0,element:(0,T.jsx)(mr,{to:`/debug/call-graph`,replace:!0})}),(0,T.jsx)(gr,{path:`call-graph`,element:(0,T.jsx)(vne,{})}),(0,T.jsx)(gr,{path:`summaries`,element:(0,T.jsx)(Tte,{})}),(0,T.jsx)(gr,{path:`auth`,element:(0,T.jsx)(mr,{to:`/explorer?view=auth`,replace:!0})})]})]})})]}),(0,T.jsx)(Pa,{open:e,onClose:()=>t(!1)}),(0,T.jsx)(Ia,{open:n,onClose:()=>r(!1),commands:s}),(0,T.jsx)(Ra,{open:i,onClose:()=>a(!1)})]})}function bne(){return(0,T.jsx)(Vi,{children:(0,T.jsx)(st,{client:ki,children:(0,T.jsx)(Gi,{children:(0,T.jsx)(Mi,{children:(0,T.jsxs)(si,{children:[(0,T.jsx)(yne,{}),(0,T.jsx)(oa,{})]})})})})})}Oi.createRoot(document.getElementById(`root`)).render((0,T.jsx)(w.StrictMode,{children:(0,T.jsx)(bne,{})}));