Files
HomeAssistantVS/custom_components/cafe/www/assets/main-Bh6odaMI.js
T

574 lines
3.3 MiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var hCn=Object.defineProperty;var pCn=(n,i,s)=>i in n?hCn(n,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[i]=s;var Zf=(n,i,s)=>pCn(n,typeof i!="symbol"?i+"":i,s);function gCn(n,i){for(var s=0;s<i.length;s++){const c=i[s];if(typeof c!="string"&&!Array.isArray(c)){for(const d in c)if(d!=="default"&&!(d in n)){const g=Object.getOwnPropertyDescriptor(c,d);g&&Object.defineProperty(n,d,g.get?g:{enumerable:!0,get:()=>c[d]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const g of d)if(g.type==="childList")for(const b of g.addedNodes)b.tagName==="LINK"&&b.rel==="modulepreload"&&c(b)}).observe(document,{childList:!0,subtree:!0});function s(d){const g={};return d.integrity&&(g.integrity=d.integrity),d.referrerPolicy&&(g.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?g.credentials="include":d.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function c(d){if(d.ep)return;d.ep=!0;const g=s(d);fetch(d.href,g)}})();var C5=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function TR(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Y$t={exports:{}},Nse={},J$t={exports:{}},Os={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var gz=Symbol.for("react.element"),bCn=Symbol.for("react.portal"),mCn=Symbol.for("react.fragment"),wCn=Symbol.for("react.strict_mode"),yCn=Symbol.for("react.profiler"),vCn=Symbol.for("react.provider"),ECn=Symbol.for("react.context"),SCn=Symbol.for("react.forward_ref"),TCn=Symbol.for("react.suspense"),ACn=Symbol.for("react.memo"),_Cn=Symbol.for("react.lazy"),KLt=Symbol.iterator;function xCn(n){return n===null||typeof n!="object"?null:(n=KLt&&n[KLt]||n["@@iterator"],typeof n=="function"?n:null)}var X$t={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z$t=Object.assign,Q$t={};function DM(n,i,s){this.props=n,this.context=i,this.refs=Q$t,this.updater=s||X$t}DM.prototype.isReactComponent={};DM.prototype.setState=function(n,i){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,i,"setState")};DM.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function eBt(){}eBt.prototype=DM.prototype;function xLe(n,i,s){this.props=n,this.context=i,this.refs=Q$t,this.updater=s||X$t}var kLe=xLe.prototype=new eBt;kLe.constructor=xLe;Z$t(kLe,DM.prototype);kLe.isPureReactComponent=!0;var YLt=Array.isArray,tBt=Object.prototype.hasOwnProperty,NLe={current:null},nBt={key:!0,ref:!0,__self:!0,__source:!0};function rBt(n,i,s){var c,d={},g=null,b=null;if(i!=null)for(c in i.ref!==void 0&&(b=i.ref),i.key!==void 0&&(g=""+i.key),i)tBt.call(i,c)&&!nBt.hasOwnProperty(c)&&(d[c]=i[c]);var w=arguments.length-2;if(w===1)d.children=s;else if(1<w){for(var E=Array(w),S=0;S<w;S++)E[S]=arguments[S+2];d.children=E}if(n&&n.defaultProps)for(c in w=n.defaultProps,w)d[c]===void 0&&(d[c]=w[c]);return{$$typeof:gz,type:n,key:g,ref:b,props:d,_owner:NLe.current}}function kCn(n,i){return{$$typeof:gz,type:n.type,key:i,ref:n.ref,props:n.props,_owner:n._owner}}function CLe(n){return typeof n=="object"&&n!==null&&n.$$typeof===gz}function NCn(n){var i={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(s){return i[s]})}var JLt=/\/+/g;function aCe(n,i){return typeof n=="object"&&n!==null&&n.key!=null?NCn(""+n.key):i.toString(36)}function Fie(n,i,s,c,d){var g=typeof n;(g==="undefined"||g==="boolean")&&(n=null);var b=!1;if(n===null)b=!0;else switch(g){case"string":case"number":b=!0;break;case"object":switch(n.$$typeof){case gz:case bCn:b=!0}}if(b)return b=n,d=d(b),n=c===""?"."+aCe(b,0):c,YLt(d)?(s="",n!=null&&(s=n.replace(JLt,"$&/")+"/"),Fie(d,i,s,"",function(S){return S})):d!=null&&(CLe(d)&&(d=kCn(d,s+(!d.key||b&&b.key===d.key?"":(""+d.key).replace(JLt,"$&/")+"/")+n)),i.push(d)),1;if(b=0,c=c===""?".":c+":",YLt(n))for(var w=0;w<n.length;w++){g=n[w];var E=c+aCe(g,w);b+=Fie(g,i,s,E,d)}else if(E=xCn(n),typeof E=="function")for(n=E.call(n),w=0;!(g=n.next()).done;)g=g.value,E=c+aCe(g,w++),b+=Fie(g,i,s,E,d);else if(g==="object")throw i=String(n),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.");return b}function Wre(n,i,s){if(n==null)return n;var c=[],d=0;return Fie(n,c,"","",function(g){return i.call(s,g,d++)}),c}function CCn(n){if(n._status===-1){var i=n._result;i=i(),i.then(function(s){(n._status===0||n._status===-1)&&(n._status=1,n._result=s)},function(s){(n._status===0||n._status===-1)&&(n._status=2,n._result=s)}),n._status===-1&&(n._status=0,n._result=i)}if(n._status===1)return n._result.default;throw n._result}var qg={current:null},$ie={transition:null},ICn={ReactCurrentDispatcher:qg,ReactCurrentBatchConfig:$ie,ReactCurrentOwner:NLe};function iBt(){throw Error("act(...) is not supported in production builds of React.")}Os.Children={map:Wre,forEach:function(n,i,s){Wre(n,function(){i.apply(this,arguments)},s)},count:function(n){var i=0;return Wre(n,function(){i++}),i},toArray:function(n){return Wre(n,function(i){return i})||[]},only:function(n){if(!CLe(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Os.Component=DM;Os.Fragment=mCn;Os.Profiler=yCn;Os.PureComponent=xLe;Os.StrictMode=wCn;Os.Suspense=TCn;Os.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ICn;Os.act=iBt;Os.cloneElement=function(n,i,s){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var c=Z$t({},n.props),d=n.key,g=n.ref,b=n._owner;if(i!=null){if(i.ref!==void 0&&(g=i.ref,b=NLe.current),i.key!==void 0&&(d=""+i.key),n.type&&n.type.defaultProps)var w=n.type.defaultProps;for(E in i)tBt.call(i,E)&&!nBt.hasOwnProperty(E)&&(c[E]=i[E]===void 0&&w!==void 0?w[E]:i[E])}var E=arguments.length-2;if(E===1)c.children=s;else if(1<E){w=Array(E);for(var S=0;S<E;S++)w[S]=arguments[S+2];c.children=w}return{$$typeof:gz,type:n.type,key:d,ref:g,props:c,_owner:b}};Os.createContext=function(n){return n={$$typeof:ECn,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:vCn,_context:n},n.Consumer=n};Os.createElement=rBt;Os.createFactory=function(n){var i=rBt.bind(null,n);return i.type=n,i};Os.createRef=function(){return{current:null}};Os.forwardRef=function(n){return{$$typeof:SCn,render:n}};Os.isValidElement=CLe;Os.lazy=function(n){return{$$typeof:_Cn,_payload:{_status:-1,_result:n},_init:CCn}};Os.memo=function(n,i){return{$$typeof:ACn,type:n,compare:i===void 0?null:i}};Os.startTransition=function(n){var i=$ie.transition;$ie.transition={};try{n()}finally{$ie.transition=i}};Os.unstable_act=iBt;Os.useCallback=function(n,i){return qg.current.useCallback(n,i)};Os.useContext=function(n){return qg.current.useContext(n)};Os.useDebugValue=function(){};Os.useDeferredValue=function(n){return qg.current.useDeferredValue(n)};Os.useEffect=function(n,i){return qg.current.useEffect(n,i)};Os.useId=function(){return qg.current.useId()};Os.useImperativeHandle=function(n,i,s){return qg.current.useImperativeHandle(n,i,s)};Os.useInsertionEffect=function(n,i){return qg.current.useInsertionEffect(n,i)};Os.useLayoutEffect=function(n,i){return qg.current.useLayoutEffect(n,i)};Os.useMemo=function(n,i){return qg.current.useMemo(n,i)};Os.useReducer=function(n,i,s){return qg.current.useReducer(n,i,s)};Os.useRef=function(n){return qg.current.useRef(n)};Os.useState=function(n){return qg.current.useState(n)};Os.useSyncExternalStore=function(n,i,s){return qg.current.useSyncExternalStore(n,i,s)};Os.useTransition=function(){return qg.current.useTransition()};Os.version="18.3.1";J$t.exports=Os;var H=J$t.exports;const Hn=TR(H),ILe=gCn({__proto__:null,default:Hn},[H]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var RCn=H,OCn=Symbol.for("react.element"),DCn=Symbol.for("react.fragment"),LCn=Object.prototype.hasOwnProperty,MCn=RCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,PCn={key:!0,ref:!0,__self:!0,__source:!0};function oBt(n,i,s){var c,d={},g=null,b=null;s!==void 0&&(g=""+s),i.key!==void 0&&(g=""+i.key),i.ref!==void 0&&(b=i.ref);for(c in i)LCn.call(i,c)&&!PCn.hasOwnProperty(c)&&(d[c]=i[c]);if(n&&n.defaultProps)for(c in i=n.defaultProps,i)d[c]===void 0&&(d[c]=i[c]);return{$$typeof:OCn,type:n,key:g,ref:b,props:d,_owner:MCn.current}}Nse.Fragment=DCn;Nse.jsx=oBt;Nse.jsxs=oBt;Y$t.exports=Nse;var I=Y$t.exports,doe={},sBt={exports:{}},Gm={},aBt={exports:{}},uBt={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(n){function i(Ae,xe){var We=Ae.length;Ae.push(xe);e:for(;0<We;){var dt=We-1>>>1,Ue=Ae[dt];if(0<d(Ue,xe))Ae[dt]=xe,Ae[We]=Ue,We=dt;else break e}}function s(Ae){return Ae.length===0?null:Ae[0]}function c(Ae){if(Ae.length===0)return null;var xe=Ae[0],We=Ae.pop();if(We!==xe){Ae[0]=We;e:for(var dt=0,Ue=Ae.length,bt=Ue>>>1;dt<bt;){var kt=2*(dt+1)-1,ht=Ae[kt],Xt=kt+1,vt=Ae[Xt];if(0>d(ht,We))Xt<Ue&&0>d(vt,ht)?(Ae[dt]=vt,Ae[Xt]=We,dt=Xt):(Ae[dt]=ht,Ae[kt]=We,dt=kt);else if(Xt<Ue&&0>d(vt,We))Ae[dt]=vt,Ae[Xt]=We,dt=Xt;else break e}}return xe}function d(Ae,xe){var We=Ae.sortIndex-xe.sortIndex;return We!==0?We:Ae.id-xe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var g=performance;n.unstable_now=function(){return g.now()}}else{var b=Date,w=b.now();n.unstable_now=function(){return b.now()-w}}var E=[],S=[],x=1,A=null,C=3,R=!1,L=!1,D=!1,B=typeof setTimeout=="function"?setTimeout:null,$=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(Ae){for(var xe=s(S);xe!==null;){if(xe.callback===null)c(S);else if(xe.startTime<=Ae)c(S),xe.sortIndex=xe.expirationTime,i(E,xe);else break;xe=s(S)}}function G(Ae){if(D=!1,P(Ae),!L)if(s(E)!==null)L=!0,Se(ee);else{var xe=s(S);xe!==null&&Le(G,xe.startTime-Ae)}}function ee(Ae,xe){L=!1,D&&(D=!1,$(ie),ie=-1),R=!0;var We=C;try{for(P(xe),A=s(E);A!==null&&(!(A.expirationTime>xe)||Ae&&!le());){var dt=A.callback;if(typeof dt=="function"){A.callback=null,C=A.priorityLevel;var Ue=dt(A.expirationTime<=xe);xe=n.unstable_now(),typeof Ue=="function"?A.callback=Ue:A===s(E)&&c(E),P(xe)}else c(E);A=s(E)}if(A!==null)var bt=!0;else{var kt=s(S);kt!==null&&Le(G,kt.startTime-xe),bt=!1}return bt}finally{A=null,C=We,R=!1}}var re=!1,Q=null,ie=-1,pe=5,me=-1;function le(){return!(n.unstable_now()-me<pe)}function fe(){if(Q!==null){var Ae=n.unstable_now();me=Ae;var xe=!0;try{xe=Q(!0,Ae)}finally{xe?K():(re=!1,Q=null)}}else re=!1}var K;if(typeof j=="function")K=function(){j(fe)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,Oe=he.port2;he.port1.onmessage=fe,K=function(){Oe.postMessage(null)}}else K=function(){B(fe,0)};function Se(Ae){Q=Ae,re||(re=!0,K())}function Le(Ae,xe){ie=B(function(){Ae(n.unstable_now())},xe)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Ae){Ae.callback=null},n.unstable_continueExecution=function(){L||R||(L=!0,Se(ee))},n.unstable_forceFrameRate=function(Ae){0>Ae||125<Ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<Ae?Math.floor(1e3/Ae):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_getFirstCallbackNode=function(){return s(E)},n.unstable_next=function(Ae){switch(C){case 1:case 2:case 3:var xe=3;break;default:xe=C}var We=C;C=xe;try{return Ae()}finally{C=We}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Ae,xe){switch(Ae){case 1:case 2:case 3:case 4:case 5:break;default:Ae=3}var We=C;C=Ae;try{return xe()}finally{C=We}},n.unstable_scheduleCallback=function(Ae,xe,We){var dt=n.unstable_now();switch(typeof We=="object"&&We!==null?(We=We.delay,We=typeof We=="number"&&0<We?dt+We:dt):We=dt,Ae){case 1:var Ue=-1;break;case 2:Ue=250;break;case 5:Ue=1073741823;break;case 4:Ue=1e4;break;default:Ue=5e3}return Ue=We+Ue,Ae={id:x++,callback:xe,priorityLevel:Ae,startTime:We,expirationTime:Ue,sortIndex:-1},We>dt?(Ae.sortIndex=We,i(S,Ae),s(E)===null&&Ae===s(S)&&(D?($(ie),ie=-1):D=!0,Le(G,We-dt))):(Ae.sortIndex=Ue,i(E,Ae),L||R||(L=!0,Se(ee))),Ae},n.unstable_shouldYield=le,n.unstable_wrapCallback=function(Ae){var xe=C;return function(){var We=C;C=xe;try{return Ae.apply(this,arguments)}finally{C=We}}}})(uBt);aBt.exports=uBt;var jCn=aBt.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var FCn=H,Hm=jCn;function ir(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var cBt=new Set,xH={};function AR(n,i){dM(n,i),dM(n+"Capture",i)}function dM(n,i){for(xH[n]=i,n=0;n<i.length;n++)cBt.add(i[n])}var gA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c6e=Object.prototype.hasOwnProperty,$Cn=/^[: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]*$/,XLt={},ZLt={};function BCn(n){return c6e.call(ZLt,n)?!0:c6e.call(XLt,n)?!1:$Cn.test(n)?ZLt[n]=!0:(XLt[n]=!0,!1)}function UCn(n,i,s,c){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return c?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function HCn(n,i,s,c){if(i===null||typeof i>"u"||UCn(n,i,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function Vg(n,i,s,c,d,g,b){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=c,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=n,this.type=i,this.sanitizeURL=g,this.removeEmptyString=b}var Uh={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Uh[n]=new Vg(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var i=n[0];Uh[i]=new Vg(i,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Uh[n]=new Vg(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Uh[n]=new Vg(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Uh[n]=new Vg(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Uh[n]=new Vg(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Uh[n]=new Vg(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Uh[n]=new Vg(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Uh[n]=new Vg(n,5,!1,n.toLowerCase(),null,!1,!1)});var RLe=/[\-:]([a-z])/g;function OLe(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var i=n.replace(RLe,OLe);Uh[i]=new Vg(i,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var i=n.replace(RLe,OLe);Uh[i]=new Vg(i,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var i=n.replace(RLe,OLe);Uh[i]=new Vg(i,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Uh[n]=new Vg(n,1,!1,n.toLowerCase(),null,!1,!1)});Uh.xlinkHref=new Vg("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Uh[n]=new Vg(n,1,!1,n.toLowerCase(),null,!0,!0)});function DLe(n,i,s,c){var d=Uh.hasOwnProperty(i)?Uh[i]:null;(d!==null?d.type!==0:c||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(HCn(i,s,d,c)&&(s=null),c||d===null?BCn(i)&&(s===null?n.removeAttribute(i):n.setAttribute(i,""+s)):d.mustUseProperty?n[d.propertyName]=s===null?d.type===3?!1:"":s:(i=d.attributeName,c=d.attributeNamespace,s===null?n.removeAttribute(i):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,c?n.setAttributeNS(c,i,s):n.setAttribute(i,s))))}var AA=FCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Kre=Symbol.for("react.element"),I5=Symbol.for("react.portal"),R5=Symbol.for("react.fragment"),LLe=Symbol.for("react.strict_mode"),l6e=Symbol.for("react.profiler"),lBt=Symbol.for("react.provider"),dBt=Symbol.for("react.context"),MLe=Symbol.for("react.forward_ref"),d6e=Symbol.for("react.suspense"),f6e=Symbol.for("react.suspense_list"),PLe=Symbol.for("react.memo"),Pk=Symbol.for("react.lazy"),fBt=Symbol.for("react.offscreen"),QLt=Symbol.iterator;function CU(n){return n===null||typeof n!="object"?null:(n=QLt&&n[QLt]||n["@@iterator"],typeof n=="function"?n:null)}var fl=Object.assign,uCe;function VU(n){if(uCe===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);uCe=i&&i[1]||""}return`
`+uCe+n}var cCe=!1;function lCe(n,i){if(!n||cCe)return"";cCe=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(S){var c=S}Reflect.construct(n,[],i)}else{try{i.call()}catch(S){c=S}n.call(i.prototype)}else{try{throw Error()}catch(S){c=S}n()}}catch(S){if(S&&c&&typeof S.stack=="string"){for(var d=S.stack.split(`
`),g=c.stack.split(`
`),b=d.length-1,w=g.length-1;1<=b&&0<=w&&d[b]!==g[w];)w--;for(;1<=b&&0<=w;b--,w--)if(d[b]!==g[w]){if(b!==1||w!==1)do if(b--,w--,0>w||d[b]!==g[w]){var E=`
`+d[b].replace(" at new "," at ");return n.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",n.displayName)),E}while(1<=b&&0<=w);break}}}finally{cCe=!1,Error.prepareStackTrace=s}return(n=n?n.displayName||n.name:"")?VU(n):""}function zCn(n){switch(n.tag){case 5:return VU(n.type);case 16:return VU("Lazy");case 13:return VU("Suspense");case 19:return VU("SuspenseList");case 0:case 2:case 15:return n=lCe(n.type,!1),n;case 11:return n=lCe(n.type.render,!1),n;case 1:return n=lCe(n.type,!0),n;default:return""}}function h6e(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case R5:return"Fragment";case I5:return"Portal";case l6e:return"Profiler";case LLe:return"StrictMode";case d6e:return"Suspense";case f6e:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case dBt:return(n.displayName||"Context")+".Consumer";case lBt:return(n._context.displayName||"Context")+".Provider";case MLe:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case PLe:return i=n.displayName||null,i!==null?i:h6e(n.type)||"Memo";case Pk:i=n._payload,n=n._init;try{return h6e(n(i))}catch{}}return null}function GCn(n){var i=n.type;switch(n.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=i.render,n=n.displayName||n.name||"",i.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return h6e(i);case 8:return i===LLe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function nN(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function hBt(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function qCn(n){var i=hBt(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),c=""+n[i];if(!n.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,g=s.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return d.call(this)},set:function(b){c=""+b,g.call(this,b)}}),Object.defineProperty(n,i,{enumerable:s.enumerable}),{getValue:function(){return c},setValue:function(b){c=""+b},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function Yre(n){n._valueTracker||(n._valueTracker=qCn(n))}function pBt(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var s=i.getValue(),c="";return n&&(c=hBt(n)?n.checked?"true":"false":n.value),n=c,n!==s?(i.setValue(n),!0):!1}function foe(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function p6e(n,i){var s=i.checked;return fl({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??n._wrapperState.initialChecked})}function e5t(n,i){var s=i.defaultValue==null?"":i.defaultValue,c=i.checked!=null?i.checked:i.defaultChecked;s=nN(i.value!=null?i.value:s),n._wrapperState={initialChecked:c,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function gBt(n,i){i=i.checked,i!=null&&DLe(n,"checked",i,!1)}function g6e(n,i){gBt(n,i);var s=nN(i.value),c=i.type;if(s!=null)c==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(c==="submit"||c==="reset"){n.removeAttribute("value");return}i.hasOwnProperty("value")?b6e(n,i.type,s):i.hasOwnProperty("defaultValue")&&b6e(n,i.type,nN(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(n.defaultChecked=!!i.defaultChecked)}function t5t(n,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var c=i.type;if(!(c!=="submit"&&c!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+n._wrapperState.initialValue,s||i===n.value||(n.value=i),n.defaultValue=i}s=n.name,s!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,s!==""&&(n.name=s)}function b6e(n,i,s){(i!=="number"||foe(n.ownerDocument)!==n)&&(s==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+s&&(n.defaultValue=""+s))}var WU=Array.isArray;function Y5(n,i,s,c){if(n=n.options,i){i={};for(var d=0;d<s.length;d++)i["$"+s[d]]=!0;for(s=0;s<n.length;s++)d=i.hasOwnProperty("$"+n[s].value),n[s].selected!==d&&(n[s].selected=d),d&&c&&(n[s].defaultSelected=!0)}else{for(s=""+nN(s),i=null,d=0;d<n.length;d++){if(n[d].value===s){n[d].selected=!0,c&&(n[d].defaultSelected=!0);return}i!==null||n[d].disabled||(i=n[d])}i!==null&&(i.selected=!0)}}function m6e(n,i){if(i.dangerouslySetInnerHTML!=null)throw Error(ir(91));return fl({},i,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function n5t(n,i){var s=i.value;if(s==null){if(s=i.children,i=i.defaultValue,s!=null){if(i!=null)throw Error(ir(92));if(WU(s)){if(1<s.length)throw Error(ir(93));s=s[0]}i=s}i==null&&(i=""),s=i}n._wrapperState={initialValue:nN(s)}}function bBt(n,i){var s=nN(i.value),c=nN(i.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),i.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),c!=null&&(n.defaultValue=""+c)}function r5t(n){var i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function mBt(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function w6e(n,i){return n==null||n==="http://www.w3.org/1999/xhtml"?mBt(i):n==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Jre,wBt=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,c,d){MSApp.execUnsafeLocalFunction(function(){return n(i,s,c,d)})}:n}(function(n,i){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=i;else{for(Jre=Jre||document.createElement("div"),Jre.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Jre.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;i.firstChild;)n.appendChild(i.firstChild)}});function kH(n,i){if(i){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=i;return}}n.textContent=i}var aH={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},VCn=["Webkit","ms","Moz","O"];Object.keys(aH).forEach(function(n){VCn.forEach(function(i){i=i+n.charAt(0).toUpperCase()+n.substring(1),aH[i]=aH[n]})});function yBt(n,i,s){return i==null||typeof i=="boolean"||i===""?"":s||typeof i!="number"||i===0||aH.hasOwnProperty(n)&&aH[n]?(""+i).trim():i+"px"}function vBt(n,i){n=n.style;for(var s in i)if(i.hasOwnProperty(s)){var c=s.indexOf("--")===0,d=yBt(s,i[s],c);s==="float"&&(s="cssFloat"),c?n.setProperty(s,d):n[s]=d}}var WCn=fl({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function y6e(n,i){if(i){if(WCn[n]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(ir(137,n));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(ir(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(ir(61))}if(i.style!=null&&typeof i.style!="object")throw Error(ir(62))}}function v6e(n,i){if(n.indexOf("-")===-1)return typeof i.is=="string";switch(n){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 E6e=null;function jLe(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var S6e=null,J5=null,X5=null;function i5t(n){if(n=wz(n)){if(typeof S6e!="function")throw Error(ir(280));var i=n.stateNode;i&&(i=Dse(i),S6e(n.stateNode,n.type,i))}}function EBt(n){J5?X5?X5.push(n):X5=[n]:J5=n}function SBt(){if(J5){var n=J5,i=X5;if(X5=J5=null,i5t(n),i)for(n=0;n<i.length;n++)i5t(i[n])}}function TBt(n,i){return n(i)}function ABt(){}var dCe=!1;function _Bt(n,i,s){if(dCe)return n(i,s);dCe=!0;try{return TBt(n,i,s)}finally{dCe=!1,(J5!==null||X5!==null)&&(ABt(),SBt())}}function NH(n,i){var s=n.stateNode;if(s===null)return null;var c=Dse(s);if(c===null)return null;s=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(ir(231,i,typeof s));return s}var T6e=!1;if(gA)try{var IU={};Object.defineProperty(IU,"passive",{get:function(){T6e=!0}}),window.addEventListener("test",IU,IU),window.removeEventListener("test",IU,IU)}catch{T6e=!1}function KCn(n,i,s,c,d,g,b,w,E){var S=Array.prototype.slice.call(arguments,3);try{i.apply(s,S)}catch(x){this.onError(x)}}var uH=!1,hoe=null,poe=!1,A6e=null,YCn={onError:function(n){uH=!0,hoe=n}};function JCn(n,i,s,c,d,g,b,w,E){uH=!1,hoe=null,KCn.apply(YCn,arguments)}function XCn(n,i,s,c,d,g,b,w,E){if(JCn.apply(this,arguments),uH){if(uH){var S=hoe;uH=!1,hoe=null}else throw Error(ir(198));poe||(poe=!0,A6e=S)}}function _R(n){var i=n,s=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,i.flags&4098&&(s=i.return),n=i.return;while(n)}return i.tag===3?s:null}function xBt(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function o5t(n){if(_R(n)!==n)throw Error(ir(188))}function ZCn(n){var i=n.alternate;if(!i){if(i=_R(n),i===null)throw Error(ir(188));return i!==n?null:n}for(var s=n,c=i;;){var d=s.return;if(d===null)break;var g=d.alternate;if(g===null){if(c=d.return,c!==null){s=c;continue}break}if(d.child===g.child){for(g=d.child;g;){if(g===s)return o5t(d),n;if(g===c)return o5t(d),i;g=g.sibling}throw Error(ir(188))}if(s.return!==c.return)s=d,c=g;else{for(var b=!1,w=d.child;w;){if(w===s){b=!0,s=d,c=g;break}if(w===c){b=!0,c=d,s=g;break}w=w.sibling}if(!b){for(w=g.child;w;){if(w===s){b=!0,s=g,c=d;break}if(w===c){b=!0,c=g,s=d;break}w=w.sibling}if(!b)throw Error(ir(189))}}if(s.alternate!==c)throw Error(ir(190))}if(s.tag!==3)throw Error(ir(188));return s.stateNode.current===s?n:i}function kBt(n){return n=ZCn(n),n!==null?NBt(n):null}function NBt(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var i=NBt(n);if(i!==null)return i;n=n.sibling}return null}var CBt=Hm.unstable_scheduleCallback,s5t=Hm.unstable_cancelCallback,QCn=Hm.unstable_shouldYield,eIn=Hm.unstable_requestPaint,pd=Hm.unstable_now,tIn=Hm.unstable_getCurrentPriorityLevel,FLe=Hm.unstable_ImmediatePriority,IBt=Hm.unstable_UserBlockingPriority,goe=Hm.unstable_NormalPriority,nIn=Hm.unstable_LowPriority,RBt=Hm.unstable_IdlePriority,Cse=null,P2=null;function rIn(n){if(P2&&typeof P2.onCommitFiberRoot=="function")try{P2.onCommitFiberRoot(Cse,n,void 0,(n.current.flags&128)===128)}catch{}}var Dv=Math.clz32?Math.clz32:sIn,iIn=Math.log,oIn=Math.LN2;function sIn(n){return n>>>=0,n===0?32:31-(iIn(n)/oIn|0)|0}var Xre=64,Zre=4194304;function KU(n){switch(n&-n){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: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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function boe(n,i){var s=n.pendingLanes;if(s===0)return 0;var c=0,d=n.suspendedLanes,g=n.pingedLanes,b=s&268435455;if(b!==0){var w=b&~d;w!==0?c=KU(w):(g&=b,g!==0&&(c=KU(g)))}else b=s&~d,b!==0?c=KU(b):g!==0&&(c=KU(g));if(c===0)return 0;if(i!==0&&i!==c&&!(i&d)&&(d=c&-c,g=i&-i,d>=g||d===16&&(g&4194240)!==0))return i;if(c&4&&(c|=s&16),i=n.entangledLanes,i!==0)for(n=n.entanglements,i&=c;0<i;)s=31-Dv(i),d=1<<s,c|=n[s],i&=~d;return c}function aIn(n,i){switch(n){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64: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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function uIn(n,i){for(var s=n.suspendedLanes,c=n.pingedLanes,d=n.expirationTimes,g=n.pendingLanes;0<g;){var b=31-Dv(g),w=1<<b,E=d[b];E===-1?(!(w&s)||w&c)&&(d[b]=aIn(w,i)):E<=i&&(n.expiredLanes|=w),g&=~w}}function _6e(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function OBt(){var n=Xre;return Xre<<=1,!(Xre&4194240)&&(Xre=64),n}function fCe(n){for(var i=[],s=0;31>s;s++)i.push(n);return i}function bz(n,i,s){n.pendingLanes|=i,i!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,i=31-Dv(i),n[i]=s}function cIn(n,i){var s=n.pendingLanes&~i;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=i,n.mutableReadLanes&=i,n.entangledLanes&=i,i=n.entanglements;var c=n.eventTimes;for(n=n.expirationTimes;0<s;){var d=31-Dv(s),g=1<<d;i[d]=0,c[d]=-1,n[d]=-1,s&=~g}}function $Le(n,i){var s=n.entangledLanes|=i;for(n=n.entanglements;s;){var c=31-Dv(s),d=1<<c;d&i|n[c]&i&&(n[c]|=i),s&=~d}}var cu=0;function DBt(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var LBt,BLe,MBt,PBt,jBt,x6e=!1,Qre=[],Vk=null,Wk=null,Kk=null,CH=new Map,IH=new Map,Fk=[],lIn="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 submit".split(" ");function a5t(n,i){switch(n){case"focusin":case"focusout":Vk=null;break;case"dragenter":case"dragleave":Wk=null;break;case"mouseover":case"mouseout":Kk=null;break;case"pointerover":case"pointerout":CH.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":IH.delete(i.pointerId)}}function RU(n,i,s,c,d,g){return n===null||n.nativeEvent!==g?(n={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:g,targetContainers:[d]},i!==null&&(i=wz(i),i!==null&&BLe(i)),n):(n.eventSystemFlags|=c,i=n.targetContainers,d!==null&&i.indexOf(d)===-1&&i.push(d),n)}function dIn(n,i,s,c,d){switch(i){case"focusin":return Vk=RU(Vk,n,i,s,c,d),!0;case"dragenter":return Wk=RU(Wk,n,i,s,c,d),!0;case"mouseover":return Kk=RU(Kk,n,i,s,c,d),!0;case"pointerover":var g=d.pointerId;return CH.set(g,RU(CH.get(g)||null,n,i,s,c,d)),!0;case"gotpointercapture":return g=d.pointerId,IH.set(g,RU(IH.get(g)||null,n,i,s,c,d)),!0}return!1}function FBt(n){var i=Y4(n.target);if(i!==null){var s=_R(i);if(s!==null){if(i=s.tag,i===13){if(i=xBt(s),i!==null){n.blockedOn=i,jBt(n.priority,function(){MBt(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Bie(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var s=k6e(n.domEventName,n.eventSystemFlags,i[0],n.nativeEvent);if(s===null){s=n.nativeEvent;var c=new s.constructor(s.type,s);E6e=c,s.target.dispatchEvent(c),E6e=null}else return i=wz(s),i!==null&&BLe(i),n.blockedOn=s,!1;i.shift()}return!0}function u5t(n,i,s){Bie(n)&&s.delete(i)}function fIn(){x6e=!1,Vk!==null&&Bie(Vk)&&(Vk=null),Wk!==null&&Bie(Wk)&&(Wk=null),Kk!==null&&Bie(Kk)&&(Kk=null),CH.forEach(u5t),IH.forEach(u5t)}function OU(n,i){n.blockedOn===i&&(n.blockedOn=null,x6e||(x6e=!0,Hm.unstable_scheduleCallback(Hm.unstable_NormalPriority,fIn)))}function RH(n){function i(d){return OU(d,n)}if(0<Qre.length){OU(Qre[0],n);for(var s=1;s<Qre.length;s++){var c=Qre[s];c.blockedOn===n&&(c.blockedOn=null)}}for(Vk!==null&&OU(Vk,n),Wk!==null&&OU(Wk,n),Kk!==null&&OU(Kk,n),CH.forEach(i),IH.forEach(i),s=0;s<Fk.length;s++)c=Fk[s],c.blockedOn===n&&(c.blockedOn=null);for(;0<Fk.length&&(s=Fk[0],s.blockedOn===null);)FBt(s),s.blockedOn===null&&Fk.shift()}var Z5=AA.ReactCurrentBatchConfig,moe=!0;function hIn(n,i,s,c){var d=cu,g=Z5.transition;Z5.transition=null;try{cu=1,ULe(n,i,s,c)}finally{cu=d,Z5.transition=g}}function pIn(n,i,s,c){var d=cu,g=Z5.transition;Z5.transition=null;try{cu=4,ULe(n,i,s,c)}finally{cu=d,Z5.transition=g}}function ULe(n,i,s,c){if(moe){var d=k6e(n,i,s,c);if(d===null)SCe(n,i,c,woe,s),a5t(n,c);else if(dIn(d,n,i,s,c))c.stopPropagation();else if(a5t(n,c),i&4&&-1<lIn.indexOf(n)){for(;d!==null;){var g=wz(d);if(g!==null&&LBt(g),g=k6e(n,i,s,c),g===null&&SCe(n,i,c,woe,s),g===d)break;d=g}d!==null&&c.stopPropagation()}else SCe(n,i,c,null,s)}}var woe=null;function k6e(n,i,s,c){if(woe=null,n=jLe(c),n=Y4(n),n!==null)if(i=_R(n),i===null)n=null;else if(s=i.tag,s===13){if(n=xBt(i),n!==null)return n;n=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null);return woe=n,null}function $Bt(n){switch(n){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(tIn()){case FLe:return 1;case IBt:return 4;case goe:case nIn:return 16;case RBt:return 536870912;default:return 16}default:return 16}}var zk=null,HLe=null,Uie=null;function BBt(){if(Uie)return Uie;var n,i=HLe,s=i.length,c,d="value"in zk?zk.value:zk.textContent,g=d.length;for(n=0;n<s&&i[n]===d[n];n++);var b=s-n;for(c=1;c<=b&&i[s-c]===d[g-c];c++);return Uie=d.slice(n,1<c?1-c:void 0)}function Hie(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function eie(){return!0}function c5t(){return!1}function qm(n){function i(s,c,d,g,b){this._reactName=s,this._targetInst=d,this.type=c,this.nativeEvent=g,this.target=b,this.currentTarget=null;for(var w in n)n.hasOwnProperty(w)&&(s=n[w],this[w]=s?s(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?eie:c5t,this.isPropagationStopped=c5t,this}return fl(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=eie)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=eie)},persist:function(){},isPersistent:eie}),i}var LM={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zLe=qm(LM),mz=fl({},LM,{view:0,detail:0}),gIn=qm(mz),hCe,pCe,DU,Ise=fl({},mz,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:GLe,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==DU&&(DU&&n.type==="mousemove"?(hCe=n.screenX-DU.screenX,pCe=n.screenY-DU.screenY):pCe=hCe=0,DU=n),hCe)},movementY:function(n){return"movementY"in n?n.movementY:pCe}}),l5t=qm(Ise),bIn=fl({},Ise,{dataTransfer:0}),mIn=qm(bIn),wIn=fl({},mz,{relatedTarget:0}),gCe=qm(wIn),yIn=fl({},LM,{animationName:0,elapsedTime:0,pseudoElement:0}),vIn=qm(yIn),EIn=fl({},LM,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),SIn=qm(EIn),TIn=fl({},LM,{data:0}),d5t=qm(TIn),AIn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_In={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"},xIn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kIn(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=xIn[n])?!!i[n]:!1}function GLe(){return kIn}var NIn=fl({},mz,{key:function(n){if(n.key){var i=AIn[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=Hie(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?_In[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:GLe,charCode:function(n){return n.type==="keypress"?Hie(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Hie(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),CIn=qm(NIn),IIn=fl({},Ise,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),f5t=qm(IIn),RIn=fl({},mz,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:GLe}),OIn=qm(RIn),DIn=fl({},LM,{propertyName:0,elapsedTime:0,pseudoElement:0}),LIn=qm(DIn),MIn=fl({},Ise,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),PIn=qm(MIn),jIn=[9,13,27,32],qLe=gA&&"CompositionEvent"in window,cH=null;gA&&"documentMode"in document&&(cH=document.documentMode);var FIn=gA&&"TextEvent"in window&&!cH,UBt=gA&&(!qLe||cH&&8<cH&&11>=cH),h5t=" ",p5t=!1;function HBt(n,i){switch(n){case"keyup":return jIn.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zBt(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var O5=!1;function $In(n,i){switch(n){case"compositionend":return zBt(i);case"keypress":return i.which!==32?null:(p5t=!0,h5t);case"textInput":return n=i.data,n===h5t&&p5t?null:n;default:return null}}function BIn(n,i){if(O5)return n==="compositionend"||!qLe&&HBt(n,i)?(n=BBt(),Uie=HLe=zk=null,O5=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return UBt&&i.locale!=="ko"?null:i.data;default:return null}}var UIn={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 g5t(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!UIn[n.type]:i==="textarea"}function GBt(n,i,s,c){EBt(c),i=yoe(i,"onChange"),0<i.length&&(s=new zLe("onChange","change",null,s,c),n.push({event:s,listeners:i}))}var lH=null,OH=null;function HIn(n){tUt(n,0)}function Rse(n){var i=M5(n);if(pBt(i))return n}function zIn(n,i){if(n==="change")return i}var qBt=!1;if(gA){var bCe;if(gA){var mCe="oninput"in document;if(!mCe){var b5t=document.createElement("div");b5t.setAttribute("oninput","return;"),mCe=typeof b5t.oninput=="function"}bCe=mCe}else bCe=!1;qBt=bCe&&(!document.documentMode||9<document.documentMode)}function m5t(){lH&&(lH.detachEvent("onpropertychange",VBt),OH=lH=null)}function VBt(n){if(n.propertyName==="value"&&Rse(OH)){var i=[];GBt(i,OH,n,jLe(n)),_Bt(HIn,i)}}function GIn(n,i,s){n==="focusin"?(m5t(),lH=i,OH=s,lH.attachEvent("onpropertychange",VBt)):n==="focusout"&&m5t()}function qIn(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Rse(OH)}function VIn(n,i){if(n==="click")return Rse(i)}function WIn(n,i){if(n==="input"||n==="change")return Rse(i)}function KIn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var Pv=typeof Object.is=="function"?Object.is:KIn;function DH(n,i){if(Pv(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var s=Object.keys(n),c=Object.keys(i);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var d=s[c];if(!c6e.call(i,d)||!Pv(n[d],i[d]))return!1}return!0}function w5t(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function y5t(n,i){var s=w5t(n);n=0;for(var c;s;){if(s.nodeType===3){if(c=n+s.textContent.length,n<=i&&c>=i)return{node:s,offset:i-n};n=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=w5t(s)}}function WBt(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?WBt(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function KBt(){for(var n=window,i=foe();i instanceof n.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)n=i.contentWindow;else break;i=foe(n.document)}return i}function VLe(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}function YIn(n){var i=KBt(),s=n.focusedElem,c=n.selectionRange;if(i!==s&&s&&s.ownerDocument&&WBt(s.ownerDocument.documentElement,s)){if(c!==null&&VLe(s)){if(i=c.start,n=c.end,n===void 0&&(n=i),"selectionStart"in s)s.selectionStart=i,s.selectionEnd=Math.min(n,s.value.length);else if(n=(i=s.ownerDocument||document)&&i.defaultView||window,n.getSelection){n=n.getSelection();var d=s.textContent.length,g=Math.min(c.start,d);c=c.end===void 0?g:Math.min(c.end,d),!n.extend&&g>c&&(d=c,c=g,g=d),d=y5t(s,g);var b=y5t(s,c);d&&b&&(n.rangeCount!==1||n.anchorNode!==d.node||n.anchorOffset!==d.offset||n.focusNode!==b.node||n.focusOffset!==b.offset)&&(i=i.createRange(),i.setStart(d.node,d.offset),n.removeAllRanges(),g>c?(n.addRange(i),n.extend(b.node,b.offset)):(i.setEnd(b.node,b.offset),n.addRange(i)))}}for(i=[],n=s;n=n.parentNode;)n.nodeType===1&&i.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<i.length;s++)n=i[s],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var JIn=gA&&"documentMode"in document&&11>=document.documentMode,D5=null,N6e=null,dH=null,C6e=!1;function v5t(n,i,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;C6e||D5==null||D5!==foe(c)||(c=D5,"selectionStart"in c&&VLe(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),dH&&DH(dH,c)||(dH=c,c=yoe(N6e,"onSelect"),0<c.length&&(i=new zLe("onSelect","select",null,i,s),n.push({event:i,listeners:c}),i.target=D5)))}function tie(n,i){var s={};return s[n.toLowerCase()]=i.toLowerCase(),s["Webkit"+n]="webkit"+i,s["Moz"+n]="moz"+i,s}var L5={animationend:tie("Animation","AnimationEnd"),animationiteration:tie("Animation","AnimationIteration"),animationstart:tie("Animation","AnimationStart"),transitionend:tie("Transition","TransitionEnd")},wCe={},YBt={};gA&&(YBt=document.createElement("div").style,"AnimationEvent"in window||(delete L5.animationend.animation,delete L5.animationiteration.animation,delete L5.animationstart.animation),"TransitionEvent"in window||delete L5.transitionend.transition);function Ose(n){if(wCe[n])return wCe[n];if(!L5[n])return n;var i=L5[n],s;for(s in i)if(i.hasOwnProperty(s)&&s in YBt)return wCe[n]=i[s];return n}var JBt=Ose("animationend"),XBt=Ose("animationiteration"),ZBt=Ose("animationstart"),QBt=Ose("transitionend"),eUt=new Map,E5t="abort auxClick 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(" ");function mN(n,i){eUt.set(n,i),AR(i,[n])}for(var yCe=0;yCe<E5t.length;yCe++){var vCe=E5t[yCe],XIn=vCe.toLowerCase(),ZIn=vCe[0].toUpperCase()+vCe.slice(1);mN(XIn,"on"+ZIn)}mN(JBt,"onAnimationEnd");mN(XBt,"onAnimationIteration");mN(ZBt,"onAnimationStart");mN("dblclick","onDoubleClick");mN("focusin","onFocus");mN("focusout","onBlur");mN(QBt,"onTransitionEnd");dM("onMouseEnter",["mouseout","mouseover"]);dM("onMouseLeave",["mouseout","mouseover"]);dM("onPointerEnter",["pointerout","pointerover"]);dM("onPointerLeave",["pointerout","pointerover"]);AR("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));AR("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));AR("onBeforeInput",["compositionend","keypress","textInput","paste"]);AR("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));AR("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));AR("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var YU="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(" "),QIn=new Set("cancel close invalid load scroll toggle".split(" ").concat(YU));function S5t(n,i,s){var c=n.type||"unknown-event";n.currentTarget=s,XCn(c,i,void 0,n),n.currentTarget=null}function tUt(n,i){i=(i&4)!==0;for(var s=0;s<n.length;s++){var c=n[s],d=c.event;c=c.listeners;e:{var g=void 0;if(i)for(var b=c.length-1;0<=b;b--){var w=c[b],E=w.instance,S=w.currentTarget;if(w=w.listener,E!==g&&d.isPropagationStopped())break e;S5t(d,w,S),g=E}else for(b=0;b<c.length;b++){if(w=c[b],E=w.instance,S=w.currentTarget,w=w.listener,E!==g&&d.isPropagationStopped())break e;S5t(d,w,S),g=E}}}if(poe)throw n=A6e,poe=!1,A6e=null,n}function lc(n,i){var s=i[L6e];s===void 0&&(s=i[L6e]=new Set);var c=n+"__bubble";s.has(c)||(nUt(i,n,2,!1),s.add(c))}function ECe(n,i,s){var c=0;i&&(c|=4),nUt(s,n,c,i)}var nie="_reactListening"+Math.random().toString(36).slice(2);function LH(n){if(!n[nie]){n[nie]=!0,cBt.forEach(function(s){s!=="selectionchange"&&(QIn.has(s)||ECe(s,!1,n),ECe(s,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[nie]||(i[nie]=!0,ECe("selectionchange",!1,i))}}function nUt(n,i,s,c){switch($Bt(i)){case 1:var d=hIn;break;case 4:d=pIn;break;default:d=ULe}s=d.bind(null,i,s,n),d=void 0,!T6e||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(d=!0),c?d!==void 0?n.addEventListener(i,s,{capture:!0,passive:d}):n.addEventListener(i,s,!0):d!==void 0?n.addEventListener(i,s,{passive:d}):n.addEventListener(i,s,!1)}function SCe(n,i,s,c,d){var g=c;if(!(i&1)&&!(i&2)&&c!==null)e:for(;;){if(c===null)return;var b=c.tag;if(b===3||b===4){var w=c.stateNode.containerInfo;if(w===d||w.nodeType===8&&w.parentNode===d)break;if(b===4)for(b=c.return;b!==null;){var E=b.tag;if((E===3||E===4)&&(E=b.stateNode.containerInfo,E===d||E.nodeType===8&&E.parentNode===d))return;b=b.return}for(;w!==null;){if(b=Y4(w),b===null)return;if(E=b.tag,E===5||E===6){c=g=b;continue e}w=w.parentNode}}c=c.return}_Bt(function(){var S=g,x=jLe(s),A=[];e:{var C=eUt.get(n);if(C!==void 0){var R=zLe,L=n;switch(n){case"keypress":if(Hie(s)===0)break e;case"keydown":case"keyup":R=CIn;break;case"focusin":L="focus",R=gCe;break;case"focusout":L="blur",R=gCe;break;case"beforeblur":case"afterblur":R=gCe;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=l5t;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=mIn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=OIn;break;case JBt:case XBt:case ZBt:R=vIn;break;case QBt:R=LIn;break;case"scroll":R=gIn;break;case"wheel":R=PIn;break;case"copy":case"cut":case"paste":R=SIn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=f5t}var D=(i&4)!==0,B=!D&&n==="scroll",$=D?C!==null?C+"Capture":null:C;D=[];for(var j=S,P;j!==null;){P=j;var G=P.stateNode;if(P.tag===5&&G!==null&&(P=G,$!==null&&(G=NH(j,$),G!=null&&D.push(MH(j,G,P)))),B)break;j=j.return}0<D.length&&(C=new R(C,L,null,s,x),A.push({event:C,listeners:D}))}}if(!(i&7)){e:{if(C=n==="mouseover"||n==="pointerover",R=n==="mouseout"||n==="pointerout",C&&s!==E6e&&(L=s.relatedTarget||s.fromElement)&&(Y4(L)||L[bA]))break e;if((R||C)&&(C=x.window===x?x:(C=x.ownerDocument)?C.defaultView||C.parentWindow:window,R?(L=s.relatedTarget||s.toElement,R=S,L=L?Y4(L):null,L!==null&&(B=_R(L),L!==B||L.tag!==5&&L.tag!==6)&&(L=null)):(R=null,L=S),R!==L)){if(D=l5t,G="onMouseLeave",$="onMouseEnter",j="mouse",(n==="pointerout"||n==="pointerover")&&(D=f5t,G="onPointerLeave",$="onPointerEnter",j="pointer"),B=R==null?C:M5(R),P=L==null?C:M5(L),C=new D(G,j+"leave",R,s,x),C.target=B,C.relatedTarget=P,G=null,Y4(x)===S&&(D=new D($,j+"enter",L,s,x),D.target=P,D.relatedTarget=B,G=D),B=G,R&&L)t:{for(D=R,$=L,j=0,P=D;P;P=g5(P))j++;for(P=0,G=$;G;G=g5(G))P++;for(;0<j-P;)D=g5(D),j--;for(;0<P-j;)$=g5($),P--;for(;j--;){if(D===$||$!==null&&D===$.alternate)break t;D=g5(D),$=g5($)}D=null}else D=null;R!==null&&T5t(A,C,R,D,!1),L!==null&&B!==null&&T5t(A,B,L,D,!0)}}e:{if(C=S?M5(S):window,R=C.nodeName&&C.nodeName.toLowerCase(),R==="select"||R==="input"&&C.type==="file")var ee=zIn;else if(g5t(C))if(qBt)ee=WIn;else{ee=qIn;var re=GIn}else(R=C.nodeName)&&R.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(ee=VIn);if(ee&&(ee=ee(n,S))){GBt(A,ee,s,x);break e}re&&re(n,C,S),n==="focusout"&&(re=C._wrapperState)&&re.controlled&&C.type==="number"&&b6e(C,"number",C.value)}switch(re=S?M5(S):window,n){case"focusin":(g5t(re)||re.contentEditable==="true")&&(D5=re,N6e=S,dH=null);break;case"focusout":dH=N6e=D5=null;break;case"mousedown":C6e=!0;break;case"contextmenu":case"mouseup":case"dragend":C6e=!1,v5t(A,s,x);break;case"selectionchange":if(JIn)break;case"keydown":case"keyup":v5t(A,s,x)}var Q;if(qLe)e:{switch(n){case"compositionstart":var ie="onCompositionStart";break e;case"compositionend":ie="onCompositionEnd";break e;case"compositionupdate":ie="onCompositionUpdate";break e}ie=void 0}else O5?HBt(n,s)&&(ie="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(ie="onCompositionStart");ie&&(UBt&&s.locale!=="ko"&&(O5||ie!=="onCompositionStart"?ie==="onCompositionEnd"&&O5&&(Q=BBt()):(zk=x,HLe="value"in zk?zk.value:zk.textContent,O5=!0)),re=yoe(S,ie),0<re.length&&(ie=new d5t(ie,n,null,s,x),A.push({event:ie,listeners:re}),Q?ie.data=Q:(Q=zBt(s),Q!==null&&(ie.data=Q)))),(Q=FIn?$In(n,s):BIn(n,s))&&(S=yoe(S,"onBeforeInput"),0<S.length&&(x=new d5t("onBeforeInput","beforeinput",null,s,x),A.push({event:x,listeners:S}),x.data=Q))}tUt(A,i)})}function MH(n,i,s){return{instance:n,listener:i,currentTarget:s}}function yoe(n,i){for(var s=i+"Capture",c=[];n!==null;){var d=n,g=d.stateNode;d.tag===5&&g!==null&&(d=g,g=NH(n,s),g!=null&&c.unshift(MH(n,g,d)),g=NH(n,i),g!=null&&c.push(MH(n,g,d))),n=n.return}return c}function g5(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function T5t(n,i,s,c,d){for(var g=i._reactName,b=[];s!==null&&s!==c;){var w=s,E=w.alternate,S=w.stateNode;if(E!==null&&E===c)break;w.tag===5&&S!==null&&(w=S,d?(E=NH(s,g),E!=null&&b.unshift(MH(s,E,w))):d||(E=NH(s,g),E!=null&&b.push(MH(s,E,w)))),s=s.return}b.length!==0&&n.push({event:i,listeners:b})}var e4n=/\r\n?/g,t4n=/\u0000|\uFFFD/g;function A5t(n){return(typeof n=="string"?n:""+n).replace(e4n,`
`).replace(t4n,"")}function rie(n,i,s){if(i=A5t(i),A5t(n)!==i&&s)throw Error(ir(425))}function voe(){}var I6e=null,R6e=null;function O6e(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var D6e=typeof setTimeout=="function"?setTimeout:void 0,n4n=typeof clearTimeout=="function"?clearTimeout:void 0,_5t=typeof Promise=="function"?Promise:void 0,r4n=typeof queueMicrotask=="function"?queueMicrotask:typeof _5t<"u"?function(n){return _5t.resolve(null).then(n).catch(i4n)}:D6e;function i4n(n){setTimeout(function(){throw n})}function TCe(n,i){var s=i,c=0;do{var d=s.nextSibling;if(n.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(c===0){n.removeChild(d),RH(i);return}c--}else s!=="$"&&s!=="$?"&&s!=="$!"||c++;s=d}while(s);RH(i)}function Yk(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return n}function x5t(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return n;i--}else s==="/$"&&i++}n=n.previousSibling}return null}var MM=Math.random().toString(36).slice(2),R2="__reactFiber$"+MM,PH="__reactProps$"+MM,bA="__reactContainer$"+MM,L6e="__reactEvents$"+MM,o4n="__reactListeners$"+MM,s4n="__reactHandles$"+MM;function Y4(n){var i=n[R2];if(i)return i;for(var s=n.parentNode;s;){if(i=s[bA]||s[R2]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(n=x5t(n);n!==null;){if(s=n[R2])return s;n=x5t(n)}return i}n=s,s=n.parentNode}return null}function wz(n){return n=n[R2]||n[bA],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function M5(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(ir(33))}function Dse(n){return n[PH]||null}var M6e=[],P5=-1;function wN(n){return{current:n}}function dc(n){0>P5||(n.current=M6e[P5],M6e[P5]=null,P5--)}function Wu(n,i){P5++,M6e[P5]=n.current,n.current=i}var rN={},Up=wN(rN),cb=wN(!1),oR=rN;function fM(n,i){var s=n.type.contextTypes;if(!s)return rN;var c=n.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===i)return c.__reactInternalMemoizedMaskedChildContext;var d={},g;for(g in s)d[g]=i[g];return c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=i,n.__reactInternalMemoizedMaskedChildContext=d),d}function lb(n){return n=n.childContextTypes,n!=null}function Eoe(){dc(cb),dc(Up)}function k5t(n,i,s){if(Up.current!==rN)throw Error(ir(168));Wu(Up,i),Wu(cb,s)}function rUt(n,i,s){var c=n.stateNode;if(i=i.childContextTypes,typeof c.getChildContext!="function")return s;c=c.getChildContext();for(var d in c)if(!(d in i))throw Error(ir(108,GCn(n)||"Unknown",d));return fl({},s,c)}function Soe(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||rN,oR=Up.current,Wu(Up,n),Wu(cb,cb.current),!0}function N5t(n,i,s){var c=n.stateNode;if(!c)throw Error(ir(169));s?(n=rUt(n,i,oR),c.__reactInternalMemoizedMergedChildContext=n,dc(cb),dc(Up),Wu(Up,n)):dc(cb),Wu(cb,s)}var oA=null,Lse=!1,ACe=!1;function iUt(n){oA===null?oA=[n]:oA.push(n)}function a4n(n){Lse=!0,iUt(n)}function yN(){if(!ACe&&oA!==null){ACe=!0;var n=0,i=cu;try{var s=oA;for(cu=1;n<s.length;n++){var c=s[n];do c=c(!0);while(c!==null)}oA=null,Lse=!1}catch(d){throw oA!==null&&(oA=oA.slice(n+1)),CBt(FLe,yN),d}finally{cu=i,ACe=!1}}return null}var j5=[],F5=0,Toe=null,Aoe=0,bw=[],mw=0,sR=null,uA=1,cA="";function q4(n,i){j5[F5++]=Aoe,j5[F5++]=Toe,Toe=n,Aoe=i}function oUt(n,i,s){bw[mw++]=uA,bw[mw++]=cA,bw[mw++]=sR,sR=n;var c=uA;n=cA;var d=32-Dv(c)-1;c&=~(1<<d),s+=1;var g=32-Dv(i)+d;if(30<g){var b=d-d%5;g=(c&(1<<b)-1).toString(32),c>>=b,d-=b,uA=1<<32-Dv(i)+d|s<<d|c,cA=g+n}else uA=1<<g|s<<d|c,cA=n}function WLe(n){n.return!==null&&(q4(n,1),oUt(n,1,0))}function KLe(n){for(;n===Toe;)Toe=j5[--F5],j5[F5]=null,Aoe=j5[--F5],j5[F5]=null;for(;n===sR;)sR=bw[--mw],bw[mw]=null,cA=bw[--mw],bw[mw]=null,uA=bw[--mw],bw[mw]=null}var Bm=null,Fm=null,Dc=!1,Cv=null;function sUt(n,i){var s=yw(5,null,null,0);s.elementType="DELETED",s.stateNode=i,s.return=n,i=n.deletions,i===null?(n.deletions=[s],n.flags|=16):i.push(s)}function C5t(n,i){switch(n.tag){case 5:var s=n.type;return i=i.nodeType!==1||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(n.stateNode=i,Bm=n,Fm=Yk(i.firstChild),!0):!1;case 6:return i=n.pendingProps===""||i.nodeType!==3?null:i,i!==null?(n.stateNode=i,Bm=n,Fm=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(s=sR!==null?{id:uA,overflow:cA}:null,n.memoizedState={dehydrated:i,treeContext:s,retryLane:1073741824},s=yw(18,null,null,0),s.stateNode=i,s.return=n,n.child=s,Bm=n,Fm=null,!0):!1;default:return!1}}function P6e(n){return(n.mode&1)!==0&&(n.flags&128)===0}function j6e(n){if(Dc){var i=Fm;if(i){var s=i;if(!C5t(n,i)){if(P6e(n))throw Error(ir(418));i=Yk(s.nextSibling);var c=Bm;i&&C5t(n,i)?sUt(c,s):(n.flags=n.flags&-4097|2,Dc=!1,Bm=n)}}else{if(P6e(n))throw Error(ir(418));n.flags=n.flags&-4097|2,Dc=!1,Bm=n}}}function I5t(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Bm=n}function iie(n){if(n!==Bm)return!1;if(!Dc)return I5t(n),Dc=!0,!1;var i;if((i=n.tag!==3)&&!(i=n.tag!==5)&&(i=n.type,i=i!=="head"&&i!=="body"&&!O6e(n.type,n.memoizedProps)),i&&(i=Fm)){if(P6e(n))throw aUt(),Error(ir(418));for(;i;)sUt(n,i),i=Yk(i.nextSibling)}if(I5t(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(ir(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"){if(i===0){Fm=Yk(n.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++}n=n.nextSibling}Fm=null}}else Fm=Bm?Yk(n.stateNode.nextSibling):null;return!0}function aUt(){for(var n=Fm;n;)n=Yk(n.nextSibling)}function hM(){Fm=Bm=null,Dc=!1}function YLe(n){Cv===null?Cv=[n]:Cv.push(n)}var u4n=AA.ReactCurrentBatchConfig;function LU(n,i,s){if(n=s.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(ir(309));var c=s.stateNode}if(!c)throw Error(ir(147,n));var d=c,g=""+n;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(b){var w=d.refs;b===null?delete w[g]:w[g]=b},i._stringRef=g,i)}if(typeof n!="string")throw Error(ir(284));if(!s._owner)throw Error(ir(290,n))}return n}function oie(n,i){throw n=Object.prototype.toString.call(i),Error(ir(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n))}function R5t(n){var i=n._init;return i(n._payload)}function uUt(n){function i($,j){if(n){var P=$.deletions;P===null?($.deletions=[j],$.flags|=16):P.push(j)}}function s($,j){if(!n)return null;for(;j!==null;)i($,j),j=j.sibling;return null}function c($,j){for($=new Map;j!==null;)j.key!==null?$.set(j.key,j):$.set(j.index,j),j=j.sibling;return $}function d($,j){return $=Qk($,j),$.index=0,$.sibling=null,$}function g($,j,P){return $.index=P,n?(P=$.alternate,P!==null?(P=P.index,P<j?($.flags|=2,j):P):($.flags|=2,j)):($.flags|=1048576,j)}function b($){return n&&$.alternate===null&&($.flags|=2),$}function w($,j,P,G){return j===null||j.tag!==6?(j=RCe(P,$.mode,G),j.return=$,j):(j=d(j,P),j.return=$,j)}function E($,j,P,G){var ee=P.type;return ee===R5?x($,j,P.props.children,G,P.key):j!==null&&(j.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Pk&&R5t(ee)===j.type)?(G=d(j,P.props),G.ref=LU($,j,P),G.return=$,G):(G=Yie(P.type,P.key,P.props,null,$.mode,G),G.ref=LU($,j,P),G.return=$,G)}function S($,j,P,G){return j===null||j.tag!==4||j.stateNode.containerInfo!==P.containerInfo||j.stateNode.implementation!==P.implementation?(j=OCe(P,$.mode,G),j.return=$,j):(j=d(j,P.children||[]),j.return=$,j)}function x($,j,P,G,ee){return j===null||j.tag!==7?(j=eR(P,$.mode,G,ee),j.return=$,j):(j=d(j,P),j.return=$,j)}function A($,j,P){if(typeof j=="string"&&j!==""||typeof j=="number")return j=RCe(""+j,$.mode,P),j.return=$,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Kre:return P=Yie(j.type,j.key,j.props,null,$.mode,P),P.ref=LU($,null,j),P.return=$,P;case I5:return j=OCe(j,$.mode,P),j.return=$,j;case Pk:var G=j._init;return A($,G(j._payload),P)}if(WU(j)||CU(j))return j=eR(j,$.mode,P,null),j.return=$,j;oie($,j)}return null}function C($,j,P,G){var ee=j!==null?j.key:null;if(typeof P=="string"&&P!==""||typeof P=="number")return ee!==null?null:w($,j,""+P,G);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case Kre:return P.key===ee?E($,j,P,G):null;case I5:return P.key===ee?S($,j,P,G):null;case Pk:return ee=P._init,C($,j,ee(P._payload),G)}if(WU(P)||CU(P))return ee!==null?null:x($,j,P,G,null);oie($,P)}return null}function R($,j,P,G,ee){if(typeof G=="string"&&G!==""||typeof G=="number")return $=$.get(P)||null,w(j,$,""+G,ee);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Kre:return $=$.get(G.key===null?P:G.key)||null,E(j,$,G,ee);case I5:return $=$.get(G.key===null?P:G.key)||null,S(j,$,G,ee);case Pk:var re=G._init;return R($,j,P,re(G._payload),ee)}if(WU(G)||CU(G))return $=$.get(P)||null,x(j,$,G,ee,null);oie(j,G)}return null}function L($,j,P,G){for(var ee=null,re=null,Q=j,ie=j=0,pe=null;Q!==null&&ie<P.length;ie++){Q.index>ie?(pe=Q,Q=null):pe=Q.sibling;var me=C($,Q,P[ie],G);if(me===null){Q===null&&(Q=pe);break}n&&Q&&me.alternate===null&&i($,Q),j=g(me,j,ie),re===null?ee=me:re.sibling=me,re=me,Q=pe}if(ie===P.length)return s($,Q),Dc&&q4($,ie),ee;if(Q===null){for(;ie<P.length;ie++)Q=A($,P[ie],G),Q!==null&&(j=g(Q,j,ie),re===null?ee=Q:re.sibling=Q,re=Q);return Dc&&q4($,ie),ee}for(Q=c($,Q);ie<P.length;ie++)pe=R(Q,$,ie,P[ie],G),pe!==null&&(n&&pe.alternate!==null&&Q.delete(pe.key===null?ie:pe.key),j=g(pe,j,ie),re===null?ee=pe:re.sibling=pe,re=pe);return n&&Q.forEach(function(le){return i($,le)}),Dc&&q4($,ie),ee}function D($,j,P,G){var ee=CU(P);if(typeof ee!="function")throw Error(ir(150));if(P=ee.call(P),P==null)throw Error(ir(151));for(var re=ee=null,Q=j,ie=j=0,pe=null,me=P.next();Q!==null&&!me.done;ie++,me=P.next()){Q.index>ie?(pe=Q,Q=null):pe=Q.sibling;var le=C($,Q,me.value,G);if(le===null){Q===null&&(Q=pe);break}n&&Q&&le.alternate===null&&i($,Q),j=g(le,j,ie),re===null?ee=le:re.sibling=le,re=le,Q=pe}if(me.done)return s($,Q),Dc&&q4($,ie),ee;if(Q===null){for(;!me.done;ie++,me=P.next())me=A($,me.value,G),me!==null&&(j=g(me,j,ie),re===null?ee=me:re.sibling=me,re=me);return Dc&&q4($,ie),ee}for(Q=c($,Q);!me.done;ie++,me=P.next())me=R(Q,$,ie,me.value,G),me!==null&&(n&&me.alternate!==null&&Q.delete(me.key===null?ie:me.key),j=g(me,j,ie),re===null?ee=me:re.sibling=me,re=me);return n&&Q.forEach(function(fe){return i($,fe)}),Dc&&q4($,ie),ee}function B($,j,P,G){if(typeof P=="object"&&P!==null&&P.type===R5&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case Kre:e:{for(var ee=P.key,re=j;re!==null;){if(re.key===ee){if(ee=P.type,ee===R5){if(re.tag===7){s($,re.sibling),j=d(re,P.props.children),j.return=$,$=j;break e}}else if(re.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Pk&&R5t(ee)===re.type){s($,re.sibling),j=d(re,P.props),j.ref=LU($,re,P),j.return=$,$=j;break e}s($,re);break}else i($,re);re=re.sibling}P.type===R5?(j=eR(P.props.children,$.mode,G,P.key),j.return=$,$=j):(G=Yie(P.type,P.key,P.props,null,$.mode,G),G.ref=LU($,j,P),G.return=$,$=G)}return b($);case I5:e:{for(re=P.key;j!==null;){if(j.key===re)if(j.tag===4&&j.stateNode.containerInfo===P.containerInfo&&j.stateNode.implementation===P.implementation){s($,j.sibling),j=d(j,P.children||[]),j.return=$,$=j;break e}else{s($,j);break}else i($,j);j=j.sibling}j=OCe(P,$.mode,G),j.return=$,$=j}return b($);case Pk:return re=P._init,B($,j,re(P._payload),G)}if(WU(P))return L($,j,P,G);if(CU(P))return D($,j,P,G);oie($,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,j!==null&&j.tag===6?(s($,j.sibling),j=d(j,P),j.return=$,$=j):(s($,j),j=RCe(P,$.mode,G),j.return=$,$=j),b($)):s($,j)}return B}var pM=uUt(!0),cUt=uUt(!1),_oe=wN(null),xoe=null,$5=null,JLe=null;function XLe(){JLe=$5=xoe=null}function ZLe(n){var i=_oe.current;dc(_oe),n._currentValue=i}function F6e(n,i,s){for(;n!==null;){var c=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),n===s)break;n=n.return}}function Q5(n,i){xoe=n,JLe=$5=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&i&&(sb=!0),n.firstContext=null)}function Tw(n){var i=n._currentValue;if(JLe!==n)if(n={context:n,memoizedValue:i,next:null},$5===null){if(xoe===null)throw Error(ir(308));$5=n,xoe.dependencies={lanes:0,firstContext:n}}else $5=$5.next=n;return i}var J4=null;function QLe(n){J4===null?J4=[n]:J4.push(n)}function lUt(n,i,s,c){var d=i.interleaved;return d===null?(s.next=s,QLe(i)):(s.next=d.next,d.next=s),i.interleaved=s,mA(n,c)}function mA(n,i){n.lanes|=i;var s=n.alternate;for(s!==null&&(s.lanes|=i),s=n,n=n.return;n!==null;)n.childLanes|=i,s=n.alternate,s!==null&&(s.childLanes|=i),s=n,n=n.return;return s.tag===3?s.stateNode:null}var jk=!1;function e5e(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function dUt(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function hA(n,i){return{eventTime:n,lane:i,tag:0,payload:null,callback:null,next:null}}function Jk(n,i,s){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,ga&2){var d=c.pending;return d===null?i.next=i:(i.next=d.next,d.next=i),c.pending=i,mA(n,s)}return d=c.interleaved,d===null?(i.next=i,QLe(c)):(i.next=d.next,d.next=i),c.interleaved=i,mA(n,s)}function zie(n,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var c=i.lanes;c&=n.pendingLanes,s|=c,i.lanes=s,$Le(n,s)}}function O5t(n,i){var s=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var d=null,g=null;if(s=s.firstBaseUpdate,s!==null){do{var b={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};g===null?d=g=b:g=g.next=b,s=s.next}while(s!==null);g===null?d=g=i:g=g.next=i}else d=g=i;s={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:c.shared,effects:c.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=i:n.next=i,s.lastBaseUpdate=i}function koe(n,i,s,c){var d=n.updateQueue;jk=!1;var g=d.firstBaseUpdate,b=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var E=w,S=E.next;E.next=null,b===null?g=S:b.next=S,b=E;var x=n.alternate;x!==null&&(x=x.updateQueue,w=x.lastBaseUpdate,w!==b&&(w===null?x.firstBaseUpdate=S:w.next=S,x.lastBaseUpdate=E))}if(g!==null){var A=d.baseState;b=0,x=S=E=null,w=g;do{var C=w.lane,R=w.eventTime;if((c&C)===C){x!==null&&(x=x.next={eventTime:R,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var L=n,D=w;switch(C=i,R=s,D.tag){case 1:if(L=D.payload,typeof L=="function"){A=L.call(R,A,C);break e}A=L;break e;case 3:L.flags=L.flags&-65537|128;case 0:if(L=D.payload,C=typeof L=="function"?L.call(R,A,C):L,C==null)break e;A=fl({},A,C);break e;case 2:jk=!0}}w.callback!==null&&w.lane!==0&&(n.flags|=64,C=d.effects,C===null?d.effects=[w]:C.push(w))}else R={eventTime:R,lane:C,tag:w.tag,payload:w.payload,callback:w.callback,next:null},x===null?(S=x=R,E=A):x=x.next=R,b|=C;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;C=w,w=C.next,C.next=null,d.lastBaseUpdate=C,d.shared.pending=null}}while(!0);if(x===null&&(E=A),d.baseState=E,d.firstBaseUpdate=S,d.lastBaseUpdate=x,i=d.shared.interleaved,i!==null){d=i;do b|=d.lane,d=d.next;while(d!==i)}else g===null&&(d.shared.lanes=0);uR|=b,n.lanes=b,n.memoizedState=A}}function D5t(n,i,s){if(n=i.effects,i.effects=null,n!==null)for(i=0;i<n.length;i++){var c=n[i],d=c.callback;if(d!==null){if(c.callback=null,c=s,typeof d!="function")throw Error(ir(191,d));d.call(c)}}}var yz={},j2=wN(yz),jH=wN(yz),FH=wN(yz);function X4(n){if(n===yz)throw Error(ir(174));return n}function t5e(n,i){switch(Wu(FH,i),Wu(jH,n),Wu(j2,yz),n=i.nodeType,n){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:w6e(null,"");break;default:n=n===8?i.parentNode:i,i=n.namespaceURI||null,n=n.tagName,i=w6e(i,n)}dc(j2),Wu(j2,i)}function gM(){dc(j2),dc(jH),dc(FH)}function fUt(n){X4(FH.current);var i=X4(j2.current),s=w6e(i,n.type);i!==s&&(Wu(jH,n),Wu(j2,s))}function n5e(n){jH.current===n&&(dc(j2),dc(jH))}var cl=wN(0);function Noe(n){for(var i=n;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var _Ce=[];function r5e(){for(var n=0;n<_Ce.length;n++)_Ce[n]._workInProgressVersionPrimary=null;_Ce.length=0}var Gie=AA.ReactCurrentDispatcher,xCe=AA.ReactCurrentBatchConfig,aR=0,dl=null,wf=null,th=null,Coe=!1,fH=!1,$H=0,c4n=0;function Pp(){throw Error(ir(321))}function i5e(n,i){if(i===null)return!1;for(var s=0;s<i.length&&s<n.length;s++)if(!Pv(n[s],i[s]))return!1;return!0}function o5e(n,i,s,c,d,g){if(aR=g,dl=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Gie.current=n===null||n.memoizedState===null?h4n:p4n,n=s(c,d),fH){g=0;do{if(fH=!1,$H=0,25<=g)throw Error(ir(301));g+=1,th=wf=null,i.updateQueue=null,Gie.current=g4n,n=s(c,d)}while(fH)}if(Gie.current=Ioe,i=wf!==null&&wf.next!==null,aR=0,th=wf=dl=null,Coe=!1,i)throw Error(ir(300));return n}function s5e(){var n=$H!==0;return $H=0,n}function x2(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return th===null?dl.memoizedState=th=n:th=th.next=n,th}function Aw(){if(wf===null){var n=dl.alternate;n=n!==null?n.memoizedState:null}else n=wf.next;var i=th===null?dl.memoizedState:th.next;if(i!==null)th=i,wf=n;else{if(n===null)throw Error(ir(310));wf=n,n={memoizedState:wf.memoizedState,baseState:wf.baseState,baseQueue:wf.baseQueue,queue:wf.queue,next:null},th===null?dl.memoizedState=th=n:th=th.next=n}return th}function BH(n,i){return typeof i=="function"?i(n):i}function kCe(n){var i=Aw(),s=i.queue;if(s===null)throw Error(ir(311));s.lastRenderedReducer=n;var c=wf,d=c.baseQueue,g=s.pending;if(g!==null){if(d!==null){var b=d.next;d.next=g.next,g.next=b}c.baseQueue=d=g,s.pending=null}if(d!==null){g=d.next,c=c.baseState;var w=b=null,E=null,S=g;do{var x=S.lane;if((aR&x)===x)E!==null&&(E=E.next={lane:0,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),c=S.hasEagerState?S.eagerState:n(c,S.action);else{var A={lane:x,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null};E===null?(w=E=A,b=c):E=E.next=A,dl.lanes|=x,uR|=x}S=S.next}while(S!==null&&S!==g);E===null?b=c:E.next=w,Pv(c,i.memoizedState)||(sb=!0),i.memoizedState=c,i.baseState=b,i.baseQueue=E,s.lastRenderedState=c}if(n=s.interleaved,n!==null){d=n;do g=d.lane,dl.lanes|=g,uR|=g,d=d.next;while(d!==n)}else d===null&&(s.lanes=0);return[i.memoizedState,s.dispatch]}function NCe(n){var i=Aw(),s=i.queue;if(s===null)throw Error(ir(311));s.lastRenderedReducer=n;var c=s.dispatch,d=s.pending,g=i.memoizedState;if(d!==null){s.pending=null;var b=d=d.next;do g=n(g,b.action),b=b.next;while(b!==d);Pv(g,i.memoizedState)||(sb=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),s.lastRenderedState=g}return[g,c]}function hUt(){}function pUt(n,i){var s=dl,c=Aw(),d=i(),g=!Pv(c.memoizedState,d);if(g&&(c.memoizedState=d,sb=!0),c=c.queue,a5e(mUt.bind(null,s,c,n),[n]),c.getSnapshot!==i||g||th!==null&&th.memoizedState.tag&1){if(s.flags|=2048,UH(9,bUt.bind(null,s,c,d,i),void 0,null),rh===null)throw Error(ir(349));aR&30||gUt(s,i,d)}return d}function gUt(n,i,s){n.flags|=16384,n={getSnapshot:i,value:s},i=dl.updateQueue,i===null?(i={lastEffect:null,stores:null},dl.updateQueue=i,i.stores=[n]):(s=i.stores,s===null?i.stores=[n]:s.push(n))}function bUt(n,i,s,c){i.value=s,i.getSnapshot=c,wUt(i)&&yUt(n)}function mUt(n,i,s){return s(function(){wUt(i)&&yUt(n)})}function wUt(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!Pv(n,s)}catch{return!0}}function yUt(n){var i=mA(n,1);i!==null&&Lv(i,n,1,-1)}function L5t(n){var i=x2();return typeof n=="function"&&(n=n()),i.memoizedState=i.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:BH,lastRenderedState:n},i.queue=n,n=n.dispatch=f4n.bind(null,dl,n),[i.memoizedState,n]}function UH(n,i,s,c){return n={tag:n,create:i,destroy:s,deps:c,next:null},i=dl.updateQueue,i===null?(i={lastEffect:null,stores:null},dl.updateQueue=i,i.lastEffect=n.next=n):(s=i.lastEffect,s===null?i.lastEffect=n.next=n:(c=s.next,s.next=n,n.next=c,i.lastEffect=n)),n}function vUt(){return Aw().memoizedState}function qie(n,i,s,c){var d=x2();dl.flags|=n,d.memoizedState=UH(1|i,s,void 0,c===void 0?null:c)}function Mse(n,i,s,c){var d=Aw();c=c===void 0?null:c;var g=void 0;if(wf!==null){var b=wf.memoizedState;if(g=b.destroy,c!==null&&i5e(c,b.deps)){d.memoizedState=UH(i,s,g,c);return}}dl.flags|=n,d.memoizedState=UH(1|i,s,g,c)}function M5t(n,i){return qie(8390656,8,n,i)}function a5e(n,i){return Mse(2048,8,n,i)}function EUt(n,i){return Mse(4,2,n,i)}function SUt(n,i){return Mse(4,4,n,i)}function TUt(n,i){if(typeof i=="function")return n=n(),i(n),function(){i(null)};if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function AUt(n,i,s){return s=s!=null?s.concat([n]):null,Mse(4,4,TUt.bind(null,i,n),s)}function u5e(){}function _Ut(n,i){var s=Aw();i=i===void 0?null:i;var c=s.memoizedState;return c!==null&&i!==null&&i5e(i,c[1])?c[0]:(s.memoizedState=[n,i],n)}function xUt(n,i){var s=Aw();i=i===void 0?null:i;var c=s.memoizedState;return c!==null&&i!==null&&i5e(i,c[1])?c[0]:(n=n(),s.memoizedState=[n,i],n)}function kUt(n,i,s){return aR&21?(Pv(s,i)||(s=OBt(),dl.lanes|=s,uR|=s,n.baseState=!0),i):(n.baseState&&(n.baseState=!1,sb=!0),n.memoizedState=s)}function l4n(n,i){var s=cu;cu=s!==0&&4>s?s:4,n(!0);var c=xCe.transition;xCe.transition={};try{n(!1),i()}finally{cu=s,xCe.transition=c}}function NUt(){return Aw().memoizedState}function d4n(n,i,s){var c=Zk(n);if(s={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null},CUt(n))IUt(i,s);else if(s=lUt(n,i,s,c),s!==null){var d=Hg();Lv(s,n,c,d),RUt(s,i,c)}}function f4n(n,i,s){var c=Zk(n),d={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(CUt(n))IUt(i,d);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var b=i.lastRenderedState,w=g(b,s);if(d.hasEagerState=!0,d.eagerState=w,Pv(w,b)){var E=i.interleaved;E===null?(d.next=d,QLe(i)):(d.next=E.next,E.next=d),i.interleaved=d;return}}catch{}finally{}s=lUt(n,i,d,c),s!==null&&(d=Hg(),Lv(s,n,c,d),RUt(s,i,c))}}function CUt(n){var i=n.alternate;return n===dl||i!==null&&i===dl}function IUt(n,i){fH=Coe=!0;var s=n.pending;s===null?i.next=i:(i.next=s.next,s.next=i),n.pending=i}function RUt(n,i,s){if(s&4194240){var c=i.lanes;c&=n.pendingLanes,s|=c,i.lanes=s,$Le(n,s)}}var Ioe={readContext:Tw,useCallback:Pp,useContext:Pp,useEffect:Pp,useImperativeHandle:Pp,useInsertionEffect:Pp,useLayoutEffect:Pp,useMemo:Pp,useReducer:Pp,useRef:Pp,useState:Pp,useDebugValue:Pp,useDeferredValue:Pp,useTransition:Pp,useMutableSource:Pp,useSyncExternalStore:Pp,useId:Pp,unstable_isNewReconciler:!1},h4n={readContext:Tw,useCallback:function(n,i){return x2().memoizedState=[n,i===void 0?null:i],n},useContext:Tw,useEffect:M5t,useImperativeHandle:function(n,i,s){return s=s!=null?s.concat([n]):null,qie(4194308,4,TUt.bind(null,i,n),s)},useLayoutEffect:function(n,i){return qie(4194308,4,n,i)},useInsertionEffect:function(n,i){return qie(4,2,n,i)},useMemo:function(n,i){var s=x2();return i=i===void 0?null:i,n=n(),s.memoizedState=[n,i],n},useReducer:function(n,i,s){var c=x2();return i=s!==void 0?s(i):i,c.memoizedState=c.baseState=i,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:i},c.queue=n,n=n.dispatch=d4n.bind(null,dl,n),[c.memoizedState,n]},useRef:function(n){var i=x2();return n={current:n},i.memoizedState=n},useState:L5t,useDebugValue:u5e,useDeferredValue:function(n){return x2().memoizedState=n},useTransition:function(){var n=L5t(!1),i=n[0];return n=l4n.bind(null,n[1]),x2().memoizedState=n,[i,n]},useMutableSource:function(){},useSyncExternalStore:function(n,i,s){var c=dl,d=x2();if(Dc){if(s===void 0)throw Error(ir(407));s=s()}else{if(s=i(),rh===null)throw Error(ir(349));aR&30||gUt(c,i,s)}d.memoizedState=s;var g={value:s,getSnapshot:i};return d.queue=g,M5t(mUt.bind(null,c,g,n),[n]),c.flags|=2048,UH(9,bUt.bind(null,c,g,s,i),void 0,null),s},useId:function(){var n=x2(),i=rh.identifierPrefix;if(Dc){var s=cA,c=uA;s=(c&~(1<<32-Dv(c)-1)).toString(32)+s,i=":"+i+"R"+s,s=$H++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=c4n++,i=":"+i+"r"+s.toString(32)+":";return n.memoizedState=i},unstable_isNewReconciler:!1},p4n={readContext:Tw,useCallback:_Ut,useContext:Tw,useEffect:a5e,useImperativeHandle:AUt,useInsertionEffect:EUt,useLayoutEffect:SUt,useMemo:xUt,useReducer:kCe,useRef:vUt,useState:function(){return kCe(BH)},useDebugValue:u5e,useDeferredValue:function(n){var i=Aw();return kUt(i,wf.memoizedState,n)},useTransition:function(){var n=kCe(BH)[0],i=Aw().memoizedState;return[n,i]},useMutableSource:hUt,useSyncExternalStore:pUt,useId:NUt,unstable_isNewReconciler:!1},g4n={readContext:Tw,useCallback:_Ut,useContext:Tw,useEffect:a5e,useImperativeHandle:AUt,useInsertionEffect:EUt,useLayoutEffect:SUt,useMemo:xUt,useReducer:NCe,useRef:vUt,useState:function(){return NCe(BH)},useDebugValue:u5e,useDeferredValue:function(n){var i=Aw();return wf===null?i.memoizedState=n:kUt(i,wf.memoizedState,n)},useTransition:function(){var n=NCe(BH)[0],i=Aw().memoizedState;return[n,i]},useMutableSource:hUt,useSyncExternalStore:pUt,useId:NUt,unstable_isNewReconciler:!1};function xv(n,i){if(n&&n.defaultProps){i=fl({},i),n=n.defaultProps;for(var s in n)i[s]===void 0&&(i[s]=n[s]);return i}return i}function $6e(n,i,s,c){i=n.memoizedState,s=s(c,i),s=s==null?i:fl({},i,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var Pse={isMounted:function(n){return(n=n._reactInternals)?_R(n)===n:!1},enqueueSetState:function(n,i,s){n=n._reactInternals;var c=Hg(),d=Zk(n),g=hA(c,d);g.payload=i,s!=null&&(g.callback=s),i=Jk(n,g,d),i!==null&&(Lv(i,n,d,c),zie(i,n,d))},enqueueReplaceState:function(n,i,s){n=n._reactInternals;var c=Hg(),d=Zk(n),g=hA(c,d);g.tag=1,g.payload=i,s!=null&&(g.callback=s),i=Jk(n,g,d),i!==null&&(Lv(i,n,d,c),zie(i,n,d))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var s=Hg(),c=Zk(n),d=hA(s,c);d.tag=2,i!=null&&(d.callback=i),i=Jk(n,d,c),i!==null&&(Lv(i,n,c,s),zie(i,n,c))}};function P5t(n,i,s,c,d,g,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,b):i.prototype&&i.prototype.isPureReactComponent?!DH(s,c)||!DH(d,g):!0}function OUt(n,i,s){var c=!1,d=rN,g=i.contextType;return typeof g=="object"&&g!==null?g=Tw(g):(d=lb(i)?oR:Up.current,c=i.contextTypes,g=(c=c!=null)?fM(n,d):rN),i=new i(s,g),n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Pse,n.stateNode=i,i._reactInternals=n,c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=d,n.__reactInternalMemoizedMaskedChildContext=g),i}function j5t(n,i,s,c){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,c),i.state!==n&&Pse.enqueueReplaceState(i,i.state,null)}function B6e(n,i,s,c){var d=n.stateNode;d.props=s,d.state=n.memoizedState,d.refs={},e5e(n);var g=i.contextType;typeof g=="object"&&g!==null?d.context=Tw(g):(g=lb(i)?oR:Up.current,d.context=fM(n,g)),d.state=n.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&($6e(n,i,g,s),d.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(i=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),i!==d.state&&Pse.enqueueReplaceState(d,d.state,null),koe(n,s,d,c),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308)}function bM(n,i){try{var s="",c=i;do s+=zCn(c),c=c.return;while(c);var d=s}catch(g){d=`
Error generating stack: `+g.message+`
`+g.stack}return{value:n,source:i,stack:d,digest:null}}function CCe(n,i,s){return{value:n,source:null,stack:s??null,digest:i??null}}function U6e(n,i){try{console.error(i.value)}catch(s){setTimeout(function(){throw s})}}var b4n=typeof WeakMap=="function"?WeakMap:Map;function DUt(n,i,s){s=hA(-1,s),s.tag=3,s.payload={element:null};var c=i.value;return s.callback=function(){Ooe||(Ooe=!0,X6e=c),U6e(n,i)},s}function LUt(n,i,s){s=hA(-1,s),s.tag=3;var c=n.type.getDerivedStateFromError;if(typeof c=="function"){var d=i.value;s.payload=function(){return c(d)},s.callback=function(){U6e(n,i)}}var g=n.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(s.callback=function(){U6e(n,i),typeof c!="function"&&(Xk===null?Xk=new Set([this]):Xk.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})}),s}function F5t(n,i,s){var c=n.pingCache;if(c===null){c=n.pingCache=new b4n;var d=new Set;c.set(i,d)}else d=c.get(i),d===void 0&&(d=new Set,c.set(i,d));d.has(s)||(d.add(s),n=I4n.bind(null,n,i,s),i.then(n,n))}function $5t(n){do{var i;if((i=n.tag===13)&&(i=n.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return n;n=n.return}while(n!==null);return null}function B5t(n,i,s,c,d){return n.mode&1?(n.flags|=65536,n.lanes=d,n):(n===i?n.flags|=65536:(n.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(i=hA(-1,1),i.tag=2,Jk(s,i,1))),s.lanes|=1),n)}var m4n=AA.ReactCurrentOwner,sb=!1;function Bg(n,i,s,c){i.child=n===null?cUt(i,null,s,c):pM(i,n.child,s,c)}function U5t(n,i,s,c,d){s=s.render;var g=i.ref;return Q5(i,d),c=o5e(n,i,s,c,g,d),s=s5e(),n!==null&&!sb?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,wA(n,i,d)):(Dc&&s&&WLe(i),i.flags|=1,Bg(n,i,c,d),i.child)}function H5t(n,i,s,c,d){if(n===null){var g=s.type;return typeof g=="function"&&!b5e(g)&&g.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(i.tag=15,i.type=g,MUt(n,i,g,c,d)):(n=Yie(s.type,null,c,i,i.mode,d),n.ref=i.ref,n.return=i,i.child=n)}if(g=n.child,!(n.lanes&d)){var b=g.memoizedProps;if(s=s.compare,s=s!==null?s:DH,s(b,c)&&n.ref===i.ref)return wA(n,i,d)}return i.flags|=1,n=Qk(g,c),n.ref=i.ref,n.return=i,i.child=n}function MUt(n,i,s,c,d){if(n!==null){var g=n.memoizedProps;if(DH(g,c)&&n.ref===i.ref)if(sb=!1,i.pendingProps=c=g,(n.lanes&d)!==0)n.flags&131072&&(sb=!0);else return i.lanes=n.lanes,wA(n,i,d)}return H6e(n,i,s,c,d)}function PUt(n,i,s){var c=i.pendingProps,d=c.children,g=n!==null?n.memoizedState:null;if(c.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Wu(U5,Lm),Lm|=s;else{if(!(s&1073741824))return n=g!==null?g.baseLanes|s:s,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:n,cachePool:null,transitions:null},i.updateQueue=null,Wu(U5,Lm),Lm|=n,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=g!==null?g.baseLanes:s,Wu(U5,Lm),Lm|=c}else g!==null?(c=g.baseLanes|s,i.memoizedState=null):c=s,Wu(U5,Lm),Lm|=c;return Bg(n,i,d,s),i.child}function jUt(n,i){var s=i.ref;(n===null&&s!==null||n!==null&&n.ref!==s)&&(i.flags|=512,i.flags|=2097152)}function H6e(n,i,s,c,d){var g=lb(s)?oR:Up.current;return g=fM(i,g),Q5(i,d),s=o5e(n,i,s,c,g,d),c=s5e(),n!==null&&!sb?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,wA(n,i,d)):(Dc&&c&&WLe(i),i.flags|=1,Bg(n,i,s,d),i.child)}function z5t(n,i,s,c,d){if(lb(s)){var g=!0;Soe(i)}else g=!1;if(Q5(i,d),i.stateNode===null)Vie(n,i),OUt(i,s,c),B6e(i,s,c,d),c=!0;else if(n===null){var b=i.stateNode,w=i.memoizedProps;b.props=w;var E=b.context,S=s.contextType;typeof S=="object"&&S!==null?S=Tw(S):(S=lb(s)?oR:Up.current,S=fM(i,S));var x=s.getDerivedStateFromProps,A=typeof x=="function"||typeof b.getSnapshotBeforeUpdate=="function";A||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==c||E!==S)&&j5t(i,b,c,S),jk=!1;var C=i.memoizedState;b.state=C,koe(i,c,b,d),E=i.memoizedState,w!==c||C!==E||cb.current||jk?(typeof x=="function"&&($6e(i,s,x,c),E=i.memoizedState),(w=jk||P5t(i,s,w,c,C,E,S))?(A||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=E),b.props=c,b.state=E,b.context=S,c=w):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{b=i.stateNode,dUt(n,i),w=i.memoizedProps,S=i.type===i.elementType?w:xv(i.type,w),b.props=S,A=i.pendingProps,C=b.context,E=s.contextType,typeof E=="object"&&E!==null?E=Tw(E):(E=lb(s)?oR:Up.current,E=fM(i,E));var R=s.getDerivedStateFromProps;(x=typeof R=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==A||C!==E)&&j5t(i,b,c,E),jk=!1,C=i.memoizedState,b.state=C,koe(i,c,b,d);var L=i.memoizedState;w!==A||C!==L||cb.current||jk?(typeof R=="function"&&($6e(i,s,R,c),L=i.memoizedState),(S=jk||P5t(i,s,S,c,C,L,E)||!1)?(x||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(c,L,E),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(c,L,E)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=L),b.props=c,b.state=L,b.context=E,c=S):(typeof b.componentDidUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=1024),c=!1)}return z6e(n,i,s,c,g,d)}function z6e(n,i,s,c,d,g){jUt(n,i);var b=(i.flags&128)!==0;if(!c&&!b)return d&&N5t(i,s,!1),wA(n,i,g);c=i.stateNode,m4n.current=i;var w=b&&typeof s.getDerivedStateFromError!="function"?null:c.render();return i.flags|=1,n!==null&&b?(i.child=pM(i,n.child,null,g),i.child=pM(i,null,w,g)):Bg(n,i,w,g),i.memoizedState=c.state,d&&N5t(i,s,!0),i.child}function FUt(n){var i=n.stateNode;i.pendingContext?k5t(n,i.pendingContext,i.pendingContext!==i.context):i.context&&k5t(n,i.context,!1),t5e(n,i.containerInfo)}function G5t(n,i,s,c,d){return hM(),YLe(d),i.flags|=256,Bg(n,i,s,c),i.child}var G6e={dehydrated:null,treeContext:null,retryLane:0};function q6e(n){return{baseLanes:n,cachePool:null,transitions:null}}function $Ut(n,i,s){var c=i.pendingProps,d=cl.current,g=!1,b=(i.flags&128)!==0,w;if((w=b)||(w=n!==null&&n.memoizedState===null?!1:(d&2)!==0),w?(g=!0,i.flags&=-129):(n===null||n.memoizedState!==null)&&(d|=1),Wu(cl,d&1),n===null)return j6e(i),n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(i.mode&1?n.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(b=c.children,n=c.fallback,g?(c=i.mode,g=i.child,b={mode:"hidden",children:b},!(c&1)&&g!==null?(g.childLanes=0,g.pendingProps=b):g=$se(b,c,0,null),n=eR(n,c,s,null),g.return=i,n.return=i,g.sibling=n,i.child=g,i.child.memoizedState=q6e(s),i.memoizedState=G6e,n):c5e(i,b));if(d=n.memoizedState,d!==null&&(w=d.dehydrated,w!==null))return w4n(n,i,b,c,w,d,s);if(g){g=c.fallback,b=i.mode,d=n.child,w=d.sibling;var E={mode:"hidden",children:c.children};return!(b&1)&&i.child!==d?(c=i.child,c.childLanes=0,c.pendingProps=E,i.deletions=null):(c=Qk(d,E),c.subtreeFlags=d.subtreeFlags&14680064),w!==null?g=Qk(w,g):(g=eR(g,b,s,null),g.flags|=2),g.return=i,c.return=i,c.sibling=g,i.child=c,c=g,g=i.child,b=n.child.memoizedState,b=b===null?q6e(s):{baseLanes:b.baseLanes|s,cachePool:null,transitions:b.transitions},g.memoizedState=b,g.childLanes=n.childLanes&~s,i.memoizedState=G6e,c}return g=n.child,n=g.sibling,c=Qk(g,{mode:"visible",children:c.children}),!(i.mode&1)&&(c.lanes=s),c.return=i,c.sibling=null,n!==null&&(s=i.deletions,s===null?(i.deletions=[n],i.flags|=16):s.push(n)),i.child=c,i.memoizedState=null,c}function c5e(n,i){return i=$se({mode:"visible",children:i},n.mode,0,null),i.return=n,n.child=i}function sie(n,i,s,c){return c!==null&&YLe(c),pM(i,n.child,null,s),n=c5e(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function w4n(n,i,s,c,d,g,b){if(s)return i.flags&256?(i.flags&=-257,c=CCe(Error(ir(422))),sie(n,i,b,c)):i.memoizedState!==null?(i.child=n.child,i.flags|=128,null):(g=c.fallback,d=i.mode,c=$se({mode:"visible",children:c.children},d,0,null),g=eR(g,d,b,null),g.flags|=2,c.return=i,g.return=i,c.sibling=g,i.child=c,i.mode&1&&pM(i,n.child,null,b),i.child.memoizedState=q6e(b),i.memoizedState=G6e,g);if(!(i.mode&1))return sie(n,i,b,null);if(d.data==="$!"){if(c=d.nextSibling&&d.nextSibling.dataset,c)var w=c.dgst;return c=w,g=Error(ir(419)),c=CCe(g,c,void 0),sie(n,i,b,c)}if(w=(b&n.childLanes)!==0,sb||w){if(c=rh,c!==null){switch(b&-b){case 4:d=2;break;case 16:d=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(c.suspendedLanes|b)?0:d,d!==0&&d!==g.retryLane&&(g.retryLane=d,mA(n,d),Lv(c,n,d,-1))}return g5e(),c=CCe(Error(ir(421))),sie(n,i,b,c)}return d.data==="$?"?(i.flags|=128,i.child=n.child,i=R4n.bind(null,n),d._reactRetry=i,null):(n=g.treeContext,Fm=Yk(d.nextSibling),Bm=i,Dc=!0,Cv=null,n!==null&&(bw[mw++]=uA,bw[mw++]=cA,bw[mw++]=sR,uA=n.id,cA=n.overflow,sR=i),i=c5e(i,c.children),i.flags|=4096,i)}function q5t(n,i,s){n.lanes|=i;var c=n.alternate;c!==null&&(c.lanes|=i),F6e(n.return,i,s)}function ICe(n,i,s,c,d){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:d}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=s,g.tailMode=d)}function BUt(n,i,s){var c=i.pendingProps,d=c.revealOrder,g=c.tail;if(Bg(n,i,c.children,s),c=cl.current,c&2)c=c&1|2,i.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&q5t(n,s,i);else if(n.tag===19)q5t(n,s,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}c&=1}if(Wu(cl,c),!(i.mode&1))i.memoizedState=null;else switch(d){case"forwards":for(s=i.child,d=null;s!==null;)n=s.alternate,n!==null&&Noe(n)===null&&(d=s),s=s.sibling;s=d,s===null?(d=i.child,i.child=null):(d=s.sibling,s.sibling=null),ICe(i,!1,d,s,g);break;case"backwards":for(s=null,d=i.child,i.child=null;d!==null;){if(n=d.alternate,n!==null&&Noe(n)===null){i.child=d;break}n=d.sibling,d.sibling=s,s=d,d=n}ICe(i,!0,s,null,g);break;case"together":ICe(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Vie(n,i){!(i.mode&1)&&n!==null&&(n.alternate=null,i.alternate=null,i.flags|=2)}function wA(n,i,s){if(n!==null&&(i.dependencies=n.dependencies),uR|=i.lanes,!(s&i.childLanes))return null;if(n!==null&&i.child!==n.child)throw Error(ir(153));if(i.child!==null){for(n=i.child,s=Qk(n,n.pendingProps),i.child=s,s.return=i;n.sibling!==null;)n=n.sibling,s=s.sibling=Qk(n,n.pendingProps),s.return=i;s.sibling=null}return i.child}function y4n(n,i,s){switch(i.tag){case 3:FUt(i),hM();break;case 5:fUt(i);break;case 1:lb(i.type)&&Soe(i);break;case 4:t5e(i,i.stateNode.containerInfo);break;case 10:var c=i.type._context,d=i.memoizedProps.value;Wu(_oe,c._currentValue),c._currentValue=d;break;case 13:if(c=i.memoizedState,c!==null)return c.dehydrated!==null?(Wu(cl,cl.current&1),i.flags|=128,null):s&i.child.childLanes?$Ut(n,i,s):(Wu(cl,cl.current&1),n=wA(n,i,s),n!==null?n.sibling:null);Wu(cl,cl.current&1);break;case 19:if(c=(s&i.childLanes)!==0,n.flags&128){if(c)return BUt(n,i,s);i.flags|=128}if(d=i.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Wu(cl,cl.current),c)break;return null;case 22:case 23:return i.lanes=0,PUt(n,i,s)}return wA(n,i,s)}var UUt,V6e,HUt,zUt;UUt=function(n,i){for(var s=i.child;s!==null;){if(s.tag===5||s.tag===6)n.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return;s=s.return}s.sibling.return=s.return,s=s.sibling}};V6e=function(){};HUt=function(n,i,s,c){var d=n.memoizedProps;if(d!==c){n=i.stateNode,X4(j2.current);var g=null;switch(s){case"input":d=p6e(n,d),c=p6e(n,c),g=[];break;case"select":d=fl({},d,{value:void 0}),c=fl({},c,{value:void 0}),g=[];break;case"textarea":d=m6e(n,d),c=m6e(n,c),g=[];break;default:typeof d.onClick!="function"&&typeof c.onClick=="function"&&(n.onclick=voe)}y6e(s,c);var b;s=null;for(S in d)if(!c.hasOwnProperty(S)&&d.hasOwnProperty(S)&&d[S]!=null)if(S==="style"){var w=d[S];for(b in w)w.hasOwnProperty(b)&&(s||(s={}),s[b]="")}else S!=="dangerouslySetInnerHTML"&&S!=="children"&&S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(xH.hasOwnProperty(S)?g||(g=[]):(g=g||[]).push(S,null));for(S in c){var E=c[S];if(w=d!=null?d[S]:void 0,c.hasOwnProperty(S)&&E!==w&&(E!=null||w!=null))if(S==="style")if(w){for(b in w)!w.hasOwnProperty(b)||E&&E.hasOwnProperty(b)||(s||(s={}),s[b]="");for(b in E)E.hasOwnProperty(b)&&w[b]!==E[b]&&(s||(s={}),s[b]=E[b])}else s||(g||(g=[]),g.push(S,s)),s=E;else S==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,w=w?w.__html:void 0,E!=null&&w!==E&&(g=g||[]).push(S,E)):S==="children"?typeof E!="string"&&typeof E!="number"||(g=g||[]).push(S,""+E):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&(xH.hasOwnProperty(S)?(E!=null&&S==="onScroll"&&lc("scroll",n),g||w===E||(g=[])):(g=g||[]).push(S,E))}s&&(g=g||[]).push("style",s);var S=g;(i.updateQueue=S)&&(i.flags|=4)}};zUt=function(n,i,s,c){s!==c&&(i.flags|=4)};function MU(n,i){if(!Dc)switch(n.tailMode){case"hidden":i=n.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function jp(n){var i=n.alternate!==null&&n.alternate.child===n.child,s=0,c=0;if(i)for(var d=n.child;d!==null;)s|=d.lanes|d.childLanes,c|=d.subtreeFlags&14680064,c|=d.flags&14680064,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)s|=d.lanes|d.childLanes,c|=d.subtreeFlags,c|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=c,n.childLanes=s,i}function v4n(n,i,s){var c=i.pendingProps;switch(KLe(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jp(i),null;case 1:return lb(i.type)&&Eoe(),jp(i),null;case 3:return c=i.stateNode,gM(),dc(cb),dc(Up),r5e(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&(iie(i)?i.flags|=4:n===null||n.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Cv!==null&&(eDe(Cv),Cv=null))),V6e(n,i),jp(i),null;case 5:n5e(i);var d=X4(FH.current);if(s=i.type,n!==null&&i.stateNode!=null)HUt(n,i,s,c,d),n.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!c){if(i.stateNode===null)throw Error(ir(166));return jp(i),null}if(n=X4(j2.current),iie(i)){c=i.stateNode,s=i.type;var g=i.memoizedProps;switch(c[R2]=i,c[PH]=g,n=(i.mode&1)!==0,s){case"dialog":lc("cancel",c),lc("close",c);break;case"iframe":case"object":case"embed":lc("load",c);break;case"video":case"audio":for(d=0;d<YU.length;d++)lc(YU[d],c);break;case"source":lc("error",c);break;case"img":case"image":case"link":lc("error",c),lc("load",c);break;case"details":lc("toggle",c);break;case"input":e5t(c,g),lc("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!g.multiple},lc("invalid",c);break;case"textarea":n5t(c,g),lc("invalid",c)}y6e(s,g),d=null;for(var b in g)if(g.hasOwnProperty(b)){var w=g[b];b==="children"?typeof w=="string"?c.textContent!==w&&(g.suppressHydrationWarning!==!0&&rie(c.textContent,w,n),d=["children",w]):typeof w=="number"&&c.textContent!==""+w&&(g.suppressHydrationWarning!==!0&&rie(c.textContent,w,n),d=["children",""+w]):xH.hasOwnProperty(b)&&w!=null&&b==="onScroll"&&lc("scroll",c)}switch(s){case"input":Yre(c),t5t(c,g,!0);break;case"textarea":Yre(c),r5t(c);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(c.onclick=voe)}c=d,i.updateQueue=c,c!==null&&(i.flags|=4)}else{b=d.nodeType===9?d:d.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=mBt(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=b.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof c.is=="string"?n=b.createElement(s,{is:c.is}):(n=b.createElement(s),s==="select"&&(b=n,c.multiple?b.multiple=!0:c.size&&(b.size=c.size))):n=b.createElementNS(n,s),n[R2]=i,n[PH]=c,UUt(n,i,!1,!1),i.stateNode=n;e:{switch(b=v6e(s,c),s){case"dialog":lc("cancel",n),lc("close",n),d=c;break;case"iframe":case"object":case"embed":lc("load",n),d=c;break;case"video":case"audio":for(d=0;d<YU.length;d++)lc(YU[d],n);d=c;break;case"source":lc("error",n),d=c;break;case"img":case"image":case"link":lc("error",n),lc("load",n),d=c;break;case"details":lc("toggle",n),d=c;break;case"input":e5t(n,c),d=p6e(n,c),lc("invalid",n);break;case"option":d=c;break;case"select":n._wrapperState={wasMultiple:!!c.multiple},d=fl({},c,{value:void 0}),lc("invalid",n);break;case"textarea":n5t(n,c),d=m6e(n,c),lc("invalid",n);break;default:d=c}y6e(s,d),w=d;for(g in w)if(w.hasOwnProperty(g)){var E=w[g];g==="style"?vBt(n,E):g==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&wBt(n,E)):g==="children"?typeof E=="string"?(s!=="textarea"||E!=="")&&kH(n,E):typeof E=="number"&&kH(n,""+E):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(xH.hasOwnProperty(g)?E!=null&&g==="onScroll"&&lc("scroll",n):E!=null&&DLe(n,g,E,b))}switch(s){case"input":Yre(n),t5t(n,c,!1);break;case"textarea":Yre(n),r5t(n);break;case"option":c.value!=null&&n.setAttribute("value",""+nN(c.value));break;case"select":n.multiple=!!c.multiple,g=c.value,g!=null?Y5(n,!!c.multiple,g,!1):c.defaultValue!=null&&Y5(n,!!c.multiple,c.defaultValue,!0);break;default:typeof d.onClick=="function"&&(n.onclick=voe)}switch(s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return jp(i),null;case 6:if(n&&i.stateNode!=null)zUt(n,i,n.memoizedProps,c);else{if(typeof c!="string"&&i.stateNode===null)throw Error(ir(166));if(s=X4(FH.current),X4(j2.current),iie(i)){if(c=i.stateNode,s=i.memoizedProps,c[R2]=i,(g=c.nodeValue!==s)&&(n=Bm,n!==null))switch(n.tag){case 3:rie(c.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&rie(c.nodeValue,s,(n.mode&1)!==0)}g&&(i.flags|=4)}else c=(s.nodeType===9?s:s.ownerDocument).createTextNode(c),c[R2]=i,i.stateNode=c}return jp(i),null;case 13:if(dc(cl),c=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Dc&&Fm!==null&&i.mode&1&&!(i.flags&128))aUt(),hM(),i.flags|=98560,g=!1;else if(g=iie(i),c!==null&&c.dehydrated!==null){if(n===null){if(!g)throw Error(ir(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(ir(317));g[R2]=i}else hM(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;jp(i),g=!1}else Cv!==null&&(eDe(Cv),Cv=null),g=!0;if(!g)return i.flags&65536?i:null}return i.flags&128?(i.lanes=s,i):(c=c!==null,c!==(n!==null&&n.memoizedState!==null)&&c&&(i.child.flags|=8192,i.mode&1&&(n===null||cl.current&1?Sf===0&&(Sf=3):g5e())),i.updateQueue!==null&&(i.flags|=4),jp(i),null);case 4:return gM(),V6e(n,i),n===null&&LH(i.stateNode.containerInfo),jp(i),null;case 10:return ZLe(i.type._context),jp(i),null;case 17:return lb(i.type)&&Eoe(),jp(i),null;case 19:if(dc(cl),g=i.memoizedState,g===null)return jp(i),null;if(c=(i.flags&128)!==0,b=g.rendering,b===null)if(c)MU(g,!1);else{if(Sf!==0||n!==null&&n.flags&128)for(n=i.child;n!==null;){if(b=Noe(n),b!==null){for(i.flags|=128,MU(g,!1),c=b.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),i.subtreeFlags=0,c=s,s=i.child;s!==null;)g=s,n=c,g.flags&=14680066,b=g.alternate,b===null?(g.childLanes=0,g.lanes=n,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=b.childLanes,g.lanes=b.lanes,g.child=b.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=b.memoizedProps,g.memoizedState=b.memoizedState,g.updateQueue=b.updateQueue,g.type=b.type,n=b.dependencies,g.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),s=s.sibling;return Wu(cl,cl.current&1|2),i.child}n=n.sibling}g.tail!==null&&pd()>mM&&(i.flags|=128,c=!0,MU(g,!1),i.lanes=4194304)}else{if(!c)if(n=Noe(b),n!==null){if(i.flags|=128,c=!0,s=n.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),MU(g,!0),g.tail===null&&g.tailMode==="hidden"&&!b.alternate&&!Dc)return jp(i),null}else 2*pd()-g.renderingStartTime>mM&&s!==1073741824&&(i.flags|=128,c=!0,MU(g,!1),i.lanes=4194304);g.isBackwards?(b.sibling=i.child,i.child=b):(s=g.last,s!==null?s.sibling=b:i.child=b,g.last=b)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=pd(),i.sibling=null,s=cl.current,Wu(cl,c?s&1|2:s&1),i):(jp(i),null);case 22:case 23:return p5e(),c=i.memoizedState!==null,n!==null&&n.memoizedState!==null!==c&&(i.flags|=8192),c&&i.mode&1?Lm&1073741824&&(jp(i),i.subtreeFlags&6&&(i.flags|=8192)):jp(i),null;case 24:return null;case 25:return null}throw Error(ir(156,i.tag))}function E4n(n,i){switch(KLe(i),i.tag){case 1:return lb(i.type)&&Eoe(),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return gM(),dc(cb),dc(Up),r5e(),n=i.flags,n&65536&&!(n&128)?(i.flags=n&-65537|128,i):null;case 5:return n5e(i),null;case 13:if(dc(cl),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(ir(340));hM()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return dc(cl),null;case 4:return gM(),null;case 10:return ZLe(i.type._context),null;case 22:case 23:return p5e(),null;case 24:return null;default:return null}}var aie=!1,Fp=!1,S4n=typeof WeakSet=="function"?WeakSet:Set,Vr=null;function B5(n,i){var s=n.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(c){jl(n,i,c)}else s.current=null}function W6e(n,i,s){try{s()}catch(c){jl(n,i,c)}}var V5t=!1;function T4n(n,i){if(I6e=moe,n=KBt(),VLe(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var d=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{s.nodeType,g.nodeType}catch{s=null;break e}var b=0,w=-1,E=-1,S=0,x=0,A=n,C=null;t:for(;;){for(var R;A!==s||d!==0&&A.nodeType!==3||(w=b+d),A!==g||c!==0&&A.nodeType!==3||(E=b+c),A.nodeType===3&&(b+=A.nodeValue.length),(R=A.firstChild)!==null;)C=A,A=R;for(;;){if(A===n)break t;if(C===s&&++S===d&&(w=b),C===g&&++x===c&&(E=b),(R=A.nextSibling)!==null)break;A=C,C=A.parentNode}A=R}s=w===-1||E===-1?null:{start:w,end:E}}else s=null}s=s||{start:0,end:0}}else s=null;for(R6e={focusedElem:n,selectionRange:s},moe=!1,Vr=i;Vr!==null;)if(i=Vr,n=i.child,(i.subtreeFlags&1028)!==0&&n!==null)n.return=i,Vr=n;else for(;Vr!==null;){i=Vr;try{var L=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(L!==null){var D=L.memoizedProps,B=L.memoizedState,$=i.stateNode,j=$.getSnapshotBeforeUpdate(i.elementType===i.type?D:xv(i.type,D),B);$.__reactInternalSnapshotBeforeUpdate=j}break;case 3:var P=i.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ir(163))}}catch(G){jl(i,i.return,G)}if(n=i.sibling,n!==null){n.return=i.return,Vr=n;break}Vr=i.return}return L=V5t,V5t=!1,L}function hH(n,i,s){var c=i.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var d=c=c.next;do{if((d.tag&n)===n){var g=d.destroy;d.destroy=void 0,g!==void 0&&W6e(i,s,g)}d=d.next}while(d!==c)}}function jse(n,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&n)===n){var c=s.create;s.destroy=c()}s=s.next}while(s!==i)}}function K6e(n){var i=n.ref;if(i!==null){var s=n.stateNode;switch(n.tag){case 5:n=s;break;default:n=s}typeof i=="function"?i(n):i.current=n}}function GUt(n){var i=n.alternate;i!==null&&(n.alternate=null,GUt(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&(delete i[R2],delete i[PH],delete i[L6e],delete i[o4n],delete i[s4n])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function qUt(n){return n.tag===5||n.tag===3||n.tag===4}function W5t(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||qUt(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Y6e(n,i,s){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(n,i):s.insertBefore(n,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(n,s)):(i=s,i.appendChild(n)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=voe));else if(c!==4&&(n=n.child,n!==null))for(Y6e(n,i,s),n=n.sibling;n!==null;)Y6e(n,i,s),n=n.sibling}function J6e(n,i,s){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?s.insertBefore(n,i):s.appendChild(n);else if(c!==4&&(n=n.child,n!==null))for(J6e(n,i,s),n=n.sibling;n!==null;)J6e(n,i,s),n=n.sibling}var Ph=null,kv=!1;function Nk(n,i,s){for(s=s.child;s!==null;)VUt(n,i,s),s=s.sibling}function VUt(n,i,s){if(P2&&typeof P2.onCommitFiberUnmount=="function")try{P2.onCommitFiberUnmount(Cse,s)}catch{}switch(s.tag){case 5:Fp||B5(s,i);case 6:var c=Ph,d=kv;Ph=null,Nk(n,i,s),Ph=c,kv=d,Ph!==null&&(kv?(n=Ph,s=s.stateNode,n.nodeType===8?n.parentNode.removeChild(s):n.removeChild(s)):Ph.removeChild(s.stateNode));break;case 18:Ph!==null&&(kv?(n=Ph,s=s.stateNode,n.nodeType===8?TCe(n.parentNode,s):n.nodeType===1&&TCe(n,s),RH(n)):TCe(Ph,s.stateNode));break;case 4:c=Ph,d=kv,Ph=s.stateNode.containerInfo,kv=!0,Nk(n,i,s),Ph=c,kv=d;break;case 0:case 11:case 14:case 15:if(!Fp&&(c=s.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){d=c=c.next;do{var g=d,b=g.destroy;g=g.tag,b!==void 0&&(g&2||g&4)&&W6e(s,i,b),d=d.next}while(d!==c)}Nk(n,i,s);break;case 1:if(!Fp&&(B5(s,i),c=s.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=s.memoizedProps,c.state=s.memoizedState,c.componentWillUnmount()}catch(w){jl(s,i,w)}Nk(n,i,s);break;case 21:Nk(n,i,s);break;case 22:s.mode&1?(Fp=(c=Fp)||s.memoizedState!==null,Nk(n,i,s),Fp=c):Nk(n,i,s);break;default:Nk(n,i,s)}}function K5t(n){var i=n.updateQueue;if(i!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new S4n),i.forEach(function(c){var d=O4n.bind(null,n,c);s.has(c)||(s.add(c),c.then(d,d))})}}function Av(n,i){var s=i.deletions;if(s!==null)for(var c=0;c<s.length;c++){var d=s[c];try{var g=n,b=i,w=b;e:for(;w!==null;){switch(w.tag){case 5:Ph=w.stateNode,kv=!1;break e;case 3:Ph=w.stateNode.containerInfo,kv=!0;break e;case 4:Ph=w.stateNode.containerInfo,kv=!0;break e}w=w.return}if(Ph===null)throw Error(ir(160));VUt(g,b,d),Ph=null,kv=!1;var E=d.alternate;E!==null&&(E.return=null),d.return=null}catch(S){jl(d,i,S)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)WUt(i,n),i=i.sibling}function WUt(n,i){var s=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Av(i,n),A2(n),c&4){try{hH(3,n,n.return),jse(3,n)}catch(D){jl(n,n.return,D)}try{hH(5,n,n.return)}catch(D){jl(n,n.return,D)}}break;case 1:Av(i,n),A2(n),c&512&&s!==null&&B5(s,s.return);break;case 5:if(Av(i,n),A2(n),c&512&&s!==null&&B5(s,s.return),n.flags&32){var d=n.stateNode;try{kH(d,"")}catch(D){jl(n,n.return,D)}}if(c&4&&(d=n.stateNode,d!=null)){var g=n.memoizedProps,b=s!==null?s.memoizedProps:g,w=n.type,E=n.updateQueue;if(n.updateQueue=null,E!==null)try{w==="input"&&g.type==="radio"&&g.name!=null&&gBt(d,g),v6e(w,b);var S=v6e(w,g);for(b=0;b<E.length;b+=2){var x=E[b],A=E[b+1];x==="style"?vBt(d,A):x==="dangerouslySetInnerHTML"?wBt(d,A):x==="children"?kH(d,A):DLe(d,x,A,S)}switch(w){case"input":g6e(d,g);break;case"textarea":bBt(d,g);break;case"select":var C=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!g.multiple;var R=g.value;R!=null?Y5(d,!!g.multiple,R,!1):C!==!!g.multiple&&(g.defaultValue!=null?Y5(d,!!g.multiple,g.defaultValue,!0):Y5(d,!!g.multiple,g.multiple?[]:"",!1))}d[PH]=g}catch(D){jl(n,n.return,D)}}break;case 6:if(Av(i,n),A2(n),c&4){if(n.stateNode===null)throw Error(ir(162));d=n.stateNode,g=n.memoizedProps;try{d.nodeValue=g}catch(D){jl(n,n.return,D)}}break;case 3:if(Av(i,n),A2(n),c&4&&s!==null&&s.memoizedState.isDehydrated)try{RH(i.containerInfo)}catch(D){jl(n,n.return,D)}break;case 4:Av(i,n),A2(n);break;case 13:Av(i,n),A2(n),d=n.child,d.flags&8192&&(g=d.memoizedState!==null,d.stateNode.isHidden=g,!g||d.alternate!==null&&d.alternate.memoizedState!==null||(f5e=pd())),c&4&&K5t(n);break;case 22:if(x=s!==null&&s.memoizedState!==null,n.mode&1?(Fp=(S=Fp)||x,Av(i,n),Fp=S):Av(i,n),A2(n),c&8192){if(S=n.memoizedState!==null,(n.stateNode.isHidden=S)&&!x&&n.mode&1)for(Vr=n,x=n.child;x!==null;){for(A=Vr=x;Vr!==null;){switch(C=Vr,R=C.child,C.tag){case 0:case 11:case 14:case 15:hH(4,C,C.return);break;case 1:B5(C,C.return);var L=C.stateNode;if(typeof L.componentWillUnmount=="function"){c=C,s=C.return;try{i=c,L.props=i.memoizedProps,L.state=i.memoizedState,L.componentWillUnmount()}catch(D){jl(c,s,D)}}break;case 5:B5(C,C.return);break;case 22:if(C.memoizedState!==null){J5t(A);continue}}R!==null?(R.return=C,Vr=R):J5t(A)}x=x.sibling}e:for(x=null,A=n;;){if(A.tag===5){if(x===null){x=A;try{d=A.stateNode,S?(g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(w=A.stateNode,E=A.memoizedProps.style,b=E!=null&&E.hasOwnProperty("display")?E.display:null,w.style.display=yBt("display",b))}catch(D){jl(n,n.return,D)}}}else if(A.tag===6){if(x===null)try{A.stateNode.nodeValue=S?"":A.memoizedProps}catch(D){jl(n,n.return,D)}}else if((A.tag!==22&&A.tag!==23||A.memoizedState===null||A===n)&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===n)break e;for(;A.sibling===null;){if(A.return===null||A.return===n)break e;x===A&&(x=null),A=A.return}x===A&&(x=null),A.sibling.return=A.return,A=A.sibling}}break;case 19:Av(i,n),A2(n),c&4&&K5t(n);break;case 21:break;default:Av(i,n),A2(n)}}function A2(n){var i=n.flags;if(i&2){try{e:{for(var s=n.return;s!==null;){if(qUt(s)){var c=s;break e}s=s.return}throw Error(ir(160))}switch(c.tag){case 5:var d=c.stateNode;c.flags&32&&(kH(d,""),c.flags&=-33);var g=W5t(n);J6e(n,g,d);break;case 3:case 4:var b=c.stateNode.containerInfo,w=W5t(n);Y6e(n,w,b);break;default:throw Error(ir(161))}}catch(E){jl(n,n.return,E)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function A4n(n,i,s){Vr=n,KUt(n)}function KUt(n,i,s){for(var c=(n.mode&1)!==0;Vr!==null;){var d=Vr,g=d.child;if(d.tag===22&&c){var b=d.memoizedState!==null||aie;if(!b){var w=d.alternate,E=w!==null&&w.memoizedState!==null||Fp;w=aie;var S=Fp;if(aie=b,(Fp=E)&&!S)for(Vr=d;Vr!==null;)b=Vr,E=b.child,b.tag===22&&b.memoizedState!==null?X5t(d):E!==null?(E.return=b,Vr=E):X5t(d);for(;g!==null;)Vr=g,KUt(g),g=g.sibling;Vr=d,aie=w,Fp=S}Y5t(n)}else d.subtreeFlags&8772&&g!==null?(g.return=d,Vr=g):Y5t(n)}}function Y5t(n){for(;Vr!==null;){var i=Vr;if(i.flags&8772){var s=i.alternate;try{if(i.flags&8772)switch(i.tag){case 0:case 11:case 15:Fp||jse(5,i);break;case 1:var c=i.stateNode;if(i.flags&4&&!Fp)if(s===null)c.componentDidMount();else{var d=i.elementType===i.type?s.memoizedProps:xv(i.type,s.memoizedProps);c.componentDidUpdate(d,s.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&D5t(i,g,c);break;case 3:var b=i.updateQueue;if(b!==null){if(s=null,i.child!==null)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}D5t(i,b,s)}break;case 5:var w=i.stateNode;if(s===null&&i.flags&4){s=w;var E=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&s.focus();break;case"img":E.src&&(s.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var S=i.alternate;if(S!==null){var x=S.memoizedState;if(x!==null){var A=x.dehydrated;A!==null&&RH(A)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ir(163))}Fp||i.flags&512&&K6e(i)}catch(C){jl(i,i.return,C)}}if(i===n){Vr=null;break}if(s=i.sibling,s!==null){s.return=i.return,Vr=s;break}Vr=i.return}}function J5t(n){for(;Vr!==null;){var i=Vr;if(i===n){Vr=null;break}var s=i.sibling;if(s!==null){s.return=i.return,Vr=s;break}Vr=i.return}}function X5t(n){for(;Vr!==null;){var i=Vr;try{switch(i.tag){case 0:case 11:case 15:var s=i.return;try{jse(4,i)}catch(E){jl(i,s,E)}break;case 1:var c=i.stateNode;if(typeof c.componentDidMount=="function"){var d=i.return;try{c.componentDidMount()}catch(E){jl(i,d,E)}}var g=i.return;try{K6e(i)}catch(E){jl(i,g,E)}break;case 5:var b=i.return;try{K6e(i)}catch(E){jl(i,b,E)}}}catch(E){jl(i,i.return,E)}if(i===n){Vr=null;break}var w=i.sibling;if(w!==null){w.return=i.return,Vr=w;break}Vr=i.return}}var _4n=Math.ceil,Roe=AA.ReactCurrentDispatcher,l5e=AA.ReactCurrentOwner,vw=AA.ReactCurrentBatchConfig,ga=0,rh=null,Fd=null,Fh=0,Lm=0,U5=wN(0),Sf=0,HH=null,uR=0,Fse=0,d5e=0,pH=null,rb=null,f5e=0,mM=1/0,iA=null,Ooe=!1,X6e=null,Xk=null,uie=!1,Gk=null,Doe=0,gH=0,Z6e=null,Wie=-1,Kie=0;function Hg(){return ga&6?pd():Wie!==-1?Wie:Wie=pd()}function Zk(n){return n.mode&1?ga&2&&Fh!==0?Fh&-Fh:u4n.transition!==null?(Kie===0&&(Kie=OBt()),Kie):(n=cu,n!==0||(n=window.event,n=n===void 0?16:$Bt(n.type)),n):1}function Lv(n,i,s,c){if(50<gH)throw gH=0,Z6e=null,Error(ir(185));bz(n,s,c),(!(ga&2)||n!==rh)&&(n===rh&&(!(ga&2)&&(Fse|=s),Sf===4&&$k(n,Fh)),db(n,c),s===1&&ga===0&&!(i.mode&1)&&(mM=pd()+500,Lse&&yN()))}function db(n,i){var s=n.callbackNode;uIn(n,i);var c=boe(n,n===rh?Fh:0);if(c===0)s!==null&&s5t(s),n.callbackNode=null,n.callbackPriority=0;else if(i=c&-c,n.callbackPriority!==i){if(s!=null&&s5t(s),i===1)n.tag===0?a4n(Z5t.bind(null,n)):iUt(Z5t.bind(null,n)),r4n(function(){!(ga&6)&&yN()}),s=null;else{switch(DBt(c)){case 1:s=FLe;break;case 4:s=IBt;break;case 16:s=goe;break;case 536870912:s=RBt;break;default:s=goe}s=nHt(s,YUt.bind(null,n))}n.callbackPriority=i,n.callbackNode=s}}function YUt(n,i){if(Wie=-1,Kie=0,ga&6)throw Error(ir(327));var s=n.callbackNode;if(eM()&&n.callbackNode!==s)return null;var c=boe(n,n===rh?Fh:0);if(c===0)return null;if(c&30||c&n.expiredLanes||i)i=Loe(n,c);else{i=c;var d=ga;ga|=2;var g=XUt();(rh!==n||Fh!==i)&&(iA=null,mM=pd()+500,Q4(n,i));do try{N4n();break}catch(w){JUt(n,w)}while(!0);XLe(),Roe.current=g,ga=d,Fd!==null?i=0:(rh=null,Fh=0,i=Sf)}if(i!==0){if(i===2&&(d=_6e(n),d!==0&&(c=d,i=Q6e(n,d))),i===1)throw s=HH,Q4(n,0),$k(n,c),db(n,pd()),s;if(i===6)$k(n,c);else{if(d=n.current.alternate,!(c&30)&&!x4n(d)&&(i=Loe(n,c),i===2&&(g=_6e(n),g!==0&&(c=g,i=Q6e(n,g))),i===1))throw s=HH,Q4(n,0),$k(n,c),db(n,pd()),s;switch(n.finishedWork=d,n.finishedLanes=c,i){case 0:case 1:throw Error(ir(345));case 2:V4(n,rb,iA);break;case 3:if($k(n,c),(c&130023424)===c&&(i=f5e+500-pd(),10<i)){if(boe(n,0)!==0)break;if(d=n.suspendedLanes,(d&c)!==c){Hg(),n.pingedLanes|=n.suspendedLanes&d;break}n.timeoutHandle=D6e(V4.bind(null,n,rb,iA),i);break}V4(n,rb,iA);break;case 4:if($k(n,c),(c&4194240)===c)break;for(i=n.eventTimes,d=-1;0<c;){var b=31-Dv(c);g=1<<b,b=i[b],b>d&&(d=b),c&=~g}if(c=d,c=pd()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*_4n(c/1960))-c,10<c){n.timeoutHandle=D6e(V4.bind(null,n,rb,iA),c);break}V4(n,rb,iA);break;case 5:V4(n,rb,iA);break;default:throw Error(ir(329))}}}return db(n,pd()),n.callbackNode===s?YUt.bind(null,n):null}function Q6e(n,i){var s=pH;return n.current.memoizedState.isDehydrated&&(Q4(n,i).flags|=256),n=Loe(n,i),n!==2&&(i=rb,rb=s,i!==null&&eDe(i)),n}function eDe(n){rb===null?rb=n:rb.push.apply(rb,n)}function x4n(n){for(var i=n;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var c=0;c<s.length;c++){var d=s[c],g=d.getSnapshot;d=d.value;try{if(!Pv(g(),d))return!1}catch{return!1}}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function $k(n,i){for(i&=~d5e,i&=~Fse,n.suspendedLanes|=i,n.pingedLanes&=~i,n=n.expirationTimes;0<i;){var s=31-Dv(i),c=1<<s;n[s]=-1,i&=~c}}function Z5t(n){if(ga&6)throw Error(ir(327));eM();var i=boe(n,0);if(!(i&1))return db(n,pd()),null;var s=Loe(n,i);if(n.tag!==0&&s===2){var c=_6e(n);c!==0&&(i=c,s=Q6e(n,c))}if(s===1)throw s=HH,Q4(n,0),$k(n,i),db(n,pd()),s;if(s===6)throw Error(ir(345));return n.finishedWork=n.current.alternate,n.finishedLanes=i,V4(n,rb,iA),db(n,pd()),null}function h5e(n,i){var s=ga;ga|=1;try{return n(i)}finally{ga=s,ga===0&&(mM=pd()+500,Lse&&yN())}}function cR(n){Gk!==null&&Gk.tag===0&&!(ga&6)&&eM();var i=ga;ga|=1;var s=vw.transition,c=cu;try{if(vw.transition=null,cu=1,n)return n()}finally{cu=c,vw.transition=s,ga=i,!(ga&6)&&yN()}}function p5e(){Lm=U5.current,dc(U5)}function Q4(n,i){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,n4n(s)),Fd!==null)for(s=Fd.return;s!==null;){var c=s;switch(KLe(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&Eoe();break;case 3:gM(),dc(cb),dc(Up),r5e();break;case 5:n5e(c);break;case 4:gM();break;case 13:dc(cl);break;case 19:dc(cl);break;case 10:ZLe(c.type._context);break;case 22:case 23:p5e()}s=s.return}if(rh=n,Fd=n=Qk(n.current,null),Fh=Lm=i,Sf=0,HH=null,d5e=Fse=uR=0,rb=pH=null,J4!==null){for(i=0;i<J4.length;i++)if(s=J4[i],c=s.interleaved,c!==null){s.interleaved=null;var d=c.next,g=s.pending;if(g!==null){var b=g.next;g.next=d,c.next=b}s.pending=c}J4=null}return n}function JUt(n,i){do{var s=Fd;try{if(XLe(),Gie.current=Ioe,Coe){for(var c=dl.memoizedState;c!==null;){var d=c.queue;d!==null&&(d.pending=null),c=c.next}Coe=!1}if(aR=0,th=wf=dl=null,fH=!1,$H=0,l5e.current=null,s===null||s.return===null){Sf=1,HH=i,Fd=null;break}e:{var g=n,b=s.return,w=s,E=i;if(i=Fh,w.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var S=E,x=w,A=x.tag;if(!(x.mode&1)&&(A===0||A===11||A===15)){var C=x.alternate;C?(x.updateQueue=C.updateQueue,x.memoizedState=C.memoizedState,x.lanes=C.lanes):(x.updateQueue=null,x.memoizedState=null)}var R=$5t(b);if(R!==null){R.flags&=-257,B5t(R,b,w,g,i),R.mode&1&&F5t(g,S,i),i=R,E=S;var L=i.updateQueue;if(L===null){var D=new Set;D.add(E),i.updateQueue=D}else L.add(E);break e}else{if(!(i&1)){F5t(g,S,i),g5e();break e}E=Error(ir(426))}}else if(Dc&&w.mode&1){var B=$5t(b);if(B!==null){!(B.flags&65536)&&(B.flags|=256),B5t(B,b,w,g,i),YLe(bM(E,w));break e}}g=E=bM(E,w),Sf!==4&&(Sf=2),pH===null?pH=[g]:pH.push(g),g=b;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var $=DUt(g,E,i);O5t(g,$);break e;case 1:w=E;var j=g.type,P=g.stateNode;if(!(g.flags&128)&&(typeof j.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Xk===null||!Xk.has(P)))){g.flags|=65536,i&=-i,g.lanes|=i;var G=LUt(g,w,i);O5t(g,G);break e}}g=g.return}while(g!==null)}QUt(s)}catch(ee){i=ee,Fd===s&&s!==null&&(Fd=s=s.return);continue}break}while(!0)}function XUt(){var n=Roe.current;return Roe.current=Ioe,n===null?Ioe:n}function g5e(){(Sf===0||Sf===3||Sf===2)&&(Sf=4),rh===null||!(uR&268435455)&&!(Fse&268435455)||$k(rh,Fh)}function Loe(n,i){var s=ga;ga|=2;var c=XUt();(rh!==n||Fh!==i)&&(iA=null,Q4(n,i));do try{k4n();break}catch(d){JUt(n,d)}while(!0);if(XLe(),ga=s,Roe.current=c,Fd!==null)throw Error(ir(261));return rh=null,Fh=0,Sf}function k4n(){for(;Fd!==null;)ZUt(Fd)}function N4n(){for(;Fd!==null&&!QCn();)ZUt(Fd)}function ZUt(n){var i=tHt(n.alternate,n,Lm);n.memoizedProps=n.pendingProps,i===null?QUt(n):Fd=i,l5e.current=null}function QUt(n){var i=n;do{var s=i.alternate;if(n=i.return,i.flags&32768){if(s=E4n(s,i),s!==null){s.flags&=32767,Fd=s;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{Sf=6,Fd=null;return}}else if(s=v4n(s,i,Lm),s!==null){Fd=s;return}if(i=i.sibling,i!==null){Fd=i;return}Fd=i=n}while(i!==null);Sf===0&&(Sf=5)}function V4(n,i,s){var c=cu,d=vw.transition;try{vw.transition=null,cu=1,C4n(n,i,s,c)}finally{vw.transition=d,cu=c}return null}function C4n(n,i,s,c){do eM();while(Gk!==null);if(ga&6)throw Error(ir(327));s=n.finishedWork;var d=n.finishedLanes;if(s===null)return null;if(n.finishedWork=null,n.finishedLanes=0,s===n.current)throw Error(ir(177));n.callbackNode=null,n.callbackPriority=0;var g=s.lanes|s.childLanes;if(cIn(n,g),n===rh&&(Fd=rh=null,Fh=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||uie||(uie=!0,nHt(goe,function(){return eM(),null})),g=(s.flags&15990)!==0,s.subtreeFlags&15990||g){g=vw.transition,vw.transition=null;var b=cu;cu=1;var w=ga;ga|=4,l5e.current=null,T4n(n,s),WUt(s,n),YIn(R6e),moe=!!I6e,R6e=I6e=null,n.current=s,A4n(s),eIn(),ga=w,cu=b,vw.transition=g}else n.current=s;if(uie&&(uie=!1,Gk=n,Doe=d),g=n.pendingLanes,g===0&&(Xk=null),rIn(s.stateNode),db(n,pd()),i!==null)for(c=n.onRecoverableError,s=0;s<i.length;s++)d=i[s],c(d.value,{componentStack:d.stack,digest:d.digest});if(Ooe)throw Ooe=!1,n=X6e,X6e=null,n;return Doe&1&&n.tag!==0&&eM(),g=n.pendingLanes,g&1?n===Z6e?gH++:(gH=0,Z6e=n):gH=0,yN(),null}function eM(){if(Gk!==null){var n=DBt(Doe),i=vw.transition,s=cu;try{if(vw.transition=null,cu=16>n?16:n,Gk===null)var c=!1;else{if(n=Gk,Gk=null,Doe=0,ga&6)throw Error(ir(331));var d=ga;for(ga|=4,Vr=n.current;Vr!==null;){var g=Vr,b=g.child;if(Vr.flags&16){var w=g.deletions;if(w!==null){for(var E=0;E<w.length;E++){var S=w[E];for(Vr=S;Vr!==null;){var x=Vr;switch(x.tag){case 0:case 11:case 15:hH(8,x,g)}var A=x.child;if(A!==null)A.return=x,Vr=A;else for(;Vr!==null;){x=Vr;var C=x.sibling,R=x.return;if(GUt(x),x===S){Vr=null;break}if(C!==null){C.return=R,Vr=C;break}Vr=R}}}var L=g.alternate;if(L!==null){var D=L.child;if(D!==null){L.child=null;do{var B=D.sibling;D.sibling=null,D=B}while(D!==null)}}Vr=g}}if(g.subtreeFlags&2064&&b!==null)b.return=g,Vr=b;else e:for(;Vr!==null;){if(g=Vr,g.flags&2048)switch(g.tag){case 0:case 11:case 15:hH(9,g,g.return)}var $=g.sibling;if($!==null){$.return=g.return,Vr=$;break e}Vr=g.return}}var j=n.current;for(Vr=j;Vr!==null;){b=Vr;var P=b.child;if(b.subtreeFlags&2064&&P!==null)P.return=b,Vr=P;else e:for(b=j;Vr!==null;){if(w=Vr,w.flags&2048)try{switch(w.tag){case 0:case 11:case 15:jse(9,w)}}catch(ee){jl(w,w.return,ee)}if(w===b){Vr=null;break e}var G=w.sibling;if(G!==null){G.return=w.return,Vr=G;break e}Vr=w.return}}if(ga=d,yN(),P2&&typeof P2.onPostCommitFiberRoot=="function")try{P2.onPostCommitFiberRoot(Cse,n)}catch{}c=!0}return c}finally{cu=s,vw.transition=i}}return!1}function Q5t(n,i,s){i=bM(s,i),i=DUt(n,i,1),n=Jk(n,i,1),i=Hg(),n!==null&&(bz(n,1,i),db(n,i))}function jl(n,i,s){if(n.tag===3)Q5t(n,n,s);else for(;i!==null;){if(i.tag===3){Q5t(i,n,s);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Xk===null||!Xk.has(c))){n=bM(s,n),n=LUt(i,n,1),i=Jk(i,n,1),n=Hg(),i!==null&&(bz(i,1,n),db(i,n));break}}i=i.return}}function I4n(n,i,s){var c=n.pingCache;c!==null&&c.delete(i),i=Hg(),n.pingedLanes|=n.suspendedLanes&s,rh===n&&(Fh&s)===s&&(Sf===4||Sf===3&&(Fh&130023424)===Fh&&500>pd()-f5e?Q4(n,0):d5e|=s),db(n,i)}function eHt(n,i){i===0&&(n.mode&1?(i=Zre,Zre<<=1,!(Zre&130023424)&&(Zre=4194304)):i=1);var s=Hg();n=mA(n,i),n!==null&&(bz(n,i,s),db(n,s))}function R4n(n){var i=n.memoizedState,s=0;i!==null&&(s=i.retryLane),eHt(n,s)}function O4n(n,i){var s=0;switch(n.tag){case 13:var c=n.stateNode,d=n.memoizedState;d!==null&&(s=d.retryLane);break;case 19:c=n.stateNode;break;default:throw Error(ir(314))}c!==null&&c.delete(i),eHt(n,s)}var tHt;tHt=function(n,i,s){if(n!==null)if(n.memoizedProps!==i.pendingProps||cb.current)sb=!0;else{if(!(n.lanes&s)&&!(i.flags&128))return sb=!1,y4n(n,i,s);sb=!!(n.flags&131072)}else sb=!1,Dc&&i.flags&1048576&&oUt(i,Aoe,i.index);switch(i.lanes=0,i.tag){case 2:var c=i.type;Vie(n,i),n=i.pendingProps;var d=fM(i,Up.current);Q5(i,s),d=o5e(null,i,c,n,d,s);var g=s5e();return i.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,lb(c)?(g=!0,Soe(i)):g=!1,i.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,e5e(i),d.updater=Pse,i.stateNode=d,d._reactInternals=i,B6e(i,c,n,s),i=z6e(null,i,c,!0,g,s)):(i.tag=0,Dc&&g&&WLe(i),Bg(null,i,d,s),i=i.child),i;case 16:c=i.elementType;e:{switch(Vie(n,i),n=i.pendingProps,d=c._init,c=d(c._payload),i.type=c,d=i.tag=L4n(c),n=xv(c,n),d){case 0:i=H6e(null,i,c,n,s);break e;case 1:i=z5t(null,i,c,n,s);break e;case 11:i=U5t(null,i,c,n,s);break e;case 14:i=H5t(null,i,c,xv(c.type,n),s);break e}throw Error(ir(306,c,""))}return i;case 0:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:xv(c,d),H6e(n,i,c,d,s);case 1:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:xv(c,d),z5t(n,i,c,d,s);case 3:e:{if(FUt(i),n===null)throw Error(ir(387));c=i.pendingProps,g=i.memoizedState,d=g.element,dUt(n,i),koe(i,c,null,s);var b=i.memoizedState;if(c=b.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){d=bM(Error(ir(423)),i),i=G5t(n,i,c,s,d);break e}else if(c!==d){d=bM(Error(ir(424)),i),i=G5t(n,i,c,s,d);break e}else for(Fm=Yk(i.stateNode.containerInfo.firstChild),Bm=i,Dc=!0,Cv=null,s=cUt(i,null,c,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(hM(),c===d){i=wA(n,i,s);break e}Bg(n,i,c,s)}i=i.child}return i;case 5:return fUt(i),n===null&&j6e(i),c=i.type,d=i.pendingProps,g=n!==null?n.memoizedProps:null,b=d.children,O6e(c,d)?b=null:g!==null&&O6e(c,g)&&(i.flags|=32),jUt(n,i),Bg(n,i,b,s),i.child;case 6:return n===null&&j6e(i),null;case 13:return $Ut(n,i,s);case 4:return t5e(i,i.stateNode.containerInfo),c=i.pendingProps,n===null?i.child=pM(i,null,c,s):Bg(n,i,c,s),i.child;case 11:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:xv(c,d),U5t(n,i,c,d,s);case 7:return Bg(n,i,i.pendingProps,s),i.child;case 8:return Bg(n,i,i.pendingProps.children,s),i.child;case 12:return Bg(n,i,i.pendingProps.children,s),i.child;case 10:e:{if(c=i.type._context,d=i.pendingProps,g=i.memoizedProps,b=d.value,Wu(_oe,c._currentValue),c._currentValue=b,g!==null)if(Pv(g.value,b)){if(g.children===d.children&&!cb.current){i=wA(n,i,s);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var w=g.dependencies;if(w!==null){b=g.child;for(var E=w.firstContext;E!==null;){if(E.context===c){if(g.tag===1){E=hA(-1,s&-s),E.tag=2;var S=g.updateQueue;if(S!==null){S=S.shared;var x=S.pending;x===null?E.next=E:(E.next=x.next,x.next=E),S.pending=E}}g.lanes|=s,E=g.alternate,E!==null&&(E.lanes|=s),F6e(g.return,s,i),w.lanes|=s;break}E=E.next}}else if(g.tag===10)b=g.type===i.type?null:g.child;else if(g.tag===18){if(b=g.return,b===null)throw Error(ir(341));b.lanes|=s,w=b.alternate,w!==null&&(w.lanes|=s),F6e(b,s,i),b=g.sibling}else b=g.child;if(b!==null)b.return=g;else for(b=g;b!==null;){if(b===i){b=null;break}if(g=b.sibling,g!==null){g.return=b.return,b=g;break}b=b.return}g=b}Bg(n,i,d.children,s),i=i.child}return i;case 9:return d=i.type,c=i.pendingProps.children,Q5(i,s),d=Tw(d),c=c(d),i.flags|=1,Bg(n,i,c,s),i.child;case 14:return c=i.type,d=xv(c,i.pendingProps),d=xv(c.type,d),H5t(n,i,c,d,s);case 15:return MUt(n,i,i.type,i.pendingProps,s);case 17:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:xv(c,d),Vie(n,i),i.tag=1,lb(c)?(n=!0,Soe(i)):n=!1,Q5(i,s),OUt(i,c,d),B6e(i,c,d,s),z6e(null,i,c,!0,n,s);case 19:return BUt(n,i,s);case 22:return PUt(n,i,s)}throw Error(ir(156,i.tag))};function nHt(n,i){return CBt(n,i)}function D4n(n,i,s,c){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yw(n,i,s,c){return new D4n(n,i,s,c)}function b5e(n){return n=n.prototype,!(!n||!n.isReactComponent)}function L4n(n){if(typeof n=="function")return b5e(n)?1:0;if(n!=null){if(n=n.$$typeof,n===MLe)return 11;if(n===PLe)return 14}return 2}function Qk(n,i){var s=n.alternate;return s===null?(s=yw(n.tag,i,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=i,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&14680064,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,i=n.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s}function Yie(n,i,s,c,d,g){var b=2;if(c=n,typeof n=="function")b5e(n)&&(b=1);else if(typeof n=="string")b=5;else e:switch(n){case R5:return eR(s.children,d,g,i);case LLe:b=8,d|=8;break;case l6e:return n=yw(12,s,i,d|2),n.elementType=l6e,n.lanes=g,n;case d6e:return n=yw(13,s,i,d),n.elementType=d6e,n.lanes=g,n;case f6e:return n=yw(19,s,i,d),n.elementType=f6e,n.lanes=g,n;case fBt:return $se(s,d,g,i);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case lBt:b=10;break e;case dBt:b=9;break e;case MLe:b=11;break e;case PLe:b=14;break e;case Pk:b=16,c=null;break e}throw Error(ir(130,n==null?n:typeof n,""))}return i=yw(b,s,i,d),i.elementType=n,i.type=c,i.lanes=g,i}function eR(n,i,s,c){return n=yw(7,n,c,i),n.lanes=s,n}function $se(n,i,s,c){return n=yw(22,n,c,i),n.elementType=fBt,n.lanes=s,n.stateNode={isHidden:!1},n}function RCe(n,i,s){return n=yw(6,n,null,i),n.lanes=s,n}function OCe(n,i,s){return i=yw(4,n.children!==null?n.children:[],n.key,i),i.lanes=s,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}function M4n(n,i,s,c,d){this.tag=i,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fCe(0),this.expirationTimes=fCe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fCe(0),this.identifierPrefix=c,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function m5e(n,i,s,c,d,g,b,w,E){return n=new M4n(n,i,s,w,E),i===1?(i=1,g===!0&&(i|=8)):i=0,g=yw(3,null,null,i),n.current=g,g.stateNode=n,g.memoizedState={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},e5e(g),n}function P4n(n,i,s){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I5,key:c==null?null:""+c,children:n,containerInfo:i,implementation:s}}function rHt(n){if(!n)return rN;n=n._reactInternals;e:{if(_R(n)!==n||n.tag!==1)throw Error(ir(170));var i=n;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(lb(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(ir(171))}if(n.tag===1){var s=n.type;if(lb(s))return rUt(n,s,i)}return i}function iHt(n,i,s,c,d,g,b,w,E){return n=m5e(s,c,!0,n,d,g,b,w,E),n.context=rHt(null),s=n.current,c=Hg(),d=Zk(s),g=hA(c,d),g.callback=i??null,Jk(s,g,d),n.current.lanes=d,bz(n,d,c),db(n,c),n}function Bse(n,i,s,c){var d=i.current,g=Hg(),b=Zk(d);return s=rHt(s),i.context===null?i.context=s:i.pendingContext=s,i=hA(g,b),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=Jk(d,i,b),n!==null&&(Lv(n,d,b,g),zie(n,d,b)),b}function Moe(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function eMt(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<i?s:i}}function w5e(n,i){eMt(n,i),(n=n.alternate)&&eMt(n,i)}function j4n(){return null}var oHt=typeof reportError=="function"?reportError:function(n){console.error(n)};function y5e(n){this._internalRoot=n}Use.prototype.render=y5e.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(ir(409));Bse(n,i,null,null)};Use.prototype.unmount=y5e.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;cR(function(){Bse(null,n,null,null)}),i[bA]=null}};function Use(n){this._internalRoot=n}Use.prototype.unstable_scheduleHydration=function(n){if(n){var i=PBt();n={blockedOn:null,target:n,priority:i};for(var s=0;s<Fk.length&&i!==0&&i<Fk[s].priority;s++);Fk.splice(s,0,n),s===0&&FBt(n)}};function v5e(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Hse(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function tMt(){}function F4n(n,i,s,c,d){if(d){if(typeof c=="function"){var g=c;c=function(){var S=Moe(b);g.call(S)}}var b=iHt(i,c,n,0,null,!1,!1,"",tMt);return n._reactRootContainer=b,n[bA]=b.current,LH(n.nodeType===8?n.parentNode:n),cR(),b}for(;d=n.lastChild;)n.removeChild(d);if(typeof c=="function"){var w=c;c=function(){var S=Moe(E);w.call(S)}}var E=m5e(n,0,!1,null,null,!1,!1,"",tMt);return n._reactRootContainer=E,n[bA]=E.current,LH(n.nodeType===8?n.parentNode:n),cR(function(){Bse(i,E,s,c)}),E}function zse(n,i,s,c,d){var g=s._reactRootContainer;if(g){var b=g;if(typeof d=="function"){var w=d;d=function(){var E=Moe(b);w.call(E)}}Bse(i,b,n,d)}else b=F4n(s,i,n,d,c);return Moe(b)}LBt=function(n){switch(n.tag){case 3:var i=n.stateNode;if(i.current.memoizedState.isDehydrated){var s=KU(i.pendingLanes);s!==0&&($Le(i,s|1),db(i,pd()),!(ga&6)&&(mM=pd()+500,yN()))}break;case 13:cR(function(){var c=mA(n,1);if(c!==null){var d=Hg();Lv(c,n,1,d)}}),w5e(n,1)}};BLe=function(n){if(n.tag===13){var i=mA(n,134217728);if(i!==null){var s=Hg();Lv(i,n,134217728,s)}w5e(n,134217728)}};MBt=function(n){if(n.tag===13){var i=Zk(n),s=mA(n,i);if(s!==null){var c=Hg();Lv(s,n,i,c)}w5e(n,i)}};PBt=function(){return cu};jBt=function(n,i){var s=cu;try{return cu=n,i()}finally{cu=s}};S6e=function(n,i,s){switch(i){case"input":if(g6e(n,s),i=s.name,s.type==="radio"&&i!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<s.length;i++){var c=s[i];if(c!==n&&c.form===n.form){var d=Dse(c);if(!d)throw Error(ir(90));pBt(c),g6e(c,d)}}}break;case"textarea":bBt(n,s);break;case"select":i=s.value,i!=null&&Y5(n,!!s.multiple,i,!1)}};TBt=h5e;ABt=cR;var $4n={usingClientEntryPoint:!1,Events:[wz,M5,Dse,EBt,SBt,h5e]},PU={findFiberByHostInstance:Y4,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},B4n={bundleType:PU.bundleType,version:PU.version,rendererPackageName:PU.rendererPackageName,rendererConfig:PU.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:AA.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=kBt(n),n===null?null:n.stateNode},findFiberByHostInstance:PU.findFiberByHostInstance||j4n,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cie=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cie.isDisabled&&cie.supportsFiber)try{Cse=cie.inject(B4n),P2=cie}catch{}}Gm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$4n;Gm.createPortal=function(n,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v5e(i))throw Error(ir(200));return P4n(n,i,null,s)};Gm.createRoot=function(n,i){if(!v5e(n))throw Error(ir(299));var s=!1,c="",d=oHt;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onRecoverableError!==void 0&&(d=i.onRecoverableError)),i=m5e(n,1,!1,null,null,s,!1,c,d),n[bA]=i.current,LH(n.nodeType===8?n.parentNode:n),new y5e(i)};Gm.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(ir(188)):(n=Object.keys(n).join(","),Error(ir(268,n)));return n=kBt(i),n=n===null?null:n.stateNode,n};Gm.flushSync=function(n){return cR(n)};Gm.hydrate=function(n,i,s){if(!Hse(i))throw Error(ir(200));return zse(null,n,i,!0,s)};Gm.hydrateRoot=function(n,i,s){if(!v5e(n))throw Error(ir(405));var c=s!=null&&s.hydratedSources||null,d=!1,g="",b=oHt;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onRecoverableError!==void 0&&(b=s.onRecoverableError)),i=iHt(i,null,n,1,s??null,d,!1,g,b),n[bA]=i.current,LH(n),c)for(n=0;n<c.length;n++)s=c[n],d=s._getVersion,d=d(s._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,d]:i.mutableSourceEagerHydrationData.push(s,d);return new Use(i)};Gm.render=function(n,i,s){if(!Hse(i))throw Error(ir(200));return zse(null,n,i,!1,s)};Gm.unmountComponentAtNode=function(n){if(!Hse(n))throw Error(ir(40));return n._reactRootContainer?(cR(function(){zse(null,null,n,!1,function(){n._reactRootContainer=null,n[bA]=null})}),!0):!1};Gm.unstable_batchedUpdates=h5e;Gm.unstable_renderSubtreeIntoContainer=function(n,i,s,c){if(!Hse(s))throw Error(ir(200));if(n==null||n._reactInternals===void 0)throw Error(ir(38));return zse(n,i,s,!1,c)};Gm.version="18.3.1-next-f1338f8080-20240426";function sHt(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sHt)}catch(n){console.error(n)}}sHt(),sBt.exports=Gm;var xR=sBt.exports;const aHt=TR(xR);var nMt=xR;doe.createRoot=nMt.createRoot,doe.hydrateRoot=nMt.hydrateRoot;const vo=n=>typeof n=="string",jU=()=>{let n,i;const s=new Promise((c,d)=>{n=c,i=d});return s.resolve=n,s.reject=i,s},rMt=n=>n==null?"":""+n,U4n=(n,i,s)=>{n.forEach(c=>{i[c]&&(s[c]=i[c])})},H4n=/###/g,iMt=n=>n&&n.indexOf("###")>-1?n.replace(H4n,"."):n,oMt=n=>!n||vo(n),bH=(n,i,s)=>{const c=vo(i)?i.split("."):i;let d=0;for(;d<c.length-1;){if(oMt(n))return{};const g=iMt(c[d]);!n[g]&&s&&(n[g]=new s),Object.prototype.hasOwnProperty.call(n,g)?n=n[g]:n={},++d}return oMt(n)?{}:{obj:n,k:iMt(c[d])}},sMt=(n,i,s)=>{const{obj:c,k:d}=bH(n,i,Object);if(c!==void 0||i.length===1){c[d]=s;return}let g=i[i.length-1],b=i.slice(0,i.length-1),w=bH(n,b,Object);for(;w.obj===void 0&&b.length;)g=`${b[b.length-1]}.${g}`,b=b.slice(0,b.length-1),w=bH(n,b,Object),w!=null&&w.obj&&typeof w.obj[`${w.k}.${g}`]<"u"&&(w.obj=void 0);w.obj[`${w.k}.${g}`]=s},z4n=(n,i,s,c)=>{const{obj:d,k:g}=bH(n,i,Object);d[g]=d[g]||[],d[g].push(s)},Poe=(n,i)=>{const{obj:s,k:c}=bH(n,i);if(s&&Object.prototype.hasOwnProperty.call(s,c))return s[c]},G4n=(n,i,s)=>{const c=Poe(n,s);return c!==void 0?c:Poe(i,s)},uHt=(n,i,s)=>{for(const c in i)c!=="__proto__"&&c!=="constructor"&&(c in n?vo(n[c])||n[c]instanceof String||vo(i[c])||i[c]instanceof String?s&&(n[c]=i[c]):uHt(n[c],i[c],s):n[c]=i[c]);return n},b5=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var q4n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const V4n=n=>vo(n)?n.replace(/[&<>"'\/]/g,i=>q4n[i]):n;class W4n{constructor(i){this.capacity=i,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(i){const s=this.regExpMap.get(i);if(s!==void 0)return s;const c=new RegExp(i);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(i,c),this.regExpQueue.push(i),c}}const K4n=[" ",",","?","!",";"],Y4n=new W4n(20),J4n=(n,i,s)=>{i=i||"",s=s||"";const c=K4n.filter(b=>i.indexOf(b)<0&&s.indexOf(b)<0);if(c.length===0)return!0;const d=Y4n.getRegExp(`(${c.map(b=>b==="?"?"\\?":b).join("|")})`);let g=!d.test(n);if(!g){const b=n.indexOf(s);b>0&&!d.test(n.substring(0,b))&&(g=!0)}return g},tDe=(n,i,s=".")=>{if(!n)return;if(n[i])return Object.prototype.hasOwnProperty.call(n,i)?n[i]:void 0;const c=i.split(s);let d=n;for(let g=0;g<c.length;){if(!d||typeof d!="object")return;let b,w="";for(let E=g;E<c.length;++E)if(E!==g&&(w+=s),w+=c[E],b=d[w],b!==void 0){if(["string","number","boolean"].indexOf(typeof b)>-1&&E<c.length-1)continue;g+=E-g+1;break}d=b}return d},zH=n=>n==null?void 0:n.replace("_","-"),X4n={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,i){var s,c;(c=(s=console==null?void 0:console[n])==null?void 0:s.apply)==null||c.call(s,console,i)}};let Z4n=class nDe{constructor(i,s={}){this.init(i,s)}init(i,s={}){this.prefix=s.prefix||"i18next:",this.logger=i||X4n,this.options=s,this.debug=s.debug}log(...i){return this.forward(i,"log","",!0)}warn(...i){return this.forward(i,"warn","",!0)}error(...i){return this.forward(i,"error","")}deprecate(...i){return this.forward(i,"warn","WARNING DEPRECATED: ",!0)}forward(i,s,c,d){return d&&!this.debug?null:(vo(i[0])&&(i[0]=`${c}${this.prefix} ${i[0]}`),this.logger[s](i))}create(i){return new nDe(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new nDe(this.logger,i)}};var D2=new Z4n;class Gse{constructor(){this.observers={}}on(i,s){return i.split(" ").forEach(c=>{this.observers[c]||(this.observers[c]=new Map);const d=this.observers[c].get(s)||0;this.observers[c].set(s,d+1)}),this}off(i,s){if(this.observers[i]){if(!s){delete this.observers[i];return}this.observers[i].delete(s)}}emit(i,...s){this.observers[i]&&Array.from(this.observers[i].entries()).forEach(([d,g])=>{for(let b=0;b<g;b++)d(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([d,g])=>{for(let b=0;b<g;b++)d.apply(d,[i,...s])})}}class aMt extends Gse{constructor(i,s={ns:["translation"],defaultNS:"translation"}){super(),this.data=i||{},this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}removeNamespaces(i){const s=this.options.ns.indexOf(i);s>-1&&this.options.ns.splice(s,1)}getResource(i,s,c,d={}){var S,x;const g=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator,b=d.ignoreJSONStructure!==void 0?d.ignoreJSONStructure:this.options.ignoreJSONStructure;let w;i.indexOf(".")>-1?w=i.split("."):(w=[i,s],c&&(Array.isArray(c)?w.push(...c):vo(c)&&g?w.push(...c.split(g)):w.push(c)));const E=Poe(this.data,w);return!E&&!s&&!c&&i.indexOf(".")>-1&&(i=w[0],s=w[1],c=w.slice(2).join(".")),E||!b||!vo(c)?E:tDe((x=(S=this.data)==null?void 0:S[i])==null?void 0:x[s],c,g)}addResource(i,s,c,d,g={silent:!1}){const b=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let w=[i,s];c&&(w=w.concat(b?c.split(b):c)),i.indexOf(".")>-1&&(w=i.split("."),d=s,s=w[1]),this.addNamespaces(s),sMt(this.data,w,d),g.silent||this.emit("added",i,s,c,d)}addResources(i,s,c,d={silent:!1}){for(const g in c)(vo(c[g])||Array.isArray(c[g]))&&this.addResource(i,s,g,c[g],{silent:!0});d.silent||this.emit("added",i,s,c)}addResourceBundle(i,s,c,d,g,b={silent:!1,skipCopy:!1}){let w=[i,s];i.indexOf(".")>-1&&(w=i.split("."),d=c,c=s,s=w[1]),this.addNamespaces(s);let E=Poe(this.data,w)||{};b.skipCopy||(c=JSON.parse(JSON.stringify(c))),d?uHt(E,c,g):E={...E,...c},sMt(this.data,w,E),b.silent||this.emit("added",i,s,c)}removeResourceBundle(i,s){this.hasResourceBundle(i,s)&&delete this.data[i][s],this.removeNamespaces(s),this.emit("removed",i,s)}hasResourceBundle(i,s){return this.getResource(i,s)!==void 0}getResourceBundle(i,s){return s||(s=this.options.defaultNS),this.getResource(i,s)}getDataByLanguage(i){return this.data[i]}hasLanguageSomeTranslations(i){const s=this.getDataByLanguage(i);return!!(s&&Object.keys(s)||[]).find(d=>s[d]&&Object.keys(s[d]).length>0)}toJSON(){return this.data}}var cHt={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,i,s,c,d){return n.forEach(g=>{var b;i=((b=this.processors[g])==null?void 0:b.process(i,s,c,d))??i}),i}};const lHt=Symbol("i18next/PATH_KEY");function Q4n(){const n=[],i=Object.create(null);let s;return i.get=(c,d)=>{var g;return(g=s==null?void 0:s.revoke)==null||g.call(s),d===lHt?n:(n.push(d),s=Proxy.revocable(c,i),s.proxy)},Proxy.revocable(Object.create(null),i).proxy}function rDe(n,i){const{[lHt]:s}=n(Q4n());return s.join((i==null?void 0:i.keySeparator)??".")}const uMt={},DCe=n=>!vo(n)&&typeof n!="boolean"&&typeof n!="number";class joe extends Gse{constructor(i,s={}){super(),U4n(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=D2.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i,s={interpolation:{}}){const c={...s};if(i==null)return!1;const d=this.resolve(i,c);if((d==null?void 0:d.res)===void 0)return!1;const g=DCe(d.res);return!(c.returnObjects===!1&&g)}extractFromKey(i,s){let c=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;c===void 0&&(c=":");const d=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let g=s.ns||this.options.defaultNS||[];const b=c&&i.indexOf(c)>-1,w=!this.options.userDefinedKeySeparator&&!s.keySeparator&&!this.options.userDefinedNsSeparator&&!s.nsSeparator&&!J4n(i,c,d);if(b&&!w){const E=i.match(this.interpolator.nestingRegexp);if(E&&E.length>0)return{key:i,namespaces:vo(g)?[g]:g};const S=i.split(c);(c!==d||c===d&&this.options.ns.indexOf(S[0])>-1)&&(g=S.shift()),i=S.join(d)}return{key:i,namespaces:vo(g)?[g]:g}}translate(i,s,c){let d=typeof s=="object"?{...s}:s;if(typeof d!="object"&&this.options.overloadTranslationOptionHandler&&(d=this.options.overloadTranslationOptionHandler(arguments)),typeof d=="object"&&(d={...d}),d||(d={}),i==null)return"";typeof i=="function"&&(i=rDe(i,{...this.options,...d})),Array.isArray(i)||(i=[String(i)]);const g=d.returnDetails!==void 0?d.returnDetails:this.options.returnDetails,b=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator,{key:w,namespaces:E}=this.extractFromKey(i[i.length-1],d),S=E[E.length-1];let x=d.nsSeparator!==void 0?d.nsSeparator:this.options.nsSeparator;x===void 0&&(x=":");const A=d.lng||this.language,C=d.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((A==null?void 0:A.toLowerCase())==="cimode")return C?g?{res:`${S}${x}${w}`,usedKey:w,exactUsedKey:w,usedLng:A,usedNS:S,usedParams:this.getUsedParamsDetails(d)}:`${S}${x}${w}`:g?{res:w,usedKey:w,exactUsedKey:w,usedLng:A,usedNS:S,usedParams:this.getUsedParamsDetails(d)}:w;const R=this.resolve(i,d);let L=R==null?void 0:R.res;const D=(R==null?void 0:R.usedKey)||w,B=(R==null?void 0:R.exactUsedKey)||w,$=["[object Number]","[object Function]","[object RegExp]"],j=d.joinArrays!==void 0?d.joinArrays:this.options.joinArrays,P=!this.i18nFormat||this.i18nFormat.handleAsObject,G=d.count!==void 0&&!vo(d.count),ee=joe.hasDefaultValue(d),re=G?this.pluralResolver.getSuffix(A,d.count,d):"",Q=d.ordinal&&G?this.pluralResolver.getSuffix(A,d.count,{ordinal:!1}):"",ie=G&&!d.ordinal&&d.count===0,pe=ie&&d[`defaultValue${this.options.pluralSeparator}zero`]||d[`defaultValue${re}`]||d[`defaultValue${Q}`]||d.defaultValue;let me=L;P&&!L&&ee&&(me=pe);const le=DCe(me),fe=Object.prototype.toString.apply(me);if(P&&me&&le&&$.indexOf(fe)<0&&!(vo(j)&&Array.isArray(me))){if(!d.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const K=this.options.returnedObjectHandler?this.options.returnedObjectHandler(D,me,{...d,ns:E}):`key '${w} (${this.language})' returned an object instead of string.`;return g?(R.res=K,R.usedParams=this.getUsedParamsDetails(d),R):K}if(b){const K=Array.isArray(me),he=K?[]:{},Oe=K?B:D;for(const Se in me)if(Object.prototype.hasOwnProperty.call(me,Se)){const Le=`${Oe}${b}${Se}`;ee&&!L?he[Se]=this.translate(Le,{...d,defaultValue:DCe(pe)?pe[Se]:void 0,joinArrays:!1,ns:E}):he[Se]=this.translate(Le,{...d,joinArrays:!1,ns:E}),he[Se]===Le&&(he[Se]=me[Se])}L=he}}else if(P&&vo(j)&&Array.isArray(L))L=L.join(j),L&&(L=this.extendTranslation(L,i,d,c));else{let K=!1,he=!1;!this.isValidLookup(L)&&ee&&(K=!0,L=pe),this.isValidLookup(L)||(he=!0,L=w);const Se=(d.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&he?void 0:L,Le=ee&&pe!==L&&this.options.updateMissing;if(he||K||Le){if(this.logger.log(Le?"updateKey":"missingKey",A,S,w,Le?pe:L),b){const dt=this.resolve(w,{...d,keySeparator:!1});dt&&dt.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Ae=[];const xe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,d.lng||this.language);if(this.options.saveMissingTo==="fallback"&&xe&&xe[0])for(let dt=0;dt<xe.length;dt++)Ae.push(xe[dt]);else this.options.saveMissingTo==="all"?Ae=this.languageUtils.toResolveHierarchy(d.lng||this.language):Ae.push(d.lng||this.language);const We=(dt,Ue,bt)=>{var ht;const kt=ee&&bt!==L?bt:Se;this.options.missingKeyHandler?this.options.missingKeyHandler(dt,S,Ue,kt,Le,d):(ht=this.backendConnector)!=null&&ht.saveMissing&&this.backendConnector.saveMissing(dt,S,Ue,kt,Le,d),this.emit("missingKey",dt,S,Ue,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&G?Ae.forEach(dt=>{const Ue=this.pluralResolver.getSuffixes(dt,d);ie&&d[`defaultValue${this.options.pluralSeparator}zero`]&&Ue.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ue.push(`${this.options.pluralSeparator}zero`),Ue.forEach(bt=>{We([dt],w+bt,d[`defaultValue${bt}`]||pe)})}):We(Ae,w,pe))}L=this.extendTranslation(L,i,d,R,c),he&&L===w&&this.options.appendNamespaceToMissingKey&&(L=`${S}${x}${w}`),(he||K)&&this.options.parseMissingKeyHandler&&(L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${S}${x}${w}`:w,K?L:void 0,d))}return g?(R.res=L,R.usedParams=this.getUsedParamsDetails(d),R):L}extendTranslation(i,s,c,d,g){var E,S;if((E=this.i18nFormat)!=null&&E.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...c},c.lng||this.language||d.usedLng,d.usedNS,d.usedKey,{resolved:d});else if(!c.skipInterpolation){c.interpolation&&this.interpolator.init({...c,interpolation:{...this.options.interpolation,...c.interpolation}});const x=vo(i)&&(((S=c==null?void 0:c.interpolation)==null?void 0:S.skipOnVariables)!==void 0?c.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let A;if(x){const R=i.match(this.interpolator.nestingRegexp);A=R&&R.length}let C=c.replace&&!vo(c.replace)?c.replace:c;if(this.options.interpolation.defaultVariables&&(C={...this.options.interpolation.defaultVariables,...C}),i=this.interpolator.interpolate(i,C,c.lng||this.language||d.usedLng,c),x){const R=i.match(this.interpolator.nestingRegexp),L=R&&R.length;A<L&&(c.nest=!1)}!c.lng&&d&&d.res&&(c.lng=this.language||d.usedLng),c.nest!==!1&&(i=this.interpolator.nest(i,(...R)=>(g==null?void 0:g[0])===R[0]&&!c.context?(this.logger.warn(`It seems you are nesting recursively key: ${R[0]} in key: ${s[0]}`),null):this.translate(...R,s),c)),c.interpolation&&this.interpolator.reset()}const b=c.postProcess||this.options.postProcess,w=vo(b)?[b]:b;return i!=null&&(w!=null&&w.length)&&c.applyPostProcessor!==!1&&(i=cHt.handle(w,i,s,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...d,usedParams:this.getUsedParamsDetails(c)},...c}:c,this)),i}resolve(i,s={}){let c,d,g,b,w;return vo(i)&&(i=[i]),i.forEach(E=>{if(this.isValidLookup(c))return;const S=this.extractFromKey(E,s),x=S.key;d=x;let A=S.namespaces;this.options.fallbackNS&&(A=A.concat(this.options.fallbackNS));const C=s.count!==void 0&&!vo(s.count),R=C&&!s.ordinal&&s.count===0,L=s.context!==void 0&&(vo(s.context)||typeof s.context=="number")&&s.context!=="",D=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);A.forEach(B=>{var $,j;this.isValidLookup(c)||(w=B,!uMt[`${D[0]}-${B}`]&&(($=this.utils)!=null&&$.hasLoadedNamespace)&&!((j=this.utils)!=null&&j.hasLoadedNamespace(w))&&(uMt[`${D[0]}-${B}`]=!0,this.logger.warn(`key "${d}" for languages "${D.join(", ")}" won't get resolved as namespace "${w}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),D.forEach(P=>{var re;if(this.isValidLookup(c))return;b=P;const G=[x];if((re=this.i18nFormat)!=null&&re.addLookupKeys)this.i18nFormat.addLookupKeys(G,x,P,B,s);else{let Q;C&&(Q=this.pluralResolver.getSuffix(P,s.count,s));const ie=`${this.options.pluralSeparator}zero`,pe=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(C&&(s.ordinal&&Q.indexOf(pe)===0&&G.push(x+Q.replace(pe,this.options.pluralSeparator)),G.push(x+Q),R&&G.push(x+ie)),L){const me=`${x}${this.options.contextSeparator||"_"}${s.context}`;G.push(me),C&&(s.ordinal&&Q.indexOf(pe)===0&&G.push(me+Q.replace(pe,this.options.pluralSeparator)),G.push(me+Q),R&&G.push(me+ie))}}let ee;for(;ee=G.pop();)this.isValidLookup(c)||(g=ee,c=this.getResource(P,B,ee,s))}))})}),{res:c,usedKey:d,exactUsedKey:g,usedLng:b,usedNS:w}}isValidLookup(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}getResource(i,s,c,d={}){var g;return(g=this.i18nFormat)!=null&&g.getResource?this.i18nFormat.getResource(i,s,c,d):this.resourceStore.getResource(i,s,c,d)}getUsedParamsDetails(i={}){const s=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],c=i.replace&&!vo(i.replace);let d=c?i.replace:i;if(c&&typeof i.count<"u"&&(d.count=i.count),this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),!c){d={...d};for(const g of s)delete d[g]}return d}static hasDefaultValue(i){const s="defaultValue";for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)&&s===c.substring(0,s.length)&&i[c]!==void 0)return!0;return!1}}class cMt{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=D2.create("languageUtils")}getScriptPartFromCode(i){if(i=zH(i),!i||i.indexOf("-")<0)return null;const s=i.split("-");return s.length===2||(s.pop(),s[s.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(s.join("-"))}getLanguagePartFromCode(i){if(i=zH(i),!i||i.indexOf("-")<0)return i;const s=i.split("-");return this.formatLanguageCode(s[0])}formatLanguageCode(i){if(vo(i)&&i.indexOf("-")>-1){let s;try{s=Intl.getCanonicalLocales(i)[0]}catch{}return s&&this.options.lowerCaseLng&&(s=s.toLowerCase()),s||(this.options.lowerCaseLng?i.toLowerCase():i)}return this.options.cleanCode||this.options.lowerCaseLng?i.toLowerCase():i}isSupportedCode(i){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(i=this.getLanguagePartFromCode(i)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(i)>-1}getBestMatchFromCodes(i){if(!i)return null;let s;return i.forEach(c=>{if(s)return;const d=this.formatLanguageCode(c);(!this.options.supportedLngs||this.isSupportedCode(d))&&(s=d)}),!s&&this.options.supportedLngs&&i.forEach(c=>{if(s)return;const d=this.getScriptPartFromCode(c);if(this.isSupportedCode(d))return s=d;const g=this.getLanguagePartFromCode(c);if(this.isSupportedCode(g))return s=g;s=this.options.supportedLngs.find(b=>{if(b===g)return b;if(!(b.indexOf("-")<0&&g.indexOf("-")<0)&&(b.indexOf("-")>0&&g.indexOf("-")<0&&b.substring(0,b.indexOf("-"))===g||b.indexOf(g)===0&&g.length>1))return b})}),s||(s=this.getFallbackCodes(this.options.fallbackLng)[0]),s}getFallbackCodes(i,s){if(!i)return[];if(typeof i=="function"&&(i=i(s)),vo(i)&&(i=[i]),Array.isArray(i))return i;if(!s)return i.default||[];let c=i[s];return c||(c=i[this.getScriptPartFromCode(s)]),c||(c=i[this.formatLanguageCode(s)]),c||(c=i[this.getLanguagePartFromCode(s)]),c||(c=i.default),c||[]}toResolveHierarchy(i,s){const c=this.getFallbackCodes((s===!1?[]:s)||this.options.fallbackLng||[],i),d=[],g=b=>{b&&(this.isSupportedCode(b)?d.push(b):this.logger.warn(`rejecting language code not found in supportedLngs: ${b}`))};return vo(i)&&(i.indexOf("-")>-1||i.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&g(this.formatLanguageCode(i)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&g(this.getScriptPartFromCode(i)),this.options.load!=="currentOnly"&&g(this.getLanguagePartFromCode(i))):vo(i)&&g(this.formatLanguageCode(i)),c.forEach(b=>{d.indexOf(b)<0&&g(this.formatLanguageCode(b))}),d}}const lMt={zero:0,one:1,two:2,few:3,many:4,other:5},dMt={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class eRn{constructor(i,s={}){this.languageUtils=i,this.options=s,this.logger=D2.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(i,s={}){const c=zH(i==="dev"?"en":i),d=s.ordinal?"ordinal":"cardinal",g=JSON.stringify({cleanedCode:c,type:d});if(g in this.pluralRulesCache)return this.pluralRulesCache[g];let b;try{b=new Intl.PluralRules(c,{type:d})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),dMt;if(!i.match(/-|_/))return dMt;const E=this.languageUtils.getLanguagePartFromCode(i);b=this.getRule(E,s)}return this.pluralRulesCache[g]=b,b}needsPlural(i,s={}){let c=this.getRule(i,s);return c||(c=this.getRule("dev",s)),(c==null?void 0:c.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(i,s,c={}){return this.getSuffixes(i,c).map(d=>`${s}${d}`)}getSuffixes(i,s={}){let c=this.getRule(i,s);return c||(c=this.getRule("dev",s)),c?c.resolvedOptions().pluralCategories.sort((d,g)=>lMt[d]-lMt[g]).map(d=>`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${d}`):[]}getSuffix(i,s,c={}){const d=this.getRule(i,c);return d?`${this.options.prepend}${c.ordinal?`ordinal${this.options.prepend}`:""}${d.select(s)}`:(this.logger.warn(`no plural rule found for: ${i}`),this.getSuffix("dev",s,c))}}const fMt=(n,i,s,c=".",d=!0)=>{let g=G4n(n,i,s);return!g&&d&&vo(s)&&(g=tDe(n,s,c),g===void 0&&(g=tDe(i,s,c))),g},LCe=n=>n.replace(/\$/g,"$$$$");class hMt{constructor(i={}){var s;this.logger=D2.create("interpolator"),this.options=i,this.format=((s=i==null?void 0:i.interpolation)==null?void 0:s.format)||(c=>c),this.init(i)}init(i={}){i.interpolation||(i.interpolation={escapeValue:!0});const{escape:s,escapeValue:c,useRawValueToEscape:d,prefix:g,prefixEscaped:b,suffix:w,suffixEscaped:E,formatSeparator:S,unescapeSuffix:x,unescapePrefix:A,nestingPrefix:C,nestingPrefixEscaped:R,nestingSuffix:L,nestingSuffixEscaped:D,nestingOptionsSeparator:B,maxReplaces:$,alwaysFormat:j}=i.interpolation;this.escape=s!==void 0?s:V4n,this.escapeValue=c!==void 0?c:!0,this.useRawValueToEscape=d!==void 0?d:!1,this.prefix=g?b5(g):b||"{{",this.suffix=w?b5(w):E||"}}",this.formatSeparator=S||",",this.unescapePrefix=x?"":A||"-",this.unescapeSuffix=this.unescapePrefix?"":x||"",this.nestingPrefix=C?b5(C):R||b5("$t("),this.nestingSuffix=L?b5(L):D||b5(")"),this.nestingOptionsSeparator=B||",",this.maxReplaces=$||1e3,this.alwaysFormat=j!==void 0?j:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const i=(s,c)=>(s==null?void 0:s.source)===c?(s.lastIndex=0,s):new RegExp(c,"g");this.regexp=i(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=i(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=i(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(i,s,c,d){var R;let g,b,w;const E=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},S=L=>{if(L.indexOf(this.formatSeparator)<0){const j=fMt(s,E,L,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(j,void 0,c,{...d,...s,interpolationkey:L}):j}const D=L.split(this.formatSeparator),B=D.shift().trim(),$=D.join(this.formatSeparator).trim();return this.format(fMt(s,E,B,this.options.keySeparator,this.options.ignoreJSONStructure),$,c,{...d,...s,interpolationkey:B})};this.resetRegExp();const x=(d==null?void 0:d.missingInterpolationHandler)||this.options.missingInterpolationHandler,A=((R=d==null?void 0:d.interpolation)==null?void 0:R.skipOnVariables)!==void 0?d.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:L=>LCe(L)},{regex:this.regexp,safeValue:L=>this.escapeValue?LCe(this.escape(L)):LCe(L)}].forEach(L=>{for(w=0;g=L.regex.exec(i);){const D=g[1].trim();if(b=S(D),b===void 0)if(typeof x=="function"){const $=x(i,g,d);b=vo($)?$:""}else if(d&&Object.prototype.hasOwnProperty.call(d,D))b="";else if(A){b=g[0];continue}else this.logger.warn(`missed to pass in variable ${D} for interpolating ${i}`),b="";else!vo(b)&&!this.useRawValueToEscape&&(b=rMt(b));const B=L.safeValue(b);if(i=i.replace(g[0],B),A?(L.regex.lastIndex+=b.length,L.regex.lastIndex-=g[0].length):L.regex.lastIndex=0,w++,w>=this.maxReplaces)break}}),i}nest(i,s,c={}){let d,g,b;const w=(E,S)=>{const x=this.nestingOptionsSeparator;if(E.indexOf(x)<0)return E;const A=E.split(new RegExp(`${x}[ ]*{`));let C=`{${A[1]}`;E=A[0],C=this.interpolate(C,b);const R=C.match(/'/g),L=C.match(/"/g);(((R==null?void 0:R.length)??0)%2===0&&!L||L.length%2!==0)&&(C=C.replace(/'/g,'"'));try{b=JSON.parse(C),S&&(b={...S,...b})}catch(D){return this.logger.warn(`failed parsing options string in nesting for key ${E}`,D),`${E}${x}${C}`}return b.defaultValue&&b.defaultValue.indexOf(this.prefix)>-1&&delete b.defaultValue,E};for(;d=this.nestingRegexp.exec(i);){let E=[];b={...c},b=b.replace&&!vo(b.replace)?b.replace:b,b.applyPostProcessor=!1,delete b.defaultValue;const S=/{.*}/.test(d[1])?d[1].lastIndexOf("}")+1:d[1].indexOf(this.formatSeparator);if(S!==-1&&(E=d[1].slice(S).split(this.formatSeparator).map(x=>x.trim()).filter(Boolean),d[1]=d[1].slice(0,S)),g=s(w.call(this,d[1].trim(),b),b),g&&d[0]===i&&!vo(g))return g;vo(g)||(g=rMt(g)),g||(this.logger.warn(`missed to resolve ${d[1]} for nesting ${i}`),g=""),E.length&&(g=E.reduce((x,A)=>this.format(x,A,c.lng,{...c,interpolationkey:d[1].trim()}),g.trim())),i=i.replace(d[0],g),this.regexp.lastIndex=0}return i}}const tRn=n=>{let i=n.toLowerCase().trim();const s={};if(n.indexOf("(")>-1){const c=n.split("(");i=c[0].toLowerCase().trim();const d=c[1].substring(0,c[1].length-1);i==="currency"&&d.indexOf(":")<0?s.currency||(s.currency=d.trim()):i==="relativetime"&&d.indexOf(":")<0?s.range||(s.range=d.trim()):d.split(";").forEach(b=>{if(b){const[w,...E]=b.split(":"),S=E.join(":").trim().replace(/^'+|'+$/g,""),x=w.trim();s[x]||(s[x]=S),S==="false"&&(s[x]=!1),S==="true"&&(s[x]=!0),isNaN(S)||(s[x]=parseInt(S,10))}})}return{formatName:i,formatOptions:s}},pMt=n=>{const i={};return(s,c,d)=>{let g=d;d&&d.interpolationkey&&d.formatParams&&d.formatParams[d.interpolationkey]&&d[d.interpolationkey]&&(g={...g,[d.interpolationkey]:void 0});const b=c+JSON.stringify(g);let w=i[b];return w||(w=n(zH(c),d),i[b]=w),w(s)}},nRn=n=>(i,s,c)=>n(zH(s),c)(i);class rRn{constructor(i={}){this.logger=D2.create("formatter"),this.options=i,this.init(i)}init(i,s={interpolation:{}}){this.formatSeparator=s.interpolation.formatSeparator||",";const c=s.cacheInBuiltFormats?pMt:nRn;this.formats={number:c((d,g)=>{const b=new Intl.NumberFormat(d,{...g});return w=>b.format(w)}),currency:c((d,g)=>{const b=new Intl.NumberFormat(d,{...g,style:"currency"});return w=>b.format(w)}),datetime:c((d,g)=>{const b=new Intl.DateTimeFormat(d,{...g});return w=>b.format(w)}),relativetime:c((d,g)=>{const b=new Intl.RelativeTimeFormat(d,{...g});return w=>b.format(w,g.range||"day")}),list:c((d,g)=>{const b=new Intl.ListFormat(d,{...g});return w=>b.format(w)})}}add(i,s){this.formats[i.toLowerCase().trim()]=s}addCached(i,s){this.formats[i.toLowerCase().trim()]=pMt(s)}format(i,s,c,d={}){const g=s.split(this.formatSeparator);if(g.length>1&&g[0].indexOf("(")>1&&g[0].indexOf(")")<0&&g.find(w=>w.indexOf(")")>-1)){const w=g.findIndex(E=>E.indexOf(")")>-1);g[0]=[g[0],...g.splice(1,w)].join(this.formatSeparator)}return g.reduce((w,E)=>{var A;const{formatName:S,formatOptions:x}=tRn(E);if(this.formats[S]){let C=w;try{const R=((A=d==null?void 0:d.formatParams)==null?void 0:A[d.interpolationkey])||{},L=R.locale||R.lng||d.locale||d.lng||c;C=this.formats[S](w,L,{...x,...d,...R})}catch(R){this.logger.warn(R)}return C}else this.logger.warn(`there was no format function for ${S}`);return w},i)}}const iRn=(n,i)=>{n.pending[i]!==void 0&&(delete n.pending[i],n.pendingCount--)};class oRn extends Gse{constructor(i,s,c,d={}){var g,b;super(),this.backend=i,this.store=s,this.services=c,this.languageUtils=c.languageUtils,this.options=d,this.logger=D2.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=d.maxParallelReads||10,this.readingCalls=0,this.maxRetries=d.maxRetries>=0?d.maxRetries:5,this.retryTimeout=d.retryTimeout>=1?d.retryTimeout:350,this.state={},this.queue=[],(b=(g=this.backend)==null?void 0:g.init)==null||b.call(g,c,d.backend,d)}queueLoad(i,s,c,d){const g={},b={},w={},E={};return i.forEach(S=>{let x=!0;s.forEach(A=>{const C=`${S}|${A}`;!c.reload&&this.store.hasResourceBundle(S,A)?this.state[C]=2:this.state[C]<0||(this.state[C]===1?b[C]===void 0&&(b[C]=!0):(this.state[C]=1,x=!1,b[C]===void 0&&(b[C]=!0),g[C]===void 0&&(g[C]=!0),E[A]===void 0&&(E[A]=!0)))}),x||(w[S]=!0)}),(Object.keys(g).length||Object.keys(b).length)&&this.queue.push({pending:b,pendingCount:Object.keys(b).length,loaded:{},errors:[],callback:d}),{toLoad:Object.keys(g),pending:Object.keys(b),toLoadLanguages:Object.keys(w),toLoadNamespaces:Object.keys(E)}}loaded(i,s,c){const d=i.split("|"),g=d[0],b=d[1];s&&this.emit("failedLoading",g,b,s),!s&&c&&this.store.addResourceBundle(g,b,c,void 0,void 0,{skipCopy:!0}),this.state[i]=s?-1:2,s&&c&&(this.state[i]=0);const w={};this.queue.forEach(E=>{z4n(E.loaded,[g],b),iRn(E,i),s&&E.errors.push(s),E.pendingCount===0&&!E.done&&(Object.keys(E.loaded).forEach(S=>{w[S]||(w[S]={});const x=E.loaded[S];x.length&&x.forEach(A=>{w[S][A]===void 0&&(w[S][A]=!0)})}),E.done=!0,E.errors.length?E.callback(E.errors):E.callback())}),this.emit("loaded",w),this.queue=this.queue.filter(E=>!E.done)}read(i,s,c,d=0,g=this.retryTimeout,b){if(!i.length)return b(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:s,fcName:c,tried:d,wait:g,callback:b});return}this.readingCalls++;const w=(S,x)=>{if(this.readingCalls--,this.waitingReads.length>0){const A=this.waitingReads.shift();this.read(A.lng,A.ns,A.fcName,A.tried,A.wait,A.callback)}if(S&&x&&d<this.maxRetries){setTimeout(()=>{this.read.call(this,i,s,c,d+1,g*2,b)},g);return}b(S,x)},E=this.backend[c].bind(this.backend);if(E.length===2){try{const S=E(i,s);S&&typeof S.then=="function"?S.then(x=>w(null,x)).catch(w):w(null,S)}catch(S){w(S)}return}return E(i,s,w)}prepareLoading(i,s,c={},d){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),d&&d();vo(i)&&(i=this.languageUtils.toResolveHierarchy(i)),vo(s)&&(s=[s]);const g=this.queueLoad(i,s,c,d);if(!g.toLoad.length)return g.pending.length||d(),null;g.toLoad.forEach(b=>{this.loadOne(b)})}load(i,s,c){this.prepareLoading(i,s,{},c)}reload(i,s,c){this.prepareLoading(i,s,{reload:!0},c)}loadOne(i,s=""){const c=i.split("|"),d=c[0],g=c[1];this.read(d,g,"read",void 0,void 0,(b,w)=>{b&&this.logger.warn(`${s}loading namespace ${g} for language ${d} failed`,b),!b&&w&&this.logger.log(`${s}loaded namespace ${g} for language ${d}`,w),this.loaded(i,b,w)})}saveMissing(i,s,c,d,g,b={},w=()=>{}){var E,S,x,A,C;if((S=(E=this.services)==null?void 0:E.utils)!=null&&S.hasLoadedNamespace&&!((A=(x=this.services)==null?void 0:x.utils)!=null&&A.hasLoadedNamespace(s))){this.logger.warn(`did not save key "${c}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(c==null||c==="")){if((C=this.backend)!=null&&C.create){const R={...b,isUpdate:g},L=this.backend.create.bind(this.backend);if(L.length<6)try{let D;L.length===5?D=L(i,s,c,d,R):D=L(i,s,c,d),D&&typeof D.then=="function"?D.then(B=>w(null,B)).catch(w):w(null,D)}catch(D){w(D)}else L(i,s,c,d,w,R)}!i||!i[0]||this.store.addResource(i[0],s,c,d)}}}const MCe=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let i={};if(typeof n[1]=="object"&&(i=n[1]),vo(n[1])&&(i.defaultValue=n[1]),vo(n[2])&&(i.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const s=n[3]||n[2];Object.keys(s).forEach(c=>{i[c]=s[c]})}return i},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),gMt=n=>{var i,s;return vo(n.ns)&&(n.ns=[n.ns]),vo(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),vo(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((s=(i=n.supportedLngs)==null?void 0:i.indexOf)==null?void 0:s.call(i,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},lie=()=>{},sRn=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(s=>{typeof n[s]=="function"&&(n[s]=n[s].bind(n))})};class mH extends Gse{constructor(i={},s){if(super(),this.options=gMt(i),this.services={},this.logger=D2,this.modules={external:[]},sRn(this),s&&!this.isInitialized&&!i.isClone){if(!this.options.initAsync)return this.init(i,s),this;setTimeout(()=>{this.init(i,s)},0)}}init(i={},s){this.isInitializing=!0,typeof i=="function"&&(s=i,i={}),i.defaultNS==null&&i.ns&&(vo(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const c=MCe();this.options={...c,...this.options,...gMt(i)},this.options.interpolation={...c.interpolation,...this.options.interpolation},i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=c.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const d=S=>S?typeof S=="function"?new S:S:null;if(!this.options.isClone){this.modules.logger?D2.init(d(this.modules.logger),this.options):D2.init(null,this.options);let S;this.modules.formatter?S=this.modules.formatter:S=rRn;const x=new cMt(this.options);this.store=new aMt(this.options.resources,this.options);const A=this.services;A.logger=D2,A.resourceStore=this.store,A.languageUtils=x,A.pluralResolver=new eRn(x,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==c.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),S&&(!this.options.interpolation.format||this.options.interpolation.format===c.interpolation.format)&&(A.formatter=d(S),A.formatter.init&&A.formatter.init(A,this.options),this.options.interpolation.format=A.formatter.format.bind(A.formatter)),A.interpolator=new hMt(this.options),A.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},A.backendConnector=new oRn(d(this.modules.backend),A.resourceStore,A,this.options),A.backendConnector.on("*",(R,...L)=>{this.emit(R,...L)}),this.modules.languageDetector&&(A.languageDetector=d(this.modules.languageDetector),A.languageDetector.init&&A.languageDetector.init(A,this.options.detection,this.options)),this.modules.i18nFormat&&(A.i18nFormat=d(this.modules.i18nFormat),A.i18nFormat.init&&A.i18nFormat.init(this)),this.translator=new joe(this.services,this.options),this.translator.on("*",(R,...L)=>{this.emit(R,...L)}),this.modules.external.forEach(R=>{R.init&&R.init(this)})}if(this.format=this.options.interpolation.format,s||(s=lie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const S=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);S.length>0&&S[0]!=="dev"&&(this.options.lng=S[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(S=>{this[S]=(...x)=>this.store[S](...x)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(S=>{this[S]=(...x)=>(this.store[S](...x),this)});const w=jU(),E=()=>{const S=(x,A)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(A),s(x,A)};if(this.languages&&!this.isInitialized)return S(null,this.t.bind(this));this.changeLanguage(this.options.lng,S)};return this.options.resources||!this.options.initAsync?E():setTimeout(E,0),w}loadResources(i,s=lie){var g,b;let c=s;const d=vo(i)?i:this.language;if(typeof i=="function"&&(c=i),!this.options.resources||this.options.partialBundledLanguages){if((d==null?void 0:d.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return c();const w=[],E=S=>{if(!S||S==="cimode")return;this.services.languageUtils.toResolveHierarchy(S).forEach(A=>{A!=="cimode"&&w.indexOf(A)<0&&w.push(A)})};d?E(d):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(x=>E(x)),(b=(g=this.options.preload)==null?void 0:g.forEach)==null||b.call(g,S=>E(S)),this.services.backendConnector.load(w,this.options.ns,S=>{!S&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),c(S)})}else c(null)}reloadResources(i,s,c){const d=jU();return typeof i=="function"&&(c=i,i=void 0),typeof s=="function"&&(c=s,s=void 0),i||(i=this.languages),s||(s=this.options.ns),c||(c=lie),this.services.backendConnector.reload(i,s,g=>{d.resolve(),c(g)}),d}use(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&cHt.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}setResolvedLanguage(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1)){for(let s=0;s<this.languages.length;s++){const c=this.languages[s];if(!(["cimode","dev"].indexOf(c)>-1)&&this.store.hasLanguageSomeTranslations(c)){this.resolvedLanguage=c;break}}!this.resolvedLanguage&&this.languages.indexOf(i)<0&&this.store.hasLanguageSomeTranslations(i)&&(this.resolvedLanguage=i,this.languages.unshift(i))}}changeLanguage(i,s){this.isLanguageChangingTo=i;const c=jU();this.emit("languageChanging",i);const d=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},g=(w,E)=>{E?this.isLanguageChangingTo===i&&(d(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,c.resolve((...S)=>this.t(...S)),s&&s(w,(...S)=>this.t(...S))},b=w=>{var x,A;!i&&!w&&this.services.languageDetector&&(w=[]);const E=vo(w)?w:w&&w[0],S=this.store.hasLanguageSomeTranslations(E)?E:this.services.languageUtils.getBestMatchFromCodes(vo(w)?[w]:w);S&&(this.language||d(S),this.translator.language||this.translator.changeLanguage(S),(A=(x=this.services.languageDetector)==null?void 0:x.cacheUserLanguage)==null||A.call(x,S)),this.loadResources(S,C=>{g(C,S)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?b(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(b):this.services.languageDetector.detect(b):b(i),c}getFixedT(i,s,c){const d=(g,b,...w)=>{let E;typeof b!="object"?E=this.options.overloadTranslationOptionHandler([g,b].concat(w)):E={...b},E.lng=E.lng||d.lng,E.lngs=E.lngs||d.lngs,E.ns=E.ns||d.ns,E.keyPrefix!==""&&(E.keyPrefix=E.keyPrefix||c||d.keyPrefix);const S=this.options.keySeparator||".";let x;return E.keyPrefix&&Array.isArray(g)?x=g.map(A=>(typeof A=="function"&&(A=rDe(A,{...this.options,...b})),`${E.keyPrefix}${S}${A}`)):(typeof g=="function"&&(g=rDe(g,{...this.options,...b})),x=E.keyPrefix?`${E.keyPrefix}${S}${g}`:g),this.t(x,E)};return vo(i)?d.lng=i:d.lngs=i,d.ns=s,d.keyPrefix=c,d}t(...i){var s;return(s=this.translator)==null?void 0:s.translate(...i)}exists(...i){var s;return(s=this.translator)==null?void 0:s.exists(...i)}setDefaultNamespace(i){this.options.defaultNS=i}hasLoadedNamespace(i,s={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const c=s.lng||this.resolvedLanguage||this.languages[0],d=this.options?this.options.fallbackLng:!1,g=this.languages[this.languages.length-1];if(c.toLowerCase()==="cimode")return!0;const b=(w,E)=>{const S=this.services.backendConnector.state[`${w}|${E}`];return S===-1||S===0||S===2};if(s.precheck){const w=s.precheck(this,b);if(w!==void 0)return w}return!!(this.hasResourceBundle(c,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||b(c,i)&&(!d||b(g,i)))}loadNamespaces(i,s){const c=jU();return this.options.ns?(vo(i)&&(i=[i]),i.forEach(d=>{this.options.ns.indexOf(d)<0&&this.options.ns.push(d)}),this.loadResources(d=>{c.resolve(),s&&s(d)}),c):(s&&s(),Promise.resolve())}loadLanguages(i,s){const c=jU();vo(i)&&(i=[i]);const d=this.options.preload||[],g=i.filter(b=>d.indexOf(b)<0&&this.services.languageUtils.isSupportedCode(b));return g.length?(this.options.preload=d.concat(g),this.loadResources(b=>{c.resolve(),s&&s(b)}),c):(s&&s(),Promise.resolve())}dir(i){var d,g;if(i||(i=this.resolvedLanguage||(((d=this.languages)==null?void 0:d.length)>0?this.languages[0]:this.language)),!i)return"rtl";try{const b=new Intl.Locale(i);if(b&&b.getTextInfo){const w=b.getTextInfo();if(w&&w.direction)return w.direction}}catch{}const s=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],c=((g=this.services)==null?void 0:g.languageUtils)||new cMt(MCe());return i.toLowerCase().indexOf("-latn")>1?"ltr":s.indexOf(c.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(i={},s){const c=new mH(i,s);return c.createInstance=mH.createInstance,c}cloneInstance(i={},s=lie){const c=i.forkResourceStore;c&&delete i.forkResourceStore;const d={...this.options,...i,isClone:!0},g=new mH(d);if((i.debug!==void 0||i.prefix!==void 0)&&(g.logger=g.logger.clone(i)),["store","services","language"].forEach(w=>{g[w]=this[w]}),g.services={...this.services},g.services.utils={hasLoadedNamespace:g.hasLoadedNamespace.bind(g)},c){const w=Object.keys(this.store.data).reduce((E,S)=>(E[S]={...this.store.data[S]},E[S]=Object.keys(E[S]).reduce((x,A)=>(x[A]={...E[S][A]},x),E[S]),E),{});g.store=new aMt(w,d),g.services.resourceStore=g.store}if(i.interpolation){const E={...MCe().interpolation,...this.options.interpolation,...i.interpolation},S={...d,interpolation:E};g.services.interpolator=new hMt(S)}return g.translator=new joe(g.services,d),g.translator.on("*",(w,...E)=>{g.emit(w,...E)}),g.init(d,s),g.translator.options=d,g.translator.backendConnector.services.utils={hasLoadedNamespace:g.hasLoadedNamespace.bind(g)},g}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Hh=mH.createInstance();Hh.createInstance;Hh.dir;Hh.init;Hh.loadResources;Hh.reloadResources;Hh.use;Hh.changeLanguage;Hh.getFixedT;const Jie=Hh.t;Hh.exists;Hh.setDefaultNamespace;Hh.hasLoadedNamespace;Hh.loadNamespaces;Hh.loadLanguages;const aRn=(n,i,s,c)=>{var g,b,w,E;const d=[s,{code:i,...c||{}}];if((b=(g=n==null?void 0:n.services)==null?void 0:g.logger)!=null&&b.forward)return n.services.logger.forward(d,"warn","react-i18next::",!0);lR(d[0])&&(d[0]=`react-i18next:: ${d[0]}`),(E=(w=n==null?void 0:n.services)==null?void 0:w.logger)!=null&&E.warn?n.services.logger.warn(...d):console!=null&&console.warn&&console.warn(...d)},bMt={},dHt=(n,i,s,c)=>{lR(s)&&bMt[s]||(lR(s)&&(bMt[s]=new Date),aRn(n,i,s,c))},fHt=(n,i)=>()=>{if(n.isInitialized)i();else{const s=()=>{setTimeout(()=>{n.off("initialized",s)},0),i()};n.on("initialized",s)}},iDe=(n,i,s)=>{n.loadNamespaces(i,fHt(n,s))},mMt=(n,i,s,c)=>{if(lR(s)&&(s=[s]),n.options.preload&&n.options.preload.indexOf(i)>-1)return iDe(n,s,c);s.forEach(d=>{n.options.ns.indexOf(d)<0&&n.options.ns.push(d)}),n.loadLanguages(i,fHt(n,c))},uRn=(n,i,s={})=>!i.languages||!i.languages.length?(dHt(i,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:i.languages}),!0):i.hasLoadedNamespace(n,{lng:s.lng,precheck:(c,d)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&c.services.backendConnector.backend&&c.isLanguageChangingTo&&!d(c.isLanguageChangingTo,n))return!1}}),lR=n=>typeof n=="string",cRn=n=>typeof n=="object"&&n!==null,lRn=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,dRn={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},fRn=n=>dRn[n],hRn=n=>n.replace(lRn,fRn);let oDe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:hRn,transDefaultProps:void 0};const pRn=(n={})=>{oDe={...oDe,...n}},gRn=()=>oDe;let hHt;const bRn=n=>{hHt=n},mRn=()=>hHt,wRn={type:"3rdParty",init(n){pRn(n.options.react),bRn(n)}},pHt=H.createContext();class yRn{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var gHt={exports:{}},bHt={};/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var wM=H;function vRn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var ERn=typeof Object.is=="function"?Object.is:vRn,SRn=wM.useState,TRn=wM.useEffect,ARn=wM.useLayoutEffect,_Rn=wM.useDebugValue;function xRn(n,i){var s=i(),c=SRn({inst:{value:s,getSnapshot:i}}),d=c[0].inst,g=c[1];return ARn(function(){d.value=s,d.getSnapshot=i,PCe(d)&&g({inst:d})},[n,s,i]),TRn(function(){return PCe(d)&&g({inst:d}),n(function(){PCe(d)&&g({inst:d})})},[n]),_Rn(s),s}function PCe(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!ERn(n,s)}catch{return!0}}function kRn(n,i){return i()}var NRn=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?kRn:xRn;bHt.useSyncExternalStore=wM.useSyncExternalStore!==void 0?wM.useSyncExternalStore:NRn;gHt.exports=bHt;var mHt=gHt.exports;const CRn=(n,i)=>lR(i)?i:cRn(i)&&lR(i.defaultValue)?i.defaultValue:Array.isArray(n)?n[n.length-1]:n,IRn={t:CRn,ready:!1},RRn=()=>()=>{},ps=(n,i={})=>{var pe,me,le;const{i18n:s}=i,{i18n:c,defaultNS:d}=H.useContext(pHt)||{},g=s||c||mRn();g&&!g.reportNamespaces&&(g.reportNamespaces=new yRn),g||dHt(g,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const b=H.useMemo(()=>{var fe;return{...gRn(),...(fe=g==null?void 0:g.options)==null?void 0:fe.react,...i}},[g,i]),{useSuspense:w,keyPrefix:E}=b,S=n||d||((pe=g==null?void 0:g.options)==null?void 0:pe.defaultNS),x=lR(S)?[S]:S||["translation"],A=H.useMemo(()=>x,x);(le=(me=g==null?void 0:g.reportNamespaces)==null?void 0:me.addUsedNamespaces)==null||le.call(me,A);const C=H.useRef(0),R=H.useCallback(fe=>{if(!g)return RRn;const{bindI18n:K,bindI18nStore:he}=b,Oe=()=>{C.current+=1,fe()};return K&&g.on(K,Oe),he&&g.store.on(he,Oe),()=>{K&&K.split(" ").forEach(Se=>g.off(Se,Oe)),he&&he.split(" ").forEach(Se=>g.store.off(Se,Oe))}},[g,b]),L=H.useRef(),D=H.useCallback(()=>{if(!g)return IRn;const fe=!!(g.isInitialized||g.initializedStoreOnce)&&A.every(Ae=>uRn(Ae,g,b)),K=i.lng||g.language,he=C.current,Oe=L.current;if(Oe&&Oe.ready===fe&&Oe.lng===K&&Oe.keyPrefix===E&&Oe.revision===he)return Oe;const Le={t:g.getFixedT(K,b.nsMode==="fallback"?A:A[0],E),ready:fe,lng:K,keyPrefix:E,revision:he};return L.current=Le,Le},[g,A,E,b,i.lng]),[B,$]=H.useState(0),{t:j,ready:P}=mHt.useSyncExternalStore(R,D,D);H.useEffect(()=>{if(g&&!P&&!w){const fe=()=>$(K=>K+1);i.lng?mMt(g,i.lng,A,fe):iDe(g,A,fe)}},[g,i.lng,A,P,w,B]);const G=g||{},ee=H.useRef(null),re=H.useRef(),Q=fe=>{const K=Object.getOwnPropertyDescriptors(fe);K.__original&&delete K.__original;const he=Object.create(Object.getPrototypeOf(fe),K);if(!Object.prototype.hasOwnProperty.call(he,"__original"))try{Object.defineProperty(he,"__original",{value:fe,writable:!1,enumerable:!1,configurable:!1})}catch{}return he},ie=H.useMemo(()=>{const fe=G,K=fe==null?void 0:fe.language;let he=fe;fe&&(ee.current&&ee.current.__original===fe?re.current!==K?(he=Q(fe),ee.current=he,re.current=K):he=ee.current:(he=Q(fe),ee.current=he,re.current=K));const Oe=[j,he,P];return Oe.t=j,Oe.i18n=he,Oe.ready=P,Oe},[j,G,P,G.resolvedLanguage,G.language,G.languages]);if(g&&w&&!P)throw new Promise(fe=>{const K=()=>fe();i.lng?mMt(g,i.lng,A,K):iDe(g,A,K)});return ie};function wMt({i18n:n,defaultNS:i,children:s}){const c=H.useMemo(()=>({i18n:n,defaultNS:i}),[n,i]);return H.createElement(pHt.Provider,{value:c},s)}function Bd(n){if(typeof n=="string"||typeof n=="number")return""+n;let i="";if(Array.isArray(n))for(let s=0,c;s<n.length;s++)(c=Bd(n[s]))!==""&&(i+=(i&&" ")+c);else for(let s in n)n[s]&&(i+=(i&&" ")+s);return i}var ORn={value:()=>{}};function qse(){for(var n=0,i=arguments.length,s={},c;n<i;++n){if(!(c=arguments[n]+"")||c in s||/[\s.]/.test(c))throw new Error("illegal type: "+c);s[c]=[]}return new Xie(s)}function Xie(n){this._=n}function DRn(n,i){return n.trim().split(/^|\s+/).map(function(s){var c="",d=s.indexOf(".");if(d>=0&&(c=s.slice(d+1),s=s.slice(0,d)),s&&!i.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:c}})}Xie.prototype=qse.prototype={constructor:Xie,on:function(n,i){var s=this._,c=DRn(n+"",s),d,g=-1,b=c.length;if(arguments.length<2){for(;++g<b;)if((d=(n=c[g]).type)&&(d=LRn(s[d],n.name)))return d;return}if(i!=null&&typeof i!="function")throw new Error("invalid callback: "+i);for(;++g<b;)if(d=(n=c[g]).type)s[d]=yMt(s[d],n.name,i);else if(i==null)for(d in s)s[d]=yMt(s[d],n.name,null);return this},copy:function(){var n={},i=this._;for(var s in i)n[s]=i[s].slice();return new Xie(n)},call:function(n,i){if((d=arguments.length-2)>0)for(var s=new Array(d),c=0,d,g;c<d;++c)s[c]=arguments[c+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(g=this._[n],c=0,d=g.length;c<d;++c)g[c].value.apply(i,s)},apply:function(n,i,s){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var c=this._[n],d=0,g=c.length;d<g;++d)c[d].value.apply(i,s)}};function LRn(n,i){for(var s=0,c=n.length,d;s<c;++s)if((d=n[s]).name===i)return d.value}function yMt(n,i,s){for(var c=0,d=n.length;c<d;++c)if(n[c].name===i){n[c]=ORn,n=n.slice(0,c).concat(n.slice(c+1));break}return s!=null&&n.push({name:i,value:s}),n}var sDe="http://www.w3.org/1999/xhtml";const vMt={svg:"http://www.w3.org/2000/svg",xhtml:sDe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Vse(n){var i=n+="",s=i.indexOf(":");return s>=0&&(i=n.slice(0,s))!=="xmlns"&&(n=n.slice(s+1)),vMt.hasOwnProperty(i)?{space:vMt[i],local:n}:n}function MRn(n){return function(){var i=this.ownerDocument,s=this.namespaceURI;return s===sDe&&i.documentElement.namespaceURI===sDe?i.createElement(n):i.createElementNS(s,n)}}function PRn(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function wHt(n){var i=Vse(n);return(i.local?PRn:MRn)(i)}function jRn(){}function E5e(n){return n==null?jRn:function(){return this.querySelector(n)}}function FRn(n){typeof n!="function"&&(n=E5e(n));for(var i=this._groups,s=i.length,c=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=c[d]=new Array(b),E,S,x=0;x<b;++x)(E=g[x])&&(S=n.call(E,E.__data__,x,g))&&("__data__"in E&&(S.__data__=E.__data__),w[x]=S);return new zm(c,this._parents)}function $Rn(n){return n==null?[]:Array.isArray(n)?n:Array.from(n)}function BRn(){return[]}function yHt(n){return n==null?BRn:function(){return this.querySelectorAll(n)}}function URn(n){return function(){return $Rn(n.apply(this,arguments))}}function HRn(n){typeof n=="function"?n=URn(n):n=yHt(n);for(var i=this._groups,s=i.length,c=[],d=[],g=0;g<s;++g)for(var b=i[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&(c.push(n.call(E,E.__data__,S,b)),d.push(E));return new zm(c,d)}function vHt(n){return function(){return this.matches(n)}}function EHt(n){return function(i){return i.matches(n)}}var zRn=Array.prototype.find;function GRn(n){return function(){return zRn.call(this.children,n)}}function qRn(){return this.firstElementChild}function VRn(n){return this.select(n==null?qRn:GRn(typeof n=="function"?n:EHt(n)))}var WRn=Array.prototype.filter;function KRn(){return Array.from(this.children)}function YRn(n){return function(){return WRn.call(this.children,n)}}function JRn(n){return this.selectAll(n==null?KRn:YRn(typeof n=="function"?n:EHt(n)))}function XRn(n){typeof n!="function"&&(n=vHt(n));for(var i=this._groups,s=i.length,c=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=c[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new zm(c,this._parents)}function SHt(n){return new Array(n.length)}function ZRn(){return new zm(this._enter||this._groups.map(SHt),this._parents)}function Foe(n,i){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=i}Foe.prototype={constructor:Foe,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,i){return this._parent.insertBefore(n,i)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};function QRn(n){return function(){return n}}function eOn(n,i,s,c,d,g){for(var b=0,w,E=i.length,S=g.length;b<S;++b)(w=i[b])?(w.__data__=g[b],c[b]=w):s[b]=new Foe(n,g[b]);for(;b<E;++b)(w=i[b])&&(d[b]=w)}function tOn(n,i,s,c,d,g,b){var w,E,S=new Map,x=i.length,A=g.length,C=new Array(x),R;for(w=0;w<x;++w)(E=i[w])&&(C[w]=R=b.call(E,E.__data__,w,i)+"",S.has(R)?d[w]=E:S.set(R,E));for(w=0;w<A;++w)R=b.call(n,g[w],w,g)+"",(E=S.get(R))?(c[w]=E,E.__data__=g[w],S.delete(R)):s[w]=new Foe(n,g[w]);for(w=0;w<x;++w)(E=i[w])&&S.get(C[w])===E&&(d[w]=E)}function nOn(n){return n.__data__}function rOn(n,i){if(!arguments.length)return Array.from(this,nOn);var s=i?tOn:eOn,c=this._parents,d=this._groups;typeof n!="function"&&(n=QRn(n));for(var g=d.length,b=new Array(g),w=new Array(g),E=new Array(g),S=0;S<g;++S){var x=c[S],A=d[S],C=A.length,R=iOn(n.call(x,x&&x.__data__,S,c)),L=R.length,D=w[S]=new Array(L),B=b[S]=new Array(L),$=E[S]=new Array(C);s(x,A,D,B,$,R,i);for(var j=0,P=0,G,ee;j<L;++j)if(G=D[j]){for(j>=P&&(P=j+1);!(ee=B[P])&&++P<L;);G._next=ee||null}}return b=new zm(b,c),b._enter=w,b._exit=E,b}function iOn(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}function oOn(){return new zm(this._exit||this._groups.map(SHt),this._parents)}function sOn(n,i,s){var c=this.enter(),d=this,g=this.exit();return typeof n=="function"?(c=n(c),c&&(c=c.selection())):c=c.append(n+""),i!=null&&(d=i(d),d&&(d=d.selection())),s==null?g.remove():s(g),c&&d?c.merge(d).order():d}function aOn(n){for(var i=n.selection?n.selection():n,s=this._groups,c=i._groups,d=s.length,g=c.length,b=Math.min(d,g),w=new Array(d),E=0;E<b;++E)for(var S=s[E],x=c[E],A=S.length,C=w[E]=new Array(A),R,L=0;L<A;++L)(R=S[L]||x[L])&&(C[L]=R);for(;E<d;++E)w[E]=s[E];return new zm(w,this._parents)}function uOn(){for(var n=this._groups,i=-1,s=n.length;++i<s;)for(var c=n[i],d=c.length-1,g=c[d],b;--d>=0;)(b=c[d])&&(g&&b.compareDocumentPosition(g)^4&&g.parentNode.insertBefore(b,g),g=b);return this}function cOn(n){n||(n=lOn);function i(A,C){return A&&C?n(A.__data__,C.__data__):!A-!C}for(var s=this._groups,c=s.length,d=new Array(c),g=0;g<c;++g){for(var b=s[g],w=b.length,E=d[g]=new Array(w),S,x=0;x<w;++x)(S=b[x])&&(E[x]=S);E.sort(i)}return new zm(d,this._parents).order()}function lOn(n,i){return n<i?-1:n>i?1:n>=i?0:NaN}function dOn(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function fOn(){return Array.from(this)}function hOn(){for(var n=this._groups,i=0,s=n.length;i<s;++i)for(var c=n[i],d=0,g=c.length;d<g;++d){var b=c[d];if(b)return b}return null}function pOn(){let n=0;for(const i of this)++n;return n}function gOn(){return!this.node()}function bOn(n){for(var i=this._groups,s=0,c=i.length;s<c;++s)for(var d=i[s],g=0,b=d.length,w;g<b;++g)(w=d[g])&&n.call(w,w.__data__,g,d);return this}function mOn(n){return function(){this.removeAttribute(n)}}function wOn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function yOn(n,i){return function(){this.setAttribute(n,i)}}function vOn(n,i){return function(){this.setAttributeNS(n.space,n.local,i)}}function EOn(n,i){return function(){var s=i.apply(this,arguments);s==null?this.removeAttribute(n):this.setAttribute(n,s)}}function SOn(n,i){return function(){var s=i.apply(this,arguments);s==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,s)}}function TOn(n,i){var s=Vse(n);if(arguments.length<2){var c=this.node();return s.local?c.getAttributeNS(s.space,s.local):c.getAttribute(s)}return this.each((i==null?s.local?wOn:mOn:typeof i=="function"?s.local?SOn:EOn:s.local?vOn:yOn)(s,i))}function THt(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function AOn(n){return function(){this.style.removeProperty(n)}}function _On(n,i,s){return function(){this.style.setProperty(n,i,s)}}function xOn(n,i,s){return function(){var c=i.apply(this,arguments);c==null?this.style.removeProperty(n):this.style.setProperty(n,c,s)}}function kOn(n,i,s){return arguments.length>1?this.each((i==null?AOn:typeof i=="function"?xOn:_On)(n,i,s??"")):yM(this.node(),n)}function yM(n,i){return n.style.getPropertyValue(i)||THt(n).getComputedStyle(n,null).getPropertyValue(i)}function NOn(n){return function(){delete this[n]}}function COn(n,i){return function(){this[n]=i}}function IOn(n,i){return function(){var s=i.apply(this,arguments);s==null?delete this[n]:this[n]=s}}function ROn(n,i){return arguments.length>1?this.each((i==null?NOn:typeof i=="function"?IOn:COn)(n,i)):this.node()[n]}function AHt(n){return n.trim().split(/^|\s+/)}function S5e(n){return n.classList||new _Ht(n)}function _Ht(n){this._node=n,this._names=AHt(n.getAttribute("class")||"")}_Ht.prototype={add:function(n){var i=this._names.indexOf(n);i<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var i=this._names.indexOf(n);i>=0&&(this._names.splice(i,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function xHt(n,i){for(var s=S5e(n),c=-1,d=i.length;++c<d;)s.add(i[c])}function kHt(n,i){for(var s=S5e(n),c=-1,d=i.length;++c<d;)s.remove(i[c])}function OOn(n){return function(){xHt(this,n)}}function DOn(n){return function(){kHt(this,n)}}function LOn(n,i){return function(){(i.apply(this,arguments)?xHt:kHt)(this,n)}}function MOn(n,i){var s=AHt(n+"");if(arguments.length<2){for(var c=S5e(this.node()),d=-1,g=s.length;++d<g;)if(!c.contains(s[d]))return!1;return!0}return this.each((typeof i=="function"?LOn:i?OOn:DOn)(s,i))}function POn(){this.textContent=""}function jOn(n){return function(){this.textContent=n}}function FOn(n){return function(){var i=n.apply(this,arguments);this.textContent=i??""}}function $On(n){return arguments.length?this.each(n==null?POn:(typeof n=="function"?FOn:jOn)(n)):this.node().textContent}function BOn(){this.innerHTML=""}function UOn(n){return function(){this.innerHTML=n}}function HOn(n){return function(){var i=n.apply(this,arguments);this.innerHTML=i??""}}function zOn(n){return arguments.length?this.each(n==null?BOn:(typeof n=="function"?HOn:UOn)(n)):this.node().innerHTML}function GOn(){this.nextSibling&&this.parentNode.appendChild(this)}function qOn(){return this.each(GOn)}function VOn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function WOn(){return this.each(VOn)}function KOn(n){var i=typeof n=="function"?n:wHt(n);return this.select(function(){return this.appendChild(i.apply(this,arguments))})}function YOn(){return null}function JOn(n,i){var s=typeof n=="function"?n:wHt(n),c=i==null?YOn:typeof i=="function"?i:E5e(i);return this.select(function(){return this.insertBefore(s.apply(this,arguments),c.apply(this,arguments)||null)})}function XOn(){var n=this.parentNode;n&&n.removeChild(this)}function ZOn(){return this.each(XOn)}function QOn(){var n=this.cloneNode(!1),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function e6n(){var n=this.cloneNode(!0),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function t6n(n){return this.select(n?e6n:QOn)}function n6n(n){return arguments.length?this.property("__data__",n):this.node().__data__}function r6n(n){return function(i){n.call(this,i,this.__data__)}}function i6n(n){return n.trim().split(/^|\s+/).map(function(i){var s="",c=i.indexOf(".");return c>=0&&(s=i.slice(c+1),i=i.slice(0,c)),{type:i,name:s}})}function o6n(n){return function(){var i=this.__on;if(i){for(var s=0,c=-1,d=i.length,g;s<d;++s)g=i[s],(!n.type||g.type===n.type)&&g.name===n.name?this.removeEventListener(g.type,g.listener,g.options):i[++c]=g;++c?i.length=c:delete this.__on}}}function s6n(n,i,s){return function(){var c=this.__on,d,g=r6n(i);if(c){for(var b=0,w=c.length;b<w;++b)if((d=c[b]).type===n.type&&d.name===n.name){this.removeEventListener(d.type,d.listener,d.options),this.addEventListener(d.type,d.listener=g,d.options=s),d.value=i;return}}this.addEventListener(n.type,g,s),d={type:n.type,name:n.name,value:i,listener:g,options:s},c?c.push(d):this.__on=[d]}}function a6n(n,i,s){var c=i6n(n+""),d,g=c.length,b;if(arguments.length<2){var w=this.node().__on;if(w){for(var E=0,S=w.length,x;E<S;++E)for(d=0,x=w[E];d<g;++d)if((b=c[d]).type===x.type&&b.name===x.name)return x.value}return}for(w=i?s6n:o6n,d=0;d<g;++d)this.each(w(c[d],i,s));return this}function NHt(n,i,s){var c=THt(n),d=c.CustomEvent;typeof d=="function"?d=new d(i,s):(d=c.document.createEvent("Event"),s?(d.initEvent(i,s.bubbles,s.cancelable),d.detail=s.detail):d.initEvent(i,!1,!1)),n.dispatchEvent(d)}function u6n(n,i){return function(){return NHt(this,n,i)}}function c6n(n,i){return function(){return NHt(this,n,i.apply(this,arguments))}}function l6n(n,i){return this.each((typeof i=="function"?c6n:u6n)(n,i))}function*d6n(){for(var n=this._groups,i=0,s=n.length;i<s;++i)for(var c=n[i],d=0,g=c.length,b;d<g;++d)(b=c[d])&&(yield b)}var CHt=[null];function zm(n,i){this._groups=n,this._parents=i}function vz(){return new zm([[document.documentElement]],CHt)}function f6n(){return this}zm.prototype=vz.prototype={constructor:zm,select:FRn,selectAll:HRn,selectChild:VRn,selectChildren:JRn,filter:XRn,data:rOn,enter:ZRn,exit:oOn,join:sOn,merge:aOn,selection:f6n,order:uOn,sort:cOn,call:dOn,nodes:fOn,node:hOn,size:pOn,empty:gOn,each:bOn,attr:TOn,style:kOn,property:ROn,classed:MOn,text:$On,html:zOn,raise:qOn,lower:WOn,append:KOn,insert:JOn,remove:ZOn,clone:t6n,datum:n6n,on:a6n,dispatch:l6n,[Symbol.iterator]:d6n};function jm(n){return typeof n=="string"?new zm([[document.querySelector(n)]],[document.documentElement]):new zm([[n]],CHt)}function h6n(n){let i;for(;i=n.sourceEvent;)n=i;return n}function Nv(n,i){if(n=h6n(n),i===void 0&&(i=n.currentTarget),i){var s=i.ownerSVGElement||i;if(s.createSVGPoint){var c=s.createSVGPoint();return c.x=n.clientX,c.y=n.clientY,c=c.matrixTransform(i.getScreenCTM().inverse()),[c.x,c.y]}if(i.getBoundingClientRect){var d=i.getBoundingClientRect();return[n.clientX-d.left-i.clientLeft,n.clientY-d.top-i.clientTop]}}return[n.pageX,n.pageY]}const p6n={passive:!1},GH={capture:!0,passive:!1};function jCe(n){n.stopImmediatePropagation()}function tM(n){n.preventDefault(),n.stopImmediatePropagation()}function IHt(n){var i=n.document.documentElement,s=jm(n).on("dragstart.drag",tM,GH);"onselectstart"in i?s.on("selectstart.drag",tM,GH):(i.__noselect=i.style.MozUserSelect,i.style.MozUserSelect="none")}function RHt(n,i){var s=n.document.documentElement,c=jm(n).on("dragstart.drag",null);i&&(c.on("click.drag",tM,GH),setTimeout(function(){c.on("click.drag",null)},0)),"onselectstart"in s?c.on("selectstart.drag",null):(s.style.MozUserSelect=s.__noselect,delete s.__noselect)}const die=n=>()=>n;function aDe(n,{sourceEvent:i,subject:s,target:c,identifier:d,active:g,x:b,y:w,dx:E,dy:S,dispatch:x}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:i,enumerable:!0,configurable:!0},subject:{value:s,enumerable:!0,configurable:!0},target:{value:c,enumerable:!0,configurable:!0},identifier:{value:d,enumerable:!0,configurable:!0},active:{value:g,enumerable:!0,configurable:!0},x:{value:b,enumerable:!0,configurable:!0},y:{value:w,enumerable:!0,configurable:!0},dx:{value:E,enumerable:!0,configurable:!0},dy:{value:S,enumerable:!0,configurable:!0},_:{value:x}})}aDe.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function g6n(n){return!n.ctrlKey&&!n.button}function b6n(){return this.parentNode}function m6n(n,i){return i??{x:n.x,y:n.y}}function w6n(){return navigator.maxTouchPoints||"ontouchstart"in this}function OHt(){var n=g6n,i=b6n,s=m6n,c=w6n,d={},g=qse("start","drag","end"),b=0,w,E,S,x,A=0;function C(G){G.on("mousedown.drag",R).filter(c).on("touchstart.drag",B).on("touchmove.drag",$,p6n).on("touchend.drag touchcancel.drag",j).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(G,ee){if(!(x||!n.call(this,G,ee))){var re=P(this,i.call(this,G,ee),G,ee,"mouse");re&&(jm(G.view).on("mousemove.drag",L,GH).on("mouseup.drag",D,GH),IHt(G.view),jCe(G),S=!1,w=G.clientX,E=G.clientY,re("start",G))}}function L(G){if(tM(G),!S){var ee=G.clientX-w,re=G.clientY-E;S=ee*ee+re*re>A}d.mouse("drag",G)}function D(G){jm(G.view).on("mousemove.drag mouseup.drag",null),RHt(G.view,S),tM(G),d.mouse("end",G)}function B(G,ee){if(n.call(this,G,ee)){var re=G.changedTouches,Q=i.call(this,G,ee),ie=re.length,pe,me;for(pe=0;pe<ie;++pe)(me=P(this,Q,G,ee,re[pe].identifier,re[pe]))&&(jCe(G),me("start",G,re[pe]))}}function $(G){var ee=G.changedTouches,re=ee.length,Q,ie;for(Q=0;Q<re;++Q)(ie=d[ee[Q].identifier])&&(tM(G),ie("drag",G,ee[Q]))}function j(G){var ee=G.changedTouches,re=ee.length,Q,ie;for(x&&clearTimeout(x),x=setTimeout(function(){x=null},500),Q=0;Q<re;++Q)(ie=d[ee[Q].identifier])&&(jCe(G),ie("end",G,ee[Q]))}function P(G,ee,re,Q,ie,pe){var me=g.copy(),le=Nv(pe||re,ee),fe,K,he;if((he=s.call(G,new aDe("beforestart",{sourceEvent:re,target:C,identifier:ie,active:b,x:le[0],y:le[1],dx:0,dy:0,dispatch:me}),Q))!=null)return fe=he.x-le[0]||0,K=he.y-le[1]||0,function Oe(Se,Le,Ae){var xe=le,We;switch(Se){case"start":d[ie]=Oe,We=b++;break;case"end":delete d[ie],--b;case"drag":le=Nv(Ae||Le,ee),We=b;break}me.call(Se,G,new aDe(Se,{sourceEvent:Le,subject:he,target:C,identifier:ie,active:We,x:le[0]+fe,y:le[1]+K,dx:le[0]-xe[0],dy:le[1]-xe[1],dispatch:me}),Q)}}return C.filter=function(G){return arguments.length?(n=typeof G=="function"?G:die(!!G),C):n},C.container=function(G){return arguments.length?(i=typeof G=="function"?G:die(G),C):i},C.subject=function(G){return arguments.length?(s=typeof G=="function"?G:die(G),C):s},C.touchable=function(G){return arguments.length?(c=typeof G=="function"?G:die(!!G),C):c},C.on=function(){var G=g.on.apply(g,arguments);return G===g?C:G},C.clickDistance=function(G){return arguments.length?(A=(G=+G)*G,C):Math.sqrt(A)},C}function T5e(n,i,s){n.prototype=i.prototype=s,s.constructor=n}function DHt(n,i){var s=Object.create(n.prototype);for(var c in i)s[c]=i[c];return s}function Ez(){}var qH=.7,$oe=1/qH,nM="\\s*([+-]?\\d+)\\s*",VH="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",F2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",y6n=/^#([0-9a-f]{3,8})$/,v6n=new RegExp(`^rgb\\(${nM},${nM},${nM}\\)$`),E6n=new RegExp(`^rgb\\(${F2},${F2},${F2}\\)$`),S6n=new RegExp(`^rgba\\(${nM},${nM},${nM},${VH}\\)$`),T6n=new RegExp(`^rgba\\(${F2},${F2},${F2},${VH}\\)$`),A6n=new RegExp(`^hsl\\(${VH},${F2},${F2}\\)$`),_6n=new RegExp(`^hsla\\(${VH},${F2},${F2},${VH}\\)$`),EMt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};T5e(Ez,dR,{copy(n){return Object.assign(new this.constructor,this,n)},displayable(){return this.rgb().displayable()},hex:SMt,formatHex:SMt,formatHex8:x6n,formatHsl:k6n,formatRgb:TMt,toString:TMt});function SMt(){return this.rgb().formatHex()}function x6n(){return this.rgb().formatHex8()}function k6n(){return LHt(this).formatHsl()}function TMt(){return this.rgb().formatRgb()}function dR(n){var i,s;return n=(n+"").trim().toLowerCase(),(i=y6n.exec(n))?(s=i[1].length,i=parseInt(i[1],16),s===6?AMt(i):s===3?new ab(i>>8&15|i>>4&240,i>>4&15|i&240,(i&15)<<4|i&15,1):s===8?fie(i>>24&255,i>>16&255,i>>8&255,(i&255)/255):s===4?fie(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|i&240,((i&15)<<4|i&15)/255):null):(i=v6n.exec(n))?new ab(i[1],i[2],i[3],1):(i=E6n.exec(n))?new ab(i[1]*255/100,i[2]*255/100,i[3]*255/100,1):(i=S6n.exec(n))?fie(i[1],i[2],i[3],i[4]):(i=T6n.exec(n))?fie(i[1]*255/100,i[2]*255/100,i[3]*255/100,i[4]):(i=A6n.exec(n))?kMt(i[1],i[2]/100,i[3]/100,1):(i=_6n.exec(n))?kMt(i[1],i[2]/100,i[3]/100,i[4]):EMt.hasOwnProperty(n)?AMt(EMt[n]):n==="transparent"?new ab(NaN,NaN,NaN,0):null}function AMt(n){return new ab(n>>16&255,n>>8&255,n&255,1)}function fie(n,i,s,c){return c<=0&&(n=i=s=NaN),new ab(n,i,s,c)}function N6n(n){return n instanceof Ez||(n=dR(n)),n?(n=n.rgb(),new ab(n.r,n.g,n.b,n.opacity)):new ab}function uDe(n,i,s,c){return arguments.length===1?N6n(n):new ab(n,i,s,c??1)}function ab(n,i,s,c){this.r=+n,this.g=+i,this.b=+s,this.opacity=+c}T5e(ab,uDe,DHt(Ez,{brighter(n){return n=n==null?$oe:Math.pow($oe,n),new ab(this.r*n,this.g*n,this.b*n,this.opacity)},darker(n){return n=n==null?qH:Math.pow(qH,n),new ab(this.r*n,this.g*n,this.b*n,this.opacity)},rgb(){return this},clamp(){return new ab(tR(this.r),tR(this.g),tR(this.b),Boe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_Mt,formatHex:_Mt,formatHex8:C6n,formatRgb:xMt,toString:xMt}));function _Mt(){return`#${Z4(this.r)}${Z4(this.g)}${Z4(this.b)}`}function C6n(){return`#${Z4(this.r)}${Z4(this.g)}${Z4(this.b)}${Z4((isNaN(this.opacity)?1:this.opacity)*255)}`}function xMt(){const n=Boe(this.opacity);return`${n===1?"rgb(":"rgba("}${tR(this.r)}, ${tR(this.g)}, ${tR(this.b)}${n===1?")":`, ${n})`}`}function Boe(n){return isNaN(n)?1:Math.max(0,Math.min(1,n))}function tR(n){return Math.max(0,Math.min(255,Math.round(n)||0))}function Z4(n){return n=tR(n),(n<16?"0":"")+n.toString(16)}function kMt(n,i,s,c){return c<=0?n=i=s=NaN:s<=0||s>=1?n=i=NaN:i<=0&&(n=NaN),new Iv(n,i,s,c)}function LHt(n){if(n instanceof Iv)return new Iv(n.h,n.s,n.l,n.opacity);if(n instanceof Ez||(n=dR(n)),!n)return new Iv;if(n instanceof Iv)return n;n=n.rgb();var i=n.r/255,s=n.g/255,c=n.b/255,d=Math.min(i,s,c),g=Math.max(i,s,c),b=NaN,w=g-d,E=(g+d)/2;return w?(i===g?b=(s-c)/w+(s<c)*6:s===g?b=(c-i)/w+2:b=(i-s)/w+4,w/=E<.5?g+d:2-g-d,b*=60):w=E>0&&E<1?0:b,new Iv(b,w,E,n.opacity)}function I6n(n,i,s,c){return arguments.length===1?LHt(n):new Iv(n,i,s,c??1)}function Iv(n,i,s,c){this.h=+n,this.s=+i,this.l=+s,this.opacity=+c}T5e(Iv,I6n,DHt(Ez,{brighter(n){return n=n==null?$oe:Math.pow($oe,n),new Iv(this.h,this.s,this.l*n,this.opacity)},darker(n){return n=n==null?qH:Math.pow(qH,n),new Iv(this.h,this.s,this.l*n,this.opacity)},rgb(){var n=this.h%360+(this.h<0)*360,i=isNaN(n)||isNaN(this.s)?0:this.s,s=this.l,c=s+(s<.5?s:1-s)*i,d=2*s-c;return new ab(FCe(n>=240?n-240:n+120,d,c),FCe(n,d,c),FCe(n<120?n+240:n-120,d,c),this.opacity)},clamp(){return new Iv(NMt(this.h),hie(this.s),hie(this.l),Boe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const n=Boe(this.opacity);return`${n===1?"hsl(":"hsla("}${NMt(this.h)}, ${hie(this.s)*100}%, ${hie(this.l)*100}%${n===1?")":`, ${n})`}`}}));function NMt(n){return n=(n||0)%360,n<0?n+360:n}function hie(n){return Math.max(0,Math.min(1,n||0))}function FCe(n,i,s){return(n<60?i+(s-i)*n/60:n<180?s:n<240?i+(s-i)*(240-n)/60:i)*255}const A5e=n=>()=>n;function R6n(n,i){return function(s){return n+s*i}}function O6n(n,i,s){return n=Math.pow(n,s),i=Math.pow(i,s)-n,s=1/s,function(c){return Math.pow(n+c*i,s)}}function D6n(n){return(n=+n)==1?MHt:function(i,s){return s-i?O6n(i,s,n):A5e(isNaN(i)?s:i)}}function MHt(n,i){var s=i-n;return s?R6n(n,s):A5e(isNaN(n)?i:n)}const Uoe=function n(i){var s=D6n(i);function c(d,g){var b=s((d=uDe(d)).r,(g=uDe(g)).r),w=s(d.g,g.g),E=s(d.b,g.b),S=MHt(d.opacity,g.opacity);return function(x){return d.r=b(x),d.g=w(x),d.b=E(x),d.opacity=S(x),d+""}}return c.gamma=n,c}(1);function L6n(n,i){i||(i=[]);var s=n?Math.min(i.length,n.length):0,c=i.slice(),d;return function(g){for(d=0;d<s;++d)c[d]=n[d]*(1-g)+i[d]*g;return c}}function M6n(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function P6n(n,i){var s=i?i.length:0,c=n?Math.min(s,n.length):0,d=new Array(c),g=new Array(s),b;for(b=0;b<c;++b)d[b]=wH(n[b],i[b]);for(;b<s;++b)g[b]=i[b];return function(w){for(b=0;b<c;++b)g[b]=d[b](w);return g}}function j6n(n,i){var s=new Date;return n=+n,i=+i,function(c){return s.setTime(n*(1-c)+i*c),s}}function C2(n,i){return n=+n,i=+i,function(s){return n*(1-s)+i*s}}function F6n(n,i){var s={},c={},d;(n===null||typeof n!="object")&&(n={}),(i===null||typeof i!="object")&&(i={});for(d in i)d in n?s[d]=wH(n[d],i[d]):c[d]=i[d];return function(g){for(d in s)c[d]=s[d](g);return c}}var cDe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$Ce=new RegExp(cDe.source,"g");function $6n(n){return function(){return n}}function B6n(n){return function(i){return n(i)+""}}function PHt(n,i){var s=cDe.lastIndex=$Ce.lastIndex=0,c,d,g,b=-1,w=[],E=[];for(n=n+"",i=i+"";(c=cDe.exec(n))&&(d=$Ce.exec(i));)(g=d.index)>s&&(g=i.slice(s,g),w[b]?w[b]+=g:w[++b]=g),(c=c[0])===(d=d[0])?w[b]?w[b]+=d:w[++b]=d:(w[++b]=null,E.push({i:b,x:C2(c,d)})),s=$Ce.lastIndex;return s<i.length&&(g=i.slice(s),w[b]?w[b]+=g:w[++b]=g),w.length<2?E[0]?B6n(E[0].x):$6n(i):(i=E.length,function(S){for(var x=0,A;x<i;++x)w[(A=E[x]).i]=A.x(S);return w.join("")})}function wH(n,i){var s=typeof i,c;return i==null||s==="boolean"?A5e(i):(s==="number"?C2:s==="string"?(c=dR(i))?(i=c,Uoe):PHt:i instanceof dR?Uoe:i instanceof Date?j6n:M6n(i)?L6n:Array.isArray(i)?P6n:typeof i.valueOf!="function"&&typeof i.toString!="function"||isNaN(i)?F6n:C2)(n,i)}var CMt=180/Math.PI,lDe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function jHt(n,i,s,c,d,g){var b,w,E;return(b=Math.sqrt(n*n+i*i))&&(n/=b,i/=b),(E=n*s+i*c)&&(s-=n*E,c-=i*E),(w=Math.sqrt(s*s+c*c))&&(s/=w,c/=w,E/=w),n*c<i*s&&(n=-n,i=-i,E=-E,b=-b),{translateX:d,translateY:g,rotate:Math.atan2(i,n)*CMt,skewX:Math.atan(E)*CMt,scaleX:b,scaleY:w}}var pie;function U6n(n){const i=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(n+"");return i.isIdentity?lDe:jHt(i.a,i.b,i.c,i.d,i.e,i.f)}function H6n(n){return n==null||(pie||(pie=document.createElementNS("http://www.w3.org/2000/svg","g")),pie.setAttribute("transform",n),!(n=pie.transform.baseVal.consolidate()))?lDe:(n=n.matrix,jHt(n.a,n.b,n.c,n.d,n.e,n.f))}function FHt(n,i,s,c){function d(S){return S.length?S.pop()+" ":""}function g(S,x,A,C,R,L){if(S!==A||x!==C){var D=R.push("translate(",null,i,null,s);L.push({i:D-4,x:C2(S,A)},{i:D-2,x:C2(x,C)})}else(A||C)&&R.push("translate("+A+i+C+s)}function b(S,x,A,C){S!==x?(S-x>180?x+=360:x-S>180&&(S+=360),C.push({i:A.push(d(A)+"rotate(",null,c)-2,x:C2(S,x)})):x&&A.push(d(A)+"rotate("+x+c)}function w(S,x,A,C){S!==x?C.push({i:A.push(d(A)+"skewX(",null,c)-2,x:C2(S,x)}):x&&A.push(d(A)+"skewX("+x+c)}function E(S,x,A,C,R,L){if(S!==A||x!==C){var D=R.push(d(R)+"scale(",null,",",null,")");L.push({i:D-4,x:C2(S,A)},{i:D-2,x:C2(x,C)})}else(A!==1||C!==1)&&R.push(d(R)+"scale("+A+","+C+")")}return function(S,x){var A=[],C=[];return S=n(S),x=n(x),g(S.translateX,S.translateY,x.translateX,x.translateY,A,C),b(S.rotate,x.rotate,A,C),w(S.skewX,x.skewX,A,C),E(S.scaleX,S.scaleY,x.scaleX,x.scaleY,A,C),S=x=null,function(R){for(var L=-1,D=C.length,B;++L<D;)A[(B=C[L]).i]=B.x(R);return A.join("")}}}var z6n=FHt(U6n,"px, ","px)","deg)"),G6n=FHt(H6n,", ",")",")"),q6n=1e-12;function IMt(n){return((n=Math.exp(n))+1/n)/2}function V6n(n){return((n=Math.exp(n))-1/n)/2}function W6n(n){return((n=Math.exp(2*n))-1)/(n+1)}const Zie=function n(i,s,c){function d(g,b){var w=g[0],E=g[1],S=g[2],x=b[0],A=b[1],C=b[2],R=x-w,L=A-E,D=R*R+L*L,B,$;if(D<q6n)$=Math.log(C/S)/i,B=function(Q){return[w+Q*R,E+Q*L,S*Math.exp(i*Q*$)]};else{var j=Math.sqrt(D),P=(C*C-S*S+c*D)/(2*S*s*j),G=(C*C-S*S-c*D)/(2*C*s*j),ee=Math.log(Math.sqrt(P*P+1)-P),re=Math.log(Math.sqrt(G*G+1)-G);$=(re-ee)/i,B=function(Q){var ie=Q*$,pe=IMt(ee),me=S/(s*j)*(pe*W6n(i*ie+ee)-V6n(ee));return[w+me*R,E+me*L,S*pe/IMt(i*ie+ee)]}}return B.duration=$*1e3*i/Math.SQRT2,B}return d.rho=function(g){var b=Math.max(.001,+g),w=b*b,E=w*w;return n(b,w,E)},d}(Math.SQRT2,2,4);var vM=0,JU=0,FU=0,$Ht=1e3,Hoe,XU,zoe=0,fR=0,Wse=0,WH=typeof performance=="object"&&performance.now?performance:Date,BHt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function _5e(){return fR||(BHt(K6n),fR=WH.now()+Wse)}function K6n(){fR=0}function Goe(){this._call=this._time=this._next=null}Goe.prototype=UHt.prototype={constructor:Goe,restart:function(n,i,s){if(typeof n!="function")throw new TypeError("callback is not a function");s=(s==null?_5e():+s)+(i==null?0:+i),!this._next&&XU!==this&&(XU?XU._next=this:Hoe=this,XU=this),this._call=n,this._time=s,dDe()},stop:function(){this._call&&(this._call=null,this._time=1/0,dDe())}};function UHt(n,i,s){var c=new Goe;return c.restart(n,i,s),c}function Y6n(){_5e(),++vM;for(var n=Hoe,i;n;)(i=fR-n._time)>=0&&n._call.call(void 0,i),n=n._next;--vM}function RMt(){fR=(zoe=WH.now())+Wse,vM=JU=0;try{Y6n()}finally{vM=0,X6n(),fR=0}}function J6n(){var n=WH.now(),i=n-zoe;i>$Ht&&(Wse-=i,zoe=n)}function X6n(){for(var n,i=Hoe,s,c=1/0;i;)i._call?(c>i._time&&(c=i._time),n=i,i=i._next):(s=i._next,i._next=null,i=n?n._next=s:Hoe=s);XU=n,dDe(c)}function dDe(n){if(!vM){JU&&(JU=clearTimeout(JU));var i=n-fR;i>24?(n<1/0&&(JU=setTimeout(RMt,n-WH.now()-Wse)),FU&&(FU=clearInterval(FU))):(FU||(zoe=WH.now(),FU=setInterval(J6n,$Ht)),vM=1,BHt(RMt))}}function OMt(n,i,s){var c=new Goe;return i=i==null?0:+i,c.restart(d=>{c.stop(),n(d+i)},i,s),c}var Z6n=qse("start","end","cancel","interrupt"),Q6n=[],HHt=0,DMt=1,fDe=2,Qie=3,LMt=4,hDe=5,eoe=6;function Kse(n,i,s,c,d,g){var b=n.__transition;if(!b)n.__transition={};else if(s in b)return;eDn(n,s,{name:i,index:c,group:d,on:Z6n,tween:Q6n,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:HHt})}function x5e(n,i){var s=Bv(n,i);if(s.state>HHt)throw new Error("too late; already scheduled");return s}function W2(n,i){var s=Bv(n,i);if(s.state>Qie)throw new Error("too late; already running");return s}function Bv(n,i){var s=n.__transition;if(!s||!(s=s[i]))throw new Error("transition not found");return s}function eDn(n,i,s){var c=n.__transition,d;c[i]=s,s.timer=UHt(g,0,s.time);function g(S){s.state=DMt,s.timer.restart(b,s.delay,s.time),s.delay<=S&&b(S-s.delay)}function b(S){var x,A,C,R;if(s.state!==DMt)return E();for(x in c)if(R=c[x],R.name===s.name){if(R.state===Qie)return OMt(b);R.state===LMt?(R.state=eoe,R.timer.stop(),R.on.call("interrupt",n,n.__data__,R.index,R.group),delete c[x]):+x<i&&(R.state=eoe,R.timer.stop(),R.on.call("cancel",n,n.__data__,R.index,R.group),delete c[x])}if(OMt(function(){s.state===Qie&&(s.state=LMt,s.timer.restart(w,s.delay,s.time),w(S))}),s.state=fDe,s.on.call("start",n,n.__data__,s.index,s.group),s.state===fDe){for(s.state=Qie,d=new Array(C=s.tween.length),x=0,A=-1;x<C;++x)(R=s.tween[x].value.call(n,n.__data__,s.index,s.group))&&(d[++A]=R);d.length=A+1}}function w(S){for(var x=S<s.duration?s.ease.call(null,S/s.duration):(s.timer.restart(E),s.state=hDe,1),A=-1,C=d.length;++A<C;)d[A].call(n,x);s.state===hDe&&(s.on.call("end",n,n.__data__,s.index,s.group),E())}function E(){s.state=eoe,s.timer.stop(),delete c[i];for(var S in c)return;delete n.__transition}}function toe(n,i){var s=n.__transition,c,d,g=!0,b;if(s){i=i==null?null:i+"";for(b in s){if((c=s[b]).name!==i){g=!1;continue}d=c.state>fDe&&c.state<hDe,c.state=eoe,c.timer.stop(),c.on.call(d?"interrupt":"cancel",n,n.__data__,c.index,c.group),delete s[b]}g&&delete n.__transition}}function tDn(n){return this.each(function(){toe(this,n)})}function nDn(n,i){var s,c;return function(){var d=W2(this,n),g=d.tween;if(g!==s){c=s=g;for(var b=0,w=c.length;b<w;++b)if(c[b].name===i){c=c.slice(),c.splice(b,1);break}}d.tween=c}}function rDn(n,i,s){var c,d;if(typeof s!="function")throw new Error;return function(){var g=W2(this,n),b=g.tween;if(b!==c){d=(c=b).slice();for(var w={name:i,value:s},E=0,S=d.length;E<S;++E)if(d[E].name===i){d[E]=w;break}E===S&&d.push(w)}g.tween=d}}function iDn(n,i){var s=this._id;if(n+="",arguments.length<2){for(var c=Bv(this.node(),s).tween,d=0,g=c.length,b;d<g;++d)if((b=c[d]).name===n)return b.value;return null}return this.each((i==null?nDn:rDn)(s,n,i))}function k5e(n,i,s){var c=n._id;return n.each(function(){var d=W2(this,c);(d.value||(d.value={}))[i]=s.apply(this,arguments)}),function(d){return Bv(d,c).value[i]}}function zHt(n,i){var s;return(typeof i=="number"?C2:i instanceof dR?Uoe:(s=dR(i))?(i=s,Uoe):PHt)(n,i)}function oDn(n){return function(){this.removeAttribute(n)}}function sDn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function aDn(n,i,s){var c,d=s+"",g;return function(){var b=this.getAttribute(n);return b===d?null:b===c?g:g=i(c=b,s)}}function uDn(n,i,s){var c,d=s+"",g;return function(){var b=this.getAttributeNS(n.space,n.local);return b===d?null:b===c?g:g=i(c=b,s)}}function cDn(n,i,s){var c,d,g;return function(){var b,w=s(this),E;return w==null?void this.removeAttribute(n):(b=this.getAttribute(n),E=w+"",b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w)))}}function lDn(n,i,s){var c,d,g;return function(){var b,w=s(this),E;return w==null?void this.removeAttributeNS(n.space,n.local):(b=this.getAttributeNS(n.space,n.local),E=w+"",b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w)))}}function dDn(n,i){var s=Vse(n),c=s==="transform"?G6n:zHt;return this.attrTween(n,typeof i=="function"?(s.local?lDn:cDn)(s,c,k5e(this,"attr."+n,i)):i==null?(s.local?sDn:oDn)(s):(s.local?uDn:aDn)(s,c,i))}function fDn(n,i){return function(s){this.setAttribute(n,i.call(this,s))}}function hDn(n,i){return function(s){this.setAttributeNS(n.space,n.local,i.call(this,s))}}function pDn(n,i){var s,c;function d(){var g=i.apply(this,arguments);return g!==c&&(s=(c=g)&&hDn(n,g)),s}return d._value=i,d}function gDn(n,i){var s,c;function d(){var g=i.apply(this,arguments);return g!==c&&(s=(c=g)&&fDn(n,g)),s}return d._value=i,d}function bDn(n,i){var s="attr."+n;if(arguments.length<2)return(s=this.tween(s))&&s._value;if(i==null)return this.tween(s,null);if(typeof i!="function")throw new Error;var c=Vse(n);return this.tween(s,(c.local?pDn:gDn)(c,i))}function mDn(n,i){return function(){x5e(this,n).delay=+i.apply(this,arguments)}}function wDn(n,i){return i=+i,function(){x5e(this,n).delay=i}}function yDn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?mDn:wDn)(i,n)):Bv(this.node(),i).delay}function vDn(n,i){return function(){W2(this,n).duration=+i.apply(this,arguments)}}function EDn(n,i){return i=+i,function(){W2(this,n).duration=i}}function SDn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?vDn:EDn)(i,n)):Bv(this.node(),i).duration}function TDn(n,i){if(typeof i!="function")throw new Error;return function(){W2(this,n).ease=i}}function ADn(n){var i=this._id;return arguments.length?this.each(TDn(i,n)):Bv(this.node(),i).ease}function _Dn(n,i){return function(){var s=i.apply(this,arguments);if(typeof s!="function")throw new Error;W2(this,n).ease=s}}function xDn(n){if(typeof n!="function")throw new Error;return this.each(_Dn(this._id,n))}function kDn(n){typeof n!="function"&&(n=vHt(n));for(var i=this._groups,s=i.length,c=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=c[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new yA(c,this._parents,this._name,this._id)}function NDn(n){if(n._id!==this._id)throw new Error;for(var i=this._groups,s=n._groups,c=i.length,d=s.length,g=Math.min(c,d),b=new Array(c),w=0;w<g;++w)for(var E=i[w],S=s[w],x=E.length,A=b[w]=new Array(x),C,R=0;R<x;++R)(C=E[R]||S[R])&&(A[R]=C);for(;w<c;++w)b[w]=i[w];return new yA(b,this._parents,this._name,this._id)}function CDn(n){return(n+"").trim().split(/^|\s+/).every(function(i){var s=i.indexOf(".");return s>=0&&(i=i.slice(0,s)),!i||i==="start"})}function IDn(n,i,s){var c,d,g=CDn(i)?x5e:W2;return function(){var b=g(this,n),w=b.on;w!==c&&(d=(c=w).copy()).on(i,s),b.on=d}}function RDn(n,i){var s=this._id;return arguments.length<2?Bv(this.node(),s).on.on(n):this.each(IDn(s,n,i))}function ODn(n){return function(){var i=this.parentNode;for(var s in this.__transition)if(+s!==n)return;i&&i.removeChild(this)}}function DDn(){return this.on("end.remove",ODn(this._id))}function LDn(n){var i=this._name,s=this._id;typeof n!="function"&&(n=E5e(n));for(var c=this._groups,d=c.length,g=new Array(d),b=0;b<d;++b)for(var w=c[b],E=w.length,S=g[b]=new Array(E),x,A,C=0;C<E;++C)(x=w[C])&&(A=n.call(x,x.__data__,C,w))&&("__data__"in x&&(A.__data__=x.__data__),S[C]=A,Kse(S[C],i,s,C,S,Bv(x,s)));return new yA(g,this._parents,i,s)}function MDn(n){var i=this._name,s=this._id;typeof n!="function"&&(n=yHt(n));for(var c=this._groups,d=c.length,g=[],b=[],w=0;w<d;++w)for(var E=c[w],S=E.length,x,A=0;A<S;++A)if(x=E[A]){for(var C=n.call(x,x.__data__,A,E),R,L=Bv(x,s),D=0,B=C.length;D<B;++D)(R=C[D])&&Kse(R,i,s,D,C,L);g.push(C),b.push(x)}return new yA(g,b,i,s)}var PDn=vz.prototype.constructor;function jDn(){return new PDn(this._groups,this._parents)}function FDn(n,i){var s,c,d;return function(){var g=yM(this,n),b=(this.style.removeProperty(n),yM(this,n));return g===b?null:g===s&&b===c?d:d=i(s=g,c=b)}}function GHt(n){return function(){this.style.removeProperty(n)}}function $Dn(n,i,s){var c,d=s+"",g;return function(){var b=yM(this,n);return b===d?null:b===c?g:g=i(c=b,s)}}function BDn(n,i,s){var c,d,g;return function(){var b=yM(this,n),w=s(this),E=w+"";return w==null&&(E=w=(this.style.removeProperty(n),yM(this,n))),b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w))}}function UDn(n,i){var s,c,d,g="style."+i,b="end."+g,w;return function(){var E=W2(this,n),S=E.on,x=E.value[g]==null?w||(w=GHt(i)):void 0;(S!==s||d!==x)&&(c=(s=S).copy()).on(b,d=x),E.on=c}}function HDn(n,i,s){var c=(n+="")=="transform"?z6n:zHt;return i==null?this.styleTween(n,FDn(n,c)).on("end.style."+n,GHt(n)):typeof i=="function"?this.styleTween(n,BDn(n,c,k5e(this,"style."+n,i))).each(UDn(this._id,n)):this.styleTween(n,$Dn(n,c,i),s).on("end.style."+n,null)}function zDn(n,i,s){return function(c){this.style.setProperty(n,i.call(this,c),s)}}function GDn(n,i,s){var c,d;function g(){var b=i.apply(this,arguments);return b!==d&&(c=(d=b)&&zDn(n,b,s)),c}return g._value=i,g}function qDn(n,i,s){var c="style."+(n+="");if(arguments.length<2)return(c=this.tween(c))&&c._value;if(i==null)return this.tween(c,null);if(typeof i!="function")throw new Error;return this.tween(c,GDn(n,i,s??""))}function VDn(n){return function(){this.textContent=n}}function WDn(n){return function(){var i=n(this);this.textContent=i??""}}function KDn(n){return this.tween("text",typeof n=="function"?WDn(k5e(this,"text",n)):VDn(n==null?"":n+""))}function YDn(n){return function(i){this.textContent=n.call(this,i)}}function JDn(n){var i,s;function c(){var d=n.apply(this,arguments);return d!==s&&(i=(s=d)&&YDn(d)),i}return c._value=n,c}function XDn(n){var i="text";if(arguments.length<1)return(i=this.tween(i))&&i._value;if(n==null)return this.tween(i,null);if(typeof n!="function")throw new Error;return this.tween(i,JDn(n))}function ZDn(){for(var n=this._name,i=this._id,s=qHt(),c=this._groups,d=c.length,g=0;g<d;++g)for(var b=c[g],w=b.length,E,S=0;S<w;++S)if(E=b[S]){var x=Bv(E,i);Kse(E,n,s,S,b,{time:x.time+x.delay+x.duration,delay:0,duration:x.duration,ease:x.ease})}return new yA(c,this._parents,n,s)}function QDn(){var n,i,s=this,c=s._id,d=s.size();return new Promise(function(g,b){var w={value:b},E={value:function(){--d===0&&g()}};s.each(function(){var S=W2(this,c),x=S.on;x!==n&&(i=(n=x).copy(),i._.cancel.push(w),i._.interrupt.push(w),i._.end.push(E)),S.on=i}),d===0&&g()})}var eLn=0;function yA(n,i,s,c){this._groups=n,this._parents=i,this._name=s,this._id=c}function qHt(){return++eLn}var nA=vz.prototype;yA.prototype={constructor:yA,select:LDn,selectAll:MDn,selectChild:nA.selectChild,selectChildren:nA.selectChildren,filter:kDn,merge:NDn,selection:jDn,transition:ZDn,call:nA.call,nodes:nA.nodes,node:nA.node,size:nA.size,empty:nA.empty,each:nA.each,on:RDn,attr:dDn,attrTween:bDn,style:HDn,styleTween:qDn,text:KDn,textTween:XDn,remove:DDn,tween:iDn,delay:yDn,duration:SDn,ease:ADn,easeVarying:xDn,end:QDn,[Symbol.iterator]:nA[Symbol.iterator]};function tLn(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var nLn={time:null,delay:0,duration:250,ease:tLn};function rLn(n,i){for(var s;!(s=n.__transition)||!(s=s[i]);)if(!(n=n.parentNode))throw new Error(`transition ${i} not found`);return s}function iLn(n){var i,s;n instanceof yA?(i=n._id,n=n._name):(i=qHt(),(s=nLn).time=_5e(),n=n==null?null:n+"");for(var c=this._groups,d=c.length,g=0;g<d;++g)for(var b=c[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&Kse(E,n,i,S,b,s||rLn(E,i));return new yA(c,this._parents,n,i)}vz.prototype.interrupt=tDn;vz.prototype.transition=iLn;const gie=n=>()=>n;function oLn(n,{sourceEvent:i,target:s,transform:c,dispatch:d}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:i,enumerable:!0,configurable:!0},target:{value:s,enumerable:!0,configurable:!0},transform:{value:c,enumerable:!0,configurable:!0},_:{value:d}})}function lA(n,i,s){this.k=n,this.x=i,this.y=s}lA.prototype={constructor:lA,scale:function(n){return n===1?this:new lA(this.k*n,this.x,this.y)},translate:function(n,i){return n===0&i===0?this:new lA(this.k,this.x+this.k*n,this.y+this.k*i)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Yse=new lA(1,0,0);VHt.prototype=lA.prototype;function VHt(n){for(;!n.__zoom;)if(!(n=n.parentNode))return Yse;return n.__zoom}function BCe(n){n.stopImmediatePropagation()}function $U(n){n.preventDefault(),n.stopImmediatePropagation()}function sLn(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function aLn(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]):[[0,0],[n.clientWidth,n.clientHeight]]}function MMt(){return this.__zoom||Yse}function uLn(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function cLn(){return navigator.maxTouchPoints||"ontouchstart"in this}function lLn(n,i,s){var c=n.invertX(i[0][0])-s[0][0],d=n.invertX(i[1][0])-s[1][0],g=n.invertY(i[0][1])-s[0][1],b=n.invertY(i[1][1])-s[1][1];return n.translate(d>c?(c+d)/2:Math.min(0,c)||Math.max(0,d),b>g?(g+b)/2:Math.min(0,g)||Math.max(0,b))}function WHt(){var n=sLn,i=aLn,s=lLn,c=uLn,d=cLn,g=[0,1/0],b=[[-1/0,-1/0],[1/0,1/0]],w=250,E=Zie,S=qse("start","zoom","end"),x,A,C,R=500,L=150,D=0,B=10;function $(he){he.property("__zoom",MMt).on("wheel.zoom",ie,{passive:!1}).on("mousedown.zoom",pe).on("dblclick.zoom",me).filter(d).on("touchstart.zoom",le).on("touchmove.zoom",fe).on("touchend.zoom touchcancel.zoom",K).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}$.transform=function(he,Oe,Se,Le){var Ae=he.selection?he.selection():he;Ae.property("__zoom",MMt),he!==Ae?ee(he,Oe,Se,Le):Ae.interrupt().each(function(){re(this,arguments).event(Le).start().zoom(null,typeof Oe=="function"?Oe.apply(this,arguments):Oe).end()})},$.scaleBy=function(he,Oe,Se,Le){$.scaleTo(he,function(){var Ae=this.__zoom.k,xe=typeof Oe=="function"?Oe.apply(this,arguments):Oe;return Ae*xe},Se,Le)},$.scaleTo=function(he,Oe,Se,Le){$.transform(he,function(){var Ae=i.apply(this,arguments),xe=this.__zoom,We=Se==null?G(Ae):typeof Se=="function"?Se.apply(this,arguments):Se,dt=xe.invert(We),Ue=typeof Oe=="function"?Oe.apply(this,arguments):Oe;return s(P(j(xe,Ue),We,dt),Ae,b)},Se,Le)},$.translateBy=function(he,Oe,Se,Le){$.transform(he,function(){return s(this.__zoom.translate(typeof Oe=="function"?Oe.apply(this,arguments):Oe,typeof Se=="function"?Se.apply(this,arguments):Se),i.apply(this,arguments),b)},null,Le)},$.translateTo=function(he,Oe,Se,Le,Ae){$.transform(he,function(){var xe=i.apply(this,arguments),We=this.__zoom,dt=Le==null?G(xe):typeof Le=="function"?Le.apply(this,arguments):Le;return s(Yse.translate(dt[0],dt[1]).scale(We.k).translate(typeof Oe=="function"?-Oe.apply(this,arguments):-Oe,typeof Se=="function"?-Se.apply(this,arguments):-Se),xe,b)},Le,Ae)};function j(he,Oe){return Oe=Math.max(g[0],Math.min(g[1],Oe)),Oe===he.k?he:new lA(Oe,he.x,he.y)}function P(he,Oe,Se){var Le=Oe[0]-Se[0]*he.k,Ae=Oe[1]-Se[1]*he.k;return Le===he.x&&Ae===he.y?he:new lA(he.k,Le,Ae)}function G(he){return[(+he[0][0]+ +he[1][0])/2,(+he[0][1]+ +he[1][1])/2]}function ee(he,Oe,Se,Le){he.on("start.zoom",function(){re(this,arguments).event(Le).start()}).on("interrupt.zoom end.zoom",function(){re(this,arguments).event(Le).end()}).tween("zoom",function(){var Ae=this,xe=arguments,We=re(Ae,xe).event(Le),dt=i.apply(Ae,xe),Ue=Se==null?G(dt):typeof Se=="function"?Se.apply(Ae,xe):Se,bt=Math.max(dt[1][0]-dt[0][0],dt[1][1]-dt[0][1]),kt=Ae.__zoom,ht=typeof Oe=="function"?Oe.apply(Ae,xe):Oe,Xt=E(kt.invert(Ue).concat(bt/kt.k),ht.invert(Ue).concat(bt/ht.k));return function(vt){if(vt===1)vt=ht;else{var Ct=Xt(vt),Ft=bt/Ct[2];vt=new lA(Ft,Ue[0]-Ct[0]*Ft,Ue[1]-Ct[1]*Ft)}We.zoom(null,vt)}})}function re(he,Oe,Se){return!Se&&he.__zooming||new Q(he,Oe)}function Q(he,Oe){this.that=he,this.args=Oe,this.active=0,this.sourceEvent=null,this.extent=i.apply(he,Oe),this.taps=0}Q.prototype={event:function(he){return he&&(this.sourceEvent=he),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(he,Oe){return this.mouse&&he!=="mouse"&&(this.mouse[1]=Oe.invert(this.mouse[0])),this.touch0&&he!=="touch"&&(this.touch0[1]=Oe.invert(this.touch0[0])),this.touch1&&he!=="touch"&&(this.touch1[1]=Oe.invert(this.touch1[0])),this.that.__zoom=Oe,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(he){var Oe=jm(this.that).datum();S.call(he,this.that,new oLn(he,{sourceEvent:this.sourceEvent,target:$,transform:this.that.__zoom,dispatch:S}),Oe)}};function ie(he,...Oe){if(!n.apply(this,arguments))return;var Se=re(this,Oe).event(he),Le=this.__zoom,Ae=Math.max(g[0],Math.min(g[1],Le.k*Math.pow(2,c.apply(this,arguments)))),xe=Nv(he);if(Se.wheel)(Se.mouse[0][0]!==xe[0]||Se.mouse[0][1]!==xe[1])&&(Se.mouse[1]=Le.invert(Se.mouse[0]=xe)),clearTimeout(Se.wheel);else{if(Le.k===Ae)return;Se.mouse=[xe,Le.invert(xe)],toe(this),Se.start()}$U(he),Se.wheel=setTimeout(We,L),Se.zoom("mouse",s(P(j(Le,Ae),Se.mouse[0],Se.mouse[1]),Se.extent,b));function We(){Se.wheel=null,Se.end()}}function pe(he,...Oe){if(C||!n.apply(this,arguments))return;var Se=he.currentTarget,Le=re(this,Oe,!0).event(he),Ae=jm(he.view).on("mousemove.zoom",Ue,!0).on("mouseup.zoom",bt,!0),xe=Nv(he,Se),We=he.clientX,dt=he.clientY;IHt(he.view),BCe(he),Le.mouse=[xe,this.__zoom.invert(xe)],toe(this),Le.start();function Ue(kt){if($U(kt),!Le.moved){var ht=kt.clientX-We,Xt=kt.clientY-dt;Le.moved=ht*ht+Xt*Xt>D}Le.event(kt).zoom("mouse",s(P(Le.that.__zoom,Le.mouse[0]=Nv(kt,Se),Le.mouse[1]),Le.extent,b))}function bt(kt){Ae.on("mousemove.zoom mouseup.zoom",null),RHt(kt.view,Le.moved),$U(kt),Le.event(kt).end()}}function me(he,...Oe){if(n.apply(this,arguments)){var Se=this.__zoom,Le=Nv(he.changedTouches?he.changedTouches[0]:he,this),Ae=Se.invert(Le),xe=Se.k*(he.shiftKey?.5:2),We=s(P(j(Se,xe),Le,Ae),i.apply(this,Oe),b);$U(he),w>0?jm(this).transition().duration(w).call(ee,We,Le,he):jm(this).call($.transform,We,Le,he)}}function le(he,...Oe){if(n.apply(this,arguments)){var Se=he.touches,Le=Se.length,Ae=re(this,Oe,he.changedTouches.length===Le).event(he),xe,We,dt,Ue;for(BCe(he),We=0;We<Le;++We)dt=Se[We],Ue=Nv(dt,this),Ue=[Ue,this.__zoom.invert(Ue),dt.identifier],Ae.touch0?!Ae.touch1&&Ae.touch0[2]!==Ue[2]&&(Ae.touch1=Ue,Ae.taps=0):(Ae.touch0=Ue,xe=!0,Ae.taps=1+!!x);x&&(x=clearTimeout(x)),xe&&(Ae.taps<2&&(A=Ue[0],x=setTimeout(function(){x=null},R)),toe(this),Ae.start())}}function fe(he,...Oe){if(this.__zooming){var Se=re(this,Oe).event(he),Le=he.changedTouches,Ae=Le.length,xe,We,dt,Ue;for($U(he),xe=0;xe<Ae;++xe)We=Le[xe],dt=Nv(We,this),Se.touch0&&Se.touch0[2]===We.identifier?Se.touch0[0]=dt:Se.touch1&&Se.touch1[2]===We.identifier&&(Se.touch1[0]=dt);if(We=Se.that.__zoom,Se.touch1){var bt=Se.touch0[0],kt=Se.touch0[1],ht=Se.touch1[0],Xt=Se.touch1[1],vt=(vt=ht[0]-bt[0])*vt+(vt=ht[1]-bt[1])*vt,Ct=(Ct=Xt[0]-kt[0])*Ct+(Ct=Xt[1]-kt[1])*Ct;We=j(We,Math.sqrt(vt/Ct)),dt=[(bt[0]+ht[0])/2,(bt[1]+ht[1])/2],Ue=[(kt[0]+Xt[0])/2,(kt[1]+Xt[1])/2]}else if(Se.touch0)dt=Se.touch0[0],Ue=Se.touch0[1];else return;Se.zoom("touch",s(P(We,dt,Ue),Se.extent,b))}}function K(he,...Oe){if(this.__zooming){var Se=re(this,Oe).event(he),Le=he.changedTouches,Ae=Le.length,xe,We;for(BCe(he),C&&clearTimeout(C),C=setTimeout(function(){C=null},R),xe=0;xe<Ae;++xe)We=Le[xe],Se.touch0&&Se.touch0[2]===We.identifier?delete Se.touch0:Se.touch1&&Se.touch1[2]===We.identifier&&delete Se.touch1;if(Se.touch1&&!Se.touch0&&(Se.touch0=Se.touch1,delete Se.touch1),Se.touch0)Se.touch0[1]=this.__zoom.invert(Se.touch0[0]);else if(Se.end(),Se.taps===2&&(We=Nv(We,this),Math.hypot(A[0]-We[0],A[1]-We[1])<B)){var dt=jm(this).on("dblclick.zoom");dt&&dt.apply(this,arguments)}}}return $.wheelDelta=function(he){return arguments.length?(c=typeof he=="function"?he:gie(+he),$):c},$.filter=function(he){return arguments.length?(n=typeof he=="function"?he:gie(!!he),$):n},$.touchable=function(he){return arguments.length?(d=typeof he=="function"?he:gie(!!he),$):d},$.extent=function(he){return arguments.length?(i=typeof he=="function"?he:gie([[+he[0][0],+he[0][1]],[+he[1][0],+he[1][1]]]),$):i},$.scaleExtent=function(he){return arguments.length?(g[0]=+he[0],g[1]=+he[1],$):[g[0],g[1]]},$.translateExtent=function(he){return arguments.length?(b[0][0]=+he[0][0],b[1][0]=+he[1][0],b[0][1]=+he[0][1],b[1][1]=+he[1][1],$):[[b[0][0],b[0][1]],[b[1][0],b[1][1]]]},$.constrain=function(he){return arguments.length?(s=he,$):s},$.duration=function(he){return arguments.length?(w=+he,$):w},$.interpolate=function(he){return arguments.length?(E=he,$):E},$.on=function(){var he=S.on.apply(S,arguments);return he===S?$:he},$.clickDistance=function(he){return arguments.length?(D=(he=+he)*he,$):Math.sqrt(D)},$.tapDistance=function(he){return arguments.length?(B=+he,$):B},$}const z2={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:n=>`Node type "${n}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:n=>`The old edge with id=${n} does not exist.`,error009:n=>`Marker type "${n}" doesn't exist.`,error008:(n,{id:i,sourceHandle:s,targetHandle:c})=>`Couldn't create edge for ${n} handle id: "${n==="source"?s:c}", edge id: ${i}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:n=>`Edge type "${n}" not found. Using fallback type "default".`,error012:n=>`Node with id "${n}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(n="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${n}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},KH=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],KHt=["Enter"," ","Escape"],YHt={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:n,x:i,y:s})=>`Moved selected node ${n}. New position, x: ${i}, y: ${s}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var EM;(function(n){n.Strict="strict",n.Loose="loose"})(EM||(EM={}));var nR;(function(n){n.Free="free",n.Vertical="vertical",n.Horizontal="horizontal"})(nR||(nR={}));var YH;(function(n){n.Partial="partial",n.Full="full"})(YH||(YH={}));const JHt={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Bk;(function(n){n.Bezier="default",n.Straight="straight",n.Step="step",n.SmoothStep="smoothstep",n.SimpleBezier="simplebezier"})(Bk||(Bk={}));var sA;(function(n){n.Arrow="arrow",n.ArrowClosed="arrowclosed"})(sA||(sA={}));var qr;(function(n){n.Left="left",n.Top="top",n.Right="right",n.Bottom="bottom"})(qr||(qr={}));const PMt={[qr.Left]:qr.Right,[qr.Right]:qr.Left,[qr.Top]:qr.Bottom,[qr.Bottom]:qr.Top};function XHt(n){return n===null?null:n?"valid":"invalid"}const ZHt=n=>"id"in n&&"source"in n&&"target"in n,dLn=n=>"id"in n&&"position"in n&&!("source"in n)&&!("target"in n),N5e=n=>"id"in n&&"internals"in n&&!("source"in n)&&!("target"in n),Sz=(n,i=[0,0])=>{const{width:s,height:c}=_A(n),d=n.origin??i,g=s*d[0],b=c*d[1];return{x:n.position.x-g,y:n.position.y-b}},fLn=(n,i={nodeOrigin:[0,0]})=>{if(n.length===0)return{x:0,y:0,width:0,height:0};const s=n.reduce((c,d)=>{const g=typeof d=="string";let b=!i.nodeLookup&&!g?d:void 0;i.nodeLookup&&(b=g?i.nodeLookup.get(d):N5e(d)?d:i.nodeLookup.get(d.id));const w=b?qoe(b,i.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Jse(c,w)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Xse(s)},Tz=(n,i={})=>{let s={x:1/0,y:1/0,x2:-1/0,y2:-1/0},c=!1;return n.forEach(d=>{(i.filter===void 0||i.filter(d))&&(s=Jse(s,qoe(d)),c=!0)}),c?Xse(s):{x:0,y:0,width:0,height:0}},C5e=(n,i,[s,c,d]=[0,0,1],g=!1,b=!1)=>{const w={..._z(i,[s,c,d]),width:i.width/d,height:i.height/d},E=[];for(const S of n.values()){const{measured:x,selectable:A=!0,hidden:C=!1}=S;if(b&&!A||C)continue;const R=x.width??S.width??S.initialWidth??null,L=x.height??S.height??S.initialHeight??null,D=JH(w,TM(S)),B=(R??0)*(L??0),$=g&&D>0;(!S.internals.handleBounds||$||D>=B||S.dragging)&&E.push(S)}return E},hLn=(n,i)=>{const s=new Set;return n.forEach(c=>{s.add(c.id)}),i.filter(c=>s.has(c.source)||s.has(c.target))};function pLn(n,i){const s=new Map,c=i!=null&&i.nodes?new Set(i.nodes.map(d=>d.id)):null;return n.forEach(d=>{d.measured.width&&d.measured.height&&((i==null?void 0:i.includeHiddenNodes)||!d.hidden)&&(!c||c.has(d.id))&&s.set(d.id,d)}),s}async function gLn({nodes:n,width:i,height:s,panZoom:c,minZoom:d,maxZoom:g},b){if(n.size===0)return Promise.resolve(!0);const w=pLn(n,b),E=Tz(w),S=I5e(E,i,s,(b==null?void 0:b.minZoom)??d,(b==null?void 0:b.maxZoom)??g,(b==null?void 0:b.padding)??.1);return await c.setViewport(S,{duration:b==null?void 0:b.duration,ease:b==null?void 0:b.ease,interpolate:b==null?void 0:b.interpolate}),Promise.resolve(!0)}function QHt({nodeId:n,nextPosition:i,nodeLookup:s,nodeOrigin:c=[0,0],nodeExtent:d,onError:g}){const b=s.get(n),w=b.parentId?s.get(b.parentId):void 0,{x:E,y:S}=w?w.internals.positionAbsolute:{x:0,y:0},x=b.origin??c;let A=b.extent||d;if(b.extent==="parent"&&!b.expandParent)if(!w)g==null||g("005",z2.error005());else{const R=w.measured.width,L=w.measured.height;R&&L&&(A=[[E,S],[E+R,S+L]])}else w&&AM(b.extent)&&(A=[[b.extent[0][0]+E,b.extent[0][1]+S],[b.extent[1][0]+E,b.extent[1][1]+S]]);const C=AM(A)?hR(i,A,b.measured):i;return(b.measured.width===void 0||b.measured.height===void 0)&&(g==null||g("015",z2.error015())),{position:{x:C.x-E+(b.measured.width??0)*x[0],y:C.y-S+(b.measured.height??0)*x[1]},positionAbsolute:C}}async function bLn({nodesToRemove:n=[],edgesToRemove:i=[],nodes:s,edges:c,onBeforeDelete:d}){const g=new Set(n.map(C=>C.id)),b=[];for(const C of s){if(C.deletable===!1)continue;const R=g.has(C.id),L=!R&&C.parentId&&b.find(D=>D.id===C.parentId);(R||L)&&b.push(C)}const w=new Set(i.map(C=>C.id)),E=c.filter(C=>C.deletable!==!1),x=hLn(b,E);for(const C of E)w.has(C.id)&&!x.find(L=>L.id===C.id)&&x.push(C);if(!d)return{edges:x,nodes:b};const A=await d({nodes:b,edges:x});return typeof A=="boolean"?A?{edges:x,nodes:b}:{edges:[],nodes:[]}:A}const SM=(n,i=0,s=1)=>Math.min(Math.max(n,i),s),hR=(n={x:0,y:0},i,s)=>({x:SM(n.x,i[0][0],i[1][0]-((s==null?void 0:s.width)??0)),y:SM(n.y,i[0][1],i[1][1]-((s==null?void 0:s.height)??0))});function ezt(n,i,s){const{width:c,height:d}=_A(s),{x:g,y:b}=s.internals.positionAbsolute;return hR(n,[[g,b],[g+c,b+d]],i)}const jMt=(n,i,s)=>n<i?SM(Math.abs(n-i),1,i)/i:n>s?-SM(Math.abs(n-s),1,i)/i:0,tzt=(n,i,s=15,c=40)=>{const d=jMt(n.x,c,i.width-c)*s,g=jMt(n.y,c,i.height-c)*s;return[d,g]},Jse=(n,i)=>({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),x2:Math.max(n.x2,i.x2),y2:Math.max(n.y2,i.y2)}),pDe=({x:n,y:i,width:s,height:c})=>({x:n,y:i,x2:n+s,y2:i+c}),Xse=({x:n,y:i,x2:s,y2:c})=>({x:n,y:i,width:s-n,height:c-i}),TM=(n,i=[0,0])=>{var d,g;const{x:s,y:c}=N5e(n)?n.internals.positionAbsolute:Sz(n,i);return{x:s,y:c,width:((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0,height:((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0}},qoe=(n,i=[0,0])=>{var d,g;const{x:s,y:c}=N5e(n)?n.internals.positionAbsolute:Sz(n,i);return{x:s,y:c,x2:s+(((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0),y2:c+(((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0)}},nzt=(n,i)=>Xse(Jse(pDe(n),pDe(i))),JH=(n,i)=>{const s=Math.max(0,Math.min(n.x+n.width,i.x+i.width)-Math.max(n.x,i.x)),c=Math.max(0,Math.min(n.y+n.height,i.y+i.height)-Math.max(n.y,i.y));return Math.ceil(s*c)},FMt=n=>Rv(n.width)&&Rv(n.height)&&Rv(n.x)&&Rv(n.y),Rv=n=>!isNaN(n)&&isFinite(n),mLn=(n,i)=>{},Az=(n,i=[1,1])=>({x:i[0]*Math.round(n.x/i[0]),y:i[1]*Math.round(n.y/i[1])}),_z=({x:n,y:i},[s,c,d],g=!1,b=[1,1])=>{const w={x:(n-s)/d,y:(i-c)/d};return g?Az(w,b):w},Voe=({x:n,y:i},[s,c,d])=>({x:n*d+s,y:i*d+c});function m5(n,i){if(typeof n=="number")return Math.floor((i-i/(1+n))*.5);if(typeof n=="string"&&n.endsWith("px")){const s=parseFloat(n);if(!Number.isNaN(s))return Math.floor(s)}if(typeof n=="string"&&n.endsWith("%")){const s=parseFloat(n);if(!Number.isNaN(s))return Math.floor(i*s*.01)}return console.error(`[React Flow] The padding value "${n}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function wLn(n,i,s){if(typeof n=="string"||typeof n=="number"){const c=m5(n,s),d=m5(n,i);return{top:c,right:d,bottom:c,left:d,x:d*2,y:c*2}}if(typeof n=="object"){const c=m5(n.top??n.y??0,s),d=m5(n.bottom??n.y??0,s),g=m5(n.left??n.x??0,i),b=m5(n.right??n.x??0,i);return{top:c,right:b,bottom:d,left:g,x:g+b,y:c+d}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function yLn(n,i,s,c,d,g){const{x:b,y:w}=Voe(n,[i,s,c]),{x:E,y:S}=Voe({x:n.x+n.width,y:n.y+n.height},[i,s,c]),x=d-E,A=g-S;return{left:Math.floor(b),top:Math.floor(w),right:Math.floor(x),bottom:Math.floor(A)}}const I5e=(n,i,s,c,d,g)=>{const b=wLn(g,i,s),w=(i-b.x)/n.width,E=(s-b.y)/n.height,S=Math.min(w,E),x=SM(S,c,d),A=n.x+n.width/2,C=n.y+n.height/2,R=i/2-A*x,L=s/2-C*x,D=yLn(n,R,L,x,i,s),B={left:Math.min(D.left-b.left,0),top:Math.min(D.top-b.top,0),right:Math.min(D.right-b.right,0),bottom:Math.min(D.bottom-b.bottom,0)};return{x:R-B.left+B.right,y:L-B.top+B.bottom,zoom:x}},XH=()=>{var n;return typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)==null?void 0:n.indexOf("Mac"))>=0};function AM(n){return n!=null&&n!=="parent"}function _A(n){var i,s;return{width:((i=n.measured)==null?void 0:i.width)??n.width??n.initialWidth??0,height:((s=n.measured)==null?void 0:s.height)??n.height??n.initialHeight??0}}function rzt(n){var i,s;return(((i=n.measured)==null?void 0:i.width)??n.width??n.initialWidth)!==void 0&&(((s=n.measured)==null?void 0:s.height)??n.height??n.initialHeight)!==void 0}function izt(n,i={width:0,height:0},s,c,d){const g={...n},b=c.get(s);if(b){const w=b.origin||d;g.x+=b.internals.positionAbsolute.x-(i.width??0)*w[0],g.y+=b.internals.positionAbsolute.y-(i.height??0)*w[1]}return g}function $Mt(n,i){if(n.size!==i.size)return!1;for(const s of n)if(!i.has(s))return!1;return!0}function vLn(){let n,i;return{promise:new Promise((c,d)=>{n=c,i=d}),resolve:n,reject:i}}function ELn(n){return{...YHt,...n||{}}}function yH(n,{snapGrid:i=[0,0],snapToGrid:s=!1,transform:c,containerBounds:d}){const{x:g,y:b}=Ov(n),w=_z({x:g-((d==null?void 0:d.left)??0),y:b-((d==null?void 0:d.top)??0)},c),{x:E,y:S}=s?Az(w,i):w;return{xSnapped:E,ySnapped:S,...w}}const R5e=n=>({width:n.offsetWidth,height:n.offsetHeight}),ozt=n=>{var i;return((i=n==null?void 0:n.getRootNode)==null?void 0:i.call(n))||(window==null?void 0:window.document)},SLn=["INPUT","SELECT","TEXTAREA"];function szt(n){var c,d;const i=((d=(c=n.composedPath)==null?void 0:c.call(n))==null?void 0:d[0])||n.target;return(i==null?void 0:i.nodeType)!==1?!1:SLn.includes(i.nodeName)||i.hasAttribute("contenteditable")||!!i.closest(".nokey")}const azt=n=>"clientX"in n,Ov=(n,i)=>{var g,b;const s=azt(n),c=s?n.clientX:(g=n.touches)==null?void 0:g[0].clientX,d=s?n.clientY:(b=n.touches)==null?void 0:b[0].clientY;return{x:c-((i==null?void 0:i.left)??0),y:d-((i==null?void 0:i.top)??0)}},BMt=(n,i,s,c,d)=>{const g=i.querySelectorAll(`.${n}`);return!g||!g.length?null:Array.from(g).map(b=>{const w=b.getBoundingClientRect();return{id:b.getAttribute("data-handleid"),type:n,nodeId:d,position:b.getAttribute("data-handlepos"),x:(w.left-s.left)/c,y:(w.top-s.top)/c,...R5e(b)}})};function uzt({sourceX:n,sourceY:i,targetX:s,targetY:c,sourceControlX:d,sourceControlY:g,targetControlX:b,targetControlY:w}){const E=n*.125+d*.375+b*.375+s*.125,S=i*.125+g*.375+w*.375+c*.125,x=Math.abs(E-n),A=Math.abs(S-i);return[E,S,x,A]}function bie(n,i){return n>=0?.5*n:i*25*Math.sqrt(-n)}function UMt({pos:n,x1:i,y1:s,x2:c,y2:d,c:g}){switch(n){case qr.Left:return[i-bie(i-c,g),s];case qr.Right:return[i+bie(c-i,g),s];case qr.Top:return[i,s-bie(s-d,g)];case qr.Bottom:return[i,s+bie(d-s,g)]}}function czt({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:c,targetY:d,targetPosition:g=qr.Top,curvature:b=.25}){const[w,E]=UMt({pos:s,x1:n,y1:i,x2:c,y2:d,c:b}),[S,x]=UMt({pos:g,x1:c,y1:d,x2:n,y2:i,c:b}),[A,C,R,L]=uzt({sourceX:n,sourceY:i,targetX:c,targetY:d,sourceControlX:w,sourceControlY:E,targetControlX:S,targetControlY:x});return[`M${n},${i} C${w},${E} ${S},${x} ${c},${d}`,A,C,R,L]}function lzt({sourceX:n,sourceY:i,targetX:s,targetY:c}){const d=Math.abs(s-n)/2,g=s<n?s+d:s-d,b=Math.abs(c-i)/2,w=c<i?c+b:c-b;return[g,w,d,b]}function TLn({sourceNode:n,targetNode:i,selected:s=!1,zIndex:c=0,elevateOnSelect:d=!1,zIndexMode:g="basic"}){if(g==="manual")return c;const b=d&&s?c+1e3:c,w=Math.max(n.parentId||d&&n.selected?n.internals.z:0,i.parentId||d&&i.selected?i.internals.z:0);return b+w}function ALn({sourceNode:n,targetNode:i,width:s,height:c,transform:d}){const g=Jse(qoe(n),qoe(i));g.x===g.x2&&(g.x2+=1),g.y===g.y2&&(g.y2+=1);const b={x:-d[0]/d[2],y:-d[1]/d[2],width:s/d[2],height:c/d[2]};return JH(b,Xse(g))>0}const _Ln=({source:n,sourceHandle:i,target:s,targetHandle:c})=>`xy-edge__${n}${i||""}-${s}${c||""}`,xLn=(n,i)=>i.some(s=>s.source===n.source&&s.target===n.target&&(s.sourceHandle===n.sourceHandle||!s.sourceHandle&&!n.sourceHandle)&&(s.targetHandle===n.targetHandle||!s.targetHandle&&!n.targetHandle)),dzt=(n,i,s={})=>{if(!n.source||!n.target)return i;const c=s.getEdgeId||_Ln;let d;return ZHt(n)?d={...n}:d={...n,id:c(n)},xLn(d,i)?i:(d.sourceHandle===null&&delete d.sourceHandle,d.targetHandle===null&&delete d.targetHandle,i.concat(d))};function fzt({sourceX:n,sourceY:i,targetX:s,targetY:c}){const[d,g,b,w]=lzt({sourceX:n,sourceY:i,targetX:s,targetY:c});return[`M ${n},${i}L ${s},${c}`,d,g,b,w]}const HMt={[qr.Left]:{x:-1,y:0},[qr.Right]:{x:1,y:0},[qr.Top]:{x:0,y:-1},[qr.Bottom]:{x:0,y:1}},kLn=({source:n,sourcePosition:i=qr.Bottom,target:s})=>i===qr.Left||i===qr.Right?n.x<s.x?{x:1,y:0}:{x:-1,y:0}:n.y<s.y?{x:0,y:1}:{x:0,y:-1},zMt=(n,i)=>Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2));function NLn({source:n,sourcePosition:i=qr.Bottom,target:s,targetPosition:c=qr.Top,center:d,offset:g,stepPosition:b}){const w=HMt[i],E=HMt[c],S={x:n.x+w.x*g,y:n.y+w.y*g},x={x:s.x+E.x*g,y:s.y+E.y*g},A=kLn({source:S,sourcePosition:i,target:x}),C=A.x!==0?"x":"y",R=A[C];let L=[],D,B;const $={x:0,y:0},j={x:0,y:0},[,,P,G]=lzt({sourceX:n.x,sourceY:n.y,targetX:s.x,targetY:s.y});if(w[C]*E[C]===-1){C==="x"?(D=d.x??S.x+(x.x-S.x)*b,B=d.y??(S.y+x.y)/2):(D=d.x??(S.x+x.x)/2,B=d.y??S.y+(x.y-S.y)*b);const re=[{x:D,y:S.y},{x:D,y:x.y}],Q=[{x:S.x,y:B},{x:x.x,y:B}];w[C]===R?L=C==="x"?re:Q:L=C==="x"?Q:re}else{const re=[{x:S.x,y:x.y}],Q=[{x:x.x,y:S.y}];if(C==="x"?L=w.x===R?Q:re:L=w.y===R?re:Q,i===c){const fe=Math.abs(n[C]-s[C]);if(fe<=g){const K=Math.min(g-1,g-fe);w[C]===R?$[C]=(S[C]>n[C]?-1:1)*K:j[C]=(x[C]>s[C]?-1:1)*K}}if(i!==c){const fe=C==="x"?"y":"x",K=w[C]===E[fe],he=S[fe]>x[fe],Oe=S[fe]<x[fe];(w[C]===1&&(!K&&he||K&&Oe)||w[C]!==1&&(!K&&Oe||K&&he))&&(L=C==="x"?re:Q)}const ie={x:S.x+$.x,y:S.y+$.y},pe={x:x.x+j.x,y:x.y+j.y},me=Math.max(Math.abs(ie.x-L[0].x),Math.abs(pe.x-L[0].x)),le=Math.max(Math.abs(ie.y-L[0].y),Math.abs(pe.y-L[0].y));me>=le?(D=(ie.x+pe.x)/2,B=L[0].y):(D=L[0].x,B=(ie.y+pe.y)/2)}return[[n,{x:S.x+$.x,y:S.y+$.y},...L,{x:x.x+j.x,y:x.y+j.y},s],D,B,P,G]}function CLn(n,i,s,c){const d=Math.min(zMt(n,i)/2,zMt(i,s)/2,c),{x:g,y:b}=i;if(n.x===g&&g===s.x||n.y===b&&b===s.y)return`L${g} ${b}`;if(n.y===b){const S=n.x<s.x?-1:1,x=n.y<s.y?1:-1;return`L ${g+d*S},${b}Q ${g},${b} ${g},${b+d*x}`}const w=n.x<s.x?1:-1,E=n.y<s.y?-1:1;return`L ${g},${b+d*E}Q ${g},${b} ${g+d*w},${b}`}function Woe({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:c,targetY:d,targetPosition:g=qr.Top,borderRadius:b=5,centerX:w,centerY:E,offset:S=20,stepPosition:x=.5}){const[A,C,R,L,D]=NLn({source:{x:n,y:i},sourcePosition:s,target:{x:c,y:d},targetPosition:g,center:{x:w,y:E},offset:S,stepPosition:x});return[A.reduce(($,j,P)=>{let G="";return P>0&&P<A.length-1?G=CLn(A[P-1],j,A[P+1],b):G=`${P===0?"M":"L"}${j.x} ${j.y}`,$+=G,$},""),C,R,L,D]}function GMt(n){var i;return n&&!!(n.internals.handleBounds||(i=n.handles)!=null&&i.length)&&!!(n.measured.width||n.width||n.initialWidth)}function ILn(n){var A;const{sourceNode:i,targetNode:s}=n;if(!GMt(i)||!GMt(s))return null;const c=i.internals.handleBounds||qMt(i.handles),d=s.internals.handleBounds||qMt(s.handles),g=VMt((c==null?void 0:c.source)??[],n.sourceHandle),b=VMt(n.connectionMode===EM.Strict?(d==null?void 0:d.target)??[]:((d==null?void 0:d.target)??[]).concat((d==null?void 0:d.source)??[]),n.targetHandle);if(!g||!b)return(A=n.onError)==null||A.call(n,"008",z2.error008(g?"target":"source",{id:n.id,sourceHandle:n.sourceHandle,targetHandle:n.targetHandle})),null;const w=(g==null?void 0:g.position)||qr.Bottom,E=(b==null?void 0:b.position)||qr.Top,S=pR(i,g,w),x=pR(s,b,E);return{sourceX:S.x,sourceY:S.y,targetX:x.x,targetY:x.y,sourcePosition:w,targetPosition:E}}function qMt(n){if(!n)return null;const i=[],s=[];for(const c of n)c.width=c.width??1,c.height=c.height??1,c.type==="source"?i.push(c):c.type==="target"&&s.push(c);return{source:i,target:s}}function pR(n,i,s=qr.Left,c=!1){const d=((i==null?void 0:i.x)??0)+n.internals.positionAbsolute.x,g=((i==null?void 0:i.y)??0)+n.internals.positionAbsolute.y,{width:b,height:w}=i??_A(n);if(c)return{x:d+b/2,y:g+w/2};switch((i==null?void 0:i.position)??s){case qr.Top:return{x:d+b/2,y:g};case qr.Right:return{x:d+b,y:g+w/2};case qr.Bottom:return{x:d+b/2,y:g+w};case qr.Left:return{x:d,y:g+w/2}}}function VMt(n,i){return n&&(i?n.find(s=>s.id===i):n[0])||null}function gDe(n,i){return n?typeof n=="string"?n:`${i?`${i}__`:""}${Object.keys(n).sort().map(c=>`${c}=${n[c]}`).join("&")}`:""}function RLn(n,{id:i,defaultColor:s,defaultMarkerStart:c,defaultMarkerEnd:d}){const g=new Set;return n.reduce((b,w)=>([w.markerStart||c,w.markerEnd||d].forEach(E=>{if(E&&typeof E=="object"){const S=gDe(E,i);g.has(S)||(b.push({id:S,color:E.color||s,...E}),g.add(S))}}),b),[]).sort((b,w)=>b.id.localeCompare(w.id))}const hzt=1e3,OLn=10,O5e={nodeOrigin:[0,0],nodeExtent:KH,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},DLn={...O5e,checkEquality:!0};function D5e(n,i){const s={...n};for(const c in i)i[c]!==void 0&&(s[c]=i[c]);return s}function LLn(n,i,s){const c=D5e(O5e,s);for(const d of n.values())if(d.parentId)M5e(d,n,i,c);else{const g=Sz(d,c.nodeOrigin),b=AM(d.extent)?d.extent:c.nodeExtent,w=hR(g,b,_A(d));d.internals.positionAbsolute=w}}function MLn(n,i){if(!n.handles)return n.measured?i==null?void 0:i.internals.handleBounds:void 0;const s=[],c=[];for(const d of n.handles){const g={id:d.id,width:d.width??1,height:d.height??1,nodeId:n.id,x:d.x,y:d.y,position:d.position,type:d.type};d.type==="source"?s.push(g):d.type==="target"&&c.push(g)}return{source:s,target:c}}function L5e(n){return n==="manual"}function bDe(n,i,s,c={}){var S,x;const d=D5e(DLn,c),g={i:0},b=new Map(i),w=d!=null&&d.elevateNodesOnSelect&&!L5e(d.zIndexMode)?hzt:0;let E=n.length>0;i.clear(),s.clear();for(const A of n){let C=b.get(A.id);if(d.checkEquality&&A===(C==null?void 0:C.internals.userNode))i.set(A.id,C);else{const R=Sz(A,d.nodeOrigin),L=AM(A.extent)?A.extent:d.nodeExtent,D=hR(R,L,_A(A));C={...d.defaults,...A,measured:{width:(S=A.measured)==null?void 0:S.width,height:(x=A.measured)==null?void 0:x.height},internals:{positionAbsolute:D,handleBounds:MLn(A,C),z:pzt(A,w,d.zIndexMode),userNode:A}},i.set(A.id,C)}(C.measured===void 0||C.measured.width===void 0||C.measured.height===void 0)&&!C.hidden&&(E=!1),A.parentId&&M5e(C,i,s,c,g)}return E}function PLn(n,i){if(!n.parentId)return;const s=i.get(n.parentId);s?s.set(n.id,n):i.set(n.parentId,new Map([[n.id,n]]))}function M5e(n,i,s,c,d){const{elevateNodesOnSelect:g,nodeOrigin:b,nodeExtent:w,zIndexMode:E}=D5e(O5e,c),S=n.parentId,x=i.get(S);if(!x){console.warn(`Parent node ${S} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}PLn(n,s),d&&!x.parentId&&x.internals.rootParentIndex===void 0&&E==="auto"&&(x.internals.rootParentIndex=++d.i,x.internals.z=x.internals.z+d.i*OLn),d&&x.internals.rootParentIndex!==void 0&&(d.i=x.internals.rootParentIndex);const A=g&&!L5e(E)?hzt:0,{x:C,y:R,z:L}=jLn(n,x,b,w,A,E),{positionAbsolute:D}=n.internals,B=C!==D.x||R!==D.y;(B||L!==n.internals.z)&&i.set(n.id,{...n,internals:{...n.internals,positionAbsolute:B?{x:C,y:R}:D,z:L}})}function pzt(n,i,s){const c=Rv(n.zIndex)?n.zIndex:0;return L5e(s)?c:c+(n.selected?i:0)}function jLn(n,i,s,c,d,g){const{x:b,y:w}=i.internals.positionAbsolute,E=_A(n),S=Sz(n,s),x=AM(n.extent)?hR(S,n.extent,E):S;let A=hR({x:b+x.x,y:w+x.y},c,E);n.extent==="parent"&&(A=ezt(A,E,i));const C=pzt(n,d,g),R=i.internals.z??0;return{x:A.x,y:A.y,z:R>=C?R+1:C}}function P5e(n,i,s,c=[0,0]){var b;const d=[],g=new Map;for(const w of n){const E=i.get(w.parentId);if(!E)continue;const S=((b=g.get(w.parentId))==null?void 0:b.expandedRect)??TM(E),x=nzt(S,w.rect);g.set(w.parentId,{expandedRect:x,parent:E})}return g.size>0&&g.forEach(({expandedRect:w,parent:E},S)=>{var P;const x=E.internals.positionAbsolute,A=_A(E),C=E.origin??c,R=w.x<x.x?Math.round(Math.abs(x.x-w.x)):0,L=w.y<x.y?Math.round(Math.abs(x.y-w.y)):0,D=Math.max(A.width,Math.round(w.width)),B=Math.max(A.height,Math.round(w.height)),$=(D-A.width)*C[0],j=(B-A.height)*C[1];(R>0||L>0||$||j)&&(d.push({id:S,type:"position",position:{x:E.position.x-R+$,y:E.position.y-L+j}}),(P=s.get(S))==null||P.forEach(G=>{n.some(ee=>ee.id===G.id)||d.push({id:G.id,type:"position",position:{x:G.position.x+R,y:G.position.y+L}})})),(A.width<w.width||A.height<w.height||R||L)&&d.push({id:S,type:"dimensions",setAttributes:!0,dimensions:{width:D+(R?C[0]*R-$:0),height:B+(L?C[1]*L-j:0)}})}),d}function FLn(n,i,s,c,d,g,b){const w=c==null?void 0:c.querySelector(".xyflow__viewport");let E=!1;if(!w)return{changes:[],updatedInternals:E};const S=[],x=window.getComputedStyle(w),{m22:A}=new window.DOMMatrixReadOnly(x.transform),C=[];for(const R of n.values()){const L=i.get(R.id);if(!L)continue;if(L.hidden){i.set(L.id,{...L,internals:{...L.internals,handleBounds:void 0}}),E=!0;continue}const D=R5e(R.nodeElement),B=L.measured.width!==D.width||L.measured.height!==D.height;if(!!(D.width&&D.height&&(B||!L.internals.handleBounds||R.force))){const j=R.nodeElement.getBoundingClientRect(),P=AM(L.extent)?L.extent:g;let{positionAbsolute:G}=L.internals;L.parentId&&L.extent==="parent"?G=ezt(G,D,i.get(L.parentId)):P&&(G=hR(G,P,D));const ee={...L,measured:D,internals:{...L.internals,positionAbsolute:G,handleBounds:{source:BMt("source",R.nodeElement,j,A,L.id),target:BMt("target",R.nodeElement,j,A,L.id)}}};i.set(L.id,ee),L.parentId&&M5e(ee,i,s,{nodeOrigin:d,zIndexMode:b}),E=!0,B&&(S.push({id:L.id,type:"dimensions",dimensions:D}),L.expandParent&&L.parentId&&C.push({id:L.id,parentId:L.parentId,rect:TM(ee,d)}))}}if(C.length>0){const R=P5e(C,i,s,d);S.push(...R)}return{changes:S,updatedInternals:E}}async function $Ln({delta:n,panZoom:i,transform:s,translateExtent:c,width:d,height:g}){if(!i||!n.x&&!n.y)return Promise.resolve(!1);const b=await i.setViewportConstrained({x:s[0]+n.x,y:s[1]+n.y,zoom:s[2]},[[0,0],[d,g]],c),w=!!b&&(b.x!==s[0]||b.y!==s[1]||b.k!==s[2]);return Promise.resolve(w)}function WMt(n,i,s,c,d,g){let b=d;const w=c.get(b)||new Map;c.set(b,w.set(s,i)),b=`${d}-${n}`;const E=c.get(b)||new Map;if(c.set(b,E.set(s,i)),g){b=`${d}-${n}-${g}`;const S=c.get(b)||new Map;c.set(b,S.set(s,i))}}function gzt(n,i,s){n.clear(),i.clear();for(const c of s){const{source:d,target:g,sourceHandle:b=null,targetHandle:w=null}=c,E={edgeId:c.id,source:d,target:g,sourceHandle:b,targetHandle:w},S=`${d}-${b}--${g}-${w}`,x=`${g}-${w}--${d}-${b}`;WMt("source",E,x,n,d,b),WMt("target",E,S,n,g,w),i.set(c.id,c)}}function bzt(n,i){if(!n.parentId)return!1;const s=i.get(n.parentId);return s?s.selected?!0:bzt(s,i):!1}function KMt(n,i,s){var d;let c=n;do{if((d=c==null?void 0:c.matches)!=null&&d.call(c,i))return!0;if(c===s)return!1;c=c==null?void 0:c.parentElement}while(c);return!1}function BLn(n,i,s,c){const d=new Map;for(const[g,b]of n)if((b.selected||b.id===c)&&(!b.parentId||!bzt(b,n))&&(b.draggable||i&&typeof b.draggable>"u")){const w=n.get(g);w&&d.set(g,{id:g,position:w.position||{x:0,y:0},distance:{x:s.x-w.internals.positionAbsolute.x,y:s.y-w.internals.positionAbsolute.y},extent:w.extent,parentId:w.parentId,origin:w.origin,expandParent:w.expandParent,internals:{positionAbsolute:w.internals.positionAbsolute||{x:0,y:0}},measured:{width:w.measured.width??0,height:w.measured.height??0}})}return d}function UCe({nodeId:n,dragItems:i,nodeLookup:s,dragging:c=!0}){var b,w,E;const d=[];for(const[S,x]of i){const A=(b=s.get(S))==null?void 0:b.internals.userNode;A&&d.push({...A,position:x.position,dragging:c})}if(!n)return[d[0],d];const g=(w=s.get(n))==null?void 0:w.internals.userNode;return[g?{...g,position:((E=i.get(n))==null?void 0:E.position)||g.position,dragging:c}:d[0],d]}function ULn({dragItems:n,snapGrid:i,x:s,y:c}){const d=n.values().next().value;if(!d)return null;const g={x:s-d.distance.x,y:c-d.distance.y},b=Az(g,i);return{x:b.x-g.x,y:b.y-g.y}}function HLn({onNodeMouseDown:n,getStoreItems:i,onDragStart:s,onDrag:c,onDragStop:d}){let g={x:null,y:null},b=0,w=new Map,E=!1,S={x:0,y:0},x=null,A=!1,C=null,R=!1,L=!1,D=null;function B({noDragClassName:j,handleSelector:P,domNode:G,isSelectable:ee,nodeId:re,nodeClickDistance:Q=0}){C=jm(G);function ie({x:fe,y:K}){const{nodeLookup:he,nodeExtent:Oe,snapGrid:Se,snapToGrid:Le,nodeOrigin:Ae,onNodeDrag:xe,onSelectionDrag:We,onError:dt,updateNodePositions:Ue}=i();g={x:fe,y:K};let bt=!1;const kt=w.size>1,ht=kt&&Oe?pDe(Tz(w)):null,Xt=kt&&Le?ULn({dragItems:w,snapGrid:Se,x:fe,y:K}):null;for(const[vt,Ct]of w){if(!he.has(vt))continue;let Ft={x:fe-Ct.distance.x,y:K-Ct.distance.y};Le&&(Ft=Xt?{x:Math.round(Ft.x+Xt.x),y:Math.round(Ft.y+Xt.y)}:Az(Ft,Se));let On=null;if(kt&&Oe&&!Ct.extent&&ht){const{positionAbsolute:vr}=Ct.internals,Ui=vr.x-ht.x+Oe[0][0],Qr=vr.x+Ct.measured.width-ht.x2+Oe[1][0],Hi=vr.y-ht.y+Oe[0][1],ai=vr.y+Ct.measured.height-ht.y2+Oe[1][1];On=[[Ui,Hi],[Qr,ai]]}const{position:Zn,positionAbsolute:Yn}=QHt({nodeId:vt,nextPosition:Ft,nodeLookup:he,nodeExtent:On||Oe,nodeOrigin:Ae,onError:dt});bt=bt||Ct.position.x!==Zn.x||Ct.position.y!==Zn.y,Ct.position=Zn,Ct.internals.positionAbsolute=Yn}if(L=L||bt,!!bt&&(Ue(w,!0),D&&(c||xe||!re&&We))){const[vt,Ct]=UCe({nodeId:re,dragItems:w,nodeLookup:he});c==null||c(D,w,vt,Ct),xe==null||xe(D,vt,Ct),re||We==null||We(D,Ct)}}async function pe(){if(!x)return;const{transform:fe,panBy:K,autoPanSpeed:he,autoPanOnNodeDrag:Oe}=i();if(!Oe){E=!1,cancelAnimationFrame(b);return}const[Se,Le]=tzt(S,x,he);(Se!==0||Le!==0)&&(g.x=(g.x??0)-Se/fe[2],g.y=(g.y??0)-Le/fe[2],await K({x:Se,y:Le})&&ie(g)),b=requestAnimationFrame(pe)}function me(fe){var kt;const{nodeLookup:K,multiSelectionActive:he,nodesDraggable:Oe,transform:Se,snapGrid:Le,snapToGrid:Ae,selectNodesOnDrag:xe,onNodeDragStart:We,onSelectionDragStart:dt,unselectNodesAndEdges:Ue}=i();A=!0,(!xe||!ee)&&!he&&re&&((kt=K.get(re))!=null&&kt.selected||Ue()),ee&&xe&&re&&(n==null||n(re));const bt=yH(fe.sourceEvent,{transform:Se,snapGrid:Le,snapToGrid:Ae,containerBounds:x});if(g=bt,w=BLn(K,Oe,bt,re),w.size>0&&(s||We||!re&&dt)){const[ht,Xt]=UCe({nodeId:re,dragItems:w,nodeLookup:K});s==null||s(fe.sourceEvent,w,ht,Xt),We==null||We(fe.sourceEvent,ht,Xt),re||dt==null||dt(fe.sourceEvent,Xt)}}const le=OHt().clickDistance(Q).on("start",fe=>{const{domNode:K,nodeDragThreshold:he,transform:Oe,snapGrid:Se,snapToGrid:Le}=i();x=(K==null?void 0:K.getBoundingClientRect())||null,R=!1,L=!1,D=fe.sourceEvent,he===0&&me(fe),g=yH(fe.sourceEvent,{transform:Oe,snapGrid:Se,snapToGrid:Le,containerBounds:x}),S=Ov(fe.sourceEvent,x)}).on("drag",fe=>{const{autoPanOnNodeDrag:K,transform:he,snapGrid:Oe,snapToGrid:Se,nodeDragThreshold:Le,nodeLookup:Ae}=i(),xe=yH(fe.sourceEvent,{transform:he,snapGrid:Oe,snapToGrid:Se,containerBounds:x});if(D=fe.sourceEvent,(fe.sourceEvent.type==="touchmove"&&fe.sourceEvent.touches.length>1||re&&!Ae.has(re))&&(R=!0),!R){if(!E&&K&&A&&(E=!0,pe()),!A){const We=Ov(fe.sourceEvent,x),dt=We.x-S.x,Ue=We.y-S.y;Math.sqrt(dt*dt+Ue*Ue)>Le&&me(fe)}(g.x!==xe.xSnapped||g.y!==xe.ySnapped)&&w&&A&&(S=Ov(fe.sourceEvent,x),ie(xe))}}).on("end",fe=>{if(!(!A||R)&&(E=!1,A=!1,cancelAnimationFrame(b),w.size>0)){const{nodeLookup:K,updateNodePositions:he,onNodeDragStop:Oe,onSelectionDragStop:Se}=i();if(L&&(he(w,!1),L=!1),d||Oe||!re&&Se){const[Le,Ae]=UCe({nodeId:re,dragItems:w,nodeLookup:K,dragging:!1});d==null||d(fe.sourceEvent,w,Le,Ae),Oe==null||Oe(fe.sourceEvent,Le,Ae),re||Se==null||Se(fe.sourceEvent,Ae)}}}).filter(fe=>{const K=fe.target;return!fe.button&&(!j||!KMt(K,`.${j}`,G))&&(!P||KMt(K,P,G))});C.call(le)}function $(){C==null||C.on(".drag",null)}return{update:B,destroy:$}}function zLn(n,i,s){const c=[],d={x:n.x-s,y:n.y-s,width:s*2,height:s*2};for(const g of i.values())JH(d,TM(g))>0&&c.push(g);return c}const GLn=250;function qLn(n,i,s,c){var w,E;let d=[],g=1/0;const b=zLn(n,s,i+GLn);for(const S of b){const x=[...((w=S.internals.handleBounds)==null?void 0:w.source)??[],...((E=S.internals.handleBounds)==null?void 0:E.target)??[]];for(const A of x){if(c.nodeId===A.nodeId&&c.type===A.type&&c.id===A.id)continue;const{x:C,y:R}=pR(S,A,A.position,!0),L=Math.sqrt(Math.pow(C-n.x,2)+Math.pow(R-n.y,2));L>i||(L<g?(d=[{...A,x:C,y:R}],g=L):L===g&&d.push({...A,x:C,y:R}))}}if(!d.length)return null;if(d.length>1){const S=c.type==="source"?"target":"source";return d.find(x=>x.type===S)??d[0]}return d[0]}function mzt(n,i,s,c,d,g=!1){var S,x,A;const b=c.get(n);if(!b)return null;const w=d==="strict"?(S=b.internals.handleBounds)==null?void 0:S[i]:[...((x=b.internals.handleBounds)==null?void 0:x.source)??[],...((A=b.internals.handleBounds)==null?void 0:A.target)??[]],E=(s?w==null?void 0:w.find(C=>C.id===s):w==null?void 0:w[0])??null;return E&&g?{...E,...pR(b,E,E.position,!0)}:E}function wzt(n,i){return n||(i!=null&&i.classList.contains("target")?"target":i!=null&&i.classList.contains("source")?"source":null)}function VLn(n,i){let s=null;return i?s=!0:n&&!i&&(s=!1),s}const yzt=()=>!0;function WLn(n,{connectionMode:i,connectionRadius:s,handleId:c,nodeId:d,edgeUpdaterType:g,isTarget:b,domNode:w,nodeLookup:E,lib:S,autoPanOnConnect:x,flowId:A,panBy:C,cancelConnection:R,onConnectStart:L,onConnect:D,onConnectEnd:B,isValidConnection:$=yzt,onReconnectEnd:j,updateConnection:P,getTransform:G,getFromHandle:ee,autoPanSpeed:re,dragThreshold:Q=1,handleDomNode:ie}){const pe=ozt(n.target);let me=0,le;const{x:fe,y:K}=Ov(n),he=wzt(g,ie),Oe=w==null?void 0:w.getBoundingClientRect();let Se=!1;if(!Oe||!he)return;const Le=mzt(d,he,c,E,i);if(!Le)return;let Ae=Ov(n,Oe),xe=!1,We=null,dt=!1,Ue=null;function bt(){if(!x||!Oe)return;const[Zn,Yn]=tzt(Ae,Oe,re);C({x:Zn,y:Yn}),me=requestAnimationFrame(bt)}const kt={...Le,nodeId:d,type:he,position:Le.position},ht=E.get(d);let vt={inProgress:!0,isValid:null,from:pR(ht,kt,qr.Left,!0),fromHandle:kt,fromPosition:kt.position,fromNode:ht,to:Ae,toHandle:null,toPosition:PMt[kt.position],toNode:null,pointer:Ae};function Ct(){Se=!0,P(vt),L==null||L(n,{nodeId:d,handleId:c,handleType:he})}Q===0&&Ct();function Ft(Zn){if(!Se){const{x:ai,y:jc}=Ov(Zn),Xs=ai-fe,ls=jc-K;if(!(Xs*Xs+ls*ls>Q*Q))return;Ct()}if(!ee()||!kt){On(Zn);return}const Yn=G();Ae=Ov(Zn,Oe),le=qLn(_z(Ae,Yn,!1,[1,1]),s,E,kt),xe||(bt(),xe=!0);const vr=vzt(Zn,{handle:le,connectionMode:i,fromNodeId:d,fromHandleId:c,fromType:b?"target":"source",isValidConnection:$,doc:pe,lib:S,flowId:A,nodeLookup:E});Ue=vr.handleDomNode,We=vr.connection,dt=VLn(!!le,vr.isValid);const Ui=E.get(d),Qr=Ui?pR(Ui,kt,qr.Left,!0):vt.from,Hi={...vt,from:Qr,isValid:dt,to:vr.toHandle&&dt?Voe({x:vr.toHandle.x,y:vr.toHandle.y},Yn):Ae,toHandle:vr.toHandle,toPosition:dt&&vr.toHandle?vr.toHandle.position:PMt[kt.position],toNode:vr.toHandle?E.get(vr.toHandle.nodeId):null,pointer:Ae};P(Hi),vt=Hi}function On(Zn){if(!("touches"in Zn&&Zn.touches.length>0)){if(Se){(le||Ue)&&We&&dt&&(D==null||D(We));const{inProgress:Yn,...vr}=vt,Ui={...vr,toPosition:vt.toHandle?vt.toPosition:null};B==null||B(Zn,Ui),g&&(j==null||j(Zn,Ui))}R(),cancelAnimationFrame(me),xe=!1,dt=!1,We=null,Ue=null,pe.removeEventListener("mousemove",Ft),pe.removeEventListener("mouseup",On),pe.removeEventListener("touchmove",Ft),pe.removeEventListener("touchend",On)}}pe.addEventListener("mousemove",Ft),pe.addEventListener("mouseup",On),pe.addEventListener("touchmove",Ft),pe.addEventListener("touchend",On)}function vzt(n,{handle:i,connectionMode:s,fromNodeId:c,fromHandleId:d,fromType:g,doc:b,lib:w,flowId:E,isValidConnection:S=yzt,nodeLookup:x}){const A=g==="target",C=i?b.querySelector(`.${w}-flow__handle[data-id="${E}-${i==null?void 0:i.nodeId}-${i==null?void 0:i.id}-${i==null?void 0:i.type}"]`):null,{x:R,y:L}=Ov(n),D=b.elementFromPoint(R,L),B=D!=null&&D.classList.contains(`${w}-flow__handle`)?D:C,$={handleDomNode:B,isValid:!1,connection:null,toHandle:null};if(B){const j=wzt(void 0,B),P=B.getAttribute("data-nodeid"),G=B.getAttribute("data-handleid"),ee=B.classList.contains("connectable"),re=B.classList.contains("connectableend");if(!P||!j)return $;const Q={source:A?P:c,sourceHandle:A?G:d,target:A?c:P,targetHandle:A?d:G};$.connection=Q;const pe=ee&&re&&(s===EM.Strict?A&&j==="source"||!A&&j==="target":P!==c||G!==d);$.isValid=pe&&S(Q),$.toHandle=mzt(P,j,G,x,s,!0)}return $}const mDe={onPointerDown:WLn,isValid:vzt};function KLn({domNode:n,panZoom:i,getTransform:s,getViewScale:c}){const d=jm(n);function g({translateExtent:w,width:E,height:S,zoomStep:x=1,pannable:A=!0,zoomable:C=!0,inversePan:R=!1}){const L=P=>{if(P.sourceEvent.type!=="wheel"||!i)return;const G=s(),ee=P.sourceEvent.ctrlKey&&XH()?10:1,re=-P.sourceEvent.deltaY*(P.sourceEvent.deltaMode===1?.05:P.sourceEvent.deltaMode?1:.002)*x,Q=G[2]*Math.pow(2,re*ee);i.scaleTo(Q)};let D=[0,0];const B=P=>{(P.sourceEvent.type==="mousedown"||P.sourceEvent.type==="touchstart")&&(D=[P.sourceEvent.clientX??P.sourceEvent.touches[0].clientX,P.sourceEvent.clientY??P.sourceEvent.touches[0].clientY])},$=P=>{const G=s();if(P.sourceEvent.type!=="mousemove"&&P.sourceEvent.type!=="touchmove"||!i)return;const ee=[P.sourceEvent.clientX??P.sourceEvent.touches[0].clientX,P.sourceEvent.clientY??P.sourceEvent.touches[0].clientY],re=[ee[0]-D[0],ee[1]-D[1]];D=ee;const Q=c()*Math.max(G[2],Math.log(G[2]))*(R?-1:1),ie={x:G[0]-re[0]*Q,y:G[1]-re[1]*Q},pe=[[0,0],[E,S]];i.setViewportConstrained({x:ie.x,y:ie.y,zoom:G[2]},pe,w)},j=WHt().on("start",B).on("zoom",A?$:null).on("zoom.wheel",C?L:null);d.call(j,{})}function b(){d.on("zoom",null)}return{update:g,destroy:b,pointer:Nv}}const Zse=n=>({x:n.x,y:n.y,zoom:n.k}),HCe=({x:n,y:i,zoom:s})=>Yse.translate(n,i).scale(s),H5=(n,i)=>n.target.closest(`.${i}`),Ezt=(n,i)=>i===2&&Array.isArray(n)&&n.includes(2),YLn=n=>((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2,zCe=(n,i=0,s=YLn,c=()=>{})=>{const d=typeof i=="number"&&i>0;return d||c(),d?n.transition().duration(i).ease(s).on("end",c):n},Szt=n=>{const i=n.ctrlKey&&XH()?10:1;return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*i};function JLn({zoomPanValues:n,noWheelClassName:i,d3Selection:s,d3Zoom:c,panOnScrollMode:d,panOnScrollSpeed:g,zoomOnPinch:b,onPanZoomStart:w,onPanZoom:E,onPanZoomEnd:S}){return x=>{if(H5(x,i))return x.ctrlKey&&x.preventDefault(),!1;x.preventDefault(),x.stopImmediatePropagation();const A=s.property("__zoom").k||1;if(x.ctrlKey&&b){const B=Nv(x),$=Szt(x),j=A*Math.pow(2,$);c.scaleTo(s,j,B,x);return}const C=x.deltaMode===1?20:1;let R=d===nR.Vertical?0:x.deltaX*C,L=d===nR.Horizontal?0:x.deltaY*C;!XH()&&x.shiftKey&&d!==nR.Vertical&&(R=x.deltaY*C,L=0),c.translateBy(s,-(R/A)*g,-(L/A)*g,{internal:!0});const D=Zse(s.property("__zoom"));clearTimeout(n.panScrollTimeout),n.isPanScrolling?(E==null||E(x,D),n.panScrollTimeout=setTimeout(()=>{S==null||S(x,D),n.isPanScrolling=!1},150)):(n.isPanScrolling=!0,w==null||w(x,D))}}function XLn({noWheelClassName:n,preventScrolling:i,d3ZoomHandler:s}){return function(c,d){const g=c.type==="wheel",b=!i&&g&&!c.ctrlKey,w=H5(c,n);if(c.ctrlKey&&g&&w&&c.preventDefault(),b||w)return null;c.preventDefault(),s.call(this,c,d)}}function ZLn({zoomPanValues:n,onDraggingChange:i,onPanZoomStart:s}){return c=>{var g,b,w;if((g=c.sourceEvent)!=null&&g.internal)return;const d=Zse(c.transform);n.mouseButton=((b=c.sourceEvent)==null?void 0:b.button)||0,n.isZoomingOrPanning=!0,n.prevViewport=d,((w=c.sourceEvent)==null?void 0:w.type)==="mousedown"&&i(!0),s&&(s==null||s(c.sourceEvent,d))}}function QLn({zoomPanValues:n,panOnDrag:i,onPaneContextMenu:s,onTransformChange:c,onPanZoom:d}){return g=>{var b,w;n.usedRightMouseButton=!!(s&&Ezt(i,n.mouseButton??0)),(b=g.sourceEvent)!=null&&b.sync||c([g.transform.x,g.transform.y,g.transform.k]),d&&!((w=g.sourceEvent)!=null&&w.internal)&&(d==null||d(g.sourceEvent,Zse(g.transform)))}}function e5n({zoomPanValues:n,panOnDrag:i,panOnScroll:s,onDraggingChange:c,onPanZoomEnd:d,onPaneContextMenu:g}){return b=>{var w;if(!((w=b.sourceEvent)!=null&&w.internal)&&(n.isZoomingOrPanning=!1,g&&Ezt(i,n.mouseButton??0)&&!n.usedRightMouseButton&&b.sourceEvent&&g(b.sourceEvent),n.usedRightMouseButton=!1,c(!1),d)){const E=Zse(b.transform);n.prevViewport=E,clearTimeout(n.timerId),n.timerId=setTimeout(()=>{d==null||d(b.sourceEvent,E)},s?150:0)}}}function t5n({zoomActivationKeyPressed:n,zoomOnScroll:i,zoomOnPinch:s,panOnDrag:c,panOnScroll:d,zoomOnDoubleClick:g,userSelectionActive:b,noWheelClassName:w,noPanClassName:E,lib:S,connectionInProgress:x}){return A=>{var B;const C=n||i,R=s&&A.ctrlKey,L=A.type==="wheel";if(A.button===1&&A.type==="mousedown"&&(H5(A,`${S}-flow__node`)||H5(A,`${S}-flow__edge`)))return!0;if(!c&&!C&&!d&&!g&&!s||b||x&&!L||H5(A,w)&&L||H5(A,E)&&(!L||d&&L&&!n)||!s&&A.ctrlKey&&L)return!1;if(!s&&A.type==="touchstart"&&((B=A.touches)==null?void 0:B.length)>1)return A.preventDefault(),!1;if(!C&&!d&&!R&&L||!c&&(A.type==="mousedown"||A.type==="touchstart")||Array.isArray(c)&&!c.includes(A.button)&&A.type==="mousedown")return!1;const D=Array.isArray(c)&&c.includes(A.button)||!A.button||A.button<=1;return(!A.ctrlKey||L)&&D}}function n5n({domNode:n,minZoom:i,maxZoom:s,translateExtent:c,viewport:d,onPanZoom:g,onPanZoomStart:b,onPanZoomEnd:w,onDraggingChange:E}){const S={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},x=n.getBoundingClientRect(),A=WHt().scaleExtent([i,s]).translateExtent(c),C=jm(n).call(A);j({x:d.x,y:d.y,zoom:SM(d.zoom,i,s)},[[0,0],[x.width,x.height]],c);const R=C.on("wheel.zoom"),L=C.on("dblclick.zoom");A.wheelDelta(Szt);function D(le,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?wH:Zie).transform(zCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),le)}):Promise.resolve(!1)}function B({noWheelClassName:le,noPanClassName:fe,onPaneContextMenu:K,userSelectionActive:he,panOnScroll:Oe,panOnDrag:Se,panOnScrollMode:Le,panOnScrollSpeed:Ae,preventScrolling:xe,zoomOnPinch:We,zoomOnScroll:dt,zoomOnDoubleClick:Ue,zoomActivationKeyPressed:bt,lib:kt,onTransformChange:ht,connectionInProgress:Xt,paneClickDistance:vt,selectionOnDrag:Ct}){he&&!S.isZoomingOrPanning&&$();const Ft=Oe&&!bt&&!he;A.clickDistance(Ct?1/0:!Rv(vt)||vt<0?0:vt);const On=Ft?JLn({zoomPanValues:S,noWheelClassName:le,d3Selection:C,d3Zoom:A,panOnScrollMode:Le,panOnScrollSpeed:Ae,zoomOnPinch:We,onPanZoomStart:b,onPanZoom:g,onPanZoomEnd:w}):XLn({noWheelClassName:le,preventScrolling:xe,d3ZoomHandler:R});if(C.on("wheel.zoom",On,{passive:!1}),!he){const Yn=ZLn({zoomPanValues:S,onDraggingChange:E,onPanZoomStart:b});A.on("start",Yn);const vr=QLn({zoomPanValues:S,panOnDrag:Se,onPaneContextMenu:!!K,onPanZoom:g,onTransformChange:ht});A.on("zoom",vr);const Ui=e5n({zoomPanValues:S,panOnDrag:Se,panOnScroll:Oe,onPaneContextMenu:K,onPanZoomEnd:w,onDraggingChange:E});A.on("end",Ui)}const Zn=t5n({zoomActivationKeyPressed:bt,panOnDrag:Se,zoomOnScroll:dt,panOnScroll:Oe,zoomOnDoubleClick:Ue,zoomOnPinch:We,userSelectionActive:he,noPanClassName:fe,noWheelClassName:le,lib:kt,connectionInProgress:Xt});A.filter(Zn),Ue?C.on("dblclick.zoom",L):C.on("dblclick.zoom",null)}function $(){A.on("zoom",null)}async function j(le,fe,K){const he=HCe(le),Oe=A==null?void 0:A.constrain()(he,fe,K);return Oe&&await D(Oe),new Promise(Se=>Se(Oe))}async function P(le,fe){const K=HCe(le);return await D(K,fe),new Promise(he=>he(K))}function G(le){if(C){const fe=HCe(le),K=C.property("__zoom");(K.k!==le.zoom||K.x!==le.x||K.y!==le.y)&&(A==null||A.transform(C,fe,null,{sync:!0}))}}function ee(){const le=C?VHt(C.node()):{x:0,y:0,k:1};return{x:le.x,y:le.y,zoom:le.k}}function re(le,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?wH:Zie).scaleTo(zCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),le)}):Promise.resolve(!1)}function Q(le,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?wH:Zie).scaleBy(zCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),le)}):Promise.resolve(!1)}function ie(le){A==null||A.scaleExtent(le)}function pe(le){A==null||A.translateExtent(le)}function me(le){const fe=!Rv(le)||le<0?0:le;A==null||A.clickDistance(fe)}return{update:B,destroy:$,setViewport:P,setViewportConstrained:j,getViewport:ee,scaleTo:re,scaleBy:Q,setScaleExtent:ie,setTranslateExtent:pe,syncViewport:G,setClickDistance:me}}var _M;(function(n){n.Line="line",n.Handle="handle"})(_M||(_M={}));function r5n({width:n,prevWidth:i,height:s,prevHeight:c,affectsX:d,affectsY:g}){const b=n-i,w=s-c,E=[b>0?1:b<0?-1:0,w>0?1:w<0?-1:0];return b&&d&&(E[0]=E[0]*-1),w&&g&&(E[1]=E[1]*-1),E}function YMt(n){const i=n.includes("right")||n.includes("left"),s=n.includes("bottom")||n.includes("top"),c=n.includes("left"),d=n.includes("top");return{isHorizontal:i,isVertical:s,affectsX:c,affectsY:d}}function Ck(n,i){return Math.max(0,i-n)}function Ik(n,i){return Math.max(0,n-i)}function mie(n,i,s){return Math.max(0,i-n,n-s)}function JMt(n,i){return n?!i:i}function i5n(n,i,s,c,d,g,b,w){let{affectsX:E,affectsY:S}=i;const{isHorizontal:x,isVertical:A}=i,C=x&&A,{xSnapped:R,ySnapped:L}=s,{minWidth:D,maxWidth:B,minHeight:$,maxHeight:j}=c,{x:P,y:G,width:ee,height:re,aspectRatio:Q}=n;let ie=Math.floor(x?R-n.pointerX:0),pe=Math.floor(A?L-n.pointerY:0);const me=ee+(E?-ie:ie),le=re+(S?-pe:pe),fe=-g[0]*ee,K=-g[1]*re;let he=mie(me,D,B),Oe=mie(le,$,j);if(b){let Ae=0,xe=0;E&&ie<0?Ae=Ck(P+ie+fe,b[0][0]):!E&&ie>0&&(Ae=Ik(P+me+fe,b[1][0])),S&&pe<0?xe=Ck(G+pe+K,b[0][1]):!S&&pe>0&&(xe=Ik(G+le+K,b[1][1])),he=Math.max(he,Ae),Oe=Math.max(Oe,xe)}if(w){let Ae=0,xe=0;E&&ie>0?Ae=Ik(P+ie,w[0][0]):!E&&ie<0&&(Ae=Ck(P+me,w[1][0])),S&&pe>0?xe=Ik(G+pe,w[0][1]):!S&&pe<0&&(xe=Ck(G+le,w[1][1])),he=Math.max(he,Ae),Oe=Math.max(Oe,xe)}if(d){if(x){const Ae=mie(me/Q,$,j)*Q;if(he=Math.max(he,Ae),b){let xe=0;!E&&!S||E&&!S&&C?xe=Ik(G+K+me/Q,b[1][1])*Q:xe=Ck(G+K+(E?ie:-ie)/Q,b[0][1])*Q,he=Math.max(he,xe)}if(w){let xe=0;!E&&!S||E&&!S&&C?xe=Ck(G+me/Q,w[1][1])*Q:xe=Ik(G+(E?ie:-ie)/Q,w[0][1])*Q,he=Math.max(he,xe)}}if(A){const Ae=mie(le*Q,D,B)/Q;if(Oe=Math.max(Oe,Ae),b){let xe=0;!E&&!S||S&&!E&&C?xe=Ik(P+le*Q+fe,b[1][0])/Q:xe=Ck(P+(S?pe:-pe)*Q+fe,b[0][0])/Q,Oe=Math.max(Oe,xe)}if(w){let xe=0;!E&&!S||S&&!E&&C?xe=Ck(P+le*Q,w[1][0])/Q:xe=Ik(P+(S?pe:-pe)*Q,w[0][0])/Q,Oe=Math.max(Oe,xe)}}}pe=pe+(pe<0?Oe:-Oe),ie=ie+(ie<0?he:-he),d&&(C?me>le*Q?pe=(JMt(E,S)?-ie:ie)/Q:ie=(JMt(E,S)?-pe:pe)*Q:x?(pe=ie/Q,S=E):(ie=pe*Q,E=S));const Se=E?P+ie:P,Le=S?G+pe:G;return{width:ee+(E?-ie:ie),height:re+(S?-pe:pe),x:g[0]*ie*(E?-1:1)+Se,y:g[1]*pe*(S?-1:1)+Le}}const Tzt={width:0,height:0,x:0,y:0},o5n={...Tzt,pointerX:0,pointerY:0,aspectRatio:1};function s5n(n){return[[0,0],[n.measured.width,n.measured.height]]}function a5n(n,i,s){const c=i.position.x+n.position.x,d=i.position.y+n.position.y,g=n.measured.width??0,b=n.measured.height??0,w=s[0]*g,E=s[1]*b;return[[c-w,d-E],[c+g-w,d+b-E]]}function u5n({domNode:n,nodeId:i,getStoreItems:s,onChange:c,onEnd:d}){const g=jm(n);let b={controlDirection:YMt("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function w({controlPosition:S,boundaries:x,keepAspectRatio:A,resizeDirection:C,onResizeStart:R,onResize:L,onResizeEnd:D,shouldResize:B}){let $={...Tzt},j={...o5n};b={boundaries:x,resizeDirection:C,keepAspectRatio:A,controlDirection:YMt(S)};let P,G=null,ee=[],re,Q,ie,pe=!1;const me=OHt().on("start",le=>{const{nodeLookup:fe,transform:K,snapGrid:he,snapToGrid:Oe,nodeOrigin:Se,paneDomNode:Le}=s();if(P=fe.get(i),!P)return;G=(Le==null?void 0:Le.getBoundingClientRect())??null;const{xSnapped:Ae,ySnapped:xe}=yH(le.sourceEvent,{transform:K,snapGrid:he,snapToGrid:Oe,containerBounds:G});$={width:P.measured.width??0,height:P.measured.height??0,x:P.position.x??0,y:P.position.y??0},j={...$,pointerX:Ae,pointerY:xe,aspectRatio:$.width/$.height},re=void 0,P.parentId&&(P.extent==="parent"||P.expandParent)&&(re=fe.get(P.parentId),Q=re&&P.extent==="parent"?s5n(re):void 0),ee=[],ie=void 0;for(const[We,dt]of fe)if(dt.parentId===i&&(ee.push({id:We,position:{...dt.position},extent:dt.extent}),dt.extent==="parent"||dt.expandParent)){const Ue=a5n(dt,P,dt.origin??Se);ie?ie=[[Math.min(Ue[0][0],ie[0][0]),Math.min(Ue[0][1],ie[0][1])],[Math.max(Ue[1][0],ie[1][0]),Math.max(Ue[1][1],ie[1][1])]]:ie=Ue}R==null||R(le,{...$})}).on("drag",le=>{const{transform:fe,snapGrid:K,snapToGrid:he,nodeOrigin:Oe}=s(),Se=yH(le.sourceEvent,{transform:fe,snapGrid:K,snapToGrid:he,containerBounds:G}),Le=[];if(!P)return;const{x:Ae,y:xe,width:We,height:dt}=$,Ue={},bt=P.origin??Oe,{width:kt,height:ht,x:Xt,y:vt}=i5n(j,b.controlDirection,Se,b.boundaries,b.keepAspectRatio,bt,Q,ie),Ct=kt!==We,Ft=ht!==dt,On=Xt!==Ae&&Ct,Zn=vt!==xe&&Ft;if(!On&&!Zn&&!Ct&&!Ft)return;if((On||Zn||bt[0]===1||bt[1]===1)&&(Ue.x=On?Xt:$.x,Ue.y=Zn?vt:$.y,$.x=Ue.x,$.y=Ue.y,ee.length>0)){const Qr=Xt-Ae,Hi=vt-xe;for(const ai of ee)ai.position={x:ai.position.x-Qr+bt[0]*(kt-We),y:ai.position.y-Hi+bt[1]*(ht-dt)},Le.push(ai)}if((Ct||Ft)&&(Ue.width=Ct&&(!b.resizeDirection||b.resizeDirection==="horizontal")?kt:$.width,Ue.height=Ft&&(!b.resizeDirection||b.resizeDirection==="vertical")?ht:$.height,$.width=Ue.width,$.height=Ue.height),re&&P.expandParent){const Qr=bt[0]*(Ue.width??0);Ue.x&&Ue.x<Qr&&($.x=Qr,j.x=j.x-(Ue.x-Qr));const Hi=bt[1]*(Ue.height??0);Ue.y&&Ue.y<Hi&&($.y=Hi,j.y=j.y-(Ue.y-Hi))}const Yn=r5n({width:$.width,prevWidth:We,height:$.height,prevHeight:dt,affectsX:b.controlDirection.affectsX,affectsY:b.controlDirection.affectsY}),vr={...$,direction:Yn};(B==null?void 0:B(le,vr))!==!1&&(pe=!0,L==null||L(le,vr),c(Ue,Le))}).on("end",le=>{pe&&(D==null||D(le,{...$}),d==null||d({...$}),pe=!1)});g.call(me)}function E(){g.on(".drag",null)}return{update:w,destroy:E}}var Azt={exports:{}},_zt={};/**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Qse=H,c5n=mHt;function l5n(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var d5n=typeof Object.is=="function"?Object.is:l5n,f5n=c5n.useSyncExternalStore,h5n=Qse.useRef,p5n=Qse.useEffect,g5n=Qse.useMemo,b5n=Qse.useDebugValue;_zt.useSyncExternalStoreWithSelector=function(n,i,s,c,d){var g=h5n(null);if(g.current===null){var b={hasValue:!1,value:null};g.current=b}else b=g.current;g=g5n(function(){function E(R){if(!S){if(S=!0,x=R,R=c(R),d!==void 0&&b.hasValue){var L=b.value;if(d(L,R))return A=L}return A=R}if(L=A,d5n(x,R))return L;var D=c(R);return d!==void 0&&d(L,D)?(x=R,L):(x=R,A=D)}var S=!1,x,A,C=s===void 0?null:s;return[function(){return E(i())},C===null?void 0:function(){return E(C())}]},[i,s,c,d]);var w=f5n(n,g[0],g[1]);return p5n(function(){b.hasValue=!0,b.value=w},[w]),b5n(w),w};Azt.exports=_zt;var m5n=Azt.exports;const w5n=TR(m5n),y5n={},XMt=n=>{let i;const s=new Set,c=(x,A)=>{const C=typeof x=="function"?x(i):x;if(!Object.is(C,i)){const R=i;i=A??(typeof C!="object"||C===null)?C:Object.assign({},i,C),s.forEach(L=>L(i,R))}},d=()=>i,E={setState:c,getState:d,getInitialState:()=>S,subscribe:x=>(s.add(x),()=>s.delete(x)),destroy:()=>{(y5n?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),s.clear()}},S=i=n(c,d,E);return E},v5n=n=>n?XMt(n):XMt,{useDebugValue:E5n}=Hn,{useSyncExternalStoreWithSelector:S5n}=w5n,T5n=n=>n;function xzt(n,i=T5n,s){const c=S5n(n.subscribe,n.getState,n.getServerState||n.getInitialState,i,s);return E5n(c),c}const ZMt=(n,i)=>{const s=v5n(n),c=(d,g=i)=>xzt(s,d,g);return Object.assign(c,s),c},A5n=(n,i)=>n?ZMt(n,i):ZMt;function Lc(n,i){if(Object.is(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;if(n instanceof Map&&i instanceof Map){if(n.size!==i.size)return!1;for(const[c,d]of n)if(!Object.is(d,i.get(c)))return!1;return!0}if(n instanceof Set&&i instanceof Set){if(n.size!==i.size)return!1;for(const c of n)if(!i.has(c))return!1;return!0}const s=Object.keys(n);if(s.length!==Object.keys(i).length)return!1;for(const c of s)if(!Object.prototype.hasOwnProperty.call(i,c)||!Object.is(n[c],i[c]))return!1;return!0}const eae=H.createContext(null),_5n=eae.Provider,kzt=z2.error001();function Js(n,i){const s=H.useContext(eae);if(s===null)throw new Error(kzt);return xzt(s,n,i)}function Mc(){const n=H.useContext(eae);if(n===null)throw new Error(kzt);return H.useMemo(()=>({getState:n.getState,setState:n.setState,subscribe:n.subscribe}),[n])}const QMt={display:"none"},x5n={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},Nzt="react-flow__node-desc",Czt="react-flow__edge-desc",k5n="react-flow__aria-live",N5n=n=>n.ariaLiveMessage,C5n=n=>n.ariaLabelConfig;function I5n({rfId:n}){const i=Js(N5n);return I.jsx("div",{id:`${k5n}-${n}`,"aria-live":"assertive","aria-atomic":"true",style:x5n,children:i})}function R5n({rfId:n,disableKeyboardA11y:i}){const s=Js(C5n);return I.jsxs(I.Fragment,{children:[I.jsx("div",{id:`${Nzt}-${n}`,style:QMt,children:i?s["node.a11yDescription.default"]:s["node.a11yDescription.keyboardDisabled"]}),I.jsx("div",{id:`${Czt}-${n}`,style:QMt,children:s["edge.a11yDescription.default"]}),!i&&I.jsx(I5n,{rfId:n})]})}const gR=H.forwardRef(({position:n="top-left",children:i,className:s,style:c,...d},g)=>{const b=`${n}`.split("-");return I.jsx("div",{className:Bd(["react-flow__panel",s,...b]),style:c,ref:g,...d,children:i})});gR.displayName="Panel";function O5n({proOptions:n,position:i="bottom-right"}){return n!=null&&n.hideAttribution?null:I.jsx(gR,{position:i,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:I.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const D5n=n=>{const i=[],s=[];for(const[,c]of n.nodeLookup)c.selected&&i.push(c.internals.userNode);for(const[,c]of n.edgeLookup)c.selected&&s.push(c);return{selectedNodes:i,selectedEdges:s}},wie=n=>n.id;function L5n(n,i){return Lc(n.selectedNodes.map(wie),i.selectedNodes.map(wie))&&Lc(n.selectedEdges.map(wie),i.selectedEdges.map(wie))}function M5n({onSelectionChange:n}){const i=Mc(),{selectedNodes:s,selectedEdges:c}=Js(D5n,L5n);return H.useEffect(()=>{const d={nodes:s,edges:c};n==null||n(d),i.getState().onSelectionChangeHandlers.forEach(g=>g(d))},[s,c,n]),null}const P5n=n=>!!n.onSelectionChangeHandlers;function j5n({onSelectionChange:n}){const i=Js(P5n);return n||i?I.jsx(M5n,{onSelectionChange:n}):null}const Izt=[0,0],F5n={x:0,y:0,zoom:1},$5n=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],e9t=[...$5n,"rfId"],B5n=n=>({setNodes:n.setNodes,setEdges:n.setEdges,setMinZoom:n.setMinZoom,setMaxZoom:n.setMaxZoom,setTranslateExtent:n.setTranslateExtent,setNodeExtent:n.setNodeExtent,reset:n.reset,setDefaultNodesAndEdges:n.setDefaultNodesAndEdges}),t9t={translateExtent:KH,nodeOrigin:Izt,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function U5n(n){const{setNodes:i,setEdges:s,setMinZoom:c,setMaxZoom:d,setTranslateExtent:g,setNodeExtent:b,reset:w,setDefaultNodesAndEdges:E}=Js(B5n,Lc),S=Mc();H.useEffect(()=>(E(n.defaultNodes,n.defaultEdges),()=>{x.current=t9t,w()}),[]);const x=H.useRef(t9t);return H.useEffect(()=>{for(const A of e9t){const C=n[A],R=x.current[A];C!==R&&(typeof n[A]>"u"||(A==="nodes"?i(C):A==="edges"?s(C):A==="minZoom"?c(C):A==="maxZoom"?d(C):A==="translateExtent"?g(C):A==="nodeExtent"?b(C):A==="ariaLabelConfig"?S.setState({ariaLabelConfig:ELn(C)}):A==="fitView"?S.setState({fitViewQueued:C}):A==="fitViewOptions"?S.setState({fitViewOptions:C}):S.setState({[A]:C})))}x.current=n},e9t.map(A=>n[A])),null}function n9t(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function H5n(n){var c;const[i,s]=H.useState(n==="system"?null:n);return H.useEffect(()=>{if(n!=="system"){s(n);return}const d=n9t(),g=()=>s(d!=null&&d.matches?"dark":"light");return g(),d==null||d.addEventListener("change",g),()=>{d==null||d.removeEventListener("change",g)}},[n]),i!==null?i:(c=n9t())!=null&&c.matches?"dark":"light"}const r9t=typeof document<"u"?document:null;function ZH(n=null,i={target:r9t,actInsideInputWithModifier:!0}){const[s,c]=H.useState(!1),d=H.useRef(!1),g=H.useRef(new Set([])),[b,w]=H.useMemo(()=>{if(n!==null){const S=(Array.isArray(n)?n:[n]).filter(A=>typeof A=="string").map(A=>A.replace("+",`
`).replace(`
`,`
+`).split(`
`)),x=S.reduce((A,C)=>A.concat(...C),[]);return[S,x]}return[[],[]]},[n]);return H.useEffect(()=>{const E=(i==null?void 0:i.target)??r9t,S=(i==null?void 0:i.actInsideInputWithModifier)??!0;if(n!==null){const x=R=>{var B,$;if(d.current=R.ctrlKey||R.metaKey||R.shiftKey||R.altKey,(!d.current||d.current&&!S)&&szt(R))return!1;const D=o9t(R.code,w);if(g.current.add(R[D]),i9t(b,g.current,!1)){const j=(($=(B=R.composedPath)==null?void 0:B.call(R))==null?void 0:$[0])||R.target,P=(j==null?void 0:j.nodeName)==="BUTTON"||(j==null?void 0:j.nodeName)==="A";i.preventDefault!==!1&&(d.current||!P)&&R.preventDefault(),c(!0)}},A=R=>{const L=o9t(R.code,w);i9t(b,g.current,!0)?(c(!1),g.current.clear()):g.current.delete(R[L]),R.key==="Meta"&&g.current.clear(),d.current=!1},C=()=>{g.current.clear(),c(!1)};return E==null||E.addEventListener("keydown",x),E==null||E.addEventListener("keyup",A),window.addEventListener("blur",C),window.addEventListener("contextmenu",C),()=>{E==null||E.removeEventListener("keydown",x),E==null||E.removeEventListener("keyup",A),window.removeEventListener("blur",C),window.removeEventListener("contextmenu",C)}}},[n,c]),s}function i9t(n,i,s){return n.filter(c=>s||c.length===i.size).some(c=>c.every(d=>i.has(d)))}function o9t(n,i){return i.includes(n)?"code":"key"}const z5n=()=>{const n=Mc();return H.useMemo(()=>({zoomIn:i=>{const{panZoom:s}=n.getState();return s?s.scaleBy(1.2,{duration:i==null?void 0:i.duration}):Promise.resolve(!1)},zoomOut:i=>{const{panZoom:s}=n.getState();return s?s.scaleBy(1/1.2,{duration:i==null?void 0:i.duration}):Promise.resolve(!1)},zoomTo:(i,s)=>{const{panZoom:c}=n.getState();return c?c.scaleTo(i,{duration:s==null?void 0:s.duration}):Promise.resolve(!1)},getZoom:()=>n.getState().transform[2],setViewport:async(i,s)=>{const{transform:[c,d,g],panZoom:b}=n.getState();return b?(await b.setViewport({x:i.x??c,y:i.y??d,zoom:i.zoom??g},s),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[i,s,c]=n.getState().transform;return{x:i,y:s,zoom:c}},setCenter:async(i,s,c)=>n.getState().setCenter(i,s,c),fitBounds:async(i,s)=>{const{width:c,height:d,minZoom:g,maxZoom:b,panZoom:w}=n.getState(),E=I5e(i,c,d,g,b,(s==null?void 0:s.padding)??.1);return w?(await w.setViewport(E,{duration:s==null?void 0:s.duration,ease:s==null?void 0:s.ease,interpolate:s==null?void 0:s.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(i,s={})=>{const{transform:c,snapGrid:d,snapToGrid:g,domNode:b}=n.getState();if(!b)return i;const{x:w,y:E}=b.getBoundingClientRect(),S={x:i.x-w,y:i.y-E},x=s.snapGrid??d,A=s.snapToGrid??g;return _z(S,c,A,x)},flowToScreenPosition:i=>{const{transform:s,domNode:c}=n.getState();if(!c)return i;const{x:d,y:g}=c.getBoundingClientRect(),b=Voe(i,s);return{x:b.x+d,y:b.y+g}}}),[])};function Rzt(n,i){const s=[],c=new Map,d=[];for(const g of n)if(g.type==="add"){d.push(g);continue}else if(g.type==="remove"||g.type==="replace")c.set(g.id,[g]);else{const b=c.get(g.id);b?b.push(g):c.set(g.id,[g])}for(const g of i){const b=c.get(g.id);if(!b){s.push(g);continue}if(b[0].type==="remove")continue;if(b[0].type==="replace"){s.push({...b[0].item});continue}const w={...g};for(const E of b)G5n(E,w);s.push(w)}return d.length&&d.forEach(g=>{g.index!==void 0?s.splice(g.index,0,{...g.item}):s.push({...g.item})}),s}function G5n(n,i){switch(n.type){case"select":{i.selected=n.selected;break}case"position":{typeof n.position<"u"&&(i.position=n.position),typeof n.dragging<"u"&&(i.dragging=n.dragging);break}case"dimensions":{typeof n.dimensions<"u"&&(i.measured={...n.dimensions},n.setAttributes&&((n.setAttributes===!0||n.setAttributes==="width")&&(i.width=n.dimensions.width),(n.setAttributes===!0||n.setAttributes==="height")&&(i.height=n.dimensions.height))),typeof n.resizing=="boolean"&&(i.resizing=n.resizing);break}}}function Ozt(n,i){return Rzt(n,i)}function Dzt(n,i){return Rzt(n,i)}function W4(n,i){return{id:n,type:"select",selected:i}}function z5(n,i=new Set,s=!1){const c=[];for(const[d,g]of n){const b=i.has(d);!(g.selected===void 0&&!b)&&g.selected!==b&&(s&&(g.selected=b),c.push(W4(g.id,b)))}return c}function s9t({items:n=[],lookup:i}){var d;const s=[],c=new Map(n.map(g=>[g.id,g]));for(const[g,b]of n.entries()){const w=i.get(b.id),E=((d=w==null?void 0:w.internals)==null?void 0:d.userNode)??w;E!==void 0&&E!==b&&s.push({id:b.id,item:b,type:"replace"}),E===void 0&&s.push({item:b,type:"add",index:g})}for(const[g]of i)c.get(g)===void 0&&s.push({id:g,type:"remove"});return s}function a9t(n){return{id:n.id,type:"remove"}}const u9t=n=>dLn(n),q5n=n=>ZHt(n);function Lzt(n){return H.forwardRef(n)}const V5n=typeof window<"u"?H.useLayoutEffect:H.useEffect;function c9t(n){const[i,s]=H.useState(BigInt(0)),[c]=H.useState(()=>W5n(()=>s(d=>d+BigInt(1))));return V5n(()=>{const d=c.get();d.length&&(n(d),c.reset())},[i]),c}function W5n(n){let i=[];return{get:()=>i,reset:()=>{i=[]},push:s=>{i.push(s),n()}}}const Mzt=H.createContext(null);function K5n({children:n}){const i=Mc(),s=H.useCallback(w=>{const{nodes:E=[],setNodes:S,hasDefaultNodes:x,onNodesChange:A,nodeLookup:C,fitViewQueued:R,onNodesChangeMiddlewareMap:L}=i.getState();let D=E;for(const $ of w)D=typeof $=="function"?$(D):$;let B=s9t({items:D,lookup:C});for(const $ of L.values())B=$(B);x&&S(D),B.length>0?A==null||A(B):R&&window.requestAnimationFrame(()=>{const{fitViewQueued:$,nodes:j,setNodes:P}=i.getState();$&&P(j)})},[]),c=c9t(s),d=H.useCallback(w=>{const{edges:E=[],setEdges:S,hasDefaultEdges:x,onEdgesChange:A,edgeLookup:C}=i.getState();let R=E;for(const L of w)R=typeof L=="function"?L(R):L;x?S(R):A&&A(s9t({items:R,lookup:C}))},[]),g=c9t(d),b=H.useMemo(()=>({nodeQueue:c,edgeQueue:g}),[]);return I.jsx(Mzt.Provider,{value:b,children:n})}function Y5n(){const n=H.useContext(Mzt);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const J5n=n=>!!n.panZoom;function kR(){const n=z5n(),i=Mc(),s=Y5n(),c=Js(J5n),d=H.useMemo(()=>{const g=A=>i.getState().nodeLookup.get(A),b=A=>{s.nodeQueue.push(A)},w=A=>{s.edgeQueue.push(A)},E=A=>{var $,j;const{nodeLookup:C,nodeOrigin:R}=i.getState(),L=u9t(A)?A:C.get(A.id),D=L.parentId?izt(L.position,L.measured,L.parentId,C,R):L.position,B={...L,position:D,width:(($=L.measured)==null?void 0:$.width)??L.width,height:((j=L.measured)==null?void 0:j.height)??L.height};return TM(B)},S=(A,C,R={replace:!1})=>{b(L=>L.map(D=>{if(D.id===A){const B=typeof C=="function"?C(D):C;return R.replace&&u9t(B)?B:{...D,...B}}return D}))},x=(A,C,R={replace:!1})=>{w(L=>L.map(D=>{if(D.id===A){const B=typeof C=="function"?C(D):C;return R.replace&&q5n(B)?B:{...D,...B}}return D}))};return{getNodes:()=>i.getState().nodes.map(A=>({...A})),getNode:A=>{var C;return(C=g(A))==null?void 0:C.internals.userNode},getInternalNode:g,getEdges:()=>{const{edges:A=[]}=i.getState();return A.map(C=>({...C}))},getEdge:A=>i.getState().edgeLookup.get(A),setNodes:b,setEdges:w,addNodes:A=>{const C=Array.isArray(A)?A:[A];s.nodeQueue.push(R=>[...R,...C])},addEdges:A=>{const C=Array.isArray(A)?A:[A];s.edgeQueue.push(R=>[...R,...C])},toObject:()=>{const{nodes:A=[],edges:C=[],transform:R}=i.getState(),[L,D,B]=R;return{nodes:A.map($=>({...$})),edges:C.map($=>({...$})),viewport:{x:L,y:D,zoom:B}}},deleteElements:async({nodes:A=[],edges:C=[]})=>{const{nodes:R,edges:L,onNodesDelete:D,onEdgesDelete:B,triggerNodeChanges:$,triggerEdgeChanges:j,onDelete:P,onBeforeDelete:G}=i.getState(),{nodes:ee,edges:re}=await bLn({nodesToRemove:A,edgesToRemove:C,nodes:R,edges:L,onBeforeDelete:G}),Q=re.length>0,ie=ee.length>0;if(Q){const pe=re.map(a9t);B==null||B(re),j(pe)}if(ie){const pe=ee.map(a9t);D==null||D(ee),$(pe)}return(ie||Q)&&(P==null||P({nodes:ee,edges:re})),{deletedNodes:ee,deletedEdges:re}},getIntersectingNodes:(A,C=!0,R)=>{const L=FMt(A),D=L?A:E(A),B=R!==void 0;return D?(R||i.getState().nodes).filter($=>{const j=i.getState().nodeLookup.get($.id);if(j&&!L&&($.id===A.id||!j.internals.positionAbsolute))return!1;const P=TM(B?$:j),G=JH(P,D);return C&&G>0||G>=P.width*P.height||G>=D.width*D.height}):[]},isNodeIntersecting:(A,C,R=!0)=>{const D=FMt(A)?A:E(A);if(!D)return!1;const B=JH(D,C);return R&&B>0||B>=C.width*C.height||B>=D.width*D.height},updateNode:S,updateNodeData:(A,C,R={replace:!1})=>{S(A,L=>{const D=typeof C=="function"?C(L):C;return R.replace?{...L,data:D}:{...L,data:{...L.data,...D}}},R)},updateEdge:x,updateEdgeData:(A,C,R={replace:!1})=>{x(A,L=>{const D=typeof C=="function"?C(L):C;return R.replace?{...L,data:D}:{...L,data:{...L.data,...D}}},R)},getNodesBounds:A=>{const{nodeLookup:C,nodeOrigin:R}=i.getState();return fLn(A,{nodeLookup:C,nodeOrigin:R})},getHandleConnections:({type:A,id:C,nodeId:R})=>{var L;return Array.from(((L=i.getState().connectionLookup.get(`${R}-${A}${C?`-${C}`:""}`))==null?void 0:L.values())??[])},getNodeConnections:({type:A,handleId:C,nodeId:R})=>{var L;return Array.from(((L=i.getState().connectionLookup.get(`${R}${A?C?`-${A}-${C}`:`-${A}`:""}`))==null?void 0:L.values())??[])},fitView:async A=>{const C=i.getState().fitViewResolver??vLn();return i.setState({fitViewQueued:!0,fitViewOptions:A,fitViewResolver:C}),s.nodeQueue.push(R=>[...R]),C.promise}}},[]);return H.useMemo(()=>({...d,...n,viewportInitialized:c}),[c])}const l9t=n=>n.selected,X5n=typeof window<"u"?window:void 0;function Z5n({deleteKeyCode:n,multiSelectionKeyCode:i}){const s=Mc(),{deleteElements:c}=kR(),d=ZH(n,{actInsideInputWithModifier:!1}),g=ZH(i,{target:X5n});H.useEffect(()=>{if(d){const{edges:b,nodes:w}=s.getState();c({nodes:w.filter(l9t),edges:b.filter(l9t)}),s.setState({nodesSelectionActive:!1})}},[d]),H.useEffect(()=>{s.setState({multiSelectionActive:g})},[g])}function Q5n(n){const i=Mc();H.useEffect(()=>{const s=()=>{var d,g,b,w;if(!n.current||!(((g=(d=n.current).checkVisibility)==null?void 0:g.call(d))??!0))return!1;const c=R5e(n.current);(c.height===0||c.width===0)&&((w=(b=i.getState()).onError)==null||w.call(b,"004",z2.error004())),i.setState({width:c.width||500,height:c.height||500})};if(n.current){s(),window.addEventListener("resize",s);const c=new ResizeObserver(()=>s());return c.observe(n.current),()=>{window.removeEventListener("resize",s),c&&n.current&&c.unobserve(n.current)}}},[])}const tae={position:"absolute",width:"100%",height:"100%",top:0,left:0},eMn=n=>({userSelectionActive:n.userSelectionActive,lib:n.lib,connectionInProgress:n.connection.inProgress});function tMn({onPaneContextMenu:n,zoomOnScroll:i=!0,zoomOnPinch:s=!0,panOnScroll:c=!1,panOnScrollSpeed:d=.5,panOnScrollMode:g=nR.Free,zoomOnDoubleClick:b=!0,panOnDrag:w=!0,defaultViewport:E,translateExtent:S,minZoom:x,maxZoom:A,zoomActivationKeyCode:C,preventScrolling:R=!0,children:L,noWheelClassName:D,noPanClassName:B,onViewportChange:$,isControlledViewport:j,paneClickDistance:P,selectionOnDrag:G}){const ee=Mc(),re=H.useRef(null),{userSelectionActive:Q,lib:ie,connectionInProgress:pe}=Js(eMn,Lc),me=ZH(C),le=H.useRef();Q5n(re);const fe=H.useCallback(K=>{$==null||$({x:K[0],y:K[1],zoom:K[2]}),j||ee.setState({transform:K})},[$,j]);return H.useEffect(()=>{if(re.current){le.current=n5n({domNode:re.current,minZoom:x,maxZoom:A,translateExtent:S,viewport:E,onDraggingChange:Se=>ee.setState({paneDragging:Se}),onPanZoomStart:(Se,Le)=>{const{onViewportChangeStart:Ae,onMoveStart:xe}=ee.getState();xe==null||xe(Se,Le),Ae==null||Ae(Le)},onPanZoom:(Se,Le)=>{const{onViewportChange:Ae,onMove:xe}=ee.getState();xe==null||xe(Se,Le),Ae==null||Ae(Le)},onPanZoomEnd:(Se,Le)=>{const{onViewportChangeEnd:Ae,onMoveEnd:xe}=ee.getState();xe==null||xe(Se,Le),Ae==null||Ae(Le)}});const{x:K,y:he,zoom:Oe}=le.current.getViewport();return ee.setState({panZoom:le.current,transform:[K,he,Oe],domNode:re.current.closest(".react-flow")}),()=>{var Se;(Se=le.current)==null||Se.destroy()}}},[]),H.useEffect(()=>{var K;(K=le.current)==null||K.update({onPaneContextMenu:n,zoomOnScroll:i,zoomOnPinch:s,panOnScroll:c,panOnScrollSpeed:d,panOnScrollMode:g,zoomOnDoubleClick:b,panOnDrag:w,zoomActivationKeyPressed:me,preventScrolling:R,noPanClassName:B,userSelectionActive:Q,noWheelClassName:D,lib:ie,onTransformChange:fe,connectionInProgress:pe,selectionOnDrag:G,paneClickDistance:P})},[n,i,s,c,d,g,b,w,me,R,B,Q,D,ie,fe,pe,G,P]),I.jsx("div",{className:"react-flow__renderer",ref:re,style:tae,children:L})}const nMn=n=>({userSelectionActive:n.userSelectionActive,userSelectionRect:n.userSelectionRect});function rMn(){const{userSelectionActive:n,userSelectionRect:i}=Js(nMn,Lc);return n&&i?I.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:i.width,height:i.height,transform:`translate(${i.x}px, ${i.y}px)`}}):null}const GCe=(n,i)=>s=>{s.target===i.current&&(n==null||n(s))},iMn=n=>({userSelectionActive:n.userSelectionActive,elementsSelectable:n.elementsSelectable,connectionInProgress:n.connection.inProgress,dragging:n.paneDragging});function oMn({isSelecting:n,selectionKeyPressed:i,selectionMode:s=YH.Full,panOnDrag:c,paneClickDistance:d,selectionOnDrag:g,onSelectionStart:b,onSelectionEnd:w,onPaneClick:E,onPaneContextMenu:S,onPaneScroll:x,onPaneMouseEnter:A,onPaneMouseMove:C,onPaneMouseLeave:R,children:L}){const D=Mc(),{userSelectionActive:B,elementsSelectable:$,dragging:j,connectionInProgress:P}=Js(iMn,Lc),G=$&&(n||B),ee=H.useRef(null),re=H.useRef(),Q=H.useRef(new Set),ie=H.useRef(new Set),pe=H.useRef(!1),me=Ae=>{if(pe.current||P){pe.current=!1;return}E==null||E(Ae),D.getState().resetSelectedElements(),D.setState({nodesSelectionActive:!1})},le=Ae=>{if(Array.isArray(c)&&(c!=null&&c.includes(2))){Ae.preventDefault();return}S==null||S(Ae)},fe=x?Ae=>x(Ae):void 0,K=Ae=>{pe.current&&(Ae.stopPropagation(),pe.current=!1)},he=Ae=>{var ht,Xt;const{domNode:xe}=D.getState();if(re.current=xe==null?void 0:xe.getBoundingClientRect(),!re.current)return;const We=Ae.target===ee.current;if(!We&&!!Ae.target.closest(".nokey")||!n||!(g&&We||i)||Ae.button!==0||!Ae.isPrimary)return;(Xt=(ht=Ae.target)==null?void 0:ht.setPointerCapture)==null||Xt.call(ht,Ae.pointerId),pe.current=!1;const{x:bt,y:kt}=Ov(Ae.nativeEvent,re.current);D.setState({userSelectionRect:{width:0,height:0,startX:bt,startY:kt,x:bt,y:kt}}),We||(Ae.stopPropagation(),Ae.preventDefault())},Oe=Ae=>{const{userSelectionRect:xe,transform:We,nodeLookup:dt,edgeLookup:Ue,connectionLookup:bt,triggerNodeChanges:kt,triggerEdgeChanges:ht,defaultEdgeOptions:Xt,resetSelectedElements:vt}=D.getState();if(!re.current||!xe)return;const{x:Ct,y:Ft}=Ov(Ae.nativeEvent,re.current),{startX:On,startY:Zn}=xe;if(!pe.current){const Hi=i?0:d;if(Math.hypot(Ct-On,Ft-Zn)<=Hi)return;vt(),b==null||b(Ae)}pe.current=!0;const Yn={startX:On,startY:Zn,x:Ct<On?Ct:On,y:Ft<Zn?Ft:Zn,width:Math.abs(Ct-On),height:Math.abs(Ft-Zn)},vr=Q.current,Ui=ie.current;Q.current=new Set(C5e(dt,Yn,We,s===YH.Partial,!0).map(Hi=>Hi.id)),ie.current=new Set;const Qr=(Xt==null?void 0:Xt.selectable)??!0;for(const Hi of Q.current){const ai=bt.get(Hi);if(ai)for(const{edgeId:jc}of ai.values()){const Xs=Ue.get(jc);Xs&&(Xs.selectable??Qr)&&ie.current.add(jc)}}if(!$Mt(vr,Q.current)){const Hi=z5(dt,Q.current,!0);kt(Hi)}if(!$Mt(Ui,ie.current)){const Hi=z5(Ue,ie.current);ht(Hi)}D.setState({userSelectionRect:Yn,userSelectionActive:!0,nodesSelectionActive:!1})},Se=Ae=>{var xe,We;Ae.button===0&&((We=(xe=Ae.target)==null?void 0:xe.releasePointerCapture)==null||We.call(xe,Ae.pointerId),!B&&Ae.target===ee.current&&D.getState().userSelectionRect&&(me==null||me(Ae)),D.setState({userSelectionActive:!1,userSelectionRect:null}),pe.current&&(w==null||w(Ae),D.setState({nodesSelectionActive:Q.current.size>0})))},Le=c===!0||Array.isArray(c)&&c.includes(0);return I.jsxs("div",{className:Bd(["react-flow__pane",{draggable:Le,dragging:j,selection:n}]),onClick:G?void 0:GCe(me,ee),onContextMenu:GCe(le,ee),onWheel:GCe(fe,ee),onPointerEnter:G?void 0:A,onPointerMove:G?Oe:C,onPointerUp:G?Se:void 0,onPointerDownCapture:G?he:void 0,onClickCapture:G?K:void 0,onPointerLeave:R,ref:ee,style:tae,children:[L,I.jsx(rMn,{})]})}function wDe({id:n,store:i,unselect:s=!1,nodeRef:c}){const{addSelectedNodes:d,unselectNodesAndEdges:g,multiSelectionActive:b,nodeLookup:w,onError:E}=i.getState(),S=w.get(n);if(!S){E==null||E("012",z2.error012(n));return}i.setState({nodesSelectionActive:!1}),S.selected?(s||S.selected&&b)&&(g({nodes:[S],edges:[]}),requestAnimationFrame(()=>{var x;return(x=c==null?void 0:c.current)==null?void 0:x.blur()})):d([n])}function Pzt({nodeRef:n,disabled:i=!1,noDragClassName:s,handleSelector:c,nodeId:d,isSelectable:g,nodeClickDistance:b}){const w=Mc(),[E,S]=H.useState(!1),x=H.useRef();return H.useEffect(()=>{x.current=HLn({getStoreItems:()=>w.getState(),onNodeMouseDown:A=>{wDe({id:A,store:w,nodeRef:n})},onDragStart:()=>{S(!0)},onDragStop:()=>{S(!1)}})},[]),H.useEffect(()=>{var A,C;if(i)(A=x.current)==null||A.destroy();else if(n.current)return(C=x.current)==null||C.update({noDragClassName:s,handleSelector:c,domNode:n.current,isSelectable:g,nodeId:d,nodeClickDistance:b}),()=>{var R;(R=x.current)==null||R.destroy()}},[s,c,i,g,n,d]),E}const sMn=n=>i=>i.selected&&(i.draggable||n&&typeof i.draggable>"u");function jzt(){const n=Mc();return H.useCallback(s=>{const{nodeExtent:c,snapToGrid:d,snapGrid:g,nodesDraggable:b,onError:w,updateNodePositions:E,nodeLookup:S,nodeOrigin:x}=n.getState(),A=new Map,C=sMn(b),R=d?g[0]:5,L=d?g[1]:5,D=s.direction.x*R*s.factor,B=s.direction.y*L*s.factor;for(const[,$]of S){if(!C($))continue;let j={x:$.internals.positionAbsolute.x+D,y:$.internals.positionAbsolute.y+B};d&&(j=Az(j,g));const{position:P,positionAbsolute:G}=QHt({nodeId:$.id,nextPosition:j,nodeLookup:S,nodeExtent:c,nodeOrigin:x,onError:w});$.position=P,$.internals.positionAbsolute=G,A.set($.id,$)}E(A)},[])}const j5e=H.createContext(null),aMn=j5e.Provider;j5e.Consumer;const Fzt=()=>H.useContext(j5e),uMn=n=>({connectOnClick:n.connectOnClick,noPanClassName:n.noPanClassName,rfId:n.rfId}),cMn=(n,i,s)=>c=>{const{connectionClickStartHandle:d,connectionMode:g,connection:b}=c,{fromHandle:w,toHandle:E,isValid:S}=b,x=(E==null?void 0:E.nodeId)===n&&(E==null?void 0:E.id)===i&&(E==null?void 0:E.type)===s;return{connectingFrom:(w==null?void 0:w.nodeId)===n&&(w==null?void 0:w.id)===i&&(w==null?void 0:w.type)===s,connectingTo:x,clickConnecting:(d==null?void 0:d.nodeId)===n&&(d==null?void 0:d.id)===i&&(d==null?void 0:d.type)===s,isPossibleEndHandle:g===EM.Strict?(w==null?void 0:w.type)!==s:n!==(w==null?void 0:w.nodeId)||i!==(w==null?void 0:w.id),connectionInProcess:!!w,clickConnectionInProcess:!!d,valid:x&&S}};function lMn({type:n="source",position:i=qr.Top,isValidConnection:s,isConnectable:c=!0,isConnectableStart:d=!0,isConnectableEnd:g=!0,id:b,onConnect:w,children:E,className:S,onMouseDown:x,onTouchStart:A,...C},R){var Oe,Se;const L=b||null,D=n==="target",B=Mc(),$=Fzt(),{connectOnClick:j,noPanClassName:P,rfId:G}=Js(uMn,Lc),{connectingFrom:ee,connectingTo:re,clickConnecting:Q,isPossibleEndHandle:ie,connectionInProcess:pe,clickConnectionInProcess:me,valid:le}=Js(cMn($,L,n),Lc);$||(Se=(Oe=B.getState()).onError)==null||Se.call(Oe,"010",z2.error010());const fe=Le=>{const{defaultEdgeOptions:Ae,onConnect:xe,hasDefaultEdges:We}=B.getState(),dt={...Ae,...Le};if(We){const{edges:Ue,setEdges:bt}=B.getState();bt(dzt(dt,Ue))}xe==null||xe(dt),w==null||w(dt)},K=Le=>{if(!$)return;const Ae=azt(Le.nativeEvent);if(d&&(Ae&&Le.button===0||!Ae)){const xe=B.getState();mDe.onPointerDown(Le.nativeEvent,{handleDomNode:Le.currentTarget,autoPanOnConnect:xe.autoPanOnConnect,connectionMode:xe.connectionMode,connectionRadius:xe.connectionRadius,domNode:xe.domNode,nodeLookup:xe.nodeLookup,lib:xe.lib,isTarget:D,handleId:L,nodeId:$,flowId:xe.rfId,panBy:xe.panBy,cancelConnection:xe.cancelConnection,onConnectStart:xe.onConnectStart,onConnectEnd:xe.onConnectEnd,updateConnection:xe.updateConnection,onConnect:fe,isValidConnection:s||xe.isValidConnection,getTransform:()=>B.getState().transform,getFromHandle:()=>B.getState().connection.fromHandle,autoPanSpeed:xe.autoPanSpeed,dragThreshold:xe.connectionDragThreshold})}Ae?x==null||x(Le):A==null||A(Le)},he=Le=>{const{onClickConnectStart:Ae,onClickConnectEnd:xe,connectionClickStartHandle:We,connectionMode:dt,isValidConnection:Ue,lib:bt,rfId:kt,nodeLookup:ht,connection:Xt}=B.getState();if(!$||!We&&!d)return;if(!We){Ae==null||Ae(Le.nativeEvent,{nodeId:$,handleId:L,handleType:n}),B.setState({connectionClickStartHandle:{nodeId:$,type:n,id:L}});return}const vt=ozt(Le.target),Ct=s||Ue,{connection:Ft,isValid:On}=mDe.isValid(Le.nativeEvent,{handle:{nodeId:$,id:L,type:n},connectionMode:dt,fromNodeId:We.nodeId,fromHandleId:We.id||null,fromType:We.type,isValidConnection:Ct,flowId:kt,doc:vt,lib:bt,nodeLookup:ht});On&&Ft&&fe(Ft);const Zn=structuredClone(Xt);delete Zn.inProgress,Zn.toPosition=Zn.toHandle?Zn.toHandle.position:null,xe==null||xe(Le,Zn),B.setState({connectionClickStartHandle:null})};return I.jsx("div",{"data-handleid":L,"data-nodeid":$,"data-handlepos":i,"data-id":`${G}-${$}-${L}-${n}`,className:Bd(["react-flow__handle",`react-flow__handle-${i}`,"nodrag",P,S,{source:!D,target:D,connectable:c,connectablestart:d,connectableend:g,clickconnecting:Q,connectingfrom:ee,connectingto:re,valid:le,connectionindicator:c&&(!pe||ie)&&(pe||me?g:d)}]),onMouseDown:K,onTouchStart:K,onClick:j?he:void 0,ref:R,...C,children:E})}const $h=H.memo(Lzt(lMn));function dMn({data:n,isConnectable:i,sourcePosition:s=qr.Bottom}){return I.jsxs(I.Fragment,{children:[n==null?void 0:n.label,I.jsx($h,{type:"source",position:s,isConnectable:i})]})}function fMn({data:n,isConnectable:i,targetPosition:s=qr.Top,sourcePosition:c=qr.Bottom}){return I.jsxs(I.Fragment,{children:[I.jsx($h,{type:"target",position:s,isConnectable:i}),n==null?void 0:n.label,I.jsx($h,{type:"source",position:c,isConnectable:i})]})}function hMn(){return null}function pMn({data:n,isConnectable:i,targetPosition:s=qr.Top}){return I.jsxs(I.Fragment,{children:[I.jsx($h,{type:"target",position:s,isConnectable:i}),n==null?void 0:n.label]})}const Koe={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},d9t={input:dMn,default:fMn,output:pMn,group:hMn};function gMn(n){var i,s,c,d;return n.internals.handleBounds===void 0?{width:n.width??n.initialWidth??((i=n.style)==null?void 0:i.width),height:n.height??n.initialHeight??((s=n.style)==null?void 0:s.height)}:{width:n.width??((c=n.style)==null?void 0:c.width),height:n.height??((d=n.style)==null?void 0:d.height)}}const bMn=n=>{const{width:i,height:s,x:c,y:d}=Tz(n.nodeLookup,{filter:g=>!!g.selected});return{width:Rv(i)?i:null,height:Rv(s)?s:null,userSelectionActive:n.userSelectionActive,transformString:`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]}) translate(${c}px,${d}px)`}};function mMn({onSelectionContextMenu:n,noPanClassName:i,disableKeyboardA11y:s}){const c=Mc(),{width:d,height:g,transformString:b,userSelectionActive:w}=Js(bMn,Lc),E=jzt(),S=H.useRef(null);if(H.useEffect(()=>{var C;s||(C=S.current)==null||C.focus({preventScroll:!0})},[s]),Pzt({nodeRef:S}),w||!d||!g)return null;const x=n?C=>{const R=c.getState().nodes.filter(L=>L.selected);n(C,R)}:void 0,A=C=>{Object.prototype.hasOwnProperty.call(Koe,C.key)&&(C.preventDefault(),E({direction:Koe[C.key],factor:C.shiftKey?4:1}))};return I.jsx("div",{className:Bd(["react-flow__nodesselection","react-flow__container",i]),style:{transform:b},children:I.jsx("div",{ref:S,className:"react-flow__nodesselection-rect",onContextMenu:x,tabIndex:s?void 0:-1,onKeyDown:s?void 0:A,style:{width:d,height:g}})})}const f9t=typeof window<"u"?window:void 0,wMn=n=>({nodesSelectionActive:n.nodesSelectionActive,userSelectionActive:n.userSelectionActive});function $zt({children:n,onPaneClick:i,onPaneMouseEnter:s,onPaneMouseMove:c,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,paneClickDistance:w,deleteKeyCode:E,selectionKeyCode:S,selectionOnDrag:x,selectionMode:A,onSelectionStart:C,onSelectionEnd:R,multiSelectionKeyCode:L,panActivationKeyCode:D,zoomActivationKeyCode:B,elementsSelectable:$,zoomOnScroll:j,zoomOnPinch:P,panOnScroll:G,panOnScrollSpeed:ee,panOnScrollMode:re,zoomOnDoubleClick:Q,panOnDrag:ie,defaultViewport:pe,translateExtent:me,minZoom:le,maxZoom:fe,preventScrolling:K,onSelectionContextMenu:he,noWheelClassName:Oe,noPanClassName:Se,disableKeyboardA11y:Le,onViewportChange:Ae,isControlledViewport:xe}){const{nodesSelectionActive:We,userSelectionActive:dt}=Js(wMn,Lc),Ue=ZH(S,{target:f9t}),bt=ZH(D,{target:f9t}),kt=bt||ie,ht=bt||G,Xt=x&&kt!==!0,vt=Ue||dt||Xt;return Z5n({deleteKeyCode:E,multiSelectionKeyCode:L}),I.jsx(tMn,{onPaneContextMenu:g,elementsSelectable:$,zoomOnScroll:j,zoomOnPinch:P,panOnScroll:ht,panOnScrollSpeed:ee,panOnScrollMode:re,zoomOnDoubleClick:Q,panOnDrag:!Ue&&kt,defaultViewport:pe,translateExtent:me,minZoom:le,maxZoom:fe,zoomActivationKeyCode:B,preventScrolling:K,noWheelClassName:Oe,noPanClassName:Se,onViewportChange:Ae,isControlledViewport:xe,paneClickDistance:w,selectionOnDrag:Xt,children:I.jsxs(oMn,{onSelectionStart:C,onSelectionEnd:R,onPaneClick:i,onPaneMouseEnter:s,onPaneMouseMove:c,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,panOnDrag:kt,isSelecting:!!vt,selectionMode:A,selectionKeyPressed:Ue,paneClickDistance:w,selectionOnDrag:Xt,children:[n,We&&I.jsx(mMn,{onSelectionContextMenu:he,noPanClassName:Se,disableKeyboardA11y:Le})]})})}$zt.displayName="FlowRenderer";const yMn=H.memo($zt),vMn=n=>i=>n?C5e(i.nodeLookup,{x:0,y:0,width:i.width,height:i.height},i.transform,!0).map(s=>s.id):Array.from(i.nodeLookup.keys());function EMn(n){return Js(H.useCallback(vMn(n),[n]),Lc)}const SMn=n=>n.updateNodeInternals;function TMn(){const n=Js(SMn),[i]=H.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(s=>{const c=new Map;s.forEach(d=>{const g=d.target.getAttribute("data-id");c.set(g,{id:g,nodeElement:d.target,force:!0})}),n(c)}));return H.useEffect(()=>()=>{i==null||i.disconnect()},[i]),i}function AMn({node:n,nodeType:i,hasDimensions:s,resizeObserver:c}){const d=Mc(),g=H.useRef(null),b=H.useRef(null),w=H.useRef(n.sourcePosition),E=H.useRef(n.targetPosition),S=H.useRef(i),x=s&&!!n.internals.handleBounds;return H.useEffect(()=>{g.current&&!n.hidden&&(!x||b.current!==g.current)&&(b.current&&(c==null||c.unobserve(b.current)),c==null||c.observe(g.current),b.current=g.current)},[x,n.hidden]),H.useEffect(()=>()=>{b.current&&(c==null||c.unobserve(b.current),b.current=null)},[]),H.useEffect(()=>{if(g.current){const A=S.current!==i,C=w.current!==n.sourcePosition,R=E.current!==n.targetPosition;(A||C||R)&&(S.current=i,w.current=n.sourcePosition,E.current=n.targetPosition,d.getState().updateNodeInternals(new Map([[n.id,{id:n.id,nodeElement:g.current,force:!0}]])))}},[n.id,i,n.sourcePosition,n.targetPosition]),g}function _Mn({id:n,onClick:i,onMouseEnter:s,onMouseMove:c,onMouseLeave:d,onContextMenu:g,onDoubleClick:b,nodesDraggable:w,elementsSelectable:E,nodesConnectable:S,nodesFocusable:x,resizeObserver:A,noDragClassName:C,noPanClassName:R,disableKeyboardA11y:L,rfId:D,nodeTypes:B,nodeClickDistance:$,onError:j}){const{node:P,internals:G,isParent:ee}=Js(Ct=>{const Ft=Ct.nodeLookup.get(n),On=Ct.parentLookup.has(n);return{node:Ft,internals:Ft.internals,isParent:On}},Lc);let re=P.type||"default",Q=(B==null?void 0:B[re])||d9t[re];Q===void 0&&(j==null||j("003",z2.error003(re)),re="default",Q=(B==null?void 0:B.default)||d9t.default);const ie=!!(P.draggable||w&&typeof P.draggable>"u"),pe=!!(P.selectable||E&&typeof P.selectable>"u"),me=!!(P.connectable||S&&typeof P.connectable>"u"),le=!!(P.focusable||x&&typeof P.focusable>"u"),fe=Mc(),K=rzt(P),he=AMn({node:P,nodeType:re,hasDimensions:K,resizeObserver:A}),Oe=Pzt({nodeRef:he,disabled:P.hidden||!ie,noDragClassName:C,handleSelector:P.dragHandle,nodeId:n,isSelectable:pe,nodeClickDistance:$}),Se=jzt();if(P.hidden)return null;const Le=_A(P),Ae=gMn(P),xe=pe||ie||i||s||c||d,We=s?Ct=>s(Ct,{...G.userNode}):void 0,dt=c?Ct=>c(Ct,{...G.userNode}):void 0,Ue=d?Ct=>d(Ct,{...G.userNode}):void 0,bt=g?Ct=>g(Ct,{...G.userNode}):void 0,kt=b?Ct=>b(Ct,{...G.userNode}):void 0,ht=Ct=>{const{selectNodesOnDrag:Ft,nodeDragThreshold:On}=fe.getState();pe&&(!Ft||!ie||On>0)&&wDe({id:n,store:fe,nodeRef:he}),i&&i(Ct,{...G.userNode})},Xt=Ct=>{if(!(szt(Ct.nativeEvent)||L)){if(KHt.includes(Ct.key)&&pe){const Ft=Ct.key==="Escape";wDe({id:n,store:fe,unselect:Ft,nodeRef:he})}else if(ie&&P.selected&&Object.prototype.hasOwnProperty.call(Koe,Ct.key)){Ct.preventDefault();const{ariaLabelConfig:Ft}=fe.getState();fe.setState({ariaLiveMessage:Ft["node.a11yDescription.ariaLiveMessage"]({direction:Ct.key.replace("Arrow","").toLowerCase(),x:~~G.positionAbsolute.x,y:~~G.positionAbsolute.y})}),Se({direction:Koe[Ct.key],factor:Ct.shiftKey?4:1})}}},vt=()=>{var Ui;if(L||!((Ui=he.current)!=null&&Ui.matches(":focus-visible")))return;const{transform:Ct,width:Ft,height:On,autoPanOnNodeFocus:Zn,setCenter:Yn}=fe.getState();if(!Zn)return;C5e(new Map([[n,P]]),{x:0,y:0,width:Ft,height:On},Ct,!0).length>0||Yn(P.position.x+Le.width/2,P.position.y+Le.height/2,{zoom:Ct[2]})};return I.jsx("div",{className:Bd(["react-flow__node",`react-flow__node-${re}`,{[R]:ie},P.className,{selected:P.selected,selectable:pe,parent:ee,draggable:ie,dragging:Oe}]),ref:he,style:{zIndex:G.z,transform:`translate(${G.positionAbsolute.x}px,${G.positionAbsolute.y}px)`,pointerEvents:xe?"all":"none",visibility:K?"visible":"hidden",...P.style,...Ae},"data-id":n,"data-testid":`rf__node-${n}`,onMouseEnter:We,onMouseMove:dt,onMouseLeave:Ue,onContextMenu:bt,onClick:ht,onDoubleClick:kt,onKeyDown:le?Xt:void 0,tabIndex:le?0:void 0,onFocus:le?vt:void 0,role:P.ariaRole??(le?"group":void 0),"aria-roledescription":"node","aria-describedby":L?void 0:`${Nzt}-${D}`,"aria-label":P.ariaLabel,...P.domAttributes,children:I.jsx(aMn,{value:n,children:I.jsx(Q,{id:n,data:P.data,type:re,positionAbsoluteX:G.positionAbsolute.x,positionAbsoluteY:G.positionAbsolute.y,selected:P.selected??!1,selectable:pe,draggable:ie,deletable:P.deletable??!0,isConnectable:me,sourcePosition:P.sourcePosition,targetPosition:P.targetPosition,dragging:Oe,dragHandle:P.dragHandle,zIndex:G.z,parentId:P.parentId,...Le})})})}var xMn=H.memo(_Mn);const kMn=n=>({nodesDraggable:n.nodesDraggable,nodesConnectable:n.nodesConnectable,nodesFocusable:n.nodesFocusable,elementsSelectable:n.elementsSelectable,onError:n.onError});function Bzt(n){const{nodesDraggable:i,nodesConnectable:s,nodesFocusable:c,elementsSelectable:d,onError:g}=Js(kMn,Lc),b=EMn(n.onlyRenderVisibleElements),w=TMn();return I.jsx("div",{className:"react-flow__nodes",style:tae,children:b.map(E=>I.jsx(xMn,{id:E,nodeTypes:n.nodeTypes,nodeExtent:n.nodeExtent,onClick:n.onNodeClick,onMouseEnter:n.onNodeMouseEnter,onMouseMove:n.onNodeMouseMove,onMouseLeave:n.onNodeMouseLeave,onContextMenu:n.onNodeContextMenu,onDoubleClick:n.onNodeDoubleClick,noDragClassName:n.noDragClassName,noPanClassName:n.noPanClassName,rfId:n.rfId,disableKeyboardA11y:n.disableKeyboardA11y,resizeObserver:w,nodesDraggable:i,nodesConnectable:s,nodesFocusable:c,elementsSelectable:d,nodeClickDistance:n.nodeClickDistance,onError:g},E))})}Bzt.displayName="NodeRenderer";const NMn=H.memo(Bzt);function CMn(n){return Js(H.useCallback(s=>{if(!n)return s.edges.map(d=>d.id);const c=[];if(s.width&&s.height)for(const d of s.edges){const g=s.nodeLookup.get(d.source),b=s.nodeLookup.get(d.target);g&&b&&ALn({sourceNode:g,targetNode:b,width:s.width,height:s.height,transform:s.transform})&&c.push(d.id)}return c},[n]),Lc)}const IMn=({color:n="none",strokeWidth:i=1})=>{const s={strokeWidth:i,...n&&{stroke:n}};return I.jsx("polyline",{className:"arrow",style:s,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},RMn=({color:n="none",strokeWidth:i=1})=>{const s={strokeWidth:i,...n&&{stroke:n,fill:n}};return I.jsx("polyline",{className:"arrowclosed",style:s,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},h9t={[sA.Arrow]:IMn,[sA.ArrowClosed]:RMn};function OMn(n){const i=Mc();return H.useMemo(()=>{var d,g;return Object.prototype.hasOwnProperty.call(h9t,n)?h9t[n]:((g=(d=i.getState()).onError)==null||g.call(d,"009",z2.error009(n)),null)},[n])}const DMn=({id:n,type:i,color:s,width:c=12.5,height:d=12.5,markerUnits:g="strokeWidth",strokeWidth:b,orient:w="auto-start-reverse"})=>{const E=OMn(i);return E?I.jsx("marker",{className:"react-flow__arrowhead",id:n,markerWidth:`${c}`,markerHeight:`${d}`,viewBox:"-10 -10 20 20",markerUnits:g,orient:w,refX:"0",refY:"0",children:I.jsx(E,{color:s,strokeWidth:b})}):null},Uzt=({defaultColor:n,rfId:i})=>{const s=Js(g=>g.edges),c=Js(g=>g.defaultEdgeOptions),d=H.useMemo(()=>RLn(s,{id:i,defaultColor:n,defaultMarkerStart:c==null?void 0:c.markerStart,defaultMarkerEnd:c==null?void 0:c.markerEnd}),[s,c,i,n]);return d.length?I.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:I.jsx("defs",{children:d.map(g=>I.jsx(DMn,{id:g.id,type:g.type,color:g.color,width:g.width,height:g.height,markerUnits:g.markerUnits,strokeWidth:g.strokeWidth,orient:g.orient},g.id))})}):null};Uzt.displayName="MarkerDefinitions";var LMn=H.memo(Uzt);function Hzt({x:n,y:i,label:s,labelStyle:c,labelShowBg:d=!0,labelBgStyle:g,labelBgPadding:b=[2,4],labelBgBorderRadius:w=2,children:E,className:S,...x}){const[A,C]=H.useState({x:1,y:0,width:0,height:0}),R=Bd(["react-flow__edge-textwrapper",S]),L=H.useRef(null);return H.useEffect(()=>{if(L.current){const D=L.current.getBBox();C({x:D.x,y:D.y,width:D.width,height:D.height})}},[s]),s?I.jsxs("g",{transform:`translate(${n-A.width/2} ${i-A.height/2})`,className:R,visibility:A.width?"visible":"hidden",...x,children:[d&&I.jsx("rect",{width:A.width+2*b[0],x:-b[0],y:-b[1],height:A.height+2*b[1],className:"react-flow__edge-textbg",style:g,rx:w,ry:w}),I.jsx("text",{className:"react-flow__edge-text",y:A.height/2,dy:"0.3em",ref:L,style:c,children:s}),E]}):null}Hzt.displayName="EdgeText";const MMn=H.memo(Hzt);function xz({path:n,labelX:i,labelY:s,label:c,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E,interactionWidth:S=20,...x}){return I.jsxs(I.Fragment,{children:[I.jsx("path",{...x,d:n,fill:"none",className:Bd(["react-flow__edge-path",x.className])}),S?I.jsx("path",{d:n,fill:"none",strokeOpacity:0,strokeWidth:S,className:"react-flow__edge-interaction"}):null,c&&Rv(i)&&Rv(s)?I.jsx(MMn,{x:i,y:s,label:c,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E}):null]})}function p9t({pos:n,x1:i,y1:s,x2:c,y2:d}){return n===qr.Left||n===qr.Right?[.5*(i+c),s]:[i,.5*(s+d)]}function zzt({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:c,targetY:d,targetPosition:g=qr.Top}){const[b,w]=p9t({pos:s,x1:n,y1:i,x2:c,y2:d}),[E,S]=p9t({pos:g,x1:c,y1:d,x2:n,y2:i}),[x,A,C,R]=uzt({sourceX:n,sourceY:i,targetX:c,targetY:d,sourceControlX:b,sourceControlY:w,targetControlX:E,targetControlY:S});return[`M${n},${i} C${b},${w} ${E},${S} ${c},${d}`,x,A,C,R]}function Gzt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,sourcePosition:b,targetPosition:w,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:L,markerEnd:D,markerStart:B,interactionWidth:$})=>{const[j,P,G]=zzt({sourceX:s,sourceY:c,sourcePosition:b,targetX:d,targetY:g,targetPosition:w}),ee=n.isInternal?void 0:i;return I.jsx(xz,{id:ee,path:j,labelX:P,labelY:G,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:L,markerEnd:D,markerStart:B,interactionWidth:$})})}const PMn=Gzt({isInternal:!1}),qzt=Gzt({isInternal:!0});PMn.displayName="SimpleBezierEdge";qzt.displayName="SimpleBezierEdgeInternal";function Vzt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,sourcePosition:R=qr.Bottom,targetPosition:L=qr.Top,markerEnd:D,markerStart:B,pathOptions:$,interactionWidth:j})=>{const[P,G,ee]=Woe({sourceX:s,sourceY:c,sourcePosition:R,targetX:d,targetY:g,targetPosition:L,borderRadius:$==null?void 0:$.borderRadius,offset:$==null?void 0:$.offset,stepPosition:$==null?void 0:$.stepPosition}),re=n.isInternal?void 0:i;return I.jsx(xz,{id:re,path:P,labelX:G,labelY:ee,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,markerEnd:D,markerStart:B,interactionWidth:j})})}const Wzt=Vzt({isInternal:!1}),Kzt=Vzt({isInternal:!0});Wzt.displayName="SmoothStepEdge";Kzt.displayName="SmoothStepEdgeInternal";function Yzt(n){return H.memo(({id:i,...s})=>{var d;const c=n.isInternal?void 0:i;return I.jsx(Wzt,{...s,id:c,pathOptions:H.useMemo(()=>{var g;return{borderRadius:0,offset:(g=s.pathOptions)==null?void 0:g.offset}},[(d=s.pathOptions)==null?void 0:d.offset])})})}const jMn=Yzt({isInternal:!1}),Jzt=Yzt({isInternal:!0});jMn.displayName="StepEdge";Jzt.displayName="StepEdgeInternal";function Xzt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,markerEnd:R,markerStart:L,interactionWidth:D})=>{const[B,$,j]=fzt({sourceX:s,sourceY:c,targetX:d,targetY:g}),P=n.isInternal?void 0:i;return I.jsx(xz,{id:P,path:B,labelX:$,labelY:j,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:x,labelBgBorderRadius:A,style:C,markerEnd:R,markerStart:L,interactionWidth:D})})}const FMn=Xzt({isInternal:!1}),Zzt=Xzt({isInternal:!0});FMn.displayName="StraightEdge";Zzt.displayName="StraightEdgeInternal";function Qzt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,sourcePosition:b=qr.Bottom,targetPosition:w=qr.Top,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:L,markerEnd:D,markerStart:B,pathOptions:$,interactionWidth:j})=>{const[P,G,ee]=czt({sourceX:s,sourceY:c,sourcePosition:b,targetX:d,targetY:g,targetPosition:w,curvature:$==null?void 0:$.curvature}),re=n.isInternal?void 0:i;return I.jsx(xz,{id:re,path:P,labelX:G,labelY:ee,label:E,labelStyle:S,labelShowBg:x,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:R,style:L,markerEnd:D,markerStart:B,interactionWidth:j})})}const $Mn=Qzt({isInternal:!1}),eGt=Qzt({isInternal:!0});$Mn.displayName="BezierEdge";eGt.displayName="BezierEdgeInternal";const g9t={default:eGt,straight:Zzt,step:Jzt,smoothstep:Kzt,simplebezier:qzt},b9t={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},BMn=(n,i,s)=>s===qr.Left?n-i:s===qr.Right?n+i:n,UMn=(n,i,s)=>s===qr.Top?n-i:s===qr.Bottom?n+i:n,m9t="react-flow__edgeupdater";function w9t({position:n,centerX:i,centerY:s,radius:c=10,onMouseDown:d,onMouseEnter:g,onMouseOut:b,type:w}){return I.jsx("circle",{onMouseDown:d,onMouseEnter:g,onMouseOut:b,className:Bd([m9t,`${m9t}-${w}`]),cx:BMn(i,c,n),cy:UMn(s,c,n),r:c,stroke:"transparent",fill:"transparent"})}function HMn({isReconnectable:n,reconnectRadius:i,edge:s,sourceX:c,sourceY:d,targetX:g,targetY:b,sourcePosition:w,targetPosition:E,onReconnect:S,onReconnectStart:x,onReconnectEnd:A,setReconnecting:C,setUpdateHover:R}){const L=Mc(),D=(G,ee)=>{if(G.button!==0)return;const{autoPanOnConnect:re,domNode:Q,isValidConnection:ie,connectionMode:pe,connectionRadius:me,lib:le,onConnectStart:fe,onConnectEnd:K,cancelConnection:he,nodeLookup:Oe,rfId:Se,panBy:Le,updateConnection:Ae}=L.getState(),xe=ee.type==="target",We=(bt,kt)=>{C(!1),A==null||A(bt,s,ee.type,kt)},dt=bt=>S==null?void 0:S(s,bt),Ue=(bt,kt)=>{C(!0),x==null||x(G,s,ee.type),fe==null||fe(bt,kt)};mDe.onPointerDown(G.nativeEvent,{autoPanOnConnect:re,connectionMode:pe,connectionRadius:me,domNode:Q,handleId:ee.id,nodeId:ee.nodeId,nodeLookup:Oe,isTarget:xe,edgeUpdaterType:ee.type,lib:le,flowId:Se,cancelConnection:he,panBy:Le,isValidConnection:ie,onConnect:dt,onConnectStart:Ue,onConnectEnd:K,onReconnectEnd:We,updateConnection:Ae,getTransform:()=>L.getState().transform,getFromHandle:()=>L.getState().connection.fromHandle,dragThreshold:L.getState().connectionDragThreshold,handleDomNode:G.currentTarget})},B=G=>D(G,{nodeId:s.target,id:s.targetHandle??null,type:"target"}),$=G=>D(G,{nodeId:s.source,id:s.sourceHandle??null,type:"source"}),j=()=>R(!0),P=()=>R(!1);return I.jsxs(I.Fragment,{children:[(n===!0||n==="source")&&I.jsx(w9t,{position:w,centerX:c,centerY:d,radius:i,onMouseDown:B,onMouseEnter:j,onMouseOut:P,type:"source"}),(n===!0||n==="target")&&I.jsx(w9t,{position:E,centerX:g,centerY:b,radius:i,onMouseDown:$,onMouseEnter:j,onMouseOut:P,type:"target"})]})}function zMn({id:n,edgesFocusable:i,edgesReconnectable:s,elementsSelectable:c,onClick:d,onDoubleClick:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,reconnectRadius:x,onReconnect:A,onReconnectStart:C,onReconnectEnd:R,rfId:L,edgeTypes:D,noPanClassName:B,onError:$,disableKeyboardA11y:j}){let P=Js(Yn=>Yn.edgeLookup.get(n));const G=Js(Yn=>Yn.defaultEdgeOptions);P=G?{...G,...P}:P;let ee=P.type||"default",re=(D==null?void 0:D[ee])||g9t[ee];re===void 0&&($==null||$("011",z2.error011(ee)),ee="default",re=(D==null?void 0:D.default)||g9t.default);const Q=!!(P.focusable||i&&typeof P.focusable>"u"),ie=typeof A<"u"&&(P.reconnectable||s&&typeof P.reconnectable>"u"),pe=!!(P.selectable||c&&typeof P.selectable>"u"),me=H.useRef(null),[le,fe]=H.useState(!1),[K,he]=H.useState(!1),Oe=Mc(),{zIndex:Se,sourceX:Le,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:dt,targetPosition:Ue}=Js(H.useCallback(Yn=>{const vr=Yn.nodeLookup.get(P.source),Ui=Yn.nodeLookup.get(P.target);if(!vr||!Ui)return{zIndex:P.zIndex,...b9t};const Qr=ILn({id:n,sourceNode:vr,targetNode:Ui,sourceHandle:P.sourceHandle||null,targetHandle:P.targetHandle||null,connectionMode:Yn.connectionMode,onError:$});return{zIndex:TLn({selected:P.selected,zIndex:P.zIndex,sourceNode:vr,targetNode:Ui,elevateOnSelect:Yn.elevateEdgesOnSelect,zIndexMode:Yn.zIndexMode}),...Qr||b9t}},[P.source,P.target,P.sourceHandle,P.targetHandle,P.selected,P.zIndex]),Lc),bt=H.useMemo(()=>P.markerStart?`url('#${gDe(P.markerStart,L)}')`:void 0,[P.markerStart,L]),kt=H.useMemo(()=>P.markerEnd?`url('#${gDe(P.markerEnd,L)}')`:void 0,[P.markerEnd,L]);if(P.hidden||Le===null||Ae===null||xe===null||We===null)return null;const ht=Yn=>{var Hi;const{addSelectedEdges:vr,unselectNodesAndEdges:Ui,multiSelectionActive:Qr}=Oe.getState();pe&&(Oe.setState({nodesSelectionActive:!1}),P.selected&&Qr?(Ui({nodes:[],edges:[P]}),(Hi=me.current)==null||Hi.blur()):vr([n])),d&&d(Yn,P)},Xt=g?Yn=>{g(Yn,{...P})}:void 0,vt=b?Yn=>{b(Yn,{...P})}:void 0,Ct=w?Yn=>{w(Yn,{...P})}:void 0,Ft=E?Yn=>{E(Yn,{...P})}:void 0,On=S?Yn=>{S(Yn,{...P})}:void 0,Zn=Yn=>{var vr;if(!j&&KHt.includes(Yn.key)&&pe){const{unselectNodesAndEdges:Ui,addSelectedEdges:Qr}=Oe.getState();Yn.key==="Escape"?((vr=me.current)==null||vr.blur(),Ui({edges:[P]})):Qr([n])}};return I.jsx("svg",{style:{zIndex:Se},children:I.jsxs("g",{className:Bd(["react-flow__edge",`react-flow__edge-${ee}`,P.className,B,{selected:P.selected,animated:P.animated,inactive:!pe&&!d,updating:le,selectable:pe}]),onClick:ht,onDoubleClick:Xt,onContextMenu:vt,onMouseEnter:Ct,onMouseMove:Ft,onMouseLeave:On,onKeyDown:Q?Zn:void 0,tabIndex:Q?0:void 0,role:P.ariaRole??(Q?"group":"img"),"aria-roledescription":"edge","data-id":n,"data-testid":`rf__edge-${n}`,"aria-label":P.ariaLabel===null?void 0:P.ariaLabel||`Edge from ${P.source} to ${P.target}`,"aria-describedby":Q?`${Czt}-${L}`:void 0,ref:me,...P.domAttributes,children:[!K&&I.jsx(re,{id:n,source:P.source,target:P.target,type:P.type,selected:P.selected,animated:P.animated,selectable:pe,deletable:P.deletable??!0,label:P.label,labelStyle:P.labelStyle,labelShowBg:P.labelShowBg,labelBgStyle:P.labelBgStyle,labelBgPadding:P.labelBgPadding,labelBgBorderRadius:P.labelBgBorderRadius,sourceX:Le,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:dt,targetPosition:Ue,data:P.data,style:P.style,sourceHandleId:P.sourceHandle,targetHandleId:P.targetHandle,markerStart:bt,markerEnd:kt,pathOptions:"pathOptions"in P?P.pathOptions:void 0,interactionWidth:P.interactionWidth}),ie&&I.jsx(HMn,{edge:P,isReconnectable:ie,reconnectRadius:x,onReconnect:A,onReconnectStart:C,onReconnectEnd:R,sourceX:Le,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:dt,targetPosition:Ue,setUpdateHover:fe,setReconnecting:he})]})})}var GMn=H.memo(zMn);const qMn=n=>({edgesFocusable:n.edgesFocusable,edgesReconnectable:n.edgesReconnectable,elementsSelectable:n.elementsSelectable,connectionMode:n.connectionMode,onError:n.onError});function tGt({defaultMarkerColor:n,onlyRenderVisibleElements:i,rfId:s,edgeTypes:c,noPanClassName:d,onReconnect:g,onEdgeContextMenu:b,onEdgeMouseEnter:w,onEdgeMouseMove:E,onEdgeMouseLeave:S,onEdgeClick:x,reconnectRadius:A,onEdgeDoubleClick:C,onReconnectStart:R,onReconnectEnd:L,disableKeyboardA11y:D}){const{edgesFocusable:B,edgesReconnectable:$,elementsSelectable:j,onError:P}=Js(qMn,Lc),G=CMn(i);return I.jsxs("div",{className:"react-flow__edges",children:[I.jsx(LMn,{defaultColor:n,rfId:s}),G.map(ee=>I.jsx(GMn,{id:ee,edgesFocusable:B,edgesReconnectable:$,elementsSelectable:j,noPanClassName:d,onReconnect:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,onClick:x,reconnectRadius:A,onDoubleClick:C,onReconnectStart:R,onReconnectEnd:L,rfId:s,onError:P,edgeTypes:c,disableKeyboardA11y:D},ee))]})}tGt.displayName="EdgeRenderer";const VMn=H.memo(tGt),WMn=n=>`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]})`;function KMn({children:n}){const i=Js(WMn);return I.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:i},children:n})}function YMn(n){const i=kR(),s=H.useRef(!1);H.useEffect(()=>{!s.current&&i.viewportInitialized&&n&&(setTimeout(()=>n(i),1),s.current=!0)},[n,i.viewportInitialized])}const JMn=n=>{var i;return(i=n.panZoom)==null?void 0:i.syncViewport};function XMn(n){const i=Js(JMn),s=Mc();return H.useEffect(()=>{n&&(i==null||i(n),s.setState({transform:[n.x,n.y,n.zoom]}))},[n,i]),null}function ZMn(n){return n.connection.inProgress?{...n.connection,to:_z(n.connection.to,n.transform)}:{...n.connection}}function QMn(n){return ZMn}function e9n(n){const i=QMn();return Js(i,Lc)}const t9n=n=>({nodesConnectable:n.nodesConnectable,isValid:n.connection.isValid,inProgress:n.connection.inProgress,width:n.width,height:n.height});function n9n({containerStyle:n,style:i,type:s,component:c}){const{nodesConnectable:d,width:g,height:b,isValid:w,inProgress:E}=Js(t9n,Lc);return!(g&&d&&E)?null:I.jsx("svg",{style:n,width:g,height:b,className:"react-flow__connectionline react-flow__container",children:I.jsx("g",{className:Bd(["react-flow__connection",XHt(w)]),children:I.jsx(nGt,{style:i,type:s,CustomComponent:c,isValid:w})})})}const nGt=({style:n,type:i=Bk.Bezier,CustomComponent:s,isValid:c})=>{const{inProgress:d,from:g,fromNode:b,fromHandle:w,fromPosition:E,to:S,toNode:x,toHandle:A,toPosition:C,pointer:R}=e9n();if(!d)return;if(s)return I.jsx(s,{connectionLineType:i,connectionLineStyle:n,fromNode:b,fromHandle:w,fromX:g.x,fromY:g.y,toX:S.x,toY:S.y,fromPosition:E,toPosition:C,connectionStatus:XHt(c),toNode:x,toHandle:A,pointer:R});let L="";const D={sourceX:g.x,sourceY:g.y,sourcePosition:E,targetX:S.x,targetY:S.y,targetPosition:C};switch(i){case Bk.Bezier:[L]=czt(D);break;case Bk.SimpleBezier:[L]=zzt(D);break;case Bk.Step:[L]=Woe({...D,borderRadius:0});break;case Bk.SmoothStep:[L]=Woe(D);break;default:[L]=fzt(D)}return I.jsx("path",{d:L,fill:"none",className:"react-flow__connection-path",style:n})};nGt.displayName="ConnectionLine";const r9n={};function y9t(n=r9n){H.useRef(n),Mc(),H.useEffect(()=>{},[n])}function i9n(){Mc(),H.useRef(!1),H.useEffect(()=>{},[])}function rGt({nodeTypes:n,edgeTypes:i,onInit:s,onNodeClick:c,onEdgeClick:d,onNodeDoubleClick:g,onEdgeDoubleClick:b,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:x,onSelectionContextMenu:A,onSelectionStart:C,onSelectionEnd:R,connectionLineType:L,connectionLineStyle:D,connectionLineComponent:B,connectionLineContainerStyle:$,selectionKeyCode:j,selectionOnDrag:P,selectionMode:G,multiSelectionKeyCode:ee,panActivationKeyCode:re,zoomActivationKeyCode:Q,deleteKeyCode:ie,onlyRenderVisibleElements:pe,elementsSelectable:me,defaultViewport:le,translateExtent:fe,minZoom:K,maxZoom:he,preventScrolling:Oe,defaultMarkerColor:Se,zoomOnScroll:Le,zoomOnPinch:Ae,panOnScroll:xe,panOnScrollSpeed:We,panOnScrollMode:dt,zoomOnDoubleClick:Ue,panOnDrag:bt,onPaneClick:kt,onPaneMouseEnter:ht,onPaneMouseMove:Xt,onPaneMouseLeave:vt,onPaneScroll:Ct,onPaneContextMenu:Ft,paneClickDistance:On,nodeClickDistance:Zn,onEdgeContextMenu:Yn,onEdgeMouseEnter:vr,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,onReconnect:ai,onReconnectStart:jc,onReconnectEnd:Xs,noDragClassName:ls,noWheelClassName:Qo,noPanClassName:Ca,disableKeyboardA11y:Ni,nodeExtent:mb,rfId:Yg,viewport:Wh,onViewportChange:wb}){return y9t(n),y9t(i),i9n(),YMn(s),XMn(Wh),I.jsx(yMn,{onPaneClick:kt,onPaneMouseEnter:ht,onPaneMouseMove:Xt,onPaneMouseLeave:vt,onPaneContextMenu:Ft,onPaneScroll:Ct,paneClickDistance:On,deleteKeyCode:ie,selectionKeyCode:j,selectionOnDrag:P,selectionMode:G,onSelectionStart:C,onSelectionEnd:R,multiSelectionKeyCode:ee,panActivationKeyCode:re,zoomActivationKeyCode:Q,elementsSelectable:me,zoomOnScroll:Le,zoomOnPinch:Ae,zoomOnDoubleClick:Ue,panOnScroll:xe,panOnScrollSpeed:We,panOnScrollMode:dt,panOnDrag:bt,defaultViewport:le,translateExtent:fe,minZoom:K,maxZoom:he,onSelectionContextMenu:A,preventScrolling:Oe,noDragClassName:ls,noWheelClassName:Qo,noPanClassName:Ca,disableKeyboardA11y:Ni,onViewportChange:wb,isControlledViewport:!!Wh,children:I.jsxs(KMn,{children:[I.jsx(VMn,{edgeTypes:i,onEdgeClick:d,onEdgeDoubleClick:b,onReconnect:ai,onReconnectStart:jc,onReconnectEnd:Xs,onlyRenderVisibleElements:pe,onEdgeContextMenu:Yn,onEdgeMouseEnter:vr,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,defaultMarkerColor:Se,noPanClassName:Ca,disableKeyboardA11y:Ni,rfId:Yg}),I.jsx(n9n,{style:D,type:L,component:B,containerStyle:$}),I.jsx("div",{className:"react-flow__edgelabel-renderer"}),I.jsx(NMn,{nodeTypes:n,onNodeClick:c,onNodeDoubleClick:g,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:x,nodeClickDistance:Zn,onlyRenderVisibleElements:pe,noPanClassName:Ca,noDragClassName:ls,disableKeyboardA11y:Ni,nodeExtent:mb,rfId:Yg}),I.jsx("div",{className:"react-flow__viewport-portal"})]})})}rGt.displayName="GraphView";const o9n=H.memo(rGt),v9t=({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E=.5,maxZoom:S=2,nodeOrigin:x,nodeExtent:A,zIndexMode:C="basic"}={})=>{const R=new Map,L=new Map,D=new Map,B=new Map,$=c??i??[],j=s??n??[],P=x??[0,0],G=A??KH;gzt(D,B,$);const ee=bDe(j,R,L,{nodeOrigin:P,nodeExtent:G,zIndexMode:C});let re=[0,0,1];if(b&&d&&g){const Q=Tz(R,{filter:le=>!!((le.width||le.initialWidth)&&(le.height||le.initialHeight))}),{x:ie,y:pe,zoom:me}=I5e(Q,d,g,E,S,(w==null?void 0:w.padding)??.1);re=[ie,pe,me]}return{rfId:"1",width:d??0,height:g??0,transform:re,nodes:j,nodesInitialized:ee,nodeLookup:R,parentLookup:L,edges:$,edgeLookup:B,connectionLookup:D,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:s!==void 0,hasDefaultEdges:c!==void 0,panZoom:null,minZoom:E,maxZoom:S,translateExtent:KH,nodeExtent:G,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:EM.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:P,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:b??!1,fitViewOptions:w,fitViewResolver:null,connection:{...JHt},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:mLn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:YHt,zIndexMode:C,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},s9n=({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:x,nodeExtent:A,zIndexMode:C})=>A5n((R,L)=>{async function D(){const{nodeLookup:B,panZoom:$,fitViewOptions:j,fitViewResolver:P,width:G,height:ee,minZoom:re,maxZoom:Q}=L();$&&(await gLn({nodes:B,width:G,height:ee,panZoom:$,minZoom:re,maxZoom:Q},j),P==null||P.resolve(!0),R({fitViewResolver:null}))}return{...v9t({nodes:n,edges:i,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:x,nodeExtent:A,defaultNodes:s,defaultEdges:c,zIndexMode:C}),setNodes:B=>{const{nodeLookup:$,parentLookup:j,nodeOrigin:P,elevateNodesOnSelect:G,fitViewQueued:ee,zIndexMode:re}=L(),Q=bDe(B,$,j,{nodeOrigin:P,nodeExtent:A,elevateNodesOnSelect:G,checkEquality:!0,zIndexMode:re});ee&&Q?(D(),R({nodes:B,nodesInitialized:Q,fitViewQueued:!1,fitViewOptions:void 0})):R({nodes:B,nodesInitialized:Q})},setEdges:B=>{const{connectionLookup:$,edgeLookup:j}=L();gzt($,j,B),R({edges:B})},setDefaultNodesAndEdges:(B,$)=>{if(B){const{setNodes:j}=L();j(B),R({hasDefaultNodes:!0})}if($){const{setEdges:j}=L();j($),R({hasDefaultEdges:!0})}},updateNodeInternals:B=>{const{triggerNodeChanges:$,nodeLookup:j,parentLookup:P,domNode:G,nodeOrigin:ee,nodeExtent:re,debug:Q,fitViewQueued:ie,zIndexMode:pe}=L(),{changes:me,updatedInternals:le}=FLn(B,j,P,G,ee,re,pe);le&&(LLn(j,P,{nodeOrigin:ee,nodeExtent:re,zIndexMode:pe}),ie?(D(),R({fitViewQueued:!1,fitViewOptions:void 0})):R({}),(me==null?void 0:me.length)>0&&(Q&&console.log("React Flow: trigger node changes",me),$==null||$(me)))},updateNodePositions:(B,$=!1)=>{const j=[];let P=[];const{nodeLookup:G,triggerNodeChanges:ee,connection:re,updateConnection:Q,onNodesChangeMiddlewareMap:ie}=L();for(const[pe,me]of B){const le=G.get(pe),fe=!!(le!=null&&le.expandParent&&(le!=null&&le.parentId)&&(me!=null&&me.position)),K={id:pe,type:"position",position:fe?{x:Math.max(0,me.position.x),y:Math.max(0,me.position.y)}:me.position,dragging:$};if(le&&re.inProgress&&re.fromNode.id===le.id){const he=pR(le,re.fromHandle,qr.Left,!0);Q({...re,from:he})}fe&&le.parentId&&j.push({id:pe,parentId:le.parentId,rect:{...me.internals.positionAbsolute,width:me.measured.width??0,height:me.measured.height??0}}),P.push(K)}if(j.length>0){const{parentLookup:pe,nodeOrigin:me}=L(),le=P5e(j,G,pe,me);P.push(...le)}for(const pe of ie.values())P=pe(P);ee(P)},triggerNodeChanges:B=>{const{onNodesChange:$,setNodes:j,nodes:P,hasDefaultNodes:G,debug:ee}=L();if(B!=null&&B.length){if(G){const re=Ozt(B,P);j(re)}ee&&console.log("React Flow: trigger node changes",B),$==null||$(B)}},triggerEdgeChanges:B=>{const{onEdgesChange:$,setEdges:j,edges:P,hasDefaultEdges:G,debug:ee}=L();if(B!=null&&B.length){if(G){const re=Dzt(B,P);j(re)}ee&&console.log("React Flow: trigger edge changes",B),$==null||$(B)}},addSelectedNodes:B=>{const{multiSelectionActive:$,edgeLookup:j,nodeLookup:P,triggerNodeChanges:G,triggerEdgeChanges:ee}=L();if($){const re=B.map(Q=>W4(Q,!0));G(re);return}G(z5(P,new Set([...B]),!0)),ee(z5(j))},addSelectedEdges:B=>{const{multiSelectionActive:$,edgeLookup:j,nodeLookup:P,triggerNodeChanges:G,triggerEdgeChanges:ee}=L();if($){const re=B.map(Q=>W4(Q,!0));ee(re);return}ee(z5(j,new Set([...B]))),G(z5(P,new Set,!0))},unselectNodesAndEdges:({nodes:B,edges:$}={})=>{const{edges:j,nodes:P,nodeLookup:G,triggerNodeChanges:ee,triggerEdgeChanges:re}=L(),Q=B||P,ie=$||j,pe=Q.map(le=>{const fe=G.get(le.id);return fe&&(fe.selected=!1),W4(le.id,!1)}),me=ie.map(le=>W4(le.id,!1));ee(pe),re(me)},setMinZoom:B=>{const{panZoom:$,maxZoom:j}=L();$==null||$.setScaleExtent([B,j]),R({minZoom:B})},setMaxZoom:B=>{const{panZoom:$,minZoom:j}=L();$==null||$.setScaleExtent([j,B]),R({maxZoom:B})},setTranslateExtent:B=>{var $;($=L().panZoom)==null||$.setTranslateExtent(B),R({translateExtent:B})},resetSelectedElements:()=>{const{edges:B,nodes:$,triggerNodeChanges:j,triggerEdgeChanges:P,elementsSelectable:G}=L();if(!G)return;const ee=$.reduce((Q,ie)=>ie.selected?[...Q,W4(ie.id,!1)]:Q,[]),re=B.reduce((Q,ie)=>ie.selected?[...Q,W4(ie.id,!1)]:Q,[]);j(ee),P(re)},setNodeExtent:B=>{const{nodes:$,nodeLookup:j,parentLookup:P,nodeOrigin:G,elevateNodesOnSelect:ee,nodeExtent:re,zIndexMode:Q}=L();B[0][0]===re[0][0]&&B[0][1]===re[0][1]&&B[1][0]===re[1][0]&&B[1][1]===re[1][1]||(bDe($,j,P,{nodeOrigin:G,nodeExtent:B,elevateNodesOnSelect:ee,checkEquality:!1,zIndexMode:Q}),R({nodeExtent:B}))},panBy:B=>{const{transform:$,width:j,height:P,panZoom:G,translateExtent:ee}=L();return $Ln({delta:B,panZoom:G,transform:$,translateExtent:ee,width:j,height:P})},setCenter:async(B,$,j)=>{const{width:P,height:G,maxZoom:ee,panZoom:re}=L();if(!re)return Promise.resolve(!1);const Q=typeof(j==null?void 0:j.zoom)<"u"?j.zoom:ee;return await re.setViewport({x:P/2-B*Q,y:G/2-$*Q,zoom:Q},{duration:j==null?void 0:j.duration,ease:j==null?void 0:j.ease,interpolate:j==null?void 0:j.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{R({connection:{...JHt}})},updateConnection:B=>{R({connection:B})},reset:()=>R({...v9t()})}},Object.is);function iGt({initialNodes:n,initialEdges:i,defaultNodes:s,defaultEdges:c,initialWidth:d,initialHeight:g,initialMinZoom:b,initialMaxZoom:w,initialFitViewOptions:E,fitView:S,nodeOrigin:x,nodeExtent:A,zIndexMode:C,children:R}){const[L]=H.useState(()=>s9n({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,width:d,height:g,fitView:S,minZoom:b,maxZoom:w,fitViewOptions:E,nodeOrigin:x,nodeExtent:A,zIndexMode:C}));return I.jsx(_5n,{value:L,children:I.jsx(K5n,{children:R})})}function a9n({children:n,nodes:i,edges:s,defaultNodes:c,defaultEdges:d,width:g,height:b,fitView:w,fitViewOptions:E,minZoom:S,maxZoom:x,nodeOrigin:A,nodeExtent:C,zIndexMode:R}){return H.useContext(eae)?I.jsx(I.Fragment,{children:n}):I.jsx(iGt,{initialNodes:i,initialEdges:s,defaultNodes:c,defaultEdges:d,initialWidth:g,initialHeight:b,fitView:w,initialFitViewOptions:E,initialMinZoom:S,initialMaxZoom:x,nodeOrigin:A,nodeExtent:C,zIndexMode:R,children:n})}const u9n={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function c9n({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,className:d,nodeTypes:g,edgeTypes:b,onNodeClick:w,onEdgeClick:E,onInit:S,onMove:x,onMoveStart:A,onMoveEnd:C,onConnect:R,onConnectStart:L,onConnectEnd:D,onClickConnectStart:B,onClickConnectEnd:$,onNodeMouseEnter:j,onNodeMouseMove:P,onNodeMouseLeave:G,onNodeContextMenu:ee,onNodeDoubleClick:re,onNodeDragStart:Q,onNodeDrag:ie,onNodeDragStop:pe,onNodesDelete:me,onEdgesDelete:le,onDelete:fe,onSelectionChange:K,onSelectionDragStart:he,onSelectionDrag:Oe,onSelectionDragStop:Se,onSelectionContextMenu:Le,onSelectionStart:Ae,onSelectionEnd:xe,onBeforeDelete:We,connectionMode:dt,connectionLineType:Ue=Bk.Bezier,connectionLineStyle:bt,connectionLineComponent:kt,connectionLineContainerStyle:ht,deleteKeyCode:Xt="Backspace",selectionKeyCode:vt="Shift",selectionOnDrag:Ct=!1,selectionMode:Ft=YH.Full,panActivationKeyCode:On="Space",multiSelectionKeyCode:Zn=XH()?"Meta":"Control",zoomActivationKeyCode:Yn=XH()?"Meta":"Control",snapToGrid:vr,snapGrid:Ui,onlyRenderVisibleElements:Qr=!1,selectNodesOnDrag:Hi,nodesDraggable:ai,autoPanOnNodeFocus:jc,nodesConnectable:Xs,nodesFocusable:ls,nodeOrigin:Qo=Izt,edgesFocusable:Ca,edgesReconnectable:Ni,elementsSelectable:mb=!0,defaultViewport:Yg=F5n,minZoom:Wh=.5,maxZoom:wb=2,translateExtent:Wp=KH,preventScrolling:Ow=!0,nodeExtent:Kh,defaultMarkerColor:X2="#b1b1b7",zoomOnScroll:Jg=!0,zoomOnPinch:Kp=!0,panOnScroll:Xg=!1,panOnScrollSpeed:CN=.5,panOnScrollMode:IN=nR.Free,zoomOnDoubleClick:GR=!0,panOnDrag:kA=!0,onPaneClick:yb,onPaneMouseEnter:qR,onPaneMouseMove:VR,onPaneMouseLeave:RN,onPaneScroll:ON,onPaneContextMenu:po,paneClickDistance:Fc=1,nodeClickDistance:Fl=0,children:Af,onReconnect:Z2,onReconnectStart:pl,onReconnectEnd:sh,onEdgeContextMenu:Vm,onEdgeDoubleClick:ah,onEdgeMouseEnter:Yh,onEdgeMouseMove:Q2,onEdgeMouseLeave:Wm,reconnectRadius:n9=10,onNodesChange:r9,onEdgesChange:tG,noDragClassName:nG="nodrag",noWheelClassName:rG="nowheel",noPanClassName:i9="nopan",fitView:o9,fitViewOptions:s9,connectOnClick:iG,attributionPosition:oG,proOptions:sG,defaultEdgeOptions:aG,elevateNodesOnSelect:WR=!0,elevateEdgesOnSelect:uG=!1,disableKeyboardA11y:a9=!1,autoPanOnConnect:cG,autoPanOnNodeDrag:lG,autoPanSpeed:dG,connectionRadius:fG,isValidConnection:hG,onError:pG,style:gG,id:u9,nodeDragThreshold:bG,connectionDragThreshold:c9,viewport:l9,onViewportChange:mG,width:wG,height:yG,colorMode:vG="light",debug:EG,onScroll:DN,ariaLabelConfig:SG,zIndexMode:d9="basic",...TG},AG){const KR=u9||"1",_G=H5n(vG),xG=H.useCallback(f9=>{f9.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),DN==null||DN(f9)},[DN]);return I.jsx("div",{"data-testid":"rf__wrapper",...TG,onScroll:xG,style:{...gG,...u9n},ref:AG,className:Bd(["react-flow",d,_G]),id:u9,role:"application",children:I.jsxs(a9n,{nodes:n,edges:i,width:wG,height:yG,fitView:o9,fitViewOptions:s9,minZoom:Wh,maxZoom:wb,nodeOrigin:Qo,nodeExtent:Kh,zIndexMode:d9,children:[I.jsx(o9n,{onInit:S,onNodeClick:w,onEdgeClick:E,onNodeMouseEnter:j,onNodeMouseMove:P,onNodeMouseLeave:G,onNodeContextMenu:ee,onNodeDoubleClick:re,nodeTypes:g,edgeTypes:b,connectionLineType:Ue,connectionLineStyle:bt,connectionLineComponent:kt,connectionLineContainerStyle:ht,selectionKeyCode:vt,selectionOnDrag:Ct,selectionMode:Ft,deleteKeyCode:Xt,multiSelectionKeyCode:Zn,panActivationKeyCode:On,zoomActivationKeyCode:Yn,onlyRenderVisibleElements:Qr,defaultViewport:Yg,translateExtent:Wp,minZoom:Wh,maxZoom:wb,preventScrolling:Ow,zoomOnScroll:Jg,zoomOnPinch:Kp,zoomOnDoubleClick:GR,panOnScroll:Xg,panOnScrollSpeed:CN,panOnScrollMode:IN,panOnDrag:kA,onPaneClick:yb,onPaneMouseEnter:qR,onPaneMouseMove:VR,onPaneMouseLeave:RN,onPaneScroll:ON,onPaneContextMenu:po,paneClickDistance:Fc,nodeClickDistance:Fl,onSelectionContextMenu:Le,onSelectionStart:Ae,onSelectionEnd:xe,onReconnect:Z2,onReconnectStart:pl,onReconnectEnd:sh,onEdgeContextMenu:Vm,onEdgeDoubleClick:ah,onEdgeMouseEnter:Yh,onEdgeMouseMove:Q2,onEdgeMouseLeave:Wm,reconnectRadius:n9,defaultMarkerColor:X2,noDragClassName:nG,noWheelClassName:rG,noPanClassName:i9,rfId:KR,disableKeyboardA11y:a9,nodeExtent:Kh,viewport:l9,onViewportChange:mG}),I.jsx(U5n,{nodes:n,edges:i,defaultNodes:s,defaultEdges:c,onConnect:R,onConnectStart:L,onConnectEnd:D,onClickConnectStart:B,onClickConnectEnd:$,nodesDraggable:ai,autoPanOnNodeFocus:jc,nodesConnectable:Xs,nodesFocusable:ls,edgesFocusable:Ca,edgesReconnectable:Ni,elementsSelectable:mb,elevateNodesOnSelect:WR,elevateEdgesOnSelect:uG,minZoom:Wh,maxZoom:wb,nodeExtent:Kh,onNodesChange:r9,onEdgesChange:tG,snapToGrid:vr,snapGrid:Ui,connectionMode:dt,translateExtent:Wp,connectOnClick:iG,defaultEdgeOptions:aG,fitView:o9,fitViewOptions:s9,onNodesDelete:me,onEdgesDelete:le,onDelete:fe,onNodeDragStart:Q,onNodeDrag:ie,onNodeDragStop:pe,onSelectionDrag:Oe,onSelectionDragStart:he,onSelectionDragStop:Se,onMove:x,onMoveStart:A,onMoveEnd:C,noPanClassName:i9,nodeOrigin:Qo,rfId:KR,autoPanOnConnect:cG,autoPanOnNodeDrag:lG,autoPanSpeed:dG,onError:pG,connectionRadius:fG,isValidConnection:hG,selectNodesOnDrag:Hi,nodeDragThreshold:bG,connectionDragThreshold:c9,onBeforeDelete:We,debug:EG,ariaLabelConfig:SG,zIndexMode:d9}),I.jsx(j5n,{onSelectionChange:K}),Af,I.jsx(O5n,{proOptions:sG,position:oG}),I.jsx(R5n,{rfId:KR,disableKeyboardA11y:a9})]})})}var l9n=Lzt(c9n);const d9n=n=>{var i;return(i=n.domNode)==null?void 0:i.querySelector(".react-flow__edgelabel-renderer")};function E9t({children:n}){const i=Js(d9n);return i?xR.createPortal(n,i):null}function f9n({dimensions:n,lineWidth:i,variant:s,className:c}){return I.jsx("path",{strokeWidth:i,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`,className:Bd(["react-flow__background-pattern",s,c])})}function h9n({radius:n,className:i}){return I.jsx("circle",{cx:n,cy:n,r:n,className:Bd(["react-flow__background-pattern","dots",i])})}var pA;(function(n){n.Lines="lines",n.Dots="dots",n.Cross="cross"})(pA||(pA={}));const p9n={[pA.Dots]:1,[pA.Lines]:1,[pA.Cross]:6},g9n=n=>({transform:n.transform,patternId:`pattern-${n.rfId}`});function oGt({id:n,variant:i=pA.Dots,gap:s=20,size:c,lineWidth:d=1,offset:g=0,color:b,bgColor:w,style:E,className:S,patternClassName:x}){const A=H.useRef(null),{transform:C,patternId:R}=Js(g9n,Lc),L=c||p9n[i],D=i===pA.Dots,B=i===pA.Cross,$=Array.isArray(s)?s:[s,s],j=[$[0]*C[2]||1,$[1]*C[2]||1],P=L*C[2],G=Array.isArray(g)?g:[g,g],ee=B?[P,P]:j,re=[G[0]*C[2]||1+ee[0]/2,G[1]*C[2]||1+ee[1]/2],Q=`${R}${n||""}`;return I.jsxs("svg",{className:Bd(["react-flow__background",S]),style:{...E,...tae,"--xy-background-color-props":w,"--xy-background-pattern-color-props":b},ref:A,"data-testid":"rf__background",children:[I.jsx("pattern",{id:Q,x:C[0]%j[0],y:C[1]%j[1],width:j[0],height:j[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${re[0]},-${re[1]})`,children:D?I.jsx(h9n,{radius:P/2,className:x}):I.jsx(f9n,{dimensions:ee,lineWidth:d,variant:i,className:x})}),I.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${Q})`})]})}oGt.displayName="Background";const b9n=H.memo(oGt);function m9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:I.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function w9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:I.jsx("path",{d:"M0 0h32v4.2H0z"})})}function y9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:I.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function v9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:I.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function E9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:I.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function yie({children:n,className:i,...s}){return I.jsx("button",{type:"button",className:Bd(["react-flow__controls-button",i]),...s,children:n})}const S9n=n=>({isInteractive:n.nodesDraggable||n.nodesConnectable||n.elementsSelectable,minZoomReached:n.transform[2]<=n.minZoom,maxZoomReached:n.transform[2]>=n.maxZoom,ariaLabelConfig:n.ariaLabelConfig});function sGt({style:n,showZoom:i=!0,showFitView:s=!0,showInteractive:c=!0,fitViewOptions:d,onZoomIn:g,onZoomOut:b,onFitView:w,onInteractiveChange:E,className:S,children:x,position:A="bottom-left",orientation:C="vertical","aria-label":R}){const L=Mc(),{isInteractive:D,minZoomReached:B,maxZoomReached:$,ariaLabelConfig:j}=Js(S9n,Lc),{zoomIn:P,zoomOut:G,fitView:ee}=kR(),re=()=>{P(),g==null||g()},Q=()=>{G(),b==null||b()},ie=()=>{ee(d),w==null||w()},pe=()=>{L.setState({nodesDraggable:!D,nodesConnectable:!D,elementsSelectable:!D}),E==null||E(!D)},me=C==="horizontal"?"horizontal":"vertical";return I.jsxs(gR,{className:Bd(["react-flow__controls",me,S]),position:A,style:n,"data-testid":"rf__controls","aria-label":R??j["controls.ariaLabel"],children:[i&&I.jsxs(I.Fragment,{children:[I.jsx(yie,{onClick:re,className:"react-flow__controls-zoomin",title:j["controls.zoomIn.ariaLabel"],"aria-label":j["controls.zoomIn.ariaLabel"],disabled:$,children:I.jsx(m9n,{})}),I.jsx(yie,{onClick:Q,className:"react-flow__controls-zoomout",title:j["controls.zoomOut.ariaLabel"],"aria-label":j["controls.zoomOut.ariaLabel"],disabled:B,children:I.jsx(w9n,{})})]}),s&&I.jsx(yie,{className:"react-flow__controls-fitview",onClick:ie,title:j["controls.fitView.ariaLabel"],"aria-label":j["controls.fitView.ariaLabel"],children:I.jsx(y9n,{})}),c&&I.jsx(yie,{className:"react-flow__controls-interactive",onClick:pe,title:j["controls.interactive.ariaLabel"],"aria-label":j["controls.interactive.ariaLabel"],children:D?I.jsx(E9n,{}):I.jsx(v9n,{})}),x]})}sGt.displayName="Controls";const T9n=H.memo(sGt);function A9n({id:n,x:i,y:s,width:c,height:d,style:g,color:b,strokeColor:w,strokeWidth:E,className:S,borderRadius:x,shapeRendering:A,selected:C,onClick:R}){const{background:L,backgroundColor:D}=g||{},B=b||L||D;return I.jsx("rect",{className:Bd(["react-flow__minimap-node",{selected:C},S]),x:i,y:s,rx:x,ry:x,width:c,height:d,style:{fill:B,stroke:w,strokeWidth:E},shapeRendering:A,onClick:R?$=>R($,n):void 0})}const _9n=H.memo(A9n),x9n=n=>n.nodes.map(i=>i.id),qCe=n=>n instanceof Function?n:()=>n;function k9n({nodeStrokeColor:n,nodeColor:i,nodeClassName:s="",nodeBorderRadius:c=5,nodeStrokeWidth:d,nodeComponent:g=_9n,onClick:b}){const w=Js(x9n,Lc),E=qCe(i),S=qCe(n),x=qCe(s),A=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return I.jsx(I.Fragment,{children:w.map(C=>I.jsx(C9n,{id:C,nodeColorFunc:E,nodeStrokeColorFunc:S,nodeClassNameFunc:x,nodeBorderRadius:c,nodeStrokeWidth:d,NodeComponent:g,onClick:b,shapeRendering:A},C))})}function N9n({id:n,nodeColorFunc:i,nodeStrokeColorFunc:s,nodeClassNameFunc:c,nodeBorderRadius:d,nodeStrokeWidth:g,shapeRendering:b,NodeComponent:w,onClick:E}){const{node:S,x,y:A,width:C,height:R}=Js(L=>{const{internals:D}=L.nodeLookup.get(n),B=D.userNode,{x:$,y:j}=D.positionAbsolute,{width:P,height:G}=_A(B);return{node:B,x:$,y:j,width:P,height:G}},Lc);return!S||S.hidden||!rzt(S)?null:I.jsx(w,{x,y:A,width:C,height:R,style:S.style,selected:!!S.selected,className:c(S),color:i(S),borderRadius:d,strokeColor:s(S),strokeWidth:g,shapeRendering:b,onClick:E,id:S.id})}const C9n=H.memo(N9n);var I9n=H.memo(k9n);const R9n=200,O9n=150,D9n=n=>!n.hidden,L9n=n=>{const i={x:-n.transform[0]/n.transform[2],y:-n.transform[1]/n.transform[2],width:n.width/n.transform[2],height:n.height/n.transform[2]};return{viewBB:i,boundingRect:n.nodeLookup.size>0?nzt(Tz(n.nodeLookup,{filter:D9n}),i):i,rfId:n.rfId,panZoom:n.panZoom,translateExtent:n.translateExtent,flowWidth:n.width,flowHeight:n.height,ariaLabelConfig:n.ariaLabelConfig}},M9n="react-flow__minimap-desc";function aGt({style:n,className:i,nodeStrokeColor:s,nodeColor:c,nodeClassName:d="",nodeBorderRadius:g=5,nodeStrokeWidth:b,nodeComponent:w,bgColor:E,maskColor:S,maskStrokeColor:x,maskStrokeWidth:A,position:C="bottom-right",onClick:R,onNodeClick:L,pannable:D=!1,zoomable:B=!1,ariaLabel:$,inversePan:j,zoomStep:P=1,offsetScale:G=5}){const ee=Mc(),re=H.useRef(null),{boundingRect:Q,viewBB:ie,rfId:pe,panZoom:me,translateExtent:le,flowWidth:fe,flowHeight:K,ariaLabelConfig:he}=Js(L9n,Lc),Oe=(n==null?void 0:n.width)??R9n,Se=(n==null?void 0:n.height)??O9n,Le=Q.width/Oe,Ae=Q.height/Se,xe=Math.max(Le,Ae),We=xe*Oe,dt=xe*Se,Ue=G*xe,bt=Q.x-(We-Q.width)/2-Ue,kt=Q.y-(dt-Q.height)/2-Ue,ht=We+Ue*2,Xt=dt+Ue*2,vt=`${M9n}-${pe}`,Ct=H.useRef(0),Ft=H.useRef();Ct.current=xe,H.useEffect(()=>{if(re.current&&me)return Ft.current=KLn({domNode:re.current,panZoom:me,getTransform:()=>ee.getState().transform,getViewScale:()=>Ct.current}),()=>{var vr;(vr=Ft.current)==null||vr.destroy()}},[me]),H.useEffect(()=>{var vr;(vr=Ft.current)==null||vr.update({translateExtent:le,width:fe,height:K,inversePan:j,pannable:D,zoomStep:P,zoomable:B})},[D,B,j,P,le,fe,K]);const On=R?vr=>{var Hi;const[Ui,Qr]=((Hi=Ft.current)==null?void 0:Hi.pointer(vr))||[0,0];R(vr,{x:Ui,y:Qr})}:void 0,Zn=L?H.useCallback((vr,Ui)=>{const Qr=ee.getState().nodeLookup.get(Ui).internals.userNode;L(vr,Qr)},[]):void 0,Yn=$??he["minimap.ariaLabel"];return I.jsx(gR,{position:C,style:{...n,"--xy-minimap-background-color-props":typeof E=="string"?E:void 0,"--xy-minimap-mask-background-color-props":typeof S=="string"?S:void 0,"--xy-minimap-mask-stroke-color-props":typeof x=="string"?x:void 0,"--xy-minimap-mask-stroke-width-props":typeof A=="number"?A*xe:void 0,"--xy-minimap-node-background-color-props":typeof c=="string"?c:void 0,"--xy-minimap-node-stroke-color-props":typeof s=="string"?s:void 0,"--xy-minimap-node-stroke-width-props":typeof b=="number"?b:void 0},className:Bd(["react-flow__minimap",i]),"data-testid":"rf__minimap",children:I.jsxs("svg",{width:Oe,height:Se,viewBox:`${bt} ${kt} ${ht} ${Xt}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":vt,ref:re,onClick:On,children:[Yn&&I.jsx("title",{id:vt,children:Yn}),I.jsx(I9n,{onClick:Zn,nodeColor:c,nodeStrokeColor:s,nodeBorderRadius:g,nodeClassName:d,nodeStrokeWidth:b,nodeComponent:w}),I.jsx("path",{className:"react-flow__minimap-mask",d:`M${bt-Ue},${kt-Ue}h${ht+Ue*2}v${Xt+Ue*2}h${-ht-Ue*2}z
M${ie.x},${ie.y}h${ie.width}v${ie.height}h${-ie.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}aGt.displayName="MiniMap";const P9n=H.memo(aGt),j9n=n=>i=>n?`${Math.max(1/i.transform[2],1)}`:void 0,F9n={[_M.Line]:"right",[_M.Handle]:"bottom-right"};function $9n({nodeId:n,position:i,variant:s=_M.Handle,className:c,style:d=void 0,children:g,color:b,minWidth:w=10,minHeight:E=10,maxWidth:S=Number.MAX_VALUE,maxHeight:x=Number.MAX_VALUE,keepAspectRatio:A=!1,resizeDirection:C,autoScale:R=!0,shouldResize:L,onResizeStart:D,onResize:B,onResizeEnd:$}){const j=Fzt(),P=typeof n=="string"?n:j,G=Mc(),ee=H.useRef(null),re=s===_M.Handle,Q=Js(H.useCallback(j9n(re&&R),[re,R]),Lc),ie=H.useRef(null),pe=i??F9n[s];H.useEffect(()=>{if(!(!ee.current||!P))return ie.current||(ie.current=u5n({domNode:ee.current,nodeId:P,getStoreItems:()=>{const{nodeLookup:le,transform:fe,snapGrid:K,snapToGrid:he,nodeOrigin:Oe,domNode:Se}=G.getState();return{nodeLookup:le,transform:fe,snapGrid:K,snapToGrid:he,nodeOrigin:Oe,paneDomNode:Se}},onChange:(le,fe)=>{const{triggerNodeChanges:K,nodeLookup:he,parentLookup:Oe,nodeOrigin:Se}=G.getState(),Le=[],Ae={x:le.x,y:le.y},xe=he.get(P);if(xe&&xe.expandParent&&xe.parentId){const We=xe.origin??Se,dt=le.width??xe.measured.width??0,Ue=le.height??xe.measured.height??0,bt={id:xe.id,parentId:xe.parentId,rect:{width:dt,height:Ue,...izt({x:le.x??xe.position.x,y:le.y??xe.position.y},{width:dt,height:Ue},xe.parentId,he,We)}},kt=P5e([bt],he,Oe,Se);Le.push(...kt),Ae.x=le.x?Math.max(We[0]*dt,le.x):void 0,Ae.y=le.y?Math.max(We[1]*Ue,le.y):void 0}if(Ae.x!==void 0&&Ae.y!==void 0){const We={id:P,type:"position",position:{...Ae}};Le.push(We)}if(le.width!==void 0&&le.height!==void 0){const dt={id:P,type:"dimensions",resizing:!0,setAttributes:C?C==="horizontal"?"width":"height":!0,dimensions:{width:le.width,height:le.height}};Le.push(dt)}for(const We of fe){const dt={...We,type:"position"};Le.push(dt)}K(Le)},onEnd:({width:le,height:fe})=>{const K={id:P,type:"dimensions",resizing:!1,dimensions:{width:le,height:fe}};G.getState().triggerNodeChanges([K])}})),ie.current.update({controlPosition:pe,boundaries:{minWidth:w,minHeight:E,maxWidth:S,maxHeight:x},keepAspectRatio:A,resizeDirection:C,onResizeStart:D,onResize:B,onResizeEnd:$,shouldResize:L}),()=>{var le;(le=ie.current)==null||le.destroy()}},[pe,w,E,S,x,A,D,B,$,L]);const me=pe.split("-");return I.jsx("div",{className:Bd(["react-flow__resize-control","nodrag",...me,s,c]),ref:ee,style:{...d,scale:Q,...b&&{[re?"backgroundColor":"borderColor"]:b}},children:g})}H.memo($9n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uGt=(...n)=>n.filter((i,s,c)=>!!i&&i.trim()!==""&&c.indexOf(i)===s).join(" ").trim();/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const B9n=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U9n=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,c)=>c?c.toUpperCase():s.toLowerCase());/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const S9t=n=>{const i=U9n(n);return i.charAt(0).toUpperCase()+i.slice(1)};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var H9n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z9n=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G9n=H.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:c,className:d="",children:g,iconNode:b,...w},E)=>H.createElement("svg",{ref:E,...H9n,width:i,height:i,stroke:n,strokeWidth:c?Number(s)*24/Number(i):s,className:uGt("lucide",d),...!g&&!z9n(w)&&{"aria-hidden":"true"},...w},[...b.map(([S,x])=>H.createElement(S,x)),...Array.isArray(g)?g:[g]]));/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _i=(n,i)=>{const s=H.forwardRef(({className:c,...d},g)=>H.createElement(G9n,{ref:g,iconNode:i,className:uGt(`lucide-${B9n(S9t(n))}`,`lucide-${n}`,c),...d}));return s.displayName=S9t(n),s};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q9n=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]],V9n=_i("align-end-horizontal",q9n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W9n=[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]],K9n=_i("align-end-vertical",W9n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y9n=[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]],J9n=_i("align-start-horizontal",Y9n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X9n=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],Z9n=_i("align-start-vertical",X9n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q9n=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],e8n=_i("arrow-down",Q9n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t8n=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],n8n=_i("arrow-left",t8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r8n=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],i8n=_i("arrow-up-down",r8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o8n=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],s8n=_i("arrow-up",o8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const a8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],iN=_i("ban",a8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const u8n=[["path",{d:"m16 22-1-4",key:"1ow2iv"}],["path",{d:"M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1",key:"11gii7"}],["path",{d:"M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z",key:"bju7h4"}],["path",{d:"m8 22 1-4",key:"s3unb"}]],c8n=_i("brush-cleaning",u8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const l8n=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],oN=_i("check",l8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d8n=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],nae=_i("chevron-down",d8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f8n=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],h8n=_i("chevron-right",f8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const p8n=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],g8n=_i("chevron-up",p8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const b8n=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],cGt=_i("chevrons-up-down",b8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],_w=_i("circle-alert",m8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const w8n=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],lGt=_i("circle-check-big",w8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const y8n=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],v8n=_i("circle-play",y8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const E8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],S8n=_i("circle",E8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T8n=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],A8n=_i("clipboard",T8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],F5e=_i("clock",_8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x8n=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],k8n=_i("copy-plus",x8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N8n=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],$5e=_i("copy",N8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const C8n=[["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],dGt=_i("diamond-plus",C8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I8n=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],T9t=_i("download",I8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R8n=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],O8n=_i("external-link",R8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],L8n=_i("file-code",D8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],P8n=_i("file-down",M8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const j8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],F8n=_i("file-up",j8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $8n=[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]],B8n=_i("folder-open-dot",$8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U8n=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],fGt=_i("git-branch",U8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H8n=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],z8n=_i("history",H8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G8n=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],hGt=_i("hourglass",G8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q8n=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],V8n=_i("layers",q8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W8n=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],QH=_i("loader-circle",W8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const K8n=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Y8n=_i("menu",K8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const J8n=[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]],X8n=_i("mouse-pointer-click",J8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z8n=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Q8n=_i("octagon-x",Z8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ePn=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],rae=_i("play",ePn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tPn=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],iae=_i("plus",tPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nPn=[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]],rPn=_i("redo-2",nPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iPn=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],pGt=_i("rotate-ccw",iPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oPn=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],gGt=_i("save",oPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sPn=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],aPn=_i("scissors",sPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uPn=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],bGt=_i("search",uPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cPn=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],lPn=_i("settings",cPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],mGt=_i("square",dPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fPn=[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]],A9t=_i("toggle-left",fPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hPn=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],PM=_i("trash-2",hPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pPn=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],_9t=_i("triangle-alert",pPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const gPn=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],bPn=_i("undo-2",gPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const mPn=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],wPn=_i("unplug",mPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yPn=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],vPn=_i("upload",yPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EPn=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],wGt=_i("variable",EPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SPn=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],TPn=_i("wifi",SPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const APn=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],oae=_i("x",APn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _Pn=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],yGt=_i("zap",_Pn),xPn=H.createContext(null),VCe={didCatch:!1,error:null};let kPn=class extends H.Component{constructor(i){super(i),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=VCe}static getDerivedStateFromError(i){return{didCatch:!0,error:i}}resetErrorBoundary(...i){var c,d;const{error:s}=this.state;s!==null&&((d=(c=this.props).onReset)==null||d.call(c,{args:i,reason:"imperative-api"}),this.setState(VCe))}componentDidCatch(i,s){var c,d;(d=(c=this.props).onError)==null||d.call(c,i,s)}componentDidUpdate(i,s){var g,b;const{didCatch:c}=this.state,{resetKeys:d}=this.props;c&&s.error!==null&&NPn(i.resetKeys,d)&&((b=(g=this.props).onReset)==null||b.call(g,{next:d,prev:i.resetKeys,reason:"keys"}),this.setState(VCe))}render(){const{children:i,fallbackRender:s,FallbackComponent:c,fallback:d}=this.props,{didCatch:g,error:b}=this.state;let w=i;if(g){const E={error:b,resetErrorBoundary:this.resetErrorBoundary};if(typeof s=="function")w=s(E);else if(c)w=H.createElement(c,E);else if(d!==void 0)w=d;else throw b}return H.createElement(xPn.Provider,{value:{didCatch:g,error:b,resetErrorBoundary:this.resetErrorBoundary}},w)}};function NPn(n=[],i=[]){return n.length!==i.length||n.some((s,c)=>!Object.is(s,i[c]))}function CPn(n){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",i.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}const IPn=n=>{switch(n){case"success":return DPn;case"info":return MPn;case"warning":return LPn;case"error":return PPn;default:return null}},RPn=Array(12).fill(0),OPn=({visible:n,className:i})=>Hn.createElement("div",{className:["sonner-loading-wrapper",i].filter(Boolean).join(" "),"data-visible":n},Hn.createElement("div",{className:"sonner-spinner"},RPn.map((s,c)=>Hn.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),DPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),LPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),MPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),PPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),jPn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Hn.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Hn.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),FPn=()=>{const[n,i]=Hn.useState(document.hidden);return Hn.useEffect(()=>{const s=()=>{i(document.hidden)};return document.addEventListener("visibilitychange",s),()=>window.removeEventListener("visibilitychange",s)},[]),n};let yDe=1;class $Pn{constructor(){this.subscribe=i=>(this.subscribers.push(i),()=>{const s=this.subscribers.indexOf(i);this.subscribers.splice(s,1)}),this.publish=i=>{this.subscribers.forEach(s=>s(i))},this.addToast=i=>{this.publish(i),this.toasts=[...this.toasts,i]},this.create=i=>{var s;const{message:c,...d}=i,g=typeof(i==null?void 0:i.id)=="number"||((s=i.id)==null?void 0:s.length)>0?i.id:yDe++,b=this.toasts.find(E=>E.id===g),w=i.dismissible===void 0?!0:i.dismissible;return this.dismissedToasts.has(g)&&this.dismissedToasts.delete(g),b?this.toasts=this.toasts.map(E=>E.id===g?(this.publish({...E,...i,id:g,title:c}),{...E,...i,id:g,dismissible:w,title:c}):E):this.addToast({title:c,...d,dismissible:w,id:g}),g},this.dismiss=i=>(i?(this.dismissedToasts.add(i),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:i,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(c=>c({id:s.id,dismiss:!0}))}),i),this.message=(i,s)=>this.create({...s,message:i}),this.error=(i,s)=>this.create({...s,message:i,type:"error"}),this.success=(i,s)=>this.create({...s,type:"success",message:i}),this.info=(i,s)=>this.create({...s,type:"info",message:i}),this.warning=(i,s)=>this.create({...s,type:"warning",message:i}),this.loading=(i,s)=>this.create({...s,type:"loading",message:i}),this.promise=(i,s)=>{if(!s)return;let c;s.loading!==void 0&&(c=this.create({...s,promise:i,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const d=Promise.resolve(i instanceof Function?i():i);let g=c!==void 0,b;const w=d.then(async S=>{if(b=["resolve",S],Hn.isValidElement(S))g=!1,this.create({id:c,type:"default",message:S});else if(UPn(S)&&!S.ok){g=!1;const A=typeof s.error=="function"?await s.error(`HTTP error! status: ${S.status}`):s.error,C=typeof s.description=="function"?await s.description(`HTTP error! status: ${S.status}`):s.description,L=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:c,type:"error",description:C,...L})}else if(S instanceof Error){g=!1;const A=typeof s.error=="function"?await s.error(S):s.error,C=typeof s.description=="function"?await s.description(S):s.description,L=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:c,type:"error",description:C,...L})}else if(s.success!==void 0){g=!1;const A=typeof s.success=="function"?await s.success(S):s.success,C=typeof s.description=="function"?await s.description(S):s.description,L=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:c,type:"success",description:C,...L})}}).catch(async S=>{if(b=["reject",S],s.error!==void 0){g=!1;const x=typeof s.error=="function"?await s.error(S):s.error,A=typeof s.description=="function"?await s.description(S):s.description,R=typeof x=="object"&&!Hn.isValidElement(x)?x:{message:x};this.create({id:c,type:"error",description:A,...R})}}).finally(()=>{g&&(this.dismiss(c),c=void 0),s.finally==null||s.finally.call(s)}),E=()=>new Promise((S,x)=>w.then(()=>b[0]==="reject"?x(b[1]):S(b[1])).catch(x));return typeof c!="string"&&typeof c!="number"?{unwrap:E}:Object.assign(c,{unwrap:E})},this.custom=(i,s)=>{const c=(s==null?void 0:s.id)||yDe++;return this.create({jsx:i(c),id:c,...s}),c},this.getActiveToasts=()=>this.toasts.filter(i=>!this.dismissedToasts.has(i.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const nb=new $Pn,BPn=(n,i)=>{const s=(i==null?void 0:i.id)||yDe++;return nb.addToast({title:n,...i,id:s}),s},UPn=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",HPn=BPn,zPn=()=>nb.toasts,GPn=()=>nb.getActiveToasts(),N2=Object.assign(HPn,{success:nb.success,info:nb.info,warning:nb.warning,error:nb.error,custom:nb.custom,message:nb.message,promise:nb.promise,dismiss:nb.dismiss,loading:nb.loading},{getHistory:zPn,getToasts:GPn});CPn("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function vie(n){return n.label!==void 0}const qPn=3,VPn="24px",WPn="16px",x9t=4e3,KPn=356,YPn=14,JPn=45,XPn=200;function _2(...n){return n.filter(Boolean).join(" ")}function ZPn(n){const[i,s]=n.split("-"),c=[];return i&&c.push(i),s&&c.push(s),c}const QPn=n=>{var i,s,c,d,g,b,w,E,S;const{invert:x,toast:A,unstyled:C,interacting:R,setHeights:L,visibleToasts:D,heights:B,index:$,toasts:j,expanded:P,removeToast:G,defaultRichColors:ee,closeButton:re,style:Q,cancelButtonStyle:ie,actionButtonStyle:pe,className:me="",descriptionClassName:le="",duration:fe,position:K,gap:he,expandByDefault:Oe,classNames:Se,icons:Le,closeButtonAriaLabel:Ae="Close toast"}=n,[xe,We]=Hn.useState(null),[dt,Ue]=Hn.useState(null),[bt,kt]=Hn.useState(!1),[ht,Xt]=Hn.useState(!1),[vt,Ct]=Hn.useState(!1),[Ft,On]=Hn.useState(!1),[Zn,Yn]=Hn.useState(!1),[vr,Ui]=Hn.useState(0),[Qr,Hi]=Hn.useState(0),ai=Hn.useRef(A.duration||fe||x9t),jc=Hn.useRef(null),Xs=Hn.useRef(null),ls=$===0,Qo=$+1<=D,Ca=A.type,Ni=A.dismissible!==!1,mb=A.className||"",Yg=A.descriptionClassName||"",Wh=Hn.useMemo(()=>B.findIndex(po=>po.toastId===A.id)||0,[B,A.id]),wb=Hn.useMemo(()=>{var po;return(po=A.closeButton)!=null?po:re},[A.closeButton,re]),Wp=Hn.useMemo(()=>A.duration||fe||x9t,[A.duration,fe]),Ow=Hn.useRef(0),Kh=Hn.useRef(0),X2=Hn.useRef(0),Jg=Hn.useRef(null),[Kp,Xg]=K.split("-"),CN=Hn.useMemo(()=>B.reduce((po,Fc,Fl)=>Fl>=Wh?po:po+Fc.height,0),[B,Wh]),IN=FPn(),GR=A.invert||x,kA=Ca==="loading";Kh.current=Hn.useMemo(()=>Wh*he+CN,[Wh,CN]),Hn.useEffect(()=>{ai.current=Wp},[Wp]),Hn.useEffect(()=>{kt(!0)},[]),Hn.useEffect(()=>{const po=Xs.current;if(po){const Fc=po.getBoundingClientRect().height;return Hi(Fc),L(Fl=>[{toastId:A.id,height:Fc,position:A.position},...Fl]),()=>L(Fl=>Fl.filter(Af=>Af.toastId!==A.id))}},[L,A.id]),Hn.useLayoutEffect(()=>{if(!bt)return;const po=Xs.current,Fc=po.style.height;po.style.height="auto";const Fl=po.getBoundingClientRect().height;po.style.height=Fc,Hi(Fl),L(Af=>Af.find(pl=>pl.toastId===A.id)?Af.map(pl=>pl.toastId===A.id?{...pl,height:Fl}:pl):[{toastId:A.id,height:Fl,position:A.position},...Af])},[bt,A.title,A.description,L,A.id,A.jsx,A.action,A.cancel]);const yb=Hn.useCallback(()=>{Xt(!0),Ui(Kh.current),L(po=>po.filter(Fc=>Fc.toastId!==A.id)),setTimeout(()=>{G(A)},XPn)},[A,G,L,Kh]);Hn.useEffect(()=>{if(A.promise&&Ca==="loading"||A.duration===1/0||A.type==="loading")return;let po;return P||R||IN?(()=>{if(X2.current<Ow.current){const Af=new Date().getTime()-Ow.current;ai.current=ai.current-Af}X2.current=new Date().getTime()})():(()=>{ai.current!==1/0&&(Ow.current=new Date().getTime(),po=setTimeout(()=>{A.onAutoClose==null||A.onAutoClose.call(A,A),yb()},ai.current))})(),()=>clearTimeout(po)},[P,R,A,Ca,IN,yb]),Hn.useEffect(()=>{A.delete&&(yb(),A.onDismiss==null||A.onDismiss.call(A,A))},[yb,A.delete]);function qR(){var po;if(Le!=null&&Le.loading){var Fc;return Hn.createElement("div",{className:_2(Se==null?void 0:Se.loader,A==null||(Fc=A.classNames)==null?void 0:Fc.loader,"sonner-loader"),"data-visible":Ca==="loading"},Le.loading)}return Hn.createElement(OPn,{className:_2(Se==null?void 0:Se.loader,A==null||(po=A.classNames)==null?void 0:po.loader),visible:Ca==="loading"})}const VR=A.icon||(Le==null?void 0:Le[Ca])||IPn(Ca);var RN,ON;return Hn.createElement("li",{tabIndex:0,ref:Xs,className:_2(me,mb,Se==null?void 0:Se.toast,A==null||(i=A.classNames)==null?void 0:i.toast,Se==null?void 0:Se.default,Se==null?void 0:Se[Ca],A==null||(s=A.classNames)==null?void 0:s[Ca]),"data-sonner-toast":"","data-rich-colors":(RN=A.richColors)!=null?RN:ee,"data-styled":!(A.jsx||A.unstyled||C),"data-mounted":bt,"data-promise":!!A.promise,"data-swiped":Zn,"data-removed":ht,"data-visible":Qo,"data-y-position":Kp,"data-x-position":Xg,"data-index":$,"data-front":ls,"data-swiping":vt,"data-dismissible":Ni,"data-type":Ca,"data-invert":GR,"data-swipe-out":Ft,"data-swipe-direction":dt,"data-expanded":!!(P||Oe&&bt),"data-testid":A.testId,style:{"--index":$,"--toasts-before":$,"--z-index":j.length-$,"--offset":`${ht?vr:Kh.current}px`,"--initial-height":Oe?"auto":`${Qr}px`,...Q,...A.style},onDragEnd:()=>{Ct(!1),We(null),Jg.current=null},onPointerDown:po=>{po.button!==2&&(kA||!Ni||(jc.current=new Date,Ui(Kh.current),po.target.setPointerCapture(po.pointerId),po.target.tagName!=="BUTTON"&&(Ct(!0),Jg.current={x:po.clientX,y:po.clientY})))},onPointerUp:()=>{var po,Fc,Fl;if(Ft||!Ni)return;Jg.current=null;const Af=Number(((po=Xs.current)==null?void 0:po.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Z2=Number(((Fc=Xs.current)==null?void 0:Fc.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),pl=new Date().getTime()-((Fl=jc.current)==null?void 0:Fl.getTime()),sh=xe==="x"?Af:Z2,Vm=Math.abs(sh)/pl;if(Math.abs(sh)>=JPn||Vm>.11){Ui(Kh.current),A.onDismiss==null||A.onDismiss.call(A,A),Ue(xe==="x"?Af>0?"right":"left":Z2>0?"down":"up"),yb(),On(!0);return}else{var ah,Yh;(ah=Xs.current)==null||ah.style.setProperty("--swipe-amount-x","0px"),(Yh=Xs.current)==null||Yh.style.setProperty("--swipe-amount-y","0px")}Yn(!1),Ct(!1),We(null)},onPointerMove:po=>{var Fc,Fl,Af;if(!Jg.current||!Ni||((Fc=window.getSelection())==null?void 0:Fc.toString().length)>0)return;const pl=po.clientY-Jg.current.y,sh=po.clientX-Jg.current.x;var Vm;const ah=(Vm=n.swipeDirections)!=null?Vm:ZPn(K);!xe&&(Math.abs(sh)>1||Math.abs(pl)>1)&&We(Math.abs(sh)>Math.abs(pl)?"x":"y");let Yh={x:0,y:0};const Q2=Wm=>1/(1.5+Math.abs(Wm)/20);if(xe==="y"){if(ah.includes("top")||ah.includes("bottom"))if(ah.includes("top")&&pl<0||ah.includes("bottom")&&pl>0)Yh.y=pl;else{const Wm=pl*Q2(pl);Yh.y=Math.abs(Wm)<Math.abs(pl)?Wm:pl}}else if(xe==="x"&&(ah.includes("left")||ah.includes("right")))if(ah.includes("left")&&sh<0||ah.includes("right")&&sh>0)Yh.x=sh;else{const Wm=sh*Q2(sh);Yh.x=Math.abs(Wm)<Math.abs(sh)?Wm:sh}(Math.abs(Yh.x)>0||Math.abs(Yh.y)>0)&&Yn(!0),(Fl=Xs.current)==null||Fl.style.setProperty("--swipe-amount-x",`${Yh.x}px`),(Af=Xs.current)==null||Af.style.setProperty("--swipe-amount-y",`${Yh.y}px`)}},wb&&!A.jsx&&Ca!=="loading"?Hn.createElement("button",{"aria-label":Ae,"data-disabled":kA,"data-close-button":!0,onClick:kA||!Ni?()=>{}:()=>{yb(),A.onDismiss==null||A.onDismiss.call(A,A)},className:_2(Se==null?void 0:Se.closeButton,A==null||(c=A.classNames)==null?void 0:c.closeButton)},(ON=Le==null?void 0:Le.close)!=null?ON:jPn):null,(Ca||A.icon||A.promise)&&A.icon!==null&&((Le==null?void 0:Le[Ca])!==null||A.icon)?Hn.createElement("div",{"data-icon":"",className:_2(Se==null?void 0:Se.icon,A==null||(d=A.classNames)==null?void 0:d.icon)},A.promise||A.type==="loading"&&!A.icon?A.icon||qR():null,A.type!=="loading"?VR:null):null,Hn.createElement("div",{"data-content":"",className:_2(Se==null?void 0:Se.content,A==null||(g=A.classNames)==null?void 0:g.content)},Hn.createElement("div",{"data-title":"",className:_2(Se==null?void 0:Se.title,A==null||(b=A.classNames)==null?void 0:b.title)},A.jsx?A.jsx:typeof A.title=="function"?A.title():A.title),A.description?Hn.createElement("div",{"data-description":"",className:_2(le,Yg,Se==null?void 0:Se.description,A==null||(w=A.classNames)==null?void 0:w.description)},typeof A.description=="function"?A.description():A.description):null),Hn.isValidElement(A.cancel)?A.cancel:A.cancel&&vie(A.cancel)?Hn.createElement("button",{"data-button":!0,"data-cancel":!0,style:A.cancelButtonStyle||ie,onClick:po=>{vie(A.cancel)&&Ni&&(A.cancel.onClick==null||A.cancel.onClick.call(A.cancel,po),yb())},className:_2(Se==null?void 0:Se.cancelButton,A==null||(E=A.classNames)==null?void 0:E.cancelButton)},A.cancel.label):null,Hn.isValidElement(A.action)?A.action:A.action&&vie(A.action)?Hn.createElement("button",{"data-button":!0,"data-action":!0,style:A.actionButtonStyle||pe,onClick:po=>{vie(A.action)&&(A.action.onClick==null||A.action.onClick.call(A.action,po),!po.defaultPrevented&&yb())},className:_2(Se==null?void 0:Se.actionButton,A==null||(S=A.classNames)==null?void 0:S.actionButton)},A.action.label):null)};function k9t(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function ejn(n,i){const s={};return[n,i].forEach((c,d)=>{const g=d===1,b=g?"--mobile-offset":"--offset",w=g?WPn:VPn;function E(S){["top","right","bottom","left"].forEach(x=>{s[`${b}-${x}`]=typeof S=="number"?`${S}px`:S})}typeof c=="number"||typeof c=="string"?E(c):typeof c=="object"?["top","right","bottom","left"].forEach(S=>{c[S]===void 0?s[`${b}-${S}`]=w:s[`${b}-${S}`]=typeof c[S]=="number"?`${c[S]}px`:c[S]}):E(w)}),s}const tjn=Hn.forwardRef(function(i,s){const{id:c,invert:d,position:g="bottom-right",hotkey:b=["altKey","KeyT"],expand:w,closeButton:E,className:S,offset:x,mobileOffset:A,theme:C="light",richColors:R,duration:L,style:D,visibleToasts:B=qPn,toastOptions:$,dir:j=k9t(),gap:P=YPn,icons:G,containerAriaLabel:ee="Notifications"}=i,[re,Q]=Hn.useState([]),ie=Hn.useMemo(()=>c?re.filter(bt=>bt.toasterId===c):re.filter(bt=>!bt.toasterId),[re,c]),pe=Hn.useMemo(()=>Array.from(new Set([g].concat(ie.filter(bt=>bt.position).map(bt=>bt.position)))),[ie,g]),[me,le]=Hn.useState([]),[fe,K]=Hn.useState(!1),[he,Oe]=Hn.useState(!1),[Se,Le]=Hn.useState(C!=="system"?C:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Ae=Hn.useRef(null),xe=b.join("+").replace(/Key/g,"").replace(/Digit/g,""),We=Hn.useRef(null),dt=Hn.useRef(!1),Ue=Hn.useCallback(bt=>{Q(kt=>{var ht;return(ht=kt.find(Xt=>Xt.id===bt.id))!=null&&ht.delete||nb.dismiss(bt.id),kt.filter(({id:Xt})=>Xt!==bt.id)})},[]);return Hn.useEffect(()=>nb.subscribe(bt=>{if(bt.dismiss){requestAnimationFrame(()=>{Q(kt=>kt.map(ht=>ht.id===bt.id?{...ht,delete:!0}:ht))});return}setTimeout(()=>{aHt.flushSync(()=>{Q(kt=>{const ht=kt.findIndex(Xt=>Xt.id===bt.id);return ht!==-1?[...kt.slice(0,ht),{...kt[ht],...bt},...kt.slice(ht+1)]:[bt,...kt]})})})}),[re]),Hn.useEffect(()=>{if(C!=="system"){Le(C);return}if(C==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Le("dark"):Le("light")),typeof window>"u")return;const bt=window.matchMedia("(prefers-color-scheme: dark)");try{bt.addEventListener("change",({matches:kt})=>{Le(kt?"dark":"light")})}catch{bt.addListener(({matches:ht})=>{try{Le(ht?"dark":"light")}catch(Xt){console.error(Xt)}})}},[C]),Hn.useEffect(()=>{re.length<=1&&K(!1)},[re]),Hn.useEffect(()=>{const bt=kt=>{var ht;if(b.every(Ct=>kt[Ct]||kt.code===Ct)){var vt;K(!0),(vt=Ae.current)==null||vt.focus()}kt.code==="Escape"&&(document.activeElement===Ae.current||(ht=Ae.current)!=null&&ht.contains(document.activeElement))&&K(!1)};return document.addEventListener("keydown",bt),()=>document.removeEventListener("keydown",bt)},[b]),Hn.useEffect(()=>{if(Ae.current)return()=>{We.current&&(We.current.focus({preventScroll:!0}),We.current=null,dt.current=!1)}},[Ae.current]),Hn.createElement("section",{ref:s,"aria-label":`${ee} ${xe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},pe.map((bt,kt)=>{var ht;const[Xt,vt]=bt.split("-");return ie.length?Hn.createElement("ol",{key:bt,dir:j==="auto"?k9t():j,tabIndex:-1,ref:Ae,className:S,"data-sonner-toaster":!0,"data-sonner-theme":Se,"data-y-position":Xt,"data-x-position":vt,style:{"--front-toast-height":`${((ht=me[0])==null?void 0:ht.height)||0}px`,"--width":`${KPn}px`,"--gap":`${P}px`,...D,...ejn(x,A)},onBlur:Ct=>{dt.current&&!Ct.currentTarget.contains(Ct.relatedTarget)&&(dt.current=!1,We.current&&(We.current.focus({preventScroll:!0}),We.current=null))},onFocus:Ct=>{Ct.target instanceof HTMLElement&&Ct.target.dataset.dismissible==="false"||dt.current||(dt.current=!0,We.current=Ct.relatedTarget)},onMouseEnter:()=>K(!0),onMouseMove:()=>K(!0),onMouseLeave:()=>{he||K(!1)},onDragEnd:()=>K(!1),onPointerDown:Ct=>{Ct.target instanceof HTMLElement&&Ct.target.dataset.dismissible==="false"||Oe(!0)},onPointerUp:()=>Oe(!1)},ie.filter(Ct=>!Ct.position&&kt===0||Ct.position===bt).map((Ct,Ft)=>{var On,Zn;return Hn.createElement(QPn,{key:Ct.id,icons:G,index:Ft,toast:Ct,defaultRichColors:R,duration:(On=$==null?void 0:$.duration)!=null?On:L,className:$==null?void 0:$.className,descriptionClassName:$==null?void 0:$.descriptionClassName,invert:d,visibleToasts:B,closeButton:(Zn=$==null?void 0:$.closeButton)!=null?Zn:E,interacting:he,position:bt,style:$==null?void 0:$.style,unstyled:$==null?void 0:$.unstyled,classNames:$==null?void 0:$.classNames,cancelButtonStyle:$==null?void 0:$.cancelButtonStyle,actionButtonStyle:$==null?void 0:$.actionButtonStyle,closeButtonAriaLabel:$==null?void 0:$.closeButtonAriaLabel,removeToast:Ue,toasts:ie.filter(Yn=>Yn.position==Ct.position),heights:me.filter(Yn=>Yn.position==Ct.position),setHeights:le,expandByDefault:w,gap:P,expanded:fe,swipeDirections:i.swipeDirections})})):null}))});var N9t=1,njn=.9,rjn=.8,ijn=.17,WCe=.1,KCe=.999,ojn=.9999,sjn=.99,ajn=/[\\\/_+.#"@\[\(\{&]/,ujn=/[\\\/_+.#"@\[\(\{&]/g,cjn=/[\s-]/,vGt=/[\s-]/g;function vDe(n,i,s,c,d,g,b){if(g===i.length)return d===n.length?N9t:sjn;var w=`${d},${g}`;if(b[w]!==void 0)return b[w];for(var E=c.charAt(g),S=s.indexOf(E,d),x=0,A,C,R,L;S>=0;)A=vDe(n,i,s,c,S+1,g+1,b),A>x&&(S===d?A*=N9t:ajn.test(n.charAt(S-1))?(A*=rjn,R=n.slice(d,S-1).match(ujn),R&&d>0&&(A*=Math.pow(KCe,R.length))):cjn.test(n.charAt(S-1))?(A*=njn,L=n.slice(d,S-1).match(vGt),L&&d>0&&(A*=Math.pow(KCe,L.length))):(A*=ijn,d>0&&(A*=Math.pow(KCe,S-d))),n.charAt(S)!==i.charAt(g)&&(A*=ojn)),(A<WCe&&s.charAt(S-1)===c.charAt(g+1)||c.charAt(g+1)===c.charAt(g)&&s.charAt(S-1)!==c.charAt(g))&&(C=vDe(n,i,s,c,S+1,g+2,b),C*WCe>A&&(A=C*WCe)),A>x&&(x=A),S=s.indexOf(E,S+1);return b[w]=x,x}function C9t(n){return n.toLowerCase().replace(vGt," ")}function ljn(n,i,s){return n=s&&s.length>0?`${n+" "+s.join(" ")}`:n,vDe(n,i,C9t(n),C9t(i),0,0,{})}function Dr(n,i,{checkForDefaultPrevented:s=!0}={}){return function(d){if(n==null||n(d),s===!1||!d.defaultPrevented)return i==null?void 0:i(d)}}function I9t(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function zg(...n){return i=>{let s=!1;const c=n.map(d=>{const g=I9t(d,i);return!s&&typeof g=="function"&&(s=!0),g});if(s)return()=>{for(let d=0;d<c.length;d++){const g=c[d];typeof g=="function"?g():I9t(n[d],null)}}}}function hs(...n){return H.useCallback(zg(...n),n)}function djn(n,i){const s=H.createContext(i),c=g=>{const{children:b,...w}=g,E=H.useMemo(()=>w,Object.values(w));return I.jsx(s.Provider,{value:E,children:b})};c.displayName=n+"Provider";function d(g){const b=H.useContext(s);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${n}\``)}return[c,d]}function xw(n,i=[]){let s=[];function c(g,b){const w=H.createContext(b),E=s.length;s=[...s,b];const S=A=>{var $;const{scope:C,children:R,...L}=A,D=(($=C==null?void 0:C[n])==null?void 0:$[E])||w,B=H.useMemo(()=>L,Object.values(L));return I.jsx(D.Provider,{value:B,children:R})};S.displayName=g+"Provider";function x(A,C){var D;const R=((D=C==null?void 0:C[n])==null?void 0:D[E])||w,L=H.useContext(R);if(L)return L;if(b!==void 0)return b;throw new Error(`\`${A}\` must be used within \`${g}\``)}return[S,x]}const d=()=>{const g=s.map(b=>H.createContext(b));return function(w){const E=(w==null?void 0:w[n])||g;return H.useMemo(()=>({[`__scope${n}`]:{...w,[n]:E}}),[w,E])}};return d.scopeName=n,[c,fjn(d,...i)]}function fjn(...n){const i=n[0];if(n.length===1)return i;const s=()=>{const c=n.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(g){const b=c.reduce((w,{useScope:E,scopeName:S})=>{const A=E(g)[`__scope${S}`];return{...w,...A}},{});return H.useMemo(()=>({[`__scope${i.scopeName}`]:b}),[b])}};return s.scopeName=i.scopeName,s}var Hp=globalThis!=null&&globalThis.document?H.useLayoutEffect:()=>{},hjn=ILe[" useId ".trim().toString()]||(()=>{}),pjn=0;function Bh(n){const[i,s]=H.useState(hjn());return Hp(()=>{s(c=>c??String(pjn++))},[n]),i?`radix-${i}`:""}var gjn=ILe[" useInsertionEffect ".trim().toString()]||Hp;function G2({prop:n,defaultProp:i,onChange:s=()=>{},caller:c}){const[d,g,b]=bjn({defaultProp:i,onChange:s}),w=n!==void 0,E=w?n:d;{const x=H.useRef(n!==void 0);H.useEffect(()=>{const A=x.current;A!==w&&console.warn(`${c} is changing from ${A?"controlled":"uncontrolled"} to ${w?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),x.current=w},[w,c])}const S=H.useCallback(x=>{var A;if(w){const C=mjn(x)?x(n):x;C!==n&&((A=b.current)==null||A.call(b,C))}else g(x)},[w,n,g,b]);return[E,S]}function bjn({defaultProp:n,onChange:i}){const[s,c]=H.useState(n),d=H.useRef(s),g=H.useRef(i);return gjn(()=>{g.current=i},[i]),H.useEffect(()=>{var b;d.current!==s&&((b=g.current)==null||b.call(g,s),d.current=s)},[s,d]),[s,c,g]}function mjn(n){return typeof n=="function"}function wjn(n){const i=yjn(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(Ejn);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function yjn(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Tjn(d),w=Sjn(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var vjn=Symbol("radix.slottable");function Ejn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===vjn}function Sjn(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Tjn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var Ajn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],no=Ajn.reduce((n,i)=>{const s=wjn(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{});function EGt(n,i){n&&xR.flushSync(()=>n.dispatchEvent(i))}function q2(n){const i=H.useRef(n);return H.useEffect(()=>{i.current=n}),H.useMemo(()=>(...s)=>{var c;return(c=i.current)==null?void 0:c.call(i,...s)},[])}function _jn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n);H.useEffect(()=>{const c=d=>{d.key==="Escape"&&s(d)};return i.addEventListener("keydown",c,{capture:!0}),()=>i.removeEventListener("keydown",c,{capture:!0})},[s,i])}var xjn="DismissableLayer",EDe="dismissableLayer.update",kjn="dismissableLayer.pointerDownOutside",Njn="dismissableLayer.focusOutside",R9t,SGt=H.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kz=H.forwardRef((n,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:g,onInteractOutside:b,onDismiss:w,...E}=n,S=H.useContext(SGt),[x,A]=H.useState(null),C=(x==null?void 0:x.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,R]=H.useState({}),L=hs(i,Q=>A(Q)),D=Array.from(S.layers),[B]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),$=D.indexOf(B),j=x?D.indexOf(x):-1,P=S.layersWithOutsidePointerEventsDisabled.size>0,G=j>=$,ee=Rjn(Q=>{const ie=Q.target,pe=[...S.branches].some(me=>me.contains(ie));!G||pe||(d==null||d(Q),b==null||b(Q),Q.defaultPrevented||w==null||w())},C),re=Ojn(Q=>{const ie=Q.target;[...S.branches].some(me=>me.contains(ie))||(g==null||g(Q),b==null||b(Q),Q.defaultPrevented||w==null||w())},C);return _jn(Q=>{j===S.layers.size-1&&(c==null||c(Q),!Q.defaultPrevented&&w&&(Q.preventDefault(),w()))},C),H.useEffect(()=>{if(x)return s&&(S.layersWithOutsidePointerEventsDisabled.size===0&&(R9t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(x)),S.layers.add(x),O9t(),()=>{s&&S.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=R9t)}},[x,C,s,S]),H.useEffect(()=>()=>{x&&(S.layers.delete(x),S.layersWithOutsidePointerEventsDisabled.delete(x),O9t())},[x,S]),H.useEffect(()=>{const Q=()=>R({});return document.addEventListener(EDe,Q),()=>document.removeEventListener(EDe,Q)},[]),I.jsx(no.div,{...E,ref:L,style:{pointerEvents:P?G?"auto":"none":void 0,...n.style},onFocusCapture:Dr(n.onFocusCapture,re.onFocusCapture),onBlurCapture:Dr(n.onBlurCapture,re.onBlurCapture),onPointerDownCapture:Dr(n.onPointerDownCapture,ee.onPointerDownCapture)})});kz.displayName=xjn;var Cjn="DismissableLayerBranch",Ijn=H.forwardRef((n,i)=>{const s=H.useContext(SGt),c=H.useRef(null),d=hs(i,c);return H.useEffect(()=>{const g=c.current;if(g)return s.branches.add(g),()=>{s.branches.delete(g)}},[s.branches]),I.jsx(no.div,{...n,ref:d})});Ijn.displayName=Cjn;function Rjn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n),c=H.useRef(!1),d=H.useRef(()=>{});return H.useEffect(()=>{const g=w=>{if(w.target&&!c.current){let E=function(){TGt(kjn,s,S,{discrete:!0})};const S={originalEvent:w};w.pointerType==="touch"?(i.removeEventListener("click",d.current),d.current=E,i.addEventListener("click",d.current,{once:!0})):E()}else i.removeEventListener("click",d.current);c.current=!1},b=window.setTimeout(()=>{i.addEventListener("pointerdown",g)},0);return()=>{window.clearTimeout(b),i.removeEventListener("pointerdown",g),i.removeEventListener("click",d.current)}},[i,s]),{onPointerDownCapture:()=>c.current=!0}}function Ojn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n),c=H.useRef(!1);return H.useEffect(()=>{const d=g=>{g.target&&!c.current&&TGt(Njn,s,{originalEvent:g},{discrete:!1})};return i.addEventListener("focusin",d),()=>i.removeEventListener("focusin",d)},[i,s]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function O9t(){const n=new CustomEvent(EDe);document.dispatchEvent(n)}function TGt(n,i,s,{discrete:c}){const d=s.originalEvent.target,g=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:s});i&&d.addEventListener(n,i,{once:!0}),c?EGt(d,g):d.dispatchEvent(g)}var YCe="focusScope.autoFocusOnMount",JCe="focusScope.autoFocusOnUnmount",D9t={bubbles:!1,cancelable:!0},Djn="FocusScope",Nz=H.forwardRef((n,i)=>{const{loop:s=!1,trapped:c=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...b}=n,[w,E]=H.useState(null),S=q2(d),x=q2(g),A=H.useRef(null),C=hs(i,D=>E(D)),R=H.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;H.useEffect(()=>{if(c){let D=function(P){if(R.paused||!w)return;const G=P.target;w.contains(G)?A.current=G:Dk(A.current,{select:!0})},B=function(P){if(R.paused||!w)return;const G=P.relatedTarget;G!==null&&(w.contains(G)||Dk(A.current,{select:!0}))},$=function(P){if(document.activeElement===document.body)for(const ee of P)ee.removedNodes.length>0&&Dk(w)};document.addEventListener("focusin",D),document.addEventListener("focusout",B);const j=new MutationObserver($);return w&&j.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",D),document.removeEventListener("focusout",B),j.disconnect()}}},[c,w,R.paused]),H.useEffect(()=>{if(w){M9t.add(R);const D=document.activeElement;if(!w.contains(D)){const $=new CustomEvent(YCe,D9t);w.addEventListener(YCe,S),w.dispatchEvent($),$.defaultPrevented||(Ljn($jn(AGt(w)),{select:!0}),document.activeElement===D&&Dk(w))}return()=>{w.removeEventListener(YCe,S),setTimeout(()=>{const $=new CustomEvent(JCe,D9t);w.addEventListener(JCe,x),w.dispatchEvent($),$.defaultPrevented||Dk(D??document.body,{select:!0}),w.removeEventListener(JCe,x),M9t.remove(R)},0)}}},[w,S,x,R]);const L=H.useCallback(D=>{if(!s&&!c||R.paused)return;const B=D.key==="Tab"&&!D.altKey&&!D.ctrlKey&&!D.metaKey,$=document.activeElement;if(B&&$){const j=D.currentTarget,[P,G]=Mjn(j);P&&G?!D.shiftKey&&$===G?(D.preventDefault(),s&&Dk(P,{select:!0})):D.shiftKey&&$===P&&(D.preventDefault(),s&&Dk(G,{select:!0})):$===j&&D.preventDefault()}},[s,c,R.paused]);return I.jsx(no.div,{tabIndex:-1,...b,ref:C,onKeyDown:L})});Nz.displayName=Djn;function Ljn(n,{select:i=!1}={}){const s=document.activeElement;for(const c of n)if(Dk(c,{select:i}),document.activeElement!==s)return}function Mjn(n){const i=AGt(n),s=L9t(i,n),c=L9t(i.reverse(),n);return[s,c]}function AGt(n){const i=[],s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const d=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||d?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)i.push(s.currentNode);return i}function L9t(n,i){for(const s of n)if(!Pjn(s,{upTo:i}))return s}function Pjn(n,{upTo:i}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(i!==void 0&&n===i)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function jjn(n){return n instanceof HTMLInputElement&&"select"in n}function Dk(n,{select:i=!1}={}){if(n&&n.focus){const s=document.activeElement;n.focus({preventScroll:!0}),n!==s&&jjn(n)&&i&&n.select()}}var M9t=Fjn();function Fjn(){let n=[];return{add(i){const s=n[0];i!==s&&(s==null||s.pause()),n=P9t(n,i),n.unshift(i)},remove(i){var s;n=P9t(n,i),(s=n[0])==null||s.resume()}}}function P9t(n,i){const s=[...n],c=s.indexOf(i);return c!==-1&&s.splice(c,1),s}function $jn(n){return n.filter(i=>i.tagName!=="A")}var Bjn="Portal",Cz=H.forwardRef((n,i)=>{var w;const{container:s,...c}=n,[d,g]=H.useState(!1);Hp(()=>g(!0),[]);const b=s||d&&((w=globalThis==null?void 0:globalThis.document)==null?void 0:w.body);return b?aHt.createPortal(I.jsx(no.div,{...c,ref:i}),b):null});Cz.displayName=Bjn;function Ujn(n,i){return H.useReducer((s,c)=>i[s][c]??s,n)}var kw=n=>{const{present:i,children:s}=n,c=Hjn(i),d=typeof s=="function"?s({present:c.isPresent}):H.Children.only(s),g=hs(c.ref,zjn(d));return typeof s=="function"||c.isPresent?H.cloneElement(d,{ref:g}):null};kw.displayName="Presence";function Hjn(n){const[i,s]=H.useState(),c=H.useRef(null),d=H.useRef(n),g=H.useRef("none"),b=n?"mounted":"unmounted",[w,E]=Ujn(b,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const S=Eie(c.current);g.current=w==="mounted"?S:"none"},[w]),Hp(()=>{const S=c.current,x=d.current;if(x!==n){const C=g.current,R=Eie(S);n?E("MOUNT"):R==="none"||(S==null?void 0:S.display)==="none"?E("UNMOUNT"):E(x&&C!==R?"ANIMATION_OUT":"UNMOUNT"),d.current=n}},[n,E]),Hp(()=>{if(i){let S;const x=i.ownerDocument.defaultView??window,A=R=>{const D=Eie(c.current).includes(CSS.escape(R.animationName));if(R.target===i&&D&&(E("ANIMATION_END"),!d.current)){const B=i.style.animationFillMode;i.style.animationFillMode="forwards",S=x.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=B)})}},C=R=>{R.target===i&&(g.current=Eie(c.current))};return i.addEventListener("animationstart",C),i.addEventListener("animationcancel",A),i.addEventListener("animationend",A),()=>{x.clearTimeout(S),i.removeEventListener("animationstart",C),i.removeEventListener("animationcancel",A),i.removeEventListener("animationend",A)}}else E("ANIMATION_END")},[i,E]),{isPresent:["mounted","unmountSuspended"].includes(w),ref:H.useCallback(S=>{c.current=S?getComputedStyle(S):null,s(S)},[])}}function Eie(n){return(n==null?void 0:n.animationName)||"none"}function zjn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var XCe=0;function sae(){H.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??j9t()),document.body.insertAdjacentElement("beforeend",n[1]??j9t()),XCe++,()=>{XCe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),XCe--}},[])}function j9t(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var O2=function(){return O2=Object.assign||function(i){for(var s,c=1,d=arguments.length;c<d;c++){s=arguments[c];for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(i[g]=s[g])}return i},O2.apply(this,arguments)};function _Gt(n,i){var s={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&i.indexOf(c)<0&&(s[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,c=Object.getOwnPropertySymbols(n);d<c.length;d++)i.indexOf(c[d])<0&&Object.prototype.propertyIsEnumerable.call(n,c[d])&&(s[c[d]]=n[c[d]]);return s}function Gjn(n,i,s){if(s||arguments.length===2)for(var c=0,d=i.length,g;c<d;c++)(g||!(c in i))&&(g||(g=Array.prototype.slice.call(i,0,c)),g[c]=i[c]);return n.concat(g||Array.prototype.slice.call(i))}var noe="right-scroll-bar-position",roe="width-before-scroll-bar",qjn="with-scroll-bars-hidden",Vjn="--removed-body-scroll-bar-size";function ZCe(n,i){return typeof n=="function"?n(i):n&&(n.current=i),n}function Wjn(n,i){var s=H.useState(function(){return{value:n,callback:i,facade:{get current(){return s.value},set current(c){var d=s.value;d!==c&&(s.value=c,s.callback(c,d))}}}})[0];return s.callback=i,s.facade}var Kjn=typeof window<"u"?H.useLayoutEffect:H.useEffect,F9t=new WeakMap;function Yjn(n,i){var s=Wjn(null,function(c){return n.forEach(function(d){return ZCe(d,c)})});return Kjn(function(){var c=F9t.get(s);if(c){var d=new Set(c),g=new Set(n),b=s.current;d.forEach(function(w){g.has(w)||ZCe(w,null)}),g.forEach(function(w){d.has(w)||ZCe(w,b)})}F9t.set(s,n)},[n]),s}function Jjn(n){return n}function Xjn(n,i){i===void 0&&(i=Jjn);var s=[],c=!1,d={read:function(){if(c)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:n},useMedium:function(g){var b=i(g,c);return s.push(b),function(){s=s.filter(function(w){return w!==b})}},assignSyncMedium:function(g){for(c=!0;s.length;){var b=s;s=[],b.forEach(g)}s={push:function(w){return g(w)},filter:function(){return s}}},assignMedium:function(g){c=!0;var b=[];if(s.length){var w=s;s=[],w.forEach(g),b=s}var E=function(){var x=b;b=[],x.forEach(g)},S=function(){return Promise.resolve().then(E)};S(),s={push:function(x){b.push(x),S()},filter:function(x){return b=b.filter(x),s}}}};return d}function Zjn(n){n===void 0&&(n={});var i=Xjn(null);return i.options=O2({async:!0,ssr:!1},n),i}var xGt=function(n){var i=n.sideCar,s=_Gt(n,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var c=i.read();if(!c)throw new Error("Sidecar medium not found");return H.createElement(c,O2({},s))};xGt.isSideCarExport=!0;function Qjn(n,i){return n.useMedium(i),xGt}var kGt=Zjn(),QCe=function(){},aae=H.forwardRef(function(n,i){var s=H.useRef(null),c=H.useState({onScrollCapture:QCe,onWheelCapture:QCe,onTouchMoveCapture:QCe}),d=c[0],g=c[1],b=n.forwardProps,w=n.children,E=n.className,S=n.removeScrollBar,x=n.enabled,A=n.shards,C=n.sideCar,R=n.noRelative,L=n.noIsolation,D=n.inert,B=n.allowPinchZoom,$=n.as,j=$===void 0?"div":$,P=n.gapMode,G=_Gt(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),ee=C,re=Yjn([s,i]),Q=O2(O2({},G),d);return H.createElement(H.Fragment,null,x&&H.createElement(ee,{sideCar:kGt,removeScrollBar:S,shards:A,noRelative:R,noIsolation:L,inert:D,setCallbacks:g,allowPinchZoom:!!B,lockRef:s,gapMode:P}),b?H.cloneElement(H.Children.only(w),O2(O2({},Q),{ref:re})):H.createElement(j,O2({},Q,{className:E,ref:re}),w))});aae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};aae.classNames={fullWidth:roe,zeroRight:noe};var e7n=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function t7n(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var i=e7n();return i&&n.setAttribute("nonce",i),n}function n7n(n,i){n.styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i))}function r7n(n){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(n)}var i7n=function(){var n=0,i=null;return{add:function(s){n==0&&(i=t7n())&&(n7n(i,s),r7n(i)),n++},remove:function(){n--,!n&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},o7n=function(){var n=i7n();return function(i,s){H.useEffect(function(){return n.add(i),function(){n.remove()}},[i&&s])}},NGt=function(){var n=o7n(),i=function(s){var c=s.styles,d=s.dynamic;return n(c,d),null};return i},s7n={left:0,top:0,right:0,gap:0},eIe=function(n){return parseInt(n||"",10)||0},a7n=function(n){var i=window.getComputedStyle(document.body),s=i[n==="padding"?"paddingLeft":"marginLeft"],c=i[n==="padding"?"paddingTop":"marginTop"],d=i[n==="padding"?"paddingRight":"marginRight"];return[eIe(s),eIe(c),eIe(d)]},u7n=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return s7n;var i=a7n(n),s=document.documentElement.clientWidth,c=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,c-s+i[2]-i[0])}},c7n=NGt(),rM="data-scroll-locked",l7n=function(n,i,s,c){var d=n.left,g=n.top,b=n.right,w=n.gap;return s===void 0&&(s="margin"),`
.`.concat(qjn,` {
overflow: hidden `).concat(c,`;
padding-right: `).concat(w,"px ").concat(c,`;
}
body[`).concat(rM,`] {
overflow: hidden `).concat(c,`;
overscroll-behavior: contain;
`).concat([i&&"position: relative ".concat(c,";"),s==="margin"&&`
padding-left: `.concat(d,`px;
padding-top: `).concat(g,`px;
padding-right: `).concat(b,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(w,"px ").concat(c,`;
`),s==="padding"&&"padding-right: ".concat(w,"px ").concat(c,";")].filter(Boolean).join(""),`
}
.`).concat(noe,` {
right: `).concat(w,"px ").concat(c,`;
}
.`).concat(roe,` {
margin-right: `).concat(w,"px ").concat(c,`;
}
.`).concat(noe," .").concat(noe,` {
right: 0 `).concat(c,`;
}
.`).concat(roe," .").concat(roe,` {
margin-right: 0 `).concat(c,`;
}
body[`).concat(rM,`] {
`).concat(Vjn,": ").concat(w,`px;
}
`)},$9t=function(){var n=parseInt(document.body.getAttribute(rM)||"0",10);return isFinite(n)?n:0},d7n=function(){H.useEffect(function(){return document.body.setAttribute(rM,($9t()+1).toString()),function(){var n=$9t()-1;n<=0?document.body.removeAttribute(rM):document.body.setAttribute(rM,n.toString())}},[])},f7n=function(n){var i=n.noRelative,s=n.noImportant,c=n.gapMode,d=c===void 0?"margin":c;d7n();var g=H.useMemo(function(){return u7n(d)},[d]);return H.createElement(c7n,{styles:l7n(g,!i,d,s?"":"!important")})},SDe=!1;if(typeof window<"u")try{var Sie=Object.defineProperty({},"passive",{get:function(){return SDe=!0,!0}});window.addEventListener("test",Sie,Sie),window.removeEventListener("test",Sie,Sie)}catch{SDe=!1}var w5=SDe?{passive:!1}:!1,h7n=function(n){return n.tagName==="TEXTAREA"},CGt=function(n,i){if(!(n instanceof Element))return!1;var s=window.getComputedStyle(n);return s[i]!=="hidden"&&!(s.overflowY===s.overflowX&&!h7n(n)&&s[i]==="visible")},p7n=function(n){return CGt(n,"overflowY")},g7n=function(n){return CGt(n,"overflowX")},B9t=function(n,i){var s=i.ownerDocument,c=i;do{typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&(c=c.host);var d=IGt(n,c);if(d){var g=RGt(n,c),b=g[1],w=g[2];if(b>w)return!0}c=c.parentNode}while(c&&c!==s.body);return!1},b7n=function(n){var i=n.scrollTop,s=n.scrollHeight,c=n.clientHeight;return[i,s,c]},m7n=function(n){var i=n.scrollLeft,s=n.scrollWidth,c=n.clientWidth;return[i,s,c]},IGt=function(n,i){return n==="v"?p7n(i):g7n(i)},RGt=function(n,i){return n==="v"?b7n(i):m7n(i)},w7n=function(n,i){return n==="h"&&i==="rtl"?-1:1},y7n=function(n,i,s,c,d){var g=w7n(n,window.getComputedStyle(i).direction),b=g*c,w=s.target,E=i.contains(w),S=!1,x=b>0,A=0,C=0;do{if(!w)break;var R=RGt(n,w),L=R[0],D=R[1],B=R[2],$=D-B-g*L;(L||$)&&IGt(n,w)&&(A+=$,C+=L);var j=w.parentNode;w=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!E&&w!==document.body||E&&(i.contains(w)||i===w));return(x&&Math.abs(A)<1||!x&&Math.abs(C)<1)&&(S=!0),S},Tie=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},U9t=function(n){return[n.deltaX,n.deltaY]},H9t=function(n){return n&&"current"in n?n.current:n},v7n=function(n,i){return n[0]===i[0]&&n[1]===i[1]},E7n=function(n){return`
.block-interactivity-`.concat(n,` {pointer-events: none;}
.allow-interactivity-`).concat(n,` {pointer-events: all;}
`)},S7n=0,y5=[];function T7n(n){var i=H.useRef([]),s=H.useRef([0,0]),c=H.useRef(),d=H.useState(S7n++)[0],g=H.useState(NGt)[0],b=H.useRef(n);H.useEffect(function(){b.current=n},[n]),H.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(d));var D=Gjn([n.lockRef.current],(n.shards||[]).map(H9t),!0).filter(Boolean);return D.forEach(function(B){return B.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),D.forEach(function(B){return B.classList.remove("allow-interactivity-".concat(d))})}}},[n.inert,n.lockRef.current,n.shards]);var w=H.useCallback(function(D,B){if("touches"in D&&D.touches.length===2||D.type==="wheel"&&D.ctrlKey)return!b.current.allowPinchZoom;var $=Tie(D),j=s.current,P="deltaX"in D?D.deltaX:j[0]-$[0],G="deltaY"in D?D.deltaY:j[1]-$[1],ee,re=D.target,Q=Math.abs(P)>Math.abs(G)?"h":"v";if("touches"in D&&Q==="h"&&re.type==="range")return!1;var ie=window.getSelection(),pe=ie&&ie.anchorNode,me=pe?pe===re||pe.contains(re):!1;if(me)return!1;var le=B9t(Q,re);if(!le)return!0;if(le?ee=Q:(ee=Q==="v"?"h":"v",le=B9t(Q,re)),!le)return!1;if(!c.current&&"changedTouches"in D&&(P||G)&&(c.current=ee),!ee)return!0;var fe=c.current||ee;return y7n(fe,B,D,fe==="h"?P:G)},[]),E=H.useCallback(function(D){var B=D;if(!(!y5.length||y5[y5.length-1]!==g)){var $="deltaY"in B?U9t(B):Tie(B),j=i.current.filter(function(ee){return ee.name===B.type&&(ee.target===B.target||B.target===ee.shadowParent)&&v7n(ee.delta,$)})[0];if(j&&j.should){B.cancelable&&B.preventDefault();return}if(!j){var P=(b.current.shards||[]).map(H9t).filter(Boolean).filter(function(ee){return ee.contains(B.target)}),G=P.length>0?w(B,P[0]):!b.current.noIsolation;G&&B.cancelable&&B.preventDefault()}}},[]),S=H.useCallback(function(D,B,$,j){var P={name:D,delta:B,target:$,should:j,shadowParent:A7n($)};i.current.push(P),setTimeout(function(){i.current=i.current.filter(function(G){return G!==P})},1)},[]),x=H.useCallback(function(D){s.current=Tie(D),c.current=void 0},[]),A=H.useCallback(function(D){S(D.type,U9t(D),D.target,w(D,n.lockRef.current))},[]),C=H.useCallback(function(D){S(D.type,Tie(D),D.target,w(D,n.lockRef.current))},[]);H.useEffect(function(){return y5.push(g),n.setCallbacks({onScrollCapture:A,onWheelCapture:A,onTouchMoveCapture:C}),document.addEventListener("wheel",E,w5),document.addEventListener("touchmove",E,w5),document.addEventListener("touchstart",x,w5),function(){y5=y5.filter(function(D){return D!==g}),document.removeEventListener("wheel",E,w5),document.removeEventListener("touchmove",E,w5),document.removeEventListener("touchstart",x,w5)}},[]);var R=n.removeScrollBar,L=n.inert;return H.createElement(H.Fragment,null,L?H.createElement(g,{styles:E7n(d)}):null,R?H.createElement(f7n,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function A7n(n){for(var i=null;n!==null;)n instanceof ShadowRoot&&(i=n.host,n=n.host),n=n.parentNode;return i}const _7n=Qjn(kGt,T7n);var Iz=H.forwardRef(function(n,i){return H.createElement(aae,O2({},n,{ref:i,sideCar:_7n}))});Iz.classNames=aae.classNames;var x7n=function(n){if(typeof document>"u")return null;var i=Array.isArray(n)?n[0]:n;return i.ownerDocument.body},v5=new WeakMap,Aie=new WeakMap,_ie={},tIe=0,OGt=function(n){return n&&(n.host||OGt(n.parentNode))},k7n=function(n,i){return i.map(function(s){if(n.contains(s))return s;var c=OGt(s);return c&&n.contains(c)?c:(console.error("aria-hidden",s,"in not contained inside",n,". Doing nothing"),null)}).filter(function(s){return!!s})},N7n=function(n,i,s,c){var d=k7n(i,Array.isArray(n)?n:[n]);_ie[s]||(_ie[s]=new WeakMap);var g=_ie[s],b=[],w=new Set,E=new Set(d),S=function(A){!A||w.has(A)||(w.add(A),S(A.parentNode))};d.forEach(S);var x=function(A){!A||E.has(A)||Array.prototype.forEach.call(A.children,function(C){if(w.has(C))x(C);else try{var R=C.getAttribute(c),L=R!==null&&R!=="false",D=(v5.get(C)||0)+1,B=(g.get(C)||0)+1;v5.set(C,D),g.set(C,B),b.push(C),D===1&&L&&Aie.set(C,!0),B===1&&C.setAttribute(s,"true"),L||C.setAttribute(c,"true")}catch($){console.error("aria-hidden: cannot operate on ",C,$)}})};return x(i),w.clear(),tIe++,function(){b.forEach(function(A){var C=v5.get(A)-1,R=g.get(A)-1;v5.set(A,C),g.set(A,R),C||(Aie.has(A)||A.removeAttribute(c),Aie.delete(A)),R||A.removeAttribute(s)}),tIe--,tIe||(v5=new WeakMap,v5=new WeakMap,Aie=new WeakMap,_ie={})}},uae=function(n,i,s){s===void 0&&(s="data-aria-hidden");var c=Array.from(Array.isArray(n)?n:[n]),d=x7n(n);return d?(c.push.apply(c,Array.from(d.querySelectorAll("[aria-live], script"))),N7n(c,d,s,"aria-hidden")):function(){return null}};function C7n(n){const i=I7n(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(O7n);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function I7n(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=L7n(d),w=D7n(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var R7n=Symbol("radix.slottable");function O7n(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===R7n}function D7n(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function L7n(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var cae="Dialog",[DGt]=xw(cae),[M7n,Uv]=DGt(cae),LGt=n=>{const{__scopeDialog:i,children:s,open:c,defaultOpen:d,onOpenChange:g,modal:b=!0}=n,w=H.useRef(null),E=H.useRef(null),[S,x]=G2({prop:c,defaultProp:d??!1,onChange:g,caller:cae});return I.jsx(M7n,{scope:i,triggerRef:w,contentRef:E,contentId:Bh(),titleId:Bh(),descriptionId:Bh(),open:S,onOpenChange:x,onOpenToggle:H.useCallback(()=>x(A=>!A),[x]),modal:b,children:s})};LGt.displayName=cae;var MGt="DialogTrigger",P7n=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Uv(MGt,s),g=hs(i,d.triggerRef);return I.jsx(no.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":H5e(d.open),...c,ref:g,onClick:Dr(n.onClick,d.onOpenToggle)})});P7n.displayName=MGt;var B5e="DialogPortal",[j7n,PGt]=DGt(B5e,{forceMount:void 0}),jGt=n=>{const{__scopeDialog:i,forceMount:s,children:c,container:d}=n,g=Uv(B5e,i);return I.jsx(j7n,{scope:i,forceMount:s,children:H.Children.map(c,b=>I.jsx(kw,{present:s||g.open,children:I.jsx(Cz,{asChild:!0,container:d,children:b})}))})};jGt.displayName=B5e;var Yoe="DialogOverlay",FGt=H.forwardRef((n,i)=>{const s=PGt(Yoe,n.__scopeDialog),{forceMount:c=s.forceMount,...d}=n,g=Uv(Yoe,n.__scopeDialog);return g.modal?I.jsx(kw,{present:c||g.open,children:I.jsx($7n,{...d,ref:i})}):null});FGt.displayName=Yoe;var F7n=C7n("DialogOverlay.RemoveScroll"),$7n=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Uv(Yoe,s);return I.jsx(Iz,{as:F7n,allowPinchZoom:!0,shards:[d.contentRef],children:I.jsx(no.div,{"data-state":H5e(d.open),...c,ref:i,style:{pointerEvents:"auto",...c.style}})})}),bR="DialogContent",$Gt=H.forwardRef((n,i)=>{const s=PGt(bR,n.__scopeDialog),{forceMount:c=s.forceMount,...d}=n,g=Uv(bR,n.__scopeDialog);return I.jsx(kw,{present:c||g.open,children:g.modal?I.jsx(B7n,{...d,ref:i}):I.jsx(U7n,{...d,ref:i})})});$Gt.displayName=bR;var B7n=H.forwardRef((n,i)=>{const s=Uv(bR,n.__scopeDialog),c=H.useRef(null),d=hs(i,s.contentRef,c);return H.useEffect(()=>{const g=c.current;if(g)return uae(g)},[]),I.jsx(BGt,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dr(n.onCloseAutoFocus,g=>{var b;g.preventDefault(),(b=s.triggerRef.current)==null||b.focus()}),onPointerDownOutside:Dr(n.onPointerDownOutside,g=>{const b=g.detail.originalEvent,w=b.button===0&&b.ctrlKey===!0;(b.button===2||w)&&g.preventDefault()}),onFocusOutside:Dr(n.onFocusOutside,g=>g.preventDefault())})}),U7n=H.forwardRef((n,i)=>{const s=Uv(bR,n.__scopeDialog),c=H.useRef(!1),d=H.useRef(!1);return I.jsx(BGt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(c.current||(w=s.triggerRef.current)==null||w.focus(),g.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(c.current=!0,g.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const b=g.target;((S=s.triggerRef.current)==null?void 0:S.contains(b))&&g.preventDefault(),g.detail.originalEvent.type==="focusin"&&d.current&&g.preventDefault()}})}),BGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:g,...b}=n,w=Uv(bR,s),E=H.useRef(null),S=hs(i,E);return sae(),I.jsxs(I.Fragment,{children:[I.jsx(Nz,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:g,children:I.jsx(kz,{role:"dialog",id:w.contentId,"aria-describedby":w.descriptionId,"aria-labelledby":w.titleId,"data-state":H5e(w.open),...b,ref:S,onDismiss:()=>w.onOpenChange(!1)})}),I.jsxs(I.Fragment,{children:[I.jsx(H7n,{titleId:w.titleId}),I.jsx(G7n,{contentRef:E,descriptionId:w.descriptionId})]})]})}),U5e="DialogTitle",UGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Uv(U5e,s);return I.jsx(no.h2,{id:d.titleId,...c,ref:i})});UGt.displayName=U5e;var HGt="DialogDescription",zGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Uv(HGt,s);return I.jsx(no.p,{id:d.descriptionId,...c,ref:i})});zGt.displayName=HGt;var GGt="DialogClose",qGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Uv(GGt,s);return I.jsx(no.button,{type:"button",...c,ref:i,onClick:Dr(n.onClick,()=>d.onOpenChange(!1))})});qGt.displayName=GGt;function H5e(n){return n?"open":"closed"}var VGt="DialogTitleWarning",[Vgr,WGt]=djn(VGt,{contentName:bR,titleName:U5e,docsSlug:"dialog"}),H7n=({titleId:n})=>{const i=WGt(VGt),s=`\`${i.contentName}\` requires a \`${i.titleName}\` for the component to be accessible for screen reader users.
If you want to hide the \`${i.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${i.docsSlug}`;return H.useEffect(()=>{n&&(document.getElementById(n)||console.error(s))},[s,n]),null},z7n="DialogDescriptionWarning",G7n=({contentRef:n,descriptionId:i})=>{const c=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${WGt(z7n).contentName}}.`;return H.useEffect(()=>{var g;const d=(g=n.current)==null?void 0:g.getAttribute("aria-describedby");i&&d&&(document.getElementById(i)||console.warn(c))},[c,n,i]),null},KGt=LGt,YGt=jGt,z5e=FGt,G5e=$Gt,JGt=UGt,XGt=zGt,q7n=qGt,V7n=Symbol.for("react.lazy"),Joe=ILe[" use ".trim().toString()];function W7n(n){return typeof n=="object"&&n!==null&&"then"in n}function ZGt(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===V7n&&"_payload"in n&&W7n(n._payload)}function lae(n){const i=Y7n(n),s=H.forwardRef((c,d)=>{let{children:g,...b}=c;ZGt(g)&&typeof Joe=="function"&&(g=Joe(g._payload));const w=H.Children.toArray(g),E=w.find(X7n);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}var K7n=lae("Slot");function Y7n(n){const i=H.forwardRef((s,c)=>{let{children:d,...g}=s;if(ZGt(d)&&typeof Joe=="function"&&(d=Joe(d._payload)),H.isValidElement(d)){const b=Q7n(d),w=Z7n(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var J7n=Symbol("radix.slottable");function X7n(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===J7n}function Z7n(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Q7n(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var eFn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vN=eFn.reduce((n,i)=>{const s=lae(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),BU='[cmdk-group=""]',nIe='[cmdk-group-items=""]',tFn='[cmdk-group-heading=""]',QGt='[cmdk-item=""]',z9t=`${QGt}:not([aria-disabled="true"])`,TDe="cmdk-item-select",A5="data-value",nFn=(n,i,s)=>ljn(n,i,s),eqt=H.createContext(void 0),Rz=()=>H.useContext(eqt),tqt=H.createContext(void 0),q5e=()=>H.useContext(tqt),nqt=H.createContext(void 0),rqt=H.forwardRef((n,i)=>{let s=_5(()=>{var Ue,bt;return{search:"",value:(bt=(Ue=n.value)!=null?Ue:n.defaultValue)!=null?bt:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),c=_5(()=>new Set),d=_5(()=>new Map),g=_5(()=>new Map),b=_5(()=>new Set),w=iqt(n),{label:E,children:S,value:x,onValueChange:A,filter:C,shouldFilter:R,loop:L,disablePointerSelection:D=!1,vimBindings:B=!0,...$}=n,j=Bh(),P=Bh(),G=Bh(),ee=H.useRef(null),re=hFn();mR(()=>{if(x!==void 0){let Ue=x.trim();s.current.value=Ue,Q.emit()}},[x]),mR(()=>{re(6,K)},[]);let Q=H.useMemo(()=>({subscribe:Ue=>(b.current.add(Ue),()=>b.current.delete(Ue)),snapshot:()=>s.current,setState:(Ue,bt,kt)=>{var ht,Xt,vt,Ct;if(!Object.is(s.current[Ue],bt)){if(s.current[Ue]=bt,Ue==="search")fe(),me(),re(1,le);else if(Ue==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Ft=document.getElementById(G);Ft?Ft.focus():(ht=document.getElementById(j))==null||ht.focus()}if(re(7,()=>{var Ft;s.current.selectedItemId=(Ft=he())==null?void 0:Ft.id,Q.emit()}),kt||re(5,K),((Xt=w.current)==null?void 0:Xt.value)!==void 0){let Ft=bt??"";(Ct=(vt=w.current).onValueChange)==null||Ct.call(vt,Ft);return}}Q.emit()}},emit:()=>{b.current.forEach(Ue=>Ue())}}),[]),ie=H.useMemo(()=>({value:(Ue,bt,kt)=>{var ht;bt!==((ht=g.current.get(Ue))==null?void 0:ht.value)&&(g.current.set(Ue,{value:bt,keywords:kt}),s.current.filtered.items.set(Ue,pe(bt,kt)),re(2,()=>{me(),Q.emit()}))},item:(Ue,bt)=>(c.current.add(Ue),bt&&(d.current.has(bt)?d.current.get(bt).add(Ue):d.current.set(bt,new Set([Ue]))),re(3,()=>{fe(),me(),s.current.value||le(),Q.emit()}),()=>{g.current.delete(Ue),c.current.delete(Ue),s.current.filtered.items.delete(Ue);let kt=he();re(4,()=>{fe(),(kt==null?void 0:kt.getAttribute("id"))===Ue&&le(),Q.emit()})}),group:Ue=>(d.current.has(Ue)||d.current.set(Ue,new Set),()=>{g.current.delete(Ue),d.current.delete(Ue)}),filter:()=>w.current.shouldFilter,label:E||n["aria-label"],getDisablePointerSelection:()=>w.current.disablePointerSelection,listId:j,inputId:G,labelId:P,listInnerRef:ee}),[]);function pe(Ue,bt){var kt,ht;let Xt=(ht=(kt=w.current)==null?void 0:kt.filter)!=null?ht:nFn;return Ue?Xt(Ue,s.current.search,bt):0}function me(){if(!s.current.search||w.current.shouldFilter===!1)return;let Ue=s.current.filtered.items,bt=[];s.current.filtered.groups.forEach(ht=>{let Xt=d.current.get(ht),vt=0;Xt.forEach(Ct=>{let Ft=Ue.get(Ct);vt=Math.max(Ft,vt)}),bt.push([ht,vt])});let kt=ee.current;Oe().sort((ht,Xt)=>{var vt,Ct;let Ft=ht.getAttribute("id"),On=Xt.getAttribute("id");return((vt=Ue.get(On))!=null?vt:0)-((Ct=Ue.get(Ft))!=null?Ct:0)}).forEach(ht=>{let Xt=ht.closest(nIe);Xt?Xt.appendChild(ht.parentElement===Xt?ht:ht.closest(`${nIe} > *`)):kt.appendChild(ht.parentElement===kt?ht:ht.closest(`${nIe} > *`))}),bt.sort((ht,Xt)=>Xt[1]-ht[1]).forEach(ht=>{var Xt;let vt=(Xt=ee.current)==null?void 0:Xt.querySelector(`${BU}[${A5}="${encodeURIComponent(ht[0])}"]`);vt==null||vt.parentElement.appendChild(vt)})}function le(){let Ue=Oe().find(kt=>kt.getAttribute("aria-disabled")!=="true"),bt=Ue==null?void 0:Ue.getAttribute(A5);Q.setState("value",bt||void 0)}function fe(){var Ue,bt,kt,ht;if(!s.current.search||w.current.shouldFilter===!1){s.current.filtered.count=c.current.size;return}s.current.filtered.groups=new Set;let Xt=0;for(let vt of c.current){let Ct=(bt=(Ue=g.current.get(vt))==null?void 0:Ue.value)!=null?bt:"",Ft=(ht=(kt=g.current.get(vt))==null?void 0:kt.keywords)!=null?ht:[],On=pe(Ct,Ft);s.current.filtered.items.set(vt,On),On>0&&Xt++}for(let[vt,Ct]of d.current)for(let Ft of Ct)if(s.current.filtered.items.get(Ft)>0){s.current.filtered.groups.add(vt);break}s.current.filtered.count=Xt}function K(){var Ue,bt,kt;let ht=he();ht&&(((Ue=ht.parentElement)==null?void 0:Ue.firstChild)===ht&&((kt=(bt=ht.closest(BU))==null?void 0:bt.querySelector(tFn))==null||kt.scrollIntoView({block:"nearest"})),ht.scrollIntoView({block:"nearest"}))}function he(){var Ue;return(Ue=ee.current)==null?void 0:Ue.querySelector(`${QGt}[aria-selected="true"]`)}function Oe(){var Ue;return Array.from(((Ue=ee.current)==null?void 0:Ue.querySelectorAll(z9t))||[])}function Se(Ue){let bt=Oe()[Ue];bt&&Q.setState("value",bt.getAttribute(A5))}function Le(Ue){var bt;let kt=he(),ht=Oe(),Xt=ht.findIndex(Ct=>Ct===kt),vt=ht[Xt+Ue];(bt=w.current)!=null&&bt.loop&&(vt=Xt+Ue<0?ht[ht.length-1]:Xt+Ue===ht.length?ht[0]:ht[Xt+Ue]),vt&&Q.setState("value",vt.getAttribute(A5))}function Ae(Ue){let bt=he(),kt=bt==null?void 0:bt.closest(BU),ht;for(;kt&&!ht;)kt=Ue>0?dFn(kt,BU):fFn(kt,BU),ht=kt==null?void 0:kt.querySelector(z9t);ht?Q.setState("value",ht.getAttribute(A5)):Le(Ue)}let xe=()=>Se(Oe().length-1),We=Ue=>{Ue.preventDefault(),Ue.metaKey?xe():Ue.altKey?Ae(1):Le(1)},dt=Ue=>{Ue.preventDefault(),Ue.metaKey?Se(0):Ue.altKey?Ae(-1):Le(-1)};return H.createElement(vN.div,{ref:i,tabIndex:-1,...$,"cmdk-root":"",onKeyDown:Ue=>{var bt;(bt=$.onKeyDown)==null||bt.call($,Ue);let kt=Ue.nativeEvent.isComposing||Ue.keyCode===229;if(!(Ue.defaultPrevented||kt))switch(Ue.key){case"n":case"j":{B&&Ue.ctrlKey&&We(Ue);break}case"ArrowDown":{We(Ue);break}case"p":case"k":{B&&Ue.ctrlKey&&dt(Ue);break}case"ArrowUp":{dt(Ue);break}case"Home":{Ue.preventDefault(),Se(0);break}case"End":{Ue.preventDefault(),xe();break}case"Enter":{Ue.preventDefault();let ht=he();if(ht){let Xt=new Event(TDe);ht.dispatchEvent(Xt)}}}}},H.createElement("label",{"cmdk-label":"",htmlFor:ie.inputId,id:ie.labelId,style:gFn},E),dae(n,Ue=>H.createElement(tqt.Provider,{value:Q},H.createElement(eqt.Provider,{value:ie},Ue))))}),rFn=H.forwardRef((n,i)=>{var s,c;let d=Bh(),g=H.useRef(null),b=H.useContext(nqt),w=Rz(),E=iqt(n),S=(c=(s=E.current)==null?void 0:s.forceMount)!=null?c:b==null?void 0:b.forceMount;mR(()=>{if(!S)return w.item(d,b==null?void 0:b.id)},[S]);let x=oqt(d,g,[n.value,n.children,g],n.keywords),A=q5e(),C=sN(re=>re.value&&re.value===x.current),R=sN(re=>S||w.filter()===!1?!0:re.search?re.filtered.items.get(d)>0:!0);H.useEffect(()=>{let re=g.current;if(!(!re||n.disabled))return re.addEventListener(TDe,L),()=>re.removeEventListener(TDe,L)},[R,n.onSelect,n.disabled]);function L(){var re,Q;D(),(Q=(re=E.current).onSelect)==null||Q.call(re,x.current)}function D(){A.setState("value",x.current,!0)}if(!R)return null;let{disabled:B,value:$,onSelect:j,forceMount:P,keywords:G,...ee}=n;return H.createElement(vN.div,{ref:zg(g,i),...ee,id:d,"cmdk-item":"",role:"option","aria-disabled":!!B,"aria-selected":!!C,"data-disabled":!!B,"data-selected":!!C,onPointerMove:B||w.getDisablePointerSelection()?void 0:D,onClick:B?void 0:L},n.children)}),iFn=H.forwardRef((n,i)=>{let{heading:s,children:c,forceMount:d,...g}=n,b=Bh(),w=H.useRef(null),E=H.useRef(null),S=Bh(),x=Rz(),A=sN(R=>d||x.filter()===!1?!0:R.search?R.filtered.groups.has(b):!0);mR(()=>x.group(b),[]),oqt(b,w,[n.value,n.heading,E]);let C=H.useMemo(()=>({id:b,forceMount:d}),[d]);return H.createElement(vN.div,{ref:zg(w,i),...g,"cmdk-group":"",role:"presentation",hidden:A?void 0:!0},s&&H.createElement("div",{ref:E,"cmdk-group-heading":"","aria-hidden":!0,id:S},s),dae(n,R=>H.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":s?S:void 0},H.createElement(nqt.Provider,{value:C},R))))}),oFn=H.forwardRef((n,i)=>{let{alwaysRender:s,...c}=n,d=H.useRef(null),g=sN(b=>!b.search);return!s&&!g?null:H.createElement(vN.div,{ref:zg(d,i),...c,"cmdk-separator":"",role:"separator"})}),sFn=H.forwardRef((n,i)=>{let{onValueChange:s,...c}=n,d=n.value!=null,g=q5e(),b=sN(S=>S.search),w=sN(S=>S.selectedItemId),E=Rz();return H.useEffect(()=>{n.value!=null&&g.setState("search",n.value)},[n.value]),H.createElement(vN.input,{ref:i,...c,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":E.listId,"aria-labelledby":E.labelId,"aria-activedescendant":w,id:E.inputId,type:"text",value:d?n.value:b,onChange:S=>{d||g.setState("search",S.target.value),s==null||s(S.target.value)}})}),aFn=H.forwardRef((n,i)=>{let{children:s,label:c="Suggestions",...d}=n,g=H.useRef(null),b=H.useRef(null),w=sN(S=>S.selectedItemId),E=Rz();return H.useEffect(()=>{if(b.current&&g.current){let S=b.current,x=g.current,A,C=new ResizeObserver(()=>{A=requestAnimationFrame(()=>{let R=S.offsetHeight;x.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px")})});return C.observe(S),()=>{cancelAnimationFrame(A),C.unobserve(S)}}},[]),H.createElement(vN.div,{ref:zg(g,i),...d,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":w,"aria-label":c,id:E.listId},dae(n,S=>H.createElement("div",{ref:zg(b,E.listInnerRef),"cmdk-list-sizer":""},S)))}),uFn=H.forwardRef((n,i)=>{let{open:s,onOpenChange:c,overlayClassName:d,contentClassName:g,container:b,...w}=n;return H.createElement(KGt,{open:s,onOpenChange:c},H.createElement(YGt,{container:b},H.createElement(z5e,{"cmdk-overlay":"",className:d}),H.createElement(G5e,{"aria-label":n.label,"cmdk-dialog":"",className:g},H.createElement(rqt,{ref:i,...w}))))}),cFn=H.forwardRef((n,i)=>sN(s=>s.filtered.count===0)?H.createElement(vN.div,{ref:i,...n,"cmdk-empty":"",role:"presentation"}):null),lFn=H.forwardRef((n,i)=>{let{progress:s,children:c,label:d="Loading...",...g}=n;return H.createElement(vN.div,{ref:i,...g,"cmdk-loading":"",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":d},dae(n,b=>H.createElement("div",{"aria-hidden":!0},b)))}),fb=Object.assign(rqt,{List:aFn,Item:rFn,Input:sFn,Group:iFn,Separator:oFn,Dialog:uFn,Empty:cFn,Loading:lFn});function dFn(n,i){let s=n.nextElementSibling;for(;s;){if(s.matches(i))return s;s=s.nextElementSibling}}function fFn(n,i){let s=n.previousElementSibling;for(;s;){if(s.matches(i))return s;s=s.previousElementSibling}}function iqt(n){let i=H.useRef(n);return mR(()=>{i.current=n}),i}var mR=typeof window>"u"?H.useEffect:H.useLayoutEffect;function _5(n){let i=H.useRef();return i.current===void 0&&(i.current=n()),i}function sN(n){let i=q5e(),s=()=>n(i.snapshot());return H.useSyncExternalStore(i.subscribe,s,s)}function oqt(n,i,s,c=[]){let d=H.useRef(),g=Rz();return mR(()=>{var b;let w=(()=>{var S;for(let x of s){if(typeof x=="string")return x.trim();if(typeof x=="object"&&"current"in x)return x.current?(S=x.current.textContent)==null?void 0:S.trim():d.current}})(),E=c.map(S=>S.trim());g.value(n,w,E),(b=i.current)==null||b.setAttribute(A5,w),d.current=w}),d}var hFn=()=>{let[n,i]=H.useState(),s=_5(()=>new Map);return mR(()=>{s.current.forEach(c=>c()),s.current=new Map},[n]),(c,d)=>{s.current.set(c,d),i({})}};function pFn(n){let i=n.type;return typeof i=="function"?i(n.props):"render"in i?i.render(n.props):n}function dae({asChild:n,children:i},s){return n&&H.isValidElement(i)?H.cloneElement(pFn(i),{ref:i.ref},s(i.props.children)):s(i)}var gFn={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function sqt(n){var i,s,c="";if(typeof n=="string"||typeof n=="number")c+=n;else if(typeof n=="object")if(Array.isArray(n)){var d=n.length;for(i=0;i<d;i++)n[i]&&(s=sqt(n[i]))&&(c&&(c+=" "),c+=s)}else for(s in n)n[s]&&(c&&(c+=" "),c+=s);return c}function aqt(){for(var n,i,s=0,c="",d=arguments.length;s<d;s++)(n=arguments[s])&&(i=sqt(n))&&(c&&(c+=" "),c+=i);return c}const V5e="-",bFn=n=>{const i=wFn(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:c}=n;return{getClassGroupId:b=>{const w=b.split(V5e);return w[0]===""&&w.length!==1&&w.shift(),uqt(w,i)||mFn(b)},getConflictingClassGroupIds:(b,w)=>{const E=s[b]||[];return w&&c[b]?[...E,...c[b]]:E}}},uqt=(n,i)=>{var b;if(n.length===0)return i.classGroupId;const s=n[0],c=i.nextPart.get(s),d=c?uqt(n.slice(1),c):void 0;if(d)return d;if(i.validators.length===0)return;const g=n.join(V5e);return(b=i.validators.find(({validator:w})=>w(g)))==null?void 0:b.classGroupId},G9t=/^\[(.+)\]$/,mFn=n=>{if(G9t.test(n)){const i=G9t.exec(n)[1],s=i==null?void 0:i.substring(0,i.indexOf(":"));if(s)return"arbitrary.."+s}},wFn=n=>{const{theme:i,prefix:s}=n,c={nextPart:new Map,validators:[]};return vFn(Object.entries(n.classGroups),s).forEach(([g,b])=>{ADe(b,c,g,i)}),c},ADe=(n,i,s,c)=>{n.forEach(d=>{if(typeof d=="string"){const g=d===""?i:q9t(i,d);g.classGroupId=s;return}if(typeof d=="function"){if(yFn(d)){ADe(d(c),i,s,c);return}i.validators.push({validator:d,classGroupId:s});return}Object.entries(d).forEach(([g,b])=>{ADe(b,q9t(i,g),s,c)})})},q9t=(n,i)=>{let s=n;return i.split(V5e).forEach(c=>{s.nextPart.has(c)||s.nextPart.set(c,{nextPart:new Map,validators:[]}),s=s.nextPart.get(c)}),s},yFn=n=>n.isThemeGetter,vFn=(n,i)=>i?n.map(([s,c])=>{const d=c.map(g=>typeof g=="string"?i+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(([b,w])=>[i+b,w])):g);return[s,d]}):n,EFn=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,s=new Map,c=new Map;const d=(g,b)=>{s.set(g,b),i++,i>n&&(i=0,c=s,s=new Map)};return{get(g){let b=s.get(g);if(b!==void 0)return b;if((b=c.get(g))!==void 0)return d(g,b),b},set(g,b){s.has(g)?s.set(g,b):d(g,b)}}},cqt="!",SFn=n=>{const{separator:i,experimentalParseClassName:s}=n,c=i.length===1,d=i[0],g=i.length,b=w=>{const E=[];let S=0,x=0,A;for(let B=0;B<w.length;B++){let $=w[B];if(S===0){if($===d&&(c||w.slice(B,B+g)===i)){E.push(w.slice(x,B)),x=B+g;continue}if($==="/"){A=B;continue}}$==="["?S++:$==="]"&&S--}const C=E.length===0?w:w.substring(x),R=C.startsWith(cqt),L=R?C.substring(1):C,D=A&&A>x?A-x:void 0;return{modifiers:E,hasImportantModifier:R,baseClassName:L,maybePostfixModifierPosition:D}};return s?w=>s({className:w,parseClassName:b}):b},TFn=n=>{if(n.length<=1)return n;const i=[];let s=[];return n.forEach(c=>{c[0]==="["?(i.push(...s.sort(),c),s=[]):s.push(c)}),i.push(...s.sort()),i},AFn=n=>({cache:EFn(n.cacheSize),parseClassName:SFn(n),...bFn(n)}),_Fn=/\s+/,xFn=(n,i)=>{const{parseClassName:s,getClassGroupId:c,getConflictingClassGroupIds:d}=i,g=[],b=n.trim().split(_Fn);let w="";for(let E=b.length-1;E>=0;E-=1){const S=b[E],{modifiers:x,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:R}=s(S);let L=!!R,D=c(L?C.substring(0,R):C);if(!D){if(!L){w=S+(w.length>0?" "+w:w);continue}if(D=c(C),!D){w=S+(w.length>0?" "+w:w);continue}L=!1}const B=TFn(x).join(":"),$=A?B+cqt:B,j=$+D;if(g.includes(j))continue;g.push(j);const P=d(D,L);for(let G=0;G<P.length;++G){const ee=P[G];g.push($+ee)}w=S+(w.length>0?" "+w:w)}return w};function kFn(){let n=0,i,s,c="";for(;n<arguments.length;)(i=arguments[n++])&&(s=lqt(i))&&(c&&(c+=" "),c+=s);return c}const lqt=n=>{if(typeof n=="string")return n;let i,s="";for(let c=0;c<n.length;c++)n[c]&&(i=lqt(n[c]))&&(s&&(s+=" "),s+=i);return s};function NFn(n,...i){let s,c,d,g=b;function b(E){const S=i.reduce((x,A)=>A(x),n());return s=AFn(S),c=s.cache.get,d=s.cache.set,g=w,w(E)}function w(E){const S=c(E);if(S)return S;const x=xFn(E,s);return d(E,x),x}return function(){return g(kFn.apply(null,arguments))}}const cc=n=>{const i=s=>s[n]||[];return i.isThemeGetter=!0,i},dqt=/^\[(?:([a-z-]+):)?(.+)\]$/i,CFn=/^\d+\/\d+$/,IFn=new Set(["px","full","screen"]),RFn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,OFn=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DFn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,LFn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,MFn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rA=n=>iM(n)||IFn.has(n)||CFn.test(n),Rk=n=>jM(n,"length",zFn),iM=n=>!!n&&!Number.isNaN(Number(n)),rIe=n=>jM(n,"number",iM),UU=n=>!!n&&Number.isInteger(Number(n)),PFn=n=>n.endsWith("%")&&iM(n.slice(0,-1)),Xo=n=>dqt.test(n),Ok=n=>RFn.test(n),jFn=new Set(["length","size","percentage"]),FFn=n=>jM(n,jFn,fqt),$Fn=n=>jM(n,"position",fqt),BFn=new Set(["image","url"]),UFn=n=>jM(n,BFn,qFn),HFn=n=>jM(n,"",GFn),HU=()=>!0,jM=(n,i,s)=>{const c=dqt.exec(n);return c?c[1]?typeof i=="string"?c[1]===i:i.has(c[1]):s(c[2]):!1},zFn=n=>OFn.test(n)&&!DFn.test(n),fqt=()=>!1,GFn=n=>LFn.test(n),qFn=n=>MFn.test(n),VFn=()=>{const n=cc("colors"),i=cc("spacing"),s=cc("blur"),c=cc("brightness"),d=cc("borderColor"),g=cc("borderRadius"),b=cc("borderSpacing"),w=cc("borderWidth"),E=cc("contrast"),S=cc("grayscale"),x=cc("hueRotate"),A=cc("invert"),C=cc("gap"),R=cc("gradientColorStops"),L=cc("gradientColorStopPositions"),D=cc("inset"),B=cc("margin"),$=cc("opacity"),j=cc("padding"),P=cc("saturate"),G=cc("scale"),ee=cc("sepia"),re=cc("skew"),Q=cc("space"),ie=cc("translate"),pe=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],le=()=>["auto",Xo,i],fe=()=>[Xo,i],K=()=>["",rA,Rk],he=()=>["auto",iM,Xo],Oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Se=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],xe=()=>["","0",Xo],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],dt=()=>[iM,Xo];return{cacheSize:500,separator:":",theme:{colors:[HU],spacing:[rA,Rk],blur:["none","",Ok,Xo],brightness:dt(),borderColor:[n],borderRadius:["none","","full",Ok,Xo],borderSpacing:fe(),borderWidth:K(),contrast:dt(),grayscale:xe(),hueRotate:dt(),invert:xe(),gap:fe(),gradientColorStops:[n],gradientColorStopPositions:[PFn,Rk],inset:le(),margin:le(),opacity:dt(),padding:fe(),saturate:dt(),scale:dt(),sepia:xe(),skew:dt(),space:fe(),translate:fe()},classGroups:{aspect:[{aspect:["auto","square","video",Xo]}],container:["container"],columns:[{columns:[Ok]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Oe(),Xo]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:pe()}],"overscroll-x":[{"overscroll-x":pe()}],"overscroll-y":[{"overscroll-y":pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[D]}],"inset-x":[{"inset-x":[D]}],"inset-y":[{"inset-y":[D]}],start:[{start:[D]}],end:[{end:[D]}],top:[{top:[D]}],right:[{right:[D]}],bottom:[{bottom:[D]}],left:[{left:[D]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",UU,Xo]}],basis:[{basis:le()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Xo]}],grow:[{grow:xe()}],shrink:[{shrink:xe()}],order:[{order:["first","last","none",UU,Xo]}],"grid-cols":[{"grid-cols":[HU]}],"col-start-end":[{col:["auto",{span:["full",UU,Xo]},Xo]}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":[HU]}],"row-start-end":[{row:["auto",{span:[UU,Xo]},Xo]}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Xo]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Xo]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[B]}],mx:[{mx:[B]}],my:[{my:[B]}],ms:[{ms:[B]}],me:[{me:[B]}],mt:[{mt:[B]}],mr:[{mr:[B]}],mb:[{mb:[B]}],ml:[{ml:[B]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Xo,i]}],"min-w":[{"min-w":[Xo,i,"min","max","fit"]}],"max-w":[{"max-w":[Xo,i,"none","full","min","max","fit","prose",{screen:[Ok]},Ok]}],h:[{h:[Xo,i,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Xo,i,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Xo,i,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Xo,i,"auto","min","max","fit"]}],"font-size":[{text:["base",Ok,Rk]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rIe]}],"font-family":[{font:[HU]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Xo]}],"line-clamp":[{"line-clamp":["none",iM,rIe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rA,Xo]}],"list-image":[{"list-image":["none",Xo]}],"list-style-type":[{list:["none","disc","decimal",Xo]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[$]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rA,Rk]}],"underline-offset":[{"underline-offset":["auto",rA,Xo]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:fe()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Xo]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Xo]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[$]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Oe(),$Fn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",FFn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},UFn]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[L]}],"gradient-via-pos":[{via:[L]}],"gradient-to-pos":[{to:[L]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[w]}],"border-w-x":[{"border-x":[w]}],"border-w-y":[{"border-y":[w]}],"border-w-s":[{"border-s":[w]}],"border-w-e":[{"border-e":[w]}],"border-w-t":[{"border-t":[w]}],"border-w-r":[{"border-r":[w]}],"border-w-b":[{"border-b":[w]}],"border-w-l":[{"border-l":[w]}],"border-opacity":[{"border-opacity":[$]}],"border-style":[{border:[...Se(),"hidden"]}],"divide-x":[{"divide-x":[w]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[w]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[$]}],"divide-style":[{divide:Se()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...Se()]}],"outline-offset":[{"outline-offset":[rA,Xo]}],"outline-w":[{outline:[rA,Rk]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[$]}],"ring-offset-w":[{"ring-offset":[rA,Rk]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Ok,HFn]}],"shadow-color":[{shadow:[HU]}],opacity:[{opacity:[$]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[s]}],brightness:[{brightness:[c]}],contrast:[{contrast:[E]}],"drop-shadow":[{"drop-shadow":["","none",Ok,Xo]}],grayscale:[{grayscale:[S]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[A]}],saturate:[{saturate:[P]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[s]}],"backdrop-brightness":[{"backdrop-brightness":[c]}],"backdrop-contrast":[{"backdrop-contrast":[E]}],"backdrop-grayscale":[{"backdrop-grayscale":[S]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[A]}],"backdrop-opacity":[{"backdrop-opacity":[$]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[b]}],"border-spacing-x":[{"border-spacing-x":[b]}],"border-spacing-y":[{"border-spacing-y":[b]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Xo]}],duration:[{duration:dt()}],ease:[{ease:["linear","in","out","in-out",Xo]}],delay:[{delay:dt()}],animate:[{animate:["none","spin","ping","pulse","bounce",Xo]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[UU,Xo]}],"translate-x":[{"translate-x":[ie]}],"translate-y":[{"translate-y":[ie]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Xo]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Xo]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":fe()}],"scroll-mx":[{"scroll-mx":fe()}],"scroll-my":[{"scroll-my":fe()}],"scroll-ms":[{"scroll-ms":fe()}],"scroll-me":[{"scroll-me":fe()}],"scroll-mt":[{"scroll-mt":fe()}],"scroll-mr":[{"scroll-mr":fe()}],"scroll-mb":[{"scroll-mb":fe()}],"scroll-ml":[{"scroll-ml":fe()}],"scroll-p":[{"scroll-p":fe()}],"scroll-px":[{"scroll-px":fe()}],"scroll-py":[{"scroll-py":fe()}],"scroll-ps":[{"scroll-ps":fe()}],"scroll-pe":[{"scroll-pe":fe()}],"scroll-pt":[{"scroll-pt":fe()}],"scroll-pr":[{"scroll-pr":fe()}],"scroll-pb":[{"scroll-pb":fe()}],"scroll-pl":[{"scroll-pl":fe()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Xo]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[rA,Rk,rIe]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},WFn=NFn(VFn);function Sr(...n){return WFn(aqt(n))}function W5e(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{const i=Math.random()*16|0;return(n==="x"?i:i&3|8).toString(16)})}let KFn=0;function Xoe(n){return`${n}_${Date.now()}_${KFn++}`}const wR=KGt,YFn=YGt,hqt=H.forwardRef(({className:n,...i},s)=>I.jsx(z5e,{ref:s,className:Sr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-40 bg-black/80 data-[state=closed]:animate-out data-[state=open]:animate-in",n),...i}));hqt.displayName=z5e.displayName;const aN=H.forwardRef(({className:n,children:i,container:s,...c},d)=>{const{t:g}=ps(["common"]);return I.jsxs(YFn,{container:s,children:[I.jsx(hqt,{}),I.jsxs(G5e,{ref:d,className:Sr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:rounded-lg",n),...c,children:[i,I.jsxs(q7n,{className:"absolute top-4 right-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[I.jsx(oae,{className:"h-4 w-4"}),I.jsx("span",{className:"sr-only",children:g("buttons.close")})]})]})]})});aN.displayName=G5e.displayName;const uN=({className:n,...i})=>I.jsx("div",{className:Sr("flex flex-col space-y-1.5 text-center sm:text-left",n),...i});uN.displayName="DialogHeader";const cN=H.forwardRef(({className:n,...i},s)=>I.jsx(JGt,{ref:s,className:Sr("font-semibold text-lg leading-none tracking-tight",n),...i}));cN.displayName=JGt.displayName;const lN=H.forwardRef(({className:n,...i},s)=>I.jsx(XGt,{ref:s,className:Sr("text-muted-foreground text-sm",n),...i}));lN.displayName=XGt.displayName;const fae=H.forwardRef(({className:n,...i},s)=>I.jsx(fb,{ref:s,className:Sr("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...i}));fae.displayName=fb.displayName;const hae=H.forwardRef(({className:n,...i},s)=>I.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[I.jsx(bGt,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),I.jsx(fb.Input,{ref:s,autoComplete:"off",className:Sr("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...i})]}));hae.displayName=fb.Input.displayName;const pae=H.forwardRef(({className:n,...i},s)=>I.jsx(fb.List,{ref:s,className:Sr("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...i}));pae.displayName=fb.List.displayName;const gae=H.forwardRef((n,i)=>I.jsx(fb.Empty,{ref:i,className:"py-6 text-center text-sm",...n}));gae.displayName=fb.Empty.displayName;const ez=H.forwardRef(({className:n,...i},s)=>I.jsx(fb.Group,{ref:s,className:Sr("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs",n),...i}));ez.displayName=fb.Group.displayName;const JFn=H.forwardRef(({className:n,...i},s)=>I.jsx(fb.Separator,{ref:s,className:Sr("-mx-1 h-px bg-border",n),...i}));JFn.displayName=fb.Separator.displayName;const tz=H.forwardRef(({className:n,...i},s)=>I.jsx(fb.Item,{ref:s,className:Sr("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n),...i}));tz.displayName=fb.Item.displayName;const XFn=["top","right","bottom","left"],dN=Math.min,Mm=Math.max,Zoe=Math.round,xie=Math.floor,$2=n=>({x:n,y:n}),ZFn={left:"right",right:"left",bottom:"top",top:"bottom"},QFn={start:"end",end:"start"};function _De(n,i,s){return Mm(n,dN(i,s))}function vA(n,i){return typeof n=="function"?n(i):n}function EA(n){return n.split("-")[0]}function FM(n){return n.split("-")[1]}function K5e(n){return n==="x"?"y":"x"}function Y5e(n){return n==="y"?"height":"width"}const e$n=new Set(["top","bottom"]);function L2(n){return e$n.has(EA(n))?"y":"x"}function J5e(n){return K5e(L2(n))}function t$n(n,i,s){s===void 0&&(s=!1);const c=FM(n),d=J5e(n),g=Y5e(d);let b=d==="x"?c===(s?"end":"start")?"right":"left":c==="start"?"bottom":"top";return i.reference[g]>i.floating[g]&&(b=Qoe(b)),[b,Qoe(b)]}function n$n(n){const i=Qoe(n);return[xDe(n),i,xDe(i)]}function xDe(n){return n.replace(/start|end/g,i=>QFn[i])}const V9t=["left","right"],W9t=["right","left"],r$n=["top","bottom"],i$n=["bottom","top"];function o$n(n,i,s){switch(n){case"top":case"bottom":return s?i?W9t:V9t:i?V9t:W9t;case"left":case"right":return i?r$n:i$n;default:return[]}}function s$n(n,i,s,c){const d=FM(n);let g=o$n(EA(n),s==="start",c);return d&&(g=g.map(b=>b+"-"+d),i&&(g=g.concat(g.map(xDe)))),g}function Qoe(n){return n.replace(/left|right|bottom|top/g,i=>ZFn[i])}function a$n(n){return{top:0,right:0,bottom:0,left:0,...n}}function pqt(n){return typeof n!="number"?a$n(n):{top:n,right:n,bottom:n,left:n}}function ese(n){const{x:i,y:s,width:c,height:d}=n;return{width:c,height:d,top:s,left:i,right:i+c,bottom:s+d,x:i,y:s}}function K9t(n,i,s){let{reference:c,floating:d}=n;const g=L2(i),b=J5e(i),w=Y5e(b),E=EA(i),S=g==="y",x=c.x+c.width/2-d.width/2,A=c.y+c.height/2-d.height/2,C=c[w]/2-d[w]/2;let R;switch(E){case"top":R={x,y:c.y-d.height};break;case"bottom":R={x,y:c.y+c.height};break;case"right":R={x:c.x+c.width,y:A};break;case"left":R={x:c.x-d.width,y:A};break;default:R={x:c.x,y:c.y}}switch(FM(i)){case"start":R[b]-=C*(s&&S?-1:1);break;case"end":R[b]+=C*(s&&S?-1:1);break}return R}const u$n=async(n,i,s)=>{const{placement:c="bottom",strategy:d="absolute",middleware:g=[],platform:b}=s,w=g.filter(Boolean),E=await(b.isRTL==null?void 0:b.isRTL(i));let S=await b.getElementRects({reference:n,floating:i,strategy:d}),{x,y:A}=K9t(S,c,E),C=c,R={},L=0;for(let D=0;D<w.length;D++){const{name:B,fn:$}=w[D],{x:j,y:P,data:G,reset:ee}=await $({x,y:A,initialPlacement:c,placement:C,strategy:d,middlewareData:R,rects:S,platform:b,elements:{reference:n,floating:i}});x=j??x,A=P??A,R={...R,[B]:{...R[B],...G}},ee&&L<=50&&(L++,typeof ee=="object"&&(ee.placement&&(C=ee.placement),ee.rects&&(S=ee.rects===!0?await b.getElementRects({reference:n,floating:i,strategy:d}):ee.rects),{x,y:A}=K9t(S,C,E)),D=-1)}return{x,y:A,placement:C,strategy:d,middlewareData:R}};async function nz(n,i){var s;i===void 0&&(i={});const{x:c,y:d,platform:g,rects:b,elements:w,strategy:E}=n,{boundary:S="clippingAncestors",rootBoundary:x="viewport",elementContext:A="floating",altBoundary:C=!1,padding:R=0}=vA(i,n),L=pqt(R),B=w[C?A==="floating"?"reference":"floating":A],$=ese(await g.getClippingRect({element:(s=await(g.isElement==null?void 0:g.isElement(B)))==null||s?B:B.contextElement||await(g.getDocumentElement==null?void 0:g.getDocumentElement(w.floating)),boundary:S,rootBoundary:x,strategy:E})),j=A==="floating"?{x:c,y:d,width:b.floating.width,height:b.floating.height}:b.reference,P=await(g.getOffsetParent==null?void 0:g.getOffsetParent(w.floating)),G=await(g.isElement==null?void 0:g.isElement(P))?await(g.getScale==null?void 0:g.getScale(P))||{x:1,y:1}:{x:1,y:1},ee=ese(g.convertOffsetParentRelativeRectToViewportRelativeRect?await g.convertOffsetParentRelativeRectToViewportRelativeRect({elements:w,rect:j,offsetParent:P,strategy:E}):j);return{top:($.top-ee.top+L.top)/G.y,bottom:(ee.bottom-$.bottom+L.bottom)/G.y,left:($.left-ee.left+L.left)/G.x,right:(ee.right-$.right+L.right)/G.x}}const c$n=n=>({name:"arrow",options:n,async fn(i){const{x:s,y:c,placement:d,rects:g,platform:b,elements:w,middlewareData:E}=i,{element:S,padding:x=0}=vA(n,i)||{};if(S==null)return{};const A=pqt(x),C={x:s,y:c},R=J5e(d),L=Y5e(R),D=await b.getDimensions(S),B=R==="y",$=B?"top":"left",j=B?"bottom":"right",P=B?"clientHeight":"clientWidth",G=g.reference[L]+g.reference[R]-C[R]-g.floating[L],ee=C[R]-g.reference[R],re=await(b.getOffsetParent==null?void 0:b.getOffsetParent(S));let Q=re?re[P]:0;(!Q||!await(b.isElement==null?void 0:b.isElement(re)))&&(Q=w.floating[P]||g.floating[L]);const ie=G/2-ee/2,pe=Q/2-D[L]/2-1,me=dN(A[$],pe),le=dN(A[j],pe),fe=me,K=Q-D[L]-le,he=Q/2-D[L]/2+ie,Oe=_De(fe,he,K),Se=!E.arrow&&FM(d)!=null&&he!==Oe&&g.reference[L]/2-(he<fe?me:le)-D[L]/2<0,Le=Se?he<fe?he-fe:he-K:0;return{[R]:C[R]+Le,data:{[R]:Oe,centerOffset:he-Oe-Le,...Se&&{alignmentOffset:Le}},reset:Se}}}),l$n=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(i){var s,c;const{placement:d,middlewareData:g,rects:b,initialPlacement:w,platform:E,elements:S}=i,{mainAxis:x=!0,crossAxis:A=!0,fallbackPlacements:C,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:D=!0,...B}=vA(n,i);if((s=g.arrow)!=null&&s.alignmentOffset)return{};const $=EA(d),j=L2(w),P=EA(w)===w,G=await(E.isRTL==null?void 0:E.isRTL(S.floating)),ee=C||(P||!D?[Qoe(w)]:n$n(w)),re=L!=="none";!C&&re&&ee.push(...s$n(w,D,L,G));const Q=[w,...ee],ie=await nz(i,B),pe=[];let me=((c=g.flip)==null?void 0:c.overflows)||[];if(x&&pe.push(ie[$]),A){const he=t$n(d,b,G);pe.push(ie[he[0]],ie[he[1]])}if(me=[...me,{placement:d,overflows:pe}],!pe.every(he=>he<=0)){var le,fe;const he=(((le=g.flip)==null?void 0:le.index)||0)+1,Oe=Q[he];if(Oe&&(!(A==="alignment"?j!==L2(Oe):!1)||me.every(Ae=>L2(Ae.placement)===j?Ae.overflows[0]>0:!0)))return{data:{index:he,overflows:me},reset:{placement:Oe}};let Se=(fe=me.filter(Le=>Le.overflows[0]<=0).sort((Le,Ae)=>Le.overflows[1]-Ae.overflows[1])[0])==null?void 0:fe.placement;if(!Se)switch(R){case"bestFit":{var K;const Le=(K=me.filter(Ae=>{if(re){const xe=L2(Ae.placement);return xe===j||xe==="y"}return!0}).map(Ae=>[Ae.placement,Ae.overflows.filter(xe=>xe>0).reduce((xe,We)=>xe+We,0)]).sort((Ae,xe)=>Ae[1]-xe[1])[0])==null?void 0:K[0];Le&&(Se=Le);break}case"initialPlacement":Se=w;break}if(d!==Se)return{reset:{placement:Se}}}return{}}}};function Y9t(n,i){return{top:n.top-i.height,right:n.right-i.width,bottom:n.bottom-i.height,left:n.left-i.width}}function J9t(n){return XFn.some(i=>n[i]>=0)}const d$n=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(i){const{rects:s}=i,{strategy:c="referenceHidden",...d}=vA(n,i);switch(c){case"referenceHidden":{const g=await nz(i,{...d,elementContext:"reference"}),b=Y9t(g,s.reference);return{data:{referenceHiddenOffsets:b,referenceHidden:J9t(b)}}}case"escaped":{const g=await nz(i,{...d,altBoundary:!0}),b=Y9t(g,s.floating);return{data:{escapedOffsets:b,escaped:J9t(b)}}}default:return{}}}}},gqt=new Set(["left","top"]);async function f$n(n,i){const{placement:s,platform:c,elements:d}=n,g=await(c.isRTL==null?void 0:c.isRTL(d.floating)),b=EA(s),w=FM(s),E=L2(s)==="y",S=gqt.has(b)?-1:1,x=g&&E?-1:1,A=vA(i,n);let{mainAxis:C,crossAxis:R,alignmentAxis:L}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};return w&&typeof L=="number"&&(R=w==="end"?L*-1:L),E?{x:R*x,y:C*S}:{x:C*S,y:R*x}}const h$n=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(i){var s,c;const{x:d,y:g,placement:b,middlewareData:w}=i,E=await f$n(i,n);return b===((s=w.offset)==null?void 0:s.placement)&&(c=w.arrow)!=null&&c.alignmentOffset?{}:{x:d+E.x,y:g+E.y,data:{...E,placement:b}}}}},p$n=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(i){const{x:s,y:c,placement:d}=i,{mainAxis:g=!0,crossAxis:b=!1,limiter:w={fn:B=>{let{x:$,y:j}=B;return{x:$,y:j}}},...E}=vA(n,i),S={x:s,y:c},x=await nz(i,E),A=L2(EA(d)),C=K5e(A);let R=S[C],L=S[A];if(g){const B=C==="y"?"top":"left",$=C==="y"?"bottom":"right",j=R+x[B],P=R-x[$];R=_De(j,R,P)}if(b){const B=A==="y"?"top":"left",$=A==="y"?"bottom":"right",j=L+x[B],P=L-x[$];L=_De(j,L,P)}const D=w.fn({...i,[C]:R,[A]:L});return{...D,data:{x:D.x-s,y:D.y-c,enabled:{[C]:g,[A]:b}}}}}},g$n=function(n){return n===void 0&&(n={}),{options:n,fn(i){const{x:s,y:c,placement:d,rects:g,middlewareData:b}=i,{offset:w=0,mainAxis:E=!0,crossAxis:S=!0}=vA(n,i),x={x:s,y:c},A=L2(d),C=K5e(A);let R=x[C],L=x[A];const D=vA(w,i),B=typeof D=="number"?{mainAxis:D,crossAxis:0}:{mainAxis:0,crossAxis:0,...D};if(E){const P=C==="y"?"height":"width",G=g.reference[C]-g.floating[P]+B.mainAxis,ee=g.reference[C]+g.reference[P]-B.mainAxis;R<G?R=G:R>ee&&(R=ee)}if(S){var $,j;const P=C==="y"?"width":"height",G=gqt.has(EA(d)),ee=g.reference[A]-g.floating[P]+(G&&(($=b.offset)==null?void 0:$[A])||0)+(G?0:B.crossAxis),re=g.reference[A]+g.reference[P]+(G?0:((j=b.offset)==null?void 0:j[A])||0)-(G?B.crossAxis:0);L<ee?L=ee:L>re&&(L=re)}return{[C]:R,[A]:L}}}},b$n=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(i){var s,c;const{placement:d,rects:g,platform:b,elements:w}=i,{apply:E=()=>{},...S}=vA(n,i),x=await nz(i,S),A=EA(d),C=FM(d),R=L2(d)==="y",{width:L,height:D}=g.floating;let B,$;A==="top"||A==="bottom"?(B=A,$=C===(await(b.isRTL==null?void 0:b.isRTL(w.floating))?"start":"end")?"left":"right"):($=A,B=C==="end"?"top":"bottom");const j=D-x.top-x.bottom,P=L-x.left-x.right,G=dN(D-x[B],j),ee=dN(L-x[$],P),re=!i.middlewareData.shift;let Q=G,ie=ee;if((s=i.middlewareData.shift)!=null&&s.enabled.x&&(ie=P),(c=i.middlewareData.shift)!=null&&c.enabled.y&&(Q=j),re&&!C){const me=Mm(x.left,0),le=Mm(x.right,0),fe=Mm(x.top,0),K=Mm(x.bottom,0);R?ie=L-2*(me!==0||le!==0?me+le:Mm(x.left,x.right)):Q=D-2*(fe!==0||K!==0?fe+K:Mm(x.top,x.bottom))}await E({...i,availableWidth:ie,availableHeight:Q});const pe=await b.getDimensions(w.floating);return L!==pe.width||D!==pe.height?{reset:{rects:!0}}:{}}}};function bae(){return typeof window<"u"}function $M(n){return bqt(n)?(n.nodeName||"").toLowerCase():"#document"}function Um(n){var i;return(n==null||(i=n.ownerDocument)==null?void 0:i.defaultView)||window}function K2(n){var i;return(i=(bqt(n)?n.ownerDocument:n.document)||window.document)==null?void 0:i.documentElement}function bqt(n){return bae()?n instanceof Node||n instanceof Um(n).Node:!1}function jv(n){return bae()?n instanceof Element||n instanceof Um(n).Element:!1}function V2(n){return bae()?n instanceof HTMLElement||n instanceof Um(n).HTMLElement:!1}function X9t(n){return!bae()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Um(n).ShadowRoot}const m$n=new Set(["inline","contents"]);function Oz(n){const{overflow:i,overflowX:s,overflowY:c,display:d}=Fv(n);return/auto|scroll|overlay|hidden|clip/.test(i+c+s)&&!m$n.has(d)}const w$n=new Set(["table","td","th"]);function y$n(n){return w$n.has($M(n))}const v$n=[":popover-open",":modal"];function mae(n){return v$n.some(i=>{try{return n.matches(i)}catch{return!1}})}const E$n=["transform","translate","scale","rotate","perspective"],S$n=["transform","translate","scale","rotate","perspective","filter"],T$n=["paint","layout","strict","content"];function X5e(n){const i=Z5e(),s=jv(n)?Fv(n):n;return E$n.some(c=>s[c]?s[c]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!i&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!i&&(s.filter?s.filter!=="none":!1)||S$n.some(c=>(s.willChange||"").includes(c))||T$n.some(c=>(s.contain||"").includes(c))}function A$n(n){let i=fN(n);for(;V2(i)&&!xM(i);){if(X5e(i))return i;if(mae(i))return null;i=fN(i)}return null}function Z5e(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const _$n=new Set(["html","body","#document"]);function xM(n){return _$n.has($M(n))}function Fv(n){return Um(n).getComputedStyle(n)}function wae(n){return jv(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function fN(n){if($M(n)==="html")return n;const i=n.assignedSlot||n.parentNode||X9t(n)&&n.host||K2(n);return X9t(i)?i.host:i}function mqt(n){const i=fN(n);return xM(i)?n.ownerDocument?n.ownerDocument.body:n.body:V2(i)&&Oz(i)?i:mqt(i)}function rz(n,i,s){var c;i===void 0&&(i=[]),s===void 0&&(s=!0);const d=mqt(n),g=d===((c=n.ownerDocument)==null?void 0:c.body),b=Um(d);if(g){const w=kDe(b);return i.concat(b,b.visualViewport||[],Oz(d)?d:[],w&&s?rz(w):[])}return i.concat(d,rz(d,[],s))}function kDe(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function wqt(n){const i=Fv(n);let s=parseFloat(i.width)||0,c=parseFloat(i.height)||0;const d=V2(n),g=d?n.offsetWidth:s,b=d?n.offsetHeight:c,w=Zoe(s)!==g||Zoe(c)!==b;return w&&(s=g,c=b),{width:s,height:c,$:w}}function Q5e(n){return jv(n)?n:n.contextElement}function oM(n){const i=Q5e(n);if(!V2(i))return $2(1);const s=i.getBoundingClientRect(),{width:c,height:d,$:g}=wqt(i);let b=(g?Zoe(s.width):s.width)/c,w=(g?Zoe(s.height):s.height)/d;return(!b||!Number.isFinite(b))&&(b=1),(!w||!Number.isFinite(w))&&(w=1),{x:b,y:w}}const x$n=$2(0);function yqt(n){const i=Um(n);return!Z5e()||!i.visualViewport?x$n:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function k$n(n,i,s){return i===void 0&&(i=!1),!s||i&&s!==Um(n)?!1:i}function yR(n,i,s,c){i===void 0&&(i=!1),s===void 0&&(s=!1);const d=n.getBoundingClientRect(),g=Q5e(n);let b=$2(1);i&&(c?jv(c)&&(b=oM(c)):b=oM(n));const w=k$n(g,s,c)?yqt(g):$2(0);let E=(d.left+w.x)/b.x,S=(d.top+w.y)/b.y,x=d.width/b.x,A=d.height/b.y;if(g){const C=Um(g),R=c&&jv(c)?Um(c):c;let L=C,D=kDe(L);for(;D&&c&&R!==L;){const B=oM(D),$=D.getBoundingClientRect(),j=Fv(D),P=$.left+(D.clientLeft+parseFloat(j.paddingLeft))*B.x,G=$.top+(D.clientTop+parseFloat(j.paddingTop))*B.y;E*=B.x,S*=B.y,x*=B.x,A*=B.y,E+=P,S+=G,L=Um(D),D=kDe(L)}}return ese({width:x,height:A,x:E,y:S})}function yae(n,i){const s=wae(n).scrollLeft;return i?i.left+s:yR(K2(n)).left+s}function vqt(n,i){const s=n.getBoundingClientRect(),c=s.left+i.scrollLeft-yae(n,s),d=s.top+i.scrollTop;return{x:c,y:d}}function N$n(n){let{elements:i,rect:s,offsetParent:c,strategy:d}=n;const g=d==="fixed",b=K2(c),w=i?mae(i.floating):!1;if(c===b||w&&g)return s;let E={scrollLeft:0,scrollTop:0},S=$2(1);const x=$2(0),A=V2(c);if((A||!A&&!g)&&(($M(c)!=="body"||Oz(b))&&(E=wae(c)),V2(c))){const R=yR(c);S=oM(c),x.x=R.x+c.clientLeft,x.y=R.y+c.clientTop}const C=b&&!A&&!g?vqt(b,E):$2(0);return{width:s.width*S.x,height:s.height*S.y,x:s.x*S.x-E.scrollLeft*S.x+x.x+C.x,y:s.y*S.y-E.scrollTop*S.y+x.y+C.y}}function C$n(n){return Array.from(n.getClientRects())}function I$n(n){const i=K2(n),s=wae(n),c=n.ownerDocument.body,d=Mm(i.scrollWidth,i.clientWidth,c.scrollWidth,c.clientWidth),g=Mm(i.scrollHeight,i.clientHeight,c.scrollHeight,c.clientHeight);let b=-s.scrollLeft+yae(n);const w=-s.scrollTop;return Fv(c).direction==="rtl"&&(b+=Mm(i.clientWidth,c.clientWidth)-d),{width:d,height:g,x:b,y:w}}const Z9t=25;function R$n(n,i){const s=Um(n),c=K2(n),d=s.visualViewport;let g=c.clientWidth,b=c.clientHeight,w=0,E=0;if(d){g=d.width,b=d.height;const x=Z5e();(!x||x&&i==="fixed")&&(w=d.offsetLeft,E=d.offsetTop)}const S=yae(c);if(S<=0){const x=c.ownerDocument,A=x.body,C=getComputedStyle(A),R=x.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,L=Math.abs(c.clientWidth-A.clientWidth-R);L<=Z9t&&(g-=L)}else S<=Z9t&&(g+=S);return{width:g,height:b,x:w,y:E}}const O$n=new Set(["absolute","fixed"]);function D$n(n,i){const s=yR(n,!0,i==="fixed"),c=s.top+n.clientTop,d=s.left+n.clientLeft,g=V2(n)?oM(n):$2(1),b=n.clientWidth*g.x,w=n.clientHeight*g.y,E=d*g.x,S=c*g.y;return{width:b,height:w,x:E,y:S}}function Q9t(n,i,s){let c;if(i==="viewport")c=R$n(n,s);else if(i==="document")c=I$n(K2(n));else if(jv(i))c=D$n(i,s);else{const d=yqt(n);c={x:i.x-d.x,y:i.y-d.y,width:i.width,height:i.height}}return ese(c)}function Eqt(n,i){const s=fN(n);return s===i||!jv(s)||xM(s)?!1:Fv(s).position==="fixed"||Eqt(s,i)}function L$n(n,i){const s=i.get(n);if(s)return s;let c=rz(n,[],!1).filter(w=>jv(w)&&$M(w)!=="body"),d=null;const g=Fv(n).position==="fixed";let b=g?fN(n):n;for(;jv(b)&&!xM(b);){const w=Fv(b),E=X5e(b);!E&&w.position==="fixed"&&(d=null),(g?!E&&!d:!E&&w.position==="static"&&!!d&&O$n.has(d.position)||Oz(b)&&!E&&Eqt(n,b))?c=c.filter(x=>x!==b):d=w,b=fN(b)}return i.set(n,c),c}function M$n(n){let{element:i,boundary:s,rootBoundary:c,strategy:d}=n;const b=[...s==="clippingAncestors"?mae(i)?[]:L$n(i,this._c):[].concat(s),c],w=b[0],E=b.reduce((S,x)=>{const A=Q9t(i,x,d);return S.top=Mm(A.top,S.top),S.right=dN(A.right,S.right),S.bottom=dN(A.bottom,S.bottom),S.left=Mm(A.left,S.left),S},Q9t(i,w,d));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function P$n(n){const{width:i,height:s}=wqt(n);return{width:i,height:s}}function j$n(n,i,s){const c=V2(i),d=K2(i),g=s==="fixed",b=yR(n,!0,g,i);let w={scrollLeft:0,scrollTop:0};const E=$2(0);function S(){E.x=yae(d)}if(c||!c&&!g)if(($M(i)!=="body"||Oz(d))&&(w=wae(i)),c){const R=yR(i,!0,g,i);E.x=R.x+i.clientLeft,E.y=R.y+i.clientTop}else d&&S();g&&!c&&d&&S();const x=d&&!c&&!g?vqt(d,w):$2(0),A=b.left+w.scrollLeft-E.x-x.x,C=b.top+w.scrollTop-E.y-x.y;return{x:A,y:C,width:b.width,height:b.height}}function iIe(n){return Fv(n).position==="static"}function e8t(n,i){if(!V2(n)||Fv(n).position==="fixed")return null;if(i)return i(n);let s=n.offsetParent;return K2(n)===s&&(s=s.ownerDocument.body),s}function Sqt(n,i){const s=Um(n);if(mae(n))return s;if(!V2(n)){let d=fN(n);for(;d&&!xM(d);){if(jv(d)&&!iIe(d))return d;d=fN(d)}return s}let c=e8t(n,i);for(;c&&y$n(c)&&iIe(c);)c=e8t(c,i);return c&&xM(c)&&iIe(c)&&!X5e(c)?s:c||A$n(n)||s}const F$n=async function(n){const i=this.getOffsetParent||Sqt,s=this.getDimensions,c=await s(n.floating);return{reference:j$n(n.reference,await i(n.floating),n.strategy),floating:{x:0,y:0,width:c.width,height:c.height}}};function $$n(n){return Fv(n).direction==="rtl"}const B$n={convertOffsetParentRelativeRectToViewportRelativeRect:N$n,getDocumentElement:K2,getClippingRect:M$n,getOffsetParent:Sqt,getElementRects:F$n,getClientRects:C$n,getDimensions:P$n,getScale:oM,isElement:jv,isRTL:$$n};function Tqt(n,i){return n.x===i.x&&n.y===i.y&&n.width===i.width&&n.height===i.height}function U$n(n,i){let s=null,c;const d=K2(n);function g(){var w;clearTimeout(c),(w=s)==null||w.disconnect(),s=null}function b(w,E){w===void 0&&(w=!1),E===void 0&&(E=1),g();const S=n.getBoundingClientRect(),{left:x,top:A,width:C,height:R}=S;if(w||i(),!C||!R)return;const L=xie(A),D=xie(d.clientWidth-(x+C)),B=xie(d.clientHeight-(A+R)),$=xie(x),P={rootMargin:-L+"px "+-D+"px "+-B+"px "+-$+"px",threshold:Mm(0,dN(1,E))||1};let G=!0;function ee(re){const Q=re[0].intersectionRatio;if(Q!==E){if(!G)return b();Q?b(!1,Q):c=setTimeout(()=>{b(!1,1e-7)},1e3)}Q===1&&!Tqt(S,n.getBoundingClientRect())&&b(),G=!1}try{s=new IntersectionObserver(ee,{...P,root:d.ownerDocument})}catch{s=new IntersectionObserver(ee,P)}s.observe(n)}return b(!0),g}function H$n(n,i,s,c){c===void 0&&(c={});const{ancestorScroll:d=!0,ancestorResize:g=!0,elementResize:b=typeof ResizeObserver=="function",layoutShift:w=typeof IntersectionObserver=="function",animationFrame:E=!1}=c,S=Q5e(n),x=d||g?[...S?rz(S):[],...rz(i)]:[];x.forEach($=>{d&&$.addEventListener("scroll",s,{passive:!0}),g&&$.addEventListener("resize",s)});const A=S&&w?U$n(S,s):null;let C=-1,R=null;b&&(R=new ResizeObserver($=>{let[j]=$;j&&j.target===S&&R&&(R.unobserve(i),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var P;(P=R)==null||P.observe(i)})),s()}),S&&!E&&R.observe(S),R.observe(i));let L,D=E?yR(n):null;E&&B();function B(){const $=yR(n);D&&!Tqt(D,$)&&s(),D=$,L=requestAnimationFrame(B)}return s(),()=>{var $;x.forEach(j=>{d&&j.removeEventListener("scroll",s),g&&j.removeEventListener("resize",s)}),A==null||A(),($=R)==null||$.disconnect(),R=null,E&&cancelAnimationFrame(L)}}const z$n=h$n,G$n=p$n,q$n=l$n,V$n=b$n,W$n=d$n,t8t=c$n,K$n=g$n,Y$n=(n,i,s)=>{const c=new Map,d={platform:B$n,...s},g={...d.platform,_c:c};return u$n(n,i,{...d,platform:g})};var J$n=typeof document<"u",X$n=function(){},ioe=J$n?H.useLayoutEffect:X$n;function tse(n,i){if(n===i)return!0;if(typeof n!=typeof i)return!1;if(typeof n=="function"&&n.toString()===i.toString())return!0;let s,c,d;if(n&&i&&typeof n=="object"){if(Array.isArray(n)){if(s=n.length,s!==i.length)return!1;for(c=s;c--!==0;)if(!tse(n[c],i[c]))return!1;return!0}if(d=Object.keys(n),s=d.length,s!==Object.keys(i).length)return!1;for(c=s;c--!==0;)if(!{}.hasOwnProperty.call(i,d[c]))return!1;for(c=s;c--!==0;){const g=d[c];if(!(g==="_owner"&&n.$$typeof)&&!tse(n[g],i[g]))return!1}return!0}return n!==n&&i!==i}function Aqt(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function n8t(n,i){const s=Aqt(n);return Math.round(i*s)/s}function oIe(n){const i=H.useRef(n);return ioe(()=>{i.current=n}),i}function Z$n(n){n===void 0&&(n={});const{placement:i="bottom",strategy:s="absolute",middleware:c=[],platform:d,elements:{reference:g,floating:b}={},transform:w=!0,whileElementsMounted:E,open:S}=n,[x,A]=H.useState({x:0,y:0,strategy:s,placement:i,middlewareData:{},isPositioned:!1}),[C,R]=H.useState(c);tse(C,c)||R(c);const[L,D]=H.useState(null),[B,$]=H.useState(null),j=H.useCallback(Ae=>{Ae!==re.current&&(re.current=Ae,D(Ae))},[]),P=H.useCallback(Ae=>{Ae!==Q.current&&(Q.current=Ae,$(Ae))},[]),G=g||L,ee=b||B,re=H.useRef(null),Q=H.useRef(null),ie=H.useRef(x),pe=E!=null,me=oIe(E),le=oIe(d),fe=oIe(S),K=H.useCallback(()=>{if(!re.current||!Q.current)return;const Ae={placement:i,strategy:s,middleware:C};le.current&&(Ae.platform=le.current),Y$n(re.current,Q.current,Ae).then(xe=>{const We={...xe,isPositioned:fe.current!==!1};he.current&&!tse(ie.current,We)&&(ie.current=We,xR.flushSync(()=>{A(We)}))})},[C,i,s,le,fe]);ioe(()=>{S===!1&&ie.current.isPositioned&&(ie.current.isPositioned=!1,A(Ae=>({...Ae,isPositioned:!1})))},[S]);const he=H.useRef(!1);ioe(()=>(he.current=!0,()=>{he.current=!1}),[]),ioe(()=>{if(G&&(re.current=G),ee&&(Q.current=ee),G&&ee){if(me.current)return me.current(G,ee,K);K()}},[G,ee,K,me,pe]);const Oe=H.useMemo(()=>({reference:re,floating:Q,setReference:j,setFloating:P}),[j,P]),Se=H.useMemo(()=>({reference:G,floating:ee}),[G,ee]),Le=H.useMemo(()=>{const Ae={position:s,left:0,top:0};if(!Se.floating)return Ae;const xe=n8t(Se.floating,x.x),We=n8t(Se.floating,x.y);return w?{...Ae,transform:"translate("+xe+"px, "+We+"px)",...Aqt(Se.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:xe,top:We}},[s,w,Se.floating,x.x,x.y]);return H.useMemo(()=>({...x,update:K,refs:Oe,elements:Se,floatingStyles:Le}),[x,K,Oe,Se,Le])}const Q$n=n=>{function i(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:n,fn(s){const{element:c,padding:d}=typeof n=="function"?n(s):n;return c&&i(c)?c.current!=null?t8t({element:c.current,padding:d}).fn(s):{}:c?t8t({element:c,padding:d}).fn(s):{}}}},eBn=(n,i)=>({...z$n(n),options:[n,i]}),tBn=(n,i)=>({...G$n(n),options:[n,i]}),nBn=(n,i)=>({...K$n(n),options:[n,i]}),rBn=(n,i)=>({...q$n(n),options:[n,i]}),iBn=(n,i)=>({...V$n(n),options:[n,i]}),oBn=(n,i)=>({...W$n(n),options:[n,i]}),sBn=(n,i)=>({...Q$n(n),options:[n,i]});var aBn="Arrow",_qt=H.forwardRef((n,i)=>{const{children:s,width:c=10,height:d=5,...g}=n;return I.jsx(no.svg,{...g,ref:i,width:c,height:d,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?s:I.jsx("polygon",{points:"0,0 30,0 15,10"})})});_qt.displayName=aBn;var uBn=_qt;function vae(n){const[i,s]=H.useState(void 0);return Hp(()=>{if(n){s({width:n.offsetWidth,height:n.offsetHeight});const c=new ResizeObserver(d=>{if(!Array.isArray(d)||!d.length)return;const g=d[0];let b,w;if("borderBoxSize"in g){const E=g.borderBoxSize,S=Array.isArray(E)?E[0]:E;b=S.inlineSize,w=S.blockSize}else b=n.offsetWidth,w=n.offsetHeight;s({width:b,height:w})});return c.observe(n,{box:"border-box"}),()=>c.unobserve(n)}else s(void 0)},[n]),i}var eMe="Popper",[xqt,BM]=xw(eMe),[cBn,kqt]=xqt(eMe),Nqt=n=>{const{__scopePopper:i,children:s}=n,[c,d]=H.useState(null);return I.jsx(cBn,{scope:i,anchor:c,onAnchorChange:d,children:s})};Nqt.displayName=eMe;var Cqt="PopperAnchor",Iqt=H.forwardRef((n,i)=>{const{__scopePopper:s,virtualRef:c,...d}=n,g=kqt(Cqt,s),b=H.useRef(null),w=hs(i,b),E=H.useRef(null);return H.useEffect(()=>{const S=E.current;E.current=(c==null?void 0:c.current)||b.current,S!==E.current&&g.onAnchorChange(E.current)}),c?null:I.jsx(no.div,{...d,ref:w})});Iqt.displayName=Cqt;var tMe="PopperContent",[lBn,dBn]=xqt(tMe),Rqt=H.forwardRef((n,i)=>{var vt,Ct,Ft,On,Zn,Yn;const{__scopePopper:s,side:c="bottom",sideOffset:d=0,align:g="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:E=!0,collisionBoundary:S=[],collisionPadding:x=0,sticky:A="partial",hideWhenDetached:C=!1,updatePositionStrategy:R="optimized",onPlaced:L,...D}=n,B=kqt(tMe,s),[$,j]=H.useState(null),P=hs(i,vr=>j(vr)),[G,ee]=H.useState(null),re=vae(G),Q=(re==null?void 0:re.width)??0,ie=(re==null?void 0:re.height)??0,pe=c+(g!=="center"?"-"+g:""),me=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},le=Array.isArray(S)?S:[S],fe=le.length>0,K={padding:me,boundary:le.filter(hBn),altBoundary:fe},{refs:he,floatingStyles:Oe,placement:Se,isPositioned:Le,middlewareData:Ae}=Z$n({strategy:"fixed",placement:pe,whileElementsMounted:(...vr)=>H$n(...vr,{animationFrame:R==="always"}),elements:{reference:B.anchor},middleware:[eBn({mainAxis:d+ie,alignmentAxis:b}),E&&tBn({mainAxis:!0,crossAxis:!1,limiter:A==="partial"?nBn():void 0,...K}),E&&rBn({...K}),iBn({...K,apply:({elements:vr,rects:Ui,availableWidth:Qr,availableHeight:Hi})=>{const{width:ai,height:jc}=Ui.reference,Xs=vr.floating.style;Xs.setProperty("--radix-popper-available-width",`${Qr}px`),Xs.setProperty("--radix-popper-available-height",`${Hi}px`),Xs.setProperty("--radix-popper-anchor-width",`${ai}px`),Xs.setProperty("--radix-popper-anchor-height",`${jc}px`)}}),G&&sBn({element:G,padding:w}),pBn({arrowWidth:Q,arrowHeight:ie}),C&&oBn({strategy:"referenceHidden",...K})]}),[xe,We]=Lqt(Se),dt=q2(L);Hp(()=>{Le&&(dt==null||dt())},[Le,dt]);const Ue=(vt=Ae.arrow)==null?void 0:vt.x,bt=(Ct=Ae.arrow)==null?void 0:Ct.y,kt=((Ft=Ae.arrow)==null?void 0:Ft.centerOffset)!==0,[ht,Xt]=H.useState();return Hp(()=>{$&&Xt(window.getComputedStyle($).zIndex)},[$]),I.jsx("div",{ref:he.setFloating,"data-radix-popper-content-wrapper":"",style:{...Oe,transform:Le?Oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ht,"--radix-popper-transform-origin":[(On=Ae.transformOrigin)==null?void 0:On.x,(Zn=Ae.transformOrigin)==null?void 0:Zn.y].join(" "),...((Yn=Ae.hide)==null?void 0:Yn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:I.jsx(lBn,{scope:s,placedSide:xe,onArrowChange:ee,arrowX:Ue,arrowY:bt,shouldHideArrow:kt,children:I.jsx(no.div,{"data-side":xe,"data-align":We,...D,ref:P,style:{...D.style,animation:Le?void 0:"none"}})})})});Rqt.displayName=tMe;var Oqt="PopperArrow",fBn={top:"bottom",right:"left",bottom:"top",left:"right"},Dqt=H.forwardRef(function(i,s){const{__scopePopper:c,...d}=i,g=dBn(Oqt,c),b=fBn[g.placedSide];return I.jsx("span",{ref:g.onArrowChange,style:{position:"absolute",left:g.arrowX,top:g.arrowY,[b]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[g.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[g.placedSide],visibility:g.shouldHideArrow?"hidden":void 0},children:I.jsx(uBn,{...d,ref:s,style:{...d.style,display:"block"}})})});Dqt.displayName=Oqt;function hBn(n){return n!==null}var pBn=n=>({name:"transformOrigin",options:n,fn(i){var B,$,j;const{placement:s,rects:c,middlewareData:d}=i,b=((B=d.arrow)==null?void 0:B.centerOffset)!==0,w=b?0:n.arrowWidth,E=b?0:n.arrowHeight,[S,x]=Lqt(s),A={start:"0%",center:"50%",end:"100%"}[x],C=((($=d.arrow)==null?void 0:$.x)??0)+w/2,R=(((j=d.arrow)==null?void 0:j.y)??0)+E/2;let L="",D="";return S==="bottom"?(L=b?A:`${C}px`,D=`${-E}px`):S==="top"?(L=b?A:`${C}px`,D=`${c.floating.height+E}px`):S==="right"?(L=`${-E}px`,D=b?A:`${R}px`):S==="left"&&(L=`${c.floating.width+E}px`,D=b?A:`${R}px`),{data:{x:L,y:D}}}});function Lqt(n){const[i,s="center"]=n.split("-");return[i,s]}var nMe=Nqt,Eae=Iqt,rMe=Rqt,iMe=Dqt;function gBn(n){const i=bBn(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(wBn);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function bBn(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=vBn(d),w=yBn(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var mBn=Symbol("radix.slottable");function wBn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===mBn}function yBn(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function vBn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var Sae="Popover",[Mqt]=xw(Sae,[BM]),Dz=BM(),[EBn,EN]=Mqt(Sae),Pqt=n=>{const{__scopePopover:i,children:s,open:c,defaultOpen:d,onOpenChange:g,modal:b=!1}=n,w=Dz(i),E=H.useRef(null),[S,x]=H.useState(!1),[A,C]=G2({prop:c,defaultProp:d??!1,onChange:g,caller:Sae});return I.jsx(nMe,{...w,children:I.jsx(EBn,{scope:i,contentId:Bh(),triggerRef:E,open:A,onOpenChange:C,onOpenToggle:H.useCallback(()=>C(R=>!R),[C]),hasCustomAnchor:S,onCustomAnchorAdd:H.useCallback(()=>x(!0),[]),onCustomAnchorRemove:H.useCallback(()=>x(!1),[]),modal:b,children:s})})};Pqt.displayName=Sae;var jqt="PopoverAnchor",Fqt=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=EN(jqt,s),g=Dz(s),{onCustomAnchorAdd:b,onCustomAnchorRemove:w}=d;return H.useEffect(()=>(b(),()=>w()),[b,w]),I.jsx(Eae,{...g,...c,ref:i})});Fqt.displayName=jqt;var $qt="PopoverTrigger",Bqt=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=EN($qt,s),g=Dz(s),b=hs(i,d.triggerRef),w=I.jsx(no.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":qqt(d.open),...c,ref:b,onClick:Dr(n.onClick,d.onOpenToggle)});return d.hasCustomAnchor?w:I.jsx(Eae,{asChild:!0,...g,children:w})});Bqt.displayName=$qt;var oMe="PopoverPortal",[SBn,TBn]=Mqt(oMe,{forceMount:void 0}),Uqt=n=>{const{__scopePopover:i,forceMount:s,children:c,container:d}=n,g=EN(oMe,i);return I.jsx(SBn,{scope:i,forceMount:s,children:I.jsx(kw,{present:s||g.open,children:I.jsx(Cz,{asChild:!0,container:d,children:c})})})};Uqt.displayName=oMe;var kM="PopoverContent",Hqt=H.forwardRef((n,i)=>{const s=TBn(kM,n.__scopePopover),{forceMount:c=s.forceMount,...d}=n,g=EN(kM,n.__scopePopover);return I.jsx(kw,{present:c||g.open,children:g.modal?I.jsx(_Bn,{...d,ref:i}):I.jsx(xBn,{...d,ref:i})})});Hqt.displayName=kM;var ABn=gBn("PopoverContent.RemoveScroll"),_Bn=H.forwardRef((n,i)=>{const s=EN(kM,n.__scopePopover),c=H.useRef(null),d=hs(i,c),g=H.useRef(!1);return H.useEffect(()=>{const b=c.current;if(b)return uae(b)},[]),I.jsx(Iz,{as:ABn,allowPinchZoom:!0,children:I.jsx(zqt,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dr(n.onCloseAutoFocus,b=>{var w;b.preventDefault(),g.current||(w=s.triggerRef.current)==null||w.focus()}),onPointerDownOutside:Dr(n.onPointerDownOutside,b=>{const w=b.detail.originalEvent,E=w.button===0&&w.ctrlKey===!0,S=w.button===2||E;g.current=S},{checkForDefaultPrevented:!1}),onFocusOutside:Dr(n.onFocusOutside,b=>b.preventDefault(),{checkForDefaultPrevented:!1})})})}),xBn=H.forwardRef((n,i)=>{const s=EN(kM,n.__scopePopover),c=H.useRef(!1),d=H.useRef(!1);return I.jsx(zqt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(c.current||(w=s.triggerRef.current)==null||w.focus(),g.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(c.current=!0,g.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const b=g.target;((S=s.triggerRef.current)==null?void 0:S.contains(b))&&g.preventDefault(),g.detail.originalEvent.type==="focusin"&&d.current&&g.preventDefault()}})}),zqt=H.forwardRef((n,i)=>{const{__scopePopover:s,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:g,disableOutsidePointerEvents:b,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onInteractOutside:x,...A}=n,C=EN(kM,s),R=Dz(s);return sae(),I.jsx(Nz,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:g,children:I.jsx(kz,{asChild:!0,disableOutsidePointerEvents:b,onInteractOutside:x,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onDismiss:()=>C.onOpenChange(!1),children:I.jsx(rMe,{"data-state":qqt(C.open),role:"dialog",id:C.contentId,...R,...A,ref:i,style:{...A.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Gqt="PopoverClose",kBn=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=EN(Gqt,s);return I.jsx(no.button,{type:"button",...c,ref:i,onClick:Dr(n.onClick,()=>d.onOpenChange(!1))})});kBn.displayName=Gqt;var NBn="PopoverArrow",CBn=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=Dz(s);return I.jsx(iMe,{...d,...c,ref:i})});CBn.displayName=NBn;function qqt(n){return n?"open":"closed"}var IBn=Pqt,RBn=Fqt,OBn=Bqt,DBn=Uqt,Vqt=Hqt;const sMe=IBn,Wqt=OBn,LBn=RBn,Tae=H.forwardRef(({className:n,align:i="center",sideOffset:s=4,container:c,...d},g)=>I.jsx(DBn,{container:c,children:I.jsx(Vqt,{ref:g,align:i,sideOffset:s,className:Sr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",n),...d})}));Tae.displayName=Vqt.displayName;function SA(n){return Array.isArray?Array.isArray(n):Jqt(n)==="[object Array]"}function MBn(n){if(typeof n=="string")return n;let i=n+"";return i=="0"&&1/n==-1/0?"-0":i}function PBn(n){return n==null?"":MBn(n)}function M2(n){return typeof n=="string"}function Kqt(n){return typeof n=="number"}function jBn(n){return n===!0||n===!1||FBn(n)&&Jqt(n)=="[object Boolean]"}function Yqt(n){return typeof n=="object"}function FBn(n){return Yqt(n)&&n!==null}function Pm(n){return n!=null}function sIe(n){return!n.trim().length}function Jqt(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const $Bn="Incorrect 'index' type",BBn=n=>`Invalid value for key ${n}`,UBn=n=>`Pattern length exceeds max of ${n}.`,HBn=n=>`Missing ${n} property in key`,zBn=n=>`Property 'weight' in key '${n}' must be a positive integer`,r8t=Object.prototype.hasOwnProperty;class GBn{constructor(i){this._keys=[],this._keyMap={};let s=0;i.forEach(c=>{let d=Xqt(c);this._keys.push(d),this._keyMap[d.id]=d,s+=d.weight}),this._keys.forEach(c=>{c.weight/=s})}get(i){return this._keyMap[i]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Xqt(n){let i=null,s=null,c=null,d=1,g=null;if(M2(n)||SA(n))c=n,i=i8t(n),s=NDe(n);else{if(!r8t.call(n,"name"))throw new Error(HBn("name"));const b=n.name;if(c=b,r8t.call(n,"weight")&&(d=n.weight,d<=0))throw new Error(zBn(b));i=i8t(b),s=NDe(b),g=n.getFn}return{path:i,id:s,weight:d,src:c,getFn:g}}function i8t(n){return SA(n)?n:n.split(".")}function NDe(n){return SA(n)?n.join("."):n}function qBn(n,i){let s=[],c=!1;const d=(g,b,w)=>{if(Pm(g))if(!b[w])s.push(g);else{let E=b[w];const S=g[E];if(!Pm(S))return;if(w===b.length-1&&(M2(S)||Kqt(S)||jBn(S)))s.push(PBn(S));else if(SA(S)){c=!0;for(let x=0,A=S.length;x<A;x+=1)d(S[x],b,w+1)}else b.length&&d(S,b,w+1)}};return d(n,M2(i)?i.split("."):i,0),c?s:s[0]}const VBn={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},WBn={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(n,i)=>n.score===i.score?n.idx<i.idx?-1:1:n.score<i.score?-1:1},KBn={location:0,threshold:.6,distance:100},YBn={useExtendedSearch:!1,getFn:qBn,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var uo={...WBn,...VBn,...KBn,...YBn};const JBn=/[^ ]+/g;function XBn(n=1,i=3){const s=new Map,c=Math.pow(10,i);return{get(d){const g=d.match(JBn).length;if(s.has(g))return s.get(g);const b=1/Math.pow(g,.5*n),w=parseFloat(Math.round(b*c)/c);return s.set(g,w),w},clear(){s.clear()}}}class aMe{constructor({getFn:i=uo.getFn,fieldNormWeight:s=uo.fieldNormWeight}={}){this.norm=XBn(s,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}setSources(i=[]){this.docs=i}setIndexRecords(i=[]){this.records=i}setKeys(i=[]){this.keys=i,this._keysMap={},i.forEach((s,c)=>{this._keysMap[s.id]=c})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,M2(this.docs[0])?this.docs.forEach((i,s)=>{this._addString(i,s)}):this.docs.forEach((i,s)=>{this._addObject(i,s)}),this.norm.clear())}add(i){const s=this.size();M2(i)?this._addString(i,s):this._addObject(i,s)}removeAt(i){this.records.splice(i,1);for(let s=i,c=this.size();s<c;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(i,s){return i[this._keysMap[s]]}size(){return this.records.length}_addString(i,s){if(!Pm(i)||sIe(i))return;let c={v:i,i:s,n:this.norm.get(i)};this.records.push(c)}_addObject(i,s){let c={i:s,$:{}};this.keys.forEach((d,g)=>{let b=d.getFn?d.getFn(i):this.getFn(i,d.path);if(Pm(b)){if(SA(b)){let w=[];const E=[{nestedArrIndex:-1,value:b}];for(;E.length;){const{nestedArrIndex:S,value:x}=E.pop();if(Pm(x))if(M2(x)&&!sIe(x)){let A={v:x,i:S,n:this.norm.get(x)};w.push(A)}else SA(x)&&x.forEach((A,C)=>{E.push({nestedArrIndex:C,value:A})})}c.$[g]=w}else if(M2(b)&&!sIe(b)){let w={v:b,n:this.norm.get(b)};c.$[g]=w}}}),this.records.push(c)}toJSON(){return{keys:this.keys,records:this.records}}}function Zqt(n,i,{getFn:s=uo.getFn,fieldNormWeight:c=uo.fieldNormWeight}={}){const d=new aMe({getFn:s,fieldNormWeight:c});return d.setKeys(n.map(Xqt)),d.setSources(i),d.create(),d}function ZBn(n,{getFn:i=uo.getFn,fieldNormWeight:s=uo.fieldNormWeight}={}){const{keys:c,records:d}=n,g=new aMe({getFn:i,fieldNormWeight:s});return g.setKeys(c),g.setIndexRecords(d),g}function kie(n,{errors:i=0,currentLocation:s=0,expectedLocation:c=0,distance:d=uo.distance,ignoreLocation:g=uo.ignoreLocation}={}){const b=i/n.length;if(g)return b;const w=Math.abs(c-s);return d?b+w/d:w?1:b}function QBn(n=[],i=uo.minMatchCharLength){let s=[],c=-1,d=-1,g=0;for(let b=n.length;g<b;g+=1){let w=n[g];w&&c===-1?c=g:!w&&c!==-1&&(d=g-1,d-c+1>=i&&s.push([c,d]),c=-1)}return n[g-1]&&g-c>=i&&s.push([c,g-1]),s}const K4=32;function eUn(n,i,s,{location:c=uo.location,distance:d=uo.distance,threshold:g=uo.threshold,findAllMatches:b=uo.findAllMatches,minMatchCharLength:w=uo.minMatchCharLength,includeMatches:E=uo.includeMatches,ignoreLocation:S=uo.ignoreLocation}={}){if(i.length>K4)throw new Error(UBn(K4));const x=i.length,A=n.length,C=Math.max(0,Math.min(c,A));let R=g,L=C;const D=w>1||E,B=D?Array(A):[];let $;for(;($=n.indexOf(i,L))>-1;){let Q=kie(i,{currentLocation:$,expectedLocation:C,distance:d,ignoreLocation:S});if(R=Math.min(Q,R),L=$+x,D){let ie=0;for(;ie<x;)B[$+ie]=1,ie+=1}}L=-1;let j=[],P=1,G=x+A;const ee=1<<x-1;for(let Q=0;Q<x;Q+=1){let ie=0,pe=G;for(;ie<pe;)kie(i,{errors:Q,currentLocation:C+pe,expectedLocation:C,distance:d,ignoreLocation:S})<=R?ie=pe:G=pe,pe=Math.floor((G-ie)/2+ie);G=pe;let me=Math.max(1,C-pe+1),le=b?A:Math.min(C+pe,A)+x,fe=Array(le+2);fe[le+1]=(1<<Q)-1;for(let he=le;he>=me;he-=1){let Oe=he-1,Se=s[n.charAt(Oe)];if(D&&(B[Oe]=+!!Se),fe[he]=(fe[he+1]<<1|1)&Se,Q&&(fe[he]|=(j[he+1]|j[he])<<1|1|j[he+1]),fe[he]&ee&&(P=kie(i,{errors:Q,currentLocation:Oe,expectedLocation:C,distance:d,ignoreLocation:S}),P<=R)){if(R=P,L=Oe,L<=C)break;me=Math.max(1,2*C-L)}}if(kie(i,{errors:Q+1,currentLocation:C,expectedLocation:C,distance:d,ignoreLocation:S})>R)break;j=fe}const re={isMatch:L>=0,score:Math.max(.001,P)};if(D){const Q=QBn(B,w);Q.length?E&&(re.indices=Q):re.isMatch=!1}return re}function tUn(n){let i={};for(let s=0,c=n.length;s<c;s+=1){const d=n.charAt(s);i[d]=(i[d]||0)|1<<c-s-1}return i}const nse=String.prototype.normalize?n=>n.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):n=>n;class Qqt{constructor(i,{location:s=uo.location,threshold:c=uo.threshold,distance:d=uo.distance,includeMatches:g=uo.includeMatches,findAllMatches:b=uo.findAllMatches,minMatchCharLength:w=uo.minMatchCharLength,isCaseSensitive:E=uo.isCaseSensitive,ignoreDiacritics:S=uo.ignoreDiacritics,ignoreLocation:x=uo.ignoreLocation}={}){if(this.options={location:s,threshold:c,distance:d,includeMatches:g,findAllMatches:b,minMatchCharLength:w,isCaseSensitive:E,ignoreDiacritics:S,ignoreLocation:x},i=E?i:i.toLowerCase(),i=S?nse(i):i,this.pattern=i,this.chunks=[],!this.pattern.length)return;const A=(R,L)=>{this.chunks.push({pattern:R,alphabet:tUn(R),startIndex:L})},C=this.pattern.length;if(C>K4){let R=0;const L=C%K4,D=C-L;for(;R<D;)A(this.pattern.substr(R,K4),R),R+=K4;if(L){const B=C-K4;A(this.pattern.substr(B),B)}}else A(this.pattern,0)}searchIn(i){const{isCaseSensitive:s,ignoreDiacritics:c,includeMatches:d}=this.options;if(i=s?i:i.toLowerCase(),i=c?nse(i):i,this.pattern===i){let D={isMatch:!0,score:0};return d&&(D.indices=[[0,i.length-1]]),D}const{location:g,distance:b,threshold:w,findAllMatches:E,minMatchCharLength:S,ignoreLocation:x}=this.options;let A=[],C=0,R=!1;this.chunks.forEach(({pattern:D,alphabet:B,startIndex:$})=>{const{isMatch:j,score:P,indices:G}=eUn(i,D,B,{location:g+$,distance:b,threshold:w,findAllMatches:E,minMatchCharLength:S,includeMatches:d,ignoreLocation:x});j&&(R=!0),C+=P,j&&G&&(A=[...A,...G])});let L={isMatch:R,score:R?C/this.chunks.length:1};return R&&d&&(L.indices=A),L}}class SN{constructor(i){this.pattern=i}static isMultiMatch(i){return o8t(i,this.multiRegex)}static isSingleMatch(i){return o8t(i,this.singleRegex)}search(){}}function o8t(n,i){const s=n.match(i);return s?s[1]:null}class nUn extends SN{constructor(i){super(i)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(i){const s=i===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class rUn extends SN{constructor(i){super(i)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(i){const c=i.indexOf(this.pattern)===-1;return{isMatch:c,score:c?0:1,indices:[0,i.length-1]}}}class iUn extends SN{constructor(i){super(i)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(i){const s=i.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class oUn extends SN{constructor(i){super(i)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(i){const s=!i.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,i.length-1]}}}class sUn extends SN{constructor(i){super(i)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(i){const s=i.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[i.length-this.pattern.length,i.length-1]}}}class aUn extends SN{constructor(i){super(i)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(i){const s=!i.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,i.length-1]}}}class eVt extends SN{constructor(i,{location:s=uo.location,threshold:c=uo.threshold,distance:d=uo.distance,includeMatches:g=uo.includeMatches,findAllMatches:b=uo.findAllMatches,minMatchCharLength:w=uo.minMatchCharLength,isCaseSensitive:E=uo.isCaseSensitive,ignoreDiacritics:S=uo.ignoreDiacritics,ignoreLocation:x=uo.ignoreLocation}={}){super(i),this._bitapSearch=new Qqt(i,{location:s,threshold:c,distance:d,includeMatches:g,findAllMatches:b,minMatchCharLength:w,isCaseSensitive:E,ignoreDiacritics:S,ignoreLocation:x})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(i){return this._bitapSearch.searchIn(i)}}class tVt extends SN{constructor(i){super(i)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(i){let s=0,c;const d=[],g=this.pattern.length;for(;(c=i.indexOf(this.pattern,s))>-1;)s=c+g,d.push([c,s-1]);const b=!!d.length;return{isMatch:b,score:b?0:1,indices:d}}}const CDe=[nUn,tVt,iUn,oUn,aUn,sUn,rUn,eVt],s8t=CDe.length,uUn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,cUn="|";function lUn(n,i={}){return n.split(cUn).map(s=>{let c=s.trim().split(uUn).filter(g=>g&&!!g.trim()),d=[];for(let g=0,b=c.length;g<b;g+=1){const w=c[g];let E=!1,S=-1;for(;!E&&++S<s8t;){const x=CDe[S];let A=x.isMultiMatch(w);A&&(d.push(new x(A,i)),E=!0)}if(!E)for(S=-1;++S<s8t;){const x=CDe[S];let A=x.isSingleMatch(w);if(A){d.push(new x(A,i));break}}}return d})}const dUn=new Set([eVt.type,tVt.type]);class fUn{constructor(i,{isCaseSensitive:s=uo.isCaseSensitive,ignoreDiacritics:c=uo.ignoreDiacritics,includeMatches:d=uo.includeMatches,minMatchCharLength:g=uo.minMatchCharLength,ignoreLocation:b=uo.ignoreLocation,findAllMatches:w=uo.findAllMatches,location:E=uo.location,threshold:S=uo.threshold,distance:x=uo.distance}={}){this.query=null,this.options={isCaseSensitive:s,ignoreDiacritics:c,includeMatches:d,minMatchCharLength:g,findAllMatches:w,ignoreLocation:b,location:E,threshold:S,distance:x},i=s?i:i.toLowerCase(),i=c?nse(i):i,this.pattern=i,this.query=lUn(this.pattern,this.options)}static condition(i,s){return s.useExtendedSearch}searchIn(i){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:c,isCaseSensitive:d,ignoreDiacritics:g}=this.options;i=d?i:i.toLowerCase(),i=g?nse(i):i;let b=0,w=[],E=0;for(let S=0,x=s.length;S<x;S+=1){const A=s[S];w.length=0,b=0;for(let C=0,R=A.length;C<R;C+=1){const L=A[C],{isMatch:D,indices:B,score:$}=L.search(i);if(D){if(b+=1,E+=$,c){const j=L.constructor.type;dUn.has(j)?w=[...w,...B]:w.push(B)}}else{E=0,b=0,w.length=0;break}}if(b){let C={isMatch:!0,score:E/b};return c&&(C.indices=w),C}}return{isMatch:!1,score:1}}}const IDe=[];function hUn(...n){IDe.push(...n)}function RDe(n,i){for(let s=0,c=IDe.length;s<c;s+=1){let d=IDe[s];if(d.condition(n,i))return new d(n,i)}return new Qqt(n,i)}const rse={AND:"$and",OR:"$or"},ODe={PATH:"$path",PATTERN:"$val"},DDe=n=>!!(n[rse.AND]||n[rse.OR]),pUn=n=>!!n[ODe.PATH],gUn=n=>!SA(n)&&Yqt(n)&&!DDe(n),a8t=n=>({[rse.AND]:Object.keys(n).map(i=>({[i]:n[i]}))});function nVt(n,i,{auto:s=!0}={}){const c=d=>{let g=Object.keys(d);const b=pUn(d);if(!b&&g.length>1&&!DDe(d))return c(a8t(d));if(gUn(d)){const E=b?d[ODe.PATH]:g[0],S=b?d[ODe.PATTERN]:d[E];if(!M2(S))throw new Error(BBn(E));const x={keyId:NDe(E),pattern:S};return s&&(x.searcher=RDe(S,i)),x}let w={children:[],operator:g[0]};return g.forEach(E=>{const S=d[E];SA(S)&&S.forEach(x=>{w.children.push(c(x))})}),w};return DDe(n)||(n=a8t(n)),c(n)}function bUn(n,{ignoreFieldNorm:i=uo.ignoreFieldNorm}){n.forEach(s=>{let c=1;s.matches.forEach(({key:d,norm:g,score:b})=>{const w=d?d.weight:null;c*=Math.pow(b===0&&w?Number.EPSILON:b,(w||1)*(i?1:g))}),s.score=c})}function mUn(n,i){const s=n.matches;i.matches=[],Pm(s)&&s.forEach(c=>{if(!Pm(c.indices)||!c.indices.length)return;const{indices:d,value:g}=c;let b={indices:d,value:g};c.key&&(b.key=c.key.src),c.idx>-1&&(b.refIndex=c.idx),i.matches.push(b)})}function wUn(n,i){i.score=n.score}function yUn(n,i,{includeMatches:s=uo.includeMatches,includeScore:c=uo.includeScore}={}){const d=[];return s&&d.push(mUn),c&&d.push(wUn),n.map(g=>{const{idx:b}=g,w={item:i[b],refIndex:b};return d.length&&d.forEach(E=>{E(g,w)}),w})}class NR{constructor(i,s={},c){this.options={...uo,...s},this.options.useExtendedSearch,this._keyStore=new GBn(this.options.keys),this.setCollection(i,c)}setCollection(i,s){if(this._docs=i,s&&!(s instanceof aMe))throw new Error($Bn);this._myIndex=s||Zqt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(i){Pm(i)&&(this._docs.push(i),this._myIndex.add(i))}remove(i=()=>!1){const s=[];for(let c=0,d=this._docs.length;c<d;c+=1){const g=this._docs[c];i(g,c)&&(this.removeAt(c),c-=1,d-=1,s.push(g))}return s}removeAt(i){this._docs.splice(i,1),this._myIndex.removeAt(i)}getIndex(){return this._myIndex}search(i,{limit:s=-1}={}){const{includeMatches:c,includeScore:d,shouldSort:g,sortFn:b,ignoreFieldNorm:w}=this.options;let E=M2(i)?M2(this._docs[0])?this._searchStringList(i):this._searchObjectList(i):this._searchLogical(i);return bUn(E,{ignoreFieldNorm:w}),g&&E.sort(b),Kqt(s)&&s>-1&&(E=E.slice(0,s)),yUn(E,this._docs,{includeMatches:c,includeScore:d})}_searchStringList(i){const s=RDe(i,this.options),{records:c}=this._myIndex,d=[];return c.forEach(({v:g,i:b,n:w})=>{if(!Pm(g))return;const{isMatch:E,score:S,indices:x}=s.searchIn(g);E&&d.push({item:g,idx:b,matches:[{score:S,value:g,norm:w,indices:x}]})}),d}_searchLogical(i){const s=nVt(i,this.options),c=(w,E,S)=>{if(!w.children){const{keyId:A,searcher:C}=w,R=this._findMatches({key:this._keyStore.get(A),value:this._myIndex.getValueForItemAtKeyId(E,A),searcher:C});return R&&R.length?[{idx:S,item:E,matches:R}]:[]}const x=[];for(let A=0,C=w.children.length;A<C;A+=1){const R=w.children[A],L=c(R,E,S);if(L.length)x.push(...L);else if(w.operator===rse.AND)return[]}return x},d=this._myIndex.records,g={},b=[];return d.forEach(({$:w,i:E})=>{if(Pm(w)){let S=c(s,w,E);S.length&&(g[E]||(g[E]={idx:E,item:w,matches:[]},b.push(g[E])),S.forEach(({matches:x})=>{g[E].matches.push(...x)}))}}),b}_searchObjectList(i){const s=RDe(i,this.options),{keys:c,records:d}=this._myIndex,g=[];return d.forEach(({$:b,i:w})=>{if(!Pm(b))return;let E=[];c.forEach((S,x)=>{E.push(...this._findMatches({key:S,value:b[x],searcher:s}))}),E.length&&g.push({idx:w,item:b,matches:E})}),g}_findMatches({key:i,value:s,searcher:c}){if(!Pm(s))return[];let d=[];if(SA(s))s.forEach(({v:g,i:b,n:w})=>{if(!Pm(g))return;const{isMatch:E,score:S,indices:x}=c.searchIn(g);E&&d.push({score:S,key:i,value:g,idx:b,norm:w,indices:x})});else{const{v:g,n:b}=s,{isMatch:w,score:E,indices:S}=c.searchIn(g);w&&d.push({score:E,key:i,value:g,norm:b,indices:S})}return d}}NR.version="7.1.0";NR.createIndex=Zqt;NR.parseIndex=ZBn;NR.config=uo;NR.parseQuery=nVt;hUn(fUn);function rVt(n,i){const[s,c]=H.useState(""),d=H.useMemo(()=>{const b={threshold:.3,ignoreLocation:!0,includeScore:!0,includeMatches:!0,minMatchCharLength:1,keys:i.keys,...i.threshold!==void 0&&{threshold:i.threshold},...i.includeScore!==void 0&&{includeScore:i.includeScore},...i.ignoreLocation!==void 0&&{ignoreLocation:i.ignoreLocation},...i.includeMatches!==void 0&&{includeMatches:i.includeMatches},...i.minMatchCharLength!==void 0&&{minMatchCharLength:i.minMatchCharLength}};return new NR(n,b)},[n,i]),g=H.useMemo(()=>s.trim()?d.search(s):n.map((b,w)=>({item:b,refIndex:w,score:0})),[s,d,n]);return{query:s,setQuery:c,filteredItems:g.map(b=>b.item),results:g}}const u8t=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,c8t=aqt,Aae=(n,i)=>s=>{var c;if((i==null?void 0:i.variants)==null)return c8t(n,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:d,defaultVariants:g}=i,b=Object.keys(d).map(S=>{const x=s==null?void 0:s[S],A=g==null?void 0:g[S];if(x===null)return null;const C=u8t(x)||u8t(A);return d[S][C]}),w=s&&Object.entries(s).reduce((S,x)=>{let[A,C]=x;return C===void 0||(S[A]=C),S},{}),E=i==null||(c=i.compoundVariants)===null||c===void 0?void 0:c.reduce((S,x)=>{let{class:A,className:C,...R}=x;return Object.entries(R).every(L=>{let[D,B]=L;return Array.isArray(B)?B.includes({...g,...w}[D]):{...g,...w}[D]===B})?[...S,A,C]:S},[]);return c8t(n,b,E,s==null?void 0:s.class,s==null?void 0:s.className)},vUn=Aae("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium text-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ri=H.forwardRef(({className:n,variant:i,size:s,asChild:c=!1,...d},g)=>{const b=c?K7n:"button";return I.jsx(b,{className:Sr(vUn({variant:i,size:s,className:n})),ref:g,...d})});Ri.displayName="Button";function cn(n,i,s){function c(w,E){if(w._zod||Object.defineProperty(w,"_zod",{value:{def:E,constr:b,traits:new Set},enumerable:!1}),w._zod.traits.has(n))return;w._zod.traits.add(n),i(w,E);const S=b.prototype,x=Object.keys(S);for(let A=0;A<x.length;A++){const C=x[A];C in w||(w[C]=S[C].bind(w))}}const d=(s==null?void 0:s.Parent)??Object;class g extends d{}Object.defineProperty(g,"name",{value:n});function b(w){var E;const S=s!=null&&s.Parent?new g:this;c(S,w),(E=S._zod).deferred??(E.deferred=[]);for(const x of S._zod.deferred)x();return S}return Object.defineProperty(b,"init",{value:c}),Object.defineProperty(b,Symbol.hasInstance,{value:w=>{var E,S;return s!=null&&s.Parent&&w instanceof s.Parent?!0:(S=(E=w==null?void 0:w._zod)==null?void 0:E.traits)==null?void 0:S.has(n)}}),Object.defineProperty(b,"name",{value:n}),b}class sM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class iVt extends Error{constructor(i){super(`Encountered unidirectional transform during encode: ${i}`),this.name="ZodEncodeError"}}const oVt={};function hN(n){return oVt}function sVt(n){const i=Object.values(n).filter(c=>typeof c=="number");return Object.entries(n).filter(([c,d])=>i.indexOf(+c)===-1).map(([c,d])=>d)}function LDe(n,i){return typeof i=="bigint"?i.toString():i}function _ae(n){return{get value(){{const i=n();return Object.defineProperty(this,"value",{value:i}),i}}}}function uMe(n){return n==null}function cMe(n){const i=n.startsWith("^")?1:0,s=n.endsWith("$")?n.length-1:n.length;return n.slice(i,s)}function EUn(n,i){const s=(n.toString().split(".")[1]||"").length,c=i.toString();let d=(c.split(".")[1]||"").length;if(d===0&&/\d?e-\d?/.test(c)){const E=c.match(/\d?e-(\d?)/);E!=null&&E[1]&&(d=Number.parseInt(E[1]))}const g=s>d?s:d,b=Number.parseInt(n.toFixed(g).replace(".","")),w=Number.parseInt(i.toFixed(g).replace(".",""));return b%w/10**g}const l8t=Symbol("evaluating");function Ys(n,i,s){let c;Object.defineProperty(n,i,{get(){if(c!==l8t)return c===void 0&&(c=l8t,c=s()),c},set(d){Object.defineProperty(n,i,{value:d})},configurable:!0})}function CR(n,i,s){Object.defineProperty(n,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}function TN(...n){const i={};for(const s of n){const c=Object.getOwnPropertyDescriptors(s);Object.assign(i,c)}return Object.defineProperties({},i)}function d8t(n){return JSON.stringify(n)}function SUn(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const aVt="captureStackTrace"in Error?Error.captureStackTrace:(...n)=>{};function iz(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}const TUn=_ae(()=>{var n;if(typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)!=null&&n.includes("Cloudflare")))return!1;try{const i=Function;return new i(""),!0}catch{return!1}});function NM(n){if(iz(n)===!1)return!1;const i=n.constructor;if(i===void 0||typeof i!="function")return!0;const s=i.prototype;return!(iz(s)===!1||Object.prototype.hasOwnProperty.call(s,"isPrototypeOf")===!1)}function uVt(n){return NM(n)?{...n}:Array.isArray(n)?[...n]:n}const AUn=new Set(["string","number","symbol"]);function CM(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function AN(n,i,s){const c=new n._zod.constr(i??n._zod.def);return(!i||s!=null&&s.parent)&&(c._zod.parent=n),c}function wi(n){const i=n;if(!i)return{};if(typeof i=="string")return{error:()=>i};if((i==null?void 0:i.message)!==void 0){if((i==null?void 0:i.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");i.error=i.message}return delete i.message,typeof i.error=="string"?{...i,error:()=>i.error}:i}function _Un(n){return Object.keys(n).filter(i=>n[i]._zod.optin==="optional"&&n[i]._zod.optout==="optional")}const xUn={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function kUn(n,i){const s=n._zod.def,c=s.checks;if(c&&c.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const g=TN(n._zod.def,{get shape(){const b={};for(const w in i){if(!(w in s.shape))throw new Error(`Unrecognized key: "${w}"`);i[w]&&(b[w]=s.shape[w])}return CR(this,"shape",b),b},checks:[]});return AN(n,g)}function NUn(n,i){const s=n._zod.def,c=s.checks;if(c&&c.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const g=TN(n._zod.def,{get shape(){const b={...n._zod.def.shape};for(const w in i){if(!(w in s.shape))throw new Error(`Unrecognized key: "${w}"`);i[w]&&delete b[w]}return CR(this,"shape",b),b},checks:[]});return AN(n,g)}function CUn(n,i){if(!NM(i))throw new Error("Invalid input to extend: expected a plain object");const s=n._zod.def.checks;if(s&&s.length>0){const g=n._zod.def.shape;for(const b in i)if(Object.getOwnPropertyDescriptor(g,b)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const d=TN(n._zod.def,{get shape(){const g={...n._zod.def.shape,...i};return CR(this,"shape",g),g}});return AN(n,d)}function IUn(n,i){if(!NM(i))throw new Error("Invalid input to safeExtend: expected a plain object");const s=TN(n._zod.def,{get shape(){const c={...n._zod.def.shape,...i};return CR(this,"shape",c),c}});return AN(n,s)}function RUn(n,i){const s=TN(n._zod.def,{get shape(){const c={...n._zod.def.shape,...i._zod.def.shape};return CR(this,"shape",c),c},get catchall(){return i._zod.def.catchall},checks:[]});return AN(n,s)}function OUn(n,i,s){const d=i._zod.def.checks;if(d&&d.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const b=TN(i._zod.def,{get shape(){const w=i._zod.def.shape,E={...w};if(s)for(const S in s){if(!(S in w))throw new Error(`Unrecognized key: "${S}"`);s[S]&&(E[S]=n?new n({type:"optional",innerType:w[S]}):w[S])}else for(const S in w)E[S]=n?new n({type:"optional",innerType:w[S]}):w[S];return CR(this,"shape",E),E},checks:[]});return AN(i,b)}function DUn(n,i,s){const c=TN(i._zod.def,{get shape(){const d=i._zod.def.shape,g={...d};if(s)for(const b in s){if(!(b in g))throw new Error(`Unrecognized key: "${b}"`);s[b]&&(g[b]=new n({type:"nonoptional",innerType:d[b]}))}else for(const b in d)g[b]=new n({type:"nonoptional",innerType:d[b]});return CR(this,"shape",g),g}});return AN(i,c)}function G5(n,i=0){var s;if(n.aborted===!0)return!0;for(let c=i;c<n.issues.length;c++)if(((s=n.issues[c])==null?void 0:s.continue)!==!0)return!0;return!1}function q5(n,i){return i.map(s=>{var c;return(c=s).path??(c.path=[]),s.path.unshift(n),s})}function Nie(n){return typeof n=="string"?n:n==null?void 0:n.message}function pN(n,i,s){var d,g,b,w,E,S;const c={...n,path:n.path??[]};if(!n.message){const x=Nie((b=(g=(d=n.inst)==null?void 0:d._zod.def)==null?void 0:g.error)==null?void 0:b.call(g,n))??Nie((w=i==null?void 0:i.error)==null?void 0:w.call(i,n))??Nie((E=s.customError)==null?void 0:E.call(s,n))??Nie((S=s.localeError)==null?void 0:S.call(s,n))??"Invalid input";c.message=x}return delete c.inst,delete c.continue,i!=null&&i.reportInput||delete c.input,c}function lMe(n){return Array.isArray(n)?"array":typeof n=="string"?"string":"unknown"}function oz(...n){const[i,s,c]=n;return typeof i=="string"?{message:i,code:"custom",input:s,inst:c}:{...i}}const cVt=(n,i)=>{n.name="$ZodError",Object.defineProperty(n,"_zod",{value:n._zod,enumerable:!1}),Object.defineProperty(n,"issues",{value:i,enumerable:!1}),n.message=JSON.stringify(i,LDe,2),Object.defineProperty(n,"toString",{value:()=>n.message,enumerable:!1})},lVt=cn("$ZodError",cVt),dVt=cn("$ZodError",cVt,{Parent:Error});function LUn(n,i=s=>s.message){const s={},c=[];for(const d of n.issues)d.path.length>0?(s[d.path[0]]=s[d.path[0]]||[],s[d.path[0]].push(i(d))):c.push(i(d));return{formErrors:c,fieldErrors:s}}function MUn(n,i=s=>s.message){const s={_errors:[]},c=d=>{for(const g of d.issues)if(g.code==="invalid_union"&&g.errors.length)g.errors.map(b=>c({issues:b}));else if(g.code==="invalid_key")c({issues:g.issues});else if(g.code==="invalid_element")c({issues:g.issues});else if(g.path.length===0)s._errors.push(i(g));else{let b=s,w=0;for(;w<g.path.length;){const E=g.path[w];w===g.path.length-1?(b[E]=b[E]||{_errors:[]},b[E]._errors.push(i(g))):b[E]=b[E]||{_errors:[]},b=b[E],w++}}};return c(n),s}const dMe=n=>(i,s,c,d)=>{const g=c?Object.assign(c,{async:!1}):{async:!1},b=i._zod.run({value:s,issues:[]},g);if(b instanceof Promise)throw new sM;if(b.issues.length){const w=new((d==null?void 0:d.Err)??n)(b.issues.map(E=>pN(E,g,hN())));throw aVt(w,d==null?void 0:d.callee),w}return b.value},fMe=n=>async(i,s,c,d)=>{const g=c?Object.assign(c,{async:!0}):{async:!0};let b=i._zod.run({value:s,issues:[]},g);if(b instanceof Promise&&(b=await b),b.issues.length){const w=new((d==null?void 0:d.Err)??n)(b.issues.map(E=>pN(E,g,hN())));throw aVt(w,d==null?void 0:d.callee),w}return b.value},xae=n=>(i,s,c)=>{const d=c?{...c,async:!1}:{async:!1},g=i._zod.run({value:s,issues:[]},d);if(g instanceof Promise)throw new sM;return g.issues.length?{success:!1,error:new(n??lVt)(g.issues.map(b=>pN(b,d,hN())))}:{success:!0,data:g.value}},PUn=xae(dVt),kae=n=>async(i,s,c)=>{const d=c?Object.assign(c,{async:!0}):{async:!0};let g=i._zod.run({value:s,issues:[]},d);return g instanceof Promise&&(g=await g),g.issues.length?{success:!1,error:new n(g.issues.map(b=>pN(b,d,hN())))}:{success:!0,data:g.value}},jUn=kae(dVt),FUn=n=>(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return dMe(n)(i,s,d)},$Un=n=>(i,s,c)=>dMe(n)(i,s,c),BUn=n=>async(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return fMe(n)(i,s,d)},UUn=n=>async(i,s,c)=>fMe(n)(i,s,c),HUn=n=>(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return xae(n)(i,s,d)},zUn=n=>(i,s,c)=>xae(n)(i,s,c),GUn=n=>async(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return kae(n)(i,s,d)},qUn=n=>async(i,s,c)=>kae(n)(i,s,c),VUn=/^[cC][^\s-]{8,}$/,WUn=/^[0-9a-z]+$/,KUn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,YUn=/^[0-9a-vA-V]{20}$/,JUn=/^[A-Za-z0-9]{27}$/,XUn=/^[a-zA-Z0-9_-]{21}$/,ZUn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,QUn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,f8t=n=>n?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${n}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,eHn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tHn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function nHn(){return new RegExp(tHn,"u")}const rHn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,iHn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,oHn=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,sHn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,aHn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,fVt=/^[A-Za-z0-9_-]*$/,uHn=/^\+[1-9]\d{6,14}$/,hVt="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",cHn=new RegExp(`^${hVt}$`);function pVt(n){const i="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof n.precision=="number"?n.precision===-1?`${i}`:n.precision===0?`${i}:[0-5]\\d`:`${i}:[0-5]\\d\\.\\d{${n.precision}}`:`${i}(?::[0-5]\\d(?:\\.\\d+)?)?`}function lHn(n){return new RegExp(`^${pVt(n)}$`)}function dHn(n){const i=pVt({precision:n.precision}),s=["Z"];n.local&&s.push(""),n.offset&&s.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const c=`${i}(?:${s.join("|")})`;return new RegExp(`^${hVt}T(?:${c})$`)}const fHn=n=>{const i=n?`[\\s\\S]{${(n==null?void 0:n.minimum)??0},${(n==null?void 0:n.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${i}$`)},hHn=/^-?\d+$/,gVt=/^-?\d+(?:\.\d+)?$/,pHn=/^(?:true|false)$/i,gHn=/^null$/i,bHn=/^[^A-Z]*$/,mHn=/^[^a-z]*$/,hb=cn("$ZodCheck",(n,i)=>{var s;n._zod??(n._zod={}),n._zod.def=i,(s=n._zod).onattach??(s.onattach=[])}),bVt={number:"number",bigint:"bigint",object:"date"},mVt=cn("$ZodCheckLessThan",(n,i)=>{hb.init(n,i);const s=bVt[typeof i.value];n._zod.onattach.push(c=>{const d=c._zod.bag,g=(i.inclusive?d.maximum:d.exclusiveMaximum)??Number.POSITIVE_INFINITY;i.value<g&&(i.inclusive?d.maximum=i.value:d.exclusiveMaximum=i.value)}),n._zod.check=c=>{(i.inclusive?c.value<=i.value:c.value<i.value)||c.issues.push({origin:s,code:"too_big",maximum:typeof i.value=="object"?i.value.getTime():i.value,input:c.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),wVt=cn("$ZodCheckGreaterThan",(n,i)=>{hb.init(n,i);const s=bVt[typeof i.value];n._zod.onattach.push(c=>{const d=c._zod.bag,g=(i.inclusive?d.minimum:d.exclusiveMinimum)??Number.NEGATIVE_INFINITY;i.value>g&&(i.inclusive?d.minimum=i.value:d.exclusiveMinimum=i.value)}),n._zod.check=c=>{(i.inclusive?c.value>=i.value:c.value>i.value)||c.issues.push({origin:s,code:"too_small",minimum:typeof i.value=="object"?i.value.getTime():i.value,input:c.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),wHn=cn("$ZodCheckMultipleOf",(n,i)=>{hb.init(n,i),n._zod.onattach.push(s=>{var c;(c=s._zod.bag).multipleOf??(c.multipleOf=i.value)}),n._zod.check=s=>{if(typeof s.value!=typeof i.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof s.value=="bigint"?s.value%i.value===BigInt(0):EUn(s.value,i.value)===0)||s.issues.push({origin:typeof s.value,code:"not_multiple_of",divisor:i.value,input:s.value,inst:n,continue:!i.abort})}}),yHn=cn("$ZodCheckNumberFormat",(n,i)=>{var b;hb.init(n,i),i.format=i.format||"float64";const s=(b=i.format)==null?void 0:b.includes("int"),c=s?"int":"number",[d,g]=xUn[i.format];n._zod.onattach.push(w=>{const E=w._zod.bag;E.format=i.format,E.minimum=d,E.maximum=g,s&&(E.pattern=hHn)}),n._zod.check=w=>{const E=w.value;if(s){if(!Number.isInteger(E)){w.issues.push({expected:c,format:i.format,code:"invalid_type",continue:!1,input:E,inst:n});return}if(!Number.isSafeInteger(E)){E>0?w.issues.push({input:E,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:c,inclusive:!0,continue:!i.abort}):w.issues.push({input:E,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:c,inclusive:!0,continue:!i.abort});return}}E<d&&w.issues.push({origin:"number",input:E,code:"too_small",minimum:d,inclusive:!0,inst:n,continue:!i.abort}),E>g&&w.issues.push({origin:"number",input:E,code:"too_big",maximum:g,inclusive:!0,inst:n,continue:!i.abort})}}),vHn=cn("$ZodCheckMaxLength",(n,i)=>{var s;hb.init(n,i),(s=n._zod.def).when??(s.when=c=>{const d=c.value;return!uMe(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag.maximum??Number.POSITIVE_INFINITY;i.maximum<d&&(c._zod.bag.maximum=i.maximum)}),n._zod.check=c=>{const d=c.value;if(d.length<=i.maximum)return;const b=lMe(d);c.issues.push({origin:b,code:"too_big",maximum:i.maximum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),EHn=cn("$ZodCheckMinLength",(n,i)=>{var s;hb.init(n,i),(s=n._zod.def).when??(s.when=c=>{const d=c.value;return!uMe(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag.minimum??Number.NEGATIVE_INFINITY;i.minimum>d&&(c._zod.bag.minimum=i.minimum)}),n._zod.check=c=>{const d=c.value;if(d.length>=i.minimum)return;const b=lMe(d);c.issues.push({origin:b,code:"too_small",minimum:i.minimum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),SHn=cn("$ZodCheckLengthEquals",(n,i)=>{var s;hb.init(n,i),(s=n._zod.def).when??(s.when=c=>{const d=c.value;return!uMe(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag;d.minimum=i.length,d.maximum=i.length,d.length=i.length}),n._zod.check=c=>{const d=c.value,g=d.length;if(g===i.length)return;const b=lMe(d),w=g>i.length;c.issues.push({origin:b,...w?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},inclusive:!0,exact:!0,input:c.value,inst:n,continue:!i.abort})}}),Nae=cn("$ZodCheckStringFormat",(n,i)=>{var s,c;hb.init(n,i),n._zod.onattach.push(d=>{const g=d._zod.bag;g.format=i.format,i.pattern&&(g.patterns??(g.patterns=new Set),g.patterns.add(i.pattern))}),i.pattern?(s=n._zod).check??(s.check=d=>{i.pattern.lastIndex=0,!i.pattern.test(d.value)&&d.issues.push({origin:"string",code:"invalid_format",format:i.format,input:d.value,...i.pattern?{pattern:i.pattern.toString()}:{},inst:n,continue:!i.abort})}):(c=n._zod).check??(c.check=()=>{})}),THn=cn("$ZodCheckRegex",(n,i)=>{Nae.init(n,i),n._zod.check=s=>{i.pattern.lastIndex=0,!i.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:"regex",input:s.value,pattern:i.pattern.toString(),inst:n,continue:!i.abort})}}),AHn=cn("$ZodCheckLowerCase",(n,i)=>{i.pattern??(i.pattern=bHn),Nae.init(n,i)}),_Hn=cn("$ZodCheckUpperCase",(n,i)=>{i.pattern??(i.pattern=mHn),Nae.init(n,i)}),xHn=cn("$ZodCheckIncludes",(n,i)=>{hb.init(n,i);const s=CM(i.includes),c=new RegExp(typeof i.position=="number"?`^.{${i.position}}${s}`:s);i.pattern=c,n._zod.onattach.push(d=>{const g=d._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(c)}),n._zod.check=d=>{d.value.includes(i.includes,i.position)||d.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:i.includes,input:d.value,inst:n,continue:!i.abort})}}),kHn=cn("$ZodCheckStartsWith",(n,i)=>{hb.init(n,i);const s=new RegExp(`^${CM(i.prefix)}.*`);i.pattern??(i.pattern=s),n._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(s)}),n._zod.check=c=>{c.value.startsWith(i.prefix)||c.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:i.prefix,input:c.value,inst:n,continue:!i.abort})}}),NHn=cn("$ZodCheckEndsWith",(n,i)=>{hb.init(n,i);const s=new RegExp(`.*${CM(i.suffix)}$`);i.pattern??(i.pattern=s),n._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(s)}),n._zod.check=c=>{c.value.endsWith(i.suffix)||c.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:i.suffix,input:c.value,inst:n,continue:!i.abort})}}),CHn=cn("$ZodCheckOverwrite",(n,i)=>{hb.init(n,i),n._zod.check=s=>{s.value=i.tx(s.value)}});class IHn{constructor(i=[]){this.content=[],this.indent=0,this&&(this.args=i)}indented(i){this.indent+=1,i(this),this.indent-=1}write(i){if(typeof i=="function"){i(this,{execution:"sync"}),i(this,{execution:"async"});return}const c=i.split(`
`).filter(b=>b),d=Math.min(...c.map(b=>b.length-b.trimStart().length)),g=c.map(b=>b.slice(d)).map(b=>" ".repeat(this.indent*2)+b);for(const b of g)this.content.push(b)}compile(){const i=Function,s=this==null?void 0:this.args,d=[...((this==null?void 0:this.content)??[""]).map(g=>` ${g}`)];return new i(...s,d.join(`
`))}}const RHn={major:4,minor:3,patch:5},Ku=cn("$ZodType",(n,i)=>{var d;var s;n??(n={}),n._zod.def=i,n._zod.bag=n._zod.bag||{},n._zod.version=RHn;const c=[...n._zod.def.checks??[]];n._zod.traits.has("$ZodCheck")&&c.unshift(n);for(const g of c)for(const b of g._zod.onattach)b(n);if(c.length===0)(s=n._zod).deferred??(s.deferred=[]),(d=n._zod.deferred)==null||d.push(()=>{n._zod.run=n._zod.parse});else{const g=(w,E,S)=>{let x=G5(w),A;for(const C of E){if(C._zod.def.when){if(!C._zod.def.when(w))continue}else if(x)continue;const R=w.issues.length,L=C._zod.check(w);if(L instanceof Promise&&(S==null?void 0:S.async)===!1)throw new sM;if(A||L instanceof Promise)A=(A??Promise.resolve()).then(async()=>{await L,w.issues.length!==R&&(x||(x=G5(w,R)))});else{if(w.issues.length===R)continue;x||(x=G5(w,R))}}return A?A.then(()=>w):w},b=(w,E,S)=>{if(G5(w))return w.aborted=!0,w;const x=g(E,c,S);if(x instanceof Promise){if(S.async===!1)throw new sM;return x.then(A=>n._zod.parse(A,S))}return n._zod.parse(x,S)};n._zod.run=(w,E)=>{if(E.skipChecks)return n._zod.parse(w,E);if(E.direction==="backward"){const x=n._zod.parse({value:w.value,issues:[]},{...E,skipChecks:!0});return x instanceof Promise?x.then(A=>b(A,w,E)):b(x,w,E)}const S=n._zod.parse(w,E);if(S instanceof Promise){if(E.async===!1)throw new sM;return S.then(x=>g(x,c,E))}return g(S,c,E)}}Ys(n,"~standard",()=>({validate:g=>{var b;try{const w=PUn(n,g);return w.success?{value:w.data}:{issues:(b=w.error)==null?void 0:b.issues}}catch{return jUn(n,g).then(E=>{var S;return E.success?{value:E.data}:{issues:(S=E.error)==null?void 0:S.issues}})}},vendor:"zod",version:1}))}),hMe=cn("$ZodString",(n,i)=>{var s;Ku.init(n,i),n._zod.pattern=[...((s=n==null?void 0:n._zod.bag)==null?void 0:s.patterns)??[]].pop()??fHn(n._zod.bag),n._zod.parse=(c,d)=>{if(i.coerce)try{c.value=String(c.value)}catch{}return typeof c.value=="string"||c.issues.push({expected:"string",code:"invalid_type",input:c.value,inst:n}),c}}),Pc=cn("$ZodStringFormat",(n,i)=>{Nae.init(n,i),hMe.init(n,i)}),OHn=cn("$ZodGUID",(n,i)=>{i.pattern??(i.pattern=QUn),Pc.init(n,i)}),DHn=cn("$ZodUUID",(n,i)=>{if(i.version){const c={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[i.version];if(c===void 0)throw new Error(`Invalid UUID version: "${i.version}"`);i.pattern??(i.pattern=f8t(c))}else i.pattern??(i.pattern=f8t());Pc.init(n,i)}),LHn=cn("$ZodEmail",(n,i)=>{i.pattern??(i.pattern=eHn),Pc.init(n,i)}),MHn=cn("$ZodURL",(n,i)=>{Pc.init(n,i),n._zod.check=s=>{try{const c=s.value.trim(),d=new URL(c);i.hostname&&(i.hostname.lastIndex=0,i.hostname.test(d.hostname)||s.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:i.hostname.source,input:s.value,inst:n,continue:!i.abort})),i.protocol&&(i.protocol.lastIndex=0,i.protocol.test(d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol)||s.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:i.protocol.source,input:s.value,inst:n,continue:!i.abort})),i.normalize?s.value=d.href:s.value=c;return}catch{s.issues.push({code:"invalid_format",format:"url",input:s.value,inst:n,continue:!i.abort})}}}),PHn=cn("$ZodEmoji",(n,i)=>{i.pattern??(i.pattern=nHn()),Pc.init(n,i)}),jHn=cn("$ZodNanoID",(n,i)=>{i.pattern??(i.pattern=XUn),Pc.init(n,i)}),FHn=cn("$ZodCUID",(n,i)=>{i.pattern??(i.pattern=VUn),Pc.init(n,i)}),$Hn=cn("$ZodCUID2",(n,i)=>{i.pattern??(i.pattern=WUn),Pc.init(n,i)}),BHn=cn("$ZodULID",(n,i)=>{i.pattern??(i.pattern=KUn),Pc.init(n,i)}),UHn=cn("$ZodXID",(n,i)=>{i.pattern??(i.pattern=YUn),Pc.init(n,i)}),HHn=cn("$ZodKSUID",(n,i)=>{i.pattern??(i.pattern=JUn),Pc.init(n,i)}),zHn=cn("$ZodISODateTime",(n,i)=>{i.pattern??(i.pattern=dHn(i)),Pc.init(n,i)}),GHn=cn("$ZodISODate",(n,i)=>{i.pattern??(i.pattern=cHn),Pc.init(n,i)}),qHn=cn("$ZodISOTime",(n,i)=>{i.pattern??(i.pattern=lHn(i)),Pc.init(n,i)}),VHn=cn("$ZodISODuration",(n,i)=>{i.pattern??(i.pattern=ZUn),Pc.init(n,i)}),WHn=cn("$ZodIPv4",(n,i)=>{i.pattern??(i.pattern=rHn),Pc.init(n,i),n._zod.bag.format="ipv4"}),KHn=cn("$ZodIPv6",(n,i)=>{i.pattern??(i.pattern=iHn),Pc.init(n,i),n._zod.bag.format="ipv6",n._zod.check=s=>{try{new URL(`http://[${s.value}]`)}catch{s.issues.push({code:"invalid_format",format:"ipv6",input:s.value,inst:n,continue:!i.abort})}}}),YHn=cn("$ZodCIDRv4",(n,i)=>{i.pattern??(i.pattern=oHn),Pc.init(n,i)}),JHn=cn("$ZodCIDRv6",(n,i)=>{i.pattern??(i.pattern=sHn),Pc.init(n,i),n._zod.check=s=>{const c=s.value.split("/");try{if(c.length!==2)throw new Error;const[d,g]=c;if(!g)throw new Error;const b=Number(g);if(`${b}`!==g)throw new Error;if(b<0||b>128)throw new Error;new URL(`http://[${d}]`)}catch{s.issues.push({code:"invalid_format",format:"cidrv6",input:s.value,inst:n,continue:!i.abort})}}});function yVt(n){if(n==="")return!0;if(n.length%4!==0)return!1;try{return atob(n),!0}catch{return!1}}const XHn=cn("$ZodBase64",(n,i)=>{i.pattern??(i.pattern=aHn),Pc.init(n,i),n._zod.bag.contentEncoding="base64",n._zod.check=s=>{yVt(s.value)||s.issues.push({code:"invalid_format",format:"base64",input:s.value,inst:n,continue:!i.abort})}});function ZHn(n){if(!fVt.test(n))return!1;const i=n.replace(/[-_]/g,c=>c==="-"?"+":"/"),s=i.padEnd(Math.ceil(i.length/4)*4,"=");return yVt(s)}const QHn=cn("$ZodBase64URL",(n,i)=>{i.pattern??(i.pattern=fVt),Pc.init(n,i),n._zod.bag.contentEncoding="base64url",n._zod.check=s=>{ZHn(s.value)||s.issues.push({code:"invalid_format",format:"base64url",input:s.value,inst:n,continue:!i.abort})}}),ezn=cn("$ZodE164",(n,i)=>{i.pattern??(i.pattern=uHn),Pc.init(n,i)});function tzn(n,i=null){try{const s=n.split(".");if(s.length!==3)return!1;const[c]=s;if(!c)return!1;const d=JSON.parse(atob(c));return!("typ"in d&&(d==null?void 0:d.typ)!=="JWT"||!d.alg||i&&(!("alg"in d)||d.alg!==i))}catch{return!1}}const nzn=cn("$ZodJWT",(n,i)=>{Pc.init(n,i),n._zod.check=s=>{tzn(s.value,i.alg)||s.issues.push({code:"invalid_format",format:"jwt",input:s.value,inst:n,continue:!i.abort})}}),vVt=cn("$ZodNumber",(n,i)=>{Ku.init(n,i),n._zod.pattern=n._zod.bag.pattern??gVt,n._zod.parse=(s,c)=>{if(i.coerce)try{s.value=Number(s.value)}catch{}const d=s.value;if(typeof d=="number"&&!Number.isNaN(d)&&Number.isFinite(d))return s;const g=typeof d=="number"?Number.isNaN(d)?"NaN":Number.isFinite(d)?void 0:"Infinity":void 0;return s.issues.push({expected:"number",code:"invalid_type",input:d,inst:n,...g?{received:g}:{}}),s}}),rzn=cn("$ZodNumberFormat",(n,i)=>{yHn.init(n,i),vVt.init(n,i)}),izn=cn("$ZodBoolean",(n,i)=>{Ku.init(n,i),n._zod.pattern=pHn,n._zod.parse=(s,c)=>{if(i.coerce)try{s.value=!!s.value}catch{}const d=s.value;return typeof d=="boolean"||s.issues.push({expected:"boolean",code:"invalid_type",input:d,inst:n}),s}}),ozn=cn("$ZodNull",(n,i)=>{Ku.init(n,i),n._zod.pattern=gHn,n._zod.values=new Set([null]),n._zod.parse=(s,c)=>{const d=s.value;return d===null||s.issues.push({expected:"null",code:"invalid_type",input:d,inst:n}),s}}),szn=cn("$ZodAny",(n,i)=>{Ku.init(n,i),n._zod.parse=s=>s}),azn=cn("$ZodUnknown",(n,i)=>{Ku.init(n,i),n._zod.parse=s=>s}),uzn=cn("$ZodNever",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,c)=>(s.issues.push({expected:"never",code:"invalid_type",input:s.value,inst:n}),s)});function h8t(n,i,s){n.issues.length&&i.issues.push(...q5(s,n.issues)),i.value[s]=n.value}const czn=cn("$ZodArray",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,c)=>{const d=s.value;if(!Array.isArray(d))return s.issues.push({expected:"array",code:"invalid_type",input:d,inst:n}),s;s.value=Array(d.length);const g=[];for(let b=0;b<d.length;b++){const w=d[b],E=i.element._zod.run({value:w,issues:[]},c);E instanceof Promise?g.push(E.then(S=>h8t(S,s,b))):h8t(E,s,b)}return g.length?Promise.all(g).then(()=>s):s}});function ise(n,i,s,c,d){if(n.issues.length){if(d&&!(s in c))return;i.issues.push(...q5(s,n.issues))}n.value===void 0?s in c&&(i.value[s]=void 0):i.value[s]=n.value}function EVt(n){var c,d,g,b;const i=Object.keys(n.shape);for(const w of i)if(!((b=(g=(d=(c=n.shape)==null?void 0:c[w])==null?void 0:d._zod)==null?void 0:g.traits)!=null&&b.has("$ZodType")))throw new Error(`Invalid element at key "${w}": expected a Zod schema`);const s=_Un(n.shape);return{...n,keys:i,keySet:new Set(i),numKeys:i.length,optionalKeys:new Set(s)}}function SVt(n,i,s,c,d,g){const b=[],w=d.keySet,E=d.catchall._zod,S=E.def.type,x=E.optout==="optional";for(const A in i){if(w.has(A))continue;if(S==="never"){b.push(A);continue}const C=E.run({value:i[A],issues:[]},c);C instanceof Promise?n.push(C.then(R=>ise(R,s,A,i,x))):ise(C,s,A,i,x)}return b.length&&s.issues.push({code:"unrecognized_keys",keys:b,input:i,inst:g}),n.length?Promise.all(n).then(()=>s):s}const lzn=cn("$ZodObject",(n,i)=>{Ku.init(n,i);const s=Object.getOwnPropertyDescriptor(i,"shape");if(!(s!=null&&s.get)){const w=i.shape;Object.defineProperty(i,"shape",{get:()=>{const E={...w};return Object.defineProperty(i,"shape",{value:E}),E}})}const c=_ae(()=>EVt(i));Ys(n._zod,"propValues",()=>{const w=i.shape,E={};for(const S in w){const x=w[S]._zod;if(x.values){E[S]??(E[S]=new Set);for(const A of x.values)E[S].add(A)}}return E});const d=iz,g=i.catchall;let b;n._zod.parse=(w,E)=>{b??(b=c.value);const S=w.value;if(!d(S))return w.issues.push({expected:"object",code:"invalid_type",input:S,inst:n}),w;w.value={};const x=[],A=b.shape;for(const C of b.keys){const R=A[C],L=R._zod.optout==="optional",D=R._zod.run({value:S[C],issues:[]},E);D instanceof Promise?x.push(D.then(B=>ise(B,w,C,S,L))):ise(D,w,C,S,L)}return g?SVt(x,S,w,E,c.value,n):x.length?Promise.all(x).then(()=>w):w}}),dzn=cn("$ZodObjectJIT",(n,i)=>{lzn.init(n,i);const s=n._zod.parse,c=_ae(()=>EVt(i)),d=C=>{var P;const R=new IHn(["shape","payload","ctx"]),L=c.value,D=G=>{const ee=d8t(G);return`shape[${ee}]._zod.run({ value: input[${ee}], issues: [] }, ctx)`};R.write("const input = payload.value;");const B=Object.create(null);let $=0;for(const G of L.keys)B[G]=`key_${$++}`;R.write("const newResult = {};");for(const G of L.keys){const ee=B[G],re=d8t(G),Q=C[G],ie=((P=Q==null?void 0:Q._zod)==null?void 0:P.optout)==="optional";R.write(`const ${ee} = ${D(G)};`),ie?R.write(`
if (${ee}.issues.length) {
if (${re} in input) {
payload.issues = payload.issues.concat(${ee}.issues.map(iss => ({
...iss,
path: iss.path ? [${re}, ...iss.path] : [${re}]
})));
}
}
if (${ee}.value === undefined) {
if (${re} in input) {
newResult[${re}] = undefined;
}
} else {
newResult[${re}] = ${ee}.value;
}
`):R.write(`
if (${ee}.issues.length) {
payload.issues = payload.issues.concat(${ee}.issues.map(iss => ({
...iss,
path: iss.path ? [${re}, ...iss.path] : [${re}]
})));
}
if (${ee}.value === undefined) {
if (${re} in input) {
newResult[${re}] = undefined;
}
} else {
newResult[${re}] = ${ee}.value;
}
`)}R.write("payload.value = newResult;"),R.write("return payload;");const j=R.compile();return(G,ee)=>j(C,G,ee)};let g;const b=iz,w=!oVt.jitless,S=w&&TUn.value,x=i.catchall;let A;n._zod.parse=(C,R)=>{A??(A=c.value);const L=C.value;return b(L)?w&&S&&(R==null?void 0:R.async)===!1&&R.jitless!==!0?(g||(g=d(i.shape)),C=g(C,R),x?SVt([],L,C,R,A,n):C):s(C,R):(C.issues.push({expected:"object",code:"invalid_type",input:L,inst:n}),C)}});function p8t(n,i,s,c){for(const g of n)if(g.issues.length===0)return i.value=g.value,i;const d=n.filter(g=>!G5(g));return d.length===1?(i.value=d[0].value,d[0]):(i.issues.push({code:"invalid_union",input:i.value,inst:s,errors:n.map(g=>g.issues.map(b=>pN(b,c,hN())))}),i)}const TVt=cn("$ZodUnion",(n,i)=>{Ku.init(n,i),Ys(n._zod,"optin",()=>i.options.some(d=>d._zod.optin==="optional")?"optional":void 0),Ys(n._zod,"optout",()=>i.options.some(d=>d._zod.optout==="optional")?"optional":void 0),Ys(n._zod,"values",()=>{if(i.options.every(d=>d._zod.values))return new Set(i.options.flatMap(d=>Array.from(d._zod.values)))}),Ys(n._zod,"pattern",()=>{if(i.options.every(d=>d._zod.pattern)){const d=i.options.map(g=>g._zod.pattern);return new RegExp(`^(${d.map(g=>cMe(g.source)).join("|")})$`)}});const s=i.options.length===1,c=i.options[0]._zod.run;n._zod.parse=(d,g)=>{if(s)return c(d,g);let b=!1;const w=[];for(const E of i.options){const S=E._zod.run({value:d.value,issues:[]},g);if(S instanceof Promise)w.push(S),b=!0;else{if(S.issues.length===0)return S;w.push(S)}}return b?Promise.all(w).then(E=>p8t(E,d,n,g)):p8t(w,d,n,g)}}),fzn=cn("$ZodDiscriminatedUnion",(n,i)=>{i.inclusive=!1,TVt.init(n,i);const s=n._zod.parse;Ys(n._zod,"propValues",()=>{const d={};for(const g of i.options){const b=g._zod.propValues;if(!b||Object.keys(b).length===0)throw new Error(`Invalid discriminated union option at index "${i.options.indexOf(g)}"`);for(const[w,E]of Object.entries(b)){d[w]||(d[w]=new Set);for(const S of E)d[w].add(S)}}return d});const c=_ae(()=>{var b;const d=i.options,g=new Map;for(const w of d){const E=(b=w._zod.propValues)==null?void 0:b[i.discriminator];if(!E||E.size===0)throw new Error(`Invalid discriminated union option at index "${i.options.indexOf(w)}"`);for(const S of E){if(g.has(S))throw new Error(`Duplicate discriminator value "${String(S)}"`);g.set(S,w)}}return g});n._zod.parse=(d,g)=>{const b=d.value;if(!iz(b))return d.issues.push({code:"invalid_type",expected:"object",input:b,inst:n}),d;const w=c.value.get(b==null?void 0:b[i.discriminator]);return w?w._zod.run(d,g):i.unionFallback?s(d,g):(d.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:i.discriminator,input:b,path:[i.discriminator],inst:n}),d)}}),hzn=cn("$ZodIntersection",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,c)=>{const d=s.value,g=i.left._zod.run({value:d,issues:[]},c),b=i.right._zod.run({value:d,issues:[]},c);return g instanceof Promise||b instanceof Promise?Promise.all([g,b]).then(([E,S])=>g8t(s,E,S)):g8t(s,g,b)}});function MDe(n,i){if(n===i)return{valid:!0,data:n};if(n instanceof Date&&i instanceof Date&&+n==+i)return{valid:!0,data:n};if(NM(n)&&NM(i)){const s=Object.keys(i),c=Object.keys(n).filter(g=>s.indexOf(g)!==-1),d={...n,...i};for(const g of c){const b=MDe(n[g],i[g]);if(!b.valid)return{valid:!1,mergeErrorPath:[g,...b.mergeErrorPath]};d[g]=b.data}return{valid:!0,data:d}}if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length)return{valid:!1,mergeErrorPath:[]};const s=[];for(let c=0;c<n.length;c++){const d=n[c],g=i[c],b=MDe(d,g);if(!b.valid)return{valid:!1,mergeErrorPath:[c,...b.mergeErrorPath]};s.push(b.data)}return{valid:!0,data:s}}return{valid:!1,mergeErrorPath:[]}}function g8t(n,i,s){const c=new Map;let d;for(const w of i.issues)if(w.code==="unrecognized_keys"){d??(d=w);for(const E of w.keys)c.has(E)||c.set(E,{}),c.get(E).l=!0}else n.issues.push(w);for(const w of s.issues)if(w.code==="unrecognized_keys")for(const E of w.keys)c.has(E)||c.set(E,{}),c.get(E).r=!0;else n.issues.push(w);const g=[...c].filter(([,w])=>w.l&&w.r).map(([w])=>w);if(g.length&&d&&n.issues.push({...d,keys:g}),G5(n))return n;const b=MDe(i.value,s.value);if(!b.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(b.mergeErrorPath)}`);return n.value=b.data,n}const pzn=cn("$ZodRecord",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,c)=>{const d=s.value;if(!NM(d))return s.issues.push({expected:"record",code:"invalid_type",input:d,inst:n}),s;const g=[],b=i.keyType._zod.values;if(b){s.value={};const w=new Set;for(const S of b)if(typeof S=="string"||typeof S=="number"||typeof S=="symbol"){w.add(typeof S=="number"?S.toString():S);const x=i.valueType._zod.run({value:d[S],issues:[]},c);x instanceof Promise?g.push(x.then(A=>{A.issues.length&&s.issues.push(...q5(S,A.issues)),s.value[S]=A.value})):(x.issues.length&&s.issues.push(...q5(S,x.issues)),s.value[S]=x.value)}let E;for(const S in d)w.has(S)||(E=E??[],E.push(S));E&&E.length>0&&s.issues.push({code:"unrecognized_keys",input:d,inst:n,keys:E})}else{s.value={};for(const w of Reflect.ownKeys(d)){if(w==="__proto__")continue;let E=i.keyType._zod.run({value:w,issues:[]},c);if(E instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof w=="string"&&gVt.test(w)&&E.issues.length&&E.issues.some(A=>A.code==="invalid_type"&&A.expected==="number")){const A=i.keyType._zod.run({value:Number(w),issues:[]},c);if(A instanceof Promise)throw new Error("Async schemas not supported in object keys currently");A.issues.length===0&&(E=A)}if(E.issues.length){i.mode==="loose"?s.value[w]=d[w]:s.issues.push({code:"invalid_key",origin:"record",issues:E.issues.map(A=>pN(A,c,hN())),input:w,path:[w],inst:n});continue}const x=i.valueType._zod.run({value:d[w],issues:[]},c);x instanceof Promise?g.push(x.then(A=>{A.issues.length&&s.issues.push(...q5(w,A.issues)),s.value[E.value]=A.value})):(x.issues.length&&s.issues.push(...q5(w,x.issues)),s.value[E.value]=x.value)}}return g.length?Promise.all(g).then(()=>s):s}}),gzn=cn("$ZodEnum",(n,i)=>{Ku.init(n,i);const s=sVt(i.entries),c=new Set(s);n._zod.values=c,n._zod.pattern=new RegExp(`^(${s.filter(d=>AUn.has(typeof d)).map(d=>typeof d=="string"?CM(d):d.toString()).join("|")})$`),n._zod.parse=(d,g)=>{const b=d.value;return c.has(b)||d.issues.push({code:"invalid_value",values:s,input:b,inst:n}),d}}),bzn=cn("$ZodLiteral",(n,i)=>{if(Ku.init(n,i),i.values.length===0)throw new Error("Cannot create literal schema with no valid values");const s=new Set(i.values);n._zod.values=s,n._zod.pattern=new RegExp(`^(${i.values.map(c=>typeof c=="string"?CM(c):c?CM(c.toString()):String(c)).join("|")})$`),n._zod.parse=(c,d)=>{const g=c.value;return s.has(g)||c.issues.push({code:"invalid_value",values:i.values,input:g,inst:n}),c}}),mzn=cn("$ZodTransform",(n,i)=>{Ku.init(n,i),n._zod.parse=(s,c)=>{if(c.direction==="backward")throw new iVt(n.constructor.name);const d=i.transform(s.value,s);if(c.async)return(d instanceof Promise?d:Promise.resolve(d)).then(b=>(s.value=b,s));if(d instanceof Promise)throw new sM;return s.value=d,s}});function b8t(n,i){return n.issues.length&&i===void 0?{issues:[],value:void 0}:n}const AVt=cn("$ZodOptional",(n,i)=>{Ku.init(n,i),n._zod.optin="optional",n._zod.optout="optional",Ys(n._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,void 0]):void 0),Ys(n._zod,"pattern",()=>{const s=i.innerType._zod.pattern;return s?new RegExp(`^(${cMe(s.source)})?$`):void 0}),n._zod.parse=(s,c)=>{if(i.innerType._zod.optin==="optional"){const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>b8t(g,s.value)):b8t(d,s.value)}return s.value===void 0?s:i.innerType._zod.run(s,c)}}),wzn=cn("$ZodExactOptional",(n,i)=>{AVt.init(n,i),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"pattern",()=>i.innerType._zod.pattern),n._zod.parse=(s,c)=>i.innerType._zod.run(s,c)}),yzn=cn("$ZodNullable",(n,i)=>{Ku.init(n,i),Ys(n._zod,"optin",()=>i.innerType._zod.optin),Ys(n._zod,"optout",()=>i.innerType._zod.optout),Ys(n._zod,"pattern",()=>{const s=i.innerType._zod.pattern;return s?new RegExp(`^(${cMe(s.source)}|null)$`):void 0}),Ys(n._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,null]):void 0),n._zod.parse=(s,c)=>s.value===null?s:i.innerType._zod.run(s,c)}),vzn=cn("$ZodDefault",(n,i)=>{Ku.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,c)=>{if(c.direction==="backward")return i.innerType._zod.run(s,c);if(s.value===void 0)return s.value=i.defaultValue,s;const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>m8t(g,i)):m8t(d,i)}});function m8t(n,i){return n.value===void 0&&(n.value=i.defaultValue),n}const Ezn=cn("$ZodPrefault",(n,i)=>{Ku.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,c)=>(c.direction==="backward"||s.value===void 0&&(s.value=i.defaultValue),i.innerType._zod.run(s,c))}),Szn=cn("$ZodNonOptional",(n,i)=>{Ku.init(n,i),Ys(n._zod,"values",()=>{const s=i.innerType._zod.values;return s?new Set([...s].filter(c=>c!==void 0)):void 0}),n._zod.parse=(s,c)=>{const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>w8t(g,n)):w8t(d,n)}});function w8t(n,i){return!n.issues.length&&n.value===void 0&&n.issues.push({code:"invalid_type",expected:"nonoptional",input:n.value,inst:i}),n}const Tzn=cn("$ZodCatch",(n,i)=>{Ku.init(n,i),Ys(n._zod,"optin",()=>i.innerType._zod.optin),Ys(n._zod,"optout",()=>i.innerType._zod.optout),Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,c)=>{if(c.direction==="backward")return i.innerType._zod.run(s,c);const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>(s.value=g.value,g.issues.length&&(s.value=i.catchValue({...s,error:{issues:g.issues.map(b=>pN(b,c,hN()))},input:s.value}),s.issues=[]),s)):(s.value=d.value,d.issues.length&&(s.value=i.catchValue({...s,error:{issues:d.issues.map(g=>pN(g,c,hN()))},input:s.value}),s.issues=[]),s)}}),Azn=cn("$ZodPipe",(n,i)=>{Ku.init(n,i),Ys(n._zod,"values",()=>i.in._zod.values),Ys(n._zod,"optin",()=>i.in._zod.optin),Ys(n._zod,"optout",()=>i.out._zod.optout),Ys(n._zod,"propValues",()=>i.in._zod.propValues),n._zod.parse=(s,c)=>{if(c.direction==="backward"){const g=i.out._zod.run(s,c);return g instanceof Promise?g.then(b=>Cie(b,i.in,c)):Cie(g,i.in,c)}const d=i.in._zod.run(s,c);return d instanceof Promise?d.then(g=>Cie(g,i.out,c)):Cie(d,i.out,c)}});function Cie(n,i,s){return n.issues.length?(n.aborted=!0,n):i._zod.run({value:n.value,issues:n.issues},s)}const _zn=cn("$ZodReadonly",(n,i)=>{Ku.init(n,i),Ys(n._zod,"propValues",()=>i.innerType._zod.propValues),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"optin",()=>{var s,c;return(c=(s=i.innerType)==null?void 0:s._zod)==null?void 0:c.optin}),Ys(n._zod,"optout",()=>{var s,c;return(c=(s=i.innerType)==null?void 0:s._zod)==null?void 0:c.optout}),n._zod.parse=(s,c)=>{if(c.direction==="backward")return i.innerType._zod.run(s,c);const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(y8t):y8t(d)}});function y8t(n){return n.value=Object.freeze(n.value),n}const xzn=cn("$ZodLazy",(n,i)=>{Ku.init(n,i),Ys(n._zod,"innerType",()=>i.getter()),Ys(n._zod,"pattern",()=>{var s,c;return(c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.pattern}),Ys(n._zod,"propValues",()=>{var s,c;return(c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.propValues}),Ys(n._zod,"optin",()=>{var s,c;return((c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.optin)??void 0}),Ys(n._zod,"optout",()=>{var s,c;return((c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.optout)??void 0}),n._zod.parse=(s,c)=>n._zod.innerType._zod.run(s,c)}),kzn=cn("$ZodCustom",(n,i)=>{hb.init(n,i),Ku.init(n,i),n._zod.parse=(s,c)=>s,n._zod.check=s=>{const c=s.value,d=i.fn(c);if(d instanceof Promise)return d.then(g=>v8t(g,s,c,n));v8t(d,s,c,n)}});function v8t(n,i,s,c){if(!n){const d={code:"custom",input:s,inst:c,path:[...c._zod.def.path??[]],continue:!c._zod.def.abort};c._zod.def.params&&(d.params=c._zod.def.params),i.issues.push(oz(d))}}var E8t;class Nzn{constructor(){this._map=new WeakMap,this._idmap=new Map}add(i,...s){const c=s[0];return this._map.set(i,c),c&&typeof c=="object"&&"id"in c&&this._idmap.set(c.id,i),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(i){const s=this._map.get(i);return s&&typeof s=="object"&&"id"in s&&this._idmap.delete(s.id),this._map.delete(i),this}get(i){const s=i._zod.parent;if(s){const c={...this.get(s)??{}};delete c.id;const d={...c,...this._map.get(i)};return Object.keys(d).length?d:void 0}return this._map.get(i)}has(i){return this._map.has(i)}}function Czn(){return new Nzn}(E8t=globalThis).__zod_globalRegistry??(E8t.__zod_globalRegistry=Czn());const ZU=globalThis.__zod_globalRegistry;function Izn(n,i){return new n({type:"string",...wi(i)})}function Rzn(n,i){return new n({type:"string",format:"email",check:"string_format",abort:!1,...wi(i)})}function S8t(n,i){return new n({type:"string",format:"guid",check:"string_format",abort:!1,...wi(i)})}function Ozn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,...wi(i)})}function Dzn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...wi(i)})}function Lzn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...wi(i)})}function Mzn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...wi(i)})}function Pzn(n,i){return new n({type:"string",format:"url",check:"string_format",abort:!1,...wi(i)})}function jzn(n,i){return new n({type:"string",format:"emoji",check:"string_format",abort:!1,...wi(i)})}function Fzn(n,i){return new n({type:"string",format:"nanoid",check:"string_format",abort:!1,...wi(i)})}function $zn(n,i){return new n({type:"string",format:"cuid",check:"string_format",abort:!1,...wi(i)})}function Bzn(n,i){return new n({type:"string",format:"cuid2",check:"string_format",abort:!1,...wi(i)})}function Uzn(n,i){return new n({type:"string",format:"ulid",check:"string_format",abort:!1,...wi(i)})}function Hzn(n,i){return new n({type:"string",format:"xid",check:"string_format",abort:!1,...wi(i)})}function zzn(n,i){return new n({type:"string",format:"ksuid",check:"string_format",abort:!1,...wi(i)})}function Gzn(n,i){return new n({type:"string",format:"ipv4",check:"string_format",abort:!1,...wi(i)})}function qzn(n,i){return new n({type:"string",format:"ipv6",check:"string_format",abort:!1,...wi(i)})}function Vzn(n,i){return new n({type:"string",format:"cidrv4",check:"string_format",abort:!1,...wi(i)})}function Wzn(n,i){return new n({type:"string",format:"cidrv6",check:"string_format",abort:!1,...wi(i)})}function Kzn(n,i){return new n({type:"string",format:"base64",check:"string_format",abort:!1,...wi(i)})}function Yzn(n,i){return new n({type:"string",format:"base64url",check:"string_format",abort:!1,...wi(i)})}function Jzn(n,i){return new n({type:"string",format:"e164",check:"string_format",abort:!1,...wi(i)})}function Xzn(n,i){return new n({type:"string",format:"jwt",check:"string_format",abort:!1,...wi(i)})}function Zzn(n,i){return new n({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...wi(i)})}function Qzn(n,i){return new n({type:"string",format:"date",check:"string_format",...wi(i)})}function eGn(n,i){return new n({type:"string",format:"time",check:"string_format",precision:null,...wi(i)})}function tGn(n,i){return new n({type:"string",format:"duration",check:"string_format",...wi(i)})}function nGn(n,i){return new n({type:"number",checks:[],...wi(i)})}function rGn(n,i){return new n({type:"number",check:"number_format",abort:!1,format:"safeint",...wi(i)})}function iGn(n,i){return new n({type:"boolean",...wi(i)})}function oGn(n,i){return new n({type:"null",...wi(i)})}function sGn(n){return new n({type:"any"})}function aGn(n){return new n({type:"unknown"})}function uGn(n,i){return new n({type:"never",...wi(i)})}function T8t(n,i){return new mVt({check:"less_than",...wi(i),value:n,inclusive:!1})}function aIe(n,i){return new mVt({check:"less_than",...wi(i),value:n,inclusive:!0})}function A8t(n,i){return new wVt({check:"greater_than",...wi(i),value:n,inclusive:!1})}function uIe(n,i){return new wVt({check:"greater_than",...wi(i),value:n,inclusive:!0})}function _8t(n,i){return new wHn({check:"multiple_of",...wi(i),value:n})}function _Vt(n,i){return new vHn({check:"max_length",...wi(i),maximum:n})}function ose(n,i){return new EHn({check:"min_length",...wi(i),minimum:n})}function xVt(n,i){return new SHn({check:"length_equals",...wi(i),length:n})}function cGn(n,i){return new THn({check:"string_format",format:"regex",...wi(i),pattern:n})}function lGn(n){return new AHn({check:"string_format",format:"lowercase",...wi(n)})}function dGn(n){return new _Hn({check:"string_format",format:"uppercase",...wi(n)})}function fGn(n,i){return new xHn({check:"string_format",format:"includes",...wi(i),includes:n})}function hGn(n,i){return new kHn({check:"string_format",format:"starts_with",...wi(i),prefix:n})}function pGn(n,i){return new NHn({check:"string_format",format:"ends_with",...wi(i),suffix:n})}function UM(n){return new CHn({check:"overwrite",tx:n})}function gGn(n){return UM(i=>i.normalize(n))}function bGn(){return UM(n=>n.trim())}function mGn(){return UM(n=>n.toLowerCase())}function wGn(){return UM(n=>n.toUpperCase())}function yGn(){return UM(n=>SUn(n))}function vGn(n,i,s){return new n({type:"array",element:i,...wi(s)})}function EGn(n,i,s){return new n({type:"custom",check:"custom",fn:i,...wi(s)})}function SGn(n){const i=TGn(s=>(s.addIssue=c=>{if(typeof c=="string")s.issues.push(oz(c,s.value,i._zod.def));else{const d=c;d.fatal&&(d.continue=!1),d.code??(d.code="custom"),d.input??(d.input=s.value),d.inst??(d.inst=i),d.continue??(d.continue=!i._zod.def.abort),s.issues.push(oz(d))}},n(s.value,s)));return i}function TGn(n,i){const s=new hb({check:"custom",...wi(i)});return s._zod.check=n,s}function kVt(n){let i=(n==null?void 0:n.target)??"draft-2020-12";return i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),{processors:n.processors??{},metadataRegistry:(n==null?void 0:n.metadata)??ZU,target:i,unrepresentable:(n==null?void 0:n.unrepresentable)??"throw",override:(n==null?void 0:n.override)??(()=>{}),io:(n==null?void 0:n.io)??"output",counter:0,seen:new Map,cycles:(n==null?void 0:n.cycles)??"ref",reused:(n==null?void 0:n.reused)??"inline",external:(n==null?void 0:n.external)??void 0}}function gd(n,i,s={path:[],schemaPath:[]}){var x,A;var c;const d=n._zod.def,g=i.seen.get(n);if(g)return g.count++,s.schemaPath.includes(n)&&(g.cycle=s.path),g.schema;const b={schema:{},count:1,cycle:void 0,path:s.path};i.seen.set(n,b);const w=(A=(x=n._zod).toJSONSchema)==null?void 0:A.call(x);if(w)b.schema=w;else{const C={...s,schemaPath:[...s.schemaPath,n],path:s.path};if(n._zod.processJSONSchema)n._zod.processJSONSchema(i,b.schema,C);else{const L=b.schema,D=i.processors[d.type];if(!D)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${d.type}`);D(n,i,L,C)}const R=n._zod.parent;R&&(b.ref||(b.ref=R),gd(R,i,C),i.seen.get(R).isParent=!0)}const E=i.metadataRegistry.get(n);return E&&Object.assign(b.schema,E),i.io==="input"&&$g(n)&&(delete b.schema.examples,delete b.schema.default),i.io==="input"&&b.schema._prefault&&((c=b.schema).default??(c.default=b.schema._prefault)),delete b.schema._prefault,i.seen.get(n).schema}function NVt(n,i){var b,w,E,S;const s=n.seen.get(i);if(!s)throw new Error("Unprocessed schema. This is a bug in Zod.");const c=new Map;for(const x of n.seen.entries()){const A=(b=n.metadataRegistry.get(x[0]))==null?void 0:b.id;if(A){const C=c.get(A);if(C&&C!==x[0])throw new Error(`Duplicate schema id "${A}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);c.set(A,x[0])}}const d=x=>{var D;const A=n.target==="draft-2020-12"?"$defs":"definitions";if(n.external){const B=(D=n.external.registry.get(x[0]))==null?void 0:D.id,$=n.external.uri??(P=>P);if(B)return{ref:$(B)};const j=x[1].defId??x[1].schema.id??`schema${n.counter++}`;return x[1].defId=j,{defId:j,ref:`${$("__shared")}#/${A}/${j}`}}if(x[1]===s)return{ref:"#"};const R=`#/${A}/`,L=x[1].schema.id??`__schema${n.counter++}`;return{defId:L,ref:R+L}},g=x=>{if(x[1].schema.$ref)return;const A=x[1],{ref:C,defId:R}=d(x);A.def={...A.schema},R&&(A.defId=R);const L=A.schema;for(const D in L)delete L[D];L.$ref=C};if(n.cycles==="throw")for(const x of n.seen.entries()){const A=x[1];if(A.cycle)throw new Error(`Cycle detected: #/${(w=A.cycle)==null?void 0:w.join("/")}/<root>
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const x of n.seen.entries()){const A=x[1];if(i===x[0]){g(x);continue}if(n.external){const R=(E=n.external.registry.get(x[0]))==null?void 0:E.id;if(i!==x[0]&&R){g(x);continue}}if((S=n.metadataRegistry.get(x[0]))==null?void 0:S.id){g(x);continue}if(A.cycle){g(x);continue}if(A.count>1&&n.reused==="ref"){g(x);continue}}}function CVt(n,i){var b,w,E;const s=n.seen.get(i);if(!s)throw new Error("Unprocessed schema. This is a bug in Zod.");const c=S=>{const x=n.seen.get(S);if(x.ref===null)return;const A=x.def??x.schema,C={...A},R=x.ref;if(x.ref=null,R){c(R);const D=n.seen.get(R),B=D.schema;if(B.$ref&&(n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0")?(A.allOf=A.allOf??[],A.allOf.push(B)):Object.assign(A,B),Object.assign(A,C),S._zod.parent===R)for(const j in A)j==="$ref"||j==="allOf"||j in C||delete A[j];if(B.$ref)for(const j in A)j==="$ref"||j==="allOf"||j in D.def&&JSON.stringify(A[j])===JSON.stringify(D.def[j])&&delete A[j]}const L=S._zod.parent;if(L&&L!==R){c(L);const D=n.seen.get(L);if(D!=null&&D.schema.$ref&&(A.$ref=D.schema.$ref,D.def))for(const B in A)B==="$ref"||B==="allOf"||B in D.def&&JSON.stringify(A[B])===JSON.stringify(D.def[B])&&delete A[B]}n.override({zodSchema:S,jsonSchema:A,path:x.path??[]})};for(const S of[...n.seen.entries()].reverse())c(S[0]);const d={};if(n.target==="draft-2020-12"?d.$schema="https://json-schema.org/draft/2020-12/schema":n.target==="draft-07"?d.$schema="http://json-schema.org/draft-07/schema#":n.target==="draft-04"?d.$schema="http://json-schema.org/draft-04/schema#":n.target,(b=n.external)!=null&&b.uri){const S=(w=n.external.registry.get(i))==null?void 0:w.id;if(!S)throw new Error("Schema is missing an `id` property");d.$id=n.external.uri(S)}Object.assign(d,s.def??s.schema);const g=((E=n.external)==null?void 0:E.defs)??{};for(const S of n.seen.entries()){const x=S[1];x.def&&x.defId&&(g[x.defId]=x.def)}n.external||Object.keys(g).length>0&&(n.target==="draft-2020-12"?d.$defs=g:d.definitions=g);try{const S=JSON.parse(JSON.stringify(d));return Object.defineProperty(S,"~standard",{value:{...i["~standard"],jsonSchema:{input:sse(i,"input",n.processors),output:sse(i,"output",n.processors)}},enumerable:!1,writable:!1}),S}catch{throw new Error("Error converting schema to JSON.")}}function $g(n,i){const s=i??{seen:new Set};if(s.seen.has(n))return!1;s.seen.add(n);const c=n._zod.def;if(c.type==="transform")return!0;if(c.type==="array")return $g(c.element,s);if(c.type==="set")return $g(c.valueType,s);if(c.type==="lazy")return $g(c.getter(),s);if(c.type==="promise"||c.type==="optional"||c.type==="nonoptional"||c.type==="nullable"||c.type==="readonly"||c.type==="default"||c.type==="prefault")return $g(c.innerType,s);if(c.type==="intersection")return $g(c.left,s)||$g(c.right,s);if(c.type==="record"||c.type==="map")return $g(c.keyType,s)||$g(c.valueType,s);if(c.type==="pipe")return $g(c.in,s)||$g(c.out,s);if(c.type==="object"){for(const d in c.shape)if($g(c.shape[d],s))return!0;return!1}if(c.type==="union"){for(const d of c.options)if($g(d,s))return!0;return!1}if(c.type==="tuple"){for(const d of c.items)if($g(d,s))return!0;return!!(c.rest&&$g(c.rest,s))}return!1}const AGn=(n,i={})=>s=>{const c=kVt({...s,processors:i});return gd(n,c),NVt(c,n),CVt(c,n)},sse=(n,i,s={})=>c=>{const{libraryOptions:d,target:g}=c??{},b=kVt({...d??{},target:g,io:i,processors:s});return gd(n,b),NVt(b,n),CVt(b,n)},_Gn={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xGn=(n,i,s,c)=>{const d=s;d.type="string";const{minimum:g,maximum:b,format:w,patterns:E,contentEncoding:S}=n._zod.bag;if(typeof g=="number"&&(d.minLength=g),typeof b=="number"&&(d.maxLength=b),w&&(d.format=_Gn[w]??w,d.format===""&&delete d.format,w==="time"&&delete d.format),S&&(d.contentEncoding=S),E&&E.size>0){const x=[...E];x.length===1?d.pattern=x[0].source:x.length>1&&(d.allOf=[...x.map(A=>({...i.target==="draft-07"||i.target==="draft-04"||i.target==="openapi-3.0"?{type:"string"}:{},pattern:A.source}))])}},kGn=(n,i,s,c)=>{const d=s,{minimum:g,maximum:b,format:w,multipleOf:E,exclusiveMaximum:S,exclusiveMinimum:x}=n._zod.bag;typeof w=="string"&&w.includes("int")?d.type="integer":d.type="number",typeof x=="number"&&(i.target==="draft-04"||i.target==="openapi-3.0"?(d.minimum=x,d.exclusiveMinimum=!0):d.exclusiveMinimum=x),typeof g=="number"&&(d.minimum=g,typeof x=="number"&&i.target!=="draft-04"&&(x>=g?delete d.minimum:delete d.exclusiveMinimum)),typeof S=="number"&&(i.target==="draft-04"||i.target==="openapi-3.0"?(d.maximum=S,d.exclusiveMaximum=!0):d.exclusiveMaximum=S),typeof b=="number"&&(d.maximum=b,typeof S=="number"&&i.target!=="draft-04"&&(S<=b?delete d.maximum:delete d.exclusiveMaximum)),typeof E=="number"&&(d.multipleOf=E)},NGn=(n,i,s,c)=>{s.type="boolean"},CGn=(n,i,s,c)=>{i.target==="openapi-3.0"?(s.type="string",s.nullable=!0,s.enum=[null]):s.type="null"},IGn=(n,i,s,c)=>{s.not={}},RGn=(n,i,s,c)=>{},OGn=(n,i,s,c)=>{},DGn=(n,i,s,c)=>{const d=n._zod.def,g=sVt(d.entries);g.every(b=>typeof b=="number")&&(s.type="number"),g.every(b=>typeof b=="string")&&(s.type="string"),s.enum=g},LGn=(n,i,s,c)=>{const d=n._zod.def,g=[];for(const b of d.values)if(b===void 0){if(i.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof b=="bigint"){if(i.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");g.push(Number(b))}else g.push(b);if(g.length!==0)if(g.length===1){const b=g[0];s.type=b===null?"null":typeof b,i.target==="draft-04"||i.target==="openapi-3.0"?s.enum=[b]:s.const=b}else g.every(b=>typeof b=="number")&&(s.type="number"),g.every(b=>typeof b=="string")&&(s.type="string"),g.every(b=>typeof b=="boolean")&&(s.type="boolean"),g.every(b=>b===null)&&(s.type="null"),s.enum=g},MGn=(n,i,s,c)=>{if(i.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},PGn=(n,i,s,c)=>{if(i.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},jGn=(n,i,s,c)=>{const d=s,g=n._zod.def,{minimum:b,maximum:w}=n._zod.bag;typeof b=="number"&&(d.minItems=b),typeof w=="number"&&(d.maxItems=w),d.type="array",d.items=gd(g.element,i,{...c,path:[...c.path,"items"]})},FGn=(n,i,s,c)=>{var S;const d=s,g=n._zod.def;d.type="object",d.properties={};const b=g.shape;for(const x in b)d.properties[x]=gd(b[x],i,{...c,path:[...c.path,"properties",x]});const w=new Set(Object.keys(b)),E=new Set([...w].filter(x=>{const A=g.shape[x]._zod;return i.io==="input"?A.optin===void 0:A.optout===void 0}));E.size>0&&(d.required=Array.from(E)),((S=g.catchall)==null?void 0:S._zod.def.type)==="never"?d.additionalProperties=!1:g.catchall?g.catchall&&(d.additionalProperties=gd(g.catchall,i,{...c,path:[...c.path,"additionalProperties"]})):i.io==="output"&&(d.additionalProperties=!1)},$Gn=(n,i,s,c)=>{const d=n._zod.def,g=d.inclusive===!1,b=d.options.map((w,E)=>gd(w,i,{...c,path:[...c.path,g?"oneOf":"anyOf",E]}));g?s.oneOf=b:s.anyOf=b},BGn=(n,i,s,c)=>{const d=n._zod.def,g=gd(d.left,i,{...c,path:[...c.path,"allOf",0]}),b=gd(d.right,i,{...c,path:[...c.path,"allOf",1]}),w=S=>"allOf"in S&&Object.keys(S).length===1,E=[...w(g)?g.allOf:[g],...w(b)?b.allOf:[b]];s.allOf=E},UGn=(n,i,s,c)=>{const d=s,g=n._zod.def;d.type="object";const b=g.keyType,w=b._zod.bag,E=w==null?void 0:w.patterns;if(g.mode==="loose"&&E&&E.size>0){const x=gd(g.valueType,i,{...c,path:[...c.path,"patternProperties","*"]});d.patternProperties={};for(const A of E)d.patternProperties[A.source]=x}else(i.target==="draft-07"||i.target==="draft-2020-12")&&(d.propertyNames=gd(g.keyType,i,{...c,path:[...c.path,"propertyNames"]})),d.additionalProperties=gd(g.valueType,i,{...c,path:[...c.path,"additionalProperties"]});const S=b._zod.values;if(S){const x=[...S].filter(A=>typeof A=="string"||typeof A=="number");x.length>0&&(d.required=x)}},HGn=(n,i,s,c)=>{const d=n._zod.def,g=gd(d.innerType,i,c),b=i.seen.get(n);i.target==="openapi-3.0"?(b.ref=d.innerType,s.nullable=!0):s.anyOf=[g,{type:"null"}]},zGn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType},GGn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,s.default=JSON.parse(JSON.stringify(d.defaultValue))},qGn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,i.io==="input"&&(s._prefault=JSON.parse(JSON.stringify(d.defaultValue)))},VGn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType;let b;try{b=d.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}s.default=b},WGn=(n,i,s,c)=>{const d=n._zod.def,g=i.io==="input"?d.in._zod.def.type==="transform"?d.out:d.in:d.out;gd(g,i,c);const b=i.seen.get(n);b.ref=g},KGn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,s.readOnly=!0},IVt=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType},YGn=(n,i,s,c)=>{const d=n._zod.innerType;gd(d,i,c);const g=i.seen.get(n);g.ref=d},JGn=cn("ZodISODateTime",(n,i)=>{zHn.init(n,i),hl.init(n,i)});function XGn(n){return Zzn(JGn,n)}const ZGn=cn("ZodISODate",(n,i)=>{GHn.init(n,i),hl.init(n,i)});function QGn(n){return Qzn(ZGn,n)}const eqn=cn("ZodISOTime",(n,i)=>{qHn.init(n,i),hl.init(n,i)});function tqn(n){return eGn(eqn,n)}const nqn=cn("ZodISODuration",(n,i)=>{VHn.init(n,i),hl.init(n,i)});function rqn(n){return tGn(nqn,n)}const RVt=(n,i)=>{lVt.init(n,i),n.name="ZodError",Object.defineProperties(n,{format:{value:s=>MUn(n,s)},flatten:{value:s=>LUn(n,s)},addIssue:{value:s=>{n.issues.push(s),n.message=JSON.stringify(n.issues,LDe,2)}},addIssues:{value:s=>{n.issues.push(...s),n.message=JSON.stringify(n.issues,LDe,2)}},isEmpty:{get(){return n.issues.length===0}}})},iqn=cn("ZodError",RVt),Nw=cn("ZodError",RVt,{Parent:Error}),oqn=dMe(Nw),sqn=fMe(Nw),aqn=xae(Nw),uqn=kae(Nw),cqn=FUn(Nw),lqn=$Un(Nw),dqn=BUn(Nw),fqn=UUn(Nw),hqn=HUn(Nw),pqn=zUn(Nw),gqn=GUn(Nw),bqn=qUn(Nw),Yu=cn("ZodType",(n,i)=>(Ku.init(n,i),Object.assign(n["~standard"],{jsonSchema:{input:sse(n,"input"),output:sse(n,"output")}}),n.toJSONSchema=AGn(n,{}),n.def=i,n.type=i.type,Object.defineProperty(n,"_def",{value:i}),n.check=(...s)=>n.clone(TN(i,{checks:[...i.checks??[],...s.map(c=>typeof c=="function"?{_zod:{check:c,def:{check:"custom"},onattach:[]}}:c)]}),{parent:!0}),n.with=n.check,n.clone=(s,c)=>AN(n,s,c),n.brand=()=>n,n.register=(s,c)=>(s.add(n,c),n),n.parse=(s,c)=>oqn(n,s,c,{callee:n.parse}),n.safeParse=(s,c)=>aqn(n,s,c),n.parseAsync=async(s,c)=>sqn(n,s,c,{callee:n.parseAsync}),n.safeParseAsync=async(s,c)=>uqn(n,s,c),n.spa=n.safeParseAsync,n.encode=(s,c)=>cqn(n,s,c),n.decode=(s,c)=>lqn(n,s,c),n.encodeAsync=async(s,c)=>dqn(n,s,c),n.decodeAsync=async(s,c)=>fqn(n,s,c),n.safeEncode=(s,c)=>hqn(n,s,c),n.safeDecode=(s,c)=>pqn(n,s,c),n.safeEncodeAsync=async(s,c)=>gqn(n,s,c),n.safeDecodeAsync=async(s,c)=>bqn(n,s,c),n.refine=(s,c)=>n.check(hVn(s,c)),n.superRefine=s=>n.check(pVn(s)),n.overwrite=s=>n.check(UM(s)),n.optional=()=>C8t(n),n.exactOptional=()=>Qqn(n),n.nullable=()=>I8t(n),n.nullish=()=>C8t(I8t(n)),n.nonoptional=s=>oVn(n,s),n.array=()=>cs(n),n.or=s=>Yi([n,s]),n.and=s=>Wqn(n,s),n.transform=s=>R8t(n,Xqn(s)),n.default=s=>nVn(n,s),n.prefault=s=>iVn(n,s),n.catch=s=>aVn(n,s),n.pipe=s=>R8t(n,s),n.readonly=()=>lVn(n),n.describe=s=>{const c=n.clone();return ZU.add(c,{description:s}),c},Object.defineProperty(n,"description",{get(){var s;return(s=ZU.get(n))==null?void 0:s.description},configurable:!0}),n.meta=(...s)=>{if(s.length===0)return ZU.get(n);const c=n.clone();return ZU.add(c,s[0]),c},n.isOptional=()=>n.safeParse(void 0).success,n.isNullable=()=>n.safeParse(null).success,n.apply=s=>s(n),n)),OVt=cn("_ZodString",(n,i)=>{hMe.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(c,d,g)=>xGn(n,c,d);const s=n._zod.bag;n.format=s.format??null,n.minLength=s.minimum??null,n.maxLength=s.maximum??null,n.regex=(...c)=>n.check(cGn(...c)),n.includes=(...c)=>n.check(fGn(...c)),n.startsWith=(...c)=>n.check(hGn(...c)),n.endsWith=(...c)=>n.check(pGn(...c)),n.min=(...c)=>n.check(ose(...c)),n.max=(...c)=>n.check(_Vt(...c)),n.length=(...c)=>n.check(xVt(...c)),n.nonempty=(...c)=>n.check(ose(1,...c)),n.lowercase=c=>n.check(lGn(c)),n.uppercase=c=>n.check(dGn(c)),n.trim=()=>n.check(bGn()),n.normalize=(...c)=>n.check(gGn(...c)),n.toLowerCase=()=>n.check(mGn()),n.toUpperCase=()=>n.check(wGn()),n.slugify=()=>n.check(yGn())}),mqn=cn("ZodString",(n,i)=>{hMe.init(n,i),OVt.init(n,i),n.email=s=>n.check(Rzn(wqn,s)),n.url=s=>n.check(Pzn(yqn,s)),n.jwt=s=>n.check(Xzn(Lqn,s)),n.emoji=s=>n.check(jzn(vqn,s)),n.guid=s=>n.check(S8t(x8t,s)),n.uuid=s=>n.check(Ozn(Iie,s)),n.uuidv4=s=>n.check(Dzn(Iie,s)),n.uuidv6=s=>n.check(Lzn(Iie,s)),n.uuidv7=s=>n.check(Mzn(Iie,s)),n.nanoid=s=>n.check(Fzn(Eqn,s)),n.guid=s=>n.check(S8t(x8t,s)),n.cuid=s=>n.check($zn(Sqn,s)),n.cuid2=s=>n.check(Bzn(Tqn,s)),n.ulid=s=>n.check(Uzn(Aqn,s)),n.base64=s=>n.check(Kzn(Rqn,s)),n.base64url=s=>n.check(Yzn(Oqn,s)),n.xid=s=>n.check(Hzn(_qn,s)),n.ksuid=s=>n.check(zzn(xqn,s)),n.ipv4=s=>n.check(Gzn(kqn,s)),n.ipv6=s=>n.check(qzn(Nqn,s)),n.cidrv4=s=>n.check(Vzn(Cqn,s)),n.cidrv6=s=>n.check(Wzn(Iqn,s)),n.e164=s=>n.check(Jzn(Dqn,s)),n.datetime=s=>n.check(XGn(s)),n.date=s=>n.check(QGn(s)),n.time=s=>n.check(tqn(s)),n.duration=s=>n.check(rqn(s))});function Jt(n){return Izn(mqn,n)}const hl=cn("ZodStringFormat",(n,i)=>{Pc.init(n,i),OVt.init(n,i)}),wqn=cn("ZodEmail",(n,i)=>{LHn.init(n,i),hl.init(n,i)}),x8t=cn("ZodGUID",(n,i)=>{OHn.init(n,i),hl.init(n,i)}),Iie=cn("ZodUUID",(n,i)=>{DHn.init(n,i),hl.init(n,i)}),yqn=cn("ZodURL",(n,i)=>{MHn.init(n,i),hl.init(n,i)}),vqn=cn("ZodEmoji",(n,i)=>{PHn.init(n,i),hl.init(n,i)}),Eqn=cn("ZodNanoID",(n,i)=>{jHn.init(n,i),hl.init(n,i)}),Sqn=cn("ZodCUID",(n,i)=>{FHn.init(n,i),hl.init(n,i)}),Tqn=cn("ZodCUID2",(n,i)=>{$Hn.init(n,i),hl.init(n,i)}),Aqn=cn("ZodULID",(n,i)=>{BHn.init(n,i),hl.init(n,i)}),_qn=cn("ZodXID",(n,i)=>{UHn.init(n,i),hl.init(n,i)}),xqn=cn("ZodKSUID",(n,i)=>{HHn.init(n,i),hl.init(n,i)}),kqn=cn("ZodIPv4",(n,i)=>{WHn.init(n,i),hl.init(n,i)}),Nqn=cn("ZodIPv6",(n,i)=>{KHn.init(n,i),hl.init(n,i)}),Cqn=cn("ZodCIDRv4",(n,i)=>{YHn.init(n,i),hl.init(n,i)}),Iqn=cn("ZodCIDRv6",(n,i)=>{JHn.init(n,i),hl.init(n,i)}),Rqn=cn("ZodBase64",(n,i)=>{XHn.init(n,i),hl.init(n,i)}),Oqn=cn("ZodBase64URL",(n,i)=>{QHn.init(n,i),hl.init(n,i)}),Dqn=cn("ZodE164",(n,i)=>{ezn.init(n,i),hl.init(n,i)}),Lqn=cn("ZodJWT",(n,i)=>{nzn.init(n,i),hl.init(n,i)}),DVt=cn("ZodNumber",(n,i)=>{vVt.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(c,d,g)=>kGn(n,c,d),n.gt=(c,d)=>n.check(A8t(c,d)),n.gte=(c,d)=>n.check(uIe(c,d)),n.min=(c,d)=>n.check(uIe(c,d)),n.lt=(c,d)=>n.check(T8t(c,d)),n.lte=(c,d)=>n.check(aIe(c,d)),n.max=(c,d)=>n.check(aIe(c,d)),n.int=c=>n.check(k8t(c)),n.safe=c=>n.check(k8t(c)),n.positive=c=>n.check(A8t(0,c)),n.nonnegative=c=>n.check(uIe(0,c)),n.negative=c=>n.check(T8t(0,c)),n.nonpositive=c=>n.check(aIe(0,c)),n.multipleOf=(c,d)=>n.check(_8t(c,d)),n.step=(c,d)=>n.check(_8t(c,d)),n.finite=()=>n;const s=n._zod.bag;n.minValue=Math.max(s.minimum??Number.NEGATIVE_INFINITY,s.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,n.maxValue=Math.min(s.maximum??Number.POSITIVE_INFINITY,s.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,n.isInt=(s.format??"").includes("int")||Number.isSafeInteger(s.multipleOf??.5),n.isFinite=!0,n.format=s.format??null});function pa(n){return nGn(DVt,n)}const Mqn=cn("ZodNumberFormat",(n,i)=>{rzn.init(n,i),DVt.init(n,i)});function k8t(n){return rGn(Mqn,n)}const Pqn=cn("ZodBoolean",(n,i)=>{izn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>NGn(n,s,c)});function Ew(n){return iGn(Pqn,n)}const jqn=cn("ZodNull",(n,i)=>{ozn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>CGn(n,s,c)});function N8t(n){return oGn(jqn,n)}const Fqn=cn("ZodAny",(n,i)=>{szn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>RGn()});function $qn(){return sGn(Fqn)}const Bqn=cn("ZodUnknown",(n,i)=>{azn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>OGn()});function Du(){return aGn(Bqn)}const Uqn=cn("ZodNever",(n,i)=>{uzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>IGn(n,s,c)});function Hqn(n){return uGn(Uqn,n)}const zqn=cn("ZodArray",(n,i)=>{czn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>jGn(n,s,c,d),n.element=i.element,n.min=(s,c)=>n.check(ose(s,c)),n.nonempty=s=>n.check(ose(1,s)),n.max=(s,c)=>n.check(_Vt(s,c)),n.length=(s,c)=>n.check(xVt(s,c)),n.unwrap=()=>n.element});function cs(n,i){return vGn(zqn,n,i)}const LVt=cn("ZodObject",(n,i)=>{dzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>FGn(n,s,c,d),Ys(n,"shape",()=>i.shape),n.keyof=()=>Gg(Object.keys(n._zod.def.shape)),n.catchall=s=>n.clone({...n._zod.def,catchall:s}),n.passthrough=()=>n.clone({...n._zod.def,catchall:Du()}),n.loose=()=>n.clone({...n._zod.def,catchall:Du()}),n.strict=()=>n.clone({...n._zod.def,catchall:Hqn()}),n.strip=()=>n.clone({...n._zod.def,catchall:void 0}),n.extend=s=>CUn(n,s),n.safeExtend=s=>IUn(n,s),n.merge=s=>RUn(n,s),n.pick=s=>kUn(n,s),n.omit=s=>NUn(n,s),n.partial=(...s)=>OUn(PVt,n,s[0]),n.required=(...s)=>DUn(jVt,n,s[0])});function Su(n,i){const s={type:"object",shape:n??{},...wi(i)};return new LVt(s)}function $p(n,i){return new LVt({type:"object",shape:n,catchall:Du(),...wi(i)})}const MVt=cn("ZodUnion",(n,i)=>{TVt.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>$Gn(n,s,c,d),n.options=i.options});function Yi(n,i){return new MVt({type:"union",options:n,...wi(i)})}const Gqn=cn("ZodDiscriminatedUnion",(n,i)=>{MVt.init(n,i),fzn.init(n,i)});function qqn(n,i,s){return new Gqn({type:"union",options:i,discriminator:n,...wi(s)})}const Vqn=cn("ZodIntersection",(n,i)=>{hzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>BGn(n,s,c,d)});function Wqn(n,i){return new Vqn({type:"intersection",left:n,right:i})}const Kqn=cn("ZodRecord",(n,i)=>{pzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>UGn(n,s,c,d),n.keyType=i.keyType,n.valueType=i.valueType});function yf(n,i,s){return new Kqn({type:"record",keyType:n,valueType:i,...wi(s)})}const PDe=cn("ZodEnum",(n,i)=>{gzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(c,d,g)=>DGn(n,c,d),n.enum=i.entries,n.options=Object.values(i.entries);const s=new Set(Object.keys(i.entries));n.extract=(c,d)=>{const g={};for(const b of c)if(s.has(b))g[b]=i.entries[b];else throw new Error(`Key ${b} not found in enum`);return new PDe({...i,checks:[],...wi(d),entries:g})},n.exclude=(c,d)=>{const g={...i.entries};for(const b of c)if(s.has(b))delete g[b];else throw new Error(`Key ${b} not found in enum`);return new PDe({...i,checks:[],...wi(d),entries:g})}});function Gg(n,i){const s=Array.isArray(n)?Object.fromEntries(n.map(c=>[c,c])):n;return new PDe({type:"enum",entries:s,...wi(i)})}const Yqn=cn("ZodLiteral",(n,i)=>{bzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>LGn(n,s,c),n.values=new Set(i.values),Object.defineProperty(n,"value",{get(){if(i.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return i.values[0]}})});function _N(n,i){return new Yqn({type:"literal",values:Array.isArray(n)?n:[n],...wi(i)})}const Jqn=cn("ZodTransform",(n,i)=>{mzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>PGn(n,s),n._zod.parse=(s,c)=>{if(c.direction==="backward")throw new iVt(n.constructor.name);s.addIssue=g=>{if(typeof g=="string")s.issues.push(oz(g,s.value,i));else{const b=g;b.fatal&&(b.continue=!1),b.code??(b.code="custom"),b.input??(b.input=s.value),b.inst??(b.inst=n),s.issues.push(oz(b))}};const d=i.transform(s.value,s);return d instanceof Promise?d.then(g=>(s.value=g,s)):(s.value=d,s)}});function Xqn(n){return new Jqn({type:"transform",transform:n})}const PVt=cn("ZodOptional",(n,i)=>{AVt.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>IVt(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function C8t(n){return new PVt({type:"optional",innerType:n})}const Zqn=cn("ZodExactOptional",(n,i)=>{wzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>IVt(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function Qqn(n){return new Zqn({type:"optional",innerType:n})}const eVn=cn("ZodNullable",(n,i)=>{yzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>HGn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function I8t(n){return new eVn({type:"nullable",innerType:n})}const tVn=cn("ZodDefault",(n,i)=>{vzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>GGn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType,n.removeDefault=n.unwrap});function nVn(n,i){return new tVn({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():uVt(i)}})}const rVn=cn("ZodPrefault",(n,i)=>{Ezn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>qGn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function iVn(n,i){return new rVn({type:"prefault",innerType:n,get defaultValue(){return typeof i=="function"?i():uVt(i)}})}const jVt=cn("ZodNonOptional",(n,i)=>{Szn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>zGn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function oVn(n,i){return new jVt({type:"nonoptional",innerType:n,...wi(i)})}const sVn=cn("ZodCatch",(n,i)=>{Tzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>VGn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType,n.removeCatch=n.unwrap});function aVn(n,i){return new sVn({type:"catch",innerType:n,catchValue:typeof i=="function"?i:()=>i})}const uVn=cn("ZodPipe",(n,i)=>{Azn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>WGn(n,s,c,d),n.in=i.in,n.out=i.out});function R8t(n,i){return new uVn({type:"pipe",in:n,out:i})}const cVn=cn("ZodReadonly",(n,i)=>{_zn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>KGn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function lVn(n){return new cVn({type:"readonly",innerType:n})}const dVn=cn("ZodLazy",(n,i)=>{xzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>YGn(n,s,c,d),n.unwrap=()=>n._zod.def.getter()});function pMe(n){return new dVn({type:"lazy",getter:n})}const fVn=cn("ZodCustom",(n,i)=>{kzn.init(n,i),Yu.init(n,i),n._zod.processJSONSchema=(s,c,d)=>MGn(n,s)});function hVn(n,i={}){return EGn(fVn,n,i)}function pVn(n){return SGn(n)}const Pl={custom:"custom"};Jt().min(1).brand();const O8t=Jt().regex(/^[a-z_]+\.[a-z0-9_]+$/,"Entity ID must be in format: domain.entity_name (e.g., light.living_room)"),HM=Su({x:pa(),y:pa()});Su({id:Jt(),type:Gg(["source","target"]),position:Gg(["top","bottom","left","right"])});const gVn=Gg(["single","restart","queued","parallel"]),bVn=Gg(["silent","warning","critical"]),FVt=Su({id:Jt().min(1),source:Jt().min(1),target:Jt().min(1),sourceHandle:Jt().nullable().optional(),targetHandle:Jt().nullable().optional(),label:Jt().optional(),animated:Ew().optional()});FVt.extend({sourceHandle:Gg(["true","false"])});const mVn=["sun","mon","tue","wed","thu","fri","sat"],Ug=$p({alias:Jt().optional(),condition:Jt().optional(),enabled:Ew().optional(),entity_id:Yi([Jt(),cs(Jt())]).optional(),state:Yi([Jt(),cs(Jt())]).optional(),value_template:Jt().optional(),after:Jt().optional(),before:Jt().optional(),weekday:cs(Gg(mVn)).optional(),after_offset:Jt().optional(),before_offset:Jt().optional(),zone:Jt().optional(),conditions:cs(pMe(()=>Ug)).optional(),above:Yi([Jt(),pa()]).optional(),below:Yi([Jt(),pa()]).optional(),attribute:Jt().optional(),id:Yi([Jt(),cs(Jt())]).optional()});Gg(["event","template","zone","state","time","time_pattern","mqtt","webhook","sun","numeric_state","homeassistant","device","calendar"]);const gN=$p({alias:Jt().optional(),platform:Jt().optional(),trigger:Jt().optional(),target:$p({entity_id:Yi([Jt(),cs(Jt())])}).optional(),options:$p({}).optional(),entity_id:Yi([Jt(),cs(Jt())]).optional(),from:Yi([Jt(),cs(Jt()),N8t()]).optional(),to:Yi([Jt(),cs(Jt()),N8t()]).optional(),for:Yi([Jt(),pa(),Su({hours:Yi([pa(),Jt()]).optional(),minutes:Yi([pa(),Jt()]).optional(),seconds:Yi([pa(),Jt()]).optional(),milliseconds:Yi([pa(),Jt()]).optional()})]).optional(),at:Du().optional(),offset:Jt().optional(),event:Jt().optional(),event_type:Yi([Jt(),cs(Jt())]).optional(),event_data:yf(Jt(),Du()).optional(),above:Yi([Jt(),pa()]).optional(),below:Yi([Jt(),pa()]).optional(),value_template:Jt().optional(),template:Jt().optional(),webhook_id:Jt().optional(),zone:Jt().optional(),topic:Jt().optional(),payload:Jt().optional(),command:Yi([Jt(),cs(Jt())]).optional()}).transform(n=>{const i=n.trigger??n.platform??"state",{platform:s,...c}=n;return{...c,trigger:i}}),D8t=Su({mode:Gg(["single","restart","queued","parallel"]).default("single"),max:pa().optional(),max_exceeded:Gg(["silent","warning","critical"]).optional(),initial_state:Ew().optional(),hide_entity:Ew().optional(),trace:Su({stored_traces:pa().optional()}).optional()});function wVn(n){return typeof n=="object"&&n!==null&&("condition"in n||"entity_id"in n||"state"in n)}function gMe(n){return typeof n=="object"&&n!==null&&"type"in n&&"device_id"in n&&"domain"in n}const $Vt=Su({version:pa(),nodes:yf(Jt(),Su({x:pa(),y:pa()})),graph_id:Jt(),graph_version:pa(),strategy:Gg(["native","state-machine"])}),L8t=pMe(()=>Su({conditions:Yi([Ug,cs(Ug)]),sequence:Yi([$m,cs($m)]),alias:Jt().optional()})),$m=pMe(()=>$p({service:Jt().optional(),action:Jt().optional(),event:Jt().optional(),event_data:yf(Jt(),Du()).optional(),id:Jt().optional(),alias:Jt().optional(),target:yf(Jt(),Du()).optional(),data:yf(Jt(),Du()).optional(),data_template:yf(Jt(),Du()).optional(),response_variable:Jt().optional(),continue_on_error:Ew().optional(),enabled:Ew().optional(),delay:Yi([Jt(),pa(),yf(Jt(),pa())]).optional(),wait_template:Yi([Jt(),yf(Jt(),Du())]).optional(),timeout:Yi([Jt(),pa(),yf(Jt(),pa())]).optional(),continue_on_timeout:Ew().optional(),wait_for_trigger:Yi([gN,cs(gN)]).optional(),choose:Yi([L8t,cs(L8t)]).optional(),default:cs($m).optional(),if:cs(Ug).optional(),then:cs($m).optional(),else:cs($m).optional(),variables:yf(Jt(),Du()).optional(),repeat:Su({count:Yi([Jt(),pa()]).optional(),while:cs(Ug).optional(),until:Yi([Jt(),cs(Jt()),cs(Ug)]).optional(),sequence:cs($m)}).optional()})),yVn=Su({id:Jt().optional(),alias:Jt().optional(),description:Jt().optional(),trigger_variables:yf(Jt(),Du()).optional(),trigger:Yi([gN,cs(gN)]).optional(),condition:Yi([Ug,cs(Ug)]).optional(),action:Yi([$m,cs($m)]),mode:Gg(["single","restart","queued","parallel"]).optional().default("single"),max:pa().optional(),max_exceeded:Gg(["silent","warning"]).optional(),initial_state:Ew().optional(),hide_entity:Ew().optional(),trace:yf(Jt(),Du()).optional(),variables:Su({_cafe_metadata:$Vt.optional()}).catchall(Du()).optional()});yVn.omit({action:!0}).extend({action:Yi([$m,cs($m)]).optional(),sequence:Yi([$m,cs($m)])});const vVn=$p({id:Jt().optional(),alias:Jt().optional(),delay:Yi([Jt(),$p({hours:Yi([pa(),Jt()]).optional(),minutes:Yi([pa(),Jt()]).optional(),seconds:Yi([pa(),Jt()]).optional(),milliseconds:Yi([pa(),Jt()]).optional()})])}),EVn=$p({id:Jt().optional(),alias:Jt().optional(),wait_template:Jt().optional(),wait_for_trigger:cs(gN).optional(),timeout:Yi([Jt(),$p({hours:Yi([pa(),Jt()]).optional(),minutes:Yi([pa(),Jt()]).optional(),seconds:Yi([pa(),Jt()]).optional(),milliseconds:Yi([pa(),Jt()]).optional()})]).optional(),continue_on_timeout:Ew().optional()}).refine(n=>n.wait_template===void 0||n.wait_for_trigger===void 0,{message:"Provide either `wait_template` or `wait_for_trigger`, but not both.",path:["wait_template"]}),SVn=$p({id:Jt().optional(),alias:Jt().optional(),variables:yf(Jt(),Du())}),TVn=$p({id:Jt().min(1),type:_N("trigger"),position:HM,data:gN}),AVn=$p({id:Jt().min(1),type:_N("condition"),position:HM,data:Ug}),_Vn=$p({id:Jt().min(1),type:_N("action"),position:HM,data:$m}),xVn=$p({id:Jt().min(1),type:_N("delay"),position:HM,data:vVn}),kVn=$p({id:Jt().min(1),type:_N("wait"),position:HM,data:EVn}),NVn=$p({id:Jt().min(1),type:_N("set_variables"),position:HM,data:SVn}),CVn=qqn("type",[TVn,AVn,_Vn,xVn,kVn,NVn]),IVn=Su({mode:gVn.default("single"),max_exceeded:bVn.optional(),max:pa().positive().optional(),initial_state:Ew().optional(),hide_entity:Ew().optional(),trace:Su({stored_traces:pa().optional()}).optional()}),RVn=Su({automation_id:Jt(),entity_id:Jt(),alias:Jt(),node_prefix:Jt(),imported_at:Jt()}),OVn=Su({mode:_N("merged"),sources:cs(RVn)}),BVt=Su({id:Jt().uuid(),name:Jt().min(1),description:Jt().optional(),nodes:cs(CVn),edges:cs(FVt),metadata:IVn.optional(),version:_N(1).default(1),userVariables:yf(Jt(),Du()).optional(),userTriggerVariables:yf(Jt(),Du()).optional(),workspace:OVn.optional()});function UVt(n){const i=[],s=new Set(n.nodes.map(b=>b.id));s.size!==n.nodes.length&&i.push("Duplicate node IDs detected");for(const b of n.edges)s.has(b.source)||i.push(`Edge ${b.id} references non-existent source node: ${b.source}`),s.has(b.target)||i.push(`Edge ${b.id} references non-existent target node: ${b.target}`);const c=n.nodes.filter(b=>b.type==="trigger");c.length===0&&i.push("Graph must have at least one trigger node");const d=new Set(n.edges.map(b=>b.target));for(const b of c)d.has(b.id)&&i.push(`Trigger node ${b.id} should not have incoming edges`);const g=new Set(n.nodes.filter(b=>b.type==="condition").map(b=>b.id));for(const b of n.edges)g.has(b.source)&&b.sourceHandle!=="true"&&b.sourceHandle!=="false"&&i.push(`Edge ${b.id} from condition node must have sourceHandle 'true' or 'false', got: ${b.sourceHandle}`);return{valid:i.length===0,errors:i}}Gg(["state","time","time_pattern","event","mqtt","webhook","sun","zone","numeric_state","template","homeassistant","device"]);Gg(["state","numeric_state","template","time","zone","and","or","not","sun","device","trigger"]);Su({entity_id:Yi([O8t,cs(O8t)]).optional(),area_id:Yi([Jt(),cs(Jt())]).optional(),device_id:Yi([Jt(),cs(Jt())]).optional()}).refine(n=>n.entity_id||n.area_id||n.device_id,{message:"At least one target (entity_id, area_id, or device_id) must be specified"});Su({entity_id:Yi([Jt(),cs(Jt())]).optional(),area_id:Yi([Jt(),cs(Jt())]).optional(),device_id:Yi([Jt(),cs(Jt())]).optional()}).optional();yf(Jt(),Du());yf(Jt(),Jt());const DVn=Su({wait_template:Jt().optional(),wait_for_trigger:cs($qn()).optional(),timeout:Yi([Jt(),Su({})]).optional()}).passthrough().refine(n=>{const i=n.wait_template&&n.wait_template.trim()!=="",s=n.wait_for_trigger&&n.wait_for_trigger.length>0;return i||s},{message:"Wait node requires either a template condition or trigger. Use a Delay node for simple time-based pauses.",path:["_root"]}),LVn=Su({service:Jt().optional(),event:Jt().optional()}).passthrough().superRefine((n,i)=>{const s=typeof n.event=="string"&&n.event.trim()!=="",c=typeof n.service=="string"&&n.service.trim()!=="";if(!s&&!c){i.addIssue({code:Pl.custom,message:"Either a service (e.g. light.turn_on) or an event name is required",path:["service"]});return}c&&!n.service.includes(".")&&i.addIssue({code:Pl.custom,message:"Service must be in domain.service format (e.g., light.turn_on)",path:["service"]})});function aM(n){return Array.isArray(n)?n.length>0:typeof n=="string"?n.trim()!=="":!1}function MVn(n){return Array.isArray(n)?n.length>0&&n.every(i=>typeof i=="string"&&i.trim()!==""):typeof n=="string"?n.trim()!=="":!1}const PVn=Su({trigger:Jt().optional(),platform:Jt().optional(),entity_id:Du().optional(),to:Du().optional(),from:Du().optional(),event_type:Jt().optional(),at:Du().optional(),topic:Jt().optional(),webhook_id:Jt().optional(),device_id:Jt().optional(),zone:Jt().optional(),event:Jt().optional(),value_template:Jt().optional()}).passthrough().superRefine((n,i)=>{const s=n.trigger||n.platform;if(!s||s.trim()===""){i.addIssue({code:Pl.custom,message:"Trigger platform is required",path:["trigger"]});return}switch(s){case"state":aM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for state triggers",path:["entity_id"]});break;case"numeric_state":aM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for numeric state triggers",path:["entity_id"]});break;case"event":(!n.event_type||n.event_type.trim()==="")&&i.addIssue({code:Pl.custom,message:"Event type is required",path:["event_type"]});break;case"time":n.at||i.addIssue({code:Pl.custom,message:"Time value is required",path:["at"]});break;case"mqtt":(!n.topic||n.topic.trim()==="")&&i.addIssue({code:Pl.custom,message:"MQTT topic is required",path:["topic"]});break;case"webhook":(!n.webhook_id||n.webhook_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Webhook ID is required",path:["webhook_id"]});break;case"device":(!n.device_id||n.device_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Device is required",path:["device_id"]});break;case"zone":aM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for zone triggers",path:["entity_id"]}),(!n.zone||n.zone.trim()==="")&&i.addIssue({code:Pl.custom,message:"Zone is required",path:["zone"]});break;case"sun":case"homeassistant":(!n.event||n.event.trim()==="")&&i.addIssue({code:Pl.custom,message:s==="sun"?"Sun event (sunrise/sunset) is required":"Home Assistant event (start/shutdown) is required",path:["event"]});break;case"template":(!n.value_template||n.value_template.trim()==="")&&i.addIssue({code:Pl.custom,message:"Template is required",path:["value_template"]});break}}),jVn=Su({delay:Yi([Jt(),Su({})])}).passthrough().refine(n=>typeof n.delay=="string"?n.delay.trim()!=="":!0,{message:"Delay value is required",path:["delay"]}),FVn=Su({condition:Jt().min(1,"Condition type is required"),entity_id:Du().optional(),state:Du().optional(),value_template:Jt().optional(),zone:Jt().optional(),device_id:Jt().optional(),id:Du().optional()}).passthrough().superRefine((n,i)=>{switch(n.condition){case"state":aM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for state conditions",path:["entity_id"]}),(!n.state||typeof n.state=="string"&&n.state.trim()==="")&&i.addIssue({code:Pl.custom,message:"State value is required",path:["state"]});break;case"numeric_state":aM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for numeric state conditions",path:["entity_id"]});break;case"trigger":MVn(n.id)||i.addIssue({code:Pl.custom,message:"Trigger ID is required",path:["id"]});break;case"template":(!n.value_template||n.value_template.trim()==="")&&i.addIssue({code:Pl.custom,message:"Template is required",path:["value_template"]});break;case"zone":aM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for zone conditions",path:["entity_id"]}),(!n.zone||n.zone.trim()==="")&&i.addIssue({code:Pl.custom,message:"Zone is required",path:["zone"]});break;case"device":(!n.device_id||n.device_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Device is required",path:["device_id"]});break}}),$Vn=Su({variables:yf(Jt(),Du()).optional()}).passthrough().refine(n=>n.variables?Object.keys(n.variables).length>0:!1,{message:"At least one variable must be defined",path:["variables"]});function BVn(n){switch(n){case"wait":return DVn;case"action":return LVn;case"trigger":return PVn;case"delay":return jVn;case"condition":return FVn;case"set_variables":return $Vn;default:return}}function M8t(n,i){const s=BVn(n);if(!s)return[];const c=s.safeParse(i);return c.success?[]:c.error.issues.map(d=>({path:d.path.map(String),message:d.message}))}function QU(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var cIe,P8t;function UVn(){if(P8t)return cIe;P8t=1;function n(){this.__data__=[],this.size=0}return cIe=n,cIe}var lIe,j8t;function bMe(){if(j8t)return lIe;j8t=1;function n(i,s){return i===s||i!==i&&s!==s}return lIe=n,lIe}var dIe,F8t;function Cae(){if(F8t)return dIe;F8t=1;var n=bMe();function i(s,c){for(var d=s.length;d--;)if(n(s[d][0],c))return d;return-1}return dIe=i,dIe}var fIe,$8t;function HVn(){if($8t)return fIe;$8t=1;var n=Cae(),i=Array.prototype,s=i.splice;function c(d){var g=this.__data__,b=n(g,d);if(b<0)return!1;var w=g.length-1;return b==w?g.pop():s.call(g,b,1),--this.size,!0}return fIe=c,fIe}var hIe,B8t;function zVn(){if(B8t)return hIe;B8t=1;var n=Cae();function i(s){var c=this.__data__,d=n(c,s);return d<0?void 0:c[d][1]}return hIe=i,hIe}var pIe,U8t;function GVn(){if(U8t)return pIe;U8t=1;var n=Cae();function i(s){return n(this.__data__,s)>-1}return pIe=i,pIe}var gIe,H8t;function qVn(){if(H8t)return gIe;H8t=1;var n=Cae();function i(s,c){var d=this.__data__,g=n(d,s);return g<0?(++this.size,d.push([s,c])):d[g][1]=c,this}return gIe=i,gIe}var bIe,z8t;function Iae(){if(z8t)return bIe;z8t=1;var n=UVn(),i=HVn(),s=zVn(),c=GVn(),d=qVn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=s,g.prototype.has=c,g.prototype.set=d,bIe=g,bIe}var mIe,G8t;function VVn(){if(G8t)return mIe;G8t=1;var n=Iae();function i(){this.__data__=new n,this.size=0}return mIe=i,mIe}var wIe,q8t;function WVn(){if(q8t)return wIe;q8t=1;function n(i){var s=this.__data__,c=s.delete(i);return this.size=s.size,c}return wIe=n,wIe}var yIe,V8t;function KVn(){if(V8t)return yIe;V8t=1;function n(i){return this.__data__.get(i)}return yIe=n,yIe}var vIe,W8t;function YVn(){if(W8t)return vIe;W8t=1;function n(i){return this.__data__.has(i)}return vIe=n,vIe}var EIe,K8t;function HVt(){if(K8t)return EIe;K8t=1;var n=typeof C5=="object"&&C5&&C5.Object===Object&&C5;return EIe=n,EIe}var SIe,Y8t;function Y2(){if(Y8t)return SIe;Y8t=1;var n=HVt(),i=typeof self=="object"&&self&&self.Object===Object&&self,s=n||i||Function("return this")();return SIe=s,SIe}var TIe,J8t;function zM(){if(J8t)return TIe;J8t=1;var n=Y2(),i=n.Symbol;return TIe=i,TIe}var AIe,X8t;function JVn(){if(X8t)return AIe;X8t=1;var n=zM(),i=Object.prototype,s=i.hasOwnProperty,c=i.toString,d=n?n.toStringTag:void 0;function g(b){var w=s.call(b,d),E=b[d];try{b[d]=void 0;var S=!0}catch{}var x=c.call(b);return S&&(w?b[d]=E:delete b[d]),x}return AIe=g,AIe}var _Ie,Z8t;function XVn(){if(Z8t)return _Ie;Z8t=1;var n=Object.prototype,i=n.toString;function s(c){return i.call(c)}return _Ie=s,_Ie}var xIe,Q8t;function GM(){if(Q8t)return xIe;Q8t=1;var n=zM(),i=JVn(),s=XVn(),c="[object Null]",d="[object Undefined]",g=n?n.toStringTag:void 0;function b(w){return w==null?w===void 0?d:c:g&&g in Object(w)?i(w):s(w)}return xIe=b,xIe}var kIe,ePt;function IR(){if(ePt)return kIe;ePt=1;function n(i){var s=typeof i;return i!=null&&(s=="object"||s=="function")}return kIe=n,kIe}var NIe,tPt;function Rae(){if(tPt)return NIe;tPt=1;var n=GM(),i=IR(),s="[object AsyncFunction]",c="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function b(w){if(!i(w))return!1;var E=n(w);return E==c||E==d||E==s||E==g}return NIe=b,NIe}var CIe,nPt;function ZVn(){if(nPt)return CIe;nPt=1;var n=Y2(),i=n["__core-js_shared__"];return CIe=i,CIe}var IIe,rPt;function QVn(){if(rPt)return IIe;rPt=1;var n=ZVn(),i=function(){var c=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function s(c){return!!i&&i in c}return IIe=s,IIe}var RIe,iPt;function zVt(){if(iPt)return RIe;iPt=1;var n=Function.prototype,i=n.toString;function s(c){if(c!=null){try{return i.call(c)}catch{}try{return c+""}catch{}}return""}return RIe=s,RIe}var OIe,oPt;function eWn(){if(oPt)return OIe;oPt=1;var n=Rae(),i=QVn(),s=IR(),c=zVt(),d=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,b=Function.prototype,w=Object.prototype,E=b.toString,S=w.hasOwnProperty,x=RegExp("^"+E.call(S).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function A(C){if(!s(C)||i(C))return!1;var R=n(C)?x:g;return R.test(c(C))}return OIe=A,OIe}var DIe,sPt;function tWn(){if(sPt)return DIe;sPt=1;function n(i,s){return i==null?void 0:i[s]}return DIe=n,DIe}var LIe,aPt;function RR(){if(aPt)return LIe;aPt=1;var n=eWn(),i=tWn();function s(c,d){var g=i(c,d);return n(g)?g:void 0}return LIe=s,LIe}var MIe,uPt;function mMe(){if(uPt)return MIe;uPt=1;var n=RR(),i=Y2(),s=n(i,"Map");return MIe=s,MIe}var PIe,cPt;function Oae(){if(cPt)return PIe;cPt=1;var n=RR(),i=n(Object,"create");return PIe=i,PIe}var jIe,lPt;function nWn(){if(lPt)return jIe;lPt=1;var n=Oae();function i(){this.__data__=n?n(null):{},this.size=0}return jIe=i,jIe}var FIe,dPt;function rWn(){if(dPt)return FIe;dPt=1;function n(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}return FIe=n,FIe}var $Ie,fPt;function iWn(){if(fPt)return $Ie;fPt=1;var n=Oae(),i="__lodash_hash_undefined__",s=Object.prototype,c=s.hasOwnProperty;function d(g){var b=this.__data__;if(n){var w=b[g];return w===i?void 0:w}return c.call(b,g)?b[g]:void 0}return $Ie=d,$Ie}var BIe,hPt;function oWn(){if(hPt)return BIe;hPt=1;var n=Oae(),i=Object.prototype,s=i.hasOwnProperty;function c(d){var g=this.__data__;return n?g[d]!==void 0:s.call(g,d)}return BIe=c,BIe}var UIe,pPt;function sWn(){if(pPt)return UIe;pPt=1;var n=Oae(),i="__lodash_hash_undefined__";function s(c,d){var g=this.__data__;return this.size+=this.has(c)?0:1,g[c]=n&&d===void 0?i:d,this}return UIe=s,UIe}var HIe,gPt;function aWn(){if(gPt)return HIe;gPt=1;var n=nWn(),i=rWn(),s=iWn(),c=oWn(),d=sWn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=s,g.prototype.has=c,g.prototype.set=d,HIe=g,HIe}var zIe,bPt;function uWn(){if(bPt)return zIe;bPt=1;var n=aWn(),i=Iae(),s=mMe();function c(){this.size=0,this.__data__={hash:new n,map:new(s||i),string:new n}}return zIe=c,zIe}var GIe,mPt;function cWn(){if(mPt)return GIe;mPt=1;function n(i){var s=typeof i;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?i!=="__proto__":i===null}return GIe=n,GIe}var qIe,wPt;function Dae(){if(wPt)return qIe;wPt=1;var n=cWn();function i(s,c){var d=s.__data__;return n(c)?d[typeof c=="string"?"string":"hash"]:d.map}return qIe=i,qIe}var VIe,yPt;function lWn(){if(yPt)return VIe;yPt=1;var n=Dae();function i(s){var c=n(this,s).delete(s);return this.size-=c?1:0,c}return VIe=i,VIe}var WIe,vPt;function dWn(){if(vPt)return WIe;vPt=1;var n=Dae();function i(s){return n(this,s).get(s)}return WIe=i,WIe}var KIe,EPt;function fWn(){if(EPt)return KIe;EPt=1;var n=Dae();function i(s){return n(this,s).has(s)}return KIe=i,KIe}var YIe,SPt;function hWn(){if(SPt)return YIe;SPt=1;var n=Dae();function i(s,c){var d=n(this,s),g=d.size;return d.set(s,c),this.size+=d.size==g?0:1,this}return YIe=i,YIe}var JIe,TPt;function wMe(){if(TPt)return JIe;TPt=1;var n=uWn(),i=lWn(),s=dWn(),c=fWn(),d=hWn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=s,g.prototype.has=c,g.prototype.set=d,JIe=g,JIe}var XIe,APt;function pWn(){if(APt)return XIe;APt=1;var n=Iae(),i=mMe(),s=wMe(),c=200;function d(g,b){var w=this.__data__;if(w instanceof n){var E=w.__data__;if(!i||E.length<c-1)return E.push([g,b]),this.size=++w.size,this;w=this.__data__=new s(E)}return w.set(g,b),this.size=w.size,this}return XIe=d,XIe}var ZIe,_Pt;function yMe(){if(_Pt)return ZIe;_Pt=1;var n=Iae(),i=VVn(),s=WVn(),c=KVn(),d=YVn(),g=pWn();function b(w){var E=this.__data__=new n(w);this.size=E.size}return b.prototype.clear=i,b.prototype.delete=s,b.prototype.get=c,b.prototype.has=d,b.prototype.set=g,ZIe=b,ZIe}var QIe,xPt;function vMe(){if(xPt)return QIe;xPt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length;++c<d&&s(i[c],c,i)!==!1;);return i}return QIe=n,QIe}var e4e,kPt;function GVt(){if(kPt)return e4e;kPt=1;var n=RR(),i=function(){try{var s=n(Object,"defineProperty");return s({},"",{}),s}catch{}}();return e4e=i,e4e}var t4e,NPt;function qVt(){if(NPt)return t4e;NPt=1;var n=GVt();function i(s,c,d){c=="__proto__"&&n?n(s,c,{configurable:!0,enumerable:!0,value:d,writable:!0}):s[c]=d}return t4e=i,t4e}var n4e,CPt;function VVt(){if(CPt)return n4e;CPt=1;var n=qVt(),i=bMe(),s=Object.prototype,c=s.hasOwnProperty;function d(g,b,w){var E=g[b];(!(c.call(g,b)&&i(E,w))||w===void 0&&!(b in g))&&n(g,b,w)}return n4e=d,n4e}var r4e,IPt;function Lae(){if(IPt)return r4e;IPt=1;var n=VVt(),i=qVt();function s(c,d,g,b){var w=!g;g||(g={});for(var E=-1,S=d.length;++E<S;){var x=d[E],A=b?b(g[x],c[x],x,g,c):void 0;A===void 0&&(A=c[x]),w?i(g,x,A):n(g,x,A)}return g}return r4e=s,r4e}var i4e,RPt;function gWn(){if(RPt)return i4e;RPt=1;function n(i,s){for(var c=-1,d=Array(i);++c<i;)d[c]=s(c);return d}return i4e=n,i4e}var o4e,OPt;function xA(){if(OPt)return o4e;OPt=1;function n(i){return i!=null&&typeof i=="object"}return o4e=n,o4e}var s4e,DPt;function bWn(){if(DPt)return s4e;DPt=1;var n=GM(),i=xA(),s="[object Arguments]";function c(d){return i(d)&&n(d)==s}return s4e=c,s4e}var a4e,LPt;function Mae(){if(LPt)return a4e;LPt=1;var n=bWn(),i=xA(),s=Object.prototype,c=s.hasOwnProperty,d=s.propertyIsEnumerable,g=n(function(){return arguments}())?n:function(b){return i(b)&&c.call(b,"callee")&&!d.call(b,"callee")};return a4e=g,a4e}var u4e,MPt;function ih(){if(MPt)return u4e;MPt=1;var n=Array.isArray;return u4e=n,u4e}var eH={exports:{}},c4e,PPt;function mWn(){if(PPt)return c4e;PPt=1;function n(){return!1}return c4e=n,c4e}eH.exports;var jPt;function Lz(){return jPt||(jPt=1,function(n,i){var s=Y2(),c=mWn(),d=i&&!i.nodeType&&i,g=d&&!0&&n&&!n.nodeType&&n,b=g&&g.exports===d,w=b?s.Buffer:void 0,E=w?w.isBuffer:void 0,S=E||c;n.exports=S}(eH,eH.exports)),eH.exports}var l4e,FPt;function WVt(){if(FPt)return l4e;FPt=1;var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function s(c,d){var g=typeof c;return d=d??n,!!d&&(g=="number"||g!="symbol"&&i.test(c))&&c>-1&&c%1==0&&c<d}return l4e=s,l4e}var d4e,$Pt;function EMe(){if($Pt)return d4e;$Pt=1;var n=9007199254740991;function i(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=n}return d4e=i,d4e}var f4e,BPt;function wWn(){if(BPt)return f4e;BPt=1;var n=GM(),i=EMe(),s=xA(),c="[object Arguments]",d="[object Array]",g="[object Boolean]",b="[object Date]",w="[object Error]",E="[object Function]",S="[object Map]",x="[object Number]",A="[object Object]",C="[object RegExp]",R="[object Set]",L="[object String]",D="[object WeakMap]",B="[object ArrayBuffer]",$="[object DataView]",j="[object Float32Array]",P="[object Float64Array]",G="[object Int8Array]",ee="[object Int16Array]",re="[object Int32Array]",Q="[object Uint8Array]",ie="[object Uint8ClampedArray]",pe="[object Uint16Array]",me="[object Uint32Array]",le={};le[j]=le[P]=le[G]=le[ee]=le[re]=le[Q]=le[ie]=le[pe]=le[me]=!0,le[c]=le[d]=le[B]=le[g]=le[$]=le[b]=le[w]=le[E]=le[S]=le[x]=le[A]=le[C]=le[R]=le[L]=le[D]=!1;function fe(K){return s(K)&&i(K.length)&&!!le[n(K)]}return f4e=fe,f4e}var h4e,UPt;function SMe(){if(UPt)return h4e;UPt=1;function n(i){return function(s){return i(s)}}return h4e=n,h4e}var tH={exports:{}};tH.exports;var HPt;function TMe(){return HPt||(HPt=1,function(n,i){var s=HVt(),c=i&&!i.nodeType&&i,d=c&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===c,b=g&&s.process,w=function(){try{var E=d&&d.require&&d.require("util").types;return E||b&&b.binding&&b.binding("util")}catch{}}();n.exports=w}(tH,tH.exports)),tH.exports}var p4e,zPt;function Pae(){if(zPt)return p4e;zPt=1;var n=wWn(),i=SMe(),s=TMe(),c=s&&s.isTypedArray,d=c?i(c):n;return p4e=d,p4e}var g4e,GPt;function KVt(){if(GPt)return g4e;GPt=1;var n=gWn(),i=Mae(),s=ih(),c=Lz(),d=WVt(),g=Pae(),b=Object.prototype,w=b.hasOwnProperty;function E(S,x){var A=s(S),C=!A&&i(S),R=!A&&!C&&c(S),L=!A&&!C&&!R&&g(S),D=A||C||R||L,B=D?n(S.length,String):[],$=B.length;for(var j in S)(x||w.call(S,j))&&!(D&&(j=="length"||R&&(j=="offset"||j=="parent")||L&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||d(j,$)))&&B.push(j);return B}return g4e=E,g4e}var b4e,qPt;function jae(){if(qPt)return b4e;qPt=1;var n=Object.prototype;function i(s){var c=s&&s.constructor,d=typeof c=="function"&&c.prototype||n;return s===d}return b4e=i,b4e}var m4e,VPt;function YVt(){if(VPt)return m4e;VPt=1;function n(i,s){return function(c){return i(s(c))}}return m4e=n,m4e}var w4e,WPt;function yWn(){if(WPt)return w4e;WPt=1;var n=YVt(),i=n(Object.keys,Object);return w4e=i,w4e}var y4e,KPt;function AMe(){if(KPt)return y4e;KPt=1;var n=jae(),i=yWn(),s=Object.prototype,c=s.hasOwnProperty;function d(g){if(!n(g))return i(g);var b=[];for(var w in Object(g))c.call(g,w)&&w!="constructor"&&b.push(w);return b}return y4e=d,y4e}var v4e,YPt;function OR(){if(YPt)return v4e;YPt=1;var n=Rae(),i=EMe();function s(c){return c!=null&&i(c.length)&&!n(c)}return v4e=s,v4e}var E4e,JPt;function DR(){if(JPt)return E4e;JPt=1;var n=KVt(),i=AMe(),s=OR();function c(d){return s(d)?n(d):i(d)}return E4e=c,E4e}var S4e,XPt;function vWn(){if(XPt)return S4e;XPt=1;var n=Lae(),i=DR();function s(c,d){return c&&n(d,i(d),c)}return S4e=s,S4e}var T4e,ZPt;function EWn(){if(ZPt)return T4e;ZPt=1;function n(i){var s=[];if(i!=null)for(var c in Object(i))s.push(c);return s}return T4e=n,T4e}var A4e,QPt;function SWn(){if(QPt)return A4e;QPt=1;var n=IR(),i=jae(),s=EWn(),c=Object.prototype,d=c.hasOwnProperty;function g(b){if(!n(b))return s(b);var w=i(b),E=[];for(var S in b)S=="constructor"&&(w||!d.call(b,S))||E.push(S);return E}return A4e=g,A4e}var _4e,ejt;function _Me(){if(ejt)return _4e;ejt=1;var n=KVt(),i=SWn(),s=OR();function c(d){return s(d)?n(d,!0):i(d)}return _4e=c,_4e}var x4e,tjt;function TWn(){if(tjt)return x4e;tjt=1;var n=Lae(),i=_Me();function s(c,d){return c&&n(d,i(d),c)}return x4e=s,x4e}var nH={exports:{}};nH.exports;var njt;function AWn(){return njt||(njt=1,function(n,i){var s=Y2(),c=i&&!i.nodeType&&i,d=c&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===c,b=g?s.Buffer:void 0,w=b?b.allocUnsafe:void 0;function E(S,x){if(x)return S.slice();var A=S.length,C=w?w(A):new S.constructor(A);return S.copy(C),C}n.exports=E}(nH,nH.exports)),nH.exports}var k4e,rjt;function _Wn(){if(rjt)return k4e;rjt=1;function n(i,s){var c=-1,d=i.length;for(s||(s=Array(d));++c<d;)s[c]=i[c];return s}return k4e=n,k4e}var N4e,ijt;function JVt(){if(ijt)return N4e;ijt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length,g=0,b=[];++c<d;){var w=i[c];s(w,c,i)&&(b[g++]=w)}return b}return N4e=n,N4e}var C4e,ojt;function XVt(){if(ojt)return C4e;ojt=1;function n(){return[]}return C4e=n,C4e}var I4e,sjt;function xMe(){if(sjt)return I4e;sjt=1;var n=JVt(),i=XVt(),s=Object.prototype,c=s.propertyIsEnumerable,d=Object.getOwnPropertySymbols,g=d?function(b){return b==null?[]:(b=Object(b),n(d(b),function(w){return c.call(b,w)}))}:i;return I4e=g,I4e}var R4e,ajt;function xWn(){if(ajt)return R4e;ajt=1;var n=Lae(),i=xMe();function s(c,d){return n(c,i(c),d)}return R4e=s,R4e}var O4e,ujt;function kMe(){if(ujt)return O4e;ujt=1;function n(i,s){for(var c=-1,d=s.length,g=i.length;++c<d;)i[g+c]=s[c];return i}return O4e=n,O4e}var D4e,cjt;function NMe(){if(cjt)return D4e;cjt=1;var n=YVt(),i=n(Object.getPrototypeOf,Object);return D4e=i,D4e}var L4e,ljt;function ZVt(){if(ljt)return L4e;ljt=1;var n=kMe(),i=NMe(),s=xMe(),c=XVt(),d=Object.getOwnPropertySymbols,g=d?function(b){for(var w=[];b;)n(w,s(b)),b=i(b);return w}:c;return L4e=g,L4e}var M4e,djt;function kWn(){if(djt)return M4e;djt=1;var n=Lae(),i=ZVt();function s(c,d){return n(c,i(c),d)}return M4e=s,M4e}var P4e,fjt;function QVt(){if(fjt)return P4e;fjt=1;var n=kMe(),i=ih();function s(c,d,g){var b=d(c);return i(c)?b:n(b,g(c))}return P4e=s,P4e}var j4e,hjt;function eWt(){if(hjt)return j4e;hjt=1;var n=QVt(),i=xMe(),s=DR();function c(d){return n(d,s,i)}return j4e=c,j4e}var F4e,pjt;function NWn(){if(pjt)return F4e;pjt=1;var n=QVt(),i=ZVt(),s=_Me();function c(d){return n(d,s,i)}return F4e=c,F4e}var $4e,gjt;function CWn(){if(gjt)return $4e;gjt=1;var n=RR(),i=Y2(),s=n(i,"DataView");return $4e=s,$4e}var B4e,bjt;function IWn(){if(bjt)return B4e;bjt=1;var n=RR(),i=Y2(),s=n(i,"Promise");return B4e=s,B4e}var U4e,mjt;function tWt(){if(mjt)return U4e;mjt=1;var n=RR(),i=Y2(),s=n(i,"Set");return U4e=s,U4e}var H4e,wjt;function RWn(){if(wjt)return H4e;wjt=1;var n=RR(),i=Y2(),s=n(i,"WeakMap");return H4e=s,H4e}var z4e,yjt;function qM(){if(yjt)return z4e;yjt=1;var n=CWn(),i=mMe(),s=IWn(),c=tWt(),d=RWn(),g=GM(),b=zVt(),w="[object Map]",E="[object Object]",S="[object Promise]",x="[object Set]",A="[object WeakMap]",C="[object DataView]",R=b(n),L=b(i),D=b(s),B=b(c),$=b(d),j=g;return(n&&j(new n(new ArrayBuffer(1)))!=C||i&&j(new i)!=w||s&&j(s.resolve())!=S||c&&j(new c)!=x||d&&j(new d)!=A)&&(j=function(P){var G=g(P),ee=G==E?P.constructor:void 0,re=ee?b(ee):"";if(re)switch(re){case R:return C;case L:return w;case D:return S;case B:return x;case $:return A}return G}),z4e=j,z4e}var G4e,vjt;function OWn(){if(vjt)return G4e;vjt=1;var n=Object.prototype,i=n.hasOwnProperty;function s(c){var d=c.length,g=new c.constructor(d);return d&&typeof c[0]=="string"&&i.call(c,"index")&&(g.index=c.index,g.input=c.input),g}return G4e=s,G4e}var q4e,Ejt;function nWt(){if(Ejt)return q4e;Ejt=1;var n=Y2(),i=n.Uint8Array;return q4e=i,q4e}var V4e,Sjt;function CMe(){if(Sjt)return V4e;Sjt=1;var n=nWt();function i(s){var c=new s.constructor(s.byteLength);return new n(c).set(new n(s)),c}return V4e=i,V4e}var W4e,Tjt;function DWn(){if(Tjt)return W4e;Tjt=1;var n=CMe();function i(s,c){var d=c?n(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.byteLength)}return W4e=i,W4e}var K4e,Ajt;function LWn(){if(Ajt)return K4e;Ajt=1;var n=/\w*$/;function i(s){var c=new s.constructor(s.source,n.exec(s));return c.lastIndex=s.lastIndex,c}return K4e=i,K4e}var Y4e,_jt;function MWn(){if(_jt)return Y4e;_jt=1;var n=zM(),i=n?n.prototype:void 0,s=i?i.valueOf:void 0;function c(d){return s?Object(s.call(d)):{}}return Y4e=c,Y4e}var J4e,xjt;function PWn(){if(xjt)return J4e;xjt=1;var n=CMe();function i(s,c){var d=c?n(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.length)}return J4e=i,J4e}var X4e,kjt;function jWn(){if(kjt)return X4e;kjt=1;var n=CMe(),i=DWn(),s=LWn(),c=MWn(),d=PWn(),g="[object Boolean]",b="[object Date]",w="[object Map]",E="[object Number]",S="[object RegExp]",x="[object Set]",A="[object String]",C="[object Symbol]",R="[object ArrayBuffer]",L="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",j="[object Int16Array]",P="[object Int32Array]",G="[object Uint8Array]",ee="[object Uint8ClampedArray]",re="[object Uint16Array]",Q="[object Uint32Array]";function ie(pe,me,le){var fe=pe.constructor;switch(me){case R:return n(pe);case g:case b:return new fe(+pe);case L:return i(pe,le);case D:case B:case $:case j:case P:case G:case ee:case re:case Q:return d(pe,le);case w:return new fe;case E:case A:return new fe(pe);case S:return s(pe);case x:return new fe;case C:return c(pe)}}return X4e=ie,X4e}var Z4e,Njt;function rWt(){if(Njt)return Z4e;Njt=1;var n=IR(),i=Object.create,s=function(){function c(){}return function(d){if(!n(d))return{};if(i)return i(d);c.prototype=d;var g=new c;return c.prototype=void 0,g}}();return Z4e=s,Z4e}var Q4e,Cjt;function FWn(){if(Cjt)return Q4e;Cjt=1;var n=rWt(),i=NMe(),s=jae();function c(d){return typeof d.constructor=="function"&&!s(d)?n(i(d)):{}}return Q4e=c,Q4e}var eRe,Ijt;function $Wn(){if(Ijt)return eRe;Ijt=1;var n=qM(),i=xA(),s="[object Map]";function c(d){return i(d)&&n(d)==s}return eRe=c,eRe}var tRe,Rjt;function BWn(){if(Rjt)return tRe;Rjt=1;var n=$Wn(),i=SMe(),s=TMe(),c=s&&s.isMap,d=c?i(c):n;return tRe=d,tRe}var nRe,Ojt;function UWn(){if(Ojt)return nRe;Ojt=1;var n=qM(),i=xA(),s="[object Set]";function c(d){return i(d)&&n(d)==s}return nRe=c,nRe}var rRe,Djt;function HWn(){if(Djt)return rRe;Djt=1;var n=UWn(),i=SMe(),s=TMe(),c=s&&s.isSet,d=c?i(c):n;return rRe=d,rRe}var iRe,Ljt;function zWn(){if(Ljt)return iRe;Ljt=1;var n=yMe(),i=vMe(),s=VVt(),c=vWn(),d=TWn(),g=AWn(),b=_Wn(),w=xWn(),E=kWn(),S=eWt(),x=NWn(),A=qM(),C=OWn(),R=jWn(),L=FWn(),D=ih(),B=Lz(),$=BWn(),j=IR(),P=HWn(),G=DR(),ee=_Me(),re=1,Q=2,ie=4,pe="[object Arguments]",me="[object Array]",le="[object Boolean]",fe="[object Date]",K="[object Error]",he="[object Function]",Oe="[object GeneratorFunction]",Se="[object Map]",Le="[object Number]",Ae="[object Object]",xe="[object RegExp]",We="[object Set]",dt="[object String]",Ue="[object Symbol]",bt="[object WeakMap]",kt="[object ArrayBuffer]",ht="[object DataView]",Xt="[object Float32Array]",vt="[object Float64Array]",Ct="[object Int8Array]",Ft="[object Int16Array]",On="[object Int32Array]",Zn="[object Uint8Array]",Yn="[object Uint8ClampedArray]",vr="[object Uint16Array]",Ui="[object Uint32Array]",Qr={};Qr[pe]=Qr[me]=Qr[kt]=Qr[ht]=Qr[le]=Qr[fe]=Qr[Xt]=Qr[vt]=Qr[Ct]=Qr[Ft]=Qr[On]=Qr[Se]=Qr[Le]=Qr[Ae]=Qr[xe]=Qr[We]=Qr[dt]=Qr[Ue]=Qr[Zn]=Qr[Yn]=Qr[vr]=Qr[Ui]=!0,Qr[K]=Qr[he]=Qr[bt]=!1;function Hi(ai,jc,Xs,ls,Qo,Ca){var Ni,mb=jc&re,Yg=jc&Q,Wh=jc&ie;if(Xs&&(Ni=Qo?Xs(ai,ls,Qo,Ca):Xs(ai)),Ni!==void 0)return Ni;if(!j(ai))return ai;var wb=D(ai);if(wb){if(Ni=C(ai),!mb)return b(ai,Ni)}else{var Wp=A(ai),Ow=Wp==he||Wp==Oe;if(B(ai))return g(ai,mb);if(Wp==Ae||Wp==pe||Ow&&!Qo){if(Ni=Yg||Ow?{}:L(ai),!mb)return Yg?E(ai,d(Ni,ai)):w(ai,c(Ni,ai))}else{if(!Qr[Wp])return Qo?ai:{};Ni=R(ai,Wp,mb)}}Ca||(Ca=new n);var Kh=Ca.get(ai);if(Kh)return Kh;Ca.set(ai,Ni),P(ai)?ai.forEach(function(Kp){Ni.add(Hi(Kp,jc,Xs,Kp,ai,Ca))}):$(ai)&&ai.forEach(function(Kp,Xg){Ni.set(Xg,Hi(Kp,jc,Xs,Xg,ai,Ca))});var X2=Wh?Yg?x:S:Yg?ee:G,Jg=wb?void 0:X2(ai);return i(Jg||ai,function(Kp,Xg){Jg&&(Xg=Kp,Kp=ai[Xg]),s(Ni,Xg,Hi(Kp,jc,Xs,Xg,ai,Ca))}),Ni}return iRe=Hi,iRe}var oRe,Mjt;function GWn(){if(Mjt)return oRe;Mjt=1;var n=zWn(),i=4;function s(c){return n(c,i)}return oRe=s,oRe}var sRe,Pjt;function iWt(){if(Pjt)return sRe;Pjt=1;function n(i){return function(){return i}}return sRe=n,sRe}var aRe,jjt;function qWn(){if(jjt)return aRe;jjt=1;function n(i){return function(s,c,d){for(var g=-1,b=Object(s),w=d(s),E=w.length;E--;){var S=w[i?E:++g];if(c(b[S],S,b)===!1)break}return s}}return aRe=n,aRe}var uRe,Fjt;function VWn(){if(Fjt)return uRe;Fjt=1;var n=qWn(),i=n();return uRe=i,uRe}var cRe,$jt;function oWt(){if($jt)return cRe;$jt=1;var n=VWn(),i=DR();function s(c,d){return c&&n(c,d,i)}return cRe=s,cRe}var lRe,Bjt;function WWn(){if(Bjt)return lRe;Bjt=1;var n=OR();function i(s,c){return function(d,g){if(d==null)return d;if(!n(d))return s(d,g);for(var b=d.length,w=c?b:-1,E=Object(d);(c?w--:++w<b)&&g(E[w],w,E)!==!1;);return d}}return lRe=i,lRe}var dRe,Ujt;function Fae(){if(Ujt)return dRe;Ujt=1;var n=oWt(),i=WWn(),s=i(n);return dRe=s,dRe}var fRe,Hjt;function $ae(){if(Hjt)return fRe;Hjt=1;function n(i){return i}return fRe=n,fRe}var hRe,zjt;function KWn(){if(zjt)return hRe;zjt=1;var n=$ae();function i(s){return typeof s=="function"?s:n}return hRe=i,hRe}var pRe,Gjt;function YWn(){if(Gjt)return pRe;Gjt=1;var n=vMe(),i=Fae(),s=KWn(),c=ih();function d(g,b){var w=c(g)?n:i;return w(g,s(b))}return pRe=d,pRe}var gRe,qjt;function JWn(){return qjt||(qjt=1,gRe=YWn()),gRe}var bRe,Vjt;function XWn(){if(Vjt)return bRe;Vjt=1;var n=Fae();function i(s,c){var d=[];return n(s,function(g,b,w){c(g,b,w)&&d.push(g)}),d}return bRe=i,bRe}var mRe,Wjt;function ZWn(){if(Wjt)return mRe;Wjt=1;var n="__lodash_hash_undefined__";function i(s){return this.__data__.set(s,n),this}return mRe=i,mRe}var wRe,Kjt;function QWn(){if(Kjt)return wRe;Kjt=1;function n(i){return this.__data__.has(i)}return wRe=n,wRe}var yRe,Yjt;function sWt(){if(Yjt)return yRe;Yjt=1;var n=wMe(),i=ZWn(),s=QWn();function c(d){var g=-1,b=d==null?0:d.length;for(this.__data__=new n;++g<b;)this.add(d[g])}return c.prototype.add=c.prototype.push=i,c.prototype.has=s,yRe=c,yRe}var vRe,Jjt;function eKn(){if(Jjt)return vRe;Jjt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length;++c<d;)if(s(i[c],c,i))return!0;return!1}return vRe=n,vRe}var ERe,Xjt;function aWt(){if(Xjt)return ERe;Xjt=1;function n(i,s){return i.has(s)}return ERe=n,ERe}var SRe,Zjt;function uWt(){if(Zjt)return SRe;Zjt=1;var n=sWt(),i=eKn(),s=aWt(),c=1,d=2;function g(b,w,E,S,x,A){var C=E&c,R=b.length,L=w.length;if(R!=L&&!(C&&L>R))return!1;var D=A.get(b),B=A.get(w);if(D&&B)return D==w&&B==b;var $=-1,j=!0,P=E&d?new n:void 0;for(A.set(b,w),A.set(w,b);++$<R;){var G=b[$],ee=w[$];if(S)var re=C?S(ee,G,$,w,b,A):S(G,ee,$,b,w,A);if(re!==void 0){if(re)continue;j=!1;break}if(P){if(!i(w,function(Q,ie){if(!s(P,ie)&&(G===Q||x(G,Q,E,S,A)))return P.push(ie)})){j=!1;break}}else if(!(G===ee||x(G,ee,E,S,A))){j=!1;break}}return A.delete(b),A.delete(w),j}return SRe=g,SRe}var TRe,Qjt;function tKn(){if(Qjt)return TRe;Qjt=1;function n(i){var s=-1,c=Array(i.size);return i.forEach(function(d,g){c[++s]=[g,d]}),c}return TRe=n,TRe}var ARe,e7t;function IMe(){if(e7t)return ARe;e7t=1;function n(i){var s=-1,c=Array(i.size);return i.forEach(function(d){c[++s]=d}),c}return ARe=n,ARe}var _Re,t7t;function nKn(){if(t7t)return _Re;t7t=1;var n=zM(),i=nWt(),s=bMe(),c=uWt(),d=tKn(),g=IMe(),b=1,w=2,E="[object Boolean]",S="[object Date]",x="[object Error]",A="[object Map]",C="[object Number]",R="[object RegExp]",L="[object Set]",D="[object String]",B="[object Symbol]",$="[object ArrayBuffer]",j="[object DataView]",P=n?n.prototype:void 0,G=P?P.valueOf:void 0;function ee(re,Q,ie,pe,me,le,fe){switch(ie){case j:if(re.byteLength!=Q.byteLength||re.byteOffset!=Q.byteOffset)return!1;re=re.buffer,Q=Q.buffer;case $:return!(re.byteLength!=Q.byteLength||!le(new i(re),new i(Q)));case E:case S:case C:return s(+re,+Q);case x:return re.name==Q.name&&re.message==Q.message;case R:case D:return re==Q+"";case A:var K=d;case L:var he=pe&b;if(K||(K=g),re.size!=Q.size&&!he)return!1;var Oe=fe.get(re);if(Oe)return Oe==Q;pe|=w,fe.set(re,Q);var Se=c(K(re),K(Q),pe,me,le,fe);return fe.delete(re),Se;case B:if(G)return G.call(re)==G.call(Q)}return!1}return _Re=ee,_Re}var xRe,n7t;function rKn(){if(n7t)return xRe;n7t=1;var n=eWt(),i=1,s=Object.prototype,c=s.hasOwnProperty;function d(g,b,w,E,S,x){var A=w&i,C=n(g),R=C.length,L=n(b),D=L.length;if(R!=D&&!A)return!1;for(var B=R;B--;){var $=C[B];if(!(A?$ in b:c.call(b,$)))return!1}var j=x.get(g),P=x.get(b);if(j&&P)return j==b&&P==g;var G=!0;x.set(g,b),x.set(b,g);for(var ee=A;++B<R;){$=C[B];var re=g[$],Q=b[$];if(E)var ie=A?E(Q,re,$,b,g,x):E(re,Q,$,g,b,x);if(!(ie===void 0?re===Q||S(re,Q,w,E,x):ie)){G=!1;break}ee||(ee=$=="constructor")}if(G&&!ee){var pe=g.constructor,me=b.constructor;pe!=me&&"constructor"in g&&"constructor"in b&&!(typeof pe=="function"&&pe instanceof pe&&typeof me=="function"&&me instanceof me)&&(G=!1)}return x.delete(g),x.delete(b),G}return xRe=d,xRe}var kRe,r7t;function iKn(){if(r7t)return kRe;r7t=1;var n=yMe(),i=uWt(),s=nKn(),c=rKn(),d=qM(),g=ih(),b=Lz(),w=Pae(),E=1,S="[object Arguments]",x="[object Array]",A="[object Object]",C=Object.prototype,R=C.hasOwnProperty;function L(D,B,$,j,P,G){var ee=g(D),re=g(B),Q=ee?x:d(D),ie=re?x:d(B);Q=Q==S?A:Q,ie=ie==S?A:ie;var pe=Q==A,me=ie==A,le=Q==ie;if(le&&b(D)){if(!b(B))return!1;ee=!0,pe=!1}if(le&&!pe)return G||(G=new n),ee||w(D)?i(D,B,$,j,P,G):s(D,B,Q,$,j,P,G);if(!($&E)){var fe=pe&&R.call(D,"__wrapped__"),K=me&&R.call(B,"__wrapped__");if(fe||K){var he=fe?D.value():D,Oe=K?B.value():B;return G||(G=new n),P(he,Oe,$,j,G)}}return le?(G||(G=new n),c(D,B,$,j,P,G)):!1}return kRe=L,kRe}var NRe,i7t;function cWt(){if(i7t)return NRe;i7t=1;var n=iKn(),i=xA();function s(c,d,g,b,w){return c===d?!0:c==null||d==null||!i(c)&&!i(d)?c!==c&&d!==d:n(c,d,g,b,s,w)}return NRe=s,NRe}var CRe,o7t;function oKn(){if(o7t)return CRe;o7t=1;var n=yMe(),i=cWt(),s=1,c=2;function d(g,b,w,E){var S=w.length,x=S,A=!E;if(g==null)return!x;for(g=Object(g);S--;){var C=w[S];if(A&&C[2]?C[1]!==g[C[0]]:!(C[0]in g))return!1}for(;++S<x;){C=w[S];var R=C[0],L=g[R],D=C[1];if(A&&C[2]){if(L===void 0&&!(R in g))return!1}else{var B=new n;if(E)var $=E(L,D,R,g,b,B);if(!($===void 0?i(D,L,s|c,E,B):$))return!1}}return!0}return CRe=d,CRe}var IRe,s7t;function lWt(){if(s7t)return IRe;s7t=1;var n=IR();function i(s){return s===s&&!n(s)}return IRe=i,IRe}var RRe,a7t;function sKn(){if(a7t)return RRe;a7t=1;var n=lWt(),i=DR();function s(c){for(var d=i(c),g=d.length;g--;){var b=d[g],w=c[b];d[g]=[b,w,n(w)]}return d}return RRe=s,RRe}var ORe,u7t;function dWt(){if(u7t)return ORe;u7t=1;function n(i,s){return function(c){return c==null?!1:c[i]===s&&(s!==void 0||i in Object(c))}}return ORe=n,ORe}var DRe,c7t;function aKn(){if(c7t)return DRe;c7t=1;var n=oKn(),i=sKn(),s=dWt();function c(d){var g=i(d);return g.length==1&&g[0][2]?s(g[0][0],g[0][1]):function(b){return b===d||n(b,d,g)}}return DRe=c,DRe}var LRe,l7t;function RMe(){if(l7t)return LRe;l7t=1;var n=GM(),i=xA(),s="[object Symbol]";function c(d){return typeof d=="symbol"||i(d)&&n(d)==s}return LRe=c,LRe}var MRe,d7t;function OMe(){if(d7t)return MRe;d7t=1;var n=ih(),i=RMe(),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function d(g,b){if(n(g))return!1;var w=typeof g;return w=="number"||w=="symbol"||w=="boolean"||g==null||i(g)?!0:c.test(g)||!s.test(g)||b!=null&&g in Object(b)}return MRe=d,MRe}var PRe,f7t;function uKn(){if(f7t)return PRe;f7t=1;var n=wMe(),i="Expected a function";function s(c,d){if(typeof c!="function"||d!=null&&typeof d!="function")throw new TypeError(i);var g=function(){var b=arguments,w=d?d.apply(this,b):b[0],E=g.cache;if(E.has(w))return E.get(w);var S=c.apply(this,b);return g.cache=E.set(w,S)||E,S};return g.cache=new(s.Cache||n),g}return s.Cache=n,PRe=s,PRe}var jRe,h7t;function cKn(){if(h7t)return jRe;h7t=1;var n=uKn(),i=500;function s(c){var d=n(c,function(b){return g.size===i&&g.clear(),b}),g=d.cache;return d}return jRe=s,jRe}var FRe,p7t;function lKn(){if(p7t)return FRe;p7t=1;var n=cKn(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,c=n(function(d){var g=[];return d.charCodeAt(0)===46&&g.push(""),d.replace(i,function(b,w,E,S){g.push(E?S.replace(s,"$1"):w||b)}),g});return FRe=c,FRe}var $Re,g7t;function DMe(){if(g7t)return $Re;g7t=1;function n(i,s){for(var c=-1,d=i==null?0:i.length,g=Array(d);++c<d;)g[c]=s(i[c],c,i);return g}return $Re=n,$Re}var BRe,b7t;function dKn(){if(b7t)return BRe;b7t=1;var n=zM(),i=DMe(),s=ih(),c=RMe(),d=n?n.prototype:void 0,g=d?d.toString:void 0;function b(w){if(typeof w=="string")return w;if(s(w))return i(w,b)+"";if(c(w))return g?g.call(w):"";var E=w+"";return E=="0"&&1/w==-1/0?"-0":E}return BRe=b,BRe}var URe,m7t;function fKn(){if(m7t)return URe;m7t=1;var n=dKn();function i(s){return s==null?"":n(s)}return URe=i,URe}var HRe,w7t;function fWt(){if(w7t)return HRe;w7t=1;var n=ih(),i=OMe(),s=lKn(),c=fKn();function d(g,b){return n(g)?g:i(g,b)?[g]:s(c(g))}return HRe=d,HRe}var zRe,y7t;function Bae(){if(y7t)return zRe;y7t=1;var n=RMe();function i(s){if(typeof s=="string"||n(s))return s;var c=s+"";return c=="0"&&1/s==-1/0?"-0":c}return zRe=i,zRe}var GRe,v7t;function hWt(){if(v7t)return GRe;v7t=1;var n=fWt(),i=Bae();function s(c,d){d=n(d,c);for(var g=0,b=d.length;c!=null&&g<b;)c=c[i(d[g++])];return g&&g==b?c:void 0}return GRe=s,GRe}var qRe,E7t;function hKn(){if(E7t)return qRe;E7t=1;var n=hWt();function i(s,c,d){var g=s==null?void 0:n(s,c);return g===void 0?d:g}return qRe=i,qRe}var VRe,S7t;function pKn(){if(S7t)return VRe;S7t=1;function n(i,s){return i!=null&&s in Object(i)}return VRe=n,VRe}var WRe,T7t;function pWt(){if(T7t)return WRe;T7t=1;var n=fWt(),i=Mae(),s=ih(),c=WVt(),d=EMe(),g=Bae();function b(w,E,S){E=n(E,w);for(var x=-1,A=E.length,C=!1;++x<A;){var R=g(E[x]);if(!(C=w!=null&&S(w,R)))break;w=w[R]}return C||++x!=A?C:(A=w==null?0:w.length,!!A&&d(A)&&c(R,A)&&(s(w)||i(w)))}return WRe=b,WRe}var KRe,A7t;function gKn(){if(A7t)return KRe;A7t=1;var n=pKn(),i=pWt();function s(c,d){return c!=null&&i(c,d,n)}return KRe=s,KRe}var YRe,_7t;function bKn(){if(_7t)return YRe;_7t=1;var n=cWt(),i=hKn(),s=gKn(),c=OMe(),d=lWt(),g=dWt(),b=Bae(),w=1,E=2;function S(x,A){return c(x)&&d(A)?g(b(x),A):function(C){var R=i(C,x);return R===void 0&&R===A?s(C,x):n(A,R,w|E)}}return YRe=S,YRe}var JRe,x7t;function gWt(){if(x7t)return JRe;x7t=1;function n(i){return function(s){return s==null?void 0:s[i]}}return JRe=n,JRe}var XRe,k7t;function mKn(){if(k7t)return XRe;k7t=1;var n=hWt();function i(s){return function(c){return n(c,s)}}return XRe=i,XRe}var ZRe,N7t;function wKn(){if(N7t)return ZRe;N7t=1;var n=gWt(),i=mKn(),s=OMe(),c=Bae();function d(g){return s(g)?n(c(g)):i(g)}return ZRe=d,ZRe}var QRe,C7t;function Uae(){if(C7t)return QRe;C7t=1;var n=aKn(),i=bKn(),s=$ae(),c=ih(),d=wKn();function g(b){return typeof b=="function"?b:b==null?s:typeof b=="object"?c(b)?i(b[0],b[1]):n(b):d(b)}return QRe=g,QRe}var eOe,I7t;function yKn(){if(I7t)return eOe;I7t=1;var n=JVt(),i=XWn(),s=Uae(),c=ih();function d(g,b){var w=c(g)?n:i;return w(g,s(b,3))}return eOe=d,eOe}var tOe,R7t;function vKn(){if(R7t)return tOe;R7t=1;var n=Object.prototype,i=n.hasOwnProperty;function s(c,d){return c!=null&&i.call(c,d)}return tOe=s,tOe}var nOe,O7t;function EKn(){if(O7t)return nOe;O7t=1;var n=vKn(),i=pWt();function s(c,d){return c!=null&&i(c,d,n)}return nOe=s,nOe}var rOe,D7t;function SKn(){if(D7t)return rOe;D7t=1;var n=AMe(),i=qM(),s=Mae(),c=ih(),d=OR(),g=Lz(),b=jae(),w=Pae(),E="[object Map]",S="[object Set]",x=Object.prototype,A=x.hasOwnProperty;function C(R){if(R==null)return!0;if(d(R)&&(c(R)||typeof R=="string"||typeof R.splice=="function"||g(R)||w(R)||s(R)))return!R.length;var L=i(R);if(L==E||L==S)return!R.size;if(b(R))return!n(R).length;for(var D in R)if(A.call(R,D))return!1;return!0}return rOe=C,rOe}var iOe,L7t;function TKn(){if(L7t)return iOe;L7t=1;function n(i){return i===void 0}return iOe=n,iOe}var oOe,M7t;function AKn(){if(M7t)return oOe;M7t=1;var n=Fae(),i=OR();function s(c,d){var g=-1,b=i(c)?Array(c.length):[];return n(c,function(w,E,S){b[++g]=d(w,E,S)}),b}return oOe=s,oOe}var sOe,P7t;function _Kn(){if(P7t)return sOe;P7t=1;var n=DMe(),i=Uae(),s=AKn(),c=ih();function d(g,b){var w=c(g)?n:s;return w(g,i(b,3))}return sOe=d,sOe}var aOe,j7t;function xKn(){if(j7t)return aOe;j7t=1;function n(i,s,c,d){var g=-1,b=i==null?0:i.length;for(d&&b&&(c=i[++g]);++g<b;)c=s(c,i[g],g,i);return c}return aOe=n,aOe}var uOe,F7t;function kKn(){if(F7t)return uOe;F7t=1;function n(i,s,c,d,g){return g(i,function(b,w,E){c=d?(d=!1,b):s(c,b,w,E)}),c}return uOe=n,uOe}var cOe,$7t;function NKn(){if($7t)return cOe;$7t=1;var n=xKn(),i=Fae(),s=Uae(),c=kKn(),d=ih();function g(b,w,E){var S=d(b)?n:c,x=arguments.length<3;return S(b,s(w,4),E,x,i)}return cOe=g,cOe}var lOe,B7t;function CKn(){if(B7t)return lOe;B7t=1;var n=GM(),i=ih(),s=xA(),c="[object String]";function d(g){return typeof g=="string"||!i(g)&&s(g)&&n(g)==c}return lOe=d,lOe}var dOe,U7t;function IKn(){if(U7t)return dOe;U7t=1;var n=gWt(),i=n("length");return dOe=i,dOe}var fOe,H7t;function RKn(){if(H7t)return fOe;H7t=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",d=i+s+c,g="\\ufe0e\\ufe0f",b="\\u200d",w=RegExp("["+b+n+d+g+"]");function E(S){return w.test(S)}return fOe=E,fOe}var hOe,z7t;function OKn(){if(z7t)return hOe;z7t=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",d=i+s+c,g="\\ufe0e\\ufe0f",b="["+n+"]",w="["+d+"]",E="\\ud83c[\\udffb-\\udfff]",S="(?:"+w+"|"+E+")",x="[^"+n+"]",A="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",R="\\u200d",L=S+"?",D="["+g+"]?",B="(?:"+R+"(?:"+[x,A,C].join("|")+")"+D+L+")*",$=D+L+B,j="(?:"+[x+w+"?",w,A,C,b].join("|")+")",P=RegExp(E+"(?="+E+")|"+j+$,"g");function G(ee){for(var re=P.lastIndex=0;P.test(ee);)++re;return re}return hOe=G,hOe}var pOe,G7t;function DKn(){if(G7t)return pOe;G7t=1;var n=IKn(),i=RKn(),s=OKn();function c(d){return i(d)?s(d):n(d)}return pOe=c,pOe}var gOe,q7t;function LKn(){if(q7t)return gOe;q7t=1;var n=AMe(),i=qM(),s=OR(),c=CKn(),d=DKn(),g="[object Map]",b="[object Set]";function w(E){if(E==null)return 0;if(s(E))return c(E)?d(E):E.length;var S=i(E);return S==g||S==b?E.size:n(E).length}return gOe=w,gOe}var bOe,V7t;function MKn(){if(V7t)return bOe;V7t=1;var n=vMe(),i=rWt(),s=oWt(),c=Uae(),d=NMe(),g=ih(),b=Lz(),w=Rae(),E=IR(),S=Pae();function x(A,C,R){var L=g(A),D=L||b(A)||S(A);if(C=c(C,4),R==null){var B=A&&A.constructor;D?R=L?new B:[]:E(A)?R=w(B)?i(d(A)):{}:R={}}return(D?n:s)(A,function($,j,P){return C(R,$,j,P)}),R}return bOe=x,bOe}var mOe,W7t;function PKn(){if(W7t)return mOe;W7t=1;var n=zM(),i=Mae(),s=ih(),c=n?n.isConcatSpreadable:void 0;function d(g){return s(g)||i(g)||!!(c&&g&&g[c])}return mOe=d,mOe}var wOe,K7t;function jKn(){if(K7t)return wOe;K7t=1;var n=kMe(),i=PKn();function s(c,d,g,b,w){var E=-1,S=c.length;for(g||(g=i),w||(w=[]);++E<S;){var x=c[E];d>0&&g(x)?d>1?s(x,d-1,g,b,w):n(w,x):b||(w[w.length]=x)}return w}return wOe=s,wOe}var yOe,Y7t;function FKn(){if(Y7t)return yOe;Y7t=1;function n(i,s,c){switch(c.length){case 0:return i.call(s);case 1:return i.call(s,c[0]);case 2:return i.call(s,c[0],c[1]);case 3:return i.call(s,c[0],c[1],c[2])}return i.apply(s,c)}return yOe=n,yOe}var vOe,J7t;function $Kn(){if(J7t)return vOe;J7t=1;var n=FKn(),i=Math.max;function s(c,d,g){return d=i(d===void 0?c.length-1:d,0),function(){for(var b=arguments,w=-1,E=i(b.length-d,0),S=Array(E);++w<E;)S[w]=b[d+w];w=-1;for(var x=Array(d+1);++w<d;)x[w]=b[w];return x[d]=g(S),n(c,this,x)}}return vOe=s,vOe}var EOe,X7t;function BKn(){if(X7t)return EOe;X7t=1;var n=iWt(),i=GVt(),s=$ae(),c=i?function(d,g){return i(d,"toString",{configurable:!0,enumerable:!1,value:n(g),writable:!0})}:s;return EOe=c,EOe}var SOe,Z7t;function UKn(){if(Z7t)return SOe;Z7t=1;var n=800,i=16,s=Date.now;function c(d){var g=0,b=0;return function(){var w=s(),E=i-(w-b);if(b=w,E>0){if(++g>=n)return arguments[0]}else g=0;return d.apply(void 0,arguments)}}return SOe=c,SOe}var TOe,Q7t;function HKn(){if(Q7t)return TOe;Q7t=1;var n=BKn(),i=UKn(),s=i(n);return TOe=s,TOe}var AOe,eFt;function zKn(){if(eFt)return AOe;eFt=1;var n=$ae(),i=$Kn(),s=HKn();function c(d,g){return s(i(d,g,n),d+"")}return AOe=c,AOe}var _Oe,tFt;function GKn(){if(tFt)return _Oe;tFt=1;function n(i,s,c,d){for(var g=i.length,b=c+(d?1:-1);d?b--:++b<g;)if(s(i[b],b,i))return b;return-1}return _Oe=n,_Oe}var xOe,nFt;function qKn(){if(nFt)return xOe;nFt=1;function n(i){return i!==i}return xOe=n,xOe}var kOe,rFt;function VKn(){if(rFt)return kOe;rFt=1;function n(i,s,c){for(var d=c-1,g=i.length;++d<g;)if(i[d]===s)return d;return-1}return kOe=n,kOe}var NOe,iFt;function WKn(){if(iFt)return NOe;iFt=1;var n=GKn(),i=qKn(),s=VKn();function c(d,g,b){return g===g?s(d,g,b):n(d,i,b)}return NOe=c,NOe}var COe,oFt;function KKn(){if(oFt)return COe;oFt=1;var n=WKn();function i(s,c){var d=s==null?0:s.length;return!!d&&n(s,c,0)>-1}return COe=i,COe}var IOe,sFt;function YKn(){if(sFt)return IOe;sFt=1;function n(i,s,c){for(var d=-1,g=i==null?0:i.length;++d<g;)if(c(s,i[d]))return!0;return!1}return IOe=n,IOe}var ROe,aFt;function JKn(){if(aFt)return ROe;aFt=1;function n(){}return ROe=n,ROe}var OOe,uFt;function XKn(){if(uFt)return OOe;uFt=1;var n=tWt(),i=JKn(),s=IMe(),c=1/0,d=n&&1/s(new n([,-0]))[1]==c?function(g){return new n(g)}:i;return OOe=d,OOe}var DOe,cFt;function ZKn(){if(cFt)return DOe;cFt=1;var n=sWt(),i=KKn(),s=YKn(),c=aWt(),d=XKn(),g=IMe(),b=200;function w(E,S,x){var A=-1,C=i,R=E.length,L=!0,D=[],B=D;if(x)L=!1,C=s;else if(R>=b){var $=S?null:d(E);if($)return g($);L=!1,C=c,B=new n}else B=S?[]:D;e:for(;++A<R;){var j=E[A],P=S?S(j):j;if(j=x||j!==0?j:0,L&&P===P){for(var G=B.length;G--;)if(B[G]===P)continue e;S&&B.push(P),D.push(j)}else C(B,P,x)||(B!==D&&B.push(P),D.push(j))}return D}return DOe=w,DOe}var LOe,lFt;function QKn(){if(lFt)return LOe;lFt=1;var n=OR(),i=xA();function s(c){return i(c)&&n(c)}return LOe=s,LOe}var MOe,dFt;function eYn(){if(dFt)return MOe;dFt=1;var n=jKn(),i=zKn(),s=ZKn(),c=QKn(),d=i(function(g){return s(n(g,1,c,!0))});return MOe=d,MOe}var POe,fFt;function tYn(){if(fFt)return POe;fFt=1;var n=DMe();function i(s,c){return n(c,function(d){return s[d]})}return POe=i,POe}var jOe,hFt;function nYn(){if(hFt)return jOe;hFt=1;var n=tYn(),i=DR();function s(c){return c==null?[]:n(c,i(c))}return jOe=s,jOe}var ase;if(typeof QU=="function")try{ase={clone:GWn(),constant:iWt(),each:JWn(),filter:yKn(),has:EKn(),isArray:ih(),isEmpty:SKn(),isFunction:Rae(),isUndefined:TKn(),keys:DR(),map:_Kn(),reduce:NKn(),size:LKn(),transform:MKn(),union:eYn(),values:nYn()}}catch{}ase||(ase=window._);var Cw=ase,Oo=Cw,LMe=ys,rYn="\0",vR="\0",pFt="";function ys(n){this._isDirected=Oo.has(n,"directed")?n.directed:!0,this._isMultigraph=Oo.has(n,"multigraph")?n.multigraph:!1,this._isCompound=Oo.has(n,"compound")?n.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Oo.constant(void 0),this._defaultEdgeLabelFn=Oo.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[vR]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}ys.prototype._nodeCount=0;ys.prototype._edgeCount=0;ys.prototype.isDirected=function(){return this._isDirected};ys.prototype.isMultigraph=function(){return this._isMultigraph};ys.prototype.isCompound=function(){return this._isCompound};ys.prototype.setGraph=function(n){return this._label=n,this};ys.prototype.graph=function(){return this._label};ys.prototype.setDefaultNodeLabel=function(n){return Oo.isFunction(n)||(n=Oo.constant(n)),this._defaultNodeLabelFn=n,this};ys.prototype.nodeCount=function(){return this._nodeCount};ys.prototype.nodes=function(){return Oo.keys(this._nodes)};ys.prototype.sources=function(){var n=this;return Oo.filter(this.nodes(),function(i){return Oo.isEmpty(n._in[i])})};ys.prototype.sinks=function(){var n=this;return Oo.filter(this.nodes(),function(i){return Oo.isEmpty(n._out[i])})};ys.prototype.setNodes=function(n,i){var s=arguments,c=this;return Oo.each(n,function(d){s.length>1?c.setNode(d,i):c.setNode(d)}),this};ys.prototype.setNode=function(n,i){return Oo.has(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=i),this):(this._nodes[n]=arguments.length>1?i:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=vR,this._children[n]={},this._children[vR][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)};ys.prototype.node=function(n){return this._nodes[n]};ys.prototype.hasNode=function(n){return Oo.has(this._nodes,n)};ys.prototype.removeNode=function(n){var i=this;if(Oo.has(this._nodes,n)){var s=function(c){i.removeEdge(i._edgeObjs[c])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],Oo.each(this.children(n),function(c){i.setParent(c)}),delete this._children[n]),Oo.each(Oo.keys(this._in[n]),s),delete this._in[n],delete this._preds[n],Oo.each(Oo.keys(this._out[n]),s),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this};ys.prototype.setParent=function(n,i){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(Oo.isUndefined(i))i=vR;else{i+="";for(var s=i;!Oo.isUndefined(s);s=this.parent(s))if(s===n)throw new Error("Setting "+i+" as parent of "+n+" would create a cycle");this.setNode(i)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=i,this._children[i][n]=!0,this};ys.prototype._removeFromParentsChildList=function(n){delete this._children[this._parent[n]][n]};ys.prototype.parent=function(n){if(this._isCompound){var i=this._parent[n];if(i!==vR)return i}};ys.prototype.children=function(n){if(Oo.isUndefined(n)&&(n=vR),this._isCompound){var i=this._children[n];if(i)return Oo.keys(i)}else{if(n===vR)return this.nodes();if(this.hasNode(n))return[]}};ys.prototype.predecessors=function(n){var i=this._preds[n];if(i)return Oo.keys(i)};ys.prototype.successors=function(n){var i=this._sucs[n];if(i)return Oo.keys(i)};ys.prototype.neighbors=function(n){var i=this.predecessors(n);if(i)return Oo.union(i,this.successors(n))};ys.prototype.isLeaf=function(n){var i;return this.isDirected()?i=this.successors(n):i=this.neighbors(n),i.length===0};ys.prototype.filterNodes=function(n){var i=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});i.setGraph(this.graph());var s=this;Oo.each(this._nodes,function(g,b){n(b)&&i.setNode(b,g)}),Oo.each(this._edgeObjs,function(g){i.hasNode(g.v)&&i.hasNode(g.w)&&i.setEdge(g,s.edge(g))});var c={};function d(g){var b=s.parent(g);return b===void 0||i.hasNode(b)?(c[g]=b,b):b in c?c[b]:d(b)}return this._isCompound&&Oo.each(i.nodes(),function(g){i.setParent(g,d(g))}),i};ys.prototype.setDefaultEdgeLabel=function(n){return Oo.isFunction(n)||(n=Oo.constant(n)),this._defaultEdgeLabelFn=n,this};ys.prototype.edgeCount=function(){return this._edgeCount};ys.prototype.edges=function(){return Oo.values(this._edgeObjs)};ys.prototype.setPath=function(n,i){var s=this,c=arguments;return Oo.reduce(n,function(d,g){return c.length>1?s.setEdge(d,g,i):s.setEdge(d,g),g}),this};ys.prototype.setEdge=function(){var n,i,s,c,d=!1,g=arguments[0];typeof g=="object"&&g!==null&&"v"in g?(n=g.v,i=g.w,s=g.name,arguments.length===2&&(c=arguments[1],d=!0)):(n=g,i=arguments[1],s=arguments[3],arguments.length>2&&(c=arguments[2],d=!0)),n=""+n,i=""+i,Oo.isUndefined(s)||(s=""+s);var b=Mz(this._isDirected,n,i,s);if(Oo.has(this._edgeLabels,b))return d&&(this._edgeLabels[b]=c),this;if(!Oo.isUndefined(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(i),this._edgeLabels[b]=d?c:this._defaultEdgeLabelFn(n,i,s);var w=iYn(this._isDirected,n,i,s);return n=w.v,i=w.w,Object.freeze(w),this._edgeObjs[b]=w,gFt(this._preds[i],n),gFt(this._sucs[n],i),this._in[i][b]=w,this._out[n][b]=w,this._edgeCount++,this};ys.prototype.edge=function(n,i,s){var c=arguments.length===1?MMe(this._isDirected,arguments[0]):Mz(this._isDirected,n,i,s);return this._edgeLabels[c]};ys.prototype.hasEdge=function(n,i,s){var c=arguments.length===1?MMe(this._isDirected,arguments[0]):Mz(this._isDirected,n,i,s);return Oo.has(this._edgeLabels,c)};ys.prototype.removeEdge=function(n,i,s){var c=arguments.length===1?MMe(this._isDirected,arguments[0]):Mz(this._isDirected,n,i,s),d=this._edgeObjs[c];return d&&(n=d.v,i=d.w,delete this._edgeLabels[c],delete this._edgeObjs[c],bFt(this._preds[i],n),bFt(this._sucs[n],i),delete this._in[i][c],delete this._out[n][c],this._edgeCount--),this};ys.prototype.inEdges=function(n,i){var s=this._in[n];if(s){var c=Oo.values(s);return i?Oo.filter(c,function(d){return d.v===i}):c}};ys.prototype.outEdges=function(n,i){var s=this._out[n];if(s){var c=Oo.values(s);return i?Oo.filter(c,function(d){return d.w===i}):c}};ys.prototype.nodeEdges=function(n,i){var s=this.inEdges(n,i);if(s)return s.concat(this.outEdges(n,i))};function gFt(n,i){n[i]?n[i]++:n[i]=1}function bFt(n,i){--n[i]||delete n[i]}function Mz(n,i,s,c){var d=""+i,g=""+s;if(!n&&d>g){var b=d;d=g,g=b}return d+pFt+g+pFt+(Oo.isUndefined(c)?rYn:c)}function iYn(n,i,s,c){var d=""+i,g=""+s;if(!n&&d>g){var b=d;d=g,g=b}var w={v:d,w:g};return c&&(w.name=c),w}function MMe(n,i){return Mz(n,i.v,i.w,i.name)}var oYn="2.1.8",sYn={Graph:LMe,version:oYn},B2=Cw,aYn=LMe,uYn={write:cYn,read:fYn};function cYn(n){var i={options:{directed:n.isDirected(),multigraph:n.isMultigraph(),compound:n.isCompound()},nodes:lYn(n),edges:dYn(n)};return B2.isUndefined(n.graph())||(i.value=B2.clone(n.graph())),i}function lYn(n){return B2.map(n.nodes(),function(i){var s=n.node(i),c=n.parent(i),d={v:i};return B2.isUndefined(s)||(d.value=s),B2.isUndefined(c)||(d.parent=c),d})}function dYn(n){return B2.map(n.edges(),function(i){var s=n.edge(i),c={v:i.v,w:i.w};return B2.isUndefined(i.name)||(c.name=i.name),B2.isUndefined(s)||(c.value=s),c})}function fYn(n){var i=new aYn(n.options).setGraph(n.value);return B2.each(n.nodes,function(s){i.setNode(s.v,s.value),s.parent&&i.setParent(s.v,s.parent)}),B2.each(n.edges,function(s){i.setEdge({v:s.v,w:s.w,name:s.name},s.value)}),i}var Rie=Cw,hYn=pYn;function pYn(n){var i={},s=[],c;function d(g){Rie.has(i,g)||(i[g]=!0,c.push(g),Rie.each(n.successors(g),d),Rie.each(n.predecessors(g),d))}return Rie.each(n.nodes(),function(g){c=[],d(g),c.length&&s.push(c)}),s}var bWt=Cw,mWt=Iw;function Iw(){this._arr=[],this._keyIndices={}}Iw.prototype.size=function(){return this._arr.length};Iw.prototype.keys=function(){return this._arr.map(function(n){return n.key})};Iw.prototype.has=function(n){return bWt.has(this._keyIndices,n)};Iw.prototype.priority=function(n){var i=this._keyIndices[n];if(i!==void 0)return this._arr[i].priority};Iw.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key};Iw.prototype.add=function(n,i){var s=this._keyIndices;if(n=String(n),!bWt.has(s,n)){var c=this._arr,d=c.length;return s[n]=d,c.push({key:n,priority:i}),this._decrease(d),!0}return!1};Iw.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key};Iw.prototype.decrease=function(n,i){var s=this._keyIndices[n];if(i>this._arr[s].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[s].priority+" New: "+i);this._arr[s].priority=i,this._decrease(s)};Iw.prototype._heapify=function(n){var i=this._arr,s=2*n,c=s+1,d=n;s<i.length&&(d=i[s].priority<i[d].priority?s:d,c<i.length&&(d=i[c].priority<i[d].priority?c:d),d!==n&&(this._swap(n,d),this._heapify(d)))};Iw.prototype._decrease=function(n){for(var i=this._arr,s=i[n].priority,c;n!==0&&(c=n>>1,!(i[c].priority<s));)this._swap(n,c),n=c};Iw.prototype._swap=function(n,i){var s=this._arr,c=this._keyIndices,d=s[n],g=s[i];s[n]=g,s[i]=d,c[g.key]=n,c[d.key]=i};var gYn=Cw,bYn=mWt,wWt=wYn,mYn=gYn.constant(1);function wYn(n,i,s,c){return yYn(n,String(i),s||mYn,c||function(d){return n.outEdges(d)})}function yYn(n,i,s,c){var d={},g=new bYn,b,w,E=function(S){var x=S.v!==b?S.v:S.w,A=d[x],C=s(S),R=w.distance+C;if(C<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+S+" Weight: "+C);R<A.distance&&(A.distance=R,A.predecessor=b,g.decrease(x,R))};for(n.nodes().forEach(function(S){var x=S===i?0:Number.POSITIVE_INFINITY;d[S]={distance:x},g.add(S,x)});g.size()>0&&(b=g.removeMin(),w=d[b],w.distance!==Number.POSITIVE_INFINITY);)c(b).forEach(E);return d}var vYn=wWt,EYn=Cw,SYn=TYn;function TYn(n,i,s){return EYn.transform(n.nodes(),function(c,d){c[d]=vYn(n,d,i,s)},{})}var mFt=Cw,yWt=AYn;function AYn(n){var i=0,s=[],c={},d=[];function g(b){var w=c[b]={onStack:!0,lowlink:i,index:i++};if(s.push(b),n.successors(b).forEach(function(x){mFt.has(c,x)?c[x].onStack&&(w.lowlink=Math.min(w.lowlink,c[x].index)):(g(x),w.lowlink=Math.min(w.lowlink,c[x].lowlink))}),w.lowlink===w.index){var E=[],S;do S=s.pop(),c[S].onStack=!1,E.push(S);while(b!==S);d.push(E)}}return n.nodes().forEach(function(b){mFt.has(c,b)||g(b)}),d}var _Yn=Cw,xYn=yWt,kYn=NYn;function NYn(n){return _Yn.filter(xYn(n),function(i){return i.length>1||i.length===1&&n.hasEdge(i[0],i[0])})}var CYn=Cw,IYn=OYn,RYn=CYn.constant(1);function OYn(n,i,s){return DYn(n,i||RYn,s||function(c){return n.outEdges(c)})}function DYn(n,i,s){var c={},d=n.nodes();return d.forEach(function(g){c[g]={},c[g][g]={distance:0},d.forEach(function(b){g!==b&&(c[g][b]={distance:Number.POSITIVE_INFINITY})}),s(g).forEach(function(b){var w=b.v===g?b.w:b.v,E=i(b);c[g][w]={distance:E,predecessor:g}})}),d.forEach(function(g){var b=c[g];d.forEach(function(w){var E=c[w];d.forEach(function(S){var x=E[g],A=b[S],C=E[S],R=x.distance+A.distance;R<C.distance&&(C.distance=R,C.predecessor=A.predecessor)})})}),c}var zU=Cw,vWt=EWt;EWt.CycleException=use;function EWt(n){var i={},s={},c=[];function d(g){if(zU.has(s,g))throw new use;zU.has(i,g)||(s[g]=!0,i[g]=!0,zU.each(n.predecessors(g),d),delete s[g],c.push(g))}if(zU.each(n.sinks(),d),zU.size(i)!==n.nodeCount())throw new use;return c}function use(){}use.prototype=new Error;var wFt=vWt,LYn=MYn;function MYn(n){try{wFt(n)}catch(i){if(i instanceof wFt.CycleException)return!1;throw i}return!0}var cse=Cw,SWt=PYn;function PYn(n,i,s){cse.isArray(i)||(i=[i]);var c=(n.isDirected()?n.successors:n.neighbors).bind(n),d=[],g={};return cse.each(i,function(b){if(!n.hasNode(b))throw new Error("Graph does not have node: "+b);TWt(n,b,s==="post",g,c,d)}),d}function TWt(n,i,s,c,d,g){cse.has(c,i)||(c[i]=!0,s||g.push(i),cse.each(d(i),function(b){TWt(n,b,s,c,d,g)}),s&&g.push(i))}var jYn=SWt,FYn=$Yn;function $Yn(n,i){return jYn(n,i,"post")}var BYn=SWt,UYn=HYn;function HYn(n,i){return BYn(n,i,"pre")}var yFt=Cw,zYn=LMe,GYn=mWt,qYn=VYn;function VYn(n,i){var s=new zYn,c={},d=new GYn,g;function b(E){var S=E.v===g?E.w:E.v,x=d.priority(S);if(x!==void 0){var A=i(E);A<x&&(c[S]=g,d.decrease(S,A))}}if(n.nodeCount()===0)return s;yFt.each(n.nodes(),function(E){d.add(E,Number.POSITIVE_INFINITY),s.setNode(E)}),d.decrease(n.nodes()[0],0);for(var w=!1;d.size()>0;){if(g=d.removeMin(),yFt.has(c,g))s.setEdge(g,c[g]);else{if(w)throw new Error("Input graph is not connected: "+n);w=!0}n.nodeEdges(g).forEach(b)}return s}var WYn={components:hYn,dijkstra:wWt,dijkstraAll:SYn,findCycles:kYn,floydWarshall:IYn,isAcyclic:LYn,postorder:FYn,preorder:UYn,prim:qYn,tarjan:yWt,topsort:vWt},vFt=sYn,KYn={Graph:vFt.Graph,json:uYn,alg:WYn,version:vFt.version};const YYn=TR(KYn),{Graph:JYn,alg:EFt}=YYn;function AWt(n){const i=new Set,s=new Set,c=new Set,d=new Map;for(const E of n.edges){const S=d.get(E.source)||[];S.push(E),d.set(E.source,S)}const g=new Set(n.edges.map(E=>E.target)),b=n.nodes.filter(E=>!g.has(E.id)).map(E=>E.id);function w(E){if(!s.has(E)){s.add(E),c.add(E);for(const S of d.get(E)||[])c.has(S.target)?i.add(S.id):s.has(S.target)||w(S.target);c.delete(E)}}for(const E of b)w(E);for(const E of n.nodes)s.has(E.id)||w(E.id);return i}function XYn(n){const i=new JYn({directed:!0}),s=AWt(n),c=new Map(n.nodes.map(B=>[B.id,B.type])),d=new Set;for(const B of n.edges){if(!s.has(B.id))continue;const $=c.get(B.source),j=c.get(B.target);($==="condition"||j==="condition")&&d.add(B.id)}const g=n.edges.filter(B=>!d.has(B.id)),b={...n,edges:g};for(const B of n.nodes)i.setNode(B.id,B);for(const B of g)i.setEdge(B.source,B.target,B);const w=!EFt.isAcyclic(i),E=n.nodes.filter(B=>{var $;return(($=i.predecessors(B.id))==null?void 0:$.length)===0}).map(B=>B.id),S=n.nodes.filter(B=>g.filter(j=>j.source===B.id).length===0).map(B=>B.id);let x=null;if(!w)try{x=EFt.topsort(i)}catch{x=null}const A=ZYn(i,b,x),C=tJn(b),R=eJn(i,b),L=!w&&!A&&!C&&!R,D=L?"native":"state-machine";return{isTree:L,hasCycles:w,hasMultipleEntryPoints:E.length>1,hasCrossLinks:A,hasConvergingPaths:C,hasDivergentTriggerPaths:R,entryNodes:E,exitNodes:S,topologicalOrder:x,recommendedStrategy:D}}function ZYn(n,i,s){if(!s||s.length===0)return!1;const c=new Map,g=i.nodes.filter(x=>{var A;return((A=n.predecessors(x.id))==null?void 0:A.length)===0}).map(x=>x.id).map(x=>({nodeId:x,level:0}));for(;g.length>0;){const{nodeId:x,level:A}=g.shift();if(c.has(x))continue;c.set(x,A);const C=n.successors(x)||[];for(const R of C)c.has(R)||g.push({nodeId:R,level:A+1})}const b=new Set,w=new Map;for(const x of i.edges){const A=(w.get(x.source)||0)+1;w.set(x.source,A)}for(const[x,A]of w)if(A>1){const C=i.nodes.find(R=>R.id===x);(C==null?void 0:C.type)!=="condition"&&(i.edges.filter(D=>D.source===x).some(D=>D.sourceHandle==="true"||D.sourceHandle==="false")||b.add(x))}const E=new Set,S=new Map;for(const x of i.edges){const A=(S.get(x.target)||0)+1;S.set(x.target,A)}for(const[x,A]of S)A>1&&E.add(x);for(const x of i.edges){const A=c.get(x.source),C=c.get(x.target);if(A!==void 0&&C!==void 0){if(C>A+1)return!0;if(C<A){if(E.has(x.target)&&b.size>0&&QYn(i,x.source,b))continue;return!0}}}return!1}function QYn(n,i,s){const c=new Set,d=[i];for(;d.length>0;){const g=d.shift();if(c.has(g))continue;if(c.add(g),s.has(g))return!0;const b=n.edges.filter(w=>w.target===g).map(w=>w.source);for(const w of b)c.has(w)||d.push(w)}return!1}function eJn(n,i){const s=i.nodes.filter(b=>b.type==="trigger");if(s.length<=1)return!1;const c=s.map(b=>{const w=n.successors(b.id)||[];return new Set(w)});if(s.every(b=>{const w=n.successors(b.id)||[];return w.length>0&&w.every(E=>{const S=i.nodes.find(x=>x.id===E);return(S==null?void 0:S.type)==="condition"})}))return!1;const g=c[0];for(let b=1;b<c.length;b++){const w=c[b];if(g.size!==w.size)return!0;for(const E of g)if(!w.has(E))return!0}return!1}function tJn(n){const i=new Map;for(const c of n.edges){const d=i.get(c.target)||0;i.set(c.target,d+1)}const s=new Map;for(const c of n.edges){const d=s.get(c.source)||[];d.push(c.target),s.set(c.source,d)}for(const[c,d]of i)if(d>1){const g=n.edges.filter(w=>w.target===c),b=new Set(g.map(w=>w.source));if(b.size>1){if([...b].map(x=>n.nodes.find(A=>A.id===x)).every(x=>(x==null?void 0:x.type)==="trigger"))continue;if(!nJn(n,[...b],s,c))return!0}}return!1}function nJn(n,i,s,c){const d=n.edges.filter(D=>D.target===c),g=i.every(D=>{const B=n.nodes.find($=>$.id===D);return(B==null?void 0:B.type)==="condition"}),b=d.every(D=>D.sourceHandle==="true"),w=d.every(D=>D.sourceHandle==="false");if(g&&(b||w))return!0;const E=D=>n.edges.filter(B=>B.target===D).map(B=>B.source),S=(D,B)=>{if(B.has(D))return null;B.add(D);const $=n.nodes.find(ee=>ee.id===D);if(($==null?void 0:$.type)==="condition")return D;const j=n.edges.filter(ee=>ee.target===D);if(j.length===0||j.length>1)return null;const P=j[0].source,G=n.nodes.find(ee=>ee.id===P);return(G==null?void 0:G.type)==="condition"?P:S(P,B)},x=new Set;let A=!0;for(const D of i){const B=S(D,new Set);if(B)x.add(B);else{A=!1;break}}if(A&&x.size===1)return!0;const C=D=>{const B=n.nodes.find(P=>P.id===D);if((B==null?void 0:B.type)==="condition")return!1;const $=n.edges.filter(P=>P.source===D);return $.some(P=>P.sourceHandle==="true"||P.sourceHandle==="false")?!1:$.length>1},R=(D,B)=>{if(B.has(D))return null;B.add(D);const $=E(D);if($.length===0||$.length>1)return null;const j=$[0];return C(j)?j:R(j,B)},L=new Set;for(const D of i){const B=E(D);if(B.length===1){const j=B[0];if(C(j)){L.add(j);continue}}const $=R(D,new Set);if($)L.add($);else return!1}return L.size===1}function rJn(n){const i=[];let s;try{s=BVt.parse(n)}catch(g){if(g instanceof iqn)for(const b of g.issues)i.push({code:b.code,message:b.message,path:b.path.map(String)});else i.push({code:"UNKNOWN_ERROR",message:g instanceof Error?g.message:"Unknown validation error"});return{success:!1,errors:i}}const c=UVt(s);if(!c.valid)for(const g of c.errors)i.push({code:"STRUCTURAL_ERROR",message:g});const d=iJn(s);return i.push(...d),{success:i.length===0,graph:i.length===0?s:void 0,errors:i}}function iJn(n){const i=[],s=n.nodes.filter(w=>w.type==="condition");for(const w of s){const E=n.edges.filter(A=>A.source===w.id),S=E.some(A=>A.sourceHandle==="true"),x=E.some(A=>A.sourceHandle==="false");!S&&!x&&i.push({code:"CONDITION_NO_EDGES",message:`Condition node "${w.id}" has no outgoing edges`,path:["nodes",w.id]})}const c=n.nodes.filter(w=>w.type==="action");for(const w of c)if(w.type==="action"){const E=w.data.service,S=["variables","delay","wait","wait_template","wait_for_trigger","stop","repeat","choose","if"];typeof E=="string"&&!E.includes(".")&&!S.includes(E)&&i.push({code:"INVALID_SERVICE",message:`Action node "${w.id}" has invalid service format: "${E}". Expected "domain.service"`,path:["nodes",w.id,"data","service"]})}const d=new Set,b=[...n.nodes.filter(w=>w.type==="trigger").map(w=>w.id)];for(;b.length>0;){const w=b.shift();if(d.has(w))continue;d.add(w);const E=n.edges.filter(S=>S.source===w);for(const S of E)d.has(S.target)||b.push(S.target)}for(const w of n.nodes)!d.has(w.id)&&w.type!=="trigger"&&i.push({code:"ORPHANED_NODE",message:`Node "${w.id}" is not connected to any trigger`,path:["nodes",w.id]});return i}/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function _Wt(n){return typeof n>"u"||n===null}function oJn(n){return typeof n=="object"&&n!==null}function sJn(n){return Array.isArray(n)?n:_Wt(n)?[]:[n]}function aJn(n,i){var s,c,d,g;if(i)for(g=Object.keys(i),s=0,c=g.length;s<c;s+=1)d=g[s],n[d]=i[d];return n}function uJn(n,i){var s="",c;for(c=0;c<i;c+=1)s+=n;return s}function cJn(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var lJn=_Wt,dJn=oJn,fJn=sJn,hJn=uJn,pJn=cJn,gJn=aJn,vf={isNothing:lJn,isObject:dJn,toArray:fJn,repeat:hJn,isNegativeZero:pJn,extend:gJn};function xWt(n,i){var s="",c=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(s+='in "'+n.mark.name+'" '),s+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!i&&n.mark.snippet&&(s+=`
`+n.mark.snippet),c+" "+s):c}function sz(n,i){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=i,this.message=xWt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}sz.prototype=Object.create(Error.prototype);sz.prototype.constructor=sz;sz.prototype.toString=function(i){return this.name+": "+xWt(this,i)};var ib=sz;function FOe(n,i,s,c,d){var g="",b="",w=Math.floor(d/2)-1;return c-i>w&&(g=" ... ",i=c-w+g.length),s-c>w&&(b=" ...",s=c+w-b.length),{str:g+n.slice(i,s).replace(/\t/g,"→")+b,pos:c-i+g.length}}function $Oe(n,i){return vf.repeat(" ",i-n.length)+n}function bJn(n,i){if(i=Object.create(i||null),!n.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!="number"&&(i.indent=1),typeof i.linesBefore!="number"&&(i.linesBefore=3),typeof i.linesAfter!="number"&&(i.linesAfter=2);for(var s=/\r?\n|\r|\0/g,c=[0],d=[],g,b=-1;g=s.exec(n.buffer);)d.push(g.index),c.push(g.index+g[0].length),n.position<=g.index&&b<0&&(b=c.length-2);b<0&&(b=c.length-1);var w="",E,S,x=Math.min(n.line+i.linesAfter,d.length).toString().length,A=i.maxLength-(i.indent+x+3);for(E=1;E<=i.linesBefore&&!(b-E<0);E++)S=FOe(n.buffer,c[b-E],d[b-E],n.position-(c[b]-c[b-E]),A),w=vf.repeat(" ",i.indent)+$Oe((n.line-E+1).toString(),x)+" | "+S.str+`
`+w;for(S=FOe(n.buffer,c[b],d[b],n.position,A),w+=vf.repeat(" ",i.indent)+$Oe((n.line+1).toString(),x)+" | "+S.str+`
`,w+=vf.repeat("-",i.indent+x+3+S.pos)+`^
`,E=1;E<=i.linesAfter&&!(b+E>=d.length);E++)S=FOe(n.buffer,c[b+E],d[b+E],n.position-(c[b]-c[b+E]),A),w+=vf.repeat(" ",i.indent)+$Oe((n.line+E+1).toString(),x)+" | "+S.str+`
`;return w.replace(/\n$/,"")}var mJn=bJn,wJn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],yJn=["scalar","sequence","mapping"];function vJn(n){var i={};return n!==null&&Object.keys(n).forEach(function(s){n[s].forEach(function(c){i[String(c)]=s})}),i}function EJn(n,i){if(i=i||{},Object.keys(i).forEach(function(s){if(wJn.indexOf(s)===-1)throw new ib('Unknown option "'+s+'" is met in definition of "'+n+'" YAML type.')}),this.options=i,this.tag=n,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(s){return s},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=vJn(i.styleAliases||null),yJn.indexOf(this.kind)===-1)throw new ib('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var Bp=EJn;function SFt(n,i){var s=[];return n[i].forEach(function(c){var d=s.length;s.forEach(function(g,b){g.tag===c.tag&&g.kind===c.kind&&g.multi===c.multi&&(d=b)}),s[d]=c}),s}function SJn(){var n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},i,s;function c(d){d.multi?(n.multi[d.kind].push(d),n.multi.fallback.push(d)):n[d.kind][d.tag]=n.fallback[d.tag]=d}for(i=0,s=arguments.length;i<s;i+=1)arguments[i].forEach(c);return n}function jDe(n){return this.extend(n)}jDe.prototype.extend=function(i){var s=[],c=[];if(i instanceof Bp)c.push(i);else if(Array.isArray(i))c=c.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(s=s.concat(i.implicit)),i.explicit&&(c=c.concat(i.explicit));else throw new ib("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");s.forEach(function(g){if(!(g instanceof Bp))throw new ib("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(g.loadKind&&g.loadKind!=="scalar")throw new ib("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(g.multi)throw new ib("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(g){if(!(g instanceof Bp))throw new ib("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var d=Object.create(jDe.prototype);return d.implicit=(this.implicit||[]).concat(s),d.explicit=(this.explicit||[]).concat(c),d.compiledImplicit=SFt(d,"implicit"),d.compiledExplicit=SFt(d,"explicit"),d.compiledTypeMap=SJn(d.compiledImplicit,d.compiledExplicit),d};var TJn=jDe,AJn=new Bp("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),_Jn=new Bp("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),xJn=new Bp("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),kJn=new TJn({explicit:[AJn,_Jn,xJn]});function NJn(n){if(n===null)return!0;var i=n.length;return i===1&&n==="~"||i===4&&(n==="null"||n==="Null"||n==="NULL")}function CJn(){return null}function IJn(n){return n===null}var RJn=new Bp("tag:yaml.org,2002:null",{kind:"scalar",resolve:NJn,construct:CJn,predicate:IJn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function OJn(n){if(n===null)return!1;var i=n.length;return i===4&&(n==="true"||n==="True"||n==="TRUE")||i===5&&(n==="false"||n==="False"||n==="FALSE")}function DJn(n){return n==="true"||n==="True"||n==="TRUE"}function LJn(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var MJn=new Bp("tag:yaml.org,2002:bool",{kind:"scalar",resolve:OJn,construct:DJn,predicate:LJn,represent:{lowercase:function(n){return n?"true":"false"},uppercase:function(n){return n?"TRUE":"FALSE"},camelcase:function(n){return n?"True":"False"}},defaultStyle:"lowercase"});function PJn(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function jJn(n){return 48<=n&&n<=55}function FJn(n){return 48<=n&&n<=57}function $Jn(n){if(n===null)return!1;var i=n.length,s=0,c=!1,d;if(!i)return!1;if(d=n[s],(d==="-"||d==="+")&&(d=n[++s]),d==="0"){if(s+1===i)return!0;if(d=n[++s],d==="b"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(d!=="0"&&d!=="1")return!1;c=!0}return c&&d!=="_"}if(d==="x"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(!PJn(n.charCodeAt(s)))return!1;c=!0}return c&&d!=="_"}if(d==="o"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(!jJn(n.charCodeAt(s)))return!1;c=!0}return c&&d!=="_"}}if(d==="_")return!1;for(;s<i;s++)if(d=n[s],d!=="_"){if(!FJn(n.charCodeAt(s)))return!1;c=!0}return!(!c||d==="_")}function BJn(n){var i=n,s=1,c;if(i.indexOf("_")!==-1&&(i=i.replace(/_/g,"")),c=i[0],(c==="-"||c==="+")&&(c==="-"&&(s=-1),i=i.slice(1),c=i[0]),i==="0")return 0;if(c==="0"){if(i[1]==="b")return s*parseInt(i.slice(2),2);if(i[1]==="x")return s*parseInt(i.slice(2),16);if(i[1]==="o")return s*parseInt(i.slice(2),8)}return s*parseInt(i,10)}function UJn(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!vf.isNegativeZero(n)}var HJn=new Bp("tag:yaml.org,2002:int",{kind:"scalar",resolve:$Jn,construct:BJn,predicate:UJn,represent:{binary:function(n){return n>=0?"0b"+n.toString(2):"-0b"+n.toString(2).slice(1)},octal:function(n){return n>=0?"0o"+n.toString(8):"-0o"+n.toString(8).slice(1)},decimal:function(n){return n.toString(10)},hexadecimal:function(n){return n>=0?"0x"+n.toString(16).toUpperCase():"-0x"+n.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),zJn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function GJn(n){return!(n===null||!zJn.test(n)||n[n.length-1]==="_")}function qJn(n){var i,s;return i=n.replace(/_/g,"").toLowerCase(),s=i[0]==="-"?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),i===".inf"?s===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:i===".nan"?NaN:s*parseFloat(i,10)}var VJn=/^[-+]?[0-9]+e/;function WJn(n,i){var s;if(isNaN(n))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(vf.isNegativeZero(n))return"-0.0";return s=n.toString(10),VJn.test(s)?s.replace("e",".e"):s}function KJn(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||vf.isNegativeZero(n))}var YJn=new Bp("tag:yaml.org,2002:float",{kind:"scalar",resolve:GJn,construct:qJn,predicate:KJn,represent:WJn,defaultStyle:"lowercase"}),JJn=kJn.extend({implicit:[RJn,MJn,HJn,YJn]}),XJn=JJn,kWt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),NWt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function ZJn(n){return n===null?!1:kWt.exec(n)!==null||NWt.exec(n)!==null}function QJn(n){var i,s,c,d,g,b,w,E=0,S=null,x,A,C;if(i=kWt.exec(n),i===null&&(i=NWt.exec(n)),i===null)throw new Error("Date resolve error");if(s=+i[1],c=+i[2]-1,d=+i[3],!i[4])return new Date(Date.UTC(s,c,d));if(g=+i[4],b=+i[5],w=+i[6],i[7]){for(E=i[7].slice(0,3);E.length<3;)E+="0";E=+E}return i[9]&&(x=+i[10],A=+(i[11]||0),S=(x*60+A)*6e4,i[9]==="-"&&(S=-S)),C=new Date(Date.UTC(s,c,d,g,b,w,E)),S&&C.setTime(C.getTime()-S),C}function eXn(n){return n.toISOString()}var tXn=new Bp("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:ZJn,construct:QJn,instanceOf:Date,represent:eXn});function nXn(n){return n==="<<"||n===null}var rXn=new Bp("tag:yaml.org,2002:merge",{kind:"scalar",resolve:nXn}),PMe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function iXn(n){if(n===null)return!1;var i,s,c=0,d=n.length,g=PMe;for(s=0;s<d;s++)if(i=g.indexOf(n.charAt(s)),!(i>64)){if(i<0)return!1;c+=6}return c%8===0}function oXn(n){var i,s,c=n.replace(/[\r\n=]/g,""),d=c.length,g=PMe,b=0,w=[];for(i=0;i<d;i++)i%4===0&&i&&(w.push(b>>16&255),w.push(b>>8&255),w.push(b&255)),b=b<<6|g.indexOf(c.charAt(i));return s=d%4*6,s===0?(w.push(b>>16&255),w.push(b>>8&255),w.push(b&255)):s===18?(w.push(b>>10&255),w.push(b>>2&255)):s===12&&w.push(b>>4&255),new Uint8Array(w)}function sXn(n){var i="",s=0,c,d,g=n.length,b=PMe;for(c=0;c<g;c++)c%3===0&&c&&(i+=b[s>>18&63],i+=b[s>>12&63],i+=b[s>>6&63],i+=b[s&63]),s=(s<<8)+n[c];return d=g%3,d===0?(i+=b[s>>18&63],i+=b[s>>12&63],i+=b[s>>6&63],i+=b[s&63]):d===2?(i+=b[s>>10&63],i+=b[s>>4&63],i+=b[s<<2&63],i+=b[64]):d===1&&(i+=b[s>>2&63],i+=b[s<<4&63],i+=b[64],i+=b[64]),i}function aXn(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var uXn=new Bp("tag:yaml.org,2002:binary",{kind:"scalar",resolve:iXn,construct:oXn,predicate:aXn,represent:sXn}),cXn=Object.prototype.hasOwnProperty,lXn=Object.prototype.toString;function dXn(n){if(n===null)return!0;var i=[],s,c,d,g,b,w=n;for(s=0,c=w.length;s<c;s+=1){if(d=w[s],b=!1,lXn.call(d)!=="[object Object]")return!1;for(g in d)if(cXn.call(d,g))if(!b)b=!0;else return!1;if(!b)return!1;if(i.indexOf(g)===-1)i.push(g);else return!1}return!0}function fXn(n){return n!==null?n:[]}var hXn=new Bp("tag:yaml.org,2002:omap",{kind:"sequence",resolve:dXn,construct:fXn}),pXn=Object.prototype.toString;function gXn(n){if(n===null)return!0;var i,s,c,d,g,b=n;for(g=new Array(b.length),i=0,s=b.length;i<s;i+=1){if(c=b[i],pXn.call(c)!=="[object Object]"||(d=Object.keys(c),d.length!==1))return!1;g[i]=[d[0],c[d[0]]]}return!0}function bXn(n){if(n===null)return[];var i,s,c,d,g,b=n;for(g=new Array(b.length),i=0,s=b.length;i<s;i+=1)c=b[i],d=Object.keys(c),g[i]=[d[0],c[d[0]]];return g}var mXn=new Bp("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:gXn,construct:bXn}),wXn=Object.prototype.hasOwnProperty;function yXn(n){if(n===null)return!0;var i,s=n;for(i in s)if(wXn.call(s,i)&&s[i]!==null)return!1;return!0}function vXn(n){return n!==null?n:{}}var EXn=new Bp("tag:yaml.org,2002:set",{kind:"mapping",resolve:yXn,construct:vXn}),CWt=XJn.extend({implicit:[tXn,rXn],explicit:[uXn,hXn,mXn,EXn]}),bN=Object.prototype.hasOwnProperty,lse=1,IWt=2,RWt=3,dse=4,BOe=1,SXn=2,TFt=3,TXn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,AXn=/[\x85\u2028\u2029]/,_Xn=/[,\[\]\{\}]/,OWt=/^(?:!|!!|![a-z\-]+!)$/i,DWt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function AFt(n){return Object.prototype.toString.call(n)}function U2(n){return n===10||n===13}function rR(n){return n===9||n===32}function ub(n){return n===9||n===32||n===10||n===13}function V5(n){return n===44||n===91||n===93||n===123||n===125}function xXn(n){var i;return 48<=n&&n<=57?n-48:(i=n|32,97<=i&&i<=102?i-97+10:-1)}function kXn(n){return n===120?2:n===117?4:n===85?8:0}function NXn(n){return 48<=n&&n<=57?n-48:-1}function _Ft(n){return n===48?"\0":n===97?"\x07":n===98?"\b":n===116||n===9?" ":n===110?`
`:n===118?"\v":n===102?"\f":n===114?"\r":n===101?"\x1B":n===32?" ":n===34?'"':n===47?"/":n===92?"\\":n===78?"…":n===95?" ":n===76?"\u2028":n===80?"\u2029":""}function CXn(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}function LWt(n,i,s){i==="__proto__"?Object.defineProperty(n,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):n[i]=s}var MWt=new Array(256),PWt=new Array(256);for(var E5=0;E5<256;E5++)MWt[E5]=_Ft(E5)?1:0,PWt[E5]=_Ft(E5);function IXn(n,i){this.input=n,this.filename=i.filename||null,this.schema=i.schema||CWt,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=n.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function jWt(n,i){var s={name:n.filename,buffer:n.input.slice(0,-1),position:n.position,line:n.line,column:n.position-n.lineStart};return s.snippet=mJn(s),new ib(i,s)}function ki(n,i){throw jWt(n,i)}function fse(n,i){n.onWarning&&n.onWarning.call(null,jWt(n,i))}var xFt={YAML:function(i,s,c){var d,g,b;i.version!==null&&ki(i,"duplication of %YAML directive"),c.length!==1&&ki(i,"YAML directive accepts exactly one argument"),d=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),d===null&&ki(i,"ill-formed argument of the YAML directive"),g=parseInt(d[1],10),b=parseInt(d[2],10),g!==1&&ki(i,"unacceptable YAML version of the document"),i.version=c[0],i.checkLineBreaks=b<2,b!==1&&b!==2&&fse(i,"unsupported YAML version of the document")},TAG:function(i,s,c){var d,g;c.length!==2&&ki(i,"TAG directive accepts exactly two arguments"),d=c[0],g=c[1],OWt.test(d)||ki(i,"ill-formed tag handle (first argument) of the TAG directive"),bN.call(i.tagMap,d)&&ki(i,'there is a previously declared suffix for "'+d+'" tag handle'),DWt.test(g)||ki(i,"ill-formed tag prefix (second argument) of the TAG directive");try{g=decodeURIComponent(g)}catch{ki(i,"tag prefix is malformed: "+g)}i.tagMap[d]=g}};function eN(n,i,s,c){var d,g,b,w;if(i<s){if(w=n.input.slice(i,s),c)for(d=0,g=w.length;d<g;d+=1)b=w.charCodeAt(d),b===9||32<=b&&b<=1114111||ki(n,"expected valid JSON character");else TXn.test(w)&&ki(n,"the stream contains non-printable characters");n.result+=w}}function kFt(n,i,s,c){var d,g,b,w;for(vf.isObject(s)||ki(n,"cannot merge mappings; the provided source object is unacceptable"),d=Object.keys(s),b=0,w=d.length;b<w;b+=1)g=d[b],bN.call(i,g)||(LWt(i,g,s[g]),c[g]=!0)}function W5(n,i,s,c,d,g,b,w,E){var S,x;if(Array.isArray(d))for(d=Array.prototype.slice.call(d),S=0,x=d.length;S<x;S+=1)Array.isArray(d[S])&&ki(n,"nested arrays are not supported inside keys"),typeof d=="object"&&AFt(d[S])==="[object Object]"&&(d[S]="[object Object]");if(typeof d=="object"&&AFt(d)==="[object Object]"&&(d="[object Object]"),d=String(d),i===null&&(i={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(g))for(S=0,x=g.length;S<x;S+=1)kFt(n,i,g[S],s);else kFt(n,i,g,s);else!n.json&&!bN.call(s,d)&&bN.call(i,d)&&(n.line=b||n.line,n.lineStart=w||n.lineStart,n.position=E||n.position,ki(n,"duplicated mapping key")),LWt(i,d,g),delete s[d];return i}function jMe(n){var i;i=n.input.charCodeAt(n.position),i===10?n.position++:i===13?(n.position++,n.input.charCodeAt(n.position)===10&&n.position++):ki(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function $d(n,i,s){for(var c=0,d=n.input.charCodeAt(n.position);d!==0;){for(;rR(d);)d===9&&n.firstTabInLine===-1&&(n.firstTabInLine=n.position),d=n.input.charCodeAt(++n.position);if(i&&d===35)do d=n.input.charCodeAt(++n.position);while(d!==10&&d!==13&&d!==0);if(U2(d))for(jMe(n),d=n.input.charCodeAt(n.position),c++,n.lineIndent=0;d===32;)n.lineIndent++,d=n.input.charCodeAt(++n.position);else break}return s!==-1&&c!==0&&n.lineIndent<s&&fse(n,"deficient indentation"),c}function Hae(n){var i=n.position,s;return s=n.input.charCodeAt(i),!!((s===45||s===46)&&s===n.input.charCodeAt(i+1)&&s===n.input.charCodeAt(i+2)&&(i+=3,s=n.input.charCodeAt(i),s===0||ub(s)))}function FMe(n,i){i===1?n.result+=" ":i>1&&(n.result+=vf.repeat(`
`,i-1))}function RXn(n,i,s){var c,d,g,b,w,E,S,x,A=n.kind,C=n.result,R;if(R=n.input.charCodeAt(n.position),ub(R)||V5(R)||R===35||R===38||R===42||R===33||R===124||R===62||R===39||R===34||R===37||R===64||R===96||(R===63||R===45)&&(d=n.input.charCodeAt(n.position+1),ub(d)||s&&V5(d)))return!1;for(n.kind="scalar",n.result="",g=b=n.position,w=!1;R!==0;){if(R===58){if(d=n.input.charCodeAt(n.position+1),ub(d)||s&&V5(d))break}else if(R===35){if(c=n.input.charCodeAt(n.position-1),ub(c))break}else{if(n.position===n.lineStart&&Hae(n)||s&&V5(R))break;if(U2(R))if(E=n.line,S=n.lineStart,x=n.lineIndent,$d(n,!1,-1),n.lineIndent>=i){w=!0,R=n.input.charCodeAt(n.position);continue}else{n.position=b,n.line=E,n.lineStart=S,n.lineIndent=x;break}}w&&(eN(n,g,b,!1),FMe(n,n.line-E),g=b=n.position,w=!1),rR(R)||(b=n.position+1),R=n.input.charCodeAt(++n.position)}return eN(n,g,b,!1),n.result?!0:(n.kind=A,n.result=C,!1)}function OXn(n,i){var s,c,d;if(s=n.input.charCodeAt(n.position),s!==39)return!1;for(n.kind="scalar",n.result="",n.position++,c=d=n.position;(s=n.input.charCodeAt(n.position))!==0;)if(s===39)if(eN(n,c,n.position,!0),s=n.input.charCodeAt(++n.position),s===39)c=n.position,n.position++,d=n.position;else return!0;else U2(s)?(eN(n,c,d,!0),FMe(n,$d(n,!1,i)),c=d=n.position):n.position===n.lineStart&&Hae(n)?ki(n,"unexpected end of the document within a single quoted scalar"):(n.position++,d=n.position);ki(n,"unexpected end of the stream within a single quoted scalar")}function DXn(n,i){var s,c,d,g,b,w;if(w=n.input.charCodeAt(n.position),w!==34)return!1;for(n.kind="scalar",n.result="",n.position++,s=c=n.position;(w=n.input.charCodeAt(n.position))!==0;){if(w===34)return eN(n,s,n.position,!0),n.position++,!0;if(w===92){if(eN(n,s,n.position,!0),w=n.input.charCodeAt(++n.position),U2(w))$d(n,!1,i);else if(w<256&&MWt[w])n.result+=PWt[w],n.position++;else if((b=kXn(w))>0){for(d=b,g=0;d>0;d--)w=n.input.charCodeAt(++n.position),(b=xXn(w))>=0?g=(g<<4)+b:ki(n,"expected hexadecimal character");n.result+=CXn(g),n.position++}else ki(n,"unknown escape sequence");s=c=n.position}else U2(w)?(eN(n,s,c,!0),FMe(n,$d(n,!1,i)),s=c=n.position):n.position===n.lineStart&&Hae(n)?ki(n,"unexpected end of the document within a double quoted scalar"):(n.position++,c=n.position)}ki(n,"unexpected end of the stream within a double quoted scalar")}function LXn(n,i){var s=!0,c,d,g,b=n.tag,w,E=n.anchor,S,x,A,C,R,L=Object.create(null),D,B,$,j;if(j=n.input.charCodeAt(n.position),j===91)x=93,R=!1,w=[];else if(j===123)x=125,R=!0,w={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=w),j=n.input.charCodeAt(++n.position);j!==0;){if($d(n,!0,i),j=n.input.charCodeAt(n.position),j===x)return n.position++,n.tag=b,n.anchor=E,n.kind=R?"mapping":"sequence",n.result=w,!0;s?j===44&&ki(n,"expected the node content, but found ','"):ki(n,"missed comma between flow collection entries"),B=D=$=null,A=C=!1,j===63&&(S=n.input.charCodeAt(n.position+1),ub(S)&&(A=C=!0,n.position++,$d(n,!0,i))),c=n.line,d=n.lineStart,g=n.position,IM(n,i,lse,!1,!0),B=n.tag,D=n.result,$d(n,!0,i),j=n.input.charCodeAt(n.position),(C||n.line===c)&&j===58&&(A=!0,j=n.input.charCodeAt(++n.position),$d(n,!0,i),IM(n,i,lse,!1,!0),$=n.result),R?W5(n,w,L,B,D,$,c,d,g):A?w.push(W5(n,null,L,B,D,$,c,d,g)):w.push(D),$d(n,!0,i),j=n.input.charCodeAt(n.position),j===44?(s=!0,j=n.input.charCodeAt(++n.position)):s=!1}ki(n,"unexpected end of the stream within a flow collection")}function MXn(n,i){var s,c,d=BOe,g=!1,b=!1,w=i,E=0,S=!1,x,A;if(A=n.input.charCodeAt(n.position),A===124)c=!1;else if(A===62)c=!0;else return!1;for(n.kind="scalar",n.result="";A!==0;)if(A=n.input.charCodeAt(++n.position),A===43||A===45)BOe===d?d=A===43?TFt:SXn:ki(n,"repeat of a chomping mode identifier");else if((x=NXn(A))>=0)x===0?ki(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?ki(n,"repeat of an indentation width identifier"):(w=i+x-1,b=!0);else break;if(rR(A)){do A=n.input.charCodeAt(++n.position);while(rR(A));if(A===35)do A=n.input.charCodeAt(++n.position);while(!U2(A)&&A!==0)}for(;A!==0;){for(jMe(n),n.lineIndent=0,A=n.input.charCodeAt(n.position);(!b||n.lineIndent<w)&&A===32;)n.lineIndent++,A=n.input.charCodeAt(++n.position);if(!b&&n.lineIndent>w&&(w=n.lineIndent),U2(A)){E++;continue}if(n.lineIndent<w){d===TFt?n.result+=vf.repeat(`
`,g?1+E:E):d===BOe&&g&&(n.result+=`
`);break}for(c?rR(A)?(S=!0,n.result+=vf.repeat(`
`,g?1+E:E)):S?(S=!1,n.result+=vf.repeat(`
`,E+1)):E===0?g&&(n.result+=" "):n.result+=vf.repeat(`
`,E):n.result+=vf.repeat(`
`,g?1+E:E),g=!0,b=!0,E=0,s=n.position;!U2(A)&&A!==0;)A=n.input.charCodeAt(++n.position);eN(n,s,n.position,!1)}return!0}function NFt(n,i){var s,c=n.tag,d=n.anchor,g=[],b,w=!1,E;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=g),E=n.input.charCodeAt(n.position);E!==0&&(n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,ki(n,"tab characters must not be used in indentation")),!(E!==45||(b=n.input.charCodeAt(n.position+1),!ub(b))));){if(w=!0,n.position++,$d(n,!0,-1)&&n.lineIndent<=i){g.push(null),E=n.input.charCodeAt(n.position);continue}if(s=n.line,IM(n,i,RWt,!1,!0),g.push(n.result),$d(n,!0,-1),E=n.input.charCodeAt(n.position),(n.line===s||n.lineIndent>i)&&E!==0)ki(n,"bad indentation of a sequence entry");else if(n.lineIndent<i)break}return w?(n.tag=c,n.anchor=d,n.kind="sequence",n.result=g,!0):!1}function PXn(n,i,s){var c,d,g,b,w,E,S=n.tag,x=n.anchor,A={},C=Object.create(null),R=null,L=null,D=null,B=!1,$=!1,j;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=A),j=n.input.charCodeAt(n.position);j!==0;){if(!B&&n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,ki(n,"tab characters must not be used in indentation")),c=n.input.charCodeAt(n.position+1),g=n.line,(j===63||j===58)&&ub(c))j===63?(B&&(W5(n,A,C,R,L,null,b,w,E),R=L=D=null),$=!0,B=!0,d=!0):B?(B=!1,d=!0):ki(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,j=c;else{if(b=n.line,w=n.lineStart,E=n.position,!IM(n,s,IWt,!1,!0))break;if(n.line===g){for(j=n.input.charCodeAt(n.position);rR(j);)j=n.input.charCodeAt(++n.position);if(j===58)j=n.input.charCodeAt(++n.position),ub(j)||ki(n,"a whitespace character is expected after the key-value separator within a block mapping"),B&&(W5(n,A,C,R,L,null,b,w,E),R=L=D=null),$=!0,B=!1,d=!1,R=n.tag,L=n.result;else if($)ki(n,"can not read an implicit mapping pair; a colon is missed");else return n.tag=S,n.anchor=x,!0}else if($)ki(n,"can not read a block mapping entry; a multiline key may not be an implicit key");else return n.tag=S,n.anchor=x,!0}if((n.line===g||n.lineIndent>i)&&(B&&(b=n.line,w=n.lineStart,E=n.position),IM(n,i,dse,!0,d)&&(B?L=n.result:D=n.result),B||(W5(n,A,C,R,L,D,b,w,E),R=L=D=null),$d(n,!0,-1),j=n.input.charCodeAt(n.position)),(n.line===g||n.lineIndent>i)&&j!==0)ki(n,"bad indentation of a mapping entry");else if(n.lineIndent<i)break}return B&&W5(n,A,C,R,L,null,b,w,E),$&&(n.tag=S,n.anchor=x,n.kind="mapping",n.result=A),$}function jXn(n){var i,s=!1,c=!1,d,g,b;if(b=n.input.charCodeAt(n.position),b!==33)return!1;if(n.tag!==null&&ki(n,"duplication of a tag property"),b=n.input.charCodeAt(++n.position),b===60?(s=!0,b=n.input.charCodeAt(++n.position)):b===33?(c=!0,d="!!",b=n.input.charCodeAt(++n.position)):d="!",i=n.position,s){do b=n.input.charCodeAt(++n.position);while(b!==0&&b!==62);n.position<n.length?(g=n.input.slice(i,n.position),b=n.input.charCodeAt(++n.position)):ki(n,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!ub(b);)b===33&&(c?ki(n,"tag suffix cannot contain exclamation marks"):(d=n.input.slice(i-1,n.position+1),OWt.test(d)||ki(n,"named tag handle cannot contain such characters"),c=!0,i=n.position+1)),b=n.input.charCodeAt(++n.position);g=n.input.slice(i,n.position),_Xn.test(g)&&ki(n,"tag suffix cannot contain flow indicator characters")}g&&!DWt.test(g)&&ki(n,"tag name cannot contain such characters: "+g);try{g=decodeURIComponent(g)}catch{ki(n,"tag name is malformed: "+g)}return s?n.tag=g:bN.call(n.tagMap,d)?n.tag=n.tagMap[d]+g:d==="!"?n.tag="!"+g:d==="!!"?n.tag="tag:yaml.org,2002:"+g:ki(n,'undeclared tag handle "'+d+'"'),!0}function FXn(n){var i,s;if(s=n.input.charCodeAt(n.position),s!==38)return!1;for(n.anchor!==null&&ki(n,"duplication of an anchor property"),s=n.input.charCodeAt(++n.position),i=n.position;s!==0&&!ub(s)&&!V5(s);)s=n.input.charCodeAt(++n.position);return n.position===i&&ki(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(i,n.position),!0}function $Xn(n){var i,s,c;if(c=n.input.charCodeAt(n.position),c!==42)return!1;for(c=n.input.charCodeAt(++n.position),i=n.position;c!==0&&!ub(c)&&!V5(c);)c=n.input.charCodeAt(++n.position);return n.position===i&&ki(n,"name of an alias node must contain at least one character"),s=n.input.slice(i,n.position),bN.call(n.anchorMap,s)||ki(n,'unidentified alias "'+s+'"'),n.result=n.anchorMap[s],$d(n,!0,-1),!0}function IM(n,i,s,c,d){var g,b,w,E=1,S=!1,x=!1,A,C,R,L,D,B;if(n.listener!==null&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,g=b=w=dse===s||RWt===s,c&&$d(n,!0,-1)&&(S=!0,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)),E===1)for(;jXn(n)||FXn(n);)$d(n,!0,-1)?(S=!0,w=g,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)):w=!1;if(w&&(w=S||d),(E===1||dse===s)&&(lse===s||IWt===s?D=i:D=i+1,B=n.position-n.lineStart,E===1?w&&(NFt(n,B)||PXn(n,B,D))||LXn(n,D)?x=!0:(b&&MXn(n,D)||OXn(n,D)||DXn(n,D)?x=!0:$Xn(n)?(x=!0,(n.tag!==null||n.anchor!==null)&&ki(n,"alias node should not have any properties")):RXn(n,D,lse===s)&&(x=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):E===0&&(x=w&&NFt(n,B))),n.tag===null)n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);else if(n.tag==="?"){for(n.result!==null&&n.kind!=="scalar"&&ki(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),A=0,C=n.implicitTypes.length;A<C;A+=1)if(L=n.implicitTypes[A],L.resolve(n.result)){n.result=L.construct(n.result),n.tag=L.tag,n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);break}}else if(n.tag!=="!"){if(bN.call(n.typeMap[n.kind||"fallback"],n.tag))L=n.typeMap[n.kind||"fallback"][n.tag];else for(L=null,R=n.typeMap.multi[n.kind||"fallback"],A=0,C=R.length;A<C;A+=1)if(n.tag.slice(0,R[A].tag.length)===R[A].tag){L=R[A];break}L||ki(n,"unknown tag !<"+n.tag+">"),n.result!==null&&L.kind!==n.kind&&ki(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+L.kind+'", not "'+n.kind+'"'),L.resolve(n.result,n.tag)?(n.result=L.construct(n.result,n.tag),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):ki(n,"cannot resolve a node with !<"+n.tag+"> explicit tag")}return n.listener!==null&&n.listener("close",n),n.tag!==null||n.anchor!==null||x}function BXn(n){var i=n.position,s,c,d,g=!1,b;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);(b=n.input.charCodeAt(n.position))!==0&&($d(n,!0,-1),b=n.input.charCodeAt(n.position),!(n.lineIndent>0||b!==37));){for(g=!0,b=n.input.charCodeAt(++n.position),s=n.position;b!==0&&!ub(b);)b=n.input.charCodeAt(++n.position);for(c=n.input.slice(s,n.position),d=[],c.length<1&&ki(n,"directive name must not be less than one character in length");b!==0;){for(;rR(b);)b=n.input.charCodeAt(++n.position);if(b===35){do b=n.input.charCodeAt(++n.position);while(b!==0&&!U2(b));break}if(U2(b))break;for(s=n.position;b!==0&&!ub(b);)b=n.input.charCodeAt(++n.position);d.push(n.input.slice(s,n.position))}b!==0&&jMe(n),bN.call(xFt,c)?xFt[c](n,c,d):fse(n,'unknown document directive "'+c+'"')}if($d(n,!0,-1),n.lineIndent===0&&n.input.charCodeAt(n.position)===45&&n.input.charCodeAt(n.position+1)===45&&n.input.charCodeAt(n.position+2)===45?(n.position+=3,$d(n,!0,-1)):g&&ki(n,"directives end mark is expected"),IM(n,n.lineIndent-1,dse,!1,!0),$d(n,!0,-1),n.checkLineBreaks&&AXn.test(n.input.slice(i,n.position))&&fse(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&Hae(n)){n.input.charCodeAt(n.position)===46&&(n.position+=3,$d(n,!0,-1));return}if(n.position<n.length-1)ki(n,"end of the stream or a document separator is expected");else return}function UXn(n,i){n=String(n),i=i||{},n.length!==0&&(n.charCodeAt(n.length-1)!==10&&n.charCodeAt(n.length-1)!==13&&(n+=`
`),n.charCodeAt(0)===65279&&(n=n.slice(1)));var s=new IXn(n,i),c=n.indexOf("\0");for(c!==-1&&(s.position=c,ki(s,"null byte is not allowed in input")),s.input+="\0";s.input.charCodeAt(s.position)===32;)s.lineIndent+=1,s.position+=1;for(;s.position<s.length-1;)BXn(s);return s.documents}function HXn(n,i){var s=UXn(n,i);if(s.length!==0){if(s.length===1)return s[0];throw new ib("expected a single document in the stream, but found more")}}var zXn=HXn,GXn={load:zXn},FWt=Object.prototype.toString,$Wt=Object.prototype.hasOwnProperty,$Me=65279,qXn=9,az=10,VXn=13,WXn=32,KXn=33,YXn=34,FDe=35,JXn=37,XXn=38,ZXn=39,QXn=42,BWt=44,eZn=45,hse=58,tZn=61,nZn=62,rZn=63,iZn=64,UWt=91,HWt=93,oZn=96,zWt=123,sZn=124,GWt=125,qp={};qp[0]="\\0";qp[7]="\\a";qp[8]="\\b";qp[9]="\\t";qp[10]="\\n";qp[11]="\\v";qp[12]="\\f";qp[13]="\\r";qp[27]="\\e";qp[34]='\\"';qp[92]="\\\\";qp[133]="\\N";qp[160]="\\_";qp[8232]="\\L";qp[8233]="\\P";var aZn=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],uZn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function cZn(n,i){var s,c,d,g,b,w,E;if(i===null)return{};for(s={},c=Object.keys(i),d=0,g=c.length;d<g;d+=1)b=c[d],w=String(i[b]),b.slice(0,2)==="!!"&&(b="tag:yaml.org,2002:"+b.slice(2)),E=n.compiledTypeMap.fallback[b],E&&$Wt.call(E.styleAliases,w)&&(w=E.styleAliases[w]),s[b]=w;return s}function lZn(n){var i,s,c;if(i=n.toString(16).toUpperCase(),n<=255)s="x",c=2;else if(n<=65535)s="u",c=4;else if(n<=4294967295)s="U",c=8;else throw new ib("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+s+vf.repeat("0",c-i.length)+i}var dZn=1,uz=2;function fZn(n){this.schema=n.schema||CWt,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=vf.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=cZn(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType=n.quotingType==='"'?uz:dZn,this.forceQuotes=n.forceQuotes||!1,this.replacer=typeof n.replacer=="function"?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function CFt(n,i){for(var s=vf.repeat(" ",i),c=0,d=-1,g="",b,w=n.length;c<w;)d=n.indexOf(`
`,c),d===-1?(b=n.slice(c),c=w):(b=n.slice(c,d+1),c=d+1),b.length&&b!==`
`&&(g+=s),g+=b;return g}function $De(n,i){return`
`+vf.repeat(" ",n.indent*i)}function hZn(n,i){var s,c,d;for(s=0,c=n.implicitTypes.length;s<c;s+=1)if(d=n.implicitTypes[s],d.resolve(i))return!0;return!1}function pse(n){return n===WXn||n===qXn}function cz(n){return 32<=n&&n<=126||161<=n&&n<=55295&&n!==8232&&n!==8233||57344<=n&&n<=65533&&n!==$Me||65536<=n&&n<=1114111}function IFt(n){return cz(n)&&n!==$Me&&n!==VXn&&n!==az}function RFt(n,i,s){var c=IFt(n),d=c&&!pse(n);return(s?c:c&&n!==BWt&&n!==UWt&&n!==HWt&&n!==zWt&&n!==GWt)&&n!==FDe&&!(i===hse&&!d)||IFt(i)&&!pse(i)&&n===FDe||i===hse&&d}function pZn(n){return cz(n)&&n!==$Me&&!pse(n)&&n!==eZn&&n!==rZn&&n!==hse&&n!==BWt&&n!==UWt&&n!==HWt&&n!==zWt&&n!==GWt&&n!==FDe&&n!==XXn&&n!==QXn&&n!==KXn&&n!==sZn&&n!==tZn&&n!==nZn&&n!==ZXn&&n!==YXn&&n!==JXn&&n!==iZn&&n!==oZn}function gZn(n){return!pse(n)&&n!==hse}function rH(n,i){var s=n.charCodeAt(i),c;return s>=55296&&s<=56319&&i+1<n.length&&(c=n.charCodeAt(i+1),c>=56320&&c<=57343)?(s-55296)*1024+c-56320+65536:s}function qWt(n){var i=/^\n* /;return i.test(n)}var VWt=1,BDe=2,WWt=3,KWt=4,x5=5;function bZn(n,i,s,c,d,g,b,w){var E,S=0,x=null,A=!1,C=!1,R=c!==-1,L=-1,D=pZn(rH(n,0))&&gZn(rH(n,n.length-1));if(i||b)for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=rH(n,E),!cz(S))return x5;D=D&&RFt(S,x,w),x=S}else{for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=rH(n,E),S===az)A=!0,R&&(C=C||E-L-1>c&&n[L+1]!==" ",L=E);else if(!cz(S))return x5;D=D&&RFt(S,x,w),x=S}C=C||R&&E-L-1>c&&n[L+1]!==" "}return!A&&!C?D&&!b&&!d(n)?VWt:g===uz?x5:BDe:s>9&&qWt(n)?x5:b?g===uz?x5:BDe:C?KWt:WWt}function mZn(n,i,s,c,d){n.dump=function(){if(i.length===0)return n.quotingType===uz?'""':"''";if(!n.noCompatMode&&(aZn.indexOf(i)!==-1||uZn.test(i)))return n.quotingType===uz?'"'+i+'"':"'"+i+"'";var g=n.indent*Math.max(1,s),b=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-g),w=c||n.flowLevel>-1&&s>=n.flowLevel;function E(S){return hZn(n,S)}switch(bZn(i,w,n.indent,b,E,n.quotingType,n.forceQuotes&&!c,d)){case VWt:return i;case BDe:return"'"+i.replace(/'/g,"''")+"'";case WWt:return"|"+OFt(i,n.indent)+DFt(CFt(i,g));case KWt:return">"+OFt(i,n.indent)+DFt(CFt(wZn(i,b),g));case x5:return'"'+yZn(i)+'"';default:throw new ib("impossible error: invalid scalar style")}}()}function OFt(n,i){var s=qWt(n)?String(i):"",c=n[n.length-1]===`
`,d=c&&(n[n.length-2]===`
`||n===`
`),g=d?"+":c?"":"-";return s+g+`
`}function DFt(n){return n[n.length-1]===`
`?n.slice(0,-1):n}function wZn(n,i){for(var s=/(\n+)([^\n]*)/g,c=function(){var S=n.indexOf(`
`);return S=S!==-1?S:n.length,s.lastIndex=S,LFt(n.slice(0,S),i)}(),d=n[0]===`
`||n[0]===" ",g,b;b=s.exec(n);){var w=b[1],E=b[2];g=E[0]===" ",c+=w+(!d&&!g&&E!==""?`
`:"")+LFt(E,i),d=g}return c}function LFt(n,i){if(n===""||n[0]===" ")return n;for(var s=/ [^ ]/g,c,d=0,g,b=0,w=0,E="";c=s.exec(n);)w=c.index,w-d>i&&(g=b>d?b:w,E+=`
`+n.slice(d,g),d=g+1),b=w;return E+=`
`,n.length-d>i&&b>d?E+=n.slice(d,b)+`
`+n.slice(b+1):E+=n.slice(d),E.slice(1)}function yZn(n){for(var i="",s=0,c,d=0;d<n.length;s>=65536?d+=2:d++)s=rH(n,d),c=qp[s],!c&&cz(s)?(i+=n[d],s>=65536&&(i+=n[d+1])):i+=c||lZn(s);return i}function vZn(n,i,s){var c="",d=n.tag,g,b,w;for(g=0,b=s.length;g<b;g+=1)w=s[g],n.replacer&&(w=n.replacer.call(s,String(g),w)),(TA(n,i,w,!1,!1)||typeof w>"u"&&TA(n,i,null,!1,!1))&&(c!==""&&(c+=","+(n.condenseFlow?"":" ")),c+=n.dump);n.tag=d,n.dump="["+c+"]"}function MFt(n,i,s,c){var d="",g=n.tag,b,w,E;for(b=0,w=s.length;b<w;b+=1)E=s[b],n.replacer&&(E=n.replacer.call(s,String(b),E)),(TA(n,i+1,E,!0,!0,!1,!0)||typeof E>"u"&&TA(n,i+1,null,!0,!0,!1,!0))&&((!c||d!=="")&&(d+=$De(n,i)),n.dump&&az===n.dump.charCodeAt(0)?d+="-":d+="- ",d+=n.dump);n.tag=g,n.dump=d||"[]"}function EZn(n,i,s){var c="",d=n.tag,g=Object.keys(s),b,w,E,S,x;for(b=0,w=g.length;b<w;b+=1)x="",c!==""&&(x+=", "),n.condenseFlow&&(x+='"'),E=g[b],S=s[E],n.replacer&&(S=n.replacer.call(s,E,S)),TA(n,i,E,!1,!1)&&(n.dump.length>1024&&(x+="? "),x+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),TA(n,i,S,!1,!1)&&(x+=n.dump,c+=x));n.tag=d,n.dump="{"+c+"}"}function SZn(n,i,s,c){var d="",g=n.tag,b=Object.keys(s),w,E,S,x,A,C;if(n.sortKeys===!0)b.sort();else if(typeof n.sortKeys=="function")b.sort(n.sortKeys);else if(n.sortKeys)throw new ib("sortKeys must be a boolean or a function");for(w=0,E=b.length;w<E;w+=1)C="",(!c||d!=="")&&(C+=$De(n,i)),S=b[w],x=s[S],n.replacer&&(x=n.replacer.call(s,S,x)),TA(n,i+1,S,!0,!0,!0)&&(A=n.tag!==null&&n.tag!=="?"||n.dump&&n.dump.length>1024,A&&(n.dump&&az===n.dump.charCodeAt(0)?C+="?":C+="? "),C+=n.dump,A&&(C+=$De(n,i)),TA(n,i+1,x,!0,A)&&(n.dump&&az===n.dump.charCodeAt(0)?C+=":":C+=": ",C+=n.dump,d+=C));n.tag=g,n.dump=d||"{}"}function PFt(n,i,s){var c,d,g,b,w,E;for(d=s?n.explicitTypes:n.implicitTypes,g=0,b=d.length;g<b;g+=1)if(w=d[g],(w.instanceOf||w.predicate)&&(!w.instanceOf||typeof i=="object"&&i instanceof w.instanceOf)&&(!w.predicate||w.predicate(i))){if(s?w.multi&&w.representName?n.tag=w.representName(i):n.tag=w.tag:n.tag="?",w.represent){if(E=n.styleMap[w.tag]||w.defaultStyle,FWt.call(w.represent)==="[object Function]")c=w.represent(i,E);else if($Wt.call(w.represent,E))c=w.represent[E](i,E);else throw new ib("!<"+w.tag+'> tag resolver accepts not "'+E+'" style');n.dump=c}return!0}return!1}function TA(n,i,s,c,d,g,b){n.tag=null,n.dump=s,PFt(n,s,!1)||PFt(n,s,!0);var w=FWt.call(n.dump),E=c,S;c&&(c=n.flowLevel<0||n.flowLevel>i);var x=w==="[object Object]"||w==="[object Array]",A,C;if(x&&(A=n.duplicates.indexOf(s),C=A!==-1),(n.tag!==null&&n.tag!=="?"||C||n.indent!==2&&i>0)&&(d=!1),C&&n.usedDuplicates[A])n.dump="*ref_"+A;else{if(x&&C&&!n.usedDuplicates[A]&&(n.usedDuplicates[A]=!0),w==="[object Object]")c&&Object.keys(n.dump).length!==0?(SZn(n,i,n.dump,d),C&&(n.dump="&ref_"+A+n.dump)):(EZn(n,i,n.dump),C&&(n.dump="&ref_"+A+" "+n.dump));else if(w==="[object Array]")c&&n.dump.length!==0?(n.noArrayIndent&&!b&&i>0?MFt(n,i-1,n.dump,d):MFt(n,i,n.dump,d),C&&(n.dump="&ref_"+A+n.dump)):(vZn(n,i,n.dump),C&&(n.dump="&ref_"+A+" "+n.dump));else if(w==="[object String]")n.tag!=="?"&&mZn(n,n.dump,i,g,E);else{if(w==="[object Undefined]")return!1;if(n.skipInvalid)return!1;throw new ib("unacceptable kind of an object to dump "+w)}n.tag!==null&&n.tag!=="?"&&(S=encodeURI(n.tag[0]==="!"?n.tag.slice(1):n.tag).replace(/!/g,"%21"),n.tag[0]==="!"?S="!"+S:S.slice(0,18)==="tag:yaml.org,2002:"?S="!!"+S.slice(18):S="!<"+S+">",n.dump=S+" "+n.dump)}return!0}function TZn(n,i){var s=[],c=[],d,g;for(UDe(n,s,c),d=0,g=c.length;d<g;d+=1)i.duplicates.push(s[c[d]]);i.usedDuplicates=new Array(g)}function UDe(n,i,s){var c,d,g;if(n!==null&&typeof n=="object")if(d=i.indexOf(n),d!==-1)s.indexOf(d)===-1&&s.push(d);else if(i.push(n),Array.isArray(n))for(d=0,g=n.length;d<g;d+=1)UDe(n[d],i,s);else for(c=Object.keys(n),d=0,g=c.length;d<g;d+=1)UDe(n[c[d]],i,s)}function AZn(n,i){i=i||{};var s=new fZn(i);s.noRefs||TZn(n,s);var c=n;return s.replacer&&(c=s.replacer.call({"":c},"",c)),TA(s,0,c,!0,!0)?s.dump+`
`:""}var _Zn=AZn,xZn={dump:_Zn},kZn=GXn.load,gse=xZn.dump;const Mh=[];for(let n=0;n<256;++n)Mh.push((n+256).toString(16).slice(1));function NZn(n,i=0){return(Mh[n[i+0]]+Mh[n[i+1]]+Mh[n[i+2]]+Mh[n[i+3]]+"-"+Mh[n[i+4]]+Mh[n[i+5]]+"-"+Mh[n[i+6]]+Mh[n[i+7]]+"-"+Mh[n[i+8]]+Mh[n[i+9]]+"-"+Mh[n[i+10]]+Mh[n[i+11]]+Mh[n[i+12]]+Mh[n[i+13]]+Mh[n[i+14]]+Mh[n[i+15]]).toLowerCase()}let UOe;const CZn=new Uint8Array(16);function IZn(){if(!UOe){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");UOe=crypto.getRandomValues.bind(crypto)}return UOe(CZn)}const RZn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),jFt={randomUUID:RZn};function OZn(n,i,s){var d;n=n||{};const c=n.random??((d=n.rng)==null?void 0:d.call(n))??IZn();if(c.length<16)throw new Error("Random bytes length must be >= 16");return c[6]=c[6]&15|64,c[8]=c[8]&63|128,NZn(c)}function DZn(n,i,s){return jFt.randomUUID&&!n?jFt.randomUUID():OZn(n)}let LZn=0;function FFt(n,i){return`${n}_${Date.now()}_${i}_${LZn++}`}function MZn(){return DZn()}function PZn(n,i){return`e-${n}-${i}-${Date.now()}`}var YWt={exports:{}};(function(n,i){(function(s){n.exports=s()})(function(){return function(){function s(c,d,g){function b(S,x){if(!d[S]){if(!c[S]){var A=typeof QU=="function"&&QU;if(!x&&A)return A(S,!0);if(w)return w(S,!0);var C=new Error("Cannot find module '"+S+"'");throw C.code="MODULE_NOT_FOUND",C}var R=d[S]={exports:{}};c[S][0].call(R.exports,function(L){var D=c[S][1][L];return b(D||L)},R,R.exports,s,c,d,g)}return d[S].exports}for(var w=typeof QU=="function"&&QU,E=0;E<g.length;E++)b(g[E]);return b}return s}()({1:[function(s,c,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;function g(C){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},g(C)}function b(C,R){if(!(C instanceof R))throw new TypeError("Cannot call a class as a function")}function w(C,R){for(var L=0;L<R.length;L++){var D=R[L];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,S(D.key),D)}}function E(C,R,L){return R&&w(C.prototype,R),Object.defineProperty(C,"prototype",{writable:!1}),C}function S(C){var R=x(C,"string");return g(R)=="symbol"?R:R+""}function x(C,R){if(g(C)!="object"||!C)return C;var L=C[Symbol.toPrimitive];if(L!==void 0){var D=L.call(C,R);if(g(D)!="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(C)}d.default=function(){function C(){var R=this,L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=L.defaultLayoutOptions,B=D===void 0?{}:D,$=L.algorithms,j=$===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking","vertiflex"]:$,P=L.workerFactory,G=L.workerUrl;if(b(this,C),this.defaultLayoutOptions=B,this.initialized=!1,typeof G>"u"&&typeof P>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var ee=P;typeof G<"u"&&typeof P>"u"&&(ee=function(ie){return new Worker(ie)});var re=ee(G);if(typeof re.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new A(re),this.worker.postMessage({cmd:"register",algorithms:j}).then(function(Q){return R.initialized=!0}).catch(console.err)}return E(C,[{key:"layout",value:function(L){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=D.layoutOptions,$=B===void 0?this.defaultLayoutOptions:B,j=D.logging,P=j===void 0?!1:j,G=D.measureExecutionTime,ee=G===void 0?!1:G;return L?this.worker.postMessage({cmd:"layout",graph:L,layoutOptions:$,options:{logging:P,measureExecutionTime:ee}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])}();var A=function(){function C(R){var L=this;if(b(this,C),R===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=R,this.worker.onmessage=function(D){setTimeout(function(){L.receive(L,D)},0)}}return E(C,[{key:"postMessage",value:function(L){var D=this.id||0;this.id=D+1,L.id=D;var B=this;return new Promise(function($,j){B.resolvers[D]=function(P,G){P?(B.convertGwtStyleError(P),j(P)):$(G)},B.worker.postMessage(L)})}},{key:"receive",value:function(L,D){var B=D.data,$=L.resolvers[B.id];$&&(delete L.resolvers[B.id],B.error?$(B.error):$(null,B.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(L){if(L){var D=L.__java$exception;D&&(D.cause&&D.cause.backingJsObject&&(L.cause=D.cause.backingJsObject,this.convertGwtStyleError(L.cause)),delete L.__java$exception)}}}])}()},{}],2:[function(s,c,d){(function(g){(function(){var b;typeof window<"u"?b=window:typeof g<"u"?b=g:typeof self<"u"&&(b=self);var w;function E(){}function S(){}function x(){}function A(){}function C(){}function R(){}function L(){}function D(){}function B(){}function $(){}function j(){}function P(){}function G(){}function ee(){}function re(){}function Q(){}function ie(){}function pe(){}function me(){}function le(){}function fe(){}function K(){}function he(){}function Oe(){}function Se(){}function Le(){}function Ae(){}function xe(){}function We(){}function dt(){}function Ue(){}function bt(){}function kt(){}function ht(){}function Xt(){}function vt(){}function Ct(){}function Ft(){}function On(){}function Zn(){}function Yn(){}function vr(){}function Ui(){}function Qr(){}function Hi(){}function ai(){}function jc(){}function Xs(){}function ls(){}function Qo(){}function Ca(){}function Ni(){}function mb(){}function Yg(){}function Wh(){}function wb(){}function Wp(){}function Ow(){}function Kh(){}function X2(){}function Jg(){}function Kp(){}function Xg(){}function CN(){}function IN(){}function GR(){}function kA(){}function yb(){}function qR(){}function VR(){}function RN(){}function ON(){}function po(){}function Fc(){}function Fl(){}function Af(){}function Z2(){}function pl(){}function sh(){}function Vm(){}function ah(){}function Yh(){}function Q2(){}function Wm(){}function n9(){}function r9(){}function tG(){}function nG(){}function rG(){}function i9(){}function o9(){}function s9(){}function iG(){}function oG(){}function sG(){}function aG(){}function WR(){}function uG(){}function a9(){}function cG(){}function lG(){}function dG(){}function fG(){}function hG(){}function pG(){}function gG(){}function u9(){}function bG(){}function c9(){}function l9(){}function mG(){}function wG(){}function yG(){}function vG(){}function EG(){}function DN(){}function SG(){}function d9(){}function TG(){}function AG(){}function KR(){}function _G(){}function xG(){}function f9(){}function tFe(){}function nFe(){}function rFe(){}function iFe(){}function oFe(){}function sFe(){}function aFe(){}function uFe(){}function cFe(){}function lFe(){}function dFe(){}function fFe(){}function hFe(){}function pFe(){}function gFe(){}function bFe(){}function mFe(){}function wFe(){}function yFe(){}function vFe(){}function EFe(){}function SFe(){}function TFe(){}function AFe(){}function _Fe(){}function xFe(){}function kFe(){}function NFe(){}function CFe(){}function IFe(){}function RFe(){}function OFe(){}function DFe(){}function LFe(){}function MFe(){}function PFe(){}function jFe(){}function FFe(){}function $Fe(){}function BFe(){}function UFe(){}function HFe(){}function zFe(){}function GFe(){}function qFe(){}function VFe(){}function WFe(){}function KFe(){}function YFe(){}function JFe(){}function XFe(){}function ZFe(){}function QFe(){}function e$e(){}function t$e(){}function n$e(){}function r$e(){}function i$e(){}function o$e(){}function s$e(){}function a$e(){}function u$e(){}function c$e(){}function l$e(){}function d$e(){}function f$e(){}function h$e(){}function p$e(){}function g$e(){}function b$e(){}function m$e(){}function w$e(){}function y$e(){}function v$e(){}function E$e(){}function S$e(){}function T$e(){}function A$e(){}function _$e(){}function x$e(){}function k$e(){}function N$e(){}function C$e(){}function I$e(){}function R$e(){}function O$e(){}function Rue(){}function D$e(){}function L$e(){}function M$e(){}function P$e(){}function j$e(){}function F$e(){}function $$e(){}function B$e(){}function U$e(){}function H$e(){}function z$e(){}function G$e(){}function q$e(){}function V$e(){}function W$e(){}function K$e(){}function Y$e(){}function J$e(){}function X$e(){}function Z$e(){}function Q$e(){}function eBe(){}function tBe(){}function nBe(){}function rBe(){}function iBe(){}function oBe(){}function sBe(){}function aBe(){}function uBe(){}function cBe(){}function lBe(){}function dBe(){}function fBe(){}function hBe(){}function pBe(){}function gBe(){}function bBe(){}function mBe(){}function wBe(){}function yBe(){}function vBe(){}function EBe(){}function SBe(){}function TBe(){}function ABe(){}function _Be(){}function xBe(){}function kBe(){}function NBe(){}function CBe(){}function IBe(){}function RBe(){}function OBe(){}function DBe(){}function LBe(){}function MBe(){}function PBe(){}function jBe(){}function FBe(){}function $Be(){}function BBe(){}function UBe(){}function HBe(){}function zBe(){}function GBe(){}function qBe(){}function VBe(){}function WBe(){}function KBe(){}function YBe(){}function JBe(){}function XBe(){}function ZBe(){}function QBe(){}function Oue(){}function eUe(){}function tUe(){}function nUe(){}function rUe(){}function iUe(){}function oUe(){}function sUe(){}function aUe(){}function uUe(){}function cUe(){}function h9(){}function p9(){}function lUe(){}function dUe(){}function Due(){}function fUe(){}function hUe(){}function pUe(){}function gUe(){}function bUe(){}function Lue(){}function Mue(){}function mUe(){}function Pue(){}function jue(){}function wUe(){}function yUe(){}function YR(){}function vUe(){}function EUe(){}function SUe(){}function TUe(){}function AUe(){}function _Ue(){}function xUe(){}function kUe(){}function NUe(){}function CUe(){}function IUe(){}function RUe(){}function OUe(){}function DUe(){}function LUe(){}function MUe(){}function PUe(){}function jUe(){}function FUe(){}function Fue(){}function $Ue(){}function BUe(){}function UUe(){}function HUe(){}function zUe(){}function GUe(){}function qUe(){}function VUe(){}function WUe(){}function KUe(){}function YUe(){}function JUe(){}function XUe(){}function ZUe(){}function QUe(){}function eHe(){}function tHe(){}function nHe(){}function rHe(){}function iHe(){}function oHe(){}function sHe(){}function aHe(){}function uHe(){}function cHe(){}function lHe(){}function dHe(){}function fHe(){}function hHe(){}function pHe(){}function gHe(){}function bHe(){}function mHe(){}function wHe(){}function yHe(){}function vHe(){}function EHe(){}function SHe(){}function THe(){}function AHe(){}function _He(){}function xHe(){}function kHe(){}function NHe(){}function CHe(){}function IHe(){}function RHe(){}function OHe(){}function DHe(){}function LHe(){}function MHe(){}function PHe(){}function jHe(){}function FHe(){}function $He(){}function BHe(){}function UHe(){}function HHe(){}function zHe(){}function GHe(){}function qHe(){}function VHe(){}function WHe(){}function KHe(){}function YHe(){}function JHe(){}function XHe(){}function ZHe(){}function oZt(){}function QHe(){}function eze(){}function tze(){}function nze(){}function rze(){}function ize(){}function oze(){}function sze(){}function aze(){}function uze(){}function cze(){}function lze(){}function dze(){}function fze(){}function hze(){}function pze(){}function gze(){}function bze(){}function mze(){}function wze(){}function yze(){}function vze(){}function Eze(){}function Sze(){}function Tze(){}function Aze(){}function _ze(){}function xze(){}function kze(){}function Nze(){}function Cze(){}function Ize(){}function Rze(){}function Oze(){}function Dze(){}function Lze(){}function Mze(){}function Pze(){}function kG(){}function NG(){}function jze(){}function CG(){}function Fze(){}function $ze(){}function Bze(){}function Uze(){}function Hze(){}function zze(){}function Gze(){}function qze(){}function Vze(){}function Wze(){}function Kze(){}function Yze(){}function Jze(){}function Xze(){}function sZt(){}function Zze(){}function $ue(){}function Qze(){}function eGe(){}function tGe(){}function nGe(){}function rGe(){}function iGe(){}function oGe(){}function sGe(){}function aGe(){}function uGe(){}function vb(){}function cGe(){}function eS(){}function Bue(){}function lGe(){}function dGe(){}function fGe(){}function hGe(){}function pGe(){}function gGe(){}function bGe(){}function mGe(){}function wGe(){}function yGe(){}function vGe(){}function EGe(){}function SGe(){}function TGe(){}function AGe(){}function _Ge(){}function xGe(){}function kGe(){}function NGe(){}function CGe(){}function Xe(){}function IGe(){}function RGe(){}function OGe(){}function DGe(){}function LGe(){}function MGe(){}function PGe(){}function jGe(){}function FGe(){}function $Ge(){}function BGe(){}function IG(){}function UGe(){}function HGe(){}function RG(){}function zGe(){}function GGe(){}function qGe(){}function VGe(){}function OG(){}function g9(){}function b9(){}function WGe(){}function Uue(){}function KGe(){}function YGe(){}function m9(){}function JGe(){}function XGe(){}function ZGe(){}function w9(){}function QGe(){}function eqe(){}function tqe(){}function nqe(){}function y9(){}function rqe(){}function Hue(){}function iqe(){}function DG(){}function zue(){}function oqe(){}function sqe(){}function aqe(){}function uqe(){}function aZt(){}function cqe(){}function lqe(){}function dqe(){}function fqe(){}function hqe(){}function pqe(){}function gqe(){}function bqe(){}function mqe(){}function wqe(){}function NA(){}function LG(){}function yqe(){}function vqe(){}function Eqe(){}function Sqe(){}function Tqe(){}function Aqe(){}function _qe(){}function xqe(){}function kqe(){}function Nqe(){}function Cqe(){}function Iqe(){}function Rqe(){}function Oqe(){}function Dqe(){}function Lqe(){}function Mqe(){}function Pqe(){}function jqe(){}function Fqe(){}function $qe(){}function Bqe(){}function Uqe(){}function Hqe(){}function zqe(){}function Gqe(){}function qqe(){}function Vqe(){}function Wqe(){}function Kqe(){}function Yqe(){}function Jqe(){}function Xqe(){}function Zqe(){}function Qqe(){}function eVe(){}function tVe(){}function nVe(){}function rVe(){}function iVe(){}function oVe(){}function sVe(){}function aVe(){}function uVe(){}function cVe(){}function lVe(){}function dVe(){}function fVe(){}function hVe(){}function pVe(){}function gVe(){}function bVe(){}function mVe(){}function wVe(){}function yVe(){}function vVe(){}function EVe(){}function SVe(){}function TVe(){}function AVe(){}function _Ve(){}function xVe(){}function kVe(){}function NVe(){}function CVe(){}function IVe(){}function RVe(){}function OVe(){}function DVe(){}function LVe(){}function MVe(){}function PVe(){}function jVe(){}function FVe(){}function $Ve(){}function BVe(){}function UVe(){}function HVe(){}function zVe(){}function GVe(){}function qVe(){}function VVe(){}function WVe(){}function KVe(){}function YVe(){}function JVe(){}function XVe(){}function ZVe(){}function QVe(){}function eWe(){}function tWe(){}function nWe(){}function rWe(){}function iWe(){}function oWe(){}function sWe(){}function aWe(){}function uWe(){}function cWe(){}function lWe(){}function dWe(){}function Gue(){}function fWe(){}function hWe(){}function MG(){BN()}function pWe(){Wbe()}function gWe(){fO()}function bWe(){ed()}function mWe(){rbe()}function wWe(){G6()}function yWe(){$O()}function vWe(){dO()}function EWe(){Wet()}function SWe(){zS()}function TWe(){klt()}function AWe(){N_()}function _We(){S1()}function xWe(){ige()}function kWe(){Zft()}function NWe(){Qft()}function CWe(){K9()}function IWe(){Z0e()}function RWe(){but()}function OWe(){udt()}function DWe(){rge()}function LWe(){put()}function MWe(){hut()}function PWe(){gut()}function jWe(){wut()}function FWe(){Be()}function $We(){eht()}function BWe(){ict()}function UWe(){tht()}function HWe(){yut()}function zWe(){US()}function GWe(){xht()}function qWe(){c0e()}function VWe(){T1()}function WWe(){mut()}function KWe(){obt()}function YWe(){Lyt()}function JWe(){Ame()}function XWe(){js()}function ZWe(){ef()}function QWe(){v0e()}function eKe(){fgt()}function tKe(){dp()}function nKe(){Y6()}function rKe(){bJ()}function iKe(){xY()}function oKe(){S1e()}function sKe(){QS()}function aKe(){nj()}function uKe(){A7()}function que(){_n()}function cKe(){jj()}function lKe(){D1e()}function Vue(){q7()}function Wue(){AK()}function bd(){Yit()}function dKe(){T0e()}function Kue(e){Mt(e)}function fKe(e){this.a=e}function v9(e){this.a=e}function hKe(e){this.a=e}function pKe(e){this.a=e}function gKe(e){this.a=e}function Yue(e){this.a=e}function Jue(e){this.a=e}function bKe(e){this.a=e}function PG(e){this.a=e}function mKe(e){this.a=e}function wKe(e){this.a=e}function yKe(e){this.a=e}function vKe(e){this.a=e}function EKe(e){this.c=e}function SKe(e){this.a=e}function jG(e){this.a=e}function TKe(e){this.a=e}function AKe(e){this.a=e}function _Ke(e){this.a=e}function FG(e){this.a=e}function xKe(e){this.a=e}function kKe(e){this.a=e}function $G(e){this.a=e}function NKe(e){this.a=e}function BG(e){this.a=e}function CKe(e){this.a=e}function IKe(e){this.a=e}function RKe(e){this.a=e}function OKe(e){this.a=e}function DKe(e){this.a=e}function LKe(e){this.a=e}function MKe(e){this.a=e}function PKe(e){this.a=e}function jKe(e){this.a=e}function FKe(e){this.a=e}function $Ke(e){this.a=e}function BKe(e){this.a=e}function UKe(e){this.a=e}function HKe(e){this.a=e}function Xue(e){this.a=e}function Zue(e){this.a=e}function E9(e){this.a=e}function JR(e){this.a=e}function Que(e){this.b=e}function Eb(){this.a=[]}function zKe(e,t){e.a=t}function uZt(e,t){e.a=t}function cZt(e,t){e.b=t}function lZt(e,t){e.c=t}function dZt(e,t){e.c=t}function fZt(e,t){e.d=t}function hZt(e,t){e.d=t}function Jh(e,t){e.k=t}function ece(e,t){e.j=t}function pZt(e,t){e.c=t}function tce(e,t){e.c=t}function nce(e,t){e.a=t}function gZt(e,t){e.a=t}function bZt(e,t){e.f=t}function mZt(e,t){e.a=t}function wZt(e,t){e.b=t}function UG(e,t){e.d=t}function S9(e,t){e.i=t}function rce(e,t){e.o=t}function yZt(e,t){e.r=t}function vZt(e,t){e.a=t}function EZt(e,t){e.b=t}function GKe(e,t){e.e=t}function SZt(e,t){e.f=t}function ice(e,t){e.g=t}function TZt(e,t){e.e=t}function AZt(e,t){e.f=t}function _Zt(e,t){e.f=t}function XR(e,t){e.b=t}function HG(e,t){e.b=t}function zG(e,t){e.a=t}function xZt(e,t){e.n=t}function kZt(e,t){e.a=t}function NZt(e,t){e.c=t}function CZt(e,t){e.c=t}function IZt(e,t){e.c=t}function RZt(e,t){e.a=t}function OZt(e,t){e.a=t}function DZt(e,t){e.d=t}function LZt(e,t){e.d=t}function MZt(e,t){e.e=t}function PZt(e,t){e.e=t}function jZt(e,t){e.g=t}function FZt(e,t){e.f=t}function $Zt(e,t){e.j=t}function BZt(e,t){e.a=t}function UZt(e,t){e.a=t}function HZt(e,t){e.b=t}function qKe(e){e.b=e.a}function VKe(e){e.c=e.d.d}function oce(e){this.a=e}function Xh(e){this.a=e}function T9(e){this.a=e}function sce(e){this.a=e}function WKe(e){this.a=e}function ZR(e){this.a=e}function QR(e){this.a=e}function ace(e){this.a=e}function uce(e){this.a=e}function Dw(e){this.a=e}function GG(e){this.a=e}function Zh(e){this.a=e}function Lw(e){this.a=e}function KKe(e){this.a=e}function YKe(e){this.a=e}function cce(e){this.a=e}function JKe(e){this.a=e}function Pn(e){this.a=e}function LN(e){this.d=e}function qG(e){this.b=e}function CA(e){this.b=e}function Gv(e){this.b=e}function VG(e){this.c=e}function V(e){this.c=e}function XKe(e){this.c=e}function ZKe(e){this.a=e}function lce(e){this.a=e}function dce(e){this.a=e}function fce(e){this.a=e}function hce(e){this.a=e}function pce(e){this.a=e}function gce(e){this.a=e}function IA(e){this.a=e}function QKe(e){this.a=e}function eYe(e){this.a=e}function RA(e){this.a=e}function tYe(e){this.a=e}function nYe(e){this.a=e}function rYe(e){this.a=e}function iYe(e){this.a=e}function oYe(e){this.a=e}function sYe(e){this.a=e}function aYe(e){this.a=e}function uYe(e){this.a=e}function cYe(e){this.a=e}function OA(e){this.a=e}function lYe(e){this.a=e}function dYe(e){this.a=e}function fYe(e){this.a=e}function hYe(e){this.a=e}function A9(e){this.a=e}function pYe(e){this.a=e}function gYe(e){this.a=e}function bce(e){this.a=e}function bYe(e){this.a=e}function mYe(e){this.a=e}function wYe(e){this.a=e}function mce(e){this.a=e}function wce(e){this.a=e}function yce(e){this.a=e}function MN(e){this.a=e}function _9(e){this.e=e}function DA(e){this.a=e}function yYe(e){this.a=e}function tS(e){this.a=e}function vce(e){this.a=e}function vYe(e){this.a=e}function EYe(e){this.a=e}function SYe(e){this.a=e}function TYe(e){this.a=e}function AYe(e){this.a=e}function _Ye(e){this.a=e}function xYe(e){this.a=e}function kYe(e){this.a=e}function NYe(e){this.a=e}function CYe(e){this.a=e}function IYe(e){this.a=e}function Ece(e){this.a=e}function RYe(e){this.a=e}function OYe(e){this.a=e}function DYe(e){this.a=e}function LYe(e){this.a=e}function MYe(e){this.a=e}function PYe(e){this.a=e}function jYe(e){this.a=e}function FYe(e){this.a=e}function $Ye(e){this.a=e}function BYe(e){this.a=e}function UYe(e){this.a=e}function HYe(e){this.a=e}function zYe(e){this.a=e}function GYe(e){this.a=e}function qYe(e){this.a=e}function VYe(e){this.a=e}function WYe(e){this.a=e}function KYe(e){this.a=e}function YYe(e){this.a=e}function JYe(e){this.a=e}function XYe(e){this.a=e}function ZYe(e){this.a=e}function QYe(e){this.a=e}function eJe(e){this.a=e}function tJe(e){this.a=e}function nJe(e){this.a=e}function rJe(e){this.a=e}function iJe(e){this.a=e}function oJe(e){this.a=e}function sJe(e){this.a=e}function aJe(e){this.a=e}function uJe(e){this.a=e}function cJe(e){this.a=e}function lJe(e){this.a=e}function dJe(e){this.a=e}function fJe(e){this.a=e}function hJe(e){this.a=e}function pJe(e){this.a=e}function gJe(e){this.a=e}function bJe(e){this.a=e}function mJe(e){this.a=e}function wJe(e){this.a=e}function yJe(e){this.c=e}function vJe(e){this.b=e}function EJe(e){this.a=e}function SJe(e){this.a=e}function TJe(e){this.a=e}function AJe(e){this.a=e}function _Je(e){this.a=e}function xJe(e){this.a=e}function kJe(e){this.a=e}function NJe(e){this.a=e}function CJe(e){this.a=e}function IJe(e){this.a=e}function RJe(e){this.a=e}function OJe(e){this.a=e}function DJe(e){this.a=e}function LJe(e){this.a=e}function MJe(e){this.a=e}function PJe(e){this.a=e}function jJe(e){this.a=e}function FJe(e){this.a=e}function $Je(e){this.a=e}function BJe(e){this.a=e}function UJe(e){this.a=e}function HJe(e){this.a=e}function zJe(e){this.a=e}function GJe(e){this.a=e}function qJe(e){this.a=e}function VJe(e){this.a=e}function WJe(e){this.a=e}function Qh(e){this.a=e}function qv(e){this.a=e}function KJe(e){this.a=e}function YJe(e){this.a=e}function JJe(e){this.a=e}function XJe(e){this.a=e}function ZJe(e){this.a=e}function QJe(e){this.a=e}function eXe(e){this.a=e}function tXe(e){this.a=e}function nXe(e){this.a=e}function rXe(e){this.a=e}function iXe(e){this.a=e}function oXe(e){this.a=e}function sXe(e){this.a=e}function aXe(e){this.a=e}function uXe(e){this.a=e}function cXe(e){this.a=e}function lXe(e){this.a=e}function dXe(e){this.a=e}function Sce(e){this.a=e}function fXe(e){this.a=e}function hXe(e){this.a=e}function pXe(e){this.a=e}function gXe(e){this.a=e}function bXe(e){this.a=e}function mXe(e){this.a=e}function wXe(e){this.a=e}function yXe(e){this.a=e}function x9(e){this.a=e}function vXe(e){this.f=e}function EXe(e){this.a=e}function SXe(e){this.a=e}function TXe(e){this.a=e}function AXe(e){this.a=e}function _Xe(e){this.a=e}function xXe(e){this.a=e}function kXe(e){this.a=e}function NXe(e){this.a=e}function CXe(e){this.a=e}function IXe(e){this.a=e}function RXe(e){this.a=e}function OXe(e){this.a=e}function DXe(e){this.a=e}function LXe(e){this.a=e}function MXe(e){this.a=e}function PXe(e){this.a=e}function jXe(e){this.a=e}function FXe(e){this.a=e}function $Xe(e){this.a=e}function BXe(e){this.a=e}function UXe(e){this.a=e}function HXe(e){this.a=e}function zXe(e){this.a=e}function GXe(e){this.a=e}function qXe(e){this.a=e}function VXe(e){this.a=e}function WXe(e){this.a=e}function WG(e){this.a=e}function Tce(e){this.a=e}function cr(e){this.b=e}function KXe(e){this.a=e}function YXe(e){this.a=e}function JXe(e){this.a=e}function XXe(e){this.a=e}function ZXe(e){this.a=e}function QXe(e){this.a=e}function eZe(e){this.a=e}function tZe(e){this.a=e}function eO(e){this.a=e}function nZe(e){this.a=e}function rZe(e){this.b=e}function Ace(e){this.c=e}function k9(e){this.e=e}function iZe(e){this.a=e}function N9(e){this.a=e}function C9(e){this.a=e}function KG(e){this.a=e}function oZe(e){this.d=e}function sZe(e){this.a=e}function _ce(e){this.a=e}function xce(e){this.a=e}function Km(e){this.e=e}function zZt(){this.a=0}function je(){lV(this)}function hn(){Zs(this)}function YG(){Kst(this)}function aZe(){}function Ym(){this.c=I3e}function uZe(e,t){e.b+=t}function GZt(e,t){t.Wb(e)}function qZt(e){return e.a}function VZt(e){return e.a}function WZt(e){return e.a}function KZt(e){return e.a}function YZt(e){return e.a}function Y(e){return e.e}function JZt(){return null}function XZt(){return null}function ZZt(e){throw Y(e)}function nS(e){this.a=kn(e)}function cZe(){this.a=this}function Sb(){Drt.call(this)}function QZt(e){e.b.Mf(e.e)}function lZe(e){e.b=new fq}function PN(e,t){e.b=t-e.b}function jN(e,t){e.a=t-e.a}function dZe(e,t){t.gd(e.a)}function eQt(e,t){Ci(t,e)}function Ot(e,t){e.push(t)}function fZe(e,t){e.sort(t)}function tQt(e,t,r){e.Wd(r,t)}function tO(e,t){e.e=t,t.b=e}function nQt(){ole(),KNn()}function hZe(e){l_(),UQ.je(e)}function kce(){Drt.call(this)}function Nce(){Sb.call(this)}function JG(){Sb.call(this)}function pZe(){Sb.call(this)}function nO(){Sb.call(this)}function lu(){Sb.call(this)}function rS(){Sb.call(this)}function Nn(){Sb.call(this)}function $c(){Sb.call(this)}function gZe(){Sb.call(this)}function vs(){Sb.call(this)}function bZe(){Sb.call(this)}function I9(){this.Bb|=256}function mZe(){this.b=new Cnt}function Cce(){Cce=K,new hn}function wZe(){Nce.call(this)}function Mw(e,t){e.length=t}function R9(e,t){Fe(e.a,t)}function rQt(e,t){Ybe(e.c,t)}function iQt(e,t){pi(e.b,t)}function oQt(e,t){c7(e.a,t)}function sQt(e,t){ZK(e.a,t)}function LA(e,t){hr(e.e,t)}function iS(e){N7(e.c,e.b)}function aQt(e,t){e.kc().Nb(t)}function Ice(e){this.a=Ign(e)}function hi(){this.a=new hn}function yZe(){this.a=new hn}function O9(){this.a=new je}function XG(){this.a=new je}function Rce(){this.a=new je}function gl(){this.a=new Jg}function Tb(){this.a=new _lt}function ZG(){this.a=new Bet}function Oce(){this.a=new sut}function Dce(){this.a=new Sit}function Lce(){this.a=new ah}function vZe(){this.a=new Put}function EZe(){this.a=new je}function SZe(){this.a=new je}function TZe(){this.a=new je}function Mce(){this.a=new je}function AZe(){this.d=new je}function _Ze(){this.a=new hi}function xZe(){this.a=new hn}function kZe(){this.b=new hn}function NZe(){this.b=new je}function Pce(){this.e=new je}function CZe(){this.d=new je}function IZe(){this.a=new _We}function RZe(){Pat.call(this)}function OZe(){Pat.call(this)}function DZe(){Uce.call(this)}function LZe(){Uce.call(this)}function MZe(){Uce.call(this)}function PZe(){je.call(this)}function jZe(){Mce.call(this)}function D9(){O9.call(this)}function FZe(){G8.call(this)}function FN(){aZe.call(this)}function QG(){FN.call(this)}function oS(){aZe.call(this)}function jce(){oS.call(this)}function Lu(){Ar.call(this)}function $Ze(){Hce.call(this)}function $N(){VGe.call(this)}function Fce(){VGe.call(this)}function BZe(){eQe.call(this)}function UZe(){eQe.call(this)}function HZe(){hn.call(this)}function zZe(){hn.call(this)}function GZe(){hn.call(this)}function eq(){Kft.call(this)}function qZe(){hi.call(this)}function VZe(){I9.call(this)}function tq(){_de.call(this)}function $ce(){hn.call(this)}function nq(){_de.call(this)}function rq(){hn.call(this)}function WZe(){hn.call(this)}function Bce(){y9.call(this)}function KZe(){Bce.call(this)}function YZe(){y9.call(this)}function JZe(){Gue.call(this)}function Uce(){this.a=new hi}function XZe(){this.a=new hn}function Hce(){this.a=new hn}function sS(){this.a=new Ar}function ZZe(){this.a=new je}function QZe(){this.j=new je}function eQe(){this.a=new QGe}function zce(){this.a=new Cze}function tQe(){this.a=new XQe}function BN(){BN=K,DQ=new S}function iq(){iq=K,LQ=new rQe}function oq(){oq=K,MQ=new nQe}function nQe(){$G.call(this,"")}function rQe(){$G.call(this,"")}function iQe(e){vft.call(this,e)}function oQe(e){vft.call(this,e)}function Gce(e){Yue.call(this,e)}function qce(e){Ret.call(this,e)}function uQt(e){Ret.call(this,e)}function cQt(e){qce.call(this,e)}function lQt(e){qce.call(this,e)}function dQt(e){qce.call(this,e)}function sQe(e){HW.call(this,e)}function aQe(e){HW.call(this,e)}function uQe(e){hrt.call(this,e)}function cQe(e){dle.call(this,e)}function UN(e){G9.call(this,e)}function Vce(e){G9.call(this,e)}function lQe(e){G9.call(this,e)}function Es(e){ust.call(this,e)}function dQe(e){Es.call(this,e)}function aS(){JR.call(this,{})}function sq(e){VA(),this.a=e}function fQe(e){e.b=null,e.c=0}function fQt(e,t){e.e=t,Owt(e,t)}function hQt(e,t){e.a=t,zyn(e)}function aq(e,t,r){e.a[t.g]=r}function pQt(e,t,r){c0n(r,e,t)}function gQt(e,t){rrn(t.i,e.n)}function hQe(e,t){vpn(e).Ad(t)}function bQt(e,t){return e*e/t}function pQe(e,t){return e.g-t.g}function mQt(e,t){e.a.ec().Kc(t)}function wQt(e){return new E9(e)}function yQt(e){return new Qw(e)}function gQe(){gQe=K,qEe=new E}function Wce(){Wce=K,VEe=new ee}function L9(){L9=K,bI=new ie}function M9(){M9=K,jQ=new frt}function bQe(){bQe=K,K_t=new me}function P9(e){Sge(),this.a=e}function mQe(e){Kit(),this.a=e}function Yp(e){qV(),this.f=e}function uq(e){qV(),this.f=e}function j9(e){Es.call(this,e)}function Ia(e){Es.call(this,e)}function wQe(e){Es.call(this,e)}function cq(e){ust.call(this,e)}function MA(e){Es.call(this,e)}function jt(e){Es.call(this,e)}function es(e){Es.call(this,e)}function yQe(e){Es.call(this,e)}function uS(e){Es.call(this,e)}function Jp(e){Es.call(this,e)}function Ls(e){Mt(e),this.a=e}function HN(e){rhe(e,e.length)}function Kce(e){return Wb(e),e}function Pw(e){return!!e&&e.b}function vQt(e){return!!e&&e.k}function EQt(e){return!!e&&e.j}function zN(e){return e.b==e.c}function Ye(e){return Mt(e),e}function ue(e){return Mt(e),e}function rO(e){return Mt(e),e}function Yce(e){return Mt(e),e}function SQt(e){return Mt(e),e}function _f(e){Es.call(this,e)}function cS(e){Es.call(this,e)}function xf(e){Es.call(this,e)}function Ln(e){Es.call(this,e)}function lq(e){Es.call(this,e)}function dq(e){Dde.call(this,e,0)}function fq(){zhe.call(this,12,3)}function hq(){this.a=In(kn(ja))}function vQe(){throw Y(new Nn)}function Jce(){throw Y(new Nn)}function EQe(){throw Y(new Nn)}function TQt(){throw Y(new Nn)}function AQt(){throw Y(new Nn)}function _Qt(){throw Y(new Nn)}function F9(){F9=K,l_()}function Xp(){ZR.call(this,"")}function GN(){ZR.call(this,"")}function Zg(){ZR.call(this,"")}function lS(){ZR.call(this,"")}function Xce(e){Ia.call(this,e)}function Zce(e){Ia.call(this,e)}function kf(e){jt.call(this,e)}function PA(e){CA.call(this,e)}function SQe(e){PA.call(this,e)}function pq(e){$8.call(this,e)}function xQt(e,t,r){e.c.Cf(t,r)}function kQt(e,t,r){t.Ad(e.a[r])}function NQt(e,t,r){t.Ne(e.a[r])}function CQt(e,t){return e.a-t.a}function IQt(e,t){return e.a-t.a}function RQt(e,t){return e.a-t.a}function $9(e,t){return rK(e,t)}function X(e,t){return dut(e,t)}function OQt(e,t){return t in e.a}function TQe(e){return e.a?e.b:0}function DQt(e){return e.a?e.b:0}function AQe(e,t){return e.f=t,e}function LQt(e,t){return e.b=t,e}function _Qe(e,t){return e.c=t,e}function MQt(e,t){return e.g=t,e}function Qce(e,t){return e.a=t,e}function ele(e,t){return e.f=t,e}function PQt(e,t){return e.k=t,e}function tle(e,t){return e.e=t,e}function jQt(e,t){return e.e=t,e}function nle(e,t){return e.a=t,e}function FQt(e,t){return e.f=t,e}function $Qt(e,t){e.b=new So(t)}function xQe(e,t){e._d(t),t.$d(e)}function BQt(e,t){hc(),t.n.a+=e}function UQt(e,t){S1(),As(t,e)}function rle(e){pat.call(this,e)}function kQe(e){pat.call(this,e)}function NQe(){dde.call(this,"")}function CQe(){this.b=0,this.a=0}function IQe(){IQe=K,axt=P0n()}function Jm(e,t){return e.b=t,e}function iO(e,t){return e.a=t,e}function Xm(e,t){return e.c=t,e}function Zm(e,t){return e.d=t,e}function Qm(e,t){return e.e=t,e}function gq(e,t){return e.f=t,e}function qN(e,t){return e.a=t,e}function jA(e,t){return e.b=t,e}function FA(e,t){return e.c=t,e}function Qe(e,t){return e.c=t,e}function gt(e,t){return e.b=t,e}function et(e,t){return e.d=t,e}function tt(e,t){return e.e=t,e}function HQt(e,t){return e.f=t,e}function nt(e,t){return e.g=t,e}function rt(e,t){return e.a=t,e}function it(e,t){return e.i=t,e}function ot(e,t){return e.j=t,e}function zQt(e,t){return e.g-t.g}function GQt(e,t){return e.b-t.b}function qQt(e,t){return e.s-t.s}function VQt(e,t){return e?0:t-1}function RQe(e,t){return e?0:t-1}function WQt(e,t){return e?t-1:0}function KQt(e,t){return t.pg(e)}function OQe(e,t){return e.k=t,e}function YQt(e,t){return e.j=t,e}function ro(){this.a=0,this.b=0}function B9(e){CV.call(this,e)}function Qg(e){w0.call(this,e)}function DQe(e){yW.call(this,e)}function LQe(e){yW.call(this,e)}function MQe(e,t){e.b=0,cy(e,t)}function JQt(e,t){e.c=t,e.b=!0}function XQt(e,t,r){osn(e.a,t,r)}function PQe(e,t){return e.c._b(t)}function md(e){return e.e&&e.e()}function bq(e){return e?e.d:null}function jQe(e,t){return ogt(e.b,t)}function ZQt(e){return e?e.g:null}function QQt(e){return e?e.i:null}function FQe(e,t){return Sen(e.a,t)}function ile(e,t){for(;e.zd(t););}function $Qe(){throw Y(new Nn)}function e1(){e1=K,LDt=Wmn()}function BQe(){BQe=K,Bi=rwn()}function ole(){ole=K,J1=W3()}function $A(){$A=K,C3e=Kmn()}function UQe(){UQe=K,wLt=Ymn()}function sle(){sle=K,Ks=Byn()}function Ab(e){return np(e),e.o}function Vv(e,t){return e.a+=t,e}function mq(e,t){return e.a+=t,e}function Zp(e,t){return e.a+=t,e}function e0(e,t){return e.a+=t,e}function ale(e){gEt(),a3n(this,e)}function U9(e){this.a=new dS(e)}function Qp(e){this.a=new XV(e)}function HQe(){throw Y(new Nn)}function zQe(){throw Y(new Nn)}function GQe(){throw Y(new Nn)}function qQe(){throw Y(new Nn)}function VQe(){throw Y(new Nn)}function WQe(){this.b=new X_(C_e)}function KQe(){this.a=new X_(lxe)}function H9(e){this.a=0,this.b=e}function YQe(){this.a=new X_(Lxe)}function JQe(){this.b=new X_(Pne)}function XQe(){this.b=new X_(Pne)}function ZQe(){this.a=new X_(Lke)}function QQe(e,t){return ESn(e,t)}function een(e,t){return nxn(t,e)}function ule(e,t){return e.d[t.p]}function oO(e){return e.b!=e.d.c}function eet(e){return e.l|e.m<<22}function BA(e){return u1(e),e.a}function tet(e){e.c?Kwt(e):Ywt(e)}function Wv(e,t){for(;e.Pe(t););}function cle(e,t,r){e.splice(t,r)}function net(){throw Y(new Nn)}function ret(){throw Y(new Nn)}function iet(){throw Y(new Nn)}function oet(){throw Y(new Nn)}function set(){throw Y(new Nn)}function aet(){throw Y(new Nn)}function uet(){throw Y(new Nn)}function cet(){throw Y(new Nn)}function det(){throw Y(new Nn)}function fet(){throw Y(new Nn)}function ten(){throw Y(new vs)}function nen(){throw Y(new vs)}function sO(e){this.a=new het(e)}function het(e){Kfn(this,e,oyn())}function aO(e){return!e||qst(e)}function uO(e){return mf[e]!=-1}function ren(){u$!=0&&(u$=0),c$=-1}function pet(){OQ==null&&(OQ=[])}function cO(e,t){sE.call(this,e,t)}function UA(e,t){cO.call(this,e,t)}function get(e,t){this.a=e,this.b=t}function bet(e,t){this.a=e,this.b=t}function met(e,t){this.a=e,this.b=t}function wet(e,t){this.a=e,this.b=t}function yet(e,t){this.a=e,this.b=t}function vet(e,t){this.a=e,this.b=t}function Eet(e,t){this.a=e,this.b=t}function HA(e,t){this.e=e,this.d=t}function lle(e,t){this.b=e,this.c=t}function Tet(e,t){this.b=e,this.a=t}function Aet(e,t){this.b=e,this.a=t}function _et(e,t){this.b=e,this.a=t}function xet(e,t){this.b=e,this.a=t}function ket(e,t){this.a=e,this.b=t}function Net(e,t){this.a=e,this.b=t}function wq(e,t){this.a=e,this.b=t}function Cet(e,t){this.a=e,this.f=t}function t0(e,t){this.g=e,this.i=t}function mn(e,t){this.f=e,this.g=t}function Iet(e,t){this.b=e,this.c=t}function Ret(e){Ede(e.dc()),this.c=e}function ien(e,t){this.a=e,this.b=t}function Oet(e,t){this.a=e,this.b=t}function Det(e){this.a=l(kn(e),16)}function dle(e){this.a=l(kn(e),16)}function Let(e){this.a=l(kn(e),93)}function z9(e){this.b=l(kn(e),93)}function G9(e){this.b=l(kn(e),51)}function q9(){this.q=new b.Date}function yq(e,t){this.a=e,this.b=t}function Met(e,t){return ma(e.b,t)}function VN(e,t){return e.b.Gc(t)}function fle(e,t){return e.b.Hc(t)}function hle(e,t){return e.b.Oc(t)}function Pet(e,t){return e.b.Gc(t)}function jet(e,t){return e.c.uc(t)}function Fet(e,t){return pr(e.c,t)}function bl(e,t){return e.a._b(t)}function $et(e,t){return e>t&&t<BC}function WN(e){return e.f.c+e.i.c}function oen(e){return Ost(),e?W_t:V_t}function dS(e){ypt.call(this,e,0)}function Bet(){XV.call(this,null)}function fS(e){this.c=e,oft(this)}function Ar(){ert(this),tc(this)}function eg(){eg=K,Z_t=new he}function zA(){zA=K,Hx=new Ae}function jw(){jw=K,WQ=new Int}function V9(){V9=K,cxt=new Rnt}function GA(){GA=K,y2e=new Yn}function _b(){_b=K,TT=new ai}function ple(){ZW.call(this,null)}function ei(e,t){u1(e),e.a.Nb(t)}function sen(e,t){return e.a.Vc(t)}function aen(e,t){return e.a.Wc(t)}function vq(e,t){return e.a.Yc(t)}function Eq(e,t){return e.a.Zc(t)}function uen(e,t){return e.Fc(t),e}function cen(e,t){aJ(Ne(e.a),t)}function len(e,t){aJ(Ne(e.a),t)}function $l(e,t){return e.a.e=t,e}function Bl(e,t){return e.a.a=t,e}function Ul(e,t){return e.a.d=t,e}function Uet(e,t){return e.a.d=t,e}function den(e,t){return e.a.f=t,e}function Het(e,t){return e.a.g=t,e}function zet(e,t){return e.a.j=t,e}function Hl(e,t){return e.a.g=t,e}function lO(e,t){return e.a.f=t,e}function fen(e){return e.b=!1,e}function Get(){Get=K,Ukt=new a9}function gle(){gle=K,Hkt=new est}function qet(){qet=K,yxt=new Wh}function ble(){ble=K,Bkt=new nG}function dO(){dO=K,rNt=new hFe}function mle(){mle=K,G2e=new iG}function Vet(){Vet=K,Xkt=new u9}function KN(){KN=K,Qkt=new bG}function Wet(){Wet=K,aNt=new JFe}function fO(){fO=K,nNt=new ro}function W9(){W9=K,LIt=new jGe}function YN(){YN=K,gNt=new LBe}function K9(){K9=K,WE=new iUe}function Y9(){Y9=K,jne=new Yet}function J9(){J9=K,Fne=new qrt}function JN(){JN=K,ML=new Jst}function X9(){X9=K,Qne=new Kot}function Z9(){Z9=K,ere=new Wot}function Q9(){Q9=K,tre=new vst}function Ket(){Xft(),this.c=new fq}function Yet(){mn.call(this,gSt,0)}function hen(e,t,r,o){ybn(e,o,t,r)}function pen(e,t,r,o){R2n(o,e,t,r)}function gen(e,t,r,o){cNn(o,e,t,r)}function ben(e,t,r){ns(e.d,t.f,r)}function n0(e,t){Jb(e.c.b,t.c,t)}function XN(e,t){Jb(e.c.c,t.b,t)}function ZN(e,t){return e.a=t.g,e}function men(e){return e.e.a+e.f.a}function wen(e){return e.e.b+e.f.b}function yen(e){return(e.c+e.a)/2}function ven(e){return e.b?e.b:e.a}function Jet(e,t){return _mn(e.a,t)}function wle(){wle=K,N3e=new WZe}function QN(){QN=K,Fre=new lrt}function tg(){tg=K,l5=new drt}function t1(){t1=K,ODt=new qGe}function Xet(){Xet=K,BDt=new nqe}function Zet(){Zet=K,QDt=new zZe}function Qet(){Qet=K,eLt=new GZe}function n1(){n1=K,Ll=new $ce}function e8(){e8=K,vU=new hn}function yle(){yle=K,$3e=new je}function r1(){r1=K,eb=new hWe}function Sq(){Sq=K,pLt=new lVe}function Lo(){Lo=K,bLt=new dVe}function vle(e){hW(),tyn.call(this,e)}function Ele(e){hW(),vle.call(this,e)}function Sle(e){UV(),hrt.call(this,e)}function Een(e,t){aut.call(this,e,t)}function t8(e,t){this.d=e,this.e=t}function Tq(e,t){return Ea(e,t)>0}function Aq(e,t){return Ea(e,t)<0}function ett(e,t){return zV(e.a,t)}function Sen(e,t){return e.a.a.cc(t)}function _q(e){return e.b<e.d.gc()}function e3(e,t){return e.a.get(t)}function Ten(e,t){return t.split(e)}function ttt(e,t){return ma(e.e,t)}function n8(e){return l(e,45).jd()}function Tle(e){return Mt(e),!1}function Ale(e){this.a=l(kn(e),231)}function r8(e){St.call(this,e,21)}function i8(e,t){mn.call(this,e,t)}function xq(e,t){mn.call(this,e,t)}function ntt(e,t){this.b=e,this.a=t}function rtt(e,t){this.a=e,this.b=t}function itt(e,t){this.a=e,this.b=t}function ott(e,t){this.a=e,this.b=t}function stt(e,t){this.a=e,this.b=t}function att(e,t){this.b=e,this.a=t}function _le(e,t){Xot(e,e.length,t)}function hO(e,t){Cst(e,e.length,t)}function Aen(e,t,r){t.Ne(e.a.We(r))}function _en(e,t,r){t.Bd(e.a.Xe(r))}function xen(e,t,r){t.Ad(e.a.Kb(r))}function ken(e,t,r){e.Mb(r)&&t.Ad(r)}function t3(e,t,r){e.splice(t,0,r)}function kq(e,t){mn.call(this,e,t)}function Nq(e,t){mn.call(this,e,t)}function Cq(e,t){mn.call(this,e,t)}function o8(e,t){mn.call(this,e,t)}function xle(e,t){mn.call(this,e,t)}function Iq(e,t){mn.call(this,e,t)}function pO(e,t){mn.call(this,e,t)}function hS(e,t){this.a=e,this.b=t}function kle(e,t){this.b=e,this.a=t}function Nle(e,t){this.b=e,this.a=t}function utt(e,t){this.b=e,this.a=t}function Cle(e,t){this.b=e,this.a=t}function qA(e,t){this.c=e,this.d=t}function ctt(e,t){this.e=e,this.d=t}function ltt(e,t){this.a=e,this.b=t}function pS(e,t){mn.call(this,e,t)}function s8(e,t){mn.call(this,e,t)}function bi(e,t){mn.call(this,e,t)}function a8(e,t){mn.call(this,e,t)}function Ile(e,t){mn.call(this,e,t)}function u8(e,t){mn.call(this,e,t)}function dtt(e,t){this.a=e,this.b=t}function ftt(e,t){this.a=e,this.b=t}function htt(e,t){this.a=e,this.b=t}function ptt(e,t){this.a=e,this.b=t}function gtt(e,t){this.a=e,this.b=t}function btt(e,t){this.a=e,this.b=t}function mtt(e,t){this.a=e,this.b=t}function wtt(e,t){this.a=e,this.b=t}function ytt(e,t){this.b=e,this.a=t}function vtt(e,t){this.b=e,this.a=t}function Ett(e,t){this.b=t,this.c=e}function c8(e,t){mn.call(this,e,t)}function gO(e,t){mn.call(this,e,t)}function Rq(e,t){mn.call(this,e,t)}function n3(e,t){mn.call(this,e,t)}function Rle(e,t){mn.call(this,e,t)}function l8(e,t){mn.call(this,e,t)}function Oq(e,t){mn.call(this,e,t)}function Kv(e,t){mn.call(this,e,t)}function Ole(e,t){mn.call(this,e,t)}function Dq(e,t){mn.call(this,e,t)}function r3(e,t){mn.call(this,e,t)}function Dle(e,t){mn.call(this,e,t)}function i3(e,t){mn.call(this,e,t)}function o3(e,t){mn.call(this,e,t)}function Fw(e,t){mn.call(this,e,t)}function Lq(e,t){mn.call(this,e,t)}function Mq(e,t){mn.call(this,e,t)}function Pq(e,t){mn.call(this,e,t)}function Lle(e,t){mn.call(this,e,t)}function bO(e,t){mn.call(this,e,t)}function Mle(e,t){mn.call(this,e,t)}function Yv(e,t){mn.call(this,e,t)}function jq(e,t){mn.call(this,e,t)}function d8(e,t){mn.call(this,e,t)}function mO(e,t){mn.call(this,e,t)}function $w(e,t){mn.call(this,e,t)}function f8(e,t){mn.call(this,e,t)}function Ple(e,t){mn.call(this,e,t)}function Fq(e,t){mn.call(this,e,t)}function $q(e,t){mn.call(this,e,t)}function Bq(e,t){mn.call(this,e,t)}function Uq(e,t){mn.call(this,e,t)}function Hq(e,t){mn.call(this,e,t)}function zq(e,t){mn.call(this,e,t)}function Stt(e,t){this.b=e,this.a=t}function Nen(e,t){return fu(e.e,t)}function Cen(e,t){return fu(e.c,t)}function Ien(e,t){return fu(t.b,e)}function Ren(e,t){return ZA(),t!=e}function wO(e){return un(e.a),e.b}function Gq(e){return Kvn(e,e.c),e}function Ttt(){return IQe(),new axt}function Att(){Y8(),this.a=new rfe}function _tt(e,t){this.a=e,this.b=t}function xtt(e,t){this.a=e,this.b=t}function ktt(e,t){this.a=e,this.b=t}function Ntt(e,t){this.b=e,this.a=t}function Ctt(e,t){this.a=e,this.b=t}function jle(e,t){mn.call(this,e,t)}function Fle(e,t){mn.call(this,e,t)}function h8(e,t){mn.call(this,e,t)}function $le(e,t){mn.call(this,e,t)}function Ble(e,t){mn.call(this,e,t)}function Ule(e,t){mn.call(this,e,t)}function Itt(e,t){this.a=e,this.b=t}function Rtt(e,t){this.a=e,this.b=t}function Ott(e,t){this.a=e,this.b=t}function Dtt(e,t){this.b=e,this.d=t}function Ltt(e,t){this.b=e,this.a=t}function p8(e,t){mn.call(this,e,t)}function r0(e,t){mn.call(this,e,t)}function qq(e,t){mn.call(this,e,t)}function g8(e,t){mn.call(this,e,t)}function Hle(e,t){mn.call(this,e,t)}function Mtt(e,t){this.b=e,this.a=t}function Ptt(e,t){this.b=e,this.a=t}function jtt(e,t){this.b=e,this.a=t}function Ftt(e,t){this.b=e,this.a=t}function zle(e,t){mn.call(this,e,t)}function yO(e,t){mn.call(this,e,t)}function Gle(e,t){mn.call(this,e,t)}function Vq(e,t){mn.call(this,e,t)}function b8(e,t){mn.call(this,e,t)}function Wq(e,t){mn.call(this,e,t)}function Kq(e,t){mn.call(this,e,t)}function m8(e,t){mn.call(this,e,t)}function Yq(e,t){mn.call(this,e,t)}function qle(e,t){mn.call(this,e,t)}function Jq(e,t){mn.call(this,e,t)}function Xq(e,t){mn.call(this,e,t)}function vO(e,t){mn.call(this,e,t)}function Zq(e,t){mn.call(this,e,t)}function Vle(e,t){mn.call(this,e,t)}function EO(e,t){mn.call(this,e,t)}function Wle(e,t){mn.call(this,e,t)}function Kle(e,t){mn.call(this,e,t)}function w8(e,t){mn.call(this,e,t)}function Yle(e,t){mn.call(this,e,t)}function $tt(e,t){this.a=e,this.b=t}function Btt(e,t){this.a=e,this.b=t}function Jle(e,t){this.a=e,this.b=t}function SO(e,t){mn.call(this,e,t)}function gS(e,t){mn.call(this,e,t)}function Me(e,t){this.a=e,this.b=t}function s3(e,t){mn.call(this,e,t)}function a3(e,t){mn.call(this,e,t)}function TO(e,t){mn.call(this,e,t)}function y8(e,t){mn.call(this,e,t)}function Qq(e,t){mn.call(this,e,t)}function v8(e,t){mn.call(this,e,t)}function u3(e,t){mn.call(this,e,t)}function eV(e,t){mn.call(this,e,t)}function E8(e,t){mn.call(this,e,t)}function Jv(e,t){mn.call(this,e,t)}function AO(e,t){mn.call(this,e,t)}function c3(e,t){mn.call(this,e,t)}function l3(e,t){mn.call(this,e,t)}function _O(e,t){mn.call(this,e,t)}function tV(e,t){mn.call(this,e,t)}function S8(e,t){mn.call(this,e,t)}function Xv(e,t){mn.call(this,e,t)}function nV(e,t){mn.call(this,e,t)}function rV(e,t){mn.call(this,e,t)}function T8(e,t){mn.call(this,e,t)}function Utt(e,t){this.a=e,this.b=t}function Htt(e,t){this.a=e,this.b=t}function ztt(e,t){this.a=e,this.b=t}function Gtt(e,t){this.a=e,this.b=t}function qtt(e,t){this.a=e,this.b=t}function Vtt(e,t){this.a=e,this.b=t}function A8(e,t){mn.call(this,e,t)}function ko(e,t){this.a=e,this.b=t}function Wtt(){F7(),this.a=new hi}function Ktt(){NW(),this.b=new hi}function Ytt(){Bhe(),qfe.call(this)}function Jtt(){Uhe(),Mat.call(this)}function Xtt(){Uhe(),Mat.call(this)}function Ztt(e,t){Xdn(e.a,l(t,12))}function Oen(e,t,r){_bt(t,nJ(e,r))}function Den(e,t,r){_bt(t,nJ(e,r))}function Xle(e,t){return fu(e.g,t)}function Len(e,t){return-e.b.$e(t)}function Qtt(e,t){this.a=e,this.b=t}function ent(e,t){this.a=e,this.b=t}function tnt(e,t){this.a=e,this.b=t}function nnt(e,t){this.a=e,this.b=t}function rnt(e,t){this.a=e,this.b=t}function int(e,t){this.a=e,this.b=t}function ont(e,t){this.a=e,this.b=t}function snt(e,t){this.a=e,this.b=t}function ant(e,t){this.a=e,this.b=t}function unt(e,t){this.a=e,this.b=t}function cnt(e,t){this.b=e,this.a=t}function lnt(e,t){this.b=e,this.a=t}function dnt(e,t){this.b=e,this.a=t}function fnt(e,t){this.b=e,this.a=t}function hnt(e,t){this.f=e,this.c=t}function Zle(e,t){this.i=e,this.g=t}function _8(e,t){this.a=e,this.b=t}function pnt(e,t){this.a=e,this.b=t}function gnt(e,t){this.a=e,this.b=t}function bnt(e,t){this.a=e,this.b=t}function Qle(e,t){this.d=e,this.e=t}function mnt(e,t){this.d=e,this.b=t}function wnt(e,t){this.a=e,this.b=t}function ynt(e,t){this.e=e,this.a=t}function xO(e,t){this.b=e,this.c=t}function bS(e,t){mn.call(this,e,t)}function Men(e,t){e&&Jn(a5,e,t)}function ede(e,t){e.i=null,Tj(e,t)}function vnt(e,t){return aY(e.a,t)}function x8(e){return F6(e.c,e.b)}function Ss(e){return e?e.kd():null}function be(e){return e??null}function Bw(e){return typeof e===uT}function Uw(e){return typeof e===ewe}function zi(e){return typeof e===WJ}function d3(e,t){return Ea(e,t)==0}function k8(e,t){return Ea(e,t)>=0}function f3(e,t){return Ea(e,t)!=0}function i1(e,t){return e.Pd().Xb(t)}function N8(e,t){return Ehn(e.Jc(),t)}function Pen(e){return""+(Mt(e),e)}function tde(e,t){return e.a+=""+t,e}function h3(e,t){return e.a+=""+t,e}function Vo(e,t){return e.a+=""+t,e}function p3(e,t){return e.a+=""+t,e}function ba(e,t){return e.a+=""+t,e}function zn(e,t){return e.a+=""+t,e}function C8(e){return T3(e==null),e}function nde(e){return at(e,0),null}function Ent(e){return $u(e),e.d.gc()}function jen(e){b.clearTimeout(e)}function Snt(e,t){e.q.setTime($b(t))}function Fen(e,t){cfn(new tn(e),t)}function Tnt(e,t){Qfe.call(this,e,t)}function Ant(e,t){Qfe.call(this,e,t)}function I8(e,t){Qfe.call(this,e,t)}function Eo(e,t){Wr(e,t,e.c.b,e.c)}function Zv(e,t){Wr(e,t,e.a,e.a.a)}function $en(e,t){return e.j[t.p]==2}function _nt(e,t){return e.a=t.g+1,e}function wd(e){return e.a=0,e.b=0,e}function xnt(){xnt=K,Zxt=yn(bY())}function knt(){knt=K,sNt=yn(Twt())}function Nnt(){Nnt=K,Z4t=yn(Rht())}function Cnt(){this.b=new dS(fy(12))}function Int(){this.b=0,this.a=!1}function Rnt(){this.b=0,this.a=!1}function g3(e){this.a=e,MG.call(this)}function Ont(e){this.a=e,MG.call(this)}function pt(e,t){Pr.call(this,e,t)}function iV(e,t){Ww.call(this,e,t)}function Qv(e,t){Zle.call(this,e,t)}function Dnt(e,t){RO.call(this,e,t)}function oV(e,t){A_.call(this,e,t)}function er(e,t){e8(),Jn(vU,e,t)}function sV(e,t){return yl(e.a,0,t)}function Lnt(e,t){return be(e)===be(t)}function Ben(e,t){return yr(e.a,t.a)}function rde(e,t){return na(e.a,t.a)}function Uen(e,t){return xst(e.a,t.a)}function mS(e){return go((Mt(e),e))}function Hen(e){return go((Mt(e),e))}function Mnt(e){return Ua(e.l,e.m,e.h)}function zen(e){return kn(e),new g3(e)}function Nf(e,t){return e.indexOf(t)}function gs(e){return typeof e===ewe}function R8(e){return e<10?"0"+e:""+e}function Gen(e){return e==X0||e==$y}function qen(e){return e==X0||e==Fy}function Pnt(e,t){return na(e.g,t.g)}function ide(e){return _s(e.b.b,e,0)}function jnt(e){Zs(this),X3(this,e)}function Fnt(e){this.a=Ttt(),this.b=e}function $nt(e){this.a=Ttt(),this.b=e}function Bnt(e,t){return Fe(e.a,t),t}function ode(e,t){g_(e,0,e.length,t)}function Ven(e,t){return na(e.g,t.g)}function Wen(e,t){return yr(t.f,e.f)}function Ken(e,t){return hc(),t.a+=e}function Yen(e,t){return hc(),t.a+=e}function Jen(e,t){return hc(),t.c+=e}function sde(e,t){return yc(e.a,t),e}function Xen(e,t){return Fe(e.c,t),e}function O8(e){return yc(new ui,e)}function ep(e){return e==as||e==fs}function eE(e){return e==il||e==ff}function Unt(e){return e==a2||e==s2}function tE(e){return e!=pf&&e!=W1}function Ju(e){return e.sh()&&e.th()}function Hnt(e){return fW(l(e,127))}function wS(){ql.call(this,0,0,0,0)}function znt(){aP.call(this,0,0,0,0)}function uh(){lce.call(this,new d1)}function aV(e){hnt.call(this,e,!0)}function So(e){this.a=e.a,this.b=e.b}function uV(e,t){I_(e,t),y_(e,e.D)}function cV(e,t,r){gj(e,t),pj(e,r)}function i0(e,t,r){Hb(e,t),Ub(e,r)}function Bc(e,t,r){va(e,t),gu(e,r)}function kO(e,t,r){y0(e,t),v0(e,r)}function NO(e,t,r){E0(e,t),S0(e,r)}function Gnt(e,t,r){Ude.call(this,e,t,r)}function qnt(){i8.call(this,"Head",1)}function Vnt(){i8.call(this,"Tail",3)}function o1(e){jf(),Ahn.call(this,e)}function nE(e){return e!=null?Rr(e):0}function Wnt(e,t){return new A_(t,e)}function Zen(e,t){return new A_(t,e)}function Qen(e,t){return uy(t,Gd(e))}function etn(e,t){return uy(t,Gd(e))}function ttn(e,t){return e[e.length]=t}function ntn(e,t){return e[e.length]=t}function ade(e){return yon(e.b.Jc(),e.a)}function rtn(e,t){return vj(uW(e.f),t)}function itn(e,t){return vj(uW(e.n),t)}function otn(e,t){return vj(uW(e.p),t)}function Mi(e,t){Pr.call(this,e.b,t)}function xb(e){aP.call(this,e,e,e,e)}function lV(e){e.c=we(Ii,Rt,1,0,5,1)}function Knt(e,t,r){ii(e.c[t.g],t.g,r)}function stn(e,t,r){l(e.c,72).Ei(t,r)}function atn(e,t,r){Bc(r,r.i+e,r.j+t)}function utn(e,t){Tn(oa(e.a),_ut(t))}function ctn(e,t){Tn(Fu(e.a),xut(t))}function ltn(e,t){sf||(e.b=t)}function dV(e,t,r){return ii(e,t,r),r}function Ynt(e){La(e.Qf(),new hYe(e))}function Jnt(){Jnt=K,Yte=new cC(Tre)}function ude(){ude=K,Cce(),WEe=new hn}function Cn(){Cn=K,new Xnt,new je}function Xnt(){new hn,new hn,new hn}function dtn(){throw Y(new Jp(O_t))}function ftn(){throw Y(new Jp(O_t))}function htn(){throw Y(new Jp(D_t))}function ptn(){throw Y(new Jp(D_t))}function b3(e){fr(),Km.call(this,e)}function Znt(e){this.a=e,_fe.call(this,e)}function fV(e){this.a=e,z9.call(this,e)}function hV(e){this.a=e,z9.call(this,e)}function gtn(e){return e==null?0:Rr(e)}function Ts(e){return e.a<e.c.c.length}function cde(e){return e.a<e.c.a.length}function lde(e,t){return Ea(e,t)>0?e:t}function na(e,t){return e<t?-1:e>t?1:0}function Qnt(e,t){return e.a?e.b:t.Ue()}function Ua(e,t,r){return{l:e,m:t,h:r}}function btn(e,t){e.a!=null&&Ztt(t,e.a)}function mtn(e,t){kn(t),uE(e).Ic(new j)}function xi(e,t){HV(e.c,e.c.length,t)}function ert(e){e.a=new ht,e.c=new ht}function D8(e){this.b=e,this.a=new je}function trt(e){this.b=new sh,this.a=e}function dde(e){nfe.call(this),this.a=e}function nrt(e){Ohe.call(this),this.b=e}function rrt(){i8.call(this,"Range",2)}function irt(){pbe(),this.a=new X_(z2e)}function Ud(){Ud=K,b.Math.log(2)}function Uc(){Uc=K,Lh=(Xet(),BDt)}function L8(e){e.j=we(s2e,Pe,325,0,0,1)}function ort(e){e.a=new hn,e.e=new hn}function fde(e){return new Me(e.c,e.d)}function wtn(e){return new Me(e.c,e.d)}function To(e){return new Me(e.a,e.b)}function ytn(e,t){return Jn(e.a,t.a,t)}function vtn(e,t,r){return Jn(e.g,r,t)}function Etn(e,t,r){return Jn(e.k,r,t)}function rE(e,t,r){return L1e(t,r,e.c)}function srt(e,t){return xkn(e.a,t,null)}function hde(e,t){return ce(Ht(e.i,t))}function pde(e,t){return ce(Ht(e.j,t))}function art(e,t){vn(e),e.Fc(l(t,16))}function Stn(e,t,r){e.c._c(t,l(r,138))}function Ttn(e,t,r){e.c.Si(t,l(r,138))}function Atn(e,t,r){return Akn(e,t,r),r}function _tn(e,t){return gc(),t.n.b+=e}function m3(e,t){return Lxn(e.c,e.b,t)}function pV(e,t){return tpn(e.Jc(),t)!=-1}function ae(e,t){return e!=null&&vY(e,t)}function xtn(e,t){return new Irt(e.Jc(),t)}function M8(e){return e.Ob()?e.Pb():null}function urt(e){return Mf(e,0,e.length)}function ktn(e){bo(e,null),Ji(e,null)}function crt(e){IW(e,null),RW(e,null)}function lrt(){RO.call(this,null,null)}function drt(){U8.call(this,null,null)}function frt(){mn.call(this,"INSTANCE",0)}function iE(){this.a=we(Ii,Rt,1,8,5,1)}function gde(e){this.a=e,hn.call(this)}function hrt(e){this.a=(At(),new PA(e))}function Ntn(e){this.b=(At(),new VG(e))}function VA(){VA=K,b2e=new sq(null)}function bde(){bde=K,bde(),lxt=new Ct}function Fe(e,t){return Ot(e.c,t),!0}function prt(e,t){e.c&&(Mfe(t),Wat(t))}function Ctn(e,t){e.q.setHours(t),OC(e,t)}function mde(e,t){return e.a.Ac(t)!=null}function gV(e,t){return e.a.Ac(t)!=null}function Hd(e,t){return e.a[t.c.p][t.p]}function Itn(e,t){return e.c[t.c.p][t.p]}function Rtn(e,t){return e.e[t.c.p][t.p]}function bV(e,t,r){return e.a[t.g][r.g]}function Otn(e,t){return e.j[t.p]=o2n(t)}function yS(e,t){return e.a*t.a+e.b*t.b}function Dtn(e,t){return e.a<NV(t)?-1:1}function Ltn(e,t){return wpe(e.b,t.Og())}function Mtn(e,t){return wpe(e.f,t.Og())}function Ptn(e,t){return ue(ce(t.a))<=e}function jtn(e,t){return ue(ce(t.a))>=e}function Ftn(e,t,r){return r?t!=0:t!=e-1}function grt(e,t,r){e.a=t^1502,e.b=r^AX}function $tn(e,t,r){return e.a=t,e.b=r,e}function tp(e,t){return e.a*=t,e.b*=t,e}function w3(e,t,r){return ii(e.g,t,r),r}function Btn(e,t,r,o){ii(e.a[t.g],r.g,o)}function yi(e,t,r){zO.call(this,e,t,r)}function P8(e,t,r){yi.call(this,e,t,r)}function du(e,t,r){yi.call(this,e,t,r)}function brt(e,t,r){P8.call(this,e,t,r)}function wde(e,t,r){zO.call(this,e,t,r)}function oE(e,t,r){zO.call(this,e,t,r)}function mrt(e,t,r){yde.call(this,e,t,r)}function wrt(e,t,r){wde.call(this,e,t,r)}function yde(e,t,r){Z8.call(this,e,t,r)}function yrt(e,t,r){Z8.call(this,e,t,r)}function s1(e){this.c=e,this.a=this.c.a}function tn(e){this.i=e,this.f=this.i.j}function sE(e,t){this.a=e,z9.call(this,t)}function vrt(e,t){this.a=e,dq.call(this,t)}function Ert(e,t){this.a=e,dq.call(this,t)}function Srt(e,t){this.a=e,dq.call(this,t)}function vde(e){this.a=e,EKe.call(this,e.d)}function Trt(e){e.b.Qb(),--e.d.f.d,dP(e.d)}function Art(e){e.a=l(Vt(e.b.a,4),131)}function _rt(e){e.a=l(Vt(e.b.a,4),131)}function Utn(e){YO(e,oAt),L7(e,ENn(e))}function xrt(e){$G.call(this,l(kn(e),34))}function krt(e){$G.call(this,l(kn(e),34))}function Ede(e){if(!e)throw Y(new nO)}function Sde(e){if(!e)throw Y(new lu)}function Tde(e,t){return jgn(e,new Zg,t).a}function Nrt(e,t){return new Omt(e.a,e.b,t)}function qt(e,t){return kn(t),new Crt(e,t)}function Crt(e,t){this.a=t,G9.call(this,e)}function Irt(e,t){this.a=t,G9.call(this,e)}function Ade(e,t){this.a=t,dq.call(this,e)}function Rrt(e,t){this.a=t,HW.call(this,e)}function Ort(e,t){this.a=e,HW.call(this,t)}function Drt(){L8(this),xP(this),this.he()}function _de(){this.Bb|=256,this.Bb|=512}function Lt(){Lt=K,D1=!1,Bx=!0}function Lrt(){Lrt=K,Sq(),gLt=new dKe}function Htn(e){return oO(e.a)?kut(e):null}function ztn(e){return e.l+e.m*fT+e.h*nm}function Gtn(e){return e==null?null:e.name}function y3(e){return e==null?tu:ms(e)}function j8(e,t){return e.lastIndexOf(t)}function xde(e,t,r){return e.indexOf(t,r)}function fu(e,t){return!!t&&e.b[t.g]==t}function vS(e){return e.a!=null?e.a:null}function Xu(e){return un(e.a!=null),e.a}function CO(e,t,r){return NK(e,t,t,r),e}function Mrt(e,t){return Fe(t.a,e.a),e.a}function Prt(e,t){return Fe(t.b,e.a),e.a}function F8(e,t){return++e.b,Fe(e.a,t)}function kde(e,t){return++e.b,Xa(e.a,t)}function o0(e,t){return Fe(t.a,e.a),e.a}function $8(e){CA.call(this,e),this.a=e}function Nde(e){Gv.call(this,e),this.a=e}function Cde(e){PA.call(this,e),this.a=e}function Ide(e){ZG.call(this),mo(this,e)}function ml(e){ZR.call(this,(Mt(e),e))}function fc(e){ZR.call(this,(Mt(e),e))}function mV(e){lce.call(this,new Npe(e))}function Rde(e,t){z1e.call(this,e,t,null)}function qtn(e,t){return yr(e.n.a,t.n.a)}function Vtn(e,t){return yr(e.c.d,t.c.d)}function Wtn(e,t){return yr(e.c.c,t.c.c)}function Ya(e,t){return l(wr(e.b,t),16)}function Ktn(e,t){return e.n.b=(Mt(t),t)}function Ytn(e,t){return e.n.b=(Mt(t),t)}function Jtn(e,t){return yr(e.e.b,t.e.b)}function Xtn(e,t){return yr(e.e.a,t.e.a)}function Ztn(e,t,r){return Nct(e,t,r,e.b)}function Ode(e,t,r){return Nct(e,t,r,e.c)}function Qtn(e){return hc(),!!e&&!e.dc()}function jrt(){YN(),this.b=new YYe(this)}function Frt(e){this.a=e,qG.call(this,e)}function IO(e){this.c=e,SS.call(this,e)}function ES(e){this.c=e,tn.call(this,e)}function SS(e){this.d=e,tn.call(this,e)}function B8(e,t){qV(),this.f=t,this.d=e}function RO(e,t){QN(),this.a=e,this.b=t}function U8(e,t){tg(),this.b=e,this.c=t}function Dde(e,t){vpe(t,e),this.c=e,this.b=t}function ng(e){var t;t=e.a,e.a=e.b,e.b=t}function v3(e){return Ts(e.a)||Ts(e.b)}function s0(e){return e.$H||(e.$H=++G3n)}function wV(e,t){return new Hit(e,e.gc(),t)}function enn(e,t){return YV(e.c).Kd().Xb(t)}function WA(e,t,r){var o;o=e.dd(t),o.Rb(r)}function Lde(e,t,r){l(f6(e,t),24).Ec(r)}function tnn(e,t,r){ZK(e.a,r),c7(e.a,t)}function $rt(e,t,r,o){Xfe.call(this,e,t,r,o)}function KA(e,t,r){return xde(e,Qa(t),r)}function nnn(e){return M9(),wn((fut(),U_t),e)}function rnn(e){return new oy(3,e)}function ch(e){return wc(e,Iy),new Da(e)}function YA(e){return un(e.b!=0),e.a.a.c}function zl(e){return un(e.b!=0),e.c.b.c}function inn(e,t){return NK(e,t,t+1,""),e}function Brt(e){if(!e)throw Y(new $c)}function Urt(e){e.d=new Grt(e),e.e=new hn}function Mde(e){if(!e)throw Y(new nO)}function onn(e){if(!e)throw Y(new JG)}function un(e){if(!e)throw Y(new vs)}function Hw(e){if(!e)throw Y(new lu)}function Hrt(e){return e.b=l(khe(e.a),45)}function gr(e,t){return!!e.q&&ma(e.q,t)}function snn(e,t){return e>0?t*t/e:t*t*100}function ann(e,t){return e>0?t/(e*e):t*100}function zw(e,t){return l(Wd(e.a,t),34)}function unn(e){return e.f!=null?e.f:""+e.g}function yV(e){return e.f!=null?e.f:""+e.g}function zrt(e){return l_(),parseInt(e)||-1}function cnn(e){return dp(),e.e.a+e.f.a/2}function lnn(e,t,r){return dp(),r.e.a-e*t}function dnn(e,t,r){return W9(),r.Lg(e,t)}function fnn(e,t,r){return dp(),r.e.b-e*t}function hnn(e){return dp(),e.e.b+e.f.b/2}function pnn(e,t){return S1(),yt(e,t.e,t)}function OO(e){ae(e,162)&&l(e,162).mi()}function Grt(e){xfe.call(this,e,null,null)}function qrt(){mn.call(this,"GROW_TREE",0)}function Vrt(e){this.c=e,this.a=1,this.b=1}function vV(e){jw(),this.b=e,this.a=!0}function Wrt(e){V9(),this.b=e,this.a=!0}function Krt(e){qJ(),lZe(this),this.Df(e)}function Yrt(e){Ar.call(this),K3(this,e)}function Jrt(e){this.c=e,va(e,0),gu(e,0)}function H8(e){return e.a=-e.a,e.b=-e.b,e}function Pde(e,t){return e.a=t.a,e.b=t.b,e}function Gw(e,t,r){return e.a+=t,e.b+=r,e}function Xrt(e,t,r){return e.a-=t,e.b-=r,e}function gnn(e,t,r){nj(),e.nf(t)&&r.Ad(e)}function bnn(e,t,r){aC(oa(e.a),t,_ut(r))}function mnn(e,t,r){return Fe(t,xgt(e,r))}function wnn(e,t){return l(Ht(e.e,t),19)}function ynn(e,t){return l(Ht(e.e,t),19)}function vnn(e,t){return e.c.Ec(l(t,138))}function Zrt(e,t){QN(),RO.call(this,e,t)}function jde(e,t){tg(),U8.call(this,e,t)}function Qrt(e,t){tg(),U8.call(this,e,t)}function eit(e,t){tg(),jde.call(this,e,t)}function EV(e,t){Uc(),cP.call(this,e,t)}function tit(e,t){Uc(),EV.call(this,e,t)}function Fde(e,t){Uc(),EV.call(this,e,t)}function nit(e,t){Uc(),Fde.call(this,e,t)}function $de(e,t){Uc(),cP.call(this,e,t)}function rit(e,t){Uc(),cP.call(this,e,t)}function iit(e,t){Uc(),$de.call(this,e,t)}function Zu(e,t,r){pu.call(this,e,t,r,2)}function Enn(e,t,r){aC(Fu(e.a),t,xut(r))}function SV(e,t){return w1(e.e,l(t,52))}function Snn(e,t,r){return t.xl(e.e,e.c,r)}function Tnn(e,t,r){return t.yl(e.e,e.c,r)}function Bde(e,t,r){return Y7(h6(e,t),r)}function oit(e,t){return Mt(e),e+NV(t)}function Ann(e){return e==null?null:ms(e)}function _nn(e){return e==null?null:ms(e)}function xnn(e){return e==null?null:fNn(e)}function knn(e){return e==null?null:dyn(e)}function np(e){e.o==null&&OEn(e)}function Ke(e){return T3(e==null||Bw(e)),e}function ce(e){return T3(e==null||Uw(e)),e}function In(e){return T3(e==null||zi(e)),e}function sit(){this.a=new b0,this.b=new b0}function Nnn(e,t){this.d=e,VKe(this),this.b=t}function DO(e,t){this.c=e,HA.call(this,e,t)}function E3(e,t){this.a=e,DO.call(this,e,t)}function Ude(e,t,r){ej.call(this,e,t,r,null)}function ait(e,t,r){ej.call(this,e,t,r,null)}function Hde(){Kft.call(this),this.Bb|=No}function zde(e,t){ZW.call(this,e),this.a=t}function Gde(e,t){ZW.call(this,e),this.a=t}function uit(e,t){sf||Fe(e.a,t)}function Cnn(e,t){return NY(e,t),new rat(e,t)}function Inn(e,t,r){return e.Le(t,r)<=0?r:t}function Rnn(e,t,r){return e.Le(t,r)<=0?t:r}function cit(e){return Mt(e),e?1231:1237}function TV(e){return l(ze(e.a,e.b),296)}function lit(e){return gc(),Unt(l(e,205))}function Onn(e,t){return l(Wd(e.b,t),144)}function Dnn(e,t){return l(Wd(e.c,t),236)}function dit(e){return new Me(e.c,e.d+e.a)}function Lnn(e,t){return zS(),new yyt(t,e)}function Mnn(e,t){return fO(),T_(t.d.i,e)}function Pnn(e,t){t.a?Zvn(e,t):gV(e.a,t.b)}function qde(e,t){return l(Ht(e.b,t),280)}function Pr(e,t){cr.call(this,e),this.a=t}function Vde(e,t,r){return r=Sc(e,t,3,r),r}function Wde(e,t,r){return r=Sc(e,t,6,r),r}function Kde(e,t,r){return r=Sc(e,t,9,r),r}function Cf(e,t){return YO(t,ywe),e.f=t,e}function Yde(e,t){return(t&sr)%e.d.length}function fit(e,t,r){++e.j,e.oj(t,e.Xi(t,r))}function LO(e,t,r){++e.j,e.rj(),XW(e,t,r)}function hit(e,t,r){var o;o=e.dd(t),o.Rb(r)}function pit(e,t){this.c=e,w0.call(this,t)}function git(e,t){this.a=e,rZe.call(this,t)}function MO(e,t){this.a=e,rZe.call(this,t)}function Jde(e){this.q=new b.Date($b(e))}function bit(e){this.a=(wc(e,Iy),new Da(e))}function mit(e){this.a=(wc(e,Iy),new Da(e))}function AV(e){this.a=(At(),new GG(kn(e)))}function z8(){z8=K,m$=new Pr(U2t,0)}function aE(){aE=K,l2=new cr("root")}function JA(){JA=K,c5=new BZe,new UZe}function qw(){qw=K,T2e=ct((sc(),xm))}function jnn(e){return Dn(Rb(e,32))^Dn(e)}function _V(e){return String.fromCharCode(e)}function Fnn(e){return e==null?null:e.message}function $nn(e,t,r){return e.apply(t,r)}function wit(e,t,r){return D0e(e.c,e.b,t,r)}function Xde(e,t,r){return IS(e,l(t,23),r)}function kb(e,t){return Lt(),e==t?0:e?1:-1}function Zde(e,t){var r;return r=t,!!e.De(r)}function Qde(e,t){var r;return r=e.e,e.e=t,r}function Bnn(e,t){var r;r=e[TX],r.call(e,t)}function Unn(e,t){var r;r=e[TX],r.call(e,t)}function Vw(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function yit(e){Zs(e.e),e.d.b=e.d,e.d.a=e.d}function PO(e){e.b?PO(e.b):e.f.c.yc(e.e,e.d)}function jO(e){return!e.a&&(e.a=new le),e.a}function vit(e,t,r){return e.a+=Mf(t,0,r),e}function Hnn(e,t,r){_b(),zKe(e,t.Te(e.a,r))}function efe(e,t,r,o){aP.call(this,e,t,r,o)}function tfe(e,t){Ace.call(this,e),this.a=t}function xV(e,t){Ace.call(this,e),this.a=t}function Eit(){G8.call(this),this.a=new ro}function nfe(){this.n=new ro,this.o=new ro}function Sit(){this.b=new ro,this.c=new je}function Tit(){this.a=new je,this.b=new je}function Ait(){this.a=new ah,this.b=new mZe}function rfe(){this.b=new d1,this.a=new d1}function _it(){this.b=new hi,this.a=new hi}function xit(){this.b=new hn,this.a=new hn}function kit(){this.a=new je,this.d=new je}function Nit(){this.a=new CWe,this.b=new aUe}function Cit(){this.b=new WQe,this.a=new wHe}function G8(){this.n=new oS,this.i=new wS}function br(e,t){return e.a+=t.a,e.b+=t.b,e}function Di(e,t){return e.a-=t.a,e.b-=t.b,e}function znn(e){return Mw(e.j.c,0),e.a=-1,e}function ife(e,t,r){return r=Sc(e,t,11,r),r}function Iit(e,t,r){r!=null&&Ej(t,RY(e,r))}function Rit(e,t,r){r!=null&&Sj(t,RY(e,r))}function TS(e,t,r,o){ke.call(this,e,t,r,o)}function Ww(e,t){Ia.call(this,aI+e+um+t)}function ofe(e,t,r,o){ke.call(this,e,t,r,o)}function Oit(e,t,r,o){ofe.call(this,e,t,r,o)}function Dit(e,t,r,o){mP.call(this,e,t,r,o)}function kV(e,t,r,o){mP.call(this,e,t,r,o)}function Lit(e,t,r,o){kV.call(this,e,t,r,o)}function sfe(e,t,r,o){mP.call(this,e,t,r,o)}function Tt(e,t,r,o){sfe.call(this,e,t,r,o)}function afe(e,t,r,o){kV.call(this,e,t,r,o)}function Mit(e,t,r,o){afe.call(this,e,t,r,o)}function Pit(e,t,r,o){the.call(this,e,t,r,o)}function ufe(e,t){return e.hk().ti().oi(e,t)}function cfe(e,t){return e.hk().ti().qi(e,t)}function Gnn(e,t){return e.n.a=(Mt(t),t+10)}function qnn(e,t){return e.n.a=(Mt(t),t+10)}function Vnn(e,t){return e.e=l(e.d.Kb(t),163)}function Wnn(e,t){return t==e||q_(D7(t),e)}function Gl(e,t){return $9(new Array(t),e)}function jit(e,t){return Mt(e),be(e)===be(t)}function wt(e,t){return Mt(e),be(e)===be(t)}function Fit(e,t){return Jn(e.a,t,"")==null}function lfe(e,t,r){return e.lastIndexOf(t,r)}function Knn(e,t){return e.b.zd(new itt(e,t))}function Ynn(e,t){return e.b.zd(new ott(e,t))}function $it(e,t){return e.b.zd(new stt(e,t))}function Jnn(e){return e<100?null:new Qg(e)}function Xnn(e,t){return Te(t,(Be(),mL),e)}function Znn(e,t,r){return yr(e[t.a],e[r.a])}function Qnn(e,t){return na(e.a.d.p,t.a.d.p)}function ern(e,t){return na(t.a.d.p,e.a.d.p)}function trn(e,t){return fO(),!T_(t.d.i,e)}function nrn(e,t){sf||t&&(e.d=t)}function rrn(e,t){ep(e.f)?AEn(e,t):pwn(e,t)}function Bit(e,t){von.call(this,e,e.length,t)}function Uit(e){this.c=e,I8.call(this,wD,0)}function dfe(e,t){this.c=e,rW.call(this,e,t)}function Hit(e,t,r){this.a=e,Dde.call(this,t,r)}function zit(e,t,r){this.c=t,this.b=r,this.a=e}function FO(e){ZA(),this.d=e,this.a=new iE}function irn(e,t){var r;return r=t.ni(e.a),r}function orn(e,t){return yr(e.c-e.s,t.c-t.s)}function srn(e,t){return yr(e.c.e.a,t.c.e.a)}function arn(e,t){return yr(e.b.e.a,t.b.e.a)}function Git(e,t){return ae(t,16)&&Qwt(e.c,t)}function urn(e,t,r){return l(e.c,72).Uk(t,r)}function q8(e,t,r){return l(e.c,72).Vk(t,r)}function crn(e,t,r){return Snn(e,l(t,345),r)}function ffe(e,t,r){return Tnn(e,l(t,345),r)}function lrn(e,t,r){return Mbt(e,l(t,345),r)}function qit(e,t,r){return xwn(e,l(t,345),r)}function S3(e,t){return t==null?null:py(e.b,t)}function AS(e){return e==_m||e==Oh||e==fa}function Vit(e){return e.c?_s(e.c.a,e,0):-1}function NV(e){return Uw(e)?(Mt(e),e):e.se()}function V8(e){return!isNaN(e)&&!isFinite(e)}function CV(e){ert(this),tc(this),mo(this,e)}function Tu(e){lV(this),Lfe(this.c,0,e.Nc())}function Wit(e){Mu(e.a),xpe(e.c,e.b),e.b=null}function IV(){IV=K,g2e=new Xt,uxt=new vt}function Kit(){Kit=K,qDt=we(Ii,Rt,1,0,5,1)}function Yit(){Yit=K,cLt=we(Ii,Rt,1,0,5,1)}function hfe(){hfe=K,lLt=we(Ii,Rt,1,0,5,1)}function drn(e){return b_(),wn((mdt(),dxt),e)}function frn(e){return Yc(),wn((Rlt(),mxt),e)}function hrn(e){return Sd(),wn((Olt(),_xt),e)}function prn(e){return _u(),wn((Dlt(),kxt),e)}function grn(e){return Za(),wn((Llt(),Cxt),e)}function brn(e){return eF(),wn((xnt(),Zxt),e)}function pfe(e,t){if(!e)throw Y(new jt(t))}function XA(e){if(!e)throw Y(new es(twe))}function RV(e,t){if(e!=t)throw Y(new $c)}function Hc(e,t,r){this.a=e,this.b=t,this.c=r}function Jit(e,t,r){this.a=e,this.b=t,this.c=r}function Xit(e,t,r){this.a=e,this.b=t,this.c=r}function gfe(e,t,r){this.b=e,this.c=t,this.a=r}function Zit(e,t,r){this.d=e,this.b=r,this.a=t}function mrn(e,t,r){return _b(),e.a.Wd(t,r),t}function OV(e){var t;return t=new yb,t.e=e,t}function bfe(e){var t;return t=new AZe,t.b=e,t}function W8(e,t,r){this.e=t,this.b=e,this.d=r}function K8(e,t,r){this.b=e,this.a=t,this.c=r}function Qit(e){this.a=e,eg(),Gs(Date.now())}function eot(e,t,r){this.a=e,this.b=t,this.c=r}function DV(e){aP.call(this,e.d,e.c,e.a,e.b)}function mfe(e){aP.call(this,e.d,e.c,e.a,e.b)}function wrn(e){return zt(),wn((kht(),eNt),e)}function yrn(e){return A0(),wn((wdt(),ekt),e)}function vrn(e){return x_(),wn((ydt(),Gkt),e)}function Ern(e){return cj(),wn((Uct(),ckt),e)}function Srn(e){return G3(),wn((Mlt(),Mkt),e)}function Trn(e){return Vi(),wn((nft(),$kt),e)}function Arn(e){return YS(),wn((vdt(),Jkt),e)}function _rn(e){return E_(),wn((Hct(),oNt),e)}function xrn(e){return Zi(),wn((knt(),sNt),e)}function krn(e){return Mj(),wn((Edt(),cNt),e)}function Nrn(e){return Xl(),wn((Sdt(),vNt),e)}function Crn(e){return yy(),wn((pft(),SNt),e)}function Irn(e){return tj(),wn((Gct(),INt),e)}function Rrn(e){return eT(),wn((Dft(),CNt),e)}function Orn(e){return T0(),wn((Qlt(),kNt),e)}function Drn(e){return B7(),wn((Nht(),NNt),e)}function Lrn(e){return lC(),wn((xdt(),RNt),e)}function Mrn(e){return mj(),wn(($lt(),ONt),e)}function Prn(e){return tD(),wn((zht(),DNt),e)}function jrn(e){return m6(),wn((zct(),LNt),e)}function Frn(e){return Vb(),wn((Blt(),PNt),e)}function $rn(e){return _7(),wn((Oft(),jNt),e)}function Brn(e){return l6(),wn((qct(),FNt),e)}function Urn(e){return K6(),wn((Ift(),$Nt),e)}function Hrn(e){return W_(),wn((Rft(),BNt),e)}function zrn(e){return Fo(),wn((rpt(),UNt),e)}function Grn(e){return __(),wn((Flt(),HNt),e)}function qrn(e){return g1(),wn((Plt(),zNt),e)}function Vrn(e){return lp(),wn((jlt(),qNt),e)}function Wrn(e){return UP(),wn((Vct(),VNt),e)}function Krn(e){return ic(),wn((bft(),KNt),e)}function Yrn(e){return GP(),wn((Wct(),YNt),e)}function Jrn(e){return wy(),wn((Adt(),FIt),e)}function Xrn(e){return rC(),wn((Wlt(),jIt),e)}function Zrn(e){return hC(),wn((mft(),$It),e)}function Qrn(e){return _1(),wn((npt(),BIt),e)}function ein(e){return rD(),wn((Ght(),PIt),e)}function tin(e){return bp(),wn((_dt(),UIt),e)}function nin(e){return g6(),wn((Kct(),HIt),e)}function rin(e){return jo(),wn((Ult(),GIt),e)}function iin(e){return Oj(),wn((Hlt(),qIt),e)}function oin(e){return nC(),wn((zlt(),VIt),e)}function sin(e){return R_(),wn((Glt(),WIt),e)}function ain(e){return bj(),wn((qlt(),KIt),e)}function uin(e){return Dj(),wn((Vlt(),YIt),e)}function cin(e){return Kb(),wn((Tdt(),p4t),e)}function lin(e){return H3(),wn((Yct(),y4t),e)}function din(e){return If(),wn((Jct(),x4t),e)}function fin(e){return zd(),wn((Xct(),N4t),e)}function hin(e){return vd(),wn((Zct(),z4t),e)}function pin(e,t){return Mt(e),e+(Mt(t),t)}function gin(e){return g0(),wn((Qct(),J4t),e)}function bin(e){return JS(),wn((Idt(),X4t),e)}function min(e){return IC(),wn((Nnt(),Z4t),e)}function win(e){return eC(),wn((edt(),Q4t),e)}function yin(e){return tC(),wn((kdt(),SRt),e)}function vin(e){return FP(),wn((elt(),TRt),e)}function Ein(e){return _j(),wn((tlt(),NRt),e)}function Sin(e){return v7(),wn((gft(),IRt),e)}function Tin(e){return rj(),wn((nlt(),RRt),e)}function Ain(e){return R6(),wn((tdt(),ORt),e)}function _in(e){return d7(),wn((Ndt(),ZRt),e)}function xin(e){return Ij(),wn((Klt(),QRt),e)}function kin(e){return Zj(),wn((Ylt(),eOt),e)}function Nin(e){return S7(),wn((Cdt(),nOt),e)}function Cin(e){return Wj(),wn((ndt(),oOt),e)}function ZA(){ZA=K,k_e=(He(),Kt),RB=Qt}function hc(){hc=K,bNt=new mBe,mNt=new wBe}function $O(){$O=K,T$=new LFe,A$=new MFe}function Y8(){Y8=K,dNt=new u$e,lNt=new c$e}function Iin(e){return!e.e&&(e.e=new je),e.e}function Rin(e){return xC(),wn((wft(),ROt),e)}function Oin(e){return Y9(),wn((gct(),DOt),e)}function Din(e){return M6(),wn((Jlt(),OOt),e)}function Lin(e){return J9(),wn((bct(),MOt),e)}function Min(e){return o6(),wn((ilt(),POt),e)}function Pin(e){return J6(),wn((yft(),jOt),e)}function jin(e){return KP(),wn((rlt(),kOt),e)}function Fin(e){return ij(),wn((Xlt(),NOt),e)}function $in(e){return Uj(),wn((Zlt(),COt),e)}function Bin(e){return JN(),wn((mct(),QOt),e)}function Uin(e){return x6(),wn((olt(),e6t),e)}function Hin(e){return zP(),wn((slt(),t6t),e)}function zin(e){return g7(),wn((Rdt(),r6t),e)}function Gin(e){return X9(),wn((wct(),f6t),e)}function qin(e){return Z9(),wn((yct(),p6t),e)}function Vin(e){return Q9(),wn((vct(),b6t),e)}function Win(e){return w6(),wn((alt(),w6t),e)}function Kin(e){return Jd(),wn((hft(),A6t),e)}function Yin(e){return A1(),wn((Cht(),x6t),e)}function Jin(e){return mh(),wn((Pft(),k6t),e)}function Xin(e){return Zb(),wn((Mft(),D6t),e)}function Zin(e){return vi(),wn((tft(),oDt),e)}function Qin(e){return O_(),wn((Odt(),sDt),e)}function eon(e){return Kd(),wn((idt(),aDt),e)}function ton(e){return gp(),wn((Ddt(),uDt),e)}function non(e){return T7(),wn((Lft(),cDt),e)}function ron(e){return pp(),wn((rdt(),dDt),e)}function ion(e){return vc(),wn((Ldt(),hDt),e)}function oon(e){return Ty(),wn((Hht(),pDt),e)}function son(e){return vE(),wn((fft(),gDt),e)}function aon(e){return qi(),wn((jft(),bDt),e)}function uon(e){return xu(),wn((Fft(),mDt),e)}function con(e){return V3(),wn((sdt(),TDt),e)}function lon(e){return He(),wn((eft(),wDt),e)}function don(e){return sc(),wn((Pdt(),ADt),e)}function fon(e){return Uu(),wn((Uht(),_Dt),e)}function hon(e){return VS(),wn((odt(),xDt),e)}function pon(e){return qP(),wn((Mdt(),kDt),e)}function gon(e){return Kj(),wn((jdt(),NDt),e)}function bon(e){return Pj(),wn((Fdt(),RDt),e)}function LV(e,t){this.c=e,this.a=t,this.b=t-e}function Qu(e,t,r){this.c=e,this.a=t,this.b=r}function tot(e,t,r){this.a=e,this.c=t,this.b=r}function not(e,t,r){this.a=e,this.c=t,this.b=r}function rot(e,t,r){this.a=e,this.b=t,this.c=r}function wfe(e,t,r){this.a=e,this.b=t,this.c=r}function yfe(e,t,r){this.a=e,this.b=t,this.c=r}function MV(e,t,r){this.a=e,this.b=t,this.c=r}function iot(e,t,r){this.a=e,this.b=t,this.c=r}function vfe(e,t,r){this.a=e,this.b=t,this.c=r}function oot(e,t,r){this.a=e,this.b=t,this.c=r}function sot(e,t,r){this.b=e,this.a=t,this.c=r}function rg(e,t,r){this.e=e,this.a=t,this.c=r}function aot(e,t,r){Uc(),Mhe.call(this,e,t,r)}function PV(e,t,r){Uc(),bhe.call(this,e,t,r)}function Efe(e,t,r){Uc(),bhe.call(this,e,t,r)}function Sfe(e,t,r){Uc(),bhe.call(this,e,t,r)}function uot(e,t,r){Uc(),PV.call(this,e,t,r)}function Tfe(e,t,r){Uc(),PV.call(this,e,t,r)}function cot(e,t,r){Uc(),Tfe.call(this,e,t,r)}function lot(e,t,r){Uc(),Efe.call(this,e,t,r)}function dot(e,t,r){Uc(),Sfe.call(this,e,t,r)}function mon(e){return sT(),wn((Iht(),GDt),e)}function BO(e,t){return kn(e),kn(t),new bet(e,t)}function _S(e,t){return kn(e),kn(t),new yot(e,t)}function won(e,t){return kn(e),kn(t),new vot(e,t)}function yon(e,t){return kn(e),kn(t),new xet(e,t)}function Afe(e,t){ien.call(this,e,qj(new Ls(t)))}function fot(e,t){this.c=e,this.b=t,this.a=!1}function _fe(e){this.d=e,VKe(this),this.b=lsn(e.d)}function xfe(e,t,r){this.c=e,t8.call(this,t,r)}function von(e,t,r){dst.call(this,t,r),this.a=e}function hot(){this.a=";,;",this.b="",this.c=""}function pot(e,t,r){this.b=e,Tnt.call(this,t,r)}function Eon(e,t){t&&(e.b=t,e.a=(u1(t),t.a))}function jV(e){return un(e.b!=0),Vc(e,e.a.a)}function Son(e){return un(e.b!=0),Vc(e,e.c.b)}function Ton(e){return!e.c&&(e.c=new NA),e.c}function got(e){var t;return t=new ZG,SK(t,e),t}function UO(e){var t;return t=new Ar,SK(t,e),t}function QA(e){var t;return t=new je,cK(t,e),t}function Aon(e){var t;return t=new hi,cK(t,e),t}function l(e,t){return T3(e==null||vY(e,t)),e}function J8(e,t){return t&&SP(e,t.d)?t:null}function HO(e,t){if(!e)throw Y(new jt(t))}function kfe(e,t){if(!e)throw Y(new wQe(t))}function xS(e,t){if(!e)throw Y(new es(t))}function _on(e,t){return K9(),na(e.d.p,t.d.p)}function xon(e,t){return dp(),yr(e.e.b,t.e.b)}function kon(e,t){return dp(),yr(e.e.a,t.e.a)}function Non(e,t){return na(Cot(e.d),Cot(t.d))}function Con(e,t){return t==(He(),Kt)?e.c:e.d}function Ion(e){return new Me(e.c+e.b,e.d+e.a)}function Nfe(e){var t,r;r=e.d,t=e.a,e.d=t,e.a=r}function Cfe(e){var t,r;t=e.b,r=e.c,e.b=r,e.c=t}function lh(e,t,r,o,a){e.b=t,e.c=r,e.d=o,e.a=a}function Ife(e,t,r,o,a){e.d=t,e.c=r,e.a=o,e.b=a}function bot(e,t,r,o,a){e.c=t,e.d=r,e.b=o,e.a=a}function X8(e,t){return Cfn(e),e.a*=t,e.b*=t,e}function Rfe(e,t){return t<0?e.g=-1:e.g=t,e}function zO(e,t,r){Qle.call(this,e,t),this.c=r}function Ofe(e,t,r){qA.call(this,e,t),this.b=r}function Dfe(e){hfe(),y9.call(this),this._h(e)}function Z8(e,t,r){Qle.call(this,e,t),this.c=r}function mot(e,t,r){this.a=e,Qv.call(this,t,r)}function wot(e,t,r){this.a=e,Qv.call(this,t,r)}function FV(e){this.b=e,this.a=Cb(this.b.a).Md()}function yot(e,t){this.b=e,this.a=t,MG.call(this)}function vot(e,t){this.a=e,this.b=t,MG.call(this)}function Eot(e){Dde.call(this,e.length,0),this.a=e}function Lfe(e,t,r){yme(r,0,e,t,r.length,!1)}function e_(e,t,r){var o;o=new Qw(r),Kl(e,t,o)}function Ron(e,t){var r;return r=e.c,age(e,t),r}function Oon(e,t){return(cgt(e)<<4|cgt(t))&Ei}function Sot(e){return e!=null&&!oY(e,O4,D4)}function GO(e){return e==0||isNaN(e)?e:e<0?-1:1}function Mfe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Gn(e,t){return Wr(e,t,e.c.b,e.c),!0}function Q8(e){var t;return t=e.slice(),rK(t,e)}function eP(e){var t;return t=e.n,e.a.b+t.d+t.a}function Tot(e){var t;return t=e.n,e.e.b+t.d+t.a}function Pfe(e){var t;return t=e.n,e.e.a+t.b+t.c}function Aot(e){return fr(),new dh(0,e)}function _ot(){_ot=K,Bre=(At(),new GG(TQ))}function tP(){tP=K,new V1e((oq(),MQ),(iq(),LQ))}function xot(){h_(),Gsn.call(this,(n1(),Ll))}function kot(e,t){dst.call(this,t,1040),this.a=e}function a0(e,t){return mC(e,new qA(t.a,t.b))}function Don(e){return!fo(e)&&e.c.i.c==e.d.i.c}function Lon(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function Not(e){return e.b.c.length-e.e.c.length}function Cot(e){return e.e.c.length-e.g.c.length}function $V(e){return e.e.c.length+e.g.c.length}function Iot(e){return US(),we(MB,LF,41,e,0,1)}function Rot(){Rot=K,t2e=we(Ti,Pe,15,256,0,1)}function Oot(){this.b=ue(ce(Ge((ed(),see))))}function Mon(e){return gc(),(He(),Wa).Gc(e.j)}function Pon(e,t,r){return dp(),r.e.a+r.f.a+e*t}function jon(e,t,r){return dp(),r.e.b+r.f.b+e*t}function Fon(e,t,r){return Jn(e.b,l(r.b,17),t)}function $on(e,t,r){return Jn(e.b,l(r.b,17),t)}function Bon(e,t){return Fe(e,new Me(t.a,t.b))}function Uon(e,t){uge(e,t==null?null:(Mt(t),t))}function Hon(e,t){lge(e,t==null?null:(Mt(t),t))}function zon(e,t){lge(e,t==null?null:(Mt(t),t))}function jfe(e,t,r,o){F1e.call(this,e,t,r,o,0,0)}function nP(e,t){xO.call(this,e,t),this.a=this}function Dot(e){hfe(),Dfe.call(this,e),this.a=-1}function Lot(){rV.call(this,"COUNT_CHILDREN",0)}function Ffe(e){this.c=e,this.b=this.c.d.vc().Jc()}function Mot(e){return e.e.Pd().gc()*e.c.Pd().gc()}function BV(e,t,r){return new zit(Ksn(e).Ze(),r,t)}function $n(e,t,r){return e.a=-1,Lde(e,t.g,r),e}function $fe(e,t,r){var o;return o=e[t],e[t]=r,o}function Hr(e,t){var r;return r=cW(e,t),r.i=2,r}function rP(e,t){var r;return++e.j,r=e.Aj(t),r}function Gon(e){return e.a?e.a:wW(e)}function T3(e){if(!e)throw Y(new MA(null))}function Bfe(e){if(e.c.e!=e.a)throw Y(new $c)}function Ufe(e){if(e.e.c!=e.b)throw Y(new $c)}function iP(e){for(kn(e);e.Ob();)e.Pb(),e.Qb()}function qon(e){e.a.jd(),l(e.a.kd(),18).gc(),Jce()}function oP(){oP=K,FQ=new DW((At(),At(),Co))}function UV(){UV=K,GEe=new Sle((At(),At(),h$))}function Pot(){Pot=K,ZEe=we(ET,Pe,224,256,0,1)}function jot(){jot=K,e2e=we(mI,Pe,183,128,0,1)}function Fot(){Fot=K,n2e=we(Y0,Pe,192,256,0,1)}function $ot(){$ot=K,o2e=we(J0,Pe,193,256,0,1)}function Hfe(){lh(this,!1,!1,!1,!1)}function zfe(e){lce.call(this,new d1),mo(this,e)}function Kw(e){this.a=new dS(e.gc()),mo(this,e)}function Bot(e){this.c=e,this.a=new fS(this.c.a)}function Et(e,t){_b(),ZW.call(this,e),this.a=t}function ze(e,t){return at(t,e.c.length),e.c[t]}function Uot(e,t){return at(t,e.a.length),e.a[t]}function Hot(e,t){return e.a+=Mf(t,0,t.length),e}function Von(e,t){return e.a==null&&ayt(e),e.a[t]}function Won(e,t,r){return na(t.d[e.g],r.d[e.g])}function Kon(e,t,r){return na(e.d[t.p],e.d[r.p])}function Yon(e,t,r){return na(e.d[t.p],e.d[r.p])}function Jon(e,t,r){return na(e.d[t.p],e.d[r.p])}function Xon(e,t,r){return na(e.d[t.p],e.d[r.p])}function Zon(e,t){return Mt(e),E6(e,(Mt(t),t))}function Qon(e,t){return Mt(t),E6(t,(Mt(e),e))}function zot(e){return e.q?e.q:(At(),At(),xh)}function Got(e){return e.c-l(ze(e.a,e.b),296).b}function qot(e,t){return e?0:b.Math.max(0,t-1)}function sP(e,t,r){return b.Math.min(r/e,1/t)}function Yw(e,t,r,o,a,u){return xbt(e,t,r,o,a,0,u)}function aP(e,t,r,o){Ife(this,e,t,r,o)}function esn(e,t){var r;for(r=0;r<t;++r)e[r]=-1}function Vot(e){var t;return t=kbt(e),t?Vot(t):e}function ec(e){return e.c?e.c.f:e.e.b}function hu(e){return e.c?e.c.g:e.e.a}function uP(e){w0.call(this,e.gc()),ti(this,e)}function Wot(){mn.call(this,"SIMPLE_X_PLACING",0)}function Kot(){mn.call(this,"SIMPLE_Y_PLACING",0)}function Yot(e){this.a=e,this.c=new hn,ipn(this)}function Jot(e){this.b=new Ar,this.a=e,this.c=-1}function dh(e,t){fr(),Km.call(this,e),this.a=t}function cP(e,t){Uc(),k9.call(this,t),this.a=e}function A3(e,t,r){this.a=e,yi.call(this,t,r,2)}function Nb(e,t,r){ry(t,e.c.length),t3(e.c,t,r)}function tsn(e,t){return!e&&(e=[]),e[e.length]=t,e}function HV(e,t,r){Opt(0,t,e.length),g_(e,0,t,r)}function Xot(e,t,r){var o;for(o=0;o<t;++o)e[o]=r}function xr(e,t){var r;return r=ct(e),Fge(r,t),r}function zV(e,t){return ae(t,23)&&fu(e,l(t,23))}function Zot(e,t){return ae(t,23)&&Afn(e,l(t,23))}function ts(e,t){return Bpt(e,t,qln(e,e.b.Ae(t)))}function nsn(e,t){return e.a.get(t)!==void 0}function GV(e,t){return e==null?t==null:wt(e,t)}function rsn(e,t){return e==null?t==null:e7(e,t)}function lP(e,t){return fr(),new she(e,t)}function Dn(e){return gs(e)?e|0:eet(e)}function qV(){qV=K,DDt=new Mi((_n(),zu),0)}function Qot(){Qot=K,$_t=new Eot(we(Ii,Rt,1,0,5,1))}function est(){this.b=new dG,this.c=new Fat(this)}function Gfe(){this.d=new Kh,this.e=new jat(this)}function VV(e,t){this.b=new Ar,this.a=e,this.c=t}function qfe(){Bhe(),this.g=new Ar,this.f=new Ar}function isn(e,t){WV(e,Di(new Me(t.a,t.b),e.c))}function WV(e,t){br(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function dP(e){e.b?dP(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function Vfe(e){return Array.isArray(e)&&e.Rm===fe}function KV(e){return Bu(e,26)*UC+Bu(e,27)*HC}function osn(e,t,r){return pi(e,new hS(t.a,r.a))}function ssn(e,t,r){return-na(e.f[t.p],e.f[r.p])}function fP(e,t,r){var o;e&&(o=e.i,o.c=t,o.b=r)}function hP(e,t,r){var o;e&&(o=e.i,o.d=t,o.a=r)}function Ra(e,t,r){return e.a=-1,Lde(e,t.g+1,r),e}function Wfe(e,t,r){return r=Sc(e,l(t,52),7,r),r}function Kfe(e,t,r){return r=Sc(e,l(t,52),3,r),r}function asn(e,t,r){q0t(r,e,1),Fe(t,new ptt(r,e))}function usn(e,t,r){bC(r,e,1),Fe(t,new vtt(r,e))}function tst(e,t,r){this.a=e,P8.call(this,t,r,22)}function nst(e,t,r){this.a=e,P8.call(this,t,r,14)}function rst(e,t,r,o){Uc(),Kut.call(this,e,t,r,o)}function ist(e,t,r,o){Uc(),Kut.call(this,e,t,r,o)}function csn(e,t){t.Bb&Ws&&!e.a.o&&(e.a.o=t)}function ost(e){return e!=null&&eW(e)&&e.Rm!==fe}function Yfe(e){return!Array.isArray(e)&&e.Rm===fe}function lsn(e){return ae(e,16)?l(e,16).cd():e.Jc()}function Jfe(e){return e.Oc(we(Ii,Rt,1,e.gc(),5,1))}function _3(e,t){return R1n(h6(e,t))?t.wi():null}function Cb(e){return e.c?e.c:e.c=e.Qd()}function YV(e){return e.d?e.d:e.d=e.Rd()}function kS(e){var t;return t=e.i,t||(e.i=e.bc())}function sst(e){var t;return t=e.f,t||(e.f=e.Cc())}function ast(e){return fr(),new _W(10,e,0)}function Ib(e){r1(),this.a=0,this.b=e-1,this.c=1}function ust(e){L8(this),this.g=e,xP(this),this.he()}function cst(){gc(),this.k=new hn,this.d=new hi}function Xfe(e,t,r,o){this.a=e,ej.call(this,e,t,r,o)}function $t(e){this.a=(Qot(),$_t),this.d=l(kn(e),51)}function pP(e){if(e.e.j!=e.d)throw Y(new $c)}function x3(e){return gs(e)?""+e:Zwt(e)}function fh(e,t){return p1(lmt(gs(e)?vl(e):e,t))}function u0(e,t){return p1(Nme(gs(e)?vl(e):e,t))}function Rb(e,t){return p1(Eyn(gs(e)?vl(e):e,t))}function dsn(e,t){return kb((Mt(e),e),(Mt(t),t))}function JV(e,t){return yr((Mt(e),e),(Mt(t),t))}function lst(e,t){return kn(t),e.a.Hd(t)&&!e.b.Hd(t)}function fsn(e,t){return Ua(e.l&t.l,e.m&t.m,e.h&t.h)}function hsn(e,t){return Ua(e.l|t.l,e.m|t.m,e.h|t.h)}function psn(e,t){return Ua(e.l^t.l,e.m^t.m,e.h^t.h)}function Jw(e,t){return L6(e,(Mt(t),new QKe(t)))}function NS(e,t){return L6(e,(Mt(t),new eYe(t)))}function gsn(e,t,r){e.a.Mb(r)&&(e.b=!0,t.Ad(r))}function Zfe(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function t_(e,t){if(e<0||e>=t)throw Y(new wZe)}function Zs(e){e.f=new Fnt(e),e.i=new $nt(e),++e.g}function gP(e){this.b=new Da(11),this.a=(h0(),e)}function XV(e){this.b=null,this.a=(h0(),e||h2e)}function Qfe(e,t){this.e=e,this.d=t&64?t|$f:t}function dst(e,t){this.c=0,this.d=e,this.b=t|64|$f}function fst(e){this.a=A1t(e.a),this.b=new Tu(e.b)}function ig(e,t,r,o){var a;a=e.i,a.i=t,a.a=r,a.b=o}function ehe(e){var t;for(t=e;t.f;)t=t.f;return t}function bsn(e){return e.e?Spe(e.e):null}function msn(e,t){return zS(),yr(t.a.o.a,e.a.o.a)}function hst(e,t,r){return Z_(),kK(e,t)&&kK(e,r)}function k3(e){return xu(),!e.Gc(Rp)&&!e.Gc(K1)}function pst(e,t,r){return WEt(e,l(t,12),l(r,12))}function gst(e){return bu(),l(e,12).g.c.length!=0}function bst(e){return bu(),l(e,12).e.c.length!=0}function bP(e){return new Me(e.c+e.b/2,e.d+e.a/2)}function ZV(e,t){return t.Sh()?w1(e.b,l(t,52)):t}function wsn(e,t,r){t.of(r,ue(ce(Ht(e.b,r)))*e.a)}function ysn(e,t){t.Tg("General 'Rotator",1),Zkn(e)}function Pi(e,t,r,o,a){eK.call(this,e,t,r,o,a,-1)}function N3(e,t,r,o,a){a6.call(this,e,t,r,o,a,-1)}function ke(e,t,r,o){yi.call(this,e,t,r),this.b=o}function mP(e,t,r,o){zO.call(this,e,t,r),this.b=o}function mst(e){hnt.call(this,e,!1),this.a=!1}function wst(){rV.call(this,"LOOKAHEAD_LAYOUT",1)}function yst(){rV.call(this,"LAYOUT_NEXT_LEVEL",3)}function vst(){mn.call(this,"ABSOLUTE_XPLACING",0)}function Est(e){this.b=e,SS.call(this,e),Art(this)}function Sst(e){this.b=e,IO.call(this,e),_rt(this)}function Tst(e,t){this.b=e,EKe.call(this,e.b),this.a=t}function Xw(e,t,r){this.a=e,TS.call(this,t,r,5,6)}function the(e,t,r,o){this.b=e,yi.call(this,t,r,o)}function Ob(e,t,r){jf(),this.e=e,this.d=t,this.a=r}function so(e,t){for(Mt(t);e.Ob();)t.Ad(e.Pb())}function wP(e,t){return fr(),new ghe(e,t,0)}function QV(e,t){return fr(),new ghe(6,e,t)}function vsn(e,t){return wt(e.substr(0,t.length),t)}function ma(e,t){return zi(t)?SW(e,t):!!ts(e.f,t)}function Esn(e){return Ua(~e.l&Hu,~e.m&Hu,~e.h&Ep)}function eW(e){return typeof e===pD||typeof e===KJ}function hh(e){return new $t(new Ade(e.a.length,e.a))}function tW(e){return new Et(null,Csn(e,e.length))}function Ast(e){if(!e)throw Y(new vs);return e.d}function CS(e){var t;return t=Q3(e),un(t!=null),t}function Ssn(e){var t;return t=bgn(e),un(t!=null),t}function n_(e,t){var r;return r=e.a.gc(),vpe(t,r),r-t}function pi(e,t){var r;return r=e.a.yc(t,e),r==null}function qO(e,t){return e.a.yc(t,(Lt(),D1))==null}function Tsn(e,t){return e>0?b.Math.log(e/t):-100}function nhe(e,t){return t?mo(e,t):!1}function IS(e,t,r){return Jl(e.a,t),$fe(e.b,t.g,r)}function Asn(e,t,r){t_(r,e.a.c.length),nc(e.a,r,t)}function ge(e,t,r,o){Opt(t,r,e.length),_sn(e,t,r,o)}function _sn(e,t,r,o){var a;for(a=t;a<r;++a)e[a]=o}function rhe(e,t){var r;for(r=0;r<t;++r)e[r]=!1}function ihe(e,t){if(e==null)throw Y(new uS(t))}function VO(e,t){art(e,ae(t,164)?t:l(t,2015).Pl())}function xsn(e,t,r){rNn(e.a,e.b,e.d,e.c,l(t,171),r)}function pc(e,t,r){return Rpn(e,t.g,r),Jl(e.c,t),e}function ksn(e){return RE(e,(vi(),as)),e.d=!0,e}function nW(e){return!e.j&&$Zt(e,KTn(e.g,e.b)),e.j}function Nsn(e,t,r){var o;return o=ay(e,t),FW(e,t,r),o}function ohe(e,t,r){this.c=e,this.a=t,At(),this.b=r}function rW(e,t){this.d=e,tn.call(this,e),this.e=t}function she(e,t){Km.call(this,1),this.a=e,this.b=t}function C3(e){Hw(e.b!=-1),sg(e.c,e.a=e.b),e.b=-1}function _st(e){e.a=null,e.e=null,Zs(e.b),e.d=0,++e.c}function I3(e){return e.e==0?e:new Ob(-e.e,e.d,e.a)}function Csn(e,t){return vfn(t,e.length),new kot(e,t)}function xst(e,t){return Ea(e,t)<0?-1:Ea(e,t)>0?1:0}function Isn(e,t){return yr(e.c.c+e.c.b,t.c.c+t.c.b)}function yP(e,t){Wr(e.d,t,e.b.b,e.b),++e.a,e.c=null}function kst(e,t){return e.c?kst(e.c,t):Fe(e.b,t),e}function c0(e,t){ei(Oa(e.Mc(),new BBe),new sJe(t))}function r_(e,t,r,o,a){qY(e,l(wr(t.k,r),16),r,o,a)}function Nst(e,t,r,o,a){for(;t<r;)o[a++]=co(e,t++)}function Cst(e,t,r){var o;for(o=0;o<t;++o)ii(e,o,r)}function vP(e){e.s=NaN,e.c=NaN,L0t(e,e.e),L0t(e,e.j)}function iW(e){return b.Math.abs(e.d.e-e.e.e)-e.a}function Rsn(e,t){return yr(e.e.a+e.f.a,t.e.a+t.f.a)}function Osn(e,t){return yr(e.e.b+e.f.b,t.e.b+t.f.b)}function oW(e,t){this.d=mgn(e),this.c=t,this.a=.5*t}function Zw(e){this.d=(Mt(e),e),this.a=0,this.c=wD}function Ist(e){Ohe.call(this),this.a=e,Fe(e.a,this)}function ahe(e){e?Lbe(e,(eg(),Z_t)):pun((eg(),e))}function Dsn(e,t){RS(e,new Qw(t.f!=null?t.f:""+t.g))}function Lsn(e,t){RS(e,new Qw(t.f!=null?t.f:""+t.g))}function ti(e,t){return e.Qi()&&(t=uut(e,t)),e.Di(t)}function sW(e,t){return t=e.Wk(null,t),Gbt(e,null,t)}function Rst(e,t,r){return fr(),new Rut(e,t,r)}function Msn(e,t,r){return l(e.c.fd(t,l(r,138)),45)}function Psn(){return M9(),Z(X(B_t,1),Ce,541,0,[jQ])}function jsn(e){return e==Kr?JD:e==Li?"-INF":""+e}function Fsn(e){return e==Kr?JD:e==Li?"-INF":""+e}function ln(e){return(e.i==null&&Ff(e),e.i).length}function a1(){a1=K,Ut=Rvn(),_t(),wv&&zmn()}function Ost(){Ost=K,V_t=new Zue(!1),W_t=new Zue(!0)}function R3(e){var t;return t=e.g,t||(e.g=new Yue(e))}function EP(e){var t;return t=e.k,t||(e.k=new Jue(e))}function uhe(e){var t;return t=e.k,t||(e.k=new Jue(e))}function $sn(e){var t;return t=e.i,t||(e.i=new mKe(e))}function aW(e){var t;return t=e.j,t||(e.j=new FKe(e))}function Dst(e){var t;return t=e.f,t||(e.f=new vde(e))}function uW(e){var t;return t=e.d,t||(e.d=new BG(e))}function che(e){return ae(e,613)?e:new Xat(e)}function Lst(e,t){return t6(t,e.c.b.c.gc()),new get(e,t)}function lhe(e,t){var r;return r=e.a.gc(),t6(t,r),r-1-t}function k(e,t,r){var o;return o=cW(e,t),Hft(r,o),o}function cW(e,t){var r;return r=new Lge,r.j=e,r.d=t,r}function i_(e,t){return e.a+=String.fromCharCode(t),e}function Db(e,t){return e.a+=String.fromCharCode(t),e}function kn(e){if(e==null)throw Y(new rS);return e}function Qw(e){if(e==null)throw Y(new rS);this.a=e}function Mst(e){Cce(),this.b=new je,this.a=e,tkn(this,e)}function dhe(e){this.b=e,this.a=l(wl(this.b.a.e),229)}function fhe(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function Pst(e){this.b=new je,this.a=new je,this.c=e}function ra(e){this.c=new ro,this.a=new je,this.b=e}function jst(){d1.call(this),this.a=!0,this.b=!0}function hhe(e,t){return Yt(t,e.length+1),e.substr(t)}function ii(e,t,r){return onn(r==null||OAn(e,r)),e[t]=r}function lW(e,t,r){var o;return o=vK(e,t,r),o0e(e,o)}function Fst(e,t){var r;r=console[e],r.call(console,t)}function Ht(e,t){return zi(t)?wa(e,t):Ss(ts(e.f,t))}function $st(e,t){return l(Cb(e.a).Kd().Xb(t),45).jd()}function Bsn(e,t){return l(F(t,(Be(),Yy)),15).a<e}function Usn(e,t){return zS(),l(Wo(e,t.d),16).Ec(t)}function Hsn(e,t,r,o){return r==0||(r-o)/r<e.e||t>=e.g}function O3(e){return b.Math.sqrt(e.a*e.a+e.b*e.b)}function Bst(e){return ae(e,104)&&(l(e,20).Bb&Ws)!=0}function l0(e){return!e.d&&(e.d=new yi(Go,e,1)),e.d}function zsn(e){return!e.a&&(e.a=new yi(Y1,e,4)),e.a}function Ust(e){this.c=e,this.a=new Ar,this.b=new Ar}function Gsn(e){this.a=(Mt(Bn),Bn),this.b=e,new $ce}function Hst(e,t,r){this.a=e,Qhe.call(this,8,t,null,r)}function phe(e,t,r){this.a=e,Ace.call(this,t),this.b=r}function ghe(e,t,r){Km.call(this,e),this.a=t,this.b=r}function bhe(e,t,r){k9.call(this,t),this.a=e,this.b=r}function qsn(e,t,r){l(t.b,68),La(t.a,new wfe(e,r,t))}function dW(e,t){for(Mt(t);e.c<e.d;)e.Qe(t,e.c++)}function Vsn(e,t){++e.j,GY(e,e.i,t),Ovn(e,l(t,345))}function zst(e,t){var r;++e.j,r=e.Cj(),e.pj(e.Xi(r,t))}function RS(e,t){var r;r=e.a.length,ay(e,r),FW(e,r,t)}function d0(e,t){return t_(t,e.a.c.length),ze(e.a,t)}function SP(e,t){return jY(e.c,e.f,t,e.b,e.a,e.e,e.d)}function rp(e,t){return be(e)===be(t)||e!=null&&pr(e,t)}function Gst(e){return wl(e),ae(e,475)?l(e,475):ms(e)}function qst(e){return e?e.dc():!e.Jc().Ob()}function Wsn(e){return vv?SW(vv,e):!1}function Ksn(e){return 0>=e?new ple:Yfn(e-1)}function wl(e){if(e==null)throw Y(new rS);return e}function Mt(e){if(e==null)throw Y(new rS);return e}function ji(e){return!e.a&&e.c?e.c.b:e.a}function Vst(e){var t,r;return t=e.c.i.c,r=e.d.i.c,t==r}function Ysn(e,t){return na(t.j.c.length,e.j.c.length)}function Wst(e){The(e.a),e.b=we(Ii,Rt,1,e.b.length,5,1)}function D3(e){e.c?e.c.Ye():(e.d=!0,B2n(e))}function u1(e){e.c?u1(e.c):(y1(e),e.d=!0)}function Mu(e){Hw(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function Kst(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function Yst(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function ui(){QZe.call(this),Mw(this.j.c,0),this.a=-1}function Jst(){mn.call(this,"DELAUNAY_TRIANGULATION",0)}function mhe(e){for(;e.a.b!=0;)Pkn(e,l(Kat(e.a),9))}function Jsn(e,t){Tn((!e.a&&(e.a=new MO(e,e)),e.a),t)}function whe(e,t){e.c<0||e.b.b<e.c?Eo(e.b,t):e.a.vf(t)}function Xsn(e,t){var r;r=e.Fh(t),r>=0?e.hi(r):lme(e,t)}function Xst(e,t){this.b=e,rW.call(this,e,t),Art(this)}function Zst(e,t){this.b=e,dfe.call(this,e,t),_rt(this)}function Qst(){Ube.call(this,_l,($A(),C3e)),K_n(this)}function yhe(e){return!e.b&&(e.b=new N9(new rq)),e.b}function Zsn(e){if(e.p!=3)throw Y(new lu);return e.e}function Qsn(e){if(e.p!=4)throw Y(new lu);return e.e}function ean(e){if(e.p!=4)throw Y(new lu);return e.j}function tan(e){if(e.p!=3)throw Y(new lu);return e.j}function nan(e){if(e.p!=6)throw Y(new lu);return e.f}function ran(e){if(e.p!=6)throw Y(new lu);return e.k}function f0(e){return e.c==-2&&IZt(e,Cwn(e.g,e.b)),e.c}function o_(e,t){var r;return r=cW("",e),r.n=t,r.i=1,r}function ph(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function ian(e,t){WV(l(t.b,68),e),La(t.a,new bce(e))}function eat(e,t){return tP(),new V1e(new krt(e),new xrt(t))}function oan(e,t,r){return qS(),r.Kg(e,l(t.jd(),149))}function san(e){return wc(e,ZJ),lj(Ao(Ao(5,e),e/10|0))}function vhe(e){return At(),e?e.Me():(h0(),h0(),p2e)}function Jn(e,t,r){return zi(t)?ns(e,t,r):eu(e.f,t,r)}function aan(e){return String.fromCharCode.apply(null,e)}function tat(e){return!e.d&&(e.d=new CA(e.c.Bc())),e.d}function s_(e){return!e.a&&(e.a=new SQe(e.c.vc())),e.a}function nat(e){return!e.b&&(e.b=new PA(e.c.ec())),e.b}function rat(e,t){Ntn.call(this,Jfn(kn(e),kn(t))),this.a=t}function Ehe(e,t,r,o){t0.call(this,e,t),this.d=r,this.a=o}function TP(e,t,r,o){t0.call(this,e,r),this.a=t,this.f=o}function L3(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function iat(){Ube.call(this,lm,(UQe(),wLt)),$xn(this)}function oat(){Es.call(this,"There is no more element.")}function co(e,t){return Yt(t,e.length),e.charCodeAt(t)}function sat(e,t){e.u.Gc((xu(),Rp))&&xvn(e,t),gdn(e,t)}function ia(e,t){return be(e)===be(t)||e!=null&&pr(e,t)}function Wo(e,t){return zV(e.a,t)?e.b[l(t,23).g]:null}function aat(e,t){var r;return r=new ra(e),Ot(t.c,r),r}function M3(e){return e.j.c.length=0,The(e.c),znn(e.a),e}function uan(e){return!e.b&&(e.b=new Tt(pn,e,4,7)),e.b}function a_(e){return!e.c&&(e.c=new Tt(pn,e,5,8)),e.c}function She(e){return!e.c&&(e.c=new ke(Gu,e,9,9)),e.c}function fW(e){return!e.n&&(e.n=new ke(Rs,e,1,7)),e.n}function nr(e,t,r,o){return _ht(e,t,r,!1),Hj(e,o),e}function uat(e,t){tY(e,ue(fp(t,"x")),ue(fp(t,"y")))}function cat(e,t){tY(e,ue(fp(t,"x")),ue(fp(t,"y")))}function can(){return X9(),Z(X(d6t,1),Ce,557,0,[Qne])}function lan(){return Z9(),Z(X(h6t,1),Ce,558,0,[ere])}function dan(){return Q9(),Z(X(g6t,1),Ce,559,0,[tre])}function fan(){return J9(),Z(X(LOt,1),Ce,550,0,[Fne])}function han(){return Y9(),Z(X(uke,1),Ce,480,0,[jne])}function pan(){return JN(),Z(X(Cke,1),Ce,531,0,[ML])}function hW(){hW=K,z_t=new Ele(Z(X(dm,1),tF,45,0,[]))}function gan(e,t){return new Dat(l(kn(e),50),l(kn(t),50))}function ban(e){return e!=null&&VN(EU,e.toLowerCase())}function u_(e){return e.e==jx&&PZt(e,M1n(e.g,e.b)),e.e}function WO(e){return e.f==jx&&FZt(e,Rmn(e.g,e.b)),e.f}function uE(e){var t;return t=e.b,!t&&(e.b=t=new bKe(e)),t}function The(e){var t;for(t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function man(e,t,r){var o;o=l(e.d.Kb(r),163),o&&o.Nb(t)}function wan(e,t){return yr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function yan(e,t){return yr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function van(e,t){return mle(),yr((Mt(e),e),(Mt(t),t))}function Oa(e,t){return y1(e),new Et(e,new Epe(t,e.a))}function lr(e,t){return y1(e),new Et(e,new Lpe(t,e.a))}function ey(e,t){return y1(e),new zde(e,new vlt(t,e.a))}function AP(e,t){return y1(e),new Gde(e,new Elt(t,e.a))}function Ahe(e,t){this.b=e,this.c=t,this.a=new fS(this.b)}function pW(e,t,r,o){this.a=e,this.e=t,this.d=r,this.c=o}function gW(e,t,r){this.a=awe,this.d=e,this.b=t,this.c=r}function _P(e,t,r,o){this.a=e,this.c=t,this.b=r,this.d=o}function _he(e,t,r,o){this.c=e,this.b=t,this.a=r,this.d=o}function lat(e,t,r,o){this.c=e,this.b=t,this.d=r,this.a=o}function dat(e,t,r,o){this.a=e,this.d=t,this.c=r,this.b=o}function ql(e,t,r,o){this.c=e,this.d=t,this.b=r,this.a=o}function OS(e,t,r,o){mn.call(this,e,t),this.a=r,this.b=o}function fat(e,t,r,o){bpt.call(this,e,r,o,!1),this.f=t}function hat(e,t){this.d=(Mt(e),e),this.a=16449,this.c=t}function pat(e){this.a=new je,this.e=we(Rn,Pe,54,e,0,2)}function Ean(e){e.Tg("No crossing minimization",1),e.Ug()}function ip(e){var t,r;return r=(t=new Ym,t),w_(r,e),r}function bW(e){var t,r;return r=(t=new Ym,t),Gbe(r,e),r}function mW(e,t,r){var o,a;return o=K0e(e),a=t.qi(r,o),a}function wW(e){var t;return t=Zfn(e),t||null}function gat(e){return!e.b&&(e.b=new ke(Ir,e,12,3)),e.b}function c_(e){if($u(e.d),e.d.d!=e.c)throw Y(new $c)}function bat(e,t,r,o){this.a=e,this.c=t,this.d=r,this.b=o}function mat(e,t,r,o){this.a=e,this.b=t,this.d=r,this.c=o}function wat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function yat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function Lb(e,t,r,o){this.e=e,this.a=t,this.c=r,this.d=o}function vat(e,t,r,o){Uc(),Slt.call(this,t,r,o),this.a=e}function Eat(e,t,r,o){Uc(),Slt.call(this,t,r,o),this.a=e}function Sat(e,t){this.a=e,Nnn.call(this,e,l(e.d,16).dd(t))}function yW(e){this.f=e,this.c=this.f.e,e.f>0&&ybt(this)}function xP(e){return e.n&&(e.e!==a2t&&e.he(),e.j=null),e}function Tat(e){return T3(e==null||eW(e)&&e.Rm!==fe),e}function San(e,t,r){return Fe(e.a,(NY(t,r),new t0(t,r))),e}function Tan(e,t,r){H_n(e.a,r),Khn(r),lEn(e.b,r),cxn(t,r)}function Aan(e,t){return yr(hu(e)*ec(e),hu(t)*ec(t))}function _an(e,t){return yr(hu(e)*ec(e),hu(t)*ec(t))}function xan(e){hc();var t;t=l(e.g,9),t.n.a=e.d.c+t.d.b}function tc(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function xhe(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function khe(e){return un(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function kan(e){return e.length>0?Wl(e):new je}function Nan(e,t){return l(F(e,(Ie(),RT)),16).Ec(t),t}function Can(e,t){return yt(e,l(F(t,(Be(),Yy)),15),t)}function Ian(e){return R0(e)&&Ye(Ke(ve(e,(Be(),bm))))}function DS(e){var t;return t=e.f,t||(e.f=new HA(e,e.c))}function Ran(e,t,r){return YN(),Hgn(l(Ht(e.e,t),520),r)}function Oan(e,t,r){e.i=0,e.e=0,t!=r&&mpt(e,t,r)}function Dan(e,t,r){e.i=0,e.e=0,t!=r&&wpt(e,t,r)}function Aat(e,t,r,o){this.b=e,this.c=o,I8.call(this,t,r)}function _at(e,t){this.g=e,this.d=Z(X(Nh,1),vg,9,0,[t])}function xat(e,t){e.d&&!e.d.a&&(uZe(e.d,t),xat(e.d,t))}function kat(e,t){e.e&&!e.e.a&&(uZe(e.e,t),kat(e.e,t))}function Nat(e,t){return yE(e.j,t.s,t.c)+yE(t.e,e.s,e.c)}function Lan(e){return l(e.jd(),149).Og()+":"+ms(e.kd())}function Man(e,t){return-yr(hu(e)*ec(e),hu(t)*ec(t))}function Pan(e,t){return rc(e),rc(t),pQe(l(e,23),l(t,23))}function Mb(e,t,r){var o,a;o=NV(r),a=new E9(o),Kl(e,t,a)}function jan(e){F9(),b.setTimeout(function(){throw e},0)}function Cat(e){this.b=new je,li(this.b,this.b),this.a=e}function Iat(e){this.b=new kUe,this.a=e,b.Math.random()}function Nhe(e,t){new Ar,this.a=new Lu,this.b=e,this.c=t}function Rat(e,t,r,o){Qle.call(this,t,r),this.b=e,this.a=o}function vW(e,t,r,o,a,u){a6.call(this,e,t,r,o,a,u?-2:-1)}function Oat(){XY(this,new Vue),this.wb=(a1(),Ut),$A()}function Che(){Che=K,vxt=new wb,Sxt=new Gfe,Ext=new Wp}function At(){At=K,Co=new Le,xh=new xe,h$=new Se}function h0(){h0=K,h2e=new dt,VQ=new dt,p2e=new Ue}function Er(e){return!e.q&&(e.q=new ke(Dl,e,11,10)),e.q}function Ne(e){return!e.s&&(e.s=new ke(au,e,21,17)),e.s}function kP(e){return!e.a&&(e.a=new ke(En,e,10,11)),e.a}function NP(e,t){if(e==null)throw Y(new uS(t));return e}function Dat(e,t){cQt.call(this,new XV(e)),this.a=e,this.b=t}function Ihe(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function Rhe(e){return e&&e.hashCode?e.hashCode():s0(e)}function Fan(e){return new vrt(e,e.e.Pd().gc()*e.c.Pd().gc())}function $an(e){return new Ert(e,e.e.Pd().gc()*e.c.Pd().gc())}function EW(e){return ae(e,18)?new Kw(l(e,18)):Aon(e.Jc())}function CP(e){return At(),ae(e,59)?new pq(e):new $8(e)}function Ban(e){return kn(e),M1t(new $t(qt(e.a.Jc(),new D)))}function SW(e,t){return t==null?!!ts(e.f,null):nsn(e.i,t)}function Uan(e,t){var r;return r=mde(e.a,t),r&&(t.d=null),r}function Lat(e,t,r){return e.f?e.f.cf(t,r):!1}function KO(e,t,r,o){ii(e.c[t.g],r.g,o),ii(e.c[r.g],t.g,o)}function TW(e,t,r,o){ii(e.c[t.g],t.g,r),ii(e.b[t.g],t.g,o)}function Han(e,t,r){return ue(ce(r.a))<=e&&ue(ce(r.b))>=t}function Mat(){this.d=new Ar,this.b=new hn,this.c=new je}function Pat(){this.b=new hi,this.d=new Ar,this.e=new D9}function Ohe(){this.c=new ro,this.d=new ro,this.e=new ro}function p0(){this.a=new Lu,this.b=(wc(3,Iy),new Da(3))}function jat(e){this.c=e,this.b=new Qp(l(kn(new Ow),50))}function Fat(e){this.c=e,this.b=new Qp(l(kn(new lG),50))}function $at(e){this.b=e,this.a=new Qp(l(kn(new pl),50))}function og(e,t){this.e=e,this.a=Ii,this.b=gyt(t),this.c=t}function IP(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function Bat(e,t,r,o,a,u){this.a=e,gK.call(this,t,r,o,a,u)}function Uat(e,t,r,o,a,u){this.a=e,gK.call(this,t,r,o,a,u)}function c1(e,t,r,o,a,u,f){return new UW(e.e,t,r,o,a,u,f)}function zan(e,t,r){return r>=0&&wt(e.substr(r,t.length),t)}function Hat(e,t){return ae(t,149)&&wt(e.b,l(t,149).Og())}function Gan(e,t){return e.a?t.Dh().Jc():l(t.Dh(),72).Gi()}function zat(e,t){var r;return r=e.b.Oc(t),Pct(r,e.b.gc()),r}function YO(e,t){if(e==null)throw Y(new uS(t));return e}function ds(e){return e.u||(Pu(e),e.u=new git(e,e)),e.u}function l_(){l_=K;var e,t;t=!S1n(),e=new Q,UQ=t?new re:e}function Ja(e){var t;return t=l(Vt(e,16),29),t||e.fi()}function RP(e,t){var r;return r=Ab(e.Pm),t==null?r:r+": "+t}function yl(e,t,r){return io(t,r,e.length),e.substr(t,r-t)}function Gat(e,t){G8.call(this),qpe(this),this.a=e,this.c=t}function qat(){rV.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function qan(){return UP(),Z(X(hTe,1),Ce,425,0,[Qee,fTe])}function Van(){return GP(),Z(X(kTe,1),Ce,428,0,[cte,ute])}function Wan(){return g6(),Z(X(p_e,1),Ce,426,0,[Ute,Hte])}function Kan(){return tj(),Z(X(USe,1),Ce,427,0,[BSe,Oee])}function Yan(){return m6(),Z(X(JSe,1),Ce,424,0,[K$,YSe])}function Jan(){return l6(),Z(X(QSe,1),Ce,479,0,[ZSe,J$])}function Xan(){return zd(),Z(X(k4t,1),Ce,512,0,[Em,uf])}function Zan(){return If(),Z(X(_4t,1),Ce,513,0,[aw,kg])}function Qan(){return vd(),Z(X(H4t,1),Ce,519,0,[rv,U1])}function eun(){return H3(),Z(X(w4t,1),Ce,522,0,[QI,ZI])}function tun(){return g0(),Z(X(Y4t,1),Ce,457,0,[H1,u2])}function nun(){return FP(),Z(X(cxe,1),Ce,430,0,[lne,uxe])}function run(){return _j(),Z(X(lxe,1),Ce,490,0,[BB,d2])}function iun(){return rj(),Z(X(fxe,1),Ce,431,0,[dxe,bne])}function oun(){return o6(),Z(X(cke,1),Ce,433,0,[$ne,XB])}function sun(){return KP(),Z(X(tke,1),Ce,481,0,[Dne,eke])}function aun(){return x6(),Z(X(Rke,1),Ce,432,0,[QB,Ike])}function uun(){return w6(),Z(X(m6t,1),Ce,498,0,[rre,nre])}function cun(){return zP(),Z(X(Dke,1),Ce,389,0,[qne,Oke])}function lun(){return cj(),Z(X(k2e,1),Ce,429,0,[iee,w$])}function dun(){return E_(),Z(X(iNt,1),Ce,506,0,[iL,mee])}function OP(e,t,r,o){return r>=0?e.Rh(t,r,o):e.zh(null,r,o)}function JO(e){return e.b.b==0?e.a.uf():jV(e.b)}function fun(e){if(e.p!=5)throw Y(new lu);return Dn(e.f)}function hun(e){if(e.p!=5)throw Y(new lu);return Dn(e.k)}function Dhe(e){return be(e.a)===be((AK(),jre))&&Dxn(e),e.a}function pun(e){e&&RP(e,e.ge())}function Vat(e,t){vZt(this,new Me(e.a,e.b)),EZt(this,UO(t))}function g0(){g0=K,H1=new Ule(hT,0),u2=new Ule(pT,1)}function If(){If=K,aw=new jle(pT,0),kg=new jle(hT,1)}function gun(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=sP(e.c,e.b,e.a))}function bun(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=sP(e.c,e.b,e.a))}function Wat(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Kat(e){return e.b==0?null:(un(e.b!=0),Vc(e,e.a.a))}function wa(e,t){return t==null?Ss(ts(e.f,null)):e3(e.i,t)}function Yat(e,t,r,o,a){return new QY(e,(b_(),JQ),t,r,o,a)}function DP(e,t){return Fct(t),jfn(e,we(Rn,Qn,30,t,15,1),t)}function LP(e,t){return NP(e,"set1"),NP(t,"set2"),new Oet(e,t)}function mun(e,t){var r=BQ[e.charCodeAt(0)];return r??e}function Jat(e,t){var r,o;return r=t,o=new Ft,tEt(e,r,o),o.d}function AW(e,t,r,o){var a;a=new Eit,t.a[r.g]=a,IS(e.b,o,a)}function wun(e,t){var r;return r=Dfn(e.f,t),br(H8(r),e.f.d)}function P3(e){var t;qfn(e.a),Ynt(e.a),t=new A9(e.a),x1e(t)}function yun(e,t){iyt(e,!0),La(e.e.Pf(),new gfe(e,!0,t))}function Xat(e){this.a=l(kn(e),279),this.b=(At(),new Cde(e))}function Zat(e,t,r){this.i=new je,this.b=e,this.g=t,this.a=r}function MP(e,t,r){this.c=new je,this.e=e,this.f=t,this.b=r}function Lhe(e,t,r){this.a=new je,this.e=e,this.f=t,this.c=r}function _W(e,t,r){fr(),Km.call(this,e),this.b=t,this.a=r}function Mhe(e,t,r){Uc(),k9.call(this,t),this.a=e,this.b=r}function Qat(e){G8.call(this),qpe(this),this.a=e,this.c=!0}function b0(){lQt.call(this,new dS(fy(12))),Ede(!0),this.a=2}function zd(){zd=K,Em=new Fle(IX,0),uf=new Fle("UP",1)}function ty(e){return e.Db>>16!=3?null:l(e.Cb,19)}function Gd(e){return e.Db>>16!=9?null:l(e.Cb,19)}function eut(e){return e.Db>>16!=6?null:l(e.Cb,74)}function vun(e){if(e.ye())return null;var t=e.n;return a$[t]}function Eun(e){function t(){}return t.prototype=e||{},new t}function tut(e){var t;return t=new U9(fy(e.length)),Fge(t,e),t}function XO(e,t){var r;r=e.q.getHours(),e.q.setDate(t),OC(e,r)}function Phe(e,t,r){var o;o=e.Fh(t),o>=0?e.$h(o,r):$me(e,t,r)}function cE(e,t,r){PP(),e&&Jn(Lre,e,t),e&&Jn(a5,e,r)}function Sun(e,t){return dp(),l(F(t,(js(),Jf)),15).a==e}function Tun(e,t){return Y8(),Lt(),l(t.b,15).a<e}function Aun(e,t){return Y8(),Lt(),l(t.a,15).a<e}function _un(e,t){return Wht(e,t)?(Vft(e),!0):!1}function op(e,t){if(t==null)throw Y(new rS);return A1n(e,t)}function nut(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function rut(e,t){var r;for(kn(t),r=e.a;r;r=r.c)t.Wd(r.g,r.i)}function iut(e,t){var r;return r=e.Fh(t),r>=0?e.Th(r):oJ(e,t)}function xW(e,t,r){var o;o=hpt(e,t,r),e.b=new Nj(o.c.length)}function out(e){this.a=e,this.b=we(g4t,Pe,2022,e.e.length,0,2)}function sut(){this.a=new uh,this.e=new hi,this.g=0,this.i=0}function aut(e,t){L8(this),this.f=t,this.g=e,xP(this),this.he()}function kW(e,t){return b.Math.abs(e)<b.Math.abs(t)?e:t}function go(e){return Math.max(Math.min(e,sr),-2147483648)|0}function xun(e){return!e.a&&(e.a=new ke(En,e,10,11)),e.a.i>0}function jhe(e){var t;return t=e.d,t=e._i(e.f),Tn(e,t),t.Ob()}function uut(e,t){var r;return r=new zfe(t),Kbt(r,e),new Tu(r)}function kun(e){if(e.p!=0)throw Y(new lu);return f3(e.f,0)}function Nun(e){if(e.p!=0)throw Y(new lu);return f3(e.k,0)}function cut(e){return e.Db>>16!=7?null:l(e.Cb,244)}function d_(e){return e.Db>>16!=6?null:l(e.Cb,244)}function Fhe(e){return e.Db>>16!=7?null:l(e.Cb,176)}function Br(e){return e.Db>>16!=11?null:l(e.Cb,19)}function ny(e){return e.Db>>16!=17?null:l(e.Cb,29)}function lut(e){return e.Db>>16!=3?null:l(e.Cb,159)}function $he(e){var t;return y1(e),t=new hi,lr(e,new sYe(t))}function dut(e,t){var r=e.a=e.a||[];return r[t]||(r[t]=e.te(t))}function Cun(e,t){var r;r=e.q.getHours(),e.q.setMonth(t),OC(e,r)}function bo(e,t){e.c&&Xa(e.c.g,e),e.c=t,e.c&&Fe(e.c.g,e)}function Ji(e,t){e.d&&Xa(e.d.e,e),e.d=t,e.d&&Fe(e.d.e,e)}function Oi(e,t){e.c&&Xa(e.c.a,e),e.c=t,e.c&&Fe(e.c.a,e)}function As(e,t){e.i&&Xa(e.i.j,e),e.i=t,e.i&&Fe(e.i.j,e)}function ns(e,t,r){return t==null?eu(e.f,null,r):_0(e.i,t,r)}function j3(e,t,r,o,a,u){return new cp(e.e,t,e.Jj(),r,o,a,u)}function Iun(e){return GK(),Lt(),l(e.a,84).d.e!=0}function fut(){fut=K,U_t=yn((M9(),Z(X(B_t,1),Ce,541,0,[jQ])))}function hut(){hut=K,JIt=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function put(){put=K,XIt=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function gut(){gut=K,ZIt=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function Bhe(){Bhe=K,QIt=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function but(){but=K,t4t=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function Uhe(){Uhe=K,n4t=Ra(new ui,(Vi(),Ho),(Zi(),xT))}function mut(){mut=K,v4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function gc(){gc=K,T4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function wut(){wut=K,A4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function NW(){NW=K,C4t=$n(new ui,(Vi(),Ho),(Zi(),_I))}function yut(){yut=K,ARt=Ra(new ui,(JS(),t4),(IC(),R_e))}function PP(){PP=K,Lre=new hn,a5=new hn,Men(sxt,new XGe)}function vut(e,t,r){this.a=t,this.c=e,this.b=(kn(r),new Tu(r))}function Eut(e,t,r){this.a=t,this.c=e,this.b=(kn(r),new Tu(r))}function Sut(e,t){this.a=e,this.c=To(this.a),this.b=new IP(t)}function Pb(e,t,r,o){this.c=e,this.d=o,IW(this,t),RW(this,r)}function LS(e){this.c=new Ar,this.b=e.b,this.d=e.c,this.a=e.a}function CW(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function IW(e,t){e.a&&Xa(e.a.k,e),e.a=t,e.a&&Fe(e.a.k,e)}function RW(e,t){e.b&&Xa(e.b.f,e),e.b=t,e.b&&Fe(e.b.f,e)}function Tut(e,t){qsn(e,e.b,e.c),l(e.b.b,68),t&&l(t.b,68).b}function Run(e,t){b1e(e,t),ae(e.Cb,89)&&Sy(Pu(l(e.Cb,89)),2)}function OW(e,t){ae(e.Cb,89)&&Sy(Pu(l(e.Cb,89)),4),Ma(e,t)}function jP(e,t){ae(e.Cb,187)&&(l(e.Cb,187).tb=null),Ma(e,t)}function Aut(e,t){var r;return r=l(py(DS(e.a),t),18),r?r.gc():0}function Oun(e,t){var r,o;r=t.c,o=r!=null,o&&RS(e,new Qw(t.c))}function _ut(e){var t,r;return r=($A(),t=new Ym,t),w_(r,e),r}function xut(e){var t,r;return r=($A(),t=new Ym,t),w_(r,e),r}function kut(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function ya(e,t){return Lo(),uK(t)?new nP(t,e):new xO(t,e)}function Dun(e,t){return yr(l(e.c,65).c.e.b,l(t.c,65).c.e.b)}function Lun(e,t){return yr(l(e.c,65).c.e.a,l(t.c,65).c.e.a)}function Nut(e,t,r){return new QY(e,(b_(),XQ),t,r,null,!1)}function Cut(e,t,r){return new QY(e,(b_(),YQ),null,!1,t,r)}function ZO(e){return jf(),Ea(e,0)>=0?v1(e):I3(v1(ug(e)))}function Mun(){return Yc(),Z(X(ru,1),Ce,132,0,[v2e,nu,E2e])}function Pun(){return Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])}function jun(){return _u(),Z(X(xxt,1),Ce,464,0,[Wf,L1,nd])}function Fun(){return Za(),Z(X(Nxt,1),Ce,465,0,[Nd,M1,rd])}function $un(e,t){grt(e,Dn(Gi(u0(t,24),oF)),Dn(Gi(t,oF)))}function ry(e,t){if(e<0||e>t)throw Y(new Ia(bwe+e+mwe+t))}function at(e,t){if(e<0||e>=t)throw Y(new Ia(bwe+e+mwe+t))}function Yt(e,t){if(e<0||e>=t)throw Y(new Xce(bwe+e+mwe+t))}function St(e,t){this.b=(Mt(e),e),this.a=t&Ry?t:t|64|$f}function Rf(e,t,r){sgt(t,r,e.gc()),this.c=e,this.a=t,this.b=r-t}function Iut(e,t,r){var o;sgt(t,r,e.c.length),o=r-t,cle(e.c,t,o)}function Bun(e,t,r){var o;o=new So(r.d),br(o,e),tY(t,o.a,o.b)}function Hhe(e){var t;return y1(e),t=(h0(),h0(),VQ),dj(e,t)}function lE(e){return YN(),ae(e.g,9)?l(e.g,9):null}function qd(e){return xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a]))}function Uun(){return G3(),Z(X(H2e,1),Ce,385,0,[uee,aee,cee])}function Hun(){return g1(),Z(X(Zee,1),Ce,330,0,[lL,dTe,Gy])}function zun(){return lp(),Z(X(GNt,1),Ce,316,0,[dL,ZE,kT])}function Gun(){return __(),Z(X(Xee,1),Ce,303,0,[Yee,Jee,cL])}function qun(){return mj(),Z(X(VSe,1),Ce,351,0,[qSe,W$,Dee])}function Vun(){return Vb(),Z(X(MNt,1),Ce,452,0,[Uee,Jx,JE])}function Wun(){return jo(),Z(X(zIt,1),Ce,455,0,[YI,Cu,Ba])}function Kun(){return Oj(),Z(X(m_e,1),Ce,382,0,[g_e,zte,b_e])}function Yun(){return nC(),Z(X(w_e,1),Ce,349,0,[qte,Gte,AL])}function Jun(){return R_(),Z(X(v_e,1),Ce,350,0,[Vte,y_e,JI])}function Xun(){return rC(),Z(X(i_e,1),Ce,353,0,[Lte,r_e,_B])}function Zun(){return bj(),Z(X(T_e,1),Ce,352,0,[S_e,Wte,E_e])}function Qun(){return Dj(),Z(X(A_e,1),Ce,383,0,[Kte,uk,nv])}function ecn(){return eC(),Z(X(U_e,1),Ce,386,0,[B_e,Xte,kL])}function tcn(){return R6(),Z(X(gxe,1),Ce,387,0,[UB,hxe,pxe])}function ncn(){return Wj(),Z(X(jxe,1),Ce,388,0,[Pxe,Cne,Mxe])}function rcn(){return T0(),Z(X(Tee,1),Ce,369,0,[Q0,P1,Z0])}function icn(){return Uj(),Z(X(ake,1),Ce,435,0,[oke,ske,Mne])}function ocn(){return ij(),Z(X(ike,1),Ce,434,0,[Lne,rke,nke])}function scn(){return M6(),Z(X(Pne,1),Ce,440,0,[KB,YB,JB])}function acn(){return Zj(),Z(X(Lxe,1),Ce,441,0,[s4,GB,Sne])}function ucn(){return Ij(),Z(X(Dxe,1),Ce,304,0,[Ene,Oxe,Rxe])}function ccn(){return V3(),Z(X(QNe,1),Ce,301,0,[YL,_re,ZNe])}function lcn(){return Kd(),Z(X(MNe,1),Ce,281,0,[yk,fv,vk])}function dcn(){return VS(),Z(X(n3e,1),Ce,283,0,[t3e,pv,gU])}function fcn(){return pp(),Z(X(WNe,1),Ce,348,0,[cU,Ig,T4])}function bc(e){fr(),Km.call(this,e),this.c=!1,this.a=!1}function Rut(e,t,r){Km.call(this,25),this.b=e,this.a=t,this.c=r}function zhe(e,t){uQt.call(this,new dS(fy(e))),wc(t,t2t),this.a=t}function hcn(e,t){var r;return r=(Mt(e),e).g,Mde(!!r),Mt(t),r(t)}function Out(e,t){var r,o;return o=n_(e,t),r=e.a.dd(o),new Iet(e,r)}function pcn(e,t,r){var o;return o=MC(e,t,!1),o.b<=t&&o.a<=r}function Dut(e,t,r){var o;o=new QUe,o.b=t,o.a=r,++t.b,Fe(e.d,o)}function FP(){FP=K,lne=new Hle("DFS",0),uxe=new Hle("BFS",1)}function gcn(e){if(e.p!=2)throw Y(new lu);return Dn(e.f)&Ei}function bcn(e){if(e.p!=2)throw Y(new lu);return Dn(e.k)&Ei}function mcn(e){return e.Db>>16!=6?null:l(uJ(e),244)}function q(e){return un(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function wcn(e){return e.a==(h_(),_U)&&OZt(e,iTn(e.g,e.b)),e.a}function MS(e){return e.d==(h_(),_U)&&LZt(e,n_n(e.g,e.b)),e.d}function DW(e){oP(),this.a=(At(),ae(e,59)?new pq(e):new $8(e))}function jb(e){return kn(e),ae(e,18)?new Tu(l(e,18)):QA(e.Jc())}function Ghe(e,t){return Zot(e.a,t)?$fe(e.b,l(t,23).g,null):null}function Gi(e,t){return p1(fsn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function Of(e,t){return p1(hsn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function LW(e,t){return p1(psn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function ycn(e){return Ao(fh(Gs(Bu(e,32)),32),Gs(Bu(e,32)))}function vcn(e){var t;return t=l(Q8(e.b),10),new Hc(e.a,t,e.c)}function Ecn(e,t){var r;r=ue(ce(e.a.mf((_n(),oU)))),_Et(e,t,r)}function Scn(e,t){return q3(),e.c==t.c?yr(t.d,e.d):yr(e.c,t.c)}function Tcn(e,t){return q3(),e.c==t.c?yr(e.d,t.d):yr(e.c,t.c)}function Acn(e,t){return q3(),e.c==t.c?yr(e.d,t.d):yr(t.c,e.c)}function _cn(e,t){return q3(),e.c==t.c?yr(t.d,e.d):yr(t.c,e.c)}function xcn(e,t){e.b=e.b|t.b,e.c=e.c|t.c,e.d=e.d|t.d,e.a=e.a|t.a}function MW(e,t,r){var o;o=e.d[t.p],e.d[t.p]=e.d[r.p],e.d[r.p]=o}function Lut(e,t){var r,o;return r=iK(t),o=r,l(Ht(e.c,o),15).a}function kcn(e,t){var r,o;return r=q1t(e),o=q1t(t),r<o?-1:r>o?1:0}function Ncn(e,t){var r;r=l(Ht(e.g,t),60),La(t.d,new mtt(e,r))}function Mut(e,t){var r;for(r=e+"";r.length<t;)r="0"+r;return r}function Fb(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function qhe(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function QO(e){return l(Yd(e,we(Nh,vg,9,e.c.length,0,1)),201)}function Vhe(e,t){return e&&e.equals?e.equals(t):be(e)===be(t)}function Whe(e,t){return t==0?!!e.o&&e.o.f!=0:wY(e,t)}function Ccn(e){return!!e.u&&oa(e.u.a).i!=0&&!(e.n&&AY(e.n))}function Icn(e,t,r){var o;e.n&&t&&r&&(o=new HGe,Fe(e.e,o))}function PW(e,t){if(pi(e.a,t),t.d)throw Y(new Es(_2t));t.d=e}function Khe(e,t){this.a=new je,this.d=new je,this.f=e,this.c=t}function Put(){this.c=new irt,this.a=new xlt,this.b=new kZe,Vet()}function jut(){qS(),this.b=new hn,this.a=new hn,this.c=new je}function Fut(e,t,r){this.d=e,this.j=t,this.e=r,this.o=-1,this.p=3}function $ut(e,t,r){this.d=e,this.k=t,this.f=r,this.o=-1,this.p=5}function But(e,t,r,o,a,u){Kpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Uut(e,t,r,o,a,u){Ype.call(this,e,t,r,o,a),u&&(this.o=-2)}function Hut(e,t,r,o,a,u){hpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function zut(e,t,r,o,a,u){Zpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Gut(e,t,r,o,a,u){ppe.call(this,e,t,r,o,a),u&&(this.o=-2)}function qut(e,t,r,o,a,u){Jpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Vut(e,t,r,o,a,u){Xpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Wut(e,t,r,o,a,u){gpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Kut(e,t,r,o){k9.call(this,r),this.b=e,this.c=t,this.d=o}function Yut(e,t){this.f=e,this.a=(h_(),AU),this.c=AU,this.b=t}function Jut(e,t){this.g=e,this.d=(h_(),_U),this.a=_U,this.b=t}function Yhe(e,t){!e.c&&(e.c=new ni(e,0)),K7(e.c,(Tr(),M4),t)}function Rcn(e,t){return LEn(e,t,ae(t,104)&&(l(t,20).Bb&No)!=0)}function Ocn(e,t){return xst(Gs(e.q.getTime()),Gs(t.q.getTime()))}function Xut(e){return BV(e.e.Pd().gc()*e.c.Pd().gc(),16,new yKe(e))}function Dcn(e){return!!e.a&&Fu(e.a.a).i!=0&&!(e.b&&_Y(e.b))}function F3(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function Zut(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function Qut(e){return un(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function ect(e,t){var r;return r=1-t,e.a[r]=Aj(e.a[r],r),Aj(e,t)}function tct(e,t){var r,o;return o=Gi(e,$o),r=fh(t,32),Of(r,o)}function Lcn(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Gc(r)}function nct(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Kc(r)}function rct(e,t,r){var o;o=(kn(e),new Tu(e)),wmn(new vut(o,t,r))}function e6(e,t,r){var o;o=(kn(e),new Tu(e)),ymn(new Eut(o,t,r))}function ict(){ict=K,x_e=eat(Re(1),Re(4)),__e=eat(Re(1),Re(2))}function oct(e){TK.call(this,e,(b_(),KQ),null,!1,null,!1)}function sct(e,t){Ob.call(this,1,2,Z(X(Rn,1),Qn,30,15,[e,t]))}function Xi(e,t){this.a=e,LN.call(this,e),ry(t,e.gc()),this.b=t}function act(e,t){var r;e.e=new zce,r=Ay(t),xi(r,e.c),Vwt(e,r,0)}function Mcn(e,t,r){e.a=t,e.c=r,e.b.a.$b(),tc(e.d),Mw(e.e.a.c,0)}function zr(e,t,r,o){var a;a=new Bue,a.a=t,a.b=r,a.c=o,Gn(e.a,a)}function De(e,t,r,o){var a;a=new Bue,a.a=t,a.b=r,a.c=o,Gn(e.b,a)}function uct(e,t,r,o){return e.a+=""+yl(t==null?tu:ms(t),r,o),e}function Ms(e,t,r,o,a,u){return _ht(e,t,r,u),u1e(e,o),c1e(e,a),e}function Jhe(){var e,t,r;return t=(r=(e=new Ym,e),r),Fe($3e,t),t}function t6(e,t){if(e<0||e>=t)throw Y(new Ia(ovn(e,t)));return e}function cct(e,t,r){if(e<0||t<e||t>r)throw Y(new Ia(xyn(e,t,r)))}function Pcn(e){if(!("stack"in e))try{throw e}catch{}return e}function jcn(e){return uE(e).dc()?!1:(mtn(e,new P),!0)}function $b(e){var t;return gs(e)?(t=e,t==-0?0:t):tfn(e)}function lct(e,t){return ae(t,45)?IY(e.a,l(t,45)):!1}function dct(e,t){return ae(t,45)?IY(e.a,l(t,45)):!1}function fct(e,t){return ae(t,45)?IY(e.a,l(t,45)):!1}function Fcn(e,t){return US(),l(F(t,(js(),c2)),15).a>=e.gc()}function $cn(e){return gc(),!fo(e)&&!(!fo(e)&&e.c.i.c==e.d.i.c)}function Df(e){return l(Yd(e,we(zx,Tx,17,e.c.length,0,1)),324)}function $P(e){return new Da((wc(e,ZJ),lj(Ao(Ao(5,e),e/10|0))))}function Bcn(e,t){return new MV(t,Xrt(To(t.e),e,e),(Lt(),!0))}function Ucn(e){return BV(e.e.Pd().gc()*e.c.Pd().gc(),273,new wKe(e))}function hct(e){return l(Yd(e,we(tNt,Q2t,12,e.c.length,0,1)),2021)}function pct(e){this.a=we(Ii,Rt,1,Pge(b.Math.max(8,e))<<1,5,1)}function Xhe(e){var t;return u1(e),t=new bt,Wv(e.a,new rYe(t)),t}function BP(e){var t;return u1(e),t=new kt,Wv(e.a,new iYe(t)),t}function Hcn(e,t){return e.a<=e.b?(t.Bd(e.a++),!0):!1}function zcn(e,t,r){e.d&&Xa(e.d.e,e),e.d=t,e.d&&Nb(e.d.e,r,e)}function Zhe(e,t,r){this.d=new mJe(this),this.e=e,this.i=t,this.f=r}function UP(){UP=K,Qee=new Lle(px,0),fTe=new Lle("TOP_LEFT",1)}function gct(){gct=K,DOt=yn((Y9(),Z(X(uke,1),Ce,480,0,[jne])))}function bct(){bct=K,MOt=yn((J9(),Z(X(LOt,1),Ce,550,0,[Fne])))}function mct(){mct=K,QOt=yn((JN(),Z(X(Cke,1),Ce,531,0,[ML])))}function wct(){wct=K,f6t=yn((X9(),Z(X(d6t,1),Ce,557,0,[Qne])))}function yct(){yct=K,p6t=yn((Z9(),Z(X(h6t,1),Ce,558,0,[ere])))}function vct(){vct=K,b6t=yn((Q9(),Z(X(g6t,1),Ce,559,0,[tre])))}function Gcn(e){Tgt((!e.a&&(e.a=new ke(En,e,10,11)),e.a),new Lze)}function $3(e,t){JNn(t,e),Cfe(e.d),Cfe(l(F(e,(Be(),wB)),216))}function jW(e,t){XNn(t,e),Nfe(e.d),Nfe(l(F(e,(Be(),wB)),216))}function m0(e,t){var r,o;return r=op(e,t),o=null,r&&(o=r.ne()),o}function B3(e,t){var r,o;return r=op(e,t),o=null,r&&(o=r.qe()),o}function f_(e,t){var r,o;return r=ay(e,t),o=null,r&&(o=r.qe()),o}function sp(e,t){var r,o;return r=op(e,t),o=null,r&&(o=Xbe(r)),o}function qcn(e,t,r){var o;return o=B_(r),H7(e.n,o,t),H7(e.o,t,r),t}function Vcn(e,t,r){var o;o=H1n();try{return $nn(e,t,r)}finally{Vln(o)}}function Ect(e,t,r,o){return ae(r,59)?new $rt(e,t,r,o):new Xfe(e,t,r,o)}function Qhe(e,t,r,o){this.d=e,this.n=t,this.g=r,this.o=o,this.p=-1}function Sct(e,t,r,o){this.e=null,this.c=e,this.d=t,this.a=r,this.b=o}function Tct(e){var t;t=e.Dh(),this.a=ae(t,72)?l(t,72).Gi():t.Jc()}function Wcn(e){return new St(Rfn(l(e.a.kd(),18).gc(),e.a.jd()),16)}function iy(e){return ae(e,18)?l(e,18).dc():!e.Jc().Ob()}function Act(e){if(e.e.g!=e.b)throw Y(new $c);return!!e.c&&e.d>0}function Sn(e){return un(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function epe(e,t){Mt(t),ii(e.a,e.c,t),e.c=e.c+1&e.a.length-1,Z1t(e)}function l1(e,t){Mt(t),e.b=e.b-1&e.a.length-1,ii(e.a,e.b,t),Z1t(e)}function tpe(e,t){var r;return r=l(Wd(e.b,t),66),!r&&(r=new Ar),r}function Kcn(e,t){var r;r=t.a,bo(r,t.c.d),Ji(r,t.d.d),ly(r.a,e.n)}function _ct(e,t){return l(Xu(Jw(l(wr(e.k,t),16).Mc(),WE)),114)}function xct(e,t){return l(Xu(NS(l(wr(e.k,t),16).Mc(),WE)),114)}function Ycn(){return x_(),Z(X(zkt,1),Ce,413,0,[X0,$y,Fy,qE])}function Jcn(){return A0(),Z(X(Qxt,1),Ce,414,0,[eL,QD,nee,ree])}function Xcn(){return b_(),Z(X(p$,1),Ce,310,0,[KQ,YQ,JQ,XQ])}function Zcn(){return YS(),Z(X(V2e,1),Ce,384,0,[TI,q2e,pee,gee])}function Qcn(){return Mj(),Z(X(uNt,1),Ce,368,0,[Eee,U$,H$,oL])}function eln(){return Xl(),Z(X(yNt,1),Ce,418,0,[Hy,qx,Vx,See])}function tln(){return Kb(),Z(X(h4t,1),Ce,409,0,[_L,XI,IB,CB])}function nln(){return wy(),Z(X(Pte,1),Ce,205,0,[xB,Mte,a2,s2])}function rln(){return bp(),Z(X(h_e,1),Ce,270,0,[B1,f_e,$te,Bte])}function iln(){return lC(),Z(X(GSe,1),Ce,302,0,[kI,HSe,aL,zSe])}function oln(){return tC(),Z(X(axe,1),Ce,354,0,[cne,$B,une,ane])}function sln(){return d7(),Z(X(Ixe,1),Ce,355,0,[vne,Nxe,Cxe,kxe])}function aln(){return S7(),Z(X(tOt,1),Ce,406,0,[xne,Tne,_ne,Ane])}function uln(){return JS(),Z(X(C_e,1),Ce,402,0,[LB,e4,t4,n4])}function cln(){return g7(),Z(X(Lke,1),Ce,396,0,[Wne,Kne,Yne,Jne])}function lln(){return O_(),Z(X(LNe,1),Ce,280,0,[zL,uU,ONe,DNe])}function dln(){return gp(),Z(X(Tre,1),Ce,225,0,[Sre,GL,Ek,WT])}function fln(){return vc(),Z(X(fDt,1),Ce,293,0,[VL,Ih,q1,qL])}function hln(){return sc(),Z(X(N4,1),Ce,381,0,[XL,xm,JL,hv])}function pln(){return qP(),Z(X(e5,1),Ce,290,0,[r3e,o3e,kre,i3e])}function gln(){return Kj(),Z(X(c3e,1),Ce,327,0,[Nre,s3e,u3e,a3e])}function bln(){return Pj(),Z(X(IDt,1),Ce,412,0,[Cre,d3e,l3e,f3e])}function mln(e){var t;return e.j==(He(),dn)&&(t=D0t(e),fu(t,Qt))}function kct(e,t){var r;for(r=e.j.c.length;r<t;r++)Fe(e.j,e.Mg())}function Nct(e,t,r,o){var a;return a=o[t.g][r.g],ue(ce(F(e.a,a)))}function wln(e,t,r){var o;return o=B_(r),H7(e.f,o,t),Jn(e.g,t,r),t}function yln(e,t,r){var o;return o=B_(r),H7(e.p,o,t),Jn(e.q,t,r),t}function Cct(e){var t,r;return t=(e1(),r=new OG,r),e&&L7(t,e),t}function npe(e){var t;return t=e.$i(e.i),e.i>0&&ua(e.g,0,t,0,e.i),t}function PS(e){return YN(),ae(e.g,157)?l(e.g,157):null}function vln(e){return PP(),ma(Lre,e)?l(Ht(Lre,e),343).Pg():null}function zc(e,t,r){return t<0?oJ(e,r):l(r,69).uk().zk(e,e.ei(),t)}function Eln(e,t){return yS(new Me(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function Ict(e,t){return be(t)===be(e)?"(this Map)":t==null?tu:ms(t)}function Rct(e,t){e8();var r;return r=l(Ht(vU,e),58),!r||r.dk(t)}function Sln(e){if(e.p!=1)throw Y(new lu);return Dn(e.f)<<24>>24}function Tln(e){if(e.p!=1)throw Y(new lu);return Dn(e.k)<<24>>24}function Aln(e){if(e.p!=7)throw Y(new lu);return Dn(e.k)<<16>>16}function _ln(e){if(e.p!=7)throw Y(new lu);return Dn(e.f)<<16>>16}function dE(e,t){return t.e==0||e.e==0?wI:(Q_(),dJ(e,t))}function xln(e,t,r){if(r){var o=r.me();e.a[t]=o(r)}else delete e.a[t]}function Oct(e,t){var r;return r=new lS,e.Ed(r),r.a+="..",t.Fd(r),r.a}function yd(e){var t;for(t=0;e.Ob();)e.Pb(),t=Ao(t,1);return lj(t)}function kln(e,t,r){var o;o=l(Ht(e.g,r),60),Fe(e.a.c,new ko(t,o))}function Nln(e,t,r,o,a){var u;u=YEn(a,r,o),Fe(t,Xyn(a,u)),Gwn(e,a,t)}function Dct(e,t,r){e.i=0,e.e=0,t!=r&&(wpt(e,t,r),mpt(e,t,r))}function Cln(e){e.a=null,e.e=null,Mw(e.b.c,0),Mw(e.f.c,0),e.c=null}function Iln(e,t){return l(t==null?Ss(ts(e.f,null)):e3(e.i,t),291)}function Rln(e,t,r){return JV(ce(Ss(ts(e.f,t))),ce(Ss(ts(e.f,r))))}function HP(e,t,r){return G7(e,t,r,ae(t,104)&&(l(t,20).Bb&No)!=0)}function Oln(e,t,r){return nx(e,t,r,ae(t,104)&&(l(t,20).Bb&No)!=0)}function Dln(e,t,r){return BEn(e,t,r,ae(t,104)&&(l(t,20).Bb&No)!=0)}function rpe(e,t){return e==(zt(),Xr)&&t==Xr?4:e==Xr||t==Xr?8:32}function Lct(e,t){Ohe.call(this),this.a=e,this.b=t,Fe(this.a.b,this)}function oy(e,t){fr(),Km.call(this,e),this.a=t,this.c=-1,this.b=-1}function ipe(e,t,r,o,a){this.i=e,this.a=t,this.e=r,this.j=o,this.f=a}function ap(e,t){jf(),Ob.call(this,e,1,Z(X(Rn,1),Qn,30,15,[t]))}function gh(e,t){Lo();var r;return r=l(e,69).tk(),ryn(r,t),r.vl(t)}function Mct(e,t){var r;for(r=t;r;)Gw(e,r.i,r.j),r=Br(r);return e}function Pct(e,t){var r;for(r=0;r<t;++r)ii(e,r,new cce(l(e[r],45)))}function ope(e,t){var r;r=e.q.getHours(),e.q.setFullYear(t+k1),OC(e,r)}function jct(e,t){N_();var r;return r=e.j.g-t.j.g,r!=0?r:0}function U3(e){return un(e.a<e.c.a.length),e.b=e.a,oft(e),e.c.b[e.b]}function oa(e){return e.n||(Pu(e),e.n=new tst(e,Go,e),ds(e)),e.n}function Fct(e){if(e<0)throw Y(new yQe("Negative array size: "+e))}function FW(e,t,r){if(r){var o=r.me();r=o(r)}else r=void 0;e.a[t]=r}function Lln(e,t){var r;return r=t!=null?wa(e,t):Ss(ts(e.f,t)),C8(r)}function Mln(e,t){var r;return r=t!=null?wa(e,t):Ss(ts(e.f,t)),C8(r)}function $W(e){return e.c&&e.d?qhe(e.c)+"->"+qhe(e.d):"e_"+s0(e)}function $ct(e){ae(e,209)&&!Ye(Ke(e.mf((_n(),iU))))&&ZAn(l(e,19))}function spe(e){e.b!=e.c&&(e.a=we(Ii,Rt,1,8,5,1),e.b=0,e.c=0)}function Bb(e,t,r){this.e=e,this.a=Ii,this.b=gyt(t),this.c=t,this.d=r}function sy(e,t,r,o){Fut.call(this,1,r,o),this.c=e,this.b=t}function BW(e,t,r,o){$ut.call(this,1,r,o),this.c=e,this.b=t}function UW(e,t,r,o,a,u,f){gK.call(this,t,o,a,u,f),this.c=e,this.a=r}function HW(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function Bct(e){this.c=e,this.a=l(Sl(e),160),this.b=this.a.hk().ti()}function Pln(e,t){return eg(),Tn(Ne(e.a),t)}function jln(e,t){return eg(),Tn(Ne(e.a),t)}function zP(){zP=K,qne=new Kle("STRAIGHT",0),Oke=new Kle("BEND",1)}function H3(){H3=K,QI=new $le("UPPER",0),ZI=new $le("LOWER",1)}function GP(){GP=K,cte=new Mle(_d,0),ute=new Mle("ALTERNATING",1)}function qP(){qP=K,r3e=new Lot,o3e=new wst,kre=new qat,i3e=new yst}function VP(e){var t;return e?new zfe(e):(t=new uh,SK(t,e),t)}function Fln(e,t){var r;for(r=e.d-1;r>=0&&e.a[r]===t[r];r--);return r<0}function $ln(e,t){var r;return Fct(t),r=e.slice(0,t),r.length=t,rK(r,e)}function Au(e,t){var r;return t.b.Kb(Udt(e,t.c.Ve(),(r=new uYe(t),r)))}function WP(e){Mbe(),grt(this,Dn(Gi(u0(e,24),oF)),Dn(Gi(e,oF)))}function Uct(){Uct=K,ckt=yn((cj(),Z(X(k2e,1),Ce,429,0,[iee,w$])))}function Hct(){Hct=K,oNt=yn((E_(),Z(X(iNt,1),Ce,506,0,[iL,mee])))}function zct(){zct=K,LNt=yn((m6(),Z(X(JSe,1),Ce,424,0,[K$,YSe])))}function Gct(){Gct=K,INt=yn((tj(),Z(X(USe,1),Ce,427,0,[BSe,Oee])))}function qct(){qct=K,FNt=yn((l6(),Z(X(QSe,1),Ce,479,0,[ZSe,J$])))}function Vct(){Vct=K,VNt=yn((UP(),Z(X(hTe,1),Ce,425,0,[Qee,fTe])))}function Wct(){Wct=K,YNt=yn((GP(),Z(X(kTe,1),Ce,428,0,[cte,ute])))}function Kct(){Kct=K,HIt=yn((g6(),Z(X(p_e,1),Ce,426,0,[Ute,Hte])))}function Yct(){Yct=K,y4t=yn((H3(),Z(X(w4t,1),Ce,522,0,[QI,ZI])))}function Jct(){Jct=K,x4t=yn((If(),Z(X(_4t,1),Ce,513,0,[aw,kg])))}function Xct(){Xct=K,N4t=yn((zd(),Z(X(k4t,1),Ce,512,0,[Em,uf])))}function Zct(){Zct=K,z4t=yn((vd(),Z(X(H4t,1),Ce,519,0,[rv,U1])))}function Qct(){Qct=K,J4t=yn((g0(),Z(X(Y4t,1),Ce,457,0,[H1,u2])))}function elt(){elt=K,TRt=yn((FP(),Z(X(cxe,1),Ce,430,0,[lne,uxe])))}function tlt(){tlt=K,NRt=yn((_j(),Z(X(lxe,1),Ce,490,0,[BB,d2])))}function nlt(){nlt=K,RRt=yn((rj(),Z(X(fxe,1),Ce,431,0,[dxe,bne])))}function KP(){KP=K,Dne=new qle(Dwe,0),eke=new qle("TARGET_WIDTH",1)}function rlt(){rlt=K,kOt=yn((KP(),Z(X(tke,1),Ce,481,0,[Dne,eke])))}function ilt(){ilt=K,POt=yn((o6(),Z(X(cke,1),Ce,433,0,[$ne,XB])))}function olt(){olt=K,e6t=yn((x6(),Z(X(Rke,1),Ce,432,0,[QB,Ike])))}function slt(){slt=K,t6t=yn((zP(),Z(X(Dke,1),Ce,389,0,[qne,Oke])))}function alt(){alt=K,w6t=yn((w6(),Z(X(m6t,1),Ce,498,0,[rre,nre])))}function Bln(){return vi(),Z(X(E4,1),Ce,87,0,[hf,fs,as,ff,il])}function Uln(){return He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])}function Hln(e){return(e.k==(zt(),Xr)||e.k==mi)&&gr(e,(Ie(),RI))}function zln(e,t,r){return l(t==null?eu(e.f,null,r):_0(e.i,t,r),291)}function ape(e,t,r){e.a.c.length=0,Fxn(e,t,r),e.a.c.length==0||cAn(e,t)}function Wr(e,t,r,o){var a;a=new ht,a.c=t,a.b=r,a.a=o,o.b=r.a=a,++e.b}function upe(e,t){var r,o;for(r=t,o=0;r>0;)o+=e.a[r],r-=r&-r;return o}function ult(e,t){var r;for(r=t;r;)Gw(e,-r.i,-r.j),r=Br(r);return e}function Gln(e,t){var r,o;o=!1;do r=opt(e,t),o=o|r;while(r);return o}function lo(e,t){var r,o;for(Mt(t),o=e.Jc();o.Ob();)r=o.Pb(),t.Ad(r)}function clt(e,t){var r,o;return r=t.jd(),o=e.De(r),!!o&&ia(o.e,t.kd())}function llt(e,t){var r;return r=t.jd(),new t0(r,e.e.pc(r,l(t.kd(),18)))}function qln(e,t){var r;return r=e.a.get(t),r??we(Ii,Rt,1,0,5,1)}function nc(e,t,r){var o;return o=(at(t,e.c.length),e.c[t]),e.c[t]=r,o}function dlt(e,t){this.c=0,this.b=t,Ant.call(this,e,17493),this.a=this.c}function cpe(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function d1(){hn.call(this),Urt(this),this.d.b=this.d,this.d.a=this.d}function zW(e){YP(),!sf&&(this.c=e,this.e=!0,this.a=new je)}function flt(e){HEt(),lZe(this),this.a=new Ar,Gge(this,e),Gn(this.a,e)}function hlt(){lV(this),this.b=new Me(Kr,Kr),this.a=new Me(Li,Li)}function lpe(e){Een.call(this,e==null?tu:ms(e),ae(e,81)?l(e,81):null)}function Vln(e){e&&ufn((Wce(),VEe)),--u$,e&&c$!=-1&&(jen(c$),c$=-1)}function n6(e){e.i=0,hO(e.b,null),hO(e.c,null),e.a=null,e.e=null,++e.g}function YP(){YP=K,sf=!0,hxt=!1,pxt=!1,bxt=!1,gxt=!1}function fo(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function dpe(e,t){return ae(t,144)?wt(e.c,l(t,144).c):!1}function GW(e,t){var r;return r=l(Wd(e.d,t),21),r||l(Wd(e.e,t),21)}function fE(e,t){return(y1(e),BA(new Et(e,new Lpe(t,e.a)))).zd(TT)}function Wln(){return Vi(),Z(X(z2e,1),Ce,364,0,[id,kh,la,da,Ho])}function Kln(){return v7(),Z(X(CRt,1),Ce,365,0,[pne,dne,gne,fne,hne])}function Yln(){return yy(),Z(X(ENt,1),Ce,372,0,[sL,q$,V$,G$,z$])}function Jln(){return xC(),Z(X(IOt,1),Ce,370,0,[f2,BT,f4,d4,LL])}function Xln(){return J6(),Z(X(hke,1),Ce,331,0,[lke,Bne,fke,Une,dke])}function Zln(){return hC(),Z(X(s_e,1),Ce,329,0,[o_e,jte,Fte,VI,WI])}function Qln(){return ic(),Z(X(xTe,1),Ce,166,0,[gL,LI,xp,MI,gm])}function edn(){return Jd(),Z(X(cf,1),Ce,161,0,[xt,ri,Rd,Cg,Np])}function tdn(){return vE(),Z(X(_4,1),Ce,260,0,[V1,WL,KNe,A4,YNe])}function ndn(e){return F9(),function(){return Vcn(e,this,arguments)}}function Pu(e){return e.t||(e.t=new QXe(e),aC(new mQe(e),0,e.t)),e.t}function plt(e){var t;return e.c||(t=e.r,ae(t,89)&&(e.c=l(t,29))),e.c}function rdn(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function qW(e){var t,r,o;return t=e&Hu,r=e>>22&Hu,o=e<0?Ep:0,Ua(t,r,o)}function glt(e){var t;return t=e.length,wt(Bt.substr(Bt.length-t,t),e)}function en(e){if(an(e))return e.c=e.a,e.a.Pb();throw Y(new vs)}function jS(e,t){return t==0||e.e==0?e:t>0?Hgt(e,t):Dwt(e,-t)}function fpe(e,t){return t==0||e.e==0?e:t>0?Dwt(e,t):Hgt(e,-t)}function blt(e){this.b=e,tn.call(this,e),this.a=l(Vt(this.b.a,4),131)}function mlt(e){this.b=e,ES.call(this,e),this.a=l(Vt(this.b.a,4),131)}function Vl(e,t,r,o,a){Tlt.call(this,t,o,a),this.c=e,this.b=r}function hpe(e,t,r,o,a){Fut.call(this,t,o,a),this.c=e,this.a=r}function ppe(e,t,r,o,a){$ut.call(this,t,o,a),this.c=e,this.a=r}function gpe(e,t,r,o,a){Tlt.call(this,t,o,a),this.c=e,this.a=r}function idn(e,t,r){return yr(yS(U_(e),To(t.b)),yS(U_(e),To(r.b)))}function odn(e,t,r){return yr(yS(U_(e),To(t.e)),yS(U_(e),To(r.e)))}function sdn(e,t){return b.Math.min(f1(t.a,e.d.d.c),f1(t.b,e.d.d.c))}function VW(e,t,r){var o;return o=e.Fh(t),o>=0?e.Ih(o,r,!0):O0(e,t,r)}function adn(e,t){var r,o;r=l(qpn(e.c,t),18),r&&(o=r.gc(),r.$b(),e.d-=o)}function wlt(e){var t,r;return t=e.c.i,r=e.d.i,t.k==(zt(),mi)&&r.k==mi}function z3(e){var t,r;++e.j,t=e.g,r=e.i,e.g=null,e.i=0,e.Mi(r,t),e.Li()}function r6(e,t){e.Zi(e.i+1),w3(e,e.i,e.Xi(e.i,t)),e.Ki(e.i++,t),e.Li()}function ylt(e,t,r){var o;o=new gde(e.a),X3(o,e.a.a),eu(o.f,t,r),e.a.a=o}function bpe(e,t,r,o){var a;for(a=0;a<b$;a++)fP(e.a[a][t.g],r,o[t.g])}function mpe(e,t,r,o){var a;for(a=0;a<eee;a++)hP(e.a[t.g][a],r,o[t.g])}function wr(e,t){var r;return r=l(e.c.xc(t),18),!r&&(r=e.ic(t)),e.pc(t,r)}function udn(e){var t;return t=(kn(e),e?new Tu(e):QA(e.Jc())),vC(t),qj(t)}function WW(e){var t;return t=new p0,qs(t,e),Te(t,(Be(),ss),null),t}function Wl(e){var t,r;return kn(e),t=san(e.length),r=new Da(t),Fge(r,e),r}function KW(e,t,r,o){var a;return a=we(Rn,Qn,30,t,15,1),cwn(a,e,t,r,o),a}function sg(e,t){var r;return r=(at(t,e.c.length),e.c[t]),cle(e.c,t,1),r}function wpe(e,t){var r,o;return r=(Mt(e),e),o=(Mt(t),t),r==o?0:r<o?-1:1}function ype(e){var t;return t=e.e+e.f,isNaN(t)&&V8(e.d)?e.d:t}function up(e,t){return e.a?zn(e.a,e.b):e.a=new fc(e.d),p3(e.a,t),e}function vpe(e,t){if(e<0||e>t)throw Y(new Ia(sme(e,t,"index")));return e}function cdn(e,t){var r;r=e.q.getHours()+(t/60|0),e.q.setMinutes(t),OC(e,r)}function FS(e,t){return zi(t)?t==null?Tme(e.f,null):Fht(e.i,t):Tme(e.f,t)}function vlt(e,t){Tnt.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Elt(e,t){Ant.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Epe(e,t){I8.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Slt(e,t,r){k9.call(this,r),this.b=e,this.c=t,this.d=(cY(),$re)}function Tlt(e,t,r){this.d=e,this.k=t?1:0,this.f=r?1:0,this.o=-1,this.p=0}function Alt(e,t,r){this.a=e,this.c=t,this.d=r,Fe(t.e,this),Fe(r.b,this)}function Vd(e){this.c=e,this.a=new V(this.c.a),this.b=new V(this.c.b)}function JP(){this.e=new je,this.c=new je,this.d=new je,this.b=new je}function _lt(){this.g=new Rce,this.b=new Rce,this.a=new je,this.k=new je}function xlt(){this.a=new Mce,this.b=new jZe,this.d=new pG,this.e=new hG}function XP(e,t,r){this.a=e,this.b=t,this.c=r,Fe(e.t,this),Fe(t.i,this)}function i6(){this.b=new Ar,this.a=new Ar,this.b=new Ar,this.a=new Ar}function h_(){h_=K;var e,t;AU=($A(),t=new I9,t),_U=(e=new eq,e)}function ZP(){ZP=K,p4=new cr("org.eclipse.elk.labels.labelManager")}function klt(){klt=K,MSe=new Pr("separateLayerConnections",(Mj(),Eee))}function o6(){o6=K,$ne=new Vle("FIXED",0),XB=new Vle("CENTER_NODE",1)}function vd(){vd=K,rv=new Ble("REGULAR",0),U1=new Ble("CRITICAL",1)}function ldn(e,t){var r;return r=ekn(e,t),e.b=new Nj(r.c.length),wxn(e,r)}function ddn(e,t,r){var o;return++e.e,--e.f,o=l(e.d[t].ed(r),138),o.kd()}function fdn(e){var t,r;return t=e.jd(),r=l(e.kd(),18),BO(r.Lc(),new gKe(t))}function YW(e){var t;return t=e.b,t.b==0?null:l(sa(t,0),65).b}function Spe(e){if(e.a){if(e.e)return Spe(e.e)}else return e;return null}function hdn(e,t){return e.p<t.p?1:e.p>t.p?-1:0}function QP(e,t){return Mt(t),e.c<e.d?(e.Qe(t,e.c++),!0):!1}function Nlt(e,t){return ma(e.a,t)?(FS(e.a,t),!0):!1}function $S(e,t,r){return t6(t,e.e.Pd().gc()),t6(r,e.c.Pd().gc()),e.a[t][r]}function Clt(e){var t;return e.a||(t=e.r,ae(t,160)&&(e.a=l(t,160))),e.a}function Ilt(e){var t;for(u1(e),t=0;e.a.zd(new jc);)t=Ao(t,1);return t}function pdn(e){var t;return y1(e),t=new pot(e,e.a.e,e.a.d|4),new zde(e,t)}function gdn(e,t){var r;e.C&&(r=l(Wo(e.b,t),129).n,r.d=e.C.d,r.a=e.C.a)}function Tpe(e){var t,r,o,a;a=e.d,t=e.a,r=e.b,o=e.c,e.d=r,e.a=o,e.b=a,e.c=t}function Ape(e,t,r){var o,a;for(o=0,a=0;a<t.length;a++)o+=e.sg(t[a],o,r)}function ej(e,t,r,o){this.f=e,this.e=t,this.d=r,this.b=o,this.c=o?o.d:null}function bdn(e,t){t.Tg("Label management",1),C8(F(e,(ZP(),p4))),t.Ug()}function Rlt(){Rlt=K,mxt=yn((Yc(),Z(X(ru,1),Ce,132,0,[v2e,nu,E2e])))}function Olt(){Olt=K,_xt=yn((Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])))}function Dlt(){Dlt=K,kxt=yn((_u(),Z(X(xxt,1),Ce,464,0,[Wf,L1,nd])))}function Llt(){Llt=K,Cxt=yn((Za(),Z(X(Nxt,1),Ce,465,0,[Nd,M1,rd])))}function Mlt(){Mlt=K,Mkt=yn((G3(),Z(X(H2e,1),Ce,385,0,[uee,aee,cee])))}function Plt(){Plt=K,zNt=yn((g1(),Z(X(Zee,1),Ce,330,0,[lL,dTe,Gy])))}function jlt(){jlt=K,qNt=yn((lp(),Z(X(GNt,1),Ce,316,0,[dL,ZE,kT])))}function Flt(){Flt=K,HNt=yn((__(),Z(X(Xee,1),Ce,303,0,[Yee,Jee,cL])))}function $lt(){$lt=K,ONt=yn((mj(),Z(X(VSe,1),Ce,351,0,[qSe,W$,Dee])))}function Blt(){Blt=K,PNt=yn((Vb(),Z(X(MNt,1),Ce,452,0,[Uee,Jx,JE])))}function Ult(){Ult=K,GIt=yn((jo(),Z(X(zIt,1),Ce,455,0,[YI,Cu,Ba])))}function Hlt(){Hlt=K,qIt=yn((Oj(),Z(X(m_e,1),Ce,382,0,[g_e,zte,b_e])))}function zlt(){zlt=K,VIt=yn((nC(),Z(X(w_e,1),Ce,349,0,[qte,Gte,AL])))}function Glt(){Glt=K,WIt=yn((R_(),Z(X(v_e,1),Ce,350,0,[Vte,y_e,JI])))}function qlt(){qlt=K,KIt=yn((bj(),Z(X(T_e,1),Ce,352,0,[S_e,Wte,E_e])))}function Vlt(){Vlt=K,YIt=yn((Dj(),Z(X(A_e,1),Ce,383,0,[Kte,uk,nv])))}function Wlt(){Wlt=K,jIt=yn((rC(),Z(X(i_e,1),Ce,353,0,[Lte,r_e,_B])))}function Klt(){Klt=K,QRt=yn((Ij(),Z(X(Dxe,1),Ce,304,0,[Ene,Oxe,Rxe])))}function Ylt(){Ylt=K,eOt=yn((Zj(),Z(X(Lxe,1),Ce,441,0,[s4,GB,Sne])))}function Jlt(){Jlt=K,OOt=yn((M6(),Z(X(Pne,1),Ce,440,0,[KB,YB,JB])))}function Xlt(){Xlt=K,NOt=yn((ij(),Z(X(ike,1),Ce,434,0,[Lne,rke,nke])))}function Zlt(){Zlt=K,COt=yn((Uj(),Z(X(ake,1),Ce,435,0,[oke,ske,Mne])))}function Qlt(){Qlt=K,kNt=yn((T0(),Z(X(Tee,1),Ce,369,0,[Q0,P1,Z0])))}function edt(){edt=K,Q4t=yn((eC(),Z(X(U_e,1),Ce,386,0,[B_e,Xte,kL])))}function tdt(){tdt=K,ORt=yn((R6(),Z(X(gxe,1),Ce,387,0,[UB,hxe,pxe])))}function ndt(){ndt=K,oOt=yn((Wj(),Z(X(jxe,1),Ce,388,0,[Pxe,Cne,Mxe])))}function rdt(){rdt=K,dDt=yn((pp(),Z(X(WNe,1),Ce,348,0,[cU,Ig,T4])))}function idt(){idt=K,aDt=yn((Kd(),Z(X(MNe,1),Ce,281,0,[yk,fv,vk])))}function odt(){odt=K,xDt=yn((VS(),Z(X(n3e,1),Ce,283,0,[t3e,pv,gU])))}function sdt(){sdt=K,TDt=yn((V3(),Z(X(QNe,1),Ce,301,0,[YL,_re,ZNe])))}function tj(){tj=K,BSe=new Rle("QUADRATIC",0),Oee=new Rle("SCANLINE",1)}function s6(e){return!e.g&&(e.g=new w9),!e.g.c&&(e.g.c=new ZXe(e)),e.g.c}function mdn(e){return!e.g&&(e.g=new w9),!e.g.b&&(e.g.b=new YXe(e)),e.g.b}function wdn(e){return!e.g&&(e.g=new w9),!e.g.d&&(e.g.d=new JXe(e)),e.g.d}function ydn(e){return!e.g&&(e.g=new w9),!e.g.a&&(e.g.a=new XXe(e)),e.g.a}function _pe(e,t){var r,o;return r=t,o=CP(QA(new oK(e,r))),iP(new oK(e,r)),o}function vdn(e,t,r,o){return r&&(o=r.Oh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function Edn(e,t,r,o){return r&&(o=r.Qh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function JW(e,t,r,o){var a;return a=we(Rn,Qn,30,t+1,15,1),GAn(a,e,t,r,o),a}function we(e,t,r,o,a,u){var f;return f=z1t(a,o),a!=10&&Z(X(e,u),t,r,a,f),f}function Sdn(e,t,r){var o,a;for(a=new A_(t,e),o=0;o<r;++o)a7(a);return a}function XW(e,t,r){var o,a;if(r!=null)for(o=0;o<t;++o)a=r[o],e.Oi(o,a)}function xpe(e,t){var r;return r=new Ft,r.c=!0,r.d=t.kd(),tEt(e,t.jd(),r)}function Tdn(e,t){var r;r=e.q.getHours()+(t/3600|0),e.q.setSeconds(t),OC(e,r)}function Gc(e,t){return!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),aY(e.o,t)}function kpe(e,t,r){l(e.b,68),l(e.b,68),l(e.b,68),La(e.a,new Xit(r,t,e))}function Adn(e,t,r,o){Qyt(e,t,r,nx(e,t,o,ae(t,104)&&(l(t,20).Bb&No)!=0))}function io(e,t,r){if(e<0||t>r||t<e)throw Y(new Xce(sF+e+gwe+t+fwe+r))}function adt(e,t,r){this.d=new D9,this.c=new hn,this.a=e,this.e=t,this.c=r}function ZW(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new je)}function QW(e,t){t8.call(this,e,t),this.a=we(U3n,tF,443,2,0,1),this.b=!0}function Npe(e){ypt.call(this,e,0),Urt(this),this.d.b=this.d,this.d.a=this.d}function Cpe(e){this.e=e,this.b=this.e.a.entries(),this.a=we(Ii,Rt,1,0,5,1)}function udt(){udt=K,e4t=Ra($n(new ui,(Vi(),id),(Zi(),wee)),Ho,xT)}function _dn(){return _7(),Z(X(XSe,1),Ce,286,0,[zee,Hee,qee,Gee,Vee,Y$])}function xdn(){return K6(),Z(X(iTe,1),Ce,284,0,[X$,tTe,rTe,eTe,nTe,Wee])}function kdn(){return W_(),Z(X(lTe,1),Ce,285,0,[NI,sTe,cTe,uTe,aTe,oTe])}function Ndn(){return eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])}function Cdn(){return T7(),Z(X(UNe,1),Ce,328,0,[Are,FNe,BNe,PNe,$Ne,jNe])}function Idn(){return Zb(),Z(X(lre,1),Ce,300,0,[cre,w4,m4,ure,g4,b4])}function Rdn(){return mh(),Z(X(zke,1),Ce,259,0,[sre,jL,FL,nU,eU,tU])}function Odn(){return qi(),Z(X(JNe,1),Ce,103,0,[W1,pf,Sk,_m,Oh,fa])}function Ddn(){return xu(),Z(X(lU,1),Ce,282,0,[K1,Rp,KL,k4,x4,KT])}function Ipe(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Ah(),e.a=Nt(t,e.b)),e.a}function Tn(e,t){return e.Qi()&&e.Gc(t)?!1:(e.Fi(t),!0)}function Ed(e,t){return YO(t,"Horizontal alignment cannot be null"),e.b=t,e}function cdt(e,t,r){fr();var o;return o=x1(e,t),r&&o&&Wsn(e)&&(o=null),o}function Rpe(e,t,r){var o;o=e.b[r.c.p][r.p],o.b+=t.b,o.c+=t.c,o.a+=t.a,++o.a}function Ope(e,t,r){var o;e.d[t.g]=r,o=e.g.c,o[t.g]=b.Math.max(o[t.g],r+1)}function f1(e,t){var r,o;return r=e.a-t.a,o=e.b-t.b,b.Math.sqrt(r*r+o*o)}function Dpe(e,t){var r,o;for(o=t.Jc();o.Ob();)r=l(o.Pb(),37),xyt(e,r,0,0)}function ag(e,t,r){var o,a;for(a=e.Jc();a.Ob();)o=l(a.Pb(),37),ex(o,t,r)}function Ldn(e){var t,r;for(r=An(e.a,0);r.b!=r.d.c;)t=l(Sn(r),65),hme(t)}function ldt(e,t){return ttt(e.e,t)||Jb(e.e,t,new h1t(t)),l(Wd(e.e,t),114)}function ju(e,t,r,o){return Mt(e),Mt(t),Mt(r),Mt(o),new ohe(e,t,new Zn)}function pu(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=new the(this,t,r,o)}function eK(e,t,r,o,a,u){Qhe.call(this,t,o,a,u),this.c=e,this.b=r}function a6(e,t,r,o,a,u){Qhe.call(this,t,o,a,u),this.c=e,this.a=r}function u6(e,t){var r,o,a;return a=e.r,o=e.d,r=MC(e,t,!0),r.b!=a||r.a!=o}function c6(e,t,r){var o,a;return a=(o=Y_(e.b,t),o),a?Y7(h6(e,a),r):null}function Mdn(e,t,r){var o,a,u;o=op(e,r),a=null,o&&(a=Xbe(o)),u=a,c1t(t,r,u)}function Pdn(e,t,r){var o,a,u;o=op(e,r),a=null,o&&(a=Xbe(o)),u=a,c1t(t,r,u)}function jdn(e,t){var r;return r=Ht(e.k,t),zme(e,t),yJ(e,t),Dme(e,t,r),null}function p_(e,t){var r;return r=e.Fh(t),r>=0?e.Ih(r,!0,!0):O0(e,t,!0)}function Fdn(e,t){return yr(ue(ce(F(e,(Ie(),nw)))),ue(ce(F(t,nw))))}function Lpe(e,t){I8.call(this,t.xd(),t.wd()&-16449),Mt(e),this.a=e,this.c=t}function Mpe(e,t,r,o,a){ort(this),this.b=e,this.d=t,this.f=r,this.g=o,this.c=a}function Da(e){lV(this),HO(e>=0,"Initial capacity must not be negative")}function BS(e){var t;return kn(e),ae(e,206)?(t=l(e,206),t):new IKe(e)}function $dn(e){for(;!e.a;)if(!$it(e.c,new oYe(e)))return!1;return!0}function Bdn(e){var t;if(!e.a)throw Y(new oat);return t=e.a,e.a=Br(e.a),t}function Udn(e){if(e.b<=0)throw Y(new vs);return--e.b,e.a-=e.c.c,Re(e.a)}function Ppe(e,t){if(e.g==null||t>=e.i)throw Y(new iV(t,e.i));return e.g[t]}function ddt(e,t,r){if(C_(e,r),r!=null&&!e.dk(r))throw Y(new JG);return r}function Hdn(e,t,r){var o;return o=hpt(e,t,r),e.b=new Nj(o.c.length),Xme(e,o)}function fdt(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)oe(e,t);return npe(e)}function zdn(e){nj(),l(e.mf((_n(),cv)),185).Ec((xu(),KL)),e.of(yre,null)}function nj(){nj=K,E6t=new aGe,T6t=new uGe,S6t=rpn((_n(),yre),E6t,G1,T6t)}function hdt(){hdt=K,q7(),W3e=Kr,DLt=Li,K3e=new QR(Kr),LLt=new QR(Li)}function rj(){rj=K,dxe=new Gle("LEAF_NUMBER",0),bne=new Gle("NODE_SIZE",1)}function tK(e){e.a=we(Rn,Qn,30,e.b+1,15,1),e.c=we(Rn,Qn,30,e.b,15,1),e.d=0}function Gdn(e,t){e.a.Le(t.d,e.b)>0&&(Fe(e.c,new Ofe(t.c,t.d,e.d)),e.b=t.d)}function g_(e,t,r,o){var a;o=(h0(),o||h2e),a=e.slice(t,r),ame(a,e,t,r,-t,o)}function qc(e,t,r,o,a){return t<0?O0(e,r,o):l(r,69).uk().wk(e,e.ei(),t,o,a)}function pdt(e,t){var r,o;return o=t/e.c.Pd().gc()|0,r=t%e.c.Pd().gc(),$S(e,o,r)}function jpe(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[0];)r=t;return r}function gdt(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[1];)r=t;return r}function qdn(e){return ae(e,183)?""+l(e,183).a:e==null?null:ms(e)}function Vdn(e){return ae(e,183)?""+l(e,183).a:e==null?null:ms(e)}function bdt(e,t){if(t.a)throw Y(new Es(_2t));pi(e.a,t),t.a=e,!e.j&&(e.j=t)}function _u(){_u=K,Wf=new Nq(hT,0),L1=new Nq(px,1),nd=new Nq(pT,2)}function b_(){b_=K,KQ=new i8("All",0),YQ=new qnt,JQ=new rrt,XQ=new Vnt}function mdt(){mdt=K,dxt=yn((b_(),Z(X(p$,1),Ce,310,0,[KQ,YQ,JQ,XQ])))}function wdt(){wdt=K,ekt=yn((A0(),Z(X(Qxt,1),Ce,414,0,[eL,QD,nee,ree])))}function ydt(){ydt=K,Gkt=yn((x_(),Z(X(zkt,1),Ce,413,0,[X0,$y,Fy,qE])))}function vdt(){vdt=K,Jkt=yn((YS(),Z(X(V2e,1),Ce,384,0,[TI,q2e,pee,gee])))}function Edt(){Edt=K,cNt=yn((Mj(),Z(X(uNt,1),Ce,368,0,[Eee,U$,H$,oL])))}function Sdt(){Sdt=K,vNt=yn((Xl(),Z(X(yNt,1),Ce,418,0,[Hy,qx,Vx,See])))}function Tdt(){Tdt=K,p4t=yn((Kb(),Z(X(h4t,1),Ce,409,0,[_L,XI,IB,CB])))}function Adt(){Adt=K,FIt=yn((wy(),Z(X(Pte,1),Ce,205,0,[xB,Mte,a2,s2])))}function _dt(){_dt=K,UIt=yn((bp(),Z(X(h_e,1),Ce,270,0,[B1,f_e,$te,Bte])))}function xdt(){xdt=K,RNt=yn((lC(),Z(X(GSe,1),Ce,302,0,[kI,HSe,aL,zSe])))}function kdt(){kdt=K,SRt=yn((tC(),Z(X(axe,1),Ce,354,0,[cne,$B,une,ane])))}function Ndt(){Ndt=K,ZRt=yn((d7(),Z(X(Ixe,1),Ce,355,0,[vne,Nxe,Cxe,kxe])))}function Cdt(){Cdt=K,nOt=yn((S7(),Z(X(tOt,1),Ce,406,0,[xne,Tne,_ne,Ane])))}function Idt(){Idt=K,X4t=yn((JS(),Z(X(C_e,1),Ce,402,0,[LB,e4,t4,n4])))}function Rdt(){Rdt=K,r6t=yn((g7(),Z(X(Lke,1),Ce,396,0,[Wne,Kne,Yne,Jne])))}function Odt(){Odt=K,sDt=yn((O_(),Z(X(LNe,1),Ce,280,0,[zL,uU,ONe,DNe])))}function Ddt(){Ddt=K,uDt=yn((gp(),Z(X(Tre,1),Ce,225,0,[Sre,GL,Ek,WT])))}function Ldt(){Ldt=K,hDt=yn((vc(),Z(X(fDt,1),Ce,293,0,[VL,Ih,q1,qL])))}function Mdt(){Mdt=K,kDt=yn((qP(),Z(X(e5,1),Ce,290,0,[r3e,o3e,kre,i3e])))}function Pdt(){Pdt=K,ADt=yn((sc(),Z(X(N4,1),Ce,381,0,[XL,xm,JL,hv])))}function jdt(){jdt=K,NDt=yn((Kj(),Z(X(c3e,1),Ce,327,0,[Nre,s3e,u3e,a3e])))}function Fdt(){Fdt=K,RDt=yn((Pj(),Z(X(IDt,1),Ce,412,0,[Cre,d3e,l3e,f3e])))}function l6(){l6=K,ZSe=new Dle(_d,0),J$=new Dle("IMPROVE_STRAIGHTNESS",1)}function ij(){ij=K,Lne=new Jq(GSt,0),rke=new Jq(nve,1),nke=new Jq(_d,2)}function Fpe(e){var t;if(!wK(e))throw Y(new vs);return e.e=1,t=e.d,e.d=null,t}function ug(e){var t;return gs(e)&&(t=0-e,!isNaN(t))?t:p1(k_(e))}function _s(e,t,r){for(;r<e.c.length;++r)if(ia(t,e.c[r]))return r;return-1}function Xa(e,t){var r;return r=_s(e,t,0),r==-1?!1:(sg(e,r),!0)}function $dt(e,t){var r;return r=l(FS(e.e,t),395),r?(Mfe(r),r.e):null}function Wdn(e,t,r,o,a){return Mt(e),Mt(t),Mt(r),Mt(o),Mt(a),new ohe(e,t,o)}function Bdt(e){Hw(!!e.c),RV(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=xge(e),e.d=e.f.g}function d6(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--l(ze(e.c.a,t),9).p}function nK(e){var t;t=e.hj(),t!=null&&e.d!=-1&&l(t,95).uh(e),e.i&&e.i.mj()}function Kdn(e){var t;return u1(e),t=we(Ki,Jo,30,0,15,1),Wv(e.a,new nYe(t)),t}function Udt(e,t,r){var o;return u1(e),o=new Hi,o.a=t,e.a.Nb(new att(o,r)),o.a}function rK(e,t){return b6(t)!=10&&Z(rc(t),t.Qm,t.__elementTypeId$,b6(t),e),e}function iK(e){var t,r;return r=l(ze(e.j,0),12),t=l(F(r,(Ie(),mr)),12),t}function oK(e,t){var r;this.f=e,this.b=t,r=l(Ht(e.b,t),263),this.c=r?r.b:null}function Hdt(){hc(),this.b=new hn,this.f=new hn,this.g=new hn,this.e=new hn}function oj(e){L8(this),this.g=e?RP(e,e.ge()):null,this.f=e,xP(this),this.he()}function cp(e,t,r,o,a,u,f){gK.call(this,t,o,a,u,f),this.c=e,this.b=r}function f6(e,t){if(t<0)throw Y(new Ia(cTt+t));return kct(e,t+1),ze(e.j,t)}function sj(e,t){return ia(t,ze(e.f,0))||ia(t,ze(e.f,1))||ia(t,ze(e.f,2))}function Ydn(e,t){return new MV(t,Gw(To(t.e),t.f.a+e,t.f.b+e),(Lt(),!1))}function Jdn(e,t){return ZA(),Fe(e,new ko(t,Re(t.e.c.length+t.g.c.length)))}function Xdn(e,t){return ZA(),Fe(e,new ko(t,Re(t.e.c.length+t.g.c.length)))}function $pe(e,t){YN();var r,o;return r=PS(e),o=PS(t),!!r&&!!o&&!w1t(r.k,o.k)}function h6(e,t){var r,o;return r=l(t,687),o=r.ui(),!o&&r.xi(o=new ynt(e,t)),o}function rs(e,t){var r,o;return r=l(t,689),o=r.Yk(),!o&&r.al(o=new Jut(e,t)),o}function p6(e){Pot();var t,r;return t=e+128,r=ZEe[t],!r&&(r=ZEe[t]=new WKe(e)),r}function Fu(e){return e.b||(e.b=new nst(e,Go,e),!e.a&&(e.a=new MO(e,e))),e.b}function zdt(e){return RV(e.d.a.e.g,e.b),un(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function aj(e){var t,r;return r=e.length,t=we(al,Bf,30,r,15,1),Nst(e,0,r,t,0),t}function Gdt(e,t){for(;t[0]<e.length&&Nf(` \r
`,Qa(co(e,t[0])))>=0;)++t[0]}function qdt(e,t){A2e=new Vm,tkt=t,vI=e,l(vI.b,68),kpe(vI,A2e,null),Ovt(vI)}function G3(){G3=K,uee=new Iq("XY",0),aee=new Iq("X",1),cee=new Iq("Y",2)}function Za(){Za=K,Nd=new Cq("TOP",0),M1=new Cq(px,1),rd=new Cq(vwe,2)}function lp(){lp=K,dL=new Pq(_d,0),ZE=new Pq("TOP",1),kT=new Pq(vwe,2)}function g6(){g6=K,Ute=new Ple("INPUT_ORDER",0),Hte=new Ple("PORT_DEGREE",1)}function m_(){m_=K,KEe=Ua(Hu,Hu,524287),Y_t=Ua(0,0,ED),YEe=qW(1),qW(2),JEe=qW(0)}function Bpe(e){var t;return t=HS(Vt(e,32)),t==null&&(Ha(e),t=HS(Vt(e,32))),t}function Upe(e){var t;return e.Lh()||(t=ln(e.Ah())-e.gi(),e.Xh().Kk(t)),e.wh()}function Vdt(e){(this.q?this.q:(At(),At(),xh)).zc(e.q?e.q:(At(),At(),xh))}function Wdt(e,t){va(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Kdt(e,t){gu(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Ydt(e,t){Hb(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Jdt(e,t){Ub(e,t==null||V8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function Zdn(e,t){AS(l(l(e.f,19).mf((_n(),bk)),103))&&Tgt(She(l(e.f,19)),t)}function sK(e,t){var r;return r=Ur(e.d,t),r>=0?s7(e,r,!0,!0):O0(e,t,!0)}function uj(e,t){var r;return r=e.bd(t),r>=0?(e.ed(r),!0):!1}function aK(e,t,r){var o;return o=e.g[t],w3(e,t,e.Xi(t,r)),e.Pi(t,r,o),e.Li(),o}function uK(e){var t;return e.d!=e.r&&(t=Sl(e),e.e=!!t&&t.jk()==YAt,e.d=t),e.e}function cK(e,t){var r;for(kn(e),kn(t),r=!1;t.Ob();)r=r|e.Ec(t.Pb());return r}function bs(e,t){var r,o;return y1(e),o=new Epe(t,e.a),r=new Uit(o),new Et(e,r)}function Wd(e,t){var r;return r=l(Ht(e.e,t),395),r?(prt(e,r),r.e):null}function Qdn(e,t){var r,o,a;a=t.c.i,r=l(Ht(e.f,a),60),o=r.d.c-r.e.c,yge(t.a,o,0)}function bh(e,t,r){var o,a;for(o=10,a=0;a<r-1;a++)t<o&&(e.a+="0"),o*=10;e.a+=t}function Hpe(e,t){var r;for(++e.d,++e.c[t],r=t+1;r<e.a.length;)++e.a[r],r+=r&-r}function lK(e){var t;return t=e.b.c.length==0?null:ze(e.b,0),t!=null&&yK(e,0),t}function efn(e){switch(e.g){case 0:return sr;case 1:return Qi;default:return 0}}function tfn(e){return hbe(e,(m_(),JEe))<0?-ztn(k_(e)):e.l+e.m*fT+e.h*nm}function Xdt(e){var t,r;return t=e/60|0,r=e%60,r==0?""+t:""+t+":"+(""+r)}function ay(e,t){var r=e.a[t],o=(LK(),HQ)[typeof r];return o?o(r):n1e(typeof r)}function nfn(e,t){return ae(t,104)&&l(t,20).Bb&No?new oV(t,e):new A_(t,e)}function rfn(e,t){return ae(t,104)&&l(t,20).Bb&No?new oV(t,e):new A_(t,e)}function ifn(e,t,r){return yS(new Me(r.e.a+r.f.a/2,r.e.b+r.f.b/2),e)==(Mt(t),t)}function zpe(e){if(!e.c)throw Y(new vs);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function Zdt(e){if(!e.e)throw Y(new vs);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function Qdt(e,t,r,o){if(!e)throw Y(new jt(CC(t,Z(X(Ii,1),Rt,1,5,[r,o]))))}function eft(){eft=K,wDt=yn((He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])))}function tft(){tft=K,oDt=yn((vi(),Z(X(E4,1),Ce,87,0,[hf,fs,as,ff,il])))}function nft(){nft=K,$kt=yn((Vi(),Z(X(z2e,1),Ce,364,0,[id,kh,la,da,Ho])))}function q3(){q3=K,Wkt=new oG,Kkt=new s9,qkt=new sG,Vkt=new aG,Ykt=new uG}function cj(){cj=K,iee=new xle("EADES",0),w$=new xle("FRUCHTERMAN_REINGOLD",1)}function rft(e){this.g=e,this.f=new je,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function ift(e,t,r,o){fr(),Km.call(this,26),this.c=e,this.a=t,this.d=r,this.b=o}function ofn(e,t){var r,o;for(o=t.c,r=o+1;r<=t.f;r++)e.a[r]>e.a[o]&&(o=r);return o}function oft(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function sfn(e,t){var r;return r=x0(e.e.c,t.e.c),r==0?yr(e.e.d,t.e.d):r}function sft(e){var t;return t=l(F(e,(Ie(),ew)),318),t?t.a==e:!1}function aft(e){var t;return t=l(F(e,(Ie(),ew)),318),t?t.i==e:!1}function uft(e,t){return t==(IV(),IV(),uxt)?e.toLocaleLowerCase():e.toLowerCase()}function b6(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function afn(e){var t,r;if(e.a){r=null;do t=e.a,e.a=null,r=_mt(t,r);while(e.a);e.a=r}}function ufn(e){var t,r;if(e.b){r=null;do t=e.b,e.b=null,r=_mt(t,r);while(e.b);e.b=r}}function cfn(e,t){var r;for(r=0;e.e!=e.i.gc();)xsn(t,rn(e),Re(r)),r!=sr&&++r}function dK(e,t){var r;return r=l(Ht(e.a,t),151),r||(r=new Q2,Jn(e.a,t,r)),r}function lfn(e,t,r){var o;return o=e.a.e[l(t.a,9).p]-e.a.e[l(r.a,9).p],go(GO(o))}function Nt(e,t){var r;return r=(e.i==null&&Ff(e),e.i),t>=0&&t<r.length?r[t]:null}function Gpe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(np(e),e.o)}function lj(e){return Ea(e,sr)>0?sr:Ea(e,Qi)<0?Qi:Dn(e)}function Kl(e,t,r){var o;if(t==null)throw Y(new rS);return o=op(e,t),xln(e,t,r),o}function cft(e,t){return Mt(t),Zfe(e),e.d.Ob()?(t.Ad(e.d.Pb()),!0):!1}function lft(e){this.b=new je,this.a=new je,this.c=new je,this.d=new je,this.e=e}function dft(e,t,r){G8.call(this),qpe(this),this.a=e,this.c=r,this.b=t.d,this.f=t.e}function dfn(){return zt(),Z(X(bee,1),Ce,252,0,[Xr,gi,mi,_a,ta,af,rL,AI])}function fft(){fft=K,gDt=yn((vE(),Z(X(_4,1),Ce,260,0,[V1,WL,KNe,A4,YNe])))}function hft(){hft=K,A6t=yn((Jd(),Z(X(cf,1),Ce,161,0,[xt,ri,Rd,Cg,Np])))}function pft(){pft=K,SNt=yn((yy(),Z(X(ENt,1),Ce,372,0,[sL,q$,V$,G$,z$])))}function gft(){gft=K,IRt=yn((v7(),Z(X(CRt,1),Ce,365,0,[pne,dne,gne,fne,hne])))}function bft(){bft=K,KNt=yn((ic(),Z(X(xTe,1),Ce,166,0,[gL,LI,xp,MI,gm])))}function mft(){mft=K,$It=yn((hC(),Z(X(s_e,1),Ce,329,0,[o_e,jte,Fte,VI,WI])))}function wft(){wft=K,ROt=yn((xC(),Z(X(IOt,1),Ce,370,0,[f2,BT,f4,d4,LL])))}function yft(){yft=K,jOt=yn((J6(),Z(X(hke,1),Ce,331,0,[lke,Bne,fke,Une,dke])))}function ffn(){return B7(),Z(X($Se,1),Ce,277,0,[_ee,Nee,Aee,Ree,kee,xee,Iee,Cee])}function hfn(){return A1(),Z(X(_6t,1),Ce,287,0,[Bke,Ai,yo,HT,eo,$r,UT,lf])}function pfn(){return sT(),Z(X(s5,1),Ce,235,0,[Dre,yU,o5,i5,Ore,wU,mU,Rre])}function gfn(e,t){return US(),-na(l(F(e,(js(),c2)),15).a,l(F(t,c2),15).a)}function bfn(e,t,r,o){var a;e.j=-1,vme(e,Zbe(e,t,r),(Lo(),a=l(t,69).tk(),a.vl(o)))}function mfn(e,t,r){var o,a;for(a=new V(r);a.a<a.c.c.length;)o=q(a),Ibe(e,t,o)}function is(e){var t,r;r=(t=new tq,t),Tn((!e.q&&(e.q=new ke(Dl,e,11,10)),e.q),r)}function wfn(e,t){var r;return r=t>0?t-1:t,OQe(YQt($ft(Rfe(new sS,r),e.n),e.j),e.k)}function dj(e,t){var r;return y1(e),r=new Aat(e,e.a.xd(),e.a.wd()|4,t),new Et(e,r)}function yfn(e,t){var r,o;return r=l(py(e.d,t),18),r?(o=t,e.e.pc(o,r)):null}function vft(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(M9(),jQ)}function w0(e){if(e<0)throw Y(new jt("Illegal Capacity: "+e));this.g=this.$i(e)}function vfn(e,t){if(0>e||e>t)throw Y(new Zce("fromIndex: 0, toIndex: "+e+fwe+t))}function Eft(e,t){return!!J3(e,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))))}function Efn(e,t){AS(l(F(l(e.e,9),(Be(),Zr)),103))&&(At(),xi(l(e.e,9).j,t))}function Sfn(e){var t;return t=ue(ce(F(e,(Be(),_g)))),t<0&&(t=0,Te(e,_g,t)),t}function fj(e,t){var r,o;for(o=e.Jc();o.Ob();)r=l(o.Pb(),70),Te(r,(Ie(),OT),t)}function Tfn(e,t,r){var o;o=b.Math.max(0,e.b/2-.5),bC(r,o,1),Fe(t,new ftt(r,o))}function Sft(e,t,r,o,a,u){var f;f=WW(o),bo(f,a),Ji(f,u),yt(e.a,o,new K8(f,t,r.f))}function Tft(e,t){Vn(e,(yh(),Nne),t.f),Vn(e,iOt,t.e),Vn(e,kne,t.d),Vn(e,rOt,t.c)}function fK(e){var t;Hw(!!e.c),t=e.c.a,Vc(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function Aft(e){return e.a>=-.01&&e.a<=nf&&(e.a=0),e.b>=-.01&&e.b<=nf&&(e.b=0),e}function hE(e){Z_();var t,r;for(r=ove,t=0;t<e.length;t++)e[t]>r&&(r=e[t]);return r}function _ft(e,t){var r;if(r=iD(e.Ah(),t),!r)throw Y(new jt(R1+t+tQ));return r}function uy(e,t){var r;for(r=e;Br(r);)if(r=Br(r),r==t)return!0;return!1}function Afn(e,t){return t&&e.b[t.g]==t?(ii(e.b,t.g,null),--e.c,!0):!1}function Vc(e,t){var r;return r=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,r}function La(e,t){var r,o,a,u;for(Mt(t),o=e.c,a=0,u=o.length;a<u;++a)r=o[a],t.Ad(r)}function _fn(e,t){var r,o,a;for(o=t.a.jd(),r=l(t.a.kd(),18).gc(),a=0;a<r;a++)e.Ad(o)}function xfn(e){var t,r;for(t=e.a.d.j,r=e.c.d.j;t!=r;)Jl(e.b,t),t=zj(t);Jl(e.b,t)}function kfn(e){var t;for(t=0;t<e.c.length;t++)(at(t,e.c.length),l(e.c[t],12)).p=t}function Nfn(e,t,r){var o,a,u;for(a=t[r],o=0;o<a.length;o++)u=a[o],e.e[u.c.p][u.p]=o}function hK(e,t){var r,o,a,u;for(o=e.d,a=0,u=o.length;a<u;++a)r=o[a],Hd(e.g,r).a=t}function xft(e,t,r){var o,a;o=t;do a=ue(e.p[o.p])+r,e.p[o.p]=a,o=e.a[o.p];while(o!=t)}function Cfn(e){var t;return t=b.Math.sqrt(e.a*e.a+e.b*e.b),t>0&&(e.a/=t,e.b/=t),e}function hj(e){this.b=(kn(e),new Tu(e)),this.a=new je,this.d=new je,this.e=new ro}function qpe(e){e.b=(_u(),L1),e.f=(Za(),M1),e.d=(wc(2,Iy),new Da(2)),e.e=new ro}function kft(){kft=K,b$=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])).length,eee=b$}function Sd(){Sd=K,Bs=new kq("BEGIN",0),$a=new kq(px,1),Us=new kq("END",2)}function Kd(){Kd=K,yk=new Qq(px,0),fv=new Qq("HEAD",1),vk=new Qq("TAIL",2)}function m6(){m6=K,K$=new Ole("READING_DIRECTION",0),YSe=new Ole("ROTATION",1)}function w6(){w6=K,rre=new Yle("DIRECT_ROUTING",0),nre=new Yle("BEND_ROUTING",1)}function US(){US=K,_Rt=Pf(Pf(Pf(ZN(new ui,(JS(),e4)),(IC(),Jte)),D_e),j_e)}function dp(){dp=K,kRt=Pf(Pf(Pf(ZN(new ui,(JS(),n4)),(IC(),M_e)),I_e),L_e)}function pE(e,t){return QQt(Y3(e,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15)))))}function Vpe(e,t){return Ud(),Yl(wg),b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)}function Wpe(e,t){return Ud(),Yl(wg),b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)}function mc(e){var t;return e.w?e.w:(t=mcn(e),t&&!t.Sh()&&(e.w=t),t)}function Ifn(e){var t;return e==null?null:(t=l(e,198),Twn(t,t.length))}function oe(e,t){if(e.g==null||t>=e.i)throw Y(new iV(t,e.i));return e.Ui(t,e.g[t])}function Rfn(e,t){At();var r,o;for(o=new je,r=0;r<e;++r)Ot(o.c,t);return new pq(o)}function Nft(e){return y1(e),xS(!0,"n may not be negative"),new Et(e,new Jft(e.a))}function Ofn(e,t){return S1(),na(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function w_(e,t){var r,o;o=e.a,r=lgn(e,t,null),o!=t&&!e.e&&(r=ox(e,t,r)),r&&r.mj()}function Dfn(e,t){var r;return r=Di(To(l(Ht(e.g,t),8)),fde(l(Ht(e.f,t),463).b)),r}function Cft(e,t,r){var o=function(){return e.apply(o,arguments)};return t.apply(o,r),o}function HS(e){var t;return T3(e==null||Array.isArray(e)&&(t=b6(e),!(t>=14&&t<=16))),e}function Ift(){Ift=K,$Nt=yn((K6(),Z(X(iTe,1),Ce,284,0,[X$,tTe,rTe,eTe,nTe,Wee])))}function Rft(){Rft=K,BNt=yn((W_(),Z(X(lTe,1),Ce,285,0,[NI,sTe,cTe,uTe,aTe,oTe])))}function Oft(){Oft=K,jNt=yn((_7(),Z(X(XSe,1),Ce,286,0,[zee,Hee,qee,Gee,Vee,Y$])))}function Dft(){Dft=K,CNt=yn((eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])))}function Lft(){Lft=K,cDt=yn((T7(),Z(X(UNe,1),Ce,328,0,[Are,FNe,BNe,PNe,$Ne,jNe])))}function Mft(){Mft=K,D6t=yn((Zb(),Z(X(lre,1),Ce,300,0,[cre,w4,m4,ure,g4,b4])))}function Pft(){Pft=K,k6t=yn((mh(),Z(X(zke,1),Ce,259,0,[sre,jL,FL,nU,eU,tU])))}function jft(){jft=K,bDt=yn((qi(),Z(X(JNe,1),Ce,103,0,[W1,pf,Sk,_m,Oh,fa])))}function Fft(){Fft=K,mDt=yn((xu(),Z(X(lU,1),Ce,282,0,[K1,Rp,KL,k4,x4,KT])))}function Lfn(){return Ty(),Z(X(zo,1),Ce,96,0,[ad,Ip,ud,ld,Rh,Il,kc,cd,Cl])}function V3(){V3=K,YL=new tV(aEe,0),_re=new tV("PARENT",1),ZNe=new tV("ROOT",2)}function $ft(e,t){return e.n=t,e.n?(e.f=new je,e.e=new je):(e.f=null,e.e=null),e}function Ub(e,t){var r;r=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,3,r,e.f))}function pj(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,1,r,e.b))}function y0(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,3,r,e.b))}function v0(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,4,r,e.c))}function Hb(e,t){var r;r=e.g,e.g=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,4,r,e.g))}function va(e,t){var r;r=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,5,r,e.i))}function gu(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,6,r,e.j))}function E0(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,1,r,e.j))}function S0(e,t){var r;r=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,2,r,e.k))}function gj(e,t){var r;r=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&hr(e,new sy(e,0,r,e.a))}function cg(e,t){var r;r=e.s,e.s=t,e.Db&4&&!(e.Db&1)&&hr(e,new BW(e,4,r,e.s))}function cy(e,t){var r;r=e.t,e.t=t,e.Db&4&&!(e.Db&1)&&hr(e,new BW(e,5,r,e.t))}function pK(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new BW(e,2,r,e.d))}function y_(e,t){var r;r=e.F,e.F=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,5,r,t))}function y6(e,t){var r;return r=l(Ht((e8(),vU),e),58),r?r.ek(t):we(Ii,Rt,1,t,5,1)}function fp(e,t){var r,o;return r=t in e.a,r&&(o=op(e,t).pe(),o)?o.a:null}function Mfn(e,t){var r,o,a;return r=(o=(e1(),a=new Uue,a),t&&qme(o,t),o),cge(r,e),r}function Bft(e,t,r){var o;return o=B_(r),Jn(e.c,o,t),Jn(e.d,t,r),Jn(e.e,t,ty(t)),t}function fn(e,t,r,o,a,u){var f;return f=cW(e,t),Hft(r,f),f.i=a?8:0,f.f=o,f.e=a,f.g=u,f}function Kpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=1,this.c=e,this.a=r}function Ype(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=2,this.c=e,this.a=r}function Jpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=6,this.c=e,this.a=r}function Xpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=7,this.c=e,this.a=r}function Zpe(e,t,r,o,a){this.d=t,this.j=o,this.e=a,this.o=-1,this.p=4,this.c=e,this.a=r}function Uft(e,t){var r,o,a,u;for(o=t,a=0,u=o.length;a<u;++a)r=o[a],bdt(e.a,r);return e}function Wc(e){var t,r,o,a;for(r=e,o=0,a=r.length;o<a;++o)t=r[o],kn(t);return new Ont(e)}function Qpe(e){var t;return t=Di(To(e.d.d),e.c.d),G_(t,e.c.e.a,e.c.e.b),br(t,e.c.d)}function ege(e){var t;return t=Di(To(e.c.d),e.d.d),G_(t,e.d.e.a,e.d.e.b),br(t,e.d.d)}function Pfn(e){var t=/function(?:\s+([\w$]+))?\s*\(/,r=t.exec(e);return r&&r[1]||QJ}function Hft(e,t){if(e){t.n=e;var r=vun(t);if(!r){a$[e]=[t];return}r.Pm=t}}function jfn(e,t,r){var o,a;return a=e.length,o=b.Math.min(r,a),yme(e,0,t,0,o,!0),t}function zft(e,t,r){if(C_(e,r),!e.il()&&r!=null&&!e.dk(r))throw Y(new JG);return r}function wn(e,t){var r;return Mt(t),r=e[":"+t],HO(!!r,"Enum constant undefined: "+t),r}function Ffn(e,t){var r,o;return r=e.c,o=t.e[e.p],o>0?l(ze(r.a,o-1),9):null}function Yl(e){if(!(e>=0))throw Y(new jt("tolerance ("+e+") must be >= 0"));return e}function W3(){return ire||(ire=new pyt,bE(ire,Z(X(GE,1),Rt,139,0,[new que]))),ire}function bj(){bj=K,S_e=new Hq("NO",0),Wte=new Hq(Dwe,1),E_e=new Hq("LOOK_BACK",2)}function mj(){mj=K,qSe=new Oq("ARD",0),W$=new Oq("MSD",1),Dee=new Oq("MANUAL",2)}function jo(){jo=K,YI=new Fq(qC,0),Cu=new Fq("INPUT",1),Ba=new Fq("OUTPUT",2)}function $fn(){return tD(),Z(X(KSe,1),Ce,268,0,[Pee,WSe,Fee,$ee,jee,Bee,uL,Mee,Lee])}function Bfn(){return rD(),Z(X(n_e,1),Ce,269,0,[Dte,QAe,e_e,Rte,ZAe,t_e,AB,Ite,Ote])}function Ufn(){return Uu(),Z(X(e3e,1),Ce,267,0,[Tk,QL,dU,C4,fU,pU,hU,xre,ZL])}function Ko(e,t,r){return Yb(e,t),Ma(e,r),cg(e,0),cy(e,1),pg(e,!0),hg(e,!0),e}function Gft(e,t){var r;return ae(t,45)?e.c.Kc(t):(r=aY(e,t),Qj(e,t),r)}function K3(e,t){var r,o,a,u;for(o=t,a=0,u=o.length;a<u;++a)r=o[a],Wr(e,r,e.c.b,e.c)}function Hfn(){pet();for(var e=OQ,t=0;t<arguments.length;t++)e.push(arguments[t])}function zfn(e){var t,r,o,a;for(r=e.a,o=0,a=r.length;o<a;++o)t=r[o],Cst(t,t.length,null)}function wj(e){var t,r;for(r=e.c.Bc().Jc();r.Ob();)t=l(r.Pb(),18),t.$b();e.c.$b(),e.d=0}function v6(e,t){var r;if(r=e.gc(),t<0||t>r)throw Y(new Ww(t,r));return new dfe(e,t)}function qft(e,t){var r,o;for(r=0,o=e.gc();r<o;++r)if(ia(t,e.Xb(r)))return r;return-1}function tge(e){var t,r;if(e==0)return 32;for(r=0,t=1;!(t&e);t<<=1)++r;return r}function wc(e,t){if(e<0)throw Y(new jt(t+" cannot be negative but was: "+e));return e}function Gfn(e,t){t.Tg("Hierarchical port constraint processing",1),cbn(e),h3n(e),t.Ug()}function yj(e,t){e.b=b.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),Fe(e.a,t)}function Vft(e){Hw(e.c>=0),k1n(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function qfn(e){var t,r;for(r=new V(Y1t(e));r.a<r.c.c.length;)t=l(q(r),692),t.Zf()}function Vfn(e,t){var r,o,a;a=t.c.i,r=l(Ht(e.f,a),60),o=r.d.c-r.e.c,La(t.b,new iJe(o))}function vj(e,t){return ZQt(J3(e.a,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15)))))}function Wft(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=null,this.c=new Pit(this,t,r,o)}function gK(e,t,r,o,a){this.d=e,this.n=t,this.g=r,this.o=o,this.p=-1,a||(this.o=-2-o-1)}function Kft(){_de.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Tl}function Yft(e){ble(),this.g=new hn,this.f=new hn,this.b=new hn,this.c=new b0,this.i=e}function nge(){this.f=new ro,this.d=new jce,this.c=new ro,this.a=new je,this.b=new je}function Jft(e){I8.call(this,e.yd(64)?lde(0,El(e.xd(),1)):wD,e.wd()),this.b=1,this.a=e}function Wfn(e,t){return US(),l(F(t,(js(),c2)),15).a<e.gc()&&l(F(t,c2),15).a>=0}function rge(){rge=K,r4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function Xft(){Xft=K,i4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function ige(){ige=K,o4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function Zft(){Zft=K,s4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function Qft(){Qft=K,a4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function eht(){eht=K,u4t=$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)}function tht(){tht=K,d4t=Ra($n($n(new ui,(Vi(),la),(Zi(),D$)),da,N$),Ho,O$)}function nht(){nht=K,J_t=Z(X(Rn,1),Qn,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function oge(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,r,e.b))}function sge(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.c))}function bK(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,r,e.c))}function age(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.c))}function uge(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.d))}function v_(e,t){var r;r=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,2,r,e.k))}function mK(e,t){var r;r=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,2,r,e.D))}function Ej(e,t){var r;r=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,8,r,e.f))}function Sj(e,t){var r;r=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,7,r,e.i))}function cge(e,t){var r;r=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,8,r,e.a))}function lge(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,r,e.b))}function Kfn(e,t,r){var o;e.b=t,e.a=r,o=(e.a&512)==512?new JZe:new Gue,e.c=LSn(o,e.b,e.a)}function rht(e,t){return wp(e.e,t)?(Lo(),uK(t)?new nP(t,e):new xO(t,e)):new wnt(t,e)}function Yfn(e){var t,r;return 0>e?new ple:(t=e+1,r=new dlt(t,e),new Gde(null,r))}function Jfn(e,t){At();var r;return r=new dS(1),zi(e)?ns(r,e,t):eu(r.f,e,t),new VG(r)}function Xfn(e,t){var r;r=new Vm,l(t.b,68),l(t.b,68),l(t.b,68),La(t.a,new yfe(e,r,t))}function iht(e,t){var r;return ae(t,8)?(r=l(t,8),e.a==r.a&&e.b==r.b):!1}function Zfn(e){var t;return t=F(e,(Ie(),mr)),ae(t,176)?kgt(l(t,176)):null}function oht(e){var t;return e=b.Math.max(e,2),t=Pge(e),e>t?(t<<=1,t>0?t:BC):t}function wK(e){switch(Sde(e.e!=3),e.e){case 2:return!1;case 0:return!0}return rdn(e)}function dge(e){var t;return e.b==null?(tg(),tg(),l5):(t=e.sl()?e.rl():e.ql(),t)}function sht(e,t){var r,o;for(o=t.vc().Jc();o.Ob();)r=l(o.Pb(),45),V6(e,r.jd(),r.kd())}function fge(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,11,r,e.d))}function Tj(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,13,r,e.j))}function hge(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,21,r,e.b))}function pge(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&e.g!=0&&pge(e.i,t/e.r*e.i.d))}function gE(e){var t;return RV(e.f.g,e.d),un(e.b),e.c=e.a,t=l(e.a.Pb(),45),e.b=xge(e),t}function aht(e,t){var r;return r=t==null?-1:_s(e.b,t,0),r<0?!1:(yK(e,r),!0)}function Jl(e,t){var r;return Mt(t),r=t.g,e.b[r]?!1:(ii(e.b,r,t),++e.c,!0)}function Aj(e,t){var r,o;return r=1-t,o=e.a[r],e.a[r]=o.a[t],o.a[t]=e,e.b=!0,o.b=!1,o}function yK(e,t){var r;r=sg(e.b,e.b.c.length-1),t<e.b.c.length&&(nc(e.b,t,r),qmt(e,t))}function Qfn(e,t){(YP(),sf?null:t.c).length==0&&uit(t,new vr),ns(e.a,sf?null:t.c,t)}function uht(e,t,r){var o,a,u;for(u=e.a.length-1,a=e.b,o=0;o<r;a=a+1&u,++o)ii(t,o,e.a[a])}function ehn(e,t){typeof window===pD&&typeof window.$gwt===pD&&(window.$gwt[e]=t)}function thn(e,t){ei(lr(new Et(null,new St(new Xh(e.b),1)),new Utt(e,t)),new ztt(e,t))}function h1(){h1=K,_T=new cr(xwe),E$=new cr(V2t),SI=new cr(W2t),tL=new cr(K2t)}function E_(){E_=K,iL=new Ile("TO_INTERNAL_LTR",0),mee=new Ile("TO_INPUT_DIRECTION",1)}function _j(){_j=K,BB=new zle("P1_NODE_PLACEMENT",0),d2=new zle("P2_EDGE_ROUTING",1)}function T0(){T0=K,Q0=new Rq("START",0),P1=new Rq("MIDDLE",1),Z0=new Rq("END",2)}function cht(e,t,r){Zhe.call(this,e,t,r),this.a=new hn,this.b=new hn,this.d=new _Je(this)}function lht(e){Gfe.call(this),this.b=ue(ce(F(e,(Be(),od)))),this.a=l(F(e,kp),225)}function nhn(e,t){var r,o;return r=l(F(e,(Be(),Zy)),8),o=l(F(t,Zy),8),yr(r.b,o.b)}function rhn(e,t){var r,o;o=new je,r=t;do Ot(o.c,r),r=l(Ht(e.k,r),17);while(r);return o}function vK(e,t,r){var o;return o=new je,Kme(e,t,o,r,!0,!0),e.b=new Nj(o.c.length),o}function dht(e,t){var r;return r=l(Ht(e.c,t),459),r||(r=new CZe,r.c=t,Jn(e.c,r.c,r)),r}function EK(e,t){var r=e.a,o=0;for(var a in r)r.hasOwnProperty(a)&&(t[o++]=a);return t}function gge(e){var t,r;for(r=new tn(e);r.e!=r.i.gc();)t=l(rn(r),19),va(t,0),gu(t,0)}function fht(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),gZt(t,new fst(t.f))}function bge(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),bZt(t,new rmt(t.e))}function zb(e,t){var r,o;for(r=e.Nc(),g_(r,0,r.length,t),o=0;o<r.length;o++)e.fd(o,r[o])}function Ma(e,t){var r;r=e.zb,e.zb=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,r,e.zb))}function Jr(e,t){var r,o;r=(o=new eq,o),r.n=t,Tn((!e.s&&(e.s=new ke(au,e,21,17)),e.s),r)}function Lr(e,t){var r,o;o=(r=new Hde,r),o.n=t,Tn((!e.s&&(e.s=new ke(au,e,21,17)),e.s),o)}function SK(e,t){var r;return ae(t,18)?(r=l(t,18),e.Fc(r)):cK(e,l(kn(t),22).Jc())}function xj(e,t){var r;r=e.xb,e.xb=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,r,e.xb))}function kj(e,t){var r;r=e.yb,e.yb=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,2,r,e.yb))}function ihn(e,t){t.Tg(cSt,1),ei(bs(new Et(null,new St(e.b,16)),new xG),new f9),t.Ug()}function Rr(e){return zi(e)?lg(e):Uw(e)?mS(e):Bw(e)?cit(e):Yfe(e)?e.Hb():Vfe(e)?s0(e):Rhe(e)}function mo(e,t){var r,o,a;for(Mt(t),r=!1,a=t.Jc();a.Ob();)o=a.Pb(),r=r|e.Ec(o);return r}function hht(e){var t,r,o;for(t=0,o=e.Jc();o.Ob();)r=o.Pb(),t+=r!=null?Rr(r):0,t=~~t;return t}function pht(e){var t;return e==0?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+Xdt(e))}function mge(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=ZO(Gs(e.f))),e.c).e}function ght(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function oi(e,t,r,o,a,u,f,p,m,y,v,T,N){return $mt(e,t,r,o,a,u,f,p,m,y,v,T,N),eY(e,!1),e}function TK(e,t,r,o,a,u){var f;this.c=e,f=new je,Q1e(e,f,t,e.b,r,o,a,u),this.a=new Xi(f,0)}function bht(){this.c=new H9(0),this.b=new H9(ive),this.d=new H9(LSt),this.a=new H9(MSt)}function mht(e){this.e=e,this.d=new U9(fy(kS(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function Nj(e){this.b=e,this.a=we(Rn,Qn,30,e+1,15,1),this.c=we(Rn,Qn,30,e,15,1),this.d=0}function ohn(){return _1(),Z(X(d_e,1),Ce,246,0,[kB,SL,TL,u_e,c_e,a_e,l_e,NB,ak,KI])}function shn(){return Fo(),Z(X(Kee,1),Ce,262,0,[Z$,rl,CI,Q$,Qx,XE,II,Xx,Zx,eB])}function wht(e,t){return ue(ce(Xu(L6(Oa(new Et(null,new St(e.c.b,16)),new fJe(e)),t))))}function wge(e,t){return ue(ce(Xu(L6(Oa(new Et(null,new St(e.c.b,16)),new dJe(e)),t))))}function yht(e,t){return Ud(),Yl(nf),b.Math.abs(0-t)<=nf||t==0||isNaN(0)&&isNaN(t)?0:e/t}function ahn(e,t){return x_(),e==X0&&t==$y||e==$y&&t==X0||e==qE&&t==Fy||e==Fy&&t==qE}function uhn(e,t){return x_(),e==X0&&t==Fy||e==X0&&t==qE||e==$y&&t==qE||e==$y&&t==Fy}function chn(e,t,r){var o,a,u;for(o=0,a=0;a<r;a++)u=t[a],e[a]=u<<1|o,o=u>>>31;o!=0&&(e[r]=o)}function yge(e,t,r){var o,a;for(a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),8),o.a+=t,o.b+=r;return e}function Y3(e,t,r){var o;for(o=e.b[r&e.f];o;o=o.b)if(r==o.a&&rp(t,o.g))return o;return null}function J3(e,t,r){var o;for(o=e.c[r&e.f];o;o=o.d)if(r==o.f&&rp(t,o.i))return o;return null}function lhn(e,t){var r,o;return r=l(ve(e,(T1(),HB)),15),o=l(ve(t,HB),15),na(r.a,o.a)}function dhn(e,t){var r;t.Tg("General Compactor",1),r=a1n(l(ve(e,(T1(),wne)),387)),r.Bg(e)}function fhn(e,t,r){r.Tg("DFS Treeifying phase",1),w1n(e,t),nSn(e,t),e.a=null,e.b=null,r.Ug()}function hhn(e,t,r,o){var a;a=new aS,Mb(a,"x",w7(e,t,o.a)),Mb(a,"y",y7(e,t,o.b)),RS(r,a)}function phn(e,t,r,o){var a;a=new aS,Mb(a,"x",w7(e,t,o.a)),Mb(a,"y",y7(e,t,o.b)),RS(r,a)}function AK(){AK=K,L4=new qZe,jre=Z(X(au,1),UE,182,0,[]),dLt=Z(X(Dl,1),CEe,62,0,[])}function zS(){zS=K,vee=new Pr("edgelabelcenterednessanalysis.includelabel",(Lt(),D1))}function bu(){bu=K,Z2e=new mG,J2e=new wG,X2e=new yG,Y2e=new vG,Q2e=new EG,eSe=new DN}function ghn(e,t){t.Tg(cSt,1),x1e(fen(new A9((KN(),new pW(e,!1,!1,new c9))))),t.Ug()}function _K(e){var t;return t=Xhe(e),d3(t.a,0)?(jw(),jw(),WQ):(jw(),new vV(t.b))}function xK(e){var t;return t=Xhe(e),d3(t.a,0)?(jw(),jw(),WQ):(jw(),new vV(t.c))}function bhn(e){var t;return t=BP(e),d3(t.a,0)?(V9(),V9(),cxt):(V9(),new Wrt(t.b))}function mhn(e){return e.b.c.i.k==(zt(),mi)?l(F(e.b.c.i,(Ie(),mr)),12):e.b.c}function vht(e){return e.b.d.i.k==(zt(),mi)?l(F(e.b.d.i,(Ie(),mr)),12):e.b.d}function Eht(e){switch(e.g){case 2:return He(),Kt;case 4:return He(),Qt;default:return e}}function Sht(e){switch(e.g){case 1:return He(),dn;case 3:return He(),Wt;default:return e}}function whn(e,t){var r;return r=jbe(e),pme(new Me(r.c,r.d),new Me(r.b,r.a),e.Kf(),t,e.$f())}function yhn(e){var t,r,o;for(o=0,r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),26),t.p=o,++o}function X3(e,t){var r,o;for(Mt(t),o=t.vc().Jc();o.Ob();)r=l(o.Pb(),45),e.yc(r.jd(),r.kd())}function vhn(e,t,r){var o;for(o=r.Jc();o.Ob();)if(!HP(e,t,o.Pb()))return!1;return!0}function Ehn(e,t){var r;for(kn(t);e.Ob();)if(r=e.Pb(),!_ge(l(r,9)))return!1;return!0}function Shn(e,t,r,o,a){var u;return r&&(u=Ur(t.Ah(),e.c),a=r.Oh(t,-1-(u==-1?o:u),null,a)),a}function Thn(e,t,r,o,a){var u;return r&&(u=Ur(t.Ah(),e.c),a=r.Qh(t,-1-(u==-1?o:u),null,a)),a}function Tht(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 Ahn(e){if(Mt(e),e.length==0)throw Y(new kf("Zero length BigInteger"));XTn(this,e)}function vge(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function Aht(e,t,r){this.g=e,this.d=t,this.e=r,this.a=new je,pvn(this),At(),xi(this.a,null)}function Kc(e,t,r,o,a,u,f){mn.call(this,e,t),this.d=r,this.e=o,this.c=a,this.b=u,this.a=Wl(f)}function Ege(e,t){t.q=e,e.d=b.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),Fe(e.a,t)}function kK(e,t){var r,o,a,u;return a=e.c,r=e.c+e.b,u=e.d,o=e.d+e.a,t.a>a&&t.a<r&&t.b>u&&t.b<o}function ly(e,t){var r,o;for(o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a+=t.a,r.b+=t.b;return e}function _hn(e,t){return t<e.b.gc()?l(e.b.Xb(t),9):t==e.b.gc()?e.a:l(ze(e.e,t-e.b.gc()-1),9)}function E6(e,t){return Lt(),zi(e)?wpe(e,In(t)):Uw(e)?JV(e,ce(t)):Bw(e)?dsn(e,Ke(t)):e.Dd(t)}function Cj(e,t){var r;ae(t,93)?(l(e.c,78).Ek(),r=l(t,93),sht(e,r)):l(e.c,78).Wb(t)}function _ht(e,t,r,o){ae(e.Cb,187)&&(l(e.Cb,187).tb=null),Ma(e,r),t&&Ivn(e,t),o&&e.el(!0)}function S6(e,t){var r,o;for(Mt(t),o=e.vc().Jc();o.Ob();)r=l(o.Pb(),45),t.Wd(r.jd(),r.kd())}function xhn(e){var t,r,o;return e.j==(He(),Wt)&&(t=D0t(e),r=fu(t,Qt),o=fu(t,Kt),o||o&&r)}function Sge(){Sge=K,f4t=Pf(_nt($n($n(new ui,(Vi(),la),(Zi(),D$)),da,N$),Ho),O$)}function xht(){xht=K,b4t=Pf(_nt($n($n(new ui,(Vi(),la),(Zi(),D$)),da,N$),Ho),O$)}function kht(){kht=K,eNt=yn((zt(),Z(X(bee,1),Ce,252,0,[Xr,gi,mi,_a,ta,af,rL,AI])))}function Nht(){Nht=K,NNt=yn((B7(),Z(X($Se,1),Ce,277,0,[_ee,Nee,Aee,Ree,kee,xee,Iee,Cee])))}function Cht(){Cht=K,x6t=yn((A1(),Z(X(_6t,1),Ce,287,0,[Bke,Ai,yo,HT,eo,$r,UT,lf])))}function Iht(){Iht=K,GDt=yn((sT(),Z(X(s5,1),Ce,235,0,[Dre,yU,o5,i5,Ore,wU,mU,Rre])))}function Rht(){return IC(),Z(X(nCn,1),Ce,265,0,[Jte,D_e,j_e,F_e,P_e,O_e,$_e,I_e,M_e,L_e,R_e])}function Ij(){Ij=K,Ene=new Wq(_d,0),Oxe=new Wq("POLAR_COORDINATE",1),Rxe=new Wq("ID",2)}function S_(){S_=K,EI=new Pr("debugSVG",(Lt(),!1)),_2e=new Pr("overlapsExisted",!0)}function khn(){var e;return ZQ||(ZQ=new yZe,e=new zW(""),ltn(e,(GA(),y2e)),Qfn(ZQ,e)),ZQ}function Oht(e){return qw(),e.A.Gc((sc(),hv))&&!e.B.Gc((Uu(),QL))?Ogt(e):null}function Dht(e,t){var r;return r=u0e(W3(),e),r?(Vn(t,(_n(),lv),r),!0):!1}function yc(e,t){var r;for(r=0;r<t.j.c.length;r++)l(f6(e,r),24).Fc(l(f6(t,r),18));return e}function Nhn(e,t){var r,o;for(o=new V(t.b);o.a<o.c.c.length;)r=l(q(o),26),e.a[r.p]=Bwn(r)}function dy(e){this.f=e,this.e=new cpe(this.f.i),this.a=this.e,this.b=xge(this),this.d=this.f.g}function ni(e,t){Z8.call(this,fLt,e,t),this.b=this,this.a=za(e.Ah(),Nt(this.e.Ah(),this.c))}function Lht(){this.a=l(Ge((ed(),y$)),15).a,this.c=ue(ce(Ge(v$))),this.b=ue(ce(Ge(oee)))}function Mht(e,t){e.a=Ao(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d=Ao(e.d,t)}function NK(e,t,r,o){var a;a=e.a.length,r>a?r=a:Yt(t,r+1),e.a=yl(e.a,0,t)+(""+o)+hhe(e.a,r)}function Gb(e,t,r){var o,a;return a=l(S3(e.d,t),15),o=l(S3(e.b,r),15),!a||!o?null:$S(e,a.a,o.a)}function Chn(e,t,r){return yr(yS(U_(e),new Me(t.e.a,t.e.b)),yS(U_(e),new Me(r.e.a,r.e.b)))}function Ihn(e,t,r){return e==(Kb(),IB)?new FUe:Bu(t,1)!=0?new rle(r.length):new kQe(r.length)}function hr(e,t){var r,o,a;if(r=e.qh(),r!=null&&e.th())for(o=0,a=r.length;o<a;++o)r[o].bj(t)}function T_(e,t){var r,o;for(r=e,o=ji(r).e;o;){if(r=o,r==t)return!0;o=ji(r).e}return!1}function p1(e){var t;return t=e.h,t==0?e.l+e.m*fT:t==Ep?e.l+e.m*fT-nm:e}function Rhn(e,t,r){var o,a;return o=e.a.f[t.p],a=e.a.f[r.p],o<a?-1:o==a?0:1}function fy(e){return e<3?(wc(e,o2t),e+1):e<BC?go(b.Math.ceil(e/.75)):sr}function Gs(e){return SD<e&&e<nm?e<0?b.Math.ceil(e):b.Math.floor(e):p1($2n(e))}function Pht(e){switch(e.a.g){case 1:return new Wtt;case 3:return new X1t;default:return new YWe}}function Vt(e,t){var r;return e.Db&t?(r=DY(e,t),r==-1?e.Eb:HS(e.Eb)[r]):null}function Ohn(e){var t;if(e.a==e.b.a)throw Y(new vs);return t=e.a,e.c=t,e.a=l(wl(e.a.e),229),t}function jht(e){var t;e.d==null?(++e.e,e.f=0,Jpt(null)):(++e.e,t=e.d,e.d=null,e.f=0,Jpt(t))}function Dhn(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),70),Fe(e.d,r),Uwn(e,r)}function Lhn(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)r=l(rn(o),19),Bc(r,r.i+t.b,r.j+t.d)}function Ps(e,t){var r,o;return r=(o=new Wue,o),r.G=t,!e.rb&&(e.rb=new Xw(e,Ld,e)),Tn(e.rb,r),r}function rr(e,t){var r,o;return r=(o=new I9,o),r.G=t,!e.rb&&(e.rb=new Xw(e,Ld,e)),Tn(e.rb,r),r}function T6(e){var t,r,o;for(o=0,r=new fS(e.a);r.a<r.c.a.length;)t=U3(r),e.b.Gc(t)&&++o;return o}function Mhn(e){var t,r,o;for(t=1,o=e.Jc();o.Ob();)r=o.Pb(),t=31*t+(r==null?0:Rr(r)),t=~~t;return t}function A6(e){var t;return e<128?(jot(),t=e2e[e],!t&&(t=e2e[e]=new sce(e)),t):new sce(e)}function Rj(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw Y(new vs)}function Phn(e){Jnt();var t;return ett(Yte,e)||(t=new tHe,t.a=e,Xde(Yte,e,t)),l(Wo(Yte,e),642)}function vl(e){var t,r,o,a;return a=e,o=0,a<0&&(a+=nm,o=Ep),r=go(a/fT),t=go(a-r*fT),Ua(t,r,o)}function Fht(e,t){var r;return r=e.a.get(t),r===void 0?++e.d:(Unn(e.a,t),--e.c,++e.b.g),r}function qs(e,t){var r;return t&&(r=t.lf(),r.dc()||(e.q?X3(e.q,r):e.q=new jnt(r))),e}function jhn(e,t){var r,o,a;return r=t.p-e.p,r==0?(o=e.f.a*e.f.b,a=t.f.a*t.f.b,yr(o,a)):r}function Tge(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Whe(e,t)}function Fhn(e){return e.b.c.length!=0&&l(ze(e.b,0),70).a?l(ze(e.b,0),70).a:wW(e)}function $hn(e,t){var r;try{t.be()}catch(o){if(o=ci(o),ae(o,81))r=o,Ot(e.c,r);else throw Y(o)}}function Bhn(e,t){var r;t.Tg("Edge and layer constraint edge reversal",1),r=fTn(e),Kkn(r),t.Ug()}function Uhn(e,t){var r,o;return r=e.j,o=t.j,r!=o?r.g-o.g:e.p==t.p?0:r==(He(),Wt)?e.p-t.p:t.p-e.p}function A_(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(Lo(),l(e,69).vk()),this.k=za(t.e.Ah(),e)}function qb(e,t,r){this.b=(Mt(e),e),this.d=(Mt(t),t),this.e=(Mt(r),r),this.c=this.d+(""+this.e)}function Age(e,t,r,o,a){bpt.call(this,e,r,o,a),this.f=we(Nh,vg,9,t.a.c.length,0,1),Yd(t.a,this.f)}function Z3(e,t,r,o,a){ii(e.c[t.g],r.g,o),ii(e.c[r.g],t.g,o),ii(e.b[t.g],r.g,a),ii(e.b[r.g],t.g,a)}function $ht(e,t){e.c&&(Ayt(e,t,!0),ei(new Et(null,new St(t,16)),new wJe(e))),Ayt(e,t,!1)}function _6(e){this.n=new je,this.e=new Ar,this.j=new Ar,this.k=new je,this.f=new je,this.p=e}function Bht(e){e.r=new hi,e.w=new hi,e.t=new je,e.i=new je,e.d=new hi,e.a=new wS,e.c=new hn}function A0(){A0=K,eL=new o8("UP",0),QD=new o8(IX,1),nee=new o8(hT,2),ree=new o8(pT,3)}function Oj(){Oj=K,g_e=new $q("EQUALLY",0),zte=new $q("NORTH",1),b_e=new $q("NORTH_SOUTH",2)}function __(){__=K,Yee=new Lq("ONE_SIDED",0),Jee=new Lq("TWO_SIDED",1),cL=new Lq("OFF",2)}function Uht(){Uht=K,_Dt=yn((Uu(),Z(X(e3e,1),Ce,267,0,[Tk,QL,dU,C4,fU,pU,hU,xre,ZL])))}function Hht(){Hht=K,pDt=yn((Ty(),Z(X(zo,1),Ce,96,0,[ad,Ip,ud,ld,Rh,Il,kc,cd,Cl])))}function zht(){zht=K,DNt=yn((tD(),Z(X(KSe,1),Ce,268,0,[Pee,WSe,Fee,$ee,jee,Bee,uL,Mee,Lee])))}function Ght(){Ght=K,PIt=yn((rD(),Z(X(n_e,1),Ce,269,0,[Dte,QAe,e_e,Rte,ZAe,t_e,AB,Ite,Ote])))}function Xl(){Xl=K,Hy=new c8(px,0),qx=new c8(hT,1),Vx=new c8(pT,2),See=new c8("TOP",3)}function Dj(){Dj=K,Kte=new zq("OFF",0),uk=new zq("SINGLE_EDGE",1),nv=new zq("MULTI_EDGE",2)}function x6(){x6=K,QB=new Wle("MINIMUM_SPANNING_TREE",0),Ike=new Wle("MAXIMUM_SPANNING_TREE",1)}function Hhn(e,t,r){var o,a;a=l(F(e,(Be(),ss)),79),a&&(o=new Lu,qK(o,0,a),ly(o,r),mo(t,o))}function _ge(e){var t;return t=l(F(e,(Ie(),Hs)),64),e.k==(zt(),mi)&&(t==(He(),Kt)||t==Qt)}function zhn(e){var t;if(e){if(t=e,t.dc())throw Y(new vs);return t.Xb(t.gc()-1)}return kut(e.Jc())}function CK(e,t,r,o){return r==1?(!e.n&&(e.n=new ke(Rs,e,1,7)),_o(e.n,t,o)):qbe(e,t,r,o)}function k6(e,t){var r,o;return o=(r=new LG,r),Ma(o,t),Tn((!e.A&&(e.A=new du(Ka,e,7)),e.A),o),o}function Ghn(e,t,r){var o,a,u,f;return u=null,f=t,a=m0(f,cQ),o=new Qtt(e,r),u=(Ebt(o.a,o.b,a),a),u}function Lj(e,t,r){var o,a,u,f;f=ji(e),o=f.d,a=f.c,u=e.n,t&&(u.a=u.a-o.b-a.a),r&&(u.b=u.b-o.d-a.b)}function qhn(e,t){var r,o,a;return r=e.l+t.l,o=e.m+t.m+(r>>22),a=e.h+t.h+(o>>22),Ua(r&Hu,o&Hu,a&Ep)}function qht(e,t){var r,o,a;return r=e.l-t.l,o=e.m-t.m+(r>>22),a=e.h-t.h+(o>>22),Ua(r&Hu,o&Hu,a&Ep)}function N6(e,t){var r,o;for(Mt(t),o=t.Jc();o.Ob();)if(r=o.Pb(),!e.Gc(r))return!1;return!0}function IK(e){var t;return(!e.a||!(e.Bb&1)&&e.a.Sh())&&(t=Sl(e),ae(t,160)&&(e.a=l(t,160))),e.a}function ci(e){var t;return ae(e,81)?e:(t=e&&e.__java$exception,t||(t=new jpt(e),hZe(t)),t)}function RK(e){if(ae(e,196))return l(e,127);if(e)return null;throw Y(new uS(iAt))}function Vht(e){switch(e.g){case 0:return new Hze;case 1:return new zze;case 2:default:return null}}function xge(e){return e.a.Ob()?!0:e.a!=e.e?!1:(e.a=new Cpe(e.f.f),e.a.Ob())}function Wht(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(pr(t,Bj(e)))return!0;return!1}function Kht(e,t){return!e||!t||e==t?!1:Kgt(e.d.c,t.d.c+t.d.b)&&Kgt(t.d.c,e.d.c+e.d.b)}function Vhn(){return YP(),sf?new zW(null):I0t(khn(),"com.google.common.base.Strings")}function li(e,t){var r,o;return r=t.Nc(),o=r.length,o==0?!1:(Lfe(e.c,e.c.length,r),!0)}function Whn(e,t){var r,o;return r=e.c,o=t.e[e.p],o<r.a.c.length-1?l(ze(r.a,o+1),9):null}function Khn(e){var t,r;for(__n(e),r=new V(e.d);r.a<r.c.c.length;)t=l(q(r),108),t.i&&byn(t)}function Yht(e,t){var r,o;for(o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),70),Te(r,(Ie(),OT),t)}function Yhn(e,t,r){var o,a;for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),19),Bc(o,o.i+t,o.j+r)}function OK(e){var t,r,o;for(t=new Ar,o=An(e.d,0);o.b!=o.d.c;)r=l(Sn(o),65),Gn(t,r.c);return t}function kge(e){var t,r,o,a;for(t=1,r=0,a=e.gc();r<a;++r)o=e.Ti(r),t=31*t+(o==null?0:Rr(o));return t}function Jht(e){var t,r;return r=(t=new LG,t),Ma(r,"T"),Tn((!e.d&&(e.d=new du(Ka,e,11)),e.d),r),r}function Xht(e,t){var r;return r=ch(t.a.gc()),ei(dj(new Et(null,new St(t,1)),e.i),new Btt(e,r)),r}function Zht(e,t,r,o){var a;return t6(t,e.e.Pd().gc()),t6(r,e.c.Pd().gc()),a=e.a[t][r],ii(e.a[t],r,o),a}function Jhn(e,t,r,o){l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),l(o.b,68),La(o.a,new wfe(e,t,o))}function Xhn(e,t){e.d==(vi(),as)||e.d==il?l(t.a,60).c.Ec(l(t.b,60)):l(t.b,60).c.Ec(l(t.a,60))}function Nge(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 Zhn(e,t,r,o,a){return Z_(),b.Math.min(Zvt(e,t,r,o,a),Zvt(r,o,e,t,H8(new Me(a.a,a.b))))}function Qht(e,t){if(!e)throw Y(new jt(CC("value already present: %s",Z(X(Ii,1),Rt,1,5,[t]))))}function ept(e,t,r){var o;Zs(e.a),La(r.i,new dXe(e)),o=new D8(l(Ht(e.a,t.b),68)),e1t(e,o,t),r.f=o}function Qhn(e){var t;mg(e,!0),t=yg,gr(e,(Be(),ik))&&(t+=l(F(e,ik),15).a),Te(e,ik,Re(t))}function DK(e){var t,r,o,a;for(a=new je,o=e.Jc();o.Ob();)r=l(o.Pb(),19),t=Ay(r),li(a,t);return a}function Cge(e){var t,r;return r=(e1(),t=new g9,t),e&&Tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),r),r}function GS(e,t){var r,o;if(o=0,e<64&&e<=t)for(t=t<64?t:63,r=e;r<=t;r++)o=Of(o,fh(1,r));return o}function tpt(e){switch(e.g){case 1:return q1;case 2:return Ih;case 3:return qL;default:return VL}}function epn(e){switch(l(F(e,(Be(),Cs)),166).g){case 2:case 4:return!0;default:return!1}}function Ige(e,t){switch(t){case 0:!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),e.o.c.$b();return}eJ(e,t)}function tpn(e,t){var r,o;for(NP(t,"predicate"),o=0;e.Ob();o++)if(r=e.Pb(),t.Lb(r))return o;return-1}function Rge(e){At();var t,r,o;for(o=0,r=e.Jc();r.Ob();)t=r.Pb(),o=o+(t!=null?Rr(t):0),o=o|0;return o}function npn(e){var t;return t=new pe,t.a=e,t.b=upn(e),t.c=we(Je,Pe,2,2,6,1),t.c[0]=pht(e),t.c[1]=pht(e),t}function Z(e,t,r,o,a){return a.Pm=e,a.Qm=t,a.Rm=fe,a.__elementTypeId$=r,a.__elementTypeCategory$=o,a}function rpn(e,t,r,o){return new Ele(Z(X(dm,1),tF,45,0,[(NY(e,t),new t0(e,t)),(NY(r,o),new t0(r,o))]))}function Mj(){Mj=K,Eee=new u8(_d,0),U$=new u8(fSt,1),H$=new u8(hSt,2),oL=new u8("BOTH",3)}function x_(){x_=K,X0=new s8("Q1",0),$y=new s8("Q4",1),Fy=new s8("Q2",2),qE=new s8("Q3",3)}function g1(){g1=K,lL=new Mq("ONLY_WITHIN_GROUP",0),dTe=new Mq(MX,1),Gy=new Mq("ENFORCED",2)}function Vb(){Vb=K,Uee=new Dq(_d,0),Jx=new Dq("INCOMING_ONLY",1),JE=new Dq("OUTGOING_ONLY",2)}function qS(){qS=K,v6t=new Wze,y6t=new Xze}function LK(){LK=K,HQ={boolean:oen,number:wQt,string:yQt,object:Hmt,function:Hmt,undefined:XZt}}function npt(){npt=K,BIt=yn((_1(),Z(X(d_e,1),Ce,246,0,[kB,SL,TL,u_e,c_e,a_e,l_e,NB,ak,KI])))}function rpt(){rpt=K,UNt=yn((Fo(),Z(X(Kee,1),Ce,262,0,[Z$,rl,CI,Q$,Qx,XE,II,Xx,Zx,eB])))}function ipn(e){var t,r,o,a;for(r=e.a,o=0,a=r.length;o<a;++o)t=r[o],gpt(e,t,(He(),dn)),gpt(e,t,Wt)}function ipt(e){var t,r,o;return r=e.n,o=e.o,t=e.d,new ql(r.a-t.b,r.b-t.d,o.a+(t.b+t.c),o.b+(t.d+t.a))}function opn(e,t){return!e||!t||e==t?!1:x0(e.b.c,t.b.c+t.b.b)<0&&x0(t.b.c,e.b.c+e.b.b)<0}function MK(e,t,r){return e>=128?!1:e<64?f3(Gi(fh(1,e),r),0):f3(Gi(fh(1,e-64),t),0)}function Oge(e,t,r){var o;if(o=e.gc(),t>o)throw Y(new Ww(t,o));return e.Qi()&&(r=uut(e,r)),e.Ci(t,r)}function spn(e,t){var r,o;return r=l(l(Ht(e.g,t.a),49).a,68),o=l(l(Ht(e.g,t.b),49).a,68),tvt(r,o)}function k_(e){var t,r,o;return t=~e.l+1&Hu,r=~e.m+(t==0?1:0)&Hu,o=~e.h+(t==0&&r==0?1:0)&Ep,Ua(t,r,o)}function apn(e){Z_();var t,r,o;for(r=we($i,Pe,8,2,0,1),o=0,t=0;t<2;t++)o+=.5,r[t]=Ubn(o,e);return r}function opt(e,t){var r,o,a,u;for(r=!1,o=e.a[t].length,u=0;u<o-1;u++)a=u+1,r=r|y1n(e,t,u,a);return r}function spt(e){var t,r;return r=new JP,qs(r,e),Te(r,(h1(),_T),e),t=new hn,l_n(e,r,t),Hkn(e,r,t),r}function Te(e,t,r){return r==null?(!e.q&&(e.q=new hn),FS(e.q,t)):(!e.q&&(e.q=new hn),Jn(e.q,t,r)),e}function C6(e,t,r){return r==null?(!e.q&&(e.q=new hn),FS(e.q,t)):(!e.q&&(e.q=new hn),Jn(e.q,t,r)),e}function apt(e,t){return yS(U_(l(F(t,(js(),uw)),87)),new Me(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function upt(e,t){this.b=e,Qv.call(this,(l(oe(Ne((a1(),Ut).o),10),20),t.i),t.g),this.a=(AK(),jre)}function Dge(e,t,r){this.q=new b.Date,this.q.setFullYear(e+k1,t,r),this.q.setHours(0,0,0,0),OC(this,0)}function Lge(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function cpt(e,t){for(;e.g==null&&!e.c?jhe(e):e.g==null||e.i!=0&&l(e.g[e.i-1],51).Ob();)t.Bi(I7(e))}function I6(e,t,r){switch(r.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 Mge(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return C1e(e,t)}function lpt(e){var t,r;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,r=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||r}function Q3(e){var t;return t=e.a[e.b],t==null?null:(ii(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function dpt(e,t,r){var o,a;return o=new QW(t,r),a=new Ft,e.b=jwt(e,e.b,o,a),a.b||++e.c,e.b.b=!1,a.d}function fpt(e){var t,r;return r=Q6(e.h),r==32?(t=Q6(e.m),t==32?Q6(e.l)+32:t+20-10):r-12}function Pge(e){var t;if(e<0)return Qi;if(e==0)return 0;for(t=BC;!(t&e);t>>=1);return t}function upn(e){var t;return e==0?"Etc/GMT":(e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+",t+Xdt(e))}function jge(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=Sl(e),ae(t,89)&&(e.c=l(t,29))),e.c}function b1(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.g.c=-t.g.c-t.g.b;P7(e)}function m1(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.d.c=-t.d.c-t.d.b;Gme(e)}function cpn(e){var t,r,o;return t=l(e.e&&e.e(),10),o=(r=t.slice(),l(rK(r,t),10)),new Hc(t,o,t.length)}function PK(e){var t,r,o;t=~e.l+1&Hu,r=~e.m+(t==0?1:0)&Hu,o=~e.h+(t==0&&r==0?1:0)&Ep,e.l=t,e.m=r,e.h=o}function xs(e){var t,r,o,a,u;for(t=new ro,o=e,a=0,u=o.length;a<u;++a)r=o[a],t.a+=r.a,t.b+=r.b;return t}function Fge(e,t){At();var r,o,a,u,f;for(f=!1,o=t,a=0,u=o.length;a<u;++a)r=o[a],f=f|e.Ec(r);return f}function jK(e,t,r){var o,a,u,f;return u=null,f=t,a=m0(f,"labels"),o=new ont(e,r),u=(G0t(o.a,o.b,a),a),u}function hpt(e,t,r){var o;return o=new je,Kme(e,t,o,(He(),Qt),!0,!1),Kme(e,r,o,Kt,!1,!1),o}function lpn(e,t,r,o){var a;return a=Lme(e,t,r,o),!a&&(a=fgn(e,r,o),a&&!IE(e,t,a))?null:a}function dpn(e,t,r,o){var a;return a=Mme(e,t,r,o),!a&&(a=XK(e,r,o),a&&!IE(e,t,a))?null:a}function ppt(e,t){var r;for(r=0;r<e.a.a.length;r++)if(!l(Uot(e.a,r),181).Lb(t))return!1;return!0}function fpn(e,t,r){if(kn(t),r.Ob())for(tde(t,Gst(r.Pb()));r.Ob();)tde(t,e.a),tde(t,Gst(r.Pb()));return t}function $ge(e){At();var t,r,o;for(o=1,r=e.Jc();r.Ob();)t=r.Pb(),o=31*o+(t!=null?Rr(t):0),o=o|0;return o}function gpt(e,t,r){var o,a,u,f;for(f=oC(t,r),u=0,a=f.Jc();a.Ob();)o=l(a.Pb(),12),Jn(e.c,o,Re(u++))}function Wb(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.f.$b();hQt(e.b,e),_wt(e)}function hp(e){var t;return u1(e),t=new Hi,e.a.zd(t)?(VA(),new sq(Mt(t.a))):(VA(),VA(),b2e)}function Bge(e){var t;return e.b<=0?!1:(t=Nf("MLydhHmsSDkK",Qa(co(e.c,0))),t>1||t>=0&&e.b<3)}function hpn(e,t,r){return!BA(lr(new Et(null,new St(e.c,16)),new RA(new Htt(t,r)))).zd((_b(),TT))}function FK(e,t,r){this.g=e,this.e=new ro,this.f=new ro,this.d=new Ar,this.b=new Ar,this.a=t,this.c=r}function $K(e,t,r,o){this.b=new je,this.n=new je,this.i=o,this.j=r,this.s=e,this.t=t,this.r=0,this.d=0}function bpt(e,t,r,o){this.b=new hn,this.g=new hn,this.d=(rC(),_B),this.c=e,this.e=t,this.d=r,this.a=o}function mpt(e,t,r){e.g=tJ(e,t,(He(),Qt),e.b),e.d=tJ(e,r,Qt,e.b),!(e.g.c==0||e.d.c==0)&&imt(e)}function wpt(e,t,r){e.g=tJ(e,t,(He(),Kt),e.j),e.d=tJ(e,r,Kt,e.j),!(e.g.c==0||e.d.c==0)&&imt(e)}function ppn(e,t,r,o,a){var u;return u=Nme(e,t),r&&PK(u),a&&(e=Wbn(e,t),o?O1=k_(e):O1=Ua(e.l,e.m,e.h)),u}function gpn(e,t,r,o,a){var u,f;if(f=e.length,u=r.length,t<0||o<0||a<0||t+a>f||o+a>u)throw Y(new Nce)}function ypt(e,t){HO(e>=0,"Negative initial capacity"),HO(t>=0,"Non-positive load factor"),Zs(this)}function N_(){N_=K,jSe=new S$e,FSe=new T$e,pNt=new A$e,hNt=new _$e,fNt=new x$e,PSe=(Mt(fNt),new We)}function eC(){eC=K,B_e=new qq(_d,0),Xte=new qq("MIDDLE_TO_MIDDLE",1),kL=new qq("AVOID_OVERLAP",2)}function Uge(e,t,r){switch(t){case 0:!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),Cj(e.o,r);return}rJ(e,t,r)}function bpn(e,t){switch(t.g){case 0:ae(e.b,638)||(e.b=new Lht);break;case 1:ae(e.b,639)||(e.b=new Oot)}}function vpt(e){switch(e.g){case 0:return new Qze;default:throw Y(new jt(FF+(e.f!=null?e.f:""+e.g)))}}function Ept(e){switch(e.g){case 0:return new Zze;default:throw Y(new jt(FF+(e.f!=null?e.f:""+e.g)))}}function Spt(e){switch(e.g){case 0:return new tGe;default:throw Y(new jt(kZ+(e.f!=null?e.f:""+e.g)))}}function Tpt(e){switch(e.g){case 0:return new nGe;default:throw Y(new jt(kZ+(e.f!=null?e.f:""+e.g)))}}function Apt(e){switch(e.g){case 0:return new Kze;default:throw Y(new jt(kZ+(e.f!=null?e.f:""+e.g)))}}function C_(e,t){if(!e.Ji()&&t==null)throw Y(new jt("The 'no null' constraint is violated"));return t}function Hge(e){var t,r,o;for(t=new Lu,o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),8),WA(t,0,new So(r));return t}function lg(e){var t,r;for(t=0,r=0;r<e.length;r++)t=(t<<5)-t+(Yt(r,e.length),e.charCodeAt(r))|0;return t}function mpn(e){var t,r;t=l(F(e,(Ie(),Nu)),9),t&&(r=t.c,Xa(r.a,t),r.a.c.length==0&&Xa(ji(t).b,r))}function wpn(e,t){var r,o;return r=l(ve(e,(ef(),OL)),15).a,o=l(ve(t,OL),15).a,r==o||r<o?-1:r>o?1:0}function _pt(e,t){var r,o,a;for(a=e.b;a;){if(r=e.a.Le(t,a.d),r==0)return a;o=r<0?0:1,a=a.a[o]}return null}function bE(e,t){var r,o,a,u,f;for(o=t,a=0,u=o.length;a<u;++a)r=o[a],f=new Ust(e),r.tf(f),S_n(f);Zs(e.f)}function xpt(e,t,r){var o,a;this.g=e,this.c=t,this.a=this,this.d=this,a=oht(r),o=we(H_t,yD,229,a,0,1),this.b=o}function ypn(){fr();var e;return zre||(e=rnn(x1("M",!0)),e=lP(x1("M",!1),e),zre=e,zre)}function zge(e){switch(e.g){case 1:return LSt;default:case 2:return 0;case 3:return MSt;case 4:return ive}}function Gge(e,t){return vwt(e,t)?(yt(e.b,l(F(t,(Ie(),_p)),24),t),Gn(e.a,t),!0):!1}function vpn(e){return Fe(e.c,(qS(),v6t)),Wpe(e.a,ue(ce(Ge((uY(),TB)))))?new FGe:new mXe(e)}function Epn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!zN(e.b))e.d=l(CS(e.b),51);else return null;return e.d}function Spn(e,t){return gr(e,(Ie(),Cr))&&gr(t,Cr)?l(F(e,Cr),15).a-l(F(t,Cr),15).a:0}function Tpn(e,t){return gr(e,(Ie(),Cr))&&gr(t,Cr)?l(F(t,Cr),15).a-l(F(e,Cr),15).a:0}function BK(e,t){var r;return t===e?!0:ae(t,231)?(r=l(t,231),pr(e.Zb(),r.Zb())):!1}function UK(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function kpt(e){return sf?we(fxt,E2t,574,0,0,1):l(Yd(e.a,we(fxt,E2t,574,e.a.c.length,0,1)),848)}function qge(e,t){var r;t*2+1>=e.b.c.length||(qge(e,2*t+1),r=2*t+2,r<e.b.c.length&&qge(e,r),qmt(e,t))}function Apn(e,t){var r,o;for(o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),221),r.e.length>0&&(t.Ad(r),r.i&&Q1n(r))}function Vge(e,t,r){var o;for(o=r-1;o>=0&&e[o]===t[o];o--);return o<0?0:Aq(Gi(e[o],$o),Gi(t[o],$o))?-1:1}function _pn(e,t){var r;return!e||e==t||!gr(t,(Ie(),tw))?!1:(r=l(F(t,(Ie(),tw)),9),r!=e)}function mE(e,t,r){var o,a;return a=(o=new tq,o),Ko(a,t,r),Tn((!e.q&&(e.q=new ke(Dl,e,11,10)),e.q),a),a}function HK(e,t){var r,o;return o=l(Vt(e.a,4),131),r=we(Mre,wQ,420,t,0,1),o!=null&&ua(o,0,r,0,o.length),r}function zK(e){var t,r,o,a;for(a=Ten(UDt,e),r=a.length,o=we(Je,Pe,2,r,6,1),t=0;t<r;++t)o[t]=a[t];return o}function Npt(e,t){var r;return r=new gJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(r.c=e),r}function xpn(e,t){var r,o;for(o=e.Zb().Bc().Jc();o.Ob();)if(r=l(o.Pb(),18),r.Gc(t))return!0;return!1}function Cpt(e,t,r){var o,a,u,f;for(Mt(r),f=!1,u=e.dd(t),a=r.Jc();a.Ob();)o=a.Pb(),u.Rb(o),f=!0;return f}function kpn(e,t){var r;return e===t?!0:ae(t,93)?(r=l(t,93),Kbe(Cb(e),r.vc())):!1}function Ipt(e,t,r){var o,a;for(a=r.Jc();a.Ob();)if(o=l(a.Pb(),45),e.ze(t,o.kd()))return!0;return!1}function Rpt(e,t,r){return e.d[t.p][r.p]||(Ebn(e,t,r),e.d[t.p][r.p]=!0,e.d[r.p][t.p]=!0),e.a[t.p][r.p]}function I_(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),mK(e,t==null?null:(Mt(t),t)),e.C&&e.fl(null)}function Pj(){Pj=K,Cre=new A8("ELK",0),d3e=new A8("JSON",1),l3e=new A8("DOT",2),f3e=new A8("SVG",3)}function tC(){tC=K,cne=new g8(MX,0),$B=new g8(BSt,1),une=new g8("FAN",2),ane=new g8("CONSTRAINT",3)}function R6(){R6=K,UB=new Vq(_d,0),hxe=new Vq("RADIAL_COMPACTION",1),pxe=new Vq("WEDGE_COMPACTION",2)}function nC(){nC=K,qte=new Bq("STACKED",0),Gte=new Bq("REVERSE_STACKED",1),AL=new Bq("SEQUENCED",2)}function Yc(){Yc=K,v2e=new xq("CONCURRENT",0),nu=new xq("IDENTITY_FINISH",1),E2e=new xq("UNORDERED",2)}function pp(){pp=K,cU=new eV(aEe,0),Ig=new eV("INCLUDE_CHILDREN",1),T4=new eV("SEPARATE_CHILDREN",2)}function jj(){jj=K,VNe=new xb(15),lDt=new Mi((_n(),df),VNe),S4=GT,HNe=M6t,zNe=Am,qNe=b2,GNe=uv}function GK(){GK=K,dee=tut(Z(X(E4,1),Ce,87,0,[(vi(),as),fs])),fee=tut(Z(X(E4,1),Ce,87,0,[il,ff]))}function Npn(e){var t,r,o;for(t=0,o=we($i,Pe,8,e.b,0,1),r=An(e,0);r.b!=r.d.c;)o[t++]=l(Sn(r),8);return o}function qK(e,t,r){var o,a,u;for(o=new Ar,u=An(r,0);u.b!=u.d.c;)a=l(Sn(u),8),Gn(o,new So(a));Cpt(e,t,o)}function Cpn(e,t){var r;r=Ge((uY(),TB))!=null&&t.Rg()!=null?ue(ce(t.Rg()))/ue(ce(Ge(TB))):1,Jn(e.b,t,r)}function Ipn(e,t){var r,o;return r=l(e.d.Ac(t),18),r?(o=e.e.hc(),o.Fc(r),e.e.d-=r.gc(),r.$b(),o):null}function Wge(e,t){var r,o;if(o=e.c[t],o!=0)for(e.c[t]=0,e.d-=o,r=t+1;r<e.a.length;)e.a[r]-=o,r+=r&-r}function Kge(e){var t;if(t=e.a.c.length,t>0)return t_(t-1,e.a.c.length),sg(e.a,t-1);throw Y(new gZe)}function Rpn(e,t,r){if(t<0)throw Y(new Ia(cTt+t));t<e.j.c.length?nc(e.j,t,r):(kct(e,t),Fe(e.j,r))}function Opt(e,t,r){if(e>t)throw Y(new jt(sF+e+S2t+t));if(e<0||t>r)throw Y(new Zce(sF+e+gwe+t+fwe+r))}function Dpt(e){if(!e.a||!(e.a.i&8))throw Y(new es("Enumeration class expected for layout option "+e.f))}function Lpt(e){aut.call(this,"The given string does not match the expected format for individual spacings.",e)}function Mpt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function dg(e){switch(e.c){case 0:return UV(),GEe;case 1:return new nS(Jmt(new fS(e)));default:return new uQe(e)}}function Ppt(e){switch(e.gc()){case 0:return UV(),GEe;case 1:return new nS(e.Jc().Pb());default:return new Sle(e)}}function Yge(e){var t;return t=(!e.a&&(e.a=new ke(Op,e,9,5)),e.a),t.i!=0?ven(l(oe(t,0),691)):null}function Opn(e,t){var r;return r=Ao(e,t),Aq(LW(e,t),0)|k8(LW(e,r),0)?r:Ao(wD,LW(Rb(r,63),1))}function Jge(e,t,r){var o,a;return ry(t,e.c.length),o=r.Nc(),a=o.length,a==0?!1:(Lfe(e.c,t,o),!0)}function Dpn(e,t){var r,o;for(r=e.a.length-1;t!=e.b;)o=t-1&r,ii(e.a,t,e.a[o]),t=o;ii(e.a,e.b,null),e.b=e.b+1&r}function Lpn(e,t){var r,o;for(r=e.a.length-1,e.c=e.c-1&r;t!=e.c;)o=t+1&r,ii(e.a,t,e.a[o]),t=o;ii(e.a,e.c,null)}function hy(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),ua(t,0,e.g,0,e.i))}function wE(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(Mw(e.a.c,0),li(e.a,e.b),li(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function rc(e){return zi(e)?Je:Uw(e)?fi:Bw(e)?Yr:Yfe(e)||Vfe(e)?e.Pm:e.Pm||Array.isArray(e)&&X(G_t,1)||G_t}function Mpn(e){return e?e.i&1?e==uu?Yr:e==Rn?Ti:e==Ev?Ux:e==Ki?fi:e==pw?Y0:e==S2?J0:e==Eu?ET:mI:e:null}function jpt(e){gQe(),L8(this),xP(this),this.e=e,Owt(this,e),this.g=e==null?tu:ms(e),this.a="",this.b=e,this.a=""}function Fpt(){dQt.call(this,new Npe(fy(16))),wc(2,t2t),this.b=2,this.a=new Ehe(null,null,0,null),tO(this.a,this.a)}function Kb(){Kb=K,_L=new h8("BARYCENTER",0),XI=new h8(lSt,1),IB=new h8(dSt,2),CB=new h8("MEDIAN",3)}function rC(){rC=K,Lte=new jq("DUMMY_NODE_OVER",0),r_e=new jq("DUMMY_NODE_UNDER",1),_B=new jq("EQUAL",2)}function R_(){R_=K,Vte=new Uq("CONSERVATIVE",0),y_e=new Uq("CONSERVATIVE_SOFT",1),JI=new Uq("SLOPPY",2)}function $pt(e){var t,r,o;for(o=0,r=new $t(qt(e.a.Jc(),new D));an(r);)t=l(en(r),17),t.c.i==t.d.i||++o;return o}function Fj(e){var t,r,o,a,u;for(u=1,r=e,o=0,a=r.length;o<a;++o)t=r[o],u=31*u+(t!=null?Rr(t):0),u=u|0;return u}function yn(e){var t,r,o,a,u;for(t={},o=e,a=0,u=o.length;a<u;++a)r=o[a],t[":"+(r.f!=null?r.f:""+r.g)]=r;return t}function Bpt(e,t,r){var o,a,u,f;for(a=r,u=0,f=a.length;u<f;++u)if(o=a[u],e.b.ze(t,o.jd()))return o;return null}function Ppn(e){var t,r;if(e==null)return null;for(t=0,r=e.length;t<r;t++)if(!Sot(e[t]))return e[t];return null}function VK(e,t){return!e||t&&!e.j||ae(e,129)&&l(e,129).a.b==0?0:e.ff()}function $j(e,t){return!e||t&&!e.k||ae(e,129)&&l(e,129).a.a==0?0:e.gf()}function Upt(e,t){var r;for(r=0;r<t.length;r++)if(e==(Yt(r,t.length),t.charCodeAt(r)))return!0;return!1}function jpn(e,t){return t<e.length&&(Yt(t,e.length),e.charCodeAt(t)!=63)&&(Yt(t,e.length),e.charCodeAt(t)!=35)}function Hpt(e,t){var r,o,a;for(a=t-e.f,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),320),Ugt(r,r.e,r.f+a);e.f=t}function Fpn(e){var t,r;for(r=new V(e.r);r.a<r.c.c.length;)if(t=l(q(r),9),e.n[t.p]<=0)return t;return null}function $pn(e){var t;return t=new rft(e),e6(e.a,Ykt,new Ls(Z(X(nL,1),Rt,378,0,[t]))),t.d&&Fe(t.f,t.d),t.f}function Bpn(e){var t;for(kn(e),pfe(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&an(e);t++)en(e);return t}function Xge(e,t){var r,o,a;return o=!1,r=t.q.d,t.d<e.b&&(a=Hme(t.q,e.b),t.q.d>a&&(Nbt(t.q,a),o=r!=t.q.d)),o}function zpt(e,t){var r,o,a,u,f,p,m,y;return m=t.i,y=t.j,o=e.f,a=o.i,u=o.j,f=m-a,p=y-u,r=b.Math.sqrt(f*f+p*p),r}function Gpt(e,t){var r,o,a;r=e,a=0;do{if(r==t)return a;if(o=r.e,!o)throw Y(new nO);r=ji(o),++a}while(!0)}function Yb(e,t){var r,o,a;o=e.Wk(t,null),a=null,t&&(a=($A(),r=new Ym,r),w_(a,e.r)),o=Zd(e,a,o),o&&o.mj()}function Upn(e,t){var r,o;for(o=Bu(e.d,1)!=0,r=!0;r;)r=!1,r=t.c.kg(t.e,o),r=r|oD(e,t,o,!1),o=!o;bge(e)}function Zge(e,t){var r,o;return o=t7(e),o||(r=(PJ(),J0t(t)),o=new oZe(r),Tn(o.Cl(),e)),o}function O6(e,t){var r,o;return r=l(e.c.Ac(t),18),r?(o=e.hc(),o.Fc(r),e.d-=r.gc(),r.$b(),e.mc(o)):e.jc()}function Hpn(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw Y(new vs);return t=e.a,e.a+=e.c.c,++e.b,Re(t)}function zpn(e){var t,r;if(e==null)return!1;for(t=0,r=e.length;t<r;t++)if(!Sot(e[t]))return!1;return!0}function qpt(e,t){var r;for(r=0;r<t.length;r++)if(e==(Yt(r,t.length),t.charCodeAt(r)))return!0;return!1}function Vpt(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.c*e.e,e.c}function Bj(e){var t;return un(e.a!=e.b),t=e.d.a[e.a],Brt(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function Wpt(e,t,r,o){var a,u;e.a=t,u=o?0:1,e.f=(a=new vmt(e.c,e.a,r,u),new ryt(r,e.a,a,e.e,e.b,e.c==(Kb(),XI)))}function Gpn(e,t,r){var o,a;for(a=t.a.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),60),Lat(e,o,r))return!0;return!1}function py(e,t){kn(e);try{return e.xc(t)}catch(r){if(r=ci(r),ae(r,214)||ae(r,174))return null;throw Y(r)}}function qpn(e,t){kn(e);try{return e.Ac(t)}catch(r){if(r=ci(r),ae(r,214)||ae(r,174))return null;throw Y(r)}}function WK(e,t,r){return b.Math.abs(t-e)<OF||b.Math.abs(r-e)<OF?!0:t-e>OF?e-r>OF:r-e>OF}function Ea(e,t){var r;return gs(e)&&gs(t)&&(r=e-t,!isNaN(r))?r:hbe(gs(e)?vl(e):e,gs(t)?vl(t):t)}function Vpn(e,t,r){var o;o=new v0t(e,t),yt(e.r,t.$f(),o),r&&!k3(e.u)&&(o.c=new Qat(e.d),La(t.Pf(),new pYe(o)))}function KK(e){var t;return t=new dde(e.a),qs(t,e),Te(t,(Ie(),mr),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function Wpn(e){var t;return t=O8(d4t),l(F(e,(Ie(),xa)),24).Gc((Fo(),Qx))&&$n(t,(Vi(),la),(Zi(),P$)),t}function Kpn(e){var t,r,o,a;for(a=new hi,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),t=GSn(r),mo(a,t);return a}function Qge(e,t){var r,o,a;for(a=1,r=e,o=t>=0?t:-t;o>0;)o%2==0?(r*=r,o=o/2|0):(a*=r,o-=1);return t<0?1/a:a}function Ypn(e,t){var r,o,a;for(a=1,r=e,o=t>=0?t:-t;o>0;)o%2==0?(r*=r,o=o/2|0):(a*=r,o-=1);return t<0?1/a:a}function w1(e,t){var r,o,a,u;return u=(a=e?t7(e):null,Umt((o=t,a&&a.El(),o))),u==t&&(r=t7(e),r&&r.El()),u}function e1e(e,t,r){var o,a;return a=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,1,a,t),r?r.lj(o):r=o),r}function Kpt(e,t,r){var o,a;return a=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,3,a,t),r?r.lj(o):r=o),r}function Ypt(e,t,r){var o,a;return a=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,0,a,t),r?r.lj(o):r=o),r}function Jpn(e,t,r,o){var a,u;for(u=e.Jc();u.Ob();)a=l(u.Pb(),70),a.n.a=t.a+(o.a-a.o.a)/2,a.n.b=t.b,t.b+=a.o.b+r}function Xpn(e,t,r,o,a,u,f,p){var m;for(m=r;u<f;)m>=o||t<r&&p.Le(e[t],e[m])<=0?ii(a,u++,e[t++]):ii(a,u++,e[m++])}function Jpt(e){var t,r;if(e!=null)for(r=0;r<e.length;++r)t=e[r],t&&(l(t.g,375),t.i)}function Zpn(e,t,r,o,a){t==0||o==0||(t==1?a[o]=W1e(a,r,o,e[0]):o==1?a[t]=W1e(a,e,t,r[0]):Jvn(e,r,a,t,o))}function YK(e){return(He(),ou).Gc(e.j)?ue(ce(F(e,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a])).b}function Xpt(e,t){var r;return r=new Xd(e),Jh(r,(zt(),gi)),Te(r,(Ie(),mr),t),Te(r,(Be(),Zr),(qi(),fa)),r}function Zpt(e,t,r){var o,a;for(a=e.Jc();a.Ob();){if(o=l(a.Pb(),9),o==t)return-1;if(o==r)return 1}return 0}function Qpn(e,t,r){var o,a,u,f;for(o=r/e.gc(),a=0,f=e.Jc();f.Ob();)u=l(f.Pb(),189),Hpt(u,u.f+o*a),s0n(u,t,o),++a}function egn(e){var t,r,o;for(o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),221),t=r.c.ig()?r.f:r.a,t&&ixn(t,r.j)}function tgn(e){var t,r,o;for(o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),o=b.Math.max(o,t.g);return o}function t1e(){this.a=new Gze,this.f=new iXe(this),this.b=new oXe(this),this.i=new sXe(this),this.e=new aXe(this)}function O_(){O_=K,zL=new y8(aEe,0),uU=new y8("CONTAINER",1),ONe=new y8("PARENT",2),DNe=new y8("ROOT",3)}function VS(){VS=K,t3e=new nV("PARALLEL_NODE",0),pv=new nV("HIERARCHICAL_NODE",1),gU=new nV("ROOT_NODE",2)}function Uj(){Uj=K,oke=new Xq("EQUAL_BETWEEN_STRUCTURES",0),ske=new Xq("TO_ASPECT_RATIO",1),Mne=new Xq(_d,2)}function n1e(e){throw LK(),Y(new dQe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function Qpt(e){switch(e.g){case 0:return new $ze;case 1:return new Uze;case 2:return new Bze;default:return null}}function r1e(e,t){switch(t){case 1:!e.n&&(e.n=new ke(Rs,e,1,7)),vn(e.n);return;case 2:v_(e,null);return}Ige(e,t)}function egt(e,t){var r;e.a.c.length>0&&(r=l(ze(e.a,e.a.c.length-1),572),Gge(r,t))||Fe(e.a,new flt(t))}function tgt(e,t){var r;e.c.length!=0&&(r=l(Yd(e,we(Nh,vg,9,e.c.length,0,1)),201),ode(r,new IFe),d0t(r,t))}function ngt(e,t){var r;e.c.length!=0&&(r=l(Yd(e,we(Nh,vg,9,e.c.length,0,1)),201),ode(r,new RFe),d0t(r,t))}function Re(e){var t,r;return e>-129&&e<128?(Rot(),t=e+128,r=t2e[t],!r&&(r=t2e[t]=new ace(e)),r):new ace(e)}function D_(e){var t,r;return e>-129&&e<128?($ot(),t=e+128,r=o2e[t],!r&&(r=o2e[t]=new oce(e)),r):new oce(e)}function rgt(e){var t;return t=new Zg,t.a+="VerticalSegment ",ba(t,e.e),t.a+=" ",zn(t,Tde(new hq,new V(e.k))),t.a}function ngn(e){hc();var t,r;t=e.d.c-e.e.c,r=l(e.g,157),La(r.b,new XYe(t)),La(r.c,new ZYe(t)),lo(r.i,new QYe(t))}function rgn(e){var t;return t=l(Wd(e.c.c,""),236),t||(t=new LS(FA(jA(new eS,""),"Other")),Jb(e.c.c,"",t)),t}function iC(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (name: ",Vo(t,e.zb),t.a+=")",t.a)}function i1e(e,t,r){var o,a;return a=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,4,a,t),r?r.lj(o):r=o),r}function JK(e,t){var r,o,a;for(r=0,a=ks(e,t).Jc();a.Ob();)o=l(a.Pb(),12),r+=F(o,(Ie(),Nu))!=null?1:0;return r}function yE(e,t,r){var o,a,u;for(o=0,u=An(e,0);u.b!=u.d.c&&(a=ue(ce(Sn(u))),!(a>r));)a>=t&&++o;return o}function ign(e,t,r){var o,a;return o=new cp(e.e,3,13,null,(a=t.c,a||(_t(),bf)),gg(e,t),!1),r?r.lj(o):r=o,r}function ogn(e,t,r){var o,a;return o=new cp(e.e,4,13,(a=t.c,a||(_t(),bf)),null,gg(e,t),!1),r?r.lj(o):r=o,r}function o1e(e,t,r){var o,a;return a=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,8,a,e.r),r?r.lj(o):r=o),r}function fg(e,t){var r,o;return r=l(t,688),o=r.cl(),!o&&r.dl(o=ae(t,89)?new mnt(e,l(t,29)):new Yut(e,l(t,160))),o}function D6(e,t,r){var o;e.Zi(e.i+1),o=e.Xi(t,r),t!=e.i&&ua(e.g,t,e.g,t+1,e.i-t),ii(e.g,t,o),++e.i,e.Ki(t,r),e.Li()}function sgn(e,t){var r;e.c=t,e.a=n1n(t),e.a<54&&(e.f=(r=t.d>1?tct(t.a[0],t.a[1]):tct(t.a[0],0),$b(t.e>0?r:ug(r))))}function agn(e,t){var r;return t.a&&(r=t.a.a.length,e.a?zn(e.a,e.b):e.a=new fc(e.d),uct(e.a,t.a,t.d.length,r)),e}function ugn(e,t){var r,o,a,u;if(t.cj(e.a),u=l(Vt(e.a,8),2014),u!=null)for(r=u,o=0,a=r.length;o<a;++o)null.Sm()}function L6(e,t){var r;return r=new Hi,e.a.zd(r)?(VA(),new sq(Mt(Udt(e,r.a,t)))):(u1(e),VA(),VA(),b2e)}function igt(e){var t;return Ea(e,0)<0&&(e=p1(Esn(gs(e)?vl(e):e))),t=Dn(Rb(e,32)),64-(t!=0?Q6(t):Q6(Dn(e))+32)}function pr(e,t){return zi(e)?wt(e,t):Uw(e)?jit(e,t):Bw(e)?(Mt(e),be(e)===be(t)):Yfe(e)?e.Fb(t):Vfe(e)?Lnt(e,t):Vhe(e,t)}function ogt(e,t){kn(e);try{return e._b(t)}catch(r){if(r=ci(r),ae(r,214)||ae(r,174))return!1;throw Y(r)}}function s1e(e,t){kn(e);try{return e.Gc(t)}catch(r){if(r=ci(r),ae(r,214)||ae(r,174))return!1;throw Y(r)}}function cgn(e,t){kn(e);try{return e.Kc(t)}catch(r){if(r=ci(r),ae(r,214)||ae(r,174))return!1;throw Y(r)}}function a1e(e,t,r,o){switch(t){case 1:return!e.n&&(e.n=new ke(Rs,e,1,7)),e.n;case 2:return e.k}return nbe(e,t,r,o)}function oC(e,t){switch(t.g){case 2:case 1:return ks(e,t);case 3:case 4:return oc(ks(e,t))}return At(),At(),Co}function Jc(e,t,r){if(t<0)lme(e,r);else{if(!r.pk())throw Y(new jt(R1+r.ve()+iI));l(r,69).uk().Ck(e,e.ei(),t)}}function sgt(e,t,r){if(e<0||t>r)throw Y(new Ia(sF+e+gwe+t+", size: "+r));if(e>t)throw Y(new jt(sF+e+S2t+t))}function hg(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,2,r,t))}function u1e(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,8,r,t))}function c1e(e,t){var r;r=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,9,r,t))}function pg(e,t){var r;r=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,3,r,t))}function Hj(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,8,r,t))}function lgn(e,t,r){var o,a;return a=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,5,a,e.a),r?kbe(r,o):r=o),r}function agt(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (source: ",Vo(t,e.d),t.a+=")",t.a)}function sC(e,t){var r;return e.b==-1&&e.a&&(r=e.a.nk(),e.b=r?e.c.Eh(e.a.Jj(),r):Ur(e.c.Ah(),e.a)),e.c.vh(e.b,t)}function ugt(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)if(r=l(rn(o),29),be(t)===be(r))return!0;return!1}function dgn(e){eF();var t,r,o,a;for(r=bY(),o=0,a=r.length;o<a;++o)if(t=r[o],_s(t.a,e,0)!=-1)return t;return tee}function cgt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function lgt(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 l1e(e){var t,r;return t=e.k,t==(zt(),mi)?(r=l(F(e,(Ie(),Hs)),64),r==(He(),Wt)||r==dn):!1}function dgt(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)if(r=l(rn(o),146),be(t)===be(r))return!0;return!1}function fgn(e,t,r){var o,a,u;return u=(a=Y_(e.b,t),a),u&&(o=l(Y7(h6(e,u),""),29),o)?Lme(e,o,t,r):null}function XK(e,t,r){var o,a,u;return u=(a=Y_(e.b,t),a),u&&(o=l(Y7(h6(e,u),""),29),o)?Mme(e,o,t,r):null}function aC(e,t,r){var o;if(o=e.gc(),t>o)throw Y(new Ww(t,o));if(e.Qi()&&e.Gc(r))throw Y(new jt(GD));e.Ei(t,r)}function hgn(e,t){t.Tg("Sort end labels",1),ei(lr(bs(new Et(null,new St(e.b,16)),new pFe),new gFe),new bFe),t.Ug()}function vi(){vi=K,hf=new TO(qC,0),fs=new TO(pT,1),as=new TO(hT,2),ff=new TO(IX,3),il=new TO("UP",4)}function M6(){M6=K,KB=new Zq("P1_STRUCTURE",0),YB=new Zq("P2_PROCESSING_ORDER",1),JB=new Zq("P3_EXECUTION",2)}function fgt(){fgt=K,xRt=Pf(Pf(ZN(Pf(Pf(ZN($n(new ui,(JS(),e4),(IC(),Jte)),t4),P_e),F_e),n4),O_e),$_e)}function pgn(e){var t,r,o;for(t=new je,o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),598),li(t,l(r.Af(),18));return t}function ggn(e){var t,r,o;for(o=0,r=e.length,t=0;t<r;t++)e[t]==32||e[t]==13||e[t]==10||e[t]==9||(e[o++]=e[t]);return o}function bgn(e){var t;return t=e.a[e.c-1&e.a.length-1],t==null?null:(e.c=e.c-1&e.a.length-1,ii(e.a,e.c,null),t)}function hgt(e){var t,r;for(r=e.p.a.ec().Jc();r.Ob();)if(t=l(r.Pb(),220),t.f&&e.b[t.c]<-1e-10)return t;return null}function d1e(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new ql(t.d,0,t.a,t.b);default:return null}}function pgt(e){switch(e.g){case 2:return fs;case 1:return as;case 4:return ff;case 3:return il;default:return hf}}function f1e(e){switch(e.g){case 1:return Kt;case 2:return Wt;case 3:return Qt;case 4:return dn;default:return Is}}function P6(e){switch(e.g){case 1:return dn;case 2:return Kt;case 3:return Wt;case 4:return Qt;default:return Is}}function zj(e){switch(e.g){case 1:return Qt;case 2:return dn;case 3:return Kt;case 4:return Wt;default:return Is}}function mgn(e){switch(e){case 0:return new MZe;case 1:return new DZe;case 2:return new LZe;default:throw Y(new nO)}}function wgn(e){switch(l(F(e,(Ie(),hm)),316).g){case 1:Te(e,hm,(lp(),kT));break;case 2:Te(e,hm,(lp(),ZE))}}function j6(e,t){this.e=t,this.a=igt(e),this.a<54?this.f=$b(e):this.c=(jf(),Ea(e,0)>=0?v1(e):I3(v1(ug(e))))}function ggt(e,t,r,o,a,u){this.e=new je,this.f=(jo(),YI),Fe(this.e,e),this.d=t,this.a=r,this.b=o,this.f=a,this.c=u}function ygn(e){var t;if(!e.a)throw Y(new es("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,xat(e,t),kat(e,t)}function bgt(e){var t;return t=Xhe(e),d3(t.a,0)?(jw(),jw(),WQ):(jw(),new vV(Tq(t.a,0)?ype(t)/$b(t.a):0))}function vgn(e,t){var r;if(r=iD(e,t),ae(r,336))return l(r,38);throw Y(new jt(R1+t+"' is not a valid attribute"))}function yr(e,t){return e<t?-1:e>t?1:e==t?e==0?yr(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function uC(e,t,r){var o,a;return e.Nj()?(a=e.Oj(),o=sJ(e,t,r),e.Hj(e.Gj(7,Re(r),o,t,a)),o):sJ(e,t,r)}function ZK(e,t){var r,o,a;e.d==null?(++e.e,--e.f):(a=t.jd(),r=t.yi(),o=(r&sr)%e.d.length,ddn(e,o,rwt(e,o,r,a)))}function L_(e,t){var r;r=(e.Bb&Tl)!=0,t?e.Bb|=Tl:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,10,r,t))}function M_(e,t){var r;r=(e.Bb&Ry)!=0,t?e.Bb|=Ry:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,12,r,t))}function P_(e,t){var r;r=(e.Bb&yu)!=0,t?e.Bb|=yu:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,15,r,t))}function j_(e,t){var r;r=(e.Bb&yp)!=0,t?e.Bb|=yp:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,11,r,t))}function Egn(e,t){var r;return r=yr(e.b.c,t.b.c),r!=0||(r=yr(e.a.a,t.a.a),r!=0)?r:yr(e.a.b,t.a.b)}function Gj(e){var t,r;return r=l(F(e,(Be(),xc)),87),r==(vi(),hf)?(t=ue(ce(F(e,aB))),t>=1?fs:ff):r}function Sgn(e){var t,r;for(r=X0t(mc(e)).Jc();r.Ob();)if(t=In(r.Pb()),RC(e,t))return Lln((Zet(),QDt),t);return null}function Tgn(e,t,r){var o,a;for(a=e.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),9),N6(r,l(ze(t,o.p),18)))return o;return null}function Agn(e,t,r){var o,a;for(a=ae(t,104)&&l(t,20).Bb&No?new oV(t,e):new A_(t,e),o=0;o<r;++o)a7(a);return a}function _gn(e,t){var r,o,a,u,f;for(f=za(e.e.Ah(),t),u=0,r=l(e.g,123),a=0;a<e.i;++a)o=r[a],f.$l(o.Jk())&&++u;return u}function xgn(e,t,r){var o,a;return o=l(t.mf(e.a),34),a=l(r.mf(e.a),34),o!=null&&a!=null?E6(o,a):o!=null?-1:a!=null?1:0}function mgt(e,t,r){var o,a;if(e.c)Bbe(e.c,t,r);else for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),168),mgt(o,t,r)}function QK(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),49),Xa(e.b.b,r.b),Uan(l(r.a,197),l(r.b,84))}function h1e(e,t){var r,o,a;for(Mt(t),r=!1,o=new V(e);o.a<o.c.c.length;)a=q(o),t.Gc(a)&&(C3(o),r=!0);return r}function kgn(e){var t,r;for(r=Db(new Zg,91),t=!0;e.Ob();)t||(r.a+=ja),t=!1,ba(r,e.Pb());return(r.a+="]",r).a}function p1e(e){var t;return t=we(al,Bf,30,2,15,1),e-=No,t[0]=(e>>10)+TD&Ei,t[1]=(e&1023)+56320&Ei,Mf(t,0,t.length)}function g1e(e,t){var r;r=(e.Bb&No)!=0,t?e.Bb|=No:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,20,r,t))}function b1e(e,t){var r;r=(e.Bb&Ws)!=0,t?e.Bb|=Ws:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,18,r,t))}function eY(e,t){var r;r=(e.Bb&Ws)!=0,t?e.Bb|=Ws:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,18,r,t))}function F_(e,t){var r;r=(e.Bb&$f)!=0,t?e.Bb|=$f:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&hr(e,new Vl(e,1,16,r,t))}function m1e(e,t,r){var o;return o=0,t&&(eE(e.a)?o+=t.f.a/2:o+=t.f.b/2),r&&(eE(e.a)?o+=r.f.a/2:o+=r.f.b/2),o}function _0(e,t,r){var o;return o=e.a.get(t),e.a.set(t,r===void 0?null:r),o===void 0?(++e.c,++e.b.g):++e.d,o}function tY(e,t,r){var o,a;return o=(e1(),a=new b9,a),gj(o,t),pj(o,r),e&&Tn((!e.a&&(e.a=new yi(Ic,e,5)),e.a),o),o}function Ngn(e,t,r){var o;o=r,!o&&(o=Rfe(new sS,0)),o.Tg(J2t,2),x1t(e.b,t,o.dh(1)),Cxn(e,t,o.dh(1)),CNn(t,o.dh(1)),o.Ug()}function ks(e,t){var r;return e.i||cme(e),r=l(Wo(e.g,t),49),r?new Rf(e.j,l(r.a,15).a,l(r.b,15).a):(At(),At(),Co)}function Ao(e,t){var r;return gs(e)&&gs(t)&&(r=e+t,SD<r&&r<nm)?r:p1(qhn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function wo(e,t){var r;return gs(e)&&gs(t)&&(r=e*t,SD<r&&r<nm)?r:p1(bxn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function El(e,t){var r;return gs(e)&&gs(t)&&(r=e-t,SD<r&&r<nm)?r:p1(qht(gs(e)?vl(e):e,gs(t)?vl(t):t))}function qj(e){var t;switch(e.gc()){case 0:return oP(),FQ;case 1:return new AV(kn(e.Xb(0)));default:return t=e,new DW(t)}}function Cgn(e){switch(l(F(e,(Be(),kp)),225).g){case 1:return new rUe;case 3:return new uUe;default:return new nUe}}function Ign(e){var t;return t=vy(e),t>34028234663852886e22?Kr:t<-34028234663852886e22?Li:t}function Lf(e){var t,r,o;for(t=new je,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),Fe(t,r.b);return kn(t),new g3(t)}function si(e){var t,r,o;for(t=new je,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),Fe(t,r.e);return kn(t),new g3(t)}function Or(e){var t,r,o;for(t=new je,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),Fe(t,r.g);return kn(t),new g3(t)}function nY(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (identifier: ",Vo(t,e.k),t.a+=")",t.a)}function y1(e){if(e.c)y1(e.c);else if(e.d)throw Y(new es("Stream already terminated, can't be modified or used"))}function wgt(e,t,r){switch(t.g){case 1:e.b-=r.b/2;break;case 3:e.b+=r.b/2;break;case 4:e.a-=r.a/2;break;case 2:e.a+=r.a/2}}function Rgn(e,t){return wt(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t),e.b&&e.c?Fb(e.b)+"->"+Fb(e.c):"e_"+Rr(e))}function Ogn(e,t){return wt(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t),e.b&&e.c?Fb(e.b)+"->"+Fb(e.c):"e_"+Rr(e))}function Dgn(e){return GK(),Lt(),!!(Sgt(l(e.a,84).j,l(e.b,87))||l(e.a,84).d.e!=0&&Sgt(l(e.a,84).j,l(e.b,87)))}function rY(){Mbe();var e,t,r;r=B3n+++Date.now(),e=go(b.Math.floor(r*_D))&oF,t=go(r-e*dwe),this.a=e^1502,this.b=t^AX}function ygt(e,t,r,o,a){ort(this),this.b=e,this.d=we(Nh,vg,9,t.a.c.length,0,1),this.f=r,Yd(t.a,this.d),this.g=o,this.c=a}function w1e(e,t){e.n.c.length==0&&Fe(e.n,new MP(e.s,e.t,e.i)),Fe(e.b,t),Z1e(l(ze(e.n,e.n.c.length-1),211),t),svt(e,t)}function Lgn(e,t,r){var o;r.Tg("Straight Line Edge Routing",1),r.bh(t,gve),o=l(ve(t,(aE(),l2)),19),vvt(e,o),r.bh(t,MF)}function ct(e){var t,r,o,a;return r=(t=l(md((o=e.Pm,a=o.f,a==bn?o:a)),10),new Hc(t,l(Gl(t,t.length),10),0)),Jl(r,e),r}function Mgn(e){var t,r;for(r=uEn(mc(ny(e))).Jc();r.Ob();)if(t=In(r.Pb()),RC(e,t))return Mln((Qet(),eLt),t);return null}function iY(e,t){var r,o,a;for(a=0,o=l(t.Kb(e),22).Jc();o.Ob();)r=l(o.Pb(),17),Ye(Ke(F(r,(Ie(),Ag))))||++a;return a}function vgt(e){var t,r,o,a;for(t=new mit(e.Pd().gc()),a=0,o=BS(e.Pd().Jc());o.Ob();)r=o.Pb(),San(t,r,Re(a++));return fyn(t.a)}function Pgn(e){var t,r,o;for(r=0,o=e.length;r<o;r++)if(e[r]==null)throw Y(new uS("at index "+r));return t=e,new Ls(t)}function jgn(e,t,r){var o;try{fpn(e,t,r)}catch(a){throw a=ci(a),ae(a,602)?(o=a,Y(new lpe(o))):Y(a)}return t}function Egt(e,t){var r,o;for(r=An(e,0);r.b!=r.d.c;){if(o=rO(ce(Sn(r))),o==t)return;if(o>t){Qut(r);break}}yP(r,t)}function Fgn(e,t){var r,o,a;o=lE(t),a=ue(ce(by(o,(Be(),od)))),r=b.Math.max(0,a/2-.5),bC(t,r,1),Fe(e,new ytt(t,r))}function st(e,t){var r,o,a,u,f;if(r=t.f,Jb(e.c.d,r,t),t.g!=null)for(a=t.g,u=0,f=a.length;u<f;++u)o=a[u],Jb(e.c.e,o,t)}function $gn(e,t,r,o){var a,u,f;for(a=t+1;a<r;++a)for(u=a;u>t&&o.Le(e[u-1],e[u])>0;--u)f=e[u],ii(e,u,e[u-1]),ii(e,u-1,f)}function Xc(e,t,r,o){if(t<0)$me(e,r,o);else{if(!r.pk())throw Y(new jt(R1+r.ve()+iI));l(r,69).uk().Ak(e,e.ei(),t,o)}}function Bgn(e,t){var r;if(r=iD(e.Ah(),t),ae(r,104))return l(r,20);throw Y(new jt(R1+t+"' is not a valid reference"))}function ms(e){var t;return Array.isArray(e)&&e.Rm===fe?Ab(rc(e))+"@"+(t=Rr(e)>>>0,t.toString(16)):e.toString()}function Ugn(e,t){return e.h==ED&&e.m==0&&e.l==0?(t&&(O1=Ua(0,0,0)),Mnt((m_(),YEe))):(t&&(O1=Ua(e.l,e.m,e.h)),Ua(0,0,0))}function Hgn(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 Sgt(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 y1e(e,t,r,o){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return a1e(e,t,r,o)}function Vj(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw Y(new jt("Node "+t+" not part of edge "+e))}function zgn(e){return e.e==null?e:(!e.c&&(e.c=new gJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function Ggn(e){return e.k!=(zt(),Xr)?!1:fE(new Et(null,new Zw(new $t(qt(Or(e).a.Jc(),new D)))),new MBe)}function $u(e){var t;if(e.b){if($u(e.b),e.b.d!=e.c)throw Y(new $c)}else e.d.dc()&&(t=l(e.f.c.xc(e.e),18),t&&(e.d=t))}function qgn(e){qw();var t,r,o,a;for(t=e.o.b,o=l(l(wr(e.r,(He(),dn)),24),85).Jc();o.Ob();)r=l(o.Pb(),116),a=r.e,a.b+=t}function Vgn(e,t){var r,o,a;for(o=ATn(e,t),a=o[o.length-1]/2,r=0;r<o.length;r++)if(o[r]>=a)return t.c+r;return t.c+t.b.gc()}function v1e(e,t,r,o,a){var u,f,p;for(f=a;t.b!=t.c;)u=l(CS(t),9),p=l(ks(u,o).Xb(0),12),e.d[p.p]=f++,Ot(r.c,p);return f}function cC(e){var t;this.a=(t=l(e.e&&e.e(),10),new Hc(t,l(Gl(t,t.length),10),0)),this.b=we(Ii,Rt,1,this.a.a.length,5,1)}function E1e(e){uY(),this.c=Wl(Z(X(oCn,1),Rt,837,0,[LIt])),this.b=new hn,this.a=e,Jn(this.b,TB,1),La(MIt,new bXe(this))}function ic(){ic=K,gL=new bO(_d,0),LI=new bO("FIRST",1),xp=new bO(fSt,2),MI=new bO("LAST",3),gm=new bO(hSt,4)}function lC(){lC=K,kI=new l8("LAYER_SWEEP",0),HSe=new l8("MEDIAN_LAYER_SWEEP",1),aL=new l8(BX,2),zSe=new l8(_d,3)}function Wj(){Wj=K,Pxe=new Yq("ASPECT_RATIO_DRIVEN",0),Cne=new Yq("MAX_SCALE_DRIVEN",1),Mxe=new Yq("AREA_DRIVEN",2)}function Kj(){Kj=K,Nre=new T8(nve,0),s3e=new T8("GROUP_DEC",1),u3e=new T8("GROUP_MIXED",2),a3e=new T8("GROUP_INC",3)}function gp(){gp=K,Sre=new v8(qC,0),GL=new v8("POLYLINE",1),Ek=new v8("ORTHOGONAL",2),WT=new v8("SPLINES",3)}function S1e(){S1e=K,a6t=new cr(Kve),Mke=(zP(),qne),s6t=new pt(Yve,Mke),o6t=new pt(Jve,50),i6t=new pt(Xve,(Lt(),!0))}function Wgn(e){var t,r,o,a,u;return u=Pbe(e),r=aO(e.c),o=!r,o&&(a=new Eb,Kl(u,"knownLayouters",a),t=new VXe(a),lo(e.c,t)),u}function T1e(e,t){var r,o,a,u,f,p;for(o=0,r=0,u=t,f=0,p=u.length;f<p;++f)a=u[f],a>0&&(o+=a,++r);return r>1&&(o+=e.d*(r-1)),o}function A1e(e){var t,r,o;for(o=new Xp,o.a+="[",t=0,r=e.gc();t<r;)Vo(o,y3(e.Ti(t))),++t<r&&(o.a+=ja);return o.a+="]",o.a}function oY(e,t,r){var o,a;for(o=0,a=e.length;o<a;o++)if(MK((Yt(o,e.length),e.charCodeAt(o)),t,r))return!0;return!1}function Kgn(e){var t;return e==null?!0:(t=e.length,t>0&&(Yt(t-1,e.length),e.charCodeAt(t-1)==58)&&!oY(e,O4,D4))}function _1e(e,t){var r;return be(e)===be(t)?!0:ae(t,92)?(r=l(t,92),e.e==r.e&&e.d==r.d&&Fln(e,r.a)):!1}function WS(e){switch(He(),e.g){case 4:return Wt;case 1:return Qt;case 3:return dn;case 2:return Kt;default:return Is}}function Ygn(e){var t,r;if(e.b)return e.b;for(r=sf?null:e.d;r;){if(t=sf?null:r.b,t)return t;r=sf?null:r.d}return GA(),y2e}function x0(e,t){return Ud(),Yl(wg),b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t))}function Tgt(e,t){JA();var r,o,a,u;for(o=fdt(e),a=t,g_(o,0,o.length,a),r=0;r<o.length;r++)u=Imn(e,o[r],r),r!=u&&uC(e,r,u)}function x1e(e){var t,r,o;for(o=ue(ce(e.a.mf((_n(),oU)))),r=new V(e.a.Qf());r.a<r.c.c.length;)t=l(q(r),692),_Et(e,t,o)}function Jgn(e){var t,r,o,a;for(t=(e.j==null&&(e.j=(l_(),a=UQ.ke(e),g0n(a))),e.j),r=0,o=t.length;r<o;++r);}function sY(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),49),Fe(e.b.b,l(r.b,84)),PW(l(r.a,197),l(r.b,84))}function Xgn(e,t,r){var o,a;for(a=e.a.b,o=a.c.length;o<r;o++)Nb(a,0,new ra(e.a));Oi(t,l(ze(a,a.c.length-r),26)),e.b[t.p]=r}function Zgn(e,t,r){var o;r.Tg(sTt,1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),vyt(e,o)),r.Ug()}function Qgn(e,t,r,o,a){gc(),Ql($l(Ul(Bl(Hl(new gl,0),a.d.e-e),t),a.d)),Ql($l(Ul(Bl(Hl(new gl,0),r-a.a.e),a.a),o))}function Agt(e,t){var r,o,a,u;t&&(a=fp(t,"x"),r=new FXe(e),E0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new $Xe(e),S0(o.a,(Mt(u),u)))}function _gt(e,t){var r,o,a,u;t&&(a=fp(t,"x"),r=new UXe(e),y0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new HXe(e),v0(o.a,(Mt(u),u)))}function xgt(e,t){var r;return e.d?ma(e.b,t)?l(Ht(e.b,t),43):(r=t.bg(),Jn(e.b,t,r),r):t.bg()}function k1e(e,t,r){var o,a;if(++e.j,r.dc())return!1;for(a=r.Jc();a.Ob();)o=a.Pb(),e.oj(t,e.Xi(t,o)),++t;return!0}function e1n(e,t){var r,o,a,u;for(a=new Da(t.gc()),o=t.Jc();o.Ob();)r=o.Pb(),u=TJ(e,l(r,57)),u&&Ot(a.c,u);return a}function gy(e,t,r){var o,a;for(a=e.Jc();a.Ob();)if(o=a.Pb(),be(t)===be(o)||t!=null&&pr(t,o))return r&&a.Qb(),!0;return!1}function t1n(e,t,r,o){var a,u;if(u=r-t,u<3)for(;u<3;)e*=10,++u;else{for(a=1;u>3;)a*=10,--u;e=(e+(a>>1))/a|0}return o.i=e,!0}function n1n(e){var t,r,o;return e.e==0?0:(t=e.d<<5,r=e.a[e.d-1],e.e<0&&(o=Tht(e),o==e.d-1&&(--r,r=r|0)),t-=Q6(r),t)}function r1n(e){var t,r,o;return e<f$.length?f$[e]:(r=e>>5,t=e&31,o=we(Rn,Qn,30,r+1,15,1),o[r]=1<<t,new Ob(1,r+1,o))}function kgt(e){var t,r,o;return r=e.ih(),r?(t=e.Bh(),ae(t,176)&&(o=kgt(l(t,176)),o!=null)?o+"."+r:r):null}function N1e(e){var t;return!e.c&&(e.c=new po),xi(e.d,new Fl),KSn(e),t=$Sn(e),ei(new Et(null,new St(e.d,16)),new gYe(e)),t}function i1n(e,t){t.Tg("End label post-processing",1),ei(lr(bs(new Et(null,new St(e.b,16)),new sFe),new aFe),new uFe),t.Ug()}function oc(e){var t,r;return ae(e,312)?(r=udn(l(e,312)),t=r,t):ae(e,437)?l(e,437).a:ae(e,59)?new cQe(e):new dle(e)}function o1n(e){var t=e.e;function r(o){return!o||o.length==0?"":" "+o.join(`
`)}return t&&(t.stack||r(e[eX]))}function C1e(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 Tge(e,t)}function I1e(e,t){switch(t){case 3:Ub(e,0);return;case 4:Hb(e,0);return;case 5:va(e,0);return;case 6:gu(e,0);return}r1e(e,t)}function s1n(e){switch(e.g){case 0:return new xze;case 1:return new kze;default:throw Y(new jt(MZ+(e.f!=null?e.f:""+e.g)))}}function Ngt(e){switch(e.g){case 0:return new _ze;case 1:return new Nze;default:throw Y(new jt(jX+(e.f!=null?e.f:""+e.g)))}}function a1n(e){switch(e.g){case 1:return new wze;case 2:return new sit;default:throw Y(new jt(MZ+(e.f!=null?e.f:""+e.g)))}}function Cgt(e){switch(e.g){case 0:return new Hce;case 1:return new $Ze;default:throw Y(new jt(FF+(e.f!=null?e.f:""+e.g)))}}function k0(e,t){switch(t.g){case 1:return _S(e.j,(bu(),J2e));case 2:return _S(e.j,(bu(),Z2e));default:return At(),At(),Co}}function Igt(e,t){var r,o;if(t){for(r=0;r<e.i;++r)if(o=l(e.g[r],374),o.kj(t))return!1;return Tn(e,t)}else return!1}function R1e(e){var t,r,o,a;for(t=new Eb,a=new Gv(e.b.Jc());a.b.Ob();)o=l(a.b.Pb(),697),r=wyn(o),Nsn(t,t.a.length,r);return t.a}function Yj(e){var t;return e.Db&64?iC(e):(t=new ml(iC(e)),t.a+=" (instanceClassName: ",Vo(t,e.D),t.a+=")",t.a)}function O1e(e,t){var r;return e.i>0&&(t.length<e.i&&(r=y6(rc(t).c,e.i),t=r),ua(e.g,0,t,0,e.i)),t.length>e.i&&ii(t,e.i,null),t}function u1n(e,t,r){var o,a;return o=ue(e.p[t.i.p])+ue(e.d[t.i.p])+t.n.b+t.a.b,a=ue(e.p[r.i.p])+ue(e.d[r.i.p])+r.n.b+r.a.b,a-o}function Ur(e,t){var r,o,a;if(r=(e.i==null&&Ff(e),e.i),o=t.Jj(),o!=-1){for(a=r.length;o<a;++o)if(r[o]==t)return o}return-1}function aY(e,t){var r,o,a;return e.f>0?(e.Zj(),o=t==null?0:Rr(t),a=(o&sr)%e.d.length,r=rwt(e,a,o,t),r!=-1):!1}function Jj(e){var t,r,o,a;for(a=0,r=0,o=e.length;r<o;r++)t=(Yt(r,e.length),e.charCodeAt(r)),t<64&&(a=Of(a,fh(1,t)));return a}function c1n(e){var t,r,o,a,u;for(r=l(e.g,686),o=e.i-1;o>=0;--o)for(t=r[o],a=0;a<o;++a)if(u=r[a],Zyt(e,t,u)){ZS(e,o);break}}function F6(e,t){var r,o,a,u;for(u=za(e.e.Ah(),t),r=l(e.g,123),a=0;a<e.i;++a)if(o=r[a],u.$l(o.Jk()))return!1;return!0}function Rgt(e,t){var r,o;if(o=new IA(e.a.$c(t,!0)),o.a.gc()<=1)throw Y(new rS);return r=o.a.ec().Jc(),r.Pb(),l(r.Pb(),41)}function l1n(e,t,r){var o,a;for(o=Gi(r,$o),a=0;Ea(o,0)!=0&&a<t;a++)o=Ao(o,Gi(e[a],$o)),e[a]=Dn(o),o=u0(o,32);return Dn(o)}function Xj(e,t){ude();var r,o;return r=jO((L9(),L9(),bI)),o=null,t==r&&(o=l(wa(WEe,e),622)),o||(o=new Mst(e),t==r&&ns(WEe,e,o)),o}function Ogt(e){qw();var t;return t=new So(l(e.e.mf((_n(),b2)),8)),e.B.Gc((Uu(),Tk))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function d1n(e){nj(),l(e.mf((_n(),G1)),185).Gc((Uu(),hU))&&(l(e.mf(cv),185).Ec((xu(),KT)),l(e.mf(G1),185).Kc(hU))}function Dgt(e){var t,r;t=e.d==(eT(),Wx),r=xbe(e),t&&!r||!t&&r?Te(e.a,(Be(),Kf),(mh(),FL)):Te(e.a,(Be(),Kf),(mh(),jL))}function f1n(e){var t,r,o,a;for(o=Gyn(e),xi(o,rNt),a=e.d,a.c.length=0,r=new V(o);r.a<r.c.c.length;)t=l(q(r),458),li(a,t.b)}function uY(){uY=K,W9(),TB=(Be(),vm),MIt=Wl(Z(X(ore,1),tve,149,0,[vL,od,o2,ym,ev,_te,ok,sk,xte,GI,Qy,$1,tv]))}function h1n(e,t){var r;return r=l(Au(e,ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r.Oc(Iot(r.gc()))}function Td(e,t){var r,o,a;return e.f>0&&(e.Zj(),o=t==null?0:Rr(t),a=(o&sr)%e.d.length,r=mme(e,a,o,t),r)?r.kd():null}function Lgt(e,t){var r,o,a;return ae(t,45)?(r=l(t,45),o=r.jd(),a=py(e.Pc(),o),rp(a,r.kd())&&(a!=null||e.Pc()._b(o))):!1}function Pa(e,t,r){var o,a,u;return e.Nj()?(o=e.i,u=e.Oj(),D6(e,o,t),a=e.Gj(3,null,t,o,u),r?r.lj(a):r=a):D6(e,e.i,t),r}function p1n(e,t,r){var o,a;return o=new cp(e.e,4,10,(a=t.c,ae(a,89)?l(a,29):(_t(),Ml)),null,gg(e,t),!1),r?r.lj(o):r=o,r}function g1n(e,t,r){var o,a;return o=new cp(e.e,3,10,null,(a=t.c,ae(a,89)?l(a,29):(_t(),Ml)),gg(e,t),!1),r?r.lj(o):r=o,r}function Mgt(e){wy();var t;return(e.q?e.q:(At(),At(),xh))._b((Be(),ow))?t=l(F(e,ow),205):t=l(F(ji(e),zI),205),t}function v1(e){jf();var t,r;return r=Dn(e),t=Dn(Rb(e,32)),t!=0?new sct(r,t):r>10||r<0?new ap(1,r):txt[r]}function Pgt(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!l(e.b,52).Gh())return!0;return e.b=null,!1}else return!0}function jgt(e,t,r){kft(),FZe.call(this),this.a=Yw(Axt,[Pe,wwe],[599,219],0,[b$,eee],2),this.c=new wS,this.g=e,this.f=t,this.d=r}function Fgt(e){this.e=we(Rn,Qn,30,e.length,15,1),this.c=we(uu,Ad,30,e.length,16,1),this.b=we(uu,Ad,30,e.length,16,1),this.f=0}function b1n(e){var t,r;for(e.j=we(Ki,Jo,30,e.p.c.length,15,1),r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),e.j[t.p]=t.o.b/e.i}function $gt(e,t){var r,o;e.a=Ao(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d+=t,r=t-e.f,o=e.e+r,e.f=o-e.e-r,e.e=o}function m1n(e,t){t.Tg("Min Size Postprocessing",1),Vn(e,(yh(),iv),b.Math.max(ue(ce(ve(e,iv))),ue(ce(ve(e,u4))))),t.Ug()}function Bgt(e,t){e.Vj();try{e.d._c(e.e++,t),e.f=e.d.j,e.g=-1}catch(r){throw r=ci(r),ae(r,99)?Y(new $c):Y(r)}}function cY(){cY=K,$re=new lqe,R3e=new dqe,O3e=new fqe,D3e=new hqe,L3e=new pqe,M3e=new gqe,P3e=new bqe,j3e=new mqe,F3e=new wqe}function D1e(){D1e=K,XNe=new xb(15),vDt=new Mi((_n(),df),XNe),SDt=new Mi(Od,15),EDt=new Mi(vre,Re(0)),yDt=new Mi(gk,bx)}function Zj(){Zj=K,s4=new Kq("P1_WIDTH_APPROXIMATION",0),GB=new Kq("P2_PACKING",1),Sne=new Kq("P3_WHITESPACE_ELIMINATION",2)}function $6(e,t){var r,o;for(o=t.length,r=0;r<o;r+=2)Sa(e,(Yt(r,t.length),t.charCodeAt(r)),(Yt(r+1,t.length),t.charCodeAt(r+1)))}function Ugt(e,t,r){var o,a,u,f;for(u=t-e.e,f=r-e.f,a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),175),U6(o,o.s+u,o.t+f);e.e=t,e.f=r}function w1n(e,t){var r,o,a,u;for(u=t.b.b,e.a=new Ar,e.b=we(Rn,Qn,30,u,15,1),r=0,a=An(t.b,0);a.b!=a.d.c;)o=l(Sn(a),41),o.g=r++}function by(e,t){var r,o;return o=null,gr(e,(Be(),EB))&&(r=l(F(e,EB),105),r.nf(t)&&(o=r.mf(t))),o==null&&(o=F(ji(e),t)),o}function dC(e,t){var r;Vkn(t),r=l(F(e,(Be(),hB)),286),r&&Te(e,hB,mmn(r)),ng(e.c),ng(e.f),Tpe(e.d),Tpe(l(F(e,wB),216))}function lY(e,t){var r;return gs(e)&&gs(t)&&(r=e%t,SD<r&&r<nm)?r:p1((j0e(gs(e)?vl(e):e,gs(t)?vl(t):t,!0),O1))}function L1e(e,t,r){var o,a,u,f,p;return f=e.k,p=t.k,o=r[f.g][p.g],a=ce(by(e,o)),u=ce(by(t,o)),b.Math.max((Mt(a),a),(Mt(u),u))}function M1e(e,t,r){var o,a;o=l(wa(xk,t),122),a=l(wa($4,t),122),r?(ns(xk,e,o),ns($4,e,a)):(ns($4,e,o),ns(xk,e,a))}function Hgt(e,t){var r,o,a,u;return r=t>>5,t&=31,a=e.d+r+(t==0?0:1),o=we(Rn,Qn,30,a,15,1),mwn(o,e.a,r,t),u=new Ob(e.e,a,o),F3(u),u}function $_(e,t,r){var o,a,u;for(a=null,u=e.b;u;){if(o=e.a.Le(t,u.d),r&&o==0)return u;o>=0?u=u.a[1]:(a=u,u=u.a[0])}return a}function B6(e,t,r){var o,a,u;for(a=null,u=e.b;u;){if(o=e.a.Le(t,u.d),r&&o==0)return u;o<=0?u=u.a[0]:(a=u,u=u.a[1])}return a}function zgt(e,t,r){var o,a,u,f;for(a=l(Ht(e.b,r),172),o=0,f=new V(t.j);f.a<f.c.c.length;)u=l(q(f),114),a[u.d.p]&&++o;return o}function y1n(e,t,r,o){var a,u,f;return a=!1,hkn(e.f,r,o)&&(G1n(e.f,e.a[t][r],e.a[t][o]),u=e.a[t],f=u[o],u[o]=u[r],u[r]=f,a=!0),a}function v1n(e,t){var r,o,a;for(o=new $t(qt(Or(e).a.Jc(),new D));an(o);)if(r=l(en(o),17),a=r.d.i,a.c==t)return!1;return!0}function E1n(e){var t;t=e.a;do t=l(en(new $t(qt(Or(t).a.Jc(),new D))),17).d.i,t.k==(zt(),gi)&&Fe(e.e,t);while(t.k==(zt(),gi))}function dY(e){var t;e.c!=0&&(t=l(ze(e.a,e.b),296),t.b==1?(++e.b,e.b<e.a.c.length&&qKe(l(ze(e.a,e.b),296))):--t.b,--e.c)}function Ggt(e){var t,r,o,a,u;if(e==null)return null;for(u=new je,r=zK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(u,Ta(t,!0));return u}function qgt(e){var t,r,o,a,u;if(e==null)return null;for(u=new je,r=zK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(u,Ta(t,!0));return u}function Vgt(e){var t,r,o,a,u;if(e==null)return null;for(u=new je,r=zK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(u,Ta(t,!0));return u}function Wgt(e){var t,r;return t=l(Vt(e.a,4),131),t!=null?(r=we(Mre,wQ,420,t.length,0,1),ua(t,0,r,0,t.length),r):qDt}function fY(e,t){for(var r=0;!t[r]||t[r]=="";)r++;for(var o=t[r++];r<t.length;r++)!t[r]||t[r]==""||(o+=e+t[r]);return o}function Mf(e,t,r){var o,a,u,f;for(u=t+r,io(t,u,e.length),f="",a=t;a<u;)o=b.Math.min(a+1e4,u),f+=aan(e.slice(a,o)),a=o;return f}function S1n(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function sc(){sc=K,XL=new S8("PORTS",0),xm=new S8("PORT_LABELS",1),JL=new S8("NODE_LABELS",2),hv=new S8("MINIMUM_SIZE",3)}function bp(){bp=K,B1=new f8(_d,0),f_e=new f8("NODES_AND_EDGES",1),$te=new f8("PREFER_EDGES",2),Bte=new f8("PREFER_NODES",3)}function T1n(e,t){return Ud(),Ud(),Yl(wg),(b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t)))>0}function P1e(e,t){return Ud(),Ud(),Yl(wg),(b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t)))<0}function Kgt(e,t){return Ud(),Ud(),Yl(wg),(b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t)))<=0}function j1e(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 F1e(e,t,r,o,a,u){this.a=e,this.c=t,this.b=r,this.f=o,this.d=a,this.e=u,this.c>0&&this.b>0&&(this.g=sP(this.c,this.b,this.a))}function A1n(e,t){var r=e.a,o;t=String(t),r.hasOwnProperty(t)&&(o=r[t]);var a=(LK(),HQ)[typeof o],u=a?a(o):n1e(typeof o);return u}function B_(e){var t,r,o;if(o=null,t=qf in e.a,r=!t,r)throw Y(new xf("Every element must have an id."));return o=nT(op(e,qf)),o}function N0(e){var t,r;for(r=Amt(e),t=null;e.c==2;)dr(e),t||(t=(fr(),fr(),new b3(2)),em(t,r),r=t),r.Hm(Amt(e));return r}function Qj(e,t){var r,o,a;return e.Zj(),o=t==null?0:Rr(t),a=(o&sr)%e.d.length,r=mme(e,a,o,t),r?(Gft(e,r),r.kd()):null}function Ygt(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*Vge(e.a,t.a,e.d)}function Jgt(e){return e>=48&&e<48+b.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function _1n(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Y(new jt("Input edge is not connected to the input port."))}function Pf(e,t){if(e.a<0)throw Y(new es("Did not call before(...) or after(...) before calling add(...)."));return Lde(e,e.a,t),e}function Xgt(e,t){var r,o,a;if(e.c)Ub(e.c,t);else for(r=t-ec(e),a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),168),Xgt(o,ec(o)+r)}function Zgt(e,t){var r,o,a;if(e.c)Hb(e.c,t);else for(r=t-hu(e),a=new V(e.d);a.a<a.c.c.length;)o=l(q(a),168),Zgt(o,hu(o)+r)}function $1e(e){return PP(),ae(e,167)?l(Ht(a5,sxt),297).Qg(e):ma(a5,rc(e))?l(Ht(a5,rc(e)),297).Qg(e):null}function Ha(e){var t,r;return e.Db&32||(r=(t=l(Vt(e,16),29),ln(t||e.fi())-ln(e.fi())),r!=0&&KS(e,32,we(Ii,Rt,1,r,5,1))),e}function KS(e,t,r){var o;e.Db&t?r==null?Yvn(e,t):(o=DY(e,t),o==-1?e.Eb=r:ii(HS(e.Eb),o,r)):r!=null&&wSn(e,t,r)}function x1n(e,t,r,o){var a,u;t.c.length!=0&&(a=f2n(r,o),u=mvn(t),ei(dj(new Et(null,new St(u,1)),new cHe),new dat(e,r,a,o)))}function k1n(e,t){var r,o,a,u;return o=e.a.length-1,r=t-e.b&o,u=e.c-t&o,a=e.c-e.b&o,Brt(r<a),r>=u?(Lpn(e,t),-1):(Dpn(e,t),1)}function N1n(e,t){var r,o;for(r=(Yt(t,e.length),e.charCodeAt(t)),o=t+1;o<e.length&&(Yt(o,e.length),e.charCodeAt(o)==r);)++o;return o-t}function B1e(e){var t,r;switch(r=e.Nc(),r.length){case 0:return oP(),FQ;case 1:return t=r[0],new AV(kn(t));default:return new DW(Pgn(r))}}function U1e(e){switch(typeof e){case WJ:return lg(e);case ewe:return mS(e);case uT:return cit(e);default:return e==null?0:s0(e)}}function C1n(e){if(e7(Ix,e))return Lt(),Bx;if(e7(JZ,e))return Lt(),D1;throw Y(new jt("Expecting true or false"))}function I1n(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:Rr(e)-Rr(t)}function Qgt(e,t){var r;return be(t)===be(e)?!0:!ae(t,24)||(r=l(t,24),r.gc()!=e.gc())?!1:e.Hc(r)}function e7(e,t){return Mt(e),t==null?!1:wt(e,t)?!0:e.length==t.length&&wt(e.toLowerCase(),t.toLowerCase())}function my(e){var t,r;return Ea(e,-129)>0&&Ea(e,128)<0?(Fot(),t=Dn(e)+128,r=n2e[t],!r&&(r=n2e[t]=new uce(e)),r):new uce(e)}function YS(){YS=K,TI=new a8(_d,0),q2e=new a8("INSIDE_PORT_SIDE_GROUPS",1),pee=new a8("GROUP_MODEL_ORDER",2),gee=new a8(MX,3)}function t7(e){var t,r,o;if(o=e.Gh(),!o)for(t=0,r=e.Mh();r;r=r.Mh()){if(++t>vX)return r.Nh();if(o=r.Gh(),o||r==e)break}return o}function R1n(e){var t;return e.b||JQt(e,(t=irn(e.e,e.a),!t||!wt(JZ,Td((!t.b&&(t.b=new Zu((_t(),Ro),zs,t)),t.b),"qualified")))),e.c}function O1n(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)if(t=l(q(r),70),Ye(Ke(F(t,(Be(),i2)))))return!0;return!1}function D1n(e,t){NW();var r,o;for(o=new $t(qt(Lf(e).a.Jc(),new D));an(o);)if(r=l(en(o),17),r.d.i==t||r.c.i==t)return r;return null}function e1t(e,t,r){var o,a,u;for(u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),227),o=new D8(l(Ht(e.a,a.b),68)),Fe(t.a,o),e1t(e,o,a)}function t1t(e,t,r){var o,a,u;o=t.c.p,u=t.p,e.b[o][u]=new _at(e,t),r&&(e.a[o][u]=new yJe(t),a=l(F(t,(Ie(),tw)),9),a&&yt(e.d,a,t))}function L1n(e,t,r){var o;e.a=r,e.a.Tg(aTt,1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),Y0t(e,o)),e.a.Ug()}function n1t(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),or)),o!=null)?o:t.ve()}function M1n(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),or)),o!=null)?o:t.ve()}function P1n(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function j1n(e,t,r,o){o==e,l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68).c.b,kpe(o,t,e)}function H1e(e,t,r){t.b=b.Math.max(t.b,-r.a),t.c=b.Math.max(t.c,r.a-e.a),t.d=b.Math.max(t.d,-r.b),t.a=b.Math.max(t.a,r.b-e.b)}function F1n(e,t,r){var o,a,u;return o=l(oe(Fu(e.a),t),88),u=(a=o.c,a||(_t(),bf)),(u.Sh()?w1(e.b,l(u,52)):u)==r?z7(o):w_(o,r),u}function z1e(e,t,r){this.c=e,this.f=new je,this.e=new ro,this.j=new Hfe,this.n=new Hfe,this.b=t,this.g=new ql(t.c,t.d,t.b,t.a),this.a=r}function hY(e){var t,r,o,a;for(this.a=new uh,this.d=new hi,this.e=0,r=e,o=0,a=r.length;o<a;++o)t=r[o],!this.f&&(this.f=t),PW(this,t)}function r1t(e){jf(),e.length==0?(this.e=0,this.d=1,this.a=Z(X(Rn,1),Qn,30,15,[0])):(this.e=1,this.d=e.length,this.a=e,F3(this))}function fC(e,t,r){FZe.call(this),this.a=we(Axt,wwe,219,(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])).length,0,1),this.b=e,this.d=t,this.c=r}function $1n(e){var t,r,o,a,u,f;for(f=l(F(e,(Ie(),mr)),12),Te(f,ek,e.i.n.b),t=Df(e.e),o=t,a=0,u=o.length;a<u;++a)r=o[a],Ji(r,f)}function B1n(e){var t,r,o,a,u,f;for(r=l(F(e,(Ie(),mr)),12),Te(r,ek,e.i.n.b),t=Df(e.g),a=t,u=0,f=a.length;u<f;++u)o=a[u],bo(o,r)}function U1n(e,t){var r,o,a,u;for(o=0,a=t.gc();o<a;++o)r=t.Rl(o),ae(r,104)&&l(r,20).Bb&Ws&&(u=t.Sl(o),u!=null&&TJ(e,l(u,57)))}function H1n(){var e;return u$!=0&&(e=Date.now(),e-q_t>2e3&&(q_t=e,c$=b.setTimeout(ren,10))),u$++==0?(afn((Wce(),VEe)),!0):!1}function z1n(e,t,r){var o;(hxt?(Ygn(e),!0):pxt||bxt?(GA(),!0):gxt&&(GA(),!1))&&(o=new Qit(t),o.b=r,Ywn(e,o))}function pY(e,t){var r;r=!e.A.Gc((sc(),xm))||e.q==(qi(),fa),e.u.Gc((xu(),Rp))?r?TNn(e,t):hEt(e,t):e.u.Gc(K1)&&(r?qkn(e,t):NEt(e,t))}function i1t(e){var t;be(ve(e,(_n(),h2)))===be((pp(),cU))&&(Br(e)?(t=l(ve(Br(e),h2),348),Vn(e,h2,t)):Vn(e,h2,T4))}function G1n(e,t,r){var o,a;YY(e.e,t,r,(He(),Kt)),YY(e.i,t,r,Qt),e.a&&(a=l(F(t,(Ie(),mr)),12),o=l(F(r,mr),12),MW(e.g,a,o))}function o1t(e,t,r){return new ql(b.Math.min(e.a,t.a)-r/2,b.Math.min(e.b,t.b)-r/2,b.Math.abs(e.a-t.a)+r,b.Math.abs(e.b-t.b)+r)}function q1n(e,t){var r,o;return r=na(e.a.c.p,t.a.c.p),r!=0?r:(o=na(e.a.d.i.p,t.a.d.i.p),o!=0?o:na(t.a.d.p,e.a.d.p))}function V1n(e,t,r){var o,a,u,f;return u=t.j,f=r.j,u!=f?u.g-f.g:(o=e.f[t.p],a=e.f[r.p],o==0&&a==0?0:o==0?-1:a==0?1:yr(o,a))}function s1t(e){var t;this.d=new je,this.j=new ro,this.g=new ro,t=e.g.b,this.f=l(F(ji(t),(Be(),xc)),87),this.e=ue(ce(i7(t,ev)))}function a1t(e){this.d=new je,this.e=new d1,this.c=we(Rn,Qn,30,(He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,15,1),this.b=e}function G1e(e,t,r){var o;switch(o=r[e.g][t],e.g){case 1:case 3:return new Me(0,o);case 2:case 4:return new Me(o,0);default:return null}}function W1n(e,t){var r;if(r=pE(e.o,t),r==null)throw Y(new xf("Node did not exist in input."));return zme(e,t),yJ(e,t),Dme(e,t,r),null}function u1t(e,t,r){var o,a;a=l(JO(t.f),207);try{a.kf(e,r),whe(t.f,a)}catch(u){throw u=ci(u),ae(u,102)?(o=u,Y(o)):Y(u)}}function c1t(e,t,r){var o,a,u,f,p,m;return o=null,p=B0e(W3(),t),u=null,p&&(a=null,m=F0e(p,r),f=null,m!=null&&(f=e.of(p,m)),a=f,u=a),o=u,o}function gY(e,t,r,o){var a;if(a=e.length,t>=a)return a;for(t=t>0?t:0;t<a&&!MK((Yt(t,e.length),e.charCodeAt(t)),r,o);t++);return t}function Yd(e,t){var r,o;for(o=e.c.length,t.length<o&&(t=$9(new Array(o),t)),r=0;r<o;++r)ii(t,r,e.c[r]);return t.length>o&&ii(t,o,null),t}function l1t(e,t){var r,o;for(o=e.a.length,t.length<o&&(t=$9(new Array(o),t)),r=0;r<o;++r)ii(t,r,e.a[r]);return t.length>o&&ii(t,o,null),t}function K1n(e){var t;if(e==null)return null;if(t=FEn(Ta(e,!0)),t==null)throw Y(new lq("Invalid hexBinary value: '"+e+"'"));return t}function n7(e,t,r){var o;t.a.length>0&&(Fe(e.b,new fot(t.a,r)),o=t.a.length,0<o?t.a=yl(t.a,0,0):0>o&&(t.a+=urt(we(al,Bf,30,-o,15,1))))}function d1t(e,t,r){var o,a,u;if(!r[t.d])for(r[t.d]=!0,a=new V(wE(t));a.a<a.c.c.length;)o=l(q(a),220),u=Vj(o,t),d1t(e,u,r)}function f1t(e,t){var r,o,a,u;for(r=0,a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),u=o.o.a+o.d.c+o.d.b+e.j,r=b.Math.max(r,u);return r}function Jb(e,t,r){var o,a,u;return a=l(Ht(e.e,t),395),a?(u=Qde(a,r),prt(e,a),u):(o=new xfe(e,t,r),Jn(e.e,t,o),Wat(o),null)}function Y1n(e,t){var r;if(r=Ht(e.q,t),r==null)throw Y(new xf("Port did not exist in input."));return zme(e,t),yJ(e,t),Dme(e,t,r),null}function bY(){return eF(),Z(X(Xxt,1),Ce,169,0,[Yxt,Kxt,Jxt,Bxt,$xt,Uxt,Gxt,zxt,Hxt,Wxt,Vxt,qxt,jxt,Pxt,Fxt,Lxt,Dxt,Mxt,Rxt,Ixt,Oxt,tee])}function U_(e){switch(e.g){case 4:return new Me(0,-1);case 1:return new Me(1,0);case 2:return new Me(-1,0);default:return new Me(0,1)}}function mY(e){switch(e.g){case 1:return vi(),il;case 4:return vi(),as;case 2:return vi(),fs;case 3:return vi(),ff}return vi(),hf}function J1n(e){var t;switch(t=e.fj(null),t){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function Jd(){Jd=K,xt=new SO("PARENTS",0),ri=new SO("NODES",1),Rd=new SO("EDGES",2),Cg=new SO("PORTS",3),Np=new SO("LABELS",4)}function X1n(e,t,r,o){var a,u,f;return a=new cp(e.e,1,13,(f=t.c,f||(_t(),bf)),(u=r.c,u||(_t(),bf)),gg(e,t),!1),o?o.lj(a):o=a,o}function Z1n(e,t,r){var o;switch(o=r.q.getFullYear()-k1+k1,o<0&&(o=-o),t){case 1:e.a+=o;break;case 2:bh(e,o%100,2);break;default:bh(e,o,t)}}function An(e,t){var r,o;if(ry(t,e.b),t>=e.b>>1)for(o=e.c,r=e.b;r>t;--r)o=o.b;else for(o=e.a.a,r=0;r<t;++r)o=o.a;return new Zit(e,t,o)}function h1t(e){this.b=new je,this.e=new je,this.d=e,this.a=!BA(lr(new Et(null,new Zw(new Vd(e.b))),new RA(new PBe))).zd((_b(),TT))}function Q1n(e){var t;e.g&&(e.c.ig()?e.f:e.a)&&(t=e.c.ig()?e.f:e.a,Yme(t.a,e.o,!0),Yme(t.a,e.o,!1),Te(e.o,(Be(),Zr),(qi(),_m)))}function p1t(e,t){var r,o,a;a=t.d.i,o=a.k,!(o==(zt(),Xr)||o==af)&&(r=new $t(qt(Or(a).a.Jc(),new D)),an(r)&&Jn(e.k,t,l(en(r),17)))}function ebn(e,t){return dp(),yr((e.a.b==0?new Me(e.c.e.a,e.c.e.b):l(YA(e.a),8)).b,(t.a.b==0?new Me(t.c.e.a,t.c.e.b):l(YA(t.a),8)).b)}function tbn(e,t){return dp(),yr((e.a.b==0?new Me(e.c.e.a,e.c.e.b):l(YA(e.a),8)).a,(t.a.b==0?new Me(t.c.e.a,t.c.e.b):l(YA(t.a),8)).a)}function nbn(e,t){return dp(),yr((e.a.b==0?new Me(e.b.e.a,e.b.e.b):l(zl(e.a),8)).a,(t.a.b==0?new Me(t.b.e.a,t.b.e.b):l(zl(t.a),8)).a)}function rbn(e,t){return dp(),yr((e.a.b==0?new Me(e.b.e.a,e.b.e.b):l(zl(e.a),8)).b,(t.a.b==0?new Me(t.b.e.a,t.b.e.b):l(zl(t.a),8)).b)}function vE(){vE=K,V1=new AO("DISTRIBUTED",0),WL=new AO("JUSTIFIED",1),KNe=new AO("BEGIN",2),A4=new AO(px,3),YNe=new AO("END",4)}function wY(e,t){var r,o,a;return o=Nt(e.Ah(),t),r=t-e.gi(),r<0?(a=e.Fh(o),a>=0?e.Th(a):oJ(e,o)):r<0?oJ(e,o):l(o,69).uk().zk(e,e.ei(),r)}function g1t(e){var t,r,o;for(o=(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),e.o),r=o.c.Jc();r.e!=r.i.gc();)t=l(r.Wj(),45),t.kd();return s6(o)}function Ge(e){var t;if(ae(e.a,4)){if(t=$1e(e.a),t==null)throw Y(new es(dTt+e.b+"'. "+lTt+(np(u5),u5.k)+eEe));return t}else return e.a}function ibn(e){var t;if(e==null)return null;if(t=RNn(Ta(e,!0)),t==null)throw Y(new lq("Invalid base64Binary value: '"+e+"'"));return t}function rn(e){var t;try{return t=e.i.Xb(e.e),e.Vj(),e.g=e.e++,t}catch(r){throw r=ci(r),ae(r,99)?(e.Vj(),Y(new vs)):Y(r)}}function yY(e){var t;try{return t=e.c.Ti(e.e),e.Vj(),e.g=e.e++,t}catch(r){throw r=ci(r),ae(r,99)?(e.Vj(),Y(new vs)):Y(r)}}function r7(e){var t,r,o,a;for(a=0,r=0,o=e.length;r<o;r++)t=(Yt(r,e.length),e.charCodeAt(r)),t>=64&&t<128&&(a=Of(a,fh(1,t-64)));return a}function i7(e,t){var r,o;return o=null,gr(e,(_n(),qT))&&(r=l(F(e,qT),105),r.nf(t)&&(o=r.mf(t))),o==null&&ji(e)&&(o=F(ji(e),t)),o}function obn(e,t){var r;return r=l(F(e,(Be(),ss)),79),pV(t,Xkt)?r?tc(r):(r=new Lu,Te(e,ss,r)):r&&Te(e,ss,null),r}function sbn(e,t){var r,o,a;for(a=new Da(t.gc()),o=t.Jc();o.Ob();)r=l(o.Pb(),295),r.c==r.f?K_(e,r,r.c):Ayn(e,r)||Ot(a.c,r);return a}function b1t(e,t){var r,o,a;for(r=e.o,a=l(l(wr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),o.e.a=cmn(o,r.a),o.e.b=r.b*ue(ce(o.b.mf(m$)))}function abn(e,t){var r,o,a,u;return a=e.k,r=ue(ce(F(e,(Ie(),nw)))),u=t.k,o=ue(ce(F(t,nw))),u!=(zt(),mi)?-1:a!=mi?1:r==o?0:r<o?-1:1}function ubn(e,t){var r,o;return r=l(l(Ht(e.g,t.a),49).a,68),o=l(l(Ht(e.g,t.b),49).a,68),f1(t.a,t.b)-f1(t.a,fde(r.b))-f1(t.b,fde(o.b))}function H_(e,t){var r,o;if(++e.j,t!=null&&(r=(o=e.a.Cb,ae(o,101)?l(o,101).qh():null),Fvn(t,r))){KS(e.a,4,r);return}KS(e.a,4,l(t,131))}function o7(e){switch(mle(),this.c=new je,this.d=e,e.g){case 0:case 2:this.a=vhe(G2e),this.b=Kr;break;case 3:case 1:this.a=G2e,this.b=Li}}function cbn(e){var t;AS(l(F(e,(Be(),Zr)),103))&&(t=e.b,p0t((at(0,t.c.length),l(t.c[0],26))),p0t(l(ze(t,t.c.length-1),26)))}function lbn(e,t){t.Tg("Self-Loop post-processing",1),ei(lr(lr(bs(new Et(null,new St(e.b,16)),new L$e),new M$e),new P$e),new j$e),t.Ug()}function m1t(e,t,r){var o,a;if(e.c)va(e.c,e.c.i+t),gu(e.c,e.c.j+r);else for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),168),m1t(o,t,r)}function dbn(e){var t,r,o;for(o=e.c.a,e.p=(kn(o),new Tu(o)),r=new V(o);r.a<r.c.c.length;)t=l(q(r),9),t.p=Wyn(t).a;At(),xi(e.p,new NUe)}function fbn(e,t){var r,o;if(e.j.length!=t.j.length)return!1;for(r=0,o=e.j.length;r<o;r++)if(!wt(e.j[r],t.j[r]))return!1;return!0}function w1t(e,t){At();var r,o,a,u;for(r=e,u=t,ae(e,24)&&!ae(t,24)&&(r=t,u=e),a=r.Jc();a.Ob();)if(o=a.Pb(),u.Gc(o))return!1;return!0}function hbn(e,t,r,o){if(t.a<o.a)return!0;if(t.a==o.a){if(t.b<o.b)return!0;if(t.b==o.b&&e.b>r.b)return!0}return!1}function y1t(e){var t;return t=new Zg,t.a+="n",e.k!=(zt(),Xr)&&zn(zn((t.a+="(",t),yV(e.k).toLowerCase()),")"),zn((t.a+="_",t),z6(e)),t.a}function hC(){hC=K,o_e=new mO(nve,0),jte=new mO(BX,1),Fte=new mO("LINEAR_SEGMENTS",2),VI=new mO("BRANDES_KOEPF",3),WI=new mO(CSt,4)}function JS(){JS=K,LB=new p8("P1_TREEIFICATION",0),e4=new p8("P2_NODE_ORDERING",1),t4=new p8("P3_NODE_PLACEMENT",2),n4=new p8(jSt,3)}function XS(e,t,r,o){var a;return r>=0?e.Ph(t,r,o):(e.Mh()&&(o=(a=e.Ch(),a>=0?e.xh(o):e.Mh().Qh(e,-1-a,null,o))),e.zh(t,r,o))}function q1e(e,t){switch(t){case 7:!e.e&&(e.e=new Tt(Ir,e,7,4)),vn(e.e);return;case 8:!e.d&&(e.d=new Tt(Ir,e,8,5)),vn(e.d);return}I1e(e,t)}function Vn(e,t,r){return r==null?(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),Qj(e.o,t)):(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),V6(e.o,t,r)),e}function sa(e,t){var r;r=e.dd(t);try{return r.Pb()}catch(o){throw o=ci(o),ae(o,113)?Y(new Ia("Can't get element "+t)):Y(o)}}function v1t(e,t){var r;switch(r=l(Wo(e.b,t),129).n,t.g){case 1:e.t>=0&&(r.d=e.t);break;case 3:e.t>=0&&(r.a=e.t)}e.C&&(r.b=e.C.b,r.c=e.C.c)}function pbn(e){var t;t=e.a;do t=l(en(new $t(qt(si(t).a.Jc(),new D))),17).c.i,t.k==(zt(),gi)&&e.b.Ec(t);while(t.k==(zt(),gi));e.b=oc(e.b)}function E1t(e,t){var r,o,a;for(a=e,o=new $t(qt(si(t).a.Jc(),new D));an(o);)r=l(en(o),17),r.c.i.c&&(a=b.Math.max(a,r.c.i.c.p));return a}function gbn(e,t){var r,o,a;for(a=0,o=l(l(wr(e.r,t),24),85).Jc();o.Ob();)r=l(o.Pb(),116),a+=r.d.d+r.b.Kf().b+r.d.a,o.Ob()&&(a+=e.w);return a}function bbn(e,t){var r,o,a;for(a=0,o=l(l(wr(e.r,t),24),85).Jc();o.Ob();)r=l(o.Pb(),116),a+=r.d.b+r.b.Kf().a+r.d.c,o.Ob()&&(a+=e.w);return a}function S1t(e){var t,r,o,a;if(o=0,a=Ay(e),a.c.length==0)return 1;for(r=new V(a);r.a<r.c.c.length;)t=l(q(r),19),o+=S1t(t);return o}function T1t(e){var t,r;for(this.b=new je,this.c=e,this.a=!1,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),9),this.a=this.a|t.k==(zt(),Xr)}function mbn(e,t,r){var o,a,u,f;return o=e.bd(t),o!=-1&&(e.Nj()?(u=e.Oj(),f=rP(e,o),a=e.Gj(4,f,null,o,u),r?r.lj(a):r=a):rP(e,o)),r}function _o(e,t,r){var o,a,u,f;return o=e.bd(t),o!=-1&&(e.Nj()?(u=e.Oj(),f=ZS(e,o),a=e.Gj(4,f,null,o,u),r?r.lj(a):r=a):ZS(e,o)),r}function wbn(e,t,r,o){var a,u,f;r.Uh(t)&&(Lo(),uK(t)?(a=l(r.Jh(t),164),U1n(e,a)):(u=(f=t,f?l(o,52).di(f):null),u&&GZt(r.Jh(t),u)))}function s7(e,t,r,o){var a,u,f;return u=Nt(e.Ah(),t),a=t-e.gi(),a<0?(f=e.Fh(u),f>=0?e.Ih(f,r,!0):O0(e,u,r)):l(u,69).uk().wk(e,e.ei(),a,r,o)}function ybn(e,t,r,o){var a,u;u=t.nf((_n(),g2))?l(t.mf(g2),24):e.j,a=dgn(u),a!=(eF(),tee)&&(r&&!j1e(a)||Ybe($En(e,a,o),t))}function vY(e,t){return zi(e)?!!F_t[t]:e.Qm?!!e.Qm[t]:Uw(e)?!!j_t[t]:Bw(e)?!!P_t[t]:!1}function vbn(e){switch(e.g){case 1:return A0(),eL;case 3:return A0(),QD;case 2:return A0(),ree;case 4:return A0(),nee;default:return null}}function Ebn(e,t,r){if(e.e)switch(e.b){case 1:Oan(e.c,t,r);break;case 0:Dan(e.c,t,r)}else Dct(e.c,t,r);e.a[t.p][r.p]=e.c.i,e.a[r.p][t.p]=e.c.e}function A1t(e){var t,r;if(e==null)return null;for(r=we(Nh,Pe,201,e.length,0,2),t=0;t<r.length;t++)r[t]=l($ln(e[t],e[t].length),201);return r}function _1t(e){var t;t=l(F(e,(js(),txe)),100),Te(e,(Nr(),ck),new Me(0,0)),Iyt(new i6,e,t.b-ue(ce(F(e,tne))),t.d-ue(ce(F(e,nne))))}function a7(e){var t;if(UK(e))return pP(e),e.sl()&&(t=TC(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 Y(new vs)}function x1t(e,t,r){r.Tg("Compound graph preprocessor",1),e.a=new b0,cEt(e,t,null),rxn(e,t),x2n(e),Te(t,(Ie(),mTe),e.a),e.a=null,Zs(e.b),r.Ug()}function k1t(e,t,r){var o,a,u;for(a=new $t(qt((t?si(e):Or(e)).a.Jc(),new D));an(a);)o=l(en(a),17),u=t?o.c.i:o.d.i,u.k==(zt(),ta)&&Oi(u,r)}function Sbn(e,t){var r,o,a;for(t.Tg("Untreeify",1),r=l(F(e,(Nr(),V_e)),16),a=r.Jc();a.Ob();)o=l(a.Pb(),65),Gn(o.b.d,o),Gn(o.c.b,o);t.Ug()}function N1t(e,t,r){var o,a,u;return o=t.i.j.c.length,gr(t,(Ie(),Cr))&&gr(r,Cr)?(a=D0(t,r,e.b,o),u=D0(r,t,e.b,o),a<u?-1:a>u?1:0):0}function wy(){wy=K,xB=new d8(_d,0),Mte=new d8("PORT_POSITION",1),a2=new d8("NODE_SIZE_WHERE_SPACE_PERMITS",2),s2=new d8("NODE_SIZE",3)}function mh(){mh=K,sre=new s3("AUTOMATIC",0),jL=new s3(hT,1),FL=new s3(pT,2),nU=new s3("TOP",3),eU=new s3(vwe,4),tU=new s3(px,5)}function EE(e,t,r){var o,a;if(a=e.gc(),t>=a)throw Y(new Ww(t,a));if(e.Qi()&&(o=e.bd(r),o>=0&&o!=t))throw Y(new jt(GD));return e.Vi(t,r)}function gg(e,t){var r,o,a;if(a=sbt(e,t),a>=0)return a;if(e.ml()){for(o=0;o<e.i;++o)if(r=e.nl(l(e.g[o],57)),be(r)===be(t))return o}return-1}function V1e(e,t){if(this.a=l(kn(e),257),this.b=l(kn(t),257),e.Cd(t)>0||e==(iq(),LQ)||t==(oq(),MQ))throw Y(new jt("Invalid range: "+Oct(e,t)))}function W1e(e,t,r,o){Q_();var a,u;for(a=0,u=0;u<r;u++)a=Ao(wo(Gi(t[u],$o),Gi(o,$o)),Gi(Dn(a),$o)),e[u]=Dn(a),a=Rb(a,32);return Dn(a)}function K1e(e,t,r){var o,a;for(a=0,o=0;o<eee;o++)a=b.Math.max(a,VK(e.a[t.g][o],r));return t==(Sd(),$a)&&e.b&&(a=b.Math.max(a,e.b.b)),a}function u7(e,t){var r,o;if(Mde(t>0),(t&-t)==t)return go(t*Bu(e,31)*4656612873077393e-25);do r=Bu(e,31),o=r%t;while(r-o+(t-1)<0);return go(o)}function Tbn(e,t){var r,o,a;for(r=o0(new Tb,e),a=new V(t);a.a<a.c.c.length;)o=l(q(a),126),Ql($l(Ul(Hl(Bl(new gl,0),0),r),o));return r}function U6(e,t,r){var o,a;for(Yhn(e,t-e.s,r-e.t),a=new V(e.n);a.a<a.c.c.length;)o=l(q(a),211),TZt(o,o.e+t-e.s),AZt(o,o.f+r-e.t);e.s=t,e.t=r}function Abn(e,t,r){switch(r.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 H6(e,t,r,o){var a,u;for(a=t;a<e.c.length;a++)if(u=(at(a,e.c.length),l(e.c[a],12)),r.Mb(u))Ot(o.c,u);else return a;return e.c.length}function _bn(e){var t,r,o;for(o=l(wr(e.a,(yy(),q$)),16).Jc();o.Ob();)r=l(o.Pb(),108),t=ibe(r),r_(e,r,t[0],(T0(),Z0),0),r_(e,r,t[1],Q0,1)}function xbn(e){var t,r,o;for(o=l(wr(e.a,(yy(),V$)),16).Jc();o.Ob();)r=l(o.Pb(),108),t=ibe(r),r_(e,r,t[0],(T0(),Z0),0),r_(e,r,t[1],Q0,1)}function EY(e){switch(e.g){case 0:return null;case 1:return new bht;case 2:return new zce;default:throw Y(new jt(MZ+(e.f!=null?e.f:""+e.g)))}}function C1t(e){var t;return t=ue(ce(ve(e,(_n(),dv))))*b.Math.sqrt((!e.a&&(e.a=new ke(En,e,10,11)),e.a).i),new Me(t,t/ue(ce(ve(e,mk))))}function SY(e){var t;return e.f&&e.f.Sh()&&(t=l(e.f,52),e.f=l(w1(e,t),83),e.f!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,8,t,e.f))),e.f}function TY(e){var t;return e.i&&e.i.Sh()&&(t=l(e.i,52),e.i=l(w1(e,t),83),e.i!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,7,t,e.i))),e.i}function Mo(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=l(w1(e,t),20),e.b!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,21,t,e.b))),e.b}function c7(e,t){var r,o,a;e.d==null?(++e.e,++e.f):(o=t.yi(),P2n(e,e.f+1),a=(o&sr)%e.d.length,r=e.d[a],!r&&(r=e.d[a]=e.bk()),r.Ec(t),++e.f)}function Y1e(e,t,r){var o;return t.rk()?!1:t.Gk()!=-2?(o=t.gk(),o==null?r==null:pr(o,r)):t.ok()==e.e.Ah()&&r==null}function l7(){var e;wc(16,o2t),e=oht(16),this.b=we(PQ,yD,309,e,0,1),this.c=we(PQ,yD,309,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Xd(e){nfe.call(this),this.k=(zt(),Xr),this.j=(wc(6,Iy),new Da(6)),this.b=(wc(2,Iy),new Da(2)),this.d=new QG,this.f=new jce,this.a=e}function kbn(e){var t,r,o,a,u;for(r=0,a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),126),o.d=r++;return t=Own(e),u=null,t.c.length>1&&(u=Tbn(e,t)),u}function Nbn(e){var t,r,o;for(t=0,o=new V(e.c.a);o.a<o.c.c.length;)r=l(q(o),9),t+=yd(new $t(qt(Or(r).a.Jc(),new D)));return t/e.c.a.c.length}function AY(e){var t,r;for(r=new tn(e);r.e!=r.i.gc();)if(t=l(rn(r),88),t.e||(!t.d&&(t.d=new yi(Go,t,1)),t.d).i!=0)return!0;return!1}function _Y(e){var t,r;for(r=new tn(e);r.e!=r.i.gc();)if(t=l(rn(r),88),t.e||(!t.d&&(t.d=new yi(Go,t,1)),t.d).i!=0)return!0;return!1}function I1t(e,t,r,o){var a,u,f;for(a=l(wr(o?e.a:e.b,t),24),f=a.Jc();f.Ob();)if(u=l(f.Pb(),19),$7(e,r,u))return!0;return!1}function Cbn(e,t){for(var r,o;e.Ob();)if(!t.Ob()||(r=e.Pb(),o=t.Pb(),!(be(r)===be(o)||r!=null&&pr(r,o))))return!1;return!t.Ob()}function Ibn(e){var t,r;e.c.length<=1||(t=Gwt(e,(He(),dn)),kmt(e,l(t.a,15).a,l(t.b,15).a),r=Gwt(e,Kt),kmt(e,l(r.a,15).a,l(r.b,15).a))}function Rbn(e,t,r){var o,a;for(a=e.a.b,o=a.c.length;o<r;o++)Nb(a,a.c.length,new ra(e.a));Oi(t,(at(r-1,a.c.length),l(a.c[r-1],26))),e.b[t.p]=r}function R1t(e,t){var r,o,a;for(e.b[t.g]=1,o=An(t.d,0);o.b!=o.d.c;)r=l(Sn(o),65),a=r.c,e.b[a.g]==1?Gn(e.a,r):e.b[a.g]==2?e.b[a.g]=1:R1t(e,a)}function xY(){xY=K,Nke=(bJ(),Ake),kke=new xb(8),new Mi((_n(),df),kke),new Mi(Od,8),ZOt=Ske,_ke=GOt,xke=qOt,XOt=new Mi(BL,(Lt(),!1))}function Obn(e,t,r){var o;r.Tg("Shrinking tree compaction",1),Ye(Ke(F(t,(S_(),EI))))?(Xfn(e,t.f),qdt(t.f,(o=t.c,o))):qdt(t.f,t.c),r.Ug()}function J1e(e,t,r,o){switch(t){case 7:return!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e;case 8:return!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d}return y1e(e,t,r,o)}function kY(e){var t;return e.a&&e.a.Sh()&&(t=l(e.a,52),e.a=l(w1(e,t),146),e.a!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,5,t,e.a))),e.a}function Xb(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 NY(e,t){if(e==null)throw Y(new uS("null key in entry: null="+t));if(t==null)throw Y(new uS("null value in entry: "+e+"=null"))}function O1t(e,t){var r;return r=Z(X(Ki,1),Jo,30,15,[VK(e.a[0],t),VK(e.a[1],t),VK(e.a[2],t)]),e.d&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function D1t(e,t){var r;return r=Z(X(Ki,1),Jo,30,15,[$j(e.a[0],t),$j(e.a[1],t),$j(e.a[2],t)]),e.d&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function X1e(e,t,r){AS(l(F(t,(Be(),Zr)),103))||(ape(e,t,bg(t,r)),ape(e,t,bg(t,(He(),dn))),ape(e,t,bg(t,Wt)),At(),xi(t.j,new bJe(e)))}function L1t(e){var t,r;for(e.c||jxn(e),r=new Lu,t=new V(e.a),q(t);t.a<t.c.c.length;)Gn(r,l(q(t),415).a);return un(r.b!=0),Vc(r,r.c.b),r}function Dbn(e,t,r){var o,a,u,f,p;for(p=e.r+t,e.r+=t,e.d+=r,o=r/e.n.c.length,a=0,f=new V(e.n);f.a<f.c.c.length;)u=l(q(f),211),IEn(u,p,o,a),++a}function Lbn(e){var t,r,o;for(e.b.a.$b(),e.a=we(g$,Rt,60,e.c.c.a.b.c.length,0,1),t=0,o=new V(e.c.c.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.f=t++}function Mbn(e){var t,r,o;for(e.b.a.$b(),e.a=we(lee,Rt,84,e.c.a.a.b.c.length,0,1),t=0,o=new V(e.c.a.a.b);o.a<o.c.c.length;)r=l(q(o),84),r.i=t++}function Pbn(e){var t,r,o,a,u;for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),t=0,u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),9),a.p=t++}function jbn(e,t,r){var o,a,u,f;for(f=0,o=r/e.a.c.length,u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),175),U6(a,a.s,a.t+f*o),Dbn(a,e.d-a.r+t,o),++f}function M1t(e){var t;if(t=Bpn(e),!an(e))throw Y(new Ia("position (0) must be less than the number of elements that remained ("+t+")"));return en(e)}function Fbn(e,t){var r;return e.a||(r=we(Ki,Jo,30,0,15,1),Wv(e.b.a,new tYe(r)),fZe(r,Cft(Oe.prototype.Ke,Oe,[])),e.a=new Bit(r,e.d)),QP(e.a,t)}function P1t(e){switch(e.g){case 1:return He(),Kt;case 4:return He(),Wt;case 3:return He(),Qt;case 2:return He(),dn;default:return He(),Is}}function $bn(e,t,r){t.k==(zt(),Xr)&&r.k==gi&&(e.d=JK(t,(He(),dn)),e.b=JK(t,Wt)),r.k==Xr&&t.k==gi&&(e.d=JK(r,(He(),Wt)),e.b=JK(r,dn))}function CY(e,t){var r,o,a;for(a=ks(e,t),o=a.Jc();o.Ob();)if(r=l(o.Pb(),12),F(r,(Ie(),Nu))!=null||v3(new Vd(r.b)))return!0;return!1}function Bbn(e,t,r){r.Tg("Linear segments node placement",1),e.b=l(F(t,(Ie(),t2)),317),p3n(e,t),$_n(e,t),sxn(e,t),GNn(e),e.a=null,e.b=null,r.Ug()}function Z1e(e,t){return va(t,e.e+e.d+(e.c.c.length==0?0:e.b)),gu(t,e.f),e.a=b.Math.max(e.a,t.f),e.d+=t.g+(e.c.c.length==0?0:e.b),Fe(e.c,t),!0}function Ubn(e,t){var r,o,a,u,f,p;for(a=t.length-1,f=0,p=0,o=0;o<=a;o++)u=t[o],r=eyn(a,o)*Qge(1-e,a-o)*Qge(e,o),f+=u.a*r,p+=u.b*r;return new Me(f,p)}function j1t(e,t){var r,o,a,u,f;for(r=t.gc(),e.Zi(e.i+r),u=t.Jc(),f=e.i,e.i+=r,o=f;o<e.i;++o)a=u.Pb(),w3(e,o,e.Xi(o,a)),e.Ki(o,a),e.Li();return r!=0}function Hbn(e,t,r){var o,a,u;return e.Nj()?(o=e.Cj(),u=e.Oj(),++e.j,e.oj(o,e.Xi(o,t)),a=e.Gj(3,null,t,o,u),r?r.lj(a):r=a):fit(e,e.Cj(),t),r}function zbn(e,t,r){var o,a,u;return o=l(oe(oa(e.a),t),88),u=(a=o.c,ae(a,89)?l(a,29):(_t(),Ml)),(u.Db&64?w1(e.b,u):u)==r?z7(o):w_(o,r),u}function Gbn(e){var t;return e==null?null:new o1((t=Ta(e,!0),t.length>0&&(Yt(0,t.length),t.charCodeAt(0)==43)?(Yt(1,t.length+1),t.substr(1)):t))}function qbn(e){var t;return e==null?null:new o1((t=Ta(e,!0),t.length>0&&(Yt(0,t.length),t.charCodeAt(0)==43)?(Yt(1,t.length+1),t.substr(1)):t))}function Q1e(e,t,r,o,a,u,f,p){var m,y;o&&(m=o.a[0],m&&Q1e(e,t,r,m,a,u,f,p),jY(e,r,o.d,a,u,f,p)&&t.Ec(o),y=o.a[1],y&&Q1e(e,t,r,y,a,u,f,p))}function pC(e,t){var r,o,a,u;for(u=e.gc(),t.length<u&&(t=$9(new Array(u),t)),a=t,o=e.Jc(),r=0;r<u;++r)ii(a,r,o.Pb());return t.length>u&&ii(t,u,null),t}function Vbn(e,t){var r,o;if(o=e.gc(),t==null){for(r=0;r<o;r++)if(e.Xb(r)==null)return r}else for(r=0;r<o;r++)if(pr(t,e.Xb(r)))return r;return-1}function IY(e,t){var r,o,a;return r=t.jd(),a=t.kd(),o=e.xc(r),!(!(be(a)===be(o)||a!=null&&pr(a,o))||o==null&&!e._b(r))}function Wbn(e,t){var r,o,a;return t<=22?(r=e.l&(1<<t)-1,o=a=0):t<=44?(r=e.l,o=e.m&(1<<t-22)-1,a=0):(r=e.l,o=e.m,a=e.h&(1<<t-44)-1),Ua(r,o,a)}function Kbn(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 Ybn(e,t){var r,o;switch(o=t.c,r=t.a,e.b.g){case 0:r.d=e.e-o.a-o.d;break;case 1:r.d+=e.e;break;case 2:r.c=e.e-o.a-o.d;break;case 3:r.c=e.e+o.d}}function d7(){d7=K,vne=new b8(_d,0),Nxe=new b8(bSt,1),Cxe=new b8("EDGE_LENGTH_BY_POSITION",2),kxe=new b8("CROSSING_MINIMIZATION_BY_POSITION",3)}function RY(e,t){var r,o;if(r=l(pE(e.n,t),19),r)return r;if(o=l(pE(e.p,t),127),o)return o;throw Y(new xf("Referenced shape does not exist: "+t))}function F1t(e,t){if(e.g==-1)throw Y(new lu);e.Vj();try{e.d.fd(e.g,t),e.f=e.d.j}catch(r){throw r=ci(r),ae(r,99)?Y(new $c):Y(r)}}function ebe(e,t){var r,o;if(ae(t,257)){o=l(t,257);try{return r=e.Cd(o),r==0}catch(a){if(a=ci(a),ae(a,214))return!1;throw Y(a)}}return!1}function Jbn(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Y(new jt("Node 'one' must be either source or target of edge 'edge'."))}function Xbn(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw Y(new jt("Node "+t+" is neither source nor target of edge "+e))}function Zbn(e,t,r){r.Tg("Self-Loop ordering",1),ei(Oa(lr(lr(bs(new Et(null,new St(t.b,16)),new C$e),new I$e),new R$e),new O$e),new HYe(e)),r.Ug()}function OY(e,t,r,o,a,u){var f,p,m,y,v;for(f=t0n(t,r,u),p=r==(He(),Wt)||r==Kt?-1:1,y=e[r.g],v=0;v<y.length;v++)m=y[v],m>0&&(m+=a),y[v]=f,f+=p*(m+o)}function Qbn(e){var t;for(t=0;t<e.a.c.length;t++)if(gr(l(ze(e.a,t),9),(Be(),vte))&&Ye(Ke(F(l(ze(e.a,t),9),vte))))return!0;return!1}function $1t(e){var t,r,o;for(o=e.f,e.n=we(Ki,Jo,30,o,15,1),e.d=we(Ki,Jo,30,o,15,1),t=0;t<o;t++)r=l(ze(e.c.b,t),26),e.n[t]=f1t(e,r),e.d[t]=bwt(e,r)}function B1t(e,t,r,o){var a;this.c=e,this.d=t,a=new Ar,Wr(a,r,a.c.b,a.c),this.a=a,this.b=l(F(o,(js(),uw)),87),this.e=ue(ce(F(o,ixe))),GEt(this)}function emn(e,t,r){var o,a;return e.a?a=yr(r.j,t.j):a=yr(t.j,r.j),a==0?(o=na(l(ve(t,(wh(),PL)),15).a,l(ve(r,PL),15).a),o):a}function DY(e,t){var r,o,a;for(a=0,o=2;o<t;o<<=1)e.Db&o&&++a;if(a==0){for(r=t<<=1;r<=128;r<<=1)if(e.Db&r)return 0;return-1}else return a}function U1t(e,t){var r,o,a,u,f;for(f=za(e.e.Ah(),t),u=null,r=l(e.g,123),a=0;a<e.i;++a)o=r[a],f.$l(o.Jk())&&(!u&&(u=new m9),Tn(u,o));u&&CEt(e,u)}function H1t(e){var t,r,o;if(!e)return null;if(e.dc())return"";for(o=new Xp,r=e.Jc();r.Ob();)t=r.Pb(),Vo(o,In(t)),o.a+=" ";return sV(o,o.a.length-1)}function z1t(e,t){var r=new Array(t),o;switch(e){case 14:case 15:o=0;break;case 16:o=!1;break;default:return r}for(var a=0;a<t;++a)r[a]=o;return r}function C0(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.c.$b();ep(e.d)?o=e.a.c:o=e.a.d,La(o,new fYe(e)),e.c.bf(e),Pwt(e)}function G1t(e){var t,r,o,a;for(r=new V(e.e.c);r.a<r.c.c.length;){for(t=l(q(r),292),a=new V(t.b);a.a<a.c.c.length;)o=l(q(a),448),R0e(o);S0t(t)}}function q1t(e){var t,r,o;for(o=sr,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),9),gr(t,(Ie(),Cr))&&(o=b.Math.min(o,l(F(t,Cr),15).a));return o}function f7(e){var t,r,o,a,u;for(o=0,u=0,a=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),u=b.Math.max(u,t.r),o+=t.d+(a>0?e.c:0),++a;e.b=o,e.d=u}function V1t(e,t){var r;return r=Z(X(Ki,1),Jo,30,15,[K1e(e,(Sd(),Bs),t),K1e(e,$a,t),K1e(e,Us,t)]),e.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function W1t(e){var t;gr(e,(Be(),iw))&&(t=l(F(e,iw),24),t.Gc((Ty(),ad))?(t.Kc(ad),t.Ec(ud)):t.Gc(ud)&&(t.Kc(ud),t.Ec(ad)))}function K1t(e){var t;gr(e,(Be(),iw))&&(t=l(F(e,iw),24),t.Gc((Ty(),ld))?(t.Kc(ld),t.Ec(Il)):t.Gc(Il)&&(t.Kc(Il),t.Ec(ld)))}function LY(e,t,r,o){var a,u,f,p;return e.a==null&&Qwn(e,t),f=t.b.j.c.length,u=r.d.p,p=o.d.p,a=p-1,a<0&&(a=f-1),u<=a?e.a[a]-e.a[u]:e.a[f-1]-e.a[u]+e.a[a]}function tmn(e){var t;for(t=0;t<e.a.c.length;t++)if(gr(l(ze(e.a,t),9),(Be(),Ete))&&!Ye(Ke(F(l(ze(e.a,t),9),Ete))))return!1;return!0}function nmn(e,t,r){var o,a,u,f,p;for(u=e.c,p=r?t:e,o=r?e:t,a=p.p+1;a<o.p;++a)if(f=l(ze(u.a,a),9),!(f.k==(zt(),af)||Umn(f)))return!1;return!0}function rmn(e){var t,r;if(!e.b)for(e.b=$P(l(e.f,19).jh().i),r=new tn(l(e.f,19).jh());r.e!=r.i.gc();)t=l(rn(r),158),Fe(e.b,new uq(t));return e.b}function imn(e){var t,r;if(!e.e)for(e.e=$P(She(l(e.f,19)).i),r=new tn(She(l(e.f,19)));r.e!=r.i.gc();)t=l(rn(r),127),Fe(e.e,new vXe(t));return e.e}function Y1t(e){var t,r;if(!e.a)for(e.a=$P(kP(l(e.f,19)).i),r=new tn(kP(l(e.f,19)));r.e!=r.i.gc();)t=l(rn(r),19),Fe(e.a,new B8(e,t));return e.a}function I0(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=jkn(e),t)e.fl(t);else try{e.fl(null)}catch(r){if(r=ci(r),!ae(r,63))throw Y(r)}return e.C}function omn(e){switch(e.q.g){case 5:Sbt(e,(He(),Wt)),Sbt(e,dn);break;case 4:Bvt(e,(He(),Wt)),Bvt(e,dn);break;default:Dmt(e,(He(),Wt)),Dmt(e,dn)}}function smn(e){switch(e.q.g){case 5:Tbt(e,(He(),Qt)),Tbt(e,Kt);break;case 4:Uvt(e,(He(),Qt)),Uvt(e,Kt);break;default:Lmt(e,(He(),Qt)),Lmt(e,Kt)}}function SE(e,t){var r,o,a;for(a=new ro,o=e.Jc();o.Ob();)r=l(o.Pb(),37),ex(r,a.a,0),a.a+=r.f.a+t,a.b=b.Math.max(a.b,r.f.b);return a.b>0&&(a.b+=t),a}function h7(e,t){var r,o,a;for(a=new ro,o=e.Jc();o.Ob();)r=l(o.Pb(),37),ex(r,0,a.b),a.b+=r.f.b+t,a.a=b.Math.max(a.a,r.f.a);return a.a>0&&(a.a+=t),a}function J1t(e,t){var r,o;if(t.length==0)return 0;for(r=lW(e.a,t[0],(He(),Kt)),r+=lW(e.a,t[t.length-1],Qt),o=0;o<t.length;o++)r+=Hwn(e,o,t);return r}function X1t(){NC(),this.c=new je,this.i=new je,this.e=new uh,this.f=new uh,this.g=new uh,this.j=new je,this.a=new je,this.b=new hn,this.k=new hn}function MY(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,5,Dd,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||e.fi()),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function amn(e){l_();var t=e.e;if(t&&t.stack){var r=t.stack,o=t+`
`;return r.substring(0,o.length)==o&&(r=r.substring(o.length)),r.split(`
`)}return[]}function umn(e){var t;return t=(nht(),J_t),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 Z1t(e){var t,r,o;e.b==e.c&&(o=e.a.length,r=Pge(b.Math.max(8,o))<<1,e.b!=0?(t=Gl(e.a,r),uht(e,t,o),e.a=t,e.b=0):Mw(e.a,r),e.c=o)}function cmn(e,t){var r;return r=e.b,r.nf((_n(),zu))?r.$f()==(He(),Kt)?-r.Kf().a-ue(ce(r.mf(zu))):t+ue(ce(r.mf(zu))):r.$f()==(He(),Kt)?-r.Kf().a:t}function z6(e){var t;return e.b.c.length!=0&&l(ze(e.b,0),70).a?l(ze(e.b,0),70).a:(t=wW(e),t??""+(e.c?_s(e.c.a,e,0):-1))}function p7(e){var t;return e.f.c.length!=0&&l(ze(e.f,0),70).a?l(ze(e.f,0),70).a:(t=wW(e),t??""+(e.i?_s(e.i.j,e,0):-1))}function lmn(e,t){var r,o;if(t<0||t>=e.gc())return null;for(r=t;r<e.gc();++r)if(o=l(e.Xb(r),134),r==e.gc()-1||!o.o)return new ko(Re(r),o);return null}function tbe(e){var t,r,o,a,u;for(u=0,a=Li,o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),u+=t.r+(o>0?e.c:0),a=b.Math.max(a,t.d),++o;e.e=u,e.b=a}function dmn(e){var t,r;if(!e.b)for(e.b=$P(l(e.f,127).jh().i),r=new tn(l(e.f,127).jh());r.e!=r.i.gc();)t=l(rn(r),158),Fe(e.b,new uq(t));return e.b}function fmn(e,t){var r,o,a;if(t.dc())return JA(),JA(),c5;for(r=new pit(e,t.gc()),a=new tn(e);a.e!=a.i.gc();)o=rn(a),t.Gc(o)&&Tn(r,o);return r}function nbe(e,t,r,o){return t==0?o?(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),e.o):(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),s6(e.o)):s7(e,t,r,o)}function PY(e){var t,r;if(e.rb)for(t=0,r=e.rb.i;t<r;++t)OO(oe(e.rb,t));if(e.vb)for(t=0,r=e.vb.i;t<r;++t)OO(oe(e.vb,t));_3((mu(),ao),e),e.Bb|=1}function Mr(e,t,r,o,a,u,f,p,m,y,v,T,N,O){return $mt(e,t,o,null,a,u,f,p,m,y,N,!0,O),b1e(e,v),ae(e.Cb,89)&&Sy(Pu(l(e.Cb,89)),2),r&&hge(e,r),g1e(e,T),e}function hmn(e){var t,r;if(e==null)return null;r=0;try{r=Ec(e,Qi,sr)&Ei}catch(o){if(o=ci(o),ae(o,133))t=aj(e),r=t[0];else throw Y(o)}return A6(r)}function pmn(e){var t,r;if(e==null)return null;r=0;try{r=Ec(e,Qi,sr)&Ei}catch(o){if(o=ci(o),ae(o,133))t=aj(e),r=t[0];else throw Y(o)}return A6(r)}function gmn(e,t){var r,o,a;return a=e.h-t.h,a<0||(r=e.l-t.l,o=e.m-t.m+(r>>22),a+=o>>22,a<0)?!1:(e.l=r&Hu,e.m=o&Hu,e.h=a&Ep,!0)}function jY(e,t,r,o,a,u,f){var p,m;return!(t.Re()&&(m=e.a.Le(r,o),m<0||!a&&m==0)||t.Se()&&(p=e.a.Le(r,u),p>0||!f&&p==0))}function bmn(e,t){N_();var r;if(r=e.j.g-t.j.g,r!=0)return 0;switch(e.j.g){case 2:return iY(t,FSe)-iY(e,FSe);case 4:return iY(e,jSe)-iY(t,jSe)}return 0}function mmn(e){switch(e.g){case 0:return Hee;case 1:return zee;case 2:return Gee;case 3:return qee;case 4:return Y$;case 5:return Vee;default:return null}}function os(e,t,r){var o,a;return o=(a=new nq,Yb(a,t),Ma(a,r),Tn((!e.c&&(e.c=new ke(lw,e,12,10)),e.c),a),a),cg(o,0),cy(o,1),pg(o,!0),hg(o,!0),o}function ZS(e,t){var r,o;if(t>=e.i)throw Y(new iV(t,e.i));return++e.j,r=e.g[t],o=e.i-t-1,o>0&&ua(e.g,t+1,e.g,t,o),ii(e.g,--e.i,null),e.Oi(t,r),e.Li(),r}function Q1t(e,t){var r,o;return e.Db>>16==17?e.Cb.Qh(e,21,Ol,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||e.fi()),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function wmn(e){var t,r,o,a;for(At(),xi(e.c,e.a),a=new V(e.c);a.a<a.c.c.length;)for(o=q(a),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),690),t._e(o)}function ymn(e){var t,r,o,a;for(At(),xi(e.c,e.a),a=new V(e.c);a.a<a.c.c.length;)for(o=q(a),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),378),t._e(o)}function vmn(e){var t,r,o,a,u;for(a=sr,u=null,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),220),r.d.j^r.e.j&&(t=r.e.e-r.d.e-r.a,t<a&&(a=t,u=r));return u}function rbe(){rbe=K,Nkt=new pt(kwe,(Lt(),!1)),_kt=new pt(Nwe,100),M2e=(G3(),uee),xkt=new pt(Cwe,M2e),kkt=new pt(Iwe,Hf),Ckt=new pt(Rwe,Re(sr))}function ebt(e,t){var r,o,a;for(o=new $t(qt(Lf(e).a.Jc(),new D));an(o);)return r=l(en(o),17),a=l(t.Kb(r),9),new v9(kn(a.n.b+a.o.b/2));return BN(),BN(),DQ}function tbt(e,t,r){var o,a,u,f,p,m,y,v;for(y=0,a=e.a[t],u=0,f=a.length;u<f;++u)for(o=a[u],v=oC(o,r),m=v.Jc();m.Ob();)p=l(m.Pb(),12),Jn(e.f,p,Re(y++))}function nbt(e,t,r){var o,a,u,f;if(r)for(a=r.a.length,o=new Ib(a),f=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);f.Ob();)u=l(f.Pb(),15),yt(e,t,nT(ay(r,u.a)))}function rbt(e,t,r){var o,a,u,f;if(r)for(a=r.a.length,o=new Ib(a),f=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);f.Ob();)u=l(f.Pb(),15),yt(e,t,nT(ay(r,u.a)))}function ibe(e){S1();var t;return t=l(pC(kS(e.k),we(Io,ea,64,2,0,1)),128),g_(t,0,t.length,null),t[0]==(He(),Wt)&&t[1]==Kt&&(ii(t,0,Kt),ii(t,1,Wt)),t}function ibt(e,t,r){var o,a,u;return a=Z2n(e,t,r),u=Xme(e,a),tK(e.b),MW(e,t,r),At(),xi(a,new xJe(e)),o=Xme(e,a),tK(e.b),MW(e,r,t),new ko(Re(u),Re(o))}function obt(){obt=K,E4t=$n(new ui,(Vi(),Ho),(Zi(),_I)),OB=new Pr("linearSegments.inputPrio",Re(0)),DB=new Pr("linearSegments.outputPrio",Re(0))}function Emn(e){var t,r,o,a;for(r=0,t=0,a=new tn(e);a.e!=a.i.gc();)o=l(rn(a),19),r=b.Math.max(o.g+o.i,r),t=b.Math.max(o.f+o.j,t);return new Me(r,t)}function Smn(e,t){var r,o,a,u;for(u=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),u+=b.Math.pow(r.g*r.f-t,2);return a=b.Math.sqrt(u/(e.c.length-1)),a}function vc(){vc=K,VL=new E8("UNKNOWN",0),Ih=new E8("ABOVE",1),q1=new E8("BELOW",2),qL=new E8("INLINE",3),new Pr("org.eclipse.elk.labelSide",VL)}function Tmn(e,t){if(ae(t,273))return ynn(e,l(t,74));if(ae(t,278))return l(t,278);throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t])))))}function sbt(e,t){var r;if(e.Wi()&&t!=null){for(r=0;r<e.i;++r)if(pr(t,e.g[r]))return r}else for(r=0;r<e.i;++r)if(be(e.g[r])===be(t))return r;return-1}function Amn(e,t,r){var o,a;return t.c==(jo(),Ba)&&r.c==Cu?-1:t.c==Cu&&r.c==Ba?1:(o=Gpt(t.a,e.a),a=Gpt(r.a,e.a),t.c==Ba?a-o:o-a)}function E1(e,t,r){if(r&&(t<0||t>r.a.c.length))throw Y(new jt("index must be >= 0 and <= layer node count"));e.c&&Xa(e.c.a,e),e.c=r,r&&Nb(r.a,t,e)}function abt(e,t){this.c=new hn,this.a=e,this.b=t,this.d=l(F(e,(Ie(),t2)),317),be(F(e,(Be(),DAe)))===be((l6(),J$))?this.e=new OZe:this.e=new RZe}function FY(e,t){var r,o;r=e.dd(t);try{return o=r.Pb(),r.Qb(),o}catch(a){throw a=ci(a),ae(a,113)?Y(new Ia("Can't remove element "+t)):Y(a)}}function _mn(e,t){var r,o,a;if(o=new q9,a=new Dge(o.q.getFullYear()-k1,o.q.getMonth(),o.q.getDate()),r=T_n(e,t,a),r==0||r<t.length)throw Y(new jt(t));return a}function obe(e,t){var r,o,a;for(Mt(t),Mde(t!=e),a=e.b.c.length,o=t.Jc();o.Ob();)r=o.Pb(),Fe(e.b,Mt(r));return a!=e.b.c.length?(qge(e,0),!0):!1}function G6(){G6=K,$2e=(_n(),y4),new Mi(rU,(Lt(),!0)),Rkt=Am,Okt=b2,Dkt=G1,Ikt=g2,U2e=v4,Lkt=cv,F2e=(rbe(),Nkt),P2e=xkt,j2e=kkt,B2e=Ckt,S$=_kt}function xmn(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw Y(new jt("'port' must be either the source port or target port of the edge."))}function kmn(e,t){var r,o;for(e.b=0,e.d=new D9,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),l(F(r,(Ie(),DI)),15).a==-1&&(oEt(e,r),e.d.a.c.length=0)}function ubt(e,t){var r,o,a,u,f;for(o=0,a=0,r=0,f=new V(e);f.a<f.c.c.length;)u=l(q(f),189),o=b.Math.max(o,u.e),a+=u.b+(r>0?t:0),++r;return new Me(o,a)}function Nmn(e,t,r){var o,a;switch(a=e.o,o=e.d,t.g){case 1:return-o.d-r;case 3:return a.b+o.a+r;case 2:return a.a+o.c+r;case 4:return-o.b-r;default:return 0}}function sbe(e,t,r,o){var a,u,f,p;for(Oi(t,l(o.Xb(0),26)),p=o.hd(1,o.gc()),u=l(r.Kb(t),22).Jc();u.Ob();)a=l(u.Pb(),17),f=a.c.i==t?a.d.i:a.c.i,sbe(e,f,r,p)}function cbt(e){var t;return t=new hn,gr(e,(Ie(),ste))?l(F(e,ste),93):(ei(lr(new Et(null,new St(e.j,16)),new eBe),new qYe(t)),Te(e,ste,t),t)}function Cmn(e,t,r){var o;r.Tg("AbsolutPlacer",1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),va(o,o.i-n0t(e,o)),tmt(e,o)),r.Ug()}function gC(e,t){var r,o;return o=null,e.nf((_n(),qT))&&(r=l(e.mf(qT),105),r.nf(t)&&(o=r.mf(t))),o==null&&e.Rf()&&(o=e.Rf().mf(t)),o==null&&(o=Ge(t)),o}function abe(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,6,Ir,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(Qs(),bU)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function ube(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,1,t5,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(Qs(),p3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function cbe(e,t){var r,o;return e.Db>>16==9?e.Cb.Qh(e,9,En,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(Qs(),b3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function lbt(e,t){var r,o;return e.Db>>16==5?e.Cb.Qh(e,9,SU,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(_t(),Dg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function dbt(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,6,Dd,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(_t(),Mg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function lbe(e,t){var r,o;return e.Db>>16==3?e.Cb.Qh(e,0,r5,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(_t(),Og)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function dbe(e,t){var r,o;return e.Db>>16==3?e.Cb.Qh(e,12,En,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(Qs(),h3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Imn(e,t,r){var o,a,u;for(r<0&&(r=0),u=e.i,a=r;a<u;a++)if(o=oe(e,a),t==null){if(o==null)return a}else if(be(t)===be(o)||pr(t,o))return a;return-1}function Rmn(e,t){var r,o;return r=t.ni(e.a),r?(o=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),r$)),wt(KD,o)?_3(e,mc(t.ok())):o):null}function z_(e,t){var r,o;if(t){if(t==e)return!0;for(r=0,o=l(t,52).Mh();o&&o!=t;o=o.Mh()){if(++r>vX)return z_(e,o);if(o==e)return!0}}return!1}function Omn(e){switch(z8(),e.q.g){case 5:t0t(e,(He(),Wt)),t0t(e,dn);break;case 4:uwt(e,(He(),Wt)),uwt(e,dn);break;default:mEt(e,(He(),Wt)),mEt(e,dn)}}function Dmn(e){switch(z8(),e.q.g){case 5:E0t(e,(He(),Qt)),E0t(e,Kt);break;case 4:b1t(e,(He(),Qt)),b1t(e,Kt);break;default:wEt(e,(He(),Qt)),wEt(e,Kt)}}function Lmn(e){var t,r;t=l(F(e,(ed(),wkt)),15),t?(r=t.a,r==0?Te(e,(h1(),E$),new rY):Te(e,(h1(),E$),new WP(r))):Te(e,(h1(),E$),new WP(1))}function Mmn(e,t){var r;switch(r=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-r.o.a;case 3:return e.n.b-r.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function Pmn(e,t){switch(e.g){case 0:return t==(ic(),xp)?U$:H$;case 1:return t==(ic(),xp)?U$:oL;case 2:return t==(ic(),xp)?oL:H$;default:return oL}}function q6(e,t){var r,o,a;for(Xa(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=NZ,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),a=b.Math.max(a,r.d);e.b=a}function jmn(e,t,r){var o,a,u;if(u=l(Ht(e.r,t),301),a=null,u)switch(u.g){case 2:o=ce(Ht(e.i,t)),a=(Mt(r),r+(Mt(o),o));break;default:a=r}else a=r;return a}function Fmn(e,t,r){var o,a,u;if(u=l(Ht(e.r,t),301),a=null,u)switch(u.g){case 2:o=ce(Ht(e.j,t)),a=(Mt(r),r+(Mt(o),o));break;default:a=r}else a=r;return a}function Sl(e){var t;return!(e.Bb&1)&&e.r&&e.r.Sh()&&(t=l(e.r,52),e.r=l(w1(e,t),146),e.r!=t&&e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,8,t,e.r))),e.r}function $Y(e,t,r){var o;return o=Z(X(Ki,1),Jo,30,15,[Fbe(e,(Sd(),Bs),t,r),Fbe(e,$a,t,r),Fbe(e,Us,t,r)]),e.f&&(o[0]=b.Math.max(o[0],o[2]),o[2]=o[0]),o}function $mn(e,t){var r,o,a;if(a=sbn(e,t),a.c.length!=0)for(xi(a,new t$e),r=a.c.length,o=0;o<r;o++)K_(e,(at(o,a.c.length),l(a.c[o],295)),WSn(e,a,o))}function bC(e,t,r){var o,a;o=t*r,ae(e.g,157)?(a=PS(e),a.f.d?a.f.a||(e.d.a+=o+nf):(e.d.d-=o+nf,e.d.a+=o+nf)):ae(e.g,9)&&(e.d.d-=o,e.d.a+=2*o)}function Bmn(e){var t,r,o,a;for(a=l(wr(e.a,(yy(),z$)),16).Jc();a.Ob();)for(o=l(a.Pb(),108),r=kS(o.k).Jc();r.Ob();)t=l(r.Pb(),64),r_(e,o,t,(T0(),P1),1)}function Umn(e){var t,r;if(e.k==(zt(),gi)){for(r=new $t(qt(Lf(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),!fo(t)&&e.c==ybe(t,e).c)return!0}return!1}function Hmn(e){var t,r;if(e.k==(zt(),gi)){for(r=new $t(qt(Lf(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),!fo(t)&&t.c.i.c==t.d.i.c)return!0}return!1}function fbe(e,t){var r,o;return e.Db>>16==11?e.Cb.Qh(e,10,En,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(Qs(),g3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function fbt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,11,Ol,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(_t(),Lg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function hbt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,12,Dl,t):(o=Mo(l(Nt((r=l(Vt(e,16),29),r||(_t(),yv)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function pbt(e,t){var r,o,a,u,f;if(t)for(a=t.a.length,r=new Ib(a),f=(r.b-r.a)*r.c<0?(r1(),eb):new s1(r);f.Ob();)u=l(f.Pb(),15),o=f_(t,u.a),o&&nwt(e,o)}function zmn(){yle();var e,t;for(w3n((a1(),Ut)),u3n(Ut),PY(Ut),I3e=(_t(),bf),t=new V($3e);t.a<t.c.c.length;)e=l(q(t),251),ox(e,bf,null);return!0}function hbe(e,t){var r,o,a,u,f,p,m,y;return m=e.h>>19,y=t.h>>19,m!=y?y-m:(a=e.h,p=t.h,a!=p?a-p:(o=e.m,f=t.m,o!=f?o-f:(r=e.l,u=t.l,r-u)))}function gbt(e,t,r){var o,a,u,f,p;for(a=e[r.g],p=new V(t.d);p.a<p.c.c.length;)f=l(q(p),108),u=f.i,u&&u.i==r&&(o=f.d[r.g],a[o]=b.Math.max(a[o],u.j.b))}function Gmn(e,t){var r,o,a,u,f;for(o=0,a=0,r=0,f=new V(t.d);f.a<f.c.c.length;)u=l(q(f),320),f7(u),o=b.Math.max(o,u.b),a+=u.d+(r>0?e.b:0),++r;t.b=o,t.e=a}function bbt(e){var t,r,o;if(o=e.b,$et(e.i,o.length)){for(r=o.length*2,e.b=we(PQ,yD,309,r,0,1),e.c=we(PQ,yD,309,r,0,1),e.f=r-1,e.i=0,t=e.a;t;t=t.c)Z6(e,t,t);++e.g}}function mC(e,t){return e.b.a=b.Math.min(e.b.a,t.c),e.b.b=b.Math.min(e.b.b,t.d),e.a.a=b.Math.max(e.a.a,t.c),e.a.b=b.Math.max(e.a.b,t.d),Ot(e.c,t),!0}function qmn(e,t,r){var o;o=t.c.i,o.k==(zt(),gi)?(Te(e,(Ie(),Cd),l(F(o,Cd),12)),Te(e,Nl,l(F(o,Nl),12))):(Te(e,(Ie(),Cd),t.c),Te(e,Nl,r.d))}function Vmn(e,t,r){return r.Tg(PSt,1),M3(e.b),pc(e.b,(JS(),LB),LB),pc(e.b,e4,e4),pc(e.b,t4,t4),pc(e.b,n4,n4),e.a=FC(e.b,t),D0n(e,t,r.dh(1)),r.Ug(),t}function G_(e,t,r){Z_();var o,a,u,f,p,m;return f=t/2,u=r/2,o=b.Math.abs(e.a),a=b.Math.abs(e.b),p=1,m=1,o>f&&(p=f/o),a>u&&(m=u/a),tp(e,b.Math.min(p,m)),e}function Wmn(){q7();var e,t;try{if(t=l(Tbe((n1(),Ll),Lx),2092),t)return t}catch(r){if(r=ci(r),ae(r,102))e=r,ahe((Cn(),e));else throw Y(r)}return new WGe}function Kmn(){q7();var e,t;try{if(t=l(Tbe((n1(),Ll),_l),2019),t)return t}catch(r){if(r=ci(r),ae(r,102))e=r,ahe((Cn(),e));else throw Y(r)}return new yqe}function Ymn(){hdt();var e,t;try{if(t=l(Tbe((n1(),Ll),lm),2101),t)return t}catch(r){if(r=ci(r),ae(r,102))e=r,ahe((Cn(),e));else throw Y(r)}return new fVe}function Jmn(e,t,r){var o,a;return a=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,4,a,t),r?r.lj(o):r=o),a!=t&&(t?r=ox(e,O7(e,t),r):r=ox(e,e.a,r)),r}function mbt(){q9.call(this),this.e=-1,this.a=!1,this.p=Qi,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=Qi}function Xmn(e,t){var r,o,a;if(o=e.b.d.d,e.a||(o+=e.b.d.a),a=t.b.d.d,t.a||(a+=t.b.d.a),r=yr(o,a),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function Zmn(e,t){var r,o,a;if(o=e.b.b.d,e.a||(o+=e.b.b.a),a=t.b.b.d,t.a||(a+=t.b.b.a),r=yr(o,a),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function Qmn(e,t){var r,o,a;if(o=e.b.g.d,e.a||(o+=e.b.g.a),a=t.b.g.d,t.a||(a+=t.b.g.a),r=yr(o,a),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function pbe(){pbe=K,Pkt=Ra($n($n($n(new ui,(Vi(),da),(Zi(),TSe)),da,ASe),Ho,_Se),Ho,fSe),Fkt=$n($n(new ui,da,oSe),da,hSe),jkt=Ra(new ui,Ho,gSe)}function e0n(e){var t,r,o,a,u;for(t=l(F(e,(Ie(),RI)),93),u=e.n,o=t.Bc().Jc();o.Ob();)r=l(o.Pb(),319),a=r.i,a.c+=u.a,a.d+=u.b,r.c?Kwt(r):Ywt(r);Te(e,RI,null)}function t0n(e,t,r){var o,a;switch(a=e.b,o=a.d,t.g){case 1:return-o.d-r;case 2:return a.o.a+o.c+r;case 3:return a.o.b+o.a+r;case 4:return-o.b-r;default:return-1}}function wbt(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),9),e.c[r.c.p][r.p].a=KV(e.i),e.c[r.c.p][r.p].d=ue(e.c[r.c.p][r.p].a),e.c[r.c.p][r.p].b=1}function n0n(e,t){var r,o,a,u;for(u=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),168),u+=b.Math.pow(hu(r)*ec(r)-t,2);return a=b.Math.sqrt(u/(e.c.length-1)),a}function r0n(e,t,r){var o,a;for(r.Tg("Interactive node placement",1),e.a=l(F(t,(Ie(),t2)),317),a=new V(t.b);a.a<a.c.c.length;)o=l(q(a),26),DSn(e,o);r.Ug()}function i0n(e){var t,r,o,a,u;if(o=0,a=jE,e.b)for(t=0;t<360;t++)r=t*.017453292519943295,p0e(e,e.d,0,0,sm,r),u=e.b.Cg(e.d),u<a&&(o=r,a=u);p0e(e,e.d,0,0,sm,o)}function o0n(e,t){var r,o,a,u;for(u=new hn,t.e=null,t.f=null,o=new V(t.i);o.a<o.c.c.length;)r=l(q(o),68),a=l(Ht(e.g,r.a),49),r.a=bP(r.b),Jn(u,r.a,a);e.g=u}function s0n(e,t,r){var o,a,u,f,p,m;for(a=t-e.e,u=a/e.d.c.length,f=0,m=new V(e.d);m.a<m.c.c.length;)p=l(q(m),320),o=e.b-p.b+r,Ugt(p,p.e+f*u,p.f),jbn(p,u,o),++f}function ybt(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 a0n(e,t){var r,o,a;for(a=t.c.length,r=ivn(e,a==0?"":(at(0,t.c.length),In(t.c[0]))),o=1;o<a&&r;++o)r=l(r,52).Wh((at(o,t.c.length),In(t.c[o])));return r}function vbt(e,t,r,o){var a,u,f;return u=_Tn(e,t,r,o),f=o0e(e,u),YY(e,t,r,o),tK(e.b),At(),xi(u,new kJe(e)),a=o0e(e,u),YY(e,r,t,o),tK(e.b),new ko(Re(f),Re(a))}function u0n(e,t){var r;t.Tg("Delaunay triangulation",1),r=new je,La(e.i,new cXe(r)),Ye(Ke(F(e,(S_(),EI)))),e.e?mo(e.e,LEt(r)):e.e=LEt(r),t.Ug()}function g7(){g7=K,Wne=new w8("P1_NODE_Y_PLACEMENT",0),Kne=new w8("P2_NODE_RELATIVE_PLACEMENT",1),Yne=new w8("P3_NODE_ABSOLUTE_PLACEMENT",2),Jne=new w8(jSt,3)}function c0n(e,t,r){var o,a;for(NO(e,e.j+t,e.k+r),a=new tn((!e.a&&(e.a=new yi(Ic,e,5)),e.a));a.e!=a.i.gc();)o=l(rn(a),373),cV(o,o.a+t,o.b+r);kO(e,e.b+t,e.c+r)}function gbe(e,t,r,o){switch(r){case 7:return!e.e&&(e.e=new Tt(Ir,e,7,4)),Pa(e.e,t,o);case 8:return!e.d&&(e.d=new Tt(Ir,e,8,5)),Pa(e.d,t,o)}return VY(e,t,r,o)}function bbe(e,t,r,o){switch(r){case 7:return!e.e&&(e.e=new Tt(Ir,e,7,4)),_o(e.e,t,o);case 8:return!e.d&&(e.d=new Tt(Ir,e,8,5)),_o(e.d,t,o)}return CK(e,t,r,o)}function Ebt(e,t,r){var o,a,u,f,p;if(r)for(u=r.a.length,o=new Ib(u),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),a=f_(r,f.a),a&&e0t(e,a,t)}function V6(e,t,r){var o,a,u,f,p;return e.Zj(),u=t==null?0:Rr(t),e.f>0&&(f=(u&sr)%e.d.length,a=mme(e,f,u,t),a)?(p=a.ld(r),p):(o=e.ak(u,t,r),e.c.Ec(o),null)}function mbe(e,t){var r,o,a,u;switch(fg(e,t).Il()){case 3:case 2:{for(r=CE(t),a=0,u=r.i;a<u;++a)if(o=l(oe(r,a),38),f0(rs(e,o))==5)return o;break}}return null}function l0n(e){var t,r,o,a,u;if($et(e.f,e.b.length))for(o=we(H_t,yD,229,e.b.length*2,0,1),e.b=o,a=o.length-1,r=e.a;r!=e;r=r.Zd())u=l(r,229),t=u.d&a,u.a=o[t],o[t]=u}function Sbt(e,t){var r,o,a,u;for(u=0,a=l(l(wr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),u=b.Math.max(u,o.e.a+o.b.Kf().a);r=l(Wo(e.b,t),129),r.n.b=0,r.a.a=u}function Tbt(e,t){var r,o,a,u;for(r=0,u=l(l(wr(e.r,t),24),85).Jc();u.Ob();)a=l(u.Pb(),116),r=b.Math.max(r,a.e.b+a.b.Kf().b);o=l(Wo(e.b,t),129),o.n.d=0,o.a.b=r}function d0n(e){var t,r,o;for(r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),t.k==(zt(),Xr)&&(o=t.o.b,e.i=b.Math.min(e.i,o),e.g=b.Math.max(e.g,o))}function Abt(e,t,r){var o,a,u;for(u=new V(t);u.a<u.c.c.length;)o=l(q(u),9),e.c[o.c.p][o.p].e=!1;for(a=new V(t);a.a<a.c.c.length;)o=l(q(a),9),z0e(e,o,r)}function f0n(e){var t,r;return r=l(F(e,(Ie(),xa)),24),t=O8(j4t),r.Gc((Fo(),XE))&&yc(t,B4t),r.Gc(II)&&yc(t,U4t),r.Gc(Xx)&&yc(t,F4t),r.Gc(Zx)&&yc(t,$4t),t}function wbe(e){if(e<0)throw Y(new jt("The input must be positive"));return e<Uke.length?$b(Uke[e]):b.Math.sqrt(sm*e)*(Ypn(e,e)/Qge(2.718281828459045,e))}function q_(e,t){var r;if(e.Wi()&&t!=null){for(r=0;r<e.i;++r)if(pr(t,e.g[r]))return!0}else for(r=0;r<e.i;++r)if(be(e.g[r])===be(t))return!0;return!1}function h0n(e,t){if(t==null){for(;e.a.Ob();)if(l(e.a.Pb(),45).kd()==null)return!0}else for(;e.a.Ob();)if(pr(t,l(e.a.Pb(),45).kd()))return!0;return!1}function p0n(e,t){var r,o,a;return t===e?!0:ae(t,675)?(a=l(t,2025),Qgt((o=e.g,o||(e.g=new PG(e))),(r=a.g,r||(a.g=new PG(a))))):!1}function g0n(e){var t,r,o,a;for(t="$z",r="nz",a=b.Math.min(e.length,5),o=a-1;o>=0;o--)if(wt(e[o].d,t)||wt(e[o].d,r)){e.length>=o+1&&e.splice(0,o+1);break}return e}function W6(e,t){var r;return gs(e)&&gs(t)&&(r=e/t,SD<r&&r<nm)?r<0?b.Math.ceil(r):b.Math.floor(r):p1(j0e(gs(e)?vl(e):e,gs(t)?vl(t):t,!1))}function ybe(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw Y(new jt("'node' must either be the source node or target node of the edge."))}function b0n(e){var t,r,o,a;if(a=l(F(e,(Ie(),bTe)),37),a){for(o=new ro,t=ji(e.c.i);t!=a;)r=t.e,t=ji(r),Gw(br(br(o,r.n),t.c),t.d.b,t.d.d);return o}return nNt}function m0n(e){var t;t=l(F(e,(Ie(),rw)),339),ei(bs(new Et(null,new St(t.d,16)),new F$e),new zYe(e)),ei(lr(new Et(null,new St(t.d,16)),new $$e),new GYe(e))}function BY(e,t){var r,o,a,u;for(a=t?Or(e):si(e),o=new $t(qt(a.a.Jc(),new D));an(o);)if(r=l(en(o),17),u=ybe(r,e),u.k==(zt(),gi)&&u.c!=e.c)return u;return null}function UY(e,t,r){var o,a;o=yE(t.j,r.s,r.c)+yE(r.e,t.s,t.c),a=yE(r.j,t.s,t.c)+yE(t.e,r.s,r.c),o==a?o>0&&(e.b+=2,e.a+=o):(e.b+=1,e.a+=b.Math.min(o,a))}function _bt(e,t){var r,o;if(o=!1,zi(t)&&(o=!0,RS(e,new Qw(In(t)))),o||ae(t,245)&&(o=!0,RS(e,(r=NV(l(t,245)),new E9(r)))),!o)throw Y(new cq(wEe))}function w0n(e,t,r,o){var a,u,f;return a=new cp(e.e,1,10,(f=t.c,ae(f,89)?l(f,29):(_t(),Ml)),(u=r.c,ae(u,89)?l(u,29):(_t(),Ml)),gg(e,t),!1),o?o.lj(a):o=a,o}function vbe(e){var t,r;switch(l(F(ji(e),(Be(),_Ae)),425).g){case 0:return t=e.n,r=e.o,new Me(t.a+r.a/2,t.b+r.b/2);case 1:return new So(e.n);default:return null}}function K6(){K6=K,X$=new i3(_d,0),tTe=new i3("LEFTUP",1),rTe=new i3("RIGHTUP",2),eTe=new i3("LEFTDOWN",3),nTe=new i3("RIGHTDOWN",4),Wee=new i3("BALANCED",5)}function y0n(e,t,r){var o,a,u;if(o=yr(e.a[t.p],e.a[r.p]),o==0){if(a=l(F(t,(Ie(),RT)),16),u=l(F(r,RT),16),a.Gc(r))return-1;if(u.Gc(t))return 1}return o}function v0n(e){switch(e.g){case 1:return new vze;case 2:return new Eze;case 3:return new yze;case 0:return null;default:throw Y(new jt(MZ+(e.f!=null?e.f:""+e.g)))}}function Ebe(e,t,r){switch(t){case 1:!e.n&&(e.n=new ke(Rs,e,1,7)),vn(e.n),!e.n&&(e.n=new ke(Rs,e,1,7)),ti(e.n,l(r,18));return;case 2:v_(e,In(r));return}Uge(e,t,r)}function Sbe(e,t,r){switch(t){case 3:Ub(e,ue(ce(r)));return;case 4:Hb(e,ue(ce(r)));return;case 5:va(e,ue(ce(r)));return;case 6:gu(e,ue(ce(r)));return}Ebe(e,t,r)}function b7(e,t,r){var o,a,u;u=(o=new nq,o),a=Zd(u,t,null),a&&a.mj(),Ma(u,r),Tn((!e.c&&(e.c=new ke(lw,e,12,10)),e.c),u),cg(u,0),cy(u,1),pg(u,!0),hg(u,!0)}function Tbe(e,t){var r,o,a;return r=e3(e.i,t),ae(r,244)?(a=l(r,244),a.wi()==null,a.ti()):ae(r,496)?(o=l(r,2016),a=o.b,a):null}function E0n(e,t,r,o){var a,u;return kn(t),kn(r),u=l(S3(e.d,t),15),Qdt(!!u,"Row %s not in %s",t,e.e),a=l(S3(e.b,r),15),Qdt(!!a,"Column %s not in %s",r,e.c),Zht(e,u.a,a.a,o)}function S0n(e){var t,r,o,a,u,f;for(r=null,a=e,u=0,f=a.length;u<f;++u){o=a[u];try{D3(o)}catch(p){if(p=ci(p),ae(p,102))t=p,r?qbt(r,t):r=t;else throw Y(p)}}r&&ZZt(r)}function xbt(e,t,r,o,a,u,f){var p,m,y,v,T;if(v=a[u],y=u==f-1,p=y?o:0,T=z1t(p,v),o!=10&&Z(X(e,f-u),t[u],r[u],p,T),!y)for(++u,m=0;m<v;++m)T[m]=xbt(e,t,r,o,a,u,f);return T}function T0n(e){var t,r,o,a,u;for(o=new dy(new Dw(e.b).a);o.b;)r=gE(o),t=l(r.jd(),9),u=l(l(r.kd(),49).a,9),a=l(l(r.kd(),49).b,8),br(wd(t.n),br(To(u.n),a))}function A0n(e,t){var r,o,a,u;for(u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),HN(e.d),o=new $t(qt(Or(a).a.Jc(),new D));an(o);)r=l(en(o),17),O0t(e,a,r.d.i)}function wC(e){if(e.g==-1)throw Y(new lu);e.Vj();try{e.i.ed(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(t){throw t=ci(t),ae(t,99)?Y(new $c):Y(t)}}function _0n(e){var t,r,o,a;for(a=-1,o=0,r=new V(e);r.a<r.c.c.length;){if(t=l(q(r),253),t.c==(jo(),Cu)){a=o==0?0:o-1;break}else o==e.c.length-1&&(a=o);o+=1}return a}function x0n(e){var t,r,o,a;for(a=0,t=0,o=new V(e.c);o.a<o.c.c.length;)r=l(q(o),19),va(r,e.e+a),gu(r,e.f),a+=r.g+e.b,t=b.Math.max(t,r.f+e.b);e.d=a-e.b,e.a=t-e.b}function TE(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),o=t.d.c,t.d.c=t.d.d,t.d.d=o,o=t.d.b,t.d.b=t.d.a,t.d.a=o,o=t.b.a,t.b.a=t.b.b,t.b.b=o;Gme(e)}function AE(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=t.g.c,t.g.c=t.g.d,t.g.d=o,o=t.g.b,t.g.b=t.g.a,t.g.a=o,o=t.e.a,t.e.a=t.e.b,t.e.b=o;P7(e)}function k0n(e){var t,r,o,a,u;for(u=kS(e.k),r=(He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])),o=0,a=r.length;o<a;++o)if(t=r[o],t!=Is&&!u.Gc(t))return t;return null}function HY(e,t){var r,o;return o=l(vS(hp(lr(new Et(null,new St(t.j,16)),new cUe))),12),o&&(r=l(ze(o.e,0),17),r)?l(F(r,(Ie(),Cr)),15).a:efn(e.d)}function kbt(e){var t,r;return r=R7(e),iy(r)?null:(t=(kn(r),l(M1t(new $t(qt(r.a.Jc(),new D))),74)),Yo(l(oe((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83)))}function m7(e){var t;return e.o||(t=e.sk(),t?e.o=new phe(e,e,null):e.$k()?e.o=new tfe(e,null):f0(rs((mu(),ao),e))==1?e.o=new Bct(e):e.o=new xV(e,null)),e.o}function N0n(e,t,r,o){var a,u,f,p,m;r.Uh(t)&&(a=(f=t,f?l(o,52).di(f):null),a&&(m=r.Jh(t),p=t.t,p>1||p==-1?(u=l(m,16),a.Wb(e1n(e,u))):a.Wb(TJ(e,l(m,57)))))}function C0n(e,t,r,o){pet();var a=OQ;function u(){for(var f=0;f<a.length;f++)a[f]()}if(e)try{qLt(u)()}catch(f){e(t,f)}else qLt(u)()}function I0n(e,t){var r,o,a,u;for(a=(u=new Xh(e.b).a.vc().Jc(),new T9(u));a.a.Ob();)if(o=(r=l(a.a.Pb(),45),l(r.jd(),34)),rde(t,l(o,15))<0)return!1;return!0}function R0n(e,t){var r,o,a,u;for(a=(u=new Xh(e.b).a.vc().Jc(),new T9(u));a.a.Ob();)if(o=(r=l(a.a.Pb(),45),l(r.jd(),34)),rde(t,l(o,15))>0)return!1;return!0}function O0n(e){switch(l(F(e.b,(Be(),wAe)),382).g){case 1:ei(Oa(bs(new Et(null,new St(e.d,16)),new KBe),new YBe),new JBe);break;case 2:hTn(e);break;case 0:rvn(e)}}function D0n(e,t,r){var o,a,u;for(o=r,!o&&(o=new sS),o.Tg("Layout",e.a.c.length),u=new V(e.a);u.a<u.c.c.length;){if(a=l(q(u),43),o.Zg())return;a.If(t,o.dh(1))}o.Ug()}function L0n(e,t){var r,o;for(Xa(e.b,t),o=new V(e.n);o.a<o.c.c.length;)if(r=l(q(o),211),_s(r.c,t,0)!=-1){Xa(r.c,t),x0n(r),r.c.c.length==0&&Xa(e.n,r);break}Evt(e)}function Nbt(e,t){var r,o,a,u,f;for(f=e.f,a=0,u=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),U6(r,e.e,f),u6(r,t),u=b.Math.max(u,r.r),f+=r.d+e.c,a=f;e.d=u,e.b=a}function Zb(){Zb=K,cre=new a3("V_TOP",0),w4=new a3("V_CENTER",1),m4=new a3("V_BOTTOM",2),ure=new a3("H_LEFT",3),g4=new a3("H_CENTER",4),b4=new a3("H_RIGHT",5)}function Abe(e){var t;return e.Db&64?Yj(e):(t=new ml(Yj(e)),t.a+=" (abstract: ",Zp(t,(e.Bb&256)!=0),t.a+=", interface: ",Zp(t,(e.Bb&512)!=0),t.a+=")",t.a)}function M0n(e){var t;e.c==null&&(t=be(e.b)===be(qEe)?null:e.b,e.d=t==null?tu:ost(t)?Gtn(Tat(t)):zi(t)?owe:Ab(rc(t)),e.a=e.a+": "+(ost(t)?Fnn(Tat(t)):t+""),e.c="("+e.d+") "+e.a)}function P0n(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===KJ&&Map.prototype.entries&&e()?Map:dNn()}function j0n(e,t){var r,o,a,u;for(u=new Xi(e.e,0),r=0;u.b<u.d.gc();){if(o=ue((un(u.b<u.d.gc()),ce(u.d.Xb(u.c=u.b++)))),a=o-t,a>RZ)return r;a>-1e-6&&++r}return r}function w7(e,t,r){if(ae(t,273))return l2n(e,l(t,74),r);if(ae(t,278))return jmn(e,l(t,278),r);throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t,r])))))}function y7(e,t,r){if(ae(t,273))return d2n(e,l(t,74),r);if(ae(t,278))return Fmn(e,l(t,278),r);throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t,r])))))}function _be(e,t){var r;t!=e.b?(r=null,e.b&&(r=OP(e.b,e,-4,r)),t&&(r=XS(t,e,-4,r)),r=Kpt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function Cbt(e,t){var r;t!=e.f?(r=null,e.f&&(r=OP(e.f,e,-1,r)),t&&(r=XS(t,e,-1,r)),r=Ypt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,0,t,t))}function F0n(e,t,r,o){var a,u,f,p;return Ju(e.e)&&(a=t.Jk(),p=t.kd(),u=r.kd(),f=c1(e,1,a,p,u,a.Hk()?nx(e,a,u,ae(a,104)&&(l(a,20).Bb&No)!=0):-1,!0),o?o.lj(f):o=f),o}function Ibt(e){var t,r,o;if(e==null)return null;if(r=l(e,16),r.dc())return"";for(o=new Xp,t=r.Jc();t.Ob();)Vo(o,(Tr(),In(t.Pb()))),o.a+=" ";return sV(o,o.a.length-1)}function Rbt(e){var t,r,o;if(e==null)return null;if(r=l(e,16),r.dc())return"";for(o=new Xp,t=r.Jc();t.Ob();)Vo(o,(Tr(),In(t.Pb()))),o.a+=" ";return sV(o,o.a.length-1)}function $0n(e,t){var r,o,a,u,f;for(u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),o=new $t(qt(si(a).a.Jc(),new D));an(o);)r=l(en(o),17),f=r.c.i.p,e.n[f]=e.n[f]-1}function B0n(e,t,r){var o,a;return o=e.c[t.c.p][t.p],a=e.c[r.c.p][r.p],o.a!=null&&a.a!=null?JV(o.a,a.a):o.a!=null?-1:a.a!=null?1:0}function Obt(e,t){var r,o,a,u,f,p;if(t)for(u=t.a.length,r=new Ib(u),p=(r.b-r.a)*r.c<0?(r1(),eb):new s1(r);p.Ob();)f=l(p.Pb(),15),a=f_(t,f.a),o=new IXe(e),cat(o.a,a)}function Dbt(e,t){var r,o,a,u,f,p;if(t)for(u=t.a.length,r=new Ib(u),p=(r.b-r.a)*r.c<0?(r1(),eb):new s1(r);p.Ob();)f=l(p.Pb(),15),a=f_(t,f.a),o=new EXe(e),uat(o.a,a)}function U0n(e){var t;if(e!=null&&e.length>0&&co(e,e.length-1)==33)try{return t=J0t(yl(e,0,e.length-1)),t.e==null}catch(r){if(r=ci(r),!ae(r,33))throw Y(r)}return!1}function H0n(e,t,r){var o,a,u;switch(o=ji(t),a=Gj(o),u=new aa,As(u,t),r.g){case 1:Ci(u,P6(WS(a)));break;case 2:Ci(u,WS(a))}return Te(u,(Be(),Jy),ce(F(e,Jy))),u}function xbe(e){var t,r;return t=l(en(new $t(qt(si(e.a).a.Jc(),new D))),17),r=l(en(new $t(qt(Or(e.a).a.Jc(),new D))),17),Ye(Ke(F(t,(Ie(),Ag))))||Ye(Ke(F(r,Ag)))}function yy(){yy=K,sL=new gO("ONE_SIDE",0),q$=new gO("TWO_SIDES_CORNER",1),V$=new gO("TWO_SIDES_OPPOSING",2),G$=new gO("THREE_SIDES",3),z$=new gO("FOUR_SIDES",4)}function Lbt(e,t){var r,o,a,u;for(u=new je,a=0,o=t.Jc();o.Ob();){for(r=Re(l(o.Pb(),15).a+a);r.a<e.f&&!Von(e,r.a);)r=Re(r.a+1),++a;if(r.a>=e.f)break;Ot(u.c,r)}return u}function z0n(e){var t,r;for(r=new V(e.e.b);r.a<r.c.c.length;)t=l(q(r),26),Rkn(e,t);ei(lr(bs(bs(new Et(null,new St(e.e.b,16)),new UUe),new WUe),new KUe),new UJe(e))}function kbe(e,t){return t?e.kj(t)?!1:e.i?e.i.lj(t):ae(t,152)?(e.i=l(t,152),!0):(e.i=new ZGe,e.i.lj(t)):!1}function Mbt(e,t,r){var o,a,u;return o=t.Jk(),u=t.kd(),a=o.Hk()?c1(e,3,o,null,u,nx(e,o,u,ae(o,104)&&(l(o,20).Bb&No)!=0),!0):c1(e,1,o,o.gk(),u,-1,!0),r?r.lj(a):r=a,r}function G0n(e){if(e=Ta(e,!0),wt(Ix,e)||wt("1",e))return Lt(),Bx;if(wt(JZ,e)||wt("0",e))return Lt(),D1;throw Y(new lq("Invalid boolean value: '"+e+"'"))}function Nbe(e,t,r){var o,a,u;for(a=e.vc().Jc();a.Ob();)if(o=l(a.Pb(),45),u=o.jd(),be(t)===be(u)||t!=null&&pr(t,u))return r&&(o=new t8(o.jd(),o.kd()),a.Qb()),o;return null}function q0n(e){qw();var t,r,o;e.B.Gc((Uu(),dU))&&(o=e.f.i,t=new IP(e.a.c),r=new oS,r.b=t.c-o.c,r.d=t.d-o.d,r.c=o.c+o.b-(t.c+t.b),r.a=o.d+o.a-(t.d+t.a),e.e.Yf(r))}function Pbt(e,t,r,o){var a,u,f;for(f=b.Math.min(r,uvt(l(e.b,68),t,r,o)),u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),227),a!=t&&(f=b.Math.min(f,Pbt(a,t,f,o)));return f}function Cbe(e){var t,r,o,a;for(a=we(Nh,Pe,201,e.b.c.length,0,2),o=new Xi(e.b,0);o.b<o.d.gc();)t=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),26)),r=o.b-1,a[r]=QO(t.a);return a}function Ibe(e,t,r){var o,a,u;o=l(Wd(e.a,r),34),o!=null&&(u=l(Wd(e.b,o),66),gy(u,r,!0)),a=l(Wd(e.b,t),66),a||(a=new Ar,Jb(e.b,t,a)),Wr(a,r,a.c.b,a.c),Jb(e.a,r,t)}function zY(e,t,r,o,a){var u,f,p,m;for(f=jQt(nle(bfe(vbn(r)),o),Nmn(e,r,a)),m=bg(e,r).Jc();m.Ob();)p=l(m.Pb(),12),t[p.p]&&(u=t[p.p].i,Fe(f.d,new VV(u,d1e(f,u))));N1e(f)}function Rbe(e,t){this.f=new hn,this.b=new hn,this.j=new hn,this.a=e,this.c=t,this.c>0&&tbt(this,this.c-1,(He(),Qt)),this.c<this.a.length-1&&tbt(this,this.c+1,(He(),Kt))}function V0n(e,t){var r,o,a,u,f;for(u=new V(t.d);u.a<u.c.c.length;)for(a=l(q(u),108),f=l(Ht(e.c,a),117).o,o=new fS(a.b);o.a<o.c.a.length;)r=l(U3(o),64),Ope(a,r,f)}function Obe(e){e.length>0&&e[0].length>0&&(this.c=Ye(Ke(F(ji(e[0][0]),(Ie(),yTe))))),this.a=we(c4t,Pe,2096,e.length,0,2),this.b=we(l4t,Pe,2097,e.length,0,2),this.d=new Fpt}function W0n(e){return e.c.length==0?!1:(at(0,e.c.length),l(e.c[0],17)).c.i.k==(zt(),gi)?!0:fE(Oa(new Et(null,new St(e,16)),new OUe),new CUe)}function jbt(e,t){var r,o,a,u,f,p,m;for(p=Ay(t),u=t.f,m=t.g,f=b.Math.sqrt(u*u+m*m),a=0,o=new V(p);o.a<o.c.c.length;)r=l(q(o),19),a+=jbt(e,r);return b.Math.max(a,f)}function qi(){qi=K,W1=new c3(qC,0),pf=new c3("FREE",1),Sk=new c3("FIXED_SIDE",2),_m=new c3("FIXED_ORDER",3),Oh=new c3("FIXED_RATIO",4),fa=new c3("FIXED_POS",5)}function K0n(e,t){var r,o,a;if(r=t.ni(e.a),r){for(a=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),xl)),o=1;o<(mu(),z3e).length;++o)if(wt(z3e[o],a))return o}return 0}function Y0n(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],up(u,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function J0n(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],up(u,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Fbt(e){var t,r,o;for(o=new qb(ja,"{","}"),r=e.vc().Jc();r.Ob();)t=l(r.Pb(),45),up(o,Ict(e,t.jd())+"="+Ict(e,t.kd()));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function X0n(e){for(var t,r,o,a;!zN(e.o);)r=l(CS(e.o),49),o=l(r.a,126),t=l(r.b,220),a=Vj(t,o),t.e==o?(F8(a.g,t),o.e=a.e+t.a):(F8(a.b,t),o.e=a.e-t.a),Fe(e.e.a,o)}function Dbe(e,t){var r,o,a;for(r=null,a=l(t.Kb(e),22).Jc();a.Ob();)if(o=l(a.Pb(),17),!r)r=o.c.i==e?o.d.i:o.c.i;else if((o.c.i==e?o.d.i:o.c.i)!=r)return!1;return!0}function $bt(e,t){var r,o,a,u,f;for(r=fwt(e,!1,t),a=new V(r);a.a<a.c.c.length;)o=l(q(a),135),o.d==0?(IW(o,null),RW(o,null)):(u=o.a,f=o.b,IW(o,f),RW(o,u))}function Z0n(e){var t,r;return t=new ui,yc(t,G4t),r=l(F(e,(Ie(),xa)),24),r.Gc((Fo(),II))&&yc(t,K4t),r.Gc(Xx)&&yc(t,q4t),r.Gc(XE)&&yc(t,W4t),r.Gc(Zx)&&yc(t,V4t),t}function QS(){QS=K,new Mi((_n(),Od),20),Fke=new xb(5),new Mi(df,Fke),u6t=y4,l6t=bk,new Mi(rU,(Lt(),!1)),jke=v4,c6t=Cp,pk=(S1e(),a6t),Zne=s6t,Pke=o6t,Xne=i6t}function Lbe(e,t,r){var o,a,u,f,p;for(Jgn(e),a=(e.k==null&&(e.k=we($Q,Pe,81,0,0,1)),e.k),u=0,f=a.length;u<f;++u)o=a[u],Lbe(o);p=e.f,p&&Lbe(p)}function Q0n(e){var t,r,o,a;for(Ixn(e),r=new $t(qt(Lf(e).a.Jc(),new D));an(r);)t=l(en(r),17),o=t.c.i==e,a=o?t.d:t.c,o?Ji(t,null):bo(t,null),Te(t,(Ie(),TTe),a),eEn(e,a.i)}function ewn(e,t,r){var o,a,u,f;for(f=_s(e.e,t,0),u=new Pce,u.b=r,o=new Xi(e.e,f);o.b<o.d.gc();)a=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),9)),a.p=r,Fe(u.e,a),Mu(o);return u}function twn(e){var t,r,o;for(r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)if(t=l(rn(r),19),o=R7(t),!an(new $t(qt(o.a.Jc(),new D))))return t;return null}function nwn(e){var t,r,o;for(r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)if(t=l(rn(r),19),o=R7(t),!an(new $t(qt(o.a.Jc(),new D))))return t;return null}function v7(){v7=K,pne=new yO("OVERLAP_REMOVAL",0),dne=new yO(GSt,1),gne=new yO("ROTATION",2),fne=new yO("GRAPH_SIZE_CALCULATION",3),hne=new yO("OUTGOING_EDGE_ANGLES",4)}function Bbt(e){switch(e.g){case 0:return new Jze;case 1:return new Yze;default:throw Y(new jt("No implementation is available for the edge router "+(e.f!=null?e.f:""+e.g)))}}function rwn(){var e;return HDt?l(Y_((n1(),Ll),Lx),2094):(e=l(ae(wa((n1(),Ll),Lx),563)?wa(Ll,Lx):new P0t,563),HDt=!0,bkn(e),R3n(e),PY(e),ns(Ll,Lx,e),e)}function GY(e,t,r){var o,a;if(e.j==0)return r;if(a=l(zft(e,t,r),76),o=r.Jk(),!o.pk()||!e.a.$l(o))throw Y(new Es("Invalid entry feature '"+o.ok().zb+"."+o.ve()+"'"));return a}function iwn(e,t){var r,o,a,u,f,p,m,y;for(p=e.a,m=0,y=p.length;m<y;++m)for(f=p[m],o=f,a=0,u=o.length;a<u;++a)if(r=o[a],be(t)===be(r)||t!=null&&pr(t,r))return!0;return!1}function own(e){var t,r,o;return Ea(e,0)>=0?(r=W6(e,rF),o=lY(e,rF)):(t=Rb(e,1),r=W6(t,5e8),o=lY(t,5e8),o=Ao(fh(o,1),Gi(e,1))),Of(fh(o,32),Gi(r,$o))}function swn(e,t,r,o){var a,u,f,p,m;for(a=null,u=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),m=f.i+f.g,e<f.j+f.f+o&&(a?r.i-m<r.i-u&&(a=f):a=f,u=a.i+a.g);return a?u+o:0}function awn(e,t,r,o){var a,u,f,p,m;for(u=null,a=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),m=f.j+f.f,e<f.i+f.g+o&&(u?r.j-m<r.j-a&&(u=f):u=f,a=u.j+u.f);return u?a+o:0}function uwn(e){var t,r,o;for(t=!1,o=e.b.c.length,r=0;r<o;r++)Bge(l(ze(e.b,r),439))?!t&&r+1<o&&Bge(l(ze(e.b,r+1),439))&&(t=!0,l(ze(e.b,r),439).a=!0):t=!1}function cwn(e,t,r,o,a){var u,f;for(u=0,f=0;f<a;f++)u=Ao(u,El(Gi(t[f],$o),Gi(o[f],$o))),e[f]=Dn(u),u=u0(u,32);for(;f<r;f++)u=Ao(u,Gi(t[f],$o)),e[f]=Dn(u),u=u0(u,32)}function lwn(e,t){Q_();var r,o;for(o=(jf(),d$),r=e;t>1;t>>=1)t&1&&(o=dE(o,r)),r.d==1?r=dE(r,r):r=new r1t(Pyt(r.a,r.d,we(Rn,Qn,30,r.d<<1,15,1)));return o=dE(o,r),o}function Mbe(){Mbe=K;var e,t,r,o;for(m2e=we(Ki,Jo,30,25,15,1),w2e=we(Ki,Jo,30,33,15,1),o=152587890625e-16,t=32;t>=0;t--)w2e[t]=o,o*=.5;for(r=1,e=24;e>=0;e--)m2e[e]=r,r*=.5}function dwn(e){var t,r;if(Ye(Ke(ve(e,(Be(),Ky))))){for(r=new $t(qt(mp(e).a.Jc(),new D));an(r);)if(t=l(en(r),74),R0(t)&&Ye(Ke(ve(t,bm))))return!0}return!1}function Ubt(e){var t,r,o,a;for(t=new Ar,r=new Ar,a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),12),o.e.c.length==0?Wr(r,o,r.c.b,r.c):Wr(t,o,t.c.b,t.c);return oc(t).Fc(r),t}function Hbt(e,t){var r,o,a;pi(e.f,t)&&(t.b=e,o=t.c,_s(e.j,o,0)!=-1||Fe(e.j,o),a=t.d,_s(e.j,a,0)!=-1||Fe(e.j,a),r=t.a.b,r.c.length!=0&&(!e.i&&(e.i=new s1t(e)),Dhn(e.i,r)))}function fwn(e){var t,r,o,a,u;return r=e.c.d,o=r.j,a=e.d.d,u=a.j,o==u?r.p<a.p?0:1:zj(o)==u?0:f1e(o)==u?1:(t=e.b,fu(t.b,zj(o))?0:1)}function E7(e,t){var r,o,a,u,f,p;a=e,f=B3(a,"layoutOptions"),!f&&(f=B3(a,YTt)),f&&(p=f,o=null,p&&(o=(u=EK(p,we(Je,Pe,2,0,6,1)),new yq(p,u))),o&&(r=new dnt(p,t),lo(o,r)))}function Yo(e){if(ae(e,209))return l(e,19);if(ae(e,196))return Gd(l(e,127));throw Y(e?new Jp("Only support nodes and ports."):new uS(iAt))}function hwn(e,t,r,o){return(t>=0&&wt(e.substr(t,3),"GMT")||t>=0&&wt(e.substr(t,3),"UTC"))&&(r[0]=t+3),w0e(e,r,o)}function pwn(e,t){var r,o,a,u,f;for(u=e.g.a,f=e.g.b,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),70),a=r.n,a.a=u,e.i==(He(),Wt)?a.b=f+e.j.b-r.o.b:a.b=f,br(a,t),u+=r.o.a+e.e}function zbt(e,t,r){if(e.b)throw Y(new es("The task is already done."));return e.p!=null?!1:(e.p=t,e.r=r,e.k&&(e.o=(eg(),wo(Gs(Date.now()),yg))),!0)}function Pbe(e){var t,r,o,a,u,f,p;return p=new aS,r=e.Og(),a=r!=null,a&&e_(p,qf,e.Og()),o=e.ve(),u=o!=null,u&&e_(p,or,e.ve()),t=e.Ng(),f=t!=null,f&&e_(p,"description",e.Ng()),p}function Gbt(e,t,r){var o,a,u;return u=e.q,e.q=t,e.Db&4&&!(e.Db&1)&&(a=new Pi(e,1,9,u,t),r?r.lj(a):r=a),t?(o=t.c,o!=e.r&&(r=e.Wk(o,r))):e.r&&(r=e.Wk(null,r)),r}function gwn(e,t,r){var o,a,u,f,p;for(r=(p=t,XS(p,e.e,-1-e.c,r)),f=yhe(e.a),u=(o=new dy(new Dw(f.a).a),new C9(o));u.a.b;)a=l(gE(u.a).jd(),88),r=ox(a,O7(a,e.a),r);return r}function bwn(e,t,r){var o,a,u,f,p;for(r=(p=t,OP(p,e.e,-1-e.c,r)),f=yhe(e.a),u=(o=new dy(new Dw(f.a).a),new C9(o));u.a.b;)a=l(gE(u.a).jd(),88),r=ox(a,O7(a,e.a),r);return r}function mwn(e,t,r,o){var a,u,f;if(o==0)ua(t,0,e,r,e.length-r);else for(f=32-o,e[e.length-1]=0,u=e.length-1;u>r;u--)e[u]|=t[u-r-1]>>>f,e[u-1]=t[u-r-1]<<o;for(a=0;a<r;a++)e[a]=0}function wwn(e){var t,r,o,a,u;for(t=0,r=0,u=e.Jc();u.Ob();)o=l(u.Pb(),116),t=b.Math.max(t,o.d.b),r=b.Math.max(r,o.d.c);for(a=e.Jc();a.Ob();)o=l(a.Pb(),116),o.d.b=t,o.d.c=r}function ywn(e){var t,r,o,a,u;for(r=0,t=0,u=e.Jc();u.Ob();)o=l(u.Pb(),116),r=b.Math.max(r,o.d.d),t=b.Math.max(t,o.d.a);for(a=e.Jc();a.Ob();)o=l(a.Pb(),116),o.d.d=r,o.d.a=t}function qY(e,t,r,o,a){var u,f;u=l(Au(lr(t.Mc(),new HBe),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),vC(u),f=l(Gb(e.b,r,o),16),a==0?f.ad(0,u):f.Fc(u)}function vwn(e,t,r){r.Tg("Grow Tree",1),e.b=t.f,Ye(Ke(F(t,(S_(),EI))))?(e.c=new Vm,Tut(e,null)):e.c=new Vm,e.a=!1,Awt(e,t.f),Te(t,_2e,(Lt(),!!e.a)),r.Ug()}function Qb(e){var t;this.d=new hn,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new Jot(e.e),this.a=e.a,e.f?this.g=e.f:this.g=(t=l(md(s5),10),new Hc(t,l(Gl(t,t.length),10),0))}function jbe(e){var t,r,o,a;for(t=null,a=new V(e.Pf());a.a<a.c.c.length;)o=l(q(a),190),r=new ql(o.Jf().a,o.Jf().b,o.Kf().a,o.Kf().b),t?yC(t,r):t=r;return!t&&(t=new wS),t}function VY(e,t,r,o){var a,u;return r==1?(!e.n&&(e.n=new ke(Rs,e,1,7)),Pa(e.n,t,o)):(u=l(Nt((a=l(Vt(e,16),29),a||e.fi()),r),69),u.uk().xk(e,Ha(e),r-ln(e.fi()),t,o))}function WY(e,t,r){var o,a,u,f,p;for(o=r.gc(),e.Zi(e.i+o),p=e.i-t,p>0&&ua(e.g,t,e.g,t+o,p),f=r.Jc(),e.i+=o,a=0;a<o;++a)u=f.Pb(),w3(e,t,e.Xi(t,u)),e.Ki(t,u),e.Li(),++t;return o!=0}function Zd(e,t,r){var o;return t!=e.q?(e.q&&(r=OP(e.q,e,-10,r)),t&&(r=XS(t,e,-10,r)),r=Gbt(e,t,r)):e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,9,t,t),r?r.lj(o):r=o),r}function KY(e,t,r,o){return pfe((r&$f)==0,"flatMap does not support SUBSIZED characteristic"),pfe((r&4)==0,"flatMap does not support SORTED characteristic"),kn(e),kn(t),new Sct(e,t,r,o)}function qbt(e,t){ihe(t,"Cannot suppress a null exception."),HO(t!=e,"Exception can not suppress itself."),!e.i&&(e.k==null?e.k=Z(X($Q,1),Pe,81,0,[t]):e.k[e.k.length]=t)}function Ewn(e,t){var r;if(r=Pnt(e.b.$f(),t.b.$f()),r!=0)return r;switch(e.b.$f().g){case 1:case 2:return na(e.b.Lf(),t.b.Lf());case 3:case 4:return na(t.b.Lf(),e.b.Lf())}return 0}function Swn(e){var t,r,o;for(o=e.e.c.length,e.a=Yw(Rn,[Pe,Qn],[54,30],15,[o,o],2),r=new V(e.c);r.a<r.c.c.length;)t=l(q(r),292),e.a[t.c.a][t.d.a]+=l(F(t,(ed(),AT)),15).a}function Twn(e,t){var r,o,a,u,f;if(e==null)return null;for(f=we(al,Bf,30,2*t,15,1),o=0,a=0;o<t;++o)r=e[o]>>4&15,u=e[o]&15,f[a++]=m3e[r],f[a++]=m3e[u];return Mf(f,0,f.length)}function Qa(e){var t,r;return e>=No?(t=TD+(e-No>>10&1023)&Ei,r=56320+(e-No&1023)&Ei,String.fromCharCode(t)+(""+String.fromCharCode(r))):String.fromCharCode(e&Ei)}function Awn(e,t){qw();var r,o,a,u;return a=l(l(wr(e.r,t),24),85),a.gc()>=2?(o=l(a.Jc().Pb(),116),r=e.u.Gc((xu(),k4)),u=e.u.Gc(KT),!o.a&&!r&&(a.gc()==2||u)):!1}function Vbt(e,t,r,o,a){var u,f,p;for(u=Bwt(e,t,r,o,a),p=!1;!u;)C7(e,a,!0),p=!0,u=Bwt(e,t,r,o,a);p&&C7(e,a,!1),f=DK(a),f.c.length!=0&&(e.d&&e.d.Fg(f),Vbt(e,a,r,o,f))}function S7(){S7=K,xne=new m8("NODE_SIZE_REORDERER",0),Tne=new m8("INTERACTIVE_NODE_REORDERER",1),_ne=new m8("MIN_SIZE_PRE_PROCESSOR",2),Ane=new m8("MIN_SIZE_POST_PROCESSOR",3)}function T7(){T7=K,Are=new u3(_d,0),FNe=new u3("DIRECTED",1),BNe=new u3("UNDIRECTED",2),PNe=new u3("ASSOCIATION",3),$Ne=new u3("GENERALIZATION",4),jNe=new u3("DEPENDENCY",5)}function _wn(e,t){var r;if(!Gd(e))throw Y(new es(MTt));switch(r=Gd(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-r.g;case 3:return e.j-r.f;case 4:return-(e.i+e.g)}return 0}function xwn(e,t,r){var o,a,u;return o=t.Jk(),u=t.kd(),a=o.Hk()?c1(e,4,o,u,null,nx(e,o,u,ae(o,104)&&(l(o,20).Bb&No)!=0),!0):c1(e,o.rk()?2:1,o,u,o.gk(),-1,!0),r?r.lj(a):r=a,r}function V_(e,t){var r,o;for(Mt(t),o=e.b.c.length,Fe(e.b,t);o>0;){if(r=o,o=(o-1)/2|0,e.a.Le(ze(e.b,o),t)<=0)return nc(e.b,r,t),!0;nc(e.b,r,ze(e.b,o))}return nc(e.b,o,t),!0}function Fbe(e,t,r,o){var a,u;if(a=0,r)a=$j(e.a[r.g][t.g],o);else for(u=0;u<b$;u++)a=b.Math.max(a,$j(e.a[u][t.g],o));return t==(Sd(),$a)&&e.b&&(a=b.Math.max(a,e.b.a)),a}function kwn(e,t){var r,o,a,u,f,p;return a=e.i,u=t.i,!a||!u||a.i!=u.i||a.i==(He(),Qt)||a.i==(He(),Kt)?!1:(f=a.g.a,r=f+a.j.a,p=u.g.a,o=p+u.j.a,f<=o&&r>=p)}function Wbt(e){switch(e.g){case 0:return new jze;case 1:return new Fze;default:throw Y(new jt("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function $be(e,t,r,o){var a;if(a=!1,zi(o)&&(a=!0,e_(t,r,In(o))),a||Bw(o)&&(a=!0,$be(e,t,r,o)),a||ae(o,245)&&(a=!0,Mb(t,r,l(o,245))),!a)throw Y(new cq(wEe))}function Nwn(e,t){var r,o,a;if(r=t.ni(e.a),r&&(a=Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),Al),a!=null)){for(o=1;o<(mu(),U3e).length;++o)if(wt(U3e[o],a))return o}return 0}function Cwn(e,t){var r,o,a;if(r=t.ni(e.a),r&&(a=Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),Al),a!=null)){for(o=1;o<(mu(),H3e).length;++o)if(wt(H3e[o],a))return o}return 0}function Kbt(e,t){var r,o,a,u;if(Mt(t),u=e.a.gc(),u<t.gc())for(r=e.a.ec().Jc();r.Ob();)o=r.Pb(),t.Gc(o)&&r.Qb();else for(a=t.Jc();a.Ob();)o=a.Pb(),e.a.Ac(o)!=null;return u!=e.a.gc()}function Ybt(e){var t,r;switch(r=To(xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a]))),t=e.i.d,e.j.g){case 1:r.b-=t.d;break;case 2:r.a+=t.c;break;case 3:r.b+=t.a;break;case 4:r.a-=t.b}return r}function Iwn(e){var t;for(t=(zS(),l(en(new $t(qt(si(e).a.Jc(),new D))),17).c.i);t.k==(zt(),gi);)Te(t,(Ie(),pL),(Lt(),!0)),t=l(en(new $t(qt(si(t).a.Jc(),new D))),17).c.i}function YY(e,t,r,o){var a,u,f,p;for(p=oC(t,o),f=p.Jc();f.Ob();)a=l(f.Pb(),12),e.d[a.p]=e.d[a.p]+e.c[r.p];for(p=oC(r,o),u=p.Jc();u.Ob();)a=l(u.Pb(),12),e.d[a.p]=e.d[a.p]-e.c[t.p]}function Bbe(e,t,r){var o,a;for(a=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));a.e!=a.i.gc();)o=l(rn(a),19),Bc(o,o.i+t,o.j+r);lo((!e.b&&(e.b=new ke(Ir,e,12,3)),e.b),new Gtt(t,r))}function Rwn(e,t,r,o){var a,u;for(u=t,a=u.d==null||e.a.Le(r.d,u.d)>0?1:0;u.a[a]!=r;)u=u.a[a],a=e.a.Le(r.d,u.d)>0?1:0;u.a[a]=o,o.b=r.b,o.a[0]=r.a[0],o.a[1]=r.a[1],r.a[0]=null,r.a[1]=null}function Own(e){var t,r,o,a;for(t=new je,r=we(uu,Ad,30,e.a.c.length,16,1),rhe(r,r.length),a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),126),r[o.d]||(Ot(t.c,o),d1t(e,o,r));return t}function Jbt(e,t){var r,o,a,u,f;for(a=t==1?fee:dee,o=a.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(wr(e.f.c,r),24).Jc();f.Ob();)u=l(f.Pb(),49),Xa(e.b.b,u.b),Xa(e.b.a,l(u.b,84).d)}function Dwn(e,t){var r;t.Tg("Hierarchical port position processing",1),r=e.b,r.c.length>0&&Ryt((at(0,r.c.length),l(r.c[0],26)),e),r.c.length>1&&Ryt(l(ze(r,r.c.length-1),26),e),t.Ug()}function Lwn(e){xu();var t,r;return t=xr(Rp,Z(X(lU,1),Ce,282,0,[K1])),!(T6(LP(t,e))>1||(r=xr(k4,Z(X(lU,1),Ce,282,0,[x4,KT])),T6(LP(r,e))>1))}function Ube(e,t){var r;r=wa((n1(),Ll),e),ae(r,496)?ns(Ll,e,new gnt(this,t)):ns(Ll,e,this),XY(this,t),t==($A(),C3e)?(this.wb=l(this,2017),l(t,2019)):this.wb=(a1(),Ut)}function Mwn(e){var t,r,o;if(e==null)return null;for(t=null,r=0;r<R4.length;++r)try{return Jet(R4[r],e)}catch(a){if(a=ci(a),ae(a,33))o=a,t=o;else throw Y(a)}throw Y(new oj(t))}function Xbt(){Xbt=K,ixt=Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),oxt=Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function F(e,t){var r,o;return o=(!e.q&&(e.q=new hn),Ht(e.q,t)),o??(r=t.Rg(),ae(r,4)&&(r==null?(!e.q&&(e.q=new hn),FS(e.q,t)):(!e.q&&(e.q=new hn),Jn(e.q,t,r))),r)}function Vi(){Vi=K,id=new pO("P1_CYCLE_BREAKING",0),kh=new pO("P2_LAYERING",1),la=new pO("P3_NODE_ORDERING",2),da=new pO("P4_NODE_PLACEMENT",3),Ho=new pO("P5_EDGE_ROUTING",4)}function Pwn(e,t){q3();var r;if(e.c==t.c){if(e.b==t.b||ahn(e.b,t.b)){if(r=Gen(e.b)?1:-1,e.a&&!t.a)return r;if(!e.a&&t.a)return-r}return na(e.b.g,t.b.g)}else return yr(e.c,t.c)}function jwn(e,t,r,o){var a,u,f,p,m;return f=ibt(e.a,t,r),p=l(f.a,15).a,u=l(f.b,15).a,o&&(m=l(F(t,(Ie(),Nu)),9),a=l(F(r,Nu),9),m&&a&&(Dct(e.b,m,a),p+=e.b.i,u+=e.b.e)),p>u}function Zbt(e,t){var r,o,a;if(zbe(e,t))return!0;for(o=new V(t);o.a<o.c.c.length;)if(r=l(q(o),19),a=kbt(r),$7(e,r,a)||zpt(e,r)-e.g<=e.a)return!0;return!1}function Y6(){Y6=K,ZB=(bJ(),Ake),Gne=JOt,zne=YOt,mke=VOt,Hne=KOt,bke=new xb(8),$Ot=new Mi((_n(),df),bke),BOt=new Mi(Od,8),UOt=Ske,pke=HOt,gke=zOt,FOt=new Mi(BL,(Lt(),!1))}function A7(){A7=K,Kke=new xb(15),R6t=new Mi((_n(),df),Kke),O6t=new Mi(Od,15),Yke=new Mi(HL,Re(0)),qke=$6t,C6t=Am,I6t=G1,Gke=new Mi(gk,fTt),Vke=y4,Wke=b2,are=P6t,N6t=$L}function Fwn(e,t){if(ae(t,209))return W1n(e,l(t,19));if(ae(t,196))return Y1n(e,l(t,127));if(t)return null;throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t])))))}function $wn(e,t){if(ae(t,363))return jdn(e,l(t,158));if(ae(t,273))return V_n(e,l(t,74));if(t)return null;throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t])))))}function JY(e){if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i!=1)throw Y(new jt(sAt));return Yo(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))}function Qbt(e){if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i!=1)throw Y(new jt(sAt));return Yo(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))}function Hbe(e,t,r){var o,a,u;if(++e.j,a=e.Cj(),t>=a||t<0)throw Y(new Ia(fQ+t+um+a));if(r>=a||r<0)throw Y(new Ia(hQ+r+um+a));return t!=r?o=(u=e.Aj(r),e.oj(t,u),u):o=e.vj(r),o}function emt(e){var t,r,o;if(o=e,e)for(t=0,r=e.Bh();r;r=r.Bh()){if(++t>vX)return emt(r);if(o=r,r==e)throw Y(new es("There is a cycle in the containment hierarchy of "+e))}return o}function Qd(e){var t,r,o;for(o=new qb(ja,"[","]"),r=e.Jc();r.Ob();)t=r.Pb(),up(o,be(t)===be(e)?"(this Collection)":t==null?tu:ms(t));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function zbe(e,t){var r,o;if(o=!1,t.gc()<2)return!1;for(r=0;r<t.gc();r++)r<t.gc()-1?o=o|$7(e,l(t.Xb(r),19),l(t.Xb(r+1),19)):o=o|$7(e,l(t.Xb(r),19),l(t.Xb(0),19));return o}function tmt(e,t){var r,o,a;if(a=(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i,a>0)for(o=0;o<a;o++)r=l(oe(a_(l(oe((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),o),74)),0),19),va(r,r.i+t.i),tmt(e,r)}function nmt(e,t){var r;t!=e.a?(r=null,e.a&&(r=l(e.a,52).Qh(e,4,Dd,r)),t&&(r=l(t,52).Oh(e,4,Dd,r)),r=e1e(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,1,t,t))}function Gbe(e,t){var r;t!=e.e?(e.e&&Nlt(yhe(e.e),e),t&&(!t.b&&(t.b=new N9(new rq)),Fit(t.b,e)),r=Jmn(e,t,null),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,t,t))}function Bwn(e){var t,r,o,a;if(eE(l(F(e.b,(Be(),xc)),87)))return 0;for(t=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),r.k==(zt(),Xr)&&(a=r.o.a,t=b.Math.max(t,a));return t}function Uwn(e,t){var r;r=t.o,ep(e.f)?(e.j.a=b.Math.max(e.j.a,r.a),e.j.b+=r.b,e.d.c.length>1&&(e.j.b+=e.e)):(e.j.a+=r.a,e.j.b=b.Math.max(e.j.b,r.b),e.d.c.length>1&&(e.j.a+=e.e))}function S1(){S1=K,ANt=Z(X(Io,1),ea,64,0,[(He(),Wt),Qt,dn]),TNt=Z(X(Io,1),ea,64,0,[Qt,dn,Kt]),_Nt=Z(X(Io,1),ea,64,0,[dn,Kt,Wt]),xNt=Z(X(Io,1),ea,64,0,[Kt,Wt,Qt])}function rmt(e){var t,r,o,a,u,f,p,m,y;for(this.a=A1t(e),this.b=new je,r=e,o=0,a=r.length;o<a;++o)for(t=r[o],u=new je,Fe(this.b,u),p=t,m=0,y=p.length;m<y;++m)f=p[m],Fe(u,new Tu(f.j))}function Hwn(e,t,r){var o,a,u;return u=0,o=r[t],t<r.length-1&&(a=r[t+1],e.b[t]?(u=N3n(e.d,o,a),u+=lW(e.a,o,(He(),Qt)),u+=lW(e.a,a,Kt)):u=Hdn(e.a,o,a)),e.c[t]&&(u+=ldn(e.a,o)),u}function zwn(e,t,r,o,a){var u,f,p,m;for(m=null,p=new V(o);p.a<p.c.c.length;)if(f=l(q(p),447),f!=r&&_s(f.e,a,0)!=-1){m=f;break}u=WW(a),bo(u,r.b),Ji(u,m.b),yt(e.a,a,new K8(u,t,r.f))}function imt(e){for(;e.g.c!=0&&e.d.c!=0;)TV(e.g).c>TV(e.d).c?(e.i+=e.g.c,dY(e.d)):TV(e.d).c>TV(e.g).c?(e.e+=e.d.c,dY(e.g)):(e.i+=Got(e.g),e.e+=Got(e.d),dY(e.g),dY(e.d))}function Gwn(e,t,r){var o,a,u,f;for(u=t.q,f=t.r,new Pb((vd(),U1),t,u,1),new Pb(U1,u,f,1),a=new V(r);a.a<a.c.c.length;)o=l(q(a),117),o!=u&&o!=t&&o!=f&&(L0e(e.a,o,t),L0e(e.a,o,f))}function omt(e,t,r,o){e.a.d=b.Math.min(t,r),e.a.a=b.Math.max(t,o)-e.a.d,t<r?(e.b=.5*(t+r),e.g=OZ*e.b+.9*t,e.f=OZ*e.b+.9*r):(e.b=.5*(t+o),e.g=OZ*e.b+.9*o,e.f=OZ*e.b+.9*t)}function qwn(e){var t,r,o,a;if(e.b!=0){for(t=new Ar,a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),41),mo(t,OK(o)),r=o.e,r.a=l(F(o,(Nr(),CL)),15).a,r.b=l(F(o,IL),15).a;return t}return new Ar}function Vwn(e){switch(l(F(e,(Be(),Cs)),166).g){case 1:Te(e,Cs,(ic(),MI));break;case 2:Te(e,Cs,(ic(),gm));break;case 3:Te(e,Cs,(ic(),LI));break;case 4:Te(e,Cs,(ic(),xp))}}function Wwn(e,t,r){var o;r.Tg("Self-Loop routing",1),o=Cgn(t),C8(F(t,(ZP(),p4))),ei(Oa(lr(lr(bs(new Et(null,new St(t.b,16)),new G$e),new q$e),new V$e),new W$e),new dtt(e,o)),r.Ug()}function W_(){W_=K,NI=new o3(_d,0),sTe=new o3(hT,1),cTe=new o3(pT,2),uTe=new o3("LEFT_RIGHT_CONSTRAINT_LOCKING",3),aTe=new o3("LEFT_RIGHT_CONNECTION_LOCKING",4),oTe=new o3(bSt,5)}function smt(e,t,r){var o,a,u,f,p,m,y;p=r.a/2,u=r.b/2,o=b.Math.abs(t.a-e.a),a=b.Math.abs(t.b-e.b),m=1,y=1,o>p&&(m=p/o),a>u&&(y=u/a),f=b.Math.min(m,y),e.a+=f*(t.a-e.a),e.b+=f*(t.b-e.b)}function Kwn(e,t,r,o,a){var u,f;for(f=!1,u=l(ze(r.b,0),19);t_n(e,t,u,o,a)&&(f=!0,L0n(r,u),r.b.c.length!=0);)u=l(ze(r.b,0),19);return r.b.c.length==0&&q6(r.j,r),f&&f7(t.q),f}function qbe(e,t,r,o){var a,u;return r==0?(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),q8(e.o,t,o)):(u=l(Nt((a=l(Vt(e,16),29),a||e.fi()),r),69),u.uk().yk(e,Ha(e),r-ln(e.fi()),t,o))}function XY(e,t){var r;t!=e.sb?(r=null,e.sb&&(r=l(e.sb,52).Qh(e,1,I4,r)),t&&(r=l(t,52).Oh(e,1,I4,r)),r=i1e(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,4,t,t))}function amt(e,t){var r,o,a,u;if(t)a=fp(t,"x"),r=new kXe(e),y0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new NXe(e),v0(o.a,(Mt(u),u));else throw Y(new xf("All edge sections need an end point."))}function umt(e,t){var r,o,a,u;if(t)a=fp(t,"x"),r=new AXe(e),E0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new _Xe(e),S0(o.a,(Mt(u),u));else throw Y(new xf("All edge sections need a start point."))}function Ywn(e,t){var r,o,a,u,f,p,m;for(o=kpt(e),u=0,p=o.length;u<p;++u)dmt(t);for(m=!sf&&e.e?sf?null:e.d:null;m;){for(r=kpt(m),a=0,f=r.length;a<f;++a)dmt(t);m=!sf&&m.e?sf?null:m.d:null}}function cmt(e,t){var r,o;o=l(F(t,(Be(),Zr)),103),Te(t,(Ie(),ATe),o),r=t.e,r&&(ei(new Et(null,new St(r.a,16)),new mce(e)),ei(bs(new Et(null,new St(r.b,16)),new r9),new wce(e)))}function Jwn(e){var t,r,o,a;if(t=!1,gr(e,(Ie(),RI)))for(r=l(F(e,RI),93),a=new V(e.j);a.a<a.c.c.length;)o=l(q(a),12),JEn(o)&&(t||(fvn(ji(e)),t=!0),f1n(l(r.xc(o),319)))}function Xwn(e){var t,r,o,a,u,f,p,m,y;return y=Pbe(e),r=e.e,u=r!=null,u&&e_(y,zF,e.e),p=e.k,f=!!p,f&&e_(y,"type",yV(e.k)),o=aO(e.j),a=!o,a&&(m=new Eb,Kl(y,lQ,m),t=new WXe(m),lo(e.j,t)),y}function Zwn(e){var t,r,o,a;for(a=Db((wc(e.gc(),"size"),new lS),123),o=!0,r=Cb(e).Jc();r.Ob();)t=l(r.Pb(),45),o||(a.a+=ja),o=!1,ba(Db(ba(a,t.jd()),61),t.kd());return(a.a+="}",a).a}function lmt(e,t){var r,o,a;return t&=63,t<22?(r=e.l<<t,o=e.m<<t|e.l>>22-t,a=e.h<<t|e.m>>22-t):t<44?(r=0,o=e.l<<t-22,a=e.m<<t-22|e.l>>44-t):(r=0,o=0,a=e.l<<t-44),Ua(r&Hu,o&Hu,a&Ep)}function vy(e){if(XEe==null&&(XEe=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!XEe.test(e))throw Y(new kf(F0+e+'"'));return parseFloat(e)}function dmt(e){var t,r,o;t=wt(typeof console,kX)?null:new Ui,t&&(GA(),r=(o=900,o>=yg?"error":o>=900?"warn":o>=800?"info":"log"),Fst(r,e.a),e.b&&Vme(t,r,e.b,"Exception: ",!0))}function fmt(e,t){var r,o,a,u,f;for(a=t==1?fee:dee,o=a.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(wr(e.f.c,r),24).Jc();f.Ob();)u=l(f.Pb(),49),Fe(e.b.b,l(u.b,84)),Fe(e.b.a,l(u.b,84).d)}function hmt(e,t,r,o){var a,u,f,p,m;switch(m=e.b,u=t.d,f=u.j,p=G1e(f,m.d[f.g],r),a=br(To(u.n),u.a),u.j.g){case 3:case 1:p.a+=a.a;break;case 2:p.b+=a.b;break;case 4:p.b+=a.b}Wr(o,p,o.c.b,o.c)}function Qwn(e,t){var r,o,a,u;for(u=t.b.j,e.a=we(Rn,Qn,30,u.c.length,15,1),a=0,o=0;o<u.c.length;o++)r=(at(o,u.c.length),l(u.c[o],12)),r.e.c.length==0&&r.g.c.length==0?a+=1:a+=3,e.a[o]=a}function _7(){_7=K,zee=new r3("ALWAYS_UP",0),Hee=new r3("ALWAYS_DOWN",1),qee=new r3("DIRECTION_UP",2),Gee=new r3("DIRECTION_DOWN",3),Vee=new r3("SMART_UP",4),Y$=new r3("SMART_DOWN",5)}function pmt(e){switch(e.g){case 0:return new jWe;case 1:return new WWe;case 2:return new KWe;case 3:return new Ktt;case 4:return new cst;default:throw Y(new jt(kZ+(e.f!=null?e.f:""+e.g)))}}function eyn(e,t){if(e<0||t<0)throw Y(new jt("k and n must be positive"));if(t>e)throw Y(new jt("k must be smaller than n"));return t==0||t==e?1:e==0?0:wbe(e)/(wbe(t)*wbe(e-t))}function Vbe(e,t){var r,o,a,u;for(r=new aV(e);r.g==null&&!r.c?jhe(r):r.g==null||r.i!=0&&l(r.g[r.i-1],51).Ob();)if(u=l(I7(r),57),ae(u,176))for(o=l(u,176),a=0;a<t.length;a++)t[a].Jg(o)}function ZY(e){var t;return e.Db&64?nY(e):(t=new ml(nY(e)),t.a+=" (height: ",Vv(t,e.f),t.a+=", width: ",Vv(t,e.g),t.a+=", x: ",Vv(t,e.i),t.a+=", y: ",Vv(t,e.j),t.a+=")",t.a)}function tyn(e){var t,r,o,a,u,f,p;for(t=new d1,o=e,a=0,u=o.length;a<u;++a)if(r=o[a],f=kn(r.jd()),p=Jb(t,f,kn(r.kd())),p!=null)throw Y(new jt("duplicate key: "+f));this.b=(At(),new VG(t))}function nyn(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],up(u,String.fromCharCode(t));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Wbe(){Wbe=K,x2e=(cj(),w$),rkt=new pt(uF,x2e),Re(1),nkt=new pt(Awe,Re(300)),Re(0),skt=new pt(_we,Re(0)),akt=new pt(OX,Hf),ikt=new pt(DX,5),ukt=w$,okt=iee}function ryn(e,t){var r;if(t!=null&&!e.c.Fk().dk(t))throw r=ae(t,57)?l(t,57).Ah().zb:Ab(rc(t)),Y(new MA(R1+e.c.ve()+"'s type '"+e.c.Fk().ve()+"' does not permit a value of type '"+r+"'"))}function iyn(e,t,r){var o,a;for(a=new Xi(e.b,0);a.b<a.d.gc();)o=(un(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),70)),be(F(o,(Ie(),STe)))===be(t)&&(eme(o.n,ji(e.c.i),r),Mu(a),Fe(t.b,o))}function gmt(e){var t,r;return r=b.Math.sqrt((e.k==null&&(e.k=wge(e,new mUe)),ue(e.k)/(e.b*(e.g==null&&(e.g=wht(e,new Mue)),ue(e.g))))),t=Dn(Gs(b.Math.round(r))),t=b.Math.min(t,e.f),t}function oyn(){var e,t,r;for(t=0,e=0;e<1;e++){if(r=Sme((Yt(e,1),"X".charCodeAt(e))),r==0)throw Y(new Ln((Yt(e,2),"Unknown Option: "+"X".substr(e))));t|=r}return t}function syn(e){var t,r,o,a,u,f;for(t=new iE,r=new iE,l1(t,e),l1(r,e);r.b!=r.c;)for(a=l(CS(r),37),f=new V(a.a);f.a<f.c.c.length;)u=l(q(f),9),u.e&&(o=u.e,l1(t,o),l1(r,o));return t}function aa(){bu(),nfe.call(this),this.j=(He(),Is),this.a=new ro,new QG,this.f=(wc(2,Iy),new Da(2)),this.e=(wc(4,Iy),new Da(4)),this.g=(wc(4,Iy),new Da(4)),this.b=new ltt(this.e,this.g)}function ayn(e,t){var r,o;return!(Ye(Ke(F(t,(Ie(),Ag))))||(o=t.c.i,e==(ic(),LI)&&o.k==(zt(),ta))||(r=l(F(o,(Be(),Cs)),166),r==xp))}function uyn(e,t){var r,o;return!(Ye(Ke(F(t,(Ie(),Ag))))||(o=t.d.i,e==(ic(),MI)&&o.k==(zt(),ta))||(r=l(F(o,(Be(),Cs)),166),r==gm))}function cyn(e,t){var r,o,a,u,f,p,m;for(f=e.d,m=e.o,p=new ql(-f.b,-f.d,f.b+m.a+f.c,f.d+m.b+f.a),o=t,a=0,u=o.length;a<u;++a)r=o[a],r&&yC(p,r.i);f.b=-p.c,f.d=-p.d,f.c=p.b-f.b-m.a,f.a=p.a-f.d-m.b}function lyn(e,t){if(t.a)switch(l(F(t.b,(Ie(),ATe)),103).g){case 0:case 1:O0n(t);case 2:ei(new Et(null,new St(t.d,16)),new Rue),tEn(e.a,t)}else ei(new Et(null,new St(t.d,16)),new Rue)}function J6(){J6=K,lke=new EO("CENTER_DISTANCE",0),Bne=new EO("CIRCLE_UNDERLAP",1),fke=new EO("RECTANGLE_UNDERLAP",2),Une=new EO("INVERTED_OVERLAP",3),dke=new EO("MINIMUM_ROOT_DISTANCE",4)}function dyn(e){Qme();var t,r,o,a,u;if(e==null)return null;for(o=e.length,a=o*2,t=we(al,Bf,30,a,15,1),r=0;r<o;r++)u=e[r],u<0&&(u+=256),t[r*2]=kU[u>>4],t[r*2+1]=kU[u&15];return Mf(t,0,t.length)}function fyn(e){var t,r,o;switch(o=e.c.length,o){case 0:return hW(),z_t;case 1:return t=l(Jmt(new V(e)),45),Cnn(t.jd(),t.kd());default:return r=l(Yd(e,we(dm,tF,45,e.c.length,0,1)),178),new vle(r)}}function bg(e,t){switch(t.g){case 1:return _S(e.j,(bu(),X2e));case 2:return _S(e.j,(bu(),Y2e));case 3:return _S(e.j,(bu(),Q2e));case 4:return _S(e.j,(bu(),eSe));default:return At(),At(),Co}}function hyn(e,t){var r,o,a;r=Con(t,e.e),o=l(Ht(e.g.f,r),15).a,a=e.a.c.length-1,e.a.c.length!=0&&l(ze(e.a,a),296).c==o?(++l(ze(e.a,a),296).a,++l(ze(e.a,a),296).b):Fe(e.a,new Vrt(o))}function T1(){T1=K,JRt=(_n(),GT),XRt=Od,VRt=Am,WRt=b2,KRt=G1,qRt=g2,Exe=v4,YRt=cv,mne=(c0e(),LRt),wne=MRt,Txe=$Rt,yne=HRt,Axe=BRt,_xe=URt,Sxe=PRt,HB=jRt,zB=FRt,RL=zRt,xxe=GRt,vxe=DRt}function bmt(e,t){var r,o,a,u,f;if(e.e<=t||pcn(e,e.g,t))return e.g;for(u=e.r,o=e.g,f=e.r,a=(u-o)/2+o;o+1<u;)r=MC(e,a,!1),r.b<=a&&r.a<=t?(f=a,u=a):o=a,a=(u-o)/2+o;return f}function pyn(e,t,r){var o;o=Hwt(e,t,!0),zbt(r,"Recursive Graph Layout",o),Vbe(t,Z(X($ke,1),Rt,528,0,[new aKe])),Gc(t,(_n(),lv))||Vbe(t,Z(X($ke,1),Rt,528,0,[new cGe])),Q0e(e,t,null,r),mmt(r)}function mmt(e){var t;if(e.p==null)throw Y(new es("The task has not begun yet."));e.b||(e.k&&(t=(eg(),wo(Gs(Date.now()),yg)),e.q=$b(El(t,e.o))*1e-9),e.c<e.r&&pge(e,e.r-e.c),e.b=!0)}function gyn(e){var t,r,o;for(o=new Lu,Gn(o,new Me(e.j,e.k)),r=new tn((!e.a&&(e.a=new yi(Ic,e,5)),e.a));r.e!=r.i.gc();)t=l(rn(r),373),Gn(o,new Me(t.a,t.b));return Gn(o,new Me(e.b,e.c)),o}function wmt(e,t,r,o,a){var u,f,p,m,y,v;if(a)for(m=a.a.length,u=new Ib(m),v=(u.b-u.a)*u.c<0?(r1(),eb):new s1(u);v.Ob();)y=l(v.Pb(),15),p=f_(a,y.a),f=new yat(e,t,r,o),Fyt(f.a,f.b,f.c,f.d,p)}function Kbe(e,t){var r;if(be(e)===be(t))return!0;if(ae(t,24)){r=l(t,24);try{return e.gc()==r.gc()&&e.Hc(r)}catch(o){if(o=ci(o),ae(o,174)||ae(o,214))return!1;throw Y(o)}}return!1}function QY(e,t,r,o,a,u){switch(this.c=e,t.g){case 2:if(e.a.Le(a,r)<0)throw Y(new jt(hwe+a+v2t+r));break;case 1:e.a.Le(a,a);break;case 3:e.a.Le(r,r)}this.f=t,this.b=r,this.a=o,this.e=a,this.d=u}function Ybe(e,t){var r;Fe(e.d,t),r=t.Kf(),e.c?(e.e.a=b.Math.max(e.e.a,r.a),e.e.b+=r.b,e.d.c.length>1&&(e.e.b+=e.a)):(e.e.a+=r.a,e.e.b=b.Math.max(e.e.b,r.b),e.d.c.length>1&&(e.e.a+=e.a))}function byn(e){var t,r,o,a;switch(a=e.i,t=a.b,o=a.j,r=a.g,a.a.g){case 0:r.a=(e.g.b.o.a-o.a)/2;break;case 1:r.a=t.d.n.a+t.d.a.a;break;case 2:r.a=t.d.n.a+t.d.a.a-o.a;break;case 3:r.b=t.d.n.b+t.d.a.b}}function myn(e,t,r){var o,a,u;for(a=new $t(qt(Lf(r).a.Jc(),new D));an(a);)o=l(en(a),17),!fo(o)&&!(!fo(o)&&o.c.i.c==o.d.i.c)&&(u=dwt(e,o,r,new PZe),u.c.length>1&&Ot(t.c,u))}function ymt(e,t,r,o,a){if(o<t||a<r)throw Y(new jt("The highx must be bigger then lowx and the highy must be bigger then lowy"));return e.a<t?e.a=t:e.a>o&&(e.a=o),e.b<r?e.b=r:e.b>a&&(e.b=a),e}function wyn(e){if(ae(e,144))return z2n(l(e,144));if(ae(e,236))return Wgn(l(e,236));if(ae(e,21))return Xwn(l(e,21));throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[e])))))}function yyn(e,t,r,o,a){var u,f,p;for(u=!0,f=0;f<o;f++)u=u&r[f]==0;if(a==0)ua(r,o,e,0,t),f=t;else{for(p=32-a,u=u&r[f]<<p==0,f=0;f<t-1;f++)e[f]=r[f+o]>>>a|r[f+o+1]<<p;e[f]=r[f+o]>>>a,++f}return u}function Jbe(e,t,r,o){var a,u,f;if(t.k==(zt(),gi)){for(u=new $t(qt(si(t).a.Jc(),new D));an(u);)if(a=l(en(u),17),f=a.c.i.k,f==gi&&e.c.a[a.c.i.c.p]==o&&e.c.a[t.c.p]==r)return!0}return!1}function vyn(e,t,r){var o;r.Tg("YPlacer",1),e.a=ue(ce(ve(t,(QS(),Pke)))),e.b=ue(ce(ve(t,(_n(),Od)))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),Ewt(e,o,0)),r.Ug()}function Eyn(e,t){var r,o,a,u;return t&=63,r=e.h&Ep,t<22?(u=r>>>t,a=e.m>>t|r<<22-t,o=e.l>>t|e.m<<22-t):t<44?(u=0,a=r>>>t-22,o=e.m>>t-22|e.h<<44-t):(u=0,a=0,o=r>>>t-44),Ua(o&Hu,a&Hu,u&Ep)}function vmt(e,t,r,o){var a;this.b=o,this.e=e==(Kb(),XI),a=t[r],this.d=Yw(uu,[Pe,Ad],[172,30],16,[a.length,a.length],2),this.a=Yw(Rn,[Pe,Qn],[54,30],15,[a.length,a.length],2),this.c=new Rbe(t,r)}function Syn(e){var t,r,o;for(e.k=new zhe((He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,e.j.c.length),o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),114),t=r.d.j,yt(e.k,t,r);e.e=I2n(kS(e.k))}function Emt(e,t){var r,o,a;pi(e.d,t),r=new mHe,Jn(e.c,t,r),r.f=YK(t.c),r.a=YK(t.d),r.d=(NC(),a=t.c.i.k,a==(zt(),Xr)||a==af),r.e=(o=t.d.i.k,o==Xr||o==af),r.b=t.c.j==(He(),Kt),r.c=t.d.j==Qt}function Tyn(e){var t,r,o,a,u;for(u=sr,a=sr,o=new V(wE(e));o.a<o.c.c.length;)r=l(q(o),220),t=r.e.e-r.d.e,r.e==e&&t<a?a=t:t<u&&(u=t);return a==sr&&(a=-1),u==sr&&(u=-1),new ko(Re(a),Re(u))}function Ayn(e,t){var r,o,a,u;for(r=t.a.o.a,u=new Rf(ji(t.a).b,t.c,t.f+1),a=new LN(u);a.b<a.d.gc();)if(o=(un(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),26)),o.c.a>=r)return K_(e,t,o.p),!0;return!1}function _E(e,t,r,o){var a,u,f,p,m,y;for(f=r.length,u=0,a=-1,y=uft((Yt(t,e.length+1),e.substr(t)),(IV(),g2e)),p=0;p<f;++p)m=r[p].length,m>u&&vsn(y,uft(r[p],g2e))&&(a=p,u=m);return a>=0&&(o[0]=t+u),a}function _yn(e,t,r){var o,a,u,f,p,m,y,v;u=e.d.p,p=u.e,m=u.r,e.g=new FO(m),f=e.d.o.c.p,o=f>0?p[f-1]:we(Nh,vg,9,0,0,1),a=p[f],y=f<p.length-1?p[f+1]:we(Nh,vg,9,0,0,1),v=t==r-1,v?xW(e.g,a,y):xW(e.g,o,a)}function Smt(e){var t;return e.Db&64?ZY(e):(t=new fc(cEe),!e.a||zn(zn((t.a+=' "',t),e.a),'"'),zn(e0(zn(e0(zn(e0(zn(e0((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Tmt(e,t,r){var o,a,u,f,p;for(p=za(e.e.Ah(),t),a=l(e.g,123),o=0,f=0;f<e.i;++f)if(u=a[f],p.$l(u.Jk())){if(o==r)return _y(e,f),Lo(),l(t,69).vk()?u:u.kd();++o}throw Y(new Ia(aI+r+um+o))}function Amt(e){var t,r,o;if(t=e.c,t==2||t==7||t==1)return fr(),fr(),B4;for(o=Y0e(e),r=null;(t=e.c)!=2&&t!=7&&t!=1;)r||(r=(fr(),fr(),new b3(1)),em(r,o),o=r),em(r,Y0e(e));return o}function xyn(e,t,r){return e<0||e>r?sme(e,r,"start index"):t<0||t>r?sme(t,r,"end index"):CC("end index (%s) must not be less than start index (%s)",Z(X(Ii,1),Rt,1,5,[Re(t),Re(e)]))}function _mt(e,t){var r,o,a,u;for(o=0,a=e.length;o<a;o++){u=e[o];try{u[1]?u[0].Sm()&&(t=tsn(t,u)):u[0].Sm()}catch(f){if(f=ci(f),ae(f,81))r=f,F9(),jan(ae(r,477)?l(r,477).ie():r);else throw Y(f)}}return t}function K_(e,t,r){var o,a,u;for(r!=t.c+t.b.gc()&&P_n(t.a,_hn(t,r-t.c)),u=t.a.c.p,e.a[u]=b.Math.max(e.a[u],t.a.o.a),a=l(F(t.a,(Ie(),OI)),16).Jc();a.Ob();)o=l(a.Pb(),70),Te(o,vee,(Lt(),!0))}function kyn(e,t){var r,o,a;a=J2n(t),Te(t,(Ie(),rte),a),a&&(o=sr,ts(e.f,a)&&(o=l(Ss(ts(e.f,a)),15).a),r=l(ze(t.g,0),17),Ye(Ke(F(r,Ag)))||Jn(e,a,Re(b.Math.min(l(F(r,Cr),15).a,o))))}function Nyn(e){var t,r,o,a;for(r=sr,a=!0,t=0;t<e.a.c.length;t++)gr(l(ze(e.a,t),9),(Be(),bB))&&(a=!1,o=l(F(l(ze(e.a,t),9),bB),15).a,r=r<o?r:o);return a&&(r=l(Ge((Be(),bB)),15).a),r}function xmt(e,t,r){var o,a,u,f,p;for(t.p=-1,p=k0(t,(jo(),Ba)).Jc();p.Ob();)for(f=l(p.Pb(),12),a=new V(f.g);a.a<a.c.c.length;)o=l(q(a),17),u=o.d.i,t!=u&&(u.p<0?r.Ec(o):u.p>0&&xmt(e,u,r));t.p=0}function Cyn(e){var t,r,o,a;for(t=Db(zn(new fc("Predicates."),"and"),40),r=!0,a=new LN(e);a.b<a.d.gc();)o=(un(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),r||(t.a+=","),t.a+=""+o,r=!1;return(t.a+=")",t).a}function kmt(e,t,r){var o,a,u;if(!(r<=t+2))for(a=(r-t)/2|0,o=0;o<a;++o)u=(at(t+o,e.c.length),l(e.c[t+o],12)),nc(e,t+o,(at(r-o-1,e.c.length),l(e.c[r-o-1],12))),at(r-o-1,e.c.length),e.c[r-o-1]=u}function Nmt(e,t){var r,o,a;if(t.c.length!=0){for(r=Zbt(e,t),a=!1;!r;)C7(e,t,!0),a=!0,r=Zbt(e,t);a&&C7(e,t,!1),o=DK(t),e.b&&e.b.Fg(o),e.a=zpt(e,(at(0,t.c.length),l(t.c[0],19))),Nmt(e,o)}}function eJ(e,t){var r,o,a;if(o=Nt(e.Ah(),t),r=t-e.gi(),r<0)if(o)if(o.pk())a=e.Fh(o),a>=0?e.hi(a):lme(e,o);else throw Y(new jt(R1+o.ve()+iI));else throw Y(new jt(VTt+t+WTt));else Jc(e,r,o)}function Xbe(e){var t,r;if(r=null,t=!1,ae(e,213)&&(t=!0,r=l(e,213).a),t||ae(e,266)&&(t=!0,r=""+l(e,266).a),t||ae(e,482)&&(t=!0,r=""+l(e,482).a),!t)throw Y(new cq(wEe));return r}function Zbe(e,t,r){var o,a,u,f,p,m;for(m=za(e.e.Ah(),t),o=0,p=e.i,a=l(e.g,123),f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())){if(r==o)return f;++o,p=f+1}if(r==o)return p;throw Y(new Ia(aI+r+um+o))}function Iyn(e,t){var r,o,a,u;if(e.f.c.length==0)return null;for(u=new wS,o=new V(e.f);o.a<o.c.c.length;)r=l(q(o),70),a=r.o,u.b=b.Math.max(u.b,a.a),u.a+=a.b;return u.a+=(e.f.c.length-1)*t,u}function Ryn(e){var t,r,o,a;for(o=e.a.d.j,a=e.a.d.j,r=new V(e.i.d);r.a<r.c.c.length;)t=l(q(r),70),Te(t,(Be(),i2),null);o==(He(),Wt)||a==Wt?ig(e,dn,(Xl(),Hy),null):ig(e,Wt,(Xl(),Hy),null)}function Qbe(e){var t,r,o,a;for(e.e=0,a=An(e.f,0);a.b!=a.d.c;)o=l(Sn(a),9),o.p>=e.d.b.c.length&&(t=new ra(e.d),t.p=o.p-1,Fe(e.d.b,t),r=new ra(e.d),r.p=o.p,Fe(e.d.b,r)),Oi(o,l(ze(e.d.b,o.p),26))}function Oyn(e){var t,r,o,a;for(r=new Ar,mo(r,e.o),o=new D9;r.b!=0;)t=l(r.b==0?null:(un(r.b!=0),Vc(r,r.a.a)),504),a=AEt(e,t,!0),a&&Fe(o.a,t);for(;o.a.c.length!=0;)t=l(Kge(o),504),AEt(e,t,!1)}function Ze(e){var t;this.c=new Ar,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=l(md(cf),10),new Hc(t,l(Gl(t,t.length),10),0)),this.g=e.f}function A1(){A1=K,Bke=new gS(qC,0),Ai=new gS("BOOLEAN",1),yo=new gS("INT",2),HT=new gS("STRING",3),eo=new gS("DOUBLE",4),$r=new gS("ENUM",5),UT=new gS("ENUMSET",6),lf=new gS("OBJECT",7)}function yC(e,t){var r,o,a,u,f;o=b.Math.min(e.c,t.c),u=b.Math.min(e.d,t.d),a=b.Math.max(e.c+e.b,t.c+t.b),f=b.Math.max(e.d+e.a,t.d+t.a),a<o&&(r=o,o=a,a=r),f<u&&(r=u,u=f,f=r),bot(e,o,u,a-o,f-u)}function Cmt(e,t){var r,o;if(e.f){for(;t.Ob();)if(r=l(t.Pb(),76),o=r.Jk(),ae(o,104)&&l(o,20).Bb&Ws&&(!e.e||o.nk()!=Ak||o.Jj()!=0)&&r.kd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function Imt(e,t){var r,o;if(e.f){for(;t.Sb();)if(r=l(t.Ub(),76),o=r.Jk(),ae(o,104)&&l(o,20).Bb&Ws&&(!e.e||o.nk()!=Ak||o.Jj()!=0)&&r.kd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function mu(){mu=K,H3e=Z(X(Je,1),Pe,2,6,[OEe,WD,t$,l_t,n$,EQ,zF]),U3e=Z(X(Je,1),Pe,2,6,[OEe,"empty",WD,VD,"elementOnly"]),z3e=Z(X(Je,1),Pe,2,6,[OEe,"preserve","replace",kd]),ao=new xot}function eme(e,t,r){var o,a,u;if(t!=r){o=t;do br(e,o.c),a=o.e,a&&(u=o.d,Gw(e,u.b,u.d),br(e,a.n),o=ji(a));while(a);o=r;do Di(e,o.c),a=o.e,a&&(u=o.d,Xrt(e,u.b,u.d),Di(e,a.n),o=ji(a));while(a)}}function tJ(e,t,r,o){var a,u,f,p,m;if(o.f.c+o.i.c==0)for(f=e.a[e.c],p=0,m=f.length;p<m;++p)u=f[p],Jn(o,u,new Aht(e,u,r));return a=l(Ss(ts(o.f,t)),674),a.b=0,a.c=a.f,a.c==0||qKe(l(ze(a.a,a.b),296)),a}function Rmt(e){var t;this.j=new je,this.f=new hi,this.b=(t=l(md(Io),10),new Hc(t,l(Gl(t,t.length),10),0)),this.d=we(Rn,Qn,30,(He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,15,1),this.g=e}function eT(){eT=K,Kx=new n3("MEDIAN_LAYER",0),xI=new n3("TAIL_LAYER",1),Wx=new n3("HEAD_LAYER",2),zy=new n3("SPACE_EFFICIENT_LAYER",3),YE=new n3("WIDEST_LAYER",4),KE=new n3("CENTER_LAYER",5)}function tme(e,t,r){var o,a,u;if(!e.b[t.g]){for(e.b[t.g]=!0,o=r,!o&&(o=new i6),Gn(o.b,t),u=e.a[t.g].Jc();u.Ob();)a=l(u.Pb(),65),a.b!=t&&tme(e,a.b,o),a.c!=t&&tme(e,a.c,o),Gn(o.a,a);return o}return null}function Dyn(e){switch(e.g){case 0:case 1:case 2:return He(),Wt;case 3:case 4:case 5:return He(),dn;case 6:case 7:case 8:return He(),Kt;case 9:case 10:case 11:return He(),Qt;default:return He(),Is}}function Lyn(e,t){var r;return e.c.length==0?!1:(r=Mgt((at(0,e.c.length),l(e.c[0],17)).c.i),gc(),r==(wy(),a2)||r==s2?!0:fE(Oa(new Et(null,new St(e,16)),new DUe),new LJe(t)))}function nJ(e,t){if(ae(t,209))return itn(e,l(t,19));if(ae(t,196))return otn(e,l(t,127));if(ae(t,446))return rtn(e,l(t,171));throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t])))))}function Omt(e,t,r){var o,a;if(this.f=e,o=l(Ht(e.b,t),263),a=o?o.a:0,vpe(r,a),r>=(a/2|0))for(this.e=o?o.c:null,this.d=a;r++<a;)Zdt(this);else for(this.c=o?o.b:null;r-- >0;)zpe(this);this.b=t,this.a=null}function Myn(e,t){var r,o;t.a?aSn(e,t):(r=l(Eq(e.b,t.b),60),r&&r==e.a[t.b.f]&&r.a&&r.a!=t.b.a&&r.c.Ec(t.b),o=l(vq(e.b,t.b),60),o&&e.a[o.f]==t.b&&o.a&&o.a!=t.b.a&&t.b.c.Ec(o),gV(e.b,t.b))}function Dmt(e,t){var r,o;if(r=l(Wo(e.b,t),129),l(l(wr(e.r,t),24),85).dc()){r.n.b=0,r.n.c=0;return}r.n.b=e.C.b,r.n.c=e.C.c,e.A.Gc((sc(),xm))&&dyt(e,t),o=bbn(e,t),hJ(e,t)==(vE(),V1)&&(o+=2*e.w),r.a.a=o}function Lmt(e,t){var r,o;if(r=l(Wo(e.b,t),129),l(l(wr(e.r,t),24),85).dc()){r.n.d=0,r.n.a=0;return}r.n.d=e.C.d,r.n.a=e.C.a,e.A.Gc((sc(),xm))&&fyt(e,t),o=gbn(e,t),hJ(e,t)==(vE(),V1)&&(o+=2*e.w),r.a.b=o}function Pyn(e,t){var r,o,a,u;for(u=new je,o=new V(t);o.a<o.c.c.length;)r=l(q(o),68),Fe(u,new Nle(r,!0)),Fe(u,new Nle(r,!1));a=new $at(e),a.a.a.$b(),rct(u,e.b,new Ls(Z(X(wxt,1),Rt,690,0,[a])))}function jyn(e,t){var r,o,a;t.Tg("End label pre-processing",1),r=ue(ce(F(e,(Be(),o2)))),o=ue(ce(F(e,ev))),a=eE(l(F(e,xc),87)),ei(bs(new Et(null,new St(e.b,16)),new lFe),new eot(r,o,a)),t.Ug()}function nme(e,t){var r,o,a;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,o=new $t(qt(Or(t).a.Jc(),new D));an(o);)r=l(en(o),17),!fo(r)&&(a=r.d.i,e.a[a.p]?Fe(e.b,r):nme(e,a));e.a[t.p]=!1}}function tT(e,t,r){var o;switch(o=0,l(F(t,(Be(),Cs)),166).g){case 2:o=2*-r+e.a,++e.a;break;case 1:o=-r;break;case 3:o=r;break;case 4:o=2*r+e.b,++e.b}return gr(t,(Ie(),Cr))&&(o+=l(F(t,Cr),15).a),o}function Mmt(e,t,r){var o,a,u;for(r.yc(t,e),Fe(e.n,t),u=e.p.yg(t),t.j==e.p.zg()?Egt(e.e,u):Egt(e.j,u),vP(e),a=hh(Wc(Z(X(nl,1),Rt,22,0,[new DA(t),new tS(t)])));an(a);)o=l(en(a),12),r._b(o)||Mmt(e,o,r)}function Fyn(e,t,r){var o,a,u;for(r.Tg("Processor set neighbors",1),e.a=t.b.b==0?1:t.b.b,a=null,o=An(t.b,0);!a&&o.b!=o.d.c;)u=l(Sn(o),41),Ye(Ke(F(u,(Nr(),z1))))&&(a=u);a&&qwt(e,new Qh(a),r),r.Ug()}function rme(e){var t,r,o;return r=l(ve(e,(_n(),Am)),24),r.Gc((sc(),hv))?(o=l(ve(e,G1),24),t=new So(l(ve(e,b2),8)),o.Gc((Uu(),Tk))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new ro}function ime(e){var t,r,o;if(!e.b){for(o=new aqe,r=new ES(LC(e));r.e!=r.i.gc();)t=l(yY(r),20),t.Bb&Ws&&Tn(o,t);hy(o),e.b=new Qv((l(oe(Ne((a1(),Ut).o),8),20),o.i),o.g),Pu(e).b&=-9}return e.b}function Ey(e){var t,r,o;for(r=e.length,o=0;o<r&&(Yt(o,e.length),e.charCodeAt(o)<=32);)++o;for(t=r;t>o&&(Yt(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return o>0||t<r?(io(o,t,e.length),e.substr(o,t-o)):e}function $yn(e,t){var r,o,a,u,f,p,m,y;m=l(pC(kS(t.k),we(Io,ea,64,2,0,1)),128),y=t.g,r=xct(t,m[0]),a=_ct(t,m[1]),o=LY(e,y,r,a),u=xct(t,m[1]),p=_ct(t,m[0]),f=LY(e,y,u,p),o<=f?(t.a=r,t.c=a):(t.a=u,t.c=p)}function Pmt(e,t,r,o,a){var u,f,p,m,y;if(t)for(p=t.Jc();p.Ob();)for(f=l(p.Pb(),9),y=r0e(f,(jo(),Ba),r).Jc();y.Ob();)m=l(y.Pb(),12),u=l(Ss(ts(a.f,m)),117),u||(u=new _6(e.d),Ot(o.c,u),Mmt(u,m,a))}function vC(e){var t;At();var r,o,a,u,f,p;if(ae(e,59))for(u=0,a=e.gc()-1;u<a;++u,--a)t=e.Xb(u),e.fd(u,e.Xb(a)),e.fd(a,t);else for(r=e.cd(),f=e.dd(e.gc());r.Tb()<f.Vb();)o=r.Pb(),p=f.Ub(),r.Wb(p),f.Wb(o)}function x7(e,t){var r,o,a,u,f,p;for(p=0,u=new iE,l1(u,t);u.b!=u.c;)for(f=l(CS(u),221),p+=J1t(f.d,f.e),a=new V(f.b);a.a<a.c.c.length;)o=l(q(a),37),r=l(ze(e.b,o.p),221),r.s||(p+=x7(e,r));return p}function jmt(e,t,r){var o,a;Bht(this),t==(g0(),H1)?pi(this.r,e.c):pi(this.w,e.c),r==H1?pi(this.r,e.d):pi(this.w,e.d),Emt(this,e),o=YK(e.c),a=YK(e.d),omt(this,o,a,a),this.o=(NC(),b.Math.abs(o-a)<.2)}function Fmt(e,t,r){var o,a,u,f,p,m;if(p=l(Vt(e.a,8),2014),p!=null)for(a=p,u=0,f=a.length;u<f;++u)null.Sm();o=r,e.a.Db&1||(m=new Hst(e,r,t),o.bj(m)),ae(o,683)?l(o,683).dj(e.a):o.aj()==e.a&&o.cj(null)}function Byn(){var e;return MLt?l(Y_((n1(),Ll),lm),2023):(lNn(),e=l(ae(wa((n1(),Ll),lm),589)?wa(Ll,lm):new iat,589),MLt=!0,YNn(e),C3n(e),Jn((wle(),N3e),e,new hVe),PY(e),ns(Ll,lm,e),e)}function Uyn(e,t,r,o){var a;return a=_E(e,r,Z(X(Je,1),Pe,2,6,[fX,hX,pX,gX,bX,mX,wX]),t),a<0&&(a=_E(e,r,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),a<0?!1:(o.d=a,!0)}function Hyn(e,t,r,o){var a;return a=_E(e,r,Z(X(Je,1),Pe,2,6,[fX,hX,pX,gX,bX,mX,wX]),t),a<0&&(a=_E(e,r,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),a<0?!1:(o.d=a,!0)}function eu(e,t,r){var o,a,u,f;if(f=e.b.Ae(t),a=(o=e.a.get(f),o??we(Ii,Rt,1,0,5,1)),a.length==0)e.a.set(f,a);else if(u=Bpt(e,t,a),u)return u.ld(r);return ii(a,a.length,new t8(t,r)),++e.c,++e.b.g,null}function zyn(e){var t,r,o;for(HEn(e),o=new je,r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),Fe(o,new Cle(t,!0)),Fe(o,new Cle(t,!1));Mbn(e.c),e6(o,e.b,new Ls(Z(X(nL,1),Rt,378,0,[e.c]))),rEn(e)}function X6(e,t){var r,o,a;for(a=new je,o=new V(e.c.a.b);o.a<o.c.c.length;)r=l(q(o),60),t.Lb(r)&&(Fe(a,new kle(r,!0)),Fe(a,new kle(r,!1)));Lbn(e.e),rct(a,e.d,new Ls(Z(X(wxt,1),Rt,690,0,[e.e])))}function Gyn(e){var t,r,o,a;for(r=new hn,a=new V(e.d);a.a<a.c.c.length;)o=l(q(a),190),t=l(o.mf((Ie(),IT)),17),ts(r.f,t)||Jn(r,t,new Cat(t)),Fe(l(Ss(ts(r.f,t)),458).b,o);return new Tu(new Zh(r))}function qyn(e,t){var r,o,a,u,f;for(o=new pct(e.j.c.length),r=null,u=new V(e.j);u.a<u.c.c.length;)a=l(q(u),12),a.j!=r&&(o.b==o.c||swt(o,r,t),spe(o),r=a.j),f=$0t(a),f&&epe(o,f);o.b==o.c||swt(o,r,t)}function Vyn(e,t){var r,o,a;for(o=new Xi(e.b,0);o.b<o.d.gc();)r=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),70)),a=l(F(r,(Be(),Yf)),281),a==(Kd(),fv)&&(Mu(o),Fe(t.b,r),gr(r,(Ie(),IT))||Te(r,IT,e))}function Wyn(e){var t,r,o,a,u;for(t=yd(new $t(qt(Or(e).a.Jc(),new D))),a=new $t(qt(si(e).a.Jc(),new D));an(a);)o=l(en(a),17),r=o.c.i,u=yd(new $t(qt(Or(r).a.Jc(),new D))),t=b.Math.max(t,u);return Re(t)}function ome(e,t,r){var o,a,u;o=l(ve(e,(_n(),$L)),24),a=0,u=0,t.a>r.a&&(o.Gc((Zb(),g4))?a=(t.a-r.a)/2:o.Gc(b4)&&(a=t.a-r.a)),t.b>r.b&&(o.Gc((Zb(),w4))?u=(t.b-r.b)/2:o.Gc(m4)&&(u=t.b-r.b)),Bbe(e,a,u)}function $mt(e,t,r,o,a,u,f,p,m,y,v,T,N){ae(e.Cb,89)&&Sy(Pu(l(e.Cb,89)),4),Ma(e,r),e.f=f,M_(e,p),j_(e,m),L_(e,y),P_(e,v),pg(e,T),F_(e,N),hg(e,!0),cg(e,a),e.Xk(u),Yb(e,t),o!=null&&(e.i=null,Tj(e,o))}function sme(e,t,r){if(e<0)return CC(JEt,Z(X(Ii,1),Rt,1,5,[r,Re(e)]));if(t<0)throw Y(new jt(XEt+t));return CC("%s (%s) must not be greater than size (%s)",Z(X(Ii,1),Rt,1,5,[r,Re(e),Re(t)]))}function ame(e,t,r,o,a,u){var f,p,m,y;if(f=o-r,f<7){$gn(t,r,o,u);return}if(m=r+a,p=o+a,y=m+(p-m>>1),ame(t,e,m,y,-a,u),ame(t,e,y,p,-a,u),u.Le(e[y-1],e[y])<=0){for(;r<o;)ii(t,r++,e[m++]);return}Xpn(e,m,y,p,t,r,o,u)}function Kyn(e,t){var r,o,a,u,f,p,m;for(m=t.d,a=t.b.j,p=new V(m);p.a<p.c.c.length;)for(f=l(q(p),108),u=we(uu,Ad,30,a.c.length,16,1),Jn(e.b,f,u),r=f.a.d.p-1,o=f.c.d.p;r!=o;)r=(r+1)%a.c.length,u[r]=!0}function Yyn(e,t){if(rge(),gr(e,(Ie(),Cr))&&gr(t,Cr))return na(l(F(e,Cr),15).a,l(F(t,Cr),15).a);throw Y(new cS("The BF model order layer assigner requires all real nodes to have a model order."))}function Jyn(e,t){if(ige(),gr(e,(Ie(),Cr))&&gr(t,Cr))return na(l(F(e,Cr),15).a,l(F(t,Cr),15).a);throw Y(new cS("The DF model order layer assigner requires all real nodes to have a model order."))}function Xyn(e,t){for(e.r=new _6(e.p),yZt(e.r,e),mo(e.r.j,e.j),tc(e.j),Gn(e.j,t),Gn(e.r.e,t),vP(e),vP(e.r);e.f.c.length!=0;)crt(l(ze(e.f,0),135));for(;e.k.c.length!=0;)crt(l(ze(e.k,0),135));return e.r}function rJ(e,t,r){var o,a,u;if(a=Nt(e.Ah(),t),o=t-e.gi(),o<0)if(a)if(a.pk())u=e.Fh(a),u>=0?e.$h(u,r):$me(e,a,r);else throw Y(new jt(R1+a.ve()+iI));else throw Y(new jt(VTt+t+WTt));else Xc(e,o,a,r)}function Bmt(e){var t,r;if(e.f){for(;e.n>0;){if(t=l(e.k.Xb(e.n-1),76),r=t.Jk(),ae(r,104)&&l(r,20).Bb&Ws&&(!e.e||r.nk()!=Ak||r.Jj()!=0)&&t.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function Umt(e){var t,r,o,a;if(r=l(e,52).Yh(),r)try{if(o=null,t=Y_((n1(),Ll),Myt(zgn(r))),t&&(a=t.Zh(),a&&(o=a.Dl(SQt(r.e)))),o&&o!=e)return Umt(o)}catch(u){if(u=ci(u),!ae(u,63))throw Y(u)}return e}function Zyn(e,t,r){var o,a,u;r.Tg("Remove overlaps",1),r.bh(t,gve),o=l(ve(t,(aE(),l2)),19),e.f=o,e.a=EY(l(ve(t,(T1(),RL)),304)),a=ce(ve(t,(_n(),Od))),ice(e,(Mt(a),a)),u=Ay(o),sEt(e,t,u,r),r.bh(t,MF)}function Qyn(e){var t,r,o;if(Ye(Ke(ve(e,(_n(),UL))))){for(o=new je,r=new $t(qt(mp(e).a.Jc(),new D));an(r);)t=l(en(r),74),R0(t)&&Ye(Ke(ve(t,fre)))&&Ot(o.c,t);return o}else return At(),At(),Co}function Hmt(e){if(!e)return bQe(),K_t;var t=e.valueOf?e.valueOf():e;if(t!==e){var r=HQ[typeof t];return r?r(t):n1e(typeof t)}else return e instanceof Array||e instanceof b.Array?new Xue(e):new JR(e)}function zmt(e,t,r){var o,a,u;switch(u=e.o,o=l(Wo(e.p,r),256),a=o.i,a.b=SC(o),a.a=EC(o),a.b=b.Math.max(a.b,u.a),a.b>u.a&&!t&&(a.b=u.a),a.c=-(a.b-u.a)/2,r.g){case 1:a.d=-a.a;break;case 3:a.d=u.b}xJ(o),kJ(o)}function Gmt(e,t,r){var o,a,u;switch(u=e.o,o=l(Wo(e.p,r),256),a=o.i,a.b=SC(o),a.a=EC(o),a.a=b.Math.max(a.a,u.b),a.a>u.b&&!t&&(a.a=u.b),a.d=-(a.a-u.b)/2,r.g){case 4:a.c=-a.b;break;case 2:a.c=u.a}xJ(o),kJ(o)}function evn(e,t){var r,o,a;return ae(t.g,9)&&l(t.g,9).k==(zt(),mi)?Kr:(a=PS(t),a?b.Math.max(0,e.b/2-.5):(r=lE(t),r?(o=ue(ce(by(r,(Be(),vm)))),b.Math.max(0,o/2-.5)):Kr))}function tvn(e,t){var r,o,a;return ae(t.g,9)&&l(t.g,9).k==(zt(),mi)?Kr:(a=PS(t),a?b.Math.max(0,e.b/2-.5):(r=lE(t),r?(o=ue(ce(by(r,(Be(),vm)))),b.Math.max(0,o/2-.5)):Kr))}function nvn(e,t){var r,o,a,u,f;if(!t.dc()){if(a=l(t.Xb(0),134),t.gc()==1){Iwt(e,a,a,1,0,t);return}for(r=1;r<t.gc();)(a.j||!a.o)&&(u=lmn(t,r),u&&(o=l(u.a,15).a,f=l(u.b,134),Iwt(e,a,f,r,o,t),r=o+1,a=f))}}function rvn(e){var t,r,o,a,u,f;for(f=new Tu(e.d),xi(f,new ZBe),t=(B7(),Z(X($Se,1),Ce,277,0,[_ee,Nee,Aee,Ree,kee,xee,Iee,Cee])),r=0,u=new V(f);u.a<u.c.c.length;)a=l(q(u),108),o=t[r%t.length],zvn(a,o),++r}function ume(e,t){var r,o,a,u,f,p,m,y,v,T;return v=null,T=e,f=fp(T,"x"),r=new OXe(t),Wdt(r.a,f),p=fp(T,"y"),o=new DXe(t),Kdt(o.a,p),m=fp(T,sQ),a=new LXe(t),Ydt(a.a,m),y=fp(T,oQ),u=new MXe(t),v=(Jdt(u.a,y),y),v}function Sy(e,t){uyt(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 ivn(e,t){var r,o,a;if(a=0,t.length>0)try{a=Ec(t,Qi,sr)}catch(u){throw u=ci(u),ae(u,133)?(o=u,Y(new oj(o))):Y(u)}return r=(!e.a&&(e.a=new KG(e)),e.a),a<r.i&&a>=0?l(oe(r,a),57):null}function ovn(e,t){if(e<0)return CC(JEt,Z(X(Ii,1),Rt,1,5,["index",Re(e)]));if(t<0)throw Y(new jt(XEt+t));return CC("%s (%s) must be less than size (%s)",Z(X(Ii,1),Rt,1,5,["index",Re(e),Re(t)]))}function svn(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function avn(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function uvn(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function cvn(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function qmt(e,t){var r,o,a,u,f,p;for(r=e.b.c.length,a=ze(e.b,t);t*2+1<r&&(o=(u=2*t+1,f=u+1,p=u,f<r&&e.a.Le(ze(e.b,f),ze(e.b,u))<0&&(p=f),p),!(e.a.Le(a,ze(e.b,o))<0));)nc(e.b,t,ze(e.b,o)),t=o;nc(e.b,t,a)}function iJ(e,t,r){var o,a;return o=r.d,a=r.e,e.g[o.d]<=e.i[t.d]&&e.i[t.d]<=e.i[o.d]&&e.g[a.d]<=e.i[t.d]&&e.i[t.d]<=e.i[a.d]?!(e.i[o.d]<e.i[a.d]):e.i[o.d]<e.i[a.d]}function lvn(e,t){var r;if(r=l(F(t,(Be(),BI)),302),r!=e)throw Y(new cS("The hierarchy aware processor "+r+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function dvn(e,t){var r,o,a,u,f;for(o=(!t.s&&(t.s=new ke(au,t,21,17)),t.s),u=null,a=0,f=o.i;a<f;++a)switch(r=l(oe(o,a),182),f0(rs(e,r))){case 2:case 3:!u&&(u=new je),Ot(u.c,r)}return u||(At(),At(),Co)}function Vmt(e,t,r){var o,a,u,f,p,m;for(m=Kr,u=new V(wwt(e.b));u.a<u.c.c.length;)for(a=l(q(u),180),p=new V(wwt(t.b));p.a<p.c.c.length;)f=l(q(p),180),o=Zhn(a.a,a.b,f.a,f.b,r),m=b.Math.min(m,o);return m}function Ci(e,t){if(!t)throw Y(new rS);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 fvn(e){var t,r,o,a,u,f,p;for(o=0,r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),a.p=o++,p=new V(a.j);p.a<p.c.c.length;)f=l(q(p),12),f.p=o++}function hvn(e,t){hc();var r,o,a,u,f,p;for(r=null,f=t.Jc();f.Ob();)u=l(f.Pb(),134),!u.o&&(o=wtn(u.a),a=Ion(u.a),p=new DC(o,a,null,l(u.d.a.ec().Jc().Pb(),17)),Fe(p.c,u.a),Ot(e.c,p),r&&Fe(r.d,p),r=p)}function pvn(e){var t,r,o,a,u,f;for(f=oC(e.d,e.e),u=f.Jc();u.Ob();)for(a=l(u.Pb(),12),o=e.e==(He(),Kt)?a.e:a.g,r=new V(o);r.a<r.c.c.length;)t=l(q(r),17),!fo(t)&&t.c.i.c!=t.d.i.c&&(hyn(e,t),++e.f,++e.c)}function Wmt(e,t){var r,o;if(t.dc())return At(),At(),Co;for(o=new je,Fe(o,Re(Qi)),r=1;r<e.f;++r)e.a==null&&ayt(e),e.a[r]&&Fe(o,Re(r));return o.c.length==1?(At(),At(),Co):(Fe(o,Re(sr)),p_n(t,o))}function gvn(e,t){var r,o,a,u,f,p,m;f=t.c.i.k!=(zt(),Xr),m=f?t.d:t.c,r=xmn(t,m).i,a=l(Ht(e.k,m),126),o=e.i[r.p].a,Vit(m.i)<(r.c?_s(r.c.a,r,0):-1)?(u=a,p=o):(u=o,p=a),Ql($l(Ul(Hl(Bl(new gl,0),4),u),p))}function Kmt(e,t,r){var o,a,u,f,p,m;if(r)for(a=r.a.length,o=new Ib(a),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),m=RY(e,nT(ay(r,f.a))),m&&(u=(!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),Tn(u,m))}function Ymt(e,t,r){var o,a,u,f,p,m;if(r)for(a=r.a.length,o=new Ib(a),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),m=RY(e,nT(ay(r,f.a))),m&&(u=(!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),Tn(u,m))}function Z6(e,t,r){var o,a;o=t.a&e.f,t.b=e.b[o],e.b[o]=t,a=t.f&e.f,t.d=e.c[a],e.c[a]=t,r?(t.e=r.e,t.e?t.e.c=t:e.a=t,t.c=r.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 Jmt(e){var t,r,o;if(t=e.Pb(),!e.Ob())return t;for(o=ba(zn(new Zg,"expected one element but was: <"),t),r=0;r<4&&e.Ob();r++)ba((o.a+=ja,o),e.Pb());throw e.Ob()&&(o.a+=", ..."),o.a+=">",Y(new jt(o.a))}function bvn(e){var t,r;return r=-e.a,t=Z(X(al,1),Bf,30,15,[43,48,48,48,48]),r<0&&(t[0]=45,r=-r),t[1]=t[1]+((r/60|0)/10|0)&Ei,t[2]=t[2]+(r/60|0)%10&Ei,t[3]=t[3]+(r%60/10|0)&Ei,t[4]=t[4]+r%10&Ei,Mf(t,0,t.length)}function cme(e){var t,r,o,a;for(e.g=new cC(l(kn(Io),299)),o=0,r=(He(),Wt),t=0;t<e.j.c.length;t++)a=l(ze(e.j,t),12),a.j!=r&&(o!=t&&IS(e.g,r,new ko(Re(o),Re(t))),r=a.j,o=t);IS(e.g,r,new ko(Re(o),Re(t)))}function lme(e,t){var r,o,a;if(a=IE((mu(),ao),e.Ah(),t),a)Lo(),l(a,69).vk()||(a=MS(rs(ao,a))),o=(r=e.Fh(a),l(r>=0?e.Ih(r,!0,!0):O0(e,a,!0),164)),l(o,222).Xl(t);else throw Y(new jt(R1+t.ve()+iI))}function dme(e){var t,r;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),r=go(b.Math.floor(b.Math.log(e)/.6931471805599453)),(!t||e!=b.Math.pow(2,r))&&++r,r):igt(Gs(e))}function mvn(e){var t,r,o,a,u,f,p;for(u=new uh,r=new V(e);r.a<r.c.c.length;)t=l(q(r),135),f=t.a,p=t.b,!(u.a._b(f)||u.a._b(p))&&(a=f,o=p,f.e.b+f.j.b>2&&p.e.b+p.j.b<=2&&(a=p,o=f),u.a.yc(a,u),a.q=o);return u}function wvn(e,t,r){r.Tg("Eades radial",1),r.bh(t,MF),e.d=l(ve(t,(aE(),l2)),19),e.c=ue(ce(ve(t,(T1(),zB)))),e.e=EY(l(ve(t,RL),304)),e.a=s1n(l(ve(t,xxe),431)),e.b=v0n(l(ve(t,Sxe),355)),i0n(e),r.bh(t,MF)}function yvn(e,t){if(t.Tg("Target Width Setter",1),Gc(e,(ef(),One)))Vn(e,(yh(),iv),ce(ve(e,One)));else throw Y(new _f("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Ug()}function Xmt(e,t){var r,o,a;return o=new Xd(e),qs(o,t),Te(o,(Ie(),iB),t),Te(o,(Be(),Zr),(qi(),fa)),Te(o,Kf,(mh(),tU)),Jh(o,(zt(),mi)),r=new aa,As(r,o),Ci(r,(He(),Kt)),a=new aa,As(a,o),Ci(a,Qt),o}function Zmt(e,t){var r,o,a,u,f;for(e.c[t.p]=!0,Fe(e.a,t),f=new V(t.j);f.a<f.c.c.length;)for(u=l(q(f),12),o=new Vd(u.b);Ts(o.a)||Ts(o.b);)r=l(Ts(o.a)?q(o.a):q(o.b),17),a=_1n(u,r).i,e.c[a.p]||Zmt(e,a)}function Qmt(e){var t,r,o,a,u,f,p;for(f=0,r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)t=l(rn(r),19),p=t.g,a=t.f,o=b.Math.sqrt(p*p+a*a),f=b.Math.max(o,f),u=Qmt(t),f=b.Math.max(u,f);return f}function xu(){xu=K,K1=new l3("OUTSIDE",0),Rp=new l3("INSIDE",1),KL=new l3("NEXT_TO_PORT_IF_POSSIBLE",2),k4=new l3("ALWAYS_SAME_SIDE",3),x4=new l3("ALWAYS_OTHER_SAME_SIDE",4),KT=new l3("SPACE_EFFICIENT",5)}function e0t(e,t,r){var o,a,u,f,p,m;return o=qcn(e,(a=(e1(),u=new $N,u),r&&M7(a,r),a),t),v_(o,sp(t,qf)),E7(t,o),_En(t,o),ume(t,o),f=t,p=m0(f,"ports"),m=new snt(e,o),hwt(m.a,m.b,p),jK(e,t,o),Ghn(e,t,o),o}function vvn(e){var t,r;return r=-e.a,t=Z(X(al,1),Bf,30,15,[43,48,48,58,48,48]),r<0&&(t[0]=45,r=-r),t[1]=t[1]+((r/60|0)/10|0)&Ei,t[2]=t[2]+(r/60|0)%10&Ei,t[4]=t[4]+(r%60/10|0)&Ei,t[5]=t[5]+r%10&Ei,Mf(t,0,t.length)}function Evn(e){var t,r,o,a,u;if(e==null)return tu;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fc(u.d),p3(u.a,""+x3(t));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function fme(e,t){var r,o,a;for(a=sr,o=new V(wE(t));o.a<o.c.c.length;)r=l(q(o),220),r.f&&!e.c[r.c]&&(e.c[r.c]=!0,a=b.Math.min(a,fme(e,Vj(r,t))));return e.i[t.d]=e.j,e.g[t.d]=b.Math.min(a,e.j++),e.g[t.d]}function t0t(e,t){var r,o,a;for(a=l(l(wr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),o.e.b=(r=o.b,r.nf((_n(),zu))?r.$f()==(He(),Wt)?-r.Kf().b-ue(ce(r.mf(zu))):ue(ce(r.mf(zu))):r.$f()==(He(),Wt)?-r.Kf().b:0)}function hme(e){var t,r,o,a,u;t=e.a,r=e.b,a=e.c,o=new Me(r.e.a+r.f.a/2,r.e.b+r.f.b/2),u=new Me(a.e.a+a.f.a/2,a.e.b+a.f.b/2),Wr(t,o,t.a,t.a.a),Wr(t,u,t.c.b,t.c),smt(o,l(sa(t,1),8),e.b.f),smt(u,l(sa(t,t.b-2),8),e.c.f)}function n0t(e,t){var r,o,a,u;if(a=(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i,a==0)return t.i;for(o=0,u=0,r=0;r<a;r++)u=n0t(e,l(oe(a_(l(oe((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),r),74)),0),19)),o=u<o?u:o;return o+t.i}function nT(e){var t,r;if(r=!1,ae(e,213))return r=!0,l(e,213).a;if(!r&&ae(e,266)&&(t=l(e,266).a%1==0,t))return r=!0,Re(Hen(l(e,266).a));throw Y(new xf("Id must be a string or an integer: '"+e+"'."))}function Svn(e,t){var r,o,a,u,f,p;for(u=null,a=new mst((!e.a&&(e.a=new KG(e)),e.a));wme(a);)if(r=l(I7(a),57),o=(f=r.Ah(),p=(CE(f),f.o),!p||!r.Uh(p)?null:ufe(IK(p),r.Jh(p))),o!=null&&wt(o,t)){u=r;break}return u}function r0t(e,t){var r;this.e=(kn(e),B1e(e)),this.c=(kn(t),B1e(t)),Ede(this.e.Pd().dc()==this.c.Pd().dc()),this.d=vgt(this.e),this.b=vgt(this.c),r=Yw(Ii,[Pe,Rt],[5,1],5,[this.e.Pd().gc(),this.c.Pd().gc()],2),this.a=r,zfn(this)}function i0t(e,t,r){var o,a,u,f,p;if(wc(r,"occurrences"),r==0)return p=l(py(DS(e.a),t),18),p?p.gc():0;if(f=l(py(DS(e.a),t),18),!f)return 0;if(u=f.gc(),r>=u)f.$b();else for(a=f.Jc(),o=0;o<r;o++)a.Pb(),a.Qb();return u}function Tvn(e,t,r){var o,a,u,f;return wc(r,"oldCount"),wc(0,"newCount"),o=l(py(DS(e.a),t),18),(o?o.gc():0)==r?(wc(0,"count"),a=(u=l(py(DS(e.a),t),18),u?u.gc():0),f=-a,f>0?Jce():f<0&&i0t(e,t,-f),!0):!1}function Avn(e){var t;return t=Z(X(al,1),Bf,30,15,[71,77,84,45,48,48,58,48,48]),e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&Ei,t[5]=t[5]+(e/60|0)%10&Ei,t[7]=t[7]+(e%60/10|0)&Ei,t[8]=t[8]+e%10&Ei,Mf(t,0,t.length)}function EC(e){var t,r,o,a,u,f,p;if(p=0,e.b==0){for(f=O1t(e,!0),t=0,o=f,a=0,u=o.length;a<u;++a)r=o[a],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}else p=TQe(_K(ey(lr(tW(e.a),new IN),new Kp)));return p>0?p+e.n.d+e.n.a:0}function SC(e){var t,r,o,a,u,f,p;if(p=0,e.b==0)p=TQe(_K(ey(lr(tW(e.a),new Xg),new CN)));else{for(f=D1t(e,!0),t=0,o=f,a=0,u=o.length;a<u;++a)r=o[a],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}return p>0?p+e.n.b+e.n.c:0}function _vn(e){var t,r;if(e.c.length!=2)throw Y(new es("Order only allowed for two paths."));t=(at(0,e.c.length),l(e.c[0],17)),r=(at(1,e.c.length),l(e.c[1],17)),t.d.i!=r.c.i&&(e.c.length=0,Ot(e.c,r),Ot(e.c,t))}function o0t(e,t,r){var o;for(i0(r,t.g,t.f),Bc(r,t.i,t.j),o=0;o<(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i;o++)o0t(e,l(oe((!t.a&&(t.a=new ke(En,t,10,11)),t.a),o),19),l(oe((!r.a&&(r.a=new ke(En,r,10,11)),r.a),o),19))}function xvn(e,t){var r,o,a,u;for(u=l(Wo(e.b,t),129),r=u.a,a=l(l(wr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),o.c&&(r.a=b.Math.max(r.a,Pfe(o.c)));if(r.a>0)switch(t.g){case 2:u.n.c=e.s;break;case 4:u.n.b=e.s}}function kvn(e,t){var r,o,a;return r=l(F(t,(ed(),AT)),15).a-l(F(e,AT),15).a,r==0?(o=Di(To(l(F(e,(h1(),tL)),8)),l(F(e,SI),8)),a=Di(To(l(F(t,tL),8)),l(F(t,SI),8)),yr(o.a*o.b,a.a*a.b)):r}function Nvn(e,t){var r,o,a;return r=l(F(t,(js(),FB)),15).a-l(F(e,FB),15).a,r==0?(o=Di(To(l(F(e,(Nr(),NL)),8)),l(F(e,ck),8)),a=Di(To(l(F(t,NL),8)),l(F(t,ck),8)),yr(o.a*o.b,a.a*a.b)):r}function s0t(e){var t,r;return r=new Zg,r.a+="e_",t=Fhn(e),t!=null&&(r.a+=""+t),e.c&&e.d&&(zn((r.a+=" ",r),p7(e.c)),zn(ba((r.a+="[",r),e.c.i),"]"),zn((r.a+=PX,r),p7(e.d)),zn(ba((r.a+="[",r),e.d.i),"]")),r.a}function a0t(e){switch(e.g){case 0:return new HWe;case 1:return new zWe;case 2:return new eKe;case 3:return new tKe;default:throw Y(new jt("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function pme(e,t,r,o,a){var u;switch(u=0,a.g){case 1:u=b.Math.max(0,t.b+e.b-(r.b+o));break;case 3:u=b.Math.max(0,-e.b-o);break;case 2:u=b.Math.max(0,-e.a-o);break;case 4:u=b.Math.max(0,t.a+e.a-(r.a+o))}return u}function u0t(e,t,r){var o,a,u,f,p;if(r)for(a=r.a.length,o=new Ib(a),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),u=f_(r,f.a),hEe in u.a||lQ in u.a?MTn(e,u,t):o3n(e,u,t),Utn(l(Ht(e.c,B_(u)),74))}function gme(e){var t,r;switch(e.b){case-1:return!0;case 0:return r=e.t,r>1||r==-1?(e.b=-1,!0):(t=Sl(e),t&&(Lo(),t.jk()==YAt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function bme(e,t){var r,o,a,u;if(dr(e),e.c!=0||e.a!=123)throw Y(new Ln(jn((Cn(),mAt))));if(u=t==112,o=e.d,r=KA(e.i,125,o),r<0)throw Y(new Ln(jn((Cn(),wAt))));return a=yl(e.i,o,r),e.d=r+1,cdt(a,u,(e.e&512)==512)}function Cvn(e){var t,r,o,a,u,f,p;for(p=ch(e.c.length),a=new V(e);a.a<a.c.c.length;){for(o=l(q(a),9),f=new hi,u=Or(o),r=new $t(qt(u.a.Jc(),new D));an(r);)t=l(en(r),17),t.c.i==t.d.i||pi(f,t.d.i);Ot(p.c,f)}return p}function Ivn(e,t){var r,o,a;if(!t)mK(e,null),y_(e,null);else if(t.i&4)for(o="[]",r=t.c;;r=r.c){if(!(r.i&4)){a=Yce((np(r),r.o+o)),mK(e,a),y_(e,a);break}o+="[]"}else a=Yce((np(t),t.o)),mK(e,a),y_(e,a);e.fl(t)}function TC(e,t,r,o,a){var u,f,p,m;return m=SV(e,l(a,57)),be(m)!==be(a)?(p=l(e.g[r],76),u=gh(t,m),w3(e,r,GY(e,r,u)),Ju(e.e)&&(f=c1(e,9,u.Jk(),a,m,o,!1),kbe(f,new cp(e.e,9,e.c,p,u,o,!1)),nK(f)),m):a}function c0t(e,t){var r,o,a;try{return a=hcn(e.a,t),a}catch(u){if(u=ci(u),ae(u,33)){try{if(o=Ec(t,Qi,sr),r=md(e.a),o>=0&&o<r.length)return r[o]}catch(f){if(f=ci(f),!ae(f,133))throw Y(f)}return null}else throw Y(u)}}function oJ(e,t){var r,o,a;if(a=IE((mu(),ao),e.Ah(),t),a)return Lo(),l(a,69).vk()||(a=MS(rs(ao,a))),o=(r=e.Fh(a),l(r>=0?e.Ih(r,!0,!0):O0(e,a,!0),164)),l(o,222).Ul(t);throw Y(new jt(R1+t.ve()+tQ))}function Rvn(){yle();var e;return hLt?l(Y_((n1(),Ll),_l),2017):(er(dm,new iVe),kkn(),e=l(ae(wa((n1(),Ll),_l),552)?wa(Ll,_l):new Qst,552),hLt=!0,x3n(e),O3n(e),Jn((wle(),N3e),e,new vqe),ns(Ll,_l,e),e)}function Ovn(e,t){var r,o,a,u;e.j=-1,Ju(e.e)?(r=e.i,u=e.i!=0,r6(e,t),o=new cp(e.e,3,e.c,null,t,r,u),a=t.xl(e.e,e.c,null),a=Mbt(e,t,a),a?(a.lj(o),a.mj()):hr(e.e,o)):(r6(e,t),a=t.xl(e.e,e.c,null),a&&a.mj())}function k7(e,t){var r,o,a;if(a=0,o=t[0],o>=e.length)return-1;for(r=(Yt(o,e.length),e.charCodeAt(o));r>=48&&r<=57&&(a=a*10+(r-48),++o,!(o>=e.length));)r=(Yt(o,e.length),e.charCodeAt(o));return o>t[0]?t[0]=o:a=-1,a}function Dvn(e,t,r){var o,a,u,f,p;f=e.c,p=e.d,u=xs(Z(X($i,1),Pe,8,0,[f.i.n,f.n,f.a])).b,a=(u+xs(Z(X($i,1),Pe,8,0,[p.i.n,p.n,p.a])).b)/2,o=null,f.j==(He(),Qt)?o=new Me(t+f.i.c.c.a+r,a):o=new Me(t-r,a),WA(e.a,0,o)}function R0(e){var t,r,o,a;for(t=null,o=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c)])));an(o);)if(r=l(en(o),83),a=Yo(r),!t)t=a;else if(t!=a)return!1;return!0}function sJ(e,t,r){var o;if(++e.j,t>=e.i)throw Y(new Ia(fQ+t+um+e.i));if(r>=e.i)throw Y(new Ia(hQ+r+um+e.i));return o=e.g[r],t!=r&&(t<r?ua(e.g,t,e.g,t+1,r-t):ua(e.g,r+1,e.g,r,t-r),ii(e.g,t,o),e.Ni(t,o,r),e.Li()),o}function yt(e,t,r){var o;if(o=l(e.c.xc(t),18),o)return o.Ec(r)?(++e.d,!0):!1;if(o=e.ic(t),o.Ec(r))return++e.d,e.c.yc(t,o),!0;throw Y(new lpe("New Collection violated the Collection spec"))}function Q6(e){var t,r,o;return e<0?0:e==0?32:(o=-(e>>16),t=o>>16&16,r=16-t,e=e>>t,o=e-256,t=o>>16&8,r+=t,e<<=t,o=e-Ry,t=o>>16&4,r+=t,e<<=t,o=e-$f,t=o>>16&2,r+=t,e<<=t,o=e>>14,t=o&~(o>>1),r+2-t)}function Lvn(e,t){var r,o,a;for(a=new je,o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.c.g==e.g&&be(F(r.b,(js(),Jf)))!==be(F(r.c,Jf))&&!fE(new Et(null,new St(a,16)),new VJe(r))&&Ot(a.c,r);return xi(a,new vHe),a}function l0t(e,t,r){var o,a,u,f;return ae(t,156)&&ae(r,156)?(u=l(t,156),f=l(r,156),e.a[u.a][f.a]+e.a[f.a][u.a]):ae(t,254)&&ae(r,254)&&(o=l(t,254),a=l(r,254),o.a==a.a)?l(F(a.a,(ed(),AT)),15).a:0}function d0t(e,t){var r,o,a,u,f,p,m,y;for(y=ue(ce(F(t,(Be(),GI)))),m=e[0].n.a+e[0].o.a+e[0].d.c+y,p=1;p<e.length;p++)o=e[p].n,a=e[p].o,r=e[p].d,u=o.a-r.b-m,u<0&&(o.a-=u),f=t.f,f.a=b.Math.max(f.a,o.a+a.a),m=o.a+a.a+r.c+y}function Mvn(e,t){var r,o,a,u,f,p;return o=l(l(Ht(e.g,t.a),49).a,68),a=l(l(Ht(e.g,t.b),49).a,68),u=o.b,f=a.b,r=lxn(u,f),r>=0?r:(p=O3(Di(new Me(f.c+f.b/2,f.d+f.a/2),new Me(u.c+u.b/2,u.d+u.a/2))),-(Gyt(u,f)-1)*p)}function Pvn(e,t,r){var o;ei(new Et(null,(!r.a&&(r.a=new ke(jr,r,6,6)),new St(r.a,16))),new qtt(e,t)),ei(new Et(null,(!r.n&&(r.n=new ke(Rs,r,1,7)),new St(r.n,16))),new Vtt(e,t)),o=l(ve(r,(_n(),p2)),79),o&&yge(o,e,t)}function O0(e,t,r){var o,a,u;if(u=IE((mu(),ao),e.Ah(),t),u)return Lo(),l(u,69).vk()||(u=MS(rs(ao,u))),a=(o=e.Fh(u),l(o>=0?e.Ih(o,!0,!0):O0(e,u,!0),164)),l(a,222).Ql(t,r);throw Y(new jt(R1+t.ve()+tQ))}function mme(e,t,r,o){var a,u,f,p,m;if(a=e.d[t],a){if(u=a.g,m=a.i,o!=null){for(p=0;p<m;++p)if(f=l(u[p],138),f.yi()==r&&pr(o,f.jd()))return f}else for(p=0;p<m;++p)if(f=l(u[p],138),be(f.jd())===be(o))return f}return null}function jvn(e,t){var r,o,a,u,f;for(o=(!t.s&&(t.s=new ke(au,t,21,17)),t.s),u=null,a=0,f=o.i;a<f;++a)switch(r=l(oe(o,a),182),f0(rs(e,r))){case 4:case 5:case 6:{!u&&(u=new je),Ot(u.c,r);break}}return u||(At(),At(),Co)}function eD(e,t){var r;if(t<0)throw Y(new j9("Negative exponent"));if(t==0)return d$;if(t==1||_1e(e,d$)||_1e(e,wI))return e;if(!F0t(e,0)){for(r=1;!F0t(e,r);)++r;return dE(r1n(r*t),eD(fpe(e,r),t))}return lwn(e,t)}function Fvn(e,t){var r,o,a;if(be(e)===be(t))return!0;if(e==null||t==null||e.length!=t.length)return!1;for(r=0;r<e.length;++r)if(o=e[r],a=t[r],!(be(o)===be(a)||o!=null&&pr(o,a)))return!1;return!0}function f0t(e){gle();var t,r,o;for(this.b=Hkt,this.c=(vi(),hf),this.f=(Get(),Ukt),this.a=e,tle(this,new cG),P7(this),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),84),r.d||(t=new hY(Z(X(lee,1),Rt,84,0,[r])),Fe(e.a,t))}function h0t(e){Che();var t,r;for(this.b=vxt,this.c=Sxt,this.g=(qet(),yxt),this.d=(vi(),hf),this.a=e,Gme(this),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),60),!t.a&&Mrt(Uft(new Oce,Z(X(g$,1),Rt,60,0,[t])),e),t.e=new IP(t.d)}function $vn(e,t,r){var o,a,u,f,p,m;if(!e||e.c.length==0)return null;for(u=new Gat(t,!r),a=new V(e);a.a<a.c.c.length;)o=l(q(a),70),Ybe(u,(KN(),new _9(o)));return f=u.i,f.a=(m=u.n,u.e.b+m.d+m.a),f.b=(p=u.n,u.e.a+p.b+p.c),u}function p0t(e){var t,r,o,a,u,f,p;for(p=QO(e.a),ode(p,new kFe),r=null,a=p,u=0,f=a.length;u<f&&(o=a[u],o.k==(zt(),mi));++u)t=l(F(o,(Ie(),Hs)),64),!(t!=(He(),Kt)&&t!=Qt)&&(r&&l(F(r,RT),16).Ec(o),r=o)}function Bvn(e,t,r){var o,a,u,f,p,m,y;m=(at(t,e.c.length),l(e.c[t],341)),sg(e,t),m.b/2>=r&&(o=t,y=(m.c+m.a)/2,f=y-r,m.c<=y-r&&(a=new LV(m.c,f),Nb(e,o++,a)),p=y+r,p<=m.a&&(u=new LV(p,m.a),ry(o,e.c.length),t3(e.c,o,u)))}function g0t(e,t,r){var o,a,u,f,p,m;if(!t.dc()){for(a=new Ar,m=t.Jc();m.Ob();)for(p=l(m.Pb(),41),Jn(e.a,Re(p.g),Re(r)),f=(o=An(new Qh(p).a.d,0),new qv(o));oO(f.a);)u=l(Sn(f.a),65).c,Wr(a,u,a.c.b,a.c);g0t(e,a,r+1)}}function wme(e){var t;if(!e.c&&e.g==null)e.d=e._i(e.f),Tn(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=l(e.g[e.i-1],51)}return t==e.b&&null.Tm>=null.Sm()?(I7(e),wme(e)):t.Ob()}function b0t(e){if(this.a=e,e.c.i.k==(zt(),mi))this.c=e.c,this.d=l(F(e.c.i,(Ie(),Hs)),64);else if(e.d.i.k==mi)this.c=e.d,this.d=l(F(e.d.i,(Ie(),Hs)),64);else throw Y(new jt("Edge "+e+" is not an external edge."))}function m0t(e,t){var r,o,a;a=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,a,e.b)),t?t!=e&&(Ma(e,t.zb),pK(e,t.d),r=(o=t.c,o??t.zb),bK(e,r==null||wt(r,t.zb)?null:r)):(Ma(e,null),pK(e,0),bK(e,null))}function w0t(e){!BQ&&(BQ=LNn());var t=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(r){return mun(r)});return'"'+t+'"'}function yme(e,t,r,o,a,u){var f,p,m,y,v;if(a!=0)for(be(e)===be(r)&&(e=e.slice(t,t+a),t=0),m=r,p=t,y=t+a;p<y;)f=b.Math.min(p+1e4,y),a=f-p,v=e.slice(p,f),v.splice(0,0,o,u?a:0),Array.prototype.splice.apply(m,v),p=f,o+=a}function Uvn(e){var t,r,o,a,u,f;for(a=e.e.c.length,o=we(_c,Oy,16,a,0,1),f=new V(e.e);f.a<f.c.c.length;)u=l(q(f),156),o[u.a]=new Ar;for(r=new V(e.c);r.a<r.c.c.length;)t=l(q(r),292),o[t.c.a].Ec(t),o[t.d.a].Ec(t);return o}function Hvn(e,t){var r,o,a,u,f;if(r=l(Vt(e.a,4),131),f=r==null?0:r.length,t>=f)throw Y(new Ww(t,f));return a=r[t],f==1?o=null:(o=we(Mre,wQ,420,f-1,0,1),ua(r,0,o,0,t),u=f-t-1,u>0&&ua(r,t+1,o,t,u)),H_(e,o),Fmt(e,t,a),a}function y0t(e){var t,r;if(e.f){for(;e.n<e.o;){if(t=l(e.j?e.j.Yi(e.n):e.k.Xb(e.n),76),r=t.Jk(),ae(r,104)&&l(r,20).Bb&Ws&&(!e.e||r.nk()!=Ak||r.Jj()!=0)&&t.kd()!=null)return!0;++e.n}return!1}else return e.n<e.o}function rT(){rT=K,XT=l(oe(Ne((sle(),Ks).qb),6),38),JT=l(oe(Ne(Ks.qb),3),38),Ure=l(oe(Ne(Ks.qb),4),38),Hre=l(oe(Ne(Ks.qb),5),20),m7(XT),m7(JT),m7(Ure),m7(Hre),mLt=new Ls(Z(X(au,1),UE,182,0,[XT,JT]))}function v0t(e,t){var r;this.d=new FN,this.b=t,this.e=new So(t.Jf()),r=e.u.Gc((xu(),KL)),e.u.Gc(Rp)?e.F?this.a=r&&!t._f():this.a=!0:e.u.Gc(K1)?r?this.a=!(t.Sf().Jc().Ob()||t.Uf().Jc().Ob()):this.a=!1:this.a=!1}function E0t(e,t){var r,o,a,u;for(r=e.o.a,u=l(l(wr(e.r,t),24),85).Jc();u.Ob();)a=l(u.Pb(),116),a.e.a=(o=a.b,o.nf((_n(),zu))?o.$f()==(He(),Kt)?-o.Kf().a-ue(ce(o.mf(zu))):r+ue(ce(o.mf(zu))):o.$f()==(He(),Kt)?-o.Kf().a:r)}function S0t(e){var t,r,o,a,u,f,p;if(o=e.a.c.length,o>0)for(f=e.c.d,p=e.d.d,a=tp(Di(new Me(p.a,p.b),f),1/(o+1)),u=new Me(f.a,f.b),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),254),t.d.a=u.a+a.a,t.d.b=u.b+a.b,u.a+=a.a,u.b+=a.b}function T0t(e,t){var r,o,a,u;r=l(F(e,(Be(),xc)),87),u=l(ve(t,rk),64),a=l(F(e,Zr),103),a!=(qi(),pf)&&a!=W1?u==(He(),Is)&&(u=_0e(t,r),u==Is&&(u=WS(r))):(o=Ivt(t),o>0?u=WS(r):u=P6(WS(r))),Vn(t,rk,u)}function A0t(e,t){var r,o;if(e.c.length!=0){if(e.c.length==2)aT((at(0,e.c.length),l(e.c[0],9)),(vc(),Ih)),aT((at(1,e.c.length),l(e.c[1],9)),q1);else for(o=new V(e);o.a<o.c.c.length;)r=l(q(o),9),aT(r,t);e.c.length=0}}function zvn(e,t){var r,o,a,u,f;for(f=e.j,t.a!=t.b&&xi(f,new QBe),a=f.c.length/2|0,o=0;o<a;o++)u=(at(o,f.c.length),l(f.c[o],114)),u.c&&Ci(u.d,t.a);for(r=a;r<f.c.length;r++)u=(at(r,f.c.length),l(f.c[r],114)),u.c&&Ci(u.d,t.b)}function iT(e,t,r,o){var a;switch(a=0,l(F(t,(Be(),Cs)),166).g){case 2:a=2*-r+e.a,++e.a;break;case 1:a=-r;break;case 3:a=r;break;case 4:a=2*r+e.b,++e.b}return gr(t,(Ie(),Cr))&&(a+=l(F(t,Vy),15).a*o+l(F(t,Cr),15).a),a}function Gvn(e,t,r){var o,a,u;return o=e.c[t.c.p][t.p],a=e.c[r.c.p][r.p],o.a!=null&&a.a!=null?(u=JV(o.a,a.a),u<0?sD(e,t,r):u>0&&sD(e,r,t),u):o.a!=null?(sD(e,t,r),-1):a.a!=null?(sD(e,r,t),1):0}function _0t(e){NW();var t,r,o,a,u,f,p;for(r=new d1,a=new V(e.e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),p=e.g[u.p],t=l(Wd(r,p),16),t||(t=new je,Jb(r,p,t)),t.Ec(u);return r}function qvn(e,t){var r,o,a,u,f;for(a=t.b.b,e.a=we(_c,Oy,16,a,0,1),e.b=we(uu,Ad,30,a,16,1),f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),e.a[u.g]=new Ar;for(o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),e.a[r.b.g].Ec(r),e.a[r.c.g].Ec(r)}function x0t(e,t){var r,o,a,u;e.Nj()?(r=e.Cj(),u=e.Oj(),++e.j,e.oj(r,e.Xi(r,t)),o=e.Gj(3,null,t,r,u),e.Kj()?(a=e.Lj(t,null),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(zst(e,t),e.Kj()&&(a=e.Lj(t,null),a&&a.mj()))}function vme(e,t,r){var o,a,u;e.Nj()?(u=e.Oj(),D6(e,t,r),o=e.Gj(3,null,r,t,u),e.Kj()?(a=e.Lj(r,null),e.Rj()&&(a=e.Sj(r,a)),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(D6(e,t,r),e.Kj()&&(a=e.Lj(r,null),a&&a.mj()))}function N7(e,t){var r,o,a,u,f;for(f=za(e.e.Ah(),t),a=new m9,r=l(e.g,123),u=e.i;--u>=0;)o=r[u],f.$l(o.Jk())&&Tn(a,o);!CEt(e,a)&&Ju(e.e)&&LA(e,t.Hk()?c1(e,6,t,(At(),Co),null,-1,!1):c1(e,t.rk()?2:1,t,null,null,-1,!1))}function Vvn(e,t){var r,o,a,u,f;return e.a==(W_(),NI)?!0:(u=t.a.c,r=t.a.c+t.a.b,!(t.j&&(o=t.A,f=o.c.c.a-o.o.a/2,a=u-(o.n.a+o.o.a),a>f)||t.q&&(o=t.C,f=o.c.c.a-o.o.a/2,a=o.n.a-r,a>f)))}function k0t(e,t,r){var o,a,u,f,p,m;for(o=0,m=r,t||(o=r*(e.c.length-1),m*=-1),u=new V(e);u.a<u.c.c.length;){for(a=l(q(u),9),Te(a,(Be(),Kf),(mh(),tU)),a.o.a=o,p=bg(a,(He(),Qt)).Jc();p.Ob();)f=l(p.Pb(),12),f.n.a=o;o+=m}}function N0t(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (startX: ",Vv(t,e.j),t.a+=", startY: ",Vv(t,e.k),t.a+=", endX: ",Vv(t,e.b),t.a+=", endY: ",Vv(t,e.c),t.a+=", identifier: ",Vo(t,e.d),t.a+=")",t.a)}function Eme(e){var t;return e.Db&64?iC(e):(t=new ml(iC(e)),t.a+=" (ordered: ",Zp(t,(e.Bb&256)!=0),t.a+=", unique: ",Zp(t,(e.Bb&512)!=0),t.a+=", lowerBound: ",mq(t,e.s),t.a+=", upperBound: ",mq(t,e.t),t.a+=")",t.a)}function C0t(e,t,r,o,a,u,f,p){var m;return ae(e.Cb,89)&&Sy(Pu(l(e.Cb,89)),4),Ma(e,r),e.f=o,M_(e,a),j_(e,u),L_(e,f),P_(e,!1),pg(e,!0),F_(e,p),hg(e,!0),cg(e,0),e.b=0,cy(e,1),m=Zd(e,t,null),m&&m.mj(),eY(e,!1),e}function I0t(e,t){var r,o,a,u;return r=l(wa(e.a,t),515),r||(o=new zW(t),a=(YP(),sf?null:o.c),u=yl(a,0,b.Math.max(0,j8(a,Qa(46)))),nrn(o,I0t(e,u)),(sf?null:o.c).length==0&&uit(o,new vr),ns(e.a,sf?null:o.c,o),o)}function Wvn(e,t){var r,o;return gr(e,(Ie(),r2))?gr(t,r2)?(r=ce(F(e,r2)),o=ce(F(t,r2)),r!=null&&o!=null?yr((Mt(r),r),(Mt(o),o)):r!=null?-1:o!=null?1:0):-1:1}function R0t(){this.a=new YGe,this.n=new l7,this.p=new l7,this.c=new hn,this.f=new l7,this.o=new l7,this.q=new hn,this.d=new hn,this.g=new hn,this.k=new hn,this.e=new hn,this.i=new hn,this.j=new hn,this.r=new hn,this.b=new hn}function oT(e,t,r){var o,a,u,f,p,m;return p=e.nl(r),p!=r?(f=e.g[t],m=p,w3(e,t,e.Xi(t,m)),u=f,e.Pi(t,m,u),e.$k()&&(o=r,a=e.Mj(o,null),!l(p,52).Mh()&&(a=e.Lj(m,a)),a&&a.mj()),Ju(e.e)&&LA(e,e.Gj(9,r,p,t,!1)),p):r}function Kvn(e,t){var r,o,a,u;for(o=new V(e.a.a);o.a<o.c.c.length;)r=l(q(o),197),r.g=!0;for(u=new V(e.a.b);u.a<u.c.c.length;)a=l(q(u),84),a.k=Ye(Ke(e.e.Kb(new ko(a,t)))),a.d.g=a.d.g&Ye(Ke(e.e.Kb(new ko(a,t))));return e}function O0t(e,t,r){var o,a,u,f,p;if(!e.d[r.p]){for(a=new $t(qt(Or(r).a.Jc(),new D));an(a);){for(o=l(en(a),17),p=o.d.i,f=new $t(qt(si(p).a.Jc(),new D));an(f);)u=l(en(f),17),u.c.i==t&&(e.a[u.p]=!0);O0t(e,t,p)}e.d[r.p]=!0}}function Yvn(e,t){var r,o,a,u,f,p,m;if(o=lgt(e.Db&254),o==1)e.Eb=null;else if(u=HS(e.Eb),o==2)a=DY(e,t),e.Eb=u[a==0?1:0];else{for(f=we(Ii,Rt,1,o-1,5,1),r=2,p=0,m=0;r<=128;r<<=1)r==t?++p:e.Db&r&&(f[m++]=u[p++]);e.Eb=f}e.Db&=~t}function Sme(e){var t;switch(t=0,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=Tl}return t}function Jvn(e,t,r,o,a){var u,f,p,m;if(be(e)===be(t)&&o==a){Pyt(e,o,r);return}for(p=0;p<o;p++){for(f=0,u=e[p],m=0;m<a;m++)f=Ao(Ao(wo(Gi(u,$o),Gi(t[m],$o)),Gi(r[p+m],$o)),Gi(Dn(f),$o)),r[p+m]=Dn(f),f=Rb(f,32);r[p+a]=Dn(f)}}function D0t(e){var t,r,o,a,u;if(r=(t=l(md(Io),10),new Hc(t,l(Gl(t,t.length),10),0)),u=l(F(e,(Ie(),Nu)),9),u)for(a=new V(u.j);a.a<a.c.c.length;)o=l(q(a),12),be(F(o,mr))===be(e)&&v3(new Vd(o.b))&&Jl(r,o.j);return r}function Xvn(e,t){var r,o,a;for(o=new V(e.i.d);o.a<o.c.c.length;)r=l(q(o),70),Te(r,(Be(),i2),null);switch(t.g){case 2:case 4:a=e.a,e.c.d.n.b<a.d.n.b&&(a=e.c),ig(e,t,(Xl(),See),a);break;case 1:case 3:ig(e,t,(Xl(),Hy),null)}}function L0t(e,t){t.b!=0&&(isNaN(e.s)?e.s=ue((un(t.b!=0),ce(t.a.a.c))):e.s=b.Math.min(e.s,ue((un(t.b!=0),ce(t.a.a.c)))),isNaN(e.c)?e.c=ue((un(t.b!=0),ce(t.c.b.c))):e.c=b.Math.max(e.c,ue((un(t.b!=0),ce(t.c.b.c)))))}function AC(e){var t,r,o,a;for(t=null,o=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c)])));an(o);)if(r=l(en(o),83),a=Yo(r),!t)t=Br(a);else if(t!=Br(a))return!0;return!1}function aJ(e,t){var r,o,a,u;e.Nj()?(r=e.i,u=e.Oj(),r6(e,t),o=e.Gj(3,null,t,r,u),e.Kj()?(a=e.Lj(t,null),e.Rj()&&(a=e.Sj(t,a)),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(r6(e,t),e.Kj()&&(a=e.Lj(t,null),a&&a.mj()))}function Zvn(e,t){var r,o,a,u;if(u=qO(e.a,t.b),!u)throw Y(new es("Invalid hitboxes for scanline overlap calculation."));for(a=!1,o=e.a.a.ec().Jc();o.Ob();)if(r=l(o.Pb(),68),opn(t.b,r))XQt(e.b.a,t.b,r),a=!0;else if(a)break}function Qvn(e){var t;if(!e.a)throw Y(new es("IDataType class expected for layout option "+e.f));if(t=vln(e.a),t==null)throw Y(new es("Couldn't create new instance of property '"+e.f+"'. "+lTt+(np(u5),u5.k)+eEe));return l(t,419)}function uJ(e){var t,r,o,a,u;return u=e.Mh(),u&&u.Sh()&&(a=w1(e,u),a!=u)?(r=e.Ch(),o=(t=e.Ch(),t>=0?e.xh(null):e.Mh().Qh(e,-1-t,null,null)),e.yh(l(a,52),r),o&&o.mj(),e.sh()&&e.th()&&r>-1&&hr(e,new Pi(e,9,r,u,a)),a):u}function Tme(e,t){var r,o,a,u,f;for(u=e.b.Ae(t),o=(r=e.a.get(u),r??we(Ii,Rt,1,0,5,1)),f=0;f<o.length;f++)if(a=o[f],e.b.ze(t,a.jd()))return o.length==1?(o.length=0,Bnn(e.a,u)):o.splice(f,1),--e.c,++e.b.g,a.kd();return null}function M0t(e){var t,r,o,a,u,f,p,m;for(f=0,u=e.f.e,o=0;o<u.c.length;++o)for(p=(at(o,u.c.length),l(u.c[o],156)),a=o+1;a<u.c.length;++a)m=(at(a,u.c.length),l(u.c[a],156)),r=f1(p.d,m.d),t=r-e.a[p.a][m.a],f+=e.i[p.a][m.a]*t*t;return f}function eEn(e,t){var r;if(!gr(t,(Be(),Cs))&&(r=Pmn(l(F(t,MSe),368),l(F(e,Cs),166)),Te(t,MSe,r),!an(new $t(qt(Lf(t).a.Jc(),new D)))))switch(r.g){case 1:Te(t,Cs,(ic(),LI));break;case 2:Te(t,Cs,(ic(),MI))}}function tEn(e,t){var r;gTn(e),e.a=(r=new fq,ei(new Et(null,new St(t.d,16)),new aJe(r)),r),CTn(e,l(F(t.b,(Be(),mte)),349)),_bn(e),cEn(e),Bmn(e),xbn(e),kxn(e,t),ei(bs(new Et(null,Xut($sn(e.b).a)),new jBe),new FBe),t.a=!1,e.a=null}function Ame(){Ame=K,tRt=new pt(sve,(Lt(),!1)),nRt=new pt(ave,7),Re(0),sRt=new pt(uve,Re(0)),iRt=new pt(cve,Re(-1)),Y_e=(tC(),cne),aRt=new pt(lve,Y_e),W_e=(eC(),kL),rRt=new pt(dve,W_e),K_e=(FP(),lne),oRt=new pt(fve,K_e)}function P0t(){Ube.call(this,Lx,(e1(),LDt)),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 sT(){sT=K,Dre=new bS(mSt,0),yU=new bS("INSIDE_SELF_LOOPS",1),o5=new bS("MULTI_EDGES",2),i5=new bS("EDGE_LABELS",3),Ore=new bS("PORTS",4),wU=new bS("COMPOUND",5),mU=new bS("CLUSTERS",6),Rre=new bS("DISCONNECTED",7)}function j0t(e,t,r){var o,a,u;e.Nj()?(u=e.Oj(),++e.j,e.oj(t,e.Xi(t,r)),o=e.Gj(3,null,r,t,u),e.Kj()?(a=e.Lj(r,null),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(++e.j,e.oj(t,e.Xi(t,r)),e.Kj()&&(a=e.Lj(r,null),a&&a.mj()))}function F0t(e,t){var r,o,a;if(t==0)return(e.a[0]&1)!=0;if(t<0)throw Y(new j9("Negative bit address"));if(a=t>>5,a>=e.d)return e.e<0;if(r=e.a[a],t=1<<(t&31),e.e<0){if(o=Tht(e),a<o)return!1;o==a?r=-r:r=~r}return(r&t)!=0}function $0t(e){var t,r,o,a,u;if(a=new je,u=Byt(e,a),t=l(F(e,(Ie(),Nu)),9),t)for(o=new V(t.j);o.a<o.c.c.length;)r=l(q(o),12),be(F(r,mr))===be(e)&&(u=b.Math.max(u,Byt(r,a)));return a.c.length==0||Te(e,QE,u),u!=-1?a:null}function nEn(e,t,r,o){var a;l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),a=Di(To(l(r.b,68).c),l(o.b,68).c),X8(a,Vmt(l(r.b,68),l(o.b,68),a)),l(o.b,68),l(o.b,68),l(o.b,68).c.a+a.a,l(o.b,68).c.b+a.b,l(o.b,68),La(o.a,new yfe(e,t,o))}function _me(e,t){var r,o,a,u,f,p,m;if(u=t.e,u){for(r=uJ(u),o=l(e.g,686),f=0;f<e.i;++f)if(m=o[f],kY(m)==r&&(a=(!m.d&&(m.d=new yi(Go,m,1)),m.d),p=l(r.Jh(vJ(u,u.Cb,u.Db>>16)),16).bd(u),p<a.i))return _me(e,l(oe(a,p),88))}return t}function _(e,t,r){var o=a$,a,u=o[e],f=u instanceof Array?u[0]:null;u&&!f?h=u:(h=(a=t&&t.prototype,!a&&(a=a$[t]),Eun(a)),h.Qm=r,!t&&(h.Rm=fe),o[e]=h);for(var p=3;p<arguments.length;++p)arguments[p].prototype=h;f&&(h.Pm=f)}function an(e){for(var t;!l(kn(e.a),51).Ob();){if(e.d=Epn(e),!e.d)return!1;if(e.a=l(e.d.Pb(),51),ae(e.a,35)){if(t=l(e.a,35),e.a=t.a,!e.b&&(e.b=new iE),l1(e.b,e.d),t.b)for(;!zN(t.b);)l1(e.b,l(Ssn(t.b),51));e.d=t.d}}return!0}function xme(e,t){var r,o,a,u;for(a=1,t.j=!0,u=null,o=new V(wE(t));o.a<o.c.c.length;)r=l(q(o),220),e.c[r.c]||(e.c[r.c]=!0,u=Vj(r,t),r.f?a+=xme(e,u):!u.j&&r.a==r.e.e-r.d.e&&(r.f=!0,pi(e.p,r),a+=xme(e,u)));return a}function rEn(e){var t,r,o;for(r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=(Mt(0),0),o>0&&(!(ep(e.a.c)&&t.n.d)&&!(eE(e.a.c)&&t.n.b)&&(t.g.d+=b.Math.max(0,o/2-.5)),!(ep(e.a.c)&&t.n.a)&&!(eE(e.a.c)&&t.n.c)&&(t.g.a-=o-1))}function B0t(e,t,r){var o,a,u,f,p,m;u=l(ze(t.e,0),17).c,o=u.i,a=o.k,m=l(ze(r.g,0),17).d,f=m.i,p=f.k,a==(zt(),gi)?Te(e,(Ie(),Cd),l(F(o,Cd),12)):Te(e,(Ie(),Cd),u),p==gi?Te(e,(Ie(),Nl),l(F(f,Nl),12)):Te(e,(Ie(),Nl),m)}function U0t(e,t){var r,o,a,u,f,p;for(u=new V(e.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(a.a);p.a<p.c.c.length;)for(f=l(q(p),9),f.k==(zt(),ta)&&aT(f,t),o=new $t(qt(Or(f).a.Jc(),new D));an(o);)r=l(en(o),17),Yht(r,t)}function iEn(e,t){var r,o,a;for(t.Tg("Layer constraint preprocessing",1),r=new je,a=new Xi(e.a,0);a.b<a.d.gc();)o=(un(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),9)),epn(o)&&(Q0n(o),Ot(r.c,o),Mu(a));r.c.length==0||Te(e,(Ie(),tte),r),t.Ug()}function kme(e){var t,r,o;this.c=e,o=l(F(e,(Be(),xc)),87),t=ue(ce(F(e,aB))),r=ue(ce(F(e,qAe))),o==(vi(),as)||o==fs||o==hf?this.b=t*r:this.b=1/(t*r),this.j=ue(ce(F(e,tv))),this.e=ue(ce(F(e,vm))),this.f=e.b.c.length}function oEn(e){var t,r;for(e.e=we(Rn,Qn,30,e.p.c.length,15,1),e.k=we(Rn,Qn,30,e.p.c.length,15,1),r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),e.e[t.p]=yd(new $t(qt(si(t).a.Jc(),new D))),e.k[t.p]=yd(new $t(qt(Or(t).a.Jc(),new D)))}function sEn(e){var t,r,o,a,u,f;for(a=0,e.q=new je,t=new hi,f=new V(e.p);f.a<f.c.c.length;){for(u=l(q(f),9),u.p=a,o=new $t(qt(Or(u).a.Jc(),new D));an(o);)r=l(en(o),17),pi(t,r.d.i);t.a.Ac(u)!=null,Fe(e.q,new Kw(t)),t.a.$b(),++a}}function Nme(e,t){var r,o,a,u,f;return t&=63,r=e.h,o=(r&ED)!=0,o&&(r|=-1048576),t<22?(f=r>>t,u=e.m>>t|r<<22-t,a=e.l>>t|e.m<<22-t):t<44?(f=o?Ep:0,u=r>>t-22,a=e.m>>t-22|r<<44-t):(f=o?Ep:0,u=o?Hu:0,a=r>>t-44),Ua(a&Hu,u&Hu,f&Ep)}function aEn(e,t){var r;switch(M3(e.a),pc(e.a,(g7(),Wne),(X9(),Qne)),pc(e.a,Kne,(Z9(),ere)),pc(e.a,Yne,(Q9(),tre)),l(ve(t,(QS(),Zne)),389).g){case 1:r=(w6(),nre);break;case 0:default:r=(w6(),rre)}return pc(e.a,Jne,r),FC(e.a,t)}function H0t(e,t){var r,o,a,u,f,p,m,y,v;if(e.a.f>0&&ae(t,45)&&(e.a.Zj(),y=l(t,45),m=y.jd(),u=m==null?0:Rr(m),f=Yde(e.a,u),r=e.a.d[f],r)){for(o=l(r.g,375),v=r.i,p=0;p<v;++p)if(a=o[p],a.yi()==u&&a.Fb(y))return H0t(e,y),!0}return!1}function uEn(e){var t,r,o,a,u,f,p;if(t=e.ni(_l),t&&(p=In(Td((!t.b&&(t.b=new Zu((_t(),Ro),zs,t)),t.b),"settingDelegates")),p!=null)){for(r=new je,a=ky(p,"\\w+"),u=0,f=a.length;u<f;++u)o=a[u],Ot(r.c,o);return r}return At(),At(),Co}function cEn(e){var t,r,o,a;for(a=l(wr(e.a,(yy(),G$)),16).Jc();a.Ob();)o=l(a.Pb(),108),r=(t=kS(o.k),t.Gc((He(),Wt))?t.Gc(Qt)?t.Gc(dn)?t.Gc(Kt)?null:ANt:xNt:_Nt:TNt),r_(e,o,r[0],(T0(),Z0),0),r_(e,o,r[1],P1,1),r_(e,o,r[2],Q0,1)}function lEn(e,t){var r,o;r=zTn(t),OSn(e,t,r),$bt(e.a,l(F(ji(t.b),(Ie(),DT)),237)),lAn(e),V0n(e,t),o=we(Rn,Qn,30,t.b.j.c.length,15,1),BJ(e,t,(He(),Wt),o,r),BJ(e,t,Qt,o,r),BJ(e,t,dn,o,r),BJ(e,t,Kt,o,r),e.a=null,e.c=null,e.b=null}function Cme(e,t,r){switch(t){case 7:!e.e&&(e.e=new Tt(Ir,e,7,4)),vn(e.e),!e.e&&(e.e=new Tt(Ir,e,7,4)),ti(e.e,l(r,18));return;case 8:!e.d&&(e.d=new Tt(Ir,e,8,5)),vn(e.d),!e.d&&(e.d=new Tt(Ir,e,8,5)),ti(e.d,l(r,18));return}Sbe(e,t,r)}function Ime(e,t){var r,o,a,u,f;if(be(t)===be(e))return!0;if(!ae(t,16)||(f=l(t,16),e.gc()!=f.gc()))return!1;for(u=f.Jc(),o=e.Jc();o.Ob();)if(r=o.Pb(),a=u.Pb(),!(be(r)===be(a)||r!=null&&pr(r,a)))return!1;return!0}function dEn(e,t){var r,o,a,u;for(u=l(Au(bs(bs(new Et(null,new St(t.b,16)),new jFe),new FFe),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),u.Ic(new $Fe),r=0,a=u.Jc();a.Ob();)o=l(a.Pb(),12),o.p==-1&&Ome(e,o,r++)}function fEn(e,t){var r,o,a,u,f;for(t.Tg("Port side processing",1),f=new V(e.a);f.a<f.c.c.length;)a=l(q(f),9),fvt(a);for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),9),fvt(a);t.Ug()}function hEn(e,t){var r,o,a,u,f,p;for(o=new d1,f=VP(new Ls(e.g)),u=f.a.ec().Jc();u.Ob();){if(a=l(u.Pb(),9),!a){t.ah("There are no classes in a balanced layout.");break}p=e.j[a.p],r=l(Wd(o,p),16),r||(r=new je,Jb(o,p,r)),r.Ec(a)}return o}function pEn(e,t){var r,o,a,u,f;o=new Ar,Wr(o,t,o.c.b,o.c);do for(r=(un(o.b!=0),l(Vc(o,o.a.a),41)),e.b[r.g]=1,u=An(r.d,0);u.b!=u.d.c;)a=l(Sn(u),65),f=a.c,e.b[f.g]==1?Gn(e.a,a):e.b[f.g]==2?e.b[f.g]=1:Wr(o,f,o.c.b,o.c);while(o.b!=0)}function Rme(e,t){if(ae(t,209))return Br(l(t,19));if(ae(t,196))return Gd(l(t,127));if(ae(t,363))return Fhe(l(t,158));if(ae(t,273))return wnn(e,l(t,74));throw Y(new jt(Mx+Qd(new Ls(Z(X(Ii,1),Rt,1,5,[t])))))}function gEn(e,t,r){var o;o=null,t&&(o=t.d),mC(e,new qA(t.n.a-o.b+r.a,t.n.b-o.d+r.b)),mC(e,new qA(t.n.a-o.b+r.a,t.n.b+t.o.b+o.a+r.b)),mC(e,new qA(t.n.a+t.o.a+o.c+r.a,t.n.b-o.d+r.b)),mC(e,new qA(t.n.a+t.o.a+o.c+r.a,t.n.b+t.o.b+o.a+r.b))}function Ome(e,t,r){var o,a,u;for(t.p=r,u=hh(Wc(Z(X(nl,1),Rt,22,0,[new DA(t),new tS(t)])));an(u);)o=l(en(u),12),o.p==-1&&Ome(e,o,r);if(t.i.k==(zt(),gi))for(a=new V(t.i.j);a.a<a.c.c.length;)o=l(q(a),12),o!=t&&o.p==-1&&Ome(e,o,r)}function z0t(e){var t,r,o,a,u;if(a=l(Au($he(Hhe(e)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),o=jE,a.gc()>=2)for(r=a.Jc(),t=ce(r.Pb());r.Ob();)u=t,t=ce(r.Pb()),o=b.Math.min(o,(Mt(t),t-(Mt(u),u)));return o}function bEn(e,t){var r,o,a;for(a=new je,o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.b.g==e.g&&!wt(r.b.c,DF)&&be(F(r.b,(js(),Jf)))!==be(F(r.c,Jf))&&!fE(new Et(null,new St(a,16)),new WJe(r))&&Ot(a.c,r);return xi(a,new AHe),a}function mEn(e,t){var r,o,a;if(be(t)===be(kn(e)))return!0;if(!ae(t,16)||(o=l(t,16),a=e.gc(),a!=o.gc()))return!1;if(ae(o,59)){for(r=0;r<a;r++)if(!rp(e.Xb(r),o.Xb(r)))return!1;return!0}else return Cbn(e.Jc(),o.Jc())}function wEn(e,t,r,o,a,u){var f,p,m,y;for(p=!BA(lr(e.Mc(),new RA(new ZFe))).zd((_b(),TT)),f=e,u==(vi(),il)&&(f=oc(f)),y=f.Jc();y.Ob();)m=l(y.Pb(),70),m.n.a=t.a,p?m.n.b=t.b+(o.b-m.o.b)/2:a?m.n.b=t.b:m.n.b=t.b+o.b-m.o.b,t.a+=m.o.a+r}function G0t(e,t,r){var o,a,u,f,p,m,y;if(r)for(u=r.a.length,o=new Ib(u),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),m=f_(r,f.a),m&&(y=Mfn(sp(m,uQ),t),Jn(e.k,y,m),a=qf in m.a,a&&v_(y,sp(m,qf)),E7(m,y),ume(m,y))}function yEn(e,t,r){var o,a,u,f,p;if(p=r,!p&&(p=Rfe(new sS,0)),p.Tg(J2t,1),Yvt(e.c,t),f=Nkn(e.a,t),f.gc()==1)Nvt(l(f.Xb(0),37),p);else for(u=1/f.gc(),a=f.Jc();a.Ob();){if(o=l(a.Pb(),37),r.Zg())return;Nvt(o,p.dh(u))}xQt(e.a,f,t),QSn(t),p.Ug()}function q0t(e,t,r){var o,a,u,f,p;if(a=e.f,!a&&(a=l(e.a.a.ec().Jc().Pb(),60)),bC(a,t,r),e.a.a.gc()!=1)for(o=t*r,f=e.a.a.ec().Jc();f.Ob();)u=l(f.Pb(),60),u!=a&&(p=PS(u),p.f.d?(u.d.d+=o+nf,u.d.a-=o+nf):p.f.a&&(u.d.a-=o+nf))}function vEn(e,t,r,o){var a,u,f,p,m,y,v,T;a=r,v=t,u=v;do u=e.a[u.p],p=(T=e.g[u.p],ue(e.p[T.p])+ue(e.d[u.p])-u.d.d),m=Ffn(u,o),m&&(f=(y=e.g[m.p],ue(e.p[y.p])+ue(e.d[m.p])+m.o.b+m.d.a),a=b.Math.min(a,p-(f+rE(e.k,u,m))));while(v!=u);return a}function EEn(e,t,r,o){var a,u,f,p,m,y,v,T;a=r,v=t,u=v;do u=e.a[u.p],f=(T=e.g[u.p],ue(e.p[T.p])+ue(e.d[u.p])+u.o.b+u.d.a),m=Whn(u,o),m&&(p=(y=e.g[m.p],ue(e.p[y.p])+ue(e.d[m.p])-m.d.d),a=b.Math.min(a,p-(f+rE(e.k,u,m))));while(v!=u);return a}function V0t(e,t){var r;if(t.Tg("Equal Whitespace Eliminator",1),Gc(e,(yh(),VB)))Qpn(l(ve(e,VB),16),ue(ce(ve(e,$T))),(r=ue(ce(ve(e,a4))),ue(ce(ve(e,(ef(),l4)))),r));else throw Y(new _f("The graph does not contain rows."));t.Ug()}function ve(e,t){var r,o;return o=(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),Td(e.o,t)),o??(r=t.Rg(),ae(r,4)&&(r==null?(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),Qj(e.o,t)):(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),V6(e.o,t,r))),r)}function Ty(){Ty=K,ad=new Jv("H_LEFT",0),Ip=new Jv("H_CENTER",1),ud=new Jv("H_RIGHT",2),ld=new Jv("V_TOP",3),Rh=new Jv("V_CENTER",4),Il=new Jv("V_BOTTOM",5),kc=new Jv("INSIDE",6),cd=new Jv("OUTSIDE",7),Cl=new Jv("H_PRIORITY",8)}function SEn(e,t){var r,o,a,u,f,p,m;if(!t.f)throw Y(new jt("The input edge is not a tree edge."));for(u=null,a=sr,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),220),p=r.d,m=r.e,iJ(e,p,t)&&!iJ(e,m,t)&&(f=m.e-p.e-r.a,f<a&&(a=f,u=r));return u}function TEn(e){var t,r,o,a,u,f;if(!(e.f.e.c.length<=1)){t=0,a=M0t(e),r=Kr;do{for(t>0&&(a=r),f=new V(e.f.e);f.a<f.c.c.length;)u=l(q(f),156),!Ye(Ke(F(u,(G6(),F2e))))&&(o=LAn(e,u),br(wd(u.d),o));r=M0t(e)}while(!Hsn(e,t++,a,r))}}function AEn(e,t){var r,o,a,u,f;for(u=e.g.a,f=e.g.b,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),70),a=r.n,e.a==(Xl(),qx)||e.i==(He(),Qt)?a.a=u:e.a==Vx||e.i==(He(),Kt)?a.a=u+e.j.a-r.o.a:a.a=u+(e.j.a-r.o.a)/2,a.b=f,br(a,t),f+=r.o.b+e.e}function W0t(e){var t,r,o,a;for(a=0,t=l(ve(e,(_n(),iDt)),15).a,o=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));o.e!=o.i.gc();)r=l(rn(o),19),!r.a&&(r.a=new ke(En,r,10,11)),r.a&&(!r.a&&(r.a=new ke(En,r,10,11)),r.a).i>0?a+=t:a+=1;return a}function _En(e,t){var r,o,a,u,f,p,m,y,v,T;y=e,m=B3(y,"individualSpacings"),m&&(o=Gc(t,(_n(),qT)),f=!o,f&&(a=new IG,Vn(t,qT,a)),p=l(ve(t,qT),380),T=m,u=null,T&&(u=(v=EK(T,we(Je,Pe,2,0,6,1)),new yq(T,v))),u&&(r=new fnt(T,p),lo(u,r)))}function xEn(e,t){var r,o,a,u,f,p,m,y,v,T,N;return m=null,T=e,v=null,(nAt in T.a||rAt in T.a||HF in T.a)&&(y=null,N=Cge(t),f=B3(T,nAt),r=new RXe(N),Agt(r.a,f),p=B3(T,rAt),o=new BXe(N),_gt(o.a,p),u=m0(T,HF),a=new zXe(N),y=(Dbt(a.a,u),u),v=y),m=v,m}function kEn(e,t){var r,o,a;if(t===e)return!0;if(ae(t,544)){if(a=l(t,841),e.a.d!=a.a.d||uE(e).gc()!=uE(a).gc())return!1;for(o=uE(a).Jc();o.Ob();)if(r=l(o.Pb(),421),Aut(e,r.a.jd())!=l(r.a.kd(),18).gc())return!1;return!0}return!1}function NEn(e,t){var r,o,a,u;for(u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),Te(a,(Ie(),sB),(Lt(),!1)),Te(a,LT,Re(-1)),Te(a,DI,Re(-1)),e.d.a.c.length=0,o=new $t(qt(Lf(a).a.Jc(),new D));an(o);)r=l(en(o),17),Te(r,WNt,!1)}function CEn(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?Rr(e.a)-Rr(t.a):e.d==(H3(),QI)&&t.d==ZI?-1:e.d==ZI&&t.d==QI?1:0}function cJ(e){var t,r,o,a,u,f,p,m;for(a=Kr,o=Li,r=new V(e.e.b);r.a<r.c.c.length;)for(t=l(q(r),26),f=new V(t.a);f.a<f.c.c.length;)u=l(q(f),9),m=ue(e.p[u.p]),p=m+ue(e.b[e.g[u.p].p]),a=b.Math.min(a,m),o=b.Math.max(o,p);return o-a}function K0t(e,t){var r,o,a,u,f;return u=t.a,u.c.i==t.b?f=u.d:f=u.c,u.c.i==t.b?o=u.c:o=u.d,a=u1n(e.a,f,o),a>0&&a<jE?(r=vEn(e.a,o.i,a,e.c),xft(e.a,o.i,-r),r>0):a<0&&-a<jE?(r=EEn(e.a,o.i,-a,e.c),xft(e.a,o.i,r),r>0):!1}function IEn(e,t,r,o){var a,u,f,p,m,y,v,T;for(a=(t-e.d)/e.c.c.length,u=0,e.a+=r,e.d=t,T=new V(e.c);T.a<T.c.c.length;)v=l(q(T),19),y=v.g,m=v.f,va(v,v.i+u*a),gu(v,v.j+o*r),Hb(v,v.g+a),Ub(v,e.a),++u,p=v.g,f=v.f,ome(v,new Me(p,f),new Me(y,m))}function Y0t(e,t){var r,o,a,u,f,p,m,y;for(o=new $t(qt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),y=Yo(l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),f=kC(r),p=t.i+t.g/2,m=t.j+t.f,a=y.i+y.g/2,u=y.j,E0(f,p),S0(f,m),y0(f,a),v0(f,u),Y0t(e,y)}function REn(e){var t,r,o,a,u,f,p;if(e==null)return null;for(p=e.length,a=(p+1)/2|0,f=we(Eu,BE,30,a,15,1),p%2!=0&&(f[--a]=n0e((Yt(p-1,e.length),e.charCodeAt(p-1)))),r=0,o=0;r<a;++r)t=n0e(co(e,o++)),u=n0e(co(e,o++)),f[r]=(t<<4|u)<<24>>24;return f}function OEn(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 r=e.j,o=e.d;o=o.split("/"),e.o=fY(".",[r,fY("$",o)]),e.b=fY(".",[r,fY(".",o)]),e.k=o[o.length-1]}function DEn(e,t){var r,o,a,u,f;for(f=null,u=new V(e.e.a);u.a<u.c.c.length;)if(a=l(q(u),126),a.b.a.c.length==a.g.a.c.length){for(o=a.e,f=Tyn(a),r=a.e-l(f.a,15).a+1;r<a.e+l(f.b,15).a;r++)t[r]<t[o]&&(o=r);t[o]<t[a.e]&&(--t[a.e],++t[o],a.e=o)}}function Dme(e,t,r){var o,a,u,f,p,m,y,v;y=l(r,150),v=Rme(e,t),u=null,o=null,v&&(o=w7(e,v,t.i)),o!=null?u=o:(p=t.i,u=p),Mb(y,"x",u),f=null,a=null,v&&(a=y7(e,v,t.j)),a!=null?f=a:(m=t.j,f=m),Mb(y,"y",f),Mb(y,sQ,t.g),Mb(y,oQ,t.f)}function J0t(e){PJ();var t,r,o,a;return o=Nf(e,Qa(35)),t=o==-1?e:(io(0,o,e.length),e.substr(0,o)),r=o==-1?null:(Yt(o+1,e.length+1),e.substr(o+1)),a=Iln(k3e,t),a?r!=null&&(a=Npt(a,(Mt(r),r))):(a=v3n(t),zln(k3e,t,a),r!=null&&(a=Npt(a,r))),a}function Lme(e,t,r,o){var a,u,f,p,m;for(a=l0e(e,t),p=0,m=a.gc();p<m;++p)if(u=l(a.Xb(p),182),wt(o,u_(rs(e,u)))){if(f=WO(rs(e,u)),r==null){if(f==null)return u}else if(wt(r,f))return u}return null}function Mme(e,t,r,o){var a,u,f,p,m;for(a=EJ(e,t),p=0,m=a.gc();p<m;++p)if(u=l(a.Xb(p),182),wt(o,u_(rs(e,u)))){if(f=WO(rs(e,u)),r==null){if(f==null)return u}else if(wt(r,f))return u}return null}function LEn(e,t,r){var o,a,u,f,p,m;if(f=new m9,p=za(e.e.Ah(),t),o=l(e.g,123),Lo(),l(t,69).vk())for(u=0;u<e.i;++u)a=o[u],p.$l(a.Jk())&&Tn(f,a);else for(u=0;u<e.i;++u)a=o[u],p.$l(a.Jk())&&(m=a.kd(),Tn(f,r?TC(e,t,u,f.i,m):m));return npe(f)}function X0t(e){var t,r,o,a,u,f,p;if(e&&(t=e.ni(_l),t&&(f=In(Td((!t.b&&(t.b=new Zu((_t(),Ro),zs,t)),t.b),"conversionDelegates")),f!=null))){for(p=new je,o=ky(f,"\\w+"),a=0,u=o.length;a<u;++a)r=o[a],Ot(p.c,r);return p}return At(),At(),Co}function Z0t(e,t){var r,o,a,u,f,p,m,y;for(f=t==1?fee:dee,u=f.a.ec().Jc();u.Ob();)for(a=l(u.Pb(),87),m=l(wr(e.f.c,a),24).Jc();m.Ob();)switch(p=l(m.Pb(),49),o=l(p.b,84),y=l(p.a,197),r=y.c,a.g){case 2:case 1:o.g.d+=r;break;case 4:case 3:o.g.c+=r}}function MEn(e,t){var r,o,a,u,f;for(r=new cC(Yx),a=(eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])),u=0,f=a.length;u<f;++u)o=a[u],Xde(r,o,new je);return ei(Oa(lr(bs(new Et(null,new St(e.b,16)),new QFe),new e$e),new MYe(t)),new PYe(r)),r}function Q0t(e,t){var r,o,a;for(r=1;r<e.c.length;r++){for(a=(at(r,e.c.length),l(e.c[r],9)),o=r;o>0&&hD(t,(at(o-1,e.c.length),l(e.c[o-1],9)),a)>0;)nc(e,o,(at(o-1,e.c.length),l(e.c[o-1],9))),--o;at(o,e.c.length),e.c[o]=a}t.b=new hn,t.g=new hn}function ewt(e,t,r){var o,a,u;for(o=1;o<e.c.length;o++){for(u=(at(o,e.c.length),l(e.c[o],9)),a=o;a>0&&t.Le((at(a-1,e.c.length),l(e.c[a-1],9)),u)>0;)nc(e,a,(at(a-1,e.c.length),l(e.c[a-1],9))),--a;at(a,e.c.length),e.c[a]=u}r.a=new hn,r.b=new hn}function C7(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=t.Jc();u.Ob();)a=l(u.Pb(),19),v=a.i+a.g/2,N=a.j+a.f/2,m=e.f,f=m.i+m.g/2,p=m.j+m.f/2,y=v-f,T=N-p,o=b.Math.sqrt(y*y+T*T),y*=e.e/o,T*=e.e/o,r?(v-=y,N-=T):(v+=y,N+=T),va(a,v-a.g/2),gu(a,N-a.f/2)}function xE(e){var t,r,o;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=0;t-=2)for(r=0;r<=t;r+=2)(e.b[r]>e.b[r+2]||e.b[r]===e.b[r+2]&&e.b[r+1]>e.b[r+3])&&(o=e.b[r+2],e.b[r+2]=e.b[r],e.b[r]=o,o=e.b[r+3],e.b[r+3]=e.b[r+1],e.b[r+1]=o);e.c=!0}}function Zl(e){var t,r;return r=new fc(Ab(e.Pm)),r.a+="@",zn(r,(t=Rr(e)>>>0,t.toString(16))),e.Sh()?(r.a+=" (eProxyURI: ",ba(r,e.Yh()),e.Hh()&&(r.a+=" eClass: ",ba(r,e.Hh())),r.a+=")"):e.Hh()&&(r.a+=" (eClass: ",ba(r,e.Hh()),r.a+=")"),r.a}function _C(e){var t,r,o,a;if(e.e)throw Y(new es((np(QQ),NX+QQ.k+CX)));for(e.d==(vi(),hf)&&J7(e,as),r=new V(e.a.a);r.a<r.c.c.length;)t=l(q(r),321),t.g=t.i;for(a=new V(e.a.b);a.a<a.c.c.length;)o=l(q(a),60),o.i=Li;return e.b.af(e),e}function PEn(e,t){var r,o,a,u,f,p,m,y,v;for(m=ch(e.c-e.b&e.a.length-1),y=null,v=null,u=new L3(e);u.a!=u.b;)a=l(Bj(u),9),r=(p=l(F(a,(Ie(),Cd)),12),p?p.i:null),o=(f=l(F(a,Nl),12),f?f.i:null),(y!=r||v!=o)&&(A0t(m,t),y=r,v=o),Ot(m.c,a);A0t(m,t)}function twt(e){switch(e.g){case 0:return new P9((Kb(),_L));case 1:return new P9((Kb(),CB));case 2:return new UWe;case 3:return new GWe;default:throw Y(new jt("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function jEn(e,t){var r,o,a,u,f;if(t<2*e.b)throw Y(new jt("The knot vector must have at least two time the dimension elements."));for(e.f=1,a=0;a<e.b;a++)Fe(e.e,0);for(f=t+1-2*e.b,r=f,u=1;u<f;u++)Fe(e.e,u/r);if(e.d)for(o=0;o<e.b;o++)Fe(e.e,1)}function nwt(e,t){var r,o,a,u,f,p,m,y,v;if(y=t,v=l(vj(uW(e.o),y),19),!v)throw a=sp(y,qf),p="Unable to find elk node for json object '"+a,m=p+"' Panic!",Y(new xf(m));u=m0(y,"edges"),r=new ent(e,v),u0t(r.a,r.b,u),f=m0(y,cQ),o=new TXe(e),pbt(o.a,f)}function rwt(e,t,r,o){var a,u,f,p,m;if(o!=null){if(a=e.d[t],a){for(u=a.g,m=a.i,p=0;p<m;++p)if(f=l(u[p],138),f.yi()==r&&pr(o,f.jd()))return p}}else if(a=e.d[t],a){for(u=a.g,m=a.i,p=0;p<m;++p)if(f=l(u[p],138),be(f.jd())===be(o))return p}return-1}function Y_(e,t){var r,o,a;return r=t==null?Ss(ts(e.f,null)):e3(e.i,t),ae(r,244)?(a=l(r,244),a.wi()==null,a):ae(r,496)?(o=l(r,2016),a=o.a,a&&(a.yb==null||(t==null?eu(e.f,null,a):_0(e.i,t,a))),a):null}function FEn(e){Qme();var t,r,o,a,u,f,p;if(e==null||(a=e.length,a%2!=0))return null;for(t=aj(e),u=a/2|0,r=we(Eu,BE,30,u,15,1),o=0;o<u;o++){if(f=F4[t[o*2]],f==-1||(p=F4[t[o*2+1]],p==-1))return null;r[o]=(f<<4|p)<<24>>24}return r}function $En(e,t,r){var o,a,u;if(a=l(Wo(e.i,t),319),!a)if(a=new dft(e.d,t,r),IS(e.i,t,a),j1e(t))Btn(e.a,t.c,t.b,a);else switch(u=Dyn(t),o=l(Wo(e.p,u),256),u.g){case 1:case 3:a.j=!0,aq(o,t.b,a);break;case 4:case 2:a.k=!0,aq(o,t.c,a)}return a}function BEn(e,t,r,o){var a,u,f,p,m,y;if(p=new m9,m=za(e.e.Ah(),t),a=l(e.g,123),Lo(),l(t,69).vk())for(f=0;f<e.i;++f)u=a[f],m.$l(u.Jk())&&Tn(p,u);else for(f=0;f<e.i;++f)u=a[f],m.$l(u.Jk())&&(y=u.kd(),Tn(p,o?TC(e,t,f,p.i,y):y));return O1e(p,r)}function iwt(e,t){var r,o,a,u,f,p,m,y;if(a=e.b[t.p],a>=0)return a;for(u=1,p=new V(t.j);p.a<p.c.c.length;)for(f=l(q(p),12),o=new V(f.g);o.a<o.c.c.length;)r=l(q(o),17),y=r.d.i,t!=y&&(m=iwt(e,y),u=b.Math.max(u,m+1));return Xgn(e,t,u),u}function owt(e,t){var r,o,a,u,f,p,m,y;if(a=e.b[t.p],a>=0)return a;for(u=1,p=new V(t.j);p.a<p.c.c.length;)for(f=l(q(p),12),o=new V(f.e);o.a<o.c.c.length;)r=l(q(o),17),y=r.c.i,t!=y&&(m=owt(e,y),u=b.Math.max(u,m+1));return Rbn(e,t,u),u}function UEn(e){var t,r,o,a;for(a=e.length,t=null,o=0;o<a;o++)r=(Yt(o,e.length),e.charCodeAt(o)),Nf(".*+?{[()|\\^$",Qa(r))>=0?(t||(t=new GN,o>0&&Vo(t,(io(0,o,e.length),e.substr(0,o)))),t.a+="\\",i_(t,r&Ei)):t&&i_(t,r&Ei);return t?t.a:e}function HEn(e){var t,r,o;for(r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=(Mt(0),0),o>0&&(!(ep(e.a.c)&&t.n.d)&&!(eE(e.a.c)&&t.n.b)&&(t.g.d-=b.Math.max(0,o/2-.5)),!(ep(e.a.c)&&t.n.a)&&!(eE(e.a.c)&&t.n.c)&&(t.g.a+=b.Math.max(0,o-1)))}function swt(e,t,r){var o,a;if((e.c-e.b&e.a.length-1)==2)t==(He(),Wt)||t==Qt?(fj(l(Q3(e),16),(vc(),Ih)),fj(l(Q3(e),16),q1)):(fj(l(Q3(e),16),(vc(),q1)),fj(l(Q3(e),16),Ih));else for(a=new L3(e);a.a!=a.b;)o=l(Bj(a),16),fj(o,r)}function zEn(e,t,r){var o,a,u,f,p,m,y,v,T;for(v=-1,T=0,p=t,m=0,y=p.length;m<y;++m){for(f=p[m],o=new fat(e,v==-1?t[0]:t[v],r,(rC(),_B)),a=0;a<f.length;a++)for(u=a+1;u<f.length;u++)gr(f[a],(Ie(),Cr))&&gr(f[u],Cr)&&hD(o,f[a],f[u])>0&&++T;++v}return T}function GEn(e,t,r){var o;if(r.Tg("XPlacer",1),e.b=ue(ce(ve(t,(_n(),Od)))),e.a=Ye(Ke(ve(t,(QS(),Xne)))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0)switch(o=l(ve(t,(wh(),h4)),19),l(ve(t,Zne),389).g){case 0:VEt(e,o);break;case 1:qEt(e,o)}r.Ug()}function qEn(e,t){var r,o,a,u,f,p,m;for(a=QA(new Tce(e)),p=new Xi(a,a.c.length),u=QA(new Tce(t)),m=new Xi(u,u.c.length),f=null;p.b>0&&m.b>0&&(r=(un(p.b>0),l(p.a.Xb(p.c=--p.b),19)),o=(un(m.b>0),l(m.a.Xb(m.c=--m.b),19)),r==o);)f=r;return f}function VEn(e,t){var r,o,a,u;for(t.Tg("Self-Loop pre-processing",1),o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),Ggn(r)&&(a=(u=new a1t(r),Te(r,(Ie(),rw),u),pAn(u),u),ei(Oa(bs(new Et(null,new St(a.d,16)),new U$e),new H$e),new z$e),lSn(a));t.Ug()}function awt(e,t,r){var o,a,u,f;Lut(e,t)>Lut(e,r)?(o=ks(r,(He(),Qt)),e.d=o.dc()?0:$V(l(o.Xb(0),12)),f=ks(t,Kt),e.b=f.dc()?0:$V(l(f.Xb(0),12))):(a=ks(r,(He(),Kt)),e.d=a.dc()?0:$V(l(a.Xb(0),12)),u=ks(t,Qt),e.b=u.dc()?0:$V(l(u.Xb(0),12)))}function WEn(e){var t,r,o,a,u,f,p,m;t=!0,a=null,u=null;e:for(m=new V(e.a);m.a<m.c.c.length;)for(p=l(q(m),9),o=new $t(qt(si(p).a.Jc(),new D));an(o);){if(r=l(en(o),17),a&&a!=p){t=!1;break e}if(a=p,f=r.c.i,u&&u!=f){t=!1;break e}u=f}return t}function KEn(e,t,r){var o,a,u,f,p,m,y,v;for(v=(o=l(t.e&&t.e(),10),new Hc(o,l(Gl(o,o.length),10),0)),m=ky(r,"[\\[\\]\\s,]+"),u=m,f=0,p=u.length;f<p;++f)if(a=u[f],Ey(a).length!=0){if(y=c0t(e,a),y==null)return null;Jl(v,l(y,23))}return v}function uwt(e,t){var r,o,a,u;for(r=e.o.a,u=l(l(wr(e.r,t),24),85).Jc();u.Ob();)a=l(u.Pb(),116),a.e.a=r*ue(ce(a.b.mf(m$))),a.e.b=(o=a.b,o.nf((_n(),zu))?o.$f()==(He(),Wt)?-o.Kf().b-ue(ce(o.mf(zu))):ue(ce(o.mf(zu))):o.$f()==(He(),Wt)?-o.Kf().b:0)}function YEn(e,t,r){var o,a,u,f,p,m;for(u=-1,p=-1,f=0;f<t.c.length&&(a=(at(f,t.c.length),l(t.c[f],341)),!(a.c>e.c));f++)a.a>=e.s&&(u<0&&(u=f),p=f);return m=(e.s+e.c)/2,u>=0&&(o=DTn(e,t,u,p),m=yen((at(o,t.c.length),l(t.c[o],341))),Bvn(t,o,r)),m}function xn(e,t,r){var o,a,u,f,p,m,y;for(f=(u=new Hue,u),uge(f,(Mt(t),t)),y=(!f.b&&(f.b=new Zu((_t(),Ro),zs,f)),f.b),m=1;m<r.length;m+=2)V6(y,r[m-1],r[m]);for(o=(!e.Ab&&(e.Ab=new ke(Kn,e,0,3)),e.Ab),p=0;p<0;++p)a=zsn(l(oe(o,o.i-1),594)),o=a;Tn(o,f)}function Pme(e,t,r,o,a,u){var f,p,m;if(!a[t.a]){for(a[t.a]=!0,f=o,!f&&(f=new JP),Fe(f.e,t),m=u[t.a].Jc();m.Ob();)p=l(m.Pb(),292),!(p.d==r||p.c==r)&&(p.c!=t&&Pme(e,p.c,t,f,a,u),p.d!=t&&Pme(e,p.d,t,f,a,u),Fe(f.c,p),li(f.d,p.b));return f}return null}function JEn(e){var t,r,o,a,u,f,p;for(t=0,a=new V(e.e);a.a<a.c.c.length;)o=l(q(a),17),r=fE(new Et(null,new St(o.b,16)),new mFe),r&&++t;for(f=new V(e.g);f.a<f.c.c.length;)u=l(q(f),17),p=fE(new Et(null,new St(u.b,16)),new wFe),p&&++t;return t>=2}function XEn(e,t,r,o,a){var u,f,p,m,y,v;for(u=e.c.d.j,f=l(sa(r,0),8),v=1;v<r.b;v++)y=l(sa(r,v),8),Wr(o,f,o.c.b,o.c),p=tp(br(new So(f),y),.5),m=tp(new CW(zge(u)),a),br(p,m),Wr(o,p,o.c.b,o.c),f=y,u=t==0?zj(u):f1e(u);Gn(o,(un(r.b!=0),l(r.c.b.c,8)))}function ZEn(e){Ty();var t,r,o;return r=xr(kc,Z(X(zo,1),Ce,96,0,[cd])),!(T6(LP(r,e))>1||(t=xr(ad,Z(X(zo,1),Ce,96,0,[Ip,ud])),T6(LP(t,e))>1)||(o=xr(ld,Z(X(zo,1),Ce,96,0,[Rh,Il])),T6(LP(o,e))>1))}function cwt(e){var t,r,o,a,u,f,p;for(t=0,o=new V(e.a);o.a<o.c.c.length;)for(r=l(q(o),9),u=new $t(qt(Or(r).a.Jc(),new D));an(u);)a=l(en(u),17),e==a.d.i.c&&a.c.j==(He(),Kt)&&(f=qd(a.c).b,p=qd(a.d).b,t=b.Math.max(t,b.Math.abs(p-f)));return t}function jme(e,t,r){var o,a,u;for(u=new V(e.t);u.a<u.c.c.length;)o=l(q(u),275),o.b.s<0&&o.c>0&&(o.b.n-=o.c,o.b.n<=0&&o.b.u>0&&Gn(t,o.b));for(a=new V(e.i);a.a<a.c.c.length;)o=l(q(a),275),o.a.s<0&&o.c>0&&(o.a.u-=o.c,o.a.u<=0&&o.a.n>0&&Gn(r,o.a))}function QEn(e){var t,r,o,a,u,f;for(f=l(ve(e,(_n(),df)),100),r=0,o=0,u=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));u.e!=u.i.gc();)a=l(rn(u),19),t=l(ve(a,Cp),125),r<a.i+a.g+t.c&&(r=a.i+a.g+t.c),o<a.j+a.f+t.a&&(o=a.j+a.f+t.a);Hb(e,r+f.c),Ub(e,o+f.a)}function I7(e){var t,r,o,a,u;if(e.g==null&&(e.d=e._i(e.f),Tn(e,e.d),e.c))return u=e.f,u;if(t=l(e.g[e.i-1],51),a=t.Pb(),e.e=t,r=e._i(a),r.Ob())e.d=r,Tn(e,r);else for(e.d=null;!t.Ob()&&(ii(e.g,--e.i,null),e.i!=0);)o=l(e.g[e.i-1],51),t=o;return a}function e2n(e,t){var r,o,a,u,f,p;if(o=t,a=o.Jk(),wp(e.e,a)){if(a.Qi()&&HP(e,a,o.kd()))return!1}else for(p=za(e.e.Ah(),a),r=l(e.g,123),u=0;u<e.i;++u)if(f=r[u],p.$l(f.Jk()))return pr(f,o)?!1:(l(EE(e,u,t),76),!0);return Tn(e,t)}function zt(){zt=K,Xr=new pS("NORMAL",0),gi=new pS("LONG_EDGE",1),mi=new pS("EXTERNAL_PORT",2),_a=new pS("NORTH_SOUTH_PORT",3),ta=new pS("LABEL",4),af=new pS("BREAKING_POINT",5),rL=new pS("PLACEHOLDER",6),AI=new pS("NONSHIFTING_PLACEHOLDER",7)}function t2n(e,t,r,o){var a,u,f,p;for(a=new Xd(e),Jh(a,(zt(),ta)),Te(a,(Ie(),mr),t),Te(a,OI,o),Te(a,(Be(),Zr),(qi(),fa)),Te(a,Cd,t.c),Te(a,Nl,t.d),fJ(t,a),p=b.Math.floor(r/2),f=new V(a.j);f.a<f.c.c.length;)u=l(q(f),12),u.n.b=p;return a}function tD(){tD=K,Pee=new Kv(Dwe,0),WSe=new Kv(gSt,1),Fee=new Kv(BX,2),$ee=new Kv(MX,3),jee=new Kv("GREEDY_MODEL_ORDER",4),Bee=new Kv("SCC_CONNECTIVITY",5),uL=new Kv("SCC_NODE_TYPE",6),Mee=new Kv("DFS_NODE_ORDER",7),Lee=new Kv("BFS_NODE_ORDER",8)}function lwt(e,t,r){var o,a,u,f,p;for(r.Tg("ELK Force",1),Ye(Ke(ve(t,(ed(),I2e))))||P3((o=new OA((t1(),new Yp(t))),o)),p=spt(t),Lmn(p),bpn(e,l(F(p,C2e),429)),f=avt(e.a,p),u=f.Jc();u.Ob();)a=l(u.Pb(),238),HAn(e.b,a,r.dh(1/f.gc()));p=TEt(f),OEt(p),r.Ug()}function Fme(e,t,r){switch(r.g){case 1:return new Me(t.a,b.Math.min(e.d.b,t.b));case 2:return new Me(b.Math.max(e.c.a,t.a),t.b);case 3:return new Me(t.a,b.Math.max(e.c.b,t.b));case 4:return new Me(b.Math.min(t.a,e.d.a),t.b)}return new Me(t.a,t.b)}function n2n(e,t){var r,o,a,u,f;if(t.Tg("Breaking Point Processor",1),Ukn(e),Ye(Ke(F(e,(Be(),JAe))))){for(a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),r=0,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),u.p=r++;O_n(e),Cwt(e,!0),Cwt(e,!1)}t.Ug()}function R7(e){var t,r,o;for(t=ch(1+(!e.c&&(e.c=new ke(Gu,e,9,9)),e.c).i),Fe(t,(!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d)),o=new tn((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c));o.e!=o.i.gc();)r=l(rn(o),127),Fe(t,(!r.d&&(r.d=new Tt(Ir,r,8,5)),r.d));return kn(t),new g3(t)}function mp(e){var t,r,o;for(t=ch(1+(!e.c&&(e.c=new ke(Gu,e,9,9)),e.c).i),Fe(t,(!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e)),o=new tn((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c));o.e!=o.i.gc();)r=l(rn(o),127),Fe(t,(!r.e&&(r.e=new Tt(Ir,r,7,4)),r.e));return kn(t),new g3(t)}function r2n(e){var t,r,o,a;if(e==null)return null;if(o=Ta(e,!0),a=JD.length,wt(o.substr(o.length-a,a),JD)){if(r=o.length,r==4){if(t=(Yt(0,o.length),o.charCodeAt(0)),t==43)return W3e;if(t==45)return DLt}else if(r==3)return W3e}return vy(o)}function i2n(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(T=o?(He(),Kt):(He(),Qt),a=!1,m=t[r],y=0,v=m.length;y<v;++y)p=m[y],!AS(l(F(p,(Be(),Zr)),103))&&(f=p.e,N=!ks(p,T).dc()&&!!f,N&&(u=Cbe(f),e.b=new Rbe(u,o?0:u.length-1)),a=a|qSn(e,p,T,N));return a}function dwt(e,t,r,o){var a,u,f;if(f=ybe(t,r),Ot(o.c,t),e.j[f.p]==-1||e.j[f.p]==2||e.a[t.p])return o;for(e.j[f.p]=-1,u=new $t(qt(Lf(f).a.Jc(),new D));an(u);)if(a=l(en(u),17),!(!(!fo(a)&&!(!fo(a)&&a.c.i.c==a.d.i.c))||a==t))return dwt(e,a,f,o);return o}function o2n(e){var t,r,o,a;for(t=0,r=0,a=new V(e.j);a.a<a.c.c.length;)if(o=l(q(a),12),t=Dn(Ao(t,Ilt(lr(new Et(null,new St(o.e,16)),new qUe)))),r=Dn(Ao(r,Ilt(lr(new Et(null,new St(o.g,16)),new VUe)))),t>1||r>1)return 2;return t+r==1?2:0}function Bu(e,t){var r,o,a,u,f,p;return u=e.a*AX+e.b*1502,p=e.b*AX+11,r=b.Math.floor(p*_D),u+=r,p-=r*dwe,u%=dwe,e.a=u,e.b=p,t<=24?b.Math.floor(e.a*m2e[t]):(a=e.a*(1<<t-24),f=b.Math.floor(e.b*w2e[t]),o=a+f,o>=2147483648&&(o-=4294967296),o)}function fwt(e,t,r){var o,a,u,f,p,m,y;for(u=new je,y=new Ar,f=new Ar,E_n(e,y,f,t),nkn(e,y,f,t,r),m=new V(e);m.a<m.c.c.length;)for(p=l(q(m),117),a=new V(p.k);a.a<a.c.c.length;)o=l(q(a),135),(!t||o.c==(vd(),U1))&&p.g>o.b.g&&Ot(u.c,o);return u}function s2n(e,t,r){var o,a,u,f,p,m;for(p=e.c,f=(r.q?r.q:(At(),At(),xh)).vc().Jc();f.Ob();)u=l(f.Pb(),45),o=!BA(lr(new Et(null,new St(p,16)),new RA(new $tt(t,u)))).zd((_b(),TT)),o&&(m=u.kd(),ae(m,4)&&(a=$1e(m),a!=null&&(m=a)),t.of(l(u.jd(),149),m))}function a2n(e,t){var r,o,a,u;for(t.Tg("Resize child graph to fit parent.",1),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),26),li(e.a,r.a),r.a.c.length=0;for(u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),9),Oi(a,null);e.b.c.length=0,kSn(e),e.e&&vAn(e.e,e),t.Ug()}function u2n(e,t){var r,o,a,u,f;for(t.Tg("Edge joining",1),r=Ye(Ke(F(e,(Be(),kte)))),a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new Xi(o.a,0);f.b<f.d.gc();)u=(un(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),9)),u.k==(zt(),gi)&&($J(u,r),Mu(f));t.Ug()}function c2n(e,t,r){var o,a;if(M3(e.b),pc(e.b,(M6(),KB),(JN(),ML)),pc(e.b,YB,t.g),pc(e.b,JB,t.a),e.a=FC(e.b,t),r.Tg("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),43),o.If(t,r.dh(1));r.Ug()}function $me(e,t,r){var o,a,u;if(u=IE((mu(),ao),e.Ah(),t),u){if(Lo(),!l(u,69).vk()&&(u=MS(rs(ao,u)),!u))throw Y(new jt(R1+t.ve()+iI));a=(o=e.Fh(u),l(o>=0?e.Ih(o,!0,!0):O0(e,u,!0),164)),l(a,222).Vl(t,r)}else throw Y(new jt(R1+t.ve()+iI))}function l2n(e,t,r){var o,a,u,f,p,m;if(m=qde(e,l(Ht(e.e,t),19)),p=null,m)switch(m.g){case 3:o=hde(e,ty(t)),p=(Mt(r),r+(Mt(o),o));break;case 2:a=hde(e,ty(t)),f=(Mt(r),r+(Mt(a),a)),u=hde(e,l(Ht(e.e,t),19)),p=f-(Mt(u),u);break;default:p=r}else p=r;return p}function d2n(e,t,r){var o,a,u,f,p,m;if(m=qde(e,l(Ht(e.e,t),19)),p=null,m)switch(m.g){case 3:o=pde(e,ty(t)),p=(Mt(r),r+(Mt(o),o));break;case 2:a=pde(e,ty(t)),f=(Mt(r),r+(Mt(a),a)),u=pde(e,l(Ht(e.e,t),19)),p=f-(Mt(u),u);break;default:p=r}else p=r;return p}function O7(e,t){var r,o,a,u,f;if(t){for(u=ae(e.Cb,89)||ae(e.Cb,104),f=!u&&ae(e.Cb,336),o=new tn((!t.a&&(t.a=new A3(t,Go,t)),t.a));o.e!=o.i.gc();)if(r=l(rn(o),88),a=z7(r),u?ae(a,89):f?ae(a,160):a)return a;return u?(_t(),Ml):(_t(),bf)}else return null}function f2n(e,t){var r,o,a,u,f;for(r=new je,a=bs(new Et(null,new St(e,16)),new lHe),u=bs(new Et(null,new St(e,16)),new dHe),f=Kdn(pdn(ey(T2n(Z(X(z3n,1),Rt,840,0,[a,u])),new fHe))),o=1;o<f.length;o++)f[o]-f[o-1]>=2*t&&Fe(r,new LV(f[o-1]+t,f[o]-t));return r}function hwt(e,t,r){var o,a,u,f,p,m,y,v;if(r)for(u=r.a.length,o=new Ib(u),p=(o.b-o.a)*o.c<0?(r1(),eb):new s1(o);p.Ob();)f=l(p.Pb(),15),a=f_(r,f.a),a&&(m=yln(e,(y=(e1(),v=new Fce,v),t&&Bme(y,t),y),a),v_(m,sp(a,qf)),E7(a,m),ume(a,m),jK(e,a,m))}function D7(e){var t,r,o,a,u,f;if(!e.j){if(f=new uqe,t=L4,u=t.a.yc(e,t),u==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),a=D7(r),ti(f,a),Tn(f,r);t.a.Ac(e)!=null}hy(f),e.j=new Qv((l(oe(Ne((a1(),Ut).o),11),20),f.i),f.g),Pu(e).b&=-33}return e.j}function h2n(e){var t,r,o,a;if(e==null)return null;if(o=Ta(e,!0),a=JD.length,wt(o.substr(o.length-a,a),JD)){if(r=o.length,r==4){if(t=(Yt(0,o.length),o.charCodeAt(0)),t==43)return K3e;if(t==45)return LLt}else if(r==3)return K3e}return new Ice(o)}function p2n(e){var t,r,o;return r=e.l,r&r-1||(o=e.m,o&o-1)||(t=e.h,t&t-1)||t==0&&o==0&&r==0?-1:t==0&&o==0&&r!=0?tge(r):t==0&&o!=0&&r==0?tge(o)+22:t!=0&&o==0&&r==0?tge(t)+44:-1}function kE(e,t){var r,o,a,u,f;for(a=t.a&e.f,u=null,o=e.b[a];;o=o.b){if(o==t){u?u.b=t.b:e.b[a]=t.b;break}u=o}for(f=t.f&e.f,u=null,r=e.c[f];;r=r.d){if(r==t){u?u.d=t.d:e.c[f]=t.d;break}u=r}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 g2n(e,t){var r;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?(r=l(wl(l(FS(e.b,t.a),263)),263),r.a=0,++e.c):(r=l(wl(l(Ht(e.b,t.a),263)),263),--r.a,t.e?t.e.c=t.c:r.b=l(wl(t.c),501),t.c?t.c.e=t.e:r.c=l(wl(t.e),501)),--e.d}function lJ(e,t){var r,o,a,u;for(u=new Xi(e,0),r=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),148));u.b<u.d.gc();)o=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),148)),a=new Ofe(o.c,r.d,t),un(u.b>0),u.a.Xb(u.c=--u.b),Vw(u,a),un(u.b<u.d.gc()),u.d.Xb(u.c=u.b++),a.a=!1,r=o}function pwt(e){var t,r,o,a,u,f;for(a=l(F(e,(Ie(),tB)),12),f=new V(e.j);f.a<f.c.c.length;){for(u=l(q(f),12),o=new V(u.g);o.a<o.c.c.length;)return t=l(q(o),17),Ji(t,a),u;for(r=new V(u.e);r.a<r.c.c.length;)return t=l(q(r),17),bo(t,a),u}return null}function gwt(e,t,r){var o,a,u,f,p,m;for(m=l(zw(e.a,t),15).a,r?Ibe(e.a,Re(m+1),t):Ibe(e.a,Re(m-1),t),f=new uh,a=new $t(qt((r?Or(t):si(t)).a.Jc(),new D));an(a);)o=l(en(a),17),r?u=o.d.i:u=o.c.i,be(zw(e.a,u))===be(zw(e.a,t))&&(p=f.a.yc(u,f),p==null);return f}function b2n(e,t,r){var o,a;o=Gs(r.q.getTime()),Ea(o,0)<0?(a=yg-Dn(lY(ug(o),yg)),a==yg&&(a=0)):a=Dn(lY(o,yg)),t==1?(a=b.Math.min((a+50)/100|0,9),Db(e,48+a&Ei)):t==2?(a=b.Math.min((a+5)/10|0,99),bh(e,a,2)):(bh(e,a,3),t>3&&bh(e,0,t-3))}function m2n(e){var t,r,o,a;return be(F(e,(Be(),Wy)))===be((pp(),Ig))?!e.e&&be(F(e,mL))!==be((__(),cL)):(o=l(F(e,gte),303),a=Ye(Ke(F(e,bte)))||be(F(e,BI))===be((lC(),aL)),t=l(F(e,fAe),15).a,r=e.a.c.length,!a&&o!=(__(),cL)&&(t==0||t>r))}function w2n(e,t){var r,o,a,u,f,p,m;for(a=e.Jc();a.Ob();)for(o=l(a.Pb(),9),p=new aa,As(p,o),Ci(p,(He(),Qt)),Te(p,(Ie(),oB),(Lt(),!0)),f=t.Jc();f.Ob();)u=l(f.Pb(),9),m=new aa,As(m,u),Ci(m,Kt),Te(m,oB,!0),r=new p0,Te(r,oB,!0),bo(r,p),Ji(r,m)}function y2n(e){var t,r;for(r=0;r<e.c.length&&!(Not((at(r,e.c.length),l(e.c[r],114)))>0);r++);if(r>0&&r<e.c.length-1)return r;for(t=0;t<e.c.length&&!(Not((at(t,e.c.length),l(e.c[t],114)))>0);t++);return t>0&&r<e.c.length-1?t:e.c.length/2|0}function bwt(e,t){var r,o,a,u,f,p,m;for(a=0,f=new V(t.a);f.a<f.c.c.length;)for(u=l(q(f),9),a+=u.o.b+u.d.a+u.d.d+e.e,o=new $t(qt(si(u).a.Jc(),new D));an(o);)r=l(en(o),17),r.c.i.k==(zt(),_a)&&(m=r.c.i,p=l(F(m,(Ie(),mr)),9),a+=p.o.b+p.d.a+p.d.d);return a}function v2n(e,t){var r,o,a,u;t.Tg("Min Size Preprocessing",1),o=rme(e),Br(e)&&(r=(t1(),new Yp(Br(e))),u=new B8(Br(e)?new Yp(Br(e)):null,e),a=G0e(r,u,!1,!0),o.a=b.Math.max(o.a,a.a),o.b=b.Math.max(o.b,a.b)),Vn(e,(yh(),u4),o.a),Vn(e,qB,o.b),t.Ug()}function mwt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=6&&t){if(z_(e,t))throw Y(new jt(oI+N0t(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?abe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,6,o)),o=Wde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,6,t,t))}function L7(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(z_(e,t))throw Y(new jt(oI+Svt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?dbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,12,o)),o=Vde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function Bme(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=9&&t){if(z_(e,t))throw Y(new jt(oI+byt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?cbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,9,o)),o=Kde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,9,t,t))}function J_(e){var t,r,o,a,u;if(o=Sl(e),u=e.j,u==null&&o)return e.Hk()?null:o.gk();if(ae(o,160)){if(r=o.hk(),r&&(a=r.ti(),a!=e.i)){if(t=l(o,160),t.lk())try{e.g=a.qi(t,u)}catch(f){if(f=ci(f),ae(f,81))e.g=null;else throw Y(f)}e.i=a}return e.g}return null}function wwt(e){var t;return t=new je,Fe(t,new hS(new Me(e.c,e.d),new Me(e.c+e.b,e.d))),Fe(t,new hS(new Me(e.c,e.d),new Me(e.c,e.d+e.a))),Fe(t,new hS(new Me(e.c+e.b,e.d+e.a),new Me(e.c+e.b,e.d))),Fe(t,new hS(new Me(e.c+e.b,e.d+e.a),new Me(e.c,e.d+e.a))),t}function E2n(e){var t,r,o,a;for(o=e.a.d.j,a=e.c.d.j,r=new V(e.i.d);r.a<r.c.c.length;)t=l(q(r),70),Te(t,(Be(),i2),null);o==(He(),Wt)?ig(e,Wt,(Xl(),qx),e.a):a==Wt?ig(e,Wt,(Xl(),Vx),e.c):o==dn?ig(e,dn,(Xl(),Vx),e.a):a==dn&&ig(e,dn,(Xl(),qx),e.c)}function S2n(e){var t,r,o;if(e==null)return tu;try{return ms(e)}catch(a){if(a=ci(a),ae(a,102))return t=a,o=Ab(rc(e))+"@"+(r=(eg(),U1e(e)>>>0),r.toString(16)),z1n(Vhn(),(GA(),"Exception during lenientFormat for "+o),t),"<"+o+" threw "+Ab(t.Pm)+">";throw Y(a)}}function T2n(e){var t,r,o,a,u,f,p,m,y;for(o=!1,t=336,r=0,u=new bit(e.length),p=e,m=0,y=p.length;m<y;++m)f=p[m],o=o|(y1(f),!1),a=(u1(f),f.a),Fe(u.a,kn(a)),t&=a.wd(),r=Opn(r,a.xd());return l(l(kst(new Et(null,KY(new St(B1e(u.a),16),new A,t,r)),new HKe(e)),684),840)}function A2n(e,t,r,o){var a,u,f,p;a=zgt(e,t,r),u=zgt(e,r,t),f=l(Ht(e.c,t),117),p=l(Ht(e.c,r),117),a<u?new Pb((vd(),rv),f,p,u-a):u<a?new Pb((vd(),rv),p,f,a-u):(a!=0||!(!t.i||!r.i)&&o[t.i.c][r.i.c])&&(new Pb((vd(),rv),f,p,0),new Pb(rv,p,f,0))}function _2n(e,t,r){var o,a,u,f,p;for(r.Tg("Breaking Point Removing",1),e.a=l(F(t,(Be(),kp)),225),u=new V(t.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(jb(a.a));p.a<p.c.c.length;)f=l(q(p),9),sft(f)&&(o=l(F(f,(Ie(),ew)),318),!o.d&&pEt(e,o));r.Ug()}function xC(){xC=K,f2=new vO("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),BT=new vO("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),f4=new vO("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),d4=new vO("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),LL=new vO("WHOLE_DRAWING",4)}function x2n(e){var t,r,o,a;for(o=new dy(new Dw(e.b).a);o.b;)r=gE(o),a=l(r.jd(),12),t=l(r.kd(),9),Te(t,(Ie(),mr),a),Te(a,Nu,t),Te(a,hL,(Lt(),!0)),Ci(a,l(F(t,Hs),64)),F(t,Hs),Te(a.i,(Be(),Zr),(qi(),Sk)),l(F(ji(a.i),xa),24).Ec((Fo(),Qx))}function k2n(e){var t,r,o,a,u,f,p;for(u=new Ar,a=new V(e.d.a);a.a<a.c.c.length;)o=l(q(a),126),o.b.a.c.length==0&&Wr(u,o,u.c.b,u.c);if(u.b>1)for(t=o0((r=new Tb,++e.b,r),e.d),p=An(u,0);p.b!=p.d.c;)f=l(Sn(p),126),Ql($l(Ul(Hl(Bl(new gl,1),0),t),f))}function M7(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=11&&t){if(z_(e,t))throw Y(new jt(oI+a0e(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?fbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,10,o)),o=ife(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,11,t,t))}function N2n(e,t,r){var o,a,u,f,p,m;if(u=0,f=0,e.c)for(m=new V(e.d.i.j);m.a<m.c.c.length;)p=l(q(m),12),u+=p.e.c.length;else u=1;if(e.d)for(m=new V(e.c.i.j);m.a<m.c.c.length;)p=l(q(m),12),f+=p.g.c.length;else f=1;return a=go(GO(f-u)),o=(r+t)/2+(r-t)*(.4*a),o}function C2n(e,t){var r,o,a,u,f,p;for(t.Tg("Partition postprocessing",1),o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)for(a=l(q(u),9),p=new V(a.j);p.a<p.c.c.length;)f=l(q(p),12),Ye(Ke(F(f,(Ie(),oB))))&&C3(p);t.Ug()}function I2n(e){yy();var t,r;if(e.Gc((He(),Is)))throw Y(new jt("Port sides must not contain UNDEFINED"));switch(e.gc()){case 1:return sL;case 2:return t=e.Gc(Qt)&&e.Gc(Kt),r=e.Gc(Wt)&&e.Gc(dn),t||r?V$:q$;case 3:return G$;case 4:return z$;default:return null}}function ywt(e,t,r){return Z_(),kK(e,t)&&kK(e,r)?!1:UJ(new Me(e.c,e.d),new Me(e.c+e.b,e.d),t,r)||UJ(new Me(e.c+e.b,e.d),new Me(e.c+e.b,e.d+e.a),t,r)||UJ(new Me(e.c+e.b,e.d+e.a),new Me(e.c,e.d+e.a),t,r)||UJ(new Me(e.c,e.d+e.a),new Me(e.c,e.d),t,r)}function Ume(e,t){var r,o,a,u;if(!e.dc()){for(r=0,o=e.gc();r<o;++r)if(u=In(e.Xb(r)),u==null?t==null:wt(u.substr(0,3),"!##")?t!=null&&(a=t.length,!wt(u.substr(u.length-a,a),t)||u.length!=t.length+3)&&!wt(lm,t):wt(u,TQ)&&!wt(lm,t)||wt(u,t))return!0}return!1}function R2n(e,t,r,o){var a,u,f,p,m,y;for(f=e.j.c.length,m=we(V3n,wwe,319,f,0,1),p=0;p<f;p++)u=l(ze(e.j,p),12),u.p=p,m[p]=$vn($0t(u),r,o);for(rSn(e,m,r,t,o),y=new hn,a=0;a<m.length;a++)m[a]&&Jn(y,l(ze(e.j,a),12),m[a]);y.f.c+y.i.c!=0&&(Te(e,(Ie(),RI),y),cyn(e,m))}function O2n(e,t,r){var o,a,u;for(a=new V(e.a.b);a.a<a.c.c.length;)if(o=l(q(a),60),u=lE(o),u&&u.k==(zt(),mi))switch(l(F(u,(Ie(),Hs)),64).g){case 4:u.n.a=t.a;break;case 2:u.n.a=r.a-(u.o.a+u.d.c);break;case 1:u.n.b=t.b;break;case 3:u.n.b=r.b-(u.o.b+u.d.a)}}function D2n(e,t,r){var o,a,u;for(r.Tg("Processor determine the height for each level",1),e.a=t.b.b==0?1:t.b.b,a=null,o=An(t.b,0);!a&&o.b!=o.d.c;)u=l(Sn(o),41),Ye(Ke(F(u,(Nr(),z1))))&&(a=u);a&&dvt(e,Wl(Z(X(MB,1),LF,41,0,[a])),r,l(F(t,(js(),uw)),87)),r.Ug()}function L2n(e){var t,r,o,a,u,f;for(o=(e1(),u=new $N,u),nD(o,e),r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)t=l(rn(r),19),f=(a=new $N,a),M7(f,o),i0(f,t.g,t.f),v_(f,t.k),Bc(f,t.i,t.j),Tn((!o.a&&(o.a=new ke(En,o,10,11)),o.a),f),nD(f,t);return o}function M2n(e,t,r){var o,a,u,f,p;return a=l(ve(t,(A7(),Yke)),15),!a&&(a=Re(0)),u=l(ve(r,Yke),15),!u&&(u=Re(0)),a.a>u.a?-1:a.a<u.a?1:e.a&&(o=yr(t.j,r.j),o!=0||(o=yr(t.i,r.i),o!=0))?o:(f=t.g*t.f,p=r.g*r.f,yr(f,p))}function P2n(e,t){var r,o,a,u,f,p,m,y,v,T;if(++e.e,m=e.d==null?0:e.d.length,t>m){for(v=e.d,e.d=we(y3e,kEe,67,2*m+4,0,1),u=0;u<m;++u)if(y=v[u],y)for(o=y.g,T=y.i,p=0;p<T;++p)a=l(o[p],138),f=Yde(e,a.yi()),r=e.d[f],!r&&(r=e.d[f]=e.bk()),r.Ec(a);return!0}else return!1}function j2n(e,t,r){var o,a,u,f,p,m;if(a=r,u=a.Jk(),wp(e.e,u)){if(u.Qi()){for(o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],pr(p,a)&&f!=t)throw Y(new jt(GD))}}else for(m=za(e.e.Ah(),u),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk()))throw Y(new jt(YD));aC(e,t,r)}function vwt(e,t){var r,o,a,u,f,p;for(r=l(F(t,(Ie(),_p)),24),f=l(wr((qJ(),_r),r),24),p=l(wr(Wn,r),24),u=f.Jc();u.Ob();)if(o=l(u.Pb(),24),!l(wr(e.b,o),16).dc())return!1;for(a=p.Jc();a.Ob();)if(o=l(a.Pb(),24),!l(wr(e.b,o),16).dc())return!1;return!0}function F2n(e,t,r){e.d=0,e.b=0,t.k==(zt(),_a)&&r.k==_a&&l(F(t,(Ie(),mr)),9)==l(F(r,mr),9)&&(iK(t).j==(He(),Wt)?awt(e,t,r):awt(e,r,t)),t.k==_a&&r.k==gi?iK(t).j==(He(),Wt)?e.d=1:e.b=1:r.k==_a&&t.k==gi&&(iK(r).j==(He(),Wt)?e.b=1:e.d=1),$bn(e,t,r)}function Hme(e,t){var r,o,a,u,f,p,m,y,v;if(e.a.c.length==1)return bmt(l(ze(e.a,0),175),t);for(f=tgn(e),m=0,y=e.d,u=f,v=e.d,p=(y-u)/2+u;u+1<y;){for(m=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),m+=(a=MC(r,p,!1),a.a);m<t?(v=p,y=p):u=p,p=(y-u)/2+u}return v}function nD(e,t){var r,o,a,u,f;if(!t)return e;if(ae(t,344))for(a=l(t,344),u=(!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),e.o),o=a.fh().c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),45),f=r.kd(),V6(u,l(r.jd(),149),f);else!e.o&&(e.o=new pu((Qs(),Dh),Rg,e,0)),sht(e.o,t.lf());return e}function zme(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;return v=null,M=Rme(e,t),m=null,M&&(m=Tmn(e,M)),U=m,r=null,a=ce(Ht(e.i,U)),a!=null?r=a:r=Re(0),N=r,o=null,u=ce(Ht(e.j,U)),u!=null?o=u:o=Re(0),O=o,y=t.i,f=oit(y,N),Jn(e.i,t,f),T=t.j,p=oit(T,O),v=ce(Jn(e.j,t,p)),v}function $2n(e){var t,r,o,a,u;return isNaN(e)?(m_(),JEe):e<-9223372036854776e3?(m_(),Y_t):e>=9223372036854776e3?(m_(),KEe):(a=!1,e<0&&(a=!0,e=-e),o=0,e>=nm&&(o=go(e/nm),e-=o*nm),r=0,e>=fT&&(r=go(e/fT),e-=r*fT),t=go(e),u=Ua(t,r,o),a&&PK(u),u)}function B2n(e){var t,r,o,a,u;if(u=new je,La(e.b,new cYe(u)),e.b.c.length=0,u.c.length!=0){for(t=(at(0,u.c.length),l(u.c[0],81)),r=1,o=u.c.length;r<o;++r)a=(at(r,u.c.length),l(u.c[r],81)),a!=t&&qbt(t,a);if(ae(t,63))throw Y(l(t,63));if(ae(t,298))throw Y(l(t,298))}}function U2n(e,t){var r,o,a,u;for(r=!t||!e.u.Gc((xu(),Rp)),u=0,a=new V(e.e.Vf());a.a<a.c.c.length;){if(o=l(q(a),844),o.$f()==(He(),Is))throw Y(new jt("Label and node size calculator can only be used with ports that have port sides assigned."));o.Of(u++),Vpn(e,o,r)}}function Ewt(e,t,r){var o,a,u;for(Gc(t,(QS(),pk))&&(r=ue(ce(ve(t,pk)))),gu(t,r),u=r+e.a+t.f+b.Math.max(l(ve(t,(_n(),Cp)),125).a,e.b),a=0;a<(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i;a++)o=l(oe(a_(l(oe((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),a),74)),0),19),Ewt(e,o,u)}function Gme(e){var t,r,o,a,u;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),321),t.j=null,u=t.a.a.ec().Jc();u.Ob();)o=l(u.Pb(),60),wd(o.b),(!t.j||o.d.c<t.j.d.c)&&(t.j=o);for(a=t.a.a.ec().Jc();a.Ob();)o=l(a.Pb(),60),o.b.a=o.d.c-t.j.d.c,o.b.b=o.d.d-t.j.d.d}return e}function P7(e){var t,r,o,a,u;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),197),t.f=null,u=t.a.a.ec().Jc();u.Ob();)o=l(u.Pb(),84),wd(o.e),(!t.f||o.g.c<t.f.g.c)&&(t.f=o);for(a=t.a.a.ec().Jc();a.Ob();)o=l(a.Pb(),84),o.e.a=o.g.c-t.f.g.c,o.e.b=o.g.d-t.f.g.d}return e}function H2n(e,t,r){var o,a,u,f,p;for(f=oC(e,r),p=we(Nh,vg,9,t.length,0,1),o=0,u=f.Jc();u.Ob();)a=l(u.Pb(),12),Ye(Ke(F(a,(Ie(),hL))))&&(p[o++]=l(F(a,Nu),9));if(o<t.length)throw Y(new es("Expected "+t.length+" hierarchical ports, but found only "+o+"."));return p}function z2n(e){var t,r,o,a,u,f,p,m,y,v,T;return T=Pbe(e),t=e.a,m=t!=null,m&&e_(T,"category",e.a),a=aO(new Xh(e.d)),f=!a,f&&(y=new Eb,Kl(T,"knownOptions",y),r=new GXe(y),lo(new Xh(e.d),r)),u=aO(e.g),p=!u,p&&(v=new Eb,Kl(T,"supportedFeatures",v),o=new qXe(v),lo(e.g,o)),T}function G2n(e,t){var r;e.d&&(t.c!=e.e.c||uhn(e.e.b,t.b))&&(Fe(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),qen(t.b)?e.c=t:e.b=t,(t.b==(x_(),X0)&&!t.a||t.b==Fy&&t.a||t.b==qE&&t.a||t.b==$y&&!t.a)&&e.c&&e.b&&(r=new ql(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=r,e.e=t)}function wh(){wh=K,Sm=new cr("LEFT_OUTLINE"),ov=new cr("RIGHT_OUTLINE"),Xf=new cr("OUTLINE_MAX_DEPTH"),hk=new cr("MIN_X"),fk=new cr("MAX_X"),n6t=new cr("MIN_Y"),Vne=new cr("MAX_Y"),h4=new cr("root"),cw=new cr("EDGE_BEND_HEIGHT"),PL=new cr("Node Model Order")}function qme(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=7&&t){if(z_(e,t))throw Y(new jt(oI+Smt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?ube(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=l(t,52).Oh(e,1,t5,o)),o=Wfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,7,t,t))}function Swt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(z_(e,t))throw Y(new jt(oI+agt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?lbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=l(t,52).Oh(e,0,r5,o)),o=Kfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,3,t,t))}function dJ(e,t){Q_();var r,o,a,u,f,p,m,y,v;return t.d>e.d&&(p=e,e=t,t=p),t.d<63?ISn(e,t):(f=(e.d&-2)<<4,y=fpe(e,f),v=fpe(t,f),o=RJ(e,jS(y,f)),a=RJ(t,jS(v,f)),m=dJ(y,v),r=dJ(o,a),u=dJ(RJ(y,o),RJ(a,v)),u=FJ(FJ(u,m),r),u=jS(u,f),m=jS(m,f<<1),FJ(FJ(m,u),r))}function rD(){rD=K,Dte=new Yv(CSt,0),QAe=new Yv("LONGEST_PATH",1),e_e=new Yv("LONGEST_PATH_SOURCE",2),Rte=new Yv("COFFMAN_GRAHAM",3),ZAe=new Yv(BX,4),t_e=new Yv("STRETCH_WIDTH",5),AB=new Yv("MIN_WIDTH",6),Ite=new Yv("BF_MODEL_ORDER",7),Ote=new Yv("DF_MODEL_ORDER",8)}function q2n(e,t){var r,o,a,u,f,p;if(!e.tb){for(u=(!e.rb&&(e.rb=new Xw(e,Ld,e)),e.rb),p=new dS(u.i),a=new tn(u);a.e!=a.i.gc();)o=l(rn(a),146),f=o.ve(),r=l(f==null?eu(p.f,null,o):_0(p.i,f,o),146),r&&(f==null?eu(p.f,null,r):_0(p.i,f,r));e.tb=p}return l(wa(e.tb,t),146)}function iD(e,t){var r,o,a,u,f;if((e.i==null&&Ff(e),e.i).length,!e.p){for(f=new dS((3*e.g.i/2|0)+1),a=new ES(e.g);a.e!=a.i.gc();)o=l(yY(a),182),u=o.ve(),r=l(u==null?eu(f.f,null,o):_0(f.i,u,o),182),r&&(u==null?eu(f.f,null,r):_0(f.i,u,r));e.p=f}return l(wa(e.p,t),182)}function Vme(e,t,r,o,a){var u,f,p,m,y;for(P1n(o+RP(r,r.ge()),a),Fst(t,o1n(r)),u=r.f,u&&Vme(e,t,u,"Caused by: ",!1),p=(r.k==null&&(r.k=we($Q,Pe,81,0,0,1)),r.k),m=0,y=p.length;m<y;++m)f=p[m],Vme(e,t,f,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function oD(e,t,r,o){var a,u,f,p,m;for(m=t.e,p=m.length,f=t.q.tg(m,r?0:p-1,r),a=m[r?0:p-1],f=f|cyt(e,a,r,o),u=r?1:p-2;r?u<p:u>=0;u+=r?1:-1)f=f|t.c.jg(m,u,r,o&&!Ye(Ke(F(t.j,(Ie(),j1))))&&!Ye(Ke(F(t.j,(Ie(),e2))))),f=f|t.q.tg(m,u,r),f=f|cyt(e,m[u],r,o);return pi(e.c,t),f}function j7(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(v=hct(e.j),T=0,N=v.length;T<N;++T){if(y=v[T],r==(jo(),Cu)||r==YI)for(m=Df(y.g),a=m,u=0,f=a.length;u<f;++u)o=a[u],uyn(t,o)&&mg(o,!0);if(r==Ba||r==YI)for(p=Df(y.e),a=p,u=0,f=a.length;u<f;++u)o=a[u],ayn(t,o)&&mg(o,!0)}}function Twt(){return Zi(),Z(X(X3n,1),Ce,80,0,[dSe,uSe,VE,wee,ISe,C$,$$,Uy,NSe,ySe,xSe,By,CSe,bSe,RSe,nSe,D$,yee,k$,P$,DSe,M$,rSe,kSe,LSe,j$,tSe,OSe,N$,hSe,ASe,TSe,B$,sSe,x$,R$,oSe,Gx,ESe,mSe,_Se,_I,cSe,aSe,SSe,wSe,O$,F$,iSe,L$,vSe,I$,pSe,fSe,xT,_$,gSe,lSe])}function V2n(e){var t,r;switch(t=null,r=null,k0n(e).g){case 1:t=(He(),Qt),r=Kt;break;case 2:t=(He(),dn),r=Wt;break;case 3:t=(He(),Kt),r=Qt;break;case 4:t=(He(),Wt),r=dn}nce(e,l(Xu(NS(l(wr(e.k,t),16).Mc(),WE)),114)),tce(e,l(Xu(Jw(l(wr(e.k,r),16).Mc(),WE)),114))}function X_(e){var t;if(QZe.call(this),this.i=new sGe,this.g=e,this.f=l(e.e&&e.e(),10).length,this.f==0)throw Y(new jt("There must be at least one phase in the phase enumeration."));this.c=(t=l(md(this.g),10),new Hc(t,l(Gl(t,t.length),10),0)),this.a=new ui,this.b=new hn}function W2n(e){var t,r,o,a,u,f;if(a=l(ze(e.j,0),12),a.e.c.length+a.g.c.length==0)e.n.a=0;else{for(f=0,o=hh(Wc(Z(X(nl,1),Rt,22,0,[new DA(a),new tS(a)])));an(o);)r=l(en(o),12),f+=r.i.n.a+r.n.a+r.a.a;t=l(F(e,(Be(),sw)),8),u=t?t.a:0,e.n.a=f/(a.e.c.length+a.g.c.length)-u}}function Awt(e,t){var r,o,a;for(o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),227),WV(l(r.b,68),Di(To(l(t.b,68).c),l(t.b,68).a)),a=Gyt(l(t.b,68).b,l(r.b,68).b),a>1&&(e.a=!0),isn(l(r.b,68),br(To(l(t.b,68).c),tp(Di(To(l(r.b,68).a),l(t.b,68).a),a))),Tut(e,t),Awt(e,r)}function _wt(e){var t,r,o,a,u,f,p;for(u=new V(e.a.a);u.a<u.c.c.length;)o=l(q(u),197),o.e=0,o.d.a.$b();for(a=new V(e.a.a);a.a<a.c.c.length;)for(o=l(q(a),197),r=o.a.a.ec().Jc();r.Ob();)for(t=l(r.Pb(),84),p=t.f.Jc();p.Ob();)f=l(p.Pb(),84),f.d!=o&&(pi(o.d,f),++f.d.e)}function K2n(e,t){var r,o,a,u,f,p,m;for(t.Tg("Constraints Postprocessor",1),f=0,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),m=0,p=!1,o=new V(a.a);o.a<o.c.c.length;)r=l(q(o),9),r.k==(zt(),Xr)&&(p=!0,Te(r,(Be(),UI),Re(f)),Te(r,dB,Re(m)),++m);p&&++f}t.Ug()}function Y2n(e){var t,r,o,a,u,f,p,m;for(m=e.j.c.length,r=0,t=m,a=2*m,p=new V(e.j);p.a<p.c.c.length;)switch(f=l(q(p),12),f.j.g){case 2:case 4:f.p=-1;break;case 1:case 3:o=f.e.c.length,u=f.g.c.length,o>0&&u>0?f.p=t++:o>0?f.p=r++:u>0?f.p=a++:f.p=r++}At(),xi(e.j,new h$e)}function J2n(e){var t,r;r=null,t=l(ze(e.g,0),17);do{if(r=t.d.i,gr(r,(Ie(),Nl)))return l(F(r,Nl),12).i;if(r.k!=(zt(),Xr)&&an(new $t(qt(Or(r).a.Jc(),new D))))t=l(en(new $t(qt(Or(r).a.Jc(),new D))),17);else if(r.k!=Xr)return null}while(r&&r.k!=(zt(),Xr));return r}function X2n(e,t){var r,o,a,u,f,p,m,y,v;for(p=t.j,f=t.g,m=l(ze(p,p.c.length-1),114),v=(at(0,p.c.length),l(p.c[0],114)),y=LY(e,f,m,v),u=1;u<p.c.length;u++)r=(at(u-1,p.c.length),l(p.c[u-1],114)),a=(at(u,p.c.length),l(p.c[u],114)),o=LY(e,f,r,a),o>y&&(m=r,v=a,y=o);t.a=v,t.c=m}function D0(e,t,r,o){var a,u;if(a=be(F(r,(Be(),FI)))===be((g1(),Gy)),u=l(F(r,dAe),16),gr(e,(Ie(),Cr)))if(a){if(u.Gc(F(e,$I))&&u.Gc(F(t,$I)))return o*l(F(e,$I),15).a+l(F(e,Cr),15).a}else return l(F(e,Cr),15).a;else return-1;return l(F(e,Cr),15).a}function Z2n(e,t,r){var o,a,u,f,p,m,y;for(y=new Qp(new CJe(e)),f=Z(X(tNt,1),Q2t,12,0,[t,r]),p=0,m=f.length;p<m;++p)for(u=f[p],y.a.yc(u,(Lt(),D1))==null,a=new Vd(u.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),o.c==o.d||qO(y,u==o.c?o.d:o.c);return kn(y),new Tu(y)}function Ql(e){if(!e.a.d||!e.a.e)throw Y(new es((np(Txt),Txt.k+" must have a source and target "+(np(S2e),S2e.k)+" specified.")));if(e.a.d==e.a.e)throw Y(new es("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return F8(e.a.d.g,e.a),F8(e.a.e.b,e.a),e.a}function Q2n(e,t,r){var o,a,u,f,p;for(r.Tg("Longest path layering",1),e.a=t,p=e.a.a,e.b=we(Rn,Qn,30,p.c.length,15,1),o=0,f=new V(p);f.a<f.c.c.length;)a=l(q(f),9),a.p=o,e.b[o]=-1,++o;for(u=new V(p);u.a<u.c.c.length;)a=l(q(u),9),iwt(e,a);p.c.length=0,e.a=null,e.b=null,r.Ug()}function xwt(e,t,r){var o,a,u,f,p,m;if(o=0,t.b!=0&&r.b!=0){u=An(t,0),f=An(r,0),p=ue(ce(Sn(u))),m=ue(ce(Sn(f))),a=!0;do{if(p>m-e.b&&p<m+e.b)return-1;p>m-e.a&&p<m+e.a&&++o,p<=m&&u.b!=u.d.c?p=ue(ce(Sn(u))):m<=p&&f.b!=f.d.c?m=ue(ce(Sn(f))):a=!1}while(a)}return o}function kwt(e,t){var r,o;return M3(e.a),pc(e.a,(_j(),BB),BB),pc(e.a,d2,d2),o=new ui,$n(o,d2,(v7(),pne)),be(ve(t,(T1(),wne)))!==be((R6(),UB))&&$n(o,d2,dne),Ye(Ke(ve(t,Txe)))&&$n(o,d2,gne),$n(o,d2,fne),Ye(Ke(ve(t,_xe)))&&Ra(o,d2,hne),sde(e.a,o),r=FC(e.a,t),r}function eSn(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(m=0,v=new V(e.a);v.a<v.c.c.length;){for(y=l(q(v),9),p=0,u=new $t(qt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),T=qd(a.c).b,N=qd(a.d).b,p=b.Math.max(p,b.Math.abs(N-T));m=b.Math.max(m,p)}return f=o*b.Math.min(1,t/r)*m,f}function tSn(e){var t,r;for(r=new $t(qt(Or(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),t.d.i.k!=(zt(),ta))throw Y(new _f($X+z6(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 nSn(e,t){var r,o,a,u,f;for(f=l(F(t,(js(),rxe)),430),u=An(t.b,0);u.b!=u.d.c;)if(a=l(Sn(u),41),e.b[a.g]==0){switch(f.g){case 0:R1t(e,a);break;case 1:pEn(e,a)}e.b[a.g]=2}for(o=An(e.a,0);o.b!=o.d.c;)r=l(Sn(o),65),gy(r.b.d,r,!0),gy(r.c.b,r,!0);Te(t,(Nr(),V_e),e.a)}function Wme(e){var t;return t=new GN,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&Tl&&(t.a+=","),Yce(t.a)}function rSn(e,t,r,o,a){var u,f,p,m;for(m=(u=l(md(Io),10),new Hc(u,l(Gl(u,u.length),10),0)),p=new V(e.j);p.a<p.c.c.length;)f=l(q(p),12),t[f.p]&&(xNn(f,t[f.p],o),Jl(m,f.j));a?(zY(e,t,(He(),Qt),2*r,o),zY(e,t,Kt,2*r,o)):(zY(e,t,(He(),Wt),2*r,o),zY(e,t,dn,2*r,o))}function iSn(e,t){var r,o,a,u,f,p,m;for(a=new je,r=0;r<=e.j;r++)o=new ra(t),o.p=e.j-r,Ot(a.c,o);for(p=new V(e.p);p.a<p.c.c.length;)f=l(q(p),9),Oi(f,l(ze(a,e.j-e.g[f.p]),26));for(u=new V(a);u.a<u.c.c.length;)m=l(q(u),26),m.a.c.length==0&&C3(u);t.b.c.length=0,li(t.b,a)}function oSn(e,t,r){var o,a,u,f,p,m;for(o=l(wr(e.c,t),16),a=l(wr(e.c,r),16),u=o.dd(o.gc()),f=a.dd(a.gc());u.Sb()&&f.Sb();)if(p=l(u.Ub(),15),m=l(f.Ub(),15),p!=m)return na(p.a,m.a);return!u.Ob()&&!f.Ob()?t.p<r.p?-1:t.p>r.p?1:0:u.Ob()?1:-1}function sSn(e,t){var r,o,a,u,f,p;t.Tg(tTt,1),a=l(ve(e,(ef(),c4)),100),u=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),f=Emn(u),p=b.Math.max(f.a,ue(ce(ve(e,(yh(),u4))))-(a.b+a.c)),o=b.Math.max(f.b,ue(ce(ve(e,qB)))-(a.d+a.a)),r=o-f.b,Vn(e,a4,r),Vn(e,$T,p),Vn(e,dk,o+r),t.Ug()}function kC(e){var t,r;if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i==0)return Cge(e);for(t=l(oe((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),vn((!t.a&&(t.a=new yi(Ic,t,5)),t.a)),E0(t,0),S0(t,0),y0(t,0),v0(t,0),r=(!e.a&&(e.a=new ke(jr,e,6,6)),e.a);r.i>1;)_y(r,r.i-1);return t}function za(e,t){Lo();var r,o,a,u;return t?t==(Tr(),OLt)||(t==vLt||t==km||t==yLt)&&e!=V3e?new q0e(e,t):(o=l(t,689),r=o.Yk(),r||(u_(rs((mu(),ao),t)),r=o.Yk()),u=(!r.i&&(r.i=new hn),r.i),a=l(Ss(ts(u.f,e)),2020),!a&&Jn(u,e,a=new q0e(e,t)),a):bLt}function aSn(e,t){var r,o;if(o=qO(e.b,t.b),!o)throw Y(new es("Invalid hitboxes for scanline constraint calculation."));(Kht(t.b,l(aen(e.b,t.b),60))||Kht(t.b,l(sen(e.b,t.b),60)))&&eg(),e.a[t.b.f]=l(Eq(e.b,t.b),60),r=l(vq(e.b,t.b),60),r&&(e.a[r.f]=t.b)}function uSn(e,t){var r,o,a,u,f,p,m,y,v;for(m=l(F(e,(Ie(),mr)),12),y=xs(Z(X($i,1),Pe,8,0,[m.i.n,m.n,m.a])).a,v=e.i.n.b,r=Df(e.e),a=r,u=0,f=a.length;u<f;++u)o=a[u],Ji(o,m),Eo(o.a,new Me(y,v)),t&&(p=l(F(o,(Be(),ss)),79),p||(p=new Lu,Te(o,ss,p)),Gn(p,new Me(y,v)))}function cSn(e,t){var r,o,a,u,f,p,m,y,v;for(a=l(F(e,(Ie(),mr)),12),y=xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).a,v=e.i.n.b,r=Df(e.g),f=r,p=0,m=f.length;p<m;++p)u=f[p],bo(u,a),Zv(u.a,new Me(y,v)),t&&(o=l(F(u,(Be(),ss)),79),o||(o=new Lu,Te(u,ss,o)),Gn(o,new Me(y,v)))}function lSn(e){var t,r,o,a,u,f,p,m,y;if(o=e.b,u=o.e,f=AS(l(F(o,(Be(),Zr)),103)),r=!!u&&l(F(u,(Ie(),xa)),24).Gc((Fo(),rl)),!(f||r))for(y=(p=new Zh(e.e).a.vc().Jc(),new Lw(p));y.a.Ob();)m=(t=l(y.a.Pb(),45),l(t.kd(),114)),m.a&&(a=m.d,As(a,null),m.c=!0,e.a=!0)}function dSn(e,t){var r,o,a,u;for(t.Tg("Semi-Interactive Crossing Minimization Processor",1),r=!1,a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),26),u=L6(dj(lr(lr(new Et(null,new St(o.a,16)),new Y$e),new J$e),new X$e),new Z$e),r=r|u.a!=null;r&&Te(e,(Ie(),yTe),(Lt(),!0)),t.Ug()}function fSn(e,t){var r,o,a,u,f,p;for(e.b=new je,e.d=l(F(t,(Ie(),DT)),237),e.e=ycn(e.d),u=new Ar,a=Wl(Z(X(Zkt,1),X2t,37,0,[t])),f=0;f<a.c.length;)o=(at(f,a.c.length),l(a.c[f],37)),o.p=f++,r=new Xvt(o,e.a,e.b),li(a,r.b),Fe(e.b,r),r.s&&(p=An(u,0),yP(p,r));return e.c=new hi,u}function hSn(e,t){var r,o,a,u,f,p;for(f=l(l(wr(e.r,t),24),85).Jc();f.Ob();)u=l(f.Pb(),116),r=u.c?Pfe(u.c):0,r>0?u.a?(p=u.b.Kf().a,r>p&&(a=(r-p)/2,u.d.b=a,u.d.c=a)):u.d.c=e.s+r:k3(e.u)&&(o=jbe(u.b),o.c<0&&(u.d.b=-o.c),o.c+o.b>u.b.Kf().a&&(u.d.c=o.c+o.b-u.b.Kf().a))}function pSn(e,t){var r,o,a,u,f;f=new je,r=t;do u=l(Ht(e.b,r),134),u.B=r.c,u.D=r.d,Ot(f.c,u),r=l(Ht(e.k,r),17);while(r);return o=(at(0,f.c.length),l(f.c[0],134)),o.j=!0,o.A=l(o.d.a.ec().Jc().Pb(),17).c.i,a=l(ze(f,f.c.length-1),134),a.q=!0,a.C=l(a.d.a.ec().Jc().Pb(),17).d.i,f}function gSn(e){var t,r;r=l(F(e,(Be(),Cs)),166),t=l(F(e,(Ie(),hm)),316),r==(ic(),xp)?(Te(e,Cs,gL),Te(e,hm,(lp(),ZE))):r==gm?(Te(e,Cs,gL),Te(e,hm,(lp(),kT))):t==(lp(),ZE)?(Te(e,Cs,xp),Te(e,hm,dL)):t==kT&&(Te(e,Cs,gm),Te(e,hm,dL))}function F7(){F7=K,xL=new rHe,j4t=$n(new ui,(Vi(),la),(Zi(),k$)),B4t=Ra($n(new ui,la,M$),Ho,L$),U4t=Pf(Pf(ZN(Ra($n(new ui,id,$$),Ho,F$),da),j$),B$),F4t=Ra($n($n($n(new ui,kh,C$),da,R$),da,Gx),Ho,I$),$4t=Ra($n($n(new ui,da,Gx),da,x$),Ho,_$)}function NC(){NC=K,G4t=$n(Ra(new ui,(Vi(),Ho),(Zi(),pSe)),la,k$),K4t=Pf(Pf(ZN(Ra($n(new ui,id,$$),Ho,F$),da),j$),B$),q4t=Ra($n($n($n(new ui,kh,C$),da,R$),da,Gx),Ho,I$),W4t=$n($n(new ui,la,M$),Ho,L$),V4t=Ra($n($n(new ui,da,Gx),da,x$),Ho,_$)}function bSn(e,t,r,o,a){var u,f;(!fo(t)&&t.c.i.c==t.d.i.c||!iht(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])),r))&&!fo(t)&&(t.c==a?WA(t.a,0,new So(r)):Gn(t.a,new So(r)),o&&!bl(e.a,r)&&(f=l(F(t,(Be(),ss)),79),f||(f=new Lu,Te(t,ss,f)),u=new So(r),Wr(f,u,f.c.b,f.c),pi(e.a,u)))}function Nwt(e,t){var r,o,a,u;for(u=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),r=u&e.b.length-1,a=null,o=e.b[r];o;a=o,o=o.a)if(o.d==u&&rp(o.i,t))return a?a.a=o.a:e.b[r]=o.a,xQe(l(wl(o.c),600),l(wl(o.f),600)),tO(l(wl(o.b),229),l(wl(o.e),229)),--e.f,++e.e,!0;return!1}function mSn(e){var t,r;for(r=new $t(qt(si(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),t.c.i.k!=(zt(),ta))throw Y(new _f($X+z6(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 Cwt(e,t){var r,o,a,u,f,p,m,y,v,T,N;a=t?new lUe:new pUe,u=!1;do for(u=!1,y=t?oc(e.b):e.b,m=y.Jc();m.Ob();)for(p=l(m.Pb(),26),N=jb(p.a),t||oc(N),T=new V(N);T.a<T.c.c.length;)v=l(q(T),9),a.Mb(v)&&(o=v,r=l(F(v,(Ie(),ew)),318),f=t?r.b:r.k,u=tyt(o,f,t,!1));while(u)}function wSn(e,t,r){var o,a,u,f,p,m,y;if(a=lgt(e.Db&254),a==0)e.Eb=r;else{if(a==1)p=we(Ii,Rt,1,2,5,1),u=DY(e,t),u==0?(p[0]=r,p[1]=e.Eb):(p[0]=e.Eb,p[1]=r);else for(p=we(Ii,Rt,1,a+1,5,1),f=HS(e.Eb),o=2,m=0,y=0;o<=128;o<<=1)o==t?p[y++]=r:e.Db&o&&(p[y++]=f[m++]);e.Eb=p}e.Db|=t}function Iwt(e,t,r,o,a,u){var f,p,m,y,v,T,N,O,M,U,z,J;for(v=o,t.j&&t.o?(O=l(Ht(e.f,t.A),60),U=O.d.c+O.d.b,--v):U=t.a.c+t.a.b,T=a,r.q&&r.o?(O=l(Ht(e.f,r.C),60),y=O.d.c,++T):y=r.a.c,z=y-U,m=b.Math.max(2,T-v),p=z/m,M=U+p,N=v;N<T;++N)f=l(u.Xb(N),134),J=f.a.b,f.a.c=M-J/2,M+=p}function Kme(e,t,r,o,a,u){var f,p,m,y,v,T;for(y=r.c.length,u&&(e.c=we(Rn,Qn,30,t.length,15,1)),f=a?0:t.length-1;a?f<t.length:f>=0;f+=a?1:-1){for(p=t[f],m=o==(He(),Qt)?a?ks(p,o):oc(ks(p,o)):a?oc(ks(p,o)):ks(p,o),u&&(e.c[p.p]=m.gc()),T=m.Jc();T.Ob();)v=l(T.Pb(),12),e.d[v.p]=y++;li(r,m)}}function Rwt(e,t,r){var o,a,u,f,p,m,y,v;for(u=ue(ce(e.b.Jc().Pb())),y=ue(ce(zhn(t.b))),o=tp(To(e.a),y-r),a=tp(To(t.a),r-u),v=br(o,a),tp(v,1/(y-u)),this.a=v,this.b=new je,p=!0,f=e.b.Jc(),f.Pb();f.Ob();)m=ue(ce(f.Pb())),p&&m-r>RZ&&(this.b.Ec(r),p=!1),this.b.Ec(m);p&&this.b.Ec(r)}function ySn(e){var t,r,o,a;if(PTn(e,e.n),e.d.c.length>0){for(HN(e.c);xme(e,l(q(new V(e.e.a)),126))<e.e.a.c.length;){for(t=vmn(e),a=t.e.e-t.d.e-t.a,t.e.j&&(a=-a),o=new V(e.e.a);o.a<o.c.c.length;)r=l(q(o),126),r.j&&(r.e+=a);HN(e.c)}HN(e.c),fme(e,l(q(new V(e.e.a)),126)),$vt(e)}}function vSn(e,t,r){var o,a,u,f,p;for(r.Tg("Longest path to source layering",1),e.a=t,p=e.a.a,e.b=we(Rn,Qn,30,p.c.length,15,1),o=0,f=new V(p);f.a<f.c.c.length;)a=l(q(f),9),a.p=o,e.b[o]=-1,++o;for(u=new V(p);u.a<u.c.c.length;)a=l(q(u),9),owt(e,a);p.c.length=0,e.a=null,e.b=null,r.Ug()}function ESn(e,t){qS();var r,o;if(r=GW(W3(),t.Og()),r){if(o=r.j,ae(e,209))return xun(l(e,19))?fu(o,(Jd(),ri))||fu(o,xt):fu(o,(Jd(),ri));if(ae(e,273))return fu(o,(Jd(),Rd));if(ae(e,196))return fu(o,(Jd(),Cg));if(ae(e,363))return fu(o,(Jd(),Np))}return!0}function SSn(e,t,r){var o,a,u,f,p,m;if(a=r,u=a.Jk(),wp(e.e,u)){if(u.Qi()){for(o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],pr(p,a)&&f!=t)throw Y(new jt(GD))}}else for(m=za(e.e.Ah(),u),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk())&&f!=t)throw Y(new jt(YD));return l(EE(e,t,r),76)}function Owt(e,t){if(t instanceof Object)try{if(t.__java$exception=e,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var r=e;Object.defineProperties(t,{cause:{get:function(){var o=r.fe();return o&&o.de()}},suppressed:{get:function(){return r.ee()}}})}catch{}}function Dwt(e,t){var r,o,a,u,f;if(o=t>>5,t&=31,o>=e.d)return e.e<0?(jf(),ext):(jf(),wI);if(u=e.d-o,a=we(Rn,Qn,30,u+1,15,1),yyn(a,u,e.a,o,t),e.e<0){for(r=0;r<o&&e.a[r]==0;r++);if(r<o||t>0&&e.a[r]<<32-t){for(r=0;r<u&&a[r]==-1;r++)a[r]=0;r==u&&++u,++a[r]}}return f=new Ob(e.e,u,a),F3(f),f}function TSn(e,t,r,o){var a,u,f,p,m;return p=Yo(l(oe((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83)),m=Yo(l(oe((!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),0),83)),Br(p)==Br(m)||uy(m,p)?null:(f=ty(t),f==r?o:(u=l(Ht(e.a,f),9),u&&(a=u.e,a)?a:null))}function ASn(e,t){var r;switch(r=l(F(e,(Be(),hB)),286),t.Tg("Label side selection ("+r+")",1),r.g){case 0:U0t(e,(vc(),Ih));break;case 1:U0t(e,(vc(),q1));break;case 2:hvt(e,(vc(),Ih));break;case 3:hvt(e,(vc(),q1));break;case 4:Uwt(e,(vc(),Ih));break;case 5:Uwt(e,(vc(),q1))}t.Ug()}function wp(e,t){Lo();var r,o,a;return t.Hk()?!0:t.Gk()==-2?t==(rT(),XT)||t==JT||t==Ure||t==Hre?!0:(a=e.Ah(),Ur(a,t)>=0?!1:(r=IE((mu(),ao),a,t),r?(o=r.Gk(),(o>1||o==-1)&&f0(rs(ao,r))!=3):!0)):!1}function _Sn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O;if(m=e.c.d,y=e.d.d,m.j!=y.j)for(O=e.b,v=null,p=null,f=O1n(e),f&&O.i&&(v=e.b.i.i,p=O.i.j),a=m.j,T=null;a!=y.j;)T=t==0?zj(a):f1e(a),u=G1e(a,O.d[a.g],r),N=G1e(T,O.d[T.g],r),f&&v&&p&&(a==v?wgt(u,v,p):T==v&&wgt(N,v,p)),Gn(o,br(u,N)),a=T}function Yme(e,t,r){var o,a,u,f,p,m;if(o=WQt(r,e.length),f=e[o],u=RQe(r,f.length),f[u].k==(zt(),mi))for(m=t.j,a=0;a<m.c.length;a++)p=(at(a,m.c.length),l(m.c[a],12)),(r?p.j==(He(),Qt):p.j==(He(),Kt))&&Ye(Ke(F(p,(Ie(),hL))))&&(nc(m,a,l(F(f[u],(Ie(),mr)),12)),u+=r?1:-1)}function xSn(e,t){var r,o,a,u,f,p,m,y;t.Tg("Greedy Width Approximator",1),r=ue(ce(ve(e,(ef(),WB)))),m=l(ve(e,c4),100),u=l(ve(e,Xxe),388),f=Ye(Ke(ve(e,Jxe))),p=ue(ce(ve(e,l4))),y=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),gge(y),a=new oot(r,u,f),o=LTn(a,y,p,m),Vn(e,(yh(),iv),o.c),t.Ug()}function Lwt(e){if(e.g==null)switch(e.p){case 0:e.g=kun(e)?(Lt(),Bx):(Lt(),D1);break;case 1:e.g=p6(Sln(e));break;case 2:e.g=A6(gcn(e));break;case 3:e.g=Zsn(e);break;case 4:e.g=new QR(Qsn(e));break;case 6:e.g=my(nan(e));break;case 5:e.g=Re(fun(e));break;case 7:e.g=D_(_ln(e))}return e.g}function Jme(e){if(e.n==null)switch(e.p){case 0:e.n=Nun(e)?(Lt(),Bx):(Lt(),D1);break;case 1:e.n=p6(Tln(e));break;case 2:e.n=A6(bcn(e));break;case 3:e.n=tan(e);break;case 4:e.n=new QR(ean(e));break;case 6:e.n=my(ran(e));break;case 5:e.n=Re(hun(e));break;case 7:e.n=D_(Aln(e))}return e.n}function Mwt(e,t,r,o){var a,u,f,p,m;if(p=(Lo(),l(t,69).vk()),wp(e.e,t)){if(t.Qi()&&G7(e,t,o,ae(t,104)&&(l(t,20).Bb&No)!=0))throw Y(new jt(GD))}else for(m=za(e.e.Ah(),t),a=l(e.g,123),f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk()))throw Y(new jt(YD));aC(e,Zbe(e,t,r),p?l(o,76):gh(t,o))}function Pwt(e){var t,r,o,a,u,f,p;for(u=new V(e.a.a);u.a<u.c.c.length;)o=l(q(u),321),o.g=0,o.i=0,o.e.a.$b();for(a=new V(e.a.a);a.a<a.c.c.length;)for(o=l(q(a),321),r=o.a.a.ec().Jc();r.Ob();)for(t=l(r.Pb(),60),p=t.c.Jc();p.Ob();)f=l(p.Pb(),60),f.a!=o&&(pi(o.e,f),++f.a.g,++f.a.i)}function kSn(e){var t,r,o,a,u;a=l(F(e,(Be(),mm)),24),u=l(F(e,vB),24),r=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new So(r),a.Gc((sc(),hv))&&(o=l(F(e,nk),8),u.Gc((Uu(),Tk))&&(o.a<=0&&(o.a=20),o.b<=0&&(o.b=20)),t.a=b.Math.max(r.a,o.a),t.b=b.Math.max(r.b,o.b)),N_n(e,r,t)}function NSn(e,t){var r,o,a;t.a?(qO(e.b,t.b),e.a[t.b.i]=l(Eq(e.b,t.b),84),r=l(vq(e.b,t.b),84),r&&(e.a[r.i]=t.b)):(o=l(Eq(e.b,t.b),84),o&&o==e.a[t.b.i]&&o.d&&o.d!=t.b.d&&o.f.Ec(t.b),a=l(vq(e.b,t.b),84),a&&e.a[a.i]==t.b&&a.d&&a.d!=t.b.d&&t.b.f.Ec(a),gV(e.b,t.b))}function fJ(e,t){var r,o,a,u,f,p;return u=e.d,p=ue(ce(F(e,(Be(),_g)))),p<0&&(p=0,Te(e,_g,p)),t.o.b=p,f=b.Math.floor(p/2),o=new aa,Ci(o,(He(),Kt)),As(o,t),o.n.b=f,a=new aa,Ci(a,Qt),As(a,t),a.n.b=f,Ji(e,o),r=new p0,qs(r,e),Te(r,ss,null),bo(r,a),Ji(r,u),$An(t,e,r),Vyn(e,r),r}function CSn(e){var t,r;return r=l(F(e,(Ie(),xa)),24),t=new ui,r.Gc((Fo(),CI))&&(yc(t,D4t),yc(t,N_e)),(r.Gc(Qx)||Ye(Ke(F(e,(Be(),yte)))))&&(yc(t,N_e),r.Gc(XE)&&yc(t,M4t)),r.Gc(rl)&&yc(t,O4t),r.Gc(II)&&yc(t,P4t),r.Gc(Q$)&&yc(t,L4t),r.Gc(Xx)&&yc(t,I4t),r.Gc(Zx)&&yc(t,R4t),t}function ISn(e,t){var r,o,a,u,f,p,m,y,v,T,N;return o=e.d,u=t.d,p=o+u,m=e.e!=t.e?-1:1,p==2?(v=wo(Gi(e.a[0],$o),Gi(t.a[0],$o)),N=Dn(v),T=Dn(Rb(v,32)),T==0?new ap(m,N):new Ob(m,2,Z(X(Rn,1),Qn,30,15,[N,T]))):(r=e.a,a=t.a,f=we(Rn,Qn,30,p,15,1),Zpn(r,o,a,u,f),y=new Ob(m,p,f),F3(y),y)}function jwt(e,t,r,o){var a,u;if(t){if(a=e.a.Le(r.d,t.d),a==0)return o.d=Qde(t,r.e),o.b=!0,t;u=a<0?0:1,t.a[u]=jwt(e,t.a[u],r,o),Pw(t.a[u])&&(Pw(t.a[1-u])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):Pw(t.a[u].a[u])?t=Aj(t,1-u):Pw(t.a[u].a[1-u])&&(t=ect(t,1-u)))}else return r;return t}function Fwt(e,t,r){var o,a,u,f;a=e.i,o=e.n,bpe(e,(Sd(),Bs),a.c+o.b,r),bpe(e,Us,a.c+a.b-o.c-r[2],r),f=a.b-o.b-o.c,r[0]>0&&(r[0]+=e.d,f-=r[0]),r[2]>0&&(r[2]+=e.d,f-=r[2]),u=b.Math.max(0,f),r[1]=b.Math.max(r[1],f),bpe(e,$a,a.c+o.b+r[0]-(r[1]-f)/2,r),t==$a&&(e.c.b=u,e.c.c=a.c+o.b+(u-f)/2)}function $wt(){this.c=we(Ki,Jo,30,(He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,15,1),this.b=we(Ki,Jo,30,Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt]).length,15,1),this.a=we(Ki,Jo,30,Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt]).length,15,1),_le(this.c,Kr),_le(this.b,Li),_le(this.a,Li)}function RSn(e,t,r,o){var a,u,f,p,m;for(m=t.i,p=r[m.g][e.d[m.g]],a=!1,f=new V(t.d);f.a<f.c.c.length;)if(u=l(q(f),70),Ye(Ke(F(u,(Be(),i2))))){a=!0;break}switch(a&&(o=0),m.g){case 1:p-=o+t.j.b,t.g.b=p;break;case 3:p+=o,t.g.b=p;break;case 4:p-=o+t.j.a,t.g.a=p;break;case 2:p+=o,t.g.a=p}}function Sa(e,t,r){var o,a,u,f;if(t<=r?(a=t,u=r):(a=r,u=t),o=0,e.b==null)e.b=we(Rn,Qn,30,2,15,1),e.b[0]=a,e.b[1]=u,e.c=!0;else{if(o=e.b.length,e.b[o-1]+1==a){e.b[o-1]=u;return}f=we(Rn,Qn,30,o+2,15,1),ua(e.b,0,f,0,o),e.b=f,e.b[o-1]>=a&&(e.c=!1,e.a=!1),e.b[o++]=a,e.b[o]=u,e.c||xE(e)}}function OSn(e,t,r){var o,a,u,f,p,m,y;for(y=t.d,e.a=new Da(y.c.length),e.c=new hn,p=new V(y);p.a<p.c.c.length;)f=l(q(p),108),u=new _6(null),Fe(e.a,u),Jn(e.c,f,u);for(e.b=new hn,Kyn(e,t),o=0;o<y.c.length-1;o++)for(m=l(ze(t.d,o),108),a=o+1;a<y.c.length;a++)A2n(e,m,l(ze(t.d,a),108),r)}function DSn(e,t){var r,o,a,u,f,p,m;for(r=Li,p=(zt(),Xr),a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),u=o.k,u!=Xr&&(f=ce(F(o,(Ie(),ETe))),f==null?(r=b.Math.max(r,0),o.n.b=r+Ode(e.a,u,p)):o.n.b=(Mt(f),f)),m=Ode(e.a,u,p),o.n.b<r+m+o.d.d&&(o.n.b=r+m+o.d.d),r=o.n.b+o.o.b+o.d.a,p=u}function Ay(e){var t,r,o,a,u;for(a=new je,t=new Kw((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),o=new $t(qt(mp(e).a.Jc(),new D));an(o);)r=l(en(o),74),ae(oe((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),196)||(u=Yo(l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),t.a._b(u)||Ot(a.c,u));return a}function LSn(e,t,r){var o,a,u;if(e.e=r,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=UTn(e.i)),e.j=e.i.length,dr(e),u=N0(e),e.d!=e.j)throw Y(new Ln(jn((Cn(),uAt))));if(e.g){for(o=0;o<e.g.a.c.length;o++)if(a=l(d0(e.g,o),587),e.f<=a.a)throw Y(new Ln(jn((Cn(),cAt))));e.g.a.c.length=0}return u}function MSn(e,t){var r,o,a,u,f,p,m;for(t.Tg("Comment post-processing",1),u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),o=new je,p=new V(a.a);p.a<p.c.c.length;)f=l(q(p),9),m=l(F(f,(Ie(),MT)),16),r=l(F(f,NT),16),(m||r)&&(Qkn(f,m,r),m&&li(o,m),r&&li(o,r));li(a.a,o)}t.Ug()}function Bwt(e,t,r,o,a){var u,f,p,m,y,v;if(e.d&&e.d.Fg(a),u=l(a.Xb(0),19),I1t(e,r,u,!1)||(f=l(a.Xb(a.gc()-1),19),I1t(e,o,f,!0))||zbe(e,a))return!0;for(v=a.Jc();v.Ob();)for(y=l(v.Pb(),19),m=t.Jc();m.Ob();)if(p=l(m.Pb(),19),$7(e,y,p))return!0;return!1}function PSn(e,t,r){var o,a,u,f,p,m,y,v,T,N;N=t.c.length,T=(y=e.Fh(r),l(y>=0?e.Ih(y,!1,!0):O0(e,r,!1),61));e:for(u=T.Jc();u.Ob();){for(a=l(u.Pb(),57),v=0;v<N;++v)if(f=(at(v,t.c.length),l(t.c[v],76)),m=f.kd(),p=f.Jk(),o=a.Kh(p,!1),m==null?o!=null:!pr(m,o))continue e;return a}return null}function jSn(e,t,r,o){var a,u,f,p;for(a=l(bg(t,(He(),Kt)).Jc().Pb(),12),u=l(bg(t,Qt).Jc().Pb(),12),p=new V(e.j);p.a<p.c.c.length;){for(f=l(q(p),12);f.e.c.length!=0;)Ji(l(ze(f.e,0),17),a);for(;f.g.c.length!=0;)bo(l(ze(f.g,0),17),u)}r||Te(t,(Ie(),Cd),null),o||Te(t,(Ie(),Nl),null)}function Uwt(e,t){var r,o,a,u,f,p,m;for(r=new iE,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),m=!0,o=0,p=new V(a.a);p.a<p.c.c.length;)switch(f=l(q(p),9),f.k.g){case 4:++o;case 1:epe(r,f);break;case 0:qyn(f,t);default:r.b==r.c||Oyt(r,o,m,!1,t),m=!1,o=0}r.b==r.c||Oyt(r,o,m,!0,t)}}function FSn(e){var t,r,o,a,u,f,p,m,y;for(e.a=new rfe,y=0,a=0,o=new V(e.i.b);o.a<o.c.c.length;){for(t=l(q(o),26),t.p=a,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p=y,++y;++a}for(u=e.r==(_1(),ak),f=u?dNt:lNt,r=new V(e.i.b);r.a<r.c.c.length;)t=l(q(r),26),xi(t.a,f),mfn(e.a,Re(t.p),t.a)}function Xme(e,t){var r,o,a,u,f,p;for(r=0,p=new V(t);p.a<p.c.c.length;){for(f=l(q(p),12),Wge(e.b,e.d[f.p]),a=new Vd(f.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),u=ule(e,f==o.c?o.d:o.c),u>e.d[f.p]&&(r+=upe(e.b,u),l1(e.a,Re(u)));for(;!zN(e.a);)Hpe(e.b,l(CS(e.a),15).a)}return r}function Hwt(e,t,r){var o,a,u,f;for(u=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i,a=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));a.e!=a.i.gc();)o=l(rn(a),19),(!o.a&&(o.a=new ke(En,o,10,11)),o.a).i==0||(u+=Hwt(e,o,!1));if(r)for(f=Br(t);f;)u+=(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i,f=Br(f);return u}function _y(e,t){var r,o,a,u;return e.Nj()?(o=null,a=e.Oj(),e.Rj()&&(o=e.Tj(e.Yi(t),null)),r=e.Gj(4,u=ZS(e,t),null,t,a),e.Kj()&&u!=null&&(o=e.Mj(u,o)),o?(o.lj(r),o.mj()):e.Hj(r),u):(u=ZS(e,t),e.Kj()&&u!=null&&(o=e.Mj(u,null),o&&o.mj()),u)}function $Sn(e){var t,r,o,a,u,f,p,m,y,v;for(y=e.a,t=new hi,m=0,o=new V(e.d);o.a<o.c.c.length;){for(r=l(q(o),228),v=0,zb(r.b,new Fc),f=An(r.b,0);f.b!=f.d.c;)u=l(Sn(f),228),t.a._b(u)&&(a=r.c,p=u.c,v<p.d+p.a+y&&v+a.a+y>p.d&&(v=p.d+p.a+y));r.c.d=v,t.a.yc(r,t),m=b.Math.max(m,r.c.d+r.c.a)}return m}function BSn(e,t,r){var o,a,u,f,p,m;for(f=l(F(e,(Ie(),tte)),16).Jc();f.Ob();){switch(u=l(f.Pb(),9),l(F(u,(Be(),Cs)),166).g){case 2:Oi(u,t);break;case 4:Oi(u,r)}for(a=new $t(qt(Lf(u).a.Jc(),new D));an(a);)o=l(en(a),17),!(o.c&&o.d)&&(p=!o.d,m=l(F(o,TTe),12),p?Ji(o,m):bo(o,m))}}function Fo(){Fo=K,Z$=new Fw("COMMENTS",0),rl=new Fw("EXTERNAL_PORTS",1),CI=new Fw("HYPEREDGES",2),Q$=new Fw("HYPERNODES",3),Qx=new Fw("NON_FREE_PORTS",4),XE=new Fw("NORTH_SOUTH_PORTS",5),II=new Fw(mSt,6),Xx=new Fw("CENTER_LABELS",7),Zx=new Fw("END_LABELS",8),eB=new Fw("PARTITIONS",9)}function USn(e,t,r,o,a){return o<0?(o=_E(e,a,Z(X(Je,1),Pe,2,6,[tX,nX,rX,iX,lT,oX,sX,aX,uX,cX,lX,dX]),t),o<0&&(o=_E(e,a,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),o<0?!1:(r.k=o,!0)):o>0?(r.k=o-1,!0):!1}function HSn(e,t,r,o,a){return o<0?(o=_E(e,a,Z(X(Je,1),Pe,2,6,[tX,nX,rX,iX,lT,oX,sX,aX,uX,cX,lX,dX]),t),o<0&&(o=_E(e,a,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),o<0?!1:(r.k=o,!0)):o>0?(r.k=o-1,!0):!1}function zSn(e,t,r,o,a,u){var f,p,m,y;if(p=32,o<0){if(t[0]>=e.length||(p=co(e,t[0]),p!=43&&p!=45)||(++t[0],o=k7(e,t),o<0))return!1;p==45&&(o=-o)}return p==32&&t[0]-r==2&&a.b==2&&(m=new q9,y=m.q.getFullYear()-k1+k1-80,f=y%100,u.a=o==f,o+=(y/100|0)*100+(o<f?100:0)),u.p=o,!0}function zwt(e,t){var r,o,a,u,f;Br(e)&&(f=l(F(t,(Be(),mm)),185),be(ve(e,Zr))===be((qi(),W1))&&Vn(e,Zr,pf),o=(t1(),new Yp(Br(e))),u=new B8(Br(e)?new Yp(Br(e)):null,e),a=G0e(o,u,!1,!0),Jl(f,(sc(),hv)),r=l(F(t,nk),8),r.a=b.Math.max(a.a,r.a),r.b=b.Math.max(a.b,r.b))}function GSn(e){var t,r,o,a,u,f;for(u=new hi,t=new Kw((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),a=new $t(qt(mp(e).a.Jc(),new D));an(a);)o=l(en(a),74),ae(oe((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),0),196)||(f=Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)),t.a._b(f)||(r=u.a.yc(f,u),r==null));return u}function Z_(){Z_=K,Uke=Z(X(pw,1),p2t,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}]),b.Math.pow(2,-65)}function Q_(){Q_=K;var e,t;for(ST=we(zE,Pe,92,32,0,1),yI=we(zE,Pe,92,32,0,1),e=1,t=0;t<=18;t++)ST[t]=(jf(),Ea(e,0)>=0?v1(e):I3(v1(ug(e)))),yI[t]=k8(fh(e,t),0)?v1(fh(e,t)):I3(v1(ug(fh(e,t)))),e=wo(e,5);for(;t<yI.length;t++)ST[t]=dE(ST[t-1],ST[1]),yI[t]=dE(yI[t-1],(jf(),qQ))}function Gwt(e,t){var r,o,a,u,f;if(e.c.length==0)return new ko(Re(0),Re(0));for(r=(at(0,e.c.length),l(e.c[0],12)).j,f=0,u=t.g,o=t.g+1;f<e.c.length-1&&r.g<u;)++f,r=(at(f,e.c.length),l(e.c[f],12)).j;for(a=f;a<e.c.length-1&&r.g<o;)++a,r=(at(f,e.c.length),l(e.c[f],12)).j;return new ko(Re(f),Re(a))}function qSn(e,t,r,o){var a,u,f,p,m,y,v;m=ks(t,r),(r==(He(),dn)||r==Kt)&&(m=oc(m)),f=!1;do for(a=!1,u=0;u<m.gc()-1;u++)y=l(m.Xb(u),12),p=l(m.Xb(u+1),12),jwn(e,y,p,o)&&(f=!0,MW(e.a,l(m.Xb(u),12),l(m.Xb(u+1),12)),v=l(m.Xb(u+1),12),m.fd(u+1,l(m.Xb(u),12)),m.fd(u,v),a=!0);while(a);return f}function VSn(e,t,r){var o,a,u,f;for(r.Tg(FSt,1),a=l(Au(lr(new Et(null,new St(t.b,16)),new UHe),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),g0t(e,a,0),f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),o=Ht(e.a,Re(u.g))!=null?l(Ht(e.a,Re(u.g)),15).a:0,Te(u,(js(),Jf),Re(o));r.Ug()}function $7(e,t,r){var o,a,u,f,p,m,y,v;return p=t.i-e.g/2,m=r.i-e.g/2,y=t.j-e.g/2,v=r.j-e.g/2,u=t.g+e.g,f=r.g+e.g,o=t.f+e.g,a=r.f+e.g,p<m+f&&m<p&&y<v+a&&v<y||m<p+u&&p<m&&v<y+o&&y<v||p<m+f&&m<p&&y<v&&v<y+o?!0:m<p+u&&p<m&&y<v+a&&v<y}function WSn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=t.c.length,f=(at(r,t.c.length),l(t.c[r],295)),p=f.a.o.a,T=f.c,N=0,y=f.c;y<=f.f;y++){if(p<=e.a[y])return y;for(v=e.a[y],m=null,a=r+1;a<u;a++)o=(at(a,t.c.length),l(t.c[a],295)),o.c<=y&&o.f>=y&&(m=o);m&&(v=b.Math.max(v,m.a.o.a)),v>N&&(T=y,N=v)}return T}function KSn(e){var t,r,o,a,u,f,p;for(u=new Qp(l(kn(new Af),50)),p=Li,r=new V(e.d);r.a<r.c.c.length;){for(t=l(q(r),228),p=t.c.c;u.a.gc()!=0&&(f=l(u.a.Rc(),228),f.c.c+f.c.b<p);)u.a.Ac(f)!=null;for(a=u.a.ec().Jc();a.Ob();)o=l(a.Pb(),228),Gn(o.b,t),Gn(t.b,o);u.a.yc(t,(Lt(),D1))==null}}function qwt(e,t,r){var o,a,u,f,p;if(!iy(t)){for(p=r.dh((ae(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),p.Tg($St,1),f=new zHe,u=null,a=t.Jc();a.Ob();)o=l(a.Pb(),41),f=Wc(Z(X(nl,1),Rt,22,0,[f,new Qh(o)])),u&&(Te(u,(Nr(),eRt),o),Te(o,rne,u),YW(o)==YW(u)&&(Te(u,ine,o),Te(o,PB,u))),u=o;p.Ug(),qwt(e,f,r)}}function YSn(e,t){var r,o,a;if(t==null){for(o=(!e.a&&(e.a=new ke(Op,e,9,5)),new tn(e.a));o.e!=o.i.gc();)if(r=l(rn(o),691),a=r.c,(a??r.zb)==null)return r}else for(o=(!e.a&&(e.a=new ke(Op,e,9,5)),new tn(e.a));o.e!=o.i.gc();)if(r=l(rn(o),691),wt(t,(a=r.c,a??r.zb)))return r;return null}function hJ(e,t){var r;switch(r=null,t.g){case 1:e.e.nf((_n(),gre))&&(r=l(e.e.mf(gre),260));break;case 3:e.e.nf((_n(),bre))&&(r=l(e.e.mf(bre),260));break;case 2:e.e.nf((_n(),pre))&&(r=l(e.e.mf(pre),260));break;case 4:e.e.nf((_n(),mre))&&(r=l(e.e.mf(mre),260))}return!r&&(r=l(e.e.mf((_n(),mNe)),260)),r}function Vwt(e,t,r){var o,a,u,f,p,m;for(a=r,u=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),Vn(f,(T1(),HB),Re(a++)),m=Ay(f),o=b.Math.atan2(f.j+f.f/2,f.i+f.g/2),o+=o<0?sm:0,o<.7853981633974483||o>YSt?xi(m,e.b):o<=YSt&&o>JSt?xi(m,e.d):o<=JSt&&o>XSt?xi(m,e.c):o<=XSt&&xi(m,e.a),u=Vwt(e,m,u);return a}function Wwt(e,t,r,o){var a,u,f,p,m,y;for(a=(o.c+o.a)/2,tc(t.j),Gn(t.j,a),tc(r.e),Gn(r.e,a),y=new CQe,p=new V(e.f);p.a<p.c.c.length;)u=l(q(p),135),m=u.a,UY(y,t,m),UY(y,r,m);for(f=new V(e.k);f.a<f.c.c.length;)u=l(q(f),135),m=u.b,UY(y,t,m),UY(y,r,m);return y.b+=2,y.a+=Nat(t,e.q),y.a+=Nat(e.q,r),y}function JSn(e,t,r){var o;r.Tg("Processor arrange node",1),Ye(Ke(F(t,(js(),X_e)))),o=l(Xu(hp(lr(new Et(null,new St(t.b,16)),new QHe))),41),e.a=l(F(t,sxe),354),e.a==(tC(),une)||e.a==$B?dEt(e,new Ls(Z(X(MB,1),LF,41,0,[o])),r.dh(1)):e.a==ane&&FEt(e,new Ls(Z(X(MB,1),LF,41,0,[o])),r.dh(1)),r.Ug()}function Kwt(e){var t,r,o,a,u,f,p;for(r=e.i,t=e.n,p=r.d,e.f==(Za(),M1)?p+=(r.a-e.e.b)/2:e.f==rd&&(p+=r.a-e.e.b),a=new V(e.d);a.a<a.c.c.length;){switch(o=l(q(a),190),f=o.Kf(),u=new ro,u.b=p,p+=f.b+e.a,e.b.g){case 0:u.a=r.c+t.b;break;case 1:u.a=r.c+t.b+(r.b-f.a)/2;break;case 2:u.a=r.c+r.b-t.c-f.a}o.Mf(u)}}function Ywt(e){var t,r,o,a,u,f,p;for(r=e.i,t=e.n,p=r.c,e.b==(_u(),L1)?p+=(r.b-e.e.a)/2:e.b==nd&&(p+=r.b-e.e.a),a=new V(e.d);a.a<a.c.c.length;){switch(o=l(q(a),190),f=o.Kf(),u=new ro,u.a=p,p+=f.a+e.a,e.f.g){case 0:u.b=r.d+t.d;break;case 1:u.b=r.d+t.d+(r.a-f.b)/2;break;case 2:u.b=r.d+r.a-t.a-f.b}o.Mf(u)}}function XSn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;v=r.a.c,f=r.a.c+r.a.b,u=l(Ht(r.c,t),460),O=u.f,M=u.a,m=new Me(v,O),T=new Me(f,M),a=v,r.p||(a+=e.c),a+=r.F+r.v*e.b,y=new Me(a,O),N=new Me(a,M),K3(t.a,Z(X($i,1),Pe,8,0,[m,y])),p=r.d.a.gc()>1,p&&(o=new Me(a,r.b),Gn(t.a,o)),K3(t.a,Z(X($i,1),Pe,8,0,[N,T]))}function Zme(e,t,r){var o,a;for(t<e.d.b.c.length?(e.b=l(ze(e.d.b,t),26),e.a=l(ze(e.d.b,t-1),26),e.c=t):(e.a=new ra(e.d),e.a.p=t-1,Fe(e.d.b,e.a),e.b=new ra(e.d),e.b.p=t,Fe(e.d.b,e.b),e.c=t),Oi(r,e.b),a=new $t(qt(si(r).a.Jc(),new D));an(a);)o=l(en(a),17),!o.c.i.c&&o.c.i.k==(zt(),ta)&&Oi(o.c.i,e.a)}function ZSn(e,t){var r,o,a,u;for(u=ks(t,(He(),dn)).Jc();u.Ob();)o=l(u.Pb(),12),r=l(F(o,(Ie(),Nu)),9),r&&Ql($l(Ul(Hl(Bl(new gl,0),.1),e.i[t.p].d),e.i[r.p].a));for(a=ks(t,Wt).Jc();a.Ob();)o=l(a.Pb(),12),r=l(F(o,(Ie(),Nu)),9),r&&Ql($l(Ul(Hl(Bl(new gl,0),.1),e.i[r.p].d),e.i[t.p].a))}function Jwt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,BF),"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 OGe))),De(e,BF,B0,XNe),De(e,BF,$0,15),De(e,BF,cF,Re(0)),De(e,BF,mx,bx)}function Qme(){Qme=K;var e,t,r,o,a,u;for(F4=we(Eu,BE,30,255,15,1),kU=we(al,Bf,30,16,15,1),t=0;t<255;t++)F4[t]=-1;for(r=57;r>=48;r--)F4[r]=r-48<<24>>24;for(o=70;o>=65;o--)F4[o]=o-65+10<<24>>24;for(a=102;a>=97;a--)F4[a]=a-97+10<<24>>24;for(u=0;u<10;u++)kU[u]=48+u&Ei;for(e=10;e<=15;e++)kU[e]=65+e-10&Ei}function Xwt(e,t){t.Tg("Process graph bounds",1),Te(e,(Nr(),tne),wO(xK(ey(new Et(null,new St(e.b,16)),new LHe)))),Te(e,nne,wO(xK(ey(new Et(null,new St(e.b,16)),new MHe)))),Te(e,G_e,wO(_K(ey(new Et(null,new St(e.b,16)),new PHe)))),Te(e,q_e,wO(_K(ey(new Et(null,new St(e.b,16)),new jHe)))),t.Ug()}function QSn(e){var t,r,o,a,u;a=l(F(e,(Be(),mm)),24),u=l(F(e,vB),24),r=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new So(r),a.Gc((sc(),hv))&&(o=l(F(e,nk),8),u.Gc((Uu(),Tk))&&(o.a<=0&&(o.a=20),o.b<=0&&(o.b=20)),t.a=b.Math.max(r.a,o.a),t.b=b.Math.max(r.b,o.b)),Ye(Ke(F(e,Tte)))||k_n(e,r,t)}function eTn(e){var t,r,o,a,u,f,p;for(t=!1,r=0,a=new V(e.d.b);a.a<a.c.c.length;)for(o=l(q(a),26),o.p=r++,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),!t&&!iy(Lf(u))&&(t=!0);p=xr((vi(),hf),Z(X(E4,1),Ce,87,0,[as,fs])),t||(Jl(p,il),Jl(p,ff)),e.a=new lft(p),Zs(e.f),Zs(e.b),Zs(e.e),Zs(e.g)}function pJ(e){var t,r,o,a,u,f;if(!e.c){if(f=new iqe,t=L4,u=t.a.yc(e,t),u==null){for(o=new tn(oa(e));o.e!=o.i.gc();)r=l(rn(o),88),a=z7(r),ae(a,89)&&ti(f,pJ(l(a,29))),Tn(f,r);t.a.Ac(e)!=null,t.a.gc()==0}c1n(f),hy(f),e.c=new Qv((l(oe(Ne((a1(),Ut).o),15),20),f.i),f.g),Pu(e).b&=-33}return e.c}function e0e(e){var t;if(e.c!=10)throw Y(new Ln(jn((Cn(),VF))));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 Y(new Ln(jn((Cn(),tl))))}return t}function Zwt(e){var t,r,o,a,u;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==ED&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+Zwt(k_(e));for(r=e,o="";!(r.l==0&&r.m==0&&r.h==0);){if(a=qW(rF),r=j0e(r,a,!0),t=""+eet(O1),!(r.l==0&&r.m==0&&r.h==0))for(u=9-t.length;u>0;u--)t="0"+t;o=t+o}return o}function tTn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(t[e]!==void 0)return!1;var r=Object.getOwnPropertyNames(t);return!(r.length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function nTn(e,t,r){var o,a,u,f,p,m,y,v,T;for(o=r.c,a=r.d,p=qd(t.c),m=qd(t.d),o==t.c?(p=Fme(e,p,a),m=Ybt(t.d)):(p=Ybt(t.c),m=Fme(e,m,a)),y=new B9(t.a),Wr(y,p,y.a,y.a.a),Wr(y,m,y.c.b,y.c),f=t.c==o,T=new SZe,u=0;u<y.b-1;++u)v=new ko(l(sa(y,u),8),l(sa(y,u+1),8)),f&&u==0||!f&&u==y.b-2?T.b=v:Fe(T.a,v);return T}function rTn(e,t){var r,o,a,u;if(u=e.j.g-t.j.g,u!=0)return u;if(r=l(F(e,(Be(),xg)),15),o=l(F(t,xg),15),r&&o&&(a=r.a-o.a,a!=0))return a;switch(e.j.g){case 1:return yr(e.n.a,t.n.a);case 2:return yr(e.n.b,t.n.b);case 3:return yr(t.n.a,e.n.a);case 4:return yr(t.n.b,e.n.b);default:throw Y(new es(Owe))}}function t0e(e,t,r,o){var a,u,f,p,m;if(yd(($O(),new $t(qt(Lf(t).a.Jc(),new D))))>=e.a||!Dbe(t,r))return-1;if(iy(l(o.Kb(t),22)))return 1;for(a=0,f=l(o.Kb(t),22).Jc();f.Ob();)if(u=l(f.Pb(),17),m=u.c.i==t?u.d.i:u.c.i,p=t0e(e,m,r,o),p==-1||(a=b.Math.max(a,p),a>e.c-1))return-1;return a+1}function ef(){ef=K,WB=new Mi((_n(),gk),1.3),TOt=new Mi(uv,(Lt(),!1)),Wxe=new xb(15),c4=new Mi(df,Wxe),l4=new Mi(Od,15),yOt=$L,SOt=Am,AOt=b2,_Ot=G1,EOt=g2,Ine=v4,xOt=cv,Xxe=(v0e(),bOt),Jxe=gOt,One=wOt,Zxe=mOt,Vxe=fOt,Rne=dOt,qxe=lOt,Yxe=pOt,zxe=y4,vOt=hre,OL=aOt,Hxe=sOt,DL=uOt,Kxe=hOt,Gxe=cOt}function Qwt(e,t){var r,o,a,u,f,p;if(be(t)===be(e))return!0;if(!ae(t,16)||(o=l(t,16),p=e.gc(),o.gc()!=p))return!1;if(f=o.Jc(),e.Wi()){for(r=0;r<p;++r)if(a=e.Ti(r),u=f.Pb(),a==null?u!=null:!pr(a,u))return!1}else for(r=0;r<p;++r)if(a=e.Ti(r),u=f.Pb(),be(a)!==be(u))return!1;return!0}function eyt(e,t){var r,o,a,u,f,p;if(e.f>0){if(e.Zj(),t!=null){for(u=0;u<e.d.length;++u)if(r=e.d[u],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(a=o[f],pr(t,a.kd()))return!0}}else for(u=0;u<e.d.length;++u)if(r=e.d[u],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(a=o[f],be(t)===be(a.kd()))return!0}}return!1}function iTn(e,t){var r,o,a;return r=t.ni(e.a),r&&(a=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),"affiliation")),a!=null)?(o=j8(a,Qa(35)),o==-1?XK(e,_3(e,mc(t.ok())),a):o==0?XK(e,null,(Yt(1,a.length+1),a.substr(1))):XK(e,(io(0,o,a.length),a.substr(0,o)),(Yt(o+1,a.length+1),a.substr(o+1)))):null}function B7(){B7=K,_ee=new OS("NORTH",0,(He(),Wt),Wt),Nee=new OS("SOUTH",1,dn,dn),Aee=new OS("EAST",2,Qt,Qt),Ree=new OS("WEST",3,Kt,Kt),kee=new OS("NORTH_WEST_CORNER",4,Kt,Wt),xee=new OS("NORTH_EAST_CORNER",5,Wt,Qt),Iee=new OS("SOUTH_WEST_CORNER",6,dn,Kt),Cee=new OS("SOUTH_EAST_CORNER",7,Qt,dn)}function oTn(e,t,r){var o,a,u,f;r.Tg("Orthogonally routing hierarchical port edges",1),e.a=0,o=Q_n(t),ukn(t,o),Gxn(e,t,o),uNn(t),a=l(F(t,(Be(),Zr)),103),u=t.b,aEt((at(0,u.c.length),l(u.c[0],26)),a,t),aEt(l(ze(u,u.c.length-1),26),a,t),f=t.b,bvt((at(0,f.c.length),l(f.c[0],26))),bvt(l(ze(f,f.c.length-1),26)),r.Ug()}function n0e(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 Y(new kf("Invalid hexadecimal"))}}function tyt(e,t,r,o){var a,u,f,p,m,y;for(m=BY(e,r),y=BY(t,r),a=!1;m&&y&&(o||nmn(m,y,r));)f=BY(m,r),p=BY(y,r),d6(t),d6(e),u=m.c,$J(m,!1),$J(y,!1),r?(E1(t,y.p,u),t.p=y.p,E1(e,m.p+1,u),e.p=m.p):(E1(e,m.p,u),e.p=m.p,E1(t,y.p+1,u),t.p=y.p),Oi(m,null),Oi(y,null),m=f,y=p,a=!0;return a}function nyt(e){switch(e.g){case 0:return new $We;case 1:return new kWe;case 3:return new Ket;case 4:return new SUe;case 5:return new _it;case 6:return new BWe;case 2:return new NWe;case 7:return new DWe;case 8:return new xWe;default:throw Y(new jt("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function sTn(e,t,r,o){var a,u,f,p,m;for(a=!1,u=!1,p=new V(o.j);p.a<p.c.c.length;)f=l(q(p),12),be(F(f,(Ie(),mr)))===be(r)&&(f.g.c.length==0?f.e.c.length==0||(a=!0):u=!0);return m=0,a&&a^u?m=r.j==(He(),Wt)?-e.e[o.c.p][o.p]:t-e.e[o.c.p][o.p]:u&&a^u?m=e.e[o.c.p][o.p]+1:a&&u&&(m=r.j==(He(),Wt)?0:t/2),m}function gJ(e,t,r,o,a,u,f,p){var m,y,v;for(m=0,t!=null&&(m^=lg(t.toLowerCase())),r!=null&&(m^=lg(r)),o!=null&&(m^=lg(o)),f!=null&&(m^=lg(f)),p!=null&&(m^=lg(p)),y=0,v=u.length;y<v;y++)m^=lg(u[y]);e?m|=256:m&=-257,a?m|=16:m&=-17,this.f=m,this.i=t==null?null:(Mt(t),t),this.a=r,this.d=o,this.j=u,this.g=f,this.e=p}function r0e(e,t,r){var o,a;switch(a=null,t.g){case 1:a=(bu(),J2e);break;case 2:a=(bu(),Z2e)}switch(o=null,r.g){case 1:o=(bu(),X2e);break;case 2:o=(bu(),Y2e);break;case 3:o=(bu(),Q2e);break;case 4:o=(bu(),eSe)}return a&&o?_S(e.j,new fKe(new Ls(Z(X(M3n,1),Rt,181,0,[l(kn(a),181),l(kn(o),181)])))):(At(),At(),Co)}function aTn(e){var t,r,o;switch(t=l(F(e,(Be(),nk)),8),Te(e,nk,new Me(t.b,t.a)),l(F(e,Kf),259).g){case 1:Te(e,Kf,(mh(),nU));break;case 2:Te(e,Kf,(mh(),eU));break;case 3:Te(e,Kf,(mh(),jL));break;case 4:Te(e,Kf,(mh(),FL))}(e.q?e.q:(At(),At(),xh))._b(Zy)&&(r=l(F(e,Zy),8),o=r.a,r.a=r.b,r.b=o)}function ryt(e,t,r,o,a,u){if(this.b=r,this.d=a,e>=t.length)throw Y(new Ia("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new FO(o),vK(this.e,this.c,(He(),Kt)),this.i=new FO(o),vK(this.i,this.c,Qt),this.f=new Yot(this.c),this.a=!u&&a.i&&!a.s&&this.c[0].k==(zt(),mi),this.a&&_yn(this,e,t.length)}function iyt(e,t){var r,o,a,u,f,p;u=!e.B.Gc((Uu(),ZL)),f=e.B.Gc(xre),e.a=new jgt(f,u,e.c),e.n&&xhe(e.a.n,e.n),aq(e.g,(Sd(),$a),e.a),t||(o=new fC(1,u,e.c),o.n.a=e.k,IS(e.p,(He(),Wt),o),a=new fC(1,u,e.c),a.n.d=e.k,IS(e.p,dn,a),p=new fC(0,u,e.c),p.n.c=e.k,IS(e.p,Kt,p),r=new fC(0,u,e.c),r.n.b=e.k,IS(e.p,Qt,r))}function uTn(e){var t,r,o;switch(t=l(F(e.d,(Be(),kp)),225),t.g){case 2:r=QNn(e);break;case 3:r=(o=new je,ei(lr(Oa(bs(bs(new Et(null,new St(e.d.b,16)),new RBe),new OBe),new DBe),new bBe),new oJe(o)),o);break;default:throw Y(new es("Compaction not supported for "+t+" edges."))}Exn(e,r),lo(new Xh(e.g),new tJe(e))}function cTn(e,t){var r,o,a,u,f,p,m;if(t.Tg("Process directions",1),r=l(F(e,(js(),uw)),87),r!=(vi(),ff))for(a=An(e.b,0);a.b!=a.d.c;){switch(o=l(Sn(a),41),p=l(F(o,(Nr(),CL)),15).a,m=l(F(o,IL),15).a,r.g){case 4:m*=-1;break;case 1:u=p,p=m,m=u;break;case 2:f=p,p=-m,m=f}Te(o,CL,Re(p)),Te(o,IL,Re(m))}t.Ug()}function lTn(e){var t,r,o,a,u,f,p,m;for(m=new hlt,p=new V(e.a);p.a<p.c.c.length;)if(f=l(q(p),9),f.k!=(zt(),mi)){for(gEn(m,f,new ro),u=new $t(qt(Or(f).a.Jc(),new D));an(u);)if(a=l(en(u),17),!(a.c.i.k==mi||a.d.i.k==mi))for(o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),t=r,mC(m,new qA(t.a,t.b))}return m}function bJ(){bJ=K,Ake=new cr(HZ),Tke=(JN(),ML),Ske=new pt(qZ,Tke),Eke=(x6(),QB),JOt=new pt(Uve,Eke),vke=(J6(),Bne),YOt=new pt(Hve,vke),VOt=new pt(zZ,null),yke=(o6(),XB),KOt=new pt(GZ,yke),wke=(Y9(),jne),HOt=new pt(zve,wke),zOt=new pt(Gve,(Lt(),!1)),GOt=new pt(qve,Re(64)),qOt=new pt(Vve,!0),WOt=$ne}function oyt(e,t){var r,o,a,u,f,p,m,y,v,T;for(e.p=1,a=e.c,T=new uh,v=k0(e,(jo(),Ba)).Jc();v.Ob();)for(y=l(v.Pb(),12),o=new V(y.g);o.a<o.c.c.length;)r=l(q(o),17),m=r.d.i,e!=m&&(u=m.c,u.p<=a.p&&(f=a.p+1,f==t.b.c.length?(p=new ra(t),p.p=f,Fe(t.b,p),Oi(m,p)):(p=l(ze(t.b,f),26),Oi(m,p)),T.a.yc(m,T)));return T}function syt(e){switch(e.g){case 0:return new qfe;case 1:return new PWe;case 2:return new OWe;case 3:return new RWe;case 4:return new Ytt;case 5:return new Xtt;case 6:return new Jtt;case 7:return new LWe;case 8:return new MWe;default:throw Y(new jt("No implementation is available for the cycle breaker "+(e.f!=null?e.f:""+e.g)))}}function dTn(e,t){var r,o;if(r=l(F(e,(Nr(),Zte)),16),!r||r.gc()<1)return null;if(r.gc()==1)return l(r.Xb(0),41);switch(o=null,t.g){case 2:o=l(Xu(NS(r.Mc(),new RHe)),41);break;case 1:o=l(Xu(Jw(r.Mc(),new kHe)),41);break;case 4:o=l(Xu(NS(r.Mc(),new NHe)),41);break;case 3:o=l(Xu(Jw(r.Mc(),new CHe)),41)}return o}function ayt(e){var t,r,o,a,u,f;if(e.a==null)if(e.a=we(uu,Ad,30,e.c.b.c.length,16,1),e.a[0]=!1,gr(e.c,(Be(),Cte)))for(o=l(F(e.c,Cte),16),r=o.Jc();r.Ob();)t=l(r.Pb(),15).a,t>0&&t<e.a.length&&(e.a[t]=!1);else for(f=new V(e.c.b),f.a<f.c.c.length&&q(f),a=1;f.a<f.c.c.length;)u=l(q(f),26),e.a[a++]=WEn(u)}function yh(){yh=K,a4=new cr("additionalHeight"),dk=new cr("drawingHeight"),$T=new cr("drawingWidth"),qB=new cr("minHeight"),u4=new cr("minWidth"),VB=new cr("rows"),iv=new cr("targetWidth"),Nne=new Pr("minRowIncrease",0),iOt=new Pr("maxRowIncrease",0),kne=new Pr("minRowDecrease",0),rOt=new Pr("maxRowDecrease",0)}function uyt(e,t){var r,o,a,u;switch(a=e.b,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!=a&&e.c)for(o=new tn(e.c);o.e!=o.i.gc();)u=l(rn(o),474),r=Pu(u),Sy(r,t)}function cyt(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M;for(a=!1,f=t,p=0,m=f.length;p<m;++p)u=f[p],Ye((Lt(),!!u.e))&&!l(ze(e.b,u.e.p),221).s&&(a=a|(y=u.e,v=l(ze(e.b,y.p),221),T=v.e,N=RQe(r,T.length),O=T[N][0],O.k==(zt(),mi)?T[N]=H2n(u,T[N],r?(He(),Kt):(He(),Qt)):v.c.kg(T,r),M=oD(e,v,r,o),Yme(v.e,v.o,r),M));return a}function lyt(e,t){var r,o,a,u,f;for(u=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i,a=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));a.e!=a.i.gc();)o=l(rn(a),19),be(ve(o,(_n(),h2)))!==be((pp(),T4))&&(f=l(ve(t,lv),144),r=l(ve(o,lv),144),(f==r||f&&dpe(f,r))&&(!o.a&&(o.a=new ke(En,o,10,11)),o.a).i!=0&&(u+=lyt(e,o)));return u}function fTn(e){var t,r,o,a,u;for(u=new Da(e.a.c.length),a=new V(e.a);a.a<a.c.c.length;){switch(o=l(q(a),9),r=l(F(o,(Be(),Cs)),166),t=null,r.g){case 1:case 2:t=(Vb(),JE);break;case 3:case 4:t=(Vb(),Jx)}t?(Te(o,(Ie(),rB),(Vb(),JE)),t==Jx?j7(o,r,(jo(),Cu)):t==JE&&j7(o,r,(jo(),Ba))):Ot(u.c,o)}return u}function hTn(e){var t,r,o,a,u,f,p;for(o=0,p=0,f=new V(e.d);f.a<f.c.c.length;)u=l(q(f),108),a=l(Au(lr(new Et(null,new St(u.j,16)),new Oue),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r=null,o<=p?(r=(He(),Wt),o+=a.gc()):p<o&&(r=(He(),dn),p+=a.gc()),t=r,ei(Oa(a.Mc(),new XBe),new uJe(t))}function pTn(e,t){var r;return r=new Q2,t&&qs(r,l(Ht(e.a,t5),105)),ae(t,278)&&qs(r,l(Ht(e.a,n5),105)),ae(t,363)?(qs(r,l(Ht(e.a,Rs),105)),r):(ae(t,83)&&qs(r,l(Ht(e.a,pn),105)),ae(t,209)?(qs(r,l(Ht(e.a,En),105)),r):ae(t,196)?(qs(r,l(Ht(e.a,Gu),105)),r):(ae(t,273)&&qs(r,l(Ht(e.a,Ir),105)),r))}function gTn(e){var t,r,o,a,u,f,p,m;for(e.b=new r0t(new Ls((He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt]))),new Ls((T0(),Z(X(Tee,1),Ce,369,0,[Q0,P1,Z0])))),f=Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt]),p=0,m=f.length;p<m;++p)for(u=f[p],r=Z(X(Tee,1),Ce,369,0,[Q0,P1,Z0]),o=0,a=r.length;o<a;++o)t=r[o],E0n(e.b,u,t,new je)}function dyt(e,t){var r,o,a,u,f,p,m,y,v,T;if(f=l(l(wr(e.r,t),24),85),p=e.u.Gc((xu(),K1)),r=e.u.Gc(k4),o=e.u.Gc(x4),y=e.u.Gc(KT),T=e.B.Gc((Uu(),pU)),v=!r&&!o&&(y||f.gc()==2),hSn(e,t),a=null,m=null,p){for(u=f.Jc(),a=l(u.Pb(),116),m=a;u.Ob();)m=l(u.Pb(),116);a.d.b=0,m.d.c=0,v&&!a.a&&(a.d.c=0)}T&&(wwn(f),p&&(a.d.b=0,m.d.c=0))}function fyt(e,t){var r,o,a,u,f,p,m,y,v,T;if(f=l(l(wr(e.r,t),24),85),p=e.u.Gc((xu(),K1)),r=e.u.Gc(k4),o=e.u.Gc(x4),m=e.u.Gc(KT),T=e.B.Gc((Uu(),pU)),y=!r&&!o&&(m||f.gc()==2),RAn(e,t),v=null,a=null,p){for(u=f.Jc(),v=l(u.Pb(),116),a=v;u.Ob();)a=l(u.Pb(),116);v.d.d=0,a.d.a=0,y&&!v.a&&(v.d.a=0)}T&&(ywn(f),p&&(v.d.d=0,a.d.a=0))}function hyt(e,t,r){var o,a,u,f,p,m,y,v;if(a=t.k,t.p>=0)return!1;if(t.p=r.b,Fe(r.e,t),a==(zt(),gi)||a==_a){for(f=new V(t.j);f.a<f.c.c.length;)for(u=l(q(f),12),v=(o=new V(new tS(u).a.g),new vce(o));Ts(v.a);)if(y=l(q(v.a),17).d,p=y.i,m=p.k,t.c!=p.c&&(m==gi||m==_a)&&hyt(e,p,r))return!0}return!0}function U7(e){var t;return e.Db&64?Eme(e):(t=new ml(Eme(e)),t.a+=" (changeable: ",Zp(t,(e.Bb&Tl)!=0),t.a+=", volatile: ",Zp(t,(e.Bb&yp)!=0),t.a+=", transient: ",Zp(t,(e.Bb&Ry)!=0),t.a+=", defaultValueLiteral: ",Vo(t,e.j),t.a+=", unsettable: ",Zp(t,(e.Bb&yu)!=0),t.a+=", derived: ",Zp(t,(e.Bb&$f)!=0),t.a+=")",t.a)}function bTn(e,t){var r,o,a,u,f;return a=t.ni(e.a),a&&(o=(!a.b&&(a.b=new Zu((_t(),Ro),zs,a)),a.b),r=In(Td(o,ho)),r!=null&&(u=r.lastIndexOf("#"),f=u==-1?Bde(e,t.hk(),r):u==0?c6(e,null,(Yt(1,r.length+1),r.substr(1))):c6(e,(io(0,u,r.length),r.substr(0,u)),(Yt(u+1,r.length+1),r.substr(u+1))),ae(f,160)))?l(f,160):null}function mTn(e,t){var r,o,a,u,f;return o=t.ni(e.a),o&&(r=(!o.b&&(o.b=new Zu((_t(),Ro),zs,o)),o.b),u=In(Td(r,SQ)),u!=null&&(a=u.lastIndexOf("#"),f=a==-1?Bde(e,t.hk(),u):a==0?c6(e,null,(Yt(1,u.length+1),u.substr(1))):c6(e,(io(0,a,u.length),u.substr(0,a)),(Yt(a+1,u.length+1),u.substr(a+1))),ae(f,160)))?l(f,160):null}function wTn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(t.Tg("Restoring reversed edges",1),m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),v=new V(p.a);v.a<v.c.c.length;)for(y=l(q(v),9),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),f=Df(T.g),o=f,a=0,u=o.length;a<u;++a)r=o[a],Ye(Ke(F(r,(Ie(),Ag))))&&mg(r,!1);t.Ug()}function yTn(e,t,r,o){var a,u,f,p,m;for(m=we(Ki,Pe,109,(He(),Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt])).length,0,2),u=Z(X(Io,1),ea,64,0,[Is,Wt,Qt,dn,Kt]),f=0,p=u.length;f<p;++f)a=u[f],m[a.g]=we(Ki,Jo,30,e.c[a.g],15,1);return gbt(m,e,Wt),gbt(m,e,dn),OY(m,e,Wt,t,r,o),OY(m,e,Qt,t,r,o),OY(m,e,dn,t,r,o),OY(m,e,Kt,t,r,o),m}function vTn(e,t,r){if(ma(e.a,t)){if(bl(l(Ht(e.a,t),47),r))return 1}else Jn(e.a,t,new hi);if(ma(e.a,r)){if(bl(l(Ht(e.a,r),47),t))return-1}else Jn(e.a,r,new hi);if(ma(e.b,t)){if(bl(l(Ht(e.b,t),47),r))return-1}else Jn(e.b,t,new hi);if(ma(e.b,r)){if(bl(l(Ht(e.b,r),47),t))return 1}else Jn(e.b,r,new hi);return 0}function ETn(e){var t,r,o,a,u,f;e.q==(qi(),Oh)||e.q==fa||(a=e.f.n.d+eP(l(Wo(e.b,(He(),Wt)),129))+e.c,t=e.f.n.a+eP(l(Wo(e.b,dn),129))+e.c,o=l(Wo(e.b,Qt),129),f=l(Wo(e.b,Kt),129),u=b.Math.max(0,o.n.d-a),u=b.Math.max(u,f.n.d-a),r=b.Math.max(0,o.n.a-t),r=b.Math.max(r,f.n.a-t),o.n.d=u,f.n.d=u,o.n.a=r,f.n.a=r)}function i0e(e,t,r,o){var a,u,f,p,m,y;if(r==null){for(a=l(e.g,123),p=0;p<e.i;++p)if(f=a[p],f.Jk()==t)return _o(e,f,o)}return u=(Lo(),l(t,69).vk()?l(r,76):gh(t,r)),Ju(e.e)?(y=!F6(e,t),o=Pa(e,u,o),m=t.Hk()?c1(e,3,t,null,r,nx(e,t,r,ae(t,104)&&(l(t,20).Bb&No)!=0),y):c1(e,1,t,t.gk(),r,-1,y),o?o.lj(m):o=m):o=Pa(e,u,o),o}function pyt(){this.b=new d1,this.d=new d1,this.e=new d1,this.c=new d1,this.a=new hn,this.f=new hn,cE($i,new lGe,new dGe),cE(Hke,new SGe,new TGe),cE(W2e,new AGe,new _Ge),cE(K2e,new xGe,new kGe),cE(CDt,new NGe,new CGe),cE(P3n,new fGe,new hGe),cE($3n,new pGe,new gGe),cE(j3n,new bGe,new mGe),cE(F3n,new wGe,new yGe),cE(H3n,new vGe,new EGe)}function CC(e,t){var r,o,a,u,f;for(e=e==null?tu:(Mt(e),e),a=0;a<t.length;a++)t[a]=S2n(t[a]);for(r=new lS,f=0,o=0;o<t.length&&(u=e.indexOf("%s",f),u!=-1);)r.a+=""+yl(e==null?tu:(Mt(e),e),f,u),ba(r,t[o++]),f=u+2;if(uct(r,e,f,e.length),o<t.length){for(r.a+=" [",ba(r,t[o++]);o<t.length;)r.a+=ja,ba(r,t[o++]);r.a+="]"}return r.a}function o0e(e,t){var r,o,a,u,f,p,m;for(r=0,m=new V(t);m.a<m.c.c.length;){for(p=l(q(m),12),Wge(e.b,e.d[p.p]),f=0,a=new Vd(p.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),Vst(o)?(u=ule(e,p==o.c?o.d:o.c),u>e.d[p.p]&&(r+=upe(e.b,u),l1(e.a,Re(u)))):++f;for(r+=e.b.d*f;!zN(e.a);)Hpe(e.b,l(CS(e.a),15).a)}return r}function gyt(e){var t,r,o,a,u,f;return u=0,t=Sl(e),t.ik()&&(u|=4),e.Bb&yu&&(u|=2),ae(e,104)?(r=l(e,20),a=Mo(r),r.Bb&Ws&&(u|=32),a&&(ln(ny(a)),u|=8,f=a.t,(f>1||f==-1)&&(u|=16),a.Bb&Ws&&(u|=64)),r.Bb&No&&(u|=yp),u|=Tl):ae(t,462)?u|=512:(o=t.ik(),o&&o.i&1&&(u|=256)),e.Bb&512&&(u|=128),u}function STn(e,t){var r;return e.f==Bre?(r=f0(rs((mu(),ao),t)),e.e?r==4&&t!=(rT(),XT)&&t!=(rT(),JT)&&t!=(rT(),Ure)&&t!=(rT(),Hre):r==2):e.d&&(e.d.Gc(t)||e.d.Gc(MS(rs((mu(),ao),t)))||e.d.Gc(IE((mu(),ao),e.b,t)))?!0:e.f&&Ume((mu(),e.f),WO(rs(ao,t)))?(r=f0(rs(ao,t)),e.e?r==4:r==2):!1}function TTn(e,t){var r,o,a,u,f,p,m,y;for(u=new je,t.b.c.length=0,r=l(Au(Hhe(new Et(null,new St(new Xh(e.a.b),1))),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),a=r.Jc();a.Ob();)if(o=l(a.Pb(),15),f=tpe(e.a,o),f.b!=0)for(p=new ra(t),Ot(u.c,p),p.p=o.a,y=An(f,0);y.b!=y.d.c;)m=l(Sn(y),9),Oi(m,p);li(t.b,u)}function mJ(e){var t,r,o,a,u,f,p;for(p=new hn,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),60),Jn(p,t,new je);for(a=new V(e.a.b);a.a<a.c.c.length;)for(t=l(q(a),60),t.i=Li,f=t.c.Jc();f.Ob();)u=l(f.Pb(),60),l(Ss(ts(p.f,u)),16).Ec(t);for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.c.$b(),t.c=l(Ss(ts(p.f,t)),16);Pwt(e)}function wJ(e){var t,r,o,a,u,f,p;for(p=new hn,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),84),Jn(p,t,new je);for(a=new V(e.a.b);a.a<a.c.c.length;)for(t=l(q(a),84),t.o=Li,f=t.f.Jc();f.Ob();)u=l(f.Pb(),84),l(Ss(ts(p.f,u)),16).Ec(t);for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.f.$b(),t.f=l(Ss(ts(p.f,t)),16);_wt(e)}function ATn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(m=ji(t.a),a=ue(ce(F(m,(Be(),$1))))*2,v=ue(ce(F(m,tv))),y=b.Math.max(a,v),u=we(Ki,Jo,30,t.f-t.c+1,15,1),o=-y,r=0,p=t.b.Jc();p.Ob();)f=l(p.Pb(),9),o+=e.a[f.c.p]+y,u[r++]=o;for(o+=e.a[t.a.c.p]+y,u[r++]=o,N=new V(t.e);N.a<N.c.c.length;)T=l(q(N),9),o+=e.a[T.c.p]+y,u[r++]=o;return u}function _Tn(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(N=new Qp(new NJe(e)),p=Z(X(Nh,1),vg,9,0,[t,r]),m=0,y=p.length;m<y;++m)for(f=p[m],T=oC(f,o).Jc();T.Ob();)for(v=l(T.Pb(),12),u=new Vd(v.b);Ts(u.a)||Ts(u.b);)a=l(Ts(u.a)?q(u.a):q(u.b),17),fo(a)||(N.a.yc(v,(Lt(),D1))==null,Vst(a)&&qO(N,v==a.c?a.d:a.c));return kn(N),new Tu(N)}function xTn(e,t,r,o){var a,u,f,p,m,y,v,T;return f=l(ve(r,(_n(),GT)),8),m=f.a,v=f.b+e,a=b.Math.atan2(v,m),a<0&&(a+=sm),a+=t,a>sm&&(a-=sm),p=l(ve(o,GT),8),y=p.a,T=p.b+e,u=b.Math.atan2(T,y),u<0&&(u+=sm),u+=t,u>sm&&(u-=sm),Ud(),Yl(1e-10),b.Math.abs(a-u)<=1e-10||a==u||isNaN(a)&&isNaN(u)?0:a<u?-1:a>u?1:kb(isNaN(a),isNaN(u))}function s0e(e,t,r,o){var a,u,f;t&&(u=ue(ce(F(t,(Nr(),Ng))))+o,f=r+ue(ce(F(t,jB)))/2,Te(t,CL,Re(Dn(Gs(b.Math.round(u))))),Te(t,IL,Re(Dn(Gs(b.Math.round(f))))),t.d.b==0||s0e(e,l(M8((a=An(new Qh(t).a.d,0),new qv(a))),41),r+ue(ce(F(t,jB)))+e.b,o+ue(ce(F(t,lk)))),F(t,ine)!=null&&s0e(e,l(F(t,ine),41),r,o))}function kTn(e,t){var r,o,a,u;if(u=l(ve(e,(_n(),m2)),64).g-l(ve(t,m2),64).g,u!=0)return u;if(r=l(ve(e,wre),15),o=l(ve(t,wre),15),r&&o&&(a=r.a-o.a,a!=0))return a;switch(l(ve(e,m2),64).g){case 1:return yr(e.i,t.i);case 2:return yr(e.j,t.j);case 3:return yr(t.i,e.i);case 4:return yr(t.j,e.j);default:throw Y(new es(Owe))}}function a0e(e){var t,r,o;return e.Db&64?ZY(e):(t=new fc(lEe),r=e.k,r?zn(zn((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n.i>0&&(o=(!e.n&&(e.n=new ke(Rs,e,1,7)),l(oe(e.n,0),158)).a,!o||zn(zn((t.a+=' "',t),o),'"'))),zn(e0(zn(e0(zn(e0(zn(e0((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function byt(e){var t,r,o;return e.Db&64?ZY(e):(t=new fc(dEe),r=e.k,r?zn(zn((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n.i>0&&(o=(!e.n&&(e.n=new ke(Rs,e,1,7)),l(oe(e.n,0),158)).a,!o||zn(zn((t.a+=' "',t),o),'"'))),zn(e0(zn(e0(zn(e0(zn(e0((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function NTn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;for(O=-1,M=0,v=t,T=0,N=v.length;T<N;++T){for(y=v[T],f=y,p=0,m=f.length;p<m;++p)for(u=f[p],r=new Mpe(e,O==-1?t[0]:t[O],l(F(ji(u),(Be(),Ch)),270),cbt(u),Ye(Ke(F(ji(u),hte)))),o=0;o<u.j.c.length;o++)for(a=o+1;a<u.j.c.length;a++)pst(r,l(ze(u.j,o),12),l(ze(u.j,a),12))>0&&++M;++O}return M}function CTn(e,t){var r,o,a,u,f;for(t==(nC(),Gte)&&vC(l(wr(e.a,(yy(),sL)),16)),a=l(wr(e.a,(yy(),sL)),16).Jc();a.Ob();)switch(o=l(a.Pb(),108),r=l(ze(o.j,0),114).d.j,u=new Tu(o.j),xi(u,new UBe),t.g){case 2:qY(e,u,r,(T0(),P1),1);break;case 1:case 0:f=y2n(u),qY(e,new Rf(u,0,f),r,(T0(),P1),0),qY(e,new Rf(u,f,u.c.length),r,P1,1)}}function ITn(e){var t,r,o,a,u,f,p;for(a=l(F(e,(Ie(),tw)),9),o=e.j,r=(at(0,o.c.length),l(o.c[0],12)),f=new V(a.j);f.a<f.c.c.length;)if(u=l(q(f),12),be(u)===be(F(r,mr))){u.j==(He(),Wt)&&e.p>a.p?(Ci(u,dn),u.d&&(p=u.o.b,t=u.a.b,u.a.b=p-t)):u.j==dn&&a.p>e.p&&(Ci(u,Wt),u.d&&(p=u.o.b,t=u.a.b,u.a.b=-(p-t)));break}return a}function u0e(e,t){var r,o,a,u,f,p,m;if(t==null||t.length==0)return null;if(a=l(wa(e.a,t),144),!a){for(o=(p=new Zh(e.b).a.vc().Jc(),new Lw(p));o.a.Ob();)if(r=(u=l(o.a.Pb(),45),l(u.kd(),144)),f=r.c,m=t.length,wt(f.substr(f.length-m,m),t)&&(t.length==f.length||co(f,f.length-t.length-1)==46)){if(a)return null;a=r}a&&ns(e.a,t,a)}return a}function ex(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=new Me(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),br(y.n,u),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),a=new V(T.g);a.a<a.c.c.length;)for(o=l(q(a),17),ly(o.a,u),f=l(F(o,(Be(),ss)),79),f&&ly(f,u),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),br(p.n,u)}function RTn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=new Me(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),br(y.n,u),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),a=new V(T.g);a.a<a.c.c.length;)for(o=l(q(a),17),ly(o.a,u),f=l(F(o,(Be(),ss)),79),f&&ly(f,u),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),br(p.n,u)}function myt(e){if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i==0)throw Y(new cS("Edges must have a source."));if((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i==0)throw Y(new cS("Edges must have a target."));if(!e.b&&(e.b=new Tt(pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c.i<=1)))throw Y(new cS("Hyperedges are not supported."))}function OTn(e,t){var r,o;t.Tg("Partition preprocessing",1),o=l(Au(lr(new Et(null,new St(e.a,16)),new w$e),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),r=l(Au(lr(bs(lr(new Et(null,new St(e.a,16)),new y$e),new v$e),new BYe(o)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),16),ei(r.Mc(),new E$e),t.Ug()}function wyt(e){var t,r,o;gr(e,(Be(),iw))&&(o=l(F(e,iw),24),!o.dc()&&(r=(t=l(md(zo),10),new Hc(t,l(Gl(t,t.length),10),0)),o.Gc((Ty(),kc))?Jl(r,kc):Jl(r,cd),o.Gc(Cl)||Jl(r,Cl),o.Gc(ad)?Jl(r,ld):o.Gc(Ip)?Jl(r,Rh):o.Gc(ud)&&Jl(r,Il),o.Gc(ld)?Jl(r,ad):o.Gc(Rh)?Jl(r,Ip):o.Gc(Il)&&Jl(r,ud),Te(e,iw,r)))}function yyt(e,t){var r,o;for(this.b=new je,this.e=new je,this.a=e,this.d=t,pbn(this),E1n(this),this.b.dc()?this.c=e.c.p:this.c=l(this.b.Xb(0),9).c.p,this.e.c.length==0?this.f=e.c.p:this.f=l(ze(this.e,this.e.c.length-1),9).c.p,o=l(F(e,(Ie(),OI)),16).Jc();o.Ob();)if(r=l(o.Pb(),70),gr(r,(Be(),fB))){this.d=l(F(r,fB),233);break}}function ac(e,t,r){var o,a,u,f,p,m,y,v;for(o=l(Ht(e.b,t),47),u=l(Ht(e.b,r),47),a=l(Ht(e.g,t),47),f=l(Ht(e.g,r),47),o.a.yc(r,o),f.a.yc(t,f),v=u.a.ec().Jc();v.Ob();)y=l(v.Pb(),9),o.a.yc(y,o),pi(l(Ht(e.g,y),47),t),mo(l(Ht(e.g,y),47),a);for(m=a.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),f.a.yc(p,f),pi(l(Ht(e.b,p),47),r),mo(l(Ht(e.b,p),47),u)}function sD(e,t,r){var o,a,u,f,p,m,y,v;for(o=l(Ht(e.a,t),47),u=l(Ht(e.a,r),47),a=l(Ht(e.b,t),47),f=l(Ht(e.b,r),47),o.a.yc(r,o),f.a.yc(t,f),v=u.a.ec().Jc();v.Ob();)y=l(v.Pb(),9),o.a.yc(y,o),pi(l(Ht(e.b,y),47),t),mo(l(Ht(e.b,y),47),a);for(m=a.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),f.a.yc(p,f),pi(l(Ht(e.a,p),47),r),mo(l(Ht(e.a,p),47),u)}function jf(){jf=K;var e;for(d$=new ap(1,1),qQ=new ap(1,10),wI=new ap(0,0),ext=new ap(-1,1),txt=Z(X(zE,1),Pe,92,0,[wI,d$,new ap(1,2),new ap(1,3),new ap(1,4),new ap(1,5),new ap(1,6),new ap(1,7),new ap(1,8),new ap(1,9),qQ]),f$=we(zE,Pe,92,32,0,1),e=0;e<f$.length;e++)f$[e]=k8(fh(1,e),0)?v1(fh(1,e)):I3(v1(ug(fh(1,e))))}function vyt(e,t){var r,o,a,u,f,p,m,y,v;for(a=new $t(qt(mp(t).a.Jc(),new D));an(a);)o=l(en(a),74),v=Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)),p=kC(o),m=t.i+t.g/2,y=t.j+t.f,u=v.i+v.g/2,f=v.j,E0(p,m),S0(p,y),y0(p,u),v0(p,f),r=ue(ce(ve(v,(wh(),cw)))),b.Math.abs(r-(f-ue(ce(ve(Br(v),(_n(),Od))))/2))>wg&&tY(p,u,r),vyt(e,v)}function Eyt(e,t,r,o,a,u,f){if(e.c=o.Jf().a,e.d=o.Jf().b,a&&(e.c+=a.Jf().a,e.d+=a.Jf().b),e.b=t.Kf().a,e.a=t.Kf().b,!a)r?e.c-=f+t.Kf().a:e.c+=o.Kf().a+f;else switch(a.$f().g){case 0:case 2:e.c+=a.Kf().a+f+u.a+f;break;case 4:e.c-=f+u.a+f+t.Kf().a;break;case 1:e.c+=a.Kf().a+f,e.d-=f+u.b+f+t.Kf().b;break;case 3:e.c+=a.Kf().a+f,e.d+=a.Kf().b+f+u.b+f}}function DTn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M;if(u=r,r<o)for(N=(O=new _6(e.p),M=new _6(e.p),mo(O.e,e.e),O.q=e.q,O.r=M,vP(O),mo(M.j,e.j),M.r=O,vP(M),new ko(O,M)),T=l(N.a,117),v=l(N.b,117),a=(at(u,t.c.length),l(t.c[u],341)),f=Wwt(e,T,v,a),y=r+1;y<=o;y++)p=(at(y,t.c.length),l(t.c[y],341)),m=Wwt(e,T,v,p),hbn(p,m,a,f)&&(a=p,f=m,u=y);return u}function LTn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M;for(f=l(oe(t,0),19),va(f,0),gu(f,0),N=new je,Ot(N.c,f),p=f,u=new jfe(e.a,f.g,f.f,(xC(),LL)),O=1;O<t.i;O++)M=l(oe(t,O),19),m=CJ(e,f2,M,p,u,N,r),y=CJ(e,BT,M,p,u,N,r),v=CJ(e,f4,M,p,u,N,r),T=CJ(e,d4,M,p,u,N,r),a=fxn(e,m,y,v,T,M,p,o),va(M,a.d),gu(M,a.e),_Zt(a,LL),u=a,p=M,Ot(N.c,M);return u}function MTn(e,t,r){var o,a,u,f,p,m,y,v,T,N;if(v=null,N=t,T=Bft(e,Cct(r),N),v_(T,sp(N,qf)),f=m0(N,hEe),o=new tnt(e,T),Kmt(o.a,o.b,f),p=m0(N,lQ),a=new nnt(e,T),Ymt(a.a,a.b,p),(!T.b&&(T.b=new Tt(pn,T,4,7)),T.b).i==0||(!T.c&&(T.c=new Tt(pn,T,5,8)),T.c).i==0)throw u=sp(N,qf),m=QTt+u,y=m+Px,Y(new xf(y));return E7(N,T),qNn(e,N,T),v=jK(e,N,T),v}function PTn(e,t){var r,o,a,u,f,p,m;for(a=we(Rn,Qn,30,e.e.a.c.length,15,1),f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),a[u.d]+=u.b.a.c.length;for(p=UO(t);p.b!=0;)for(u=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),126),o=BS(new V(u.g.a));o.Ob();)r=l(o.Pb(),220),m=r.e,m.e=b.Math.max(m.e,u.e+r.a),--a[m.d],a[m.d]==0&&Wr(p,m,p.c.b,p.c)}function Syt(e){var t,r,o,a,u,f,p,m,y,v,T;for(r=Qi,a=sr,p=new V(e.e.a);p.a<p.c.c.length;)u=l(q(p),126),a=b.Math.min(a,u.e),r=b.Math.max(r,u.e);for(t=we(Rn,Qn,30,r-a+1,15,1),f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),u.e-=a,++t[u.e];if(o=0,e.k!=null)for(y=e.k,v=0,T=y.length;v<T&&(m=y[v],t[o++]+=m,t.length!=o);++v);return t}function jTn(e,t){var r,o,a,u,f,p;if(t.Tg("Edge routing",1),a=l(F(e,(js(),one)),386),a==(eC(),Xte))Ldn(e);else if(a==kL)for(l(Xu(hp(lr(new Et(null,new St(e.b,16)),new THe))),41),u=ue(ce(F(e,ixe))),f=ue(ce(F(e,Q_e))),p=l(F(e,uw),87),WNn(e,p,u),_3n(e,p,u,f),k3n(e,p,u,f),o=An(e.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.a.b<2&&hme(r);t.Ug()}function Tyt(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return l(Jme(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 d3(e.k,e.f);case 3:case 4:return e.j==e.e;default:return e.n==null?e.g==null:pr(e.n,e.g)}}default:return!1}}function FTn(e){var t,r,o,a;for(a=e.b,t=!1,o=new V(e.i.d);o.a<o.c.c.length;)if(r=l(q(o),70),Ye(Ke(F(r,(Be(),i2))))){t=!0;break}fu(a,(He(),Wt))?fu(a,dn)?fu(a,Kt)?fu(a,Qt)||ig(e,t?Kt:Wt,t?(Xl(),Hy):(Xl(),Vx),t?null:e.c):ig(e,t?Qt:Wt,t?(Xl(),Hy):(Xl(),qx),t?null:e.a):ig(e,Wt,(Xl(),Hy),null):ig(e,dn,(Xl(),Hy),null)}function Ayt(e,t,r){var o,a,u,f,p,m,y,v,T;for(u=new Da(t.c.length),y=new V(t);y.a<y.c.c.length;)f=l(q(y),9),Fe(u,e.b[f.c.p][f.p]);for(Txn(e,u,r),T=null;T=Ekn(u);)r_n(e,l(T.a,242),l(T.b,242),u);for(t.c.length=0,a=new V(u);a.a<a.c.c.length;)for(o=l(q(a),242),p=o.d,m=0,v=p.length;m<v;++m)f=p[m],Ot(t.c,f),e.a[f.c.p][f.p].a=Hd(o.g,o.d[0]).a}function $Tn(e,t){var r,o,a;switch(t.Tg("Breaking Point Insertion",1),o=new kme(e),l(F(e,(Be(),Nte)),351).g){case 2:a=new Pue;break;case 0:a=new Due;break;default:a=new jue}if(r=a.mg(e,o),Ye(Ke(F(e,YAe)))&&(r=Rxn(e,r)),!a.ng()&&gr(e,SB))switch(l(F(e,SB),352).g){case 2:r=Wmt(o,r);break;case 1:r=Lbt(o,r)}if(r.dc()){t.Ug();return}ZNn(e,r),t.Ug()}function _yt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,Ox),"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 RGe))),De(e,Ox,B0,VNe),De(e,Ox,IF,Ge(S4)),De(e,Ox,rEe,Ge(HNe)),De(e,Ox,ME,Ge(zNe)),De(e,Ox,mT,Ge(qNe)),De(e,Ox,vx,Ge(GNe))}function H7(e,t,r){var o,a,u,f,p;if(o=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),p=Dn(wo(Sh,ph(Dn(wo(r==null?0:Rr(r),Th)),15))),u=Y3(e,t,o),u&&p==u.f&&rp(r,u.i))return r;if(f=J3(e,r,p),f)throw Y(new jt("value already present: "+r));return a=new TP(t,o,r,p),u?(kE(e,u),Z6(e,a,u),u.e=null,u.c=null,u.i):(Z6(e,a,null),bbt(e),null)}function BTn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;v=r.a.c,f=r.a.c+r.a.b,u=l(Ht(r.c,t),460),O=u.f,M=u.a,u.b?m=new Me(f,O):m=new Me(v,O),u.c?T=new Me(v,M):T=new Me(f,M),a=v,r.p||(a+=e.c),a+=r.F+r.v*e.b,y=new Me(a,O),N=new Me(a,M),K3(t.a,Z(X($i,1),Pe,8,0,[m,y])),p=r.d.a.gc()>1,p&&(o=new Me(a,r.b),Gn(t.a,o)),K3(t.a,Z(X($i,1),Pe,8,0,[N,T]))}function _1(){_1=K,kB=new $w(_d,0),SL=new $w("NIKOLOV",1),TL=new $w("NIKOLOV_PIXEL",2),u_e=new $w("NIKOLOV_IMPROVED",3),c_e=new $w("NIKOLOV_IMPROVED_PIXEL",4),a_e=new $w("DUMMYNODE_PERCENTAGE",5),l_e=new $w("NODECOUNT_PERCENTAGE",6),NB=new $w("NO_BOUNDARY",7),ak=new $w("MODEL_ORDER_LEFT_TO_RIGHT",8),KI=new $w("MODEL_ORDER_RIGHT_TO_LEFT",9)}function yJ(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;return v=null,N=Rme(e,t),o=null,p=l(ve(t,(_n(),H6t)),301),p?o=p:o=(V3(),YL),O=o,O==(V3(),YL)&&(a=null,y=l(Ht(e.r,N),301),y?a=y:a=_re,O=a),Jn(e.r,t,O),u=null,m=l(ve(t,U6t),280),m?u=m:u=(O_(),zL),T=u,T==(O_(),zL)&&(f=null,r=l(Ht(e.b,N),280),r?f=r:f=uU,T=f),v=l(Jn(e.b,t,T),280),v}function UTn(e){var t,r,o,a,u;for(o=e.length,t=new GN,u=0;u<o;)if(r=co(e,u++),!(r==9||r==10||r==12||r==13||r==32)){if(r==35){for(;u<o&&(r=co(e,u++),!(r==13||r==10)););continue}r==92&&u<o?(a=(Yt(u,e.length),e.charCodeAt(u)))==35||a==9||a==10||a==12||a==13||a==32?(i_(t,a&Ei),++u):(t.a+="\\",i_(t,a&Ei),++u):i_(t,r&Ei)}return t.a}function c0e(){c0e=K,DRt=new pt(wve,(Lt(),!1)),jRt=new pt(yve,Re(0)),FRt=new pt(vve,0),$Rt=new pt(PF,!1),bxe=(R6(),UB),MRt=new pt(PZ,bxe),Re(0),LRt=new pt(jZ,Re(1)),wxe=(Ij(),Ene),zRt=new pt(Eve,wxe),yxe=(rj(),bne),GRt=new pt(Sve,yxe),mxe=(d7(),vne),PRt=new pt(Tve,mxe),HRt=new pt(FZ,0),BRt=new pt($Z,!1),URt=new pt(Ave,!1)}function HTn(e,t){var r,o,a;for(o=new V(t);o.a<o.c.c.length;)if(r=l(q(o),19),yt(e.a,r,r),yt(e.b,r,r),a=Ay(r),a.c.length!=0)for(e.d&&e.d.Fg(a),yt(e.a,r,(at(0,a.c.length),l(a.c[0],19))),yt(e.b,r,l(ze(a,a.c.length-1),19));DK(a).c.length!=0;)a=DK(a),e.d&&e.d.Fg(a),yt(e.a,r,(at(0,a.c.length),l(a.c[0],19))),yt(e.b,r,l(ze(a,a.c.length-1),19))}function vJ(e,t,r){var o,a,u,f,p,m;if(t)if(r<=-1){if(o=Nt(t.Ah(),-1-r),ae(o,104))return l(o,20);for(f=l(t.Jh(o),164),p=0,m=f.gc();p<m;++p)if(be(f.Sl(p))===be(e)&&(a=f.Rl(p),ae(a,104)&&(u=l(a,20),u.Bb&Ws)))return u;throw Y(new es("The containment feature could not be located"))}else return Mo(l(Nt(e.Ah(),r),20));else return null}function zTn(e){var t,r,o,a,u,f,p,m,y,v;for(r=0,p=new V(e.d);p.a<p.c.c.length;)f=l(q(p),108),f.i&&(f.i.c=r++);for(t=Yw(uu,[Pe,Ad],[172,30],16,[r,r],2),v=e.d,a=0;a<v.c.length;a++)if(m=(at(a,v.c.length),l(v.c[a],108)),m.i)for(u=a+1;u<v.c.length;u++)y=(at(u,v.c.length),l(v.c[u],108)),y.i&&(o=kwn(m,y),t[m.i.c][y.i.c]=o,t[y.i.c][m.i.c]=o);return t}function IC(){IC=K,Jte=new r0("ROOT_PROC",0),D_e=new r0("FAN_PROC",1),j_e=new r0("LEVEL_PROC",2),F_e=new r0("NEIGHBORS_PROC",3),P_e=new r0("LEVEL_HEIGHT",4),O_e=new r0("DIRECTION_PROC",5),$_e=new r0("NODE_POSITION_PROC",6),I_e=new r0("COMPACTION_PROC",7),M_e=new r0("LEVEL_COORDS",8),L_e=new r0("GRAPH_BOUNDS_PROC",9),R_e=new r0("DETREEIFYING_PROC",10)}function l0e(e,t){var r,o,a,u,f,p,m,y,v,T;for(T=ds(t),y=null,a=!1,p=0,v=oa(T.a).i;p<v;++p)f=l(dD(T,p,(u=l(oe(oa(T.a),p),88),m=u.c,ae(m,89)?l(m,29):(_t(),Ml))),29),r=l0e(e,f),r.dc()||(y?(a||(a=!0,y=new uP(y)),y.Fc(r)):y=r);return o=dvn(e,t),o.dc()?y||(At(),At(),Co):y?(a||(y=new uP(y)),y.Fc(o),y):o}function EJ(e,t){var r,o,a,u,f,p,m,y,v,T;for(T=ds(t),y=null,o=!1,p=0,v=oa(T.a).i;p<v;++p)u=l(dD(T,p,(a=l(oe(oa(T.a),p),88),m=a.c,ae(m,89)?l(m,29):(_t(),Ml))),29),r=EJ(e,u),r.dc()||(y?(o||(o=!0,y=new uP(y)),y.Fc(r)):y=r);return f=jvn(e,t),f.dc()?y||(At(),At(),Co):y?(o||(y=new uP(y)),y.Fc(f),y):f}function GTn(e,t){var r,o,a,u,f;for(e.c==null||e.c.length<t.c.length?e.c=we(uu,Ad,30,t.c.length,16,1):HN(e.c),e.a=new je,o=0,f=new V(t);f.a<f.c.c.length;)a=l(q(f),9),a.p=o++;for(r=new Ar,u=new V(t);u.a<u.c.c.length;)a=l(q(u),9),e.c[a.p]||(Zmt(e,a),r.b==0||(un(r.b!=0),l(r.a.a.c,16)).gc()<e.a.c.length?Zv(r,e.a):Eo(r,e.a),e.a=new je);return r}function qTn(e,t,r,o){var a,u,f;F(o.d.i,(Ie(),Cr))==null?Jn(t,Re(sr-(t.f.c+t.i.c)),new Kw(new Ls(Z(X(zx,1),Tx,17,0,[o])))):(f=0,u=o.d.i,r?(a=l(F(e.c,F1),15).a,f=a*l(F(u,(Be(),Vy)),15).a+l(F(u,Cr),15).a):f=l(F(o.d.i,Cr),15).a,ma(t,Re(f))?pi(l(Ht(t,Re(f)),47),o):Jn(t,Re(f),new Kw(new Ls(Z(X(zx,1),Tx,17,0,[o])))))}function aD(e,t,r){var o,a,u,f,p,m;if(ae(t,76))return _o(e,t,r);for(p=null,u=null,o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],pr(t,a.kd())&&(u=a.Jk(),ae(u,104)&&l(u,20).Bb&Ws)){p=a;break}return p&&(Ju(e.e)&&(m=u.Hk()?c1(e,4,u,t,null,nx(e,u,t,ae(u,104)&&(l(u,20).Bb&No)!=0),!0):c1(e,u.rk()?2:1,u,t,u.gk(),-1,!0),r?r.lj(m):r=m),r=aD(e,p,r)),r}function VTn(e,t,r){var o,a,u,f;if(f=za(e.e.Ah(),t),o=l(e.g,123),Lo(),l(t,69).vk()){for(u=0;u<e.i;++u)if(a=o[u],f.$l(a.Jk())&&pr(a,r))return _y(e,u),!0}else if(r!=null){for(u=0;u<e.i;++u)if(a=o[u],f.$l(a.Jk())&&pr(r,a.kd()))return _y(e,u),!0}else for(u=0;u<e.i;++u)if(a=o[u],f.$l(a.Jk())&&a.kd()==null)return _y(e,u),!0;return!1}function xyt(e,t,r,o){var a,u,f,p,m,y,v,T,N,O;for(f=Gw(t.c,r,o),T=new V(t.a);T.a<T.c.c.length;){for(v=l(q(T),9),br(v.n,f),O=new V(v.j);O.a<O.c.c.length;)for(N=l(q(O),12),u=new V(N.g);u.a<u.c.c.length;)for(a=l(q(u),17),ly(a.a,f),p=l(F(a,(Be(),ss)),79),p&&ly(p,f),y=new V(a.b);y.a<y.c.c.length;)m=l(q(y),70),br(m.n,f);Fe(e.a,v),v.a=e}}function WTn(e,t){var r,o,a,u,f;if(t.Tg("Node and Port Label Placement and Node Sizing",1),Ynt((KN(),new pW(e,!0,!0,new KFe))),l(F(e,(Ie(),xa)),24).Gc((Fo(),rl)))for(u=l(F(e,(Be(),Xy)),24),a=u.Gc((xu(),KL)),f=Ye(Ke(F(e,$Ae))),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),26),ei(lr(new Et(null,new St(r.a,16)),new YFe),new sot(u,a,f));t.Ug()}function kyt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,Nx),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new Vze))),De(e,Nx,HZ,Ge(Nke)),De(e,Nx,B0,kke),De(e,Nx,$0,8),De(e,Nx,qZ,Ge(ZOt)),De(e,Nx,qve,Ge(_ke)),De(e,Nx,Vve,Ge(xke)),De(e,Nx,UD,(Lt(),!1))}function KTn(e,t){var r,o,a,u,f,p,m;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),DEe)),m!=null)){for(o=new je,u=ky(m,"\\w"),f=0,p=u.length;f<p;++f)a=u[f],wt(a,"##other")?Fe(o,"!##"+_3(e,mc(t.ok()))):wt(a,"##local")?o.c.push(null):wt(a,KD)?Fe(o,_3(e,mc(t.ok()))):Ot(o.c,a);return o}return At(),At(),Co}function NE(e,t,r,o){this.e=e,this.k=l(F(e,(Ie(),t2)),317),this.g=we(Nh,vg,9,t,0,1),this.b=we(fi,Pe,347,t,7,1),this.a=we(Nh,vg,9,t,0,1),this.d=we(fi,Pe,347,t,7,1),this.j=we(Nh,vg,9,t,0,1),this.i=we(fi,Pe,347,t,7,1),this.p=we(fi,Pe,347,t,7,1),this.n=we(Yr,Pe,476,t,8,1),hO(this.n,(Lt(),!1)),this.f=we(Yr,Pe,476,t,8,1),hO(this.f,!0),this.o=r,this.c=o}function uD(e){var t,r,o,a,u,f,p,m;if(e.d)throw Y(new es((np(hee),NX+hee.k+CX)));for(e.c==(vi(),hf)&&RE(e,as),r=new V(e.a.a);r.a<r.c.c.length;)t=l(q(r),197),t.e=0;for(f=new V(e.a.b);f.a<f.c.c.length;)for(u=l(q(f),84),u.o=Li,a=u.f.Jc();a.Ob();)o=l(a.Pb(),84),++o.d.e;for(Jkn(e),m=new V(e.a.b);m.a<m.c.c.length;)p=l(q(m),84),p.k=!0;return e}function YTn(e,t){var r,o,a,u,f,p,m,y;for(p=new Rmt(e),r=new Ar,Wr(r,t,r.c.b,r.c);r.b!=0;){for(o=l(r.b==0?null:(un(r.b!=0),Vc(r,r.a.a)),114),o.d.p=1,f=new V(o.e);f.a<f.c.c.length;)a=l(q(f),342),Hbt(p,a),y=a.d,y.d.p==0&&Wr(r,y,r.c.b,r.c);for(u=new V(o.b);u.a<u.c.c.length;)a=l(q(u),342),Hbt(p,a),m=a.c,m.d.p==0&&Wr(r,m,r.c.b,r.c)}return p}function d0e(e,t){var r,o,a,u,f,p,m;if(!e.e[t.p]){for(e.e[t.p]=!0,e.a[t.p]=!0,u=new hn,r=be(F(e.c,(Be(),PT)))===be((g1(),Gy)),lo(Or(t),new tot(e,u,r)),f=new Ide(new Xh(u)),a=f.a.ec().Jc();a.Ob();)o=l(a.Pb(),15).a,p=l(l(Ht(u,Re(o)),47).a.ec().Jc().Pb(),17),!fo(p)&&(m=p.d.i,e.a[m.p]?li(e.b,l(Ht(u,Re(o)),18)):d0e(e,m));e.a[t.p]=!1}}function Nyt(e){var t,r,o,a,u;if(o=ue(ce(ve(e,(_n(),V6t)))),o!=1)for(i0(e,o*e.g,o*e.f),r=zen(won((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c),new $Ge)),u=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n),(!e.c&&(e.c=new ke(Gu,e,9,9)),e.c),r])));an(u);)a=l(en(u),278),a.ph(o*a.mh(),o*a.nh()),a.oh(o*a.lh(),o*a.kh()),t=l(a.mf(yNe),8),t&&(t.a*=o,t.b*=o)}function f0e(e,t,r){var o,a,u,f,p;if(f=(Lo(),l(t,69).vk()),wp(e.e,t)){if(t.Qi()&&G7(e,t,r,ae(t,104)&&(l(t,20).Bb&No)!=0))return!1}else for(p=za(e.e.Ah(),t),o=l(e.g,123),u=0;u<e.i;++u)if(a=o[u],p.$l(a.Jk()))return(f?pr(a,r):r==null?a.kd()==null:pr(r,a.kd()))?!1:(l(EE(e,u,f?l(r,76):gh(t,r)),76),!0);return Tn(e,f?l(r,76):gh(t,r))}function JTn(e,t,r,o,a){var u,f,p,m,y,v,T,N;for(f=new V(e.b);f.a<f.c.c.length;)for(u=l(q(f),26),N=QO(u.a),y=N,v=0,T=y.length;v<T;++v)switch(m=y[v],l(F(m,(Be(),Cs)),166).g){case 1:mSn(m),Oi(m,t),k1t(m,!0,o);break;case 3:tSn(m),Oi(m,r),k1t(m,!1,a)}for(p=new Xi(e.b,0);p.b<p.d.gc();)(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)).a.c.length==0&&Mu(p)}function XTn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(O=t.length,m=O,Yt(0,t.length),t.charCodeAt(0)==45?(T=-1,N=1,--O):(T=1,N=0),u=(IJ(),rxt)[10],a=O/u|0,z=O%u,z!=0&&++a,p=we(Rn,Qn,30,a,15,1),r=nxt[8],f=0,M=N+(z==0?u:z),U=N;U<m;U=M,M=U+u)o=Ec((io(U,M,t.length),t.substr(U,M-U)),Qi,sr),y=(Q_(),W1e(p,p,f,r)),y+=l1n(p,f,o),p[f++]=y;v=f,e.e=T,e.d=v,e.a=p,F3(e)}function ZTn(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(p=e.i,a=Ye(Ke(F(p,(Be(),Ky)))),v=0,o=0,y=new V(e.g);y.a<y.c.c.length;)m=l(q(y),17),f=fo(m),u=f&&a&&Ye(Ke(F(m,bm))),N=m.d.i,f&&u?++o:f&&!u?++v:ji(N).e==p?++o:++v;for(r=new V(e.e);r.a<r.c.c.length;)t=l(q(r),17),f=fo(t),u=f&&a&&Ye(Ke(F(t,bm))),T=t.c.i,f&&u?++v:f&&!u?++o:ji(T).e==p?++v:++o;return v-o}function Cyt(e,t){var r,o,a,u,f,p;if(!t.dc())if(l(t.Xb(0),295).d==(eT(),zy))$mn(e,t);else for(o=t.Jc();o.Ob();){switch(r=l(o.Pb(),295),r.d.g){case 5:K_(e,r,Vgn(e,r));break;case 0:K_(e,r,(f=r.f-r.c+1,p=(f-1)/2|0,r.c+p));break;case 4:K_(e,r,ofn(e,r));break;case 2:Dgt(r),K_(e,r,(u=xbe(r),u?r.c:r.f));break;case 1:Dgt(r),K_(e,r,(a=xbe(r),a?r.f:r.c))}Iwn(r.a)}}function h0e(e,t,r,o){var a,u,f;return f=new Cet(t,r),e.a?o?(a=l(wl(l(Ht(e.b,t),263)),263),++a.a,f.d=o.d,f.e=o.e,f.b=o,f.c=o,o.e?o.e.c=f:a.b=f,o.d?o.d.b=f:e.a=f,o.d=f,o.e=f):(l(wl(e.e),501).b=f,f.d=e.e,e.e=f,a=l(Ht(e.b,t),263),a?(++a.a,u=a.c,u.c=f,f.e=u,a.c=f):(Jn(e.b,t,a=new Ihe(f)),++e.c)):(e.a=e.e=f,Jn(e.b,t,new Ihe(f)),++e.c),++e.d,f}function SJ(e,t){var r,o,a,u,f;if(t.Tg("Network simplex",1),e.e.a.c.length<1){t.Ug();return}for(u=new V(e.e.a);u.a<u.c.c.length;)a=l(q(u),126),a.e=0;for(f=e.e.a.c.length>=40,f&&BAn(e),exn(e),ySn(e),r=hgt(e),o=0;r&&o<e.f;)rAn(e,r,SEn(e,r)),r=hgt(e),++o;f&&X0n(e),e.a?DEn(e,Syt(e)):Syt(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 QTn(e,t){var r,o,a,u,f,p,m;if(!t.e){for(t.e=!0,o=t.d.a.ec().Jc();o.Ob();){if(r=l(o.Pb(),17),t.o&&t.d.a.gc()<=1){f=t.a.c,p=t.a.c+t.a.b,m=new Me(f+(p-f)/2,t.b),Gn(l(t.d.a.ec().Jc().Pb(),17).a,m);continue}if(a=l(Ht(t.c,r),460),a.b||a.c){BTn(e,r,t);continue}u=e.d==(R_(),JI)&&(a.d||a.e)&&Vvn(e,t)&&t.d.a.gc()<=1,u?Mkn(r,t):XSn(e,r,t)}t.k&&lo(t.d,new AFe)}}function p0e(e,t,r,o,a,u){var f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(N=u,p=(o+a)/2+N,z=r*b.Math.cos(p),J=r*b.Math.sin(p),ne=z-t.g/2,se=J-t.f/2,va(t,ne),gu(t,se),T=e.a.Dg(t),U=2*b.Math.acos(r/r+e.c),U<a-o?(O=U/T,f=(o+a-U)/2):(O=(a-o)/T,f=o),M=Ay(t),e.e&&(e.e.Eg(e.d),e.e.Fg(M)),y=new V(M);y.a<y.c.c.length;)m=l(q(y),19),v=e.a.Dg(m),p0e(e,m,r+e.c,f,f+O*v,u),f+=O*v}function eAn(e,t,r){var o;switch(o=r.q.getMonth(),t){case 5:zn(e,Z(X(Je,1),Pe,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[o]);break;case 4:zn(e,Z(X(Je,1),Pe,2,6,[tX,nX,rX,iX,lT,oX,sX,aX,uX,cX,lX,dX])[o]);break;case 3:zn(e,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[o]);break;default:bh(e,o+1,t)}}function tAn(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(m=new Me(r,o),Di(m,l(F(t,(h1(),SI)),8)),N=new V(t.e);N.a<N.c.c.length;)T=l(q(N),156),br(T.d,m),Fe(e.e,T);for(p=new V(t.c);p.a<p.c.c.length;){for(f=l(q(p),292),u=new V(f.a);u.a<u.c.c.length;)a=l(q(u),254),br(a.d,m);Fe(e.c,f)}for(v=new V(t.d);v.a<v.c.c.length;)y=l(q(v),448),br(y.d,m),Fe(e.d,y)}function g0e(e,t){var r,o,a,u,f,p,m,y;for(m=new V(t.j);m.a<m.c.c.length;)for(p=l(q(m),12),a=new Vd(p.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),r=o.c==p?o.d:o.c,u=r.i,t!=u&&(y=l(F(o,(Be(),ik)),15).a,y<0&&(y=0),f=u.p,e.c[f]==0&&(o.d==r?(e.a[f]-=y+1,e.a[f]<=0&&e.d[f]>0&&Gn(e.g,u)):(e.d[f]-=y+1,e.d[f]<=0&&e.a[f]>0&&Gn(e.f,u))))}function Iyt(e,t,r,o){var a,u,f,p,m,y,v;for(m=new Me(r,o),Di(m,l(F(t,(Nr(),ck)),8)),v=An(t.b,0);v.b!=v.d.c;)y=l(Sn(v),41),br(y.e,m),Gn(e.b,y);for(p=l(Au($he(new Et(null,new St(t.a,16))),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16).Jc();p.Ob();){for(f=l(p.Pb(),65),u=An(f.a,0);u.b!=u.d.c;)a=l(Sn(u),8),a.a+=m.a,a.b+=m.b;Gn(e.a,f)}}function b0e(e,t){var r,o,a,u;if(0<(ae(e,18)?l(e,18).gc():yd(e.Jc()))){if(a=t,1<a){for(--a,u=new EHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),u=Wc(Z(X(nl,1),Rt,22,0,[u,new Qh(r)]));return b0e(u,a)}if(a<0){for(u=new SHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),u=Wc(Z(X(nl,1),Rt,22,0,[u,new Qh(r)]));if(0<(ae(u,18)?l(u,18).gc():yd(u.Jc())))return b0e(u,a)}}return l(M8(e.Jc()),41)}function nAn(e,t,r){var o,a,u,f;for(r.Tg("Processor order nodes",2),e.b=ue(ce(F(t,(js(),sne)))),e.a=l(F(t,uw),87),e.a==(vi(),hf)&&(e.a=ff,Te(t,uw,e.a)),a=new Ar,f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),Ye(Ke(F(u,(Nr(),z1))))&&Wr(a,u,a.c.b,a.c);o=(un(a.b!=0),l(a.a.a.c,41)),kvt(e,o),r.eh(1),s0e(e,o,0-ue(ce(F(o,(Nr(),jB))))/2,0),r.eh(1),r.Ug()}function Uu(){Uu=K,Tk=new Xv("DEFAULT_MINIMUM_SIZE",0),QL=new Xv("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),dU=new Xv("COMPUTE_PADDING",2),C4=new Xv("OUTSIDE_NODE_LABELS_OVERHANG",3),fU=new Xv("PORTS_OVERHANG",4),pU=new Xv("UNIFORM_PORT_SPACING",5),hU=new Xv("SPACE_EFFICIENT_PORT_LABELS",6),xre=new Xv("FORCE_TABULAR_NODE_LABELS",7),ZL=new Xv("ASYMMETRICAL",8)}function TJ(e,t){var r,o,a,u,f,p,m,y;if(t){if(r=(u=t.Ah(),u?mc(u).ti().pi(u):null),r){for(Jb(e,t,r),a=t.Ah(),m=0,y=(a.i==null&&Ff(a),a.i).length;m<y;++m)p=(o=(a.i==null&&Ff(a),a.i),m>=0&&m<o.length?o[m]:null),p.pk()&&!p.qk()&&(ae(p,336)?wbn(e,l(p,38),t,r):(f=l(p,20),f.Bb&Ws&&N0n(e,f,t,r)));t.Sh()&&l(r,52).bi(l(t,52).Yh())}return r}else return null}function rAn(e,t,r){var o,a,u;if(!t.f)throw Y(new jt("Given leave edge is no tree edge."));if(r.f)throw Y(new jt("Given enter edge is a tree edge already."));for(t.f=!1,mde(e.p,t),r.f=!0,pi(e.p,r),o=r.e.e-r.d.e-r.a,iJ(e,r.e,t)||(o=-o),u=new V(e.e.a);u.a<u.c.c.length;)a=l(q(u),126),iJ(e,a,t)||(a.e+=o);e.j=1,HN(e.c),fme(e,l(q(new V(e.e.a)),126)),$vt(e)}function Ryt(e,t){var r,o,a,u,f,p;if(p=l(F(t,(Be(),Zr)),103),p==(qi(),Oh)||p==fa)for(a=new Me(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,f=new V(e.a);f.a<f.c.c.length;)u=l(q(f),9),u.k==(zt(),mi)&&(r=l(F(u,(Ie(),Hs)),64),!(r!=(He(),Qt)&&r!=Kt)&&(o=ue(ce(F(u,nw))),p==Oh&&(o*=a),u.n.b=o-l(F(u,sw),8).b,Lj(u,!1,!0)))}function Oyt(e,t,r,o,a){r&&(!o||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.b],9).k==(zt(),ta)?aT(l(e.a[e.b],9),(vc(),Ih)):o&&(!r||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.c-1&e.a.length-1],9).k==(zt(),ta)?aT(l(e.a[e.c-1&e.a.length-1],9),(vc(),q1)):(e.c-e.b&e.a.length-1)==2?(aT(l(Q3(e),9),(vc(),Ih)),aT(l(Q3(e),9),q1)):PEn(e,a),spe(e)}function iAn(e){var t,r,o,a,u,f,p,m;for(m=new hn,t=new XG,f=e.Jc();f.Ob();)a=l(f.Pb(),9),p=o0(lO(new Tb,a),t),eu(m.f,a,p);for(u=e.Jc();u.Ob();)for(a=l(u.Pb(),9),o=new $t(qt(Or(a).a.Jc(),new D));an(o);)r=l(en(o),17),!fo(r)&&Ql($l(Ul(Bl(Hl(new gl,b.Math.max(1,l(F(r,(Be(),UAe)),15).a)),1),l(Ht(m,r.c.i),126)),l(Ht(m,r.d.i),126)));return t}function Dyt(e,t,r,o){var a,u,f,p,m,y,v,T,N,O;if(Nfn(e,t,r),u=t[r],O=o?(He(),Kt):(He(),Qt),Ftn(t.length,r,o)){for(a=t[o?r-1:r+1],Ape(e,a,o?(jo(),Ba):(jo(),Cu)),m=u,v=0,N=m.length;v<N;++v)f=m[v],X1e(e,f,O);for(Ape(e,u,o?(jo(),Cu):(jo(),Ba)),p=a,y=0,T=p.length;y<T;++y)f=p[y],f.e||X1e(e,f,P6(O))}else for(p=u,y=0,T=p.length;y<T;++y)f=p[y],X1e(e,f,O);return!1}function oAn(e,t,r,o,a){var u,f,p,m,y,v,T;for(At(),xi(e,new PGe),p=new Xi(e,0),T=new je,u=0;p.b<p.d.gc();)f=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),168)),T.c.length!=0&&hu(f)*ec(f)>u*2?(v=new hj(T),y=hu(f)/ec(f),m=zJ(v,t,new oS,r,o,a,y),br(wd(v.e),m),T.c.length=0,u=0,Ot(T.c,v),Ot(T.c,f),u=hu(v)*ec(v)+hu(f)*ec(f)):(Ot(T.c,f),u+=hu(f)*ec(f));return T}function sAn(e,t){var r,o,a,u,f,p,m;for(t.Tg("Port order processing",1),m=l(F(e,(Be(),BAe)),426),o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),9),f=l(F(a,Zr),103),p=a.j,f==(qi(),_m)||f==Oh||f==fa?(At(),xi(p,PSe)):f!=pf&&f!=W1&&(At(),xi(p,pNt),Ibn(p),m==(g6(),Hte)&&xi(p,hNt)),a.i=!0,cme(a);t.Ug()}function aAn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;if(Ju(e.e)){if(t!=r&&(a=l(e.g,123),O=a[r],f=O.Jk(),wp(e.e,f))){for(M=za(e.e.Ah(),f),m=-1,p=-1,o=0,y=0,T=t>r?t:r;y<=T;++y)y==r?p=o++:(u=a[y],v=M.$l(u.Jk()),y==t&&(m=y==T&&!v?o-1:o),v&&++o);return N=l(uC(e,t,r),76),p!=m&&LA(e,new a6(e.e,7,f,Re(p),O.kd(),m)),N}}else return l(sJ(e,t,r),76);return l(uC(e,t,r),76)}function m0e(e,t){var r,o,a,u,f,p,m,y,v,T;for(T=0,u=new iE,l1(u,t);u.b!=u.c;)for(m=l(CS(u),221),y=0,v=l(F(t.j,(Be(),Ch)),270),l(F(t.j,FI),330),f=ue(ce(F(t.j,bL))),p=ue(ce(F(t.j,dte))),v!=(bp(),B1)&&(y+=f*zEn(t.j,m.e,v),y+=p*NTn(t.j,m.e)),T+=J1t(m.d,m.e)+y,a=new V(m.b);a.a<a.c.c.length;)o=l(q(a),37),r=l(ze(e.b,o.p),221),r.s||(T+=x7(e,r));return T}function Lyt(){Lyt=K,D4t=$n(new ui,(Vi(),da),(Zi(),ESe)),N_e=$n(new ui,la,k$),M4t=Ra($n(new ui,la,M$),Ho,L$),O4t=Ra($n($n(new ui,la,bSe),da,mSe),Ho,wSe),P4t=Pf(Pf(ZN(Ra($n(new ui,id,$$),Ho,F$),da),j$),B$),L4t=Ra(new ui,Ho,SSe),I4t=Ra($n($n($n(new ui,kh,C$),da,R$),da,Gx),Ho,I$),R4t=Ra($n($n(new ui,da,Gx),da,x$),Ho,_$)}function uAn(e,t,r,o,a,u){var f,p,m,y,v,T,N;for(y=fpt(t)-fpt(e),f=lmt(t,y),m=Ua(0,0,0);y>=0&&(p=gmn(e,f),!(p&&(y<22?m.l|=1<<y:y<44?m.m|=1<<y-22:m.h|=1<<y-44,e.l==0&&e.m==0&&e.h==0)));)v=f.m,T=f.h,N=f.l,f.h=T>>>1,f.m=v>>>1|(T&1)<<21,f.l=N>>>1|(v&1)<<21,--y;return r&&PK(m),u&&(o?(O1=k_(e),a&&(O1=qht(O1,(m_(),YEe)))):O1=Ua(e.l,e.m,e.h)),m}function cAn(e,t){var r,o,a,u,f,p,m,y,v,T;for(y=e.e[t.c.p][t.p]+1,m=t.c.a.c.length+1,p=new V(e.a);p.a<p.c.c.length;){for(f=l(q(p),12),T=0,u=0,a=hh(Wc(Z(X(nl,1),Rt,22,0,[new DA(f),new tS(f)])));an(a);)o=l(en(a),12),o.i.c==t.c&&(T+=Rtn(e,o.i)+1,++u);r=T/u,v=f.j,v==(He(),Qt)?r<y?e.f[f.p]=e.c-r:e.f[f.p]=e.b+(m-r):v==Kt&&(r<y?e.f[f.p]=e.b+r:e.f[f.p]=e.c-(m-r))}}function Ec(e,t,r){var o,a,u,f,p;if(e==null)throw Y(new kf(tu));for(u=e.length,f=u>0&&(Yt(0,e.length),e.charCodeAt(0)==45||(Yt(0,e.length),e.charCodeAt(0)==43))?1:0,o=f;o<u;o++)if(Jgt((Yt(o,e.length),e.charCodeAt(o)))==-1)throw Y(new kf(F0+e+'"'));if(p=parseInt(e,10),a=p<t,isNaN(p))throw Y(new kf(F0+e+'"'));if(a||p>r)throw Y(new kf(F0+e+'"'));return p}function lAn(e){var t,r,o,a,u,f,p;for(f=new Ar,u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),117),UG(a,a.f.c.length),S9(a,a.k.c.length),a.i==0&&(a.o=0,Wr(f,a,f.c.b,f.c));for(;f.b!=0;)for(a=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),117),o=a.o+1,r=new V(a.f);r.a<r.c.c.length;)t=l(q(r),135),p=t.a,rce(p,b.Math.max(p.o,o)),S9(p,p.i-1),p.i==0&&Wr(f,p,f.c.b,f.c)}function dAn(e){var t,r,o,a,u,f,p,m;for(f=new V(e);f.a<f.c.c.length;){for(u=l(q(f),74),o=Yo(l(oe((!u.b&&(u.b=new Tt(pn,u,4,7)),u.b),0),83)),p=o.i,m=o.j,a=l(oe((!u.a&&(u.a=new ke(jr,u,6,6)),u.a),0),171),NO(a,a.j+p,a.k+m),kO(a,a.b+p,a.c+m),r=new tn((!a.a&&(a.a=new yi(Ic,a,5)),a.a));r.e!=r.i.gc();)t=l(rn(r),373),cV(t,t.a+p,t.b+m);yge(l(ve(u,(_n(),p2)),79),p,m)}}function tx(e){var t;switch(e){case 100:return OE(gI,!0);case 68:return OE(gI,!1);case 119:return OE(xQ,!0);case 87:return OE(xQ,!1);case 115:return OE(kQ,!0);case 83:return OE(kQ,!1);case 99:return OE(NQ,!0);case 67:return OE(NQ,!1);case 105:return OE(CQ,!0);case 73:return OE(CQ,!1);default:throw Y(new Es((t=e,k_t+t.toString(16))))}}function fAn(e){var t,r,o,a,u;switch(a=l(ze(e.a,0),9),t=new Xd(e),Fe(e.a,t),t.o.a=b.Math.max(1,a.o.a),t.o.b=b.Math.max(1,a.o.b),t.n.a=a.n.a,t.n.b=a.n.b,l(F(a,(Ie(),Hs)),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 o=new aa,As(o,t),r=new p0,u=l(ze(a.j,0),12),bo(r,u),Ji(r,o),br(wd(o.n),u.n),br(wd(o.a),u.a),t}function Zc(e,t,r,o){var a,u,f,p,m,y,v,T,N,O;for(a=t,p=r,o<0&&(a=r,p=t),u=l(Ht(e.a,a),47),m=l(Ht(e.a,p),47),f=l(Ht(e.e,a),47),y=l(Ht(e.e,p),47),u.a.yc(p,u),y.a.yc(a,y),O=m.a.ec().Jc();O.Ob();)N=l(O.Pb(),12),u.a.yc(N,u),pi(l(Ht(e.e,N),47),a),mo(l(Ht(e.e,N),47),f);for(T=f.a.ec().Jc();T.Ob();)v=l(T.Pb(),12),y.a.yc(v,y),pi(l(Ht(e.a,v),47),p),mo(l(Ht(e.a,v),47),m)}function hAn(e,t,r){var o,a,u,f,p;for(u=0,a=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));a.e!=a.i.gc();)o=l(rn(a),19),f="",(!o.n&&(o.n=new ke(Rs,o,1,7)),o.n).i==0||(f=l(oe((!o.n&&(o.n=new ke(Rs,o,1,7)),o.n),0),158).a),p=new FK(u++,t,f),qs(p,o),Te(p,(Nr(),i4),o),p.e.b=o.j+o.f/2,p.f.a=b.Math.max(o.g,1),p.e.a=o.i+o.g/2,p.f.b=b.Math.max(o.f,1),Gn(t.b,p),eu(r.f,o,p)}function w0e(e,t,r){var o,a,u,f;if(t[0]>=e.length)return r.o=0,!0;switch(co(e,t[0])){case 43:a=1;break;case 45:a=-1;break;default:return r.o=0,!0}if(++t[0],u=t[0],f=k7(e,t),f==0&&t[0]==u)return!1;if(t[0]<e.length&&co(e,t[0])==58){if(o=f*60,++t[0],u=t[0],f=k7(e,t),f==0&&t[0]==u)return!1;o+=f}else o=f,o<24&&t[0]-u<=2?o*=60:o=o%100+(o/100|0)*60;return o*=a,r.o=-o,!0}function pAn(e){var t,r,o,a,u,f,p,m,y;for(f=new je,o=new $t(qt(Or(e.b).a.Jc(),new D));an(o);)r=l(en(o),17),fo(r)&&Fe(f,new Alt(r,ldt(e,r.c),ldt(e,r.d)));for(y=(u=new Zh(e.e).a.vc().Jc(),new Lw(u));y.a.Ob();)p=(t=l(y.a.Pb(),45),l(t.kd(),114)),p.d.p=0;for(m=(a=new Zh(e.e).a.vc().Jc(),new Lw(a));m.a.Ob();)p=(t=l(m.a.Pb(),45),l(t.kd(),114)),p.d.p==0&&Fe(e.d,YTn(e,p))}function gAn(e,t){var r,o,a,u,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(u=l(q(f),26),y=new V(u.a);y.a<y.c.c.length;){for(m=l(q(y),9),v=new je,p=0,o=new $t(qt(si(m).a.Jc(),new D));an(o);)r=l(en(o),17),!(fo(r)||!fo(r)&&r.c.i.c==r.d.i.c)&&(a=l(F(r,(Be(),FT)),15).a,a>p&&(p=a,v.c.length=0),a==p&&Fe(v,new ko(r.c.i,r)));At(),xi(v,e.c),Nb(e.b,m.p,v)}}function bAn(e,t){var r,o,a,u,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(u=l(q(f),26),y=new V(u.a);y.a<y.c.c.length;){for(m=l(q(y),9),v=new je,p=0,o=new $t(qt(Or(m).a.Jc(),new D));an(o);)r=l(en(o),17),!(fo(r)||!fo(r)&&r.c.i.c==r.d.i.c)&&(a=l(F(r,(Be(),FT)),15).a,a>p&&(p=a,v.c.length=0),a==p&&Fe(v,new ko(r.d.i,r)));At(),xi(v,e.c),Nb(e.f,m.p,v)}}function mAn(e){var t,r,o,a,u,f,p;for(u=Gd(e),a=new tn((!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e));a.e!=a.i.gc();)if(o=l(rn(a),74),p=Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)),!uy(p,u))return!0;for(r=new tn((!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d));r.e!=r.i.gc();)if(t=l(rn(r),74),f=Yo(l(oe((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83)),!uy(f,u))return!0;return!1}function wAn(e){var t,r,o,a,u;o=l(F(e,(Ie(),mr)),19),u=l(ve(o,(Be(),mm)),185).Gc((sc(),xm)),e.e||(a=l(F(e,xa),24),t=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),a.Gc((Fo(),rl))?(Vn(o,Zr,(qi(),fa)),M0(o,t.a,t.b,!1,!0)):Ye(Ke(ve(o,Tte)))||M0(o,t.a,t.b,!0,!0)),u?Vn(o,mm,ct(xm)):Vn(o,mm,(r=l(md(N4),10),new Hc(r,l(Gl(r,r.length),10),0)))}function yAn(e,t){var r,o,a,u,f,p,m,y;if(y=Ke(F(t,(js(),mRt))),y==null||(Mt(y),y)){for(qvn(e,t),a=new je,m=An(t.b,0);m.b!=m.d.c;)f=l(Sn(m),41),r=tme(e,f,null),r&&(qs(r,t),Ot(a.c,r));if(e.a=null,e.b=null,a.c.length>1)for(o=new V(a);o.a<o.c.c.length;)for(r=l(q(o),121),u=0,p=An(r.b,0);p.b!=p.d.c;)f=l(Sn(p),41),f.g=u++;return a}return Wl(Z(X(tCn,1),H2t,121,0,[t]))}function vAn(e,t){var r,o,a,u,f,p;for(a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),u=F(o,(Ie(),mr)),ae(u,12)&&(f=l(u,12),p=evt(t,o,f.o.a,f.o.b),f.n.a=p.a,f.n.b=p.b,Ci(f,l(F(o,Hs),64)));r=new Me(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),l(F(t,(Ie(),xa)),24).Gc((Fo(),rl))?(Te(e,(Be(),Zr),(qi(),fa)),l(F(ji(e),xa),24).Ec(Qx),Gvt(e,r,!1)):Gvt(e,r,!0)}function EAn(e){var t,r,o,a,u,f,p,m;for(m=new Lu,t=An(e,0),p=null,r=l(Sn(t),8),a=l(Sn(t),8);t.b!=t.d.c;)p=r,r=a,a=l(Sn(t),8),u=Aft(Di(new Me(p.a,p.b),r)),f=Aft(Di(new Me(a.a,a.b),r)),o=10,o=b.Math.min(o,b.Math.abs(u.a+u.b)/2),o=b.Math.min(o,b.Math.abs(f.a+f.b)/2),u.a=GO(u.a)*o,u.b=GO(u.b)*o,f.a=GO(f.a)*o,f.b=GO(f.b)*o,Gn(m,br(u,r)),Gn(m,br(f,r));return m}function SAn(e,t,r){var o,a,u,f,p,m;if(r.Tg("Minimize Crossings "+e.a,1),o=t.b.c.length==0||!BA(lr(new Et(null,new St(t.b,16)),new RA(new AUe))).zd((_b(),TT)),m=t.b.c.length==1&&l(ze(t.b,0),26).a.c.length==1,u=be(F(t,(Be(),Wy)))===be((pp(),Ig)),o||m&&!u){r.Ug();return}a=fSn(e,t),f=(p=l(sa(a,0),221),p.c.ig()?p.c.cg()?new TJe(e):new AJe(e):new SJe(e)),Apn(a,f),egn(e),r.Ug()}function Sc(e,t,r,o){var a,u,f,p,m;return f=e.Mh(),m=e.Gh(),a=null,m?t&&!(vJ(e,t,r).Bb&No)?(o=_o(m.Cl(),e,o),e.ai(null),a=t.Nh()):m=null:(f&&(m=f.Nh()),t&&(a=t.Nh())),m!=a&&m&&m.Gl(e),p=e.Ch(),e.yh(t,r),m!=a&&a&&a.Fl(e),e.sh()&&e.th()&&(f&&p>=0&&p!=r&&(u=new Pi(e,1,p,f,null),o?o.lj(u):o=u),r>=0&&(u=new Pi(e,1,r,p==r?f:null,t),o?o.lj(u):o=u)),o}function Myt(e){var t,r,o;if(e.b==null){if(o=new Xp,e.i!=null&&(Vo(o,e.i),o.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(ban(e.i)||(o.a+="//"),Vo(o,e.a)),e.d!=null&&(o.a+="/",Vo(o,e.d)),e.f&16&&(o.a+="/"),t=0,r=e.j.length;t<r;t++)t!=0&&(o.a+="/"),Vo(o,e.j[t]);e.g!=null&&(o.a+="?",Vo(o,e.g))}else Vo(o,e.a);e.e!=null&&(o.a+="#",Vo(o,e.e)),e.b=o.a}return e.b}function TAn(e,t,r,o,a){var u,f,p,m;u=new Xd(e),Jh(u,(zt(),_a)),Te(u,(Be(),Zr),(qi(),fa)),Te(u,(Ie(),mr),t.c.i),f=new aa,Te(f,mr,t.c),Ci(f,a),As(f,u),Te(t.c,Nu,u),p=new Xd(e),Jh(p,_a),Te(p,Zr,fa),Te(p,mr,t.d.i),m=new aa,Te(m,mr,t.d),Ci(m,a),As(m,p),Te(t.d,Nu,p),bo(t,f),Ji(t,m),ry(0,r.c.length),t3(r.c,0,u),Ot(o.c,p),Te(u,nB,Re(1)),Te(p,nB,Re(1))}function AAn(e,t,r,o){var a,u,f,p,m;if(m=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),a=Dn(wo(Sh,ph(Dn(wo(r==null?0:Rr(r),Th)),15))),p=J3(e,t,m),f=Y3(e,r,a),p&&a==p.a&&rp(r,p.g))return r;if(f)throw Y(new jt("key already present: "+r));return p&&kE(e,p),f&&kE(e,f),u=new TP(r,a,t,m),Z6(e,u,f),f&&(f.e=null,f.c=null),p&&(p.e=null,p.c=null),bbt(e),p?p.g:null}function Pyt(e,t,r){var o,a,u,f,p;for(u=0;u<t;u++){for(o=0,p=u+1;p<t;p++)o=Ao(Ao(wo(Gi(e[u],$o),Gi(e[p],$o)),Gi(r[u+p],$o)),Gi(Dn(o),$o)),r[u+p]=Dn(o),o=Rb(o,32);r[u+t]=Dn(o)}for(chn(r,r,t<<1),o=0,a=0,f=0;a<t;++a,f++)o=Ao(Ao(wo(Gi(e[a],$o),Gi(e[a],$o)),Gi(r[f],$o)),Gi(Dn(o),$o)),r[f]=Dn(o),o=Rb(o,32),++f,o=Ao(o,Gi(r[f],$o)),r[f]=Dn(o),o=Rb(o,32);return r}function jyt(e,t,r){var o,a,u,f,p,m,y,v;if(!iy(t)){for(m=ue(ce(by(r.c,(Be(),GI)))),y=l(by(r.c,EL),125),!y&&(y=new FN),o=r.a,a=null,p=t.Jc();p.Ob();)f=l(p.Pb(),12),v=0,a?(v=m,v+=a.o.b):v=y.d,u=o0(lO(new Tb,f),e.f),Jn(e.k,f,u),Ql($l(Ul(Bl(Hl(new gl,0),go(b.Math.ceil(v))),o),u)),a=f,o=u;Ql($l(Ul(Bl(Hl(new gl,0),go(b.Math.ceil(y.a+a.o.b))),o),r.d))}}function _An(e,t,r,o,a,u,f,p){var m,y,v,T,N,O;return O=!1,N=u-r.s,v=r.t-t.f+(y=MC(r,N,!1),y.a),o.g+p>N?!1:(T=(m=MC(o,N,!1),m.a),v+p+T<=t.b&&(u6(r,u-r.s),r.c=!0,u6(o,u-r.s),U6(o,r.s,r.t+r.d+p),o.k=!0,Ege(r.q,o),O=!0,a&&(yj(t,o),o.j=t,e.c.length>f&&(q6((at(f,e.c.length),l(e.c[f],189)),o),(at(f,e.c.length),l(e.c[f],189)).a.c.length==0&&sg(e,f)))),O)}function xAn(e,t){var r,o,a,u,f,p;if(t.Tg("Partition midprocessing",1),a=new b0,ei(lr(new Et(null,new St(e.a,16)),new g$e),new $Ye(a)),a.d!=0){for(p=l(Au(Hhe((u=a.i,new Et(null,(u||(a.i=new sE(a,a.c))).Lc()))),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),o=p.Jc(),r=l(o.Pb(),15);o.Ob();)f=l(o.Pb(),15),w2n(l(wr(a,r),24),l(wr(a,f),24)),r=f;t.Ug()}}function RC(e,t){var r,o,a,u,f;if(e.Ab){if(e.Ab){if(f=e.Ab.i,f>0){if(a=l(e.Ab.g,2012),t==null){for(u=0;u<f;++u)if(r=a[u],r.d==null)return r}else for(u=0;u<f;++u)if(r=a[u],wt(t,r.d))return r}}else if(t==null){for(o=new tn(e.Ab);o.e!=o.i.gc();)if(r=l(rn(o),594),r.d==null)return r}else for(o=new tn(e.Ab);o.e!=o.i.gc();)if(r=l(rn(o),594),wt(t,r.d))return r}return null}function Fyt(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;O=wln(e,Cge(t),a),fge(O,sp(a,qf)),w=null,M=a,U=B3(M,ZTt),z=new SXe(O),umt(z.a,U),J=B3(M,"endPoint"),ne=new xXe(O),amt(ne.a,J),se=m0(M,HF),de=new CXe(O),Obt(de.a,se),T=sp(a,gEe),u=new rnt(e,O),Iit(u.a,u.b,T),N=sp(a,pEe),f=new int(e,O),Rit(f.a,f.b,N),y=m0(a,mEe),p=new cnt(r,O),nbt(p.b,p.a,y),v=m0(a,bEe),m=new lnt(o,O),rbt(m.b,m.a,v)}function $yt(e,t,r){var o,a,u,f,p,m,y,v;if(t.p==0){for(t.p=1,f=r,f||(a=new je,u=(o=l(md(Io),10),new Hc(o,l(Gl(o,o.length),10),0)),f=new ko(a,u)),l(f.a,16).Ec(t),t.k==(zt(),mi)&&l(f.b,24).Ec(l(F(t,(Ie(),Hs)),64)),m=new V(t.j);m.a<m.c.c.length;)for(p=l(q(m),12),v=hh(Wc(Z(X(nl,1),Rt,22,0,[new DA(p),new tS(p)])));an(v);)y=l(en(v),12),$yt(e,y.i,f);return f}return null}function y0e(e,t,r){var o,a,u,f,p;switch(p=null,t.g){case 1:for(a=new V(e.j);a.a<a.c.c.length;)if(o=l(q(a),12),Ye(Ke(F(o,(Ie(),nte)))))return o;p=new aa,Te(p,(Ie(),nte),(Lt(),!0));break;case 2:for(f=new V(e.j);f.a<f.c.c.length;)if(u=l(q(f),12),Ye(Ke(F(u,(Ie(),ite)))))return u;p=new aa,Te(p,(Ie(),ite),(Lt(),!0))}return p&&(As(p,e),Ci(p,r),Abn(p.n,e.o,r)),p}function Byt(e,t){var r,o,a,u,f,p;for(p=-1,f=new Ar,o=new Vd(e.b);Ts(o.a)||Ts(o.b);){for(r=l(Ts(o.a)?q(o.a):q(o.b),17),p=b.Math.max(p,ue(ce(F(r,(Be(),_g))))),r.c==e?ei(lr(new Et(null,new St(r.b,16)),new dFe),new NYe(f)):ei(lr(new Et(null,new St(r.b,16)),new fFe),new CYe(f)),u=An(f,0);u.b!=u.d.c;)a=l(Sn(u),70),gr(a,(Ie(),IT))||Te(a,IT,r);li(t,f),tc(f)}return p}function L0(e,t,r,o,a){var u,f,p,m,y;p=a?o.b:o.a,!bl(e.a,o)&&(y=p>r.s&&p<r.c,m=!1,r.e.b!=0&&r.j.b!=0&&(m=m|(b.Math.abs(p-ue(ce(YA(r.e))))<Hf&&b.Math.abs(p-ue(ce(YA(r.j))))<Hf),m=m|(b.Math.abs(p-ue(ce(zl(r.e))))<Hf&&b.Math.abs(p-ue(ce(zl(r.j))))<Hf)),(y||m)&&(f=l(F(t,(Be(),ss)),79),f||(f=new Lu,Te(t,ss,f)),u=new So(o),Wr(f,u,f.c.b,f.c),pi(e.a,u)))}function kAn(e,t,r){var o,a,u,f,p,m,y,v,T;for(r.Tg("Processor set coordinates",1),e.a=t.b.b==0?1:t.b.b,y=null,o=An(t.b,0);!y&&o.b!=o.d.c;)T=l(Sn(o),41),Ye(Ke(F(T,(Nr(),z1))))&&(y=T,m=T.e,m.a=l(F(T,CL),15).a,m.b=l(F(T,IL),15).a);p=OK(y),v=1;do p=qwn((a=p,r.dh(v),a)),v=p.b/e.a|0;while(p.b!=0);for(f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),Di(u.e,new Me(u.f.a/2,u.f.b/2));r.Ug()}function NAn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(r=!1,v=ue(ce(F(t,(Be(),vm)))),M=wg*v,a=new V(t.b);a.a<a.c.c.length;)for(o=l(q(a),26),y=new V(o.a),u=l(q(y),9),T=ehe(e.a[u.p]);y.a<y.c.c.length;)p=l(q(y),9),N=ehe(e.a[p.p]),T!=N&&(O=rE(e.b,u,p),f=u.n.b+u.o.b+u.d.a+T.a+O,m=p.n.b-p.d.d+N.a,f>m+M&&(U=T.g+N.g,N.a=(N.g*N.a+T.g*T.a)/U,N.g=U,T.f=N,r=!0)),u=p,T=N;return r}function CAn(e,t,r){var o,a,u,f,p,m,y,v;for(r.Tg(FSt,1),Zs(e.b),Zs(e.a),p=null,u=An(t.b,0);!p&&u.b!=u.d.c;)y=l(Sn(u),41),Ye(Ke(F(y,(Nr(),z1))))&&(p=y);for(m=new Ar,Wr(m,p,m.c.b,m.c),yEt(e,m),v=An(t.b,0);v.b!=v.d.c;)y=l(Sn(v),41),f=In(F(y,(Nr(),r4))),a=wa(e.b,f)!=null?l(wa(e.b,f),15).a:0,Te(y,ene,Re(a)),o=1+(wa(e.a,f)!=null?l(wa(e.a,f),15).a:0),Te(y,z_e,Re(o));r.Ug()}function Uyt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,V0),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new IGe))),De(e,V0,B0,Kke),De(e,V0,$0,15),De(e,V0,CD,Re(0)),De(e,V0,tEe,Ge(qke)),De(e,V0,ME,Ge(C6t)),De(e,V0,bT,Ge(I6t)),De(e,V0,mx,fTt),De(e,V0,wx,Ge(Vke)),De(e,V0,mT,Ge(Wke)),De(e,V0,nEe,Ge(are)),De(e,V0,CF,Ge(N6t))}function Hyt(e,t){var r,o,a,u,f,p,m,y,v;if(a=e.i,f=a.o.a,u=a.o.b,f<=0&&u<=0)return He(),Is;switch(y=e.n.a,v=e.n.b,p=e.o.a,r=e.o.b,t.g){case 2:case 1:if(y<0)return He(),Kt;if(y+p>f)return He(),Qt;break;case 4:case 3:if(v<0)return He(),Wt;if(v+r>u)return He(),dn}return m=(y+p/2)/f,o=(v+r/2)/u,m+o<=1&&m-o<=0?(He(),Kt):m+o>=1&&m-o>=0?(He(),Qt):o<.5?(He(),Wt):(He(),dn)}function zyt(e,t,r,o,a,u,f){var p,m,y,v,T,N;for(N=new wS,y=t.Jc();y.Ob();)for(p=l(y.Pb(),845),T=new V(p.Pf());T.a<T.c.c.length;)v=l(q(T),190),be(v.mf((_n(),dre)))===be((Kd(),vk))&&(Eyt(N,v,!1,o,a,u,f),yC(e,N));for(m=r.Jc();m.Ob();)for(p=l(m.Pb(),845),T=new V(p.Pf());T.a<T.c.c.length;)v=l(q(T),190),be(v.mf((_n(),dre)))===be((Kd(),fv))&&(Eyt(N,v,!0,o,a,u,f),yC(e,N))}function IAn(e,t,r){var o,a,u,f,p,m,y;for(f=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));f.e!=f.i.gc();)for(u=l(rn(f),19),a=new $t(qt(mp(u).a.Jc(),new D));an(a);)o=l(en(a),74),!AC(o)&&!AC(o)&&!R0(o)&&(m=l(Ss(ts(r.f,u)),41),y=l(Ht(r,Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83))),41),m&&y&&(p=new Nhe(m,y),Te(p,(Nr(),i4),o),qs(p,o),Gn(m.d,p),Gn(y.b,p),Gn(t.a,p)))}function RAn(e,t){var r,o,a,u,f,p,m,y;for(m=l(l(wr(e.r,t),24),85).Jc();m.Ob();)p=l(m.Pb(),116),a=p.c?Tot(p.c):0,a>0?p.a?(y=p.b.Kf().b,a>y&&(e.v||p.c.d.c.length==1?(f=(a-y)/2,p.d.d=f,p.d.a=f):(r=l(ze(p.c.d,0),190).Kf().b,o=(r-y)/2,p.d.d=b.Math.max(0,o),p.d.a=a-o-y))):p.d.a=e.t+a:k3(e.u)&&(u=jbe(p.b),u.d<0&&(p.d.d=-u.d),u.d+u.a>p.b.Kf().b&&(p.d.a=u.d+u.a-p.b.Kf().b))}function ed(){ed=K,AT=new Mi((_n(),HL),Re(1)),v$=new Mi(Od,80),vkt=new Mi(ANe,5),lkt=new Mi(gk,bx),wkt=new Mi(vre,Re(1)),ykt=new Mi(Ere,(Lt(),!0)),R2e=new xb(50),bkt=new Mi(df,R2e),N2e=y4,O2e=bk,dkt=new Mi(rU,!1),I2e=v4,pkt=uv,gkt=G1,hkt=Am,fkt=g2,mkt=cv,C2e=(Wbe(),rkt),see=akt,y$=nkt,oee=ikt,D2e=skt,Tkt=wk,Akt=sU,Skt=dv,Ekt=mk,L2e=(VS(),pv),new Mi(VT,L2e)}function OAn(e,t){var r;switch(b6(e)){case 6:return zi(t);case 7:return Uw(t);case 8:return Bw(t);case 3:return Array.isArray(t)&&(r=b6(t),!(r>=14&&r<=16));case 11:return t!=null&&typeof t===KJ;case 12:return t!=null&&(typeof t===pD||typeof t==KJ);case 0:return vY(t,e.__elementTypeId$);case 2:return eW(t)&&t.Rm!==fe;case 1:return eW(t)&&t.Rm!==fe||vY(t,e.__elementTypeId$);default:return!0}}function DAn(e){var t,r,o,a;o=e.o,qw(),e.A.dc()||pr(e.A,T2e)?a=o.a:(e.D?a=b.Math.max(o.a,SC(e.f)):a=SC(e.f),e.A.Gc((sc(),JL))&&!e.B.Gc((Uu(),C4))&&(a=b.Math.max(a,SC(l(Wo(e.p,(He(),Wt)),256))),a=b.Math.max(a,SC(l(Wo(e.p,dn),256)))),t=Oht(e),t&&(a=b.Math.max(a,t.a))),Ye(Ke(e.e.Rf().mf((_n(),uv))))?o.a=b.Math.max(o.a,a):o.a=a,r=e.f.i,r.c=0,r.b=a,xJ(e.f)}function Gyt(e,t){var r,o,a,u;return o=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),u=b.Math.min(b.Math.abs(e.d-(t.d+t.a)),b.Math.abs(e.d+e.a-t.d)),r=b.Math.abs(e.c+e.b/2-(t.c+t.b/2)),r>e.b/2+t.b/2||(a=b.Math.abs(e.d+e.a/2-(t.d+t.a/2)),a>e.a/2+t.a/2)?1:r==0&&a==0?0:r==0?u/a+1:a==0?o/r+1:b.Math.min(o/r,u/a)+1}function LAn(e,t){var r,o,a,u,f,p,m;for(u=0,p=0,m=0,a=new V(e.f.e);a.a<a.c.c.length;)o=l(q(a),156),t!=o&&(f=e.i[t.a][o.a],u+=f,r=f1(t.d,o.d),r>0&&e.d!=(G3(),cee)&&(p+=f*(o.d.a+e.a[t.a][o.a]*(t.d.a-o.d.a)/r)),r>0&&e.d!=(G3(),aee)&&(m+=f*(o.d.b+e.a[t.a][o.a]*(t.d.b-o.d.b)/r)));switch(e.d.g){case 1:return new Me(p/u,t.d.b);case 2:return new Me(t.d.a,m/u);default:return new Me(p/u,m/u)}}function qyt(e){var t,r,o,a,u,f;for(r=(!e.a&&(e.a=new yi(Ic,e,5)),e.a).i+2,f=new Da(r),Fe(f,new Me(e.j,e.k)),ei(new Et(null,(!e.a&&(e.a=new yi(Ic,e,5)),new St(e.a,16))),new wXe(f)),Fe(f,new Me(e.b,e.c)),t=1;t<f.c.length-1;)o=(at(t-1,f.c.length),l(f.c[t-1],8)),a=(at(t,f.c.length),l(f.c[t],8)),u=(at(t+1,f.c.length),l(f.c[t+1],8)),o.a==a.a&&a.a==u.a||o.b==a.b&&a.b==u.b?sg(f,t):++t;return f}function Vyt(e,t){N_();var r,o,a,u,f;if(f=l(F(e.i,(Be(),Zr)),103),u=e.j.g-t.j.g,u!=0||!(f==(qi(),_m)||f==Oh||f==fa))return 0;if(f==(qi(),_m)&&(r=l(F(e,xg),15),o=l(F(t,xg),15),r&&o&&(a=r.a-o.a,a!=0)))return a;switch(e.j.g){case 1:return yr(e.n.a,t.n.a);case 2:return yr(e.n.b,t.n.b);case 3:return yr(t.n.a,e.n.a);case 4:return yr(t.n.b,e.n.b);default:throw Y(new es(Owe))}}function Wyt(e,t){var r,o,a,u,f,p,m;for(r=Prt(zet(Uet(Het(new Dce,t),new IP(t.e)),mNt),e.a),t.j.c.length==0||bdt(l(ze(t.j,0),60).a,r),m=new YG,Jn(e.e,r,m),f=new hi,p=new hi,u=new V(t.k);u.a<u.c.c.length;)a=l(q(u),17),pi(f,a.c),pi(p,a.d);o=f.a.gc()-p.a.gc(),o<0?(I6(m,!0,(vi(),as)),I6(m,!1,fs)):o>0&&(I6(m,!1,(vi(),as)),I6(m,!0,fs)),La(t.g,new wtt(e,r)),Jn(e.g,t,r)}function v0e(){v0e=K,hOt=new pt(kve,(Lt(),!1)),Re(-1),sOt=new pt(Nve,Re(-1)),Re(-1),aOt=new pt(Cve,Re(-1)),uOt=new pt(Ive,!1),cOt=new pt(Rve,!1),Uxe=(KP(),Dne),mOt=new pt(Ove,Uxe),wOt=new pt(Dve,-1),Bxe=(Wj(),Cne),bOt=new pt(Lve,Bxe),gOt=new pt(Mve,!0),Fxe=(ij(),Lne),fOt=new pt(Pve,Fxe),dOt=new pt(jve,!1),Re(1),lOt=new pt(Fve,Re(1)),$xe=(Uj(),Mne),pOt=new pt($ve,$xe)}function Kyt(){Kyt=K;var e;for(r2e=Z(X(Rn,1),Qn,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]),zQ=we(Rn,Qn,30,37,15,1),X_t=Z(X(Rn,1),Qn,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]),i2e=we(pw,p2t,30,37,14,1),e=2;e<=36;e++)zQ[e]=go(b.Math.pow(e,r2e[e])),i2e[e]=W6(wD,zQ[e])}function MAn(e){var t;if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i!=1)throw Y(new jt(PTt+(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i));return t=new Lu,RK(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))&&mo(t,jEt(e,RK(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)),!1)),RK(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))&&mo(t,jEt(e,RK(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83)),!0)),t}function Yyt(e,t){var r,o,a,u,f;for(t.d?a=e.a.c==(If(),aw)?si(t.b):Or(t.b):a=e.a.c==(If(),kg)?si(t.b):Or(t.b),u=!1,o=new $t(qt(a.a.Jc(),new D));an(o);)if(r=l(en(o),17),f=Ye(e.a.f[e.a.g[t.b.p].p]),!(!f&&!fo(r)&&r.c.i.c==r.d.i.c)&&!(Ye(e.a.n[e.a.g[t.b.p].p])||Ye(e.a.n[e.a.g[t.b.p].p]))&&(u=!0,bl(e.b,e.a.g[Xbn(r,t.b).p])))return t.c=!0,t.a=r,t;return t.c=u,t.a=null,t}function E0e(e,t,r){var o,a,u,f,p,m,y;if(o=r.gc(),o==0)return!1;if(e.Nj())if(m=e.Oj(),k1e(e,t,r),f=o==1?e.Gj(3,null,r.Jc().Pb(),t,m):e.Gj(5,null,r,t,m),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,a=t;a<u;++a)y=e.vj(a),p=e.Lj(y,p),p=p;p?(p.lj(f),p.mj()):e.Hj(f)}else e.Hj(f);else if(k1e(e,t,r),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,a=t;a<u;++a)p=e.Lj(e.vj(a),p);p&&p.mj()}return!0}function Jyt(e,t,r){var o,a,u,f,p;return e.Nj()?(a=null,u=e.Oj(),o=e.Gj(1,p=(f=e.Bj(t,e.Xi(t,r)),f),r,t,u),e.Kj()&&!(e.Wi()&&p?pr(p,r):be(p)===be(r))&&(p&&(a=e.Mj(p,a)),a=e.Lj(r,a)),a?(a.lj(o),a.mj()):e.Hj(o),p):(p=(f=e.Bj(t,e.Xi(t,r)),f),e.Kj()&&!(e.Wi()&&p?pr(p,r):be(p)===be(r))&&(a=null,p&&(a=e.Mj(p,null)),a=e.Lj(r,a),a&&a.mj()),p)}function S0e(e,t){var r,o,a,u,f,p,m,y,v;if(e.e=t,e.f=l(F(t,(h1(),E$)),237),Swn(t),e.d=b.Math.max(t.e.c.length*16+t.c.c.length,256),!Ye(Ke(F(t,(ed(),N2e)))))for(v=e.e.e.c.length,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),y=p.d,y.a=KV(e.f)*v,y.b=KV(e.f)*v;for(r=t.b,u=new V(t.c);u.a<u.c.c.length;)if(a=l(q(u),292),o=l(F(a,D2e),15).a,o>0){for(f=0;f<o;f++)Fe(r,new Ist(a));S0t(a)}}function PAn(e,t){var r,o,a,u,f,p,m,y,v,T;for(t.Tg("Hypernodes processing",1),a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),p=new V(o.a);p.a<p.c.c.length;)if(f=l(q(p),9),Ye(Ke(F(f,(Be(),pB))))&&f.j.c.length<=2){for(T=0,v=0,r=0,u=0,y=new V(f.j);y.a<y.c.c.length;)switch(m=l(q(y),12),m.j.g){case 1:++T;break;case 2:++v;break;case 3:++r;break;case 4:++u}T==0&&r==0&&VNn(e,f,u<=v)}t.Ug()}function Xyt(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M;if(N=new Qw(e.Yg()),Kl(t,or,N),r&&!e.Wg().a.dc())for(v=new Eb,Kl(t,"logs",v),p=0,M=new Gv(e.Wg().b.Jc());M.b.Ob();)O=In(M.b.Pb()),T=new Qw(O),ay(v,p),FW(v,p,T),++p;if(o&&(y=new E9(e.Vg()),Kl(t,"executionTime",y)),!e.Xg().a.dc())for(f=new Eb,Kl(t,cQ,f),p=0,u=new Gv(e.Xg().b.Jc());u.b.Ob();)a=l(u.b.Pb(),861),m=new aS,ay(f,p),FW(f,p,m),Xyt(a,m,r,o),++p}function T0e(){T0e=K,Sq(),GLt=new fWe,Z(X(YT,2),Pe,377,0,[Z(X(YT,1),s$,596,0,[new sO(m_t)])]),Z(X(YT,2),Pe,377,0,[Z(X(YT,1),s$,596,0,[new sO(jEe)])]),Z(X(YT,2),Pe,377,0,[Z(X(YT,1),s$,596,0,[new sO(w_t)]),Z(X(YT,1),s$,596,0,[new sO(jEe)])]),new o1("-1"),Z(X(YT,2),Pe,377,0,[Z(X(YT,1),s$,596,0,[new sO("\\c+")])]),new o1("0"),new o1("0"),new o1("1"),new o1("0"),new o1(A_t)}function jAn(e,t,r){var o,a,u,f,p,m,y,v,T;for(r.Tg("Hyperedge merging",1),dEn(e,t),m=new Xi(t.b,0);m.b<m.d.gc();)if(p=(un(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),26)),v=p.a,v.c.length!=0)for(o=null,a=null,u=null,f=null,y=0;y<v.c.length;y++)o=(at(y,v.c.length),l(v.c[y],9)),a=o.k,a==(zt(),gi)&&f==gi&&(T=M_n(o,u),T.a&&(jSn(o,u,T.b,T.c),at(y,v.c.length),cle(v.c,y,1),--y,o=u,a=f)),u=o,f=a;r.Ug()}function FAn(e,t,r,o,a){var u,f,p,m,y,v,T;for(f=new V(t);f.a<f.c.c.length;){if(u=l(q(f),17),m=u.c,r.a._b(m))y=(g0(),H1);else if(o.a._b(m))y=(g0(),u2);else throw Y(new jt("Source port must be in one of the port sets."));if(v=u.d,r.a._b(v))T=(g0(),H1);else if(o.a._b(v))T=(g0(),u2);else throw Y(new jt("Target port must be in one of the port sets."));p=new jmt(u,y,T),Jn(e.b,u,p),Ot(a.c,p)}}function z7(e){var t,r;return e.c&&e.c.Sh()&&(r=l(e.c,52),e.c=l(w1(e,r),146),e.c!=r&&(e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,9,2,r,e.c)),ae(e.Cb,408)?e.Db>>16==-15&&e.Cb.Vh()&&nK(new eK(e.Cb,9,13,r,e.c,gg(Fu(l(e.Cb,62)),e))):ae(e.Cb,89)&&e.Db>>16==-23&&e.Cb.Vh()&&(t=e.c,ae(t,89)||(t=(_t(),Ml)),ae(r,89)||(r=(_t(),Ml)),nK(new eK(e.Cb,9,10,r,t,gg(oa(l(e.Cb,29)),e)))))),e.c}function Zyt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;if(t==r)return!0;if(t=_me(e,t),r=_me(e,r),o=kY(t),o){if(v=kY(r),v!=o)return v?(m=o.kk(),M=v.kk(),m==M&&m!=null):!1;if(f=(!t.d&&(t.d=new yi(Go,t,1)),t.d),u=f.i,N=(!r.d&&(r.d=new yi(Go,r,1)),r.d),u==N.i){for(y=0;y<u;++y)if(a=l(oe(f,y),88),T=l(oe(N,y),88),!Zyt(e,a,T))return!1}return!0}else return p=t.e,O=r.e,p==O}function Qyt(e,t,r,o){var a,u,f,p,m,y,v,T;if(wp(e.e,t)){for(T=za(e.e.Ah(),t),u=l(e.g,123),v=null,m=-1,p=-1,a=0,y=0;y<e.i;++y)f=u[y],T.$l(f.Jk())&&(a==r&&(m=y),a==o&&(p=y,v=f.kd()),++a);if(m==-1)throw Y(new Ia(fQ+r+um+a));if(p==-1)throw Y(new Ia(hQ+o+um+a));return uC(e,m,p),Ju(e.e)&&LA(e,c1(e,7,t,Re(o),v,r,!0)),v}else throw Y(new jt("The feature must be many-valued to support move"))}function evt(e,t,r,o){var a,u,f,p,m;switch(m=new So(t.n),m.a+=t.o.a/2,m.b+=t.o.b/2,p=ue(ce(F(t,(Be(),Jy)))),u=e.f,f=e.d,a=e.c,l(F(t,(Ie(),Hs)),64).g){case 1:m.a+=f.b+a.a-r/2,m.b=-o-p,t.n.b=-(f.d+p+a.b);break;case 2:m.a=u.a+f.b+f.c+p,m.b+=f.d+a.b-o/2,t.n.a=u.a+f.c+p-a.a;break;case 3:m.a+=f.b+a.a-r/2,m.b=u.b+f.d+f.a+p,t.n.b=u.b+f.a+p-a.b;break;case 4:m.a=-r-p,m.b+=f.d+a.b-o/2,t.n.a=-(f.b+p+a.a)}return m}function $An(e,t,r){var o,a;o=t.c.i,a=r.d.i,o.k==(zt(),gi)?(Te(e,(Ie(),Cd),l(F(o,Cd),12)),Te(e,Nl,l(F(o,Nl),12)),Te(e,qy,Ke(F(o,qy)))):o.k==ta?(Te(e,(Ie(),Cd),l(F(o,Cd),12)),Te(e,Nl,l(F(o,Nl),12)),Te(e,qy,(Lt(),!0))):a.k==ta?(Te(e,(Ie(),Cd),l(F(a,Cd),12)),Te(e,Nl,l(F(a,Nl),12)),Te(e,qy,(Lt(),!0))):(Te(e,(Ie(),Cd),t.c),Te(e,Nl,r.d))}function BAn(e){var t,r,o,a,u,f,p;for(e.o=new iE,o=new Ar,f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),wE(u).c.length==1&&Wr(o,u,o.c.b,o.c);for(;o.b!=0;)u=l(o.b==0?null:(un(o.b!=0),Vc(o,o.a.a)),126),wE(u).c.length!=0&&(t=l(ze(wE(u),0),220),r=u.g.a.c.length>0,p=Vj(t,u),kde(r?p.b:p.g,t),wE(p).c.length==1&&Wr(o,p,o.c.b,o.c),a=new ko(u,t),l1(e.o,a),Xa(e.e.a,u))}function tvt(e,t){var r,o,a,u,f,p,m;return o=b.Math.abs(bP(e.b).a-bP(t.b).a),p=b.Math.abs(bP(e.b).b-bP(t.b).b),a=0,m=0,r=1,f=1,o>e.b.b/2+t.b.b/2&&(a=b.Math.min(b.Math.abs(e.b.c-(t.b.c+t.b.b)),b.Math.abs(e.b.c+e.b.b-t.b.c)),r=1-a/o),p>e.b.a/2+t.b.a/2&&(m=b.Math.min(b.Math.abs(e.b.d-(t.b.d+t.b.a)),b.Math.abs(e.b.d+e.b.a-t.b.d)),f=1-m/p),u=b.Math.min(r,f),(1-u)*b.Math.sqrt(o*o+p*p)}function UAn(e){var t,r,o,a;for(HJ(e,e.e,e.f,(g0(),H1),!0,e.c,e.i),HJ(e,e.e,e.f,H1,!1,e.c,e.i),HJ(e,e.e,e.f,u2,!0,e.c,e.i),HJ(e,e.e,e.f,u2,!1,e.c,e.i),FAn(e,e.c,e.e,e.f,e.i),o=new Xi(e.i,0);o.b<o.d.gc();)for(t=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),134)),a=new Xi(e.i,o.b);a.b<a.d.gc();)r=(un(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),134)),Oxn(t,r);n3n(e.i,l(F(e.d,(Ie(),DT)),237)),ykn(e.i)}function AJ(e,t){var r,o;if(t!=null){if(o=I0(e),o)if(o.i&1){if(o==uu)return Bw(t);if(o==Rn)return ae(t,15);if(o==Ev)return ae(t,165);if(o==Eu)return ae(t,224);if(o==al)return ae(t,183);if(o==Ki)return Uw(t);if(o==S2)return ae(t,193);if(o==pw)return ae(t,192)}else return e8(),r=l(Ht(vU,o),58),!r||r.dk(t);else if(ae(t,57))return e.bl(l(t,57))}return!1}function A0e(){A0e=K;var e,t,r,o,a,u,f,p,m;for(mf=we(Eu,BE,30,255,15,1),Pg=we(al,Bf,30,64,15,1),t=0;t<255;t++)mf[t]=-1;for(r=90;r>=65;r--)mf[r]=r-65<<24>>24;for(o=122;o>=97;o--)mf[o]=o-97+26<<24>>24;for(a=57;a>=48;a--)mf[a]=a-48+52<<24>>24;for(mf[43]=62,mf[47]=63,u=0;u<=25;u++)Pg[u]=65+u&Ei;for(f=26,m=0;f<=51;++f,m++)Pg[f]=97+m&Ei;for(e=52,p=0;e<=61;++e,p++)Pg[e]=48+p&Ei;Pg[62]=43,Pg[63]=47}function nvt(e,t){var r,o,a,u,f,p;return a=mge(e),p=mge(t),a==p?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:e.f>t.f?1:0:(o=e.e-t.e,r=(e.d>0?e.d:b.Math.floor((e.a-1)*g2t)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*g2t)+1),r>o+1?a:r<o-1?-a:(u=(!e.c&&(e.c=ZO(Gs(e.f))),e.c),f=(!t.c&&(t.c=ZO(Gs(t.f))),t.c),o<0?u=dE(u,gvt(-o)):o>0&&(f=dE(f,gvt(o))),Ygt(u,f))):a<p?-1:1}function rvt(e){var t,r,o,a,u,f;return o=new nge,qs(o,e),be(F(o,(Be(),xc)))===be((vi(),hf))&&Te(o,xc,Gj(o)),F(o,(ZP(),p4))==null&&(f=l(emt(e),176),Te(o,p4,C8(f.mf(p4)))),Te(o,(Ie(),mr),e),Te(o,xa,(t=l(md(Kee),10),new Hc(t,l(Gl(t,t.length),10),0))),a=Gkn((Br(e)&&(t1(),new Yp(Br(e))),t1(),new B8(Br(e)?new Yp(Br(e)):null,e)),fs),u=l(F(o,MAe),100),r=o.d,nut(r,u),nut(r,a),o}function HAn(e,t,r){var o,a,u,f,p,m,y,v;for(r.Tg(q2t,1),e.qf(t),u=0;e.sf(u)&&!r.Zg();){for(e.rf(),v=hh(Wc(Z(X(nl,1),Rt,22,0,[t.e,t.d,t.b])));an(v);)for(m=l(en(v),314),p=hh(Wc(Z(X(nl,1),Rt,22,0,[t.e,t.d,t.b])));an(p);)f=l(en(p),314),f!=m&&(a=e.pf(f,m),a&&br(m.c,a));for(y=hh(Wc(Z(X(nl,1),Rt,22,0,[t.e,t.d,t.b])));an(y);)m=l(en(y),314),o=m.c,ymt(o,-e.d,-e.d,e.d,e.d),br(m.d,o),o.a=0,o.b=0;++u}r.Ug()}function zAn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(e.dc())return new ro;for(y=0,T=0,a=e.Jc();a.Ob();)o=l(a.Pb(),37),u=o.f,y=b.Math.max(y,u.a),T+=u.a*u.b;for(y=b.Math.max(y,b.Math.sqrt(T)*ue(ce(F(l(e.Jc().Pb(),37),(Be(),aB))))),N=0,O=0,m=0,r=t,p=e.Jc();p.Ob();)f=l(p.Pb(),37),v=f.f,N+v.a>y&&(N=0,O+=m+t,m=0),ex(f,N,O),r=b.Math.max(r,N+v.a),m=b.Math.max(m,v.b),N+=v.a+t;return new Me(r+t,O+m+t)}function _0e(e,t){var r,o,a,u,f,p,m;if(!Gd(e))throw Y(new es(MTt));if(o=Gd(e),u=o.g,a=o.f,u<=0&&a<=0)return He(),Is;switch(p=e.i,m=e.j,t.g){case 2:case 1:if(p<0)return He(),Kt;if(p+e.g>u)return He(),Qt;break;case 4:case 3:if(m<0)return He(),Wt;if(m+e.f>a)return He(),dn}return f=(p+e.g/2)/u,r=(m+e.f/2)/a,f+r<=1&&f-r<=0?(He(),Kt):f+r>=1&&f-r>=0?(He(),Qt):r<.5?(He(),Wt):(He(),dn)}function GAn(e,t,r,o,a){var u,f;if(u=Ao(Gi(t[0],$o),Gi(o[0],$o)),e[0]=Dn(u),u=u0(u,32),r>=a){for(f=1;f<a;f++)u=Ao(u,Ao(Gi(t[f],$o),Gi(o[f],$o))),e[f]=Dn(u),u=u0(u,32);for(;f<r;f++)u=Ao(u,Gi(t[f],$o)),e[f]=Dn(u),u=u0(u,32)}else{for(f=1;f<r;f++)u=Ao(u,Ao(Gi(t[f],$o),Gi(o[f],$o))),e[f]=Dn(u),u=u0(u,32);for(;f<a;f++)u=Ao(u,Gi(o[f],$o)),e[f]=Dn(u),u=u0(u,32)}Ea(u,0)!=0&&(e[f]=Dn(u))}function qAn(e,t){var r,o,a,u,f,p,m,y,v;for(t.Tg("Layer constraint edge reversal",1),f=new V(e.b);f.a<f.c.c.length;){for(u=l(q(f),26),v=-1,r=new je,y=QO(u.a),a=0;a<y.length;a++)o=l(F(y[a],(Ie(),hm)),316),v==-1?o!=(lp(),ZE)&&(v=a):o==(lp(),ZE)&&(Oi(y[a],null),E1(y[a],v++,u)),o==(lp(),kT)&&Ot(r.c,y[a]);for(m=new V(r);m.a<m.c.c.length;)p=l(q(m),9),Oi(p,null),Oi(p,u)}t.Ug()}function xy(e){fr();var t,r,o,a,u,f;if(e.e!=4&&e.e!=5)throw Y(new jt("Token#complementRanges(): must be RANGE: "+e.e));for(u=e,xE(u),PC(u),o=u.b.length+2,u.b[0]==0&&(o-=2),r=u.b[u.b.length-1],r==Fx&&(o-=2),a=new bc(4),a.b=we(Rn,Qn,30,o,15,1),f=0,u.b[0]>0&&(a.b[f++]=0,a.b[f++]=u.b[0]-1),t=1;t<u.b.length-2;t+=2)a.b[f++]=u.b[t]+1,a.b[f++]=u.b[t+1]-1;return r!=Fx&&(a.b[f++]=r+1,a.b[f]=Fx),a.a=!0,a}function VAn(e,t){var r,o,a,u,f,p,m,y,v;for(t.Tg("Hierarchical port dummy size processing",1),m=new je,v=new je,o=ue(ce(F(e,(Be(),Qy)))),r=o*2,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),m.c.length=0,v.c.length=0,p=new V(a.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(zt(),mi)&&(y=l(F(f,(Ie(),Hs)),64),y==(He(),Wt)?Ot(m.c,f):y==dn&&Ot(v.c,f));k0t(m,!0,r),k0t(v,!1,r)}t.Ug()}function ivt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(e.c.length==1)return 0;for(N=ue(ce(t.a)),O=ue(ce(t.b)),v=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),v+=p.g;for(r=(v-N+O)/2,u=0;r<u&&0<e.c.length;)u+=(at(0,e.c.length),l(e.c[0],19)).lh();for(o=u-r,T=r-(u-(at(0,e.c.length),l(e.c[0],19)).lh()),o>T?y=0:y=-1,t.a=N+o,f=0,a=y+1;a<e.c.length;a++)f+=(at(a,e.c.length),l(e.c[a],19)).lh();return t.b=O+f,y}function _J(e,t,r){var o,a,u,f,p,m,y,v;if(o=r.gc(),o==0)return!1;if(e.Nj())if(y=e.Oj(),WY(e,t,r),f=o==1?e.Gj(3,null,r.Jc().Pb(),t,y):e.Gj(5,null,r,t,y),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,a=t;a<u;++a)v=e.g[a],p=e.Lj(v,p),p=e.Sj(v,p);p?(p.lj(f),p.mj()):e.Hj(f)}else e.Hj(f);else if(WY(e,t,r),e.Kj()){for(p=o<100?null:new Qg(o),u=t+o,a=t;a<u;++a)m=e.g[a],p=e.Lj(m,p);p&&p.mj()}return!0}function x0e(e,t,r,o){var a,u,f,p,m;for(f=new V(e.k);f.a<f.c.c.length;)a=l(q(f),135),(!o||a.c==(vd(),U1))&&(m=a.b,m.g<0&&a.d>0&&(UG(m,m.d-a.d),a.c==(vd(),U1)&&mZt(m,m.a-a.d),m.d<=0&&m.i>0&&Wr(t,m,t.c.b,t.c)));for(u=new V(e.f);u.a<u.c.c.length;)a=l(q(u),135),(!o||a.c==(vd(),U1))&&(p=a.a,p.g<0&&a.d>0&&(S9(p,p.i-a.d),a.c==(vd(),U1)&&wZt(p,p.b-a.d),p.i<=0&&p.d>0&&Wr(r,p,r.c.b,r.c)))}function WAn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O;for(At(),xi(e,new LGe),f=UO(e),O=new je,N=new je,p=null,m=0;f.b!=0;)u=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),168),!p||hu(p)*ec(p)/2<hu(u)*ec(u)?(p=u,Ot(O.c,u)):(m+=hu(u)*ec(u),Ot(N.c,u),N.c.length>1&&(m>hu(p)*ec(p)/2||f.b==0)&&(T=new hj(N),v=hu(p)/ec(p),y=zJ(T,t,new oS,r,o,a,v),br(wd(T.e),y),p=T,Ot(O.c,T),m=0,N.c.length=0));return li(O,N),O}function ua(e,t,r,o,a){eg();var u,f,p,m,y,v,T;if(ihe(e,"src"),ihe(r,"dest"),T=rc(e),m=rc(r),kfe((T.i&4)!=0,"srcType is not an array"),kfe((m.i&4)!=0,"destType is not an array"),v=T.c,f=m.c,kfe(v.i&1?v==f:(f.i&1)==0,"Array types don't match"),gpn(e,t,r,o,a),!(v.i&1)&&T!=m)if(y=HS(e),u=HS(r),be(e)===be(r)&&t<o)for(t+=a,p=o+a;p-- >o;)ii(u,p,y[--t]);else for(p=o+a;o<p;)ii(u,o++,y[t++]);else yme(e,t,r,o,a,!0)}function ovt(e,t){var r,o,a,u,f,p,m,y,v;switch(t.Tg("Box layout",2),a=rO(ce(ve(e,(A7(),O6t)))),u=l(ve(e,R6t),100),r=Ye(Ke(ve(e,qke))),o=Ye(Ke(ve(e,Vke))),l(ve(e,are),327).g){case 0:f=(v=new Tu((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),At(),xi(v,new gXe(o)),v),p=rme(e),m=ce(ve(e,Gke)),(m==null||(Mt(m),m<=0))&&(m=1.3),y=$Nn(f,a,u,p.a,p.b,r,(Mt(m),m)),M0(e,y.a,y.b,!1,!0);break;default:Axn(e,a,u,r)}t.Ug()}function KAn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M;for(N=j0n(e,r),m=0;m<t;m++){for(Vw(a,r),O=new je,M=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),415)),v=N+m;v<e.b;v++)p=M,M=(un(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),415)),Fe(O,new Rwt(p,M,r));for(T=N+m;T<e.b;T++)un(o.b>0),o.a.Xb(o.c=--o.b),T>N+m&&Mu(o);for(f=new V(O);f.a<f.c.c.length;)u=l(q(f),415),Vw(o,u);if(m<t-1)for(y=N+m;y<e.b;y++)un(o.b>0),o.a.Xb(o.c=--o.b)}}function YAn(){fr();var e,t,r,o,a,u;if(Gre)return Gre;for(e=new bc(4),Ny(e,x1(IQ,!0)),$C(e,x1("M",!0)),$C(e,x1("C",!0)),u=new bc(4),o=0;o<11;o++)Sa(u,o,o);return t=new bc(4),Ny(t,x1("M",!0)),Sa(t,4448,4607),Sa(t,65438,65439),a=new b3(2),em(a,e),em(a,B4),r=new b3(2),r.Hm(lP(u,x1("L",!0))),r.Hm(t),r=new oy(3,r),r=new she(a,r),Gre=r,Gre}function ky(e,t){var r,o,a,u,f,p,m,y;for(r=new RegExp(t,"g"),m=we(Je,Pe,2,0,6,1),o=0,y=e,u=null;;)if(p=r.exec(y),p==null||y==""){m[o]=y;break}else f=p.index,m[o]=(io(0,f,y.length),y.substr(0,f)),y=yl(y,f+p[0].length,y.length),r.lastIndex=0,u==y&&(m[o]=(io(0,1,y.length),y.substr(0,1)),y=(Yt(1,y.length+1),y.substr(1))),u=y,++o;if(e.length>0){for(a=m.length;a>0&&m[a-1]=="";)--a;a<m.length&&(m.length=a)}return m}function js(){js=K,nxe=new xb(20),txe=new Mi((_n(),df),nxe),sne=new Mi(Od,20),ixe=new Mi(_Ne,3),uRt=new Mi(gk,bx),FB=new Mi(HL,Re(1)),mRt=new Mi(Ere,(Lt(),!0)),X_e=BL,Z_e=(vi(),hf),uw=new Mi(Tm,Z_e),cRt=y4,lRt=hre,fRt=Am,hRt=uv,pRt=b2,gRt=G1,dRt=g2,exe=v4,bRt=cv,sxe=(Ame(),aRt),rxe=oRt,vRt=wk,ERt=sU,yRt=dv,wRt=mk,oxe=(VS(),pv),new Mi(VT,oxe),c2=iRt,one=rRt,Jf=sRt,J_e=tRt,Q_e=nRt}function JAn(e){var t,r,o,a,u,f,p,m,y,v,T,N;if(p=Br(e),T=W0t(e),t=l(ve(e,(_n(),nDt)),15).a,p){for(v=Qi,o=new tn((!p.a&&(p.a=new ke(En,p,10,11)),p.a));o.e!=o.i.gc();)r=l(rn(o),19),m=W0t(r),m>v&&(v=m);for(y=b.Math.pow(4,t),v>y&&(y=v),N=(b.Math.log(y)-b.Math.log(1))/t,u=b.Math.exp(N),a=u,f=0;f<t;f++){if(T<a)return b.Math.pow(2,f);a*=u}return b.Math.pow(2,t-1)}else return 1}function XAn(e){var t,r,o,a,u,f,p,m,y,v,T;for(T=new eHe,T.d=0,f=new V(e.b);f.a<f.c.c.length;)u=l(q(f),26),T.d+=u.a.c.length;for(o=0,a=0,T.a=we(Rn,Qn,30,e.b.c.length,15,1),y=0,v=0,T.e=we(Rn,Qn,30,T.d,15,1),r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),t.p=o++,T.a[t.p]=a++,v=0,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p=y++,T.e[p.p]=v++;return T.c=new HJe(T),T.b=ch(T.d),gAn(T,e),T.f=ch(T.d),bAn(T,e),T}function ZAn(e){var t,r;if(t=In(ve(e,(_n(),zT))),!Dht(t,e)&&!Gc(e,lv)&&((!e.a&&(e.a=new ke(En,e,10,11)),e.a).i!=0||Ye(Ke(ve(e,UL)))))if(t==null||Ey(t).length==0){if(!Dht(Bt,e))throw r=zn(zn(new fc("Unable to load default layout algorithm "),Bt)," for unconfigured node "),X7(e,r),Y(new _f(r.a))}else throw r=zn(zn(new fc("Layout algorithm '"),t),"' not found for "),X7(e,r),Y(new _f(r.a))}function xJ(e){var t,r,o,a,u,f,p,m,y,v,T,N,O;if(r=e.i,t=e.n,e.b==0)for(O=r.c+t.b,N=r.b-t.b-t.c,f=e.a,m=0,v=f.length;m<v;++m)a=f[m],fP(a,O,N);else o=D1t(e,!1),fP(e.a[0],r.c+t.b,o[0]),fP(e.a[2],r.c+r.b-t.c-o[2],o[2]),T=r.b-t.b-t.c,o[0]>0&&(T-=o[0]+e.c,o[0]+=e.c),o[2]>0&&(T-=o[2]+e.c),o[1]=b.Math.max(o[1],T),fP(e.a[1],r.c+t.b+o[0]-(o[1]-T)/2,o[1]);for(u=e.a,p=0,y=u.length;p<y;++p)a=u[p],ae(a,338)&&l(a,338).hf()}function QAn(e){var t,r,o,a,u,f,p,m,y,v;for(v=we(Rn,Qn,30,e.b.c.length+1,15,1),y=new hi,o=0,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),v[o++]=y.a.gc(),m=new V(a.a);m.a<m.c.c.length;)for(f=l(q(m),9),r=new $t(qt(Or(f).a.Jc(),new D));an(r);)t=l(en(r),17),y.a.yc(t,y);for(p=new V(a.a);p.a<p.c.c.length;)for(f=l(q(p),9),r=new $t(qt(si(f).a.Jc(),new D));an(r);)t=l(en(r),17),y.a.Ac(t)!=null}return v}function svt(e,t){var r,o,a,u;for(u=l(ze(e.n,e.n.c.length-1),211).d,e.p=b.Math.min(e.p,t.g),e.r=b.Math.max(e.r,u),e.g=b.Math.max(e.g,t.g+(e.b.c.length==1?0:e.i)),e.o=b.Math.min(e.o,t.f),e.e+=t.f+(e.b.c.length==1?0:e.i),e.f=b.Math.max(e.f,t.f),a=e.n.c.length>0?(e.n.c.length-1)*e.i:0,o=new V(e.n);o.a<o.c.c.length;)r=l(q(o),211),a+=r.a;e.d=a,e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),tbe(e.j)}function avt(e,t){var r,o,a,u,f,p,m,y,v,T;if(v=Ke(F(t,(ed(),ykt))),v==null||(Mt(v),v)){for(T=we(uu,Ad,30,t.e.c.length,16,1),f=Uvn(t),a=new Ar,y=new V(t.e);y.a<y.c.c.length;)p=l(q(y),156),r=Pme(e,p,null,null,T,f),r&&(qs(r,t),Wr(a,r,a.c.b,a.c));if(a.b>1)for(o=An(a,0);o.b!=o.d.c;)for(r=l(Sn(o),238),u=0,m=new V(r.e);m.a<m.c.c.length;)p=l(q(m),156),p.a=u++;return a}return Wl(Z(X(K3n,1),H2t,238,0,[t]))}function Ff(e){var t,r,o,a,u,f,p;if(!e.g){if(p=new DG,t=L4,f=t.a.yc(e,t),f==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,Ff(r));t.a.Ac(e)!=null,t.a.gc()==0}for(a=p.i,u=(!e.s&&(e.s=new ke(au,e,21,17)),new tn(e.s));u.e!=u.i.gc();++a)xZt(l(rn(u),454),a);ti(p,(!e.s&&(e.s=new ke(au,e,21,17)),e.s)),hy(p),e.g=new upt(e,p),e.i=l(p.g,258),e.i==null&&(e.i=jre),e.p=null,Pu(e).b&=-5}return e.g}function e_n(e,t){var r,o,a,u,f,p,m,y,v;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),"memberTypes")),m!=null)){for(y=new je,u=ky(m,"\\w"),f=0,p=u.length;f<p;++f)a=u[f],o=a.lastIndexOf("#"),v=o==-1?Bde(e,t.hk(),a):o==0?c6(e,null,(Yt(1,a.length+1),a.substr(1))):c6(e,(io(0,o,a.length),a.substr(0,o)),(Yt(o+1,a.length+1),a.substr(o+1))),ae(v,160)&&Fe(y,l(v,160));return y}return At(),At(),Co}function kJ(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M;if(o=e.i,r=e.n,e.b==0)t=O1t(e,!1),hP(e.a[0],o.d+r.d,t[0]),hP(e.a[2],o.d+o.a-r.a-t[2],t[2]),N=o.a-r.d-r.a,T=N,t[0]>0&&(t[0]+=e.c,T-=t[0]),t[2]>0&&(T-=t[2]+e.c),t[1]=b.Math.max(t[1],T),hP(e.a[1],o.d+r.d+t[0]-(t[1]-T)/2,t[1]);else for(M=o.d+r.d,O=o.a-r.d-r.a,f=e.a,m=0,v=f.length;m<v;++m)a=f[m],hP(a,M,O);for(u=e.a,p=0,y=u.length;p<y;++p)a=u[p],ae(a,338)&&l(a,338).jf()}function t_n(e,t,r,o,a){var u,f,p;if(r.f>=t.o&&r.f<=t.f||t.a*.5<=r.f&&t.a*1.5>=r.f){if(f=l(ze(t.n,t.n.c.length-1),211),f.e+f.d+r.g+a<=o&&(u=l(ze(t.n,t.n.c.length-1),211),u.f-e.f+r.f<=e.b||e.a.c.length==1))return w1e(t,r),!0;if(t.s+r.g<=o&&t.t+t.d+r.f+a<=e.f+e.b)return Fe(t.b,r),p=l(ze(t.n,t.n.c.length-1),211),Fe(t.n,new MP(t.s,p.f+p.a+t.i,t.i)),Z1e(l(ze(t.n,t.n.c.length-1),211),r),svt(t,r),!0}return!1}function G7(e,t,r,o){var a,u,f,p,m;if(m=za(e.e.Ah(),t),a=l(e.g,123),Lo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())&&pr(u,r))return!0}else if(r!=null){for(p=0;p<e.i;++p)if(u=a[p],m.$l(u.Jk())&&pr(r,u.kd()))return!0;if(o){for(f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())&&be(r)===be(SV(e,l(u.kd(),57))))return!0}}else for(f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())&&u.kd()==null)return!1;return!1}function n_n(e,t){var r,o,a,u,f,p;if(r=t.ni(e.a),r&&(p=In(Td((!r.b&&(r.b=new Zu((_t(),Ro),zs,r)),r.b),zF)),p!=null))switch(a=j8(p,Qa(35)),o=t.ok(),a==-1?(f=_3(e,mc(o)),u=p):a==0?(f=null,u=(Yt(1,p.length+1),p.substr(1))):(f=(io(0,a,p.length),p.substr(0,a)),u=(Yt(a+1,p.length+1),p.substr(a+1))),f0(rs(e,t))){case 2:case 3:return lpn(e,o,f,u);case 0:case 4:case 5:case 6:return dpn(e,o,f,u)}return null}function uvt(e,t,r,o){var a,u,f,p;for(p=r,f=new V(t.a);f.a<f.c.c.length;){if(u=l(q(f),227),a=l(u.b,68),x0(e.b.c,a.b.c+a.b.b)<=0&&x0(a.b.c,e.b.c+e.b.b)<=0&&x0(e.b.d,a.b.d+a.b.a)<=0&&x0(a.b.d,e.b.d+e.b.a)<=0){if(x0(a.b.c,e.b.c+e.b.b)==0&&o.a<0||x0(a.b.c+a.b.b,e.b.c)==0&&o.a>0||x0(a.b.d,e.b.d+e.b.a)==0&&o.b<0||x0(a.b.d+a.b.a,e.b.d)==0&&o.b>0){p=0;break}}else p=b.Math.min(p,Vmt(e,a,o));p=b.Math.min(p,uvt(e,u,p,o))}return p}function k0e(e,t){var r,o,a,u,f,p,m;if(e.b<2)throw Y(new jt("The vector chain must contain at least a source and a target point."));for(a=(un(e.b!=0),l(e.a.a.c,8)),NO(t,a.a,a.b),m=new SS((!t.a&&(t.a=new yi(Ic,t,5)),t.a)),f=An(e,1);f.a<e.b-1;)p=l(Sn(f),8),m.e!=m.i.gc()?r=l(rn(m),373):(r=(e1(),o=new b9,o),Bgt(m,r)),cV(r,p.a,p.b);for(;m.e!=m.i.gc();)rn(m),wC(m);u=(un(e.b!=0),l(e.c.b.c,8)),kO(t,u.a,u.b)}function cvt(e,t,r,o){var a,u,f,p,m,y;if(y=za(e.e.Ah(),t),f=l(e.g,123),wp(e.e,t)){if(t.Qi()&&(u=nx(e,t,o,ae(t,104)&&(l(t,20).Bb&No)!=0),u>=0&&u!=r))throw Y(new jt(GD));for(a=0,m=0;m<e.i;++m)if(p=f[m],y.$l(p.Jk())){if(a==r)return l(EE(e,m,(Lo(),l(t,69).vk()?l(o,76):gh(t,o))),76);++a}throw Y(new Ia(aI+r+um+a))}else{for(m=0;m<e.i;++m)if(p=f[m],y.$l(p.Jk()))return Lo(),l(t,69).vk()?p:p.kd();return null}}function lvt(e,t){var r,o,a,u,f,p,m,y,v;for(r=0,a=new V((at(0,e.c.length),l(e.c[0],108)).g.b.j);a.a<a.c.c.length;)o=l(q(a),12),o.p=r++;for(t==(He(),Wt)?xi(e,new eUe):xi(e,new tUe),p=0,v=e.c.length-1;p<v;)f=(at(p,e.c.length),l(e.c[p],108)),y=(at(v,e.c.length),l(e.c[v],108)),u=t==Wt?f.c:f.a,m=t==Wt?y.a:y.c,ig(f,t,(Xl(),Vx),u),ig(y,t,qx,m),++p,--v;p==v&&ig((at(p,e.c.length),l(e.c[p],108)),t,(Xl(),Hy),null)}function r_n(e,t,r,o){var a,u,f,p,m,y;for(f=new Hvt(e,t,r),m=new Xi(o,0),a=!1;m.b<m.d.gc();)p=(un(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),242)),p==t||p==r?Mu(m):!a&&ue(Hd(p.g,p.d[0]).a)>ue(Hd(f.g,f.d[0]).a)?(un(m.b>0),m.a.Xb(m.c=--m.b),Vw(m,f),a=!0):p.e&&p.e.gc()>0&&(u=(!p.e&&(p.e=new je),p.e).Kc(t),y=(!p.e&&(p.e=new je),p.e).Kc(r),(u||y)&&((!p.e&&(p.e=new je),p.e).Ec(f),++f.c));a||Ot(o.c,f)}function i_n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;return T=e.a.i+e.a.g/2,N=e.a.i+e.a.g/2,M=t.i+t.g/2,z=t.j+t.f/2,p=new Me(M,z),y=l(ve(t,(_n(),GT)),8),y.a=y.a+T,y.b=y.b+N,u=(p.b-y.b)/(p.a-y.a),o=p.b-u*p.a,U=r.i+r.g/2,J=r.j+r.f/2,m=new Me(U,J),v=l(ve(r,GT),8),v.a=v.a+T,v.b=v.b+N,f=(m.b-v.b)/(m.a-v.a),a=m.b-f*m.a,O=(o-a)/(f-u),y.a<O&&p.a<O||O<y.a&&O<p.a?!1:!(v.a<O&&m.a<O||O<v.a&&O<m.a)}function o_n(e,t,r){var o,a,u,f;for(r.Tg(RSt,1),e.a=t,e.c=new je,u=b.Math.max(t.a.c.length,l(F(t,(Ie(),F1)),15).a);f=new adt(e.c,e.d,e.b),NEn(f,t),kmn(f,t),e.d.b!=0;){for(e.rg(u,u*l(F(t,fL),15).a),a=new V(e.c);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!1),Te(o.c.i,(Be(),UI),Re(l(F(o.c.i,UI),15).a+1)),Te(t,CT,(Lt(),!0));tc(e.d),Zs(e.b),e.c.c.length=0}r.Ug(),r.ah("Execution Time: "+r.Vg())}function dvt(e,t,r,o){var a,u,f,p,m,y;if(!iy(t)){if(y=r.dh((ae(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),y.Tg($St,1),m=new BHe,p=0,o==(vi(),as)||o==fs)for(f=t.Jc();f.Ob();)a=l(f.Pb(),41),m=Wc(Z(X(nl,1),Rt,22,0,[m,new Qh(a)])),p<a.f.a&&(p=a.f.a);else for(f=t.Jc();f.Ob();)a=l(f.Pb(),41),m=Wc(Z(X(nl,1),Rt,22,0,[m,new Qh(a)])),p<a.f.b&&(p=a.f.b);for(u=t.Jc();u.Ob();)a=l(u.Pb(),41),Te(a,(Nr(),jB),p);y.Ug(),dvt(e,m,r,o)}}function N0e(e,t,r){var o,a,u,f,p,m,y,v;this.a=e,this.b=t,this.c=r,this.e=Wl(Z(X(q3n,1),Rt,180,0,[new hS(e,t),new hS(t,r),new hS(r,e)])),this.f=Wl(Z(X($i,1),Pe,8,0,[e,t,r])),this.d=(o=Di(To(this.b),this.a),a=Di(To(this.c),this.a),u=Di(To(this.c),this.b),f=o.a*(this.a.a+this.b.a)+o.b*(this.a.b+this.b.b),p=a.a*(this.a.a+this.c.a)+a.b*(this.a.b+this.c.b),m=2*(o.a*u.b-o.b*u.a),y=(a.b*f-o.b*p)/m,v=(o.a*p-a.a*f)/m,new Me(y,v))}function mg(e,t){var r,o,a,u,f,p;for(u=e.c,f=e.d,bo(e,null),Ji(e,null),t&&Ye(Ke(F(f,(Ie(),nte))))?bo(e,y0e(f.i,(jo(),Ba),(He(),Qt))):bo(e,f),t&&Ye(Ke(F(u,(Ie(),ite))))?Ji(e,y0e(u.i,(jo(),Cu),(He(),Kt))):Ji(e,u),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),70),a=l(F(r,(Be(),Yf)),281),a==(Kd(),vk)?Te(r,Yf,fv):a==fv&&Te(r,Yf,vk);p=Ye(Ke(F(e,(Ie(),Ag)))),Te(e,Ag,(Lt(),!p)),e.a=Hge(e.a)}function s_n(e,t){var r,o,a,u,f;return r=U_(l(F(t,(js(),uw)),87)),e.b.b==0?null:(f=l(Au(Oa(new Et(null,new St(e.b,16)),new _He),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),u=l(Au(lr(new Et(null,new St(t.b,16)),new GJe(f)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),16),a=ce(Xu(Jw(Oa(u.Mc(),new qJe(r)),(h0(),h0(),VQ)))),o=l(Xu(hp(lr(u.Mc(),new Ott(r,a)))),41),o)}function a_n(e,t){var r,o,a,u,f,p;if(At(),xi(t,new Sce(!1)),r=new je,o=new je,e.a)mkn(t,r,o);else{for(Fe(r,l(ze(t,t.c.length-1),19)),f=0,p=0,u=1;u<t.c.length;u++)f<=p?(Fe(r,l(ze(t,t.c.length-1-u),19)),f+=l(ze(t,t.c.length-1-u),19).lh()):(Fe(o,l(ze(t,t.c.length-1-u),19)),p+=l(ze(t,t.c.length-1-u),19).lh());vC(r)}for(xi(o,new Sce(!0)),li(r,o),a=0;a<t.c.length;a++)nc(t,a,(at(a,r.c.length),l(r.c[a],19)))}function u_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;r=o0(new Tb,e.f),y=e.i[t.c.i.p],O=e.i[t.d.i.p],m=t.c,N=t.d,p=m.a.b,T=N.a.b,y.b||(p+=m.n.b),O.b||(T+=N.n.b),v=go(b.Math.max(0,p-T)),f=go(b.Math.max(0,T-p)),M=(U=b.Math.max(1,l(F(t,(Be(),FT)),15).a),z=rpe(t.c.i.k,t.d.i.k),U*z),a=Ql($l(Ul(Bl(Hl(new gl,M),f),r),l(Ht(e.k,t.c),126))),u=Ql($l(Ul(Bl(Hl(new gl,M),v),r),l(Ht(e.k,t.d),126))),o=new _tt(a,u),e.c[t.p]=o}function c_n(e,t){var r,o,a,u,f,p,m,y,v,T;for(r=new Qu(e.c,-100,new Qu(0,e.a,e.b)),o=new Qu(t.c,-100,new Qu(0,t.a,t.b)),f=r.c-o.c,m=r,y=o,v=m.c,T=y.c;m&&y.b;)y.b.a>m.a?(a=y.b.c,u=y.b.a-y.a,p=v-T-(m.a-y.a)*a/u,f=b.Math.max(f,p),m=m.b,m&&(v+=m.c)):(y=y.b,T+=y.c);for(m=r,y=o,v=m.c,T=y.c;y&&m.b;)m.b.a>y.a?(a=m.b.c,u=m.b.a-m.a,p=v-T+(y.a-m.a)*a/u,f=b.Math.max(f,p),y=y.b,y&&(T+=y.c)):(m=m.b,v+=m.c);return f}function l_n(e,t,r){var o,a,u,f,p,m;for(o=0,u=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));u.e!=u.i.gc();)a=l(rn(u),19),f="",(!a.n&&(a.n=new ke(Rs,a,1,7)),a.n).i==0||(f=l(oe((!a.n&&(a.n=new ke(Rs,a,1,7)),a.n),0),158).a),p=new nrt(f),qs(p,a),Te(p,(h1(),_T),a),p.a=o++,p.d.a=a.i+a.g/2,p.d.b=a.j+a.f/2,p.e.a=b.Math.max(a.g,1),p.e.b=b.Math.max(a.f,1),Fe(t.e,p),eu(r.f,a,p),m=l(ve(a,(ed(),O2e)),103),m==(qi(),W1)&&(m=pf)}function fvt(e){var t,r,o;if(tE(l(F(e,(Be(),Zr)),103)))for(r=new V(e.j);r.a<r.c.c.length;)t=l(q(r),12),t.j==(He(),Is)&&(o=l(F(t,(Ie(),Nu)),9),o?Ci(t,l(F(o,Hs),64)):t.e.c.length-t.g.c.length<0?Ci(t,Qt):Ci(t,Kt));else{for(r=new V(e.j);r.a<r.c.c.length;)t=l(q(r),12),o=l(F(t,(Ie(),Nu)),9),o?Ci(t,l(F(o,Hs),64)):t.e.c.length-t.g.c.length<0?Ci(t,(He(),Qt)):Ci(t,(He(),Kt));Te(e,Zr,(qi(),Sk))}}function d_n(e,t){var r,o,a,u,f,p,m;t.Tg("Layer constraint postprocessing",1),m=e.b,m.c.length!=0&&(o=(at(0,m.c.length),l(m.c[0],26)),f=l(ze(m,m.c.length-1),26),r=new ra(e),u=new ra(e),JTn(e,o,f,r,u),r.a.c.length==0||(ry(0,m.c.length),t3(m.c,0,r)),u.a.c.length==0||Ot(m.c,u)),gr(e,(Ie(),tte))&&(a=new ra(e),p=new ra(e),BSn(e,a,p),a.a.c.length==0||(ry(0,m.c.length),t3(m.c,0,a)),p.a.c.length==0||Ot(m.c,p)),t.Ug()}function cD(e){var t,r,o;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:o="\\"+String.fromCharCode(e&Ei);break;case 12:o="\\f";break;case 10:o="\\n";break;case 13:o="\\r";break;case 9:o="\\t";break;case 27:o="\\e";break;default:e<32?(r=(t=e>>>0,"0"+t.toString(16)),o="\\x"+yl(r,r.length-2,r.length)):e>=No?(r=(t=e>>>0,"0"+t.toString(16)),o="\\v"+yl(r,r.length-6,r.length)):o=""+String.fromCharCode(e&Ei)}return o}function hvt(e,t){var r,o,a,u,f,p,m,y,v;for(u=new V(e.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(a.a);p.a<p.c.c.length;)for(f=l(q(p),9),f.k==(zt(),ta)&&(m=(y=l(en(new $t(qt(si(f).a.Jc(),new D))),17),v=l(en(new $t(qt(Or(f).a.Jc(),new D))),17),!Ye(Ke(F(y,(Ie(),Ag))))||!Ye(Ke(F(v,Ag)))?t:tpt(t)),aT(f,m)),o=new $t(qt(Or(f).a.Jc(),new D));an(o);)r=l(en(o),17),m=Ye(Ke(F(r,(Ie(),Ag))))?tpt(t):t,Yht(r,m)}function C0e(e){var t,r,o,a,u,f;for(this.e=new je,this.a=new je,r=e.b-1;r<3;r++)WA(e,0,l(sa(e,0),8));if(e.b<4)throw Y(new jt("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,jEn(this,e.b+this.b-1),f=new je,u=new V(this.e),t=0;t<this.b-1;t++)Fe(f,ce(q(u)));for(a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),8),Fe(f,ce(q(u))),Fe(this.a,new Vat(o,f)),at(0,f.c.length),f.c.splice(0,1)}function pvt(e,t,r){var o,a,u,f;return e.Nj()?(a=null,u=e.Oj(),o=e.Gj(1,f=aK(e,t,r),r,t,u),e.Kj()&&!(e.Wi()&&f!=null?pr(f,r):be(f)===be(r))?(f!=null&&(a=e.Mj(f,a)),a=e.Lj(r,a),e.Rj()&&(a=e.Uj(f,r,a)),a?(a.lj(o),a.mj()):e.Hj(o)):(e.Rj()&&(a=e.Uj(f,r,a)),a?(a.lj(o),a.mj()):e.Hj(o)),f):(f=aK(e,t,r),e.Kj()&&!(e.Wi()&&f!=null?pr(f,r):be(f)===be(r))&&(a=null,f!=null&&(a=e.Mj(f,null)),a=e.Lj(r,a),a&&a.mj()),f)}function f_n(e,t){var r,o,a,u,f;if(t.Tg("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Ug();return}if(a=new kme(e),f=(a.i==null&&(a.i=wge(a,new Lue)),ue(a.i)*a.f),r=f/(a.i==null&&(a.i=wge(a,new Lue)),ue(a.i)),a.b>r){t.Ug();return}switch(l(F(e,(Be(),Nte)),351).g){case 2:u=new Pue;break;case 0:u=new Due;break;default:u=new jue}if(o=u.mg(e,a),!u.ng())switch(l(F(e,SB),352).g){case 2:o=Wmt(a,o);break;case 1:o=Lbt(a,o)}axn(e,a,o),t.Ug()}function OC(e,t){var r,o,a,u,f,p,m,y;t%=24,e.q.getHours()!=t&&(o=new b.Date(e.q.getTime()),o.setDate(o.getDate()+1),p=e.q.getTimezoneOffset()-o.getTimezoneOffset(),p>0&&(m=p/60|0,y=p%60,a=e.q.getDate(),r=e.q.getHours(),r+m>=24&&++a,u=new b.Date(e.q.getFullYear(),e.q.getMonth(),a,t+m,e.q.getMinutes()+y,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(u.getTime()))),f=e.q.getTime(),e.q.setTime(f+36e5),e.q.getHours()!=t&&e.q.setTime(f)}function h_n(e,t){var r,o,a,u;if($un(e.d,e.e),e.c.a.$b(),ue(ce(F(t.j,(Be(),bL))))!=0||ue(ce(F(t.j,bL)))!=0)for(r=jE,be(F(t.j,Ch))!==be((bp(),B1))&&Te(t.j,(Ie(),j1),(Lt(),!0)),u=l(F(t.j,qI),15).a,a=0;a<u&&(o=x_n(e,t),!(o<r&&(r=o,fht(e),r==0)));a++);else for(r=sr,be(F(t.j,Ch))!==be((bp(),B1))&&Te(t.j,(Ie(),j1),(Lt(),!0)),u=l(F(t.j,qI),15).a,a=0;a<u&&(o=yvt(e,t),!(o<r&&(r=o,fht(e),r==0)));a++);}function p_n(e,t){var r,o,a,u,f,p,m,y;for(f=new je,p=0,r=0,m=0;p<t.c.length-1&&r<e.gc();){for(o=l(e.Xb(r),15).a+m;(at(p+1,t.c.length),l(t.c[p+1],15)).a<o;)++p;for(y=0,u=o-(at(p,t.c.length),l(t.c[p],15)).a,a=(at(p+1,t.c.length),l(t.c[p+1],15)).a-o,u>a&&++y,Fe(f,(at(p+y,t.c.length),l(t.c[p+y],15))),m+=(at(p+y,t.c.length),l(t.c[p+y],15)).a-o,++r;r<e.gc()&&l(e.Xb(r),15).a+m<=(at(p+y,t.c.length),l(t.c[p+y],15)).a;)++r;p+=1+y}return f}function g_n(e,t){var r,o,a,u,f;for(f=new $t(qt(si(t).a.Jc(),new D));an(f);)if(u=l(en(f),17),e.f.b==0?(a=u.c.i.k==(zt(),Xr)&&!!u.c.i.c&&u.c.i.c.p==e.c,an(new $t(qt(si(u.c.i).a.Jc(),new D)))?(r=l(en(new $t(qt(si(u.c.i).a.Jc(),new D))),17).c.i.c,o=u.c.i.k==ta&&!!r&&r.p==e.c):o=!1):(a=u.c.i.k==(zt(),Xr)&&u.c.i.p==e.c,o=u.c.i.k==ta&&l(en(new $t(qt(si(u.c.i).a.Jc(),new D))),17).c.i.p==e.c),a||o)return!0;return!1}function b_n(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(N=new je,J=VP(o),z=t*e.a,T=0,M=0,u=new hi,f=new hi,p=new je,ne=0,se=0,O=0,U=0,y=0,v=0;J.a.gc()!=0;)m=Tgn(J,a,f),m&&(J.a.Ac(m)!=null,Ot(p.c,m),u.a.yc(m,u),M=e.f[m.p],ne+=e.e[m.p]-M*e.b,T=e.c[m.p],se+=T*e.b,v+=M*e.b,U+=e.e[m.p]),(!m||J.a.gc()==0||ne>=z&&e.e[m.p]>M*e.b||se>=r*z)&&(Ot(N.c,p),p=new je,mo(f,u),u.a.$b(),y-=v,O=b.Math.max(O,y*e.b+U),y+=se,ne=se,se=0,v=0,U=0);return new ko(O,N)}function NJ(e){var t,r,o,a,u,f,p;if(!e.d){if(p=new sqe,t=L4,u=t.a.yc(e,t),u==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,NJ(r));t.a.Ac(e)!=null,t.a.gc()==0}for(f=p.i,a=(!e.q&&(e.q=new ke(Dl,e,11,10)),new tn(e.q));a.e!=a.i.gc();++f)l(rn(a),408);ti(p,(!e.q&&(e.q=new ke(Dl,e,11,10)),e.q)),hy(p),e.d=new Qv((l(oe(Ne((a1(),Ut).o),9),20),p.i),p.g),e.e=l(p.g,685),e.e==null&&(e.e=dLt),Pu(e).b&=-17}return e.d}function nx(e,t,r,o){var a,u,f,p,m,y;if(y=za(e.e.Ah(),t),m=0,a=l(e.g,123),Lo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(u=a[f],y.$l(u.Jk())){if(pr(u,r))return m;++m}}else if(r!=null){for(p=0;p<e.i;++p)if(u=a[p],y.$l(u.Jk())){if(pr(r,u.kd()))return m;++m}if(o){for(m=0,f=0;f<e.i;++f)if(u=a[f],y.$l(u.Jk())){if(be(r)===be(SV(e,l(u.kd(),57))))return m;++m}}}else for(f=0;f<e.i;++f)if(u=a[f],y.$l(u.Jk())){if(u.kd()==null)return m;++m}return-1}function m_n(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U;if(r.Uh(t)&&(v=(O=t,O?l(o,52).di(O):null),v))if(U=r.Kh(t,e.a),M=t.t,M>1||M==-1)if(T=l(U,72),N=l(v,72),T.dc())N.$b();else for(f=!!Mo(t),u=0,p=e.a?T.Jc():T.Gi();p.Ob();)y=l(p.Pb(),57),a=l(Wd(e,y),57),a?(f?(m=N.bd(a),m==-1?N.Ei(u,a):u!=m&&N.Si(u,a)):N.Ei(u,a),++u):e.b&&!f&&(N.Ei(u,y),++u);else U==null?v.Wb(null):(a=Wd(e,U),a==null?e.b&&!Mo(t)&&v.Wb(U):v.Wb(a))}function w_n(e,t){var r,o,a,u,f,p,m,y;for(r=new DFe,a=new $t(qt(si(t).a.Jc(),new D));an(a);)if(o=l(en(a),17),!fo(o)&&(p=o.c.i,Dbe(p,A$))){if(y=t0e(e,p,A$,T$),y==-1)continue;r.b=b.Math.max(r.b,y),!r.a&&(r.a=new je),Fe(r.a,p)}for(f=new $t(qt(Or(t).a.Jc(),new D));an(f);)if(u=l(en(f),17),!fo(u)&&(m=u.d.i,Dbe(m,T$))){if(y=t0e(e,m,T$,A$),y==-1)continue;r.d=b.Math.max(r.d,y),!r.c&&(r.c=new je),Fe(r.c,m)}return r}function y_n(e,t,r,o){var a,u,f,p,m,y,v;if(r.d.i!=t.i){for(a=new Xd(e),Jh(a,(zt(),gi)),Te(a,(Ie(),mr),r),Te(a,(Be(),Zr),(qi(),fa)),Ot(o.c,a),f=new aa,As(f,a),Ci(f,(He(),Kt)),p=new aa,As(p,a),Ci(p,Qt),v=r.d,Ji(r,f),u=new p0,qs(u,r),Te(u,ss,null),bo(u,p),Ji(u,v),y=new Xi(r.b,0);y.b<y.d.gc();)m=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),70)),be(F(m,Yf))===be((Kd(),fv))&&(Te(m,IT,r),Mu(y),Fe(u.b,m));B0t(a,f,p)}}function v_n(e,t,r,o){var a,u,f,p,m,y,v;if(r.c.i!=t.i)for(a=new Xd(e),Jh(a,(zt(),gi)),Te(a,(Ie(),mr),r),Te(a,(Be(),Zr),(qi(),fa)),Ot(o.c,a),f=new aa,As(f,a),Ci(f,(He(),Kt)),p=new aa,As(p,a),Ci(p,Qt),Ji(r,f),u=new p0,qs(u,r),Te(u,ss,null),bo(u,p),Ji(u,t),B0t(a,f,p),y=new Xi(r.b,0);y.b<y.d.gc();)m=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),70)),v=l(F(m,Yf),281),v==(Kd(),fv)&&(gr(m,IT)||Te(m,IT,r),Mu(y),Fe(u.b,m))}function gvt(e){Q_();var t,r,o,a;if(t=go(e),e<yI.length)return yI[t];if(e<=50)return eD((jf(),qQ),t);if(e<=yg)return jS(eD(ST[1],t),t);if(e>1e6)throw Y(new j9("power of ten too big"));if(e<=sr)return jS(eD(ST[1],t),t);for(o=eD(ST[1],sr),a=o,r=Gs(e-sr),t=go(e%sr);Ea(r,sr)>0;)a=dE(a,o),r=El(r,sr);for(a=dE(a,eD(ST[1],t)),a=jS(a,sr),r=Gs(e-sr);Ea(r,sr)>0;)a=jS(a,sr),r=El(r,sr);return a=jS(a,t),a}function bvt(e){var t,r,o,a,u,f,p,m,y,v;for(m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),p.k==(zt(),mi)&&(a=l(F(p,(Ie(),Hs)),64),a==(He(),Qt)||a==Kt))for(o=new $t(qt(Lf(p).a.Jc(),new D));an(o);)r=l(en(o),17),t=r.a,t.b!=0&&(y=r.c,y.i==p&&(u=(un(t.b!=0),l(t.a.a.c,8)),u.b=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).b),v=r.d,v.i==p&&(f=(un(t.b!=0),l(t.c.b.c,8)),f.b=xs(Z(X($i,1),Pe,8,0,[v.i.n,v.n,v.a])).b))}function DC(e,t,r,o){var a,u,f;if(this.j=new je,this.k=new je,this.b=new je,this.c=new je,this.e=new wS,this.i=new Lu,this.f=new YG,this.d=new je,this.g=new je,Fe(this.b,e),Fe(this.b,t),this.e.c=b.Math.min(e.a,t.a),this.e.d=b.Math.min(e.b,t.b),this.e.b=b.Math.abs(e.a-t.a),this.e.a=b.Math.abs(e.b-t.b),a=l(F(o,(Be(),ss)),79),a)for(f=An(a,0);f.b!=f.d.c;)u=l(Sn(f),8),Vpe(u.a,e.a)&&Gn(this.i,u);r&&Fe(this.j,r),Fe(this.k,o)}function E_n(e,t,r,o){var a,u,f,p,m,y,v;for(p=-1,v=new V(e);v.a<v.c.c.length;)y=l(q(v),117),y.g=p--,a=Dn(BP(AP(lr(new Et(null,new St(y.f,16)),new iHe),new oHe)).d),u=Dn(BP(AP(lr(new Et(null,new St(y.k,16)),new sHe),new aHe)).d),f=a,m=u,o||(f=Dn(BP(AP(new Et(null,new St(y.f,16)),new uHe)).d),m=Dn(BP(AP(new Et(null,new St(y.k,16)),new nHe)).d)),y.d=f,y.a=a,y.i=m,y.b=u,m==0?Wr(r,y,r.c.b,r.c):f==0&&Wr(t,y,t.c.b,t.c)}function aT(e,t){var r,o,a,u,f,p;if(e.k==(zt(),ta)&&(r=e.k==ta&&!BA(lr(l(F(e,(Ie(),OI)),16).Mc(),new RA(new l9))).zd((_b(),TT))?(vc(),qL):t,Te(e,(Ie(),OT),r),r!=(vc(),q1)))for(o=l(F(e,mr),17),p=ue(ce(F(o,(Be(),_g)))),f=0,r==Ih?f=e.o.b-b.Math.ceil(p/2):r==qL&&(f=b.Math.ceil(e.o.b-ue(ce(F(ji(e),o2)))-p)/2,e.o.b-=ue(ce(F(ji(e),o2))),e.o.b-=p),u=new V(e.j);u.a<u.c.c.length;)a=l(q(u),12),a.n.b=f}function mvt(e,t,r){var o,a,u,f,p,m,y,v,T;for(a=!0,f=new V(e.b);f.a<f.c.c.length;){for(u=l(q(f),26),y=Li,v=null,m=new V(u.a);m.a<m.c.c.length;)if(p=l(q(m),9),T=ue(t.p[p.p])+ue(t.d[p.p])-p.d.d,o=ue(t.p[p.p])+ue(t.d[p.p])+p.o.b+p.d.a,T>y&&o>y)v=p,y=ue(t.p[p.p])+ue(t.d[p.p])+p.o.b+p.d.a;else{a=!1,r.$g()&&r.ah("bk node placement breaks on "+p+" which should have been after "+v);break}if(!a)break}return r.$g()&&r.ah(t+" is feasible: "+a),a}function wvt(e,t){var r,o;o=l(ve(t,(_n(),Cp)),125),r=new Qu(0,t.j+t.f+o.a+e.b/2,new Qu(t.g/2,t.j+t.f+o.a+e.b/2,null)),Vn(t,(wh(),Sm),new Qu(-o.b-e.b/2+t.g/2,t.j-o.d-e.b/2,new Qu(-t.g/2,t.j-o.d,r))),r=new Qu(0,t.j+t.f+o.a,new Qu(-t.g/2,t.j+t.f+o.a+e.b/2,null)),Vn(t,ov,new Qu(t.g/2+o.c+e.b/2,t.j-o.d,new Qu(t.g/2,t.j-o.d-e.b/2,r))),Vn(t,hk,t.i-o.b),Vn(t,fk,t.i+o.c+t.g),Vn(t,n6t,t.j-o.d),Vn(t,Vne,t.j+o.a+t.f),Vn(t,Xf,l(ve(t,Sm),107).b.b.a)}function I0e(e,t,r,o){var a,u,f,p,m,y,v,T,N;if(u=new Xd(e),Jh(u,(zt(),_a)),Te(u,(Be(),Zr),(qi(),fa)),a=0,t){for(f=new aa,Te(f,(Ie(),mr),t),Te(u,mr,t.i),Ci(f,(He(),Kt)),As(f,u),N=Df(t.e),y=N,v=0,T=y.length;v<T;++v)m=y[v],Ji(m,f);Te(t,Nu,u),++a}if(r){for(p=new aa,Te(u,(Ie(),mr),r.i),Te(p,mr,r),Ci(p,(He(),Qt)),As(p,u),N=Df(r.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],bo(m,p);Te(r,Nu,u),++a}return Te(u,(Ie(),nB),Re(a)),Ot(o.c,u),u}function S_n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O;for(r=(y=new Zh(e.c.b).a.vc().Jc(),new Lw(y));r.a.Ob();)t=(p=l(r.a.Pb(),45),l(p.kd(),144)),a=t.a,a==null&&(a=""),o=Dnn(e.c,a),!o&&a.length==0&&(o=rgn(e)),o&&!gy(o.c,t,!1)&&Gn(o.c,t);for(f=An(e.a,0);f.b!=f.d.c;)u=l(Sn(f),478),v=GW(e.c,u.a),O=GW(e.c,u.b),v&&O&&Gn(v.c,new ko(O,u.c));for(tc(e.a),N=An(e.b,0);N.b!=N.d.c;)T=l(Sn(N),478),t=Onn(e.c,T.a),m=GW(e.c,T.b),t&&m&&ben(t,m,T.c);tc(e.b)}function T_n(e,t,r){var o,a,u,f,p,m,y,v,T;for(f=new mbt,y=Z(X(Rn,1),Qn,30,15,[0]),a=-1,u=0,o=0,m=0;m<e.b.c.length;++m)if(v=l(ze(e.b,m),439),v.b>0){if(a<0&&v.a&&(a=m,u=y[0],o=0),a>=0){if(p=v.b,m==a&&(p-=o++,p==0))return 0;if(!SEt(t,y,v,p,f)){m=a-1,y[0]=u;continue}}else if(a=-1,!SEt(t,y,v,0,f))return 0}else{if(a=-1,co(v.c,0)==32){if(T=y[0],Gdt(t,y),y[0]>T)continue}else if(zan(t,v.c,y[0])){y[0]+=v.c.length;continue}return 0}return hNn(f,r)?y[0]:0}function A_n(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(v=new gP(new bYe(r)),p=we(uu,Ad,30,e.f.e.c.length,16,1),rhe(p,p.length),r[t.a]=0,y=new V(e.f.e);y.a<y.c.c.length;)m=l(q(y),156),m.a!=t.a&&(r[m.a]=sr),xS(V_(v,m),fx);for(;v.b.c.length!=0;)for(T=l(lK(v),156),p[T.a]=!0,u=Nrt(new wq(e.b,T),0);u.c;)a=l(zpe(u),292),N=Jbn(a,T),!p[N.a]&&(gr(a,(G6(),S$))?f=ue(ce(F(a,S$))):f=e.c,o=r[T.a]+f,o<r[N.a]&&(r[N.a]=o,aht(v,N),xS(V_(v,N),fx)))}function R0e(e){var t,r,o,a,u,f,p,m;r=Ye(Ke(F(e,(ed(),dkt)))),u=e.a.c.d,p=e.a.d.d,r?(f=tp(Di(new Me(p.a,p.b),u),.5),m=tp(To(e.e),.5),t=Di(br(new Me(u.a,u.b),f),m),Pde(e.d,t)):(a=ue(ce(F(e.a,vkt))),o=e.d,u.a>=p.a?u.b>=p.b?(o.a=p.a+(u.a-p.a)/2+a,o.b=p.b+(u.b-p.b)/2-a-e.e.b):(o.a=p.a+(u.a-p.a)/2+a,o.b=u.b+(p.b-u.b)/2+a):u.b>=p.b?(o.a=u.a+(p.a-u.a)/2+a,o.b=p.b+(u.b-p.b)/2+a):(o.a=u.a+(p.a-u.a)/2+a,o.b=u.b+(p.b-u.b)/2-a-e.e.b))}function LC(e){var t,r,o,a,u,f,p,m;if(!e.f){if(m=new zue,p=new zue,t=L4,f=t.a.yc(e,t),f==null){for(u=new tn(ds(e));u.e!=u.i.gc();)a=l(rn(u),29),ti(m,LC(a));t.a.Ac(e)!=null,t.a.gc()==0}for(o=(!e.s&&(e.s=new ke(au,e,21,17)),new tn(e.s));o.e!=o.i.gc();)r=l(rn(o),182),ae(r,104)&&Tn(p,l(r,20));hy(p),e.r=new wot(e,(l(oe(Ne((a1(),Ut).o),6),20),p.i),p.g),ti(m,e.r),hy(m),e.f=new Qv((l(oe(Ne(Ut.o),5),20),m.i),m.g),Pu(e).b&=-3}return e.f}function q7(){q7=K,m3e=Z(X(al,1),Bf,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),UDt=new RegExp(`[
\r\f]+`);try{R4=Z(X(lCn,1),Rt,2093,0,[new eO((ude(),Xj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",jO((L9(),L9(),bI))))),new eO(Xj("yyyy-MM-dd'T'HH:mm:ss'.'SSS",jO(bI))),new eO(Xj("yyyy-MM-dd'T'HH:mm:ss",jO(bI))),new eO(Xj("yyyy-MM-dd'T'HH:mm",jO(bI))),new eO(Xj("yyyy-MM-dd",jO(bI)))])}catch(e){if(e=ci(e),!ae(e,81))throw Y(e)}}function __n(e){var t,r,o,a,u,f,p;for(r=null,p=null,o=l(F(e.b,(Be(),mte)),349),o==(nC(),AL)&&(r=new je,p=new je),f=new V(e.d);f.a<f.c.c.length;)if(u=l(q(f),108),a=u.i,!!a)switch(u.e.g){case 0:t=l(U3(new fS(u.b)),64),o==AL&&t==(He(),Wt)?Ot(r.c,u):o==AL&&t==(He(),dn)?Ot(p.c,u):Xvn(u,t);break;case 1:E2n(u);break;case 2:case 3:FTn(u);break;case 4:Ryn(u)}r&&(r.c.length==0||lvt(r,(He(),Wt)),p.c.length==0||lvt(p,(He(),dn)))}function x_n(e,t){var r,o,a,u;if(a=Bu(e.d,1)!=0,o=m0e(e,t),o==0&&Ye(Ke(F(t.j,(Ie(),j1)))))return 0;!Ye(Ke(F(t.j,(Ie(),j1))))&&!Ye(Ke(F(t.j,e2)))||be(F(t.j,(Be(),Ch)))===be((bp(),B1))?t.c.kg(t.e,a):a=Ye(Ke(F(t.j,j1))),oD(e,t,a,!0),Ye(Ke(F(t.j,e2)))&&Te(t.j,e2,(Lt(),!1)),Ye(Ke(F(t.j,j1)))&&(Te(t.j,j1,(Lt(),!1)),Te(t.j,e2,!0)),r=m0e(e,t);do{if(bge(e),r==0)return 0;a=!a,u=r,oD(e,t,a,!1),r=m0e(e,t)}while(u>r);return u}function yvt(e,t){var r,o,a,u;if(a=Bu(e.d,1)!=0,o=x7(e,t),o==0&&Ye(Ke(F(t.j,(Ie(),j1)))))return 0;!Ye(Ke(F(t.j,(Ie(),j1))))&&!Ye(Ke(F(t.j,e2)))||be(F(t.j,(Be(),Ch)))===be((bp(),B1))?t.c.kg(t.e,a):a=Ye(Ke(F(t.j,j1))),oD(e,t,a,!0),Ye(Ke(F(t.j,e2)))&&Te(t.j,e2,(Lt(),!1)),Ye(Ke(F(t.j,j1)))&&(Te(t.j,j1,(Lt(),!1)),Te(t.j,e2,!0)),r=x7(e,t);do{if(bge(e),r==0)return 0;a=!a,u=r,oD(e,t,a,!1),r=x7(e,t)}while(u>r);return u}function k_n(e,t,r){var o,a,u,f,p;if(o=l(F(e,(Be(),pte)),24),r.a>t.a&&(o.Gc((Zb(),g4))?e.c.a+=(r.a-t.a)/2:o.Gc(b4)&&(e.c.a+=r.a-t.a)),r.b>t.b&&(o.Gc((Zb(),w4))?e.c.b+=(r.b-t.b)/2:o.Gc(m4)&&(e.c.b+=r.b-t.b)),l(F(e,(Ie(),xa)),24).Gc((Fo(),rl))&&(r.a>t.a||r.b>t.b))for(p=new V(e.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(zt(),mi)&&(a=l(F(f,Hs),64),a==(He(),Qt)?f.n.a+=r.a-t.a:a==dn&&(f.n.b+=r.b-t.b));u=e.d,e.f.a=r.a-u.b-u.c,e.f.b=r.b-u.d-u.a}function N_n(e,t,r){var o,a,u,f,p;if(o=l(F(e,(Be(),pte)),24),r.a>t.a&&(o.Gc((Zb(),g4))?e.c.a+=(r.a-t.a)/2:o.Gc(b4)&&(e.c.a+=r.a-t.a)),r.b>t.b&&(o.Gc((Zb(),w4))?e.c.b+=(r.b-t.b)/2:o.Gc(m4)&&(e.c.b+=r.b-t.b)),l(F(e,(Ie(),xa)),24).Gc((Fo(),rl))&&(r.a>t.a||r.b>t.b))for(f=new V(e.a);f.a<f.c.c.length;)u=l(q(f),9),u.k==(zt(),mi)&&(a=l(F(u,Hs),64),a==(He(),Qt)?u.n.a+=r.a-t.a:a==dn&&(u.n.b+=r.b-t.b));p=e.d,e.f.a=r.a-p.b-p.c,e.f.b=r.b-p.d-p.a}function C_n(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(t=_0t(e),v=(p=new Xh(t).a.vc().Jc(),new T9(p));v.a.Ob();){for(y=(a=l(v.a.Pb(),45),l(a.jd(),9)),T=0,N=0,T=y.d.d,N=y.o.b+y.d.a,e.d[y.p]=0,r=y;(u=e.a[r.p])!=y;)o=D1n(r,u),m=0,e.c==(If(),kg)?m=o.d.n.b+o.d.a.b-o.c.n.b-o.c.a.b:m=o.c.n.b+o.c.a.b-o.d.n.b-o.d.a.b,f=ue(e.d[r.p])+m,e.d[u.p]=f,T=b.Math.max(T,u.d.d-f),N=b.Math.max(N,f+u.o.b+u.d.a),r=u;r=y;do e.d[r.p]=ue(e.d[r.p])+T,r=e.a[r.p];while(r!=y);e.b[y.p]=T+N}}function O0e(e,t,r,o){var a,u,f,p,m,y,v,T,N;return m=Di(new Me(r.a,r.b),e),y=m.a*t.b-m.b*t.a,v=t.a*o.b-t.b*o.a,T=(m.a*o.b-m.b*o.a)/v,N=y/v,v==0?y==0?(a=br(new Me(r.a,r.b),tp(new Me(o.a,o.b),.5)),u=f1(e,a),f=f1(br(new Me(e.a,e.b),t),a),p=b.Math.sqrt(o.a*o.a+o.b*o.b)*.5,u<f&&u<=p?new Me(e.a,e.b):f<=p?br(new Me(e.a,e.b),t):null):null:T>=0&&T<=1&&N>=0&&N<=1?br(new Me(e.a,e.b),tp(new Me(t.a,t.b),T)):null}function MC(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=0,f=e.t,a=0,o=0,m=0,N=0,T=0,r&&(e.n.c.length=0,Fe(e.n,new MP(e.s,e.t,e.i))),p=0,v=new V(e.b);v.a<v.c.c.length;)y=l(q(v),19),u+y.g+(p>0?e.i:0)>t&&m>0&&(u=0,f+=m+e.i,a=b.Math.max(a,N),o+=m+e.i,m=0,N=0,r&&(++T,Fe(e.n,new MP(e.s,f,e.i))),p=0),N+=y.g+(p>0?e.i:0),m=b.Math.max(m,y.f),r&&Z1e(l(ze(e.n,T),211),y),u+=y.g+(p>0?e.i:0),++p;return a=b.Math.max(a,N),o+=m,r&&(e.r=a,e.d=o,tbe(e.j)),new ql(e.s,e.t,a,o)}function V7(e){var t,r,o;return r=be(ve(e,(Be(),jT)))===be((tD(),$ee))||be(ve(e,jT))===be(Lee)||be(ve(e,jT))===be(Mee)||be(ve(e,jT))===be(jee)||be(ve(e,jT))===be(Bee)||be(ve(e,jT))===be(uL),o=be(ve(e,gB))===be((rD(),Ite))||be(ve(e,gB))===be(Ote)||be(ve(e,wL))===be((_1(),ak))||be(ve(e,wL))===be((_1(),KI)),t=be(ve(e,Ch))!==be((bp(),B1))||Ye(Ke(ve(e,tk)))||be(ve(e,jI))!==be((YS(),TI))||ue(ce(ve(e,bL)))!=0||ue(ce(ve(e,dte)))!=0,r||o||t}function CE(e){var t,r,o,a,u,f,p,m;if(!e.a){if(e.o=null,m=new eZe(e),t=new oqe,r=L4,p=r.a.yc(e,r),p==null){for(f=new tn(ds(e));f.e!=f.i.gc();)u=l(rn(f),29),ti(m,CE(u));r.a.Ac(e)!=null,r.a.gc()==0}for(a=(!e.s&&(e.s=new ke(au,e,21,17)),new tn(e.s));a.e!=a.i.gc();)o=l(rn(a),182),ae(o,336)&&Tn(t,l(o,38));hy(t),e.k=new mot(e,(l(oe(Ne((a1(),Ut).o),7),20),t.i),t.g),ti(m,e.k),hy(m),e.a=new Qv((l(oe(Ne(Ut.o),4),20),m.i),m.g),Pu(e).b&=-2}return e.a}function I_n(e){var t,r,o,a,u,f,p,m,y,v,T,N;if(p=e.d,T=l(F(e,(Ie(),MT)),16),t=l(F(e,NT),16),!(!T&&!t)){if(u=ue(ce(by(e,(Be(),Ate)))),f=ue(ce(by(e,HAe))),N=0,T){for(y=0,a=T.Jc();a.Ob();)o=l(a.Pb(),9),y=b.Math.max(y,o.o.b),N+=o.o.a;N+=u*(T.gc()-1),p.d+=y+f}if(r=0,t){for(y=0,a=t.Jc();a.Ob();)o=l(a.Pb(),9),y=b.Math.max(y,o.o.b),r+=o.o.a;r+=u*(t.gc()-1),p.a+=y+f}m=b.Math.max(N,r),m>e.o.a&&(v=(m-e.o.a)/2,p.b=b.Math.max(p.b,v),p.c=b.Math.max(p.c,v))}}function D0e(e,t,r,o){var a,u,f,p,m,y,v;if(v=za(e.e.Ah(),t),a=0,u=l(e.g,123),m=null,Lo(),l(t,69).vk()){for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(pr(f,r)){m=f;break}++a}}else if(r!=null){for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(pr(r,f.kd())){m=f;break}++a}}else for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(f.kd()==null){m=f;break}++a}return m&&(Ju(e.e)&&(y=t.Hk()?new UW(e.e,4,t,r,null,a,!0):c1(e,t.rk()?2:1,t,r,t.gk(),-1,!0),o?o.lj(y):o=y),o=aD(e,m,o)),o}function CJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,O,M,U;switch(M=0,U=0,m=a.c,p=a.b,v=r.f,O=r.g,t.g){case 0:M=o.i+o.g+f,e.c?U=awn(M,u,o,f):U=o.j,N=b.Math.max(m,M+O),y=b.Math.max(p,U+v);break;case 1:U=o.j+o.f+f,e.c?M=swn(U,u,o,f):M=o.i,N=b.Math.max(m,M+O),y=b.Math.max(p,U+v);break;case 2:M=m+f,U=0,N=m+f+O,y=b.Math.max(p,v);break;case 3:M=0,U=p+f,N=b.Math.max(m,O),y=p+f+v;break;default:throw Y(new jt("IllegalPlacementOption."))}return T=new F1e(e.a,N,y,t,M,U),T}function R_n(e){var t,r,o,a,u,f,p,m;for(u=new jut,Xen(u,(qS(),y6t)),o=(a=EK(e,we(Je,Pe,2,0,6,1)),new LN(new Ls(new yq(e,a).b)));o.b<o.d.gc();)r=(un(o.b<o.d.gc()),In(o.d.Xb(o.c=o.b++))),f=B0e(J1,r),f&&(t=op(e,r),t.re()?p=t.re().a:t.oe()?p=""+t.oe().a:t.pe()?p=""+t.pe().a:p=t.Ib(),m=F0e(f,p),m!=null&&((fu(f.j,(Jd(),ri))||fu(f.j,xt))&&C6(dK(u,En),f,m),fu(f.j,Rd)&&C6(dK(u,Ir),f,m),fu(f.j,Cg)&&C6(dK(u,Gu),f,m),fu(f.j,Np)&&C6(dK(u,Rs),f,m)));return u}function lD(e,t,r){var o,a,u,f,p,m,y,v;if(a=l(e.g,123),wp(e.e,t))return Lo(),l(t,69).vk()?new nP(t,e):new xO(t,e);for(y=za(e.e.Ah(),t),o=0,p=0;p<e.i;++p){if(u=a[p],f=u.Jk(),y.$l(f)){if(Lo(),l(t,69).vk())return u;if(f==(rT(),XT)||f==JT){for(m=new fc(ms(u.kd()));++p<e.i;)u=a[p],f=u.Jk(),(f==XT||f==JT)&&zn(m,ms(u.kd()));return cfe(l(t.Fk(),160),m.a)}else return v=u.kd(),v!=null&&r&&ae(t,104)&&l(t,20).Bb&No&&(v=TC(e,t,p,o,v)),v}++o}return t.gk()}function O_n(e){var t,r,o,a,u,f,p,m;for(a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new V(jb(o.a));f.a<f.c.c.length;)if(u=l(q(f),9),aft(u)&&(r=l(F(u,(Ie(),ew)),318),!r.g&&r.d))for(t=r,m=r.d;m;)tyt(m.i,m.k,!1,!0),d6(t.a),d6(m.i),d6(m.k),d6(m.b),Ji(m.c,t.c.d),Ji(t.c,null),Oi(t.a,null),Oi(m.i,null),Oi(m.k,null),Oi(m.b,null),p=new ipe(t.i,m.a,t.e,m.j,m.f),p.k=t.k,p.n=t.n,p.b=t.b,p.c=m.c,p.g=t.g,p.d=m.d,Te(t.i,ew,p),Te(m.a,ew,p),m=m.d,t=p}function W7(e,t,r,o){var a,u,f,p,m,y;if(m=za(e.e.Ah(),t),u=l(e.g,123),wp(e.e,t)){for(a=0,p=0;p<e.i;++p)if(f=u[p],m.$l(f.Jk())){if(a==r)return Lo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&ae(t,104)&&l(t,20).Bb&No&&(y=TC(e,t,p,a,y)),y);++a}throw Y(new Ia(aI+r+um+a))}else{for(a=0,p=0;p<e.i;++p){if(f=u[p],m.$l(f.Jk()))return Lo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&ae(t,104)&&l(t,20).Bb&No&&(y=TC(e,t,p,a,y)),y);++a}return t.gk()}}function IJ(){IJ=K,nxt=Z(X(Rn,1),Qn,30,15,[Qi,1162261467,BC,1220703125,362797056,1977326743,BC,387420489,rF,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,BC,1291467969,1544804416,1838265625,60466176]),rxt=Z(X(Rn,1),Qn,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 RJ(e,t){var r,o,a,u,f,p,m,y,v,T;if(f=e.e,m=t.e,m==0)return e;if(f==0)return t.e==0?t:new Ob(-t.e,t.d,t.a);if(u=e.d,p=t.d,u+p==2)return r=Gi(e.a[0],$o),o=Gi(t.a[0],$o),f<0&&(r=ug(r)),m<0&&(o=ug(o)),jf(),k8(El(r,o),0)?v1(El(r,o)):I3(v1(ug(El(r,o))));if(a=u!=p?u>p?1:-1:Vge(e.a,t.a,u),a==-1)T=-m,v=f==m?KW(t.a,p,e.a,u):JW(t.a,p,e.a,u);else if(T=f,f==m){if(a==0)return jf(),wI;v=KW(e.a,u,t.a,p)}else v=JW(e.a,u,t.a,p);return y=new Ob(T,v.length,v),F3(y),y}function D_n(e,t){var r,o,a,u;if(u=rvt(t),!t.c&&(t.c=new ke(Gu,t,9,9)),ei(new Et(null,(!t.c&&(t.c=new ke(Gu,t,9,9)),new St(t.c,16))),new vYe(u)),a=l(F(u,(Ie(),xa)),24),Ikn(t,a),a.Gc((Fo(),rl)))for(o=new tn((!t.c&&(t.c=new ke(Gu,t,9,9)),t.c));o.e!=o.i.gc();)r=l(rn(o),127),tNn(e,t,u,r);return l(ve(t,(Be(),mm)),185).gc()!=0&&zwt(t,u),Ye(Ke(F(u,jAe)))&&a.Ec(eB),gr(u,yL)&&hQe(new E1e(ue(ce(F(u,yL)))),u),be(ve(t,Wy))===be((pp(),Ig))?T3n(e,t,u):aNn(e,t,u),u}function Ta(e,t){var r,o,a,u,f,p,m;if(e==null)return null;if(u=e.length,u==0)return"";for(m=we(al,Bf,30,u,15,1),io(0,u,e.length),io(0,u,m.length),Nst(e,0,u,m,0),r=null,p=t,a=0,f=0;a<u;a++)o=m[a],YEt(),o<=32&&te[o]&2?p?(!r&&(r=new ml(e)),inn(r,a-f++)):(p=t,o!=32&&(!r&&(r=new ml(e)),NK(r,a-f,a-f+1," "))):p=!1;return p?r?(u=r.a.length,u>0?yl(r.a,0,u-1):""):(io(0,u-1,e.length),e.substr(0,u-1)):r?r.a:e}function L_n(e,t,r){var o,a,u;if(gr(t,(Be(),Cs))&&(be(F(t,Cs))===be((ic(),xp))||be(F(t,Cs))===be(gm))||gr(r,Cs)&&(be(F(r,Cs))===be((ic(),xp))||be(F(r,Cs))===be(gm)))return 0;if(o=ji(t),a=vTn(e,t,r),a!=0)return a;if(gr(t,(Ie(),Cr))&&gr(r,Cr)){if(u=na(D0(t,r,o,l(F(o,F1),15).a),D0(r,t,o,l(F(o,F1),15).a)),be(F(o,FI))===be((g1(),lL))&&be(F(t,$I))!==be(F(r,$I))&&(u=0),u<0)return sD(e,t,r),u;if(u>0)return sD(e,r,t),u}return Gvn(e,t,r)}function vvt(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(o=new $t(qt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),ae(oe((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),196)||(m=Yo(l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),AC(r)||(f=t.i+t.g/2,p=t.j+t.f/2,v=m.i+m.g/2,T=m.j+m.f/2,N=new ro,N.a=v-f,N.b=T-p,u=new Me(N.a,N.b),G_(u,t.g,t.f),N.a-=u.a,N.b-=u.b,f=v-N.a,p=T-N.b,y=new Me(N.a,N.b),G_(y,m.g,m.f),N.a-=y.a,N.b-=y.b,v=f+N.a,T=p+N.b,a=kC(r),E0(a,f),S0(a,p),y0(a,v),v0(a,T),vvt(e,m)))}function Ny(e,t){var r,o,a,u,f;if(f=l(t,140),xE(e),xE(f),f.b!=null){if(e.c=!0,e.b==null){e.b=we(Rn,Qn,30,f.b.length,15,1),ua(f.b,0,e.b,0,f.b.length);return}for(u=we(Rn,Qn,30,e.b.length+f.b.length,15,1),r=0,o=0,a=0;r<e.b.length||o<f.b.length;)r>=e.b.length?(u[a++]=f.b[o++],u[a++]=f.b[o++]):o>=f.b.length?(u[a++]=e.b[r++],u[a++]=e.b[r++]):f.b[o]<e.b[r]||f.b[o]===e.b[r]&&f.b[o+1]<e.b[r+1]?(u[a++]=f.b[o++],u[a++]=f.b[o++]):(u[a++]=e.b[r++],u[a++]=e.b[r++]);e.b=u}}function M_n(e,t){var r,o,a,u,f,p,m,y,v,T;return r=Ye(Ke(F(e,(Ie(),qy)))),p=Ye(Ke(F(t,qy))),o=l(F(e,Cd),12),m=l(F(t,Cd),12),a=l(F(e,Nl),12),y=l(F(t,Nl),12),v=!!o&&o==m,T=!!a&&a==y,!r&&!p?new vfe(l(q(new V(e.j)),12).p==l(q(new V(t.j)),12).p,v,T):(u=(!Ye(Ke(F(e,qy)))||Ye(Ke(F(e,pL))))&&(!Ye(Ke(F(t,qy)))||Ye(Ke(F(t,pL)))),f=(!Ye(Ke(F(e,qy)))||!Ye(Ke(F(e,pL))))&&(!Ye(Ke(F(t,qy)))||!Ye(Ke(F(t,pL)))),new vfe(v&&u||T&&f,v,T))}function Evt(e){var t,r,o,a,u,f,p,m;for(o=0,r=0,m=new Ar,t=0,p=new V(e.n);p.a<p.c.c.length;)f=l(q(p),211),f.c.c.length==0?Wr(m,f,m.c.b,m.c):(o=b.Math.max(o,f.d),r+=f.a+(t>0?e.i:0)),++t;for(h1e(e.n,m),e.d=r,e.r=o,e.g=0,e.f=0,e.e=0,e.o=Kr,e.p=Kr,u=new V(e.b);u.a<u.c.c.length;)a=l(q(u),19),e.p=b.Math.min(e.p,a.g),e.g=b.Math.max(e.g,a.g),e.f=b.Math.max(e.f,a.f),e.o=b.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),tbe(e.j)}function Svt(e){var t,r,o,a;return e.Db&64?nY(e):(t=new fc(uEe),o=e.k,o?zn(zn((t.a+=' "',t),o),'"'):(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n.i>0&&(a=(!e.n&&(e.n=new ke(Rs,e,1,7)),l(oe(e.n,0),158)).a,!a||zn(zn((t.a+=' "',t),a),'"'))),r=(!e.b&&(e.b=new Tt(pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c.i<=1))),r?t.a+=" [":t.a+=" ",zn(t,Tde(new hq,new tn(e.b))),r&&(t.a+="]"),t.a+=PX,r&&(t.a+="["),zn(t,Tde(new hq,new tn(e.c))),r&&(t.a+="]"),t.a)}function P_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(Ee=e.c,ye=t.c,r=_s(Ee.a,e,0),o=_s(ye.a,t,0),se=l(k0(e,(jo(),Cu)).Jc().Pb(),12),ft=l(k0(e,Ba).Jc().Pb(),12),de=l(k0(t,Cu).Jc().Pb(),12),It=l(k0(t,Ba).Jc().Pb(),12),J=Df(se.e),qe=Df(ft.g),ne=Df(de.e),lt=Df(It.g),E1(e,o,ye),f=ne,v=0,M=f.length;v<M;++v)a=f[v],Ji(a,se);for(p=lt,T=0,U=p.length;T<U;++T)a=p[T],bo(a,ft);for(E1(t,r,Ee),m=J,N=0,z=m.length;N<z;++N)a=m[N],Ji(a,de);for(u=qe,y=0,O=u.length;y<O;++y)a=u[y],bo(a,It)}function j_n(e){var t,r,o,a,u,f,p;for(f=l(ve(e,(aE(),l2)),19),o=new tn((!f.e&&(f.e=new Tt(Ir,f,7,4)),f.e));o.e!=o.i.gc();)r=l(rn(o),74),p=new Me(l(oe((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).j,l(oe((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).k),u=new Me(l(oe((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).b,l(oe((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).c),a=new Me(u.a-p.a,u.b-p.b),t=b.Math.atan2(a.b,a.a),l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83).of((T1(),yne),t)}function F_n(e,t){var r,o,a,u,f,p,m,y,v;for(t.Tg("Interactive Node Reorderer",1),v=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),p=new je,a=new tn(v);a.e!=a.i.gc();)r=l(rn(a),19),Gc(r,(ef(),OL))&&Ot(p.c,r);for(u=new V(p);u.a<u.c.c.length;)r=l(q(u),19),uj(v,r);for(At(),xi(p,new Rze),f=new V(p);f.a<f.c.c.length;)r=l(q(f),19),y=l(ve(r,(ef(),OL)),15).a,y=b.Math.min(y,v.i),aC(v,y,r);for(m=0,o=new tn(v);o.e!=o.i.gc();)r=l(rn(o),19),Vn(r,(ef(),Hxe),Re(m)),++m;t.Ug()}function $_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(p=we(Rn,Qn,30,t.b.c.length,15,1),y=we(bee,Ce,252,t.b.c.length,0,1),m=we(Nh,vg,9,t.b.c.length,0,1),T=e.a,N=0,O=T.length;N<O;++N){for(v=T[N],U=0,f=new V(v.e);f.a<f.c.c.length;)a=l(q(f),9),o=ide(a.c),++p[o],M=ue(ce(F(t,(Be(),od)))),p[o]>0&&m[o]&&(M=rE(e.b,m[o],a)),U=b.Math.max(U,a.c.c.b+M);for(u=new V(v.e);u.a<u.c.c.length;)a=l(q(u),9),a.n.b=U+a.d.d,r=a.c,r.c.b=U+a.d.d+a.o.b+a.d.a,y[_s(r.b.b,r,0)]=a.k,m[_s(r.b.b,r,0)]=a}}function L0e(e,t,r){var o,a,u,f,p,m,y,v;return b.Math.abs(t.s-t.c)<Hf||b.Math.abs(r.s-r.c)<Hf?0:(o=xwt(e,t.j,r.e),a=xwt(e,r.j,t.e),u=o==-1||a==-1,f=0,u?(o==-1&&(new Pb((vd(),U1),r,t,1),++f),a==-1&&(new Pb((vd(),U1),t,r,1),++f)):(p=yE(t.j,r.s,r.c),p+=yE(r.e,t.s,t.c),m=yE(r.j,t.s,t.c),m+=yE(t.e,r.s,r.c),y=o+16*p,v=a+16*m,y<v?new Pb((vd(),rv),t,r,v-y):y>v?new Pb((vd(),rv),r,t,y-v):y>0&&v>0&&(new Pb((vd(),rv),t,r,0),new Pb(rv,r,t,0))),f)}function B_n(e,t,r){var o,a,u;for(e.a=new je,u=An(t.b,0);u.b!=u.d.c;){for(a=l(Sn(u),41);l(F(a,(js(),Jf)),15).a>e.a.c.length-1;)Fe(e.a,new ko(jE,ove));o=l(F(a,Jf),15).a,r==(vi(),as)||r==fs?(a.e.a<ue(ce(l(ze(e.a,o),49).a))&&zG(l(ze(e.a,o),49),a.e.a),a.e.a+a.f.a>ue(ce(l(ze(e.a,o),49).b))&&HG(l(ze(e.a,o),49),a.e.a+a.f.a)):(a.e.b<ue(ce(l(ze(e.a,o),49).a))&&zG(l(ze(e.a,o),49),a.e.b),a.e.b+a.f.b>ue(ce(l(ze(e.a,o),49).b))&&HG(l(ze(e.a,o),49),a.e.b+a.f.b))}}function Tvt(e,t,r,o){var a,u,f,p,m,y,v;if(u=Gj(o),p=Ye(Ke(F(o,(Be(),RAe)))),(p||Ye(Ke(F(e,pB))))&&!tE(l(F(e,Zr),103)))a=WS(u),m=y0e(e,r,r==(jo(),Ba)?a:P6(a));else switch(m=new aa,As(m,e),t?(v=m.n,v.a=t.a-e.n.a,v.b=t.b-e.n.b,ymt(v,0,0,e.o.a,e.o.b),Ci(m,Hyt(m,u))):(a=WS(u),Ci(m,r==(jo(),Ba)?a:P6(a))),f=l(F(o,(Ie(),xa)),24),y=m.j,u.g){case 2:case 1:(y==(He(),Wt)||y==dn)&&f.Ec((Fo(),XE));break;case 4:case 3:(y==(He(),Qt)||y==Kt)&&f.Ec((Fo(),XE))}return m}function Avt(e,t){var r,o,a,u,f,p;for(f=new dy(new Dw(e.f.b).a);f.b;){if(u=gE(f),a=l(u.jd(),598),t==1){if(a.yf()!=(vi(),il)&&a.yf()!=ff)continue}else if(a.yf()!=(vi(),as)&&a.yf()!=fs)continue;switch(o=l(l(u.kd(),49).b,84),p=l(l(u.kd(),49).a,197),r=p.c,a.yf().g){case 2:o.g.c=e.e.a,o.g.b=b.Math.max(1,o.g.b+r);break;case 1:o.g.c=o.g.c+r,o.g.b=b.Math.max(1,o.g.b-r);break;case 4:o.g.d=e.e.b,o.g.a=b.Math.max(1,o.g.a+r);break;case 3:o.g.d=o.g.d+r,o.g.a=b.Math.max(1,o.g.a-r)}}}function U_n(e,t){var r,o,a,u,f,p,m,y,v,T;for(t.Tg("Simple node placement",1),T=l(F(e,(Ie(),t2)),317),p=0,u=new V(e.b);u.a<u.c.c.length;){for(o=l(q(u),26),f=o.c,f.b=0,r=null,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),r&&(f.b+=L1e(m,r,T.c)),f.b+=m.d.d+m.o.b+m.d.a,r=m;p=b.Math.max(p,f.b)}for(a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=o.c,v=(p-f.b)/2,r=null,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),r&&(v+=L1e(m,r,T.c)),v+=m.d.d,m.n.b=v,v+=m.o.b+m.d.a,r=m;t.Ug()}function _vt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,z0),"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 qze))),De(e,z0,HZ,Ge(ZB)),De(e,z0,Uve,Ge(Gne)),De(e,z0,Hve,Ge(zne)),De(e,z0,zZ,Ge(mke)),De(e,z0,GZ,Ge(Hne)),De(e,z0,B0,bke),De(e,z0,$0,8),De(e,z0,qZ,Ge(UOt)),De(e,z0,zve,Ge(pke)),De(e,z0,Gve,Ge(gke)),De(e,z0,UD,(Lt(),!1))}function H_n(e,t){var r,o,a,u;for(kfn(t.b.j),ei(Oa(new Et(null,new St(t.d,16)),new oUe),new sUe),u=new V(t.d);u.a<u.c.c.length;){switch(a=l(q(u),108),a.e.g){case 0:r=l(ze(a.j,0),114).d.j,nce(a,l(Xu(NS(l(wr(a.k,r),16).Mc(),WE)),114)),tce(a,l(Xu(Jw(l(wr(a.k,r),16).Mc(),WE)),114));break;case 1:o=ibe(a),nce(a,l(Xu(NS(l(wr(a.k,o[0]),16).Mc(),WE)),114)),tce(a,l(Xu(Jw(l(wr(a.k,o[1]),16).Mc(),WE)),114));break;case 2:$yn(e,a);break;case 3:V2n(a);break;case 4:X2n(e,a)}xfn(a)}e.a=null}function OJ(e,t,r){var o,a,u,f,p,m,y,v;return o=e.a.o==(zd(),uf)?Kr:Li,p=Yyt(e,new Dtt(t,r)),!p.a&&p.c?(Gn(e.d,p),o):p.a?(a=p.a.c,m=p.a.d,r?(y=e.a.c==(If(),aw)?m:a,u=e.a.c==aw?a:m,f=e.a.g[u.i.p],v=ue(e.a.p[f.p])+ue(e.a.d[u.i.p])+u.n.b+u.a.b-ue(e.a.d[y.i.p])-y.n.b-y.a.b):(y=e.a.c==(If(),kg)?m:a,u=e.a.c==kg?a:m,v=ue(e.a.p[e.a.g[u.i.p].p])+ue(e.a.d[u.i.p])+u.n.b+u.a.b-ue(e.a.d[y.i.p])-y.n.b-y.a.b),e.a.n[e.a.g[a.i.p].p]=(Lt(),!0),e.a.n[e.a.g[m.i.p].p]=!0,v):o}function z_n(e,t,r,o){var a,u,f,p,m,y,v,T;if(o.gc()==0)return!1;if(m=(Lo(),l(t,69).vk()),f=m?o:new w0(o.gc()),wp(e.e,t)){if(t.Qi())for(v=o.Jc();v.Ob();)y=v.Pb(),G7(e,t,y,ae(t,104)&&(l(t,20).Bb&No)!=0)||(u=gh(t,y),f.Ec(u));else if(!m)for(v=o.Jc();v.Ob();)y=v.Pb(),u=gh(t,y),f.Ec(u)}else{for(T=za(e.e.Ah(),t),a=l(e.g,123),p=0;p<e.i;++p)if(u=a[p],T.$l(u.Jk()))throw Y(new jt(YD));if(o.gc()>1)throw Y(new jt(YD));m||(u=gh(t,o.Jc().Pb()),f.Ec(u))}return Oge(e,Zbe(e,t,r),f)}function K7(e,t,r){var o,a,u,f,p,m,y,v;if(wp(e.e,t))m=(Lo(),l(t,69).vk()?new nP(t,e):new xO(t,e)),N7(m.c,m.b),m3(m,l(r,18));else{for(v=za(e.e.Ah(),t),o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],u=a.Jk(),v.$l(u)){if(u==(rT(),XT)||u==JT){for(y=Y1e(e,t,r),p=f,y?_y(e,f):++f;f<e.i;)a=o[f],u=a.Jk(),u==XT||u==JT?_y(e,f):++f;y||l(EE(e,p,gh(t,r)),76)}else Y1e(e,t,r)?_y(e,f):l(EE(e,f,(Lo(),l(t,69).vk()?l(r,76):gh(t,r))),76);return}Y1e(e,t,r)||Tn(e,(Lo(),l(t,69).vk()?l(r,76):gh(t,r)))}}function xvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(T=0;T<t.length;T++){for(p=e.Jc();p.Ob();)u=l(p.Pb(),223),u.fg(T,t);for(N=0;N<t[T].length;N++){for(m=e.Jc();m.Ob();)u=l(m.Pb(),223),u.gg(T,N,t);for(U=t[T][N].j,O=0;O<U.c.length;O++){for(y=e.Jc();y.Ob();)u=l(y.Pb(),223),u.hg(T,N,O,t);for(M=(at(O,U.c.length),l(U.c[O],12)),r=0,a=new Vd(M.b);Ts(a.a)||Ts(a.b);)for(o=l(Ts(a.a)?q(a.a):q(a.b),17),v=e.Jc();v.Ob();)u=l(v.Pb(),223),u.eg(T,N,O,r++,o,t)}}}for(f=e.Jc();f.Ob();)u=l(f.Pb(),223),u.dg()}function G_n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;for(r.Tg(ISt,1),T=t.a,v=T.c.length,e.c=new je,e.d=we(uu,Ad,30,v,16,1),e.a=we(uu,Ad,30,v,16,1),e.b=new je,f=0,y=new V(T);y.a<y.c.c.length;)m=l(q(y),9),m.p=f,iy(si(m))&&Fe(e.c,m),++f;for(O=new V(e.c);O.a<O.c.c.length;)N=l(q(O),9),nme(e,N);for(u=0;u<v;u++)e.d[u]||(p=(at(u,T.c.length),l(T.c[u],9)),nme(e,p));for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!0),Te(t,(Ie(),CT),(Lt(),!0));e.c=null,e.d=null,e.a=null,e.b=null,r.Ug()}function q_n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;for(r.Tg(ISt,1),e.c=t,T=t.a,v=T.c.length,e.d=new je,e.e=we(uu,Ad,30,v,16,1),e.a=we(uu,Ad,30,v,16,1),e.b=new je,f=0,y=new V(T);y.a<y.c.c.length;)m=l(q(y),9),m.p=f,iy(si(m))&&Fe(e.d,m),++f;for(O=new V(e.d);O.a<O.c.c.length;)N=l(q(O),9),d0e(e,N);for(u=0;u<v;u++)e.e[u]||(p=(at(u,T.c.length),l(T.c[u],9)),d0e(e,p));for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!0),Te(t,(Ie(),CT),(Lt(),!0));e.d=null,e.e=null,e.a=null,e.b=null,r.Ug()}function V_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;if(M=l(Ht(e.d,t),150),!M)throw Y(new xf("Edge did not exist in input."));return yJ(e,t),T=B_(M),f=aO((!t.a&&(t.a=new ke(jr,t,6,6)),t.a)),m=!f,m&&(U=new Eb,o=new mat(e,T,U,t),Fen((!t.a&&(t.a=new ke(jr,t,6,6)),t.a),o),Kl(M,dQ,null),Kl(M,dQ,U)),u=Gc(t,(_n(),p2)),u&&(N=l(ve(t,p2),79),p=!N||qst(N),y=!p,y&&(O=new Eb,a=new rot(e,t,O),lo(N,a),Kl(M,"junctionPoints",O))),r=qde(e,l(Ht(e.e,t),19)),v=r==(O_(),uU),v&&e_(M,"container",ty(t).k),null}function W_n(e,t){var r,o,a,u,f,p,m;for(e.b=ue(ce(F(t,(Be(),Qy)))),e.c=ue(ce(F(t,$1))),e.d=l(F(t,wte),350),e.a=l(F(t,cB),285),Pbn(t),p=l(Au(lr(lr(bs(bs(new Et(null,new St(t.b,16)),new vFe),new EFe),new SFe),new TFe),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),a=p.Jc();a.Ob();)r=l(a.Pb(),17),f=l(F(r,(Ie(),pm)),16),f.Ic(new IYe(e)),Te(r,pm,null);for(o=p.Jc();o.Ob();)r=l(o.Pb(),17),m=l(F(r,(Ie(),_Te)),17),u=l(F(r,n2),16),l3n(e,u,m),Te(r,n2,null)}function DJ(e,t){var r,o,a,u,f,p,m;if(e.a){if(p=e.a.ve(),m=null,p!=null?t.a+=""+p:(f=e.a.kk(),f!=null&&(u=Nf(f,Qa(91)),u!=-1?(m=(Yt(u,f.length+1),f.substr(u)),t.a+=""+yl(f==null?tu:(Mt(f),f),0,u)):t.a+=""+f)),e.d&&e.d.i!=0){for(a=!0,t.a+="<",o=new tn(e.d);o.e!=o.i.gc();)r=l(rn(o),88),a?a=!1:t.a+=ja,DJ(r,t);t.a+=">"}m!=null&&(t.a+=""+m)}else e.e?(p=e.e.zb,p!=null&&(t.a+=""+p)):(t.a+="?",e.b?(t.a+=" super ",DJ(e.b,t)):e.f&&(t.a+=" extends ",DJ(e.f,t)))}function K_n(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 Y_n(e){var t,r,o,a;if(o=VJ((!e.c&&(e.c=ZO(Gs(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return o;if(t=mge(e)<0?1:0,r=e.e,a=(o.length+1+b.Math.abs(go(e.e)),new lS),t==1&&(a.a+="-"),e.e>0)if(r-=o.length-t,r>=0){for(a.a+="0.";r>fm.length;r-=fm.length)Hot(a,fm);vit(a,fm,go(r)),zn(a,(Yt(t,o.length+1),o.substr(t)))}else r=t-r,zn(a,yl(o,t,go(r))),a.a+=".",zn(a,hhe(o,go(r)));else{for(zn(a,(Yt(t,o.length+1),o.substr(t)));r<-fm.length;r+=fm.length)Hot(a,fm);vit(a,fm,go(-r))}return a.a}function LJ(e){var t,r,o,a,u,f,p,m,y;return!(e.k!=(zt(),Xr)||e.j.c.length<=1||(u=l(F(e,(Be(),Zr)),103),u==(qi(),fa))||(a=(wy(),(e.q?e.q:(At(),At(),xh))._b(ow)?o=l(F(e,ow),205):o=l(F(ji(e),zI),205),o),a==xB)||!(a==a2||a==s2)&&(f=ue(ce(by(e,GI))),t=l(F(e,EL),125),!t&&(t=new efe(f,f,f,f)),y=ks(e,(He(),Kt)),m=t.d+t.a+(y.gc()-1)*f,m>e.o.b||(r=ks(e,Qt),p=t.d+t.a+(r.gc()-1)*f,p>e.o.b)))}function J_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;t.Tg("Orthogonal edge routing",1),y=ue(ce(F(e,(Be(),tv)))),r=ue(ce(F(e,Qy))),o=ue(ce(F(e,$1))),N=new oW(0,r),z=0,f=new Xi(e.b,0),p=null,v=null,m=null,T=null;do v=f.b<f.d.gc()?(un(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),26)):null,T=v?v.a:null,p&&(P0e(p,z),z+=p.c.a),U=p?z+o:z,M=U0e(N,e,m,T,U),a=!p||N8(m,(F7(),xL)),u=!v||N8(T,(F7(),xL)),M>0?(O=(M-1)*r,p&&(O+=o),v&&(O+=o),O<y&&!a&&!u&&(O=y),z+=O):!a&&!u&&(z+=y),p=v,m=T;while(v);e.f.a=z,t.Ug()}function Y7(e,t){var r,o,a,u,f,p,m,y,v,T;if(v=null,e.d&&(v=l(wa(e.d,t),146)),!v){if(u=e.a.si(),T=u.i,!e.d||WN(e.d)!=T){for(m=new hn,e.d&&X3(m,e.d),y=m.f.c+m.i.c,p=y;p<T;++p)o=l(oe(u,p),146),a=fg(e.e,o).ve(),r=l(a==null?eu(m.f,null,o):_0(m.i,a,o),146),r&&r!=o&&(a==null?eu(m.f,null,r):_0(m.i,a,r));if(m.f.c+m.i.c!=T)for(f=0;f<y;++f)o=l(oe(u,f),146),a=fg(e.e,o).ve(),r=l(a==null?eu(m.f,null,o):_0(m.i,a,o),146),r&&r!=o&&(a==null?eu(m.f,null,r):_0(m.i,a,r));e.d=m}v=l(wa(e.d,t),146)}return v}function MJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,O;return T=Ye(Ke(F(t,(Be(),OAe)))),N=null,u==(jo(),Cu)&&o.c.i==r?N=o.c:u==Ba&&o.d.i==r&&(N=o.d),y=f,!y||!T||N?(v=(He(),Is),N?v=N.j:tE(l(F(r,Zr),103))&&(v=u==Cu?Kt:Qt),m=X_n(e,t,r,u,v,o),p=WW((ji(r),o)),u==Cu?(bo(p,l(ze(m.j,0),12)),Ji(p,a)):(bo(p,a),Ji(p,l(ze(m.j,0),12))),y=new ggt(o,p,m,l(F(m,(Ie(),mr)),12),u,!N)):(Fe(y.e,o),O=b.Math.max(ue(ce(F(y.d,_g))),ue(ce(F(o,_g)))),Te(y.d,_g,O)),yt(e.a,o,new K8(y.d,t,u)),y}function PJ(){PJ=K;var e;k3e=new HZe,JDt=we(Je,Pe,2,0,6,1),KDt=Of(GS(33,58),GS(1,26)),YDt=Of(GS(97,122),GS(65,90)),S3e=GS(48,57),VDt=Of(KDt,0),WDt=Of(YDt,S3e),T3e=Of(Of(0,GS(1,6)),GS(33,38)),A3e=Of(Of(S3e,GS(65,70)),GS(97,102)),XDt=Of(VDt,r7("-_.!~*'()")),ZDt=Of(WDt,Jj("-_.!~*'()")),r7(PAt),Jj(PAt),Of(XDt,r7(";:@&=+$,")),Of(ZDt,Jj(";:@&=+$,")),_3e=r7(":/?#"),x3e=Jj(":/?#"),O4=r7("/?#"),D4=Jj("/?#"),e=new hi,e.a.yc("jar",e),e.a.yc("zip",e),e.a.yc("archive",e),EU=(At(),new PA(e))}function X_n(e,t,r,o,a,u){var f,p,m,y,v,T;return f=null,y=o==(jo(),Cu)?u.c:u.d,m=Gj(t),y.i==r?(f=l(Ht(e.b,y),9),f||(f=fD(y,l(F(r,(Be(),Zr)),103),a,ZTn(y),null,y.n,y.o,m,t),Te(f,(Ie(),mr),y),Jn(e.b,y,f))):(f=fD((v=new Q2,T=ue(ce(F(t,(Be(),od))))/2,C6(v,Jy,T),v),l(F(r,Zr),103),a,o==Cu?-1:1,null,new ro,new Me(0,0),m,t),p=H0n(f,r,o),Te(f,(Ie(),mr),p),Jn(e.b,p,f)),l(F(t,(Ie(),xa)),24).Ec((Fo(),rl)),tE(l(F(t,(Be(),Zr)),103))?Te(t,Zr,(qi(),Sk)):Te(t,Zr,(qi(),pf)),f}function rx(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;p=0,M=0,m=DP(e.g,e.g.length),u=e.e,f=e.j,o=e.b,a=e.c;do{for(O=0,v=new V(e.q);v.a<v.c.c.length;)y=l(q(v),9),N=Kvt(e,y),r=!0,(e.r==(_1(),SL)||e.r==TL)&&(r=Ye(Ke(N.b))),l(N.a,15).a<0&&r?(++O,m=DP(e.g,e.g.length),e.e=e.e+l(N.a,15).a,M+=u-e.e,u=e.e+l(N.a,15).a,f=e.j,o=jb(e.b),a=jb(e.c)):(e.g=DP(m,m.length),e.e=u,e.b=(kn(o),o?new Tu(o):QA(new V(o))),e.c=(kn(a),a?new Tu(a):QA(new V(a))),e.j=f);++p,T=O!=0&&Ye(Ke(t.Kb(new ko(Re(M),Re(p)))))}while(T)}function Z_n(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;return f=e.f,N=t.f,p=f==(xC(),BT)||f==d4,O=N==BT||N==d4,m=f==f2||f==f4,M=N==f2||N==f4,y=f==f2||f==BT,U=N==f2||N==BT,p&&O?e.f==d4?e:t:m&&M?e.f==f4?e:t:y&&U?(f==f2?(T=e,v=t):(T=t,v=e),u=(z=r.j+r.f,J=T.e+o.f,ne=b.Math.max(z,J),se=ne-b.Math.min(r.j,T.e),de=T.d+o.g-r.i,de*se),a=(Ee=r.i+r.g,ye=v.d+o.g,qe=b.Math.max(Ee,ye),lt=qe-b.Math.min(r.i,v.d),ft=v.e+o.f-r.j,lt*ft),u<=a?e.f==f2?e:t:e.f==BT?e:t):e}function kvt(e,t){var r,o,a,u,f,p,m,y,v,T;if(Te(t,(Nr(),lk),0),m=l(F(t,PB),41),t.d.b==0)m?(v=ue(ce(F(m,Ng)))+e.b+m1e(e,m,t),Te(t,Ng,v)):Te(t,Ng,0);else{for(o=(u=An(new Qh(t).a.d,0),new qv(u));oO(o.a);)r=l(Sn(o.a),65).c,kvt(e,r);p=l(M8((f=An(new Qh(t).a.d,0),new qv(f))),41),T=l(Htn((a=An(new Qh(t).a.d,0),new qv(a))),41),y=(ue(ce(F(T,Ng)))+ue(ce(F(p,Ng))))/2,m?(v=ue(ce(F(m,Ng)))+e.b+m1e(e,m,t),Te(t,Ng,v),Te(t,lk,ue(ce(F(t,Ng)))-y),pkn(e,t)):Te(t,Ng,y)}}function Q_n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O;if(y=new je,!gr(e,(Ie(),ete)))return y;for(o=l(F(e,ete),16).Jc();o.Ob();)t=l(o.Pb(),9),vxn(t,e),Ot(y.c,t);for(u=new V(e.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(a.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(zt(),mi)&&(m=l(F(f,iB),9),m&&(v=new aa,As(v,f),T=l(F(f,Hs),64),Ci(v,T),N=l(ze(m.j,0),12),O=new p0,bo(O,v),Ji(O,N)));for(r=new V(y);r.a<r.c.c.length;)t=l(q(r),9),Oi(t,l(ze(e.b,e.b.c.length-1),26));return y}function exn(e){var t,r,o,a,u,f,p,m,y,v,T;for(v=e.e.a.c.length,f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),u.j=!1;for(e.i=we(Rn,Qn,30,v,15,1),e.g=we(Rn,Qn,30,v,15,1),e.n=new je,a=0,T=new je,m=new V(e.e.a);m.a<m.c.c.length;)p=l(q(m),126),p.d=a++,p.b.a.c.length==0&&Fe(e.n,p),li(T,p.g);for(t=0,o=new V(T);o.a<o.c.c.length;)r=l(q(o),220),r.c=t++,r.f=!1;y=T.c.length,e.b==null||e.b.length<y?(e.b=we(Ki,Jo,30,y,15,1),e.c=we(uu,Ad,30,y,16,1)):HN(e.c),e.d=T,e.p=new mV(fy(e.d.c.length)),e.j=1}function txn(e,t){var r,o,a,u,f,p,m,y,v;if(!(t.e.c.length<=1)){for(e.f=t,e.d=l(F(e.f,(G6(),P2e)),385),e.g=l(F(e.f,B2e),15).a,e.e=ue(ce(F(e.f,j2e))),e.c=ue(ce(F(e.f,S$))),_st(e.b),a=new V(e.f.c);a.a<a.c.c.length;)o=l(q(a),292),h0e(e.b,o.c,o,null),h0e(e.b,o.d,o,null);for(p=e.f.e.c.length,e.a=Yw(Ki,[Pe,Jo],[109,30],15,[p,p],2),y=new V(e.f.e);y.a<y.c.c.length;)m=l(q(y),156),A_n(e,m,e.a[m.a]);for(e.i=Yw(Ki,[Pe,Jo],[109,30],15,[p,p],2),u=0;u<p;++u)for(f=0;f<p;++f)r=e.a[u][f],v=1/(r*r),e.i[u][f]=v}}function Nvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(p=t._g(),p||t.Tg(q2t,1),r=l(F(e,(Ie(),ote)),16),f=1/r.gc(),t.$g())for(t.ah("ELK Layered uses the following "+r.gc()+" modules:"),O=0,N=r.Jc();N.Ob();)v=l(N.Pb(),43),o=(O<10?"0":"")+O++,t.ah(" Slot "+o+": "+Ab(rc(v)));for(T=r.Jc();T.Ob();){if(v=l(T.Pb(),43),t.Zg())return;v.If(e,t.dh(f))}for(u=new V(e.b);u.a<u.c.c.length;)a=l(q(u),26),li(e.a,a.a),a.a.c.length=0;for(y=new V(e.a);y.a<y.c.c.length;)m=l(q(y),9),Oi(m,null);e.b.c.length=0,p||t.Ug()}function nxn(e,t){var r,o,a,u,f,p,m,y,v;if(gr(e.d.i,(Be(),Yy)))return p=l(F(e.c.i,Yy),15),y=l(F(e.d.i,Yy),15),na(p.a,y.a)>0;for(p=l(F(e.c.i,Yy),15).a,u=l(Au(lr(t.Mc(),new UYe(p)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),f=new Ar,v=new hi,Gn(f,e.c.i),pi(v,e.c.i);f.b!=0;){if(r=l(f.b==0?null:(un(f.b!=0),Vc(f,f.a.a)),9),u.Gc(r))return!0;for(a=new $t(qt(Or(r).a.Jc(),new D));an(a);)o=l(en(a),17),m=o.d.i,v.a._b(m)||(v.a.yc(m,v),Wr(f,m,f.c.b,f.c))}return!1}function Cvt(e,t,r){var o,a,u,f,p,m,y,v,T;for(T=new je,v=new Khe(0,r),u=0,yj(v,new $K(0,0,v,r)),a=0,y=new tn(e);y.e!=y.i.gc();)m=l(rn(y),19),o=l(ze(v.a,v.a.c.length-1),175),p=a+m.g+(l(ze(v.a,0),175).b.c.length==0?0:r),(p>t||Ye(Ke(ve(m,(ef(),DL)))))&&(a=0,u+=v.b+r,Ot(T.c,v),v=new Khe(u,r),o=new $K(0,v.f,v,r),yj(v,o),a=0),o.b.c.length==0||!Ye(Ke(ve(Br(m),(ef(),Rne))))&&(m.f>=o.o&&m.f<=o.f||o.a*.5<=m.f&&o.a*1.5>=m.f)?w1e(o,m):(f=new $K(o.s+o.r+r,v.f,v,r),yj(v,f),w1e(f,m)),a=m.i+m.g;return Ot(T.c,v),T}function PC(e){var t,r,o,a;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,a=0;a<e.b.length;){for(t!=a?(e.b[t]=e.b[a++],e.b[t+1]=e.b[a++]):a+=2,r=e.b[t+1];a<e.b.length&&!(r+1<e.b[a]);)if(r+1==e.b[a])e.b[t+1]=e.b[a+1],r=e.b[t+1],a+=2;else if(r>=e.b[a+1])a+=2;else if(r<e.b[a+1])e.b[t+1]=e.b[a+1],r=e.b[t+1],a+=2;else throw Y(new Es("Token#compactRanges(): Internel Error: ["+e.b[t]+","+e.b[t+1]+"] ["+e.b[a]+","+e.b[a+1]+"]"));t+=2}t!=e.b.length&&(o=we(Rn,Qn,30,t,15,1),ua(e.b,0,o,0,t),e.b=o),e.a=!0}}function rxn(e,t){var r,o,a,u,f,p,m;for(f=kS(e.a).Jc();f.Ob();){if(u=l(f.Pb(),17),u.b.c.length>0)for(o=new Tu(l(wr(e.a,u),24)),At(),xi(o,new yce(t)),a=new Xi(u.b,0);a.b<a.d.gc();){switch(r=(un(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),70)),p=-1,l(F(r,(Be(),Yf)),281).g){case 1:p=o.c.length-1;break;case 0:p=_0n(o);break;case 2:p=0}p!=-1&&(m=(at(p,o.c.length),l(o.c[p],253)),Fe(m.b.b,r),l(F(ji(m.b.c.i),(Ie(),xa)),24).Ec((Fo(),Zx)),l(F(ji(m.b.c.i),xa),24).Ec(Xx),Mu(a),Te(r,STe,u))}bo(u,null),Ji(u,null)}}function ixn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(v=new je,N=new hi,f=t.b,a=0;a<f.c.length;a++){for(y=(at(a,f.c.length),l(f.c[a],26)).a,v.c.length=0,u=0;u<y.c.length;u++)p=e.a[a][u],p.p=u,p.k==(zt(),_a)&&Ot(v.c,p),nc(l(ze(t.b,a),26).a,u,p),p.j.c.length=0,li(p.j,l(l(ze(e.b,a),16).Xb(u),18)),AS(l(F(p,(Be(),Zr)),103))||Te(p,Zr,(qi(),_m));for(o=new V(v);o.a<o.c.c.length;)r=l(q(o),9),T=ITn(r),N.a.yc(T,N),N.a.yc(r,N)}for(m=N.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),At(),xi(p.j,(N_(),PSe)),p.i=!0,cme(p)}function oxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(t.Tg("Edge splitting",1),e.b.c.length<=2){t.Ug();return}for(u=new Xi(e.b,0),f=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26));u.b<u.d.gc();)for(a=f,f=(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26)),m=new V(a.a);m.a<m.c.c.length;)for(p=l(q(m),9),v=new V(p.j);v.a<v.c.c.length;)for(y=l(q(v),12),o=new V(y.g);o.a<o.c.c.length;)r=l(q(o),17),N=r.d,T=N.i.c,T!=a&&T!=f&&fJ(r,(O=new Xd(e),Jh(O,(zt(),gi)),Te(O,(Ie(),mr),r),Te(O,(Be(),Zr),(qi(),fa)),Oi(O,f),O));t.Ug()}function Ivt(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(t=Gd(e),u=Ye(Ke(ve(t,(Be(),Ky)))),v=0,a=0,y=new tn((!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e));y.e!=y.i.gc();)m=l(rn(y),74),p=R0(m),f=p&&u&&Ye(Ke(ve(m,bm))),N=Yo(l(oe((!m.c&&(m.c=new Tt(pn,m,5,8)),m.c),0),83)),p&&f?++a:p&&!f?++v:Br(N)==t||N==t?++a:++v;for(o=new tn((!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d));o.e!=o.i.gc();)r=l(rn(o),74),p=R0(r),f=p&&u&&Ye(Ke(ve(r,bm))),T=Yo(l(oe((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),83)),p&&f?++v:p&&!f?++a:Br(T)==t||T==t?++v:++a;return v-a}function Rvt(e){var t,r,o,a,u;return e.g!=null?e.g:e.a<32?(e.g=ANn(Gs(e.f),go(e.e)),e.g):(a=VJ((!e.c&&(e.c=ZO(Gs(e.f))),e.c),0),e.e==0?a:(t=(!e.c&&(e.c=ZO(Gs(e.f))),e.c).e<0?2:1,r=a.length,o=-e.e+r-t,u=new Zg,u.a+=""+a,e.e>0&&o>=-6?o>=0?CO(u,r-go(e.e),"."):(NK(u,t-1,t-1,"0."),CO(u,t+1,Mf(fm,0,-go(o)-1))):(r-t>=1&&(CO(u,t,"."),++r),CO(u,r,"E"),o>0&&CO(u,++r,"+"),CO(u,++r,""+x3(Gs(o)))),e.g=u.a,e.g))}function sxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe;o=ue(ce(F(t,(Be(),LAe)))),Ee=l(F(t,qI),15).a,N=4,a=3,ye=20/Ee,O=!1,m=0,f=sr;do{for(u=m!=1,T=m!=0,qe=0,z=e.a,ne=0,de=z.length;ne<de;++ne)M=z[ne],M.f=null,Ykn(e,M,u,T,o),qe+=b.Math.abs(M.a);do p=NAn(e,t);while(p);for(U=e.a,J=0,se=U.length;J<se;++J)if(M=U[J],r=ehe(M).a,r!=0)for(v=new V(M.e);v.a<v.c.c.length;)y=l(q(v),9),y.n.b+=r;m==0||m==1?(--N,N<=0&&(qe<f||-N>Ee)?(m=2,f=sr):m==0?(m=1,f=qe):(m=0,f=qe)):(O=qe>=f||f-qe<ye,f=qe,O&&--a)}while(!(O&&a<=0))}function jJ(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;for(M=new hn,u=e.a.ec().Jc();u.Ob();)o=l(u.Pb(),180),Jn(M,o,r.$e(o));for(f=(kn(e),e?new Tu(e):QA(e.a.ec().Jc())),xi(f,new dYe(M)),p=VP(f),m=new D8(t),O=new hn,eu(O.f,t,m);p.a.gc()!=0;){for(y=null,v=null,T=null,a=p.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),180),ue(ce(Ss(ts(M.f,o))))<=Kr){if(ma(O,o.a)&&!ma(O,o.b)){v=o.b,T=o.a,y=o;break}if(ma(O,o.b)&&!ma(O,o.a)){v=o.a,T=o.b,y=o;break}}if(!y)break;N=new D8(v),Fe(l(Ss(ts(O.f,T)),227).a,N),eu(O.f,v,N),p.a.Ac(y)!=null}return m}function em(e,t){var r,o,a,u,f,p;if(t){if(!e.a&&(e.a=new O9),e.e==2){R9(e.a,t);return}if(t.e==1){for(a=0;a<t.Nm();a++)em(e,t.Jm(a));return}if(p=e.a.a.c.length,p==0){R9(e.a,t);return}if(f=l(d0(e.a,p-1),122),!((f.e==0||f.e==10)&&(t.e==0||t.e==10))){R9(e.a,t);return}u=t.e==0?2:t.Km().length,f.e==0?(r=new GN,o=f.Im(),o>=No?Vo(r,p1e(o)):i_(r,o&Ei),f=new _W(10,null,0),Asn(e.a,f,p-1)):(r=(f.Km().length+u,new GN),Vo(r,f.Km())),t.e==0?(o=t.Im(),o>=No?Vo(r,p1e(o)):i_(r,o&Ei)):Vo(r,t.Km()),l(f,521).b=r.a}}function axn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(!r.dc()){for(p=0,N=0,o=r.Jc(),M=l(o.Pb(),15).a;p<t.f;){if(p==M&&(N=0,o.Ob()?M=l(o.Pb(),15).a:M=t.f+1),p!=N){for(z=l(ze(e.b,p),26),O=l(ze(e.b,N),26),U=jb(z.a),T=new V(U);T.a<T.c.c.length;)if(v=l(q(T),9),E1(v,O.a.c.length,O),N==0)for(f=jb(si(v)),u=new V(f);u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(e,(Ie(),CT),(Lt(),!0)),Fvt(e,a,1)}++N,++p}for(m=new Xi(e.b,0);m.b<m.d.gc();)y=(un(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),26)),y.a.c.length==0&&Mu(m)}}function uxn(e,t,r){var o,a,u;if(a=l(F(t,(Be(),cB)),285),a!=(W_(),NI)){switch(r.Tg("Horizontal Compaction",1),e.a=t,u=new Hdt,o=new h0t((u.d=t,u.c=l(F(u.d,kp),225),eTn(u),fkn(u),uTn(u),u.a)),MQt(o,e.b),l(F(t,uAe),427).g){case 1:_Qe(o,new lht(e.a));break;default:_Qe(o,(Che(),Ext))}switch(a.g){case 1:_C(o);break;case 2:_C(J7(o,(vi(),fs)));break;case 3:_C(AQe(J7(_C(o),(vi(),fs)),new gBe));break;case 4:_C(AQe(J7(_C(o),(vi(),fs)),new JYe(u)));break;case 5:_C(LQt(o,gNt))}J7(o,(vi(),as)),o.e=!0,sNn(u),r.Ug()}}function cxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(f=t.b,v=f.o,m=f.d,o=ue(ce(i7(f,(Be(),od)))),a=ue(ce(i7(f,o2))),y=ue(ce(i7(f,xte))),p=new QG,Ife(p,m.d,m.c,m.a,m.b),N=yTn(t,o,a,y),J=new V(t.d);J.a<J.c.c.length;){for(z=l(q(J),108),M=z.f.a.ec().Jc();M.Ob();)O=l(M.Pb(),342),u=O.a,T=fwn(O),r=(ne=new Lu,hmt(O,O.c,N,ne),_Sn(O,T,N,ne),hmt(O,O.d,N,ne),ne),r=e.lg(O,T,r),tc(u.a),mo(u.a,r),ei(new Et(null,new St(r,16)),new Stt(v,p));U=z.i,U&&(RSn(z,U,N,a),se=new So(U.g),H1e(v,p,se),br(se,U.j),H1e(v,p,se))}Ife(m,p.d,p.c,p.a,p.b)}function lxn(e,t){Z_();var r,o,a,u,f,p;return u=t.c-(e.c+e.b),a=e.c-(t.c+t.b),f=e.d-(t.d+t.a),r=t.d-(e.d+e.a),o=b.Math.max(a,u),p=b.Math.max(f,r),Ud(),Yl(Gf),(b.Math.abs(o)<=Gf||o==0||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:kb(isNaN(o),isNaN(0)))>=0^(Yl(Gf),(b.Math.abs(p)<=Gf||p==0||isNaN(p)&&isNaN(0)?0:p<0?-1:p>0?1:kb(isNaN(p),isNaN(0)))>=0)?b.Math.max(p,o):(Yl(Gf),(b.Math.abs(o)<=Gf||o==0||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:kb(isNaN(o),isNaN(0)))>0?b.Math.sqrt(p*p+o*o):-b.Math.sqrt(p*p+o*o))}function dxn(e){var t,r,o,a;a=e.o,qw(),e.A.dc()||pr(e.A,T2e)?t=a.b:(e.D?t=b.Math.max(a.b,EC(e.f)):t=EC(e.f),e.A.Gc((sc(),JL))&&!e.B.Gc((Uu(),C4))&&(t=b.Math.max(t,EC(l(Wo(e.p,(He(),Qt)),256))),t=b.Math.max(t,EC(l(Wo(e.p,Kt),256)))),r=Oht(e),r&&(t=b.Math.max(t,r.b)),e.A.Gc(XL)&&(e.q==(qi(),Oh)||e.q==fa)&&(t=b.Math.max(t,eP(l(Wo(e.b,(He(),Qt)),129))),t=b.Math.max(t,eP(l(Wo(e.b,Kt),129))))),Ye(Ke(e.e.Rf().mf((_n(),uv))))?a.b=b.Math.max(a.b,t):a.b=t,o=e.f.i,o.d=0,o.a=t,kJ(e.f)}function fxn(e,t,r,o,a,u,f,p){var m,y,v,T;switch(m=Wl(Z(X(iCn,1),Rt,241,0,[t,r,o,a])),T=null,e.b.g){case 1:T=Wl(Z(X(Qxe,1),Rt,527,0,[new CG,new kG,new NG]));break;case 0:T=Wl(Z(X(Qxe,1),Rt,527,0,[new NG,new kG,new CG]));break;case 2:T=Wl(Z(X(Qxe,1),Rt,527,0,[new kG,new CG,new NG]))}for(v=new V(T);v.a<v.c.c.length;)y=l(q(v),527),m.c.length>1&&(m=y.Gg(m,e.a,p));return m.c.length==1?l(ze(m,m.c.length-1),241):m.c.length==2?Z_n((at(0,m.c.length),l(m.c[0],241)),(at(1,m.c.length),l(m.c[1],241)),f,u):null}function hxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;a=new JR(e),u=new R0t,o=(n6(u.n),n6(u.p),Zs(u.c),n6(u.f),n6(u.o),Zs(u.q),Zs(u.d),Zs(u.g),Zs(u.k),Zs(u.e),Zs(u.i),Zs(u.j),Zs(u.r),Zs(u.b),N=e0t(u,a,null),nwt(u,a),N),t&&(m=new JR(t),f=R_n(m),Vbe(o,Z(X($ke,1),Rt,528,0,[f]))),T=!1,v=!1,r&&(m=new JR(r),qF in m.a&&(T=op(m,qF).oe().a),aAt in m.a&&(v=op(m,aAt).oe().a)),y=OQe($ft(new sS,T),v),pyn(new rGe,o,y),qF in a.a&&Kl(a,qF,null),(T||v)&&(p=new aS,Xyt(y,p,T,v),Kl(a,qF,p)),O=new PXe(u),cpt(new aV(o),O),M=new jXe(u),cpt(new aV(o),M)}function pxn(e,t,r){var o,a,u,f,p,m,y;for(r.Tg("Find roots",1),e.a.c.length=0,a=An(t.b,0);a.b!=a.d.c;)o=l(Sn(a),41),o.b.b==0&&(Te(o,(Nr(),z1),(Lt(),!0)),Fe(e.a,o));switch(e.a.c.length){case 0:u=new FK(0,t,"DUMMY_ROOT"),Te(u,(Nr(),z1),(Lt(),!0)),Te(u,Qte,!0),Gn(t.b,u);break;case 1:break;default:for(f=new FK(0,t,DF),m=new V(e.a);m.a<m.c.c.length;)p=l(q(m),41),y=new Nhe(f,p),Te(y,(Nr(),Qte),(Lt(),!0)),Gn(f.a.a,y),Gn(f.d,y),Gn(p.b,y),Te(p,z1,!1);Te(f,(Nr(),z1),(Lt(),!0)),Te(f,Qte,!0),Gn(t.b,f)}r.Ug()}function Ovt(e){var t,r,o,a,u,f;for(La(e.a,new Z2),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),227),o=Di(To(l(e.b,68).c),l(t.b,68).c),tkt?(f=l(e.b,68).b,u=l(t.b,68).b,b.Math.abs(o.a)>=b.Math.abs(o.b)?(o.b=0,u.d+u.a>f.d&&u.d<f.d+f.a&&X8(o,b.Math.max(f.c-(u.c+u.b),u.c-(f.c+f.b)))):(o.a=0,u.c+u.b>f.c&&u.c<f.c+f.b&&X8(o,b.Math.max(f.d-(u.d+u.a),u.d-(f.d+f.a))))):X8(o,tvt(l(e.b,68),l(t.b,68))),a=b.Math.sqrt(o.a*o.a+o.b*o.b),a=Pbt(vI,t,a,o),X8(o,a),WV(l(t.b,68),o),La(t.a,new bce(o)),l(vI.b,68),kpe(vI,A2e,t)}function gxn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M;for(e.f=new XG,y=0,a=0,f=new V(e.e.b);f.a<f.c.c.length;)for(u=l(q(f),26),m=new V(u.a);m.a<m.c.c.length;){for(p=l(q(m),9),p.p=y++,o=new $t(qt(Or(p).a.Jc(),new D));an(o);)r=l(en(o),17),r.p=a++;for(t=LJ(p),N=new V(p.j);N.a<N.c.c.length;)T=l(q(N),12),t&&(M=T.a.b,M!=b.Math.floor(M)&&(v=M-$b(Gs(b.Math.round(M))),T.a.b-=v)),O=T.n.b+T.a.b,O!=b.Math.floor(O)&&(v=O-$b(Gs(b.Math.round(O))),T.n.b-=v)}e.g=y,e.b=a,e.i=we(eCn,Rt,410,y,0,1),e.c=we(Q3n,Rt,651,a,0,1),e.d.a.$b()}function vn(e){var t,r,o,a,u,f,p,m,y;if(e.Nj())if(m=e.Oj(),e.i>0){if(t=new Zle(e.i,e.g),r=e.i,u=r<100?null:new Qg(r),e.Rj())for(o=0;o<e.i;++o)f=e.g[o],u=e.Tj(f,u);if(z3(e),a=r==1?e.Gj(4,oe(t,0),null,0,m):e.Gj(6,t,null,-1,m),e.Kj()){for(o=new ES(t);o.e!=o.i.gc();)u=e.Mj(yY(o),u);u?(u.lj(a),u.mj()):e.Hj(a)}else u?(u.lj(a),u.mj()):e.Hj(a)}else z3(e),e.Hj(e.Gj(6,(At(),Co),null,-1,m));else if(e.Kj())if(e.i>0){for(p=e.g,y=e.i,z3(e),u=y<100?null:new Qg(y),o=0;o<y;++o)f=p[o],u=e.Mj(f,u);u&&u.mj()}else z3(e);else z3(e)}function M0e(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(Bht(this),r==(g0(),H1)?pi(this.r,e):pi(this.w,e),v=Kr,y=Li,f=t.a.ec().Jc();f.Ob();)a=l(f.Pb(),49),p=l(a.a,457),o=l(a.b,17),m=o.c,m==e&&(m=o.d),p==H1?pi(this.r,m):pi(this.w,m),N=(He(),ou).Gc(m.j)?ue(ce(F(m,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[m.i.n,m.n,m.a])).b,v=b.Math.min(v,N),y=b.Math.max(y,N);for(T=(He(),ou).Gc(e.j)?ue(ce(F(e,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a])).b,omt(this,T,v,y),u=t.a.ec().Jc();u.Ob();)a=l(u.Pb(),49),Emt(this,l(a.b,17));this.o=!1}function bxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on;return r=e.l&8191,o=e.l>>13|(e.m&15)<<9,a=e.m>>4&8191,u=e.m>>17|(e.h&255)<<5,f=(e.h&1048320)>>8,p=t.l&8191,m=t.l>>13|(t.m&15)<<9,y=t.m>>4&8191,v=t.m>>17|(t.h&255)<<5,T=(t.h&1048320)>>8,lt=r*p,ft=o*p,It=a*p,Dt=u*p,on=f*p,m!=0&&(ft+=r*m,It+=o*m,Dt+=a*m,on+=u*m),y!=0&&(It+=r*y,Dt+=o*y,on+=a*y),v!=0&&(Dt+=r*v,on+=o*v),T!=0&&(on+=r*T),O=lt&Hu,M=(ft&511)<<13,N=O+M,z=lt>>22,J=ft>>9,ne=(It&262143)<<4,se=(Dt&31)<<17,U=z+J+ne+se,Ee=It>>18,ye=Dt>>5,qe=(on&4095)<<8,de=Ee+ye+qe,U+=N>>22,N&=Hu,de+=U>>22,U&=Hu,de&=Ep,Ua(N,U,de)}function Dvt(e){var t,r,o,a,u,f,p;if(p=l(ze(e.j,0),12),p.g.c.length!=0&&p.e.c.length!=0)throw Y(new es("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(p.g.c.length!=0){for(u=Kr,r=new V(p.g);r.a<r.c.c.length;)t=l(q(r),17),f=t.d.i,o=l(F(f,(Be(),mB)),125),u=b.Math.min(u,f.n.a-o.b);return new v9(kn(u))}if(p.e.c.length!=0){for(a=Li,r=new V(p.e);r.a<r.c.c.length;)t=l(q(r),17),f=t.c.i,o=l(F(f,(Be(),mB)),125),a=b.Math.max(a,f.n.a+f.o.a+o.c);return new v9(kn(a))}return BN(),BN(),DQ}function Lvt(e){n0(e,new Qb(gq(iO(Qm(Jm(Zm(Xm(new vb,G0),"ELK VertiFlex"),"Tree layout algorithm that allows defining set vertical positions for nodes rather than automatically placing nodes on levels according to their topology."),new eGe),hve),xr((sT(),o5),Z(X(s5,1),Ce,235,0,[i5]))))),De(e,G0,$0,20),De(e,G0,B0,Fke),De(e,G0,wx,Ge(u6t)),De(e,G0,lF,Ge(l6t)),De(e,G0,ID,(Lt(),!1)),De(e,G0,yx,Ge(jke)),De(e,G0,xZ,Ge(c6t)),De(e,G0,Kve,Ge(pk)),De(e,G0,Yve,Ge(Zne)),De(e,G0,Jve,Ge(Pke)),De(e,G0,Xve,Ge(Xne))}function mxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(r.Tg("Interactive cycle breaking",1),T=new je,O=new V(t.a);O.a<O.c.c.length;)for(N=l(q(O),9),N.p=1,M=vbe(N).a,v=k0(N,(jo(),Ba)).Jc();v.Ob();)for(y=l(v.Pb(),12),u=new V(y.g);u.a<u.c.c.length;)o=l(q(u),17),U=o.d.i,U!=N&&(z=vbe(U).a,z<M&&Ot(T.c,o));for(f=new V(T);f.a<f.c.c.length;)o=l(q(f),17),mg(o,!0);for(T.c.length=0,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p>0&&xmt(e,p,T);for(a=new V(T);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!0);T.c.length=0,r.Ug()}function Mvt(e,t){var r,o,a,u,f,p,m;if(e.ml()){if(e.i>4)if(e.dk(t)){if(e.$k()){if(a=l(t,52),o=a.Bh(),m=o==e.e&&(e.kl()?a.vh(a.Ch(),e.gl())==e.hl():-1-a.Ch()==e.Jj()),e.ll()&&!m&&!o&&a.Gh()){for(u=0;u<e.i;++u)if(r=e.nl(l(e.g[u],57)),be(r)===be(t))return!0}return m}else if(e.kl()&&!e.jl()){if(f=l(t,57).Jh(Mo(l(e.Jk(),20))),be(f)===be(e.e))return!0;if(f==null||!l(f,57).Sh())return!1}}else return!1;if(p=q_(e,t),e.ll()&&!p){for(u=0;u<e.i;++u)if(a=e.nl(l(e.g[u],57)),be(a)===be(t))return!0}return p}else return q_(e,t)}function wxn(e,t){var r,o,a,u,f,p,m,y,v;for(r=0,v=new je,p=new V(t);p.a<p.c.c.length;){switch(f=l(q(p),12),Wge(e.b,e.d[f.p]),v.c.length=0,f.i.k.g){case 0:o=l(F(f,(Ie(),Nu)),9),La(o.j,new IJe(v));break;case 1:btn(hp(lr(new Et(null,new St(f.i.j,16)),new RJe(f))),new OJe(v));break;case 3:a=l(F(f,(Ie(),mr)),12),Fe(v,new ko(a,Re(f.e.c.length+f.g.c.length)))}for(y=new V(v);y.a<y.c.c.length;)m=l(q(y),49),u=ule(e,l(m.a,12)),u>e.d[f.p]&&(r+=upe(e.b,u)*l(m.b,15).a,l1(e.a,Re(u)));for(;!zN(e.a);)Hpe(e.b,l(CS(e.a),15).a)}return r}function yxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(t.Tg(RSt,1),O=new je,v=b.Math.max(e.a.c.length,l(F(e,(Ie(),F1)),15).a),r=v*l(F(e,fL),15).a,p=be(F(e,(Be(),PT)))===be((g1(),Gy)),U=new V(e.a);U.a<U.c.c.length;)for(M=l(q(U),9),o=new YR,m=p?iT(o,M,r,v):tT(o,M,v),N=k0(M,(jo(),Ba)).Jc();N.Ob();)for(T=l(N.Pb(),12),f=new V(T.g);f.a<f.c.c.length;)a=l(q(f),17),z=a.d.i,y=p?iT(o,z,r,v):tT(o,z,v),y<m&&Ot(O.c,a);for(u=new V(O);u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(e,CT,(Lt(),!0));O.c.length=0,t.Ug()}function vxn(e,t){var r,o,a,u,f,p,m,y,v,T;if(v=l(F(e,(Ie(),Hs)),64),o=l(ze(e.j,0),12),v==(He(),Wt)?Ci(o,dn):v==dn&&Ci(o,Wt),l(F(t,(Be(),mm)),185).Gc((sc(),xm))){if(m=ue(ce(F(e,ok))),y=ue(ce(F(e,sk))),f=ue(ce(F(e,ev))),p=l(F(t,Xy),24),p.Gc((xu(),Rp)))for(r=y,T=e.o.a/2-o.n.a,u=new V(o.f);u.a<u.c.c.length;)a=l(q(u),70),a.n.b=r,a.n.a=T-a.o.a/2,r+=a.o.b+f;else if(p.Gc(K1))for(u=new V(o.f);u.a<u.c.c.length;)a=l(q(u),70),a.n.a=m+e.o.a-o.n.a;Ecn(new A9((KN(),new pW(t,!1,!1,new c9))),new W8(null,e,!1))}}function Exn(e,t){var r,o,a,u,f,p,m,y,v;if(t.c.length!=0){for(At(),HV(t.c,t.c.length,null),a=new V(t),o=l(q(a),157);a.a<a.c.c.length;)r=l(q(a),157),Vpe(o.e.c,r.e.c)&&!(P1e(dit(o.e).b,r.e.d)||P1e(dit(r.e).b,o.e.d))?o=(li(o.k,r.k),li(o.b,r.b),li(o.c,r.c),mo(o.i,r.i),li(o.d,r.d),li(o.j,r.j),u=b.Math.min(o.e.c,r.e.c),f=b.Math.min(o.e.d,r.e.d),p=b.Math.max(o.e.c+o.e.b,r.e.c+r.e.b),m=p-u,y=b.Math.max(o.e.d+o.e.a,r.e.d+r.e.a),v=y-f,bot(o.e,u,f,m,v),xcn(o.f,r.f),!o.a&&(o.a=r.a),li(o.g,r.g),Fe(o.g,r),o):(Wyt(e,o),o=r);Wyt(e,o)}}function Sxn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee;for(m=new je,u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),p=new V(a.j);p.a<p.c.c.length;){for(f=l(q(p),12),v=null,se=Df(f.g),de=0,Ee=se.length;de<Ee;++de)ne=se[de],T_(ne.d.i,r)||(J=MJ(e,t,r,ne,ne.c,(jo(),Ba),v),J!=v&&Ot(m.c,J),J.c&&(v=J));for(y=null,M=Df(f.e),U=0,z=M.length;U<z;++U)O=M[U],T_(O.c.i,r)||(J=MJ(e,t,r,O,O.d,(jo(),Cu),y),J!=y&&Ot(m.c,J),J.c&&(y=J))}for(N=new V(m);N.a<N.c.c.length;)T=l(q(N),447),_s(t.a,T.a,0)!=-1||Fe(t.a,T.a),T.c&&Ot(o.c,T)}function Txn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;for(p=new V(t);p.a<p.c.c.length;)u=l(q(p),242),u.e=null,u.c=0;for(m=null,f=new V(t);f.a<f.c.c.length;)if(u=l(q(f),242),T=u.d[0],!(r&&T.k!=(zt(),Xr))){for(O=l(F(T,(Ie(),RT)),16).Jc();O.Ob();)N=l(O.Pb(),9),(!r||N.k==(zt(),Xr))&&((!u.e&&(u.e=new je),u.e).Ec(e.b[N.c.p][N.p]),++e.b[N.c.p][N.p].c);if(!r&&T.k==(zt(),Xr)){if(m)for(v=l(wr(e.d,m),24).Jc();v.Ob();)for(y=l(v.Pb(),9),a=l(wr(e.d,T),24).Jc();a.Ob();)o=l(a.Pb(),9),Iin(e.b[y.c.p][y.p]).Ec(e.b[o.c.p][o.p]),++e.b[o.c.p][o.p].c;m=T}}}function Axn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z;for(T=new So(l(ve(e,(A7(),Wke)),8)),T.a=b.Math.max(T.a-r.b-r.c,0),T.b=b.Math.max(T.b-r.d-r.a,0),a=ce(ve(e,Gke)),(a==null||(Mt(a),a<=0))&&(a=1.3),p=new je,M=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));M.e!=M.i.gc();)O=l(rn(M),19),f=new Jrt(O),Ot(p.c,f);switch(N=l(ve(e,are),327),N.g){case 3:z=oAn(p,t,T.a,T.b,(y=o,Mt(a),y));break;case 1:z=WAn(p,t,T.a,T.b,(v=o,Mt(a),v));break;default:z=xxn(p,t,T.a,T.b,(m=o,Mt(a),m))}u=new hj(z),U=zJ(u,t,r,T.a,T.b,o,(Mt(a),a)),M0(e,U.a,U.b,!1,!0)}function _xn(e,t,r,o){var a,u,f,p,m,y;if(p=e.j,p==(He(),Is)&&t!=(qi(),pf)&&t!=(qi(),W1)&&(p=Hyt(e,r),Ci(e,p),!(e.q?e.q:(At(),At(),xh))._b((Be(),Jy))&&p!=Is&&(e.n.a!=0||e.n.b!=0)&&Te(e,Jy,Mmn(e,p))),t==(qi(),Oh)){switch(y=0,p.g){case 1:case 3:u=e.i.o.a,u>0&&(y=e.n.a/u);break;case 2:case 4:a=e.i.o.b,a>0&&(y=e.n.b/a)}Te(e,(Ie(),nw),y)}if(m=e.o,f=e.a,o)f.a=o.a,f.b=o.b,e.d=!0;else if(t!=pf&&t!=W1&&p!=Is)switch(p.g){case 1:f.a=m.a/2;break;case 2:f.a=m.a,f.b=m.b/2;break;case 3:f.a=m.a/2,f.b=m.b;break;case 4:f.b=m.b/2}else f.a=m.a/2,f.b=m.b/2}function jC(e){var t,r,o,a,u,f,p,m,y,v;if(e.Nj())if(v=e.Cj(),m=e.Oj(),v>0)if(t=new vge(e.nj()),r=v,u=r<100?null:new Qg(r),LO(e,r,t.g),a=r==1?e.Gj(4,oe(t,0),null,0,m):e.Gj(6,t,null,-1,m),e.Kj()){for(o=new tn(t);o.e!=o.i.gc();)u=e.Mj(rn(o),u);u?(u.lj(a),u.mj()):e.Hj(a)}else u?(u.lj(a),u.mj()):e.Hj(a);else LO(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(At(),Co),null,-1,m));else if(e.Kj())if(v=e.Cj(),v>0){for(p=e.Dj(),y=v,LO(e,v,p),u=y<100?null:new Qg(y),o=0;o<y;++o)f=p[o],u=e.Mj(f,u);u&&u.mj()}else LO(e,e.Cj(),e.Dj());else LO(e,e.Cj(),e.Dj())}function xxn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z;for(p=we(Ki,Jo,30,e.c.length,15,1),N=new gP(new MGe),obe(N,e),y=0,U=new je;N.b.c.length!=0;)if(f=l(N.b.c.length==0?null:ze(N.b,0),168),y>1&&hu(f)*ec(f)/2>p[0]){for(u=0;u<U.c.length-1&&hu(f)*ec(f)/2>p[u];)++u;M=new Rf(U,0,u+1),T=new hj(M),v=hu(f)/ec(f),m=zJ(T,t,new oS,r,o,a,v),br(wd(T.e),m),xS(V_(N,T),fx),O=new Rf(U,u+1,U.c.length),obe(N,O),U.c.length=0,y=0,Xot(p,p.length,0)}else z=N.b.c.length==0?null:ze(N.b,0),z!=null&&yK(N,0),y>0&&(p[y]=p[y-1]),p[y]+=hu(f)*ec(f),++y,Ot(U.c,f);return U}function kxn(e,t){var r,o,a,u;r=t.b,u=new Tu(r.j),a=0,o=r.j,o.c.length=0,c0(l(Gb(e.b,(He(),Wt),(T0(),Q0)),16),r),a=H6(u,a,new zBe,o),c0(l(Gb(e.b,Wt,P1),16),r),a=H6(u,a,new GBe,o),c0(l(Gb(e.b,Wt,Z0),16),r),c0(l(Gb(e.b,Qt,Q0),16),r),c0(l(Gb(e.b,Qt,P1),16),r),a=H6(u,a,new qBe,o),c0(l(Gb(e.b,Qt,Z0),16),r),c0(l(Gb(e.b,dn,Q0),16),r),a=H6(u,a,new VBe,o),c0(l(Gb(e.b,dn,P1),16),r),a=H6(u,a,new WBe,o),c0(l(Gb(e.b,dn,Z0),16),r),c0(l(Gb(e.b,Kt,Q0),16),r),a=H6(u,a,new $Be,o),c0(l(Gb(e.b,Kt,P1),16),r),c0(l(Gb(e.b,Kt,Z0),16),r)}function Nxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(t.Tg("Layer size calculation",1),v=Kr,y=Li,a=!1,p=new V(e.b);p.a<p.c.c.length;)if(f=l(q(p),26),m=f.c,m.a=0,m.b=0,f.a.c.length!=0){for(a=!0,N=new V(f.a);N.a<N.c.c.length;)T=l(q(N),9),M=T.o,O=T.d,m.a=b.Math.max(m.a,M.a+O.b+O.c);o=l(ze(f.a,0),9),U=o.n.b-o.d.d,o.k==(zt(),mi)&&(U-=l(F(e,(Be(),EL)),125).d),u=l(ze(f.a,f.a.c.length-1),9),r=u.n.b+u.o.b+u.d.a,u.k==mi&&(r+=l(F(e,(Be(),EL)),125).a),m.b=r-U,v=b.Math.min(v,U),y=b.Math.max(y,r)}a||(v=0,y=0),e.f.b=y-v,e.c.b-=v,t.Ug()}function Pvt(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(f=t.d,p=r.d;f.a-p.a==0&&f.b-p.b==0;)m=!1,ae(t,254)&&ae(r,254)&&!m?(y=l(t,254).a,v=Di(new So(ege(y)),Qpe(y)),o=2,a=new Me(v.a/b.Math.sqrt(v.a*v.a+v.b*v.b)*o,-v.b/b.Math.sqrt(v.a*v.a+v.b*v.b)*o),br(f,a),T=l(r,254).a,N=Di(new So(ege(T)),Qpe(T)),o=v==N?-2:2,u=new Me(N.a/b.Math.sqrt(N.a*N.a+N.b*N.b)*o,-(N.b/b.Math.sqrt(N.a*N.a+N.b*N.b))*o),br(f,u),m=!0):(f.a+=Bu(e,26)*UC+Bu(e,27)*HC-.5,f.b+=Bu(e,26)*UC+Bu(e,27)*HC-.5,p.a+=Bu(e,26)*UC+Bu(e,27)*HC-.5,p.b+=Bu(e,26)*UC+Bu(e,27)*HC-.5)}function Cxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(y=syn(t),U=l(F(t,(Be(),BI)),302),lo(y,new mYe(U)),z=l(F(t,mL),303),lo(y,new wYe(z)),M=0,v=new je,u=new L3(y);u.a!=u.b;)a=l(Bj(u),37),Yvt(e.c,a),N=l(F(a,(Ie(),ote)),16),M+=N.gc(),o=N.Jc(),Fe(v,new ko(a,o));for(r.Tg("Recursive hierarchical layout",M),O=l(l(ze(v,v.c.length-1),49).b,51);O.Ob();)for(m=new V(v);m.a<m.c.c.length;)for(p=l(q(m),49),N=l(p.b,51),f=l(p.a,37);N.Ob();)if(T=l(N.Pb(),43),ae(T,456)){if(f.e)break;T.If(f,r.dh(1));break}else T.If(f,r.dh(1));r.Ug()}function P0e(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(u=0,f=0,y=new V(e.a);y.a<y.c.c.length;)p=l(q(y),9),u=b.Math.max(u,p.d.b),f=b.Math.max(f,p.d.c);for(m=new V(e.a);m.a<m.c.c.length;){switch(p=l(q(m),9),r=l(F(p,(Be(),Kf)),259),r.g){case 1:M=0;break;case 2:M=1;break;case 5:M=.5;break;default:for(o=0,T=0,O=new V(p.j);O.a<O.c.c.length;)N=l(q(O),12),N.e.c.length==0||++o,N.g.c.length==0||++T;o+T==0?M=.5:M=T/(o+T)}z=e.c,v=p.o.a,J=(z.a-v)*M,M>.5?J-=f*2*(M-.5):M<.5&&(J+=u*2*(.5-M)),a=p.d.b,J<a&&(J=a),U=p.d.c,J>z.a-U-v&&(J=z.a-U-v),p.n.a=t+J}}function Ixn(e){var t,r,o,a,u;if(o=l(F(e,(Be(),Cs)),166),o==(ic(),xp)){for(r=new $t(qt(si(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),!wlt(t))throw Y(new _f($X+z6(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(o==gm){for(u=new $t(qt(Or(e).a.Jc(),new D));an(u);)if(a=l(en(u),17),!wlt(a))throw Y(new _f($X+z6(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 FC(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;if(e.e&&e.c.c<e.f)throw Y(new es("Expected "+e.f+" phases to be configured; only found "+e.c.c));for(v=l(md(e.g),10),O=ch(e.f),u=v,p=0,y=u.length;p<y;++p)o=u[p],T=l(f6(e,o.g),173),T?Fe(O,l(xgt(e,T),86)):O.c.push(null);for(M=new ui,ei(lr(Oa(lr(new Et(null,new St(O,16)),new iGe),new fXe(t)),new oGe),new hXe(M)),yc(M,e.a),r=new je,a=v,f=0,m=a.length;f<m;++f)o=a[f],li(r,Xht(e,EW(l(f6(M,o.g),22)))),N=l(ze(O,o.g),86),N&&Ot(r.c,N);return li(r,Xht(e,EW(l(f6(M,v[v.length-1].g+1),22)))),r}function Rxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(N=new je,a=new je,U=null,p=t.Jc();p.Ob();)f=l(p.Pb(),15),u=new vJe(f.a),Ot(a.c,u),U&&(u.d=U,U.e=u),U=u;for(se=QAn(e),v=0;v<a.c.length;++v){for(O=null,z=Spe((at(0,a.c.length),l(a.c[0],657))),r=null,o=Kr,T=1;T<e.b.c.length;++T)J=z?b.Math.abs(z.b-T):b.Math.abs(T-O.b)+1,M=O?b.Math.abs(T-O.b):J+1,M<J?(y=O,m=M):(y=z,m=J),ne=(de=ue(ce(F(e,(Be(),KAe)))),se[T]+b.Math.pow(m,de)),ne<o&&(o=ne,r=y,r.c=T),z&&T==z.b&&(O=z,z=bsn(z));r&&(Fe(N,Re(r.c)),r.a=!0,ygn(r))}return At(),HV(N.c,N.c.length,null),N}function j0e(e,t,r){var o,a,u,f,p,m;if(t.l==0&&t.m==0&&t.h==0)throw Y(new j9("divide by zero"));if(e.l==0&&e.m==0&&e.h==0)return r&&(O1=Ua(0,0,0)),Ua(0,0,0);if(t.h==ED&&t.m==0&&t.l==0)return Ugn(e,r);if(m=!1,t.h>>19&&(t=k_(t),m=!m),f=p2n(t),u=!1,a=!1,o=!1,e.h==ED&&e.m==0&&e.l==0)if(a=!0,u=!0,f==-1)e=Mnt((m_(),KEe)),o=!0,m=!m;else return p=Nme(e,f),m&&PK(p),r&&(O1=Ua(0,0,0)),p;else e.h>>19&&(u=!0,e=k_(e),o=!0,m=!m);return f!=-1?ppn(e,f,m,u,r):hbe(e,t)<0?(r&&(u?O1=k_(e):O1=Ua(e.l,e.m,e.h)),Ua(0,0,0)):uAn(o?e:Ua(e.l,e.m,e.h),t,m,u,a,r)}function FJ(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;if(f=e.e,m=t.e,f==0)return t;if(m==0)return e;if(u=e.d,p=t.d,u+p==2)return r=Gi(e.a[0],$o),o=Gi(t.a[0],$o),f==m?(v=Ao(r,o),M=Dn(v),O=Dn(Rb(v,32)),O==0?new ap(f,M):new Ob(f,2,Z(X(Rn,1),Qn,30,15,[M,O]))):(jf(),k8(f<0?El(o,r):El(r,o),0)?v1(f<0?El(o,r):El(r,o)):I3(v1(ug(f<0?El(o,r):El(r,o)))));if(f==m)N=f,T=u>=p?JW(e.a,u,t.a,p):JW(t.a,p,e.a,u);else{if(a=u!=p?u>p?1:-1:Vge(e.a,t.a,u),a==0)return jf(),wI;a==1?(N=f,T=KW(e.a,u,t.a,p)):(N=m,T=KW(t.a,p,e.a,u))}return y=new Ob(N,T.length,T),F3(y),y}function Oxn(e,t){var r,o,a,u,f,p,m;if(!(e.g>t.f||t.g>e.f)){for(r=0,o=0,f=e.w.a.ec().Jc();f.Ob();)a=l(f.Pb(),12),WK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&++r;for(p=e.r.a.ec().Jc();p.Ob();)a=l(p.Pb(),12),WK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&--r;for(m=t.w.a.ec().Jc();m.Ob();)a=l(m.Pb(),12),WK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&++o;for(u=t.r.a.ec().Jc();u.Ob();)a=l(u.Pb(),12),WK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&--o;r<o?new XP(e,t,o-r):o<r?new XP(t,e,r-o):(new XP(t,e,0),new XP(e,t,0))}}function Dxn(e){var t,r,o,a,u,f,p,m,y,v;for(t=new DG,r=new DG,y=wt(VD,(a=RC(e.b,Bn),a?In(Td((!a.b&&(a.b=new Zu((_t(),Ro),zs,a)),a.b),Al)):null)),m=0;m<e.i;++m)p=l(e.g[m],182),ae(p,104)?(f=l(p,20),f.Bb&Ws?(!(f.Bb&$f)||!y&&(u=RC(f,Bn),(u?In(Td((!u.b&&(u.b=new Zu((_t(),Ro),zs,u)),u.b),zF)):null)==null))&&Tn(t,f):(v=Mo(f),v&&v.Bb&Ws||(!(f.Bb&$f)||!y&&(o=RC(f,Bn),(o?In(Td((!o.b&&(o.b=new Zu((_t(),Ro),zs,o)),o.b),zF)):null)==null))&&Tn(r,f))):(Lo(),l(p,69).vk()&&(p.qk()||(Tn(t,p),Tn(r,p))));hy(t),hy(r),e.a=l(t.g,258),l(r.g,258)}function IE(e,t,r){var o,a,u,f,p,m,y,v,T;if(Ur(t,r)>=0)return r;switch(f0(rs(e,r))){case 2:{if(wt("",fg(e,r.ok()).ve())){if(m=WO(rs(e,r)),p=u_(rs(e,r)),v=Lme(e,t,m,p),v)return v;for(a=l0e(e,t),f=0,T=a.gc();f<T;++f)if(v=l(a.Xb(f),182),Ume(nW(rs(e,v)),m))return v}return null}case 4:{if(wt("",fg(e,r.ok()).ve())){for(o=r;o;o=wcn(rs(e,o)))if(y=WO(rs(e,o)),p=u_(rs(e,o)),v=Mme(e,t,y,p),v)return v;if(m=WO(rs(e,r)),wt(lm,m))return mbe(e,t);for(u=EJ(e,t),f=0,T=u.gc();f<T;++f)if(v=l(u.Xb(f),182),Ume(nW(rs(e,v)),m))return v}return null}default:return null}}function Lxn(e,t,r){var o,a,u,f,p,m,y,v;if(r.gc()==0)return!1;if(p=(Lo(),l(t,69).vk()),u=p?r:new w0(r.gc()),wp(e.e,t)){if(t.Qi())for(y=r.Jc();y.Ob();)m=y.Pb(),G7(e,t,m,ae(t,104)&&(l(t,20).Bb&No)!=0)||(a=gh(t,m),u.Gc(a)||u.Ec(a));else if(!p)for(y=r.Jc();y.Ob();)m=y.Pb(),a=gh(t,m),u.Ec(a)}else{if(r.gc()>1)throw Y(new jt(YD));for(v=za(e.e.Ah(),t),o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],v.$l(a.Jk())){if(r.Gc(p?a:a.kd()))return!1;for(y=r.Jc();y.Ob();)m=y.Pb(),l(EE(e,f,p?l(m,76):gh(t,m)),76);return!0}p||(a=gh(t,r.Jc().Pb()),u.Ec(a))}return ti(e,u)}function Mxn(e,t){var r,o,a,u,f,p,m,y,v;for(v=new Ar,p=(y=new Zh(e.c).a.vc().Jc(),new Lw(y));p.a.Ob();)u=(a=l(p.a.Pb(),45),l(a.kd(),459)),u.b==0&&Wr(v,u,v.c.b,v.c);for(;v.b!=0;)for(u=l(v.b==0?null:(un(v.b!=0),Vc(v,v.a.a)),459),u.a==null&&(u.a=0),o=new V(u.d);o.a<o.c.c.length;)r=l(q(o),659),r.b.a==null?r.b.a=ue(u.a)+r.a:t.o==(zd(),Em)?r.b.a=b.Math.min(ue(r.b.a),ue(u.a)+r.a):r.b.a=b.Math.max(ue(r.b.a),ue(u.a)+r.a),--r.b.b,r.b.b==0&&Gn(v,r.b);for(f=(m=new Zh(e.c).a.vc().Jc(),new Lw(m));f.a.Ob();)u=(a=l(f.a.Pb(),45),l(a.kd(),459)),t.i[u.c.p]=u.a}function Pxn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M;for(v=r+t.c.c.a,O=new V(t.j);O.a<O.c.c.length;){if(N=l(q(O),12),a=xs(Z(X($i,1),Pe,8,0,[N.i.n,N.n,N.a])),t.k==(zt(),_a)&&(p=l(F(N,(Ie(),mr)),12),a.a=xs(Z(X($i,1),Pe,8,0,[p.i.n,p.n,p.a])).a,t.n.a=a.a),f=new Me(0,a.b),N.j==(He(),Qt))f.a=v;else if(N.j==Kt)f.a=r;else continue;if(M=b.Math.abs(a.a-f.a),!(M<=o&&!Hmn(t)))for(u=N.g.c.length+N.e.c.length>1,y=new Vd(N.b);Ts(y.a)||Ts(y.b);)m=l(Ts(y.a)?q(y.a):q(y.b),17),T=m.c==N?m.d:m.c,b.Math.abs(xs(Z(X($i,1),Pe,8,0,[T.i.n,T.n,T.a])).b-f.b)>1&&bSn(e,m,f,u,N)}}function jxn(e){var t,r,o,a,u,f;if(a=new Xi(e.e,0),o=new Xi(e.a,0),e.d)for(r=0;r<e.b;r++)un(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(r=0;r<e.b-1;r++)un(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),Mu(a);for(t=ue((un(a.b<a.d.gc()),ce(a.d.Xb(a.c=a.b++))));e.f-t>RZ;){for(u=t,f=0;b.Math.abs(t-u)<RZ;)++f,t=ue((un(a.b<a.d.gc()),ce(a.d.Xb(a.c=a.b++)))),un(o.b<o.d.gc()),o.d.Xb(o.c=o.b++);f<e.b&&(un(a.b>0),a.a.Xb(a.c=--a.b),KAn(e,e.b-f,u,o,a),un(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),un(o.b>0),o.a.Xb(o.c=--o.b)}if(!e.d)for(r=0;r<e.b-1;r++)un(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),Mu(a);e.d=!0,e.c=!0}function Tr(){Tr=K,V3e=(sle(),Ks).b,vLt=l(oe(Ne(Ks.b),0),38),km=l(oe(Ne(Ks.b),1),38),yLt=l(oe(Ne(Ks.b),2),38),y2=Ks.bb,l(oe(Ne(Ks.bb),0),38),l(oe(Ne(Ks.bb),1),38),v2=Ks.fb,M4=l(oe(Ne(Ks.fb),0),38),l(oe(Ne(Ks.fb),1),38),l(oe(Ne(Ks.fb),2),20),hw=Ks.qb,OLt=l(oe(Ne(Ks.qb),0),38),l(oe(Ne(Ks.qb),1),20),l(oe(Ne(Ks.qb),2),20),h5=l(oe(Ne(Ks.qb),3),38),p5=l(oe(Ne(Ks.qb),4),38),j4=l(oe(Ne(Ks.qb),6),38),P4=l(oe(Ne(Ks.qb),5),20),ELt=Ks.j,SLt=Ks.k,TLt=Ks.q,ALt=Ks.w,_Lt=Ks.B,xLt=Ks.A,kLt=Ks.C,NLt=Ks.D,CLt=Ks._,ILt=Ks.cb,RLt=Ks.hb}function Fxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;e.c=0,e.b=0,o=2*t.c.a.c.length+1;e:for(T=r.Jc();T.Ob();){if(v=l(T.Pb(),12),p=v.j==(He(),Wt)||v.j==dn,O=0,p){if(N=l(F(v,(Ie(),Nu)),9),!N)continue;O+=sTn(e,o,v,N)}else{for(y=new V(v.g);y.a<y.c.c.length;)if(m=l(q(y),17),a=m.d,a.i.c==t.c){Fe(e.a,v);continue e}else O+=e.g[a.p];for(f=new V(v.e);f.a<f.c.c.length;)if(u=l(q(f),17),a=u.c,a.i.c==t.c){Fe(e.a,v);continue e}else O-=e.g[a.p]}v.e.c.length+v.g.c.length>0?(e.f[v.p]=O/(v.e.c.length+v.g.c.length),e.c=b.Math.min(e.c,e.f[v.p]),e.b=b.Math.max(e.b,e.f[v.p])):p&&(e.f[v.p]=O)}}function $xn(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 Bxn(e,t,r){var o,a,u,f;for(r.Tg("Graph transformation ("+e.a+")",1),f=jb(t.a),u=new V(t.b);u.a<u.c.c.length;)a=l(q(u),26),li(f,a.a);if(o=l(F(t,(Be(),pAe)),424),o==(m6(),K$))switch(l(F(t,xc),87).g){case 2:$3(t,f);break;case 3:dC(t,f);break;case 4:e.a==(E_(),iL)?(dC(t,f),jW(t,f)):(jW(t,f),dC(t,f))}else if(e.a==(E_(),iL))switch(l(F(t,xc),87).g){case 2:$3(t,f),jW(t,f);break;case 3:dC(t,f),$3(t,f);break;case 4:$3(t,f),dC(t,f)}else switch(l(F(t,xc),87).g){case 2:$3(t,f),jW(t,f);break;case 3:$3(t,f),dC(t,f);break;case 4:dC(t,f),$3(t,f)}r.Ug()}function Uxn(e){var t,r,o,a,u,f,p,m;for(u=new V(e.a.b);u.a<u.c.c.length;)a=l(q(u),84),a.b.c=a.g.c,a.b.d=a.g.d;for(m=new Me(Kr,Kr),t=new Me(Li,Li),o=new V(e.a.b);o.a<o.c.c.length;)r=l(q(o),84),m.a=b.Math.min(m.a,r.g.c),m.b=b.Math.min(m.b,r.g.d),t.a=b.Math.max(t.a,r.g.c+r.g.b),t.b=b.Math.max(t.b,r.g.d+r.g.a);for(p=EP(e.c).a.nc();p.Ob();)f=l(p.Pb(),49),r=l(f.b,84),m.a=b.Math.min(m.a,r.g.c),m.b=b.Math.min(m.b,r.g.d),t.a=b.Math.max(t.a,r.g.c+r.g.b),t.b=b.Math.max(t.b,r.g.d+r.g.a);e.d=H8(new Me(m.a,m.b)),e.e=Di(new Me(t.a,t.b),m),e.a.a.c.length=0,e.a.b.c.length=0}function jvt(e,t,r){var o,a,u,f,p,m;for(Gc(t,(QS(),pk))?m=ue(ce(ve(t,pk))):m=r,a=m+t.f+b.Math.max(l(ve(t,(_n(),Cp)),125).a,e.b),p=new tn((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e));p.e!=p.i.gc();)if(u=l(rn(p),74),o=l(oe((!u.c&&(u.c=new Tt(pn,u,5,8)),u.c),0),19),Gc(o,pk)&&a>ue(ce(ve(o,pk)))+l(ve(o,Cp),125).d)throw Y(new _f("Invalid vertical constraints. Node "+o.k+" has a vertical constraint that is too low for its ancestors."));for(f=new tn((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e));f.e!=f.i.gc();)u=l(rn(f),74),o=l(oe((!u.c&&(u.c=new Tt(pn,u,5,8)),u.c),0),19),jvt(e,o,a)}function Hxn(e){q3();var t,r,o,a,u,f,p;for(p=new EZe,r=new V(e);r.a<r.c.c.length;)t=l(q(r),148),(!p.b||t.c>=p.b.c)&&(p.b=t),(!p.c||t.c<=p.c.c)&&(p.d=p.c,p.c=t),(!p.e||t.d>=p.e.d)&&(p.e=t),(!p.f||t.d<=p.f.d)&&(p.f=t);return o=new o7((x_(),X0)),e6(e,Kkt,new Ls(Z(X(nL,1),Rt,378,0,[o]))),f=new o7($y),e6(e,Wkt,new Ls(Z(X(nL,1),Rt,378,0,[f]))),a=new o7(Fy),e6(e,Vkt,new Ls(Z(X(nL,1),Rt,378,0,[a]))),u=new o7(qE),e6(e,qkt,new Ls(Z(X(nL,1),Rt,378,0,[u]))),lJ(o.c,X0),lJ(a.c,Fy),lJ(u.c,qE),lJ(f.c,$y),p.a.c.length=0,li(p.a,o.c),li(p.a,oc(a.c)),li(p.a,u.c),li(p.a,oc(f.c)),p}function zxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;for(t.Tg(tTt,1),O=ue(ce(ve(e,(yh(),iv)))),f=ue(ce(ve(e,(ef(),l4)))),p=l(ve(e,c4),100),gge((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),v=Cvt((!e.a&&(e.a=new ke(En,e,10,11)),e.a),O,f),!e.a&&(e.a=new ke(En,e,10,11)),y=new V(v);y.a<y.c.c.length;)for(m=l(q(y),189),a=new V(m.a);a.a<a.c.c.length;)o=l(q(a),175),N=new Lhe(o.s,o.t,ue(ce(ve(e,l4)))),Ege(N,o),Fe(m.d,N);T=ubt(v,f),M=b.Math.max(T.a,ue(ce(ve(e,u4)))-(p.b+p.c)),u=b.Math.max(T.b,ue(ce(ve(e,qB)))-(p.d+p.a)),r=u-T.b,Vn(e,a4,r),Vn(e,$T,M),Vn(e,dk,u+r),Vn(e,VB,v),t.Ug()}function Gxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U;for(y=new uh,v=new uh,M=new uh,U=new uh,m=ue(ce(F(t,(Be(),vm)))),u=ue(ce(F(t,od))),p=new V(r);p.a<p.c.c.length;)if(f=l(q(p),9),T=l(F(f,(Ie(),Hs)),64),T==(He(),Wt))for(v.a.yc(f,v),a=new $t(qt(si(f).a.Jc(),new D));an(a);)o=l(en(a),17),pi(y,o.c.i);else if(T==dn)for(U.a.yc(f,U),a=new $t(qt(si(f).a.Jc(),new D));an(a);)o=l(en(a),17),pi(M,o.c.i);y.a.gc()!=0&&(N=new oW(2,u),O=U0e(N,t,y,v,-m-t.c.b),O>0&&(e.a=m+(O-1)*u,t.c.b+=e.a,t.f.b+=e.a)),M.a.gc()!=0&&(N=new oW(1,u),O=U0e(N,t,M,U,t.f.b+m-t.c.b),O>0&&(t.f.b+=m+(O-1)*u))}function Fvt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(v=ue(ce(F(e,(Be(),ym)))),o=ue(ce(F(e,GAe))),N=new IG,Te(N,ym,v+o),y=t,J=y.d,U=y.c.i,ne=y.d.i,z=ide(U.c),se=ide(ne.c),a=new je,T=z;T<=se;T++)p=new Xd(e),Jh(p,(zt(),gi)),Te(p,(Ie(),mr),y),Te(p,Zr,(qi(),fa)),Te(p,EB,N),O=l(ze(e.b,T),26),T==z?E1(p,O.a.c.length-r,O):Oi(p,O),de=ue(ce(F(y,_g))),de<0&&(de=0,Te(y,_g,de)),p.o.b=de,M=b.Math.floor(de/2),f=new aa,Ci(f,(He(),Kt)),As(f,p),f.n.b=M,m=new aa,Ci(m,Qt),As(m,p),m.n.b=M,Ji(y,f),u=new p0,qs(u,y),Te(u,ss,null),bo(u,m),Ji(u,J),qmn(p,y,u),Ot(a.c,u),y=u;return a}function qxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;if(U=t.b.c.length,!(U<3)){for(O=we(Rn,Qn,30,U,15,1),T=0,v=new V(t.b);v.a<v.c.c.length;)y=l(q(v),26),O[T++]=y.a.c.length;for(N=new Xi(t.b,2),o=1;o<U-1;o++)for(r=(un(N.b<N.d.gc()),l(N.d.Xb(N.c=N.b++),26)),M=new V(r.a),u=0,p=0,m=0;m<O[o+1];m++)if(se=l(q(M),9),m==O[o+1]-1||Jbe(e,se,o+1,o)){for(f=O[o]-1,Jbe(e,se,o+1,o)&&(f=e.c.e[l(l(l(ze(e.c.b,se.p),16).Xb(0),49).a,9).p]);p<=m;){if(ne=l(ze(r.a,p),9),!Jbe(e,ne,o+1,o))for(J=l(ze(e.c.b,ne.p),16).Jc();J.Ob();)z=l(J.Pb(),49),a=e.c.e[l(z.a,9).p],(a<u||a>f)&&pi(e.b,l(z.b,17));++p}u=f}}}function $J(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(m=l(bg(e,(He(),Kt)).Jc().Pb(),12).e,O=l(bg(e,Qt).Jc().Pb(),12).g,p=m.c.length,se=qd(l(ze(e.j,0),12));p-- >0;){for(U=(at(0,m.c.length),l(m.c[0],17)),a=(at(0,O.c.length),l(O.c[0],17)),ne=a.d.e,u=_s(ne,a,0),zcn(U,a.d,u),bo(a,null),Ji(a,null),M=U.a,t&&Gn(M,new So(se)),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),Gn(M,new So(r));for(J=U.b,N=new V(a.b);N.a<N.c.c.length;)T=l(q(N),70),Ot(J.c,T);if(z=l(F(U,(Be(),ss)),79),f=l(F(a,ss),79),f)for(z||(z=new Lu,Te(U,ss,z)),v=An(f,0);v.b!=v.d.c;)y=l(Sn(v),8),Gn(z,new So(y))}}function Vxn(e,t){var r,o,a,u,f,p,m,y;for(t.Tg("Sort By Input Model "+F(e,(Be(),Ch)),1),u=0,a=new V(e.b);a.a<a.c.c.length;){for(o=l(q(a),26),o.p=u,y=u==0?0:u-1,m=l(ze(e.b,y),26),r=new Age(e,m,l(F(e,Ch),270),l(F(e,fte),353),(l(F(e,FI),330),!0)),Q0t(o.a,r),p=new V(o.a);p.a<p.c.c.length;)f=l(q(p),9),be(F(f,Zr))!==be((qi(),_m))&&be(F(f,Zr))!==be(fa)&&(At(),xi(f.j,new ygt(e,m,l(F(e,Ch),270),cbt(f),Ye(Ke(F(e,hte))))),t.ah("Node "+f+" ports: "+f.j));r=new Age(e,m,l(F(e,Ch),270),l(F(e,fte),353),(l(F(e,FI),330),!1)),Q0t(o.a,r),t.ah("Layer "+u+": "+o),++u}t.Ug()}function F0e(e,t){var r;if(t==null||wt(t,tu)||t.length==0&&e.k!=(A1(),UT))return null;switch(e.k.g){case 1:return e7(t,Ix)?(Lt(),Bx):e7(t,JZ)?(Lt(),D1):null;case 2:try{return Re(Ec(t,Qi,sr))}catch(o){if(o=ci(o),ae(o,133))return null;throw Y(o)}case 4:try{return vy(t)}catch(o){if(o=ci(o),ae(o,133))return null;throw Y(o)}case 3:return t;case 5:return Dpt(e),c0t(e,t);case 6:return Dpt(e),KEn(e,e.a,t);case 7:try{return r=Qvn(e),r.ag(t),r}catch(o){if(o=ci(o),ae(o,33))return null;throw Y(o)}default:throw Y(new es("Invalid type set for this layout option."))}}function $0e(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&&Ye(Ke(t))!=f3(e.k,0);case 1:return t!=null&&l(t,224).a!=Dn(e.k)<<24>>24;case 2:return t!=null&&l(t,183).a!=(Dn(e.k)&Ei);case 6:return t!=null&&f3(l(t,192).a,e.k);case 5:return t!=null&&l(t,15).a!=Dn(e.k);case 7:return t!=null&&l(t,193).a!=Dn(e.k)<<16>>16;case 3:return t!=null&&ue(ce(t))!=e.j;case 4:return t!=null&&l(t,165).a!=e.j;default:return t==null?e.n!=null:!pr(t,e.n)}}function dD(e,t,r){var o,a,u,f;return e.ml()&&e.ll()&&(f=ZV(e,l(r,57)),be(f)!==be(r))?(e.vj(t),e.Bj(t,ddt(e,t,f)),e.$k()&&(u=(a=l(r,52),e.kl()?e.il()?a.Qh(e.b,Mo(l(Nt(Ja(e.b),e.Jj()),20)).n,l(Nt(Ja(e.b),e.Jj()).Fk(),29).ik(),null):a.Qh(e.b,Ur(a.Ah(),Mo(l(Nt(Ja(e.b),e.Jj()),20))),null,null):a.Qh(e.b,-1-e.Jj(),null,null)),!l(f,52).Mh()&&(u=(o=l(f,52),e.kl()?e.il()?o.Oh(e.b,Mo(l(Nt(Ja(e.b),e.Jj()),20)).n,l(Nt(Ja(e.b),e.Jj()).Fk(),29).ik(),u):o.Oh(e.b,Ur(o.Ah(),Mo(l(Nt(Ja(e.b),e.Jj()),20))),null,u):o.Oh(e.b,-1-e.Jj(),null,u))),u&&u.mj()),Ju(e.b)&&e.Hj(e.Gj(9,r,f,t,!1)),f):r}function $vt(e){var t,r,o,a,u,f,p,m,y,v;for(o=new je,f=new V(e.e.a);f.a<f.c.c.length;){for(a=l(q(f),126),v=0,a.k.c.length=0,r=new V(wE(a));r.a<r.c.c.length;)t=l(q(r),220),t.f&&(Fe(a.k,t),++v);v==1&&Ot(o.c,a)}for(u=new V(o);u.a<u.c.c.length;)for(a=l(q(u),126);a.k.c.length==1;){for(y=l(q(new V(a.k)),220),e.b[y.c]=y.g,p=y.d,m=y.e,r=new V(wE(a));r.a<r.c.c.length;)t=l(q(r),220),pr(t,y)||(t.f?p==t.d||m==t.e?e.b[y.c]-=e.b[t.c]-t.g:e.b[y.c]+=e.b[t.c]-t.g:a==p?t.d==a?e.b[y.c]+=t.g:e.b[y.c]-=t.g:t.d==a?e.b[y.c]-=t.g:e.b[y.c]+=t.g);Xa(p.k,y),Xa(m.k,y),p==a?a=y.e:a=y.d}}function Bvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(r=l(Wo(e.b,t),129),m=l(l(wr(e.r,t),24),85),m.dc()){r.n.b=0,r.n.c=0;return}for(y=e.u.Gc((xu(),Rp)),f=0,p=m.Jc(),v=null,T=0,N=0;p.Ob();)o=l(p.Pb(),116),a=ue(ce(o.b.mf((z8(),m$)))),u=o.b.Kf().a,e.A.Gc((sc(),xm))&&dyt(e,t),v?(O=N+v.d.c+e.w+o.d.b,f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(T-a)<=nf||T==a||isNaN(T)&&isNaN(a)?0:O/(a-T)))):e.C&&e.C.b>0&&(f=b.Math.max(f,yht(e.C.b+o.d.b,a))),v=o,T=a,N=u;e.C&&e.C.c>0&&(O=N+e.C.c,y&&(O+=v.d.c),f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(T-1)<=nf||T==1||isNaN(T)&&isNaN(1)?0:O/(1-T)))),r.n.b=0,r.a.a=f}function Uvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(r=l(Wo(e.b,t),129),m=l(l(wr(e.r,t),24),85),m.dc()){r.n.d=0,r.n.a=0;return}for(y=e.u.Gc((xu(),Rp)),f=0,e.A.Gc((sc(),xm))&&fyt(e,t),p=m.Jc(),v=null,N=0,T=0;p.Ob();)o=l(p.Pb(),116),u=ue(ce(o.b.mf((z8(),m$)))),a=o.b.Kf().b,v?(O=T+v.d.a+e.w+o.d.d,f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(N-u)<=nf||N==u||isNaN(N)&&isNaN(u)?0:O/(u-N)))):e.C&&e.C.d>0&&(f=b.Math.max(f,yht(e.C.d+o.d.d,u))),v=o,N=u,T=a;e.C&&e.C.a>0&&(O=T+e.C.a,y&&(O+=v.d.a),f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(N-1)<=nf||N==1||isNaN(N)&&isNaN(1)?0:O/(1-N)))),r.n.d=0,r.a.b=f}function Hvt(e,t,r){var o,a,u,f,p,m;for(this.g=e,p=t.d.length,m=r.d.length,this.d=we(Nh,vg,9,p+m,0,1),f=0;f<p;f++)this.d[f]=t.d[f];for(u=0;u<m;u++)this.d[p+u]=r.d[u];if(t.e){if(this.e=UO(t.e),this.e.Kc(r),r.e)for(a=r.e.Jc();a.Ob();)o=l(a.Pb(),242),o!=t&&(this.e.Gc(o)?--o.c:this.e.Ec(o))}else r.e&&(this.e=UO(r.e),this.e.Kc(t));this.f=t.f+r.f,this.a=t.a+r.a,this.a>0?hK(this,this.f/this.a):Hd(t.g,t.d[0]).a!=null&&Hd(r.g,r.d[0]).a!=null?hK(this,(ue(Hd(t.g,t.d[0]).a)+ue(Hd(r.g,r.d[0]).a))/2):Hd(t.g,t.d[0]).a!=null?hK(this,Hd(t.g,t.d[0]).a):Hd(r.g,r.d[0]).a!=null&&hK(this,Hd(r.g,r.d[0]).a)}function Wxn(e,t,r,o,a,u,f,p){var m,y,v,T,N,O,M,U,z,J;if(M=!1,y=Hme(r.q,t.f+t.b-r.q.f),O=o.f>t.b&&p,J=a-(r.q.e+y-f),T=(m=MC(o,J,!1),m.a),O&&T>o.f)return!1;if(O){for(N=0,z=new V(t.d);z.a<z.c.c.length;)U=l(q(z),320),N+=Hme(U,o.f)+f;J=a-N}return J<o.g||(v=u==e.c.length-1&&J>=(at(u,e.c.length),l(e.c[u],189)).e,!O&&T>t.b&&!v)?!1:((v||O||T<=t.b)&&(v&&T>t.b?(r.d=T,u6(r,bmt(r,T))):(Nbt(r.q,y),r.c=!0),u6(o,a-(r.s+r.r)),U6(o,r.q.e+r.q.d,t.f),yj(t,o),e.c.length>u&&(q6((at(u,e.c.length),l(e.c[u],189)),o),(at(u,e.c.length),l(e.c[u],189)).a.c.length==0&&sg(e,u)),M=!0),M)}function Kxn(e){var t,r,o;for(bE(J1,Z(X(GE,1),Rt,139,0,[new que])),r=new Xue(e),o=0;o<r.a.length;++o)t=ay(r,o).re().a,wt(t,"layered")?bE(J1,Z(X(GE,1),Rt,139,0,[new IWe])):wt(t,"force")?bE(J1,Z(X(GE,1),Rt,139,0,[new pWe])):wt(t,"stress")?bE(J1,Z(X(GE,1),Rt,139,0,[new mWe])):wt(t,"mrtree")?bE(J1,Z(X(GE,1),Rt,139,0,[new JWe])):wt(t,"radial")?bE(J1,Z(X(GE,1),Rt,139,0,[new qWe])):wt(t,"sporeOverlap")||wt(t,"sporeCompaction")?bE(J1,Z(X(GE,1),Rt,139,0,[new rKe])):wt(t,"rectpacking")?bE(J1,Z(X(GE,1),Rt,139,0,[new QWe])):wt(t,"vertiflex")&&bE(J1,Z(X(GE,1),Rt,139,0,[new oKe]))}function Yxn(e,t){var r,o,a,u,f,p,m,y,v,T;for(e.a=new Pst(cpn(E4)),o=new V(t.a);o.a<o.c.c.length;){for(r=l(q(o),847),p=new hY(Z(X(lee,1),Rt,84,0,[])),Fe(e.a.a,p),y=new V(r.d);y.a<y.c.c.length;)m=l(q(y),120),v=new Rde(e,m),H0e(v,l(F(r.c,(Ie(),_p)),24)),ma(e.g,r)||(Jn(e.g,r,new Me(m.c,m.d)),Jn(e.f,r,v)),Fe(e.a.b,v),PW(p,v);for(f=new V(r.b);f.a<f.c.c.length;)u=l(q(f),598),v=new Rde(e,u.Bf()),Jn(e.b,u,new ko(p,v)),H0e(v,l(F(r.c,(Ie(),_p)),24)),u.zf()&&(T=new z1e(e,u.zf(),1),H0e(T,l(F(r.c,_p),24)),a=new hY(Z(X(lee,1),Rt,84,0,[])),PW(a,T),yt(e.c,u.yf(),new ko(p,T)))}return e.a}function Jxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;for(r.Tg("Breadth-first cycle removal",1),e.c=t,T=t.a,e.a=new Ar,e.e=new hi,e.d=new hi,e.f=we(uu,Ad,30,T.c.length,16,1),e.b=new je,p=0,v=new V(T);v.a<v.c.c.length;)y=l(q(v),9),y.p=p,iy(si(y))&&pi(e.e,y),iy(Or(y))&&pi(e.d,y),++p;for(O=e.e.a.ec().Jc();O.Ob();)N=l(O.Pb(),9),Gn(e.a,N),mhe(e);for(mhe(e),o=!0;o;){for(o=!1,f=0;f<T.c.length;f++)if(!e.f[f]){m=(at(f,T.c.length),l(T.c[f],9)),Gn(e.a,m),o=!0;break}mhe(e)}for(u=new V(e.b);u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(t,(Ie(),CT),(Lt(),!0));e.e=null,e.f=null,e.a=null,e.b=null,r.Ug()}function Xxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(f=r.Jk(),ae(f,104)&&l(f,20).Bb&No&&(N=l(r.kd(),52),U=w1(e.e,N),U!=N)){if(v=gh(f,U),w3(e,t,GY(e,t,v)),T=null,Ju(e.e)&&(o=IE((mu(),ao),e.e.Ah(),f),o!=Nt(e.e.Ah(),e.c))){for(z=za(e.e.Ah(),f),p=0,u=l(e.g,123),m=0;m<t;++m)a=u[m],z.$l(a.Jk())&&++p;T=new UW(e.e,9,o,N,U,p,!1),T.lj(new cp(e.e,9,e.c,r,v,t,!1))}return M=l(f,20),O=Mo(M),O?(T=N.Qh(e.e,Ur(N.Ah(),O),null,T),T=l(U,52).Oh(e.e,Ur(U.Ah(),O),null,T)):M.Bb&Ws&&(y=-1-Ur(e.e.Ah(),M),T=N.Qh(e.e,y,null,null),!l(U,52).Mh()&&(T=l(U,52).Oh(e.e,y,null,T))),T&&T.mj(),v}return r}function zvt(e){var t;this.a=e,t=(zt(),Z(X(bee,1),Ce,252,0,[Xr,gi,mi,_a,ta,af,rL,AI])).length,this.b=Yw(ore,[Pe,tve],[597,149],0,[t,t],2),this.c=Yw(ore,[Pe,tve],[597,149],0,[t,t],2),TW(this,Xr,(Be(),vm),tv),Z3(this,Xr,gi,ym,$1),KO(this,Xr,_a,ym),KO(this,Xr,mi,ym),Z3(this,Xr,ta,vm,tv),TW(this,gi,od,Qy),KO(this,gi,_a,od),KO(this,gi,mi,od),Z3(this,gi,ta,ym,$1),Knt(this,_a,od),KO(this,_a,mi,od),KO(this,_a,ta,_te),Knt(this,mi,GI),Z3(this,mi,ta,sk,ok),TW(this,ta,od,od),TW(this,af,od,Qy),Z3(this,af,Xr,ym,$1),Z3(this,af,ta,ym,$1),Z3(this,af,gi,ym,$1)}function Zxn(e,t,r,o,a,u){var f;if(!(t==null||!oY(t,_3e,x3e)))throw Y(new jt("invalid scheme: "+t));if(!e&&!(r!=null&&Nf(r,Qa(35))==-1&&r.length>0&&(Yt(0,r.length),r.charCodeAt(0)!=47)))throw Y(new jt("invalid opaquePart: "+r));if(e&&!(t!=null&&VN(EU,t.toLowerCase()))&&!(r==null||!oY(r,O4,D4)))throw Y(new jt(jAt+r));if(e&&t!=null&&VN(EU,t.toLowerCase())&&!U0n(r))throw Y(new jt(jAt+r));if(!Kgn(o))throw Y(new jt("invalid device: "+o));if(!zpn(a))throw f=a==null?"invalid segments: null":"invalid segment: "+Ppn(a),Y(new jt(f));if(!(u==null||Nf(u,Qa(35))==-1))throw Y(new jt("invalid query: "+u))}function Gvt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;if(N=new So(e.o),J=t.a/N.a,p=t.b/N.b,U=t.a-N.a,u=t.b-N.b,r)for(a=be(F(e,(Be(),Zr)))===be((qi(),fa)),M=new V(e.j);M.a<M.c.c.length;)switch(O=l(q(M),12),O.j.g){case 1:a||(O.n.a*=J);break;case 2:O.n.a+=U,a||(O.n.b*=p);break;case 3:a||(O.n.a*=J),O.n.b+=u;break;case 4:a||(O.n.b*=p)}for(y=new V(e.b);y.a<y.c.c.length;)m=l(q(y),70),v=m.n.a+m.o.a/2,T=m.n.b+m.o.b/2,z=v/N.a,f=T/N.b,z+f>=1&&(z-f>0&&T>=0?(m.n.a+=U,m.n.b+=u*f):z-f<0&&v>=0&&(m.n.a+=U*z,m.n.b+=u));e.o.a=t.a,e.o.b=t.b,Te(e,(Be(),mm),(sc(),o=l(md(N4),10),new Hc(o,l(Gl(o,o.length),10),0)))}function Qxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;if(r.Tg("Network simplex layering",1),e.b=t,J=l(F(t,(Be(),qI)),15).a*4,z=e.b.a,z.c.length<1){r.Ug();return}for(u=GTn(e,z),U=null,a=An(u,0);a.b!=a.d.c;){for(o=l(Sn(a),16),p=J*go(b.Math.sqrt(o.gc())),f=iAn(o),SJ(Qce(PQt(ele(OV(f),p),U),!0),r.dh(1)),N=e.b.b,M=new V(f.a);M.a<M.c.c.length;){for(O=l(q(M),126);N.c.length<=O.e;)Nb(N,N.c.length,new ra(e.b));v=l(O.f,9),Oi(v,l(ze(N,O.e),26))}if(u.b>1)for(U=we(Rn,Qn,30,e.b.b.c.length,15,1),T=0,y=new V(e.b.b);y.a<y.c.c.length;)m=l(q(y),26),U[T++]=m.a.c.length}z.c.length=0,e.a=null,e.b=null,e.c=null,r.Ug()}function ekn(e,t){var r,o,a,u,f,p,m,y,v,T;for(v=new je,T=new iE,u=null,a=0,o=0;o<t.length;++o)switch(r=t[o],_pn(u,r)&&(a=v1e(e,T,v,RB,a)),gr(r,(Ie(),tw))&&(u=l(F(r,tw),9)),r.k.g){case 0:for(m=ade(_S(ks(r,(He(),Wt)),new Fue));wK(m);)f=l(Fpe(m),12),e.d[f.p]=a++,Ot(v.c,f);for(a=v1e(e,T,v,RB,a),y=ade(_S(ks(r,dn),new Fue));wK(y);)f=l(Fpe(y),12),e.d[f.p]=a++,Ot(v.c,f);break;case 3:ks(r,k_e).dc()||(f=l(ks(r,k_e).Xb(0),12),e.d[f.p]=a++,Ot(v.c,f)),ks(r,RB).dc()||l1(T,r);break;case 1:for(p=ks(r,(He(),Kt)).Jc();p.Ob();)f=l(p.Pb(),12),e.d[f.p]=a++,Ot(v.c,f);ks(r,Qt).Ic(new Ntt(T,r))}return v1e(e,T,v,RB,a),v}function B0e(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;if(t==null||t.length==0)return null;if(u=l(wa(e.f,t),21),!u){for(a=(O=new Zh(e.d).a.vc().Jc(),new Lw(O));a.a.Ob();)if(r=(f=l(a.a.Pb(),45),l(f.kd(),21)),p=r.f,M=t.length,wt(p.substr(p.length-M,M),t)&&(t.length==p.length||co(p,p.length-t.length-1)==46)){if(u)return null;u=r}if(!u){for(o=(N=new Zh(e.d).a.vc().Jc(),new Lw(N));o.a.Ob();)if(r=(f=l(o.a.Pb(),45),l(f.kd(),21)),T=r.g,T!=null){for(m=T,y=0,v=m.length;y<v;++y)if(p=m[y],M=t.length,wt(p.substr(p.length-M,M),t)&&(t.length==p.length||co(p,p.length-t.length-1)==46)){if(u)return null;u=r}}}u&&ns(e.f,t,u)}return u}function tkn(e,t){var r,o,a,u,f;for(r=new lS,f=!1,u=0;u<t.length;u++){if(o=(Yt(u,t.length),t.charCodeAt(u)),o==32){for(n7(e,r,0),r.a+=" ",n7(e,r,0);u+1<t.length&&(Yt(u+1,t.length),t.charCodeAt(u+1)==32);)++u;continue}if(f){o==39?u+1<t.length&&(Yt(u+1,t.length),t.charCodeAt(u+1)==39)?(r.a+=String.fromCharCode(o),++u):f=!1:r.a+=String.fromCharCode(o);continue}if(Nf("GyMLdkHmsSEcDahKzZv",Qa(o))>0){n7(e,r,0),r.a+=String.fromCharCode(o),a=N1n(t,u),n7(e,r,a),u+=a-1;continue}o==39?u+1<t.length&&(Yt(u+1,t.length),t.charCodeAt(u+1)==39)?(r.a+="'",++u):f=!0:r.a+=String.fromCharCode(o)}n7(e,r,0),uwn(e)}function nkn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(se=got(e),m=new je,u=e.c.length,y=u-1,v=u+1;se.a.gc()!=0;){for(;r.b!=0;)J=(un(r.b!=0),l(Vc(r,r.a.a),117)),se.a.Ac(J)!=null,J.g=y--,x0e(J,t,r,o);for(;t.b!=0;)ne=(un(t.b!=0),l(Vc(t,t.a.a),117)),se.a.Ac(ne)!=null,ne.g=v++,x0e(ne,t,r,o);for(p=Qi,U=se.a.ec().Jc();U.Ob();){if(M=l(U.Pb(),117),!o&&M.b>0&&M.a<=0){m.c.length=0,Ot(m.c,M);break}O=M.i-M.d,O>=p&&(O>p&&(m.c.length=0,p=O),Ot(m.c,M))}m.c.length!=0&&(f=l(ze(m,u7(a,m.c.length)),117),se.a.Ac(f)!=null,f.g=v++,x0e(f,t,r,o),m.c.length=0)}for(z=e.c.length+1,N=new V(e);N.a<N.c.c.length;)T=l(q(N),117),T.g<u&&(T.g=T.g+z)}function rkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(y=NZ,m=jE,J=new je,M=new V(t);M.a<M.c.c.length;){for(O=l(q(M),9),a=new je,p=new $t(qt(si(O).a.Jc(),new D));an(p);)u=l(en(p),17),z=u.d.i,U=u.c.i,z.c.p==r&&Ot(a.c,z),U.c.p==r&&Ot(a.c,U);for(f=new $t(qt(Or(O).a.Jc(),new D));an(f);)u=l(en(f),17),z=u.d.i,U=u.c.i,z.c.p==r&&Ot(a.c,z),U.c.p==r&&Ot(a.c,U);a.c.length==0?Ot(J.c,O):(At(),xi(a,e.b),N=ue(ce(F(l(ze(a,a.c.length/2|0),9),(Ie(),r2)))),Te(O,r2,N),y=b.Math.min(y,N),m=b.Math.max(m,N))}for(o=(m+y)/2,T=new V(J);T.a<T.c.c.length;)v=l(q(T),9),Te(v,(Ie(),r2),o)}function ikn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(a=new V(e.a.b);a.a<a.c.c.length;)for(r=l(q(a),26),m=new V(r.a);m.a<m.c.c.length;)p=l(q(m),9),t.j[p.p]=p,t.i[p.p]=t.o==(zd(),uf)?Li:Kr;for(Zs(e.c),f=e.a.b,t.c==(If(),kg)&&(f=oc(f)),Mcn(e.e,t,e.b),hO(t.p,null),u=f.Jc();u.Ob();)for(r=l(u.Pb(),26),y=r.a,t.o==(zd(),uf)&&(y=oc(y)),N=y.Jc();N.Ob();)T=l(N.Pb(),9),t.g[T.p]==T&&IEt(e,T,t);for(Mxn(e,t),o=f.Jc();o.Ob();)for(r=l(o.Pb(),26),N=new V(r.a);N.a<N.c.c.length;)T=l(q(N),9),t.p[T.p]=t.p[t.g[T.p].p],T==t.g[T.p]&&(v=ue(t.i[t.j[T.p].p]),(t.o==(zd(),uf)&&v>Li||t.o==Em&&v<Kr)&&(t.p[T.p]=ue(t.p[T.p])+v));e.e.wg()}function okn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(Ye(Ke(F(r,(Be(),Ky)))))for(p=new V(r.j);p.a<p.c.c.length;)for(f=l(q(p),12),N=Df(f.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],u=m.d.i==r,a=u&&Ye(Ke(F(m,bm))),a&&(M=m.c,O=l(Ht(e.b,M),9),O||(O=fD(M,(qi(),pf),M.j,-1,null,null,M.o,l(F(t,xc),87),t),Te(O,(Ie(),mr),M),Jn(e.b,M,O),Fe(t.a,O)),z=m.d,U=l(Ht(e.b,z),9),U||(U=fD(z,(qi(),pf),z.j,1,null,null,z.o,l(F(t,xc),87),t),Te(U,(Ie(),mr),z),Jn(e.b,z,U),Fe(t.a,U)),o=WW(m),bo(o,l(ze(O.j,0),12)),Ji(o,l(ze(U.j,0),12)),yt(e.a,m,new K8(o,t,(jo(),Ba))),l(F(t,(Ie(),xa)),24).Ec((Fo(),rl)))}function skn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z;for(u=new je,y=new V(o);y.a<y.c.c.length;)if(p=l(q(y),447),f=null,p.f==(jo(),Ba))for(M=new V(p.e);M.a<M.c.c.length;)O=l(q(M),17),z=O.d.i,ji(z)==t?Sft(e,t,p,O,p.b,O.d):!r||T_(z,r)?zwn(e,t,p,o,O):(N=MJ(e,t,r,O,p.b,Ba,f),N!=f&&Ot(u.c,N),N.c&&(f=N));else for(T=new V(p.e);T.a<T.c.c.length;)if(v=l(q(T),17),U=v.c.i,ji(U)==t)Sft(e,t,p,v,v.c,p.b);else{if(!r||T_(U,r))continue;N=MJ(e,t,r,v,p.b,Cu,f),N!=f&&Ot(u.c,N),N.c&&(f=N)}for(m=new V(u);m.a<m.c.c.length;)p=l(q(m),447),_s(t.a,p.a,0)!=-1||Fe(t.a,p.a),p.c&&Ot(a.c,p)}function akn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(a=l(F(e,(Nr(),i4)),19),y=sr,v=sr,p=Qi,m=Qi,se=An(e.b,0);se.b!=se.d.c;)J=l(Sn(se),41),O=J.e,M=J.f,y=b.Math.min(y,O.a-M.a/2),v=b.Math.min(v,O.b-M.b/2),p=b.Math.max(p,O.a+M.a/2),m=b.Math.max(m,O.b+M.b/2);for(N=l(ve(a,(js(),txe)),100),ne=An(e.b,0);ne.b!=ne.d.c;)J=l(Sn(ne),41),T=F(J,i4),ae(T,209)&&(u=l(T,19),Bc(u,J.e.a,J.e.b),nD(u,J));for(z=An(e.a,0);z.b!=z.d.c;)U=l(Sn(z),65),o=l(F(U,i4),74),o&&(t=U.a,r=kC(o),k0e(t,r));de=p-y+(N.b+N.c),f=m-v+(N.d+N.a),Ye(Ke(ve(a,(_n(),uv))))||M0(a,de,f,!1,!1),Vn(a,av,de-(N.b+N.c)),Vn(a,sv,f-(N.d+N.a))}function qvt(e){var t,r,o,a,u,f,p;for(t=0,u=new V(e.b.a);u.a<u.c.c.length;)o=l(q(u),197),o.b=0,o.c=0;for(fmt(e,0),sY(e,e.g),P7(e.c),Kce(e.c),r=(vi(),as),uD(Gq(RE(uD(Gq(RE(uD(RE(e.c,r)),pgt(r)))),r))),RE(e.c,as),QK(e,e.g),Jbt(e,0),Avt(e,0),Z0t(e,1),fmt(e,1),sY(e,e.d),P7(e.c),f=new V(e.b.a);f.a<f.c.c.length;)o=l(q(f),197),t+=b.Math.abs(o.c);for(p=new V(e.b.a);p.a<p.c.c.length;)o=l(q(p),197),o.b=0,o.c=0;for(r=il,uD(Gq(RE(uD(Gq(RE(uD(Kce(RE(e.c,r))),pgt(r)))),r))),RE(e.c,as),QK(e,e.d),Jbt(e,1),Avt(e,1),Z0t(e,0),Kce(e.c),a=new V(e.b.a);a.a<a.c.c.length;)o=l(q(a),197),t+=b.Math.abs(o.c);return t}function ukn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(r=l(F(e,(Be(),Zr)),103),f=e.f,u=e.d,p=f.a+u.b+u.c,m=0-u.d-e.c.b,v=f.b+u.d+u.a-e.c.b,y=new je,T=new je,a=new V(t);a.a<a.c.c.length;){switch(o=l(q(a),9),r.g){case 1:case 2:case 3:W2n(o);break;case 4:N=l(F(o,sw),8),O=N?N.a:0,o.n.a=p*ue(ce(F(o,(Ie(),nw))))-O,Lj(o,!0,!1);break;case 5:M=l(F(o,sw),8),U=M?M.a:0,o.n.a=ue(ce(F(o,(Ie(),nw))))-U,Lj(o,!0,!1),f.a=b.Math.max(f.a,o.n.a+o.o.a/2)}switch(l(F(o,(Ie(),Hs)),64).g){case 1:o.n.b=m,Ot(y.c,o);break;case 3:o.n.b=v,Ot(T.c,o)}}switch(r.g){case 1:case 2:tgt(y,e),tgt(T,e);break;case 3:ngt(y,e),ngt(T,e)}}function ckn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;for(r.Tg("Label dummy switching",1),o=l(F(t,(Be(),fB)),233),yhn(t),a=MEn(t,o),e.a=we(Ki,Jo,30,t.b.c.length,15,1),p=(eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE])),v=0,O=p.length;v<O;++v)if(u=p[v],(u==YE||u==KE||u==zy)&&!l(fu(a.a,u)?a.b[u.g]:null,16).dc()){Nhn(e,t);break}for(m=Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE]),T=0,M=m.length;T<M;++T)u=m[T],u==YE||u==KE||u==zy||Cyt(e,l(fu(a.a,u)?a.b[u.g]:null,16));for(f=Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,zy,YE,KE]),y=0,N=f.length;y<N;++y)u=f[y],(u==YE||u==KE||u==zy)&&Cyt(e,l(fu(a.a,u)?a.b[u.g]:null,16));e.a=null,r.Ug()}function Vvt(e,t){var r,o,a,u,f,p,m,y,v;if(y=t,!(y.b==null||e.b==null)){for(xE(e),PC(e),xE(y),PC(y),r=we(Rn,Qn,30,e.b.length+y.b.length,15,1),v=0,o=0,f=0;o<e.b.length&&f<y.b.length;)if(a=e.b[o],u=e.b[o+1],p=y.b[f],m=y.b[f+1],u<p)o+=2;else if(u>=p&&a<=m)p<=a&&u<=m?(r[v++]=a,r[v++]=u,o+=2):p<=a?(r[v++]=a,r[v++]=m,e.b[o]=m+1,f+=2):u<=m?(r[v++]=p,r[v++]=u,o+=2):(r[v++]=p,r[v++]=m,e.b[o]=m+1);else if(m<a)f+=2;else throw Y(new Es("Token#intersectRanges(): Internal Error: ["+e.b[o]+","+e.b[o+1]+"] & ["+y.b[f]+","+y.b[f+1]+"]"));for(;o<e.b.length;)r[v++]=e.b[o++],r[v++]=e.b[o++];e.b=we(Rn,Qn,30,v,15,1),ua(r,0,e.b,0,v)}}function lkn(e){var t,r,o,a,u,f,p;for(t=new je,e.g=new je,e.d=new je,f=new dy(new Dw(e.f.b).a);f.b;)u=gE(f),Fe(t,l(l(u.kd(),49).b,84)),ep(l(u.jd(),598).yf())?Fe(e.d,l(u.kd(),49)):Fe(e.g,l(u.kd(),49));for(sY(e,e.d),sY(e,e.g),e.c=new f0t(e.b),FQt(e.c,(ble(),Bkt)),QK(e,e.d),QK(e,e.g),li(t,e.c.a.b),e.e=new Me(Kr,Kr),e.a=new Me(Li,Li),o=new V(t);o.a<o.c.c.length;)r=l(q(o),84),e.e.a=b.Math.min(e.e.a,r.g.c),e.e.b=b.Math.min(e.e.b,r.g.d),e.a.a=b.Math.max(e.a.a,r.g.c+r.g.b),e.a.b=b.Math.max(e.a.b,r.g.d+r.g.a);tle(e.c,new i9),p=0;do a=qvt(e),++p;while((p<2||a>wg)&&p<10);tle(e.c,new o9),qvt(e),ksn(e.c),Uxn(e.f)}function dkn(e,t){var r,o,a,u,f,p,m,y,v,T,N;switch(e.k.g){case 1:if(o=l(F(e,(Ie(),mr)),17),r=l(F(o,vTe),79),r?Ye(Ke(F(o,Ag)))&&(r=Hge(r)):r=new Lu,y=l(F(e,Cd),12),y){if(v=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])),t<=v.a)return v.b;Wr(r,v,r.a,r.a.a)}if(T=l(F(e,Nl),12),T){if(N=xs(Z(X($i,1),Pe,8,0,[T.i.n,T.n,T.a])),N.a<=t)return N.b;Wr(r,N,r.c.b,r.c)}if(r.b>=2){for(m=An(r,0),f=l(Sn(m),8),p=l(Sn(m),8);p.a<t&&m.b!=m.d.c;)f=p,p=l(Sn(m),8);return f.b+(t-f.a)/(p.a-f.a)*(p.b-f.b)}break;case 3:switch(u=l(F(l(ze(e.j,0),12),(Ie(),mr)),12),a=u.i,u.j.g){case 1:return a.n.b;case 3:return a.n.b+a.o.b}}return vbe(e).b}function fkn(e){var t,r,o,a,u,f,p,m,y,v,T;for(f=new V(e.d.b);f.a<f.c.c.length;)for(u=l(q(f),26),m=new V(u.a);m.a<m.c.c.length;){if(p=l(q(m),9),Ye(Ke(F(p,(Be(),PI))))&&!iy(Lf(p))){o=l(Ban(Lf(p)),17),v=o.c.i,v==p&&(v=o.d.i),T=new ko(v,Di(To(p.n),v.n)),Jn(e.b,p,T);continue}a=new ql(p.n.a-p.d.b,p.n.b-p.d.d,p.o.a+p.d.b+p.d.c,p.o.b+p.d.d+p.d.a),t=Prt(zet(Uet(Het(new Dce,p),a),bNt),e.a),Mrt(den(Uft(new Oce,Z(X(g$,1),Rt,60,0,[t])),t),e.a),y=new YG,Jn(e.e,t,y),r=yd(new $t(qt(si(p).a.Jc(),new D)))-yd(new $t(qt(Or(p).a.Jc(),new D))),r<0?I6(y,!0,(vi(),as)):r>0&&I6(y,!0,(vi(),fs)),p.k==(zt(),mi)&&Kst(y),Jn(e.f,p,t)}}function Wvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne;for(y=Kr,v=Kr,p=Li,m=Li,N=new V(t.i);N.a<N.c.c.length;)T=l(q(N),68),a=l(l(Ht(e.g,T.a),49).b,19),Bc(a,T.b.c,T.b.d),y=b.Math.min(y,a.i),v=b.Math.min(v,a.j),p=b.Math.max(p,a.i+a.g),m=b.Math.max(m,a.j+a.f);for(O=l(ve(e.c,(Y6(),$Ot)),100),M0(e.c,p-y+(O.b+O.c),m-v+(O.d+O.a),!0,!0),Bbe(e.c,-y+O.b,-v+O.d),o=new tn(gat(e.c));o.e!=o.i.gc();)r=l(rn(o),74),f=kC(r),M=JY(r),z=Qbt(r),U=new Me(M.i+M.g/2,M.j+M.f/2),u=new Me(z.i+z.g/2,z.j+z.f/2),J=Di(new Me(u.a,u.b),U),G_(J,M.g,M.f),br(U,J),ne=Di(new Me(U.a,U.b),u),G_(ne,z.g,z.f),br(u,ne),NO(f,U.a,U.b),kO(f,u.a,u.b)}function Kvt(e,t){var r,o,a,u,f,p,m,y,v,T;for(m=!0,a=0,y=e.g[t.p],v=t.o.b+e.o,r=e.d[t.p][2],nc(e.b,y,Re(l(ze(e.b,y),15).a-1+r)),nc(e.c,y,ue(ce(ze(e.c,y)))-v+r*e.f),++y,y>=e.j?(++e.j,Fe(e.b,Re(1)),Fe(e.c,v)):(o=e.d[t.p][1],nc(e.b,y,Re(l(ze(e.b,y),15).a+1-o)),nc(e.c,y,ue(ce(ze(e.c,y)))+v-o*e.f)),(e.r==(_1(),SL)&&(l(ze(e.b,y),15).a>e.k||l(ze(e.b,y-1),15).a>e.k)||e.r==TL&&(ue(ce(ze(e.c,y)))>e.n||ue(ce(ze(e.c,y-1)))>e.n))&&(m=!1),f=new $t(qt(si(t).a.Jc(),new D));an(f);)u=l(en(f),17),p=u.c.i,e.g[p.p]==y&&(T=Kvt(e,p),a=a+l(T.a,15).a,m=m&&Ye(Ke(T.b)));return e.g[t.p]=y,a=a+e.d[t.p][0],new ko(Re(a),(Lt(),!!m))}function hkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;return N=e.c[t],O=e.c[r],M=l(F(N,(Ie(),RT)),16),!!M&&M.gc()!=0&&M.Gc(O)||(U=N.k!=(zt(),gi)&&O.k!=gi,z=l(F(N,tw),9),J=l(F(O,tw),9),ne=z!=J,se=!!z&&z!=N||!!J&&J!=O,de=CY(N,(He(),Wt)),Ee=CY(O,dn),se=se|(CY(N,dn)||CY(O,Wt)),ye=se&&ne||de||Ee,U&&ye)||N.k==(zt(),_a)&&O.k==Xr||O.k==(zt(),_a)&&N.k==Xr?!1:(v=e.c[t],u=e.c[r],a=vbt(e.e,v,u,(He(),Kt)),m=vbt(e.i,v,u,Qt),F2n(e.f,v,u),y=Rpt(e.b,v,u)+l(a.a,15).a+l(m.a,15).a+e.f.d,p=Rpt(e.b,u,v)+l(a.b,15).a+l(m.b,15).a+e.f.b,e.a&&(T=l(F(v,mr),12),f=l(F(u,mr),12),o=ibt(e.g,T,f),y+=l(o.a,15).a,p+=l(o.b,15).a),y>p)}function Yvt(e,t){var r,o,a,u,f;r=ue(ce(F(t,(Be(),od)))),r<2&&Te(t,od,2),o=l(F(t,xc),87),o==(vi(),hf)&&Te(t,xc,Gj(t)),a=l(F(t,NIt),15),a.a==0?Te(t,(Ie(),DT),new rY):Te(t,(Ie(),DT),new WP(a.a)),u=Ke(F(t,HI)),u==null&&Te(t,HI,(Lt(),be(F(t,kp))===be((gp(),Ek)))),ei(new Et(null,new St(t.a,16)),new mce(e)),ei(bs(new Et(null,new St(t.b,16)),new r9),new wce(e)),f=new zvt(t),Te(t,(Ie(),t2),f),M3(e.a),pc(e.a,(Vi(),id),l(F(t,jT),173)),pc(e.a,kh,l(F(t,gB),173)),pc(e.a,la,l(F(t,BI),173)),pc(e.a,da,l(F(t,yB),173)),pc(e.a,Ho,Phn(l(F(t,kp),225))),sde(e.a,c3n(t)),Te(t,ote,FC(e.a,t))}function U0e(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J;for(T=new hn,f=new je,Pmt(e,r,e.d.zg(),f,T),Pmt(e,o,e.d.Ag(),f,T),e.b=.2*(U=z0t(bs(new Et(null,new St(f,16)),new hHe)),z=z0t(bs(new Et(null,new St(f,16)),new pHe)),b.Math.min(U,z)),u=0,p=0;p<f.c.length-1;p++)for(m=(at(p,f.c.length),l(f.c[p],117)),M=p+1;M<f.c.length;M++)u+=L0e(e,m,(at(M,f.c.length),l(f.c[M],117)));for(N=l(F(t,(Ie(),DT)),237),u>=2&&(J=fwt(f,!0,N),!e.e&&(e.e=new zJe(e)),x1n(e.e,J,f,e.b)),$bt(f,N),vkn(f),O=-1,v=new V(f);v.a<v.c.c.length;)y=l(q(v),117),!(b.Math.abs(y.s-y.c)<Hf)&&(O=b.Math.max(O,y.o),e.d.xg(y,a,e.c));return e.d.a.a.$b(),O+1}function pkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(T=l(M8((f=An(new Qh(t).a.d,0),new qv(f))),41),M=T?l(F(T,(Nr(),rne)),41):null,a=1;T&&M;){for(m=0,de=0,r=T,o=M,p=0;p<a;p++)r=YW(r),o=YW(o),de+=ue(ce(F(r,(Nr(),lk)))),m+=ue(ce(F(o,lk)));if(se=ue(ce(F(M,(Nr(),Ng)))),ne=ue(ce(F(T,Ng))),N=m1e(e,T,M),O=se+m+e.b+N-ne-de,0<O){for(y=t,v=0;y&&y!=o;)++v,y=l(F(y,PB),41);if(y)for(J=O/v,y=t;y!=o;)z=ue(ce(F(y,Ng)))+O,Te(y,Ng,z),U=ue(ce(F(y,lk)))+O,Te(y,lk,U),O-=J,y=l(F(y,PB),41);else return}++a,T.d.b==0?T=b0e(new Qh(t),a):T=l(M8((u=An(new Qh(T).a.d,0),new qv(u))),41),M=T?l(F(T,rne),41):null}}function gkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;for(t.Tg("Label dummy removal",1),o=ue(ce(F(e,(Be(),o2)))),a=ue(ce(F(e,ev))),y=l(F(e,xc),87),m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),T=new Xi(p.a,0);T.b<T.d.gc();)v=(un(T.b<T.d.gc()),l(T.d.Xb(T.c=T.b++),9)),v.k==(zt(),ta)&&(N=l(F(v,(Ie(),mr)),17),M=ue(ce(F(N,_g))),f=be(F(v,OT))===be((vc(),q1)),r=new So(v.n),f&&(r.b+=M+o),u=new Me(v.o.a,v.o.b+(v.k==ta&&!BA(lr(l(F(v,OI),16).Mc(),new RA(new l9))).zd((_b(),TT))?0:-M-o)),O=l(F(v,OI),16),y==(vi(),il)||y==ff?wEn(O,r,a,u,f,y):Jpn(O,r,a,u),li(N.b,O),$J(v,be(F(e,kp))===be((gp(),GL))),Mu(T));t.Ug()}function bkn(e){e.q||(e.q=!0,e.p=Ps(e,0),e.a=Ps(e,1),Lr(e.a,0),e.f=Ps(e,2),Lr(e.f,1),Jr(e.f,2),e.n=Ps(e,3),Jr(e.n,3),Jr(e.n,4),Jr(e.n,5),Jr(e.n,6),e.g=Ps(e,4),Lr(e.g,7),Jr(e.g,8),e.c=Ps(e,5),Lr(e.c,7),Lr(e.c,8),e.i=Ps(e,6),Lr(e.i,9),Lr(e.i,10),Lr(e.i,11),Lr(e.i,12),Jr(e.i,13),e.j=Ps(e,7),Lr(e.j,9),e.d=Ps(e,8),Lr(e.d,3),Lr(e.d,4),Lr(e.d,5),Lr(e.d,6),Jr(e.d,7),Jr(e.d,8),Jr(e.d,9),Jr(e.d,10),e.b=Ps(e,9),Jr(e.b,0),Jr(e.b,1),e.e=Ps(e,10),Jr(e.e,1),Jr(e.e,2),Jr(e.e,3),Jr(e.e,4),Lr(e.e,5),Lr(e.e,6),Lr(e.e,7),Lr(e.e,8),Lr(e.e,9),Lr(e.e,10),Jr(e.e,11),e.k=Ps(e,11),Jr(e.k,0),Jr(e.k,1),e.o=rr(e,12),e.s=rr(e,13))}function mkn(e,t,r){var o,a,u,f,p,m,y,v;if(e.c.length!=0)for(e.c.length==1&&Fe(t,(at(0,e.c.length),l(e.c[0],19))),e.c.length==2&&(f=(at(0,e.c.length),l(e.c[0],19)),y=(at(1,e.c.length),l(e.c[1],19)),l(ve(f,(wh(),PL)),15).a>l(ve(y,PL),15).a?(Ot(t.c,y),Ot(r.c,f)):(Ot(t.c,f),Ot(r.c,y))),a=new je,v=new zGe,v.a=0,v.b=0,o=(at(0,e.c.length),l(e.c[0],19)),Ot(a.c,o),p=1;p<e.c.length;p++)m=(at(p,e.c.length),l(e.c[p],19)),yr(o.j,m.j)==0||(u=ivt(a,v),li(t,new Rf(a,0,u+1)),li(r,new Rf(a,u+1,a.c.length)),a=new je),Ot(a.c,m),o=m,p==e.c.length-1&&(u=ivt(a,v),li(t,new Rf(a,0,u+1)),li(r,new Rf(a,u+1,a.c.length)))}function H0e(e,t){t.dc()&&lh(e.j,!0,!0,!0,!0),pr(t,(He(),dd))&&lh(e.j,!0,!0,!0,!1),pr(t,ol)&&lh(e.j,!1,!0,!0,!0),pr(t,Nc)&&lh(e.j,!0,!0,!1,!0),pr(t,Rl)&&lh(e.j,!0,!1,!0,!0),pr(t,Iu)&&lh(e.j,!1,!0,!0,!1),pr(t,sl)&&lh(e.j,!1,!0,!1,!0),pr(t,Cc)&&lh(e.j,!0,!1,!1,!0),pr(t,fd)&&lh(e.j,!0,!1,!0,!1),pr(t,ou)&&lh(e.j,!0,!0,!0,!0),pr(t,Wa)&&lh(e.j,!0,!0,!0,!0),pr(t,ou)&&lh(e.j,!0,!0,!0,!0),pr(t,iu)&&lh(e.j,!0,!0,!0,!0),pr(t,su)&&lh(e.j,!0,!0,!0,!0),pr(t,Ru)&&lh(e.j,!0,!0,!0,!0),pr(t,ka)&&lh(e.j,!0,!0,!0,!0)}function Jvt(e,t,r){var o,a,u,f,p,m,y,v,T;if(e.a!=t.hk())throw Y(new jt(Dx+t.ve()+W0));if(o=fg((mu(),ao),t).Hl(),o)return o.hk().ti().oi(o,r);if(f=fg(ao,t).Jl(),f){if(r==null)return null;if(p=l(r,16),p.dc())return"";for(T=new Xp,u=p.Jc();u.Ob();)a=u.Pb(),Vo(T,f.hk().ti().oi(f,a)),T.a+=" ";return sV(T,T.a.length-1)}if(v=fg(ao,t).Kl(),!v.dc()){for(y=v.Jc();y.Ob();)if(m=l(y.Pb(),160),m.dk(r))try{if(T=m.hk().ti().oi(m,r),T!=null)return T}catch(N){if(N=ci(N),!ae(N,102))throw Y(N)}throw Y(new jt("Invalid value: '"+r+"' for datatype :"+t.ve()))}return l(t,839).mk(),r==null?null:ae(r,183)?""+l(r,183).a:rc(r)==l$?srt(R4[0],l(r,208)):ms(r)}function Xvt(e,t,r){var o,a,u,f;this.j=e,this.e=Cbe(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?l(ze(r,ji(this.o).p),221):null,a=l(F(e,(Ie(),xa)),24),this.g=a.Gc((Fo(),rl)),this.b=new je,this.d=new Fgt(this.e),f=l(F(this.j,DT),237),this.q=Ihn(t,f,this.e),this.k=new out(this),u=Wl(Z(X(wNt,1),Rt,223,0,[this,this.d,this.k,this.q])),t==(Kb(),_L)&&!Ye(Ke(F(e,(Be(),tk))))?(o=new Obe(this.e),Ot(u.c,o),this.c=new Zhe(o,f,l(this.q,411))):t==_L&&Ye(Ke(F(e,(Be(),tk))))?(o=new Obe(this.e),Ot(u.c,o),this.c=new cht(o,f,l(this.q,411))):t==CB?this.c=new Iat(f):this.c=new Ett(t,this),Fe(u,this.c),xvt(u,this.e),this.s=zNn(this.k)}function wkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(t.Tg("Interactive crossing minimization",1),f=0,u=new V(e.b);u.a<u.c.c.length;)o=l(q(u),26),o.p=f++;for(N=Cbe(e),z=new rle(N.length),xvt(new Ls(Z(X(wNt,1),Rt,223,0,[z])),N),U=0,f=0,a=new V(e.b);a.a<a.c.c.length;){for(o=l(q(a),26),r=0,T=0,v=new V(o.a);v.a<v.c.c.length;)for(m=l(q(v),9),m.n.a>0&&(r+=m.n.a+m.o.a/2,++T),M=new V(m.j);M.a<M.c.c.length;)O=l(q(M),12),O.p=U++;for(T>0&&(r/=T),J=we(Ki,Jo,30,o.a.c.length,15,1),p=0,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),m.p=p++,J[m.p]=dkn(m,r),m.k==(zt(),gi)&&Te(m,(Ie(),ETe),J[m.p]);At(),xi(o.a,new EJe(J)),Dyt(z,N,f,!0),++f}t.Ug()}function ykn(e){var t,r,o,a,u,f,p,m,y,v;for(y=new Ar,p=new Ar,u=new V(e);u.a<u.c.c.length;)o=l(q(u),134),o.v=0,o.n=o.i.c.length,o.u=o.t.c.length,o.n==0&&Wr(y,o,y.c.b,y.c),o.u==0&&o.r.a.gc()==0&&Wr(p,o,p.c.b,p.c);for(f=-1;y.b!=0;)for(o=l(FY(y,0),134),r=new V(o.t);r.a<r.c.c.length;)t=l(q(r),275),v=t.b,v.v=b.Math.max(v.v,o.v+1),f=b.Math.max(f,v.v),--v.n,v.n==0&&Wr(y,v,y.c.b,y.c);if(f>-1){for(a=An(p,0);a.b!=a.d.c;)o=l(Sn(a),134),o.v=f;for(;p.b!=0;)for(o=l(FY(p,0),134),r=new V(o.i);r.a<r.c.c.length;)t=l(q(r),275),m=t.a,m.r.a.gc()==0&&(m.v=b.Math.min(m.v,o.v-1),--m.u,m.u==0&&Wr(p,m,p.c.b,p.c))}}function vkn(e){var t,r,o,a,u,f,p,m,y,v;for(y=new je,p=new je,f=new V(e);f.a<f.c.c.length;)a=l(q(f),117),UG(a,a.f.c.length),S9(a,a.k.c.length),a.d==0&&Ot(y.c,a),a.i==0&&a.e.b==0&&Ot(p.c,a);for(o=-1;y.c.length!=0;)for(a=l(sg(y,0),117),r=new V(a.k);r.a<r.c.c.length;)t=l(q(r),135),v=t.b,rce(v,b.Math.max(v.o,a.o+1)),o=b.Math.max(o,v.o),UG(v,v.d-1),v.d==0&&Ot(y.c,v);if(o>-1){for(u=new V(p);u.a<u.c.c.length;)a=l(q(u),117),a.o=o;for(;p.c.length!=0;)for(a=l(sg(p,0),117),r=new V(a.f);r.a<r.c.c.length;)t=l(q(r),135),m=t.a,!(m.e.b>0)&&(rce(m,b.Math.min(m.o,a.o-1)),S9(m,m.i-1),m.i==0&&Ot(p.c,m))}}function Zvt(e,t,r,o,a){var u,f,p,m;return m=Kr,f=!1,p=O0e(e,Di(new Me(t.a,t.b),e),br(new Me(r.a,r.b),a),Di(new Me(o.a,o.b),r)),u=!!p&&!(b.Math.abs(p.a-e.a)<=q0&&b.Math.abs(p.b-e.b)<=q0||b.Math.abs(p.a-t.a)<=q0&&b.Math.abs(p.b-t.b)<=q0),p=O0e(e,Di(new Me(t.a,t.b),e),r,a),p&&((b.Math.abs(p.a-e.a)<=q0&&b.Math.abs(p.b-e.b)<=q0)==(b.Math.abs(p.a-t.a)<=q0&&b.Math.abs(p.b-t.b)<=q0)||u?m=b.Math.min(m,O3(Di(p,r))):f=!0),p=O0e(e,Di(new Me(t.a,t.b),e),o,a),p&&(f||(b.Math.abs(p.a-e.a)<=q0&&b.Math.abs(p.b-e.b)<=q0)==(b.Math.abs(p.a-t.a)<=q0&&b.Math.abs(p.b-t.b)<=q0)||u)&&(m=b.Math.min(m,O3(Di(p,o)))),m}function Qvt(e){n0(e,new Qb(iO(Qm(Jm(Zm(Xm(new vb,N1),Y2t),"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 n9),Ga))),De(e,N1,wx,Ge($2e)),De(e,N1,ID,(Lt(),!0)),De(e,N1,ME,Ge(Rkt)),De(e,N1,mT,Ge(Okt)),De(e,N1,bT,Ge(Dkt)),De(e,N1,Ex,Ge(Ikt)),De(e,N1,yx,Ge(U2e)),De(e,N1,Sx,Ge(Lkt)),De(e,N1,kwe,Ge(F2e)),De(e,N1,Cwe,Ge(P2e)),De(e,N1,Iwe,Ge(j2e)),De(e,N1,Rwe,Ge(B2e)),De(e,N1,Nwe,Ge(S$))}function Ekn(e){var t,r,o,a,u,f,p,m;for(t=null,o=new V(e);o.a<o.c.c.length;)r=l(q(o),242),ue(Hd(r.g,r.d[0]).a),r.b=null,r.e&&r.e.gc()>0&&r.c==0&&(!t&&(t=new je),Ot(t.c,r));if(t)for(;t.c.length!=0;){if(r=l(sg(t,0),242),r.b&&r.b.c.length>0){for(u=(!r.b&&(r.b=new je),new V(r.b));u.a<u.c.c.length;)if(a=l(q(u),242),rO(Hd(a.g,a.d[0]).a)==rO(Hd(r.g,r.d[0]).a)){if(_s(e,a,0)>_s(e,r,0))return new ko(a,r)}else if(ue(Hd(a.g,a.d[0]).a)>ue(Hd(r.g,r.d[0]).a))return new ko(a,r)}for(p=(!r.e&&(r.e=new je),r.e).Jc();p.Ob();)f=l(p.Pb(),242),m=(!f.b&&(f.b=new je),f.b),ry(0,m.c.length),t3(m.c,0,r),f.c==m.c.length&&Ot(t.c,f)}return null}function $C(e,t){var r,o,a,u,f,p,m,y,v;if(t.e==5){Vvt(e,t);return}if(y=t,!(y.b==null||e.b==null)){for(xE(e),PC(e),xE(y),PC(y),r=we(Rn,Qn,30,e.b.length+y.b.length,15,1),v=0,o=0,f=0;o<e.b.length&&f<y.b.length;)if(a=e.b[o],u=e.b[o+1],p=y.b[f],m=y.b[f+1],u<p)r[v++]=e.b[o++],r[v++]=e.b[o++];else if(u>=p&&a<=m)p<=a&&u<=m?o+=2:p<=a?(e.b[o]=m+1,f+=2):u<=m?(r[v++]=a,r[v++]=p-1,o+=2):(r[v++]=a,r[v++]=p-1,e.b[o]=m+1,f+=2);else if(m<a)f+=2;else throw Y(new Es("Token#subtractRanges(): Internal Error: ["+e.b[o]+","+e.b[o+1]+"] - ["+y.b[f]+","+y.b[f+1]+"]"));for(;o<e.b.length;)r[v++]=e.b[o++],r[v++]=e.b[o++];e.b=we(Rn,Qn,30,v,15,1),ua(r,0,e.b,0,v)}}function Skn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(o=new V(e.e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)if(a=l(q(u),9),O=e.i[a.p],y=O.a.e,m=O.d.e,a.n.b=y,J=m-y-a.o.b,t=LJ(a),N=(wy(),(a.q?a.q:(At(),At(),xh))._b((Be(),ow))?T=l(F(a,ow),205):T=l(F(ji(a),zI),205),T),t&&(N==a2||N==s2)&&(a.o.b+=J),t&&(N==Mte||N==a2||N==s2)){for(U=new V(a.j);U.a<U.c.c.length;)M=l(q(U),12),(He(),Wa).Gc(M.j)&&(v=l(Ht(e.k,M),126),M.n.b=v.e-y);for(p=new V(a.b);p.a<p.c.c.length;)f=l(q(p),70),z=l(F(a,iw),24),z.Gc((Ty(),Il))?f.n.b+=J:z.Gc(Rh)&&(f.n.b+=J/2);(N==a2||N==s2)&&ks(a,(He(),dn)).Ic(new jJe(J))}}function Tkn(e){var t,r,o,a,u,f,p;if(!e.A.dc()){if(e.A.Gc((sc(),XL))&&(l(Wo(e.b,(He(),Wt)),129).k=!0,l(Wo(e.b,dn),129).k=!0,t=e.q!=(qi(),Oh)&&e.q!=fa,ece(l(Wo(e.b,Qt),129),t),ece(l(Wo(e.b,Kt),129),t),ece(e.g,t),e.A.Gc(xm)&&(l(Wo(e.b,Wt),129).j=!0,l(Wo(e.b,dn),129).j=!0,l(Wo(e.b,Qt),129).k=!0,l(Wo(e.b,Kt),129).k=!0,e.g.k=!0)),e.A.Gc(JL))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,p=e.B.Gc((Uu(),C4)),a=bY(),u=0,f=a.length;u<f;++u)o=a[u],r=l(Wo(e.i,o),319),r&&(j1e(o)?(r.j=!0,r.k=!0):(r.j=!p,r.k=!p));e.A.Gc(hv)&&e.B.Gc((Uu(),QL))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function Akn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(y=new je,m=new V(t.a);m.a<m.c.c.length;)for(f=l(q(m),9),N=ks(f,(He(),Qt)).Jc();N.Ob();)for(T=l(N.Pb(),12),a=new V(T.g);a.a<a.c.c.length;)o=l(q(a),17),!(!fo(o)&&o.c.i.c==o.d.i.c||fo(o)||o.d.i.c!=r)&&Ot(y.c,o);for(p=oc(r.a).Jc();p.Ob();)for(f=l(p.Pb(),9),N=ks(f,(He(),Kt)).Jc();N.Ob();)for(T=l(N.Pb(),12),a=new V(T.e);a.a<a.c.c.length;)if(o=l(q(a),17),!(!fo(o)&&o.c.i.c==o.d.i.c||fo(o)||o.c.i.c!=t)&&y.c.length!=0){for(v=new Xi(y,y.c.length),u=(un(v.b>0),l(v.a.Xb(v.c=--v.b),17));u!=o&&v.b>0;)e.a[u.p]=!0,e.a[o.p]=!0,u=(un(v.b>0),l(v.a.Xb(v.c=--v.b),17));v.b>0&&Mu(v)}}function eEt(e,t,r){var o,a,u,f,p,m,y,v,T,N;if(r)for(o=-1,v=new Xi(t,0);v.b<v.d.gc();){if(p=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),9)),T=e.c[p.c.p][p.p].a,T==null){for(f=o+1,u=new Xi(t,v.b);u.b<u.d.gc();)if(N=Itn(e,(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),9))).a,N!=null){f=(Mt(N),N);break}T=(o+f)/2,e.c[p.c.p][p.p].a=T,e.c[p.c.p][p.p].d=(Mt(T),T),e.c[p.c.p][p.p].b=1}o=(Mt(T),T)}else{for(a=0,y=new V(t);y.a<y.c.c.length;)p=l(q(y),9),e.c[p.c.p][p.p].a!=null&&(a=b.Math.max(a,ue(e.c[p.c.p][p.p].a)));for(a+=2,m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),e.c[p.c.p][p.p].a==null&&(T=Bu(e.i,24)*_D*a-1,e.c[p.c.p][p.p].a=T,e.c[p.c.p][p.p].d=T,e.c[p.c.p][p.p].b=1)}}function _kn(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(a=new V(e.a.a.b);a.a<a.c.c.length;)for(o=l(q(a),60),m=o.c.Jc();m.Ob();)p=l(m.Pb(),60),o.a!=p.a&&(ep(e.a.d)?T=e.a.g.df(o,p):T=e.a.g.ef(o,p),u=o.b.a+o.d.b+T-p.b.a,u=b.Math.ceil(u),u=b.Math.max(0,u),$pe(o,p)?(f=o0(new Tb,e.d),y=go(b.Math.ceil(p.b.a-o.b.a)),t=y-(p.b.a-o.b.a),v=PS(o).a,r=o,v||(v=PS(p).a,t=-t,r=p),v&&(r.b.a-=t,v.n.a-=t),Ql($l(Ul(Hl(Bl(new gl,b.Math.max(0,y)),1),f),e.c[o.a.d])),Ql($l(Ul(Hl(Bl(new gl,b.Math.max(0,-y)),1),f),e.c[p.a.d]))):(N=1,(ae(o.g,157)&&ae(p.g,9)||ae(p.g,157)&&ae(o.g,9))&&(N=2),Ql($l(Ul(Hl(Bl(new gl,go(u)),N),e.c[o.a.d]),e.c[p.a.d]))))}function tEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;if(!e.b)return!1;for(f=null,N=null,m=new QW(null,null),a=1,m.a[1]=e.b,T=m;T.a[a];)y=a,p=N,N=T,T=T.a[a],o=e.a.Le(t,T.d),a=o<0?0:1,o==0&&(!r.c||ia(T.e,r.d))&&(f=T),!(T&&T.b)&&!Pw(T.a[a])&&(Pw(T.a[1-a])?N=N.a[y]=Aj(T,a):Pw(T.a[1-a])||(O=N.a[1-y],O&&(!Pw(O.a[1-y])&&!Pw(O.a[y])?(N.b=!1,O.b=!0,T.b=!0):(u=p.a[1]==N?1:0,Pw(O.a[y])?p.a[u]=ect(N,y):Pw(O.a[1-y])&&(p.a[u]=Aj(N,y)),T.b=p.a[u].b=!0,p.a[u].a[0].b=!1,p.a[u].a[1].b=!1))));return f&&(r.b=!0,r.d=f.e,T!=f&&(v=new QW(T.d,T.e),Rwn(e,m,f,v),N==f&&(N=v)),N.a[N.a[1]==T?1:0]=T.a[T.a[0]?0:1],--e.c),e.b=m.a[1],e.b&&(e.b.b=!1),r.b}function xkn(e,t,r){var o,a,u,f,p,m,y,v,T;for(!r&&(r=npn(t.q.getTimezoneOffset())),a=(t.q.getTimezoneOffset()-r.a)*6e4,p=new Jde(Ao(Gs(t.q.getTime()),a)),m=p,p.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(a>0?a-=864e5:a+=864e5,m=new Jde(Ao(Gs(t.q.getTime()),a))),v=new lS,y=e.a.length,u=0;u<y;)if(o=co(e.a,u),o>=97&&o<=122||o>=65&&o<=90){for(f=u+1;f<y&&co(e.a,f)==o;++f);A3n(v,o,f-u,p,m,r),u=f}else if(o==39){if(++u,u<y&&co(e.a,u)==39){v.a+="'",++u;continue}for(T=!1;!T;){for(f=u;f<y&&co(e.a,f)!=39;)++f;if(f>=y)throw Y(new jt("Missing trailing '"));f+1<y&&co(e.a,f+1)==39?++f:T=!0,zn(v,yl(e.a,u,f)),u=f+1}}else v.a+=String.fromCharCode(o),++u;return v.a}function kkn(){er(bv,new Rqe),er(Kn,new Hqe),er(Ol,new Qqe),er(Ld,new oVe),er(Pre,new sVe),er(SU,new aVe),er(Op,new uVe),er(I4,new cVe),er(r5,new Eqe),er(Ire,new Sqe),er(Y1,new Tqe),er(Dl,new Aqe),er(Dd,new _qe),er(lw,new xqe),er(mv,new kqe),er(au,new Nqe),er(gv,new Cqe),er(zs,new Iqe),er(Go,new Oqe),er(Ka,new Dqe),er(Yr,new Lqe),er(X(Eu,1),new Mqe),er(ET,new Pqe),er(mI,new jqe),er(l$,new Fqe),er(rCe,new $qe),er(fi,new Bqe),er(w3e,new Uqe),er(E3e,new zqe),er(G3e,new Gqe),er(TU,new qqe),er(Ux,new Vqe),er(Ti,new Wqe),er(HEe,new Kqe),er(Y0,new Yqe),er(zEe,new Jqe),er(B3e,new Xqe),er(iCe,new Zqe),er(J0,new eVe),er(Je,new tVe),er(v3e,new nVe),er(oCe,new rVe)}function nEt(e,t){var r,o,a,u,f,p,m,y,v;if(e==null)return tu;if(m=t.a.yc(e,t),m!=null)return"[...]";for(r=new qb(ja,"[","]"),a=e,u=0,f=a.length;u<f;++u)o=a[u],o!=null&&rc(o).i&4?Array.isArray(o)&&(v=b6(o),!(v>=14&&v<=16))?t.a._b(o)?(r.a?zn(r.a,r.b):r.a=new fc(r.d),p3(r.a,"[...]")):(p=HS(o),y=new Kw(t),up(r,nEt(p,y))):ae(o,172)?up(r,cvn(l(o,172))):ae(o,198)?up(r,Y0n(l(o,198))):ae(o,203)?up(r,nyn(l(o,203))):ae(o,2090)?up(r,J0n(l(o,2090))):ae(o,54)?up(r,uvn(l(o,54))):ae(o,591)?up(r,Evn(l(o,591))):ae(o,838)?up(r,avn(l(o,838))):ae(o,109)&&up(r,svn(l(o,109))):up(r,o==null?tu:ms(o));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function ix(e,t){var r,o,a,u;u=e.F,t==null?(e.F=null,I_(e,null)):(e.F=(Mt(t),t),o=Nf(t,Qa(60)),o!=-1?(a=(io(0,o,t.length),t.substr(0,o)),Nf(t,Qa(46))==-1&&!wt(a,uT)&&!wt(a,uI)&&!wt(a,KF)&&!wt(a,cI)&&!wt(a,lI)&&!wt(a,dI)&&!wt(a,fI)&&!wt(a,hI)&&(a=JAt),r=j8(t,Qa(62)),r!=-1&&(a+=""+(Yt(r+1,t.length+1),t.substr(r+1))),I_(e,a)):(a=t,Nf(t,Qa(46))==-1&&(o=Nf(t,Qa(91)),o!=-1&&(a=(io(0,o,t.length),t.substr(0,o))),!wt(a,uT)&&!wt(a,uI)&&!wt(a,KF)&&!wt(a,cI)&&!wt(a,lI)&&!wt(a,dI)&&!wt(a,fI)&&!wt(a,hI)?(a=JAt,o!=-1&&(a+=""+(Yt(o,t.length+1),t.substr(o)))):a=t),I_(e,a),a==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&hr(e,new Pi(e,1,5,u,t))}function Nkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;if(e.c=e.e,M=Ke(F(t,(Be(),CIt))),O=M==null||(Mt(M),M),u=l(F(t,(Ie(),xa)),24).Gc((Fo(),rl)),a=l(F(t,Zr),103),r=!(a==(qi(),_m)||a==Oh||a==fa),O&&(r||!u)){for(T=new V(t.a);T.a<T.c.c.length;)y=l(q(T),9),y.p=0;for(N=new je,v=new V(t.a);v.a<v.c.c.length;)if(y=l(q(v),9),o=$yt(e,y,null),o){for(m=new nge,qs(m,t),Te(m,_p,l(o.b,24)),xhe(m.d,t.d),Te(m,nk,null),p=l(o.a,16).Jc();p.Ob();)f=l(p.Pb(),9),Fe(m.a,f),f.a=m;N.Ec(m)}u&&(be(F(t,jI))===be((YS(),pee))?e.c=e.b:be(F(t,jI))===be(gee)?e.c=e.d:e.c=e.a)}else N=new Ls(Z(X(Zkt,1),X2t,37,0,[t]));return be(F(t,jI))!==be((YS(),TI))&&(At(),N.gd(new fG)),N}function rEt(e,t){var r,o,a,u,f,p,m,y,v,T;if(m=t.length-1,p=(Yt(m,t.length),t.charCodeAt(m)),p==93){if(f=Nf(t,Qa(91)),f>=0)return a=Bgn(e,(io(1,f,t.length),t.substr(1,f-1))),v=(io(f+1,m,t.length),t.substr(f+1,m-(f+1))),e3n(e,v,a)}else{if(r=-1,QEe==null&&(QEe=new RegExp("\\d")),QEe.test(String.fromCharCode(p))&&(r=lfe(t,Qa(46),m-1),r>=0)){o=l(VW(e,_ft(e,(io(1,r,t.length),t.substr(1,r-1))),!1),61),y=0;try{y=Ec((Yt(r+1,t.length+1),t.substr(r+1)),Qi,sr)}catch(N){throw N=ci(N),ae(N,133)?(u=N,Y(new oj(u))):Y(N)}if(y<o.gc())return T=o.Xb(y),ae(T,76)&&(T=l(T,76).kd()),l(T,57)}if(r<0)return l(VW(e,_ft(e,(Yt(1,t.length+1),t.substr(1))),!1),57)}return null}function Ckn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(t.Tg("Label dummy insertions",1),T=new je,f=ue(ce(F(e,(Be(),o2)))),y=ue(ce(F(e,ev))),v=l(F(e,xc),87),O=new V(e.a);O.a<O.c.c.length;)for(N=l(q(O),9),u=new $t(qt(Or(N).a.Jc(),new D));an(u);)if(a=l(en(u),17),a.c.i!=a.d.i&&pV(a.b,aNt)){for(U=Sfn(a),M=ch(a.b.c.length),r=t2n(e,a,U,M),Ot(T.c,r),o=r.o,p=new Xi(a.b,0);p.b<p.d.gc();)m=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),70)),be(F(m,Yf))===be((Kd(),yk))&&(v==(vi(),il)||v==ff?(o.a+=m.o.a+y,o.b=b.Math.max(o.b,m.o.b)):(o.a=b.Math.max(o.a,m.o.a),o.b+=m.o.b+y),Ot(M.c,m),Mu(p));v==(vi(),il)||v==ff?(o.a-=y,o.b+=f+U):o.b+=f-y+U}li(e.a,T),t.Ug()}function ox(e,t,r){var o,a,u,f,p,m,y;if(y=e.c,!t&&(t=I3e),e.c=t,e.Db&4&&!(e.Db&1)&&(m=new Pi(e,1,2,y,e.c),r?r.lj(m):r=m),y!=t){if(ae(e.Cb,294))e.Db>>16==-10?r=l(e.Cb,294).Wk(t,r):e.Db>>16==-15&&(!t&&(t=(_t(),bf)),!y&&(y=(_t(),bf)),e.Cb.Vh()&&(m=new cp(e.Cb,1,13,y,t,gg(Fu(l(e.Cb,62)),e),!1),r?r.lj(m):r=m));else if(ae(e.Cb,89))e.Db>>16==-23&&(ae(t,89)||(t=(_t(),Ml)),ae(y,89)||(y=(_t(),Ml)),e.Cb.Vh()&&(m=new cp(e.Cb,1,10,y,t,gg(oa(l(e.Cb,29)),e),!1),r?r.lj(m):r=m));else if(ae(e.Cb,449))for(p=l(e.Cb,842),f=(!p.b&&(p.b=new N9(new rq)),p.b),u=(o=new dy(new Dw(f.a).a),new C9(o));u.a.b;)a=l(gE(u.a).jd(),88),r=ox(a,O7(a,p),r)}return r}function Ikn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(f=Ye(Ke(ve(e,(Be(),Ky)))),N=l(ve(e,Xy),24),m=!1,y=!1,T=new tn((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c));T.e!=T.i.gc()&&(!m||!y);){for(u=l(rn(T),127),p=0,a=hh(Wc(Z(X(nl,1),Rt,22,0,[(!u.d&&(u.d=new Tt(Ir,u,8,5)),u.d),(!u.e&&(u.e=new Tt(Ir,u,7,4)),u.e)])));an(a)&&(o=l(en(a),74),v=f&&R0(o)&&Ye(Ke(ve(o,bm))),r=Mvt((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),u)?e==Br(Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83))):e==Br(Yo(l(oe((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),0),83))),!((v||r)&&(++p,p>1))););(p>0||N.Gc((xu(),Rp))&&(!u.n&&(u.n=new ke(Rs,u,1,7)),u.n).i>0)&&(m=!0),p>1&&(y=!0)}m&&t.Ec((Fo(),rl)),y&&t.Ec((Fo(),CI))}function iEt(e){var t,r,o,a,u,f,p,m,y,v,T,N;if(N=l(ve(e,(_n(),Am)),24),N.dc())return null;if(p=0,f=0,N.Gc((sc(),XL))){for(v=l(ve(e,bk),103),o=2,r=2,a=2,u=2,t=Br(e)?l(ve(Br(e),Tm),87):l(ve(e,Tm),87),y=new tn((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c));y.e!=y.i.gc();)if(m=l(rn(y),127),T=l(ve(m,m2),64),T==(He(),Is)&&(T=_0e(m,t),Vn(m,m2,T)),v==(qi(),fa))switch(T.g){case 1:o=b.Math.max(o,m.i+m.g);break;case 2:r=b.Math.max(r,m.j+m.f);break;case 3:a=b.Math.max(a,m.i+m.g);break;case 4:u=b.Math.max(u,m.j+m.f)}else switch(T.g){case 1:o+=m.g+2;break;case 2:r+=m.f+2;break;case 3:a+=m.g+2;break;case 4:u+=m.f+2}p=b.Math.max(o,a),f=b.Math.max(r,u)}return M0(e,p,f,!0,!0)}function Rkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(a=null,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),LJ(r)?u=(p=o0(lO(new Tb,r),e.f),m=o0(lO(new Tb,r),e.f),y=new _he(r,!0,p,m),v=r.o.b,T=(wy(),(r.q?r.q:(At(),At(),xh))._b((Be(),ow))?N=l(F(r,ow),205):N=l(F(ji(r),zI),205),N),O=1e4,T==s2&&(O=1),M=Ql($l(Ul(Bl(Hl(new gl,O),go(b.Math.ceil(v))),p),m)),T==a2&&pi(e.d,M),jyt(e,oc(ks(r,(He(),Kt))),y),jyt(e,ks(r,Qt),y),y):u=(U=o0(lO(new Tb,r),e.f),ei(lr(new Et(null,new St(r.j,16)),new LUe),new xtt(e,U)),new _he(r,!1,U,U)),e.i[r.p]=u,a&&(f=a.c.d.a+rE(e.n,a.c,r)+r.d.d,a.b||(f+=a.c.o.b),Ql($l(Ul(Hl(Bl(new gl,go(b.Math.ceil(f))),0),a.d),u.a))),a=u}function BJ(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(ne=l(Au(dj(lr(new Et(null,new St(t.d,16)),new cJe(r)),new lJe(r)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),T=sr,v=Qi,m=new V(t.b.j);m.a<m.c.c.length;)p=l(q(m),12),p.j==r&&(T=b.Math.min(T,p.p),v=b.Math.max(v,p.p));if(T==sr)for(f=0;f<ne.gc();f++)Ope(l(ne.Xb(f),108),r,f);else for(se=we(Rn,Qn,30,a.length,15,1),esn(se,se.length),J=ne.Jc();J.Ob();){for(z=l(J.Pb(),108),u=l(Ht(e.b,z),172),y=0,U=T;U<=v;U++)u[U]&&(y=b.Math.max(y,o[U]));if(z.i){for(O=z.i.c,de=new hi,N=0;N<a.length;N++)a[O][N]&&pi(de,Re(se[N]));for(;bl(de,Re(y));)++y}for(Ope(z,r,y),M=T;M<=v;M++)u[M]&&(o[M]=y+1);z.i&&(se[z.i.c]=y)}}function oEt(e,t){var r,o,a,u,f,p,m,y;for(Te(t,(Ie(),DI),Re(e.b)),Te(t,LT,Re(e.b)),++e.b,Bnt(e.d,t),Te(t,sB,(Lt(),!0)),o=new $t(qt(Lf(t).a.Jc(),new D));an(o);)r=l(en(o),17),!(r.c.i!=t&&_s(e.a,r,0)==-1)&&(r.c.i==t&&_s(e.a,r,0)!=-1||(y=null,r.d.i==t?y=r.c.i:y=r.d.i,l(F(y,DI),15).a==-1?(oEt(e,y),Te(t,LT,Re(b.Math.min(l(F(t,LT),15).a,l(F(y,LT),15).a)))):Ye(Ke(F(y,sB)))&&Te(t,LT,Re(b.Math.min(l(F(t,LT),15).a,l(F(y,DI),15).a)))));if(be(F(t,LT))===be(F(t,DI))){m=new hi,u=null;do u=l(Kge(e.d),9),Te(u,sB,!1),m.a.yc(u,m);while(t!=u);if(m.a.gc()>1)for(a=e.e.b,Gn(e.e,m),p=m.a.ec().Jc();p.Ob();)f=l(p.Pb(),9),Jn(e.c,f,Re(a))}}function Okn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O;for(u=new b0t(t),T=nTn(e,t,u),O=b.Math.max(ue(ce(F(t,(Be(),_g)))),1),v=new V(T.a);v.a<v.c.c.length;)y=l(q(v),49),m=o1t(l(y.a,8),l(y.b,8),O),w=!0,w=w&a0(r,new Me(m.c,m.d)),w=w&a0(r,Gw(new Me(m.c,m.d),m.b,0)),w=w&a0(r,Gw(new Me(m.c,m.d),0,m.a)),w&a0(r,Gw(new Me(m.c,m.d),m.b,m.a));switch(N=u.d,p=o1t(l(T.b.a,8),l(T.b.b,8),O),N==(He(),Kt)||N==Qt?(o.c[N.g]=b.Math.min(o.c[N.g],p.d),o.b[N.g]=b.Math.max(o.b[N.g],p.d+p.a)):(o.c[N.g]=b.Math.min(o.c[N.g],p.c),o.b[N.g]=b.Math.max(o.b[N.g],p.c+p.b)),a=Li,f=u.c.i.d,N.g){case 4:a=f.c;break;case 2:a=f.b;break;case 1:a=f.a;break;case 3:a=f.d}return o.a[N.g]=b.Math.max(o.a[N.g],a),u}function Dkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;if(u=l(F(e,(Ie(),mr)),74),!!u){for(o=e.a,a=new So(r),br(a,b0n(e)),T_(e.d.i,e.c.i)?(N=e.c,T=xs(Z(X($i,1),Pe,8,0,[N.n,N.a])),Di(T,r)):T=qd(e.c),Wr(o,T,o.a,o.a.a),O=qd(e.d),F(e,ate)!=null&&br(O,l(F(e,ate),8)),Wr(o,O,o.c.b,o.c),ly(o,a),f=kC(u),Ej(f,l(oe((!u.b&&(u.b=new Tt(pn,u,4,7)),u.b),0),83)),Sj(f,l(oe((!u.c&&(u.c=new Tt(pn,u,5,8)),u.c),0),83)),k0e(o,f),v=new V(e.b);v.a<v.c.c.length;)y=l(q(v),70),p=l(F(y,mr),158),Hb(p,y.o.a),Ub(p,y.o.b),Bc(p,y.n.a+a.a,y.n.b+a.b),Vn(p,(zS(),vee),Ke(F(y,vee)));m=l(F(e,(Be(),ss)),79),m?(ly(m,a),Vn(u,ss,m)):Vn(u,ss,null),t==(gp(),WT)?Vn(u,kp,WT):Vn(u,kp,null)}}function Lkn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne;for(O=t.c.length,N=0,T=new V(e.b);T.a<T.c.c.length;)if(v=l(q(T),26),J=v.a,J.c.length!=0){for(z=new V(J),y=0,ne=null,a=l(q(z),9),u=null;a;){if(u=l(ze(t,a.p),264),u.c>=0){for(m=null,p=new Xi(v.a,y+1);p.b<p.d.gc()&&(f=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),9)),m=l(ze(t,f.p),264),!(m.d==u.d&&m.c<u.c));)m=null;m&&(ne&&(nc(o,a.p,Re(l(ze(o,a.p),15).a-1)),l(ze(r,ne.p),16).Kc(u)),u=ewn(u,a,O++),Ot(t.c,u),Fe(r,new je),ne?(l(ze(r,ne.p),16).Ec(u),Fe(o,Re(1))):Fe(o,Re(0)))}M=null,z.a<z.c.c.length&&(M=l(q(z),9),U=l(ze(t,M.p),264),l(ze(r,a.p),16).Ec(U),nc(o,M.p,Re(l(ze(o,M.p),15).a+1))),u.d=N,u.c=y++,ne=a,a=M}++N}}function Mkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;p=l(Ht(t.c,e),460),ne=t.a.c,m=t.a.c+t.a.b,ft=p.f,It=p.a,f=ft<It,U=new Me(ne,ft),se=new Me(m,It),a=(ne+m)/2,z=new Me(a,ft),de=new Me(a,It),u=N2n(e,ft,It),ye=qd(t.B),qe=new Me(a,u),lt=qd(t.D),r=apn(Z(X($i,1),Pe,8,0,[ye,qe,lt])),O=!1,J=t.B.i,J&&J.c&&p.d&&(y=f&&J.p<J.c.a.c.length-1||!f&&J.p>0,y?y&&(N=J.p,f?++N:--N,T=l(ze(J.c.a,N),9),o=ipt(T),O=!(ywt(o,ye,r[0])||hst(o,ye,r[0]))):O=!0),M=!1,Ee=t.D.i,Ee&&Ee.c&&p.e&&(v=f&&Ee.p>0||!f&&Ee.p<Ee.c.a.c.length-1,v?(N=Ee.p,f?--N:++N,T=l(ze(Ee.c.a,N),9),o=ipt(T),M=!(ywt(o,r[0],lt)||hst(o,r[0],lt))):M=!0),O&&M&&Gn(e.a,qe),O||K3(e.a,Z(X($i,1),Pe,8,0,[U,z])),M||K3(e.a,Z(X($i,1),Pe,8,0,[de,se]))}function sEt(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt;if(r.c.length!=0){for(M=new je,O=new V(r);O.a<O.c.c.length;)N=l(q(O),19),Fe(M,new Me(N.i,N.j));for(o.bh(t,"Before removing overlaps");zbe(e,r);)C7(e,r,!1);if(o.bh(t,"After removing overlaps"),p=0,m=0,a=null,r.c.length!=0&&(a=(at(0,r.c.length),l(r.c[0],19)),p=a.i-(at(0,M.c.length),l(M.c[0],8)).a,m=a.j-(at(0,M.c.length),l(M.c[0],8)).b),f=b.Math.sqrt(p*p+m*m),T=Kpn(r),u=1,T.a.gc()!=0){for(v=T.a.ec().Jc();v.Ob();)y=l(v.Pb(),19),U=e.f,z=U.i+U.g/2,J=U.j+U.f/2,ne=y.i+y.g/2,se=y.j+y.f/2,de=ne-z,Ee=se-J,ye=b.Math.sqrt(de*de+Ee*Ee),qe=de/ye,lt=Ee/ye,va(y,y.i+qe*f),gu(y,y.j+lt*f);o.bh(t,"Child movement "+u),++u}e.a&&e.a.Fg(new Tu(T)),sEt(e,t,new Tu(T),o)}}function Pkn(e,t){var r,o,a,u,f,p,m,y,v,T,N;if(!e.f[t.p]){for(e.f[t.p]=!0,m=new hn,a=be(F(e.c,(Be(),PT)))===be((g1(),Gy)),o=new $t(qt(Or(t).a.Jc(),new D));an(o);)r=l(en(o),17),gr(r.d.i,(Ie(),Cr))?(N=0,T=r.d.i,a?(p=l(F(e.c,F1),15).a,N=p*l(F(T,Vy),15).a+l(F(T,Cr),15).a):N=l(F(r.d.i,Cr),15).a,ma(m,Re(N))?pi(l(Ht(m,Re(N)),47),r):Jn(m,Re(N),new Kw(new Ls(Z(X(zx,1),Tx,17,0,[r]))))):Jn(m,Re(sr-(m.f.c+m.i.c)),new Kw(new Ls(Z(X(zx,1),Tx,17,0,[r]))));for(y=new Ide(new Xh(m)),f=y.a.ec().Jc();f.Ob();)u=l(f.Pb(),15).a,v=l(l(Ht(m,Re(u)),47).a.ec().Jc().Pb(),17),!fo(v)&&(T=v.d.i,e.f[T.p]&&!bl(e.e,t)&&!bl(e.d,T)?li(e.b,l(Ht(m,Re(u)),18)):Gn(e.a,T))}}function jkn(e){var t,r,o,a;if(r=e.D!=null?e.D:e.B,t=Nf(r,Qa(91)),t!=-1){o=(io(0,t,r.length),r.substr(0,t)),a=new Xp;do a.a+="[";while((t=KA(r,91,++t))!=-1);wt(o,uT)?a.a+="Z":wt(o,uI)?a.a+="B":wt(o,KF)?a.a+="C":wt(o,cI)?a.a+="D":wt(o,lI)?a.a+="F":wt(o,dI)?a.a+="I":wt(o,fI)?a.a+="J":wt(o,hI)?a.a+="S":(a.a+="L",a.a+=""+o,a.a+=";");try{return null}catch(u){if(u=ci(u),!ae(u,63))throw Y(u)}}else if(Nf(r,Qa(46))==-1){if(wt(r,uT))return uu;if(wt(r,uI))return Eu;if(wt(r,KF))return al;if(wt(r,cI))return Ki;if(wt(r,lI))return Ev;if(wt(r,dI))return Rn;if(wt(r,fI))return pw;if(wt(r,hI))return S2}return null}function Fkn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;for(T=new fhe(new dce(e));T.c!=T.d.a.d;)for(v=zdt(T),p=l(v.d,57),t=l(v.e,57),f=p.Ah(),U=0,de=(f.i==null&&Ff(f),f.i).length;U<de;++U)if(y=(u=(f.i==null&&Ff(f),f.i),U>=0&&U<u.length?u[U]:null),y.pk()&&!y.qk()){if(ae(y,104))m=l(y,20),!(m.Bb&Ws)&&(ye=Mo(m),!(ye&&ye.Bb&Ws))&&m_n(e,m,p,t);else if(Lo(),l(y,69).vk()&&(r=(Ee=y,l(Ee?l(t,52).di(Ee):null,164)),r))for(O=l(p.Jh(y),164),o=r.gc(),z=0,M=O.gc();z<M;++z)if(N=O.Rl(z),ae(N,104)){if(se=O.Sl(z),a=Wd(e,se),a==null&&se!=null){if(ne=l(N,20),!e.b||ne.Bb&Ws||Mo(ne))continue;a=se}if(!r.Ml(N,a)){for(J=0;J<o;++J)if(r.Rl(J)==N&&be(r.Sl(J))===be(a)){r.Ri(r.gc()-1,J),--o;break}}}else r.Ml(O.Rl(z),O.Sl(z))}}function $kn(e,t,r){var o;if(r.Tg("StretchWidth layering",1),t.a.c.length==0){r.Ug();return}for(e.c=t,e.t=0,e.u=0,e.i=Kr,e.g=Li,e.d=ue(ce(F(t,(Be(),od)))),dbn(e),sEn(e),oEn(e),d0n(e),b1n(e),e.i=b.Math.max(1,e.i),e.g=b.Math.max(1,e.g),e.d=e.d/e.i,e.f=e.g/e.i,e.s=Nbn(e),o=new ra(e.c),Fe(e.c.b,o),e.r=jb(e.p),e.n=DP(e.k,e.k.length);e.r.c.length!=0;)e.o=Fpn(e),!e.o||lpt(e)&&e.b.a.gc()!=0?($0n(e,o),o=new ra(e.c),Fe(e.c.b,o),mo(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):lpt(e)?(e.c.b.c.length=0,o=new ra(e.c),Fe(e.c.b,o),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=jb(e.p),e.n=DP(e.k,e.k.length)):(Oi(e.o,o),Xa(e.r,e.o),pi(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,vC(t.b),r.Ug()}function UJ(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;return m=e,v=Di(new Me(t.a,t.b),e),y=r,T=Di(new Me(o.a,o.b),r),N=m.a,z=m.b,M=y.a,ne=y.b,O=v.a,J=v.b,U=T.a,se=T.b,a=U*J-O*se,Ud(),Yl(Gf),b.Math.abs(0-a)<=Gf||a==0||isNaN(0)&&isNaN(a)?!1:(f=1/a*((N-M)*J-(z-ne)*O),p=1/a*-(-(N-M)*se+(z-ne)*U),u=(Yl(Gf),(b.Math.abs(0-f)<=Gf||f==0||isNaN(0)&&isNaN(f)?0:0<f?-1:0>f?1:kb(isNaN(0),isNaN(f)))<0&&(Yl(Gf),(b.Math.abs(f-1)<=Gf||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:kb(isNaN(f),isNaN(1)))<0)&&(Yl(Gf),(b.Math.abs(0-p)<=Gf||p==0||isNaN(0)&&isNaN(p)?0:0<p?-1:0>p?1:kb(isNaN(0),isNaN(p)))<0)&&(Yl(Gf),(b.Math.abs(p-1)<=Gf||p==1||isNaN(p)&&isNaN(1)?0:p<1?-1:p>1?1:kb(isNaN(p),isNaN(1)))<0)),u)}function Bkn(e){var t,r,o,a,u,f,p,m,y,v,T;for(e.j=we(Rn,Qn,30,e.g,15,1),e.o=new je,ei(bs(new Et(null,new St(e.e.b,16)),new HUe),new FJe(e)),e.a=we(uu,Ad,30,e.b,16,1),L6(new Et(null,new St(e.e.b,16)),new BJe(e)),o=(T=new je,ei(lr(bs(new Et(null,new St(e.e.b,16)),new GUe),new $Je(e)),new ktt(e,T)),T),m=new V(o);m.a<m.c.c.length;)if(p=l(q(m),504),!(p.c.length<=1)){if(p.c.length==2){_vn(p),LJ((at(0,p.c.length),l(p.c[0],17)).d.i)||Fe(e.o,p);continue}if(!(W0n(p)||Lyn(p,new zUe)))for(y=new V(p),a=null;y.a<y.c.c.length;)t=l(q(y),17),r=e.c[t.p],!a||y.a>=y.c.c.length?v=rpe((zt(),Xr),gi):v=rpe((zt(),gi),gi),v*=2,u=r.a.g,r.a.g=b.Math.max(u,u+(v-u)),f=r.b.g,r.b.g=b.Math.max(f,f+(v-f)),a=t}}function J7(e,t){var r;if(e.e)throw Y(new es((np(QQ),NX+QQ.k+CX)));if(!Nen(e.a,t))throw Y(new Es(k2t+t+N2t));if(t==e.d)return e;switch(r=e.d,e.d=t,r.g){case 0:switch(t.g){case 2:C0(e);break;case 1:m1(e),C0(e);break;case 4:TE(e),C0(e);break;case 3:TE(e),m1(e),C0(e)}break;case 2:switch(t.g){case 1:m1(e),mJ(e);break;case 4:TE(e),C0(e);break;case 3:TE(e),m1(e),C0(e)}break;case 1:switch(t.g){case 2:m1(e),mJ(e);break;case 4:m1(e),TE(e),C0(e);break;case 3:m1(e),TE(e),m1(e),C0(e)}break;case 4:switch(t.g){case 2:TE(e),C0(e);break;case 1:TE(e),m1(e),C0(e);break;case 3:m1(e),mJ(e)}break;case 3:switch(t.g){case 2:m1(e),TE(e),C0(e);break;case 1:m1(e),TE(e),m1(e),C0(e);break;case 4:m1(e),mJ(e)}}return e}function RE(e,t){var r;if(e.d)throw Y(new es((np(hee),NX+hee.k+CX)));if(!Cen(e.a,t))throw Y(new Es(k2t+t+N2t));if(t==e.c)return e;switch(r=e.c,e.c=t,r.g){case 0:switch(t.g){case 2:Wb(e);break;case 1:b1(e),Wb(e);break;case 4:AE(e),Wb(e);break;case 3:AE(e),b1(e),Wb(e)}break;case 2:switch(t.g){case 1:b1(e),wJ(e);break;case 4:AE(e),Wb(e);break;case 3:AE(e),b1(e),Wb(e)}break;case 1:switch(t.g){case 2:b1(e),wJ(e);break;case 4:b1(e),AE(e),Wb(e);break;case 3:b1(e),AE(e),b1(e),Wb(e)}break;case 4:switch(t.g){case 2:AE(e),Wb(e);break;case 1:AE(e),b1(e),Wb(e);break;case 3:b1(e),wJ(e)}break;case 3:switch(t.g){case 2:b1(e),AE(e),Wb(e);break;case 1:b1(e),AE(e),b1(e),Wb(e);break;case 4:b1(e),wJ(e)}}return e}function Ukn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(T=e.b,v=new Xi(T,0),Vw(v,new ra(e)),ne=!1,f=1;v.b<v.d.gc();){for(y=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),26)),U=(at(f,T.c.length),l(T.c[f],26)),z=jb(y.a),J=z.c.length,M=new V(z);M.a<M.c.c.length;)N=l(q(M),9),Oi(N,U);if(ne){for(O=oc(z).Jc();O.Ob();)for(N=l(O.Pb(),9),u=new V(jb(si(N)));u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(e,(Ie(),CT),(Lt(),!0)),o=Fvt(e,a,J),r=l(F(N,ew),318),se=l(ze(o,o.c.length-1),17),r.k=se.c.i,r.n=se,r.b=a.d.i,r.c=a;ne=!1}else z.c.length!=0&&(t=(at(0,z.c.length),l(z.c[0],9)),t.k==(zt(),af)&&(ne=!0,f=-1));++f}for(p=new Xi(e.b,0);p.b<p.d.gc();)m=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)),m.a.c.length==0&&Mu(p)}function X7(e,t){var r,o,a,u,f,p,m,y;if(ae(e.Bh(),176)?(X7(l(e.Bh(),176),t),t.a+=" > "):t.a+="Root ",r=e.Ah().zb,wt(r.substr(0,3),"Elk")?zn(t,(Yt(3,r.length+1),r.substr(3))):t.a+=""+r,a=e.ih(),a){zn((t.a+=" ",t),a);return}if(ae(e,363)&&(y=l(e,158).a,y)){zn((t.a+=" ",t),y);return}for(f=new tn(e.jh());f.e!=f.i.gc();)if(u=l(rn(f),158),y=u.a,y){zn((t.a+=" ",t),y);return}if(ae(e,273)&&(o=l(e,74),!o.b&&(o.b=new Tt(pn,o,4,7)),o.b.i!=0&&(!o.c&&(o.c=new Tt(pn,o,5,8)),o.c.i!=0))){for(t.a+=" (",p=new SS((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b));p.e!=p.i.gc();)p.e>0&&(t.a+=ja),X7(l(rn(p),176),t);for(t.a+=PX,m=new SS((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c));m.e!=m.i.gc();)m.e>0&&(t.a+=ja),X7(l(rn(m),176),t);t.a+=")"}}function Hkn(e,t,r){var o,a,u,f,p,m,y,v;for(m=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));m.e!=m.i.gc();)for(p=l(rn(m),19),a=new $t(qt(mp(p).a.Jc(),new D));an(a);){if(o=l(en(a),74),!o.b&&(o.b=new Tt(pn,o,4,7)),!(o.b.i<=1&&(!o.c&&(o.c=new Tt(pn,o,5,8)),o.c.i<=1)))throw Y(new cS("Graph must not contain hyperedges."));if(!AC(o)&&p!=Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)))for(y=new Tit,qs(y,o),Te(y,(h1(),_T),o),dZt(y,l(Ss(ts(r.f,p)),156)),fZt(y,l(Ht(r,Yo(l(oe((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83))),156)),Fe(t.c,y),f=new tn((!o.n&&(o.n=new ke(Rs,o,1,7)),o.n));f.e!=f.i.gc();)u=l(rn(f),158),v=new Lct(y,u.a),qs(v,u),Te(v,_T,u),v.e.a=b.Math.max(u.g,1),v.e.b=b.Math.max(u.f,1),R0e(v),Fe(t.d,v)}}function zkn(e,t,r){var o,a,u,f,p,m,y,v,T,N;switch(r.Tg("Node promotion heuristic",1),e.i=t,e.r=l(F(t,(Be(),wL)),246),e.r!=(_1(),ak)&&e.r!=KI?gNn(e):FSn(e),v=l(F(e.i,CAe),15).a,u=new l$e,e.r.g){case 2:case 1:rx(e,u);break;case 3:for(e.r=NB,rx(e,u),m=0,p=new V(e.b);p.a<p.c.c.length;)f=l(q(p),15),m=b.Math.max(m,f.a);m>e.k&&(e.r=SL,rx(e,u));break;case 4:for(e.r=NB,rx(e,u),y=0,a=new V(e.c);a.a<a.c.c.length;)o=ce(q(a)),y=b.Math.max(y,(Mt(o),o));y>e.n&&(e.r=TL,rx(e,u));break;case 6:N=go(b.Math.ceil(e.g.length*v/100)),rx(e,new jYe(N));break;case 5:T=go(b.Math.ceil(e.e*v/100)),rx(e,new FYe(T));break;case 8:UEt(e,!0);break;case 9:UEt(e,!1);break;default:rx(e,u)}e.r!=ak&&e.r!=KI?iSn(e,t):TTn(e,t),r.Ug()}function Gkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(T=new V0e(e),yun(T,!(t==(vi(),il)||t==ff)),v=T.a,N=new oS,a=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])),f=0,m=a.length;f<m;++f)r=a[f],y=bV(v,Bs,r),y&&(N.d=b.Math.max(N.d,y.ff()));for(o=Z(X(jy,1),Ce,240,0,[Bs,$a,Us]),u=0,p=o.length;u<p;++u)r=o[u],y=bV(v,Us,r),y&&(N.a=b.Math.max(N.a,y.ff()));for(U=Z(X(jy,1),Ce,240,0,[Bs,$a,Us]),J=0,se=U.length;J<se;++J)O=U[J],y=bV(v,O,Bs),y&&(N.b=b.Math.max(N.b,y.gf()));for(M=Z(X(jy,1),Ce,240,0,[Bs,$a,Us]),z=0,ne=M.length;z<ne;++z)O=M[z],y=bV(v,O,Us),y&&(N.c=b.Math.max(N.c,y.gf()));return N.d>0&&(N.d+=v.n.d,N.d+=v.d),N.a>0&&(N.a+=v.n.a,N.a+=v.d),N.b>0&&(N.b+=v.n.b,N.b+=v.d),N.c>0&&(N.c+=v.n.c,N.c+=v.d),N}function aEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M;for(N=r.d,T=r.c,u=new Me(r.f.a+r.d.b+r.d.c,r.f.b+r.d.d+r.d.a),f=u.b,y=new V(e.a);y.a<y.c.c.length;)if(p=l(q(y),9),p.k==(zt(),mi)){switch(o=l(F(p,(Ie(),Hs)),64),a=l(F(p,wTe),8),v=p.n,o.g){case 2:v.a=r.f.a+N.c-T.a;break;case 4:v.a=-T.a-N.b}switch(M=0,o.g){case 2:case 4:t==(qi(),Oh)?(O=ue(ce(F(p,nw))),v.b=u.b*O-l(F(p,(Be(),sw)),8).b,M=v.b+a.b,Lj(p,!1,!0)):t==fa&&(v.b=ue(ce(F(p,nw)))-l(F(p,(Be(),sw)),8).b,M=v.b+a.b,Lj(p,!1,!0))}f=b.Math.max(f,M)}for(r.f.b+=f-u.b,m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),p.k==(zt(),mi))switch(o=l(F(p,(Ie(),Hs)),64),v=p.n,o.g){case 1:v.b=-T.b-N.d;break;case 3:v.b=r.f.b+N.a-T.b}}function uEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U;if(y=c_n(l(ve(t,(wh(),ov)),107),l(ve(r,Sm),107)),va(r,t.i+y),ue(ce(ve(e,Xf)))<ue(ce(ve(r,Xf)))){for(N=l(ve(e,Sm),107),v=N.c+e.i;N.b;)N=N.b,v+=N.c;for(u=new Qu(l(ve(r,Sm),107).c,-100,l(ve(r,Sm),107).b),U=u.c+r.i;u.b.a<=N.a;)u=u.b,U+=u.c;p=u.b.c,m=u.b.a-u.a,f=(N.a-u.a)*p/m,M=-v+U+f,O=new Qu(u.b.c-f,u.b.a,u.b.b),XR(N,new Qu(M,N.a,O)),Vn(e,Xf,ce(ve(r,Xf)))}if(ue(ce(ve(r,Xf)))<ue(ce(ve(t,Xf)))){for(T=l(ve(r,ov),107),U=T.c+r.i;T.b;)T=T.b,U+=T.c;for(a=new Qu(l(ve(t,ov),107).c,-100,l(ve(t,ov),107).b),o=a.c+t.i;a.b.a<=T.a;)a=a.b,o+=a.c;p=a.b.c,m=a.b.a-a.a,f=(T.a-a.a)*p/m,M=o-U+f,O=new Qu(a.b.c-f,a.b.a,a.b.b),XR(T,new Qu(M,T.a,O)),Vn(r,Xf,ce(ve(t,Xf)))}}function qkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;if(v=l(l(wr(e.r,t),24),85),v.gc()<=2||t==(He(),Qt)||t==(He(),Kt)){NEt(e,t);return}for(U=e.u.Gc((xu(),KT)),r=t==(He(),Wt)?(A0(),eL):(A0(),QD),J=t==Wt?(Za(),rd):(Za(),Nd),o=nle(bfe(r),e.s),z=t==Wt?Kr:Li,y=v.Jc();y.Ob();)p=l(y.Pb(),116),!(!p.c||p.c.d.c.length<=0)&&(M=p.b.Kf(),O=p.e,T=p.c,N=T.i,N.b=(u=T.n,T.e.a+u.b+u.c),N.a=(f=T.n,T.e.b+f.d+f.a),U?(N.c=O.a-(a=T.n,T.e.a+a.b+a.c)-e.s,U=!1):N.c=O.a+M.a+e.s,YO(J,ywe),T.f=J,Ed(T,(_u(),nd)),Fe(o.d,new VV(N,d1e(o,N))),z=t==Wt?b.Math.min(z,O.b):b.Math.max(z,O.b+p.b.Kf().b));for(z+=t==Wt?-e.t:e.t,N1e((o.e=z,o)),m=v.Jc();m.Ob();)p=l(m.Pb(),116),!(!p.c||p.c.d.c.length<=0)&&(N=p.c.i,N.c-=p.e.a,N.d-=p.e.b)}function cEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(a=new je,U=new V(t.a);U.a<U.c.c.length;)if(M=l(q(U),9),O=M.e,O&&(o=cEt(e,O,M),li(a,o),okn(e,O,M),l(F(O,(Ie(),xa)),24).Gc((Fo(),rl))))for(ne=l(F(M,(Be(),Zr)),103),N=l(F(M,Xy),185).Gc((xu(),Rp)),J=new V(M.j);J.a<J.c.c.length;)for(z=l(q(J),12),u=l(Ht(e.b,z),9),u||(u=fD(z,ne,z.j,-(z.e.c.length-z.g.c.length),null,new ro,z.o,l(F(O,xc),87),O),Te(u,mr,z),Jn(e.b,z,u),Fe(O.a,u)),f=l(ze(u.j,0),12),v=new V(z.f);v.a<v.c.c.length;)y=l(q(v),70),p=new NQe,p.o.a=y.o.a,p.o.b=y.o.b,Fe(f.f,p),N||(se=z.j,T=0,k3(l(F(M,Xy),24))&&(T=pme(y.n,y.o,z.o,0,se)),ne==(qi(),pf)||(He(),Wa).Gc(se)?p.o.a=T:p.o.b=T);return m=new je,skn(e,t,r,a,m),r&&Sxn(e,t,r,m),m}function z0e(e,t,r){var o,a,u,f,p,m,y,v,T;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,v=new V(t.j);v.a<v.c.c.length;)for(y=l(q(v),12),T=r?new DA(y):new tS(y),m=T.Jc();m.Ob();)p=l(m.Pb(),12),f=p.i,f.c==t.c?f!=t&&(z0e(e,f,r),e.c[t.c.p][t.p].b+=e.c[f.c.p][f.p].b,e.c[t.c.p][t.p].d+=e.c[f.c.p][f.p].d):(e.c[t.c.p][t.p].d+=e.g[p.p],++e.c[t.c.p][t.p].b);if(u=l(F(t,(Ie(),pTe)),16),u)for(a=u.Jc();a.Ob();)o=l(a.Pb(),9),t.c==o.c&&(z0e(e,o,r),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].b>0&&(e.c[t.c.p][t.p].d+=Bu(e.i,24)*_D*.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 Vkn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(M=new V(e);M.a<M.c.c.length;){for(O=l(q(M),9),ng(O.n),ng(O.o),Tpe(O.f),wyt(O),aTn(O),z=new V(O.j);z.a<z.c.c.length;){for(U=l(q(z),12),ng(U.n),ng(U.a),ng(U.o),Ci(U,P1t(U.j)),u=l(F(U,(Be(),xg)),15),u&&Te(U,xg,Re(-u.a)),a=new V(U.g);a.a<a.c.c.length;){for(o=l(q(a),17),r=An(o.a,0);r.b!=r.d.c;)t=l(Sn(r),8),ng(t);if(m=l(F(o,ss),79),m)for(p=An(m,0);p.b!=p.d.c;)f=l(Sn(p),8),ng(f);for(T=new V(o.b);T.a<T.c.c.length;)y=l(q(T),70),ng(y.n),ng(y.o)}for(N=new V(U.f);N.a<N.c.c.length;)y=l(q(N),70),ng(y.n),ng(y.o)}for(O.k==(zt(),mi)&&(Te(O,(Ie(),Hs),P1t(l(F(O,Hs),64))),gSn(O)),v=new V(O.b);v.a<v.c.c.length;)y=l(q(v),70),wyt(y),ng(y.o),ng(y.n)}}function Wkn(e){qw();var t,r,o,a,u,f,p;for(o=e.f.n,f=uhe(e.r).a.nc();f.Ob();){if(u=l(f.Pb(),116),a=0,u.b.nf((_n(),zu))&&(a=ue(ce(u.b.mf(zu))),a<0))switch(u.b.$f().g){case 1:o.d=b.Math.max(o.d,-a);break;case 3:o.a=b.Math.max(o.a,-a);break;case 2:o.c=b.Math.max(o.c,-a);break;case 4:o.b=b.Math.max(o.b,-a)}if(k3(e.u))switch(t=whn(u.b,a),p=!l(e.e.mf(G1),185).Gc((Uu(),ZL)),r=!1,u.b.$f().g){case 1:r=t>o.d,o.d=b.Math.max(o.d,t),p&&r&&(o.d=b.Math.max(o.d,o.a),o.a=o.d+a);break;case 3:r=t>o.a,o.a=b.Math.max(o.a,t),p&&r&&(o.a=b.Math.max(o.a,o.d),o.d=o.a+a);break;case 2:r=t>o.c,o.c=b.Math.max(o.c,t),p&&r&&(o.c=b.Math.max(o.b,o.c),o.b=o.c+a);break;case 4:r=t>o.b,o.b=b.Math.max(o.b,t),p&&r&&(o.b=b.Math.max(o.b,o.c),o.c=o.b+a)}}}function lEt(e,t){var r,o,a,u,f,p,m,y,v;return y="",t.length==0?e.le(awe,QJ,-1,-1):(v=Ey(t),wt(v.substr(0,3),"at ")&&(v=(Yt(3,v.length+1),v.substr(3))),v=v.replace(/\[.*?\]/g,""),f=v.indexOf("("),f==-1?(f=v.indexOf("@"),f==-1?(y=v,v=""):(y=Ey((Yt(f+1,v.length+1),v.substr(f+1))),v=Ey((io(0,f,v.length),v.substr(0,f))))):(r=v.indexOf(")",f),y=(io(f+1,r,v.length),v.substr(f+1,r-(f+1))),v=Ey((io(0,f,v.length),v.substr(0,f)))),f=Nf(v,Qa(46)),f!=-1&&(v=(Yt(f+1,v.length+1),v.substr(f+1))),(v.length==0||wt(v,"Anonymous function"))&&(v=QJ),p=j8(y,Qa(58)),a=lfe(y,Qa(58),p-1),m=-1,o=-1,u=awe,p!=-1&&a!=-1&&(u=(io(0,a,y.length),y.substr(0,a)),m=zrt((io(a+1,p,y.length),y.substr(a+1,p-(a+1)))),o=zrt((Yt(p+1,y.length+1),y.substr(p+1)))),e.le(u,v,m,o))}function Kkn(e){var t,r,o,a,u,f,p,m,y,v,T;for(y=new V(e);y.a<y.c.c.length;){switch(m=l(q(y),9),f=l(F(m,(Be(),Cs)),166),u=null,f.g){case 1:case 2:u=(Vb(),JE);break;case 3:case 4:u=(Vb(),Jx)}if(u)Te(m,(Ie(),rB),(Vb(),JE)),u==Jx?j7(m,f,(jo(),Cu)):u==JE&&j7(m,f,(jo(),Ba));else if(tE(l(F(m,Zr),103))&&m.j.c.length!=0){for(t=!0,T=new V(m.j);T.a<T.c.c.length;){if(v=l(q(T),12),!(v.j==(He(),Qt)&&v.e.c.length-v.g.c.length>0||v.j==Kt&&v.e.c.length-v.g.c.length<0)){t=!1;break}for(a=new V(v.g);a.a<a.c.c.length;)if(r=l(q(a),17),p=l(F(r.d.i,Cs),166),p==(ic(),MI)||p==gm){t=!1;break}for(o=new V(v.e);o.a<o.c.c.length;)if(r=l(q(o),17),p=l(F(r.c.i,Cs),166),p==(ic(),LI)||p==xp){t=!1;break}}t&&j7(m,f,(jo(),YI))}}}function Ykn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;for(ye=0,O=0,T=new V(t.e);T.a<T.c.c.length;){for(v=l(q(T),9),N=0,p=0,m=r?l(F(v,OB),15).a:Qi,J=o?l(F(v,DB),15).a:Qi,y=b.Math.max(m,J),se=new V(v.j);se.a<se.c.c.length;){if(ne=l(q(se),12),de=v.n.b+ne.n.b+ne.a.b,o)for(f=new V(ne.g);f.a<f.c.c.length;)u=l(q(f),17),U=u.d,M=U.i,t!=e.a[M.p]&&(z=b.Math.max(l(F(M,OB),15).a,l(F(M,DB),15).a),Ee=l(F(u,(Be(),FT)),15).a,Ee>=y&&Ee>=z&&(N+=M.n.b+U.n.b+U.a.b-de,++p));if(r)for(f=new V(ne.e);f.a<f.c.c.length;)u=l(q(f),17),U=u.c,M=U.i,t!=e.a[M.p]&&(z=b.Math.max(l(F(M,OB),15).a,l(F(M,DB),15).a),Ee=l(F(u,(Be(),FT)),15).a,Ee>=y&&Ee>=z&&(N+=M.n.b+U.n.b+U.a.b-de,++p))}p>0&&(ye+=N/p,++O)}O>0?(t.a=a*ye/O,t.g=O):(t.a=0,t.g=0)}function G0e(e,t,r,o){var a,u,f,p,m;return p=new V0e(t),U2n(p,o),a=!0,e&&e.nf((_n(),Tm))&&(u=l(e.mf((_n(),Tm)),87),a=u==(vi(),hf)||u==as||u==fs),iyt(p,!1),La(p.e.Pf(),new gfe(p,!1,a)),AW(p,p.f,(Sd(),Bs),(He(),Wt)),AW(p,p.f,Us,dn),AW(p,p.g,Bs,Kt),AW(p,p.g,Us,Qt),v1t(p,Wt),v1t(p,dn),sat(p,Qt),sat(p,Kt),qw(),f=p.A.Gc((sc(),hv))&&p.B.Gc((Uu(),QL))?Ogt(p):null,f&&$Qt(p.a,f),Wkn(p),omn(p),smn(p),Tkn(p),DAn(p),Omn(p),pY(p,Wt),pY(p,dn),ETn(p),dxn(p),r&&(qgn(p),Dmn(p),pY(p,Qt),pY(p,Kt),m=p.B.Gc((Uu(),C4)),zmt(p,m,Wt),zmt(p,m,dn),Gmt(p,m,Qt),Gmt(p,m,Kt),ei(new Et(null,new St(new Zh(p.i),0)),new qR),ei(lr(new Et(null,uhe(p.r).a.oc()),new VR),new RN),q0n(p),p.e.Nf(p.o),ei(new Et(null,uhe(p.r).a.oc()),new ON)),p.o}function Jkn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(y=Kr,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),84),y=b.Math.min(y,t.d.f.g.c+t.e.a);for(O=new Ar,f=new V(e.a.a);f.a<f.c.c.length;)u=l(q(f),197),u.i=y,u.e==0&&Wr(O,u,O.c.b,O.c);for(;O.b!=0;){for(u=l(O.b==0?null:(un(O.b!=0),Vc(O,O.a.a)),197),a=u.f.g.c,N=u.a.a.ec().Jc();N.Ob();)v=l(N.Pb(),84),U=u.i+v.e.a,v.d.g||v.g.c<U?v.o=U:v.o=v.g.c;for(a-=u.f.o,u.b+=a,e.c==(vi(),fs)||e.c==ff?u.c+=a:u.c-=a,T=u.a.a.ec().Jc();T.Ob();)for(v=l(T.Pb(),84),m=v.f.Jc();m.Ob();)p=l(m.Pb(),84),ep(e.c)?M=e.f.wf(v,p):M=e.f.xf(v,p),p.d.i=b.Math.max(p.d.i,v.o+v.g.b+M-p.e.a),p.k||(p.d.i=b.Math.max(p.d.i,p.g.c-p.e.a)),--p.d.e,p.d.e==0&&Gn(O,p.d)}for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.g.c=t.o}function dEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;for(r.Tg(HSt,1),N=(Nr(),ene),e.a==(tC(),$B)&&(N=z_e),v=0,At(),t.gd(new WG(N)),u=t.gc(),p=t.dd(t.gc()),y=!0;y&&p.Sb();)ne=l(p.Ub(),41),l(F(ne,N),15).a==0?--u:y=!1;if(ye=t.hd(0,u),f=new CV(ye),ye=t.hd(u,t.gc()),m=new CV(ye),f.b==0)for(U=An(m,0);U.b!=U.d.c;)M=l(Sn(U),41),Te(M,o4,Re(v++));else for(T=f.b,Ee=An(f,0);Ee.b!=Ee.d.c;){for(de=l(Sn(Ee),41),Te(de,o4,Re(v++)),o=OK(de),dEt(e,o,r.dh(1/T|0)),zb(o,vhe(new WG(o4))),O=new Ar,se=An(o,0);se.b!=se.d.c;)for(ne=l(Sn(se),41),J=An(de.d,0);J.b!=J.d.c;)z=l(Sn(J),65),z.c==ne&&Wr(O,z,O.c.b,O.c);for(tc(de.d),mo(de.d,O),p=An(m,m.b),a=de.d.b,y=!0;0<a&&y&&p.Sb();)ne=l(p.Ub(),41),l(F(ne,N),15).a==0?(Te(ne,o4,Re(v++)),--a,p.Qb()):y=!1}r.Ug()}function fEt(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(v=new Xd(r),qs(v,t),Te(v,(Ie(),mr),t),v.o.a=t.g,v.o.b=t.f,v.n.a=t.i,v.n.b=t.j,Fe(r.a,v),Jn(e.a,t,v),((!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0||Ye(Ke(ve(t,(Be(),Ky)))))&&Te(v,gTe,(Lt(),!0)),y=l(F(r,xa),24),T=l(F(v,(Be(),Zr)),103),T==(qi(),W1)?Te(v,Zr,pf):T!=pf&&y.Ec((Fo(),Qx)),N=0,o=l(F(r,xc),87),m=new tn((!t.c&&(t.c=new ke(Gu,t,9,9)),t.c));m.e!=m.i.gc();)p=l(rn(m),127),a=Br(t),V7(a)&&!Ye(Ke(ve(t,lB)))&&Vn(p,Cr,Re(N++)),Ye(Ke(ve(p,wm)))||nNn(e,p,v,y,o,T);for(f=new tn((!t.n&&(t.n=new ke(Rs,t,1,7)),t.n));f.e!=f.i.gc();)u=l(rn(f),158),!Ye(Ke(ve(u,wm)))&&u.a&&Fe(v.b,KK(u));return Ye(Ke(F(v,PI)))&&y.Ec((Fo(),Z$)),Ye(Ke(F(v,pB)))&&(y.Ec((Fo(),Q$)),y.Ec(CI),Te(v,Zr,pf)),v}function Xkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(t.Tg("Inverted port preprocessing",1),v=e.b,y=new Xi(v,0),r=null,se=new je;y.b<y.d.gc();){for(ne=r,r=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),26)),O=new V(se);O.a<O.c.c.length;)T=l(q(O),9),Oi(T,ne);for(se.c.length=0,M=new V(r.a);M.a<M.c.c.length;)if(T=l(q(M),9),T.k==(zt(),Xr)&&tE(l(F(T,(Be(),Zr)),103))){for(J=r0e(T,(jo(),Cu),(He(),Qt)).Jc();J.Ob();)for(U=l(J.Pb(),12),m=U.e,p=l(Yd(m,we(zx,Tx,17,m.c.length,0,1)),324),a=p,u=0,f=a.length;u<f;++u)o=a[u],v_n(e,U,o,se);for(z=r0e(T,Ba,Kt).Jc();z.Ob();)for(U=l(z.Pb(),12),m=U.g,p=l(Yd(m,we(zx,Tx,17,m.c.length,0,1)),324),a=p,u=0,f=a.length;u<f;++u)o=a[u],y_n(e,U,o,se)}}for(N=new V(se);N.a<N.c.c.length;)T=l(q(N),9),Oi(T,r);t.Ug()}function Zkn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O;for(T=ue(ce(ve(e,(T1(),yne)))),Ye(Ke(ve(e,Axe)))&&(v=l(ve(e,(aE(),l2)),19),u=l(oe(a_(l(oe((!v.e&&(v.e=new Tt(Ir,v,7,4)),v.e),(!v.e&&(v.e=new Tt(Ir,v,7,4)),v.e).i-1),74)),0),19),o=l(oe(a_(l(oe((!v.e&&(v.e=new Tt(Ir,v,7,4)),v.e),0),74)),0),19),f=new Me(u.i+u.g/2,u.j+u.f/2),a=new Me(o.i+o.g/2,o.j+o.f/2),r=T,r<=0&&(r+=sm),N=b.Math.acos((f.a*a.a+f.b*a.b)/(b.Math.sqrt(f.a*f.a+f.b*f.b)*b.Math.sqrt(a.a*a.a+a.b*a.b))),N<=0&&(N+=sm),t=b.Math.atan2(f.b,f.a),t<=0&&(t+=sm),T=ive-(t-r+N/2)),m=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));m.e!=m.i.gc();)p=l(rn(m),19),y=new Me(p.i+p.g/2,p.j+p.f/2),O=y.a*b.Math.cos(T)-y.b*b.Math.sin(T),y.b=y.a*b.Math.sin(T)+y.b*b.Math.cos(T),y.a=O,Bc(p,y.a-p.g/2,y.b-p.f/2)}function Qkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;if(U=e.n,z=e.o,N=e.d,T=ue(ce(by(e,(Be(),Ate)))),t){for(v=T*(t.gc()-1),O=0,m=t.Jc();m.Ob();)f=l(m.Pb(),9),v+=f.o.a,O=b.Math.max(O,f.o.b);for(J=U.a-(v-z.a)/2,u=U.b-N.d+O,o=z.a/(t.gc()+1),a=o,p=t.Jc();p.Ob();)f=l(p.Pb(),9),f.n.a=J,f.n.b=u-f.o.b,J+=f.o.a+T,y=pwt(f),y.n.a=f.o.a/2-y.a.a,y.n.b=f.o.b,M=l(F(f,(Ie(),tB)),12),M.e.c.length+M.g.c.length==1&&(M.n.a=a-M.a.a,M.n.b=0,As(M,e)),a+=o}if(r){for(v=T*(r.gc()-1),O=0,m=r.Jc();m.Ob();)f=l(m.Pb(),9),v+=f.o.a,O=b.Math.max(O,f.o.b);for(J=U.a-(v-z.a)/2,u=U.b+z.b+N.a-O,o=z.a/(r.gc()+1),a=o,p=r.Jc();p.Ob();)f=l(p.Pb(),9),f.n.a=J,f.n.b=u,J+=f.o.a+T,y=pwt(f),y.n.a=f.o.a/2-y.a.a,y.n.b=0,M=l(F(f,(Ie(),tB)),12),M.e.c.length+M.g.c.length==1&&(M.n.a=a-M.a.a,M.n.b=z.b,As(M,e)),a+=o}}function HJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,O,M,U,z,J,ne,se;for(N=null,o==(g0(),H1)?N=t:o==u2&&(N=r),U=N.a.ec().Jc();U.Ob();){for(M=l(U.Pb(),12),z=xs(Z(X($i,1),Pe,8,0,[M.i.n,M.n,M.a])).b,se=new hi,p=new hi,y=new Vd(M.b);Ts(y.a)||Ts(y.b);)if(m=l(Ts(y.a)?q(y.a):q(y.b),17),Ye(Ke(F(m,(Ie(),Ag))))==a&&_s(u,m,0)!=-1){if(m.d==M?J=m.c:J=m.d,ne=xs(Z(X($i,1),Pe,8,0,[J.i.n,J.n,J.a])).b,b.Math.abs(ne-z)<.2)continue;ne<z?t.a._b(J)?pi(se,new ko(H1,m)):pi(se,new ko(u2,m)):t.a._b(J)?pi(p,new ko(H1,m)):pi(p,new ko(u2,m))}if(se.a.gc()>1)for(O=new M0e(M,se,o),lo(se,new Itt(e,O)),Ot(f.c,O),T=se.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(u,v.b);if(p.a.gc()>1)for(O=new M0e(M,p,o),lo(p,new Rtt(e,O)),Ot(f.c,O),T=p.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(u,v.b)}}function eNn(e,t){var r,o,a,u,f,p;if(l(F(t,(Ie(),xa)),24).Gc((Fo(),rl))){for(p=new V(t.a);p.a<p.c.c.length;)u=l(q(p),9),u.k==(zt(),Xr)&&(a=l(F(u,(Be(),mB)),125),e.c=b.Math.min(e.c,u.n.a-a.b),e.a=b.Math.max(e.a,u.n.a+u.o.a+a.c),e.d=b.Math.min(e.d,u.n.b-a.d),e.b=b.Math.max(e.b,u.n.b+u.o.b+a.a));for(f=new V(t.a);f.a<f.c.c.length;)if(u=l(q(f),9),u.k!=(zt(),Xr))switch(u.k.g){case 2:if(o=l(F(u,(Be(),Cs)),166),o==(ic(),xp)){u.n.a=e.c-10,ebt(u,new GFe).Jb(new RYe(u));break}if(o==gm){u.n.a=e.a+10,ebt(u,new qFe).Jb(new OYe(u));break}if(r=l(F(u,hm),316),r==(lp(),ZE)){Dvt(u).Jb(new DYe(u)),u.n.b=e.d-10;break}if(r==kT){Dvt(u).Jb(new LYe(u)),u.n.b=e.b+10;break}break;default:throw Y(new jt("The node type "+u.k+" is not supported by the "+J3n))}}}function tNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z;for(m=new Me(o.i+o.g/2,o.j+o.f/2),O=Ivt(o),M=l(ve(t,(Be(),Zr)),103),z=l(ve(o,rk),64),vnt(g1t(o),Jy)||(o.i==0&&o.j==0?U=0:U=_wn(o,z),Vn(o,Jy,U)),y=new Me(t.g,t.f),a=fD(o,M,z,O,y,m,new Me(o.g,o.f),l(F(r,xc),87),r),Te(a,(Ie(),mr),o),u=l(ze(a.j,0),12),pZt(u,mAn(o)),Te(a,Xy,(xu(),ct(K1))),T=l(ve(t,Xy),185).Gc(Rp),p=new tn((!o.n&&(o.n=new ke(Rs,o,1,7)),o.n));p.e!=p.i.gc();)if(f=l(rn(p),158),!Ye(Ke(ve(f,wm)))&&f.a&&(N=KK(f),Fe(u.f,N),!T))switch(v=0,k3(l(ve(t,Xy),24))&&(v=pme(new Me(f.i,f.j),new Me(f.g,f.f),new Me(o.g,o.f),0,z)),z.g){case 2:case 4:N.o.a=v;break;case 1:case 3:N.o.b=v}Te(a,ok,ce(ve(Br(t),ok))),Te(a,sk,ce(ve(Br(t),sk))),Te(a,ev,ce(ve(Br(t),ev))),Fe(r.a,a),Jn(e.a,o,a)}function nNn(e,t,r,o,a,u){var f,p,m,y,v,T;for(y=new aa,qs(y,t),Ci(y,l(ve(t,(Be(),rk)),64)),Te(y,(Ie(),mr),t),As(y,r),T=y.o,T.a=t.g,T.b=t.f,v=y.n,v.a=t.i,v.b=t.j,Jn(e.a,t,y),f=fE(Oa(bs(new Et(null,(!t.e&&(t.e=new Tt(Ir,t,7,4)),new St(t.e,16))),new TG),new SG),new SYe(t)),f||(f=fE(Oa(bs(new Et(null,(!t.d&&(t.d=new Tt(Ir,t,8,5)),new St(t.d,16))),new AG),new d9),new TYe(t))),f||(f=fE(new Et(null,(!t.e&&(t.e=new Tt(Ir,t,7,4)),new St(t.e,16))),new KR)),Te(y,hL,(Lt(),!!f)),_xn(y,u,a,l(ve(t,sw),8)),m=new tn((!t.n&&(t.n=new ke(Rs,t,1,7)),t.n));m.e!=m.i.gc();)p=l(rn(m),158),!Ye(Ke(ve(p,wm)))&&p.a&&Fe(y.f,KK(p));switch(a.g){case 2:case 1:(y.j==(He(),Wt)||y.j==dn)&&o.Ec((Fo(),XE));break;case 4:case 3:(y.j==(He(),Qt)||y.j==Kt)&&o.Ec((Fo(),XE))}return y}function rNn(e,t,r,o,a,u){var f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn;Dt=Ht(e.g,a),Dt==null&&(Dt=new aS,M=l(Dt,150),se=t+"_s",de=se+u,O=new Qw(de),Kl(M,qf,O)),It=l(Dt,150),RS(r,It),qn=new aS,Mb(qn,"x",w7(e,o,a.j)),Mb(qn,"y",y7(e,o,a.k)),Kl(It,ZTt,qn),lt=new aS,Mb(lt,"x",w7(e,o,a.b)),Mb(lt,"y",y7(e,o,a.c)),Kl(It,"endPoint",lt),N=aO((!a.a&&(a.a=new yi(Ic,a,5)),a.a)),U=!N,U&&(qe=new Eb,f=new not(e,o,qe),lo((!a.a&&(a.a=new yi(Ic,a,5)),a.a),f),Kl(It,HF,qe)),y=SY(a),Ee=!!y,Ee&&$be(e.a,It,gEe,nJ(e,SY(a))),ne=TY(a),ye=!!ne,ye&&$be(e.a,It,pEe,nJ(e,TY(a))),v=(!a.e&&(a.e=new Tt(jr,a,10,9)),a.e).i==0,z=!v,z&&(ft=new Eb,p=new ant(e,ft),lo((!a.e&&(a.e=new Tt(jr,a,10,9)),a.e),p),Kl(It,mEe,ft)),T=(!a.g&&(a.g=new Tt(jr,a,9,10)),a.g).i==0,J=!T,J&&(on=new Eb,m=new unt(e,on),lo((!a.g&&(a.g=new Tt(jr,a,9,10)),a.g),m),Kl(It,bEe,on))}function iNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(t.Tg("Comment pre-processing",1),r=0,m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),Ye(Ke(F(p,(Be(),PI))))){for(++r,a=0,o=null,y=null,M=new V(p.j);M.a<M.c.c.length;)N=l(q(M),12),a+=N.e.c.length+N.g.c.length,N.e.c.length==1&&(o=l(ze(N.e,0),17),y=o.c),N.g.c.length==1&&(o=l(ze(N.g,0),17),y=o.d);if(a==1&&y.e.c.length+y.g.c.length==1&&!Ye(Ke(F(y.i,PI))))PNn(p,o,y,y.i),C3(m);else{for(J=new je,O=new V(p.j);O.a<O.c.c.length;){for(N=l(q(O),12),T=new V(N.g);T.a<T.c.c.length;)v=l(q(T),17),v.d.g.c.length==0||Ot(J.c,v);for(f=new V(N.e);f.a<f.c.c.length;)u=l(q(f),17),u.c.e.c.length==0||Ot(J.c,u)}for(z=new V(J);z.a<z.c.c.length;)U=l(q(z),17),mg(U,!0)}}t.$g()&&t.ah("Found "+r+" comment boxes"),t.Ug()}function oNn(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(se=0,M=0,O=0,N=1,ne=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));ne.e!=ne.i.gc();)z=l(rn(ne),19),N+=yd(new $t(qt(mp(z).a.Jc(),new D))),lt=z.g,M=b.Math.max(M,lt),T=z.f,O=b.Math.max(O,T),se+=lt*T;for(U=(!e.a&&(e.a=new ke(En,e,10,11)),e.a).i,f=se+2*o*o*N*U,u=b.Math.sqrt(f),m=b.Math.max(u*r,M),p=b.Math.max(u/r,O),J=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));J.e!=J.i.gc();)z=l(rn(J),19),ft=a.b+(Bu(t,26)*UC+Bu(t,27)*HC)*(m-z.g),It=a.b+(Bu(t,26)*UC+Bu(t,27)*HC)*(p-z.f),va(z,ft),gu(z,It);for(qe=m+(a.b+a.c),ye=p+(a.d+a.a),Ee=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));Ee.e!=Ee.i.gc();)for(de=l(rn(Ee),19),v=new $t(qt(mp(de).a.Jc(),new D));an(v);)y=l(en(v),74),AC(y)||d3n(y,t,qe,ye);qe+=a.b+a.c,ye+=a.d+a.a,M0(e,qe,ye,!1,!0)}function sNn(e){var t,r,o,a;for(ei(lr(new Et(null,new St(e.a.b,16)),new yBe),new vBe),T0n(e),ei(lr(new Et(null,new St(e.a.b,16)),new EBe),new SBe),e.c==(gp(),WT)&&(ei(lr(bs(new Et(null,new St(new Xh(e.f),1)),new TBe),new ABe),new eJe(e)),ei(lr(Oa(bs(bs(new Et(null,new St(e.d.b,16)),new _Be),new xBe),new kBe),new NBe),new nJe(e))),ei(lr(bs(new Et(null,new St(new Xh(e.f),1)),new CBe),new IBe),new rJe(e)),a=new Me(Kr,Kr),t=new Me(Li,Li),o=new V(e.a.b);o.a<o.c.c.length;)r=l(q(o),60),a.a=b.Math.min(a.a,r.d.c),a.b=b.Math.min(a.b,r.d.d),t.a=b.Math.max(t.a,r.d.c+r.d.b),t.b=b.Math.max(t.b,r.d.d+r.d.a);br(wd(e.d.c),H8(new Me(a.a,a.b))),br(wd(e.d.f),Di(new Me(t.a,t.b),a)),O2n(e,a,t),Zs(e.f),Zs(e.b),Zs(e.g),Zs(e.e),e.a.a.c.length=0,e.a.b.c.length=0,e.a=null,e.d=null}function q0e(e,t){_ot();var r,o,a,u,f,p,m;if(this.a=new gde(this),this.b=e,this.c=t,this.f=nW(rs((mu(),ao),t)),this.f.dc())if((p=mbe(ao,e))==t)for(this.e=!0,this.d=new je,this.f=new tqe,this.f.Ec(lm),l(Y7(h6(ao,mc(e)),""),29)==e&&this.f.Ec(_3(ao,mc(e))),a=EJ(ao,e).Jc();a.Ob();)switch(o=l(a.Pb(),182),f0(rs(ao,o))){case 4:{this.d.Ec(o);break}case 5:{this.f.Fc(nW(rs(ao,o)));break}}else if(Lo(),l(t,69).vk())for(this.e=!0,this.f=null,this.d=new je,f=0,m=(e.i==null&&Ff(e),e.i).length;f<m;++f)for(o=(r=(e.i==null&&Ff(e),e.i),f>=0&&f<r.length?r[f]:null),u=MS(rs(ao,o));u;u=MS(rs(ao,u)))u==t&&this.d.Ec(o);else f0(rs(ao,t))==1&&p?(this.f=null,this.d=(rT(),mLt)):(this.f=null,this.e=!0,this.d=(At(),new GG(t)));else this.e=f0(rs(ao,t))==5,this.f.Fb(Bre)&&(this.f=Bre)}function hEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;for(r=0,o=Kbn(e,t),N=e.s,O=e.t,y=l(l(wr(e.r,t),24),85).Jc();y.Ob();)if(m=l(y.Pb(),116),!(!m.c||m.c.d.c.length<=0)){switch(M=m.b.Kf(),p=m.b.nf((_n(),zu))?ue(ce(m.b.mf(zu))):0,v=m.c,T=v.i,T.b=(f=v.n,v.e.a+f.b+f.c),T.a=(u=v.n,v.e.b+u.d+u.a),t.g){case 1:T.c=m.a?(M.a-T.b)/2:M.a+N,T.d=M.b+p+o,Ed(v,(_u(),L1)),Cf(v,(Za(),Nd));break;case 3:T.c=m.a?(M.a-T.b)/2:M.a+N,T.d=-p-o-T.a,Ed(v,(_u(),L1)),Cf(v,(Za(),rd));break;case 2:T.c=-p-o-T.b,m.a?(a=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(M.b-a)/2):T.d=M.b+O,Ed(v,(_u(),nd)),Cf(v,(Za(),M1));break;case 4:T.c=M.a+p+o,m.a?(a=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(M.b-a)/2):T.d=M.b+O,Ed(v,(_u(),Wf)),Cf(v,(Za(),M1))}(t==(He(),Wt)||t==dn)&&(r=b.Math.max(r,T.a))}r>0&&(l(Wo(e.b,t),129).a.b=r)}function aNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(O=0,o=new hi,u=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));u.e!=u.i.gc();)a=l(rn(u),19),Ye(Ke(ve(a,(Be(),wm))))||(T=Br(a),V7(T)&&!Ye(Ke(ve(a,lB)))&&(Vn(a,(Ie(),Cr),Re(O)),++O,Gc(a,Vy)&&pi(o,l(ve(a,Vy),15))),fEt(e,a,r));for(Te(r,(Ie(),F1),Re(O)),Te(r,fL,Re(o.a.gc())),O=0,v=new tn((!t.b&&(t.b=new ke(Ir,t,12,3)),t.b));v.e!=v.i.gc();)m=l(rn(v),74),V7(t)&&(Vn(m,Cr,Re(O)),++O),z=JY(m),J=Qbt(m),N=Ye(Ke(ve(z,(Be(),Ky)))),U=!Ye(Ke(ve(m,wm))),M=N&&R0(m)&&Ye(Ke(ve(m,bm))),f=Br(z)==t&&Br(z)==Br(J),p=(Br(z)==t&&J==t)^(Br(J)==t&&z==t),U&&!M&&(p||f)&&X0e(e,m,t,r);if(Br(t))for(y=new tn(gat(Br(t)));y.e!=y.i.gc();)m=l(rn(y),74),z=JY(m),z==t&&R0(m)&&(M=Ye(Ke(ve(z,(Be(),Ky))))&&Ye(Ke(ve(m,bm))),M&&X0e(e,m,t,r))}function uNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt;for(ye=new je,M=new V(e.b);M.a<M.c.c.length;)for(O=l(q(M),26),J=new V(O.a);J.a<J.c.c.length;)if(U=l(q(J),9),U.k==(zt(),mi)&&gr(U,(Ie(),iB))){for(ne=null,de=null,se=null,ft=new V(U.j);ft.a<ft.c.c.length;)switch(lt=l(q(ft),12),lt.j.g){case 4:ne=lt;break;case 2:de=lt;break;default:se=lt}for(Ee=l(ze(se.g,0),17),v=new B9(Ee.a),y=new So(se.n),br(y,U.n),T=An(v,0),yP(T,y),qe=Hge(Ee.a),N=new So(se.n),br(N,U.n),Wr(qe,N,qe.c.b,qe.c),It=l(F(U,iB),9),Dt=l(ze(It.j,0),12),m=l(Yd(ne.e,we(zx,Tx,17,0,0,1)),324),o=m,u=0,p=o.length;u<p;++u)t=o[u],Ji(t,Dt),qK(t.a,t.a.b,v);for(m=Df(de.g),r=m,a=0,f=r.length;a<f;++a)t=r[a],bo(t,Dt),qK(t.a,0,qe);bo(Ee,null),Ji(Ee,null),Ot(ye.c,U)}for(z=new V(ye);z.a<z.c.c.length;)U=l(q(z),9),Oi(U,null)}function cNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U;if(N=ue(ce(F(e,(Be(),ok)))),O=ue(ce(F(e,sk))),T=ue(ce(F(e,ev))),p=e.o,u=l(ze(e.j,0),12),f=u.n,U=Iyn(u,T),!!U){if(t.Gc((xu(),Rp)))switch(l(F(e,(Ie(),Hs)),64).g){case 1:U.c=(p.a-U.b)/2-f.a,U.d=O;break;case 3:U.c=(p.a-U.b)/2-f.a,U.d=-O-U.a;break;case 2:r&&u.e.c.length==0&&u.g.c.length==0?(v=o?U.a:l(ze(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=p.b+O-f.b,U.c=-N-U.b;break;case 4:r&&u.e.c.length==0&&u.g.c.length==0?(v=o?U.a:l(ze(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=p.b+O-f.b,U.c=N}else if(t.Gc(K1))switch(l(F(e,(Ie(),Hs)),64).g){case 1:case 3:U.c=f.a+N;break;case 2:case 4:r&&!u.c?(v=o?U.a:l(ze(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=f.b+O}for(a=U.d,y=new V(u.f);y.a<y.c.c.length;)m=l(q(y),70),M=m.n,M.a=U.c,M.b=a,a+=m.o.b+T}}function V0e(e){var t;if(this.r=gan(new GR,new kA),this.b=new cC(l(kn(Io),299)),this.p=new cC(l(kn(Io),299)),this.i=new cC(l(kn(Xxt),299)),this.e=e,this.o=new So(e.Kf()),this.D=Ye(Ke(e.mf((_n(),wk)))),this.F=e.Wf()||Ye(Ke(e.mf(UL))),this.A=l(e.mf(Am),24),this.B=l(e.mf(G1),24),this.q=l(e.mf(bk),103),this.u=l(e.mf(cv),24),!Lwn(this.u))throw Y(new _f("Invalid port label placement: "+this.u));if(this.v=Ye(Ke(e.mf(SNe))),this.j=l(e.mf(g2),24),!ZEn(this.j))throw Y(new _f("Invalid node label placement: "+this.j));this.n=l(gC(e,cNe),100),this.k=ue(ce(gC(e,oU))),this.d=ue(ce(gC(e,xNe))),this.w=ue(ce(gC(e,RNe))),this.s=ue(ce(gC(e,kNe))),this.t=ue(ce(gC(e,NNe))),this.C=l(gC(e,CNe),125),this.c=2*this.d,t=!this.B.Gc((Uu(),ZL)),this.f=new fC(0,t,0),this.g=new fC(1,t,0),aq(this.f,(Sd(),$a),this.g)}function lNn(){er(d5,new _Ve),er(xU,new PVe),er(f5,new WVe),er(q3e,new iWe),er(Je,new uWe),er(X(Eu,1),new cWe),er(Yr,new lWe),er(ET,new dWe),er(Je,new pVe),er(Je,new gVe),er(Je,new bVe),er(fi,new mVe),er(Je,new wVe),er(_c,new yVe),er(_c,new vVe),er(Je,new EVe),er(Ux,new SVe),er(Je,new AVe),er(Je,new xVe),er(Je,new kVe),er(Je,new NVe),er(Je,new CVe),er(X(Eu,1),new IVe),er(Je,new RVe),er(Je,new OVe),er(_c,new DVe),er(_c,new LVe),er(Je,new MVe),er(Ti,new jVe),er(Je,new FVe),er(Y0,new $Ve),er(Je,new BVe),er(Je,new UVe),er(Je,new HVe),er(Je,new zVe),er(_c,new GVe),er(_c,new qVe),er(Je,new VVe),er(Je,new KVe),er(Je,new YVe),er(Je,new JVe),er(Je,new XVe),er(Je,new ZVe),er(J0,new QVe),er(Je,new eWe),er(Je,new tWe),er(Je,new nWe),er(J0,new rWe),er(Y0,new oWe),er(Je,new sWe),er(Ti,new aWe)}function pEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;switch(v=new Lu,e.a.g){case 3:N=l(F(t.e,(Ie(),pm)),16),O=l(F(t.j,pm),16),M=l(F(t.f,pm),16),r=l(F(t.e,n2),16),o=l(F(t.j,n2),16),a=l(F(t.f,n2),16),f=new je,li(f,N),O.Ic(new bUe),li(f,oc(O)),li(f,M),u=new je,li(u,r),li(u,oc(o)),li(u,a),Te(t.f,pm,f),Te(t.f,n2,u),Te(t.f,_Te,t.f),Te(t.e,pm,null),Te(t.e,n2,null),Te(t.j,pm,null),Te(t.j,n2,null);break;case 1:mo(v,t.e.a),Gn(v,t.i.n),mo(v,oc(t.j.a)),Gn(v,t.a.n),mo(v,t.f.a);break;default:mo(v,t.e.a),mo(v,oc(t.j.a)),mo(v,t.f.a)}tc(t.f.a),mo(t.f.a,v),bo(t.f,t.e.c),p=l(F(t.e,(Be(),ss)),79),y=l(F(t.j,ss),79),m=l(F(t.f,ss),79),(p||y||m)&&(T=new Lu,nhe(T,m),nhe(T,y),nhe(T,p),Te(t.f,ss,T)),bo(t.j,null),Ji(t.j,null),bo(t.e,null),Ji(t.e,null),Oi(t.a,null),Oi(t.i,null),t.g&&pEt(e,t.g)}function gEt(){gEt=K;var e,t,r;for(new j6(1,0),new j6(10,0),new j6(0,0),Q_t=we(GQ,Pe,249,11,0,1),fm=we(al,Bf,30,100,15,1),a2e=Z(X(Ki,1),Jo,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]),u2e=we(Rn,Qn,30,a2e.length,15,1),c2e=Z(X(Ki,1),Jo,30,15,[1,10,100,yg,1e4,vX,1e6,1e7,1e8,rF,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),l2e=we(Rn,Qn,30,c2e.length,15,1),d2e=we(GQ,Pe,249,11,0,1),e=0;e<d2e.length;e++)Q_t[e]=new j6(e,0),d2e[e]=new j6(0,e),fm[e]=48;for(;e<fm.length;e++)fm[e]=48;for(r=0;r<u2e.length;r++)u2e[r]=dme(a2e[r]);for(t=0;t<l2e.length;t++)l2e[t]=dme(c2e[t]);Q_()}function dNn(){function e(){this.obj=this.createObject()}return e.prototype.createObject=function(t){return Object.create(null)},e.prototype.get=function(t){return this.obj[t]},e.prototype.set=function(t,r){this.obj[t]=r},e.prototype[TX]=function(t){delete this.obj[t]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var t=this.keys(),r=this,o=0;return{next:function(){if(o>=t.length)return{done:!0};var a=t[o++];return{value:[a,r.get(a)],done:!1}}}},tTn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,r){this.obj[":"+t]=r},e.prototype[TX]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var r in this.obj)r.charCodeAt(0)==58&&t.push(r.substring(1));return t}),e}function Nr(){Nr=K,i4=new cr(xwe),new Pr("DEPTH",Re(0)),ene=new Pr("FAN",Re(0)),z_e=new Pr(BSt,Re(0)),z1=new Pr("ROOT",(Lt(),!1)),rne=new Pr("LEFTNEIGHBOR",null),eRt=new Pr("RIGHTNEIGHBOR",null),PB=new Pr("LEFTSIBLING",null),ine=new Pr("RIGHTSIBLING",null),Qte=new Pr("DUMMY",!1),new Pr("LEVEL",Re(0)),V_e=new Pr("REMOVABLE_EDGES",new Ar),CL=new Pr("XCOOR",Re(0)),IL=new Pr("YCOOR",Re(0)),jB=new Pr("LEVELHEIGHT",0),Id=new Pr("LEVELMIN",0),sd=new Pr("LEVELMAX",0),tne=new Pr("GRAPH_XMIN",0),nne=new Pr("GRAPH_YMIN",0),G_e=new Pr("GRAPH_XMAX",0),q_e=new Pr("GRAPH_YMAX",0),H_e=new Pr("COMPACT_LEVEL_ASCENSION",!1),Zte=new Pr("COMPACT_CONSTRAINTS",new je),r4=new Pr("ID",""),o4=new Pr("POSITION",Re(0)),Ng=new Pr("PRELIM",0),lk=new Pr("MODIFIER",0),ck=new cr(W2t),NL=new cr(K2t)}function fNn(e){A0e();var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(e==null)return null;if(T=e.length*8,T==0)return"";for(p=T%24,O=T/24|0,N=p!=0?O+1:O,u=null,u=we(al,Bf,30,N*4,15,1),y=0,v=0,t=0,r=0,o=0,f=0,a=0,m=0;m<O;m++)t=e[a++],r=e[a++],o=e[a++],v=(r&15)<<24>>24,y=(t&3)<<24>>24,M=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,U=r&-128?(r>>4^240)<<24>>24:r>>4<<24>>24,z=o&-128?(o>>6^252)<<24>>24:o>>6<<24>>24,u[f++]=Pg[M],u[f++]=Pg[U|y<<4],u[f++]=Pg[v<<2|z],u[f++]=Pg[o&63];return p==8?(t=e[a],y=(t&3)<<24>>24,M=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,u[f++]=Pg[M],u[f++]=Pg[y<<4],u[f++]=61,u[f++]=61):p==16&&(t=e[a],r=e[a+1],v=(r&15)<<24>>24,y=(t&3)<<24>>24,M=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,U=r&-128?(r>>4^240)<<24>>24:r>>4<<24>>24,u[f++]=Pg[M],u[f++]=Pg[U|y<<4],u[f++]=Pg[v<<2],u[f++]=61),Mf(u,0,u.length)}function hNn(e,t){var r,o,a,u,f,p,m;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Qi&&ope(t,e.p-k1),f=t.q.getDate(),XO(t,1),e.k>=0&&Cun(t,e.k),e.c>=0?XO(t,e.c):e.k>=0?(m=new Dge(t.q.getFullYear()-k1,t.q.getMonth(),35),o=35-m.q.getDate(),XO(t,b.Math.min(o,f))):XO(t,f),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Ctn(t,e.f==24&&e.g?0:e.f),e.j>=0&&cdn(t,e.j),e.n>=0&&Tdn(t,e.n),e.i>=0&&Snt(t,Ao(wo(W6(Gs(t.q.getTime()),yg),yg),e.i)),e.a&&(a=new q9,ope(a,a.q.getFullYear()-k1-80),Aq(Gs(t.q.getTime()),Gs(a.q.getTime()))&&ope(t,a.q.getFullYear()-k1+100)),e.d>=0){if(e.c==-1)r=(7+e.d-t.q.getDay())%7,r>3&&(r-=7),p=t.q.getMonth(),XO(t,t.q.getDate()+r),t.q.getMonth()!=p&&XO(t,t.q.getDate()+(r>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>Qi&&(u=t.q.getTimezoneOffset(),Snt(t,Ao(Gs(t.q.getTime()),(e.o-u)*60*yg))),!0}function bEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(a=F(t,(Ie(),mr)),!!ae(a,209)){for(M=l(a,19),U=t.e,N=new So(t.c),u=t.d,N.a+=u.b,N.b+=u.d,de=l(ve(M,(Be(),vB)),185),fu(de,(Uu(),dU))&&(O=l(ve(M,MAe),100),uZt(O,u.a),hZt(O,u.d),cZt(O,u.b),lZt(O,u.c)),r=new je,v=new V(t.a);v.a<v.c.c.length;)for(m=l(q(v),9),ae(F(m,mr),209)?mNn(m,N):ae(F(m,mr),196)&&!U&&(o=l(F(m,mr),127),ne=evt(t,m,o.g,o.f),Bc(o,ne.a,ne.b)),J=new V(m.j);J.a<J.c.c.length;)z=l(q(J),12),ei(lr(new Et(null,new St(z.g,16)),new AYe(m)),new _Ye(r));if(U)for(J=new V(U.j);J.a<J.c.c.length;)z=l(q(J),12),ei(lr(new Et(null,new St(z.g,16)),new xYe(U)),new kYe(r));for(se=l(ve(M,kp),225),p=new V(r);p.a<p.c.c.length;)f=l(q(p),17),Dkn(f,se,N);for(wAn(t),y=new V(t.a);y.a<y.c.c.length;)m=l(q(y),9),T=m.e,T&&bEt(e,T)}}function mEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O;if(!l(l(wr(e.r,t),24),85).dc()){if(f=l(Wo(e.b,t),129),m=f.i,p=f.n,v=hJ(e,t),o=m.b-p.b-p.c,a=f.a.a,u=m.c+p.b,O=e.w,(v==(vE(),V1)||v==WL)&&l(l(wr(e.r,t),24),85).gc()==1&&(a=v==V1?a-2*e.w:a,v=A4),o<a&&!e.B.Gc((Uu(),fU)))v==V1?(O+=(o-a)/(l(l(wr(e.r,t),24),85).gc()+1),u+=O):O+=(o-a)/(l(l(wr(e.r,t),24),85).gc()-1);else switch(o<a&&(a=v==V1?a-2*e.w:a,v=A4),v.g){case 3:u+=(o-a)/2;break;case 4:u+=o-a;break;case 0:r=(o-a)/(l(l(wr(e.r,t),24),85).gc()+1),O+=b.Math.max(0,r),u+=O;break;case 1:r=(o-a)/(l(l(wr(e.r,t),24),85).gc()-1),O+=b.Math.max(0,r)}for(N=l(l(wr(e.r,t),24),85).Jc();N.Ob();)T=l(N.Pb(),116),T.e.a=u+T.d.b,T.e.b=(y=T.b,y.nf((_n(),zu))?y.$f()==(He(),Wt)?-y.Kf().b-ue(ce(y.mf(zu))):ue(ce(y.mf(zu))):y.$f()==(He(),Wt)?-y.Kf().b:0),u+=T.d.b+T.b.Kf().a+T.d.c+O}}function wEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M;if(!l(l(wr(e.r,t),24),85).dc()){if(f=l(Wo(e.b,t),129),m=f.i,p=f.n,T=hJ(e,t),o=m.a-p.d-p.a,a=f.a.b,u=m.d+p.d,M=e.w,y=e.o.a,(T==(vE(),V1)||T==WL)&&l(l(wr(e.r,t),24),85).gc()==1&&(a=T==V1?a-2*e.w:a,T=A4),o<a&&!e.B.Gc((Uu(),fU)))T==V1?(M+=(o-a)/(l(l(wr(e.r,t),24),85).gc()+1),u+=M):M+=(o-a)/(l(l(wr(e.r,t),24),85).gc()-1);else switch(o<a&&(a=T==V1?a-2*e.w:a,T=A4),T.g){case 3:u+=(o-a)/2;break;case 4:u+=o-a;break;case 0:r=(o-a)/(l(l(wr(e.r,t),24),85).gc()+1),M+=b.Math.max(0,r),u+=M;break;case 1:r=(o-a)/(l(l(wr(e.r,t),24),85).gc()-1),M+=b.Math.max(0,r)}for(O=l(l(wr(e.r,t),24),85).Jc();O.Ob();)N=l(O.Pb(),116),N.e.a=(v=N.b,v.nf((_n(),zu))?v.$f()==(He(),Kt)?-v.Kf().a-ue(ce(v.mf(zu))):y+ue(ce(v.mf(zu))):v.$f()==(He(),Kt)?-v.Kf().a:y),N.e.b=u+N.d.d,u+=N.d.d+N.b.Kf().b+N.d.a+M}}function pNn(e,t){var r,o,a,u,f;for(t.Tg("Processor determine the coords for each level",1),o=new je,f=An(e.b,0);f.b!=f.d.c;){for(a=l(Sn(f),41);l(F(a,(js(),Jf)),15).a>o.c.length-1;)Fe(o,new ko(jE,ove));r=l(F(a,Jf),15).a,ep(l(F(e,uw),87))?(a.e.a<ue(ce((at(r,o.c.length),l(o.c[r],49)).a))&&zG((at(r,o.c.length),l(o.c[r],49)),a.e.a),a.e.a+a.f.a>ue(ce((at(r,o.c.length),l(o.c[r],49)).b))&&HG((at(r,o.c.length),l(o.c[r],49)),a.e.a+a.f.a)):(a.e.b<ue(ce((at(r,o.c.length),l(o.c[r],49)).a))&&zG((at(r,o.c.length),l(o.c[r],49)),a.e.b),a.e.b+a.f.b>ue(ce((at(r,o.c.length),l(o.c[r],49)).b))&&HG((at(r,o.c.length),l(o.c[r],49)),a.e.b+a.f.b))}for(u=An(e.b,0);u.b!=u.d.c;)a=l(Sn(u),41),r=l(F(a,(js(),Jf)),15).a,Te(a,(Nr(),Id),ce((at(r,o.c.length),l(o.c[r],49)).a)),Te(a,sd,ce((at(r,o.c.length),l(o.c[r],49)).b));t.Ug()}function gNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(e.o=ue(ce(F(e.i,(Be(),vm)))),e.f=ue(ce(F(e.i,$1))),e.j=e.i.b.c.length,p=e.j-1,N=0,e.k=0,e.n=0,e.b=Wl(we(Ti,Pe,15,e.j,0,1)),e.c=Wl(we(fi,Pe,347,e.j,7,1)),f=new V(e.i.b);f.a<f.c.c.length;){for(a=l(q(f),26),a.p=p,T=new V(a.a);T.a<T.c.c.length;)v=l(q(T),9),v.p=N,++N;--p}for(e.g=we(Rn,Qn,30,N,15,1),e.d=Yw(Rn,[Pe,Qn],[54,30],15,[N,3],2),e.p=new je,e.q=new je,t=0,e.e=0,u=new V(e.i.b);u.a<u.c.c.length;){for(a=l(q(u),26),p=a.p,o=0,U=0,m=a.a.c.length,y=0,T=new V(a.a);T.a<T.c.c.length;)v=l(q(T),9),N=v.p,e.g[N]=v.c.p,y+=v.o.b+e.o,r=yd(new $t(qt(si(v).a.Jc(),new D))),M=yd(new $t(qt(Or(v).a.Jc(),new D))),e.d[N][0]=M-r,e.d[N][1]=r,e.d[N][2]=M,o+=r,U+=M,r>0&&Fe(e.q,v),Fe(e.p,v);t-=o,O=m+t,y+=t*e.f,nc(e.b,p,Re(O)),nc(e.c,p,y),e.k=b.Math.max(e.k,O),e.n=b.Math.max(e.n,y),e.e+=t,t+=U}}function yEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;if(t.b!=0){for(O=new Ar,p=null,M=null,o=go(b.Math.floor(b.Math.log(t.b)*b.Math.LOG10E)+1),m=0,se=An(t,0);se.b!=se.d.c;)for(J=l(Sn(se),41),be(M)!==be(F(J,(Nr(),r4)))&&(M=In(F(J,r4)),m=0),M!=null?p=M+Mut(m++,o):p=Mut(m++,o),Te(J,r4,p),z=(a=An(new Qh(J).a.d,0),new qv(a));oO(z.a);)U=l(Sn(z.a),65).c,Wr(O,U,O.c.b,O.c),Te(U,r4,p);for(N=new hn,f=0;f<p.length-o;f++)for(ne=An(t,0);ne.b!=ne.d.c;)J=l(Sn(ne),41),y=yl(In(F(J,(Nr(),r4))),0,f+1),r=(y==null?Ss(ts(N.f,null)):e3(N.i,y))!=null?l(y==null?Ss(ts(N.f,null)):e3(N.i,y),15).a+1:1,ns(N,y,Re(r));for(T=new dy(new Dw(N).a);T.b;)v=gE(T),u=Re(Ht(e.a,v.jd())!=null?l(Ht(e.a,v.jd()),15).a:0),ns(e.a,In(v.jd()),Re(l(v.kd(),15).a+u.a)),u=l(Ht(e.b,v.jd()),15),(!u||u.a<l(v.kd(),15).a)&&ns(e.b,In(v.jd()),l(v.kd(),15));yEt(e,O)}}function bNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(r.Tg("Breadth first model order layering",1),e.a=t,z=new je,U=new V(e.a.a);U.a<U.c.c.length;)O=l(q(U),9),O.k==(zt(),Xr)&&Ot(z.c,O);for(At(),xi(z,new vUe),m=!0,a=new ra(e.a),o=null,Fe(e.a.b,a),M=new V(z);M.a<M.c.c.length;)if(O=l(q(M),9),m)Oi(O,a),m=!1;else{for(p=new $t(qt(si(O).a.Jc(),new D));an(p);)u=l(en(p),17),(u.c.i.k==(zt(),Xr)&&u.c.i.c==a||u.c.i.k==ta&&l(en(new $t(qt(si(u.c.i).a.Jc(),new D))),17).c.i.c==a)&&(o=new ra(e.a),Fe(e.a.b,o),a=new ra(e.a),Fe(e.a.b,a));for(f=new $t(qt(si(O).a.Jc(),new D));an(f);)u=l(en(f),17),u.c.i.k==(zt(),ta)&&!u.c.i.c&&Oi(u.c.i,o);Oi(O,a)}for(e.a.a.c.length=0,J=new je,T=new V(e.a.b);T.a<T.c.c.length;)y=l(q(T),26),y.a.c.length==0&&Ot(J.c,y);for(h1e(e.a.b,J),N=0,v=new V(e.a.b);v.a<v.c.c.length;)y=l(q(v),26),y.p=N,++N;r.Ug()}function He(){He=K;var e;Is=new _O(qC,0),Wt=new _O("NORTH",1),Qt=new _O("EAST",2),dn=new _O("SOUTH",3),Kt=new _O("WEST",4),gf=(At(),new PA((e=l(md(Io),10),new Hc(e,l(Gl(e,e.length),10),0)))),dd=dg(xr(Wt,Z(X(Io,1),ea,64,0,[]))),ol=dg(xr(Qt,Z(X(Io,1),ea,64,0,[]))),Nc=dg(xr(dn,Z(X(Io,1),ea,64,0,[]))),Rl=dg(xr(Kt,Z(X(Io,1),ea,64,0,[]))),ou=dg(xr(Wt,Z(X(Io,1),ea,64,0,[dn]))),Wa=dg(xr(Qt,Z(X(Io,1),ea,64,0,[Kt]))),fd=dg(xr(Wt,Z(X(Io,1),ea,64,0,[Kt]))),Iu=dg(xr(Wt,Z(X(Io,1),ea,64,0,[Qt]))),Cc=dg(xr(dn,Z(X(Io,1),ea,64,0,[Kt]))),sl=dg(xr(Qt,Z(X(Io,1),ea,64,0,[dn]))),Ru=dg(xr(Wt,Z(X(Io,1),ea,64,0,[Qt,Kt]))),iu=dg(xr(Qt,Z(X(Io,1),ea,64,0,[dn,Kt]))),su=dg(xr(Wt,Z(X(Io,1),ea,64,0,[dn,Kt]))),vu=dg(xr(Wt,Z(X(Io,1),ea,64,0,[Qt,dn]))),ka=dg(xr(Wt,Z(X(Io,1),ea,64,0,[Qt,dn,Kt])))}function mNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U;for(o=l(F(e,(Ie(),mr)),19),M=l(F(e,(Be(),dB)),15).a,u=l(F(e,UI),15).a,Vn(o,dB,Re(M)),Vn(o,UI,Re(u)),va(o,e.n.a+t.a),gu(o,e.n.b+t.b),(l(ve(o,mm),185).gc()!=0||e.e||be(F(ji(e),yB))===be((hC(),WI))&&Unt((wy(),(e.q?e.q:(At(),At(),xh))._b(ow)?N=l(F(e,ow),205):N=l(F(ji(e),zI),205),N)))&&(Hb(o,e.o.a),Ub(o,e.o.b)),T=new V(e.j);T.a<T.c.c.length;)y=l(q(T),12),U=F(y,mr),ae(U,196)&&(a=l(U,127),Bc(a,y.n.a,y.n.b),Vn(a,rk,y.j));for(O=l(F(e,iw),185).gc()!=0,m=new V(e.b);m.a<m.c.c.length;)f=l(q(m),70),(O||l(F(f,iw),185).gc()!=0)&&(r=l(F(f,mr),158),i0(r,f.o.a,f.o.b),Bc(r,f.n.a,f.n.b));if(!k3(l(F(e,Xy),24)))for(v=new V(e.j);v.a<v.c.c.length;)for(y=l(q(v),12),p=new V(y.f);p.a<p.c.c.length;)f=l(q(p),70),r=l(F(f,mr),158),Hb(r,f.o.a),Ub(r,f.o.b),Bc(r,f.n.a,f.n.b)}function wNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;for(t.Tg("Calculate Graph Size",1),t.bh(e,gve),T=jE,N=jE,y=NZ,v=NZ,U=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));U.e!=U.i.gc();)O=l(rn(U),19),ne=O.i,se=O.j,ft=O.g,p=O.f,m=l(ve(O,(_n(),Cp)),125),T=b.Math.min(T,ne-m.b),N=b.Math.min(N,se-m.d),y=b.Math.max(y,ne+ft+m.c),v=b.Math.max(v,se+p+m.a);for(J=l(ve(e,(_n(),df)),100),z=new Me(T-J.b,N-J.d),lt=y-T+(J.b+J.c),f=v-N+(J.d+J.a),Ye(Ke(ve(e,(T1(),vxe))))&&(de=l(ve(e,(aE(),l2)),19),Ee=l(ve(de,Cp),125),ye=de.i+de.g/2+(Ee.b+Ee.c)/2-z.a,qe=de.j+de.f/2+(Ee.d+Ee.a)/2-z.b,a=lt-ye,u=f-qe,a<lt/2?(r=a-ye,lt+=r,z.a-=r):(r=ye-a,lt+=r),u<f/2?(o=u-qe,f+=o,z.b-=o):(o=qe-u,f+=o)),M=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));M.e!=M.i.gc();)O=l(rn(M),19),va(O,O.i-z.a),gu(O,O.j-z.b);Ye(Ke(ve(e,uv)))||(Hb(e,lt),Ub(e,f)),Vn(e,av,lt-(J.b+J.c)),Vn(e,sv,f-(J.d+J.a)),t.bh(e,MF)}function yNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O;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(f=new V(t.a);f.a<f.c.c.length;)for(u=l(q(f),9),T=bg(u,(He(),Qt)).Jc();T.Ob();)for(v=l(T.Pb(),12),pi(e.e,v),a=new V(v.g);a.a<a.c.c.length;)o=l(q(a),17),!fo(o)&&(Fe(e.c,o),p1t(e,o),p=o.c.i.k,(p==(zt(),Xr)||p==_a||p==mi||p==af)&&Fe(e.j,o),O=o.d,N=O.i.c,N==r?pi(e.f,O):N==t?pi(e.e,O):Xa(e.c,o));if(r)for(f=new V(r.a);f.a<f.c.c.length;){for(u=l(q(f),9),y=new V(u.j);y.a<y.c.c.length;)for(m=l(q(y),12),a=new V(m.g);a.a<a.c.c.length;)o=l(q(a),17),fo(o)&&pi(e.g,o);for(T=bg(u,(He(),Kt)).Jc();T.Ob();)for(v=l(T.Pb(),12),pi(e.f,v),a=new V(v.g);a.a<a.c.c.length;)o=l(q(a),17),!fo(o)&&(Fe(e.c,o),p1t(e,o),p=o.c.i.k,(p==(zt(),Xr)||p==_a||p==mi||p==af)&&Fe(e.j,o),O=o.d,N=O.i.c,N==r?pi(e.f,O):N==t?pi(e.e,O):Xa(e.c,o))}}function vNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(r.Tg("Polyline edge routing",1),z=ue(ce(F(t,(Be(),mAe)))),O=ue(ce(F(t,tv))),a=ue(ce(F(t,Qy))),o=b.Math.min(1,a/O),se=0,m=0,t.b.c.length!=0&&(de=cwt(l(ze(t.b,0),26)),se=.4*o*de),p=new Xi(t.b,0);p.b<p.d.gc();){for(f=(un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)),u=N8(f,xL),u&&se>0&&(se-=O),P0e(f,se),v=0,N=new V(f.a);N.a<N.c.c.length;){for(T=l(q(N),9),y=0,U=new $t(qt(Or(T).a.Jc(),new D));an(U);)M=l(en(U),17),J=qd(M.c).b,ne=qd(M.d).b,f==M.d.i.c&&!fo(M)&&(Dvn(M,se,.4*o*b.Math.abs(J-ne)),M.c.j==(He(),Kt)&&(J=0,ne=0)),y=b.Math.max(y,b.Math.abs(ne-J));switch(T.k.g){case 0:case 4:case 1:case 3:case 5:Pxn(e,T,se,z)}v=b.Math.max(v,y)}p.b<p.d.gc()&&(de=cwt((un(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26))),v=b.Math.max(v,de),un(p.b>0),p.a.Xb(p.c=--p.b)),m=.4*o*v,!u&&p.b<p.d.gc()&&(m+=O),se+=f.c.a+m}e.a.a.$b(),t.f.a=se,r.Ug()}function ENn(e){var t,r,o,a,u;switch(YO(e,oAt),(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i+(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i){case 0:throw Y(new jt("The edge must have at least one source or target."));case 1:return(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i==0?Br(Yo(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))):Br(Yo(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)))}if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i==1&&(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i==1){if(a=Yo(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)),u=Yo(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83)),Br(a)==Br(u))return Br(a);if(a==Br(u))return a;if(u==Br(a))return u}for(o=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c)]))),t=Yo(l(en(o),83));an(o);)if(r=Yo(l(en(o),83)),r!=t&&!uy(r,t)){if(Br(r)==Br(t))t=Br(r);else if(t=qEn(t,r),!t)return null}return t}function W0e(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;if(N=t.length,N>0&&(m=(Yt(0,t.length),t.charCodeAt(0)),m!=64)){if(m==37&&(T=t.lastIndexOf("%"),y=!1,T!=0&&(T==N-1||(y=(Yt(T+1,t.length),t.charCodeAt(T+1)==46))))){if(f=(io(1,T,t.length),t.substr(1,T-1)),se=wt("%",f)?null:K0e(f),o=0,y)try{o=Ec((Yt(T+2,t.length+1),t.substr(T+2)),Qi,sr)}catch(de){throw de=ci(de),ae(de,133)?(p=de,Y(new oj(p))):Y(de)}for(z=dge(e.Dh());z.Ob();)if(M=Rj(z),ae(M,508)&&(a=l(M,594),ne=a.d,(se==null?ne==null:wt(se,ne))&&o--==0))return a;return null}if(v=t.lastIndexOf("."),O=v==-1?t:(io(0,v,t.length),t.substr(0,v)),r=0,v!=-1)try{r=Ec((Yt(v+1,t.length+1),t.substr(v+1)),Qi,sr)}catch(de){if(de=ci(de),ae(de,133))O=t;else throw Y(de)}for(O=wt("%",O)?null:K0e(O),U=dge(e.Dh());U.Ob();)if(M=Rj(U),ae(M,199)&&(u=l(M,199),J=u.ve(),(O==null?J==null:wt(O,J))&&r--==0))return u;return null}return rEt(e,t)}function SNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne;for(v=new hn,m=new b0,o=new V(e.a.a.b);o.a<o.c.c.length;)if(t=l(q(o),60),y=lE(t),y)eu(v.f,y,t);else if(ne=PS(t),ne)for(u=new V(ne.k);u.a<u.c.c.length;)a=l(q(u),17),yt(m,a,t);for(r=new V(e.a.a.b);r.a<r.c.c.length;)if(t=l(q(r),60),y=lE(t),y){for(p=new $t(qt(Or(y).a.Jc(),new D));an(p);)if(f=l(en(p),17),!fo(f)&&(M=f.c,J=f.d,!((He(),ou).Gc(f.c.j)&&ou.Gc(f.d.j)))){if(U=l(Ht(v,f.d.i),60),Ql($l(Ul(Hl(Bl(new gl,0),100),e.c[t.a.d]),e.c[U.a.d])),M.j==Kt&&gst((bu(),M))){for(N=l(wr(m,f),24).Jc();N.Ob();)if(T=l(N.Pb(),60),T.d.c<t.d.c){if(O=e.c[T.a.d],z=e.c[t.a.d],O==z)continue;Ql($l(Ul(Hl(Bl(new gl,1),100),O),z))}}if(J.j==Qt&&bst((bu(),J))){for(N=l(wr(m,f),24).Jc();N.Ob();)if(T=l(N.Pb(),60),T.d.c>t.d.c){if(O=e.c[t.a.d],z=e.c[T.a.d],O==z)continue;Ql($l(Ul(Hl(Bl(new gl,1),100),O),z))}}}}}function TNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;if(N=l(l(wr(e.r,t),24),85),t==(He(),Qt)||t==Kt){hEt(e,t);return}for(u=t==Wt?(A0(),QD):(A0(),eL),de=t==Wt?(Za(),Nd):(Za(),rd),r=l(Wo(e.b,t),129),o=r.i,a=o.c+hE(Z(X(Ki,1),Jo,30,15,[r.n.b,e.C.b,e.k])),J=o.c+o.b-hE(Z(X(Ki,1),Jo,30,15,[r.n.c,e.C.c,e.k])),f=nle(bfe(u),e.t),ne=t==Wt?Li:Kr,T=N.Jc();T.Ob();)y=l(T.Pb(),116),!(!y.c||y.c.d.c.length<=0)&&(z=y.b.Kf(),U=y.e,O=y.c,M=O.i,M.b=(m=O.n,O.e.a+m.b+m.c),M.a=(p=O.n,O.e.b+p.d+p.a),YO(de,ywe),O.f=de,Ed(O,(_u(),nd)),M.c=U.a-(M.b-z.a)/2,Ee=b.Math.min(a,U.a),ye=b.Math.max(J,U.a+z.a),M.c<Ee?M.c=Ee:M.c+M.b>ye&&(M.c=ye-M.b),Fe(f.d,new VV(M,d1e(f,M))),ne=t==Wt?b.Math.max(ne,U.b+y.b.Kf().b):b.Math.min(ne,U.b));for(ne+=t==Wt?e.t:-e.t,se=N1e((f.e=ne,f)),se>0&&(l(Wo(e.b,t),129).a.b=se),v=N.Jc();v.Ob();)y=l(v.Pb(),116),!(!y.c||y.c.d.c.length<=0)&&(M=y.c.i,M.c-=y.e.a,M.d-=y.e.b)}function ANn(e,t){IJ();var r,o,a,u,f,p,m,y,v,T,N,O,M,U;if(m=Ea(e,0)<0,m&&(e=ug(e)),Ea(e,0)==0)switch(t){case 0:return"0";case 1:return dx;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 O=new Zg,t<0?O.a+="0E+":O.a+="0E",O.a+=t==Qi?"2147483648":""+-t,O.a}v=18,T=we(al,Bf,30,v+1,15,1),r=v,U=e;do y=U,U=W6(U,10),T[--r]=Dn(Ao(48,El(y,wo(U,10))))&Ei;while(Ea(U,0)!=0);if(a=El(El(El(v,r),t),1),t==0)return m&&(T[--r]=45),Mf(T,r,v-r);if(t>0&&Ea(a,-6)>=0){if(Ea(a,0)>=0){for(u=r+Dn(a),p=v-1;p>=u;p--)T[p+1]=T[p];return T[++u]=46,m&&(T[--r]=45),Mf(T,r,v-r+1)}for(f=2;Aq(f,Ao(ug(a),1));f++)T[--r]=48;return T[--r]=46,T[--r]=48,m&&(T[--r]=45),Mf(T,r,v-r)}return M=r+1,o=v,N=new lS,m&&(N.a+="-"),o-M>=1?(Db(N,T[r]),N.a+=".",N.a+=Mf(T,r+1,v-r-1)):N.a+=Mf(T,r,v-r),N.a+="E",Ea(a,0)>0&&(N.a+="+"),N.a+=""+x3(a),N.a}function vEt(e){n0(e,new Qb(iO(Qm(Jm(Zm(Xm(new vb,Qc),"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 Aze),Qc))),De(e,Qc,IF,Ge(JRt)),De(e,Qc,$0,Ge(XRt)),De(e,Qc,ME,Ge(VRt)),De(e,Qc,mT,Ge(WRt)),De(e,Qc,bT,Ge(KRt)),De(e,Qc,Ex,Ge(qRt)),De(e,Qc,yx,Ge(Exe)),De(e,Qc,Sx,Ge(YRt)),De(e,Qc,jZ,Ge(mne)),De(e,Qc,PZ,Ge(wne)),De(e,Qc,PF,Ge(Txe)),De(e,Qc,FZ,Ge(yne)),De(e,Qc,$Z,Ge(Axe)),De(e,Qc,Ave,Ge(_xe)),De(e,Qc,Tve,Ge(Sxe)),De(e,Qc,yve,Ge(HB)),De(e,Qc,vve,Ge(zB)),De(e,Qc,Eve,Ge(RL)),De(e,Qc,Sve,Ge(xxe)),De(e,Qc,wve,Ge(vxe))}function M0(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;if(z=new Me(e.g,e.f),U=rme(e),U.a=b.Math.max(U.a,t),U.b=b.Math.max(U.b,r),ye=U.a/z.a,v=U.b/z.b,de=U.a-z.a,m=U.b-z.b,o)for(f=Br(e)?l(ve(Br(e),(_n(),Tm)),87):l(ve(e,(_n(),Tm)),87),p=be(ve(e,(_n(),bk)))===be((qi(),fa)),ne=new tn((!e.c&&(e.c=new ke(Gu,e,9,9)),e.c));ne.e!=ne.i.gc();)switch(J=l(rn(ne),127),se=l(ve(J,m2),64),se==(He(),Is)&&(se=_0e(J,f),Vn(J,m2,se)),se.g){case 1:p||va(J,J.i*ye);break;case 2:va(J,J.i+de),p||gu(J,J.j*v);break;case 3:p||va(J,J.i*ye),gu(J,J.j+m);break;case 4:p||gu(J,J.j*v)}if(i0(e,U.a,U.b),a)for(N=new tn((!e.n&&(e.n=new ke(Rs,e,1,7)),e.n));N.e!=N.i.gc();)T=l(rn(N),158),O=T.i+T.g/2,M=T.j+T.f/2,Ee=O/z.a,y=M/z.b,Ee+y>=1&&(Ee-y>0&&M>=0?(va(T,T.i+de),gu(T,T.j+m*y)):Ee-y<0&&O>=0&&(va(T,T.i+de*Ee),gu(T,T.j+m)));return Vn(e,(_n(),Am),(sc(),u=l(md(N4),10),new Hc(u,l(Gl(u,u.length),10),0))),new Me(ye,v)}function Z7(e){var t,r,o,a,u,f,p,m,y,v,T;if(e==null)throw Y(new kf(tu));if(y=e,u=e.length,m=!1,u>0&&(t=(Yt(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Yt(1,e.length+1),e.substr(1)),--u,m=t==45)),u==0)throw Y(new kf(F0+y+'"'));for(;e.length>0&&(Yt(0,e.length),e.charCodeAt(0)==48);)e=(Yt(1,e.length+1),e.substr(1)),--u;if(u>(Kyt(),X_t)[10])throw Y(new kf(F0+y+'"'));for(a=0;a<u;a++)if(Jgt((Yt(a,e.length),e.charCodeAt(a)))==-1)throw Y(new kf(F0+y+'"'));for(T=0,f=r2e[10],v=zQ[10],p=ug(i2e[10]),r=!0,o=u%f,o>0&&(T=-parseInt((io(0,o,e.length),e.substr(0,o)),10),e=(Yt(o,e.length+1),e.substr(o)),u-=o,r=!1);u>=f;){if(o=parseInt((io(0,f,e.length),e.substr(0,f)),10),e=(Yt(f,e.length+1),e.substr(f)),u-=f,r)r=!1;else{if(Ea(T,p)<0)throw Y(new kf(F0+y+'"'));T=wo(T,v)}T=El(T,o)}if(Ea(T,0)>0)throw Y(new kf(F0+y+'"'));if(!m&&(T=ug(T),Ea(T,0)<0))throw Y(new kf(F0+y+'"'));return T}function K0e(e){PJ();var t,r,o,a,u,f,p,m;if(e==null)return null;if(a=Nf(e,Qa(37)),a<0)return e;for(m=new fc((io(0,a,e.length),e.substr(0,a))),t=we(Eu,BE,30,4,15,1),p=0,o=0,f=e.length;a<f;a++)if(Yt(a,e.length),e.charCodeAt(a)==37&&e.length>a+2&&MK((Yt(a+1,e.length),e.charCodeAt(a+1)),T3e,A3e)&&MK((Yt(a+2,e.length),e.charCodeAt(a+2)),T3e,A3e))if(r=Oon((Yt(a+1,e.length),e.charCodeAt(a+1)),(Yt(a+2,e.length),e.charCodeAt(a+2))),a+=2,o>0?(r&192)==128?t[p++]=r<<24>>24:o=0:r>=128&&((r&224)==192?(t[p++]=r<<24>>24,o=2):(r&240)==224?(t[p++]=r<<24>>24,o=3):(r&248)==240&&(t[p++]=r<<24>>24,o=4)),o>0){if(p==o){switch(p){case 2:{Db(m,((t[0]&31)<<6|t[1]&63)&Ei);break}case 3:{Db(m,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Ei);break}}p=0,o=0}}else{for(u=0;u<p;++u)Db(m,t[u]&Ei);p=0,m.a+=String.fromCharCode(r)}else{for(u=0;u<p;++u)Db(m,t[u]&Ei);p=0,Db(m,(Yt(a,e.length),e.charCodeAt(a)))}return m.a}function EEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M;if(O=Br(Yo(l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))),M=Br(Yo(l(oe((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))),T=O==M,p=new ro,t=l(ve(e,(jj(),HNe)),79),t&&t.b>=2){if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i==0)r=(e1(),a=new g9,a),Tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),r);else if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i>1)for(N=new SS((!e.a&&(e.a=new ke(jr,e,6,6)),e.a));N.e!=N.i.gc();)wC(N);k0e(t,l(oe((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171))}if(T)for(o=new tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a));o.e!=o.i.gc();)for(r=l(rn(o),171),y=new tn((!r.a&&(r.a=new yi(Ic,r,5)),r.a));y.e!=y.i.gc();)m=l(rn(y),373),p.a=b.Math.max(p.a,m.a),p.b=b.Math.max(p.b,m.b);for(f=new tn((!e.n&&(e.n=new ke(Rs,e,1,7)),e.n));f.e!=f.i.gc();)u=l(rn(f),158),v=l(ve(u,S4),8),v&&Bc(u,v.a,v.b),T&&(p.a=b.Math.max(p.a,u.i+u.g),p.b=b.Math.max(p.b,u.j+u.f));return p}function SEt(e,t,r,o,a){var u,f,p;if(Gdt(e,t),f=t[0],u=co(r.c,0),p=-1,Bge(r))if(o>0){if(f+o>e.length)return!1;p=k7((io(0,f+o,e.length),e.substr(0,f+o)),t)}else p=k7(e,t);switch(u){case 71:return p=_E(e,f,Z(X(Je,1),Pe,2,6,[u2t,c2t]),t),a.e=p,!0;case 77:return USn(e,t,a,p,f);case 76:return HSn(e,t,a,p,f);case 69:return Uyn(e,t,f,a);case 99:return Hyn(e,t,f,a);case 97:return p=_E(e,f,Z(X(Je,1),Pe,2,6,["AM","PM"]),t),a.b=p,!0;case 121:return zSn(e,t,f,p,r,a);case 100:return p<=0?!1:(a.c=p,!0);case 83:return p<0?!1:t1n(p,f,t[0],a);case 104:p==12&&(p=0);case 75:case 72:return p<0?!1:(a.f=p,a.g=!1,!0);case 107:return p<0?!1:(a.f=p,a.g=!0,!0);case 109:return p<0?!1:(a.j=p,!0);case 115:return p<0?!1:(a.n=p,!0);case 90:if(f<e.length&&(Yt(f,e.length),e.charCodeAt(f)==90))return++t[0],a.o=0,!0;case 122:case 118:return hwn(e,f,t,a);default:return!1}}function _Nn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt;for(se=t.c.length,a=new NE(e.a,r,null,null),lt=we(Ki,Jo,30,se,15,1),U=we(Ki,Jo,30,se,15,1),M=we(Ki,Jo,30,se,15,1),z=0,p=0;p<se;p++)U[p]=sr,M[p]=Qi;for(m=0;m<se;m++)for(o=(at(m,t.c.length),l(t.c[m],188)),lt[m]=cJ(o),lt[z]>lt[m]&&(z=m),T=new V(e.a.b);T.a<T.c.c.length;)for(v=l(q(T),26),ne=new V(v.a);ne.a<ne.c.c.length;)J=l(q(ne),9),ye=ue(o.p[J.p])+ue(o.d[J.p]),U[m]=b.Math.min(U[m],ye),M[m]=b.Math.max(M[m],ye+J.o.b);for(qe=we(Ki,Jo,30,se,15,1),y=0;y<se;y++)(at(y,t.c.length),l(t.c[y],188)).o==(zd(),Em)?qe[y]=U[z]-U[y]:qe[y]=M[z]-M[y];for(u=we(Ki,Jo,30,se,15,1),O=new V(e.a.b);O.a<O.c.c.length;)for(N=l(q(O),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;){for(de=l(q(Ee),9),f=0;f<se;f++)u[f]=ue((at(f,t.c.length),l(t.c[f],188)).p[de.p])+ue((at(f,t.c.length),l(t.c[f],188)).d[de.p])+qe[f];fZe(u,Cft(Oe.prototype.Ke,Oe,[])),a.p[de.p]=(u[1]+u[2])/2,a.d[de.p]=0}return a}function xNn(e,t,r){var o,a,u,f,p;switch(o=t.i,u=e.i.o,a=e.i.d,p=e.n,f=xs(Z(X($i,1),Pe,8,0,[p,e.a])),e.j.g){case 1:Cf(t,(Za(),rd)),o.d=-a.d-r-o.a,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vc(),Ih)?(Ed(t,(_u(),nd)),o.c=f.a-ue(ce(F(e,QE)))-r-o.b):(Ed(t,(_u(),Wf)),o.c=f.a+ue(ce(F(e,QE)))+r);break;case 2:Ed(t,(_u(),Wf)),o.c=u.a+a.c+r,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vc(),Ih)?(Cf(t,(Za(),rd)),o.d=f.b-ue(ce(F(e,QE)))-r-o.a):(Cf(t,(Za(),Nd)),o.d=f.b+ue(ce(F(e,QE)))+r);break;case 3:Cf(t,(Za(),Nd)),o.d=u.b+a.a+r,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vc(),Ih)?(Ed(t,(_u(),nd)),o.c=f.a-ue(ce(F(e,QE)))-r-o.b):(Ed(t,(_u(),Wf)),o.c=f.a+ue(ce(F(e,QE)))+r);break;case 4:Ed(t,(_u(),nd)),o.c=-a.b-r-o.b,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vc(),Ih)?(Cf(t,(Za(),rd)),o.d=f.b-ue(ce(F(e,QE)))-r-o.a):(Cf(t,(Za(),Nd)),o.d=f.b+ue(ce(F(e,QE)))+r)}}function kNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne;for(t.Tg("Interactive node layering",1),r=new je,N=new V(e.a);N.a<N.c.c.length;){for(v=l(q(N),9),m=v.n.a,p=m+v.o.a,p=b.Math.max(m+1,p),ne=new Xi(r,0),o=null;ne.b<ne.d.gc();)if(z=(un(ne.b<ne.d.gc()),l(ne.d.Xb(ne.c=ne.b++),571)),z.c>=p){un(ne.b>0),ne.a.Xb(ne.c=--ne.b);break}else z.a>m&&(o?(li(o.b,z.b),o.a=b.Math.max(o.a,z.a),Mu(ne)):(Fe(z.b,v),z.c=b.Math.min(z.c,m),z.a=b.Math.max(z.a,p),o=z));o||(o=new NZe,o.c=m,o.a=p,Vw(ne,o),Fe(o.b,v))}for(f=e.b,y=0,J=new V(r);J.a<J.c.c.length;)for(z=l(q(J),571),a=new ra(e),a.p=y++,Ot(f.c,a),O=new V(z.b);O.a<O.c.c.length;)v=l(q(O),9),Oi(v,a),v.p=0;for(T=new V(e.a);T.a<T.c.c.length;)if(v=l(q(T),9),v.p==0)for(U=oyt(v,e);U.a.gc()!=0;)M=l(U.a.ec().Jc().Pb(),9),U.a.Ac(M)!=null,mo(U,oyt(M,e));for(u=new Xi(f,0);u.b<u.d.gc();)(un(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26)).a.c.length==0&&Mu(u);e.a.c.length=0,t.Ug()}function NNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U;for(r.Tg(WSt,1),!t.a&&(t.a=new ke(En,t,10,11)),o=ue(ce(ve(t,(ef(),WB)))),v=ue(ce(ve(t,l4))),N=l(ve(t,c4),100),O=new Jle(o,v),u=$Et(O,t,N),Tft(t,O),p=l(ve(t,qxe),15).a;p>1;){if(a=L2n(t),T=u.g,M=l(ve(t,c4),100),U=ue(ce(ve(t,WB))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i>1&&ue(ce(ve(t,(yh(),Nne))))!=Kr&&(u.c+(M.b+M.c))/(u.b+(M.d+M.a))<U?Vn(a,(yh(),iv),ue(ce(ve(t,iv)))+ue(ce(ve(t,Nne)))):(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i>1&&ue(ce(ve(t,(yh(),kne))))!=Kr&&(u.c+(M.b+M.c))/(u.b+(M.d+M.a))>U&&Vn(a,(yh(),iv),b.Math.max(ue(ce(ve(t,u4))),ue(ce(ve(a,iv)))-ue(ce(ve(t,kne))))),O=new Jle(o,v),m=$Et(O,a,N),y=m.g,y>=T&&y==y){for(f=0;f<(!a.a&&(a.a=new ke(En,a,10,11)),a.a).i;f++)o0t(e,l(oe((!a.a&&(a.a=new ke(En,a,10,11)),a.a),f),19),l(oe((!t.a&&(t.a=new ke(En,t,10,11)),t.a),f),19));Tft(t,O),gun(u,m.c),bun(u,m.b)}--p}Vn(t,(yh(),dk),u.b),Vn(t,$T,u.c),r.Ug()}function CNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;for(t.Tg("Compound graph postprocessor",1),r=Ye(Ke(F(e,(Be(),kte)))),p=l(F(e,(Ie(),mTe)),231),v=new hi,J=p.ec().Jc();J.Ob();){for(z=l(J.Pb(),17),f=new Tu(p.cc(z)),At(),xi(f,new yce(e)),Ee=mhn((at(0,f.c.length),l(f.c[0],253))),qe=vht(l(ze(f,f.c.length-1),253)),se=Ee.i,T_(qe.i,se)?ne=se.e:ne=ji(se),T=obn(z,f),tc(z.a),N=null,u=new V(f);u.a<u.c.c.length;)a=l(q(u),253),U=new ro,eme(U,a.a,ne),O=a.b,o=new Lu,qK(o,0,O.a),ly(o,U),de=new So(qd(O.c)),ye=new So(qd(O.d)),br(de,U),br(ye,U),N&&(o.b==0?M=ye:M=(un(o.b!=0),l(o.a.a.c,8)),lt=b.Math.abs(N.a-M.a)>Hf,ft=b.Math.abs(N.b-M.b)>Hf,(!r&&lt&&ft||r&&(lt||ft))&&Gn(z.a,de)),mo(z.a,o),o.b==0?N=de:N=(un(o.b!=0),l(o.c.b.c,8)),Hhn(O,T,U),vht(a)==qe&&(ji(qe.i)!=a.a&&(U=new ro,eme(U,ji(qe.i),ne)),Te(z,ate,U)),iyn(O,z,ne),v.a.yc(O,v);bo(z,Ee),Ji(z,qe)}for(y=v.a.ec().Jc();y.Ob();)m=l(y.Pb(),17),bo(m,null),Ji(m,null);t.Ug()}function INn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(a=l(F(e,(js(),uw)),87),v=a==(vi(),as)||a==fs?ff:fs,r=l(Au(lr(new Et(null,new St(e.b,16)),new IHe),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),m=l(Au(Oa(r.Mc(),new XJe(t)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),16),m.Fc(l(Au(Oa(r.Mc(),new ZJe(t)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),18)),m.gd(new QJe(v)),N=new Qp(new eXe(a)),o=new hn,p=m.Jc();p.Ob();)f=l(p.Pb(),243),y=l(f.a,41),Ye(Ke(f.c))?(N.a.yc(y,(Lt(),D1))==null,new IA(N.a.Xc(y,!1)).a.gc()>0&&Jn(o,y,l(new IA(N.a.Xc(y,!1)).a.Tc(),41)),new IA(N.a.$c(y,!0)).a.gc()>1&&Jn(o,Rgt(N,y),y)):(new IA(N.a.Xc(y,!1)).a.gc()>0&&(u=l(new IA(N.a.Xc(y,!1)).a.Tc(),41),be(u)===be(Ss(ts(o.f,y)))&&l(F(y,(Nr(),Zte)),16).Ec(u)),new IA(N.a.$c(y,!0)).a.gc()>1&&(T=Rgt(N,y),be(Ss(ts(o.f,T)))===be(y)&&l(F(T,(Nr(),Zte)),16).Ec(y)),N.a.Ac(y)!=null)}function TEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(e.gc()==1)return l(e.Xb(0),238);if(e.gc()<=0)return new JP;for(a=e.Jc();a.Ob();){for(r=l(a.Pb(),238),M=0,v=sr,T=sr,m=Qi,y=Qi,O=new V(r.e);O.a<O.c.c.length;)N=l(q(O),156),M+=l(F(N,(ed(),AT)),15).a,v=b.Math.min(v,N.d.a-N.e.a/2),T=b.Math.min(T,N.d.b-N.e.b/2),m=b.Math.max(m,N.d.a+N.e.a/2),y=b.Math.max(y,N.d.b+N.e.b/2);Te(r,(ed(),AT),Re(M)),Te(r,(h1(),SI),new Me(v,T)),Te(r,tL,new Me(m,y))}for(At(),e.gd(new Yh),U=new JP,qs(U,l(e.Xb(0),105)),p=0,ne=0,u=e.Jc();u.Ob();)r=l(u.Pb(),238),z=Di(To(l(F(r,(h1(),tL)),8)),l(F(r,SI),8)),p=b.Math.max(p,z.a),ne+=z.a*z.b;for(p=b.Math.max(p,b.Math.sqrt(ne)*ue(ce(F(U,(ed(),lkt))))),J=ue(ce(F(U,v$))),se=0,de=0,f=0,t=J,o=e.Jc();o.Ob();)r=l(o.Pb(),238),z=Di(To(l(F(r,(h1(),tL)),8)),l(F(r,SI),8)),se+z.a>p&&(se=0,de+=f+J,f=0),tAn(U,r,se,de),t=b.Math.max(t,se+z.a),f=b.Math.max(f,z.b),se+=z.a+J;return U}function RNn(e){A0e();var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(e==null||(u=aj(e),M=ggn(u),M%4!=0))return null;if(U=M/4|0,U==0)return we(Eu,BE,30,0,15,1);for(T=null,t=0,r=0,o=0,a=0,f=0,p=0,m=0,y=0,O=0,N=0,v=0,T=we(Eu,BE,30,U*3,15,1);O<U-1;O++){if(!uO(f=u[v++])||!uO(p=u[v++])||!uO(m=u[v++])||!uO(y=u[v++]))return null;t=mf[f],r=mf[p],o=mf[m],a=mf[y],T[N++]=(t<<2|r>>4)<<24>>24,T[N++]=((r&15)<<4|o>>2&15)<<24>>24,T[N++]=(o<<6|a)<<24>>24}return!uO(f=u[v++])||!uO(p=u[v++])?null:(t=mf[f],r=mf[p],m=u[v++],y=u[v++],mf[m]==-1||mf[y]==-1?m==61&&y==61?r&15?null:(z=we(Eu,BE,30,O*3+1,15,1),ua(T,0,z,0,O*3),z[N]=(t<<2|r>>4)<<24>>24,z):m!=61&&y==61?(o=mf[m],o&3?null:(z=we(Eu,BE,30,O*3+2,15,1),ua(T,0,z,0,O*3),z[N++]=(t<<2|r>>4)<<24>>24,z[N]=((r&15)<<4|o>>2&15)<<24>>24,z)):null:(o=mf[m],a=mf[y],T[N++]=(t<<2|r>>4)<<24>>24,T[N++]=((r&15)<<4|o>>2&15)<<24>>24,T[N++]=(o<<6|a)<<24>>24,T))}function ONn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee;for(t.Tg(pSt,1),M=l(F(e,(Be(),kp)),225),a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),y=QO(o.a),f=y,p=0,m=f.length;p<m;++p)if(u=f[p],u.k==(zt(),_a)){if(M==(gp(),WT))for(T=new V(u.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||$1n(v),v.g.c.length==0||B1n(v);else if(ae(F(u,(Ie(),mr)),17))z=l(F(u,mr),17),J=l(bg(u,(He(),Kt)).Jc().Pb(),12),ne=l(bg(u,Qt).Jc().Pb(),12),se=l(F(J,mr),12),de=l(F(ne,mr),12),bo(z,de),Ji(z,se),Ee=new So(ne.i.n),Ee.a=xs(Z(X($i,1),Pe,8,0,[de.i.n,de.n,de.a])).a,Gn(z.a,Ee),Ee=new So(J.i.n),Ee.a=xs(Z(X($i,1),Pe,8,0,[se.i.n,se.n,se.a])).a,Gn(z.a,Ee);else{if(u.j.c.length>=2){for(U=!0,N=new V(u.j),r=l(q(N),12),O=null;N.a<N.c.c.length;)if(O=r,r=l(q(N),12),!pr(F(O,mr),F(r,mr))){U=!1;break}}else U=!1;for(T=new V(u.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||uSn(v,U),v.g.c.length==0||cSn(v,U)}Oi(u,null)}t.Ug()}function DNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee;for(p=new V(e.a.b);p.a<p.c.c.length;)for(u=l(q(p),26),se=new V(u.a);se.a<se.c.c.length;)ne=l(q(se),9),t.g[ne.p]=ne,t.a[ne.p]=ne,t.d[ne.p]=0;for(m=e.a.b,t.c==(If(),kg)&&(m=oc(m)),f=m.Jc();f.Ob();)for(u=l(f.Pb(),26),O=-1,N=u.a,t.o==(zd(),uf)&&(O=sr,N=oc(N)),Ee=N.Jc();Ee.Ob();)if(de=l(Ee.Pb(),9),T=null,t.c==kg?T=l(ze(e.b.f,de.p),16):T=l(ze(e.b.b,de.p),16),T.gc()>0)if(o=T.gc(),y=go(b.Math.floor((o+1)/2))-1,a=go(b.Math.ceil((o+1)/2))-1,t.o==uf)for(v=a;v>=y;v--)t.a[de.p]==de&&(U=l(T.Xb(v),49),M=l(U.a,9),!bl(r,U.b)&&O>e.b.e[M.p]&&(t.a[M.p]=de,t.g[de.p]=t.g[M.p],t.a[de.p]=t.g[de.p],t.f[t.g[de.p].p]=(Lt(),!!(Ye(t.f[t.g[de.p].p])&de.k==(zt(),gi))),O=e.b.e[M.p]));else for(v=y;v<=a;v++)t.a[de.p]==de&&(J=l(T.Xb(v),49),z=l(J.a,9),!bl(r,J.b)&&O<e.b.e[z.p]&&(t.a[z.p]=de,t.g[de.p]=t.g[z.p],t.a[de.p]=t.g[de.p],t.f[t.g[de.p].p]=(Lt(),!!(Ye(t.f[t.g[de.p].p])&de.k==(zt(),gi))),O=e.b.e[z.p]))}function AEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt;return se=e.c[(at(0,t.c.length),l(t.c[0],17)).p],qe=e.c[(at(1,t.c.length),l(t.c[1],17)).p],se.a.e.e-se.a.a-(se.b.e.e-se.b.a)==0&&qe.a.e.e-qe.a.a-(qe.b.e.e-qe.b.a)==0||(J=se.b.e.f,!ae(J,9))?!1:(z=l(J,9),Ee=e.i[z.p],ye=z.c?_s(z.c.a,z,0):-1,u=Kr,ye>0&&(a=l(ze(z.c.a,ye-1),9),f=e.i[a.p],lt=b.Math.ceil(rE(e.n,a,z)),u=Ee.a.e-z.d.d-(f.a.e+a.o.b+a.d.a)-lt),y=Kr,ye<z.c.a.c.length-1&&(m=l(ze(z.c.a,ye+1),9),v=e.i[m.p],lt=b.Math.ceil(rE(e.n,m,z)),y=v.a.e-m.d.d-(Ee.a.e+z.o.b+z.d.a)-lt),r&&(Ud(),Yl(Gf),b.Math.abs(u-y)<=Gf||u==y||isNaN(u)&&isNaN(y))?!0:(o=iW(se.a),p=-iW(se.b),T=-iW(qe.a),ne=iW(qe.b),U=se.a.e.e-se.a.a-(se.b.e.e-se.b.a)>0&&qe.a.e.e-qe.a.a-(qe.b.e.e-qe.b.a)<0,M=se.a.e.e-se.a.a-(se.b.e.e-se.b.a)<0&&qe.a.e.e-qe.a.a-(qe.b.e.e-qe.b.a)>0,O=se.a.e.e+se.b.a<qe.b.e.e+qe.a.a,N=se.a.e.e+se.b.a>qe.b.e.e+qe.a.a,de=0,!U&&!M&&(N?u+T>0?de=T:y-o>0&&(de=o):O&&(u+p>0?de=p:y-ne>0&&(de=ne))),Ee.a.e+=de,Ee.b&&(Ee.d.e+=de),!1))}function _Et(e,t,r){var o,a,u,f,p,m,y,v,T,N;if(o=new ql(t.Jf().a,t.Jf().b,t.Kf().a,t.Kf().b),a=new wS,e.c)for(f=new V(t.Pf());f.a<f.c.c.length;)u=l(q(f),190),a.c=u.Jf().a+t.Jf().a,a.d=u.Jf().b+t.Jf().b,a.b=u.Kf().a,a.a=u.Kf().b,yC(o,a);for(y=new V(t.Vf());y.a<y.c.c.length;){if(m=l(q(y),844),v=m.Jf().a+t.Jf().a,T=m.Jf().b+t.Jf().b,e.e&&(a.c=v,a.d=T,a.b=m.Kf().a,a.a=m.Kf().b,yC(o,a)),e.d)for(f=new V(m.Pf());f.a<f.c.c.length;)u=l(q(f),190),a.c=u.Jf().a+v,a.d=u.Jf().b+T,a.b=u.Kf().a,a.a=u.Kf().b,yC(o,a);if(e.b){if(N=new Me(-r,-r),l(t.mf((_n(),cv)),185).Gc((xu(),K1)))for(f=new V(m.Pf());f.a<f.c.c.length;)u=l(q(f),190),N.a+=u.Kf().a+r,N.b+=u.Kf().b+r;N.a=b.Math.max(N.a,0),N.b=b.Math.max(N.b,0),zyt(o,m.Uf(),m.Sf(),t,m,N,r)}}e.b&&zyt(o,t.Uf(),t.Sf(),t,null,null,r),p=new DV(t.Tf()),p.d=b.Math.max(0,t.Jf().b-o.d),p.a=b.Math.max(0,o.d+o.a-(t.Jf().b+t.Kf().b)),p.b=b.Math.max(0,t.Jf().a-o.c),p.c=b.Math.max(0,o.c+o.b-(t.Jf().a+t.Kf().a)),t.Xf(p)}function LNn(){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"];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 xEt(e){n0(e,new Qb(gq(iO(Qm(Jm(Zm(Xm(new vb,Ga),"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 Wm),Ga),xr((sT(),o5),Z(X(s5,1),Ce,235,0,[i5]))))),De(e,Ga,CD,Re(1)),De(e,Ga,$0,80),De(e,Ga,LX,5),De(e,Ga,mx,bx),De(e,Ga,cF,Re(1)),De(e,Ga,WC,(Lt(),!0)),De(e,Ga,B0,R2e),De(e,Ga,wx,Ge(N2e)),De(e,Ga,lF,Ge(O2e)),De(e,Ga,ID,!1),De(e,Ga,yx,Ge(I2e)),De(e,Ga,vx,Ge(pkt)),De(e,Ga,bT,Ge(gkt)),De(e,Ga,ME,Ge(hkt)),De(e,Ga,Ex,Ge(fkt)),De(e,Ga,Sx,Ge(mkt)),De(e,Ga,uF,Ge(C2e)),De(e,Ga,OX,Ge(see)),De(e,Ga,Awe,Ge(y$)),De(e,Ga,DX,Ge(oee)),De(e,Ga,_we,Ge(D2e)),De(e,Ga,RD,Ge(Tkt)),De(e,Ga,OD,Ge(Akt)),De(e,Ga,DD,Ge(Skt)),De(e,Ga,LD,Ge(Ekt)),De(e,Ga,U0,L2e)}function MNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J;for(O=l(ze((at(0,t.c.length),l(t.c[0],26)).a,o),9),r>0&&Oi(O,(at(r,t.c.length),l(t.c[r],26))),u=0,N=!0,J=oc(jb(si(O))),m=J.Jc();m.Ob();){for(p=l(m.Pb(),17),N=!1,T=p,y=0;y<r;y++)a=Xpt(e,T),o+u>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Oi(a,(at(y,t.c.length),l(t.c[y],26))):E1(a,o+u,(at(y,t.c.length),l(t.c[y],26))),T=fJ(T,a);r>0&&(u+=1)}if(N){for(y=0;y<r;y++)a=new Xd(e),Jh(a,(zt(),rL)),o+u>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Oi(a,(at(y,t.c.length),l(t.c[y],26))):E1(a,o+u,(at(y,t.c.length),l(t.c[y],26)));r>0&&(u+=1)}for(f=!1,U=new $t(qt(Or(O).a.Jc(),new D));an(U);){for(M=l(en(U),17),T=M,v=r+1;v<t.c.length;v++)a=Xpt(e,T),Oi(a,(at(v,t.c.length),l(t.c[v],26))),T=fJ(T,a);for(y=0;y<=r;y++)f&&(z=new Xd(e),Jh(z,(zt(),AI)),o+1>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Oi(z,(at(y,t.c.length),l(t.c[y],26))):E1(z,o+1,(at(y,t.c.length),l(t.c[y],26))));f&&(u+=1),f=!0}return u>0?u-1:0}function x1(e,t){fr();var r,o,a,u,f,p,m,y,v,T,N,O,M;if(WN(xk)==0){for(T=we(dCn,Pe,122,PLt.length,0,1),f=0;f<T.length;f++)T[f]=new bc(4);for(o=new GN,u=0;u<Y3e.length;u++){if(v=new bc(4),u<84?(p=u*2,O=(Yt(p,RQ.length),RQ.charCodeAt(p)),N=(Yt(p+1,RQ.length),RQ.charCodeAt(p+1)),Sa(v,O,N)):(p=(u-84)*2,Sa(v,J3e[p],J3e[p+1])),m=Y3e[u],wt(m,"Specials")&&Sa(v,65520,65533),wt(m,I_t)&&(Sa(v,983040,1048573),Sa(v,1048576,1114109)),ns(xk,m,v),ns($4,m,xy(v)),y=o.a.length,0<y?o.a=yl(o.a,0,0):0>y&&(o.a+=urt(we(al,Bf,30,-y,15,1))),o.a+="Is",Nf(m,Qa(32))>=0)for(a=0;a<m.length;a++)Yt(a,m.length),m.charCodeAt(a)!=32&&i_(o,(Yt(a,m.length),m.charCodeAt(a)));else o.a+=""+m;M1e(o.a,m,!0)}M1e(IQ,"Cn",!1),M1e(BEe,"Cn",!0),r=new bc(4),Sa(r,0,Fx),ns(xk,"ALL",r),ns($4,"ALL",xy(r)),!vv&&(vv=new hn),ns(vv,IQ,IQ),!vv&&(vv=new hn),ns(vv,BEe,BEe),!vv&&(vv=new hn),ns(vv,"ALL","ALL")}return M=l(wa(t?xk:$4,e),140),M}function kEt(e){n0(e,new Qb(gq(iO(Qm(Jm(Zm(Xm(new vb,Va),"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 VHe),hve),ct((sT(),Rre))))),De(e,Va,B0,nxe),De(e,Va,$0,20),De(e,Va,SZ,3),De(e,Va,mx,bx),De(e,Va,CD,Re(1)),De(e,Va,WC,(Lt(),!0)),De(e,Va,UD,Ge(X_e)),De(e,Va,TZ,Z_e),De(e,Va,wx,Ge(cRt)),De(e,Va,RF,Ge(lRt)),De(e,Va,ME,Ge(fRt)),De(e,Va,vx,Ge(hRt)),De(e,Va,mT,Ge(pRt)),De(e,Va,bT,Ge(gRt)),De(e,Va,Ex,Ge(dRt)),De(e,Va,yx,Ge(exe)),De(e,Va,Sx,Ge(bRt)),De(e,Va,lve,Ge(sxe)),De(e,Va,fve,Ge(rxe)),De(e,Va,RD,Ge(vRt)),De(e,Va,OD,Ge(ERt)),De(e,Va,DD,Ge(yRt)),De(e,Va,LD,Ge(wRt)),De(e,Va,U0,oxe),De(e,Va,cve,Ge(c2)),De(e,Va,dve,Ge(one)),De(e,Va,uve,Ge(Jf)),De(e,Va,sve,Ge(J_e)),De(e,Va,ave,Ge(Q_e))}function NEt(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(y=l(l(wr(e.r,t),24),85),f=Awn(e,t),r=e.u.Gc((xu(),x4)),m=y.Jc();m.Ob();)if(p=l(m.Pb(),116),!(!p.c||p.c.d.c.length<=0)){switch(N=p.b.Kf(),v=p.c,T=v.i,T.b=(u=v.n,v.e.a+u.b+u.c),T.a=(a=v.n,v.e.b+a.d+a.a),t.g){case 1:p.a?(T.c=(N.a-T.b)/2,Ed(v,(_u(),L1))):f||r?(T.c=-T.b-e.s,Ed(v,(_u(),nd))):(T.c=N.a+e.s,Ed(v,(_u(),Wf))),T.d=-T.a-e.t,Cf(v,(Za(),rd));break;case 3:p.a?(T.c=(N.a-T.b)/2,Ed(v,(_u(),L1))):f||r?(T.c=-T.b-e.s,Ed(v,(_u(),nd))):(T.c=N.a+e.s,Ed(v,(_u(),Wf))),T.d=N.b+e.t,Cf(v,(Za(),Nd));break;case 2:p.a?(o=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(N.b-o)/2,Cf(v,(Za(),M1))):f||r?(T.d=-T.a-e.t,Cf(v,(Za(),rd))):(T.d=N.b+e.t,Cf(v,(Za(),Nd))),T.c=N.a+e.s,Ed(v,(_u(),Wf));break;case 4:p.a?(o=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(N.b-o)/2,Cf(v,(Za(),M1))):f||r?(T.d=-T.a-e.t,Cf(v,(Za(),rd))):(T.d=N.b+e.t,Cf(v,(Za(),Nd))),T.c=-T.b-e.s,Ed(v,(_u(),nd))}f=!1}}function PNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne;if(N=!1,T=!1,tE(l(F(o,(Be(),Zr)),103))){f=!1,p=!1;e:for(M=new V(o.j);M.a<M.c.c.length;)for(O=l(q(M),12),z=hh(Wc(Z(X(nl,1),Rt,22,0,[new DA(O),new tS(O)])));an(z);)if(U=l(en(z),12),!Ye(Ke(F(U.i,PI)))){if(O.j==(He(),Wt)){f=!0;break e}if(O.j==dn){p=!0;break e}}N=p&&!f,T=f&&!p}if(!N&&!T&&o.b.c.length!=0){for(v=0,y=new V(o.b);y.a<y.c.c.length;)m=l(q(y),70),v+=m.n.b+m.o.b/2;v/=o.b.c.length,ne=v>=o.o.b/2}else ne=!T;ne?(J=l(F(o,(Ie(),MT)),16),J?N?u=J:(a=l(F(o,NT),16),a?J.gc()<=a.gc()?u=J:u=a:(u=new je,Te(o,NT,u))):(u=new je,Te(o,MT,u))):(a=l(F(o,(Ie(),NT)),16),a?T?u=a:(J=l(F(o,MT),16),J?a.gc()<=J.gc()?u=a:u=J:(u=new je,Te(o,MT,u))):(u=new je,Te(o,NT,u))),u.Ec(e),Te(e,(Ie(),tB),r),t.d==r?(Ji(t,null),r.e.c.length+r.g.c.length==0&&As(r,null),mpn(r)):(bo(t,null),r.e.c.length+r.g.c.length==0&&As(r,null)),tc(t.a)}function jNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr;for(r.Tg("MinWidth layering",1),O=t.b,qe=t.a,Gr=l(F(t,(Be(),kAe)),15).a,p=l(F(t,NAe),15).a,e.b=ue(ce(F(t,od))),e.d=Kr,de=new V(qe);de.a<de.c.c.length;)ne=l(q(de),9),ne.k==(zt(),Xr)&&(It=ne.o.b,e.d=b.Math.min(e.d,It));for(e.d=b.Math.max(1,e.d),lt=qe.c.length,e.c=we(Rn,Qn,30,lt,15,1),e.f=we(Rn,Qn,30,lt,15,1),e.e=we(Ki,Jo,30,lt,15,1),y=0,e.a=0,Ee=new V(qe);Ee.a<Ee.c.c.length;)ne=l(q(Ee),9),ne.p=y++,e.c[ne.p]=$pt(si(ne)),e.f[ne.p]=$pt(Or(ne)),e.e[ne.p]=ne.o.b/e.d,e.a+=e.e[ne.p];for(e.b/=e.d,e.a/=lt,ye=Cvn(qe),xi(qe,vhe(new gJe(e))),U=Kr,M=sr,f=null,qn=Gr,on=Gr,u=p,a=p,Gr<0&&(qn=l(x_e.a.Gd(),15).a,on=l(x_e.b.Gd(),15).a),p<0&&(u=l(__e.a.Gd(),15).a,a=l(__e.b.Gd(),15).a),Dt=qn;Dt<=on;Dt++)for(o=u;o<=a;o++)ft=b_n(e,Dt,o,qe,ye),J=ue(ce(ft.a)),N=l(ft.b,16),z=N.gc(),(J<U||J==U&&z<M)&&(U=J,M=z,f=N);for(T=f.Jc();T.Ob();){for(v=l(T.Pb(),16),m=new ra(t),se=v.Jc();se.Ob();)ne=l(se.Pb(),9),Oi(ne,m);Ot(O.c,m)}vC(O),qe.c.length=0,r.Ug()}function FNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe;for(t.Tg(pSt,1),U=new je,ye=new je,y=new V(e.b);y.a<y.c.c.length;)for(m=l(q(y),26),J=-1,M=QO(m.a),T=M,N=0,O=T.length;N<O;++N)if(v=T[N],++J,!!(v.k==(zt(),Xr)&&tE(l(F(v,(Be(),Zr)),103)))){for(!AS(l(F(v,(Be(),Zr)),103))&&be(F(ji(v),Ch))===be((bp(),B1))&&Y2n(v),Te(v,(Ie(),tw),v),U.c.length=0,ye.c.length=0,r=new je,de=new Ar,SK(de,bg(v,(He(),Wt))),be(F(ji(v),Ch))!==be((bp(),B1))&&(de=Ubt(de)),REt(e,de,U,ye,r),p=J,qe=v,u=new V(U);u.a<u.c.c.length;)o=l(q(u),9),E1(o,p,m),++J,Te(o,tw,v),f=l(ze(o.j,0),12),z=l(F(f,mr),12),Ye(Ke(F(z,lte)))||l(F(o,RT),16).Ec(qe);for(tc(de),se=bg(v,dn).Jc();se.Ob();)ne=l(se.Pb(),12),Wr(de,ne,de.a,de.a.a);for(be(F(ji(v),Ch))!==be(B1)&&(de=Ubt(de)),REt(e,de,ye,null,r),Ee=v,a=new V(ye);a.a<a.c.c.length;)o=l(q(a),9),E1(o,++J,m),Te(o,tw,v),f=l(ze(o.j,0),12),z=l(F(f,mr),12),Ye(Ke(F(z,lte)))||l(F(Ee,RT),16).Ec(o);r.c.length==0||Te(v,pTe,r)}t.Ug()}function $Nn(e,t,r,o,a,u,f){var p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr;for(O=0,It=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),iEt(p),O=b.Math.max(O,p.g),It+=p.g*p.f;for(M=It/e.c.length,ft=Smn(e,M),It+=e.c.length*ft,It+=b.Math.sqrt(It)*(r.a+r.d),It+=b.Math.sqrt(It)*r.c,O=b.Math.max(O,b.Math.sqrt(It*f))+r.b,qn=r.b,Gr=r.d,N=0,v=r.b+r.c,lt=new Ar,Gn(lt,Re(0)),ye=new Ar,y=new Xi(e,0);y.b<y.d.gc();)p=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),on=p.g,T=p.f,qn+on>O&&(u&&(Eo(ye,N),Eo(lt,Re(y.b-1))),qn=r.b,Gr+=N+t,N=0,v=b.Math.max(v,r.b+r.c+on)),va(p,qn),gu(p,Gr),v=b.Math.max(v,qn+on+r.c),N=b.Math.max(N,T),qn+=on+t;if(v=b.Math.max(v,o),Dt=Gr+N+r.a,Dt<a&&(N+=a-Dt,Dt=a),u)for(qn=r.b,y=new Xi(e,0),Eo(lt,Re(e.c.length)),qe=An(lt,0),J=l(Sn(qe),15).a,Eo(ye,N),Ee=An(ye,0),de=0;y.b<y.d.gc();)y.b==J&&(qn=r.b,de=ue(ce(Sn(Ee))),J=l(Sn(qe),15).a),p=(un(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),ne=p.f,Ub(p,de),U=de,y.b==J&&(z=v-qn-r.c,se=p.g,Hb(p,z),ome(p,new Me(z,U),new Me(se,ne))),qn+=p.g+t;return new Me(v,Dt)}function BNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on;if(r.Tg("Spline edge routing",1),t.b.c.length==0){t.f.a=0,r.Ug();return}ne=ue(ce(F(t,(Be(),tv)))),p=ue(ce(F(t,$1))),f=ue(ce(F(t,Qy))),J=l(F(t,wte),350),lt=J==(R_(),JI),qe=ue(ce(F(t,yAe))),e.d=t,e.j.c.length=0,e.a.c.length=0,Zs(e.k),m=l(ze(t.b,0),26),v=N8(m.a,(F7(),xL)),M=l(ze(t.b,t.b.c.length-1),26),T=N8(M.a,xL),U=new V(t.b),z=null,on=0;do{for(se=U.a<U.c.c.length?l(q(U),26):null,yNn(e,z,se),UAn(e),ft=DQt(bhn(AP(lr(new Et(null,new St(e.i,16)),new gHe),new bHe))),Dt=0,de=on,N=!z||v&&z==m,O=!se||T&&se==M,ft>0?(y=0,z&&(y+=p),y+=(ft-1)*f,se&&(y+=p),lt&&se&&(y=b.Math.max(y,eSn(se,f,ne,qe))),y<ne&&!N&&!O&&(Dt=(ne-y)/2,y=ne),de+=y):!N&&!O&&(de+=ne),se&&P0e(se,de),ye=new V(e.i);ye.a<ye.c.c.length;)Ee=l(q(ye),134),Ee.a.c=on,Ee.a.b=de-on,Ee.F=Dt,Ee.p=!z;li(e.a,e.i),on=de,se&&(on+=se.c.a),z=se,N=O}while(se);for(a=new V(e.j);a.a<a.c.c.length;)o=l(q(a),17),u=rhn(e,o),Te(o,(Ie(),n2),u),It=pSn(e,o),Te(o,pm,It);t.f.a=on,e.d=null,r.Ug()}function UNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(e.b=t,e.a=l(F(t,(Be(),EAe)),15).a,e.c=l(F(t,TAe),15).a,e.c==0&&(e.c=sr),z=new Xi(t.b,0);z.b<z.d.gc();){for(U=(un(z.b<z.d.gc()),l(z.d.Xb(z.c=z.b++),26)),p=new je,v=-1,de=-1,se=new V(U.a);se.a<se.c.c.length;)ne=l(q(se),9),yd(($O(),new $t(qt(Lf(ne).a.Jc(),new D))))>=e.a&&(o=w_n(e,ne),v=b.Math.max(v,o.b),de=b.Math.max(de,o.d),Fe(p,new ko(ne,o)));for(lt=new je,y=0;y<v;++y)Nb(lt,0,(un(z.b>0),z.a.Xb(z.c=--z.b),ft=new ra(e.b),Vw(z,ft),un(z.b<z.d.gc()),z.d.Xb(z.c=z.b++),ft));for(f=new V(p);f.a<f.c.c.length;)if(a=l(q(f),49),O=l(a.b,573).a,!!O)for(N=new V(O);N.a<N.c.c.length;)T=l(q(N),9),sbe(e,T,T$,lt);for(r=new je,m=0;m<de;++m)Fe(r,(It=new ra(e.b),Vw(z,It),It));for(u=new V(p);u.a<u.c.c.length;)if(a=l(q(u),49),qe=l(a.b,573).c,!!qe)for(ye=new V(qe);ye.a<ye.c.c.length;)Ee=l(q(ye),9),sbe(e,Ee,A$,r)}for(J=new Xi(t.b,0);J.b<J.d.gc();)M=(un(J.b<J.d.gc()),l(J.d.Xb(J.c=J.b++),26)),M.a.c.length==0&&Mu(J)}function CEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(U=e.i!=0,se=!1,J=null,Ju(e.e)){if(v=t.gc(),v>0){for(N=v<100?null:new Qg(v),y=new vge(t),M=y.g,J=we(Rn,Qn,30,v,15,1),o=0,de=new w0(v),a=0;a<e.i;++a){p=e.g[a],O=p;e:for(ne=0;ne<2;++ne){for(m=v;--m>=0;)if(O!=null?pr(O,M[m]):be(O)===be(M[m])){J.length<=o&&(z=J,J=we(Rn,Qn,30,2*J.length,15,1),ua(z,0,J,0,o)),J[o++]=a,Tn(de,M[m]);break e}if(O=O,be(O)===be(p))break}}if(y=de,M=de.g,v=o,o>J.length&&(z=J,J=we(Rn,Qn,30,o,15,1),ua(z,0,J,0,o)),o>0){for(se=!0,u=0;u<o;++u)O=M[u],N=qit(e,l(O,76),N);for(f=o;--f>=0;)ZS(e,J[f]);if(o!=v){for(a=v;--a>=o;)ZS(y,a);z=J,J=we(Rn,Qn,30,o,15,1),ua(z,0,J,0,o)}t=y}}}else for(t=fmn(e,t),a=e.i;--a>=0;)t.Gc(e.g[a])&&(ZS(e,a),se=!0);if(se){if(J!=null){for(r=t.gc(),T=r==1?j3(e,4,t.Jc().Pb(),null,J[0],U):j3(e,6,t,J,J[0],U),N=r<100?null:new Qg(r),a=t.Jc();a.Ob();)O=a.Pb(),N=ffe(e,l(O,76),N);N?(N.lj(T),N.mj()):hr(e.e,T)}else{for(N=Jnn(t.gc()),a=t.Jc();a.Ob();)O=a.Pb(),N=ffe(e,l(O,76),N);N&&N.mj()}return!0}else return!1}function HNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(r=new T1t(t),r.a||fAn(t),y=lTn(t),m=new b0,z=new $wt,U=new V(t.a);U.a<U.c.c.length;)for(M=l(q(U),9),a=new $t(qt(Or(M).a.Jc(),new D));an(a);)o=l(en(a),17),(o.c.i.k==(zt(),mi)||o.d.i.k==mi)&&(v=Okn(e,o,y,z),yt(m,mY(v.d),v.a));for(f=new je,se=l(F(r.c,(Ie(),_p)),24).Jc();se.Ob();){switch(ne=l(se.Pb(),64),O=z.c[ne.g],N=z.b[ne.g],p=z.a[ne.g],u=null,J=null,ne.g){case 4:u=new ql(e.d.a,O,y.b.a-e.d.a,N-O),J=new ql(e.d.a,O,p,N-O),a0(y,new Me(u.c+u.b,u.d)),a0(y,new Me(u.c+u.b,u.d+u.a));break;case 2:u=new ql(y.a.a,O,e.c.a-y.a.a,N-O),J=new ql(e.c.a-p,O,p,N-O),a0(y,new Me(u.c,u.d)),a0(y,new Me(u.c,u.d+u.a));break;case 1:u=new ql(O,e.d.b,N-O,y.b.b-e.d.b),J=new ql(O,e.d.b,N-O,p),a0(y,new Me(u.c,u.d+u.a)),a0(y,new Me(u.c+u.b,u.d+u.a));break;case 3:u=new ql(O,y.a.b,N-O,e.c.b-y.a.b),J=new ql(O,e.c.b-p,N-O,p),a0(y,new Me(u.c,u.d)),a0(y,new Me(u.c+u.b,u.d))}u&&(T=new _Ze,T.d=ne,T.b=u,T.c=J,T.a=EW(l(wr(m,mY(ne)),24)),Ot(f.c,T))}return li(r.b,f),r.d=$pn(Hxn(y)),r}function IEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U;if(r.p[t.p]==null){p=!0,r.p[t.p]=0,f=t,U=r.o==(zd(),Em)?Li:Kr;do a=e.b.e[f.p],u=f.c.a.c.length,r.o==Em&&a>0||r.o==uf&&a<u-1?(m=null,y=null,r.o==uf?m=l(ze(f.c.a,a+1),9):m=l(ze(f.c.a,a-1),9),y=r.g[m.p],IEt(e,y,r),U=e.e.vg(U,t,f),r.j[t.p]==t&&(r.j[t.p]=r.j[y.p]),r.j[t.p]==r.j[y.p]?(M=rE(e.d,f,m),r.o==uf?(o=ue(r.p[t.p]),T=ue(r.p[y.p])+ue(r.d[m.p])-m.d.d-M-f.d.a-f.o.b-ue(r.d[f.p]),p?(p=!1,r.p[t.p]=b.Math.min(T,U)):r.p[t.p]=b.Math.min(o,b.Math.min(T,U))):(o=ue(r.p[t.p]),T=ue(r.p[y.p])+ue(r.d[m.p])+m.o.b+m.d.a+M+f.d.d-ue(r.d[f.p]),p?(p=!1,r.p[t.p]=b.Math.max(T,U)):r.p[t.p]=b.Math.max(o,b.Math.max(T,U)))):(M=ue(ce(F(e.a,(Be(),vm)))),O=dht(e,r.j[t.p]),v=dht(e,r.j[y.p]),r.o==uf?(N=ue(r.p[t.p])+ue(r.d[f.p])+f.o.b+f.d.a+M-(ue(r.p[y.p])+ue(r.d[m.p])-m.d.d),Dut(O,v,N)):(N=ue(r.p[t.p])+ue(r.d[f.p])-f.d.d-ue(r.p[y.p])-ue(r.d[m.p])-m.o.b-m.d.a-M,Dut(O,v,N)))):U=e.e.vg(U,t,f),f=r.a[f.p];while(f!=t);iQt(e.e,t)}}function zNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;if(r=ue(ce(F(e.a.j,(Be(),hAe)))),r<-1||!e.a.i||AS(l(F(e.a.o,Zr),103))||ks(e.a.o,(He(),Qt)).gc()<2&&ks(e.a.o,Kt).gc()<2)return!0;if(e.a.c.ig())return!1;for(Ee=0,de=0,se=new je,m=e.a.e,y=0,v=m.length;y<v;++y){for(p=m[y],N=p,O=0,U=N.length;O<U;++O){if(T=N[O],T.k==(zt(),_a)){Ot(se.c,T);continue}for(o=e.b[T.c.p][T.p],T.k==mi?(o.b=1,l(F(T,(Ie(),mr)),12).j==(He(),Qt)&&(de+=o.a)):(ft=ks(T,(He(),Kt)),ft.dc()||!pV(ft,new xUe)?o.c=1:(a=ks(T,Qt),(a.dc()||!pV(a,new _Ue))&&(Ee+=o.a))),f=new $t(qt(Or(T).a.Jc(),new D));an(f);)u=l(en(f),17),Ee+=o.c,de+=o.b,lt=u.d.i,Rpe(e,o,lt);for(J=Wc(Z(X(nl,1),Rt,22,0,[ks(T,(He(),Wt)),ks(T,dn)])),qe=new $t(new Ade(J.a.length,J.a));an(qe);)ye=l(en(qe),12),ne=l(F(ye,(Ie(),Nu)),9),ne&&(Ee+=o.c,de+=o.b,Rpe(e,o,ne))}for(M=new V(se);M.a<M.c.c.length;)for(T=l(q(M),9),o=e.b[T.c.p][T.p],f=new $t(qt(Or(T).a.Jc(),new D));an(f);)u=l(en(f),17),Ee+=o.c,de+=o.b,lt=u.d.i,Rpe(e,o,lt);se.c.length=0}return t=Ee+de,z=t==0?Kr:(Ee-de)/t,z>=r}function GNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(se=e.a,de=0,Ee=se.length;de<Ee;++de){for(ne=se[de],y=sr,v=sr,M=new V(ne.e);M.a<M.c.c.length;)N=l(q(M),9),f=N.c?_s(N.c.a,N,0):-1,f>0?(T=l(ze(N.c.a,f-1),9),lt=rE(e.b,N,T),z=N.n.b-N.d.d-(T.n.b+T.o.b+T.d.a+lt)):z=N.n.b-N.d.d,y=b.Math.min(z,y),f<N.c.a.c.length-1?(T=l(ze(N.c.a,f+1),9),lt=rE(e.b,N,T),J=T.n.b-T.d.d-(N.n.b+N.o.b+N.d.a+lt)):J=2*N.n.b,v=b.Math.min(J,v);for(m=sr,u=!1,a=l(ze(ne.e,0),9),It=new V(a.j);It.a<It.c.c.length;)for(ft=l(q(It),12),U=a.n.b+ft.n.b+ft.a.b,o=new V(ft.e);o.a<o.c.c.length;)r=l(q(o),17),ye=r.c,t=ye.i.n.b+ye.n.b+ye.a.b-U,b.Math.abs(t)<b.Math.abs(m)&&b.Math.abs(t)<(t<0?y:v)&&(m=t,u=!0);for(p=l(ze(ne.e,ne.e.c.length-1),9),qe=new V(p.j);qe.a<qe.c.c.length;)for(ye=l(q(qe),12),U=p.n.b+ye.n.b+ye.a.b,o=new V(ye.g);o.a<o.c.c.length;)r=l(q(o),17),ft=r.d,t=ft.i.n.b+ft.n.b+ft.a.b-U,b.Math.abs(t)<b.Math.abs(m)&&b.Math.abs(t)<(t<0?y:v)&&(m=t,u=!0);if(u&&m!=0)for(O=new V(ne.e);O.a<O.c.c.length;)N=l(q(O),9),N.n.b+=m}}function qNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on;for(se=t,ne=new b0,de=new b0,v=m0(se,dQ),o=new wat(e,r,ne,de),wmt(o.a,o.b,o.c,o.d,v),m=(qe=ne.i,qe||(ne.i=new sE(ne,ne.c))),ft=m.Jc();ft.Ob();)for(lt=l(ft.Pb(),171),a=l(wr(ne,lt),24),U=a.Jc();U.Ob();)if(M=U.Pb(),Ee=l(pE(e.f,M),171),Ee)p=(!lt.e&&(lt.e=new Tt(jr,lt,10,9)),lt.e),Tn(p,Ee);else throw f=sp(se,qf),N=eAt+M+tAt+f,O=N+Px,Y(new xf(O));for(y=(ye=de.i,ye||(de.i=new sE(de,de.c))),Dt=y.Jc();Dt.Ob();)for(It=l(Dt.Pb(),171),u=l(wr(de,It),24),J=u.Jc();J.Ob();)if(z=J.Pb(),Ee=l(pE(e.f,z),171),Ee)T=(!It.g&&(It.g=new Tt(jr,It,9,10)),It.g),Tn(T,Ee);else throw f=sp(se,qf),N=eAt+z+tAt+f,O=N+Px,Y(new xf(O));!r.b&&(r.b=new Tt(pn,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Tt(pn,r,5,8)),r.c.i!=0)&&(!r.b&&(r.b=new Tt(pn,r,4,7)),r.b.i<=1&&(!r.c&&(r.c=new Tt(pn,r,5,8)),r.c.i<=1))&&(!r.a&&(r.a=new ke(jr,r,6,6)),r.a).i==1&&(on=l(oe((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171),!SY(on)&&!TY(on)&&(Ej(on,l(oe((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),83)),Sj(on,l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83))))}function VNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;if(o=new je,a=sr,u=sr,f=sr,r)for(a=e.f.a,U=new V(t.j);U.a<U.c.c.length;)for(M=l(q(U),12),m=new V(M.g);m.a<m.c.c.length;)p=l(q(m),17),p.a.b!=0&&(v=l(YA(p.a),8),v.a<a&&(u=a-v.a,f=sr,o.c.length=0,a=v.a),v.a<=a&&(Ot(o.c,p),p.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(sa(p.a,1),8).b-v.b)))));else for(U=new V(t.j);U.a<U.c.c.length;)for(M=l(q(U),12),m=new V(M.e);m.a<m.c.c.length;)p=l(q(m),17),p.a.b!=0&&(N=l(zl(p.a),8),N.a>a&&(u=N.a-a,f=sr,o.c.length=0,a=N.a),N.a>=a&&(Ot(o.c,p),p.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(sa(p.a,p.a.b-2),8).b-N.b)))));if(o.c.length!=0&&u>t.o.a/2&&f>t.o.b/2){for(O=new aa,As(O,t),Ci(O,(He(),Wt)),O.n.a=t.o.a/2,J=new aa,As(J,t),Ci(J,dn),J.n.a=t.o.a/2,J.n.b=t.o.b,m=new V(o);m.a<m.c.c.length;)p=l(q(m),17),r?(y=l(jV(p.a),8),z=p.a.b==0?qd(p.d):l(YA(p.a),8),z.b>=y.b?bo(p,J):bo(p,O)):(y=l(Son(p.a),8),z=p.a.b==0?qd(p.c):l(zl(p.a),8),z.b>=y.b?Ji(p,J):Ji(p,O)),T=l(F(p,(Be(),ss)),79),T&&gy(T,y,!0);t.n.a=a-t.o.a/2}}function WNn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(p=An(e.b,0);p.b!=p.d.c;)if(f=l(Sn(p),41),!wt(f.c,DF))for(y=bEn(f,e),t==(vi(),as)||t==fs?xi(y,new sze):xi(y,new aze),m=y.c.length,o=0;o<m;o++)v=(at(o,y.c.length),l(y.c[o],65)).c,wt(v.c,"n11"),!(Ye(Ke(F(f,(Nr(),H_e))))&&!apt((at(o,y.c.length),l(y.c[o],65)),e))&&(a=m==1?.5:(o+1)/(m+1),t==as?(u=ue(ce(F(f,Id))),N=f.e.b+f.f.b*a,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(b.Math.min(u,f.e.a-r),N)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(f.e.a,N))):t==fs?(u=ue(ce(F(f,sd)))+r,N=f.e.b+f.f.b*a,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(u,N)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(f.e.a+f.f.a,N))):t==il?(u=ue(ce(F(f,Id))),T=f.e.a+f.f.a*a,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,b.Math.min(f.e.b-r,u))),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,f.e.b))):(u=ue(ce(F(f,sd)))+r,T=f.e.a+f.f.a*a,Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,u)),Zv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,f.e.b+f.f.b))))}function fD(e,t,r,o,a,u,f,p,m){var y,v,T,N,O,M,U;switch(O=r,v=new Xd(m),Jh(v,(zt(),mi)),Te(v,(Ie(),wTe),f),Te(v,(Be(),Zr),(qi(),fa)),U=ue(ce(e.mf(Jy))),Te(v,Jy,U),T=new aa,As(T,v),t!=pf&&t!=W1||(o>=0?O=WS(p):O=P6(WS(p)),e.of(rk,O)),y=new ro,N=!1,e.nf(sw)?(Pde(y,l(e.mf(sw),8)),N=!0):$tn(y,f.a/2,f.b/2),O.g){case 4:Te(v,Cs,(ic(),xp)),Te(v,rB,(Vb(),JE)),v.o.b=f.b,U<0&&(v.o.a=-U),Ci(T,(He(),Qt)),N||(y.a=f.a),y.a-=f.a;break;case 2:Te(v,Cs,(ic(),gm)),Te(v,rB,(Vb(),Jx)),v.o.b=f.b,U<0&&(v.o.a=-U),Ci(T,(He(),Kt)),N||(y.a=0);break;case 1:Te(v,hm,(lp(),ZE)),v.o.a=f.a,U<0&&(v.o.b=-U),Ci(T,(He(),dn)),N||(y.b=f.b),y.b-=f.b;break;case 3:Te(v,hm,(lp(),kT)),v.o.a=f.a,U<0&&(v.o.b=-U),Ci(T,(He(),Wt)),N||(y.b=0)}if(Pde(T.n,y),Te(v,sw,y),t==_m||t==Oh||t==fa){if(M=0,t==_m&&e.nf(xg))switch(O.g){case 1:case 2:M=l(e.mf(xg),15).a;break;case 3:case 4:M=-l(e.mf(xg),15).a}else switch(O.g){case 4:case 2:M=u.b,t==Oh&&(M/=a.b);break;case 1:case 3:M=u.a,t==Oh&&(M/=a.a)}Te(v,nw,M)}return Te(v,Hs,O),v}function KNn(){ole();function e(o){var a=this;this.dispatch=function(u){var f=u.data;switch(f.cmd){case"algorithms":var p=R1e((At(),new CA(new Zh(J1.b))));o.postMessage({id:f.id,data:p});break;case"categories":var m=R1e((At(),new CA(new Zh(J1.c))));o.postMessage({id:f.id,data:m});break;case"options":var y=R1e((At(),new CA(new Zh(J1.d))));o.postMessage({id:f.id,data:y});break;case"register":Kxn(f.algorithms),o.postMessage({id:f.id});break;case"layout":hxn(f.graph,f.layoutOptions||{},f.options||{}),o.postMessage({id:f.id,data:f.graph});break}},this.saveDispatch=function(u){try{a.dispatch(u)}catch(f){o.postMessage({id:u.data.id,error:f})}}}function t(o){var a=this;this.dispatcher=new e({postMessage:function(u){a.onmessage({data:u})}}),this.postMessage=function(u){setTimeout(function(){a.dispatcher.saveDispatch({data:u})},0)}}if(typeof document===kX&&typeof self!==kX){var r=new e(self);self.onmessage=r.saveDispatch}else typeof c!==kX&&c.exports&&(Object.defineProperty(d,"__esModule",{value:!0}),c.exports={default:t,Worker:t})}function zJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr;for(U=0,It=0,y=new V(e.b);y.a<y.c.c.length;)m=l(q(y),168),m.c&&iEt(m.c),U=b.Math.max(U,hu(m)),It+=hu(m)*ec(m);for(z=It/e.b.c.length,ft=n0n(e.b,z),It+=e.b.c.length*ft,U=b.Math.max(U,b.Math.sqrt(It*f))+r.b,qn=r.b,Gr=r.d,O=0,T=r.b+r.c,lt=new Ar,Gn(lt,Re(0)),ye=new Ar,v=new Xi(e.b,0),M=null,p=new je;v.b<v.d.gc();)m=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),on=hu(m),N=ec(m),qn+on>U&&(u&&(Eo(ye,O),Eo(lt,Re(v.b-1)),Fe(e.d,M),p.c.length=0),qn=r.b,Gr+=O+t,O=0,T=b.Math.max(T,r.b+r.c+on)),Ot(p.c,m),m1t(m,qn,Gr),T=b.Math.max(T,qn+on+r.c),O=b.Math.max(O,N),qn+=on+t,M=m;if(li(e.a,p),Fe(e.d,l(ze(p,p.c.length-1),168)),T=b.Math.max(T,o),Dt=Gr+O+r.a,Dt<a&&(O+=a-Dt,Dt=a),u)for(qn=r.b,v=new Xi(e.b,0),Eo(lt,Re(e.b.c.length)),qe=An(lt,0),ne=l(Sn(qe),15).a,Eo(ye,O),Ee=An(ye,0),de=0;v.b<v.d.gc();)v.b==ne&&(qn=r.b,de=ue(ce(Sn(Ee))),ne=l(Sn(qe),15).a),m=(un(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),Xgt(m,de),v.b==ne&&(J=T-qn-r.c,se=hu(m),Zgt(m,J),mgt(m,(J-se)/2,0)),qn+=hu(m)+t;return new Me(T,Dt)}function YNn(e){e.N||(e.N=!0,e.b=Ps(e,0),Jr(e.b,0),Jr(e.b,1),Jr(e.b,2),e.bb=Ps(e,1),Jr(e.bb,0),Jr(e.bb,1),e.fb=Ps(e,2),Jr(e.fb,3),Jr(e.fb,4),Lr(e.fb,5),e.qb=Ps(e,3),Jr(e.qb,0),Lr(e.qb,1),Lr(e.qb,2),Jr(e.qb,3),Jr(e.qb,4),Lr(e.qb,5),Jr(e.qb,6),e.a=rr(e,4),e.c=rr(e,5),e.d=rr(e,6),e.e=rr(e,7),e.f=rr(e,8),e.g=rr(e,9),e.i=rr(e,10),e.j=rr(e,11),e.k=rr(e,12),e.n=rr(e,13),e.o=rr(e,14),e.p=rr(e,15),e.q=rr(e,16),e.s=rr(e,17),e.r=rr(e,18),e.t=rr(e,19),e.u=rr(e,20),e.v=rr(e,21),e.w=rr(e,22),e.B=rr(e,23),e.A=rr(e,24),e.C=rr(e,25),e.D=rr(e,26),e.F=rr(e,27),e.G=rr(e,28),e.H=rr(e,29),e.J=rr(e,30),e.I=rr(e,31),e.K=rr(e,32),e.M=rr(e,33),e.L=rr(e,34),e.P=rr(e,35),e.Q=rr(e,36),e.R=rr(e,37),e.S=rr(e,38),e.T=rr(e,39),e.U=rr(e,40),e.V=rr(e,41),e.X=rr(e,42),e.W=rr(e,43),e.Y=rr(e,44),e.Z=rr(e,45),e.$=rr(e,46),e._=rr(e,47),e.ab=rr(e,48),e.cb=rr(e,49),e.db=rr(e,50),e.eb=rr(e,51),e.gb=rr(e,52),e.hb=rr(e,53),e.ib=rr(e,54),e.jb=rr(e,55),e.kb=rr(e,56),e.lb=rr(e,57),e.mb=rr(e,58),e.nb=rr(e,59),e.ob=rr(e,60),e.pb=rr(e,61))}function JNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(ne=0,t.f.a==0)for(z=new V(e);z.a<z.c.c.length;)M=l(q(z),9),ne=b.Math.max(ne,M.n.a+M.o.a+M.d.c);else ne=t.f.a-t.c.a;for(ne-=t.c.a,U=new V(e);U.a<U.c.c.length;){switch(M=l(q(U),9),jN(M.n,ne-M.o.a),Cfe(M.f),W1t(M),(M.q?M.q:(At(),At(),xh))._b((Be(),Zy))&&jN(l(F(M,Zy),8),ne-M.o.a),l(F(M,Kf),259).g){case 1:Te(M,Kf,(mh(),FL));break;case 2:Te(M,Kf,(mh(),jL))}for(J=M.o,de=new V(M.j);de.a<de.c.c.length;){for(se=l(q(de),12),jN(se.n,J.a-se.o.a),jN(se.a,se.o.a),Ci(se,Eht(se.j)),f=l(F(se,xg),15),f&&Te(se,xg,Re(-f.a)),u=new V(se.g);u.a<u.c.c.length;){for(a=l(q(u),17),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a=ne-r.a;if(y=l(F(a,ss),79),y)for(m=An(y,0);m.b!=m.d.c;)p=l(Sn(m),8),p.a=ne-p.a;for(N=new V(a.b);N.a<N.c.c.length;)v=l(q(N),70),jN(v.n,ne-v.o.a)}for(O=new V(se.f);O.a<O.c.c.length;)v=l(q(O),70),jN(v.n,se.o.a-v.o.a)}for(M.k==(zt(),mi)&&(Te(M,(Ie(),Hs),Eht(l(F(M,Hs),64))),Vwn(M)),T=new V(M.b);T.a<T.c.c.length;)v=l(q(T),70),W1t(v),jN(v.n,J.a-v.o.a)}}function XNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(ne=0,t.f.b==0)for(z=new V(e);z.a<z.c.c.length;)M=l(q(z),9),ne=b.Math.max(ne,M.n.b+M.o.b+M.d.a);else ne=t.f.b-t.c.b;for(ne-=t.c.b,U=new V(e);U.a<U.c.c.length;){switch(M=l(q(U),9),PN(M.n,ne-M.o.b),Nfe(M.f),K1t(M),(M.q?M.q:(At(),At(),xh))._b((Be(),Zy))&&PN(l(F(M,Zy),8),ne-M.o.b),l(F(M,Kf),259).g){case 3:Te(M,Kf,(mh(),eU));break;case 4:Te(M,Kf,(mh(),nU))}for(J=M.o,de=new V(M.j);de.a<de.c.c.length;){for(se=l(q(de),12),PN(se.n,J.b-se.o.b),PN(se.a,se.o.b),Ci(se,Sht(se.j)),f=l(F(se,xg),15),f&&Te(se,xg,Re(-f.a)),u=new V(se.g);u.a<u.c.c.length;){for(a=l(q(u),17),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.b=ne-r.b;if(y=l(F(a,ss),79),y)for(m=An(y,0);m.b!=m.d.c;)p=l(Sn(m),8),p.b=ne-p.b;for(N=new V(a.b);N.a<N.c.c.length;)v=l(q(N),70),PN(v.n,ne-v.o.b)}for(O=new V(se.f);O.a<O.c.c.length;)v=l(q(O),70),PN(v.n,se.o.b-v.o.b)}for(M.k==(zt(),mi)&&(Te(M,(Ie(),Hs),Sht(l(F(M,Hs),64))),wgn(M)),T=new V(M.b);T.a<T.c.c.length;)v=l(q(T),70),K1t(v),PN(v.n,J.b-v.o.b)}}function ZNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn;for(ne=new Xi(e.b,0),v=t.Jc(),M=0,y=l(v.Pb(),15).a,Ee=0,r=new hi,qe=new uh;ne.b<ne.d.gc();){for(J=(un(ne.b<ne.d.gc()),l(ne.d.Xb(ne.c=ne.b++),26)),de=new V(J.a);de.a<de.c.c.length;){for(se=l(q(de),9),O=new $t(qt(Or(se).a.Jc(),new D));an(O);)T=l(en(O),17),qe.a.yc(T,qe);for(N=new $t(qt(si(se).a.Jc(),new D));an(N);)T=l(en(N),17),qe.a.Ac(T)!=null}if(M+1==y){for(a=new ra(e),Vw(ne,a),u=new ra(e),Vw(ne,u),ft=qe.a.ec().Jc();ft.Ob();)lt=l(ft.Pb(),17),r.a._b(lt)||(++Ee,r.a.yc(lt,r)),f=new Xd(e),Te(f,(Be(),Zr),(qi(),Sk)),Oi(f,a),Jh(f,(zt(),af)),U=new aa,As(U,f),Ci(U,(He(),Kt)),It=new aa,As(It,f),Ci(It,Qt),o=new Xd(e),Te(o,Zr,Sk),Oi(o,u),Jh(o,af),z=new aa,As(z,o),Ci(z,Kt),Dt=new aa,As(Dt,o),Ci(Dt,Qt),ye=new p0,bo(ye,lt.c),Ji(ye,U),Te(ye,(Ie(),Cr),l(F(lt,Cr),15)),qn=new p0,bo(qn,It),Ji(qn,z),Te(qn,Cr,l(F(lt,Cr),15)),bo(lt,Dt),p=new ipe(f,o,ye,qn,lt),Te(f,ew,p),Te(o,ew,p),on=ye.c.i,on.k==af&&(m=l(F(on,ew),318),m.d=p,p.g=m);if(v.Ob())y=l(v.Pb(),15).a;else break}++M}return Re(Ee)}function QNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(U=new je,N=new V(e.d.b);N.a<N.c.c.length;)for(T=l(q(N),26),M=new V(T.a);M.a<M.c.c.length;){for(O=l(q(M),9),a=l(Ht(e.f,O),60),m=new $t(qt(Or(O).a.Jc(),new D));an(m);)if(f=l(en(m),17),o=An(f.a,0),y=!0,v=null,o.b!=o.d.c){for(t=l(Sn(o),8),r=null,f.c.j==(He(),Wt)&&(z=new DC(t,new Me(t.a,a.d.d),a,f),z.f.a=!0,z.a=f.c,Ot(U.c,z)),f.c.j==dn&&(z=new DC(t,new Me(t.a,a.d.d+a.d.a),a,f),z.f.d=!0,z.a=f.c,Ot(U.c,z));o.b!=o.d.c;)r=l(Sn(o),8),Vpe(t.b,r.b)||(v=new DC(t,r,null,f),Ot(U.c,v),y&&(y=!1,r.b<a.d.d?v.f.a=!0:r.b>a.d.d+a.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))),o.b!=o.d.c&&(t=r);v&&(u=l(Ht(e.f,f.d.i),60),t.b<u.d.d?v.f.a=!0:t.b>u.d.d+u.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(p=new $t(qt(si(O).a.Jc(),new D));an(p);)f=l(en(p),17),f.a.b!=0&&(t=l(zl(f.a),8),f.d.j==(He(),Wt)&&(z=new DC(t,new Me(t.a,a.d.d),a,f),z.f.a=!0,z.a=f.d,Ot(U.c,z)),f.d.j==dn&&(z=new DC(t,new Me(t.a,a.d.d+a.d.a),a,f),z.f.d=!0,z.a=f.d,Ot(U.c,z)))}return U}function e3n(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(m=new je,T=t.length,f=jge(r),y=0;y<T;++y){switch(v=xde(t,Qa(61),y),o=vgn(f,(io(y,v,t.length),t.substr(y,v-y))),a=IK(o),u=a.hk().ti(),co(t,++v)){case 39:{p=KA(t,39,++v),Fe(m,new _8(o,mW((io(v,p,t.length),t.substr(v,p-v)),u,a))),y=p+1;break}case 34:{p=KA(t,34,++v),Fe(m,new _8(o,mW((io(v,p,t.length),t.substr(v,p-v)),u,a))),y=p+1;break}case 91:{N=new je,Fe(m,new _8(o,N));e:for(;;){switch(co(t,++v)){case 39:{p=KA(t,39,++v),Fe(N,mW((io(v,p,t.length),t.substr(v,p-v)),u,a)),v=p+1;break}case 34:{p=KA(t,34,++v),Fe(N,mW((io(v,p,t.length),t.substr(v,p-v)),u,a)),v=p+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)N.c.push(null);else throw Y(new Es(qTt));v+=3;break}}if(v<T)switch(Yt(v,t.length),t.charCodeAt(v)){case 44:break;case 93:break e;default:throw Y(new Es("Expecting , or ]"))}else break}y=v+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)Fe(m,new _8(o,null));else throw Y(new Es(qTt));y=v+3;break}}if(y<T){if(Yt(y,t.length),t.charCodeAt(y)!=44)throw Y(new Es("Expecting ,"))}else break}return PSn(e,m,r)}function t3n(e){var t,r,o,a,u;switch(t=e.c,u=null,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:dr(e),u=(fr(),X3e);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 u=e.bm(e.a),dr(e),u;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:r=e.am(),r<No?u=(fr(),fr(),new dh(0,r)):u=ast(p1e(r));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(u=bme(e,e.a),!u)throw Y(new Ln(jn((Cn(),bQ))));break;default:u=Aot(e.a)}dr(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw Y(new Ln(jn((Cn(),EEe))));u=Aot(e.a),o=e.a,dr(e),(o&64512)==TD&&e.c==0&&(e.a&64512)==56320&&(a=we(al,Bf,30,2,15,1),a[0]=o&Ei,a[1]=e.a&Ei,u=QV(ast(Mf(a,0,a.length)),0),dr(e));break;default:throw Y(new Ln(jn((Cn(),EEe))))}return u}function n3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt;for(ft=new Ar,ye=new Ar,z=-1,m=new V(e);m.a<m.c.c.length;){for(f=l(q(m),134),f.s=z--,v=0,se=0,u=new V(f.t);u.a<u.c.c.length;)o=l(q(u),275),se+=o.c;for(a=new V(f.i);a.a<a.c.c.length;)o=l(q(a),275),v+=o.c;f.n=v,f.u=se,se==0?Wr(ye,f,ye.c.b,ye.c):v==0&&Wr(ft,f,ft.c.b,ft.c)}for(Dt=VP(e),T=e.c.length,U=T+1,J=T-1,O=new je;Dt.a.gc()!=0;){for(;ye.b!=0;)Ee=(un(ye.b!=0),l(Vc(ye,ye.a.a),134)),Dt.a.Ac(Ee)!=null,Ee.s=J--,jme(Ee,ft,ye);for(;ft.b!=0;)qe=(un(ft.b!=0),l(Vc(ft,ft.a.a),134)),Dt.a.Ac(qe)!=null,qe.s=U++,jme(qe,ft,ye);for(M=Qi,y=Dt.a.ec().Jc();y.Ob();)f=l(y.Pb(),134),ne=f.u-f.n,ne>=M&&(ne>M&&(O.c.length=0,M=ne),Ot(O.c,f));O.c.length!=0&&(N=l(ze(O,u7(t,O.c.length)),134),Dt.a.Ac(N)!=null,N.s=U++,jme(N,ft,ye),O.c.length=0)}for(de=e.c.length+1,p=new V(e);p.a<p.c.c.length;)f=l(q(p),134),f.s<T&&(f.s+=de);for(lt=new V(e);lt.a<lt.c.c.length;)for(qe=l(q(lt),134),r=new Xi(qe.t,0);r.b<r.d.gc();)o=(un(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),275)),It=o.b,qe.s>It.s&&(Mu(r),Xa(It.i,o),o.c>0&&(o.a=It,Fe(It.t,o),o.b=qe,Fe(qe.i,o)))}function REt(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt;for(U=new Da(t.b),de=new Da(t.b),N=new Da(t.b),lt=new Da(t.b),z=new Da(t.b),qe=An(t,0);qe.b!=qe.d.c;)for(Ee=l(Sn(qe),12),p=new V(Ee.g);p.a<p.c.c.length;)if(u=l(q(p),17),u.c.i==u.d.i){if(Ee.j==u.d.j){Ot(lt.c,u);continue}else if(Ee.j==(He(),Wt)&&u.d.j==dn){Ot(z.c,u);continue}}for(m=new V(z);m.a<m.c.c.length;)u=l(q(m),17),TAn(e,u,r,o,(He(),Qt));for(f=new V(lt);f.a<f.c.c.length;)u=l(q(f),17),ft=new Xd(e),Jh(ft,(zt(),_a)),Te(ft,(Be(),Zr),(qi(),fa)),Te(ft,(Ie(),mr),u),It=new aa,Te(It,mr,u.d),Ci(It,(He(),Kt)),As(It,ft),Dt=new aa,Te(Dt,mr,u.c),Ci(Dt,Qt),As(Dt,ft),Te(u.c,Nu,ft),Te(u.d,Nu,ft),bo(u,null),Ji(u,null),Ot(r.c,ft),Te(ft,nB,Re(2));for(ye=An(t,0);ye.b!=ye.d.c;)Ee=l(Sn(ye),12),y=Ee.e.c.length>0,J=Ee.g.c.length>0,y&&J?Ot(N.c,Ee):y?Ot(U.c,Ee):J&&Ot(de.c,Ee);for(M=new V(U);M.a<M.c.c.length;)O=l(q(M),12),Fe(a,I0e(e,O,null,r));for(se=new V(de);se.a<se.c.c.length;)ne=l(q(se),12),Fe(a,I0e(e,null,ne,r));for(T=new V(N);T.a<T.c.c.length;)v=l(q(T),12),Fe(a,I0e(e,v,v,r))}function GJ(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(N=Kr,O=Kr,v=0,T=0,m=new je,p=new tn((!e.b&&(e.b=new ke(Ir,e,12,3)),e.b));p.e!=p.i.gc();)u=l(rn(p),74),m=Wc(Z(X(nl,1),Rt,22,0,[m,(!u.n&&(u.n=new ke(Rs,u,1,7)),u.n)]));for(se=hh(Wc(Z(X(nl,1),Rt,22,0,[(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n),(!e.a&&(e.a=new ke(En,e,10,11)),e.a),m])));an(se);)ne=l(en(se),278),y=l(ne.mf((_n(),Cp)),125),N>ne.mh()-y.b&&(N=ne.mh()-y.b),O>ne.nh()-y.d&&(O=ne.nh()-y.d),v<ne.mh()+ne.lh()+y.c&&(v=ne.mh()+ne.lh()+y.c),T<ne.nh()+ne.kh()+y.a&&(T=ne.nh()+ne.kh()+y.a);for(f=new tn((!e.b&&(e.b=new ke(Ir,e,12,3)),e.b));f.e!=f.i.gc();)for(u=l(rn(f),74),J=new tn((!u.a&&(u.a=new ke(jr,u,6,6)),u.a));J.e!=J.i.gc();)for(z=l(rn(J),171),M=z.j,o=z.b,U=z.k,a=z.c,N=b.Math.min(N,M),N=b.Math.min(N,o),v=b.Math.max(v,M),v=b.Math.max(v,o),O=b.Math.min(O,U),O=b.Math.min(O,a),T=b.Math.max(T,U),T=b.Math.max(T,a),r=new tn((!z.a&&(z.a=new yi(Ic,z,5)),z.a));r.e!=r.i.gc();)t=l(rn(r),373),N=b.Math.min(N,t.a),v=b.Math.max(v,t.a),O=b.Math.min(O,t.b),T=b.Math.max(T,t.b);Vn(e,(_n(),av),v-N),Vn(e,sv,T-O)}function OEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr;for(O=l(F(e,(h1(),_T)),19),se=sr,de=sr,J=Qi,ne=Qi,ye=new V(e.e);ye.a<ye.c.c.length;)Ee=l(q(ye),156),Dt=Ee.d,on=Ee.e,se=b.Math.min(se,Dt.a-on.a/2),de=b.Math.min(de,Dt.b-on.b/2),J=b.Math.max(J,Dt.a+on.a/2),ne=b.Math.max(ne,Dt.b+on.b/2);for(r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),254),Dt=t.d,on=t.e,se=b.Math.min(se,Dt.a-on.a/2),de=b.Math.min(de,Dt.b-on.b/2),J=b.Math.max(J,Dt.a+on.a/2),ne=b.Math.max(ne,Dt.b+on.b/2);for(It=l(ve(O,(ed(),bkt)),100),ft=new Me(It.b-se,It.d-de),y=new V(e.e);y.a<y.c.c.length;)m=l(q(y),156),lt=F(m,_T),ae(lt,209)&&(U=l(lt,19),qe=br(new So(m.d),ft),Bc(U,qe.a-U.g/2,qe.b-U.f/2));for(u=new V(e.c);u.a<u.c.c.length;)a=l(q(u),292),T=l(F(a,_T),74),N=kC(T),qn=new So(Qpe(a)),br(qn,ft),NO(N,qn.a,qn.b),La(a.a,new utt(ft,N)),o=new So(ege(a)),br(o,ft),kO(N,o.a,o.b);for(p=new V(e.d);p.a<p.c.c.length;)f=l(q(p),448),M=l(F(f,_T),158),z=br(new So(f.d),ft),Bc(M,z.a,z.b);Gr=J-se+(It.b+It.c),v=ne-de+(It.d+It.a),Ye(Ke(ve(O,(_n(),uv))))||M0(O,Gr,v,!1,!0),Vn(O,av,Gr-(It.b+It.c)),Vn(O,sv,v-(It.d+It.a))}function r3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;for(r.Tg("Depth first model order layering",1),e.d=t,z=new je,U=new V(e.d.a);U.a<U.c.c.length;)O=l(q(U),9),O.k==(zt(),Xr)&&Ot(z.c,O);for(At(),xi(z,new EUe),f=!0,e.b=new ra(e.d),e.a=null,Fe(e.d.b,e.b),e.b.p=0,e.c=0,e.f=new Ar,M=new V(z);M.a<M.c.c.length;)if(O=l(q(M),9),f)Oi(O,e.b),f=!1;else if(g_n(e,O))if(N=e.c,N=E1t(N,O),o=N+2,v=N-e.c,e.f.b==0)Zme(e,o,O);else if(v>0){for(se=An(e.f,0);se.b!=se.d.c;)ne=l(Sn(se),9),ne.p+=N-e.e;Qbe(e),tc(e.f),Zme(e,o,O)}else{for(Gn(e.f,O),O.p=o,e.e=b.Math.max(e.e,o),u=new $t(qt(si(O).a.Jc(),new D));an(u);)a=l(en(u),17),!a.c.i.c&&a.c.i.k==(zt(),ta)&&(Gn(e.f,a.c.i),a.c.i.p=o-1);e.c=o}else Qbe(e),tc(e.f),o=0,an(new $t(qt(si(O).a.Jc(),new D)))?(N=0,N=E1t(N,O),o=N+2,Zme(e,o,O)):(Gn(e.f,O),O.p=0,e.e=b.Math.max(e.e,0),e.b=l(ze(e.d.b,0),26),e.c=0);for(e.f.b==0||Qbe(e),e.d.a.c.length=0,J=new je,y=new V(e.d.b);y.a<y.c.c.length;)p=l(q(y),26),p.a.c.length==0&&Ot(J.c,p);for(h1e(e.d.b,J),T=0,m=new V(e.d.b);m.a<m.c.c.length;)p=l(q(m),26),p.p=T,++T;r.Ug()}function i3n(e,t,r){var o,a,u,f,p,m,y,v,T;if(r.Tg("Network simplex node placement",1),e.e=t,e.n=l(F(t,(Ie(),t2)),317),gxn(e),z0n(e),ei(bs(new Et(null,new St(e.e.b,16)),new MUe),new PJe(e)),ei(lr(bs(lr(bs(new Et(null,new St(e.e.b,16)),new YUe),new JUe),new XUe),new ZUe),new MJe(e)),Ye(Ke(F(e.e,(Be(),HI))))&&(f=r.dh(1),f.Tg("Straight Edges Pre-Processing",1),Bkn(e),f.Ug()),kbn(e.f),u=l(F(t,qI),15).a*e.f.a.c.length,SJ(Qce(ele(OV(e.f),u),!1),r.dh(1)),e.d.a.gc()!=0){for(f=r.dh(1),f.Tg("Flexible Where Space Processing",1),p=l(Xu(NS(Oa(new Et(null,new St(e.f.a,16)),new PUe),new IUe)),15).a,m=l(Xu(Jw(Oa(new Et(null,new St(e.f.a,16)),new jUe),new RUe)),15).a,y=m-p,v=o0(new Tb,e.f),T=o0(new Tb,e.f),Ql($l(Ul(Bl(Hl(new gl,2e4),y),v),T)),ei(lr(lr(tW(e.i),new $Ue),new BUe),new lat(p,v,y,T)),a=e.d.a.ec().Jc();a.Ob();)o=l(a.Pb(),220),o.g=1;SJ(Qce(ele(OV(e.f),u),!1),f.dh(1)),f.Ug()}Ye(Ke(F(t,HI)))&&(f=r.dh(1),f.Tg("Straight Edges Post-Processing",1),Oyn(e),f.Ug()),Skn(e),e.e=null,e.f=null,e.i=null,e.c=null,Zs(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),r.Ug()}function DEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;return T=zAn(Ya(e,(He(),gf)),t),M=SE(Ya(e,dd),t),de=SE(Ya(e,Nc),t),lt=h7(Ya(e,Rl),t),N=h7(Ya(e,ol),t),ne=SE(Ya(e,fd),t),U=SE(Ya(e,Iu),t),ye=SE(Ya(e,Cc),t),Ee=SE(Ya(e,sl),t),ft=h7(Ya(e,Wa),t),J=SE(Ya(e,ou),t),se=SE(Ya(e,Ru),t),qe=SE(Ya(e,iu),t),It=h7(Ya(e,su),t),O=h7(Ya(e,vu),t),z=SE(Ya(e,ka),t),r=hE(Z(X(Ki,1),Jo,30,15,[ne.a,lt.a,ye.a,It.a])),o=hE(Z(X(Ki,1),Jo,30,15,[M.a,T.a,de.a,z.a])),a=J.a,u=hE(Z(X(Ki,1),Jo,30,15,[U.a,N.a,Ee.a,O.a])),y=hE(Z(X(Ki,1),Jo,30,15,[ne.b,M.b,U.b,se.b])),m=hE(Z(X(Ki,1),Jo,30,15,[lt.b,T.b,N.b,z.b])),v=ft.b,p=hE(Z(X(Ki,1),Jo,30,15,[ye.b,de.b,Ee.b,qe.b])),ag(Ya(e,gf),r+a,y+v),ag(Ya(e,ka),r+a,y+v),ag(Ya(e,dd),r+a,0),ag(Ya(e,Nc),r+a,y+v+m),ag(Ya(e,Rl),0,y+v),ag(Ya(e,ol),r+a+o,y+v),ag(Ya(e,Iu),r+a+o,0),ag(Ya(e,Cc),0,y+v+m),ag(Ya(e,sl),r+a+o,y+v+m),ag(Ya(e,Wa),0,y),ag(Ya(e,ou),r,0),ag(Ya(e,iu),0,y+v+m),ag(Ya(e,vu),r+a+o,0),f=new ro,f.a=hE(Z(X(Ki,1),Jo,30,15,[r+o+a+u,ft.a,se.a,qe.a])),f.b=hE(Z(X(Ki,1),Jo,30,15,[y+m+v+p,J.b,It.b,O.b])),f}function o3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr,Ou,us;if(It=null,on=t,Dt=Bft(e,Cct(r),on),v_(Dt,sp(on,qf)),qn=l(pE(e.n,nT(op(on,iQ))),19),N=op(on,"sourcePort"),o=null,N&&(o=nT(N)),Gr=l(pE(e.p,o),127),!qn)throw p=B_(on),M="An edge must have a source node (edge id: '"+p,U=M+Px,Y(new xf(U));if(Gr&&!ia(Gd(Gr),qn))throw m=sp(on,qf),z="The source port of an edge must be a port of the edge's source node (edge id: '"+m,J=z+Px,Y(new xf(J));if(lt=(!Dt.b&&(Dt.b=new Tt(pn,Dt,4,7)),Dt.b),u=null,Gr?u=Gr:u=qn,Tn(lt,u),Ou=l(pE(e.n,nT(op(on,yEe))),19),O=op(on,"targetPort"),a=null,O&&(a=nT(O)),us=l(pE(e.p,a),127),!Ou)throw T=B_(on),ne="An edge must have a target node (edge id: '"+T,se=ne+Px,Y(new xf(se));if(us&&!ia(Gd(us),Ou))throw y=sp(on,qf),de="The target port of an edge must be a port of the edge's target node (edge id: '"+y,Ee=de+Px,Y(new xf(Ee));if(ft=(!Dt.c&&(Dt.c=new Tt(pn,Dt,5,8)),Dt.c),f=null,us?f=us:f=Ou,Tn(ft,f),(!Dt.b&&(Dt.b=new Tt(pn,Dt,4,7)),Dt.b).i==0||(!Dt.c&&(Dt.c=new Tt(pn,Dt,5,8)),Dt.c).i==0)throw v=sp(on,qf),ye=QTt+v,qe=ye+Px,Y(new xf(qe));return E7(on,Dt),xEn(on,Dt),It=jK(e,on,Dt),It}function LEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(ne=new Me(Kr,Kr),t=new Me(Li,Li),lt=new V(e);lt.a<lt.c.c.length;)qe=l(q(lt),8),ne.a=b.Math.min(ne.a,qe.a),ne.b=b.Math.min(ne.b,qe.b),t.a=b.Math.max(t.a,qe.a),t.b=b.Math.max(t.b,qe.b);for(N=new Me(t.a-ne.a,t.b-ne.b),y=new Me(ne.a-50,ne.b-N.a-50),v=new Me(ne.a-50,t.b+N.a+50),T=new Me(t.a+N.b/2+50,ne.b+N.b/2),O=new N0e(y,v,T),ye=new hi,u=new je,r=new je,ye.a.yc(O,ye),It=new V(e);It.a<It.c.c.length;){for(ft=l(q(It),8),u.c.length=0,Ee=ye.a.ec().Jc();Ee.Ob();)se=l(Ee.Pb(),322),o=se.d,f1(o,se.a),x0(f1(se.d,ft),f1(se.d,se.a))<0&&Ot(u.c,se);for(r.c.length=0,de=new V(u);de.a<de.c.c.length;)for(se=l(q(de),322),z=new V(se.e);z.a<z.c.c.length;){for(M=l(q(z),180),f=!0,m=new V(u);m.a<m.c.c.length;)p=l(q(m),322),p!=se&&(ia(M,ze(p.e,0))||ia(M,ze(p.e,1))||ia(M,ze(p.e,2)))&&(f=!1);f&&Ot(r.c,M)}for(Kbt(ye,u),lo(ye,new mb),U=new V(r);U.a<U.c.c.length;)M=l(q(U),180),pi(ye,new N0e(ft,M.a,M.b))}for(J=new hi,lo(ye,new lYe(J)),a=J.a.ec().Jc();a.Ob();)M=l(a.Pb(),180),(sj(O,M.a)||sj(O,M.b))&&a.Qb();return lo(J,new Yg),J}function Qs(){Qs=K,BQe(),$Dt=Bi.a,l(oe(Ne(Bi.a),0),20),jDt=Bi.f,l(oe(Ne(Bi.f),0),20),l(oe(Ne(Bi.f),1),38),FDt=Bi.n,l(oe(Ne(Bi.n),0),38),l(oe(Ne(Bi.n),1),38),l(oe(Ne(Bi.n),2),38),l(oe(Ne(Bi.n),3),38),p3e=Bi.g,l(oe(Ne(Bi.g),0),20),l(oe(Ne(Bi.g),1),38),PDt=Bi.c,l(oe(Ne(Bi.c),0),20),l(oe(Ne(Bi.c),1),20),g3e=Bi.i,l(oe(Ne(Bi.i),0),20),l(oe(Ne(Bi.i),1),20),l(oe(Ne(Bi.i),2),20),l(oe(Ne(Bi.i),3),20),l(oe(Ne(Bi.i),4),38),b3e=Bi.j,l(oe(Ne(Bi.j),0),20),h3e=Bi.d,l(oe(Ne(Bi.d),0),20),l(oe(Ne(Bi.d),1),20),l(oe(Ne(Bi.d),2),20),l(oe(Ne(Bi.d),3),20),l(oe(Ne(Bi.d),4),38),l(oe(Ne(Bi.d),5),38),l(oe(Ne(Bi.d),6),38),l(oe(Ne(Bi.d),7),38),MDt=Bi.b,l(oe(Ne(Bi.b),0),38),l(oe(Ne(Bi.b),1),38),bU=Bi.e,l(oe(Ne(Bi.e),0),38),l(oe(Ne(Bi.e),1),38),l(oe(Ne(Bi.e),2),38),l(oe(Ne(Bi.e),3),38),l(oe(Ne(Bi.e),4),20),l(oe(Ne(Bi.e),5),20),l(oe(Ne(Bi.e),6),20),l(oe(Ne(Bi.e),7),20),l(oe(Ne(Bi.e),8),20),l(oe(Ne(Bi.e),9),20),l(oe(Ne(Bi.e),10),38),Dh=Bi.k,l(oe(Ne(Bi.k),0),38),l(oe(Ne(Bi.k),1),38)}function Y0e(e){var t,r,o,a,u;switch(t=e.c,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 dr(e),fr(),fr(),B4;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(u=t3n(e),t=e.c,t){case 3:return e.Gm(u);case 4:return e.Em(u);case 5:return e.Fm(u);case 0:if(e.a==123&&e.d<e.j){if(a=e.d,o=0,r=-1,(t=co(e.i,a++))>=48&&t<=57){for(o=t-48;a<e.j&&(t=co(e.i,a++))>=48&&t<=57;)if(o=o*10+t-48,o<0)throw Y(new Ln(jn((Cn(),_Ee))))}else throw Y(new Ln(jn((Cn(),NAt))));if(r=o,t==44){if(a>=e.j)throw Y(new Ln(jn((Cn(),IAt))));if((t=co(e.i,a++))>=48&&t<=57){for(r=t-48;a<e.j&&(t=co(e.i,a++))>=48&&t<=57;)if(r=r*10+t-48,r<0)throw Y(new Ln(jn((Cn(),_Ee))));if(o>r)throw Y(new Ln(jn((Cn(),RAt))))}else r=-1}if(t!=125)throw Y(new Ln(jn((Cn(),CAt))));e._l(a)?(u=(fr(),fr(),new oy(9,u)),e.d=a+1):(u=(fr(),fr(),new oy(3,u)),e.d=a),u.Mm(o),u.Lm(r),dr(e)}}return u}function s3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee;for(a=1,O=new je,o=0;o<e.b.c.length;o++){if(t=Nyn(l(ze(e.b,o),26)),se=tmn(l(ze(e.b,o),26)),v=Qbn(l(ze(e.b,o),26)),v){for(y=0,r=0,U=new V(l(ze(e.b,o),26).a);U.a<U.c.c.length;)M=l(q(U),9),y=b.Math.max(y,M.o.a),r+=M.o.b;if(r/=l(ze(e.b,o),26).a.c.length,y+=b.Math.max(2*ue(ce(F(e,(Be(),$1)))),b.Math.max(l(ze(e.b,o),26).a.c.length*ue(ce(F(e,Qy))),ue(ce(F(e,tv))))),r+=b.Math.max(ue(ce(F(e,vm))),ue(ce(F(e,ym)))),y/r>=l(ze(e.b,o),26).a.c.length/4)continue}if(l(ze(e.b,o),26).a.c.length>t){for(de=new je,Fe(de,l(ze(e.b,o),26)),f=0;f<t-1;f++)T=new ra(e),Fe(O,new ko(T,Re(o+f+a))),Ot(de.c,T);for(a+=t-1,ne=(at(0,de.c.length),l(de.c[0],26)).a.c.length,u=0,z=0,Ee=0;u<ne;++u,++z,Ee++)M=l(ze((at(0,de.c.length),l(de.c[0],26)).a,z),9),M.k!=(zt(),AI)?z+=MNn(e,de,Ee%t,z):(u-=1,Ee-=1),se&&M.k==gi&&(Ee=-1)}}for(N=new V(O);N.a<N.c.c.length;)T=l(q(N),49),Nb(e.b,l(T.b,15).a,l(T.a,26));for(m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),J=new Xi(p.a,0);J.b<J.d.gc();)M=(un(J.b<J.d.gc()),l(J.d.Xb(J.c=J.b++),9)),(M.k==(zt(),rL)||M.k==AI)&&Mu(J)}function P0(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(r==null)return null;if(e.a!=t.hk())throw Y(new jt(Dx+t.ve()+W0));if(ae(t,462)){if(z=YSn(l(t,682),r),!z)throw Y(new jt(nQ+r+"' is not a valid enumerator of '"+t.ve()+"'"));return z}switch(fg((mu(),ao),t).Ll()){case 2:{r=Ta(r,!1);break}case 3:{r=Ta(r,!0);break}}if(o=fg(ao,t).Hl(),o)return o.hk().ti().qi(o,r);if(N=fg(ao,t).Jl(),N){for(z=new je,y=zK(r),v=0,T=y.length;v<T;++v)m=y[v],Fe(z,N.hk().ti().qi(N,m));return z}if(U=fg(ao,t).Kl(),!U.dc()){for(M=U.Jc();M.Ob();){O=l(M.Pb(),160);try{if(z=O.hk().ti().qi(O,r),z!=null)return z}catch(J){if(J=ci(J),!ae(J,63))throw Y(J)}}throw Y(new jt(nQ+r+"' does not match any member types of the union datatype '"+t.ve()+"'"))}if(l(t,839).mk(),a=Mpn(t.ik()),!a)return null;if(a==mI){f=0;try{f=Ec(r,Qi,sr)&Ei}catch(J){if(J=ci(J),ae(J,133))u=aj(r),f=u[0];else throw Y(J)}return A6(f)}if(a==l$){for(p=0;p<R4.length;++p)try{return Jet(R4[p],r)}catch(J){if(J=ci(J),!ae(J,33))throw Y(J)}throw Y(new jt(nQ+r+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Y(new jt(nQ+r+"' is invalid. "))}function qJ(){qJ=K,_r=new b0,yt(_r,(He(),gf),ka),yt(_r,Rl,ka),yt(_r,Rl,su),yt(_r,ol,vu),yt(_r,ol,ka),yt(_r,dd,ka),yt(_r,dd,Ru),yt(_r,Nc,iu),yt(_r,Nc,ka),yt(_r,ou,Wa),yt(_r,ou,ka),yt(_r,ou,Ru),yt(_r,ou,iu),yt(_r,Wa,ou),yt(_r,Wa,su),yt(_r,Wa,vu),yt(_r,Wa,ka),yt(_r,fd,fd),yt(_r,fd,Ru),yt(_r,fd,su),yt(_r,Iu,Iu),yt(_r,Iu,Ru),yt(_r,Iu,vu),yt(_r,Cc,Cc),yt(_r,Cc,iu),yt(_r,Cc,su),yt(_r,sl,sl),yt(_r,sl,iu),yt(_r,sl,vu),yt(_r,Ru,dd),yt(_r,Ru,ou),yt(_r,Ru,fd),yt(_r,Ru,Iu),yt(_r,Ru,ka),yt(_r,Ru,Ru),yt(_r,Ru,su),yt(_r,Ru,vu),yt(_r,iu,Nc),yt(_r,iu,ou),yt(_r,iu,Cc),yt(_r,iu,sl),yt(_r,iu,iu),yt(_r,iu,su),yt(_r,iu,vu),yt(_r,iu,ka),yt(_r,su,Rl),yt(_r,su,Wa),yt(_r,su,fd),yt(_r,su,Cc),yt(_r,su,Ru),yt(_r,su,iu),yt(_r,su,su),yt(_r,su,ka),yt(_r,vu,ol),yt(_r,vu,Wa),yt(_r,vu,Iu),yt(_r,vu,sl),yt(_r,vu,Ru),yt(_r,vu,iu),yt(_r,vu,vu),yt(_r,vu,ka),yt(_r,ka,gf),yt(_r,ka,Rl),yt(_r,ka,ol),yt(_r,ka,dd),yt(_r,ka,Nc),yt(_r,ka,ou),yt(_r,ka,Wa),yt(_r,ka,Ru),yt(_r,ka,iu),yt(_r,ka,su),yt(_r,ka,vu),yt(_r,ka,ka)}function J0e(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt;for(e.d=new Me(Kr,Kr),e.c=new Me(Li,Li),N=t.Jc();N.Ob();)for(v=l(N.Pb(),37),se=new V(v.a);se.a<se.c.c.length;)ne=l(q(se),9),e.d.a=b.Math.min(e.d.a,ne.n.a-ne.d.b),e.d.b=b.Math.min(e.d.b,ne.n.b-ne.d.d),e.c.a=b.Math.max(e.c.a,ne.n.a+ne.o.a+ne.d.c),e.c.b=b.Math.max(e.c.b,ne.n.b+ne.o.b+ne.d.a);for(p=new TZe,T=t.Jc();T.Ob();)v=l(T.Pb(),37),o=HNn(e,v),Fe(p.a,o),o.a=o.a|!l(F(o.c,(Ie(),_p)),24).dc();for(e.b=(GK(),lt=new rG,lt.f=new Yft(r),lt.b=Yxn(lt.f,p),lt),lkn((M=e.b,new sS,M)),e.e=new ro,e.a=e.b.f.e,f=new V(p.a);f.a<f.c.c.length;)for(a=l(q(f),847),de=wun(e.b,a),RTn(a.c,de.a,de.b),z=new V(a.c.a);z.a<z.c.c.length;)U=l(q(z),9),U.k==(zt(),mi)&&(J=Fme(e,U.n,l(F(U,(Ie(),Hs)),64)),br(wd(U.n),J));for(u=new V(p.a);u.a<u.c.c.length;)for(a=l(q(u),847),y=new V(pgn(a));y.a<y.c.c.length;)for(m=l(q(y),17),qe=new B9(m.a),WA(qe,0,qd(m.c)),Gn(qe,qd(m.d)),O=null,ye=An(qe,0);ye.b!=ye.d.c;){if(Ee=l(Sn(ye),8),!O){O=Ee;continue}Wpe(O.a,Ee.a)?(e.e.a=b.Math.min(e.e.a,O.a),e.a.a=b.Math.max(e.a.a,O.a)):Wpe(O.b,Ee.b)&&(e.e.b=b.Math.min(e.e.b,O.b),e.a.b=b.Math.max(e.a.b,O.b)),O=Ee}H8(e.e),br(e.a,e.e)}function a3n(e,t){var r,o,a,u,f,p,m,y;if(r=0,f=0,u=t.length,p=null,y=new lS,f<u&&(Yt(f,t.length),t.charCodeAt(f)==43)&&(++f,++r,f<u&&(Yt(f,t.length),t.charCodeAt(f)==43||(Yt(f,t.length),t.charCodeAt(f)==45))))throw Y(new kf(F0+t+'"'));for(;f<u&&(Yt(f,t.length),t.charCodeAt(f)!=46)&&(Yt(f,t.length),t.charCodeAt(f)!=101)&&(Yt(f,t.length),t.charCodeAt(f)!=69);)++f;if(y.a+=""+yl(t==null?tu:(Mt(t),t),r,f),f<u&&(Yt(f,t.length),t.charCodeAt(f)==46)){for(++f,r=f;f<u&&(Yt(f,t.length),t.charCodeAt(f)!=101)&&(Yt(f,t.length),t.charCodeAt(f)!=69);)++f;e.e=f-r,y.a+=""+yl(t==null?tu:(Mt(t),t),r,f)}else e.e=0;if(f<u&&(Yt(f,t.length),t.charCodeAt(f)==101||(Yt(f,t.length),t.charCodeAt(f)==69))&&(++f,r=f,f<u&&(Yt(f,t.length),t.charCodeAt(f)==43)&&(++f,f<u&&(Yt(f,t.length),t.charCodeAt(f)!=45)&&++r),p=(io(r,u,t.length),t.substr(r,u-r)),e.e=e.e-Ec(p,Qi,sr),e.e!=go(e.e)))throw Y(new kf("Scale out of range."));if(m=y.a,m.length<16){if(e.f=(f2e==null&&(f2e=new RegExp("^[+-]?\\d*$","i")),f2e.test(m)?parseInt(m,10):NaN),isNaN(e.f))throw Y(new kf(F0+t+'"'));e.a=dme(e.f)}else sgn(e,new o1(m));for(e.d=y.a.length,a=0;a<y.a.length&&(o=co(y.a,a),!(o!=45&&o!=48));++a)--e.d;e.d==0&&(e.d=1)}function u3n(e){xn(e.b,_l,Z(X(Je,1),Pe,2,6,[K0,"ConsistentTransient"])),xn(e.a,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedSourceURI"])),xn(e.o,_l,Z(X(Je,1),Pe,2,6,[K0,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),xn(e.p,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),xn(e.v,_l,Z(X(Je,1),Pe,2,6,[K0,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),xn(e.R,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedName"])),xn(e.T,_l,Z(X(Je,1),Pe,2,6,[K0,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),xn(e.U,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),xn(e.W,_l,Z(X(Je,1),Pe,2,6,[K0,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),xn(e.bb,_l,Z(X(Je,1),Pe,2,6,[K0,"ValidDefaultValueLiteral"])),xn(e.eb,_l,Z(X(Je,1),Pe,2,6,[K0,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),xn(e.H,_l,Z(X(Je,1),Pe,2,6,[K0,"ConsistentType ConsistentBounds ConsistentArguments"]))}function c3n(e){var t,r,o,a,u;switch(r=l(F(e,(Ie(),xa)),24),t=O8(Pkt),a=l(F(e,(Be(),Wy)),348),a==(pp(),Ig)&&yc(t,jkt),Ye(Ke(F(e,yte)))?$n(t,(Vi(),id),(Zi(),yee)):$n(t,(Vi(),la),(Zi(),yee)),F(e,(ZP(),p4))!=null&&yc(t,Fkt),(Ye(Ke(F(e,AAe)))||Ye(Ke(F(e,vAe))))&&Ra(t,(Vi(),Ho),(Zi(),cSe)),l(F(e,xc),87).g){case 2:case 3:case 4:Ra($n(t,(Vi(),id),(Zi(),dSe)),Ho,lSe)}switch(r.Gc((Fo(),Z$))&&Ra($n($n(t,(Vi(),id),(Zi(),uSe)),da,sSe),Ho,aSe),be(F(e,wL))!==be((_1(),kB))&&$n(t,(Vi(),la),(Zi(),xSe)),r.Gc(eB)&&($n(t,(Vi(),id),(Zi(),ISe)),$n(t,kh,NSe),$n(t,la,CSe)),be(F(e,cB))!==be((W_(),NI))&&be(F(e,kp))!==be((gp(),GL))&&Ra(t,(Vi(),Ho),(Zi(),vSe)),Ye(Ke(F(e,SAe)))&&$n(t,(Vi(),la),(Zi(),ySe)),Ye(Ke(F(e,bte)))&&$n(t,(Vi(),la),(Zi(),RSe)),m2n(e)&&(be(F(e,Wy))===be(Ig)?o=l(F(e,mL),303):o=l(F(e,gte),303),u=o==(__(),Yee)?(Zi(),kSe):(Zi(),LSe),$n(t,(Vi(),da),u)),l(F(e,IAe),428).g==1&&$n(t,(Vi(),da),(Zi(),tSe)),l(F(e,XAe),383).g){case 1:$n(t,(Vi(),da),(Zi(),OSe));break;case 2:Ra($n($n(t,(Vi(),la),(Zi(),nSe)),da,rSe),Ho,iSe)}return be(F(e,Ch))!==be((bp(),B1))&&$n(t,(Vi(),la),(Zi(),DSe)),t}function l3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;if(!t.dc()){if(a=new Lu,p=r||l(t.Xb(0),17),M=p.c,NC(),N=M.i.k,!(N==(zt(),Xr)||N==_a||N==mi||N==af))throw Y(new jt("The target node of the edge must be a normal node or a northSouthPort."));for(Eo(a,xs(Z(X($i,1),Pe,8,0,[M.i.n,M.n,M.a]))),(He(),ou).Gc(M.j)&&(z=ue(ce(F(M,(Ie(),ek)))),T=new Me(xs(Z(X($i,1),Pe,8,0,[M.i.n,M.n,M.a])).a,z),Wr(a,T,a.c.b,a.c)),v=null,o=!1,m=t.Jc();m.Ob();)f=l(m.Pb(),17),u=f.a,u.b!=0&&(o?(y=tp(br(v,(un(u.b!=0),l(u.a.a.c,8))),.5),Wr(a,y,a.c.b,a.c),o=!1):o=!0,v=To((un(u.b!=0),l(u.c.b.c,8))),mo(a,u),tc(u));U=p.d,ou.Gc(U.j)&&(z=ue(ce(F(U,(Ie(),ek)))),T=new Me(xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).a,z),Wr(a,T,a.c.b,a.c)),Eo(a,xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a]))),e.d==(R_(),Vte)&&(J=(un(a.b!=0),l(a.a.a.c,8)),ne=l(sa(a,1),8),se=new CW(zge(M.j)),se.a*=5,se.b*=5,de=Di(new Me(ne.a,ne.b),J),Ee=new Me(kW(se.a,de.a),kW(se.b,de.b)),br(Ee,J),ye=An(a,1),yP(ye,Ee),qe=(un(a.b!=0),l(a.c.b.c,8)),lt=l(sa(a,a.b-2),8),se=new CW(zge(U.j)),se.a*=5,se.b*=5,de=Di(new Me(lt.a,lt.b),qe),ft=new Me(kW(se.a,de.a),kW(se.b,de.b)),br(ft,qe),WA(a,a.b-1,ft)),O=new C0e(a),mo(p.a,L1t(O))}}function d3n(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr,Ou,us,Rc,T2,jg,hd,Dp;if(se=l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83),Ee=se.mh(),ye=se.nh(),de=se.lh()/2,U=se.kh()/2,ae(se,196)&&(ne=l(se,127),Ee+=Gd(ne).i,Ee+=Gd(ne).i),Ee+=de,ye+=U,Dt=l(oe((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83),qn=Dt.mh(),Gr=Dt.nh(),on=Dt.lh()/2,qe=Dt.kh()/2,ae(Dt,196)&&(It=l(Dt,127),qn+=Gd(It).i,qn+=Gd(It).i),qn+=on,Gr+=qe,(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i==0)p=(e1(),y=new g9,y),Tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),p);else if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i>1)for(M=new SS((!e.a&&(e.a=new ke(jr,e,6,6)),e.a));M.e!=M.i.gc();)wC(M);for(f=l(oe((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),z=qn,qn>Ee+de?z=Ee+de:qn<Ee-de&&(z=Ee-de),J=Gr,Gr>ye+U?J=ye+U:Gr<ye-U&&(J=ye-U),z>Ee-de&&z<Ee+de&&J>ye-U&&J<ye+U&&(z=Ee+de),E0(f,z),S0(f,J),lt=Ee,Ee>qn+on?lt=qn+on:Ee<qn-on&&(lt=qn-on),ft=ye,ye>Gr+qe?ft=Gr+qe:ye<Gr-qe&&(ft=Gr-qe),lt>qn-on&&lt<qn+on&&ft>Gr-qe&&ft<Gr+qe&&(ft=Gr+qe),y0(f,lt),v0(f,ft),vn((!f.a&&(f.a=new yi(Ic,f,5)),f.a)),u=u7(t,5),se==Dt&&++u,Rc=lt-z,hd=ft-J,Ou=b.Math.sqrt(Rc*Rc+hd*hd),T=Ou*.20000000298023224,T2=Rc/(u+1),Dp=hd/(u+1),us=z,jg=J,v=0;v<u;v++)us+=T2,jg+=Dp,N=us+Bu(t,24)*_D*T-T/2,N<0?N=1:N>r&&(N=r-1),O=jg+Bu(t,24)*_D*T-T/2,O<0?O=1:O>o&&(O=o-1),a=(e1(),m=new b9,m),gj(a,N),pj(a,O),Tn((!f.a&&(f.a=new yi(Ic,f,5)),f.a),a)}function VJ(e,t){IJ();var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe;if(se=e.e,v=e.d,a=e.a,se==0)switch(t){case 0:return"0";case 1:return dx;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return J=new Zg,J.a+="0E",J.a+=-t,J.a}if(U=v*10+1+7,z=we(al,Bf,30,U+1,15,1),r=U,v==1)if(u=a[0],u<0){qe=Gi(u,$o);do T=qe,qe=W6(qe,10),z[--r]=48+Dn(El(T,wo(qe,10)))&Ei;while(Ea(qe,0)!=0)}else{qe=u;do T=qe,qe=qe/10|0,z[--r]=48+(T-qe*10)&Ei;while(qe!=0)}else{de=we(Rn,Qn,30,v,15,1),ye=v,ua(a,0,de,0,ye);e:for(;;){for(ne=0,p=ye-1;p>=0;p--)Ee=Ao(fh(ne,32),Gi(de[p],$o)),O=own(Ee),de[p]=Dn(O),ne=Dn(u0(O,32));M=Dn(ne),N=r;do z[--r]=48+M%10&Ei;while((M=M/10|0)!=0&&r!=0);for(o=9-N+r,f=0;f<o&&r>0;f++)z[--r]=48;for(m=ye-1;de[m]==0;m--)if(m==0)break e;ye=m+1}for(;z[r]==48;)++r}return y=se<0,y&&(z[--r]=45),Mf(z,r,U-r)}function MEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;switch(e.c=t,e.g=new hn,r=(t1(),new Yp(e.c)),o=new A9(r),x1e(o),se=In(ve(e.c,(Y6(),mke))),m=l(ve(e.c,zne),331),Ee=l(ve(e.c,Gne),432),f=l(ve(e.c,pke),480),de=l(ve(e.c,Hne),433),e.j=ue(ce(ve(e.c,BOt))),p=e.a,m.g){case 0:p=e.a;break;case 1:p=e.b;break;case 2:p=e.i;break;case 3:p=e.e;break;case 4:p=e.f;break;default:throw Y(new jt(FF+(m.f!=null?m.f:""+m.g)))}if(e.d=new Zat(p,Ee,f),Te(e.d,(S_(),EI),Ke(ve(e.c,FOt))),e.d.c=Ye(Ke(ve(e.c,gke))),kP(e.c).i==0)return e.d;for(T=new tn(kP(e.c));T.e!=T.i.gc();){for(v=l(rn(T),19),O=v.g/2,N=v.f/2,ye=new Me(v.i+O,v.j+N);ma(e.g,ye);)Gw(ye,(b.Math.random()-.5)*Hf,(b.Math.random()-.5)*Hf);U=l(ve(v,(_n(),Cp)),125),z=new Sut(ye,new ql(ye.a-O-e.j/2-U.b,ye.b-N-e.j/2-U.d,v.g+e.j+(U.b+U.c),v.f+e.j+(U.d+U.a))),Fe(e.d.i,z),Jn(e.g,ye,new ko(z,v))}switch(de.g){case 0:if(se==null)e.d.d=l(ze(e.d.i,0),68);else for(ne=new V(e.d.i);ne.a<ne.c.c.length;)z=l(q(ne),68),M=l(l(Ht(e.g,z.a),49).b,19).ih(),M!=null&&wt(M,se)&&(e.d.d=z);break;case 1:for(a=new Me(e.c.g,e.c.f),a.a*=.5,a.b*=.5,Gw(a,e.c.i,e.c.j),u=Kr,J=new V(e.d.i);J.a<J.c.c.length;)z=l(q(J),68),y=f1(z.a,a),y<u&&(u=y,e.d.d=z);break;default:throw Y(new jt(FF+(de.f!=null?de.f:""+de.g)))}return e.d}function PEt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,ku),"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 Pze))),De(e,ku,mx,1.3),De(e,ku,vx,(Lt(),!1)),De(e,ku,B0,Wxe),De(e,ku,$0,15),De(e,ku,CF,Ge(yOt)),De(e,ku,ME,Ge(SOt)),De(e,ku,mT,Ge(AOt)),De(e,ku,bT,Ge(_Ot)),De(e,ku,Ex,Ge(EOt)),De(e,ku,yx,Ge(Ine)),De(e,ku,Sx,Ge(xOt)),De(e,ku,Lve,Ge(Xxe)),De(e,ku,Mve,Ge(Jxe)),De(e,ku,Dve,Ge(One)),De(e,ku,Ove,Ge(Zxe)),De(e,ku,Pve,Ge(Vxe)),De(e,ku,jve,Ge(Rne)),De(e,ku,Fve,Ge(qxe)),De(e,ku,$ve,Ge(Yxe)),De(e,ku,wx,Ge(zxe)),De(e,ku,RF,Ge(vOt)),De(e,ku,Cve,Ge(OL)),De(e,ku,Nve,Ge(Hxe)),De(e,ku,Ive,Ge(DL)),De(e,ku,kve,Ge(Kxe)),De(e,ku,Rve,Ge(Gxe))}function f3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr,Ou,us,Rc;for(r.Tg("Greedy cycle removal",1),e.b=t,se=t.a,Rc=se.c.length,e.a=we(Rn,Qn,30,Rc,15,1),e.d=we(Rn,Qn,30,Rc,15,1),e.c=we(Rn,Qn,30,Rc,15,1),y=0,J=new V(se);J.a<J.c.c.length;){for(U=l(q(J),9),U.p=y,ft=new V(U.j);ft.a<ft.c.c.length;){for(ye=l(q(ft),12),p=new V(ye.e);p.a<p.c.c.length;)o=l(q(p),17),o.c.i!=U&&(on=l(F(o,(Be(),ik)),15).a,e.a[y]+=on>0?on+1:1);for(f=new V(ye.g);f.a<f.c.c.length;)o=l(q(f),17),o.d.i!=U&&(on=l(F(o,(Be(),ik)),15).a,e.d[y]+=on>0?on+1:1)}e.d[y]==0?Gn(e.f,U):e.a[y]==0&&Gn(e.g,U),++y}for(M=-1,O=1,T=new je,e.e=l(F(t,(Ie(),DT)),237);Rc>0;){for(;e.f.b!=0;)Gr=l(jV(e.f),9),e.c[Gr.p]=M--,g0e(e,Gr),--Rc;for(;e.g.b!=0;)Ou=l(jV(e.g),9),e.c[Ou.p]=O++,g0e(e,Ou),--Rc;if(Rc>0){for(N=Qi,ne=new V(se);ne.a<ne.c.c.length;)U=l(q(ne),9),e.c[U.p]==0&&(de=e.d[U.p]-e.a[U.p],de>=N&&(de>N&&(T.c.length=0,N=de),Ot(T.c,U)));v=e.qg(T),e.c[v.p]=O++,g0e(e,v),--Rc}}for(qn=se.c.length+1,y=0;y<se.c.length;y++)e.c[y]<0&&(e.c[y]+=qn);for(z=new V(se);z.a<z.c.c.length;)for(U=l(q(z),9),Dt=hct(U.j),qe=Dt,lt=0,It=qe.length;lt<It;++lt)for(ye=qe[lt],Ee=Df(ye.g),a=Ee,u=0,m=a.length;u<m;++u)o=a[u],us=o.d.i.p,e.c[U.p]>e.c[us]&&(mg(o,!0),Te(t,CT,(Lt(),!0)));e.a=null,e.d=null,e.c=null,tc(e.g),tc(e.f),r.Ug()}function jEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;for(Ee=l(oe((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),v=new Lu,de=new hn,ye=qyt(Ee),eu(de.f,Ee,ye),N=new hn,o=new Ar,M=hh(Wc(Z(X(nl,1),Rt,22,0,[(!t.d&&(t.d=new Tt(Ir,t,8,5)),t.d),(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e)])));an(M);){if(O=l(en(M),74),(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i!=1)throw Y(new jt(PTt+(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i));O!=e&&(z=l(oe((!O.a&&(O.a=new ke(jr,O,6,6)),O.a),0),171),Wr(o,z,o.c.b,o.c),U=l(Ss(ts(de.f,z)),13),U||(U=qyt(z),eu(de.f,z,U)),T=r?Di(new So(l(ze(ye,ye.c.length-1),8)),l(ze(U,U.c.length-1),8)):Di(new So((at(0,ye.c.length),l(ye.c[0],8))),(at(0,U.c.length),l(U.c[0],8))),eu(N.f,z,T))}if(o.b!=0)for(J=l(ze(ye,r?ye.c.length-1:0),8),y=1;y<ye.c.length;y++){for(ne=l(ze(ye,r?ye.c.length-1-y:y),8),a=An(o,0);a.b!=a.d.c;)z=l(Sn(a),171),U=l(Ss(ts(de.f,z)),13),U.c.length<=y?fK(a):(se=br(new So(l(ze(U,r?U.c.length-1-y:y),8)),l(Ss(ts(N.f,z)),8)),(ne.a!=se.a||ne.b!=se.b)&&(u=ne.a-J.a,p=ne.b-J.b,f=se.a-J.a,m=se.b-J.b,f*p==m*u&&(u==0||isNaN(u)?u:u<0?-1:1)==(f==0||isNaN(f)?f:f<0?-1:1)&&(p==0||isNaN(p)?p:p<0?-1:1)==(m==0||isNaN(m)?m:m<0?-1:1)?(b.Math.abs(u)<b.Math.abs(f)||b.Math.abs(p)<b.Math.abs(m))&&Wr(v,ne,v.c.b,v.c):y>1&&Wr(v,J,v.c.b,v.c),fK(a)));J=ne}return v}function FEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(r.Tg(HSt,1),It=l(Au(lr(new Et(null,new St(t,16)),new eze),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),v=l(Au(lr(new Et(null,new St(t,16)),new nXe(t)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),16),M=l(Au(lr(new Et(null,new St(t,16)),new tXe(t)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),16),U=we(MB,LF,41,t.gc(),0,1),f=0;f<v.gc();f++)a=l(v.Xb(f),41),ft=l(F(a,(js(),c2)),15).a,ft>=0&&ft<v.gc()&&!U[ft]&&(U[ft]=a,v.ed(f),--f);for(p=0;p<v.gc();p++)for(a=l(v.Xb(p),41),ft=l(F(a,(js(),c2)),15).a,N=0;;N++){if(O=ft+N,O<U.length&&O>=0&&!U[O]){U[O]=a,v.ed(p),--p;break}if(O=ft-N,O<U.length&&O>=0&&!U[O]){U[O]=a,v.ed(p),--p;break}}for(M.gd(new tze),m=U.length-1;m>=0;m--)!U[m]&&!M.dc()&&(U[m]=l(M.Xb(0),41),M.ed(0));for(y=0;y<U.length;y++)!U[y]&&!It.dc()&&(U[y]=l(It.Xb(0),41),It.ed(0));for(u=0;u<U.length;u++)Te(U[u],(Nr(),o4),Re(u));for(T=l(h1n(lr(new Et(null,new St(t,16)),new nze)),526),ye=T,qe=0,lt=ye.length;qe<lt;++qe){for(Ee=ye[qe],o=OK(Ee),FEt(e,o,r.dh(1/T.length|0)),At(),zb(o,new WG((Nr(),o4))),z=new Ar,de=An(o,0);de.b!=de.d.c;)for(se=l(Sn(de),41),ne=An(Ee.d,0);ne.b!=ne.d.c;)J=l(Sn(ne),65),J.c==se&&Wr(z,J,z.c.b,z.c);tc(Ee.d),mo(Ee.d,z)}r.Ug()}function $Et(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;for(se=ue(ce(ve(t,(yh(),iv)))),O=ue(ce(ve(t,u4))),N=ue(ce(ve(t,qB))),gge((!t.a&&(t.a=new ke(En,t,10,11)),t.a)),J=Cvt((!t.a&&(t.a=new ke(En,t,10,11)),t.a),se,e.b),z=0;z<J.c.length;z++)if(m=(at(z,J.c.length),l(J.c[z],189)),z!=0&&(M=(at(z-1,J.c.length),l(J.c[z-1],189)),Hpt(m,M.f+M.b+e.b)),U=g3n(z,J,se,e.b,Ye(Ke(ve(t,(ef(),Rne))))),Ye(Ke(U.b))){for(u=new V(m.a);u.a<u.c.c.length;)a=l(q(u),175),a.c=!1,a.k=!1,Evt(a);m.d=new je,m.e=se,--z}else if(Gmn(e,m),z+1<J.c.length&&(e.e=b.Math.max(m.e+e.b+l(ze((at(z+1,J.c.length),l(J.c[z+1],189)).a,0),175).r-se,e.c),e.f=b.Math.min(m.e+e.b+l(ze((at(z+1,J.c.length),l(J.c[z+1],189)).a,0),175).r-se,e.d),m.d.c.length!=0&&(e.c=b.Math.max(e.c,l(ze(m.d,m.d.c.length-1),320).d+(m.d.c.length<=1?0:e.b)),e.d=b.Math.min(e.c,l(ze(m.d,m.d.c.length-1),320).d+(m.d.c.length<=1?0:e.b)))),J.c.length==1)for(T=l(ze(m.d,m.d.c.length-1),320),v=l(ze(T.a,T.a.c.length-1),175),p=new V(v.n);p.a<p.c.c.length;)f=l(q(p),211),e.c=b.Math.max(e.c,v.r-f.d),e.d=b.Math.min(e.d,v.r-f.d),e.e=b.Math.max(e.e,f.d+e.b),e.f=b.Math.min(e.f,f.d+e.b);return ne=ubt(J,e.b),de=b.Math.max(ne.a,O-(r.b+r.c)),y=b.Math.max(ne.b,N-(r.d+r.a)),o=y-ne.b,Vn(t,a4,o),Vn(t,VB,J),new jfe(e.a,de,ne.b+o,(xC(),LL))}function h3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on;if(qe=l(F(e,(Be(),Zr)),103),qe!=(qi(),pf)&&qe!=W1){for(M=e.b,O=M.c.length,v=new Da((wc(O+2,ZJ),lj(Ao(Ao(5,O+2),(O+2)/10|0)))),U=new Da((wc(O+2,ZJ),lj(Ao(Ao(5,O+2),(O+2)/10|0)))),Fe(v,new hn),Fe(v,new hn),Fe(U,new je),Fe(U,new je),ye=new je,t=0;t<O;t++)for(r=(at(t,M.c.length),l(M.c[t],26)),lt=(at(t,v.c.length),l(v.c[t],93)),z=new hn,Ot(v.c,z),It=(at(t,U.c.length),l(U.c[t],16)),ne=new je,Ot(U.c,ne),a=new V(r.a);a.a<a.c.c.length;){if(o=l(q(a),9),l1e(o)){Ot(ye.c,o);continue}for(y=new $t(qt(si(o).a.Jc(),new D));an(y);)p=l(en(y),17),Dt=p.c.i,l1e(Dt)&&(ft=l(lt.xc(F(Dt,(Ie(),mr))),9),ft||(ft=Xmt(e,Dt),lt.yc(F(Dt,mr),ft),It.Ec(ft)),bo(p,l(ze(ft.j,1),12)));for(m=new $t(qt(Or(o).a.Jc(),new D));an(m);)p=l(en(m),17),on=p.d.i,l1e(on)&&(J=l(Ht(z,F(on,(Ie(),mr))),9),J||(J=Xmt(e,on),Jn(z,F(on,mr),J),Ot(ne.c,J)),Ji(p,l(ze(J.j,0),12)))}for(T=0;T<U.c.length;T++)if(se=(at(T,U.c.length),l(U.c[T],16)),!se.dc())for(N=null,T==0?(N=new ra(e),ry(0,M.c.length),t3(M.c,0,N)):T==v.c.length-1?(N=new ra(e),Ot(M.c,N)):N=(at(T-1,M.c.length),l(M.c[T-1],26)),f=se.Jc();f.Ob();)u=l(f.Pb(),9),Oi(u,N);for(Ee=new V(ye);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),Oi(de,null);Te(e,(Ie(),ete),ye)}}function p3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr,Ou,us;for(Gr=new je,M=new V(t.b);M.a<M.c.c.length;)for(N=l(q(M),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;){for(de=l(q(Ee),9),de.p=-1,T=Qi,lt=Qi,It=new V(de.j);It.a<It.c.c.length;){for(ft=l(q(It),12),a=new V(ft.e);a.a<a.c.c.length;)r=l(q(a),17),Dt=l(F(r,(Be(),FT)),15).a,T=b.Math.max(T,Dt);for(o=new V(ft.g);o.a<o.c.c.length;)r=l(q(o),17),Dt=l(F(r,(Be(),FT)),15).a,lt=b.Math.max(lt,Dt)}Te(de,OB,Re(T)),Te(de,DB,Re(lt))}for(J=0,O=new V(t.b);O.a<O.c.c.length;)for(N=l(q(O),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),de.p<0&&(qn=new Pce,qn.b=J++,hyt(e,de,qn),Ot(Gr.c,qn));for(qe=ch(Gr.c.length),v=ch(Gr.c.length),f=0;f<Gr.c.length;f++)Fe(qe,new je),Fe(v,Re(0));for(Lkn(t,Gr,qe,v),Ou=l(Yd(Gr,we(S4t,DSt,264,Gr.c.length,0,1)),846),ye=l(Yd(qe,we(_c,Oy,16,qe.c.length,0,1)),200),y=we(Rn,Qn,30,v.c.length,15,1),p=0;p<y.length;p++)y[p]=(at(p,v.c.length),l(v.c[p],15)).a;for(ne=0,se=new je,m=0;m<Ou.length;m++)y[m]==0&&Ot(se.c,Ou[m]);for(z=we(Rn,Qn,30,Ou.length,15,1);se.c.length!=0;)for(qn=l(sg(se,0),264),z[qn.b]=ne++;!ye[qn.b].dc();)us=l(ye[qn.b].ed(0),264),--y[us.b],y[us.b]==0&&Ot(se.c,us);for(e.a=we(S4t,DSt,264,Ou.length,0,1),u=0;u<Ou.length;u++)for(U=Ou[u],on=z[u],e.a[on]=U,U.b=on,Ee=new V(U.e);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),de.p=on;return e.a}function g3n(e,t,r,o,a){var u,f,p,m,y,v,T,N,O,M,U,z,J;for(U=!1,m=!1,N=e+1,M=(at(e,t.c.length),l(t.c[e],189)),p=M.a,y=null,f=0;f<M.a.c.length;f++)if(u=(at(f,p.c.length),l(p.c[f],175)),!u.c){if(u.b.c.length==0){eg(),q6(M,u),--f,U=!0;continue}if(u.k||(y&&f7(y),y=new Lhe(y?y.e+y.d+o:0,M.f,o),U6(u,y.e+y.d,M.f),Fe(M.d,y),Ege(y,u),u.k=!0),v=null,v=(J=null,f<M.a.c.length-1?J=l(ze(M.a,f+1),175):N<t.c.length&&(at(N,t.c.length),l(t.c[N],189)).a.c.length!=0&&(J=l(ze((at(N,t.c.length),l(t.c[N],189)).a,0),175)),J),z=!1,v&&(z=!pr(v.j,M)),v){if(v.b.c.length!=0&&!Ye(Ke(l(ze(v.b,0),19).mf((ef(),DL)))))u6(u,r-u.s),f7(u.q),U=U|Kwn(M,u,v,r,o);else{q6(M,v);break}if(v.b.c.length==0)for(t.c.length>N&&q6((at(N,t.c.length),l(t.c[N],189)),v),v=null;t.c.length>N&&(at(N,t.c.length),l(t.c[N],189)).a.c.length==0;)Xa(t,(at(N,t.c.length),t.c[N]));if(!v){--f;continue}if(!Ye(Ke(l(ze(v.b,0),19).mf((ef(),DL))))&&_An(t,M,u,v,z,r,N,o)){U=!0;continue}if(z){if(O=M.b,T=v.f,!Ye(Ke(l(ze(v.b,0),19).mf(DL)))&&Wxn(t,M,u,v,r,N,o,a)){if(U=!0,O<T){m=!0,v.j=M;break}continue}else if(Xge(M,u)){u.c=!0,U=!0;continue}}else if(Xge(M,u)){u.c=!0,U=!0;continue}if(U)continue}if(Xge(M,u)){u.c=!0,U=!0,v&&(v.k=!1);continue}else f7(u.q)}return new ko((Lt(),!!U),!!m)}function dr(e){var t,r,o;if(e.d>=e.j){e.a=-1,e.c=1;return}if(t=co(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(o=10,e.d>=e.j)throw Y(new Ln(jn((Cn(),VF))));e.a=co(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d<e.j&&co(e.i,e.d)==91?(++e.d,o=24):o=0;break;case 91:if((e.e&512)!=512&&e.d<e.j&&co(e.i,e.d)==58){++e.d,o=20;break}default:(t&64512)==TD&&e.d<e.j&&(r=co(e.i,e.d),(r&64512)==56320&&(e.a=No+(t-TD<<10)+r-56320,++e.d)),o=0}e.c=o;return}switch(t){case 124:o=2;break;case 42:o=3;break;case 43:o=4;break;case 63:o=5;break;case 41:o=7;break;case 46:o=8;break;case 91:o=9;break;case 94:o=11;break;case 36:o=12;break;case 40:if(o=6,e.d>=e.j||co(e.i,e.d)!=63)break;if(++e.d>=e.j)throw Y(new Ln(jn((Cn(),gQ))));switch(t=co(e.i,e.d++),t){case 58:o=13;break;case 61:o=14;break;case 33:o=15;break;case 91:o=19;break;case 62:o=18;break;case 60:if(e.d>=e.j)throw Y(new Ln(jn((Cn(),gQ))));if(t=co(e.i,e.d++),t==61)o=16;else if(t==33)o=17;else throw Y(new Ln(jn((Cn(),lAt))));break;case 35:for(;e.d<e.j&&(t=co(e.i,e.d++),t!=41););if(t!=41)throw Y(new Ln(jn((Cn(),dAt))));o=21;break;default:if(t==45||97<=t&&t<=122||65<=t&&t<=90){--e.d,o=22;break}else if(t==40){o=23;break}throw Y(new Ln(jn((Cn(),gQ))))}break;case 92:if(o=10,e.d>=e.j)throw Y(new Ln(jn((Cn(),VF))));e.a=co(e.i,e.d++);break;default:o=0}e.c=o}function b3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z;if(r.Tg("Process compaction",1),!!Ye(Ke(F(t,(js(),J_e))))){for(a=l(F(t,uw),87),O=ue(ce(F(t,sne))),B_n(e,t,a),INn(t,O/2/2),M=t.b,zb(M,new KJe(a)),y=An(M,0);y.b!=y.d.c;)if(m=l(Sn(y),41),!Ye(Ke(F(m,(Nr(),z1))))){if(o=dTn(m,a),U=s_n(m,t),T=0,N=0,o)switch(z=o.e,a.g){case 2:T=z.a-O-m.f.a,U.e.a-O-m.f.a<T&&(T=U.e.a-O-m.f.a),N=T+m.f.a;break;case 1:T=z.a+o.f.a+O,U.e.a+O>T&&(T=U.e.a+U.f.a+O),N=T+m.f.a;break;case 4:T=z.b-O-m.f.b,U.e.b-O-m.f.b<T&&(T=U.e.b-O-m.f.b),N=T+m.f.b;break;case 3:T=z.b+o.f.b+O,U.e.b+O>T&&(T=U.e.b+U.f.b+O),N=T+m.f.b}else if(U)switch(a.g){case 2:T=U.e.a-O-m.f.a,N=T+m.f.a;break;case 1:T=U.e.a+U.f.a+O,N=T+m.f.a;break;case 4:T=U.e.b-O-m.f.b,N=T+m.f.b;break;case 3:T=U.e.b+U.f.b+O,N=T+m.f.b}be(F(t,one))===be((eC(),kL))?(u=T,f=N,p=hp(lr(new Et(null,new St(e.a,16)),new Ltt(u,f))),p.a!=null?a==(vi(),as)||a==fs?m.e.a=T:m.e.b=T:(a==(vi(),as)||a==il?p=hp(lr(Nft(new Et(null,new St(e.a,16))),new YJe(u))):p=hp(lr(Nft(new Et(null,new St(e.a,16))),new JJe(u))),p.a!=null&&(a==as||a==fs?m.e.a=ue(ce((un(p.a!=null),l(p.a,49)).a)):m.e.b=ue(ce((un(p.a!=null),l(p.a,49)).a)))),p.a!=null&&(v=_s(e.a,(un(p.a!=null),p.a),0),v>0&&v!=l(F(m,Jf),15).a&&(Te(m,H_e,(Lt(),!0)),Te(m,Jf,Re(v))))):a==(vi(),as)||a==fs?m.e.a=T:m.e.b=T}r.Ug()}}function m3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee;if(r.Tg("Coffman-Graham Layering",1),t.a.c.length==0){r.Ug();return}for(Ee=l(F(t,(Be(),xAe)),15).a,m=0,f=0,N=new V(t.a);N.a<N.c.c.length;)for(T=l(q(N),9),T.p=m++,u=new $t(qt(Or(T).a.Jc(),new D));an(u);)a=l(en(u),17),a.p=f++;for(e.d=we(uu,Ad,30,m,16,1),e.a=we(uu,Ad,30,f,16,1),e.b=we(Rn,Qn,30,m,15,1),e.e=we(Rn,Qn,30,m,15,1),e.f=we(Rn,Qn,30,m,15,1),wj(e.c),A0n(e,t),M=new gP(new hJe(e)),de=new V(t.a);de.a<de.c.c.length;){for(ne=l(q(de),9),u=new $t(qt(si(ne).a.Jc(),new D));an(u);)a=l(en(u),17),e.a[a.p]||++e.b[ne.p];e.b[ne.p]==0&&xS(V_(M,ne),fx)}for(p=0;M.b.c.length!=0;)for(ne=l(lK(M),9),e.f[ne.p]=p++,u=new $t(qt(Or(ne).a.Jc(),new D));an(u);)a=l(en(u),17),!e.a[a.p]&&(z=a.d.i,--e.b[z.p],yt(e.c,z,Re(e.f[ne.p])),e.b[z.p]==0&&xS(V_(M,z),fx));for(O=new gP(new pJe(e)),se=new V(t.a);se.a<se.c.c.length;){for(ne=l(q(se),9),u=new $t(qt(Or(ne).a.Jc(),new D));an(u);)a=l(en(u),17),e.a[a.p]||++e.e[ne.p];e.e[ne.p]==0&&xS(V_(O,ne),fx)}for(v=new je,o=aat(t,v);O.b.c.length!=0;)for(J=l(lK(O),9),(o.a.c.length>=Ee||!v1n(J,o))&&(o=aat(t,v)),Oi(J,o),u=new $t(qt(si(J).a.Jc(),new D));an(u);)a=l(en(u),17),!e.a[a.p]&&(U=a.c.i,--e.e[U.p],e.e[U.p]==0&&xS(V_(O,U),fx));for(y=v.c.length-1;y>=0;--y)Fe(t.b,(at(y,v.c.length),l(v.c[y],26)));t.a.c.length=0,r.Ug()}function BEt(e){var t,r,o,a,u,f,p,m,y;for(e.b=1,dr(e),t=null,e.c==0&&e.a==94?(dr(e),t=(fr(),fr(),new bc(4)),Sa(t,0,Fx),p=new bc(4)):p=(fr(),fr(),new bc(4)),a=!0;(y=e.c)!=1;){if(y==0&&e.a==93&&!a){t&&($C(t,p),p=t);break}if(r=e.a,o=!1,y==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Ny(p,tx(r)),o=!0;break;case 105:case 73:case 99:case 67:r=(Ny(p,tx(r)),-1),r<0&&(o=!0);break;case 112:case 80:if(m=bme(e,r),!m)throw Y(new Ln(jn((Cn(),bQ))));Ny(p,m),o=!0;break;default:r=e0e(e)}else if(y==24&&!a){if(t&&($C(t,p),p=t),u=BEt(e),$C(p,u),e.c!=0||e.a!=93)throw Y(new Ln(jn((Cn(),vAt))));break}if(dr(e),!o){if(y==0){if(r==91)throw Y(new Ln(jn((Cn(),TEe))));if(r==93)throw Y(new Ln(jn((Cn(),AEe))));if(r==45&&!a&&e.a!=93)throw Y(new Ln(jn((Cn(),mQ))))}if(e.c!=0||e.a!=45||r==45&&a)Sa(p,r,r);else{if(dr(e),(y=e.c)==1)throw Y(new Ln(jn((Cn(),WF))));if(y==0&&e.a==93)Sa(p,r,r),Sa(p,45,45);else{if(y==0&&e.a==93||y==24)throw Y(new Ln(jn((Cn(),mQ))));if(f=e.a,y==0){if(f==91)throw Y(new Ln(jn((Cn(),TEe))));if(f==93)throw Y(new Ln(jn((Cn(),AEe))));if(f==45)throw Y(new Ln(jn((Cn(),mQ))))}else y==10&&(f=e0e(e));if(dr(e),r>f)throw Y(new Ln(jn((Cn(),TAt))));Sa(p,r,f)}}}a=!1}if(e.c==1)throw Y(new Ln(jn((Cn(),WF))));return xE(p),PC(p),e.b=0,dr(e),p}function UEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;de=!1;do for(de=!1,u=t?new Xh(e.a.b).a.gc()-2:1;t?u>=0:u<new Xh(e.a.b).a.gc();u+=t?-1:1)for(a=tpe(e.a,Re(u)),O=0;O<a.b;O++)if(T=l(sa(a,O),9),!!gr(T,(Ie(),Cr))&&!(I0n(e.a,Re(u))&&e.r==(_1(),ak)||R0n(e.a,Re(u))&&e.r==(_1(),KI))){for(se=!0,J=0;J<a.b;J++)z=l(sa(a,J),9),gr(z,Cr)&&(t&&l(F(T,Cr),15).a<l(F(z,Cr),15).a||!t&&l(F(T,Cr),15).a>l(F(z,Cr),15).a)&&(se=!1);if(se){for(m=t?u+1:u-1,p=tpe(e.a,Re(m)),f=!1,ne=!0,o=!1,v=An(p,0);v.b!=v.d.c;)y=l(Sn(v),9),gr(y,Cr)?y.p!=T.p&&(f=f|(t?l(F(y,Cr),15).a<l(F(T,Cr),15).a:l(F(y,Cr),15).a>l(F(T,Cr),15).a),ne=!1):!f&&ne&&y.k==(zt(),ta)&&(o=!0,t?N=l(en(new $t(qt(si(y).a.Jc(),new D))),17).c.i:N=l(en(new $t(qt(Or(y).a.Jc(),new D))),17).d.i,N==T&&(t?r=l(en(new $t(qt(Or(y).a.Jc(),new D))),17).d.i:r=l(en(new $t(qt(si(y).a.Jc(),new D))),17).c.i,(t?l(zw(e.a,r),15).a-l(zw(e.a,N),15).a:l(zw(e.a,N),15).a-l(zw(e.a,r),15).a)<=2&&(ne=!1)));if(o&&ne&&(t?r=l(en(new $t(qt(Or(T).a.Jc(),new D))),17).d.i:r=l(en(new $t(qt(si(T).a.Jc(),new D))),17).c.i,(t?l(zw(e.a,r),15).a-l(zw(e.a,T),15).a:l(zw(e.a,T),15).a-l(zw(e.a,r),15).a)<=2&&r.k==(zt(),Xr)&&(ne=!1)),f||ne){for(U=gwt(e,T,t);U.a.gc()!=0;)M=l(U.a.ec().Jc().Pb(),9),U.a.Ac(M)!=null,mo(U,gwt(e,M,t));--O,de=!0}}}while(de)}function w3n(e){xn(e.c,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#decimal"])),xn(e.d,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#integer"])),xn(e.e,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#boolean"])),xn(e.f,Bn,Z(X(Je,1),Pe,2,6,[ho,"EBoolean",or,"EBoolean:Object"])),xn(e.i,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#byte"])),xn(e.g,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#hexBinary"])),xn(e.j,Bn,Z(X(Je,1),Pe,2,6,[ho,"EByte",or,"EByte:Object"])),xn(e.n,Bn,Z(X(Je,1),Pe,2,6,[ho,"EChar",or,"EChar:Object"])),xn(e.t,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#double"])),xn(e.u,Bn,Z(X(Je,1),Pe,2,6,[ho,"EDouble",or,"EDouble:Object"])),xn(e.F,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#float"])),xn(e.G,Bn,Z(X(Je,1),Pe,2,6,[ho,"EFloat",or,"EFloat:Object"])),xn(e.I,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#int"])),xn(e.J,Bn,Z(X(Je,1),Pe,2,6,[ho,"EInt",or,"EInt:Object"])),xn(e.N,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#long"])),xn(e.O,Bn,Z(X(Je,1),Pe,2,6,[ho,"ELong",or,"ELong:Object"])),xn(e.Z,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#short"])),xn(e.$,Bn,Z(X(Je,1),Pe,2,6,[ho,"EShort",or,"EShort:Object"])),xn(e._,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#string"]))}function Be(){Be=K,Ate=(_n(),W6t),HAe=K6t,vL=Y6t,od=J6t,o2=ANe,ym=_Ne,ev=xNe,ok=kNe,sk=NNe,_te=oU,vm=Od,xte=X6t,GI=RNe,EB=qT,yL=(Z0e(),FCt),Qy=$Ct,$1=BCt,tv=UCt,kIt=new Mi(HL,Re(0)),ik=MCt,UAe=PCt,FT=jCt,XAe=cIt,GAe=GCt,qAe=WCt,Nte=eIt,VAe=JCt,WAe=ZCt,SB=hIt,Cte=lIt,YAe=oIt,KAe=rIt,JAe=aIt,IAe=mCt,vte=hCt,bB=fCt,Ete=gCt,ow=CCt,zI=ICt,wte=U3t,yAe=z3t,OIt=wk,DIt=sU,RIt=dv,IIt=mk,zAe=(VS(),pv),new Mi(VT,zAe),PAe=new xb(12),MAe=new Mi(df,PAe),bAe=(gp(),Ek),kp=new Mi(tNe,bAe),Jy=new Mi(zu,0),NIt=new Mi(vre,Re(1)),aB=new Mi(gk,bx),wm=iU,Zr=bk,rk=m2,vIt=BL,Kf=L6t,Wy=h2,CIt=new Mi(Ere,(Lt(),!0)),Ky=UL,bm=fre,mm=Am,vB=G1,Tte=uv,gAe=(vi(),hf),xc=new Mi(Tm,gAe),iw=g2,wB=cNe,Xy=cv,xIt=yre,$Ae=SNe,FAe=(vE(),WL),new Mi(mNe,FAe),TIt=gre,AIt=bre,_It=mre,SIt=pre,kte=zCt,gB=dCt,wL=lCt,qI=HCt,Cs=rCt,jT=D3t,BI=O3t,tk=m3t,fAe=w3t,gte=S3t,mL=y3t,bte=I3t,RAe=wCt,OAe=yCt,_Ae=X3t,yB=DCt,Ste=SCt,yte=V3t,LAe=kCt,wAe=$3t,mte=B3t,pte=$L,DAe=vCt,cB=QNt,uAe=ZNt,uB=XNt,SAe=Y3t,EAe=K3t,TAe=J3t,nk=b2,ss=p2,_g=F6t,Yf=dre,i2=rU,hAe=A3t,xg=wre,PI=j6t,pB=B6t,sw=yNe,jAe=z6t,Yy=G6t,kAe=oCt,NAe=aCt,Zy=GT,lte=JNt,CAe=cCt,hB=P3t,fB=M3t,mB=Cp,xAe=eCt,HI=ACt,EL=CNe,pAe=L3t,BAe=LCt,mAe=j3t,mIt=x3t,wIt=k3t,EIt=nCt,yIt=N3t,AAe=hre,UI=iCt,dB=C3t,Ch=b3t,fte=h3t,bL=t3t,dte=n3t,lB=p3t,jI=e3t,hte=g3t,Vy=f3t,$I=d3t,bIt=l3t,PT=r3t,FI=c3t,dAe=u3t,cAe=i3t,lAe=s3t,vAe=W3t}function y3n(e,t,r,o,a,u,f){var p,m,y,v,T,N,O,M;return N=l(o.a,15).a,O=l(o.b,15).a,T=e.b,M=e.c,p=0,v=0,t==(vi(),as)||t==fs?(v=wO(bgt(ey(Oa(new Et(null,new St(r.b,16)),new fze),new YHe))),T.e.b+T.f.b/2>v?(y=++O,p=ue(ce(Xu(Jw(Oa(new Et(null,new St(r.b,16)),new jtt(a,y)),new JHe))))):(m=++N,p=ue(ce(Xu(NS(Oa(new Et(null,new St(r.b,16)),new Ftt(a,m)),new XHe)))))):(v=wO(bgt(ey(Oa(new Et(null,new St(r.b,16)),new oze),new WHe))),T.e.a+T.f.a/2>v?(y=++O,p=ue(ce(Xu(Jw(Oa(new Et(null,new St(r.b,16)),new Ptt(a,y)),new ZHe))))):(m=++N,p=ue(ce(Xu(NS(Oa(new Et(null,new St(r.b,16)),new Mtt(a,m)),new rze)))))),t==as?(Eo(e.a,new Me(ue(ce(F(T,(Nr(),Id))))-a,p)),Eo(e.a,new Me(M.e.a+M.f.a+a+u,p)),Eo(e.a,new Me(M.e.a+M.f.a+a+u,M.e.b+M.f.b/2)),Eo(e.a,new Me(M.e.a+M.f.a,M.e.b+M.f.b/2))):t==fs?(Eo(e.a,new Me(ue(ce(F(T,(Nr(),sd))))+a,T.e.b+T.f.b/2)),Eo(e.a,new Me(T.e.a+T.f.a+a,p)),Eo(e.a,new Me(M.e.a-a-u,p)),Eo(e.a,new Me(M.e.a-a-u,M.e.b+M.f.b/2)),Eo(e.a,new Me(M.e.a,M.e.b+M.f.b/2))):t==il?(Eo(e.a,new Me(p,ue(ce(F(T,(Nr(),Id))))-a)),Eo(e.a,new Me(p,M.e.b+M.f.b+a+u)),Eo(e.a,new Me(M.e.a+M.f.a/2,M.e.b+M.f.b+a+u)),Eo(e.a,new Me(M.e.a+M.f.a/2,M.e.b+M.f.b+a))):(e.a.b==0||(l(zl(e.a),8).b=ue(ce(F(T,(Nr(),sd))))+a*l(f.b,15).a),Eo(e.a,new Me(p,ue(ce(F(T,(Nr(),sd))))+a*l(f.b,15).a)),Eo(e.a,new Me(p,M.e.b-a*l(f.a,15).a-u))),new ko(Re(N),Re(O))}function v3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O;if(f=!0,T=null,o=null,a=null,t=!1,O=JDt,y=null,u=null,p=0,m=gY(e,p,_3e,x3e),m<e.length&&(Yt(m,e.length),e.charCodeAt(m)==58)&&(T=(io(p,m,e.length),e.substr(p,m-p)),p=m+1),r=T!=null&&VN(EU,T.toLowerCase()),r){if(m=e.lastIndexOf("!/"),m==-1)throw Y(new jt("no archive separator"));f=!0,o=yl(e,p,++m),p=m}else p>=0&&wt(e.substr(p,2),"//")?(p+=2,m=gY(e,p,O4,D4),o=(io(p,m,e.length),e.substr(p,m-p)),p=m):T!=null&&(p==e.length||(Yt(p,e.length),e.charCodeAt(p)!=47))&&(f=!1,m=xde(e,Qa(35),p),m==-1&&(m=e.length),o=(io(p,m,e.length),e.substr(p,m-p)),p=m);if(!r&&p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==47)&&(m=gY(e,p+1,O4,D4),v=(io(p+1,m,e.length),e.substr(p+1,m-(p+1))),v.length>0&&co(v,v.length-1)==58&&(a=v,p=m)),p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==47)&&(++p,t=!0),p<e.length&&(Yt(p,e.length),e.charCodeAt(p)!=63)&&(Yt(p,e.length),e.charCodeAt(p)!=35)){for(N=new je;p<e.length&&(Yt(p,e.length),e.charCodeAt(p)!=63)&&(Yt(p,e.length),e.charCodeAt(p)!=35);)m=gY(e,p,O4,D4),Fe(N,(io(p,m,e.length),e.substr(p,m-p))),p=m,p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==47)&&(jpn(e,++p)||N.c.push(""));O=we(Je,Pe,2,N.c.length,6,1),Yd(N,O)}return p<e.length&&(Yt(p,e.length),e.charCodeAt(p)==63)&&(m=KA(e,35,++p),m==-1&&(m=e.length),y=(io(p,m,e.length),e.substr(p,m-p)),p=m),p<e.length&&(u=hhe(e,++p)),Zxn(f,T,o,a,O,y),new gJ(f,T,o,a,t,O,y,u)}function hD(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(ma(e.b,t)){if(bl(l(Ht(e.b,t),47),r))return 1}else Jn(e.b,t,new hi);if(ma(e.b,r)){if(bl(l(Ht(e.b,r),47),t))return-1}else Jn(e.b,r,new hi);if(ma(e.g,t)){if(bl(l(Ht(e.g,t),47),r))return-1}else Jn(e.g,t,new hi);if(ma(e.g,r)){if(bl(l(Ht(e.b,r),47),t))return 1}else Jn(e.g,r,new hi);if(e.e==(bp(),$te)||!gr(t,(Ie(),Cr))||!gr(r,(Ie(),Cr))){for(N=null,v=new V(t.j);v.a<v.c.c.length;)if(m=l(q(v),12),m.e.c.length!=0&&l(ze(m.e,0),17).c.i.c.p==t.c.p-1){N=l(ze(m.e,0),17).c;break}for(M=null,y=new V(r.j);y.a<y.c.c.length;)if(m=l(q(y),12),m.e.c.length!=0&&l(ze(m.e,0),17).c.i.c.p==r.c.p-1){M=l(ze(m.e,0),17).c;break}if(N&&M){if(T=N.i,O=M.i,T&&T==O){for(z=new V(T.j);z.a<z.c.c.length;){if(U=l(q(z),12),U==N)return ac(e,r,t),-1;if(U==M)return ac(e,t,r),1}return a=HY(e,t),f=HY(e,r),a>f?(ac(e,t,r),1):(ac(e,r,t),-1)}for(ne=e.f,se=0,de=ne.length;se<de;++se){if(J=ne[se],J==T)return ac(e,r,t),-1;if(J==O)return ac(e,t,r),1}}if(N&&!M||!N&&M){if(o=zEt(e,t,r),o!=0)return o>0?ac(e,t,r):ac(e,r,t),o;if(!gr(t,(Ie(),Cr))||!gr(r,Cr))return u=HY(e,t),p=HY(e,r),u>p?(ac(e,t,r),1):(ac(e,r,t),-1)}if(!N&&!M&&(o=zEt(e,t,r),o!=0))return o>0?ac(e,t,r):ac(e,r,t),o}return gr(t,(Ie(),Cr))&&gr(r,Cr)?(u=D0(t,r,e.c,l(F(e.c,F1),15).a),p=D0(r,t,e.c,l(F(e.c,F1),15).a),u>p?(ac(e,t,r),1):(ac(e,r,t),-1)):(ac(e,r,t),-1)}function HEt(){HEt=K,qJ(),Wn=new b0,yt(Wn,(He(),dd),gf),yt(Wn,Rl,gf),yt(Wn,Iu,gf),yt(Wn,fd,gf),yt(Wn,su,gf),yt(Wn,Ru,gf),yt(Wn,fd,dd),yt(Wn,gf,ol),yt(Wn,dd,ol),yt(Wn,Rl,ol),yt(Wn,Iu,ol),yt(Wn,ou,ol),yt(Wn,fd,ol),yt(Wn,su,ol),yt(Wn,Ru,ol),yt(Wn,Wa,ol),yt(Wn,gf,Nc),yt(Wn,dd,Nc),yt(Wn,ol,Nc),yt(Wn,Rl,Nc),yt(Wn,Iu,Nc),yt(Wn,ou,Nc),yt(Wn,fd,Nc),yt(Wn,Wa,Nc),yt(Wn,Cc,Nc),yt(Wn,su,Nc),yt(Wn,vu,Nc),yt(Wn,Ru,Nc),yt(Wn,dd,Rl),yt(Wn,Iu,Rl),yt(Wn,fd,Rl),yt(Wn,Ru,Rl),yt(Wn,dd,Iu),yt(Wn,Rl,Iu),yt(Wn,fd,Iu),yt(Wn,Iu,Iu),yt(Wn,su,Iu),yt(Wn,gf,sl),yt(Wn,dd,sl),yt(Wn,ol,sl),yt(Wn,Nc,sl),yt(Wn,Rl,sl),yt(Wn,Iu,sl),yt(Wn,ou,sl),yt(Wn,fd,sl),yt(Wn,Cc,sl),yt(Wn,Wa,sl),yt(Wn,Ru,sl),yt(Wn,su,sl),yt(Wn,ka,sl),yt(Wn,gf,Cc),yt(Wn,dd,Cc),yt(Wn,ol,Cc),yt(Wn,Rl,Cc),yt(Wn,Iu,Cc),yt(Wn,ou,Cc),yt(Wn,fd,Cc),yt(Wn,Wa,Cc),yt(Wn,Ru,Cc),yt(Wn,vu,Cc),yt(Wn,ka,Cc),yt(Wn,dd,Wa),yt(Wn,Rl,Wa),yt(Wn,Iu,Wa),yt(Wn,fd,Wa),yt(Wn,Cc,Wa),yt(Wn,Ru,Wa),yt(Wn,su,Wa),yt(Wn,gf,iu),yt(Wn,dd,iu),yt(Wn,ol,iu),yt(Wn,Rl,iu),yt(Wn,Iu,iu),yt(Wn,ou,iu),yt(Wn,fd,iu),yt(Wn,Wa,iu),yt(Wn,Ru,iu),yt(Wn,dd,su),yt(Wn,ol,su),yt(Wn,Nc,su),yt(Wn,Iu,su),yt(Wn,gf,vu),yt(Wn,dd,vu),yt(Wn,Nc,vu),yt(Wn,Rl,vu),yt(Wn,Iu,vu),yt(Wn,ou,vu),yt(Wn,fd,vu),yt(Wn,fd,ka),yt(Wn,Iu,ka),yt(Wn,Wa,gf),yt(Wn,Wa,Rl),yt(Wn,Wa,ol),yt(Wn,ou,gf),yt(Wn,ou,dd),yt(Wn,ou,Nc)}function E3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;switch(r.Tg("Brandes & Koepf node placement",1),e.a=t,e.c=XAn(t),o=l(F(t,(Be(),Ste)),284),O=Ye(Ke(F(t,HI))),e.d=o==(K6(),X$)&&!O||o==Wee,qxn(e,t),Ee=null,ye=null,J=null,ne=null,z=(wc(4,Iy),new Da(4)),l(F(t,Ste),284).g){case 3:J=new NE(t,e.c.d,(zd(),Em),(If(),kg)),Ot(z.c,J);break;case 1:ne=new NE(t,e.c.d,(zd(),uf),(If(),kg)),Ot(z.c,ne);break;case 4:Ee=new NE(t,e.c.d,(zd(),Em),(If(),aw)),Ot(z.c,Ee);break;case 2:ye=new NE(t,e.c.d,(zd(),uf),(If(),aw)),Ot(z.c,ye);break;default:J=new NE(t,e.c.d,(zd(),Em),(If(),kg)),ne=new NE(t,e.c.d,uf,kg),Ee=new NE(t,e.c.d,Em,aw),ye=new NE(t,e.c.d,uf,aw),Ot(z.c,Ee),Ot(z.c,ye),Ot(z.c,J),Ot(z.c,ne)}for(a=new Ctt(t,e.c),p=new V(z);p.a<p.c.c.length;)u=l(q(p),188),DNn(a,u,e.b),C_n(u);for(N=new abt(t,e.c),m=new V(z);m.a<m.c.c.length;)u=l(q(m),188),ikn(N,u);if(r.$g())for(y=new V(z);y.a<y.c.c.length;)u=l(q(y),188),r.ah(u+" size is "+cJ(u));if(T=null,e.d&&(v=_Nn(e,z,e.c.d),mvt(t,v,r)&&(T=v)),!T)for(y=new V(z);y.a<y.c.c.length;)u=l(q(y),188),mvt(t,u,r)&&(!T||cJ(T)>cJ(u))&&(T=u);for(!T&&(T=(at(0,z.c.length),l(z.c[0],188))),U=new V(t.b);U.a<U.c.c.length;)for(M=l(q(U),26),de=new V(M.a);de.a<de.c.c.length;)se=l(q(de),9),se.n.b=ue(T.p[se.p])+ue(T.d[se.p]);for(r.$g()&&(r.ah("Chosen node placement: "+T),r.ah("Blocks: "+_0t(T)),r.ah("Classes: "+hEn(T,r)),r.ah("Marked edges: "+e.b)),f=new V(z);f.a<f.c.c.length;)u=l(q(f),188),u.g=null,u.b=null,u.a=null,u.d=null,u.j=null,u.i=null,u.p=null;Cln(e.c),e.b.a.$b(),r.Ug()}function zEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;if(t.k==(zt(),gi)&&r.k==Xr)return u=l(ze(l(vS(hp(lr(new Et(null,new St(t.j,16)),new h9))),12).e,0),17).c,a=u.i,p=l(ze(l(vS(hp(lr(new Et(null,new St(t.j,16)),new p9))),12).g,0),17).d,f=p.i,o=t.c.p,a.c.p!=o&&f.c.p!=o?0:a==r||f==r?(ac(e,t,r),1):hD(e,a,r);if(t.k==Xr&&r.k==gi)return u=l(ze(l(vS(hp(lr(new Et(null,new St(r.j,16)),new h9))),12).e,0),17).c,a=u.i,p=l(ze(l(vS(hp(lr(new Et(null,new St(r.j,16)),new p9))),12).g,0),17).d,f=p.i,o=t.c.p,a.c.p!=o&&f.c.p!=o?0:a==t||f==t?(ac(e,r,t),-1):hD(e,t,a);if(t.k==gi&&r.k==gi){if(N=l(ze(l(vS(hp(lr(new Et(null,new St(t.j,16)),new h9))),12).e,0),17).c,O=l(ze(l(vS(hp(lr(new Et(null,new St(t.j,16)),new p9))),12).g,0),17).d,M=N.i,U=O.i,m=t.c.p,v=!1,T=!1,de=l(ze(l(vS(hp(lr(new Et(null,new St(r.j,16)),new h9))),12).e,0),17).c,Ee=l(ze(l(vS(hp(lr(new Et(null,new St(r.j,16)),new p9))),12).g,0),17).d,ye=de.i,qe=Ee.i,z=r.c.p,ne=!1,se=!1,y=t,J=r,M.c.p==m?(v=!0,y=M):U.c.p==m&&(T=!0,y=U),ye.c.p==z?(ne=!0,J=ye):qe.c.p==z&&(se=!0,J=qe),y==J)if(e.a){if(v&&ne)return It=WEt(new Mpe(e.c,e.f,e.e,null,se),N,de),It>0?(ac(e,r,t),1):(ac(e,t,r),-1);if(v&&se)return ac(e,r,t),1;if(T&&ne)return ac(e,t,r),-1;if(T&&se)return 0}else for(ft=new V(y.j);ft.a<ft.c.c.length;){if(lt=l(q(ft),12),N==lt)return ac(e,r,t),-1;if(de==lt)return ac(e,t,r),1}return hD(e,y,J)}else return 0}function S3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on;if(e.c.length==1)return _1t((at(0,e.c.length),l(e.c[0],121))),at(0,e.c.length),l(e.c[0],121);if(e.c.length<=0)return new i6;for(m=new V(e);m.a<m.c.c.length;){for(f=l(q(m),121),ne=0,M=sr,U=sr,N=Qi,O=Qi,J=An(f.b,0);J.b!=J.d.c;)z=l(Sn(J),41),ne+=l(F(z,(js(),FB)),15).a,M=b.Math.min(M,z.e.a),U=b.Math.min(U,z.e.b),N=b.Math.max(N,z.e.a+z.f.a),O=b.Math.max(O,z.e.b+z.f.b);Te(f,(js(),FB),Re(ne)),Te(f,(Nr(),ck),new Me(M,U)),Te(f,NL,new Me(N,O))}for(At(),xi(e,new yHe),Ee=new i6,qs(Ee,(at(0,e.c.length),l(e.c[0],105))),T=0,It=0,y=new V(e);y.a<y.c.c.length;)f=l(q(y),121),ye=Di(To(l(F(f,(Nr(),NL)),8)),l(F(f,ck),8)),T=b.Math.max(T,ye.a),It+=ye.a*ye.b;for(T=b.Math.max(T,b.Math.sqrt(It)*ue(ce(F(Ee,(js(),uRt))))),qe=ue(ce(F(Ee,sne))),Dt=0,on=0,v=0,t=qe,p=new V(e);p.a<p.c.c.length;)f=l(q(p),121),ye=Di(To(l(F(f,(Nr(),NL)),8)),l(F(f,ck),8)),Dt+ye.a>T&&(Dt=0,on+=v+qe,v=0),Iyt(Ee,f,Dt,on),t=b.Math.max(t,Dt+ye.a),v=b.Math.max(v,ye.b),Dt+=ye.a+qe;for(de=new hn,r=new hn,ft=new V(e);ft.a<ft.c.c.length;)for(lt=l(q(ft),121),o=Ye(Ke(F(lt,(_n(),BL)))),se=lt.q?lt.q:xh,u=se.vc().Jc();u.Ob();)a=l(u.Pb(),45),ma(de,a.jd())?be(l(a.jd(),149).Rg())!==be(a.kd())&&(o&&ma(r,a.jd())?(eg(),""+l(a.jd(),149).Og()):(Jn(de,l(a.jd(),149),a.kd()),Te(Ee,l(a.jd(),149),a.kd()),o&&Jn(r,l(a.jd(),149),a.kd()))):(Jn(de,l(a.jd(),149),a.kd()),Te(Ee,l(a.jd(),149),a.kd()));return Xwt(Ee,new RG),_1t(Ee),Ee}function Q7(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 Rat(e.b,e.a,t,e.c);case 1:return new P8(e.a,t,Ur(t.Ah(),e.c));case 43:return new brt(e.a,t,Ur(t.Ah(),e.c));case 3:return new yi(e.a,t,Ur(t.Ah(),e.c));case 45:return new du(e.a,t,Ur(t.Ah(),e.c));case 41:return new pu(l(Sl(e.c),29),e.a,t,Ur(t.Ah(),e.c));case 50:return new Wft(l(Sl(e.c),29),e.a,t,Ur(t.Ah(),e.c));case 5:return new ofe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 47:return new Oit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 7:return new ke(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 49:return new TS(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 9:return new mrt(e.a,t,Ur(t.Ah(),e.c));case 11:return new yrt(e.a,t,Ur(t.Ah(),e.c));case 13:return new yde(e.a,t,Ur(t.Ah(),e.c));case 15:return new Z8(e.a,t,Ur(t.Ah(),e.c));case 17:return new wrt(e.a,t,Ur(t.Ah(),e.c));case 19:return new oE(e.a,t,Ur(t.Ah(),e.c));case 21:return new wde(e.a,t,Ur(t.Ah(),e.c));case 23:return new zO(e.a,t,Ur(t.Ah(),e.c));case 25:return new Mit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 27:return new Tt(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 29:return new Lit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 31:return new Dit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 33:return new afe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 35:return new sfe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 37:return new kV(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 39:return new mP(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 40:return new ni(t,Ur(t.Ah(),e.c));default:throw Y(new Es("Unknown feature style: "+e.e))}}function T3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn;for(p=new Ar,qe=l(F(r,(Be(),xc)),87),z=0,o=new hi,mo(p,(!t.a&&(t.a=new ke(En,t,10,11)),t.a));p.b!=0;)T=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),19),v=Br(T),V7(v)&&!Ye(Ke(ve(T,lB)))&&(Vn(T,(Ie(),Cr),Re(z++)),Gc(T,Vy)&&pi(o,l(ve(T,Vy),15))),ne=!Ye(Ke(ve(T,wm))),ne&&(O=(!T.a&&(T.a=new ke(En,T,10,11)),T.a).i!=0,U=dwn(T),M=be(ve(T,Wy))===be((pp(),Ig)),qn=!Gc(T,(_n(),zT))||glt(In(ve(T,zT))),Ee=null,qn&&M&&(O||U)&&(Ee=rvt(T),Te(Ee,xc,qe),gr(Ee,yL)&&hQe(new E1e(ue(ce(F(Ee,yL)))),Ee),l(ve(T,mm),185).gc()!=0&&(N=Ee,ei(new Et(null,(!T.c&&(T.c=new ke(Gu,T,9,9)),new St(T.c,16))),new EYe(N)),zwt(T,Ee))),lt=r,ft=l(Ht(e.a,Br(T)),9),ft&&(lt=ft.e),de=fEt(e,T,lt),Ee&&(de.e=Ee,Ee.e=de,mo(p,(!T.a&&(T.a=new ke(En,T,10,11)),T.a))));for(Te(r,(Ie(),F1),Re(z)),Te(r,fL,Re(o.a.gc())),z=0,Wr(p,t,p.c.b,p.c);p.b!=0;){for(f=l(p.b==0?null:(un(p.b!=0),Vc(p,p.a.a)),19),y=new tn((!f.b&&(f.b=new ke(Ir,f,12,3)),f.b));y.e!=y.i.gc();)m=l(rn(y),74),myt(m),V7(t)&&Vn(m,Cr,Re(z++)),Dt=Yo(l(oe((!m.b&&(m.b=new Tt(pn,m,4,7)),m.b),0),83)),on=Yo(l(oe((!m.c&&(m.c=new Tt(pn,m,5,8)),m.c),0),83)),!(Ye(Ke(ve(m,wm)))||Ye(Ke(ve(Dt,wm)))||Ye(Ke(ve(on,wm))))&&(J=R0(m)&&Ye(Ke(ve(Dt,Ky)))&&Ye(Ke(ve(m,bm))),ye=f,J||uy(on,Dt)?ye=Dt:uy(Dt,on)&&(ye=on),lt=r,ft=l(Ht(e.a,ye),9),ft&&(lt=ft.e),se=X0e(e,m,ye,lt),Te(se,bTe,TSn(e,m,t,r)));if(M=be(ve(f,Wy))===be((pp(),Ig)),M)for(u=new tn((!f.a&&(f.a=new ke(En,f,10,11)),f.a));u.e!=u.i.gc();)a=l(rn(u),19),qn=!Gc(a,(_n(),zT))||glt(In(ve(a,zT))),It=be(ve(a,Wy))===be(Ig),qn&&It&&Wr(p,a,p.c.b,p.c)}}function GEt(e){var t,r,o,a,u,f,p,m;for(u=0,a=e.a.b,m=An(e.a,0);m.b!=m.d.c;){if(p=l(Sn(m),243),f=(u+1)/(a+1),!e.c&&!e.d)return;e.c&&!e.d?(e.g=!0,e.b==(vi(),as)?(o=e.c.e.b+e.c.f.b+e.e*(u+1),t=new Me(ue(ce(F(e.c,(Nr(),sd))))+e.e,o),r=new Me(ue(ce(F(e.c,Id)))-e.e,o)):e.b==fs?(o=e.c.e.b+e.c.f.b+e.e*(u+1),t=new Me(ue(ce(F(e.c,(Nr(),Id))))-e.e,o),r=new Me(ue(ce(F(e.c,sd)))+e.e,o)):e.b==il?(o=e.c.e.a+e.c.f.a+e.e*(u+1),t=new Me(o,ue(ce(F(e.c,(Nr(),sd))))+e.e),r=new Me(o,ue(ce(F(e.c,Id)))-e.e)):(o=e.c.e.a+e.c.f.a+e.e*(u+1),t=new Me(o,ue(ce(F(e.c,(Nr(),Id))))-e.e),r=new Me(o,ue(ce(F(e.c,sd)))+e.e))):e.c&&e.d?e.b==(vi(),as)?(o=e.d.e.b*f+(e.c.e.b+e.c.f.b)*(1-f),t=new Me(ue(ce(F(e.c,(Nr(),sd))))+e.e,o),r=new Me(ue(ce(F(e.c,Id)))-e.e,o)):e.b==fs?(o=e.d.e.b*f+(e.c.e.b+e.c.f.b)*(1-f),t=new Me(ue(ce(F(e.c,(Nr(),Id))))-e.e,o),r=new Me(ue(ce(F(e.c,sd)))+e.e,o)):e.b==il?(o=e.d.e.a*f+(e.c.e.a+e.c.f.a)*(1-f),t=new Me(o,ue(ce(F(e.c,(Nr(),sd))))+e.e),r=new Me(o,ue(ce(F(e.c,Id)))-e.e)):(o=e.d.e.a*f+(e.c.e.a+e.c.f.a)*(1-f),t=new Me(o,ue(ce(F(e.c,(Nr(),Id))))-e.e),r=new Me(o,ue(ce(F(e.c,sd)))+e.e)):(e.f=!0,e.b==(vi(),as)?(o=e.d.e.b-e.e*(u+1),t=new Me(ue(ce(F(e.d,(Nr(),sd))))+e.e,o),r=new Me(ue(ce(F(e.d,Id)))-e.e,o)):e.b==fs?(o=e.d.e.b-e.e*(u+1),t=new Me(ue(ce(F(e.d,(Nr(),Id))))-e.e,o),r=new Me(ue(ce(F(e.d,sd)))+e.e,o)):e.b==il?(o=e.d.e.a-e.e*(u+1),t=new Me(o,ue(ce(F(e.d,(Nr(),sd))))+e.e),r=new Me(o,ue(ce(F(e.d,Id)))-e.e)):(o=e.d.e.a-e.e*(u+1),t=new Me(o,ue(ce(F(e.d,(Nr(),Id))))-e.e),r=new Me(o,ue(ce(F(e.d,sd)))+e.e))),l(p.a,8).a=t.a,l(p.a,8).b=t.b,p.b.a=r.a,p.b.b=r.b,++u}}function A3n(e,t,r,o,a,u){var f,p,m,y,v,T,N,O,M,U,z,J;switch(t){case 71:p=o.q.getFullYear()-k1>=-1900?1:0,r>=4?zn(e,Z(X(Je,1),Pe,2,6,[u2t,c2t])[p]):zn(e,Z(X(Je,1),Pe,2,6,["BC","AD"])[p]);break;case 121:Z1n(e,r,o);break;case 77:eAn(e,r,o);break;case 107:m=a.q.getHours(),m==0?bh(e,24,r):bh(e,m,r);break;case 83:b2n(e,r,a);break;case 69:v=o.q.getDay(),r==5?zn(e,Z(X(Je,1),Pe,2,6,["S","M","T","W","T","F","S"])[v]):r==4?zn(e,Z(X(Je,1),Pe,2,6,[fX,hX,pX,gX,bX,mX,wX])[v]):zn(e,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[v]);break;case 97:a.q.getHours()>=12&&a.q.getHours()<24?zn(e,Z(X(Je,1),Pe,2,6,["AM","PM"])[1]):zn(e,Z(X(Je,1),Pe,2,6,["AM","PM"])[0]);break;case 104:T=a.q.getHours()%12,T==0?bh(e,12,r):bh(e,T,r);break;case 75:N=a.q.getHours()%12,bh(e,N,r);break;case 72:O=a.q.getHours(),bh(e,O,r);break;case 99:M=o.q.getDay(),r==5?zn(e,Z(X(Je,1),Pe,2,6,["S","M","T","W","T","F","S"])[M]):r==4?zn(e,Z(X(Je,1),Pe,2,6,[fX,hX,pX,gX,bX,mX,wX])[M]):r==3?zn(e,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[M]):bh(e,M,1);break;case 76:U=o.q.getMonth(),r==5?zn(e,Z(X(Je,1),Pe,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[U]):r==4?zn(e,Z(X(Je,1),Pe,2,6,[tX,nX,rX,iX,lT,oX,sX,aX,uX,cX,lX,dX])[U]):r==3?zn(e,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[U]):bh(e,U+1,r);break;case 81:z=o.q.getMonth()/3|0,r<4?zn(e,Z(X(Je,1),Pe,2,6,["Q1","Q2","Q3","Q4"])[z]):zn(e,Z(X(Je,1),Pe,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[z]);break;case 100:J=o.q.getDate(),bh(e,J,r);break;case 109:y=a.q.getMinutes(),bh(e,y,r);break;case 115:f=a.q.getSeconds(),bh(e,f,r);break;case 122:r<4?zn(e,u.c[0]):zn(e,u.c[1]);break;case 118:zn(e,u.b);break;case 90:r<3?zn(e,bvn(u)):r==3?zn(e,vvn(u)):zn(e,Avn(u.a));break;default:return!1}return!0}function X0e(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn;if(myt(t),m=l(oe((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83),v=l(oe((!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),0),83),p=Yo(m),y=Yo(v),f=(!t.a&&(t.a=new ke(jr,t,6,6)),t.a).i==0?null:l(oe((!t.a&&(t.a=new ke(jr,t,6,6)),t.a),0),171),qe=l(Ht(e.a,p),9),Dt=l(Ht(e.a,y),9),lt=null,on=null,ae(m,196)&&(ye=l(Ht(e.a,m),248),ae(ye,12)?lt=l(ye,12):ae(ye,9)&&(qe=l(ye,9),lt=l(ze(qe.j,0),12))),ae(v,196)&&(It=l(Ht(e.a,v),248),ae(It,12)?on=l(It,12):ae(It,9)&&(Dt=l(It,9),on=l(ze(Dt.j,0),12))),!qe||!Dt)throw Y(new cS("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(U=new p0,qs(U,t),Te(U,(Ie(),mr),t),Te(U,(Be(),ss),null),O=l(F(o,xa),24),qe==Dt&&O.Ec((Fo(),II)),lt||(Ee=(jo(),Ba),ft=null,f&&tE(l(F(qe,Zr),103))&&(ft=new Me(f.j,f.k),Mct(ft,ty(t)),ult(ft,r),uy(y,p)&&(Ee=Cu,br(ft,qe.n))),lt=Tvt(qe,ft,Ee,o)),on||(Ee=(jo(),Cu),qn=null,f&&tE(l(F(Dt,Zr),103))&&(qn=new Me(f.b,f.c),Mct(qn,ty(t)),ult(qn,r)),on=Tvt(Dt,qn,Ee,ji(Dt))),bo(U,lt),Ji(U,on),(lt.e.c.length>1||lt.g.c.length>1||on.e.c.length>1||on.g.c.length>1)&&O.Ec((Fo(),CI)),N=new tn((!t.n&&(t.n=new ke(Rs,t,1,7)),t.n));N.e!=N.i.gc();)if(T=l(rn(N),158),!Ye(Ke(ve(T,wm)))&&T.a)switch(z=KK(T),Fe(U.b,z),l(F(z,Yf),281).g){case 1:case 2:O.Ec((Fo(),Zx));break;case 0:O.Ec((Fo(),Xx)),Te(z,Yf,(Kd(),yk))}if(u=l(F(o,BI),302),J=l(F(o,yB),329),a=u==(lC(),aL)||J==(hC(),jte),f&&(!f.a&&(f.a=new yi(Ic,f,5)),f.a).i!=0&&a){for(ne=gyn(f),M=new Lu,de=An(ne,0);de.b!=de.d.c;)se=l(Sn(de),8),Gn(M,new So(se));Te(U,vTe,M)}return U}function _3n(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr;for(ft=0,It=0,qe=new hn,Ee=l(Xu(Jw(Oa(new Et(null,new St(e.b,16)),new ize),new KHe)),15).a+1,lt=we(Rn,Qn,30,Ee,15,1),z=we(Rn,Qn,30,Ee,15,1),U=0;U<Ee;U++)lt[U]=0,z[U]=0;for(m=l(Au($he(new Et(null,new St(e.a,16))),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),v=m.Jc();v.Ob();)if(y=l(v.Pb(),65),on=l(F(y.b,(js(),Jf)),15).a,Gr=l(F(y.c,Jf),15).a,de=Gr-on,de>1)for(p=on+1;p<Gr;p++){if(T=p,ye=l(Au(lr(new Et(null,new St(e.b,16)),new rXe(T)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[nu]))),16),M=0,t==(vi(),as)||t==fs){for(ye.gd(new lze),M=0;M<ye.gc()&&(J=(p-on)/(Gr-on),!(l(ye.Xb(M),41).e.b>y.b.e.b*(1-J)+y.c.e.b*J));M++);if(ye.gc()>0&&(qn=y.a.b==0?To(y.b.e):l(zl(y.a),8),se=br(To(l(ye.Xb(ye.gc()-1),41).e),l(ye.Xb(ye.gc()-1),41).f),N=br(To(l(ye.Xb(0),41).e),l(ye.Xb(0),41).f),M>=ye.gc()-1&&qn.b>se.b&&y.c.e.b>se.b||M<=0&&qn.b<N.a&&y.c.e.b<N.b))continue}else{for(ye.gd(new dze),M=0;M<ye.gc()&&(J=(p-on)/(Gr-on),!(l(ye.Xb(M),41).e.a>y.b.e.a*(1-J)+y.c.e.a*J));M++);if(ye.gc()>0&&(qn=y.a.b==0?To(y.b.e):l(zl(y.a),8),se=br(To(l(ye.Xb(ye.gc()-1),41).e),l(ye.Xb(ye.gc()-1),41).f),N=br(To(l(ye.Xb(0),41).e),l(ye.Xb(0),41).f),M>=ye.gc()-1&&qn.a>se.a&&y.c.e.a>se.a||M<=0&&qn.a<N.a&&y.c.e.a<N.a))continue}a=new ro,u=new ro,Gn(y.a,a),Gn(y.a,u),f=new MV(a,u,y),ne=Of(fh(p,32),Gi(M,$o)),ma(qe,my(ne))?(O=l(Ht(qe,my(ne)),669),Gn(O.a,f),ep(O.b)?zb(O.a,new hze):zb(O.a,new pze),GEt(O)):(O=new B1t(M==0?null:l(ye.Xb(M-1),41),M==ye.gc()?null:l(ye.Xb(M),41),f,e),Jn(qe,my(ne),O)),t==as||t==fs?(O.f&&O.d.e.b<=ue(ce(F(e,(Nr(),nne))))&&++ft,O.g&&O.c.e.b+O.c.f.b>=ue(ce(F(e,(Nr(),q_e))))&&++It):(O.f&&O.d.e.a<=ue(ce(F(e,(Nr(),tne))))&&++ft,O.g&&O.c.e.a+O.c.f.a>=ue(ce(F(e,(Nr(),G_e))))&&++It)}else de==0?hme(y):de<0&&(++lt[on],++z[Gr],Dt=y3n(y,t,e,new ko(Re(ft),Re(It)),r,o,new ko(Re(z[Gr]),Re(lt[on]))),ft=l(Dt.a,15).a,It=l(Dt.b,15).a)}function x3n(e){e.gb||(e.gb=!0,e.b=Ps(e,0),Jr(e.b,18),Lr(e.b,19),e.a=Ps(e,1),Jr(e.a,1),Lr(e.a,2),Lr(e.a,3),Lr(e.a,4),Lr(e.a,5),e.o=Ps(e,2),Jr(e.o,8),Jr(e.o,9),Lr(e.o,10),Lr(e.o,11),Lr(e.o,12),Lr(e.o,13),Lr(e.o,14),Lr(e.o,15),Lr(e.o,16),Lr(e.o,17),Lr(e.o,18),Lr(e.o,19),Lr(e.o,20),Lr(e.o,21),Lr(e.o,22),Lr(e.o,23),is(e.o),is(e.o),is(e.o),is(e.o),is(e.o),is(e.o),is(e.o),is(e.o),is(e.o),is(e.o),e.p=Ps(e,3),Jr(e.p,2),Jr(e.p,3),Jr(e.p,4),Jr(e.p,5),Lr(e.p,6),Lr(e.p,7),is(e.p),is(e.p),e.q=Ps(e,4),Jr(e.q,8),e.v=Ps(e,5),Lr(e.v,9),is(e.v),is(e.v),is(e.v),e.w=Ps(e,6),Jr(e.w,2),Jr(e.w,3),Jr(e.w,4),Lr(e.w,5),e.B=Ps(e,7),Lr(e.B,1),is(e.B),is(e.B),is(e.B),e.Q=Ps(e,8),Lr(e.Q,0),is(e.Q),e.R=Ps(e,9),Jr(e.R,1),e.S=Ps(e,10),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),is(e.S),e.T=Ps(e,11),Lr(e.T,10),Lr(e.T,11),Lr(e.T,12),Lr(e.T,13),Lr(e.T,14),is(e.T),is(e.T),e.U=Ps(e,12),Jr(e.U,2),Jr(e.U,3),Lr(e.U,4),Lr(e.U,5),Lr(e.U,6),Lr(e.U,7),is(e.U),e.V=Ps(e,13),Lr(e.V,10),e.W=Ps(e,14),Jr(e.W,18),Jr(e.W,19),Jr(e.W,20),Lr(e.W,21),Lr(e.W,22),Lr(e.W,23),e.bb=Ps(e,15),Jr(e.bb,10),Jr(e.bb,11),Jr(e.bb,12),Jr(e.bb,13),Jr(e.bb,14),Jr(e.bb,15),Jr(e.bb,16),Lr(e.bb,17),is(e.bb),is(e.bb),e.eb=Ps(e,16),Jr(e.eb,2),Jr(e.eb,3),Jr(e.eb,4),Jr(e.eb,5),Jr(e.eb,6),Jr(e.eb,7),Lr(e.eb,8),Lr(e.eb,9),e.ab=Ps(e,17),Jr(e.ab,0),Jr(e.ab,1),e.H=Ps(e,18),Lr(e.H,0),Lr(e.H,1),Lr(e.H,2),Lr(e.H,3),Lr(e.H,4),Lr(e.H,5),is(e.H),e.db=Ps(e,19),Lr(e.db,2),e.c=rr(e,20),e.d=rr(e,21),e.e=rr(e,22),e.f=rr(e,23),e.i=rr(e,24),e.g=rr(e,25),e.j=rr(e,26),e.k=rr(e,27),e.n=rr(e,28),e.r=rr(e,29),e.s=rr(e,30),e.t=rr(e,31),e.u=rr(e,32),e.fb=rr(e,33),e.A=rr(e,34),e.C=rr(e,35),e.D=rr(e,36),e.F=rr(e,37),e.G=rr(e,38),e.I=rr(e,39),e.J=rr(e,40),e.L=rr(e,41),e.M=rr(e,42),e.N=rr(e,43),e.O=rr(e,44),e.P=rr(e,45),e.X=rr(e,46),e.Y=rr(e,47),e.Z=rr(e,48),e.$=rr(e,49),e._=rr(e,50),e.cb=rr(e,51),e.K=rr(e,52))}function qEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se;if(wvt(e,t),(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i!=0){for(p=new je,O=0;O<(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i;O++)a=l(oe(a_(l(oe((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),O),74)),0),19),qEt(e,a),Ot(p.c,a);for(m=p.c.length,M=0;M<p.c.length-1;M++)uEt((at(0,p.c.length),l(p.c[0],19)),(at(M,p.c.length),l(p.c[M],19)),(at(M+1,p.c.length),l(p.c[M+1],19)));for(z=((at(0,p.c.length),l(p.c[0],19)).mh()+(at(0,p.c.length),l(p.c[0],19)).lh()/2+l(ze(p,p.c.length-1),19).mh()+l(ze(p,p.c.length-1),19).lh()/2-t.g)/2-t.i,f=new V(p);f.a<f.c.c.length;)a=l(q(f),19),va(a,a.i-z),Vn(a,(wh(),cw),l(ve(a,Sm),107).a);for(N=0;N<m-1&&(at(N,p.c.length),l(p.c[N],19)).mh()+(at(N,p.c.length),l(p.c[N],19)).lh()+l((at(N,p.c.length),l(p.c[N],19)).mf((_n(),Cp)),125).c-t.g/2<=0;)++N;for(y=ue(ce((at(N,p.c.length),l(p.c[N],19)).mf((wh(),cw)))),o=0;o<m;o++)y<ue(ce((at(o,p.c.length),l(p.c[o],19)).mf(cw)))?(at(o,p.c.length),l(p.c[o],19)).of(cw,y):y=ue(ce((at(o,p.c.length),l(p.c[o],19)).mf(cw)));for(N=m-1;N>0&&(at(N,p.c.length),l(p.c[N],19)).mh()-l((at(N,p.c.length),l(p.c[N],19)).mf((_n(),Cp)),125).b-t.g/2>=0;)--N;if(N<m)for(r=N;r>=0;r--)y<ue(ce((at(r,p.c.length),l(p.c[r],19)).mf(cw)))?(at(r,p.c.length),l(p.c[r],19)).of(cw,y):y=ue(ce((at(r,p.c.length),l(p.c[r],19)).mf(cw)));for(U=l((at(0,p.c.length),l(p.c[0],19)).mf(Sm),107),v=l(ve(t,Sm),107),ne=(at(0,p.c.length),l(p.c[0],19)).mh()+U.c-v.c,J=new Qu(0,U.a,U.b),XR(v.b.b.b,new Qu(ne,ue(ce((at(0,p.c.length),l(p.c[0],19)).mf(cw))),J)),T=l(ve(t,ov),107),se=l((at(m-1,p.c.length),l(p.c[m-1],19)).mf(ov),107),ne=(at(m-1,p.c.length),l(p.c[m-1],19)).mh()+se.c-T.c,J=new Qu(0,se.a,se.b),XR(T.b.b.b,new Qu(ne,ue(ce((at(m-1,p.c.length),l(p.c[m-1],19)).mf(cw))),J)),u=new V(p);u.a<u.c.c.length;)a=l(q(u),19),Vn(t,Xf,b.Math.max(ue(ce(ve(t,Xf))),ue(ce(ve(a,Xf))))),Vn(t,hk,b.Math.min(ue(ce(ve(t,hk))),a.i+ue(ce(ve(a,hk))))),Vn(t,fk,b.Math.max(ue(ce(ve(t,fk))),a.i+ue(ce(ve(a,fk)))));Vn(t,Vne,ce(ve(t,Xf)))}}function VEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;if(wvt(e,t),(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i!=0){for(f=new je,v=0;v<(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i;v++)o=l(oe(a_(l(oe((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),v),74)),0),19),VEt(e,o),Ot(f.c,o);for(a_n(e,f),T=0;T<f.c.length-1;T++)uEt((at(0,f.c.length),l(f.c[0],19)),(at(T,f.c.length),l(f.c[T],19)),(at(T+1,f.c.length),l(f.c[T+1],19)));for(Ee=0,z=0,J=0;Ee<f.c.length&&(at(Ee,f.c.length),l(f.c[Ee],19)).nh()>=z;)(at(Ee,f.c.length),l(f.c[Ee],19)).nh()>z&&(J=Ee,z=(at(Ee,f.c.length),l(f.c[Ee],19)).nh()),Ee+=1;if(ne=0,Ee>0&&(ne=((at(J,f.c.length),l(f.c[J],19)).mh()+(at(Ee-1,f.c.length),l(f.c[Ee-1],19)).mh()+(at(Ee-1,f.c.length),l(f.c[Ee-1],19)).lh())/2-t.i-t.g/2),!Ye(Ke(ve(t,(QS(),Xne))))){if(r=((at(0,f.c.length),l(f.c[0],19)).mh()+l(ze(f,f.c.length-1),19).mh()+l(ze(f,f.c.length-1),19).lh()-t.g)/2-t.i,r<ne){for(y=0;y<J;y++)for(N=y+1;N<J+1;N++)for(lt=l((at(y,f.c.length),l(f.c[y],19)).mf((wh(),ov)),107),ft=(at(y,f.c.length),l(f.c[y],19)).mh()+lt.c,ye=(at(N,f.c.length),l(f.c[N],19)).mh()+(at(N,f.c.length),l(f.c[N],19)).lh()/2;lt&&lt.a<z;)se=ye-t.g/2+(ye-ft)*(t.j+t.f-z)/(z-lt.a),r=b.Math.max(r,se),lt=lt.b,lt&&(ft+=lt.c);ne=r}if(r>ne){for(y=Ee;y<f.c.length;y++)for(N=Ee-1;N<y;N++)for(M=l((at(y,f.c.length),l(f.c[y],19)).mf((wh(),Sm)),107),U=(at(y,f.c.length),l(f.c[y],19)).mh()+M.c,ye=(at(N,f.c.length),l(f.c[N],19)).mh()+(at(N,f.c.length),l(f.c[N],19)).lh()/2;M&&M.a<z;)se=ye-t.g/2+(ye-U)*(t.j+t.f-z)/(z-M.a),r=b.Math.min(r,se),M=M.b,M&&(U+=M.c);ne=r}}for(u=new V(f);u.a<u.c.c.length;)o=l(q(u),19),va(o,o.i-ne);for(p=l(ve(t,(wh(),Sm)),107),O=l((at(0,f.c.length),l(f.c[0],19)).mf(Sm),107),de=(at(0,f.c.length),l(f.c[0],19)).mh()+O.c-p.c,XR(p.b.b.b,new Qu(de,O.a,O.b)),m=l(ve(t,ov),107),qe=l(l(ze(f,f.c.length-1),19).mf(ov),107),de=l(ze(f,f.c.length-1),19).mh()+qe.c-m.c,XR(m.b.b.b,new Qu(de,qe.a,qe.b)),a=new V(f);a.a<a.c.c.length;)o=l(q(a),19),Vn(t,Xf,b.Math.max(ue(ce(ve(t,Xf))),ue(ce(ve(o,Xf))))),Vn(t,hk,b.Math.min(ue(ce(ve(t,hk))),o.i+ue(ce(ve(o,hk))))),Vn(t,fk,b.Math.max(ue(ce(ve(t,fk))),o.i+ue(ce(ve(o,fk)))));Vn(t,Vne,ce(ve(t,Xf)))}}function k3n(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M;for(T=An(e.b,0);T.b!=T.d.c;)if(v=l(Sn(T),41),!wt(v.c,DF))for(u=l(Au(new Et(null,new St(Lvn(v,e),16)),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),16),t==(vi(),as)||t==fs?u.gd(new uze):u.gd(new cze),M=u.gc(),a=0;a<M;a++)f=M==1?.5:(1+a)/(M+1),t==as?(y=ue(ce(F(v,(Nr(),sd)))),v.e.a+v.f.a+o<y?Eo(l(u.Xb(a),65).a,new Me(y+r,v.e.b+v.f.b*f)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,O=v.e.b+v.f.b/2,o>0&&b.Math.abs(m-O)/(b.Math.abs(p-N)/40)>50&&(O>m?Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a+o/5.3,v.e.b+v.f.b*f-o/2)):Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a+o/5.3,v.e.b+v.f.b*f+o/2)))),Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a,v.e.b+v.f.b*f))):t==fs?(y=ue(ce(F(v,(Nr(),Id)))),v.e.a-o>y?Eo(l(u.Xb(a),65).a,new Me(y-r,v.e.b+v.f.b*f)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,O=v.e.b+v.f.b/2,o>0&&b.Math.abs(m-O)/(b.Math.abs(p-N)/40)>50&&(O>m?Eo(l(u.Xb(a),65).a,new Me(v.e.a-o/5.3,v.e.b+v.f.b*f-o/2)):Eo(l(u.Xb(a),65).a,new Me(v.e.a-o/5.3,v.e.b+v.f.b*f+o/2)))),Eo(l(u.Xb(a),65).a,new Me(v.e.a,v.e.b+v.f.b*f))):t==il?(y=ue(ce(F(v,(Nr(),sd)))),v.e.b+v.f.b+o<y?Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,y+r)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,O=v.e.b+v.f.b/2,o>0&&b.Math.abs(p-N)/(b.Math.abs(m-O)/40)>50&&(N>p?Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f-o/2,v.e.b+o/5.3+v.f.b)):Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f+o/2,v.e.b+o/5.3+v.f.b)))),Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,v.e.b+v.f.b))):(y=ue(ce(F(v,(Nr(),Id)))),apt(l(u.Xb(a),65),e)?Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,l(zl(l(u.Xb(a),65).a),8).b)):v.e.b-o>y?Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,y-r)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,O=v.e.b+v.f.b/2,o>0&&b.Math.abs(p-N)/(b.Math.abs(m-O)/40)>50&&(N>p?Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f-o/2,v.e.b-o/5.3)):Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f+o/2,v.e.b-o/5.3)))),Eo(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,v.e.b)))}function WEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye;if(f=t,N=r,ma(e.a,f)){if(bl(l(Ht(e.a,f),47),N))return 1}else Jn(e.a,f,new hi);if(ma(e.a,N)){if(bl(l(Ht(e.a,N),47),f))return-1}else Jn(e.a,N,new hi);if(ma(e.e,f)){if(bl(l(Ht(e.e,f),47),N))return-1}else Jn(e.e,f,new hi);if(ma(e.e,N)){if(bl(l(Ht(e.a,N),47),f))return 1}else Jn(e.e,N,new hi);if(f.j!=N.j)return Ee=Ven(f.j,N.j),Ee>0?Zc(e,f,N,1):Zc(e,N,f,1),Ee;if(ye=1,f.e.c.length!=0&&N.e.c.length!=0){if((f.j==(He(),Kt)&&N.j==Kt||f.j==Wt&&N.j==Wt||f.j==dn&&N.j==dn)&&(ye=-ye),v=l(ze(f.e,0),17).c,z=l(ze(N.e,0),17).c,m=v.i,M=z.i,m==M)for(se=new V(m.j);se.a<se.c.c.length;){if(ne=l(q(se),12),v==ne)return Zc(e,N,f,ye),-ye;if(z==ne)return Zc(e,f,N,ye),ye}if(v.i.k==(zt(),gi)&&z.i.k==gi&&m.c.p==M.c.p&&m.c.p==f.i.c.p&&(de=m.c,a=Zpt(de,m,M),a!=0))return f.j==Qt&&N.j==Qt&&(ye=-ye),a>0?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye);if(o=Zpt(l(Au(tW(e.d),ju(new Qo,new ls,new Ni,Z(X(ru,1),Ce,132,0,[(Yc(),nu)]))),22),m,M),o!=0)return o>0?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye);if(e.c&&(Ee=N1t(e,f,N),Ee!=0))return Ee>0?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye)}return f.g.c.length!=0&&N.g.c.length!=0?((f.j==(He(),Kt)&&N.j==Kt||f.j==dn&&N.j==dn)&&(ye=-ye),T=l(F(f,(Ie(),rte)),9),J=l(F(N,rte),9),e.f==(bp(),Bte)&&T&&J&&gr(T,Cr)&&gr(J,Cr)?(p=D0(T,J,e.b,l(F(e.b,F1),15).a),O=D0(J,T,e.b,l(F(e.b,F1),15).a),p>O?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye)):e.c&&(Ee=N1t(e,f,N),Ee!=0)?Ee>0?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye):(y=0,U=0,gr(l(ze(f.g,0),17),Cr)&&(y=D0(l(ze(f.g,0),248),l(ze(N.g,0),248),e.b,f.g.c.length+f.e.c.length)),gr(l(ze(N.g,0),17),Cr)&&(U=D0(l(ze(N.g,0),248),l(ze(f.g,0),248),e.b,N.g.c.length+N.e.c.length)),T&&T==J||e.g&&(e.g._b(T)&&(y=l(e.g.xc(T),15).a),e.g._b(J)&&(U=l(e.g.xc(J),15).a)),y>U?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye))):f.e.c.length!=0&&N.g.c.length!=0?(Zc(e,f,N,ye),1):f.g.c.length!=0&&N.e.c.length!=0?(Zc(e,N,f,ye),-1):gr(f,(Ie(),Cr))&&gr(N,Cr)?(u=f.i.j.c.length,p=D0(f,N,e.b,u),O=D0(N,f,e.b,u),(f.j==(He(),Kt)&&N.j==Kt||f.j==dn&&N.j==dn)&&(ye=-ye),p>O?(Zc(e,f,N,ye),ye):(Zc(e,N,f,ye),-ye)):(Zc(e,N,f,ye),-ye)}function Ie(){Ie=K;var e,t;mr=new cr(xwe),bTe=new cr("coordinateOrigin"),ote=new cr("processors"),gTe=new Pr("compoundNode",(Lt(),!1)),hL=new Pr("insideConnections",!1),vTe=new cr("originalBendpoints"),ETe=new cr("originalDummyNodePosition"),STe=new cr("originalLabelEdge"),OI=new cr("representedLabels"),RI=new cr("endLabels"),IT=new cr("endLabel.origin"),OT=new Pr("labelSide",(vc(),VL)),QE=new Pr("maxEdgeThickness",0),Ag=new Pr("reversed",!1),DT=new cr(V2t),Cd=new Pr("longEdgeSource",null),Nl=new Pr("longEdgeTarget",null),qy=new Pr("longEdgeHasLabelDummies",!1),pL=new Pr("longEdgeBeforeLabelDummy",!1),rB=new Pr("edgeConstraint",(Vb(),Uee)),tw=new cr("inLayerLayoutUnit"),hm=new Pr("inLayerConstraint",(lp(),dL)),RT=new Pr("inLayerSuccessorConstraint",new je),yTe=new Pr("inLayerSuccessorConstraintBetweenNonDummies",!1),Nu=new cr("portDummy"),nB=new Pr("crossingHint",Re(0)),xa=new Pr("graphProperties",(t=l(md(Kee),10),new Hc(t,l(Gl(t,t.length),10),0))),Hs=new Pr("externalPortSide",(He(),Is)),wTe=new Pr("externalPortSize",new ro),ete=new cr("externalPortReplacedDummies"),iB=new cr("externalPortReplacedDummy"),_p=new Pr("externalPortConnections",(e=l(md(Io),10),new Hc(e,l(Gl(e,e.length),10),0))),nw=new Pr(U2t,0),pTe=new cr("barycenterAssociates"),MT=new cr("TopSideComments"),NT=new cr("BottomSideComments"),tB=new cr("CommentConnectionPort"),nte=new Pr("inputCollect",!1),ite=new Pr("outputCollect",!1),CT=new Pr("cyclic",!1),mTe=new cr("crossHierarchyMap"),ate=new cr("targetOffset"),new Pr("splineLabelSize",new ro),t2=new cr("spacings"),oB=new Pr("partitionConstraint",!1),ew=new cr("breakingPoint.info"),_Te=new cr("splines.survivingEdge"),pm=new cr("splines.route.start"),n2=new cr("splines.edgeChain"),ATe=new cr("originalPortConstraints"),rw=new cr("selfLoopHolder"),ek=new cr("splines.nsPortY"),Cr=new cr("modelOrder"),F1=new cr("modelOrder.maximum"),fL=new cr("modelOrderGroups.cb.number"),rte=new cr("longEdgeTargetNode"),j1=new Pr(wSt,!1),e2=new Pr(wSt,!1),tte=new cr("layerConstraints.hiddenNodes"),TTe=new cr("layerConstraints.opposidePort"),ste=new cr("targetNode.modelOrder"),LT=new Pr("tarjan.lowlink",Re(sr)),DI=new Pr("tarjan.id",Re(-1)),sB=new Pr("tarjan.onstack",!1),WNt=new Pr("partOfCycle",!1),r2=new cr("medianHeuristic.weight")}function _n(){_n=K;var e,t;zT=new cr(hTt),lv=new cr(pTt),Jke=(mh(),sre),L6t=new pt(Pye,Jke),gk=new pt(mx,null),M6t=new cr(rEe),Zke=(Zb(),xr(cre,Z(X(lre,1),Ce,300,0,[ure]))),$L=new pt(CF,Zke),BL=new pt(UD,(Lt(),!1)),Qke=(vi(),hf),Tm=new pt(TZ,Qke),nNe=(gp(),Sre),tNe=new pt(BD,nNe),$6t=new pt(tEe,!1),iNe=(pp(),cU),h2=new pt(NF,iNe),gNe=new xb(12),df=new pt(B0,gNe),y4=new pt(wx,!1),hre=new pt(RF,!1),v4=new pt(yx,!1),vNe=(qi(),W1),bk=new pt(lF,vNe),GT=new cr(IF),HL=new cr(CD),vre=new cr(cF),Ere=new cr(WC),aNe=new Lu,p2=new pt(Wye,aNe),j6t=new pt(Xye,!1),B6t=new pt(Zye,!1),new pt(gTt,0),uNe=new FN,Cp=new pt(xZ,uNe),iU=new pt(Lye,!1),V6t=new pt(bTt,1),av=new cr(mTt),sv=new cr(wTt),wk=new pt(RD,!1),new pt(yTt,!0),Re(0),new pt(vTt,Re(100)),new pt(ETt,!1),Re(0),new pt(STt,Re(4e3)),Re(0),new pt(TTt,Re(400)),new pt(ATt,!1),new pt(_Tt,!1),new pt(xTt,!0),new pt(kTt,!1),Xke=(Kj(),Nre),P6t=new pt(nEe,Xke),sNe=(V3(),YL),H6t=new pt(NTt,sNe),oNe=(O_(),zL),U6t=new pt(CTt,oNe),W6t=new pt(Sye,10),K6t=new pt(Tye,10),Y6t=new pt(Aye,20),J6t=new pt(_ye,10),ANe=new pt(LX,2),_Ne=new pt(SZ,10),xNe=new pt(xye,0),oU=new pt(Cye,5),kNe=new pt(kye,1),NNe=new pt(Nye,1),Od=new pt($0,20),X6t=new pt(Iye,10),RNe=new pt(Rye,10),qT=new cr(Oye),INe=new znt,CNe=new pt(eve,INe),G6t=new cr(_Z),bNe=!1,z6t=new pt(AZ,bNe),lNe=new xb(5),cNe=new pt($ye,lNe),dNe=(Ty(),t=l(md(zo),10),new Hc(t,l(Gl(t,t.length),10),0)),g2=new pt(Ex,dNe),wNe=(vE(),V1),mNe=new pt(Hye,wNe),gre=new cr(zye),bre=new cr(Gye),mre=new cr(qye),pre=new cr(Vye),fNe=(e=l(md(N4),10),new Hc(e,l(Gl(e,e.length),10),0)),Am=new pt(ME,fNe),pNe=ct((Uu(),Tk)),G1=new pt(bT,pNe),hNe=new Me(0,0),b2=new pt(mT,hNe),uv=new pt(vx,!1),eNe=(Kd(),yk),dre=new pt(Yye,eNe),rU=new pt(ID,!1),Re(1),new pt(ITt,null),yNe=new cr(Qye),wre=new cr(Jye),TNe=(He(),Is),m2=new pt(Mye,TNe),zu=new cr(Dye),ENe=(xu(),ct(K1)),cv=new pt(Sx,ENe),yre=new pt(Bye,!1),SNe=new pt(Uye,!0),Re(1),nDt=new pt(XZ,Re(3)),Re(1),iDt=new pt(iEe,Re(4)),sU=new pt(OD,1),aU=new pt(ZZ,null),dv=new pt(DD,150),mk=new pt(LD,1.414),VT=new pt(U0,null),Z6t=new pt(oEe,1),UL=new pt(jye,!1),fre=new pt(Fye,!1),F6t=new pt(Kye,1),rNe=(T7(),Are),new pt(RTt,rNe),q6t=!0,rDt=(qP(),kre),eDt=(VS(),pv),tDt=pv,Q6t=pv}function Zi(){Zi=K,dSe=new bi("DIRECTION_PREPROCESSOR",0),uSe=new bi("COMMENT_PREPROCESSOR",1),VE=new bi("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),wee=new bi("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),ISe=new bi("PARTITION_PREPROCESSOR",4),C$=new bi("LABEL_DUMMY_INSERTER",5),$$=new bi("SELF_LOOP_PREPROCESSOR",6),Uy=new bi("LAYER_CONSTRAINT_PREPROCESSOR",7),NSe=new bi("PARTITION_MIDPROCESSOR",8),ySe=new bi("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),xSe=new bi("NODE_PROMOTION",10),By=new bi("LAYER_CONSTRAINT_POSTPROCESSOR",11),CSe=new bi("PARTITION_POSTPROCESSOR",12),bSe=new bi("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),RSe=new bi("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),nSe=new bi("BREAKING_POINT_INSERTER",15),D$=new bi("LONG_EDGE_SPLITTER",16),yee=new bi("PORT_SIDE_PROCESSOR",17),k$=new bi("INVERTED_PORT_PROCESSOR",18),P$=new bi("PORT_LIST_SORTER",19),DSe=new bi("SORT_BY_INPUT_ORDER_OF_MODEL",20),M$=new bi("NORTH_SOUTH_PORT_PREPROCESSOR",21),rSe=new bi("BREAKING_POINT_PROCESSOR",22),kSe=new bi(lSt,23),LSe=new bi(dSt,24),j$=new bi("SELF_LOOP_PORT_RESTORER",25),tSe=new bi("ALTERNATING_LAYER_UNZIPPER",26),OSe=new bi("SINGLE_EDGE_GRAPH_WRAPPER",27),N$=new bi("IN_LAYER_CONSTRAINT_PROCESSOR",28),hSe=new bi("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),ASe=new bi("LABEL_AND_NODE_SIZE_PROCESSOR",30),TSe=new bi("INNERMOST_NODE_MARGIN_CALCULATOR",31),B$=new bi("SELF_LOOP_ROUTER",32),sSe=new bi("COMMENT_NODE_MARGIN_CALCULATOR",33),x$=new bi("END_LABEL_PREPROCESSOR",34),R$=new bi("LABEL_DUMMY_SWITCHER",35),oSe=new bi("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),Gx=new bi("LABEL_SIDE_SELECTOR",37),ESe=new bi("HYPEREDGE_DUMMY_MERGER",38),mSe=new bi("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),_Se=new bi("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),_I=new bi("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),cSe=new bi("CONSTRAINTS_POSTPROCESSOR",42),aSe=new bi("COMMENT_POSTPROCESSOR",43),SSe=new bi("HYPERNODE_PROCESSOR",44),wSe=new bi("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),O$=new bi("LONG_EDGE_JOINER",46),F$=new bi("SELF_LOOP_POSTPROCESSOR",47),iSe=new bi("BREAKING_POINT_REMOVER",48),L$=new bi("NORTH_SOUTH_PORT_POSTPROCESSOR",49),vSe=new bi("HORIZONTAL_COMPACTOR",50),I$=new bi("LABEL_DUMMY_REMOVER",51),pSe=new bi("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),fSe=new bi("END_LABEL_SORTER",53),xT=new bi("REVERSED_EDGE_RESTORER",54),_$=new bi("END_LABEL_POSTPROCESSOR",55),gSe=new bi("HIERARCHICAL_NODE_RESIZER",56),lSe=new bi("DIRECTION_POSTPROCESSOR",57)}function N3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr,Ou,us,Rc,T2,jg,hd,Dp,ul,QT,U4,Lp,Md,Fg,Nm,Cm,eA,Im,Rm,Mp,Sv,sCe,gw,H4,qre,tA,z4,Tv,G4,Vre,WLt;for(sCe=0,qn=t,us=0,jg=qn.length;us<jg;++us)for(Dt=qn[us],Fg=new V(Dt.j);Fg.a<Fg.c.c.length;){for(Md=l(q(Fg),12),Cm=0,p=new V(Md.g);p.a<p.c.c.length;)f=l(q(p),17),Dt.c!=f.d.i.c&&++Cm;Cm>0&&(e.a[Md.p]=sCe++)}for(z4=0,Gr=r,Rc=0,hd=Gr.length;Rc<hd;++Rc){for(Dt=Gr[Rc],Dp=0,Fg=new V(Dt.j);Fg.a<Fg.c.c.length&&(Md=l(q(Fg),12),Md.j==(He(),Wt));)for(p=new V(Md.e);p.a<p.c.c.length;)if(f=l(q(p),17),Dt.c!=f.c.i.c){++Dp;break}for(QT=0,eA=new Xi(Dt.j,Dt.j.c.length);eA.b>0;){for(Md=(un(eA.b>0),l(eA.a.Xb(eA.c=--eA.b),12)),Cm=0,p=new V(Md.e);p.a<p.c.c.length;)f=l(q(p),17),Dt.c!=f.c.i.c&&++Cm;Cm>0&&(Md.j==(He(),Wt)?(e.a[Md.p]=z4,++z4):(e.a[Md.p]=z4+Dp+QT,++QT))}z4+=QT}for(Nm=new hn,M=new uh,on=t,Ou=0,T2=on.length;Ou<T2;++Ou)for(Dt=on[Ou],qre=new V(Dt.j);qre.a<qre.c.c.length;)for(H4=l(q(qre),12),p=new V(H4.g);p.a<p.c.c.length;)if(f=l(q(p),17),G4=f.d,Dt.c!=G4.i.c)if(gw=l(Ss(ts(Nm.f,H4)),470),Tv=l(Ss(ts(Nm.f,G4)),470),!gw&&!Tv)O=new kit,M.a.yc(O,M),Fe(O.a,f),Fe(O.d,H4),eu(Nm.f,H4,O),Fe(O.d,G4),eu(Nm.f,G4,O);else if(!gw)Fe(Tv.a,f),Fe(Tv.d,H4),eu(Nm.f,H4,Tv);else if(!Tv)Fe(gw.a,f),Fe(gw.d,G4),eu(Nm.f,G4,gw);else if(gw==Tv)Fe(gw.a,f);else{for(Fe(gw.a,f),Lp=new V(Tv.d);Lp.a<Lp.c.c.length;)U4=l(q(Lp),12),eu(Nm.f,U4,gw);li(gw.a,Tv.a),li(gw.d,Tv.d),M.a.Ac(Tv)!=null}for(U=l(pC(M,we(Z3n,{3:1,4:1,5:1,2024:1},470,M.a.gc(),0,1)),2024),It=t[0].c,Sv=r[0].c,v=U,T=0,N=v.length;T<N;++T)for(y=v[T],y.e=sCe,y.f=z4,Fg=new V(y.d);Fg.a<Fg.c.c.length;)Md=l(q(Fg),12),Im=e.a[Md.p],Md.i.c==It?(Im<y.e&&(y.e=Im),Im>y.b&&(y.b=Im)):Md.i.c==Sv&&(Im<y.f&&(y.f=Im),Im>y.c&&(y.c=Im));for(g_(U,0,U.length,null),tA=we(Rn,Qn,30,U.length,15,1),o=we(Rn,Qn,30,z4+1,15,1),J=0;J<U.length;J++)tA[J]=U[J].f,o[tA[J]]=1;for(u=0,ne=0;ne<o.length;ne++)o[ne]==1?o[ne]=u:--u;for(Rm=0,se=0;se<tA.length;se++)tA[se]+=o[tA[se]],Rm=b.Math.max(Rm,tA[se]+1);for(m=1;m<Rm;)m*=2;for(WLt=2*m-1,m-=1,Vre=we(Rn,Qn,30,WLt,15,1),a=0,lt=0;lt<tA.length;lt++)for(qe=tA[lt]+m,++Vre[qe];qe>0;)qe%2>0&&(a+=Vre[qe+1]),qe=(qe-1)/2|0,++Vre[qe];for(ft=we(m4t,Rt,371,U.length*2,0,1),de=0;de<U.length;de++)ft[2*de]=new _P(U[de],U[de].e,U[de].b,(H3(),QI)),ft[2*de+1]=new _P(U[de],U[de].b,U[de].e,ZI);for(g_(ft,0,ft.length,null),ul=0,Ee=0;Ee<ft.length;Ee++)switch(ft[Ee].d.g){case 0:++ul;break;case 1:--ul,a+=ul}for(Mp=we(m4t,Rt,371,U.length*2,0,1),ye=0;ye<U.length;ye++)Mp[2*ye]=new _P(U[ye],U[ye].f,U[ye].c,(H3(),QI)),Mp[2*ye+1]=new _P(U[ye],U[ye].c,U[ye].f,ZI);for(g_(Mp,0,Mp.length,null),ul=0,z=0;z<Mp.length;z++)switch(Mp[z].d.g){case 0:++ul;break;case 1:--ul,a+=ul}return a}function fr(){fr=K,B4=new Km(7),Z3e=new dh(8,94),new dh(8,64),Q3e=new dh(8,36),FLt=new dh(8,65),$Lt=new dh(8,122),BLt=new dh(8,90),HLt=new dh(8,98),jLt=new dh(8,66),ULt=new dh(8,60),zLt=new dh(8,62),X3e=new Km(11),NU=new bc(4),Sa(NU,48,57),kk=new bc(4),Sa(kk,48,57),Sa(kk,65,90),Sa(kk,95,95),Sa(kk,97,122),ZT=new bc(4),Sa(ZT,9,9),Sa(ZT,10,10),Sa(ZT,12,12),Sa(ZT,13,13),Sa(ZT,32,32),eCe=xy(NU),nCe=xy(kk),tCe=xy(ZT),xk=new hn,$4=new hn,PLt=Z(X(Je,1),Pe,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"]),Y3e=Z(X(Je,1),Pe,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",I_t,"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"]),J3e=Z(X(Rn,1),Qn,30,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function eF(){eF=K,Yxt=new Kc("OUT_T_L",0,(_u(),Wf),(Za(),rd),(Sd(),Bs),Bs,Z(X(kl,1),Rt,24,0,[xr((Ty(),cd),Z(X(zo,1),Ce,96,0,[ld,ad]))])),Kxt=new Kc("OUT_T_C",1,L1,rd,Bs,$a,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ld,Ip])),xr(cd,Z(X(zo,1),Ce,96,0,[ld,Ip,Cl]))])),Jxt=new Kc("OUT_T_R",2,nd,rd,Bs,Us,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ld,ud]))])),Bxt=new Kc("OUT_B_L",3,Wf,Nd,Us,Bs,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[Il,ad]))])),$xt=new Kc("OUT_B_C",4,L1,Nd,Us,$a,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[Il,Ip])),xr(cd,Z(X(zo,1),Ce,96,0,[Il,Ip,Cl]))])),Uxt=new Kc("OUT_B_R",5,nd,Nd,Us,Us,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[Il,ud]))])),Gxt=new Kc("OUT_L_T",6,nd,Nd,Bs,Bs,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ad,ld,Cl]))])),zxt=new Kc("OUT_L_C",7,nd,M1,$a,Bs,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ad,Rh])),xr(cd,Z(X(zo,1),Ce,96,0,[ad,Rh,Cl]))])),Hxt=new Kc("OUT_L_B",8,nd,rd,Us,Bs,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ad,Il,Cl]))])),Wxt=new Kc("OUT_R_T",9,Wf,Nd,Bs,Us,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ud,ld,Cl]))])),Vxt=new Kc("OUT_R_C",10,Wf,M1,$a,Us,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ud,Rh])),xr(cd,Z(X(zo,1),Ce,96,0,[ud,Rh,Cl]))])),qxt=new Kc("OUT_R_B",11,Wf,rd,Us,Us,Z(X(kl,1),Rt,24,0,[xr(cd,Z(X(zo,1),Ce,96,0,[ud,Il,Cl]))])),jxt=new Kc("IN_T_L",12,Wf,Nd,Bs,Bs,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[ld,ad])),xr(kc,Z(X(zo,1),Ce,96,0,[ld,ad,Cl]))])),Pxt=new Kc("IN_T_C",13,L1,Nd,Bs,$a,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[ld,Ip])),xr(kc,Z(X(zo,1),Ce,96,0,[ld,Ip,Cl]))])),Fxt=new Kc("IN_T_R",14,nd,Nd,Bs,Us,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[ld,ud])),xr(kc,Z(X(zo,1),Ce,96,0,[ld,ud,Cl]))])),Lxt=new Kc("IN_C_L",15,Wf,M1,$a,Bs,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[Rh,ad])),xr(kc,Z(X(zo,1),Ce,96,0,[Rh,ad,Cl]))])),Dxt=new Kc("IN_C_C",16,L1,M1,$a,$a,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[Rh,Ip])),xr(kc,Z(X(zo,1),Ce,96,0,[Rh,Ip,Cl]))])),Mxt=new Kc("IN_C_R",17,nd,M1,$a,Us,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[Rh,ud])),xr(kc,Z(X(zo,1),Ce,96,0,[Rh,ud,Cl]))])),Rxt=new Kc("IN_B_L",18,Wf,rd,Us,Bs,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[Il,ad])),xr(kc,Z(X(zo,1),Ce,96,0,[Il,ad,Cl]))])),Ixt=new Kc("IN_B_C",19,L1,rd,Us,$a,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[Il,Ip])),xr(kc,Z(X(zo,1),Ce,96,0,[Il,Ip,Cl]))])),Oxt=new Kc("IN_B_R",20,nd,rd,Us,Us,Z(X(kl,1),Rt,24,0,[xr(kc,Z(X(zo,1),Ce,96,0,[Il,ud])),xr(kc,Z(X(zo,1),Ce,96,0,[Il,ud,Cl]))])),tee=new Kc(qC,21,null,null,null,null,Z(X(kl,1),Rt,24,0,[]))}function Z0e(){Z0e=K,BTe=(m6(),K$),L3t=new pt(Lwe,BTe),V3t=new pt(Mwe,(Lt(),!1)),VTe=(UP(),Qee),X3t=new pt(gF,VTe),wCt=new pt(Pwe,!1),yCt=new pt(jwe,!0),JNt=new pt(Fwe,!1),rAe=(g6(),Ute),LCt=new pt($we,rAe),Re(1),HCt=new pt(Bwe,Re(7)),zCt=new pt(Uwe,!1),W3t=new pt(Hwe,!1),$Te=(tD(),Pee),D3t=new pt(jD,$Te),YTe=(rD(),Dte),dCt=new pt(FD,YTe),WTe=(ic(),gL),rCt=new pt(zwe,WTe),Re(-1),nCt=new pt(Gwe,null),Re(-1),iCt=new pt(qwe,Re(-1)),Re(-1),oCt=new pt(UX,Re(4)),Re(-1),aCt=new pt(HX,Re(2)),KTe=(_1(),kB),lCt=new pt(zX,KTe),Re(0),cCt=new pt(GX,Re(0)),eCt=new pt(qX,Re(sr)),FTe=(lC(),kI),O3t=new pt(XC,FTe),m3t=new pt(Vwe,!1),A3t=new pt(VX,.1),I3t=new pt(WX,!1),x3t=new pt(Wwe,null),k3t=new pt(Kwe,null),Re(-1),N3t=new pt(Ywe,null),Re(-1),C3t=new pt(Jwe,Re(-1)),Re(0),w3t=new pt(Xwe,Re(40)),jTe=(__(),Jee),S3t=new pt(KX,jTe),PTe=cL,y3t=new pt(bF,PTe),nAe=(hC(),VI),DCt=new pt(PE,nAe),ACt=new cr(mF),QTe=(l6(),J$),vCt=new pt(YX,QTe),eAe=(K6(),X$),SCt=new pt(JX,eAe),kCt=new pt(XX,.3),CCt=new cr(ZX),tAe=(wy(),xB),ICt=new pt(QX,tAe),zTe=(Oj(),zte),$3t=new pt(Zwe,zTe),GTe=(nC(),qte),B3t=new pt(Qwe,GTe),qTe=(R_(),JI),U3t=new pt(wF,qTe),z3t=new pt(yF,.2),j3t=new pt(eZ,2),FCt=new pt(eye,null),BCt=new pt(tye,10),$Ct=new pt(nye,10),UCt=new pt(rye,20),Re(0),MCt=new pt(iye,Re(0)),Re(0),PCt=new pt(oye,Re(0)),Re(0),jCt=new pt(sye,Re(0)),XNt=new pt(tZ,!1),CTe=(W_(),NI),QNt=new pt(aye,CTe),NTe=(tj(),Oee),ZNt=new pt(uye,NTe),Y3t=new pt(vF,!1),Re(0),K3t=new pt(nZ,Re(16)),Re(0),J3t=new pt(rZ,Re(5)),sAe=(Dj(),Kte),cIt=new pt(Sp,sAe),GCt=new pt(EF,10),WCt=new pt(SF,1),oAe=(mj(),W$),eIt=new pt(ZC,oAe),JCt=new cr(iZ),iAe=Re(1),Re(0),ZCt=new pt(oZ,iAe),aAe=(bj(),Wte),hIt=new pt(TF,aAe),lIt=new cr(AF),oIt=new pt(_F,!0),rIt=new pt(xF,2),aIt=new pt(sZ,!0),ZTe=(GP(),cte),mCt=new pt(aZ,ZTe),hCt=new pt(uZ,!1),JTe=Re(2),Re(1),fCt=new pt(cZ,JTe),XTe=!0,gCt=new pt(lZ,XTe),HTe=(_7(),Y$),P3t=new pt(cye,HTe),UTe=(eT(),Kx),M3t=new pt(lye,UTe),MTe=(bp(),B1),b3t=new pt(kF,MTe),g3t=new pt(dye,!1),p3t=new pt($D,!1),ITe=(YS(),TI),e3t=new pt(dZ,ITe),LTe=(rC(),Lte),h3t=new pt(fye,LTe),t3t=new pt(fZ,0),n3t=new pt(hZ,0),f3t=new pt(pZ,Re(0)),d3t=new pt(gZ,Re(0)),l3t=new pt(bZ,Re(0)),RTe=(g1(),lL),r3t=new pt(hye,RTe),i3t=new cr(mZ),s3t=new cr(wZ),DTe=lL,c3t=new pt(pye,DTe),OTe=CP(kan(Z(X(Ti,1),Pe,15,0,[Re(1),Re(2),Re(6),Re(7),Re(10),Re(11)]))),u3t=new pt(gye,OTe),Q3t=Fee,Z3t=aL,sCt=AB,uCt=AB,tCt=Rte,_3t=(pp(),Ig),R3t=kI,T3t=kI,v3t=kI,E3t=Ig,_Ct=WI,xCt=VI,ECt=VI,TCt=VI,NCt=Fte,OCt=WI,RCt=WI,H3t=(gp(),WT),G3t=WT,q3t=JI,F3t=GL,qCt=uk,VCt=nv,KCt=uk,YCt=nv,tIt=uk,nIt=nv,XCt=Dee,QCt=W$,pIt=uk,gIt=nv,dIt=uk,fIt=nv,sIt=nv,iIt=nv,uIt=nv,pCt=Re(2),bCt=ute,o3t=uL,a3t=uL}function _t(){_t=K,wv=(a1(),Ut).b,l(oe(Ne(Ut.b),0),38),l(oe(Ne(Ut.b),1),20),Og=Ut.a,l(oe(Ne(Ut.a),0),38),l(oe(Ne(Ut.a),1),20),l(oe(Ne(Ut.a),2),20),l(oe(Ne(Ut.a),3),20),l(oe(Ne(Ut.a),4),20),X1=Ut.o,l(oe(Ne(Ut.o),0),38),l(oe(Ne(Ut.o),1),38),nLt=l(oe(Ne(Ut.o),2),20),l(oe(Ne(Ut.o),3),20),l(oe(Ne(Ut.o),4),20),l(oe(Ne(Ut.o),5),20),l(oe(Ne(Ut.o),6),20),l(oe(Ne(Ut.o),7),20),l(oe(Ne(Ut.o),8),20),l(oe(Ne(Ut.o),9),20),l(oe(Ne(Ut.o),10),20),l(oe(Ne(Ut.o),11),20),l(oe(Ne(Ut.o),12),20),l(oe(Ne(Ut.o),13),20),l(oe(Ne(Ut.o),14),20),l(oe(Ne(Ut.o),15),20),l(oe(Er(Ut.o),0),62),l(oe(Er(Ut.o),1),62),l(oe(Er(Ut.o),2),62),l(oe(Er(Ut.o),3),62),l(oe(Er(Ut.o),4),62),l(oe(Er(Ut.o),5),62),l(oe(Er(Ut.o),6),62),l(oe(Er(Ut.o),7),62),l(oe(Er(Ut.o),8),62),l(oe(Er(Ut.o),9),62),tLt=Ut.p,l(oe(Ne(Ut.p),0),38),l(oe(Ne(Ut.p),1),38),l(oe(Ne(Ut.p),2),38),l(oe(Ne(Ut.p),3),38),l(oe(Ne(Ut.p),4),20),l(oe(Ne(Ut.p),5),20),l(oe(Er(Ut.p),0),62),l(oe(Er(Ut.p),1),62),rLt=Ut.q,l(oe(Ne(Ut.q),0),38),Z1=Ut.v,l(oe(Ne(Ut.v),0),20),l(oe(Er(Ut.v),0),62),l(oe(Er(Ut.v),1),62),l(oe(Er(Ut.v),2),62),Dg=Ut.w,l(oe(Ne(Ut.w),0),38),l(oe(Ne(Ut.w),1),38),l(oe(Ne(Ut.w),2),38),l(oe(Ne(Ut.w),3),20),Q1=Ut.B,l(oe(Ne(Ut.B),0),20),l(oe(Er(Ut.B),0),62),l(oe(Er(Ut.B),1),62),l(oe(Er(Ut.B),2),62),iLt=Ut.Q,l(oe(Ne(Ut.Q),0),20),l(oe(Er(Ut.Q),0),62),oLt=Ut.R,l(oe(Ne(Ut.R),0),38),Ml=Ut.S,l(oe(Er(Ut.S),0),62),l(oe(Er(Ut.S),1),62),l(oe(Er(Ut.S),2),62),l(oe(Er(Ut.S),3),62),l(oe(Er(Ut.S),4),62),l(oe(Er(Ut.S),5),62),l(oe(Er(Ut.S),6),62),l(oe(Er(Ut.S),7),62),l(oe(Er(Ut.S),8),62),l(oe(Er(Ut.S),9),62),l(oe(Er(Ut.S),10),62),l(oe(Er(Ut.S),11),62),l(oe(Er(Ut.S),12),62),l(oe(Er(Ut.S),13),62),l(oe(Er(Ut.S),14),62),Lg=Ut.T,l(oe(Ne(Ut.T),0),20),l(oe(Ne(Ut.T),2),20),sLt=l(oe(Ne(Ut.T),3),20),l(oe(Ne(Ut.T),4),20),l(oe(Er(Ut.T),0),62),l(oe(Er(Ut.T),1),62),l(oe(Ne(Ut.T),1),20),Mg=Ut.U,l(oe(Ne(Ut.U),0),38),l(oe(Ne(Ut.U),1),38),l(oe(Ne(Ut.U),2),20),l(oe(Ne(Ut.U),3),20),l(oe(Ne(Ut.U),4),20),l(oe(Ne(Ut.U),5),20),l(oe(Er(Ut.U),0),62),yv=Ut.V,l(oe(Ne(Ut.V),0),20),w2=Ut.W,l(oe(Ne(Ut.W),0),38),l(oe(Ne(Ut.W),1),38),l(oe(Ne(Ut.W),2),38),l(oe(Ne(Ut.W),3),20),l(oe(Ne(Ut.W),4),20),l(oe(Ne(Ut.W),5),20),aLt=Ut.bb,l(oe(Ne(Ut.bb),0),38),l(oe(Ne(Ut.bb),1),38),l(oe(Ne(Ut.bb),2),38),l(oe(Ne(Ut.bb),3),38),l(oe(Ne(Ut.bb),4),38),l(oe(Ne(Ut.bb),5),38),l(oe(Ne(Ut.bb),6),38),l(oe(Ne(Ut.bb),7),20),l(oe(Er(Ut.bb),0),62),l(oe(Er(Ut.bb),1),62),uLt=Ut.eb,l(oe(Ne(Ut.eb),0),38),l(oe(Ne(Ut.eb),1),38),l(oe(Ne(Ut.eb),2),38),l(oe(Ne(Ut.eb),3),38),l(oe(Ne(Ut.eb),4),38),l(oe(Ne(Ut.eb),5),38),l(oe(Ne(Ut.eb),6),20),l(oe(Ne(Ut.eb),7),20),Ro=Ut.ab,l(oe(Ne(Ut.ab),0),38),l(oe(Ne(Ut.ab),1),38),dw=Ut.H,l(oe(Ne(Ut.H),0),20),l(oe(Ne(Ut.H),1),20),l(oe(Ne(Ut.H),2),20),l(oe(Ne(Ut.H),3),20),l(oe(Ne(Ut.H),4),20),l(oe(Ne(Ut.H),5),20),l(oe(Er(Ut.H),0),62),fw=Ut.db,l(oe(Ne(Ut.db),0),20),bf=Ut.M}function C3n(e){var t;e.O||(e.O=!0,Ma(e,"type"),xj(e,"ecore.xml.type"),kj(e,lm),t=l(Y_((n1(),Ll),lm),2023),Tn(ds(e.fb),e.b),Ms(e.b,d5,"AnyType",!1,!1,!0),oi(l(oe(Ne(e.b),0),38),e.wb.D,VD,null,0,-1,d5,!1,!1,!0,!1,!1,!1),oi(l(oe(Ne(e.b),1),38),e.wb.D,"any",null,0,-1,d5,!0,!0,!0,!1,!1,!0),oi(l(oe(Ne(e.b),2),38),e.wb.D,"anyAttribute",null,0,-1,d5,!1,!1,!0,!1,!1,!1),Ms(e.bb,xU,d_t,!1,!1,!0),oi(l(oe(Ne(e.bb),0),38),e.gb,"data",null,0,1,xU,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.bb),1),38),e.gb,yEe,null,1,1,xU,!1,!1,!0,!1,!0,!1),Ms(e.fb,f5,f_t,!1,!1,!0),oi(l(oe(Ne(e.fb),0),38),t.gb,"rawValue",null,0,1,f5,!0,!0,!0,!1,!0,!0),oi(l(oe(Ne(e.fb),1),38),t.a,sI,null,0,1,f5,!0,!0,!0,!1,!0,!0),Mr(l(oe(Ne(e.fb),2),20),e.wb.q,null,"instanceType",1,1,f5,!1,!1,!0,!1,!1,!1,!1),Ms(e.qb,q3e,h_t,!1,!1,!0),oi(l(oe(Ne(e.qb),0),38),e.wb.D,VD,null,0,-1,null,!1,!1,!0,!1,!1,!1),Mr(l(oe(Ne(e.qb),1),20),e.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.qb),2),20),e.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),oi(l(oe(Ne(e.qb),3),38),e.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),oi(l(oe(Ne(e.qb),4),38),e.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Mr(l(oe(Ne(e.qb),5),20),e.bb,null,x_t,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oi(l(oe(Ne(e.qb),6),38),e.gb,uQ,null,0,-2,null,!0,!0,!0,!1,!1,!0),nr(e.a,Ii,"AnySimpleType",!0),nr(e.c,Je,"AnyURI",!0),nr(e.d,X(Eu,1),"Base64Binary",!0),nr(e.e,uu,"Boolean",!0),nr(e.f,Yr,"BooleanObject",!0),nr(e.g,Eu,"Byte",!0),nr(e.i,ET,"ByteObject",!0),nr(e.j,Je,"Date",!0),nr(e.k,Je,"DateTime",!0),nr(e.n,GQ,"Decimal",!0),nr(e.o,Ki,"Double",!0),nr(e.p,fi,"DoubleObject",!0),nr(e.q,Je,"Duration",!0),nr(e.s,_c,"ENTITIES",!0),nr(e.r,_c,"ENTITIESBase",!0),nr(e.t,Je,MEe,!0),nr(e.u,Ev,"Float",!0),nr(e.v,Ux,"FloatObject",!0),nr(e.w,Je,"GDay",!0),nr(e.B,Je,"GMonth",!0),nr(e.A,Je,"GMonthDay",!0),nr(e.C,Je,"GYear",!0),nr(e.D,Je,"GYearMonth",!0),nr(e.F,X(Eu,1),"HexBinary",!0),nr(e.G,Je,"ID",!0),nr(e.H,Je,"IDREF",!0),nr(e.J,_c,"IDREFS",!0),nr(e.I,_c,"IDREFSBase",!0),nr(e.K,Rn,"Int",!0),nr(e.M,zE,"Integer",!0),nr(e.L,Ti,"IntObject",!0),nr(e.P,Je,"Language",!0),nr(e.Q,pw,"Long",!0),nr(e.R,Y0,"LongObject",!0),nr(e.S,Je,"Name",!0),nr(e.T,Je,o$,!0),nr(e.U,zE,"NegativeInteger",!0),nr(e.V,Je,FEe,!0),nr(e.X,_c,"NMTOKENS",!0),nr(e.W,_c,"NMTOKENSBase",!0),nr(e.Y,zE,"NonNegativeInteger",!0),nr(e.Z,zE,"NonPositiveInteger",!0),nr(e.$,Je,"NormalizedString",!0),nr(e._,Je,"NOTATION",!0),nr(e.ab,Je,"PositiveInteger",!0),nr(e.cb,Je,"QName",!0),nr(e.db,S2,"Short",!0),nr(e.eb,J0,"ShortObject",!0),nr(e.gb,Je,owe,!0),nr(e.hb,Je,"Time",!0),nr(e.ib,Je,"Token",!0),nr(e.jb,S2,"UnsignedByte",!0),nr(e.kb,J0,"UnsignedByteObject",!0),nr(e.lb,pw,"UnsignedInt",!0),nr(e.mb,Y0,"UnsignedIntObject",!0),nr(e.nb,zE,"UnsignedLong",!0),nr(e.ob,Rn,"UnsignedShort",!0),nr(e.pb,Ti,"UnsignedShortObject",!0),Zge(e,lm),I3n(e))}function Q0e(e,t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It,Dt,on,qn,Gr,Ou,us,Rc,T2,jg,hd,Dp,ul,QT,U4,Lp,Md,Fg,Nm,Cm,eA,Im,Rm,Mp,Sv;if(o.Zg()||Ye(Ke(ve(t,(_n(),iU)))))return At(),At(),Co;if(qe=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0,ft=Qyn(t),lt=!ft.dc(),qe||lt){if(a=l(ve(t,lv),144),!a)throw Y(new _f("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(Im=Xle(a,(sT(),yU)),i1t(t),!qe&&lt&&!Im)return At(),At(),Co;if(se=new je,be(ve(t,h2))===be((pp(),Ig))&&(Xle(a,wU)||Xle(a,mU))){if(Ye(Ke(ve(t,wk))))throw Y(new _f("Topdown layout cannot be used together with hierarchy handling."));for(T2=lyt(e,t),jg=new Ar,mo(jg,(!t.a&&(t.a=new ke(En,t,10,11)),t.a));jg.b!=0;)us=l(jg.b==0?null:(un(jg.b!=0),Vc(jg,jg.a.a)),19),i1t(us),eA=be(ve(us,h2))===be(T4),eA||Gc(us,zT)&&!dpe(a,ve(us,lv))?(z=Q0e(e,us,r,o),li(se,z),Vn(us,h2,T4),Nyt(us)):mo(jg,(!us.a&&(us.a=new ke(En,us,10,11)),us.a))}else{if(T2=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i,Ye(Ke(ve(t,wk)))){if(Rm=o.dh(1),Rm.Tg(uTt,1),ve(t,VT)==null)throw Y(new _f(t.k+" has not been assigned a top-down node type."));if(l(ve(t,VT),283)==(VS(),pv)||l(ve(t,VT),283)==gU)for(ne=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));ne.e!=ne.i.gc();)J=l(rn(ne),19),Ou=l(ve(J,lv),144),Dp=l(ve(J,df),100),(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i>0&&JO(Ou.f),ve(J,aU)!=null&&(!J.a&&(J.a=new ke(En,J,10,11)),!!J.a)&&(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i>0?(p=l(ve(J,aU),525),Cm=p.Sg(J),i0(J,b.Math.max(J.g,Cm.a+Dp.b+Dp.c),b.Math.max(J.f,Cm.b+Dp.d+Dp.a))):(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i!=0&&(Cm=new Me(ue(ce(ve(J,dv))),ue(ce(ve(J,dv)))/ue(ce(ve(J,mk)))),i0(J,b.Math.max(J.g,Cm.a+Dp.b+Dp.c),b.Math.max(J.f,Cm.b+Dp.d+Dp.a)));if(hd=l(ve(t,df),100),O=t.g-(hd.b+hd.c),N=t.f-(hd.d+hd.a),Rm.ah("Available Child Area: ("+O+"|"+N+")"),Vn(t,gk,O/N),u1t(t,a,o.dh(T2)),l(ve(t,VT),283)==gU&&(GJ(t),i0(t,hd.b+ue(ce(ve(t,av)))+hd.c,hd.d+ue(ce(ve(t,sv)))+hd.a)),Rm.ah("Executed layout algorithm: "+In(ve(t,zT))+" on node "+t.k),l(ve(t,VT),283)==pv){if(O<0||N<0)throw Y(new _f("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(Gc(t,av)||Gc(t,sv)||GJ(t),U=ue(ce(ve(t,av))),M=ue(ce(ve(t,sv))),Rm.ah("Desired Child Area: ("+U+"|"+M+")"),QT=O/U,U4=N/M,ul=b.Math.min(QT,b.Math.min(U4,ue(ce(ve(t,Z6t))))),Vn(t,sU,ul),Rm.ah(t.k+" -- Local Scale Factor (X|Y): ("+QT+"|"+U4+")"),de=l(ve(t,$L),24),u=0,f=0,ul<QT&&(de.Gc((Zb(),g4))?u=(O/2-U*ul/2)/ul:de.Gc(b4)&&(u=(O-U*ul)/ul)),ul<U4&&(de.Gc((Zb(),w4))?f=(N/2-M*ul/2)/ul:de.Gc(m4)&&(f=(N-M*ul)/ul)),Mp=u+(hd.b/ul-hd.b),Sv=f+(hd.d/ul-hd.d),Rm.ah("Shift: ("+Mp+"|"+Sv+")"),Rc=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));Rc.e!=Rc.i.gc();)us=l(rn(Rc),19),va(us,us.i+Mp),gu(us,us.j+Sv);for(ye=new tn((!t.b&&(t.b=new ke(Ir,t,12,3)),t.b));ye.e!=ye.i.gc();){for(Ee=l(rn(ye),74),Md=new tn((!Ee.a&&(Ee.a=new ke(jr,Ee,6,6)),Ee.a));Md.e!=Md.i.gc();)for(Lp=l(rn(Md),171),NO(Lp,Lp.j+Mp,Lp.k+Sv),kO(Lp,Lp.b+Mp,Lp.c+Sv),y=new tn((!Lp.a&&(Lp.a=new yi(Ic,Lp,5)),Lp.a));y.e!=y.i.gc();)m=l(rn(y),373),cV(m,m.a+Mp,m.b+Sv);for(Gr=new tn((!Ee.n&&(Ee.n=new ke(Rs,Ee,1,7)),Ee.n));Gr.e!=Gr.i.gc();)qn=l(rn(Gr),158),Bc(qn,qn.i+Mp,qn.j+Sv);for(on=l(ve(Ee,p2),79),Dt=An(on,0);Dt.b!=Dt.d.c;)It=l(Sn(Dt),8),It.a+=Mp,It.b+=Sv;Vn(Ee,p2,on)}}Rm.Ug()}for(T=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));T.e!=T.i.gc();)v=l(rn(T),19),z=Q0e(e,v,r,o),li(se,z),Nyt(v)}if(o.Zg())return At(),At(),Co;for(Nm=new V(se);Nm.a<Nm.c.c.length;)Fg=l(q(Nm),74),Vn(Fg,iU,(Lt(),!0));return Ye(Ke(ve(t,wk)))||u1t(t,a,o.dh(T2)),dAn(se),lt&&Im?ft:(At(),At(),Co)}else return At(),At(),Co}function OE(e,t){var r,o;return E2||(E2=new hn,_k=new hn,o=(fr(),fr(),new bc(4)),$6(o,`
\r\r `),ns(E2,kQ,o),ns(_k,kQ,xy(o)),o=new bc(4),$6(o,N_t),ns(E2,gI,o),ns(_k,gI,xy(o)),o=new bc(4),$6(o,N_t),ns(E2,gI,o),ns(_k,gI,xy(o)),o=new bc(4),$6(o,C_t),Ny(o,l(wa(E2,gI),122)),ns(E2,xQ,o),ns(_k,xQ,xy(o)),o=new bc(4),$6(o,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),ns(E2,NQ,o),ns(_k,NQ,xy(o)),o=new bc(4),$6(o,C_t),Sa(o,95,95),Sa(o,58,58),ns(E2,CQ,o),ns(_k,CQ,xy(o))),r=l(wa(t?E2:_k,e),140),r}function KEt(e){n0(e,new Qb(gq(iO(Qm(Jm(Zm(Xm(new vb,Bt),"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 yUe),Bt),xr((sT(),Dre),Z(X(s5,1),Ce,235,0,[yU,o5,i5,Ore,wU,mU]))))),De(e,Bt,Sye,Ge(Ate)),De(e,Bt,Tye,Ge(HAe)),De(e,Bt,Aye,Ge(vL)),De(e,Bt,_ye,Ge(od)),De(e,Bt,LX,Ge(o2)),De(e,Bt,SZ,Ge(ym)),De(e,Bt,xye,Ge(ev)),De(e,Bt,kye,Ge(ok)),De(e,Bt,Nye,Ge(sk)),De(e,Bt,Cye,Ge(_te)),De(e,Bt,$0,Ge(vm)),De(e,Bt,Iye,Ge(xte)),De(e,Bt,Rye,Ge(GI)),De(e,Bt,Oye,Ge(EB)),De(e,Bt,eye,Ge(yL)),De(e,Bt,nye,Ge(Qy)),De(e,Bt,tye,Ge($1)),De(e,Bt,rye,Ge(tv)),De(e,Bt,CD,Re(0)),De(e,Bt,iye,Ge(ik)),De(e,Bt,oye,Ge(UAe)),De(e,Bt,sye,Ge(FT)),De(e,Bt,Sp,Ge(XAe)),De(e,Bt,EF,Ge(GAe)),De(e,Bt,SF,Ge(qAe)),De(e,Bt,ZC,Ge(Nte)),De(e,Bt,iZ,Ge(VAe)),De(e,Bt,oZ,Ge(WAe)),De(e,Bt,TF,Ge(SB)),De(e,Bt,AF,Ge(Cte)),De(e,Bt,_F,Ge(YAe)),De(e,Bt,xF,Ge(KAe)),De(e,Bt,sZ,Ge(JAe)),De(e,Bt,aZ,Ge(IAe)),De(e,Bt,uZ,Ge(vte)),De(e,Bt,cZ,Ge(bB)),De(e,Bt,lZ,Ge(Ete)),De(e,Bt,ZX,Ge(ow)),De(e,Bt,QX,Ge(zI)),De(e,Bt,wF,Ge(wte)),De(e,Bt,yF,Ge(yAe)),De(e,Bt,RD,Ge(OIt)),De(e,Bt,OD,Ge(DIt)),De(e,Bt,DD,Ge(RIt)),De(e,Bt,LD,Ge(IIt)),De(e,Bt,U0,zAe),De(e,Bt,B0,PAe),De(e,Bt,BD,bAe),De(e,Bt,Dye,0),De(e,Bt,cF,Re(1)),De(e,Bt,mx,bx),De(e,Bt,Lye,Ge(wm)),De(e,Bt,lF,Ge(Zr)),De(e,Bt,Mye,Ge(rk)),De(e,Bt,UD,Ge(vIt)),De(e,Bt,Pye,Ge(Kf)),De(e,Bt,NF,Ge(Wy)),De(e,Bt,WC,(Lt(),!0)),De(e,Bt,jye,Ge(Ky)),De(e,Bt,Fye,Ge(bm)),De(e,Bt,ME,Ge(mm)),De(e,Bt,bT,Ge(vB)),De(e,Bt,vx,Ge(Tte)),De(e,Bt,TZ,gAe),De(e,Bt,Ex,Ge(iw)),De(e,Bt,$ye,Ge(wB)),De(e,Bt,Sx,Ge(Xy)),De(e,Bt,Bye,Ge(xIt)),De(e,Bt,Uye,Ge($Ae)),De(e,Bt,Hye,FAe),De(e,Bt,zye,Ge(TIt)),De(e,Bt,Gye,Ge(AIt)),De(e,Bt,qye,Ge(_It)),De(e,Bt,Vye,Ge(SIt)),De(e,Bt,Uwe,Ge(kte)),De(e,Bt,FD,Ge(gB)),De(e,Bt,zX,Ge(wL)),De(e,Bt,Bwe,Ge(qI)),De(e,Bt,zwe,Ge(Cs)),De(e,Bt,jD,Ge(jT)),De(e,Bt,XC,Ge(BI)),De(e,Bt,Vwe,Ge(tk)),De(e,Bt,Xwe,Ge(fAe)),De(e,Bt,KX,Ge(gte)),De(e,Bt,bF,Ge(mL)),De(e,Bt,WX,Ge(bte)),De(e,Bt,Pwe,Ge(RAe)),De(e,Bt,jwe,Ge(OAe)),De(e,Bt,gF,Ge(_Ae)),De(e,Bt,PE,Ge(yB)),De(e,Bt,JX,Ge(Ste)),De(e,Bt,Mwe,Ge(yte)),De(e,Bt,XX,Ge(LAe)),De(e,Bt,Zwe,Ge(wAe)),De(e,Bt,Qwe,Ge(mte)),De(e,Bt,CF,Ge(pte)),De(e,Bt,YX,Ge(DAe)),De(e,Bt,aye,Ge(cB)),De(e,Bt,uye,Ge(uAe)),De(e,Bt,tZ,Ge(uB)),De(e,Bt,vF,Ge(SAe)),De(e,Bt,nZ,Ge(EAe)),De(e,Bt,rZ,Ge(TAe)),De(e,Bt,mT,Ge(nk)),De(e,Bt,Wye,Ge(ss)),De(e,Bt,Kye,Ge(_g)),De(e,Bt,Yye,Ge(Yf)),De(e,Bt,ID,Ge(i2)),De(e,Bt,VX,Ge(hAe)),De(e,Bt,Jye,Ge(xg)),De(e,Bt,Xye,Ge(PI)),De(e,Bt,Zye,Ge(pB)),De(e,Bt,Qye,Ge(sw)),De(e,Bt,AZ,Ge(jAe)),De(e,Bt,_Z,Ge(Yy)),De(e,Bt,UX,Ge(kAe)),De(e,Bt,HX,Ge(NAe)),De(e,Bt,IF,Ge(Zy)),De(e,Bt,Fwe,Ge(lte)),De(e,Bt,GX,Ge(CAe)),De(e,Bt,cye,Ge(hB)),De(e,Bt,lye,Ge(fB)),De(e,Bt,xZ,Ge(mB)),De(e,Bt,qX,Ge(xAe)),De(e,Bt,mF,Ge(HI)),De(e,Bt,eve,Ge(EL)),De(e,Bt,Lwe,Ge(pAe)),De(e,Bt,$we,Ge(BAe)),De(e,Bt,eZ,Ge(mAe)),De(e,Bt,Wwe,Ge(mIt)),De(e,Bt,Kwe,Ge(wIt)),De(e,Bt,Gwe,Ge(EIt)),De(e,Bt,Ywe,Ge(yIt)),De(e,Bt,RF,Ge(AAe)),De(e,Bt,qwe,Ge(UI)),De(e,Bt,Jwe,Ge(dB)),De(e,Bt,kF,Ge(Ch)),De(e,Bt,fye,Ge(fte)),De(e,Bt,fZ,Ge(bL)),De(e,Bt,hZ,Ge(dte)),De(e,Bt,$D,Ge(lB)),De(e,Bt,dZ,Ge(jI)),De(e,Bt,dye,Ge(hte)),De(e,Bt,pZ,Ge(Vy)),De(e,Bt,gZ,Ge($I)),De(e,Bt,bZ,Ge(bIt)),De(e,Bt,hye,Ge(PT)),De(e,Bt,pye,Ge(FI)),De(e,Bt,gye,Ge(dAe)),De(e,Bt,mZ,Ge(cAe)),De(e,Bt,wZ,Ge(lAe)),De(e,Bt,Hwe,Ge(vAe))}function I3n(e){xn(e.a,Bn,Z(X(Je,1),Pe,2,6,[or,"anySimpleType"])),xn(e.b,Bn,Z(X(Je,1),Pe,2,6,[or,"anyType",Al,VD])),xn(l(oe(Ne(e.b),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,EQ,or,":mixed"])),xn(l(oe(Ne(e.b),1),38),Bn,Z(X(Je,1),Pe,2,6,[Al,EQ,DEe,TQ,or,":1",p_t,"lax"])),xn(l(oe(Ne(e.b),2),38),Bn,Z(X(Je,1),Pe,2,6,[Al,l_t,DEe,TQ,or,":2",p_t,"lax"])),xn(e.c,Bn,Z(X(Je,1),Pe,2,6,[or,"anyURI",xl,kd])),xn(e.d,Bn,Z(X(Je,1),Pe,2,6,[or,"base64Binary",xl,kd])),xn(e.e,Bn,Z(X(Je,1),Pe,2,6,[or,uT,xl,kd])),xn(e.f,Bn,Z(X(Je,1),Pe,2,6,[or,"boolean:Object",ho,uT])),xn(e.g,Bn,Z(X(Je,1),Pe,2,6,[or,uI])),xn(e.i,Bn,Z(X(Je,1),Pe,2,6,[or,"byte:Object",ho,uI])),xn(e.j,Bn,Z(X(Je,1),Pe,2,6,[or,"date",xl,kd])),xn(e.k,Bn,Z(X(Je,1),Pe,2,6,[or,"dateTime",xl,kd])),xn(e.n,Bn,Z(X(Je,1),Pe,2,6,[or,"decimal",xl,kd])),xn(e.o,Bn,Z(X(Je,1),Pe,2,6,[or,cI,xl,kd])),xn(e.p,Bn,Z(X(Je,1),Pe,2,6,[or,"double:Object",ho,cI])),xn(e.q,Bn,Z(X(Je,1),Pe,2,6,[or,"duration",xl,kd])),xn(e.s,Bn,Z(X(Je,1),Pe,2,6,[or,"ENTITIES",ho,g_t,LEe,"1"])),xn(e.r,Bn,Z(X(Je,1),Pe,2,6,[or,g_t,SQ,MEe])),xn(e.t,Bn,Z(X(Je,1),Pe,2,6,[or,MEe,ho,o$])),xn(e.u,Bn,Z(X(Je,1),Pe,2,6,[or,lI,xl,kd])),xn(e.v,Bn,Z(X(Je,1),Pe,2,6,[or,"float:Object",ho,lI])),xn(e.w,Bn,Z(X(Je,1),Pe,2,6,[or,"gDay",xl,kd])),xn(e.B,Bn,Z(X(Je,1),Pe,2,6,[or,"gMonth",xl,kd])),xn(e.A,Bn,Z(X(Je,1),Pe,2,6,[or,"gMonthDay",xl,kd])),xn(e.C,Bn,Z(X(Je,1),Pe,2,6,[or,"gYear",xl,kd])),xn(e.D,Bn,Z(X(Je,1),Pe,2,6,[or,"gYearMonth",xl,kd])),xn(e.F,Bn,Z(X(Je,1),Pe,2,6,[or,"hexBinary",xl,kd])),xn(e.G,Bn,Z(X(Je,1),Pe,2,6,[or,"ID",ho,o$])),xn(e.H,Bn,Z(X(Je,1),Pe,2,6,[or,"IDREF",ho,o$])),xn(e.J,Bn,Z(X(Je,1),Pe,2,6,[or,"IDREFS",ho,b_t,LEe,"1"])),xn(e.I,Bn,Z(X(Je,1),Pe,2,6,[or,b_t,SQ,"IDREF"])),xn(e.K,Bn,Z(X(Je,1),Pe,2,6,[or,dI])),xn(e.M,Bn,Z(X(Je,1),Pe,2,6,[or,PEe])),xn(e.L,Bn,Z(X(Je,1),Pe,2,6,[or,"int:Object",ho,dI])),xn(e.P,Bn,Z(X(Je,1),Pe,2,6,[or,"language",ho,AQ,_Q,m_t])),xn(e.Q,Bn,Z(X(Je,1),Pe,2,6,[or,fI])),xn(e.R,Bn,Z(X(Je,1),Pe,2,6,[or,"long:Object",ho,fI])),xn(e.S,Bn,Z(X(Je,1),Pe,2,6,[or,"Name",ho,AQ,_Q,jEe])),xn(e.T,Bn,Z(X(Je,1),Pe,2,6,[or,o$,ho,"Name",_Q,w_t])),xn(e.U,Bn,Z(X(Je,1),Pe,2,6,[or,"negativeInteger",ho,y_t,XD,"-1"])),xn(e.V,Bn,Z(X(Je,1),Pe,2,6,[or,FEe,ho,AQ,_Q,"\\c+"])),xn(e.X,Bn,Z(X(Je,1),Pe,2,6,[or,"NMTOKENS",ho,v_t,LEe,"1"])),xn(e.W,Bn,Z(X(Je,1),Pe,2,6,[or,v_t,SQ,FEe])),xn(e.Y,Bn,Z(X(Je,1),Pe,2,6,[or,$Ee,ho,PEe,ZD,"0"])),xn(e.Z,Bn,Z(X(Je,1),Pe,2,6,[or,y_t,ho,PEe,XD,"0"])),xn(e.$,Bn,Z(X(Je,1),Pe,2,6,[or,E_t,ho,WJ,xl,"replace"])),xn(e._,Bn,Z(X(Je,1),Pe,2,6,[or,"NOTATION",xl,kd])),xn(e.ab,Bn,Z(X(Je,1),Pe,2,6,[or,"positiveInteger",ho,$Ee,ZD,"1"])),xn(e.bb,Bn,Z(X(Je,1),Pe,2,6,[or,"processingInstruction_._type",Al,"empty"])),xn(l(oe(Ne(e.bb),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,t$,or,"data"])),xn(l(oe(Ne(e.bb),1),38),Bn,Z(X(Je,1),Pe,2,6,[Al,t$,or,yEe])),xn(e.cb,Bn,Z(X(Je,1),Pe,2,6,[or,"QName",xl,kd])),xn(e.db,Bn,Z(X(Je,1),Pe,2,6,[or,hI])),xn(e.eb,Bn,Z(X(Je,1),Pe,2,6,[or,"short:Object",ho,hI])),xn(e.fb,Bn,Z(X(Je,1),Pe,2,6,[or,"simpleAnyType",Al,WD])),xn(l(oe(Ne(e.fb),0),38),Bn,Z(X(Je,1),Pe,2,6,[or,":3",Al,WD])),xn(l(oe(Ne(e.fb),1),38),Bn,Z(X(Je,1),Pe,2,6,[or,":4",Al,WD])),xn(l(oe(Ne(e.fb),2),20),Bn,Z(X(Je,1),Pe,2,6,[or,":5",Al,WD])),xn(e.gb,Bn,Z(X(Je,1),Pe,2,6,[or,WJ,xl,"preserve"])),xn(e.hb,Bn,Z(X(Je,1),Pe,2,6,[or,"time",xl,kd])),xn(e.ib,Bn,Z(X(Je,1),Pe,2,6,[or,AQ,ho,E_t,xl,kd])),xn(e.jb,Bn,Z(X(Je,1),Pe,2,6,[or,S_t,XD,"255",ZD,"0"])),xn(e.kb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedByte:Object",ho,S_t])),xn(e.lb,Bn,Z(X(Je,1),Pe,2,6,[or,T_t,XD,"4294967295",ZD,"0"])),xn(e.mb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedInt:Object",ho,T_t])),xn(e.nb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedLong",ho,$Ee,XD,A_t,ZD,"0"])),xn(e.ob,Bn,Z(X(Je,1),Pe,2,6,[or,__t,XD,"65535",ZD,"0"])),xn(e.pb,Bn,Z(X(Je,1),Pe,2,6,[or,"unsignedShort:Object",ho,__t])),xn(e.qb,Bn,Z(X(Je,1),Pe,2,6,[or,"",Al,VD])),xn(l(oe(Ne(e.qb),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,EQ,or,":mixed"])),xn(l(oe(Ne(e.qb),1),20),Bn,Z(X(Je,1),Pe,2,6,[Al,t$,or,"xmlns:prefix"])),xn(l(oe(Ne(e.qb),2),20),Bn,Z(X(Je,1),Pe,2,6,[Al,t$,or,"xsi:schemaLocation"])),xn(l(oe(Ne(e.qb),3),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,"cDATA",r$,KD])),xn(l(oe(Ne(e.qb),4),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,"comment",r$,KD])),xn(l(oe(Ne(e.qb),5),20),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,x_t,r$,KD])),xn(l(oe(Ne(e.qb),6),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,or,uQ,r$,KD]))}function jn(e){return wt("_UI_EMFDiagnostic_marker",e)?"EMF Problem":wt("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":wt(uAt,e)?"Wrong character.":wt(cAt,e)?"Invalid reference number.":wt(VF,e)?"A character is required after \\.":wt(gQ,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":wt(lAt,e)?"'(?<' or '(?<!' is expected.":wt(dAt,e)?"A comment is not terminated.":wt(cm,e)?"')' is expected.":wt(vEe,e)?"Unexpected end of the pattern in a modifier group.":wt(fAt,e)?"':' is expected.":wt(hAt,e)?"Unexpected end of the pattern in a conditional group.":wt(pAt,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":wt(gAt,e)?"There are more than three choices in a conditional group.":wt(bAt,e)?"A character in U+0040-U+005f must follow \\c.":wt(mAt,e)?"A '{' is required before a character category.":wt(wAt,e)?"A property name is not closed by '}'.":wt(EEe,e)?"Unexpected meta character.":wt(bQ,e)?"Unknown property.":wt(SEe,e)?"A POSIX character class must be closed by ':]'.":wt(WF,e)?"Unexpected end of the pattern in a character class.":wt(yAt,e)?"Unknown name for a POSIX character class.":wt("parser.cc.4",e)?"'-' is invalid here.":wt(vAt,e)?"']' is expected.":wt(TEe,e)?"'[' is invalid in a character class. Write '\\['.":wt(AEe,e)?"']' is invalid in a character class. Write '\\]'.":wt(mQ,e)?"'-' is an invalid character range. Write '\\-'.":wt(EAt,e)?"'[' is expected.":wt(SAt,e)?"')' or '-[' or '+[' or '&[' is expected.":wt(TAt,e)?"The range end code point is less than the start code point.":wt(Sg,e)?"Invalid Unicode hex notation.":wt(AAt,e)?"Overflow in a hex notation.":wt(_At,e)?"'\\x{' must be closed by '}'.":wt(xAt,e)?"Invalid Unicode code point.":wt(kAt,e)?"An anchor must not be here.":wt(tl,e)?"This expression is not supported in the current option setting.":wt(NAt,e)?"Invalid quantifier. A digit is expected.":wt(CAt,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":wt(IAt,e)?"Invalid quantifier. A digit or '}' is expected.":wt(RAt,e)?"Invalid quantifier. A min quantity must be <= a max quantity.":wt(_Ee,e)?"Invalid quantifier. A quantity value overflow.":wt("_UI_PackageRegistry_extensionpoint",e)?"Ecore Package Registry for Generated Packages":wt("_UI_DynamicPackageRegistry_extensionpoint",e)?"Ecore Package Registry for Dynamic Packages":wt("_UI_FactoryRegistry_extensionpoint",e)?"Ecore Factory Override Registry":wt("_UI_URIExtensionParserRegistry_extensionpoint",e)?"URI Extension Parser Registry":wt("_UI_URIProtocolParserRegistry_extensionpoint",e)?"URI Protocol Parser Registry":wt("_UI_URIContentParserRegistry_extensionpoint",e)?"URI Content Parser Registry":wt("_UI_ContentHandlerRegistry_extensionpoint",e)?"Content Handler Registry":wt("_UI_URIMappingRegistry_extensionpoint",e)?"URI Converter Mapping Registry":wt("_UI_PackageRegistryImplementation_extensionpoint",e)?"Ecore Package Registry Implementation":wt("_UI_ValidationDelegateRegistry_extensionpoint",e)?"Validation Delegate Registry":wt("_UI_SettingDelegateRegistry_extensionpoint",e)?"Feature Setting Delegate Factory Registry":wt("_UI_InvocationDelegateRegistry_extensionpoint",e)?"Operation Invocation Delegate Factory Registry":wt("_UI_EClassInterfaceNotAbstract_diagnostic",e)?"A class that is an interface must also be abstract":wt("_UI_EClassNoCircularSuperTypes_diagnostic",e)?"A class may not be a super type of itself":wt("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",e)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":wt("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",e)?"The opposite of the opposite may not be a reference different from this one":wt("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",e)?"The opposite must be a feature of the reference's type":wt("_UI_EReferenceTransientOppositeNotTransient_diagnostic",e)?"The opposite of a transient reference must be transient if it is proxy resolving":wt("_UI_EReferenceOppositeBothContainment_diagnostic",e)?"The opposite of a containment reference must not be a containment reference":wt("_UI_EReferenceConsistentUnique_diagnostic",e)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":wt("_UI_ETypedElementNoType_diagnostic",e)?"The typed element must have a type":wt("_UI_EAttributeNoDataType_diagnostic",e)?"The generic attribute type must not refer to a class":wt("_UI_EReferenceNoClass_diagnostic",e)?"The generic reference type must not refer to a data type":wt("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",e)?"A generic type can't refer to both a type parameter and a classifier":wt("_UI_EGenericTypeNoClass_diagnostic",e)?"A generic super type must refer to a class":wt("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",e)?"A generic type in this context must refer to a classifier or a type parameter":wt("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",e)?"A generic type may have bounds only when used as a type argument":wt("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",e)?"A generic type must not have both a lower and an upper bound":wt("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",e)?"A generic type with bounds must not also refer to a type parameter or classifier":wt("_UI_EGenericTypeNoArguments_diagnostic",e)?"A generic type may have arguments only if it refers to a classifier":wt("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",e)?"A generic type may only refer to a type parameter that is in scope":e}function R3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,O,M,U;e.r||(e.r=!0,Ma(e,"graph"),xj(e,"graph"),kj(e,Lx),k6(e.o,"T"),Tn(ds(e.a),e.p),Tn(ds(e.f),e.a),Tn(ds(e.n),e.f),Tn(ds(e.g),e.n),Tn(ds(e.c),e.n),Tn(ds(e.i),e.c),Tn(ds(e.j),e.c),Tn(ds(e.d),e.f),Tn(ds(e.e),e.a),Ms(e.p,W3n,G2t,!0,!0,!1),M=mE(e.p,e.p,"setProperty"),U=Jht(M),y=ip(e.o),v=(r=(o=new Ym,o),r),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),T=bW(U),_be(v,T),b7(M,y,fEe),y=bW(U),b7(M,y,sI),M=mE(e.p,null,"getProperty"),U=Jht(M),y=ip(e.o),v=bW(U),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),b7(M,y,fEe),y=bW(U),O=Zd(M,y,null),O&&O.mj(),M=mE(e.p,e.wb.e,"hasProperty"),y=ip(e.o),v=(a=(u=new Ym,u),a),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),b7(M,y,fEe),M=mE(e.p,e.p,"copyProperties"),os(M,e.p,iQ),M=mE(e.p,null,"getAllProperties"),y=ip(e.wb.P),v=ip(e.o),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),T=(f=(p=new Ym,p),f),Tn((!v.d&&(v.d=new yi(Go,v,1)),v.d),T),v=ip(e.wb.M),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),N=Zd(M,y,null),N&&N.mj(),Ms(e.a,Ak,jTt,!0,!1,!0),Mr(l(oe(Ne(e.a),0),20),e.k,null,YTt,0,-1,Ak,!1,!1,!0,!0,!1,!1,!1),Ms(e.f,t5,$Tt,!0,!1,!0),Mr(l(oe(Ne(e.f),0),20),e.g,l(oe(Ne(e.g),0),20),"labels",0,-1,t5,!1,!1,!0,!0,!1,!1,!1),oi(l(oe(Ne(e.f),1),38),e.wb._,JTt,null,0,1,t5,!1,!1,!0,!1,!0,!1),Ms(e.n,n5,"ElkShape",!0,!1,!0),oi(l(oe(Ne(e.n),0),38),e.wb.t,oQ,dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.n),1),38),e.wb.t,sQ,dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.n),2),38),e.wb.t,"x",dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.n),3),38),e.wb.t,"y",dx,1,1,n5,!1,!1,!0,!1,!0,!1),M=mE(e.n,null,"setDimensions"),os(M,e.wb.t,sQ),os(M,e.wb.t,oQ),M=mE(e.n,null,"setLocation"),os(M,e.wb.t,"x"),os(M,e.wb.t,"y"),Ms(e.g,Rs,cEe,!1,!1,!0),Mr(l(oe(Ne(e.g),0),20),e.f,l(oe(Ne(e.f),0),20),aQ,0,1,Rs,!1,!1,!0,!1,!1,!1,!1),oi(l(oe(Ne(e.g),1),38),e.wb._,uQ,"",0,1,Rs,!1,!1,!0,!1,!0,!1),Ms(e.c,pn,BTt,!0,!1,!0),Mr(l(oe(Ne(e.c),0),20),e.d,l(oe(Ne(e.d),1),20),"outgoingEdges",0,-1,pn,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.c),1),20),e.d,l(oe(Ne(e.d),2),20),"incomingEdges",0,-1,pn,!1,!1,!0,!1,!0,!1,!1),Ms(e.i,En,lEe,!1,!1,!0),Mr(l(oe(Ne(e.i),0),20),e.j,l(oe(Ne(e.j),0),20),"ports",0,-1,En,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.i),1),20),e.i,l(oe(Ne(e.i),2),20),cQ,0,-1,En,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.i),2),20),e.i,l(oe(Ne(e.i),1),20),aQ,0,1,En,!1,!1,!0,!1,!1,!1,!1),Mr(l(oe(Ne(e.i),3),20),e.d,l(oe(Ne(e.d),0),20),"containedEdges",0,-1,En,!1,!1,!0,!0,!1,!1,!1),oi(l(oe(Ne(e.i),4),38),e.wb.e,XTt,null,0,1,En,!0,!0,!1,!1,!0,!0),Ms(e.j,Gu,dEe,!1,!1,!0),Mr(l(oe(Ne(e.j),0),20),e.i,l(oe(Ne(e.i),0),20),aQ,0,1,Gu,!1,!1,!0,!1,!1,!1,!1),Ms(e.d,Ir,uEe,!1,!1,!0),Mr(l(oe(Ne(e.d),0),20),e.i,l(oe(Ne(e.i),3),20),"containingNode",0,1,Ir,!1,!1,!0,!1,!1,!1,!1),Mr(l(oe(Ne(e.d),1),20),e.c,l(oe(Ne(e.c),0),20),hEe,0,-1,Ir,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.d),2),20),e.c,l(oe(Ne(e.c),1),20),lQ,0,-1,Ir,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.d),3),20),e.e,l(oe(Ne(e.e),5),20),dQ,0,-1,Ir,!1,!1,!0,!0,!1,!1,!1),oi(l(oe(Ne(e.d),4),38),e.wb.e,"hyperedge",null,0,1,Ir,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.d),5),38),e.wb.e,XTt,null,0,1,Ir,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.d),6),38),e.wb.e,"selfloop",null,0,1,Ir,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.d),7),38),e.wb.e,"connected",null,0,1,Ir,!0,!0,!1,!1,!0,!0),Ms(e.b,Ic,FTt,!1,!1,!0),oi(l(oe(Ne(e.b),0),38),e.wb.t,"x",dx,1,1,Ic,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.b),1),38),e.wb.t,"y",dx,1,1,Ic,!1,!1,!0,!1,!0,!1),M=mE(e.b,null,"set"),os(M,e.wb.t,"x"),os(M,e.wb.t,"y"),Ms(e.e,jr,UTt,!1,!1,!0),oi(l(oe(Ne(e.e),0),38),e.wb.t,"startX",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.e),1),38),e.wb.t,"startY",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.e),2),38),e.wb.t,"endX",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.e),3),38),e.wb.t,"endY",null,0,1,jr,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.e),4),20),e.b,null,HF,0,-1,jr,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.e),5),20),e.d,l(oe(Ne(e.d),3),20),aQ,0,1,jr,!1,!1,!0,!1,!1,!1,!1),Mr(l(oe(Ne(e.e),6),20),e.c,null,pEe,0,1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.e),7),20),e.c,null,gEe,0,1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.e),8),20),e.e,l(oe(Ne(e.e),9),20),bEe,0,-1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.e),9),20),e.e,l(oe(Ne(e.e),8),20),mEe,0,-1,jr,!1,!1,!0,!1,!0,!1,!1),oi(l(oe(Ne(e.e),10),38),e.wb._,JTt,null,0,1,jr,!1,!1,!0,!1,!0,!1),M=mE(e.e,null,"setStartLocation"),os(M,e.wb.t,"x"),os(M,e.wb.t,"y"),M=mE(e.e,null,"setEndLocation"),os(M,e.wb.t,"x"),os(M,e.wb.t,"y"),Ms(e.k,dm,"ElkPropertyToValueMapEntry",!1,!1,!1),y=ip(e.o),v=(m=(t=new Ym,t),m),Tn((!y.d&&(y.d=new yi(Go,y,1)),y.d),v),C0t(l(oe(Ne(e.k),0),38),y,"key",dm,!1,!1,!0,!1),oi(l(oe(Ne(e.k),1),38),e.s,sI,null,0,1,dm,!1,!1,!0,!1,!0,!1),nr(e.o,ore,"IProperty",!0),nr(e.s,Ii,"PropertyValue",!0),Zge(e,Lx))}function YEt(){YEt=K,te=we(Eu,BE,30,No,15,1),te[9]=35,te[10]=19,te[13]=19,te[32]=51,te[33]=49,te[34]=33,ge(te,35,38,49),te[38]=1,ge(te,39,45,49),ge(te,45,47,-71),te[47]=49,ge(te,48,58,-71),te[58]=61,te[59]=49,te[60]=1,te[61]=49,te[62]=33,ge(te,63,65,49),ge(te,65,91,-3),ge(te,91,93,33),te[93]=1,te[94]=33,te[95]=-3,te[96]=33,ge(te,97,123,-3),ge(te,123,183,33),te[183]=-87,ge(te,184,192,33),ge(te,192,215,-19),te[215]=33,ge(te,216,247,-19),te[247]=33,ge(te,248,306,-19),ge(te,306,308,33),ge(te,308,319,-19),ge(te,319,321,33),ge(te,321,329,-19),te[329]=33,ge(te,330,383,-19),te[383]=33,ge(te,384,452,-19),ge(te,452,461,33),ge(te,461,497,-19),ge(te,497,500,33),ge(te,500,502,-19),ge(te,502,506,33),ge(te,506,536,-19),ge(te,536,592,33),ge(te,592,681,-19),ge(te,681,699,33),ge(te,699,706,-19),ge(te,706,720,33),ge(te,720,722,-87),ge(te,722,768,33),ge(te,768,838,-87),ge(te,838,864,33),ge(te,864,866,-87),ge(te,866,902,33),te[902]=-19,te[903]=-87,ge(te,904,907,-19),te[907]=33,te[908]=-19,te[909]=33,ge(te,910,930,-19),te[930]=33,ge(te,931,975,-19),te[975]=33,ge(te,976,983,-19),ge(te,983,986,33),te[986]=-19,te[987]=33,te[988]=-19,te[989]=33,te[990]=-19,te[991]=33,te[992]=-19,te[993]=33,ge(te,994,1012,-19),ge(te,1012,1025,33),ge(te,1025,1037,-19),te[1037]=33,ge(te,1038,1104,-19),te[1104]=33,ge(te,1105,1117,-19),te[1117]=33,ge(te,1118,1154,-19),te[1154]=33,ge(te,1155,1159,-87),ge(te,1159,1168,33),ge(te,1168,1221,-19),ge(te,1221,1223,33),ge(te,1223,1225,-19),ge(te,1225,1227,33),ge(te,1227,1229,-19),ge(te,1229,1232,33),ge(te,1232,1260,-19),ge(te,1260,1262,33),ge(te,1262,1270,-19),ge(te,1270,1272,33),ge(te,1272,1274,-19),ge(te,1274,1329,33),ge(te,1329,1367,-19),ge(te,1367,1369,33),te[1369]=-19,ge(te,1370,1377,33),ge(te,1377,1415,-19),ge(te,1415,1425,33),ge(te,1425,1442,-87),te[1442]=33,ge(te,1443,1466,-87),te[1466]=33,ge(te,1467,1470,-87),te[1470]=33,te[1471]=-87,te[1472]=33,ge(te,1473,1475,-87),te[1475]=33,te[1476]=-87,ge(te,1477,1488,33),ge(te,1488,1515,-19),ge(te,1515,1520,33),ge(te,1520,1523,-19),ge(te,1523,1569,33),ge(te,1569,1595,-19),ge(te,1595,1600,33),te[1600]=-87,ge(te,1601,1611,-19),ge(te,1611,1619,-87),ge(te,1619,1632,33),ge(te,1632,1642,-87),ge(te,1642,1648,33),te[1648]=-87,ge(te,1649,1720,-19),ge(te,1720,1722,33),ge(te,1722,1727,-19),te[1727]=33,ge(te,1728,1743,-19),te[1743]=33,ge(te,1744,1748,-19),te[1748]=33,te[1749]=-19,ge(te,1750,1765,-87),ge(te,1765,1767,-19),ge(te,1767,1769,-87),te[1769]=33,ge(te,1770,1774,-87),ge(te,1774,1776,33),ge(te,1776,1786,-87),ge(te,1786,2305,33),ge(te,2305,2308,-87),te[2308]=33,ge(te,2309,2362,-19),ge(te,2362,2364,33),te[2364]=-87,te[2365]=-19,ge(te,2366,2382,-87),ge(te,2382,2385,33),ge(te,2385,2389,-87),ge(te,2389,2392,33),ge(te,2392,2402,-19),ge(te,2402,2404,-87),ge(te,2404,2406,33),ge(te,2406,2416,-87),ge(te,2416,2433,33),ge(te,2433,2436,-87),te[2436]=33,ge(te,2437,2445,-19),ge(te,2445,2447,33),ge(te,2447,2449,-19),ge(te,2449,2451,33),ge(te,2451,2473,-19),te[2473]=33,ge(te,2474,2481,-19),te[2481]=33,te[2482]=-19,ge(te,2483,2486,33),ge(te,2486,2490,-19),ge(te,2490,2492,33),te[2492]=-87,te[2493]=33,ge(te,2494,2501,-87),ge(te,2501,2503,33),ge(te,2503,2505,-87),ge(te,2505,2507,33),ge(te,2507,2510,-87),ge(te,2510,2519,33),te[2519]=-87,ge(te,2520,2524,33),ge(te,2524,2526,-19),te[2526]=33,ge(te,2527,2530,-19),ge(te,2530,2532,-87),ge(te,2532,2534,33),ge(te,2534,2544,-87),ge(te,2544,2546,-19),ge(te,2546,2562,33),te[2562]=-87,ge(te,2563,2565,33),ge(te,2565,2571,-19),ge(te,2571,2575,33),ge(te,2575,2577,-19),ge(te,2577,2579,33),ge(te,2579,2601,-19),te[2601]=33,ge(te,2602,2609,-19),te[2609]=33,ge(te,2610,2612,-19),te[2612]=33,ge(te,2613,2615,-19),te[2615]=33,ge(te,2616,2618,-19),ge(te,2618,2620,33),te[2620]=-87,te[2621]=33,ge(te,2622,2627,-87),ge(te,2627,2631,33),ge(te,2631,2633,-87),ge(te,2633,2635,33),ge(te,2635,2638,-87),ge(te,2638,2649,33),ge(te,2649,2653,-19),te[2653]=33,te[2654]=-19,ge(te,2655,2662,33),ge(te,2662,2674,-87),ge(te,2674,2677,-19),ge(te,2677,2689,33),ge(te,2689,2692,-87),te[2692]=33,ge(te,2693,2700,-19),te[2700]=33,te[2701]=-19,te[2702]=33,ge(te,2703,2706,-19),te[2706]=33,ge(te,2707,2729,-19),te[2729]=33,ge(te,2730,2737,-19),te[2737]=33,ge(te,2738,2740,-19),te[2740]=33,ge(te,2741,2746,-19),ge(te,2746,2748,33),te[2748]=-87,te[2749]=-19,ge(te,2750,2758,-87),te[2758]=33,ge(te,2759,2762,-87),te[2762]=33,ge(te,2763,2766,-87),ge(te,2766,2784,33),te[2784]=-19,ge(te,2785,2790,33),ge(te,2790,2800,-87),ge(te,2800,2817,33),ge(te,2817,2820,-87),te[2820]=33,ge(te,2821,2829,-19),ge(te,2829,2831,33),ge(te,2831,2833,-19),ge(te,2833,2835,33),ge(te,2835,2857,-19),te[2857]=33,ge(te,2858,2865,-19),te[2865]=33,ge(te,2866,2868,-19),ge(te,2868,2870,33),ge(te,2870,2874,-19),ge(te,2874,2876,33),te[2876]=-87,te[2877]=-19,ge(te,2878,2884,-87),ge(te,2884,2887,33),ge(te,2887,2889,-87),ge(te,2889,2891,33),ge(te,2891,2894,-87),ge(te,2894,2902,33),ge(te,2902,2904,-87),ge(te,2904,2908,33),ge(te,2908,2910,-19),te[2910]=33,ge(te,2911,2914,-19),ge(te,2914,2918,33),ge(te,2918,2928,-87),ge(te,2928,2946,33),ge(te,2946,2948,-87),te[2948]=33,ge(te,2949,2955,-19),ge(te,2955,2958,33),ge(te,2958,2961,-19),te[2961]=33,ge(te,2962,2966,-19),ge(te,2966,2969,33),ge(te,2969,2971,-19),te[2971]=33,te[2972]=-19,te[2973]=33,ge(te,2974,2976,-19),ge(te,2976,2979,33),ge(te,2979,2981,-19),ge(te,2981,2984,33),ge(te,2984,2987,-19),ge(te,2987,2990,33),ge(te,2990,2998,-19),te[2998]=33,ge(te,2999,3002,-19),ge(te,3002,3006,33),ge(te,3006,3011,-87),ge(te,3011,3014,33),ge(te,3014,3017,-87),te[3017]=33,ge(te,3018,3022,-87),ge(te,3022,3031,33),te[3031]=-87,ge(te,3032,3047,33),ge(te,3047,3056,-87),ge(te,3056,3073,33),ge(te,3073,3076,-87),te[3076]=33,ge(te,3077,3085,-19),te[3085]=33,ge(te,3086,3089,-19),te[3089]=33,ge(te,3090,3113,-19),te[3113]=33,ge(te,3114,3124,-19),te[3124]=33,ge(te,3125,3130,-19),ge(te,3130,3134,33),ge(te,3134,3141,-87),te[3141]=33,ge(te,3142,3145,-87),te[3145]=33,ge(te,3146,3150,-87),ge(te,3150,3157,33),ge(te,3157,3159,-87),ge(te,3159,3168,33),ge(te,3168,3170,-19),ge(te,3170,3174,33),ge(te,3174,3184,-87),ge(te,3184,3202,33),ge(te,3202,3204,-87),te[3204]=33,ge(te,3205,3213,-19),te[3213]=33,ge(te,3214,3217,-19),te[3217]=33,ge(te,3218,3241,-19),te[3241]=33,ge(te,3242,3252,-19),te[3252]=33,ge(te,3253,3258,-19),ge(te,3258,3262,33),ge(te,3262,3269,-87),te[3269]=33,ge(te,3270,3273,-87),te[3273]=33,ge(te,3274,3278,-87),ge(te,3278,3285,33),ge(te,3285,3287,-87),ge(te,3287,3294,33),te[3294]=-19,te[3295]=33,ge(te,3296,3298,-19),ge(te,3298,3302,33),ge(te,3302,3312,-87),ge(te,3312,3330,33),ge(te,3330,3332,-87),te[3332]=33,ge(te,3333,3341,-19),te[3341]=33,ge(te,3342,3345,-19),te[3345]=33,ge(te,3346,3369,-19),te[3369]=33,ge(te,3370,3386,-19),ge(te,3386,3390,33),ge(te,3390,3396,-87),ge(te,3396,3398,33),ge(te,3398,3401,-87),te[3401]=33,ge(te,3402,3406,-87),ge(te,3406,3415,33),te[3415]=-87,ge(te,3416,3424,33),ge(te,3424,3426,-19),ge(te,3426,3430,33),ge(te,3430,3440,-87),ge(te,3440,3585,33),ge(te,3585,3631,-19),te[3631]=33,te[3632]=-19,te[3633]=-87,ge(te,3634,3636,-19),ge(te,3636,3643,-87),ge(te,3643,3648,33),ge(te,3648,3654,-19),ge(te,3654,3663,-87),te[3663]=33,ge(te,3664,3674,-87),ge(te,3674,3713,33),ge(te,3713,3715,-19),te[3715]=33,te[3716]=-19,ge(te,3717,3719,33),ge(te,3719,3721,-19),te[3721]=33,te[3722]=-19,ge(te,3723,3725,33),te[3725]=-19,ge(te,3726,3732,33),ge(te,3732,3736,-19),te[3736]=33,ge(te,3737,3744,-19),te[3744]=33,ge(te,3745,3748,-19),te[3748]=33,te[3749]=-19,te[3750]=33,te[3751]=-19,ge(te,3752,3754,33),ge(te,3754,3756,-19),te[3756]=33,ge(te,3757,3759,-19),te[3759]=33,te[3760]=-19,te[3761]=-87,ge(te,3762,3764,-19),ge(te,3764,3770,-87),te[3770]=33,ge(te,3771,3773,-87),te[3773]=-19,ge(te,3774,3776,33),ge(te,3776,3781,-19),te[3781]=33,te[3782]=-87,te[3783]=33,ge(te,3784,3790,-87),ge(te,3790,3792,33),ge(te,3792,3802,-87),ge(te,3802,3864,33),ge(te,3864,3866,-87),ge(te,3866,3872,33),ge(te,3872,3882,-87),ge(te,3882,3893,33),te[3893]=-87,te[3894]=33,te[3895]=-87,te[3896]=33,te[3897]=-87,ge(te,3898,3902,33),ge(te,3902,3904,-87),ge(te,3904,3912,-19),te[3912]=33,ge(te,3913,3946,-19),ge(te,3946,3953,33),ge(te,3953,3973,-87),te[3973]=33,ge(te,3974,3980,-87),ge(te,3980,3984,33),ge(te,3984,3990,-87),te[3990]=33,te[3991]=-87,te[3992]=33,ge(te,3993,4014,-87),ge(te,4014,4017,33),ge(te,4017,4024,-87),te[4024]=33,te[4025]=-87,ge(te,4026,4256,33),ge(te,4256,4294,-19),ge(te,4294,4304,33),ge(te,4304,4343,-19),ge(te,4343,4352,33),te[4352]=-19,te[4353]=33,ge(te,4354,4356,-19),te[4356]=33,ge(te,4357,4360,-19),te[4360]=33,te[4361]=-19,te[4362]=33,ge(te,4363,4365,-19),te[4365]=33,ge(te,4366,4371,-19),ge(te,4371,4412,33),te[4412]=-19,te[4413]=33,te[4414]=-19,te[4415]=33,te[4416]=-19,ge(te,4417,4428,33),te[4428]=-19,te[4429]=33,te[4430]=-19,te[4431]=33,te[4432]=-19,ge(te,4433,4436,33),ge(te,4436,4438,-19),ge(te,4438,4441,33),te[4441]=-19,ge(te,4442,4447,33),ge(te,4447,4450,-19),te[4450]=33,te[4451]=-19,te[4452]=33,te[4453]=-19,te[4454]=33,te[4455]=-19,te[4456]=33,te[4457]=-19,ge(te,4458,4461,33),ge(te,4461,4463,-19),ge(te,4463,4466,33),ge(te,4466,4468,-19),te[4468]=33,te[4469]=-19,ge(te,4470,4510,33),te[4510]=-19,ge(te,4511,4520,33),te[4520]=-19,ge(te,4521,4523,33),te[4523]=-19,ge(te,4524,4526,33),ge(te,4526,4528,-19),ge(te,4528,4535,33),ge(te,4535,4537,-19),te[4537]=33,te[4538]=-19,te[4539]=33,ge(te,4540,4547,-19),ge(te,4547,4587,33),te[4587]=-19,ge(te,4588,4592,33),te[4592]=-19,ge(te,4593,4601,33),te[4601]=-19,ge(te,4602,7680,33),ge(te,7680,7836,-19),ge(te,7836,7840,33),ge(te,7840,7930,-19),ge(te,7930,7936,33),ge(te,7936,7958,-19),ge(te,7958,7960,33),ge(te,7960,7966,-19),ge(te,7966,7968,33),ge(te,7968,8006,-19),ge(te,8006,8008,33),ge(te,8008,8014,-19),ge(te,8014,8016,33),ge(te,8016,8024,-19),te[8024]=33,te[8025]=-19,te[8026]=33,te[8027]=-19,te[8028]=33,te[8029]=-19,te[8030]=33,ge(te,8031,8062,-19),ge(te,8062,8064,33),ge(te,8064,8117,-19),te[8117]=33,ge(te,8118,8125,-19),te[8125]=33,te[8126]=-19,ge(te,8127,8130,33),ge(te,8130,8133,-19),te[8133]=33,ge(te,8134,8141,-19),ge(te,8141,8144,33),ge(te,8144,8148,-19),ge(te,8148,8150,33),ge(te,8150,8156,-19),ge(te,8156,8160,33),ge(te,8160,8173,-19),ge(te,8173,8178,33),ge(te,8178,8181,-19),te[8181]=33,ge(te,8182,8189,-19),ge(te,8189,8400,33),ge(te,8400,8413,-87),ge(te,8413,8417,33),te[8417]=-87,ge(te,8418,8486,33),te[8486]=-19,ge(te,8487,8490,33),ge(te,8490,8492,-19),ge(te,8492,8494,33),te[8494]=-19,ge(te,8495,8576,33),ge(te,8576,8579,-19),ge(te,8579,12293,33),te[12293]=-87,te[12294]=33,te[12295]=-19,ge(te,12296,12321,33),ge(te,12321,12330,-19),ge(te,12330,12336,-87),te[12336]=33,ge(te,12337,12342,-87),ge(te,12342,12353,33),ge(te,12353,12437,-19),ge(te,12437,12441,33),ge(te,12441,12443,-87),ge(te,12443,12445,33),ge(te,12445,12447,-87),ge(te,12447,12449,33),ge(te,12449,12539,-19),te[12539]=33,ge(te,12540,12543,-87),ge(te,12543,12549,33),ge(te,12549,12589,-19),ge(te,12589,19968,33),ge(te,19968,40870,-19),ge(te,40870,44032,33),ge(te,44032,55204,-19),ge(te,55204,TD,33),ge(te,57344,65534,33)}function O3n(e){var t,r,o,a,u,f,p;e.hb||(e.hb=!0,Ma(e,"ecore"),xj(e,"ecore"),kj(e,_l),k6(e.fb,"E"),k6(e.L,"T"),k6(e.P,"K"),k6(e.P,"V"),k6(e.cb,"E"),Tn(ds(e.b),e.bb),Tn(ds(e.a),e.Q),Tn(ds(e.o),e.p),Tn(ds(e.p),e.R),Tn(ds(e.q),e.p),Tn(ds(e.v),e.q),Tn(ds(e.w),e.R),Tn(ds(e.B),e.Q),Tn(ds(e.R),e.Q),Tn(ds(e.T),e.eb),Tn(ds(e.U),e.R),Tn(ds(e.V),e.eb),Tn(ds(e.W),e.bb),Tn(ds(e.bb),e.eb),Tn(ds(e.eb),e.R),Tn(ds(e.db),e.R),Ms(e.b,bv,UAt,!1,!1,!0),oi(l(oe(Ne(e.b),0),38),e.e,"iD",null,0,1,bv,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.b),1),20),e.q,null,"eAttributeType",1,1,bv,!0,!0,!1,!1,!0,!1,!0),Ms(e.a,Kn,FAt,!1,!1,!0),oi(l(oe(Ne(e.a),0),38),e._,iQ,null,0,1,Kn,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.a),1),20),e.ab,null,"details",0,-1,Kn,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.a),2),20),e.Q,l(oe(Ne(e.Q),0),20),"eModelElement",0,1,Kn,!0,!1,!0,!1,!1,!1,!1),Mr(l(oe(Ne(e.a),3),20),e.S,null,"contents",0,-1,Kn,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.a),4),20),e.S,null,"references",0,-1,Kn,!1,!1,!0,!1,!0,!1,!1),Ms(e.o,Ol,"EClass",!1,!1,!0),oi(l(oe(Ne(e.o),0),38),e.e,"abstract",null,0,1,Ol,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.o),1),38),e.e,"interface",null,0,1,Ol,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.o),2),20),e.o,null,"eSuperTypes",0,-1,Ol,!1,!1,!0,!1,!0,!0,!1),Mr(l(oe(Ne(e.o),3),20),e.T,l(oe(Ne(e.T),0),20),"eOperations",0,-1,Ol,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.o),4),20),e.b,null,"eAllAttributes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),5),20),e.W,null,"eAllReferences",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),6),20),e.W,null,"eReferences",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),7),20),e.b,null,"eAttributes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),8),20),e.W,null,"eAllContainments",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),9),20),e.T,null,"eAllOperations",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),10),20),e.bb,null,"eAllStructuralFeatures",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),11),20),e.o,null,"eAllSuperTypes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.o),12),20),e.b,null,"eIDAttribute",0,1,Ol,!0,!0,!1,!1,!1,!1,!0),Mr(l(oe(Ne(e.o),13),20),e.bb,l(oe(Ne(e.bb),7),20),"eStructuralFeatures",0,-1,Ol,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.o),14),20),e.H,null,"eGenericSuperTypes",0,-1,Ol,!1,!1,!0,!0,!1,!0,!1),Mr(l(oe(Ne(e.o),15),20),e.H,null,"eAllGenericSuperTypes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),p=Ko(l(oe(Er(e.o),0),62),e.e,"isSuperTypeOf"),os(p,e.o,"someClass"),Ko(l(oe(Er(e.o),1),62),e.I,"getFeatureCount"),p=Ko(l(oe(Er(e.o),2),62),e.bb,QAt),os(p,e.I,"featureID"),p=Ko(l(oe(Er(e.o),3),62),e.I,e_t),os(p,e.bb,pI),p=Ko(l(oe(Er(e.o),4),62),e.bb,QAt),os(p,e._,"featureName"),Ko(l(oe(Er(e.o),5),62),e.I,"getOperationCount"),p=Ko(l(oe(Er(e.o),6),62),e.T,"getEOperation"),os(p,e.I,"operationID"),p=Ko(l(oe(Er(e.o),7),62),e.I,t_t),os(p,e.T,REe),p=Ko(l(oe(Er(e.o),8),62),e.T,"getOverride"),os(p,e.T,REe),p=Ko(l(oe(Er(e.o),9),62),e.H,"getFeatureType"),os(p,e.bb,pI),Ms(e.p,Ld,HAt,!0,!1,!0),oi(l(oe(Ne(e.p),0),38),e._,"instanceClassName",null,0,1,Ld,!1,!0,!0,!0,!0,!1),t=ip(e.L),r=Jhe(),Tn((!t.d&&(t.d=new yi(Go,t,1)),t.d),r),C0t(l(oe(Ne(e.p),1),38),t,"instanceClass",Ld,!0,!0,!1,!0),oi(l(oe(Ne(e.p),2),38),e.M,n_t,null,0,1,Ld,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.p),3),38),e._,"instanceTypeName",null,0,1,Ld,!1,!0,!0,!0,!0,!1),Mr(l(oe(Ne(e.p),4),20),e.U,l(oe(Ne(e.U),3),20),"ePackage",0,1,Ld,!0,!1,!1,!1,!0,!1,!1),Mr(l(oe(Ne(e.p),5),20),e.db,null,r_t,0,-1,Ld,!1,!1,!0,!0,!0,!1,!1),p=Ko(l(oe(Er(e.p),0),62),e.e,i_t),os(p,e.M,pD),Ko(l(oe(Er(e.p),1),62),e.I,"getClassifierID"),Ms(e.q,Pre,"EDataType",!1,!1,!0),oi(l(oe(Ne(e.q),0),38),e.e,"serializable",Ix,0,1,Pre,!1,!1,!0,!1,!0,!1),Ms(e.v,SU,"EEnum",!1,!1,!0),Mr(l(oe(Ne(e.v),0),20),e.w,l(oe(Ne(e.w),3),20),"eLiterals",0,-1,SU,!1,!1,!0,!0,!1,!1,!1),p=Ko(l(oe(Er(e.v),0),62),e.w,o_t),os(p,e._,or),p=Ko(l(oe(Er(e.v),1),62),e.w,o_t),os(p,e.I,sI),p=Ko(l(oe(Er(e.v),2),62),e.w,"getEEnumLiteralByLiteral"),os(p,e._,"literal"),Ms(e.w,Op,zAt,!1,!1,!0),oi(l(oe(Ne(e.w),0),38),e.I,sI,null,0,1,Op,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.w),1),38),e.A,"instance",null,0,1,Op,!0,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.w),2),38),e._,"literal",null,0,1,Op,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.w),3),20),e.v,l(oe(Ne(e.v),0),20),"eEnum",0,1,Op,!0,!1,!1,!1,!1,!1,!1),Ms(e.B,I4,"EFactory",!1,!1,!0),Mr(l(oe(Ne(e.B),0),20),e.U,l(oe(Ne(e.U),2),20),"ePackage",1,1,I4,!0,!1,!0,!1,!1,!1,!1),p=Ko(l(oe(Er(e.B),0),62),e.S,"create"),os(p,e.o,"eClass"),p=Ko(l(oe(Er(e.B),1),62),e.M,"createFromString"),os(p,e.q,"eDataType"),os(p,e._,"literalValue"),p=Ko(l(oe(Er(e.B),2),62),e._,"convertToString"),os(p,e.q,"eDataType"),os(p,e.M,"instanceValue"),Ms(e.Q,r5,HTt,!0,!1,!0),Mr(l(oe(Ne(e.Q),0),20),e.a,l(oe(Ne(e.a),2),20),"eAnnotations",0,-1,r5,!1,!1,!0,!0,!1,!1,!1),p=Ko(l(oe(Er(e.Q),0),62),e.a,"getEAnnotation"),os(p,e._,iQ),Ms(e.R,Ire,zTt,!0,!1,!0),oi(l(oe(Ne(e.R),0),38),e._,or,null,0,1,Ire,!1,!1,!0,!1,!0,!1),Ms(e.S,Y1,"EObject",!1,!1,!0),Ko(l(oe(Er(e.S),0),62),e.o,"eClass"),Ko(l(oe(Er(e.S),1),62),e.e,"eIsProxy"),Ko(l(oe(Er(e.S),2),62),e.X,"eResource"),Ko(l(oe(Er(e.S),3),62),e.S,"eContainer"),Ko(l(oe(Er(e.S),4),62),e.bb,"eContainingFeature"),Ko(l(oe(Er(e.S),5),62),e.W,"eContainmentFeature"),p=Ko(l(oe(Er(e.S),6),62),null,"eContents"),t=ip(e.fb),r=ip(e.S),Tn((!t.d&&(t.d=new yi(Go,t,1)),t.d),r),a=Zd(p,t,null),a&&a.mj(),p=Ko(l(oe(Er(e.S),7),62),null,"eAllContents"),t=ip(e.cb),r=ip(e.S),Tn((!t.d&&(t.d=new yi(Go,t,1)),t.d),r),u=Zd(p,t,null),u&&u.mj(),p=Ko(l(oe(Er(e.S),8),62),null,"eCrossReferences"),t=ip(e.fb),r=ip(e.S),Tn((!t.d&&(t.d=new yi(Go,t,1)),t.d),r),f=Zd(p,t,null),f&&f.mj(),p=Ko(l(oe(Er(e.S),9),62),e.M,"eGet"),os(p,e.bb,pI),p=Ko(l(oe(Er(e.S),10),62),e.M,"eGet"),os(p,e.bb,pI),os(p,e.e,"resolve"),p=Ko(l(oe(Er(e.S),11),62),null,"eSet"),os(p,e.bb,pI),os(p,e.M,"newValue"),p=Ko(l(oe(Er(e.S),12),62),e.e,"eIsSet"),os(p,e.bb,pI),p=Ko(l(oe(Er(e.S),13),62),null,"eUnset"),os(p,e.bb,pI),p=Ko(l(oe(Er(e.S),14),62),e.M,"eInvoke"),os(p,e.T,REe),t=ip(e.fb),r=Jhe(),Tn((!t.d&&(t.d=new yi(Go,t,1)),t.d),r),b7(p,t,"arguments"),Jsn(p,e.K),Ms(e.T,Dl,qAt,!1,!1,!0),Mr(l(oe(Ne(e.T),0),20),e.o,l(oe(Ne(e.o),3),20),s_t,0,1,Dl,!0,!1,!1,!1,!1,!1,!1),Mr(l(oe(Ne(e.T),1),20),e.db,null,r_t,0,-1,Dl,!1,!1,!0,!0,!0,!1,!1),Mr(l(oe(Ne(e.T),2),20),e.V,l(oe(Ne(e.V),0),20),"eParameters",0,-1,Dl,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.T),3),20),e.p,null,"eExceptions",0,-1,Dl,!1,!1,!0,!1,!0,!0,!1),Mr(l(oe(Ne(e.T),4),20),e.H,null,"eGenericExceptions",0,-1,Dl,!1,!1,!0,!0,!1,!0,!1),Ko(l(oe(Er(e.T),0),62),e.I,t_t),p=Ko(l(oe(Er(e.T),1),62),e.e,"isOverrideOf"),os(p,e.T,"someOperation"),Ms(e.U,Dd,"EPackage",!1,!1,!0),oi(l(oe(Ne(e.U),0),38),e._,"nsURI",null,0,1,Dd,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.U),1),38),e._,"nsPrefix",null,0,1,Dd,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.U),2),20),e.B,l(oe(Ne(e.B),0),20),"eFactoryInstance",1,1,Dd,!0,!1,!0,!1,!1,!1,!1),Mr(l(oe(Ne(e.U),3),20),e.p,l(oe(Ne(e.p),4),20),"eClassifiers",0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),Mr(l(oe(Ne(e.U),4),20),e.U,l(oe(Ne(e.U),5),20),"eSubpackages",0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),Mr(l(oe(Ne(e.U),5),20),e.U,l(oe(Ne(e.U),4),20),"eSuperPackage",0,1,Dd,!0,!1,!1,!1,!0,!1,!1),p=Ko(l(oe(Er(e.U),0),62),e.p,"getEClassifier"),os(p,e._,or),Ms(e.V,lw,VAt,!1,!1,!0),Mr(l(oe(Ne(e.V),0),20),e.T,l(oe(Ne(e.T),2),20),"eOperation",0,1,lw,!0,!1,!1,!1,!1,!1,!1),Ms(e.W,mv,WAt,!1,!1,!0),oi(l(oe(Ne(e.W),0),38),e.e,"containment",null,0,1,mv,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.W),1),38),e.e,"container",null,0,1,mv,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.W),2),38),e.e,"resolveProxies",Ix,0,1,mv,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.W),3),20),e.W,null,"eOpposite",0,1,mv,!1,!1,!0,!1,!0,!1,!1),Mr(l(oe(Ne(e.W),4),20),e.o,null,"eReferenceType",1,1,mv,!0,!0,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.W),5),20),e.b,null,"eKeys",0,-1,mv,!1,!1,!0,!1,!0,!1,!1),Ms(e.bb,au,BAt,!0,!1,!0),oi(l(oe(Ne(e.bb),0),38),e.e,"changeable",Ix,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.bb),1),38),e.e,"volatile",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.bb),2),38),e.e,"transient",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.bb),3),38),e._,"defaultValueLiteral",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.bb),4),38),e.M,n_t,null,0,1,au,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.bb),5),38),e.e,"unsettable",null,0,1,au,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.bb),6),38),e.e,"derived",null,0,1,au,!1,!1,!0,!1,!0,!1),Mr(l(oe(Ne(e.bb),7),20),e.o,l(oe(Ne(e.o),13),20),s_t,0,1,au,!0,!1,!1,!1,!1,!1,!1),Ko(l(oe(Er(e.bb),0),62),e.I,e_t),p=Ko(l(oe(Er(e.bb),1),62),null,"getContainerClass"),t=ip(e.L),r=Jhe(),Tn((!t.d&&(t.d=new yi(Go,t,1)),t.d),r),o=Zd(p,t,null),o&&o.mj(),Ms(e.eb,gv,$At,!0,!1,!0),oi(l(oe(Ne(e.eb),0),38),e.e,"ordered",Ix,0,1,gv,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.eb),1),38),e.e,"unique",Ix,0,1,gv,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.eb),2),38),e.I,"lowerBound",null,0,1,gv,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.eb),3),38),e.I,"upperBound","1",0,1,gv,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.eb),4),38),e.e,"many",null,0,1,gv,!0,!0,!1,!1,!0,!0),oi(l(oe(Ne(e.eb),5),38),e.e,"required",null,0,1,gv,!0,!0,!1,!1,!0,!0),Mr(l(oe(Ne(e.eb),6),20),e.p,null,"eType",0,1,gv,!1,!0,!0,!1,!0,!0,!1),Mr(l(oe(Ne(e.eb),7),20),e.H,null,"eGenericType",0,1,gv,!1,!0,!0,!0,!1,!0,!1),Ms(e.ab,dm,"EStringToStringMapEntry",!1,!1,!1),oi(l(oe(Ne(e.ab),0),38),e._,"key",null,0,1,dm,!1,!1,!0,!1,!0,!1),oi(l(oe(Ne(e.ab),1),38),e._,sI,null,0,1,dm,!1,!1,!0,!1,!0,!1),Ms(e.H,Go,GAt,!1,!1,!0),Mr(l(oe(Ne(e.H),0),20),e.H,null,"eUpperBound",0,1,Go,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.H),1),20),e.H,null,"eTypeArguments",0,-1,Go,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.H),2),20),e.p,null,"eRawType",1,1,Go,!0,!1,!1,!1,!0,!1,!0),Mr(l(oe(Ne(e.H),3),20),e.H,null,"eLowerBound",0,1,Go,!1,!1,!0,!0,!1,!1,!1),Mr(l(oe(Ne(e.H),4),20),e.db,null,"eTypeParameter",0,1,Go,!1,!1,!0,!1,!1,!1,!1),Mr(l(oe(Ne(e.H),5),20),e.p,null,"eClassifier",0,1,Go,!1,!1,!0,!1,!0,!1,!1),p=Ko(l(oe(Er(e.H),0),62),e.e,i_t),os(p,e.M,pD),Ms(e.db,Ka,KAt,!1,!1,!0),Mr(l(oe(Ne(e.db),0),20),e.H,null,"eBounds",0,-1,Ka,!1,!1,!0,!0,!1,!1,!1),nr(e.c,GQ,"EBigDecimal",!0),nr(e.d,zE,"EBigInteger",!0),nr(e.e,uu,"EBoolean",!0),nr(e.f,Yr,"EBooleanObject",!0),nr(e.i,Eu,"EByte",!0),nr(e.g,X(Eu,1),"EByteArray",!0),nr(e.j,ET,"EByteObject",!0),nr(e.k,al,"EChar",!0),nr(e.n,mI,"ECharacterObject",!0),nr(e.r,l$,"EDate",!0),nr(e.s,rCe,"EDiagnosticChain",!1),nr(e.t,Ki,"EDouble",!0),nr(e.u,fi,"EDoubleObject",!0),nr(e.fb,w3e,"EEList",!1),nr(e.A,E3e,"EEnumerator",!1),nr(e.C,G3e,"EFeatureMap",!1),nr(e.D,TU,"EFeatureMapEntry",!1),nr(e.F,Ev,"EFloat",!0),nr(e.G,Ux,"EFloatObject",!0),nr(e.I,Rn,"EInt",!0),nr(e.J,Ti,"EIntegerObject",!0),nr(e.L,HEe,"EJavaClass",!0),nr(e.M,Ii,"EJavaObject",!0),nr(e.N,pw,"ELong",!0),nr(e.O,Y0,"ELongObject",!0),nr(e.P,zEe,"EMap",!1),nr(e.X,B3e,"EResource",!1),nr(e.Y,iCe,"EResourceSet",!1),nr(e.Z,S2,"EShort",!0),nr(e.$,J0,"EShortObject",!0),nr(e._,Je,"EString",!0),nr(e.cb,v3e,"ETreeIterator",!1),nr(e.K,oCe,"EInvocationTargetException",!1),Zge(e,_l))}var pD="object",uT="boolean",ewe="number",WJ="string",KJ="function",sr=2147483647,Fs="java.lang",gD={3:1},bD="com.google.common.base",ja=", ",JEt="%s (%s) must not be negative",Rt={3:1,4:1,5:1},XEt="negative size: ",twe="no calls to next() since the last call to remove()",ZEt="Optional.of(",tu="null",sx={206:1,51:1},mt="com.google.common.collect",ax={206:1,51:1,130:1},tm={231:1,3:1},Wi={51:1},gn="java.util",j0={93:1},Cy={22:1,32:1,18:1},tf=2042,wu={22:1,32:1,18:1,24:1},yp=2048,nwe={93:1,141:1,136:1},QEt={22:1,32:1,18:1,24:1,85:1},rwe={22:1,32:1,18:1,279:1,24:1,85:1},vh={51:1,130:1},YJ={359:1,45:1},e2t="AbstractMapEntry",t2t="expectedValuesPerKey",Pe={3:1,6:1,4:1,5:1},$f=16384,Tc={163:1},nn={42:1},mD={204:1},wD={l:4194303,m:4194303,h:524287},JJ={257:1,3:1,34:1},n2t="range unbounded on this side",Eh={22:1},r2t={22:1,18:1},iwe={3:1,22:1,32:1,18:1},ux={312:1,3:1,22:1,32:1,18:1,16:1,59:1},tF={3:1,4:1,5:1,178:1},cx={3:1,93:1},XJ={22:1,18:1,24:1},cT={3:1,22:1,32:1,18:1,24:1},i2t={22:1,18:1,24:1,85:1},Sh=461845907,Th=-862048943,yD={3:1,6:1,4:1,5:1,178:1},o2t="expectedSize",BC=1073741824,Iy="initialArraySize",Ce={3:1,6:1,4:1,10:1,5:1},lx={22:1,32:1,56:1,18:1,16:1},ZJ="arraySize",Tl=1024,s2t={22:1,32:1,56:1,18:1,16:1,59:1},Mn={48:1},nF={376:1},wg=1e-4,Qi=-2147483648,a2t="__noinit__",vp={3:1,102:1,63:1,81:1},vD="com.google.gwt.core.client.impl",owe="String",swe="com.google.gwt.core.client",QJ="anonymous",eX="fnStack",awe="Unknown",Bf={203:1,3:1,4:1},yg=1e3,Ei=65535,tX="January",nX="February",rX="March",iX="April",lT="May",oX="June",sX="July",aX="August",uX="September",cX="October",lX="November",dX="December",k1=1900,Qn={54:1,3:1,4:1},u2t="Before Christ",c2t="Anno Domini",fX="Sunday",hX="Monday",pX="Tuesday",gX="Wednesday",bX="Thursday",mX="Friday",wX="Saturday",uwe="com.google.gwt.i18n.shared",l2t="DateTimeFormat",yX="com.google.gwt.i18n.client",d2t="DefaultDateTimeFormatInfo",f2t={3:1,4:1,34:1,208:1},dT="com.google.gwt.json.client",Hu=4194303,Ep=1048575,ED=524288,fT=4194304,nm=17592186044416,rF=1e9,SD=-17592186044416,cwe="java.io",iF={3:1,102:1,99:1,63:1,81:1},h2t={3:1,298:1,81:1},F0='For input string: "',Kr=1/0,Li=-1/0,Ry=4096,p2t={3:1,4:1,591:1},Bt="org.eclipse.elk.layered",No=65536,TD=55296,Jo={109:1,3:1,4:1},vX=1e5,g2t=.3010299956639812,$o=4294967295,dx="0.0",EX={45:1},fx="Unable to add element to queue",b2t={3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1},m2t={3:1,22:1,32:1,56:1,18:1,16:1,59:1},w2t={22:1,18:1,16:1},SX={3:1,50:1},AD={191:1},DE={3:1,4:1,93:1},lwe={3:1,4:1,22:1,32:1,18:1,47:1,24:1},TX="delete",UC=14901161193847656e-24,HC=11102230246251565e-32,AX=15525485,_D=5960464477539063e-23,dwe=16777216,oF=16777215,fwe=", length: ",y2t={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1},hwe="subMap: ",v2t=" less than ",_X={3:1,34:1,23:1,310:1},xX="java.util.function",zC="java.util.logging",E2t={3:1,4:1,5:1,848:1},kX="undefined",Bo="java.util.stream",pwe={524:1,684:1},sF="fromIndex: ",S2t=" > toIndex: ",gwe=", toIndex: ",bwe="Index: ",mwe=", Size: ",hx="org.eclipse.elk.alg.common",Un={50:1},T2t="org.eclipse.elk.alg.common.compaction",A2t="Scanline/EventHandler",Ah="org.eclipse.elk.alg.common.compaction.oned",_2t="CNode belongs to another CGroup.",x2t="ISpacingsHandler/1",NX="The ",CX=" instance has been finished already.",k2t="The direction ",N2t=" is not supported by the CGraph instance.",C2t="OneDimensionalCompactor",I2t="OneDimensionalCompactor/lambda$0$Type",R2t="Quadruplet",O2t="ScanlineConstraintCalculator",D2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler",L2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",M2t="ScanlineConstraintCalculator/Timestamp",P2t="ScanlineConstraintCalculator/lambda$0$Type",Uf={181:1,48:1},GC="org.eclipse.elk.alg.common.networksimplex",Ad={172:1,3:1,4:1},j2t="org.eclipse.elk.alg.common.nodespacing",rm="org.eclipse.elk.alg.common.nodespacing.cellsystem",px="CENTER",F2t={219:1,338:1},wwe={3:1,4:1,5:1,599:1},hT="LEFT",pT="RIGHT",ywe="Vertical alignment cannot be null",vwe="BOTTOM",aF="org.eclipse.elk.alg.common.nodespacing.internal",qC="UNDEFINED",nf=.01,xD="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",$2t="LabelPlacer/lambda$0$Type",B2t="LabelPlacer/lambda$1$Type",U2t="portRatioOrPosition",gx="org.eclipse.elk.alg.common.overlaps",IX="DOWN",gT="org.eclipse.elk.alg.common.spore",Oy={3:1,4:1,5:1,200:1},H2t={3:1,6:1,4:1,5:1,91:1,111:1},RX="org.eclipse.elk.alg.force",Ewe="ComponentsProcessor",z2t="ComponentsProcessor/1",Swe="ElkGraphImporter/lambda$0$Type",im={207:1},LE="org.eclipse.elk.core",kD="org.eclipse.elk.graph.properties",G2t="IPropertyHolder",ND="org.eclipse.elk.alg.force.graph",q2t="Component Layout",Twe="org.eclipse.elk.alg.force.model",Ns="org.eclipse.elk.core.data",uF="org.eclipse.elk.force.model",Awe="org.eclipse.elk.force.iterations",_we="org.eclipse.elk.force.repulsivePower",OX="org.eclipse.elk.force.temperature",Hf=.001,DX="org.eclipse.elk.force.repulsion",td={139:1},VC="org.eclipse.elk.alg.force.options",bx=1.600000023841858,Ga="org.eclipse.elk.force",CD="org.eclipse.elk.priority",$0="org.eclipse.elk.spacing.nodeNode",LX="org.eclipse.elk.spacing.edgeLabel",mx="org.eclipse.elk.aspectRatio",cF="org.eclipse.elk.randomSeed",WC="org.eclipse.elk.separateConnectedComponents",B0="org.eclipse.elk.padding",wx="org.eclipse.elk.interactive",lF="org.eclipse.elk.portConstraints",ID="org.eclipse.elk.edgeLabels.inline",yx="org.eclipse.elk.omitNodeMicroLayout",vx="org.eclipse.elk.nodeSize.fixedGraphSize",bT="org.eclipse.elk.nodeSize.options",ME="org.eclipse.elk.nodeSize.constraints",Ex="org.eclipse.elk.nodeLabels.placement",Sx="org.eclipse.elk.portLabels.placement",RD="org.eclipse.elk.topdownLayout",OD="org.eclipse.elk.topdown.scaleFactor",DD="org.eclipse.elk.topdown.hierarchicalNodeWidth",LD="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",U0="org.eclipse.elk.topdown.nodeType",xwe="origin",V2t="random",W2t="boundingBox.upLeft",K2t="boundingBox.lowRight",kwe="org.eclipse.elk.stress.fixed",Nwe="org.eclipse.elk.stress.desiredEdgeLength",Cwe="org.eclipse.elk.stress.dimension",Iwe="org.eclipse.elk.stress.epsilon",Rwe="org.eclipse.elk.stress.iterationLimit",N1="org.eclipse.elk.stress",Y2t="ELK Stress",mT="org.eclipse.elk.nodeSize.minimum",dF="org.eclipse.elk.alg.force.stress",J2t="Layered layout",wT="org.eclipse.elk.alg.layered",MD="org.eclipse.elk.alg.layered.compaction.components",KC="org.eclipse.elk.alg.layered.compaction.oned",fF="org.eclipse.elk.alg.layered.compaction.oned.algs",om="org.eclipse.elk.alg.layered.compaction.recthull",rf="org.eclipse.elk.alg.layered.components",_d="NONE",MX="MODEL_ORDER",ea={3:1,6:1,4:1,10:1,5:1,128:1},X2t={3:1,6:1,4:1,5:1,137:1,91:1,111:1},hF="org.eclipse.elk.alg.layered.compound",kr={43:1},ca="org.eclipse.elk.alg.layered.graph",PX=" -> ",Z2t="Not supported by LGraph",Owe="Port side is undefined",Tx={3:1,6:1,4:1,5:1,324:1,137:1,91:1,111:1},vg={3:1,6:1,4:1,5:1,137:1,201:1,212:1,91:1,111:1},Q2t={3:1,6:1,4:1,5:1,137:1,2021:1,212:1,91:1,111:1},eSt=`([{"' \r
`,tSt=`)]}"' \r
`,nSt="The given string contains parts that cannot be parsed as numbers.",PD="org.eclipse.elk.core.math",rSt={3:1,4:1,125:1,216:1,419:1},iSt={3:1,4:1,100:1,216:1,419:1},Eg="org.eclipse.elk.alg.layered.graph.transform",oSt="ElkGraphImporter",sSt="ElkGraphImporter/lambda$1$Type",aSt="ElkGraphImporter/lambda$2$Type",uSt="ElkGraphImporter/lambda$4$Type",Zt="org.eclipse.elk.alg.layered.intermediate",cSt="Node margin calculation",lSt="ONE_SIDED_GREEDY_SWITCH",dSt="TWO_SIDED_GREEDY_SWITCH",jX="No implementation is available for the layout processor ",FX="IntermediateProcessorStrategy",$X="Node '",fSt="FIRST_SEPARATE",hSt="LAST_SEPARATE",pSt="Odd port side processing",di="org.eclipse.elk.alg.layered.intermediate.compaction",YC="org.eclipse.elk.alg.layered.intermediate.greedyswitch",_h="org.eclipse.elk.alg.layered.p3order.counting",JC={223:1},yT="org.eclipse.elk.alg.layered.intermediate.loops",Ac="org.eclipse.elk.alg.layered.intermediate.loops.ordering",C1="org.eclipse.elk.alg.layered.intermediate.loops.routing",pF="org.eclipse.elk.alg.layered.intermediate.preserveorder",zf="org.eclipse.elk.alg.layered.intermediate.wrapping",$s="org.eclipse.elk.alg.layered.options",BX="INTERACTIVE",Dwe="GREEDY",gSt="DEPTH_FIRST",bSt="EDGE_LENGTH",mSt="SELF_LOOPS",wSt="firstTryWithInitialOrder",Lwe="org.eclipse.elk.layered.directionCongruency",Mwe="org.eclipse.elk.layered.feedbackEdges",gF="org.eclipse.elk.layered.interactiveReferencePoint",Pwe="org.eclipse.elk.layered.mergeEdges",jwe="org.eclipse.elk.layered.mergeHierarchyEdges",Fwe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",$we="org.eclipse.elk.layered.portSortingStrategy",Bwe="org.eclipse.elk.layered.thoroughness",Uwe="org.eclipse.elk.layered.unnecessaryBendpoints",Hwe="org.eclipse.elk.layered.generatePositionAndLayerIds",jD="org.eclipse.elk.layered.cycleBreaking.strategy",FD="org.eclipse.elk.layered.layering.strategy",zwe="org.eclipse.elk.layered.layering.layerConstraint",Gwe="org.eclipse.elk.layered.layering.layerChoiceConstraint",qwe="org.eclipse.elk.layered.layering.layerId",UX="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",HX="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",zX="org.eclipse.elk.layered.layering.nodePromotion.strategy",GX="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",qX="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",XC="org.eclipse.elk.layered.crossingMinimization.strategy",Vwe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",VX="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",WX="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Wwe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Kwe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Ywe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Jwe="org.eclipse.elk.layered.crossingMinimization.positionId",Xwe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",KX="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",bF="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",PE="org.eclipse.elk.layered.nodePlacement.strategy",mF="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",YX="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",JX="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",XX="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",ZX="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",QX="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Zwe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Qwe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",wF="org.eclipse.elk.layered.edgeRouting.splines.mode",yF="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",eZ="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",eye="org.eclipse.elk.layered.spacing.baseValue",tye="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",nye="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",rye="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",iye="org.eclipse.elk.layered.priority.direction",oye="org.eclipse.elk.layered.priority.shortness",sye="org.eclipse.elk.layered.priority.straightness",tZ="org.eclipse.elk.layered.compaction.connectedComponents",aye="org.eclipse.elk.layered.compaction.postCompaction.strategy",uye="org.eclipse.elk.layered.compaction.postCompaction.constraints",vF="org.eclipse.elk.layered.highDegreeNodes.treatment",nZ="org.eclipse.elk.layered.highDegreeNodes.threshold",rZ="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Sp="org.eclipse.elk.layered.wrapping.strategy",EF="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",SF="org.eclipse.elk.layered.wrapping.correctionFactor",ZC="org.eclipse.elk.layered.wrapping.cutting.strategy",iZ="org.eclipse.elk.layered.wrapping.cutting.cuts",oZ="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",TF="org.eclipse.elk.layered.wrapping.validify.strategy",AF="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",_F="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",xF="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",sZ="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",aZ="org.eclipse.elk.layered.layerUnzipping.strategy",uZ="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",cZ="org.eclipse.elk.layered.layerUnzipping.layerSplit",lZ="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",cye="org.eclipse.elk.layered.edgeLabels.sideSelection",lye="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",kF="org.eclipse.elk.layered.considerModelOrder.strategy",dye="org.eclipse.elk.layered.considerModelOrder.portModelOrder",$D="org.eclipse.elk.layered.considerModelOrder.noModelOrder",dZ="org.eclipse.elk.layered.considerModelOrder.components",fye="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",fZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",hZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",pZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",gZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",bZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",hye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",mZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",wZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",pye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",gye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",yZ="layering",ySt="layering.minWidth",vSt="layering.nodePromotion",Ax="crossingMinimization",NF="org.eclipse.elk.hierarchyHandling",ESt="crossingMinimization.greedySwitch",SSt="nodePlacement",TSt="nodePlacement.bk",ASt="edgeRouting",BD="org.eclipse.elk.edgeRouting",of="spacing",bye="priority",mye="compaction",_St="compaction.postCompaction",xSt="Specifies whether and how post-process compaction is applied.",wye="highDegreeNodes",yye="wrapping",kSt="wrapping.cutting",NSt="wrapping.validify",vye="wrapping.multiEdge",vZ="layerUnzipping",EZ="edgeLabels",QC="considerModelOrder",_x="considerModelOrder.groupModelOrder",Eye="Group ID of the Node Type",Sye="org.eclipse.elk.spacing.commentComment",Tye="org.eclipse.elk.spacing.commentNode",Aye="org.eclipse.elk.spacing.componentComponent",_ye="org.eclipse.elk.spacing.edgeEdge",SZ="org.eclipse.elk.spacing.edgeNode",xye="org.eclipse.elk.spacing.labelLabel",kye="org.eclipse.elk.spacing.labelPortHorizontal",Nye="org.eclipse.elk.spacing.labelPortVertical",Cye="org.eclipse.elk.spacing.labelNode",Iye="org.eclipse.elk.spacing.nodeSelfLoop",Rye="org.eclipse.elk.spacing.portPort",Oye="org.eclipse.elk.spacing.individual",Dye="org.eclipse.elk.port.borderOffset",Lye="org.eclipse.elk.noLayout",Mye="org.eclipse.elk.port.side",UD="org.eclipse.elk.debugMode",Pye="org.eclipse.elk.alignment",jye="org.eclipse.elk.insideSelfLoops.activate",Fye="org.eclipse.elk.insideSelfLoops.yo",TZ="org.eclipse.elk.direction",$ye="org.eclipse.elk.nodeLabels.padding",Bye="org.eclipse.elk.portLabels.nextToPortIfPossible",Uye="org.eclipse.elk.portLabels.treatAsGroup",Hye="org.eclipse.elk.portAlignment.default",zye="org.eclipse.elk.portAlignment.north",Gye="org.eclipse.elk.portAlignment.south",qye="org.eclipse.elk.portAlignment.west",Vye="org.eclipse.elk.portAlignment.east",CF="org.eclipse.elk.contentAlignment",Wye="org.eclipse.elk.junctionPoints",Kye="org.eclipse.elk.edge.thickness",Yye="org.eclipse.elk.edgeLabels.placement",Jye="org.eclipse.elk.port.index",Xye="org.eclipse.elk.commentBox",Zye="org.eclipse.elk.hypernode",Qye="org.eclipse.elk.port.anchor",AZ="org.eclipse.elk.partitioning.activate",_Z="org.eclipse.elk.partitioning.partition",IF="org.eclipse.elk.position",xZ="org.eclipse.elk.margins",eve="org.eclipse.elk.spacing.portsSurrounding",RF="org.eclipse.elk.interactiveLayout",Vs="org.eclipse.elk.core.util",tve={3:1,4:1,5:1,597:1},CSt="NETWORK_SIMPLEX",nve="SIMPLE",kZ="No implementation is available for the node placer ",Fi={86:1,43:1},H0="org.eclipse.elk.alg.layered.p1cycles",ISt="Depth-first cycle removal",RSt="Model order cycle breaking",Tp="org.eclipse.elk.alg.layered.p2layers",rve={411:1,223:1},OSt={838:1,3:1,4:1},qa="org.eclipse.elk.alg.layered.p3order",jE=17976931348623157e292,NZ=5e-324,Uo="org.eclipse.elk.alg.layered.p4nodes",DSt={3:1,4:1,5:1,846:1},Gf=1e-5,I1="org.eclipse.elk.alg.layered.p4nodes.bk",CZ="org.eclipse.elk.alg.layered.p5edges",xd="org.eclipse.elk.alg.layered.p5edges.orthogonal",IZ="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",RZ=1e-6,Dy="org.eclipse.elk.alg.layered.p5edges.splines",OZ=.09999999999999998,OF=1e-8,LSt=4.71238898038469,MSt=1.5707963267948966,ive=3.141592653589793,Ap="org.eclipse.elk.alg.mrtree",PSt="Tree layout",jSt="P4_EDGE_ROUTING",DZ=.10000000149011612,DF="SUPER_ROOT",eI="org.eclipse.elk.alg.mrtree.graph",ove=-17976931348623157e292,Aa="org.eclipse.elk.alg.mrtree.intermediate",FSt="Processor compute fanout",LF={3:1,6:1,4:1,5:1,526:1,91:1,111:1},$St="Set neighbors in level",HD="org.eclipse.elk.alg.mrtree.options",BSt="DESCENDANTS",sve="org.eclipse.elk.mrtree.compaction",ave="org.eclipse.elk.mrtree.edgeEndTextureLength",uve="org.eclipse.elk.mrtree.treeLevel",cve="org.eclipse.elk.mrtree.positionConstraint",lve="org.eclipse.elk.mrtree.weighting",dve="org.eclipse.elk.mrtree.edgeRoutingMode",fve="org.eclipse.elk.mrtree.searchOrder",USt="Position Constraint",Va="org.eclipse.elk.mrtree",hve="org.eclipse.elk.tree",HSt="Processor arrange level",xx="org.eclipse.elk.alg.mrtree.p2order",uc="org.eclipse.elk.alg.mrtree.p4route",pve="org.eclipse.elk.alg.radial",zSt="The given graph is not a tree!",sm=6.283185307179586,gve="Before",MF="After",bve="org.eclipse.elk.alg.radial.intermediate",GSt="COMPACTION",LZ="org.eclipse.elk.alg.radial.intermediate.compaction",qSt={3:1,4:1,5:1,91:1},mve="org.eclipse.elk.alg.radial.intermediate.optimization",MZ="No implementation is available for the layout option ",tI="org.eclipse.elk.alg.radial.options",VSt="CompactionStrategy",wve="org.eclipse.elk.radial.centerOnRoot",yve="org.eclipse.elk.radial.orderId",vve="org.eclipse.elk.radial.radius",PF="org.eclipse.elk.radial.rotate",PZ="org.eclipse.elk.radial.compactor",jZ="org.eclipse.elk.radial.compactionStepSize",Eve="org.eclipse.elk.radial.sorter",Sve="org.eclipse.elk.radial.wedgeCriteria",Tve="org.eclipse.elk.radial.optimizationCriteria",FZ="org.eclipse.elk.radial.rotation.targetAngle",$Z="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Ave="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",WSt="Compaction",_ve="rotation",Qc="org.eclipse.elk.radial",KSt="org.eclipse.elk.alg.radial.p1position.wedge",xve="org.eclipse.elk.alg.radial.sorting",YSt=5.497787143782138,JSt=3.9269908169872414,XSt=2.356194490192345,ZSt="org.eclipse.elk.alg.rectpacking",nI="org.eclipse.elk.alg.rectpacking.intermediate",BZ="org.eclipse.elk.alg.rectpacking.options",kve="org.eclipse.elk.rectpacking.trybox",Nve="org.eclipse.elk.rectpacking.currentPosition",Cve="org.eclipse.elk.rectpacking.desiredPosition",Ive="org.eclipse.elk.rectpacking.inNewRow",Rve="org.eclipse.elk.rectpacking.orderBySize",Ove="org.eclipse.elk.rectpacking.widthApproximation.strategy",Dve="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Lve="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Mve="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Pve="org.eclipse.elk.rectpacking.packing.strategy",jve="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Fve="org.eclipse.elk.rectpacking.packing.compaction.iterations",$ve="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",UZ="widthApproximation",QSt="Compaction Strategy",eTt="packing.compaction",ku="org.eclipse.elk.rectpacking",kx="org.eclipse.elk.alg.rectpacking.p1widthapproximation",jF="org.eclipse.elk.alg.rectpacking.p2packing",tTt="No Compaction",Bve="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",zD="org.eclipse.elk.alg.rectpacking.util",FF="No implementation available for ",Ly="org.eclipse.elk.alg.spore",My="org.eclipse.elk.alg.spore.options",z0="org.eclipse.elk.sporeCompaction",HZ="org.eclipse.elk.underlyingLayoutAlgorithm",Uve="org.eclipse.elk.processingOrder.treeConstruction",Hve="org.eclipse.elk.processingOrder.spanningTreeCostFunction",zZ="org.eclipse.elk.processingOrder.preferredRoot",GZ="org.eclipse.elk.processingOrder.rootSelection",qZ="org.eclipse.elk.structure.structureExtractionStrategy",zve="org.eclipse.elk.compaction.compactionStrategy",Gve="org.eclipse.elk.compaction.orthogonal",qve="org.eclipse.elk.overlapRemoval.maxIterations",Vve="org.eclipse.elk.overlapRemoval.runScanline",VZ="processingOrder",nTt="overlapRemoval",Nx="org.eclipse.elk.sporeOverlap",rTt="org.eclipse.elk.alg.spore.p1structure",WZ="org.eclipse.elk.alg.spore.p2processingorder",KZ="org.eclipse.elk.alg.spore.p3execution",Wve="org.eclipse.elk.alg.vertiflex",Kve="org.eclipse.elk.vertiflex.verticalConstraint",Yve="org.eclipse.elk.vertiflex.layoutStrategy",Jve="org.eclipse.elk.vertiflex.layerDistance",Xve="org.eclipse.elk.vertiflex.considerNodeModelOrder",Zve="org.eclipse.elk.alg.vertiflex.options",G0="org.eclipse.elk.vertiflex",iTt="org.eclipse.elk.alg.vertiflex.p1yplacement",YZ="org.eclipse.elk.alg.vertiflex.p2relative",oTt="org.eclipse.elk.alg.vertiflex.p3absolute",sTt="BendEdgeRouter",Qve="org.eclipse.elk.alg.vertiflex.p4edgerouting",aTt="StraightEdgeRouter",uTt="Topdown Layout",cTt="Invalid index: ",Cx="org.eclipse.elk.core.alg",FE={343:1},Py={297:1},lTt="Make sure its type is registered with the ",eEe=" utility class.",Ix="true",JZ="false",dTt="Couldn't clone property '",q0=.05,Fa="org.eclipse.elk.core.options",fTt=1.2999999523162842,V0="org.eclipse.elk.box",tEe="org.eclipse.elk.expandNodes",nEe="org.eclipse.elk.box.packingMode",hTt="org.eclipse.elk.algorithm",pTt="org.eclipse.elk.resolvedAlgorithm",rEe="org.eclipse.elk.bendPoints",D3n="org.eclipse.elk.labelManager",gTt="org.eclipse.elk.softwrappingFuzziness",bTt="org.eclipse.elk.scaleFactor",mTt="org.eclipse.elk.childAreaWidth",wTt="org.eclipse.elk.childAreaHeight",yTt="org.eclipse.elk.animate",vTt="org.eclipse.elk.animTimeFactor",ETt="org.eclipse.elk.layoutAncestors",STt="org.eclipse.elk.maxAnimTime",TTt="org.eclipse.elk.minAnimTime",ATt="org.eclipse.elk.progressBar",_Tt="org.eclipse.elk.validateGraph",xTt="org.eclipse.elk.validateOptions",kTt="org.eclipse.elk.zoomToFit",NTt="org.eclipse.elk.json.shapeCoords",CTt="org.eclipse.elk.json.edgeCoords",L3n="org.eclipse.elk.font.name",ITt="org.eclipse.elk.font.size",XZ="org.eclipse.elk.topdown.sizeCategories",iEe="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",ZZ="org.eclipse.elk.topdown.sizeApproximator",oEe="org.eclipse.elk.topdown.scaleCap",RTt="org.eclipse.elk.edge.type",OTt="partitioning",DTt="nodeLabels",$F="portAlignment",QZ="nodeSize",eQ="port",sEe="portLabels",Rx="topdown",LTt="insideSelfLoops",aEe="INHERIT",Ox="org.eclipse.elk.fixed",BF="org.eclipse.elk.random",UF={3:1,34:1,23:1,525:1,290:1},MTt="port must have a parent node to calculate the port side",PTt="The edge needs to have exactly one edge section. Found: ",rI="org.eclipse.elk.core.util.adapters",el="org.eclipse.emf.ecore",$E="org.eclipse.elk.graph",jTt="EMapPropertyHolder",FTt="ElkBendPoint",$Tt="ElkGraphElement",BTt="ElkConnectableShape",uEe="ElkEdge",UTt="ElkEdgeSection",HTt="EModelElement",zTt="ENamedElement",cEe="ElkLabel",lEe="ElkNode",dEe="ElkPort",GTt={95:1,94:1},vT="org.eclipse.emf.common.notify.impl",R1="The feature '",iI="' is not a valid changeable feature",qTt="Expecting null",tQ="' is not a valid feature",VTt="The feature ID",WTt=" is not a valid feature ID",Ws=32768,KTt={110:1,95:1,94:1,57:1,52:1,101:1},Gt="org.eclipse.emf.ecore.impl",am="org.eclipse.elk.graph.impl",oI="Recursive containment not allowed for ",Dx="The datatype '",W0="' is not a valid classifier",nQ="The value '",BE={198:1,3:1,4:1},rQ="The class '",Lx="http://www.eclipse.org/elk/ElkGraph",fEe="property",sI="value",iQ="source",YTt="properties",JTt="identifier",oQ="height",sQ="width",aQ="parent",uQ="text",cQ="children",XTt="hierarchical",hEe="sources",lQ="targets",dQ="sections",HF="bendPoints",pEe="outgoingShape",gEe="incomingShape",bEe="outgoingSections",mEe="incomingSections",xo="org.eclipse.emf.common.util",wEe="Severe implementation error in the Json to ElkGraph importer.",qf="id",oo="org.eclipse.elk.graph.json",Mx="Unhandled parameter types: ",ZTt="startPoint",QTt="An edge must have at least one source and one target (edge id: '",Px="').",eAt="Referenced edge section does not exist: ",tAt=" (edge id: '",yEe="target",nAt="sourcePoint",rAt="targetPoint",zF="group",or="name",iAt="connectableShape cannot be null",oAt="edge cannot be null",sAt="Passed edge is not 'simple'.",GF="org.eclipse.elk.graph.util",GD="The 'no duplicates' constraint is violated",fQ="targetIndex=",um=", size=",hQ="sourceIndex=",Vf={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},pQ={3:1,4:1,22:1,32:1,56:1,18:1,51:1,16:1,59:1,71:1,67:1,61:1,592:1},qF="logging",aAt="measureExecutionTime",uAt="parser.parse.1",cAt="parser.parse.2",VF="parser.next.1",gQ="parser.next.2",lAt="parser.next.3",dAt="parser.next.4",cm="parser.factor.1",vEe="parser.factor.2",fAt="parser.factor.3",hAt="parser.factor.4",pAt="parser.factor.5",gAt="parser.factor.6",bAt="parser.atom.1",mAt="parser.atom.2",wAt="parser.atom.3",EEe="parser.atom.4",bQ="parser.atom.5",SEe="parser.cc.1",WF="parser.cc.2",yAt="parser.cc.3",vAt="parser.cc.5",TEe="parser.cc.6",AEe="parser.cc.7",mQ="parser.cc.8",EAt="parser.ope.1",SAt="parser.ope.2",TAt="parser.ope.3",Sg="parser.descape.1",AAt="parser.descape.2",_At="parser.descape.3",xAt="parser.descape.4",kAt="parser.descape.5",tl="parser.process.1",NAt="parser.quantifier.1",CAt="parser.quantifier.2",IAt="parser.quantifier.3",RAt="parser.quantifier.4",_Ee="parser.quantifier.5",OAt="org.eclipse.emf.common.notify",xEe={420:1,683:1},DAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1},qD={374:1,152:1},aI="index=",wQ={3:1,4:1,5:1,131:1},LAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,61:1},kEe={3:1,6:1,4:1,5:1,200:1},MAt={3:1,4:1,5:1,178:1,375:1},PAt=";/?:@&=+$,",jAt="invalid authority: ",FAt="EAnnotation",$At="ETypedElement",BAt="EStructuralFeature",UAt="EAttribute",HAt="EClassifier",zAt="EEnumLiteral",GAt="EGenericType",qAt="EOperation",VAt="EParameter",WAt="EReference",KAt="ETypeParameter",Fr="org.eclipse.emf.ecore.util",yQ={78:1},NEe={3:1,22:1,18:1,16:1,61:1,593:1,78:1,72:1,98:1},YAt="org.eclipse.emf.ecore.util.FeatureMap$Entry",yu=8192,uI="byte",KF="char",cI="double",lI="float",dI="int",fI="long",hI="short",JAt="java.lang.Object",UE={3:1,4:1,5:1,258:1},CEe={3:1,4:1,5:1,685:1},XAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},ws={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,72:1,98:1},VD="mixed",Bn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Al="kind",ZAt={3:1,4:1,5:1,686:1},IEe={3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1,78:1,72:1,98:1},YF={22:1,32:1,56:1,18:1,16:1,61:1,72:1},JF={51:1,130:1,289:1},XF={76:1,345:1},ZF="The value of type '",QF="' must be of type '",HE=1318,_l="http://www.eclipse.org/emf/2002/Ecore",e$=-32768,K0="constraints",ho="baseType",QAt="getEStructuralFeature",e_t="getFeatureID",pI="feature",t_t="getOperationID",REe="operation",n_t="defaultValue",r_t="eTypeParameters",i_t="isInstance",o_t="getEEnumLiteral",s_t="eContainingClass",tr={58:1},a_t={3:1,4:1,5:1,123:1},u_t="org.eclipse.emf.ecore.resource",c_t={95:1,94:1,595:1,2013:1},vQ="org.eclipse.emf.ecore.resource.impl",OEe="unspecified",WD="simple",t$="attribute",l_t="attributeWildcard",n$="element",EQ="elementWildcard",kd="collapse",SQ="itemType",r$="namespace",KD="##targetNamespace",xl="whiteSpace",DEe="wildcards",lm="http://www.eclipse.org/emf/2003/XMLType",TQ="##any",jx="uninitialized",YD="The multiplicity constraint is violated",i$="org.eclipse.emf.ecore.xml.type",d_t="ProcessingInstruction",f_t="SimpleAnyType",h_t="XMLTypeDocumentRoot",Si="org.eclipse.emf.ecore.xml.type.impl",JD="INF",p_t="processing",g_t="ENTITIES_._base",LEe="minLength",MEe="ENTITY",o$="NCName",b_t="IDREFS_._base",PEe="integer",AQ="token",_Q="pattern",m_t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",jEe="\\i\\c*",w_t="[\\i-[:]][\\c-[:]]*",y_t="nonPositiveInteger",XD="maxInclusive",FEe="NMTOKEN",v_t="NMTOKENS_._base",$Ee="nonNegativeInteger",ZD="minInclusive",E_t="normalizedString",S_t="unsignedByte",T_t="unsignedInt",A_t="18446744073709551615",__t="unsignedShort",x_t="processingInstruction",Tg="org.eclipse.emf.ecore.xml.type.internal",Fx=1114111,k_t="Internal Error: shorthands: \\u",gI="xml:isDigit",xQ="xml:isWord",kQ="xml:isSpace",NQ="xml:isNameChar",CQ="xml:isInitialNameChar",N_t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",C_t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",I_t="Private Use",IQ="ASSIGNED",RQ="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",BEe="UNASSIGNED",$x={3:1,122:1},R_t="org.eclipse.emf.ecore.xml.type.util",s$={3:1,4:1,5:1,377:1},UEe="org.eclipse.xtext.xbase.lib",O_t="Cannot add elements to a Range",D_t="Cannot set elements in a Range",L_t="Cannot remove elements from a Range",M_t="user.agent",h,a$,OQ;b.goog=b.goog||{},b.goog.global=b.goog.global||b,a$={},_(1,null,{},E),h.Fb=function(t){return Lnt(this,t)},h.Gb=function(){return this.Pm},h.Hb=function(){return s0(this)},h.Ib=function(){var t;return Ab(rc(this))+"@"+(t=Rr(this)>>>0,t.toString(16))},h.equals=function(e){return this.Fb(e)},h.hashCode=function(){return this.Hb()},h.toString=function(){return this.Ib()};var P_t,j_t,F_t;_(299,1,{299:1,2103:1},Lge),h.te=function(t){var r;return r=new Lge,r.i=4,t>1?r.c=dut(this,t-1):r.c=this,r},h.ue=function(){return np(this),this.b},h.ve=function(){return Ab(this)},h.we=function(){return np(this),this.k},h.xe=function(){return(this.i&4)!=0},h.ye=function(){return(this.i&1)!=0},h.Ib=function(){return Gpe(this)},h.i=0;var Ii=k(Fs,"Object",1),HEe=k(Fs,"Class",299);_(2075,1,gD),k(bD,"Optional",2075),_(1172,2075,gD,S),h.Fb=function(t){return t===this},h.Hb=function(){return 2040732332},h.Ib=function(){return"Optional.absent()"},h.Jb=function(t){return kn(t),BN(),DQ};var DQ;k(bD,"Absent",1172),_(634,1,{},hq),k(bD,"Joiner",634);var M3n=Hr(bD,"Predicate");_(584,1,{181:1,584:1,3:1,48:1},fKe),h.Mb=function(t){return ppt(this,t)},h.Lb=function(t){return ppt(this,t)},h.Fb=function(t){var r;return ae(t,584)?(r=l(t,584),Ime(this.a,r.a)):!1},h.Hb=function(){return $ge(this.a)+306654252},h.Ib=function(){return Cyn(this.a)},k(bD,"Predicates/AndPredicate",584),_(416,2075,{416:1,3:1},v9),h.Fb=function(t){var r;return ae(t,416)?(r=l(t,416),pr(this.a,r.a)):!1},h.Hb=function(){return 1502476572+Rr(this.a)},h.Ib=function(){return ZEt+this.a+")"},h.Jb=function(t){return new v9(NP(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},k(bD,"Present",416),_(206,1,sx),h.Nb=function(t){so(this,t)},h.Qb=function(){vQe()},k(mt,"UnmodifiableIterator",206),_(2055,206,ax),h.Qb=function(){vQe()},h.Rb=function(t){throw Y(new Nn)},h.Wb=function(t){throw Y(new Nn)},k(mt,"UnmodifiableListIterator",2055),_(394,2055,ax),h.Ob=function(){return this.b<this.c},h.Sb=function(){return this.b>0},h.Pb=function(){if(this.b>=this.c)throw Y(new vs);return this.Xb(this.b++)},h.Tb=function(){return this.b},h.Ub=function(){if(this.b<=0)throw Y(new vs);return this.Xb(--this.b)},h.Vb=function(){return this.b-1},h.b=0,h.c=0,k(mt,"AbstractIndexedListIterator",394),_(709,206,sx),h.Ob=function(){return wK(this)},h.Pb=function(){return Fpe(this)},h.e=1,k(mt,"AbstractIterator",709),_(2063,1,{231:1}),h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.Fb=function(t){return BK(this,t)},h.Hb=function(){return Rr(this.Zb())},h.dc=function(){return this.gc()==0},h.ec=function(){return kS(this)},h.Ib=function(){return ms(this.Zb())},k(mt,"AbstractMultimap",2063),_(737,2063,tm),h.$b=function(){wj(this)},h._b=function(t){return PQe(this,t)},h.ac=function(){return new HA(this,this.c)},h.ic=function(t){return this.hc()},h.bc=function(){return new sE(this,this.c)},h.jc=function(){return this.mc(this.hc())},h.kc=function(){return new oQe(this)},h.lc=function(){return KY(this.c.vc().Lc(),new C,64,this.d)},h.cc=function(t){return wr(this,t)},h.fc=function(t){return O6(this,t)},h.gc=function(){return this.d},h.mc=function(t){return At(),new CA(t)},h.nc=function(){return new iQe(this)},h.oc=function(){return KY(this.c.Bc().Lc(),new x,64,this.d)},h.pc=function(t,r){return new ej(this,t,r,null)},h.d=0,k(mt,"AbstractMapBasedMultimap",737),_(1678,737,tm),h.hc=function(){return new Da(this.a)},h.jc=function(){return At(),At(),Co},h.cc=function(t){return l(wr(this,t),16)},h.fc=function(t){return l(O6(this,t),16)},h.Zb=function(){return DS(this)},h.Fb=function(t){return BK(this,t)},h.qc=function(t){return l(wr(this,t),16)},h.rc=function(t){return l(O6(this,t),16)},h.mc=function(t){return CP(l(t,16))},h.pc=function(t,r){return Ect(this,t,l(r,16),null)},k(mt,"AbstractListMultimap",1678),_(743,1,Wi),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.c.Ob()||this.e.Ob()},h.Pb=function(){var t;return this.e.Ob()||(t=l(this.c.Pb(),45),this.b=t.jd(),this.a=l(t.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},h.Qb=function(){this.e.Qb(),l(wl(this.a),18).dc()&&this.c.Qb(),--this.d.d},k(mt,"AbstractMapBasedMultimap/Itr",743),_(1110,743,Wi,iQe),h.sc=function(t,r){return r},k(mt,"AbstractMapBasedMultimap/1",1110),_(1111,1,{},x),h.Kb=function(t){return l(t,18).Lc()},k(mt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1111),_(1112,743,Wi,oQe),h.sc=function(t,r){return new t0(t,r)},k(mt,"AbstractMapBasedMultimap/2",1112);var zEe=Hr(gn,"Map");_(2044,1,j0),h.wc=function(t){S6(this,t)},h.$b=function(){this.vc().$b()},h.tc=function(t){return IY(this,t)},h._b=function(t){return!!Nbe(this,t,!1)},h.uc=function(t){var r,o,a;for(o=this.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),a=r.kd(),be(t)===be(a)||t!=null&&pr(t,a))return!0;return!1},h.Fb=function(t){var r,o,a;if(t===this)return!0;if(!ae(t,93)||(a=l(t,93),this.gc()!=a.gc()))return!1;for(o=a.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),!this.tc(r))return!1;return!0},h.xc=function(t){return Ss(Nbe(this,t,!1))},h.Hb=function(){return Rge(this.vc())},h.dc=function(){return this.gc()==0},h.ec=function(){return new Xh(this)},h.yc=function(t,r){throw Y(new Jp("Put not supported on this map"))},h.zc=function(t){X3(this,t)},h.Ac=function(t){return Ss(Nbe(this,t,!0))},h.gc=function(){return this.vc().gc()},h.Ib=function(){return Fbt(this)},h.Bc=function(){return new Zh(this)},k(gn,"AbstractMap",2044),_(2064,2044,j0),h.bc=function(){return new z9(this)},h.vc=function(){return sst(this)},h.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},h.Bc=function(){var t;return t=this.i,t||(this.i=new Let(this))},k(mt,"Maps/ViewCachingAbstractMap",2064),_(398,2064,j0,HA),h.xc=function(t){return yfn(this,t)},h.Ac=function(t){return Ipn(this,t)},h.$b=function(){this.d==this.e.c?this.e.$b():iP(new Ffe(this))},h._b=function(t){return ogt(this.d,t)},h.Dc=function(){return new hKe(this)},h.Cc=function(){return this.Dc()},h.Fb=function(t){return this===t||pr(this.d,t)},h.Hb=function(){return Rr(this.d)},h.ec=function(){return this.e.ec()},h.gc=function(){return this.d.gc()},h.Ib=function(){return ms(this.d)},k(mt,"AbstractMapBasedMultimap/AsMap",398);var nl=Hr(Fs,"Iterable");_(32,1,Cy),h.Ic=function(t){lo(this,t)},h.Lc=function(){return new St(this,0)},h.Mc=function(){return new Et(null,this.Lc())},h.Ec=function(t){throw Y(new Jp("Add not supported on this collection"))},h.Fc=function(t){return mo(this,t)},h.$b=function(){The(this)},h.Gc=function(t){return gy(this,t,!1)},h.Hc=function(t){return N6(this,t)},h.dc=function(){return this.gc()==0},h.Kc=function(t){return gy(this,t,!0)},h.Nc=function(){return Jfe(this)},h.Oc=function(t){return pC(this,t)},h.Ib=function(){return Qd(this)},k(gn,"AbstractCollection",32);var kl=Hr(gn,"Set");_(tf,32,wu),h.Lc=function(){return new St(this,1)},h.Fb=function(t){return Qgt(this,t)},h.Hb=function(){return Rge(this)},k(gn,"AbstractSet",tf),_(2047,tf,wu),k(mt,"Sets/ImprovedAbstractSet",2047),_(yp,2047,wu),h.$b=function(){this.Pc().$b()},h.Gc=function(t){return Lgt(this,t)},h.dc=function(){return this.Pc().dc()},h.Kc=function(t){var r;return this.Gc(t)&&ae(t,45)?(r=l(t,45),this.Pc().ec().Kc(r.jd())):!1},h.gc=function(){return this.Pc().gc()},k(mt,"Maps/EntrySet",yp),_(1108,yp,wu,hKe),h.Gc=function(t){return s1e(this.a.d.vc(),t)},h.Jc=function(){return new Ffe(this.a)},h.Pc=function(){return this.a},h.Kc=function(t){var r;return s1e(this.a.d.vc(),t)?(r=l(wl(l(t,45)),45),adn(this.a.e,r.jd()),!0):!1},h.Lc=function(){return BO(this.a.d.vc().Lc(),new pKe(this.a))},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1108),_(1109,1,{},pKe),h.Kb=function(t){return llt(this.a,l(t,45))},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1109),_(741,1,Wi,Ffe),h.Nb=function(t){so(this,t)},h.Pb=function(){var t;return t=l(this.b.Pb(),45),this.a=l(t.kd(),18),llt(this.c,t)},h.Ob=function(){return this.b.Ob()},h.Qb=function(){XA(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",741),_(534,2047,wu,z9),h.$b=function(){this.b.$b()},h.Gc=function(t){return this.b._b(t)},h.Ic=function(t){kn(t),this.b.wc(new OKe(t))},h.dc=function(){return this.b.dc()},h.Jc=function(){return new UN(this.b.vc().Jc())},h.Kc=function(t){return this.b._b(t)?(this.b.Ac(t),!0):!1},h.gc=function(){return this.b.gc()},k(mt,"Maps/KeySet",534),_(333,534,wu,sE),h.$b=function(){var t;iP((t=this.b.vc().Jc(),new lle(this,t)))},h.Hc=function(t){return this.b.ec().Hc(t)},h.Fb=function(t){return this===t||pr(this.b.ec(),t)},h.Hb=function(){return Rr(this.b.ec())},h.Jc=function(){var t;return t=this.b.vc().Jc(),new lle(this,t)},h.Kc=function(t){var r,o;return o=0,r=l(this.b.Ac(t),18),r&&(o=r.gc(),r.$b(),this.a.d-=o),o>0},h.Lc=function(){return this.b.ec().Lc()},k(mt,"AbstractMapBasedMultimap/KeySet",333),_(742,1,Wi,lle),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.c.Ob()},h.Pb=function(){return this.a=l(this.c.Pb(),45),this.a.jd()},h.Qb=function(){var t;XA(!!this.a),t=l(this.a.kd(),18),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},k(mt,"AbstractMapBasedMultimap/KeySet/1",742),_(492,398,{93:1,136:1},DO),h.bc=function(){return this.Qc()},h.ec=function(){return this.Sc()},h.Qc=function(){return new cO(this.c,this.Uc())},h.Rc=function(){return this.Uc().Rc()},h.Sc=function(){var t;return t=this.b,t||(this.b=this.Qc())},h.Tc=function(){return this.Uc().Tc()},h.Uc=function(){return l(this.d,136)},k(mt,"AbstractMapBasedMultimap/SortedAsMap",492),_(442,492,nwe,E3),h.bc=function(){return new UA(this.a,l(l(this.d,136),141))},h.Qc=function(){return new UA(this.a,l(l(this.d,136),141))},h.ec=function(){var t;return t=this.b,l(t||(this.b=new UA(this.a,l(l(this.d,136),141))),279)},h.Sc=function(){var t;return t=this.b,l(t||(this.b=new UA(this.a,l(l(this.d,136),141))),279)},h.Uc=function(){return l(l(this.d,136),141)},h.Vc=function(t){return l(l(this.d,136),141).Vc(t)},h.Wc=function(t){return l(l(this.d,136),141).Wc(t)},h.Xc=function(t,r){return new E3(this.a,l(l(this.d,136),141).Xc(t,r))},h.Yc=function(t){return l(l(this.d,136),141).Yc(t)},h.Zc=function(t){return l(l(this.d,136),141).Zc(t)},h.$c=function(t,r){return new E3(this.a,l(l(this.d,136),141).$c(t,r))},k(mt,"AbstractMapBasedMultimap/NavigableAsMap",442),_(491,333,QEt,cO),h.Lc=function(){return this.b.ec().Lc()},k(mt,"AbstractMapBasedMultimap/SortedKeySet",491),_(397,491,rwe,UA),k(mt,"AbstractMapBasedMultimap/NavigableKeySet",397),_(543,32,Cy,ej),h.Ec=function(t){var r,o;return $u(this),o=this.d.dc(),r=this.d.Ec(t),r&&(++this.f.d,o&&PO(this)),r},h.Fc=function(t){var r,o,a;return t.dc()?!1:(a=($u(this),this.d.gc()),r=this.d.Fc(t),r&&(o=this.d.gc(),this.f.d+=o-a,a==0&&PO(this)),r)},h.$b=function(){var t;t=($u(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,dP(this))},h.Gc=function(t){return $u(this),this.d.Gc(t)},h.Hc=function(t){return $u(this),this.d.Hc(t)},h.Fb=function(t){return t===this?!0:($u(this),pr(this.d,t))},h.Hb=function(){return $u(this),Rr(this.d)},h.Jc=function(){return $u(this),new _fe(this)},h.Kc=function(t){var r;return $u(this),r=this.d.Kc(t),r&&(--this.f.d,dP(this)),r},h.gc=function(){return Ent(this)},h.Lc=function(){return $u(this),this.d.Lc()},h.Ib=function(){return $u(this),ms(this.d)},k(mt,"AbstractMapBasedMultimap/WrappedCollection",543);var _c=Hr(gn,"List");_(739,543,{22:1,32:1,18:1,16:1},Xfe),h.gd=function(t){zb(this,t)},h.Lc=function(){return $u(this),this.d.Lc()},h._c=function(t,r){var o;$u(this),o=this.d.dc(),l(this.d,16)._c(t,r),++this.a.d,o&&PO(this)},h.ad=function(t,r){var o,a,u;return r.dc()?!1:(u=($u(this),this.d.gc()),o=l(this.d,16).ad(t,r),o&&(a=this.d.gc(),this.a.d+=a-u,u==0&&PO(this)),o)},h.Xb=function(t){return $u(this),l(this.d,16).Xb(t)},h.bd=function(t){return $u(this),l(this.d,16).bd(t)},h.cd=function(){return $u(this),new Znt(this)},h.dd=function(t){return $u(this),new Sat(this,t)},h.ed=function(t){var r;return $u(this),r=l(this.d,16).ed(t),--this.a.d,dP(this),r},h.fd=function(t,r){return $u(this),l(this.d,16).fd(t,r)},h.hd=function(t,r){return $u(this),Ect(this.a,this.e,l(this.d,16).hd(t,r),this.b?this.b:this)},k(mt,"AbstractMapBasedMultimap/WrappedList",739),_(1107,739,{22:1,32:1,18:1,16:1,59:1},$rt),k(mt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1107),_(626,1,Wi,_fe),h.Nb=function(t){so(this,t)},h.Ob=function(){return c_(this),this.b.Ob()},h.Pb=function(){return c_(this),this.b.Pb()},h.Qb=function(){Trt(this)},k(mt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",626),_(740,626,vh,Znt,Sat),h.Qb=function(){Trt(this)},h.Rb=function(t){var r;r=Ent(this.a)==0,(c_(this),l(this.b,130)).Rb(t),++this.a.a.d,r&&PO(this.a)},h.Sb=function(){return(c_(this),l(this.b,130)).Sb()},h.Tb=function(){return(c_(this),l(this.b,130)).Tb()},h.Ub=function(){return(c_(this),l(this.b,130)).Ub()},h.Vb=function(){return(c_(this),l(this.b,130)).Vb()},h.Wb=function(t){(c_(this),l(this.b,130)).Wb(t)},k(mt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",740),_(738,543,QEt,Ude),h.Lc=function(){return $u(this),this.d.Lc()},k(mt,"AbstractMapBasedMultimap/WrappedSortedSet",738),_(1106,738,rwe,Gnt),k(mt,"AbstractMapBasedMultimap/WrappedNavigableSet",1106),_(1105,543,wu,ait),h.Lc=function(){return $u(this),this.d.Lc()},k(mt,"AbstractMapBasedMultimap/WrappedSet",1105),_(1114,1,{},C),h.Kb=function(t){return fdn(l(t,45))},k(mt,"AbstractMapBasedMultimap/lambda$1$Type",1114),_(1113,1,{},gKe),h.Kb=function(t){return new t0(this.a,t)},k(mt,"AbstractMapBasedMultimap/lambda$2$Type",1113);var dm=Hr(gn,"Map/Entry");_(359,1,YJ),h.Fb=function(t){var r;return ae(t,45)?(r=l(t,45),rp(this.jd(),r.jd())&&rp(this.kd(),r.kd())):!1},h.Hb=function(){var t,r;return t=this.jd(),r=this.kd(),(t==null?0:Rr(t))^(r==null?0:Rr(r))},h.ld=function(t){throw Y(new Nn)},h.Ib=function(){return this.jd()+"="+this.kd()},k(mt,e2t,359),_(2065,32,Cy),h.$b=function(){this.md().$b()},h.Gc=function(t){var r;return ae(t,45)?(r=l(t,45),Lcn(this.md(),r.jd(),r.kd())):!1},h.Kc=function(t){var r;return ae(t,45)?(r=l(t,45),nct(this.md(),r.jd(),r.kd())):!1},h.gc=function(){return this.md().d},k(mt,"Multimaps/Entries",2065),_(744,2065,Cy,Yue),h.Jc=function(){return this.a.kc()},h.md=function(){return this.a},h.Lc=function(){return this.a.lc()},k(mt,"AbstractMultimap/Entries",744),_(745,744,wu,Gce),h.Lc=function(){return this.a.lc()},h.Fb=function(t){return Kbe(this,t)},h.Hb=function(){return hht(this)},k(mt,"AbstractMultimap/EntrySet",745),_(746,32,Cy,Jue),h.$b=function(){this.a.$b()},h.Gc=function(t){return xpn(this.a,t)},h.Jc=function(){return this.a.nc()},h.gc=function(){return this.a.d},h.Lc=function(){return this.a.oc()},k(mt,"AbstractMultimap/Values",746),_(2066,32,{841:1,22:1,32:1,18:1}),h.Ic=function(t){kn(t),uE(this).Ic(new BKe(t))},h.Lc=function(){var t;return t=uE(this).Lc(),KY(t,new G,64|t.wd()&1296,this.a.d)},h.Ec=function(t){return Jce(),!0},h.Fc=function(t){return kn(this),kn(t),ae(t,544)?jcn(l(t,841)):!t.dc()&&cK(this,t.Jc())},h.Gc=function(t){var r;return r=l(py(DS(this.a),t),18),(r?r.gc():0)>0},h.Fb=function(t){return kEn(this,t)},h.Hb=function(){return Rr(uE(this))},h.dc=function(){return uE(this).dc()},h.Kc=function(t){return i0t(this,t,1)>0},h.Ib=function(){return ms(uE(this))},k(mt,"AbstractMultiset",2066),_(2068,2047,wu),h.$b=function(){wj(this.a.a)},h.Gc=function(t){var r,o;return ae(t,493)?(o=l(t,421),l(o.a.kd(),18).gc()<=0?!1:(r=Aut(this.a,o.a.jd()),r==l(o.a.kd(),18).gc())):!1},h.Kc=function(t){var r,o,a,u;return ae(t,493)&&(o=l(t,421),r=o.a.jd(),a=l(o.a.kd(),18).gc(),a!=0)?(u=this.a,Tvn(u,r,a)):!1},k(mt,"Multisets/EntrySet",2068),_(1120,2068,wu,bKe),h.Jc=function(){return new lQe(sst(DS(this.a.a)).Jc())},h.gc=function(){return DS(this.a.a).gc()},k(mt,"AbstractMultiset/EntrySet",1120),_(625,737,tm),h.hc=function(){return this.nd()},h.jc=function(){return this.od()},h.cc=function(t){return this.pd(t)},h.fc=function(t){return this.qd(t)},h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.od=function(){return At(),At(),h$},h.Fb=function(t){return BK(this,t)},h.pd=function(t){return l(wr(this,t),24)},h.qd=function(t){return l(O6(this,t),24)},h.mc=function(t){return At(),new PA(l(t,24))},h.pc=function(t,r){return new ait(this,t,l(r,24))},k(mt,"AbstractSetMultimap",625),_(1706,625,tm),h.hc=function(){return new Qp(this.b)},h.nd=function(){return new Qp(this.b)},h.jc=function(){return che(new Qp(this.b))},h.od=function(){return che(new Qp(this.b))},h.cc=function(t){return l(l(wr(this,t),24),85)},h.pd=function(t){return l(l(wr(this,t),24),85)},h.fc=function(t){return l(l(O6(this,t),24),85)},h.qd=function(t){return l(l(O6(this,t),24),85)},h.mc=function(t){return ae(t,279)?che(l(t,279)):(At(),new Cde(l(t,85)))},h.Zb=function(){var t;return t=this.f,t||(this.f=ae(this.c,141)?new E3(this,l(this.c,141)):ae(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c))},h.pc=function(t,r){return ae(r,279)?new Gnt(this,t,l(r,279)):new Ude(this,t,l(r,85))},k(mt,"AbstractSortedSetMultimap",1706),_(1707,1706,tm),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=ae(this.c,141)?new E3(this,l(this.c,141)):ae(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c)),136),141)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=ae(this.c,141)?new UA(this,l(this.c,141)):ae(this.c,136)?new cO(this,l(this.c,136)):new sE(this,this.c)),85),279)},h.bc=function(){return ae(this.c,141)?new UA(this,l(this.c,141)):ae(this.c,136)?new cO(this,l(this.c,136)):new sE(this,this.c)},k(mt,"AbstractSortedKeySortedSetMultimap",1707),_(2088,1,{2025:1}),h.Fb=function(t){return p0n(this,t)},h.Hb=function(){var t;return Rge((t=this.g,t||(this.g=new PG(this))))},h.Ib=function(){var t;return Fbt((t=this.f,t||(this.f=new vde(this))))},k(mt,"AbstractTable",2088),_(676,tf,wu,PG),h.$b=function(){EQe()},h.Gc=function(t){var r,o;return ae(t,471)?(r=l(t,694),o=l(py(Dst(this.a),i1(r.c.e,r.b)),93),!!o&&s1e(o.vc(),new t0(i1(r.c.c,r.a),$S(r.c,r.b,r.a)))):!1},h.Jc=function(){return Fan(this.a)},h.Kc=function(t){var r,o;return ae(t,471)?(r=l(t,694),o=l(py(Dst(this.a),i1(r.c.e,r.b)),93),!!o&&cgn(o.vc(),new t0(i1(r.c.c,r.a),$S(r.c,r.b,r.a)))):!1},h.gc=function(){return Mot(this.a)},h.Lc=function(){return Ucn(this.a)},k(mt,"AbstractTable/CellSet",676),_(2004,32,Cy,mKe),h.$b=function(){EQe()},h.Gc=function(t){return iwn(this.a,t)},h.Jc=function(){return $an(this.a)},h.gc=function(){return Mot(this.a)},h.Lc=function(){return Xut(this.a)},k(mt,"AbstractTable/Values",2004),_(1679,1678,tm),k(mt,"ArrayListMultimapGwtSerializationDependencies",1679),_(510,1679,tm,fq,zhe),h.hc=function(){return new Da(this.a)},h.a=0,k(mt,"ArrayListMultimap",510),_(675,2088,{675:1,2025:1,3:1},r0t),k(mt,"ArrayTable",675),_(2e3,394,ax,vrt),h.Xb=function(t){return new Nge(this.a,t)},k(mt,"ArrayTable/1",2e3),_(2001,1,{},wKe),h.rd=function(t){return new Nge(this.a,t)},k(mt,"ArrayTable/1methodref$getCell$Type",2001),_(2089,1,{694:1}),h.Fb=function(t){var r;return t===this?!0:ae(t,471)?(r=l(t,694),rp(i1(this.c.e,this.b),i1(r.c.e,r.b))&&rp(i1(this.c.c,this.a),i1(r.c.c,r.a))&&rp($S(this.c,this.b,this.a),$S(r.c,r.b,r.a))):!1},h.Hb=function(){return Fj(Z(X(Ii,1),Rt,1,5,[i1(this.c.e,this.b),i1(this.c.c,this.a),$S(this.c,this.b,this.a)]))},h.Ib=function(){return"("+i1(this.c.e,this.b)+","+i1(this.c.c,this.a)+")="+$S(this.c,this.b,this.a)},k(mt,"Tables/AbstractCell",2089),_(471,2089,{471:1,694:1},Nge),h.a=0,h.b=0,h.d=0,k(mt,"ArrayTable/2",471),_(2003,1,{},yKe),h.rd=function(t){return pdt(this.a,t)},k(mt,"ArrayTable/2methodref$getValue$Type",2003),_(2002,394,ax,Ert),h.Xb=function(t){return pdt(this.a,t)},k(mt,"ArrayTable/3",2002),_(2056,2044,j0),h.$b=function(){iP(this.kc())},h.vc=function(){return new MKe(this)},h.lc=function(){return new hat(this.kc(),this.gc())},k(mt,"Maps/IteratorBasedAbstractMap",2056),_(834,2056,j0),h.$b=function(){throw Y(new Nn)},h._b=function(t){return jQe(this.c,t)},h.kc=function(){return new Srt(this,this.c.b.c.gc())},h.lc=function(){return BV(this.c.b.c.gc(),16,new vKe(this))},h.xc=function(t){var r;return r=l(S3(this.c,t),15),r?this.td(r.a):null},h.dc=function(){return this.c.b.c.dc()},h.ec=function(){return YV(this.c)},h.yc=function(t,r){var o;if(o=l(S3(this.c,t),15),!o)throw Y(new jt(this.sd()+" "+t+" not in "+YV(this.c)));return this.ud(o.a,r)},h.Ac=function(t){throw Y(new Nn)},h.gc=function(){return this.c.b.c.gc()},k(mt,"ArrayTable/ArrayMap",834),_(1999,1,{},vKe),h.rd=function(t){return Lst(this.a,t)},k(mt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1999),_(1997,359,YJ,get),h.jd=function(){return enn(this.a,this.b)},h.kd=function(){return this.a.td(this.b)},h.ld=function(t){return this.a.ud(this.b,t)},h.b=0,k(mt,"ArrayTable/ArrayMap/1",1997),_(1998,394,ax,Srt),h.Xb=function(t){return Lst(this.a,t)},k(mt,"ArrayTable/ArrayMap/2",1998),_(1996,834,j0,Tst),h.sd=function(){return"Column"},h.td=function(t){return $S(this.b,this.a,t)},h.ud=function(t,r){return Zht(this.b,this.a,t,r)},h.a=0,k(mt,"ArrayTable/Row",1996),_(835,834,j0,vde),h.td=function(t){return new Tst(this.a,t)},h.yc=function(t,r){return l(r,93),TQt()},h.ud=function(t,r){return l(r,93),AQt()},h.sd=function(){return"Row"},k(mt,"ArrayTable/RowMap",835),_(1138,1,Tc,bet),h.yd=function(t){return(this.a.wd()&-262&t)!=0},h.wd=function(){return this.a.wd()&-262},h.xd=function(){return this.a.xd()},h.Nb=function(t){this.a.Nb(new wet(t,this.b))},h.zd=function(t){return this.a.zd(new met(t,this.b))},k(mt,"CollectSpliterators/1",1138),_(1139,1,nn,met),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},k(mt,"CollectSpliterators/1/lambda$0$Type",1139),_(1140,1,nn,wet),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},k(mt,"CollectSpliterators/1/lambda$1$Type",1140),_(1135,1,Tc,zit),h.yd=function(t){return((16464|this.b)&t)!=0},h.wd=function(){return 16464|this.b},h.xd=function(){return this.a.xd()},h.Nb=function(t){this.a.Oe(new vet(t,this.c))},h.zd=function(t){return this.a.Pe(new yet(t,this.c))},h.b=0,k(mt,"CollectSpliterators/1WithCharacteristics",1135),_(1136,1,mD,yet),h.Bd=function(t){this.a.Ad(this.b.rd(t))},k(mt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1136),_(1137,1,mD,vet),h.Bd=function(t){this.a.Ad(this.b.rd(t))},k(mt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1137),_(1131,1,Tc),h.yd=function(t){return(this.a&t)!=0},h.wd=function(){return this.a},h.xd=function(){return this.e&&(this.b=lde(this.b,this.e.xd())),lde(this.b,0)},h.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new Eet(this,t)),this.b=0},h.zd=function(t){for(;;){if(this.e&&this.e.zd(t))return f3(this.b,wD)&&(this.b=El(this.b,1)),!0;if(this.e=null,!this.c.zd(new kKe(this)))return!1}},h.a=0,h.b=0,k(mt,"CollectSpliterators/FlatMapSpliterator",1131),_(1133,1,nn,kKe),h.Ad=function(t){Vnn(this.a,t)},k(mt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1133),_(1134,1,nn,Eet),h.Ad=function(t){man(this.a,this.b,t)},k(mt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1134),_(1132,1131,Tc,Sct),k(mt,"CollectSpliterators/FlatMapSpliteratorOfObject",1132),_(257,1,JJ),h.Dd=function(t){return this.Cd(l(t,257))},h.Cd=function(t){var r;return t==(oq(),MQ)?1:t==(iq(),LQ)?-1:(r=(tP(),E6(this.a,t.a)),r!=0?r:(Lt(),ae(this,517)==ae(t,517)?0:ae(this,517)?1:-1))},h.Gd=function(){return this.a},h.Fb=function(t){return ebe(this,t)},k(mt,"Cut",257),_(1810,257,JJ,rQe),h.Cd=function(t){return t==this?0:1},h.Ed=function(t){throw Y(new kce)},h.Fd=function(t){t.a+="+∞)"},h.Gd=function(){throw Y(new es(n2t))},h.Hb=function(){return eg(),U1e(this)},h.Hd=function(t){return!1},h.Ib=function(){return"+∞"};var LQ;k(mt,"Cut/AboveAll",1810),_(517,257,{257:1,517:1,3:1,34:1},xrt),h.Ed=function(t){ba((t.a+="(",t),this.a)},h.Fd=function(t){Db(ba(t,this.a),93)},h.Hb=function(){return~Rr(this.a)},h.Hd=function(t){return tP(),E6(this.a,t)<0},h.Ib=function(){return"/"+this.a+"\\"},k(mt,"Cut/AboveValue",517),_(1809,257,JJ,nQe),h.Cd=function(t){return t==this?0:-1},h.Ed=function(t){t.a+="(-∞"},h.Fd=function(t){throw Y(new kce)},h.Gd=function(){throw Y(new es(n2t))},h.Hb=function(){return eg(),U1e(this)},h.Hd=function(t){return!0},h.Ib=function(){return"-∞"};var MQ;k(mt,"Cut/BelowAll",1809),_(1811,257,JJ,krt),h.Ed=function(t){ba((t.a+="[",t),this.a)},h.Fd=function(t){Db(ba(t,this.a),41)},h.Hb=function(){return Rr(this.a)},h.Hd=function(t){return tP(),E6(this.a,t)<=0},h.Ib=function(){return"\\"+this.a+"/"},k(mt,"Cut/BelowValue",1811),_(539,1,Eh),h.Ic=function(t){lo(this,t)},h.Ib=function(){return kgn(l(NP(this,"use Optional.orNull() instead of Optional.or(null)"),22).Jc())},k(mt,"FluentIterable",539),_(438,539,Eh,g3),h.Jc=function(){return new $t(qt(this.a.Jc(),new D))},k(mt,"FluentIterable/2",438),_(36,1,{},D),h.Kb=function(t){return l(t,22).Jc()},h.Fb=function(t){return this===t},k(mt,"FluentIterable/2/0methodref$iterator$Type",36),_(1051,539,Eh,Ont),h.Jc=function(){return hh(this)},k(mt,"FluentIterable/3",1051),_(721,394,ax,Ade),h.Xb=function(t){return this.a[t].Jc()},k(mt,"FluentIterable/3/1",721),_(2049,1,{}),h.Ib=function(){return ms(this.Id().b)},k(mt,"ForwardingObject",2049),_(2050,2049,r2t),h.Id=function(){return this.Jd()},h.Ic=function(t){lo(this,t)},h.Lc=function(){return new St(this,0)},h.Mc=function(){return new Et(null,this.Lc())},h.Ec=function(t){return this.Jd(),HQe()},h.Fc=function(t){return this.Jd(),zQe()},h.$b=function(){this.Jd(),GQe()},h.Gc=function(t){return this.Jd().Gc(t)},h.Hc=function(t){return this.Jd().Hc(t)},h.dc=function(){return this.Jd().b.dc()},h.Jc=function(){return this.Jd().Jc()},h.Kc=function(t){return this.Jd(),qQe()},h.gc=function(){return this.Jd().b.gc()},h.Nc=function(){return this.Jd().Nc()},h.Oc=function(t){return this.Jd().Oc(t)},k(mt,"ForwardingCollection",2050),_(2057,32,iwe),h.Jc=function(){return this.Md()},h.Ec=function(t){throw Y(new Nn)},h.Fc=function(t){throw Y(new Nn)},h.Kd=function(){var t;return t=this.c,t||(this.c=this.Ld())},h.$b=function(){throw Y(new Nn)},h.Gc=function(t){return t!=null&&gy(this,t,!1)},h.Ld=function(){switch(this.gc()){case 0:return oP(),FQ;case 1:return new AV(kn(this.Md().Pb()));default:return new Afe(this,this.Nc())}},h.Kc=function(t){throw Y(new Nn)},k(mt,"ImmutableCollection",2057),_(1271,2057,iwe,NKe),h.Jc=function(){return BS(new Gv(this.a.b.Jc()))},h.Gc=function(t){return t!=null&&VN(this.a,t)},h.Hc=function(t){return fle(this.a,t)},h.dc=function(){return this.a.b.dc()},h.Md=function(){return BS(new Gv(this.a.b.Jc()))},h.gc=function(){return this.a.b.gc()},h.Nc=function(){return this.a.b.Nc()},h.Oc=function(t){return hle(this.a,t)},h.Ib=function(){return ms(this.a.b)},k(mt,"ForwardingImmutableCollection",1271),_(312,2057,ux),h.Jc=function(){return this.Md()},h.cd=function(){return this.Nd(0)},h.dd=function(t){return this.Nd(t)},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.hd=function(t,r){return this.Od(t,r)},h._c=function(t,r){throw Y(new Nn)},h.ad=function(t,r){throw Y(new Nn)},h.Kd=function(){return this},h.Fb=function(t){return mEn(this,t)},h.Hb=function(){return Mhn(this)},h.bd=function(t){return t==null?-1:Vbn(this,t)},h.Md=function(){return this.Nd(0)},h.Nd=function(t){return wV(this,t)},h.ed=function(t){throw Y(new Nn)},h.fd=function(t,r){throw Y(new Nn)},h.Od=function(t,r){var o;return qj((o=new Det(this),new Rf(o,t,r)))},k(mt,"ImmutableList",312),_(2084,312,ux),h.Jc=function(){return BS(this.Pd().Jc())},h.hd=function(t,r){return qj(this.Pd().hd(t,r))},h.Gc=function(t){return t!=null&&this.Pd().Gc(t)},h.Hc=function(t){return this.Pd().Hc(t)},h.Fb=function(t){return pr(this.Pd(),t)},h.Xb=function(t){return i1(this,t)},h.Hb=function(){return Rr(this.Pd())},h.bd=function(t){return this.Pd().bd(t)},h.dc=function(){return this.Pd().dc()},h.Md=function(){return BS(this.Pd().Jc())},h.gc=function(){return this.Pd().gc()},h.Od=function(t,r){return qj(this.Pd().hd(t,r))},h.Nc=function(){return this.Pd().Oc(we(Ii,Rt,1,this.Pd().gc(),5,1))},h.Oc=function(t){return this.Pd().Oc(t)},h.Ib=function(){return ms(this.Pd())},k(mt,"ForwardingImmutableList",2084),_(724,1,cx),h.vc=function(){return Cb(this)},h.wc=function(t){S6(this,t)},h.ec=function(){return YV(this)},h.Bc=function(){return this.Td()},h.$b=function(){throw Y(new Nn)},h._b=function(t){return this.xc(t)!=null},h.uc=function(t){return this.Td().Gc(t)},h.Rd=function(){return new TKe(this)},h.Sd=function(){return new AKe(this)},h.Fb=function(t){return kpn(this,t)},h.Hb=function(){return Cb(this).Hb()},h.dc=function(){return this.gc()==0},h.yc=function(t,r){return _Qt()},h.Ac=function(t){throw Y(new Nn)},h.Ib=function(){return Zwn(this)},h.Td=function(){return this.e?this.e:this.e=this.Sd()},h.c=null,h.d=null,h.e=null,k(mt,"ImmutableMap",724),_(725,724,cx),h._b=function(t){return jQe(this,t)},h.uc=function(t){return jet(this.b,t)},h.Qd=function(){return Ppt(new xKe(this))},h.Rd=function(){return Ppt(nat(this.b))},h.Sd=function(){return new NKe(tat(this.b))},h.Fb=function(t){return Fet(this.b,t)},h.xc=function(t){return S3(this,t)},h.Hb=function(){return Rr(this.b.c)},h.dc=function(){return this.b.c.dc()},h.gc=function(){return this.b.c.gc()},h.Ib=function(){return ms(this.b.c)},k(mt,"ForwardingImmutableMap",725),_(2051,2050,XJ),h.Id=function(){return this.Ud()},h.Jd=function(){return this.Ud()},h.Lc=function(){return new St(this,1)},h.Fb=function(t){return t===this||this.Ud().Fb(t)},h.Hb=function(){return this.Ud().Hb()},k(mt,"ForwardingSet",2051),_(1066,2051,XJ,xKe),h.Id=function(){return s_(this.a.b)},h.Jd=function(){return s_(this.a.b)},h.Gc=function(t){if(ae(t,45)&&l(t,45).jd()==null)return!1;try{return Pet(s_(this.a.b),t)}catch(r){if(r=ci(r),ae(r,214))return!1;throw Y(r)}},h.Ud=function(){return s_(this.a.b)},h.Oc=function(t){var r,o;return r=zat(s_(this.a.b),t),s_(this.a.b).b.gc()<r.length&&(o=r,ii(o,s_(this.a.b).b.gc(),null)),r},k(mt,"ForwardingImmutableMap/1",1066),_(2058,2057,cT),h.Jc=function(){return this.Md()},h.Lc=function(){return new St(this,1)},h.Fb=function(t){return Kbe(this,t)},h.Hb=function(){return hht(this)},k(mt,"ImmutableSet",2058),_(716,2058,cT),h.Jc=function(){return BS(new Gv(this.a.b.Jc()))},h.Gc=function(t){return t!=null&&VN(this.a,t)},h.Hc=function(t){return fle(this.a,t)},h.Hb=function(){return Rr(this.a.b)},h.dc=function(){return this.a.b.dc()},h.Md=function(){return BS(new Gv(this.a.b.Jc()))},h.gc=function(){return this.a.b.gc()},h.Nc=function(){return this.a.b.Nc()},h.Oc=function(t){return hle(this.a,t)},h.Ib=function(){return ms(this.a.b)},k(mt,"ForwardingImmutableSet",716),_(2052,2051,i2t),h.Id=function(){return this.b},h.Jd=function(){return this.b},h.Ud=function(){return this.b},h.Lc=function(){return new r8(this)},k(mt,"ForwardingSortedSet",2052),_(535,2056,cx,l7),h.zc=function(t){X3(this,t)},h.Bc=function(){var t;return t=this.d,new fV(t||(this.d=new BG(this)))},h.$b=function(){n6(this)},h._b=function(t){return!!Y3(this,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))))},h.uc=function(t){return Eft(this,t)},h.kc=function(){return new Rrt(this,this)},h.wc=function(t){rut(this,t)},h.xc=function(t){return pE(this,t)},h.ec=function(){return new hV(this)},h.yc=function(t,r){return H7(this,t,r)},h.Ac=function(t){var r;return r=Y3(this,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15)))),r?(kE(this,r),r.e=null,r.c=null,r.i):null},h.gc=function(){return this.i},h.vd=function(){var t;return t=this.d,new fV(t||(this.d=new BG(this)))},h.f=0,h.g=0,h.i=0,k(mt,"HashBiMap",535),_(536,1,Wi),h.Nb=function(t){so(this,t)},h.Ob=function(){return Act(this)},h.Pb=function(){var t;if(!Act(this))throw Y(new vs);return t=l(wl(this.c),309),this.c=t.c,this.f=t,--this.d,this.Vd(t)},h.Qb=function(){if(this.e.g!=this.b)throw Y(new $c);if(!this.f)throw Y(new es(twe));kE(this.e,this.f),this.b=this.e.g,this.f=null},h.b=0,h.d=0,h.f=null,k(mt,"HashBiMap/Itr",536),_(1016,536,Wi,Rrt),h.Vd=function(t){return new Tet(this,t)},k(mt,"HashBiMap/1",1016),_(1017,359,YJ,Tet),h.jd=function(){return this.a.g},h.kd=function(){return this.a.i},h.ld=function(t){var r,o,a;return o=this.a.i,a=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),a==this.a.f&&(be(t)===be(o)||t!=null&&pr(t,o))?t:(Qht(!J3(this.b.a,t,a),t),kE(this.b.a,this.a),r=new TP(this.a.g,this.a.a,t,a),Z6(this.b.a,r,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=r),this.a=r,o)},k(mt,"HashBiMap/1/MapEntry",1017),_(247,359,{359:1,247:1,3:1,45:1},t0),h.jd=function(){return this.g},h.kd=function(){return this.i},h.ld=function(t){throw Y(new Nn)},k(mt,"ImmutableEntry",247),_(309,247,{359:1,309:1,247:1,3:1,45:1},TP),h.a=0,h.f=0;var PQ=k(mt,"HashBiMap/BiEntry",309);_(616,2056,cx,BG),h.zc=function(t){X3(this,t)},h.Bc=function(){return new hV(this.a)},h.$b=function(){n6(this.a)},h._b=function(t){return Eft(this.a,t)},h.kc=function(){return new Ort(this,this.a)},h.wc=function(t){kn(t),rut(this.a,new CKe(t))},h.xc=function(t){return vj(this,t)},h.ec=function(){return new fV(this)},h.yc=function(t,r){return AAn(this.a,t,r)},h.Ac=function(t){var r;return r=J3(this.a,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15)))),r?(kE(this.a,r),r.e=null,r.c=null,r.g):null},h.gc=function(){return this.a.i},h.vd=function(){return new hV(this.a)},k(mt,"HashBiMap/Inverse",616),_(1013,536,Wi,Ort),h.Vd=function(t){return new Aet(this,t)},k(mt,"HashBiMap/Inverse/1",1013),_(1014,359,YJ,Aet),h.jd=function(){return this.a.i},h.kd=function(){return this.a.g},h.ld=function(t){var r,o,a;return a=this.a.g,r=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),r==this.a.a&&(be(t)===be(a)||t!=null&&pr(t,a))?t:(Qht(!Y3(this.b.a.a,t,r),t),kE(this.b.a.a,this.a),o=new TP(t,r,this.a.i,this.a.f),this.a=o,Z6(this.b.a.a,o,null),this.b.b=this.b.a.a.g,a)},k(mt,"HashBiMap/Inverse/1/InverseEntry",1014),_(617,534,wu,fV),h.Jc=function(){return new sQe(this.a.a)},h.Kc=function(t){var r;return r=J3(this.a.a,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15)))),r?(kE(this.a.a,r),!0):!1},k(mt,"HashBiMap/Inverse/InverseKeySet",617),_(1012,536,Wi,sQe),h.Vd=function(t){return t.i},k(mt,"HashBiMap/Inverse/InverseKeySet/1",1012),_(1015,1,{},CKe),h.Wd=function(t,r){tQt(this.a,t,r)},k(mt,"HashBiMap/Inverse/lambda$0$Type",1015),_(615,534,wu,hV),h.Jc=function(){return new aQe(this.a)},h.Kc=function(t){var r;return r=Y3(this.a,t,Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15)))),r?(kE(this.a,r),r.e=null,r.c=null,!0):!1},k(mt,"HashBiMap/KeySet",615),_(1011,536,Wi,aQe),h.Vd=function(t){return t.g},k(mt,"HashBiMap/KeySet/1",1011),_(1104,625,tm),k(mt,"HashMultimapGwtSerializationDependencies",1104),_(274,1104,tm,b0),h.hc=function(){return new U9(fy(this.a))},h.nd=function(){return new U9(fy(this.a))},h.a=2,k(mt,"HashMultimap",274),_(2076,312,ux),h.Gc=function(t){return this.Xd().Gc(t)},h.dc=function(){return this.Xd().dc()},h.gc=function(){return this.Xd().gc()},k(mt,"ImmutableAsList",2076),_(2009,725,cx),h.Td=function(){return new nS(this.a)},h.Bc=function(){return new nS(this.a)},h.vd=function(){return new nS(this.a)},k(mt,"ImmutableBiMap",2009),_(2054,1,{}),k(mt,"ImmutableCollection/Builder",2054),_(1027,716,cT,uQe),k(mt,"ImmutableEnumSet",1027),_(971,394,ax,Hit),h.Xb=function(t){return this.a.Xb(t)},k(mt,"ImmutableList/1",971),_(970,2054,{},bit),k(mt,"ImmutableList/Builder",970),_(620,206,sx,jG),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return l(this.a.Pb(),45).jd()},k(mt,"ImmutableMap/1",620),_(1046,1,{},R),h.Kb=function(t){return l(t,45).jd()},k(mt,"ImmutableMap/2methodref$getKey$Type",1046),_(1045,1,{},mit),k(mt,"ImmutableMap/Builder",1045),_(2077,2058,cT),h.Kd=function(){var t;return t=this.b,t||(this.b=new FG(this))},h.Ld=function(){return new Afe(this,pC(this,we(Ii,Rt,1,this.gc(),5,1)))},k(mt,"ImmutableSet/CachingAsList",2077),_(2078,2077,cT),h.Jc=function(){var t;return t=Cb(this.a).Md(),new jG(t)},h.Ld=function(){return new FG(this)},h.Ic=function(t){var r,o;for(kn(t),o=this.gc(),r=0;r<o;r++)t.Ad(l(Cb(this.a).Kd().Xb(r),45).jd())},h.Md=function(){var t;return t=this.b,wV(t||(this.b=new FG(this)),0)},h.Lc=function(){return BV(this.gc(),1296,new _Ke(this))},k(mt,"IndexedImmutableSet",2078),_(1207,2078,cT,TKe),h.Jc=function(){var t;return t=Cb(this.a).Md(),new jG(t)},h.Gc=function(t){return this.a._b(t)},h.Ic=function(t){kn(t),S6(this.a,new SKe(t))},h.Md=function(){var t;return t=Cb(this.a).Md(),new jG(t)},h.gc=function(){return this.a.gc()},h.Lc=function(){return BO(Cb(this.a).Lc(),new R)},k(mt,"ImmutableMapKeySet",1207),_(1208,1,{},SKe),h.Wd=function(t,r){this.a.Ad(t)},k(mt,"ImmutableMapKeySet/lambda$0$Type",1208),_(1204,2057,iwe,AKe),h.Jc=function(){return new FV(this)},h.Kd=function(){var t;return t=Cb(this.a).Kd(),new Net(this,t)},h.Gc=function(t){return t!=null&&h0n(new FV(this),t)},h.Md=function(){return new FV(this)},h.gc=function(){return this.a.gc()},h.Lc=function(){return BO(Cb(this.a).Lc(),new L)},k(mt,"ImmutableMapValues",1204),_(1205,1,{},L),h.Kb=function(t){return l(t,45).kd()},k(mt,"ImmutableMapValues/0methodref$getValue$Type",1205),_(635,206,sx,FV),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return l(this.a.Pb(),45).kd()},k(mt,"ImmutableMapValues/1",635),_(1206,2076,ux,Net),h.Xd=function(){return this.a},h.Xb=function(t){return l(this.b.Xb(t),45).kd()},k(mt,"ImmutableMapValues/2",1206),_(1209,1,{},_Ke),h.rd=function(t){return $st(this.a,t)},k(mt,"IndexedImmutableSet/0methodref$get$Type",1209),_(636,2076,ux,FG),h.Xd=function(){return this.a},h.Xb=function(t){return $st(this.a,t)},h.gc=function(){return this.a.a.gc()},k(mt,"IndexedImmutableSet/1",636),_(1047,539,Eh,yot),h.Ic=function(t){kn(t),this.b.Ic(new _et(this.a,t))},h.Jc=function(){return ade(this)},k(mt,"Iterables/4",1047),_(1048,1,nn,_et),h.Ad=function(t){ken(this.b,this.a,t)},k(mt,"Iterables/4/lambda$0$Type",1048),_(1049,539,Eh,vot),h.Ic=function(t){kn(t),lo(this.a,new ket(t,this.b))},h.Jc=function(){return qt(new tn(this.a),this.b)},k(mt,"Iterables/5",1049),_(1050,1,nn,ket),h.Ad=function(t){this.a.Ad(Hnt(t))},k(mt,"Iterables/5/lambda$0$Type",1050),_(1068,206,sx,IKe),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return this.a.Pb()},k(mt,"Iterators/1",1068),_(1069,709,sx,xet),h.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},k(mt,"Iterators/5",1069),_(486,1,Wi),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.b.Ob()},h.Pb=function(){return this.Yd(this.b.Pb())},h.Qb=function(){this.b.Qb()},k(mt,"TransformedIterator",486),_(1070,486,Wi,Crt),h.Yd=function(t){return this.a.Kb(t)},k(mt,"Iterators/6",1070),_(1067,394,ax,Eot),h.Xb=function(t){return this.a[t]};var $_t;k(mt,"Iterators/ArrayItr",1067),_(35,1,{35:1,51:1},$t),h.Nb=function(t){so(this,t)},h.Ob=function(){return an(this)},h.Pb=function(){return en(this)},h.Qb=function(){if(!this.c)throw Y(new es(twe));this.c.Qb(),this.c=null},k(mt,"Iterators/ConcatenatedIterator",35),_(23,1,{3:1,34:1,23:1}),h.Dd=function(t){return pQe(this,l(t,23))},h.Fb=function(t){return this===t},h.Hb=function(){return s0(this)},h.Ib=function(){return yV(this)},h.g=0;var bn=k(Fs,"Enum",23);_(541,23,{541:1,3:1,34:1,23:1,51:1},frt),h.Nb=function(t){so(this,t)},h.Ob=function(){return!1},h.Pb=function(){throw Y(new vs)},h.Qb=function(){XA(!1)};var jQ,B_t=fn(mt,"Iterators/EmptyModifiableIterator",541,bn,Psn,nnn),U_t;_(727,206,sx,Que),h.Ob=function(){return!this.a},h.Pb=function(){if(this.a)throw Y(new vs);return this.a=!0,this.b},h.a=!1,k(mt,"Iterators/SingletonIterator",727),_(1894,625,tm),k(mt,"LinkedHashMultimapGwtSerializationDependencies",1894),_(1895,1894,tm,Fpt),h.hc=function(){return new mV(fy(this.b))},h.$b=function(){wj(this),tO(this.a,this.a)},h.nd=function(){return new mV(fy(this.b))},h.ic=function(t){return new xpt(this,t,this.b)},h.kc=function(){return new dhe(this)},h.lc=function(){var t;return new St((t=this.g,l(t||(this.g=new Gce(this)),24)),17)},h.ec=function(){var t;return t=this.i,t||(this.i=new sE(this,this.c))},h.nc=function(){return new Vce(new dhe(this))},h.oc=function(){var t;return BO(new St((t=this.g,l(t||(this.g=new Gce(this)),24)),17),new B)},h.b=2,k(mt,"LinkedHashMultimap",1895),_(1898,1,{},B),h.Kb=function(t){return l(t,45).kd()},k(mt,"LinkedHashMultimap/0methodref$getValue$Type",1898),_(826,1,Wi,dhe),h.Nb=function(t){so(this,t)},h.Pb=function(){return Ohn(this)},h.Ob=function(){return this.a!=this.b.a},h.Qb=function(){XA(!!this.c),nct(this.b,this.c.g,this.c.i),this.c=null},k(mt,"LinkedHashMultimap/1",826),_(229,247,{359:1,247:1,229:1,600:1,3:1,45:1},Ehe),h.Zd=function(){return l(wl(this.f),600)},h.$d=function(t){this.c=t},h._d=function(t){this.f=t},h.d=0;var H_t=k(mt,"LinkedHashMultimap/ValueEntry",229);_(1896,2047,{600:1,22:1,32:1,18:1,24:1},xpt),h.Ec=function(t){var r,o,a,u,f;for(f=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),r=f&this.b.length-1,u=this.b[r],o=u;o;o=o.a)if(o.d==f&&rp(o.i,t))return!1;return a=new Ehe(this.c,t,f,u),xQe(this.d,a),a.f=this,this.d=a,tO(l(wl(this.g.a.b),229),a),tO(a,this.g.a),this.b[r]=a,++this.f,++this.e,l0n(this),!0},h.$b=function(){var t,r;for(hO(this.b,null),this.f=0,t=this.a;t!=this;t=t.Zd())r=l(t,229),tO(l(wl(r.b),229),l(wl(r.e),229));this.a=this,this.d=this,++this.e},h.Gc=function(t){var r,o;for(o=Dn(wo(Sh,ph(Dn(wo(t==null?0:Rr(t),Th)),15))),r=this.b[o&this.b.length-1];r;r=r.a)if(r.d==o&&rp(r.i,t))return!0;return!1},h.Ic=function(t){var r;for(kn(t),r=this.a;r!=this;r=r.Zd())t.Ad(l(r,229).i)},h.Zd=function(){return this.a},h.Jc=function(){return new Yst(this)},h.Kc=function(t){return Nwt(this,t)},h.$d=function(t){this.d=t},h._d=function(t){this.a=t},h.gc=function(){return this.f},h.e=0,h.f=0,k(mt,"LinkedHashMultimap/ValueSet",1896),_(1897,1,Wi,Yst),h.Nb=function(t){so(this,t)},h.Ob=function(){return Bfe(this),this.b!=this.c},h.Pb=function(){var t,r;if(Bfe(this),this.b==this.c)throw Y(new vs);return t=l(this.b,229),r=t.i,this.d=t,this.b=l(wl(t.f),600),r},h.Qb=function(){Bfe(this),XA(!!this.d),Nwt(this.c,this.d.i),this.a=this.c.e,this.d=null},h.a=0,k(mt,"LinkedHashMultimap/ValueSet/1",1897),_(774,2063,tm,Cnt),h.Zb=function(){var t;return t=this.f,t||(this.f=new Ale(this))},h.Fb=function(t){return BK(this,t)},h.cc=function(t){return new wq(this,t)},h.fc=function(t){return _pe(this,t)},h.$b=function(){_st(this)},h._b=function(t){return Met(this,t)},h.ac=function(){return new Ale(this)},h.bc=function(){return new LKe(this)},h.qc=function(t){return new wq(this,t)},h.dc=function(){return!this.a},h.rc=function(t){return _pe(this,t)},h.gc=function(){return this.d},h.c=0,h.d=0,k(mt,"LinkedListMultimap",774),_(56,32,lx),h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h._c=function(t,r){throw Y(new Jp("Add not supported on this list"))},h.Ec=function(t){return this._c(this.gc(),t),!0},h.ad=function(t,r){var o,a,u;for(Mt(r),o=!1,u=r.Jc();u.Ob();)a=u.Pb(),this._c(t++,a),o=!0;return o},h.$b=function(){this.ae(0,this.gc())},h.Fb=function(t){return Ime(this,t)},h.Hb=function(){return $ge(this)},h.bd=function(t){return qft(this,t)},h.Jc=function(){return new LN(this)},h.cd=function(){return this.dd(0)},h.dd=function(t){return new Xi(this,t)},h.ed=function(t){throw Y(new Jp("Remove not supported on this list"))},h.ae=function(t,r){var o,a;for(a=this.dd(t),o=t;o<r;++o)a.Pb(),a.Qb()},h.fd=function(t,r){throw Y(new Jp("Set not supported on this list"))},h.hd=function(t,r){return new Rf(this,t,r)},h.j=0,k(gn,"AbstractList",56),_(2041,56,lx),h._c=function(t,r){WA(this,t,r)},h.ad=function(t,r){return Cpt(this,t,r)},h.Xb=function(t){return sa(this,t)},h.Jc=function(){return this.dd(0)},h.ed=function(t){return FY(this,t)},h.fd=function(t,r){var o,a;o=this.dd(t);try{return a=o.Pb(),o.Wb(r),a}catch(u){throw u=ci(u),ae(u,113)?Y(new Ia("Can't set element "+t)):Y(u)}},k(gn,"AbstractSequentialList",2041),_(643,2041,lx,wq),h.dd=function(t){return Nrt(this,t)},h.gc=function(){var t;return t=l(Ht(this.a.b,this.b),263),t?t.a:0},k(mt,"LinkedListMultimap/1",643),_(1292,2047,wu,LKe),h.Gc=function(t){return Met(this.a,t)},h.Jc=function(){return new mht(this.a)},h.Kc=function(t){return!_pe(this.a,t).a.dc()},h.gc=function(){return WN(this.a.b)},k(mt,"LinkedListMultimap/1KeySetImpl",1292),_(1291,1,Wi,mht),h.Nb=function(t){so(this,t)},h.Ob=function(){return Ufe(this),!!this.c},h.Pb=function(){if(Ufe(this),!this.c)throw Y(new vs);this.a=this.c,pi(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!pi(this.d,this.c.a));return this.a.a},h.Qb=function(){Ufe(this),XA(!!this.a),iP(new oK(this.e,this.a.a)),this.a=null,this.b=this.e.c},h.b=0,k(mt,"LinkedListMultimap/DistinctKeyIterator",1291),_(263,1,{263:1},Ihe),h.a=0,k(mt,"LinkedListMultimap/KeyList",263),_(501,359,{359:1,501:1,45:1},Cet),h.jd=function(){return this.a},h.kd=function(){return this.f},h.ld=function(t){var r;return r=this.f,this.f=t,r},k(mt,"LinkedListMultimap/Node",501),_(562,1,vh,oK,Omt),h.Nb=function(t){so(this,t)},h.Rb=function(t){this.e=h0e(this.f,this.b,t,this.c),++this.d,this.a=null},h.Ob=function(){return!!this.c},h.Sb=function(){return!!this.e},h.Pb=function(){return zpe(this)},h.Tb=function(){return this.d},h.Ub=function(){return Zdt(this)},h.Vb=function(){return this.d-1},h.Qb=function(){XA(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,g2n(this.f,this.a),this.a=null},h.Wb=function(t){Sde(!!this.a),this.a.f=t},h.d=0,k(mt,"LinkedListMultimap/ValueForKeyIterator",562),_(1023,56,lx),h._c=function(t,r){this.a._c(t,r)},h.ad=function(t,r){return this.a.ad(t,r)},h.Gc=function(t){return this.a.Gc(t)},h.Xb=function(t){return this.a.Xb(t)},h.ed=function(t){return this.a.ed(t)},h.fd=function(t,r){return this.a.fd(t,r)},h.gc=function(){return this.a.gc()},k(mt,"Lists/AbstractListWrapper",1023),_(Tl,1023,s2t),k(mt,"Lists/RandomAccessListWrapper",Tl),_(1026,Tl,s2t,Det),h.dd=function(t){return this.a.dd(t)},k(mt,"Lists/1",1026),_(437,56,{437:1,22:1,32:1,56:1,18:1,16:1},dle),h._c=function(t,r){this.a._c(n_(this,t),r)},h.$b=function(){this.a.$b()},h.Xb=function(t){return this.a.Xb(lhe(this,t))},h.Jc=function(){return Out(this,0)},h.dd=function(t){return Out(this,t)},h.ed=function(t){return this.a.ed(lhe(this,t))},h.ae=function(t,r){(cct(t,r,this.a.gc()),oc(this.a.hd(n_(this,r),n_(this,t)))).$b()},h.fd=function(t,r){return this.a.fd(lhe(this,t),r)},h.gc=function(){return this.a.gc()},h.hd=function(t,r){return cct(t,r,this.a.gc()),oc(this.a.hd(n_(this,r),n_(this,t)))},k(mt,"Lists/ReverseList",437),_(1022,437,{437:1,22:1,32:1,56:1,18:1,16:1,59:1},cQe),k(mt,"Lists/RandomAccessReverseList",1022),_(1025,1,vh,Iet),h.Nb=function(t){so(this,t)},h.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},h.Ob=function(){return this.c.Sb()},h.Sb=function(){return this.c.Ob()},h.Pb=function(){if(!this.c.Sb())throw Y(new vs);return this.a=!0,this.c.Ub()},h.Tb=function(){return n_(this.b,this.c.Tb())},h.Ub=function(){if(!this.c.Ob())throw Y(new vs);return this.a=!0,this.c.Pb()},h.Vb=function(){return n_(this.b,this.c.Tb())-1},h.Qb=function(){XA(this.a),this.c.Qb(),this.a=!1},h.Wb=function(t){Sde(this.a),this.c.Wb(t)},h.a=!1,k(mt,"Lists/ReverseList/1",1025),_(436,486,Wi,UN),h.Yd=function(t){return n8(t)},k(mt,"Maps/1",436),_(708,486,Wi,Vce),h.Yd=function(t){return l(t,45).kd()},k(mt,"Maps/2",708),_(967,486,Wi,Irt),h.Yd=function(t){return new t0(t,FQe(this.a,t))},k(mt,"Maps/3",967),_(964,yp,wu,MKe),h.Ic=function(t){aQt(this.a,t)},h.Jc=function(){return this.a.kc()},h.Pc=function(){return this.a},h.Lc=function(){return this.a.lc()},k(mt,"Maps/IteratorBasedAbstractMap/1",964),_(965,1,{},OKe),h.Wd=function(t,r){this.a.Ad(t)},k(mt,"Maps/KeySet/lambda$0$Type",965),_(963,32,Cy,Let),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a.uc(t)},h.Ic=function(t){kn(t),this.a.wc(new DKe(t))},h.dc=function(){return this.a.dc()},h.Jc=function(){return new Vce(this.a.vc().Jc())},h.Kc=function(t){var r,o;try{return gy(this,t,!0)}catch(a){if(a=ci(a),ae(a,46)){for(o=this.a.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),rp(t,r.kd()))return this.a.Ac(r.jd()),!0;return!1}else throw Y(a)}},h.gc=function(){return this.a.gc()},k(mt,"Maps/Values",963),_(966,1,{},DKe),h.Wd=function(t,r){this.a.Ad(r)},k(mt,"Maps/Values/lambda$0$Type",966),_(747,2064,j0,Ale),h.xc=function(t){return this.a._b(t)?this.a.cc(t):null},h.Ac=function(t){return this.a._b(t)?this.a.fc(t):null},h.$b=function(){this.a.$b()},h._b=function(t){return this.a._b(t)},h.Dc=function(){return new jKe(this)},h.Cc=function(){return this.Dc()},h.dc=function(){return this.a.dc()},h.ec=function(){return this.a.ec()},h.gc=function(){return this.a.ec().gc()},k(mt,"Multimaps/AsMap",747),_(1115,yp,wu,jKe),h.Jc=function(){return xtn(this.a.a.ec(),new RKe(this))},h.Pc=function(){return this.a},h.Kc=function(t){var r;return Lgt(this,t)?(r=l(wl(l(t,45)),45),mQt(this.a,r.jd()),!0):!1},k(mt,"Multimaps/AsMap/EntrySet",1115),_(1119,1,{},RKe),h.Kb=function(t){return FQe(this,t)},h.Fb=function(t){return this===t},k(mt,"Multimaps/AsMap/EntrySet/lambda$0$Type",1119),_(544,2066,{544:1,841:1,22:1,32:1,18:1},FKe),h.$b=function(){wj(this.a)},h.Gc=function(t){return PQe(this.a,t)},h.Ic=function(t){kn(t),lo(R3(this.a),new PKe(t))},h.Jc=function(){return new UN(R3(this.a).a.kc())},h.gc=function(){return this.a.d},h.Lc=function(){return BO(R3(this.a).Lc(),new $)},k(mt,"Multimaps/Keys",544),_(1117,1,{},$),h.Kb=function(t){return l(t,45).jd()},k(mt,"Multimaps/Keys/0methodref$getKey$Type",1117),_(1116,486,Wi,lQe),h.Yd=function(t){return new $Ke(l(t,45))},k(mt,"Multimaps/Keys/1",1116),_(2067,1,{421:1}),h.Fb=function(t){var r;return ae(t,493)?(r=l(t,421),l(this.a.kd(),18).gc()==l(r.a.kd(),18).gc()&&rp(this.a.jd(),r.a.jd())):!1},h.Hb=function(){var t;return t=this.a.jd(),(t==null?0:Rr(t))^l(this.a.kd(),18).gc()},h.Ib=function(){var t,r;return r=y3(this.a.jd()),t=l(this.a.kd(),18).gc(),t==1?r:r+" x "+t},k(mt,"Multisets/AbstractEntry",2067),_(493,2067,{493:1,421:1},$Ke),k(mt,"Multimaps/Keys/1/1",493),_(1118,1,nn,PKe),h.Ad=function(t){this.a.Ad(l(t,45).jd())},k(mt,"Multimaps/Keys/lambda$1$Type",1118),_(1121,1,nn,j),h.Ad=function(t){qon(l(t,421))},k(mt,"Multiset/lambda$0$Type",1121),_(748,1,nn,BKe),h.Ad=function(t){_fn(this.a,l(t,421))},k(mt,"Multiset/lambda$1$Type",748),_(1122,1,{},P),k(mt,"Multisets/0methodref$add$Type",1122),_(749,1,{},G),h.Kb=function(t){return Wcn(l(t,421))},k(mt,"Multisets/lambda$1$Type",749),_(2085,1,gD),k(mt,"RangeGwtSerializationDependencies",2085),_(511,2085,{181:1,511:1,3:1,48:1},V1e),h.Lb=function(t){return lst(this,l(t,34))},h.Mb=function(t){return lst(this,l(t,34))},h.Fb=function(t){var r;return ae(t,511)?(r=l(t,511),ebe(this.a,r.a)&&ebe(this.b,r.b)):!1},h.Hb=function(){return this.a.Hb()*31+this.b.Hb()},h.Ib=function(){return Oct(this.a,this.b)},k(mt,"Range",511),_(649,2076,ux,Afe),h.dd=function(t){return wV(this.b,t)},h.Xd=function(){return this.a},h.Xb=function(t){return i1(this.b,t)},h.Nd=function(t){return wV(this.b,t)},k(mt,"RegularImmutableAsList",649),_(652,2084,ux,DW),h.Pd=function(){return this.a};var FQ;k(mt,"RegularImmutableList",652),_(540,725,cx,vle,Ele);var z_t;k(mt,"RegularImmutableMap",540),_(726,716,cT,Sle);var GEe;k(mt,"RegularImmutableSet",726),_(2053,tf,wu),h.Jc=function(){return new Ahe(this.a,this.b)},h.Ec=function(t){throw Y(new Nn)},h.Fc=function(t){throw Y(new Nn)},h.$b=function(){throw Y(new Nn)},h.Kc=function(t){throw Y(new Nn)},k(mt,"Sets/SetView",2053),_(968,2053,wu,Oet),h.Jc=function(){return new Ahe(this.a,this.b)},h.Gc=function(t){return zV(this.a,t)&&this.b.Gc(t)},h.Hc=function(t){return N6(this.a,t)&&this.b.Hc(t)},h.dc=function(){return w1t(this.b,this.a)},h.gc=function(){return T6(this)},h.Mc=function(){return lr(new Et(null,new St(this.a,1)),new UKe(this.b))},k(mt,"Sets/2",968),_(969,1,Mn,UKe),h.Mb=function(t){return this.a.Gc(t)},k(mt,"Sets/2/0methodref$contains$Type",969),_(710,709,sx,Ahe),h.Yb=function(){for(var t;cde(this.a);)if(t=U3(this.a),this.c.Gc(t))return t;return this.e=2,null},k(mt,"Sets/2/1",710),_(613,2052,{613:1,3:1,22:1,18:1,279:1,24:1,85:1},Xat),h.Id=function(){return this.b},h.Jd=function(){return this.b},h.Ud=function(){return this.b},h.Ic=function(t){this.a.Ic(t)},h.Mc=function(){return this.a.Mc()},k(mt,"Sets/UnmodifiableNavigableSet",613),_(2010,2009,cx,rat),h.Td=function(){return new nS(this.a)},h.Bc=function(){return new nS(this.a)},h.vd=function(){return new nS(this.a)},k(mt,"SingletonImmutableBiMap",2010),_(653,2084,ux,AV),h.Pd=function(){return this.a},k(mt,"SingletonImmutableList",653),_(360,2058,cT,nS),h.Jc=function(){return new Que(this.a)},h.Gc=function(t){return pr(this.a,t)},h.Md=function(){return new Que(this.a)},h.gc=function(){return 1},k(mt,"SingletonImmutableSet",360),_(1129,1,{},A),h.Kb=function(t){return l(t,163)},k(mt,"Streams/lambda$0$Type",1129),_(1130,1,nF,HKe),h.be=function(){S0n(this.a)},k(mt,"Streams/lambda$1$Type",1130),_(1708,1707,tm,Dat),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=ae(this.c,141)?new E3(this,l(this.c,141)):ae(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c)),136),141)},h.hc=function(){return new Qp(this.b)},h.nd=function(){return new Qp(this.b)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=ae(this.c,141)?new UA(this,l(this.c,141)):ae(this.c,136)?new cO(this,l(this.c,136)):new sE(this,this.c)),85),279)},h.ac=function(){return ae(this.c,141)?new E3(this,l(this.c,141)):ae(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c)},h.ic=function(t){return t==null&&this.a.Le(t,t),new Qp(this.b)},k(mt,"TreeMultimap",1708),_(81,1,{3:1,81:1}),h.ce=function(t){return new Error(t)},h.de=function(){return this.e},h.ee=function(){var t,r,o;for(o=(this.k==null&&(this.k=we($Q,Pe,81,0,0,1)),this.k),r=we(Ii,Rt,1,o.length,5,1),t=0;t<o.length;t++)r[t]=o[t].e;return r},h.fe=function(){return this.f},h.ge=function(){return this.g},h.he=function(){fQt(this,Pcn(this.ce(RP(this,this.g)))),hZe(this)},h.Ib=function(){return RP(this,this.ge())},h.e=a2t,h.i=!1,h.n=!0;var $Q=k(Fs,"Throwable",81);_(102,81,{3:1,102:1,81:1}),k(Fs,"Exception",102),_(63,102,vp,Sb,Es),k(Fs,"RuntimeException",63),_(603,63,vp),k(Fs,"JsException",603),_(865,603,vp),k(vD,"JavaScriptExceptionBase",865),_(477,865,{477:1,3:1,102:1,63:1,81:1},jpt),h.ge=function(){return M0n(this),this.c},h.ie=function(){return be(this.b)===be(qEe)?null:this.b};var qEe;k(swe,"JavaScriptException",477);var G_t=k(swe,"JavaScriptObject$",0),BQ;_(2026,1,{}),k(swe,"Scheduler",2026);var u$=0,q_t=0,c$=-1;_(892,2026,{},ee);var VEe;k(vD,"SchedulerImpl",892);var UQ;_(2037,1,{}),k(vD,"StackTraceCreator/Collector",2037),_(866,2037,{},re),h.je=function(t){var r={},o=[];t[eX]=o;for(var a=arguments.callee.caller;a;){var u=(l_(),a.name||(a.name=Pfn(a.toString())));o.push(u);var f=":"+u,p=r[f];if(p){var m,y;for(m=0,y=p.length;m<y;m++)if(p[m]===a)return}(p||(r[f]=[])).push(a),a=a.caller}},h.ke=function(t){var r,o,a,u;for(a=(l_(),t&&t[eX]?t[eX]:[]),o=a.length,u=we(s2e,Pe,325,o,0,1),r=0;r<o;r++)u[r]=new gW(a[r],null,-1);return u},k(vD,"StackTraceCreator/CollectorLegacy",866),_(2038,2037,{}),h.je=function(t){},h.le=function(t,r,o,a){return new gW(r,t+"@"+a,o<0?-1:o)},h.ke=function(t){var r,o,a,u,f,p;if(u=amn(t),f=we(s2e,Pe,325,0,0,1),r=0,a=u.length,a==0)return f;for(p=lEt(this,u[0]),wt(p.d,QJ)||(f[r++]=p),o=1;o<a;o++)f[r++]=lEt(this,u[o]);return f},k(vD,"StackTraceCreator/CollectorModern",2038),_(867,2038,{},Q),h.le=function(t,r,o,a){return new gW(r,t,-1)},k(vD,"StackTraceCreator/CollectorModernNoSourceMap",867),_(1055,1,{}),k(uwe,l2t,1055),_(622,1055,{622:1},Mst);var WEe;k(yX,l2t,622),_(2080,1,{}),k(uwe,d2t,2080),_(2081,2080,{}),k(yX,d2t,2081),_(1101,1,{},ie);var bI;k(yX,"LocaleInfo",1101),_(2006,1,{},pe),h.a=0,k(yX,"TimeZone",2006),_(1268,2081,{},le),k("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1268),_(439,1,{439:1},fot),h.a=!1,h.b=0,k(uwe,"DateTimeFormat/PatternPart",439),_(208,1,f2t,q9,Dge,Jde),h.Dd=function(t){return Ocn(this,l(t,208))},h.Fb=function(t){return ae(t,208)&&d3(Gs(this.q.getTime()),Gs(l(t,208).q.getTime()))},h.Hb=function(){var t;return t=Gs(this.q.getTime()),Dn(LW(t,Rb(t,32)))},h.Ib=function(){var t,r,o;return o=-this.q.getTimezoneOffset(),t=(o>=0?"+":"")+(o/60|0),r=R8(b.Math.abs(o)%60),(Xbt(),ixt)[this.q.getDay()]+" "+oxt[this.q.getMonth()]+" "+R8(this.q.getDate())+" "+R8(this.q.getHours())+":"+R8(this.q.getMinutes())+":"+R8(this.q.getSeconds())+" GMT"+t+r+" "+this.q.getFullYear()};var l$=k(gn,"Date",208);_(1994,208,f2t,mbt),h.a=!1,h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,h.g=!1,h.i=0,h.j=0,h.k=0,h.n=0,h.o=0,h.p=0,k("com.google.gwt.i18n.shared.impl","DateRecord",1994),_(2043,1,{}),h.ne=function(){return null},h.oe=function(){return null},h.pe=function(){return null},h.qe=function(){return null},h.re=function(){return null},k(dT,"JSONValue",2043),_(142,2043,{142:1},Eb,Xue),h.Fb=function(t){return ae(t,142)?Vhe(this.a,l(t,142).a):!1},h.me=function(){return qZt},h.Hb=function(){return Rhe(this.a)},h.ne=function(){return this},h.Ib=function(){var t,r,o;for(o=new fc("["),r=0,t=this.a.length;r<t;r++)r>0&&(o.a+=","),ba(o,ay(this,r));return o.a+="]",o.a},k(dT,"JSONArray",142),_(482,2043,{482:1},Zue),h.me=function(){return VZt},h.oe=function(){return this},h.Ib=function(){return Lt(),""+this.a},h.a=!1;var V_t,W_t;k(dT,"JSONBoolean",482),_(990,63,vp,dQe),k(dT,"JSONException",990),_(1028,2043,{},me),h.me=function(){return JZt},h.Ib=function(){return tu};var K_t;k(dT,"JSONNull",1028),_(266,2043,{266:1},E9),h.Fb=function(t){return ae(t,266)?this.a==l(t,266).a:!1},h.me=function(){return WZt},h.Hb=function(){return mS(this.a)},h.pe=function(){return this},h.Ib=function(){return this.a+""},h.a=0,k(dT,"JSONNumber",266),_(150,2043,{150:1},aS,JR),h.Fb=function(t){return ae(t,150)?Vhe(this.a,l(t,150).a):!1},h.me=function(){return KZt},h.Hb=function(){return Rhe(this.a)},h.qe=function(){return this},h.Ib=function(){var t,r,o,a,u,f,p;for(p=new fc("{"),t=!0,f=EK(this,we(Je,Pe,2,0,6,1)),o=f,a=0,u=o.length;a<u;++a)r=o[a],t?t=!1:p.a+=ja,zn(p,w0t(r)),p.a+=":",ba(p,op(this,r));return p.a+="}",p.a},k(dT,"JSONObject",150),_(601,tf,wu,yq),h.Gc=function(t){return zi(t)&&OQt(this.a,In(t))},h.Jc=function(){return new LN(new Ls(this.b))},h.gc=function(){return this.b.length},k(dT,"JSONObject/1",601);var HQ;_(213,2043,{213:1},Qw),h.Fb=function(t){return ae(t,213)?wt(this.a,l(t,213).a):!1},h.me=function(){return YZt},h.Hb=function(){return lg(this.a)},h.re=function(){return this},h.Ib=function(){return w0t(this.a)},k(dT,"JSONString",213);var O1,KEe,Y_t,YEe,JEe;_(2039,1,{524:1}),k(cwe,"OutputStream",2039),_(2040,2039,{524:1}),k(cwe,"FilterOutputStream",2040),_(868,2040,{524:1},he),k(cwe,"PrintStream",868),_(423,1,{475:1}),h.Ib=function(){return this.a},k(Fs,"AbstractStringBuilder",423),_(530,63,vp,j9),k(Fs,"ArithmeticException",530),_(99,63,iF,Nce,Ia),k(Fs,"IndexOutOfBoundsException",99),_(650,99,iF,wZe,Zce),k(Fs,"ArrayIndexOutOfBoundsException",650),_(529,63,vp,JG,wQe),k(Fs,"ArrayStoreException",529),_(298,81,h2t,cq),k(Fs,"Error",298),_(202,298,h2t,kce,lpe),k(Fs,"AssertionError",202),P_t={3:1,476:1,34:1};var D1,Bx,Yr=k(Fs,"Boolean",476);_(245,1,{3:1,245:1});var XEe;k(Fs,"Number",245),_(224,245,{3:1,224:1,34:1,245:1},WKe),h.Dd=function(t){return CQt(this,l(t,224))},h.se=function(){return this.a},h.Fb=function(t){return ae(t,224)&&l(t,224).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var ET=k(Fs,"Byte",224),ZEe;_(183,1,{3:1,183:1,34:1},sce),h.Dd=function(t){return IQt(this,l(t,183))},h.Fb=function(t){return ae(t,183)&&l(t,183).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return String.fromCharCode(this.a)},h.a=0;var QEe,mI=k(Fs,"Character",183),e2e;_(214,63,{3:1,214:1,102:1,63:1,81:1},pZe,MA),k(Fs,"ClassCastException",214),j_t={3:1,34:1,347:1,245:1};var fi=k(Fs,"Double",347);_(165,245,{3:1,34:1,165:1,245:1},QR,Ice),h.Dd=function(t){return Ben(this,l(t,165))},h.se=function(){return this.a},h.Fb=function(t){return ae(t,165)&&jit(this.a,l(t,165).a)},h.Hb=function(){return go(this.a)},h.Ib=function(){return""+this.a},h.a=0;var Ux=k(Fs,"Float",165);_(33,63,{3:1,102:1,33:1,63:1,81:1},nO,jt,Lpt),k(Fs,"IllegalArgumentException",33),_(73,63,vp,lu,es),k(Fs,"IllegalStateException",73),_(15,245,{3:1,34:1,15:1,245:1},ace),h.Dd=function(t){return rde(this,l(t,15))},h.se=function(){return this.a},h.Fb=function(t){return ae(t,15)&&l(t,15).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var Ti=k(Fs,"Integer",15),t2e,J_t;_(192,245,{3:1,34:1,192:1,245:1},uce),h.Dd=function(t){return Uen(this,l(t,192))},h.se=function(){return $b(this.a)},h.Fb=function(t){return ae(t,192)&&d3(l(t,192).a,this.a)},h.Hb=function(){return jnn(this.a)},h.Ib=function(){return""+x3(this.a)},h.a=0;var Y0=k(Fs,"Long",192),n2e;_(2119,1,{}),_(1891,63,vp,yQe),k(Fs,"NegativeArraySizeException",1891),_(174,603,{3:1,102:1,174:1,63:1,81:1},rS,uS),h.ce=function(t){return new TypeError(t)},k(Fs,"NullPointerException",174);var r2e,zQ,X_t,i2e;_(133,33,{3:1,102:1,33:1,133:1,63:1,81:1},kf),k(Fs,"NumberFormatException",133),_(193,245,{3:1,34:1,245:1,193:1},oce),h.Dd=function(t){return RQt(this,l(t,193))},h.se=function(){return this.a},h.Fb=function(t){return ae(t,193)&&l(t,193).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var J0=k(Fs,"Short",193),o2e;_(325,1,{3:1,325:1},gW),h.Fb=function(t){var r;return ae(t,325)?(r=l(t,325),this.c==r.c&&this.d==r.d&&this.a==r.a&&this.b==r.b):!1},h.Hb=function(){return Fj(Z(X(Ii,1),Rt,1,5,[Re(this.c),this.a,this.d,this.b]))},h.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},h.c=0;var s2e=k(Fs,"StackTraceElement",325);F_t={3:1,475:1,34:1,2:1};var Je=k(Fs,owe,2);_(112,423,{475:1},Xp,GN,ml),k(Fs,"StringBuffer",112),_(106,423,{475:1},Zg,lS,fc),k(Fs,"StringBuilder",106),_(698,99,iF,Xce),k(Fs,"StringIndexOutOfBoundsException",698),_(2124,1,{});var Z_t;_(46,63,{3:1,102:1,63:1,81:1,46:1},Nn,Jp),k(Fs,"UnsupportedOperationException",46),_(249,245,{3:1,34:1,245:1,249:1},j6,ale),h.Dd=function(t){return nvt(this,l(t,249))},h.se=function(){return vy(Rvt(this))},h.Fb=function(t){var r;return this===t?!0:ae(t,249)?(r=l(t,249),this.e==r.e&&nvt(this,r)==0):!1},h.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Gs(this.f),this.b=Dn(Gi(t,-1)),this.b=33*this.b+Dn(Gi(u0(t,32),-1)),this.b=17*this.b+go(this.e),this.b):(this.b=17*Vpt(this.c)+go(this.e),this.b)},h.Ib=function(){return Rvt(this)},h.a=0,h.b=0,h.d=0,h.e=0,h.f=0;var Q_t,fm,a2e,u2e,c2e,l2e,d2e,f2e,GQ=k("java.math","BigDecimal",249);_(92,245,{3:1,34:1,245:1,92:1},ap,sct,Ob,r1t,o1),h.Dd=function(t){return Ygt(this,l(t,92))},h.se=function(){return vy(VJ(this,0))},h.Fb=function(t){return _1e(this,t)},h.Hb=function(){return Vpt(this)},h.Ib=function(){return VJ(this,0)},h.b=-2,h.c=0,h.d=0,h.e=0;var ext,d$,txt,qQ,f$,wI,zE=k("java.math","BigInteger",92),nxt,rxt,ST,yI;_(487,2044,j0),h.$b=function(){Zs(this)},h._b=function(t){return ma(this,t)},h.uc=function(t){return Ipt(this,t,this.i)||Ipt(this,t,this.f)},h.vc=function(){return new Dw(this)},h.xc=function(t){return Ht(this,t)},h.yc=function(t,r){return Jn(this,t,r)},h.Ac=function(t){return FS(this,t)},h.gc=function(){return WN(this)},h.g=0,k(gn,"AbstractHashMap",487),_(307,tf,wu,Dw),h.$b=function(){this.a.$b()},h.Gc=function(t){return lct(this,t)},h.Jc=function(){return new dy(this.a)},h.Kc=function(t){var r;return lct(this,t)?(r=l(t,45).jd(),this.a.Ac(r),!0):!1},h.gc=function(){return this.a.gc()},k(gn,"AbstractHashMap/EntrySet",307),_(308,1,Wi,dy),h.Nb=function(t){so(this,t)},h.Pb=function(){return gE(this)},h.Ob=function(){return this.b},h.Qb=function(){Bdt(this)},h.b=!1,h.d=0,k(gn,"AbstractHashMap/EntrySetIterator",308),_(422,1,Wi,LN),h.Nb=function(t){so(this,t)},h.Ob=function(){return _q(this)},h.Pb=function(){return khe(this)},h.Qb=function(){Mu(this)},h.b=0,h.c=-1,k(gn,"AbstractList/IteratorImpl",422),_(97,422,vh,Xi),h.Qb=function(){Mu(this)},h.Rb=function(t){Vw(this,t)},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Ub=function(){return un(this.b>0),this.a.Xb(this.c=--this.b)},h.Vb=function(){return this.b-1},h.Wb=function(t){Hw(this.c!=-1),this.a.fd(this.c,t)},k(gn,"AbstractList/ListIteratorImpl",97),_(217,56,lx,Rf),h._c=function(t,r){ry(t,this.b),this.c._c(this.a+t,r),++this.b},h.Xb=function(t){return at(t,this.b),this.c.Xb(this.a+t)},h.ed=function(t){var r;return at(t,this.b),r=this.c.ed(this.a+t),--this.b,r},h.fd=function(t,r){return at(t,this.b),this.c.fd(this.a+t,r)},h.gc=function(){return this.b},h.a=0,h.b=0,k(gn,"AbstractList/SubList",217),_(234,tf,wu,Xh),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a._b(t)},h.Jc=function(){var t;return t=this.a.vc().Jc(),new T9(t)},h.Kc=function(t){return this.a._b(t)?(this.a.Ac(t),!0):!1},h.gc=function(){return this.a.gc()},k(gn,"AbstractMap/1",234),_(533,1,Wi,T9),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),45),t.jd()},h.Qb=function(){this.a.Qb()},k(gn,"AbstractMap/1/1",533),_(232,32,Cy,Zh),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a.uc(t)},h.Jc=function(){var t;return t=this.a.vc().Jc(),new Lw(t)},h.gc=function(){return this.a.gc()},k(gn,"AbstractMap/2",232),_(305,1,Wi,Lw),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),45),t.kd()},h.Qb=function(){this.a.Qb()},k(gn,"AbstractMap/2/1",305),_(483,1,{483:1,45:1}),h.Fb=function(t){var r;return ae(t,45)?(r=l(t,45),ia(this.d,r.jd())&&ia(this.e,r.kd())):!1},h.jd=function(){return this.d},h.kd=function(){return this.e},h.Hb=function(){return nE(this.d)^nE(this.e)},h.ld=function(t){return Qde(this,t)},h.Ib=function(){return this.d+"="+this.e},k(gn,"AbstractMap/AbstractEntry",483),_(392,483,{483:1,392:1,45:1},t8),k(gn,"AbstractMap/SimpleEntry",392),_(2061,1,EX),h.Fb=function(t){var r;return ae(t,45)?(r=l(t,45),ia(this.jd(),r.jd())&&ia(this.kd(),r.kd())):!1},h.Hb=function(){return nE(this.jd())^nE(this.kd())},h.Ib=function(){return this.jd()+"="+this.kd()},k(gn,e2t,2061),_(2069,2044,nwe),h.Vc=function(t){return bq(this.Ce(t))},h.tc=function(t){return clt(this,t)},h._b=function(t){return Zde(this,t)},h.vc=function(){return new qG(this)},h.Rc=function(){return Ast(this.Ee())},h.Wc=function(t){return bq(this.Fe(t))},h.xc=function(t){var r;return r=t,Ss(this.De(r))},h.Yc=function(t){return bq(this.Ge(t))},h.ec=function(){return new KKe(this)},h.Tc=function(){return Ast(this.He())},h.Zc=function(t){return bq(this.Ie(t))},k(gn,"AbstractNavigableMap",2069),_(627,tf,wu,qG),h.Gc=function(t){return ae(t,45)&&clt(this.b,l(t,45))},h.Jc=function(){return this.b.Be()},h.Kc=function(t){var r;return ae(t,45)?(r=l(t,45),this.b.Je(r)):!1},h.gc=function(){return this.b.gc()},k(gn,"AbstractNavigableMap/EntrySet",627),_(1127,tf,rwe,KKe),h.Lc=function(){return new r8(this)},h.$b=function(){this.a.$b()},h.Gc=function(t){return Zde(this.a,t)},h.Jc=function(){var t;return t=this.a.vc().b.Be(),new YKe(t)},h.Kc=function(t){return Zde(this.a,t)?(this.a.Ac(t),!0):!1},h.gc=function(){return this.a.gc()},k(gn,"AbstractNavigableMap/NavigableKeySet",1127),_(1128,1,Wi,YKe),h.Nb=function(t){so(this,t)},h.Ob=function(){return _q(this.a.a)},h.Pb=function(){var t;return t=Hrt(this.a),t.jd()},h.Qb=function(){Wit(this.a)},k(gn,"AbstractNavigableMap/NavigableKeySet/1",1128),_(2082,32,Cy),h.Ec=function(t){return xS(V_(this,t),fx),!0},h.Fc=function(t){return Mt(t),HO(t!=this,"Can't add a queue to itself"),mo(this,t)},h.$b=function(){for(;lK(this)!=null;);},k(gn,"AbstractQueue",2082),_(315,32,{4:1,22:1,32:1,18:1},iE,pct),h.Ec=function(t){return epe(this,t),!0},h.$b=function(){spe(this)},h.Gc=function(t){return Wht(new L3(this),t)},h.dc=function(){return zN(this)},h.Jc=function(){return new L3(this)},h.Kc=function(t){return _un(new L3(this),t)},h.gc=function(){return this.c-this.b&this.a.length-1},h.Lc=function(){return new St(this,272)},h.Oc=function(t){var r;return r=this.c-this.b&this.a.length-1,t.length<r&&(t=$9(new Array(r),t)),uht(this,t,r),t.length>r&&ii(t,r,null),t},h.b=0,h.c=0,k(gn,"ArrayDeque",315),_(451,1,Wi,L3),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a!=this.b},h.Pb=function(){return Bj(this)},h.Qb=function(){Vft(this)},h.a=0,h.b=0,h.c=-1,k(gn,"ArrayDeque/IteratorImpl",451),_(13,56,b2t,je,Da,Tu),h._c=function(t,r){Nb(this,t,r)},h.Ec=function(t){return Fe(this,t)},h.ad=function(t,r){return Jge(this,t,r)},h.Fc=function(t){return li(this,t)},h.$b=function(){Mw(this.c,0)},h.Gc=function(t){return _s(this,t,0)!=-1},h.Ic=function(t){La(this,t)},h.Xb=function(t){return ze(this,t)},h.bd=function(t){return _s(this,t,0)},h.dc=function(){return this.c.length==0},h.Jc=function(){return new V(this)},h.ed=function(t){return sg(this,t)},h.Kc=function(t){return Xa(this,t)},h.ae=function(t,r){Iut(this,t,r)},h.fd=function(t,r){return nc(this,t,r)},h.gc=function(){return this.c.length},h.gd=function(t){xi(this,t)},h.Nc=function(){return Q8(this.c)},h.Oc=function(t){return Yd(this,t)};var P3n=k(gn,"ArrayList",13);_(7,1,Wi,V),h.Nb=function(t){so(this,t)},h.Ob=function(){return Ts(this)},h.Pb=function(){return q(this)},h.Qb=function(){C3(this)},h.a=0,h.b=-1,k(gn,"ArrayList/1",7),_(2091,b.Function,{},Oe),h.Ke=function(t,r){return yr(t,r)},_(124,56,m2t,Ls),h.Gc=function(t){return qft(this,t)!=-1},h.Ic=function(t){var r,o,a,u;for(Mt(t),o=this.a,a=0,u=o.length;a<u;++a)r=o[a],t.Ad(r)},h.Xb=function(t){return Uot(this,t)},h.fd=function(t,r){var o;return o=(at(t,this.a.length),this.a[t]),ii(this.a,t,r),o},h.gc=function(){return this.a.length},h.gd=function(t){HV(this.a,this.a.length,t)},h.Nc=function(){return l1t(this,we(Ii,Rt,1,this.a.length,5,1))},h.Oc=function(t){return l1t(this,t)},k(gn,"Arrays/ArrayList",124);var Co,xh,h$;_(945,56,m2t,Le),h.Gc=function(t){return!1},h.Xb=function(t){return nde(t)},h.Jc=function(){return At(),zA(),Hx},h.cd=function(){return At(),zA(),Hx},h.gc=function(){return 0},k(gn,"Collections/EmptyList",945),_(946,1,vh,Ae),h.Nb=function(t){so(this,t)},h.Rb=function(t){throw Y(new Nn)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw Y(new vs)},h.Tb=function(){return 0},h.Ub=function(){throw Y(new vs)},h.Vb=function(){return-1},h.Qb=function(){throw Y(new lu)},h.Wb=function(t){throw Y(new lu)};var Hx;k(gn,"Collections/EmptyListIterator",946),_(948,2044,cx,xe),h._b=function(t){return!1},h.uc=function(t){return!1},h.vc=function(){return At(),h$},h.xc=function(t){return null},h.ec=function(){return At(),h$},h.gc=function(){return 0},h.Bc=function(){return At(),Co},k(gn,"Collections/EmptyMap",948),_(947,tf,cT,Se),h.Gc=function(t){return!1},h.Jc=function(){return At(),zA(),Hx},h.gc=function(){return 0},k(gn,"Collections/EmptySet",947),_(604,56,{3:1,22:1,32:1,56:1,18:1,16:1},GG),h.Gc=function(t){return ia(this.a,t)},h.Xb=function(t){return at(t,1),this.a},h.gc=function(){return 1},k(gn,"Collections/SingletonList",604),_(379,1,r2t,CA),h.Ic=function(t){lo(this,t)},h.Lc=function(){return new St(this,0)},h.Mc=function(){return new Et(null,this.Lc())},h.Ec=function(t){return HQe()},h.Fc=function(t){return zQe()},h.$b=function(){GQe()},h.Gc=function(t){return VN(this,t)},h.Hc=function(t){return fle(this,t)},h.dc=function(){return this.b.dc()},h.Jc=function(){return new Gv(this.b.Jc())},h.Kc=function(t){return qQe()},h.gc=function(){return this.b.gc()},h.Nc=function(){return this.b.Nc()},h.Oc=function(t){return hle(this,t)},h.Ib=function(){return ms(this.b)},k(gn,"Collections/UnmodifiableCollection",379),_(326,1,Wi,Gv),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.b.Ob()},h.Pb=function(){return this.b.Pb()},h.Qb=function(){VQe()},k(gn,"Collections/UnmodifiableCollectionIterator",326),_(532,379,w2t,$8),h.Lc=function(){return new St(this,16)},h._c=function(t,r){throw Y(new Nn)},h.ad=function(t,r){throw Y(new Nn)},h.Fb=function(t){return pr(this.a,t)},h.Xb=function(t){return this.a.Xb(t)},h.Hb=function(){return Rr(this.a)},h.bd=function(t){return this.a.bd(t)},h.dc=function(){return this.a.dc()},h.cd=function(){return new Nde(this.a.dd(0))},h.dd=function(t){return new Nde(this.a.dd(t))},h.ed=function(t){throw Y(new Nn)},h.fd=function(t,r){throw Y(new Nn)},h.gd=function(t){throw Y(new Nn)},h.hd=function(t,r){return new $8(this.a.hd(t,r))},k(gn,"Collections/UnmodifiableList",532),_(701,326,vh,Nde),h.Qb=function(){VQe()},h.Rb=function(t){throw Y(new Nn)},h.Sb=function(){return this.a.Sb()},h.Tb=function(){return this.a.Tb()},h.Ub=function(){return this.a.Ub()},h.Vb=function(){return this.a.Vb()},h.Wb=function(t){throw Y(new Nn)},k(gn,"Collections/UnmodifiableListIterator",701),_(605,1,j0,VG),h.wc=function(t){S6(this,t)},h.$b=function(){throw Y(new Nn)},h._b=function(t){return this.c._b(t)},h.uc=function(t){return jet(this,t)},h.vc=function(){return s_(this)},h.Fb=function(t){return Fet(this,t)},h.xc=function(t){return this.c.xc(t)},h.Hb=function(){return Rr(this.c)},h.dc=function(){return this.c.dc()},h.ec=function(){return nat(this)},h.yc=function(t,r){throw Y(new Nn)},h.Ac=function(t){throw Y(new Nn)},h.gc=function(){return this.c.gc()},h.Ib=function(){return ms(this.c)},h.Bc=function(){return tat(this)},k(gn,"Collections/UnmodifiableMap",605),_(391,379,XJ,PA),h.Lc=function(){return new St(this,1)},h.Fb=function(t){return pr(this.b,t)},h.Hb=function(){return Rr(this.b)},k(gn,"Collections/UnmodifiableSet",391),_(949,391,XJ,SQe),h.Gc=function(t){return Pet(this,t)},h.Hc=function(t){return this.b.Hc(t)},h.Jc=function(){var t;return t=this.b.Jc(),new JKe(t)},h.Nc=function(){var t;return t=this.b.Nc(),Pct(t,t.length),t},h.Oc=function(t){return zat(this,t)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet",949),_(950,1,Wi,JKe),h.Nb=function(t){so(this,t)},h.Pb=function(){return new cce(l(this.a.Pb(),45))},h.Ob=function(){return this.a.Ob()},h.Qb=function(){throw Y(new Nn)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",950),_(699,1,EX,cce),h.Fb=function(t){return this.a.Fb(t)},h.jd=function(){return this.a.jd()},h.kd=function(){return this.a.kd()},h.Hb=function(){return this.a.Hb()},h.ld=function(t){throw Y(new Nn)},h.Ib=function(){return ms(this.a)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",699),_(606,532,{22:1,18:1,16:1,59:1},pq),k(gn,"Collections/UnmodifiableRandomAccessList",606),_(700,391,i2t,Cde),h.Lc=function(){return new r8(this)},h.Fb=function(t){return pr(this.a,t)},h.Hb=function(){return Rr(this.a)},k(gn,"Collections/UnmodifiableSortedSet",700),_(850,1,SX,We),h.Le=function(t,r){var o;return o=jct(l(t,12),l(r,12)),o!=0?o:Vyt(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gn,"Comparator/lambda$0$Type",850);var h2e,VQ,p2e;_(763,1,SX,dt),h.Le=function(t,r){return Zon(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return h0(),p2e},k(gn,"Comparators/NaturalOrderComparator",763),_(1203,1,SX,Ue),h.Le=function(t,r){return Qon(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return h0(),VQ},k(gn,"Comparators/ReverseNaturalOrderComparator",1203),_(55,1,SX,Pn),h.Fb=function(t){return this===t},h.Le=function(t,r){return this.a.Le(r,t)},h.Me=function(){return this.a},k(gn,"Comparators/ReversedComparator",55),_(179,63,vp,$c),k(gn,"ConcurrentModificationException",179);var ixt,oxt;_(1364,1,AD,bt),h.Ne=function(t){$gt(this,t)},h.Ib=function(){return"DoubleSummaryStatistics[count = "+x3(this.a)+", avg = "+(Tq(this.a,0)?ype(this)/$b(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+ype(this)+"]"},h.a=0,h.b=Li,h.c=Kr,h.d=0,h.e=0,h.f=0,k(gn,"DoubleSummaryStatistics",1364),_(1864,63,vp,gZe),k(gn,"EmptyStackException",1864),_(453,2044,j0,cC),h.yc=function(t,r){return Xde(this,t,r)},h.$b=function(){Wst(this)},h._b=function(t){return ett(this,t)},h.uc=function(t){var r,o;for(o=new fS(this.a);o.a<o.c.a.length;)if(r=U3(o),ia(t,this.b[r.g]))return!0;return!1},h.vc=function(){return new ZKe(this)},h.xc=function(t){return Wo(this,t)},h.Ac=function(t){return Ghe(this,t)},h.gc=function(){return this.a.c},k(gn,"EnumMap",453),_(1304,tf,wu,ZKe),h.$b=function(){Wst(this.a)},h.Gc=function(t){return dct(this,t)},h.Jc=function(){return new Bot(this.a)},h.Kc=function(t){var r;return dct(this,t)?(r=l(t,45).jd(),Ghe(this.a,r),!0):!1},h.gc=function(){return this.a.a.c},k(gn,"EnumMap/EntrySet",1304),_(1305,1,Wi,Bot),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.b=U3(this.a),new ntt(this.c,this.b)},h.Ob=function(){return cde(this.a)},h.Qb=function(){Hw(!!this.b),Ghe(this.c,this.b),this.b=null},k(gn,"EnumMap/EntrySetIterator",1305),_(1306,2061,EX,ntt),h.jd=function(){return this.a},h.kd=function(){return this.b.b[this.a.g]},h.ld=function(t){return $fe(this.b.b,this.a.g,t)},k(gn,"EnumMap/MapEntry",1306),_(185,tf,{22:1,32:1,18:1,185:1,24:1});var sxt=k(gn,"EnumSet",185);_(167,185,{22:1,32:1,18:1,185:1,167:1,24:1},Hc),h.Ec=function(t){return Jl(this,l(t,23))},h.Gc=function(t){return zV(this,t)},h.Jc=function(){return new fS(this)},h.Kc=function(t){return Zot(this,t)},h.gc=function(){return this.c},h.c=0,k(gn,"EnumSet/EnumSetImpl",167),_(357,1,Wi,fS),h.Nb=function(t){so(this,t)},h.Pb=function(){return U3(this)},h.Ob=function(){return cde(this)},h.Qb=function(){Hw(this.b!=-1),ii(this.c.b,this.b,null),--this.c.c,this.b=-1},h.a=-1,h.b=-1,k(gn,"EnumSet/EnumSetImpl/IteratorImpl",357),_(44,487,DE,hn,dS,jnt),h.ze=function(t,r){return be(t)===be(r)||t!=null&&pr(t,r)},h.Ae=function(t){var r;return t==null?0:(r=Rr(t),r|0)},k(gn,"HashMap",44),_(47,tf,lwe,hi,U9,Kw),h.Ec=function(t){return pi(this,t)},h.$b=function(){this.a.$b()},h.Gc=function(t){return bl(this,t)},h.dc=function(){return this.a.gc()==0},h.Jc=function(){return this.a.ec().Jc()},h.Kc=function(t){return mde(this,t)},h.gc=function(){return this.a.gc()};var j3n=k(gn,"HashSet",47);_(1884,1,mD,kt),h.Bd=function(t){Mht(this,t)},h.Ib=function(){return"IntSummaryStatistics[count = "+x3(this.a)+", avg = "+(Tq(this.a,0)?$b(this.d)/$b(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+x3(this.d)+"]"},h.a=0,h.b=Qi,h.c=sr,h.d=0,k(gn,"IntSummaryStatistics",1884),_(1054,1,Eh,Fnt),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new Cpe(this)},h.c=0,k(gn,"InternalHashCodeMap",1054),_(723,1,Wi,Cpe),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.d=this.a[this.c++],this.d},h.Ob=function(){var t;return this.c<this.a.length?!0:(t=this.b.next(),t.done?!1:(this.a=t.value[1],this.c=0,!0))},h.Qb=function(){Tme(this.e,this.d.jd()),this.c!=0&&--this.c},h.c=0,h.d=null,k(gn,"InternalHashCodeMap/1",723);var axt;_(1052,1,Eh,$nt),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new cpe(this)},h.c=0,h.d=0,k(gn,"InternalStringMap",1052),_(722,1,Wi,cpe),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.c=this.a,this.a=this.b.next(),new Jit(this.d,this.c,this.d.d)},h.Ob=function(){return!this.a.done},h.Qb=function(){Fht(this.d,this.c.value[0])},k(gn,"InternalStringMap/1",722),_(1053,2061,EX,Jit),h.jd=function(){return this.b.value[0]},h.kd=function(){return this.a.d!=this.c?e3(this.a,this.b.value[0]):this.b.value[1]},h.ld=function(t){return _0(this.a,this.b.value[0],t)},h.c=0,k(gn,"InternalStringMap/2",1053),_(226,44,DE,d1,Npe),h.$b=function(){yit(this)},h._b=function(t){return ttt(this,t)},h.uc=function(t){var r;for(r=this.d.a;r!=this.d;){if(ia(r.e,t))return!0;r=r.a}return!1},h.vc=function(){return new dce(this)},h.xc=function(t){return Wd(this,t)},h.yc=function(t,r){return Jb(this,t,r)},h.Ac=function(t){return $dt(this,t)},h.gc=function(){return WN(this.e)},h.c=!1,k(gn,"LinkedHashMap",226),_(395,392,{483:1,392:1,395:1,45:1},Grt,xfe),k(gn,"LinkedHashMap/ChainEntry",395),_(711,tf,wu,dce),h.$b=function(){yit(this.a)},h.Gc=function(t){return fct(this,t)},h.Jc=function(){return new fhe(this)},h.Kc=function(t){var r;return fct(this,t)?(r=l(t,45).jd(),$dt(this.a,r),!0):!1},h.gc=function(){return WN(this.a.e)},k(gn,"LinkedHashMap/EntrySet",711),_(712,1,Wi,fhe),h.Nb=function(t){so(this,t)},h.Pb=function(){return zdt(this)},h.Ob=function(){return this.c!=this.d.a.d},h.Qb=function(){Hw(!!this.a),RV(this.d.a.e.g,this.b),Mfe(this.a),FS(this.d.a.e,this.a.d),this.b=this.d.a.e.g,this.a=null},h.b=0,k(gn,"LinkedHashMap/EntrySet/EntryIterator",712),_(184,47,lwe,uh,mV,zfe);var F3n=k(gn,"LinkedHashSet",184);_(66,2041,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1},Ar,CV),h.Ec=function(t){return Gn(this,t)},h.$b=function(){tc(this)},h.dd=function(t){return An(this,t)},h.gc=function(){return this.b},h.b=0;var $3n=k(gn,"LinkedList",66);_(972,1,vh,Zit),h.Nb=function(t){so(this,t)},h.Rb=function(t){yP(this,t)},h.Ob=function(){return oO(this)},h.Sb=function(){return this.b.b!=this.d.a},h.Pb=function(){return Sn(this)},h.Tb=function(){return this.a},h.Ub=function(){return Qut(this)},h.Vb=function(){return this.a-1},h.Qb=function(){fK(this)},h.Wb=function(t){Hw(!!this.c),this.c.c=t},h.a=0,h.c=null,k(gn,"LinkedList/ListIteratorImpl",972),_(614,1,{},ht),k(gn,"LinkedList/Node",614),_(2036,1,{});var g2e,uxt;k(gn,"Locale",2036),_(863,2036,{},Xt),h.Ib=function(){return""},k(gn,"Locale/1",863),_(864,2036,{},vt),h.Ib=function(){return"unknown"},k(gn,"Locale/4",864),_(113,63,{3:1,102:1,63:1,81:1,113:1},vs,oat),k(gn,"NoSuchElementException",113),_(461,1,{461:1},sq),h.Fb=function(t){var r;return t===this?!0:ae(t,461)?(r=l(t,461),ia(this.a,r.a)):!1},h.Hb=function(){return nE(this.a)},h.Ib=function(){return this.a!=null?ZEt+y3(this.a)+")":"Optional.empty()"};var b2e;k(gn,"Optional",461),_(405,1,{405:1},Int,vV),h.Fb=function(t){var r;return t===this?!0:ae(t,405)?(r=l(t,405),this.a==r.a&&yr(this.b,r.b)==0):!1},h.Hb=function(){return this.a?go(this.b):0},h.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},h.a=!1,h.b=0;var WQ;k(gn,"OptionalDouble",405),_(514,1,{514:1},Rnt,Wrt),h.Fb=function(t){var r;return t===this?!0:ae(t,514)?(r=l(t,514),this.a==r.a&&na(this.b,r.b)==0):!1},h.Hb=function(){return this.a?this.b:0},h.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},h.a=!1,h.b=0;var cxt;k(gn,"OptionalInt",514),_(500,2082,Cy,gP),h.Fc=function(t){return obe(this,t)},h.$b=function(){Mw(this.b.c,0)},h.Gc=function(t){return(t==null?-1:_s(this.b,t,0))!=-1},h.Jc=function(){return new XKe(this)},h.Kc=function(t){return aht(this,t)},h.gc=function(){return this.b.c.length},h.Lc=function(){return new St(this,256)},h.Nc=function(){return Q8(this.b.c)},h.Oc=function(t){return Yd(this.b,t)},k(gn,"PriorityQueue",500),_(1272,1,Wi,XKe),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a<this.c.b.c.length},h.Pb=function(){return un(this.a<this.c.b.c.length),this.b=this.a++,ze(this.c.b,this.b)},h.Qb=function(){Hw(this.b!=-1),yK(this.c,this.a=this.b),this.b=-1},h.a=0,h.b=-1,k(gn,"PriorityQueue/1",1272),_(237,1,{237:1},rY,WP),h.a=0,h.b=0;var m2e,w2e,B3n=0;k(gn,"Random",237),_(27,1,Tc,St,Zw,hat),h.yd=function(t){return(this.a&t)!=0},h.wd=function(){return this.a},h.xd=function(){return Zfe(this),this.c},h.Nb=function(t){Zfe(this),this.d.Nb(t)},h.zd=function(t){return cft(this,t)},h.a=0,h.c=0,k(gn,"Spliterators/IteratorSpliterator",27),_(484,27,Tc,r8),k(gn,"SortedSet/1",484),_(607,1,AD,fce),h.Ne=function(t){this.a.Ad(t)},k(gn,"Spliterator/OfDouble/0methodref$accept$Type",607),_(608,1,AD,hce),h.Ne=function(t){this.a.Ad(t)},k(gn,"Spliterator/OfDouble/1methodref$accept$Type",608),_(609,1,mD,pce),h.Bd=function(t){this.a.Ad(Re(t))},k(gn,"Spliterator/OfInt/2methodref$accept$Type",609),_(610,1,mD,gce),h.Bd=function(t){this.a.Ad(Re(t))},k(gn,"Spliterator/OfInt/3methodref$accept$Type",610),_(623,1,Tc),h.Nb=function(t){ile(this,t)},h.yd=function(t){return(this.d&t)!=0},h.wd=function(){return this.d},h.xd=function(){return this.e},h.d=0,h.e=0,k(gn,"Spliterators/BaseSpliterator",623),_(731,623,Tc),h.Oe=function(t){Wv(this,t)},h.Nb=function(t){ae(t,191)?Wv(this,l(t,191)):Wv(this,new hce(t))},h.zd=function(t){return ae(t,191)?this.Pe(l(t,191)):this.Pe(new fce(t))},k(gn,"Spliterators/AbstractDoubleSpliterator",731),_(730,623,Tc),h.Oe=function(t){Wv(this,t)},h.Nb=function(t){ae(t,204)?Wv(this,l(t,204)):Wv(this,new gce(t))},h.zd=function(t){return ae(t,204)?this.Pe(l(t,204)):this.Pe(new pce(t))},k(gn,"Spliterators/AbstractIntSpliterator",730),_(489,623,Tc),k(gn,"Spliterators/AbstractSpliterator",489),_(702,1,Tc),h.Nb=function(t){ile(this,t)},h.yd=function(t){return(this.b&t)!=0},h.wd=function(){return this.b},h.xd=function(){return this.d-this.c},h.b=0,h.c=0,h.d=0,k(gn,"Spliterators/BaseArraySpliterator",702),_(952,702,Tc,kot),h.Qe=function(t,r){kQt(this,l(t,42),r)},h.Nb=function(t){dW(this,t)},h.zd=function(t){return QP(this,t)},k(gn,"Spliterators/ArraySpliterator",952),_(703,702,Tc,Bit),h.Qe=function(t,r){NQt(this,l(t,191),r)},h.Oe=function(t){dW(this,t)},h.Nb=function(t){ae(t,191)?dW(this,l(t,191)):dW(this,new hce(t))},h.Pe=function(t){return QP(this,t)},h.zd=function(t){return ae(t,191)?QP(this,l(t,191)):QP(this,new fce(t))},k(gn,"Spliterators/DoubleArraySpliterator",703),_(2045,1,Tc),h.Nb=function(t){ile(this,t)},h.yd=function(t){return(16448&t)!=0},h.wd=function(){return 16448},h.xd=function(){return 0};var lxt;k(gn,"Spliterators/EmptySpliterator",2045),_(951,2045,Tc,Ct),h.Oe=function(t){Kue(t)},h.Nb=function(t){ae(t,204)?Kue(l(t,204)):Kue(new gce(t))},h.Pe=function(t){return Tle(t)},h.zd=function(t){return ae(t,204)?Tle(l(t,204)):Tle(new pce(t))},k(gn,"Spliterators/EmptySpliterator/OfInt",951),_(581,56,y2t,O9),h._c=function(t,r){t_(t,this.a.c.length+1),Nb(this.a,t,r)},h.Ec=function(t){return Fe(this.a,t)},h.ad=function(t,r){return t_(t,this.a.c.length+1),Jge(this.a,t,r)},h.Fc=function(t){return li(this.a,t)},h.$b=function(){Mw(this.a.c,0)},h.Gc=function(t){return _s(this.a,t,0)!=-1},h.Hc=function(t){return N6(this.a,t)},h.Ic=function(t){La(this.a,t)},h.Xb=function(t){return t_(t,this.a.c.length),ze(this.a,t)},h.bd=function(t){return _s(this.a,t,0)},h.dc=function(){return this.a.c.length==0},h.Jc=function(){return new V(this.a)},h.ed=function(t){return t_(t,this.a.c.length),sg(this.a,t)},h.ae=function(t,r){Iut(this.a,t,r)},h.fd=function(t,r){return t_(t,this.a.c.length),nc(this.a,t,r)},h.gc=function(){return this.a.c.length},h.gd=function(t){xi(this.a,t)},h.hd=function(t,r){return new Rf(this.a,t,r)},h.Nc=function(){return Q8(this.a.c)},h.Oc=function(t){return Yd(this.a,t)},h.Ib=function(){return Qd(this.a)},k(gn,"Vector",581),_(582,581,y2t,D9),k(gn,"Stack",582),_(215,1,{215:1},qb),h.Ib=function(){return Zut(this)},k(gn,"StringJoiner",215),_(545,2069,{3:1,93:1,141:1,136:1},Bet,XV),h.$b=function(){fQe(this)},h.Be=function(){return new oct(this)},h.vc=function(){return new Frt(this)},h.Ce=function(t){return $_(this,t,!0)},h.De=function(t){return _pt(this,t)},h.Ee=function(){return jpe(this)},h.Fe=function(t){return B6(this,t,!0)},h.Ge=function(t){return $_(this,t,!1)},h.He=function(){return gdt(this)},h.Ie=function(t){return B6(this,t,!1)},h.Xc=function(t,r){return Cut(this,t,r)},h.yc=function(t,r){return dpt(this,t,r)},h.Ac=function(t){return Jat(this,t)},h.Je=function(t){return xpe(this,t)},h.gc=function(){return this.c},h.$c=function(t,r){return Nut(this,t,r)},h.c=0,k(gn,"TreeMap",545),_(546,1,Wi,oct,TK),h.Nb=function(t){so(this,t)},h.Pb=function(){return Hrt(this)},h.Ob=function(){return _q(this.a)},h.Qb=function(){Wit(this)},k(gn,"TreeMap/EntryIterator",546),_(1123,627,wu,Frt),h.$b=function(){fQe(this.a)},k(gn,"TreeMap/EntrySet",1123),_(443,392,{483:1,392:1,45:1,443:1},QW),h.b=!1;var U3n=k(gn,"TreeMap/Node",443);_(628,1,{},Ft),h.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},h.a=!1,h.b=!1,h.c=!1,k(gn,"TreeMap/State",628),_(629,2069,nwe,QY),h.Be=function(){return new TK(this.c,this.f,this.b,this.a,this.e,this.d)},h.vc=function(){return new qG(this)},h.Ce=function(t){return J8(this,$_(this.c,t,!0))},h.De=function(t){return J8(this,_pt(this.c,t))},h.Ee=function(){var t;return this.f.Re()?this.a?t=$_(this.c,this.b,!0):t=$_(this.c,this.b,!1):t=jpe(this.c),t&&SP(this,t.d)?t:null},h.Fe=function(t){return J8(this,B6(this.c,t,!0))},h.Ge=function(t){return J8(this,$_(this.c,t,!1))},h.He=function(){var t;return this.f.Se()?this.d?t=B6(this.c,this.e,!0):t=B6(this.c,this.e,!1):t=gdt(this.c),t&&SP(this,t.d)?t:null},h.Ie=function(t){return J8(this,B6(this.c,t,!1))},h.Xc=function(t,r){if(this.f.Se()&&this.c.a.Le(t,this.e)>0)throw Y(new jt(hwe+t+" greater than "+this.e));return this.f.Re()?Yat(this.c,this.b,this.a,t,r):Cut(this.c,t,r)},h.yc=function(t,r){if(!jY(this.c,this.f,t,this.b,this.a,this.e,this.d))throw Y(new jt(t+" outside the range "+this.b+" to "+this.e));return dpt(this.c,t,r)},h.Ac=function(t){var r;return r=t,jY(this.c,this.f,r,this.b,this.a,this.e,this.d)?Jat(this.c,r):null},h.Je=function(t){return SP(this,t.jd())&&xpe(this.c,t)},h.gc=function(){var t,r,o;if(this.f.Re()?this.a?r=$_(this.c,this.b,!0):r=$_(this.c,this.b,!1):r=jpe(this.c),!(r&&SP(this,r.d)&&r))return 0;for(t=0,o=new TK(this.c,this.f,this.b,this.a,this.e,this.d);_q(o.a);o.b=l(khe(o.a),45))++t;return t},h.$c=function(t,r){if(this.f.Re()&&this.c.a.Le(t,this.b)<0)throw Y(new jt(hwe+t+v2t+this.b));return this.f.Se()?Yat(this.c,t,r,this.e,this.d):Nut(this.c,t,r)},h.a=!1,h.d=!1,k(gn,"TreeMap/SubMap",629),_(310,23,_X,i8),h.Re=function(){return!1},h.Se=function(){return!1};var KQ,YQ,JQ,XQ,p$=fn(gn,"TreeMap/SubMapType",310,bn,Xcn,drn);_(1124,310,_X,qnt),h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/1",1124,p$,null,null),_(1125,310,_X,rrt),h.Re=function(){return!0},h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/2",1125,p$,null,null),_(1126,310,_X,Vnt),h.Re=function(){return!0},fn(gn,"TreeMap/SubMapType/3",1126,p$,null,null);var dxt;_(143,tf,{3:1,22:1,32:1,18:1,279:1,24:1,85:1,143:1},ZG,Ide,Qp,IA),h.Lc=function(){return new r8(this)},h.Ec=function(t){return qO(this,t)},h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a._b(t)},h.Jc=function(){return this.a.ec().Jc()},h.Kc=function(t){return gV(this,t)},h.gc=function(){return this.a.gc()};var H3n=k(gn,"TreeSet",143);_(1063,1,{},QKe),h.Te=function(t,r){return Inn(this.a,t,r)},k(xX,"BinaryOperator/lambda$0$Type",1063),_(1064,1,{},eYe),h.Te=function(t,r){return Rnn(this.a,t,r)},k(xX,"BinaryOperator/lambda$1$Type",1064),_(944,1,{},Zn),h.Kb=function(t){return t},k(xX,"Function/lambda$0$Type",944),_(390,1,Mn,RA),h.Mb=function(t){return!this.a.Mb(t)},k(xX,"Predicate/lambda$2$Type",390),_(574,1,{574:1});var fxt=k(zC,"Handler",574);_(2086,1,gD),h.ve=function(){return"DUMMY"},h.Ib=function(){return this.ve()};var y2e;k(zC,"Level",2086),_(1689,2086,gD,Yn),h.ve=function(){return"INFO"},k(zC,"Level/LevelInfo",1689),_(1841,1,{},yZe);var ZQ;k(zC,"LogManager",1841),_(1883,1,gD,Qit),h.b=null,k(zC,"LogRecord",1883),_(515,1,{515:1},zW),h.e=!1;var hxt=!1,pxt=!1,sf=!1,gxt=!1,bxt=!1;k(zC,"Logger",515),_(827,574,{574:1},vr),k(zC,"SimpleConsoleLogHandler",827),_(132,23,{3:1,34:1,23:1,132:1},xq);var v2e,nu,E2e,ru=fn(Bo,"Collector/Characteristics",132,bn,Mun,frn),mxt;_(753,1,{},ohe),k(Bo,"CollectorImpl",753),_(1061,1,{},On),h.Te=function(t,r){return agn(l(t,215),l(r,215))},k(Bo,"Collectors/10methodref$merge$Type",1061),_(1062,1,{},Xs),h.Kb=function(t){return Zut(l(t,215))},k(Bo,"Collectors/11methodref$toString$Type",1062),_(153,1,{},ls),h.Wd=function(t,r){l(t,18).Ec(r)},k(Bo,"Collectors/20methodref$add$Type",153),_(155,1,{},Qo),h.Ve=function(){return new je},k(Bo,"Collectors/21methodref$ctor$Type",155),_(1060,1,{},Ca),h.Wd=function(t,r){up(l(t,215),l(r,475))},k(Bo,"Collectors/9methodref$add$Type",1060),_(1059,1,{},hot),h.Ve=function(){return new qb(this.a,this.b,this.c)},k(Bo,"Collectors/lambda$15$Type",1059),_(154,1,{},Ni),h.Te=function(t,r){return uen(l(t,18),l(r,18))},k(Bo,"Collectors/lambda$45$Type",154),_(542,1,{}),h.Ye=function(){D3(this)},h.d=!1,k(Bo,"TerminatableStream",542),_(775,542,pwe,zde),h.Ye=function(){D3(this)},k(Bo,"DoubleStreamImpl",775),_(1309,731,Tc,pot),h.Pe=function(t){return Fbn(this,l(t,191))},h.a=null,k(Bo,"DoubleStreamImpl/2",1309),_(1310,1,AD,tYe),h.Ne=function(t){ntn(this.a,t)},k(Bo,"DoubleStreamImpl/2/lambda$0$Type",1310),_(1307,1,AD,nYe),h.Ne=function(t){ttn(this.a,t)},k(Bo,"DoubleStreamImpl/lambda$0$Type",1307),_(1308,1,AD,rYe),h.Ne=function(t){$gt(this.a,t)},k(Bo,"DoubleStreamImpl/lambda$2$Type",1308),_(1363,730,Tc,dlt),h.Pe=function(t){return Hcn(this,l(t,204))},h.a=0,h.b=0,h.c=0,k(Bo,"IntStream/5",1363),_(800,542,pwe,Gde),h.Ye=function(){D3(this)},h.Ze=function(){return u1(this),this.a},k(Bo,"IntStreamImpl",800),_(801,542,pwe,ple),h.Ye=function(){D3(this)},h.Ze=function(){return u1(this),bde(),lxt},k(Bo,"IntStreamImpl/Empty",801),_(1668,1,mD,iYe),h.Bd=function(t){Mht(this.a,t)},k(Bo,"IntStreamImpl/lambda$4$Type",1668);var z3n=Hr(Bo,"Stream");_(28,542,{524:1,684:1,840:1},Et),h.Ye=function(){D3(this)};var TT;k(Bo,"StreamImpl",28),_(1083,489,Tc,Uit),h.zd=function(t){for(;$dn(this);){if(this.a.zd(t))return!0;D3(this.b),this.b=null,this.a=null}return!1},k(Bo,"StreamImpl/1",1083),_(1084,1,nn,oYe),h.Ad=function(t){Eon(this.a,l(t,840))},k(Bo,"StreamImpl/1/lambda$0$Type",1084),_(1085,1,Mn,sYe),h.Mb=function(t){return pi(this.a,t)},k(Bo,"StreamImpl/1methodref$add$Type",1085),_(1086,489,Tc,Aat),h.zd=function(t){var r;return this.a||(r=new je,this.b.a.Nb(new aYe(r)),At(),xi(r,this.c),this.a=new St(r,16)),cft(this.a,t)},h.a=null,k(Bo,"StreamImpl/5",1086),_(1087,1,nn,aYe),h.Ad=function(t){Fe(this.a,t)},k(Bo,"StreamImpl/5/2methodref$add$Type",1087),_(732,489,Tc,Lpe),h.zd=function(t){for(this.b=!1;!this.b&&this.c.zd(new rtt(this,t)););return this.b},h.b=!1,k(Bo,"StreamImpl/FilterSpliterator",732),_(1077,1,nn,rtt),h.Ad=function(t){gsn(this.a,this.b,t)},k(Bo,"StreamImpl/FilterSpliterator/lambda$0$Type",1077),_(1072,731,Tc,vlt),h.Pe=function(t){return Knn(this,l(t,191))},k(Bo,"StreamImpl/MapToDoubleSpliterator",1072),_(1076,1,nn,itt),h.Ad=function(t){Aen(this.a,this.b,t)},k(Bo,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1076),_(1071,730,Tc,Elt),h.Pe=function(t){return Ynn(this,l(t,204))},k(Bo,"StreamImpl/MapToIntSpliterator",1071),_(1075,1,nn,ott),h.Ad=function(t){_en(this.a,this.b,t)},k(Bo,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1075),_(729,489,Tc,Epe),h.zd=function(t){return $it(this,t)},k(Bo,"StreamImpl/MapToObjSpliterator",729),_(1074,1,nn,stt),h.Ad=function(t){xen(this.a,this.b,t)},k(Bo,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1074),_(1073,489,Tc,Jft),h.zd=function(t){for(;Tq(this.b,0);){if(!this.a.zd(new Qr))return!1;this.b=El(this.b,1)}return this.a.zd(t)},h.b=0,k(Bo,"StreamImpl/SkipSpliterator",1073),_(1078,1,nn,Qr),h.Ad=function(t){},k(Bo,"StreamImpl/SkipSpliterator/lambda$0$Type",1078),_(624,1,nn,Hi),h.Ad=function(t){zKe(this,t)},k(Bo,"StreamImpl/ValueConsumer",624),_(1079,1,nn,ai),h.Ad=function(t){_b()},k(Bo,"StreamImpl/lambda$0$Type",1079),_(1080,1,nn,jc),h.Ad=function(t){_b()},k(Bo,"StreamImpl/lambda$1$Type",1080),_(1081,1,{},uYe),h.Te=function(t,r){return mrn(this.a,t,r)},k(Bo,"StreamImpl/lambda$4$Type",1081),_(1082,1,nn,att),h.Ad=function(t){Hnn(this.b,this.a,t)},k(Bo,"StreamImpl/lambda$5$Type",1082),_(1088,1,nn,cYe),h.Ad=function(t){$hn(this.a,l(t,376))},k(Bo,"TerminatableStream/lambda$0$Type",1088),_(2121,1,{}),_(1993,1,{},Ui),k("javaemul.internal","ConsoleLogger",1993);var G3n=0;_(2113,1,{}),_(1817,1,nn,mb),h.Ad=function(t){l(t,322)},k(hx,"BowyerWatsonTriangulation/lambda$0$Type",1817),_(1818,1,nn,lYe),h.Ad=function(t){mo(this.a,l(t,322).e)},k(hx,"BowyerWatsonTriangulation/lambda$1$Type",1818),_(1819,1,nn,Yg),h.Ad=function(t){l(t,180)},k(hx,"BowyerWatsonTriangulation/lambda$2$Type",1819),_(1814,1,Un,dYe),h.Le=function(t,r){return Rln(this.a,l(t,180),l(r,180))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(hx,"NaiveMinST/lambda$0$Type",1814),_(401,1,{},OA),k(hx,"NodeMicroLayout",401),_(180,1,{180:1},hS),h.Fb=function(t){var r;return ae(t,180)?(r=l(t,180),ia(this.a,r.a)&&ia(this.b,r.b)||ia(this.a,r.b)&&ia(this.b,r.a)):!1},h.Hb=function(){return nE(this.a)+nE(this.b)};var q3n=k(hx,"TEdge",180);_(322,1,{322:1},N0e),h.Fb=function(t){var r;return ae(t,322)?(r=l(t,322),sj(this,r.a)&&sj(this,r.b)&&sj(this,r.c)):!1},h.Hb=function(){return nE(this.a)+nE(this.b)+nE(this.c)},k(hx,"TTriangle",322),_(227,1,{227:1},D8),k(hx,"Tree",227),_(1195,1,{},vut),k(T2t,"Scanline",1195);var wxt=Hr(T2t,A2t);_(1745,1,{},lft),k(Ah,"CGraph",1745),_(321,1,{321:1},sut),h.b=0,h.c=0,h.d=0,h.g=0,h.i=0,h.k=Li,k(Ah,"CGroup",321),_(821,1,{},Oce),k(Ah,"CGroup/CGroupBuilder",821),_(60,1,{60:1},Sit),h.Ib=function(){var t;return this.j?In(this.j.Kb(this)):(np(g$),g$.o+"@"+(t=s0(this)>>>0,t.toString(16)))},h.f=0,h.i=Li;var g$=k(Ah,"CNode",60);_(820,1,{},Dce),k(Ah,"CNode/CNodeBuilder",820);var yxt;_(1568,1,{},Wh),h.df=function(t,r){return 0},h.ef=function(t,r){return 0},k(Ah,x2t,1568),_(1847,1,{},wb),h.af=function(t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z;for(v=Kr,a=new V(t.a.b);a.a<a.c.c.length;)r=l(q(a),60),v=b.Math.min(v,r.a.j.d.c+r.b.a);for(M=new Ar,p=new V(t.a.a);p.a<p.c.c.length;)f=l(q(p),321),f.k=v,f.g==0&&Wr(M,f,M.c.b,M.c);for(;M.b!=0;){for(f=l(M.b==0?null:(un(M.b!=0),Vc(M,M.a.a)),321),u=f.j.d.c,O=f.a.a.ec().Jc();O.Ob();)T=l(O.Pb(),60),z=f.k+T.b.a,!Gpn(t,f,t.d)||T.d.c<z?T.i=z:T.i=T.d.c;for(u-=f.j.i,f.b+=u,t.d==(vi(),fs)||t.d==ff?f.c+=u:f.c-=u,N=f.a.a.ec().Jc();N.Ob();)for(T=l(N.Pb(),60),y=T.c.Jc();y.Ob();)m=l(y.Pb(),60),ep(t.d)?U=t.g.df(T,m):U=t.g.ef(T,m),m.a.k=b.Math.max(m.a.k,T.i+T.d.b+U-m.b.a),Lat(t,m,t.d)&&(m.a.k=b.Math.max(m.a.k,m.d.c-m.b.a)),--m.a.g,m.a.g==0&&Gn(M,m.a)}for(o=new V(t.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.d.c=r.i},k(Ah,"LongestPathCompaction",1847),_(1743,1,{},h0t),h.e=!1;var vxt,Ext,Sxt,QQ=k(Ah,C2t,1743);_(1744,1,nn,fYe),h.Ad=function(t){Xhn(this.a,l(t,49))},k(Ah,I2t,1744),_(1848,1,{},Wp),h.bf=function(t){var r,o,a,u,f,p,m;for(o=new V(t.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.c.$b();for(u=new V(t.a.b);u.a<u.c.c.length;)for(a=l(q(u),60),p=new V(t.a.b);p.a<p.c.c.length;)f=l(q(p),60),a!=f&&(a.a&&a.a==f.a||(ep(t.d)?m=t.g.ef(a,f):m=t.g.df(a,f),(f.d.c>a.d.c||a.d.c==f.d.c&&a.d.b<f.d.b)&&T1n(f.d.d+f.d.a+m,a.d.d)&&P1e(f.d.d,a.d.d+a.d.a+m)&&a.c.Ec(f)))},k(Ah,"QuadraticConstraintCalculation",1848),_(520,1,{520:1},YG),h.a=!1,h.b=!1,h.c=!1,h.d=!1,k(Ah,R2t,520),_(811,1,{},Gfe),h.bf=function(t){this.c=t,X6(this,new X2)},k(Ah,O2t,811),_(1771,1,{690:1},jat),h._e=function(t){Myn(this,l(t,466))},k(Ah,D2t,1771),_(1772,1,Un,Ow),h.Le=function(t,r){return wan(l(t,60),l(r,60))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ah,L2t,1772),_(466,1,{466:1},kle),h.a=!1,k(Ah,M2t,466),_(1773,1,Un,Kh),h.Le=function(t,r){return Xmn(l(t,466),l(r,466))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ah,P2t,1773),_(1774,1,Uf,X2),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},k(Ah,"ScanlineConstraintCalculator/lambda$1$Type",1774),_(220,1,{220:1},Jg),h.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},h.a=1,h.b=0,h.c=0,h.f=!1,h.g=0;var Txt=k(GC,"NEdge",220);_(186,1,{},gl),k(GC,"NEdge/NEdgeBuilder",186),_(658,1,{},XG),k(GC,"NGraph",658),_(126,1,{126:1},_lt),h.c=-1,h.d=0,h.e=0,h.i=-1,h.j=!1;var S2e=k(GC,"NNode",126);_(802,1,w2t,Rce),h.Ic=function(t){lo(this,t)},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new Et(null,new St(this,16))},h._c=function(t,r){++this.b,Nb(this.a,t,r)},h.Ec=function(t){return F8(this,t)},h.ad=function(t,r){return++this.b,Jge(this.a,t,r)},h.Fc=function(t){return++this.b,li(this.a,t)},h.$b=function(){++this.b,Mw(this.a.c,0)},h.Gc=function(t){return _s(this.a,t,0)!=-1},h.Hc=function(t){return N6(this.a,t)},h.Xb=function(t){return ze(this.a,t)},h.bd=function(t){return _s(this.a,t,0)},h.dc=function(){return this.a.c.length==0},h.Jc=function(){return BS(new V(this.a))},h.cd=function(){throw Y(new Nn)},h.dd=function(t){throw Y(new Nn)},h.ed=function(t){return++this.b,sg(this.a,t)},h.Kc=function(t){return kde(this,t)},h.fd=function(t,r){return++this.b,nc(this.a,t,r)},h.gc=function(){return this.a.c.length},h.hd=function(t,r){return new Rf(this.a,t,r)},h.Nc=function(){return Q8(this.a.c)},h.Oc=function(t){return Yd(this.a,t)},h.b=0,k(GC,"NNode/ChangeAwareArrayList",802),_(276,1,{},Tb),k(GC,"NNode/NNodeBuilder",276),_(1677,1,{},yb),h.a=!1,h.f=sr,h.j=0,k(GC,"NetworkSimplex",1677),_(1290,1,nn,hYe),h.Ad=function(t){G0e(this.a,l(t,692),!0,!1)},k(j2t,"NodeLabelAndSizeCalculator/lambda$0$Type",1290),_(561,1,{},A9),h.b=!0,h.c=!0,h.d=!0,h.e=!0,k(j2t,"NodeMarginCalculator",561),_(219,1,{219:1}),h.j=!1,h.k=!1;var Axt=k(rm,"Cell",219);_(129,219,{129:1,219:1},Eit),h.ff=function(){return eP(this)},h.gf=function(){var t;return t=this.n,this.a.a+t.b+t.c},k(rm,"AtomicCell",129),_(240,23,{3:1,34:1,23:1,240:1},kq);var Bs,$a,Us,jy=fn(rm,"ContainerArea",240,bn,Pun,hrn),_xt;_(338,219,F2t),k(rm,"ContainerCell",338),_(1516,338,F2t,jgt),h.ff=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].ff()):t=T1e(this,V1t(this,!0)),t>0?t+this.n.d+this.n.a:0},h.gf=function(){var t,r,o,a,u;if(u=0,this.e)this.b?u=this.b.a:this.a[1][1]&&(u=this.a[1][1].gf());else if(this.g)u=T1e(this,$Y(this,null,!0));else for(r=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])),o=0,a=r.length;o<a;++o)t=r[o],u=b.Math.max(u,T1e(this,$Y(this,t,!0)));return u>0?u+this.n.b+this.n.c:0},h.hf=function(){var t,r,o,a,u;if(this.g)for(t=$Y(this,null,!1),o=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])),a=0,u=o.length;a<u;++a)r=o[a],Fwt(this,r,t);else for(o=(Sd(),Z(X(jy,1),Ce,240,0,[Bs,$a,Us])),a=0,u=o.length;a<u;++a)r=o[a],t=$Y(this,r,!1),Fwt(this,r,t)},h.jf=function(){var t,r,o,a;r=this.i,t=this.n,a=V1t(this,!1),mpe(this,(Sd(),Bs),r.d+t.d,a),mpe(this,Us,r.d+r.a-t.a-a[2],a),o=r.a-t.d-t.a,a[0]>0&&(a[0]+=this.d,o-=a[0]),a[2]>0&&(a[2]+=this.d,o-=a[2]),this.c.a=b.Math.max(0,o),this.c.d=r.d+t.d+(this.c.a-o)/2,a[1]=b.Math.max(a[1],o),mpe(this,$a,r.d+t.d+a[0]-(a[1]-o)/2,a)},h.b=null,h.d=0,h.e=!1,h.f=!1,h.g=!1;var eee=0,b$=0;k(rm,"GridContainerCell",1516),_(464,23,{3:1,34:1,23:1,464:1},Nq);var L1,Wf,nd,xxt=fn(rm,"HorizontalLabelAlignment",464,bn,jun,prn),kxt;_(319,219,{219:1,319:1},Qat,dft,Gat),h.ff=function(){return Tot(this)},h.gf=function(){return Pfe(this)},h.a=0,h.c=!1;var V3n=k(rm,"LabelCell",319);_(256,338,{219:1,338:1,256:1},fC),h.ff=function(){return EC(this)},h.gf=function(){return SC(this)},h.hf=function(){xJ(this)},h.jf=function(){kJ(this)},h.b=0,h.c=0,h.d=!1,k(rm,"StripContainerCell",256),_(1672,1,Mn,Xg),h.Mb=function(t){return vQt(l(t,219))},k(rm,"StripContainerCell/lambda$0$Type",1672),_(1673,1,{},CN),h.We=function(t){return l(t,219).gf()},k(rm,"StripContainerCell/lambda$1$Type",1673),_(1674,1,Mn,IN),h.Mb=function(t){return EQt(l(t,219))},k(rm,"StripContainerCell/lambda$2$Type",1674),_(1675,1,{},Kp),h.We=function(t){return l(t,219).ff()},k(rm,"StripContainerCell/lambda$3$Type",1675),_(465,23,{3:1,34:1,23:1,465:1},Cq);var rd,M1,Nd,Nxt=fn(rm,"VerticalLabelAlignment",465,bn,Fun,grn),Cxt;_(794,1,{},V0e),h.c=0,h.d=0,h.k=0,h.s=0,h.t=0,h.v=!1,h.w=0,h.D=!1,h.F=!1,k(aF,"NodeContext",794),_(1514,1,Un,GR),h.Le=function(t,r){return Pnt(l(t,64),l(r,64))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(aF,"NodeContext/0methodref$comparePortSides$Type",1514),_(1515,1,Un,kA),h.Le=function(t,r){return Ewn(l(t,116),l(r,116))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(aF,"NodeContext/1methodref$comparePortContexts$Type",1515),_(169,23,{3:1,34:1,23:1,169:1},Kc);var Ixt,Rxt,Oxt,Dxt,Lxt,Mxt,Pxt,jxt,Fxt,$xt,Bxt,Uxt,Hxt,zxt,Gxt,qxt,Vxt,Wxt,Kxt,Yxt,Jxt,tee,Xxt=fn(aF,"NodeLabelLocation",169,bn,bY,brn),Zxt;_(116,1,{116:1},v0t),h.a=!1,k(aF,"PortContext",116),_(1519,1,nn,qR),h.Ad=function(t){tet(l(t,319))},k(xD,$2t,1519),_(1520,1,Mn,VR),h.Mb=function(t){return!!l(t,116).c},k(xD,B2t,1520),_(1521,1,nn,RN),h.Ad=function(t){tet(l(t,116).c)},k(xD,"LabelPlacer/lambda$2$Type",1521);var T2e;_(1518,1,nn,ON),h.Ad=function(t){qw(),QZt(l(t,116))},k(xD,"NodeLabelAndSizeUtilities/lambda$0$Type",1518),_(795,1,nn,gfe),h.Ad=function(t){hen(this.b,this.c,this.a,l(t,190))},h.a=!1,h.c=!1,k(xD,"NodeLabelCellCreator/lambda$0$Type",795),_(1517,1,nn,pYe),h.Ad=function(t){rQt(this.a,l(t,190))},k(xD,"PortContextCreator/lambda$0$Type",1517);var m$;_(1889,1,{},po),k(gx,"GreedyRectangleStripOverlapRemover",1889),_(1890,1,Un,Fc),h.Le=function(t,r){return Vtn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gx,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1890),_(1843,1,{},AZe),h.a=5,h.e=0,k(gx,"RectangleStripOverlapRemover",1843),_(1844,1,Un,Fl),h.Le=function(t,r){return Wtn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gx,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1844),_(1846,1,Un,Af),h.Le=function(t,r){return Isn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gx,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1846),_(414,23,{3:1,34:1,23:1,414:1},o8);var QD,nee,ree,eL,Qxt=fn(gx,"RectangleStripOverlapRemover/OverlapRemovalDirection",414,bn,Jcn,yrn),ekt;_(228,1,{228:1},VV),k(gx,"RectangleStripOverlapRemover/RectangleNode",228),_(1845,1,nn,gYe),h.Ad=function(t){Ybn(this.a,l(t,228))},k(gx,"RectangleStripOverlapRemover/lambda$1$Type",1845);var tkt=!1,vI,A2e;_(1815,1,nn,Z2),h.Ad=function(t){Ovt(l(t,227))},k(gT,"DepthFirstCompaction/0methodref$compactTree$Type",1815),_(817,1,nn,bce),h.Ad=function(t){ian(this.a,l(t,227))},k(gT,"DepthFirstCompaction/lambda$1$Type",817),_(1816,1,nn,Xit),h.Ad=function(t){j1n(this.a,this.b,this.c,l(t,227))},k(gT,"DepthFirstCompaction/lambda$2$Type",1816);var EI,_2e;_(68,1,{68:1},Sut),k(gT,"Node",68),_(1191,1,{},trt),k(gT,"ScanlineOverlapCheck",1191),_(1192,1,{690:1},$at),h._e=function(t){Pnn(this,l(t,445))},k(gT,"ScanlineOverlapCheck/OverlapsScanlineHandler",1192),_(1193,1,Un,pl),h.Le=function(t,r){return Egn(l(t,68),l(r,68))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gT,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1193),_(445,1,{445:1},Nle),h.a=!1,k(gT,"ScanlineOverlapCheck/Timestamp",445),_(1194,1,Un,sh),h.Le=function(t,r){return Zmn(l(t,445),l(r,445))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gT,"ScanlineOverlapCheck/lambda$0$Type",1194),_(549,1,{},Vm),k("org.eclipse.elk.alg.common.utils","SVGImage",549),_(755,1,{},ah),k(RX,Ewe,755),_(1176,1,Un,Yh),h.Le=function(t,r){return kvn(l(t,238),l(r,238))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(RX,z2t,1176),_(1177,1,nn,utt),h.Ad=function(t){Bun(this.b,this.a,l(t,254))},k(RX,Swe,1177),_(207,1,im),k(LE,"AbstractLayoutProvider",207),_(733,207,im,Lce),h.kf=function(t,r){lwt(this,t,r)},k(RX,"ForceLayoutProvider",733);var W3n=Hr(kD,G2t);_(151,1,{3:1,105:1,151:1},Q2),h.of=function(t,r){return C6(this,t,r)},h.lf=function(){return zot(this)},h.mf=function(t){return F(this,t)},h.nf=function(t){return gr(this,t)},k(kD,"MapPropertyHolder",151),_(314,151,{3:1,314:1,105:1,151:1}),k(ND,"FParticle",314),_(254,314,{3:1,254:1,314:1,105:1,151:1},Ist),h.Ib=function(){var t;return this.a?(t=_s(this.a.a,this,0),t>=0?"b"+t+"["+$W(this.a)+"]":"b["+$W(this.a)+"]"):"b_"+s0(this)},k(ND,"FBendpoint",254),_(292,151,{3:1,292:1,105:1,151:1},Tit),h.Ib=function(){return $W(this)},k(ND,"FEdge",292),_(238,151,{3:1,238:1,105:1,151:1},JP);var K3n=k(ND,"FGraph",238);_(448,314,{3:1,448:1,314:1,105:1,151:1},Lct),h.Ib=function(){return this.b==null||this.b.length==0?"l["+$W(this.a)+"]":"l_"+this.b},k(ND,"FLabel",448),_(156,314,{3:1,156:1,314:1,105:1,151:1},nrt),h.Ib=function(){return qhe(this)},h.a=0,k(ND,"FNode",156),_(2079,1,{}),h.qf=function(t){S0e(this,t)},h.rf=function(){G1t(this)},h.d=0,k(Twe,"AbstractForceModel",2079),_(638,2079,{638:1},Lht),h.pf=function(t,r){var o,a,u,f,p;return Pvt(this.f,t,r),u=Di(To(r.d),t.d),p=b.Math.sqrt(u.a*u.a+u.b*u.b),a=b.Math.max(0,p-O3(t.e)/2-O3(r.e)/2),o=l0t(this.e,t,r),o>0?f=-Tsn(a,this.c)*o:f=ann(a,this.b)*l(F(t,(ed(),AT)),15).a,tp(u,f/p),u},h.qf=function(t){S0e(this,t),this.a=l(F(t,(ed(),y$)),15).a,this.c=ue(ce(F(t,v$))),this.b=ue(ce(F(t,oee)))},h.sf=function(t){return t<this.a},h.a=0,h.b=0,h.c=0,k(Twe,"EadesModel",638),_(639,2079,{639:1},Oot),h.pf=function(t,r){var o,a,u,f,p;return Pvt(this.f,t,r),u=Di(To(r.d),t.d),p=b.Math.sqrt(u.a*u.a+u.b*u.b),a=b.Math.max(0,p-O3(t.e)/2-O3(r.e)/2),f=snn(a,this.a)*l(F(t,(ed(),AT)),15).a,o=l0t(this.e,t,r),o>0&&(f-=bQt(a,this.a)*o),tp(u,f*this.b/p),u},h.qf=function(t){var r,o,a,u,f,p,m;for(S0e(this,t),this.b=ue(ce(F(t,(ed(),see)))),this.c=this.b/l(F(t,y$),15).a,a=t.e.c.length,f=0,u=0,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),f+=p.e.a,u+=p.e.b;r=f*u,o=ue(ce(F(t,v$)))*nf,this.a=b.Math.sqrt(r/(2*a))*o},h.rf=function(){G1t(this),this.b-=this.c},h.sf=function(t){return this.b>0},h.a=0,h.b=0,h.c=0,k(Twe,"FruchtermanReingoldModel",639);var GE=Hr(Ns,"ILayoutMetaDataProvider");_(852,1,td,pWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uF),""),"Force Model"),"Determines the model for force calculation."),x2e),(A1(),$r)),k2e),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Awe),""),"Iterations"),"The number of iterations on the force model."),Re(300)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_we),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Re(0)),yo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,OX),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Hf),eo),fi),ct(xt)))),zr(t,OX,uF,ukt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,DX),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),eo),fi),ct(xt)))),zr(t,DX,uF,okt),xEt((new bWe,t))};var nkt,rkt,x2e,ikt,okt,skt,akt,ukt;k(VC,"ForceMetaDataProvider",852),_(429,23,{3:1,34:1,23:1,429:1},xle);var iee,w$,k2e=fn(VC,"ForceModelStrategy",429,bn,lun,Ern),ckt;_(993,1,td,bWe),h.tf=function(t){xEt(t)};var lkt,dkt,N2e,y$,C2e,fkt,hkt,pkt,gkt,I2e,bkt,R2e,O2e,mkt,AT,wkt,oee,D2e,ykt,vkt,v$,see,Ekt,Skt,Tkt,L2e,Akt;k(VC,"ForceOptions",993),_(994,1,{},Wm),h.uf=function(){var t;return t=new Lce,t},h.vf=function(t){},k(VC,"ForceOptions/ForceFactory",994);var tL,SI,_T,E$;_(853,1,td,mWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kwe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),ri))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Nwe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),eo),fi),xr(xt,Z(X(cf,1),Ce,161,0,[Rd]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Cwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),M2e),$r),H2e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Iwe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Hf),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Rwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Re(sr)),yo),Ti),ct(xt)))),Qvt((new wWe,t))};var _kt,xkt,M2e,kkt,Nkt,Ckt;k(VC,"StressMetaDataProvider",853),_(997,1,td,wWe),h.tf=function(t){Qvt(t)};var S$,P2e,j2e,F2e,$2e,B2e,Ikt,Rkt,Okt,Dkt,U2e,Lkt;k(VC,"StressOptions",997),_(998,1,{},n9),h.uf=function(){var t;return t=new Ait,t},h.vf=function(t){},k(VC,"StressOptions/StressFactory",998),_(1091,207,im,Ait),h.kf=function(t,r){var o,a,u,f,p;for(r.Tg(Y2t,1),Ye(Ke(ve(t,(G6(),$2e))))?Ye(Ke(ve(t,U2e)))||P3((o=new OA((t1(),new Yp(t))),o)):lwt(new Lce,t,r.dh(1)),u=spt(t),a=avt(this.a,u),p=a.Jc();p.Ob();)f=l(p.Pb(),238),!(f.e.c.length<=1)&&(txn(this.b,f),TEn(this.b),La(f.d,new tG));u=TEt(a),OEt(u),r.Ug()},k(dF,"StressLayoutProvider",1091),_(1092,1,nn,tG),h.Ad=function(t){R0e(l(t,448))},k(dF,"StressLayoutProvider/lambda$0$Type",1092),_(995,1,{},mZe),h.c=0,h.e=0,h.g=0,k(dF,"StressMajorization",995),_(385,23,{3:1,34:1,23:1,385:1},Iq);var aee,uee,cee,H2e=fn(dF,"StressMajorization/Dimension",385,bn,Uun,Srn),Mkt;_(996,1,Un,bYe),h.Le=function(t,r){return Znn(this.a,l(t,156),l(r,156))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(dF,"StressMajorization/lambda$0$Type",996),_(1173,1,{},Put),k(wT,"ElkLayered",1173),_(1174,1,nn,mYe),h.Ad=function(t){lvn(this.a,l(t,37))},k(wT,"ElkLayered/lambda$0$Type",1174),_(1175,1,nn,wYe),h.Ad=function(t){Xnn(this.a,l(t,37))},k(wT,"ElkLayered/lambda$1$Type",1175),_(1258,1,{},irt);var Pkt,jkt,Fkt;k(wT,"GraphConfigurator",1258),_(764,1,nn,mce),h.Ad=function(t){cmt(this.a,l(t,9))},k(wT,"GraphConfigurator/lambda$0$Type",764),_(765,1,{},r9),h.Kb=function(t){return pbe(),new Et(null,new St(l(t,26).a,16))},k(wT,"GraphConfigurator/lambda$1$Type",765),_(766,1,nn,wce),h.Ad=function(t){cmt(this.a,l(t,9))},k(wT,"GraphConfigurator/lambda$2$Type",766),_(1090,207,im,vZe),h.kf=function(t,r){var o;o=D_n(new xZe,t),be(ve(t,(Be(),Wy)))===be((pp(),Ig))?Ngn(this.a,o,r):yEn(this.a,o,r),r.Zg()||bEt(new gWe,o)},k(wT,"LayeredLayoutProvider",1090),_(364,23,{3:1,34:1,23:1,364:1},pO);var id,kh,la,da,Ho,z2e=fn(wT,"LayeredPhases",364,bn,Wln,Trn),$kt;_(1700,1,{},Yft),h.i=0;var Bkt;k(MD,"ComponentsToCGraphTransformer",1700);var Ukt;_(1701,1,{},nG),h.wf=function(t,r){return b.Math.min(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},h.xf=function(t,r){return b.Math.min(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},k(MD,"ComponentsToCGraphTransformer/1",1701),_(84,1,{84:1}),h.i=0,h.k=!0,h.o=Li;var lee=k(KC,"CNode",84);_(463,84,{463:1,84:1},Rde,z1e),h.Ib=function(){return""},k(MD,"ComponentsToCGraphTransformer/CRectNode",463),_(1669,1,{},rG);var dee,fee;k(MD,"OneDimensionalComponentsCompaction",1669),_(1670,1,{},i9),h.Kb=function(t){return Iun(l(t,49))},h.Fb=function(t){return this===t},k(MD,"OneDimensionalComponentsCompaction/lambda$0$Type",1670),_(1671,1,{},o9),h.Kb=function(t){return Dgn(l(t,49))},h.Fb=function(t){return this===t},k(MD,"OneDimensionalComponentsCompaction/lambda$1$Type",1671),_(1703,1,{},Pst),k(KC,"CGraph",1703),_(197,1,{197:1},hY),h.b=0,h.c=0,h.e=0,h.g=!0,h.i=Li,k(KC,"CGroup",197),_(1702,1,{},a9),h.wf=function(t,r){return b.Math.max(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},h.xf=function(t,r){return b.Math.max(t.a!=null?ue(t.a):t.c.i,r.a!=null?ue(r.a):r.c.i)},k(KC,x2t,1702),_(1704,1,{},f0t),h.d=!1;var Hkt,hee=k(KC,C2t,1704);_(1705,1,{},cG),h.Kb=function(t){return gle(),Lt(),l(l(t,49).a,84).d.e!=0},h.Fb=function(t){return this===t},k(KC,I2t,1705),_(825,1,{},Hfe),h.a=!1,h.b=!1,h.c=!1,h.d=!1,k(KC,R2t,825),_(1885,1,{},est),k(fF,O2t,1885);var nL=Hr(om,A2t);_(1886,1,{378:1},Fat),h._e=function(t){NSn(this,l(t,468))},k(fF,D2t,1886),_(1887,1,Un,lG),h.Le=function(t,r){return yan(l(t,84),l(r,84))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(fF,L2t,1887),_(468,1,{468:1},Cle),h.a=!1,k(fF,M2t,468),_(1888,1,Un,dG),h.Le=function(t,r){return Qmn(l(t,468),l(r,468))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(fF,P2t,1888),_(148,1,{148:1},qA,Ofe),h.Fb=function(t){var r;return t==null||Y3n!=rc(t)?!1:(r=l(t,148),ia(this.c,r.c)&&ia(this.d,r.d))},h.Hb=function(){return Fj(Z(X(Ii,1),Rt,1,5,[this.c,this.d]))},h.Ib=function(){return"("+this.c+ja+this.d+(this.a?"cx":"")+this.b+")"},h.a=!0,h.c=0,h.d=0;var Y3n=k(om,"Point",148);_(413,23,{3:1,34:1,23:1,413:1},s8);var X0,Fy,qE,$y,zkt=fn(om,"Point/Quadrant",413,bn,Ycn,vrn),Gkt;_(1691,1,{},EZe),h.b=null,h.c=null,h.d=null,h.e=null,h.f=null;var qkt,Vkt,Wkt,Kkt,Ykt;k(om,"RectilinearConvexHull",1691),_(576,1,{378:1},o7),h._e=function(t){Gdn(this,l(t,148))},h.b=0;var G2e;k(om,"RectilinearConvexHull/MaximalElementsEventHandler",576),_(1693,1,Un,iG),h.Le=function(t,r){return van(ce(t),ce(r))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1693),_(1692,1,{378:1},rft),h._e=function(t){G2n(this,l(t,148))},h.a=0,h.b=null,h.c=null,h.d=null,h.e=null,k(om,"RectilinearConvexHull/RectangleEventHandler",1692),_(1694,1,Un,oG),h.Le=function(t,r){return Scn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$0$Type",1694),_(1695,1,Un,s9),h.Le=function(t,r){return Tcn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$1$Type",1695),_(1696,1,Un,sG),h.Le=function(t,r){return _cn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$2$Type",1696),_(1697,1,Un,aG),h.Le=function(t,r){return Acn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$3$Type",1697),_(1698,1,Un,uG),h.Le=function(t,r){return Pwn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$4$Type",1698),_(1699,1,{},Eut),k(om,"Scanline",1699),_(2083,1,{}),k(rf,"AbstractGraphPlacer",2083),_(337,1,{337:1},Krt),h.Df=function(t){return this.Ef(t)?(yt(this.b,l(F(t,(Ie(),_p)),24),t),!0):!1},h.Ef=function(t){var r,o,a,u;for(r=l(F(t,(Ie(),_p)),24),u=l(wr(_r,r),24),a=u.Jc();a.Ob();)if(o=l(a.Pb(),24),!l(wr(this.b,o),16).dc())return!1;return!0};var _r;k(rf,"ComponentGroup",337),_(773,2083,{},Mce),h.Ff=function(t){var r,o;for(o=new V(this.a);o.a<o.c.c.length;)if(r=l(q(o),337),r.Df(t))return;Fe(this.a,new Krt(t))},h.Cf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U;if(this.a.c.length=0,r.a.c.length=0,t.dc()){r.f.a=0,r.f.b=0;return}for(p=l(t.Xb(0),37),qs(r,p),u=t.Jc();u.Ob();)a=l(u.Pb(),37),this.Ff(a);for(U=new ro,f=ue(ce(F(p,(Be(),vL)))),v=new V(this.a);v.a<v.c.c.length;)m=l(q(v),337),T=DEt(m,f),ag(EP(m.b),U.a,U.b),U.a+=T.a,U.b+=T.b;if(r.f.a=U.a-f,r.f.b=U.b-f,Ye(Ke(F(p,uB)))&&be(F(p,kp))===be((gp(),Ek))){for(M=t.Jc();M.Ob();)N=l(M.Pb(),37),ex(N,N.c.a,N.c.b);for(o=new WR,J0e(o,t,f),O=t.Jc();O.Ob();)N=l(O.Pb(),37),br(wd(N.c),o.e);br(wd(r.f),o.a)}for(y=new V(this.a);y.a<y.c.c.length;)m=l(q(y),337),Dpe(r,EP(m.b))},k(rf,"ComponentGroupGraphPlacer",773),_(1288,773,{},jZe),h.Ff=function(t){egt(this,t)},h.Cf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de;if(this.a.c.length=0,r.a.c.length=0,t.dc()){r.f.a=0,r.f.b=0;return}for(p=l(t.Xb(0),37),qs(r,p),u=t.Jc();u.Ob();)a=l(u.Pb(),37),egt(this,a);for(de=new ro,se=new ro,z=new ro,U=new ro,f=ue(ce(F(p,(Be(),vL)))),v=new V(this.a);v.a<v.c.c.length;){if(m=l(q(v),337),ep(l(F(r,(_n(),Tm)),87))){for(z.a=de.a,ne=new UN(R3(aW(m.b).a).a.kc());ne.b.Ob();)if(J=l(n8(ne.b.Pb()),24),J.Gc((He(),Wt))){z.a=se.a;break}}else if(eE(l(F(r,Tm),87))){for(z.b=de.b,ne=new UN(R3(aW(m.b).a).a.kc());ne.b.Ob();)if(J=l(n8(ne.b.Pb()),24),J.Gc((He(),Kt))){z.b=se.b;break}}if(T=DEt(l(m,572),f),ag(EP(m.b),z.a,z.b),ep(l(F(r,Tm),87))){for(se.a=z.a+T.a,U.a=b.Math.max(U.a,se.a),ne=new UN(R3(aW(m.b).a).a.kc());ne.b.Ob();)if(J=l(n8(ne.b.Pb()),24),J.Gc((He(),dn))){de.a=z.a+T.a;break}se.b=z.b+T.b,z.b=se.b,U.b=b.Math.max(U.b,z.b)}else if(eE(l(F(r,Tm),87))){for(se.b=z.b+T.b,U.b=b.Math.max(U.b,se.b),ne=new UN(R3(aW(m.b).a).a.kc());ne.b.Ob();)if(J=l(n8(ne.b.Pb()),24),J.Gc((He(),Qt))){de.b=z.b+T.b;break}se.a=z.a+T.a,z.a=se.a,U.a=b.Math.max(U.a,z.a)}}if(r.f.a=U.a-f,r.f.b=U.b-f,Ye(Ke(F(p,uB)))&&be(F(p,kp))===be((gp(),Ek))){for(M=t.Jc();M.Ob();)N=l(M.Pb(),37),ex(N,N.c.a,N.c.b);for(o=new WR,J0e(o,t,f),O=t.Jc();O.Ob();)N=l(O.Pb(),37),br(wd(N.c),o.e);br(wd(r.f),o.a)}for(y=new V(this.a);y.a<y.c.c.length;)m=l(q(y),337),Dpe(r,EP(m.b))},k(rf,"ComponentGroupModelOrderGraphPlacer",1288),_(384,23,{3:1,34:1,23:1,384:1},a8);var pee,q2e,gee,TI,V2e=fn(rf,"ComponentOrderingStrategy",384,bn,Zcn,Arn),Jkt;_(655,1,{},WR),k(rf,"ComponentsCompactor",655),_(1511,13,b2t,hlt),h.Ec=function(t){return mC(this,l(t,148))},k(rf,"ComponentsCompactor/Hullpoints",1511),_(1508,1,{847:1},T1t),h.a=!1,k(rf,"ComponentsCompactor/InternalComponent",1508),_(1507,1,Eh,TZe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.a)},k(rf,"ComponentsCompactor/InternalConnectedComponents",1507),_(1510,1,{598:1},b0t),h.zf=function(){return null},h.Af=function(){return this.a},h.yf=function(){return mY(this.d)},h.Bf=function(){return this.b},k(rf,"ComponentsCompactor/InternalExternalExtension",1510),_(1509,1,{598:1},_Ze),h.Af=function(){return this.a},h.yf=function(){return mY(this.d)},h.zf=function(){return this.c},h.Bf=function(){return this.b},k(rf,"ComponentsCompactor/InternalUnionExternalExtension",1509),_(1513,1,{},$wt),k(rf,"ComponentsCompactor/OuterSegments",1513),_(1512,1,{},SZe),k(rf,"ComponentsCompactor/Segments",1512),_(1259,1,{},xlt),k(rf,Ewe,1259),_(1260,1,Un,fG),h.Le=function(t,r){return kcn(l(t,37),l(r,37))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(rf,"ComponentsProcessor/lambda$0$Type",1260),_(572,337,{337:1,572:1},flt),h.Df=function(t){return Gge(this,t)},h.Ef=function(t){return vwt(this,t)};var Wn;k(rf,"ModelOrderComponentGroup",572),_(1286,2083,{},hG),h.Cf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O;if(t.gc()==1){N=l(t.Xb(0),37),N!=r&&(r.a.c.length=0,xyt(r,N,0,0),qs(r,N),xhe(r.d,N.d),r.f.a=N.f.a,r.f.b=N.f.b);return}else if(t.dc()){r.a.c.length=0,r.f.a=0,r.f.b=0;return}for(this.Hf(t,r),u=l(t.Xb(0),37),r.a.c.length=0,qs(r,u),v=0,O=0,p=t.Jc();p.Ob();)f=l(p.Pb(),37),T=f.f,v=b.Math.max(v,T.a),O+=T.a*T.b;if(v=b.Math.max(v,b.Math.sqrt(O)*ue(ce(F(r,(Be(),aB))))),a=ue(ce(F(r,vL))),this.Gf(t,r,v,a),Ye(Ke(F(u,uB)))){for(o=new WR,J0e(o,t,a),y=t.Jc();y.Ob();)m=l(y.Pb(),37),br(wd(m.c),o.e);br(wd(r.f),o.a)}Dpe(r,t)},h.Gf=function(t,r,o,a){var u,f,p,m,y,v,T,N;for(T=0,N=0,m=0,u=a,p=t.Jc();p.Ob();)f=l(p.Pb(),37),v=f.f,T+v.a>o&&(T=0,N+=m+a,m=0),y=f.c,ex(f,T+y.a,N+y.b),wd(y),u=b.Math.max(u,T+v.a),m=b.Math.max(m,v.b),T+=v.a+a;r.f.a=u,r.f.b=N+m},h.Hf=function(t,r){var o,a,u,f,p;if(be(F(r,(Be(),jI)))===be((YS(),TI))){for(a=t.Jc();a.Ob();){for(o=l(a.Pb(),37),p=0,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),p+=l(F(u,kIt),15).a;o.p=p}At(),t.gd(new gG)}},k(rf,"SimpleRowGraphPlacer",1286),_(1289,1286,{},pG),h.Gf=function(t,r,o,a){var u,f,p,m,y,v,T,N,O,M;for(O=0,M=0,m=0,u=a,y=null,N=0,p=t.Jc();p.Ob();)f=l(p.Pb(),37),T=f.f,(O+T.a>o&&!l(F(f,(Ie(),_p)),24).Gc((He(),Wt))||y&&l(F(y,(Ie(),_p)),24).Gc((He(),Qt))||l(F(f,(Ie(),_p)),24).Gc((He(),Kt)))&&(O=N,M+=m+a,m=0),v=f.c,l(F(f,(Ie(),_p)),24).Gc((He(),Wt))&&(O=u+a),ex(f,O+v.a,M+v.b),u=b.Math.max(u,O+T.a),l(F(f,_p),24).Gc(dn)&&(N=b.Math.max(N,O+T.a+a)),wd(v),m=b.Math.max(m,T.b),O+=T.a+a,y=f;r.f.a=u,r.f.b=M+m},h.Hf=function(t,r){},k(rf,"ModelOrderRowGraphPlacer",1289),_(1287,1,Un,gG),h.Le=function(t,r){return jhn(l(t,37),l(r,37))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(rf,"SimpleRowGraphPlacer/1",1287);var Xkt;_(1257,1,Uf,u9),h.Lb=function(t){var r;return r=l(F(l(t,253).b,(Be(),ss)),79),!!r&&r.b!=0},h.Fb=function(t){return this===t},h.Mb=function(t){var r;return r=l(F(l(t,253).b,(Be(),ss)),79),!!r&&r.b!=0},k(hF,"CompoundGraphPostprocessor/1",1257),_(1256,1,kr,kZe),h.If=function(t,r){x1t(this,l(t,37),r)},k(hF,"CompoundGraphPreprocessor",1256),_(447,1,{447:1},ggt),h.c=!1,k(hF,"CompoundGraphPreprocessor/ExternalPort",447),_(253,1,{253:1},K8),h.Ib=function(){return yV(this.c)+":"+s0t(this.b)},k(hF,"CrossHierarchyEdge",253),_(771,1,Un,yce),h.Le=function(t,r){return Amn(this,l(t,253),l(r,253))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(hF,"CrossHierarchyEdgeComparator",771),_(248,151,{3:1,248:1,105:1,151:1}),h.p=0,k(ca,"LGraphElement",248),_(17,248,{3:1,17:1,248:1,105:1,151:1},p0),h.Ib=function(){return s0t(this)};var zx=k(ca,"LEdge",17);_(37,248,{3:1,22:1,37:1,248:1,105:1,151:1},nge),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.b)},h.Ib=function(){return this.b.c.length==0?"G-unlayered"+Qd(this.a):this.a.c.length==0?"G-layered"+Qd(this.b):"G[layerless"+Qd(this.a)+", layers"+Qd(this.b)+"]"};var Zkt=k(ca,"LGraph",37),Qkt;_(662,1,{}),h.Jf=function(){return this.e.n},h.mf=function(t){return F(this.e,t)},h.Kf=function(){return this.e.o},h.Lf=function(){return this.e.p},h.nf=function(t){return gr(this.e,t)},h.Mf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},h.Nf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},h.Of=function(t){this.e.p=t},k(ca,"LGraphAdapters/AbstractLShapeAdapter",662),_(467,1,{845:1},MN),h.Pf=function(){var t,r;if(!this.b)for(this.b=ch(this.a.b.c.length),r=new V(this.a.b);r.a<r.c.c.length;)t=l(q(r),70),Fe(this.b,new _9(t));return this.b},h.b=null,k(ca,"LGraphAdapters/LEdgeAdapter",467),_(661,1,{},pW),h.Qf=function(){var t,r,o,a,u,f;if(!this.b){for(this.b=new je,a=new V(this.a.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new V(o.a);f.a<f.c.c.length;)if(u=l(q(f),9),this.c.Mb(u)&&(Fe(this.b,new W8(this,u,this.e)),this.d)){if(gr(u,(Ie(),MT)))for(r=l(F(u,MT),16).Jc();r.Ob();)t=l(r.Pb(),9),Fe(this.b,new W8(this,t,!1));if(gr(u,NT))for(r=l(F(u,NT),16).Jc();r.Ob();)t=l(r.Pb(),9),Fe(this.b,new W8(this,t,!1))}}return this.b},h.Jf=function(){throw Y(new Jp(Z2t))},h.mf=function(t){return F(this.a,t)},h.Kf=function(){return this.a.f},h.Lf=function(){return this.a.p},h.nf=function(t){return gr(this.a,t)},h.Mf=function(t){throw Y(new Jp(Z2t))},h.Nf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},h.Of=function(t){this.a.p=t},h.b=null,h.d=!1,h.e=!1,k(ca,"LGraphAdapters/LGraphAdapter",661),_(578,662,{190:1},_9),k(ca,"LGraphAdapters/LLabelAdapter",578),_(577,662,{692:1},W8),h.Rf=function(){return this.b},h.Sf=function(){return At(),At(),Co},h.Pf=function(){var t,r;if(!this.a)for(this.a=ch(l(this.e,9).b.c.length),r=new V(l(this.e,9).b);r.a<r.c.c.length;)t=l(q(r),70),Fe(this.a,new _9(t));return this.a},h.Tf=function(){var t;return t=l(this.e,9).d,new efe(t.d,t.c,t.a,t.b)},h.Uf=function(){return At(),At(),Co},h.Vf=function(){var t,r;if(!this.c)for(this.c=ch(l(this.e,9).j.c.length),r=new V(l(this.e,9).j);r.a<r.c.c.length;)t=l(q(r),12),Fe(this.c,new ctt(t,this.d));return this.c},h.Wf=function(){return Ye(Ke(F(l(this.e,9),(Ie(),gTe))))},h.Xf=function(t){l(this.e,9).d.b=t.b,l(this.e,9).d.d=t.d,l(this.e,9).d.c=t.c,l(this.e,9).d.a=t.a},h.Yf=function(t){l(this.e,9).f.b=t.b,l(this.e,9).f.d=t.d,l(this.e,9).f.c=t.c,l(this.e,9).f.a=t.a},h.Zf=function(){Efn(this,(KN(),Qkt))},h.a=null,h.b=null,h.c=null,h.d=!1,k(ca,"LGraphAdapters/LNodeAdapter",577),_(1775,662,{844:1},ctt),h.Sf=function(){var t,r,o,a,u,f,p,m;if(this.d&&l(this.e,12).i.k==(zt(),_a))return At(),At(),Co;if(!this.a){for(this.a=new je,o=new V(l(this.e,12).e);o.a<o.c.c.length;)t=l(q(o),17),Fe(this.a,new MN(t));if(this.d&&(a=l(F(l(this.e,12),(Ie(),Nu)),9),a))for(r=new $t(qt(si(a).a.Jc(),new D));an(r);)t=l(en(r),17),Fe(this.a,new MN(t));if(gr(l(this.e,12).i,(Ie(),rw))&&(p=l(F(l(this.e,12).i,rw),339),m=l(Wd(p.e,this.e),114),m))for(f=new V(m.b);f.a<f.c.c.length;)u=l(q(f),342),Fe(this.a,new MN(u.a))}return this.a},h.Pf=function(){var t,r;if(!this.b)for(this.b=ch(l(this.e,12).f.c.length),r=new V(l(this.e,12).f);r.a<r.c.c.length;)t=l(q(r),70),Fe(this.b,new _9(t));return this.b},h.Uf=function(){var t,r,o,a,u,f,p,m;if(this.d&&l(this.e,12).i.k==(zt(),_a))return At(),At(),Co;if(!this.c){for(this.c=new je,o=new V(l(this.e,12).g);o.a<o.c.c.length;)t=l(q(o),17),Fe(this.c,new MN(t));if(this.d&&(a=l(F(l(this.e,12),(Ie(),Nu)),9),a))for(r=new $t(qt(Or(a).a.Jc(),new D));an(r);)t=l(en(r),17),Fe(this.c,new MN(t));if(gr(l(this.e,12).i,(Ie(),rw))&&(p=l(F(l(this.e,12).i,rw),339),m=l(Wd(p.e,this.e),114),m))for(f=new V(m.e);f.a<f.c.c.length;)u=l(q(f),342),Fe(this.c,new MN(u.a))}return this.c},h.$f=function(){return l(this.e,12).j},h._f=function(){return Ye(Ke(F(l(this.e,12),(Ie(),hL))))},h.a=null,h.b=null,h.c=null,h.d=!1,k(ca,"LGraphAdapters/LPortAdapter",1775),_(1776,1,Un,bG),h.Le=function(t,r){return rTn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(ca,"LGraphAdapters/PortComparator",1776),_(812,1,Mn,c9),h.Mb=function(t){return l(t,9),KN(),!0},k(ca,"LGraphAdapters/lambda$0$Type",812),_(400,248,{3:1,248:1,400:1,105:1,151:1}),k(ca,"LShape",400),_(70,400,{3:1,248:1,70:1,400:1,105:1,151:1},NQe,dde),h.Ib=function(){var t;return t=Gon(this),t==null?"label":"l_"+t},k(ca,"LLabel",70),_(216,1,{3:1,4:1,216:1,419:1}),h.Fb=function(t){var r;return ae(t,216)?(r=l(t,216),this.d==r.d&&this.a==r.a&&this.b==r.b&&this.c==r.c):!1},h.Hb=function(){var t,r;return t=mS(this.b)<<16,t|=mS(this.a)&Ei,r=mS(this.c)<<16,r|=mS(this.d)&Ei,t^r},h.ag=function(t){var r,o,a,u,f,p,m,y,v,T,N;for(f=0;f<t.length&&Upt((Yt(f,t.length),t.charCodeAt(f)),eSt);)++f;for(r=t.length;r>0&&Upt((Yt(r-1,t.length),t.charCodeAt(r-1)),tSt);)--r;if(f<r){T=ky((io(f,r,t.length),t.substr(f,r-f)),",|;");try{for(m=T,y=0,v=m.length;y<v;++y){if(p=m[y],u=ky(p,"="),u.length!=2)throw Y(new jt("Expecting a list of key-value pairs."));a=Ey(u[0]),N=vy(Ey(u[1])),wt(a,"top")?this.d=N:wt(a,"left")?this.b=N:wt(a,"bottom")?this.a=N:wt(a,"right")&&(this.c=N)}}catch(O){throw O=ci(O),ae(O,133)?(o=O,Y(new jt(nSt+o))):Y(O)}}},h.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},h.a=0,h.b=0,h.c=0,h.d=0,k(PD,"Spacing",216),_(125,216,rSt,FN,znt,efe,DV);var W2e=k(PD,"ElkMargin",125);_(656,125,rSt,QG),k(ca,"LMargin",656),_(9,400,{3:1,248:1,9:1,400:1,105:1,151:1},Xd),h.Ib=function(){return y1t(this)},h.i=!1;var Nh=k(ca,"LNode",9);_(252,23,{3:1,34:1,23:1,252:1},pS);var af,mi,ta,gi,AI,Xr,_a,rL,bee=fn(ca,"LNode/NodeType",252,bn,dfn,wrn),eNt;_(769,1,Mn,l9),h.Mb=function(t){return Ye(Ke(F(l(t,70),(Be(),i2))))},k(ca,"LNode/lambda$0$Type",769),_(100,216,iSt,oS,xb,mfe);var K2e=k(PD,"ElkPadding",100);_(772,100,iSt,jce),k(ca,"LPadding",772),_(12,400,{3:1,248:1,12:1,400:1,105:1,151:1},aa),h.Ib=function(){var t,r,o;return t=new Zg,zn((t.a+="p_",t),p7(this)),this.i&&zn(ba((t.a+="[",t),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&l(ze(this.e,0),17).c!=this&&(r=l(ze(this.e,0),17).c,zn((t.a+=" << ",t),p7(r)),zn(ba((t.a+="[",t),r.i),"]")),this.e.c.length==0&&this.g.c.length==1&&l(ze(this.g,0),17).d!=this&&(o=l(ze(this.g,0),17).d,zn((t.a+=" >> ",t),p7(o)),zn(ba((t.a+="[",t),o.i),"]")),t.a},h.c=!0,h.d=!1;var Y2e,J2e,X2e,Z2e,Q2e,eSe,tNt=k(ca,"LPort",12);_(404,1,Eh,DA),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=new V(this.a.e),new yYe(t)},k(ca,"LPort/1",404),_(1285,1,Wi,yYe),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(q(this.a),17).c},h.Ob=function(){return Ts(this.a)},h.Qb=function(){C3(this.a)},k(ca,"LPort/1/1",1285),_(366,1,Eh,tS),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=new V(this.a.g),new vce(t)},k(ca,"LPort/2",366),_(770,1,Wi,vce),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(q(this.a),17).d},h.Ob=function(){return Ts(this.a)},h.Qb=function(){C3(this.a)},k(ca,"LPort/2/1",770),_(1278,1,Eh,ltt),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new Vd(this)},k(ca,"LPort/CombineIter",1278),_(210,1,Wi,Vd),h.Nb=function(t){so(this,t)},h.Qb=function(){$Qe()},h.Ob=function(){return v3(this)},h.Pb=function(){return Ts(this.a)?q(this.a):q(this.b)},k(ca,"LPort/CombineIter/1",210),_(1279,1,Uf,mG),h.Lb=function(t){return gst(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).g.c.length!=0},k(ca,"LPort/lambda$0$Type",1279),_(1280,1,Uf,wG),h.Lb=function(t){return bst(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).e.c.length!=0},k(ca,"LPort/lambda$1$Type",1280),_(1281,1,Uf,yG),h.Lb=function(t){return bu(),l(t,12).j==(He(),Wt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(He(),Wt)},k(ca,"LPort/lambda$2$Type",1281),_(1282,1,Uf,vG),h.Lb=function(t){return bu(),l(t,12).j==(He(),Qt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(He(),Qt)},k(ca,"LPort/lambda$3$Type",1282),_(1283,1,Uf,EG),h.Lb=function(t){return bu(),l(t,12).j==(He(),dn)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(He(),dn)},k(ca,"LPort/lambda$4$Type",1283),_(1284,1,Uf,DN),h.Lb=function(t){return bu(),l(t,12).j==(He(),Kt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bu(),l(t,12).j==(He(),Kt)},k(ca,"LPort/lambda$5$Type",1284),_(26,248,{3:1,22:1,248:1,26:1,105:1,151:1},ra),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.a)},h.Ib=function(){return"L_"+_s(this.b.b,this,0)+Qd(this.a)},k(ca,"Layer",26),_(1676,1,{},adt),h.b=0,k(ca,"Tarjan",1676),_(1294,1,{},xZe),k(Eg,oSt,1294),_(1298,1,{},SG),h.Kb=function(t){return Yo(l(t,83))},k(Eg,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1298),_(1301,1,{},d9),h.Kb=function(t){return Yo(l(t,83))},k(Eg,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1301),_(1295,1,nn,vYe),h.Ad=function(t){T0t(this.a,l(t,127))},k(Eg,Swe,1295),_(1296,1,nn,EYe),h.Ad=function(t){T0t(this.a,l(t,127))},k(Eg,sSt,1296),_(1297,1,{},TG),h.Kb=function(t){return new Et(null,new St(a_(l(t,74)),16))},k(Eg,aSt,1297),_(1299,1,Mn,SYe),h.Mb=function(t){return Qen(this.a,l(t,19))},k(Eg,uSt,1299),_(1300,1,{},AG),h.Kb=function(t){return new Et(null,new St(uan(l(t,74)),16))},k(Eg,"ElkGraphImporter/lambda$5$Type",1300),_(1302,1,Mn,TYe),h.Mb=function(t){return etn(this.a,l(t,19))},k(Eg,"ElkGraphImporter/lambda$7$Type",1302),_(1303,1,Mn,KR),h.Mb=function(t){return Ian(l(t,74))},k(Eg,"ElkGraphImporter/lambda$8$Type",1303),_(1273,1,{},gWe);var nNt;k(Eg,"ElkGraphLayoutTransferrer",1273),_(1274,1,Mn,AYe),h.Mb=function(t){return trn(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$0$Type",1274),_(1275,1,nn,_Ye),h.Ad=function(t){fO(),Fe(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$1$Type",1275),_(1276,1,Mn,xYe),h.Mb=function(t){return Mnn(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$2$Type",1276),_(1277,1,nn,kYe),h.Ad=function(t){fO(),Fe(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$3$Type",1277),_(813,1,{},rfe),k(Zt,"BiLinkedHashMultiMap",813),_(1528,1,kr,_G),h.If=function(t,r){ihn(l(t,37),r)},k(Zt,"CommentNodeMarginCalculator",1528),_(1529,1,{},xG),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"CommentNodeMarginCalculator/lambda$0$Type",1529),_(1530,1,nn,f9),h.Ad=function(t){I_n(l(t,9))},k(Zt,"CommentNodeMarginCalculator/lambda$1$Type",1530),_(1531,1,kr,tFe),h.If=function(t,r){MSn(l(t,37),r)},k(Zt,"CommentPostprocessor",1531),_(1532,1,kr,nFe),h.If=function(t,r){iNn(l(t,37),r)},k(Zt,"CommentPreprocessor",1532),_(1533,1,kr,rFe),h.If=function(t,r){K2n(l(t,37),r)},k(Zt,"ConstraintsPostprocessor",1533),_(1534,1,kr,iFe),h.If=function(t,r){Bhn(l(t,37),r)},k(Zt,"EdgeAndLayerConstraintEdgeReverser",1534),_(1535,1,kr,oFe),h.If=function(t,r){i1n(l(t,37),r)},k(Zt,"EndLabelPostprocessor",1535),_(1536,1,{},sFe),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"EndLabelPostprocessor/lambda$0$Type",1536),_(1537,1,Mn,aFe),h.Mb=function(t){return Hln(l(t,9))},k(Zt,"EndLabelPostprocessor/lambda$1$Type",1537),_(1538,1,nn,uFe),h.Ad=function(t){e0n(l(t,9))},k(Zt,"EndLabelPostprocessor/lambda$2$Type",1538),_(1539,1,kr,cFe),h.If=function(t,r){jyn(l(t,37),r)},k(Zt,"EndLabelPreprocessor",1539),_(1540,1,{},lFe),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"EndLabelPreprocessor/lambda$0$Type",1540),_(1541,1,nn,eot),h.Ad=function(t){pen(this.a,this.b,this.c,l(t,9))},h.a=0,h.b=0,h.c=!1,k(Zt,"EndLabelPreprocessor/lambda$1$Type",1541),_(1542,1,Mn,dFe),h.Mb=function(t){return be(F(l(t,70),(Be(),Yf)))===be((Kd(),vk))},k(Zt,"EndLabelPreprocessor/lambda$2$Type",1542),_(1543,1,nn,NYe),h.Ad=function(t){Gn(this.a,l(t,70))},k(Zt,"EndLabelPreprocessor/lambda$3$Type",1543),_(1544,1,Mn,fFe),h.Mb=function(t){return be(F(l(t,70),(Be(),Yf)))===be((Kd(),fv))},k(Zt,"EndLabelPreprocessor/lambda$4$Type",1544),_(1545,1,nn,CYe),h.Ad=function(t){Gn(this.a,l(t,70))},k(Zt,"EndLabelPreprocessor/lambda$5$Type",1545),_(1593,1,kr,vWe),h.If=function(t,r){hgn(l(t,37),r)};var rNt;k(Zt,"EndLabelSorter",1593),_(1594,1,Un,hFe),h.Le=function(t,r){return q1n(l(t,458),l(r,458))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"EndLabelSorter/1",1594),_(458,1,{458:1},Cat),k(Zt,"EndLabelSorter/LabelGroup",458),_(1595,1,{},pFe),h.Kb=function(t){return dO(),new Et(null,new St(l(t,26).a,16))},k(Zt,"EndLabelSorter/lambda$0$Type",1595),_(1596,1,Mn,gFe),h.Mb=function(t){return dO(),l(t,9).k==(zt(),Xr)},k(Zt,"EndLabelSorter/lambda$1$Type",1596),_(1597,1,nn,bFe),h.Ad=function(t){Jwn(l(t,9))},k(Zt,"EndLabelSorter/lambda$2$Type",1597),_(1598,1,Mn,mFe),h.Mb=function(t){return dO(),be(F(l(t,70),(Be(),Yf)))===be((Kd(),fv))},k(Zt,"EndLabelSorter/lambda$3$Type",1598),_(1599,1,Mn,wFe),h.Mb=function(t){return dO(),be(F(l(t,70),(Be(),Yf)))===be((Kd(),vk))},k(Zt,"EndLabelSorter/lambda$4$Type",1599),_(1546,1,kr,yFe),h.If=function(t,r){W_n(this,l(t,37))},h.b=0,h.c=0,k(Zt,"FinalSplineBendpointsCalculator",1546),_(1547,1,{},vFe),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"FinalSplineBendpointsCalculator/lambda$0$Type",1547),_(1548,1,{},EFe),h.Kb=function(t){return new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(Zt,"FinalSplineBendpointsCalculator/lambda$1$Type",1548),_(1549,1,Mn,SFe),h.Mb=function(t){return!fo(l(t,17))},k(Zt,"FinalSplineBendpointsCalculator/lambda$2$Type",1549),_(1550,1,Mn,TFe),h.Mb=function(t){return gr(l(t,17),(Ie(),pm))},k(Zt,"FinalSplineBendpointsCalculator/lambda$3$Type",1550),_(1551,1,nn,IYe),h.Ad=function(t){QTn(this.a,l(t,134))},k(Zt,"FinalSplineBendpointsCalculator/lambda$4$Type",1551),_(1552,1,nn,AFe),h.Ad=function(t){vC(l(t,17).a)},k(Zt,"FinalSplineBendpointsCalculator/lambda$5$Type",1552),_(797,1,kr,Ece),h.If=function(t,r){Bxn(this,l(t,37),r)},k(Zt,"GraphTransformer",797),_(506,23,{3:1,34:1,23:1,506:1},Ile);var mee,iL,iNt=fn(Zt,"GraphTransformer/Mode",506,bn,dun,_rn),oNt;_(1553,1,kr,_Fe),h.If=function(t,r){a2n(l(t,37),r)},k(Zt,"HierarchicalNodeResizingProcessor",1553),_(1554,1,kr,xFe),h.If=function(t,r){Gfn(l(t,37),r)},k(Zt,"HierarchicalPortConstraintProcessor",1554),_(1555,1,Un,kFe),h.Le=function(t,r){return abn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"HierarchicalPortConstraintProcessor/NodeComparator",1555),_(1556,1,kr,NFe),h.If=function(t,r){VAn(l(t,37),r)},k(Zt,"HierarchicalPortDummySizeProcessor",1556),_(1557,1,kr,CFe),h.If=function(t,r){oTn(this,l(t,37),r)},h.a=0,k(Zt,"HierarchicalPortOrthogonalEdgeRouter",1557),_(1558,1,Un,IFe),h.Le=function(t,r){return qtn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"HierarchicalPortOrthogonalEdgeRouter/1",1558),_(1559,1,Un,RFe),h.Le=function(t,r){return Fdn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"HierarchicalPortOrthogonalEdgeRouter/2",1559),_(1560,1,kr,OFe),h.If=function(t,r){Dwn(l(t,37),r)},k(Zt,"HierarchicalPortPositionProcessor",1560),_(1561,1,kr,yWe),h.If=function(t,r){UNn(this,l(t,37))},h.a=0,h.c=0;var T$,A$;k(Zt,"HighDegreeNodeLayeringProcessor",1561),_(573,1,{573:1},DFe),h.b=-1,h.d=-1,k(Zt,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",573),_(1562,1,{},LFe),h.Kb=function(t){return $O(),si(l(t,9))},h.Fb=function(t){return this===t},k(Zt,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1562),_(1563,1,{},MFe),h.Kb=function(t){return $O(),Or(l(t,9))},h.Fb=function(t){return this===t},k(Zt,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1563),_(1569,1,kr,PFe),h.If=function(t,r){jAn(this,l(t,37),r)},k(Zt,"HyperedgeDummyMerger",1569),_(798,1,{},vfe),h.a=!1,h.b=!1,h.c=!1,k(Zt,"HyperedgeDummyMerger/MergeState",798),_(1570,1,{},jFe),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"HyperedgeDummyMerger/lambda$0$Type",1570),_(1571,1,{},FFe),h.Kb=function(t){return new Et(null,new St(l(t,9).j,16))},k(Zt,"HyperedgeDummyMerger/lambda$1$Type",1571),_(1572,1,nn,$Fe),h.Ad=function(t){l(t,12).p=-1},k(Zt,"HyperedgeDummyMerger/lambda$2$Type",1572),_(1573,1,kr,BFe),h.If=function(t,r){PAn(l(t,37),r)},k(Zt,"HypernodesProcessor",1573),_(1574,1,kr,UFe),h.If=function(t,r){qAn(l(t,37),r)},k(Zt,"InLayerConstraintProcessor",1574),_(1575,1,kr,HFe),h.If=function(t,r){ghn(l(t,37),r)},k(Zt,"InnermostNodeMarginCalculator",1575),_(1576,1,kr,zFe),h.If=function(t,r){eNn(this,l(t,37))},h.a=Li,h.b=Li,h.c=Kr,h.d=Kr;var J3n=k(Zt,"InteractiveExternalPortPositioner",1576);_(1577,1,{},GFe),h.Kb=function(t){return l(t,17).d.i},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$0$Type",1577),_(1578,1,{},RYe),h.Kb=function(t){return Ktn(this.a,ce(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$1$Type",1578),_(1579,1,{},qFe),h.Kb=function(t){return l(t,17).c.i},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$2$Type",1579),_(1580,1,{},OYe),h.Kb=function(t){return Ytn(this.a,ce(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$3$Type",1580),_(1581,1,{},DYe),h.Kb=function(t){return Gnn(this.a,ce(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$4$Type",1581),_(1582,1,{},LYe),h.Kb=function(t){return qnn(this.a,ce(t))},h.Fb=function(t){return this===t},k(Zt,"InteractiveExternalPortPositioner/lambda$5$Type",1582),_(80,23,{3:1,34:1,23:1,80:1,177:1},bi),h.bg=function(){switch(this.g){case 15:return new fUe;case 22:return new hUe;case 48:return new gUe;case 29:case 36:return new n$e;case 33:return new _G;case 43:return new tFe;case 1:return new nFe;case 42:return new rFe;case 57:return new Ece((E_(),iL));case 0:return new Ece((E_(),mee));case 2:return new iFe;case 55:return new oFe;case 34:return new cFe;case 52:return new yFe;case 56:return new _Fe;case 13:return new xFe;case 39:return new NFe;case 45:return new CFe;case 41:return new OFe;case 9:return new yWe;case 50:return new jrt;case 38:return new PFe;case 44:return new BFe;case 28:return new UFe;case 31:return new HFe;case 3:return new zFe;case 18:return new VFe;case 30:return new WFe;case 5:return new EWe;case 51:return new XFe;case 35:return new SWe;case 37:return new r$e;case 53:return new vWe;case 11:return new i$e;case 7:return new TWe;case 40:return new o$e;case 46:return new s$e;case 16:return new a$e;case 10:return new Att;case 49:return new d$e;case 21:return new f$e;case 23:return new P9((Kb(),XI));case 8:return new p$e;case 12:return new b$e;case 4:return new m$e;case 19:return new AWe;case 17:return new k$e;case 54:return new N$e;case 6:return new B$e;case 25:return new IZe;case 26:return new dUe;case 47:return new D$e;case 32:return new Nit;case 14:return new K$e;case 27:return new wUe;case 20:return new Q$e;case 24:return new P9((Kb(),IB));default:throw Y(new jt(jX+(this.f!=null?this.f:""+this.g)))}};var tSe,nSe,rSe,iSe,oSe,sSe,aSe,uSe,cSe,lSe,dSe,VE,_$,x$,fSe,hSe,pSe,gSe,bSe,mSe,wSe,_I,ySe,vSe,ESe,SSe,TSe,wee,k$,N$,ASe,C$,I$,R$,Gx,By,Uy,_Se,O$,D$,xSe,L$,M$,kSe,NSe,CSe,ISe,P$,yee,xT,j$,F$,$$,B$,RSe,OSe,DSe,LSe,X3n=fn(Zt,FX,80,bn,Twt,xrn),sNt;_(1583,1,kr,VFe),h.If=function(t,r){Xkn(l(t,37),r)},k(Zt,"InvertedPortProcessor",1583),_(1584,1,kr,WFe),h.If=function(t,r){WTn(l(t,37),r)},k(Zt,"LabelAndNodeSizeProcessor",1584),_(1585,1,Mn,KFe),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"LabelAndNodeSizeProcessor/lambda$0$Type",1585),_(1586,1,Mn,YFe),h.Mb=function(t){return l(t,9).k==(zt(),mi)},k(Zt,"LabelAndNodeSizeProcessor/lambda$1$Type",1586),_(1587,1,nn,sot),h.Ad=function(t){gen(this.b,this.a,this.c,l(t,9))},h.a=!1,h.c=!1,k(Zt,"LabelAndNodeSizeProcessor/lambda$2$Type",1587),_(1588,1,kr,EWe),h.If=function(t,r){Ckn(l(t,37),r)};var aNt;k(Zt,"LabelDummyInserter",1588),_(1589,1,Uf,JFe),h.Lb=function(t){return be(F(l(t,70),(Be(),Yf)))===be((Kd(),yk))},h.Fb=function(t){return this===t},h.Mb=function(t){return be(F(l(t,70),(Be(),Yf)))===be((Kd(),yk))},k(Zt,"LabelDummyInserter/1",1589),_(1590,1,kr,XFe),h.If=function(t,r){gkn(l(t,37),r)},k(Zt,"LabelDummyRemover",1590),_(1591,1,Mn,ZFe),h.Mb=function(t){return Ye(Ke(F(l(t,70),(Be(),i2))))},k(Zt,"LabelDummyRemover/lambda$0$Type",1591),_(1344,1,kr,SWe),h.If=function(t,r){ckn(this,l(t,37),r)},h.a=null;var vee;k(Zt,"LabelDummySwitcher",1344),_(295,1,{295:1},yyt),h.c=0,h.d=null,h.f=0,k(Zt,"LabelDummySwitcher/LabelDummyInfo",295),_(1345,1,{},QFe),h.Kb=function(t){return zS(),new Et(null,new St(l(t,26).a,16))},k(Zt,"LabelDummySwitcher/lambda$0$Type",1345),_(1346,1,Mn,e$e),h.Mb=function(t){return zS(),l(t,9).k==(zt(),ta)},k(Zt,"LabelDummySwitcher/lambda$1$Type",1346),_(1347,1,{},MYe),h.Kb=function(t){return Lnn(this.a,l(t,9))},k(Zt,"LabelDummySwitcher/lambda$2$Type",1347),_(1348,1,nn,PYe),h.Ad=function(t){Usn(this.a,l(t,295))},k(Zt,"LabelDummySwitcher/lambda$3$Type",1348),_(1349,1,Un,t$e),h.Le=function(t,r){return msn(l(t,295),l(r,295))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"LabelDummySwitcher/lambda$4$Type",1349),_(796,1,kr,n$e),h.If=function(t,r){bdn(l(t,37),r)},k(Zt,"LabelManagementProcessor",796),_(1592,1,kr,r$e),h.If=function(t,r){ASn(l(t,37),r)},k(Zt,"LabelSideSelector",1592),_(1600,1,kr,i$e),h.If=function(t,r){d_n(l(t,37),r)},k(Zt,"LayerConstraintPostprocessor",1600),_(1601,1,kr,TWe),h.If=function(t,r){iEn(l(t,37),r)};var MSe;k(Zt,"LayerConstraintPreprocessor",1601),_(368,23,{3:1,34:1,23:1,368:1},u8);var oL,U$,H$,Eee,uNt=fn(Zt,"LayerConstraintPreprocessor/HiddenNodeConnections",368,bn,Qcn,krn),cNt;_(1602,1,kr,o$e),h.If=function(t,r){Nxn(l(t,37),r)},k(Zt,"LayerSizeAndGraphHeightCalculator",1602),_(1603,1,kr,s$e),h.If=function(t,r){u2n(l(t,37),r)},k(Zt,"LongEdgeJoiner",1603),_(1604,1,kr,a$e),h.If=function(t,r){oxn(l(t,37),r)},k(Zt,"LongEdgeSplitter",1604),_(1605,1,kr,Att),h.If=function(t,r){zkn(this,l(t,37),r)},h.e=0,h.f=0,h.j=0,h.k=0,h.n=0,h.o=0;var lNt,dNt;k(Zt,"NodePromotion",1605),_(1606,1,Un,u$e),h.Le=function(t,r){return Tpn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"NodePromotion/1",1606),_(1607,1,Un,c$e),h.Le=function(t,r){return Spn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"NodePromotion/2",1607),_(1608,1,{},l$e),h.Kb=function(t){return l(t,49),Y8(),Lt(),!0},h.Fb=function(t){return this===t},k(Zt,"NodePromotion/lambda$0$Type",1608),_(1609,1,{},jYe),h.Kb=function(t){return Tun(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,k(Zt,"NodePromotion/lambda$1$Type",1609),_(1610,1,{},FYe),h.Kb=function(t){return Aun(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,k(Zt,"NodePromotion/lambda$2$Type",1610),_(1611,1,kr,d$e),h.If=function(t,r){ONn(l(t,37),r)},k(Zt,"NorthSouthPortPostprocessor",1611),_(1612,1,kr,f$e),h.If=function(t,r){FNn(l(t,37),r)},k(Zt,"NorthSouthPortPreprocessor",1612),_(1613,1,Un,h$e),h.Le=function(t,r){return Uhn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"NorthSouthPortPreprocessor/lambda$0$Type",1613),_(1614,1,kr,p$e),h.If=function(t,r){xAn(l(t,37),r)},k(Zt,"PartitionMidprocessor",1614),_(1615,1,Mn,g$e),h.Mb=function(t){return gr(l(t,9),(Be(),Yy))},k(Zt,"PartitionMidprocessor/lambda$0$Type",1615),_(1616,1,nn,$Ye),h.Ad=function(t){Can(this.a,l(t,9))},k(Zt,"PartitionMidprocessor/lambda$1$Type",1616),_(1617,1,kr,b$e),h.If=function(t,r){C2n(l(t,37),r)},k(Zt,"PartitionPostprocessor",1617),_(1618,1,kr,m$e),h.If=function(t,r){OTn(l(t,37),r)},k(Zt,"PartitionPreprocessor",1618),_(1619,1,Mn,w$e),h.Mb=function(t){return gr(l(t,9),(Be(),Yy))},k(Zt,"PartitionPreprocessor/lambda$0$Type",1619),_(1620,1,Mn,y$e),h.Mb=function(t){return gr(l(t,9),(Be(),Yy))},k(Zt,"PartitionPreprocessor/lambda$1$Type",1620),_(1621,1,{},v$e),h.Kb=function(t){return new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(Zt,"PartitionPreprocessor/lambda$2$Type",1621),_(1622,1,Mn,BYe),h.Mb=function(t){return een(this.a,l(t,17))},k(Zt,"PartitionPreprocessor/lambda$3$Type",1622),_(1623,1,nn,E$e),h.Ad=function(t){Qhn(l(t,17))},k(Zt,"PartitionPreprocessor/lambda$4$Type",1623),_(1624,1,Mn,UYe),h.Mb=function(t){return Bsn(this.a,l(t,9))},h.a=0,k(Zt,"PartitionPreprocessor/lambda$5$Type",1624),_(1625,1,kr,AWe),h.If=function(t,r){sAn(l(t,37),r)};var PSe,fNt,hNt,pNt,jSe,FSe;k(Zt,"PortListSorter",1625),_(1626,1,{},S$e),h.Kb=function(t){return N_(),l(t,12).e},k(Zt,"PortListSorter/lambda$0$Type",1626),_(1627,1,{},T$e),h.Kb=function(t){return N_(),l(t,12).g},k(Zt,"PortListSorter/lambda$1$Type",1627),_(1628,1,Un,A$e),h.Le=function(t,r){return jct(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"PortListSorter/lambda$2$Type",1628),_(1629,1,Un,_$e),h.Le=function(t,r){return bmn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"PortListSorter/lambda$3$Type",1629),_(1630,1,Un,x$e),h.Le=function(t,r){return Vyt(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"PortListSorter/lambda$4$Type",1630),_(1631,1,kr,k$e),h.If=function(t,r){fEn(l(t,37),r)},k(Zt,"PortSideProcessor",1631),_(1632,1,kr,N$e),h.If=function(t,r){wTn(l(t,37),r)},k(Zt,"ReversedEdgeRestorer",1632),_(1637,1,kr,IZe),h.If=function(t,r){Zbn(this,l(t,37),r)},k(Zt,"SelfLoopPortRestorer",1637),_(1638,1,{},C$e),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"SelfLoopPortRestorer/lambda$0$Type",1638),_(1639,1,Mn,I$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SelfLoopPortRestorer/lambda$1$Type",1639),_(1640,1,Mn,R$e),h.Mb=function(t){return gr(l(t,9),(Ie(),rw))},k(Zt,"SelfLoopPortRestorer/lambda$2$Type",1640),_(1641,1,{},O$e),h.Kb=function(t){return l(F(l(t,9),(Ie(),rw)),339)},k(Zt,"SelfLoopPortRestorer/lambda$3$Type",1641),_(1642,1,nn,HYe),h.Ad=function(t){lyn(this.a,l(t,339))},k(Zt,"SelfLoopPortRestorer/lambda$4$Type",1642),_(799,1,nn,Rue),h.Ad=function(t){Syn(l(t,108))},k(Zt,"SelfLoopPortRestorer/lambda$5$Type",799),_(1644,1,kr,D$e),h.If=function(t,r){lbn(l(t,37),r)},k(Zt,"SelfLoopPostProcessor",1644),_(1645,1,{},L$e),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"SelfLoopPostProcessor/lambda$0$Type",1645),_(1646,1,Mn,M$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SelfLoopPostProcessor/lambda$1$Type",1646),_(1647,1,Mn,P$e),h.Mb=function(t){return gr(l(t,9),(Ie(),rw))},k(Zt,"SelfLoopPostProcessor/lambda$2$Type",1647),_(1648,1,nn,j$e),h.Ad=function(t){m0n(l(t,9))},k(Zt,"SelfLoopPostProcessor/lambda$3$Type",1648),_(1649,1,{},F$e),h.Kb=function(t){return new Et(null,new St(l(t,108).f,1))},k(Zt,"SelfLoopPostProcessor/lambda$4$Type",1649),_(1650,1,nn,zYe),h.Ad=function(t){Kcn(this.a,l(t,342))},k(Zt,"SelfLoopPostProcessor/lambda$5$Type",1650),_(1651,1,Mn,$$e),h.Mb=function(t){return!!l(t,108).i},k(Zt,"SelfLoopPostProcessor/lambda$6$Type",1651),_(1652,1,nn,GYe),h.Ad=function(t){gQt(this.a,l(t,108))},k(Zt,"SelfLoopPostProcessor/lambda$7$Type",1652),_(1633,1,kr,B$e),h.If=function(t,r){VEn(l(t,37),r)},k(Zt,"SelfLoopPreProcessor",1633),_(1634,1,{},U$e),h.Kb=function(t){return new Et(null,new St(l(t,108).f,1))},k(Zt,"SelfLoopPreProcessor/lambda$0$Type",1634),_(1635,1,{},H$e),h.Kb=function(t){return l(t,342).a},k(Zt,"SelfLoopPreProcessor/lambda$1$Type",1635),_(1636,1,nn,z$e),h.Ad=function(t){ktn(l(t,17))},k(Zt,"SelfLoopPreProcessor/lambda$2$Type",1636),_(1653,1,kr,Nit),h.If=function(t,r){Wwn(this,l(t,37),r)},k(Zt,"SelfLoopRouter",1653),_(1654,1,{},G$e),h.Kb=function(t){return new Et(null,new St(l(t,26).a,16))},k(Zt,"SelfLoopRouter/lambda$0$Type",1654),_(1655,1,Mn,q$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SelfLoopRouter/lambda$1$Type",1655),_(1656,1,Mn,V$e),h.Mb=function(t){return gr(l(t,9),(Ie(),rw))},k(Zt,"SelfLoopRouter/lambda$2$Type",1656),_(1657,1,{},W$e),h.Kb=function(t){return l(F(l(t,9),(Ie(),rw)),339)},k(Zt,"SelfLoopRouter/lambda$3$Type",1657),_(1658,1,nn,dtt),h.Ad=function(t){Tan(this.a,this.b,l(t,339))},k(Zt,"SelfLoopRouter/lambda$4$Type",1658),_(1659,1,kr,K$e),h.If=function(t,r){dSn(l(t,37),r)},k(Zt,"SemiInteractiveCrossMinProcessor",1659),_(1660,1,Mn,Y$e),h.Mb=function(t){return l(t,9).k==(zt(),Xr)},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1660),_(1661,1,Mn,J$e),h.Mb=function(t){return zot(l(t,9))._b((Be(),Zy))},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1661),_(1662,1,Un,X$e),h.Le=function(t,r){return nhn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1662),_(1663,1,{},Z$e),h.Te=function(t,r){return Nan(l(t,9),l(r,9))},k(Zt,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1663),_(1665,1,kr,Q$e),h.If=function(t,r){Vxn(l(t,37),r)},k(Zt,"SortByInputModelProcessor",1665),_(1666,1,Mn,eBe),h.Mb=function(t){return l(t,12).g.c.length!=0},k(Zt,"SortByInputModelProcessor/lambda$0$Type",1666),_(1667,1,nn,qYe),h.Ad=function(t){kyn(this.a,l(t,12))},k(Zt,"SortByInputModelProcessor/lambda$1$Type",1667),_(1746,811,{},lht),h.bf=function(t){var r,o,a,u;switch(this.c=t,this.a.g){case 2:r=new je,ei(lr(new Et(null,new St(this.c.a.b,16)),new pBe),new btt(this,r)),X6(this,new nBe),La(r,new rBe),r.c.length=0,ei(lr(new Et(null,new St(this.c.a.b,16)),new iBe),new WYe(r)),X6(this,new oBe),La(r,new sBe),r.c.length=0,o=Qnt(xK(ey(new Et(null,new St(this.c.a.b,16)),new KYe(this))),new aBe),ei(new Et(null,new St(this.c.a.a,16)),new htt(o,r)),X6(this,new cBe),La(r,new lBe),r.c.length=0;break;case 3:a=new je,X6(this,new tBe),u=Qnt(xK(ey(new Et(null,new St(this.c.a.b,16)),new VYe(this))),new uBe),ei(lr(new Et(null,new St(this.c.a.b,16)),new dBe),new gtt(u,a)),X6(this,new fBe),La(a,new hBe),a.c.length=0;break;default:throw Y(new bZe)}},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation",1746),_(1747,1,Uf,tBe),h.Lb=function(t){return ae(l(t,60).g,157)},h.Fb=function(t){return this===t},h.Mb=function(t){return ae(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1747),_(1748,1,{},VYe),h.We=function(t){return evn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1748),_(1756,1,nF,ftt),h.be=function(){bC(this.a,this.b,-1)},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1756),_(1758,1,Uf,nBe),h.Lb=function(t){return ae(l(t,60).g,157)},h.Fb=function(t){return this===t},h.Mb=function(t){return ae(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1758),_(1759,1,nn,rBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1759),_(1760,1,Mn,iBe),h.Mb=function(t){return ae(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1760),_(1762,1,nn,WYe),h.Ad=function(t){Fgn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1762),_(1761,1,nF,ytt),h.be=function(){bC(this.b,this.a,-1)},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1761),_(1763,1,Uf,oBe),h.Lb=function(t){return ae(l(t,60).g,9)},h.Fb=function(t){return this===t},h.Mb=function(t){return ae(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1763),_(1764,1,nn,sBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1764),_(1765,1,{},KYe),h.We=function(t){return tvn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1765),_(1766,1,{},aBe),h.Ue=function(){return 0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1766),_(1749,1,{},uBe),h.Ue=function(){return 0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1749),_(1768,1,nn,htt),h.Ad=function(t){asn(this.a,this.b,l(t,321))},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1768),_(1767,1,nF,ptt),h.be=function(){q0t(this.a,this.b,-1)},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1767),_(1769,1,Uf,cBe),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1769),_(1770,1,nn,lBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1770),_(1750,1,Mn,dBe),h.Mb=function(t){return ae(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1750),_(1752,1,nn,gtt),h.Ad=function(t){usn(this.a,this.b,l(t,60))},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1752),_(1751,1,nF,vtt),h.be=function(){bC(this.b,this.a,-1)},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1751),_(1753,1,Uf,fBe),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1753),_(1754,1,nn,hBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1754),_(1755,1,Mn,pBe),h.Mb=function(t){return ae(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1755),_(1757,1,nn,btt),h.Ad=function(t){Tfn(this.a,this.b,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1757),_(1564,1,kr,jrt),h.If=function(t,r){uxn(this,l(t,37),r)};var gNt;k(di,"HorizontalGraphCompactor",1564),_(1565,1,{},YYe),h.df=function(t,r){var o,a,u;return $pe(t,r)||(o=lE(t),a=lE(r),o&&o.k==(zt(),mi)||a&&a.k==(zt(),mi))?0:(u=l(F(this.a.a,(Ie(),t2)),317),Ztn(u,o?o.k:(zt(),gi),a?a.k:(zt(),gi)))},h.ef=function(t,r){var o,a,u;return $pe(t,r)?1:(o=lE(t),a=lE(r),u=l(F(this.a.a,(Ie(),t2)),317),Ode(u,o?o.k:(zt(),gi),a?a.k:(zt(),gi)))},k(di,"HorizontalGraphCompactor/1",1565),_(1566,1,{},gBe),h.cf=function(t,r){return YN(),t.a.i==0},k(di,"HorizontalGraphCompactor/lambda$0$Type",1566),_(1567,1,{},JYe),h.cf=function(t,r){return Ran(this.a,t,r)},k(di,"HorizontalGraphCompactor/lambda$1$Type",1567),_(1713,1,{},Hdt);var bNt,mNt;k(di,"LGraphToCGraphTransformer",1713),_(1721,1,Mn,bBe),h.Mb=function(t){return t!=null},k(di,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1721),_(1714,1,{},mBe),h.Kb=function(t){return hc(),ms(F(l(l(t,60).g,9),(Ie(),mr)))},k(di,"LGraphToCGraphTransformer/lambda$0$Type",1714),_(1715,1,{},wBe),h.Kb=function(t){return hc(),rgt(l(l(t,60).g,157))},k(di,"LGraphToCGraphTransformer/lambda$1$Type",1715),_(1724,1,Mn,yBe),h.Mb=function(t){return hc(),ae(l(t,60).g,9)},k(di,"LGraphToCGraphTransformer/lambda$10$Type",1724),_(1725,1,nn,vBe),h.Ad=function(t){xan(l(t,60))},k(di,"LGraphToCGraphTransformer/lambda$11$Type",1725),_(1726,1,Mn,EBe),h.Mb=function(t){return hc(),ae(l(t,60).g,157)},k(di,"LGraphToCGraphTransformer/lambda$12$Type",1726),_(1730,1,nn,SBe),h.Ad=function(t){ngn(l(t,60))},k(di,"LGraphToCGraphTransformer/lambda$13$Type",1730),_(1727,1,nn,XYe),h.Ad=function(t){Ken(this.a,l(t,8))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$14$Type",1727),_(1728,1,nn,ZYe),h.Ad=function(t){Jen(this.a,l(t,120))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$15$Type",1728),_(1729,1,nn,QYe),h.Ad=function(t){Yen(this.a,l(t,8))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$16$Type",1729),_(1731,1,{},TBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$17$Type",1731),_(1732,1,Mn,ABe),h.Mb=function(t){return hc(),fo(l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$18$Type",1732),_(1733,1,nn,eJe),h.Ad=function(t){Qdn(this.a,l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$19$Type",1733),_(1717,1,nn,tJe),h.Ad=function(t){Ncn(this.a,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$2$Type",1717),_(1734,1,{},_Be),h.Kb=function(t){return hc(),new Et(null,new St(l(t,26).a,16))},k(di,"LGraphToCGraphTransformer/lambda$20$Type",1734),_(1735,1,{},xBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$21$Type",1735),_(1736,1,{},kBe),h.Kb=function(t){return hc(),l(F(l(t,17),(Ie(),pm)),16)},k(di,"LGraphToCGraphTransformer/lambda$22$Type",1736),_(1737,1,Mn,NBe),h.Mb=function(t){return Qtn(l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$23$Type",1737),_(1738,1,nn,nJe),h.Ad=function(t){nvn(this.a,l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$24$Type",1738),_(1739,1,{},CBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$25$Type",1739),_(1740,1,Mn,IBe),h.Mb=function(t){return hc(),fo(l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$26$Type",1740),_(1742,1,nn,rJe),h.Ad=function(t){Vfn(this.a,l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$27$Type",1742),_(1741,1,nn,iJe),h.Ad=function(t){BQt(this.a,l(t,70))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$28$Type",1741),_(1716,1,nn,mtt),h.Ad=function(t){kln(this.a,this.b,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$3$Type",1716),_(1718,1,{},RBe),h.Kb=function(t){return hc(),new Et(null,new St(l(t,26).a,16))},k(di,"LGraphToCGraphTransformer/lambda$4$Type",1718),_(1719,1,{},OBe),h.Kb=function(t){return hc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$5$Type",1719),_(1720,1,{},DBe),h.Kb=function(t){return hc(),l(F(l(t,17),(Ie(),pm)),16)},k(di,"LGraphToCGraphTransformer/lambda$6$Type",1720),_(1722,1,nn,oJe),h.Ad=function(t){hvn(this.a,l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$8$Type",1722),_(1723,1,nn,wtt),h.Ad=function(t){vtn(this.a,this.b,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$9$Type",1723),_(1712,1,{},LBe),h.af=function(t){var r,o,a,u,f;for(this.a=t,this.d=new XG,this.c=we(S2e,Rt,126,this.a.a.a.c.length,0,1),this.b=0,o=new V(this.a.a.a);o.a<o.c.c.length;)r=l(q(o),321),r.d=this.b,f=o0(lO(new Tb,r),this.d),this.c[this.b]=f,++this.b;for(_kn(this),SNn(this),k2n(this),SJ(OV(this.d),new sS),u=new V(this.a.a.b);u.a<u.c.c.length;)a=l(q(u),60),a.d.c=this.c[a.a.d].e+a.b.a},h.b=0,k(di,"NetworkSimplexCompaction",1712),_(157,1,{34:1,157:1},DC),h.Dd=function(t){return sfn(this,l(t,157))},h.Ib=function(){return rgt(this)},k(di,"VerticalSegment",157),_(833,1,{},Rbe),h.c=0,h.e=0,h.i=0,k(YC,"BetweenLayerEdgeTwoNodeCrossingsCounter",833),_(674,1,{674:1},Aht),h.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},h.b=0,h.c=0,h.f=0,k(YC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",674),_(296,1,{34:1,296:1},Vrt),h.Dd=function(t){return Lon(this,l(t,296))},h.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},h.a=0,h.b=0,h.c=0,k(YC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",296),_(2005,1,{},vmt),h.b=0,h.e=!1,k(YC,"CrossingMatrixFiller",2005);var wNt=Hr(_h,"IInitializable");_(1863,1,JC,Ett),h.eg=function(t,r,o,a,u,f){},h.gg=function(t,r,o){},h.cg=function(){return this.c!=(Kb(),XI)},h.dg=function(){this.e=we(Rn,Qn,30,this.d,15,1)},h.fg=function(t,r){r[t][0].c.p=t},h.hg=function(t,r,o,a){++this.d},h.ig=function(){return!0},h.jg=function(t,r,o,a){return Wpt(this,t,r,o),Gln(this,r)},h.kg=function(t,r){var o;return o=VQt(r,t.length),Wpt(this,t,o,r),opt(this,o)},h.d=0,k(YC,"GreedySwitchHeuristic",1863),_(2008,1,{},Yot),h.b=0,h.d=0,k(YC,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",2008),_(1995,1,{},ryt),h.a=!1,k(YC,"SwitchDecider",1995),_(108,1,{108:1},Rmt),h.a=null,h.c=null,h.i=null,k(yT,"SelfHyperLoop",108),_(1992,1,{},s1t),h.c=0,h.e=0,k(yT,"SelfHyperLoopLabels",1992),_(418,23,{3:1,34:1,23:1,418:1},c8);var Hy,qx,Vx,See,yNt=fn(yT,"SelfHyperLoopLabels/Alignment",418,bn,eln,Nrn),vNt;_(342,1,{342:1},Alt),k(yT,"SelfLoopEdge",342),_(339,1,{339:1},a1t),h.a=!1,k(yT,"SelfLoopHolder",339),_(1777,1,Mn,MBe),h.Mb=function(t){return fo(l(t,17))},k(yT,"SelfLoopHolder/lambda$0$Type",1777),_(114,1,{114:1},h1t),h.a=!1,h.c=!1,k(yT,"SelfLoopPort",114),_(1849,1,Mn,PBe),h.Mb=function(t){return fo(l(t,17))},k(yT,"SelfLoopPort/lambda$0$Type",1849),_(372,23,{3:1,34:1,23:1,372:1},gO);var z$,sL,G$,q$,V$,ENt=fn(yT,"SelfLoopType",372,bn,Yln,Crn),SNt;_(1785,1,{},_We);var TNt,ANt,_Nt,xNt;k(Ac,"PortRestorer",1785),_(369,23,{3:1,34:1,23:1,369:1},Rq);var Z0,P1,Q0,Tee=fn(Ac,"PortRestorer/PortSideArea",369,bn,rcn,Orn),kNt;_(1786,1,{},jBe),h.Kb=function(t){return S1(),l(t,16).Mc()},k(Ac,"PortRestorer/lambda$0$Type",1786),_(1787,1,nn,FBe),h.Ad=function(t){S1(),l(t,114).c=!1},k(Ac,"PortRestorer/lambda$1$Type",1787),_(1796,1,Mn,$Be),h.Mb=function(t){return S1(),l(t,12).j==(He(),Kt)},k(Ac,"PortRestorer/lambda$10$Type",1796),_(1797,1,{},BBe),h.Kb=function(t){return S1(),l(t,114).d},k(Ac,"PortRestorer/lambda$11$Type",1797),_(1798,1,nn,sJe),h.Ad=function(t){UQt(this.a,l(t,12))},k(Ac,"PortRestorer/lambda$12$Type",1798),_(1788,1,nn,aJe),h.Ad=function(t){pnn(this.a,l(t,108))},k(Ac,"PortRestorer/lambda$2$Type",1788),_(1789,1,Un,UBe),h.Le=function(t,r){return Ofn(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ac,"PortRestorer/lambda$3$Type",1789),_(1790,1,Mn,HBe),h.Mb=function(t){return S1(),l(t,114).c},k(Ac,"PortRestorer/lambda$4$Type",1790),_(1791,1,Mn,zBe),h.Mb=function(t){return xhn(l(t,12))},k(Ac,"PortRestorer/lambda$5$Type",1791),_(1792,1,Mn,GBe),h.Mb=function(t){return S1(),l(t,12).j==(He(),Wt)},k(Ac,"PortRestorer/lambda$6$Type",1792),_(1793,1,Mn,qBe),h.Mb=function(t){return S1(),l(t,12).j==(He(),Qt)},k(Ac,"PortRestorer/lambda$7$Type",1793),_(1794,1,Mn,VBe),h.Mb=function(t){return mln(l(t,12))},k(Ac,"PortRestorer/lambda$8$Type",1794),_(1795,1,Mn,WBe),h.Mb=function(t){return S1(),l(t,12).j==(He(),dn)},k(Ac,"PortRestorer/lambda$9$Type",1795),_(277,23,{3:1,34:1,23:1,277:1},OS);var Aee,_ee,xee,kee,Nee,Cee,Iee,Ree,$Se=fn(Ac,"PortSideAssigner/Target",277,bn,ffn,Drn),NNt;_(1778,1,{},KBe),h.Kb=function(t){return lr(new Et(null,new St(l(t,108).j,16)),new Oue)},k(Ac,"PortSideAssigner/lambda$1$Type",1778),_(1779,1,{},YBe),h.Kb=function(t){return l(t,114).d},k(Ac,"PortSideAssigner/lambda$2$Type",1779),_(1780,1,nn,JBe),h.Ad=function(t){Ci(l(t,12),(He(),Wt))},k(Ac,"PortSideAssigner/lambda$3$Type",1780),_(1781,1,{},XBe),h.Kb=function(t){return l(t,114).d},k(Ac,"PortSideAssigner/lambda$4$Type",1781),_(1782,1,nn,uJe),h.Ad=function(t){eQt(this.a,l(t,12))},k(Ac,"PortSideAssigner/lambda$5$Type",1782),_(1783,1,Un,ZBe),h.Le=function(t,r){return Ysn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ac,"PortSideAssigner/lambda$6$Type",1783),_(1784,1,Un,QBe),h.Le=function(t,r){return Non(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ac,"PortSideAssigner/lambda$7$Type",1784),_(814,1,Mn,Oue),h.Mb=function(t){return l(t,114).c},k(Ac,"PortSideAssigner/lambda$8$Type",814),_(2087,1,{}),k(C1,"AbstractSelfLoopRouter",2087),_(1803,1,Un,eUe),h.Le=function(t,r){return Qnn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(C1,$2t,1803),_(1804,1,Un,tUe),h.Le=function(t,r){return ern(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(C1,B2t,1804),_(1850,2087,{},nUe),h.lg=function(t,r,o){return o},k(C1,"OrthogonalSelfLoopRouter",1850),_(1852,1,nn,Stt),h.Ad=function(t){H1e(this.b,this.a,l(t,8))},k(C1,"OrthogonalSelfLoopRouter/lambda$0$Type",1852),_(1851,1850,{},rUe),h.lg=function(t,r,o){var a,u;return a=t.c.d,WA(o,0,br(To(a.n),a.a)),u=t.d.d,Gn(o,br(To(u.n),u.a)),EAn(o)},k(C1,"PolylineSelfLoopRouter",1851),_(1799,1,{},CWe),h.a=null;var WE;k(C1,"RoutingDirector",1799),_(1800,1,Un,iUe),h.Le=function(t,r){return _on(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(C1,"RoutingDirector/lambda$0$Type",1800),_(1801,1,{},oUe),h.Kb=function(t){return K9(),l(t,108).j},k(C1,"RoutingDirector/lambda$1$Type",1801),_(1802,1,nn,sUe),h.Ad=function(t){K9(),l(t,16).gd(WE)},k(C1,"RoutingDirector/lambda$2$Type",1802),_(1805,1,{},aUe),k(C1,"RoutingSlotAssigner",1805),_(1806,1,Mn,cJe),h.Mb=function(t){return Ien(this.a,l(t,108))},k(C1,"RoutingSlotAssigner/lambda$0$Type",1806),_(1807,1,Un,lJe),h.Le=function(t,r){return Won(this.a,l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(C1,"RoutingSlotAssigner/lambda$1$Type",1807),_(1853,1850,{},uUe),h.lg=function(t,r,o){var a,u,f,p;return a=ue(ce(i7(t.b.g.b,(Be(),o2)))),p=new Yrt(Z(X($i,1),Pe,8,0,[(f=t.c.d,br(new So(f.n),f.a))])),XEn(t,r,o,p,a),Gn(p,(u=t.d.d,br(new So(u.n),u.a))),L1t(new C0e(p))},k(C1,"SplineSelfLoopRouter",1853),_(516,1,Un,Age,fat),h.Le=function(t,r){return hD(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=!1,k(pF,"ModelOrderNodeComparator",516),_(1808,1,Mn,cUe),h.Mb=function(t){return l(t,12).e.c.length!=0},k(pF,"ModelOrderNodeComparator/lambda$0$Type",1808),_(579,1,Mn,h9),h.Mb=function(t){return l(t,12).e.c.length!=0},k(pF,"ModelOrderNodeComparator/lambda$1$Type",579),_(580,1,Mn,p9),h.Mb=function(t){return l(t,12).g.c.length!=0},k(pF,"ModelOrderNodeComparator/lambda$2$Type",580),_(663,1,Un,ygt,Mpe),h.Le=function(t,r){return pst(this,t,r)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.c=!1,k(pF,"ModelOrderPortComparator",663),_(1643,1,kr,dUe),h.If=function(t,r){s3n(l(t,37))},k("org.eclipse.elk.alg.layered.intermediate.unzipping","AlternatingLayerUnzipper",1643),_(809,1,{},Due),h.mg=function(t,r){var o,a,u,f;for(u=gmt(r),o=new je,f=r.f/u,a=1;a<u;++a)Fe(o,Re(Dn(Gs(b.Math.round(a*f)))));return o},h.ng=function(){return!1},k(zf,"ARDCutIndexHeuristic",809),_(1522,1,kr,fUe),h.If=function(t,r){$Tn(l(t,37),r)},k(zf,"BreakingPointInserter",1522),_(318,1,{318:1},ipe),h.Ib=function(){var t;return t=new Zg,t.a+="BPInfo[",t.a+=`
start=`,ba(t,this.i),t.a+=`
end=`,ba(t,this.a),t.a+=`
nodeStartEdge=`,ba(t,this.e),t.a+=`
startEndEdge=`,ba(t,this.j),t.a+=`
originalEdge=`,ba(t,this.f),t.a+=`
startInLayerDummy=`,ba(t,this.k),t.a+=`
startInLayerEdge=`,ba(t,this.n),t.a+=`
endInLayerDummy=`,ba(t,this.b),t.a+=`
endInLayerEdge=`,ba(t,this.c),t.a},k(zf,"BreakingPointInserter/BPInfo",318),_(657,1,{657:1},vJe),h.a=!1,h.b=0,h.c=0,k(zf,"BreakingPointInserter/Cut",657),_(1523,1,kr,hUe),h.If=function(t,r){n2n(l(t,37),r)},k(zf,"BreakingPointProcessor",1523),_(1524,1,Mn,lUe),h.Mb=function(t){return sft(l(t,9))},k(zf,"BreakingPointProcessor/0methodref$isEnd$Type",1524),_(1525,1,Mn,pUe),h.Mb=function(t){return aft(l(t,9))},k(zf,"BreakingPointProcessor/1methodref$isStart$Type",1525),_(1526,1,kr,gUe),h.If=function(t,r){_2n(this,l(t,37),r)},k(zf,"BreakingPointRemover",1526),_(1527,1,nn,bUe),h.Ad=function(t){l(t,134).k=!0},k(zf,"BreakingPointRemover/lambda$0$Type",1527),_(805,1,{},kme),h.b=0,h.e=0,h.f=0,h.j=0,k(zf,"GraphStats",805),_(806,1,{},Lue),h.Te=function(t,r){return b.Math.max(ue(ce(t)),ue(ce(r)))},k(zf,"GraphStats/0methodref$max$Type",806),_(807,1,{},Mue),h.Te=function(t,r){return b.Math.max(ue(ce(t)),ue(ce(r)))},k(zf,"GraphStats/2methodref$max$Type",807),_(1709,1,{},mUe),h.Te=function(t,r){return pin(ce(t),ce(r))},k(zf,"GraphStats/lambda$1$Type",1709),_(1710,1,{},dJe),h.Kb=function(t){return f1t(this.a,l(t,26))},k(zf,"GraphStats/lambda$2$Type",1710),_(1711,1,{},fJe),h.Kb=function(t){return bwt(this.a,l(t,26))},k(zf,"GraphStats/lambda$6$Type",1711),_(808,1,{},Pue),h.mg=function(t,r){var o;return o=l(F(t,(Be(),VAe)),16),o||(At(),At(),Co)},h.ng=function(){return!1},k(zf,"ICutIndexCalculator/ManualCutIndexCalculator",808),_(810,1,{},jue),h.mg=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee;for(Ee=(r.n==null&&$1t(r),r.n),y=(r.d==null&&$1t(r),r.d),de=we(Ki,Jo,30,Ee.length,15,1),de[0]=Ee[0],ne=Ee[0],v=1;v<Ee.length;v++)de[v]=de[v-1]+Ee[v],ne+=Ee[v];for(u=gmt(r)-1,p=l(F(t,(Be(),WAe)),15).a,a=Li,o=new je,O=b.Math.max(0,u-p);O<=b.Math.min(r.f-1,u+p);O++){if(z=ne/(O+1),J=0,T=1,f=new je,se=Li,N=0,m=0,U=y[0],O==0)se=ne,m=(r.g==null&&(r.g=wht(r,new Mue)),ue(r.g));else{for(;T<r.f;)de[T-1]-J>=z&&(Fe(f,Re(T)),se=b.Math.max(se,de[T-1]-N),m+=U,J+=de[T-1]-J,N=de[T-1],U=y[T]),U=b.Math.max(U,y[T]),++T;m+=U}M=b.Math.min(1/se,1/r.b/m),M>a&&(a=M,o=f)}return o},h.ng=function(){return!1},k(zf,"MSDCutIndexHeuristic",810),_(1664,1,kr,wUe),h.If=function(t,r){f_n(l(t,37),r)},k(zf,"SingleEdgeGraphWrapper",1664),_(233,23,{3:1,34:1,23:1,233:1},n3);var KE,Wx,Kx,zy,xI,YE,Yx=fn($s,"CenterEdgeLabelPlacementStrategy",233,bn,Ndn,Rrn),CNt;_(427,23,{3:1,34:1,23:1,427:1},Rle);var BSe,Oee,USe=fn($s,"ConstraintCalculationStrategy",427,bn,Kan,Irn),INt;_(302,23,{3:1,34:1,23:1,302:1,173:1,177:1},l8),h.bg=function(){return twt(this)},h.og=function(){return twt(this)};var aL,kI,HSe,zSe,GSe=fn($s,"CrossingMinimizationStrategy",302,bn,iln,Lrn),RNt;_(351,23,{3:1,34:1,23:1,351:1},Oq);var qSe,Dee,W$,VSe=fn($s,"CuttingStrategy",351,bn,qun,Mrn),ONt;_(268,23,{3:1,34:1,23:1,268:1,173:1,177:1},Kv),h.bg=function(){return syt(this)},h.og=function(){return syt(this)};var Lee,WSe,Mee,Pee,jee,Fee,$ee,Bee,uL,KSe=fn($s,"CycleBreakingStrategy",268,bn,$fn,Prn),DNt;_(424,23,{3:1,34:1,23:1,424:1},Ole);var K$,YSe,JSe=fn($s,"DirectionCongruency",424,bn,Yan,jrn),LNt;_(452,23,{3:1,34:1,23:1,452:1},Dq);var Jx,Uee,JE,MNt=fn($s,"EdgeConstraint",452,bn,Vun,Frn),PNt;_(286,23,{3:1,34:1,23:1,286:1},r3);var Hee,zee,Gee,qee,Y$,Vee,XSe=fn($s,"EdgeLabelSideSelection",286,bn,_dn,$rn),jNt;_(479,23,{3:1,34:1,23:1,479:1},Dle);var J$,ZSe,QSe=fn($s,"EdgeStraighteningStrategy",479,bn,Jan,Brn),FNt;_(284,23,{3:1,34:1,23:1,284:1},i3);var Wee,eTe,tTe,X$,nTe,rTe,iTe=fn($s,"FixedAlignment",284,bn,xdn,Urn),$Nt;_(285,23,{3:1,34:1,23:1,285:1},o3);var oTe,sTe,aTe,uTe,NI,cTe,lTe=fn($s,"GraphCompactionStrategy",285,bn,kdn,Hrn),BNt;_(262,23,{3:1,34:1,23:1,262:1},Fw);var Xx,Z$,Zx,rl,CI,Q$,Qx,XE,eB,II,Kee=fn($s,"GraphProperties",262,bn,shn,zrn),UNt;_(303,23,{3:1,34:1,23:1,303:1},Lq);var cL,Yee,Jee,Xee=fn($s,"GreedySwitchType",303,bn,Gun,Grn),HNt;_(330,23,{3:1,34:1,23:1,330:1},Mq);var Gy,dTe,lL,Zee=fn($s,"GroupOrderStrategy",330,bn,Hun,qrn),zNt;_(316,23,{3:1,34:1,23:1,316:1},Pq);var kT,dL,ZE,GNt=fn($s,"InLayerConstraint",316,bn,zun,Vrn),qNt;_(425,23,{3:1,34:1,23:1,425:1},Lle);var Qee,fTe,hTe=fn($s,"InteractiveReferencePoint",425,bn,qan,Wrn),VNt,pTe,NT,ew,fL,tB,gTe,bTe,nB,mTe,CT,rB,RI,IT,_p,ete,iB,Hs,wTe,j1,xa,tte,nte,hL,hm,tw,RT,yTe,WNt,OT,pL,qy,Cd,Nl,rte,QE,F1,Cr,mr,vTe,ETe,STe,TTe,ATe,ite,oB,Nu,nw,ote,DT,OI,Ag,e2,rw,t2,n2,ek,pm,_Te,ste,ate,DI,LT,sB,MT,r2;_(166,23,{3:1,34:1,23:1,166:1},bO);var LI,xp,MI,gm,gL,xTe=fn($s,"LayerConstraint",166,bn,Qln,Krn),KNt;_(428,23,{3:1,34:1,23:1,428:1},Mle);var ute,cte,kTe=fn($s,"LayerUnzippingStrategy",428,bn,Van,Yrn),YNt;_(851,1,td,IWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Lwe),""),"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."),BTe),(A1(),$r)),JSe),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Mwe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Lt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gF),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),VTe),$r),hTe),ct(xt)))),zr(t,gF,jD,Q3t),zr(t,gF,XC,Z3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Pwe),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jwe),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(HQt(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Fwe),""),"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),Ai),Yr),ct(Cg)),Z(X(Je,1),Pe,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$we),""),"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."),rAe),$r),p_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Bwe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Re(7)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Uwe),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Hwe),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jD),"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)."),$Te),$r),KSe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,FD),yZ),"Node Layering Strategy"),"Strategy for node layering."),YTe),$r),n_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zwe),yZ),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),WTe),$r),xTe),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Gwe),yZ),"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),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qwe),yZ),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Re(-1)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,UX),ySt),"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."),Re(4)),yo),Ti),ct(xt)))),zr(t,UX,FD,sCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,HX),ySt),"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."),Re(2)),yo),Ti),ct(xt)))),zr(t,HX,FD,uCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zX),vSt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),KTe),$r),d_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,GX),vSt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Re(0)),yo),Ti),ct(xt)))),zr(t,GX,zX,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qX),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Re(sr)),yo),Ti),ct(xt)))),zr(t,qX,FD,tCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,XC),Ax),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),FTe),$r),GSe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Vwe),Ax),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,VX),Ax),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),eo),fi),ct(xt)))),zr(t,VX,NF,_3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,WX),Ax),"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),Ai),Yr),ct(xt)))),zr(t,WX,XC,R3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Wwe),Ax),"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),HT),Je),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Kwe),Ax),"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),HT),Je),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ywe),Ax),"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),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Jwe),Ax),"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."),Re(-1)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Xwe),ESt),"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."),Re(40)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,KX),ESt),"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."),jTe),$r),Xee),ct(xt)))),zr(t,KX,XC,T3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bF),"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."),PTe),$r),Xee),ct(xt)))),zr(t,bF,XC,v3t),zr(t,bF,NF,E3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PE),SSt),"Node Placement Strategy"),"Strategy for node placement."),nAe),$r),s_e),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,mF),SSt),"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."),Ai),Yr),ct(xt)))),zr(t,mF,PE,_Ct),zr(t,mF,PE,xCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,YX),TSt),"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."),QTe),$r),QSe),ct(xt)))),zr(t,YX,PE,ECt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,JX),TSt),"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."),eAe),$r),iTe),ct(xt)))),zr(t,JX,PE,TCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,XX),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),eo),fi),ct(xt)))),zr(t,XX,PE,NCt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,ZX),"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."),$r),Pte),ct(ri)))),zr(t,ZX,PE,OCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,QX),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),tAe),$r),Pte),ct(xt)))),zr(t,QX,PE,RCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Zwe),ASt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),zTe),$r),m_e),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Qwe),ASt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),GTe),$r),w_e),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,wF),"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."),qTe),$r),v_e),ct(xt)))),zr(t,wF,BD,H3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,yF),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),eo),fi),ct(xt)))),zr(t,yF,BD,G3t),zr(t,yF,wF,q3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eZ),"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),eo),fi),ct(xt)))),zr(t,eZ,BD,F3t),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,eye),of),"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."),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,tye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,nye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,rye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,iye),bye),"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."),Re(0)),yo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,oye),bye),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Re(0)),yo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sye),bye),"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."),Re(0)),yo),Ti),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,tZ),mye),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),Ai),Yr),ct(xt)))),zr(t,tZ,WC,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,aye),_St),"Post Compaction Strategy"),xSt),CTe),$r),lTe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uye),_St),"Post Compaction Constraint Calculation"),xSt),NTe),$r),USe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vF),wye),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,nZ),wye),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Re(16)),yo),Ti),ct(xt)))),zr(t,nZ,vF,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,rZ),wye),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Re(5)),yo),Ti),ct(xt)))),zr(t,rZ,vF,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sp),yye),"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'."),sAe),$r),A_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,EF),yye),"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),eo),fi),ct(xt)))),zr(t,EF,Sp,qCt),zr(t,EF,Sp,VCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,SF),yye),"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),eo),fi),ct(xt)))),zr(t,SF,Sp,KCt),zr(t,SF,Sp,YCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ZC),kSt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),oAe),$r),VSe),ct(xt)))),zr(t,ZC,Sp,tIt),zr(t,ZC,Sp,nIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,iZ),kSt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),lf),_c),ct(xt)))),zr(t,iZ,ZC,XCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,oZ),"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."),iAe),yo),Ti),ct(xt)))),zr(t,oZ,ZC,QCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,TF),NSt),"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."),aAe),$r),T_e),ct(xt)))),zr(t,TF,Sp,pIt),zr(t,TF,Sp,gIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,AF),NSt),"Valid Indices for Wrapping"),null),lf),_c),ct(xt)))),zr(t,AF,Sp,dIt),zr(t,AF,Sp,fIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_F),vye),"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),Ai),Yr),ct(xt)))),zr(t,_F,Sp,sIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xF),vye),"Distance Penalty When Improving Cuts"),null),2),eo),fi),ct(xt)))),zr(t,xF,Sp,iIt),zr(t,xF,_F,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sZ),vye),"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),Ai),Yr),ct(xt)))),zr(t,sZ,Sp,uIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,aZ),vZ),"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'."),ZTe),$r),kTe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uZ),vZ),"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),Ai),Yr),ct(ri)))),zr(t,uZ,cZ,pCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cZ),vZ),"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."),JTe),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lZ),vZ),"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."),XTe),Ai),Yr),ct(ri)))),zr(t,lZ,aZ,bCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cye),EZ),"Edge Label Side Selection"),"Method to decide on edge label sides."),HTe),$r),XSe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lye),EZ),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),UTe),$r),Yx),xr(xt,Z(X(cf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kF),QC),"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."),MTe),$r),h_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,dye),QC),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$D),QC),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,dZ),QC),"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."),ITe),$r),V2e),ct(xt)))),zr(t,dZ,WC,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,fye),QC),"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."),LTe),$r),i_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,fZ),QC),"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),eo),fi),ct(xt)))),zr(t,fZ,kF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,hZ),QC),"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),eo),fi),ct(xt)))),zr(t,hZ,kF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,pZ),_x),Eye),"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."),Re(0)),yo),Ti),ct(ri)))),zr(t,pZ,$D,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gZ),_x),Eye),"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."),Re(0)),yo),Ti),xr(ri,Z(X(cf,1),Ce,161,0,[Rd,Cg]))))),zr(t,gZ,$D,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bZ),_x),Eye),"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."),Re(0)),yo),Ti),xr(ri,Z(X(cf,1),Ce,161,0,[Rd,Cg]))))),zr(t,bZ,$D,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,hye),_x),"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."),RTe),$r),Zee),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,mZ),_x),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),yo),Ti),ct(xt)))),zr(t,mZ,jD,o3t),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,wZ),_x),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),yo),Ti),ct(xt)))),zr(t,wZ,jD,a3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,pye),_x),"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."),DTe),$r),Zee),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gye),_x),"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."),OTe),lf),_c),ct(xt)))),KEt((new FWe,t))};var JNt,XNt,ZNt,NTe,QNt,CTe,e3t,ITe,t3t,n3t,r3t,RTe,i3t,o3t,s3t,a3t,u3t,OTe,c3t,DTe,l3t,d3t,f3t,h3t,LTe,p3t,g3t,b3t,MTe,m3t,w3t,y3t,PTe,v3t,E3t,S3t,jTe,T3t,A3t,_3t,x3t,k3t,N3t,C3t,I3t,R3t,O3t,FTe,D3t,$Te,L3t,BTe,M3t,UTe,P3t,HTe,j3t,F3t,$3t,zTe,B3t,GTe,U3t,qTe,H3t,z3t,G3t,q3t,V3t,W3t,K3t,Y3t,J3t,X3t,VTe,Z3t,Q3t,eCt,tCt,nCt,rCt,WTe,iCt,oCt,sCt,aCt,uCt,cCt,lCt,KTe,dCt,YTe,fCt,JTe,hCt,pCt,gCt,XTe,bCt,mCt,ZTe,wCt,yCt,vCt,QTe,ECt,SCt,eAe,TCt,ACt,_Ct,xCt,kCt,NCt,CCt,ICt,tAe,RCt,OCt,DCt,nAe,LCt,rAe,MCt,PCt,jCt,FCt,$Ct,BCt,UCt,HCt,zCt,GCt,qCt,VCt,WCt,KCt,YCt,JCt,XCt,ZCt,iAe,QCt,eIt,oAe,tIt,nIt,rIt,iIt,oIt,sIt,aIt,uIt,cIt,sAe,lIt,dIt,fIt,hIt,aAe,pIt,gIt;k($s,"LayeredMetaDataProvider",851),_(991,1,td,FWe),h.tf=function(t){KEt(t)};var Kf,lte,aB,PI,uB,uAe,cB,jI,bL,dte,PT,cAe,lAe,dAe,FI,bIt,$I,Vy,fte,lB,hte,Ch,pte,tk,fAe,mL,gte,hAe,mIt,wIt,yIt,dB,bte,BI,jT,vIt,xc,pAe,gAe,fB,i2,Yf,hB,kp,bAe,mAe,wAe,mte,wte,yAe,_g,yte,vAe,Wy,EAe,SAe,TAe,pB,Ky,bm,AAe,_Ae,ss,xAe,EIt,Cs,UI,kAe,NAe,CAe,wL,gB,bB,vte,Ete,IAe,mB,RAe,OAe,wB,iw,DAe,Ste,HI,LAe,ow,zI,yB,mm,Tte,nk,vB,wm,MAe,PAe,jAe,Yy,FAe,SIt,TIt,AIt,_It,sw,Jy,Zr,xg,xIt,Xy,$Ae,rk,BAe,Zy,kIt,ik,UAe,FT,NIt,CIt,yL,Ate,HAe,vL,od,Qy,o2,ym,$1,EB,ev,_te,ok,sk,vm,tv,xte,EL,GI,qI,IIt,RIt,OIt,zAe,DIt,kte,GAe,qAe,VAe,WAe,Nte,KAe,YAe,JAe,XAe,Cte,SB;k($s,"LayeredOptions",991),_(992,1,{},yUe),h.uf=function(){var t;return t=new vZe,t},h.vf=function(t){},k($s,"LayeredOptions/LayeredFactory",992),_(1357,1,{}),h.a=0;var LIt;k(Vs,"ElkSpacings/AbstractSpacingsBuilder",1357),_(785,1357,{},E1e);var TB,MIt;k($s,"LayeredSpacings/LayeredSpacingsBuilder",785),_(269,23,{3:1,34:1,23:1,269:1,173:1,177:1},Yv),h.bg=function(){return nyt(this)},h.og=function(){return nyt(this)};var Ite,Rte,Ote,ZAe,QAe,e_e,AB,Dte,t_e,n_e=fn($s,"LayeringStrategy",269,bn,Bfn,ein),PIt;_(353,23,{3:1,34:1,23:1,353:1},jq);var Lte,r_e,_B,i_e=fn($s,"LongEdgeOrderingStrategy",353,bn,Xun,Xrn),jIt;_(205,23,{3:1,34:1,23:1,205:1},d8);var s2,a2,xB,Mte,Pte=fn($s,"NodeFlexibility",205,bn,nln,Jrn),FIt;_(329,23,{3:1,34:1,23:1,329:1,173:1,177:1},mO),h.bg=function(){return pmt(this)},h.og=function(){return pmt(this)};var VI,jte,Fte,WI,o_e,s_e=fn($s,"NodePlacementStrategy",329,bn,Zln,Zrn),$It;_(246,23,{3:1,34:1,23:1,246:1},$w);var a_e,ak,KI,SL,u_e,c_e,TL,l_e,kB,NB,d_e=fn($s,"NodePromotionStrategy",246,bn,ohn,Qrn),BIt;_(270,23,{3:1,34:1,23:1,270:1},f8);var f_e,B1,$te,Bte,h_e=fn($s,"OrderingStrategy",270,bn,rln,tin),UIt;_(426,23,{3:1,34:1,23:1,426:1},Ple);var Ute,Hte,p_e=fn($s,"PortSortingStrategy",426,bn,Wan,nin),HIt;_(455,23,{3:1,34:1,23:1,455:1},Fq);var Cu,Ba,YI,zIt=fn($s,"PortType",455,bn,Wun,rin),GIt;_(382,23,{3:1,34:1,23:1,382:1},$q);var g_e,zte,b_e,m_e=fn($s,"SelfLoopDistributionStrategy",382,bn,Kun,iin),qIt;_(349,23,{3:1,34:1,23:1,349:1},Bq);var Gte,AL,qte,w_e=fn($s,"SelfLoopOrderingStrategy",349,bn,Yun,oin),VIt;_(317,1,{317:1},zvt),k($s,"Spacings",317),_(350,23,{3:1,34:1,23:1,350:1},Uq);var Vte,y_e,JI,v_e=fn($s,"SplineRoutingMode",350,bn,Jun,sin),WIt;_(352,23,{3:1,34:1,23:1,352:1},Hq);var Wte,E_e,S_e,T_e=fn($s,"ValidifyStrategy",352,bn,Zun,ain),KIt;_(383,23,{3:1,34:1,23:1,383:1},zq);var nv,Kte,uk,A_e=fn($s,"WrappingStrategy",383,bn,Qun,uin),YIt;_(1373,1,Fi,MWe),h.pg=function(t){return l(t,37),JIt},h.If=function(t,r){Jxn(this,l(t,37),r)};var JIt;k(H0,"BFSNodeOrderCycleBreaker",1373),_(1371,1,Fi,LWe),h.pg=function(t){return l(t,37),XIt},h.If=function(t,r){q_n(this,l(t,37),r)};var XIt;k(H0,"DFSNodeOrderCycleBreaker",1371),_(1372,1,nn,tot),h.Ad=function(t){qTn(this.a,this.c,this.b,l(t,17))},h.b=!1,k(H0,"DFSNodeOrderCycleBreaker/lambda$0$Type",1372),_(1365,1,Fi,PWe),h.pg=function(t){return l(t,37),ZIt},h.If=function(t,r){G_n(this,l(t,37),r)};var ZIt;k(H0,"DepthFirstCycleBreaker",1365),_(786,1,Fi,qfe),h.pg=function(t){return l(t,37),QIt},h.If=function(t,r){f3n(this,l(t,37),r)},h.qg=function(t){return l(ze(t,u7(this.e,t.c.length)),9)};var QIt;k(H0,"GreedyCycleBreaker",786),_(1368,786,Fi,Ytt),h.qg=function(t){var r,o,a,u,f,p,m,y,v;for(v=null,a=sr,y=b.Math.max(this.b.a.c.length,l(F(this.b,(Ie(),F1)),15).a),r=y*l(F(this.b,fL),15).a,u=new YR,o=be(F(this.b,(Be(),PT)))===be((g1(),Gy)),m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),gr(p,Cr)&&(f=o?iT(u,p,r,y):tT(u,p,y),a>f&&(a=f,v=p));return v||l(ze(t,u7(this.e,t.c.length)),9)},k(H0,"GreedyModelOrderCycleBreaker",1368),_(509,1,{},YR),h.a=0,h.b=0,k(H0,"GroupModelOrderCalculator",509),_(1366,1,Fi,OWe),h.pg=function(t){return l(t,37),e4t},h.If=function(t,r){mxn(this,l(t,37),r)};var e4t;k(H0,"InteractiveCycleBreaker",1366),_(1367,1,Fi,RWe),h.pg=function(t){return l(t,37),t4t},h.If=function(t,r){yxn(l(t,37),r)};var t4t;k(H0,"ModelOrderCycleBreaker",1367),_(787,1,Fi),h.pg=function(t){return l(t,37),n4t},h.If=function(t,r){o_n(this,l(t,37),r)},h.rg=function(t,r){var o,a,u,f,p,m,y,v,T,N;for(p=0;p<this.d.b;p++){for(m=null,o=new YR,y=Qi,N=l(sa(this.d,p),24).Jc();N.Ob();)T=l(N.Pb(),9),f=be(F(this.a,(Be(),PT)))===be((g1(),Gy)),m?(v=f?iT(o,T,r,t):tT(o,T,t),y<v&&(m=T,y=v)):(m=T,y=f?iT(o,T,r,t):tT(o,T,t));for(u=new $t(qt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}};var n4t;k(H0,"SCCModelOrderCycleBreaker",787),_(1370,787,Fi,Jtt),h.rg=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M;for(p=0;p<this.d.b;p++)if(!(l(sa(this.d,p),24).gc()<=1)){for(y=null,m=null,N=sr,T=Qi,f=be(F(this.a,(Be(),PT)))===be((g1(),Gy)),o=new YR,M=l(sa(this.d,p),24).Jc();M.Ob();)O=l(M.Pb(),9),!y||!m?(y=O,N=f?iT(o,O,r,t):tT(o,O,t),m=O,T=N):(v=f?iT(o,O,r,t):tT(o,O,t),N>v&&(y=O,N=v),T<v&&(m=O,T=v));if(be(F(y,Vy))===be(F(this.a,cAe)))for(u=new $t(qt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else if(be(F(m,Vy))===be(F(this.a,lAe)))for(u=new $t(qt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else if(yd(new $t(qt(si(y).a.Jc(),new D)))>yd(new $t(qt(Or(m).a.Jc(),new D))))for(u=new $t(qt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else for(u=new $t(qt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}},k(H0,"SCCNodeTypeCycleBreaker",1370),_(1369,787,Fi,Xtt),h.rg=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M;for(p=0;p<this.d.b;p++)if(!(l(sa(this.d,p),24).gc()<=1)){for(y=null,m=null,N=sr,T=Qi,f=be(F(this.a,(Be(),PT)))===be((g1(),Gy)),o=new YR,M=l(sa(this.d,p),24).Jc();M.Ob();)O=l(M.Pb(),9),!y||!m?(y=O,N=f?iT(o,O,r,t):tT(o,O,t),m=O,T=N):(v=f?iT(o,O,r,t):tT(o,O,t),N>v&&(y=O,N=v),T<v&&(m=O,T=v));if(yd(new $t(qt(si(y).a.Jc(),new D)))>yd(new $t(qt(Or(m).a.Jc(),new D))))for(u=new $t(qt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else for(u=new $t(qt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}},k(H0,"SCConnectivity",1369),_(1385,1,Fi,DWe),h.pg=function(t){return l(t,37),r4t},h.If=function(t,r){bNn(this,l(t,37),r)};var r4t;k(Tp,"BreadthFirstModelOrderLayerer",1385),_(1386,1,Un,vUe),h.Le=function(t,r){return Yyn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"BreadthFirstModelOrderLayerer/lambda$0$Type",1386),_(1376,1,Fi,Ket),h.pg=function(t){return l(t,37),i4t},h.If=function(t,r){m3n(this,l(t,37),r)};var i4t;k(Tp,"CoffmanGrahamLayerer",1376),_(1377,1,Un,hJe),h.Le=function(t,r){return oSn(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1377),_(1378,1,Un,pJe),h.Le=function(t,r){return ssn(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"CoffmanGrahamLayerer/lambda$1$Type",1378),_(1387,1,Fi,xWe),h.pg=function(t){return l(t,37),o4t},h.If=function(t,r){r3n(this,l(t,37),r)},h.c=0,h.e=0;var o4t;k(Tp,"DepthFirstModelOrderLayerer",1387),_(1388,1,Un,EUe),h.Le=function(t,r){return Jyn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"DepthFirstModelOrderLayerer/lambda$0$Type",1388),_(1379,1,Fi,SUe),h.pg=function(t){return l(t,37),$n($n($n(new ui,(Vi(),id),(Zi(),wee)),kh,Uy),la,By)},h.If=function(t,r){kNn(l(t,37),r)},k(Tp,"InteractiveLayerer",1379),_(571,1,{571:1},NZe),h.a=0,h.c=0,k(Tp,"InteractiveLayerer/LayerSpan",571),_(1375,1,Fi,kWe),h.pg=function(t){return l(t,37),s4t},h.If=function(t,r){Q2n(this,l(t,37),r)};var s4t;k(Tp,"LongestPathLayerer",1375),_(1384,1,Fi,NWe),h.pg=function(t){return l(t,37),a4t},h.If=function(t,r){vSn(this,l(t,37),r)};var a4t;k(Tp,"LongestPathSourceLayerer",1384),_(1382,1,Fi,BWe),h.pg=function(t){return l(t,37),$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)},h.If=function(t,r){jNn(this,l(t,37),r)},h.a=0,h.b=0,h.d=0;var __e,x_e;k(Tp,"MinWidthLayerer",1382),_(1383,1,Un,gJe),h.Le=function(t,r){return Rhn(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"MinWidthLayerer/MinOutgoingEdgesComparator",1383),_(1374,1,Fi,$We),h.pg=function(t){return l(t,37),u4t},h.If=function(t,r){Qxn(this,l(t,37),r)};var u4t;k(Tp,"NetworkSimplexLayerer",1374),_(1380,1,Fi,_it),h.pg=function(t){return l(t,37),$n($n($n(new ui,(Vi(),id),(Zi(),VE)),kh,Uy),la,By)},h.If=function(t,r){$kn(this,l(t,37),r)},h.d=0,h.f=0,h.g=0,h.i=0,h.s=0,h.t=0,h.u=0,k(Tp,"StretchWidthLayerer",1380),_(1381,1,Un,NUe),h.Le=function(t,r){return hdn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"StretchWidthLayerer/1",1381),_(411,1,rve),h.eg=function(t,r,o,a,u,f){},h.tg=function(t,r,o){return Dyt(this,t,r,o)},h.dg=function(){this.g=we(Ev,OSt,30,this.d,15,1),this.f=we(Ev,OSt,30,this.d,15,1)},h.fg=function(t,r){this.e[t]=we(Rn,Qn,30,r[t].length,15,1)},h.gg=function(t,r,o){var a;a=o[t][r],a.p=r,this.e[t][r]=r},h.hg=function(t,r,o,a){l(ze(a[t][r].j,o),12).p=this.d++},h.b=0,h.c=0,h.d=0,k(qa,"AbstractBarycenterPortDistributor",411),_(1680,1,Un,bJe),h.Le=function(t,r){return V1n(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"AbstractBarycenterPortDistributor/lambda$0$Type",1680),_(823,1,JC,Zhe),h.eg=function(t,r,o,a,u,f){},h.gg=function(t,r,o){},h.hg=function(t,r,o,a){},h.cg=function(){return!1},h.dg=function(){this.c=this.e.a,this.g=this.f.g},h.fg=function(t,r){r[t][0].c.p=t},h.ig=function(){return!1},h.ug=function(t,r,o,a){o?wbt(this,t):(Abt(this,t,a),eEt(this,t,r)),t.c.length>1&&(Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),(Be(),tk))))?ewt(t,this.d,l(this,667)):(At(),xi(t,this.d)),$ht(this.e,t))},h.jg=function(t,r,o,a){var u,f,p,m,y,v,T;for(r!=qot(o,t.length)&&(f=t[r-(o?1:-1)],Ape(this.f,f,o?(jo(),Ba):(jo(),Cu))),u=t[r][0],T=!a||u.k==(zt(),mi),v=Wl(t[r]),this.ug(v,T,!1,o),p=0,y=new V(v);y.a<y.c.c.length;)m=l(q(y),9),t[r][p++]=m;return!1},h.kg=function(t,r){var o,a,u,f,p;for(p=qot(r,t.length),f=Wl(t[p]),this.ug(f,!1,!0,r),o=0,u=new V(f);u.a<u.c.c.length;)a=l(q(u),9),t[p][o++]=a;return!1},k(qa,"BarycenterHeuristic",823),_(665,1,{665:1},yJe),h.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},h.b=0,h.d=0,h.e=!1;var c4t=k(qa,"BarycenterHeuristic/BarycenterState",665);_(1859,1,Un,mJe),h.Le=function(t,r){return B0n(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"BarycenterHeuristic/lambda$0$Type",1859),_(822,1,JC,Obe),h.dg=function(){},h.eg=function(t,r,o,a,u,f){},h.hg=function(t,r,o,a){},h.fg=function(t,r){this.a[t]=we(c4t,{3:1,4:1,5:1,2096:1},665,r[t].length,0,1),this.b[t]=we(l4t,{3:1,4:1,5:1,2097:1},242,r[t].length,0,1)},h.gg=function(t,r,o){t1t(this,o[t][r],!0)},h.c=!1,k(qa,"ForsterConstraintResolver",822),_(242,1,{242:1},_at,Hvt),h.Ib=function(){var t,r;for(r=new Zg,r.a+="[",t=0;t<this.d.length;t++)zn(r,y1t(this.d[t])),Hd(this.g,this.d[0]).a!=null&&zn(zn((r.a+="<",r),Pen(Hd(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(r.a+=ja);return(r.a+="]",r).a},h.a=0,h.c=0,h.f=0;var l4t=k(qa,"ForsterConstraintResolver/ConstraintGroup",242);_(1854,1,nn,wJe),h.Ad=function(t){t1t(this.a,l(t,9),!1)},k(qa,"ForsterConstraintResolver/lambda$0$Type",1854),_(221,1,{221:1,223:1},Xvt),h.eg=function(t,r,o,a,u,f){},h.fg=function(t,r){},h.dg=function(){this.r=we(Rn,Qn,30,this.n,15,1)},h.gg=function(t,r,o){var a,u;u=o[t][r],a=u.e,a&&Fe(this.b,a)},h.hg=function(t,r,o,a){++this.n},h.Ib=function(){return nEt(this.e,new hi)},h.g=!1,h.i=!1,h.n=0,h.s=!1,k(qa,"GraphInfoHolder",221),_(1892,1,JC,FUe),h.eg=function(t,r,o,a,u,f){},h.fg=function(t,r){},h.hg=function(t,r,o,a){},h.tg=function(t,r,o){return o&&r>0?xW(this.a,t[r-1],t[r]):!o&&r<t.length-1?xW(this.a,t[r],t[r+1]):vK(this.a,t[r],o?(He(),Kt):(He(),Qt)),i2n(this,t,r,o)},h.dg=function(){this.d=we(Rn,Qn,30,this.c,15,1),this.a=new FO(this.d)},h.gg=function(t,r,o){var a;a=o[t][r],this.c+=a.j.c.length},h.c=0,k(qa,"GreedyPortDistributor",1892),_(1393,1,Fi,UWe),h.pg=function(t){return Wpn(l(t,37))},h.If=function(t,r){wkn(l(t,37),r)};var d4t;k(qa,"InteractiveCrossingMinimizer",1393),_(1394,1,Un,EJe),h.Le=function(t,r){return y0n(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"InteractiveCrossingMinimizer/1",1394),_(456,1,{456:1,86:1,43:1},P9),h.pg=function(t){var r;return l(t,37),r=O8(f4t),$n(r,(Vi(),la),(Zi(),P$)),r},h.If=function(t,r){SAn(this,l(t,37),r)},h.e=0;var f4t;k(qa,"LayerSweepCrossingMinimizer",456),_(1390,1,nn,SJe),h.Ad=function(t){h_n(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1390),_(1391,1,nn,TJe),h.Ad=function(t){Upn(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1391),_(1392,1,nn,AJe),h.Ad=function(t){yvt(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1392),_(409,23,{3:1,34:1,23:1,409:1},h8);var _L,CB,XI,IB,h4t=fn(qa,"LayerSweepCrossingMinimizer/CrossMinType",409,bn,tln,cin),p4t;_(1389,1,Mn,AUe),h.Mb=function(t){return Sge(),l(t,26).a.c.length==0},k(qa,"LayerSweepCrossingMinimizer/lambda$0$Type",1389),_(1856,1,JC,out),h.dg=function(){},h.eg=function(t,r,o,a,u,f){},h.hg=function(t,r,o,a){},h.fg=function(t,r){r[t][0].c.p=t,this.b[t]=we(g4t,{3:1,4:1,5:1,2022:1},666,r[t].length,0,1)},h.gg=function(t,r,o){var a;a=o[t][r],a.p=r,ii(this.b[t],r,new TUe)},k(qa,"LayerSweepTypeDecider",1856),_(666,1,{666:1},TUe),h.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},h.a=0,h.b=0,h.c=0;var g4t=k(qa,"LayerSweepTypeDecider/NodeInfo",666);_(1857,1,Uf,_Ue),h.Lb=function(t){return v3(new Vd(l(t,12).b))},h.Fb=function(t){return this===t},h.Mb=function(t){return v3(new Vd(l(t,12).b))},k(qa,"LayerSweepTypeDecider/lambda$0$Type",1857),_(1858,1,Uf,xUe),h.Lb=function(t){return v3(new Vd(l(t,12).b))},h.Fb=function(t){return this===t},h.Mb=function(t){return v3(new Vd(l(t,12).b))},k(qa,"LayerSweepTypeDecider/lambda$1$Type",1858),_(1893,411,rve,kQe),h.sg=function(t,r,o){var a,u,f,p,m,y,v,T,N;switch(v=this.g,o.g){case 1:{for(a=0,u=0,y=new V(t.j);y.a<y.c.c.length;)p=l(q(y),12),p.e.c.length!=0&&(++a,p.j==(He(),Wt)&&++u);for(f=r+u,N=r+a,m=k0(t,(jo(),Cu)).Jc();m.Ob();)p=l(m.Pb(),12),p.j==(He(),Wt)?(v[p.p]=f,--f):(v[p.p]=N,--N);return a}case 2:{for(T=0,m=k0(t,(jo(),Ba)).Jc();m.Ob();)p=l(m.Pb(),12),++T,v[p.p]=r+T;return T}default:throw Y(new nO)}},k(qa,"LayerTotalPortDistributor",1893),_(1861,1,JC,Iat),h.dg=function(){},h.eg=function(t,r,o,a,u,f){},h.fg=function(t,r){},h.gg=function(t,r,o){},h.hg=function(t,r,o,a){},h.cg=function(){return!1},h.ig=function(){return!0},h.jg=function(t,r,o,a){var u,f,p,m;for(u=Wl(t[r]),rkn(this,u,o?r-1:r+1),At(),xi(u,this.b),f=0,m=new V(u);m.a<m.c.c.length;)p=l(q(m),9),t[r][f++]=p;return!1},h.kg=function(t,r){var o,a,u,f,p,m;for(o=r?0:b.Math.max(0,t.length-1),a=Wl(t[o]),m=new V(a);m.a<m.c.c.length;)f=l(q(m),9),Te(f,(Ie(),r2),KV(this.a));for(At(),xi(a,this.b),u=0,p=new V(a);p.a<p.c.c.length;)f=l(q(p),9),t[o][u++]=f,Te(f,(Ie(),r2),u);return!1},k(qa,"MedianHeuristic",1861),_(1862,1,Un,kUe),h.Le=function(t,r){return Wvn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"MedianHeuristic/lambda$0$Type",1862),_(667,823,{667:1,223:1},cht),h.ug=function(t,r,o,a){o?wbt(this,t):(Abt(this,t,a),eEt(this,t,r)),t.c.length>1&&(Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),(Be(),tk))))?ewt(t,this.d,this):(At(),xi(t,this.d)),Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),tk)))||$ht(this.e,t))},k(qa,"ModelOrderBarycenterHeuristic",667),_(1860,1,Un,_Je),h.Le=function(t,r){return L_n(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"ModelOrderBarycenterHeuristic/lambda$0$Type",1860),_(1395,1,Fi,GWe),h.pg=function(t){var r;return l(t,37),r=O8(b4t),$n(r,(Vi(),la),(Zi(),P$)),r},h.If=function(t,r){Ean((l(t,37),r))};var b4t;k(qa,"NoCrossingMinimizer",1395),_(803,411,rve,rle),h.sg=function(t,r,o){var a,u,f,p,m,y,v,T,N,O,M;switch(N=this.g,o.g){case 1:{for(u=0,f=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.e.c.length!=0&&(++u,y.j==(He(),Wt)&&++f);for(a=1/(u+1),p=r+f*a,M=r+1-a,v=k0(t,(jo(),Cu)).Jc();v.Ob();)y=l(v.Pb(),12),y.j==(He(),Wt)?(N[y.p]=p,p-=a):(N[y.p]=M,M-=a);break}case 2:{for(m=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.g.c.length==0||++m;for(a=1/(m+1),O=r+a,v=k0(t,(jo(),Ba)).Jc();v.Ob();)y=l(v.Pb(),12),N[y.p]=O,O+=a;break}default:throw Y(new jt("Port type is undefined"))}return 1},k(qa,"NodeRelativePortDistributor",803),_(815,1,{},fst,rmt),k(qa,"SweepCopy",815),_(1855,1,JC,Fgt),h.fg=function(t,r){},h.dg=function(){var t;t=we(Rn,Qn,30,this.f,15,1),this.d=new DJe(t),this.a=new FO(t)},h.eg=function(t,r,o,a,u,f){var p;p=l(ze(f[t][r].j,o),12),u.c==p&&u.c.i.c==u.d.i.c&&++this.e[t]},h.gg=function(t,r,o){var a;a=o[t][r],this.c[t]=this.c[t]|a.k==(zt(),_a)},h.hg=function(t,r,o,a){var u;u=l(ze(a[t][r].j,o),12),u.p=this.f++,u.g.c.length+u.e.c.length>1&&(u.j==(He(),Qt)?this.b[t]=!0:u.j==Kt&&t>0&&(this.b[t-1]=!0))},h.f=0,k(_h,"AllCrossingsCounter",1855),_(590,1,{},Nj),h.b=0,h.d=0,k(_h,"BinaryIndexedTree",590),_(523,1,{},FO);var k_e,RB;k(_h,"CrossingsCounter",523),_(1929,1,Un,xJe),h.Le=function(t,r){return Kon(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$0$Type",1929),_(1930,1,Un,kJe),h.Le=function(t,r){return Yon(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$1$Type",1930),_(1931,1,Un,NJe),h.Le=function(t,r){return Jon(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$2$Type",1931),_(1932,1,Un,CJe),h.Le=function(t,r){return Xon(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$3$Type",1932),_(1933,1,nn,IJe),h.Ad=function(t){Jdn(this.a,l(t,12))},k(_h,"CrossingsCounter/lambda$4$Type",1933),_(1934,1,Mn,RJe),h.Mb=function(t){return Ren(this.a,l(t,12))},k(_h,"CrossingsCounter/lambda$5$Type",1934),_(1935,1,nn,OJe),h.Ad=function(t){Ztt(this,t)},k(_h,"CrossingsCounter/lambda$6$Type",1935),_(1936,1,nn,Ntt),h.Ad=function(t){var r;ZA(),l1(this.b,(r=this.a,l(t,12),r))},k(_h,"CrossingsCounter/lambda$7$Type",1936),_(831,1,Uf,Fue),h.Lb=function(t){return ZA(),gr(l(t,12),(Ie(),Nu))},h.Fb=function(t){return this===t},h.Mb=function(t){return ZA(),gr(l(t,12),(Ie(),Nu))},k(_h,"CrossingsCounter/lambda$8$Type",831),_(1928,1,{},DJe),k(_h,"HyperedgeCrossingsCounter",1928),_(470,1,{34:1,470:1},kit),h.Dd=function(t){return I1n(this,l(t,470))},h.b=0,h.c=0,h.e=0,h.f=0;var Z3n=k(_h,"HyperedgeCrossingsCounter/Hyperedge",470);_(371,1,{34:1,371:1},_P),h.Dd=function(t){return CEn(this,l(t,371))},h.b=0,h.c=0;var m4t=k(_h,"HyperedgeCrossingsCounter/HyperedgeCorner",371);_(522,23,{3:1,34:1,23:1,522:1},$le);var ZI,QI,w4t=fn(_h,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",522,bn,eun,lin),y4t;_(1397,1,Fi,WWe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?v4t:null},h.If=function(t,r){r0n(this,l(t,37),r)};var v4t;k(Uo,"InteractiveNodePlacer",1397),_(1398,1,Fi,KWe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?E4t:null},h.If=function(t,r){Bbn(this,l(t,37),r)};var E4t,OB,DB;k(Uo,"LinearSegmentsNodePlacer",1398),_(264,1,{34:1,264:1},Pce),h.Dd=function(t){return GQt(this,l(t,264))},h.Fb=function(t){var r;return ae(t,264)?(r=l(t,264),this.b==r.b):!1},h.Hb=function(){return this.b},h.Ib=function(){return"ls"+Qd(this.e)},h.a=0,h.b=0,h.c=-1,h.d=-1,h.g=0;var S4t=k(Uo,"LinearSegmentsNodePlacer/LinearSegment",264);_(1400,1,Fi,cst),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?T4t:null},h.If=function(t,r){i3n(this,l(t,37),r)},h.b=0,h.g=0;var T4t;k(Uo,"NetworkSimplexPlacer",1400),_(1419,1,Un,IUe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Uo,"NetworkSimplexPlacer/0methodref$compare$Type",1419),_(1421,1,Un,RUe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Uo,"NetworkSimplexPlacer/1methodref$compare$Type",1421),_(651,1,{651:1},_tt);var Q3n=k(Uo,"NetworkSimplexPlacer/EdgeRep",651);_(410,1,{410:1},_he),h.b=!1;var eCn=k(Uo,"NetworkSimplexPlacer/NodeRep",410);_(504,13,{3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1,504:1},PZe),k(Uo,"NetworkSimplexPlacer/Path",504),_(1401,1,{},OUe),h.Kb=function(t){return l(t,17).d.i.k},k(Uo,"NetworkSimplexPlacer/Path/lambda$0$Type",1401),_(1402,1,Mn,CUe),h.Mb=function(t){return l(t,252)==(zt(),gi)},k(Uo,"NetworkSimplexPlacer/Path/lambda$1$Type",1402),_(1403,1,{},DUe),h.Kb=function(t){return l(t,17).d.i},k(Uo,"NetworkSimplexPlacer/Path/lambda$2$Type",1403),_(1404,1,Mn,LJe),h.Mb=function(t){return lit(Mgt(l(t,9)))},k(Uo,"NetworkSimplexPlacer/Path/lambda$3$Type",1404),_(1405,1,Mn,LUe),h.Mb=function(t){return Mon(l(t,12))},k(Uo,"NetworkSimplexPlacer/lambda$0$Type",1405),_(1406,1,nn,xtt),h.Ad=function(t){Etn(this.a,this.b,l(t,12))},k(Uo,"NetworkSimplexPlacer/lambda$1$Type",1406),_(1415,1,nn,MJe),h.Ad=function(t){gvn(this.a,l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$10$Type",1415),_(1416,1,{},MUe),h.Kb=function(t){return gc(),new Et(null,new St(l(t,26).a,16))},k(Uo,"NetworkSimplexPlacer/lambda$11$Type",1416),_(1417,1,nn,PJe),h.Ad=function(t){ZSn(this.a,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$12$Type",1417),_(1418,1,{},PUe),h.Kb=function(t){return gc(),Re(l(t,126).e)},k(Uo,"NetworkSimplexPlacer/lambda$13$Type",1418),_(1420,1,{},jUe),h.Kb=function(t){return gc(),Re(l(t,126).e)},k(Uo,"NetworkSimplexPlacer/lambda$15$Type",1420),_(1422,1,Mn,$Ue),h.Mb=function(t){return gc(),l(t,410).c.k==(zt(),Xr)},k(Uo,"NetworkSimplexPlacer/lambda$17$Type",1422),_(1423,1,Mn,BUe),h.Mb=function(t){return gc(),l(t,410).c.j.c.length>1},k(Uo,"NetworkSimplexPlacer/lambda$18$Type",1423),_(1424,1,nn,lat),h.Ad=function(t){Qgn(this.c,this.b,this.d,this.a,l(t,410))},h.c=0,h.d=0,k(Uo,"NetworkSimplexPlacer/lambda$19$Type",1424),_(1407,1,{},UUe),h.Kb=function(t){return gc(),new Et(null,new St(l(t,26).a,16))},k(Uo,"NetworkSimplexPlacer/lambda$2$Type",1407),_(1425,1,nn,jJe),h.Ad=function(t){_tn(this.a,l(t,12))},h.a=0,k(Uo,"NetworkSimplexPlacer/lambda$20$Type",1425),_(1426,1,{},HUe),h.Kb=function(t){return gc(),new Et(null,new St(l(t,26).a,16))},k(Uo,"NetworkSimplexPlacer/lambda$21$Type",1426),_(1427,1,nn,FJe),h.Ad=function(t){Otn(this.a,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$22$Type",1427),_(1428,1,Mn,zUe),h.Mb=function(t){return lit(t)},k(Uo,"NetworkSimplexPlacer/lambda$23$Type",1428),_(1429,1,{},GUe),h.Kb=function(t){return gc(),new Et(null,new St(l(t,26).a,16))},k(Uo,"NetworkSimplexPlacer/lambda$24$Type",1429),_(1430,1,Mn,$Je),h.Mb=function(t){return $en(this.a,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$25$Type",1430),_(1431,1,nn,ktt),h.Ad=function(t){myn(this.a,this.b,l(t,9))},k(Uo,"NetworkSimplexPlacer/lambda$26$Type",1431),_(1432,1,Mn,qUe),h.Mb=function(t){return gc(),!fo(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$27$Type",1432),_(1433,1,Mn,VUe),h.Mb=function(t){return gc(),!fo(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$28$Type",1433),_(1434,1,{},BJe),h.Te=function(t,r){return Atn(this.a,l(t,26),l(r,26))},k(Uo,"NetworkSimplexPlacer/lambda$29$Type",1434),_(1408,1,{},WUe),h.Kb=function(t){return gc(),new Et(null,new Zw(new $t(qt(Or(l(t,9)).a.Jc(),new D))))},k(Uo,"NetworkSimplexPlacer/lambda$3$Type",1408),_(1409,1,Mn,KUe),h.Mb=function(t){return gc(),$cn(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$4$Type",1409),_(1410,1,nn,UJe),h.Ad=function(t){u_n(this.a,l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$5$Type",1410),_(1411,1,{},YUe),h.Kb=function(t){return gc(),new Et(null,new St(l(t,26).a,16))},k(Uo,"NetworkSimplexPlacer/lambda$6$Type",1411),_(1412,1,Mn,JUe),h.Mb=function(t){return gc(),l(t,9).k==(zt(),Xr)},k(Uo,"NetworkSimplexPlacer/lambda$7$Type",1412),_(1413,1,{},XUe),h.Kb=function(t){return gc(),new Et(null,new Zw(new $t(qt(Lf(l(t,9)).a.Jc(),new D))))},k(Uo,"NetworkSimplexPlacer/lambda$8$Type",1413),_(1414,1,Mn,ZUe),h.Mb=function(t){return gc(),Don(l(t,17))},k(Uo,"NetworkSimplexPlacer/lambda$9$Type",1414),_(1396,1,Fi,jWe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?A4t:null},h.If=function(t,r){U_n(l(t,37),r)};var A4t;k(Uo,"SimpleNodePlacer",1396),_(188,1,{188:1},NE),h.Ib=function(){var t;return t="",this.c==(If(),aw)?t+=pT:this.c==kg&&(t+=hT),this.o==(zd(),Em)?t+=IX:this.o==uf?t+="UP":t+="BALANCED",t},k(I1,"BKAlignedLayout",188),_(513,23,{3:1,34:1,23:1,513:1},jle);var kg,aw,_4t=fn(I1,"BKAlignedLayout/HDirection",513,bn,Zan,din),x4t;_(512,23,{3:1,34:1,23:1,512:1},Fle);var Em,uf,k4t=fn(I1,"BKAlignedLayout/VDirection",512,bn,Xan,fin),N4t;_(1681,1,{},Ctt),k(I1,"BKAligner",1681),_(1684,1,{},abt),k(I1,"BKCompactor",1684),_(659,1,{659:1},QUe),h.a=0,k(I1,"BKCompactor/ClassEdge",659),_(459,1,{459:1},CZe),h.a=null,h.b=0,k(I1,"BKCompactor/ClassNode",459),_(1399,1,Fi,Ktt),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc((Fo(),rl))?C4t:null},h.If=function(t,r){E3n(this,l(t,37),r)},h.d=!1;var C4t;k(I1,"BKNodePlacer",1399),_(1682,1,{},eHe),h.d=0,k(I1,"NeighborhoodInformation",1682),_(1683,1,Un,HJe),h.Le=function(t,r){return lfn(this,l(t,49),l(r,49))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(I1,"NeighborhoodInformation/NeighborComparator",1683),_(816,1,{}),k(I1,"ThresholdStrategy",816),_(1812,816,{},RZe),h.vg=function(t,r,o){return this.a.o==(zd(),uf)?Kr:Li},h.wg=function(){},k(I1,"ThresholdStrategy/NullThresholdStrategy",1812),_(583,1,{583:1},Dtt),h.c=!1,h.d=!1,k(I1,"ThresholdStrategy/Postprocessable",583),_(1813,816,{},OZe),h.vg=function(t,r,o){var a,u,f;return u=r==o,a=this.a.a[o.p]==r,u||a?(f=t,this.a.c==(If(),aw)?(u&&(f=OJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&a&&(f=OJ(this,o,!1))):(u&&(f=OJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&a&&(f=OJ(this,o,!1))),f):t},h.wg=function(){for(var t,r,o,a,u;this.d.b!=0;)u=l(Kat(this.d),583),a=Yyt(this,u),a.a&&(t=a.a,o=Ye(this.a.f[this.a.g[u.b.p].p]),!(!o&&!fo(t)&&t.c.i.c==t.d.i.c)&&(r=K0t(this,u),r||Bnt(this.e,u)));for(;this.e.a.c.length!=0;)K0t(this,l(Kge(this.e),583))},k(I1,"ThresholdStrategy/SimpleThresholdStrategy",1813),_(642,1,{642:1,173:1,177:1},tHe),h.bg=function(){return Pht(this)},h.og=function(){return Pht(this)};var Yte;k(CZ,"EdgeRouterFactory",642),_(1462,1,Fi,YWe),h.pg=function(t){return CSn(l(t,37))},h.If=function(t,r){J_n(l(t,37),r)};var I4t,R4t,O4t,D4t,L4t,N_e,M4t,P4t;k(CZ,"OrthogonalEdgeRouter",1462),_(1455,1,Fi,Wtt),h.pg=function(t){return f0n(l(t,37))},h.If=function(t,r){vNn(this,l(t,37),r)};var j4t,F4t,$4t,B4t,xL,U4t;k(CZ,"PolylineEdgeRouter",1455),_(1456,1,Uf,rHe),h.Lb=function(t){return _ge(l(t,9))},h.Fb=function(t){return this===t},h.Mb=function(t){return _ge(l(t,9))},k(CZ,"PolylineEdgeRouter/1",1456),_(1868,1,Mn,iHe),h.Mb=function(t){return l(t,135).c==(vd(),U1)},k(xd,"HyperEdgeCycleDetector/lambda$0$Type",1868),_(1869,1,{},oHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$1$Type",1869),_(1870,1,Mn,sHe),h.Mb=function(t){return l(t,135).c==(vd(),U1)},k(xd,"HyperEdgeCycleDetector/lambda$2$Type",1870),_(1871,1,{},aHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$3$Type",1871),_(1872,1,{},uHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$4$Type",1872),_(1873,1,{},nHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$5$Type",1873),_(117,1,{34:1,117:1},_6),h.Dd=function(t){return zQt(this,l(t,117))},h.Fb=function(t){var r;return ae(t,117)?(r=l(t,117),this.g==r.g):!1},h.Hb=function(){return this.g},h.Ib=function(){var t,r,o,a;for(t=new fc("{"),a=new V(this.n);a.a<a.c.c.length;)o=l(q(a),12),r=z6(o.i),r==null&&(r="n"+Vit(o.i)),t.a+=""+r,a.a<a.c.c.length&&(t.a+=",");return t.a+="}",t.a},h.a=0,h.b=0,h.c=NaN,h.d=0,h.g=0,h.i=0,h.o=0,h.s=NaN,k(xd,"HyperEdgeSegment",117),_(135,1,{135:1},Pb),h.Ib=function(){return this.a+"->"+this.b+" ("+unn(this.c)+")"},h.d=0,k(xd,"HyperEdgeSegmentDependency",135),_(519,23,{3:1,34:1,23:1,519:1},Ble);var U1,rv,H4t=fn(xd,"HyperEdgeSegmentDependency/DependencyType",519,bn,Qan,hin),z4t;_(1874,1,{},zJe),k(xd,"HyperEdgeSegmentSplitter",1874),_(1875,1,{},CQe),h.a=0,h.b=0,k(xd,"HyperEdgeSegmentSplitter/AreaRating",1875),_(341,1,{341:1},LV),h.a=0,h.b=0,h.c=0,k(xd,"HyperEdgeSegmentSplitter/FreeArea",341),_(1876,1,Un,cHe),h.Le=function(t,r){return orn(l(t,117),l(r,117))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(xd,"HyperEdgeSegmentSplitter/lambda$0$Type",1876),_(1877,1,nn,dat),h.Ad=function(t){Nln(this.a,this.d,this.c,this.b,l(t,117))},h.b=0,k(xd,"HyperEdgeSegmentSplitter/lambda$1$Type",1877),_(1878,1,{},lHe),h.Kb=function(t){return new Et(null,new St(l(t,117).e,16))},k(xd,"HyperEdgeSegmentSplitter/lambda$2$Type",1878),_(1879,1,{},dHe),h.Kb=function(t){return new Et(null,new St(l(t,117).j,16))},k(xd,"HyperEdgeSegmentSplitter/lambda$3$Type",1879),_(1880,1,{},fHe),h.We=function(t){return ue(ce(t))},k(xd,"HyperEdgeSegmentSplitter/lambda$4$Type",1880),_(660,1,{},oW),h.a=0,h.b=0,h.c=0,k(xd,"OrthogonalRoutingGenerator",660),_(1685,1,{},hHe),h.Kb=function(t){return new Et(null,new St(l(t,117).e,16))},k(xd,"OrthogonalRoutingGenerator/lambda$0$Type",1685),_(1686,1,{},pHe),h.Kb=function(t){return new Et(null,new St(l(t,117).j,16))},k(xd,"OrthogonalRoutingGenerator/lambda$1$Type",1686),_(668,1,{}),k(IZ,"BaseRoutingDirectionStrategy",668),_(1866,668,{},DZe),h.xg=function(t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z;if(!(t.r&&!t.q))for(T=r+t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).a,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),fo(p)||(U=p.d,z=xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).a,b.Math.abs(N-z)>Hf&&(f=T,u=t,a=new Me(N,f),Gn(p.a,a),L0(this,p,u,a,!1),O=t.r,O&&(M=ue(ce(sa(O.e,0))),a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1),f=r+O.o*o,u=O,a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1)),a=new Me(z,f),Gn(p.a,a),L0(this,p,u,a,!1)))},h.yg=function(t){return t.i.n.a+t.n.a+t.a.a},h.zg=function(){return He(),dn},h.Ag=function(){return He(),Wt},k(IZ,"NorthToSouthRoutingStrategy",1866),_(1867,668,{},LZe),h.xg=function(t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z;if(!(t.r&&!t.q))for(T=r-t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).a,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),fo(p)||(U=p.d,z=xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).a,b.Math.abs(N-z)>Hf&&(f=T,u=t,a=new Me(N,f),Gn(p.a,a),L0(this,p,u,a,!1),O=t.r,O&&(M=ue(ce(sa(O.e,0))),a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1),f=r-O.o*o,u=O,a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1)),a=new Me(z,f),Gn(p.a,a),L0(this,p,u,a,!1)))},h.yg=function(t){return t.i.n.a+t.n.a+t.a.a},h.zg=function(){return He(),Wt},h.Ag=function(){return He(),dn},k(IZ,"SouthToNorthRoutingStrategy",1867),_(1865,668,{},MZe),h.xg=function(t,r,o){var a,u,f,p,m,y,v,T,N,O,M,U,z;if(!(t.r&&!t.q))for(T=r+t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).b,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),fo(p)||(U=p.d,z=xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).b,b.Math.abs(N-z)>Hf&&(f=T,u=t,a=new Me(f,N),Gn(p.a,a),L0(this,p,u,a,!0),O=t.r,O&&(M=ue(ce(sa(O.e,0))),a=new Me(f,M),Gn(p.a,a),L0(this,p,u,a,!0),f=r+O.o*o,u=O,a=new Me(f,M),Gn(p.a,a),L0(this,p,u,a,!0)),a=new Me(f,z),Gn(p.a,a),L0(this,p,u,a,!0)))},h.yg=function(t){return t.i.n.b+t.n.b+t.a.b},h.zg=function(){return He(),Qt},h.Ag=function(){return He(),Kt},k(IZ,"WestToEastRoutingStrategy",1865),_(819,1,{},C0e),h.Ib=function(){return Qd(this.a)},h.b=0,h.c=!1,h.d=!1,h.f=0,k(Dy,"NubSpline",819),_(415,1,{415:1},Rwt,Vat),k(Dy,"NubSpline/PolarCP",415),_(1457,1,Fi,X1t),h.pg=function(t){return Z0n(l(t,37))},h.If=function(t,r){BNn(this,l(t,37),r)};var G4t,q4t,V4t,W4t,K4t;k(Dy,"SplineEdgeRouter",1457),_(275,1,{275:1},XP),h.Ib=function(){return this.a+" ->("+this.c+") "+this.b},h.c=0,k(Dy,"SplineEdgeRouter/Dependency",275),_(457,23,{3:1,34:1,23:1,457:1},Ule);var H1,u2,Y4t=fn(Dy,"SplineEdgeRouter/SideToProcess",457,bn,tun,gin),J4t;_(1458,1,Mn,gHe),h.Mb=function(t){return NC(),!l(t,134).o},k(Dy,"SplineEdgeRouter/lambda$0$Type",1458),_(1459,1,{},bHe),h.Xe=function(t){return NC(),l(t,134).v+1},k(Dy,"SplineEdgeRouter/lambda$1$Type",1459),_(1460,1,nn,Itt),h.Ad=function(t){Fon(this.a,this.b,l(t,49))},k(Dy,"SplineEdgeRouter/lambda$2$Type",1460),_(1461,1,nn,Rtt),h.Ad=function(t){$on(this.a,this.b,l(t,49))},k(Dy,"SplineEdgeRouter/lambda$3$Type",1461),_(134,1,{34:1,134:1},jmt,M0e),h.Dd=function(t){return qQt(this,l(t,134))},h.b=0,h.e=!1,h.f=0,h.g=0,h.j=!1,h.k=!1,h.n=0,h.o=!1,h.p=!1,h.q=!1,h.s=0,h.u=0,h.v=0,h.F=0,k(Dy,"SplineSegment",134),_(460,1,{460:1},mHe),h.a=0,h.b=!1,h.c=!1,h.d=!1,h.e=!1,h.f=0,k(Dy,"SplineSegment/EdgeInformation",460),_(1179,1,{},wHe),k(Ap,Ewe,1179),_(1180,1,Un,yHe),h.Le=function(t,r){return Nvn(l(t,121),l(r,121))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,z2t,1180),_(1178,1,{},WQe),k(Ap,"MrTree",1178),_(402,23,{3:1,34:1,23:1,402:1,173:1,177:1},p8),h.bg=function(){return a0t(this)},h.og=function(){return a0t(this)};var LB,e4,t4,n4,C_e=fn(Ap,"TreeLayoutPhases",402,bn,uln,bin),X4t;_(1093,207,im,Cit),h.kf=function(t,r){var o,a,u,f,p,m,y,v;for(Ye(Ke(ve(t,(js(),exe))))||P3((o=new OA((t1(),new Yp(t))),o)),p=r.dh(DZ),p.Tg("build tGraph",1),m=(y=new i6,qs(y,t),Te(y,(Nr(),i4),t),v=new hn,hAn(t,y,v),IAn(t,y,v),y),p.Ug(),p=r.dh(DZ),p.Tg("Split graph",1),f=yAn(this.a,m),p.Ug(),u=new V(f);u.a<u.c.c.length;)a=l(q(u),121),Vmn(this.b,a,r.dh(.5999999940395355/f.c.length));p=r.dh(DZ),p.Tg("Pack components",1),m=S3n(f),p.Ug(),p=r.dh(DZ),p.Tg("Apply layout results",1),akn(m),p.Ug()},k(Ap,"TreeLayoutProvider",1093),_(1829,1,Eh,EHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Ap,"TreeUtil/1",1829),_(1830,1,Eh,SHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Ap,"TreeUtil/2",1830),_(1820,1,Mn,THe),h.Mb=function(t){return Ye(Ke(F(l(t,41),(Nr(),z1))))},k(Ap,"TreeUtil/lambda$0$Type",1820),_(1826,1,Mn,GJe),h.Mb=function(t){return this.a.Gc(l(t,41))},k(Ap,"TreeUtil/lambda$10$Type",1826),_(1827,1,{},qJe),h.Kb=function(t){return Eln(this.a,l(t,41))},k(Ap,"TreeUtil/lambda$11$Type",1827),_(1828,1,Mn,Ott),h.Mb=function(t){return ifn(this.a,this.b,l(t,41))},k(Ap,"TreeUtil/lambda$12$Type",1828),_(1821,1,Mn,VJe),h.Mb=function(t){return Rgn(this.a,l(t,65))},k(Ap,"TreeUtil/lambda$3$Type",1821),_(1822,1,Un,vHe),h.Le=function(t,r){return arn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,"TreeUtil/lambda$4$Type",1822),_(1823,1,Mn,WJe),h.Mb=function(t){return Ogn(this.a,l(t,65))},k(Ap,"TreeUtil/lambda$7$Type",1823),_(1824,1,Un,AHe),h.Le=function(t,r){return srn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,"TreeUtil/lambda$8$Type",1824),_(1825,1,{},_He),h.Kb=function(t){return l(t,65).b},k(Ap,"TreeUtil/lambda$9$Type",1825),_(497,151,{3:1,497:1,105:1,151:1}),h.g=0,k(eI,"TGraphElement",497),_(65,497,{3:1,65:1,497:1,105:1,151:1},Nhe),h.Ib=function(){return this.b&&this.c?Fb(this.b)+"->"+Fb(this.c):"e_"+Rr(this)},k(eI,"TEdge",65),_(121,151,{3:1,121:1,105:1,151:1},i6),h.Ib=function(){var t,r,o,a,u;for(u=null,a=An(this.b,0);a.b!=a.d.c;)o=l(Sn(a),41),u+=(o.c==null||o.c.length==0?"n_"+o.g:"n_"+o.c)+`
`;for(r=An(this.a,0);r.b!=r.d.c;)t=l(Sn(r),65),u+=(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t))+`
`;return u};var tCn=k(eI,"TGraph",121);_(640,497,{3:1,497:1,640:1,105:1,151:1}),k(eI,"TShape",640),_(41,640,{3:1,497:1,41:1,640:1,105:1,151:1},FK),h.Ib=function(){return Fb(this)};var MB=k(eI,"TNode",41);_(239,1,Eh,Qh),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=An(this.a.d,0),new qv(t)},k(eI,"TNode/2",239),_(335,1,Wi,qv),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(Sn(this.a),65).c},h.Ob=function(){return oO(this.a)},h.Qb=function(){fK(this.a)},k(eI,"TNode/2/1",335),_(1910,1,kr,xHe),h.If=function(t,r){b3n(this,l(t,121),r)},k(Aa,"CompactionProcessor",1910),_(1911,1,Un,KJe),h.Le=function(t,r){return Chn(this.a,l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$0$Type",1911),_(1912,1,Mn,Ltt),h.Mb=function(t){return Han(this.b,this.a,l(t,49))},h.a=0,h.b=0,k(Aa,"CompactionProcessor/lambda$1$Type",1912),_(1921,1,Un,kHe),h.Le=function(t,r){return Rsn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$10$Type",1921),_(1922,1,Un,NHe),h.Le=function(t,r){return Jtn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$11$Type",1922),_(1923,1,Un,CHe),h.Le=function(t,r){return Osn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$12$Type",1923),_(1913,1,Mn,YJe),h.Mb=function(t){return Ptn(this.a,l(t,49))},h.a=0,k(Aa,"CompactionProcessor/lambda$2$Type",1913),_(1914,1,Mn,JJe),h.Mb=function(t){return jtn(this.a,l(t,49))},h.a=0,k(Aa,"CompactionProcessor/lambda$3$Type",1914),_(1915,1,Mn,IHe),h.Mb=function(t){return l(t,41).c.indexOf(DF)==-1},k(Aa,"CompactionProcessor/lambda$4$Type",1915),_(1916,1,{},XJe),h.Kb=function(t){return Bcn(this.a,l(t,41))},h.a=0,k(Aa,"CompactionProcessor/lambda$5$Type",1916),_(1917,1,{},ZJe),h.Kb=function(t){return Ydn(this.a,l(t,41))},h.a=0,k(Aa,"CompactionProcessor/lambda$6$Type",1917),_(1918,1,Un,QJe),h.Le=function(t,r){return idn(this.a,l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$7$Type",1918),_(1919,1,Un,eXe),h.Le=function(t,r){return odn(this.a,l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$8$Type",1919),_(1920,1,Un,RHe),h.Le=function(t,r){return Xtn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$9$Type",1920),_(1908,1,kr,OHe),h.If=function(t,r){cTn(l(t,121),r)},k(Aa,"DirectionProcessor",1908),_(k1,1,kr,xit),h.If=function(t,r){CAn(this,l(t,121),r)},k(Aa,"FanProcessor",k1),_(1263,1,kr,DHe),h.If=function(t,r){Xwt(l(t,121),r)},k(Aa,"GraphBoundsProcessor",1263),_(1264,1,{},LHe),h.We=function(t){return l(t,41).e.a},k(Aa,"GraphBoundsProcessor/lambda$0$Type",1264),_(1265,1,{},MHe),h.We=function(t){return l(t,41).e.b},k(Aa,"GraphBoundsProcessor/lambda$1$Type",1265),_(1266,1,{},PHe),h.We=function(t){return men(l(t,41))},k(Aa,"GraphBoundsProcessor/lambda$2$Type",1266),_(1267,1,{},jHe),h.We=function(t){return wen(l(t,41))},k(Aa,"GraphBoundsProcessor/lambda$3$Type",1267),_(265,23,{3:1,34:1,23:1,265:1,177:1},r0),h.bg=function(){switch(this.g){case 0:return new ZZe;case 1:return new xit;case 2:return new XZe;case 3:return new HHe;case 4:return new $He;case 8:return new FHe;case 5:return new OHe;case 6:return new GHe;case 7:return new xHe;case 9:return new DHe;case 10:return new qHe;default:throw Y(new jt(jX+(this.f!=null?this.f:""+this.g)))}};var I_e,R_e,O_e,D_e,L_e,M_e,P_e,j_e,F_e,$_e,Jte,nCn=fn(Aa,FX,265,bn,Rht,min),Z4t;_(1907,1,kr,FHe),h.If=function(t,r){pNn(l(t,121),r)},k(Aa,"LevelCoordinatesProcessor",1907),_(1905,1,kr,$He),h.If=function(t,r){D2n(this,l(t,121),r)},h.a=0,k(Aa,"LevelHeightProcessor",1905),_(1906,1,Eh,BHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Aa,"LevelHeightProcessor/1",1906),_(1901,1,kr,XZe),h.If=function(t,r){VSn(this,l(t,121),r)},k(Aa,"LevelProcessor",1901),_(1902,1,Mn,UHe),h.Mb=function(t){return Ye(Ke(F(l(t,41),(Nr(),z1))))},k(Aa,"LevelProcessor/lambda$0$Type",1902),_(1903,1,kr,HHe),h.If=function(t,r){Fyn(this,l(t,121),r)},h.a=0,k(Aa,"NeighborsProcessor",1903),_(1904,1,Eh,zHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Aa,"NeighborsProcessor/1",1904),_(1909,1,kr,GHe),h.If=function(t,r){kAn(this,l(t,121),r)},h.a=0,k(Aa,"NodePositionProcessor",1909),_(1899,1,kr,ZZe),h.If=function(t,r){pxn(this,l(t,121),r)},k(Aa,"RootProcessor",1899),_(1924,1,kr,qHe),h.If=function(t,r){Sbn(l(t,121),r)},k(Aa,"Untreeifyer",1924),_(386,23,{3:1,34:1,23:1,386:1},qq);var kL,Xte,B_e,U_e=fn(HD,"EdgeRoutingMode",386,bn,ecn,win),Q4t,NL,ck,Zte,H_e,z_e,Qte,ene,G_e,tne,q_e,nne,r4,rne,PB,jB,sd,Id,lk,i4,o4,Ng,V_e,eRt,ine,z1,CL,IL;_(854,1,td,JWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sve),""),USt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ave),""),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uve),""),"Tree Level"),"The index for the tree level the node is in"),Re(0)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cve),""),USt),"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"),Re(-1)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lve),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),Y_e),$r),axe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,dve),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),W_e),$r),U_e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,fve),""),"Search Order"),"Which search order to use when computing a spanning tree."),K_e),$r),cxe),ct(xt)))),kEt((new XWe,t))};var tRt,nRt,rRt,W_e,iRt,oRt,K_e,sRt,aRt,Y_e;k(HD,"MrTreeMetaDataProvider",854),_(999,1,td,XWe),h.tf=function(t){kEt(t)};var uRt,J_e,X_e,uw,Z_e,Q_e,one,cRt,lRt,dRt,fRt,hRt,pRt,gRt,exe,txe,nxe,bRt,c2,FB,rxe,mRt,ixe,sne,wRt,yRt,vRt,oxe,ERt,Jf,sxe;k(HD,"MrTreeOptions",999),_(yg,1,{},VHe),h.uf=function(){var t;return t=new Cit,t},h.vf=function(t){},k(HD,"MrTreeOptions/MrtreeFactory",yg),_(354,23,{3:1,34:1,23:1,354:1},g8);var ane,$B,une,cne,axe=fn(HD,"OrderWeighting",354,bn,oln,yin),SRt;_(430,23,{3:1,34:1,23:1,430:1},Hle);var uxe,lne,cxe=fn(HD,"TreeifyingOrder",430,bn,nun,vin),TRt;_(1463,1,Fi,HWe),h.pg=function(t){return l(t,121),ARt},h.If=function(t,r){fhn(this,l(t,121),r)};var ARt;k("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1463),_(1464,1,Fi,zWe),h.pg=function(t){return l(t,121),_Rt},h.If=function(t,r){JSn(this,l(t,121),r)};var _Rt;k(xx,"NodeOrderer",1464),_(1471,1,{},oZt),h.rd=function(t){return Iot(t)},k(xx,"NodeOrderer/0methodref$lambda$6$Type",1471),_(1465,1,Mn,QHe),h.Mb=function(t){return US(),Ye(Ke(F(l(t,41),(Nr(),z1))))},k(xx,"NodeOrderer/lambda$0$Type",1465),_(1466,1,Mn,eze),h.Mb=function(t){return US(),l(F(l(t,41),(js(),c2)),15).a<0},k(xx,"NodeOrderer/lambda$1$Type",1466),_(1467,1,Mn,nXe),h.Mb=function(t){return Wfn(this.a,l(t,41))},k(xx,"NodeOrderer/lambda$2$Type",1467),_(1468,1,Mn,tXe),h.Mb=function(t){return Fcn(this.a,l(t,41))},k(xx,"NodeOrderer/lambda$3$Type",1468),_(1469,1,Un,tze),h.Le=function(t,r){return gfn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(xx,"NodeOrderer/lambda$4$Type",1469),_(1470,1,Mn,nze),h.Mb=function(t){return US(),l(F(l(t,41),(Nr(),ene)),15).a!=0},k(xx,"NodeOrderer/lambda$5$Type",1470),_(1472,1,Fi,eKe),h.pg=function(t){return l(t,121),xRt},h.If=function(t,r){nAn(this,l(t,121),r)},h.b=0;var xRt;k("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1472),_(1473,1,Fi,tKe),h.pg=function(t){return l(t,121),kRt},h.If=function(t,r){jTn(l(t,121),r)};var kRt,rCn=k(uc,"EdgeRouter",1473);_(1475,1,Un,KHe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/0methodref$compare$Type",1475),_(1480,1,{},YHe),h.We=function(t){return ue(ce(t))},k(uc,"EdgeRouter/1methodref$doubleValue$Type",1480),_(1482,1,Un,JHe),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/2methodref$compare$Type",1482),_(1484,1,Un,XHe),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/3methodref$compare$Type",1484),_(1486,1,{},WHe),h.We=function(t){return ue(ce(t))},k(uc,"EdgeRouter/4methodref$doubleValue$Type",1486),_(1488,1,Un,ZHe),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/5methodref$compare$Type",1488),_(1490,1,Un,rze),h.Le=function(t,r){return yr(ue(ce(t)),ue(ce(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/6methodref$compare$Type",1490),_(1474,1,{},ize),h.Kb=function(t){return dp(),l(F(l(t,41),(js(),Jf)),15)},k(uc,"EdgeRouter/lambda$0$Type",1474),_(1485,1,{},oze),h.Kb=function(t){return cnn(l(t,41))},k(uc,"EdgeRouter/lambda$11$Type",1485),_(1487,1,{},Ptt),h.Kb=function(t){return Pon(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$13$Type",1487),_(1489,1,{},Mtt),h.Kb=function(t){return lnn(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$15$Type",1489),_(1491,1,Un,sze),h.Le=function(t,r){return ebn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/lambda$17$Type",1491),_(1492,1,Un,aze),h.Le=function(t,r){return tbn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/lambda$18$Type",1492),_(1493,1,Un,uze),h.Le=function(t,r){return rbn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/lambda$19$Type",1493),_(1476,1,Mn,rXe),h.Mb=function(t){return Sun(this.a,l(t,41))},h.a=0,k(uc,"EdgeRouter/lambda$2$Type",1476),_(1494,1,Un,cze),h.Le=function(t,r){return nbn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/lambda$20$Type",1494),_(1477,1,Un,lze),h.Le=function(t,r){return xon(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/lambda$3$Type",1477),_(1478,1,Un,dze),h.Le=function(t,r){return kon(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"EdgeRouter/lambda$4$Type",1478),_(1479,1,{},fze),h.Kb=function(t){return hnn(l(t,41))},k(uc,"EdgeRouter/lambda$5$Type",1479),_(1481,1,{},jtt),h.Kb=function(t){return jon(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$7$Type",1481),_(1483,1,{},Ftt),h.Kb=function(t){return fnn(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(uc,"EdgeRouter/lambda$9$Type",1483),_(669,1,{669:1},B1t),h.e=0,h.f=!1,h.g=!1,k(uc,"MultiLevelEdgeNodeNodeGap",669),_(1881,1,Un,hze),h.Le=function(t,r){return Dun(l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1881),_(1882,1,Un,pze),h.Le=function(t,r){return Lun(l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(uc,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1882);var l2;_(490,23,{3:1,34:1,23:1,490:1,173:1,177:1},zle),h.bg=function(){return Ngt(this)},h.og=function(){return Ngt(this)};var BB,d2,lxe=fn(pve,"RadialLayoutPhases",490,bn,run,Ein),NRt;_(1094,207,im,KQe),h.kf=function(t,r){var o,a,u,f,p,m;if(o=kwt(this,t),r.Tg("Radial layout",o.c.length),Ye(Ke(ve(t,(T1(),Exe))))||P3((a=new OA((t1(),new Yp(t))),a)),m=twn(t),Vn(t,(aE(),l2),m),!m)throw Y(new jt(zSt));for(u=ue(ce(ve(t,zB))),u==0&&(u=Qmt(t)),Vn(t,zB,u),p=new V(kwt(this,t));p.a<p.c.c.length;)f=l(q(p),43),f.If(t,r.dh(1));r.Ug()},k(pve,"RadialLayoutProvider",1094),_(548,1,Un,H9),h.Le=function(t,r){return xTn(this.a,this.b,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=0,h.b=0,k(pve,"RadialUtil/lambda$0$Type",548),_(1361,1,kr,gze),h.If=function(t,r){wNn(l(t,19),r)},k(bve,"CalculateGraphSize",1361),_(1362,1,kr,bze),h.If=function(t,r){j_n(l(t,19))},k(bve,"EdgeAngleCalculator",1362),_(365,23,{3:1,34:1,23:1,365:1,177:1},yO),h.bg=function(){switch(this.g){case 0:return new Sze;case 1:return new mze;case 2:return new Tze;case 3:return new gze;case 4:return new bze;default:throw Y(new jt(jX+(this.f!=null?this.f:""+this.g)))}};var dne,fne,hne,pne,gne,CRt=fn(bve,FX,365,bn,Kln,Sin),IRt;_(648,1,{}),h.e=1,h.g=0,k(LZ,"AbstractRadiusExtensionCompaction",648),_(1832,648,{},sit),h.Bg=function(t){var r,o,a,u,f,p,m,y,v;for(this.c=l(ve(t,(aE(),l2)),19),SZt(this,this.c),this.d=EY(l(ve(t,(T1(),RL)),304)),y=l(ve(t,mne),15),y&&GKe(this,y.a),m=ce(ve(t,(_n(),Od))),ice(this,(Mt(m),m)),v=Ay(this.c),this.d&&this.d.Fg(v),HTn(this,v),p=new Ls(Z(X(En,1),qSt,19,0,[this.c])),o=0;o<2;o++)for(r=0;r<v.c.length;r++)u=new Ls(Z(X(En,1),qSt,19,0,[(at(r,v.c.length),l(v.c[r],19))])),f=r<v.c.length-1?(at(r+1,v.c.length),l(v.c[r+1],19)):(at(0,v.c.length),l(v.c[0],19)),a=r==0?l(ze(v,v.c.length-1),19):(at(r-1,v.c.length),l(v.c[r-1],19)),Vbt(this,(at(r,v.c.length),l(v.c[r],19),p),a,f,u)},k(LZ,"AnnulusWedgeCompaction",1832),_(1359,1,kr,mze),h.If=function(t,r){dhn(l(t,19),r)},k(LZ,"GeneralCompactor",1359),_(1831,648,{},wze),h.Bg=function(t){var r,o,a,u;o=l(ve(t,(aE(),l2)),19),this.f=o,this.b=EY(l(ve(t,(T1(),RL)),304)),u=l(ve(t,mne),15),u&&GKe(this,u.a),a=ce(ve(t,(_n(),Od))),ice(this,(Mt(a),a)),r=Ay(o),this.b&&this.b.Fg(r),Nmt(this,r)},h.a=0,k(LZ,"RadialCompaction",1831),_(1840,1,{},yze),h.Cg=function(t){var r,o,a,u,f,p;for(this.a=t,r=0,p=Ay(t),a=0,f=new V(p);f.a<f.c.c.length;)for(u=l(q(f),19),++a,o=a;o<p.c.length;o++)i_n(this,u,(at(o,p.c.length),l(p.c[o],19)))&&(r+=1);return r},k(mve,"CrossingMinimizationPosition",1840),_(1838,1,{},vze),h.Cg=function(t){var r,o,a,u,f,p,m,y,v,T,N,O,M;for(a=0,o=new $t(qt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),m=Yo(l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),v=m.i+m.g/2,T=m.j+m.f/2,u=t.i+t.g/2,f=t.j+t.f/2,N=new ro,N.a=v-u,N.b=T-f,p=new Me(N.a,N.b),G_(p,t.g,t.f),N.a-=p.a,N.b-=p.b,u=v-N.a,f=T-N.b,y=new Me(N.a,N.b),G_(y,m.g,m.f),N.a-=y.a,N.b-=y.b,v=u+N.a,T=f+N.b,O=v-u,M=T-f,a+=b.Math.sqrt(O*O+M*M);return a},k(mve,"EdgeLengthOptimization",1838),_(1839,1,{},Eze),h.Cg=function(t){var r,o,a,u,f,p,m,y,v,T,N;for(a=0,o=new $t(qt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),m=Yo(l(oe((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),y=m.i+m.g/2,v=m.j+m.f/2,u=l(ve(m,(_n(),GT)),8),f=t.i+u.a+t.g/2,p=t.j+u.b+t.f,T=y-f,N=v-p,a+=b.Math.sqrt(T*T+N*N);return a},k(mve,"EdgeLengthPositionOptimization",1839),_(1358,648,kr,Sze),h.If=function(t,r){Zyn(this,l(t,19),r)},k("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1358),_(1360,1,kr,Tze),h.If=function(t,r){ysn(l(t,19),r)},k("org.eclipse.elk.alg.radial.intermediate.rotation","GeneralRotator",1360),_(431,23,{3:1,34:1,23:1,431:1},Gle);var dxe,bne,fxe=fn(tI,"AnnulusWedgeCriteria",431,bn,iun,Tin),RRt;_(387,23,{3:1,34:1,23:1,387:1},Vq);var UB,hxe,pxe,gxe=fn(tI,VSt,387,bn,tcn,Ain),ORt;_(855,1,td,qWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,wve),""),"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."),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,yve),""),"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."),Re(0)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vve),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PF),""),"Rotate"),"The rotate option determines whether a rotation of the layout should be performed."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PZ),""),WSt),"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."),bxe),$r),gxe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jZ),""),"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."),Re(1)),yo),Ti),ct(xt)))),zr(t,jZ,PZ,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Eve),""),"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."),wxe),$r),Dxe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sve),""),"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."),yxe),$r),fxe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Tve),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),mxe),$r),Ixe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,FZ),_ve),"Target Angle"),"The angle in radians that the layout should be rotated to after layout."),0),eo),fi),ct(xt)))),zr(t,FZ,PF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$Z),_ve),"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),Ai),Yr),ct(xt)))),zr(t,$Z,PF,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ave),_ve),"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),Ai),Yr),ct(xt)))),vEt((new VWe,t))};var DRt,LRt,MRt,bxe,PRt,mxe,jRt,FRt,$Rt,BRt,URt,HRt,zRt,wxe,GRt,yxe;k(tI,"RadialMetaDataProvider",855),_(1001,1,td,VWe),h.tf=function(t){vEt(t)};var vxe,mne,wne,qRt,VRt,WRt,KRt,Exe,Sxe,HB,YRt,JRt,zB,Txe,Axe,_xe,yne,RL,XRt,xxe;k(tI,"RadialOptions",1001),_(1002,1,{},Aze),h.uf=function(){var t;return t=new KQe,t},h.vf=function(t){},k(tI,"RadialOptions/RadialFactory",1002),_(355,23,{3:1,34:1,23:1,355:1},b8);var kxe,Nxe,Cxe,vne,Ixe=fn(tI,"RadialTranslationStrategy",355,bn,sln,_in),ZRt;_(304,23,{3:1,34:1,23:1,304:1},Wq);var Rxe,Ene,Oxe,Dxe=fn(tI,"SortingStrategy",304,bn,ucn,xin),QRt;_(1448,1,Fi,_ze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){wvn(this,l(t,19),r)},h.c=0,k("org.eclipse.elk.alg.radial.p1position","EadesRadial",1448),_(1836,1,{},xze),h.Dg=function(t){return S1t(t)},k(KSt,"AnnulusWedgeByLeafs",1836),_(1837,1,{},kze),h.Dg=function(t){return jbt(this,t)},k(KSt,"AnnulusWedgeByNodeSpace",1837),_(1449,1,Fi,Nze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Lgn(this,l(t,19),r)},k("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1449),_(818,1,{},zce),h.Eg=function(t){},h.Fg=function(t){dZe(this,t)},k(xve,"IDSorter",818),_(1835,1,Un,Cze),h.Le=function(t,r){return lhn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(xve,"IDSorter/lambda$0$Type",1835),_(1834,1,{},bht),h.Eg=function(t){act(this,t)},h.Fg=function(t){var r;t.dc()||(this.e||(r=Vot(l(t.Xb(0),19)),act(this,r)),dZe(this.e,t))},k(xve,"PolarCoordinateSorter",1834),_(441,23,{3:1,34:1,23:1,441:1},Kq);var s4,GB,Sne,Lxe=fn(ZSt,"RectPackingLayoutPhases",441,bn,acn,kin),eOt;_(1098,207,im,YQe),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;if(r.Tg("Rectangle Packing",1),N=l(ve(t,(ef(),c4)),100),y=Ye(Ke(ve(t,TOt))),T=ue(ce(ve(t,l4))),ft=Ye(Ke(ve(t,Kxe))),de=(!t.a&&(t.a=new ke(En,t,10,11)),t.a),Ye(Ke(ve(t,Ine)))||P3((u=new OA((t1(),new Yp(t))),u)),lt=!1,ft&&de.i>=3)for(ye=l(oe(de,0),19),qe=l(oe(de,1),19),f=0;f+2<de.i;)if(Ee=ye,ye=qe,qe=l(oe(de,f+2),19),Ee.f>=ye.f+qe.f+T||qe.f>=Ee.f+ye.f+T){lt=!0;break}else++f;else lt=!0;if(!lt){for(O=de.i,m=new tn(de);m.e!=m.i.gc();)p=l(rn(m),19),Vn(p,(_n(),HL),Re(O)),--O;ovt(t,new sS),r.Ug();return}for(o=(M3(this.a),pc(this.a,(Zj(),s4),l(ve(t,Zxe),173)),pc(this.a,GB,l(ve(t,Vxe),173)),pc(this.a,Sne,l(ve(t,Yxe),173)),sde(this.a,(It=new ui,$n(It,s4,(S7(),_ne)),$n(It,GB,Ane),Ye(Ke(ve(t,Gxe)))&&$n(It,s4,xne),Ye(Ke(ve(t,zxe)))&&$n(It,s4,Tne),It)),FC(this.a,t)),v=1/o.c.length,U=new V(o);U.a<U.c.c.length;){if(M=l(q(U),43),r.Zg())return;M.If(t,r.dh(v))}for(J=0,z=0,se=new tn(de);se.e!=se.i.gc();)ne=l(rn(se),19),J=b.Math.max(J,ne.i+ne.g),z=b.Math.max(z,ne.j+ne.f);ome(t,new Me(ue(ce(ve(t,(yh(),$T)))),ue(ce(ve(t,dk)))),new Me(J,z)),Lhn(de,N),y||M0(t,ue(ce(ve(t,$T)))+(N.b+N.c),ue(ce(ve(t,dk)))+(N.d+N.a),!1,!0),Ye(Ke(ve(t,Ine)))||P3((a=new OA((t1(),new Yp(t))),a)),r.Ug()},k(ZSt,"RectPackingLayoutProvider",1098),_(1496,1,kr,Ize),h.If=function(t,r){F_n(l(t,19),r)},k(nI,"InteractiveNodeReorderer",1496),_(1497,1,Un,Rze),h.Le=function(t,r){return wpn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(nI,"InteractiveNodeReorderer/lambda$0$Type",1497),_(406,23,{3:1,34:1,23:1,406:1,177:1},m8),h.bg=function(){switch(this.g){case 0:return new Mze;case 1:return new Ize;case 2:return new Dze;case 3:return new Oze}return null};var Tne,Ane,_ne,xne,tOt=fn(nI,FX,406,bn,aln,Nin),nOt;_(1499,1,kr,Oze),h.If=function(t,r){m1n(l(t,19),r)},k(nI,"MinSizePostProcessor",1499),_(1498,1,kr,Dze),h.If=function(t,r){v2n(l(t,19),r)},k(nI,"MinSizePreProcessor",1498),_(1688,1,Un,Lze),h.Le=function(t,r){return Wen(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(nI,"NodeSizeComparator",1688),_(1495,1,kr,Mze),h.If=function(t,r){Gcn(l(t,19))},k(nI,"NodeSizeReorderer",1495);var a4,dk,$T,rOt,iOt,qB,kne,Nne,u4,VB,iv;_(388,23,{3:1,34:1,23:1,388:1},Yq);var Mxe,Pxe,Cne,jxe=fn(BZ,"OptimizationGoal",388,bn,ncn,Cin),oOt;_(857,1,td,QWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kve),""),"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."),(Lt(),!1)),(A1(),Ai)),Yr),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Nve),""),"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."),Re(-1)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Cve),""),"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."),Re(-1)),yo),Ti),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ive),""),"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),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Rve),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ove),UZ),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),Uxe),$r),tke),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Dve),UZ),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Lve),UZ),"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."),Bxe),$r),jxe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Mve),UZ),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Pve),"packing"),QSt),"Strategy for finding an initial placement on nodes."),Fxe),$r),ike),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jve),eTt),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Fve),eTt),"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."),Re(1)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$ve),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),$xe),$r),ake),ct(xt)))),PEt((new ZWe,t))};var sOt,aOt,uOt,cOt,lOt,dOt,fOt,Fxe,hOt,pOt,$xe,gOt,bOt,Bxe,mOt,Uxe,wOt;k(BZ,"RectPackingMetaDataProvider",857),_(1007,1,td,ZWe),h.tf=function(t){PEt(t)};var WB,yOt,Hxe,OL,zxe,vOt,DL,EOt,SOt,TOt,AOt,_Ot,Ine,Gxe,qxe,Rne,Vxe,c4,Wxe,xOt,l4,Kxe,Yxe,Jxe,Xxe,Zxe,One;k(BZ,"RectPackingOptions",1007),_(1008,1,{},Pze),h.uf=function(){var t;return t=new YQe,t},h.vf=function(t){},k(BZ,"RectPackingOptions/RectpackingFactory",1008),_(1687,1,{},oot),h.a=0,h.c=!1,k(kx,"AreaApproximation",1687);var Qxe=Hr(kx,"BestCandidateFilter");_(671,1,{527:1},kG),h.Gg=function(t,r,o){var a,u,f,p,m,y;for(y=new je,f=Kr,m=new V(t);m.a<m.c.c.length;)p=l(q(m),241),f=b.Math.min(f,(p.c+(o.b+o.c))*(p.b+(o.d+o.a)));for(u=new V(t);u.a<u.c.c.length;)a=l(q(u),241),(a.c+(o.b+o.c))*(a.b+(o.d+o.a))==f&&Ot(y.c,a);return y},k(kx,"AreaFilter",671),_(672,1,{527:1},NG),h.Gg=function(t,r,o){var a,u,f,p,m,y;for(m=new je,y=Kr,p=new V(t);p.a<p.c.c.length;)f=l(q(p),241),y=b.Math.min(y,b.Math.abs((f.c+(o.b+o.c))/(f.b+(o.d+o.a))-r));for(u=new V(t);u.a<u.c.c.length;)a=l(q(u),241),b.Math.abs((a.c+(o.b+o.c))/(a.b+(o.d+o.a))-r)==y&&Ot(m.c,a);return m},k(kx,"AspectRatioFilter",672),_(1441,1,Fi,jze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){xSn(l(t,19),r)},k(kx,"GreedyWidthApproximator",1441),_(670,1,{527:1},CG),h.Gg=function(t,r,o){var a,u,f,p,m,y;for(y=new je,f=Li,m=new V(t);m.a<m.c.c.length;)p=l(q(m),241),f=b.Math.max(f,sP(p.c+(o.b+o.c),p.b+(o.d+o.a),p.a));for(u=new V(t);u.a<u.c.c.length;)a=l(q(u),241),sP(a.c+(o.b+o.c),a.b+(o.d+o.a),a.a)==f&&Ot(y.c,a);return y},k(kx,"ScaleMeasureFilter",670),_(1442,1,Fi,Fze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){yvn(l(t,19),r)},k(kx,"TargetWidthWidthApproximator",1442),_(481,23,{3:1,34:1,23:1,481:1,173:1,177:1},qle),h.bg=function(){return Wbt(this)},h.og=function(){return Wbt(this)};var Dne,eke,tke=fn(kx,"WidthApproximationStrategy",481,bn,sun,jin),kOt;_(1443,1,Fi,$ze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){NNn(this,l(t,19),r)},k(jF,"Compactor",1443),_(1445,1,Fi,Bze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){sSn(l(t,19),r)},k(jF,"NoPlacement",1445),_(434,23,{3:1,34:1,23:1,434:1,173:1,177:1},Jq),h.bg=function(){return Qpt(this)},h.og=function(){return Qpt(this)};var Lne,nke,rke,ike=fn(jF,"PackingStrategy",434,bn,ocn,Fin),NOt;_(804,1,{},Jle),h.a=0,h.b=0,h.c=0,h.d=Kr,h.e=0,h.f=Kr,k(jF,"RowFillingAndCompaction",804),_(1444,1,Fi,Uze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){zxn(l(t,19),r)},k(jF,"SimplePlacement",1444),_(1446,1,Fi,Hze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){this.Hg(l(t,19),r)},h.Hg=function(t,r){V0t(t,r)},k(Bve,"EqualWhitespaceEliminator",1446),_(1447,1446,Fi,zze),h.Hg=function(t,r){var o,a,u,f,p;r.Tg("To Aspect Ratio Whitesapce Eliminator",1),p=ue(ce(ve(t,(yh(),$T)))),f=ue(ce(ve(t,dk))),u=ue(ce(ve(t,(ef(),WB)))),o=ue(ce(ve(t,a4))),a=p/f,a<u?(p=f*u,Vn(t,$T,p)):(o+=p/u-f,Vn(t,a4,o),Vn(t,dk,f+o)),V0t(t,r),r.Ug()},k(Bve,"ToAspectratioNodeExpander",1447),_(435,23,{3:1,34:1,23:1,435:1,173:1,177:1},Xq),h.bg=function(){return Vht(this)},h.og=function(){return Vht(this)};var oke,Mne,ske,ake=fn(Bve,"WhiteSpaceEliminationStrategy",435,bn,icn,$in),COt;_(175,1,{175:1},$K),h.a=0,h.c=!1,h.d=0,h.e=0,h.f=0,h.g=0,h.i=0,h.k=!1,h.o=Kr,h.p=Kr,h.r=0,h.s=0,h.t=0,k(zD,"Block",175),_(211,1,{211:1},MP),h.a=0,h.b=0,h.d=0,h.e=0,h.f=0,k(zD,"BlockRow",211),_(320,1,{320:1},Lhe),h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,k(zD,"BlockStack",320),_(241,1,{241:1},jfe,F1e),h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.g=0;var iCn=k(zD,"DrawingData",241);_(370,23,{3:1,34:1,23:1,370:1},vO);var BT,f2,d4,f4,LL,IOt=fn(zD,"DrawingDataDescriptor",370,bn,Jln,Rin),ROt;_(189,1,{189:1},Khe),h.b=0,h.c=0,h.e=0,h.f=0,k(zD,"RectRow",189),_(757,1,{},t1e),h.j=0,k(Ly,oSt,757),_(1186,1,{},Gze),h.$e=function(t){return f1(t.a,t.b)},k(Ly,Swe,1186),_(1187,1,{},iXe),h.$e=function(t){return sdn(this.a,t)},k(Ly,sSt,1187),_(1188,1,{},oXe),h.$e=function(t){return ubn(this.a,t)},k(Ly,aSt,1188),_(1189,1,{},sXe),h.$e=function(t){return spn(this.a,t)},k(Ly,"ElkGraphImporter/lambda$3$Type",1189),_(1190,1,{},aXe),h.$e=function(t){return Mvn(this.a,t)},k(Ly,uSt,1190),_(1095,207,im,JQe),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M;for(Gc(t,(Y6(),ZB))&&(M=In(ve(t,(xY(),Nke))),f=u0e(W3(),M),f&&(p=l(JO(f.f),207),p.kf(t,r.dh(1)))),Vn(t,Hne,(o6(),XB)),Vn(t,zne,(J6(),Une)),Vn(t,Gne,(x6(),QB)),m=l(ve(t,(xY(),_ke)),15).a,r.Tg("Overlap removal",1),Ye(Ke(ve(t,XOt))),y=new hi,v=new uXe(y),a=new t1e,o=MEt(a,t),T=!0,u=0;u<m&&T;){if(Ye(Ke(ve(t,xke)))){if(y.a.$b(),Pyn(new trt(v),o.i),y.a.gc()==0)break;o.e=y}for(M3(this.b),pc(this.b,(M6(),KB),(JN(),ML)),pc(this.b,YB,o.g),pc(this.b,JB,(J9(),Fne)),this.a=FC(this.b,o),O=new V(this.a);O.a<O.c.c.length;)N=l(q(O),43),N.If(o,r.dh(1));o0n(a,o),T=Ye(Ke(F(o,(S_(),_2e)))),++u}Wvt(a,o),r.Ug()},k(Ly,"OverlapRemovalLayoutProvider",1095),_(1096,1,{},uXe),k(Ly,"OverlapRemovalLayoutProvider/lambda$0$Type",1096),_(440,23,{3:1,34:1,23:1,440:1},Zq);var KB,YB,JB,Pne=fn(Ly,"SPOrEPhases",440,bn,scn,Din),OOt;_(1196,1,{},XQe),k(Ly,"ShrinkTree",1196),_(1097,207,im,tQe),h.kf=function(t,r){var o,a,u,f,p;Gc(t,(Y6(),ZB))&&(p=In(ve(t,ZB)),u=u0e(W3(),p),u&&(f=l(JO(u.f),207),f.kf(t,r.dh(1)))),a=new t1e,o=MEt(a,t),c2n(this.a,o,r.dh(1)),Wvt(a,o)},k(Ly,"ShrinkTreeLayoutProvider",1097),_(311,151,{3:1,311:1,105:1,151:1},Zat),h.c=!1,k("org.eclipse.elk.alg.spore.graph","Graph",311),_(480,23,{3:1,34:1,23:1,480:1,173:1,177:1},Yet),h.bg=function(){return vpt(this)},h.og=function(){return vpt(this)};var jne,uke=fn(My,VSt,480,bn,han,Oin),DOt;_(550,23,{3:1,34:1,23:1,550:1,173:1,177:1},qrt),h.bg=function(){return new $ue},h.og=function(){return new $ue};var Fne,LOt=fn(My,"OverlapRemovalStrategy",550,bn,fan,Lin),MOt;_(433,23,{3:1,34:1,23:1,433:1},Vle);var XB,$ne,cke=fn(My,"RootSelection",433,bn,oun,Min),POt;_(331,23,{3:1,34:1,23:1,331:1},EO);var lke,Bne,Une,dke,fke,hke=fn(My,"SpanningTreeCostFunction",331,bn,Xln,Pin),jOt;_(1005,1,td,nKe),h.tf=function(t){_vt(t)};var pke,gke,FOt,$Ot,bke,mke,Hne,zne,Gne,BOt,UOt,ZB;k(My,"SporeCompactionOptions",1005),_(1006,1,{},qze),h.uf=function(){var t;return t=new tQe,t},h.vf=function(t){},k(My,"SporeCompactionOptions/SporeCompactionFactory",1006),_(856,1,td,rKe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,HZ),""),"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."),(A1(),HT)),Je),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qZ),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),Tke),$r),Cke),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Uve),VZ),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),Eke),$r),Rke),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Hve),VZ),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),vke),$r),hke),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zZ),VZ),"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),HT),Je),ct(xt)))),zr(t,zZ,GZ,WOt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,GZ),VZ),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),yke),$r),cke),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zve),mye),QSt),"This option defines how the compaction is applied."),wke),$r),uke),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Gve),mye),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(Lt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qve),nTt),"Upper limit for iterations of overlap removal"),null),Re(64)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Vve),nTt),"Whether to run a supplementary scanline overlap check."),null),!0),Ai),Yr),ct(xt)))),kyt((new iKe,t)),_vt((new nKe,t))};var HOt,wke,zOt,GOt,qOt,VOt,WOt,KOt,yke,YOt,vke,JOt,Eke,Ske,Tke,Ake;k(My,"SporeMetaDataProvider",856),_(1003,1,td,iKe),h.tf=function(t){kyt(t)};var XOt,_ke,xke,kke,ZOt,Nke;k(My,"SporeOverlapRemovalOptions",1003),_(1004,1,{},Vze),h.uf=function(){var t;return t=new JQe,t},h.vf=function(t){},k(My,"SporeOverlapRemovalOptions/SporeOverlapFactory",1004),_(531,23,{3:1,34:1,23:1,531:1,173:1,177:1},Jst),h.bg=function(){return Ept(this)},h.og=function(){return Ept(this)};var ML,Cke=fn(My,"StructureExtractionStrategy",531,bn,pan,Bin),QOt;_(432,23,{3:1,34:1,23:1,432:1,173:1,177:1},Wle),h.bg=function(){return Cgt(this)},h.og=function(){return Cgt(this)};var Ike,QB,Rke=fn(My,"TreeConstructionStrategy",432,bn,aun,Uin),e6t;_(1435,1,Fi,Zze),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){u0n(l(t,311),r)},k(rTt,"DelaunayTriangulationPhase",1435),_(1436,1,nn,cXe),h.Ad=function(t){Fe(this.a,l(t,68).a)},k(rTt,"DelaunayTriangulationPhase/lambda$0$Type",1436),_(788,1,Fi,Hce),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){this.Ig(l(t,311),r)},h.Ig=function(t,r){var o,a,u;r.Tg("Minimum spanning tree construction",1),t.d?a=t.d.a:a=l(ze(t.i,0),68).a,Ye(Ke(F(t,(S_(),EI))))?u=jJ(t.e,a,(o=t.b,o)):u=jJ(t.e,a,t.b),ept(this,u,t),r.Ug()},k(WZ,"MinSTPhase",788),_(1438,788,Fi,$Ze),h.Ig=function(t,r){var o,a,u,f;r.Tg("Maximum spanning tree construction",1),o=new lXe(t),t.d?u=t.d.c:u=l(ze(t.i,0),68).c,Ye(Ke(F(t,(S_(),EI))))?f=jJ(t.e,u,(a=o,a)):f=jJ(t.e,u,o),ept(this,f,t),r.Ug()},k(WZ,"MaxSTPhase",1438),_(1439,1,{},lXe),h.$e=function(t){return Len(this.a,t)},k(WZ,"MaxSTPhase/lambda$0$Type",1439),_(1437,1,nn,dXe),h.Ad=function(t){ytn(this.a,l(t,68))},k(WZ,"MinSTPhase/lambda$0$Type",1437),_(790,1,Fi,$ue),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){vwn(this,l(t,311),r)},h.a=!1,k(KZ,"GrowTreePhase",790),_(791,1,nn,wfe),h.Ad=function(t){Jhn(this.a,this.b,this.c,l(t,227))},k(KZ,"GrowTreePhase/lambda$0$Type",791),_(1440,1,Fi,Qze),h.pg=function(t){return l(t,311),new ui},h.If=function(t,r){Obn(this,l(t,311),r)},k(KZ,"ShrinkTreeCompactionPhase",1440),_(789,1,nn,yfe),h.Ad=function(t){nEn(this.a,this.b,this.c,l(t,227))},k(KZ,"ShrinkTreeCompactionPhase/lambda$0$Type",789),_(389,23,{3:1,34:1,23:1,389:1},Kle);var Oke,qne,Dke=fn(Wve,"EdgeRoutingStrategy",389,bn,cun,Hin),t6t,cw,Sm,fk,Vne,hk,n6t,PL,Xf,ov,h4;_(396,23,{3:1,34:1,23:1,396:1},w8);var Wne,Kne,Yne,Jne,Lke=fn(Wve,"VertiFlexLayoutPhases",396,bn,cln,zin),r6t;_(1099,207,im,ZQe),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O;if(o=aEn(this,t),r.Tg(PSt,o.c.length),this.b=ue(ce(ve(t,(_n(),Od)))),Ye(Ke(ve(t,(QS(),jke))))||P3((a=new OA((t1(),new Yp(t))),a)),O=nwn(t),Vn(t,(wh(),h4),O),!O)throw Y(new _f(zSt));for(f=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));f.e!=f.i.gc();){if(u=l(rn(f),19),v=(!u.d&&(u.d=new Tt(Ir,u,8,5)),u.d).i,v>1)throw Y(new _f("The given graph is not an acyclic tree!"));va(u,0),gu(u,0)}for(jvt(this,O,0),p=0,y=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));y.e!=y.i.gc();)m=l(rn(y),19),Vn(m,PL,Re(p)),p+=1;for(N=new V(o);N.a<N.c.c.length;)T=l(q(N),43),T.If(t,r.dh(1));QEn(t),r.Ug()},h.b=0,k(Wve,"VertiFlexLayoutProvider",1099),_(858,1,td,oKe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Kve),""),"Fixed vertical position"),"The Y position that the node should be fixed at."),(A1(),eo)),fi),ct((Jd(),ri))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Yve),""),"Edge layout strategy"),"Strategy for the layout of the children. 'straight' for straight line drawings, 'bend' for a possible bend. When straight edges are prioritized the nodes will be reordered in order to guarantee that straight edges are possible. If bend points are enabled on the other hand, the given model order of the nodes is maintained and bend points are introduced to prevent edge node overlaps."),Mke),$r),Dke),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Jve),""),"Layer distance"),"The distance to use between nodes of different layers if no vertical constraints are set."),50),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Xve),""),"Consider node model order"),"Consider node model as a secondary criterion when using straight line routing."),(Lt(),!0)),Ai),Yr),ct(xt)))),Lvt((new sKe,t))};var i6t,o6t,s6t,Mke,a6t;k(Zve,"VertiFlexMetaDataProvider",858),_(1009,1,td,sKe),h.tf=function(t){Lvt(t)};var Xne,u6t,Pke,Zne,c6t,jke,Fke,l6t,pk;k(Zve,"VertiFlexOptions",1009),_(1010,1,{},eGe),h.uf=function(){var t;return t=new ZQe,t},h.vf=function(t){},k(Zve,"VertiFlexOptions/VertiflexFactory",1010),_(1450,1,Fi,tGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){vyn(this,l(t,19),r)},h.a=0,h.b=0,k(iTt,"NodeYPlacer",1450),_(557,23,{3:1,34:1,23:1,557:1,173:1,177:1},Kot),h.bg=function(){return Spt(this)},h.og=function(){return Spt(this)};var Qne,d6t=fn(iTt,"NodeYPlacerStrategy",557,bn,can,Gin),f6t;_(824,1,Un,Sce),h.Le=function(t,r){return emn(this,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=!1,k(YZ,"NodeComparator",824),_(107,1,{107:1},Qu),h.Ib=function(){return"X:"+this.c+", Y:"+this.a},h.a=0,h.c=0,k(YZ,"OutlineNode",107),_(1451,1,Fi,nGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){GEn(this,l(t,19),r)},h.a=!1,h.b=0,k(YZ,"RelativeXPlacer",1451),_(558,23,{3:1,34:1,23:1,558:1,173:1,177:1},Wot),h.bg=function(){return Tpt(this)},h.og=function(){return Tpt(this)};var ere,h6t=fn(YZ,"RelativeXPlacerStrategy",558,bn,lan,qin),p6t;_(1452,1,Fi,Kze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Cmn(this,l(t,19),r)},k(oTt,"AbsoluteXPlacer",1452),_(559,23,{3:1,34:1,23:1,559:1,173:1,177:1},vst),h.bg=function(){return Apt(this)},h.og=function(){return Apt(this)};var tre,g6t=fn(oTt,"AbsoluteXPlacerStrategy",559,bn,dan,Vin),b6t;_(1454,1,Fi,Yze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Zgn(this,l(t,19),r)},k(Qve,sTt,1454),_(498,23,{3:1,34:1,23:1,498:1,173:1,177:1},Yle),h.bg=function(){return Bbt(this)},h.og=function(){return Bbt(this)};var nre,rre,m6t=fn(Qve,"EdgerouterStrategy",498,bn,uun,Win),w6t;_(1453,1,Fi,Jze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){L1n(this,l(t,19),r)},k(Qve,aTt,1453);var $ke=Hr(Vs,"IGraphElementVisitor");_(862,1,{528:1},jut),h.Jg=function(t){var r;r=pTn(this,t),qs(r,l(Ht(this.b,t),105)),s2n(this,t,r)};var y6t,v6t;k(LE,"LayoutConfigurator",862);var oCn=Hr(LE,"LayoutConfigurator/IPropertyHolderOptionFilter");_(935,1,{837:1},Wze),h.Lg=function(t,r){return qS(),!t.nf(r)},k(LE,"LayoutConfigurator/lambda$0$Type",935),_(936,1,{2011:1},Xze),h.Kg=function(t,r){return qS(),!t.nf(r)},k(LE,"LayoutConfigurator/lambda$1$Type",936),_(937,1,{2011:1},sZt),h.Kg=function(t,r){return QQe(t,r)},k(LE,"LayoutConfigurator/lambda$2$Type",937),_(938,1,Mn,$tt),h.Mb=function(t){return oan(this.a,this.b,l(t,2011))},k(LE,"LayoutConfigurator/lambda$3$Type",938),_(860,1,{},rGe),k(LE,"RecursiveGraphLayoutEngine",860),_(194,63,vp,bZe,_f),k(LE,"UnsupportedConfigurationException",194),_(367,63,vp,cS),k(LE,"UnsupportedGraphException",367),_(756,1,{}),k(Vs,"AbstractRandomListAccessor",756),_(403,756,{},X_),h.Mg=function(){return null},h.d=!0,h.e=!0,h.f=0,k(Cx,"AlgorithmAssembler",403),_(1181,1,Mn,iGe),h.Mb=function(t){return!!l(t,86)},k(Cx,"AlgorithmAssembler/lambda$0$Type",1181),_(1182,1,{},fXe),h.Kb=function(t){return KQt(this.a,l(t,86))},k(Cx,"AlgorithmAssembler/lambda$1$Type",1182),_(1183,1,Mn,oGe),h.Mb=function(t){return!!l(t,75)},k(Cx,"AlgorithmAssembler/lambda$2$Type",1183),_(1184,1,nn,hXe),h.Ad=function(t){yc(this.a,l(t,75))},k(Cx,"AlgorithmAssembler/lambda$3$Type",1184),_(1185,1,nn,Btt),h.Ad=function(t){mnn(this.a,this.b,l(t,177))},k(Cx,"AlgorithmAssembler/lambda$4$Type",1185),_(1311,1,Un,sGe),h.Le=function(t,r){return Pan(l(t,177),l(r,177))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Cx,"EnumBasedFactoryComparator",1311),_(75,756,{75:1},ui),h.Mg=function(){return new hi},h.a=0,k(Cx,"LayoutProcessorConfiguration",75),_(1018,1,{528:1},aKe),h.Jg=function(t){S6(S6t,new pXe(t))};var E6t,S6t,T6t;k(Ns,"DeprecatedLayoutOptionReplacer",1018),_(1019,1,nn,aGe),h.Ad=function(t){zdn(l(t,176))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1019),_(1020,1,nn,uGe),h.Ad=function(t){d1n(l(t,176))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1020),_(1021,1,{},pXe),h.Wd=function(t,r){gnn(this.a,l(t,149),l(r,42))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1021),_(144,1,{697:1,144:1},Qb),h.Fb=function(t){return dpe(this,t)},h.Ng=function(){return this.b},h.Og=function(){return this.c},h.ve=function(){return this.e},h.Hb=function(){return lg(this.c)},h.Ib=function(){return"Layout Algorithm: "+this.c};var sCn=k(Ns,"LayoutAlgorithmData",144);_(271,1,{},vb),k(Ns,"LayoutAlgorithmData/Builder",271),_(714,1,{528:1},cGe),h.Jg=function(t){$ct(t)},k(Ns,"LayoutAlgorithmResolver",714),_(236,1,{697:1,236:1},LS),h.Fb=function(t){return ae(t,236)?wt(this.b,l(t,236).b):!1},h.Ng=function(){return this.a},h.Og=function(){return this.b},h.ve=function(){return this.d},h.Hb=function(){return lg(this.b)},h.Ib=function(){return"Layout Type: "+this.b},k(Ns,"LayoutCategoryData",236),_(358,1,{},eS),k(Ns,"LayoutCategoryData/Builder",358),_(869,1,{},pyt);var ire;k(Ns,"LayoutMetaDataService",869),_(870,1,{},Ust),k(Ns,"LayoutMetaDataService/Registry",870),_(478,1,{478:1},Bue),k(Ns,"LayoutMetaDataService/Registry/Triple",478),_(871,1,FE,lGe),h.Pg=function(){return new ro},k(Ns,"LayoutMetaDataService/lambda$0$Type",871),_(872,1,Py,dGe),h.Qg=function(t){return To(l(t,8))},k(Ns,"LayoutMetaDataService/lambda$1$Type",872),_(881,1,FE,fGe),h.Pg=function(){return new je},k(Ns,"LayoutMetaDataService/lambda$10$Type",881),_(882,1,Py,hGe),h.Qg=function(t){return new Tu(l(t,13))},k(Ns,"LayoutMetaDataService/lambda$11$Type",882),_(883,1,FE,pGe),h.Pg=function(){return new Ar},k(Ns,"LayoutMetaDataService/lambda$12$Type",883),_(884,1,Py,gGe),h.Qg=function(t){return UO(l(t,66))},k(Ns,"LayoutMetaDataService/lambda$13$Type",884),_(885,1,FE,bGe),h.Pg=function(){return new hi},k(Ns,"LayoutMetaDataService/lambda$14$Type",885),_(886,1,Py,mGe),h.Qg=function(t){return EW(l(t,47))},k(Ns,"LayoutMetaDataService/lambda$15$Type",886),_(887,1,FE,wGe),h.Pg=function(){return new uh},k(Ns,"LayoutMetaDataService/lambda$16$Type",887),_(888,1,Py,yGe),h.Qg=function(t){return VP(l(t,47))},k(Ns,"LayoutMetaDataService/lambda$17$Type",888),_(889,1,FE,vGe),h.Pg=function(){return new ZG},k(Ns,"LayoutMetaDataService/lambda$18$Type",889),_(890,1,Py,EGe),h.Qg=function(t){return got(l(t,143))},k(Ns,"LayoutMetaDataService/lambda$19$Type",890),_(873,1,FE,SGe),h.Pg=function(){return new Lu},k(Ns,"LayoutMetaDataService/lambda$2$Type",873),_(874,1,Py,TGe),h.Qg=function(t){return new B9(l(t,79))},k(Ns,"LayoutMetaDataService/lambda$3$Type",874),_(875,1,FE,AGe),h.Pg=function(){return new FN},k(Ns,"LayoutMetaDataService/lambda$4$Type",875),_(876,1,Py,_Ge),h.Qg=function(t){return new DV(l(t,125))},k(Ns,"LayoutMetaDataService/lambda$5$Type",876),_(877,1,FE,xGe),h.Pg=function(){return new oS},k(Ns,"LayoutMetaDataService/lambda$6$Type",877),_(878,1,Py,kGe),h.Qg=function(t){return new mfe(l(t,100))},k(Ns,"LayoutMetaDataService/lambda$7$Type",878),_(879,1,FE,NGe),h.Pg=function(){return new IG},k(Ns,"LayoutMetaDataService/lambda$8$Type",879),_(880,1,Py,CGe),h.Qg=function(t){return new Vdt(l(t,380))},k(Ns,"LayoutMetaDataService/lambda$9$Type",880);var ore=Hr(kD,"IProperty");_(21,1,{34:1,697:1,21:1,149:1},Ze),h.Dd=function(t){return Mtn(this,l(t,149))},h.Fb=function(t){return ae(t,21)?wt(this.f,l(t,21).f):ae(t,149)&&wt(this.f,l(t,149).Og())},h.Rg=function(){var t;if(ae(this.b,4)){if(t=$1e(this.b),t==null)throw Y(new es(dTt+this.f+"'. Make sure it's type is registered with the "+(np(u5),u5.k)+eEe));return t}else return this.b},h.Ng=function(){return this.d},h.Og=function(){return this.f},h.ve=function(){return this.i},h.Hb=function(){return lg(this.f)},h.Ib=function(){return"Layout Option: "+this.f},k(Ns,"LayoutOptionData",21),_(25,1,{},Xe),k(Ns,"LayoutOptionData/Builder",25),_(161,23,{3:1,34:1,23:1,161:1},SO);var Rd,Np,ri,xt,Cg,cf=fn(Ns,"LayoutOptionData/Target",161,bn,edn,Kin),A6t;_(287,23,{3:1,34:1,23:1,287:1},gS);var Ai,eo,$r,UT,yo,lf,HT,Bke,_6t=fn(Ns,"LayoutOptionData/Type",287,bn,hfn,Yin),x6t,p4,Uke;_(120,1,{120:1},wS,ql,IP),h.Fb=function(t){var r;return t==null||!ae(t,120)?!1:(r=l(t,120),ia(this.c,r.c)&&ia(this.d,r.d)&&ia(this.b,r.b)&&ia(this.a,r.a))},h.Hb=function(){return Fj(Z(X(Ii,1),Rt,1,5,[this.c,this.d,this.b,this.a]))},h.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},h.a=0,h.b=0,h.c=0,h.d=0,k(PD,"ElkRectangle",120),_(8,1,{3:1,4:1,8:1,419:1},ro,CW,Me,So),h.Fb=function(t){return iht(this,t)},h.Hb=function(){return mS(this.a)+umn(mS(this.b))},h.ag=function(t){var r,o,a,u;for(a=0;a<t.length&&qpt((Yt(a,t.length),t.charCodeAt(a)),eSt);)++a;for(r=t.length;r>0&&qpt((Yt(r-1,t.length),t.charCodeAt(r-1)),tSt);)--r;if(a>=r)throw Y(new jt("The given string does not contain any numbers."));if(u=ky((io(a,r,t.length),t.substr(a,r-a)),`,|;|\r|
`),u.length!=2)throw Y(new jt("Exactly two numbers are expected, "+u.length+" were found."));try{this.a=vy(Ey(u[0])),this.b=vy(Ey(u[1]))}catch(f){throw f=ci(f),ae(f,133)?(o=f,Y(new jt(nSt+o))):Y(f)}},h.Ib=function(){return"("+this.a+","+this.b+")"},h.a=0,h.b=0;var $i=k(PD,"KVector",8);_(79,66,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1,79:1,419:1},Lu,B9,Yrt),h.Nc=function(){return Npn(this)},h.ag=function(t){var r,o,a,u,f,p;a=ky(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),tc(this);try{for(o=0,f=0,u=0,p=0;o<a.length;)a[o]!=null&&Ey(a[o]).length>0&&(f%2==0?u=vy(a[o]):p=vy(a[o]),f>0&&f%2!=0&&Gn(this,new Me(u,p)),++f),++o}catch(m){throw m=ci(m),ae(m,133)?(r=m,Y(new jt("The given string does not match the expected format for vectors."+r))):Y(m)}},h.Ib=function(){var t,r,o;for(t=new fc("("),r=An(this,0);r.b!=r.d.c;)o=l(Sn(r),8),zn(t,o.a+","+o.b),r.b!=r.d.c&&(t.a+="; ");return(t.a+=")",t).a};var Hke=k(PD,"KVectorChain",79);_(259,23,{3:1,34:1,23:1,259:1},s3);var sre,eU,tU,jL,FL,nU,zke=fn(Fa,"Alignment",259,bn,Rdn,Jin),k6t;_(984,1,td,uKe),h.tf=function(t){Uyt(t)};var Gke,are,N6t,qke,Vke,C6t,Wke,I6t,R6t,Kke,Yke,O6t;k(Fa,"BoxLayouterOptions",984),_(985,1,{},IGe),h.uf=function(){var t;return t=new DGe,t},h.vf=function(t){},k(Fa,"BoxLayouterOptions/BoxFactory",985),_(300,23,{3:1,34:1,23:1,300:1},a3);var g4,ure,b4,m4,w4,cre,lre=fn(Fa,"ContentAlignment",300,bn,Idn,Xin),D6t;_(696,1,td,que),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,hTt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(A1(),HT)),Je),ct((Jd(),xt))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,pTt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),lf),sCn),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Pye),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Jke),$r),zke),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,mx),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,rEe),""),"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."),lf),Hke),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,CF),""),"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."),Zke),UT),lre),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,UD),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Lt(),!1)),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,TZ),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Qke),$r),E4),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,BD),""),"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."),nNe),$r),Tre),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,tEe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,NF),""),"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`."),iNe),$r),WNe),xr(xt,Z(X(cf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,B0),""),"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."),gNe),lf),K2e),xr(xt,Z(X(cf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,wx),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,RF),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,yx),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lF),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),vNe),$r),JNe),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,IF),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),lf),$i),xr(ri,Z(X(cf,1),Ce,161,0,[Cg,Np]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,CD),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),yo),Ti),xr(ri,Z(X(cf,1),Ce,161,0,[Rd]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,cF),""),"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)."),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,WC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Wye),""),"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."),aNe),lf),Hke),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Xye),""),"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),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Zye),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,D3n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),lf),fCn),xr(xt,Z(X(cf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gTt),""),"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),eo),fi),ct(Np)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xZ),""),"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."),uNe),lf),W2e),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Lye),""),"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),Ai),Yr),xr(ri,Z(X(cf,1),Ce,161,0,[Rd,Cg,Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bTt),""),"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),eo),fi),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,mTt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,wTt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,RD),""),uTt),"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),Ai),Yr),ct(xt)))),zr(t,RD,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,yTt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vTt),""),"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'."),Re(100)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ETt),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,STt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Re(4e3)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,TTt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Re(400)),yo),Ti),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ATt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_Tt),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xTt),""),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kTt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,nEe),"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."),Xke),$r),c3e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,NTt),"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."),sNe),$r),QNe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,CTt),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),oNe),$r),LNe),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Tye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Aye),of),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_ye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,LX),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,SZ),of),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xye),of),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Cye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Nye),of),"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),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$0),of),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Iye),of),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),eo),fi),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Rye),of),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),eo),fi),xr(xt,Z(X(cf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Oye),of),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),lf),CDt),xr(ri,Z(X(cf,1),Ce,161,0,[Rd,Cg,Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eve),of),"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."),INe),lf),W2e),ct(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,_Z),OTt),"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)."),yo),Ti),xr(xt,Z(X(cf,1),Ce,161,0,[ri]))))),zr(t,_Z,AZ,q6t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,AZ),OTt),"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."),bNe),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$ye),DTt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),lNe),lf),K2e),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ex),DTt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),dNe),UT),zo),xr(ri,Z(X(cf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Hye),$F),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),wNe),$r),_4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,zye),$F),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),$r),_4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Gye),$F),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),$r),_4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,qye),$F),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),$r),_4),ct(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Vye),$F),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),$r),_4),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ME),QZ),"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."),fNe),UT),N4),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bT),QZ),"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."),pNe),UT),e3e),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,mT),QZ),"Node Size Minimum"),"The minimal size to which a node can be reduced."),hNe),lf),$i),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vx),QZ),"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),Ai),Yr),ct(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Yye),EZ),"Edge Label Placement"),"Gives a hint on where to put edge labels."),eNe),$r),MNe),ct(Np)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ID),EZ),"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),Ai),Yr),ct(Np)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,L3n),"font"),"Font Name"),"Font name used for a label."),HT),Je),ct(Np)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,ITt),"font"),"Font Size"),"Font size used for a label."),yo),Ti),ct(Np)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Qye),eQ),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),lf),$i),ct(Cg)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Jye),eQ),"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."),yo),Ti),ct(Cg)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Mye),eQ),"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."),TNe),$r),Io),ct(Cg)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Dye),eQ),"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."),eo),fi),ct(Cg)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sx),sEe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),ENe),UT),lU),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Bye),sEe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Uye),sEe),"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),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,XZ),Rx),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),Re(3)),yo),Ti),ct(xt)))),zr(t,XZ,ZZ,rDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,iEe),Rx),"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."),Re(4)),yo),Ti),ct(xt)))),zr(t,iEe,XZ,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,OD),Rx),"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),eo),fi),ct(xt)))),zr(t,OD,U0,eDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ZZ),Rx),"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),lf),aCn),ct(ri)))),zr(t,ZZ,U0,tDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,DD),Rx),"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),eo),fi),xr(xt,Z(X(cf,1),Ce,161,0,[ri]))))),zr(t,DD,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,LD),Rx),"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),eo),fi),xr(xt,Z(X(cf,1),Ce,161,0,[ri]))))),zr(t,LD,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,U0),Rx),"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),$r),n3e),ct(ri)))),zr(t,U0,vx,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,oEe),Rx),"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),eo),fi),ct(xt)))),zr(t,oEe,U0,Q6t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jye),LTt),"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),Ai),Yr),ct(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Fye),LTt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Ai),Yr),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Kye),"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),eo),fi),ct(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,RTt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),rNe),$r),UNe),ct(Rd)))),XN(t,new LS(qN(FA(jA(new eS,Bt),"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.'))),XN(t,new LS(qN(FA(jA(new eS,"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.`))),XN(t,new LS(qN(FA(jA(new eS,Ga),"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."))),XN(t,new LS(qN(FA(jA(new eS,"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."))),XN(t,new LS(qN(FA(jA(new eS,hve),"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."))),XN(t,new LS(qN(FA(jA(new eS,"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."))),XN(t,new LS(qN(FA(jA(new eS,Qc),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),_yt((new cKe,t)),Uyt((new uKe,t)),Jwt((new lKe,t))};var zT,L6t,Jke,gk,M6t,P6t,Xke,sv,av,j6t,$L,Zke,BL,Tm,Qke,rU,dre,eNe,tNe,nNe,F6t,rNe,$6t,h2,iNe,B6t,UL,fre,y4,hre,U6t,oNe,H6t,sNe,p2,aNe,Cp,uNe,cNe,lNe,g2,dNe,Am,fNe,uv,b2,hNe,G1,pNe,iU,v4,df,gNe,z6t,bNe,G6t,q6t,mNe,wNe,pre,gre,bre,mre,yNe,zu,bk,vNe,wre,yre,cv,ENe,SNe,m2,TNe,GT,HL,vre,lv,V6t,Ere,W6t,K6t,Y6t,J6t,ANe,_Ne,qT,xNe,oU,kNe,NNe,Od,X6t,CNe,INe,RNe,mk,dv,wk,VT,Z6t,Q6t,sU,eDt,aU,tDt,nDt,rDt,iDt;k(Fa,"CoreOptions",696),_(87,23,{3:1,34:1,23:1,87:1},TO);var ff,as,fs,hf,il,E4=fn(Fa,"Direction",87,bn,Bln,Zin),oDt;_(280,23,{3:1,34:1,23:1,280:1},y8);var uU,zL,ONe,DNe,LNe=fn(Fa,"EdgeCoords",280,bn,lln,Qin),sDt;_(281,23,{3:1,34:1,23:1,281:1},Qq);var yk,fv,vk,MNe=fn(Fa,"EdgeLabelPlacement",281,bn,lcn,eon),aDt;_(225,23,{3:1,34:1,23:1,225:1},v8);var Ek,GL,WT,Sre,Tre=fn(Fa,"EdgeRouting",225,bn,dln,ton),uDt;_(328,23,{3:1,34:1,23:1,328:1},u3);var PNe,jNe,FNe,$Ne,Are,BNe,UNe=fn(Fa,"EdgeType",328,bn,Cdn,non),cDt;_(982,1,td,cKe),h.tf=function(t){_yt(t)};var HNe,zNe,GNe,qNe,lDt,VNe,S4;k(Fa,"FixedLayouterOptions",982),_(983,1,{},RGe),h.uf=function(){var t;return t=new BGe,t},h.vf=function(t){},k(Fa,"FixedLayouterOptions/FixedFactory",983),_(348,23,{3:1,34:1,23:1,348:1},eV);var Ig,cU,T4,WNe=fn(Fa,"HierarchyHandling",348,bn,fcn,ron),dDt,aCn=Hr(Fa,"ITopdownSizeApproximator");_(293,23,{3:1,34:1,23:1,293:1},E8);var Ih,q1,qL,VL,fDt=fn(Fa,"LabelSide",293,bn,fln,ion),hDt;_(96,23,{3:1,34:1,23:1,96:1},Jv);var Ip,ad,Cl,ud,kc,cd,Il,Rh,ld,zo=fn(Fa,"NodeLabelPlacement",96,bn,Lfn,oon),pDt;_(260,23,{3:1,34:1,23:1,260:1},AO);var KNe,A4,V1,YNe,WL,_4=fn(Fa,"PortAlignment",260,bn,tdn,son),gDt;_(103,23,{3:1,34:1,23:1,103:1},c3);var _m,fa,Oh,Sk,pf,W1,JNe=fn(Fa,"PortConstraints",103,bn,Odn,aon),bDt;_(282,23,{3:1,34:1,23:1,282:1},l3);var x4,k4,Rp,KL,K1,KT,lU=fn(Fa,"PortLabelPlacement",282,bn,Ddn,uon),mDt;_(64,23,{3:1,34:1,23:1,64:1},_O);var Qt,Wt,ol,sl,iu,Wa,gf,dd,Iu,vu,ka,Ru,ou,su,fd,Nc,Cc,Rl,dn,Is,Kt,Io=fn(Fa,"PortSide",64,bn,Uln,lon),wDt;_(986,1,td,lKe),h.tf=function(t){Jwt(t)};var yDt,vDt,XNe,EDt,SDt;k(Fa,"RandomLayouterOptions",986),_(987,1,{},OGe),h.uf=function(){var t;return t=new GGe,t},h.vf=function(t){},k(Fa,"RandomLayouterOptions/RandomFactory",987),_(301,23,{3:1,34:1,23:1,301:1},tV);var YL,_re,ZNe,QNe=fn(Fa,"ShapeCoords",301,bn,ccn,con),TDt;_(381,23,{3:1,34:1,23:1,381:1},S8);var hv,JL,XL,xm,N4=fn(Fa,"SizeConstraint",381,bn,hln,don),ADt;_(267,23,{3:1,34:1,23:1,267:1},Xv);var ZL,dU,Tk,xre,QL,C4,fU,hU,pU,e3e=fn(Fa,"SizeOptions",267,bn,Ufn,fon),_Dt;_(283,23,{3:1,34:1,23:1,283:1},nV);var pv,t3e,gU,n3e=fn(Fa,"TopdownNodeTypes",283,bn,dcn,hon),xDt;_(290,23,UF);var r3e,kre,i3e,o3e,e5=fn(Fa,"TopdownSizeApproximator",290,bn,pln,pon);_(978,290,UF,Lot),h.Sg=function(t){return C1t(t)},fn(Fa,"TopdownSizeApproximator/1",978,e5,null,null),_(979,290,UF,wst),h.Sg=function(t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft,It;for(r=l(ve(t,(_n(),lv)),144),qe=(e1(),M=new $N,M),nD(qe,t),lt=new hn,f=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));f.e!=f.i.gc();)a=l(rn(f),19),se=(O=new $N,O),M7(se,qe),nD(se,a),It=C1t(a),i0(se,b.Math.max(a.g,It.a),b.Math.max(a.f,It.b)),eu(lt.f,a,se);for(u=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));u.e!=u.i.gc();)for(a=l(rn(u),19),T=new tn((!a.e&&(a.e=new Tt(Ir,a,7,4)),a.e));T.e!=T.i.gc();)v=l(rn(T),74),Ee=l(Ss(ts(lt.f,a)),19),ye=l(Ht(lt,oe((!v.c&&(v.c=new Tt(pn,v,5,8)),v.c),0)),19),de=(N=new OG,N),Tn((!de.b&&(de.b=new Tt(pn,de,4,7)),de.b),Ee),Tn((!de.c&&(de.c=new Tt(pn,de,5,8)),de.c),ye),L7(de,Br(Ee)),nD(de,v);z=l(JO(r.f),207);try{z.kf(qe,new RG),whe(r.f,z)}catch(Dt){throw Dt=ci(Dt),ae(Dt,102)?(U=Dt,Y(U)):Y(Dt)}return Gc(qe,av)||Gc(qe,sv)||GJ(qe),y=ue(ce(ve(qe,av))),m=ue(ce(ve(qe,sv))),p=y/m,o=ue(ce(ve(qe,dv)))*b.Math.sqrt((!qe.a&&(qe.a=new ke(En,qe,10,11)),qe.a).i),ft=l(ve(qe,df),100),ne=ft.b+ft.c+1,J=ft.d+ft.a+1,new Me(b.Math.max(ne,o),b.Math.max(J,o/p))},fn(Fa,"TopdownSizeApproximator/2",979,e5,null,null),_(980,290,UF,qat),h.Sg=function(t){var r,o,a,u,f,p;return o=ue(ce(ve(t,(_n(),dv)))),r=o/ue(ce(ve(t,mk))),a=JAn(t),f=l(ve(t,df),100),u=ue(ce(Ge(Od))),Br(t)&&(u=ue(ce(ve(Br(t),Od)))),p=tp(new Me(o,r),a),br(p,new Me(-(f.b+f.c)-u,-(f.d+f.a)-u))},fn(Fa,"TopdownSizeApproximator/3",980,e5,null,null),_(981,290,UF,yst),h.Sg=function(t){var r,o,a,u,f,p,m,y,v,T;for(p=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));p.e!=p.i.gc();)f=l(rn(p),19),ve(f,(_n(),aU))!=null&&(!f.a&&(f.a=new ke(En,f,10,11)),!!f.a)&&(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i>0?(o=l(ve(f,aU),525),T=o.Sg(f),v=l(ve(f,df),100),i0(f,b.Math.max(f.g,T.a+v.b+v.c),b.Math.max(f.f,T.b+v.d+v.a))):(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i!=0&&i0(f,ue(ce(ve(f,dv))),ue(ce(ve(f,dv)))/ue(ce(ve(f,mk))));r=l(ve(t,(_n(),lv)),144),y=l(JO(r.f),207);try{y.kf(t,new RG),whe(r.f,y)}catch(N){throw N=ci(N),ae(N,102)?(m=N,Y(m)):Y(N)}return Vn(t,zT,Ox),$ct(t),GJ(t),u=ue(ce(ve(t,av))),a=ue(ce(ve(t,sv))),new Me(u,a)},fn(Fa,"TopdownSizeApproximator/4",981,e5,null,null);var kDt;_(346,1,{861:1},sS),h.Tg=function(t,r){return zbt(this,t,r)},h.Ug=function(){mmt(this)},h.Vg=function(){return this.q},h.Wg=function(){return this.f?CP(this.f):null},h.Xg=function(){return CP(this.a)},h.Yg=function(){return this.p},h.Zg=function(){return!1},h.$g=function(){return this.n},h._g=function(){return this.p!=null&&!this.b},h.ah=function(t){var r;this.n&&(r=t,Fe(this.f,r))},h.bh=function(t,r){var o,a;this.n&&t&&Icn(this,(o=new jst,a=TJ(o,t),Fkn(o),a),(Pj(),Cre))},h.dh=function(t){var r;return this.b?null:(r=wfn(this,this.g),Gn(this.a,r),r.i=this,this.d=t,r)},h.eh=function(t){t>0&&!this.b&&pge(this,t)},h.b=!1,h.c=0,h.d=-1,h.e=null,h.f=null,h.g=-1,h.j=!1,h.k=!1,h.n=!1,h.o=0,h.q=0,h.r=0,k(Vs,"BasicProgressMonitor",346),_(713,207,im,DGe),h.kf=function(t,r){ovt(t,r)},k(Vs,"BoxLayoutProvider",713),_(974,1,Un,gXe),h.Le=function(t,r){return M2n(this,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=!1,k(Vs,"BoxLayoutProvider/1",974),_(168,1,{168:1},hj,Jrt),h.Ib=function(){return this.c?a0e(this.c):Qd(this.b)},k(Vs,"BoxLayoutProvider/Group",168),_(327,23,{3:1,34:1,23:1,327:1},T8);var s3e,a3e,u3e,Nre,c3e=fn(Vs,"BoxLayoutProvider/PackingMode",327,bn,gln,gon),NDt;_(975,1,Un,LGe),h.Le=function(t,r){return Man(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Vs,"BoxLayoutProvider/lambda$0$Type",975),_(976,1,Un,MGe),h.Le=function(t,r){return Aan(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Vs,"BoxLayoutProvider/lambda$1$Type",976),_(977,1,Un,PGe),h.Le=function(t,r){return _an(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Vs,"BoxLayoutProvider/lambda$2$Type",977),_(1350,1,{837:1},jGe),h.Lg=function(t,r){return W9(),!ae(r,176)||QQe((qS(),l(t,176)),r)},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1350),_(1351,1,nn,bXe),h.Ad=function(t){Cpn(this.a,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1351),_(1352,1,nn,FGe),h.Ad=function(t){l(t,105),W9()},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1352),_(1356,1,nn,mXe),h.Ad=function(t){thn(this.a,l(t,105))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1356),_(1354,1,Mn,Utt),h.Mb=function(t){return hpn(this.a,this.b,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1354),_(1353,1,Mn,Htt),h.Mb=function(t){return dnn(this.a,this.b,l(t,837))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1353),_(1355,1,nn,ztt),h.Ad=function(t){wsn(this.a,this.b,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1355),_(939,1,{},$Ge),h.Kb=function(t){return Hnt(t)},h.Fb=function(t){return this===t},k(Vs,"ElkUtil/lambda$0$Type",939),_(940,1,nn,Gtt),h.Ad=function(t){Pvn(this.a,this.b,l(t,74))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$1$Type",940),_(941,1,nn,qtt),h.Ad=function(t){pQt(this.a,this.b,l(t,171))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$2$Type",941),_(942,1,nn,Vtt),h.Ad=function(t){atn(this.a,this.b,l(t,158))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$3$Type",942),_(943,1,nn,wXe),h.Ad=function(t){Bon(this.a,l(t,373))},k(Vs,"ElkUtil/lambda$4$Type",943),_(332,1,{34:1,332:1},zZt),h.Dd=function(t){return Dtn(this,l(t,245))},h.Fb=function(t){var r;return ae(t,332)?(r=l(t,332),this.a==r.a):!1},h.Hb=function(){return go(this.a)},h.Ib=function(){return this.a+" (exclusive)"},h.a=0,k(Vs,"ExclusiveBounds/ExclusiveLowerBound",332),_(1100,207,im,BGe),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne,se,de,Ee,ye,qe,lt,ft;for(r.Tg("Fixed Layout",1),f=l(ve(t,(_n(),tNe)),225),N=0,O=0,se=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));se.e!=se.i.gc();){for(J=l(rn(se),19),ft=l(ve(J,(jj(),S4)),8),ft&&(Bc(J,ft.a,ft.b),l(ve(J,zNe),185).Gc((sc(),hv))&&(M=l(ve(J,qNe),8),M.a>0&&M.b>0&&M0(J,M.a,M.b,!0,!0))),N=b.Math.max(N,J.i+J.g),O=b.Math.max(O,J.j+J.f),v=new tn((!J.n&&(J.n=new ke(Rs,J,1,7)),J.n));v.e!=v.i.gc();)m=l(rn(v),158),ft=l(ve(m,S4),8),ft&&Bc(m,ft.a,ft.b),N=b.Math.max(N,J.i+m.i+m.g),O=b.Math.max(O,J.j+m.j+m.f);for(ye=new tn((!J.c&&(J.c=new ke(Gu,J,9,9)),J.c));ye.e!=ye.i.gc();)for(Ee=l(rn(ye),127),ft=l(ve(Ee,S4),8),ft&&Bc(Ee,ft.a,ft.b),qe=J.i+Ee.i,lt=J.j+Ee.j,N=b.Math.max(N,qe+Ee.g),O=b.Math.max(O,lt+Ee.f),y=new tn((!Ee.n&&(Ee.n=new ke(Rs,Ee,1,7)),Ee.n));y.e!=y.i.gc();)m=l(rn(y),158),ft=l(ve(m,S4),8),ft&&Bc(m,ft.a,ft.b),N=b.Math.max(N,qe+m.i+m.g),O=b.Math.max(O,lt+m.j+m.f);for(u=new $t(qt(mp(J).a.Jc(),new D));an(u);)o=l(en(u),74),T=EEt(o),N=b.Math.max(N,T.a),O=b.Math.max(O,T.b);for(a=new $t(qt(R7(J).a.Jc(),new D));an(a);)o=l(en(a),74),Br(JY(o))!=t&&(T=EEt(o),N=b.Math.max(N,T.a),O=b.Math.max(O,T.b))}if(f==(gp(),Ek))for(ne=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));ne.e!=ne.i.gc();)for(J=l(rn(ne),19),a=new $t(qt(mp(J).a.Jc(),new D));an(a);)o=l(en(a),74),p=MAn(o),p.b==0?Vn(o,p2,null):Vn(o,p2,p);Ye(Ke(ve(t,(jj(),GNe))))||(de=l(ve(t,lDt),100),z=N+de.b+de.c,U=O+de.d+de.a,M0(t,z,U,!0,!0)),r.Ug()},k(Vs,"FixedLayoutProvider",1100),_(380,151,{3:1,419:1,380:1,105:1,151:1},IG,Vdt),h.ag=function(t){var r,o,a,u,f,p,m,y,v;if(t)try{for(y=ky(t,";,;"),f=y,p=0,m=f.length;p<m;++p){if(u=f[p],o=ky(u,"\\:"),a=B0e(W3(),o[0]),!a)throw Y(new jt("Invalid option id: "+o[0]));if(v=F0e(a,o[1]),v==null)throw Y(new jt("Invalid option value: "+o[1]));v==null?(!this.q&&(this.q=new hn),FS(this.q,a)):(!this.q&&(this.q=new hn),Jn(this.q,a,v))}}catch(T){throw T=ci(T),ae(T,102)?(r=T,Y(new Lpt(r))):Y(T)}},h.Ib=function(){var t;return t=In(Au(Oa((this.q?this.q:(At(),At(),xh)).vc().Mc(),new UGe),Wdn(new hot,new Ca,new On,new Xs,Z(X(ru,1),Ce,132,0,[])))),t};var CDt=k(Vs,"IndividualSpacings",380);_(973,1,{},UGe),h.Kb=function(t){return Lan(l(t,45))},k(Vs,"IndividualSpacings/lambda$0$Type",973),_(715,1,{},Jot),h.c=0,k(Vs,"InstancePool",715),_(1833,1,{},HGe),k(Vs,"LoggedGraph",1833),_(412,23,{3:1,34:1,23:1,412:1},A8);var l3e,Cre,d3e,f3e,IDt=fn(Vs,"LoggedGraph/Type",412,bn,bln,bon),RDt;_(621,1,{861:1},RG),h.Tg=function(t,r){return!1},h.Ug=function(){},h.Vg=function(){return 0},h.Wg=function(){return null},h.Xg=function(){return null},h.Yg=function(){return null},h.Zg=function(){return!1},h.$g=function(){return!1},h._g=function(){return!1},h.ah=function(t){},h.bh=function(t,r){},h.dh=function(t){return this},h.eh=function(t){},k(Vs,"NullElkProgressMonitor",621),_(49,1,{22:1,49:1},zGe,ko),h.Ic=function(t){lo(this,t)},h.Fb=function(t){var r,o,a;return ae(t,49)?(o=l(t,49),r=this.a==null?o.a==null:pr(this.a,o.a),a=this.b==null?o.b==null:pr(this.b,o.b),r&&a):!1},h.Hb=function(){var t,r,o,a,u,f;return o=this.a==null?0:Rr(this.a),t=o&Ei,r=o&-65536,f=this.b==null?0:Rr(this.b),a=f&Ei,u=f&-65536,t^u>>16&Ei|r^a<<16},h.Jc=function(){return new yXe(this)},h.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+ms(this.b)+")":this.b==null?"pair("+ms(this.a)+",null)":"pair("+ms(this.a)+","+ms(this.b)+")"},k(Vs,"Pair",49),_(988,1,Wi,yXe),h.Nb=function(t){so(this,t)},h.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},h.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 Y(new vs)},h.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),Y(new lu)},h.b=!1,h.c=!1,k(Vs,"Pair/1",988),_(1089,207,im,GGe),h.kf=function(t,r){var o,a,u,f,p;if(r.Tg("Random Layout",1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i==0){r.Ug();return}f=l(ve(t,(D1e(),EDt)),15),f&&f.a!=0?u=new WP(f.a):u=new rY,o=rO(ce(ve(t,yDt))),p=rO(ce(ve(t,SDt))),a=l(ve(t,vDt),100),oNn(t,u,o,p,a),r.Ug()},k(Vs,"RandomLayoutProvider",1089),_(243,1,{243:1},MV),h.Fb=function(t){return ia(this.a,l(t,243).a)&&ia(this.b,l(t,243).b)&&ia(this.c,l(t,243).c)},h.Hb=function(){return Fj(Z(X(Ii,1),Rt,1,5,[this.a,this.b,this.c]))},h.Ib=function(){return"("+this.a+ja+this.b+ja+this.c+")"},k(Vs,"Triple",243);var ODt;_(554,1,{}),h.Jf=function(){return new Me(this.f.i,this.f.j)},h.mf=function(t){return Hat(t,(_n(),zu))?ve(this.f,DDt):ve(this.f,t)},h.Kf=function(){return new Me(this.f.g,this.f.f)},h.Lf=function(){return this.g},h.nf=function(t){return Gc(this.f,t)},h.Mf=function(t){va(this.f,t.a),gu(this.f,t.b)},h.Nf=function(t){Hb(this.f,t.a),Ub(this.f,t.b)},h.Of=function(t){this.g=t},h.g=0;var DDt;k(rI,"ElkGraphAdapters/AbstractElkGraphElementAdapter",554),_(556,1,{845:1},x9),h.Pf=function(){var t,r;if(!this.b)for(this.b=$P(fW(this.a).i),r=new tn(fW(this.a));r.e!=r.i.gc();)t=l(rn(r),158),Fe(this.b,new uq(t));return this.b},h.b=null,k(rI,"ElkGraphAdapters/ElkEdgeAdapter",556),_(250,554,{},Yp),h.Qf=function(){return Y1t(this)},h.a=null,k(rI,"ElkGraphAdapters/ElkGraphAdapter",250),_(637,554,{190:1},uq),k(rI,"ElkGraphAdapters/ElkLabelAdapter",637),_(555,554,{692:1},B8),h.Pf=function(){return rmn(this)},h.Tf=function(){var t;return t=l(ve(this.f,(_n(),Cp)),125),!t&&(t=new FN),t},h.Vf=function(){return imn(this)},h.Xf=function(t){var r;r=new DV(t),Vn(this.f,(_n(),Cp),r)},h.Yf=function(t){Vn(this.f,(_n(),df),new mfe(t))},h.Rf=function(){return this.d},h.Sf=function(){var t,r;if(!this.a)for(this.a=new je,r=new $t(qt(R7(l(this.f,19)).a.Jc(),new D));an(r);)t=l(en(r),74),Fe(this.a,new x9(t));return this.a},h.Uf=function(){var t,r;if(!this.c)for(this.c=new je,r=new $t(qt(mp(l(this.f,19)).a.Jc(),new D));an(r);)t=l(en(r),74),Fe(this.c,new x9(t));return this.c},h.Wf=function(){return kP(l(this.f,19)).i!=0||Ye(Ke(l(this.f,19).mf((_n(),UL))))},h.Zf=function(){Zdn(this,(t1(),ODt))},h.a=null,h.b=null,h.c=null,h.d=null,h.e=null,k(rI,"ElkGraphAdapters/ElkNodeAdapter",555),_(1261,554,{844:1},vXe),h.Pf=function(){return dmn(this)},h.Sf=function(){var t,r;if(!this.a)for(this.a=ch(l(this.f,127).gh().i),r=new tn(l(this.f,127).gh());r.e!=r.i.gc();)t=l(rn(r),74),Fe(this.a,new x9(t));return this.a},h.Uf=function(){var t,r;if(!this.c)for(this.c=ch(l(this.f,127).hh().i),r=new tn(l(this.f,127).hh());r.e!=r.i.gc();)t=l(rn(r),74),Fe(this.c,new x9(t));return this.c},h.$f=function(){return l(l(this.f,127).mf((_n(),m2)),64)},h._f=function(){var t,r,o,a,u,f,p,m;for(a=Gd(l(this.f,127)),o=new tn(l(this.f,127).hh());o.e!=o.i.gc();)for(t=l(rn(o),74),m=new tn((!t.c&&(t.c=new Tt(pn,t,5,8)),t.c));m.e!=m.i.gc();){if(p=l(rn(m),83),uy(Yo(p),a))return!0;if(Yo(p)==a&&Ye(Ke(ve(t,(_n(),fre)))))return!0}for(r=new tn(l(this.f,127).gh());r.e!=r.i.gc();)for(t=l(rn(r),74),f=new tn((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b));f.e!=f.i.gc();)if(u=l(rn(f),83),uy(Yo(u),a))return!0;return!1},h.a=null,h.b=null,h.c=null,k(rI,"ElkGraphAdapters/ElkPortAdapter",1261),_(1262,1,Un,qGe),h.Le=function(t,r){return kTn(l(t,127),l(r,127))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(rI,"ElkGraphAdapters/PortComparator",1262);var Y1=Hr(el,"EObject"),Ak=Hr($E,jTt),Ic=Hr($E,FTt),t5=Hr($E,$Tt),n5=Hr($E,"ElkShape"),pn=Hr($E,BTt),Ir=Hr($E,uEe),jr=Hr($E,UTt),r5=Hr(el,HTt),I4=Hr(el,"EFactory"),LDt,Ire=Hr(el,zTt),Dd=Hr(el,"EPackage"),Bi,MDt,PDt,h3e,bU,jDt,p3e,g3e,b3e,Dh,FDt,$Dt,Rs=Hr($E,cEe),En=Hr($E,lEe),Gu=Hr($E,dEe);_(94,1,GTt),h.qh=function(){return this.rh(),null},h.rh=function(){return null},h.sh=function(){return this.rh(),!1},h.th=function(){return!1},h.uh=function(t){hr(this,t)},k(vT,"BasicNotifierImpl",94),_(101,94,KTt),h.Vh=function(){return Ju(this)},h.vh=function(t,r){return t},h.wh=function(){throw Y(new Nn)},h.xh=function(t){var r;return r=Mo(l(Nt(this.Ah(),this.Ch()),20)),this.Mh().Qh(this,r.n,r.f,t)},h.yh=function(t,r){throw Y(new Nn)},h.zh=function(t,r,o){return Sc(this,t,r,o)},h.Ah=function(){var t;return this.wh()&&(t=this.wh().Lk(),t)?t:this.fi()},h.Bh=function(){return uJ(this)},h.Ch=function(){throw Y(new Nn)},h.Dh=function(){var t,r;return r=this.Xh().Mk(),!r&&this.wh().Rk(r=(QN(),t=Dhe(Ff(this.Ah())),t==null?Fre:new RO(this,t))),r},h.Eh=function(t,r){return t},h.Fh=function(t){var r;return r=t.nk(),r?t.Jj():Ur(this.Ah(),t)},h.Gh=function(){var t;return t=this.wh(),t?t.Ok():null},h.Hh=function(){return this.wh()?this.wh().Lk():null},h.Ih=function(t,r,o){return s7(this,t,r,o)},h.Jh=function(t){return p_(this,t)},h.Kh=function(t,r){return VW(this,t,r)},h.Lh=function(){var t;return t=this.wh(),!!t&&t.Pk()},h.Mh=function(){throw Y(new Nn)},h.Nh=function(){return t7(this)},h.Oh=function(t,r,o,a){return XS(this,t,r,a)},h.Ph=function(t,r,o){var a;return a=l(Nt(this.Ah(),r),69),a.uk().xk(this,this.ei(),r-this.gi(),t,o)},h.Qh=function(t,r,o,a){return OP(this,t,r,a)},h.Rh=function(t,r,o){var a;return a=l(Nt(this.Ah(),r),69),a.uk().yk(this,this.ei(),r-this.gi(),t,o)},h.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},h.Th=function(t){return wY(this,t)},h.Uh=function(t){return iut(this,t)},h.Wh=function(t){return rEt(this,t)},h.Xh=function(){throw Y(new Nn)},h.Yh=function(){return this.wh()?this.wh().Nk():null},h.Zh=function(){return t7(this)},h.$h=function(t,r){rJ(this,t,r)},h._h=function(t){this.Xh().Qk(t)},h.ai=function(t){this.Xh().Tk(t)},h.bi=function(t){this.Xh().Sk(t)},h.ci=function(t,r){var o,a,u,f;return f=this.Gh(),f&&t&&(r=_o(f.Cl(),this,r),f.Gl(this)),a=this.Mh(),a&&(vJ(this,this.Mh(),this.Ch()).Bb&No?(u=a.Nh(),u&&(t?!f&&u.Gl(this):u.Fl(this))):(r=(o=this.Ch(),o>=0?this.xh(r):this.Mh().Qh(this,-1-o,null,r)),r=this.zh(null,-1,r))),this.ai(t),r},h.di=function(t){var r,o,a,u,f,p,m,y;if(o=this.Ah(),f=Ur(o,t),r=this.gi(),f>=r)return l(t,69).uk().Bk(this,this.ei(),f-r);if(f<=-1)if(p=IE((mu(),ao),o,t),p){if(Lo(),l(p,69).vk()||(p=MS(rs(ao,p))),u=(a=this.Fh(p),l(a>=0?this.Ih(a,!0,!0):O0(this,p,!0),164)),y=p.Gk(),y>1||y==-1)return l(l(u,222).Ql(t,!1),78)}else throw Y(new jt(R1+t.ve()+tQ));else if(t.Hk())return a=this.Fh(t),l(a>=0?this.Ih(a,!1,!0):O0(this,t,!1),78);return m=new pnt(this,t),m},h.ei=function(){return Upe(this)},h.fi=function(){return(a1(),Ut).S},h.gi=function(){return ln(this.fi())},h.hi=function(t){eJ(this,t)},h.Ib=function(){return Zl(this)},k(Gt,"BasicEObjectImpl",101);var BDt;_(118,101,{110:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1}),h.ii=function(t){var r;return r=Bpe(this),r[t]},h.ji=function(t,r){var o;o=Bpe(this),ii(o,t,r)},h.ki=function(t){var r;r=Bpe(this),ii(r,t,null)},h.qh=function(){return l(Vt(this,4),131)},h.rh=function(){throw Y(new Nn)},h.sh=function(){return(this.Db&4)!=0},h.wh=function(){throw Y(new Nn)},h.li=function(t){KS(this,2,t)},h.yh=function(t,r){this.Db=r<<16|this.Db&255,this.li(t)},h.Ah=function(){return Ja(this)},h.Ch=function(){return this.Db>>16},h.Dh=function(){var t,r;return QN(),r=Dhe(Ff((t=l(Vt(this,16),29),t||this.fi()))),r==null?Fre:new RO(this,r)},h.th=function(){return(this.Db&1)==0},h.Gh=function(){return l(Vt(this,128),2013)},h.Hh=function(){return l(Vt(this,16),29)},h.Lh=function(){return(this.Db&32)!=0},h.Mh=function(){return l(Vt(this,2),52)},h.Sh=function(){return(this.Db&64)!=0},h.Xh=function(){throw Y(new Nn)},h.Yh=function(){return l(Vt(this,64),291)},h._h=function(t){KS(this,16,t)},h.ai=function(t){KS(this,128,t)},h.bi=function(t){KS(this,64,t)},h.ei=function(){return Ha(this)},h.Db=0,k(Gt,"MinimalEObjectImpl",118),_(119,118,{110:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.li=function(t){this.Cb=t},h.Mh=function(){return this.Cb},k(Gt,"MinimalEObjectImpl/Container",119),_(2062,119,{110:1,344:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return nbe(this,t,r,o)},h.Rh=function(t,r,o){return qbe(this,t,r,o)},h.Th=function(t){return Whe(this,t)},h.$h=function(t,r){Uge(this,t,r)},h.fi=function(){return Qs(),$Dt},h.hi=function(t){Ige(this,t)},h.lf=function(){return g1t(this)},h.fh=function(){return!this.o&&(this.o=new pu((Qs(),Dh),Rg,this,0)),this.o},h.mf=function(t){return ve(this,t)},h.nf=function(t){return Gc(this,t)},h.of=function(t,r){return Vn(this,t,r)},k(am,"EMapPropertyHolderImpl",2062),_(566,119,{110:1,373:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},b9),h.Ih=function(t,r,o){switch(t){case 0:return this.a;case 1:return this.b}return s7(this,t,r,o)},h.Th=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return wY(this,t)},h.$h=function(t,r){switch(t){case 0:gj(this,ue(ce(r)));return;case 1:pj(this,ue(ce(r)));return}rJ(this,t,r)},h.fi=function(){return Qs(),MDt},h.hi=function(t){switch(t){case 0:gj(this,0);return;case 1:pj(this,0);return}eJ(this,t)},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new ml(Zl(this)),t.a+=" (x: ",Vv(t,this.a),t.a+=", y: ",Vv(t,this.b),t.a+=")",t.a)},h.a=0,h.b=0,k(am,"ElkBendPointImpl",566),_(734,2062,{110:1,344:1,176:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return a1e(this,t,r,o)},h.Ph=function(t,r,o){return VY(this,t,r,o)},h.Rh=function(t,r,o){return CK(this,t,r,o)},h.Th=function(t){return Tge(this,t)},h.$h=function(t,r){Ebe(this,t,r)},h.fi=function(){return Qs(),jDt},h.hi=function(t){r1e(this,t)},h.ih=function(){return this.k},h.jh=function(){return fW(this)},h.Ib=function(){return nY(this)},h.k=null,k(am,"ElkGraphElementImpl",734),_(735,734,{110:1,344:1,176:1,278:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return y1e(this,t,r,o)},h.Th=function(t){return C1e(this,t)},h.$h=function(t,r){Sbe(this,t,r)},h.fi=function(){return Qs(),FDt},h.hi=function(t){I1e(this,t)},h.kh=function(){return this.f},h.lh=function(){return this.g},h.mh=function(){return this.i},h.nh=function(){return this.j},h.oh=function(t,r){i0(this,t,r)},h.ph=function(t,r){Bc(this,t,r)},h.Ib=function(){return ZY(this)},h.f=0,h.g=0,h.i=0,h.j=0,k(am,"ElkShapeImpl",735),_(736,735,{110:1,344:1,83:1,176:1,278:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return J1e(this,t,r,o)},h.Ph=function(t,r,o){return gbe(this,t,r,o)},h.Rh=function(t,r,o){return bbe(this,t,r,o)},h.Th=function(t){return Mge(this,t)},h.$h=function(t,r){Cme(this,t,r)},h.fi=function(){return Qs(),PDt},h.hi=function(t){q1e(this,t)},h.gh=function(){return!this.d&&(this.d=new Tt(Ir,this,8,5)),this.d},h.hh=function(){return!this.e&&(this.e=new Tt(Ir,this,7,4)),this.e},k(am,"ElkConnectableShapeImpl",736),_(273,734,{110:1,344:1,74:1,176:1,273:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},OG),h.xh=function(t){return dbe(this,t)},h.Ih=function(t,r,o){switch(t){case 3:return ty(this);case 4:return!this.b&&(this.b=new Tt(pn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Tt(pn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new ke(jr,this,6,6)),this.a;case 7:return Lt(),!this.b&&(this.b=new Tt(pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i<=1));case 8:return Lt(),!!AC(this);case 9:return Lt(),!!R0(this);case 10:return Lt(),!this.b&&(this.b=new Tt(pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i!=0)}return a1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 3:return this.Cb&&(o=(a=this.Db>>16,a>=0?dbe(this,o):this.Cb.Qh(this,-1-a,null,o))),Vde(this,l(t,19),o);case 4:return!this.b&&(this.b=new Tt(pn,this,4,7)),Pa(this.b,t,o);case 5:return!this.c&&(this.c=new Tt(pn,this,5,8)),Pa(this.c,t,o);case 6:return!this.a&&(this.a=new ke(jr,this,6,6)),Pa(this.a,t,o)}return VY(this,t,r,o)},h.Rh=function(t,r,o){switch(r){case 3:return Vde(this,null,o);case 4:return!this.b&&(this.b=new Tt(pn,this,4,7)),_o(this.b,t,o);case 5:return!this.c&&(this.c=new Tt(pn,this,5,8)),_o(this.c,t,o);case 6:return!this.a&&(this.a=new ke(jr,this,6,6)),_o(this.a,t,o)}return CK(this,t,r,o)},h.Th=function(t){switch(t){case 3:return!!ty(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 Tt(pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i<=1));case 8:return AC(this);case 9:return R0(this);case 10:return!this.b&&(this.b=new Tt(pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i!=0)}return Tge(this,t)},h.$h=function(t,r){switch(t){case 3:L7(this,l(r,19));return;case 4:!this.b&&(this.b=new Tt(pn,this,4,7)),vn(this.b),!this.b&&(this.b=new Tt(pn,this,4,7)),ti(this.b,l(r,18));return;case 5:!this.c&&(this.c=new Tt(pn,this,5,8)),vn(this.c),!this.c&&(this.c=new Tt(pn,this,5,8)),ti(this.c,l(r,18));return;case 6:!this.a&&(this.a=new ke(jr,this,6,6)),vn(this.a),!this.a&&(this.a=new ke(jr,this,6,6)),ti(this.a,l(r,18));return}Ebe(this,t,r)},h.fi=function(){return Qs(),h3e},h.hi=function(t){switch(t){case 3:L7(this,null);return;case 4:!this.b&&(this.b=new Tt(pn,this,4,7)),vn(this.b);return;case 5:!this.c&&(this.c=new Tt(pn,this,5,8)),vn(this.c);return;case 6:!this.a&&(this.a=new ke(jr,this,6,6)),vn(this.a);return}r1e(this,t)},h.Ib=function(){return Svt(this)},k(am,"ElkEdgeImpl",273),_(446,2062,{110:1,344:1,171:1,446:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},g9),h.xh=function(t){return abe(this,t)},h.Ih=function(t,r,o){switch(t){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 yi(Ic,this,5)),this.a;case 6:return eut(this);case 7:return r?TY(this):this.i;case 8:return r?SY(this):this.f;case 9:return!this.g&&(this.g=new Tt(jr,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Tt(jr,this,10,9)),this.e;case 11:return this.d}return nbe(this,t,r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?abe(this,o):this.Cb.Qh(this,-1-u,null,o))),Wde(this,l(t,74),o);case 9:return!this.g&&(this.g=new Tt(jr,this,9,10)),Pa(this.g,t,o);case 10:return!this.e&&(this.e=new Tt(jr,this,10,9)),Pa(this.e,t,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(Qs(),bU)),r),69),f.uk().xk(this,Ha(this),r-ln((Qs(),bU)),t,o)},h.Rh=function(t,r,o){switch(r){case 5:return!this.a&&(this.a=new yi(Ic,this,5)),_o(this.a,t,o);case 6:return Wde(this,null,o);case 9:return!this.g&&(this.g=new Tt(jr,this,9,10)),_o(this.g,t,o);case 10:return!this.e&&(this.e=new Tt(jr,this,10,9)),_o(this.e,t,o)}return qbe(this,t,r,o)},h.Th=function(t){switch(t){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!!eut(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 Whe(this,t)},h.$h=function(t,r){switch(t){case 1:E0(this,ue(ce(r)));return;case 2:S0(this,ue(ce(r)));return;case 3:y0(this,ue(ce(r)));return;case 4:v0(this,ue(ce(r)));return;case 5:!this.a&&(this.a=new yi(Ic,this,5)),vn(this.a),!this.a&&(this.a=new yi(Ic,this,5)),ti(this.a,l(r,18));return;case 6:mwt(this,l(r,74));return;case 7:Sj(this,l(r,83));return;case 8:Ej(this,l(r,83));return;case 9:!this.g&&(this.g=new Tt(jr,this,9,10)),vn(this.g),!this.g&&(this.g=new Tt(jr,this,9,10)),ti(this.g,l(r,18));return;case 10:!this.e&&(this.e=new Tt(jr,this,10,9)),vn(this.e),!this.e&&(this.e=new Tt(jr,this,10,9)),ti(this.e,l(r,18));return;case 11:fge(this,In(r));return}Uge(this,t,r)},h.fi=function(){return Qs(),bU},h.hi=function(t){switch(t){case 1:E0(this,0);return;case 2:S0(this,0);return;case 3:y0(this,0);return;case 4:v0(this,0);return;case 5:!this.a&&(this.a=new yi(Ic,this,5)),vn(this.a);return;case 6:mwt(this,null);return;case 7:Sj(this,null);return;case 8:Ej(this,null);return;case 9:!this.g&&(this.g=new Tt(jr,this,9,10)),vn(this.g);return;case 10:!this.e&&(this.e=new Tt(jr,this,10,9)),vn(this.e);return;case 11:fge(this,null);return}Ige(this,t)},h.Ib=function(){return N0t(this)},h.b=0,h.c=0,h.d=null,h.j=0,h.k=0,k(am,"ElkEdgeSectionImpl",446),_(162,119,{110:1,95:1,94:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1}),h.Ih=function(t,r,o){var a;return t==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab):qc(this,t-ln(this.fi()),Nt((a=l(Vt(this,16),29),a||this.fi()),t),r,o)},h.Ph=function(t,r,o){var a,u;return r==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o)):(u=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),u.uk().xk(this,Ha(this),r-ln(this.fi()),t,o))},h.Rh=function(t,r,o){var a,u;return r==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o)):(u=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o))},h.Th=function(t){var r;return t==0?!!this.Ab&&this.Ab.i!=0:zc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.Wh=function(t){return W0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return}Xc(this,t-ln(this.fi()),Nt((o=l(Vt(this,16),29),o||this.fi()),t),r)},h.ai=function(t){KS(this,128,t)},h.fi=function(){return _t(),iLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return}Jc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.mi=function(){this.Bb|=1},h.ni=function(t){return RC(this,t)},h.Bb=0,k(Gt,"EModelElementImpl",162),_(717,162,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1},Vue),h.oi=function(t,r){return Jvt(this,t,r)},h.pi=function(t){var r,o,a,u,f;if(this.a!=mc(t)||t.Bb&256)throw Y(new jt(rQ+t.zb+W0));for(a=ds(t);oa(a.a).i!=0;){if(o=l(dD(a,0,(r=l(oe(oa(a.a),0),88),f=r.c,ae(f,89)?l(f,29):(_t(),Ml))),29),I0(o))return u=mc(o).ti().pi(o),l(u,52)._h(t),u;a=ds(o)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new Dot(t):new Dfe(t)},h.qi=function(t,r){return P0(this,t,r)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.a}return qc(this,t-ln((_t(),Q1)),Nt((a=l(Vt(this,16),29),a||Q1),t),r,o)},h.Ph=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 1:return this.a&&(o=l(this.a,52).Qh(this,4,Dd,o)),e1e(this,l(t,244),o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Q1)),r),69),u.uk().xk(this,Ha(this),r-ln((_t(),Q1)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 1:return e1e(this,null,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Q1)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Q1)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return zc(this,t-ln((_t(),Q1)),Nt((r=l(Vt(this,16),29),r||Q1),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:nmt(this,l(r,244));return}Xc(this,t-ln((_t(),Q1)),Nt((o=l(Vt(this,16),29),o||Q1),t),r)},h.fi=function(){return _t(),Q1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:nmt(this,null);return}Jc(this,t-ln((_t(),Q1)),Nt((r=l(Vt(this,16),29),r||Q1),t))};var R4,m3e,UDt;k(Gt,"EFactoryImpl",717),_(1029,717,{110:1,2092:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1},WGe),h.oi=function(t,r){switch(t.fk()){case 12:return l(r,149).Og();case 13:return ms(r);default:throw Y(new jt(Dx+t.ve()+W0))}},h.pi=function(t){var r,o,a,u,f,p,m,y;switch(t.G==-1&&(t.G=(r=mc(t),r?gg(r.si(),t):-1)),t.G){case 4:return f=new Uue,f;case 6:return p=new $N,p;case 7:return m=new Fce,m;case 8:return a=new OG,a;case 9:return o=new b9,o;case 10:return u=new g9,u;case 11:return y=new KGe,y;default:throw Y(new jt(rQ+t.zb+W0))}},h.qi=function(t,r){switch(t.fk()){case 13:case 12:return null;default:throw Y(new jt(Dx+t.ve()+W0))}},k(am,"ElkGraphFactoryImpl",1029),_(444,162,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1}),h.Dh=function(){var t,r;return r=(t=l(Vt(this,16),29),Dhe(Ff(t||this.fi()))),r==null?(QN(),QN(),Fre):new Zrt(this,r)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.ve()}return qc(this,t-ln(this.fi()),Nt((a=l(Vt(this,16),29),a||this.fi()),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return zc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:this.ri(In(r));return}Xc(this,t-ln(this.fi()),Nt((o=l(Vt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),oLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:this.ri(null);return}Jc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.ve=function(){return this.zb},h.ri=function(t){Ma(this,t)},h.Ib=function(){return iC(this)},h.zb=null,k(Gt,"ENamedElementImpl",444),_(187,444,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1},Oat),h.xh=function(t){return dbt(this,t)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,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 Xw(this,Ld,this)),this.rb;case 6:return!this.vb&&(this.vb=new TS(Dd,this,6,7)),this.vb;case 7:return r?this.Db>>16==7?l(this.Cb,244):null:cut(this)}return qc(this,t-ln((_t(),Mg)),Nt((a=l(Vt(this,16),29),a||Mg),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 4:return this.sb&&(o=l(this.sb,52).Qh(this,1,I4,o)),i1e(this,l(t,472),o);case 5:return!this.rb&&(this.rb=new Xw(this,Ld,this)),Pa(this.rb,t,o);case 6:return!this.vb&&(this.vb=new TS(Dd,this,6,7)),Pa(this.vb,t,o);case 7:return this.Cb&&(o=(u=this.Db>>16,u>=0?dbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,7,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),Mg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Mg)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 4:return i1e(this,null,o);case 5:return!this.rb&&(this.rb=new Xw(this,Ld,this)),_o(this.rb,t,o);case 6:return!this.vb&&(this.vb=new TS(Dd,this,6,7)),_o(this.vb,t,o);case 7:return Sc(this,null,7,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Mg)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Mg)),t,o)},h.Th=function(t){var r;switch(t){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!!cut(this)}return zc(this,t-ln((_t(),Mg)),Nt((r=l(Vt(this,16),29),r||Mg),t))},h.Wh=function(t){var r;return r=q2n(this,t),r||W0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:kj(this,In(r));return;case 3:xj(this,In(r));return;case 4:XY(this,l(r,472));return;case 5:!this.rb&&(this.rb=new Xw(this,Ld,this)),vn(this.rb),!this.rb&&(this.rb=new Xw(this,Ld,this)),ti(this.rb,l(r,18));return;case 6:!this.vb&&(this.vb=new TS(Dd,this,6,7)),vn(this.vb),!this.vb&&(this.vb=new TS(Dd,this,6,7)),ti(this.vb,l(r,18));return}Xc(this,t-ln((_t(),Mg)),Nt((o=l(Vt(this,16),29),o||Mg),t),r)},h.bi=function(t){var r,o;if(t&&this.rb)for(o=new tn(this.rb);o.e!=o.i.gc();)r=rn(o),ae(r,361)&&(l(r,361).w=null);KS(this,64,t)},h.fi=function(){return _t(),Mg},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:kj(this,null);return;case 3:xj(this,null);return;case 4:XY(this,null);return;case 5:!this.rb&&(this.rb=new Xw(this,Ld,this)),vn(this.rb);return;case 6:!this.vb&&(this.vb=new TS(Dd,this,6,7)),vn(this.vb);return}Jc(this,t-ln((_t(),Mg)),Nt((r=l(Vt(this,16),29),r||Mg),t))},h.mi=function(){PY(this)},h.si=function(){return!this.rb&&(this.rb=new Xw(this,Ld,this)),this.rb},h.ti=function(){return this.sb},h.ui=function(){return this.ub},h.vi=function(){return this.xb},h.wi=function(){return this.yb},h.xi=function(t){this.ub=t},h.Ib=function(){var t;return this.Db&64?iC(this):(t=new ml(iC(this)),t.a+=" (nsURI: ",Vo(t,this.yb),t.a+=", nsPrefix: ",Vo(t,this.xb),t.a+=")",t.a)},h.xb=null,h.yb=null,k(Gt,"EPackageImpl",187),_(563,187,{110:1,2094:1,563:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1},P0t),h.q=!1,h.r=!1;var HDt=!1;k(am,"ElkGraphPackageImpl",563),_(363,735,{110:1,344:1,176:1,158:1,278:1,363:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},Uue),h.xh=function(t){return ube(this,t)},h.Ih=function(t,r,o){switch(t){case 7:return Fhe(this);case 8:return this.a}return y1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 7:return this.Cb&&(o=(a=this.Db>>16,a>=0?ube(this,o):this.Cb.Qh(this,-1-a,null,o))),Wfe(this,l(t,176),o)}return VY(this,t,r,o)},h.Rh=function(t,r,o){return r==7?Wfe(this,null,o):CK(this,t,r,o)},h.Th=function(t){switch(t){case 7:return!!Fhe(this);case 8:return!wt("",this.a)}return C1e(this,t)},h.$h=function(t,r){switch(t){case 7:qme(this,l(r,176));return;case 8:cge(this,In(r));return}Sbe(this,t,r)},h.fi=function(){return Qs(),p3e},h.hi=function(t){switch(t){case 7:qme(this,null);return;case 8:cge(this,"");return}I1e(this,t)},h.Ib=function(){return Smt(this)},h.a="",k(am,"ElkLabelImpl",363),_(209,736,{110:1,344:1,83:1,176:1,19:1,278:1,209:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},$N),h.xh=function(t){return fbe(this,t)},h.Ih=function(t,r,o){switch(t){case 9:return!this.c&&(this.c=new ke(Gu,this,9,9)),this.c;case 10:return!this.a&&(this.a=new ke(En,this,10,11)),this.a;case 11:return Br(this);case 12:return!this.b&&(this.b=new ke(Ir,this,12,3)),this.b;case 13:return Lt(),!this.a&&(this.a=new ke(En,this,10,11)),this.a.i>0}return J1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 9:return!this.c&&(this.c=new ke(Gu,this,9,9)),Pa(this.c,t,o);case 10:return!this.a&&(this.a=new ke(En,this,10,11)),Pa(this.a,t,o);case 11:return this.Cb&&(o=(a=this.Db>>16,a>=0?fbe(this,o):this.Cb.Qh(this,-1-a,null,o))),ife(this,l(t,19),o);case 12:return!this.b&&(this.b=new ke(Ir,this,12,3)),Pa(this.b,t,o)}return gbe(this,t,r,o)},h.Rh=function(t,r,o){switch(r){case 9:return!this.c&&(this.c=new ke(Gu,this,9,9)),_o(this.c,t,o);case 10:return!this.a&&(this.a=new ke(En,this,10,11)),_o(this.a,t,o);case 11:return ife(this,null,o);case 12:return!this.b&&(this.b=new ke(Ir,this,12,3)),_o(this.b,t,o)}return bbe(this,t,r,o)},h.Th=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Br(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new ke(En,this,10,11)),this.a.i>0}return Mge(this,t)},h.$h=function(t,r){switch(t){case 9:!this.c&&(this.c=new ke(Gu,this,9,9)),vn(this.c),!this.c&&(this.c=new ke(Gu,this,9,9)),ti(this.c,l(r,18));return;case 10:!this.a&&(this.a=new ke(En,this,10,11)),vn(this.a),!this.a&&(this.a=new ke(En,this,10,11)),ti(this.a,l(r,18));return;case 11:M7(this,l(r,19));return;case 12:!this.b&&(this.b=new ke(Ir,this,12,3)),vn(this.b),!this.b&&(this.b=new ke(Ir,this,12,3)),ti(this.b,l(r,18));return}Cme(this,t,r)},h.fi=function(){return Qs(),g3e},h.hi=function(t){switch(t){case 9:!this.c&&(this.c=new ke(Gu,this,9,9)),vn(this.c);return;case 10:!this.a&&(this.a=new ke(En,this,10,11)),vn(this.a);return;case 11:M7(this,null);return;case 12:!this.b&&(this.b=new ke(Ir,this,12,3)),vn(this.b);return}q1e(this,t)},h.Ib=function(){return a0e(this)},k(am,"ElkNodeImpl",209),_(196,736,{110:1,344:1,83:1,176:1,127:1,278:1,196:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},Fce),h.xh=function(t){return cbe(this,t)},h.Ih=function(t,r,o){return t==9?Gd(this):J1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 9:return this.Cb&&(o=(a=this.Db>>16,a>=0?cbe(this,o):this.Cb.Qh(this,-1-a,null,o))),Kde(this,l(t,19),o)}return gbe(this,t,r,o)},h.Rh=function(t,r,o){return r==9?Kde(this,null,o):bbe(this,t,r,o)},h.Th=function(t){return t==9?!!Gd(this):Mge(this,t)},h.$h=function(t,r){switch(t){case 9:Bme(this,l(r,19));return}Cme(this,t,r)},h.fi=function(){return Qs(),b3e},h.hi=function(t){switch(t){case 9:Bme(this,null);return}q1e(this,t)},h.Ib=function(){return byt(this)},k(am,"ElkPortImpl",196);var zDt=Hr(xo,"BasicEMap/Entry");_(1103,119,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1,118:1,119:1},KGe),h.Fb=function(t){return this===t},h.jd=function(){return this.b},h.Hb=function(){return s0(this)},h.Ai=function(t){oge(this,l(t,149))},h.Ih=function(t,r,o){switch(t){case 0:return this.b;case 1:return this.c}return s7(this,t,r,o)},h.Th=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return wY(this,t)},h.$h=function(t,r){switch(t){case 0:oge(this,l(r,149));return;case 1:sge(this,r);return}rJ(this,t,r)},h.fi=function(){return Qs(),Dh},h.hi=function(t){switch(t){case 0:oge(this,null);return;case 1:sge(this,null);return}eJ(this,t)},h.yi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Rr(t):0),this.a},h.kd=function(){return this.c},h.zi=function(t){this.a=t},h.ld=function(t){var r;return r=this.c,sge(this,t),r},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new Zg,zn(zn(zn(t,this.b?this.b.Og():tu),PX),y3(this.c)),t.a)},h.a=-1,h.c=null;var Rg=k(am,"ElkPropertyToValueMapEntryImpl",1103);_(989,1,{},YGe),k(oo,"JsonAdapter",989),_(218,63,vp,xf),k(oo,"JsonImportException",218),_(859,1,{},R0t),k(oo,"JsonImporter",859),_(893,1,{},Qtt),h.Bi=function(t){Ebt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$0$Type",893),_(894,1,{},ent),h.Bi=function(t){u0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$1$Type",894),_(902,1,{},EXe),h.Bi=function(t){uat(this.a,l(t,150))},k(oo,"JsonImporter/lambda$10$Type",902),_(904,1,{},tnt),h.Bi=function(t){Kmt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$11$Type",904),_(905,1,{},nnt),h.Bi=function(t){Ymt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$12$Type",905),_(911,1,{},wat),h.Bi=function(t){wmt(this.a,this.b,this.c,this.d,l(t,142))},k(oo,"JsonImporter/lambda$13$Type",911),_(910,1,{},yat),h.Bi=function(t){Fyt(this.a,this.b,this.c,this.d,l(t,150))},k(oo,"JsonImporter/lambda$14$Type",910),_(906,1,{},rnt),h.Bi=function(t){Iit(this.a,this.b,In(t))},k(oo,"JsonImporter/lambda$15$Type",906),_(907,1,{},int),h.Bi=function(t){Rit(this.a,this.b,In(t))},k(oo,"JsonImporter/lambda$16$Type",907),_(908,1,{},cnt),h.Bi=function(t){nbt(this.b,this.a,l(t,142))},k(oo,"JsonImporter/lambda$17$Type",908),_(909,1,{},lnt),h.Bi=function(t){rbt(this.b,this.a,l(t,142))},k(oo,"JsonImporter/lambda$18$Type",909),_(914,1,{},SXe),h.Bi=function(t){umt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$19$Type",914),_(895,1,{},TXe),h.Bi=function(t){pbt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$2$Type",895),_(912,1,{},AXe),h.Bi=function(t){E0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$20$Type",912),_(913,1,{},_Xe),h.Bi=function(t){S0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$21$Type",913),_(917,1,{},xXe),h.Bi=function(t){amt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$22$Type",917),_(915,1,{},kXe),h.Bi=function(t){y0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$23$Type",915),_(916,1,{},NXe),h.Bi=function(t){v0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$24$Type",916),_(919,1,{},CXe),h.Bi=function(t){Obt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$25$Type",919),_(918,1,{},IXe),h.Bi=function(t){cat(this.a,l(t,150))},k(oo,"JsonImporter/lambda$26$Type",918),_(920,1,nn,dnt),h.Ad=function(t){Mdn(this.b,this.a,In(t))},k(oo,"JsonImporter/lambda$27$Type",920),_(921,1,nn,fnt),h.Ad=function(t){Pdn(this.b,this.a,In(t))},k(oo,"JsonImporter/lambda$28$Type",921),_(922,1,{},ont),h.Bi=function(t){G0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$29$Type",922),_(898,1,{},RXe),h.Bi=function(t){Agt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$3$Type",898),_(923,1,{},snt),h.Bi=function(t){hwt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$30$Type",923),_(924,1,{},OXe),h.Bi=function(t){Wdt(this.a,ce(t))},k(oo,"JsonImporter/lambda$31$Type",924),_(925,1,{},DXe),h.Bi=function(t){Kdt(this.a,ce(t))},k(oo,"JsonImporter/lambda$32$Type",925),_(926,1,{},LXe),h.Bi=function(t){Ydt(this.a,ce(t))},k(oo,"JsonImporter/lambda$33$Type",926),_(927,1,{},MXe),h.Bi=function(t){Jdt(this.a,ce(t))},k(oo,"JsonImporter/lambda$34$Type",927),_(928,1,{},PXe),h.Bi=function(t){Fwn(this.a,l(t,57))},k(oo,"JsonImporter/lambda$35$Type",928),_(929,1,{},jXe),h.Bi=function(t){$wn(this.a,l(t,57))},k(oo,"JsonImporter/lambda$36$Type",929),_(933,1,{},mat),k(oo,"JsonImporter/lambda$37$Type",933),_(930,1,nn,not),h.Ad=function(t){hhn(this.a,this.c,this.b,l(t,373))},k(oo,"JsonImporter/lambda$38$Type",930),_(931,1,nn,ant),h.Ad=function(t){Oen(this.a,this.b,l(t,171))},k(oo,"JsonImporter/lambda$39$Type",931),_(896,1,{},FXe),h.Bi=function(t){E0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$4$Type",896),_(932,1,nn,unt),h.Ad=function(t){Den(this.a,this.b,l(t,171))},k(oo,"JsonImporter/lambda$40$Type",932),_(934,1,nn,rot),h.Ad=function(t){phn(this.a,this.b,this.c,l(t,8))},k(oo,"JsonImporter/lambda$41$Type",934),_(897,1,{},$Xe),h.Bi=function(t){S0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$5$Type",897),_(901,1,{},BXe),h.Bi=function(t){_gt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$6$Type",901),_(899,1,{},UXe),h.Bi=function(t){y0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$7$Type",899),_(900,1,{},HXe),h.Bi=function(t){v0(this.a,ue(ce(t)))},k(oo,"JsonImporter/lambda$8$Type",900),_(903,1,{},zXe),h.Bi=function(t){Dbt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$9$Type",903),_(953,1,nn,GXe),h.Ad=function(t){RS(this.a,new Qw(In(t)))},k(oo,"JsonMetaDataConverter/lambda$0$Type",953),_(954,1,nn,qXe),h.Ad=function(t){Dsn(this.a,l(t,235))},k(oo,"JsonMetaDataConverter/lambda$1$Type",954),_(955,1,nn,VXe),h.Ad=function(t){Oun(this.a,l(t,144))},k(oo,"JsonMetaDataConverter/lambda$2$Type",955),_(956,1,nn,WXe),h.Ad=function(t){Lsn(this.a,l(t,161))},k(oo,"JsonMetaDataConverter/lambda$3$Type",956),_(235,23,{3:1,34:1,23:1,235:1},bS);var mU,wU,Rre,i5,yU,o5,Ore,Dre,s5=fn(kD,"GraphFeature",235,bn,pfn,mon),GDt;_(11,1,{34:1,149:1},cr,Pr,pt,Mi),h.Dd=function(t){return Ltn(this,l(t,149))},h.Fb=function(t){return Hat(this,t)},h.Rg=function(){return Ge(this)},h.Og=function(){return this.b},h.Hb=function(){return lg(this.b)},h.Ib=function(){return this.b},k(kD,"Property",11),_(664,1,Un,WG),h.Le=function(t,r){return xgn(this,l(t,105),l(r,105))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(kD,"PropertyHolderComparator",664),_(705,1,Wi,Tce),h.Nb=function(t){so(this,t)},h.Pb=function(){return Bdn(this)},h.Qb=function(){$Qe()},h.Ob=function(){return!!this.a},k(GF,"ElkGraphUtil/AncestorIterator",705);var w3e=Hr(xo,"EList");_(71,56,{22:1,32:1,56:1,18:1,16:1,71:1,61:1}),h._c=function(t,r){aC(this,t,r)},h.Ec=function(t){return Tn(this,t)},h.ad=function(t,r){return Oge(this,t,r)},h.Fc=function(t){return ti(this,t)},h.Gi=function(){return new ES(this)},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},h.Ji=function(){return!0},h.Ki=function(t,r){},h.Li=function(){},h.Mi=function(t,r){XW(this,t,r)},h.Ni=function(t,r,o){},h.Oi=function(t,r){},h.Pi=function(t,r,o){},h.Fb=function(t){return Qwt(this,t)},h.Hb=function(){return kge(this)},h.Qi=function(){return!1},h.Jc=function(){return new tn(this)},h.cd=function(){return new SS(this)},h.dd=function(t){var r;if(r=this.gc(),t<0||t>r)throw Y(new Ww(t,r));return new rW(this,t)},h.Si=function(t,r){this.Ri(t,this.bd(r))},h.Kc=function(t){return uj(this,t)},h.Ui=function(t,r){return r},h.fd=function(t,r){return EE(this,t,r)},h.Ib=function(){return A1e(this)},h.Wi=function(){return!0},h.Xi=function(t,r){return C_(this,r)},k(xo,"AbstractEList",71),_(67,71,Vf,m9,w0,vge),h.Ci=function(t,r){return WY(this,t,r)},h.Di=function(t){return j1t(this,t)},h.Ei=function(t,r){D6(this,t,r)},h.Fi=function(t){r6(this,t)},h.Yi=function(t){return Ppe(this,t)},h.$b=function(){z3(this)},h.Gc=function(t){return q_(this,t)},h.Xb=function(t){return oe(this,t)},h.Zi=function(t){var r,o,a;++this.j,o=this.g==null?0:this.g.length,t>o&&(a=this.g,r=o+(o/2|0)+4,r<t&&(r=t),this.g=this.$i(r),a!=null&&ua(a,0,this.g,0,this.i))},h.bd=function(t){return sbt(this,t)},h.dc=function(){return this.i==0},h.Ri=function(t,r){return sJ(this,t,r)},h.$i=function(t){return we(Ii,Rt,1,t,5,1)},h.Ti=function(t){return this.g[t]},h.ed=function(t){return ZS(this,t)},h.Vi=function(t,r){return aK(this,t,r)},h.gc=function(){return this.i},h.Nc=function(){return npe(this)},h.Oc=function(t){return O1e(this,t)},h.i=0;var y3e=k(xo,"BasicEList",67),v3e=Hr(xo,"TreeIterator");_(704,67,pQ),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.g==null&&!this.c?jhe(this):this.g==null||this.i!=0&&l(this.g[this.i-1],51).Ob()},h.Pb=function(){return I7(this)},h.Qb=function(){if(!this.e)throw Y(new es("There is no valid object to remove."));this.e.Qb()},h.c=!1,k(xo,"AbstractTreeIterator",704),_(611,704,pQ,aV),h._i=function(t){var r;return r=l(t,57).Dh().Jc(),ae(r,289)&&l(r,289).ul(new JGe),r},k(GF,"ElkGraphUtil/PropertiesSkippingTreeIterator",611),_(957,1,{},JGe),k(GF,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",957);var a5,Lre,u5=k(GF,"ElkReflect",null);_(891,1,Py,XGe),h.Qg=function(t){return PP(),vcn(l(t,185))},k(GF,"ElkReflect/lambda$0$Type",891);var J1;Hr(xo,"ResourceLocator"),_(1056,1,{}),k(xo,"DelegatingResourceLocator",1056),_(1057,1056,{}),k("org.eclipse.emf.common","EMFPlugin",1057);var Mre=Hr(OAt,"Adapter"),uCn=Hr(OAt,"Notification");_(1155,1,xEe),h.aj=function(){return this.d},h.bj=function(t){},h.cj=function(t){this.d=t},h.dj=function(t){this.d==t&&(this.d=null)},h.d=null,k(vT,"AdapterImpl",1155),_(2072,71,DAt),h.Ci=function(t,r){return k1e(this,t,r)},h.Di=function(t){var r,o,a;if(++this.j,t.dc())return!1;for(r=this.Cj(),a=t.Jc();a.Ob();)o=a.Pb(),this.pj(this.Xi(r,o)),++r;return!0},h.Ei=function(t,r){fit(this,t,r)},h.Fi=function(t){zst(this,t)},h.nj=function(){return this.qj()},h.$b=function(){LO(this,this.Cj(),this.Dj())},h.Gc=function(t){return this.sj(t)},h.Hc=function(t){return this.tj(t)},h.oj=function(t,r){this.zj().Sm()},h.pj=function(t){this.zj().Sm()},h.qj=function(){return this.zj()},h.rj=function(){this.zj().Sm()},h.sj=function(t){return this.zj().Sm()},h.tj=function(t){return this.zj().Sm()},h.uj=function(t){return this.zj().Sm()},h.vj=function(t){return this.zj().Sm()},h.wj=function(){return this.zj().Sm()},h.xj=function(t){return this.zj().Sm()},h.yj=function(){return this.zj().Sm()},h.Aj=function(t){return this.zj().Sm()},h.Bj=function(t,r){return this.zj().Sm()},h.Cj=function(){return this.zj().Sm()},h.Dj=function(){return this.zj().Sm()},h.Ej=function(t){return this.zj().Sm()},h.Fj=function(){return this.zj().Sm()},h.Fb=function(t){return this.uj(t)},h.Xb=function(t){return this.Ui(t,this.vj(t))},h.Hb=function(){return this.wj()},h.bd=function(t){return this.xj(t)},h.dc=function(){return this.yj()},h.Ri=function(t,r){return Hbe(this,t,r)},h.Ti=function(t){return this.vj(t)},h.ed=function(t){return rP(this,t)},h.Kc=function(t){var r;return r=this.bd(t),r>=0?(this.ed(r),!0):!1},h.Vi=function(t,r){return this.Bj(t,this.Xi(t,r))},h.gc=function(){return this.Cj()},h.Nc=function(){return this.Dj()},h.Oc=function(t){return this.Ej(t)},h.Ib=function(){return this.Fj()},k(xo,"DelegatingEList",2072),_(2073,2072,DAt),h.Ci=function(t,r){return E0e(this,t,r)},h.Di=function(t){return this.Ci(this.Cj(),t)},h.Ei=function(t,r){j0t(this,t,r)},h.Fi=function(t){x0t(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){jC(this)},h.Gj=function(t,r,o,a,u){return new Bat(this,t,r,o,a,u)},h.Hj=function(t){hr(this.hj(),t)},h.Ij=function(){return null},h.Jj=function(){return-1},h.hj=function(){return null},h.Kj=function(){return!1},h.Lj=function(t,r){return r},h.Mj=function(t,r){return r},h.Nj=function(){return!1},h.Oj=function(){return!this.yj()},h.Ri=function(t,r){var o,a;return this.Nj()?(a=this.Oj(),o=Hbe(this,t,r),this.Hj(this.Gj(7,Re(r),o,t,a)),o):Hbe(this,t,r)},h.ed=function(t){var r,o,a,u;return this.Nj()?(o=null,a=this.Oj(),r=this.Gj(4,u=rP(this,t),null,t,a),this.Kj()&&u?(o=this.Mj(u,o),o?(o.lj(r),o.mj()):this.Hj(r)):o?(o.lj(r),o.mj()):this.Hj(r),u):(u=rP(this,t),this.Kj()&&u&&(o=this.Mj(u,null),o&&o.mj()),u)},h.Vi=function(t,r){return Jyt(this,t,r)},k(vT,"DelegatingNotifyingListImpl",2073),_(152,1,qD),h.lj=function(t){return kbe(this,t)},h.mj=function(){nK(this)},h.ej=function(){return this.d},h.Ij=function(){return null},h.Pj=function(){return null},h.fj=function(t){return-1},h.gj=function(){return Lwt(this)},h.hj=function(){return null},h.ij=function(){return Jme(this)},h.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},h.Qj=function(){return!1},h.kj=function(t){var r,o,a,u,f,p,m,y,v,T,N;switch(this.d){case 1:case 2:switch(u=t.ej(),u){case 1:case 2:if(f=t.hj(),be(f)===be(this.hj())&&this.fj(null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0}case 4:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),be(f)===be(this.hj())&&this.fj(null)==t.fj(null))return v=$0e(this),y=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,p=t.jj(),this.d=6,N=new w0(2),y<=p?(Tn(N,this.n),Tn(N,t.ij()),this.g=Z(X(Rn,1),Qn,30,15,[this.o=y,p+1])):(Tn(N,t.ij()),Tn(N,this.n),this.g=Z(X(Rn,1),Qn,30,15,[this.o=p,y])),this.n=N,v||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),be(f)===be(this.hj())&&this.fj(null)==t.fj(null)){for(v=$0e(this),p=t.jj(),T=l(this.g,54),a=we(Rn,Qn,30,T.length+1,15,1),r=0;r<T.length&&(m=T[r],m<=p);)a[r++]=m,++p;for(o=l(this.n,16),o._c(r,t.ij()),a[r]=p;++r<a.length;)a[r]=T[r-1];return this.g=a,v||(this.o=-2-a[0]),!0}break}}break}}return!1},h.Ib=function(){var t,r,o,a;switch(a=new ml(Ab(this.Pm)+"@"+(r=Rr(this)>>>0,r.toString(16))),a.a+=" (eventType: ",this.d){case 1:{a.a+="SET";break}case 2:{a.a+="UNSET";break}case 3:{a.a+="ADD";break}case 5:{a.a+="ADD_MANY";break}case 4:{a.a+="REMOVE";break}case 6:{a.a+="REMOVE_MANY";break}case 7:{a.a+="MOVE";break}case 8:{a.a+="REMOVING_ADAPTER";break}case 9:{a.a+="RESOLVE";break}default:{mq(a,this.d);break}}if(Tyt(this)&&(a.a+=", touch: true"),a.a+=", position: ",mq(a,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),a.a+=", notifier: ",h3(a,this.hj()),a.a+=", feature: ",h3(a,this.Ij()),a.a+=", oldValue: ",h3(a,Jme(this)),a.a+=", newValue: ",this.d==6&&ae(this.g,54)){for(o=l(this.g,54),a.a+="[",t=0;t<o.length;)a.a+=o[t],++t<o.length&&(a.a+=ja);a.a+="]"}else h3(a,Lwt(this));return a.a+=", isTouch: ",Zp(a,Tyt(this)),a.a+=", wasSet: ",Zp(a,$0e(this)),a.a+=")",a.a},h.d=0,h.e=0,h.f=0,h.j=0,h.k=0,h.o=0,h.p=0,k(vT,"NotificationImpl",152),_(1169,152,qD,Bat),h.Ij=function(){return this.a.Ij()},h.fj=function(t){return this.a.Jj()},h.hj=function(){return this.a.hj()},k(vT,"DelegatingNotifyingListImpl/1",1169),_(255,67,Vf,ZGe,Qg),h.Ec=function(t){return Igt(this,l(t,374))},h.lj=function(t){return Igt(this,t)},h.mj=function(){var t,r,o;for(t=0;t<this.i;++t)r=l(this.g[t],374),o=r.hj(),o!=null&&r.ej()!=-1&&l(o,95).uh(r)},h.$i=function(t){return we(uCn,Rt,374,t,0,1)},k(vT,"NotificationChainImpl",255),_(1502,94,GTt),h.rh=function(){return this.e},h.th=function(){return(this.f&1)!=0},h.f=1,k(vT,"NotifierImpl",1502),_(2070,67,Vf),h.Ci=function(t,r){return _J(this,t,r)},h.Di=function(t){return this.Ci(this.i,t)},h.Ei=function(t,r){vme(this,t,r)},h.Fi=function(t){aJ(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){vn(this)},h.Gj=function(t,r,o,a,u){return new Uat(this,t,r,o,a,u)},h.Hj=function(t){hr(this.hj(),t)},h.Ij=function(){return null},h.Jj=function(){return-1},h.hj=function(){return null},h.Kj=function(){return!1},h.Rj=function(){return!1},h.Lj=function(t,r){return r},h.Mj=function(t,r){return r},h.Nj=function(){return!1},h.Oj=function(){return this.i!=0},h.Ri=function(t,r){return uC(this,t,r)},h.ed=function(t){return _y(this,t)},h.Vi=function(t,r){return pvt(this,t,r)},h.Sj=function(t,r){return r},h.Tj=function(t,r){return r},h.Uj=function(t,r,o){return o},k(vT,"NotifyingListImpl",2070),_(1168,152,qD,Uat),h.Ij=function(){return this.a.Ij()},h.fj=function(t){return this.a.Jj()},h.hj=function(){return this.a.hj()},k(vT,"NotifyingListImpl/1",1168),_(958,67,Vf,pit),h.Gc=function(t){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new Kw(this),this.a=this.j),bl(this.b,t)):q_(this,t)},h.Wi=function(){return!0},h.a=0,k(xo,"AbstractEList/1",958),_(306,99,iF,Ww),k(xo,"AbstractEList/BasicIndexOutOfBoundsException",306),_(39,1,Wi,tn),h.Nb=function(t){so(this,t)},h.Vj=function(){if(this.i.j!=this.f)throw Y(new $c)},h.Wj=function(){return rn(this)},h.Ob=function(){return this.e!=this.i.gc()},h.Pb=function(){return this.Wj()},h.Qb=function(){wC(this)},h.e=0,h.f=0,h.g=-1,k(xo,"AbstractEList/EIterator",39),_(288,39,vh,SS,rW),h.Qb=function(){wC(this)},h.Rb=function(t){Bgt(this,t)},h.Xj=function(){var t;try{return t=this.d.Xb(--this.e),this.Vj(),this.g=this.e,t}catch(r){throw r=ci(r),ae(r,99)?(this.Vj(),Y(new vs)):Y(r)}},h.Yj=function(t){F1t(this,t)},h.Sb=function(){return this.e!=0},h.Tb=function(){return this.e},h.Ub=function(){return this.Xj()},h.Vb=function(){return this.e-1},h.Wb=function(t){this.Yj(t)},k(xo,"AbstractEList/EListIterator",288),_(356,39,Wi,ES),h.Wj=function(){return yY(this)},h.Qb=function(){throw Y(new Nn)},k(xo,"AbstractEList/NonResolvingEIterator",356),_(393,288,vh,IO,dfe),h.Rb=function(t){throw Y(new Nn)},h.Wj=function(){var t;try{return t=this.c.Ti(this.e),this.Vj(),this.g=this.e++,t}catch(r){throw r=ci(r),ae(r,99)?(this.Vj(),Y(new vs)):Y(r)}},h.Xj=function(){var t;try{return t=this.c.Ti(--this.e),this.Vj(),this.g=this.e,t}catch(r){throw r=ci(r),ae(r,99)?(this.Vj(),Y(new vs)):Y(r)}},h.Qb=function(){throw Y(new Nn)},h.Wb=function(t){throw Y(new Nn)},k(xo,"AbstractEList/NonResolvingEListIterator",393),_(2059,71,LAt),h.Ci=function(t,r){var o,a,u,f,p,m,y,v,T,N,O;if(u=r.gc(),u!=0){for(v=l(Vt(this.a,4),131),T=v==null?0:v.length,O=T+u,a=HK(this,O),N=T-t,N>0&&ua(v,t,a,t+u,N),y=r.Jc(),p=0;p<u;++p)m=y.Pb(),o=t+p,dV(a,o,C_(this,m));for(H_(this,a),f=0;f<u;++f)m=a[t],this.Ki(t,m),++t;return!0}else return++this.j,!1},h.Di=function(t){var r,o,a,u,f,p,m,y,v;if(a=t.gc(),a!=0){for(y=(o=l(Vt(this.a,4),131),o==null?0:o.length),v=y+a,r=HK(this,v),m=t.Jc(),f=y;f<v;++f)p=m.Pb(),dV(r,f,C_(this,p));for(H_(this,r),u=y;u<v;++u)p=r[u],this.Ki(u,p);return!0}else return++this.j,!1},h.Ei=function(t,r){var o,a,u,f;a=l(Vt(this.a,4),131),u=a==null?0:a.length,o=HK(this,u+1),f=C_(this,r),t!=u&&ua(a,t,o,t+1,u-t),ii(o,t,f),H_(this,o),this.Ki(t,r)},h.Fi=function(t){var r,o,a;a=(o=l(Vt(this.a,4),131),o==null?0:o.length),r=HK(this,a+1),dV(r,a,C_(this,t)),H_(this,r),this.Ki(a,t)},h.Gi=function(){return new mlt(this)},h.Hi=function(){return new Sst(this)},h.Ii=function(t){var r,o;if(o=(r=l(Vt(this.a,4),131),r==null?0:r.length),t<0||t>o)throw Y(new Ww(t,o));return new Zst(this,t)},h.$b=function(){var t,r;++this.j,t=l(Vt(this.a,4),131),r=t==null?0:t.length,H_(this,null),XW(this,r,t)},h.Gc=function(t){var r,o,a,u,f;if(r=l(Vt(this.a,4),131),r!=null){if(t!=null){for(a=r,u=0,f=a.length;u<f;++u)if(o=a[u],pr(t,o))return!0}else for(a=r,u=0,f=a.length;u<f;++u)if(o=a[u],be(o)===be(t))return!0}return!1},h.Xb=function(t){var r,o;if(r=l(Vt(this.a,4),131),o=r==null?0:r.length,t>=o)throw Y(new Ww(t,o));return r[t]},h.bd=function(t){var r,o,a;if(r=l(Vt(this.a,4),131),r!=null){if(t!=null){for(o=0,a=r.length;o<a;++o)if(pr(t,r[o]))return o}else for(o=0,a=r.length;o<a;++o)if(be(r[o])===be(t))return o}return-1},h.dc=function(){return l(Vt(this.a,4),131)==null},h.Jc=function(){return new blt(this)},h.cd=function(){return new Est(this)},h.dd=function(t){var r,o;if(o=(r=l(Vt(this.a,4),131),r==null?0:r.length),t<0||t>o)throw Y(new Ww(t,o));return new Xst(this,t)},h.Ri=function(t,r){var o,a,u;if(o=Wgt(this),u=o==null?0:o.length,t>=u)throw Y(new Ia(fQ+t+um+u));if(r>=u)throw Y(new Ia(hQ+r+um+u));return a=o[r],t!=r&&(t<r?ua(o,t,o,t+1,r-t):ua(o,r+1,o,r,t-r),ii(o,t,a),H_(this,o)),a},h.Ti=function(t){return l(Vt(this.a,4),131)[t]},h.ed=function(t){return Hvn(this,t)},h.Vi=function(t,r){var o,a;return o=Wgt(this),a=o[t],dV(o,t,C_(this,r)),H_(this,o),a},h.gc=function(){var t;return t=l(Vt(this.a,4),131),t==null?0:t.length},h.Nc=function(){var t,r,o;return t=l(Vt(this.a,4),131),o=t==null?0:t.length,r=we(Mre,wQ,420,o,0,1),o>0&&ua(t,0,r,0,o),r},h.Oc=function(t){var r,o,a;return r=l(Vt(this.a,4),131),a=r==null?0:r.length,a>0&&(t.length<a&&(o=y6(rc(t).c,a),t=o),ua(r,0,t,0,a)),t.length>a&&ii(t,a,null),t};var qDt;k(xo,"ArrayDelegatingEList",2059),_(1043,39,Wi,blt),h.Vj=function(){if(this.b.j!=this.f||be(l(Vt(this.b.a,4),131))!==be(this.a))throw Y(new $c)},h.Qb=function(){wC(this),this.a=l(Vt(this.b.a,4),131)},k(xo,"ArrayDelegatingEList/EIterator",1043),_(719,288,vh,Est,Xst),h.Vj=function(){if(this.b.j!=this.f||be(l(Vt(this.b.a,4),131))!==be(this.a))throw Y(new $c)},h.Yj=function(t){F1t(this,t),this.a=l(Vt(this.b.a,4),131)},h.Qb=function(){wC(this),this.a=l(Vt(this.b.a,4),131)},k(xo,"ArrayDelegatingEList/EListIterator",719),_(1044,356,Wi,mlt),h.Vj=function(){if(this.b.j!=this.f||be(l(Vt(this.b.a,4),131))!==be(this.a))throw Y(new $c)},k(xo,"ArrayDelegatingEList/NonResolvingEIterator",1044),_(720,393,vh,Sst,Zst),h.Vj=function(){if(this.b.j!=this.f||be(l(Vt(this.b.a,4),131))!==be(this.a))throw Y(new $c)},k(xo,"ArrayDelegatingEList/NonResolvingEListIterator",720),_(612,306,iF,iV),k(xo,"BasicEList/BasicIndexOutOfBoundsException",612),_(706,67,Vf,Zle),h._c=function(t,r){throw Y(new Nn)},h.Ec=function(t){throw Y(new Nn)},h.ad=function(t,r){throw Y(new Nn)},h.Fc=function(t){throw Y(new Nn)},h.$b=function(){throw Y(new Nn)},h.Zi=function(t){throw Y(new Nn)},h.Jc=function(){return this.Gi()},h.cd=function(){return this.Hi()},h.dd=function(t){return this.Ii(t)},h.Ri=function(t,r){throw Y(new Nn)},h.Si=function(t,r){throw Y(new Nn)},h.ed=function(t){throw Y(new Nn)},h.Kc=function(t){throw Y(new Nn)},h.fd=function(t,r){throw Y(new Nn)},k(xo,"BasicEList/UnmodifiableEList",706),_(718,1,{3:1,22:1,18:1,16:1,61:1,593:1}),h._c=function(t,r){Stn(this,t,l(r,45))},h.Ec=function(t){return vnn(this,l(t,45))},h.Ic=function(t){lo(this,t)},h.Xb=function(t){return l(oe(this.c,t),138)},h.Ri=function(t,r){return l(this.c.Ri(t,r),45)},h.Si=function(t,r){Ttn(this,t,l(r,45))},h.ed=function(t){return l(this.c.ed(t),45)},h.fd=function(t,r){return Msn(this,t,l(r,45))},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new Et(null,new St(this,16))},h.ad=function(t,r){return this.c.ad(t,r)},h.Fc=function(t){return this.c.Fc(t)},h.$b=function(){this.c.$b()},h.Gc=function(t){return this.c.Gc(t)},h.Hc=function(t){return N6(this.c,t)},h.Zj=function(){var t,r,o;if(this.d==null){for(this.d=we(y3e,kEe,67,2*this.f+1,0,1),o=this.e,this.f=0,r=this.c.Jc();r.e!=r.i.gc();)t=l(r.Wj(),138),c7(this,t);this.e=o}},h.Fb=function(t){return Git(this,t)},h.Hb=function(){return kge(this.c)},h.bd=function(t){return this.c.bd(t)},h.$j=function(){this.c=new KXe(this)},h.dc=function(){return this.f==0},h.Jc=function(){return this.c.Jc()},h.cd=function(){return this.c.cd()},h.dd=function(t){return this.c.dd(t)},h._j=function(){return s6(this)},h.ak=function(t,r,o){return new iot(t,r,o)},h.bk=function(){return new eqe},h.Kc=function(t){return Gft(this,t)},h.gc=function(){return this.f},h.hd=function(t,r){return new Rf(this.c,t,r)},h.Nc=function(){return this.c.Nc()},h.Oc=function(t){return this.c.Oc(t)},h.Ib=function(){return A1e(this.c)},h.e=0,h.f=0,k(xo,"BasicEMap",718),_(1038,67,Vf,KXe),h.Ki=function(t,r){oQt(this,l(r,138))},h.Ni=function(t,r,o){var a;++(a=this,l(r,138),a).a.e},h.Oi=function(t,r){sQt(this,l(r,138))},h.Pi=function(t,r,o){tnn(this,l(r,138),l(o,138))},h.Mi=function(t,r){jht(this.a)},k(xo,"BasicEMap/1",1038),_(1039,67,Vf,eqe),h.$i=function(t){return we(cCn,MAt,618,t,0,1)},k(xo,"BasicEMap/2",1039),_(1040,tf,wu,YXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return aY(this.a,t)},h.Jc=function(){return this.a.f==0?(JA(),c5.a):new DQe(this.a)},h.Kc=function(t){var r;return r=this.a.f,Qj(this.a,t),this.a.f!=r},h.gc=function(){return this.a.f},k(xo,"BasicEMap/3",1040),_(1041,32,Cy,JXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return eyt(this.a,t)},h.Jc=function(){return this.a.f==0?(JA(),c5.a):new LQe(this.a)},h.gc=function(){return this.a.f},k(xo,"BasicEMap/4",1041),_(1042,tf,wu,XXe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){var r,o,a,u,f,p,m,y,v;if(this.a.f>0&&ae(t,45)&&(this.a.Zj(),y=l(t,45),m=y.jd(),u=m==null?0:Rr(m),f=Yde(this.a,u),r=this.a.d[f],r)){for(o=l(r.g,375),v=r.i,p=0;p<v;++p)if(a=o[p],a.yi()==u&&a.Fb(y))return!0}return!1},h.Jc=function(){return this.a.f==0?(JA(),c5.a):new yW(this.a)},h.Kc=function(t){return H0t(this,t)},h.gc=function(){return this.a.f},k(xo,"BasicEMap/5",1042),_(619,1,Wi,yW),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.b!=-1},h.Pb=function(){var t;if(this.f.e!=this.c)throw Y(new $c);if(this.b==-1)throw Y(new vs);return this.d=this.a,this.e=this.b,ybt(this),t=l(this.f.d[this.d].g[this.e],138),this.ck(t)},h.Qb=function(){if(this.f.e!=this.c)throw Y(new $c);if(this.e==-1)throw Y(new lu);this.f.c.Kc(oe(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},h.ck=function(t){return t},h.a=0,h.b=-1,h.c=0,h.d=0,h.e=0,k(xo,"BasicEMap/BasicEMapIterator",619),_(1036,619,Wi,DQe),h.ck=function(t){return t.jd()},k(xo,"BasicEMap/BasicEMapKeyIterator",1036),_(1037,619,Wi,LQe),h.ck=function(t){return t.kd()},k(xo,"BasicEMap/BasicEMapValueIterator",1037),_(1035,1,j0,ZXe),h.wc=function(t){S6(this,t)},h.$b=function(){this.a.c.$b()},h._b=function(t){return vnt(this,t)},h.uc=function(t){return eyt(this.a,t)},h.vc=function(){return ydn(this.a)},h.Fb=function(t){return Git(this.a,t)},h.xc=function(t){return Td(this.a,t)},h.Hb=function(){return kge(this.a.c)},h.dc=function(){return this.a.f==0},h.ec=function(){return mdn(this.a)},h.yc=function(t,r){return V6(this.a,t,r)},h.Ac=function(t){return Qj(this.a,t)},h.gc=function(){return this.a.f},h.Ib=function(){return A1e(this.a.c)},h.Bc=function(){return wdn(this.a)},k(xo,"BasicEMap/DelegatingMap",1035),_(618,1,{45:1,138:1,618:1},iot),h.Fb=function(t){var r;return ae(t,45)?(r=l(t,45),(this.b!=null?pr(this.b,r.jd()):be(this.b)===be(r.jd()))&&(this.c!=null?pr(this.c,r.kd()):be(this.c)===be(r.kd()))):!1},h.yi=function(){return this.a},h.jd=function(){return this.b},h.kd=function(){return this.c},h.Hb=function(){return this.a^(this.c==null?0:Rr(this.c))},h.zi=function(t){this.a=t},h.Ai=function(t){throw Y(new Sb)},h.ld=function(t){var r;return r=this.c,this.c=t,r},h.Ib=function(){return this.b+"->"+this.c},h.a=0;var cCn=k(xo,"BasicEMap/EntryImpl",618);_(538,1,{},w9),k(xo,"BasicEMap/View",538);var c5;_(776,1,{}),h.Fb=function(t){return Ime((At(),Co),t)},h.Hb=function(){return $ge((At(),Co))},h.Ib=function(){return Qd((At(),Co))},k(xo,"ECollections/BasicEmptyUnmodifiableEList",776),_(1314,1,vh,QGe),h.Nb=function(t){so(this,t)},h.Rb=function(t){throw Y(new Nn)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw Y(new vs)},h.Tb=function(){return 0},h.Ub=function(){throw Y(new vs)},h.Vb=function(){return-1},h.Qb=function(){throw Y(new Nn)},h.Wb=function(t){throw Y(new Nn)},k(xo,"ECollections/BasicEmptyUnmodifiableEList/1",1314),_(1312,776,{22:1,18:1,16:1,61:1},BZe),h._c=function(t,r){net()},h.Ec=function(t){return ret()},h.ad=function(t,r){return iet()},h.Fc=function(t){return oet()},h.$b=function(){set()},h.Gc=function(t){return!1},h.Hc=function(t){return!1},h.Ic=function(t){lo(this,t)},h.Xb=function(t){return nde((At(),t)),null},h.bd=function(t){return-1},h.dc=function(){return!0},h.Jc=function(){return this.a},h.cd=function(){return this.a},h.dd=function(t){return this.a},h.Ri=function(t,r){return aet()},h.Si=function(t,r){uet()},h.ed=function(t){return cet()},h.Kc=function(t){return det()},h.fd=function(t,r){return fet()},h.gc=function(){return 0},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new Et(null,new St(this,16))},h.hd=function(t,r){return At(),new Rf(Co,t,r)},h.Nc=function(){return Jfe((At(),Co))},h.Oc=function(t){return At(),pC(Co,t)},k(xo,"ECollections/EmptyUnmodifiableEList",1312),_(1313,776,{22:1,18:1,16:1,61:1,593:1},UZe),h._c=function(t,r){net()},h.Ec=function(t){return ret()},h.ad=function(t,r){return iet()},h.Fc=function(t){return oet()},h.$b=function(){set()},h.Gc=function(t){return!1},h.Hc=function(t){return!1},h.Ic=function(t){lo(this,t)},h.Xb=function(t){return nde((At(),t)),null},h.bd=function(t){return-1},h.dc=function(){return!0},h.Jc=function(){return this.a},h.cd=function(){return this.a},h.dd=function(t){return this.a},h.Ri=function(t,r){return aet()},h.Si=function(t,r){uet()},h.ed=function(t){return cet()},h.Kc=function(t){return det()},h.fd=function(t,r){return fet()},h.gc=function(){return 0},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new Et(null,new St(this,16))},h.hd=function(t,r){return At(),new Rf(Co,t,r)},h.Nc=function(){return Jfe((At(),Co))},h.Oc=function(t){return At(),pC(Co,t)},h._j=function(){return At(),At(),xh},k(xo,"ECollections/EmptyUnmodifiableEMap",1313);var E3e=Hr(xo,"Enumerator"),vU;_(291,1,{291:1},gJ),h.Fb=function(t){var r;return this===t?!0:ae(t,291)?(r=l(t,291),this.f==r.f&&rsn(this.i,r.i)&&GV(this.a,this.f&256?r.f&256?r.a:null:r.f&256?null:r.a)&&GV(this.d,r.d)&&GV(this.g,r.g)&&GV(this.e,r.e)&&fbn(this,r)):!1},h.Hb=function(){return this.f},h.Ib=function(){return Myt(this)},h.f=0;var VDt=0,WDt=0,KDt=0,YDt=0,S3e=0,T3e=0,A3e=0,_3e=0,x3e=0,JDt,O4=0,D4=0,XDt=0,ZDt=0,EU,k3e;k(xo,"URI",291),_(1102,44,DE,HZe),h.yc=function(t,r){return l(ns(this,In(t),l(r,291)),291)},k(xo,"URI/URICache",1102),_(495,67,Vf,tqe,uP),h.Qi=function(){return!0},k(xo,"UniqueEList",495),_(585,63,vp,oj),k(xo,"WrappedException",585);var Kn=Hr(el,FAt),gv=Hr(el,$At),au=Hr(el,BAt),bv=Hr(el,UAt),Ld=Hr(el,HAt),Ol=Hr(el,"EClass"),Pre=Hr(el,"EDataType"),QDt;_(1210,44,DE,zZe),h.xc=function(t){return zi(t)?wa(this,t):Ss(ts(this.f,t))},k(el,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1210);var SU=Hr(el,"EEnum"),Op=Hr(el,zAt),Go=Hr(el,GAt),Dl=Hr(el,qAt),Ll,lw=Hr(el,VAt),mv=Hr(el,WAt);_(1034,1,{},nqe),h.Ib=function(){return"NIL"},k(el,"EStructuralFeature/Internal/DynamicValueHolder/1",1034);var eLt;_(1033,44,DE,GZe),h.xc=function(t){return zi(t)?wa(this,t):Ss(ts(this.f,t))},k(el,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1033);var Ka=Hr(el,KAt),YT=Hr(el,"EValidator/PatternMatcher"),N3e,C3e,Ut,Og,wv,X1,tLt,nLt,rLt,Z1,Dg,Q1,dw,bf,iLt,oLt,Ml,Lg,sLt,Mg,yv,w2,Ro,aLt,uLt,fw,TU=Hr(Fr,"FeatureMap/Entry");_(537,1,{76:1},_8),h.Jk=function(){return this.a},h.kd=function(){return this.b},k(Gt,"BasicEObjectImpl/1",537),_(1032,1,yQ,pnt),h.Dk=function(t){return VW(this.a,this.b,t)},h.Oj=function(){return iut(this.a,this.b)},h.Wb=function(t){Phe(this.a,this.b,t)},h.Ek=function(){Xsn(this.a,this.b)},k(Gt,"BasicEObjectImpl/4",1032),_(2060,1,{115:1}),h.Kk=function(t){this.e=t==0?cLt:we(Ii,Rt,1,t,5,1)},h.ii=function(t){return this.e[t]},h.ji=function(t,r){this.e[t]=r},h.ki=function(t){this.e[t]=null},h.Lk=function(){return this.c},h.Mk=function(){throw Y(new Nn)},h.Nk=function(){throw Y(new Nn)},h.Ok=function(){return this.d},h.Pk=function(){return this.e!=null},h.Qk=function(t){this.c=t},h.Rk=function(t){throw Y(new Nn)},h.Sk=function(t){throw Y(new Nn)},h.Tk=function(t){this.d=t};var cLt;k(Gt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2060),_(195,2060,{115:1},bd),h.Mk=function(){return this.a},h.Nk=function(){return this.b},h.Rk=function(t){this.a=t},h.Sk=function(t){this.b=t},k(Gt,"BasicEObjectImpl/EPropertiesHolderImpl",195),_(505,101,KTt,y9),h.rh=function(){return this.f},h.wh=function(){return this.k},h.yh=function(t,r){this.g=t,this.i=r},h.Ah=function(){return this.j&2?this.Xh().Lk():this.fi()},h.Ch=function(){return this.i},h.th=function(){return(this.j&1)!=0},h.Mh=function(){return this.g},h.Sh=function(){return(this.j&4)!=0},h.Xh=function(){return!this.k&&(this.k=new bd),this.k},h._h=function(t){this.Xh().Qk(t),t?this.j|=2:this.j&=-3},h.bi=function(t){this.Xh().Sk(t),t?this.j|=4:this.j&=-5},h.fi=function(){return(a1(),Ut).S},h.i=0,h.j=1,k(Gt,"EObjectImpl",505),_(792,505,{110:1,95:1,94:1,57:1,115:1,52:1,101:1},Dfe),h.ii=function(t){return this.e[t]},h.ji=function(t,r){this.e[t]=r},h.ki=function(t){this.e[t]=null},h.Ah=function(){return this.d},h.Fh=function(t){return Ur(this.d,t)},h.Hh=function(){return this.d},h.Lh=function(){return this.e!=null},h.Xh=function(){return!this.k&&(this.k=new rqe),this.k},h._h=function(t){this.d=t},h.ei=function(){var t;return this.e==null&&(t=ln(this.d),this.e=t==0?lLt:we(Ii,Rt,1,t,5,1)),this},h.gi=function(){return 0};var lLt;k(Gt,"DynamicEObjectImpl",792),_(1500,792,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1},Dot),h.Fb=function(t){return this===t},h.Hb=function(){return s0(this)},h._h=function(t){this.d=t,this.b=iD(t,"key"),this.c=iD(t,sI)},h.yi=function(){var t;return this.a==-1&&(t=sK(this,this.b),this.a=t==null?0:Rr(t)),this.a},h.jd=function(){return sK(this,this.b)},h.kd=function(){return sK(this,this.c)},h.zi=function(t){this.a=t},h.Ai=function(t){Phe(this,this.b,t)},h.ld=function(t){var r;return r=sK(this,this.c),Phe(this,this.c,t),r},h.a=0,k(Gt,"DynamicEObjectImpl/BasicEMapEntry",1500),_(1501,1,{115:1},rqe),h.Kk=function(t){throw Y(new Nn)},h.ii=function(t){throw Y(new Nn)},h.ji=function(t,r){throw Y(new Nn)},h.ki=function(t){throw Y(new Nn)},h.Lk=function(){throw Y(new Nn)},h.Mk=function(){return this.a},h.Nk=function(){return this.b},h.Ok=function(){return this.c},h.Pk=function(){throw Y(new Nn)},h.Qk=function(t){throw Y(new Nn)},h.Rk=function(t){this.a=t},h.Sk=function(t){this.b=t},h.Tk=function(t){this.c=t},k(Gt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1501),_(508,162,{110:1,95:1,94:1,594:1,159:1,57:1,115:1,52:1,101:1,508:1,162:1,118:1,119:1},Hue),h.xh=function(t){return lbe(this,t)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.d;case 2:return o?(!this.b&&(this.b=new Zu((_t(),Ro),zs,this)),this.b):(!this.b&&(this.b=new Zu((_t(),Ro),zs,this)),s6(this.b));case 3:return lut(this);case 4:return!this.a&&(this.a=new yi(Y1,this,4)),this.a;case 5:return!this.c&&(this.c=new oE(Y1,this,5)),this.c}return qc(this,t-ln((_t(),Og)),Nt((a=l(Vt(this,16),29),a||Og),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 3:return this.Cb&&(o=(u=this.Db>>16,u>=0?lbe(this,o):this.Cb.Qh(this,-1-u,null,o))),Kfe(this,l(t,159),o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),Og)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Og)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 2:return!this.b&&(this.b=new Zu((_t(),Ro),zs,this)),q8(this.b,t,o);case 3:return Kfe(this,null,o);case 4:return!this.a&&(this.a=new yi(Y1,this,4)),_o(this.a,t,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Og)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Og)),t,o)},h.Th=function(t){var r;switch(t){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!!lut(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return zc(this,t-ln((_t(),Og)),Nt((r=l(Vt(this,16),29),r||Og),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Uon(this,In(r));return;case 2:!this.b&&(this.b=new Zu((_t(),Ro),zs,this)),Cj(this.b,r);return;case 3:Swt(this,l(r,159));return;case 4:!this.a&&(this.a=new yi(Y1,this,4)),vn(this.a),!this.a&&(this.a=new yi(Y1,this,4)),ti(this.a,l(r,18));return;case 5:!this.c&&(this.c=new oE(Y1,this,5)),vn(this.c),!this.c&&(this.c=new oE(Y1,this,5)),ti(this.c,l(r,18));return}Xc(this,t-ln((_t(),Og)),Nt((o=l(Vt(this,16),29),o||Og),t),r)},h.fi=function(){return _t(),Og},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:uge(this,null);return;case 2:!this.b&&(this.b=new Zu((_t(),Ro),zs,this)),this.b.c.$b();return;case 3:Swt(this,null);return;case 4:!this.a&&(this.a=new yi(Y1,this,4)),vn(this.a);return;case 5:!this.c&&(this.c=new oE(Y1,this,5)),vn(this.c);return}Jc(this,t-ln((_t(),Og)),Nt((r=l(Vt(this,16),29),r||Og),t))},h.Ib=function(){return agt(this)},h.d=null,k(Gt,"EAnnotationImpl",508),_(145,718,NEe,pu),h.Ei=function(t,r){stn(this,t,l(r,45))},h.Uk=function(t,r){return urn(this,l(t,45),r)},h.Yi=function(t){return l(l(this.c,72).Yi(t),138)},h.Gi=function(){return l(this.c,72).Gi()},h.Hi=function(){return l(this.c,72).Hi()},h.Ii=function(t){return l(this.c,72).Ii(t)},h.Vk=function(t,r){return q8(this,t,r)},h.Dk=function(t){return l(this.c,78).Dk(t)},h.$j=function(){},h.Oj=function(){return l(this.c,78).Oj()},h.ak=function(t,r,o){var a;return a=l(mc(this.b).ti().pi(this.b),138),a.zi(t),a.Ai(r),a.ld(o),a},h.bk=function(){return new _ce(this)},h.Wb=function(t){Cj(this,t)},h.Ek=function(){l(this.c,78).Ek()},k(Fr,"EcoreEMap",145),_(170,145,NEe,Zu),h.Zj=function(){var t,r,o,a,u,f;if(this.d==null){for(f=we(y3e,kEe,67,2*this.f+1,0,1),o=this.c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),138),a=r.yi(),u=(a&sr)%f.length,t=f[u],!t&&(t=f[u]=new _ce(this)),t.Ec(r);this.d=f}},k(Gt,"EAnnotationImpl/1",170),_(294,444,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,473:1,52:1,101:1,162:1,294:1,118:1,119:1}),h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),!!this.Hk();case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q}return qc(this,t-ln(this.fi()),Nt((a=l(Vt(this,16),29),a||this.fi()),t),r,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return sW(this,o)}return u=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r,o;switch(t){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 o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0)}return zc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:this.ri(In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:cg(this,l(r,15).a);return;case 5:this.Xk(l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return}Xc(this,t-ln(this.fi()),Nt((o=l(Vt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),uLt},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:this.ri(null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:cg(this,0);return;case 5:this.Xk(1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return}Jc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.mi=function(){Sl(this),this.Bb|=1},h.Fk=function(){return Sl(this)},h.Gk=function(){return this.t},h.Hk=function(){var t;return t=this.t,t>1||t==-1},h.Qi=function(){return(this.Bb&512)!=0},h.Wk=function(t,r){return o1e(this,t,r)},h.Xk=function(t){cy(this,t)},h.Ib=function(){return Eme(this)},h.s=0,h.t=1,k(Gt,"ETypedElementImpl",294),_(454,294,{110:1,95:1,94:1,159:1,199:1,57:1,182:1,69:1,115:1,473:1,52:1,101:1,162:1,454:1,294:1,118:1,119:1,689:1}),h.xh=function(t){return Q1t(this,t)},h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),!!this.Hk();case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&yp);case 12:return Lt(),!!(this.Bb&Ry);case 13:return this.j;case 14:return J_(this);case 15:return Lt(),!!(this.Bb&yu);case 16:return Lt(),!!(this.Bb&$f);case 17:return ny(this)}return qc(this,t-ln(this.fi()),Nt((a=l(Vt(this,16),29),a||this.fi()),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 17:return this.Cb&&(o=(u=this.Db>>16,u>=0?Q1t(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,17,o)}return f=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),f.uk().xk(this,Ha(this),r-ln(this.fi()),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return sW(this,o);case 17:return Sc(this,null,17,o)}return u=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r,o;switch(t){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 o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&yp)!=0;case 12:return(this.Bb&Ry)!=0;case 13:return this.j!=null;case 14:return J_(this)!=null;case 15:return(this.Bb&yu)!=0;case 16:return(this.Bb&$f)!=0;case 17:return!!ny(this)}return zc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:OW(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:cg(this,l(r,15).a);return;case 5:this.Xk(l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 10:L_(this,Ye(Ke(r)));return;case 11:j_(this,Ye(Ke(r)));return;case 12:M_(this,Ye(Ke(r)));return;case 13:ede(this,In(r));return;case 15:P_(this,Ye(Ke(r)));return;case 16:F_(this,Ye(Ke(r)));return}Xc(this,t-ln(this.fi()),Nt((o=l(Vt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),aLt},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,89)&&Sy(Pu(l(this.Cb,89)),4),Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:cg(this,0);return;case 5:this.Xk(1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:L_(this,!0);return;case 11:j_(this,!1);return;case 12:M_(this,!1);return;case 13:this.i=null,Tj(this,null);return;case 15:P_(this,!1);return;case 16:F_(this,!1);return}Jc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.mi=function(){u_(rs((mu(),ao),this)),Sl(this),this.Bb|=1},h.nk=function(){return this.f},h.gk=function(){return J_(this)},h.ok=function(){return ny(this)},h.sk=function(){return null},h.Yk=function(){return this.k},h.Jj=function(){return this.n},h.tk=function(){return m7(this)},h.uk=function(){var t,r,o,a,u,f,p,m,y;return this.p||(o=ny(this),(o.i==null&&Ff(o),o.i).length,a=this.sk(),a&&ln(ny(a)),u=Sl(this),p=u.ik(),t=p?p.i&1?p==uu?Yr:p==Rn?Ti:p==Ev?Ux:p==Ki?fi:p==pw?Y0:p==S2?J0:p==Eu?ET:mI:p:null,r=J_(this),m=u.gk(),Mgn(this),this.Bb&$f&&((f=mbe((mu(),ao),o))&&f!=this||(f=MS(rs(ao,this))))?this.p=new bnt(this,f):this.Hk()?this.$k()?a?this.Bb&yu?t?this._k()?this.p=new Lb(47,t,this,a):this.p=new Lb(5,t,this,a):this._k()?this.p=new Bb(46,this,a):this.p=new Bb(4,this,a):t?this._k()?this.p=new Lb(49,t,this,a):this.p=new Lb(7,t,this,a):this._k()?this.p=new Bb(48,this,a):this.p=new Bb(6,this,a):this.Bb&yu?t?t==dm?this.p=new rg(50,zDt,this):this._k()?this.p=new rg(43,t,this):this.p=new rg(1,t,this):this._k()?this.p=new og(42,this):this.p=new og(0,this):t?t==dm?this.p=new rg(41,zDt,this):this._k()?this.p=new rg(45,t,this):this.p=new rg(3,t,this):this._k()?this.p=new og(44,this):this.p=new og(2,this):ae(u,160)?t==TU?this.p=new og(40,this):this.Bb&512?this.Bb&yu?t?this.p=new rg(9,t,this):this.p=new og(8,this):t?this.p=new rg(11,t,this):this.p=new og(10,this):this.Bb&yu?t?this.p=new rg(13,t,this):this.p=new og(12,this):t?this.p=new rg(15,t,this):this.p=new og(14,this):a?(y=a.t,y>1||y==-1?this._k()?this.Bb&yu?t?this.p=new Lb(25,t,this,a):this.p=new Bb(24,this,a):t?this.p=new Lb(27,t,this,a):this.p=new Bb(26,this,a):this.Bb&yu?t?this.p=new Lb(29,t,this,a):this.p=new Bb(28,this,a):t?this.p=new Lb(31,t,this,a):this.p=new Bb(30,this,a):this._k()?this.Bb&yu?t?this.p=new Lb(33,t,this,a):this.p=new Bb(32,this,a):t?this.p=new Lb(35,t,this,a):this.p=new Bb(34,this,a):this.Bb&yu?t?this.p=new Lb(37,t,this,a):this.p=new Bb(36,this,a):t?this.p=new Lb(39,t,this,a):this.p=new Bb(38,this,a)):this._k()?this.Bb&yu?t?this.p=new rg(17,t,this):this.p=new og(16,this):t?this.p=new rg(19,t,this):this.p=new og(18,this):this.Bb&yu?t?this.p=new rg(21,t,this):this.p=new og(20,this):t?this.p=new rg(23,t,this):this.p=new og(22,this):this.Zk()?this._k()?this.p=new aot(l(u,29),this,a):this.p=new Mhe(l(u,29),this,a):ae(u,160)?t==TU?this.p=new og(40,this):this.Bb&yu?t?this.p=new ist(r,m,this,(cY(),p==Rn?P3e:p==uu?R3e:p==pw?j3e:p==Ev?M3e:p==Ki?L3e:p==S2?F3e:p==Eu?O3e:p==al?D3e:$re)):this.p=new Eat(l(u,160),r,m,this):t?this.p=new rst(r,m,this,(cY(),p==Rn?P3e:p==uu?R3e:p==pw?j3e:p==Ev?M3e:p==Ki?L3e:p==S2?F3e:p==Eu?O3e:p==al?D3e:$re)):this.p=new vat(l(u,160),r,m,this):this.$k()?a?this.Bb&yu?this._k()?this.p=new cot(l(u,29),this,a):this.p=new Tfe(l(u,29),this,a):this._k()?this.p=new uot(l(u,29),this,a):this.p=new PV(l(u,29),this,a):this.Bb&yu?this._k()?this.p=new nit(l(u,29),this):this.p=new Fde(l(u,29),this):this._k()?this.p=new tit(l(u,29),this):this.p=new EV(l(u,29),this):this._k()?a?this.Bb&yu?this.p=new lot(l(u,29),this,a):this.p=new Efe(l(u,29),this,a):this.Bb&yu?this.p=new iit(l(u,29),this):this.p=new $de(l(u,29),this):a?this.Bb&yu?this.p=new dot(l(u,29),this,a):this.p=new Sfe(l(u,29),this,a):this.Bb&yu?this.p=new rit(l(u,29),this):this.p=new cP(l(u,29),this)),this.p},h.pk=function(){return(this.Bb&Tl)!=0},h.Zk=function(){return!1},h.$k=function(){return!1},h.qk=function(){return(this.Bb&$f)!=0},h.vk=function(){return uK(this)},h._k=function(){return!1},h.rk=function(){return(this.Bb&yu)!=0},h.al=function(t){this.k=t},h.ri=function(t){OW(this,t)},h.Ib=function(){return U7(this)},h.e=!1,h.n=0,k(Gt,"EStructuralFeatureImpl",454),_(336,454,{110:1,95:1,94:1,38:1,159:1,199:1,57:1,182:1,69:1,115:1,473:1,52:1,101:1,336:1,162:1,454:1,294:1,118:1,119:1,689:1},eq),h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),!!gme(this);case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&yp);case 12:return Lt(),!!(this.Bb&Ry);case 13:return this.j;case 14:return J_(this);case 15:return Lt(),!!(this.Bb&yu);case 16:return Lt(),!!(this.Bb&$f);case 17:return ny(this);case 18:return Lt(),!!(this.Bb&Ws);case 19:return r?IK(this):Clt(this)}return qc(this,t-ln((_t(),wv)),Nt((a=l(Vt(this,16),29),a||wv),t),r,o)},h.Th=function(t){var r,o;switch(t){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 gme(this);case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&yp)!=0;case 12:return(this.Bb&Ry)!=0;case 13:return this.j!=null;case 14:return J_(this)!=null;case 15:return(this.Bb&yu)!=0;case 16:return(this.Bb&$f)!=0;case 17:return!!ny(this);case 18:return(this.Bb&Ws)!=0;case 19:return!!Clt(this)}return zc(this,t-ln((_t(),wv)),Nt((r=l(Vt(this,16),29),r||wv),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:OW(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:cg(this,l(r,15).a);return;case 5:MQe(this,l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 10:L_(this,Ye(Ke(r)));return;case 11:j_(this,Ye(Ke(r)));return;case 12:M_(this,Ye(Ke(r)));return;case 13:ede(this,In(r));return;case 15:P_(this,Ye(Ke(r)));return;case 16:F_(this,Ye(Ke(r)));return;case 18:eY(this,Ye(Ke(r)));return}Xc(this,t-ln((_t(),wv)),Nt((o=l(Vt(this,16),29),o||wv),t),r)},h.fi=function(){return _t(),wv},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,89)&&Sy(Pu(l(this.Cb,89)),4),Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:cg(this,0);return;case 5:this.b=0,cy(this,1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:L_(this,!0);return;case 11:j_(this,!1);return;case 12:M_(this,!1);return;case 13:this.i=null,Tj(this,null);return;case 15:P_(this,!1);return;case 16:F_(this,!1);return;case 18:eY(this,!1);return}Jc(this,t-ln((_t(),wv)),Nt((r=l(Vt(this,16),29),r||wv),t))},h.mi=function(){IK(this),u_(rs((mu(),ao),this)),Sl(this),this.Bb|=1},h.Hk=function(){return gme(this)},h.Wk=function(t,r){return this.b=0,this.a=null,o1e(this,t,r)},h.Xk=function(t){MQe(this,t)},h.Ib=function(){var t;return this.Db&64?U7(this):(t=new ml(U7(this)),t.a+=" (iD: ",Zp(t,(this.Bb&Ws)!=0),t.a+=")",t.a)},h.b=0,k(Gt,"EAttributeImpl",336),_(361,444,{110:1,95:1,94:1,146:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,162:1,118:1,119:1,688:1}),h.bl=function(t){return t.Ah()==this},h.xh=function(t){return MY(this,t)},h.yh=function(t,r){this.w=null,this.Db=r<<16|this.Db&255,this.Cb=t},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return this.gk();case 5:return this.F;case 6:return r?mc(this):d_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A}return qc(this,t-ln(this.fi()),Nt((a=l(Vt(this,16),29),a||this.fi()),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?MY(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,6,o)}return f=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),f.uk().xk(this,Ha(this),r-ln(this.fi()),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 6:return Sc(this,null,6,o);case 7:return!this.A&&(this.A=new du(Ka,this,7)),_o(this.A,t,o)}return u=l(Nt((a=l(Vt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r;switch(t){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!!I0(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(this);case 7:return!!this.A&&this.A.i!=0}return zc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:jP(this,In(r));return;case 2:uV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return}Xc(this,t-ln(this.fi()),Nt((o=l(Vt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),tLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return}Jc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.fk=function(){var t;return this.G==-1&&(this.G=(t=mc(this),t?gg(t.si(),this):-1)),this.G},h.gk=function(){return null},h.hk=function(){return mc(this)},h.cl=function(){return this.v},h.ik=function(){return I0(this)},h.jk=function(){return this.D!=null?this.D:this.B},h.kk=function(){return this.F},h.dk=function(t){return AJ(this,t)},h.dl=function(t){this.v=t},h.el=function(t){ght(this,t)},h.fl=function(t){this.C=t},h.ri=function(t){jP(this,t)},h.Ib=function(){return Yj(this)},h.C=null,h.D=null,h.G=-1,k(Gt,"EClassifierImpl",361),_(89,361,{110:1,95:1,94:1,29:1,146:1,159:1,199:1,57:1,115:1,52:1,101:1,89:1,361:1,162:1,474:1,118:1,119:1,688:1},Wue),h.bl=function(t){return Wnn(this,t.Ah())},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return null;case 5:return this.F;case 6:return r?mc(this):d_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256);case 9:return Lt(),!!(this.Bb&512);case 10:return ds(this);case 11:return!this.q&&(this.q=new ke(Dl,this,11,10)),this.q;case 12:return CE(this);case 13:return LC(this);case 14:return LC(this),this.r;case 15:return CE(this),this.k;case 16:return ime(this);case 17:return NJ(this);case 18:return Ff(this);case 19:return D7(this);case 20:return CE(this),this.o;case 21:return!this.s&&(this.s=new ke(au,this,21,17)),this.s;case 22:return oa(this);case 23:return pJ(this)}return qc(this,t-ln((_t(),X1)),Nt((a=l(Vt(this,16),29),a||X1),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?MY(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,6,o);case 11:return!this.q&&(this.q=new ke(Dl,this,11,10)),Pa(this.q,t,o);case 21:return!this.s&&(this.s=new ke(au,this,21,17)),Pa(this.s,t,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),X1)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),X1)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 6:return Sc(this,null,6,o);case 7:return!this.A&&(this.A=new du(Ka,this,7)),_o(this.A,t,o);case 11:return!this.q&&(this.q=new ke(Dl,this,11,10)),_o(this.q,t,o);case 21:return!this.s&&(this.s=new ke(au,this,21,17)),_o(this.s,t,o);case 22:return _o(oa(this),t,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),X1)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),X1)),t,o)},h.Th=function(t){var r;switch(t){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!!I0(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(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&&oa(this.u.a).i!=0&&!(this.n&&AY(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return CE(this).i!=0;case 13:return LC(this).i!=0;case 14:return LC(this),this.r.i!=0;case 15:return CE(this),this.k.i!=0;case 16:return ime(this).i!=0;case 17:return NJ(this).i!=0;case 18:return Ff(this).i!=0;case 19:return D7(this).i!=0;case 20:return CE(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&AY(this.n);case 23:return pJ(this).i!=0}return zc(this,t-ln((_t(),X1)),Nt((r=l(Vt(this,16),29),r||X1),t))},h.Wh=function(t){var r;return r=this.i==null||this.q&&this.q.i!=0?null:iD(this,t),r||W0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:jP(this,In(r));return;case 2:uV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return;case 8:u1e(this,Ye(Ke(r)));return;case 9:c1e(this,Ye(Ke(r)));return;case 10:jC(ds(this)),ti(ds(this),l(r,18));return;case 11:!this.q&&(this.q=new ke(Dl,this,11,10)),vn(this.q),!this.q&&(this.q=new ke(Dl,this,11,10)),ti(this.q,l(r,18));return;case 21:!this.s&&(this.s=new ke(au,this,21,17)),vn(this.s),!this.s&&(this.s=new ke(au,this,21,17)),ti(this.s,l(r,18));return;case 22:vn(oa(this)),ti(oa(this),l(r,18));return}Xc(this,t-ln((_t(),X1)),Nt((o=l(Vt(this,16),29),o||X1),t),r)},h.fi=function(){return _t(),X1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return;case 8:u1e(this,!1);return;case 9:c1e(this,!1);return;case 10:this.u&&jC(this.u);return;case 11:!this.q&&(this.q=new ke(Dl,this,11,10)),vn(this.q);return;case 21:!this.s&&(this.s=new ke(au,this,21,17)),vn(this.s);return;case 22:this.n&&vn(this.n);return}Jc(this,t-ln((_t(),X1)),Nt((r=l(Vt(this,16),29),r||X1),t))},h.mi=function(){var t,r;if(CE(this),LC(this),ime(this),NJ(this),Ff(this),D7(this),pJ(this),z3(Ton(Pu(this))),this.s)for(t=0,r=this.s.i;t<r;++t)OO(oe(this.s,t));if(this.q)for(t=0,r=this.q.i;t<r;++t)OO(oe(this.q,t));fg((mu(),ao),this).ve(),this.Bb|=1},h.Ib=function(){return Abe(this)},h.k=null,h.r=null;var L4,dLt,jre;k(Gt,"EClassImpl",89),_(2071,2070,XAt),h.Ci=function(t,r){return _J(this,t,r)},h.Di=function(t){return _J(this,this.i,t)},h.Ei=function(t,r){vme(this,t,r)},h.Fi=function(t){aJ(this,t)},h.Uk=function(t,r){return Pa(this,t,r)},h.Yi=function(t){return Ppe(this,t)},h.Vk=function(t,r){return _o(this,t,r)},h.Vi=function(t,r){return pvt(this,t,r)},h.Gi=function(){return new ES(this)},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},k(Fr,"NotifyingInternalEListImpl",2071),_(630,2071,ws),h.Gc=function(t){return Mvt(this,t)},h.Gj=function(t,r,o,a,u){return j3(this,t,r,o,a,u)},h.Hj=function(t){LA(this,t)},h.Dk=function(t){return this},h.Jk=function(){return Nt(this.e.Ah(),this.Jj())},h.Ij=function(){return this.Jk()},h.Jj=function(){return Ur(this.e.Ah(),this.Jk())},h.gl=function(){return l(this.Jk().Fk(),29).ik()},h.hl=function(){return Mo(l(this.Jk(),20)).n},h.hj=function(){return this.e},h.il=function(){return!0},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!1},h.bd=function(t){return gg(this,t)},h.Lj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Oh(this.e,this.hl(),this.gl(),r):o.Oh(this.e,Ur(o.Ah(),Mo(l(this.Jk(),20))),null,r):o.Oh(this.e,-1-this.Jj(),null,r)},h.Mj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Qh(this.e,this.hl(),this.gl(),r):o.Qh(this.e,Ur(o.Ah(),Mo(l(this.Jk(),20))),null,r):o.Qh(this.e,-1-this.Jj(),null,r)},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return Rct(this.d,t)},h.Nj=function(){return Ju(this.e)},h.Oj=function(){return this.i!=0},h.$i=function(t){return y6(this.d,t)},h.Ui=function(t,r){return this.ml()&&this.ll()?oT(this,t,l(r,57)):r},h.nl=function(t){return t.Sh()?w1(this.e,l(t,52)):t},h.Wb=function(t){art(this,t)},h.Nc=function(){return fdt(this)},h.Oc=function(t){var r;if(this.ll())for(r=this.i-1;r>=0;--r)oe(this,r);return O1e(this,t)},h.Ek=function(){vn(this)},h.Xi=function(t,r){return zft(this,t,r)},k(Fr,"EcoreEList",630),_(494,630,ws,zO),h.Ji=function(){return!1},h.Jj=function(){return this.c},h.Kj=function(){return!1},h.ml=function(){return!0},h.Qi=function(){return!0},h.Ui=function(t,r){return r},h.Wi=function(){return!1},h.c=0,k(Fr,"EObjectEList",494),_(82,494,ws,yi),h.Kj=function(){return!0},h.kl=function(){return!1},h.$k=function(){return!0},k(Fr,"EObjectContainmentEList",82),_(547,82,ws,P8),h.Li=function(){this.b=!0},h.Oj=function(){return this.b},h.Ek=function(){var t;vn(this),Ju(this.e)?(t=this.b,this.b=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.b=!1},h.b=!1,k(Fr,"EObjectContainmentEList/Unsettable",547),_(1142,547,ws,tst),h.Ri=function(t,r){var o,a;return o=l(uC(this,t,r),88),Ju(this.e)&&LA(this,new a6(this.a,7,(_t(),nLt),Re(r),(a=o.c,ae(a,89)?l(a,29):Ml),t)),o},h.Sj=function(t,r){return g1n(this,l(t,88),r)},h.Tj=function(t,r){return p1n(this,l(t,88),r)},h.Uj=function(t,r,o){return w0n(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,a,u){switch(t){case 3:return j3(this,t,r,o,a,this.i>1);case 5:return j3(this,t,r,o,a,this.i-l(o,16).gc()>0);default:return new cp(this.e,t,this.c,r,o,a,!0)}},h.Rj=function(){return!0},h.Oj=function(){return AY(this)},h.Ek=function(){vn(this)},k(Gt,"EClassImpl/1",1142),_(1156,1155,xEe),h.bj=function(t){var r,o,a,u,f,p,m;if(o=t.ej(),o!=8){if(a=J1n(t),a==0)switch(o){case 1:case 9:{m=t.ij(),m!=null&&(r=Pu(l(m,474)),!r.c&&(r.c=new NA),uj(r.c,t.hj())),p=t.gj(),p!=null&&(u=l(p,474),u.Bb&1||(r=Pu(u),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29))));break}case 3:{p=t.gj(),p!=null&&(u=l(p,474),u.Bb&1||(r=Pu(u),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29))));break}case 5:{if(p=t.gj(),p!=null)for(f=l(p,18).Jc();f.Ob();)u=l(f.Pb(),474),u.Bb&1||(r=Pu(u),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29)));break}case 4:{m=t.ij(),m!=null&&(u=l(m,474),u.Bb&1||(r=Pu(u),!r.c&&(r.c=new NA),uj(r.c,t.hj())));break}case 6:{if(m=t.ij(),m!=null)for(f=l(m,18).Jc();f.Ob();)u=l(f.Pb(),474),u.Bb&1||(r=Pu(u),!r.c&&(r.c=new NA),uj(r.c,t.hj()));break}}this.ol(a)}},h.ol=function(t){uyt(this,t)},h.b=63,k(Gt,"ESuperAdapter",1156),_(1157,1156,xEe,QXe),h.ol=function(t){Sy(this,t)},k(Gt,"EClassImpl/10",1157),_(1146,706,ws),h.Ci=function(t,r){return WY(this,t,r)},h.Di=function(t){return j1t(this,t)},h.Ei=function(t,r){D6(this,t,r)},h.Fi=function(t){r6(this,t)},h.Yi=function(t){return Ppe(this,t)},h.Vi=function(t,r){return aK(this,t,r)},h.Uk=function(t,r){throw Y(new Nn)},h.Gi=function(){return new ES(this)},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},h.Vk=function(t,r){throw Y(new Nn)},h.Dk=function(t){return this},h.Oj=function(){return this.i!=0},h.Wb=function(t){throw Y(new Nn)},h.Ek=function(){throw Y(new Nn)},k(Fr,"EcoreEList/UnmodifiableEList",1146),_(334,1146,ws,Qv),h.Wi=function(){return!1},k(Fr,"EcoreEList/UnmodifiableEList/FastCompare",334),_(1149,334,ws,upt),h.bd=function(t){var r,o,a;if(ae(t,182)&&(r=l(t,182),o=r.Jj(),o!=-1)){for(a=this.i;o<a;++o)if(be(this.g[o])===be(t))return o}return-1},k(Gt,"EClassImpl/1EAllStructuralFeaturesList",1149),_(1143,495,Vf,iqe),h.$i=function(t){return we(Go,ZAt,88,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/1EGenericSuperTypeEList",1143),_(631,495,Vf,DG),h.$i=function(t){return we(au,UE,182,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/1EStructuralFeatureUniqueEList",631),_(750,495,Vf,zue),h.$i=function(t){return we(mv,UE,20,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/1ReferenceList",750),_(1144,495,Vf,eZe),h.Ki=function(t,r){csn(this,l(r,38))},h.$i=function(t){return we(bv,UE,38,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/2",1144),_(1145,495,Vf,oqe),h.$i=function(t){return we(bv,UE,38,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/3",1145),_(1147,334,ws,mot),h.Ec=function(t){return Pln(this,l(t,38))},h.Fi=function(t){cen(this,l(t,38))},k(Gt,"EClassImpl/4",1147),_(1148,334,ws,wot),h.Ec=function(t){return jln(this,l(t,20))},h.Fi=function(t){len(this,l(t,20))},k(Gt,"EClassImpl/5",1148),_(1150,495,Vf,sqe),h.$i=function(t){return we(Dl,CEe,62,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/6",1150),_(1151,495,Vf,aqe),h.$i=function(t){return we(mv,UE,20,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/7",1151),_(2074,2073,{3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1,72:1}),h.Ci=function(t,r){return E0e(this,t,r)},h.Di=function(t){return E0e(this,this.Cj(),t)},h.Ei=function(t,r){j0t(this,t,r)},h.Fi=function(t){x0t(this,t)},h.Uk=function(t,r){return Hbn(this,t,r)},h.Vk=function(t,r){return mbn(this,t,r)},h.Vi=function(t,r){return Jyt(this,t,r)},h.Yi=function(t){return this.vj(t)},h.Gi=function(){return new ES(this)},h.nj=function(){return this.qj()},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},k(Fr,"DelegatingNotifyingInternalEListImpl",2074),_(751,2074,IEe),h.Ji=function(){var t;return t=Nt(Ja(this.b),this.Jj()).Fk(),ae(t,160)&&!ae(t,462)&&(t.ik().i&1)==0},h.Gc=function(t){var r,o,a,u,f,p,m,y;if(this.ml()){if(y=this.Cj(),y>4)if(this.dk(t)){if(this.$k()){if(a=l(t,52),o=a.Bh(),m=o==this.b&&(this.kl()?a.vh(a.Ch(),l(Nt(Ja(this.b),this.Jj()).Fk(),29).ik())==Mo(l(Nt(Ja(this.b),this.Jj()),20)).n:-1-a.Ch()==this.Jj()),this.ll()&&!m&&!o&&a.Gh()){for(u=0;u<y;++u)if(r=ZV(this,this.vj(u)),be(r)===be(t))return!0}return m}else if(this.kl()&&!this.jl()){if(f=l(t,57).Jh(Mo(l(Nt(Ja(this.b),this.Jj()),20))),be(f)===be(this.b))return!0;if(f==null||!l(f,57).Sh())return!1}}else return!1;if(p=this.sj(t),this.ll()&&!p){for(u=0;u<y;++u)if(a=ZV(this,this.vj(u)),be(a)===be(t))return!0}return p}else return this.sj(t)},h.Gj=function(t,r,o,a,u){return new cp(this.b,t,this.Jj(),r,o,a,u)},h.Hj=function(t){hr(this.b,t)},h.Dk=function(t){return this},h.Ij=function(){return Nt(Ja(this.b),this.Jj())},h.Jj=function(){return Ur(Ja(this.b),Nt(Ja(this.b),this.Jj()))},h.hj=function(){return this.b},h.il=function(){return!!Nt(Ja(this.b),this.Jj()).Fk().ik()},h.Kj=function(){var t,r;return r=Nt(Ja(this.b),this.Jj()),ae(r,104)?(t=l(r,20),(t.Bb&Ws)!=0||!!Mo(l(r,20))):!1},h.jl=function(){var t,r,o,a;return r=Nt(Ja(this.b),this.Jj()),ae(r,104)?(t=l(r,20),o=Mo(t),!!o&&(a=o.t,a>1||a==-1)):!1},h.kl=function(){var t,r,o;return r=Nt(Ja(this.b),this.Jj()),ae(r,104)?(t=l(r,20),o=Mo(t),!!o):!1},h.ll=function(){var t,r;return r=Nt(Ja(this.b),this.Jj()),ae(r,104)?(t=l(r,20),(t.Bb&No)!=0):!1},h.bd=function(t){var r,o,a,u;if(a=this.xj(t),a>=0)return a;if(this.ml()){for(o=0,u=this.Cj();o<u;++o)if(r=ZV(this,this.vj(o)),be(r)===be(t))return o}return-1},h.Lj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Oh(this.b,Mo(l(Nt(Ja(this.b),this.Jj()),20)).n,l(Nt(Ja(this.b),this.Jj()).Fk(),29).ik(),r):o.Oh(this.b,Ur(o.Ah(),Mo(l(Nt(Ja(this.b),this.Jj()),20))),null,r):o.Oh(this.b,-1-this.Jj(),null,r)},h.Mj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Qh(this.b,Mo(l(Nt(Ja(this.b),this.Jj()),20)).n,l(Nt(Ja(this.b),this.Jj()).Fk(),29).ik(),r):o.Qh(this.b,Ur(o.Ah(),Mo(l(Nt(Ja(this.b),this.Jj()),20))),null,r):o.Qh(this.b,-1-this.Jj(),null,r)},h.$k=function(){var t,r;return r=Nt(Ja(this.b),this.Jj()),ae(r,104)?(t=l(r,20),(t.Bb&Ws)!=0):!1},h.ml=function(){return ae(Nt(Ja(this.b),this.Jj()).Fk(),89)},h.dk=function(t){return Nt(Ja(this.b),this.Jj()).Fk().dk(t)},h.Nj=function(){return Ju(this.b)},h.Oj=function(){return!this.yj()},h.Qi=function(){return Nt(Ja(this.b),this.Jj()).Qi()},h.Ui=function(t,r){return dD(this,t,r)},h.Wb=function(t){jC(this),ti(this,l(t,16))},h.Nc=function(){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)dD(this,t,this.vj(t));return this.Dj()},h.Oc=function(t){var r;if(this.ll())for(r=this.Cj()-1;r>=0;--r)dD(this,r,this.vj(r));return this.Ej(t)},h.Ek=function(){jC(this)},h.Xi=function(t,r){return ddt(this,t,r)},k(Fr,"DelegatingEcoreEList",751),_(1152,751,IEe,git),h.oj=function(t,r){bnn(this,t,l(r,29))},h.pj=function(t){utn(this,l(t,29))},h.vj=function(t){var r,o;return r=l(oe(oa(this.a),t),88),o=r.c,ae(o,89)?l(o,29):(_t(),Ml)},h.Aj=function(t){var r,o;return r=l(_y(oa(this.a),t),88),o=r.c,ae(o,89)?l(o,29):(_t(),Ml)},h.Bj=function(t,r){return zbn(this,t,l(r,29))},h.Ji=function(){return!1},h.Gj=function(t,r,o,a,u){return null},h.qj=function(){return new tZe(this)},h.rj=function(){vn(oa(this.a))},h.sj=function(t){return ugt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!ugt(this,r))return!1;return!0},h.uj=function(t){var r,o,a;if(ae(t,16)&&(a=l(t,16),a.gc()==oa(this.a).i)){for(r=a.Jc(),o=new tn(this);r.Ob();)if(be(r.Pb())!==be(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,a,u;for(o=1,r=new tn(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),a=(u=t.c,ae(u,89)?l(u,29):(_t(),Ml)),o=31*o+(a?s0(a):0);return o},h.xj=function(t){var r,o,a,u;for(a=0,o=new tn(oa(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),be(t)===be((u=r.c,ae(u,89)?l(u,29):(_t(),Ml))))return a;++a}return-1},h.yj=function(){return oa(this.a).i==0},h.zj=function(){return null},h.Cj=function(){return oa(this.a).i},h.Dj=function(){var t,r,o,a,u,f;for(f=oa(this.a).i,u=we(Ii,Rt,1,f,5,1),o=0,r=new tn(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),u[o++]=(a=t.c,ae(a,89)?l(a,29):(_t(),Ml));return u},h.Ej=function(t){var r,o,a,u,f,p,m;for(m=oa(this.a).i,t.length<m&&(u=y6(rc(t).c,m),t=u),t.length>m&&ii(t,m,null),a=0,o=new tn(oa(this.a));o.e!=o.i.gc();)r=l(rn(o),88),f=(p=r.c,ae(p,89)?l(p,29):(_t(),Ml)),ii(t,a++,f);return t},h.Fj=function(){var t,r,o,a,u;for(u=new Xp,u.a+="[",t=oa(this.a),r=0,a=oa(this.a).i;r<a;)Vo(u,y3((o=l(oe(t,r),88).c,ae(o,89)?l(o,29):(_t(),Ml)))),++r<a&&(u.a+=ja);return u.a+="]",u.a},h.Hj=function(t){},h.Jj=function(){return 10},h.il=function(){return!0},h.Kj=function(){return!1},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!0},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return ae(t,89)},h.Oj=function(){return Ccn(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},k(Gt,"EClassImpl/8",1152),_(1153,2041,lx,tZe),h.dd=function(t){return v6(this.a,t)},h.gc=function(){return oa(this.a.a).i},k(Gt,"EClassImpl/8/1",1153),_(1154,495,Vf,uqe),h.$i=function(t){return we(Ld,Rt,146,t,0,1)},h.Wi=function(){return!1},k(Gt,"EClassImpl/9",1154),_(1141,47,lwe,qZe),k(Gt,"EClassImpl/MyHashSet",1141),_(570,361,{110:1,95:1,94:1,146:1,160:1,839:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,162:1,118:1,119:1,688:1},I9),h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return this.gk();case 5:return this.F;case 6:return r?mc(this):d_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256)}return qc(this,t-ln(this.fi()),Nt((a=l(Vt(this,16),29),a||this.fi()),t),r,o)},h.Th=function(t){var r;switch(t){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!!I0(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return zc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:jP(this,In(r));return;case 2:uV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return;case 8:Hj(this,Ye(Ke(r)));return}Xc(this,t-ln(this.fi()),Nt((o=l(Vt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),rLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return;case 8:Hj(this,!0);return}Jc(this,t-ln(this.fi()),Nt((r=l(Vt(this,16),29),r||this.fi()),t))},h.mi=function(){fg((mu(),ao),this).ve(),this.Bb|=1},h.mk=function(){var t,r,o;if(!this.c&&(t=X0t(mc(this)),!t.dc()))for(o=t.Jc();o.Ob();)r=In(o.Pb()),RC(this,r)&&Sgn(this);return this.b},h.gk=function(){var t;if(!this.e){t=null;try{t=I0(this)}catch(r){if(r=ci(r),!ae(r,102))throw Y(r)}this.d=null,t&&t.i&1&&(t==uu?this.d=(Lt(),D1):t==Rn?this.d=Re(0):t==Ev?this.d=new QR(0):t==Ki?this.d=0:t==pw?this.d=my(0):t==S2?this.d=D_(0):t==Eu?this.d=p6(0):this.d=A6(0)),this.e=!0}return this.d},h.lk=function(){return(this.Bb&256)!=0},h.pl=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},h.el=function(t){ght(this,t),this.pl(t)},h.fl=function(t){this.C=t,this.e=!1},h.Ib=function(){var t;return this.Db&64?Yj(this):(t=new ml(Yj(this)),t.a+=" (serializable: ",Zp(t,(this.Bb&256)!=0),t.a+=")",t.a)},h.c=!1,h.d=null,h.e=!1,k(Gt,"EDataTypeImpl",570),_(462,570,{110:1,95:1,94:1,146:1,160:1,839:1,682:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,462:1,162:1,118:1,119:1,688:1},VZe),h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return Yge(this);case 5:return this.F;case 6:return r?mc(this):d_(this);case 7:return!this.A&&(this.A=new du(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new ke(Op,this,9,5)),this.a}return qc(this,t-ln((_t(),Z1)),Nt((a=l(Vt(this,16),29),a||Z1),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?MY(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,6,o);case 9:return!this.a&&(this.a=new ke(Op,this,9,5)),Pa(this.a,t,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),Z1)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Z1)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 6:return Sc(this,null,6,o);case 7:return!this.A&&(this.A=new du(Ka,this,7)),_o(this.A,t,o);case 9:return!this.a&&(this.a=new ke(Op,this,9,5)),_o(this.a,t,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Z1)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Z1)),t,o)},h.Th=function(t){var r;switch(t){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!!I0(this);case 4:return!!Yge(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(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 zc(this,t-ln((_t(),Z1)),Nt((r=l(Vt(this,16),29),r||Z1),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:jP(this,In(r));return;case 2:uV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A),!this.A&&(this.A=new du(Ka,this,7)),ti(this.A,l(r,18));return;case 8:Hj(this,Ye(Ke(r)));return;case 9:!this.a&&(this.a=new ke(Op,this,9,5)),vn(this.a),!this.a&&(this.a=new ke(Op,this,9,5)),ti(this.a,l(r,18));return}Xc(this,t-ln((_t(),Z1)),Nt((o=l(Vt(this,16),29),o||Z1),t),r)},h.fi=function(){return _t(),Z1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new du(Ka,this,7)),vn(this.A);return;case 8:Hj(this,!0);return;case 9:!this.a&&(this.a=new ke(Op,this,9,5)),vn(this.a);return}Jc(this,t-ln((_t(),Z1)),Nt((r=l(Vt(this,16),29),r||Z1),t))},h.mi=function(){var t,r;if(this.a)for(t=0,r=this.a.i;t<r;++t)OO(oe(this.a,t));fg((mu(),ao),this).ve(),this.Bb|=1},h.gk=function(){return Yge(this)},h.dk=function(t){return t!=null},h.pl=function(t){},k(Gt,"EEnumImpl",462),_(575,444,{110:1,95:1,94:1,2018:1,691:1,159:1,199:1,57:1,115:1,52:1,101:1,575:1,162:1,118:1,119:1},cZe),h.ve=function(){return this.zb},h.xh=function(t){return lbt(this,t)},h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Re(this.d);case 3:return this.b?this.b:this.a;case 4:return u=this.c,u??this.zb;case 5:return this.Db>>16==5?l(this.Cb,682):null}return qc(this,t-ln((_t(),Dg)),Nt((a=l(Vt(this,16),29),a||Dg),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 5:return this.Cb&&(o=(u=this.Db>>16,u>=0?lbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,5,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),Dg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Dg)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 5:return Sc(this,null,5,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Dg)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Dg)),t,o)},h.Th=function(t){var r;switch(t){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&&l(this.Cb,682))}return zc(this,t-ln((_t(),Dg)),Nt((r=l(Vt(this,16),29),r||Dg),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:pK(this,l(r,15).a);return;case 3:m0t(this,l(r,2018));return;case 4:bK(this,In(r));return}Xc(this,t-ln((_t(),Dg)),Nt((o=l(Vt(this,16),29),o||Dg),t),r)},h.fi=function(){return _t(),Dg},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:pK(this,0);return;case 3:m0t(this,null);return;case 4:bK(this,null);return}Jc(this,t-ln((_t(),Dg)),Nt((r=l(Vt(this,16),29),r||Dg),t))},h.Ib=function(){var t;return t=this.c,t??this.zb},h.b=null,h.c=null,h.d=0,k(Gt,"EEnumLiteralImpl",575);var lCn=Hr(Gt,"EFactoryImpl/InternalEDateTimeFormat");_(488,1,{2093:1},eO),k(Gt,"EFactoryImpl/1ClientInternalEDateTimeFormat",488),_(251,119,{110:1,95:1,94:1,88:1,57:1,115:1,52:1,101:1,251:1,118:1,119:1},Ym),h.zh=function(t,r,o){var a;return o=Sc(this,t,r,o),this.e&&ae(t,182)&&(a=O7(this,this.e),a!=this.c&&(o=ox(this,a,o))),o},h.Ih=function(t,r,o){var a;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new yi(Go,this,1)),this.d;case 2:return r?z7(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return r?kY(this):this.a}return qc(this,t-ln((_t(),dw)),Nt((a=l(Vt(this,16),29),a||dw),t),r,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return Ypt(this,null,o);case 1:return!this.d&&(this.d=new yi(Go,this,1)),_o(this.d,t,o);case 3:return Kpt(this,null,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),dw)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),dw)),t,o)},h.Th=function(t){var r;switch(t){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 zc(this,t-ln((_t(),dw)),Nt((r=l(Vt(this,16),29),r||dw),t))},h.$h=function(t,r){var o;switch(t){case 0:Cbt(this,l(r,88));return;case 1:!this.d&&(this.d=new yi(Go,this,1)),vn(this.d),!this.d&&(this.d=new yi(Go,this,1)),ti(this.d,l(r,18));return;case 3:_be(this,l(r,88));return;case 4:Gbe(this,l(r,842));return;case 5:w_(this,l(r,146));return}Xc(this,t-ln((_t(),dw)),Nt((o=l(Vt(this,16),29),o||dw),t),r)},h.fi=function(){return _t(),dw},h.hi=function(t){var r;switch(t){case 0:Cbt(this,null);return;case 1:!this.d&&(this.d=new yi(Go,this,1)),vn(this.d);return;case 3:_be(this,null);return;case 4:Gbe(this,null);return;case 5:w_(this,null);return}Jc(this,t-ln((_t(),dw)),Nt((r=l(Vt(this,16),29),r||dw),t))},h.Ib=function(){var t;return t=new fc(Zl(this)),t.a+=" (expression: ",DJ(this,t),t.a+=")",t.a};var I3e;k(Gt,"EGenericTypeImpl",251),_(2046,2041,YF),h.Ei=function(t,r){hit(this,t,r)},h.Uk=function(t,r){return hit(this,this.gc(),t),r},h.Yi=function(t){return sa(this.nj(),t)},h.Gi=function(){return this.Hi()},h.nj=function(){return new sZe(this)},h.Hi=function(){return this.Ii(0)},h.Ii=function(t){return this.nj().dd(t)},h.Vk=function(t,r){return gy(this,t,!0),r},h.Ri=function(t,r){var o,a;return a=FY(this,r),o=this.dd(t),o.Rb(a),a},h.Si=function(t,r){var o;gy(this,r,!0),o=this.dd(t),o.Rb(r)},k(Fr,"AbstractSequentialInternalEList",2046),_(485,2046,YF,RO),h.Yi=function(t){return sa(this.nj(),t)},h.Gi=function(){return this.b==null?(tg(),tg(),l5):this.ql()},h.nj=function(){return new Dnt(this.a,this.b)},h.Hi=function(){return this.b==null?(tg(),tg(),l5):this.ql()},h.Ii=function(t){var r,o;if(this.b==null){if(t<0||t>1)throw Y(new Ia(aI+t+", size=0"));return tg(),tg(),l5}for(o=this.ql(),r=0;r<t;++r)Rj(o);return o},h.dc=function(){var t,r,o,a,u,f;if(this.b!=null){for(o=0;o<this.b.length;++o)if(t=this.b[o],!this.tl()||this.a.Uh(t)){if(f=this.a.Kh(t,!1),Lo(),l(t,69).vk()){for(r=l(f,164),a=0,u=r.gc();a<u;++a)if(Bst(r.Rl(a))&&r.Sl(a)!=null)return!1}else if(t.Hk()){if(!l(f,18).dc())return!1}else if(f!=null)return!1}}return!0},h.Jc=function(){return dge(this)},h.dd=function(t){var r,o;if(this.b==null){if(t!=0)throw Y(new Ia(aI+t+", size=0"));return tg(),tg(),l5}for(o=this.sl()?this.rl():this.ql(),r=0;r<t;++r)Rj(o);return o},h.Ri=function(t,r){throw Y(new Nn)},h.Si=function(t,r){throw Y(new Nn)},h.ql=function(){return new U8(this.a,this.b)},h.rl=function(){return new jde(this.a,this.b)},h.sl=function(){return!0},h.gc=function(){var t,r,o,a,u,f,p;if(u=0,this.b!=null){for(o=0;o<this.b.length;++o)if(t=this.b[o],!this.tl()||this.a.Uh(t))if(p=this.a.Kh(t,!1),Lo(),l(t,69).vk())for(r=l(p,164),a=0,f=r.gc();a<f;++a)Bst(r.Rl(a))&&r.Sl(a)!=null&&++u;else t.Hk()?u+=l(p,18).gc():p!=null&&++u}return u},h.tl=function(){return!0};var Fre;k(Fr,"EContentsEList",485),_(1158,485,YF,Zrt),h.ql=function(){return new Qrt(this.a,this.b)},h.rl=function(){return new eit(this.a,this.b)},h.tl=function(){return!1},k(Gt,"ENamedElementImpl/1",1158),_(289,1,JF,U8),h.Nb=function(t){so(this,t)},h.Rb=function(t){throw Y(new Nn)},h.ul=function(t){if(this.g!=0||this.e)throw Y(new es("Iterator already in use or already filtered"));this.e=t},h.Ob=function(){var t,r,o,a,u,f;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?!Cmt(this,this.p):!y0t(this))){for(;this.d<this.c.length;)if(r=this.c[this.d++],(!this.e||r.nk()!=Ak||r.Jj()!=0)&&(!this.tl()||this.b.Uh(r))){if(f=this.b.Kh(r,this.sl()),this.f=(Lo(),l(r,69).vk()),this.f||r.Hk()){if(this.sl()?(a=l(f,16),this.k=a):(a=l(f,72),this.k=this.j=a),ae(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?Cmt(this,this.p):y0t(this))return u=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=3,!0}else if(f!=null)return this.k=null,this.p=null,o=f,this.i=o,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return u=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=3,!0}},h.Sb=function(){var t,r,o,a,u,f;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?!Imt(this,this.p):!Bmt(this))){for(;this.d>0;)if(r=this.c[--this.d],(!this.e||r.nk()!=Ak||r.Jj()!=0)&&(!this.tl()||this.b.Uh(r))){if(f=this.b.Kh(r,this.sl()),this.f=(Lo(),l(r,69).vk()),this.f||r.Hk()){if(this.sl()?(a=l(f,16),this.k=a):(a=l(f,72),this.k=this.j=a),ae(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?Imt(this,this.p):Bmt(this))return u=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=-3,!0}else if(f!=null)return this.k=null,this.p=null,o=f,this.i=o,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return u=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=-3,!0}},h.Pb=function(){return Rj(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw Y(new vs)},h.Vb=function(){return this.a-1},h.Qb=function(){throw Y(new Nn)},h.sl=function(){return!1},h.Wb=function(t){throw Y(new Nn)},h.tl=function(){return!0},h.a=0,h.d=0,h.f=!1,h.g=0,h.n=0,h.o=0;var l5;k(Fr,"EContentsEList/FeatureIteratorImpl",289),_(707,289,JF,jde),h.sl=function(){return!0},k(Fr,"EContentsEList/ResolvingFeatureIteratorImpl",707),_(1159,707,JF,eit),h.tl=function(){return!1},k(Gt,"ENamedElementImpl/1/1",1159),_(1160,289,JF,Qrt),h.tl=function(){return!1},k(Gt,"ENamedElementImpl/1/2",1160),_(40,152,qD,sy,BW,Pi,eK,cp,Vl,Kpe,But,Ype,Uut,hpe,Hut,Zpe,zut,ppe,Gut,Jpe,qut,N3,a6,vW,Xpe,Vut,gpe,Wut),h.Ij=function(){return Ipe(this)},h.Pj=function(){var t;return t=Ipe(this),t?t.gk():null},h.fj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,t)},h.hj=function(){return this.c},h.Qj=function(){var t;return t=Ipe(this),t?t.rk():!1},h.b=-1,k(Gt,"ENotificationImpl",40),_(408,294,{110:1,95:1,94:1,159:1,199:1,57:1,62:1,115:1,473:1,52:1,101:1,162:1,408:1,294:1,118:1,119:1},tq),h.xh=function(t){return fbt(this,t)},h.Ih=function(t,r,o){var a,u,f;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),f=this.t,f>1||f==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,29):null;case 11:return!this.d&&(this.d=new du(Ka,this,11)),this.d;case 12:return!this.c&&(this.c=new ke(lw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new MO(this,this)),this.a;case 14:return Fu(this)}return qc(this,t-ln((_t(),Lg)),Nt((a=l(Vt(this,16),29),a||Lg),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 10:return this.Cb&&(o=(u=this.Db>>16,u>=0?fbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,10,o);case 12:return!this.c&&(this.c=new ke(lw,this,12,10)),Pa(this.c,t,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),Lg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Lg)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return sW(this,o);case 10:return Sc(this,null,10,o);case 11:return!this.d&&(this.d=new du(Ka,this,11)),_o(this.d,t,o);case 12:return!this.c&&(this.c=new ke(lw,this,12,10)),_o(this.c,t,o);case 14:return _o(Fu(this),t,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),Lg)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Lg)),t,o)},h.Th=function(t){var r,o,a;switch(t){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 a=this.t,a>1||a==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(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&&Fu(this.a.a).i!=0&&!(this.b&&_Y(this.b));case 14:return!!this.b&&_Y(this.b)}return zc(this,t-ln((_t(),Lg)),Nt((r=l(Vt(this,16),29),r||Lg),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:cg(this,l(r,15).a);return;case 5:cy(this,l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 11:!this.d&&(this.d=new du(Ka,this,11)),vn(this.d),!this.d&&(this.d=new du(Ka,this,11)),ti(this.d,l(r,18));return;case 12:!this.c&&(this.c=new ke(lw,this,12,10)),vn(this.c),!this.c&&(this.c=new ke(lw,this,12,10)),ti(this.c,l(r,18));return;case 13:!this.a&&(this.a=new MO(this,this)),jC(this.a),!this.a&&(this.a=new MO(this,this)),ti(this.a,l(r,18));return;case 14:vn(Fu(this)),ti(Fu(this),l(r,18));return}Xc(this,t-ln((_t(),Lg)),Nt((o=l(Vt(this,16),29),o||Lg),t),r)},h.fi=function(){return _t(),Lg},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:cg(this,0);return;case 5:cy(this,1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 11:!this.d&&(this.d=new du(Ka,this,11)),vn(this.d);return;case 12:!this.c&&(this.c=new ke(lw,this,12,10)),vn(this.c);return;case 13:this.a&&jC(this.a);return;case 14:this.b&&vn(this.b);return}Jc(this,t-ln((_t(),Lg)),Nt((r=l(Vt(this,16),29),r||Lg),t))},h.mi=function(){var t,r;if(this.c)for(t=0,r=this.c.i;t<r;++t)OO(oe(this.c,t));Sl(this),this.Bb|=1},k(Gt,"EOperationImpl",408),_(503,751,IEe,MO),h.oj=function(t,r){Enn(this,t,l(r,146))},h.pj=function(t){ctn(this,l(t,146))},h.vj=function(t){var r,o;return r=l(oe(Fu(this.a),t),88),o=r.c,o||(_t(),bf)},h.Aj=function(t){var r,o;return r=l(_y(Fu(this.a),t),88),o=r.c,o||(_t(),bf)},h.Bj=function(t,r){return F1n(this,t,l(r,146))},h.Ji=function(){return!1},h.Gj=function(t,r,o,a,u){return null},h.qj=function(){return new nZe(this)},h.rj=function(){vn(Fu(this.a))},h.sj=function(t){return dgt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!dgt(this,r))return!1;return!0},h.uj=function(t){var r,o,a;if(ae(t,16)&&(a=l(t,16),a.gc()==Fu(this.a).i)){for(r=a.Jc(),o=new tn(this);r.Ob();)if(be(r.Pb())!==be(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,a,u;for(o=1,r=new tn(Fu(this.a));r.e!=r.i.gc();)t=l(rn(r),88),a=(u=t.c,u||(_t(),bf)),o=31*o+(a?Rr(a):0);return o},h.xj=function(t){var r,o,a,u;for(a=0,o=new tn(Fu(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),be(t)===be((u=r.c,u||(_t(),bf))))return a;++a}return-1},h.yj=function(){return Fu(this.a).i==0},h.zj=function(){return null},h.Cj=function(){return Fu(this.a).i},h.Dj=function(){var t,r,o,a,u,f;for(f=Fu(this.a).i,u=we(Ii,Rt,1,f,5,1),o=0,r=new tn(Fu(this.a));r.e!=r.i.gc();)t=l(rn(r),88),u[o++]=(a=t.c,a||(_t(),bf));return u},h.Ej=function(t){var r,o,a,u,f,p,m;for(m=Fu(this.a).i,t.length<m&&(u=y6(rc(t).c,m),t=u),t.length>m&&ii(t,m,null),a=0,o=new tn(Fu(this.a));o.e!=o.i.gc();)r=l(rn(o),88),f=(p=r.c,p||(_t(),bf)),ii(t,a++,f);return t},h.Fj=function(){var t,r,o,a,u;for(u=new Xp,u.a+="[",t=Fu(this.a),r=0,a=Fu(this.a).i;r<a;)Vo(u,y3((o=l(oe(t,r),88).c,o||(_t(),bf)))),++r<a&&(u.a+=ja);return u.a+="]",u.a},h.Hj=function(t){},h.Jj=function(){return 13},h.il=function(){return!0},h.Kj=function(){return!1},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!0},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return ae(t,146)},h.Oj=function(){return Dcn(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},k(Gt,"EOperationImpl/1",503),_(1342,2041,lx,nZe),h.dd=function(t){return v6(this.a,t)},h.gc=function(){return Fu(this.a.a).i},k(Gt,"EOperationImpl/1/1",1342),_(1343,547,ws,nst),h.Ri=function(t,r){var o,a;return o=l(uC(this,t,r),88),Ju(this.e)&&LA(this,new a6(this.a,7,(_t(),sLt),Re(r),(a=o.c,a||bf),t)),o},h.Sj=function(t,r){return ign(this,l(t,88),r)},h.Tj=function(t,r){return ogn(this,l(t,88),r)},h.Uj=function(t,r,o){return X1n(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,a,u){switch(t){case 3:return j3(this,t,r,o,a,this.i>1);case 5:return j3(this,t,r,o,a,this.i-l(o,16).gc()>0);default:return new cp(this.e,t,this.c,r,o,a,!0)}},h.Rj=function(){return!0},h.Oj=function(){return _Y(this)},h.Ek=function(){vn(this)},k(Gt,"EOperationImpl/2",1343),_(496,1,{2016:1,496:1},gnt),k(Gt,"EPackageImpl/1",496),_(14,82,ws,ke),h.gl=function(){return this.d},h.hl=function(){return this.b},h.kl=function(){return!0},h.b=0,k(Fr,"EObjectContainmentWithInverseEList",14),_(362,14,ws,TS),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentWithInverseEList/Resolving",362),_(313,362,ws,Xw),h.Li=function(){this.a.tb=null},k(Gt,"EPackageImpl/2",313),_(1255,1,{},aZt),k(Gt,"EPackageImpl/3",1255),_(728,44,DE,$ce),h._b=function(t){return zi(t)?SW(this,t):!!ts(this.f,t)},k(Gt,"EPackageRegistryImpl",728),_(507,294,{110:1,95:1,94:1,159:1,199:1,57:1,2095:1,115:1,473:1,52:1,101:1,162:1,507:1,294:1,118:1,119:1},nq),h.xh=function(t){return hbt(this,t)},h.Ih=function(t,r,o){var a,u,f;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),f=this.t,f>1||f==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,62):null}return qc(this,t-ln((_t(),yv)),Nt((a=l(Vt(this,16),29),a||yv),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 10:return this.Cb&&(o=(u=this.Db>>16,u>=0?hbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Sc(this,t,10,o)}return f=l(Nt((a=l(Vt(this,16),29),a||(_t(),yv)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),yv)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 9:return sW(this,o);case 10:return Sc(this,null,10,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),yv)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),yv)),t,o)},h.Th=function(t){var r,o,a;switch(t){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 a=this.t,a>1||a==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,62))}return zc(this,t-ln((_t(),yv)),Nt((r=l(Vt(this,16),29),r||yv),t))},h.fi=function(){return _t(),yv},k(Gt,"EParameterImpl",507),_(104,454,{110:1,95:1,94:1,159:1,199:1,57:1,20:1,182:1,69:1,115:1,473:1,52:1,101:1,162:1,104:1,454:1,294:1,118:1,119:1,689:1},Hde),h.Ih=function(t,r,o){var a,u,f,p;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Re(this.s);case 5:return Re(this.t);case 6:return Lt(),p=this.t,p>1||p==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&yp);case 12:return Lt(),!!(this.Bb&Ry);case 13:return this.j;case 14:return J_(this);case 15:return Lt(),!!(this.Bb&yu);case 16:return Lt(),!!(this.Bb&$f);case 17:return ny(this);case 18:return Lt(),!!(this.Bb&Ws);case 19:return Lt(),f=Mo(this),!!(f&&f.Bb&Ws);case 20:return Lt(),!!(this.Bb&No);case 21:return r?Mo(this):this.b;case 22:return r?jge(this):plt(this);case 23:return!this.a&&(this.a=new oE(bv,this,23)),this.a}return qc(this,t-ln((_t(),w2)),Nt((a=l(Vt(this,16),29),a||w2),t),r,o)},h.Th=function(t){var r,o,a,u;switch(t){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 u=this.t,u>1||u==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&yp)!=0;case 12:return(this.Bb&Ry)!=0;case 13:return this.j!=null;case 14:return J_(this)!=null;case 15:return(this.Bb&yu)!=0;case 16:return(this.Bb&$f)!=0;case 17:return!!ny(this);case 18:return(this.Bb&Ws)!=0;case 19:return a=Mo(this),!!a&&(a.Bb&Ws)!=0;case 20:return(this.Bb&No)==0;case 21:return!!this.b;case 22:return!!plt(this);case 23:return!!this.a&&this.a.i!=0}return zc(this,t-ln((_t(),w2)),Nt((r=l(Vt(this,16),29),r||w2),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:OW(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:cg(this,l(r,15).a);return;case 5:cy(this,l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 10:L_(this,Ye(Ke(r)));return;case 11:j_(this,Ye(Ke(r)));return;case 12:M_(this,Ye(Ke(r)));return;case 13:ede(this,In(r));return;case 15:P_(this,Ye(Ke(r)));return;case 16:F_(this,Ye(Ke(r)));return;case 18:Run(this,Ye(Ke(r)));return;case 20:g1e(this,Ye(Ke(r)));return;case 21:hge(this,l(r,20));return;case 23:!this.a&&(this.a=new oE(bv,this,23)),vn(this.a),!this.a&&(this.a=new oE(bv,this,23)),ti(this.a,l(r,18));return}Xc(this,t-ln((_t(),w2)),Nt((o=l(Vt(this,16),29),o||w2),t),r)},h.fi=function(){return _t(),w2},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:ae(this.Cb,89)&&Sy(Pu(l(this.Cb,89)),4),Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:cg(this,0);return;case 5:cy(this,1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:L_(this,!0);return;case 11:j_(this,!1);return;case 12:M_(this,!1);return;case 13:this.i=null,Tj(this,null);return;case 15:P_(this,!1);return;case 16:F_(this,!1);return;case 18:b1e(this,!1),ae(this.Cb,89)&&Sy(Pu(l(this.Cb,89)),2);return;case 20:g1e(this,!0);return;case 21:hge(this,null);return;case 23:!this.a&&(this.a=new oE(bv,this,23)),vn(this.a);return}Jc(this,t-ln((_t(),w2)),Nt((r=l(Vt(this,16),29),r||w2),t))},h.mi=function(){jge(this),u_(rs((mu(),ao),this)),Sl(this),this.Bb|=1},h.sk=function(){return Mo(this)},h.Zk=function(){var t;return t=Mo(this),!!t&&(t.Bb&Ws)!=0},h.$k=function(){return(this.Bb&Ws)!=0},h._k=function(){return(this.Bb&No)!=0},h.Wk=function(t,r){return this.c=null,o1e(this,t,r)},h.Ib=function(){var t;return this.Db&64?U7(this):(t=new ml(U7(this)),t.a+=" (containment: ",Zp(t,(this.Bb&Ws)!=0),t.a+=", resolveProxies: ",Zp(t,(this.Bb&No)!=0),t.a+=")",t.a)},k(Gt,"EReferenceImpl",104),_(553,119,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1,553:1,118:1,119:1},cqe),h.Fb=function(t){return this===t},h.jd=function(){return this.b},h.kd=function(){return this.c},h.Hb=function(){return s0(this)},h.Ai=function(t){Hon(this,In(t))},h.ld=function(t){return Ron(this,In(t))},h.Ih=function(t,r,o){var a;switch(t){case 0:return this.b;case 1:return this.c}return qc(this,t-ln((_t(),Ro)),Nt((a=l(Vt(this,16),29),a||Ro),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return zc(this,t-ln((_t(),Ro)),Nt((r=l(Vt(this,16),29),r||Ro),t))},h.$h=function(t,r){var o;switch(t){case 0:zon(this,In(r));return;case 1:age(this,In(r));return}Xc(this,t-ln((_t(),Ro)),Nt((o=l(Vt(this,16),29),o||Ro),t),r)},h.fi=function(){return _t(),Ro},h.hi=function(t){var r;switch(t){case 0:lge(this,null);return;case 1:age(this,null);return}Jc(this,t-ln((_t(),Ro)),Nt((r=l(Vt(this,16),29),r||Ro),t))},h.yi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:lg(t)),this.a},h.zi=function(t){this.a=t},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new ml(Zl(this)),t.a+=" (key: ",Vo(t,this.b),t.a+=", value: ",Vo(t,this.c),t.a+=")",t.a)},h.a=-1,h.b=null,h.c=null;var zs=k(Gt,"EStringToStringMapEntryImpl",553),fLt=Hr(Fr,"FeatureMap/Entry/Internal");_(569,1,XF),h.vl=function(t){return this.wl(l(t,52))},h.wl=function(t){return this.vl(t)},h.Fb=function(t){var r,o;return this===t?!0:ae(t,76)?(r=l(t,76),r.Jk()==this.c?(o=this.kd(),o==null?r.kd()==null:pr(o,r.kd())):!1):!1},h.Jk=function(){return this.c},h.Hb=function(){var t;return t=this.kd(),Rr(this.c)^(t==null?0:Rr(t))},h.Ib=function(){var t,r;return t=this.c,r=mc(t.ok()).vi(),t.ve(),(r!=null&&r.length!=0?r+":"+t.ve():t.ve())+"="+this.kd()},k(Gt,"EStructuralFeatureImpl/BasicFeatureMapEntry",569),_(784,569,XF,tfe),h.wl=function(t){return new tfe(this.c,t)},h.kd=function(){return this.a},h.xl=function(t,r,o){return Shn(this,t,this.a,r,o)},h.yl=function(t,r,o){return Thn(this,t,this.a,r,o)},k(Gt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",784),_(1316,1,{},bnt),h.wk=function(t,r,o,a,u){var f;return f=l(p_(t,this.b),222),f.Wl(this.a).Dk(a)},h.xk=function(t,r,o,a,u){var f;return f=l(p_(t,this.b),222),f.Nl(this.a,a,u)},h.yk=function(t,r,o,a,u){var f;return f=l(p_(t,this.b),222),f.Ol(this.a,a,u)},h.zk=function(t,r,o){var a;return a=l(p_(t,this.b),222),a.Wl(this.a).Oj()},h.Ak=function(t,r,o,a){var u;u=l(p_(t,this.b),222),u.Wl(this.a).Wb(a)},h.Bk=function(t,r,o){return l(p_(t,this.b),222).Wl(this.a)},h.Ck=function(t,r,o){var a;a=l(p_(t,this.b),222),a.Wl(this.a).Ek()},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1316),_(90,1,{},rg,Lb,og,Bb),h.wk=function(t,r,o,a,u){var f;if(f=r.ii(o),f==null&&r.ji(o,f=Q7(this,t)),!u)switch(this.e){case 50:case 41:return l(f,593)._j();case 40:return l(f,222).Tl()}return f},h.xk=function(t,r,o,a,u){var f,p;return p=r.ii(o),p==null&&r.ji(o,p=Q7(this,t)),f=l(p,72).Uk(a,u),f},h.yk=function(t,r,o,a,u){var f;return f=r.ii(o),f!=null&&(u=l(f,72).Vk(a,u)),u},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null&&l(a,78).Oj()},h.Ak=function(t,r,o,a){var u;u=l(r.ii(o),78),!u&&r.ji(o,u=Q7(this,t)),u.Wb(a)},h.Bk=function(t,r,o){var a,u;return u=r.ii(o),u==null&&r.ji(o,u=Q7(this,t)),ae(u,78)?l(u,78):(a=l(r.ii(o),16),new iZe(a))},h.Ck=function(t,r,o){var a;a=l(r.ii(o),78),!a&&r.ji(o,a=Q7(this,t)),a.Ek()},h.b=0,h.e=0,k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateMany",90),_(502,1,{}),h.xk=function(t,r,o,a,u){throw Y(new Nn)},h.yk=function(t,r,o,a,u){throw Y(new Nn)},h.Bk=function(t,r,o){return new bat(this,t,r,o)};var Lh;k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",502),_(1333,1,yQ,bat),h.Dk=function(t){return this.a.wk(this.c,this.d,this.b,t,!0)},h.Oj=function(){return this.a.zk(this.c,this.d,this.b)},h.Wb=function(t){this.a.Ak(this.c,this.d,this.b,t)},h.Ek=function(){this.a.Ck(this.c,this.d,this.b)},h.b=0,k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1333),_(777,502,{},Mhe),h.wk=function(t,r,o,a,u){return vJ(t,t.Mh(),t.Ch())==this.b?this._k()&&a?uJ(t):t.Mh():null},h.xk=function(t,r,o,a,u){var f,p;return t.Mh()&&(u=(f=t.Ch(),f>=0?t.xh(u):t.Mh().Qh(t,-1-f,null,u))),p=Ur(t.Ah(),this.e),t.zh(a,p,u)},h.yk=function(t,r,o,a,u){var f;return f=Ur(t.Ah(),this.e),t.zh(null,f,u)},h.zk=function(t,r,o){var a;return a=Ur(t.Ah(),this.e),!!t.Mh()&&t.Ch()==a},h.Ak=function(t,r,o,a){var u,f,p,m,y;if(a!=null&&!AJ(this.a,a))throw Y(new MA(ZF+(ae(a,57)?Abe(l(a,57).Ah()):Gpe(rc(a)))+QF+this.a+"'"));if(u=t.Mh(),p=Ur(t.Ah(),this.e),be(a)!==be(u)||t.Ch()!=p&&a!=null){if(z_(t,l(a,57)))throw Y(new jt(oI+t.Ib()));y=null,u&&(y=(f=t.Ch(),f>=0?t.xh(y):t.Mh().Qh(t,-1-f,null,y))),m=l(a,52),m&&(y=m.Oh(t,Ur(m.Ah(),this.b),null,y)),y=t.zh(m,p,y),y&&y.mj()}else t.sh()&&t.th()&&hr(t,new Pi(t,1,p,a,a))},h.Ck=function(t,r,o){var a,u,f,p;a=t.Mh(),a?(p=(u=t.Ch(),u>=0?t.xh(null):t.Mh().Qh(t,-1-u,null,null)),f=Ur(t.Ah(),this.e),p=t.zh(null,f,p),p&&p.mj()):t.sh()&&t.th()&&hr(t,new N3(t,1,this.e,null,null))},h._k=function(){return!1},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",777),_(1317,777,{},aot),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1317),_(567,502,{}),h.wk=function(t,r,o,a,u){var f;return f=r.ii(o),f==null?this.b:be(f)===be(Lh)?null:f},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null&&(be(a)===be(Lh)||!pr(a,this.b))},h.Ak=function(t,r,o,a){var u,f;t.sh()&&t.th()?(u=(f=r.ii(o),f==null?this.b:be(f)===be(Lh)?null:f),a==null?this.c!=null?(r.ji(o,null),a=this.b):this.b!=null?r.ji(o,Lh):r.ji(o,null):(this.zl(a),r.ji(o,a)),hr(t,this.d.Al(t,1,this.e,u,a))):a==null?this.c!=null?r.ji(o,null):this.b!=null?r.ji(o,Lh):r.ji(o,null):(this.zl(a),r.ji(o,a))},h.Ck=function(t,r,o){var a,u;t.sh()&&t.th()?(a=(u=r.ii(o),u==null?this.b:be(u)===be(Lh)?null:u),r.ki(o),hr(t,this.d.Al(t,1,this.e,a,this.b))):r.ki(o)},h.zl=function(t){throw Y(new pZe)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",567),_(HE,1,{},lqe),h.Al=function(t,r,o,a,u){return new N3(t,r,o,a,u)},h.Bl=function(t,r,o,a,u,f){return new vW(t,r,o,a,u,f)};var R3e,O3e,D3e,L3e,M3e,P3e,j3e,$re,F3e;k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",HE),_(1334,HE,{},dqe),h.Al=function(t,r,o,a,u){return new gpe(t,r,o,Ye(Ke(a)),Ye(Ke(u)))},h.Bl=function(t,r,o,a,u,f){return new Wut(t,r,o,Ye(Ke(a)),Ye(Ke(u)),f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1334),_(1335,HE,{},fqe),h.Al=function(t,r,o,a,u){return new Kpe(t,r,o,l(a,224).a,l(u,224).a)},h.Bl=function(t,r,o,a,u,f){return new But(t,r,o,l(a,224).a,l(u,224).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1335),_(1336,HE,{},hqe),h.Al=function(t,r,o,a,u){return new Ype(t,r,o,l(a,183).a,l(u,183).a)},h.Bl=function(t,r,o,a,u,f){return new Uut(t,r,o,l(a,183).a,l(u,183).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1336),_(1337,HE,{},pqe),h.Al=function(t,r,o,a,u){return new hpe(t,r,o,ue(ce(a)),ue(ce(u)))},h.Bl=function(t,r,o,a,u,f){return new Hut(t,r,o,ue(ce(a)),ue(ce(u)),f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1337),_(1338,HE,{},gqe),h.Al=function(t,r,o,a,u){return new Zpe(t,r,o,l(a,165).a,l(u,165).a)},h.Bl=function(t,r,o,a,u,f){return new zut(t,r,o,l(a,165).a,l(u,165).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1338),_(1339,HE,{},bqe),h.Al=function(t,r,o,a,u){return new ppe(t,r,o,l(a,15).a,l(u,15).a)},h.Bl=function(t,r,o,a,u,f){return new Gut(t,r,o,l(a,15).a,l(u,15).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1339),_(1340,HE,{},mqe),h.Al=function(t,r,o,a,u){return new Jpe(t,r,o,l(a,192).a,l(u,192).a)},h.Bl=function(t,r,o,a,u,f){return new qut(t,r,o,l(a,192).a,l(u,192).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1340),_(1341,HE,{},wqe),h.Al=function(t,r,o,a,u){return new Xpe(t,r,o,l(a,193).a,l(u,193).a)},h.Bl=function(t,r,o,a,u,f){return new Vut(t,r,o,l(a,193).a,l(u,193).a,f)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1341),_(1319,567,{},vat),h.zl=function(t){if(!this.a.dk(t))throw Y(new MA(ZF+rc(t)+QF+this.a+"'"))},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1319),_(1320,567,{},rst),h.zl=function(t){},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1320),_(778,567,{}),h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null},h.Ak=function(t,r,o,a){var u,f;t.sh()&&t.th()?(u=!0,f=r.ii(o),f==null?(u=!1,f=this.b):be(f)===be(Lh)&&(f=null),a==null?this.c!=null?(r.ji(o,null),a=this.b):r.ji(o,Lh):(this.zl(a),r.ji(o,a)),hr(t,this.d.Bl(t,1,this.e,f,a,!u))):a==null?this.c!=null?r.ji(o,null):r.ji(o,Lh):(this.zl(a),r.ji(o,a))},h.Ck=function(t,r,o){var a,u;t.sh()&&t.th()?(a=!0,u=r.ii(o),u==null?(a=!1,u=this.b):be(u)===be(Lh)&&(u=null),r.ki(o),hr(t,this.d.Bl(t,2,this.e,u,this.b,a))):r.ki(o)},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",778),_(1321,778,{},Eat),h.zl=function(t){if(!this.a.dk(t))throw Y(new MA(ZF+rc(t)+QF+this.a+"'"))},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1321),_(1322,778,{},ist),h.zl=function(t){},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1322),_(407,502,{},cP),h.wk=function(t,r,o,a,u){var f,p,m,y,v;if(v=r.ii(o),this.rk()&&be(v)===be(Lh))return null;if(this._k()&&a&&v!=null){if(m=l(v,52),m.Sh()&&(y=w1(t,m),m!=y)){if(!AJ(this.a,y))throw Y(new MA(ZF+rc(y)+QF+this.a+"'"));r.ji(o,v=y),this.$k()&&(f=l(y,52),p=m.Qh(t,this.b?Ur(m.Ah(),this.b):-1-Ur(t.Ah(),this.e),null,null),!f.Mh()&&(p=f.Oh(t,this.b?Ur(f.Ah(),this.b):-1-Ur(t.Ah(),this.e),null,p)),p&&p.mj()),t.sh()&&t.th()&&hr(t,new N3(t,9,this.e,m,y))}return v}else return v},h.xk=function(t,r,o,a,u){var f,p;return p=r.ii(o),be(p)===be(Lh)&&(p=null),r.ji(o,a),this.Kj()?be(p)!==be(a)&&p!=null&&(f=l(p,52),u=f.Qh(t,Ur(f.Ah(),this.b),null,u)):this.$k()&&p!=null&&(u=l(p,52).Qh(t,-1-Ur(t.Ah(),this.e),null,u)),t.sh()&&t.th()&&(!u&&(u=new Qg(4)),u.lj(new N3(t,1,this.e,p,a))),u},h.yk=function(t,r,o,a,u){var f;return f=r.ii(o),be(f)===be(Lh)&&(f=null),r.ki(o),t.sh()&&t.th()&&(!u&&(u=new Qg(4)),this.rk()?u.lj(new N3(t,2,this.e,f,null)):u.lj(new N3(t,1,this.e,f,null))),u},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null},h.Ak=function(t,r,o,a){var u,f,p,m,y;if(a!=null&&!AJ(this.a,a))throw Y(new MA(ZF+(ae(a,57)?Abe(l(a,57).Ah()):Gpe(rc(a)))+QF+this.a+"'"));y=r.ii(o),m=y!=null,this.rk()&&be(y)===be(Lh)&&(y=null),p=null,this.Kj()?be(y)!==be(a)&&(y!=null&&(u=l(y,52),p=u.Qh(t,Ur(u.Ah(),this.b),null,p)),a!=null&&(u=l(a,52),p=u.Oh(t,Ur(u.Ah(),this.b),null,p))):this.$k()&&be(y)!==be(a)&&(y!=null&&(p=l(y,52).Qh(t,-1-Ur(t.Ah(),this.e),null,p)),a!=null&&(p=l(a,52).Oh(t,-1-Ur(t.Ah(),this.e),null,p))),a==null&&this.rk()?r.ji(o,Lh):r.ji(o,a),t.sh()&&t.th()?(f=new vW(t,1,this.e,y,a,this.rk()&&!m),p?(p.lj(f),p.mj()):hr(t,f)):p&&p.mj()},h.Ck=function(t,r,o){var a,u,f,p,m;m=r.ii(o),p=m!=null,this.rk()&&be(m)===be(Lh)&&(m=null),f=null,m!=null&&(this.Kj()?(a=l(m,52),f=a.Qh(t,Ur(a.Ah(),this.b),null,f)):this.$k()&&(f=l(m,52).Qh(t,-1-Ur(t.Ah(),this.e),null,f))),r.ki(o),t.sh()&&t.th()?(u=new vW(t,this.rk()?2:1,this.e,m,null,p),f?(f.lj(u),f.mj()):hr(t,u)):f&&f.mj()},h.Kj=function(){return!1},h.$k=function(){return!1},h._k=function(){return!1},h.rk=function(){return!1},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",407),_(568,407,{},EV),h.$k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",568),_(1325,568,{},tit),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1325),_(780,568,{},Fde),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",780),_(1327,780,{},nit),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1327),_(645,568,{},PV),h.Kj=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",645),_(1326,645,{},uot),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1326),_(781,645,{},Tfe),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",781),_(1328,781,{},cot),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1328),_(646,407,{},$de),h._k=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",646),_(1329,646,{},iit),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1329),_(782,646,{},Efe),h.Kj=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",782),_(1330,782,{},lot),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1330),_(1323,407,{},rit),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1323),_(779,407,{},Sfe),h.Kj=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",779),_(1324,779,{},dot),h.rk=function(){return!0},k(Gt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1324),_(783,569,XF,phe),h.wl=function(t){return new phe(this.a,this.c,t)},h.kd=function(){return this.b},h.xl=function(t,r,o){return vdn(this,t,this.b,o)},h.yl=function(t,r,o){return Edn(this,t,this.b,o)},k(Gt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",783),_(1331,1,yQ,iZe),h.Dk=function(t){return this.a},h.Oj=function(){return ae(this.a,98)?l(this.a,98).Oj():!this.a.dc()},h.Wb=function(t){this.a.$b(),this.a.Fc(l(t,16))},h.Ek=function(){ae(this.a,98)?l(this.a,98).Ek():this.a.$b()},k(Gt,"EStructuralFeatureImpl/SettingMany",1331),_(1332,569,XF,Bct),h.vl=function(t){return new xV((Tr(),j4),this.b.oi(this.a,t))},h.kd=function(){return null},h.xl=function(t,r,o){return o},h.yl=function(t,r,o){return o},k(Gt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1332),_(647,569,XF,xV),h.vl=function(t){return new xV(this.c,t)},h.kd=function(){return this.a},h.xl=function(t,r,o){return o},h.yl=function(t,r,o){return o},k(Gt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",647),_(399,495,Vf,NA),h.$i=function(t){return we(Ol,Rt,29,t,0,1)},h.Wi=function(){return!1},k(Gt,"ESuperAdapter/1",399),_(449,444,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,842:1,52:1,101:1,162:1,449:1,118:1,119:1},LG),h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new A3(this,Go,this)),this.a}return qc(this,t-ln((_t(),fw)),Nt((a=l(Vt(this,16),29),a||fw),t),r,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),_o(this.Ab,t,o);case 2:return!this.a&&(this.a=new A3(this,Go,this)),_o(this.a,t,o)}return u=l(Nt((a=l(Vt(this,16),29),a||(_t(),fw)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),fw)),t,o)},h.Th=function(t){var r;switch(t){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 zc(this,t-ln((_t(),fw)),Nt((r=l(Vt(this,16),29),r||fw),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:!this.a&&(this.a=new A3(this,Go,this)),vn(this.a),!this.a&&(this.a=new A3(this,Go,this)),ti(this.a,l(r,18));return}Xc(this,t-ln((_t(),fw)),Nt((o=l(Vt(this,16),29),o||fw),t),r)},h.fi=function(){return _t(),fw},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:!this.a&&(this.a=new A3(this,Go,this)),vn(this.a);return}Jc(this,t-ln((_t(),fw)),Nt((r=l(Vt(this,16),29),r||fw),t))},k(Gt,"ETypeParameterImpl",449),_(450,82,ws,A3),h.Lj=function(t,r){return gwn(this,l(t,88),r)},h.Mj=function(t,r){return bwn(this,l(t,88),r)},k(Gt,"ETypeParameterImpl/1",450),_(644,44,DE,rq),h.ec=function(){return new N9(this)},k(Gt,"ETypeParameterImpl/2",644),_(564,tf,wu,N9),h.Ec=function(t){return Fit(this,l(t,88))},h.Fc=function(t){var r,o,a;for(a=!1,o=t.Jc();o.Ob();)r=l(o.Pb(),88),Jn(this.a,r,"")==null&&(a=!0);return a},h.$b=function(){Zs(this.a)},h.Gc=function(t){return ma(this.a,t)},h.Jc=function(){var t;return t=new dy(new Dw(this.a).a),new C9(t)},h.Kc=function(t){return Nlt(this,t)},h.gc=function(){return WN(this.a)},k(Gt,"ETypeParameterImpl/2/1",564),_(565,1,Wi,C9),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(gE(this.a).jd(),88)},h.Ob=function(){return this.a.b},h.Qb=function(){Bdt(this.a)},k(Gt,"ETypeParameterImpl/2/1/1",565),_(1293,44,DE,WZe),h._b=function(t){return zi(t)?SW(this,t):!!ts(this.f,t)},h.xc=function(t){var r,o;return r=zi(t)?wa(this,t):Ss(ts(this.f,t)),ae(r,843)?(o=l(r,843),r=o.Ik(),Jn(this,l(t,244),r),r):r??(t==null?(Sq(),pLt):null)},k(Gt,"EValidatorRegistryImpl",1293),_(1315,717,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,2019:1,52:1,101:1,162:1,118:1,119:1},yqe),h.oi=function(t,r){switch(t.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 r==null?null:ms(r);case 25:return Ifn(r);case 27:return qdn(r);case 28:return Vdn(r);case 29:return r==null?null:srt(R4[0],l(r,208));case 41:return r==null?"":Ab(l(r,299));case 42:return ms(r);case 50:return In(r);default:throw Y(new jt(Dx+t.ve()+W0))}},h.pi=function(t){var r,o,a,u,f,p,m,y,v,T,N,O,M,U,z,J;switch(t.G==-1&&(t.G=(O=mc(t),O?gg(O.si(),t):-1)),t.G){case 0:return o=new eq,o;case 1:return r=new Hue,r;case 2:return a=new Wue,a;case 4:return u=new I9,u;case 5:return f=new VZe,f;case 6:return p=new cZe,p;case 7:return m=new Vue,m;case 10:return v=new y9,v;case 11:return T=new tq,T;case 12:return N=new Oat,N;case 13:return M=new nq,M;case 14:return U=new Hde,U;case 17:return z=new cqe,z;case 18:return y=new Ym,y;case 19:return J=new LG,J;default:throw Y(new jt(rQ+t.zb+W0))}},h.qi=function(t,r){switch(t.fk()){case 20:return r==null?null:new ale(r);case 21:return r==null?null:new o1(r);case 23:case 22:return r==null?null:C1n(r);case 26:case 24:return r==null?null:p6(Ec(r,-128,127)<<24>>24);case 25:return REn(r);case 27:return hmn(r);case 28:return pmn(r);case 29:return Mwn(r);case 32:case 31:return r==null?null:vy(r);case 38:case 37:return r==null?null:new Ice(r);case 40:case 39:return r==null?null:Re(Ec(r,Qi,sr));case 41:return null;case 42:return r==null,null;case 44:case 43:return r==null?null:my(Z7(r));case 49:case 48:return r==null?null:D_(Ec(r,e$,32767)<<16>>16);case 50:return r;default:throw Y(new jt(Dx+t.ve()+W0))}},k(Gt,"EcoreFactoryImpl",1315),_(552,187,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,2017:1,52:1,101:1,162:1,187:1,552:1,118:1,119:1,687:1},Qst),h.gb=!1,h.hb=!1;var $3e,hLt=!1;k(Gt,"EcorePackageImpl",552),_(1211,1,{843:1},vqe),h.Ik=function(){return Lrt(),gLt},k(Gt,"EcorePackageImpl/1",1211),_(1220,1,tr,Eqe),h.dk=function(t){return ae(t,159)},h.ek=function(t){return we(r5,Rt,159,t,0,1)},k(Gt,"EcorePackageImpl/10",1220),_(1221,1,tr,Sqe),h.dk=function(t){return ae(t,199)},h.ek=function(t){return we(Ire,Rt,199,t,0,1)},k(Gt,"EcorePackageImpl/11",1221),_(1222,1,tr,Tqe),h.dk=function(t){return ae(t,57)},h.ek=function(t){return we(Y1,Rt,57,t,0,1)},k(Gt,"EcorePackageImpl/12",1222),_(1223,1,tr,Aqe),h.dk=function(t){return ae(t,408)},h.ek=function(t){return we(Dl,CEe,62,t,0,1)},k(Gt,"EcorePackageImpl/13",1223),_(1224,1,tr,_qe),h.dk=function(t){return ae(t,244)},h.ek=function(t){return we(Dd,Rt,244,t,0,1)},k(Gt,"EcorePackageImpl/14",1224),_(1225,1,tr,xqe),h.dk=function(t){return ae(t,507)},h.ek=function(t){return we(lw,Rt,2095,t,0,1)},k(Gt,"EcorePackageImpl/15",1225),_(1226,1,tr,kqe),h.dk=function(t){return ae(t,104)},h.ek=function(t){return we(mv,UE,20,t,0,1)},k(Gt,"EcorePackageImpl/16",1226),_(1227,1,tr,Nqe),h.dk=function(t){return ae(t,182)},h.ek=function(t){return we(au,UE,182,t,0,1)},k(Gt,"EcorePackageImpl/17",1227),_(1228,1,tr,Cqe),h.dk=function(t){return ae(t,473)},h.ek=function(t){return we(gv,Rt,473,t,0,1)},k(Gt,"EcorePackageImpl/18",1228),_(1229,1,tr,Iqe),h.dk=function(t){return ae(t,553)},h.ek=function(t){return we(zs,MAt,553,t,0,1)},k(Gt,"EcorePackageImpl/19",1229),_(1212,1,tr,Rqe),h.dk=function(t){return ae(t,336)},h.ek=function(t){return we(bv,UE,38,t,0,1)},k(Gt,"EcorePackageImpl/2",1212),_(1230,1,tr,Oqe),h.dk=function(t){return ae(t,251)},h.ek=function(t){return we(Go,ZAt,88,t,0,1)},k(Gt,"EcorePackageImpl/20",1230),_(1231,1,tr,Dqe),h.dk=function(t){return ae(t,449)},h.ek=function(t){return we(Ka,Rt,842,t,0,1)},k(Gt,"EcorePackageImpl/21",1231),_(1232,1,tr,Lqe),h.dk=function(t){return Bw(t)},h.ek=function(t){return we(Yr,Pe,476,t,8,1)},k(Gt,"EcorePackageImpl/22",1232),_(1233,1,tr,Mqe),h.dk=function(t){return ae(t,198)},h.ek=function(t){return we(Eu,Pe,198,t,0,2)},k(Gt,"EcorePackageImpl/23",1233),_(1234,1,tr,Pqe),h.dk=function(t){return ae(t,224)},h.ek=function(t){return we(ET,Pe,224,t,0,1)},k(Gt,"EcorePackageImpl/24",1234),_(1235,1,tr,jqe),h.dk=function(t){return ae(t,183)},h.ek=function(t){return we(mI,Pe,183,t,0,1)},k(Gt,"EcorePackageImpl/25",1235),_(1236,1,tr,Fqe),h.dk=function(t){return ae(t,208)},h.ek=function(t){return we(l$,Pe,208,t,0,1)},k(Gt,"EcorePackageImpl/26",1236),_(1237,1,tr,$qe),h.dk=function(t){return!1},h.ek=function(t){return we(rCe,Rt,2191,t,0,1)},k(Gt,"EcorePackageImpl/27",1237),_(1238,1,tr,Bqe),h.dk=function(t){return Uw(t)},h.ek=function(t){return we(fi,Pe,347,t,7,1)},k(Gt,"EcorePackageImpl/28",1238),_(1239,1,tr,Uqe),h.dk=function(t){return ae(t,61)},h.ek=function(t){return we(w3e,Oy,61,t,0,1)},k(Gt,"EcorePackageImpl/29",1239),_(1213,1,tr,Hqe),h.dk=function(t){return ae(t,508)},h.ek=function(t){return we(Kn,{3:1,4:1,5:1,2012:1},594,t,0,1)},k(Gt,"EcorePackageImpl/3",1213),_(1240,1,tr,zqe),h.dk=function(t){return ae(t,575)},h.ek=function(t){return we(E3e,Rt,2018,t,0,1)},k(Gt,"EcorePackageImpl/30",1240),_(1241,1,tr,Gqe),h.dk=function(t){return ae(t,164)},h.ek=function(t){return we(G3e,Oy,164,t,0,1)},k(Gt,"EcorePackageImpl/31",1241),_(1242,1,tr,qqe),h.dk=function(t){return ae(t,76)},h.ek=function(t){return we(TU,a_t,76,t,0,1)},k(Gt,"EcorePackageImpl/32",1242),_(1243,1,tr,Vqe),h.dk=function(t){return ae(t,165)},h.ek=function(t){return we(Ux,Pe,165,t,0,1)},k(Gt,"EcorePackageImpl/33",1243),_(1244,1,tr,Wqe),h.dk=function(t){return ae(t,15)},h.ek=function(t){return we(Ti,Pe,15,t,0,1)},k(Gt,"EcorePackageImpl/34",1244),_(1245,1,tr,Kqe),h.dk=function(t){return ae(t,299)},h.ek=function(t){return we(HEe,Rt,299,t,0,1)},k(Gt,"EcorePackageImpl/35",1245),_(1246,1,tr,Yqe),h.dk=function(t){return ae(t,192)},h.ek=function(t){return we(Y0,Pe,192,t,0,1)},k(Gt,"EcorePackageImpl/36",1246),_(1247,1,tr,Jqe),h.dk=function(t){return ae(t,93)},h.ek=function(t){return we(zEe,Rt,93,t,0,1)},k(Gt,"EcorePackageImpl/37",1247),_(1248,1,tr,Xqe),h.dk=function(t){return ae(t,595)},h.ek=function(t){return we(B3e,Rt,595,t,0,1)},k(Gt,"EcorePackageImpl/38",1248),_(1249,1,tr,Zqe),h.dk=function(t){return!1},h.ek=function(t){return we(iCe,Rt,2192,t,0,1)},k(Gt,"EcorePackageImpl/39",1249),_(1214,1,tr,Qqe),h.dk=function(t){return ae(t,89)},h.ek=function(t){return we(Ol,Rt,29,t,0,1)},k(Gt,"EcorePackageImpl/4",1214),_(1250,1,tr,eVe),h.dk=function(t){return ae(t,193)},h.ek=function(t){return we(J0,Pe,193,t,0,1)},k(Gt,"EcorePackageImpl/40",1250),_(1251,1,tr,tVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Gt,"EcorePackageImpl/41",1251),_(1252,1,tr,nVe),h.dk=function(t){return ae(t,592)},h.ek=function(t){return we(v3e,Rt,592,t,0,1)},k(Gt,"EcorePackageImpl/42",1252),_(1253,1,tr,rVe),h.dk=function(t){return!1},h.ek=function(t){return we(oCe,Pe,2193,t,0,1)},k(Gt,"EcorePackageImpl/43",1253),_(1254,1,tr,iVe),h.dk=function(t){return ae(t,45)},h.ek=function(t){return we(dm,tF,45,t,0,1)},k(Gt,"EcorePackageImpl/44",1254),_(1215,1,tr,oVe),h.dk=function(t){return ae(t,146)},h.ek=function(t){return we(Ld,Rt,146,t,0,1)},k(Gt,"EcorePackageImpl/5",1215),_(1216,1,tr,sVe),h.dk=function(t){return ae(t,160)},h.ek=function(t){return we(Pre,Rt,160,t,0,1)},k(Gt,"EcorePackageImpl/6",1216),_(1217,1,tr,aVe),h.dk=function(t){return ae(t,462)},h.ek=function(t){return we(SU,Rt,682,t,0,1)},k(Gt,"EcorePackageImpl/7",1217),_(1218,1,tr,uVe),h.dk=function(t){return ae(t,575)},h.ek=function(t){return we(Op,Rt,691,t,0,1)},k(Gt,"EcorePackageImpl/8",1218),_(1219,1,tr,cVe),h.dk=function(t){return ae(t,472)},h.ek=function(t){return we(I4,Rt,472,t,0,1)},k(Gt,"EcorePackageImpl/9",1219),_(1030,2059,LAt,mQe),h.Ki=function(t,r){ugn(this,l(r,420))},h.Oi=function(t,r){Fmt(this,t,l(r,420))},k(Gt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1030),_(1031,152,qD,Hst),h.hj=function(){return this.a.a},k(Gt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1031),_(1058,1057,{},Xnt),k("org.eclipse.emf.ecore.plugin","EcorePlugin",1058);var B3e=Hr(u_t,"Resource");_(793,1502,c_t),h.Fl=function(t){},h.Gl=function(t){},h.Cl=function(){return!this.a&&(this.a=new KG(this)),this.a},h.Dl=function(t){var r,o,a,u,f;if(a=t.length,a>0)if(Yt(0,t.length),t.charCodeAt(0)==47){for(f=new Da(4),u=1,r=1;r<a;++r)Yt(r,t.length),t.charCodeAt(r)==47&&(Fe(f,u==r?"":(io(u,r,t.length),t.substr(u,r-u))),u=r+1);return Fe(f,(Yt(u,t.length+1),t.substr(u))),a0n(this,f)}else Yt(a-1,t.length),t.charCodeAt(a-1)==63&&(o=lfe(t,Qa(63),a-2),o>0&&(t=(io(0,o,t.length),t.substr(0,o))));return Svn(this,t)},h.El=function(){return this.c},h.Ib=function(){var t;return Ab(this.Pm)+"@"+(t=Rr(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},h.b=!1,k(vQ,"ResourceImpl",793),_(1503,793,c_t,oZe),k(vQ,"BinaryResourceImpl",1503),_(1171,704,pQ),h._i=function(t){return ae(t,57)?Gan(this,l(t,57)):ae(t,595)?new tn(l(t,595).Cl()):be(t)===be(this.f)?l(t,18).Jc():(JA(),c5.a)},h.Ob=function(){return wme(this)},h.a=!1,k(Fr,"EcoreUtil/ContentTreeIterator",1171),_(1504,1171,pQ,mst),h._i=function(t){return be(t)===be(this.f)?l(t,16).Jc():new Tct(l(t,57))},k(vQ,"ResourceImpl/5",1504),_(654,2071,XAt,KG),h.Gc=function(t){return this.i<=4?q_(this,t):ae(t,52)&&l(t,52).Gh()==this.a},h.Ki=function(t,r){t==this.i-1&&(this.a.b||(this.a.b=!0))},h.Mi=function(t,r){t==0?this.a.b||(this.a.b=!0):XW(this,t,r)},h.Oi=function(t,r){},h.Pi=function(t,r,o){},h.Jj=function(){return 2},h.hj=function(){return this.a},h.Kj=function(){return!0},h.Lj=function(t,r){var o;return o=l(t,52),r=o.ci(this.a,r),r},h.Mj=function(t,r){var o;return o=l(t,52),o.ci(null,r)},h.Nj=function(){return!1},h.Qi=function(){return!0},h.$i=function(t){return we(Y1,Rt,57,t,0,1)},h.Wi=function(){return!1},k(vQ,"ResourceImpl/ContentsEList",654),_(962,2041,lx,sZe),h.dd=function(t){return this.a.Ii(t)},h.gc=function(){return this.a.gc()},k(Fr,"AbstractSequentialInternalEList/1",962);var U3e,H3e,ao,z3e;_(632,1,{},xot);var AU,_U;k(Fr,"BasicExtendedMetaData",632),_(1162,1,{},mnt),h.Hl=function(){return null},h.Il=function(){return this.a==-2&&kZt(this,Nwn(this.d,this.b)),this.a},h.Jl=function(){return null},h.Kl=function(){return At(),At(),Co},h.ve=function(){return this.c==jx&&NZt(this,n1t(this.d,this.b)),this.c},h.Ll=function(){return 0},h.a=-2,h.c=jx,k(Fr,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1162),_(1163,1,{},Yut),h.Hl=function(){return this.a==(h_(),AU)&&RZt(this,bTn(this.f,this.b)),this.a},h.Il=function(){return 0},h.Jl=function(){return this.c==(h_(),AU)&&CZt(this,mTn(this.f,this.b)),this.c},h.Kl=function(){return!this.d&&DZt(this,e_n(this.f,this.b)),this.d},h.ve=function(){return this.e==jx&&MZt(this,n1t(this.f,this.b)),this.e},h.Ll=function(){return this.g==-2&&jZt(this,K0n(this.f,this.b)),this.g},h.e=jx,h.g=-2,k(Fr,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1163),_(1161,1,{},ynt),h.b=!1,h.c=!1,k(Fr,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1161),_(1164,1,{},Jut),h.c=-2,h.e=jx,h.f=jx,k(Fr,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1164),_(588,630,ws,Z8),h.Jj=function(){return this.c},h.ml=function(){return!1},h.Ui=function(t,r){return r},h.c=0,k(Fr,"EDataTypeEList",588);var G3e=Hr(Fr,"FeatureMap");_(77,588,{3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,164:1,222:1,2015:1,72:1,98:1},ni),h._c=function(t,r){j2n(this,t,l(r,76))},h.Ec=function(t){return e2n(this,l(t,76))},h.Fi=function(t){Vsn(this,l(t,76))},h.Lj=function(t,r){return crn(this,l(t,76),r)},h.Mj=function(t,r){return ffe(this,l(t,76),r)},h.Ri=function(t,r){return aAn(this,t,r)},h.Ui=function(t,r){return Xxn(this,t,l(r,76))},h.fd=function(t,r){return SSn(this,t,l(r,76))},h.Sj=function(t,r){return lrn(this,l(t,76),r)},h.Tj=function(t,r){return qit(this,l(t,76),r)},h.Uj=function(t,r,o){return F0n(this,l(t,76),l(r,76),o)},h.Xi=function(t,r){return GY(this,t,l(r,76))},h.Ml=function(t,r){return f0e(this,t,r)},h.ad=function(t,r){var o,a,u,f,p,m,y,v,T;for(v=new w0(r.gc()),u=r.Jc();u.Ob();)if(a=l(u.Pb(),76),f=a.Jk(),wp(this.e,f))(!f.Qi()||!HP(this,f,a.kd())&&!q_(v,a))&&Tn(v,a);else{for(T=za(this.e.Ah(),f),o=l(this.g,123),p=!0,m=0;m<this.i;++m)if(y=o[m],T.$l(y.Jk())){l(EE(this,m,a),76),p=!1;break}p&&Tn(v,a)}return Oge(this,t,v)},h.Fc=function(t){var r,o,a,u,f,p,m,y,v;for(y=new w0(t.gc()),a=t.Jc();a.Ob();)if(o=l(a.Pb(),76),u=o.Jk(),wp(this.e,u))(!u.Qi()||!HP(this,u,o.kd())&&!q_(y,o))&&Tn(y,o);else{for(v=za(this.e.Ah(),u),r=l(this.g,123),f=!0,p=0;p<this.i;++p)if(m=r[p],v.$l(m.Jk())){l(EE(this,p,o),76),f=!1;break}f&&Tn(y,o)}return ti(this,y)},h.Di=function(t){return this.j=-1,_J(this,this.i,t)},h.Nl=function(t,r,o){return i0e(this,t,r,o)},h.Vk=function(t,r){return aD(this,t,r)},h.Ol=function(t,r,o){return D0e(this,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return lD(this,t,r)},h.Rl=function(t){return l(oe(this,t),76).Jk()},h.Sl=function(t){return l(oe(this,t),76).kd()},h.Tl=function(){return this.b},h.Kj=function(){return!0},h.Rj=function(){return!0},h.Ul=function(t){return!F6(this,t)},h.$i=function(t){return we(fLt,a_t,345,t,0,1)},h.nl=function(t){return SV(this,t)},h.Wb=function(t){VO(this,t)},h.Vl=function(t,r){K7(this,t,r)},h.Wl=function(t){return rht(this,t)},h.Xl=function(t){U1t(this,t)},k(Fr,"BasicFeatureMap",77),_(1939,1,vh),h.Nb=function(t){so(this,t)},h.Rb=function(t){if(this.g==-1)throw Y(new lu);pP(this);try{Mwt(this.e,this.b,this.a,t),this.d=this.e.j,a7(this)}catch(r){throw r=ci(r),ae(r,99)?Y(new $c):Y(r)}},h.Ob=function(){return UK(this)},h.Sb=function(){return Mpt(this)},h.Pb=function(){return a7(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(Mpt(this))return pP(this),this.g=--this.a,this.sl()&&(t=TC(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw Y(new vs)},h.Vb=function(){return this.a-1},h.Qb=function(){if(this.g==-1)throw Y(new lu);pP(this);try{Tmt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw t=ci(t),ae(t,99)?Y(new $c):Y(t)}},h.sl=function(){return!1},h.Wb=function(t){if(this.g==-1)throw Y(new lu);pP(this);try{cvt(this.e,this.b,this.g,t),this.d=this.e.j}catch(r){throw r=ci(r),ae(r,99)?Y(new $c):Y(r)}},h.a=0,h.c=0,h.d=0,h.f=!1,h.g=0,h.i=0,k(Fr,"FeatureMapUtil/BasicFeatureEIterator",1939),_(417,1939,vh,A_),h.Yl=function(){var t,r,o;for(o=this.e.i,t=l(this.e.g,123);this.c<o;){if(r=t[this.c],this.k.$l(r.Jk()))return this.j=this.f?r:r.kd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},h.Zl=function(){var t,r;for(t=l(this.e.g,123);--this.c>=0;)if(r=t[this.c],this.k.$l(r.Jk()))return this.j=this.f?r:r.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},k(Fr,"BasicFeatureMap/FeatureEIterator",417),_(673,417,vh,oV),h.sl=function(){return!0},k(Fr,"BasicFeatureMap/ResolvingFeatureEIterator",673),_(960,485,YF,lrt),h.nj=function(){return this},k(Fr,"EContentsEList/1",960),_(961,485,YF,Dnt),h.sl=function(){return!1},k(Fr,"EContentsEList/2",961),_(959,289,JF,drt),h.ul=function(t){},h.Ob=function(){return!1},h.Sb=function(){return!1},k(Fr,"EContentsEList/FeatureIteratorImpl/1",959),_(832,588,ws,yde),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Ju(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EDataTypeEList/Unsettable",832),_(1937,588,ws,yrt),h.Qi=function(){return!0},k(Fr,"EDataTypeUniqueEList",1937),_(1938,832,ws,mrt),h.Qi=function(){return!0},k(Fr,"EDataTypeUniqueEList/Unsettable",1938),_(147,82,ws,du),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentEList/Resolving",147),_(1165,547,ws,brt),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentEList/Unsettable/Resolving",1165),_(760,14,ws,ofe),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Ju(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EObjectContainmentWithInverseEList/Unsettable",760),_(1199,760,ws,Oit),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1199),_(752,494,ws,wde),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Ju(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EObjectEList/Unsettable",752),_(340,494,ws,oE),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectResolvingEList",340),_(1842,752,ws,wrt),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectResolvingEList/Unsettable",1842),_(1505,1,{},lVe);var pLt;k(Fr,"EObjectValidator",1505),_(551,494,ws,mP),h.gl=function(){return this.d},h.hl=function(){return this.b},h.Kj=function(){return!0},h.kl=function(){return!0},h.b=0,k(Fr,"EObjectWithInverseEList",551),_(1202,551,ws,Dit),h.jl=function(){return!0},k(Fr,"EObjectWithInverseEList/ManyInverse",1202),_(633,551,ws,kV),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Ju(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EObjectWithInverseEList/Unsettable",633),_(1201,633,ws,Lit),h.jl=function(){return!0},k(Fr,"EObjectWithInverseEList/Unsettable/ManyInverse",1201),_(761,551,ws,sfe),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectWithInverseResolvingEList",761),_(31,761,ws,Tt),h.jl=function(){return!0},k(Fr,"EObjectWithInverseResolvingEList/ManyInverse",31),_(762,633,ws,afe),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectWithInverseResolvingEList/Unsettable",762),_(1200,762,ws,Mit),h.jl=function(){return!0},k(Fr,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1200),_(1166,630,ws),h.Ji=function(){return(this.b&1792)==0},h.Li=function(){this.b|=1},h.il=function(){return(this.b&4)!=0},h.Kj=function(){return(this.b&40)!=0},h.jl=function(){return(this.b&16)!=0},h.kl=function(){return(this.b&8)!=0},h.ll=function(){return(this.b&yp)!=0},h.$k=function(){return(this.b&32)!=0},h.ml=function(){return(this.b&Tl)!=0},h.dk=function(t){return this.d?Rct(this.d,t):this.Jk().Fk().dk(t)},h.Oj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},h.Qi=function(){return(this.b&128)!=0},h.Ek=function(){var t;vn(this),this.b&2&&(Ju(this.e)?(t=(this.b&1)!=0,this.b&=-2,LA(this,new Vl(this.e,2,Ur(this.e.Ah(),this.Jk()),t,!1))):this.b&=-2)},h.Wi=function(){return(this.b&1536)==0},h.b=0,k(Fr,"EcoreEList/Generic",1166),_(1167,1166,ws,Rat),h.Jk=function(){return this.a},k(Fr,"EcoreEList/Dynamic",1167),_(759,67,Vf,_ce),h.$i=function(t){return y6(this.a.a,t)},k(Fr,"EcoreEMap/1",759),_(758,82,ws,the),h.Ki=function(t,r){c7(this.b,l(r,138))},h.Mi=function(t,r){jht(this.b)},h.Ni=function(t,r,o){var a;++(a=this.b,l(r,138),a).e},h.Oi=function(t,r){ZK(this.b,l(r,138))},h.Pi=function(t,r,o){ZK(this.b,l(o,138)),be(o)===be(r)&&l(o,138).zi(gtn(l(r,138).jd())),c7(this.b,l(r,138))},k(Fr,"EcoreEMap/DelegateEObjectContainmentEList",758),_(1197,145,NEe,Wft),k(Fr,"EcoreEMap/Unsettable",1197),_(1198,758,ws,Pit),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Ju(this.e)?(t=this.a,this.a=!1,hr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1198),_(1170,226,DE,jst),h.a=!1,h.b=!1,k(Fr,"EcoreUtil/Copier",1170),_(754,1,Wi,Tct),h.Nb=function(t){so(this,t)},h.Ob=function(){return Pgt(this)},h.Pb=function(){var t;return Pgt(this),t=this.b,this.b=null,t},h.Qb=function(){this.a.Qb()},k(Fr,"EcoreUtil/ProperContentIterator",754),_(1506,1505,{},dKe);var gLt;k(Fr,"EcoreValidator",1506);var bLt;Hr(Fr,"FeatureMapUtil/Validator"),_(1270,1,{2020:1},dVe),h.$l=function(t){return!0},k(Fr,"FeatureMapUtil/1",1270),_(767,1,{2020:1},q0e),h.$l=function(t){var r;return this.c==t?!0:(r=Ke(Ht(this.a,t)),r==null?STn(this,t)?(ylt(this.a,t,(Lt(),Bx)),!0):(ylt(this.a,t,(Lt(),D1)),!1):r==(Lt(),Bx))},h.e=!1;var Bre;k(Fr,"FeatureMapUtil/BasicValidator",767),_(768,44,DE,gde),k(Fr,"FeatureMapUtil/BasicValidator/Cache",768),_(499,56,{22:1,32:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},xO),h._c=function(t,r){Mwt(this.c,this.b,t,r)},h.Ec=function(t){return f0e(this.c,this.b,t)},h.ad=function(t,r){return z_n(this.c,this.b,t,r)},h.Fc=function(t){return m3(this,t)},h.Ei=function(t,r){bfn(this.c,this.b,t,r)},h.Uk=function(t,r){return i0e(this.c,this.b,t,r)},h.Yi=function(t){return W7(this.c,this.b,t,!1)},h.Gi=function(){return Wnt(this.c,this.b)},h.Hi=function(){return Zen(this.c,this.b)},h.Ii=function(t){return Sdn(this.c,this.b,t)},h.Vk=function(t,r){return wit(this,t,r)},h.$b=function(){iS(this)},h.Gc=function(t){return HP(this.c,this.b,t)},h.Hc=function(t){return vhn(this.c,this.b,t)},h.Xb=function(t){return W7(this.c,this.b,t,!0)},h.Dk=function(t){return this},h.bd=function(t){return Oln(this.c,this.b,t)},h.dc=function(){return x8(this)},h.Oj=function(){return!F6(this.c,this.b)},h.Jc=function(){return nfn(this.c,this.b)},h.cd=function(){return rfn(this.c,this.b)},h.dd=function(t){return Agn(this.c,this.b,t)},h.Ri=function(t,r){return Qyt(this.c,this.b,t,r)},h.Si=function(t,r){Adn(this.c,this.b,t,r)},h.ed=function(t){return Tmt(this.c,this.b,t)},h.Kc=function(t){return VTn(this.c,this.b,t)},h.fd=function(t,r){return cvt(this.c,this.b,t,r)},h.Wb=function(t){N7(this.c,this.b),m3(this,l(t,16))},h.gc=function(){return _gn(this.c,this.b)},h.Nc=function(){return Rcn(this.c,this.b)},h.Oc=function(t){return Dln(this.c,this.b,t)},h.Ib=function(){var t,r;for(r=new Xp,r.a+="[",t=Wnt(this.c,this.b);UK(t);)Vo(r,y3(a7(t))),UK(t)&&(r.a+=ja);return r.a+="]",r.a},h.Ek=function(){N7(this.c,this.b)},k(Fr,"FeatureMapUtil/FeatureEList",499),_(641,40,qD,UW),h.fj=function(t){return sC(this,t)},h.kj=function(t){var r,o,a,u,f,p,m;switch(this.d){case 1:case 2:{if(f=t.hj(),be(f)===be(this.c)&&sC(this,null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0;break}case 3:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),be(f)===be(this.c)&&sC(this,null)==t.fj(null))return this.d=5,r=new w0(2),Tn(r,this.g),Tn(r,t.gj()),this.g=r,!0;break}}break}case 5:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),be(f)===be(this.c)&&sC(this,null)==t.fj(null))return o=l(this.g,18),o.Ec(t.gj()),!0;break}}break}case 4:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),be(f)===be(this.c)&&sC(this,null)==t.fj(null))return this.d=1,this.g=t.gj(),!0;break}case 4:{if(f=t.hj(),be(f)===be(this.c)&&sC(this,null)==t.fj(null))return this.d=6,m=new w0(2),Tn(m,this.n),Tn(m,t.ij()),this.n=m,p=Z(X(Rn,1),Qn,30,15,[this.o,t.jj()]),this.g=p,!0;break}}break}case 6:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),be(f)===be(this.c)&&sC(this,null)==t.fj(null))return o=l(this.n,18),o.Ec(t.ij()),p=l(this.g,54),a=we(Rn,Qn,30,p.length+1,15,1),ua(p,0,a,0,p.length),a[p.length]=t.jj(),this.g=a,!0;break}}break}}return!1},k(Fr,"FeatureMapUtil/FeatureENotificationImpl",641),_(560,499,{22:1,32:1,56:1,18:1,16:1,61:1,78:1,164:1,222:1,2015:1,72:1,98:1},nP),h.Ml=function(t,r){return f0e(this.c,t,r)},h.Nl=function(t,r,o){return i0e(this.c,t,r,o)},h.Ol=function(t,r,o){return D0e(this.c,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return lD(this.c,t,r)},h.Rl=function(t){return l(W7(this.c,this.b,t,!1),76).Jk()},h.Sl=function(t){return l(W7(this.c,this.b,t,!1),76).kd()},h.Tl=function(){return this.a},h.Ul=function(t){return!F6(this.c,t)},h.Vl=function(t,r){K7(this.c,t,r)},h.Wl=function(t){return rht(this.c,t)},h.Xl=function(t){U1t(this.c,t)},k(Fr,"FeatureMapUtil/FeatureFeatureMap",560),_(1269,1,yQ,wnt),h.Dk=function(t){return W7(this.b,this.a,-1,t)},h.Oj=function(){return!F6(this.b,this.a)},h.Wb=function(t){K7(this.b,this.a,t)},h.Ek=function(){N7(this.b,this.a)},k(Fr,"FeatureMapUtil/FeatureValue",1269);var JT,Ure,Hre,XT,mLt,d5=Hr(i$,"AnyType");_(677,63,vp,lq),k(i$,"InvalidDatatypeValueException",677);var xU=Hr(i$,d_t),f5=Hr(i$,f_t),q3e=Hr(i$,h_t),wLt,Ks,V3e,km,yLt,vLt,ELt,SLt,TLt,ALt,_Lt,xLt,kLt,NLt,CLt,y2,ILt,v2,M4,RLt,hw,h5,p5,OLt,P4,j4;_(836,505,{110:1,95:1,94:1,57:1,52:1,101:1,849:1},Bce),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.c&&(this.c=new ni(this,0)),this.c):(!this.c&&(this.c=new ni(this,0)),this.c.b);case 1:return o?(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)):(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Tl();case 2:return o?(!this.b&&(this.b=new ni(this,2)),this.b):(!this.b&&(this.b=new ni(this,2)),this.b.b)}return qc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t),r,o)},h.Rh=function(t,r,o){var a;switch(r){case 0:return!this.c&&(this.c=new ni(this,0)),aD(this.c,t,o);case 1:return(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),72)).Vk(t,o);case 2:return!this.b&&(this.b=new ni(this,2)),aD(this.b,t,o)}return a=l(Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),r),69),a.uk().yk(this,Upe(this),r-ln(this.fi()),t,o)},h.Th=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).dc();case 2:return!!this.b&&this.b.i!=0}return zc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t))},h.$h=function(t,r){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),VO(this.c,r);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Wb(r);return;case 2:!this.b&&(this.b=new ni(this,2)),VO(this.b,r);return}Xc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t),r)},h.fi=function(){return Tr(),V3e},h.hi=function(t){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),vn(this.c);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).$b();return;case 2:!this.b&&(this.b=new ni(this,2)),vn(this.b);return}Jc(this,t-ln(this.fi()),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (mixed: ",h3(t,this.c),t.a+=", anyAttribute: ",h3(t,this.b),t.a+=")",t.a)},k(Si,"AnyTypeImpl",836),_(678,505,{110:1,95:1,94:1,57:1,52:1,101:1,2098:1,678:1},TVe),h.Ih=function(t,r,o){switch(t){case 0:return this.a;case 1:return this.b}return qc(this,t-ln((Tr(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t),r,o)},h.Th=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return zc(this,t-ln((Tr(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t))},h.$h=function(t,r){switch(t){case 0:BZt(this,In(r));return;case 1:HZt(this,In(r));return}Xc(this,t-ln((Tr(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t),r)},h.fi=function(){return Tr(),y2},h.hi=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}Jc(this,t-ln((Tr(),y2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():y2,t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (data: ",Vo(t,this.a),t.a+=", target: ",Vo(t,this.b),t.a+=")",t.a)},h.a=null,h.b=null,k(Si,"ProcessingInstructionImpl",678),_(679,836,{110:1,95:1,94:1,57:1,52:1,101:1,849:1,2099:1,679:1},KZe),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.c&&(this.c=new ni(this,0)),this.c):(!this.c&&(this.c=new ni(this,0)),this.c.b);case 1:return o?(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)):(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Tl();case 2:return o?(!this.b&&(this.b=new ni(this,2)),this.b):(!this.b&&(this.b=new ni(this,2)),this.b.b);case 3:return!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0));case 4:return cfe(this.a,(!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0))));case 5:return this.a}return qc(this,t-ln((Tr(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t),r,o)},h.Th=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0))!=null;case 4:return cfe(this.a,(!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0))))!=null;case 5:return!!this.a}return zc(this,t-ln((Tr(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t))},h.$h=function(t,r){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),VO(this.c,r);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Wb(r);return;case 2:!this.b&&(this.b=new ni(this,2)),VO(this.b,r);return;case 3:Yhe(this,In(r));return;case 4:Yhe(this,ufe(this.a,r));return;case 5:UZt(this,l(r,160));return}Xc(this,t-ln((Tr(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t),r)},h.fi=function(){return Tr(),v2},h.hi=function(t){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),vn(this.c);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).$b();return;case 2:!this.b&&(this.b=new ni(this,2)),vn(this.b);return;case 3:!this.c&&(this.c=new ni(this,0)),K7(this.c,(Tr(),M4),null);return;case 4:Yhe(this,ufe(this.a,null));return;case 5:this.a=null;return}Jc(this,t-ln((Tr(),v2)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t))},k(Si,"SimpleAnyTypeImpl",679),_(680,505,{110:1,95:1,94:1,57:1,52:1,101:1,2100:1,680:1},YZe),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.a&&(this.a=new ni(this,0)),this.a):(!this.a&&(this.a=new ni(this,0)),this.a.b);case 1:return o?(!this.b&&(this.b=new pu((_t(),Ro),zs,this,1)),this.b):(!this.b&&(this.b=new pu((_t(),Ro),zs,this,1)),s6(this.b));case 2:return o?(!this.c&&(this.c=new pu((_t(),Ro),zs,this,2)),this.c):(!this.c&&(this.c=new pu((_t(),Ro),zs,this,2)),s6(this.c));case 3:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),h5));case 4:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),p5));case 5:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),P4));case 6:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),j4))}return qc(this,t-ln((Tr(),hw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t),r,o)},h.Rh=function(t,r,o){var a;switch(r){case 0:return!this.a&&(this.a=new ni(this,0)),aD(this.a,t,o);case 1:return!this.b&&(this.b=new pu((_t(),Ro),zs,this,1)),q8(this.b,t,o);case 2:return!this.c&&(this.c=new pu((_t(),Ro),zs,this,2)),q8(this.c,t,o);case 5:return!this.a&&(this.a=new ni(this,0)),wit(ya(this.a,(Tr(),P4)),t,o)}return a=l(Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():(Tr(),hw),r),69),a.uk().yk(this,Upe(this),r-ln((Tr(),hw)),t,o)},h.Th=function(t){switch(t){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 ni(this,0)),!x8(ya(this.a,(Tr(),h5)));case 4:return!this.a&&(this.a=new ni(this,0)),!x8(ya(this.a,(Tr(),p5)));case 5:return!this.a&&(this.a=new ni(this,0)),!x8(ya(this.a,(Tr(),P4)));case 6:return!this.a&&(this.a=new ni(this,0)),!x8(ya(this.a,(Tr(),j4)))}return zc(this,t-ln((Tr(),hw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t))},h.$h=function(t,r){switch(t){case 0:!this.a&&(this.a=new ni(this,0)),VO(this.a,r);return;case 1:!this.b&&(this.b=new pu((_t(),Ro),zs,this,1)),Cj(this.b,r);return;case 2:!this.c&&(this.c=new pu((_t(),Ro),zs,this,2)),Cj(this.c,r);return;case 3:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),h5))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,h5),l(r,18));return;case 4:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),p5))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,p5),l(r,18));return;case 5:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),P4))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,P4),l(r,18));return;case 6:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),j4))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,j4),l(r,18));return}Xc(this,t-ln((Tr(),hw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t),r)},h.fi=function(){return Tr(),hw},h.hi=function(t){switch(t){case 0:!this.a&&(this.a=new ni(this,0)),vn(this.a);return;case 1:!this.b&&(this.b=new pu((_t(),Ro),zs,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new pu((_t(),Ro),zs,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),h5)));return;case 4:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),p5)));return;case 5:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),P4)));return;case 6:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),j4)));return}Jc(this,t-ln((Tr(),hw)),Nt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (mixed: ",h3(t,this.a),t.a+=")",t.a)},k(Si,"XMLTypeDocumentRootImpl",680),_(2007,717,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1,2101:1},fVe),h.oi=function(t,r){switch(t.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 r==null?null:ms(r);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return In(r);case 6:return xnn(l(r,198));case 12:case 47:case 49:case 11:return Jvt(this,t,r);case 13:return r==null?null:Y_n(l(r,249));case 15:case 14:return r==null?null:jsn(ue(ce(r)));case 17:return Ibt((Tr(),r));case 18:return Ibt(r);case 21:case 20:return r==null?null:Fsn(l(r,165).a);case 27:return knn(l(r,198));case 30:return H1t((Tr(),l(r,16)));case 31:return H1t(l(r,16));case 40:return _nn((Tr(),r));case 42:return Rbt((Tr(),r));case 43:return Rbt(r);case 59:case 48:return Ann((Tr(),r));default:throw Y(new jt(Dx+t.ve()+W0))}},h.pi=function(t){var r,o,a,u,f;switch(t.G==-1&&(t.G=(o=mc(t),o?gg(o.si(),t):-1)),t.G){case 0:return r=new Bce,r;case 1:return a=new TVe,a;case 2:return u=new KZe,u;case 3:return f=new YZe,f;default:throw Y(new jt(rQ+t.zb+W0))}},h.qi=function(t,r){var o,a,u,f,p,m,y,v,T,N,O,M,U,z,J,ne;switch(t.fk()){case 5:case 52:case 4:return r;case 6:return ibn(r);case 8:case 7:return r==null?null:G0n(r);case 9:return r==null?null:p6(Ec((a=Ta(r,!0),a.length>0&&(Yt(0,a.length),a.charCodeAt(0)==43)?(Yt(1,a.length+1),a.substr(1)):a),-128,127)<<24>>24);case 10:return r==null?null:p6(Ec((u=Ta(r,!0),u.length>0&&(Yt(0,u.length),u.charCodeAt(0)==43)?(Yt(1,u.length+1),u.substr(1)):u),-128,127)<<24>>24);case 11:return In(P0(this,(Tr(),ELt),r));case 12:return In(P0(this,(Tr(),SLt),r));case 13:return r==null?null:new ale(Ta(r,!0));case 15:case 14:return r2n(r);case 16:return In(P0(this,(Tr(),TLt),r));case 17:return Ggt((Tr(),r));case 18:return Ggt(r);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Ta(r,!0);case 21:case 20:return h2n(r);case 22:return In(P0(this,(Tr(),ALt),r));case 23:return In(P0(this,(Tr(),_Lt),r));case 24:return In(P0(this,(Tr(),xLt),r));case 25:return In(P0(this,(Tr(),kLt),r));case 26:return In(P0(this,(Tr(),NLt),r));case 27:return K1n(r);case 30:return qgt((Tr(),r));case 31:return qgt(r);case 32:return r==null?null:Re(Ec((T=Ta(r,!0),T.length>0&&(Yt(0,T.length),T.charCodeAt(0)==43)?(Yt(1,T.length+1),T.substr(1)):T),Qi,sr));case 33:return r==null?null:new o1((N=Ta(r,!0),N.length>0&&(Yt(0,N.length),N.charCodeAt(0)==43)?(Yt(1,N.length+1),N.substr(1)):N));case 34:return r==null?null:Re(Ec((O=Ta(r,!0),O.length>0&&(Yt(0,O.length),O.charCodeAt(0)==43)?(Yt(1,O.length+1),O.substr(1)):O),Qi,sr));case 36:return r==null?null:my(Z7((M=Ta(r,!0),M.length>0&&(Yt(0,M.length),M.charCodeAt(0)==43)?(Yt(1,M.length+1),M.substr(1)):M)));case 37:return r==null?null:my(Z7((U=Ta(r,!0),U.length>0&&(Yt(0,U.length),U.charCodeAt(0)==43)?(Yt(1,U.length+1),U.substr(1)):U)));case 40:return qbn((Tr(),r));case 42:return Vgt((Tr(),r));case 43:return Vgt(r);case 44:return r==null?null:new o1((z=Ta(r,!0),z.length>0&&(Yt(0,z.length),z.charCodeAt(0)==43)?(Yt(1,z.length+1),z.substr(1)):z));case 45:return r==null?null:new o1((J=Ta(r,!0),J.length>0&&(Yt(0,J.length),J.charCodeAt(0)==43)?(Yt(1,J.length+1),J.substr(1)):J));case 46:return Ta(r,!1);case 47:return In(P0(this,(Tr(),CLt),r));case 59:case 48:return Gbn((Tr(),r));case 49:return In(P0(this,(Tr(),ILt),r));case 50:return r==null?null:D_(Ec((ne=Ta(r,!0),ne.length>0&&(Yt(0,ne.length),ne.charCodeAt(0)==43)?(Yt(1,ne.length+1),ne.substr(1)):ne),e$,32767)<<16>>16);case 51:return r==null?null:D_(Ec((f=Ta(r,!0),f.length>0&&(Yt(0,f.length),f.charCodeAt(0)==43)?(Yt(1,f.length+1),f.substr(1)):f),e$,32767)<<16>>16);case 53:return In(P0(this,(Tr(),RLt),r));case 55:return r==null?null:D_(Ec((p=Ta(r,!0),p.length>0&&(Yt(0,p.length),p.charCodeAt(0)==43)?(Yt(1,p.length+1),p.substr(1)):p),e$,32767)<<16>>16);case 56:return r==null?null:D_(Ec((m=Ta(r,!0),m.length>0&&(Yt(0,m.length),m.charCodeAt(0)==43)?(Yt(1,m.length+1),m.substr(1)):m),e$,32767)<<16>>16);case 57:return r==null?null:my(Z7((y=Ta(r,!0),y.length>0&&(Yt(0,y.length),y.charCodeAt(0)==43)?(Yt(1,y.length+1),y.substr(1)):y)));case 58:return r==null?null:my(Z7((v=Ta(r,!0),v.length>0&&(Yt(0,v.length),v.charCodeAt(0)==43)?(Yt(1,v.length+1),v.substr(1)):v)));case 60:return r==null?null:Re(Ec((o=Ta(r,!0),o.length>0&&(Yt(0,o.length),o.charCodeAt(0)==43)?(Yt(1,o.length+1),o.substr(1)):o),Qi,sr));case 61:return r==null?null:Re(Ec(Ta(r,!0),Qi,sr));default:throw Y(new jt(Dx+t.ve()+W0))}};var DLt,W3e,LLt,K3e;k(Si,"XMLTypeFactoryImpl",2007),_(589,187,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1,2023:1,589:1},iat),h.N=!1,h.O=!1;var MLt=!1;k(Si,"XMLTypePackageImpl",589),_(1940,1,{843:1},hVe),h.Ik=function(){return T0e(),GLt},k(Si,"XMLTypePackageImpl/1",1940),_(1949,1,tr,pVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/10",1949),_(1950,1,tr,gVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/11",1950),_(1951,1,tr,bVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/12",1951),_(1952,1,tr,mVe),h.dk=function(t){return Uw(t)},h.ek=function(t){return we(fi,Pe,347,t,7,1)},k(Si,"XMLTypePackageImpl/13",1952),_(1953,1,tr,wVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/14",1953),_(1954,1,tr,yVe),h.dk=function(t){return ae(t,16)},h.ek=function(t){return we(_c,Oy,16,t,0,1)},k(Si,"XMLTypePackageImpl/15",1954),_(1955,1,tr,vVe),h.dk=function(t){return ae(t,16)},h.ek=function(t){return we(_c,Oy,16,t,0,1)},k(Si,"XMLTypePackageImpl/16",1955),_(1956,1,tr,EVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/17",1956),_(1957,1,tr,SVe),h.dk=function(t){return ae(t,165)},h.ek=function(t){return we(Ux,Pe,165,t,0,1)},k(Si,"XMLTypePackageImpl/18",1957),_(1958,1,tr,AVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/19",1958),_(1941,1,tr,_Ve),h.dk=function(t){return ae(t,849)},h.ek=function(t){return we(d5,Rt,849,t,0,1)},k(Si,"XMLTypePackageImpl/2",1941),_(1959,1,tr,xVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/20",1959),_(1960,1,tr,kVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/21",1960),_(1961,1,tr,NVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/22",1961),_(1962,1,tr,CVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/23",1962),_(1963,1,tr,IVe),h.dk=function(t){return ae(t,198)},h.ek=function(t){return we(Eu,Pe,198,t,0,2)},k(Si,"XMLTypePackageImpl/24",1963),_(1964,1,tr,RVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/25",1964),_(1965,1,tr,OVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/26",1965),_(1966,1,tr,DVe),h.dk=function(t){return ae(t,16)},h.ek=function(t){return we(_c,Oy,16,t,0,1)},k(Si,"XMLTypePackageImpl/27",1966),_(1967,1,tr,LVe),h.dk=function(t){return ae(t,16)},h.ek=function(t){return we(_c,Oy,16,t,0,1)},k(Si,"XMLTypePackageImpl/28",1967),_(1968,1,tr,MVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/29",1968),_(1942,1,tr,PVe),h.dk=function(t){return ae(t,678)},h.ek=function(t){return we(xU,Rt,2098,t,0,1)},k(Si,"XMLTypePackageImpl/3",1942),_(1969,1,tr,jVe),h.dk=function(t){return ae(t,15)},h.ek=function(t){return we(Ti,Pe,15,t,0,1)},k(Si,"XMLTypePackageImpl/30",1969),_(1970,1,tr,FVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/31",1970),_(1971,1,tr,$Ve),h.dk=function(t){return ae(t,192)},h.ek=function(t){return we(Y0,Pe,192,t,0,1)},k(Si,"XMLTypePackageImpl/32",1971),_(1972,1,tr,BVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/33",1972),_(1973,1,tr,UVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/34",1973),_(1974,1,tr,HVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/35",1974),_(1975,1,tr,zVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/36",1975),_(1976,1,tr,GVe),h.dk=function(t){return ae(t,16)},h.ek=function(t){return we(_c,Oy,16,t,0,1)},k(Si,"XMLTypePackageImpl/37",1976),_(1977,1,tr,qVe),h.dk=function(t){return ae(t,16)},h.ek=function(t){return we(_c,Oy,16,t,0,1)},k(Si,"XMLTypePackageImpl/38",1977),_(1978,1,tr,VVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/39",1978),_(1943,1,tr,WVe),h.dk=function(t){return ae(t,679)},h.ek=function(t){return we(f5,Rt,2099,t,0,1)},k(Si,"XMLTypePackageImpl/4",1943),_(1979,1,tr,KVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/40",1979),_(1980,1,tr,YVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/41",1980),_(1981,1,tr,JVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/42",1981),_(1982,1,tr,XVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/43",1982),_(1983,1,tr,ZVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/44",1983),_(1984,1,tr,QVe),h.dk=function(t){return ae(t,193)},h.ek=function(t){return we(J0,Pe,193,t,0,1)},k(Si,"XMLTypePackageImpl/45",1984),_(1985,1,tr,eWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/46",1985),_(1986,1,tr,tWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/47",1986),_(1987,1,tr,nWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/48",1987),_(1988,1,tr,rWe),h.dk=function(t){return ae(t,193)},h.ek=function(t){return we(J0,Pe,193,t,0,1)},k(Si,"XMLTypePackageImpl/49",1988),_(1944,1,tr,iWe),h.dk=function(t){return ae(t,680)},h.ek=function(t){return we(q3e,Rt,2100,t,0,1)},k(Si,"XMLTypePackageImpl/5",1944),_(1989,1,tr,oWe),h.dk=function(t){return ae(t,192)},h.ek=function(t){return we(Y0,Pe,192,t,0,1)},k(Si,"XMLTypePackageImpl/50",1989),_(1990,1,tr,sWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/51",1990),_(1991,1,tr,aWe),h.dk=function(t){return ae(t,15)},h.ek=function(t){return we(Ti,Pe,15,t,0,1)},k(Si,"XMLTypePackageImpl/52",1991),_(1945,1,tr,uWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Si,"XMLTypePackageImpl/6",1945),_(1946,1,tr,cWe),h.dk=function(t){return ae(t,198)},h.ek=function(t){return we(Eu,Pe,198,t,0,2)},k(Si,"XMLTypePackageImpl/7",1946),_(1947,1,tr,lWe),h.dk=function(t){return Bw(t)},h.ek=function(t){return we(Yr,Pe,476,t,8,1)},k(Si,"XMLTypePackageImpl/8",1947),_(1948,1,tr,dWe),h.dk=function(t){return ae(t,224)},h.ek=function(t){return we(ET,Pe,224,t,0,1)},k(Si,"XMLTypePackageImpl/9",1948);var mf,Pg,F4,kU,te;_(53,63,vp,Ln),k(Tg,"RegEx/ParseException",53),_(828,1,{},Gue),h._l=function(t){return t<this.j&&co(this.i,t)==63},h.am=function(){var t,r,o,a,u;if(this.c!=10)throw Y(new Ln(jn((Cn(),VF))));switch(t=this.a,t){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(dr(this),this.c!=0)throw Y(new Ln(jn((Cn(),Sg))));if(this.a==123){u=0,o=0;do{if(dr(this),this.c!=0)throw Y(new Ln(jn((Cn(),Sg))));if((u=Xb(this.a))<0)break;if(o>o*16)throw Y(new Ln(jn((Cn(),AAt))));o=o*16+u}while(!0);if(this.a!=125)throw Y(new Ln(jn((Cn(),_At))));if(o>Fx)throw Y(new Ln(jn((Cn(),xAt))));t=o}else{if(u=0,this.c!=0||(u=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(o=u,dr(this),this.c!=0||(u=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));o=o*16+u,t=o}break;case 117:if(a=0,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));r=r*16+a,t=r;break;case 118:if(dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,dr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Ln(jn((Cn(),Sg))));if(r=r*16+a,r>Fx)throw Y(new Ln(jn((Cn(),"parser.descappe.4"))));t=r;break;case 65:case 90:case 122:throw Y(new Ln(jn((Cn(),kAt))))}return t},h.bm=function(t){var r,o;switch(t){case 100:o=(this.e&32)==32?x1("Nd",!0):(fr(),NU);break;case 68:o=(this.e&32)==32?x1("Nd",!1):(fr(),eCe);break;case 119:o=(this.e&32)==32?x1("IsWord",!0):(fr(),kk);break;case 87:o=(this.e&32)==32?x1("IsWord",!1):(fr(),nCe);break;case 115:o=(this.e&32)==32?x1("IsSpace",!0):(fr(),ZT);break;case 83:o=(this.e&32)==32?x1("IsSpace",!1):(fr(),tCe);break;default:throw Y(new Es((r=t,k_t+r.toString(16))))}return o},h.cm=function(t){var r,o,a,u,f,p,m,y,v,T,N,O;for(this.b=1,dr(this),r=null,this.c==0&&this.a==94?(dr(this),t?T=(fr(),fr(),new bc(5)):(r=(fr(),fr(),new bc(4)),Sa(r,0,Fx),T=new bc(4))):T=(fr(),fr(),new bc(4)),u=!0;(O=this.c)!=1&&!(O==0&&this.a==93&&!u);){if(u=!1,o=this.a,a=!1,O==10)switch(o){case 100:case 68:case 119:case 87:case 115:case 83:Ny(T,this.bm(o)),a=!0;break;case 105:case 73:case 99:case 67:o=this.sm(T,o),o<0&&(a=!0);break;case 112:case 80:if(N=bme(this,o),!N)throw Y(new Ln(jn((Cn(),bQ))));Ny(T,N),a=!0;break;default:o=this.am()}else if(O==20){if(p=KA(this.i,58,this.d),p<0)throw Y(new Ln(jn((Cn(),SEe))));if(m=!0,co(this.i,this.d)==94&&(++this.d,m=!1),f=yl(this.i,this.d,p),y=cdt(f,m,(this.e&512)==512),!y)throw Y(new Ln(jn((Cn(),yAt))));if(Ny(T,y),a=!0,p+1>=this.j||co(this.i,p+1)!=93)throw Y(new Ln(jn((Cn(),SEe))));this.d=p+2}if(dr(this),!a)if(this.c!=0||this.a!=45)Sa(T,o,o);else{if(dr(this),(O=this.c)==1)throw Y(new Ln(jn((Cn(),WF))));O==0&&this.a==93?(Sa(T,o,o),Sa(T,45,45)):(v=this.a,O==10&&(v=this.am()),dr(this),Sa(T,o,v))}(this.e&Tl)==Tl&&this.c==0&&this.a==44&&dr(this)}if(this.c==1)throw Y(new Ln(jn((Cn(),WF))));return r&&($C(r,T),T=r),xE(T),PC(T),this.b=0,dr(this),T},h.dm=function(){var t,r,o,a;for(o=this.cm(!1);(a=this.c)!=7;)if(t=this.a,a==0&&(t==45||t==38)||a==4){if(dr(this),this.c!=9)throw Y(new Ln(jn((Cn(),EAt))));if(r=this.cm(!1),a==4)Ny(o,r);else if(t==45)$C(o,r);else if(t==38)Vvt(o,r);else throw Y(new Es("ASSERT"))}else throw Y(new Ln(jn((Cn(),SAt))));return dr(this),o},h.em=function(){var t,r;return t=this.a-48,r=(fr(),fr(),new _W(12,null,t)),!this.g&&(this.g=new O9),R9(this.g,new xce(t)),dr(this),r},h.fm=function(){return dr(this),fr(),FLt},h.gm=function(){return dr(this),fr(),jLt},h.hm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.im=function(){throw Y(new Ln(jn((Cn(),tl))))},h.jm=function(){return dr(this),ypn()},h.km=function(){return dr(this),fr(),BLt},h.lm=function(){return dr(this),fr(),HLt},h.mm=function(){var t;if(this.d>=this.j||((t=co(this.i,this.d++))&65504)!=64)throw Y(new Ln(jn((Cn(),bAt))));return dr(this),fr(),fr(),new dh(0,t-64)},h.nm=function(){return dr(this),YAn()},h.om=function(){return dr(this),fr(),zLt},h.pm=function(){var t;return t=(fr(),fr(),new dh(0,105)),dr(this),t},h.qm=function(){return dr(this),fr(),ULt},h.rm=function(){return dr(this),fr(),$Lt},h.sm=function(t,r){return this.am()},h.tm=function(){return dr(this),fr(),Z3e},h.um=function(){var t,r,o,a,u;if(this.d+1>=this.j)throw Y(new Ln(jn((Cn(),hAt))));if(a=-1,r=null,t=co(this.i,this.d),49<=t&&t<=57){if(a=t-48,!this.g&&(this.g=new O9),R9(this.g,new xce(a)),++this.d,co(this.i,this.d)!=41)throw Y(new Ln(jn((Cn(),cm))));++this.d}else switch(t==63&&--this.d,dr(this),r=Y0e(this),r.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw Y(new Ln(jn((Cn(),cm))));break;default:throw Y(new Ln(jn((Cn(),pAt))))}if(dr(this),u=N0(this),o=null,u.e==2){if(u.Nm()!=2)throw Y(new Ln(jn((Cn(),gAt))));o=u.Jm(1),u=u.Jm(0)}if(this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),fr(),fr(),new ift(a,r,u,o)},h.vm=function(){return dr(this),fr(),Q3e},h.wm=function(){var t;if(dr(this),t=wP(24,N0(this)),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.xm=function(){var t;if(dr(this),t=wP(20,N0(this)),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.ym=function(){var t;if(dr(this),t=wP(22,N0(this)),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.zm=function(){var t,r,o,a,u;for(t=0,o=0,r=-1;this.d<this.j&&(r=co(this.i,this.d),u=Sme(r),u!=0);)t|=u,++this.d;if(this.d>=this.j)throw Y(new Ln(jn((Cn(),vEe))));if(r==45){for(++this.d;this.d<this.j&&(r=co(this.i,this.d),u=Sme(r),u!=0);)o|=u,++this.d;if(this.d>=this.j)throw Y(new Ln(jn((Cn(),vEe))))}if(r==58){if(++this.d,dr(this),a=Rst(N0(this),t,o),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));dr(this)}else if(r==41)++this.d,dr(this),a=Rst(N0(this),t,o);else throw Y(new Ln(jn((Cn(),fAt))));return a},h.Am=function(){var t;if(dr(this),t=wP(21,N0(this)),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.Bm=function(){var t;if(dr(this),t=wP(23,N0(this)),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.Cm=function(){var t,r;if(dr(this),t=this.f++,r=QV(N0(this),t),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),r},h.Dm=function(){var t;if(dr(this),t=QV(N0(this),0),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.Em=function(t){return dr(this),this.c==5?(dr(this),lP(t,(fr(),fr(),new oy(9,t)))):lP(t,(fr(),fr(),new oy(3,t)))},h.Fm=function(t){var r;return dr(this),r=(fr(),fr(),new b3(2)),this.c==5?(dr(this),em(r,B4),em(r,t)):(em(r,t),em(r,B4)),r},h.Gm=function(t){return dr(this),this.c==5?(dr(this),fr(),fr(),new oy(9,t)):(fr(),fr(),new oy(3,t))},h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.f=1,h.g=null,h.j=0,k(Tg,"RegEx/RegexParser",828),_(1927,828,{},JZe),h._l=function(t){return!1},h.am=function(){return e0e(this)},h.bm=function(t){return tx(t)},h.cm=function(t){return BEt(this)},h.dm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.em=function(){throw Y(new Ln(jn((Cn(),tl))))},h.fm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.gm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.hm=function(){return dr(this),tx(67)},h.im=function(){return dr(this),tx(73)},h.jm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.km=function(){throw Y(new Ln(jn((Cn(),tl))))},h.lm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.mm=function(){return dr(this),tx(99)},h.nm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.om=function(){throw Y(new Ln(jn((Cn(),tl))))},h.pm=function(){return dr(this),tx(105)},h.qm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.rm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.sm=function(t,r){return Ny(t,tx(r)),-1},h.tm=function(){return dr(this),fr(),fr(),new dh(0,94)},h.um=function(){throw Y(new Ln(jn((Cn(),tl))))},h.vm=function(){return dr(this),fr(),fr(),new dh(0,36)},h.wm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.xm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.ym=function(){throw Y(new Ln(jn((Cn(),tl))))},h.zm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.Am=function(){throw Y(new Ln(jn((Cn(),tl))))},h.Bm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.Cm=function(){var t;if(dr(this),t=QV(N0(this),0),this.c!=7)throw Y(new Ln(jn((Cn(),cm))));return dr(this),t},h.Dm=function(){throw Y(new Ln(jn((Cn(),tl))))},h.Em=function(t){return dr(this),lP(t,(fr(),fr(),new oy(3,t)))},h.Fm=function(t){var r;return dr(this),r=(fr(),fr(),new b3(2)),em(r,t),em(r,B4),r},h.Gm=function(t){return dr(this),fr(),fr(),new oy(3,t)};var E2=null,_k=null;k(Tg,"RegEx/ParserForXMLSchema",1927),_(122,1,$x,Km),h.Hm=function(t){throw Y(new Es("Not supported."))},h.Im=function(){return-1},h.Jm=function(t){return null},h.Km=function(){return null},h.Lm=function(t){},h.Mm=function(t){},h.Nm=function(){return 0},h.Ib=function(){return this.Om(0)},h.Om=function(t){return this.e==11?".":""},h.e=0;var Y3e,xk,$4,PLt,J3e,vv=null,NU,zre=null,X3e,B4,Gre=null,Z3e,Q3e,eCe,tCe,nCe,jLt,ZT,FLt,$Lt,BLt,ULt,kk,HLt,zLt,dCn=k(Tg,"RegEx/Token",122);_(140,122,{3:1,140:1,122:1},bc),h.Om=function(t){var r,o,a;if(this.e==4)if(this==X3e)o=".";else if(this==NU)o="\\d";else if(this==kk)o="\\w";else if(this==ZT)o="\\s";else{for(a=new Xp,a.a+="[",r=0;r<this.b.length;r+=2)t&Tl&&r>0&&(a.a+=","),this.b[r]===this.b[r+1]?Vo(a,cD(this.b[r])):(Vo(a,cD(this.b[r])),a.a+="-",Vo(a,cD(this.b[r+1])));a.a+="]",o=a.a}else if(this==eCe)o="\\D";else if(this==nCe)o="\\W";else if(this==tCe)o="\\S";else{for(a=new Xp,a.a+="[^",r=0;r<this.b.length;r+=2)t&Tl&&r>0&&(a.a+=","),this.b[r]===this.b[r+1]?Vo(a,cD(this.b[r])):(Vo(a,cD(this.b[r])),a.a+="-",Vo(a,cD(this.b[r+1])));a.a+="]",o=a.a}return o},h.a=!1,h.c=!1,k(Tg,"RegEx/RangeToken",140),_(587,1,{587:1},xce),h.a=0,k(Tg,"RegEx/RegexParser/ReferencePosition",587),_(586,1,{3:1,586:1},het),h.Fb=function(t){var r;return t==null||!ae(t,586)?!1:(r=l(t,586),wt(this.b,r.b)&&this.a==r.a)},h.Hb=function(){return lg(this.b+"/"+Wme(this.a))},h.Ib=function(){return this.c.Om(this.a)},h.a=0,k(Tg,"RegEx/RegularExpression",586),_(230,122,$x,dh),h.Im=function(){return this.a},h.Om=function(t){var r,o,a;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:a="\\"+_V(this.a&Ei);break;case 12:a="\\f";break;case 10:a="\\n";break;case 13:a="\\r";break;case 9:a="\\t";break;case 27:a="\\e";break;default:this.a>=No?(o=(r=this.a>>>0,"0"+r.toString(16)),a="\\v"+yl(o,o.length-6,o.length)):a=""+_V(this.a&Ei)}break;case 8:this==Z3e||this==Q3e?a=""+_V(this.a&Ei):a="\\"+_V(this.a&Ei);break;default:a=null}return a},h.a=0,k(Tg,"RegEx/Token/CharToken",230),_(323,122,$x,oy),h.Jm=function(t){return this.a},h.Lm=function(t){this.b=t},h.Mm=function(t){this.c=t},h.Nm=function(){return 1},h.Om=function(t){var r;if(this.e==3)if(this.c<0&&this.b<0)r=this.a.Om(t)+"*";else if(this.c==this.b)r=this.a.Om(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)r=this.a.Om(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)r=this.a.Om(t)+"{"+this.c+",}";else throw Y(new Es("Token#toString(): CLOSURE "+this.c+ja+this.b));else if(this.c<0&&this.b<0)r=this.a.Om(t)+"*?";else if(this.c==this.b)r=this.a.Om(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)r=this.a.Om(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)r=this.a.Om(t)+"{"+this.c+",}?";else throw Y(new Es("Token#toString(): NONGREEDYCLOSURE "+this.c+ja+this.b));return r},h.b=0,h.c=0,k(Tg,"RegEx/Token/ClosureToken",323),_(829,122,$x,she),h.Jm=function(t){return t==0?this.a:this.b},h.Nm=function(){return 2},h.Om=function(t){var r;return this.b.e==3&&this.b.Jm(0)==this.a?r=this.a.Om(t)+"+":this.b.e==9&&this.b.Jm(0)==this.a?r=this.a.Om(t)+"+?":r=this.a.Om(t)+(""+this.b.Om(t)),r},k(Tg,"RegEx/Token/ConcatToken",829),_(1925,122,$x,ift),h.Jm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw Y(new Es("Internal Error: "+t))},h.Nm=function(){return this.b?2:1},h.Om=function(t){var r;return this.c>0?r="(?("+this.c+")":this.a.e==8?r="(?("+this.a+")":r="(?"+this.a,this.b?r+=this.d+"|"+this.b+")":r+=this.d+")",r},h.c=0,k(Tg,"RegEx/Token/ConditionToken",1925),_(1926,122,$x,Rut),h.Jm=function(t){return this.b},h.Nm=function(){return 1},h.Om=function(t){return"(?"+(this.a==0?"":Wme(this.a))+(this.c==0?"":Wme(this.c))+":"+this.b.Om(t)+")"},h.a=0,h.c=0,k(Tg,"RegEx/Token/ModifierToken",1926),_(830,122,$x,ghe),h.Jm=function(t){return this.a},h.Nm=function(){return 1},h.Om=function(t){var r;switch(r=null,this.e){case 6:this.b==0?r="(?:"+this.a.Om(t)+")":r="("+this.a.Om(t)+")";break;case 20:r="(?="+this.a.Om(t)+")";break;case 21:r="(?!"+this.a.Om(t)+")";break;case 22:r="(?<="+this.a.Om(t)+")";break;case 23:r="(?<!"+this.a.Om(t)+")";break;case 24:r="(?>"+this.a.Om(t)+")"}return r},h.b=0,k(Tg,"RegEx/Token/ParenToken",830),_(521,122,{3:1,122:1,521:1},_W),h.Km=function(){return this.b},h.Om=function(t){return this.e==12?"\\"+this.a:UEn(this.b)},h.a=0,k(Tg,"RegEx/Token/StringToken",521),_(469,122,$x,b3),h.Hm=function(t){em(this,t)},h.Jm=function(t){return l(d0(this.a,t),122)},h.Nm=function(){return this.a?this.a.a.c.length:0},h.Om=function(t){var r,o,a,u,f;if(this.e==1){if(this.a.a.c.length==2)r=l(d0(this.a,0),122),o=l(d0(this.a,1),122),o.e==3&&o.Jm(0)==r?u=r.Om(t)+"+":o.e==9&&o.Jm(0)==r?u=r.Om(t)+"+?":u=r.Om(t)+(""+o.Om(t));else{for(f=new Xp,a=0;a<this.a.a.c.length;a++)Vo(f,l(d0(this.a,a),122).Om(t));u=f.a}return u}if(this.a.a.c.length==2&&l(d0(this.a,1),122).e==7)u=l(d0(this.a,0),122).Om(t)+"?";else if(this.a.a.c.length==2&&l(d0(this.a,0),122).e==7)u=l(d0(this.a,1),122).Om(t)+"??";else{for(f=new Xp,Vo(f,l(d0(this.a,0),122).Om(t)),a=1;a<this.a.a.c.length;a++)f.a+="|",Vo(f,l(d0(this.a,a),122).Om(t));u=f.a}return u},k(Tg,"RegEx/Token/UnionToken",469),_(518,1,{596:1},sO),h.Ib=function(){return this.a.b},k(R_t,"XMLTypeUtil/PatternMatcherImpl",518),_(1690,1505,{},fWe);var GLt;k(R_t,"XMLTypeValidator",1690),_(272,1,Eh,Ib),h.Ic=function(t){lo(this,t)},h.Jc=function(){return(this.b-this.a)*this.c<0?eb:new s1(this)},h.a=0,h.b=0,h.c=0;var eb;k(UEe,"ExclusiveRange",272),_(1065,1,vh,hWe),h.Rb=function(t){l(t,15),dtn()},h.Nb=function(t){so(this,t)},h.Pb=function(){return ten()},h.Ub=function(){return nen()},h.Wb=function(t){l(t,15),htn()},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Tb=function(){return-1},h.Vb=function(){return-1},h.Qb=function(){throw Y(new Jp(L_t))},k(UEe,"ExclusiveRange/1",1065),_(261,1,vh,s1),h.Rb=function(t){l(t,15),ftn()},h.Nb=function(t){so(this,t)},h.Pb=function(){return Hpn(this)},h.Ub=function(){return Udn(this)},h.Wb=function(t){l(t,15),ptn()},h.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Vb=function(){return this.b-1},h.Qb=function(){throw Y(new Jp(L_t))},h.a=0,h.b=0,k(UEe,"ExclusiveRange/RangeIterator",261);var al=o_(KF,"C"),Rn=o_(dI,"I"),uu=o_(uT,"Z"),pw=o_(fI,"J"),Eu=o_(uI,"B"),Ki=o_(cI,"D"),Ev=o_(lI,"F"),S2=o_(hI,"S"),fCn=Hr("org.eclipse.elk.core.labels","ILabelManager"),rCe=Hr(xo,"DiagnosticChain"),iCe=Hr(u_t,"ResourceSet"),oCe=k(xo,"InvocationTargetException",null),qLt=(F9(),ndn),VLt=VLt=C0n;Hfn(nQt),ehn("permProps",[[["locale","default"],[M_t,"gecko1_8"]],[["locale","default"],[M_t,"safari"]]]),VLt(null,"elk",null)}).call(this)}).call(this,typeof C5<"u"?C5:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(s,c,d){function g($){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},g($)}function b($,j,P){return Object.defineProperty($,"prototype",{writable:!1}),$}function w($,j){if(!($ instanceof j))throw new TypeError("Cannot call a class as a function")}function E($,j,P){return j=C(j),S($,A()?Reflect.construct(j,P||[],C($).constructor):j.apply($,P))}function S($,j){if(j&&(g(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x($)}function x($){if($===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function A(){try{var $=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(A=function(){return!!$})()}function C($){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},C($)}function R($,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(j&&j.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),Object.defineProperty($,"prototype",{writable:!1}),j&&L($,j)}function L($,j){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,G){return P.__proto__=G,P},L($,j)}var D=s("./elk-api.js").default,B=function($){function j(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};w(this,j);var G=Object.assign({},P),ee=!1;try{s.resolve("web-worker"),ee=!0}catch{}if(P.workerUrl)if(ee){var re=s("web-worker");G.workerFactory=function(pe){return new re(pe)}}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(!G.workerFactory){var Q=s("./elk-worker.min.js"),ie=Q.Worker;G.workerFactory=function(pe){return new ie(pe)}}return E(this,j,[G])}return R(j,$),b(j)}(D);Object.defineProperty(c.exports,"__esModule",{value:!0}),c.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(s,c,d){var g=typeof Worker<"u"?Worker:void 0;c.exports=g},{}]},{},[3])(3)})})(YWt);var jZn=YWt.exports;const FZn=TR(jZn),$Zn=new FZn;async function BZn(n,i){try{const s=n.map(b=>({id:b.id,width:HZn(b.type),height:zZn(b.type)})),c=i.map(b=>({id:b.id,sources:[b.source],targets:[b.target]})),d={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"100","elk.spacing.edgeNode":"40","elk.layered.nodePlacement.strategy":"SIMPLE"},children:s,edges:c},g=await $Zn.layout(d);return n.map(b=>{var E;const w=(E=g.children)==null?void 0:E.find(S=>S.id===b.id);return w&&w.x!==void 0&&w.y!==void 0?{...b,position:{x:w.x,y:w.y}}:b})}catch{return UZn(n)}}function UZn(n){return n.map((b,w)=>{const E=w%3,S=Math.floor(w/3);return{...b,position:{x:100+E*300,y:100+S*150}}})}function HZn(n){switch(n){case"trigger":return 200;case"condition":return 220;case"action":return 200;case"delay":return 180;case"wait":return 180;default:return 200}}function zZn(n){switch(n){case"trigger":return 80;case"condition":return 100;case"action":return 80;case"delay":return 70;case"wait":return 70;default:return 80}}function GZn(n){return typeof n=="object"&&n!==null&&"delay"in n&&(typeof n.delay=="string"||typeof n.delay=="number"||typeof n.delay=="object"&&n.delay!==null)}const JWt={hours:60*60*1e3,minutes:60*1e3,seconds:1e3,milliseconds:1};function HDe(n){return typeof n=="number"&&Number.isFinite(n)}function qZn(n){const i=n.trim(),s=/^\{\{\s*([\s\S]*?)\s*\}\}$/.exec(i);return s?s[1].trim():i}function VZn(n){if(HDe(n))return String(n);if(typeof n!="string"||n.trim()==="")return null;const i=n.trim(),s=Number(i);return Number.isFinite(s)?String(s):`(${qZn(i)})`}function WZn(n){const i=Object.entries(JWt).flatMap(([w,E])=>{const S=VZn(n[w]);return S?E===1?[S]:[`(${S}) * ${E}`]:[]}),s=i.length>0?i.join(" + "):"0",c=`(${s}) // 3600000`,d=`((${s}) % 3600000) // 60000`,g=`((${s}) % 60000) // 1000`,b=`(${s}) % 1000`;return Object.prototype.hasOwnProperty.call(n,"milliseconds")?`{{ '%02d:%02d:%02d.%03d' | format(${c}, ${d}, ${g}, ${b}) }}`:`{{ '%02d:%02d:%02d' | format(${c}, ${d}, ${g}) }}`}function KZn(n){if(typeof n=="string")return n;if(HDe(n))return String(n);if(typeof n!="object"||n===null)return"";const i=n,s={};let c=!1;for(const d of Object.keys(JWt)){const g=i[d];if(g!==void 0){if(HDe(g)){s[d]=g;continue}if(typeof g=="string"&&g.trim()!==""){const b=Number(g.trim());Number.isFinite(b)?s[d]=b:c=!0;continue}c=!0}}return c?WZn(i):s}function YZn(n){return typeof n=="object"&&n!==null&&("wait_template"in n||"wait_for_trigger"in n)}function JZn(n){return typeof n=="object"&&n!==null&&"choose"in n}function XZn(n){return typeof n=="object"&&n!==null&&"parallel"in n&&Array.isArray(n.parallel)}function ZZn(n){return typeof n=="object"&&n!==null&&"if"in n&&Array.isArray(n.if)&&"then"in n&&Array.isArray(n.then)}function QZn(n){return typeof n=="object"&&n!==null&&(typeof n.service=="string"||typeof n.action=="string")}function eQn(n){return typeof n=="object"&&n!==null&&"condition"in n&&typeof n.condition=="string"}function tQn(n){return typeof n=="object"&&n!==null&&"variables"in n&&typeof n.variables=="object"&&!("service"in n)&&!("action"in n)&&!("delay"in n)&&!("wait_template"in n)&&!("choose"in n)&&!("if"in n)}function nQn(n){return typeof n=="object"&&n!==null&&"set_conversation_response"in n}function rQn(n){return typeof n=="object"&&n!==null&&"stop"in n}function iQn(n){return typeof n=="object"&&n!==null&&"repeat"in n&&typeof n.repeat=="object"&&n.repeat!==null}function oQn(n){return typeof n=="object"&&n!==null&&"event"in n&&typeof n.event=="string"}const k5=["state","numeric_state","template","time","sun","zone","and","or","not","device","trigger"];function zDe(n){return n.map(i=>sQn(i))}function sQn(n){const{condition:i,conditions:s,...c}=n,d=i||"template",g=k5.includes(d)?d:"template",b=Array.isArray(s)?zDe(s):void 0;return{...c,condition:g,conditions:b}}class aQn{async parse(i){const s=[];try{let c=kZn(i);if(Array.isArray(c)){if(c.length===0)return{success:!1,errors:["Empty automation array"],warnings:s,hadMetadata:!1};c=c[0]}if(!c||typeof c!="object")return{success:!1,errors:["Invalid YAML structure"],warnings:s,hadMetadata:!1};const d=this.extractMetadata(c),g=d!==null,b=this.extractUserVariables(c),w=c;if(typeof w!="object"||w===null)return{success:!1,errors:["Invalid YAML content structure"],warnings:s,hadMetadata:g};const E=d?Object.keys(d.nodes):[],S=(d==null?void 0:d.strategy)==="state-machine"||this.detectStateMachineFormat(w),{nodes:x,edges:A}=S?this.parseStateMachineStructure(w,s,E):this.parseAutomationStructure(w,s,E);let C;g&&d?C=this.applyMetadataPositions(x,d):C=await BZn(x,A);const R={mode:w.mode,max:w.max,max_exceeded:w.max_exceeded,initial_state:w.initial_state,hide_entity:w.hide_entity,trace:w.trace},L=D8t.safeParse(R),D=L.success?L.data:D8t.parse({}),B=typeof w.trigger_variables=="object"&&w.trigger_variables!==null&&!Array.isArray(w.trigger_variables)?w.trigger_variables:void 0,$={id:(d==null?void 0:d.graph_id)||MZn(),name:typeof w.alias=="string"?w.alias:"Imported Automation",description:typeof w.description=="string"?w.description:"",nodes:C,edges:A,metadata:D,version:1,userVariables:Object.keys(b).length>0?b:void 0,userTriggerVariables:B&&Object.keys(B).length>0?B:void 0},j=BVt.safeParse($);if(!j.success){const G=j.error.issues.map(ee=>{let re="";if(ee.path&&ee.path.length>0&&ee.path[0]==="nodes"&&typeof ee.path[1]=="number"){const Q=ee.path[1],ie=$.nodes[Q];re=`Node index ${Q} (id: ${ie==null?void 0:ie.id}, type: ${ie==null?void 0:ie.type})
Data: ${JSON.stringify(ie==null?void 0:ie.data,null,2)}`}return`Schema path: ${ee.path.join(".")}
Message: ${ee.message}${re?`
${re}`:""}`});return console.error("Zod validation error details:",G),{success:!1,errors:G,warnings:s,hadMetadata:g}}const P=UVt(j.data);return P.valid?{success:!0,graph:j.data,warnings:s,hadMetadata:g}:{success:!1,errors:P.errors,warnings:s,hadMetadata:g}}catch(c){return console.error("YAML parsing error:",c),console.error("YAML string:",i),{success:!1,errors:[c instanceof Error?c.message:"Unknown parsing error"],warnings:s,hadMetadata:!1}}}extractMetadata(i){try{let s;if(typeof i.variables=="object"&&i.variables!==null&&(s=i.variables),s&&typeof s=="object"&&"_cafe_metadata"in s&&typeof s._cafe_metadata=="object"&&s._cafe_metadata!==null){const c=s._cafe_metadata,d=$Vt.safeParse(c);if(d.success)return d.data}}catch{}return null}extractUserVariables(i){const s={};if(typeof i.variables=="object"&&i.variables!==null){const c=i.variables;for(const[d,g]of Object.entries(c))d!=="_cafe_metadata"&&(s[d]=g)}return s}detectStateMachineFormat(i){const s=i.actions||i.action;if(!Array.isArray(s))return!1;let c=!1,d=!1;for(const g of s){const b=g;if(b.variables){const w=b.variables;"current_node"in w&&"flow_context"in w&&(c=!0)}if(b.repeat){const E=b.repeat.sequence;if(Array.isArray(E))for(const S of E){const x=S;if(Array.isArray(x.choose)){d=!0;break}}}}return c&&d}parseStateMachineStructure(i,s,c){const d=[],g=[],b=i.actions||i.action;if(!Array.isArray(b))return s.push("No actions found in automation"),{nodes:d,edges:g};let w=null;const E=new Map;for(const j of b){const P=j;if(P.variables){const G=P.variables;typeof G.current_node=="string"&&G.current_node!=="END"&&(w=G.current_node)}if(P.repeat){const ee=P.repeat.sequence;if(Array.isArray(ee))for(const re of ee){const Q=re;if(Array.isArray(Q.choose))for(const ie of Q.choose){const pe=this.parseStateMachineChooseBlock(ie);pe&&E.set(pe.nodeId,pe)}}}}const S=new Map;for(const[j,P]of E){if(!/^__parallel_trigger_\d+$/.test(j))continue;const G=this.parseInlineParallelBranches(P.parallelItems??[],E);G.length>0&&S.set(j,G),E.delete(j)}const x=new Set(E.keys()),A=c.filter(j=>!x.has(j));let C=0,R=0;const L=j=>C<A.length?A[C++]:FFt(j,R++),D=i.triggers||i.trigger;if(!D)return s.push("No triggers found in automation"),{nodes:d,edges:g};const B=Array.isArray(D)?D:[D],$=this.parseTriggers(B,s,L);d.push(...$);for(const[j,P]of E)switch(P.nodeType){case"condition":d.push({id:j,type:"condition",position:{x:0,y:0},data:P.data});break;case"action":d.push({id:j,type:"action",position:{x:0,y:0},data:P.data});break;case"delay":d.push({id:j,type:"delay",position:{x:0,y:0},data:P.data});break;case"wait":d.push({id:j,type:"wait",position:{x:0,y:0},data:P.data});break}if(w){const j=this.parseEntryNodeTemplate(w);if(j&&j.size>0)for(let P=0;P<$.length;P++){const G=j.get(P);if(G){const ee=S.get(G);if(ee)for(const re of ee)g.push(this.createEdge($[P].id,re));else g.push(this.createEdge($[P].id,G))}}else for(const P of $)g.push(this.createEdge(P.id,w))}for(const[j,P]of E)P.trueTarget&&P.trueTarget!=="END"&&g.push({id:`edge-${j}-${P.trueTarget}`,source:j,target:P.trueTarget,sourceHandle:P.nodeType==="condition"||P.falseTarget?"true":void 0}),P.falseTarget&&P.falseTarget!=="END"&&g.push({id:`edge-${j}-${P.falseTarget}`,source:j,target:P.falseTarget,sourceHandle:"false"});return{nodes:d,edges:g}}parseEntryNodeTemplate(i){if(!i.includes("{%")||!i.includes("trigger.idx"))return null;const s=new Map,c=/{%\s*(?:if|elif)\s+trigger\.idx\s*==\s*["'](\d+)["']\s*%}\s*([^{%]+?)(?={%|$)/g,d=i.matchAll(c);for(const b of d){const w=parseInt(b[1],10),E=b[2].trim();s.set(w,E)}const g=i.match(/{%\s*else\s*%}\s*([^{%]+?)(?={%|$)/);if(g&&s.size>0){const b=Math.max(...s.keys());s.set(b+1,g[1].trim())}return s.size>0?s:null}parseInlineParallelBranches(i,s){const c=[];let d=0;const g=b=>`inline_${b}_${d++}`;for(const b of i){const w=b,E=w.alias,S=E==null?void 0:E.match(/^parallel_branch:(.+)$/);if(S){const A=S[1];c.push(A),Array.isArray(w.sequence)?this.parseInlineActionList(w.sequence,A,s,g):this.parseInlineActionItem(w,A,s,g);continue}if((w.service??w.action)==="system_log.write"){const A=w.data,C=A==null?void 0:A.message;if(C){const R=C.match(/^Node:\s*(.+)$/);R&&c.push(R[1])}}}return c}parseInlineActionList(i,s,c,d){let g=null;for(let b=0;b<i.length;b++){const w=i[b],{nodeId:E}=this.extractCafeNodeId(w.alias),S=b===0?s:E??d(this.inferInlineNodeType(w));if(g){const x=c.get(g);x&&x.nodeType!=="condition"&&(x.trueTarget=S)}this.parseInlineActionItem(w,S,c,d),g=S}}parseInlineActionItem(i,s,c,d){const g=i.alias,{cleanAlias:b}=this.extractCafeNodeId(g),w=b!=null&&b.startsWith("parallel_branch:")?void 0:b;if(i.if&&Array.isArray(i.if)){const x={...i.if[0]??{}};w&&(x.alias=w);let A=null,C=null;const R=i.then;if(R&&R.length>0){const{nodeId:D}=this.extractCafeNodeId(R[0].alias),B=D??d(this.inferInlineNodeType(R[0]));A=B,this.parseInlineActionList(R,B,c,d)}const L=i.else;if(L&&L.length>0){const{nodeId:D}=this.extractCafeNodeId(L[0].alias),B=D??d(this.inferInlineNodeType(L[0]));C=B,this.parseInlineActionList(L,B,c,d)}c.set(s,{nodeId:s,nodeType:"condition",data:x,trueTarget:A,falseTarget:C})}else if(i.service||i.action){const E={};E.service=i.service??i.action,i.target&&(E.target=i.target),i.data&&(E.data=i.data),w&&(E.alias=w),c.set(s,{nodeId:s,nodeType:"action",data:E,trueTarget:null,falseTarget:null})}else if(i.delay!==void 0){const E={delay:i.delay};w&&(E.alias=w),c.set(s,{nodeId:s,nodeType:"delay",data:E,trueTarget:null,falseTarget:null})}else if(i.wait_template!==void 0||i.wait_for_trigger!==void 0){const E={};i.wait_template&&(E.wait_template=i.wait_template),i.wait_for_trigger&&(E.wait_for_trigger=i.wait_for_trigger),i.timeout&&(E.timeout=i.timeout),i.continue_on_timeout!==void 0&&(E.continue_on_timeout=i.continue_on_timeout),w&&(E.alias=w),c.set(s,{nodeId:s,nodeType:"wait",data:E,trueTarget:null,falseTarget:null})}}extractCafeNodeId(i){if(!i)return{nodeId:null,cleanAlias:void 0};const s=i.match(/^cafe_node:([^:]+)(?::(.+))?$/);return s?{nodeId:s[1],cleanAlias:s[2]||void 0}:{nodeId:null,cleanAlias:i}}inferInlineNodeType(i){return i.if?"condition":i.delay!==void 0?"delay":i.wait_template!==void 0||i.wait_for_trigger!==void 0?"wait":"action"}parseStateMachineChooseBlock(i){const s=i.conditions;if(!Array.isArray(s)||s.length===0)return null;const d=s[0].value_template;if(!d)return null;const g=d.match(/current_node\s*==\s*["']([^"']+)["']/);if(!g)return null;const b=g[1],w=i.sequence;if(!Array.isArray(w)||w.length===0)return null;let E="action";const S={};let x=null,A=null,C;for(const R of w){const L=R;if(L.variables){const B=L.variables.current_node;if(typeof B=="string")if(B.includes("{%")&&B.includes("%}")){E="condition";const $=B.match(/{%\s*if[^%]*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/),j=B.match(/{%\s*else\s*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/);x=$?$[1]:null,A=j?j[1]:null;const P=B.match(/{%\s*if\s+(.+?)\s*%}/);if(P){const G=P[1];Object.assign(S,this.parseJinjaCondition(G))}}else x=B==="END"?null:B}else L.delay!==void 0?(E="delay",S.delay=L.delay,L.alias&&(S.alias=L.alias)):L.wait_template!==void 0?(E="wait",S.wait_template=L.wait_template,L.timeout&&(S.timeout=L.timeout),L.continue_on_timeout!==void 0&&(S.continue_on_timeout=L.continue_on_timeout),L.alias&&(S.alias=L.alias)):Array.isArray(L.parallel)?C=L.parallel:(L.service||L.action)&&(E="action",S.service=L.service||L.action,L.target&&(S.target=L.target),L.data&&(S.data=L.data),L.alias&&(S.alias=L.alias))}return{nodeId:b,nodeType:E,data:S,trueTarget:x,falseTarget:A,parallelItems:C}}parseJinjaCondition(i){const s=i.match(/is_state\s*\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)/);if(s){const d=s[1],g=s[2];if(d==="sun.sun"){if(g==="above_horizon")return{condition:"sun",after:"sunrise",before:"sunset"};if(g==="below_horizon")return{condition:"sun",after:"sunset",before:"sunrise"}}return{condition:"state",entity_id:d,state:g}}const c=i.match(/states\s*\(\s*['"]([^'"]+)['"]\s*\)\s*\|\s*float\s*([<>=]+)\s*(\d+(?:\.\d+)?)/);if(c){const d=c[1],g=c[2],b=parseFloat(c[3]),w={condition:"numeric_state",entity_id:d};return g.includes(">")&&(w.above=b),g.includes("<")&&(w.below=b),w}return{condition:"template",value_template:`{{ ${i} }}`}}parseAutomationStructure(i,s,c){var ie;const d=[],g=[],b=new Set,w=["set_variables","trigger","condition","action","delay","wait"],E=new Map,S=new Set;for(const pe of c){const me=w.find(le=>pe.startsWith(`${le}_`));me&&(E.has(me)||E.set(me,[]),E.get(me).push(pe))}const x=new Map;let A=0,C=c.length;const R=pe=>{const me=E.get(pe),le=x.get(pe)??0;if(me&&le<me.length){const fe=me[le];return x.set(pe,le+1),S.add(fe),fe}for(;A<c.length;){const fe=c[A++];if(!S.has(fe))return S.add(fe),fe}return FFt(pe,C++)},L=i.triggers||i.trigger;if(!L)return s.push("No triggers found in automation"),{nodes:d,edges:g};const D=Array.isArray(L)?L:[L],B=this.parseTriggers(D,s,R);d.push(...B);const $=new Map;for(let pe=0;pe<B.length;pe++){const me=(ie=D[pe])==null?void 0:ie.id;typeof me=="string"&&$.set(B[pe].id,me)}let j=[];const P=i.conditions||i.condition,G=Array.isArray(P)?P:P?[P]:[];if(G.length>0){const pe=this.parseConditions(G,s,R);d.push(...pe.nodes),g.push(...pe.edges);for(const le of pe.nodes)b.add(le.id);const me=pe.nodes;if(me.length===1){for(const le of B)g.push(this.createEdge(le.id,me[0].id));j=[me[0].id]}else{for(const le of B)g.push(this.createEdge(le.id,me[0].id));for(let le=0;le<me.length-1;le++)g.push(this.createEdge(me[le].id,me[le+1].id,"true"));j=[me[me.length-1].id]}}else j=B.map(pe=>pe.id);const ee=i.actions||i.action;if(!ee)return s.push("No actions found in automation"),{nodes:d,edges:g};const re=Array.isArray(ee)?ee:[ee],Q=this.parseActions(re,{warnings:s,previousNodeIds:j,getNextNodeId:R,conditionNodeIds:b,triggerNodeMap:$});return d.push(...Q.nodes),g.push(...Q.edges),{nodes:d,edges:g}}parseTriggers(i,s,c){return i.filter(d=>typeof d=="object"&&d!==null).map((d,g)=>{const b=c("trigger");try{const w=gN.safeParse(d);return w.success?{id:b,type:"trigger",position:{x:0,y:0},data:w.data}:(s.push(`Trigger ${g} failed schema validation: ${JSON.stringify(w.error.issues)}`),this.createFallbackTriggerNode(b,d))}catch(w){return s.push(`Failed to parse trigger ${g}: ${w}`),this.createFallbackTriggerNode(b,d)}})}createFallbackTriggerNode(i,s){const c=typeof s=="object"&&s!==null?s:{};let d,g={};if(typeof c.trigger=="string"){d=c.trigger;const{platform:b,trigger:w,...E}=c;g=E}else if(typeof c.platform=="string"){d=c.platform;const{platform:b,...w}=c;g=w}else{const b=Object.keys(c).find(w=>!["alias","id","enabled","variables"].includes(w));b&&typeof c[b]=="object"&&c[b]!==null?(d=b,g=c[b]):d="state"}return{id:i,type:"trigger",position:{x:0,y:0},data:{trigger:d,...g}}}parseConditions(i,s,c){const d=[],g=[],b=[];return i.filter(wVn).forEach((w,E)=>{const S=c("condition");try{const x=Ug.safeParse(w);if(!x.success){s.push(`Condition ${E} failed schema validation: ${JSON.stringify(x.error.issues)}`),d.push({id:S,type:"condition",position:{x:0,y:0},data:{condition:"template",alias:"Unknown Condition",value_template:JSON.stringify(w)}});return}const A={id:S,type:"condition",position:{x:0,y:0},data:x.data};d.push(A),b.push(S)}catch(x){s.push(`Failed to parse condition ${E}: ${x}`),d.push({id:S,type:"condition",position:{x:0,y:0},data:{condition:"template",alias:"Unknown Condition",value_template:JSON.stringify(w)}})}}),{nodes:d,edges:g,outputNodeIds:b}}parseActions(i,s){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,triggerNodeMap:w,inheritedEnabled:E}=s,S=[],x=[];let A=d;const C=new Set(b),R=new Set,L=B=>E===!1?!1:B,D=B=>{for(const $ of A){let j;R.has($)?j="false":C.has($)&&(j="true"),x.push(this.createEdge($,B,j))}};return i.forEach((B,$)=>{if(!B||typeof B!="object"){c.push(`Unknown action type (${JSON.stringify(B)}) at index ${$}`);const j=g("unknown");S.push({id:j,type:"action",position:{x:0,y:0},data:{alias:"Unknown Node",service:"unknown.unknown",data:B}}),D(j),A=[j];return}if(eQn(B)){const j=g("condition"),P=B,G=P.condition||"template",ee=k5.includes(G)?G:"template";let re;try{re=Ug.parse(P)}catch(ie){c.push(`Inline condition at index ${$} failed schema validation: ${ie instanceof Error?ie.message:JSON.stringify(ie)}`),re={condition:ee,alias:typeof P.alias=="string"?P.alias:void 0,value_template:JSON.stringify(P)}}re.enabled=L(re.enabled);const Q={id:j,type:"condition",position:{x:0,y:0},data:re};S.push(Q),D(j),C.add(j),A=[j]}else if(tQn(B)){const j=g("set_variables"),P=B,G={id:j,type:"set_variables",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,variables:P.variables||{},enabled:L(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),D(j),A=[j]}else if(GZn(B)){const j=g("delay"),P=B,{alias:G,delay:ee,enabled:re,...Q}=P,ie={id:j,type:"delay",position:{x:0,y:0},data:{...Q,alias:typeof G=="string"?G:void 0,delay:KZn(ee),enabled:L(typeof re=="boolean"?re:void 0)}};S.push(ie),D(j),A=[j]}else if(YZn(B)){const j=g("wait"),P=B,{alias:G,wait_template:ee,wait_for_trigger:re,timeout:Q,continue_on_timeout:ie,enabled:pe,...me}=P;let le;(typeof Q=="string"||typeof Q=="object"&&Q!==null)&&(le=Q);const fe={...me,alias:typeof G=="string"?G:void 0,timeout:le,continue_on_timeout:typeof ie=="boolean"?ie:void 0,enabled:L(typeof pe=="boolean"?pe:void 0)};if(typeof ee=="string")fe.wait_template=ee;else if(Array.isArray(re)){const he=[];for(const Oe of re){const Se=gN.safeParse(Oe);Se.success?he.push(Se.data):c.push(`Failed to parse a trigger inside wait_for_trigger: ${Se.error.message}`)}fe.wait_for_trigger=he}const K={id:j,type:"wait",position:{x:0,y:0},data:fe};S.push(K),D(j),A=[j]}else if(JZn(B)){const j=this.parseChooseBlock(B,{warnings:c,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,falsePathConditionIds:R,inheritedEnabled:E});S.push(...j.nodes),x.push(...j.edges);for(const P of j.outputNodeIds){const G=j.nodes.find(ee=>ee.id===P);(G==null?void 0:G.type)==="condition"&&(j.falsePathOutputIds.includes(P)?R.add(P):C.add(P))}A=j.outputNodeIds}else if(ZZn(B)){const j=B,P=Array.isArray(j.if)?j.if:[],G=Array.isArray(j.then)?j.then:[],ee=Array.isArray(j.else)?j.else:void 0,re={if:P,then:G,else:ee,alias:typeof j.alias=="string"?j.alias:void 0,enabled:j.enabled},Q=this.parseIfBlock(re,{warnings:c,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,falsePathConditionIds:R,triggerNodeMap:w,inheritedEnabled:E});S.push(...Q.nodes),x.push(...Q.edges);for(const ie of Q.outputNodeIds){const pe=Q.nodes.find(me=>me.id===ie);(pe==null?void 0:pe.type)==="condition"&&(Q.falsePathOutputIds.includes(ie)?R.add(ie):C.add(ie))}Q.unconsumedPreviousIds.length>0?A=Q.unconsumedPreviousIds:A=Q.outputNodeIds}else if(gMe(B)){const j=g("action"),P=B,G=["type","device_id","domain","entity_id","subtype","alias","enabled"],ee={};for(const[Q,ie]of Object.entries(P))!G.includes(Q)&&ie!==void 0&&(ee[Q]=ie);const re={id:j,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,service:`${P.domain}.${P.type}`,target:{device_id:P.device_id},data:{type:P.type,device_id:P.device_id,domain:P.domain,entity_id:P.entity_id,subtype:P.subtype,...ee},enabled:L(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(re),D(j),A=[j]}else if(XZn(B)){const P=B.parallel,G=[...A],ee=[];for(const re of P)if(Array.isArray(re)){const Q=this.parseActions(re,{warnings:c,previousNodeIds:G,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(Q.nodes.length>0){S.push(...Q.nodes),x.push(...Q.edges);const ie=new Set(Q.edges.map(me=>me.source)),pe=Q.nodes.filter(me=>!ie.has(me.id));ee.push(...pe.map(me=>me.id))}}else if(typeof re=="object"&&re!==null){const Q=re;if("sequence"in Q&&Array.isArray(Q.sequence)){const ie=this.parseActions(Q.sequence,{warnings:c,previousNodeIds:G,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ie.nodes.length>0){S.push(...ie.nodes),x.push(...ie.edges);const pe=new Set(ie.edges.map(le=>le.source)),me=ie.nodes.filter(le=>!pe.has(le.id));ee.push(...me.map(le=>le.id))}}else{const ie=this.parseActions([re],{warnings:c,previousNodeIds:G,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ie.nodes.length>0){S.push(...ie.nodes),x.push(...ie.edges);const pe=ie.nodes[ie.nodes.length-1];ee.push(pe.id)}}}A=ee.length>0?ee:G}else if(oQn(B)){const j=g("action"),P=B,G={id:j,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,event:typeof P.event=="string"?P.event:void 0,event_data:typeof P.event_data=="object"&&P.event_data!==null?P.event_data:void 0,enabled:L(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),D(j),A=[j]}else if(iQn(B)){const j=B,P=j.repeat,G=Array.isArray(P.sequence)?P.sequence:[],ee=typeof j.alias=="string"?j.alias:void 0,re=L(typeof j.enabled=="boolean"?j.enabled:void 0);if(Array.isArray(P.while)&&P.while.length>0){const Q=P.while,ie=[];for(let Oe=0;Oe<Q.length;Oe++){const Se=g("condition");let Le;try{Le=Ug.parse(Q[Oe])}catch{Le={condition:"template",value_template:JSON.stringify(Q[Oe])}}Oe===0&&ee&&(Le.alias=ee),Le.enabled=re;const Ae={id:Se,type:"condition",position:{x:0,y:0},data:Le};ie.push(Ae),S.push(Ae),C.add(Se)}D(ie[0].id);for(let Oe=0;Oe<ie.length-1;Oe++)x.push(this.createEdge(ie[Oe].id,ie[Oe+1].id,"true"));const pe=ie[ie.length-1].id,me=this.parseActions(G,{warnings:c,previousNodeIds:[pe],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:re});if(S.push(...me.nodes),x.push(...me.edges),me.nodes.length>0){const Oe=me.nodes[0].id,Se=x.find(Le=>Le.source===pe&&Le.target===Oe);Se&&(Se.sourceHandle="true")}const le=new Set(me.nodes.map(Oe=>Oe.id)),fe=new Set(me.edges.map(Oe=>Oe.source)),K=me.nodes.filter(Oe=>!fe.has(Oe.id)||![...me.edges].some(Se=>Se.source===Oe.id&&le.has(Se.target))),he=K.length>0?K[K.length-1].id:me.nodes.length>0?me.nodes[me.nodes.length-1].id:pe;if(me.nodes.length>0){const Oe=this.createEdge(he,ie[0].id);x.push(Oe)}A=[ie[0].id],R.add(ie[0].id)}else if(Array.isArray(P.until)&&P.until.length>0||typeof P.until=="string"){const Q=this.parseActions(G,{warnings:c,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:re});S.push(...Q.nodes),x.push(...Q.edges);const ie=Q.nodes.length>0?Q.nodes[0].id:null,pe=new Set(Q.nodes.map(Se=>Se.id)),me=new Set(Q.edges.filter(Se=>pe.has(Se.target)).map(Se=>Se.source)),le=Q.nodes.filter(Se=>!me.has(Se.id)||!Q.edges.some(Le=>Le.source===Se.id&&pe.has(Le.target))),fe=le.length>0?le[le.length-1].id:Q.nodes.length>0?Q.nodes[Q.nodes.length-1].id:null,K=typeof P.until=="string"?[{condition:"template",value_template:P.until}]:P.until,he=[];for(let Se=0;Se<K.length;Se++){const Le=g("condition");let Ae;try{Ae=Ug.parse(K[Se])}catch{Ae={condition:"template",value_template:JSON.stringify(K[Se])}}Se===0&&ee&&Q.nodes.length===0&&(Ae.alias=ee),Ae.enabled=re;const xe={id:Le,type:"condition",position:{x:0,y:0},data:Ae};he.push(xe),S.push(xe),C.add(Le)}if(fe){const Le=Q.nodes.find(Ae=>Ae.id===fe)&&C.has(fe)?"true":void 0;x.push(this.createEdge(fe,he[0].id,Le))}else D(he[0].id);for(let Se=0;Se<he.length-1;Se++)x.push(this.createEdge(he[Se].id,he[Se+1].id,"true"));const Oe=he[he.length-1].id;if(ie){const Se=this.createEdge(he[0].id,ie,"false");x.push(Se)}A=[Oe]}else if(P.count!==void 0){const Q=P.count,ie=g("set_variables"),pe=`_repeat_counter_${ie.replace(/[^a-zA-Z0-9_]/g,"_")}`,me={id:ie,type:"set_variables",position:{x:0,y:0},data:{alias:ee,variables:{[pe]:0},enabled:re}};S.push(me),D(ie);const le=this.parseActions(G,{warnings:c,previousNodeIds:[ie],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:re});S.push(...le.nodes),x.push(...le.edges);const fe=new Set(le.nodes.map(Ue=>Ue.id)),K=new Set(le.edges.filter(Ue=>fe.has(Ue.target)).map(Ue=>Ue.source)),he=le.nodes.filter(Ue=>!K.has(Ue.id)||!le.edges.some(bt=>bt.source===Ue.id&&fe.has(bt.target))),Oe=he.length>0?he[he.length-1].id:le.nodes.length>0?le.nodes[le.nodes.length-1].id:ie,Se=g("set_variables"),Le={id:Se,type:"set_variables",position:{x:0,y:0},data:{variables:{[pe]:`{{ ${pe} + 1 }}`},enabled:re}};if(S.push(Le),le.nodes.length>0){const bt=le.nodes.find(kt=>kt.id===Oe)&&C.has(Oe)?"true":void 0;x.push(this.createEdge(Oe,Se,bt))}else x.push(this.createEdge(ie,Se));const Ae=g("condition"),xe={id:Ae,type:"condition",position:{x:0,y:0},data:{condition:"template",value_template:`{{ ${pe} < ${Q} }}`,enabled:re}};S.push(xe),C.add(Ae),x.push(this.createEdge(Se,Ae));const We=le.nodes.length>0?le.nodes[0].id:Se,dt=this.createEdge(Ae,We,"true");x.push(dt),A=[Ae],R.add(Ae)}else{const Q=g("action"),ie={id:Q,type:"action",position:{x:0,y:0},data:{alias:ee,repeat:P,enabled:re}};S.push(ie),D(Q),A=[Q]}}else if(QZn(B)){const j=g("action");try{const P=B,{alias:G,service:ee,action:re,target:Q,data:ie,data_template:pe,response_variable:me,continue_on_error:le,enabled:fe,...K}=P,he={id:j,type:"action",position:{x:0,y:0},data:{...K,alias:typeof G=="string"?G:void 0,service:typeof ee=="string"?ee:typeof re=="string"?re:void 0,target:typeof Q=="object"&&Q!==null?Q:void 0,data:typeof ie=="object"&&ie!==null?ie:void 0,data_template:typeof pe=="object"&&pe!==null?pe:void 0,response_variable:typeof me=="string"?me:void 0,continue_on_error:typeof le=="boolean"?le:void 0,enabled:L(typeof fe=="boolean"?fe:void 0)}};S.push(he),D(j),A=[j]}catch(P){c.push(`Failed to parse action ${$}: ${P}`),S.push(this.createUnknownNode(j,B))}}else if(nQn(B)){const j=g("action"),P=B,G={id:j,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,set_conversation_response:typeof P.set_conversation_response=="string"?P.set_conversation_response:void 0,enabled:L(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),D(j),A=[j]}else if(rQn(B)){const j=g("action"),P=B,G={id:j,type:"action",position:{x:0,y:0},data:{alias:typeof P.alias=="string"?P.alias:void 0,stop:typeof P.stop=="string"?P.stop:"",...P.error===!0?{error:!0}:{},enabled:L(typeof P.enabled=="boolean"?P.enabled:void 0)}};S.push(G),D(j),A=[j]}else{c.push(`Unknown action type (${JSON.stringify(B)}) at index ${$}`);const j=g("unknown");S.push({id:j,type:"action",position:{x:0,y:0},data:{alias:"Unknown Node",service:"unknown.unknown",data:B}}),D(j),A=[j]}}),{nodes:S,edges:x,terminalNodeIds:A}}parseChooseBlock(i,s){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,inheritedEnabled:E}=s,S=[],x=[],A=[],C=[],R=new Set(b),L=i.enabled,D=E===!1||L===!1?!1:void 0,B=()=>D,j=(Array.isArray(i.choose)?i.choose:[i.choose]).filter(G=>{if(typeof G!="object"||G===null)return!1;const ee=G.conditions;return Array.isArray(ee)?ee.length>0:!!ee});let P=[...d];if(j.forEach((G,ee)=>{const re=Array.isArray(G.conditions)?G.conditions:[G.conditions],Q=[];for(let me=0;me<re.length;me++){const le=re[me],fe=g("condition");let K;if(le&&Array.isArray(le.conditions)){const he=le.condition||"and",Oe=k5.includes(he)?he:"template";K={id:fe,type:"condition",position:{x:0,y:0},data:{alias:me===0?G.alias:void 0,condition:Oe,conditions:zDe(le.conditions),id:le.id,enabled:B()}}}else{const he=(le==null?void 0:le.condition)||"template",Oe=k5.includes(he)?he:"template",Se={...le,alias:me===0?G.alias??(le==null?void 0:le.alias):le==null?void 0:le.alias,condition:Oe,enabled:B()};let Le;try{Le=Ug.parse(Se)}catch{Le={alias:me===0?G.alias:void 0,condition:"template",value_template:JSON.stringify(le),enabled:B()}}K={id:fe,type:"condition",position:{x:0,y:0},data:Le}}Q.push(K),S.push(K),R.add(fe)}if(Q.length===0)return;const ie=Q[0].id,pe=Q[Q.length-1].id;for(const me of P){let le;ee>0&&R.has(me)&&!b.has(me)||w.has(me)?le="false":b.has(me)&&(le="true"),x.push(this.createEdge(me,ie,le))}for(let me=0;me<Q.length-1;me++)x.push(this.createEdge(Q[me].id,Q[me+1].id,"true"));if(G.sequence){const me=Array.isArray(G.sequence)?G.sequence:[G.sequence],le=this.parseActions(me,{warnings:c,previousNodeIds:[pe],getNextNodeId:g,conditionNodeIds:R,inheritedEnabled:D});if(S.push(...le.nodes),x.push(...le.edges),le.nodes.length>0){const fe=le.nodes[0].id,K=x.find(Oe=>Oe.source===pe&&Oe.target===fe);K&&(K.sourceHandle="true");const he=le.nodes[le.nodes.length-1].id;A.push(he)}else A.push(pe)}else A.push(pe);P=[ie]}),i.default){const G=Array.isArray(i.default)?i.default:[i.default],ee=this.parseActions(G,{warnings:c,previousNodeIds:P,getNextNodeId:g,conditionNodeIds:R,inheritedEnabled:D});if(S.push(...ee.nodes),x.push(...ee.edges),P.length>0&&ee.nodes.length>0){const re=P[0],Q=ee.nodes[0].id,ie=x.find(me=>me.source===re&&me.target===Q);ie&&R.has(re)&&(ie.sourceHandle="false");const pe=ee.nodes[ee.nodes.length-1].id;A.push(pe)}}else if(j.length>0){const G=P[0];A.push(G),C.push(G)}return{nodes:S,edges:x,outputNodeIds:A,falsePathOutputIds:C}}parseIfBlock(i,s){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,triggerNodeMap:E,inheritedEnabled:S}=s,x=[],A=[],C=[],R=[],L=new Set(b),D=S===!1||i.enabled===!1?!1:void 0,B=()=>D,$=Array.isArray(i.if)?i.if:[i.if],j=[];for(let Q=0;Q<$.length;Q++){const ie=$[Q],pe=g("condition");let me;if(ie&&Array.isArray(ie.conditions)){const le=ie.condition||"and",fe=k5.includes(le)?le:"template";me={id:pe,type:"condition",position:{x:0,y:0},data:{alias:Q===0?i.alias:void 0,condition:fe,conditions:zDe(ie.conditions),enabled:B()}}}else{const le=(ie==null?void 0:ie.condition)||"numeric_state",fe=k5.includes(le)?le:"template",K={...ie,alias:Q===0?i.alias??(ie==null?void 0:ie.alias):ie==null?void 0:ie.alias,condition:fe,enabled:B()};let he;try{he=Ug.parse(K)}catch{he={alias:Q===0?i.alias:void 0,condition:"template",value_template:JSON.stringify(ie),enabled:B()}}me={id:pe,type:"condition",position:{x:0,y:0},data:he}}j.push(me),x.push(me),L.add(pe)}const P=j[0].id,G=(()=>{if(i.else||$.length!==1)return null;const Q=$[0];if((Q==null?void 0:Q.condition)!=="trigger")return null;const ie=Q==null?void 0:Q.id;return typeof ie=="string"?[ie]:Array.isArray(ie)&&ie.length>0&&ie.every(pe=>typeof pe=="string")?ie:null})();for(const Q of d){if(G!==null&&E){const pe=E.get(Q);if(pe!==void 0&&!G.includes(pe))continue}let ie;w.has(Q)?ie="false":L.has(Q)&&(ie="true"),A.push(this.createEdge(Q,P,ie))}for(let Q=0;Q<j.length-1;Q++)A.push(this.createEdge(j[Q].id,j[Q+1].id,"true"));const ee=j[j.length-1].id;if(i.then){const Q=Array.isArray(i.then)?i.then:[i.then],ie=this.parseActions(Q,{warnings:c,previousNodeIds:[ee],getNextNodeId:g,conditionNodeIds:L,inheritedEnabled:D});if(x.push(...ie.nodes),A.push(...ie.edges),ie.nodes.length>0){const pe=ie.nodes[0].id,me=A.find(le=>le.source===ee&&le.target===pe);me&&(me.sourceHandle="true")}C.push(...ie.terminalNodeIds)}if(i.else){const Q=Array.isArray(i.else)?i.else:[i.else],ie=this.parseActions(Q,{warnings:c,previousNodeIds:[P],getNextNodeId:g,conditionNodeIds:new Set,inheritedEnabled:D});if(x.push(...ie.nodes),ie.nodes.length>0){const pe=ie.nodes[0].id,me=ie.edges.findIndex(le=>le.source===P&&le.target===pe);me>=0&&ie.edges.splice(me,1),A.push(this.createEdge(P,pe,"false"))}A.push(...ie.edges),C.push(...ie.terminalNodeIds)}else if(G===null)for(const Q of j)C.push(Q.id),R.push(Q.id);C.length===0&&G===null&&(C.push(ee),R.push(ee));const re=G!==null&&E?d.filter(Q=>{const ie=E.get(Q);return ie===void 0||!G.includes(ie)}):[];return{nodes:x,edges:A,outputNodeIds:C,falsePathOutputIds:R,unconsumedPreviousIds:re}}createUnknownNode(i,s){const c=s;return{id:i,type:"action",position:{x:0,y:0},data:{alias:`Unknown: ${(c==null?void 0:c.service)||(c==null?void 0:c.trigger)||"Node"}`,service:(c==null?void 0:c.service)||"unknown.unknown",data:c}}}applyMetadataPositions(i,s){return i.map(c=>({...c,position:s.nodes[c.id]||c.position}))}createEdge(i,s,c){return{id:PZn(i,s),source:i,target:s,sourceHandle:c||void 0}}}class XWt{findEntryNodes(i){const s=new Set(i.edges.map(c=>c.target));return i.nodes.filter(c=>!s.has(c.id)).map(c=>c.id)}getOutgoingEdges(i,s){return i.edges.filter(c=>c.source===s)}getIncomingEdges(i,s){return i.edges.filter(c=>c.target===s)}getNode(i,s){return i.nodes.find(c=>c.id===s)}}class uQn extends XWt{constructor(){super(...arguments);Zf(this,"name","native");Zf(this,"description","Generates nested HA YAML for simple tree-shaped automations");Zf(this,"repeatPatterns",new Map);Zf(this,"repeatInternalNodeIds",new Set);Zf(this,"backEdgeIds",new Set)}canHandle(s){return s.isTree}generate(s,c){var L,D,B,$,j;const d=[];this.backEdgeIds=AWt(s),this.repeatPatterns=this.detectRepeatPatterns(s),this.repeatInternalNodeIds=new Set;for(const P of this.repeatPatterns.values()){for(const G of P.bodyNodeIds)this.repeatInternalNodeIds.add(G);for(const G of P.conditionNodeIds)this.repeatInternalNodeIds.add(G);P.initNodeId&&this.repeatInternalNodeIds.add(P.initNodeId),P.incrementNodeId&&this.repeatInternalNodeIds.add(P.incrementNodeId)}const g=this.extractTriggers(s),w=c.entryNodes.flatMap(P=>this.getOutgoingEdges(s,P).map(ee=>ee.target)),E=[...new Set(w)];let S=null,x=[],A=null;if(E.length===1){const P=this.extractLeadingConditions(s,E[0]);P.conditions.length>0&&(S=P.conditions,x=P.nextNodeIds,A=P.visitedIds)}let C;if(S)x.length>0?C=x.flatMap(P=>this.buildSequenceFromNode(s,P,new Set(A))):C=[];else if(E.length===1)C=this.buildSequenceFromNode(s,E[0],new Set);else if(E.length>1){const P=this.detectOrPattern(s,E);if(P){const G=P.conditions.map(Q=>this.buildCondition(Q)),ee=new Set(P.conditions.map(Q=>Q.id)),re=this.buildSequenceFromNode(s,P.convergenceNode,ee);C=[{if:[{condition:"or",conditions:G}],then:re,else:P.isFromFalsePaths?[]:[]}]}else E.every(ee=>{var Q;const re=s.nodes.find(ie=>ie.id===ee);return(re==null?void 0:re.type)==="condition"&&((Q=re.data)==null?void 0:Q.condition)==="trigger"})?C=E.flatMap(ee=>this.buildSequenceFromNode(s,ee,new Set)):C=[{parallel:E.map(Q=>this.buildSequenceFromNode(s,Q,new Set)).filter(Q=>Q.length>0).map(Q=>Q.length===1?Q[0]:Q)}]}else C=[],d.push("No actions found after trigger nodes");const R={alias:s.name,description:s.description||"",triggers:g};return S&&S.length>0&&(R.conditions=S),R.actions=C,R.mode=((L=s.metadata)==null?void 0:L.mode)??"single",(D=s.metadata)!=null&&D.max&&(R.max=s.metadata.max),(B=s.metadata)!=null&&B.max_exceeded&&(R.max_exceeded=s.metadata.max_exceeded),(($=s.metadata)==null?void 0:$.initial_state)===!1&&(R.initial_state=!1),(j=s.metadata)!=null&&j.trace&&(R.trace=s.metadata.trace),s.userTriggerVariables&&Object.keys(s.userTriggerVariables).length>0&&(R.trigger_variables=s.userTriggerVariables),{automation:R,warnings:d,strategy:this.name}}detectRepeatPatterns(s){const c=new Map;for(const d of s.edges){if(!this.backEdgeIds.has(d.id))continue;const g=this.getNode(s,d.source),b=this.getNode(s,d.target);if(!(!g||!b)){if(b.type==="condition"&&g.type!=="condition"){const w=d.target,E=d.source,S=[];let x=w;for(;x;){const L=this.getNode(s,x);if((L==null?void 0:L.type)!=="condition")break;S.push(x);const D=s.edges.find($=>$.source===x&&$.sourceHandle==="true"&&!this.backEdgeIds.has($.id));if(!D)break;const B=this.getNode(s,D.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(D.target)===-1)x=D.target;else break}const A=S[S.length-1],C=this.collectBodyNodes(s,A,"true",new Set(S),E),R=s.edges.find(L=>L.source===w&&L.sourceHandle==="false"&&!this.backEdgeIds.has(L.id));c.set(w,{type:"while",entryNodeId:w,conditionNodeIds:S,bodyNodeIds:C,backEdgeSourceId:E,exitNodeId:(R==null?void 0:R.target)??null})}else if(g.type==="condition"&&d.sourceHandle==="false"){const w=d.target,E=d.source,S=[];let x=E;for(;x;){const L=this.getNode(s,x);if((L==null?void 0:L.type)!=="condition")break;S.push(x);const D=s.edges.find($=>$.source===x&&$.sourceHandle==="true"&&!this.backEdgeIds.has($.id));if(!D)break;const B=this.getNode(s,D.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(D.target)===-1)x=D.target;else break}const A=this.collectNodesUntil(s,w,new Set(S)),C=S[S.length-1],R=s.edges.find(L=>L.source===C&&L.sourceHandle==="true"&&!this.backEdgeIds.has(L.id));c.set(w,{type:"until",entryNodeId:w,conditionNodeIds:S,bodyNodeIds:A,backEdgeSourceId:E,exitNodeId:(R==null?void 0:R.target)??null})}else if(g.type==="condition"&&d.sourceHandle==="true"){const w=d.target,E=d.source,S=[E],x=s.edges.filter(G=>G.target===E&&!this.backEdgeIds.has(G.id)),A=x.length>0?x[0].source:void 0,C=new Set([E]);A&&C.add(A);const R=this.collectNodesUntil(s,w,C),D=s.edges.filter(G=>G.target===w&&!this.backEdgeIds.has(G.id)).map(G=>G.source).find(G=>{const ee=this.getNode(s,G);return(ee==null?void 0:ee.type)==="set_variables"}),B=this.getNode(s,E);let $;if((B==null?void 0:B.type)==="condition"&&B.data.condition==="template"){const G=B.data.value_template;if(typeof G=="string"){const ee=G.match(/<\s*(\d+)\s*\}\}/);ee&&($=Number.parseInt(ee[1],10))}}const j=s.edges.find(G=>G.source===E&&G.sourceHandle==="false"&&!this.backEdgeIds.has(G.id)),P=D??w;c.set(P,{type:"count",entryNodeId:P,conditionNodeIds:S,bodyNodeIds:R,backEdgeSourceId:E,initNodeId:D,incrementNodeId:A,count:$,exitNodeId:(j==null?void 0:j.target)??null})}}}return c}collectBodyNodes(s,c,d,g,b){const w=s.edges.find(A=>A.source===c&&A.sourceHandle===d&&!this.backEdgeIds.has(A.id));if(!w)return[];const E=[],S=[w.target],x=new Set;for(;S.length>0;){const A=S.shift();if(x.has(A)||g.has(A)||(x.add(A),E.push(A),A===b))continue;const C=s.edges.filter(R=>R.source===A&&!this.backEdgeIds.has(R.id));for(const R of C)!x.has(R.target)&&!g.has(R.target)&&S.push(R.target)}return E}collectNodesUntil(s,c,d){const g=[],b=[c],w=new Set;for(;b.length>0;){const E=b.shift();if(w.has(E)||d.has(E))continue;w.add(E),g.push(E);const S=s.edges.filter(x=>x.source===E&&!this.backEdgeIds.has(x.id));for(const x of S)!w.has(x.target)&&!d.has(x.target)&&b.push(x.target)}return g}buildRepeatBlock(s,c,d){for(const w of c.conditionNodeIds)d.add(w);for(const w of c.bodyNodeIds)d.add(w);c.initNodeId&&d.add(c.initNodeId),c.incrementNodeId&&d.add(c.incrementNodeId),d.add(c.entryNodeId);const g=[];for(const w of c.bodyNodeIds){const E=this.getNode(s,w);if(E)if(E.type==="condition"){const S=s.edges.filter(C=>C.source===w&&!this.backEdgeIds.has(C.id)),x=S.find(C=>C.sourceHandle==="true"),A=S.find(C=>C.sourceHandle==="false");if(x||A){const C={if:[this.buildCondition(E)],then:[],else:[]};x&&c.bodyNodeIds.includes(x.target)&&(C.then=this.buildBodySubsequence(s,x.target,c,d)),A&&c.bodyNodeIds.includes(A.target)&&(C.else=this.buildBodySubsequence(s,A.target,c,d)),g.push(C)}else g.push(this.buildCondition(E))}else{const S=this.buildNodeAction(E);S&&g.push(S)}}let b;if(c.type==="while"){const E={repeat:{while:c.conditionNodeIds.map(S=>{var A;const x=this.getNode(s,S);return!b&&((A=x==null?void 0:x.data)!=null&&A.alias)&&(b=x.data.alias),this.buildCondition(x)}),sequence:g}};return b&&(E.alias=b),E}if(c.type==="until"){const E={repeat:{until:c.conditionNodeIds.map(S=>{const x=this.getNode(s,S);return this.buildCondition(x)}),sequence:g}};return b&&(E.alias=b),E}if(c.type==="count"){if(c.initNodeId){const E=this.getNode(s,c.initNodeId);E!=null&&E.data&&"alias"in E.data&&(b=E.data.alias)}const w={repeat:{count:c.count,sequence:g}};return b&&(w.alias=b),w}return null}buildBodySubsequence(s,c,d,g){const b=[];let w=c;for(;w&&d.bodyNodeIds.includes(w)&&!g.has(w);){g.add(w);const E=this.getNode(s,w);if(!E)break;const S=this.buildNodeAction(E);S&&b.push(S);const x=s.edges.filter(A=>A.source===w&&!this.backEdgeIds.has(A.id));w=x.length===1?x[0].target:null}return b}extractTriggers(s){return s.nodes.filter(c=>c.type==="trigger").map(c=>this.buildTrigger(c))}detectOrPattern(s,c){const d=c.map(w=>this.getNode(s,w));if(!d.every(w=>(w==null?void 0:w.type)==="condition"))return null;const g=new Set;for(const w of d){const E=s.edges.find(S=>S.source===w.id&&S.sourceHandle==="true");E&&g.add(E.target)}if(g.size===1&&d.length===c.length){const w=[...g][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!1}}const b=new Set;for(const w of d){const E=s.edges.find(S=>S.source===w.id&&S.sourceHandle==="false");E&&b.add(E.target)}if(b.size===1&&d.length===c.length){const w=[...b][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!0}}return null}extractLeadingConditions(s,c){const d=[],g=new Set;let b=c;for(;b;){const w=this.getNode(s,b);if(!w||w.type!=="condition"||this.repeatPatterns.has(b)||this.repeatInternalNodeIds.has(b))break;const S=this.getOutgoingEdges(s,b).filter(R=>!this.backEdgeIds.has(R.id)),x=S.filter(R=>R.sourceHandle==="true"),A=S.filter(R=>R.sourceHandle==="false");if(x.length>0&&A.length>0||x.length===0&&A.length===0)break;const C=this.buildCondition(w);if(w.data.alias&&(C.alias=w.data.alias),A.length>0){if(d.push({condition:"not",conditions:[C]}),g.add(b),A.length>1)return{conditions:d,nextNodeIds:A.map(R=>R.target),visitedIds:g};b=A[0].target}else{if(d.push(C),g.add(b),x.length>1)return{conditions:d,nextNodeIds:x.map(R=>R.target),visitedIds:g};b=x[0].target}}return{conditions:d,nextNodeIds:b?[b]:[],visitedIds:g}}buildTrigger(s){const c={...s.data};return Object.fromEntries(Object.entries(c).filter(([,d])=>d!==void 0&&d!==""&&d!==null))}findOrConditionSources(s,c,d,g){const b=s.edges.filter(w=>w.target===c&&w.sourceHandle===d&&!this.backEdgeIds.has(w.id)).map(w=>this.getNode(s,w.source)).filter(w=>(w==null?void 0:w.type)==="condition"&&!g.has(w.id));return b.length>1?b:[]}buildSequenceFromNode(s,c,d){if(d.has(c))return[];const g=this.getNode(s,c);if(!g)return[];const b=[],w=this.findOrConditionSources(s,c,"true",d),E=this.findOrConditionSources(s,c,"false",d);if(w.length>1){const A=w.map(L=>this.buildCondition(L));for(const L of w)d.add(L.id);d.add(c);const C=g.type==="condition"?this.buildSequenceFromNode(s,c,new Set):this.buildSequenceFromNode(s,c,new Set(d));let R;if(g.type!=="condition"){const L=this.buildNodeAction(g);R=L?[L,...C]:C}else R=C;return b.push({if:[{condition:"or",conditions:A}],then:R,else:[]}),b}if(E.length>1){const A=E.map(L=>this.buildCondition(L));for(const L of E)d.add(L.id);d.add(c);const C=g.type==="condition"?this.buildSequenceFromNode(s,c,new Set):this.buildSequenceFromNode(s,c,new Set(d));let R;if(g.type!=="condition"){const L=this.buildNodeAction(g);R=L?[L,...C]:C}else R=C;return b.push({if:[{condition:"or",conditions:A}],then:[],else:R}),b}const S=this.repeatPatterns.get(c);if(S){const A=this.buildRepeatBlock(s,S,d);if(A){if(b.push(A),S.exitNodeId){const C=this.buildSequenceFromNode(s,S.exitNodeId,new Set(d));b.push(...C)}return b}}d.add(c);const x=this.getOutgoingEdges(s,c).filter(A=>!this.backEdgeIds.has(A.id));if(g.type==="condition"){const A=[];let C=g,R=[],L=[];for(L=this.getOutgoingEdges(s,g.id).filter(P=>P.sourceHandle==="false"&&!this.backEdgeIds.has(P.id)).map(P=>P.target);(C==null?void 0:C.type)==="condition";){A.push(this.buildCondition(C));const P=this.getOutgoingEdges(s,C.id).filter(re=>re.sourceHandle==="true"&&!this.backEdgeIds.has(re.id));if(P.length===0)break;if(P.length>1){R=P.map(re=>re.target);break}const G=P[0],ee=this.getNode(s,G.target);if((ee==null?void 0:ee.type)==="condition"&&!d.has(ee.id)&&!this.repeatPatterns.has(ee.id)&&!this.repeatInternalNodeIds.has(ee.id)){const re=this.getOutgoingEdges(s,ee.id).filter(ie=>ie.sourceHandle==="false"&&!this.backEdgeIds.has(ie.id));if(re.length===0||re.length===1&&L.includes(re[0].target))C=ee,d.add(C.id);else{R=[G.target];break}}else{R=[G.target];break}}const B={alias:g.data.alias,if:A,then:[],else:[]},$=[...R,...L],j=R.length>0&&L.length>0?this.findConvergencePoint(s,$):null;if(j){if(R.length>0){const G=R.flatMap(ee=>this.buildSequenceUntilNode(s,ee,j,new Set(d)));B.then=G}if(L.length>0){const G=L.flatMap(ee=>this.buildSequenceUntilNode(s,ee,j,new Set(d)));B.else=G}b.push(B);const P=this.buildSequenceFromNode(s,j,new Set(d));b.push(...P)}else{if(R.length>0){const P=R.flatMap(G=>this.buildSequenceFromNode(s,G,new Set(d)));B.then=P}if(L.length>0){const P=L.flatMap(G=>this.buildSequenceFromNode(s,G,new Set(d)));B.else=P}b.push(B)}}else{const A=this.buildNodeAction(g);if(A&&b.push(A),x.length===1){const C=this.buildSequenceFromNode(s,x[0].target,new Set(d));b.push(...C)}else if(x.length>1){const C=this.findConvergencePoint(s,x.map(R=>R.target));if(C){const L=x.map(B=>this.buildSequenceUntilNode(s,B.target,C,new Set(d))).filter(B=>B.length>0);if(L.length>0){const B=L.map($=>$.length===1?$[0]:$);b.push({parallel:B})}const D=this.buildSequenceFromNode(s,C,new Set(d));b.push(...D)}else{const L=x.map(D=>this.buildSequenceFromNode(s,D.target,new Set(d))).filter(D=>D.length>0);if(L.length>0){const D=L.map(B=>B.length===1?B[0]:B);b.push({parallel:D})}}}}return b}findConvergencePoint(s,c){if(c.length<2)return null;const d=c.map(S=>{const x=new Set,A=[S];for(;A.length>0;){const C=A.shift();if(x.has(C))continue;x.add(C);const R=this.getOutgoingEdges(s,C);for(const L of R)A.push(L.target)}return x}),b=[...d[0]].filter(S=>d.every(x=>x.has(S)));if(b.length===0)return null;let w=null,E=Number.POSITIVE_INFINITY;for(const S of b){const x=c.map(C=>this.getShortestDistance(s,C,S)),A=Math.max(...x);A<E&&(E=A,w=S)}return w}getShortestDistance(s,c,d){if(c===d)return 0;const g=new Set,b=[{nodeId:c,distance:0}];for(;b.length>0;){const{nodeId:w,distance:E}=b.shift();if(g.has(w))continue;g.add(w);const S=this.getOutgoingEdges(s,w);for(const x of S){if(x.target===d)return E+1;g.has(x.target)||b.push({nodeId:x.target,distance:E+1})}}return Number.POSITIVE_INFINITY}buildSequenceUntilNode(s,c,d,g){if(c===d)return[];if(g.has(c))return[];g.add(c);const b=this.getNode(s,c);if(!b)return[];const w=[],E=this.buildNodeAction(b);E&&w.push(E);const S=this.getOutgoingEdges(s,c).filter(x=>!this.backEdgeIds.has(x.id));if(b.type==="condition"){const x=E,A=S.filter(R=>R.sourceHandle==="true"),C=S.filter(R=>R.sourceHandle==="false");if(A.length>0){const R=A.flatMap(L=>this.buildSequenceUntilNode(s,L.target,d,new Set(g)));x.then=R}if(C.length>0){const R=C.flatMap(L=>this.buildSequenceUntilNode(s,L.target,d,new Set(g)));x.else=R}}else if(S.length===1){if(S[0].target!==d){const x=this.buildSequenceUntilNode(s,S[0].target,d,new Set(g));w.push(...x)}}else if(S.length>1){const A=S.map(C=>this.buildSequenceUntilNode(s,C.target,d,new Set(g))).filter(C=>C.length>0);if(A.length>0){const C=A.map(R=>R.length===1?R[0]:R);w.push({parallel:C})}}return w}buildNodeAction(s){switch(s.type){case"trigger":return null;case"condition":return this.buildConditionChoose(s);case"action":return this.buildActionCall(s);case"delay":return this.buildDelay(s);case"wait":return this.buildWait(s);case"set_variables":return this.buildSetVariables(s);default:return null}}buildConditionChoose(s){const c=this.buildCondition(s);return{alias:s.data.alias,if:[c],then:[],else:[]}}mapSingleCondition(s){const{condition:c,conditions:d,alias:g,template:b,...w}=s,E={condition:c,...w};return c==="template"&&!w.value_template&&b&&(E.value_template=b),Array.isArray(d)&&d.length>0&&(E.conditions=d.map(S=>this.mapSingleCondition(S)).filter(S=>S&&(!Array.isArray(S.conditions)||S.conditions.length>0))),Object.fromEntries(Object.entries(E).filter(([,S])=>S!==void 0&&S!==""))}buildCondition(s){function c(d){if(!d||typeof d!="object")return d;const{condition:g,conditions:b,alias:w,template:E,...S}=d,x={condition:g,...S};return g==="template"&&!S.value_template&&E&&(x.value_template=E),Array.isArray(b)&&b.length>0&&(x.conditions=b.map(c).filter(A=>A&&(!Array.isArray(A.conditions)||A.conditions.length>0))),Object.fromEntries(Object.entries(x).filter(([,A])=>A!==void 0&&A!==""))}return c(s.data)}buildActionCall(s){if(gMe(s.data.data)){const D=s.data.data,B={device_id:D.device_id,domain:D.domain,type:D.type};s.data.alias&&(B.alias=s.data.alias),D.entity_id&&(B.entity_id=D.entity_id),D.subtype&&(B.subtype=D.subtype);const $=["type","device_id","domain","entity_id","subtype"];for(const[j,P]of Object.entries(D))!$.includes(j)&&P!==void 0&&(B[j]=P);return s.data.enabled===!1&&(B.enabled=!1),B}if(s.data.repeat){const D=s.data.repeat,B={repeat:{...D.count!==void 0?{count:D.count}:{},...D.while?{while:D.while}:{},...D.until?{until:D.until}:{},sequence:D.sequence??[]}};return s.data.alias&&(B.alias=s.data.alias),s.data.enabled===!1&&(B.enabled=!1),B}if(typeof s.data.event=="string"&&s.data.event.trim()!==""){const D={event:s.data.event};return s.data.alias&&(D.alias=s.data.alias),s.data.event_data&&Object.keys(s.data.event_data).length>0&&(D.event_data=s.data.event_data),s.data.enabled===!1&&(D.enabled=!1),D}if("stop"in s.data){const D={stop:s.data.stop??""};return s.data.alias&&(D.alias=s.data.alias),s.data.error===!0&&(D.error=!0),s.data.enabled===!1&&(D.enabled=!1),D}const{alias:c,service:d,id:g,target:b,data:w,data_template:E,response_variable:S,continue_on_error:x,enabled:A,repeat:C,...R}=s.data,L={...R,alias:c,service:d};return b&&(L.target=b),w&&(L.data=w),E&&(L.data_template=E),S&&(L.response_variable=S),x&&(L.continue_on_error=x),A===!1&&(L.enabled=!1),L}buildDelay(s){const{alias:c,delay:d,id:g,...b}=s.data;return{...b,alias:c,delay:d}}buildWait(s){const{alias:c,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=s.data,x={...S,alias:c};return g?x.wait_template=g:b&&(x.wait_for_trigger=b.map(A=>{const C={...A};return Object.fromEntries(Object.entries(C).filter(([,R])=>R!==void 0&&R!==""&&R!==null))})),w&&(x.timeout=w),E!==void 0&&(x.continue_on_timeout=E),x}buildSetVariables(s){const{alias:c,id:d,variables:g,...b}=s.data,w={...b,variables:g};return c&&(w.alias=c),w}}class $Ft extends XWt{constructor(){super(...arguments);Zf(this,"name","state-machine");Zf(this,"description","Generates state machine YAML for complex flows with cycles or cross-links")}canHandle(s){return!0}generate(s,c){var R,L,D,B;const d=[],g=this.buildTriggerRouting(s);if(g.size===0){d.push("No action nodes found after triggers");const $=this.extractTriggers(s);return $.length>0?{automation:{alias:s.name,description:s.description||"",triggers:$,actions:[],mode:((R=s.metadata)==null?void 0:R.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:s.name,description:s.description||"",sequence:[],mode:((L=s.metadata)==null?void 0:L.mode)??"single"},warnings:d,strategy:this.name}}const b=this.generateParallelEntryBlocks(s,g),w=new Set;for(const[,$]of g)if($.length>1)for(const j of $)this.collectSubgraphNodeIds(s,j,w);const E=s.nodes.filter($=>$.type!=="trigger"&&!w.has($.id)).map($=>this.generateNodeBlock(s,$)),S=[...b,...E];if(c.hasCycles){const $=this.detectPotentialInfiniteLoop(s,c);$&&d.push($)}const x=this.extractTriggers(s),C=[{variables:{current_node:this.generateEntryNodeExpression(g),flow_context:{}}},{alias:"State Machine Loop",repeat:{until:'{{ current_node == "END" }}',sequence:[{choose:S,default:[{service:"system_log.write",data:{message:'C.A.F.E.: Unknown state "{{ current_node }}", ending flow',level:"warning"}},{variables:{current_node:"END"}}]}]}}];return x.length>0?{automation:{alias:s.name,description:s.description||"",triggers:x,actions:C,mode:((D=s.metadata)==null?void 0:D.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:s.name,description:s.description||"",sequence:C,mode:((B=s.metadata)==null?void 0:B.mode)??"single"},warnings:d,strategy:this.name}}buildTriggerRouting(s){const c=new Map;return s.nodes.filter(g=>g.type==="trigger").forEach((g,b)=>{const w=this.getOutgoingEdges(s,g.id);w.length>0&&c.set(b,w.map(E=>E.target))}),c}getEffectiveEntryPoint(s,c){return c.length===1?c[0]:`__parallel_trigger_${s}`}generateEntryNodeExpression(s){const c=new Map;for(const[w,E]of s)c.set(w,this.getEffectiveEntryPoint(w,E));const d=new Set(c.values());if(d.size===1)return[...d][0];const g=[...c.entries()].sort((w,E)=>w[0]-E[0]),b=[];return g.forEach(([w,E],S)=>{S===0?b.push(`{% if trigger.idx == "${w}" %}${E}`):S===g.length-1?b.push(`{% else %}${E}{% endif %}`):b.push(`{% elif trigger.idx == "${w}" %}${E}`)}),g.length===1?g[0][1]:b.join("")}generateParallelEntryBlocks(s,c){const d=[];for(const[g,b]of c){if(b.length<=1)continue;const w=`__parallel_trigger_${g}`,E=b.map(S=>{const x=this.generateInlineBranch(s,S,new Set);return x.length===0?{alias:`parallel_branch:${S}`,stop:"Empty branch"}:x.length===1?{...x[0],alias:`parallel_branch:${S}`}:{alias:`parallel_branch:${S}`,sequence:x}});d.push({conditions:[{condition:"template",value_template:`{{ current_node == "${w}" }}`}],sequence:[{parallel:E},{variables:{current_node:"END"}}]})}return d}collectSubgraphNodeIds(s,c,d){if(c==="END"||d.has(c))return;const g=s.nodes.find(w=>w.id===c);if(!g||g.type==="trigger")return;d.add(c);const b=this.getOutgoingEdges(s,g.id);for(const w of b)this.collectSubgraphNodeIds(s,w.target,d)}encodeNodeIdInAlias(s,c){const d=s.alias;s.alias=d?`cafe_node:${c}:${d}`:`cafe_node:${c}`}generateInlineBranch(s,c,d){var w,E,S,x,A;if(c==="END"||d.has(c))return[];const g=s.nodes.find(C=>C.id===c);if(!g)return[];d.add(c);const b=this.getOutgoingEdges(s,g.id);switch(g.type){case"action":{const C=this.buildActionCall(g);this.encodeNodeIdInAlias(C,g.id);const R=((w=b[0])==null?void 0:w.target)??"END";return[C,...this.generateInlineBranch(s,R,d)]}case"condition":{const C=b.find(G=>G.sourceHandle==="true"),R=b.find(G=>G.sourceHandle==="false"),L=(C==null?void 0:C.target)??"END",D=(R==null?void 0:R.target)??"END",B=this.buildNativeCondition(g),$=this.generateInlineBranch(s,L,new Set(d)),j=this.generateInlineBranch(s,D,new Set(d)),P={alias:g.data.alias,if:[B],then:$};return this.encodeNodeIdInAlias(P,g.id),j.length>0&&(P.else=j),[P]}case"delay":{const C=this.buildDelayAction(g);this.encodeNodeIdInAlias(C,g.id);const R=((E=b[0])==null?void 0:E.target)??"END";return[C,...this.generateInlineBranch(s,R,d)]}case"wait":{const C=this.buildWaitAction(g);this.encodeNodeIdInAlias(C,g.id);const R=((S=b[0])==null?void 0:S.target)??"END";return[C,...this.generateInlineBranch(s,R,d)]}case"set_variables":{const C=this.buildSetVariablesAction(g);this.encodeNodeIdInAlias(C,g.id);const R=((x=b[0])==null?void 0:x.target)??"END";return[C,...this.generateInlineBranch(s,R,d)]}default:{const C=((A=b[0])==null?void 0:A.target)??"END";return this.generateInlineBranch(s,C,d)}}}extractTriggers(s){return s.nodes.filter(c=>c.type==="trigger").map(c=>{const d={...c.data};return Object.fromEntries(Object.entries(d).filter(([,g])=>g!==void 0&&g!==""&&g!==null))})}generateNodeBlock(s,c){const d=this.getOutgoingEdges(s,c.id);switch(c.type){case"condition":return this.generateConditionBlock(c,d);case"action":return this.generateActionBlock(c,d);case"delay":return this.generateDelayBlock(c,d);case"wait":return this.generateWaitBlock(c,d);case"set_variables":return this.generateSetVariablesBlock(c,d);default:return this.generatePassthroughBlock(c,d)}}generateActionBlock(s,c){var E;const d=s.id,g=this.buildActionCall(s),b=((E=c[0])==null?void 0:E.target)??"END",w=b==="END"?"END":b;return{conditions:[{condition:"template",value_template:`{{ current_node == "${d}" }}`}],sequence:[g,{variables:{current_node:w}}]}}buildActionCall(s){if(gMe(s.data.data)){const D=s.data.data,B={device_id:D.device_id,domain:D.domain,type:D.type};s.data.alias&&(B.alias=s.data.alias),D.entity_id&&(B.entity_id=D.entity_id),D.subtype&&(B.subtype=D.subtype);const $=["type","device_id","domain","entity_id","subtype"];for(const[j,P]of Object.entries(D))!$.includes(j)&&P!==void 0&&(B[j]=P);return s.data.enabled===!1&&(B.enabled=!1),B}if(s.data.repeat){const D=s.data.repeat,B={repeat:{...D.count!==void 0?{count:D.count}:{},...D.while?{while:D.while}:{},...D.until?{until:D.until}:{},sequence:D.sequence??[]}};return s.data.alias&&(B.alias=s.data.alias),s.data.enabled===!1&&(B.enabled=!1),B}if(typeof s.data.event=="string"&&s.data.event.trim()!==""){const D={event:s.data.event};return s.data.alias&&(D.alias=s.data.alias),s.data.event_data&&Object.keys(s.data.event_data).length>0&&(D.event_data=s.data.event_data),s.data.enabled===!1&&(D.enabled=!1),D}const{alias:c,service:d,id:g,target:b,data:w,data_template:E,response_variable:S,continue_on_error:x,enabled:A,repeat:C,...R}=s.data,L={...R,alias:c,service:d};return g&&(L.id=g),b&&(L.target=b),w&&(L.data=w),E&&(L.data_template=E),S&&(L.response_variable=S),x&&(L.continue_on_error=x),A===!1&&(L.enabled=!1),L}generateConditionBlock(s,c){const d=c.find(R=>R.sourceHandle==="true"),g=c.find(R=>R.sourceHandle==="false"),b=(d==null?void 0:d.target)??"END",w=(g==null?void 0:g.target)??"END",E=b==="END"?"END":b,S=w==="END"?"END":w,x=s.id;if(this.needsNativeConditionCheck(s)){const R=this.buildNativeCondition(s);return{conditions:[{condition:"template",value_template:`{{ current_node == "${x}" }}`}],sequence:[{alias:s.data.alias,if:[R],then:[{variables:{current_node:E}}],else:[{variables:{current_node:S}}]}]}}const C=this.buildConditionTemplate(s);return{conditions:[{condition:"template",value_template:`{{ current_node == "${x}" }}`}],sequence:[{alias:s.data.alias,variables:{current_node:`{% if ${C} %}${E}{% else %}${S}{% endif %}`}}]}}needsNativeConditionCheck(s){const c=s.data;return c.condition==="template"&&(c.value_template||"").includes("{%")?!0:(c.condition==="and"||c.condition==="or"||c.condition==="not")&&c.conditions?c.conditions.some(d=>d.condition==="template"?(d.value_template||"").includes("{%"):!1):!1}buildNativeCondition(s){const c=s.data,d={condition:c.condition};return c.entity_id&&(d.entity_id=c.entity_id),c.state!==void 0&&(d.state=c.state),c.above!=null&&c.above!==""&&(d.above=c.above),c.below!=null&&c.below!==""&&(d.below=c.below),c.attribute&&(d.attribute=c.attribute),c.value_template&&(d.value_template=c.value_template),c.after&&(d.after=c.after),c.before&&(d.before=c.before),c.after_offset&&(d.after_offset=c.after_offset),c.before_offset&&(d.before_offset=c.before_offset),c.zone&&(d.zone=c.zone),c.weekday&&(d.weekday=c.weekday),c.id&&(d.id=c.id),c.conditions&&c.conditions.length>0&&(d.conditions=c.conditions.map(g=>{const b={condition:g.condition};return g.entity_id&&(b.entity_id=g.entity_id),g.state!==void 0&&(b.state=g.state),g.above!==void 0&&(b.above=g.above),g.below!==void 0&&(b.below=g.below),g.attribute&&(b.attribute=g.attribute),g.value_template&&(b.value_template=g.value_template),g.template&&(b.value_template=g.template),g.after&&(b.after=g.after),g.before&&(b.before=g.before),g.after_offset&&(b.after_offset=g.after_offset),g.before_offset&&(b.before_offset=g.before_offset),g.zone&&(b.zone=g.zone),g.weekday&&(b.weekday=g.weekday),g.id&&(b.id=g.id),Object.fromEntries(Object.entries(b).filter(([,w])=>w!==void 0))})),Object.fromEntries(Object.entries(d).filter(([,g])=>g!==void 0))}buildDelayAction(s){const{alias:c,delay:d,id:g,...b}=s.data,w={...b,alias:c,delay:d};return g&&(w.id=g),w}generateDelayBlock(s,c){var w;const d=((w=c[0])==null?void 0:w.target)??"END",g=d==="END"?"END":d;return{conditions:[{condition:"template",value_template:`{{ current_node == "${s.id}" }}`}],sequence:[this.buildDelayAction(s),{variables:{current_node:g}}]}}buildWaitAction(s){const{alias:c,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=s.data,x={...S,alias:c};return d&&(x.id=d),g?x.wait_template=g:b&&(x.wait_for_trigger=b.map(A=>{const{alias:C,...R}=A,L={...R};return Object.fromEntries(Object.entries(L).filter(([,D])=>D!==void 0&&D!==""&&D!==null))})),w&&(x.timeout=w),E!==void 0&&(x.continue_on_timeout=E),x}generateWaitBlock(s,c){var w;const d=((w=c[0])==null?void 0:w.target)??"END",g=d==="END"?"END":d;return{conditions:[{condition:"template",value_template:`{{ current_node == "${s.id}" }}`}],sequence:[this.buildWaitAction(s),{variables:{current_node:g}}]}}buildSetVariablesAction(s){const{alias:c,id:d,variables:g,...b}=s.data,w={...b,variables:g};return c&&(w.alias=c),d&&(w.id=d),w}generateSetVariablesBlock(s,c){var w;const d=((w=c[0])==null?void 0:w.target)??"END",g=d==="END"?"END":d;return{conditions:[{condition:"template",value_template:`{{ current_node == "${s.id}" }}`}],sequence:[this.buildSetVariablesAction(s),{variables:{current_node:g}}]}}generatePassthroughBlock(s,c){var w;const d=((w=c[0])==null?void 0:w.target)??"END",g=d==="END"?"END":d;return{conditions:[{condition:"template",value_template:`{{ current_node == "${s.id}" }}`}],sequence:[{variables:{current_node:g}}]}}buildConditionTemplate(s){const c=s.data;switch(c.condition){case"state":if(c.attribute){if(Array.isArray(c.state)){const d=c.state.map(g=>`'${g}'`).join(", ");return`state_attr('${c.entity_id}', '${c.attribute}') in [${d}]`}return`state_attr('${c.entity_id}', '${c.attribute}') == '${c.state}'`}else{if(Array.isArray(c.state)){const d=c.state.map(g=>`'${g}'`).join(", ");return`states('${c.entity_id}') in [${d}]`}return`is_state('${c.entity_id}', '${c.state}')`}case"numeric_state":return this.buildNumericCondition(c);case"template":{let d=c.value_template||"true";return d.startsWith("{{")&&d.endsWith("}}")&&(d=d.slice(2,-2).trim()),d}case"time":return this.buildTimeCondition(c);case"sun":return this.buildSunCondition(c);case"zone":return`is_state('${c.entity_id}', '${c.zone}')`;case"and":return c.conditions&&c.conditions.length>0?`(${c.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";case"or":return c.conditions&&c.conditions.length>0?`(${c.conditions.map(d=>this.buildNestedCondition(d)).join(" or ")})`:"false";case"not":return c.conditions&&c.conditions.length>0?`not (${c.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";default:return"true"}}buildNumericCondition(s){const c=[],d=s.value_template?`(${s.value_template})`:s.attribute?`state_attr('${s.entity_id}', '${s.attribute}') | float`:`states('${s.entity_id}') | float`;return s.above!=null&&s.above!==""&&c.push(`${d} > ${s.above}`),s.below!=null&&s.below!==""&&c.push(`${d} < ${s.below}`),c.length>0?c.join(" and "):"true"}buildTimeCondition(s){const c=[];if(s.after&&c.push(`now().strftime('%H:%M:%S') >= '${s.after}'`),s.before&&c.push(`now().strftime('%H:%M:%S') < '${s.before}'`),s.weekday&&s.weekday.length>0){const d=s.weekday.map(g=>`'${g}'`).join(", ");c.push(`now().strftime('%a').lower()[:3] in [${d}]`)}return c.length>0?c.join(" and "):"true"}buildSunCondition(s){return s.after==="sunrise"||s.before==="sunset"?"is_state('sun.sun', 'above_horizon')":s.after==="sunset"||s.before==="sunrise"?"is_state('sun.sun', 'below_horizon')":"true"}buildNestedCondition(s){const c={id:"nested",type:"condition",position:{x:0,y:0},data:s};return this.buildConditionTemplate(c)}detectPotentialInfiniteLoop(s,c){return c.hasCycles?s.nodes.some(g=>g.type==="condition")?"Note: This flow contains cycles. Ensure your conditions can eventually evaluate to break the cycle, or the automation may run indefinitely.":"Warning: This flow contains cycles but no conditions. This could result in an infinite loop. Consider adding a condition to break the cycle.":null}}class RM{constructor(){Zf(this,"strategies",[new uQn,new $Ft])}validate(i){return rJn(i)}analyzeTopology(i){return XYn(i)}transpile(i,s={}){const c=[],d=this.validate(i);if(!d.success||!d.graph)return{success:!1,errors:d.errors.map(A=>A.message),warnings:c};const g=d.graph,b=this.analyzeTopology(g);let w;if(s.forceStrategy){const A=this.strategies.find(C=>C.name===s.forceStrategy);if(!A)return{success:!1,errors:[`Unknown strategy: ${s.forceStrategy}`],warnings:c};w=A,w.canHandle(b)||c.push(`Strategy "${w.name}" may not be optimal for this flow topology. Recommended: ${b.recommendedStrategy}`)}else{const A=this.strategies.find(C=>C.canHandle(b));A?w=A:w=new $Ft}const E=w.generate(g,b);c.push(...E.warnings);const S=E.automation??E.script;let x;if(S&&typeof S=="object"){const A=this.generateCafeMetadata(g,w),C={...S,variables:{...g.userVariables||{},...S.variables||{},_cafe_metadata:A}};x=gse(C,{indent:s.indent??2,lineWidth:s.lineWidth??-1,quotingType:'"',forceQuotes:!1})}else x=gse(S,{indent:s.indent??2,lineWidth:s.lineWidth??-1,quotingType:'"',forceQuotes:!1});return{success:!0,yaml:x,output:E,analysis:b,warnings:c}}toYaml(i,s={}){var d;const c=this.transpile(i,s);if(!c.success)throw new Error(`Transpilation failed: ${(d=c.errors)==null?void 0:d.join(", ")}`);return c.yaml}toNativeYaml(i,s={}){return this.toYaml(i,{...s,forceStrategy:"native"})}toStateMachineYaml(i,s={}){return this.toYaml(i,{...s,forceStrategy:"state-machine"})}fromYaml(i){return new aQn().parse(i)}getStrategies(){return this.strategies.map(i=>({name:i.name,description:i.description}))}addStrategy(i){this.strategies.unshift(i)}generateCafeMetadata(i,s){const c={};for(const d of i.nodes)c[d.id]={x:d.position.x,y:d.position.y};return{version:1,nodes:c,graph_id:i.id,graph_version:i.version,strategy:s.name}}}const GDe=new RM,BFt=n=>{let i;const s=new Set,c=(S,x)=>{const A=typeof S=="function"?S(i):S;if(!Object.is(A,i)){const C=i;i=x??(typeof A!="object"||A===null)?A:Object.assign({},i,A),s.forEach(R=>R(i,C))}},d=()=>i,w={setState:c,getState:d,getInitialState:()=>E,subscribe:S=>(s.add(S),()=>s.delete(S))},E=i=n(c,d,w);return w},ZWt=n=>n?BFt(n):BFt,cQn=n=>n;function QWt(n,i=cQn){const s=Hn.useSyncExternalStore(n.subscribe,Hn.useCallback(()=>i(n.getState()),[n,i]),Hn.useCallback(()=>i(n.getInitialState()),[n,i]));return Hn.useDebugValue(s),s}const lQn=n=>{const i=ZWt(n),s=c=>QWt(i,c);return Object.assign(s,i),s},dQn=n=>lQn;var UFt=(n,i,s)=>(d,g)=>({pastStates:(s==null?void 0:s.pastStates)||[],futureStates:(s==null?void 0:s.futureStates)||[],undo:(b=1)=>{var w,E;if(g().pastStates.length){const S=((w=s==null?void 0:s.partialize)==null?void 0:w.call(s,i()))||i(),x=g().pastStates.splice(-b,b),A=x.shift();n(A),d({pastStates:g().pastStates,futureStates:g().futureStates.concat(((E=s==null?void 0:s.diff)==null?void 0:E.call(s,S,A))||S,x.reverse())})}},redo:(b=1)=>{var w,E;if(g().futureStates.length){const S=((w=s==null?void 0:s.partialize)==null?void 0:w.call(s,i()))||i(),x=g().futureStates.splice(-b,b),A=x.shift();n(A),d({pastStates:g().pastStates.concat(((E=s==null?void 0:s.diff)==null?void 0:E.call(s,S,A))||S,x.reverse()),futureStates:g().futureStates})}},clear:()=>d({pastStates:[],futureStates:[]}),isTracking:!0,pause:()=>d({isTracking:!1}),resume:()=>d({isTracking:!0}),setOnSave:b=>d({_onSave:b}),_onSave:s==null?void 0:s.onSave,_handleSet:(b,w,E,S)=>{var x,A;s!=null&&s.limit&&g().pastStates.length>=(s==null?void 0:s.limit)&&g().pastStates.shift(),(A=(x=g())._onSave)==null||A.call(x,b,E),d({pastStates:g().pastStates.concat(S||b),futureStates:[]})}}),fQn=(n,i)=>(c,d,g)=>{var S,x;g.temporal=ZWt(((S=i==null?void 0:i.wrapTemporal)==null?void 0:S.call(i,UFt(c,d,i)))||UFt(c,d,i));const b=((x=i==null?void 0:i.handleSet)==null?void 0:x.call(i,g.temporal.getState()._handleSet))||g.temporal.getState()._handleSet,w=A=>{var L,D,B;if(!g.temporal.getState().isTracking)return;const C=((L=i==null?void 0:i.partialize)==null?void 0:L.call(i,d()))||d(),R=(D=i==null?void 0:i.diff)==null?void 0:D.call(i,A,C);R===null||(B=i==null?void 0:i.equality)!=null&&B.call(i,A,C)||b(A,void 0,C,R)},E=g.setState;return g.setState=(...A)=>{var R;const C=((R=i==null?void 0:i.partialize)==null?void 0:R.call(i,d()))||d();E(...A),w(C)},n((...A)=>{var R;const C=((R=i==null?void 0:i.partialize)==null?void 0:R.call(i,d()))||d();c(...A),w(C)},d,g)};function hQn(n,i){let s;try{s=n()}catch{return}return{getItem:d=>{var g;const b=E=>E===null?null:JSON.parse(E,void 0),w=(g=s.getItem(d))!=null?g:null;return w instanceof Promise?w.then(b):b(w)},setItem:(d,g)=>s.setItem(d,JSON.stringify(g,void 0)),removeItem:d=>s.removeItem(d)}}const qDe=n=>i=>{try{const s=n(i);return s instanceof Promise?s:{then(c){return qDe(c)(s)},catch(c){return this}}}catch(s){return{then(c){return this},catch(c){return qDe(c)(s)}}}},pQn=(n,i)=>(s,c,d)=>{let g={storage:hQn(()=>localStorage),partialize:D=>D,version:0,merge:(D,B)=>({...B,...D}),...i},b=!1;const w=new Set,E=new Set;let S=g.storage;if(!S)return n((...D)=>{console.warn(`[zustand persist middleware] Unable to update item '${g.name}', the given storage is currently unavailable.`),s(...D)},c,d);const x=()=>{const D=g.partialize({...c()});return S.setItem(g.name,{state:D,version:g.version})},A=d.setState;d.setState=(D,B)=>(A(D,B),x());const C=n((...D)=>(s(...D),x()),c,d);d.getInitialState=()=>C;let R;const L=()=>{var D,B;if(!S)return;b=!1,w.forEach(j=>{var P;return j((P=c())!=null?P:C)});const $=((B=g.onRehydrateStorage)==null?void 0:B.call(g,(D=c())!=null?D:C))||void 0;return qDe(S.getItem.bind(S))(g.name).then(j=>{if(j)if(typeof j.version=="number"&&j.version!==g.version){if(g.migrate){const P=g.migrate(j.state,j.version);return P instanceof Promise?P.then(G=>[!0,G]):[!0,P]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,j.state];return[!1,void 0]}).then(j=>{var P;const[G,ee]=j;if(R=g.merge(ee,(P=c())!=null?P:C),s(R,!0),G)return x()}).then(()=>{$==null||$(R,void 0),R=c(),b=!0,E.forEach(j=>j(R))}).catch(j=>{$==null||$(void 0,j)})};return d.persist={setOptions:D=>{g={...g,...D},D.storage&&(S=D.storage)},clearStorage:()=>{S==null||S.removeItem(g.name)},getOptions:()=>g,rehydrate:()=>L(),hasHydrated:()=>b,onHydrate:D=>(w.add(D),()=>{w.delete(D)}),onFinishHydration:D=>(E.add(D),()=>{E.delete(D)})},g.skipHydration||L(),R||C},gQn=pQn,HFt=n=>Symbol.iterator in n,zFt=n=>"entries"in n,GFt=(n,i)=>{const s=n instanceof Map?n:new Map(n.entries()),c=i instanceof Map?i:new Map(i.entries());if(s.size!==c.size)return!1;for(const[d,g]of s)if(!c.has(d)||!Object.is(g,c.get(d)))return!1;return!0},bQn=(n,i)=>{const s=n[Symbol.iterator](),c=i[Symbol.iterator]();let d=s.next(),g=c.next();for(;!d.done&&!g.done;){if(!Object.is(d.value,g.value))return!1;d=s.next(),g=c.next()}return!!d.done&&!!g.done};function eKt(n,i){return Object.is(n,i)?!0:typeof n!="object"||n===null||typeof i!="object"||i===null||Object.getPrototypeOf(n)!==Object.getPrototypeOf(i)?!1:HFt(n)&&HFt(i)?zFt(n)&&zFt(i)?GFt(n,i):bQn(n,i):GFt({entries:()=>Object.entries(n)},{entries:()=>Object.entries(i)})}function tKt(n){const i=Hn.useRef(void 0);return s=>{const c=n(s);return eKt(i.current,c)?i.current:i.current=c}}class mQn{constructor(i,s){Zf(this,"hass",null);Zf(this,"baseUrl");Zf(this,"token");this.hass=i||null,s!=null&&s.url&&(s!=null&&s.token)?(this.baseUrl=s.url,this.token=s.token):typeof window<"u"&&(this.baseUrl=window.location.origin)}updateHass(i,s){this.hass=i,s!=null&&s.url&&(s!=null&&s.token)?(this.baseUrl=s.url,this.token=s.token):typeof window<"u"&&!this.baseUrl&&(this.baseUrl=window.location.origin)}isConnected(){return this.hass?!!(this.hass.connection||this.hass.callApi||this.hass.callService||this.hass.states&&Object.keys(this.hass.states).length>0):!1}getStates(){return this.hass?this.hass.states:null}getState(i){const s=this.getStates();return(s==null?void 0:s[i])||null}getAutomations(){const i=this.getStates();return i?Object.values(i).filter(s=>s.entity_id.startsWith("automation.")):[]}normalizeTags(i){return Array.isArray(i)?i.filter(s=>typeof s=="string"):typeof i=="string"&&i.trim()?[i]:[]}async sendMessage(i){var s;if(!((s=this.hass)!=null&&s.connection))throw new Error("No Home Assistant connection available");return await this.hass.connection.sendMessagePromise(i)}async callService(i,s,c,d){var g,b;if((g=this.hass)!=null&&g.callService){const w={...c,...d&&{target:d}};return await this.hass.callService(i,s,w)}if((b=this.hass)!=null&&b.connection)return await this.sendMessage({type:"call_service",domain:i,service:s,service_data:c,target:d});throw new Error("No service calling method available")}async executeAction(i){if(!i.service)throw new Error("Action must have a service property");const[s,c]=i.service.split(".");if(!s||!c)throw new Error(`Invalid service format: ${i.service}`);return await this.callService(s,c,i.data,i.target)}async callAPI(i,s,c){var d;if((d=this.hass)!=null&&d.callApi)return await this.hass.callApi(i,s,c);throw new Error("REST API calls not supported in standalone mode")}async fetchRestAPI(i,s="GET",c){var b;if((b=this.hass)!=null&&b.callApi)return await this.hass.callApi(s,i,c);if(!this.baseUrl||!this.token)throw console.error("C.A.F.E.: No authentication configured",{baseUrl:this.baseUrl,hasToken:!!this.token}),new Error("No authentication configured for REST API");const d=`${this.baseUrl}/api/${i}`,g=await fetch(d,{method:s,headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:c?JSON.stringify(c):void 0});if(!g.ok){const w=await g.text();throw console.error("C.A.F.E.: REST API error response:",w),new Error(`REST API error: ${g.status} ${g.statusText}`)}return await g.json()}async getAutomationConfigs(){var i;try{if((i=this.hass)!=null&&i.connection)try{const c=await this.sendMessage({type:"config/automation/list"});if(Array.isArray(c))return c}catch(c){console.warn("WebSocket automation list failed, trying alternative:",c)}return this.getAutomations().map(c=>({id:c.entity_id.replace("automation.",""),alias:typeof c.attributes.friendly_name=="string"?c.attributes.friendly_name:c.entity_id,description:typeof c.attributes.description=="string"?c.attributes.description:""}))}catch(s){return console.error("Failed to get automation configs:",s),[]}}async getAutomationConfig(i){var s;try{if((s=this.hass)!=null&&s.connection)try{const d=await this.sendMessage({type:"config/automation/get",automation_id:i});if(d)return d}catch(d){console.warn("WebSocket automation get failed:",d)}if(!i.startsWith("automation."))try{const d=await this.fetchRestAPI(`config/automation/config/${i}`);if(d)return d}catch(d){console.warn("REST API failed for automation %s:",i,d)}return(await this.getAutomationConfigs()).find(d=>d.id===i||d.alias===i||`automation.${d.alias}`===i)||null}catch(c){return console.error("C.A.F.E.: Failed to get automation config:",c),null}}async getAutomationConfigFromTrace(i){try{const s=await this.getAutomationTraces(i);if(!s||s.length===0)return null;const c=await this.getAutomationTraceDetails(i,s[0].run_id);return(c==null?void 0:c.config)||null}catch(s){return console.error("C.A.F.E.: Failed to get automation config from trace:",s),null}}async getAutomationConfigWithFallback(i,s){try{const c=await this.getAutomationConfig(i);return c||(await this.getAutomationConfigFromTrace(i)??null)}catch(c){return console.error("C.A.F.E.: Failed to get automation config with fallback:",c),null}}async createAutomation(i){var s,c;try{const d=i.id||Date.now().toString(),{trigger:g,condition:b,action:w,...E}=i,S={...E,id:d,alias:i.alias||`C.A.F.E. Automation ${d}`,description:i.description||"",triggers:g||i.triggers||[],conditions:b||i.conditions||[],actions:w||i.actions||[],mode:i.mode||"single",variables:i.variables||{}};try{await this.fetchRestAPI(`config/automation/config/${d}`,"POST",S)}catch(x){throw console.error("C.A.F.E.: Failed to save automation config:",x),new Error(`Failed to save automation config: ${x instanceof Error?x.message:"Unknown error"}`)}if((s=this.hass)!=null&&s.callService)return await this.hass.callService("automation","reload",{}),d;if((c=this.hass)!=null&&c.connection)return await this.sendMessage({type:"call_service",domain:"automation",service:"reload"}),d;throw new Error("No working Home Assistant connection method found")}catch(d){throw console.error("C.A.F.E.: Failed to create automation:",d),new Error(`Failed to create automation: ${d instanceof Error?d.message:"Unknown error"}`)}}async updateAutomation(i,s){try{console.log("C.A.F.E.: Updating automation with ID:",i),console.log("C.A.F.E.: Update config:",s);const{trigger:c,condition:d,action:g,...b}=s,w={...b,id:i,alias:s.alias||`C.A.F.E. Automation ${i}`,description:s.description||"",triggers:c||s.triggers||[],conditions:d||s.conditions||[],actions:g||s.actions||[],mode:s.mode||"single",variables:s.variables||{}};console.log("C.A.F.E.: Final update payload:",w),await this.fetchRestAPI(`config/automation/config/${i}`,"POST",w),console.log("C.A.F.E.: Successfully updated automation:",i)}catch(c){throw console.error("C.A.F.E.: Failed to update automation:",c),new Error(`Failed to update automation: ${c instanceof Error?c.message:"Unknown error"}`)}}async deleteAutomation(i){try{await this.fetchRestAPI(`config/automation/config/${i}`,"DELETE")}catch(s){throw console.error("C.A.F.E.: Failed to delete automation:",s),new Error(`Failed to delete automation: ${s instanceof Error?s.message:"Unknown error"}`)}}async automationExistsByAlias(i){try{return(await this.getAutomationConfigs()).some(d=>d.alias===i)}catch(s){return console.error("C.A.F.E.: Failed to check automation existence:",s),!1}}async getUniqueAutomationAlias(i){try{let s=i,c=1;for(;await this.automationExistsByAlias(s);)s=`${i} (${c})`,c++;return s}catch(s){return console.error("C.A.F.E.: Failed to get unique automation alias:",s),i}}async triggerAutomation(i,s=!0){await this.callService("automation","trigger",{entity_id:i,skip_condition:s})}async setAutomationState(i,s){const c=s?"turn_on":"turn_off";await this.callService("automation",c,{entity_id:i})}async getAreas(){try{return await this.sendMessage({type:"config/area_registry/list"})}catch(i){return console.error("Failed to get areas:",i),[]}}async getDevices(){try{return await this.sendMessage({type:"config/device_registry/list"})}catch(i){return console.error("Failed to get devices:",i),[]}}async getEntities(){try{return await this.sendMessage({type:"config/entity_registry/list"})}catch(i){return console.error("Failed to get entities:",i),[]}}async getZones(){try{const i=this.getStates();return i?Object.values(i).filter(s=>s.entity_id.startsWith("zone.")).map(s=>{const c=s.entity_id.replace("zone.","");return{entity_id:s.entity_id,zone_id:c,name:typeof s.attributes.friendly_name=="string"?s.attributes.friendly_name:c,latitude:typeof s.attributes.latitude=="number"?s.attributes.latitude:void 0,longitude:typeof s.attributes.longitude=="number"?s.attributes.longitude:void 0,radius:typeof s.attributes.radius=="number"?s.attributes.radius:void 0,passive:typeof s.attributes.passive=="boolean"?s.attributes.passive:void 0}}):[]}catch(i){return console.error("Failed to get zones:",i),[]}}async getAutomationCatalog(){try{const[i]=await Promise.all([this.getEntities()]),s=Array.isArray(i)?i:[],c=new Map;for(const d of s)d.entity_id&&d.area_id&&c.set(d.entity_id,d.area_id);return this.getAutomations().map(d=>{const g=typeof d.attributes.friendly_name=="string"?d.attributes.friendly_name:d.entity_id,b=typeof d.attributes.id=="string"||typeof d.attributes.id=="number"?String(d.attributes.id):d.entity_id.replace("automation.","");return{entity_id:d.entity_id,automation_id:b,friendly_name:g,enabled:d.state==="on",last_triggered:typeof d.attributes.last_triggered=="string"?d.attributes.last_triggered:void 0,description:typeof d.attributes.description=="string"?d.attributes.description:"",mode:typeof d.attributes.mode=="string"?d.attributes.mode:void 0,area_id:c.get(d.entity_id),tags:this.normalizeTags(d.attributes.tags)}})}catch(i){return console.error("Failed to build automation catalog:",i),[]}}async getAutomationConfigsBatch(i,s=4){const c=Array.from(new Set(i.filter(Boolean))),d={};if(c.length===0)return d;const g=[...c],b=Math.max(1,Math.min(s,g.length)),w=Array.from({length:b}).map(async()=>{for(;g.length>0;){const E=g.shift();if(E)try{d[E]=await this.getAutomationConfigWithFallback(E)}catch(S){console.warn("Failed to fetch automation config for %s:",E,S),d[E]=null}}});return await Promise.all(w),d}async getServices(){try{return await this.sendMessage({type:"get_services"})}catch(i){return console.error("Failed to get services:",i),{}}}async validateAutomationConfig(i){try{return await this.sendMessage({type:"validate_config",...i})}catch(s){return console.error("Failed to validate config:",s),{valid:!1,error:"Validation failed"}}}async getAutomationTraces(i){try{const s=await this.sendMessage({type:"trace/list",domain:"automation",item_id:i});return Array.isArray(s)?s:[]}catch(s){return console.error("Failed to get automation traces:",s),[]}}async getAutomationTraceDetails(i,s){try{return await this.sendMessage({type:"trace/get",domain:"automation",item_id:i,run_id:s})||null}catch(c){return console.error("Failed to get automation trace details:",c),null}}}let S5=null;function Mv(n,i){return S5?n&&(!S5.hass||!S5.isConnected()||n.states&&Object.keys(n.states).length>0)&&S5.updateHass(n??null,i):S5=new mQn(n,i),S5}class BMe{constructor(i,s,c=1){Zf(this,"dbName");Zf(this,"storeName");Zf(this,"dbVersion");Zf(this,"dbPromise",null);this.dbName=i,this.storeName=s,this.dbVersion=c}async initDB(){return this.dbPromise?this.dbPromise:(this.dbPromise=new Promise((i,s)=>{const c=indexedDB.open(this.dbName,this.dbVersion);c.onerror=d=>{console.error("IndexedDB error:",d),s(new Error("Failed to open IndexedDB database"))},c.onsuccess=d=>{const g=d.target.result;i(g)},c.onupgradeneeded=d=>{const g=d.target.result;g.objectStoreNames.contains(this.storeName)||g.createObjectStore(this.storeName)}}),this.dbPromise)}async getItem(i){try{const g=(await this.initDB()).transaction(this.storeName,"readonly").objectStore(this.storeName).get(i);return new Promise((b,w)=>{g.onsuccess=()=>{const E=g.result;b(E??null)},g.onerror=()=>{w(new Error("Failed to get item from IndexedDB"))}})}catch(s){return console.error("IndexedDB getItem error:",s),null}}async setItem(i,s){try{const b=(await this.initDB()).transaction(this.storeName,"readwrite").objectStore(this.storeName).put(s,i);return new Promise((w,E)=>{b.onsuccess=()=>w(),b.onerror=()=>E(new Error("Failed to set item in IndexedDB"))})}catch(c){throw console.error("IndexedDB setItem error:",c),c}}async removeItem(i){try{const g=(await this.initDB()).transaction(this.storeName,"readwrite").objectStore(this.storeName).delete(i);return new Promise((b,w)=>{g.onsuccess=()=>b(),g.onerror=()=>w(new Error("Failed to remove item from IndexedDB"))})}catch(s){throw console.error("IndexedDB removeItem error:",s),s}}static createJSONStorage(i,s){if(!("indexedDB"in globalThis)){const d=new Map;return{getItem:async g=>{const b=d.get(g)??null;return b?JSON.parse(b):null},setItem:async(g,b)=>{d.set(g,JSON.stringify(b))},removeItem:async g=>{d.delete(g)}}}const c=new BMe(i,s);return{getItem:async d=>{const g=await c.getItem(d);return g?JSON.parse(g):null},setItem:async(d,g)=>{await c.setItem(d,JSON.stringify(g))},removeItem:async d=>{await c.removeItem(d)}}}}const wQn=BMe.createJSONStorage("cafe-flow-storage","flow-store");function yQn(n){if("platform"in n&&!("trigger"in n)){const{platform:i,...s}=n;return{...s,trigger:i}}return n}function HOe(n,i){return n==="trigger"?yQn(i):i}function vQn(n){const i=new Map;for(const c of n){const d=c.data.id;typeof d!="string"||d.trim()===""||i.set(d,[...i.get(d)??[],c.id])}const s=new Map;for(const[,c]of i)if(!(c.length<2))for(const d of c)s.set(d,{path:["id"],message:"errors:validation.node.duplicateId"});return s}const VDe={mode:"single",initial_state:!0},qFt={flowId:W5e(),flowName:"Untitled Automation",flowDescription:"",flowMetadata:VDe,userVariables:void 0,userTriggerVariables:void 0,nodes:[],edges:[],selectedNodeId:null,automationId:null,isSaving:!1,lastSaved:null,hasUnsavedChanges:!1,originalSnapshot:null,isSimulating:!1,activeNodeId:null,executionPath:[],isShowingTrace:!1,traceData:null,traceExecutionPath:[],traceTimestamps:{},simulationSpeed:800,nodeErrors:new Map,clipboard:null,pasteCount:0},EQn=n=>({flowId:n.flowId,flowName:n.flowName,flowDescription:n.flowDescription,flowMetadata:n.flowMetadata,nodes:n.nodes,edges:n.edges,selectedNodeId:n.selectedNodeId,automationId:n.automationId,lastSaved:n.lastSaved,originalSnapshot:n.originalSnapshot}),SQn=n=>({nodes:n.nodes,edges:n.edges,flowName:n.flowName,flowDescription:n.flowDescription,flowMetadata:n.flowMetadata,userVariables:n.userVariables,userTriggerVariables:n.userTriggerVariables});let Uk;function zOe(){Uk&&(clearTimeout(Uk.timeoutId),Uk=void 0)}const Do=dQn()(gQn(fQn((n,i)=>({...qFt,setNodes:s=>n({nodes:s}),setEdges:s=>n({edges:s}),onNodesChange:s=>n(c=>({nodes:Ozt(s,c.nodes),hasUnsavedChanges:!0})),onEdgesChange:s=>n(c=>({edges:Dzt(s,c.edges),hasUnsavedChanges:!0})),onConnect:s=>n(c=>({edges:dzt({...s,id:`e-${s.source}-${s.target}-${Date.now()}`,animated:!1},c.edges),hasUnsavedChanges:!0})),addNode:s=>{const c=s.type?{...s,data:HOe(s.type,s.data)}:s;n(d=>({nodes:[...d.nodes,c],hasUnsavedChanges:!0})),i().validateNode(s.id)},updateNodeData:(s,c)=>{n(d=>({nodes:d.nodes.map(g=>g.id===s?{...g,data:{...g.data,...c}}:g),hasUnsavedChanges:!0})),"id"in c?i().validateAllNodes():i().validateNode(s)},removeNode:s=>n(c=>({nodes:c.nodes.filter(d=>d.id!==s),edges:c.edges.filter(d=>d.source!==s&&d.target!==s),selectedNodeId:c.selectedNodeId===s?null:c.selectedNodeId,hasUnsavedChanges:!0})),selectNode:s=>n({selectedNodeId:s}),setClipboard:s=>n({clipboard:s}),setPasteCount:s=>n({pasteCount:s}),setFlowName:s=>n({flowName:s,hasUnsavedChanges:!0}),setFlowDescription:s=>n({flowDescription:s,hasUnsavedChanges:!0}),setFlowMetadata:s=>n(c=>({flowMetadata:{...c.flowMetadata,...s},hasUnsavedChanges:!0})),setAutomationId:s=>n({automationId:s}),setSaving:s=>n({isSaving:s}),setSaved:()=>n({lastSaved:new Date,hasUnsavedChanges:!1}),setUnsavedChanges:s=>n({hasUnsavedChanges:s}),hasRealChanges:()=>{const s=i();return s.originalSnapshot?JSON.stringify({flowName:s.flowName,flowDescription:s.flowDescription,flowMetadata:s.flowMetadata,nodes:s.nodes.map(d=>({id:d.id,type:d.type,position:d.position,data:d.data})),edges:s.edges.map(d=>({id:d.id,source:d.source,target:d.target,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle}))})!==s.originalSnapshot:s.nodes.length>0},saveAutomation:async s=>{var g;const c=i(),d=Mv(s);n({isSaving:!0});try{i().validateAllNodes();const b=i();if(b.nodeErrors.size>0){const D=b.nodeErrors.size;throw new Error(`Cannot save: ${D} node(s) have validation errors. Fix the highlighted nodes before saving.`)}const w=c.toFlowGraph();if(w.nodes.length===0)throw new Error("Cannot save empty automation. Please add at least one trigger and one action node.");const E=w.nodes.filter(D=>D.type==="trigger"),S=w.nodes.filter(D=>D.type==="action");if(E.length===0)throw new Error("Automation must have at least one trigger node. Please add a trigger from the node palette.");if(S.length===0)throw new Error("Automation must have at least one action node. Please add an action from the node palette.");const x=new RM,A=x.validate(w);if(A.errors.length>0)throw console.error("C.A.F.E.: Validation errors:",A.errors),new Error(`Validation failed: ${A.errors.map(D=>D.message).join(", ")}`);const C=x.transpile(w);if(!C.success||!((g=C.output)!=null&&g.automation))throw new Error("Failed to transpile flow to automation config");const R={alias:c.flowName,description:c.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((D,B)=>(D[B.id]={x:B.position.x,y:B.position.y},D),{}),graph_id:w.id,graph_version:1}}},L=await d.createAutomation(R);return n({automationId:L,isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1}),L}catch(b){throw n({isSaving:!1}),b}},updateAutomation:async s=>{var g;const c=i(),d=Mv(s);if(!c.automationId)throw new Error("No automation ID set. Use saveAutomation() for new automations.");console.log("C.A.F.E.: Updating automation with ID from store:",c.automationId),n({isSaving:!0});try{i().validateAllNodes();const b=i();if(b.nodeErrors.size>0){const L=b.nodeErrors.size;throw new Error(`Cannot save: ${L} node(s) have validation errors. Fix the highlighted nodes before saving.`)}const w=c.toFlowGraph();if(w.nodes.length===0)throw new Error("Cannot save empty automation. Please add at least one trigger and one action node.");const E=w.nodes.filter(L=>L.type==="trigger"),S=w.nodes.filter(L=>L.type==="action");if(E.length===0)throw new Error("Automation must have at least one trigger node. Please add a trigger from the node palette.");if(S.length===0)throw new Error("Automation must have at least one action node. Please add an action from the node palette.");const x=new RM,A=x.validate(w);if(A.errors.length>0)throw new Error(`Validation failed: ${A.errors.map(L=>L.message).join(", ")}`);const C=x.transpile(w);if(!C.success||!((g=C.output)!=null&&g.automation))throw new Error("Failed to transpile flow to automation config");const R={alias:c.flowName,description:c.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((L,D)=>(L[D.id]={x:D.position.x,y:D.position.y},L),{}),graph_id:w.id,graph_version:1}}};await d.updateAutomation(c.automationId,R),n({isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1})}catch(b){throw n({isSaving:!1}),b}},startSimulation:()=>n({isSimulating:!0,executionPath:[],activeNodeId:null}),stopSimulation:()=>n({isSimulating:!1,activeNodeId:null}),setActiveNode:s=>n({activeNodeId:s}),addToExecutionPath:s=>n(c=>({executionPath:[...c.executionPath,s]})),clearExecutionPath:()=>n({executionPath:[]}),showTrace:s=>{const c=[],d={};if(s!=null&&s.trace){const g=i(),b={trigger:[],condition:[],action:[],wait:[],delay:[]};for(const E of g.nodes){const S=E.type;b[S]&&b[S].push(E)}for(const E in b)b[E].sort((S,x)=>S.position.y-x.position.y);const w=Object.entries(s.trace).flatMap(([E,S])=>Array.isArray(S)?S.map(x=>({...x,path:E})):[]).sort((E,S)=>new Date(E.timestamp).getTime()-new Date(S.timestamp).getTime());for(const E of w){const S=E.path.split("/"),x=S[0],A=parseInt(S[1],10),C=b[x]||[];if(C[A]){const R=C[A].id;c.includes(R)||(c.push(R),d[R]=E.timestamp)}}}n({isShowingTrace:!0,traceData:s,traceExecutionPath:c,traceTimestamps:d,activeNodeId:null})},hideTrace:()=>n({isShowingTrace:!1,traceData:null,traceExecutionPath:[],traceTimestamps:{},activeNodeId:null}),clearTraceExecutionPath:()=>n({traceExecutionPath:[],traceTimestamps:{}}),setSimulationSpeed:s=>n({simulationSpeed:s}),getExecutionStepNumber:s=>{const c=i();if(c.isSimulating&&c.executionPath.length>0){const d=c.executionPath.indexOf(s);return d>=0?d+1:null}if(c.isShowingTrace&&c.traceExecutionPath.length>0){const d=c.traceExecutionPath.indexOf(s);return d>=0?d+1:null}return null},canDeleteEdge:()=>!0,toFlowGraph:()=>{const s=i(),c=new Set(s.nodes.map(d=>d.id));return{id:s.flowId,name:s.flowName,description:s.flowDescription||void 0,nodes:s.nodes.map(d=>{const g={...d.data};return d.type==="trigger"&&!g.trigger&&(console.warn(`C.A.F.E.: Trigger node ${d.id} missing trigger type, adding default 'state'`),g.trigger="state"),d.type==="action"&&!g.service&&(console.warn(`C.A.F.E.: Action node ${d.id} missing service, adding default 'light.turn_on'`),g.service="light.turn_on"),{id:d.id,type:d.type,position:d.position,data:g}}),edges:s.edges.filter(d=>c.has(d.source)&&c.has(d.target)).map(d=>({id:d.id,source:d.source,target:d.target,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle,label:typeof d.label=="string"?d.label:void 0})),metadata:s.flowMetadata,version:1,userVariables:s.userVariables,userTriggerVariables:s.userTriggerVariables}},fromFlowGraph:s=>{const c=s.nodes.map(w=>({id:w.id,type:w.type,position:w.position,data:HOe(w.type,w.data)})),d=s.edges.map(w=>({id:w.id,source:w.source,target:w.target,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle,label:w.label})),g={...VDe,...s.metadata},b=JSON.stringify({flowName:s.name,flowDescription:s.description||"",flowMetadata:g,nodes:c.map(w=>({id:w.id,type:w.type,position:w.position,data:w.data})),edges:d.map(w=>({id:w.id,source:w.source,target:w.target,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle}))});n({flowId:s.id,flowName:s.name,flowDescription:s.description||"",flowMetadata:g,userVariables:s.userVariables,userTriggerVariables:s.userTriggerVariables,nodes:c,edges:d,selectedNodeId:null,automationId:null,hasUnsavedChanges:!1,lastSaved:null,originalSnapshot:b,nodeErrors:new Map}),i().validateAllNodes(),zOe(),Do.temporal.getState().clear()},reset:()=>{n({...qFt,flowId:W5e(),flowMetadata:{...VDe},originalSnapshot:null,nodeErrors:new Map}),zOe(),Do.temporal.getState().clear()},validateNode:s=>{const d=i().nodes.find(b=>b.id===s);if(!d||!d.type)return;const g=M8t(d.type,d.data);n(b=>{const w=new Map(b.nodeErrors);return g.length>0?w.set(s,g):w.delete(s),{nodeErrors:w}})},validateAllNodes:()=>{const s=i(),c=new Map;for(const g of s.nodes){if(!g.type)continue;const b=M8t(g.type,g.data);b.length>0&&c.set(g.id,b)}const d=vQn(s.nodes);for(const[g,b]of d)c.set(g,[...c.get(g)??[],b]);n({nodeErrors:c})},clearNodeErrors:s=>{n(c=>{const d=new Map(c.nodeErrors);return d.delete(s),{nodeErrors:d}})},hasValidationErrors:()=>i().nodeErrors.size>0}),{partialize:SQn,limit:100,equality:eKt,handleSet:n=>i=>{const s=i,c=(Uk==null?void 0:Uk.burstStart)??s;zOe(),Uk={timeoutId:setTimeout(()=>{Uk=void 0,n(c)},300),burstStart:c}}}),{name:"cafe-flow-storage",storage:wQn,partialize:EQn,version:1,onRehydrateStorage:()=>n=>{if(n){const i=n.nodes.map(c=>({...c,data:c.type?HOe(c.type,c.data):c.data}));i.some((c,d)=>JSON.stringify(c.data)!==JSON.stringify(n.nodes[d].data))&&(n.nodes=i),n.validateAllNodes()}}})),WDe=[{type:"trigger",labelKey:"nodes:types.trigger",icon:yGt,color:"bg-amber-100 border-amber-400 text-amber-700 hover:bg-amber-200",defaultData:{trigger:"state",entity_id:""}},{type:"condition",labelKey:"nodes:types.condition",icon:fGt,color:"bg-blue-100 border-blue-400 text-blue-700 hover:bg-blue-200",defaultData:{condition:"state",entity_id:""}},{type:"action",labelKey:"nodes:types.action",icon:rae,color:"bg-green-100 border-green-400 text-green-700 hover:bg-green-200",defaultData:{service:"light.turn_on"}},{type:"delay",labelKey:"nodes:types.delay",icon:F5e,color:"bg-purple-100 border-purple-400 text-purple-700 hover:bg-purple-200",defaultData:{delay:"00:00:05"}},{type:"wait",labelKey:"nodes:types.wait",icon:hGt,color:"bg-orange-100 border-orange-400 text-orange-700 hover:bg-orange-200",defaultData:{wait_template:"",timeout:"00:01:00"}},{type:"set_variables",labelKey:"nodes:types.set_variables",icon:wGt,color:"bg-cyan-100 border-cyan-400 text-cyan-700 hover:bg-cyan-200",defaultData:{variables:{}}}];function TQn(){const{t:n}=ps(["common","nodes"]),i=Do(g=>g.addNode),s=Do(g=>g.nodes),c=H.useCallback(g=>{const b=s.length*250+250;i({id:Xoe(g.type),type:g.type,position:{x:b,y:150},data:{...g.defaultData}})},[i,s.length]),d=H.useCallback((g,b)=>{g.dataTransfer.setData("application/reactflow",JSON.stringify({type:b.type,defaultData:b.defaultData})),g.dataTransfer.effectAllowed="move"},[]);return I.jsxs("div",{className:"space-y-2 p-4",children:[I.jsx("h3",{className:"mb-3 font-semibold text-muted-foreground text-sm",children:n("labels.addNode")}),I.jsx("div",{className:"space-y-2",children:WDe.map(g=>I.jsxs(Ri,{variant:"outline",onClick:()=>c(g),onDragStart:b=>d(b,g),draggable:!0,className:Sr("h-auto w-full justify-start gap-3 py-3","cursor-grab transition-colors active:cursor-grabbing",g.color),children:[I.jsx(g.icon,{className:"h-4 w-4"}),I.jsx("span",{className:"font-medium text-sm",children:n(g.labelKey)})]},g.type))})]})}function AQn(n){return n==="forward"?WDe.filter(i=>i.type!=="trigger"):[...WDe]}function _Qn(n,i,s,c){return n==="forward"?{source:i,sourceHandle:s,target:c,targetHandle:null}:{source:c,sourceHandle:null,target:i,targetHandle:s}}function xQn({position:n,direction:i,onSelect:s,onClose:c}){const{t:d}=ps(["common","nodes"]),g=H.useMemo(()=>n?AQn(i).map(S=>({config:S,label:d(S.labelKey)})):[],[n,i,d]),{query:b,setQuery:w,filteredItems:E}=rVt(g,{keys:["label"],threshold:.4,ignoreLocation:!0});return I.jsx(sMe,{open:n!==null,onOpenChange:S=>{S||c()},children:n&&I.jsxs(I.Fragment,{children:[I.jsx(LBn,{asChild:!0,children:I.jsx("div",{style:{position:"fixed",left:n.screenX,top:n.screenY,width:0,height:0}})}),I.jsx(Tae,{className:"w-64 p-0",children:I.jsxs(fae,{shouldFilter:!1,children:[I.jsx(hae,{autoFocus:!0,placeholder:d("nodes:quickAdd.searchPlaceholder"),value:b,onValueChange:w}),I.jsxs(pae,{children:[I.jsx(gae,{children:d("combobox.noOptions")}),I.jsx(ez,{children:E.map(S=>I.jsxs(tz,{value:S.label,onSelect:()=>s(S.config),children:[I.jsx(S.config.icon,{className:"mr-2 h-4 w-4"}),S.label]},S.config.type))})]})]})})]})})}const kQn=typeof window<"u"&&(localStorage.getItem("cafe_debug")==="true"||window.location.search.includes("debug=true")),T5={info:"color: #2196F3; font-weight: bold",warn:"color: #FF9800; font-weight: bold",error:"color: #F44336; font-weight: bold",success:"color: #4CAF50; font-weight: bold",debug:"color: #9C27B0; font-weight: bold"};class NQn{constructor(i=kQn){Zf(this,"enabled");Zf(this,"prefix");this.enabled=i,this.prefix="[C.A.F.E.]"}setEnabled(i){this.enabled=i,typeof window<"u"&&localStorage.setItem("cafe_debug",i.toString())}isEnabled(){return this.enabled}info(i,...s){this.enabled&&console.log(`%c${this.prefix} ${i}`,T5.info,...s)}warn(i,...s){this.enabled&&console.warn(`%c${this.prefix} ${i}`,T5.warn,...s)}error(i,...s){this.enabled&&console.error(`%c${this.prefix} ${i}`,T5.error,...s)}success(i,...s){this.enabled&&console.log(`%c${this.prefix} ${i}`,T5.success,...s)}debug(i,...s){this.enabled&&console.log(`%c${this.prefix} DEBUG: ${i}`,T5.debug,...s)}object(i,s){this.enabled&&(console.group(`%c${this.prefix} ${i}`,T5.info),console.log(s),console.groupEnd())}time(i){this.enabled&&console.time(`${this.prefix} ${i}`)}timeEnd(i){this.enabled&&console.timeEnd(`${this.prefix} ${i}`)}}const Ef=new NQn;typeof window<"u"&&(window.cafeLogger=Ef);const CQn=1,bse=2,GOe=3,IQn=4,RQn=5;function OQn(n){return{type:"auth",access_token:n}}function DQn(){return{type:"supported_features",id:1,features:{coalesce_messages:1}}}function LQn(){return{type:"get_states"}}function MQn(){return{type:"get_services"}}function PQn(n){const i={type:"subscribe_events"};return n&&(i.event_type=n),i}function VFt(n){return{type:"unsubscribe_events",subscription:n}}function jQn(){return{type:"ping"}}function FQn(n,i){return{type:"result",success:!1,error:{code:n,message:i}}}const $Qn=(n,i,s=!1)=>{let c;return function(...d){const g=this,b=()=>{c=void 0,s||n.apply(g,d)},w=s&&!c;clearTimeout(c),c=setTimeout(b,i),w&&n.apply(g,d)}},nKt=(n,i,s,c)=>{const[d,g,b]=n.split(".",3);return Number(d)>i||Number(d)===i&&(c===void 0?Number(g)>=s:Number(g)>s)||c!==void 0&&Number(d)===i&&Number(g)===s&&Number(b)>=c},BQn="auth_invalid",UQn="auth_ok";function HQn(n){if(!n.auth)throw IQn;const i=n.auth;let s=i.expired?i.refreshAccessToken().then(()=>{s=void 0},()=>{s=void 0}):void 0;const c=i.wsUrl;function d(g,b,w){const E=new WebSocket(c);let S=!1;const x=()=>{if(E.removeEventListener("close",x),S){w(bse);return}if(g===0){w(CQn);return}const R=g===-1?-1:g-1;setTimeout(()=>d(R,b,w),1e3)},A=async R=>{try{i.expired&&await(s||i.refreshAccessToken()),E.send(JSON.stringify(OQn(i.accessToken)))}catch(L){S=L===bse,E.close()}},C=async R=>{const L=JSON.parse(R.data);switch(L.type){case BQn:S=!0,E.close();break;case UQn:E.removeEventListener("open",A),E.removeEventListener("message",C),E.removeEventListener("close",x),E.removeEventListener("error",x),E.haVersion=L.ha_version,nKt(E.haVersion,2022,9)&&E.send(JSON.stringify(DQn())),b(E);break}};E.addEventListener("open",A),E.addEventListener("message",C),E.addEventListener("close",x),E.addEventListener("error",x)}return new Promise((g,b)=>d(n.setupRetry,g,b))}class zQn{constructor(i,s){this._handleMessage=c=>{let d=JSON.parse(c.data);Array.isArray(d)||(d=[d]),d.forEach(g=>{const b=this.commands.get(g.id);switch(g.type){case"event":b?b.callback(g.event):(console.warn(`Received event for unknown subscription ${g.id}. Unsubscribing.`),this.sendMessagePromise(VFt(g.id)).catch(w=>{}));break;case"result":b&&(g.success?(b.resolve(g.result),"subscribe"in b||this.commands.delete(g.id)):(b.reject(g.error),this.commands.delete(g.id)));break;case"pong":b?(b.resolve(),this.commands.delete(g.id)):console.warn(`Received unknown pong response ${g.id}`);break}})},this._handleClose=async()=>{const c=this.commands;if(this.commandId=1,this.oldSubscriptions=this.commands,this.commands=new Map,this.socket=void 0,c.forEach(b=>{"subscribe"in b||b.reject(FQn(GOe,"Connection lost"))}),this.closeRequested)return;this.fireEvent("disconnected");const d=Object.assign(Object.assign({},this.options),{setupRetry:0}),g=b=>{setTimeout(async()=>{if(!this.closeRequested)try{const w=await d.createSocket(d);this._setSocket(w)}catch(w){if(this._queuedMessages){const E=this._queuedMessages;this._queuedMessages=void 0;for(const S of E)S.reject&&S.reject(GOe)}w===bse?this.fireEvent("reconnect-error",w):g(b+1)}},Math.min(b,5)*1e3)};this.suspendReconnectPromise&&(await this.suspendReconnectPromise,this.suspendReconnectPromise=void 0,this._queuedMessages=[]),g(0)},this.options=s,this.commandId=2,this.commands=new Map,this.eventListeners=new Map,this.closeRequested=!1,this._setSocket(i)}get connected(){return this.socket!==void 0&&this.socket.readyState==this.socket.OPEN}_setSocket(i){this.socket=i,this.haVersion=i.haVersion,i.addEventListener("message",this._handleMessage),i.addEventListener("close",this._handleClose);const s=this.oldSubscriptions;s&&(this.oldSubscriptions=void 0,s.forEach(d=>{"subscribe"in d&&d.subscribe&&d.subscribe().then(g=>{d.unsubscribe=g,d.resolve()})}));const c=this._queuedMessages;if(c){this._queuedMessages=void 0;for(const d of c)d.resolve()}this.fireEvent("ready")}addEventListener(i,s){let c=this.eventListeners.get(i);c||(c=[],this.eventListeners.set(i,c)),c.push(s)}removeEventListener(i,s){const c=this.eventListeners.get(i);if(!c)return;const d=c.indexOf(s);d!==-1&&c.splice(d,1)}fireEvent(i,s){(this.eventListeners.get(i)||[]).forEach(c=>c(this,s))}suspendReconnectUntil(i){this.suspendReconnectPromise=i}suspend(){if(!this.suspendReconnectPromise)throw new Error("Suspend promise not set");this.socket&&this.socket.close()}reconnect(i=!1){if(this.socket){if(!i){this.socket.close();return}this.socket.removeEventListener("message",this._handleMessage),this.socket.removeEventListener("close",this._handleClose),this.socket.close(),this._handleClose()}}close(){this.closeRequested=!0,this.socket&&this.socket.close()}async subscribeEvents(i,s){return this.subscribeMessage(i,PQn(s))}ping(){return this.sendMessagePromise(jQn())}sendMessage(i,s){if(!this.connected)throw GOe;if(this._queuedMessages){if(s)throw new Error("Cannot queue with commandId");this._queuedMessages.push({resolve:()=>this.sendMessage(i)});return}s||(s=this._genCmdId()),i.id=s,this.socket.send(JSON.stringify(i))}sendMessagePromise(i){return new Promise((s,c)=>{if(this._queuedMessages){this._queuedMessages.push({reject:c,resolve:async()=>{try{s(await this.sendMessagePromise(i))}catch(g){c(g)}}});return}const d=this._genCmdId();this.commands.set(d,{resolve:s,reject:c}),this.sendMessage(i,d)})}async subscribeMessage(i,s,c){if(this._queuedMessages&&await new Promise((g,b)=>{this._queuedMessages.push({resolve:g,reject:b})}),c!=null&&c.preCheck&&!await c.preCheck())throw new Error("Pre-check failed");let d;return await new Promise((g,b)=>{const w=this._genCmdId();d={resolve:g,reject:b,callback:i,subscribe:(c==null?void 0:c.resubscribe)!==!1?()=>this.subscribeMessage(i,s,c):void 0,unsubscribe:async()=>{this.connected&&await this.sendMessagePromise(VFt(w)),this.commands.delete(w)}},this.commands.set(w,d);try{this.sendMessage(s,w)}catch{}}),()=>d.unsubscribe()}_genCmdId(){return++this.commandId}}const GQn=n=>n*1e3+Date.now();async function qQn(n,i,s){const c=typeof location<"u"&&location;if(c&&c.protocol==="https:"){const w=document.createElement("a");if(w.href=n,w.protocol==="http:"&&w.hostname!=="localhost")throw RQn}const d=new FormData;i!==null&&d.append("client_id",i),Object.keys(s).forEach(w=>{d.append(w,s[w])});const g=await fetch(`${n}/auth/token`,{method:"POST",credentials:"same-origin",body:d});if(!g.ok)throw g.status===400||g.status===403?bse:new Error("Unable to fetch tokens");const b=await g.json();return b.hassUrl=n,b.clientId=i,b.expires=GQn(b.expires_in),b}class VQn{constructor(i,s){this.data=i,this._saveTokens=s}get wsUrl(){return`ws${this.data.hassUrl.substr(4)}/api/websocket`}get accessToken(){return this.data.access_token}get expired(){return Date.now()>this.data.expires}async refreshAccessToken(){if(!this.data.refresh_token)throw new Error("No refresh_token");const i=await qQn(this.data.hassUrl,this.data.clientId,{grant_type:"refresh_token",refresh_token:this.data.refresh_token});i.refresh_token=this.data.refresh_token,this.data=i,this._saveTokens&&this._saveTokens(i)}async revoke(){if(!this.data.refresh_token)throw new Error("No refresh_token to revoke");const i=new FormData;i.append("token",this.data.refresh_token),await fetch(`${this.data.hassUrl}/auth/revoke`,{method:"POST",credentials:"same-origin",body:i}),this._saveTokens&&this._saveTokens(null)}}function WQn(n,i){return new VQn({hassUrl:n,clientId:null,expires:Date.now()+1e11,refresh_token:"",access_token:i,expires_in:1e11})}const KQn=n=>{let i=[];function s(d){let g=[];for(let b=0;b<i.length;b++)i[b]===d?d=null:g.push(i[b]);i=g}function c(d,g){n=g?d:Object.assign(Object.assign({},n),d);let b=i;for(let w=0;w<b.length;w++)b[w](n)}return{get state(){return n},action(d){function g(b){c(b,!1)}return function(){let b=[n];for(let E=0;E<arguments.length;E++)b.push(arguments[E]);let w=d.apply(this,b);if(w!=null)return w instanceof Promise?w.then(g):g(w)}},setState:c,clearState(){n=void 0},subscribe(d){return i.push(d),()=>{s(d)}}}},YQn=5e3,KDe=(n,i,s,c,d={unsubGrace:!0})=>{if(n[i])return n[i];let g=0,b,w,E=KQn();const S=()=>{if(!s)throw new Error("Collection does not support refresh");return s(n).then(D=>E.setState(D,!0))},x=()=>S().catch(D=>{if(n.connected)throw D}),A=()=>{if(w!==void 0){clearTimeout(w),w=void 0;return}c&&(b=c(n,E)),s&&(n.addEventListener("ready",x),x()),n.addEventListener("disconnected",L)},C=()=>{w=void 0,b&&b.then(D=>{D()}),E.clearState(),n.removeEventListener("ready",S),n.removeEventListener("disconnected",L)},R=()=>{w=setTimeout(C,YQn)},L=()=>{w&&(clearTimeout(w),C())};return n[i]={get state(){return E.state},refresh:S,subscribe(D){g++,g===1&&A();const B=E.subscribe(D);return E.state!==void 0&&setTimeout(()=>D(E.state),0),()=>{B(),g--,g||(d.unsubGrace?R():C())}}},n[i]},JQn=n=>n.sendMessagePromise(LQn()),XQn=n=>n.sendMessagePromise(MQn());function ZQn(n,i,s){var c;const d=i.state;if(d===void 0)return;const{domain:g,service:b}=s.data;if(!(!((c=d.domain)===null||c===void 0)&&c.service)){const w=Object.assign(Object.assign({},d[g]),{[b]:{description:"",fields:{}}});i.setState({[g]:w})}eer(n,i)}function QQn(n,i){if(n===void 0)return null;const{domain:s,service:c}=i.data,d=n[s];if(!d||!(c in d))return null;const g={};return Object.keys(d).forEach(b=>{b!==c&&(g[b]=d[b])}),{[s]:g}}const eer=$Qn((n,i)=>rKt(n).then(s=>i.setState(s,!0)),5e3),rKt=n=>XQn(n),ter=(n,i)=>Promise.all([n.subscribeEvents(s=>ZQn(n,i,s),"service_registered"),n.subscribeEvents(i.action(QQn),"service_removed")]).then(s=>()=>s.forEach(c=>c())),ner=n=>KDe(n,"_srv",rKt,ter),rer=(n,i)=>ner(n).subscribe(i);function ier(n,i){const s=Object.assign({},n.state);if(i.a)for(const c in i.a){const d=i.a[c];let g=new Date(d.lc*1e3).toISOString();s[c]={entity_id:c,state:d.s,attributes:d.a,context:typeof d.c=="string"?{id:d.c,parent_id:null,user_id:null}:d.c,last_changed:g,last_updated:d.lu?new Date(d.lu*1e3).toISOString():g}}if(i.r)for(const c of i.r)delete s[c];if(i.c)for(const c in i.c){let d=s[c];if(!d){console.warn("Received state update for unknown entity",c);continue}d=Object.assign({},d);const{"+":g,"-":b}=i.c[c],w=(g==null?void 0:g.a)||(b==null?void 0:b.a),E=w?Object.assign({},d.attributes):d.attributes;if(g&&(g.s!==void 0&&(d.state=g.s),g.c&&(typeof g.c=="string"?d.context=Object.assign(Object.assign({},d.context),{id:g.c}):d.context=Object.assign(Object.assign({},d.context),g.c)),g.lc?d.last_updated=d.last_changed=new Date(g.lc*1e3).toISOString():g.lu&&(d.last_updated=new Date(g.lu*1e3).toISOString()),g.a&&Object.assign(E,g.a)),b!=null&&b.a)for(const S of b.a)delete E[S];w&&(d.attributes=E),s[c]=d}n.setState(s,!0)}const oer=(n,i)=>n.subscribeMessage(s=>ier(i,s),{type:"subscribe_entities"});function ser(n,i){const s=n.state;if(s===void 0)return;const{entity_id:c,new_state:d}=i.data;if(d)n.setState({[d.entity_id]:d});else{const g=Object.assign({},s);delete g[c],n.setState(g,!0)}}async function aer(n){const i=await JQn(n),s={};for(let c=0;c<i.length;c++){const d=i[c];s[d.entity_id]=d}return s}const uer=(n,i)=>n.subscribeEvents(s=>ser(i,s),"state_changed"),cer=n=>nKt(n.haVersion,2022,4,0)?KDe(n,"_ent",void 0,oer):KDe(n,"_ent",aer,uer),ler=(n,i)=>cer(n).subscribe(i);async function der(n){const i=Object.assign({setupRetry:0,createSocket:HQn},n),s=await i.createSocket(i);return new zQn(s,i)}const iKt="cafe_hass_config";function fer(){try{const n=localStorage.getItem(iKt);if(n)return JSON.parse(n)}catch{}return{url:"",token:""}}function her(n){try{localStorage.setItem(iKt,JSON.stringify(n))}catch{}}const oKt=H.createContext(void 0),WFt=({children:n,forceMode:i,externalHass:s})=>{const[c,d]=H.useState(i?fer():{url:"",token:""}),[g,b]=H.useState([]),[w,E]=H.useState({}),[S,x]=H.useState(new Map),[A,C]=H.useState(new Map),[R,L]=H.useState(new Map),[D,B]=H.useState(!1),[$,j]=H.useState(null),[P,G]=H.useState(null),ee=!!(c.url&&c.token),re=i==="remote",Q=H.useCallback(We=>{d(We),her(We),b([]),E({}),x(new Map),C(new Map),L(new Map),j(null)},[]);H.useEffect(()=>{if(!re)return;const dt=(async()=>{B(!0),j(null);try{const Ue=WQn(c.url,c.token),bt=await der({auth:Ue});G(bt),bt.addEventListener("ready",()=>{j(null),B(!1)}),bt.addEventListener("disconnected",()=>{j("Connection lost")}),bt.addEventListener("reconnect-error",vt=>{console.error("C.A.F.E.: WebSocket reconnection failed:",vt),j("Reconnection failed")});const kt=ler(bt,vt=>{const Ct=Object.values(vt).map(Ft=>({entity_id:Ft.entity_id,state:Ft.state,attributes:Ft.attributes||{},last_changed:Ft.last_changed||"",last_updated:Ft.last_updated||"",context:Ft.context}));b(Ct),B(!1)}),ht=rer(bt,vt=>{E(vt)});return(async()=>{try{const vt=await bt.sendMessagePromise({type:"config/area_registry/list"}),Ct=new Map;for(const vr of vt)Ct.set(vr.area_id,vr);x(Ct);const Ft=await bt.sendMessagePromise({type:"config/device_registry/list"}),On=new Map;for(const vr of Ft)On.set(vr.id,vr);C(On);const Zn=await bt.sendMessagePromise({type:"config/entity_registry/list"}),Yn=new Map;for(const vr of Zn)Yn.set(vr.entity_id,vr);L(Yn)}catch(vt){console.error("C.A.F.E.: Failed to fetch registries:",vt)}})(),()=>{kt(),ht(),bt.close(),G(null)}}catch(Ue){console.error("C.A.F.E.: Failed to establish WebSocket connection:",Ue);const bt=Ue instanceof Error?Ue.message:"Connection failed";j(bt),B(!1)}})();return()=>{dt instanceof Promise&&dt.then(Ue=>Ue==null?void 0:Ue())}},[re,c.url,c.token]),H.useEffect(()=>{if(!(s!=null&&s.connection))return;(async()=>{try{const dt=await s.connection.sendMessagePromise({type:"config/area_registry/list"}),Ue=new Map;for(const vt of dt)Ue.set(vt.area_id,vt);x(Ue);const bt=await s.connection.sendMessagePromise({type:"config/device_registry/list"}),kt=new Map;for(const vt of bt)kt.set(vt.id,vt);C(kt);const ht=await s.connection.sendMessagePromise({type:"config/entity_registry/list"}),Xt=new Map;for(const vt of ht)Xt.set(vt.entity_id,vt);L(Xt)}catch(dt){console.error("C.A.F.E.: Failed to fetch registries from externalHass:",dt)}})()},[s==null?void 0:s.connection]);const ie=H.useRef({}),pe=H.useRef({}),me=H.useRef({});ie.current=H.useMemo(()=>Object.fromEntries(g.map(We=>[We.entity_id,We])),[g]),pe.current=w,me.current=H.useMemo(()=>Object.fromEntries(A),[A]);const le=H.useMemo(()=>{if(s)return s;if(P&&re)return{auth:null,get connected(){return P.connected},config:{},themes:{darkMode:!1},panels:{},selectedTheme:null,panelUrl:"",language:"en",locale:{},selectedLanguage:null,resources:{},get devices(){return me.current},localize:()=>"",translationMetadata:{fragments:[],translations:{}},dockedSidebar:!1,moreInfoEntityId:"",user:null,fetchWithAuth:async()=>new Response,sendWS:async(...We)=>{P.sendMessage(...We)},callWS:We=>P.sendMessagePromise(We),get states(){return ie.current},get services(){return pe.current},connection:P,callApi:async(We,dt,Ue)=>{if(!c.url||!c.token)throw new Error("No authentication configured");const bt=`${c.url}/api/${dt}`,kt=await fetch(bt,{method:We,headers:{Authorization:`Bearer ${c.token}`,"Content-Type":"application/json"},body:Ue?JSON.stringify(Ue):void 0});if(!kt.ok){const ht=await kt.json();throw new Error(`API error: ${ht.message}`)}return await kt.json()},callService:async(We,dt,Ue)=>{if(!P)throw new Error("WebSocket connection not available");return P.sendMessagePromise({type:"call_service",domain:We,service:dt,service_data:Ue||{}})}}},[s,re,P,c.url,c.token]),fe=H.useMemo(()=>re?g:Object.values((le==null?void 0:le.states)??{}),[re,g,le==null?void 0:le.states]),K=H.useMemo(()=>re?w:(le==null?void 0:le.services)??{},[re,w,le==null?void 0:le.services]),he=H.useCallback(We=>fe.filter(dt=>dt.entity_id.startsWith(`${We}.`)),[fe]),Oe=H.useCallback(()=>{const We=[];for(const[dt,Ue]of Object.entries(K))for(const[bt,kt]of Object.entries(Ue))We.push({domain:dt,service:bt,definition:kt});return We},[K]),Se=H.useCallback(We=>{var bt;if(!We||!We.includes("."))return null;const[dt,Ue]=We.split(".");return((bt=K[dt])==null?void 0:bt[Ue])||null},[K]),Le=H.useCallback(We=>{const dt=R.get(We);if(!(dt!=null&&dt.device_id))return null;const Ue=A.get(dt.device_id);return Ue&&(Ue.name_by_user||Ue.name)||null},[R,A]),Ae=H.useCallback(We=>{var bt,kt;const dt=R.get(We),Ue=(dt==null?void 0:dt.area_id)??(dt!=null&&dt.device_id?(bt=A.get(dt.device_id))==null?void 0:bt.area_id:null);return Ue?((kt=S.get(Ue))==null?void 0:kt.name)??null:null},[R,A,S]),xe={hass:le,isRemote:re,isLoading:re&&ee?D:!1,connectionError:re?$:null,entities:fe,services:K,config:c,setConfig:Q,getEntitiesByDomain:he,getAllServices:Oe,getServiceDefinition:Se,getDeviceNameForEntity:Le,getAreaNameForEntity:Ae};return I.jsx(oKt.Provider,{value:xe,children:n})};function pb(){const n=H.useContext(oKt);if(n===void 0)throw new Error("useHass must be used within a HassProvider");return n}function zae(){var c;const{hass:n}=pb(),[i,s]=H.useState(((c=n==null?void 0:n.themes)==null?void 0:c.darkMode)??!1);return H.useEffect(()=>{var d,g;if(Ef.debug("[C.A.F.E.] useDarkMode effect running",{hasHass:!!n,hasStates:!!(n!=null&&n.states&&Object.keys(n.states).length>0),hasThemes:!!(n!=null&&n.themes),darkMode:(d=n==null?void 0:n.themes)==null?void 0:d.darkMode}),((g=n==null?void 0:n.themes)==null?void 0:g.darkMode)!==void 0){const b=n.themes.darkMode;Ef.debug("[C.A.F.E.] Dark mode from hass.themes.darkMode:",b),s(b)}else n&&Object.keys(n.states||{}).length>0?(Ef.debug("[C.A.F.E.] Hass available but no themes.darkMode property, defaulting to light mode"),s(!1)):Ef.debug("[C.A.F.E.] Hass not available yet or no entities loaded")},[n]),i}function per({id:n,sourceX:i,sourceY:s,targetX:c,targetY:d,sourcePosition:g,targetPosition:b,style:w,markerEnd:E,selected:S}){const{t:x}=ps(["common"]),{setEdges:A}=kR(),C=Do(K=>K.setUnsavedChanges),R=Do(K=>K.canDeleteEdge),L=zae(),D=c<i,B=D?100:0,$=D?50:0;let j,P,G,ee=0,re=0,Q=0;if(D)ee=i+$,re=Math.min(s,d)-B,Q=c-$,j=`M ${i},${s} L ${ee},${s} L ${ee},${re} L ${Q},${re} L ${Q},${d} L ${c},${d}`,P=(ee+Q)/2,G=re;else{const[K,he,Oe]=Woe({sourceX:i,sourceY:s,sourcePosition:g,targetX:c,targetY:d,targetPosition:b});j=K,P=he,G=Oe}const ie=R(n),pe=K=>{K.stopPropagation(),ie&&(A(he=>he.filter(Oe=>Oe.id!==n)),C(!0))},le=S?{...w,stroke:"#3b82f6",strokeWidth:3}:w??{},fe=le&&typeof le=="object"&&"stroke"in le&&typeof le.stroke=="string"?le.stroke:L?"#94a3b8":"#64748b";return I.jsxs(I.Fragment,{children:[I.jsx(xz,{id:n,path:j,style:le,markerEnd:E}),D&&ee!==0&&I.jsx(E9t,{children:I.jsx("div",{className:"nodrag nopan pointer-events-none absolute",style:{transform:`translate(-50%, -50%) translate(${ee+(Q-ee)/2}px, ${re}px)`},children:I.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[I.jsx("title",{children:x("shortcuts.arrowLeft")}),I.jsx("polygon",{points:"15,5 6,10 15,15",fill:fe})]})})}),S&&ie&&I.jsx(E9t,{children:I.jsx("div",{className:"nodrag nopan pointer-events-auto absolute",style:{transform:`translate(-50%, -50%) translate(${P}px, ${G}px)`},children:I.jsx("button",{onClick:pe,className:"flex h-6 w-6 items-center justify-center rounded-full bg-destructive text-destructive-foreground shadow-md transition-transform hover:scale-110 focus:outline-none focus:ring-2 focus:ring-destructive focus:ring-offset-2",title:"Delete connection","aria-label":"Delete connection",type:"button",children:I.jsx(oae,{className:"h-3.5 w-3.5"})})})})]})}function gb(n){const i=Do(c=>c.nodeErrors.get(n));return H.useMemo(()=>{const c=i??[],d=b=>{const w=c.find(E=>E.path.includes(b));return w==null?void 0:w.message},g=()=>{const b=c.find(w=>w.path.includes("_root")||w.path.length===0);return b==null?void 0:b.message};return{hasErrors:c.length>0,errors:c,errorMessages:c.map(b=>b.message),getFieldError:d,getRootError:g}},[i])}const ger=H.memo(function({id:i,data:s,selected:c}){var G;const{t:d}=ps(["nodes"]),g=Do(ee=>ee.activeNodeId),b=Do(ee=>ee.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=gb(i),S=g===i,x=b(i),A=s.enabled===!1,C=typeof s.stop=="string",R=C?s.stop:void 0,L=C&&s.error===!0;let D,B;!C&&typeof s.service=="string"&&s.service.includes(".")&&([D,B]=s.service.split("."));const $=!C&&typeof s.event=="string"&&s.event.trim()!=="",j=(G=s.target)==null?void 0:G.entity_id,P=C||!s.target?null:Array.isArray(j)?`${j.length} entities selected`:j;return C?I.jsxs("div",{className:Sr("relative min-w-[180px] rounded-lg border-2 border-orange-400 bg-orange-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-orange-500 ring-offset-2",S&&"node-active ring-4 ring-orange-500",A&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),A&&!w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-orange-200 p-1",children:I.jsx(Q8n,{className:"h-4 w-4 text-orange-700"})}),I.jsx("span",{className:"font-semibold text-orange-900 text-sm",children:s.alias||d("nodes:types.stop")}),x&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-orange-600 font-bold text-white text-xs",children:x})]}),I.jsxs("div",{className:"space-y-0.5 text-orange-700 text-xs",children:[I.jsx("div",{className:"font-medium opacity-70",children:d(L?"nodes:actions.stopError":"nodes:actions.stopExecution")}),R&&I.jsx("div",{className:"truncate opacity-75 italic",children:R})]})]}):I.jsxs("div",{className:Sr("relative min-w-[180px] rounded-lg border-2 border-green-400 bg-green-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-green-500 ring-offset-2",S&&"node-active ring-4 ring-green-500",A&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),A&&!w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-green-500 !border-green-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-green-200 p-1",children:I.jsx(rae,{className:"h-4 w-4 text-green-700"})}),I.jsx("span",{className:"font-semibold text-green-900 text-sm",children:s.alias||($?s.event:B)||"Action"}),x&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-green-600 font-bold text-white text-xs",children:x})]}),I.jsxs("div",{className:"space-y-0.5 text-green-700 text-xs",children:[I.jsx("div",{className:"font-medium",children:$?I.jsx("span",{className:"opacity-60",children:d("nodes:actions.fireEvent")}):I.jsxs(I.Fragment,{children:[I.jsxs("span",{className:"opacity-60",children:[D,"."]}),B]})}),P&&I.jsx("div",{className:"truncate opacity-75",children:P})]}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-green-500 !border-green-700"})]})}),ber=H.memo(function({id:i,data:s,selected:c}){const d=Do(C=>C.activeNodeId),g=Do(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),x=s.enabled===!1,A={state:"State",numeric_state:"Numeric",template:"Template",time:"Time",zone:"Zone",sun:"Sun",and:"AND",or:"OR",not:"NOT",device:"Device",trigger:"Trigger"};return I.jsxs("div",{className:Sr("group relative min-w-[180px] rounded-lg border-2 border-blue-400 bg-blue-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-blue-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",x&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),x&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-blue-500 !border-blue-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-blue-200 p-1",children:I.jsx(fGt,{className:"h-4 w-4 text-blue-700"})}),I.jsx("span",{className:"font-semibold text-blue-900 text-sm",children:s.alias||A[s.condition]||"Condition"}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-blue-600 font-bold text-white text-xs",children:S})]}),I.jsxs("div",{className:"space-y-0.5 text-blue-700 text-xs",children:[I.jsx("div",{className:"font-medium",children:A[s.condition]||s.condition}),s.entity_id&&I.jsx("div",{className:"truncate opacity-75",children:Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id}),s.state&&I.jsxs("div",{className:"opacity-75",children:["= ",s.state]}),s.above!=null&&I.jsxs("div",{className:"opacity-75",children:["> ",s.above]}),s.below!=null&&I.jsxs("div",{className:"opacity-75",children:["< ",s.below]}),s.after&&I.jsxs("div",{className:"opacity-75",children:["after: ",s.after]}),s.before&&I.jsxs("div",{className:"opacity-75",children:["before: ",s.before]}),s.zone&&I.jsxs("div",{className:"opacity-75",children:["zone: ",s.zone]}),s.attribute&&I.jsxs("div",{className:"opacity-75",children:["attr: ",s.attribute]}),s.for&&I.jsxs("div",{className:"opacity-75",children:["for: ",typeof s.for=="string"?s.for:`${s.for.hours||0}h ${s.for.minutes||0}m ${s.for.seconds||0}s`]}),s.template&&I.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[s.template.slice(0,30),"..."]}),s.value_template&&I.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[s.value_template.slice(0,30),"..."]}),typeof s.id=="string"&&I.jsxs("div",{className:"opacity-75",children:["id: ",s.id]}),Array.isArray(s.conditions)&&s.conditions.length>0&&I.jsx("div",{className:"opacity-75",children:Jie("nodes:conditions.nestedConditions",{count:s.conditions.length})})]}),I.jsx($h,{type:"source",position:qr.Right,id:"true",style:{top:"30%"},className:"!w-3 !h-3 !bg-green-500 !border-green-700"}),I.jsx($h,{type:"source",position:qr.Right,id:"false",style:{top:"70%"},className:"!w-3 !h-3 !bg-red-500 !border-red-700"}),I.jsx("div",{className:"absolute top-[30%] right-[-40px] -translate-y-1/2 transform rounded border border-green-200 bg-white px-1 py-0.5 font-medium text-[10px] text-green-700 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:Jie("nodes:conditions.yes")}),I.jsx("div",{className:"absolute top-[70%] right-[-36px] -translate-y-1/2 transform rounded border border-red-200 bg-white px-1 py-0.5 font-medium text-[10px] text-red-700 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:Jie("nodes:conditions.no")})]})});function sKt(n){if(!n)return"";if(typeof n=="string")return n;if(typeof n=="object"){const i=[];return n.hours&&i.push(`${n.hours}h`),n.minutes&&i.push(`${n.minutes}m`),n.seconds&&i.push(`${n.seconds}s`),n.milliseconds&&i.push(`${n.milliseconds}ms`),i.join(" ")||"0s"}return String(n)}const mer=H.memo(function({id:i,data:s,selected:c}){const d=Do(C=>C.activeNodeId),g=Do(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),x=s.enabled===!1,A=sKt(s.delay);return I.jsxs("div",{className:Sr("relative min-w-[140px] rounded-lg border-2 border-purple-400 bg-purple-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-purple-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",x&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),x&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-purple-500 !border-purple-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-purple-200 p-1",children:I.jsx(F5e,{className:"h-4 w-4 text-purple-700"})}),I.jsx("span",{className:"font-semibold text-purple-900 text-sm",children:s.alias||"Delay"}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-purple-600 font-bold text-white text-xs",children:S})]}),I.jsx("div",{className:"text-purple-700 text-xs",children:I.jsx("div",{className:"font-mono",children:A})}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-purple-500 !border-purple-700"})]})}),wer=H.memo(function({id:i,data:s,selected:c}){const d=Do(C=>C.activeNodeId),g=Do(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),x=s.enabled===!1,A=Object.keys(s.variables||{}).length;return I.jsxs("div",{className:Sr("relative min-w-[160px] rounded-lg border-2 border-cyan-400 bg-cyan-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-cyan-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",x&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),x&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-cyan-200 p-1",children:I.jsx(wGt,{className:"h-4 w-4 text-cyan-700"})}),I.jsx("span",{className:"font-semibold text-cyan-900 text-sm",children:s.alias||"Set Variables"}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-cyan-600 font-bold text-white text-xs",children:S})]}),I.jsx("div",{className:"text-cyan-700 text-xs",children:I.jsx("div",{className:"font-medium opacity-75",children:Jie("nodes:variables.variableCount",{count:A})})}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"})]})}),yer=H.memo(function({id:i,data:s,selected:c}){const d=Do(L=>L.activeNodeId),g=Do(L=>L.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),x=s.enabled===!1,A={state:"State Change",time:"Time",time_pattern:"Time Pattern",event:"Event",mqtt:"MQTT",webhook:"Webhook",sun:"Sun",zone:"Zone",numeric_state:"Numeric State",template:"Template",homeassistant:"Home Assistant",device:"Device"},R=(()=>{const L=s.trigger;switch(L){case"device":return{title:s.alias||"Device Trigger",subtitle:s.type?`${s.domain||"device"}: ${s.type}`:"Device",detail:s.device_id?`Device: ${String(s.device_id).substring(0,8)}...`:null};case"state":return{title:s.alias||"State Change",subtitle:Array.isArray(s.entity_id)?`${s.entity_id.length} entities:
${s.entity_id.join(", ")}`:s.entity_id||"State",detail:s.to?`to: ${s.to}`:null};case"numeric_state":return{title:s.alias||"Numeric State",subtitle:Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id||"Numeric State",detail:s.above||s.below?`${s.above?`>${s.above}`:""}${s.above&&s.below?" ":""}${s.below?`<${s.below}`:""}`:null};case"event":return{title:s.alias||"Event",subtitle:A[L],detail:s.event_type||null};case"time":return{title:s.alias||"Time",subtitle:A[L],detail:s.at||null};case"sun":return{title:s.alias||"Sun",subtitle:A[L],detail:s.event?`${s.event}${s.offset?` ${s.offset}`:""}`:null};case"mqtt":return{title:s.alias||"MQTT",subtitle:A[L],detail:s.topic||null};case"webhook":return{title:s.alias||"Webhook",subtitle:A[L],detail:s.webhook_id||null};case"zone":return{title:s.alias||"Zone",subtitle:A[L],detail:s.zone||(Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id)||null};default:return{title:s.alias||A[L]||"Trigger",subtitle:A[L]||L,detail:null}}})();return I.jsxs("div",{className:Sr("relative min-w-[180px] max-w-[300px] rounded-lg border-2 border-amber-400 bg-amber-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-amber-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",x&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),x&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-amber-200 p-1",children:I.jsx(yGt,{className:"h-4 w-4 text-amber-700"})}),I.jsx("span",{className:"font-semibold text-amber-900 text-sm",children:R.title}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-amber-600 font-bold text-white text-xs",children:S})]}),I.jsxs("div",{className:"space-y-0.5 text-amber-700 text-xs",children:[I.jsx("div",{className:"line-clamp-2 truncate whitespace-pre-line font-medium",children:R.subtitle}),R.detail&&I.jsx("div",{className:"truncate opacity-75",children:String(R.detail)})]}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-amber-500 !border-amber-700"})]})}),ver=H.memo(function({id:i,data:s,selected:c}){const{t:d}=ps(["common","nodes"]),g=Do(R=>R.activeNodeId),b=Do(R=>R.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=gb(i),S=g===i,x=b(i),A=s.enabled===!1,C=sKt(s.timeout);return I.jsxs("div",{className:Sr("relative min-w-[140px] rounded-lg border-2 border-orange-400 bg-orange-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-orange-500 ring-offset-2",S&&"node-active ring-4 ring-green-500",A&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
`),children:I.jsx(_w,{className:"h-3 w-3"})}),A&&!w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-orange-200 p-1",children:I.jsx(hGt,{className:"h-4 w-4 text-orange-700"})}),I.jsx("span",{className:"font-semibold text-orange-900 text-sm",children:s.alias||"Wait for"}),x&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-orange-600 font-bold text-white text-xs",children:x})]}),I.jsxs("div",{className:"space-y-0.5 text-orange-700 text-xs",children:[s.wait_template&&I.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[s.wait_template.slice(0,30),"..."]}),s.wait_for_trigger&&I.jsx("div",{className:"truncate text-[10px] opacity-75",children:d("nodes:wait.waitsForNTrigger",{count:s.wait_for_trigger.length})}),C&&I.jsxs("div",{className:"opacity-75",children:[d("nodes:wait.timeoutLabel")," ",C]})]}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"})]})});var Eer=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ser=Eer.reduce((n,i)=>{const s=lae(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),Ter="Separator",KFt="horizontal",Aer=["horizontal","vertical"],aKt=H.forwardRef((n,i)=>{const{decorative:s,orientation:c=KFt,...d}=n,g=_er(c)?c:KFt,w=s?{role:"none"}:{"aria-orientation":g==="vertical"?g:void 0,role:"separator"};return I.jsx(Ser.div,{"data-orientation":g,...w,...d,ref:i})});aKt.displayName=Ter;function _er(n){return Aer.includes(n)}var uKt=aKt;const Pz=H.forwardRef(({className:n,orientation:i="horizontal",decorative:s=!0,...c},d)=>I.jsx(uKt,{ref:d,decorative:s,orientation:i,className:Sr("shrink-0 bg-border",i==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",n),...c}));Pz.displayName=uKt.displayName;function xer(){const{undo:n,redo:i,canUndo:s,canRedo:c}=QWt(Do.temporal,tKt(b=>({undo:b.undo,redo:b.redo,canUndo:b.pastStates.length>0,canRedo:b.futureStates.length>0}))),d=H.useCallback(()=>{n(),Do.getState().validateAllNodes()},[n]),g=H.useCallback(()=>{i(),Do.getState().validateAllNodes()},[i]);return{undo:d,redo:g,canUndo:s,canRedo:c}}function UMe(){var i;const n=navigator;return(i=n.userAgentData)!=null&&i.platform?n.userAgentData.platform==="macOS":/Mac|iPhone|iPod|iPad/.test(navigator.platform)||/Macintosh/.test(navigator.userAgent)}function ker(n){return{name:"align-bottom",icon:V9n,tooltip:n("toolbar.alignBottom"),shortcut:"ctrl+shift+b",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.max(...i.selectedNodes.map(g=>g.position.y+(g.height||0))),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,y:s-(g.height||0)}}:g);i.setNodes(d)}}}function Ner(n){return{name:"align-left",icon:Z9n,tooltip:n("toolbar.alignLeft"),shortcut:"ctrl+shift+l",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.min(...i.selectedNodes.map(g=>g.position.x)),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,x:s}}:g);i.setNodes(d)}}}function Cer(n){return{name:"align-right",icon:K9n,tooltip:n("toolbar.alignRight"),shortcut:"ctrl+shift+r",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.max(...i.selectedNodes.map(g=>g.position.x+(g.width||0))),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,x:s-(g.width||0)}}:g);i.setNodes(d)}}}function Ier(n){return{name:"align-top",icon:J9n,tooltip:n("toolbar.alignTop"),shortcut:"ctrl+shift+t",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.min(...i.selectedNodes.map(g=>g.position.y)),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,y:s}}:g);i.setNodes(d)}}}function cKt(n){const i=n.selectedNodes.map(c=>c.id),s=n.edges.filter(c=>i.includes(c.source)&&i.includes(c.target));n.setClipboard(JSON.stringify({nodes:n.selectedNodes,edges:s})),n.setPasteCount(0)}function lKt(n,i,s){const c=(s.pasteCount||0)+1;s.setPasteCount(c);const d=50*c,g=new Map,b=s.nodes.map(E=>({...E,selected:!1})),w=n.map(E=>{const S=Xoe(E.type??"node");return g.set(E.id,S),{...E,selected:!0,id:S,position:{x:E.position.x+d,y:E.position.y+d}}});if(s.setNodes([...b,...w]),i.length>0){const E=i.map(S=>({...S,id:`edge-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,source:g.get(S.source)??S.source,target:g.get(S.target)??S.target}));s.setEdges([...s.edges,...E])}}function Rer(n){return{name:"copy",icon:$5e,tooltip:n("toolbar.copy"),shortcut:"ctrl+c",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{cKt(i),N2.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} copied`)}}}function Oer(n){return{name:"cut",icon:aPn,tooltip:n("toolbar.cut"),shortcut:"ctrl+x",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const s=i.selectedNodes.length;cKt(i),i.selectedNodes.forEach(c=>{i.removeNode(c.id)}),N2.success(`${s} node${s!==1?"s":""} cut`)}}}function Der(n){return{name:"delete",icon:PM,tooltip:n("toolbar.deleteNode"),shortcut:["delete","backspace"],variant:"destructive",group:"delete",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(s=>{i.removeNode(s.id)})}}}function Ler(n){return{name:"disconnect",icon:wPn,tooltip:n("toolbar.disconnect"),shortcut:"ctrl+shift+d",group:"edit",isEnabled:i=>{if(i.selectedNodes.length===0)return!1;const s=i.selectedNodes.map(c=>c.id);return i.edges.some(c=>s.includes(c.source)||s.includes(c.target))},execute:i=>{const s=i.selectedNodes.map(d=>d.id),c=i.edges.filter(d=>!s.includes(d.source)&&!s.includes(d.target));i.setEdges(c)}}}function Mer(n){return{name:"duplicate",icon:k8n,tooltip:n("toolbar.duplicate"),shortcut:"ctrl+d",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const s=i.selectedNodes.map(d=>d.id),c=i.edges.filter(d=>s.includes(d.source)&&s.includes(d.target));lKt(i.selectedNodes,c,i),N2.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} duplicated`)}}}function Per(n){return{name:"paste",icon:A8n,tooltip:n("toolbar.paste"),shortcut:"ctrl+v",group:"clipboard",isEnabled:i=>!!(i.clipboard&&i.clipboard.length>0),execute:i=>{if(i.clipboard)try{const s=JSON.parse(i.clipboard),c=s.nodes||[],d=s.edges||[];if(!Array.isArray(c)||c.length===0)return;lKt(c,d,i)}catch(s){console.warn("Invalid clipboard data, cannot paste.",s)}}}}function jer(n){return{name:"redo",icon:rPn,tooltip:n("toolbar.redo"),shortcut:["ctrl+shift+z","ctrl+y"],group:"history",isEnabled:i=>i.canRedo,execute:i=>i.redo()}}function Fer(n){return{name:"selectAll",icon:X8n,tooltip:n("toolbar.selectAll"),shortcut:"ctrl+a",group:"selection",isEnabled:()=>!0,execute:i=>{const s=i.nodes.map(d=>({...d,selected:!0}));i.setNodes(s);const c=i.edges.map(d=>({...d,selected:!0}));i.setEdges(c)}}}function $er(n){return{name:"toggle-enabled",icon:A9t,getIcon:i=>{const s=i.selectedNodes.every(d=>d.data.enabled===!1),c=i.selectedNodes.every(d=>d.data.enabled!==!1);return s?v8n:c?iN:A9t},tooltip:i=>{const s=i.selectedNodes.every(d=>d.data.enabled===!1),c=i.selectedNodes.every(d=>d.data.enabled!==!1);return n(s?"toolbar.enable":c?"toolbar.disable":"toolbar.toggleEnabled")},shortcut:"ctrl+e",group:"edit",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(s=>{const c=s.data.enabled!==!1;i.updateNodeData(s.id,{enabled:!c})})}}}function Ber(n){return{name:"undo",icon:bPn,tooltip:n("toolbar.undo"),shortcut:"ctrl+z",group:"history",isEnabled:i=>i.canUndo,execute:i=>i.undo()}}function Uer(n,i){const s=UMe();return n.split("+").map(c=>c==="ctrl"?i(s?"shortcuts.cmd":"shortcuts.ctrl"):c==="shift"?i("shortcuts.shift"):c==="alt"?i("shortcuts.alt"):c==="arrowup"?i("shortcuts.arrowUp"):c==="arrowdown"?i("shortcuts.arrowDown"):c==="arrowleft"?i("shortcuts.arrowLeft"):c==="arrowright"?i("shortcuts.arrowRight"):c.charAt(0).toUpperCase()+c.slice(1)).join("+")}const qOe=["history","node-specific","selection","clipboard","edit","align","delete"];function Her(){var re;const{t:n}=ps(),{nodes:i,edges:s,clipboard:c,pasteCount:d,addNode:g,removeNode:b,updateNodeData:w,setNodes:E,setEdges:S,setClipboard:x,setPasteCount:A}=Do(tKt(Q=>({nodes:Q.nodes,edges:Q.edges,clipboard:Q.clipboard,pasteCount:Q.pasteCount,addNode:Q.addNode,removeNode:Q.removeNode,updateNodeData:Q.updateNodeData,setNodes:Q.setNodes,setEdges:Q.setEdges,setClipboard:Q.setClipboard,setPasteCount:Q.setPasteCount}))),{undo:C,redo:R,canUndo:L,canRedo:D}=xer(),B=H.useMemo(()=>({selectedNodes:i.filter(Q=>Q.selected),nodes:i,edges:s,clipboard:c,pasteCount:d,addNode:g,removeNode:b,updateNodeData:w,setNodes:E,setEdges:S,setClipboard:x,setPasteCount:A,undo:C,redo:R,canUndo:L,canRedo:D}),[i,s,c,d,g,b,w,E,S,x,A,C,R,L,D]),$=H.useMemo(()=>[Ber(n),jer(n),Mer(n),Rer(n),Oer(n),Per(n),Ner(n),Cer(n),Ier(n),ker(n),Ler(n),Fer(n),$er(n),Der(n)],[n]),j=$.length>0;H.useEffect(()=>{if(!j)return;const Q=ie=>{const pe=ie.target;if(pe.tagName==="INPUT"||pe.tagName==="TEXTAREA"||pe.isContentEditable)return;const le=UMe()?ie.metaKey:ie.ctrlKey;let fe="";le&&(fe+="ctrl+"),ie.shiftKey&&(fe+="shift+"),ie.altKey&&(fe+="alt+"),fe+=ie.key.toLowerCase();const K=$.find(he=>!he.shortcut||!(Array.isArray(he.shortcut)?he.shortcut:[he.shortcut]).includes(fe)?!1:he.isEnabled?he.isEnabled(B):!0);K&&(ie.preventDefault(),K.execute(B))};return window.addEventListener("keydown",Q),()=>window.removeEventListener("keydown",Q)},[j,$,B]);const P=H.useMemo(()=>{const Q={};for(const ie of $){const pe=ie.group||"node-specific";Q[pe]||(Q[pe]=[]),Q[pe].push(ie)}return Q},[$]);if(!j)return null;let G=0;try{c&&(G=((re=JSON.parse(c).nodes)==null?void 0:re.length)||0)}catch{}const ee=Q=>!Q||Q.length===0?null:Q.map(ie=>{const pe=ie.getIcon?ie.getIcon(B):ie.icon,me=typeof ie.tooltip=="function"?ie.tooltip(B):ie.tooltip,le=ie.isEnabled?ie.isEnabled(B):!0,fe=ie.name==="paste";return I.jsxs(Ri,{variant:"ghost",size:"icon",disabled:!le,className:Sr("relative h-8 w-8 shrink-0","sm:h-9 sm:w-9",ie.variant==="destructive"&&"text-destructive hover:bg-destructive/10 hover:text-destructive"),title:ie.shortcut?`${me} (${Uer(Array.isArray(ie.shortcut)?ie.shortcut[0]:ie.shortcut,n)})`:me,onClick:()=>ie.execute(B),children:[I.jsx(pe,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4"}),fe&&G>0&&I.jsx("span",{className:"absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-primary font-bold text-[9px] text-primary-foreground",children:G})]},ie.name)});return I.jsx(gR,{position:"top-center",className:"!m-0 !p-0 max-w-[calc(100vw-2rem)] sm:max-w-[calc(100vw-4rem)]",children:I.jsx("div",{className:Sr("flex items-center gap-0.5 rounded-lg border bg-background/95 px-1.5 py-1 shadow-lg backdrop-blur supports-[backdrop-filter]:bg-background/60 sm:gap-1 sm:px-2 sm:py-1.5","fade-in slide-in-from-top-2 animate-in duration-200","scrollbar-thin scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent overflow-x-auto","max-w-full"),children:I.jsx("div",{className:"flex shrink-0 items-center gap-0.5 sm:gap-1",children:qOe.map((Q,ie)=>{var me;const pe=P[Q];return!pe||pe.length===0?null:I.jsxs("div",{className:"flex items-center gap-0.5 sm:gap-1",children:[ee(pe),ie<qOe.length-1&&((me=P[qOe[ie+1]])==null?void 0:me.length)>0&&I.jsx(Pz,{orientation:"vertical",className:"mx-0.5 h-6 sm:mx-1"})]},Q)})})})})}const zer={trigger:yer,condition:ber,action:ger,delay:mer,wait:ver,set_variables:wer},Ger={deletable:per};function qer(){const{t:n}=ps(["common","debug"]),i=zae(),{nodes:s,edges:c,onNodesChange:d,onEdgesChange:g,onConnect:b,selectNode:w,addNode:E,selectedNodeId:S,isSimulating:x,executionPath:A,isShowingTrace:C,traceExecutionPath:R,canDeleteEdge:L}=Do(),D=H.useRef(null),{screenToFlowPosition:B,setViewport:$}=kR(),[j,P]=H.useState(null),G=H.useCallback((fe,K)=>{var Le;if(K.toNode||!K.fromHandle||!K.fromNode)return;const he=fe.target;if(!((Le=he==null?void 0:he.closest)!=null&&Le.call(he,".react-flow__pane")))return;const Oe="changedTouches"in fe?fe.changedTouches[0]:fe;if(!Oe)return;const Se=B({x:Oe.clientX,y:Oe.clientY});P({screenPosition:{screenX:Oe.clientX,screenY:Oe.clientY},flowPosition:Se,fromNodeId:K.fromHandle.nodeId,fromHandleId:K.fromHandle.id??null,direction:K.fromHandle.type==="source"?"forward":"backward"})},[B]),ee=H.useCallback(()=>P(null),[]),re=H.useCallback(fe=>{if(!j)return;const Oe={id:Xoe(fe.type),type:fe.type,position:{x:j.flowPosition.x-180/2,y:j.flowPosition.y-80/2},data:{...fe.defaultData}};E(Oe),b(_Qn(j.direction,j.fromNodeId,j.fromHandleId,Oe.id)),P(null)},[j,E,b]);H.useEffect(()=>{$({x:0,y:0,zoom:.75})},[$]);const Q=H.useCallback(({nodes:fe})=>{fe.length===1?w(fe[0].id):w(null)},[w]),ie=H.useCallback(fe=>{fe.preventDefault(),fe.dataTransfer.dropEffect="move"},[]),pe=H.useCallback(async({nodes:fe,edges:K})=>{const he=K.filter(Oe=>L(Oe.id));return{nodes:fe,edges:he}},[L]),me=H.useCallback(fe=>{fe.preventDefault();const K=fe.dataTransfer.getData("application/reactflow");if(K)try{const{type:he,defaultData:Oe}=JSON.parse(K),Se=B({x:fe.clientX,y:fe.clientY}),xe={x:Se.x-180/2,y:Se.y-80/2},We={id:Xoe(he),type:he,position:xe,data:{...Oe}};E(We)}catch(he){console.error("Failed to parse dropped node data:",he)}},[B,E]),le=H.useMemo(()=>c.map(fe=>{const K=A.indexOf(fe.source),he=A.indexOf(fe.target),Oe=x&&A.length>=2&&K!==-1&&he!==-1&&he===K+1,Se=R.indexOf(fe.source),Le=R.indexOf(fe.target),Ae=C&&R.length>=2&&Se!==-1&&Le!==-1&&Le===Se+1,xe=S&&(fe.source===S||fe.target===S);let We={strokeWidth:2,stroke:i?"#94a3b8":"#64748b"},dt={type:sA.ArrowClosed,color:i?"#94a3b8":"#64748b"};return Oe?(We={stroke:"#22c55e",strokeWidth:3},dt={type:sA.ArrowClosed,color:"#22c55e"}):Ae?(We={stroke:"#f59e0b",strokeWidth:3},dt={type:sA.ArrowClosed,color:"#f59e0b"}):xe&&(We={stroke:"#3b82f6",strokeWidth:3},dt={type:sA.ArrowClosed,color:"#3b82f6"}),{...fe,type:"deletable",animated:Oe||Ae,style:We,markerEnd:dt}}),[c,x,A,C,R,S,i]);return I.jsxs("div",{className:"h-full w-full",ref:D,children:[I.jsxs(l9n,{colorMode:i?"dark":"light",nodes:s,edges:le,onNodesChange:d,onEdgesChange:g,onConnect:b,onConnectEnd:G,onBeforeDelete:pe,onSelectionChange:Q,onDragOver:ie,onDrop:me,panOnScroll:UMe(),nodeTypes:zer,edgeTypes:Ger,defaultEdgeOptions:{type:"deletable",style:{strokeWidth:2,stroke:i?"#94a3b8":"#64748b"},markerEnd:{type:sA.ArrowClosed,color:i?"#94a3b8":"#64748b"}},defaultViewport:{x:0,y:0,zoom:.75},maxZoom:2,minZoom:.3,fitView:!0,fitViewOptions:{maxZoom:.75},snapToGrid:!0,snapGrid:[15,15],deleteKeyCode:null,className:i?"dark bg-background":"bg-muted/30",proOptions:{hideAttribution:!0},children:[I.jsx(b9n,{variant:pA.Dots,gap:20,size:1,color:i?"#475569":"#cbd5e1"}),I.jsx(T9n,{}),I.jsx(P9n,{nodeStrokeWidth:3,zoomable:!0,pannable:!0,nodeClassName:fe=>{switch(fe.type){case"trigger":return"fill-amber-50 stroke-amber-400";case"condition":return"fill-blue-50 stroke-blue-400";case"action":return"fill-green-50 stroke-green-400";case"delay":return"fill-purple-50 stroke-purple-400";case"wait":return"fill-orange-50 stroke-orange-400";case"set_variables":return"fill-cyan-50 stroke-cyan-400";default:return"fill-slate-100 stroke-slate-400"}}}),I.jsx(Her,{}),x&&I.jsx(gR,{position:"top-left",className:"rounded-lg border border-green-300 bg-green-100 px-4 py-2 dark:border-green-700 dark:bg-green-950",children:I.jsxs("div",{className:"flex items-center gap-2 font-medium text-green-800 text-sm dark:text-green-200",children:[I.jsx("div",{className:"h-2 w-2 animate-pulse rounded-full bg-green-500"}),n("debug:simulation.simulatingExecution")]})}),C&&!x&&I.jsx(gR,{position:"top-left",className:"rounded-lg border border-orange-300 bg-orange-100 px-4 py-2 dark:border-orange-700 dark:bg-orange-950",children:I.jsxs("div",{className:"flex items-center gap-2 font-medium text-orange-800 text-sm dark:text-orange-200",children:[I.jsx("div",{className:"h-2 w-2 rounded-full bg-orange-500"}),n("debug:simulation.showingTraceExecution",{steps:R.length})]})})]}),I.jsx(xQn,{position:(j==null?void 0:j.screenPosition)??null,direction:(j==null?void 0:j.direction)??"forward",onSelect:re,onClose:ee})]})}const Ver=Aae("inline-flex items-center rounded-md border px-2.5 py-0.5 font-semibold text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function HMe({className:n,variant:i,...s}){return I.jsx("div",{className:Sr(Ver({variant:i}),n),...s})}function Gae(n){const i=H.useRef({value:n,previous:n});return H.useMemo(()=>(i.current.value!==n&&(i.current.previous=i.current.value,i.current.value=n),i.current.previous),[n])}var qae="Checkbox",[Wer]=xw(qae),[Ker,zMe]=Wer(qae);function Yer(n){const{__scopeCheckbox:i,checked:s,children:c,defaultChecked:d,disabled:g,form:b,name:w,onCheckedChange:E,required:S,value:x="on",internal_do_not_use_render:A}=n,[C,R]=G2({prop:s,defaultProp:d??!1,onChange:E,caller:qae}),[L,D]=H.useState(null),[B,$]=H.useState(null),j=H.useRef(!1),P=L?!!b||!!L.closest("form"):!0,G={checked:C,disabled:g,setChecked:R,control:L,setControl:D,name:w,form:b,value:x,hasConsumerStoppedPropagationRef:j,required:S,defaultChecked:tN(d)?!1:d,isFormControl:P,bubbleInput:B,setBubbleInput:$};return I.jsx(Ker,{scope:i,...G,children:Jer(A)?A(G):c})}var dKt="CheckboxTrigger",fKt=H.forwardRef(({__scopeCheckbox:n,onKeyDown:i,onClick:s,...c},d)=>{const{control:g,value:b,disabled:w,checked:E,required:S,setControl:x,setChecked:A,hasConsumerStoppedPropagationRef:C,isFormControl:R,bubbleInput:L}=zMe(dKt,n),D=hs(d,x),B=H.useRef(E);return H.useEffect(()=>{const $=g==null?void 0:g.form;if($){const j=()=>A(B.current);return $.addEventListener("reset",j),()=>$.removeEventListener("reset",j)}},[g,A]),I.jsx(no.button,{type:"button",role:"checkbox","aria-checked":tN(E)?"mixed":E,"aria-required":S,"data-state":mKt(E),"data-disabled":w?"":void 0,disabled:w,value:b,...c,ref:D,onKeyDown:Dr(i,$=>{$.key==="Enter"&&$.preventDefault()}),onClick:Dr(s,$=>{A(j=>tN(j)?!0:!j),L&&R&&(C.current=$.isPropagationStopped(),C.current||$.stopPropagation())})})});fKt.displayName=dKt;var GMe=H.forwardRef((n,i)=>{const{__scopeCheckbox:s,name:c,checked:d,defaultChecked:g,required:b,disabled:w,value:E,onCheckedChange:S,form:x,...A}=n;return I.jsx(Yer,{__scopeCheckbox:s,checked:d,defaultChecked:g,disabled:w,required:b,onCheckedChange:S,name:c,form:x,value:E,internal_do_not_use_render:({isFormControl:C})=>I.jsxs(I.Fragment,{children:[I.jsx(fKt,{...A,ref:i,__scopeCheckbox:s}),C&&I.jsx(bKt,{__scopeCheckbox:s})]})})});GMe.displayName=qae;var hKt="CheckboxIndicator",pKt=H.forwardRef((n,i)=>{const{__scopeCheckbox:s,forceMount:c,...d}=n,g=zMe(hKt,s);return I.jsx(kw,{present:c||tN(g.checked)||g.checked===!0,children:I.jsx(no.span,{"data-state":mKt(g.checked),"data-disabled":g.disabled?"":void 0,...d,ref:i,style:{pointerEvents:"none",...n.style}})})});pKt.displayName=hKt;var gKt="CheckboxBubbleInput",bKt=H.forwardRef(({__scopeCheckbox:n,...i},s)=>{const{control:c,hasConsumerStoppedPropagationRef:d,checked:g,defaultChecked:b,required:w,disabled:E,name:S,value:x,form:A,bubbleInput:C,setBubbleInput:R}=zMe(gKt,n),L=hs(s,R),D=Gae(g),B=vae(c);H.useEffect(()=>{const j=C;if(!j)return;const P=window.HTMLInputElement.prototype,ee=Object.getOwnPropertyDescriptor(P,"checked").set,re=!d.current;if(D!==g&&ee){const Q=new Event("click",{bubbles:re});j.indeterminate=tN(g),ee.call(j,tN(g)?!1:g),j.dispatchEvent(Q)}},[C,D,g,d]);const $=H.useRef(tN(g)?!1:g);return I.jsx(no.input,{type:"checkbox","aria-hidden":!0,defaultChecked:b??$.current,required:w,disabled:E,name:S,value:x,form:A,...i,tabIndex:-1,ref:L,style:{...i.style,...B,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});bKt.displayName=gKt;function Jer(n){return typeof n=="function"}function tN(n){return n==="indeterminate"}function mKt(n){return tN(n)?"indeterminate":n?"checked":"unchecked"}const YDe=H.forwardRef(({className:n,...i},s)=>I.jsx(GMe,{ref:s,className:Sr("peer grid h-4 w-4 shrink-0 place-content-center rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",n),...i,children:I.jsx(pKt,{className:Sr("grid place-content-center text-current"),children:I.jsx(oN,{className:"h-4 w-4"})})}));YDe.displayName=GMe.displayName;const Na=H.forwardRef(({className:n,type:i,...s},c)=>I.jsx("input",{type:i,autoComplete:"off",className:Sr("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors caret-foreground file:border-0 file:bg-transparent file:font-medium file:text-foreground file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:c,...s}));Na.displayName="Input";var Vae="Switch",[Xer]=xw(Vae),[Zer,Qer]=Xer(Vae),wKt=H.forwardRef((n,i)=>{const{__scopeSwitch:s,name:c,checked:d,defaultChecked:g,required:b,disabled:w,value:E="on",onCheckedChange:S,form:x,...A}=n,[C,R]=H.useState(null),L=hs(i,P=>R(P)),D=H.useRef(!1),B=C?x||!!C.closest("form"):!0,[$,j]=G2({prop:d,defaultProp:g??!1,onChange:S,caller:Vae});return I.jsxs(Zer,{scope:s,checked:$,disabled:w,children:[I.jsx(no.button,{type:"button",role:"switch","aria-checked":$,"aria-required":b,"data-state":SKt($),"data-disabled":w?"":void 0,disabled:w,value:E,...A,ref:L,onClick:Dr(n.onClick,P=>{j(G=>!G),B&&(D.current=P.isPropagationStopped(),D.current||P.stopPropagation())})}),B&&I.jsx(EKt,{control:C,bubbles:!D.current,name:c,value:E,checked:$,required:b,disabled:w,form:x,style:{transform:"translateX(-100%)"}})]})});wKt.displayName=Vae;var yKt="SwitchThumb",vKt=H.forwardRef((n,i)=>{const{__scopeSwitch:s,...c}=n,d=Qer(yKt,s);return I.jsx(no.span,{"data-state":SKt(d.checked),"data-disabled":d.disabled?"":void 0,...c,ref:i})});vKt.displayName=yKt;var etr="SwitchBubbleInput",EKt=H.forwardRef(({__scopeSwitch:n,control:i,checked:s,bubbles:c=!0,...d},g)=>{const b=H.useRef(null),w=hs(b,g),E=Gae(s),S=vae(i);return H.useEffect(()=>{const x=b.current;if(!x)return;const A=window.HTMLInputElement.prototype,R=Object.getOwnPropertyDescriptor(A,"checked").set;if(E!==s&&R){const L=new Event("click",{bubbles:c});R.call(x,s),x.dispatchEvent(L)}},[E,s,c]),I.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:s,...d,tabIndex:-1,ref:w,style:{...d.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});EKt.displayName=etr;function SKt(n){return n?"checked":"unchecked"}var TKt=wKt,ttr=vKt;const J2=H.forwardRef(({className:n,...i},s)=>I.jsx(TKt,{className:Sr("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n),...i,ref:s,children:I.jsx(ttr,{className:Sr("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));J2.displayName=TKt.displayName;function ntr(n){return Array.isArray(n)?n.filter(i=>typeof i=="string"):typeof n=="string"&&n.trim()?[n]:[]}function rtr(n,i){if(!n.entity_id.startsWith("automation."))return null;const s=typeof n.attributes.friendly_name=="string"?n.attributes.friendly_name:n.entity_id,c=typeof n.attributes.id=="string"||typeof n.attributes.id=="number"?String(n.attributes.id):n.entity_id.replace("automation.","");return{entity_id:n.entity_id,automation_id:c,friendly_name:s,enabled:n.state==="on",last_triggered:typeof n.attributes.last_triggered=="string"?n.attributes.last_triggered:void 0,description:typeof n.attributes.description=="string"?n.attributes.description:"",mode:typeof n.attributes.mode=="string"?n.attributes.mode:void 0,area_id:i,tags:ntr(n.attributes.tags)}}function itr(n){return[n.entity_id,n.friendly_name,n.description,n.mode||"",n.tags.join(" ")].filter(Boolean).join(" ")}function otr(n,i,s){return i?[...n].sort((c,d)=>{let g=0;switch(i){case"name":{g=c.friendly_name.toLowerCase().localeCompare(d.friendly_name.toLowerCase());break}case"lastTriggered":{const b=c.last_triggered?new Date(c.last_triggered).getTime():0,w=d.last_triggered?new Date(d.last_triggered).getTime():0;g=b-w;break}case"enabled":{g=Number(c.enabled)-Number(d.enabled);break}}return s==="asc"?g:-g}):[...n]}function str(n,i){if(!i.trim())return[...n];const s=n.map(d=>({...d,searchText:itr(d)}));return new NR(s,{keys:["searchText","entity_id","friendly_name","description"],threshold:.4,ignoreLocation:!0,includeScore:!0,minMatchCharLength:2}).search(i).map(d=>{const{searchText:g,...b}=d.item;return b})}function atr(n,i,s){const c={};for(const d of n){const g=d.area_id?i[d.area_id]||s.otherArea:s.noArea;c[g]||(c[g]=[]),c[g].push(d)}return c}function utr({isOpen:n,hass:i,hassConfig:s,entities:c,searchTerm:d,sortColumn:g,sortDirection:b,labels:w}){const[E,S]=H.useState([]),[x,A]=H.useState([]);H.useEffect(()=>{if(!n||!i)return;const j=Mv(i,s);let P=!1;return(async()=>{try{const[G,ee]=await Promise.all([j.getAreas(),j.getEntities()]);P||(S(Array.isArray(G)?G:[]),A(Array.isArray(ee)?ee:[]))}catch{P||(S([]),A([]))}})(),()=>{P=!0}},[n,i,s]);const C=H.useMemo(()=>{const j={};for(const P of x)P.entity_id&&P.area_id&&(j[P.entity_id]=P.area_id);return j},[x]),R=H.useMemo(()=>{const j={};for(const P of E)P.area_id&&P.name&&(j[P.area_id]=P.name);return j},[E]),L=H.useMemo(()=>c.map(j=>rtr(j,C[j.entity_id])).filter(j=>j!==null),[c,C]),D=H.useMemo(()=>str(L,d),[L,d]),B=H.useMemo(()=>otr(D,g,b),[D,g,b]),$=H.useMemo(()=>atr(B,R,w),[B,R,w]);return{areas:E,entityRegistry:x,areaIdToName:R,catalogItems:L,filteredCatalogItems:D,sortedCatalogItems:B,catalogByArea:$}}function ctr(n){if(n.length===0)return{minX:0,minY:0,width:0,height:0};let i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,d=Number.NEGATIVE_INFINITY;for(const g of n)i=Math.min(i,g.position.x),s=Math.min(s,g.position.y),c=Math.max(c,g.position.x),d=Math.max(d,g.position.y);return{minX:i,minY:s,width:Math.max(0,c-i),height:Math.max(0,d-s)}}function ltr(n,i){return`${n.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||`source_${i+1}`}_${i+1}`}function dtr(n){const i={};for(const s of n)if(s.variables)for(const[c,d]of Object.entries(s.variables)){if(!(c in i)){i[c]=d;continue}JSON.stringify(i[c])!==JSON.stringify(d)&&(i[`${s.prefix}__${c}`]=d)}return Object.keys(i).length>0?i:void 0}function ftr(n){var C;if(n.length<2)throw new Error("At least two automations are required for merge.");const i=Math.max(1,Math.ceil(Math.sqrt(n.length))),s=n.map(R=>ctr(R.graph.nodes)),c=Math.max(...s.map(R=>R.width),0),d=Math.max(...s.map(R=>R.height),0),g=c+260,b=d+220,w=[],E=[],S=[],x=[];n.forEach((R,L)=>{const D=ltr(R.alias||R.automationId||R.entityId,L),B=s[L],$=L%i,j=Math.floor(L/i),P=$*g,G=j*b,ee=new Map;for(const re of R.graph.nodes){const Q=`${D}__${re.id}`;ee.set(re.id,Q),w.push({...re,id:Q,position:{x:re.position.x-B.minX+P,y:re.position.y-B.minY+G}})}for(const re of R.graph.edges){const Q=ee.get(re.source),ie=ee.get(re.target);!Q||!ie||E.push({...re,id:`${D}__${re.id}`,source:Q,target:ie})}S.push({automation_id:R.automationId,entity_id:R.entityId,alias:R.alias,node_prefix:D,imported_at:R.importedAt??new Date().toISOString()}),x.push({prefix:D,variables:R.graph.userVariables})});const A={mode:"single",initial_state:!0,...((C=n[0])==null?void 0:C.graph.metadata)||{}};return{id:W5e(),name:"Merged Automation",description:`Merged from ${n.length} automations`,nodes:w,edges:E,metadata:A,version:1,workspace:{mode:"merged",sources:S},userVariables:dtr(x)}}function htr({isOpen:n,onClose:i}){const{t:s}=ps(["common","dialogs","errors"]),[c,d]=H.useState(""),[g,b]=H.useState(null),[w,E]=H.useState("asc"),[S,x]=H.useState(new Set),[A,C]=H.useState(!1),[R,L]=H.useState(null),{hass:D,config:B,entities:$}=pb(),{setFlowName:j,setAutomationId:P,reset:G,fromFlowGraph:ee,hasRealChanges:re}=Do(),{fitView:Q}=kR(),{catalogByArea:ie,sortedCatalogItems:pe}=utr({isOpen:n,hass:D,hassConfig:B,entities:$,searchTerm:c,sortColumn:g,sortDirection:w,labels:{noArea:s("dialogs:import.noArea"),otherArea:s("dialogs:import.otherArea")}});H.useEffect(()=>{n||(x(new Set),d(""))},[n]);const me=H.useMemo(()=>pe.filter(ht=>S.has(ht.entity_id)),[pe,S]),le=H.useMemo(()=>pe.length===0?!1:pe.every(ht=>S.has(ht.entity_id)),[pe,S]),fe=pe.length>0,K=ht=>{if(re()){L(()=>ht),C(!0);return}ht()},he=()=>{R&&R(),C(!1),L(null)},Oe=()=>{C(!1),L(null)},Se=ht=>{g===ht?E(w==="asc"?"desc":"asc"):(b(ht),E("asc"))},Le=ht=>g!==ht?I.jsx(i8n,{className:"ml-1 inline h-3 w-3 opacity-50"}):w==="asc"?I.jsx(s8n,{className:"ml-1 inline h-3 w-3"}):I.jsx(e8n,{className:"ml-1 inline h-3 w-3"}),Ae=ht=>{x(Xt=>{const vt=new Set(Xt);return vt.has(ht)?vt.delete(ht):vt.add(ht),vt})},xe=()=>{x(ht=>{const Xt=new Set(ht);if(le)for(const vt of pe)Xt.delete(vt.entity_id);else for(const vt of pe)Xt.add(vt.entity_id);return Xt})},We=async ht=>{var Xt;try{const vt=Mv(D,B);if(!vt.isConnected())throw new Error(s("errors:connection.noConnection"));const Ct=await vt.getAutomationConfigWithFallback(ht.automation_id,ht.friendly_name);if(G(),Ct){const Ft=gse(Ct,{indent:2,lineWidth:-1,quotingType:'"',forceQuotes:!1}),On=await GDe.fromYaml(Ft);if(!On.success||!On.graph)throw new Error(((Xt=On.errors)==null?void 0:Xt.join(`
`))||s("errors:import.parseFailed"));ee(On.graph),setTimeout(()=>{Q({padding:.2,duration:300})},50),j(ht.friendly_name||ht.automation_id),P(ht.automation_id),N2.success(s("dialogs:import.importSuccess",{name:ht.friendly_name||ht.automation_id}))}else j(ht.friendly_name||ht.automation_id),P(ht.automation_id),N2.warning(s("dialogs:import.openedWarning",{name:ht.friendly_name||ht.automation_id}),{description:s("dialogs:import.openedWarningDescription")});i()}catch(vt){console.error("C.A.F.E.: Failed to open automation:",vt),N2.error(s("dialogs:import.importFailed",{message:vt.message}))}},dt=()=>{me.length===1&&K(()=>{We(me[0])})},Ue=ht=>{const Xt=ht.map(vt=>vt.friendly_name).filter(Boolean);return Xt.length===0?s("dialogs:import.defaultMergedName"):Xt.length<=2?Xt.join(" + "):`${Xt[0]} + ${Xt.length-1} more`},bt=async()=>{if(!(me.length<2))try{const ht=Mv(D,B);if(!ht.isConnected())throw new Error(s("errors:connection.noConnection"));const Xt=await ht.getAutomationConfigsBatch(me.map(Ft=>Ft.automation_id)),vt=[];for(const Ft of me){let On=Xt[Ft.automation_id];if(On||(On=await ht.getAutomationConfigWithFallback(Ft.automation_id,Ft.friendly_name)),!On)throw new Error(s("dialogs:import.mergeFailedMissingConfig",{name:Ft.friendly_name}));const Zn=gse(On,{indent:2,lineWidth:-1,quotingType:'"',forceQuotes:!1}),Yn=await GDe.fromYaml(Zn);if(!Yn.success||!Yn.graph)throw new Error(s("dialogs:import.mergeFailedInvalidYaml",{name:Ft.friendly_name}));vt.push({graph:Yn.graph,automationId:Ft.automation_id,entityId:Ft.entity_id,alias:Ft.friendly_name||Ft.automation_id})}const Ct=ftr(vt);ee(Ct),j(Ue(me)),P(null),x(new Set),setTimeout(()=>{Q({padding:.2,duration:300})},50),N2.success(s("dialogs:import.mergeSuccess",{count:me.length})),i()}catch(ht){console.error("C.A.F.E.: Failed to merge automations:",ht),N2.error(s("dialogs:import.mergeFailed",{message:ht.message}))}},kt=ht=>{if(!ht)return s("dialogs:import.never");const Xt=new Date(ht),Ct=new Date().getTime()-Xt.getTime(),Ft=Math.floor(Ct/(1e3*60)),On=Math.floor(Ft/60),Zn=Math.floor(On/24);return Ft<1?s("dialogs:import.justNow"):Ft<60?s("dialogs:import.minutesAgo",{count:Ft}):On<24?s("dialogs:import.hoursAgo",{count:On}):Zn<7?s("dialogs:import.daysAgo",{count:Zn}):Xt.toLocaleDateString()};return n?I.jsxs(wR,{open:n,onOpenChange:i,children:[I.jsxs(aN,{className:"flex max-h-[90vh] max-w-4xl flex-col",children:[I.jsx(uN,{className:"space-y-3",children:I.jsxs("div",{className:"flex items-center justify-between pr-8",children:[I.jsxs("div",{children:[I.jsx(cN,{children:s("dialogs:import.title")}),I.jsx(lN,{children:s("dialogs:import.descriptionFull")})]}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsxs(Ri,{variant:"outline",onClick:me.length===1?dt:()=>K(()=>void bt()),disabled:me.length===0,children:[me.length>1?I.jsx(V8n,{className:"mr-2 h-4 w-4"}):I.jsx(T9t,{className:"mr-2 h-4 w-4"}),me.length>1?s("dialogs:import.openTogether"):s("dialogs:import.openSingle")]}),I.jsxs(Ri,{onClick:()=>{K(()=>{G(),j(s("defaults.newAutomation")),i()})},className:"bg-green-600 hover:bg-green-700",children:[I.jsx(dGt,{className:"mr-2 h-4 w-4"}),s("dialogs:import.createNew")]})]})]})}),I.jsxs("div",{className:"flex min-h-0 flex-col",children:[I.jsxs("div",{className:"relative mb-4",children:[I.jsx(bGt,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-muted-foreground"}),I.jsx(Na,{type:"text",placeholder:s("dialogs:import.searchPlaceholder"),value:c,onChange:ht=>d(ht.target.value),className:"pl-10"})]}),I.jsx("div",{className:"max-h-[70vh] overflow-auto rounded-t-md",children:I.jsxs("div",{className:"min-w-full",children:[I.jsx("div",{className:"sticky top-0 z-20 bg-background before:absolute before:-top-px before:right-0 before:left-0 before:h-px before:bg-background",children:I.jsxs("div",{className:"flex",children:[I.jsx("div",{className:"flex w-[44px] items-center justify-center border-b bg-muted px-2 py-2",children:I.jsx(YDe,{checked:le,onCheckedChange:xe,title:s(le?"dialogs:import.unselectAll":"dialogs:import.selectAll")})}),I.jsxs("button",{type:"button",onClick:()=>Se("name"),className:"flex-1 cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-left font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[s("dialogs:import.columns.name"),Le("name")]}),I.jsxs("button",{type:"button",onClick:()=>Se("lastTriggered"),className:"w-[120px] cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-left font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[s("dialogs:import.columns.lastTriggered"),Le("lastTriggered")]}),I.jsxs("button",{type:"button",onClick:()=>Se("enabled"),className:"w-[80px] cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-center font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[s("dialogs:import.columns.enabled"),Le("enabled")]}),I.jsx("div",{className:"w-[60px] border-b bg-muted px-3 py-2 text-center font-semibold text-muted-foreground text-xs",children:s("dialogs:import.columns.action")})]})}),I.jsxs("div",{children:[Object.entries(ie).flatMap(([ht,Xt])=>{if(Xt.length===0)return[];const vt=I.jsx("div",{className:"sticky top-[32px] z-10 -mt-1 flex border-b bg-accent",children:I.jsx("div",{className:"flex-1 px-3 py-2 font-bold text-accent-foreground text-xs",children:ht})},ht),Ct=Xt.map(Ft=>{const On=S.has(Ft.entity_id);return I.jsxs("div",{className:`flex border-b last:border-0 ${On?"bg-accent/40":""}`,children:[I.jsx("div",{className:"flex w-[44px] items-center justify-center px-2 py-2",children:I.jsx(YDe,{checked:On,onCheckedChange:()=>Ae(Ft.entity_id),title:s(On?"dialogs:import.unselect":"dialogs:import.select")})}),I.jsxs("div",{className:"flex-1 px-3 py-2 align-top",children:[I.jsx("div",{className:"max-w-[180px] font-medium",children:Ft.friendly_name}),Ft.description&&I.jsx("div",{className:"mt-1 max-w-[180px] truncate text-muted-foreground text-xs",children:Ft.description}),Ft.tags.length>0&&I.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:Ft.tags.map(Zn=>I.jsx(HMe,{variant:"secondary",className:"text-xs",children:Zn},`${Ft.entity_id}-${Zn}`))}),I.jsx("div",{className:"mt-1 truncate text-muted-foreground text-xs",children:s("dialogs:import.ID",{id:Ft.automation_id})}),Ft.mode&&I.jsx("div",{className:"text-muted-foreground text-xs",children:s("dialogs:import.mode",{mode:Ft.mode})})]}),I.jsx("div",{className:"w-[120px] max-w-[120px] px-3 py-2 align-top",children:Ft.last_triggered?I.jsx("span",{className:"whitespace-nowrap text-xs",children:kt(Ft.last_triggered)}):I.jsx("span",{className:"text-muted-foreground text-xs",children:s("dialogs:import.never")})}),I.jsx("div",{className:"w-[80px] px-3 py-2 text-center align-top",children:I.jsx(J2,{checked:Ft.enabled,onCheckedChange:async Zn=>{try{await Mv(D,B).setAutomationState(Ft.entity_id,Zn),N2.success(s(Zn?"dialogs:import.automationEnabled":"dialogs:import.automationDisabled"))}catch{N2.error(s("dialogs:import.updateStateFailed"))}},"aria-label":Ft.enabled?s("dialogs:import.columns.enabled"):s("dialogs:import.disabled")})}),I.jsx("div",{className:"w-[60px] px-3 py-2 text-center align-top",children:I.jsx(Ri,{size:"icon",variant:"ghost",onClick:()=>K(()=>void We(Ft)),title:s("dialogs:import.importAutomation"),children:I.jsx(T9t,{className:"h-4 w-4"})})})]},Ft.entity_id)});return[I.jsxs(Hn.Fragment,{children:[vt,Ct]},ht)]}),!fe&&I.jsx("div",{className:"flex",children:I.jsx("div",{className:"flex-1 py-8 text-center text-muted-foreground",children:s("dialogs:import.noAutomations")})})]})]})})]}),I.jsx("div",{className:"border-t bg-muted/20 p-6",children:I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("p",{className:"text-muted-foreground text-sm",children:s("dialogs:import.openingWarning")}),I.jsx(Ri,{onClick:i,variant:"ghost",children:s("buttons.cancel")})]})})]}),I.jsx(wR,{open:A,onOpenChange:Oe,children:I.jsxs(aN,{className:"max-w-md",children:[I.jsxs(uN,{children:[I.jsx(cN,{children:s("dialogs:import.discardTitle")}),I.jsx(lN,{children:s("dialogs:import.discardDescription")})]}),I.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[I.jsx(Ri,{variant:"outline",onClick:Oe,children:s("buttons.cancel")}),I.jsx(Ri,{variant:"destructive",onClick:he,children:s("dialogs:import.confirmDiscard")})]})]})})]}):null}const ptr=Aae("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:top-4 [&>svg]:left-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),dA=H.forwardRef(({className:n,variant:i,...s},c)=>I.jsx("div",{ref:c,role:"alert",className:Sr(ptr({variant:i}),n),...s}));dA.displayName="Alert";const AKt=H.forwardRef(({className:n,...i},s)=>I.jsx("h5",{ref:s,className:Sr("mb-1 font-medium leading-none tracking-tight",n),...i}));AKt.displayName="AlertTitle";const fA=H.forwardRef(({className:n,...i},s)=>I.jsx("div",{ref:s,className:Sr("text-sm [&_p]:leading-relaxed",n),...i}));fA.displayName="AlertDescription";var gtr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],btr=gtr.reduce((n,i)=>{const s=lae(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),mtr="Label",_Kt=H.forwardRef((n,i)=>I.jsx(btr.label,{...n,ref:i,onMouseDown:s=>{var d;s.target.closest("button, input, select, textarea")||((d=n.onMouseDown)==null||d.call(n,s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));_Kt.displayName=mtr;var xKt=_Kt;const wtr=Aae("font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ll=H.forwardRef(({className:n,...i},s)=>I.jsx(xKt,{ref:s,className:Sr(wtr(),n),...i}));ll.displayName=xKt.displayName;const $v=H.forwardRef(({className:n,...i},s)=>I.jsx("textarea",{className:Sr("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:s,...i}));$v.displayName="Textarea";function ytr({isOpen:n,onClose:i,onSaved:s}){const{t:c}=ps(["common","dialogs","errors"]),{flowName:d,flowDescription:g,automationId:b,isSaving:w,setFlowName:E,setFlowDescription:S,setAutomationId:x,saveAutomation:A,updateAutomation:C}=Do(),{hass:R}=pb(),[L,D]=H.useState(g),[B,$]=H.useState(null),[j,P]=H.useState(null),G=!!b;H.useEffect(()=>{n&&(D(g),$(null),P(null))},[n,g]);const ee=async le=>{if(!le.trim()){P(null);return}try{if(await Mv(R).automationExistsByAlias(le)&&!G){const K=await Mv(R).getUniqueAutomationAlias(le);P(K)}else P(null)}catch(fe){console.warn("Failed to check name conflict:",fe),P(null)}},re=async()=>{if(!R){$(c("errors:connection.notConnected"));return}if(!d.trim()){$(c("errors:form.nameRequired"));return}$(null);try{S(L.trim());let le;G?(await C(R),le=b||""):le=await A(R),s==null||s(le),i()}catch(le){const fe=le instanceof Error?le.message:c("errors:api.unknownError");$(fe)}},Q=()=>{$(null),P(null),i()},ie=le=>{E(le),ee(le)},pe=()=>{j&&(E(j),P(null))},me=async()=>{if(!R){$(c("errors:connection.notConnected"));return}$(null);try{const le=await Mv(R).getUniqueAutomationAlias(d);E(le),S(L.trim()),x(null);const fe=await A(R);s==null||s(fe),i()}catch(le){const fe=le instanceof Error?le.message:c("errors:api.unknownError");$(fe)}};return I.jsx(wR,{open:n,onOpenChange:Q,children:I.jsxs(aN,{className:"max-w-md max-h-[90vh] overflow-y-auto",children:[I.jsxs(uN,{children:[I.jsxs(cN,{className:"flex items-center gap-2",children:[I.jsx(gGt,{className:"h-5 w-5"}),c(G?"dialogs:save.titleUpdate":"dialogs:save.title")]}),I.jsx(lN,{children:c(G?"dialogs:save.descriptionUpdate":"dialogs:save.description")})]}),I.jsxs("div",{className:"space-y-4",children:[I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"automation-name",children:c("dialogs:save.nameLabel")}),I.jsx(Na,{id:"automation-name",value:d,onChange:le=>ie(le.target.value),placeholder:c("placeholders.enterAutomationName"),disabled:w})]}),j&&I.jsxs(dA,{children:[I.jsx(_9t,{className:"h-4 w-4"}),I.jsxs(fA,{className:"flex items-center justify-between",children:[I.jsx("span",{children:c("dialogs:save.nameConflict",{suggestedName:j})}),I.jsx(Ri,{variant:"outline",size:"sm",onClick:pe,disabled:w,children:c("buttons.use")})]})]}),I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"automation-description",children:c("dialogs:save.descriptionLabel")}),I.jsx($v,{id:"automation-description",value:L,onChange:le=>D(le.target.value),placeholder:c("placeholders.describeAutomation"),rows:3,disabled:w})]}),B&&I.jsxs(dA,{variant:"destructive",children:[I.jsx(_9t,{className:"h-4 w-4"}),I.jsx(fA,{children:B})]}),I.jsxs("div",{className:"flex justify-end gap-2",children:[I.jsx(Ri,{variant:"outline",onClick:Q,disabled:w,children:c("buttons.cancel")}),G&&I.jsxs(Ri,{variant:"outline",onClick:me,disabled:w||!d.trim(),children:[w?I.jsx(QH,{className:"mr-2 h-4 w-4 animate-spin"}):I.jsx($5e,{className:"mr-2 h-4 w-4"}),c("buttons.saveAsCopy")]}),I.jsx(Ri,{onClick:re,disabled:w||!d.trim(),children:w?I.jsxs(I.Fragment,{children:[I.jsx(QH,{className:"mr-2 h-4 w-4 animate-spin"}),c(G?"status.updating":"status.saving")]}):I.jsxs(I.Fragment,{children:[I.jsx(oN,{className:"mr-2 h-4 w-4"}),c(G?"buttons.update":"buttons.save")]})})]})]})]})})}function vtr({isOpen:n,onClose:i,config:s,onSave:c}){const{t:d}=ps(["common","dialogs"]),[g,b]=H.useState(s.url),[w,E]=H.useState(s.token),[S,x]=H.useState("idle"),[A,C]=H.useState("");H.useEffect(()=>{n&&(b(s.url),E(s.token),x("idle"),C(""))},[n,s]);const R=async()=>{if(!g||!w){x("error"),C(d("dialogs:settings.errors.missingFields"));return}x("testing"),C("");try{const B=g.replace(/\/$/,""),$=await fetch(`${B}/api/`,{headers:{Authorization:`Bearer ${w}`,"Content-Type":"application/json"}});$.ok?(await $.json()).message==="API running."?x("success"):(x("error"),C(d("dialogs:settings.errors.unexpectedResponse"))):$.status===401?(x("error"),C(d("dialogs:settings.errors.invalidToken"))):(x("error"),C(d("dialogs:settings.errors.httpError",{status:$.status,statusText:$.statusText})))}catch(B){x("error"),B instanceof TypeError&&B.message.includes("fetch")?C(d("dialogs:settings.errors.corsError")):C(B instanceof Error?B.message:d("dialogs:settings.errors.connectionFailed"))}},L=()=>{c({url:g.replace(/\/$/,""),token:w}),i()},D=()=>{b(""),E(""),c({url:"",token:""}),i()};return I.jsx(wR,{open:n,onOpenChange:()=>i(),children:I.jsxs(aN,{className:"max-w-md",children:[I.jsxs(uN,{children:[I.jsx(cN,{children:d("dialogs:settings.title")}),I.jsx(lN,{children:d("dialogs:settings.description")})]}),I.jsxs("div",{className:"space-y-4",children:[I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"url",children:d("dialogs:settings.urlLabel")}),I.jsx(Na,{id:"url",type:"url",value:g,onChange:B=>b(B.target.value),placeholder:d("dialogs:settings.urlPlaceholder")}),I.jsx("p",{className:"text-muted-foreground text-xs",children:d("dialogs:settings.urlHelp")})]}),I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"token",children:d("dialogs:settings.tokenLabel")}),I.jsx(Na,{id:"token",type:"password",value:w,onChange:B=>E(B.target.value),placeholder:d("dialogs:settings.tokenPlaceholder"),className:"font-mono text-sm"}),I.jsx("p",{className:"text-muted-foreground text-xs",children:d("dialogs:settings.tokenHelp")})]}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(Ri,{variant:"outline",onClick:R,disabled:S==="testing",children:S==="testing"?I.jsxs(I.Fragment,{children:[I.jsx(QH,{className:"mr-2 h-4 w-4 animate-spin"}),d("dialogs:settings.testing")]}):d("dialogs:settings.testConnection")}),S==="success"&&I.jsxs("span",{className:"flex items-center gap-1 text-green-600 text-sm",children:[I.jsx(lGt,{className:"h-4 w-4"}),d("dialogs:settings.connected")]}),S==="error"&&I.jsxs("span",{className:"flex items-center gap-1 text-red-600 text-sm",children:[I.jsx(_w,{className:"h-4 w-4"}),A]})]}),I.jsx(dA,{children:I.jsxs(fA,{children:[I.jsx("h4",{className:"mb-1 font-medium",children:d("dialogs:settings.corsNote")}),I.jsx("p",{className:"mb-2 text-xs",children:d("dialogs:settings.corsDescription")}),I.jsx("pre",{className:"overflow-x-auto rounded bg-muted p-2 font-mono text-xs",children:`http:
cors_allowed_origins:
- https://my-home-assistant.example.com`})]})}),I.jsx(Ri,{variant:"link",asChild:!0,className:"h-auto p-0 text-sm",children:I.jsxs("a",{href:"https://www.home-assistant.io/docs/authentication/#your-account-profile",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1",children:[I.jsx(O8n,{className:"h-4 w-4"}),d("dialogs:settings.tokenGuideLink")]})})]}),I.jsxs("div",{className:"flex items-center justify-between pt-4",children:[I.jsx(Ri,{variant:"destructive",onClick:D,size:"sm",children:d("dialogs:settings.disconnect")}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(Ri,{variant:"outline",onClick:i,size:"sm",children:d("buttons.cancel")}),I.jsx(Ri,{onClick:L,disabled:!g||!w,size:"sm",children:d("buttons.save")})]})]})]})})}function Etr({isOpen:n,onClose:i,onImportSuccess:s}){const{t:c}=ps(["common","dialogs"]),[d,g]=H.useState(""),[b,w]=H.useState(!1),[E,S]=H.useState(null),[x,A]=H.useState([]),{fromFlowGraph:C}=Do(),{fitView:R}=kR();if(!n)return null;const L=async()=>{var B;w(!0),S(null),A([]);try{const $=await GDe.fromYaml(d);if(!$.success){S(((B=$.errors)==null?void 0:B.join(`
`))||"Failed to parse YAML. Please check the format."),w(!1);return}$.warnings.length>0&&(Ef.warn("Import warnings:",$.warnings),A($.warnings)),$.graph&&(C($.graph),setTimeout(()=>{R({padding:.2,duration:300})},50),setTimeout(()=>{s==null||s(),D()},1e3))}catch($){S($ instanceof Error?$.message:"Unknown error occurred")}finally{w(!1)}},D=()=>{g(""),S(null),A([]),i()};return I.jsx(wR,{open:n,onOpenChange:()=>D(),children:I.jsxs(aN,{className:"flex max-h-[90vh] max-w-3xl flex-col",children:[I.jsxs(uN,{children:[I.jsx(cN,{children:c("dialogs:importYaml.title")}),I.jsx(lN,{children:c("dialogs:importYaml.description")})]}),I.jsxs("div",{className:"flex-1 space-y-4",children:[I.jsx($v,{value:d,onChange:B=>g(B.target.value),placeholder:`alias: My Automation
description: An example automation
trigger:
- platform: state
entity_id: light.living_room
to: "on"
action:
- service: notify.mobile_app
data:
message: "Light turned on!"`,className:"h-64 resize-none font-mono text-sm",disabled:b}),E&&I.jsxs(dA,{variant:"destructive",children:[I.jsx(_w,{className:"h-4 w-4"}),I.jsxs(fA,{className:"font-medium",children:[c("dialogs:importYaml.importFailed"),I.jsx("pre",{className:"mt-1 whitespace-pre-wrap font-mono text-xs",children:E})]})]}),x.length>0&&I.jsxs(dA,{children:[I.jsx(_w,{className:"h-4 w-4"}),I.jsxs(fA,{children:[I.jsx("p",{className:"mb-1 font-medium",children:c("dialogs:importYaml.warnings")}),I.jsx("ul",{className:"space-y-1 text-xs",children:x.map((B,$)=>I.jsxs("li",{children:["•"," ",B]},`warning-${$}-${B.slice(0,20)}`))})]})]}),b&&!E&&I.jsxs(dA,{children:[I.jsx(lGt,{className:"h-4 w-4"}),I.jsx(fA,{children:c("dialogs:importYaml.successLoading")})]}),I.jsx(dA,{children:I.jsxs(fA,{className:"text-xs",children:[I.jsx("strong",{children:c("dialogs:importYaml.tipLabel")})," ",c("dialogs:importYaml.tipText")]})})]}),I.jsxs("div",{className:"flex items-center justify-end gap-2 pt-4",children:[I.jsx(Ri,{variant:"outline",onClick:D,disabled:b,children:c("buttons.cancel")}),I.jsxs(Ri,{onClick:L,disabled:!d.trim()||b,children:[I.jsx(vPn,{className:"mr-2 h-4 w-4"}),c(b?"dialogs:importYaml.importing":"dialogs:importYaml.import")]})]})]})})}function H2({message:n}){return n?I.jsxs("div",{className:"mt-1.5 flex items-center gap-1.5 text-red-600 text-xs",children:[I.jsx(_w,{className:"h-3 w-3 flex-shrink-0"}),I.jsx("span",{children:n})]}):null}function Po({label:n,required:i,description:s,children:c}){return I.jsxs("div",{className:"flex flex-col gap-2",children:[I.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[n,i&&I.jsx("span",{className:"ml-1 text-destructive",children:"*"})]}),c,s&&I.jsx("p",{className:"text-muted-foreground text-xs",children:s})]})}const YFt={common:["id","alias","enabled","_conditionId"],trigger:["trigger","entity_id","to","from","for","at","event_type","event_data","event","offset","above","below","value_template","template","webhook_id","zone","topic","payload","hours","minutes","seconds","device_id","domain","type","subtype"],condition:["condition","entity_id","state","attribute","above","below","value_template","template","after","before","weekday","device_id","domain","type","subtype","zone","condition","for","conditions"],action:["service","data","target","response_variable","stop","error","entity_id","action","metadata"],delay:["delay"],wait:["wait_template","timeout","wait_for_trigger","continue_on_timeout"],set_variables:["variables"]};function JFt(n,i=[]){const s=[...YFt.common,...YFt[n]||[]];return new Set([...s,...i])}function mse(n,[i,s]){return Math.min(s,Math.max(i,n))}function XFt(n){const i=Str(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(Atr);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function Str(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=xtr(d),w=_tr(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var Ttr=Symbol("radix.slottable");function Atr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Ttr}function _tr(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function xtr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function Wae(n){const i=n+"CollectionProvider",[s,c]=xw(i),[d,g]=s(i,{collectionRef:{current:null},itemMap:new Map}),b=D=>{const{scope:B,children:$}=D,j=Hn.useRef(null),P=Hn.useRef(new Map).current;return I.jsx(d,{scope:B,itemMap:P,collectionRef:j,children:$})};b.displayName=i;const w=n+"CollectionSlot",E=XFt(w),S=Hn.forwardRef((D,B)=>{const{scope:$,children:j}=D,P=g(w,$),G=hs(B,P.collectionRef);return I.jsx(E,{ref:G,children:j})});S.displayName=w;const x=n+"CollectionItemSlot",A="data-radix-collection-item",C=XFt(x),R=Hn.forwardRef((D,B)=>{const{scope:$,children:j,...P}=D,G=Hn.useRef(null),ee=hs(B,G),re=g(x,$);return Hn.useEffect(()=>(re.itemMap.set(G,{ref:G,...P}),()=>void re.itemMap.delete(G))),I.jsx(C,{[A]:"",ref:ee,children:j})});R.displayName=x;function L(D){const B=g(n+"CollectionConsumer",D);return Hn.useCallback(()=>{const j=B.collectionRef.current;if(!j)return[];const P=Array.from(j.querySelectorAll(`[${A}]`));return Array.from(B.itemMap.values()).sort((re,Q)=>P.indexOf(re.ref.current)-P.indexOf(Q.ref.current))},[B.collectionRef,B.itemMap])}return[{Provider:b,Slot:S,ItemSlot:R},L,c]}var ktr=H.createContext(void 0);function jz(n){const i=H.useContext(ktr);return n||i||"ltr"}function Ntr(n){const i=Ctr(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(Rtr);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function Ctr(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Dtr(d),w=Otr(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var Itr=Symbol("radix.slottable");function Rtr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Itr}function Otr(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Dtr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var kKt=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Ltr="VisuallyHidden",Mtr=H.forwardRef((n,i)=>I.jsx(no.span,{...n,ref:i,style:{...kKt,...n.style}}));Mtr.displayName=Ltr;var Ptr=[" ","Enter","ArrowUp","ArrowDown"],jtr=[" ","Enter"],ER="Select",[Kae,Yae,Ftr]=Wae(ER),[VM]=xw(ER,[Ftr,BM]),Jae=BM(),[$tr,xN]=VM(ER),[Btr,Utr]=VM(ER),NKt=n=>{const{__scopeSelect:i,children:s,open:c,defaultOpen:d,onOpenChange:g,value:b,defaultValue:w,onValueChange:E,dir:S,name:x,autoComplete:A,disabled:C,required:R,form:L}=n,D=Jae(i),[B,$]=H.useState(null),[j,P]=H.useState(null),[G,ee]=H.useState(!1),re=jz(S),[Q,ie]=G2({prop:c,defaultProp:d??!1,onChange:g,caller:ER}),[pe,me]=G2({prop:b,defaultProp:w,onChange:E,caller:ER}),le=H.useRef(null),fe=B?L||!!B.closest("form"):!0,[K,he]=H.useState(new Set),Oe=Array.from(K).map(Se=>Se.props.value).join(";");return I.jsx(nMe,{...D,children:I.jsxs($tr,{required:R,scope:i,trigger:B,onTriggerChange:$,valueNode:j,onValueNodeChange:P,valueNodeHasChildren:G,onValueNodeHasChildrenChange:ee,contentId:Bh(),value:pe,onValueChange:me,open:Q,onOpenChange:ie,dir:re,triggerPointerDownPosRef:le,disabled:C,children:[I.jsx(Kae.Provider,{scope:i,children:I.jsx(Btr,{scope:n.__scopeSelect,onNativeOptionAdd:H.useCallback(Se=>{he(Le=>new Set(Le).add(Se))},[]),onNativeOptionRemove:H.useCallback(Se=>{he(Le=>{const Ae=new Set(Le);return Ae.delete(Se),Ae})},[]),children:s})}),fe?I.jsxs(ZKt,{"aria-hidden":!0,required:R,tabIndex:-1,name:x,autoComplete:A,value:pe,onChange:Se=>me(Se.target.value),disabled:C,form:L,children:[pe===void 0?I.jsx("option",{value:""}):null,Array.from(K)]},Oe):null]})})};NKt.displayName=ER;var CKt="SelectTrigger",IKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,disabled:c=!1,...d}=n,g=Jae(s),b=xN(CKt,s),w=b.disabled||c,E=hs(i,b.onTriggerChange),S=Yae(s),x=H.useRef("touch"),[A,C,R]=eYt(D=>{const B=S().filter(P=>!P.disabled),$=B.find(P=>P.value===b.value),j=tYt(B,D,$);j!==void 0&&b.onValueChange(j.value)}),L=D=>{w||(b.onOpenChange(!0),R()),D&&(b.triggerPointerDownPosRef.current={x:Math.round(D.pageX),y:Math.round(D.pageY)})};return I.jsx(Eae,{asChild:!0,...g,children:I.jsx(no.button,{type:"button",role:"combobox","aria-controls":b.contentId,"aria-expanded":b.open,"aria-required":b.required,"aria-autocomplete":"none",dir:b.dir,"data-state":b.open?"open":"closed",disabled:w,"data-disabled":w?"":void 0,"data-placeholder":QKt(b.value)?"":void 0,...d,ref:E,onClick:Dr(d.onClick,D=>{D.currentTarget.focus(),x.current!=="mouse"&&L(D)}),onPointerDown:Dr(d.onPointerDown,D=>{x.current=D.pointerType;const B=D.target;B.hasPointerCapture(D.pointerId)&&B.releasePointerCapture(D.pointerId),D.button===0&&D.ctrlKey===!1&&D.pointerType==="mouse"&&(L(D),D.preventDefault())}),onKeyDown:Dr(d.onKeyDown,D=>{const B=A.current!=="";!(D.ctrlKey||D.altKey||D.metaKey)&&D.key.length===1&&C(D.key),!(B&&D.key===" ")&&Ptr.includes(D.key)&&(L(),D.preventDefault())})})})});IKt.displayName=CKt;var RKt="SelectValue",OKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,className:c,style:d,children:g,placeholder:b="",...w}=n,E=xN(RKt,s),{onValueNodeHasChildrenChange:S}=E,x=g!==void 0,A=hs(i,E.onValueNodeChange);return Hp(()=>{S(x)},[S,x]),I.jsx(no.span,{...w,ref:A,style:{pointerEvents:"none"},children:QKt(E.value)?I.jsx(I.Fragment,{children:b}):g})});OKt.displayName=RKt;var Htr="SelectIcon",DKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,children:c,...d}=n;return I.jsx(no.span,{"aria-hidden":!0,...d,ref:i,children:c||"▼"})});DKt.displayName=Htr;var ztr="SelectPortal",LKt=n=>I.jsx(Cz,{asChild:!0,...n});LKt.displayName=ztr;var SR="SelectContent",MKt=H.forwardRef((n,i)=>{const s=xN(SR,n.__scopeSelect),[c,d]=H.useState();if(Hp(()=>{d(new DocumentFragment)},[]),!s.open){const g=c;return g?xR.createPortal(I.jsx(PKt,{scope:n.__scopeSelect,children:I.jsx(Kae.Slot,{scope:n.__scopeSelect,children:I.jsx("div",{children:n.children})})}),g):null}return I.jsx(jKt,{...n,ref:i})});MKt.displayName=SR;var _v=10,[PKt,kN]=VM(SR),Gtr="SelectContentImpl",qtr=Ntr("SelectContent.RemoveScroll"),jKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,position:c="item-aligned",onCloseAutoFocus:d,onEscapeKeyDown:g,onPointerDownOutside:b,side:w,sideOffset:E,align:S,alignOffset:x,arrowPadding:A,collisionBoundary:C,collisionPadding:R,sticky:L,hideWhenDetached:D,avoidCollisions:B,...$}=n,j=xN(SR,s),[P,G]=H.useState(null),[ee,re]=H.useState(null),Q=hs(i,vt=>G(vt)),[ie,pe]=H.useState(null),[me,le]=H.useState(null),fe=Yae(s),[K,he]=H.useState(!1),Oe=H.useRef(!1);H.useEffect(()=>{if(P)return uae(P)},[P]),sae();const Se=H.useCallback(vt=>{const[Ct,...Ft]=fe().map(Yn=>Yn.ref.current),[On]=Ft.slice(-1),Zn=document.activeElement;for(const Yn of vt)if(Yn===Zn||(Yn==null||Yn.scrollIntoView({block:"nearest"}),Yn===Ct&&ee&&(ee.scrollTop=0),Yn===On&&ee&&(ee.scrollTop=ee.scrollHeight),Yn==null||Yn.focus(),document.activeElement!==Zn))return},[fe,ee]),Le=H.useCallback(()=>Se([ie,P]),[Se,ie,P]);H.useEffect(()=>{K&&Le()},[K,Le]);const{onOpenChange:Ae,triggerPointerDownPosRef:xe}=j;H.useEffect(()=>{if(P){let vt={x:0,y:0};const Ct=On=>{var Zn,Yn;vt={x:Math.abs(Math.round(On.pageX)-(((Zn=xe.current)==null?void 0:Zn.x)??0)),y:Math.abs(Math.round(On.pageY)-(((Yn=xe.current)==null?void 0:Yn.y)??0))}},Ft=On=>{vt.x<=10&&vt.y<=10?On.preventDefault():P.contains(On.target)||Ae(!1),document.removeEventListener("pointermove",Ct),xe.current=null};return xe.current!==null&&(document.addEventListener("pointermove",Ct),document.addEventListener("pointerup",Ft,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Ct),document.removeEventListener("pointerup",Ft,{capture:!0})}}},[P,Ae,xe]),H.useEffect(()=>{const vt=()=>Ae(!1);return window.addEventListener("blur",vt),window.addEventListener("resize",vt),()=>{window.removeEventListener("blur",vt),window.removeEventListener("resize",vt)}},[Ae]);const[We,dt]=eYt(vt=>{const Ct=fe().filter(Zn=>!Zn.disabled),Ft=Ct.find(Zn=>Zn.ref.current===document.activeElement),On=tYt(Ct,vt,Ft);On&&setTimeout(()=>On.ref.current.focus())}),Ue=H.useCallback((vt,Ct,Ft)=>{const On=!Oe.current&&!Ft;(j.value!==void 0&&j.value===Ct||On)&&(pe(vt),On&&(Oe.current=!0))},[j.value]),bt=H.useCallback(()=>P==null?void 0:P.focus(),[P]),kt=H.useCallback((vt,Ct,Ft)=>{const On=!Oe.current&&!Ft;(j.value!==void 0&&j.value===Ct||On)&&le(vt)},[j.value]),ht=c==="popper"?JDe:FKt,Xt=ht===JDe?{side:w,sideOffset:E,align:S,alignOffset:x,arrowPadding:A,collisionBoundary:C,collisionPadding:R,sticky:L,hideWhenDetached:D,avoidCollisions:B}:{};return I.jsx(PKt,{scope:s,content:P,viewport:ee,onViewportChange:re,itemRefCallback:Ue,selectedItem:ie,onItemLeave:bt,itemTextRefCallback:kt,focusSelectedItem:Le,selectedItemText:me,position:c,isPositioned:K,searchRef:We,children:I.jsx(Iz,{as:qtr,allowPinchZoom:!0,children:I.jsx(Nz,{asChild:!0,trapped:j.open,onMountAutoFocus:vt=>{vt.preventDefault()},onUnmountAutoFocus:Dr(d,vt=>{var Ct;(Ct=j.trigger)==null||Ct.focus({preventScroll:!0}),vt.preventDefault()}),children:I.jsx(kz,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:g,onPointerDownOutside:b,onFocusOutside:vt=>vt.preventDefault(),onDismiss:()=>j.onOpenChange(!1),children:I.jsx(ht,{role:"listbox",id:j.contentId,"data-state":j.open?"open":"closed",dir:j.dir,onContextMenu:vt=>vt.preventDefault(),...$,...Xt,onPlaced:()=>he(!0),ref:Q,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:Dr($.onKeyDown,vt=>{const Ct=vt.ctrlKey||vt.altKey||vt.metaKey;if(vt.key==="Tab"&&vt.preventDefault(),!Ct&&vt.key.length===1&&dt(vt.key),["ArrowUp","ArrowDown","Home","End"].includes(vt.key)){let On=fe().filter(Zn=>!Zn.disabled).map(Zn=>Zn.ref.current);if(["ArrowUp","End"].includes(vt.key)&&(On=On.slice().reverse()),["ArrowUp","ArrowDown"].includes(vt.key)){const Zn=vt.target,Yn=On.indexOf(Zn);On=On.slice(Yn+1)}setTimeout(()=>Se(On)),vt.preventDefault()}})})})})})})});jKt.displayName=Gtr;var Vtr="SelectItemAlignedPosition",FKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,onPlaced:c,...d}=n,g=xN(SR,s),b=kN(SR,s),[w,E]=H.useState(null),[S,x]=H.useState(null),A=hs(i,Q=>x(Q)),C=Yae(s),R=H.useRef(!1),L=H.useRef(!0),{viewport:D,selectedItem:B,selectedItemText:$,focusSelectedItem:j}=b,P=H.useCallback(()=>{if(g.trigger&&g.valueNode&&w&&S&&D&&B&&$){const Q=g.trigger.getBoundingClientRect(),ie=S.getBoundingClientRect(),pe=g.valueNode.getBoundingClientRect(),me=$.getBoundingClientRect();if(g.dir!=="rtl"){const Zn=me.left-ie.left,Yn=pe.left-Zn,vr=Q.left-Yn,Ui=Q.width+vr,Qr=Math.max(Ui,ie.width),Hi=window.innerWidth-_v,ai=mse(Yn,[_v,Math.max(_v,Hi-Qr)]);w.style.minWidth=Ui+"px",w.style.left=ai+"px"}else{const Zn=ie.right-me.right,Yn=window.innerWidth-pe.right-Zn,vr=window.innerWidth-Q.right-Yn,Ui=Q.width+vr,Qr=Math.max(Ui,ie.width),Hi=window.innerWidth-_v,ai=mse(Yn,[_v,Math.max(_v,Hi-Qr)]);w.style.minWidth=Ui+"px",w.style.right=ai+"px"}const le=C(),fe=window.innerHeight-_v*2,K=D.scrollHeight,he=window.getComputedStyle(S),Oe=parseInt(he.borderTopWidth,10),Se=parseInt(he.paddingTop,10),Le=parseInt(he.borderBottomWidth,10),Ae=parseInt(he.paddingBottom,10),xe=Oe+Se+K+Ae+Le,We=Math.min(B.offsetHeight*5,xe),dt=window.getComputedStyle(D),Ue=parseInt(dt.paddingTop,10),bt=parseInt(dt.paddingBottom,10),kt=Q.top+Q.height/2-_v,ht=fe-kt,Xt=B.offsetHeight/2,vt=B.offsetTop+Xt,Ct=Oe+Se+vt,Ft=xe-Ct;if(Ct<=kt){const Zn=le.length>0&&B===le[le.length-1].ref.current;w.style.bottom="0px";const Yn=S.clientHeight-D.offsetTop-D.offsetHeight,vr=Math.max(ht,Xt+(Zn?bt:0)+Yn+Le),Ui=Ct+vr;w.style.height=Ui+"px"}else{const Zn=le.length>0&&B===le[0].ref.current;w.style.top="0px";const vr=Math.max(kt,Oe+D.offsetTop+(Zn?Ue:0)+Xt)+Ft;w.style.height=vr+"px",D.scrollTop=Ct-kt+D.offsetTop}w.style.margin=`${_v}px 0`,w.style.minHeight=We+"px",w.style.maxHeight=fe+"px",c==null||c(),requestAnimationFrame(()=>R.current=!0)}},[C,g.trigger,g.valueNode,w,S,D,B,$,g.dir,c]);Hp(()=>P(),[P]);const[G,ee]=H.useState();Hp(()=>{S&&ee(window.getComputedStyle(S).zIndex)},[S]);const re=H.useCallback(Q=>{Q&&L.current===!0&&(P(),j==null||j(),L.current=!1)},[P,j]);return I.jsx(Ktr,{scope:s,contentWrapper:w,shouldExpandOnScrollRef:R,onScrollButtonChange:re,children:I.jsx("div",{ref:E,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:G},children:I.jsx(no.div,{...d,ref:A,style:{boxSizing:"border-box",maxHeight:"100%",...d.style}})})})});FKt.displayName=Vtr;var Wtr="SelectPopperPosition",JDe=H.forwardRef((n,i)=>{const{__scopeSelect:s,align:c="start",collisionPadding:d=_v,...g}=n,b=Jae(s);return I.jsx(rMe,{...b,...g,ref:i,align:c,collisionPadding:d,style:{boxSizing:"border-box",...g.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});JDe.displayName=Wtr;var[Ktr,qMe]=VM(SR,{}),XDe="SelectViewport",$Kt=H.forwardRef((n,i)=>{const{__scopeSelect:s,nonce:c,...d}=n,g=kN(XDe,s),b=qMe(XDe,s),w=hs(i,g.onViewportChange),E=H.useRef(0);return I.jsxs(I.Fragment,{children:[I.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:c}),I.jsx(Kae.Slot,{scope:s,children:I.jsx(no.div,{"data-radix-select-viewport":"",role:"presentation",...d,ref:w,style:{position:"relative",flex:1,overflow:"hidden auto",...d.style},onScroll:Dr(d.onScroll,S=>{const x=S.currentTarget,{contentWrapper:A,shouldExpandOnScrollRef:C}=b;if(C!=null&&C.current&&A){const R=Math.abs(E.current-x.scrollTop);if(R>0){const L=window.innerHeight-_v*2,D=parseFloat(A.style.minHeight),B=parseFloat(A.style.height),$=Math.max(D,B);if($<L){const j=$+R,P=Math.min(L,j),G=j-P;A.style.height=P+"px",A.style.bottom==="0px"&&(x.scrollTop=G>0?G:0,A.style.justifyContent="flex-end")}}}E.current=x.scrollTop})})})]})});$Kt.displayName=XDe;var BKt="SelectGroup",[Ytr,Jtr]=VM(BKt),Xtr=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n,d=Bh();return I.jsx(Ytr,{scope:s,id:d,children:I.jsx(no.div,{role:"group","aria-labelledby":d,...c,ref:i})})});Xtr.displayName=BKt;var UKt="SelectLabel",HKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n,d=Jtr(UKt,s);return I.jsx(no.div,{id:d.id,...c,ref:i})});HKt.displayName=UKt;var wse="SelectItem",[Ztr,zKt]=VM(wse),GKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,value:c,disabled:d=!1,textValue:g,...b}=n,w=xN(wse,s),E=kN(wse,s),S=w.value===c,[x,A]=H.useState(g??""),[C,R]=H.useState(!1),L=hs(i,j=>{var P;return(P=E.itemRefCallback)==null?void 0:P.call(E,j,c,d)}),D=Bh(),B=H.useRef("touch"),$=()=>{d||(w.onValueChange(c),w.onOpenChange(!1))};if(c==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return I.jsx(Ztr,{scope:s,value:c,disabled:d,textId:D,isSelected:S,onItemTextChange:H.useCallback(j=>{A(P=>P||((j==null?void 0:j.textContent)??"").trim())},[]),children:I.jsx(Kae.ItemSlot,{scope:s,value:c,disabled:d,textValue:x,children:I.jsx(no.div,{role:"option","aria-labelledby":D,"data-highlighted":C?"":void 0,"aria-selected":S&&C,"data-state":S?"checked":"unchecked","aria-disabled":d||void 0,"data-disabled":d?"":void 0,tabIndex:d?void 0:-1,...b,ref:L,onFocus:Dr(b.onFocus,()=>R(!0)),onBlur:Dr(b.onBlur,()=>R(!1)),onClick:Dr(b.onClick,()=>{B.current!=="mouse"&&$()}),onPointerUp:Dr(b.onPointerUp,()=>{B.current==="mouse"&&$()}),onPointerDown:Dr(b.onPointerDown,j=>{B.current=j.pointerType}),onPointerMove:Dr(b.onPointerMove,j=>{var P;B.current=j.pointerType,d?(P=E.onItemLeave)==null||P.call(E):B.current==="mouse"&&j.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Dr(b.onPointerLeave,j=>{var P;j.currentTarget===document.activeElement&&((P=E.onItemLeave)==null||P.call(E))}),onKeyDown:Dr(b.onKeyDown,j=>{var G;((G=E.searchRef)==null?void 0:G.current)!==""&&j.key===" "||(jtr.includes(j.key)&&$(),j.key===" "&&j.preventDefault())})})})})});GKt.displayName=wse;var iH="SelectItemText",qKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,className:c,style:d,...g}=n,b=xN(iH,s),w=kN(iH,s),E=zKt(iH,s),S=Utr(iH,s),[x,A]=H.useState(null),C=hs(i,$=>A($),E.onItemTextChange,$=>{var j;return(j=w.itemTextRefCallback)==null?void 0:j.call(w,$,E.value,E.disabled)}),R=x==null?void 0:x.textContent,L=H.useMemo(()=>I.jsx("option",{value:E.value,disabled:E.disabled,children:R},E.value),[E.disabled,E.value,R]),{onNativeOptionAdd:D,onNativeOptionRemove:B}=S;return Hp(()=>(D(L),()=>B(L)),[D,B,L]),I.jsxs(I.Fragment,{children:[I.jsx(no.span,{id:E.textId,...g,ref:C}),E.isSelected&&b.valueNode&&!b.valueNodeHasChildren?xR.createPortal(g.children,b.valueNode):null]})});qKt.displayName=iH;var VKt="SelectItemIndicator",WKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n;return zKt(VKt,s).isSelected?I.jsx(no.span,{"aria-hidden":!0,...c,ref:i}):null});WKt.displayName=VKt;var ZDe="SelectScrollUpButton",KKt=H.forwardRef((n,i)=>{const s=kN(ZDe,n.__scopeSelect),c=qMe(ZDe,n.__scopeSelect),[d,g]=H.useState(!1),b=hs(i,c.onScrollButtonChange);return Hp(()=>{if(s.viewport&&s.isPositioned){let w=function(){const S=E.scrollTop>0;g(S)};const E=s.viewport;return w(),E.addEventListener("scroll",w),()=>E.removeEventListener("scroll",w)}},[s.viewport,s.isPositioned]),d?I.jsx(JKt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=s;w&&E&&(w.scrollTop=w.scrollTop-E.offsetHeight)}}):null});KKt.displayName=ZDe;var QDe="SelectScrollDownButton",YKt=H.forwardRef((n,i)=>{const s=kN(QDe,n.__scopeSelect),c=qMe(QDe,n.__scopeSelect),[d,g]=H.useState(!1),b=hs(i,c.onScrollButtonChange);return Hp(()=>{if(s.viewport&&s.isPositioned){let w=function(){const S=E.scrollHeight-E.clientHeight,x=Math.ceil(E.scrollTop)<S;g(x)};const E=s.viewport;return w(),E.addEventListener("scroll",w),()=>E.removeEventListener("scroll",w)}},[s.viewport,s.isPositioned]),d?I.jsx(JKt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=s;w&&E&&(w.scrollTop=w.scrollTop+E.offsetHeight)}}):null});YKt.displayName=QDe;var JKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,onAutoScroll:c,...d}=n,g=kN("SelectScrollButton",s),b=H.useRef(null),w=Yae(s),E=H.useCallback(()=>{b.current!==null&&(window.clearInterval(b.current),b.current=null)},[]);return H.useEffect(()=>()=>E(),[E]),Hp(()=>{var x;const S=w().find(A=>A.ref.current===document.activeElement);(x=S==null?void 0:S.ref.current)==null||x.scrollIntoView({block:"nearest"})},[w]),I.jsx(no.div,{"aria-hidden":!0,...d,ref:i,style:{flexShrink:0,...d.style},onPointerDown:Dr(d.onPointerDown,()=>{b.current===null&&(b.current=window.setInterval(c,50))}),onPointerMove:Dr(d.onPointerMove,()=>{var S;(S=g.onItemLeave)==null||S.call(g),b.current===null&&(b.current=window.setInterval(c,50))}),onPointerLeave:Dr(d.onPointerLeave,()=>{E()})})}),Qtr="SelectSeparator",XKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n;return I.jsx(no.div,{"aria-hidden":!0,...c,ref:i})});XKt.displayName=Qtr;var eLe="SelectArrow",enr=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n,d=Jae(s),g=xN(eLe,s),b=kN(eLe,s);return g.open&&b.position==="popper"?I.jsx(iMe,{...d,...c,ref:i}):null});enr.displayName=eLe;var tnr="SelectBubbleInput",ZKt=H.forwardRef(({__scopeSelect:n,value:i,...s},c)=>{const d=H.useRef(null),g=hs(c,d),b=Gae(i);return H.useEffect(()=>{const w=d.current;if(!w)return;const E=window.HTMLSelectElement.prototype,x=Object.getOwnPropertyDescriptor(E,"value").set;if(b!==i&&x){const A=new Event("change",{bubbles:!0});x.call(w,i),w.dispatchEvent(A)}},[b,i]),I.jsx(no.select,{...s,style:{...kKt,...s.style},ref:g,defaultValue:i})});ZKt.displayName=tnr;function QKt(n){return n===""||n===void 0}function eYt(n){const i=q2(n),s=H.useRef(""),c=H.useRef(0),d=H.useCallback(b=>{const w=s.current+b;i(w),function E(S){s.current=S,window.clearTimeout(c.current),S!==""&&(c.current=window.setTimeout(()=>E(""),1e3))}(w)},[i]),g=H.useCallback(()=>{s.current="",window.clearTimeout(c.current)},[]);return H.useEffect(()=>()=>window.clearTimeout(c.current),[]),[s,d,g]}function tYt(n,i,s){const d=i.length>1&&Array.from(i).every(S=>S===i[0])?i[0]:i,g=s?n.indexOf(s):-1;let b=nnr(n,Math.max(g,0));d.length===1&&(b=b.filter(S=>S!==s));const E=b.find(S=>S.textValue.toLowerCase().startsWith(d.toLowerCase()));return E!==s?E:void 0}function nnr(n,i){return n.map((s,c)=>n[(i+c)%n.length])}var rnr=NKt,nYt=IKt,inr=OKt,onr=DKt,snr=LKt,rYt=MKt,anr=$Kt,iYt=HKt,oYt=GKt,unr=qKt,cnr=WKt,sYt=KKt,aYt=YKt,uYt=XKt;const zp=rnr,Gp=inr,zh=H.forwardRef(({className:n,children:i,...s},c)=>I.jsxs(nYt,{ref:c,className:Sr("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&>span]:line-clamp-1",n),...s,children:[i,I.jsx(onr,{asChild:!0,children:I.jsx(nae,{className:"h-4 w-4 opacity-50"})})]}));zh.displayName=nYt.displayName;const cYt=H.forwardRef(({className:n,...i},s)=>I.jsx(sYt,{ref:s,className:Sr("flex cursor-default items-center justify-center py-1",n),...i,children:I.jsx(g8n,{className:"h-4 w-4"})}));cYt.displayName=sYt.displayName;const lYt=H.forwardRef(({className:n,...i},s)=>I.jsx(aYt,{ref:s,className:Sr("flex cursor-default items-center justify-center py-1",n),...i,children:I.jsx(nae,{className:"h-4 w-4"})}));lYt.displayName=aYt.displayName;const Gh=H.forwardRef(({className:n,children:i,position:s="popper",container:c,...d},g)=>I.jsx(snr,{container:c,children:I.jsxs(rYt,{ref:g,className:Sr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",s==="popper"&&"data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1",n),position:s,...d,children:[I.jsx(cYt,{}),I.jsx(anr,{className:Sr("p-1",s==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:i}),I.jsx(lYt,{})]})}));Gh.displayName=rYt.displayName;const lnr=H.forwardRef(({className:n,...i},s)=>I.jsx(iYt,{ref:s,className:Sr("px-2 py-1.5 font-semibold text-sm",n),...i}));lnr.displayName=iYt.displayName;const to=H.forwardRef(({className:n,children:i,...s},c)=>I.jsxs(oYt,{ref:c,className:Sr("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...s,children:[I.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(cnr,{children:I.jsx(oN,{className:"h-4 w-4"})})}),I.jsx(unr,{children:i})]}));to.displayName=oYt.displayName;const dnr=H.forwardRef(({className:n,...i},s)=>I.jsx(uYt,{ref:s,className:Sr("-mx-1 my-1 h-px bg-muted",n),...i}));dnr.displayName=uYt.displayName;const fnr=["single","restart","queued","parallel"],hnr=["silent","warning","critical"],ZFt=new Set(["queued","parallel"]);function pnr(){const{t:n}=ps("common"),i=Do(C=>C.flowName),s=Do(C=>C.flowDescription),c=Do(C=>C.setFlowName),d=Do(C=>C.setFlowDescription),g=Do(C=>C.flowMetadata),b=Do(C=>C.setFlowMetadata),w=g.mode??"single",E=ZFt.has(w),S=C=>{const R=C,L={mode:R};ZFt.has(R)||(L.max=void 0,L.max_exceeded=void 0),b(L)},x=C=>{const R=Number.parseInt(C,10);C===""||Number.isNaN(R)?b({max:void 0}):R>0&&b({max:R})},A=C=>{b(C==="none"?{max_exceeded:void 0}:{max_exceeded:C})};return I.jsxs("div",{className:"h-full flex-1 space-y-4 overflow-y-auto p-4",children:[I.jsx("h3",{className:"mt-1.5 font-semibold text-foreground text-sm",children:n("automationSettings.title")}),I.jsx(Po,{label:n("labels.automationName"),children:I.jsx(Na,{type:"text",value:i,onChange:C=>c(C.target.value),placeholder:n("placeholders.enterAutomationName")})}),I.jsx(Po,{label:n("automationSettings.description"),children:I.jsx($v,{value:s,onChange:C=>d(C.target.value),placeholder:n("placeholders.describeAutomation"),rows:3})}),I.jsx(Pz,{}),I.jsxs(Po,{label:n("automationSettings.mode"),description:n("automationSettings.modeDescription"),children:[I.jsxs(zp,{value:w,onValueChange:S,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsx(Gh,{children:fnr.map(C=>I.jsx(to,{value:C,children:n(`automationSettings.modes.${C}`)},C))})]}),I.jsx("p",{className:"text-muted-foreground text-xs",children:n(`automationSettings.modeDescriptions.${w}`)})]}),E&&I.jsxs(I.Fragment,{children:[I.jsx(Po,{label:n("automationSettings.max"),description:n("automationSettings.maxDescription"),children:I.jsx(Na,{type:"number",min:1,value:g.max??"",onChange:C=>x(C.target.value),placeholder:"10"})}),g.max!=null&&I.jsx(Po,{label:n("automationSettings.maxExceeded"),description:n("automationSettings.maxExceededDescription"),children:I.jsxs(zp,{value:g.max_exceeded??"none",onValueChange:A,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"none",children:n("placeholders.none")}),hnr.map(C=>I.jsx(to,{value:C,children:n(`automationSettings.maxExceededOptions.${C}`)},C))]})]})})]})]})}function dYt({options:n,value:i,onChange:s,placeholder:c,className:d,buttonClassName:g,disabled:b=!1,renderOption:w,renderValue:E,searchKeys:S=["label","value"],fuzzyOptions:x={}}){const{t:A}=ps(["common"]),[C,R]=H.useState(!1),{query:L,setQuery:D,filteredItems:B}=rVt(n,{keys:S,threshold:.4,includeScore:!0,ignoreLocation:!0,includeMatches:!0,minMatchCharLength:1,...x}),$=n.find(P=>P.value===i),j=P=>{D(P)};return I.jsxs(sMe,{open:C,onOpenChange:R,children:[I.jsx(Wqt,{asChild:!0,children:I.jsxs(Ri,{variant:"outline",role:"combobox","aria-expanded":C,className:Sr("flex w-full justify-between",g),disabled:b,children:[$?E?E($):$.label:c||A("combobox.select"),I.jsx(cGt,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),I.jsx(Tae,{className:Sr("w-[286px] p-0",d),children:I.jsxs(fae,{shouldFilter:!1,children:[I.jsx(hae,{placeholder:c||A("combobox.select"),className:"h-9",value:L,onValueChange:j}),I.jsxs(pae,{children:[I.jsx(gae,{children:A("combobox.noOptions")}),I.jsx(ez,{children:B.map(P=>I.jsxs(tz,{value:P.value,onSelect:G=>{s(G===i?"":G),R(!1),D("")},children:[w?w(P):P.label,I.jsx(oN,{className:Sr("ml-auto h-4 w-4",i===P.value?"opacity-100":"opacity-0")})]},P.value))})]})]})})]})}function tLe({values:n,onChange:i,placeholder:s="Add ID...",className:c}){const[d,g]=H.useState(""),b=()=>{const S=d.trim();S&&!n.includes(S)&&(i([...n,S]),g(""))},w=S=>{i(n.filter(x=>x!==S))},E=S=>{S.key==="Enter"&&(S.preventDefault(),b())};return I.jsxs("div",{className:Sr("space-y-1",c),children:[I.jsxs("div",{className:"flex gap-1",children:[I.jsx(Na,{value:d,onChange:S=>g(S.target.value),onKeyDown:E,placeholder:s,className:"flex-1 font-mono text-xs"}),I.jsx(Ri,{type:"button",size:"icon",variant:"outline",onClick:b,disabled:!d.trim(),children:I.jsx(iae,{className:"h-4 w-4"})})]}),n.length>0&&I.jsx("div",{className:"flex flex-wrap gap-1",children:n.map(S=>I.jsxs("span",{className:"inline-flex items-center rounded border bg-muted px-2 py-0.5 font-mono text-muted-foreground text-xs",children:[S,I.jsx(oae,{className:"ml-1 h-3 w-3 cursor-pointer hover:text-destructive",onClick:()=>w(S)})]},S))})]})}const gnr={light:{label:"Light",color:"bg-yellow-100 dark:bg-yellow-900/50 text-yellow-800 dark:text-yellow-200"},switch:{label:"Switch",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"},sensor:{label:"Sensor",color:"bg-green-100 dark:bg-green-900/50 text-green-800 dark:text-green-200"},binary_sensor:{label:"Binary Sensor",color:"bg-purple-100 dark:bg-purple-900/50 text-purple-800 dark:text-purple-200"},climate:{label:"Climate",color:"bg-orange-100 dark:bg-orange-900/50 text-orange-800 dark:text-orange-200"},cover:{label:"Cover",color:"bg-indigo-100 dark:bg-indigo-900/50 text-indigo-800 dark:text-indigo-200"},fan:{label:"Fan",color:"bg-cyan-100 dark:bg-cyan-900/50 text-cyan-800 dark:text-cyan-200"},media_player:{label:"Media",color:"bg-pink-100 dark:bg-pink-900/50 text-pink-800 dark:text-pink-200"},automation:{label:"Automation",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},script:{label:"Script",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},scene:{label:"Scene",color:"bg-violet-100 dark:bg-violet-900/50 text-violet-800 dark:text-violet-200"},input_boolean:{label:"Input Bool",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_number:{label:"Input Num",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_select:{label:"Input Select",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_text:{label:"Input Text",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_datetime:{label:"Input Time",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},person:{label:"Person",color:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200"},device_tracker:{label:"Tracker",color:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200"},zone:{label:"Zone",color:"bg-lime-100 dark:bg-lime-900/50 text-lime-800 dark:text-lime-200"},sun:{label:"Sun",color:"bg-orange-100 dark:bg-orange-900/50 text-orange-800 dark:text-orange-200"},weather:{label:"Weather",color:"bg-sky-100 dark:bg-sky-900/50 text-sky-800 dark:text-sky-200"},camera:{label:"Camera",color:"bg-rose-100 dark:bg-rose-900/50 text-rose-800 dark:text-rose-200"},remote:{label:"Remote",color:"bg-gray-100 dark:bg-gray-700/50 text-gray-800 dark:text-gray-200"},vacuum:{label:"Vacuum",color:"bg-teal-100 dark:bg-teal-900/50 text-teal-800 dark:text-teal-200"},lock:{label:"Lock",color:"bg-red-100 dark:bg-red-900/50 text-red-800 dark:text-red-200"},alarm_control_panel:{label:"Alarm",color:"bg-red-100 dark:bg-red-900/50 text-red-800 dark:text-red-200"},water_heater:{label:"Water Heater",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"},humidifier:{label:"Humidifier",color:"bg-cyan-100 dark:bg-cyan-900/50 text-cyan-800 dark:text-cyan-200"},button:{label:"Button",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},number:{label:"Number",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},select:{label:"Select",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},text:{label:"Text",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},update:{label:"Update",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"}};function bnr(n){if(!n||typeof n!="string")return{label:"Unknown",color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"};const i=n.split(".")[0];return gnr[i]||{label:i,color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"}}function mnr(n){return n.attributes.friendly_name||n.entity_id}function yse({value:n,onChange:i,entities:s,placeholder:c="Select entity...",className:d,domainFilter:g}){const{entities:b,getDeviceNameForEntity:w,getAreaNameForEntity:E}=pb(),S=s??b,x=H.useMemo(()=>{if(!g)return S;const B=Array.isArray(g)?g:[g];return S.filter($=>{const j=$.entity_id.split(".")[0];return B.includes(j)})},[S,g]),A=H.useMemo(()=>x.map(B=>{const $=bnr(B.entity_id);return{value:B.entity_id,label:mnr(B),domainLabel:$.label,domainColor:$.color,deviceLabel:w(B.entity_id)??void 0,areaLabel:E(B.entity_id)??void 0}}),[x,w,E]),C=Array.isArray(n)?n[0]:n,R=x.find(B=>B.entity_id===C),L=C&&!R,D=B=>{i(B)};return I.jsxs("div",{className:Sr("relative",d),children:[I.jsx(dYt,{options:A,value:C||"",onChange:D,placeholder:c,buttonClassName:Sr(!C&&"text-muted-foreground"),disabled:A.length===0,searchKeys:["label","value","deviceLabel","areaLabel"],fuzzyOptions:{threshold:.3,minMatchCharLength:2},renderOption:B=>I.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[I.jsx("span",{children:B.label}),I.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[I.jsx("span",{className:Sr("rounded px-1.5 py-0.5 font-medium text-xs",B.domainColor),children:B.domainLabel}),B.deviceLabel&&I.jsx("span",{className:"truncate text-muted-foreground text-xs",children:B.deviceLabel}),B.areaLabel&&I.jsx("span",{className:"ml-auto shrink-0 text-muted-foreground text-xs",children:B.areaLabel})]})]}),renderValue:B=>B?I.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[I.jsx("span",{className:Sr("rounded px-1.5 py-0.5 font-medium text-xs",B.domainColor),children:B.domainLabel}),I.jsx("span",{className:"truncate",children:B.label})]}):null}),L&&I.jsx("div",{className:"mt-1 truncate font-mono text-red-600",children:C})]})}function Xae({value:n,onChange:i,entities:s,placeholder:c="Select entities...",className:d}){const g=w=>{n.includes(w)||i([...n,w])},b=w=>{i(n.filter(E=>E!==w))};return I.jsxs("div",{className:Sr("space-y-1",d),children:[I.jsx(yse,{value:"",onChange:g,entities:s,placeholder:c,className:"w-full"}),I.jsx("div",{className:"flex flex-wrap gap-1",children:n.map(w=>I.jsxs("span",{className:"inline-flex items-center rounded border bg-muted px-2 py-0.5 font-mono text-muted-foreground text-xs",children:[w,I.jsx(oae,{className:"ml-1 h-3 w-3 cursor-pointer hover:text-destructive",onClick:()=>b(w)})]},w))})]})}function VMe(n,i,s){const d=n.data[i];return d??s}function jh(n,i,s=""){const c=VMe(n,i,s);if(typeof c=="string")return c;if(typeof c=="object"&&c!==null&&!Array.isArray(c)){const d=c;if(typeof d.value=="string")return d.value}return s}function N5(n,i,s={}){const c=VMe(n,i,s);return typeof c=="object"&&c!==null&&!Array.isArray(c)?c:s}function wnr({response:n,responseVariable:i,showResponseVariable:s,setShowResponseVariable:c,onChange:d,handleResponseVariableChange:g}){const{t:b}=ps(["common","nodes"]),w=I.jsxs(I.Fragment,{children:[I.jsx(Na,{type:"text",value:i??"",onChange:g,placeholder:b("nodes:responseVariableField.placeholder")}),(i==null?void 0:i.trim())==="current_node"&&I.jsxs(dA,{variant:"destructive",className:"mt-2 border-0 px-0",children:[I.jsx(AKt,{children:b("labels.warning")}),I.jsx(fA,{children:b("nodes:responseVariableField.currentNodeWarning")})]})]});return n.optional?I.jsxs(Po,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.optionalDescription"),children:[I.jsxs("div",{className:"mb-2 flex items-center gap-3",children:[I.jsx(J2,{checked:s,onCheckedChange:E=>{c(E),E||d("response_variable",void 0)},id:"response-variable-switch"}),I.jsx("label",{htmlFor:"response-variable-switch",className:"cursor-pointer select-none text-sm",children:b("nodes:responseVariableField.useResponseVariable")})]}),s&&w]}):I.jsx(Po,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.requiredDescription"),children:w})}function ynr({serviceFields:n,currentData:i,onChange:s}){const{t:c}=ps(["common","nodes"]);return Object.keys(n).length===0?null:I.jsxs("div",{className:"mt-3 flex flex-col gap-3 border-t pt-3",children:[I.jsx("h4",{className:"mb-3 font-semibold text-muted-foreground text-xs",children:c("nodes:serviceDataFields.heading")}),Object.entries(n).map(([d,g])=>{var A;const b=g.selector||{},w=Object.keys(b)[0],E=b[w]||{},S=i[d],x=g.name||d.replace(/_/g," ").replace(/\b\w/g,C=>C.toUpperCase());if(w==="number"){const C=E;return I.jsx(Po,{label:`${x}${C.unit_of_measurement?` (${C.unit_of_measurement})`:""}`,required:g.required,description:g.description,children:I.jsx(Na,{type:"number",value:S??"",onChange:R=>s(d,R.target.value?Number(R.target.value):""),min:C.min,max:C.max,placeholder:g.example!==void 0?String(g.example):""})},d)}if(w==="select"){const C=E;return I.jsx(Po,{label:x,required:g.required,description:g.description,children:I.jsxs(zp,{value:String(S===""?"__NONE__":S??"__NONE__"),onValueChange:R=>s(d,R==="__NONE__"?"":R),children:[I.jsx(zh,{children:I.jsx(Gp,{placeholder:c("placeholders.none")})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"__NONE__",children:c("placeholders.none")}),(A=C.options)==null?void 0:A.map(R=>I.jsx(to,{value:R,children:R},R))]})]})},d)}if(w==="boolean")return I.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[I.jsx("input",{type:"checkbox",checked:S??!1,onChange:C=>s(d,C.target.checked),className:"rounded"}),I.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[x,g.required&&I.jsx("span",{className:"ml-0.5 text-destructive",children:c("labels.requiredAsterisk")})]})]},d);if(w==="entity"){if(E.multiple===!0){const L=Array.isArray(S)?S:S?[String(S)]:[];return I.jsx(Po,{label:x,required:g.required,description:g.description,children:I.jsx(Xae,{value:L,onChange:D=>s(d,D),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return I.jsx(Po,{label:x,required:g.required,description:g.description,children:I.jsx(yse,{value:String(S??""),onChange:L=>s(d,L),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return I.jsx(Po,{label:x,required:g.required,description:g.description,children:I.jsx(Na,{type:"text",value:S??"",onChange:C=>s(d,C.target.value),placeholder:g.example!==void 0?String(g.example):""})},d)})]})}const vnr=new Set(["homeassistant","group"]);function Enr(n,i){if(!n||!n.includes("."))return i;const s=n.split(".")[0];if(vnr.has(s))return i;const c=i.filter(d=>d.entity_id.startsWith(`${s}.`));return c.length>0?c:i}function Snr({node:n,onChange:i,entities:s}){const{t:c}=ps(["nodes"]),{getAllServices:d,getServiceDefinition:g}=pb(),{getFieldError:b}=gb(n.id),w=jh(n,"service"),E=jh(n,"event"),S=n.data,x=typeof S.stop=="string"?S.stop:void 0,A=S.error===!0,C=g(w),R=(C==null?void 0:C.fields)||{},L=N5(n,"data",{}),D=jh(n,"response_variable"),[B,$]=H.useState(!!D),j=x!==void 0?"stop":E?"event":"service";H.useEffect(()=>{$(!!D)},[D]);const P=Le=>{Le==="stop"?(i("service",void 0),i("target",void 0),i("data",void 0),i("event",void 0),i("event_data",void 0),i("stop",""),i("error",void 0)):Le==="event"?(i("service",void 0),i("target",void 0),i("data",void 0),i("stop",void 0),i("error",void 0)):(i("event",void 0),i("event_data",void 0),i("stop",void 0),i("error",void 0))},G=Le=>{i("service",Le),i("data",void 0)},ee=Le=>{const xe={...N5(n,"target",{}),entity_id:Le.length>0?Le:void 0};xe.entity_id||delete xe.entity_id,i("target",Object.keys(xe).length>0?xe:void 0)},re=Le=>{const xe={...N5(n,"target",{}),device_id:Le.length>0?Le:void 0};xe.device_id||delete xe.device_id,i("target",Object.keys(xe).length>0?xe:void 0)},Q=Le=>{const xe={...N5(n,"target",{}),area_id:Le.length>0?Le:void 0};xe.area_id||delete xe.area_id,i("target",Object.keys(xe).length>0?xe:void 0)},ie=(Le,Ae)=>{const xe={...L,[Le]:Ae===""?void 0:Ae},We=Object.fromEntries(Object.entries(xe).filter(([,dt])=>dt!==void 0&&dt!==""));i("data",Object.keys(We).length>0?We:void 0)},pe=Le=>{i("response_variable",Le.target.value===""?void 0:Le.target.value)},me=N5(n,"target",{}),le=Le=>Le?Array.isArray(Le)?Le:[Le]:[],fe=le(me.entity_id),K=le(me.device_id),he=le(me.area_id),Oe=K.length>0,Se=he.length>0;return I.jsxs(I.Fragment,{children:[I.jsx(Po,{label:c("nodes:actions.actionTypeLabel"),required:!0,children:I.jsxs(zp,{value:j,onValueChange:P,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"service",children:c("nodes:actions.actionTypes.service")}),I.jsx(to,{value:"event",children:c("nodes:actions.actionTypes.event")}),I.jsx(to,{value:"stop",children:c("nodes:actions.actionTypes.stop")})]})]})}),j==="stop"?I.jsxs(I.Fragment,{children:[I.jsx(Po,{label:c("nodes:actions.stopMessageLabel"),children:I.jsx(Na,{type:"text",value:x??"",onChange:Le=>i("stop",Le.target.value),placeholder:c("nodes:actions.stopMessagePlaceholder")})}),I.jsx(Po,{label:c("nodes:actions.markAsError"),children:I.jsx(J2,{checked:A,onCheckedChange:Le=>i("error",Le||void 0)})})]}):j==="event"?I.jsx(I.Fragment,{children:I.jsxs(Po,{label:c("nodes:actions.eventNameLabel"),required:!0,children:[I.jsx(Na,{type:"text",value:E,onChange:Le=>i("event",Le.target.value||void 0),placeholder:c("nodes:actions.eventNamePlaceholder")}),I.jsx(H2,{message:b("event")})]})}):I.jsxs(I.Fragment,{children:[I.jsxs(Po,{label:c("nodes:actions.actionLabel"),required:!0,children:[I.jsx(dYt,{options:d().map(({domain:Le,service:Ae})=>({value:`${Le}.${Ae}`,label:`${Le}.${Ae}`})),value:w,onChange:G,placeholder:c("nodes:actions.selectAction")}),I.jsx(H2,{message:b("service")})]}),((C==null?void 0:C.target)||fe.length>0)&&I.jsx(Po,{label:c("nodes:actions.targetEntities"),children:I.jsx(Xae,{value:fe,onChange:ee,entities:Enr(w,s),placeholder:c("nodes:actions.selectTargetEntities")})}),(Oe||(C==null?void 0:C.target))&&I.jsx(Po,{label:c("nodes:actions.targetDevices"),description:c("nodes:actions.targetDevicesDescription"),children:I.jsx(tLe,{values:K,onChange:re,placeholder:c("nodes:actions.addDeviceId")})}),(Se||(C==null?void 0:C.target))&&I.jsx(Po,{label:c("nodes:actions.targetAreas"),description:c("nodes:actions.targetAreasDescription"),children:I.jsx(tLe,{values:he,onChange:Q,placeholder:c("nodes:actions.addAreaId")})}),I.jsx(ynr,{serviceFields:R,currentData:L,onChange:ie}),(C==null?void 0:C.response)&&I.jsx(wnr,{response:C.response,responseVariable:D,showResponseVariable:B,setShowResponseVariable:$,onChange:i,handleResponseVariableChange:pe})]})]})}function fYt({value:n,onChange:i}){const{t:s}=ps(["common","nodes"]),c=typeof n=="string",d=!c&&typeof n=="object"&&n!==null?n:{},[g,b]=H.useState(c),w=S=>{if(b(S),S){const x=d.hours??0,A=d.minutes??0,C=d.seconds??0,R=d.milliseconds??0,L=[x,A,C].map(B=>B.toString().padStart(2,"0")).join(":"),D=R?`${L}.${R}`:L;i(D)}else if(c){const x=/^([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})(?:\.(\d{1,3}))?$/.exec(n);if(x){const[,A,C,R,L]=x;i({hours:Number(A),minutes:Number(C),seconds:Number(R),...L?{milliseconds:Number(L)}:{}})}else i({})}},E=(S,x)=>{const A=x===""?void 0:Number(x),C={...d,[S]:Number.isNaN(A)?void 0:A};Object.keys(C).forEach(R=>{const L=C[R];L==null&&delete C[R]}),i(C)};return I.jsxs("div",{className:"flex flex-col gap-2",children:[I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx("span",{className:"text-muted-foreground text-xs",children:s("nodes:durationField.string")}),I.jsx(J2,{checked:g,onCheckedChange:w}),I.jsx("span",{className:"text-muted-foreground text-xs",children:s("nodes:durationField.object")})]}),g?I.jsx(Na,{type:"text",value:c?n:"",onChange:S=>i(S.target.value),placeholder:s("nodes:durationField.placeholder")}):I.jsxs("div",{className:"flex gap-2",children:[I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.hours")}),I.jsx(Na,{type:"number",min:0,value:d.hours??"",onChange:S=>E("hours",S.target.value),placeholder:"0",className:"mt-1"})]}),I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.minutes")}),I.jsx(Na,{type:"number",min:0,value:d.minutes??"",onChange:S=>E("minutes",S.target.value),placeholder:"0",className:"mt-1"})]}),I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.seconds")}),I.jsx(Na,{type:"number",min:0,value:d.seconds??"",onChange:S=>E("seconds",S.target.value),placeholder:"0",className:"mt-1"})]}),I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.milliseconds")}),I.jsx(Na,{type:"number",min:0,value:d.milliseconds??"",onChange:S=>E("milliseconds",S.target.value),placeholder:"0",className:"mt-1"})]})]})]})}function hYt({label:n,description:i,value:s,onChange:c}){const{t:d}=ps(["common","nodes"]);return I.jsx(Po,{label:n??d("nodes:durationField.label"),description:i||d("nodes:durationField.description"),children:I.jsx(fYt,{value:s,onChange:c})})}var VOe="rovingFocusGroup.onEntryFocus",Tnr={bubbles:!1,cancelable:!0},Fz="RovingFocusGroup",[nLe,pYt,Anr]=Wae(Fz),[_nr,Zae]=xw(Fz,[Anr]),[xnr,knr]=_nr(Fz),gYt=H.forwardRef((n,i)=>I.jsx(nLe.Provider,{scope:n.__scopeRovingFocusGroup,children:I.jsx(nLe.Slot,{scope:n.__scopeRovingFocusGroup,children:I.jsx(Nnr,{...n,ref:i})})}));gYt.displayName=Fz;var Nnr=H.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:s,orientation:c,loop:d=!1,dir:g,currentTabStopId:b,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:E,onEntryFocus:S,preventScrollOnEntryFocus:x=!1,...A}=n,C=H.useRef(null),R=hs(i,C),L=jz(g),[D,B]=G2({prop:b,defaultProp:w??null,onChange:E,caller:Fz}),[$,j]=H.useState(!1),P=q2(S),G=pYt(s),ee=H.useRef(!1),[re,Q]=H.useState(0);return H.useEffect(()=>{const ie=C.current;if(ie)return ie.addEventListener(VOe,P),()=>ie.removeEventListener(VOe,P)},[P]),I.jsx(xnr,{scope:s,orientation:c,dir:L,loop:d,currentTabStopId:D,onItemFocus:H.useCallback(ie=>B(ie),[B]),onItemShiftTab:H.useCallback(()=>j(!0),[]),onFocusableItemAdd:H.useCallback(()=>Q(ie=>ie+1),[]),onFocusableItemRemove:H.useCallback(()=>Q(ie=>ie-1),[]),children:I.jsx(no.div,{tabIndex:$||re===0?-1:0,"data-orientation":c,...A,ref:R,style:{outline:"none",...n.style},onMouseDown:Dr(n.onMouseDown,()=>{ee.current=!0}),onFocus:Dr(n.onFocus,ie=>{const pe=!ee.current;if(ie.target===ie.currentTarget&&pe&&!$){const me=new CustomEvent(VOe,Tnr);if(ie.currentTarget.dispatchEvent(me),!me.defaultPrevented){const le=G().filter(Se=>Se.focusable),fe=le.find(Se=>Se.active),K=le.find(Se=>Se.id===D),Oe=[fe,K,...le].filter(Boolean).map(Se=>Se.ref.current);wYt(Oe,x)}}ee.current=!1}),onBlur:Dr(n.onBlur,()=>j(!1))})})}),bYt="RovingFocusGroupItem",mYt=H.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:s,focusable:c=!0,active:d=!1,tabStopId:g,children:b,...w}=n,E=Bh(),S=g||E,x=knr(bYt,s),A=x.currentTabStopId===S,C=pYt(s),{onFocusableItemAdd:R,onFocusableItemRemove:L,currentTabStopId:D}=x;return H.useEffect(()=>{if(c)return R(),()=>L()},[c,R,L]),I.jsx(nLe.ItemSlot,{scope:s,id:S,focusable:c,active:d,children:I.jsx(no.span,{tabIndex:A?0:-1,"data-orientation":x.orientation,...w,ref:i,onMouseDown:Dr(n.onMouseDown,B=>{c?x.onItemFocus(S):B.preventDefault()}),onFocus:Dr(n.onFocus,()=>x.onItemFocus(S)),onKeyDown:Dr(n.onKeyDown,B=>{if(B.key==="Tab"&&B.shiftKey){x.onItemShiftTab();return}if(B.target!==B.currentTarget)return;const $=Rnr(B,x.orientation,x.dir);if($!==void 0){if(B.metaKey||B.ctrlKey||B.altKey||B.shiftKey)return;B.preventDefault();let P=C().filter(G=>G.focusable).map(G=>G.ref.current);if($==="last")P.reverse();else if($==="prev"||$==="next"){$==="prev"&&P.reverse();const G=P.indexOf(B.currentTarget);P=x.loop?Onr(P,G+1):P.slice(G+1)}setTimeout(()=>wYt(P))}}),children:typeof b=="function"?b({isCurrentTabStop:A,hasTabStop:D!=null}):b})})});mYt.displayName=bYt;var Cnr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Inr(n,i){return i!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function Rnr(n,i,s){const c=Inr(n.key,s);if(!(i==="vertical"&&["ArrowLeft","ArrowRight"].includes(c))&&!(i==="horizontal"&&["ArrowUp","ArrowDown"].includes(c)))return Cnr[c]}function wYt(n,i=!1){const s=document.activeElement;for(const c of n)if(c===s||(c.focus({preventScroll:i}),document.activeElement!==s))return}function Onr(n,i){return n.map((s,c)=>n[(i+c)%n.length])}var yYt=gYt,vYt=mYt;function Dnr(n){const i=Lnr(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(Pnr);if(E){const S=E.props.children,x=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,x):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function Lnr(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Fnr(d),w=jnr(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var Mnr=Symbol("radix.slottable");function Pnr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Mnr}function jnr(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Fnr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var rLe=["Enter"," "],$nr=["ArrowDown","PageUp","Home"],EYt=["ArrowUp","PageDown","End"],Bnr=[...$nr,...EYt],Unr={ltr:[...rLe,"ArrowRight"],rtl:[...rLe,"ArrowLeft"]},Hnr={ltr:["ArrowLeft"],rtl:["ArrowRight"]},$z="Menu",[lz,znr,Gnr]=Wae($z),[LR,SYt]=xw($z,[Gnr,BM,Zae]),Qae=BM(),TYt=Zae(),[qnr,MR]=LR($z),[Vnr,Bz]=LR($z),AYt=n=>{const{__scopeMenu:i,open:s=!1,children:c,dir:d,onOpenChange:g,modal:b=!0}=n,w=Qae(i),[E,S]=H.useState(null),x=H.useRef(!1),A=q2(g),C=jz(d);return H.useEffect(()=>{const R=()=>{x.current=!0,document.addEventListener("pointerdown",L,{capture:!0,once:!0}),document.addEventListener("pointermove",L,{capture:!0,once:!0})},L=()=>x.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",L,{capture:!0}),document.removeEventListener("pointermove",L,{capture:!0})}},[]),I.jsx(nMe,{...w,children:I.jsx(qnr,{scope:i,open:s,onOpenChange:A,content:E,onContentChange:S,children:I.jsx(Vnr,{scope:i,onClose:H.useCallback(()=>A(!1),[A]),isUsingKeyboardRef:x,dir:C,modal:b,children:c})})})};AYt.displayName=$z;var Wnr="MenuAnchor",WMe=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n,d=Qae(s);return I.jsx(Eae,{...d,...c,ref:i})});WMe.displayName=Wnr;var KMe="MenuPortal",[Knr,_Yt]=LR(KMe,{forceMount:void 0}),xYt=n=>{const{__scopeMenu:i,forceMount:s,children:c,container:d}=n,g=MR(KMe,i);return I.jsx(Knr,{scope:i,forceMount:s,children:I.jsx(kw,{present:s||g.open,children:I.jsx(Cz,{asChild:!0,container:d,children:c})})})};xYt.displayName=KMe;var Sw="MenuContent",[Ynr,YMe]=LR(Sw),kYt=H.forwardRef((n,i)=>{const s=_Yt(Sw,n.__scopeMenu),{forceMount:c=s.forceMount,...d}=n,g=MR(Sw,n.__scopeMenu),b=Bz(Sw,n.__scopeMenu);return I.jsx(lz.Provider,{scope:n.__scopeMenu,children:I.jsx(kw,{present:c||g.open,children:I.jsx(lz.Slot,{scope:n.__scopeMenu,children:b.modal?I.jsx(Jnr,{...d,ref:i}):I.jsx(Xnr,{...d,ref:i})})})})}),Jnr=H.forwardRef((n,i)=>{const s=MR(Sw,n.__scopeMenu),c=H.useRef(null),d=hs(i,c);return H.useEffect(()=>{const g=c.current;if(g)return uae(g)},[]),I.jsx(JMe,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:Dr(n.onFocusOutside,g=>g.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)})}),Xnr=H.forwardRef((n,i)=>{const s=MR(Sw,n.__scopeMenu);return I.jsx(JMe,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>s.onOpenChange(!1)})}),Znr=Dnr("MenuContent.ScrollLock"),JMe=H.forwardRef((n,i)=>{const{__scopeMenu:s,loop:c=!1,trapFocus:d,onOpenAutoFocus:g,onCloseAutoFocus:b,disableOutsidePointerEvents:w,onEntryFocus:E,onEscapeKeyDown:S,onPointerDownOutside:x,onFocusOutside:A,onInteractOutside:C,onDismiss:R,disableOutsideScroll:L,...D}=n,B=MR(Sw,s),$=Bz(Sw,s),j=Qae(s),P=TYt(s),G=znr(s),[ee,re]=H.useState(null),Q=H.useRef(null),ie=hs(i,Q,B.onContentChange),pe=H.useRef(0),me=H.useRef(""),le=H.useRef(0),fe=H.useRef(null),K=H.useRef("right"),he=H.useRef(0),Oe=L?Iz:H.Fragment,Se=L?{as:Znr,allowPinchZoom:!0}:void 0,Le=xe=>{var vt,Ct;const We=me.current+xe,dt=G().filter(Ft=>!Ft.disabled),Ue=document.activeElement,bt=(vt=dt.find(Ft=>Ft.ref.current===Ue))==null?void 0:vt.textValue,kt=dt.map(Ft=>Ft.textValue),ht=lrr(kt,We,bt),Xt=(Ct=dt.find(Ft=>Ft.textValue===ht))==null?void 0:Ct.ref.current;(function Ft(On){me.current=On,window.clearTimeout(pe.current),On!==""&&(pe.current=window.setTimeout(()=>Ft(""),1e3))})(We),Xt&&setTimeout(()=>Xt.focus())};H.useEffect(()=>()=>window.clearTimeout(pe.current),[]),sae();const Ae=H.useCallback(xe=>{var dt,Ue;return K.current===((dt=fe.current)==null?void 0:dt.side)&&frr(xe,(Ue=fe.current)==null?void 0:Ue.area)},[]);return I.jsx(Ynr,{scope:s,searchRef:me,onItemEnter:H.useCallback(xe=>{Ae(xe)&&xe.preventDefault()},[Ae]),onItemLeave:H.useCallback(xe=>{var We;Ae(xe)||((We=Q.current)==null||We.focus(),re(null))},[Ae]),onTriggerLeave:H.useCallback(xe=>{Ae(xe)&&xe.preventDefault()},[Ae]),pointerGraceTimerRef:le,onPointerGraceIntentChange:H.useCallback(xe=>{fe.current=xe},[]),children:I.jsx(Oe,{...Se,children:I.jsx(Nz,{asChild:!0,trapped:d,onMountAutoFocus:Dr(g,xe=>{var We;xe.preventDefault(),(We=Q.current)==null||We.focus({preventScroll:!0})}),onUnmountAutoFocus:b,children:I.jsx(kz,{asChild:!0,disableOutsidePointerEvents:w,onEscapeKeyDown:S,onPointerDownOutside:x,onFocusOutside:A,onInteractOutside:C,onDismiss:R,children:I.jsx(yYt,{asChild:!0,...P,dir:$.dir,orientation:"vertical",loop:c,currentTabStopId:ee,onCurrentTabStopIdChange:re,onEntryFocus:Dr(E,xe=>{$.isUsingKeyboardRef.current||xe.preventDefault()}),preventScrollOnEntryFocus:!0,children:I.jsx(rMe,{role:"menu","aria-orientation":"vertical","data-state":zYt(B.open),"data-radix-menu-content":"",dir:$.dir,...j,...D,ref:ie,style:{outline:"none",...D.style},onKeyDown:Dr(D.onKeyDown,xe=>{const dt=xe.target.closest("[data-radix-menu-content]")===xe.currentTarget,Ue=xe.ctrlKey||xe.altKey||xe.metaKey,bt=xe.key.length===1;dt&&(xe.key==="Tab"&&xe.preventDefault(),!Ue&&bt&&Le(xe.key));const kt=Q.current;if(xe.target!==kt||!Bnr.includes(xe.key))return;xe.preventDefault();const Xt=G().filter(vt=>!vt.disabled).map(vt=>vt.ref.current);EYt.includes(xe.key)&&Xt.reverse(),urr(Xt)}),onBlur:Dr(n.onBlur,xe=>{xe.currentTarget.contains(xe.target)||(window.clearTimeout(pe.current),me.current="")}),onPointerMove:Dr(n.onPointerMove,dz(xe=>{const We=xe.target,dt=he.current!==xe.clientX;if(xe.currentTarget.contains(We)&&dt){const Ue=xe.clientX>he.current?"right":"left";K.current=Ue,he.current=xe.clientX}}))})})})})})})});kYt.displayName=Sw;var Qnr="MenuGroup",XMe=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n;return I.jsx(no.div,{role:"group",...c,ref:i})});XMe.displayName=Qnr;var err="MenuLabel",NYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n;return I.jsx(no.div,{...c,ref:i})});NYt.displayName=err;var vse="MenuItem",QFt="menu.itemSelect",eue=H.forwardRef((n,i)=>{const{disabled:s=!1,onSelect:c,...d}=n,g=H.useRef(null),b=Bz(vse,n.__scopeMenu),w=YMe(vse,n.__scopeMenu),E=hs(i,g),S=H.useRef(!1),x=()=>{const A=g.current;if(!s&&A){const C=new CustomEvent(QFt,{bubbles:!0,cancelable:!0});A.addEventListener(QFt,R=>c==null?void 0:c(R),{once:!0}),EGt(A,C),C.defaultPrevented?S.current=!1:b.onClose()}};return I.jsx(CYt,{...d,ref:E,disabled:s,onClick:Dr(n.onClick,x),onPointerDown:A=>{var C;(C=n.onPointerDown)==null||C.call(n,A),S.current=!0},onPointerUp:Dr(n.onPointerUp,A=>{var C;S.current||(C=A.currentTarget)==null||C.click()}),onKeyDown:Dr(n.onKeyDown,A=>{const C=w.searchRef.current!=="";s||C&&A.key===" "||rLe.includes(A.key)&&(A.currentTarget.click(),A.preventDefault())})})});eue.displayName=vse;var CYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,disabled:c=!1,textValue:d,...g}=n,b=YMe(vse,s),w=TYt(s),E=H.useRef(null),S=hs(i,E),[x,A]=H.useState(!1),[C,R]=H.useState("");return H.useEffect(()=>{const L=E.current;L&&R((L.textContent??"").trim())},[g.children]),I.jsx(lz.ItemSlot,{scope:s,disabled:c,textValue:d??C,children:I.jsx(vYt,{asChild:!0,...w,focusable:!c,children:I.jsx(no.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":c||void 0,"data-disabled":c?"":void 0,...g,ref:S,onPointerMove:Dr(n.onPointerMove,dz(L=>{c?b.onItemLeave(L):(b.onItemEnter(L),L.defaultPrevented||L.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Dr(n.onPointerLeave,dz(L=>b.onItemLeave(L))),onFocus:Dr(n.onFocus,()=>A(!0)),onBlur:Dr(n.onBlur,()=>A(!1))})})})}),trr="MenuCheckboxItem",IYt=H.forwardRef((n,i)=>{const{checked:s=!1,onCheckedChange:c,...d}=n;return I.jsx(MYt,{scope:n.__scopeMenu,checked:s,children:I.jsx(eue,{role:"menuitemcheckbox","aria-checked":Ese(s)?"mixed":s,...d,ref:i,"data-state":QMe(s),onSelect:Dr(d.onSelect,()=>c==null?void 0:c(Ese(s)?!0:!s),{checkForDefaultPrevented:!1})})})});IYt.displayName=trr;var RYt="MenuRadioGroup",[nrr,rrr]=LR(RYt,{value:void 0,onValueChange:()=>{}}),OYt=H.forwardRef((n,i)=>{const{value:s,onValueChange:c,...d}=n,g=q2(c);return I.jsx(nrr,{scope:n.__scopeMenu,value:s,onValueChange:g,children:I.jsx(XMe,{...d,ref:i})})});OYt.displayName=RYt;var DYt="MenuRadioItem",LYt=H.forwardRef((n,i)=>{const{value:s,...c}=n,d=rrr(DYt,n.__scopeMenu),g=s===d.value;return I.jsx(MYt,{scope:n.__scopeMenu,checked:g,children:I.jsx(eue,{role:"menuitemradio","aria-checked":g,...c,ref:i,"data-state":QMe(g),onSelect:Dr(c.onSelect,()=>{var b;return(b=d.onValueChange)==null?void 0:b.call(d,s)},{checkForDefaultPrevented:!1})})})});LYt.displayName=DYt;var ZMe="MenuItemIndicator",[MYt,irr]=LR(ZMe,{checked:!1}),PYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,forceMount:c,...d}=n,g=irr(ZMe,s);return I.jsx(kw,{present:c||Ese(g.checked)||g.checked===!0,children:I.jsx(no.span,{...d,ref:i,"data-state":QMe(g.checked)})})});PYt.displayName=ZMe;var orr="MenuSeparator",jYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n;return I.jsx(no.div,{role:"separator","aria-orientation":"horizontal",...c,ref:i})});jYt.displayName=orr;var srr="MenuArrow",FYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n,d=Qae(s);return I.jsx(iMe,{...d,...c,ref:i})});FYt.displayName=srr;var arr="MenuSub",[Wgr,$Yt]=LR(arr),oH="MenuSubTrigger",BYt=H.forwardRef((n,i)=>{const s=MR(oH,n.__scopeMenu),c=Bz(oH,n.__scopeMenu),d=$Yt(oH,n.__scopeMenu),g=YMe(oH,n.__scopeMenu),b=H.useRef(null),{pointerGraceTimerRef:w,onPointerGraceIntentChange:E}=g,S={__scopeMenu:n.__scopeMenu},x=H.useCallback(()=>{b.current&&window.clearTimeout(b.current),b.current=null},[]);return H.useEffect(()=>x,[x]),H.useEffect(()=>{const A=w.current;return()=>{window.clearTimeout(A),E(null)}},[w,E]),I.jsx(WMe,{asChild:!0,...S,children:I.jsx(CYt,{id:d.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":d.contentId,"data-state":zYt(s.open),...n,ref:zg(i,d.onTriggerChange),onClick:A=>{var C;(C=n.onClick)==null||C.call(n,A),!(n.disabled||A.defaultPrevented)&&(A.currentTarget.focus(),s.open||s.onOpenChange(!0))},onPointerMove:Dr(n.onPointerMove,dz(A=>{g.onItemEnter(A),!A.defaultPrevented&&!n.disabled&&!s.open&&!b.current&&(g.onPointerGraceIntentChange(null),b.current=window.setTimeout(()=>{s.onOpenChange(!0),x()},100))})),onPointerLeave:Dr(n.onPointerLeave,dz(A=>{var R,L;x();const C=(R=s.content)==null?void 0:R.getBoundingClientRect();if(C){const D=(L=s.content)==null?void 0:L.dataset.side,B=D==="right",$=B?-5:5,j=C[B?"left":"right"],P=C[B?"right":"left"];g.onPointerGraceIntentChange({area:[{x:A.clientX+$,y:A.clientY},{x:j,y:C.top},{x:P,y:C.top},{x:P,y:C.bottom},{x:j,y:C.bottom}],side:D}),window.clearTimeout(w.current),w.current=window.setTimeout(()=>g.onPointerGraceIntentChange(null),300)}else{if(g.onTriggerLeave(A),A.defaultPrevented)return;g.onPointerGraceIntentChange(null)}})),onKeyDown:Dr(n.onKeyDown,A=>{var R;const C=g.searchRef.current!=="";n.disabled||C&&A.key===" "||Unr[c.dir].includes(A.key)&&(s.onOpenChange(!0),(R=s.content)==null||R.focus(),A.preventDefault())})})})});BYt.displayName=oH;var UYt="MenuSubContent",HYt=H.forwardRef((n,i)=>{const s=_Yt(Sw,n.__scopeMenu),{forceMount:c=s.forceMount,...d}=n,g=MR(Sw,n.__scopeMenu),b=Bz(Sw,n.__scopeMenu),w=$Yt(UYt,n.__scopeMenu),E=H.useRef(null),S=hs(i,E);return I.jsx(lz.Provider,{scope:n.__scopeMenu,children:I.jsx(kw,{present:c||g.open,children:I.jsx(lz.Slot,{scope:n.__scopeMenu,children:I.jsx(JMe,{id:w.contentId,"aria-labelledby":w.triggerId,...d,ref:S,align:"start",side:b.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:x=>{var A;b.isUsingKeyboardRef.current&&((A=E.current)==null||A.focus()),x.preventDefault()},onCloseAutoFocus:x=>x.preventDefault(),onFocusOutside:Dr(n.onFocusOutside,x=>{x.target!==w.trigger&&g.onOpenChange(!1)}),onEscapeKeyDown:Dr(n.onEscapeKeyDown,x=>{b.onClose(),x.preventDefault()}),onKeyDown:Dr(n.onKeyDown,x=>{var R;const A=x.currentTarget.contains(x.target),C=Hnr[b.dir].includes(x.key);A&&C&&(g.onOpenChange(!1),(R=w.trigger)==null||R.focus(),x.preventDefault())})})})})})});HYt.displayName=UYt;function zYt(n){return n?"open":"closed"}function Ese(n){return n==="indeterminate"}function QMe(n){return Ese(n)?"indeterminate":n?"checked":"unchecked"}function urr(n){const i=document.activeElement;for(const s of n)if(s===i||(s.focus(),document.activeElement!==i))return}function crr(n,i){return n.map((s,c)=>n[(i+c)%n.length])}function lrr(n,i,s){const d=i.length>1&&Array.from(i).every(S=>S===i[0])?i[0]:i,g=s?n.indexOf(s):-1;let b=crr(n,Math.max(g,0));d.length===1&&(b=b.filter(S=>S!==s));const E=b.find(S=>S.toLowerCase().startsWith(d.toLowerCase()));return E!==s?E:void 0}function drr(n,i){const{x:s,y:c}=n;let d=!1;for(let g=0,b=i.length-1;g<i.length;b=g++){const w=i[g],E=i[b],S=w.x,x=w.y,A=E.x,C=E.y;x>c!=C>c&&s<(A-S)*(c-x)/(C-x)+S&&(d=!d)}return d}function frr(n,i){if(!i)return!1;const s={x:n.clientX,y:n.clientY};return drr(s,i)}function dz(n){return i=>i.pointerType==="mouse"?n(i):void 0}var hrr=AYt,prr=WMe,grr=xYt,brr=kYt,mrr=XMe,wrr=NYt,yrr=eue,vrr=IYt,Err=OYt,Srr=LYt,Trr=PYt,Arr=jYt,_rr=FYt,xrr=BYt,krr=HYt,tue="DropdownMenu",[Nrr]=xw(tue,[SYt]),Wg=SYt(),[Crr,GYt]=Nrr(tue),qYt=n=>{const{__scopeDropdownMenu:i,children:s,dir:c,open:d,defaultOpen:g,onOpenChange:b,modal:w=!0}=n,E=Wg(i),S=H.useRef(null),[x,A]=G2({prop:d,defaultProp:g??!1,onChange:b,caller:tue});return I.jsx(Crr,{scope:i,triggerId:Bh(),triggerRef:S,contentId:Bh(),open:x,onOpenChange:A,onOpenToggle:H.useCallback(()=>A(C=>!C),[A]),modal:w,children:I.jsx(hrr,{...E,open:x,onOpenChange:A,dir:c,modal:w,children:s})})};qYt.displayName=tue;var VYt="DropdownMenuTrigger",WYt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,disabled:c=!1,...d}=n,g=GYt(VYt,s),b=Wg(s);return I.jsx(prr,{asChild:!0,...b,children:I.jsx(no.button,{type:"button",id:g.triggerId,"aria-haspopup":"menu","aria-expanded":g.open,"aria-controls":g.open?g.contentId:void 0,"data-state":g.open?"open":"closed","data-disabled":c?"":void 0,disabled:c,...d,ref:zg(i,g.triggerRef),onPointerDown:Dr(n.onPointerDown,w=>{!c&&w.button===0&&w.ctrlKey===!1&&(g.onOpenToggle(),g.open||w.preventDefault())}),onKeyDown:Dr(n.onKeyDown,w=>{c||(["Enter"," "].includes(w.key)&&g.onOpenToggle(),w.key==="ArrowDown"&&g.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(w.key)&&w.preventDefault())})})})});WYt.displayName=VYt;var Irr="DropdownMenuPortal",KYt=n=>{const{__scopeDropdownMenu:i,...s}=n,c=Wg(i);return I.jsx(grr,{...c,...s})};KYt.displayName=Irr;var YYt="DropdownMenuContent",JYt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=GYt(YYt,s),g=Wg(s),b=H.useRef(!1);return I.jsx(brr,{id:d.contentId,"aria-labelledby":d.triggerId,...g,...c,ref:i,onCloseAutoFocus:Dr(n.onCloseAutoFocus,w=>{var E;b.current||(E=d.triggerRef.current)==null||E.focus(),b.current=!1,w.preventDefault()}),onInteractOutside:Dr(n.onInteractOutside,w=>{const E=w.detail.originalEvent,S=E.button===0&&E.ctrlKey===!0,x=E.button===2||S;(!d.modal||x)&&(b.current=!0)}),style:{...n.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});JYt.displayName=YYt;var Rrr="DropdownMenuGroup",Orr=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(mrr,{...d,...c,ref:i})});Orr.displayName=Rrr;var Drr="DropdownMenuLabel",XYt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(wrr,{...d,...c,ref:i})});XYt.displayName=Drr;var Lrr="DropdownMenuItem",ZYt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(yrr,{...d,...c,ref:i})});ZYt.displayName=Lrr;var Mrr="DropdownMenuCheckboxItem",QYt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(vrr,{...d,...c,ref:i})});QYt.displayName=Mrr;var Prr="DropdownMenuRadioGroup",jrr=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(Err,{...d,...c,ref:i})});jrr.displayName=Prr;var Frr="DropdownMenuRadioItem",eJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(Srr,{...d,...c,ref:i})});eJt.displayName=Frr;var $rr="DropdownMenuItemIndicator",tJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(Trr,{...d,...c,ref:i})});tJt.displayName=$rr;var Brr="DropdownMenuSeparator",nJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(Arr,{...d,...c,ref:i})});nJt.displayName=Brr;var Urr="DropdownMenuArrow",Hrr=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(_rr,{...d,...c,ref:i})});Hrr.displayName=Urr;var zrr="DropdownMenuSubTrigger",rJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(xrr,{...d,...c,ref:i})});rJt.displayName=zrr;var Grr="DropdownMenuSubContent",iJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Wg(s);return I.jsx(krr,{...d,...c,ref:i,style:{...n.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});iJt.displayName=Grr;var qrr=qYt,Vrr=WYt,Wrr=KYt,oJt=JYt,sJt=XYt,aJt=ZYt,uJt=QYt,cJt=eJt,lJt=tJt,dJt=nJt,fJt=rJt,hJt=iJt;const pJt=qrr,gJt=Vrr,Krr=H.forwardRef(({className:n,inset:i,children:s,...c},d)=>I.jsxs(fJt,{ref:d,className:Sr("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",i&&"pl-8",n),...c,children:[s,I.jsx(h8n,{className:"ml-auto"})]}));Krr.displayName=fJt.displayName;const Yrr=H.forwardRef(({className:n,...i},s)=>I.jsx(hJt,{ref:s,className:Sr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-[--radix-dropdown-menu-content-transform-origin] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in",n),...i}));Yrr.displayName=hJt.displayName;const e9e=H.forwardRef(({className:n,sideOffset:i=4,container:s,...c},d)=>I.jsx(Wrr,{container:s,children:I.jsx(oJt,{ref:d,sideOffset:i,className:Sr("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] data-[state=closed]:animate-out data-[state=open]:animate-in",n),...c})}));e9e.displayName=oJt.displayName;const iLe=H.forwardRef(({className:n,inset:i,...s},c)=>I.jsx(aJt,{ref:c,className:Sr("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",i&&"pl-8",n),...s}));iLe.displayName=aJt.displayName;const bJt=H.forwardRef(({className:n,children:i,checked:s,...c},d)=>I.jsxs(uJt,{ref:d,className:Sr("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),checked:s,...c,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(lJt,{children:I.jsx(oN,{className:"h-4 w-4"})})}),i]}));bJt.displayName=uJt.displayName;const Jrr=H.forwardRef(({className:n,children:i,...s},c)=>I.jsxs(cJt,{ref:c,className:Sr("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...s,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(lJt,{children:I.jsx(S8n,{className:"h-2 w-2 fill-current"})})}),i]}));Jrr.displayName=cJt.displayName;const Xrr=H.forwardRef(({className:n,inset:i,...s},c)=>I.jsx(sJt,{ref:c,className:Sr("px-2 py-1.5 font-semibold text-sm",i&&"pl-8",n),...s}));Xrr.displayName=sJt.displayName;const Zrr=H.forwardRef(({className:n,...i},s)=>I.jsx(dJt,{ref:s,className:Sr("-mx-1 my-1 h-px bg-muted",n),...i}));Zrr.displayName=dJt.displayName;function WM({field:n,value:i,onChange:s,entities:c,domain:d,translations:g={},error:b}){const{t:w}=ps(["common"]),E=n.name,S=n.required??!1;let x=E,A="",C="";if("label"in n)x=n.label,A=n.description||"",C=n.placeholder||"";else if(d){const P=`component.${d}.device_automation.extra_fields.${E}`,G=`component.${d}.device_automation.extra_fields_descriptions.${E}`;x=g[P]||E.split("_").map(ee=>ee.charAt(0).toUpperCase()+ee.slice(1)).join(" "),A=g[G]||"",console.log(`Field "${E}" in domain "${d}":`),console.log(` Label key: ${P} = ${g[P]||"(not found)"}`),console.log(` Desc key: ${G} = ${g[G]||"(not found)"}`),console.log(` Final label: ${x}`),console.log(` Final description: ${A}`)}else x=E.split("_").map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" "),console.log(`Field "${E}" with no domain - using formatted name: ${x}`);let R=null,L={};if("type"in n&&n.type)R=n.type;else if("selector"in n&&n.selector){const P=Object.keys(n.selector);P.length>0&&(R=P[0],L=n.selector[R]||{})}const D=typeof i=="string"?i:String(i??""),B=typeof i=="number"?i:Number(i)||void 0,$=typeof i=="boolean"?i:!!i,j=()=>{switch(R){case"text":{if("multiple"in n&&n.multiple){const G=Array.isArray(i)?i:typeof i=="string"&&i?[i]:[];return I.jsx(tLe,{values:G,onChange:s,placeholder:C||"Add value..."})}return I.jsx(Na,{type:"text",value:D,onChange:G=>s(G.target.value),placeholder:C,required:S})}case"number":return I.jsx(Na,{type:"number",value:B??"",onChange:P=>s(P.target.value?Number(P.target.value):void 0),placeholder:C,required:S});case"boolean":return I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx(J2,{checked:$,onCheckedChange:s}),I.jsx("span",{className:"text-muted-foreground text-sm",children:w($?"dynamicField.enabled":"dynamicField.disabled")})]});case"select":{let P=[];if("options"in n&&n.options){const ee=n.options;ee.length>0&&(Array.isArray(ee[0])?P=ee.map(([re,Q])=>({value:re,label:Q})):P=ee)}else L.options&&Array.isArray(L.options)&&(P=L.options);if("multiple"in n&&n.multiple||L.multiple===!0){const ee=Array.isArray(i)?i:i?[i]:[],re=()=>{var Q;return ee.length===0?C||w("dynamicField.selectItems"):ee.length===1?((Q=P.find(ie=>ie.value===ee[0]))==null?void 0:Q.label)||ee[0]:w("dynamicField.itemsSelected",{count:ee.length})};return I.jsxs(pJt,{children:[I.jsx(gJt,{asChild:!0,children:I.jsxs(Ri,{variant:"outline",className:"w-full justify-between font-normal",children:[I.jsx("span",{className:ee.length===0?"text-muted-foreground":"",children:re()}),I.jsx(nae,{className:"ml-2 h-4 w-4 opacity-50"})]})}),I.jsx(e9e,{className:"w-[var(--radix-dropdown-menu-trigger-width)]",children:P.map(Q=>{const ie=ee.includes(Q.value);return I.jsx(bJt,{checked:ie,onCheckedChange:pe=>{s(pe?[...ee,Q.value]:ee.filter(me=>me!==Q.value))},children:Q.label},Q.value)})})]})}return I.jsxs(zp,{value:D,onValueChange:s,children:[I.jsx(zh,{children:I.jsx(Gp,{placeholder:C||"Select..."})}),I.jsx(Gh,{children:P.map(ee=>I.jsx(to,{value:ee.value,children:ee.label},ee.value))})]})}case"entity":{if("multiple"in n&&n.multiple||L.multiple===!0){const G=Array.isArray(i)?i:typeof i=="string"&&i?i.split(",").map(ee=>ee.trim()):[];return I.jsx(Xae,{value:G,onChange:s,entities:c,placeholder:C||w("dynamicField.selectEntities")})}return I.jsx(yse,{value:D,onChange:s,entities:c,placeholder:C||w("dynamicField.selectEntity")})}case"zone":return I.jsx(yse,{value:D,onChange:s,entities:c,domainFilter:"zone",placeholder:C||w("dynamicField.selectZone")});case"template":return I.jsx($v,{value:D,onChange:P=>s(P.target.value),placeholder:C||w("placeholders.enterTemplate"),className:"font-mono text-sm",rows:4,required:S});case"duration":return I.jsx(fYt,{value:i??"",onChange:s});case"object":return I.jsx($v,{value:typeof i=="object"?JSON.stringify(i,null,2):D,onChange:P=>{try{s(JSON.parse(P.target.value))}catch{s(P.target.value)}},placeholder:C||w("placeholders.jsonExample"),className:"font-mono text-sm",rows:4,required:S});case"time":return I.jsx(Na,{type:"time",value:D,onChange:P=>s(P.target.value),required:S});case"date":return I.jsx(Na,{type:"date",value:D,onChange:P=>s(P.target.value),required:S});default:return I.jsx(Na,{type:"text",value:D,onChange:P=>s(P.target.value),placeholder:C||w("dynamicField.enterValue",{name:E}),required:S})}};return I.jsxs("div",{className:"space-y-2",children:[I.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[x,S&&I.jsx("span",{className:"ml-1 text-destructive",children:w("labels.requiredAsterisk")})]}),j(),I.jsx(H2,{message:b}),A&&I.jsx("p",{className:"text-muted-foreground text-xs",children:A})]})}const Qrr={state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"The entity to check"},{name:"state",label:"State",type:"text",required:!0,placeholder:"e.g., on, off, home",description:"The state value to check for"},{name:"attribute",label:"Attribute (optional)",type:"text",required:!1,placeholder:"e.g., brightness, temperature",description:"Check a specific attribute instead of the state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the condition must be true"}],numeric_state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"The sensor entity to check"},{name:"above",label:"Above (optional)",type:"number",required:!1,placeholder:"Minimum value",description:"Condition is true when value > this"},{name:"below",label:"Below (optional)",type:"number",required:!1,placeholder:"Maximum value",description:"Condition is true when value < this"},{name:"attribute",label:"Attribute (optional)",type:"text",required:!1,placeholder:"e.g., brightness, temperature",description:"Check a specific attribute instead of the state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the condition must be true"}],template:[{name:"value_template",label:"Value Template",type:"template",required:!0,placeholder:'{{ states("sensor.temperature") | float > 20 }}',description:"Template that should evaluate to true/false"}],time:[{name:"after",label:"After (optional)",type:"time",required:!1,description:"Condition is true after this time"},{name:"before",label:"Before (optional)",type:"time",required:!1,description:"Condition is true before this time"},{name:"weekday",label:"Weekday (optional)",type:"select",required:!1,multiple:!0,description:"Days of the week when condition is true",options:[{value:"mon",label:"Monday"},{value:"tue",label:"Tuesday"},{value:"wed",label:"Wednesday"},{value:"thu",label:"Thursday"},{value:"fri",label:"Friday"},{value:"sat",label:"Saturday"},{value:"sun",label:"Sunday"}]}],sun:[{name:"after",label:"After",type:"select",required:!1,description:"Condition is true after this sun event",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}]},{name:"after_offset",label:"After Offset (optional)",type:"text",required:!1,placeholder:"e.g., -00:30:00",description:"Time offset for the after event"},{name:"before",label:"Before",type:"select",required:!1,description:"Condition is true before this sun event",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}]},{name:"before_offset",label:"Before Offset (optional)",type:"text",required:!1,placeholder:"e.g., +01:00:00",description:"Time offset for the before event"}],zone:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"Person or device tracker to monitor"},{name:"zone",label:"Zone",type:"zone",required:!0,placeholder:"zone.home",description:"Zone entity to check for presence"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the entity must be in the zone"}],trigger:[{name:"id",label:"Trigger ID(s)",type:"text",required:!0,multiple:!0,placeholder:"e.g., arriving, leaving",description:"The ID(s) of the trigger(s) to match"}],device:[],and:[],or:[],not:[]};function t9e(n){return Qrr[n]||[]}function mJt(n){const i=t9e(n),s={condition:n};for(const c of i)c.default!==void 0&&(s[c.name]=c.default);return n9e(n)&&(s.conditions=[]),s}function n9e(n){return n==="and"||n==="or"||n==="not"}const eir=[{value:"state",labelKey:"nodes:conditions.types.state"},{value:"numeric_state",labelKey:"nodes:conditions.types.numeric_state"},{value:"template",labelKey:"nodes:conditions.types.template"},{value:"trigger",labelKey:"nodes:conditions.types.trigger"},{value:"zone",labelKey:"nodes:conditions.types.zone"},{value:"time",labelKey:"nodes:conditions.types.time"},{value:"sun",labelKey:"nodes:conditions.types.sun"},{value:"and",labelKey:"nodes:conditions.types.and"},{value:"or",labelKey:"nodes:conditions.types.or"},{value:"not",labelKey:"nodes:conditions.types.not"}];function tir({cond:n,onUpdate:i,entities:s}){const c=n.condition||"state",d=t9e(c);return d.length===0?null:I.jsx("div",{className:"space-y-2",children:d.map(g=>I.jsx(WM,{field:g,value:n[g.name],onChange:b=>i({...n,[g.name]:b}),entities:s},g.name))})}function nir({cond:n,onUpdate:i,onRemove:s,entities:c,depth:d}){const g=n.condition||"state",b=n9e(g),{t:w}=ps(["common","nodes","panels"]),E=S=>{i(mJt(S))};return I.jsxs("div",{className:Sr("space-y-3 rounded-md border bg-card p-3",d>0&&"bg-muted/30"),children:[I.jsxs("div",{className:"flex items-center justify-between gap-2",children:[I.jsxs(zp,{value:n.condition||"state",onValueChange:E,children:[I.jsx(zh,{className:"w-full max-w-[180px]",children:I.jsx(Gp,{})}),I.jsx(Gh,{children:eir.map(S=>I.jsx(to,{value:S.value,children:w(S.labelKey)},S.value))})]}),I.jsx(Ri,{size:"icon",variant:"ghost",onClick:s,className:"h-8 w-8 shrink-0 text-muted-foreground hover:text-destructive",children:I.jsx(PM,{className:"h-4 w-4"})})]}),b?I.jsx(wJt,{conditions:n.conditions||[],onChange:S=>i({...n,conditions:S}),parentType:n.condition,depth:d+1}):I.jsx(tir,{cond:n,onUpdate:i,entities:c})]})}const wJt=H.memo(function({conditions:i,onChange:s,depth:c=0}){const{hass:d}=pb(),g=d?Object.values(d.states):[],{t:b}=ps(["common","nodes","panels"]),w=()=>{s([...i,{condition:"state",entity_id:"",state:""}])},E=x=>{s(i.filter((A,C)=>C!==x))},S=(x,A)=>{s(i.map((C,R)=>R===x?A:C))};return I.jsxs("div",{className:Sr("space-y-2",c>0&&"border-muted border-l-2 pl-2"),children:[i.length===0?I.jsx("p",{className:"py-2 text-muted-foreground text-xs italic",children:b("panels:conditionGroupEditor.noConditions")}):i.map((x,A)=>I.jsx(nir,{cond:x,onUpdate:C=>S(A,C),onRemove:()=>E(A),entities:g,depth:c},A)),I.jsxs(Ri,{size:"sm",variant:"outline",onClick:w,className:"w-full",children:[I.jsx(iae,{className:"mr-1 h-4 w-4"}),b("panels:conditionGroupEditor.addCondition")]})]})});function yJt({value:n,onChange:i,label:s="",required:c=!1,placeholder:d=""}){const{t:g}=ps(["common"]),{hass:b}=pb(),[w,E]=H.useState(n);H.useEffect(()=>{E(n)},[n]);const S=(b==null?void 0:b.devices)??{},x=Object.keys(S).length>0,A=n&&x&&!S[n],C=()=>{if(!n)return;const R=S[n];return R?R.name_by_user||R.name||R.id:n};return I.jsx(Po,{label:s||g("labels.device"),required:c,children:x?I.jsxs(zp,{value:n,onValueChange:i,children:[I.jsx(zh,{className:A?"font-mono text-red-600":void 0,children:I.jsx(Gp,{placeholder:d||g("placeholders.selectDevice"),children:C()})}),I.jsx(Gh,{children:Object.values(S).map(R=>I.jsx(to,{value:R.id,children:R.name_by_user||R.name||R.id},R.id))})]}):I.jsxs(I.Fragment,{children:[I.jsx(Na,{type:"text",value:w,onChange:R=>{E(R.target.value),i(R.target.value)},placeholder:g("deviceSelector.enterId")}),I.jsx("p",{className:"text-muted-foreground text-xs",children:g("deviceSelector.noDevices")})]})})}function rir({node:n,onChange:i}){const s=jh(n,"device_id"),c=jh(n,"domain"),d=jh(n,"type");return I.jsxs(I.Fragment,{children:[I.jsx(yJt,{value:s,onChange:g=>i("device_id",g),label:"Device",required:!0,placeholder:"Select device..."}),I.jsx(Po,{label:"Domain",required:!0,description:"Device integration domain",children:I.jsx(Na,{type:"text",value:c,onChange:g=>i("domain",g.target.value),placeholder:"e.g., binary_sensor, sensor"})}),I.jsx(Po,{label:"Type",required:!0,description:"Device condition type",children:I.jsx(Na,{type:"text",value:d,onChange:g=>i("type",g.target.value),placeholder:"e.g., button_short_press"})})]})}function iir({node:n,onChange:i,entities:s}){const{t:c}=ps(["common","nodes"]),{getFieldError:d}=gb(n.id),g=jh(n,"condition","state"),b=n.data,w=Array.isArray(b.conditions)&&b.conditions.length>0,E=n9e(g),S=A=>{const C=mJt(A);for(const[R,L]of Object.entries(C))i(R,L)},x=()=>g==="device"?I.jsx(rir,{node:n,onChange:i}):E?null:t9e(g).map(C=>I.jsx(WM,{field:C,value:b[C.name],onChange:R=>i(C.name,R),entities:s,error:d(C.name)},C.name));return I.jsxs(I.Fragment,{children:[I.jsx(Po,{label:c("nodes:conditions.conditionLabel"),required:!0,children:I.jsxs(zp,{value:g,onValueChange:S,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"state",children:c("nodes:conditions.types.state")}),I.jsx(to,{value:"numeric_state",children:c("nodes:conditions.types.numeric_state")}),I.jsx(to,{value:"template",children:c("nodes:conditions.types.template")}),I.jsx(to,{value:"time",children:c("nodes:conditions.types.time")}),I.jsx(to,{value:"sun",children:c("nodes:conditions.types.sun")}),I.jsx(to,{value:"zone",children:c("nodes:conditions.types.zone")}),I.jsx(to,{value:"device",children:c("nodes:conditions.types.device")}),I.jsx(to,{value:"trigger",children:c("nodes:conditions.types.trigger")}),I.jsx(to,{value:"and",children:c("nodes:conditions.types.and")}),I.jsx(to,{value:"or",children:c("nodes:conditions.types.or")}),I.jsx(to,{value:"not",children:c("nodes:conditions.types.not")})]})]})}),x(),(E||w)&&I.jsx(Po,{label:c("nodes:conditions.nestedConditions"),children:I.jsx(wJt,{conditions:b.conditions||[],onChange:A=>i("conditions",A),parentType:E?g:"and"})})]})}function oir({node:n,onChange:i}){const{getFieldError:s}=gb(n.id);return I.jsxs(I.Fragment,{children:[I.jsx(hYt,{label:"Delay",value:n.data.delay,onChange:c=>i("delay",c)}),I.jsx(H2,{message:s("delay")})]})}function sir({node:n,onChange:i}){const{t:s}=ps(["nodes"]),{getFieldError:c}=gb(n.id),d=N5(n,"variables",{}),g=Object.entries(d),b=()=>{const x=Object.keys(d);let A="variable",C=1;for(;x.includes(A);)A=`variable_${C}`,C++;i("variables",{...d,[A]:""})},w=(x,A)=>{if(x===A)return;const C={};for(const[R,L]of Object.entries(d))R===x?C[A]=L:C[R]=L;i("variables",C)},E=(x,A)=>{i("variables",{...d,[x]:A})},S=x=>{const A={...d};delete A[x],i("variables",A)};return I.jsxs("div",{className:"space-y-4",children:[I.jsx(H2,{message:c("variables")}),g.length===0?I.jsx("p",{className:"text-muted-foreground text-sm",children:s("nodes:setVariablesFields.empty")}):g.map(([x,A],C)=>I.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-3",children:[I.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[I.jsx("span",{className:"font-medium text-muted-foreground text-xs",children:s("nodes:setVariablesFields.variableLabel",{index:C+1})}),I.jsx(Ri,{variant:"ghost",size:"sm",onClick:()=>S(x),className:"h-6 w-6 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(PM,{className:"h-3.5 w-3.5"})})]}),I.jsxs("div",{className:"space-y-3",children:[I.jsx(Po,{label:s("nodes:setVariablesFields.name"),children:I.jsx(Na,{value:x,onChange:R=>w(x,R.target.value),placeholder:s("nodes:setVariablesFields.namePlaceholder"),className:"font-mono text-sm"})}),I.jsx(Po,{label:s("nodes:setVariablesFields.value"),description:s("nodes:setVariablesFields.valueDescription"),children:I.jsx($v,{value:String(A??""),onChange:R=>E(x,R.target.value),placeholder:s("nodes:setVariablesFields.valuePlaceholder"),className:"font-mono text-sm"})})]})]},`${x}-${C}`)),I.jsxs(Ri,{variant:"outline",onClick:b,className:"w-full gap-2",size:"sm",children:[I.jsx(iae,{className:"h-4 w-4"}),s("nodes:setVariablesFields.addVariable")]})]})}const vJt={state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,multiple:!0,description:"The entity to monitor for state changes"},{name:"to",label:"To State",type:"text",required:!1,placeholder:"e.g., on, off, home",description:"The target state to trigger on"},{name:"from",label:"From State",type:"text",required:!1,placeholder:"e.g., off",description:"Only trigger when transitioning from this state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"State must be stable for this duration"}],numeric_state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,multiple:!0,description:"The sensor entity to monitor"},{name:"above",label:"Above",type:"number",required:!1,placeholder:"e.g., 20",description:"Trigger when value goes above this threshold"},{name:"below",label:"Below",type:"number",required:!1,placeholder:"e.g., 30",description:"Trigger when value goes below this threshold"},{name:"value_template",label:"Value Template (optional)",type:"template",required:!1,placeholder:"e.g., {{ state.attributes.temperature }}",description:"Template to extract numeric value from entity"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"Value must be stable for this duration"}],time:[{name:"at",label:"At (time)",type:"text",required:!0,placeholder:"e.g., 07:00:00 or input_datetime.wake_up",description:"Time to trigger (HH:MM:SS or entity reference)"}],time_pattern:[{name:"hours",label:"Hours",type:"text",required:!1,placeholder:"e.g., */2 (every 2 hours)",description:"Hour pattern (cron-style)"},{name:"minutes",label:"Minutes",type:"text",required:!1,placeholder:"e.g., /5 (every 5 minutes)",description:"Minute pattern (cron-style)"},{name:"seconds",label:"Seconds",type:"text",required:!1,placeholder:"e.g., 0",description:"Second pattern (cron-style)"}],event:[{name:"event_type",label:"Event Type",type:"text",required:!0,placeholder:"e.g., zha_event, call_service",description:"The type of event to listen for"},{name:"event_data",label:"Event Data (optional)",type:"object",required:!1,description:"Filter events by data fields (JSON object)"}],mqtt:[{name:"topic",label:"Topic",type:"text",required:!0,placeholder:"e.g., home/bedroom/temperature",description:"MQTT topic to subscribe to"},{name:"payload",label:"Payload (optional)",type:"text",required:!1,placeholder:"e.g., ON",description:"Only trigger on this specific payload"}],webhook:[{name:"webhook_id",label:"Webhook ID",type:"text",required:!0,placeholder:"e.g., my_webhook",description:"Unique identifier for this webhook"}],sun:[{name:"event",label:"Event",type:"select",required:!0,description:"Trigger at sunrise or sunset",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}],default:"sunset"},{name:"offset",label:"Offset (optional)",type:"text",required:!1,placeholder:"e.g., -00:30:00",description:"Time offset before (-) or after (+) the event"}],zone:[{name:"entity_id",label:"Person/Device",type:"entity",required:!0,multiple:!0,description:"The person or device tracker to monitor"},{name:"zone",label:"Zone",type:"zone",required:!0,placeholder:"e.g., zone.home",description:"The zone entity to monitor"},{name:"event",label:"Event",type:"select",required:!0,description:"Trigger on enter or leave",options:[{value:"enter",label:"Enter"},{value:"leave",label:"Leave"}],default:"enter"}],template:[{name:"value_template",label:"Value Template",type:"template",required:!0,placeholder:'e.g., {{ is_state("light.bedroom", "on") }}',description:"Template that evaluates to true/false"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"Template must be true for this duration"}],homeassistant:[{name:"event",label:"Event",type:"select",required:!0,description:"Home Assistant lifecycle event",options:[{value:"start",label:"Start"},{value:"shutdown",label:"Shutdown"}],default:"start"}],device:[]};function nue(n){return vJt[n]||[]}function air(n){const i=nue(n),s={trigger:n};for(const c of i)c.default!==void 0&&(s[c.name]=c.default);return s}function uir(){const{hass:n}=pb(),i=H.useCallback(async c=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),[];try{return await n.callWS({type:"device_automation/trigger/list",device_id:c})||[]}catch(d){throw console.error("Failed to fetch device triggers:",d),d}},[n]),s=H.useCallback(async c=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),{extra_fields:[]};try{return await n.callWS({type:"device_automation/trigger/capabilities",trigger:c})||{extra_fields:[]}}catch(d){throw console.error("Failed to fetch trigger capabilities:",d),d}},[n]);return{getDeviceTriggers:i,getTriggerCapabilities:s}}const cir=Su({resources:yf(Jt(),Du()).transform(n=>{const i={};for(const[s,c]of Object.entries(n))typeof c=="string"&&(i[s]=c);return i})});function lir(){const{hass:n}=pb(),[i,s]=H.useState({}),[c,d]=H.useState(!0),g=H.useMemo(()=>{const w=n==null?void 0:n.resources;if(!w||Object.keys(w).length===0)return{};const E=Object.values(w)[0];if(typeof E=="string")return w;if(typeof E=="object"&&E!==null){const S={};for(const x of Object.values(w))typeof x=="object"&&x!==null&&Object.assign(S,x);return S}return{}},[n==null?void 0:n.resources]);return H.useEffect(()=>{if(!n){d(!1);return}(async()=>{d(!0);try{const E=await n.callWS({type:"frontend/get_translations",language:navigator.language.split("-")[0]||"en",category:"device_automation"}),S=cir.safeParse(E);S.success&&s(S.data.resources)}catch{}finally{d(!1)}})()},[n]),{translations:H.useMemo(()=>({...g,...i}),[g,i]),isLoading:c}}function WOe(n){const i=[n.type];return n.subtype&&i.push(n.subtype),n.entity_id&&i.push(n.entity_id),i.join("::")}function dir(n,i){const s=`component.${n.domain}.device_automation.trigger_type.${n.type}`,c=i[s]??n.type;if(n.subtype){const d=`component.${n.domain}.device_automation.trigger_subtype.${n.subtype}`,g=i[d]??n.subtype;return`${c}: ${g}`}return c}function fir({node:n,onChange:i,entities:s}){const{t:c}=ps(["common","nodes","errors"]),{getDeviceTriggers:d,getTriggerCapabilities:g}=uir(),{translations:b}=lir(),[w,E]=H.useState([]),[S,x]=H.useState([]),[A,C]=H.useState(!1),R=jh(n,"device_id"),L=jh(n,"type"),D=jh(n,"domain"),B=jh(n,"entity_id"),$=jh(n,"subtype"),j=(()=>{const P=[L].filter(Boolean);return $&&P.push($),B&&P.push(B),P.join("::")})();return H.useEffect(()=>{if(!R){E([]);return}C(!0),d(R).then(P=>{E(P)}).catch(P=>{console.error(c("errors:api.loadDeviceTriggersFailed"),P),E([])}).finally(()=>{C(!1)})},[R,d,c]),H.useEffect(()=>{if(!R||!L){x([]);return}const P=w.find(G=>G.type===L&&G.domain===D&&(G.subtype??"")===($??"")&&(G.entity_id??"")===(B??""));if(!P){x([]);return}g(P).then(G=>{x(G.extra_fields||[])}).catch(G=>{console.error(c("errors:api.loadTriggerCapabilitiesFailed"),G),x([])})},[R,L,$,B,D,w,g,c]),I.jsxs(I.Fragment,{children:[I.jsx(yJt,{value:R,onChange:P=>i("device_id",P),label:c("labels.device"),required:!0,placeholder:c("placeholders.selectDevice")}),R&&w.length>0?I.jsx(Po,{label:c("labels.triggerType"),required:!0,children:I.jsxs(zp,{value:j,onValueChange:P=>{const G=w.find(ee=>WOe(ee)===P);G&&(i("type",G.type),i("domain",G.domain),i("subtype",G.subtype??void 0),i("entity_id",G.entity_id??void 0))},children:[I.jsx(zh,{children:I.jsx(Gp,{placeholder:c("placeholders.selectTriggerType")})}),I.jsx(Gh,{children:w.map(P=>I.jsx(to,{value:WOe(P),children:dir(P,b)},WOe(P)))})]})}):R&&L&&I.jsx(Po,{label:"Trigger Type",children:I.jsxs("div",{className:"truncate rounded-md border bg-muted px-3 py-2 font-mono text-sm",children:[L,$&&I.jsxs("span",{className:"text-muted-foreground",children:[" · ",$]}),D&&I.jsxs("span",{className:"text-muted-foreground",children:[" ",`(${D})`]})]})}),A&&I.jsx("div",{className:"text-muted-foreground text-sm",children:c("status.loadingTriggers")}),S.map(P=>I.jsx(WM,{field:P,value:n.data[P.name],onChange:G=>i(P.name,G),entities:s,domain:D,translations:b},P.name))]})}const hir={light:["on","off","unavailable"],switch:["on","off","unavailable"],binary_sensor:["on","off","unavailable"],input_boolean:["on","off"],cover:["open","closed","opening","closing","unavailable"],lock:["locked","unlocked","locking","unlocking","unavailable"],alarm_control_panel:["disarmed","armed_home","armed_away","armed_night","armed_vacation","armed_custom_bypass","pending","arming","disarming","triggered","unavailable"],climate:["heat","cool","heat_cool","auto","dry","fan_only","off","unavailable"],fan:["on","off","unavailable"],media_player:["playing","paused","idle","off","on","standby","buffering","unavailable"],vacuum:["cleaning","docked","paused","idle","returning","error","unavailable"],person:["home","not_home","unavailable"],device_tracker:["home","not_home","unavailable"],water_heater:["electric","gas","heat_pump","eco","performance","high_demand","off","unavailable"],humidifier:["on","off","unavailable"],update:["on","off","unavailable"]},EJt=["on","off","unavailable","unknown"];function pir(n,i){const s=i.find(b=>b.entity_id===n),c=n.split(".")[0],d=hir[c]??EJt,g=new Set(d);return s!=null&&s.state?[s.state,...d.filter(b=>b!==s.state)]:Array.from(g)}function e$t({value:n,onChange:i,suggestions:s,placeholder:c}){const{t:d}=ps(["common"]),[g,b]=H.useState(!1),[w,E]=H.useState(""),S=H.useMemo(()=>w?s.filter(C=>C.toLowerCase().includes(w.toLowerCase())):s,[w,s]),x=w&&!s.includes(w),A=C=>{i(C===n?"":C),b(!1),E("")};return I.jsxs(sMe,{open:g,onOpenChange:b,children:[I.jsx(Wqt,{asChild:!0,children:I.jsxs(Ri,{variant:"outline",role:"combobox","aria-expanded":g,className:Sr("flex w-full justify-between",!n&&"text-muted-foreground"),children:[I.jsx("span",{className:"truncate",children:n||c}),I.jsx(cGt,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),I.jsx(Tae,{className:"w-[286px] p-0",children:I.jsxs(fae,{shouldFilter:!1,children:[I.jsx(hae,{placeholder:c,value:w,onValueChange:E}),I.jsxs(pae,{children:[S.length===0&&!x&&I.jsx(gae,{children:d("combobox.noOptions")}),x&&I.jsx(ez,{children:I.jsxs(tz,{value:w,onSelect:A,children:[I.jsx("span",{className:"text-muted-foreground text-xs mr-2",children:d("stateTrigger.useValue")}),I.jsx("span",{className:"font-mono",children:w}),I.jsx(oN,{className:Sr("ml-auto h-4 w-4",n===w?"opacity-100":"opacity-0")})]})}),S.length>0&&I.jsx(ez,{children:S.map(C=>I.jsxs(tz,{value:C,onSelect:A,children:[I.jsx("span",{className:"font-mono",children:C}),I.jsx(oN,{className:Sr("ml-auto h-4 w-4",n===C?"opacity-100":"opacity-0")})]},C))})]})]})})]})}function gir({node:n,onChange:i,entities:s}){const{t:c}=ps(["nodes","common"]),{getFieldError:d}=gb(n.id),{entities:g}=pb(),b=s.length>0?s:g,w=n.data.entity_id,E=Array.isArray(w)?w:typeof w=="string"&&w?[w]:[],S=jh(n,"to"),x=jh(n,"from"),A=H.useMemo(()=>{if(E.length===0)return EJt;const R=new Set;for(const L of E)for(const D of pir(L,b))R.add(D);return Array.from(R)},[E,b]),C=nue("state").find(R=>R.name==="for");return I.jsxs(I.Fragment,{children:[I.jsxs(Po,{label:c("nodes:triggers.fields.entityId"),required:!0,children:[I.jsx(Xae,{value:E,onChange:R=>i("entity_id",R),entities:b,placeholder:c("common:placeholders.selectEntity")}),I.jsx(H2,{message:d("entity_id")})]}),I.jsx(Po,{label:c("nodes:triggers.fields.toState"),children:I.jsx(e$t,{value:S,onChange:R=>i("to",R||void 0),suggestions:A,placeholder:c("nodes:triggers.fields.toStatePlaceholder")})}),I.jsx(Po,{label:c("nodes:triggers.fields.fromState"),children:I.jsx(e$t,{value:x,onChange:R=>i("from",R||void 0),suggestions:A,placeholder:c("nodes:triggers.fields.fromStatePlaceholder")})}),C&&I.jsx(WM,{field:C,value:n.data[C.name],onChange:R=>i(C.name,R),entities:b,error:d(C.name)})]})}function bir({node:n,onChange:i,entities:s}){const{t:c}=ps(["nodes"]),{getFieldError:d}=gb(n.id),g=jh(n,"trigger","state"),b=jh(n,"device_id"),w=b&&g!=="device"?"device":g;H.useEffect(()=>{b&&g!=="device"&&i("trigger","device")},[b,g,i]);const E=S=>{const x=air(S);for(const[A,C]of Object.entries(x))i(A,C);S!=="device"&&b&&i("device_id",void 0)};return I.jsxs(I.Fragment,{children:[I.jsx(Po,{label:c("nodes:triggers.platformLabel"),required:!0,children:I.jsxs(zp,{value:w,onValueChange:E,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"state",children:c("nodes:triggers.platforms.state")}),I.jsx(to,{value:"numeric_state",children:c("nodes:triggers.platforms.numeric_state")}),I.jsx(to,{value:"time",children:c("nodes:triggers.platforms.time")}),I.jsx(to,{value:"time_pattern",children:c("nodes:triggers.platforms.time_pattern")}),I.jsx(to,{value:"sun",children:c("nodes:triggers.platforms.sun")}),I.jsx(to,{value:"event",children:c("nodes:triggers.platforms.event")}),I.jsx(to,{value:"mqtt",children:c("nodes:triggers.platforms.mqtt")}),I.jsx(to,{value:"webhook",children:c("nodes:triggers.platforms.webhook")}),I.jsx(to,{value:"zone",children:c("nodes:triggers.platforms.zone")}),I.jsx(to,{value:"template",children:c("nodes:triggers.platforms.template")}),I.jsx(to,{value:"homeassistant",children:c("nodes:triggers.platforms.homeassistant")}),I.jsx(to,{value:"device",children:c("nodes:triggers.platforms.device")})]})]})}),I.jsx(mir,{effectiveTriggerType:w,deviceId:b,node:n,onChange:i,entities:s,getFieldError:d})]})}function mir({effectiveTriggerType:n,deviceId:i,node:s,onChange:c,entities:d,getFieldError:g}){return n==="device"||i?I.jsx(fir,{node:s,onChange:c,entities:d}):n==="state"?I.jsx(gir,{node:s,onChange:c,entities:d}):nue(n).map(w=>I.jsx(WM,{field:w,value:s.data[w.name],onChange:E=>c(w.name,E),entities:d,error:g(w.name)},w.name))}function wir({node:n,onChange:i}){const{t:s}=ps(["nodes"]),{getFieldError:c,getRootError:d}=gb(n.id),g=jh(n,"wait_template"),b=VMe(n,"wait_for_trigger"),w=b!==void 0?"trigger":"template",E=d(),S=R=>{R==="template"?(i("wait_for_trigger",void 0),i("wait_template","")):(i("wait_template",void 0),i("wait_for_trigger",[{trigger:"state"}]))},x=(R,L,D)=>{if(!b)return;const B=[...b];B[R]={...B[R],[L]:D},i("wait_for_trigger",B)},A=()=>{const R=[...b||[],{trigger:"state"}];i("wait_for_trigger",R)},C=R=>{if(!b)return;const L=b.filter((D,B)=>B!==R);i("wait_for_trigger",L)};return I.jsxs(I.Fragment,{children:[I.jsx(H2,{message:E}),I.jsx(Po,{label:s("nodes:wait.waitType"),description:s("nodes:wait.waitTypeDescription"),children:I.jsxs(zp,{value:w,onValueChange:S,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"template",children:s("nodes:wait.types.template")}),I.jsx(to,{value:"trigger",children:s("nodes:wait.types.triggers")})]})]})}),w==="template"&&I.jsxs(Po,{label:s("nodes:wait.waitTemplate"),required:!0,description:s("nodes:wait.waitTemplateDescription"),children:[I.jsx($v,{value:g||"",onChange:R=>i("wait_template",R.target.value),className:"font-mono",rows:3,placeholder:s("nodes:placeholders.waitTemplate")}),I.jsx(H2,{message:c("wait_template")})]}),w==="trigger"&&I.jsxs("div",{className:"space-y-4",children:[I.jsx(H2,{message:c("wait_for_trigger")}),I.jsxs("div",{className:"space-y-2",children:[I.jsx("h3",{className:"font-medium",children:s("nodes:wait.triggersHeading")}),b==null?void 0:b.map((R,L)=>I.jsxs("div",{className:"space-y-3 rounded-md border p-3",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("p",{className:"font-semibold text-sm capitalize",children:s("nodes:wait.triggerLabel",{index:L+1,platform:R.trigger})}),I.jsx(Ri,{variant:"ghost",size:"sm",onClick:()=>C(L),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(PM,{})})]}),I.jsx(Po,{label:s("nodes:wait.triggerPlatformLabel","Platform"),children:I.jsxs(zp,{value:R.trigger,onValueChange:D=>x(L,"trigger",D),children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsx(Gh,{children:Object.keys(vJt).map(D=>I.jsx(to,{value:D,children:D},D))})]})}),nue(R.trigger).map(D=>I.jsx(WM,{field:D,value:R[D.name],onChange:B=>x(L,D.name,B)},D.name))]},L))]}),I.jsx(Ri,{onClick:A,variant:"outline",size:"sm",children:s("nodes:wait.addTrigger")})]}),I.jsx(hYt,{label:s("nodes:wait.timeoutLabel"),description:s("nodes:wait.timeoutDescription"),value:n.data.timeout??"",onChange:R=>i("timeout",R||void 0)}),n.data.timeout&&I.jsx(Po,{label:s("nodes:wait.continueOnTimeout"),description:s("nodes:wait.continueOnTimeoutDescription"),children:I.jsx(J2,{checked:n.data.continue_on_timeout??!0,onCheckedChange:R=>i("continue_on_timeout",R)})})]})}function yir({node:n,onChange:i,entities:s}){switch(n.type){case"trigger":return I.jsx(bir,{node:n,onChange:i,entities:s});case"condition":return I.jsx(iir,{node:n,onChange:i,entities:s});case"action":return I.jsx(Snr,{node:n,onChange:i,entities:s});case"delay":return I.jsx(oir,{node:n,onChange:i});case"wait":return I.jsx(wir,{node:n,onChange:i});case"set_variables":return I.jsx(sir,{node:n,onChange:i});default:return null}}const oLe={key:"",value:"",type:"string",isAdding:!1};function vir(n,i){switch(i.type){case"setKey":return{...n,key:i.payload};case"setValue":return{...n,value:i.payload};case"setType":return{...n,type:i.payload};case"startAdding":return{...n,isAdding:!0};case"cancelAdding":return{...oLe};case"reset":return{...oLe};default:return n}}function Eir(n,i){switch(i){case"number":{const s=Number(n);if(Number.isNaN(s))throw new Error("Invalid number value");return s}case"boolean":return n.toLowerCase()==="true";case"array":try{const s=JSON.parse(n);if(!Array.isArray(s))throw new Error("Not an array");return s}catch{throw new Error("Invalid JSON array format")}default:return n}}function Sir(n){const[i,s]=H.useReducer(vir,oLe);return{state:i,setKey:d=>s({type:"setKey",payload:d}),setValue:d=>s({type:"setValue",payload:d}),setType:d=>s({type:"setType",payload:d}),startAdding:()=>s({type:"startAdding"}),cancelAdding:()=>s({type:"cancelAdding"}),handleAdd:()=>{if(!i.key.trim())throw new Error("Property name is required");const d=Eir(i.value,i.type);n(i.key,d),s({type:"reset"})}}}function Tir({node:n,handledProperties:i,onChange:s,onDelete:c}){const{t:d}=ps(["common","nodes","errors"]),b=Sir((x,A)=>{s(x,A)}),w=n.data,E=Object.entries(w).filter(([x,A])=>!i.has(x)&&A!==void 0&&A!==null&&A!=="");if(E.length===0&&!b.state.isAdding)return null;const S=()=>{try{b.handleAdd()}catch(x){alert(x instanceof Error?x.message:d("errors:properties.addFailed"))}};return I.jsxs("div",{className:"space-y-3",children:[I.jsx("div",{className:"border-t pt-3",children:I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:d("nodes:panel.additionalProperties")}),I.jsxs(Ri,{variant:"ghost",size:"sm",onClick:b.startAdding,className:"h-6 px-2 text-xs",children:[I.jsx(iae,{className:"mr-1 h-3 w-3"}),d("buttons.add")]})]})}),b.state.isAdding&&I.jsxs("div",{className:"space-y-2 rounded border p-3",children:[I.jsx(Po,{label:d("nodes:panel.propertyName"),required:!0,children:I.jsx(Na,{type:"text",value:b.state.key,onChange:x=>b.setKey(x.target.value),placeholder:d("nodes:placeholders.customProperty")})}),I.jsx(Po,{label:d("nodes:panel.type"),children:I.jsxs(zp,{value:b.state.type,onValueChange:x=>b.setType(x),children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"string",children:d("nodes:triggers.dataTypes.string")}),I.jsx(to,{value:"number",children:d("nodes:triggers.dataTypes.number")}),I.jsx(to,{value:"boolean",children:d("nodes:triggers.dataTypes.boolean")}),I.jsx(to,{value:"array",children:d("nodes:triggers.dataTypes.json")})]})]})}),I.jsx(Po,{label:d("nodes:panel.value"),children:b.state.type==="boolean"?I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx(J2,{checked:b.state.value==="true",onCheckedChange:x=>b.setValue(x?"true":"false")}),I.jsx(ll,{className:"text-sm",children:b.state.value==="true"?d("boolean.true"):d("boolean.false")})]}):b.state.type==="array"?I.jsx($v,{value:b.state.value,onChange:x=>b.setValue(x.target.value),placeholder:d("nodes:placeholders.jsonArray"),className:"font-mono",rows:2}):I.jsx(Na,{type:b.state.type==="number"?"number":"text",value:b.state.value,onChange:x=>b.setValue(x.target.value),placeholder:b.state.type==="number"?d("nodes:placeholders.number"):d("nodes:placeholders.enterValue")})}),I.jsxs("div",{className:"flex justify-end gap-2",children:[I.jsx(Ri,{variant:"ghost",size:"sm",onClick:b.cancelAdding,children:d("buttons.cancel")}),I.jsx(Ri,{size:"sm",onClick:S,children:d("nodes:panel.addProperty")})]})]}),E.map(([x,A])=>I.jsx(Air,{name:x,value:A,onChange:C=>s(x,C),onDelete:()=>c(x)},x))]})}function Air({name:n,value:i,onChange:s,onDelete:c}){const{t:d}=ps(["common","nodes"]);return I.jsxs("div",{className:"space-y-2",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs capitalize",children:n.replace(/_/g," ")}),I.jsx(Ri,{variant:"ghost",size:"sm",onClick:c,className:"h-6 w-6 p-0 text-destructive hover:bg-destructive/10",children:I.jsx(PM,{className:"h-3 w-3"})})]}),typeof i=="boolean"?I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx(J2,{checked:i,onCheckedChange:g=>s(g)}),I.jsx(ll,{className:"text-sm",children:d(i?"boolean.true":"boolean.false")})]}):Array.isArray(i)?I.jsx($v,{value:JSON.stringify(i,null,2),onChange:g=>{try{const b=JSON.parse(g.target.value);s(b)}catch{}},className:"font-mono",rows:Math.min(i.length+1,4),placeholder:d("nodes:placeholders.jsonArray")}):typeof i=="object"?I.jsx($v,{value:JSON.stringify(i,null,2),onChange:g=>{try{const b=JSON.parse(g.target.value);s(b)}catch{}},className:"font-mono",rows:4,placeholder:d("nodes:placeholders.jsonObject")}):I.jsx(Na,{type:"text",value:String(i),onChange:g=>{const b=g.target.value;if(typeof i=="number"){const w=Number(b);Number.isNaN(w)||s(w)}else s(b)},placeholder:d("nodes:placeholders.enterType",{type:typeof i})})]})}function _ir(){const{t:n}=ps(["common","nodes"]),i=Do(R=>R.selectedNodeId),s=Do(R=>R.nodes),c=Do(R=>R.updateNodeData),d=Do(R=>R.removeNode),{hass:g,entities:b}=pb(),w=H.useMemo(()=>g!=null&&g.states&&Object.keys(g.states).length>0?Object.values(g.states).map(R=>({entity_id:R.entity_id,state:R.state,attributes:R.attributes||{},last_changed:R.last_changed||"",last_updated:R.last_updated||"",context:R.context})):b,[g,b]),E=H.useMemo(()=>s.find(R=>R.id===i),[s,i]),S=H.useMemo(()=>{if(!E)return JFt("trigger",[]);const R=JFt(E.type||"trigger",[]),L=E.data,D=typeof L.trigger=="string"?L.trigger:"",B=typeof L.device_id=="string"?L.device_id:"";if((D==="device"||B)&&(E.type==="trigger"||E.type==="condition")){const j=Object.keys(L);return new Set([...R,...j])}return R},[E]),{getFieldError:x}=gb((E==null?void 0:E.id)??"");if(!E)return I.jsx(pnr,{});const A=(R,L)=>{c(E.id,{[R]:L})},C=R=>{c(E.id,{[R]:void 0})};return I.jsxs("div",{className:"h-full flex-1 space-y-4 overflow-y-auto p-4",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsxs("h3",{className:"font-semibold text-foreground text-sm",children:[E.type?n(`nodes:types.${E.type}`):n("nodes:types.node")," ",n("nodes:panel.properties")]}),I.jsx(Ri,{variant:"ghost",size:"sm",onClick:()=>d(E.id),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(PM,{className:"h-4 w-4"})})]}),I.jsx(Po,{label:n("labels.alias"),children:I.jsx(Na,{type:"text",value:typeof E.data.alias=="string"?E.data.alias:"",onChange:R=>A("alias",R.target.value),placeholder:n("placeholders.optionalDisplayName")})}),E.type==="trigger"&&I.jsxs(Po,{label:n("labels.id"),children:[I.jsx(Na,{type:"text",value:typeof E.data.id=="string"?E.data.id:"",onChange:R=>A("id",R.target.value||void 0),placeholder:n("placeholders.optionalUniqueId"),className:"font-mono"}),I.jsx(H2,{message:x("id")})]}),I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx(ll,{htmlFor:"node-enabled",className:"text-sm",children:n("labels.enabled")}),I.jsx(J2,{id:"node-enabled",checked:E.data.enabled!==!1,onCheckedChange:R=>A("enabled",R?void 0:!1)})]}),I.jsx(Pz,{}),I.jsx(yir,{node:E,onChange:A,entities:w}),I.jsx(Tir,{node:E,handledProperties:S,onChange:A,onDelete:C}),I.jsx("div",{className:"pt-2 text-muted-foreground text-xs",children:n("nodes:panel.nodeId",{id:E.id})})]})}function xir(n){const i=document.createElement("textarea");i.value=n,document.body.appendChild(i),i.focus(),i.select();try{document.execCommand("copy")}catch(s){console.error("Unable to copy to clipboard",s)}document.body.removeChild(i)}async function kir(n){return navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):xir(n)}function Hk(){return Hk=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var c in s)({}).hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},Hk.apply(null,arguments)}function SJt(n,i){if(n==null)return{};var s={};for(var c in n)if({}.hasOwnProperty.call(n,c)){if(i.indexOf(c)!==-1)continue;s[c]=n[c]}return s}let Uz=class{constructor(i,s,c){this.normal=s,this.property=i,c&&(this.space=c)}};Uz.prototype.normal={};Uz.prototype.property={};Uz.prototype.space=void 0;function TJt(n,i){const s={},c={};for(const d of n)Object.assign(s,d.property),Object.assign(c,d.normal);return new Uz(s,c,i)}function fz(n){return n.toLowerCase()}let bb=class{constructor(i,s){this.attribute=s,this.property=i}};bb.prototype.attribute="";bb.prototype.booleanish=!1;bb.prototype.boolean=!1;bb.prototype.commaOrSpaceSeparated=!1;bb.prototype.commaSeparated=!1;bb.prototype.defined=!1;bb.prototype.mustUseProperty=!1;bb.prototype.number=!1;bb.prototype.overloadedBoolean=!1;bb.prototype.property="";bb.prototype.spaceSeparated=!1;bb.prototype.space=void 0;let Nir=0;const Zo=PR(),Pd=PR(),sLe=PR(),ar=PR(),qu=PR(),uM=PR(),Om=PR();function PR(){return 2**++Nir}const aLe=Object.freeze(Object.defineProperty({__proto__:null,boolean:Zo,booleanish:Pd,commaOrSpaceSeparated:Om,commaSeparated:uM,number:ar,overloadedBoolean:sLe,spaceSeparated:qu},Symbol.toStringTag,{value:"Module"})),KOe=Object.keys(aLe);let r9e=class extends bb{constructor(i,s,c,d){let g=-1;if(super(i,s),t$t(this,"space",d),typeof c=="number")for(;++g<KOe.length;){const b=KOe[g];t$t(this,KOe[g],(c&aLe[b])===aLe[b])}}};r9e.prototype.defined=!0;function t$t(n,i,s){s&&(n[i]=s)}function KM(n){const i={},s={};for(const[c,d]of Object.entries(n.properties)){const g=new r9e(c,n.transform(n.attributes||{},c),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(c)&&(g.mustUseProperty=!0),i[c]=g,s[fz(c)]=c,s[fz(g.attribute)]=c}return new Uz(i,s,n.space)}const AJt=KM({properties:{ariaActiveDescendant:null,ariaAtomic:Pd,ariaAutoComplete:null,ariaBusy:Pd,ariaChecked:Pd,ariaColCount:ar,ariaColIndex:ar,ariaColSpan:ar,ariaControls:qu,ariaCurrent:null,ariaDescribedBy:qu,ariaDetails:null,ariaDisabled:Pd,ariaDropEffect:qu,ariaErrorMessage:null,ariaExpanded:Pd,ariaFlowTo:qu,ariaGrabbed:Pd,ariaHasPopup:null,ariaHidden:Pd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qu,ariaLevel:ar,ariaLive:null,ariaModal:Pd,ariaMultiLine:Pd,ariaMultiSelectable:Pd,ariaOrientation:null,ariaOwns:qu,ariaPlaceholder:null,ariaPosInSet:ar,ariaPressed:Pd,ariaReadOnly:Pd,ariaRelevant:null,ariaRequired:Pd,ariaRoleDescription:qu,ariaRowCount:ar,ariaRowIndex:ar,ariaRowSpan:ar,ariaSelected:Pd,ariaSetSize:ar,ariaSort:null,ariaValueMax:ar,ariaValueMin:ar,ariaValueNow:ar,ariaValueText:null,role:null},transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function _Jt(n,i){return i in n?n[i]:i}function xJt(n,i){return _Jt(n,i.toLowerCase())}const Cir=KM({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:uM,acceptCharset:qu,accessKey:qu,action:null,allow:null,allowFullScreen:Zo,allowPaymentRequest:Zo,allowUserMedia:Zo,alt:null,as:null,async:Zo,autoCapitalize:null,autoComplete:qu,autoFocus:Zo,autoPlay:Zo,blocking:qu,capture:null,charSet:null,checked:Zo,cite:null,className:qu,cols:ar,colSpan:null,content:null,contentEditable:Pd,controls:Zo,controlsList:qu,coords:ar|uM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Zo,defer:Zo,dir:null,dirName:null,disabled:Zo,download:sLe,draggable:Pd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Zo,formTarget:null,headers:qu,height:ar,hidden:sLe,high:ar,href:null,hrefLang:null,htmlFor:qu,httpEquiv:qu,id:null,imageSizes:null,imageSrcSet:null,inert:Zo,inputMode:null,integrity:null,is:null,isMap:Zo,itemId:null,itemProp:qu,itemRef:qu,itemScope:Zo,itemType:qu,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Zo,low:ar,manifest:null,max:null,maxLength:ar,media:null,method:null,min:null,minLength:ar,multiple:Zo,muted:Zo,name:null,nonce:null,noModule:Zo,noValidate:Zo,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Zo,optimum:ar,pattern:null,ping:qu,placeholder:null,playsInline:Zo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Zo,referrerPolicy:null,rel:qu,required:Zo,reversed:Zo,rows:ar,rowSpan:ar,sandbox:qu,scope:null,scoped:Zo,seamless:Zo,selected:Zo,shadowRootClonable:Zo,shadowRootDelegatesFocus:Zo,shadowRootMode:null,shape:null,size:ar,sizes:null,slot:null,span:ar,spellCheck:Pd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ar,step:null,style:null,tabIndex:ar,target:null,title:null,translate:null,type:null,typeMustMatch:Zo,useMap:null,value:Pd,width:ar,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qu,axis:null,background:null,bgColor:null,border:ar,borderColor:null,bottomMargin:ar,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Zo,declare:Zo,event:null,face:null,frame:null,frameBorder:null,hSpace:ar,leftMargin:ar,link:null,longDesc:null,lowSrc:null,marginHeight:ar,marginWidth:ar,noResize:Zo,noHref:Zo,noShade:Zo,noWrap:Zo,object:null,profile:null,prompt:null,rev:null,rightMargin:ar,rules:null,scheme:null,scrolling:Pd,standby:null,summary:null,text:null,topMargin:ar,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ar,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Zo,disableRemotePlayback:Zo,prefix:null,property:null,results:ar,security:null,unselectable:null},space:"html",transform:xJt}),Iir=KM({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Om,accentHeight:ar,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ar,amplitude:ar,arabicForm:null,ascent:ar,attributeName:null,attributeType:null,azimuth:ar,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ar,by:null,calcMode:null,capHeight:ar,className:qu,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ar,diffuseConstant:ar,direction:null,display:null,dur:null,divisor:ar,dominantBaseline:null,download:Zo,dx:null,dy:null,edgeMode:null,editable:null,elevation:ar,enableBackground:null,end:null,event:null,exponent:ar,externalResourcesRequired:null,fill:null,fillOpacity:ar,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:uM,g2:uM,glyphName:uM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ar,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ar,horizOriginX:ar,horizOriginY:ar,id:null,ideographic:ar,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ar,k:ar,k1:ar,k2:ar,k3:ar,k4:ar,kernelMatrix:Om,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ar,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ar,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ar,overlineThickness:ar,paintOrder:null,panose1:null,path:null,pathLength:ar,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qu,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ar,pointsAtY:ar,pointsAtZ:ar,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Om,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Om,rev:Om,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Om,requiredFeatures:Om,requiredFonts:Om,requiredFormats:Om,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ar,specularExponent:ar,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ar,strikethroughThickness:ar,string:null,stroke:null,strokeDashArray:Om,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ar,strokeOpacity:ar,strokeWidth:null,style:null,surfaceScale:ar,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Om,tabIndex:ar,tableValues:null,target:null,targetX:ar,targetY:ar,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Om,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ar,underlineThickness:ar,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ar,values:null,vAlphabetic:ar,vMathematical:ar,vectorEffect:null,vHanging:ar,vIdeographic:ar,version:null,vertAdvY:ar,vertOriginX:ar,vertOriginY:ar,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ar,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:_Jt}),kJt=KM({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()}}),NJt=KM({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:xJt}),CJt=KM({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()}}),Rir=/[A-Z]/g,n$t=/-[a-z]/g,Oir=/^data[-\w.:]+$/i;function i9e(n,i){const s=fz(i);let c=i,d=bb;if(s in n.normal)return n.property[n.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&Oir.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(n$t,Lir);c="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!n$t.test(g)){let b=g.replace(Rir,Dir);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=r9e}return new d(c,i)}function Dir(n){return"-"+n.toLowerCase()}function Lir(n){return n.charAt(1).toUpperCase()}const rue=TJt([AJt,Cir,kJt,NJt,CJt],"html"),Hz=TJt([AJt,Iir,kJt,NJt,CJt],"svg");function Sse(n){const i=[],s=String(n||"");let c=s.indexOf(","),d=0,g=!1;for(;!g;){c===-1&&(c=s.length,g=!0);const b=s.slice(d,c).trim();(b||!g)&&i.push(b),d=c+1,c=s.indexOf(",",d)}return i}function Mir(n,i){const s=i||{};return(n[n.length-1]===""?[...n,""]:n).join((s.padRight?" ":"")+","+(s.padLeft===!1?"":" ")).trim()}const r$t=/[#.]/g;function Pir(n,i){const s=n||"",c={};let d=0,g,b;for(;d<s.length;){r$t.lastIndex=d;const w=r$t.exec(s),E=s.slice(d,w?w.index:s.length);E&&(g?g==="#"?c.id=E:Array.isArray(c.className)?c.className.push(E):c.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:c,children:[]}}function Tse(n){const i=String(n||"").trim();return i?i.split(/[ \t\n\r\f]+/g):[]}function jir(n){return n.join(" ").trim()}function IJt(n,i,s){const c=s?Uir(s):void 0;function d(g,b,...w){let E;if(g==null){E={type:"root",children:[]};const S=b;w.unshift(S)}else{E=Pir(g,i);const S=E.tagName.toLowerCase(),x=c?c.get(S):void 0;if(E.tagName=x||S,Fir(b))w.unshift(b);else for(const[A,C]of Object.entries(b))$ir(n,E.properties,A,C)}for(const S of w)uLe(E.children,S);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}return d}function Fir(n){if(n===null||typeof n!="object"||Array.isArray(n))return!0;if(typeof n.type!="string")return!1;const i=n,s=Object.keys(n);for(const c of s){const d=i[c];if(d&&typeof d=="object"){if(!Array.isArray(d))return!0;const g=d;for(const b of g)if(typeof b!="number"&&typeof b!="string")return!0}}return!!("children"in n&&Array.isArray(n.children))}function $ir(n,i,s,c){const d=i9e(n,s);let g;if(c!=null){if(typeof c=="number"){if(Number.isNaN(c))return;g=c}else typeof c=="boolean"?g=c:typeof c=="string"?d.spaceSeparated?g=Tse(c):d.commaSeparated?g=Sse(c):d.commaOrSpaceSeparated?g=Tse(Sse(c).join(" ")):g=i$t(d,d.property,c):Array.isArray(c)?g=[...c]:g=d.property==="style"?Bir(c):String(c);if(Array.isArray(g)){const b=[];for(const w of g)b.push(i$t(d,d.property,w));g=b}d.property==="className"&&Array.isArray(i.className)&&(g=i.className.concat(g)),i[d.property]=g}}function uLe(n,i){if(i!=null)if(typeof i=="number"||typeof i=="string")n.push({type:"text",value:String(i)});else if(Array.isArray(i))for(const s of i)uLe(n,s);else if(typeof i=="object"&&"type"in i)i.type==="root"?uLe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function i$t(n,i,s){if(typeof s=="string"){if(n.number&&s&&!Number.isNaN(Number(s)))return Number(s);if((n.boolean||n.overloadedBoolean)&&(s===""||fz(s)===fz(i)))return!0}return s}function Bir(n){const i=[];for(const[s,c]of Object.entries(n))i.push([s,c].join(": "));return i.join("; ")}function Uir(n){const i=new Map;for(const s of n)i.set(s.toLowerCase(),s);return i}const Hir=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],zir=IJt(rue,"div"),Gir=IJt(Hz,"g",Hir);function qir(n){const i=String(n),s=[];return{toOffset:d,toPoint:c};function c(g){if(typeof g=="number"&&g>-1&&g<=i.length){let b=0;for(;;){let w=s[b];if(w===void 0){const E=o$t(i,s[b-1]);w=E===-1?i.length+1:E+1,s[b]=w}if(w>g)return{line:b+1,column:g-(b>0?s[b-1]:0)+1,offset:g};b++}}}function d(g){if(g&&typeof g.line=="number"&&typeof g.column=="number"&&!Number.isNaN(g.line)&&!Number.isNaN(g.column)){for(;s.length<g.line;){const w=s[s.length-1],E=o$t(i,w),S=E===-1?i.length+1:E+1;if(w===S)break;s.push(S)}const b=(g.line>1?s[g.line-2]:0)+g.column-1;if(b<s[g.line-1])return b}}}function o$t(n,i){const s=n.indexOf("\r",i),c=n.indexOf(`
`,i);return c===-1?s:s===-1||s+1===c?c:s<c?s:c}const Vir={svg:"http://www.w3.org/2000/svg"},RJt={}.hasOwnProperty,Wir=Object.prototype;function Kir(n,i){const s=i||{};return o9e({file:s.file||void 0,location:!1,schema:s.space==="svg"?Hz:rue,verbose:s.verbose||!1},n)}function o9e(n,i){let s;switch(i.nodeName){case"#comment":{const c=i;return s={type:"comment",value:c.data},ooe(n,c,s),s}case"#document":case"#document-fragment":{const c=i,d="mode"in c?c.mode==="quirks"||c.mode==="limited-quirks":!1;if(s={type:"root",children:OJt(n,i.childNodes),data:{quirksMode:d}},n.file&&n.location){const g=String(n.file),b=qir(g),w=b.toPoint(0),E=b.toPoint(g.length);s.position={start:w,end:E}}return s}case"#documentType":{const c=i;return s={type:"doctype"},ooe(n,c,s),s}case"#text":{const c=i;return s={type:"text",value:c.value},ooe(n,c,s),s}default:return s=Yir(n,i),s}}function OJt(n,i){let s=-1;const c=[];for(;++s<i.length;){const d=o9e(n,i[s]);c.push(d)}return c}function Yir(n,i){const s=n.schema;n.schema=i.namespaceURI===Vir.svg?Hz:rue;let c=-1;const d={};for(;++c<i.attrs.length;){const w=i.attrs[c],E=(w.prefix?w.prefix+":":"")+w.name;RJt.call(Wir,E)||(d[E]=w.value)}const b=(n.schema.space==="svg"?Gir:zir)(i.tagName,d,OJt(n,i.childNodes));if(ooe(n,i,b),b.tagName==="template"){const w=i,E=w.sourceCodeLocation,S=E&&E.startTag&&K5(E.startTag),x=E&&E.endTag&&K5(E.endTag),A=o9e(n,w.content);S&&x&&n.file&&(A.position={start:S.end,end:x.start}),b.content=A}return n.schema=s,b}function ooe(n,i,s){if("sourceCodeLocation"in i&&i.sourceCodeLocation&&n.file){const c=Jir(n,s,i.sourceCodeLocation);c&&(n.location=!0,s.position=c)}}function Jir(n,i,s){const c=K5(s);if(i.type==="element"){const d=i.children[i.children.length-1];if(c&&!s.endTag&&d&&d.position&&d.position.end&&(c.end=Object.assign({},d.position.end)),n.verbose){const g={};let b;if(s.attrs)for(b in s.attrs)RJt.call(s.attrs,b)&&(g[i9e(n.schema,b).property]=K5(s.attrs[b]));s.startTag;const w=K5(s.startTag),E=s.endTag?K5(s.endTag):void 0,S={opening:w};E&&(S.closing=E),S.properties=g,i.data={position:S}}}return c}function K5(n){const i=s$t({line:n.startLine,column:n.startCol,offset:n.startOffset}),s=s$t({line:n.endLine,column:n.endCol,offset:n.endOffset});return i||s?{start:i,end:s}:void 0}function s$t(n){return n.line&&n.column?n:void 0}const Xir=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Oc="";var $e;(function(n){n[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})($e||($e={}));const tb={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function DJt(n){return n>=55296&&n<=57343}function Zir(n){return n>=56320&&n<=57343}function Qir(n,i){return(n-55296)*1024+9216+i}function LJt(n){return n!==32&&n!==10&&n!==13&&n!==9&&n!==12&&n>=1&&n<=31||n>=127&&n<=159}function MJt(n){return n>=64976&&n<=65007||Xir.has(n)}var sn;(function(n){n.controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(sn||(sn={}));const eor=65536;class tor{constructor(i){this.handler=i,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=eor,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(i,s){const{line:c,col:d,offset:g}=this,b=d+s,w=g+s;return{code:i,startLine:c,endLine:c,startCol:b,endCol:b,startOffset:w,endOffset:w}}_err(i){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(i,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(i){if(this.pos!==this.html.length-1){const s=this.html.charCodeAt(this.pos+1);if(Zir(s))return this.pos++,this._addGap(),Qir(i,s)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,$e.EOF;return this._err(sn.surrogateInInputStream),i}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(i,s){this.html.length>0?this.html+=i:this.html=i,this.endOfChunkHit=!1,this.lastChunkWritten=s}insertHtmlAtCurrentPos(i){this.html=this.html.substring(0,this.pos+1)+i+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(i,s){if(this.pos+i.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(s)return this.html.startsWith(i,this.pos);for(let c=0;c<i.length;c++)if((this.html.charCodeAt(this.pos+c)|32)!==i.charCodeAt(c))return!1;return!0}peek(i){const s=this.pos+i;if(s>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$e.EOF;const c=this.html.charCodeAt(s);return c===$e.CARRIAGE_RETURN?$e.LINE_FEED:c}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$e.EOF;let i=this.html.charCodeAt(this.pos);return i===$e.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,$e.LINE_FEED):i===$e.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,DJt(i)&&(i=this._processSurrogate(i)),this.handler.onParseError===null||i>31&&i<127||i===$e.LINE_FEED||i===$e.CARRIAGE_RETURN||i>159&&i<64976||this._checkForProblematicCharacters(i),i)}_checkForProblematicCharacters(i){LJt(i)?this._err(sn.controlCharacterInInputStream):MJt(i)&&this._err(sn.noncharacterInInputStream)}retreat(i){for(this.pos-=i;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ha;(function(n){n[n.CHARACTER=0]="CHARACTER",n[n.NULL_CHARACTER=1]="NULL_CHARACTER",n[n.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",n[n.START_TAG=3]="START_TAG",n[n.END_TAG=4]="END_TAG",n[n.COMMENT=5]="COMMENT",n[n.DOCTYPE=6]="DOCTYPE",n[n.EOF=7]="EOF",n[n.HIBERNATION=8]="HIBERNATION"})(ha||(ha={}));function PJt(n,i){for(let s=n.attrs.length-1;s>=0;s--)if(n.attrs[s].name===i)return n.attrs[s].value;return null}const nor=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(n=>n.charCodeAt(0))),ror=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function ior(n){var i;return n>=55296&&n<=57343||n>1114111?65533:(i=ror.get(n))!==null&&i!==void 0?i:n}var nh;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(nh||(nh={}));const oor=32;var qk;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(qk||(qk={}));function cLe(n){return n>=nh.ZERO&&n<=nh.NINE}function sor(n){return n>=nh.UPPER_A&&n<=nh.UPPER_F||n>=nh.LOWER_A&&n<=nh.LOWER_F}function aor(n){return n>=nh.UPPER_A&&n<=nh.UPPER_Z||n>=nh.LOWER_A&&n<=nh.LOWER_Z||cLe(n)}function uor(n){return n===nh.EQUALS||aor(n)}var Qf;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(Qf||(Qf={}));var aA;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(aA||(aA={}));class cor{constructor(i,s,c){this.decodeTree=i,this.emitCodePoint=s,this.errors=c,this.state=Qf.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=aA.Strict}startEntity(i){this.decodeMode=i,this.state=Qf.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(i,s){switch(this.state){case Qf.EntityStart:return i.charCodeAt(s)===nh.NUM?(this.state=Qf.NumericStart,this.consumed+=1,this.stateNumericStart(i,s+1)):(this.state=Qf.NamedEntity,this.stateNamedEntity(i,s));case Qf.NumericStart:return this.stateNumericStart(i,s);case Qf.NumericDecimal:return this.stateNumericDecimal(i,s);case Qf.NumericHex:return this.stateNumericHex(i,s);case Qf.NamedEntity:return this.stateNamedEntity(i,s)}}stateNumericStart(i,s){return s>=i.length?-1:(i.charCodeAt(s)|oor)===nh.LOWER_X?(this.state=Qf.NumericHex,this.consumed+=1,this.stateNumericHex(i,s+1)):(this.state=Qf.NumericDecimal,this.stateNumericDecimal(i,s))}addToNumericResult(i,s,c,d){if(s!==c){const g=c-s;this.result=this.result*Math.pow(d,g)+Number.parseInt(i.substr(s,g),d),this.consumed+=g}}stateNumericHex(i,s){const c=s;for(;s<i.length;){const d=i.charCodeAt(s);if(cLe(d)||sor(d))s+=1;else return this.addToNumericResult(i,c,s,16),this.emitNumericEntity(d,3)}return this.addToNumericResult(i,c,s,16),-1}stateNumericDecimal(i,s){const c=s;for(;s<i.length;){const d=i.charCodeAt(s);if(cLe(d))s+=1;else return this.addToNumericResult(i,c,s,10),this.emitNumericEntity(d,2)}return this.addToNumericResult(i,c,s,10),-1}emitNumericEntity(i,s){var c;if(this.consumed<=s)return(c=this.errors)===null||c===void 0||c.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===nh.SEMI)this.consumed+=1;else if(this.decodeMode===aA.Strict)return 0;return this.emitCodePoint(ior(this.result),this.consumed),this.errors&&(i!==nh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,s){const{decodeTree:c}=this;let d=c[this.treeIndex],g=(d&qk.VALUE_LENGTH)>>14;for(;s<i.length;s++,this.excess++){const b=i.charCodeAt(s);if(this.treeIndex=lor(c,d,this.treeIndex+Math.max(1,g),b),this.treeIndex<0)return this.result===0||this.decodeMode===aA.Attribute&&(g===0||uor(b))?0:this.emitNotTerminatedNamedEntity();if(d=c[this.treeIndex],g=(d&qk.VALUE_LENGTH)>>14,g!==0){if(b===nh.SEMI)return this.emitNamedEntityData(this.treeIndex,g,this.consumed+this.excess);this.decodeMode!==aA.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var i;const{result:s,decodeTree:c}=this,d=(c[s]&qk.VALUE_LENGTH)>>14;return this.emitNamedEntityData(s,d,this.consumed),(i=this.errors)===null||i===void 0||i.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(i,s,c){const{decodeTree:d}=this;return this.emitCodePoint(s===1?d[i]&~qk.VALUE_LENGTH:d[i+1],c),s===3&&this.emitCodePoint(d[i+2],c),c}end(){var i;switch(this.state){case Qf.NamedEntity:return this.result!==0&&(this.decodeMode!==aA.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Qf.NumericDecimal:return this.emitNumericEntity(0,2);case Qf.NumericHex:return this.emitNumericEntity(0,3);case Qf.NumericStart:return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Qf.EntityStart:return 0}}}function lor(n,i,s,c){const d=(i&qk.BRANCH_LENGTH)>>7,g=i&qk.JUMP_TABLE;if(d===0)return g!==0&&c===g?s:-1;if(g){const E=c-g;return E<0||E>=d?-1:n[s+E]-1}let b=s,w=b+d-1;for(;b<=w;){const E=b+w>>>1,S=n[E];if(S<c)b=E+1;else if(S>c)w=E-1;else return n[E+d]}return-1}var Fn;(function(n){n.HTML="http://www.w3.org/1999/xhtml",n.MATHML="http://www.w3.org/1998/Math/MathML",n.SVG="http://www.w3.org/2000/svg",n.XLINK="http://www.w3.org/1999/xlink",n.XML="http://www.w3.org/XML/1998/namespace",n.XMLNS="http://www.w3.org/2000/xmlns/"})(Fn||(Fn={}));var iR;(function(n){n.TYPE="type",n.ACTION="action",n.ENCODING="encoding",n.PROMPT="prompt",n.NAME="name",n.COLOR="color",n.FACE="face",n.SIZE="size"})(iR||(iR={}));var ww;(function(n){n.NO_QUIRKS="no-quirks",n.QUIRKS="quirks",n.LIMITED_QUIRKS="limited-quirks"})(ww||(ww={}));var Pt;(function(n){n.A="a",n.ADDRESS="address",n.ANNOTATION_XML="annotation-xml",n.APPLET="applet",n.AREA="area",n.ARTICLE="article",n.ASIDE="aside",n.B="b",n.BASE="base",n.BASEFONT="basefont",n.BGSOUND="bgsound",n.BIG="big",n.BLOCKQUOTE="blockquote",n.BODY="body",n.BR="br",n.BUTTON="button",n.CAPTION="caption",n.CENTER="center",n.CODE="code",n.COL="col",n.COLGROUP="colgroup",n.DD="dd",n.DESC="desc",n.DETAILS="details",n.DIALOG="dialog",n.DIR="dir",n.DIV="div",n.DL="dl",n.DT="dt",n.EM="em",n.EMBED="embed",n.FIELDSET="fieldset",n.FIGCAPTION="figcaption",n.FIGURE="figure",n.FONT="font",n.FOOTER="footer",n.FOREIGN_OBJECT="foreignObject",n.FORM="form",n.FRAME="frame",n.FRAMESET="frameset",n.H1="h1",n.H2="h2",n.H3="h3",n.H4="h4",n.H5="h5",n.H6="h6",n.HEAD="head",n.HEADER="header",n.HGROUP="hgroup",n.HR="hr",n.HTML="html",n.I="i",n.IMG="img",n.IMAGE="image",n.INPUT="input",n.IFRAME="iframe",n.KEYGEN="keygen",n.LABEL="label",n.LI="li",n.LINK="link",n.LISTING="listing",n.MAIN="main",n.MALIGNMARK="malignmark",n.MARQUEE="marquee",n.MATH="math",n.MENU="menu",n.META="meta",n.MGLYPH="mglyph",n.MI="mi",n.MO="mo",n.MN="mn",n.MS="ms",n.MTEXT="mtext",n.NAV="nav",n.NOBR="nobr",n.NOFRAMES="noframes",n.NOEMBED="noembed",n.NOSCRIPT="noscript",n.OBJECT="object",n.OL="ol",n.OPTGROUP="optgroup",n.OPTION="option",n.P="p",n.PARAM="param",n.PLAINTEXT="plaintext",n.PRE="pre",n.RB="rb",n.RP="rp",n.RT="rt",n.RTC="rtc",n.RUBY="ruby",n.S="s",n.SCRIPT="script",n.SEARCH="search",n.SECTION="section",n.SELECT="select",n.SOURCE="source",n.SMALL="small",n.SPAN="span",n.STRIKE="strike",n.STRONG="strong",n.STYLE="style",n.SUB="sub",n.SUMMARY="summary",n.SUP="sup",n.TABLE="table",n.TBODY="tbody",n.TEMPLATE="template",n.TEXTAREA="textarea",n.TFOOT="tfoot",n.TD="td",n.TH="th",n.THEAD="thead",n.TITLE="title",n.TR="tr",n.TRACK="track",n.TT="tt",n.U="u",n.UL="ul",n.SVG="svg",n.VAR="var",n.WBR="wbr",n.XMP="xmp"})(Pt||(Pt={}));var W;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.A=1]="A",n[n.ADDRESS=2]="ADDRESS",n[n.ANNOTATION_XML=3]="ANNOTATION_XML",n[n.APPLET=4]="APPLET",n[n.AREA=5]="AREA",n[n.ARTICLE=6]="ARTICLE",n[n.ASIDE=7]="ASIDE",n[n.B=8]="B",n[n.BASE=9]="BASE",n[n.BASEFONT=10]="BASEFONT",n[n.BGSOUND=11]="BGSOUND",n[n.BIG=12]="BIG",n[n.BLOCKQUOTE=13]="BLOCKQUOTE",n[n.BODY=14]="BODY",n[n.BR=15]="BR",n[n.BUTTON=16]="BUTTON",n[n.CAPTION=17]="CAPTION",n[n.CENTER=18]="CENTER",n[n.CODE=19]="CODE",n[n.COL=20]="COL",n[n.COLGROUP=21]="COLGROUP",n[n.DD=22]="DD",n[n.DESC=23]="DESC",n[n.DETAILS=24]="DETAILS",n[n.DIALOG=25]="DIALOG",n[n.DIR=26]="DIR",n[n.DIV=27]="DIV",n[n.DL=28]="DL",n[n.DT=29]="DT",n[n.EM=30]="EM",n[n.EMBED=31]="EMBED",n[n.FIELDSET=32]="FIELDSET",n[n.FIGCAPTION=33]="FIGCAPTION",n[n.FIGURE=34]="FIGURE",n[n.FONT=35]="FONT",n[n.FOOTER=36]="FOOTER",n[n.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",n[n.FORM=38]="FORM",n[n.FRAME=39]="FRAME",n[n.FRAMESET=40]="FRAMESET",n[n.H1=41]="H1",n[n.H2=42]="H2",n[n.H3=43]="H3",n[n.H4=44]="H4",n[n.H5=45]="H5",n[n.H6=46]="H6",n[n.HEAD=47]="HEAD",n[n.HEADER=48]="HEADER",n[n.HGROUP=49]="HGROUP",n[n.HR=50]="HR",n[n.HTML=51]="HTML",n[n.I=52]="I",n[n.IMG=53]="IMG",n[n.IMAGE=54]="IMAGE",n[n.INPUT=55]="INPUT",n[n.IFRAME=56]="IFRAME",n[n.KEYGEN=57]="KEYGEN",n[n.LABEL=58]="LABEL",n[n.LI=59]="LI",n[n.LINK=60]="LINK",n[n.LISTING=61]="LISTING",n[n.MAIN=62]="MAIN",n[n.MALIGNMARK=63]="MALIGNMARK",n[n.MARQUEE=64]="MARQUEE",n[n.MATH=65]="MATH",n[n.MENU=66]="MENU",n[n.META=67]="META",n[n.MGLYPH=68]="MGLYPH",n[n.MI=69]="MI",n[n.MO=70]="MO",n[n.MN=71]="MN",n[n.MS=72]="MS",n[n.MTEXT=73]="MTEXT",n[n.NAV=74]="NAV",n[n.NOBR=75]="NOBR",n[n.NOFRAMES=76]="NOFRAMES",n[n.NOEMBED=77]="NOEMBED",n[n.NOSCRIPT=78]="NOSCRIPT",n[n.OBJECT=79]="OBJECT",n[n.OL=80]="OL",n[n.OPTGROUP=81]="OPTGROUP",n[n.OPTION=82]="OPTION",n[n.P=83]="P",n[n.PARAM=84]="PARAM",n[n.PLAINTEXT=85]="PLAINTEXT",n[n.PRE=86]="PRE",n[n.RB=87]="RB",n[n.RP=88]="RP",n[n.RT=89]="RT",n[n.RTC=90]="RTC",n[n.RUBY=91]="RUBY",n[n.S=92]="S",n[n.SCRIPT=93]="SCRIPT",n[n.SEARCH=94]="SEARCH",n[n.SECTION=95]="SECTION",n[n.SELECT=96]="SELECT",n[n.SOURCE=97]="SOURCE",n[n.SMALL=98]="SMALL",n[n.SPAN=99]="SPAN",n[n.STRIKE=100]="STRIKE",n[n.STRONG=101]="STRONG",n[n.STYLE=102]="STYLE",n[n.SUB=103]="SUB",n[n.SUMMARY=104]="SUMMARY",n[n.SUP=105]="SUP",n[n.TABLE=106]="TABLE",n[n.TBODY=107]="TBODY",n[n.TEMPLATE=108]="TEMPLATE",n[n.TEXTAREA=109]="TEXTAREA",n[n.TFOOT=110]="TFOOT",n[n.TD=111]="TD",n[n.TH=112]="TH",n[n.THEAD=113]="THEAD",n[n.TITLE=114]="TITLE",n[n.TR=115]="TR",n[n.TRACK=116]="TRACK",n[n.TT=117]="TT",n[n.U=118]="U",n[n.UL=119]="UL",n[n.SVG=120]="SVG",n[n.VAR=121]="VAR",n[n.WBR=122]="WBR",n[n.XMP=123]="XMP"})(W||(W={}));const dor=new Map([[Pt.A,W.A],[Pt.ADDRESS,W.ADDRESS],[Pt.ANNOTATION_XML,W.ANNOTATION_XML],[Pt.APPLET,W.APPLET],[Pt.AREA,W.AREA],[Pt.ARTICLE,W.ARTICLE],[Pt.ASIDE,W.ASIDE],[Pt.B,W.B],[Pt.BASE,W.BASE],[Pt.BASEFONT,W.BASEFONT],[Pt.BGSOUND,W.BGSOUND],[Pt.BIG,W.BIG],[Pt.BLOCKQUOTE,W.BLOCKQUOTE],[Pt.BODY,W.BODY],[Pt.BR,W.BR],[Pt.BUTTON,W.BUTTON],[Pt.CAPTION,W.CAPTION],[Pt.CENTER,W.CENTER],[Pt.CODE,W.CODE],[Pt.COL,W.COL],[Pt.COLGROUP,W.COLGROUP],[Pt.DD,W.DD],[Pt.DESC,W.DESC],[Pt.DETAILS,W.DETAILS],[Pt.DIALOG,W.DIALOG],[Pt.DIR,W.DIR],[Pt.DIV,W.DIV],[Pt.DL,W.DL],[Pt.DT,W.DT],[Pt.EM,W.EM],[Pt.EMBED,W.EMBED],[Pt.FIELDSET,W.FIELDSET],[Pt.FIGCAPTION,W.FIGCAPTION],[Pt.FIGURE,W.FIGURE],[Pt.FONT,W.FONT],[Pt.FOOTER,W.FOOTER],[Pt.FOREIGN_OBJECT,W.FOREIGN_OBJECT],[Pt.FORM,W.FORM],[Pt.FRAME,W.FRAME],[Pt.FRAMESET,W.FRAMESET],[Pt.H1,W.H1],[Pt.H2,W.H2],[Pt.H3,W.H3],[Pt.H4,W.H4],[Pt.H5,W.H5],[Pt.H6,W.H6],[Pt.HEAD,W.HEAD],[Pt.HEADER,W.HEADER],[Pt.HGROUP,W.HGROUP],[Pt.HR,W.HR],[Pt.HTML,W.HTML],[Pt.I,W.I],[Pt.IMG,W.IMG],[Pt.IMAGE,W.IMAGE],[Pt.INPUT,W.INPUT],[Pt.IFRAME,W.IFRAME],[Pt.KEYGEN,W.KEYGEN],[Pt.LABEL,W.LABEL],[Pt.LI,W.LI],[Pt.LINK,W.LINK],[Pt.LISTING,W.LISTING],[Pt.MAIN,W.MAIN],[Pt.MALIGNMARK,W.MALIGNMARK],[Pt.MARQUEE,W.MARQUEE],[Pt.MATH,W.MATH],[Pt.MENU,W.MENU],[Pt.META,W.META],[Pt.MGLYPH,W.MGLYPH],[Pt.MI,W.MI],[Pt.MO,W.MO],[Pt.MN,W.MN],[Pt.MS,W.MS],[Pt.MTEXT,W.MTEXT],[Pt.NAV,W.NAV],[Pt.NOBR,W.NOBR],[Pt.NOFRAMES,W.NOFRAMES],[Pt.NOEMBED,W.NOEMBED],[Pt.NOSCRIPT,W.NOSCRIPT],[Pt.OBJECT,W.OBJECT],[Pt.OL,W.OL],[Pt.OPTGROUP,W.OPTGROUP],[Pt.OPTION,W.OPTION],[Pt.P,W.P],[Pt.PARAM,W.PARAM],[Pt.PLAINTEXT,W.PLAINTEXT],[Pt.PRE,W.PRE],[Pt.RB,W.RB],[Pt.RP,W.RP],[Pt.RT,W.RT],[Pt.RTC,W.RTC],[Pt.RUBY,W.RUBY],[Pt.S,W.S],[Pt.SCRIPT,W.SCRIPT],[Pt.SEARCH,W.SEARCH],[Pt.SECTION,W.SECTION],[Pt.SELECT,W.SELECT],[Pt.SOURCE,W.SOURCE],[Pt.SMALL,W.SMALL],[Pt.SPAN,W.SPAN],[Pt.STRIKE,W.STRIKE],[Pt.STRONG,W.STRONG],[Pt.STYLE,W.STYLE],[Pt.SUB,W.SUB],[Pt.SUMMARY,W.SUMMARY],[Pt.SUP,W.SUP],[Pt.TABLE,W.TABLE],[Pt.TBODY,W.TBODY],[Pt.TEMPLATE,W.TEMPLATE],[Pt.TEXTAREA,W.TEXTAREA],[Pt.TFOOT,W.TFOOT],[Pt.TD,W.TD],[Pt.TH,W.TH],[Pt.THEAD,W.THEAD],[Pt.TITLE,W.TITLE],[Pt.TR,W.TR],[Pt.TRACK,W.TRACK],[Pt.TT,W.TT],[Pt.U,W.U],[Pt.UL,W.UL],[Pt.SVG,W.SVG],[Pt.VAR,W.VAR],[Pt.WBR,W.WBR],[Pt.XMP,W.XMP]]);function iue(n){var i;return(i=dor.get(n))!==null&&i!==void 0?i:W.UNKNOWN}const Xn=W,hor={[Fn.HTML]:new Set([Xn.ADDRESS,Xn.APPLET,Xn.AREA,Xn.ARTICLE,Xn.ASIDE,Xn.BASE,Xn.BASEFONT,Xn.BGSOUND,Xn.BLOCKQUOTE,Xn.BODY,Xn.BR,Xn.BUTTON,Xn.CAPTION,Xn.CENTER,Xn.COL,Xn.COLGROUP,Xn.DD,Xn.DETAILS,Xn.DIR,Xn.DIV,Xn.DL,Xn.DT,Xn.EMBED,Xn.FIELDSET,Xn.FIGCAPTION,Xn.FIGURE,Xn.FOOTER,Xn.FORM,Xn.FRAME,Xn.FRAMESET,Xn.H1,Xn.H2,Xn.H3,Xn.H4,Xn.H5,Xn.H6,Xn.HEAD,Xn.HEADER,Xn.HGROUP,Xn.HR,Xn.HTML,Xn.IFRAME,Xn.IMG,Xn.INPUT,Xn.LI,Xn.LINK,Xn.LISTING,Xn.MAIN,Xn.MARQUEE,Xn.MENU,Xn.META,Xn.NAV,Xn.NOEMBED,Xn.NOFRAMES,Xn.NOSCRIPT,Xn.OBJECT,Xn.OL,Xn.P,Xn.PARAM,Xn.PLAINTEXT,Xn.PRE,Xn.SCRIPT,Xn.SECTION,Xn.SELECT,Xn.SOURCE,Xn.STYLE,Xn.SUMMARY,Xn.TABLE,Xn.TBODY,Xn.TD,Xn.TEMPLATE,Xn.TEXTAREA,Xn.TFOOT,Xn.TH,Xn.THEAD,Xn.TITLE,Xn.TR,Xn.TRACK,Xn.UL,Xn.WBR,Xn.XMP]),[Fn.MATHML]:new Set([Xn.MI,Xn.MO,Xn.MN,Xn.MS,Xn.MTEXT,Xn.ANNOTATION_XML]),[Fn.SVG]:new Set([Xn.TITLE,Xn.FOREIGN_OBJECT,Xn.DESC]),[Fn.XLINK]:new Set,[Fn.XML]:new Set,[Fn.XMLNS]:new Set},lLe=new Set([Xn.H1,Xn.H2,Xn.H3,Xn.H4,Xn.H5,Xn.H6]);Pt.STYLE,Pt.SCRIPT,Pt.XMP,Pt.IFRAME,Pt.NOEMBED,Pt.NOFRAMES,Pt.PLAINTEXT;var Ve;(function(n){n[n.DATA=0]="DATA",n[n.RCDATA=1]="RCDATA",n[n.RAWTEXT=2]="RAWTEXT",n[n.SCRIPT_DATA=3]="SCRIPT_DATA",n[n.PLAINTEXT=4]="PLAINTEXT",n[n.TAG_OPEN=5]="TAG_OPEN",n[n.END_TAG_OPEN=6]="END_TAG_OPEN",n[n.TAG_NAME=7]="TAG_NAME",n[n.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",n[n.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",n[n.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",n[n.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",n[n.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",n[n.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",n[n.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",n[n.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",n[n.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",n[n.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",n[n.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",n[n.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",n[n.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",n[n.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",n[n.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",n[n.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",n[n.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",n[n.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",n[n.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",n[n.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",n[n.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",n[n.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",n[n.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",n[n.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",n[n.BOGUS_COMMENT=40]="BOGUS_COMMENT",n[n.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",n[n.COMMENT_START=42]="COMMENT_START",n[n.COMMENT_START_DASH=43]="COMMENT_START_DASH",n[n.COMMENT=44]="COMMENT",n[n.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",n[n.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",n[n.COMMENT_END_DASH=49]="COMMENT_END_DASH",n[n.COMMENT_END=50]="COMMENT_END",n[n.COMMENT_END_BANG=51]="COMMENT_END_BANG",n[n.DOCTYPE=52]="DOCTYPE",n[n.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",n[n.DOCTYPE_NAME=54]="DOCTYPE_NAME",n[n.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",n[n.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",n[n.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",n[n.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",n[n.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",n[n.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",n[n.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",n[n.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",n[n.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",n[n.CDATA_SECTION=68]="CDATA_SECTION",n[n.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",n[n.CDATA_SECTION_END=70]="CDATA_SECTION_END",n[n.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",n[n.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(Ve||(Ve={}));const ob={DATA:Ve.DATA,RCDATA:Ve.RCDATA,RAWTEXT:Ve.RAWTEXT,SCRIPT_DATA:Ve.SCRIPT_DATA,PLAINTEXT:Ve.PLAINTEXT,CDATA_SECTION:Ve.CDATA_SECTION};function por(n){return n>=$e.DIGIT_0&&n<=$e.DIGIT_9}function sH(n){return n>=$e.LATIN_CAPITAL_A&&n<=$e.LATIN_CAPITAL_Z}function gor(n){return n>=$e.LATIN_SMALL_A&&n<=$e.LATIN_SMALL_Z}function Lk(n){return gor(n)||sH(n)}function a$t(n){return Lk(n)||por(n)}function Oie(n){return n+32}function jJt(n){return n===$e.SPACE||n===$e.LINE_FEED||n===$e.TABULATION||n===$e.FORM_FEED}function u$t(n){return jJt(n)||n===$e.SOLIDUS||n===$e.GREATER_THAN_SIGN}function bor(n){return n===$e.NULL?sn.nullCharacterReference:n>1114111?sn.characterReferenceOutsideUnicodeRange:DJt(n)?sn.surrogateCharacterReference:MJt(n)?sn.noncharacterCharacterReference:LJt(n)||n===$e.CARRIAGE_RETURN?sn.controlCharacterReference:null}class mor{constructor(i,s){this.options=i,this.handler=s,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Ve.DATA,this.returnState=Ve.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new tor(s),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new cor(nor,(c,d)=>{this.preprocessor.pos=this.entityStartPos+d-1,this._flushCodePointConsumedAsCharacterReference(c)},s.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(sn.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:c=>{this._err(sn.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+c)},validateNumericCharacterReference:c=>{const d=bor(c);d&&this._err(d,1)}}:void 0)}_err(i,s=0){var c,d;(d=(c=this.handler).onParseError)===null||d===void 0||d.call(c,this.preprocessor.getError(i,s))}getCurrentLocation(i){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-i,startOffset:this.preprocessor.offset-i,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const i=this._consume();this._ensureHibernation()||this._callState(i)}this.inLoop=!1}}pause(){this.paused=!0}resume(i){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||i==null||i())}write(i,s,c){this.active=!0,this.preprocessor.write(i,s),this._runParsingLoop(),this.paused||c==null||c()}insertHtmlAtCurrentPos(i){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(i),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(i){this.consumedAfterSnapshot+=i;for(let s=0;s<i;s++)this.preprocessor.advance()}_consumeSequenceIfMatch(i,s){return this.preprocessor.startsWith(i,s)?(this._advanceBy(i.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ha.START_TAG,tagName:"",tagID:W.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ha.END_TAG,tagName:"",tagID:W.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(i){this.currentToken={type:ha.COMMENT,data:"",location:this.getCurrentLocation(i)}}_createDoctypeToken(i){this.currentToken={type:ha.DOCTYPE,name:i,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(i,s){this.currentCharacterToken={type:i,chars:s,location:this.currentLocation}}_createAttr(i){this.currentAttr={name:i,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var i,s;const c=this.currentToken;if(PJt(c,this.currentAttr.name)===null){if(c.attrs.push(this.currentAttr),c.location&&this.currentLocation){const d=(i=(s=c.location).attrs)!==null&&i!==void 0?i:s.attrs=Object.create(null);d[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(sn.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(i){this._emitCurrentCharacterToken(i.location),this.currentToken=null,i.location&&(i.location.endLine=this.preprocessor.line,i.location.endCol=this.preprocessor.col+1,i.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const i=this.currentToken;this.prepareToken(i),i.tagID=iue(i.tagName),i.type===ha.START_TAG?(this.lastStartTagName=i.tagName,this.handler.onStartTag(i)):(i.attrs.length>0&&this._err(sn.endTagWithAttributes),i.selfClosing&&this._err(sn.endTagWithTrailingSolidus),this.handler.onEndTag(i)),this.preprocessor.dropParsedChunk()}emitCurrentComment(i){this.prepareToken(i),this.handler.onComment(i),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(i){this.prepareToken(i),this.handler.onDoctype(i),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(i){if(this.currentCharacterToken){switch(i&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentCharacterToken.type){case ha.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ha.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ha.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const i=this.getCurrentLocation(0);i&&(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset),this._emitCurrentCharacterToken(i),this.handler.onEof({type:ha.EOF,location:i}),this.active=!1}_appendCharToCurrentCharacterToken(i,s){if(this.currentCharacterToken)if(this.currentCharacterToken.type===i){this.currentCharacterToken.chars+=s;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(i,s)}_emitCodePoint(i){const s=jJt(i)?ha.WHITESPACE_CHARACTER:i===$e.NULL?ha.NULL_CHARACTER:ha.CHARACTER;this._appendCharToCurrentCharacterToken(s,String.fromCodePoint(i))}_emitChars(i){this._appendCharToCurrentCharacterToken(ha.CHARACTER,i)}_startCharacterReference(){this.returnState=this.state,this.state=Ve.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?aA.Attribute:aA.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Ve.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(i){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(i):this._emitCodePoint(i)}_callState(i){switch(this.state){case Ve.DATA:{this._stateData(i);break}case Ve.RCDATA:{this._stateRcdata(i);break}case Ve.RAWTEXT:{this._stateRawtext(i);break}case Ve.SCRIPT_DATA:{this._stateScriptData(i);break}case Ve.PLAINTEXT:{this._statePlaintext(i);break}case Ve.TAG_OPEN:{this._stateTagOpen(i);break}case Ve.END_TAG_OPEN:{this._stateEndTagOpen(i);break}case Ve.TAG_NAME:{this._stateTagName(i);break}case Ve.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(i);break}case Ve.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(i);break}case Ve.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(i);break}case Ve.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(i);break}case Ve.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(i);break}case Ve.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(i);break}case Ve.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(i);break}case Ve.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(i);break}case Ve.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(i);break}case Ve.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(i);break}case Ve.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(i);break}case Ve.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(i);break}case Ve.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(i);break}case Ve.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(i);break}case Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(i);break}case Ve.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(i);break}case Ve.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(i);break}case Ve.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(i);break}case Ve.ATTRIBUTE_NAME:{this._stateAttributeName(i);break}case Ve.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(i);break}case Ve.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(i);break}case Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(i);break}case Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(i);break}case Ve.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(i);break}case Ve.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(i);break}case Ve.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(i);break}case Ve.BOGUS_COMMENT:{this._stateBogusComment(i);break}case Ve.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(i);break}case Ve.COMMENT_START:{this._stateCommentStart(i);break}case Ve.COMMENT_START_DASH:{this._stateCommentStartDash(i);break}case Ve.COMMENT:{this._stateComment(i);break}case Ve.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(i);break}case Ve.COMMENT_END_DASH:{this._stateCommentEndDash(i);break}case Ve.COMMENT_END:{this._stateCommentEnd(i);break}case Ve.COMMENT_END_BANG:{this._stateCommentEndBang(i);break}case Ve.DOCTYPE:{this._stateDoctype(i);break}case Ve.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(i);break}case Ve.DOCTYPE_NAME:{this._stateDoctypeName(i);break}case Ve.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(i);break}case Ve.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(i);break}case Ve.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(i);break}case Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(i);break}case Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(i);break}case Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(i);break}case Ve.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(i);break}case Ve.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(i);break}case Ve.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(i);break}case Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(i);break}case Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(i);break}case Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(i);break}case Ve.BOGUS_DOCTYPE:{this._stateBogusDoctype(i);break}case Ve.CDATA_SECTION:{this._stateCdataSection(i);break}case Ve.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(i);break}case Ve.CDATA_SECTION_END:{this._stateCdataSectionEnd(i);break}case Ve.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case Ve.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(i);break}default:throw new Error("Unknown state")}}_stateData(i){switch(i){case $e.LESS_THAN_SIGN:{this.state=Ve.TAG_OPEN;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitCodePoint(i);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateRcdata(i){switch(i){case $e.AMPERSAND:{this._startCharacterReference();break}case $e.LESS_THAN_SIGN:{this.state=Ve.RCDATA_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateRawtext(i){switch(i){case $e.LESS_THAN_SIGN:{this.state=Ve.RAWTEXT_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptData(i){switch(i){case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_statePlaintext(i){switch(i){case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateTagOpen(i){if(Lk(i))this._createStartTagToken(),this.state=Ve.TAG_NAME,this._stateTagName(i);else switch(i){case $e.EXCLAMATION_MARK:{this.state=Ve.MARKUP_DECLARATION_OPEN;break}case $e.SOLIDUS:{this.state=Ve.END_TAG_OPEN;break}case $e.QUESTION_MARK:{this._err(sn.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i);break}case $e.EOF:{this._err(sn.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(sn.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Ve.DATA,this._stateData(i)}}_stateEndTagOpen(i){if(Lk(i))this._createEndTagToken(),this.state=Ve.TAG_NAME,this._stateTagName(i);else switch(i){case $e.GREATER_THAN_SIGN:{this._err(sn.missingEndTagName),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(sn.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i)}}_stateTagName(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case $e.SOLIDUS:{this.state=Ve.SELF_CLOSING_START_TAG;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.tagName+=Oc;break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:s.tagName+=String.fromCodePoint(sH(i)?Oie(i):i)}}_stateRcdataLessThanSign(i){i===$e.SOLIDUS?this.state=Ve.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Ve.RCDATA,this._stateRcdata(i))}_stateRcdataEndTagOpen(i){Lk(i)?(this.state=Ve.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(i)):(this._emitChars("</"),this.state=Ve.RCDATA,this._stateRcdata(i))}handleSpecialEndTag(i){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const s=this.currentToken;switch(s.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Ve.BEFORE_ATTRIBUTE_NAME,!1;case $e.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Ve.SELF_CLOSING_START_TAG,!1;case $e.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Ve.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.RCDATA,this._stateRcdata(i))}_stateRawtextLessThanSign(i){i===$e.SOLIDUS?this.state=Ve.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagOpen(i){Lk(i)?(this.state=Ve.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(i)):(this._emitChars("</"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateScriptDataLessThanSign(i){switch(i){case $e.SOLIDUS:{this.state=Ve.SCRIPT_DATA_END_TAG_OPEN;break}case $e.EXCLAMATION_MARK:{this.state=Ve.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i)}}_stateScriptDataEndTagOpen(i){Lk(i)?(this.state=Ve.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(i)):(this._emitChars("</"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStart(i){i===$e.HYPHEN_MINUS?(this.state=Ve.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStartDash(i){i===$e.HYPHEN_MINUS?(this.state=Ve.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscaped(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptDataEscapedDash(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitChars(Oc);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedDashDash(i){switch(i){case $e.HYPHEN_MINUS:{this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.SCRIPT_DATA,this._emitChars(">");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitChars(Oc);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedLessThanSign(i){i===$e.SOLIDUS?this.state=Ve.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Lk(i)?(this._emitChars("<"),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(i)):(this._emitChars("<"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagOpen(i){Lk(i)?(this.state=Ve.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(i)):(this._emitChars("</"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscapeStart(i){if(this.preprocessor.startsWith(tb.SCRIPT,!1)&&u$t(this.preprocessor.peek(tb.SCRIPT.length))){this._emitCodePoint(i);for(let s=0;s<tb.SCRIPT.length;s++)this._emitCodePoint(this._consume());this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscaped(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Oc);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDash(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Oc);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDashDash(i){switch(i){case $e.HYPHEN_MINUS:{this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $e.GREATER_THAN_SIGN:{this.state=Ve.SCRIPT_DATA,this._emitChars(">");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Oc);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedLessThanSign(i){i===$e.SOLIDUS?(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateScriptDataDoubleEscapeEnd(i){if(this.preprocessor.startsWith(tb.SCRIPT,!1)&&u$t(this.preprocessor.peek(tb.SCRIPT.length))){this._emitCodePoint(i);for(let s=0;s<tb.SCRIPT.length;s++)this._emitCodePoint(this._consume());this.state=Ve.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateBeforeAttributeName(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.SOLIDUS:case $e.GREATER_THAN_SIGN:case $e.EOF:{this.state=Ve.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break}case $e.EQUALS_SIGN:{this._err(sn.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Ve.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=Ve.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateAttributeName(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:case $e.SOLIDUS:case $e.GREATER_THAN_SIGN:case $e.EOF:{this._leaveAttrName(),this.state=Ve.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break}case $e.EQUALS_SIGN:{this._leaveAttrName(),this.state=Ve.BEFORE_ATTRIBUTE_VALUE;break}case $e.QUOTATION_MARK:case $e.APOSTROPHE:case $e.LESS_THAN_SIGN:{this._err(sn.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(i);break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.name+=Oc;break}default:this.currentAttr.name+=String.fromCodePoint(sH(i)?Oie(i):i)}}_stateAfterAttributeName(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.SOLIDUS:{this.state=Ve.SELF_CLOSING_START_TAG;break}case $e.EQUALS_SIGN:{this.state=Ve.BEFORE_ATTRIBUTE_VALUE;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=Ve.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateBeforeAttributeValue(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.QUOTATION_MARK:{this.state=Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this.state=Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingAttributeValue),this.state=Ve.DATA,this.emitCurrentTagToken();break}default:this.state=Ve.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(i)}}_stateAttributeValueDoubleQuoted(i){switch(i){case $e.QUOTATION_MARK:{this.state=Ve.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Oc;break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueSingleQuoted(i){switch(i){case $e.APOSTROPHE:{this.state=Ve.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Oc;break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueUnquoted(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this._leaveAttrValue(),this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Oc;break}case $e.QUOTATION_MARK:case $e.APOSTROPHE:case $e.LESS_THAN_SIGN:case $e.EQUALS_SIGN:case $e.GRAVE_ACCENT:{this._err(sn.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(i);break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAfterAttributeValueQuoted(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this._leaveAttrValue(),this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case $e.SOLIDUS:{this._leaveAttrValue(),this.state=Ve.SELF_CLOSING_START_TAG;break}case $e.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._err(sn.missingWhitespaceBetweenAttributes),this.state=Ve.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateSelfClosingStartTag(i){switch(i){case $e.GREATER_THAN_SIGN:{const s=this.currentToken;s.selfClosing=!0,this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._err(sn.unexpectedSolidusInTag),this.state=Ve.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateBogusComment(i){const s=this.currentToken;switch(i){case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EOF:{this.emitCurrentComment(s),this._emitEOFToken();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.data+=Oc;break}default:s.data+=String.fromCodePoint(i)}}_stateMarkupDeclarationOpen(i){this._consumeSequenceIfMatch(tb.DASH_DASH,!0)?(this._createCommentToken(tb.DASH_DASH.length+1),this.state=Ve.COMMENT_START):this._consumeSequenceIfMatch(tb.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tb.DOCTYPE.length+1),this.state=Ve.DOCTYPE):this._consumeSequenceIfMatch(tb.CDATA_START,!0)?this.inForeignNode?this.state=Ve.CDATA_SECTION:(this._err(sn.cdataInHtmlContent),this._createCommentToken(tb.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=Ve.BOGUS_COMMENT):this._ensureHibernation()||(this._err(sn.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i))}_stateCommentStart(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_START_DASH;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptClosingOfEmptyComment),this.state=Ve.DATA;const s=this.currentToken;this.emitCurrentComment(s);break}default:this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentStartDash(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_END;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptClosingOfEmptyComment),this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="-",this.state=Ve.COMMENT,this._stateComment(i)}}_stateComment(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_END_DASH;break}case $e.LESS_THAN_SIGN:{s.data+="<",this.state=Ve.COMMENT_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.data+=Oc;break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+=String.fromCodePoint(i)}}_stateCommentLessThanSign(i){const s=this.currentToken;switch(i){case $e.EXCLAMATION_MARK:{s.data+="!",this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG;break}case $e.LESS_THAN_SIGN:{s.data+="<";break}default:this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentLessThanSignBang(i){i===$e.HYPHEN_MINUS?this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Ve.COMMENT,this._stateComment(i))}_stateCommentLessThanSignBangDash(i){i===$e.HYPHEN_MINUS?this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Ve.COMMENT_END_DASH,this._stateCommentEndDash(i))}_stateCommentLessThanSignBangDashDash(i){i!==$e.GREATER_THAN_SIGN&&i!==$e.EOF&&this._err(sn.nestedComment),this.state=Ve.COMMENT_END,this._stateCommentEnd(i)}_stateCommentEndDash(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_END;break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="-",this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentEnd(i){const s=this.currentToken;switch(i){case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EXCLAMATION_MARK:{this.state=Ve.COMMENT_END_BANG;break}case $e.HYPHEN_MINUS:{s.data+="-";break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="--",this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentEndBang(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{s.data+="--!",this.state=Ve.COMMENT_END_DASH;break}case $e.GREATER_THAN_SIGN:{this._err(sn.incorrectlyClosedComment),this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="--!",this.state=Ve.COMMENT,this._stateComment(i)}}_stateDoctype(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_NAME;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i);break}case $e.EOF:{this._err(sn.eofInDoctype),this._createDoctypeToken(null);const s=this.currentToken;s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingWhitespaceBeforeDoctypeName),this.state=Ve.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i)}}_stateBeforeDoctypeName(i){if(sH(i))this._createDoctypeToken(String.fromCharCode(Oie(i))),this.state=Ve.DOCTYPE_NAME;else switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._createDoctypeToken(Oc),this.state=Ve.DOCTYPE_NAME;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeName),this._createDoctypeToken(null);const s=this.currentToken;s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),this._createDoctypeToken(null);const s=this.currentToken;s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(i)),this.state=Ve.DOCTYPE_NAME}}_stateDoctypeName(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.AFTER_DOCTYPE_NAME;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.name+=Oc;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.name+=String.fromCodePoint(sH(i)?Oie(i):i)}}_stateAfterDoctypeName(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(tb.PUBLIC,!1)?this.state=Ve.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tb.SYSTEM,!1)?this.state=Ve.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(sn.invalidCharacterSequenceAfterDoctypeName),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i))}}_stateAfterDoctypePublicKeyword(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case $e.QUOTATION_MARK:{this._err(sn.missingWhitespaceAfterDoctypePublicKeyword),s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this._err(sn.missingWhitespaceAfterDoctypePublicKeyword),s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypePublicIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.QUOTATION_MARK:{s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypePublicIdentifierDoubleQuoted(i){const s=this.currentToken;switch(i){case $e.QUOTATION_MARK:{this.state=Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.publicId+=Oc;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypePublicIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.publicId+=String.fromCodePoint(i)}}_stateDoctypePublicIdentifierSingleQuoted(i){const s=this.currentToken;switch(i){case $e.APOSTROPHE:{this.state=Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.publicId+=Oc;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypePublicIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.publicId+=String.fromCodePoint(i)}}_stateAfterDoctypePublicIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.QUOTATION_MARK:{this._err(sn.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this._err(sn.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBetweenDoctypePublicAndSystemIdentifiers(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.GREATER_THAN_SIGN:{this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.QUOTATION_MARK:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateAfterDoctypeSystemKeyword(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case $e.QUOTATION_MARK:{this._err(sn.missingWhitespaceAfterDoctypeSystemKeyword),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this._err(sn.missingWhitespaceAfterDoctypeSystemKeyword),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypeSystemIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.QUOTATION_MARK:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypeSystemIdentifierDoubleQuoted(i){const s=this.currentToken;switch(i){case $e.QUOTATION_MARK:{this.state=Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.systemId+=Oc;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypeSystemIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.systemId+=String.fromCodePoint(i)}}_stateDoctypeSystemIdentifierSingleQuoted(i){const s=this.currentToken;switch(i){case $e.APOSTROPHE:{this.state=Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.systemId+=Oc;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypeSystemIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.systemId+=String.fromCodePoint(i)}}_stateAfterDoctypeSystemIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.GREATER_THAN_SIGN:{this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBogusDoctype(i){const s=this.currentToken;switch(i){case $e.GREATER_THAN_SIGN:{this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter);break}case $e.EOF:{this.emitCurrentDoctype(s),this._emitEOFToken();break}}}_stateCdataSection(i){switch(i){case $e.RIGHT_SQUARE_BRACKET:{this.state=Ve.CDATA_SECTION_BRACKET;break}case $e.EOF:{this._err(sn.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateCdataSectionBracket(i){i===$e.RIGHT_SQUARE_BRACKET?this.state=Ve.CDATA_SECTION_END:(this._emitChars("]"),this.state=Ve.CDATA_SECTION,this._stateCdataSection(i))}_stateCdataSectionEnd(i){switch(i){case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA;break}case $e.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=Ve.CDATA_SECTION,this._stateCdataSection(i)}}_stateCharacterReference(){let i=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(i<0)if(this.preprocessor.lastChunkWritten)i=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}i===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference($e.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&a$t(this.preprocessor.peek(1))?Ve.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(i){a$t(i)?this._flushCodePointConsumedAsCharacterReference(i):(i===$e.SEMICOLON&&this._err(sn.unknownNamedCharacterReference),this.state=this.returnState,this._callState(i))}}const FJt=new Set([W.DD,W.DT,W.LI,W.OPTGROUP,W.OPTION,W.P,W.RB,W.RP,W.RT,W.RTC]),c$t=new Set([...FJt,W.CAPTION,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]),Ase=new Set([W.APPLET,W.CAPTION,W.HTML,W.MARQUEE,W.OBJECT,W.TABLE,W.TD,W.TEMPLATE,W.TH]),wor=new Set([...Ase,W.OL,W.UL]),yor=new Set([...Ase,W.BUTTON]),l$t=new Set([W.ANNOTATION_XML,W.MI,W.MN,W.MO,W.MS,W.MTEXT]),d$t=new Set([W.DESC,W.FOREIGN_OBJECT,W.TITLE]),vor=new Set([W.TR,W.TEMPLATE,W.HTML]),Eor=new Set([W.TBODY,W.TFOOT,W.THEAD,W.TEMPLATE,W.HTML]),Sor=new Set([W.TABLE,W.TEMPLATE,W.HTML]),Tor=new Set([W.TD,W.TH]);class Aor{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(i,s,c){this.treeAdapter=s,this.handler=c,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=W.UNKNOWN,this.current=i}_indexOf(i){return this.items.lastIndexOf(i,this.stackTop)}_isInTemplate(){return this.currentTagId===W.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Fn.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(i,s){this.stackTop++,this.items[this.stackTop]=i,this.current=i,this.tagIDs[this.stackTop]=s,this.currentTagId=s,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(i,s,!0)}pop(){const i=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!0)}replace(i,s){const c=this._indexOf(i);this.items[c]=s,c===this.stackTop&&(this.current=s)}insertAfter(i,s,c){const d=this._indexOf(i)+1;this.items.splice(d,0,s),this.tagIDs.splice(d,0,c),this.stackTop++,d===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,d===this.stackTop)}popUntilTagNamePopped(i){let s=this.stackTop+1;do s=this.tagIDs.lastIndexOf(i,s-1);while(s>0&&this.treeAdapter.getNamespaceURI(this.items[s])!==Fn.HTML);this.shortenToLength(Math.max(s,0))}shortenToLength(i){for(;this.stackTop>=i;){const s=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(s,this.stackTop<i)}}popUntilElementPopped(i){const s=this._indexOf(i);this.shortenToLength(Math.max(s,0))}popUntilPopped(i,s){const c=this._indexOfTagNames(i,s);this.shortenToLength(Math.max(c,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(lLe,Fn.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Tor,Fn.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(i,s){for(let c=this.stackTop;c>=0;c--)if(i.has(this.tagIDs[c])&&this.treeAdapter.getNamespaceURI(this.items[c])===s)return c;return-1}clearBackTo(i,s){const c=this._indexOfTagNames(i,s);this.shortenToLength(c+1)}clearBackToTableContext(){this.clearBackTo(Sor,Fn.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Eor,Fn.HTML)}clearBackToTableRowContext(){this.clearBackTo(vor,Fn.HTML)}remove(i){const s=this._indexOf(i);s>=0&&(s===this.stackTop?this.pop():(this.items.splice(s,1),this.tagIDs.splice(s,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===W.BODY?this.items[1]:null}contains(i){return this._indexOf(i)>-1}getCommonAncestor(i){const s=this._indexOf(i)-1;return s>=0?this.items[s]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===W.HTML}hasInDynamicScope(i,s){for(let c=this.stackTop;c>=0;c--){const d=this.tagIDs[c];switch(this.treeAdapter.getNamespaceURI(this.items[c])){case Fn.HTML:{if(d===i)return!0;if(s.has(d))return!1;break}case Fn.SVG:{if(d$t.has(d))return!1;break}case Fn.MATHML:{if(l$t.has(d))return!1;break}}}return!0}hasInScope(i){return this.hasInDynamicScope(i,Ase)}hasInListItemScope(i){return this.hasInDynamicScope(i,wor)}hasInButtonScope(i){return this.hasInDynamicScope(i,yor)}hasNumberedHeaderInScope(){for(let i=this.stackTop;i>=0;i--){const s=this.tagIDs[i];switch(this.treeAdapter.getNamespaceURI(this.items[i])){case Fn.HTML:{if(lLe.has(s))return!0;if(Ase.has(s))return!1;break}case Fn.SVG:{if(d$t.has(s))return!1;break}case Fn.MATHML:{if(l$t.has(s))return!1;break}}}return!0}hasInTableScope(i){for(let s=this.stackTop;s>=0;s--)if(this.treeAdapter.getNamespaceURI(this.items[s])===Fn.HTML)switch(this.tagIDs[s]){case i:return!0;case W.TABLE:case W.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let i=this.stackTop;i>=0;i--)if(this.treeAdapter.getNamespaceURI(this.items[i])===Fn.HTML)switch(this.tagIDs[i]){case W.TBODY:case W.THEAD:case W.TFOOT:return!0;case W.TABLE:case W.HTML:return!1}return!0}hasInSelectScope(i){for(let s=this.stackTop;s>=0;s--)if(this.treeAdapter.getNamespaceURI(this.items[s])===Fn.HTML)switch(this.tagIDs[s]){case i:return!0;case W.OPTION:case W.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&FJt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&c$t.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(i){for(;this.currentTagId!==void 0&&this.currentTagId!==i&&c$t.has(this.currentTagId);)this.pop()}}const YOe=3;var I2;(function(n){n[n.Marker=0]="Marker",n[n.Element=1]="Element"})(I2||(I2={}));const f$t={type:I2.Marker};class _or{constructor(i){this.treeAdapter=i,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(i,s){const c=[],d=s.length,g=this.treeAdapter.getTagName(i),b=this.treeAdapter.getNamespaceURI(i);for(let w=0;w<this.entries.length;w++){const E=this.entries[w];if(E.type===I2.Marker)break;const{element:S}=E;if(this.treeAdapter.getTagName(S)===g&&this.treeAdapter.getNamespaceURI(S)===b){const x=this.treeAdapter.getAttrList(S);x.length===d&&c.push({idx:w,attrs:x})}}return c}_ensureNoahArkCondition(i){if(this.entries.length<YOe)return;const s=this.treeAdapter.getAttrList(i),c=this._getNoahArkConditionCandidates(i,s);if(c.length<YOe)return;const d=new Map(s.map(b=>[b.name,b.value]));let g=0;for(let b=0;b<c.length;b++){const w=c[b];w.attrs.every(E=>d.get(E.name)===E.value)&&(g+=1,g>=YOe&&this.entries.splice(w.idx,1))}}insertMarker(){this.entries.unshift(f$t)}pushElement(i,s){this._ensureNoahArkCondition(i),this.entries.unshift({type:I2.Element,element:i,token:s})}insertElementAfterBookmark(i,s){const c=this.entries.indexOf(this.bookmark);this.entries.splice(c,0,{type:I2.Element,element:i,token:s})}removeEntry(i){const s=this.entries.indexOf(i);s!==-1&&this.entries.splice(s,1)}clearToLastMarker(){const i=this.entries.indexOf(f$t);i===-1?this.entries.length=0:this.entries.splice(0,i+1)}getElementEntryInScopeWithTagName(i){const s=this.entries.find(c=>c.type===I2.Marker||this.treeAdapter.getTagName(c.element)===i);return s&&s.type===I2.Element?s:null}getElementEntry(i){return this.entries.find(s=>s.type===I2.Element&&s.element===i)}}const Mk={createDocument(){return{nodeName:"#document",mode:ww.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(n,i,s){return{nodeName:n,tagName:n,attrs:s,namespaceURI:i,childNodes:[],parentNode:null}},createCommentNode(n){return{nodeName:"#comment",data:n,parentNode:null}},createTextNode(n){return{nodeName:"#text",value:n,parentNode:null}},appendChild(n,i){n.childNodes.push(i),i.parentNode=n},insertBefore(n,i,s){const c=n.childNodes.indexOf(s);n.childNodes.splice(c,0,i),i.parentNode=n},setTemplateContent(n,i){n.content=i},getTemplateContent(n){return n.content},setDocumentType(n,i,s,c){const d=n.childNodes.find(g=>g.nodeName==="#documentType");if(d)d.name=i,d.publicId=s,d.systemId=c;else{const g={nodeName:"#documentType",name:i,publicId:s,systemId:c,parentNode:null};Mk.appendChild(n,g)}},setDocumentMode(n,i){n.mode=i},getDocumentMode(n){return n.mode},detachNode(n){if(n.parentNode){const i=n.parentNode.childNodes.indexOf(n);n.parentNode.childNodes.splice(i,1),n.parentNode=null}},insertText(n,i){if(n.childNodes.length>0){const s=n.childNodes[n.childNodes.length-1];if(Mk.isTextNode(s)){s.value+=i;return}}Mk.appendChild(n,Mk.createTextNode(i))},insertTextBefore(n,i,s){const c=n.childNodes[n.childNodes.indexOf(s)-1];c&&Mk.isTextNode(c)?c.value+=i:Mk.insertBefore(n,Mk.createTextNode(i),s)},adoptAttributes(n,i){const s=new Set(n.attrs.map(c=>c.name));for(let c=0;c<i.length;c++)s.has(i[c].name)||n.attrs.push(i[c])},getFirstChild(n){return n.childNodes[0]},getChildNodes(n){return n.childNodes},getParentNode(n){return n.parentNode},getAttrList(n){return n.attrs},getTagName(n){return n.tagName},getNamespaceURI(n){return n.namespaceURI},getTextNodeContent(n){return n.value},getCommentNodeContent(n){return n.data},getDocumentTypeNodeName(n){return n.name},getDocumentTypeNodePublicId(n){return n.publicId},getDocumentTypeNodeSystemId(n){return n.systemId},isTextNode(n){return n.nodeName==="#text"},isCommentNode(n){return n.nodeName==="#comment"},isDocumentTypeNode(n){return n.nodeName==="#documentType"},isElementNode(n){return Object.prototype.hasOwnProperty.call(n,"tagName")},setNodeSourceCodeLocation(n,i){n.sourceCodeLocation=i},getNodeSourceCodeLocation(n){return n.sourceCodeLocation},updateNodeSourceCodeLocation(n,i){n.sourceCodeLocation={...n.sourceCodeLocation,...i}}},$Jt="html",xor="about:legacy-compat",kor="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",BJt=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Nor=[...BJt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Cor=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),UJt=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Ior=[...UJt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function h$t(n,i){return i.some(s=>n.startsWith(s))}function Ror(n){return n.name===$Jt&&n.publicId===null&&(n.systemId===null||n.systemId===xor)}function Oor(n){if(n.name!==$Jt)return ww.QUIRKS;const{systemId:i}=n;if(i&&i.toLowerCase()===kor)return ww.QUIRKS;let{publicId:s}=n;if(s!==null){if(s=s.toLowerCase(),Cor.has(s))return ww.QUIRKS;let c=i===null?Nor:BJt;if(h$t(s,c))return ww.QUIRKS;if(c=i===null?UJt:Ior,h$t(s,c))return ww.LIMITED_QUIRKS}return ww.NO_QUIRKS}const p$t={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Dor="definitionurl",Lor="definitionURL",Mor=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(n=>[n.toLowerCase(),n])),Por=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Fn.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Fn.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Fn.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Fn.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Fn.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Fn.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Fn.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Fn.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Fn.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Fn.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Fn.XMLNS}]]),jor=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(n=>[n.toLowerCase(),n])),For=new Set([W.B,W.BIG,W.BLOCKQUOTE,W.BODY,W.BR,W.CENTER,W.CODE,W.DD,W.DIV,W.DL,W.DT,W.EM,W.EMBED,W.H1,W.H2,W.H3,W.H4,W.H5,W.H6,W.HEAD,W.HR,W.I,W.IMG,W.LI,W.LISTING,W.MENU,W.META,W.NOBR,W.OL,W.P,W.PRE,W.RUBY,W.S,W.SMALL,W.SPAN,W.STRONG,W.STRIKE,W.SUB,W.SUP,W.TABLE,W.TT,W.U,W.UL,W.VAR]);function $or(n){const i=n.tagID;return i===W.FONT&&n.attrs.some(({name:c})=>c===iR.COLOR||c===iR.SIZE||c===iR.FACE)||For.has(i)}function HJt(n){for(let i=0;i<n.attrs.length;i++)if(n.attrs[i].name===Dor){n.attrs[i].name=Lor;break}}function zJt(n){for(let i=0;i<n.attrs.length;i++){const s=Mor.get(n.attrs[i].name);s!=null&&(n.attrs[i].name=s)}}function s9e(n){for(let i=0;i<n.attrs.length;i++){const s=Por.get(n.attrs[i].name);s&&(n.attrs[i].prefix=s.prefix,n.attrs[i].name=s.name,n.attrs[i].namespace=s.namespace)}}function Bor(n){const i=jor.get(n.tagName);i!=null&&(n.tagName=i,n.tagID=iue(n.tagName))}function Uor(n,i){return i===Fn.MATHML&&(n===W.MI||n===W.MO||n===W.MN||n===W.MS||n===W.MTEXT)}function Hor(n,i,s){if(i===Fn.MATHML&&n===W.ANNOTATION_XML){for(let c=0;c<s.length;c++)if(s[c].name===iR.ENCODING){const d=s[c].value.toLowerCase();return d===p$t.TEXT_HTML||d===p$t.APPLICATION_XML}}return i===Fn.SVG&&(n===W.FOREIGN_OBJECT||n===W.DESC||n===W.TITLE)}function zor(n,i,s,c){return(!c||c===Fn.HTML)&&Hor(n,i,s)||(!c||c===Fn.MATHML)&&Uor(n,i)}const Gor="hidden",qor=8,Vor=3;var ut;(function(n){n[n.INITIAL=0]="INITIAL",n[n.BEFORE_HTML=1]="BEFORE_HTML",n[n.BEFORE_HEAD=2]="BEFORE_HEAD",n[n.IN_HEAD=3]="IN_HEAD",n[n.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",n[n.AFTER_HEAD=5]="AFTER_HEAD",n[n.IN_BODY=6]="IN_BODY",n[n.TEXT=7]="TEXT",n[n.IN_TABLE=8]="IN_TABLE",n[n.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",n[n.IN_CAPTION=10]="IN_CAPTION",n[n.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",n[n.IN_TABLE_BODY=12]="IN_TABLE_BODY",n[n.IN_ROW=13]="IN_ROW",n[n.IN_CELL=14]="IN_CELL",n[n.IN_SELECT=15]="IN_SELECT",n[n.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",n[n.IN_TEMPLATE=17]="IN_TEMPLATE",n[n.AFTER_BODY=18]="AFTER_BODY",n[n.IN_FRAMESET=19]="IN_FRAMESET",n[n.AFTER_FRAMESET=20]="AFTER_FRAMESET",n[n.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",n[n.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(ut||(ut={}));const Wor={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},GJt=new Set([W.TABLE,W.TBODY,W.TFOOT,W.THEAD,W.TR]),g$t={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Mk,onParseError:null};class qJt{constructor(i,s,c=null,d=null){this.fragmentContext=c,this.scriptHandler=d,this.currentToken=null,this.stopped=!1,this.insertionMode=ut.INITIAL,this.originalInsertionMode=ut.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...g$t,...i},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=s??this.treeAdapter.createDocument(),this.tokenizer=new mor(this.options,this),this.activeFormattingElements=new _or(this.treeAdapter),this.fragmentContextID=c?iue(this.treeAdapter.getTagName(c)):W.UNKNOWN,this._setContextModes(c??this.document,this.fragmentContextID),this.openElements=new Aor(this.document,this.treeAdapter,this)}static parse(i,s){const c=new this(s);return c.tokenizer.write(i,!0),c.document}static getFragmentParser(i,s){const c={...g$t,...s};i??(i=c.treeAdapter.createElement(Pt.TEMPLATE,Fn.HTML,[]));const d=c.treeAdapter.createElement("documentmock",Fn.HTML,[]),g=new this(c,d,i);return g.fragmentContextID===W.TEMPLATE&&g.tmplInsertionModeStack.unshift(ut.IN_TEMPLATE),g._initTokenizerForFragmentParsing(),g._insertFakeRootElement(),g._resetInsertionMode(),g._findFormInFragmentContext(),g}getFragment(){const i=this.treeAdapter.getFirstChild(this.document),s=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,s),s}_err(i,s,c){var d;if(!this.onParseError)return;const g=(d=i.location)!==null&&d!==void 0?d:Wor,b={code:s,startLine:g.startLine,startCol:g.startCol,startOffset:g.startOffset,endLine:c?g.startLine:g.endLine,endCol:c?g.startCol:g.endCol,endOffset:c?g.startOffset:g.endOffset};this.onParseError(b)}onItemPush(i,s,c){var d,g;(g=(d=this.treeAdapter).onItemPush)===null||g===void 0||g.call(d,i),c&&this.openElements.stackTop>0&&this._setContextModes(i,s)}onItemPop(i,s){var c,d;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(i,this.currentToken),(d=(c=this.treeAdapter).onItemPop)===null||d===void 0||d.call(c,i,this.openElements.current),s){let g,b;this.openElements.stackTop===0&&this.fragmentContext?(g=this.fragmentContext,b=this.fragmentContextID):{current:g,currentTagId:b}=this.openElements,this._setContextModes(g,b)}}_setContextModes(i,s){const c=i===this.document||i&&this.treeAdapter.getNamespaceURI(i)===Fn.HTML;this.currentNotInHTML=!c,this.tokenizer.inForeignNode=!c&&i!==void 0&&s!==void 0&&!this._isIntegrationPoint(s,i)}_switchToTextParsing(i,s){this._insertElement(i,Fn.HTML),this.tokenizer.state=s,this.originalInsertionMode=this.insertionMode,this.insertionMode=ut.TEXT}switchToPlaintextParsing(){this.insertionMode=ut.TEXT,this.originalInsertionMode=ut.IN_BODY,this.tokenizer.state=ob.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let i=this.fragmentContext;for(;i;){if(this.treeAdapter.getTagName(i)===Pt.FORM){this.formElement=i;break}i=this.treeAdapter.getParentNode(i)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Fn.HTML))switch(this.fragmentContextID){case W.TITLE:case W.TEXTAREA:{this.tokenizer.state=ob.RCDATA;break}case W.STYLE:case W.XMP:case W.IFRAME:case W.NOEMBED:case W.NOFRAMES:case W.NOSCRIPT:{this.tokenizer.state=ob.RAWTEXT;break}case W.SCRIPT:{this.tokenizer.state=ob.SCRIPT_DATA;break}case W.PLAINTEXT:{this.tokenizer.state=ob.PLAINTEXT;break}}}_setDocumentType(i){const s=i.name||"",c=i.publicId||"",d=i.systemId||"";if(this.treeAdapter.setDocumentType(this.document,s,c,d),i.location){const b=this.treeAdapter.getChildNodes(this.document).find(w=>this.treeAdapter.isDocumentTypeNode(w));b&&this.treeAdapter.setNodeSourceCodeLocation(b,i.location)}}_attachElementToTree(i,s){if(this.options.sourceCodeLocationInfo){const c=s&&{...s,startTag:s};this.treeAdapter.setNodeSourceCodeLocation(i,c)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(i);else{const c=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(c??this.document,i)}}_appendElement(i,s){const c=this.treeAdapter.createElement(i.tagName,s,i.attrs);this._attachElementToTree(c,i.location)}_insertElement(i,s){const c=this.treeAdapter.createElement(i.tagName,s,i.attrs);this._attachElementToTree(c,i.location),this.openElements.push(c,i.tagID)}_insertFakeElement(i,s){const c=this.treeAdapter.createElement(i,Fn.HTML,[]);this._attachElementToTree(c,null),this.openElements.push(c,s)}_insertTemplate(i){const s=this.treeAdapter.createElement(i.tagName,Fn.HTML,i.attrs),c=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(s,c),this._attachElementToTree(s,i.location),this.openElements.push(s,i.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,null)}_insertFakeRootElement(){const i=this.treeAdapter.createElement(Pt.HTML,Fn.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null),this.treeAdapter.appendChild(this.openElements.current,i),this.openElements.push(i,W.HTML)}_appendCommentNode(i,s){const c=this.treeAdapter.createCommentNode(i.data);this.treeAdapter.appendChild(s,c),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,i.location)}_insertCharacters(i){let s,c;if(this._shouldFosterParentOnInsertion()?({parent:s,beforeElement:c}=this._findFosterParentingLocation(),c?this.treeAdapter.insertTextBefore(s,i.chars,c):this.treeAdapter.insertText(s,i.chars)):(s=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(s,i.chars)),!i.location)return;const d=this.treeAdapter.getChildNodes(s),g=c?d.lastIndexOf(c):d.length,b=d[g-1];if(this.treeAdapter.getNodeSourceCodeLocation(b)){const{endLine:E,endCol:S,endOffset:x}=i.location;this.treeAdapter.updateNodeSourceCodeLocation(b,{endLine:E,endCol:S,endOffset:x})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(b,i.location)}_adoptNodes(i,s){for(let c=this.treeAdapter.getFirstChild(i);c;c=this.treeAdapter.getFirstChild(i))this.treeAdapter.detachNode(c),this.treeAdapter.appendChild(s,c)}_setEndLocation(i,s){if(this.treeAdapter.getNodeSourceCodeLocation(i)&&s.location){const c=s.location,d=this.treeAdapter.getTagName(i),g=s.type===ha.END_TAG&&d===s.tagName?{endTag:{...c},endLine:c.endLine,endCol:c.endCol,endOffset:c.endOffset}:{endLine:c.startLine,endCol:c.startCol,endOffset:c.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(i,g)}}shouldProcessStartTagTokenInForeignContent(i){if(!this.currentNotInHTML)return!1;let s,c;return this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,c=this.fragmentContextID):{current:s,currentTagId:c}=this.openElements,i.tagID===W.SVG&&this.treeAdapter.getTagName(s)===Pt.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(s)===Fn.MATHML?!1:this.tokenizer.inForeignNode||(i.tagID===W.MGLYPH||i.tagID===W.MALIGNMARK)&&c!==void 0&&!this._isIntegrationPoint(c,s,Fn.HTML)}_processToken(i){switch(i.type){case ha.CHARACTER:{this.onCharacter(i);break}case ha.NULL_CHARACTER:{this.onNullCharacter(i);break}case ha.COMMENT:{this.onComment(i);break}case ha.DOCTYPE:{this.onDoctype(i);break}case ha.START_TAG:{this._processStartTag(i);break}case ha.END_TAG:{this.onEndTag(i);break}case ha.EOF:{this.onEof(i);break}case ha.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(i);break}}}_isIntegrationPoint(i,s,c){const d=this.treeAdapter.getNamespaceURI(s),g=this.treeAdapter.getAttrList(s);return zor(i,d,g,c)}_reconstructActiveFormattingElements(){const i=this.activeFormattingElements.entries.length;if(i){const s=this.activeFormattingElements.entries.findIndex(d=>d.type===I2.Marker||this.openElements.contains(d.element)),c=s===-1?i-1:s-1;for(let d=c;d>=0;d--){const g=this.activeFormattingElements.entries[d];this._insertElement(g.token,this.treeAdapter.getNamespaceURI(g.element)),g.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ut.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(W.P),this.openElements.popUntilTagNamePopped(W.P)}_resetInsertionMode(){for(let i=this.openElements.stackTop;i>=0;i--)switch(i===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[i]){case W.TR:{this.insertionMode=ut.IN_ROW;return}case W.TBODY:case W.THEAD:case W.TFOOT:{this.insertionMode=ut.IN_TABLE_BODY;return}case W.CAPTION:{this.insertionMode=ut.IN_CAPTION;return}case W.COLGROUP:{this.insertionMode=ut.IN_COLUMN_GROUP;return}case W.TABLE:{this.insertionMode=ut.IN_TABLE;return}case W.BODY:{this.insertionMode=ut.IN_BODY;return}case W.FRAMESET:{this.insertionMode=ut.IN_FRAMESET;return}case W.SELECT:{this._resetInsertionModeForSelect(i);return}case W.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case W.HTML:{this.insertionMode=this.headElement?ut.AFTER_HEAD:ut.BEFORE_HEAD;return}case W.TD:case W.TH:{if(i>0){this.insertionMode=ut.IN_CELL;return}break}case W.HEAD:{if(i>0){this.insertionMode=ut.IN_HEAD;return}break}}this.insertionMode=ut.IN_BODY}_resetInsertionModeForSelect(i){if(i>0)for(let s=i-1;s>0;s--){const c=this.openElements.tagIDs[s];if(c===W.TEMPLATE)break;if(c===W.TABLE){this.insertionMode=ut.IN_SELECT_IN_TABLE;return}}this.insertionMode=ut.IN_SELECT}_isElementCausesFosterParenting(i){return GJt.has(i)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let i=this.openElements.stackTop;i>=0;i--){const s=this.openElements.items[i];switch(this.openElements.tagIDs[i]){case W.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(s)===Fn.HTML)return{parent:this.treeAdapter.getTemplateContent(s),beforeElement:null};break}case W.TABLE:{const c=this.treeAdapter.getParentNode(s);return c?{parent:c,beforeElement:s}:{parent:this.openElements.items[i-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(i){const s=this._findFosterParentingLocation();s.beforeElement?this.treeAdapter.insertBefore(s.parent,i,s.beforeElement):this.treeAdapter.appendChild(s.parent,i)}_isSpecialElement(i,s){const c=this.treeAdapter.getNamespaceURI(i);return hor[c].has(s)}onCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Aar(this,i);return}switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{vH(this,i);break}case ut.BEFORE_HEAD:{EH(this,i);break}case ut.IN_HEAD:{SH(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{TH(this,i);break}case ut.AFTER_HEAD:{AH(this,i);break}case ut.IN_BODY:case ut.IN_CAPTION:case ut.IN_CELL:case ut.IN_TEMPLATE:{WJt(this,i);break}case ut.TEXT:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:{this._insertCharacters(i);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{JOe(this,i);break}case ut.IN_TABLE_TEXT:{QJt(this,i);break}case ut.IN_COLUMN_GROUP:{_se(this,i);break}case ut.AFTER_BODY:{xse(this,i);break}case ut.AFTER_AFTER_BODY:{soe(this,i);break}}}onNullCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Tar(this,i);return}switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{vH(this,i);break}case ut.BEFORE_HEAD:{EH(this,i);break}case ut.IN_HEAD:{SH(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{TH(this,i);break}case ut.AFTER_HEAD:{AH(this,i);break}case ut.TEXT:{this._insertCharacters(i);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{JOe(this,i);break}case ut.IN_COLUMN_GROUP:{_se(this,i);break}case ut.AFTER_BODY:{xse(this,i);break}case ut.AFTER_AFTER_BODY:{soe(this,i);break}}}onComment(i){if(this.skipNextNewLine=!1,this.currentNotInHTML){dLe(this,i);return}switch(this.insertionMode){case ut.INITIAL:case ut.BEFORE_HTML:case ut.BEFORE_HEAD:case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:case ut.IN_BODY:case ut.IN_TABLE:case ut.IN_CAPTION:case ut.IN_COLUMN_GROUP:case ut.IN_TABLE_BODY:case ut.IN_ROW:case ut.IN_CELL:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:case ut.IN_TEMPLATE:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:{dLe(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.AFTER_BODY:{esr(this,i);break}case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{tsr(this,i);break}}}onDoctype(i){switch(this.skipNextNewLine=!1,this.insertionMode){case ut.INITIAL:{nsr(this,i);break}case ut.BEFORE_HEAD:case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:{this._err(i,sn.misplacedDoctype);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}}}onStartTag(i){this.skipNextNewLine=!1,this.currentToken=i,this._processStartTag(i),i.selfClosing&&!i.ackSelfClosing&&this._err(i,sn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(i){this.shouldProcessStartTagTokenInForeignContent(i)?_ar(this,i):this._startTagOutsideForeignContent(i)}_startTagOutsideForeignContent(i){switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{rsr(this,i);break}case ut.BEFORE_HEAD:{osr(this,i);break}case ut.IN_HEAD:{Hv(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{usr(this,i);break}case ut.AFTER_HEAD:{lsr(this,i);break}case ut.IN_BODY:{Vp(this,i);break}case ut.IN_TABLE:{OM(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.IN_CAPTION:{sar(this,i);break}case ut.IN_COLUMN_GROUP:{c9e(this,i);break}case ut.IN_TABLE_BODY:{aue(this,i);break}case ut.IN_ROW:{uue(this,i);break}case ut.IN_CELL:{car(this,i);break}case ut.IN_SELECT:{nXt(this,i);break}case ut.IN_SELECT_IN_TABLE:{dar(this,i);break}case ut.IN_TEMPLATE:{har(this,i);break}case ut.AFTER_BODY:{gar(this,i);break}case ut.IN_FRAMESET:{bar(this,i);break}case ut.AFTER_FRAMESET:{war(this,i);break}case ut.AFTER_AFTER_BODY:{Ear(this,i);break}case ut.AFTER_AFTER_FRAMESET:{Sar(this,i);break}}}onEndTag(i){this.skipNextNewLine=!1,this.currentToken=i,this.currentNotInHTML?xar(this,i):this._endTagOutsideForeignContent(i)}_endTagOutsideForeignContent(i){switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{isr(this,i);break}case ut.BEFORE_HEAD:{ssr(this,i);break}case ut.IN_HEAD:{asr(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{csr(this,i);break}case ut.AFTER_HEAD:{dsr(this,i);break}case ut.IN_BODY:{sue(this,i);break}case ut.TEXT:{Jsr(this,i);break}case ut.IN_TABLE:{hz(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.IN_CAPTION:{aar(this,i);break}case ut.IN_COLUMN_GROUP:{uar(this,i);break}case ut.IN_TABLE_BODY:{fLe(this,i);break}case ut.IN_ROW:{tXt(this,i);break}case ut.IN_CELL:{lar(this,i);break}case ut.IN_SELECT:{rXt(this,i);break}case ut.IN_SELECT_IN_TABLE:{far(this,i);break}case ut.IN_TEMPLATE:{par(this,i);break}case ut.AFTER_BODY:{oXt(this,i);break}case ut.IN_FRAMESET:{mar(this,i);break}case ut.AFTER_FRAMESET:{yar(this,i);break}case ut.AFTER_AFTER_BODY:{soe(this,i);break}}}onEof(i){switch(this.insertionMode){case ut.INITIAL:{GU(this,i);break}case ut.BEFORE_HTML:{vH(this,i);break}case ut.BEFORE_HEAD:{EH(this,i);break}case ut.IN_HEAD:{SH(this,i);break}case ut.IN_HEAD_NO_SCRIPT:{TH(this,i);break}case ut.AFTER_HEAD:{AH(this,i);break}case ut.IN_BODY:case ut.IN_TABLE:case ut.IN_CAPTION:case ut.IN_COLUMN_GROUP:case ut.IN_TABLE_BODY:case ut.IN_ROW:case ut.IN_CELL:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:{XJt(this,i);break}case ut.TEXT:{Xsr(this,i);break}case ut.IN_TABLE_TEXT:{qU(this,i);break}case ut.IN_TEMPLATE:{iXt(this,i);break}case ut.AFTER_BODY:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{u9e(this,i);break}}}onWhitespaceCharacter(i){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,i.chars.charCodeAt(0)===$e.LINE_FEED)){if(i.chars.length===1)return;i.chars=i.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(i);return}switch(this.insertionMode){case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:case ut.TEXT:case ut.IN_COLUMN_GROUP:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:{this._insertCharacters(i);break}case ut.IN_BODY:case ut.IN_CAPTION:case ut.IN_CELL:case ut.IN_TEMPLATE:case ut.AFTER_BODY:case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{VJt(this,i);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{JOe(this,i);break}case ut.IN_TABLE_TEXT:{ZJt(this,i);break}}}}function Kor(n,i){let s=n.activeFormattingElements.getElementEntryInScopeWithTagName(i.tagName);return s?n.openElements.contains(s.element)?n.openElements.hasInScope(i.tagID)||(s=null):(n.activeFormattingElements.removeEntry(s),s=null):JJt(n,i),s}function Yor(n,i){let s=null,c=n.openElements.stackTop;for(;c>=0;c--){const d=n.openElements.items[c];if(d===i.element)break;n._isSpecialElement(d,n.openElements.tagIDs[c])&&(s=d)}return s||(n.openElements.shortenToLength(Math.max(c,0)),n.activeFormattingElements.removeEntry(i)),s}function Jor(n,i,s){let c=i,d=n.openElements.getCommonAncestor(i);for(let g=0,b=d;b!==s;g++,b=d){d=n.openElements.getCommonAncestor(b);const w=n.activeFormattingElements.getElementEntry(b),E=w&&g>=Vor;!w||E?(E&&n.activeFormattingElements.removeEntry(w),n.openElements.remove(b)):(b=Xor(n,w),c===i&&(n.activeFormattingElements.bookmark=w),n.treeAdapter.detachNode(c),n.treeAdapter.appendChild(b,c),c=b)}return c}function Xor(n,i){const s=n.treeAdapter.getNamespaceURI(i.element),c=n.treeAdapter.createElement(i.token.tagName,s,i.token.attrs);return n.openElements.replace(i.element,c),i.element=c,c}function Zor(n,i,s){const c=n.treeAdapter.getTagName(i),d=iue(c);if(n._isElementCausesFosterParenting(d))n._fosterParentElement(s);else{const g=n.treeAdapter.getNamespaceURI(i);d===W.TEMPLATE&&g===Fn.HTML&&(i=n.treeAdapter.getTemplateContent(i)),n.treeAdapter.appendChild(i,s)}}function Qor(n,i,s){const c=n.treeAdapter.getNamespaceURI(s.element),{token:d}=s,g=n.treeAdapter.createElement(d.tagName,c,d.attrs);n._adoptNodes(i,g),n.treeAdapter.appendChild(i,g),n.activeFormattingElements.insertElementAfterBookmark(g,d),n.activeFormattingElements.removeEntry(s),n.openElements.remove(s.element),n.openElements.insertAfter(i,g,d.tagID)}function a9e(n,i){for(let s=0;s<qor;s++){const c=Kor(n,i);if(!c)break;const d=Yor(n,c);if(!d)break;n.activeFormattingElements.bookmark=c;const g=Jor(n,d,c.element),b=n.openElements.getCommonAncestor(c.element);n.treeAdapter.detachNode(g),b&&Zor(n,b,g),Qor(n,d,c)}}function dLe(n,i){n._appendCommentNode(i,n.openElements.currentTmplContentOrNode)}function esr(n,i){n._appendCommentNode(i,n.openElements.items[0])}function tsr(n,i){n._appendCommentNode(i,n.document)}function u9e(n,i){if(n.stopped=!0,i.location){const s=n.fragmentContext?0:2;for(let c=n.openElements.stackTop;c>=s;c--)n._setEndLocation(n.openElements.items[c],i);if(!n.fragmentContext&&n.openElements.stackTop>=0){const c=n.openElements.items[0],d=n.treeAdapter.getNodeSourceCodeLocation(c);if(d&&!d.endTag&&(n._setEndLocation(c,i),n.openElements.stackTop>=1)){const g=n.openElements.items[1],b=n.treeAdapter.getNodeSourceCodeLocation(g);b&&!b.endTag&&n._setEndLocation(g,i)}}}}function nsr(n,i){n._setDocumentType(i);const s=i.forceQuirks?ww.QUIRKS:Oor(i);Ror(i)||n._err(i,sn.nonConformingDoctype),n.treeAdapter.setDocumentMode(n.document,s),n.insertionMode=ut.BEFORE_HTML}function GU(n,i){n._err(i,sn.missingDoctype,!0),n.treeAdapter.setDocumentMode(n.document,ww.QUIRKS),n.insertionMode=ut.BEFORE_HTML,n._processToken(i)}function rsr(n,i){i.tagID===W.HTML?(n._insertElement(i,Fn.HTML),n.insertionMode=ut.BEFORE_HEAD):vH(n,i)}function isr(n,i){const s=i.tagID;(s===W.HTML||s===W.HEAD||s===W.BODY||s===W.BR)&&vH(n,i)}function vH(n,i){n._insertFakeRootElement(),n.insertionMode=ut.BEFORE_HEAD,n._processToken(i)}function osr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.HEAD:{n._insertElement(i,Fn.HTML),n.headElement=n.openElements.current,n.insertionMode=ut.IN_HEAD;break}default:EH(n,i)}}function ssr(n,i){const s=i.tagID;s===W.HEAD||s===W.BODY||s===W.HTML||s===W.BR?EH(n,i):n._err(i,sn.endTagWithoutMatchingOpenElement)}function EH(n,i){n._insertFakeElement(Pt.HEAD,W.HEAD),n.headElement=n.openElements.current,n.insertionMode=ut.IN_HEAD,n._processToken(i)}function Hv(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:{n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.TITLE:{n._switchToTextParsing(i,ob.RCDATA);break}case W.NOSCRIPT:{n.options.scriptingEnabled?n._switchToTextParsing(i,ob.RAWTEXT):(n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_HEAD_NO_SCRIPT);break}case W.NOFRAMES:case W.STYLE:{n._switchToTextParsing(i,ob.RAWTEXT);break}case W.SCRIPT:{n._switchToTextParsing(i,ob.SCRIPT_DATA);break}case W.TEMPLATE:{n._insertTemplate(i),n.activeFormattingElements.insertMarker(),n.framesetOk=!1,n.insertionMode=ut.IN_TEMPLATE,n.tmplInsertionModeStack.unshift(ut.IN_TEMPLATE);break}case W.HEAD:{n._err(i,sn.misplacedStartTagForHeadElement);break}default:SH(n,i)}}function asr(n,i){switch(i.tagID){case W.HEAD:{n.openElements.pop(),n.insertionMode=ut.AFTER_HEAD;break}case W.BODY:case W.BR:case W.HTML:{SH(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function jR(n,i){n.openElements.tmplCount>0?(n.openElements.generateImpliedEndTagsThoroughly(),n.openElements.currentTagId!==W.TEMPLATE&&n._err(i,sn.closingOfElementWithOpenChildElements),n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode()):n._err(i,sn.endTagWithoutMatchingOpenElement)}function SH(n,i){n.openElements.pop(),n.insertionMode=ut.AFTER_HEAD,n._processToken(i)}function usr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.BASEFONT:case W.BGSOUND:case W.HEAD:case W.LINK:case W.META:case W.NOFRAMES:case W.STYLE:{Hv(n,i);break}case W.NOSCRIPT:{n._err(i,sn.nestedNoscriptInHead);break}default:TH(n,i)}}function csr(n,i){switch(i.tagID){case W.NOSCRIPT:{n.openElements.pop(),n.insertionMode=ut.IN_HEAD;break}case W.BR:{TH(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function TH(n,i){const s=i.type===ha.EOF?sn.openElementsLeftAfterEof:sn.disallowedContentInNoscriptInHead;n._err(i,s),n.openElements.pop(),n.insertionMode=ut.IN_HEAD,n._processToken(i)}function lsr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.BODY:{n._insertElement(i,Fn.HTML),n.framesetOk=!1,n.insertionMode=ut.IN_BODY;break}case W.FRAMESET:{n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_FRAMESET;break}case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:case W.NOFRAMES:case W.SCRIPT:case W.STYLE:case W.TEMPLATE:case W.TITLE:{n._err(i,sn.abandonedHeadElementChild),n.openElements.push(n.headElement,W.HEAD),Hv(n,i),n.openElements.remove(n.headElement);break}case W.HEAD:{n._err(i,sn.misplacedStartTagForHeadElement);break}default:AH(n,i)}}function dsr(n,i){switch(i.tagID){case W.BODY:case W.HTML:case W.BR:{AH(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function AH(n,i){n._insertFakeElement(Pt.BODY,W.BODY),n.insertionMode=ut.IN_BODY,oue(n,i)}function oue(n,i){switch(i.type){case ha.CHARACTER:{WJt(n,i);break}case ha.WHITESPACE_CHARACTER:{VJt(n,i);break}case ha.COMMENT:{dLe(n,i);break}case ha.START_TAG:{Vp(n,i);break}case ha.END_TAG:{sue(n,i);break}case ha.EOF:{XJt(n,i);break}}}function VJt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i)}function WJt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i),n.framesetOk=!1}function fsr(n,i){n.openElements.tmplCount===0&&n.treeAdapter.adoptAttributes(n.openElements.items[0],i.attrs)}function hsr(n,i){const s=n.openElements.tryPeekProperlyNestedBodyElement();s&&n.openElements.tmplCount===0&&(n.framesetOk=!1,n.treeAdapter.adoptAttributes(s,i.attrs))}function psr(n,i){const s=n.openElements.tryPeekProperlyNestedBodyElement();n.framesetOk&&s&&(n.treeAdapter.detachNode(s),n.openElements.popAllUpToHtmlElement(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_FRAMESET)}function gsr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML)}function bsr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n.openElements.currentTagId!==void 0&&lLe.has(n.openElements.currentTagId)&&n.openElements.pop(),n._insertElement(i,Fn.HTML)}function msr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.skipNextNewLine=!0,n.framesetOk=!1}function wsr(n,i){const s=n.openElements.tmplCount>0;(!n.formElement||s)&&(n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),s||(n.formElement=n.openElements.current))}function ysr(n,i){n.framesetOk=!1;const s=i.tagID;for(let c=n.openElements.stackTop;c>=0;c--){const d=n.openElements.tagIDs[c];if(s===W.LI&&d===W.LI||(s===W.DD||s===W.DT)&&(d===W.DD||d===W.DT)){n.openElements.generateImpliedEndTagsWithExclusion(d),n.openElements.popUntilTagNamePopped(d);break}if(d!==W.ADDRESS&&d!==W.DIV&&d!==W.P&&n._isSpecialElement(n.openElements.items[c],d))break}n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML)}function vsr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.tokenizer.state=ob.PLAINTEXT}function Esr(n,i){n.openElements.hasInScope(W.BUTTON)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.BUTTON)),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.framesetOk=!1}function Ssr(n,i){const s=n.activeFormattingElements.getElementEntryInScopeWithTagName(Pt.A);s&&(a9e(n,i),n.openElements.remove(s.element),n.activeFormattingElements.removeEntry(s)),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function Tsr(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function Asr(n,i){n._reconstructActiveFormattingElements(),n.openElements.hasInScope(W.NOBR)&&(a9e(n,i),n._reconstructActiveFormattingElements()),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function _sr(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.insertMarker(),n.framesetOk=!1}function xsr(n,i){n.treeAdapter.getDocumentMode(n.document)!==ww.QUIRKS&&n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.framesetOk=!1,n.insertionMode=ut.IN_TABLE}function KJt(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,Fn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function YJt(n){const i=PJt(n,iR.TYPE);return i!=null&&i.toLowerCase()===Gor}function ksr(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,Fn.HTML),YJt(i)||(n.framesetOk=!1),i.ackSelfClosing=!0}function Nsr(n,i){n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0}function Csr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._appendElement(i,Fn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function Isr(n,i){i.tagName=Pt.IMG,i.tagID=W.IMG,KJt(n,i)}function Rsr(n,i){n._insertElement(i,Fn.HTML),n.skipNextNewLine=!0,n.tokenizer.state=ob.RCDATA,n.originalInsertionMode=n.insertionMode,n.framesetOk=!1,n.insertionMode=ut.TEXT}function Osr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._reconstructActiveFormattingElements(),n.framesetOk=!1,n._switchToTextParsing(i,ob.RAWTEXT)}function Dsr(n,i){n.framesetOk=!1,n._switchToTextParsing(i,ob.RAWTEXT)}function b$t(n,i){n._switchToTextParsing(i,ob.RAWTEXT)}function Lsr(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.framesetOk=!1,n.insertionMode=n.insertionMode===ut.IN_TABLE||n.insertionMode===ut.IN_CAPTION||n.insertionMode===ut.IN_TABLE_BODY||n.insertionMode===ut.IN_ROW||n.insertionMode===ut.IN_CELL?ut.IN_SELECT_IN_TABLE:ut.IN_SELECT}function Msr(n,i){n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML)}function Psr(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTags(),n._insertElement(i,Fn.HTML)}function jsr(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTagsWithExclusion(W.RTC),n._insertElement(i,Fn.HTML)}function Fsr(n,i){n._reconstructActiveFormattingElements(),HJt(i),s9e(i),i.selfClosing?n._appendElement(i,Fn.MATHML):n._insertElement(i,Fn.MATHML),i.ackSelfClosing=!0}function $sr(n,i){n._reconstructActiveFormattingElements(),zJt(i),s9e(i),i.selfClosing?n._appendElement(i,Fn.SVG):n._insertElement(i,Fn.SVG),i.ackSelfClosing=!0}function m$t(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML)}function Vp(n,i){switch(i.tagID){case W.I:case W.S:case W.B:case W.U:case W.EM:case W.TT:case W.BIG:case W.CODE:case W.FONT:case W.SMALL:case W.STRIKE:case W.STRONG:{Tsr(n,i);break}case W.A:{Ssr(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{bsr(n,i);break}case W.P:case W.DL:case W.OL:case W.UL:case W.DIV:case W.DIR:case W.NAV:case W.MAIN:case W.MENU:case W.ASIDE:case W.CENTER:case W.FIGURE:case W.FOOTER:case W.HEADER:case W.HGROUP:case W.DIALOG:case W.DETAILS:case W.ADDRESS:case W.ARTICLE:case W.SEARCH:case W.SECTION:case W.SUMMARY:case W.FIELDSET:case W.BLOCKQUOTE:case W.FIGCAPTION:{gsr(n,i);break}case W.LI:case W.DD:case W.DT:{ysr(n,i);break}case W.BR:case W.IMG:case W.WBR:case W.AREA:case W.EMBED:case W.KEYGEN:{KJt(n,i);break}case W.HR:{Csr(n,i);break}case W.RB:case W.RTC:{Psr(n,i);break}case W.RT:case W.RP:{jsr(n,i);break}case W.PRE:case W.LISTING:{msr(n,i);break}case W.XMP:{Osr(n,i);break}case W.SVG:{$sr(n,i);break}case W.HTML:{fsr(n,i);break}case W.BASE:case W.LINK:case W.META:case W.STYLE:case W.TITLE:case W.SCRIPT:case W.BGSOUND:case W.BASEFONT:case W.TEMPLATE:{Hv(n,i);break}case W.BODY:{hsr(n,i);break}case W.FORM:{wsr(n,i);break}case W.NOBR:{Asr(n,i);break}case W.MATH:{Fsr(n,i);break}case W.TABLE:{xsr(n,i);break}case W.INPUT:{ksr(n,i);break}case W.PARAM:case W.TRACK:case W.SOURCE:{Nsr(n,i);break}case W.IMAGE:{Isr(n,i);break}case W.BUTTON:{Esr(n,i);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{_sr(n,i);break}case W.IFRAME:{Dsr(n,i);break}case W.SELECT:{Lsr(n,i);break}case W.OPTION:case W.OPTGROUP:{Msr(n,i);break}case W.NOEMBED:case W.NOFRAMES:{b$t(n,i);break}case W.FRAMESET:{psr(n,i);break}case W.TEXTAREA:{Rsr(n,i);break}case W.NOSCRIPT:{n.options.scriptingEnabled?b$t(n,i):m$t(n,i);break}case W.PLAINTEXT:{vsr(n,i);break}case W.COL:case W.TH:case W.TD:case W.TR:case W.HEAD:case W.FRAME:case W.TBODY:case W.TFOOT:case W.THEAD:case W.CAPTION:case W.COLGROUP:break;default:m$t(n,i)}}function Bsr(n,i){if(n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ut.AFTER_BODY,n.options.sourceCodeLocationInfo)){const s=n.openElements.tryPeekProperlyNestedBodyElement();s&&n._setEndLocation(s,i)}}function Usr(n,i){n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ut.AFTER_BODY,oXt(n,i))}function Hsr(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s))}function zsr(n){const i=n.openElements.tmplCount>0,{formElement:s}=n;i||(n.formElement=null),(s||i)&&n.openElements.hasInScope(W.FORM)&&(n.openElements.generateImpliedEndTags(),i?n.openElements.popUntilTagNamePopped(W.FORM):s&&n.openElements.remove(s))}function Gsr(n){n.openElements.hasInButtonScope(W.P)||n._insertFakeElement(Pt.P,W.P),n._closePElement()}function qsr(n){n.openElements.hasInListItemScope(W.LI)&&(n.openElements.generateImpliedEndTagsWithExclusion(W.LI),n.openElements.popUntilTagNamePopped(W.LI))}function Vsr(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTagsWithExclusion(s),n.openElements.popUntilTagNamePopped(s))}function Wsr(n){n.openElements.hasNumberedHeaderInScope()&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilNumberedHeaderPopped())}function Ksr(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s),n.activeFormattingElements.clearToLastMarker())}function Ysr(n){n._reconstructActiveFormattingElements(),n._insertFakeElement(Pt.BR,W.BR),n.openElements.pop(),n.framesetOk=!1}function JJt(n,i){const s=i.tagName,c=i.tagID;for(let d=n.openElements.stackTop;d>0;d--){const g=n.openElements.items[d],b=n.openElements.tagIDs[d];if(c===b&&(c!==W.UNKNOWN||n.treeAdapter.getTagName(g)===s)){n.openElements.generateImpliedEndTagsWithExclusion(c),n.openElements.stackTop>=d&&n.openElements.shortenToLength(d);break}if(n._isSpecialElement(g,b))break}}function sue(n,i){switch(i.tagID){case W.A:case W.B:case W.I:case W.S:case W.U:case W.EM:case W.TT:case W.BIG:case W.CODE:case W.FONT:case W.NOBR:case W.SMALL:case W.STRIKE:case W.STRONG:{a9e(n,i);break}case W.P:{Gsr(n);break}case W.DL:case W.UL:case W.OL:case W.DIR:case W.DIV:case W.NAV:case W.PRE:case W.MAIN:case W.MENU:case W.ASIDE:case W.BUTTON:case W.CENTER:case W.FIGURE:case W.FOOTER:case W.HEADER:case W.HGROUP:case W.DIALOG:case W.ADDRESS:case W.ARTICLE:case W.DETAILS:case W.SEARCH:case W.SECTION:case W.SUMMARY:case W.LISTING:case W.FIELDSET:case W.BLOCKQUOTE:case W.FIGCAPTION:{Hsr(n,i);break}case W.LI:{qsr(n);break}case W.DD:case W.DT:{Vsr(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{Wsr(n);break}case W.BR:{Ysr(n);break}case W.BODY:{Bsr(n,i);break}case W.HTML:{Usr(n,i);break}case W.FORM:{zsr(n);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{Ksr(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:JJt(n,i)}}function XJt(n,i){n.tmplInsertionModeStack.length>0?iXt(n,i):u9e(n,i)}function Jsr(n,i){var s;i.tagID===W.SCRIPT&&((s=n.scriptHandler)===null||s===void 0||s.call(n,n.openElements.current)),n.openElements.pop(),n.insertionMode=n.originalInsertionMode}function Xsr(n,i){n._err(i,sn.eofInElementThatCanContainOnlyText),n.openElements.pop(),n.insertionMode=n.originalInsertionMode,n.onEof(i)}function JOe(n,i){if(n.openElements.currentTagId!==void 0&&GJt.has(n.openElements.currentTagId))switch(n.pendingCharacterTokens.length=0,n.hasNonWhitespacePendingCharacterToken=!1,n.originalInsertionMode=n.insertionMode,n.insertionMode=ut.IN_TABLE_TEXT,i.type){case ha.CHARACTER:{QJt(n,i);break}case ha.WHITESPACE_CHARACTER:{ZJt(n,i);break}}else zz(n,i)}function Zsr(n,i){n.openElements.clearBackToTableContext(),n.activeFormattingElements.insertMarker(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_CAPTION}function Qsr(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_COLUMN_GROUP}function ear(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.COLGROUP,W.COLGROUP),n.insertionMode=ut.IN_COLUMN_GROUP,c9e(n,i)}function tar(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_TABLE_BODY}function nar(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.TBODY,W.TBODY),n.insertionMode=ut.IN_TABLE_BODY,aue(n,i)}function rar(n,i){n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode(),n._processStartTag(i))}function iar(n,i){YJt(i)?n._appendElement(i,Fn.HTML):zz(n,i),i.ackSelfClosing=!0}function oar(n,i){!n.formElement&&n.openElements.tmplCount===0&&(n._insertElement(i,Fn.HTML),n.formElement=n.openElements.current,n.openElements.pop())}function OM(n,i){switch(i.tagID){case W.TD:case W.TH:case W.TR:{nar(n,i);break}case W.STYLE:case W.SCRIPT:case W.TEMPLATE:{Hv(n,i);break}case W.COL:{ear(n,i);break}case W.FORM:{oar(n,i);break}case W.TABLE:{rar(n,i);break}case W.TBODY:case W.TFOOT:case W.THEAD:{tar(n,i);break}case W.INPUT:{iar(n,i);break}case W.CAPTION:{Zsr(n,i);break}case W.COLGROUP:{Qsr(n,i);break}default:zz(n,i)}}function hz(n,i){switch(i.tagID){case W.TABLE:{n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode());break}case W.TEMPLATE:{jR(n,i);break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TBODY:case W.TD:case W.TFOOT:case W.TH:case W.THEAD:case W.TR:break;default:zz(n,i)}}function zz(n,i){const s=n.fosterParentingEnabled;n.fosterParentingEnabled=!0,oue(n,i),n.fosterParentingEnabled=s}function ZJt(n,i){n.pendingCharacterTokens.push(i)}function QJt(n,i){n.pendingCharacterTokens.push(i),n.hasNonWhitespacePendingCharacterToken=!0}function qU(n,i){let s=0;if(n.hasNonWhitespacePendingCharacterToken)for(;s<n.pendingCharacterTokens.length;s++)zz(n,n.pendingCharacterTokens[s]);else for(;s<n.pendingCharacterTokens.length;s++)n._insertCharacters(n.pendingCharacterTokens[s]);n.insertionMode=n.originalInsertionMode,n._processToken(i)}const eXt=new Set([W.CAPTION,W.COL,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]);function sar(n,i){const s=i.tagID;eXt.has(s)?n.openElements.hasInTableScope(W.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ut.IN_TABLE,OM(n,i)):Vp(n,i)}function aar(n,i){const s=i.tagID;switch(s){case W.CAPTION:case W.TABLE:{n.openElements.hasInTableScope(W.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ut.IN_TABLE,s===W.TABLE&&hz(n,i));break}case W.BODY:case W.COL:case W.COLGROUP:case W.HTML:case W.TBODY:case W.TD:case W.TFOOT:case W.TH:case W.THEAD:case W.TR:break;default:sue(n,i)}}function c9e(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.COL:{n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.TEMPLATE:{Hv(n,i);break}default:_se(n,i)}}function uar(n,i){switch(i.tagID){case W.COLGROUP:{n.openElements.currentTagId===W.COLGROUP&&(n.openElements.pop(),n.insertionMode=ut.IN_TABLE);break}case W.TEMPLATE:{jR(n,i);break}case W.COL:break;default:_se(n,i)}}function _se(n,i){n.openElements.currentTagId===W.COLGROUP&&(n.openElements.pop(),n.insertionMode=ut.IN_TABLE,n._processToken(i))}function aue(n,i){switch(i.tagID){case W.TR:{n.openElements.clearBackToTableBodyContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_ROW;break}case W.TH:case W.TD:{n.openElements.clearBackToTableBodyContext(),n._insertFakeElement(Pt.TR,W.TR),n.insertionMode=ut.IN_ROW,uue(n,i);break}case W.CAPTION:case W.COL:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE,OM(n,i));break}default:OM(n,i)}}function fLe(n,i){const s=i.tagID;switch(i.tagID){case W.TBODY:case W.TFOOT:case W.THEAD:{n.openElements.hasInTableScope(s)&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE);break}case W.TABLE:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE,hz(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TD:case W.TH:case W.TR:break;default:hz(n,i)}}function uue(n,i){switch(i.tagID){case W.TH:case W.TD:{n.openElements.clearBackToTableRowContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ut.IN_CELL,n.activeFormattingElements.insertMarker();break}case W.CAPTION:case W.COL:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:case W.TR:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY,aue(n,i));break}default:OM(n,i)}}function tXt(n,i){switch(i.tagID){case W.TR:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY);break}case W.TABLE:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY,fLe(n,i));break}case W.TBODY:case W.TFOOT:case W.THEAD:{(n.openElements.hasInTableScope(i.tagID)||n.openElements.hasInTableScope(W.TR))&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ut.IN_TABLE_BODY,fLe(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TD:case W.TH:break;default:hz(n,i)}}function car(n,i){const s=i.tagID;eXt.has(s)?(n.openElements.hasInTableScope(W.TD)||n.openElements.hasInTableScope(W.TH))&&(n._closeTableCell(),uue(n,i)):Vp(n,i)}function lar(n,i){const s=i.tagID;switch(s){case W.TD:case W.TH:{n.openElements.hasInTableScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ut.IN_ROW);break}case W.TABLE:case W.TBODY:case W.TFOOT:case W.THEAD:case W.TR:{n.openElements.hasInTableScope(s)&&(n._closeTableCell(),tXt(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:break;default:sue(n,i)}}function nXt(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.OPTION:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._insertElement(i,Fn.HTML);break}case W.OPTGROUP:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop(),n._insertElement(i,Fn.HTML);break}case W.HR:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop(),n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.INPUT:case W.KEYGEN:case W.TEXTAREA:case W.SELECT:{n.openElements.hasInSelectScope(W.SELECT)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),i.tagID!==W.SELECT&&n._processStartTag(i));break}case W.SCRIPT:case W.TEMPLATE:{Hv(n,i);break}}}function rXt(n,i){switch(i.tagID){case W.OPTGROUP:{n.openElements.stackTop>0&&n.openElements.currentTagId===W.OPTION&&n.openElements.tagIDs[n.openElements.stackTop-1]===W.OPTGROUP&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop();break}case W.OPTION:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop();break}case W.SELECT:{n.openElements.hasInSelectScope(W.SELECT)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode());break}case W.TEMPLATE:{jR(n,i);break}}}function dar(n,i){const s=i.tagID;s===W.CAPTION||s===W.TABLE||s===W.TBODY||s===W.TFOOT||s===W.THEAD||s===W.TR||s===W.TD||s===W.TH?(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),n._processStartTag(i)):nXt(n,i)}function far(n,i){const s=i.tagID;s===W.CAPTION||s===W.TABLE||s===W.TBODY||s===W.TFOOT||s===W.THEAD||s===W.TR||s===W.TD||s===W.TH?n.openElements.hasInTableScope(s)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),n.onEndTag(i)):rXt(n,i)}function har(n,i){switch(i.tagID){case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:case W.NOFRAMES:case W.SCRIPT:case W.STYLE:case W.TEMPLATE:case W.TITLE:{Hv(n,i);break}case W.CAPTION:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:{n.tmplInsertionModeStack[0]=ut.IN_TABLE,n.insertionMode=ut.IN_TABLE,OM(n,i);break}case W.COL:{n.tmplInsertionModeStack[0]=ut.IN_COLUMN_GROUP,n.insertionMode=ut.IN_COLUMN_GROUP,c9e(n,i);break}case W.TR:{n.tmplInsertionModeStack[0]=ut.IN_TABLE_BODY,n.insertionMode=ut.IN_TABLE_BODY,aue(n,i);break}case W.TD:case W.TH:{n.tmplInsertionModeStack[0]=ut.IN_ROW,n.insertionMode=ut.IN_ROW,uue(n,i);break}default:n.tmplInsertionModeStack[0]=ut.IN_BODY,n.insertionMode=ut.IN_BODY,Vp(n,i)}}function par(n,i){i.tagID===W.TEMPLATE&&jR(n,i)}function iXt(n,i){n.openElements.tmplCount>0?(n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode(),n.onEof(i)):u9e(n,i)}function gar(n,i){i.tagID===W.HTML?Vp(n,i):xse(n,i)}function oXt(n,i){var s;if(i.tagID===W.HTML){if(n.fragmentContext||(n.insertionMode=ut.AFTER_AFTER_BODY),n.options.sourceCodeLocationInfo&&n.openElements.tagIDs[0]===W.HTML){n._setEndLocation(n.openElements.items[0],i);const c=n.openElements.items[1];c&&!(!((s=n.treeAdapter.getNodeSourceCodeLocation(c))===null||s===void 0)&&s.endTag)&&n._setEndLocation(c,i)}}else xse(n,i)}function xse(n,i){n.insertionMode=ut.IN_BODY,oue(n,i)}function bar(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.FRAMESET:{n._insertElement(i,Fn.HTML);break}case W.FRAME:{n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.NOFRAMES:{Hv(n,i);break}}}function mar(n,i){i.tagID===W.FRAMESET&&!n.openElements.isRootHtmlElementCurrent()&&(n.openElements.pop(),!n.fragmentContext&&n.openElements.currentTagId!==W.FRAMESET&&(n.insertionMode=ut.AFTER_FRAMESET))}function war(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.NOFRAMES:{Hv(n,i);break}}}function yar(n,i){i.tagID===W.HTML&&(n.insertionMode=ut.AFTER_AFTER_FRAMESET)}function Ear(n,i){i.tagID===W.HTML?Vp(n,i):soe(n,i)}function soe(n,i){n.insertionMode=ut.IN_BODY,oue(n,i)}function Sar(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.NOFRAMES:{Hv(n,i);break}}}function Tar(n,i){i.chars=Oc,n._insertCharacters(i)}function Aar(n,i){n._insertCharacters(i),n.framesetOk=!1}function sXt(n){for(;n.treeAdapter.getNamespaceURI(n.openElements.current)!==Fn.HTML&&n.openElements.currentTagId!==void 0&&!n._isIntegrationPoint(n.openElements.currentTagId,n.openElements.current);)n.openElements.pop()}function _ar(n,i){if($or(i))sXt(n),n._startTagOutsideForeignContent(i);else{const s=n._getAdjustedCurrentElement(),c=n.treeAdapter.getNamespaceURI(s);c===Fn.MATHML?HJt(i):c===Fn.SVG&&(Bor(i),zJt(i)),s9e(i),i.selfClosing?n._appendElement(i,c):n._insertElement(i,c),i.ackSelfClosing=!0}}function xar(n,i){if(i.tagID===W.P||i.tagID===W.BR){sXt(n),n._endTagOutsideForeignContent(i);return}for(let s=n.openElements.stackTop;s>0;s--){const c=n.openElements.items[s];if(n.treeAdapter.getNamespaceURI(c)===Fn.HTML){n._endTagOutsideForeignContent(i);break}const d=n.treeAdapter.getTagName(c);if(d.toLowerCase()===i.tagName){i.tagName=d,n.openElements.shortenToLength(s);break}}}Pt.AREA,Pt.BASE,Pt.BASEFONT,Pt.BGSOUND,Pt.BR,Pt.COL,Pt.EMBED,Pt.FRAME,Pt.HR,Pt.IMG,Pt.INPUT,Pt.KEYGEN,Pt.LINK,Pt.META,Pt.PARAM,Pt.SOURCE,Pt.TRACK,Pt.WBR;function kar(n,i){return qJt.parse(n,i)}function Nar(n,i,s){typeof n=="string"&&(s=i,i=n,n=null);const c=qJt.getFragmentParser(n,s);return c.tokenizer.write(i,!0),c.getFragment()}function Car(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?w$t(n.position):"start"in n||"end"in n?w$t(n):"line"in n||"column"in n?hLe(n):""}function hLe(n){return y$t(n&&n.line)+":"+y$t(n&&n.column)}function w$t(n){return hLe(n&&n.start)+"-"+hLe(n&&n.end)}function y$t(n){return n&&typeof n=="number"?n:1}class Kg extends Error{constructor(i,s,c){super(),typeof s=="string"&&(c=s,s=void 0);let d="",g={},b=!1;if(s&&("line"in s&&"column"in s?g={place:s}:"start"in s&&"end"in s?g={place:s}:"type"in s?g={ancestors:[s],place:s.position}:g={...s}),typeof i=="string"?d=i:!g.cause&&i&&(b=!0,d=i.message,g.cause=i),!g.ruleId&&!g.source&&typeof c=="string"){const E=c.indexOf(":");E===-1?g.ruleId=c:(g.source=c.slice(0,E),g.ruleId=c.slice(E+1))}if(!g.place&&g.ancestors&&g.ancestors){const E=g.ancestors[g.ancestors.length-1];E&&(g.place=E.position)}const w=g.place&&"start"in g.place?g.place.start:g.place;this.ancestors=g.ancestors||void 0,this.cause=g.cause||void 0,this.column=w?w.column:void 0,this.fatal=void 0,this.file="",this.message=d,this.line=w?w.line:void 0,this.name=Car(g.place)||"1:1",this.place=g.place||void 0,this.reason=this.message,this.ruleId=g.ruleId||void 0,this.source=g.source||void 0,this.stack=b&&g.cause&&typeof g.cause.stack=="string"?g.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Kg.prototype.file="";Kg.prototype.name="";Kg.prototype.reason="";Kg.prototype.message="";Kg.prototype.stack="";Kg.prototype.column=void 0;Kg.prototype.line=void 0;Kg.prototype.ancestors=void 0;Kg.prototype.cause=void 0;Kg.prototype.fatal=void 0;Kg.prototype.place=void 0;Kg.prototype.ruleId=void 0;Kg.prototype.source=void 0;const k2={basename:Iar,dirname:Rar,extname:Oar,join:Dar,sep:"/"};function Iar(n,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');Gz(n);let s=0,c=-1,d=n.length,g;if(i===void 0||i.length===0||i.length>n.length){for(;d--;)if(n.codePointAt(d)===47){if(g){s=d+1;break}}else c<0&&(g=!0,c=d+1);return c<0?"":n.slice(s,c)}if(i===n)return"";let b=-1,w=i.length-1;for(;d--;)if(n.codePointAt(d)===47){if(g){s=d+1;break}}else b<0&&(g=!0,b=d+1),w>-1&&(n.codePointAt(d)===i.codePointAt(w--)?w<0&&(c=d):(w=-1,c=b));return s===c?c=b:c<0&&(c=n.length),n.slice(s,c)}function Rar(n){if(Gz(n),n.length===0)return".";let i=-1,s=n.length,c;for(;--s;)if(n.codePointAt(s)===47){if(c){i=s;break}}else c||(c=!0);return i<0?n.codePointAt(0)===47?"/":".":i===1&&n.codePointAt(0)===47?"//":n.slice(0,i)}function Oar(n){Gz(n);let i=n.length,s=-1,c=0,d=-1,g=0,b;for(;i--;){const w=n.codePointAt(i);if(w===47){if(b){c=i+1;break}continue}s<0&&(b=!0,s=i+1),w===46?d<0?d=i:g!==1&&(g=1):d>-1&&(g=-1)}return d<0||s<0||g===0||g===1&&d===s-1&&d===c+1?"":n.slice(d,s)}function Dar(...n){let i=-1,s;for(;++i<n.length;)Gz(n[i]),n[i]&&(s=s===void 0?n[i]:s+"/"+n[i]);return s===void 0?".":Lar(s)}function Lar(n){Gz(n);const i=n.codePointAt(0)===47;let s=Mar(n,!i);return s.length===0&&!i&&(s="."),s.length>0&&n.codePointAt(n.length-1)===47&&(s+="/"),i?"/"+s:s}function Mar(n,i){let s="",c=0,d=-1,g=0,b=-1,w,E;for(;++b<=n.length;){if(b<n.length)w=n.codePointAt(b);else{if(w===47)break;w=47}if(w===47){if(!(d===b-1||g===1))if(d!==b-1&&g===2){if(s.length<2||c!==2||s.codePointAt(s.length-1)!==46||s.codePointAt(s.length-2)!==46){if(s.length>2){if(E=s.lastIndexOf("/"),E!==s.length-1){E<0?(s="",c=0):(s=s.slice(0,E),c=s.length-1-s.lastIndexOf("/")),d=b,g=0;continue}}else if(s.length>0){s="",c=0,d=b,g=0;continue}}i&&(s=s.length>0?s+"/..":"..",c=2)}else s.length>0?s+="/"+n.slice(d+1,b):s=n.slice(d+1,b),c=b-d-1;d=b,g=0}else w===46&&g>-1?g++:g=-1}return s}function Gz(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Par={cwd:jar};function jar(){return"/"}function pLe(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function Far(n){if(typeof n=="string")n=new URL(n);else if(!pLe(n)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(n.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return $ar(n)}function $ar(n){if(n.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const i=n.pathname;let s=-1;for(;++s<i.length;)if(i.codePointAt(s)===37&&i.codePointAt(s+1)===50){const c=i.codePointAt(s+2);if(c===70||c===102){const d=new TypeError("File URL path must not include encoded / characters");throw d.code="ERR_INVALID_FILE_URL_PATH",d}}return decodeURIComponent(i)}const XOe=["history","path","basename","stem","extname","dirname"];class gLe{constructor(i){let s;i?pLe(i)?s={path:i}:typeof i=="string"||Bar(i)?s={value:i}:s=i:s={},this.cwd="cwd"in s?"":Par.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<XOe.length;){const g=XOe[c];g in s&&s[g]!==void 0&&s[g]!==null&&(this[g]=g==="history"?[...s[g]]:s[g])}let d;for(d in s)XOe.includes(d)||(this[d]=s[d])}get basename(){return typeof this.path=="string"?k2.basename(this.path):void 0}set basename(i){QOe(i,"basename"),ZOe(i,"basename"),this.path=k2.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?k2.dirname(this.path):void 0}set dirname(i){v$t(this.basename,"dirname"),this.path=k2.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?k2.extname(this.path):void 0}set extname(i){if(ZOe(i,"extname"),v$t(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=k2.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){pLe(i)&&(i=Far(i)),QOe(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?k2.basename(this.path,this.extname):void 0}set stem(i){QOe(i,"stem"),ZOe(i,"stem"),this.path=k2.join(this.dirname||"",i+(this.extname||""))}fail(i,s,c){const d=this.message(i,s,c);throw d.fatal=!0,d}info(i,s,c){const d=this.message(i,s,c);return d.fatal=void 0,d}message(i,s,c){const d=new Kg(i,s,c);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function ZOe(n,i){if(n&&n.includes(k2.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+k2.sep+"`")}function QOe(n,i){if(!n)throw new Error("`"+i+"` cannot be empty")}function v$t(n,i){if(!n)throw new Error("Setting `"+i+"` requires `path` to be set too")}function Bar(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Uar={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},Har="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",zar=/-[a-z]/g,Gar=/%c(?:([-+])(\d+))?/g,qar=/%x/g,Var={2:!0,1:!1,0:null},War={};function Kar(n,i){const s=i||War,c=s.onerror,d=n instanceof gLe?n:new gLe(n),g=s.fragment?Nar:kar,b=String(d),w=g(b,{sourceCodeLocationInfo:!0,onParseError:s.onerror?E:null,scriptingEnabled:!1});return Kir(w,{file:d,space:s.space,verbose:s.verbose});function E(S){const x=S.code,A=Yar(x),C=s[A],R=C??!0,L=typeof R=="number"?R:R?1:0;if(L){const B=Uar[A],$=new Kg(D(B.reason),{place:{start:{line:S.startLine,column:S.startCol,offset:S.startOffset},end:{line:S.endLine,column:S.endCol,offset:S.endOffset}},ruleId:x,source:"hast-util-from-html"});d.path&&($.file=d.path,$.name=d.path+":"+$.name),$.fatal=Var[L],$.note=D(B.description),$.url=B.url===!1?void 0:Har+x,c($)}function D(B){return B.replace(Gar,$).replace(qar,j);function $(P,G,ee){const re=(ee?Number.parseInt(ee,10):0)*(G==="-"?-1:1),Q=b.charAt(S.startOffset+re);return Xar(Q)}function j(){return Zar(b.charCodeAt(S.startOffset))}}}}function Yar(n){return n.replace(zar,Jar)}function Jar(n){return n.charAt(1).toUpperCase()}function Xar(n){return n==="`"?"` ` `":n}function Zar(n){return"0x"+n.toString(16).toUpperCase()}function Qar(n){const i=this,{emitParseErrors:s,...c}={...i.data("settings"),...n};i.parser=d;function d(g,b){return Kar(g,{...c,onerror:s?function(w){b.path&&(w.name=b.path+":"+w.name,w.file=b.path),b.messages.push(w)}:void 0})}}const eur=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],E$t={}.hasOwnProperty;function tur(n,i){const s=i||{};function c(d,...g){let b=c.invalid;const w=c.handlers;if(d&&E$t.call(d,n)){const E=String(d[n]);b=E$t.call(w,E)?w[E]:c.unknown}if(b)return b.call(this,d,...g)}return c.handlers=s.handlers||{},c.invalid=s.invalid,c.unknown=s.unknown,c}const nur=/["&'<>`]/g,rur=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iur=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,our=/[|\\{}()[\]^$+*?.]/g,S$t=new WeakMap;function sur(n,i){if(n=n.replace(i.subset?aur(i.subset):nur,c),i.subset||i.escapeOnly)return n;return n.replace(rur,s).replace(iur,c);function s(d,g,b){return i.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,b.charCodeAt(g+2),i)}function c(d,g,b){return i.format(d.charCodeAt(0),b.charCodeAt(g+1),i)}}function aur(n){let i=S$t.get(n);return i||(i=uur(n),S$t.set(n,i)),i}function uur(n){const i=[];let s=-1;for(;++s<n.length;)i.push(n[s].replace(our,"\\$&"));return new RegExp("(?:"+i.join("|")+")","g")}const cur=/[\dA-Fa-f]/;function lur(n,i,s){const c="&#x"+n.toString(16).toUpperCase();return s&&i&&!cur.test(String.fromCharCode(i))?c:c+";"}const dur=/\d/;function fur(n,i,s){const c="&#"+String(n);return s&&i&&!dur.test(String.fromCharCode(i))?c:c+";"}const aXt=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],e6e={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"",Prime:"″",oline:"‾",frasl:"",weierp:"℘",image:"",real:"",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"",lowast:"",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"",cap:"∩",cup:"",int:"∫",there4:"∴",sim:"",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:"",emsp:"",thinsp:"",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"",mdash:"—",lsquo:"",rsquo:"",sbquo:"",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"",rsaquo:"",euro:"€"},hur=["cent","copy","divide","gt","lt","not","para","times"],uXt={}.hasOwnProperty,bLe={};let Die;for(Die in e6e)uXt.call(e6e,Die)&&(bLe[e6e[Die]]=Die);const pur=/[^\dA-Za-z]/;function gur(n,i,s,c){const d=String.fromCharCode(n);if(uXt.call(bLe,d)){const g=bLe[d],b="&"+g;return s&&aXt.includes(g)&&!hur.includes(g)&&(!c||i&&i!==61&&pur.test(String.fromCharCode(i)))?b:b+";"}return""}function bur(n,i,s){let c=lur(n,i,s.omitOptionalSemicolons),d;if((s.useNamedReferences||s.useShortestReferences)&&(d=gur(n,i,s.omitOptionalSemicolons,s.attribute)),(s.useShortestReferences||!d)&&s.useShortestReferences){const g=fur(n,i,s.omitOptionalSemicolons);g.length<c.length&&(c=g)}return d&&(!s.useShortestReferences||d.length<c.length)?d:c}function cM(n,i){return sur(n,Object.assign({format:bur},i))}const mur=/^>|^->|<!--|-->|--!>|<!-$/g,wur=[">"],yur=["<",">"];function vur(n,i,s,c){return c.settings.bogusComments?"<?"+cM(n.value,Object.assign({},c.settings.characterReferences,{subset:wur}))+">":"<!--"+n.value.replace(mur,d)+"-->";function d(g){return cM(g,Object.assign({},c.settings.characterReferences,{subset:yur}))}}function Eur(n,i,s,c){return"<!"+(c.settings.upperDoctype?"DOCTYPE":"doctype")+(c.settings.tightDoctype?"":" ")+"html>"}function T$t(n,i){const s=String(n);if(typeof i!="string")throw new TypeError("Expected character");let c=0,d=s.indexOf(i);for(;d!==-1;)c++,d=s.indexOf(i,d+i.length);return c}const Sur=/[ \t\n\f\r]/g;function l9e(n){return typeof n=="object"?n.type==="text"?A$t(n.value):!1:A$t(n)}function A$t(n){return n.replace(Sur,"")===""}const Tf=lXt(1),cXt=lXt(-1),Tur=[];function lXt(n){return i;function i(s,c,d){const g=s?s.children:Tur;let b=(c||0)+n,w=g[b];if(!d)for(;w&&l9e(w);)b+=n,w=g[b];return w}}const Aur={}.hasOwnProperty;function dXt(n){return i;function i(s,c,d){return Aur.call(n,s.tagName)&&n[s.tagName](s,c,d)}}const d9e=dXt({body:xur,caption:t6e,colgroup:t6e,dd:Iur,dt:Cur,head:t6e,html:_ur,li:Nur,optgroup:Rur,option:Our,p:kur,rp:_$t,rt:_$t,tbody:Lur,td:x$t,tfoot:Mur,th:x$t,thead:Dur,tr:Pur});function t6e(n,i,s){const c=Tf(s,i,!0);return!c||c.type!=="comment"&&!(c.type==="text"&&l9e(c.value.charAt(0)))}function _ur(n,i,s){const c=Tf(s,i);return!c||c.type!=="comment"}function xur(n,i,s){const c=Tf(s,i);return!c||c.type!=="comment"}function kur(n,i,s){const c=Tf(s,i);return c?c.type==="element"&&(c.tagName==="address"||c.tagName==="article"||c.tagName==="aside"||c.tagName==="blockquote"||c.tagName==="details"||c.tagName==="div"||c.tagName==="dl"||c.tagName==="fieldset"||c.tagName==="figcaption"||c.tagName==="figure"||c.tagName==="footer"||c.tagName==="form"||c.tagName==="h1"||c.tagName==="h2"||c.tagName==="h3"||c.tagName==="h4"||c.tagName==="h5"||c.tagName==="h6"||c.tagName==="header"||c.tagName==="hgroup"||c.tagName==="hr"||c.tagName==="main"||c.tagName==="menu"||c.tagName==="nav"||c.tagName==="ol"||c.tagName==="p"||c.tagName==="pre"||c.tagName==="section"||c.tagName==="table"||c.tagName==="ul"):!s||!(s.type==="element"&&(s.tagName==="a"||s.tagName==="audio"||s.tagName==="del"||s.tagName==="ins"||s.tagName==="map"||s.tagName==="noscript"||s.tagName==="video"))}function Nur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&c.tagName==="li"}function Cur(n,i,s){const c=Tf(s,i);return!!(c&&c.type==="element"&&(c.tagName==="dt"||c.tagName==="dd"))}function Iur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="dt"||c.tagName==="dd")}function _$t(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="rp"||c.tagName==="rt")}function Rur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&c.tagName==="optgroup"}function Our(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="option"||c.tagName==="optgroup")}function Dur(n,i,s){const c=Tf(s,i);return!!(c&&c.type==="element"&&(c.tagName==="tbody"||c.tagName==="tfoot"))}function Lur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="tbody"||c.tagName==="tfoot")}function Mur(n,i,s){return!Tf(s,i)}function Pur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&c.tagName==="tr"}function x$t(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="td"||c.tagName==="th")}const jur=dXt({body:Bur,colgroup:Uur,head:$ur,html:Fur,tbody:Hur});function Fur(n){const i=Tf(n,-1);return!i||i.type!=="comment"}function $ur(n){const i=new Set;for(const c of n.children)if(c.type==="element"&&(c.tagName==="base"||c.tagName==="title")){if(i.has(c.tagName))return!1;i.add(c.tagName)}const s=n.children[0];return!s||s.type==="element"}function Bur(n){const i=Tf(n,-1,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&l9e(i.value.charAt(0)))&&!(i.type==="element"&&(i.tagName==="meta"||i.tagName==="link"||i.tagName==="script"||i.tagName==="style"||i.tagName==="template"))}function Uur(n,i,s){const c=cXt(s,i),d=Tf(n,-1,!0);return s&&c&&c.type==="element"&&c.tagName==="colgroup"&&d9e(c,s.children.indexOf(c),s)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function Hur(n,i,s){const c=cXt(s,i),d=Tf(n,-1);return s&&c&&c.type==="element"&&(c.tagName==="thead"||c.tagName==="tbody")&&d9e(c,s.children.indexOf(c),s)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const Lie={name:[[`
\f\r &/=>`.split(""),`
\f\r "&'/=>\``.split("")],[`\0
\f\r "&'/<=>`.split(""),`\0
\f\r "&'/<=>\``.split("")]],unquoted:[[`
\f\r &>`.split(""),`\0
\f\r "&'<=>\``.split("")],[`\0
\f\r "&'<=>\``.split(""),`\0
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function zur(n,i,s,c){const d=c.schema,g=d.space==="svg"?!1:c.settings.omitOptionalTags;let b=d.space==="svg"?c.settings.closeEmptyElements:c.settings.voids.includes(n.tagName.toLowerCase());const w=[];let E;d.space==="html"&&n.tagName==="svg"&&(c.schema=Hz);const S=Gur(c,n.properties),x=c.all(d.space==="html"&&n.tagName==="template"?n.content:n);return c.schema=d,x&&(b=!1),(S||!g||!jur(n,i,s))&&(w.push("<",n.tagName,S?" "+S:""),b&&(d.space==="svg"||c.settings.closeSelfClosing)&&(E=S.charAt(S.length-1),(!c.settings.tightSelfClosing||E==="/"||E&&E!=='"'&&E!=="'")&&w.push(" "),w.push("/")),w.push(">")),w.push(x),!b&&(!g||!d9e(n,i,s))&&w.push("</"+n.tagName+">"),w.join("")}function Gur(n,i){const s=[];let c=-1,d;if(i){for(d in i)if(i[d]!==null&&i[d]!==void 0){const g=qur(n,d,i[d]);g&&s.push(g)}}for(;++c<s.length;){const g=n.settings.tightAttributes?s[c].charAt(s[c].length-1):void 0;c!==s.length-1&&g!=='"'&&g!=="'"&&(s[c]+=" ")}return s.join("")}function qur(n,i,s){const c=i9e(n.schema,i),d=n.settings.allowParseErrors&&n.schema.space==="html"?0:1,g=n.settings.allowDangerousCharacters?0:1;let b=n.quote,w;if(c.overloadedBoolean&&(s===c.attribute||s==="")?s=!0:(c.boolean||c.overloadedBoolean)&&(typeof s!="string"||s===c.attribute||s==="")&&(s=!!s),s==null||s===!1||typeof s=="number"&&Number.isNaN(s))return"";const E=cM(c.attribute,Object.assign({},n.settings.characterReferences,{subset:Lie.name[d][g]}));return s===!0||(s=Array.isArray(s)?(c.commaSeparated?Mir:jir)(s,{padLeft:!n.settings.tightCommaSeparatedLists}):String(s),n.settings.collapseEmptyAttributes&&!s)?E:(n.settings.preferUnquoted&&(w=cM(s,Object.assign({},n.settings.characterReferences,{attribute:!0,subset:Lie.unquoted[d][g]}))),w!==s&&(n.settings.quoteSmart&&T$t(s,b)>T$t(s,n.alternative)&&(b=n.alternative),w=b+cM(s,Object.assign({},n.settings.characterReferences,{subset:(b==="'"?Lie.single:Lie.double)[d][g],attribute:!0}))+b),E+(w&&"="+w))}const Vur=["<","&"];function fXt(n,i,s,c){return s&&s.type==="element"&&(s.tagName==="script"||s.tagName==="style")?n.value:cM(n.value,Object.assign({},c.settings.characterReferences,{subset:Vur}))}function Wur(n,i,s,c){return c.settings.allowDangerousHtml?n.value:fXt(n,i,s,c)}function Kur(n,i,s,c){return c.all(n)}const Yur=tur("type",{invalid:Jur,unknown:Xur,handlers:{comment:vur,doctype:Eur,element:zur,raw:Wur,root:Kur,text:fXt}});function Jur(n){throw new Error("Expected node, not `"+n+"`")}function Xur(n){const i=n;throw new Error("Cannot compile unknown node `"+i.type+"`")}const Zur={},Qur={},ecr=[];function tcr(n,i){const s=i||Zur,c=s.quote||'"',d=c==='"'?"'":'"';if(c!=='"'&&c!=="'")throw new Error("Invalid quote `"+c+"`, expected `'` or `\"`");return{one:ncr,all:rcr,settings:{omitOptionalTags:s.omitOptionalTags||!1,allowParseErrors:s.allowParseErrors||!1,allowDangerousCharacters:s.allowDangerousCharacters||!1,quoteSmart:s.quoteSmart||!1,preferUnquoted:s.preferUnquoted||!1,tightAttributes:s.tightAttributes||!1,upperDoctype:s.upperDoctype||!1,tightDoctype:s.tightDoctype||!1,bogusComments:s.bogusComments||!1,tightCommaSeparatedLists:s.tightCommaSeparatedLists||!1,tightSelfClosing:s.tightSelfClosing||!1,collapseEmptyAttributes:s.collapseEmptyAttributes||!1,allowDangerousHtml:s.allowDangerousHtml||!1,voids:s.voids||eur,characterReferences:s.characterReferences||Qur,closeSelfClosing:s.closeSelfClosing||!1,closeEmptyElements:s.closeEmptyElements||!1},schema:s.space==="svg"?Hz:rue,quote:c,alternative:d}.one(Array.isArray(n)?{type:"root",children:n}:n,void 0,void 0)}function ncr(n,i,s){return Yur(n,i,s,this)}function rcr(n){const i=[],s=n&&n.children||ecr;let c=-1;for(;++c<s.length;)i[c]=this.one(s[c],c,n);return i.join("")}function icr(n){const i=this,s={...i.data("settings"),...n};i.compiler=c;function c(d){return tcr(d,s)}}function k$t(n){if(n)throw n}var aoe=Object.prototype.hasOwnProperty,hXt=Object.prototype.toString,N$t=Object.defineProperty,C$t=Object.getOwnPropertyDescriptor,I$t=function(i){return typeof Array.isArray=="function"?Array.isArray(i):hXt.call(i)==="[object Array]"},R$t=function(i){if(!i||hXt.call(i)!=="[object Object]")return!1;var s=aoe.call(i,"constructor"),c=i.constructor&&i.constructor.prototype&&aoe.call(i.constructor.prototype,"isPrototypeOf");if(i.constructor&&!s&&!c)return!1;var d;for(d in i);return typeof d>"u"||aoe.call(i,d)},O$t=function(i,s){N$t&&s.name==="__proto__"?N$t(i,s.name,{enumerable:!0,configurable:!0,value:s.newValue,writable:!0}):i[s.name]=s.newValue},D$t=function(i,s){if(s==="__proto__")if(aoe.call(i,s)){if(C$t)return C$t(i,s).value}else return;return i[s]},ocr=function n(){var i,s,c,d,g,b,w=arguments[0],E=1,S=arguments.length,x=!1;for(typeof w=="boolean"&&(x=w,w=arguments[1]||{},E=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});E<S;++E)if(i=arguments[E],i!=null)for(s in i)c=D$t(w,s),d=D$t(i,s),w!==d&&(x&&d&&(R$t(d)||(g=I$t(d)))?(g?(g=!1,b=c&&I$t(c)?c:[]):b=c&&R$t(c)?c:{},O$t(w,{name:s,newValue:n(x,b,d)})):typeof d<"u"&&O$t(w,{name:s,newValue:d}));return w};const n6e=TR(ocr);function mLe(n){if(typeof n!="object"||n===null)return!1;const i=Object.getPrototypeOf(n);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function scr(){const n=[],i={run:s,use:c};return i;function s(...d){let g=-1;const b=d.pop();if(typeof b!="function")throw new TypeError("Expected function as last argument, not "+b);w(null,...d);function w(E,...S){const x=n[++g];let A=-1;if(E){b(E);return}for(;++A<d.length;)(S[A]===null||S[A]===void 0)&&(S[A]=d[A]);d=S,x?acr(x,w)(...S):b(null,...S)}}function c(d){if(typeof d!="function")throw new TypeError("Expected `middelware` to be a function, not "+d);return n.push(d),i}}function acr(n,i){let s;return c;function c(...b){const w=n.length>b.length;let E;w&&b.push(d);try{E=n.apply(this,b)}catch(S){const x=S;if(w&&s)throw x;return d(x)}w||(E&&E.then&&typeof E.then=="function"?E.then(g,d):E instanceof Error?d(E):g(E))}function d(b,...w){s||(s=!0,i(b,...w))}function g(b){d(null,b)}}const ucr=function(n){const c=this.constructor.prototype,d=c[n],g=function(){return d.apply(g,arguments)};return Object.setPrototypeOf(g,c),g},ccr={}.hasOwnProperty;class f9e extends ucr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=scr()}copy(){const i=new f9e;let s=-1;for(;++s<this.attachers.length;){const c=this.attachers[s];i.use(...c)}return i.data(n6e(!0,{},this.namespace)),i}data(i,s){return typeof i=="string"?arguments.length===2?(o6e("data",this.frozen),this.namespace[i]=s,this):ccr.call(this.namespace,i)&&this.namespace[i]||void 0:i?(o6e("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[s,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const d=s.call(i,...c);typeof d=="function"&&this.transformers.use(d)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const s=Mie(i),c=this.parser||this.Parser;return r6e("parse",c),c(String(s),s)}process(i,s){const c=this;return this.freeze(),r6e("process",this.parser||this.Parser),i6e("process",this.compiler||this.Compiler),s?d(void 0,s):new Promise(d);function d(g,b){const w=Mie(i),E=c.parse(w);c.run(E,w,function(x,A,C){if(x||!A||!C)return S(x);const R=A,L=c.stringify(R,C);fcr(L)?C.value=L:C.result=L,S(x,C)});function S(x,A){x||!A?b(x):g?g(A):s(void 0,A)}}}processSync(i){let s=!1,c;return this.freeze(),r6e("processSync",this.parser||this.Parser),i6e("processSync",this.compiler||this.Compiler),this.process(i,d),M$t("processSync","process",s),c;function d(g,b){s=!0,k$t(g),c=b}}run(i,s,c){L$t(i),this.freeze();const d=this.transformers;return!c&&typeof s=="function"&&(c=s,s=void 0),c?g(void 0,c):new Promise(g);function g(b,w){const E=Mie(s);d.run(i,E,S);function S(x,A,C){const R=A||i;x?w(x):b?b(R):c(void 0,R,C)}}}runSync(i,s){let c=!1,d;return this.run(i,s,g),M$t("runSync","run",c),d;function g(b,w){k$t(b),d=w,c=!0}}stringify(i,s){this.freeze();const c=Mie(s),d=this.compiler||this.Compiler;return i6e("stringify",d),L$t(i),d(i,c)}use(i,...s){const c=this.attachers,d=this.namespace;if(o6e("use",this.frozen),i!=null)if(typeof i=="function")E(i,s);else if(typeof i=="object")Array.isArray(i)?w(i):b(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function g(S){if(typeof S=="function")E(S,[]);else if(typeof S=="object")if(Array.isArray(S)){const[x,...A]=S;E(x,A)}else b(S);else throw new TypeError("Expected usable value, not `"+S+"`")}function b(S){if(!("plugins"in S)&&!("settings"in S))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");w(S.plugins),S.settings&&(d.settings=n6e(!0,d.settings,S.settings))}function w(S){let x=-1;if(S!=null)if(Array.isArray(S))for(;++x<S.length;){const A=S[x];g(A)}else throw new TypeError("Expected a list of plugins, not `"+S+"`")}function E(S,x){let A=-1,C=-1;for(;++A<c.length;)if(c[A][0]===S){C=A;break}if(C===-1)c.push([S,...x]);else if(x.length>0){let[R,...L]=x;const D=c[C][1];mLe(D)&&mLe(R)&&(R=n6e(!0,D,R)),c[C]=[S,R,...L]}}}}const lcr=new f9e().freeze();function r6e(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function i6e(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function o6e(n,i){if(i)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function L$t(n){if(!mLe(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function M$t(n,i,s){if(!s)throw new Error("`"+n+"` finished async. Use `"+i+"` instead")}function Mie(n){return dcr(n)?n:new gLe(n)}function dcr(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function fcr(n){return typeof n=="string"||hcr(n)}function hcr(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const pcr=lcr().use(Qar).use(icr).freeze();var gcr=function(i,s){return s===void 0&&(s=[]),pcr().data("settings",{fragment:!0}).use([...s]).processSync(""+i).toString()};function bcr(n){return n.replace(/```(tsx?|jsx?|html|xml)(.*)\s+([\s\S]*?)(\s.+)?```/g,i=>i.replace(/[<&"]/g,s=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"})[s])).replace(/[<&"]/g,i=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"})[i])}function s6e(n){n.stopPropagation(),n.preventDefault()}class mcr{constructor(i){this.elm=void 0,this.start=void 0,this.end=void 0,this.value=void 0;var{selectionStart:s,selectionEnd:c}=i;this.elm=i,this.start=s,this.end=c,this.value=this.elm.value}position(i,s){var{selectionStart:c,selectionEnd:d}=this.elm;return this.start=typeof i=="number"&&!isNaN(i)?i:c,this.end=typeof s=="number"&&!isNaN(s)?s:d,this.elm.selectionStart=this.start,this.elm.selectionEnd=this.end,this}insertText(i){return this.elm.focus(),this.elm.setRangeText(i),this.value=this.elm.value,this.position(),this}getSelectedValue(i,s){var{selectionStart:c,selectionEnd:d}=this.elm;return this.value.slice(typeof i=="number"&&!isNaN(i)?i:c,typeof s=="number"&&!isNaN(s)?i:d)}getLineStartNumber(){for(var i=this.start;i>0;)if(i--,this.value.charAt(i)===`
`){i++;break}return i}getIndentText(){var i=this.getLineStartNumber(),s=this.getSelectedValue(i),c="";return s.replace(/(^(\s)+)/,(d,g)=>c=g),c}lineStarInstert(i){if(i){var s=this.start,c=this.getLineStartNumber(),d=this.getSelectedValue(c);this.position(c,this.end).insertText(d.split(`
`).map(g=>i+g).join(`
`)).position(s+i.length,this.end)}return this}lineStarRemove(i){if(i){var s=this.start,c=this.getLineStartNumber(),d=this.getSelectedValue(c),g=new RegExp("^"+i,"g"),b=s-i.length;g.test(d)||(b=s),this.position(c,this.end).insertText(d.split(`
`).map(w=>w.replace(g,"")).join(`
`)).position(b,this.end)}}notifyChange(){var i=new Event("input",{bubbles:!0,cancelable:!1});this.elm.dispatchEvent(i)}}function wcr(n,i){i===void 0&&(i=2);var s=new mcr(n.target),c=(n.code||n.nativeEvent.code).toLocaleLowerCase(),d=" ".repeat(i);if(c==="tab")s6e(n),s.start===s.end?n.shiftKey?s.lineStarRemove(d):s.insertText(d).position(s.start+i,s.end+i):s.getSelectedValue().indexOf(`
`)>-1&&n.shiftKey?s.lineStarRemove(d):s.getSelectedValue().indexOf(`
`)>-1?s.lineStarInstert(d):s.insertText(d).position(s.start+i,s.end),s.notifyChange();else if(c==="enter"){s6e(n);var g=`
`+s.getIndentText();s.insertText(g).position(s.start+g.length,s.start+g.length),s.notifyChange()}else if(c&&/^(quote|backquote|bracketleft|digit9|comma)$/.test(c)&&s.getSelectedValue()){s6e(n);var b=s.getSelectedValue(),w="";switch(c){case"quote":w="'"+b+"'",n.shiftKey&&(w='"'+b+'"');break;case"backquote":w="`"+b+"`";break;case"bracketleft":w="["+b+"]",n.shiftKey&&(w="{"+b+"}");break;case"digit9":w="("+b+")";break;case"comma":w="<"+b+">";break}s.insertText(w),s.notifyChange()}}var ycr={position:"relative",textAlign:"left",boxSizing:"border-box",padding:0,overflow:"hidden"},vcr={position:"absolute",top:0,left:0,height:"100%",width:"100%",resize:"none",color:"inherit",opacity:.8,overflow:"hidden",MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",WebkitTextFillColor:"transparent"},P$t={margin:0,border:0,background:"none",boxSizing:"inherit",display:"inherit",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontVariantLigatures:"inherit",fontWeight:"inherit",letterSpacing:"inherit",lineHeight:"inherit",tabSize:"inherit",textIndent:"inherit",textRendering:"inherit",textTransform:"inherit",whiteSpace:"pre-wrap",wordBreak:"keep-all",overflowWrap:"break-word",outline:0},Ecr=["prefixCls","value","padding","minHeight","placeholder","language","data-color-mode","className","style","rehypePlugins","onChange","indentWidth"];const Scr=Hn.forwardRef((n,i)=>{var{prefixCls:s="w-tc-editor",padding:c=10,minHeight:d=16,placeholder:g,language:b,"data-color-mode":w,className:E,style:S,rehypePlugins:x,onChange:A,indentWidth:C=2}=n,R=SJt(n,Ecr),[L,D]=H.useState(n.value||"");H.useEffect(()=>D(n.value||""),[n.value]);var B=H.useRef(null);H.useImperativeHandle(i,()=>B.current,[B]);var $={paddingTop:c,paddingRight:c,paddingBottom:c,paddingLeft:c},j=H.useMemo(()=>gcr("<pre aria-hidden=true><code "+(b&&L?'class="language-'+b+'"':"")+" >"+bcr(String(L||""))+"</code><br /></pre>",x),[L,b,x]),P=H.useMemo(()=>I.jsx("div",{style:Hk({},P$t,$,{minHeight:d}),className:s+"-preview "+(b?"language-"+b:""),dangerouslySetInnerHTML:{__html:j}}),[s,b,j]),G=Q=>{D(Q.target.value),A&&A(Q)},ee=Q=>{R.readOnly||(!R.onKeyDown||R.onKeyDown(Q)!==!1)&&wcr(Q,C)},re=Hk({autoComplete:"off",autoCorrect:"off",spellCheck:"false",autoCapitalize:"off"},R,{placeholder:g,onKeyDown:ee,style:Hk({},P$t,vcr,$,{minHeight:d},g&&!L?{WebkitTextFillColor:"inherit"}:{}),onChange:G,className:s+"-text",value:L});return I.jsxs("div",{style:Hk({},ycr,S),className:s+" "+(E||""),"data-color-mode":w,children:[I.jsx("textarea",Hk({},re,{ref:B})),P]})}),h9e=function(n){if(n==null)return xcr;if(typeof n=="function")return cue(n);if(typeof n=="object")return Array.isArray(n)?Tcr(n):Acr(n);if(typeof n=="string")return _cr(n);throw new Error("Expected function, string, or object as test")};function Tcr(n){const i=[];let s=-1;for(;++s<n.length;)i[s]=h9e(n[s]);return cue(c);function c(...d){let g=-1;for(;++g<i.length;)if(i[g].apply(this,d))return!0;return!1}}function Acr(n){const i=n;return cue(s);function s(c){const d=c;let g;for(g in n)if(d[g]!==i[g])return!1;return!0}}function _cr(n){return cue(i);function i(s){return s&&s.type===n}}function cue(n){return i;function i(s,c,d){return!!(kcr(s)&&n.call(this,s,typeof c=="number"?c:void 0,d||void 0))}}function xcr(){return!0}function kcr(n){return n!==null&&typeof n=="object"&&"type"in n}const pXt=[],Ncr=!0,j$t=!1,Ccr="skip";function Icr(n,i,s,c){let d;typeof i=="function"&&typeof s!="function"?(c=s,s=i):d=i;const g=h9e(d),b=c?-1:1;w(n,void 0,[])();function w(E,S,x){const A=E&&typeof E=="object"?E:{};if(typeof A.type=="string"){const R=typeof A.tagName=="string"?A.tagName:typeof A.name=="string"?A.name:void 0;Object.defineProperty(C,"name",{value:"node ("+(E.type+(R?"<"+R+">":""))+")"})}return C;function C(){let R=pXt,L,D,B;if((!i||g(E,S,x[x.length-1]||void 0))&&(R=Rcr(s(E,x)),R[0]===j$t))return R;if("children"in E&&E.children){const $=E;if($.children&&R[0]!==Ccr)for(D=(c?$.children.length:-1)+b,B=x.concat($);D>-1&&D<$.children.length;){const j=$.children[D];if(L=w(j,D,B)(),L[0]===j$t)return L;D=typeof L[1]=="number"?L[1]:D+b}}return R}}}function Rcr(n){return Array.isArray(n)?n:typeof n=="number"?[Ncr,n]:n==null?pXt:[n]}function Ocr(n,i,s,c){let d,g,b;g=i,b=s,d=c,Icr(n,g,w,d);function w(E,S){const x=S[S.length-1],A=x?x.children.indexOf(E):void 0;return b(E,A,x)}}function Pie(n){return"children"in n?gXt(n):"value"in n?n.value:""}function Dcr(n){return n.type==="text"?n.value:"children"in n?gXt(n):""}function gXt(n){let i=-1;const s=[];for(;++i<n.children.length;)s[i]=Dcr(n.children[i]);return s.join("")}const Lcr={}.hasOwnProperty;function Mcr(n,i,s){const c=h9e(i),d=i&&typeof i=="object"&&"cascade"in i?i.cascade:void 0,g=d??!0;return b(n);function b(w,E,S){const x=[];if(!c(w,E,S))return;if(Pcr(w)){let R=-1;for(;++R<w.children.length;){const L=b(w.children[R],R,w);L&&x.push(L)}if(g&&w.children.length>0&&x.length===0)return}const A={};let C;for(C in w)Lcr.call(w,C)&&(A[C]=C==="children"?x:w[C]);return A}}function Pcr(n){return"children"in n&&n.children!==void 0}var wLe={exports:{}};(function(n,i){function s(c){let d=[],g;for(let b of c.split(",").map(w=>w.trim()))if(/^-?\d+$/.test(b))d.push(parseInt(b,10));else if(g=b.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[w,E,S,x]=g;if(E&&x){E=parseInt(E),x=parseInt(x);const A=E<x?1:-1;(S==="-"||S===".."||S==="‥")&&(x+=A);for(let C=E;C!==x;C+=A)d.push(C)}}return d}i.default=s,n.exports=s})(wLe,wLe.exports);var jcr=wLe.exports;const Fcr=TR(jcr);Ds.displayName="clike";Ds.aliases=[];function Ds(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}zv.displayName="c";zv.aliases=[];function zv(n){n.register(Ds),n.languages.c=n.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),n.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),n.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},n.languages.c.string],char:n.languages.c.char,comment:n.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:n.languages.c}}}}),n.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete n.languages.c.boolean}FR.displayName="cpp";FR.aliases=[];function FR(n){n.register(zv),function(i){var s=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,c=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return s.source});i.languages.cpp=i.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return s.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:s,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),i.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return c})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),i.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i.languages.cpp}}}}),i.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),i.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:i.languages.extend("cpp",{})}}),i.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},i.languages.cpp["base-clause"])}(n)}lue.displayName="arduino";lue.aliases=["ino"];function lue(n){n.register(FR),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}qz.displayName="bash";qz.aliases=["sh","shell"];function qz(n){(function(i){var s="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",c={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},d={bash:c,environment:{pattern:RegExp("\\$"+s),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+s),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+s),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:d},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:c}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:d},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:d.entity}}],environment:{pattern:RegExp("\\$?"+s),alias:"constant"},variable:d.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},c.inside=i.languages.bash;for(var g=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],b=d.variable[1].inside,w=0;w<g.length;w++)b[g[w]]=i.languages.bash[g[w]];i.languages.sh=i.languages.bash,i.languages.shell=i.languages.bash})(n)}$R.displayName="csharp";$R.aliases=["cs","dotnet"];function $R(n){n.register(Ds),function(i){function s(We,dt){return We.replace(/<<(\d+)>>/g,function(Ue,bt){return"(?:"+dt[+bt]+")"})}function c(We,dt,Ue){return RegExp(s(We,dt),"")}function d(We,dt){for(var Ue=0;Ue<dt;Ue++)We=We.replace(/<<self>>/g,function(){return"(?:"+We+")"});return We.replace(/<<self>>/g,"[^\\s\\S]")}var g={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function b(We){return"\\b(?:"+We.trim().replace(/ /g,"|")+")\\b"}var w=b(g.typeDeclaration),E=RegExp(b(g.type+" "+g.typeDeclaration+" "+g.contextual+" "+g.other)),S=b(g.typeDeclaration+" "+g.contextual+" "+g.other),x=b(g.type+" "+g.typeDeclaration+" "+g.other),A=d(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),C=d(/\((?:[^()]|<<self>>)*\)/.source,2),R=/@?\b[A-Za-z_]\w*\b/.source,L=s(/<<0>>(?:\s*<<1>>)?/.source,[R,A]),D=s(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[S,L]),B=/\[\s*(?:,\s*)*\]/.source,$=s(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[D,B]),j=s(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[A,C,B]),P=s(/\(<<0>>+(?:,<<0>>+)+\)/.source,[j]),G=s(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[P,D,B]),ee={keyword:E,punctuation:/[<>()?,.:[\]]/},re=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Q=/"(?:\\.|[^\\"\r\n])*"/.source,ie=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[ie]),lookbehind:!0,greedy:!0},{pattern:c(/(^|[^@$\\])<<0>>/.source,[Q]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[D]),lookbehind:!0,inside:ee},{pattern:c(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[R,G]),lookbehind:!0,inside:ee},{pattern:c(/(\busing\s+)<<0>>(?=\s*=)/.source,[R]),lookbehind:!0},{pattern:c(/(\b<<0>>\s+)<<1>>/.source,[w,L]),lookbehind:!0,inside:ee},{pattern:c(/(\bcatch\s*\(\s*)<<0>>/.source,[D]),lookbehind:!0,inside:ee},{pattern:c(/(\bwhere\s+)<<0>>/.source,[R]),lookbehind:!0},{pattern:c(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[$]),lookbehind:!0,inside:ee},{pattern:c(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[G,x,R]),inside:ee}],keyword:E,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:c(/([(,]\s*)<<0>>(?=\s*:)/.source,[R]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:c(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[R]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:c(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[C]),lookbehind:!0,alias:"class-name",inside:ee},"return-type":{pattern:c(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[G,D]),inside:ee,alias:"class-name"},"constructor-invocation":{pattern:c(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[G]),lookbehind:!0,inside:ee,alias:"class-name"},"generic-method":{pattern:c(/<<0>>\s*<<1>>(?=\s*\()/.source,[R,A]),inside:{function:c(/^<<0>>/.source,[R]),generic:{pattern:RegExp(A),alias:"class-name",inside:ee}}},"type-list":{pattern:c(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[w,L,R,G,E.source,C,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:c(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[L,C]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:E,"class-name":{pattern:RegExp(G),greedy:!0,inside:ee},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var pe=Q+"|"+re,me=s(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[pe]),le=d(s(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[me]),2),fe=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,K=s(/<<0>>(?:\s*\(<<1>>*\))?/.source,[D,le]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:c(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[fe,K]),lookbehind:!0,greedy:!0,inside:{target:{pattern:c(/^<<0>>(?=\s*:)/.source,[fe]),alias:"keyword"},"attribute-arguments":{pattern:c(/\(<<0>>*\)/.source,[le]),inside:i.languages.csharp},"class-name":{pattern:RegExp(D),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var he=/:[^}\r\n]+/.source,Oe=d(s(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[me]),2),Se=s(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Oe,he]),Le=d(s(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[pe]),2),Ae=s(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Le,he]);function xe(We,dt){return{interpolation:{pattern:c(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[We]),lookbehind:!0,inside:{"format-string":{pattern:c(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[dt,he]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:c(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Se]),lookbehind:!0,greedy:!0,inside:xe(Se,Oe)},{pattern:c(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Ae]),lookbehind:!0,greedy:!0,inside:xe(Ae,Le)}],char:{pattern:RegExp(re),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp}(n)}oh.displayName="markup";oh.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function oh(n){n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(s,c){var d={};d["language-"+c]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[c]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var g={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};g["language-"+c]={pattern:/[\s\S]+/,inside:n.languages[c]};var b={};b[s]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:g},n.languages.insertBefore("markup","cdata",b)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,s){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:n.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}NN.displayName="css";NN.aliases=[];function NN(n){(function(i){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+s.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var c=i.languages.markup;c&&(c.tag.addInlined("style","css"),c.tag.addAttribute("style","css"))})(n)}due.displayName="diff";due.aliases=[];function due(n){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var s={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(s).forEach(function(c){var d=s[c],g=[];/^\w+$/.test(c)||g.push(/\w+/.exec(c)[0]),c==="diff"&&g.push("bold"),i.languages.diff[c]={pattern:RegExp("^(?:["+d+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:g,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(c)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:s})})(n)}fue.displayName="go";fue.aliases=[];function fue(n){n.register(Ds),n.languages.go=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),n.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete n.languages.go["class-name"]}hue.displayName="ini";hue.aliases=[];function hue(n){n.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}BR.displayName="java";BR.aliases=[];function BR(n){n.register(Ds),function(i){var s=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,c=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(/(^|[^\w.])/.source+c+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[d,{pattern:RegExp(/(^|[^\w.])/.source+c+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:d.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+c+/[A-Z]\w*\b/.source),lookbehind:!0,inside:d.inside}],keyword:s,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":d,keyword:s,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+c+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:d.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+c+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:d.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return s.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(n)}pue.displayName="regex";pue.aliases=[];function pue(n){(function(i){var s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,d={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},g={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},b="(?:[^\\\\-]|"+c.source+")",w=RegExp(b+"-"+b),E={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:w,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":g,escape:c}},"special-escape":s,"char-set":d,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":E}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":E}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(n)}qh.displayName="javascript";qh.aliases=["js"];function qh(n){n.register(Ds),n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}YM.displayName="json";YM.aliases=["webmanifest"];function YM(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}gue.displayName="kotlin";gue.aliases=["kt","kts"];function gue(n){n.register(Ds),function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var s={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:s},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:s},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin}(n)}bue.displayName="less";bue.aliases=[];function bue(n){n.register(NN),n.languages.less=n.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),n.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}Vz.displayName="lua";Vz.aliases=[];function Vz(n){n.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}mue.displayName="makefile";mue.aliases=[];function mue(n){n.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}Wz.displayName="yaml";Wz.aliases=["yml"];function Wz(n){(function(i){var s=/[*&][^\s[\]{},]+/,c=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+c.source+"(?:[ ]+"+s.source+")?|"+s.source+"(?:[ ]+"+c.source+")?)",g=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),b=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function w(E,S){S=(S||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<value>>/g,function(){return E});return RegExp(x,S)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return d})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<key>>/g,function(){return"(?:"+g+"|"+b+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:w(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:w(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:w(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:w(b),lookbehind:!0,greedy:!0},number:{pattern:w(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:c,important:s,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(n)}wue.displayName="markdown";wue.aliases=["md"];function wue(n){n.register(oh),function(i){var s=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function c(w){return w=w.replace(/<inner>/g,function(){return s}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+w+")")}var d=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,g=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return d}),b=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+g+b+"(?:"+g+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+g+b+")(?:"+g+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(d),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+g+")"+b+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+g+"$"),inside:{"table-header":{pattern:RegExp(d),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:c(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:c(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:c(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:c(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(w){["url","bold","italic","strike","code-snippet"].forEach(function(E){w!==E&&(i.languages.markdown[w].inside.content.inside[E]=i.languages.markdown[E])})}),i.hooks.add("after-tokenize",function(w){if(w.language!=="markdown"&&w.language!=="md")return;function E(S){if(!(!S||typeof S=="string"))for(var x=0,A=S.length;x<A;x++){var C=S[x];if(C.type!=="code"){E(C.content);continue}var R=C.content[1],L=C.content[3];if(R&&L&&R.type==="code-language"&&L.type==="code-block"&&typeof R.content=="string"){var D=R.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");D=(/[a-z][\w-]*/i.exec(D)||[""])[0].toLowerCase();var B="language-"+D;L.alias?typeof L.alias=="string"?L.alias=[L.alias,B]:L.alias.push(B):L.alias=[B]}}}E(w.tokens)}),i.hooks.add("wrap",function(w){if(w.type==="code-block"){for(var E="",S=0,x=w.classes.length;S<x;S++){var A=w.classes[S],C=/language-(.+)/.exec(A);if(C){E=C[1];break}}var R=i.languages[E];if(R)w.content=i.highlight(w.content.value,R,E);else if(E&&E!=="none"&&i.plugins.autoloader){var L="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);w.attributes.id=L,i.plugins.autoloader.loadLanguages(E,function(){var D=document.getElementById(L);D&&(D.innerHTML=i.highlight(D.textContent,i.languages[E],E))})}}}),RegExp(i.languages.markup.tag.pattern.source,"gi"),i.languages.md=i.languages.markdown}(n)}yue.displayName="objectivec";yue.aliases=["objc"];function yue(n){n.register(zv),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}vue.displayName="perl";vue.aliases=[];function vue(n){(function(i){var s=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;i.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,s].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,s].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,s+/\s*/.source+s].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(n)}Vh.displayName="markup-templating";Vh.aliases=[];function Vh(n){n.register(oh),function(i){function s(c,d){return"___"+c.toUpperCase()+d+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(c,d,g,b){if(c.language===d){var w=c.tokenStack=[];c.code=c.code.replace(g,function(E){if(typeof b=="function"&&!b(E))return E;for(var S=w.length,x;c.code.indexOf(x=s(d,S))!==-1;)++S;return w[S]=E,x}),c.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(c,d){if(c.language!==d||!c.tokenStack)return;c.grammar=i.languages[d];var g=0,b=Object.keys(c.tokenStack);function w(E){for(var S=0;S<E.length&&!(g>=b.length);S++){var x=E[S];if(typeof x=="string"||x.content&&typeof x.content=="string"){var A=b[g],C=c.tokenStack[A],R=typeof x=="string"?x:x.content,L=s(d,A),D=R.indexOf(L);if(D>-1){++g;var B=R.substring(0,D),$=new i.Token(d,i.tokenize(C,c.grammar),"language-"+d,C),j=R.substring(D+L.length),P=[];B&&P.push.apply(P,w([B])),P.push($),j&&P.push.apply(P,w([j])),typeof x=="string"?E.splice.apply(E,[S,1].concat(P)):x.content=P}}else x.content&&w(x.content)}return E}w(c.tokens)}}})}(n)}UR.displayName="php";UR.aliases=[];function UR(n){n.register(Vh),function(i){var s=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,c=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],d=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,g=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,b=/[{}\[\](),:;]/;i.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:s,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:d,operator:g,punctuation:b};var w={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:i.languages.php},E=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:w}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:w}}];i.languages.insertBefore("php","variable",{string:E,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:s,string:E,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,number:d,operator:g,punctuation:b}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),i.hooks.add("before-tokenize",function(S){if(/<\?/.test(S.code)){var x=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;i.languages["markup-templating"].buildPlaceholders(S,"php",x)}}),i.hooks.add("after-tokenize",function(S){i.languages["markup-templating"].tokenizePlaceholders(S,"php")})}(n)}Kz.displayName="python";Kz.aliases=["py"];function Kz(n){n.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.python["string-interpolation"].inside.interpolation.inside.rest=n.languages.python,n.languages.py=n.languages.python}Eue.displayName="r";Eue.aliases=[];function Eue(n){n.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}HR.displayName="ruby";HR.aliases=["rb"];function HR(n){n.register(Ds),function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var s={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var c="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",d=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+c+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:s,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:s,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+d),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+d+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+c),greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:s,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+c),greedy:!0,inside:{interpolation:s,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:s,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby}(n)}Sue.displayName="rust";Sue.aliases=[];function Sue(n){(function(i){for(var s=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,c=0;c<2;c++)s=s.replace(/<self>/g,function(){return s});s=s.replace(/<self>/g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+s),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.languages.rust.string})(n)}Tue.displayName="sass";Tue.aliases=[];function Tue(n){n.register(NN),function(i){i.languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule;var s=/\$[-\w]+|#\{\$[-\w]+\}/,c=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:s,operator:c}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:s,operator:c,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(n)}Aue.displayName="scss";Aue.aliases=[];function Aue(n){n.register(NN),n.languages.scss=n.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),n.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),n.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),n.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),n.languages.scss.atrule.inside.rest=n.languages.scss}JM.displayName="sql";JM.aliases=[];function JM(n){n.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}_ue.displayName="swift";_ue.aliases=[];function _ue(n){n.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},n.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=n.languages.swift})}XM.displayName="typescript";XM.aliases=["ts"];function XM(n){n.register(qh),function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var s=i.languages.extend("typescript",{});delete s["class-name"],i.languages.typescript["class-name"].inside=s,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:s}}}}),i.languages.ts=i.languages.typescript}(n)}Yz.displayName="basic";Yz.aliases=[];function Yz(n){n.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}Jz.displayName="vbnet";Jz.aliases=[];function Jz(n){n.register(Yz),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}class Xz{constructor(i,s,c){this.property=i,this.normal=s,c&&(this.space=c)}}Xz.prototype.property={};Xz.prototype.normal={};Xz.prototype.space=null;function bXt(n,i){const s={},c={};let d=-1;for(;++d<n.length;)Object.assign(s,n[d].property),Object.assign(c,n[d].normal);return new Xz(s,c,i)}function pz(n){return n.toLowerCase()}class Rw{constructor(i,s){this.property=i,this.attribute=s}}Rw.prototype.space=null;Rw.prototype.boolean=!1;Rw.prototype.booleanish=!1;Rw.prototype.overloadedBoolean=!1;Rw.prototype.number=!1;Rw.prototype.commaSeparated=!1;Rw.prototype.spaceSeparated=!1;Rw.prototype.commaOrSpaceSeparated=!1;Rw.prototype.mustUseProperty=!1;Rw.prototype.defined=!1;let $cr=0;const qo=zR(),jd=zR(),mXt=zR(),ur=zR(),Vu=zR(),lM=zR(),Dm=zR();function zR(){return 2**++$cr}const yLe=Object.freeze(Object.defineProperty({__proto__:null,boolean:qo,booleanish:jd,commaOrSpaceSeparated:Dm,commaSeparated:lM,number:ur,overloadedBoolean:mXt,spaceSeparated:Vu},Symbol.toStringTag,{value:"Module"})),a6e=Object.keys(yLe);class p9e extends Rw{constructor(i,s,c,d){let g=-1;if(super(i,s),F$t(this,"space",d),typeof c=="number")for(;++g<a6e.length;){const b=a6e[g];F$t(this,a6e[g],(c&yLe[b])===yLe[b])}}}p9e.prototype.defined=!0;function F$t(n,i,s){s&&(n[i]=s)}const Bcr={}.hasOwnProperty;function ZM(n){const i={},s={};let c;for(c in n.properties)if(Bcr.call(n.properties,c)){const d=n.properties[c],g=new p9e(c,n.transform(n.attributes||{},c),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(c)&&(g.mustUseProperty=!0),i[c]=g,s[pz(c)]=c,s[pz(g.attribute)]=c}return new Xz(i,s,n.space)}const wXt=ZM({space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),yXt=ZM({space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function vXt(n,i){return i in n?n[i]:i}function EXt(n,i){return vXt(n,i.toLowerCase())}const SXt=ZM({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:EXt,properties:{xmlns:null,xmlnsXLink:null}}),TXt=ZM({transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:jd,ariaAutoComplete:null,ariaBusy:jd,ariaChecked:jd,ariaColCount:ur,ariaColIndex:ur,ariaColSpan:ur,ariaControls:Vu,ariaCurrent:null,ariaDescribedBy:Vu,ariaDetails:null,ariaDisabled:jd,ariaDropEffect:Vu,ariaErrorMessage:null,ariaExpanded:jd,ariaFlowTo:Vu,ariaGrabbed:jd,ariaHasPopup:null,ariaHidden:jd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Vu,ariaLevel:ur,ariaLive:null,ariaModal:jd,ariaMultiLine:jd,ariaMultiSelectable:jd,ariaOrientation:null,ariaOwns:Vu,ariaPlaceholder:null,ariaPosInSet:ur,ariaPressed:jd,ariaReadOnly:jd,ariaRelevant:null,ariaRequired:jd,ariaRoleDescription:Vu,ariaRowCount:ur,ariaRowIndex:ur,ariaRowSpan:ur,ariaSelected:jd,ariaSetSize:ur,ariaSort:null,ariaValueMax:ur,ariaValueMin:ur,ariaValueNow:ur,ariaValueText:null,role:null}}),Ucr=ZM({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:EXt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lM,acceptCharset:Vu,accessKey:Vu,action:null,allow:null,allowFullScreen:qo,allowPaymentRequest:qo,allowUserMedia:qo,alt:null,as:null,async:qo,autoCapitalize:null,autoComplete:Vu,autoFocus:qo,autoPlay:qo,blocking:Vu,capture:null,charSet:null,checked:qo,cite:null,className:Vu,cols:ur,colSpan:null,content:null,contentEditable:jd,controls:qo,controlsList:Vu,coords:ur|lM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:qo,defer:qo,dir:null,dirName:null,disabled:qo,download:mXt,draggable:jd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:qo,formTarget:null,headers:Vu,height:ur,hidden:qo,high:ur,href:null,hrefLang:null,htmlFor:Vu,httpEquiv:Vu,id:null,imageSizes:null,imageSrcSet:null,inert:qo,inputMode:null,integrity:null,is:null,isMap:qo,itemId:null,itemProp:Vu,itemRef:Vu,itemScope:qo,itemType:Vu,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:qo,low:ur,manifest:null,max:null,maxLength:ur,media:null,method:null,min:null,minLength:ur,multiple:qo,muted:qo,name:null,nonce:null,noModule:qo,noValidate:qo,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:qo,optimum:ur,pattern:null,ping:Vu,placeholder:null,playsInline:qo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:qo,referrerPolicy:null,rel:Vu,required:qo,reversed:qo,rows:ur,rowSpan:ur,sandbox:Vu,scope:null,scoped:qo,seamless:qo,selected:qo,shadowRootClonable:qo,shadowRootDelegatesFocus:qo,shadowRootMode:null,shape:null,size:ur,sizes:null,slot:null,span:ur,spellCheck:jd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ur,step:null,style:null,tabIndex:ur,target:null,title:null,translate:null,type:null,typeMustMatch:qo,useMap:null,value:jd,width:ur,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Vu,axis:null,background:null,bgColor:null,border:ur,borderColor:null,bottomMargin:ur,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:qo,declare:qo,event:null,face:null,frame:null,frameBorder:null,hSpace:ur,leftMargin:ur,link:null,longDesc:null,lowSrc:null,marginHeight:ur,marginWidth:ur,noResize:qo,noHref:qo,noShade:qo,noWrap:qo,object:null,profile:null,prompt:null,rev:null,rightMargin:ur,rules:null,scheme:null,scrolling:jd,standby:null,summary:null,text:null,topMargin:ur,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ur,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:qo,disableRemotePlayback:qo,prefix:null,property:null,results:ur,security:null,unselectable:null}}),Hcr=ZM({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:vXt,properties:{about:Dm,accentHeight:ur,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ur,amplitude:ur,arabicForm:null,ascent:ur,attributeName:null,attributeType:null,azimuth:ur,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ur,by:null,calcMode:null,capHeight:ur,className:Vu,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ur,diffuseConstant:ur,direction:null,display:null,dur:null,divisor:ur,dominantBaseline:null,download:qo,dx:null,dy:null,edgeMode:null,editable:null,elevation:ur,enableBackground:null,end:null,event:null,exponent:ur,externalResourcesRequired:null,fill:null,fillOpacity:ur,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:lM,g2:lM,glyphName:lM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ur,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ur,horizOriginX:ur,horizOriginY:ur,id:null,ideographic:ur,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ur,k:ur,k1:ur,k2:ur,k3:ur,k4:ur,kernelMatrix:Dm,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ur,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ur,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ur,overlineThickness:ur,paintOrder:null,panose1:null,path:null,pathLength:ur,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Vu,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ur,pointsAtY:ur,pointsAtZ:ur,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Dm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Dm,rev:Dm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Dm,requiredFeatures:Dm,requiredFonts:Dm,requiredFormats:Dm,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ur,specularExponent:ur,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ur,strikethroughThickness:ur,string:null,stroke:null,strokeDashArray:Dm,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ur,strokeOpacity:ur,strokeWidth:null,style:null,surfaceScale:ur,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dm,tabIndex:ur,tableValues:null,target:null,targetX:ur,targetY:ur,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Dm,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ur,underlineThickness:ur,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ur,values:null,vAlphabetic:ur,vMathematical:ur,vectorEffect:null,vHanging:ur,vIdeographic:ur,version:null,vertAdvY:ur,vertOriginX:ur,vertOriginY:ur,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ur,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),zcr=/^data[-\w.:]+$/i,$$t=/-[a-z]/g,Gcr=/[A-Z]/g;function qcr(n,i){const s=pz(i);let c=i,d=Rw;if(s in n.normal)return n.property[n.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&zcr.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace($$t,Wcr);c="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!$$t.test(g)){let b=g.replace(Gcr,Vcr);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=p9e}return new d(c,i)}function Vcr(n){return"-"+n.toLowerCase()}function Wcr(n){return n.charAt(1).toUpperCase()}const Kcr=bXt([yXt,wXt,SXt,TXt,Ucr],"html");bXt([yXt,wXt,SXt,TXt,Hcr],"svg");const B$t=/[#.]/g;function Ycr(n,i){const s=n||"",c={};let d=0,g,b;for(;d<s.length;){B$t.lastIndex=d;const w=B$t.exec(s),E=s.slice(d,w?w.index:s.length);E&&(g?g==="#"?c.id=E:Array.isArray(c.className)?c.className.push(E):c.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:c,children:[]}}const Jcr=new Set(["menu","submit","reset","button"]),AXt={}.hasOwnProperty;function Xcr(n,i,s){return function(d,g,...b){let w=-1,E;if(d==null)E={type:"root",children:[]},b.unshift(g);else if(E=Ycr(d,i),E.tagName=E.tagName.toLowerCase(),Zcr(g,E.tagName)){let S;for(S in g)AXt.call(g,S)&&Qcr(n,E.properties,S,g[S])}else b.unshift(g);for(;++w<b.length;)vLe(E.children,b[w]);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}}function Zcr(n,i){return n==null||typeof n!="object"||Array.isArray(n)?!1:i==="input"||!n.type||typeof n.type!="string"?!0:"children"in n&&Array.isArray(n.children)?!1:i==="button"?Jcr.has(n.type.toLowerCase()):!("value"in n)}function Qcr(n,i,s,c){const d=qcr(n,s);let g=-1,b;if(c!=null){if(typeof c=="number"){if(Number.isNaN(c))return;b=c}else typeof c=="boolean"?b=c:typeof c=="string"?d.spaceSeparated?b=Tse(c):d.commaSeparated?b=Sse(c):d.commaOrSpaceSeparated?b=Tse(Sse(c).join(" ")):b=U$t(d,d.property,c):Array.isArray(c)?b=c.concat():b=d.property==="style"?elr(c):String(c);if(Array.isArray(b)){const w=[];for(;++g<b.length;)w[g]=U$t(d,d.property,b[g]);b=w}d.property==="className"&&Array.isArray(i.className)&&(b=i.className.concat(b)),i[d.property]=b}}function vLe(n,i){let s=-1;if(i!=null)if(typeof i=="string"||typeof i=="number")n.push({type:"text",value:String(i)});else if(Array.isArray(i))for(;++s<i.length;)vLe(n,i[s]);else if(typeof i=="object"&&"type"in i)i.type==="root"?vLe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function U$t(n,i,s){if(typeof s=="string"){if(n.number&&s&&!Number.isNaN(Number(s)))return Number(s);if((n.boolean||n.overloadedBoolean)&&(s===""||pz(s)===pz(i)))return!0}return s}function elr(n){const i=[];let s;for(s in n)AXt.call(n,s)&&i.push([s,n[s]].join(": "));return i.join("; ")}const tlr=Xcr(Kcr,"div"),H$t={0:"",128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"};function _Xt(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=48&&i<=57}function nlr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}function rlr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}function z$t(n){return rlr(n)||_Xt(n)}const G$t=document.createElement("i");function q$t(n){const i="&"+n+";";G$t.innerHTML=i;const s=G$t.textContent;return s.charCodeAt(s.length-1)===59&&n!=="semi"||s===i?!1:s}const ilr=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function olr(n,i){const s={},c=typeof s.additional=="string"?s.additional.charCodeAt(0):s.additional,d=[];let g=0,b=-1,w="",E,S;s.position&&("start"in s.position||"indent"in s.position?(S=s.position.indent,E=s.position.start):E=s.position);let x=(E?E.line:0)||1,A=(E?E.column:0)||1,C=L(),R;for(g--;++g<=n.length;)if(R===10&&(A=(S?S[b]:0)||1),R=n.charCodeAt(g),R===38){const $=n.charCodeAt(g+1);if($===9||$===10||$===12||$===32||$===38||$===60||Number.isNaN($)||c&&$===c){w+=String.fromCharCode(R),A++;continue}const j=g+1;let P=j,G=j,ee;if($===35){G=++P;const K=n.charCodeAt(G);K===88||K===120?(ee="hexadecimal",G=++P):ee="decimal"}else ee="named";let re="",Q="",ie="";const pe=ee==="named"?z$t:ee==="decimal"?_Xt:nlr;for(G--;++G<=n.length;){const K=n.charCodeAt(G);if(!pe(K))break;ie+=String.fromCharCode(K),ee==="named"&&aXt.includes(ie)&&(re=ie,Q=q$t(ie))}let me=n.charCodeAt(G)===59;if(me){G++;const K=ee==="named"?q$t(ie):!1;K&&(re=ie,Q=K)}let le=1+G-j,fe="";if(!(!me&&s.nonTerminated===!1))if(!ie)ee!=="named"&&D(4,le);else if(ee==="named"){if(me&&!Q)D(5,1);else if(re!==ie&&(G=P+re.length,le=1+G-P,me=!1),!me){const K=re?1:3;if(s.attribute){const he=n.charCodeAt(G);he===61?(D(K,le),Q=""):z$t(he)?Q="":D(K,le)}else D(K,le)}fe=Q}else{me||D(2,le);let K=Number.parseInt(ie,ee==="hexadecimal"?16:10);if(slr(K))D(7,le),fe="";else if(K in H$t)D(6,le),fe=H$t[K];else{let he="";alr(K)&&D(6,le),K>65535&&(K-=65536,he+=String.fromCharCode(K>>>10|55296),K=56320|K&1023),fe=he+String.fromCharCode(K)}}if(fe){B(),C=L(),g=G-1,A+=G-j+1,d.push(fe);const K=L();K.offset++,s.reference&&s.reference.call(s.referenceContext||void 0,fe,{start:C,end:K},n.slice(j-1,G)),C=K}else ie=n.slice(j-1,G),w+=ie,A+=ie.length,g=G-1}else R===10&&(x++,b++,A=0),Number.isNaN(R)?B():(w+=String.fromCharCode(R),A++);return d.join("");function L(){return{line:x,column:A,offset:g+((E?E.offset:0)||0)}}function D($,j){let P;s.warning&&(P=L(),P.column+=j,P.offset+=j,s.warning.call(s.warningContext||void 0,ilr[$],P,$))}function B(){w&&(d.push(w),s.text&&s.text.call(s.textContext||void 0,w,{start:C,end:L()}),w="")}}function slr(n){return n>=55296&&n<=57343||n>1114111}function alr(n){return n>=1&&n<=8||n===11||n>=13&&n<=31||n>=127&&n<=159||n>=64976&&n<=65007||(n&65535)===65535||(n&65535)===65534}var ulr=0,jie={},eh={util:{type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++ulr}),n.__id},clone:function n(i,s){s=s||{};var c,d;switch(eh.util.type(i)){case"Object":if(d=eh.util.objId(i),s[d])return s[d];c={},s[d]=c;for(var g in i)i.hasOwnProperty(g)&&(c[g]=n(i[g],s));return c;case"Array":return d=eh.util.objId(i),s[d]?s[d]:(c=[],s[d]=c,i.forEach(function(b,w){c[w]=n(b,s)}),c);default:return i}}},languages:{plain:jie,plaintext:jie,text:jie,txt:jie,extend:function(n,i){var s=eh.util.clone(eh.languages[n]);for(var c in i)s[c]=i[c];return s},insertBefore:function(n,i,s,c){c=c||eh.languages;var d=c[n],g={};for(var b in d)if(d.hasOwnProperty(b)){if(b==i)for(var w in s)s.hasOwnProperty(w)&&(g[w]=s[w]);s.hasOwnProperty(b)||(g[b]=d[b])}var E=c[n];return c[n]=g,eh.languages.DFS(eh.languages,function(S,x){x===E&&S!=n&&(this[S]=g)}),g},DFS:function n(i,s,c,d){d=d||{};var g=eh.util.objId;for(var b in i)if(i.hasOwnProperty(b)){s.call(i,b,i[b],c||b);var w=i[b],E=eh.util.type(w);E==="Object"&&!d[g(w)]?(d[g(w)]=!0,n(w,s,null,d)):E==="Array"&&!d[g(w)]&&(d[g(w)]=!0,n(w,s,b,d))}}},plugins:{},highlight:function(n,i,s){var c={code:n,grammar:i,language:s};if(eh.hooks.run("before-tokenize",c),!c.grammar)throw new Error('The language "'+c.language+'" has no grammar.');return c.tokens=eh.tokenize(c.code,c.grammar),eh.hooks.run("after-tokenize",c),_H.stringify(eh.util.encode(c.tokens),c.language)},tokenize:function(n,i){var s=i.rest;if(s){for(var c in s)i[c]=s[c];delete i.rest}var d=new clr;return uoe(d,d.head,n),xXt(n,d,i,d.head,0),dlr(d)},hooks:{all:{},add:function(n,i){var s=eh.hooks.all;s[n]=s[n]||[],s[n].push(i)},run:function(n,i){var s=eh.hooks.all[n];if(!(!s||!s.length))for(var c=0,d;d=s[c++];)d(i)}},Token:_H};function _H(n,i,s,c){this.type=n,this.content=i,this.alias=s,this.length=(c||"").length|0}function V$t(n,i,s,c){n.lastIndex=i;var d=n.exec(s);if(d&&c&&d[1]){var g=d[1].length;d.index+=g,d[0]=d[0].slice(g)}return d}function xXt(n,i,s,c,d,g){for(var b in s)if(!(!s.hasOwnProperty(b)||!s[b])){var w=s[b];w=Array.isArray(w)?w:[w];for(var E=0;E<w.length;++E){if(g&&g.cause==b+","+E)return;var S=w[E],x=S.inside,A=!!S.lookbehind,C=!!S.greedy,R=S.alias;if(C&&!S.pattern.global){var L=S.pattern.toString().match(/[imsuy]*$/)[0];S.pattern=RegExp(S.pattern.source,L+"g")}for(var D=S.pattern||S,B=c.next,$=d;B!==i.tail&&!(g&&$>=g.reach);$+=B.value.length,B=B.next){var j=B.value;if(i.length>n.length)return;if(!(j instanceof _H)){var P=1,G;if(C){if(G=V$t(D,$,n,A),!G||G.index>=n.length)break;var ie=G.index,ee=G.index+G[0].length,re=$;for(re+=B.value.length;ie>=re;)B=B.next,re+=B.value.length;if(re-=B.value.length,$=re,B.value instanceof _H)continue;for(var Q=B;Q!==i.tail&&(re<ee||typeof Q.value=="string");Q=Q.next)P++,re+=Q.value.length;P--,j=n.slice($,re),G.index-=$}else if(G=V$t(D,0,j,A),!G)continue;var ie=G.index,pe=G[0],me=j.slice(0,ie),le=j.slice(ie+pe.length),fe=$+j.length;g&&fe>g.reach&&(g.reach=fe);var K=B.prev;me&&(K=uoe(i,K,me),$+=me.length),llr(i,K,P);var he=new _H(b,x?eh.tokenize(pe,x):pe,R,pe);if(B=uoe(i,K,he),le&&uoe(i,B,le),P>1){var Oe={cause:b+","+E,reach:fe};xXt(n,i,s,B.prev,$,Oe),g&&Oe.reach>g.reach&&(g.reach=Oe.reach)}}}}}}function clr(){var n={value:null,prev:null,next:null},i={value:null,prev:n,next:null};n.next=i,this.head=n,this.tail=i,this.length=0}function uoe(n,i,s){var c=i.next,d={value:s,prev:i,next:c};return i.next=d,c.prev=d,n.length++,d}function llr(n,i,s){for(var c=i.next,d=0;d<s&&c!==n.tail;d++)c=c.next;i.next=c,c.prev=i,n.length-=d}function dlr(n){for(var i=[],s=n.head.next;s!==n.tail;)i.push(s.value),s=s.next;return i}const kXt=eh,QM={}.hasOwnProperty;function NXt(){}NXt.prototype=kXt;const _e=new NXt;_e.highlight=flr;_e.register=hlr;_e.alias=plr;_e.registered=glr;_e.listLanguages=blr;_e.util.encode=mlr;_e.Token.stringify=ELe;function flr(n,i){if(typeof n!="string")throw new TypeError("Expected `string` for `value`, got `"+n+"`");let s,c;if(i&&typeof i=="object")s=i;else{if(c=i,typeof c!="string")throw new TypeError("Expected `string` for `name`, got `"+c+"`");if(QM.call(_e.languages,c))s=_e.languages[c];else throw new Error("Unknown language: `"+c+"` is not registered")}return{type:"root",children:kXt.highlight.call(_e,n,s,c)}}function hlr(n){if(typeof n!="function"||!n.displayName)throw new Error("Expected `function` for `syntax`, got `"+n+"`");QM.call(_e.languages,n.displayName)||n(_e)}function plr(n,i){const s=_e.languages;let c={};typeof n=="string"?i&&(c[n]=i):c=n;let d;for(d in c)if(QM.call(c,d)){const g=c[d],b=typeof g=="string"?[g]:g;let w=-1;for(;++w<b.length;)s[b[w]]=s[d]}}function glr(n){if(typeof n!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+n+"`");return QM.call(_e.languages,n)}function blr(){const n=_e.languages,i=[];let s;for(s in n)QM.call(n,s)&&typeof n[s]=="object"&&i.push(s);return i}function ELe(n,i){if(typeof n=="string")return{type:"text",value:n};if(Array.isArray(n)){const c=[];let d=-1;for(;++d<n.length;)n[d]!==null&&n[d]!==void 0&&n[d]!==""&&c.push(ELe(n[d],i));return c}const s={attributes:{},classes:["token",n.type],content:ELe(n.content,i),language:i,tag:"span",type:n.type};return n.alias&&s.classes.push(...typeof n.alias=="string"?[n.alias]:n.alias),_e.hooks.run("wrap",s),tlr(s.tag+"."+s.classes.join("."),wlr(s.attributes),s.content)}function mlr(n){return n}function wlr(n){let i;for(i in n)QM.call(n,i)&&(n[i]=olr(n[i]));return n}_e.register(Ds);_e.register(zv);_e.register(FR);_e.register(lue);_e.register(qz);_e.register($R);_e.register(oh);_e.register(NN);_e.register(due);_e.register(fue);_e.register(hue);_e.register(BR);_e.register(pue);_e.register(qh);_e.register(YM);_e.register(gue);_e.register(bue);_e.register(Vz);_e.register(mue);_e.register(Wz);_e.register(wue);_e.register(yue);_e.register(vue);_e.register(Vh);_e.register(UR);_e.register(Kz);_e.register(Eue);_e.register(HR);_e.register(Sue);_e.register(Tue);_e.register(Aue);_e.register(JM);_e.register(_ue);_e.register(XM);_e.register(Yz);_e.register(Jz);g9e.displayName="abap";g9e.aliases=[];function g9e(n){n.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}b9e.displayName="abnf";b9e.aliases=[];function b9e(n){(function(i){var s="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+s+"|<"+s+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(n)}m9e.displayName="actionscript";m9e.aliases=[];function m9e(n){n.register(qh),n.languages.actionscript=n.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),n.languages.actionscript["class-name"].alias="function",delete n.languages.actionscript.parameter,delete n.languages.actionscript["literal-property"],n.languages.markup&&n.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:n.languages.markup}})}w9e.displayName="ada";w9e.aliases=[];function w9e(n){n.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}y9e.displayName="agda";y9e.aliases=[];function y9e(n){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(n)}v9e.displayName="al";v9e.aliases=[];function v9e(n){n.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}E9e.displayName="antlr4";E9e.aliases=["g4"];function E9e(n){n.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},n.languages.g4=n.languages.antlr4}S9e.displayName="apacheconf";S9e.aliases=[];function S9e(n){n.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}T9e.displayName="apex";T9e.aliases=[];function T9e(n){n.register(Ds),n.register(JM),function(i){var s=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,c=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return s.source});function d(b){return RegExp(b.replace(/<CLASS-NAME>/g,function(){return c}),"i")}var g={keyword:s,punctuation:/[()\[\]{};,:.<>]/};i.languages.apex={comment:i.languages.clike.comment,string:i.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:i.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:d(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:g},{pattern:d(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:g},{pattern:d(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:g}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:s,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}A9e.displayName="apl";A9e.aliases=[];function A9e(n){n.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}_9e.displayName="applescript";_9e.aliases=[];function _9e(n){n.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}x9e.displayName="aql";x9e.aliases=[];function x9e(n){n.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}k9e.displayName="arff";k9e.aliases=[];function k9e(n){n.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}N9e.displayName="armasm";N9e.aliases=["arm-asm"];function N9e(n){n.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},n.languages["arm-asm"]=n.languages.armasm}C9e.displayName="arturo";C9e.aliases=["art"];function C9e(n){(function(i){var s=function(c,d){return{pattern:RegExp(/\{!/.source+"(?:"+(d||c)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+c,inside:i.languages[c]},string:/[\s\S]+/}}};i.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":s("html"),"css-string":s("css"),"js-string":s("js"),"md-string":s("md"),"sql-string":s("sql"),"sh-string":s("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},i.languages.art=i.languages.arturo})(n)}I9e.displayName="asciidoc";I9e.aliases=["adoc"];function I9e(n){(function(i){var s={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},c=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:s,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:s.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:s,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function d(g){g=g.split(" ");for(var b={},w=0,E=g.length;w<E;w++)b[g[w]]=c[g[w]];return b}s.inside.interpreted.inside.rest=d("macro inline replacement entity"),c["passthrough-block"].inside.rest=d("macro"),c["literal-block"].inside.rest=d("callout"),c.table.inside.rest=d("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),c["other-block"].inside.rest=d("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),c.title.inside.rest=d("macro inline replacement entity"),i.hooks.add("wrap",function(g){g.type==="entity"&&(g.attributes.title=g.content.value.replace(/&amp;/,"&"))}),i.languages.adoc=i.languages.asciidoc})(n)}R9e.displayName="aspnet";R9e.aliases=[];function R9e(n){n.register($R),n.register(oh),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}O9e.displayName="asm6502";O9e.aliases=[];function O9e(n){n.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}D9e.displayName="asmatmel";D9e.aliases=[];function D9e(n){n.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}L9e.displayName="autohotkey";L9e.aliases=[];function L9e(n){n.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}M9e.displayName="autoit";M9e.aliases=[];function M9e(n){n.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}P9e.displayName="avisynth";P9e.aliases=["avs"];function P9e(n){(function(i){function s(S,x){return S.replace(/<<(\d+)>>/g,function(A,C){return x[+C]})}function c(S,x,A){return RegExp(s(S,x),A)}var d=/bool|clip|float|int|string|val/.source,g=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),b=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),w=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),E=[g,b,w].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:c(/\b(?:<<0>>)\s+("?)\w+\1/.source,[d],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:c(/\b(?:<<0>>)\b/.source,[E],"i"),alias:"function"},"type-cast":{pattern:c(/\b(?:<<0>>)(?=\s*\()/.source,[d],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(n)}j9e.displayName="avro-idl";j9e.aliases=["avdl"];function j9e(n){n.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},n.languages.avdl=n.languages["avro-idl"]}F9e.displayName="awk";F9e.aliases=["gawk"];function F9e(n){n.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},n.languages.gawk=n.languages.awk}$9e.displayName="batch";$9e.aliases=[];function $9e(n){(function(i){var s=/%%?[~:\w]+%?|!\S+!/,c={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},d=/"(?:[\\"]"|[^"])*"(?!")/,g=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:d,parameter:c,variable:s,number:g,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:d,parameter:c,variable:s,number:g,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:d,parameter:c,variable:[s,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:g,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:d,parameter:c,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:s,number:g,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(n)}B9e.displayName="bbcode";B9e.aliases=["shortcode"];function B9e(n){n.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},n.languages.shortcode=n.languages.bbcode}U9e.displayName="bbj";U9e.aliases=[];function U9e(n){(function(i){i.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(n)}H9e.displayName="bicep";H9e.aliases=[];function H9e(n){n.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},n.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=n.languages.bicep}z9e.displayName="birb";z9e.aliases=[];function z9e(n){n.register(Ds),n.languages.birb=n.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),n.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}G9e.displayName="bison";G9e.aliases=[];function G9e(n){n.register(zv),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}q9e.displayName="bnf";q9e.aliases=["rbnf"];function q9e(n){n.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},n.languages.rbnf=n.languages.bnf}V9e.displayName="bqn";V9e.aliases=[];function V9e(n){n.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}W9e.displayName="brainfuck";W9e.aliases=[];function W9e(n){n.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}K9e.displayName="brightscript";K9e.aliases=[];function K9e(n){n.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},n.languages.brightscript["directive-statement"].inside.expression.inside=n.languages.brightscript}Y9e.displayName="bro";Y9e.aliases=[];function Y9e(n){n.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}J9e.displayName="bsl";J9e.aliases=["oscript"];function J9e(n){n.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},n.languages.oscript=n.languages.bsl}X9e.displayName="cfscript";X9e.aliases=["cfc"];function X9e(n){n.register(Ds),n.languages.cfscript=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),n.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete n.languages.cfscript["class-name"],n.languages.cfc=n.languages.cfscript}Z9e.displayName="chaiscript";Z9e.aliases=[];function Z9e(n){n.register(Ds),n.register(FR),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}Q9e.displayName="cil";Q9e.aliases=[];function Q9e(n){n.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e8e.displayName="cilkc";e8e.aliases=["cilk-c"];function e8e(n){n.register(zv),n.languages.cilkc=n.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),n.languages["cilk-c"]=n.languages.cilkc}t8e.displayName="cilkcpp";t8e.aliases=["cilk","cilk-cpp"];function t8e(n){n.register(FR),n.languages.cilkcpp=n.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),n.languages["cilk-cpp"]=n.languages.cilkcpp,n.languages.cilk=n.languages.cilkcpp}n8e.displayName="clojure";n8e.aliases=[];function n8e(n){n.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}r8e.displayName="cmake";r8e.aliases=[];function r8e(n){n.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}i8e.displayName="cobol";i8e.aliases=[];function i8e(n){n.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}o8e.displayName="coffeescript";o8e.aliases=["coffee"];function o8e(n){n.register(qh),function(i){var s=/#(?!\{).+/,c={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:s,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:c}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:s,interpolation:c}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:c}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}(n)}s8e.displayName="concurnas";s8e.aliases=["conc"];function s8e(n){n.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},n.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},string:/[\s\S]+/}}}),n.languages.conc=n.languages.concurnas}a8e.displayName="csp";a8e.aliases=[];function a8e(n){(function(i){function s(c){return RegExp(/([ \t])/.source+"(?:"+c+")"+/(?=[\s;]|$)/.source,"i")}i.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:s(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:s(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:s(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:s(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:s(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:s(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:s(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(n)}u8e.displayName="cooklang";u8e.aliases=[];function u8e(n){(function(i){var s=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,c=/[^{}@#]+/.source,d=/\{[^}#@]*\}/.source,g=c+d,b=/(?:h|hours|hrs|m|min|minutes)/.source,w={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};i.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+g+"|"+s+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+c+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+c),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+g+"|"+s+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+c+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":w}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+b+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(n)}c8e.displayName="coq";c8e.aliases=[];function c8e(n){(function(i){for(var s=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,c=0;c<2;c++)s=s.replace(/<self>/g,function(){return s});s=s.replace(/<self>/g,"[]"),i.languages.coq={comment:RegExp(s),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return s})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(s),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(n)}l8e.displayName="crystal";l8e.aliases=[];function l8e(n){n.register(HR),function(i){i.languages.crystal=i.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,i.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),i.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:i.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}d8e.displayName="css-extras";d8e.aliases=[];function d8e(n){n.register(NN),function(i){var s=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,c;i.languages.css.selector={pattern:i.languages.css.selector.pattern,lookbehind:!0,inside:c={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+s.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[s,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=c,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var d={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},g={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:d,number:g,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:d,number:g})}(n)}f8e.displayName="csv";f8e.aliases=[];function f8e(n){n.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}h8e.displayName="cue";h8e.aliases=[];function h8e(n){(function(i){var s=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,c=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,d="(?:"+c.replace(/<esc>/g,s)+")";i.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+d+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},i.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=i.languages.cue})(n)}p8e.displayName="cypher";p8e.aliases=[];function p8e(n){n.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}g8e.displayName="d";g8e.aliases=[];function g8e(n){n.register(Ds),n.languages.d=n.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),n.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),n.languages.insertBefore("d","keyword",{property:/\B@\w*/}),n.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}b8e.displayName="dart";b8e.aliases=[];function b8e(n){n.register(Ds),function(i){var s=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],c=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(c+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[d,{pattern:RegExp(c+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:d.inside}],keyword:s,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":d,keyword:s,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(n)}m8e.displayName="dataweave";m8e.aliases=[];function m8e(n){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(n)}w8e.displayName="dax";w8e.aliases=[];function w8e(n){n.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}y8e.displayName="dhall";y8e.aliases=[];function y8e(n){n.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},n.languages.dhall.string.inside.interpolation.inside.expression.inside=n.languages.dhall}v8e.displayName="django";v8e.aliases=["jinja2"];function v8e(n){n.register(Vh),function(i){i.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var s=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,c=i.languages["markup-templating"];i.hooks.add("before-tokenize",function(d){c.buildPlaceholders(d,"django",s)}),i.hooks.add("after-tokenize",function(d){c.tokenizePlaceholders(d,"django")}),i.languages.jinja2=i.languages.django,i.hooks.add("before-tokenize",function(d){c.buildPlaceholders(d,"jinja2",s)}),i.hooks.add("after-tokenize",function(d){c.tokenizePlaceholders(d,"jinja2")})}(n)}E8e.displayName="dns-zone-file";E8e.aliases=["dns-zone"];function E8e(n){n.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},n.languages["dns-zone"]=n.languages["dns-zone-file"]}S8e.displayName="docker";S8e.aliases=["dockerfile"];function S8e(n){(function(i){var s=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,c=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return s}),d=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,g=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return d}),b={pattern:RegExp(d),greedy:!0},w={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function E(S,x){return S=S.replace(/<OPT>/g,function(){return g}).replace(/<SP>/g,function(){return c}),RegExp(S,x)}i.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:E(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[b,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:E(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:E(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:E(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:w,string:b,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:w},i.languages.dockerfile=i.languages.docker})(n)}T8e.displayName="dot";T8e.aliases=["gv"];function T8e(n){(function(i){var s="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",c={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:i.languages.markup}};function d(g,b){return RegExp(g.replace(/<ID>/g,function(){return s}),b)}i.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:d(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:c},"attr-value":{pattern:d(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:c},"attr-name":{pattern:d(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:c},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:d(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:c},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(n)}A8e.displayName="ebnf";A8e.aliases=[];function A8e(n){n.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}_8e.displayName="editorconfig";_8e.aliases=[];function _8e(n){n.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}x8e.displayName="eiffel";x8e.aliases=[];function x8e(n){n.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}k8e.displayName="ejs";k8e.aliases=["eta"];function k8e(n){n.register(qh),n.register(Vh),function(i){i.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:i.languages.javascript}},i.hooks.add("before-tokenize",function(s){var c=/<%(?!%)[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"ejs",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"ejs")}),i.languages.eta=i.languages.ejs}(n)}N8e.displayName="elixir";N8e.aliases=[];function N8e(n){n.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},n.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:n.languages.elixir}}}})}C8e.displayName="elm";C8e.aliases=[];function C8e(n){n.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}I8e.displayName="etlua";I8e.aliases=[];function I8e(n){n.register(Vz),n.register(Vh),function(i){i.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(s){var c=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"etlua",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"etlua")})}(n)}R8e.displayName="erb";R8e.aliases=[];function R8e(n){n.register(Vh),n.register(HR),function(i){i.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(s){var c=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"erb",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"erb")})}(n)}O8e.displayName="erlang";O8e.aliases=[];function O8e(n){n.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}D8e.displayName="excel-formula";D8e.aliases=["xls","xlsx"];function D8e(n){n.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},n.languages.xlsx=n.languages.xls=n.languages["excel-formula"]}L8e.displayName="fsharp";L8e.aliases=[];function L8e(n){n.register(Ds),n.languages.fsharp=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),n.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),n.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),n.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:n.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}M8e.displayName="factor";M8e.aliases=[];function M8e(n){(function(i){var s={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},c={number:/\\[^\s']|%\w/},d={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:s},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:s}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:c.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:c},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:c}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:c}},g=function(S){return(S+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},b=function(S){return new RegExp("(^|\\s)(?:"+S.map(g).join("|")+")(?=\\s|$)")},w={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(w).forEach(function(S){d[S].pattern=b(w[S])});var E=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];d.combinators.pattern=b(E),i.languages.factor=d})(n)}P8e.displayName="false";P8e.aliases=[];function P8e(n){(function(i){i.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(n)}j8e.displayName="firestore-security-rules";j8e.aliases=[];function j8e(n){n.register(Ds),n.languages["firestore-security-rules"]=n.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete n.languages["firestore-security-rules"]["class-name"],n.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}F8e.displayName="flow";F8e.aliases=[];function F8e(n){n.register(qh),function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(n)}$8e.displayName="fortran";$8e.aliases=[];function $8e(n){n.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}B8e.displayName="ftl";B8e.aliases=[];function B8e(n){n.register(Vh),function(i){for(var s=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,c=0;c<2;c++)s=s.replace(/<expr>/g,function(){return s});s=s.replace(/<expr>/g,/[^\s\S]/.source);var d={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return s})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return s})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};d.string[1].inside.interpolation.inside.rest=d,i.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:d}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:d}}}},i.hooks.add("before-tokenize",function(g){var b=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return s}),"gi");i.languages["markup-templating"].buildPlaceholders(g,"ftl",b)}),i.hooks.add("after-tokenize",function(g){i.languages["markup-templating"].tokenizePlaceholders(g,"ftl")})}(n)}U8e.displayName="gml";U8e.aliases=["gamemakerlanguage"];function U8e(n){n.register(Ds),n.languages.gamemakerlanguage=n.languages.gml=n.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}H8e.displayName="gap";H8e.aliases=[];function H8e(n){n.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},n.languages.gap.shell.inside.gap.inside=n.languages.gap}z8e.displayName="gcode";z8e.aliases=[];function z8e(n){n.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}G8e.displayName="gdscript";G8e.aliases=[];function G8e(n){n.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}q8e.displayName="gedcom";q8e.aliases=[];function q8e(n){n.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}V8e.displayName="gettext";V8e.aliases=["po"];function V8e(n){n.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},n.languages.po=n.languages.gettext}W8e.displayName="gherkin";W8e.aliases=[];function W8e(n){(function(i){var s=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;i.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+s+")(?:"+s+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(s),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(n)}K8e.displayName="git";K8e.aliases=[];function K8e(n){n.languages.git={comment:/^#.*/m,deleted:/^[-].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}Y8e.displayName="glsl";Y8e.aliases=[];function Y8e(n){n.register(zv),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}J8e.displayName="gn";J8e.aliases=["gni"];function J8e(n){n.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},n.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=n.languages.gn,n.languages.gni=n.languages.gn}X8e.displayName="linker-script";X8e.aliases=["ld"];function X8e(n){n.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},n.languages.ld=n.languages["linker-script"]}Z8e.displayName="go-module";Z8e.aliases=["go-mod"];function Z8e(n){n.languages["go-mod"]=n.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}Q8e.displayName="gradle";Q8e.aliases=[];function Q8e(n){n.register(Ds),function(i){var s={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};i.languages.gradle=i.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),i.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}}}),i.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),i.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),s.inside.expression.inside=i.languages.gradle}(n)}ePe.displayName="graphql";ePe.aliases=[];function ePe(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",function(s){if(s.language!=="graphql")return;var c=s.tokens.filter(function(B){return typeof B!="string"&&B.type!=="comment"&&B.type!=="scalar"}),d=0;function g(B){return c[d+B]}function b(B,$){$=$||0;for(var j=0;j<B.length;j++){var P=g(j+$);if(!P||P.type!==B[j])return!1}return!0}function w(B,$){for(var j=1,P=d;P<c.length;P++){var G=c[P],ee=G.content;if(G.type==="punctuation"&&typeof ee=="string"){if(B.test(ee))j++;else if($.test(ee)&&(j--,j===0))return P}}return-1}function E(B,$){var j=B.alias;j?Array.isArray(j)||(B.alias=j=[j]):B.alias=j=[],j.push($)}for(;d<c.length;){var S=c[d++];if(S.type==="keyword"&&S.content==="mutation"){var x=[];if(b(["definition-mutation","punctuation"])&&g(1).content==="("){d+=2;var A=w(/^\($/,/^\)$/);if(A===-1)continue;for(;d<A;d++){var C=g(0);C.type==="variable"&&(E(C,"variable-input"),x.push(C.content))}d=A+1}if(b(["punctuation","property-query"])&&g(0).content==="{"&&(d++,E(g(0),"property-mutation"),x.length>0)){var R=w(/^\{$/,/^\}$/);if(R===-1)continue;for(var L=d;L<R;L++){var D=c[L];D.type==="variable"&&x.indexOf(D.content)>=0&&E(D,"variable-input")}}}}})}tPe.displayName="groovy";tPe.aliases=[];function tPe(n){n.register(Ds),function(i){var s={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};i.languages.groovy=i.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),i.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}}}),i.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),i.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),s.inside.expression.inside=i.languages.groovy}(n)}nPe.displayName="textile";nPe.aliases=[];function nPe(n){n.register(oh),function(i){var s=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,c=/\)|\((?![^|()\n]+\))/.source;function d(A,C){return RegExp(A.replace(/<MOD>/g,function(){return"(?:"+s+")"}).replace(/<PAR>/g,function(){return"(?:"+c+")"}),C||"")}var g={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},b=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:d(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:d(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:g},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:d(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:d(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:g},punctuation:/^[*#]+/}},table:{pattern:d(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:d(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:g},punctuation:/\||^\./}},inline:{pattern:d(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:d(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:d(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:d(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:d(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:d(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:d(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:d(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:d(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:g},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:d(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:d(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:d(/(^")<MOD>+/.source),lookbehind:!0,inside:g},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:d(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:d(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:d(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:g},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),w=b.phrase.inside,E={inline:w.inline,link:w.link,image:w.image,footnote:w.footnote,acronym:w.acronym,mark:w.mark};b.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var S=w.inline.inside;S.bold.inside=E,S.italic.inside=E,S.inserted.inside=E,S.deleted.inside=E,S.span.inside=E;var x=w.table.inside;x.inline=E.inline,x.link=E.link,x.image=E.image,x.footnote=E.footnote,x.acronym=E.acronym,x.mark=E.mark}(n)}rPe.displayName="haml";rPe.aliases=[];function rPe(n){n.register(HR),function(i){i.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:i.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:i.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:i.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:i.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:i.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:i.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var s="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",c=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],d={},g=0,b=c.length;g<b;g++){var w=c[g];w=typeof w=="string"?{filter:w,language:w}:w,i.languages[w.language]&&(d["filter-"+w.filter]={pattern:RegExp(s.replace("{{filter_name}}",function(){return w.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[w.language,"language-"+w.language],inside:i.languages[w.language]}}})}i.languages.insertBefore("haml","filter",d)}(n)}iPe.displayName="handlebars";iPe.aliases=["hbs","mustache"];function iPe(n){n.register(Vh),function(i){i.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},i.hooks.add("before-tokenize",function(s){var c=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;i.languages["markup-templating"].buildPlaceholders(s,"handlebars",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"handlebars")}),i.languages.hbs=i.languages.handlebars,i.languages.mustache=i.languages.handlebars}(n)}Zz.displayName="haskell";Zz.aliases=["hs"];function Zz(n){n.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},n.languages.hs=n.languages.haskell}oPe.displayName="haxe";oPe.aliases=[];function oPe(n){n.register(Ds),n.languages.haxe=n.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),n.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.haxe}}},string:/[\s\S]+/}}}),n.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),n.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}sPe.displayName="hcl";sPe.aliases=[];function sPe(n){n.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}aPe.displayName="hlsl";aPe.aliases=[];function aPe(n){n.register(zv),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}uPe.displayName="hoon";uPe.aliases=[];function uPe(n){n.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}cPe.displayName="hpkp";cPe.aliases=[];function cPe(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}lPe.displayName="hsts";lPe.aliases=[];function lPe(n){n.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}dPe.displayName="uri";dPe.aliases=["url"];function dPe(n){n.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},n.languages.url=n.languages.uri}fPe.displayName="http";fPe.aliases=[];function fPe(n){(function(i){function s(x){return RegExp("(^(?:"+x+"):[ ]*(?![ ]))[^]+","i")}i.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:i.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:s(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:i.languages.csp},{pattern:s(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:i.languages.hpkp},{pattern:s(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:i.languages.hsts},{pattern:s(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var c=i.languages,d={"application/javascript":c.javascript,"application/json":c.json||c.javascript,"application/xml":c.xml,"text/xml":c.xml,"text/html":c.html,"text/css":c.css,"text/plain":c.plain},g={"application/json":!0,"application/xml":!0};function b(x){var A=x.replace(/^[a-z]+\//,""),C="\\w+/(?:[\\w.-]+\\+)+"+A+"(?![+\\w.-])";return"(?:"+x+"|"+C+")"}var w;for(var E in d)if(d[E]){w=w||{};var S=g[E]?b(E):E;w[E.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+S+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:d[E]}}w&&i.languages.insertBefore("http","header",w)})(n)}hPe.displayName="ichigojam";hPe.aliases=[];function hPe(n){n.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}pPe.displayName="icon";pPe.aliases=[];function pPe(n){n.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}gPe.displayName="icu-message-format";gPe.aliases=[];function gPe(n){(function(i){function s(E,S){return S<=0?/[]/.source:E.replace(/<SELF>/g,function(){return s(E,S-1)})}var c=/'[{}:=,](?:[^']|'')*'(?!')/,d={pattern:/''/,greedy:!0,alias:"operator"},g={pattern:c,greedy:!0,inside:{escape:d}},b=s(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return c.source}),8),w={pattern:RegExp(b),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};i.languages["icu-message-format"]={argument:{pattern:RegExp(b),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":w,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":w,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+s(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:d,string:g},w.inside.message.inside=i.languages["icu-message-format"],i.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=i.languages["icu-message-format"]})(n)}bPe.displayName="idris";bPe.aliases=["idr"];function bPe(n){n.register(Zz),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}mPe.displayName="ignore";mPe.aliases=["gitignore","hgignore","npmignore"];function mPe(n){(function(i){i.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore})(n)}wPe.displayName="inform7";wPe.aliases=[];function wPe(n){n.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},n.languages.inform7.string.inside.substitution.inside.rest=n.languages.inform7,n.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}yPe.displayName="io";yPe.aliases=[];function yPe(n){n.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}vPe.displayName="j";vPe.aliases=[];function vPe(n){n.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e9.displayName="javadoclike";e9.aliases=[];function e9(n){(function(i){var s=i.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function c(g,b){var w="doc-comment",E=i.languages[g];if(E){var S=E[w];if(!S){var x={};x[w]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},E=i.languages.insertBefore(g,"comment",x),S=E[w]}if(S instanceof RegExp&&(S=E[w]={pattern:S}),Array.isArray(S))for(var A=0,C=S.length;A<C;A++)S[A]instanceof RegExp&&(S[A]={pattern:S[A]}),b(S[A]);else b(S)}}function d(g,b){typeof g=="string"&&(g=[g]),g.forEach(function(w){c(w,function(E){E.inside||(E.inside={}),E.inside.rest=b})})}Object.defineProperty(s,"addSupport",{value:d}),s.addSupport(["java","javascript","php"],s)})(n)}EPe.displayName="scala";EPe.aliases=[];function EPe(n){n.register(BR),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function,delete n.languages.scala.constant}SPe.displayName="javadoc";SPe.aliases=[];function SPe(n){n.register(BR),n.register(e9),n.register(oh),function(i){var s=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,c=/#\s*\w+(?:\s*\([^()]*\))?/.source,d=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return c});i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+d+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:s,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:s,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}(n)}TPe.displayName="javastacktrace";TPe.aliases=[];function TPe(n){n.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}APe.displayName="jexl";APe.aliases=[];function APe(n){n.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}_Pe.displayName="jolie";_Pe.aliases=[];function _Pe(n){n.register(Ds),n.languages.jolie=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),n.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}xPe.displayName="jq";xPe.aliases=[];function xPe(n){(function(i){var s=/\\\((?:[^()]|\([^()]*\))*\)/.source,c=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return s})),d={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+s),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},g=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(c.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:d},string:{pattern:c,lookbehind:!0,greedy:!0,inside:d},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};d.interpolation.inside.content.inside=g})(n)}kPe.displayName="js-templates";kPe.aliases=[];function kPe(n){n.register(qh),function(i){var s=i.languages.javascript["template-string"],c=s.pattern.source,d=s.inside.interpolation,g=d.inside["interpolation-punctuation"],b=d.pattern.source;function w(L,D){if(i.languages[L])return{pattern:RegExp("((?:"+D+")\\s*)"+c),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:L}}}}i.languages.javascript["template-string"]=[w("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),w("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),w("svg",/\bsvg/.source),w("markdown",/\b(?:markdown|md)/.source),w("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),w("sql",/\bsql/.source),s].filter(Boolean);function E(L,D){return"___"+D.toUpperCase()+"_"+L+"___"}function S(L,D,B){var $={code:L,grammar:D,language:B};return i.hooks.run("before-tokenize",$),$.tokens=i.tokenize($.code,$.grammar),i.hooks.run("after-tokenize",$),$.tokens}function x(L){var D={};D["interpolation-punctuation"]=g;var B=i.tokenize(L,D);if(B.length===3){var $=[1,1];$.push.apply($,S(B[1],i.languages.javascript,"javascript")),B.splice.apply(B,$)}return new i.Token("interpolation",B,d.alias,L)}function A(L,D,B){var $=i.tokenize(L,{interpolation:{pattern:RegExp(b),lookbehind:!0}}),j=0,P={},G=$.map(function(ie){if(typeof ie=="string")return ie;for(var pe=ie.content,me;L.indexOf(me=E(j++,B))!==-1;);return P[me]=pe,me}).join(""),ee=S(G,D,B),re=Object.keys(P);j=0;function Q(ie){for(var pe=0;pe<ie.length;pe++){if(j>=re.length)return;var me=ie[pe];if(typeof me=="string"||typeof me.content=="string"){var le=re[j],fe=typeof me=="string"?me:me.content,K=fe.indexOf(le);if(K!==-1){++j;var he=fe.substring(0,K),Oe=x(P[le]),Se=fe.substring(K+le.length),Le=[];if(he&&Le.push(he),Le.push(Oe),Se){var Ae=[Se];Q(Ae),Le.push.apply(Le,Ae)}typeof me=="string"?(ie.splice.apply(ie,[pe,1].concat(Le)),pe+=Le.length-1):me.content=Le}}else{var xe=me.content;Array.isArray(xe)?Q(xe):Q([xe])}}}return Q(ee),new i.Token(B,ee,"language-"+B,L)}var C={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(L){if(!(L.language in C))return;function D(B){for(var $=0,j=B.length;$<j;$++){var P=B[$];if(typeof P!="string"){var G=P.content;if(!Array.isArray(G)){typeof G!="string"&&D([G]);continue}if(P.type==="template-string"){var ee=G[1];if(G.length===3&&typeof ee!="string"&&ee.type==="embedded-code"){var re=R(ee),Q=ee.alias,ie=Array.isArray(Q)?Q[0]:Q,pe=i.languages[ie];if(!pe)continue;G[1]=A(re,pe,ie)}}else D(G)}}}D(L.tokens)});function R(L){return typeof L=="string"?L:Array.isArray(L)?L.map(R).join(""):R(L.content)}}(n)}NPe.displayName="jsdoc";NPe.aliases=[];function NPe(n){n.register(e9),n.register(qh),n.register(XM),function(i){var s=i.languages.javascript,c=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,d="(@(?:arg|argument|param|property)\\s+(?:"+c+"\\s+)?)";i.languages.jsdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp(d+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(d+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:s,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return c})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+c),lookbehind:!0,inside:{string:s.string,number:s.number,boolean:s.boolean,keyword:i.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:s,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}(n)}CPe.displayName="n4js";CPe.aliases=["n4jsd"];function CPe(n){n.register(qh),n.languages.n4js=n.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),n.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),n.languages.n4jsd=n.languages.n4js}IPe.displayName="js-extras";IPe.aliases=[];function IPe(n){n.register(qh),function(i){i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function s(E,S){return RegExp(E.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),S)}i.languages.insertBefore("javascript","keyword",{imports:{pattern:s(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:s(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:s(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var c=["function","function-variable","method","method-variable","property-access"],d=0;d<c.length;d++){var g=c[d],b=i.languages.javascript[g];i.util.type(b)==="RegExp"&&(b=i.languages.javascript[g]={pattern:b});var w=b.inside||{};b.inside=w,w["maybe-class-name"]=/^[A-Z][\s\S]*/}}(n)}RPe.displayName="json5";RPe.aliases=[];function RPe(n){n.register(YM),function(i){var s=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;i.languages.json5=i.languages.extend("json",{property:[{pattern:RegExp(s.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:s,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}OPe.displayName="jsonp";OPe.aliases=[];function OPe(n){n.register(YM),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}DPe.displayName="jsstacktrace";DPe.aliases=[];function DPe(n){n.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}LPe.displayName="julia";LPe.aliases=[];function LPe(n){n.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}MPe.displayName="keepalived";MPe.aliases=[];function MPe(n){n.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}PPe.displayName="keyman";PPe.aliases=[];function PPe(n){n.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}jPe.displayName="kumir";jPe.aliases=["kum"];function jPe(n){(function(i){var s=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function c(d,g){return RegExp(d.replace(/<nonId>/g,s),g)}i.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:c(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:c(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:c(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:c(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:c(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:c(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:c(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:c(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},i.languages.kum=i.languages.kumir})(n)}FPe.displayName="kusto";FPe.aliases=[];function FPe(n){n.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}$Pe.displayName="latex";$Pe.aliases=["context","tex"];function $Pe(n){(function(i){var s=/\\(?:[^a-z()[\]]|[a-z*]+)/i,c={"equation-command":{pattern:s,alias:"regex"}};i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:c,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:c,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:s,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex})(n)}BPe.displayName="latte";BPe.aliases=[];function BPe(n){n.register(Ds),n.register(Vh),n.register(UR),function(i){i.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}};var s=i.languages.extend("markup",{});i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},s.tag),i.hooks.add("before-tokenize",function(c){if(c.language==="latte"){var d=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(c,"latte",d),c.grammar=s}}),i.hooks.add("after-tokenize",function(c){i.languages["markup-templating"].tokenizePlaceholders(c,"latte")})}(n)}Qz.displayName="scheme";Qz.aliases=[];function Qz(n){(function(i){i.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(s({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function s(c){for(var d in c)c[d]=c[d].replace(/<[\w\s]+>/g,function(g){return"(?:"+c[g].trim()+")"});return c[d]}})(n)}UPe.displayName="lilypond";UPe.aliases=["ly"];function UPe(n){n.register(Qz),function(i){for(var s=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,c=5,d=0;d<c;d++)s=s.replace(/<expr>/g,function(){return s});s=s.replace(/<expr>/g,/[^\s\S]/.source);var g=i.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return s}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:i.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};g["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=g,i.languages.ly=g}(n)}HPe.displayName="liquid";HPe.aliases=[];function HPe(n){n.register(Vh),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(i){var s=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,c=!1;n.languages["markup-templating"].buildPlaceholders(i,"liquid",s,function(d){var g=/^\{%-?\s*(\w+)/.exec(d);if(g){var b=g[1];if(b==="raw"&&!c)return c=!0,!0;if(b==="endraw")return c=!1,!0}return!c})}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"liquid")})}zPe.displayName="lisp";zPe.aliases=["elisp","emacs","emacs-lisp"];function zPe(n){(function(i){function s(L){return RegExp(/(\()/.source+"(?:"+L+")"+/(?=[\s\)])/.source)}function c(L){return RegExp(/([\s([])/.source+"(?:"+L+")"+/(?=[\s)])/.source)}var d=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,g="&"+d,b="(\\()",w="(?=\\))",E="(?=\\s)",S=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,x={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+d+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+d),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+d),alias:"property"},splice:{pattern:RegExp(",@?"+d),alias:["symbol","variable"]},keyword:[{pattern:RegExp(b+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+E),lookbehind:!0},{pattern:RegExp(b+"(?:append|by|collect|concat|do|finally|for|in|return)"+E),lookbehind:!0}],declare:{pattern:s(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:s(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:c(/nil|t/.source),lookbehind:!0},number:{pattern:c(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(b+"def(?:const|custom|group|var)\\s+"+d),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(d)}},defun:{pattern:RegExp(b+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+d+/\s+\(/.source+S+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+d),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(b+"lambda\\s+\\(\\s*(?:&?"+d+"(?:\\s+&?"+d+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(b+d),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},A={"lisp-marker":RegExp(g),varform:{pattern:RegExp(/\(/.source+d+/\s+(?=\S)/.source+S+/\)/.source),inside:x},argument:{pattern:RegExp(/(^|[\s(])/.source+d),lookbehind:!0,alias:"variable"},rest:x},C="\\S+(?:\\s+\\S+)*",R={pattern:RegExp(b+S+w),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+C),inside:A},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+C),inside:A},keys:{pattern:RegExp("&key\\s+"+C+"(?:\\s+&allow-other-keys)?"),inside:A},argument:{pattern:RegExp(d),alias:"variable"},punctuation:/[()]/}};x.lambda.inside.arguments=R,x.defun.inside.arguments=i.util.clone(R),x.defun.inside.arguments.inside.sublist=R,i.languages.lisp=x,i.languages.elisp=x,i.languages.emacs=x,i.languages["emacs-lisp"]=x})(n)}GPe.displayName="livescript";GPe.aliases=[];function GPe(n){n.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},n.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=n.languages.livescript}qPe.displayName="llvm";qPe.aliases=[];function qPe(n){(function(i){i.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(n)}VPe.displayName="log";VPe.aliases=[];function VPe(n){n.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:n.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}WPe.displayName="lolcode";WPe.aliases=[];function WPe(n){n.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}KPe.displayName="magma";KPe.aliases=[];function KPe(n){n.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}xue.displayName="mata";xue.aliases=[];function xue(n){(function(i){var s=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,c=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,s);i.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[`']".*?"[`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(c),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#`']/,punctuation:/[()[\]{},;.]/}})(n)}YPe.displayName="matlab";YPe.aliases=[];function YPe(n){n.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}JPe.displayName="maxscript";JPe.aliases=[];function JPe(n){(function(i){var s=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;i.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+s.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+s.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:s,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(n)}XPe.displayName="mel";XPe.aliases=[];function XPe(n){n.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},n.languages.mel.code.inside.statement.inside=n.languages.mel}ZPe.displayName="mermaid";ZPe.aliases=[];function ZPe(n){n.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}QPe.displayName="metafont";QPe.aliases=[];function QPe(n){n.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}eje.displayName="mizar";eje.aliases=[];function eje(n){n.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}tje.displayName="mongodb";tje.aliases=[];function tje(n){n.register(qh),function(i){var s=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],c=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];s=s.map(function(g){return g.replace("$","\\$")});var d="(?:"+s.join("|")+")\\b";i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+d+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+c.join("|")+")\\b"),alias:"keyword"}})}(n)}nje.displayName="monkey";nje.aliases=[];function nje(n){n.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}rje.displayName="moonscript";rje.aliases=["moon"];function rje(n){n.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},n.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=n.languages.moonscript,n.languages.moon=n.languages.moonscript}ije.displayName="n1ql";ije.aliases=[];function ije(n){n.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}oje.displayName="nand2tetris-hdl";oje.aliases=[];function oje(n){n.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}sje.displayName="naniscript";sje.aliases=["nani"];function sje(n){(function(i){var s=/\{[^\r\n\[\]{}]*\}/,c={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:s,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};i.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:s,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:c}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:s,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:c},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},i.languages.nani=i.languages.naniscript,i.hooks.add("after-tokenize",function(b){var w=b.tokens;w.forEach(function(E){if(typeof E!="string"&&E.type==="generic-text"){var S=g(E);d(S)||(E.type="bad-line",E.content=S)}})});function d(b){for(var w="[]{}",E=[],S=0;S<b.length;S++){var x=b[S],A=w.indexOf(x);if(A!==-1){if(A%2===0)E.push(A+1);else if(E.pop()!==A)return!1}}return E.length===0}function g(b){return typeof b=="string"?b:Array.isArray(b)?b.map(g).join(""):g(b.content)}})(n)}aje.displayName="nasm";aje.aliases=[];function aje(n){n.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}uje.displayName="neon";uje.aliases=[];function uje(n){n.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}cje.displayName="nevod";cje.aliases=[];function cje(n){n.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}lje.displayName="nginx";lje.aliases=[];function lje(n){(function(i){var s=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;i.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:s}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:s}},punctuation:/[{};]/}})(n)}dje.displayName="nim";dje.aliases=[];function dje(n){n.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}fje.displayName="nix";fje.aliases=[];function fje(n){n.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},n.languages.nix.string.inside.interpolation.inside=n.languages.nix}hje.displayName="nsis";hje.aliases=[];function hje(n){n.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}pje.displayName="ocaml";pje.aliases=[];function pje(n){n.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}gje.displayName="odin";gje.aliases=[];function gje(n){(function(i){var s=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;i.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:s}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:s}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(n)}bje.displayName="opencl";bje.aliases=[];function bje(n){n.register(zv),function(i){i.languages.opencl=i.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),i.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var s={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};i.languages.insertBefore("c","keyword",s),i.languages.cpp&&(s["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},i.languages.insertBefore("cpp","keyword",s))}(n)}mje.displayName="openqasm";mje.aliases=["qasm"];function mje(n){n.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},n.languages.qasm=n.languages.openqasm}wje.displayName="oz";wje.aliases=[];function wje(n){n.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}yje.displayName="parigp";yje.aliases=[];function yje(n){n.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return i=i.map(function(s){return s.split("").join(" *")}).join("|"),RegExp("\\b(?:"+i+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}vje.displayName="parser";vje.aliases=[];function vje(n){n.register(oh),function(i){var s=i.languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});s=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:s.keyword,variable:s.variable,function:s.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:s.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:s.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:s.expression,keyword:s.keyword,variable:s.variable,function:s.function,escape:s.escape,"parser-punctuation":{pattern:s.punctuation,alias:"punctuation"}},s.tag.inside["attr-value"])}(n)}Eje.displayName="pascal";Eje.aliases=["objectpascal"];function Eje(n){n.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},n.languages.pascal.asm.inside=n.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),n.languages.objectpascal=n.languages.pascal}Sje.displayName="pascaligo";Sje.aliases=[];function Sje(n){(function(i){var s=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,c=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return s}),d=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return c}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return c}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return c})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},g=["comment","keyword","builtin","operator","punctuation"].reduce(function(b,w){return b[w]=d[w],b},{});d["class-name"].forEach(function(b){b.inside=g})})(n)}Tje.displayName="psl";Tje.aliases=[];function Tje(n){n.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}Aje.displayName="pcaxis";Aje.aliases=["px"];function Aje(n){n.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},n.languages.px=n.languages.pcaxis}_je.displayName="peoplecode";_je.aliases=["pcode"];function _je(n){n.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},n.languages.pcode=n.languages.peoplecode}xje.displayName="phpdoc";xje.aliases=[];function xje(n){n.register(e9),n.register(UR),function(i){var s=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;i.languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+s+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+s),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}(n)}kje.displayName="php-extras";kje.aliases=[];function kje(n){n.register(UR),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}Nje.displayName="plant-uml";Nje.aliases=["plantuml"];function Nje(n){(function(i){var s=/\$\w+|%[a-z]+%/,c=/\[[^[\]]*\]/.source,d=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,g="(?:-+"+d+"-+|\\.+"+d+"\\.+|-+(?:"+c+"-*)?|"+c+"-+|\\.+(?:"+c+"\\.*)?|"+c+"\\.+)",b=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,w=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,E=/[[?]?[ox]?/.source,S=/[ox]?[\]?]?/.source,x=E+"(?:"+g+w+"|"+b+g+"(?:"+w+")?)"+S;i.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:s}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+x+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:s,punctuation:/[:,;()[\]{}]|\.{3}/},i.languages["plant-uml"].arrow.inside.expression.inside=i.languages["plant-uml"],i.languages.plantuml=i.languages["plant-uml"]})(n)}Cje.displayName="plsql";Cje.aliases=[];function Cje(n){n.register(JM),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}Ije.displayName="powerquery";Ije.aliases=["mscript","pq"];function Ije(n){n.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},n.languages.pq=n.languages.powerquery,n.languages.mscript=n.languages.powerquery}Rje.displayName="powershell";Rje.aliases=[];function Rje(n){(function(i){var s=i.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};s.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:s},boolean:s.boolean,variable:s.variable}})(n)}Oje.displayName="processing";Oje.aliases=[];function Oje(n){n.register(Ds),n.languages.processing=n.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),n.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}Dje.displayName="prolog";Dje.aliases=[];function Dje(n){n.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}Lje.displayName="promql";Lje.aliases=[];function Lje(n){(function(i){var s=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],c=["on","ignoring","group_right","group_left","by","without"],d=["offset"],g=s.concat(c,d);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+c.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+g.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(n)}Mje.displayName="properties";Mje.aliases=[];function Mje(n){n.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}Pje.displayName="protobuf";Pje.aliases=[];function Pje(n){n.register(Ds),function(i){var s=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;i.languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:s}},builtin:s,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(n)}jje.displayName="stylus";jje.aliases=[];function jje(n){(function(i){var s={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},c={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},d={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:s,number:c,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:s,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:c,punctuation:/[{}()\[\];:,]/};d.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:d}},d.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:d}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:d}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:d}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:d}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:d.interpolation}},rest:d}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:d.interpolation,comment:d.comment,punctuation:/[{},]/}},func:d.func,string:d.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:d.interpolation,punctuation:/[{}()\[\];:.]/}})(n)}Fje.displayName="twig";Fje.aliases=[];function Fje(n){n.register(Vh),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(i){if(i.language==="twig"){var s=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(i,"twig",s)}}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"twig")})}$je.displayName="pug";$je.aliases=[];function $je(n){n.register(qh),n.register(oh),function(i){i.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:i.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:i.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:i.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:i.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:i.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:i.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:i.languages.javascript}],punctuation:/[.\-!=|]+/};for(var s=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,c=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],d={},g=0,b=c.length;g<b;g++){var w=c[g];w=typeof w=="string"?{filter:w,language:w}:w,i.languages[w.language]&&(d["filter-"+w.filter]={pattern:RegExp(s.replace("<filter_name>",function(){return w.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[w.language,"language-"+w.language],inside:i.languages[w.language]}}})}i.languages.insertBefore("pug","filter",d)}(n)}Bje.displayName="puppet";Bje.aliases=[];function Bje(n){(function(i){i.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var s=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];i.languages.puppet.heredoc[0].inside.interpolation=s,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=s})(n)}Uje.displayName="pure";Uje.aliases=[];function Uje(n){(function(i){i.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var s=["c",{lang:"c++",alias:"cpp"},"fortran"],c=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;s.forEach(function(d){var g=d;if(typeof d!="string"&&(g=d.alias,d=d.lang),i.languages[g]){var b={};b["inline-lang-"+g]={pattern:RegExp(c.replace("<lang>",d.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},b["inline-lang-"+g].inside.rest=i.util.clone(i.languages[g]),i.languages.insertBefore("pure","inline-lang",b)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))})(n)}Hje.displayName="purebasic";Hje.aliases=["pbfasm"];function Hje(n){n.register(Ds),n.languages.purebasic=n.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),n.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete n.languages.purebasic["class-name"],delete n.languages.purebasic.boolean,n.languages.pbfasm=n.languages.purebasic}zje.displayName="purescript";zje.aliases=["purs"];function zje(n){n.register(Zz),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}Gje.displayName="qsharp";Gje.aliases=["qs"];function Gje(n){n.register(Ds),function(i){function s(R,L){return R.replace(/<<(\d+)>>/g,function(D,B){return"(?:"+L[+B]+")"})}function c(R,L,D){return RegExp(s(R,L),"")}function d(R,L){for(var D=0;D<L;D++)R=R.replace(/<<self>>/g,function(){return"(?:"+R+")"});return R.replace(/<<self>>/g,"[^\\s\\S]")}var g={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function b(R){return"\\b(?:"+R.trim().replace(/ /g,"|")+")\\b"}var w=RegExp(b(g.type+" "+g.other)),E=/\b[A-Za-z_]\w*\b/.source,S=s(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[E]),x={keyword:w,punctuation:/[<>()?,.:[\]]/},A=/"(?:\\.|[^\\"])*"/.source;i.languages.qsharp=i.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[S]),lookbehind:!0,inside:x},{pattern:c(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[S]),lookbehind:!0,inside:x}],keyword:w,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),i.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var C=d(s(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[A]),2);i.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:c(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[C]),greedy:!0,inside:{interpolation:{pattern:c(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[C]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:i.languages.qsharp}}},string:/[\s\S]+/}}})}(n),n.languages.qs=n.languages.qsharp}qje.displayName="q";qje.aliases=[];function qje(n){n.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}Vje.displayName="qml";Vje.aliases=[];function Vje(n){n.register(qh),function(i){for(var s=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,c=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,d=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return s}).replace(/<comment>/g,function(){return c}),g=0;g<2;g++)d=d.replace(/<expr>/g,function(){return d});d=d.replace(/<expr>/g,"[^\\s\\S]"),i.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return d}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return d}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(n)}Wje.displayName="qore";Wje.aliases=[];function Wje(n){n.register(Ds),n.languages.qore=n.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}Kje.displayName="racket";Kje.aliases=["rkt"];function Kje(n){n.register(Qz),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}Yje.displayName="cshtml";Yje.aliases=["razor"];function Yje(n){n.register($R),n.register(oh),function(i){var s=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,c=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function d(j,P){for(var G=0;G<P;G++)j=j.replace(/<self>/g,function(){return"(?:"+j+")"});return j.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+c+")").replace(/<comment>/g,"(?:"+s+")")}var g=d(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),b=d(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),w=d(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),E=d(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),S=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+g+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+E+")?"+g+"|"+b+")*"+/(?![?!\.(\[]|<(?!\/))/.source,x=/@(?![\w()])/.source+"|"+S,A="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+x+`)[^"'@]*)+["'])`,C=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,A),R=/(?!\d)[^\s>\/=$<%]+/.source+C+/\s*\/?>/.source,L=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+C+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+R+"|"+d(/<\1/.source+C+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+R+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+R+")";i.languages.cshtml=i.languages.extend("markup",{});var D=i.languages.insertBefore("csharp","string",{html:{pattern:RegExp(L),greedy:!0,inside:i.languages.cshtml}},{csharp:i.languages.extend("csharp",{})}),B={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:D},$={pattern:RegExp(/(^|[^@])/.source+S),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:B}};i.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+R),i.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+A),i.languages.insertBefore("inside","punctuation",{value:$},i.languages.cshtml.tag.inside["attr-value"]),i.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[w,/(?:code|functions)\s*/.source+w,/(?:for|foreach|lock|switch|using|while)\s*/.source+g+/\s*/.source+w,/do\s*/.source+w+/\s*while\s*/.source+g+/(?:\s*;)?/.source,/try\s*/.source+w+/\s*catch\s*/.source+g+/\s*/.source+w+/\s*finally\s*/.source+w,/if\s*/.source+g+/\s*/.source+w+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+g+")?"+/\s*/.source+w+")*",/helper\s+\w+\s*/.source+g+/\s*/.source+w].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:B}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:B}},value:$,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),i.languages.razor=i.languages.cshtml}(n)}kue.displayName="jsx";kue.aliases=[];function kue(n){n.register(qh),n.register(oh),function(i){var s=i.util.clone(i.languages.javascript),c=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,d=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,g=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function b(S,x){return S=S.replace(/<S>/g,function(){return c}).replace(/<BRACES>/g,function(){return d}).replace(/<SPREAD>/g,function(){return g}),RegExp(S,x)}g=b(g).source,i.languages.jsx=i.languages.extend("markup",s),i.languages.jsx.tag.pattern=b(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=s.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:b(/<SPREAD>/.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:b(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);var w=function(S){return S?typeof S=="string"?S:typeof S.content=="string"?S.content:S.content.map(w).join(""):""},E=function(S){for(var x=[],A=0;A<S.length;A++){var C=S[A],R=!1;if(typeof C!="string"&&(C.type==="tag"&&C.content[0]&&C.content[0].type==="tag"?C.content[0].content[0].content==="</"?x.length>0&&x[x.length-1].tagName===w(C.content[0].content[1])&&x.pop():C.content[C.content.length-1].content==="/>"||x.push({tagName:w(C.content[0].content[1]),openedBraces:0}):x.length>0&&C.type==="punctuation"&&C.content==="{"?x[x.length-1].openedBraces++:x.length>0&&x[x.length-1].openedBraces>0&&C.type==="punctuation"&&C.content==="}"?x[x.length-1].openedBraces--:R=!0),(R||typeof C=="string")&&x.length>0&&x[x.length-1].openedBraces===0){var L=w(C);A<S.length-1&&(typeof S[A+1]=="string"||S[A+1].type==="plain-text")&&(L+=w(S[A+1]),S.splice(A+1,1)),A>0&&(typeof S[A-1]=="string"||S[A-1].type==="plain-text")&&(L=w(S[A-1])+L,S.splice(A-1,1),A--),S[A]=new i.Token("plain-text",L,null,L)}C.content&&typeof C.content!="string"&&E(C.content)}};i.hooks.add("after-tokenize",function(S){S.language!=="jsx"&&S.language!=="tsx"||E(S.tokens)})}(n)}Jje.displayName="tsx";Jje.aliases=[];function Jje(n){n.register(kue),n.register(XM),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(n)}Xje.displayName="reason";Xje.aliases=[];function Xje(n){n.register(Ds),n.languages.reason=n.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),n.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete n.languages.reason.function}Zje.displayName="rego";Zje.aliases=[];function Zje(n){n.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}Qje.displayName="renpy";Qje.aliases=["rpy"];function Qje(n){n.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},n.languages.rpy=n.languages.renpy}e7e.displayName="rescript";e7e.aliases=["res"];function e7e(n){n.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},n.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:n.languages.rescript}},string:/[\s\S]+/}}}),n.languages.res=n.languages.rescript}t7e.displayName="rest";t7e.aliases=[];function t7e(n){n.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}n7e.displayName="rip";n7e.aliases=[];function n7e(n){n.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}r7e.displayName="roboconf";r7e.aliases=[];function r7e(n){n.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}i7e.displayName="robotframework";i7e.aliases=["robot"];function i7e(n){(function(i){var s={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},c={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function d(E,S){var x={};x["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var A in S)x[A]=S[A];return x.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},x.variable=c,x.comment=s,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return E}),"im"),alias:"section",inside:x}}var g={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},b={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:c}},w={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:c}};i.languages.robotframework={settings:d("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:d("Variables"),"test-cases":d("Test Cases",{"test-name":b,documentation:g,property:w}),keywords:d("Keywords",{"keyword-name":b,documentation:g,property:w}),tasks:d("Tasks",{"task-name":b,documentation:g,property:w}),comment:s},i.languages.robot=i.languages.robotframework})(n)}o7e.displayName="sas";o7e.aliases=[];function o7e(n){(function(i){var s=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,c=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,d={pattern:RegExp(s+"[bx]"),alias:"number"},g={pattern:/&[a-z_]\w*/i},b={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},w={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},E=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],S={pattern:RegExp(s),greedy:!0},x=/[$%@.(){}\[\];,\\]/,A={pattern:/%?\b\w+(?=\()/,alias:"keyword"},C={function:A,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":g,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:c,"numeric-constant":d,punctuation:x,string:S},R={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},L={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},D={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},B={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},$=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,j={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return $}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return $}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:E,function:A,"arg-value":C["arg-value"],operator:C.operator,argument:C.arg,number:c,"numeric-constant":d,punctuation:x,string:S}},P={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return s}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":D,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:c,"numeric-constant":d,punctuation:x,string:S}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return s}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:P,"submit-statement":B,"global-statements":D,number:c,"numeric-constant":d,punctuation:x,string:S}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return s}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:P,"submit-statement":B,"global-statements":D,number:c,"numeric-constant":d,punctuation:x,string:S}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:C}},"cas-actions":j,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:C},step:w,keyword:P,function:A,format:R,altformat:L,"global-statements":D,number:c,"numeric-constant":d,punctuation:x,string:S}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return s}),"im"),lookbehind:!0,inside:C},"macro-keyword":b,"macro-variable":g,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":b,"macro-variable":g,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:x}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:E,number:c,"numeric-constant":d}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:C},"cas-actions":j,comment:E,function:A,format:R,altformat:L,"numeric-constant":d,datetime:{pattern:RegExp(s+"(?:dt?|t)"),alias:"number"},string:S,step:w,keyword:P,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:c,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:x}})(n)}s7e.displayName="shell-session";s7e.aliases=["sh-session","shellsession"];function s7e(n){n.register(qz),function(i){var s=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return s}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]}(n)}a7e.displayName="smali";a7e.aliases=[];function a7e(n){n.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}u7e.displayName="smalltalk";u7e.aliases=[];function u7e(n){n.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}c7e.displayName="smarty";c7e.aliases=[];function c7e(n){n.register(Vh),function(i){i.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:i.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},i.languages.smarty["embedded-php"].inside.smarty.inside=i.languages.smarty,i.languages.smarty.string[0].inside.interpolation.inside.expression.inside=i.languages.smarty;var s=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,c=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return s.source}),"g");i.hooks.add("before-tokenize",function(d){var g="{literal}",b="{/literal}",w=!1;i.languages["markup-templating"].buildPlaceholders(d,"smarty",c,function(E){return E===b&&(w=!1),w?!1:(E===g&&(w=!0),!0)})}),i.hooks.add("after-tokenize",function(d){i.languages["markup-templating"].tokenizePlaceholders(d,"smarty")})}(n)}l7e.displayName="sml";l7e.aliases=["smlnj"];function l7e(n){(function(i){var s=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;i.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return s.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:s,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml})(n)}d7e.displayName="solidity";d7e.aliases=["sol"];function d7e(n){n.register(Ds),n.languages.solidity=n.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),n.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),n.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),n.languages.sol=n.languages.solidity}f7e.displayName="solution-file";f7e.aliases=["sln"];function f7e(n){(function(i){var s={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};i.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:s}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:s}},guid:s,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]})(n)}h7e.displayName="soy";h7e.aliases=[];function h7e(n){n.register(Vh),function(i){var s=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,c=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;i.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:s,greedy:!0},number:c,punctuation:/[\[\].?]/}},string:{pattern:s,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:c,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},i.hooks.add("before-tokenize",function(d){var g=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,b="{literal}",w="{/literal}",E=!1;i.languages["markup-templating"].buildPlaceholders(d,"soy",g,function(S){return S===w&&(E=!1),E?!1:(S===b&&(E=!0),!0)})}),i.hooks.add("after-tokenize",function(d){i.languages["markup-templating"].tokenizePlaceholders(d,"soy")})}(n)}Nue.displayName="turtle";Nue.aliases=["trig"];function Nue(n){n.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},n.languages.trig=n.languages.turtle}p7e.displayName="sparql";p7e.aliases=["rq"];function p7e(n){n.register(Nue),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}g7e.displayName="splunk-spl";g7e.aliases=[];function g7e(n){n.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}b7e.displayName="sqf";b7e.aliases=[];function b7e(n){n.register(Ds),n.languages.sqf=n.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),n.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:n.languages.sqf.comment}}}),delete n.languages.sqf["class-name"]}m7e.displayName="squirrel";m7e.aliases=[];function m7e(n){n.register(Ds),n.languages.squirrel=n.languages.extend("clike",{comment:[n.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),n.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}w7e.displayName="stan";w7e.aliases=[];function w7e(n){(function(i){var s=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;i.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+s.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,s],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan})(n)}y7e.displayName="stata";y7e.aliases=[];function y7e(n){n.register(BR),n.register(xue),n.register(Kz),n.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[`']".*?"[`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[`']\w[^`'\r\n]*[`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:n.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:n.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:n.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[`']\w[^`'\r\n]*[`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},n.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=n.languages.stata}v7e.displayName="iecst";v7e.aliases=[];function v7e(n){n.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}E7e.displayName="supercollider";E7e.aliases=["sclang"];function E7e(n){n.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},n.languages.sclang=n.languages.supercollider}S7e.displayName="systemd";S7e.aliases=[];function S7e(n){(function(i){var s={pattern:/^[;#].*/m,greedy:!0},c=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;i.languages.systemd={comment:s,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+c+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+c+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:s,quoted:{pattern:RegExp(/(^|\s)/.source+c),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(n)}eG.displayName="t4-templating";eG.aliases=[];function eG(n){(function(i){function s(d,g,b){return{pattern:RegExp("<#"+d+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+d+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:g,alias:b}}}}function c(d){var g=i.languages[d],b="language-"+d;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:s("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:s("=",g,b),"class-feature":s("\\+",g,b),standard:s("",g,b)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:c})})(n)}T7e.displayName="t4-cs";T7e.aliases=["t4"];function T7e(n){n.register($R),n.register(eG),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}A7e.displayName="t4-vb";A7e.aliases=[];function A7e(n){n.register(eG),n.register(Jz),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}_7e.displayName="tap";_7e.aliases=[];function _7e(n){n.register(Wz),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}x7e.displayName="tcl";x7e.aliases=[];function x7e(n){n.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}k7e.displayName="tt2";k7e.aliases=[];function k7e(n){n.register(Ds),n.register(Vh),function(i){i.languages.tt2=i.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),i.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),i.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),i.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete i.languages.tt2.string,i.hooks.add("before-tokenize",function(s){var c=/\[%[\s\S]+?%\]/g;i.languages["markup-templating"].buildPlaceholders(s,"tt2",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"tt2")})}(n)}N7e.displayName="toml";N7e.aliases=[];function N7e(n){(function(i){var s=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function c(d){return d.replace(/__/g,function(){return s})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(c(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(c(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(n)}C7e.displayName="tremor";C7e.aliases=["trickle","troy"];function C7e(n){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var s=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+s+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+s+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(s),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(n)}I7e.displayName="typoscript";I7e.aliases=["tsconfig"];function I7e(n){(function(i){var s=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:s}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:s,number:/^\d+$/,punctuation:/[,|:]/}},keyword:s,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(n)}R7e.displayName="unrealscript";R7e.aliases=["uc","uscript"];function R7e(n){n.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},n.languages.uc=n.languages.uscript=n.languages.unrealscript}O7e.displayName="uorazor";O7e.aliases=[];function O7e(n){n.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}D7e.displayName="v";D7e.aliases=[];function D7e(n){n.register(Ds),function(i){var s={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":s}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),s.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})}(n)}L7e.displayName="vala";L7e.aliases=[];function L7e(n){n.register(Ds),n.languages.vala=n.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),n.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:n.languages.vala}},string:/[\s\S]+/}}}),n.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}M7e.displayName="velocity";M7e.aliases=[];function M7e(n){n.register(oh),function(i){i.languages.velocity=i.languages.extend("markup",{});var s={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};s.variable.inside={string:s.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:s.number,boolean:s.boolean,punctuation:s.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:s}},variable:s.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity}(n)}P7e.displayName="verilog";P7e.aliases=[];function P7e(n){n.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}j7e.displayName="vhdl";j7e.aliases=[];function j7e(n){n.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}F7e.displayName="vim";F7e.aliases=[];function F7e(n){n.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}$7e.displayName="visual-basic";$7e.aliases=["vb","vba"];function $7e(n){n.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},n.languages.vb=n.languages["visual-basic"],n.languages.vba=n.languages["visual-basic"]}B7e.displayName="warpscript";B7e.aliases=[];function B7e(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}U7e.displayName="wasm";U7e.aliases=[];function U7e(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}H7e.displayName="web-idl";H7e.aliases=["webidl"];function H7e(n){(function(i){var s=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,c="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+s+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,d={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+s),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:d},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+c),lookbehind:!0,inside:d},{pattern:RegExp("("+/\bcallback\s+/.source+s+/\s*=\s*/.source+")"+c),lookbehind:!0,inside:d},{pattern:RegExp(/(\btypedef\b\s*)/.source+c),lookbehind:!0,inside:d},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+s),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+s),lookbehind:!0},RegExp(s+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+s),lookbehind:!0},{pattern:RegExp(c+"(?="+/\s*(?:\.{3}\s*)?/.source+s+/\s*[(),;=]/.source+")"),inside:d}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var g in i.languages["web-idl"])g!=="class-name"&&(d[g]=i.languages["web-idl"][g]);i.languages.webidl=i.languages["web-idl"]})(n)}z7e.displayName="wgsl";z7e.aliases=[];function z7e(n){n.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}G7e.displayName="wiki";G7e.aliases=[];function G7e(n){n.register(oh),n.languages.wiki=n.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:n.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),n.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:n.languages.markup.tag.inside}}}})}q7e.displayName="wolfram";q7e.aliases=["mathematica","nb","wl"];function q7e(n){n.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.mathematica=n.languages.wolfram,n.languages.wl=n.languages.wolfram,n.languages.nb=n.languages.wolfram}V7e.displayName="wren";V7e.aliases=[];function V7e(n){n.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},n.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:n.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}W7e.displayName="xeora";W7e.aliases=["xeoracube"];function W7e(n){n.register(oh),function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora}(n)}K7e.displayName="xml-doc";K7e.aliases=[];function K7e(n){n.register(oh),function(i){function s(b,w){i.languages[b]&&i.languages.insertBefore(b,"comment",{"doc-comment":w})}var c=i.languages.markup.tag,d={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:c}},g={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:c}};s("csharp",d),s("fsharp",d),s("vbnet",g)}(n)}Y7e.displayName="xojo";Y7e.aliases=[];function Y7e(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}J7e.displayName="xquery";J7e.aliases=[];function J7e(n){n.register(oh),function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var s=function(d){return typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(s).join("")},c=function(d){for(var g=[],b=0;b<d.length;b++){var w=d[b],E=!1;if(typeof w!="string"&&(w.type==="tag"&&w.content[0]&&w.content[0].type==="tag"?w.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===s(w.content[0].content[1])&&g.pop():w.content[w.content.length-1].content==="/>"||g.push({tagName:s(w.content[0].content[1]),openedBraces:0}):g.length>0&&w.type==="punctuation"&&w.content==="{"&&(!d[b+1]||d[b+1].type!=="punctuation"||d[b+1].content!=="{")&&(!d[b-1]||d[b-1].type!=="plain-text"||d[b-1].content!=="{")?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&w.type==="punctuation"&&w.content==="}"?g[g.length-1].openedBraces--:w.type!=="comment"&&(E=!0)),(E||typeof w=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var S=s(w);b<d.length-1&&(typeof d[b+1]=="string"||d[b+1].type==="plain-text")&&(S+=s(d[b+1]),d.splice(b+1,1)),b>0&&(typeof d[b-1]=="string"||d[b-1].type==="plain-text")&&(S=s(d[b-1])+S,d.splice(b-1,1),b--),/^\s+$/.test(S)?d[b]=S:d[b]=new i.Token("plain-text",S,null,S)}w.content&&typeof w.content!="string"&&c(w.content)}};i.hooks.add("after-tokenize",function(d){d.language==="xquery"&&c(d.tokens)})}(n)}X7e.displayName="yang";X7e.aliases=[];function X7e(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}Z7e.displayName="zig";Z7e.aliases=[];function Z7e(n){(function(i){function s(S){return function(){return S}}var c=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,d="\\b(?!"+c.source+")(?!\\d)\\w+\\b",g=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,b=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,s(g)),w=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,s(d)),E="(?!\\s)(?:!?\\s*(?:"+b+"\\s*)*"+w+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,s(E)).replace(/<ALIGN>/g,s(g))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,s(E)).replace(/<ALIGN>/g,s(g))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:c,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(S){S.inside===null&&(S.inside=i.languages.zig)})})(n)}_e.register(oh);_e.register(NN);_e.register(Ds);_e.register(pue);_e.register(qh);_e.register(g9e);_e.register(b9e);_e.register(m9e);_e.register(w9e);_e.register(y9e);_e.register(v9e);_e.register(E9e);_e.register(S9e);_e.register(JM);_e.register(T9e);_e.register(A9e);_e.register(_9e);_e.register(x9e);_e.register(zv);_e.register(FR);_e.register(lue);_e.register(k9e);_e.register(N9e);_e.register(qz);_e.register(Wz);_e.register(wue);_e.register(C9e);_e.register(I9e);_e.register($R);_e.register(R9e);_e.register(O9e);_e.register(D9e);_e.register(L9e);_e.register(M9e);_e.register(P9e);_e.register(j9e);_e.register(F9e);_e.register(Yz);_e.register($9e);_e.register(B9e);_e.register(U9e);_e.register(H9e);_e.register(z9e);_e.register(G9e);_e.register(q9e);_e.register(V9e);_e.register(W9e);_e.register(K9e);_e.register(Y9e);_e.register(J9e);_e.register(X9e);_e.register(Z9e);_e.register(Q9e);_e.register(e8e);_e.register(t8e);_e.register(n8e);_e.register(r8e);_e.register(i8e);_e.register(o8e);_e.register(s8e);_e.register(a8e);_e.register(u8e);_e.register(c8e);_e.register(HR);_e.register(l8e);_e.register(d8e);_e.register(f8e);_e.register(h8e);_e.register(p8e);_e.register(g8e);_e.register(b8e);_e.register(m8e);_e.register(w8e);_e.register(y8e);_e.register(due);_e.register(Vh);_e.register(v8e);_e.register(E8e);_e.register(S8e);_e.register(T8e);_e.register(A8e);_e.register(_8e);_e.register(x8e);_e.register(k8e);_e.register(N8e);_e.register(C8e);_e.register(Vz);_e.register(I8e);_e.register(R8e);_e.register(O8e);_e.register(D8e);_e.register(L8e);_e.register(M8e);_e.register(P8e);_e.register(j8e);_e.register(F8e);_e.register($8e);_e.register(B8e);_e.register(U8e);_e.register(H8e);_e.register(z8e);_e.register(G8e);_e.register(q8e);_e.register(V8e);_e.register(W8e);_e.register(K8e);_e.register(Y8e);_e.register(J8e);_e.register(X8e);_e.register(fue);_e.register(Z8e);_e.register(Q8e);_e.register(ePe);_e.register(tPe);_e.register(bue);_e.register(Aue);_e.register(nPe);_e.register(rPe);_e.register(iPe);_e.register(Zz);_e.register(oPe);_e.register(sPe);_e.register(aPe);_e.register(uPe);_e.register(cPe);_e.register(lPe);_e.register(YM);_e.register(dPe);_e.register(fPe);_e.register(hPe);_e.register(pPe);_e.register(gPe);_e.register(bPe);_e.register(mPe);_e.register(wPe);_e.register(hue);_e.register(yPe);_e.register(vPe);_e.register(BR);_e.register(UR);_e.register(e9);_e.register(EPe);_e.register(SPe);_e.register(TPe);_e.register(APe);_e.register(_Pe);_e.register(xPe);_e.register(kPe);_e.register(XM);_e.register(NPe);_e.register(CPe);_e.register(IPe);_e.register(RPe);_e.register(OPe);_e.register(DPe);_e.register(LPe);_e.register(MPe);_e.register(PPe);_e.register(gue);_e.register(jPe);_e.register(FPe);_e.register($Pe);_e.register(BPe);_e.register(Qz);_e.register(UPe);_e.register(HPe);_e.register(zPe);_e.register(GPe);_e.register(qPe);_e.register(VPe);_e.register(WPe);_e.register(KPe);_e.register(mue);_e.register(xue);_e.register(YPe);_e.register(JPe);_e.register(XPe);_e.register(ZPe);_e.register(QPe);_e.register(eje);_e.register(tje);_e.register(nje);_e.register(rje);_e.register(ije);_e.register(oje);_e.register(sje);_e.register(aje);_e.register(uje);_e.register(cje);_e.register(lje);_e.register(dje);_e.register(fje);_e.register(hje);_e.register(yue);_e.register(pje);_e.register(gje);_e.register(bje);_e.register(mje);_e.register(wje);_e.register(yje);_e.register(vje);_e.register(Eje);_e.register(Sje);_e.register(Tje);_e.register(Aje);_e.register(_je);_e.register(vue);_e.register(xje);_e.register(kje);_e.register(Nje);_e.register(Cje);_e.register(Ije);_e.register(Rje);_e.register(Oje);_e.register(Dje);_e.register(Lje);_e.register(Mje);_e.register(Pje);_e.register(jje);_e.register(Fje);_e.register($je);_e.register(Bje);_e.register(Uje);_e.register(Hje);_e.register(zje);_e.register(Kz);_e.register(Gje);_e.register(qje);_e.register(Vje);_e.register(Wje);_e.register(Eue);_e.register(Kje);_e.register(Yje);_e.register(kue);_e.register(Jje);_e.register(Xje);_e.register(Zje);_e.register(Qje);_e.register(e7e);_e.register(t7e);_e.register(n7e);_e.register(r7e);_e.register(i7e);_e.register(Sue);_e.register(o7e);_e.register(Tue);_e.register(s7e);_e.register(a7e);_e.register(u7e);_e.register(c7e);_e.register(l7e);_e.register(d7e);_e.register(f7e);_e.register(h7e);_e.register(Nue);_e.register(p7e);_e.register(g7e);_e.register(b7e);_e.register(m7e);_e.register(w7e);_e.register(y7e);_e.register(v7e);_e.register(E7e);_e.register(_ue);_e.register(S7e);_e.register(eG);_e.register(T7e);_e.register(Jz);_e.register(A7e);_e.register(_7e);_e.register(x7e);_e.register(k7e);_e.register(N7e);_e.register(C7e);_e.register(I7e);_e.register(R7e);_e.register(O7e);_e.register(D7e);_e.register(L7e);_e.register(M7e);_e.register(P7e);_e.register(j7e);_e.register(F7e);_e.register($7e);_e.register(B7e);_e.register(U7e);_e.register(H7e);_e.register(z7e);_e.register(G7e);_e.register(q7e);_e.register(V7e);_e.register(W7e);_e.register(K7e);_e.register(Y7e);_e.register(J7e);_e.register(X7e);_e.register(Z7e);function SLe(){SLe=function(d,g){return new s(d,void 0,g)};var n=RegExp.prototype,i=new WeakMap;function s(d,g,b){var w=new RegExp(d,g);return i.set(w,b||i.get(d)),kse(w,s.prototype)}function c(d,g){var b=i.get(g);return Object.keys(b).reduce(function(w,E){var S=b[E];if(typeof S=="number")w[E]=d[S];else{for(var x=0;d[S[x]]===void 0&&x+1<S.length;)x++;w[E]=d[S[x]]}return w},Object.create(null))}return function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(g&&g.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),g&&kse(d,g)}(s,RegExp),s.prototype.exec=function(d){var g=n.exec.call(this,d);if(g){g.groups=c(g,this);var b=g.indices;b&&(b.groups=c(b,this))}return g},s.prototype[Symbol.replace]=function(d,g){if(typeof g=="string"){var b=i.get(this);return n[Symbol.replace].call(this,d,g.replace(/\$<([^>]+)>/g,function(E,S){var x=b[S];return"$"+(Array.isArray(x)?x.join("$"):x)}))}if(typeof g=="function"){var w=this;return n[Symbol.replace].call(this,d,function(){var E=arguments;return typeof E[E.length-1]!="object"&&(E=[].slice.call(E)).push(c(E,w)),g.apply(this,E)})}return n[Symbol.replace].call(this,d,g)},SLe.apply(this,arguments)}function kse(n,i){return kse=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,c){return s.__proto__=c,s},kse(n,i)}function W$t(n,i){(i==null||i>n.length)&&(i=n.length);for(var s=0,c=new Array(i);s<i;s++)c[s]=n[s];return c}function u6e(n,i){var s=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s)return(s=s.call(n)).next.bind(s);if(Array.isArray(n)||(s=function(d,g){if(d){if(typeof d=="string")return W$t(d,g);var b=Object.prototype.toString.call(d).slice(8,-1);return b==="Object"&&d.constructor&&(b=d.constructor.name),b==="Map"||b==="Set"?Array.from(d):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?W$t(d,g):void 0}}(n))||i){s&&(n=s);var c=0;return function(){return c>=n.length?{done:!0}:{done:!1,value:n[c++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ylr=function(n){return function(i){return i===void 0&&(i={}),function(c,d){if(d&&!c.registered(d))throw new Error('The default language "'+d+'" is not registered with refractor.')}(n,i.defaultLanguage),function(c){Ocr(c,"element",s)};function s(c,d,g){var b,w;if(g&&g.tagName==="pre"&&c.tagName==="code"){var E=(c==null||(b=c.data)==null?void 0:b.meta)||(c==null||(w=c.properties)==null?void 0:w.metastring)||"";c.properties.className?typeof c.properties.className=="boolean"?c.properties.className=[]:Array.isArray(c.properties.className)||(c.properties.className=[c.properties.className]):c.properties.className=[];var S,x,A=function(ee){for(var re,Q=u6e(ee.properties.className);!(re=Q()).done;){var ie=re.value;if(ie.slice(0,9)==="language-")return ie.slice(9).toLowerCase()}return null}(c);if(!A&&i.defaultLanguage&&c.properties.className.push("language-"+(A=i.defaultLanguage)),c.properties.className.push("code-highlight"),A)try{var C,R;R=(C=A)!=null&&C.includes("diff-")?A.split("-")[1]:A,S=n.highlight(Pie(c),R),g.properties.className=(g.properties.className||[]).concat("language-"+R)}catch(ee){if(!i.ignoreMissing||!/Unknown language/.test(ee.message))throw ee;S=c}else S=c;S.children=(x=1,function ee(re){return re.reduce(function(Q,ie){if(ie.type==="text"){var pe=ie.value,me=(pe.match(/\n/g)||"").length;if(me===0)ie.position={start:{line:x,column:1},end:{line:x,column:1}},Q.push(ie);else for(var le,fe=pe.split(`
`),K=u6e(fe.entries());!(le=K()).done;){var he=le.value,Oe=he[0],Se=he[1];Q.push({type:"text",value:Oe===fe.length-1?Se:Se+`
`,position:{start:{line:x+Oe,column:1},end:{line:x+Oe,column:1}}})}return x+=me,Q}if(Object.prototype.hasOwnProperty.call(ie,"children")){var Le=x;return ie.children=ee(ie.children),Q.push(ie),ie.position={start:{line:Le,column:1},end:{line:x,column:1}},Q}return Q.push(ie),Q},[])})(S.children),S.position=S.children.length>0?{start:{line:S.children[0].position.start.line,column:0},end:{line:S.children[S.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var L,D=function(ee){var re=/{([\d,-]+)}/,Q=ee.split(",").map(function(me){return me.trim()}).join();if(re.test(Q)){var ie=re.exec(Q)[1],pe=Fcr(ie);return function(me){return pe.includes(me+1)}}return function(){return!1}}(E),B=function(ee){var re=SLe(/showLineNumbers=(\d+)/i,{lines:1});if(re.test(ee)){var Q=re.exec(ee);return Number(Q.groups.lines)}return 1}(E),$=function(ee){for(var re=new Array(ee),Q=0;Q<ee;Q++)re[Q]={type:"element",tagName:"span",properties:{className:[]},children:[]};return re}(S.position.end.line),j=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],P=function(){var ee,re,Q=L.value,ie=Q[0],pe=Q[1];pe.properties.className=["code-line"];var me=Mcr(S,function(le){return le.position.start.line<=ie+1&&le.position.end.line>=ie+1});pe.children=me.children,!E.toLowerCase().includes("showLineNumbers".toLowerCase())&&!i.showLineNumbers||j.some(function(le){return E.toLowerCase().includes(le)})||(pe.properties.line=[(ie+B).toString()],pe.properties.className.push("line-number")),D(ie)&&pe.properties.className.push("highlight-line"),(A==="diff"||(ee=A)!=null&&ee.includes("diff-"))&&Pie(pe).substring(0,1)==="-"?pe.properties.className.push("deleted"):(A==="diff"||(re=A)!=null&&re.includes("diff-"))&&Pie(pe).substring(0,1)==="+"&&pe.properties.className.push("inserted")},G=u6e($.entries());!(L=G()).done;)P();$.length>0&&Pie($[$.length-1]).trim()===""&&$.pop(),c.children=$}}}},vlr=ylr(_e),Elr=["rehypePlugins"];const Slr=Hn.forwardRef((n,i)=>{var{rehypePlugins:s=[[vlr,{ignoreMissing:!0}]]}=n,c=SJt(n,Elr);return I.jsx(Scr,Hk({},c,{rehypePlugins:s,ref:i}))});function Tlr({yaml:n,errors:i,warnings:s,onYamlChange:c}){const d=Do(w=>w.fromFlowGraph),g=zae();H.useEffect(()=>{},[]);const b=async w=>{const E=w.target.value;c&&c(E);try{const x=await new RM().fromYaml(E);if(!x.success||!x.graph)return;d(x.graph)}catch{}};return I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsx(Slr,{value:n,language:"yaml",placeholder:"Enter YAML...",onChange:b,"data-color-mode":g?"dark":"light",padding:12,style:{fontFamily:"ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace",fontSize:13,height:"100%",resize:"none",whiteSpace:"pre-wrap",overflow:"auto"}}),i&&i.length>0&&I.jsx("div",{className:"border-red-200 border-t bg-red-50 px-3 py-2 text-red-600 text-xs",children:i.join(`
`)}),s&&s.length>0&&I.jsx("div",{className:"border-yellow-200 border-t bg-yellow-50 px-3 py-2 text-xs text-yellow-600",children:s.join(`
`)})]})}function Alr(){const{t:n}=ps(["common","errors"]),i=Do(L=>L.nodes),s=Do(L=>L.toFlowGraph),[c,d]=H.useState(!1),[g,b]=H.useState("auto"),w=H.useRef(null),{yaml:E,errors:S,warnings:x,strategy:A,isStale:C}=H.useMemo(()=>{var L;if(i.length===0)return w.current=null,{yaml:n("placeholders.addNodesForYaml"),warnings:[],errors:[],strategy:null,isStale:!1};try{const D=s(),$=new RM().transpile(D,{forceStrategy:g==="auto"?void 0:g});if(!$.success){const G=w.current;return{yaml:(G==null?void 0:G.yaml)||"",warnings:[],errors:$.errors||[n("errors:api.unknownError")],strategy:(G==null?void 0:G.strategy)||null,isStale:!!G}}const j=$.yaml||"",P=((L=$.output)==null?void 0:L.strategy)||null;return w.current={yaml:j,strategy:P},{yaml:j,warnings:$.warnings,errors:[],strategy:P,isStale:!1}}catch(D){const B=w.current;return{yaml:(B==null?void 0:B.yaml)||"",warnings:[],errors:[D instanceof Error?D.message:n("errors:api.transpileFailed")],strategy:(B==null?void 0:B.strategy)||null,isStale:!!B}}},[i,s,g,n]),R=async()=>{try{await kir(E),d(!0),setTimeout(()=>d(!1),2e3)}catch(L){console.error(n("errors:common.failedToCopy"),L)}};return I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsxs("div",{className:"flex items-center justify-between border-b p-3",children:[I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.yamlOutput")}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsxs(zp,{value:g,onValueChange:L=>b(L),children:[I.jsx(zh,{className:"h-7 w-[120px] text-xs",children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"auto",children:n("strategy.auto")}),I.jsx(to,{value:"native",children:n("strategy.native")}),I.jsx(to,{value:"state-machine",children:n("strategy.stateMachine")})]})]}),I.jsx(Ri,{variant:"ghost",size:"sm",onClick:R,disabled:!E,className:Sr("h-7 w-7 p-0",c?"bg-green-100 text-green-600 hover:bg-green-100":"text-muted-foreground"),children:c?I.jsx(oN,{className:"h-4 w-4"}):I.jsx($5e,{className:"h-4 w-4"})})]})]}),A&&I.jsxs("div",{className:"flex items-center gap-2 border-b bg-muted/50 px-3 py-1.5",children:[I.jsx("span",{className:"text-muted-foreground text-xs",children:n("labels.strategy")}),I.jsx(HMe,{variant:"secondary",className:"text-xs",children:A})]}),I.jsx("div",{className:"min-h-0 flex-1",children:I.jsx(Tlr,{yaml:E,errors:S,warnings:C?[n("errors:yaml.staleWarning"),...x]:x})})]})}function _lr(){const{t:n}=ps(["common","dialogs"]),{hass:i}=pb(),{automationId:s,traceData:c,isShowingTrace:d,traceExecutionPath:g,traceTimestamps:b,showTrace:w,hideTrace:E,setActiveNode:S,simulationSpeed:x,isSimulating:A}=Do(),[C,R]=H.useState([]),[L,D]=H.useState(""),[B,$]=H.useState(!1),[j,P]=H.useState(!1),G=H.useCallback(async()=>{if(!(!s||!i)){$(!0);try{const fe=Mv(i),K=await fe.getAutomationTraces(s);if(Ef.info("Loaded automation traces:",K),R(K||[]),K&&K.length>0){const he=K[0].run_id;D(he);const Oe=await fe.getAutomationTraceDetails(s,he);Oe&&w(Oe)}}catch(fe){Ef.error("Failed to load automation traces:",fe),R([])}$(!1)}},[s,i,w]);H.useEffect(()=>{s&&i&&G()},[s,i,G]);const ee=H.useCallback(async fe=>{if(!(!s||!i||!fe)){$(!0);try{const he=await Mv(i).getAutomationTraceDetails(s,fe);Ef.info("Loaded trace details:",he),he&&w(he)}catch(K){Ef.error("Failed to load trace details:",K)}$(!1)}},[s,i,w]),re=H.useCallback(fe=>{D(fe),ee(fe)},[ee]),Q=H.useCallback(()=>{E(),S(null),P(!1)},[E,S]),ie=H.useCallback(async()=>{if(!(!g.length||A)){P(!0);try{for(const fe of g)if(S(fe),await new Promise(K=>setTimeout(K,x)),!d)break;S(null)}catch(fe){Ef.error("Trace animation error:",fe)}P(!1)}},[g,x,S,d,A]),pe=H.useCallback(()=>{P(!1),S(null)},[S]),me=fe=>{try{return new Date(fe).toLocaleTimeString()}catch{return fe}},le=(fe,K)=>{try{const he=new Date(fe);return`${(((K?new Date(K):new Date).getTime()-he.getTime())/1e3).toFixed(1)}s`}catch{return n("labels.notApplicable")}};return s?I.jsxs("div",{className:"h-full space-y-4 p-4",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.automationTrace")}),I.jsxs("div",{className:"flex gap-1",children:[d&&!j&&I.jsx(Ri,{variant:"outline",size:"sm",onClick:ie,disabled:!g.length||A,className:Sr("h-8 w-8 p-0",!g.length||A?"text-muted-foreground":"border-orange-200 text-orange-600 hover:bg-orange-50"),children:I.jsx(rae,{className:"h-4 w-4"})}),j&&I.jsx(Ri,{variant:"outline",size:"sm",onClick:pe,className:"h-8 w-8 border-orange-200 p-0 text-orange-600 hover:bg-orange-50",children:I.jsx(mGt,{className:"h-4 w-4"})}),d?I.jsx(Ri,{variant:"outline",size:"sm",onClick:Q,className:"h-8 w-8 border-blue-200 p-0 text-blue-600 hover:bg-blue-50",children:I.jsx(pGt,{className:"h-4 w-4"})}):I.jsx(Ri,{variant:"outline",size:"sm",onClick:G,disabled:B,className:Sr("h-8 w-8 p-0",B?"text-muted-foreground":"border-blue-200 text-blue-600 hover:bg-blue-50"),children:I.jsx(z8n,{className:"h-4 w-4"})})]})]}),C.length===0&&!B&&I.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("dialogs:traceViewer.noTracesFound")}),C.length>0&&I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"text-xs",children:n("labels.selectTraceRun")}),I.jsxs(zp,{value:L,onValueChange:re,children:[I.jsx(zh,{className:"h-8",children:I.jsx(Gp,{placeholder:n("placeholders.selectTrace")})}),I.jsx(Gh,{children:C.map(fe=>I.jsx(to,{value:fe.run_id,children:I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(F5e,{className:"h-3 w-3"}),I.jsx("span",{className:"text-xs",children:me(fe.timestamp.start)}),I.jsxs("span",{className:"text-muted-foreground text-xs",children:["(",le(fe.timestamp.start,fe.timestamp.finish),")"]}),I.jsx("span",{className:Sr("rounded px-1 text-xs",fe.state==="stopped"&&fe.script_execution==="finished"?"bg-green-100 text-green-700":"bg-yellow-100 text-yellow-700"),children:fe.state})]})},fe.run_id))})]})]}),d&&c&&I.jsxs("div",{className:"space-y-2",children:[I.jsxs("div",{className:"border-t pt-2",children:[I.jsx(ll,{className:"text-xs",children:n("labels.traceDetails")}),I.jsxs("div",{className:"mt-1 space-y-1 text-xs",children:[I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.trigger")}),I.jsx("span",{className:"ml-2 truncate",children:c.trigger})]}),I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.duration")}),I.jsx("span",{children:le(c.timestamp.start,c.timestamp.finish)})]}),I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.lastStep")}),I.jsx("span",{children:c.last_step})]})]})]}),g.length>0&&I.jsxs("div",{className:"border-t pt-2",children:[I.jsx(ll,{className:"text-xs",children:n("labels.executionPath")}),I.jsx("div",{className:"mt-1 space-y-1",children:g.map((fe,K)=>I.jsxs("div",{className:"flex items-center gap-2 rounded bg-blue-50 p-1 text-blue-700 text-xs",children:[I.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 text-xs",children:K+1}),I.jsx("span",{className:"font-medium",children:fe}),b[fe]&&I.jsx("span",{className:"ml-auto text-muted-foreground",children:me(b[fe])})]},`step-${fe}-${g.indexOf(fe)}`))})]})]}),B&&I.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("status.loadingTraces")})]}):I.jsxs("div",{className:"h-full space-y-4 p-4",children:[I.jsx("div",{className:"flex items-center justify-between",children:I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.automationTrace")})}),I.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("dialogs:traceViewer.saveAutomationFirst")})]})}var CXt=["PageUp","PageDown"],IXt=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],RXt={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},t9="Slider",[TLe,xlr,klr]=Wae(t9),[OXt]=xw(t9,[klr]),[Nlr,Cue]=OXt(t9),DXt=H.forwardRef((n,i)=>{const{name:s,min:c=0,max:d=100,step:g=1,orientation:b="horizontal",disabled:w=!1,minStepsBetweenThumbs:E=0,defaultValue:S=[c],value:x,onValueChange:A=()=>{},onValueCommit:C=()=>{},inverted:R=!1,form:L,...D}=n,B=H.useRef(new Set),$=H.useRef(0),P=b==="horizontal"?Clr:Ilr,[G=[],ee]=G2({prop:x,defaultProp:S,onChange:le=>{var K;(K=[...B.current][$.current])==null||K.focus(),A(le)}}),re=H.useRef(G);function Q(le){const fe=Mlr(G,le);me(le,fe)}function ie(le){me(le,$.current)}function pe(){const le=re.current[$.current];G[$.current]!==le&&C(G)}function me(le,fe,{commit:K}={commit:!1}){const he=$lr(g),Oe=Blr(Math.round((le-c)/g)*g+c,he),Se=mse(Oe,[c,d]);ee((Le=[])=>{const Ae=Dlr(Le,Se,fe);if(Flr(Ae,E*g)){$.current=Ae.indexOf(Se);const xe=String(Ae)!==String(Le);return xe&&K&&C(Ae),xe?Ae:Le}else return Le})}return I.jsx(Nlr,{scope:n.__scopeSlider,name:s,disabled:w,min:c,max:d,valueIndexToChangeRef:$,thumbs:B.current,values:G,orientation:b,form:L,children:I.jsx(TLe.Provider,{scope:n.__scopeSlider,children:I.jsx(TLe.Slot,{scope:n.__scopeSlider,children:I.jsx(P,{"aria-disabled":w,"data-disabled":w?"":void 0,...D,ref:i,onPointerDown:Dr(D.onPointerDown,()=>{w||(re.current=G)}),min:c,max:d,inverted:R,onSlideStart:w?void 0:Q,onSlideMove:w?void 0:ie,onSlideEnd:w?void 0:pe,onHomeKeyDown:()=>!w&&me(c,0,{commit:!0}),onEndKeyDown:()=>!w&&me(d,G.length-1,{commit:!0}),onStepKeyDown:({event:le,direction:fe})=>{if(!w){const Oe=CXt.includes(le.key)||le.shiftKey&&IXt.includes(le.key)?10:1,Se=$.current,Le=G[Se],Ae=g*Oe*fe;me(Le+Ae,Se,{commit:!0})}}})})})})});DXt.displayName=t9;var[LXt,MXt]=OXt(t9,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Clr=H.forwardRef((n,i)=>{const{min:s,max:c,dir:d,inverted:g,onSlideStart:b,onSlideMove:w,onSlideEnd:E,onStepKeyDown:S,...x}=n,[A,C]=H.useState(null),R=hs(i,P=>C(P)),L=H.useRef(void 0),D=jz(d),B=D==="ltr",$=B&&!g||!B&&g;function j(P){const G=L.current||A.getBoundingClientRect(),ee=[0,G.width],Q=Q7e(ee,$?[s,c]:[c,s]);return L.current=G,Q(P-G.left)}return I.jsx(LXt,{scope:n.__scopeSlider,startEdge:$?"left":"right",endEdge:$?"right":"left",direction:$?1:-1,size:"width",children:I.jsx(PXt,{dir:D,"data-orientation":"horizontal",...x,ref:R,style:{...x.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:P=>{const G=j(P.clientX);b==null||b(G)},onSlideMove:P=>{const G=j(P.clientX);w==null||w(G)},onSlideEnd:()=>{L.current=void 0,E==null||E()},onStepKeyDown:P=>{const ee=RXt[$?"from-left":"from-right"].includes(P.key);S==null||S({event:P,direction:ee?-1:1})}})})}),Ilr=H.forwardRef((n,i)=>{const{min:s,max:c,inverted:d,onSlideStart:g,onSlideMove:b,onSlideEnd:w,onStepKeyDown:E,...S}=n,x=H.useRef(null),A=hs(i,x),C=H.useRef(void 0),R=!d;function L(D){const B=C.current||x.current.getBoundingClientRect(),$=[0,B.height],P=Q7e($,R?[c,s]:[s,c]);return C.current=B,P(D-B.top)}return I.jsx(LXt,{scope:n.__scopeSlider,startEdge:R?"bottom":"top",endEdge:R?"top":"bottom",size:"height",direction:R?1:-1,children:I.jsx(PXt,{"data-orientation":"vertical",...S,ref:A,style:{...S.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:D=>{const B=L(D.clientY);g==null||g(B)},onSlideMove:D=>{const B=L(D.clientY);b==null||b(B)},onSlideEnd:()=>{C.current=void 0,w==null||w()},onStepKeyDown:D=>{const $=RXt[R?"from-bottom":"from-top"].includes(D.key);E==null||E({event:D,direction:$?-1:1})}})})}),PXt=H.forwardRef((n,i)=>{const{__scopeSlider:s,onSlideStart:c,onSlideMove:d,onSlideEnd:g,onHomeKeyDown:b,onEndKeyDown:w,onStepKeyDown:E,...S}=n,x=Cue(t9,s);return I.jsx(no.span,{...S,ref:i,onKeyDown:Dr(n.onKeyDown,A=>{A.key==="Home"?(b(A),A.preventDefault()):A.key==="End"?(w(A),A.preventDefault()):CXt.concat(IXt).includes(A.key)&&(E(A),A.preventDefault())}),onPointerDown:Dr(n.onPointerDown,A=>{const C=A.target;C.setPointerCapture(A.pointerId),A.preventDefault(),x.thumbs.has(C)?C.focus():c(A)}),onPointerMove:Dr(n.onPointerMove,A=>{A.target.hasPointerCapture(A.pointerId)&&d(A)}),onPointerUp:Dr(n.onPointerUp,A=>{const C=A.target;C.hasPointerCapture(A.pointerId)&&(C.releasePointerCapture(A.pointerId),g(A))})})}),jXt="SliderTrack",FXt=H.forwardRef((n,i)=>{const{__scopeSlider:s,...c}=n,d=Cue(jXt,s);return I.jsx(no.span,{"data-disabled":d.disabled?"":void 0,"data-orientation":d.orientation,...c,ref:i})});FXt.displayName=jXt;var ALe="SliderRange",$Xt=H.forwardRef((n,i)=>{const{__scopeSlider:s,...c}=n,d=Cue(ALe,s),g=MXt(ALe,s),b=H.useRef(null),w=hs(i,b),E=d.values.length,S=d.values.map(C=>HXt(C,d.min,d.max)),x=E>1?Math.min(...S):0,A=100-Math.max(...S);return I.jsx(no.span,{"data-orientation":d.orientation,"data-disabled":d.disabled?"":void 0,...c,ref:w,style:{...n.style,[g.startEdge]:x+"%",[g.endEdge]:A+"%"}})});$Xt.displayName=ALe;var _Le="SliderThumb",BXt=H.forwardRef((n,i)=>{const s=xlr(n.__scopeSlider),[c,d]=H.useState(null),g=hs(i,w=>d(w)),b=H.useMemo(()=>c?s().findIndex(w=>w.ref.current===c):-1,[s,c]);return I.jsx(Rlr,{...n,ref:g,index:b})}),Rlr=H.forwardRef((n,i)=>{const{__scopeSlider:s,index:c,name:d,...g}=n,b=Cue(_Le,s),w=MXt(_Le,s),[E,S]=H.useState(null),x=hs(i,j=>S(j)),A=E?b.form||!!E.closest("form"):!0,C=vae(E),R=b.values[c],L=R===void 0?0:HXt(R,b.min,b.max),D=Llr(c,b.values.length),B=C==null?void 0:C[w.size],$=B?Plr(B,L,w.direction):0;return H.useEffect(()=>{if(E)return b.thumbs.add(E),()=>{b.thumbs.delete(E)}},[E,b.thumbs]),I.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[w.startEdge]:`calc(${L}% + ${$}px)`},children:[I.jsx(TLe.ItemSlot,{scope:n.__scopeSlider,children:I.jsx(no.span,{role:"slider","aria-label":n["aria-label"]||D,"aria-valuemin":b.min,"aria-valuenow":R,"aria-valuemax":b.max,"aria-orientation":b.orientation,"data-orientation":b.orientation,"data-disabled":b.disabled?"":void 0,tabIndex:b.disabled?void 0:0,...g,ref:x,style:R===void 0?{display:"none"}:n.style,onFocus:Dr(n.onFocus,()=>{b.valueIndexToChangeRef.current=c})})}),A&&I.jsx(UXt,{name:d??(b.name?b.name+(b.values.length>1?"[]":""):void 0),form:b.form,value:R},c)]})});BXt.displayName=_Le;var Olr="RadioBubbleInput",UXt=H.forwardRef(({__scopeSlider:n,value:i,...s},c)=>{const d=H.useRef(null),g=hs(d,c),b=Gae(i);return H.useEffect(()=>{const w=d.current;if(!w)return;const E=window.HTMLInputElement.prototype,x=Object.getOwnPropertyDescriptor(E,"value").set;if(b!==i&&x){const A=new Event("input",{bubbles:!0});x.call(w,i),w.dispatchEvent(A)}},[b,i]),I.jsx(no.input,{style:{display:"none"},...s,ref:g,defaultValue:i})});UXt.displayName=Olr;function Dlr(n=[],i,s){const c=[...n];return c[s]=i,c.sort((d,g)=>d-g)}function HXt(n,i,s){const g=100/(s-i)*(n-i);return mse(g,[0,100])}function Llr(n,i){return i>2?`Value ${n+1} of ${i}`:i===2?["Minimum","Maximum"][n]:void 0}function Mlr(n,i){if(n.length===1)return 0;const s=n.map(d=>Math.abs(d-i)),c=Math.min(...s);return s.indexOf(c)}function Plr(n,i,s){const c=n/2,g=Q7e([0,50],[0,c]);return(c-g(i)*s)*s}function jlr(n){return n.slice(0,-1).map((i,s)=>n[s+1]-i)}function Flr(n,i){if(i>0){const s=jlr(n);return Math.min(...s)>=i}return!0}function Q7e(n,i){return s=>{if(n[0]===n[1]||i[0]===i[1])return i[0];const c=(i[1]-i[0])/(n[1]-n[0]);return i[0]+c*(s-n[0])}}function $lr(n){return(String(n).split(".")[1]||"").length}function Blr(n,i){const s=Math.pow(10,i);return Math.round(n*s)/s}var zXt=DXt,Ulr=FXt,Hlr=$Xt,zlr=BXt;const GXt=H.forwardRef(({className:n,...i},s)=>I.jsxs(zXt,{ref:s,className:Sr("relative flex w-full touch-none select-none items-center",n),...i,children:[I.jsx(Ulr,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:I.jsx(Hlr,{className:"absolute h-full bg-primary"})}),I.jsx(zlr,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));GXt.displayName=zXt.displayName;function Glr({speed:n,onSpeedChange:i,disabled:s}){const{t:c}=ps(["common"]);return I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:c("labels.speed",{speed:n})}),I.jsx(GXt,{value:[n],onValueChange:d=>i(d[0]),min:200,max:2e3,step:100,disabled:s,className:"w-full"})]})}function qlr(){const{t:n}=ps(["simulator"]),{nodes:i,edges:s,toFlowGraph:c,isSimulating:d,startSimulation:g,stopSimulation:b,setActiveNode:w,addToExecutionPath:E,clearExecutionPath:S,executionPath:x,simulationSpeed:A}=Do(),[C,R]=H.useState({}),L=H.useCallback(async()=>{if(i.length!==0){g();try{const j=c();let ee=new RM().analyzeTopology(j).entryNodes[0];const re=s.find(pe=>pe.source===ee);re&&(ee=re.target);const Q=100;let ie=0;for(;ee&&ee!=="END"&&ie<Q;){w(ee),E(ee),await new Promise(le=>setTimeout(le,A));const pe=s.filter(le=>le.source===ee),me=i.find(le=>le.id===ee);if((me==null?void 0:me.type)==="condition"){const le=C[ee]??Math.random()>.5,fe=pe.find(K=>K.sourceHandle===(le?"true":"false"))||null;ee=(fe==null?void 0:fe.target)??null}else pe.length>0?ee=pe[0].target:ee=null;ie++}w(null)}catch(j){console.error("Simulation error:",j)}b()}},[i,s,c,g,b,w,E,A,C]),D=H.useCallback(()=>{b(),w(null)},[b,w]),B=H.useCallback(()=>{S(),R({})},[S]),$=i.filter(j=>j.type==="condition");return I.jsxs("div",{className:"h-full space-y-4 p-4",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("simulator:trace.heading")}),I.jsxs("div",{className:"flex gap-1",children:[d?I.jsx(Ri,{variant:"outline",size:"sm",onClick:D,className:"h-8 w-8 border-red-200 p-0 text-red-600 hover:bg-red-50",children:I.jsx(mGt,{className:"h-4 w-4"})}):I.jsx(Ri,{variant:"outline",size:"sm",onClick:L,disabled:i.length===0,className:Sr("h-8 w-8 p-0",i.length===0?"text-muted-foreground":"border-green-200 text-green-600 hover:bg-green-50"),children:I.jsx(rae,{className:"h-4 w-4"})}),I.jsx(Ri,{variant:"ghost",size:"sm",onClick:B,className:"h-8 w-8 p-0",children:I.jsx(pGt,{className:"h-4 w-4"})})]})]}),$.length>0&&I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:n("simulator:trace.conditionOverrides")}),I.jsx("div",{className:"space-y-2",children:$.map(j=>I.jsxs("div",{className:"flex items-center justify-between text-xs",children:[I.jsx("span",{className:"mr-2 flex-1 truncate text-muted-foreground",children:j.data.alias||j.id}),I.jsxs(zp,{value:C[j.id]===!0?"true":C[j.id]===!1?"false":"random",onValueChange:P=>{R(P==="random"?G=>{const{[j.id]:ee,...re}=G;return re}:G=>({...G,[j.id]:P==="true"}))},children:[I.jsx(zh,{className:"h-7 w-24 text-xs",children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(to,{value:"random",children:n("simulator:trace.random")}),I.jsx(to,{value:"true",children:n("simulator:trace.true")}),I.jsx(to,{value:"false",children:n("simulator:trace.false")})]})]})]},j.id))})]}),x.length>0&&I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:n("simulator:trace.executionPath")}),I.jsx("ol",{className:"list-inside list-decimal space-y-1 text-xs",children:x.map((j,P)=>{var re;const G=i.find(Q=>Q.id===j),ee=(re=G==null?void 0:G.data)==null?void 0:re.alias;return I.jsx("li",{className:Sr("py-0.5",P===x.length-1&&d?"font-medium text-green-600":"text-muted-foreground"),children:ee||j},j)})})]})]})}function Vlr({children:n,defaultWidth:i,minWidth:s=200,maxWidth:c=600,side:d,className:g}){const[b,w]=H.useState(i),[E,S]=H.useState(!1),x=H.useRef(null),A=H.useCallback(C=>{C.preventDefault(),S(!0)},[]);return H.useEffect(()=>{const C=L=>{if(!E||!x.current)return;const D=x.current.getBoundingClientRect();let B;d==="right"?B=D.right-L.clientX:B=L.clientX-D.left,B=Math.max(s,Math.min(c,B)),w(B)},R=()=>{S(!1)};return E&&(document.addEventListener("mousemove",C),document.addEventListener("mouseup",R),document.body.style.cursor="col-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",R),document.body.style.cursor="",document.body.style.userSelect=""}},[E,s,c,d]),I.jsxs("div",{ref:x,className:Sr("relative flex flex-col",g),style:{width:b},children:[I.jsx("div",{onMouseDown:A,className:Sr("absolute top-0 bottom-0 z-10 w-1 cursor-col-resize transition-colors hover:bg-primary/20",d==="right"?"left-0 -translate-x-1/2":"right-0 translate-x-1/2",E&&"bg-primary/30")}),n]})}var Iue="Tabs",[Wlr]=xw(Iue,[Zae]),qXt=Zae(),[Klr,eFe]=Wlr(Iue),VXt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:c,onValueChange:d,defaultValue:g,orientation:b="horizontal",dir:w,activationMode:E="automatic",...S}=n,x=jz(w),[A,C]=G2({prop:c,onChange:d,defaultProp:g??"",caller:Iue});return I.jsx(Klr,{scope:s,baseId:Bh(),value:A,onValueChange:C,orientation:b,dir:x,activationMode:E,children:I.jsx(no.div,{dir:x,"data-orientation":b,...S,ref:i})})});VXt.displayName=Iue;var WXt="TabsList",KXt=H.forwardRef((n,i)=>{const{__scopeTabs:s,loop:c=!0,...d}=n,g=eFe(WXt,s),b=qXt(s);return I.jsx(yYt,{asChild:!0,...b,orientation:g.orientation,dir:g.dir,loop:c,children:I.jsx(no.div,{role:"tablist","aria-orientation":g.orientation,...d,ref:i})})});KXt.displayName=WXt;var YXt="TabsTrigger",JXt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:c,disabled:d=!1,...g}=n,b=eFe(YXt,s),w=qXt(s),E=QXt(b.baseId,c),S=eZt(b.baseId,c),x=c===b.value;return I.jsx(vYt,{asChild:!0,...w,focusable:!d,active:x,children:I.jsx(no.button,{type:"button",role:"tab","aria-selected":x,"aria-controls":S,"data-state":x?"active":"inactive","data-disabled":d?"":void 0,disabled:d,id:E,...g,ref:i,onMouseDown:Dr(n.onMouseDown,A=>{!d&&A.button===0&&A.ctrlKey===!1?b.onValueChange(c):A.preventDefault()}),onKeyDown:Dr(n.onKeyDown,A=>{[" ","Enter"].includes(A.key)&&b.onValueChange(c)}),onFocus:Dr(n.onFocus,()=>{const A=b.activationMode!=="manual";!x&&!d&&A&&b.onValueChange(c)})})})});JXt.displayName=YXt;var XXt="TabsContent",ZXt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:c,forceMount:d,children:g,...b}=n,w=eFe(XXt,s),E=QXt(w.baseId,c),S=eZt(w.baseId,c),x=c===w.value,A=H.useRef(x);return H.useEffect(()=>{const C=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(C)},[]),I.jsx(kw,{present:d||x,children:({present:C})=>I.jsx(no.div,{"data-state":x?"active":"inactive","data-orientation":w.orientation,role:"tabpanel","aria-labelledby":E,hidden:!C,id:S,tabIndex:0,...b,ref:i,style:{...n.style,animationDuration:A.current?"0s":void 0},children:C&&g})})});ZXt.displayName=XXt;function QXt(n,i){return`${n}-trigger-${i}`}function eZt(n,i){return`${n}-content-${i}`}var Ylr=VXt,tZt=KXt,nZt=JXt,rZt=ZXt;const Jlr=Ylr,iZt=H.forwardRef(({className:n,...i},s)=>I.jsx(tZt,{ref:s,className:Sr("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...i}));iZt.displayName=tZt.displayName;const coe=H.forwardRef(({className:n,...i},s)=>I.jsx(nZt,{ref:s,className:Sr("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 font-medium text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...i}));coe.displayName=nZt.displayName;const loe=H.forwardRef(({className:n,...i},s)=>I.jsx(rZt,{ref:s,className:Sr("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...i}));loe.displayName=rZt.displayName;const Xlr="0.7.0";function Zlr(){const{hass:n}=pb(),{i18n:i}=ps();return H.useEffect(()=>{var g;const s=n==null?void 0:n.language,c=(g=navigator.language)==null?void 0:g.split("-")[0],d=s||c||"en";Ef.debug("[C.A.F.E.] useLanguage effect running",{hasHass:!!n,hassLanguage:s,browserLanguage:c,targetLanguage:d,currentLanguage:i.language}),d!==i.language&&(Object.keys(i.options.resources||{}).includes(d)?(Ef.debug("[C.A.F.E.] Changing language to:",d),i.changeLanguage(d)):Ef.debug(`[C.A.F.E.] Language '${d}' not available, keeping '${i.language}'`))},[n,i]),i.language}function K$t(){const{t:n}=ps(["common","errors","dialogs"]),i=()=>{window.parent.postMessage({type:"CAFE_TOGGLE_SIDEBAR"},"*")},s=()=>{window.parent.history.back()},{hass:c,isRemote:d,isLoading:g,connectionError:b,config:w,setConfig:E}=pb(),{flowName:S,fromFlowGraph:x,reset:A,automationId:C,hasUnsavedChanges:R,isSaving:L,simulationSpeed:D,setSimulationSpeed:B,hasRealChanges:$}=Do(),[j,P]=H.useState("properties"),[G,ee]=H.useState(!1),[re,Q]=H.useState(!1),[ie,pe]=H.useState(!1),[me,le]=H.useState(!1),[fe,K]=H.useState(!1),[he,Oe]=H.useState(!1),[Se,Le]=H.useState(()=>(window.parent??window).innerWidth),Ae=d&&(w.url===""||w.token===""),xe=zae();Zlr(),H.useEffect(()=>{document.body.classList.toggle("dark",xe)},[xe]),H.useEffect(()=>{const ht=window.parent??window,Xt=()=>{Le(ht.innerWidth)};return ht.addEventListener("resize",Xt),()=>ht.removeEventListener("resize",Xt)},[]);const We=()=>{const ht=document.createElement("input");ht.type="file",ht.accept=".json",ht.onchange=async Xt=>{var Ct;const vt=(Ct=Xt.target.files)==null?void 0:Ct[0];if(vt)try{const Ft=await vt.text(),On=JSON.parse(Ft);x(On)}catch(Ft){console.error("Failed to import:",Ft),alert(n("errors:import.fileReadFailed"))}},ht.click()},dt=()=>{const ht=Do.getState().toFlowGraph(),Xt=new Blob([JSON.stringify(ht,null,2)],{type:"application/json"}),vt=URL.createObjectURL(Xt),Ct=document.createElement("a");Ct.href=vt,Ct.download=`${S||"automation"}.json`,Ct.click(),URL.revokeObjectURL(vt)},bt=g?{label:n("status.connecting"),className:"bg-muted text-muted-foreground",icon:I.jsx(QH,{className:"h-3 w-3 animate-spin"})}:b?{label:n("status.connectionError"),className:"bg-red-100 text-red-700",icon:I.jsx(_w,{className:"h-3 w-3"})}:d&&(c!=null&&c.connected)?{label:n("status.connected"),className:"bg-green-100 text-green-700",icon:I.jsx(TPn,{className:"h-3 w-3"})}:null,kt=()=>{window.location.reload()};return I.jsx(kPn,{FallbackComponent:({error:ht})=>I.jsx(wR,{open:!0,onOpenChange:kt,children:I.jsxs(aN,{className:"flex w-[90vw] max-w-full flex-col",children:[I.jsx(uN,{children:I.jsx(cN,{children:n("dialogs:error.title")})}),I.jsx(lN,{children:n("dialogs:error.description")}),I.jsxs("div",{className:"space-y-4",children:[I.jsxs("pre",{className:"max-h-60 overflow-auto rounded bg-red-100 p-4 text-red-800 text-sm",children:[ht.message,I.jsx("br",{}),ht.stack]}),I.jsx("div",{children:n("dialogs:error.refreshPrompt")}),I.jsx(Ri,{onClick:kt,children:n("buttons.refresh")})]})]})}),children:I.jsxs(iGt,{children:[I.jsxs("div",{className:"flex h-screen flex-col bg-background",children:[I.jsxs("header",{className:"flex h-14 items-center justify-between gap-4 border-border border-b bg-card px-4 shadow-sm",children:[I.jsxs("div",{className:"flex flex-1 items-center gap-4",children:[!d&&I.jsx(Ri,{variant:"ghost",size:"icon",className:"shrink-0 text-muted-foreground hover:bg-accent",onClick:s,title:n("titles.backToHA"),"aria-label":n("titles.backToHA"),children:I.jsx(n8n,{className:"h-5 w-5"})}),Se<=870?I.jsx(Ri,{variant:"ghost",size:"icon",className:"inline-flex items-center justify-center rounded-md p-2 text-muted-foreground hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onClick:i,"aria-label":"Toggle sidebar",children:I.jsx(Y8n,{className:"h-5 w-5"})}):I.jsxs("h1",{className:"whitespace-nowrap font-bold text-foreground text-lg",title:n("titles.appFullName"),children:["☕ ",n("titles.appName")]}),I.jsx("span",{className:"mx-1 h-5 w-px bg-border"}),I.jsx("span",{className:"min-w-32 max-w-96 flex-1 truncate font-semibold text-foreground",children:S||I.jsx("span",{className:"font-normal text-muted-foreground",children:n("placeholders.automationName")})})]}),I.jsxs("div",{className:"flex items-center gap-2",children:[bt&&I.jsxs(HMe,{onClick:()=>ee(!0),className:Sr("flex cursor-pointer items-center gap-1.5 transition-opacity hover:opacity-80",bt.className),title:n("titles.clickToConfigure"),variant:"outline",children:[bt.icon,bt.label]}),d&&I.jsx(Ri,{onClick:()=>ee(!0),variant:"ghost",size:"icon",title:n("titles.settings"),children:I.jsx(lPn,{className:"h-5 w-5"})}),I.jsx(Pz,{orientation:"vertical",className:"h-6"}),I.jsxs("div",{className:"flex",children:[I.jsxs(Ri,{onClick:()=>{pe(!0)},className:"rounded-r-none",children:[I.jsx(B8n,{className:"mr-2 h-4 w-4"}),n("buttons.openAutomation")]}),I.jsxs(pJt,{open:me,onOpenChange:le,children:[I.jsx(gJt,{asChild:!0,children:I.jsx(Ri,{variant:"default",className:"rounded-l-none border-l px-2",children:I.jsx(nae,{className:"h-4 w-4"})})}),I.jsxs(e9e,{align:"end",children:[I.jsxs(iLe,{onClick:A,children:[I.jsx(dGt,{className:"mr-2 size-4"}),n("buttons.newAutomation")]}),I.jsxs(iLe,{onClick:()=>Q(!0),children:[I.jsx(L8n,{className:"mr-2 h-4 w-4"}),n("buttons.importYaml")]})]})]})]}),I.jsx(Ri,{onClick:()=>Oe(!0),variant:"ghost",size:"icon",title:n("titles.clearAutomation"),children:I.jsx(c8n,{className:"h-5 w-5"})}),I.jsx(Ri,{onClick:()=>K(!0),variant:R?"default":"ghost",size:"icon",title:n(C?"titles.updateAutomation":"titles.saveAutomation"),disabled:L,className:Sr(R&&$()&&!L&&"save-button-unsaved"),children:L?I.jsx(QH,{className:"h-4 w-4 animate-spin"}):I.jsx(gGt,{className:"h-5 w-5"})})]})]}),I.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[I.jsxs("aside",{className:"flex h-full min-h-0 w-72 flex-col border-border border-r bg-card",children:[I.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[I.jsx(TQn,{}),I.jsxs("div",{className:"border-t p-4",children:[I.jsx("h4",{className:"mb-2 font-medium text-muted-foreground text-xs",children:n("labels.quickHelp")}),I.jsxs("ul",{className:"space-y-1 text-muted-foreground text-xs",children:[I.jsx("li",{children:n("help.clickNodesToAdd")}),I.jsx("li",{children:n("help.dragToConnect")}),I.jsx("li",{children:n("help.deleteToRemove")}),I.jsx("li",{children:n("help.backspaceDeleteKey")})]})]})]}),I.jsxs("div",{className:"flex flex-col gap-2 border-t p-4",children:[I.jsxs("div",{className:"flex items-center gap-4",children:[d&&w.url&&I.jsx("span",{className:"text-green-600 text-xs",children:n("status.connectedTo",{hostname:new URL(w.url).hostname})}),b&&I.jsx("span",{className:"text-red-600 text-xs",children:b})]}),I.jsx("div",{className:"text-muted-foreground text-xs",children:I.jsxs("span",{children:[n("titles.appName")," ",`v${Xlr}`]})})]})]}),I.jsx("main",{className:"flex min-h-0 flex-1 flex-col",children:I.jsx(qer,{})}),I.jsx(Vlr,{defaultWidth:320,minWidth:280,maxWidth:600,side:"right",className:"border-border border-l bg-card",children:I.jsxs(Jlr,{value:j,onValueChange:ht=>P(ht),className:"flex min-h-0 flex-1 flex-col",children:[I.jsxs(iZt,{className:"grid w-full grid-cols-3 rounded-none border-b",children:[I.jsx(coe,{value:"properties",children:n("labels.properties")}),I.jsx(coe,{value:"yaml",children:n("labels.yaml")}),I.jsx(coe,{value:"simulator",children:n("labels.debug")})]}),I.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[I.jsx(loe,{value:"properties",className:"mt-0 flex-1 overflow-hidden",children:I.jsx(_ir,{})}),I.jsx(loe,{value:"yaml",className:"mt-0 flex-1 overflow-hidden",children:I.jsx(Alr,{})}),I.jsx(loe,{value:"simulator",className:"mt-0 flex-1 overflow-hidden",children:I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsxs("div",{className:"border-b p-4",children:[I.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[I.jsx("h4",{className:"font-medium text-muted-foreground text-xs",children:n("labels.debugControls")}),I.jsxs("div",{className:"flex gap-1",children:[I.jsx(Ri,{onClick:We,variant:"ghost",size:"icon",className:"h-6 w-6",title:n("buttons.importJson"),children:I.jsx(F8n,{className:"h-3.5 w-3.5"})}),I.jsx(Ri,{onClick:dt,variant:"ghost",size:"icon",className:"h-6 w-6",title:n("titles.exportJson"),children:I.jsx(P8n,{className:"h-3.5 w-3.5"})})]})]}),I.jsx(Glr,{speed:D,onSpeedChange:B})]}),I.jsx("div",{className:"flex-1 border-b",children:I.jsx(qlr,{})}),I.jsx("div",{className:"flex-1",children:I.jsx(_lr,{})})]})})]})]})})]})]}),d&&I.jsx(vtr,{isOpen:G||Ae,onClose:()=>ee(!1),config:w,onSave:E}),I.jsx(Etr,{isOpen:re,onClose:()=>Q(!1)}),I.jsx(htr,{isOpen:ie,onClose:()=>{pe(!1)}}),I.jsx(ytr,{isOpen:fe,onClose:()=>K(!1),onSaved:()=>{}}),I.jsx(wR,{open:he,onOpenChange:Oe,children:I.jsxs(aN,{className:"max-w-md",children:[I.jsxs(uN,{children:[I.jsx(cN,{children:n("dialogs:import.discardTitle")}),I.jsx(lN,{children:n("dialogs:import.discardDescription")})]}),I.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[I.jsx(Ri,{variant:"outline",onClick:()=>Oe(!1),children:n("buttons.cancel")}),I.jsx(Ri,{variant:"destructive",onClick:()=>{A(),Oe(!1)},children:n("dialogs:import.confirmDiscard")})]})]})}),I.jsx(tjn,{})]})})}const Qlr={save:"Speichern",saveAsCopy:"Als Kopie speichern",cancel:"Abbrechen",close:"Schließen",delete:"Löschen",update:"Aktualisieren",refresh:"Aktualisieren",copy:"Kopieren",use:"Verwenden",add:"Hinzufügen",addTrigger:"Auslöser hinzufügen",openAutomation:"Automatisierung öffnen",newAutomation:"Neue Automatisierung",importJson:"Aus JSON importieren",importYaml:"Aus YAML importieren",testConnection:"Verbindung testen",disconnect:"Trennen"},edr={automationName:"Automatisierungsname",properties:"Eigenschaften",yaml:"YAML",debug:"Debug",enabled:"Aktiviert",alias:"Alias (Anzeigename)",id:"ID",strategy:"Strategie",speed:"Geschwindigkeit",quickHelp:"Schnellhilfe",debugControls:"Debug-Steuerung",addNode:"Knoten hinzufügen",yamlOutput:"YAML-Ausgabe",automationTrace:"Automatisierungs-Trace",selectTraceRun:"Trace-Ausführung wählen:",traceDetails:"Trace-Details:",trigger:"Auslöser:",duration:"Dauer:",lastStep:"Letzter Schritt:",executionPath:"Ausführungspfad:",notApplicable:"N/A",device:"Gerät",triggerType:"Auslösertyp",entityId:"Entitäts-ID",warning:"Warnung",requiredAsterisk:"*",automations:"Automationen",nodes:"Knoten",areas:"Bereiche",zones:"Zonen",unassigned:"Nicht zugeordnet",workspaceSources:"Zusammengeführte Quellen"},tdr={connecting:"Verbinde...",connected:"Verbunden",connectedTo:"Verbunden mit {{hostname}}",connectionError:"Verbindungsfehler",saving:"Speichere...",updating:"Aktualisiere...",testing:"Teste...",loadingTraces:"Lade Traces...",loadingTriggers:"Lade Auslöser..."},ndr={automationName:"Automatisierungsname",optionalDisplayName:"Optionaler Anzeigename",optionalUniqueId:"Optionale eindeutige ID",enterAutomationName:"Automatisierungsname eingeben...",describeAutomation:"Beschreiben Sie, was diese Automatisierung tut...",searchAutomations:"Automatisierungen suchen...",selectTrace:"Trace auswählen...",addNodesForYaml:"# Knoten hinzufügen, um YAML-Ausgabe zu sehen",selectDevice:"Gerät auswählen...",selectTriggerType:"Auslösertyp auswählen...",selectEntity:"Entität auswählen...",selectEntities:"Entitäten auswählen...",duration:"00:05:00",enterTemplate:"Jinja2-Vorlage eingeben...",jsonExample:'{ "key": "value" }',none:"Keine"},rdr={clickNodesToAdd:"Klicken zum Hinzufügen",dragToConnect:"Ziehen zum Verbinden",deleteToRemove:"Löschen zum Entfernen",backspaceDeleteKey:"Rücktaste/Entf-Taste"},idr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Einstellungen",updateAutomation:"Automatisierung in Home Assistant aktualisieren",saveAutomation:"Automatisierung in Home Assistant speichern",clearAutomation:"Aktuelle Automatisierung leeren",exportJson:"Flow als JSON exportieren",clickToConfigure:"Klicken um Home Assistant-Verbindung zu konfigurieren",openDetached:"Eigenes Fenster öffnen",removeSource:"Quelle aus dem Merge-Workspace entfernen",backToHA:"Zurück zu Home Assistant"},odr={auto:"Auto",native:"Nativ",stateMachine:"Zustandsautomat"},sdr={newAutomation:"Neue Automatisierung"},adr={true:"Wahr",false:"Falsch"},udr={select:"Auswählen...",noOptions:"Keine Optionen gefunden."},cdr={enabled:"Aktiviert",disabled:"Deaktiviert",selectItems:"Elemente auswählen...",itemsSelected:"{{count}} Elemente ausgewählt",selectEntities:"Entitäten auswählen...",selectEntity:"Entität auswählen...",selectZone:"Zone auswählen...",formatHMS:"Format: HH:MM:SS",enterValue:"{{name}} eingeben..."},ldr={enterId:"Geräte-ID manuell eingeben",noDevices:"Keine Geräte gefunden. Geben Sie die Geräte-ID manuell ein oder überprüfen Sie Ihre Home Assistant-Verbindung."},ddr={runAction:"Aktion ausführen",cut:"Ausschneiden",copy:"Kopieren",paste:"Einfügen",duplicate:"Duplizieren",toggleEnabled:"Ein-/Ausschalten",enable:"Aktivieren",disable:"Deaktivieren",disconnect:"Trennen",alignLeft:"Links ausrichten",alignCenter:"Zentrieren",alignRight:"Rechts ausrichten",alignTop:"Oben ausrichten",alignBottom:"Unten ausrichten",deleteNode:"Knoten löschen",duplicateNode:"Knoten duplizieren",selectAll:"Alles auswählen",undo:"Rückgängig",redo:"Wiederherstellen"},fdr={cmd:"Cmd",ctrl:"Strg",shift:"Umschalt",alt:"Alt",arrowUp:"Pfeil nach oben",arrowDown:"Pfeil nach unten",arrowLeft:"Pfeil nach links",arrowRight:"Pfeil nach rechts"},hdr={useValue:"Wert verwenden"},pdr={buttons:Qlr,labels:edr,status:tdr,placeholders:ndr,help:rdr,titles:idr,strategy:odr,defaults:sdr,boolean:adr,combobox:udr,dynamicField:cdr,deviceSelector:ldr,toolbar:ddr,shortcuts:fdr,stateTrigger:hdr},gdr={simulatingExecution:"Simuliere Ausführung...",showingTraceExecution:"Zeige Trace-Ausführung ({{steps}} Schritte)"},bdr={simulation:gdr},mdr={title:"Automatisierung speichern",titleUpdate:"Automatisierung aktualisieren",description:"Diese Automatisierung in Home Assistant speichern",descriptionUpdate:"Diese Automatisierung in Home Assistant aktualisieren",nameLabel:"Automatisierungsname",descriptionLabel:"Beschreibung (Optional)",nameConflict:'Name existiert bereits. Verwenden: "{{suggestedName}}"?'},wdr={title:"YAML-Automatisierung importieren",description:"Fügen Sie Ihre Home Assistant Automatisierungs-YAML unten ein. Die Automatisierung kann im Standardformat oder Zustandsautomatenformat sein.",placeholder:"alias: Meine Automatisierung\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"Import fehlgeschlagen",warnings:"Warnungen",successLoading:"Erfolgreich importiert! Lade Flow...",tipLabel:"Tipp:",tipText:"Wenn Ihre Automatisierung mit C.A.F.E. erstellt wurde, werden Knotenpositionen beibehalten. Andernfalls werden Knoten automatisch in einem lesbaren Layout angeordnet.",importing:"Importiere...",import:"Importieren",errors:{parseError:"YAML konnte nicht geparst werden: {{message}}",importError:"Import fehlgeschlagen: {{message}}"}},ydr={title:"Home Assistant-Verbindung",description:"Konfigurieren Sie Ihre Home Assistant-Verbindungseinstellungen.",urlLabel:"Home Assistant-URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"Die URL Ihrer Home Assistant-Instanz",tokenLabel:"Langlebiges Zugriffstoken",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Erstellen Sie eines in HA: Profil → Langlebige Zugriffstoken",testConnection:"Verbindung testen",testing:"Teste...",connected:"Verbunden!",disconnect:"Trennen",corsNote:"CORS-Hinweis",corsDescription:"Um sich von einem Browser zu verbinden, müssen Sie möglicherweise CORS-Header zu Ihrer HA-Konfiguration hinzufügen. Wenn Sie sich von https://fezvrasta.github.io/hass-cafe verbinden, muss Ihre HA-Instanz unter HTTPS laufen.",tokenGuideLink:"Wie man ein langlebiges Zugriffstoken erstellt",apiRunning:"API läuft.",errors:{missingFields:"Bitte geben Sie sowohl URL als auch Token an",unexpectedResponse:"Unerwartete API-Antwort",invalidToken:"Ungültiges Token - Authentifizierung fehlgeschlagen",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Verbindung nicht möglich - URL und CORS-Einstellungen überprüfen",connectionFailed:"Verbindung fehlgeschlagen"}},vdr={title:"Unerwarteter Fehler",description:"Ein unerwarteter Fehler ist in der Anwendung aufgetreten. Bitte sehen Sie die Details unten.",refreshPrompt:"Bitte versuchen Sie, die Seite zu aktualisieren. Wenn das Problem weiterhin besteht, melden Sie es bitte in unserem GitHub-Repository."},Edr={saveAutomationFirst:"Speichern Sie zuerst die Automatisierung, um Traces anzuzeigen",noTracesFound:"Keine Automatisierungs-Traces gefunden"},Sdr={save:mdr,import:{title:"Automatisierung öffnen",description:"Wählen Sie eine Automatisierung aus Home Assistant zum Bearbeiten",descriptionFull:"Öffnen Sie eine bestehende Automatisierung oder erstellen Sie eine neue",searchPlaceholder:"Automatisierungen suchen...",noAutomations:"Keine Automatisierungen gefunden",noConnection:"Verbinden Sie sich mit Home Assistant um Automatisierungen zu laden",createNew:"Neu erstellen",openSingle:"Öffnen",openTogether:"Zusammen öffnen",mergeSelected:"Auswahl zusammenführen",defaultMergedName:"Zusammengeführte Automation",mergeSuccess:"{{count}} Automationen in einen Workspace zusammengeführt.",mergeFailed:"Automationen konnten nicht zusammengeführt werden: {{message}}",mergeFailedMissingConfig:"Konfiguration für {{name}} konnte nicht geladen werden",mergeFailedInvalidYaml:"Automation {{name}} konnte nicht geparst werden",selectAll:"Alle sichtbaren auswählen",unselectAll:"Auswahl aufheben",select:"Automation auswählen",unselect:"Automation abwählen",columns:{name:"Name",lastTriggered:"Zuletzt ausgelöst",enabled:"Aktiviert",action:"Aktion"},mode:"Modus: {{mode}}",never:"Nie",justNow:"Gerade eben",minutesAgo:"vor {{count}} Min",hoursAgo:"vor {{count}} Std",daysAgo:"vor {{count}} Tagen",disabled:"Deaktiviert",automationEnabled:"Automatisierung erfolgreich aktiviert.",automationDisabled:"Automatisierung erfolgreich deaktiviert.",updateStateFailed:"Automatisierungsstatus konnte nicht aktualisiert werden",importAutomation:"Automatisierung importieren",openingWarning:"Das Öffnen ersetzt Ihr aktuelles Automatisierungsdesign",discardTitle:"Aktuellen Flow verwerfen?",discardDescription:"Ihre aktuelle Automatisierung hat ungespeicherte Änderungen. Das Erstellen oder Öffnen einer neuen Automatisierung verwirft diese Änderungen.",confirmDiscard:"Verwerfen & Fortfahren",importSuccess:'Automatisierung "{{name}}" erfolgreich importiert!',openedWarning:'Automatisierung "{{name}}" geöffnet!',openedWarningDescription:"Konfiguration konnte nicht automatisch abgerufen werden. Sie können jetzt einen neuen Flow mit demselben Namen erstellen.",importFailed:"Automatisierung konnte nicht importiert werden: {{message}}",ID:"ID: {{id}}",otherArea:"Anderer Bereich",noArea:"Kein Bereich"},importYaml:wdr,settings:ydr,error:vdr,traceViewer:Edr},Tdr={failedToCopy:"Kopieren fehlgeschlagen"},Adr={emptyAutomation:"Leere Automatisierung kann nicht gespeichert werden. Bitte fügen Sie mindestens einen Auslöser- und einen Aktionsknoten hinzu.",noTrigger:"Automatisierung muss mindestens einen Auslöserknoten haben. Bitte fügen Sie einen Auslöser aus der Knotenpalette hinzu.",noAction:"Automatisierung muss mindestens einen Aktionsknoten haben. Bitte fügen Sie eine Aktion aus der Knotenpalette hinzu.",validationFailed:"Validierung fehlgeschlagen: {{errors}}",transpileFailed:"Flow konnte nicht in Automatisierungskonfiguration transpiliert werden",noAutomationId:"Keine Automatisierungs-ID gesetzt. Verwenden Sie saveAutomation() für neue Automatisierungen.",node:{duplicateId:"ID bereits vergeben — muss innerhalb der Automatisierung eindeutig sein"}},_dr={noConnection:"Keine Home Assistant-Verbindung verfügbar",noAuth:"Keine Authentifizierung für REST-API konfiguriert",authFailed:"Ungültiges Token - Authentifizierung fehlgeschlagen",corsError:"Verbindung nicht möglich - URL und CORS-Einstellungen überprüfen",connectionLost:"Verbindung verloren",reconnectFailed:"Wiederverbindung fehlgeschlagen",notConnected:"Home Assistant ist nicht verbunden",noMethod:"Keine funktionierende Home Assistant-Verbindungsmethode gefunden",unexpectedResponse:"Unerwartete API-Antwort",connectionFailed:"Verbindung fehlgeschlagen"},xdr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Automatisierung konnte nicht erstellt werden: {{message}}",updateFailed:"Automatisierung konnte nicht aktualisiert werden: {{message}}",deleteFailed:"Automatisierung konnte nicht gelöscht werden: {{message}}",importFailed:"Automatisierung konnte nicht importiert werden: {{message}}",unknownError:"Unbekannter Fehler",transpileFailed:"Transpilierung fehlgeschlagen",loadDeviceTriggersFailed:"Geräteauslöser konnten nicht geladen werden:",loadTriggerCapabilitiesFailed:"Auslöserfähigkeiten konnten nicht geladen werden:"},kdr={addFailed:"Eigenschaft konnte nicht hinzugefügt werden"},Ndr={nameRequired:"Automatisierungsname ist erforderlich",urlTokenRequired:"Bitte geben Sie sowohl URL als auch Token an"},Cdr={staleWarning:"Zeige letztes gültiges YAML - Fehler beheben zum Aktualisieren"},Idr={common:Tdr,validation:Adr,connection:_dr,api:xdr,properties:kdr,form:Ndr,import:{fileReadFailed:"Flow konnte nicht importiert werden. Bitte überprüfen Sie das Dateiformat.",parseFailed:"Automatisierungskonfiguration konnte nicht geparst werden"},yaml:Cdr},Rdr={trigger:"Auslöser",condition:"Bedingung",action:"Aktion",delay:"Verzögerung",wait:"Warten auf",set_variables:"Variablen setzen",node:"Knoten",stop:"Stopp"},Odr={selectNode:"Wählen Sie einen Knoten, um seine Eigenschaften zu bearbeiten",properties:"Eigenschaften",nodeId:"Knoten-ID: {{id}}",additionalProperties:"Zusätzliche Eigenschaften",addProperty:"Eigenschaft hinzufügen",propertyName:"Eigenschaftsname",type:"Typ",value:"Wert"},Ddr={customProperty:"z.B. meine_benutzerdefinierte_eigenschaft",jsonArray:'["element1", "element2"]',number:"123",enterValue:"Wert eingeben",jsonObject:"JSON-Objekt",enterType:"{{type}} eingeben",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Ldr={platformLabel:"Plattform",platforms:{state:"Zustandsänderung",numeric_state:"Numerischer Zustand",time:"Zeit",time_pattern:"Zeitmuster",sun:"Sonne",event:"Ereignis",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Vorlage",homeassistant:"Home Assistant",device:"Gerät",calendar:"Kalender",geo_location:"Geo-Standort",tag:"Tag",conversation:"Konversation",persistent_notification:"Dauerhafte Benachrichtigung"},dataTypes:{string:"Text",number:"Zahl",boolean:"Wahrheitswert",json:"Array (JSON)"},fields:{entityId:"Entität",toState:"Zu Zustand",fromState:"Von Zustand",toStatePlaceholder:"z.B. on, off, home",fromStatePlaceholder:"z.B. off"}},Mdr={conditionLabel:"Bedingungstyp",types:{state:"Zustand",numeric_state:"Numerischer Zustand",time:"Zeit",sun:"Sonne",zone:"Zone",template:"Vorlage",device:"Gerät",trigger:"Auslöser",and:"UND (Alle)",or:"ODER (Beliebige)",not:"NICHT"},nestedConditions:"Verschachtelte Bedingungen",yes:"Ja",no:"Nein"},Pdr={serviceLabel:"Dienst"},jdr={variableCount_one:"{{count}} Variable",variableCount_other:"{{count}} Variablen"},Fdr={label:"Dauer",description:"Dauer in Stunden, Minuten, Sekunden, Millisekunden angeben",string:"Zeichenkette",object:"Objekt",placeholder:"00:00:05.500",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",milliseconds:"Millisekunden"},$dr={label:"Antwortvariable",optionalDescription:"Diese Aktion kann eine Antwort zurückgeben. Aktivieren Sie, um die Antwort zu verwenden und geben Sie den Namen einer Variablen ein, in der die Antwort gespeichert wird.",requiredDescription:"Diese Aktion gibt eine Antwort zurück. Geben Sie den Namen einer Variablen ein, in der die Antwort gespeichert wird.",useResponseVariable:"Antwortvariable verwenden",placeholder:"z.B. meine_antwort",currentNodeWarning:"'current_node' ist für die Zustandsautomaten-Strategie reserviert. Die Verwendung dieses Namens kann unerwartetes Verhalten verursachen."},Bdr={heading:"Dienstdaten"},Udr={empty:"Keine Variablen definiert. Klicken Sie auf die Schaltfläche unten, um eine hinzuzufügen.",variableLabel:"Variable {{index}}",name:"Name",namePlaceholder:"variablen_name",value:"Wert",valueDescription:"Wert oder Jinja2-Vorlagenausdruck",valuePlaceholder:"wert oder {{ vorlage }}",addVariable:"Variable hinzufügen"},Hdr={waitsForNTrigger_one:"Wartet auf {{count}} Auslöser",waitsForNTrigger_other:"Wartet auf {{count}} Auslöser",timeoutLabel:"Zeitüberschreitung:",waitType:"Wartetyp",waitTypeDescription:"Wählen Sie, worauf gewartet werden soll.",types:{template:"Vorlage",triggers:"Auslöser"},waitTemplate:"Wartevorlage",waitTemplateDescription:"Vorlagenbedingung, die wahr sein muss, um fortzufahren",triggersHeading:"Auslöser",triggerLabel:"Auslöser {{index}}: {{platform}}",triggerPlatformLabel:"Plattform",addTrigger:"Auslöser hinzufügen",timeoutDescription:"Maximale Wartezeit vor dem Fortfahren. Leer lassen für unbegrenztes Warten.",continueOnTimeout:"Bei Zeitüberschreitung fortfahren",continueOnTimeoutDescription:"Wenn aktiviert, fährt die Automatisierung fort, wenn die Zeitüberschreitung abläuft. Wenn deaktiviert, stoppt die Automatisierung."},zdr={searchPlaceholder:"Knoten suchen…"},Gdr={types:Rdr,panel:Odr,placeholders:Ddr,triggers:Ldr,conditions:Mdr,actions:Pdr,variables:jdr,durationField:Fdr,responseVariableField:$dr,serviceDataFields:Bdr,setVariablesFields:Udr,wait:Hdr,quickAdd:zdr},qdr={noConditions:"Noch keine Bedingungen hinzugefügt",addCondition:"Bedingung hinzufügen"},Vdr={conditionGroupEditor:qdr},Wdr={heading:"Trace-Simulator",conditionOverrides:"Bedingungsergebnisse (für Simulation)",random:"Zufällig",true:"Wahr",false:"Falsch",executionPath:"Ausführungspfad"},Kdr={trace:Wdr},Ydr={common:pdr,debug:bdr,dialogs:Sdr,errors:Idr,nodes:Gdr,panels:Vdr,simulator:Kdr},Jdr={save:"Save",saveAsCopy:"Save as Copy",cancel:"Cancel",close:"Close",delete:"Delete",update:"Update",refresh:"Refresh",copy:"Copy",use:"Use",add:"Add",addTrigger:"Add Trigger",openAutomation:"Open Automation",newAutomation:"New Automation",importJson:"Import from JSON",importYaml:"Import from YAML",testConnection:"Test Connection",disconnect:"Disconnect"},Xdr={automationName:"Automation name",properties:"Properties",yaml:"YAML",debug:"Debug",enabled:"Enabled",alias:"Alias (Display Name)",id:"ID",strategy:"Strategy",speed:"Speed",quickHelp:"Quick Help",debugControls:"Debug Controls",addNode:"Add Node",yamlOutput:"YAML Output",automationTrace:"Automation Trace",selectTraceRun:"Select Trace Run:",traceDetails:"Trace Details:",trigger:"Trigger:",duration:"Duration:",lastStep:"Last Step:",executionPath:"Execution Path:",notApplicable:"N/A",device:"Device",triggerType:"Trigger Type",entityId:"Entity ID",warning:"Warning",requiredAsterisk:"*",automations:"Automations",nodes:"Nodes",areas:"Areas",zones:"Zones",unassigned:"Unassigned",workspaceSources:"Merged Sources"},Zdr={connecting:"Connecting...",connected:"Connected",connectedTo:"Connected to {{hostname}}",connectionError:"Connection Error",saving:"Saving...",updating:"Updating...",testing:"Testing...",loadingTraces:"Loading traces...",loadingTriggers:"Loading triggers..."},Qdr={automationName:"Automation name",optionalDisplayName:"Optional display name",optionalUniqueId:"Optional unique ID",enterAutomationName:"Enter automation name...",describeAutomation:"Describe what this automation does...",searchAutomations:"Search automations...",selectTrace:"Select a trace...",addNodesForYaml:"# Add nodes to see YAML output",selectDevice:"Select device...",selectTriggerType:"Select trigger type...",selectEntity:"Select entity...",selectEntities:"Select entities...",duration:"00:05:00",enterTemplate:"Enter Jinja2 template...",jsonExample:'{ "key": "value" }',none:"None"},efr={clickNodesToAdd:"Click nodes to add",dragToConnect:"Drag to connect",deleteToRemove:"Delete to remove",backspaceDeleteKey:"Backspace/Delete key"},tfr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Settings",updateAutomation:"Update automation in Home Assistant",saveAutomation:"Save automation to Home Assistant",clearAutomation:"Clear current automation",exportJson:"Export flow as JSON",clickToConfigure:"Click to configure Home Assistant connection",openDetached:"Open detached window",removeSource:"Remove source from merged workspace",backToHA:"Back to Home Assistant"},nfr={auto:"Auto",native:"Native",stateMachine:"State Machine"},rfr={newAutomation:"New Automation"},ifr={true:"True",false:"False"},ofr={select:"Select...",noOptions:"No options found."},sfr={enabled:"Enabled",disabled:"Disabled",selectItems:"Select items...",itemsSelected:"{{count}} items selected",selectEntities:"Select entities...",selectEntity:"Select entity...",selectZone:"Select zone...",formatHMS:"Format: HH:MM:SS",enterValue:"Enter {{name}}..."},afr={enterId:"Enter device ID manually",noDevices:"No devices found. Enter device ID manually or check your Home Assistant connection."},ufr={title:"Automation Settings",description:"Description",mode:"Mode",modeDescription:"Controls what happens when the automation is triggered while already running.",modes:{single:"Single",restart:"Restart",queued:"Queued",parallel:"Parallel"},modeDescriptions:{single:"Do not start a new run if already running",restart:"Stop the current run and start a new one",queued:"Queue new runs to execute after the current one finishes",parallel:"Start a new independent run in parallel"},max:"Max runs",maxDescription:"Maximum number of concurrent or queued runs.",maxExceeded:"Max exceeded",maxExceededDescription:"What to do when the maximum number of runs is exceeded.",maxExceededOptions:{silent:"Silent",warning:"Warning",critical:"Critical"}},cfr={runAction:"Run Action",cut:"Cut",copy:"Copy",paste:"Paste",duplicate:"Duplicate",toggleEnabled:"Toggle Enabled/Disabled",enable:"Enable",disable:"Disable",disconnect:"Disconnect",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignTop:"Align Top",alignBottom:"Align Bottom",deleteNode:"Delete Node",duplicateNode:"Duplicate Node",selectAll:"Select All",undo:"Undo",redo:"Redo"},lfr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"Arrow Up",arrowDown:"Arrow Down",arrowLeft:"Arrow Left",arrowRight:"Arrow Right"},dfr={useValue:"Use value"},ffr={buttons:Jdr,labels:Xdr,status:Zdr,placeholders:Qdr,help:efr,titles:tfr,strategy:nfr,defaults:rfr,boolean:ifr,combobox:ofr,dynamicField:sfr,deviceSelector:afr,automationSettings:ufr,toolbar:cfr,shortcuts:lfr,stateTrigger:dfr},hfr={simulatingExecution:"Simulating execution...",showingTraceExecution:"Showing trace execution ({{steps}} steps)"},pfr={simulation:hfr},gfr={title:"Save Automation",titleUpdate:"Update Automation",description:"Save this automation to Home Assistant",descriptionUpdate:"Update this automation in Home Assistant",nameLabel:"Automation Name",descriptionLabel:"Description (Optional)",nameConflict:'Name already exists. Use: "{{suggestedName}}"?'},bfr={title:"Import YAML Automation",description:"Paste your Home Assistant automation YAML below. The automation can be in standard format or state machine format.",placeholder:"alias: My Automation\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"Import Failed",warnings:"Warnings",successLoading:"Successfully imported! Loading flow...",tipLabel:"Tip:",tipText:"If your automation was created with C.A.F.E., node positions will be preserved. Otherwise, nodes will be automatically arranged in a readable layout.",importing:"Importing...",import:"Import",errors:{parseError:"Failed to parse YAML: {{message}}",importError:"Failed to import: {{message}}"}},mfr={title:"Home Assistant Connection",description:"Configure your Home Assistant connection settings.",urlLabel:"Home Assistant URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"The URL of your Home Assistant instance",tokenLabel:"Long-Lived Access Token",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Create one in HA: Profile → Long-Lived Access Tokens",testConnection:"Test Connection",testing:"Testing...",connected:"Connected!",disconnect:"Disconnect",corsNote:"CORS Note",corsDescription:"To connect from a browser, you may need to add CORS headers to your HA config. If you are connecting from https://fezvrasta.github.io/hass-cafe, you need your HA instance to be under HTTPS.",tokenGuideLink:"How to create a Long-Lived Access Token",apiRunning:"API running.",errors:{missingFields:"Please provide both URL and token",unexpectedResponse:"Unexpected API response",invalidToken:"Invalid token - authentication failed",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Cannot connect - check URL and CORS settings",connectionFailed:"Connection failed"}},wfr={title:"Unexpected Error",description:"An unexpected error occurred in the application. Please see the details below.",refreshPrompt:"Please try refreshing the page. If the problem persists, consider reporting the issue on our GitHub repository."},yfr={saveAutomationFirst:"Save the automation first to view traces",noTracesFound:"No automation traces found"},vfr={save:gfr,import:{title:"Open Automation",description:"Select an automation from Home Assistant to edit",descriptionFull:"Open an existing automation or create a new one",searchPlaceholder:"Search automations...",noAutomations:"No automations found",noConnection:"Connect to Home Assistant to load automations",createNew:"Create New",openSingle:"Open",openTogether:"Open together",mergeSelected:"Merge Selected",defaultMergedName:"Merged Automation",mergeSuccess:"Merged {{count}} automations into one workspace.",mergeFailed:"Failed to merge automations: {{message}}",mergeFailedMissingConfig:"Could not load config for {{name}}",mergeFailedInvalidYaml:"Could not parse automation {{name}}",selectAll:"Select all visible",unselectAll:"Clear selection",select:"Select automation",unselect:"Unselect automation",columns:{name:"Name",lastTriggered:"Last Triggered",enabled:"Enabled",action:"Action"},mode:"Mode: {{mode}}",never:"Never",justNow:"Just now",minutesAgo:"{{count}}m ago",hoursAgo:"{{count}}h ago",daysAgo:"{{count}}d ago",disabled:"Disabled",automationEnabled:"Automation enabled successfully.",automationDisabled:"Automation disabled successfully.",updateStateFailed:"Failed to update automation state",importAutomation:"Import automation",openingWarning:"Opening will replace your current automation design",discardTitle:"Discard current flow?",discardDescription:"Your current automation has unsaved changes. Creating or opening a new automation will discard these changes.",confirmDiscard:"Discard & Continue",importSuccess:'Automation "{{name}}" imported successfully!',openedWarning:'Automation "{{name}}" opened!',openedWarningDescription:"Could not fetch configuration automatically. You can now create a new flow with the same name.",importFailed:"Failed to import automation: {{message}}",ID:"ID: {{id}}",otherArea:"Other Area",noArea:"No Area"},importYaml:bfr,settings:mfr,error:wfr,traceViewer:yfr},Efr={failedToCopy:"Failed to copy"},Sfr={emptyAutomation:"Cannot save empty automation. Please add at least one trigger and one action node.",noTrigger:"Automation must have at least one trigger node. Please add a trigger from the node palette.",noAction:"Automation must have at least one action node. Please add an action from the node palette.",validationFailed:"Validation failed: {{errors}}",transpileFailed:"Failed to transpile flow to automation config",noAutomationId:"No automation ID set. Use saveAutomation() for new automations.",node:{duplicateId:"ID already in use — must be unique within the automation"}},Tfr={noConnection:"No Home Assistant connection available",noAuth:"No authentication configured for REST API",authFailed:"Invalid token - authentication failed",corsError:"Cannot connect - check URL and CORS settings",connectionLost:"Connection lost",reconnectFailed:"Reconnection failed",notConnected:"Home Assistant is not connected",noMethod:"No working Home Assistant connection method found",unexpectedResponse:"Unexpected API response",connectionFailed:"Connection failed"},Afr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Failed to create automation: {{message}}",updateFailed:"Failed to update automation: {{message}}",deleteFailed:"Failed to delete automation: {{message}}",importFailed:"Failed to import automation: {{message}}",unknownError:"Unknown error",transpileFailed:"Transpilation failed",loadDeviceTriggersFailed:"Failed to load device triggers:",loadTriggerCapabilitiesFailed:"Failed to load trigger capabilities:"},_fr={addFailed:"Failed to add property"},xfr={nameRequired:"Automation name is required",urlTokenRequired:"Please provide both URL and token"},kfr={staleWarning:"Showing last valid YAML - fix errors to update"},Nfr={common:Efr,validation:Sfr,connection:Tfr,api:Afr,properties:_fr,form:xfr,import:{fileReadFailed:"Failed to import flow. Please check the file format.",parseFailed:"Failed to parse automation configuration"},yaml:kfr},Cfr={trigger:"Trigger",condition:"Condition",action:"Action",stop:"Stop",delay:"Delay",wait:"Wait for",set_variables:"Set Variables",node:"Node"},Ifr={selectNode:"Select a node to edit its properties",properties:"Properties",nodeId:"Node ID: {{id}}",additionalProperties:"Additional Properties",addProperty:"Add Property",propertyName:"Property Name",type:"Type",value:"Value"},Rfr={customProperty:"e.g., my_custom_property",jsonArray:'["item1", "item2"]',number:"123",enterValue:"Enter value",jsonObject:"JSON object",enterType:"Enter {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Ofr={platformLabel:"Platform",platforms:{state:"State Change",numeric_state:"Numeric State",time:"Time",time_pattern:"Time Pattern",sun:"Sun",event:"Event",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Template",homeassistant:"Home Assistant",device:"Device",calendar:"Calendar",geo_location:"Geo Location",tag:"Tag",conversation:"Conversation",persistent_notification:"Persistent Notification"},dataTypes:{string:"Text",number:"Number",boolean:"Boolean",json:"Array (JSON)"},fields:{entityId:"Entity",toState:"To State",fromState:"From State",toStatePlaceholder:"e.g., on, off, home",fromStatePlaceholder:"e.g., off"}},Dfr={conditionLabel:"Condition Type",types:{state:"State",numeric_state:"Numeric State",time:"Time",sun:"Sun",zone:"Zone",template:"Template",device:"Device",trigger:"Trigger",and:"AND (All)",or:"OR (Any)",not:"NOT"},nestedConditions:"Nested Conditions",yes:"Yes",no:"No"},Lfr={serviceLabel:"Service",actionTypeLabel:"Action Type",actionTypes:{service:"Call Service",event:"Fire Event",stop:"Stop execution"},actionLabel:"Action",eventNameLabel:"Event Name",eventNamePlaceholder:"e.g. pico_subscription",selectAction:"Select action...",targetEntities:"Target Entities",selectTargetEntities:"Select target entities...",targetDevices:"Target Devices",targetDevicesDescription:"Device IDs to target",addDeviceId:"Add device ID...",targetAreas:"Target Areas",targetAreasDescription:"Area IDs to target",addAreaId:"Add area ID...",fireEvent:"fire event",stopExecution:"Stop execution",stopError:"Mark as error",stopMessageLabel:"Stop message",stopMessagePlaceholder:"e.g. Condition not met",markAsError:"Mark as error"},Mfr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},Pfr={label:"Duration",description:"Specify duration in hours, minutes, seconds, milliseconds",string:"String",object:"Object",placeholder:"00:00:05.500",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},jfr={label:"Response Variable",optionalDescription:"This action can return a response. Enable to use the response and enter the name of a variable the response will be saved in.",requiredDescription:"This action returns a response. Enter the name of a variable the response will be saved in.",useResponseVariable:"Use Response Variable",placeholder:"e.g. my_response",currentNodeWarning:"'current_node' is reserved for the state-machine strategy. Using this name may cause unexpected behavior."},Ffr={heading:"Service Data"},$fr={empty:"No variables defined. Click the button below to add one.",variableLabel:"Variable {{index}}",name:"Name",namePlaceholder:"variable_name",value:"Value",valueDescription:"Value or Jinja2 template expression",valuePlaceholder:"value or {{ template }}",addVariable:"Add Variable"},Bfr={waitsForNTrigger_one:"Waits for {{count}} trigger",waitsForNTrigger_other:"Waits for {{count}} triggers",timeoutLabel:"Timeout:",waitType:"Wait Type",waitTypeDescription:"Choose what to wait for.",types:{template:"Template",triggers:"Triggers"},waitTemplate:"Wait Template",waitTemplateDescription:"Template condition that must be true to continue",triggersHeading:"Triggers",triggerLabel:"Trigger {{index}}: {{platform}}",triggerPlatformLabel:"Platform",addTrigger:"Add Trigger",timeoutDescription:"Maximum time to wait before continuing. Leave empty to wait indefinitely.",continueOnTimeout:"Continue on Timeout",continueOnTimeoutDescription:"If enabled, the automation continues when timeout expires. If disabled, the automation stops."},Ufr={searchPlaceholder:"Search nodes…"},Hfr={types:Cfr,panel:Ifr,placeholders:Rfr,triggers:Ofr,conditions:Dfr,actions:Lfr,variables:Mfr,durationField:Pfr,responseVariableField:jfr,serviceDataFields:Ffr,setVariablesFields:$fr,wait:Bfr,quickAdd:Ufr},zfr={noConditions:"No conditions added yet",addCondition:"Add Condition"},Gfr={conditionGroupEditor:zfr},qfr={heading:"Trace Simulator",conditionOverrides:"Condition Outcomes (for simulation)",random:"Random",true:"True",false:"False",executionPath:"Execution Path"},Vfr={trace:qfr},Wfr={common:ffr,debug:pfr,dialogs:vfr,errors:Nfr,nodes:Hfr,panels:Gfr,simulator:Vfr},Kfr={save:"Enregistrer",saveAsCopy:"Enregistrer comme copie",cancel:"Annuler",close:"Fermer",delete:"Supprimer",update:"Mettre à jour",refresh:"Actualiser",copy:"Copier",use:"Utiliser",add:"Ajouter",addTrigger:"Ajouter un déclencheur",openAutomation:"Ouvrir l'automatisation",newAutomation:"Nouvelle automatisation",importJson:"Importer depuis JSON",importYaml:"Importer depuis YAML",testConnection:"Tester la connexion",disconnect:"Déconnecter"},Yfr={automationName:"Nom de l'automatisation",properties:"Propriétés",yaml:"YAML",debug:"Débogage",enabled:"Activé",alias:"Alias (Nom d'affichage)",id:"ID",strategy:"Stratégie",speed:"Vitesse",quickHelp:"Aide rapide",debugControls:"Contrôles de débogage",addNode:"Ajouter un nœud",yamlOutput:"Sortie YAML",automationTrace:"Trace d'automatisation",selectTraceRun:"Sélectionner l'exécution de trace :",traceDetails:"Détails de la trace :",trigger:"Déclencheur :",duration:"Durée :",lastStep:"Dernière étape :",executionPath:"Chemin d'exécution :",notApplicable:"N/A",device:"Appareil",triggerType:"Type de déclencheur",entityId:"ID d'entité",warning:"Avertissement",requiredAsterisk:"*",automations:"Automatisations",nodes:"Nœuds",areas:"Zones",zones:"Zones de présence",unassigned:"Non assigné",workspaceSources:"Sources fusionnées"},Jfr={connecting:"Connexion en cours...",connected:"Connecté",connectedTo:"Connecté à {{hostname}}",connectionError:"Erreur de connexion",saving:"Enregistrement...",updating:"Mise à jour...",testing:"Test en cours...",loadingTraces:"Chargement des traces...",loadingTriggers:"Chargement des déclencheurs..."},Xfr={automationName:"Nom de l'automatisation",optionalDisplayName:"Nom d'affichage optionnel",optionalUniqueId:"ID unique optionnel",enterAutomationName:"Entrer le nom de l'automatisation...",describeAutomation:"Décrivez ce que fait cette automatisation...",searchAutomations:"Rechercher des automatisations...",selectTrace:"Sélectionner une trace...",addNodesForYaml:"# Ajoutez des nœuds pour voir la sortie YAML",selectDevice:"Sélectionner un appareil...",selectTriggerType:"Sélectionner le type de déclencheur...",selectEntity:"Sélectionner une entité...",selectEntities:"Sélectionner des entités...",duration:"00:05:00",enterTemplate:"Entrer un modèle Jinja2...",jsonExample:'{ "clé": "valeur" }',none:"Aucun"},Zfr={clickNodesToAdd:"Cliquez sur les nœuds pour les ajouter",dragToConnect:"Glissez pour connecter",deleteToRemove:"Supprimez pour retirer",backspaceDeleteKey:"Touche Retour arrière/Suppr"},Qfr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Paramètres",updateAutomation:"Mettre à jour l'automatisation dans Home Assistant",saveAutomation:"Enregistrer l'automatisation dans Home Assistant",clearAutomation:"Effacer l'automatisation actuelle",exportJson:"Exporter le flux en JSON",clickToConfigure:"Cliquez pour configurer la connexion Home Assistant",openDetached:"Ouvrir une fenêtre détachée",removeSource:"Retirer la source de l'espace fusionné",backToHA:"Retour à Home Assistant"},ehr={auto:"Auto",native:"Natif",stateMachine:"Machine à états"},thr={newAutomation:"Nouvelle automatisation"},nhr={true:"Vrai",false:"Faux"},rhr={select:"Sélectionner...",noOptions:"Aucune option trouvée."},ihr={enabled:"Activé",disabled:"Désactivé",selectItems:"Sélectionner des éléments...",itemsSelected:"{{count}} éléments sélectionnés",selectEntities:"Sélectionner des entités...",selectEntity:"Sélectionner l'entité...",selectZone:"Sélectionner la zone...",formatHMS:"Format: HH:MM:SS",enterValue:"Entrer {{name}}..."},ohr={enterId:"Entrer l'ID de l'appareil manuellement",noDevices:"Aucun appareil trouvé. Entrez l'ID de l'appareil manuellement ou vérifiez votre connexion Home Assistant."},shr={runAction:"Exécuter l'action",cut:"Couper",copy:"Copier",paste:"Coller",duplicate:"Dupliquer",toggleEnabled:"Basculer Activé/Désactivé",enable:"Activer",disable:"Désactiver",disconnect:"Déconnecter",alignLeft:"Aligner à gauche",alignCenter:"Aligner au centre",alignRight:"Aligner à droite",alignTop:"Aligner en haut",alignBottom:"Aligner en bas",deleteNode:"Supprimer le nœud",duplicateNode:"Dupliquer le nœud",selectAll:"Tout sélectionner",undo:"Annuler",redo:"Rétablir"},ahr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maj",alt:"Alt",arrowUp:"Flèche vers le haut",arrowDown:"Flèche vers le bas",arrowLeft:"Flèche vers la gauche",arrowRight:"Flèche vers la droite"},uhr={useValue:"Utiliser la valeur"},chr={buttons:Kfr,labels:Yfr,status:Jfr,placeholders:Xfr,help:Zfr,titles:Qfr,strategy:ehr,defaults:thr,boolean:nhr,combobox:rhr,dynamicField:ihr,deviceSelector:ohr,toolbar:shr,shortcuts:ahr,stateTrigger:uhr},lhr={simulatingExecution:"Simulation de l'exécution...",showingTraceExecution:"Affichage de l'exécution de la trace ({{steps}} étapes)"},dhr={simulation:lhr},fhr={title:"Enregistrer l'automatisation",titleUpdate:"Mettre à jour l'automatisation",description:"Enregistrer cette automatisation dans Home Assistant",descriptionUpdate:"Mettre à jour cette automatisation dans Home Assistant",nameLabel:"Nom de l'automatisation",descriptionLabel:"Description (Optionnel)",nameConflict:'Le nom existe déjà. Utiliser : "{{suggestedName}}" ?'},hhr={title:"Importer l'automatisation YAML",description:"Collez votre YAML d'automatisation Home Assistant ci-dessous. L'automatisation peut être au format standard ou au format machine à états.",placeholder:"alias: Mon Automatisation\\ntriggers:\\n - trigger: state\\n entity_id: sensor.exemple",importFailed:"Échec de l'importation",warnings:"Avertissements",successLoading:"Importé avec succès ! Chargement du flux...",tipLabel:"Conseil :",tipText:"Si votre automatisation a été créée avec C.A.F.E., les positions des nœuds seront préservées. Sinon, les nœuds seront automatiquement arrangés dans une disposition lisible.",importing:"Importation...",import:"Importer",errors:{parseError:"Échec de l'analyse YAML : {{message}}",importError:"Échec de l'importation : {{message}}"}},phr={title:"Connexion Home Assistant",description:"Configurez vos paramètres de connexion Home Assistant.",urlLabel:"URL Home Assistant",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"L'URL de votre instance Home Assistant",tokenLabel:"Jeton d'accès longue durée",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Créez-en un dans HA : Profil → Jetons d'accès longue durée",testConnection:"Tester la connexion",testing:"Test en cours...",connected:"Connecté !",disconnect:"Déconnecter",corsNote:"Note CORS",corsDescription:"Pour vous connecter depuis un navigateur, vous devrez peut-être ajouter des en-têtes CORS à votre configuration HA. Si vous vous connectez depuis https://fezvrasta.github.io/hass-cafe, votre instance HA doit être sous HTTPS.",tokenGuideLink:"Comment créer un jeton d'accès longue durée",apiRunning:"API en cours d'exécution.",errors:{missingFields:"Veuillez fournir l'URL et le jeton",unexpectedResponse:"Réponse API inattendue",invalidToken:"Jeton invalide - authentification échouée",httpError:"HTTP {{status}} : {{statusText}}",corsError:"Impossible de se connecter - vérifiez l'URL et les paramètres CORS",connectionFailed:"Connexion échouée"}},ghr={title:"Erreur inattendue",description:"Une erreur inattendue s'est produite dans l'application. Veuillez voir les détails ci-dessous.",refreshPrompt:"Veuillez essayer d'actualiser la page. Si le problème persiste, envisagez de signaler le problème sur notre dépôt GitHub."},bhr={saveAutomationFirst:"Enregistrez d'abord l'automatisation pour voir les traces",noTracesFound:"Aucune trace d'automatisation trouvée"},mhr={save:fhr,import:{title:"Ouvrir l'automatisation",description:"Sélectionner une automatisation de Home Assistant à modifier",descriptionFull:"Ouvrir une automatisation existante ou en créer une nouvelle",searchPlaceholder:"Rechercher des automatisations...",noAutomations:"Aucune automatisation trouvée",noConnection:"Connectez-vous à Home Assistant pour charger les automatisations",createNew:"Créer nouveau",openSingle:"Ouvrir",openTogether:"Ouvrir ensemble",mergeSelected:"Fusionner la sélection",defaultMergedName:"Automatisation fusionnée",mergeSuccess:"{{count}} automatisations fusionnées dans un seul workspace.",mergeFailed:"Échec de la fusion des automatisations : {{message}}",mergeFailedMissingConfig:"Impossible de charger la configuration de {{name}}",mergeFailedInvalidYaml:"Impossible d'analyser l'automatisation {{name}}",selectAll:"Tout sélectionner",unselectAll:"Effacer la sélection",select:"Sélectionner l'automatisation",unselect:"Désélectionner l'automatisation",columns:{name:"Nom",lastTriggered:"Dernier déclenchement",enabled:"Activé",action:"Action"},mode:"Mode : {{mode}}",never:"Jamais",justNow:"À l'instant",minutesAgo:"Il y a {{count}}m",hoursAgo:"Il y a {{count}}h",daysAgo:"Il y a {{count}}j",disabled:"Désactivé",automationEnabled:"Automatisation activée avec succès.",automationDisabled:"Automatisation désactivée avec succès.",updateStateFailed:"Échec de la mise à jour de l'état de l'automatisation",importAutomation:"Importer l'automatisation",openingWarning:"L'ouverture remplacera votre conception d'automatisation actuelle",discardTitle:"Abandonner le flux actuel ?",discardDescription:"Votre automatisation actuelle a des modifications non enregistrées. Créer ou ouvrir une nouvelle automatisation abandonnera ces modifications.",confirmDiscard:"Abandonner et continuer",importSuccess:'Automatisation "{{name}}" importée avec succès !',openedWarning:'Automatisation "{{name}}" ouverte !',openedWarningDescription:"Impossible de récupérer la configuration automatiquement. Vous pouvez maintenant créer un nouveau flux avec le même nom.",importFailed:"Échec de l'importation de l'automatisation : {{message}}",ID:"ID : {{id}}",otherArea:"Autre zone",noArea:"Aucune zone"},importYaml:hhr,settings:phr,error:ghr,traceViewer:bhr},whr={failedToCopy:"Échec de la copie"},yhr={emptyAutomation:"Impossible d'enregistrer une automatisation vide. Veuillez ajouter au moins un déclencheur et un nœud d'action.",noTrigger:"L'automatisation doit avoir au moins un nœud déclencheur. Veuillez ajouter un déclencheur depuis la palette de nœuds.",noAction:"L'automatisation doit avoir au moins un nœud d'action. Veuillez ajouter une action depuis la palette de nœuds.",validationFailed:"Validation échouée : {{errors}}",transpileFailed:"Échec de la transpilation du flux en configuration d'automatisation",noAutomationId:"Aucun ID d'automatisation défini. Utilisez saveAutomation() pour les nouvelles automatisations.",node:{duplicateId:"ID déjà utilisé — doit être unique dans l'automatisation"}},vhr={noConnection:"Aucune connexion Home Assistant disponible",noAuth:"Aucune authentification configurée pour l'API REST",authFailed:"Jeton invalide - authentification échouée",corsError:"Impossible de se connecter - vérifiez l'URL et les paramètres CORS",connectionLost:"Connexion perdue",reconnectFailed:"Reconnexion échouée",notConnected:"Home Assistant n'est pas connecté",noMethod:"Aucune méthode de connexion Home Assistant fonctionnelle trouvée",unexpectedResponse:"Réponse API inattendue",connectionFailed:"Connexion échouée"},Ehr={httpError:"HTTP {{status}} : {{statusText}}",createFailed:"Échec de la création de l'automatisation : {{message}}",updateFailed:"Échec de la mise à jour de l'automatisation : {{message}}",deleteFailed:"Échec de la suppression de l'automatisation : {{message}}",importFailed:"Échec de l'importation de l'automatisation : {{message}}",unknownError:"Erreur inconnue",transpileFailed:"Échec de la transpilation",loadDeviceTriggersFailed:"Échec du chargement des déclencheurs d'appareil :",loadTriggerCapabilitiesFailed:"Échec du chargement des capacités du déclencheur :"},Shr={addFailed:"Échec de l'ajout de la propriété"},Thr={nameRequired:"Le nom de l'automatisation est requis",urlTokenRequired:"Veuillez fournir l'URL et le jeton"},Ahr={staleWarning:"Affichage du dernier YAML valide - corrigez les erreurs pour mettre à jour"},_hr={common:whr,validation:yhr,connection:vhr,api:Ehr,properties:Shr,form:Thr,import:{fileReadFailed:"Échec de l'importation du flux. Veuillez vérifier le format du fichier.",parseFailed:"Échec de l'analyse de la configuration de l'automatisation"},yaml:Ahr},xhr={trigger:"Déclencheur",condition:"Condition",action:"Action",delay:"Délai",wait:"Attendre",set_variables:"Définir les variables",node:"Nœud",stop:"Arrêt"},khr={selectNode:"Sélectionnez un nœud pour modifier ses propriétés",properties:"Propriétés",nodeId:"ID du nœud : {{id}}",additionalProperties:"Propriétés supplémentaires",addProperty:"Ajouter une propriété",propertyName:"Nom de la propriété",type:"Type",value:"Valeur"},Nhr={customProperty:"ex. ma_propriete_personnalisee",jsonArray:'["element1", "element2"]',number:"123",enterValue:"Entrer la valeur",jsonObject:"Objet JSON",enterType:"Entrer {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Chr={platformLabel:"Plateforme",platforms:{state:"Changement d'état",numeric_state:"État numérique",time:"Heure",time_pattern:"Modèle horaire",sun:"Soleil",event:"Événement",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Modèle",homeassistant:"Home Assistant",device:"Appareil",calendar:"Calendrier",geo_location:"Géolocalisation",tag:"Tag",conversation:"Conversation",persistent_notification:"Notification persistante"},dataTypes:{string:"Texte",number:"Nombre",boolean:"Booléen",json:"Tableau (JSON)"},fields:{entityId:"Entité",toState:"Vers l'état",fromState:"De l'état",toStatePlaceholder:"ex. on, off, home",fromStatePlaceholder:"ex. off"}},Ihr={conditionLabel:"Type de condition",types:{state:"État",numeric_state:"État numérique",time:"Heure",sun:"Soleil",zone:"Zone",template:"Modèle",device:"Appareil",trigger:"Déclencheur",and:"ET (Tous)",or:"OU (N'importe lequel)",not:"NON"},nestedConditions:"Conditions imbriquées",yes:"Oui",no:"Non"},Rhr={serviceLabel:"Service"},Ohr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},Dhr={label:"Durée",description:"Spécifiez la durée en heures, minutes, secondes, millisecondes",string:"Chaîne",object:"Objet",placeholder:"00:00:05.500",hours:"Heures",minutes:"Minutes",seconds:"Secondes",milliseconds:"Millisecondes"},Lhr={label:"Variable de réponse",optionalDescription:"Cette action peut retourner une réponse. Activez pour utiliser la réponse et entrez le nom de la variable où elle sera enregistrée.",requiredDescription:"Cette action retourne une réponse. Entrez le nom de la variable où elle sera enregistrée.",useResponseVariable:"Utiliser la variable de réponse",placeholder:"ex. ma_reponse",currentNodeWarning:"'current_node' est réservé pour la stratégie machine à états. Utiliser ce nom peut causer un comportement inattendu."},Mhr={heading:"Données du service"},Phr={empty:"Aucune variable définie. Cliquez sur le bouton ci-dessous pour en ajouter une.",variableLabel:"Variable {{index}}",name:"Nom",namePlaceholder:"nom_variable",value:"Valeur",valueDescription:"Valeur ou expression de modèle Jinja2",valuePlaceholder:"valeur ou {{ modele }}",addVariable:"Ajouter une variable"},jhr={waitsForNTrigger_one:"Attend {{count}} déclencheur",waitsForNTrigger_other:"Attend {{count}} déclencheurs",timeoutLabel:"Délai d'attente :",waitType:"Type d'attente",waitTypeDescription:"Choisissez ce qu'il faut attendre.",types:{template:"Modèle",triggers:"Déclencheurs"},waitTemplate:"Modèle d'attente",waitTemplateDescription:"Condition de modèle qui doit être vraie pour continuer",triggersHeading:"Déclencheurs",triggerLabel:"Déclencheur {{index}} : {{platform}}",triggerPlatformLabel:"Plateforme",addTrigger:"Ajouter un déclencheur",timeoutDescription:"Temps maximum d'attente avant de continuer. Laissez vide pour attendre indéfiniment.",continueOnTimeout:"Continuer à l'expiration",continueOnTimeoutDescription:"Si activé, l'automatisation continue quand le délai expire. Si désactivé, l'automatisation s'arrête."},Fhr={searchPlaceholder:"Rechercher des nœuds…"},$hr={types:xhr,panel:khr,placeholders:Nhr,triggers:Chr,conditions:Ihr,actions:Rhr,variables:Ohr,durationField:Dhr,responseVariableField:Lhr,serviceDataFields:Mhr,setVariablesFields:Phr,wait:jhr,quickAdd:Fhr},Bhr={noConditions:"Aucune condition ajoutée",addCondition:"Ajouter une condition"},Uhr={conditionGroupEditor:Bhr},Hhr={heading:"Simulateur de trace",conditionOverrides:"Résultats des conditions (pour simulation)",random:"Aléatoire",true:"Vrai",false:"Faux",executionPath:"Chemin d'exécution"},zhr={trace:Hhr},Ghr={common:chr,debug:dhr,dialogs:mhr,errors:_hr,nodes:$hr,panels:Uhr,simulator:zhr},qhr={save:"Salva",saveAsCopy:"Salva come copia",cancel:"Annulla",close:"Chiudi",delete:"Elimina",update:"Aggiorna",refresh:"Aggiorna",copy:"Copia",use:"Usa",add:"Aggiungi",addTrigger:"Aggiungi Trigger",openAutomation:"Apri Automazione",newAutomation:"Nuova Automazione",importJson:"Importa da JSON",importYaml:"Importa da YAML",testConnection:"Testa Connessione",disconnect:"Disconnetti"},Vhr={automationName:"Nome automazione",properties:"Proprietà",yaml:"YAML",debug:"Debug",enabled:"Abilitato",alias:"Alias (Nome visualizzato)",id:"ID",strategy:"Strategia",speed:"Velocità",quickHelp:"Guida rapida",debugControls:"Controlli Debug",addNode:"Aggiungi Nodo",yamlOutput:"Output YAML",automationTrace:"Traccia Automazione",selectTraceRun:"Seleziona Esecuzione Traccia:",traceDetails:"Dettagli Traccia:",trigger:"Trigger:",duration:"Durata:",lastStep:"Ultimo Step:",executionPath:"Percorso Esecuzione:",notApplicable:"N/D",device:"Dispositivo",triggerType:"Tipo Trigger",entityId:"ID Entità",warning:"Attenzione",requiredAsterisk:"*",automations:"Automazioni",nodes:"Nodi",areas:"Aree",zones:"Zone",unassigned:"Non assegnate",workspaceSources:"Sorgenti unite"},Whr={connecting:"Connessione in corso...",connected:"Connesso",connectedTo:"Connesso a {{hostname}}",connectionError:"Errore di Connessione",saving:"Salvataggio...",updating:"Aggiornamento...",testing:"Test in corso...",loadingTraces:"Caricamento tracce...",loadingTriggers:"Caricamento trigger..."},Khr={automationName:"Nome automazione",optionalDisplayName:"Nome visualizzato opzionale",optionalUniqueId:"ID univoco opzionale",enterAutomationName:"Inserisci nome automazione...",describeAutomation:"Descrivi cosa fa questa automazione...",searchAutomations:"Cerca automazioni...",selectTrace:"Seleziona una traccia...",addNodesForYaml:"# Aggiungi nodi per vedere l'output YAML",selectDevice:"Seleziona dispositivo...",selectTriggerType:"Seleziona tipo trigger...",selectEntity:"Seleziona entità...",selectEntities:"Seleziona entità...",duration:"00:05:00",enterTemplate:"Inserisci template Jinja2...",jsonExample:'{ "chiave": "valore" }',none:"Nessuno"},Yhr={clickNodesToAdd:"Clicca sui nodi per aggiungerli",dragToConnect:"Trascina per connettere",deleteToRemove:"Elimina per rimuovere",backspaceDeleteKey:"Tasto Backspace/Canc"},Jhr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Impostazioni",updateAutomation:"Aggiorna automazione in Home Assistant",saveAutomation:"Salva automazione in Home Assistant",clearAutomation:"Azzera automazione corrente",exportJson:"Esporta flow come JSON",clickToConfigure:"Clicca per configurare la connessione a Home Assistant",openDetached:"Apri finestra separata",removeSource:"Rimuovi sorgente dal workspace unito",backToHA:"Torna a Home Assistant"},Xhr={auto:"Auto",native:"Nativo",stateMachine:"Macchina a Stati"},Zhr={newAutomation:"Nuova Automazione"},Qhr={true:"Vero",false:"Falso"},epr={select:"Seleziona...",noOptions:"Nessuna opzione trovata."},tpr={enabled:"Abilitato",disabled:"Disabilitato",selectItems:"Seleziona elementi...",itemsSelected:"{{count}} elementi selezionati",selectEntities:"Seleziona entità...",selectEntity:"Seleziona entità...",selectZone:"Seleziona zona...",formatHMS:"Formato: HH:MM:SS",enterValue:"Inserisci {{name}}..."},npr={enterId:"Inserisci ID dispositivo manualmente",noDevices:"Nessun dispositivo trovato. Inserisci l'ID dispositivo manualmente o verifica la connessione a Home Assistant."},rpr={runAction:"Esegui azione",cut:"Taglia",copy:"Copia",paste:"Incolla",duplicate:"Duplica",toggleEnabled:"Attiva/Disattiva",enable:"Attiva",disable:"Disattiva",disconnect:"Disconnetti",alignLeft:"Allinea a sinistra",alignCenter:"Allinea al centro",alignRight:"Allinea a destra",alignTop:"Allinea in alto",alignBottom:"Allinea in basso",deleteNode:"Elimina Nodo",duplicateNode:"Duplica Nodo",selectAll:"Seleziona Tutto",undo:"Annulla",redo:"Ripristina"},ipr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maiusc",alt:"Alt",arrowUp:"Freccia su",arrowDown:"Freccia giù",arrowLeft:"Freccia sinistra",arrowRight:"Freccia destra"},opr={useValue:"Usa valore"},spr={buttons:qhr,labels:Vhr,status:Whr,placeholders:Khr,help:Yhr,titles:Jhr,strategy:Xhr,defaults:Zhr,boolean:Qhr,combobox:epr,dynamicField:tpr,deviceSelector:npr,toolbar:rpr,shortcuts:ipr,stateTrigger:opr},apr={simulatingExecution:"Simulazione esecuzione...",showingTraceExecution:"Mostrando esecuzione traccia ({{steps}} passi)"},upr={simulation:apr},cpr={title:"Salva Automazione",titleUpdate:"Aggiorna Automazione",description:"Salva questa automazione in Home Assistant",descriptionUpdate:"Aggiorna questa automazione in Home Assistant",nameLabel:"Nome Automazione",descriptionLabel:"Descrizione (Opzionale)",nameConflict:'Il nome esiste già. Usare: "{{suggestedName}}"?'},lpr={title:"Importa Automazione YAML",description:"Incolla il tuo YAML di automazione Home Assistant qui sotto. L'automazione può essere in formato standard o formato macchina a stati.",placeholder:"alias: La Mia Automazione\\ntriggers:\\n - trigger: state\\n entity_id: sensor.esempio",importFailed:"Importazione Fallita",warnings:"Avvisi",successLoading:"Importato con successo! Caricamento flow...",tipLabel:"Suggerimento:",tipText:"Se l'automazione è stata creata con C.A.F.E., le posizioni dei nodi saranno preservate. Altrimenti, i nodi saranno disposti automaticamente in un layout leggibile.",importing:"Importazione...",import:"Importa",errors:{parseError:"Impossibile analizzare YAML: {{message}}",importError:"Impossibile importare: {{message}}"}},dpr={title:"Connessione Home Assistant",description:"Configura le impostazioni di connessione a Home Assistant.",urlLabel:"URL Home Assistant",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"L'URL della tua istanza Home Assistant",tokenLabel:"Token di Accesso a Lunga Durata",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Creane uno in HA: Profilo → Token di Accesso a Lunga Durata",testConnection:"Testa Connessione",testing:"Test in corso...",connected:"Connesso!",disconnect:"Disconnetti",corsNote:"Nota CORS",corsDescription:"Per connetterti da un browser, potrebbe essere necessario aggiungere gli header CORS alla tua configurazione HA. Se ti connetti da https://fezvrasta.github.io/hass-cafe, la tua istanza HA deve essere sotto HTTPS.",tokenGuideLink:"Come creare un Token di Accesso a Lunga Durata",apiRunning:"API in esecuzione.",errors:{missingFields:"Fornisci sia URL che token",unexpectedResponse:"Risposta API inattesa",invalidToken:"Token non valido - autenticazione fallita",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Impossibile connettersi - verifica URL e impostazioni CORS",connectionFailed:"Connessione fallita"}},fpr={title:"Errore Inatteso",description:"Si è verificato un errore inatteso nell'applicazione. Vedi i dettagli qui sotto.",refreshPrompt:"Prova ad aggiornare la pagina. Se il problema persiste, considera di segnalare il problema sul nostro repository GitHub."},hpr={saveAutomationFirst:"Salva prima l'automazione per visualizzare le tracce",noTracesFound:"Nessuna traccia di automazione trovata"},ppr={save:cpr,import:{title:"Apri Automazione",description:"Seleziona un'automazione da Home Assistant da modificare",descriptionFull:"Apri un'automazione esistente o creane una nuova",searchPlaceholder:"Cerca automazioni...",noAutomations:"Nessuna automazione trovata",noConnection:"Connettiti a Home Assistant per caricare le automazioni",createNew:"Crea Nuova",openSingle:"Apri",openTogether:"Apri insieme",mergeSelected:"Unisci selezionate",defaultMergedName:"Automazione unita",mergeSuccess:"Unite {{count}} automazioni in un solo workspace.",mergeFailed:"Impossibile unire le automazioni: {{message}}",mergeFailedMissingConfig:"Impossibile caricare la configurazione di {{name}}",mergeFailedInvalidYaml:"Impossibile analizzare l'automazione {{name}}",selectAll:"Seleziona tutte",unselectAll:"Deseleziona tutto",select:"Seleziona automazione",unselect:"Deseleziona automazione",columns:{name:"Nome",lastTriggered:"Ultimo Trigger",enabled:"Abilitato",action:"Azione"},mode:"Modalità: {{mode}}",never:"Mai",justNow:"Adesso",minutesAgo:"{{count}}m fa",hoursAgo:"{{count}}h fa",daysAgo:"{{count}}g fa",disabled:"Disabilitato",automationEnabled:"Automazione abilitata con successo.",automationDisabled:"Automazione disabilitata con successo.",updateStateFailed:"Impossibile aggiornare lo stato dell'automazione",importAutomation:"Importa automazione",openingWarning:"L'apertura sostituirà il design dell'automazione corrente",discardTitle:"Scartare il flow corrente?",discardDescription:"L'automazione corrente ha modifiche non salvate. Creare o aprire una nuova automazione scarterà queste modifiche.",confirmDiscard:"Scarta e Continua",importSuccess:'Automazione "{{name}}" importata con successo!',openedWarning:'Automazione "{{name}}" aperta!',openedWarningDescription:"Impossibile recuperare la configurazione automaticamente. Ora puoi creare un nuovo flow con lo stesso nome.",importFailed:"Impossibile importare l'automazione: {{message}}",ID:"ID: {{id}}",otherArea:"Altra Area",noArea:"Nessuna Area"},importYaml:lpr,settings:dpr,error:fpr,traceViewer:hpr},gpr={failedToCopy:"Copia fallita"},bpr={emptyAutomation:"Impossibile salvare un'automazione vuota. Aggiungi almeno un trigger e un nodo azione.",noTrigger:"L'automazione deve avere almeno un nodo trigger. Aggiungi un trigger dalla palette dei nodi.",noAction:"L'automazione deve avere almeno un nodo azione. Aggiungi un'azione dalla palette dei nodi.",validationFailed:"Validazione fallita: {{errors}}",transpileFailed:"Impossibile transpilare il flow in configurazione automazione",noAutomationId:"Nessun ID automazione impostato. Usa saveAutomation() per nuove automazioni.",node:{duplicateId:"ID già in uso — deve essere univoco nell'automazione"}},mpr={noConnection:"Nessuna connessione Home Assistant disponibile",noAuth:"Nessuna autenticazione configurata per l'API REST",authFailed:"Token non valido - autenticazione fallita",corsError:"Impossibile connettersi - verifica URL e impostazioni CORS",connectionLost:"Connessione persa",reconnectFailed:"Riconnessione fallita",notConnected:"Home Assistant non è connesso",noMethod:"Nessun metodo di connessione Home Assistant funzionante trovato",unexpectedResponse:"Risposta API inattesa",connectionFailed:"Connessione fallita"},wpr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Impossibile creare l'automazione: {{message}}",updateFailed:"Impossibile aggiornare l'automazione: {{message}}",deleteFailed:"Impossibile eliminare l'automazione: {{message}}",importFailed:"Impossibile importare l'automazione: {{message}}",unknownError:"Errore sconosciuto",transpileFailed:"Transpilazione fallita",loadDeviceTriggersFailed:"Impossibile caricare i trigger del dispositivo:",loadTriggerCapabilitiesFailed:"Impossibile caricare le capacità del trigger:"},ypr={addFailed:"Impossibile aggiungere la proprietà"},vpr={nameRequired:"Il nome dell'automazione è obbligatorio",urlTokenRequired:"Fornisci sia URL che token"},Epr={staleWarning:"Mostrando l'ultimo YAML valido - correggi gli errori per aggiornare"},Spr={common:gpr,validation:bpr,connection:mpr,api:wpr,properties:ypr,form:vpr,import:{fileReadFailed:"Impossibile importare il flow. Verifica il formato del file.",parseFailed:"Impossibile analizzare la configurazione dell'automazione"},yaml:Epr},Tpr={trigger:"Trigger",condition:"Condizione",action:"Azione",delay:"Ritardo",wait:"Attendi",set_variables:"Imposta Variabili",node:"Nodo",stop:"Stop"},Apr={selectNode:"Seleziona un nodo per modificarne le proprietà",properties:"Proprietà",nodeId:"ID Nodo: {{id}}",additionalProperties:"Proprietà Aggiuntive",addProperty:"Aggiungi Proprietà",propertyName:"Nome Proprietà",type:"Tipo",value:"Valore"},_pr={customProperty:"es. mia_proprieta_custom",jsonArray:'["elemento1", "elemento2"]',number:"123",enterValue:"Inserisci valore",jsonObject:"Oggetto JSON",enterType:"Inserisci {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},xpr={platformLabel:"Piattaforma",platforms:{state:"Cambio Stato",numeric_state:"Stato Numerico",time:"Orario",time_pattern:"Pattern Orario",sun:"Sole",event:"Evento",mqtt:"MQTT",webhook:"Webhook",zone:"Zona",template:"Template",homeassistant:"Home Assistant",device:"Dispositivo",calendar:"Calendario",geo_location:"Geo Localizzazione",tag:"Tag",conversation:"Conversazione",persistent_notification:"Notifica Persistente"},dataTypes:{string:"Testo",number:"Numero",boolean:"Booleano",json:"Array (JSON)"},fields:{entityId:"Entità",toState:"Verso lo stato",fromState:"Dallo stato",toStatePlaceholder:"es. on, off, home",fromStatePlaceholder:"es. off"}},kpr={conditionLabel:"Tipo Condizione",types:{state:"Stato",numeric_state:"Stato Numerico",time:"Orario",sun:"Sole",zone:"Zona",template:"Template",device:"Dispositivo",trigger:"Trigger",and:"AND (Tutti)",or:"OR (Qualsiasi)",not:"NOT"},nestedConditions:"Condizioni Annidate",yes:"Sì",no:"No"},Npr={serviceLabel:"Servizio"},Cpr={variableCount_one:"{{count}} variabile",variableCount_other:"{{count}} variabili"},Ipr={label:"Durata",description:"Specifica la durata in ore, minuti, secondi, millisecondi",string:"Stringa",object:"Oggetto",placeholder:"00:00:05.500",hours:"Ore",minutes:"Minuti",seconds:"Secondi",milliseconds:"Millisecondi"},Rpr={label:"Variabile Risposta",optionalDescription:"Questa azione può restituire una risposta. Abilita per usare la risposta e inserisci il nome della variabile in cui verrà salvata.",requiredDescription:"Questa azione restituisce una risposta. Inserisci il nome della variabile in cui verrà salvata.",useResponseVariable:"Usa Variabile Risposta",placeholder:"es. mia_risposta",currentNodeWarning:"'current_node' è riservato per la strategia macchina a stati. Usare questo nome potrebbe causare comportamenti imprevisti."},Opr={heading:"Dati Servizio"},Dpr={empty:"Nessuna variabile definita. Clicca il pulsante qui sotto per aggiungerne una.",variableLabel:"Variabile {{index}}",name:"Nome",namePlaceholder:"nome_variabile",value:"Valore",valueDescription:"Valore o espressione template Jinja2",valuePlaceholder:"valore o {{ template }}",addVariable:"Aggiungi Variabile"},Lpr={waitsForNTrigger_one:"Attende {{count}} trigger",waitsForNTrigger_other:"Attende {{count}} trigger",timeoutLabel:"Timeout:",waitType:"Tipo Attesa",waitTypeDescription:"Scegli cosa attendere.",types:{template:"Template",triggers:"Trigger"},waitTemplate:"Template Attesa",waitTemplateDescription:"Condizione template che deve essere vera per continuare",triggersHeading:"Trigger",triggerLabel:"Trigger {{index}}: {{platform}}",triggerPlatformLabel:"Piattaforma",addTrigger:"Aggiungi Trigger",timeoutDescription:"Tempo massimo di attesa prima di continuare. Lascia vuoto per attendere indefinitamente.",continueOnTimeout:"Continua al Timeout",continueOnTimeoutDescription:"Se abilitato, l'automazione continua quando scade il timeout. Se disabilitato, l'automazione si ferma."},Mpr={searchPlaceholder:"Cerca nodi…"},Ppr={types:Tpr,panel:Apr,placeholders:_pr,triggers:xpr,conditions:kpr,actions:Npr,variables:Cpr,durationField:Ipr,responseVariableField:Rpr,serviceDataFields:Opr,setVariablesFields:Dpr,wait:Lpr,quickAdd:Mpr},jpr={noConditions:"Nessuna condizione aggiunta",addCondition:"Aggiungi Condizione"},Fpr={conditionGroupEditor:jpr},$pr={heading:"Simulatore Traccia",conditionOverrides:"Esiti Condizioni (per simulazione)",random:"Casuale",true:"Vero",false:"Falso",executionPath:"Percorso Esecuzione"},Bpr={trace:$pr},Upr={common:spr,debug:upr,dialogs:ppr,errors:Spr,nodes:Ppr,panels:Fpr,simulator:Bpr},Hpr={save:"保存",saveAsCopy:"另存为副本",cancel:"取消",close:"关闭",delete:"删除",update:"更新",refresh:"刷新",copy:"复制",use:"使用",add:"添加",addTrigger:"添加触发器",openAutomation:"打开自动化",newAutomation:"新建自动化",importJson:"从JSON导入",importYaml:"从YAML导入",testConnection:"测试连接",disconnect:"断开连接"},zpr={automationName:"自动化名称",properties:"属性",yaml:"YAML",debug:"调试",enabled:"已启用",alias:"别名(显示名称)",id:"ID",strategy:"策略",speed:"速度",quickHelp:"快速帮助",debugControls:"调试控制",addNode:"添加节点",yamlOutput:"YAML输出",automationTrace:"自动化追踪",selectTraceRun:"选择追踪运行:",traceDetails:"追踪详情:",trigger:"触发器:",duration:"持续时间:",lastStep:"最后步骤:",executionPath:"执行路径:",notApplicable:"不适用",device:"设备",triggerType:"触发器类型",entityId:"实体ID",warning:"警告",requiredAsterisk:"*",automations:"自动化",nodes:"节点",areas:"区域",zones:"地理围栏",unassigned:"未分配",workspaceSources:"合并来源"},Gpr={connecting:"正在连接...",connected:"已连接",connectedTo:"已连接到 {{hostname}}",connectionError:"连接错误",saving:"正在保存...",updating:"正在更新...",testing:"正在测试...",loadingTraces:"正在加载追踪...",loadingTriggers:"正在加载触发器..."},qpr={automationName:"自动化名称",optionalDisplayName:"可选显示名称",optionalUniqueId:"可选唯一ID",enterAutomationName:"输入自动化名称...",describeAutomation:"描述这个自动化的功能...",searchAutomations:"搜索自动化...",selectTrace:"选择追踪...",addNodesForYaml:"# 添加节点以查看YAML输出",selectDevice:"选择设备...",selectTriggerType:"选择触发器类型...",selectEntity:"选择实体...",selectEntities:"选择实体...",duration:"00:05:00",enterTemplate:"输入Jinja2模板...",jsonExample:'{ "键": "值" }',none:"无"},Vpr={clickNodesToAdd:"点击节点以添加",dragToConnect:"拖动以连接",deleteToRemove:"删除以移除",backspaceDeleteKey:"退格键/删除键"},Wpr={appName:"C.A.F.E.",appFullName:"复杂自动化流程编辑器",settings:"设置",updateAutomation:"在Home Assistant中更新自动化",saveAutomation:"将自动化保存到Home Assistant",clearAutomation:"清除当前自动化",exportJson:"导出流程为JSON",clickToConfigure:"点击配置Home Assistant连接",openDetached:"在独立窗口打开",removeSource:"从合并工作区移除来源",backToHA:"返回 Home Assistant"},Kpr={auto:"自动",native:"原生",stateMachine:"状态机"},Ypr={newAutomation:"新建自动化"},Jpr={true:"真",false:"假"},Xpr={select:"选择...",noOptions:"未找到选项。"},Zpr={enabled:"已启用",disabled:"已禁用",selectItems:"选择项目...",itemsSelected:"已选择 {{count}} 项",selectEntities:"选择实体...",selectEntity:"选择实体...",selectZone:"选择区域...",formatHMS:"格式: HH:MM:SS",enterValue:"输入 {{name}}..."},Qpr={enterId:"手动输入设备ID",noDevices:"未找到设备。请手动输入设备ID或检查您的Home Assistant连接。"},egr={runAction:"运行操作",cut:"剪切",copy:"复制",paste:"粘贴",duplicate:"复制",toggleEnabled:"切换启用/禁用",enable:"启用",disable:"禁用",disconnect:"断开连接",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignTop:"顶端对齐",alignBottom:"底端对齐",deleteNode:"删除节点",duplicateNode:"复制节点",selectAll:"全选",undo:"撤销",redo:"重做"},tgr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"向上箭头",arrowDown:"向下箭头",arrowLeft:"向左箭头",arrowRight:"向右箭头"},ngr={useValue:"使用值"},rgr={buttons:Hpr,labels:zpr,status:Gpr,placeholders:qpr,help:Vpr,titles:Wpr,strategy:Kpr,defaults:Ypr,boolean:Jpr,combobox:Xpr,dynamicField:Zpr,deviceSelector:Qpr,toolbar:egr,shortcuts:tgr,stateTrigger:ngr},igr={simulatingExecution:"正在模拟执行...",showingTraceExecution:"显示追踪执行({{steps}} 步)"},ogr={simulation:igr},sgr={title:"保存自动化",titleUpdate:"更新自动化",description:"将此自动化保存到Home Assistant",descriptionUpdate:"在Home Assistant中更新此自动化",nameLabel:"自动化名称",descriptionLabel:"描述(可选)",nameConflict:'名称已存在。使用:"{{suggestedName}}"'},agr={title:"导入YAML自动化",description:"在下方粘贴您的Home Assistant自动化YAML。自动化可以是标准格式或状态机格式。",placeholder:"alias: 我的自动化\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"导入失败",warnings:"警告",successLoading:"导入成功!正在加载流程...",tipLabel:"提示:",tipText:"如果您的自动化是使用C.A.F.E.创建的,节点位置将被保留。否则,节点将自动排列为可读布局。",importing:"正在导入...",import:"导入",errors:{parseError:"解析YAML失败:{{message}}",importError:"导入失败:{{message}}"}},ugr={title:"Home Assistant连接",description:"配置您的Home Assistant连接设置。",urlLabel:"Home Assistant URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"您的Home Assistant实例的URL",tokenLabel:"长期访问令牌",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"在HA中创建:个人资料 → 长期访问令牌",testConnection:"测试连接",testing:"正在测试...",connected:"已连接!",disconnect:"断开连接",corsNote:"CORS说明",corsDescription:"要从浏览器连接,您可能需要在HA配置中添加CORS头。如果您从 https://fezvrasta.github.io/hass-cafe 连接,您的HA实例必须使用HTTPS。",tokenGuideLink:"如何创建长期访问令牌",apiRunning:"API正在运行。",errors:{missingFields:"请提供URL和令牌",unexpectedResponse:"意外的API响应",invalidToken:"令牌无效 - 认证失败",httpError:"HTTP {{status}}{{statusText}}",corsError:"无法连接 - 检查URL和CORS设置",connectionFailed:"连接失败"}},cgr={title:"意外错误",description:"应用程序发生意外错误。请查看以下详情。",refreshPrompt:"请尝试刷新页面。如果问题仍然存在,请考虑在我们的GitHub仓库上报告问题。"},lgr={saveAutomationFirst:"先保存自动化以查看追踪",noTracesFound:"未找到自动化追踪"},dgr={save:sgr,import:{title:"打开自动化",description:"从Home Assistant选择要编辑的自动化",descriptionFull:"打开现有自动化或创建新的",searchPlaceholder:"搜索自动化...",noAutomations:"未找到自动化",noConnection:"连接到Home Assistant以加载自动化",createNew:"新建",openSingle:"打开",openTogether:"一起打开",mergeSelected:"合并所选",defaultMergedName:"合并自动化",mergeSuccess:"已将 {{count}} 个自动化合并到一个工作区。",mergeFailed:"合并自动化失败:{{message}}",mergeFailedMissingConfig:"无法加载 {{name}} 的配置",mergeFailedInvalidYaml:"无法解析自动化 {{name}}",selectAll:"全选可见项",unselectAll:"清除选择",select:"选择自动化",unselect:"取消选择自动化",columns:{name:"名称",lastTriggered:"上次触发",enabled:"已启用",action:"操作"},mode:"模式:{{mode}}",never:"从未",justNow:"刚刚",minutesAgo:"{{count}}分钟前",hoursAgo:"{{count}}小时前",daysAgo:"{{count}}天前",disabled:"已禁用",automationEnabled:"自动化已成功启用。",automationDisabled:"自动化已成功禁用。",updateStateFailed:"更新自动化状态失败",importAutomation:"导入自动化",openingWarning:"打开将替换您当前的自动化设计",discardTitle:"放弃当前流程?",discardDescription:"您当前的自动化有未保存的更改。创建或打开新的自动化将放弃这些更改。",confirmDiscard:"放弃并继续",importSuccess:'自动化 "{{name}}" 导入成功!',openedWarning:'自动化 "{{name}}" 已打开!',openedWarningDescription:"无法自动获取配置。您现在可以使用相同的名称创建新流程。",importFailed:"导入自动化失败:{{message}}",ID:"ID{{id}}",otherArea:"其他区域",noArea:"无区域"},importYaml:agr,settings:ugr,error:cgr,traceViewer:lgr},fgr={failedToCopy:"复制失败"},hgr={emptyAutomation:"无法保存空自动化。请至少添加一个触发器和一个动作节点。",noTrigger:"自动化必须至少有一个触发器节点。请从节点面板添加触发器。",noAction:"自动化必须至少有一个动作节点。请从节点面板添加动作。",validationFailed:"验证失败:{{errors}}",transpileFailed:"将流程转译为自动化配置失败",noAutomationId:"未设置自动化ID。使用 saveAutomation() 创建新自动化。",node:{duplicateId:"ID 已被使用 — 在自动化中必须唯一"}},pgr={noConnection:"没有可用的Home Assistant连接",noAuth:"未配置REST API认证",authFailed:"令牌无效 - 认证失败",corsError:"无法连接 - 检查URL和CORS设置",connectionLost:"连接丢失",reconnectFailed:"重新连接失败",notConnected:"Home Assistant未连接",noMethod:"未找到可用的Home Assistant连接方法",unexpectedResponse:"意外的API响应",connectionFailed:"连接失败"},ggr={httpError:"HTTP {{status}}{{statusText}}",createFailed:"创建自动化失败:{{message}}",updateFailed:"更新自动化失败:{{message}}",deleteFailed:"删除自动化失败:{{message}}",importFailed:"导入自动化失败:{{message}}",unknownError:"未知错误",transpileFailed:"转译失败",loadDeviceTriggersFailed:"加载设备触发器失败:",loadTriggerCapabilitiesFailed:"加载触发器功能失败:"},bgr={addFailed:"添加属性失败"},mgr={nameRequired:"自动化名称为必填项",urlTokenRequired:"请提供URL和令牌"},wgr={staleWarning:"显示上次有效的YAML - 修复错误以更新"},ygr={common:fgr,validation:hgr,connection:pgr,api:ggr,properties:bgr,form:mgr,import:{fileReadFailed:"导入流程失败。请检查文件格式。",parseFailed:"解析自动化配置失败"},yaml:wgr},vgr={trigger:"触发器",condition:"条件",action:"动作",delay:"延迟",wait:"等待",set_variables:"设置变量",node:"节点",stop:"停止"},Egr={selectNode:"选择节点以编辑其属性",properties:"属性",nodeId:"节点ID{{id}}",additionalProperties:"附加属性",addProperty:"添加属性",propertyName:"属性名称",type:"类型",value:"值"},Sgr={customProperty:"例如 my_custom_property",jsonArray:'["项目1", "项目2"]',number:"123",enterValue:"输入值",jsonObject:"JSON对象",enterType:"输入 {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},Tgr={platformLabel:"平台",platforms:{state:"状态变化",numeric_state:"数值状态",time:"时间",time_pattern:"时间模式",sun:"太阳",event:"事件",mqtt:"MQTT",webhook:"Webhook",zone:"区域",template:"模板",homeassistant:"Home Assistant",device:"设备",calendar:"日历",geo_location:"地理位置",tag:"标签",conversation:"对话",persistent_notification:"持久通知"},dataTypes:{string:"文本",number:"数字",boolean:"布尔值",json:"数组(JSON"},fields:{entityId:"实体",toState:"目标状态",fromState:"来源状态",toStatePlaceholder:"例如 on、off、home",fromStatePlaceholder:"例如 off"}},Agr={conditionLabel:"条件类型",types:{state:"状态",numeric_state:"数值状态",time:"时间",sun:"太阳",zone:"区域",template:"模板",device:"设备",trigger:"触发器",and:"与(全部)",or:"或(任一)",not:"非"},nestedConditions:"嵌套条件",yes:"是",no:"否"},_gr={serviceLabel:"服务"},xgr={variableCount_one:"{{count}} 个变量",variableCount_other:"{{count}} 个变量"},kgr={label:"持续时间",description:"以小时、分钟、秒、毫秒指定持续时间",string:"字符串",object:"对象",placeholder:"00:00:05.500",hours:"小时",minutes:"分钟",seconds:"秒",milliseconds:"毫秒"},Ngr={label:"响应变量",optionalDescription:"此动作可以返回响应。启用以使用响应并输入将保存响应的变量名称。",requiredDescription:"此动作返回响应。输入将保存响应的变量名称。",useResponseVariable:"使用响应变量",placeholder:"例如 my_response",currentNodeWarning:"'current_node' 是状态机策略的保留名称。使用此名称可能导致意外行为。"},Cgr={heading:"服务数据"},Igr={empty:"未定义变量。点击下方按钮添加一个。",variableLabel:"变量 {{index}}",name:"名称",namePlaceholder:"variable_name",value:"值",valueDescription:"值或Jinja2模板表达式",valuePlaceholder:"值或 {{ template }}",addVariable:"添加变量"},Rgr={waitsForNTrigger_one:"等待 {{count}} 个触发器",waitsForNTrigger_other:"等待 {{count}} 个触发器",timeoutLabel:"超时:",waitType:"等待类型",waitTypeDescription:"选择要等待的内容。",types:{template:"模板",triggers:"触发器"},waitTemplate:"等待模板",waitTemplateDescription:"必须为真才能继续的模板条件",triggersHeading:"触发器",triggerLabel:"触发器 {{index}}{{platform}}",triggerPlatformLabel:"平台",addTrigger:"添加触发器",timeoutDescription:"继续前的最大等待时间。留空则无限等待。",continueOnTimeout:"超时后继续",continueOnTimeoutDescription:"如果启用,超时后自动化继续。如果禁用,自动化停止。"},Ogr={searchPlaceholder:"搜索节点…"},Dgr={types:vgr,panel:Egr,placeholders:Sgr,triggers:Tgr,conditions:Agr,actions:_gr,variables:xgr,durationField:kgr,responseVariableField:Ngr,serviceDataFields:Cgr,setVariablesFields:Igr,wait:Rgr,quickAdd:Ogr},Lgr={noConditions:"尚未添加条件",addCondition:"添加条件"},Mgr={conditionGroupEditor:Lgr},Pgr={heading:"追踪模拟器",conditionOverrides:"条件结果(用于模拟)",random:"随机",true:"真",false:"假",executionPath:"执行路径"},jgr={trace:Pgr},Fgr={common:rgr,debug:ogr,dialogs:dgr,errors:ygr,nodes:Dgr,panels:Mgr,simulator:jgr},$gr="common",Bgr={de:Ydr,en:Wfr,fr:Ghr,it:Upr,"zh-Hans":Fgr};Hh.use(wRn).init({resources:Bgr,lng:"en",fallbackLng:"en",defaultNS:$gr,ns:["common","dialogs","nodes","errors","debug","panels","simulator"],interpolation:{escapeValue:!1},returnNull:!1});function Ugr(){try{return window.parent!==window&&"hass"in window.parent}catch{return!1}}function Hgr(){try{const n=window.parent.hass;if(n&&typeof n=="object"&&"states"in n)return n}catch{}}function zgr(){const n=document.getElementById("root");if(!n){Ef.error("No #root element found");return}const i=Ugr();if(Ef.info("C.A.F.E. starting",{inHaIframe:i}),i){Ef.debug("Running in HA iframe mode");const s=doe.createRoot(n),c=d=>{Ef.debug("Rendering with hass",{hasHass:!!d,statesCount:d!=null&&d.states?Object.keys(d.states).length:0}),s.render(I.jsx(Hn.StrictMode,{children:I.jsx(wMt,{i18n:Hh,children:I.jsx(WFt,{externalHass:d,children:I.jsx(K$t,{})})})}))};window.setHass=d=>{c(d)},c(Hgr())}else Ef.debug("Running in standalone mode"),doe.createRoot(n).render(I.jsx(Hn.StrictMode,{children:I.jsx(wMt,{i18n:Hh,children:I.jsx(WFt,{forceMode:"remote",children:I.jsx(K$t,{})})})}))}zgr();
//# sourceMappingURL=main-Bh6odaMI.js.map